Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - DaCarSoft

#46
Pero un lenguaje con bugs no sirve de nada... Pagues lo que pagues...

Reconozco que es un proyecto enorme, es difícil mantener un lenguaje que soporte tantas plataformas, pero yo por ejemplo pagué 80 € por el lenguaje que utilizaba para programar en Windows Mobile/CE (NSBasic), y era buenísimo en aquella época (ahora ya no tanto en la versión que han sacado para dispositivos móviles Android/iOS)... Las actualizaciones eran gratuitas y muy fluídas y siempre que alguien preguntaba en sus foros resolvían la duda o respondían orientando a la gente...

Siempre respondían... Cuando a mí casi siempre que hablo de bugs por aquí se me ignora a pesar de las múltiples ayudas prestadas...

Vería bien cobrar "extensiones" como HTML5 o la capacidad para compilar para nuevas plataformas...
Pero a los usuarios que ya han pagado, se les debería mantener de alguna manera el soporte para bugs y nuevas correcciones ante actualizaciones de los sistemas operativos... Ya que es lo que pagaron... En mi caso yo pagué con la intención de programar para iOS.

También hay que tener en cuenta que muchos de nosotros somos quienes hemos ayudado gratis a corregir muchos de esos errores que él mismo no podía resolver, porque es una sóla persona... Y tal vez debería delegar a veces... Al menos responder con su opinión acerca de cómo o cuando solucionará algún bug... O abrir una parte del código, cosa que es perfectamente posible...

Pero, no nos engañemos, es un lenguaje indie para programadores indie, y siempre hay otras opciones en esa línea, como Codea en iOS, que no está nada mal...

Si yo hubiera pagado más dinero por él y tuviese que volver a pagar por cada actualización, me sentiría estafado, si me quisieran cobrar por correcciones de bugs (no hablo de funciones nuevas) me hubiera ido directamente a Xcode, que sé que no va a fallar ni en iOS ni en Mac OS... (Tal y como Hardy dice, a pesar de los cambios en la SDK el lenguaje de Apple no suele dar problemas, porque ellos no quieren que los dé... Así como quieren que los desarrolladores hagan aplicaciones buenas, que no dependan de terceros, que aprovechen al máximo los aparatos, y evitar errores debidos al lenguaje, no al programador...  Recordemos el caso de Flash y su consumo exagerado de CPU...)

La gente lleva ya más de un año, casi dos si no me fallan las cuentas sin una versión estable con los bugs de iOS corregidos...
#47
Spacefractal: I PM you   :)
#48
En Apple no es que sean hermanitas de la caridad, porque están ahí para vender... Pero venden y sacan productos nuevos tan rápido porque los consumidores lo exigen... si no lo hacen, la competencia se los comería y la gente les machacaría diciendo que "no sacan nada nuevo" y que la competencia les adelanta...

Si sacan algo entonces es "malo"... Y si no lo sacan también...

Apple sólo le da a los consumidores lo que piden, usando exactamente las mismas tácticas que el resto de fabricantes...

Pero... Para mí, en la práctica, hoy por hoy fabrican los mejores productos... Y hablo de primera mano porque he probado absolutamente todo... Tablets Samsung, teléfonos Samsung, Nokia, LG, HTC, etc... Todo tipo de PCs... Y, sinceramente, sin mi iPad, mi iPhone y mi MacBook no sé que haría... No podría volver a trabajar tan eficientemente con un PC con Windows, un tablet Android o un teléfono Nokia o HTC... Por no hablar del nuevo Windows 8...

Yo ántes era un defensor a ultranza de Linux, pero creo que noticias como esta lo dicen todo:
http://www.linuxadictos.com/miguel-de-icaza-fuga-de-cerebros-a-apple.html

Por otro lado, en cuanto a los problemas con GLBasic/iOS... Considero que no se puede usar un lenguaje que deja huella o marcas en tus programas, como esquinas redondas, sombras, problemas al hacer aparecer la barra inferior de aplicaciones abiertas, etc...
Es algo que debería haber sido solucionado en la última versión oficial de GLBasic, por eso, yo mismo me ofrecí para solucionarlos y así lo hice, de manera altruista y por el bien de todos... Pero hace ya demasiado tiempo que aquellas correcciones estuvieron listas y enviadas, apareciendo demasiados problemas y regresiones en una Beta que no termina de ver la luz...  La verdad es que me preocupa ver como varios fallos que yo mismo corregí y documenté para el autor vuelven a aparecer una y otra vez, como por ejemplo en la última Beta.... Igual que al comentarlos en el foro, o hacer ciertas preguntas, simplemente se me ignora...

La verdad es que entiendo que es difícil fiarse de un lenguaje, si esos fallos que considero importantes y realmente sencillos de solucionar no son rápidamente corregidos...

Y de verdad, no quiero sembrar discordias... Sólo es mi opinión personal.
#49
I solved it HardyX...

It is a problem related to the "prefix file" and Xcode project settings... Like I said before :P
#50
I tested it and with a fresh new project, all appears to work fine until you modifies the Xcode project, for example by adding wrappers...   Then Xcode won't compile, throwing ARM7 errors like in the screenshots posted by Aroldo.

Also this error is related with the fact that each time you compiles from GLBasic, the Xcode project is overwritten, losing all the changes made to it.

My solution was to make my own Xcode project from zero, including manually all the frameworks and ".a" libraries erasing the files of the Xcode project that GLBasic uses as source to be copied to the project folder each time you compiles.

iPhone 5 screen resolution is also unsupported. I added the iPhone 5 resolution in the GLBasic's project settings but it only uses the iPhone 4 resolution, I suppose that the dimensions for the internal OpenGL window/view are not correctly adjusted at the load of the application from Xcode.

As I wrote in other posts also, the rotation of the screen has been changed in iOS 6, and I suppose that it will work in the same way under iOS 7, this change affects the way in which appears the bottom multitasking bar in iPad. This problem can be solved with wrappers, but may be that the best way to solve it is including the needed code to the internal GLBasic's Xcode part.

I have iPad 4, iPhone 5 as devices for testing, a MacBook Pro 2011 as development laptop with Windows XP as virtual machine. My Xcode version is 4.6.2 and my GLBasic version is Beta 11.414.


EDIT: I found the error in the GLBasic/Xcode's project that is avoiding wrappers to run. The project it is not precompiling the "Prefix Header", the file with the ".pch" extension that old versions of GLBasic have, also, the file is not present in the GLBasic's folders.

Obviously the other errors that I said before are still there.

EDIT 2: Again, I noticed that the iCade "grey/shadows line" at the bottom of the GLBasic's screen appears (again) when you compiles using this last Beta. I just tested the same project and code without problems compiling it with my old Beta, the one that I used for testing purposes in the past, when I helped Gernot to fix the iCade problems.

GERNOT: If you like, you can PM me or send me an email with the same Xcode's files that you sent me in the past, if you need help.



#51
As I said here:

http://www.glbasic.com/forum/index.php?topic=8544.msg79309#msg79309
http://www.glbasic.com/forum/index.php?topic=8544.msg78455#msg78455
http://www.glbasic.com/forum/index.php?topic=6463.msg79429#msg79429 (sorry, it is in spanish)
http://www.glbasic.com/forum/index.php?topic=9269.msg79545#msg79545

-There are problems with GLBasic and last version of Xcode. I fixed it making my own Xcode project from zero, discarding the project generated by GLBasic.

-Under iPhone 5 and "1136x640" in project settings, the screen is not completely used (GLBasic only uses iPhone 4 resolution).

-GLBasic overwrites Xcode project (and all the changes related to wrappers, etc) after each compilation for iOS.

EDIT:

-Problems with Xcode appears to be related to the prefix ".pch" file...

-A line with shadow at the bottom of the screen appears again like when the iCade view was failing before my corrections.

More info here: http://www.glbasic.com/forum/index.php?topic=9269.msg79590#msg79590
#52
As I said here:

http://www.glbasic.com/forum/index.php?topic=8544.msg79309#msg79309
http://www.glbasic.com/forum/index.php?topic=8544.msg78455#msg78455
http://www.glbasic.com/forum/index.php?topic=6463.msg79429#msg79429 (sorry, it is in spanish)

There are problems with GLBasic and last version of Xcode. I fixed it (making my own Xcode project), but I suppose Gernot/Hello Kitty knows it (because I usually haven't replies to my comments from anyone, feeling that they are not understood or ignored) and I suppose that these problems will be solved in future versions of the "so called" beta 11.
#53
Parece que ahora estas sufriendo exactamente el mismo tipo de errores que yo estaba sufriendo con la Beta 11, sospecho que está relacionado con las últimas versiones actualizadas de Xcode, lo comenté todo aquí:

http://www.glbasic.com/forum/index.php?topic=8544.msg79309#msg79309


Yo pude resolver mi problema así:

-Descargué y reinstalé la última versión de la Beta 11 de GLBasic.

-Generé mi propio proyecto de Xcode, borrando y descartando el que generaba GLBasic 11 automáticamente (comprobé que GLBasic 11 tras compilar, borra cualquier cambio hecho en el proyecto de Xcode, por lo que si añades un wrapper a un proyecto de GLBasic 11, éste lo eliminará al sobreescribir el proyecto modificado). Para poder solucionar esto, tuve que borrar los archivos del proyecto Xcode que usa GLBasic cada vez que compila, buscando la carpeta de origen que usa GLBasic, normalmente situada en "C:\Program Files\GLBasic\Compiler\Platform\iPhone\Xcode" pero sin borrar ni tocar las carpetas "Libs", "Media" y "Classes".

-Después, sustituí en el proyecto GLBasic el anterior proyecto de Xcode por mi nuevo proyecto hecho desde cero y manualmente por mí, incluyendo manualmente las librerías precompiladas ".a" que usa GLBasic 11 y los frameworks necesarios.

Es una solución muy compleja para un problema de GLBasic que supongo que Gernot solucionará algún día cuando tenga la Beta 11 más avanzada...   Yo comenté el problema, pero nadie prestó atención.

Normalmente, publicaría un archivo "ZIP" aquí mismo en el foro, con los archivos de Xcode corregidos que yo mismo confeccioné, o incluso un proyecto completo...   pero no puedo hacerlo debido a problemas relacionados con alguna oferta de trabajo recibida y publicada en este foro, relacionada con varias modificaciones a un juego o dos (al menos uno de ellos llamado "Biiirds") en el que habría que incluír wrappers...     Como al final el asunto no ha terminado bien, sin saber exactamente lo que ha sucedido, no puedo/quiero publicar nada más en relación con mi trabajo en diferentes wrappers para iOS, para no ayudar directa o indirectamente a los responsables, sintiéndolo mucho...


#54
Hola Aroldo

Ahora mismo no estoy cerca de mi portátil pero intentaré responderte :)

No es necesario un archivo ".h"

Yo he tenido problemas con los wrappers en GLBasic 11 (Beta)... ¿Que versión de GLBasic estas usando?

Los problemas con la versión 11 pueden resolverse, pero prueba antes con GLBasic 10, si tienes ocasión.

GLBasic 11 modifica el proyecto Xcode contínuamente sobreescribiendo todo cada vez que compilas. Habría que generar un proyecto nuevo bajo Xcode sin usar el que proporciona GLBasic automáticamente para que los wrappers puedan funcionar bien en GLBasic 11.

Por otro lado, ¿¿¿has arrastrado el archivo .mm dentro del proyecto Xcode??? Por ejemplo, dentro de la carpeta "classes"...



Buena, suerte!!! Cuéntanos tus resultados.
#55
Hi...

I was searching a way to solve my problems related to iPad 4/iPhone 5 problems and GLBasic 11 (last beta).

I had to create a new Xcode project to let my wrappers work without strange errors, I can't use the project generated from GLBasic. If I add my .mm wrappers file to the original GLBasic's Xcode project, Xcode won't compile (ARM7 errors). I have not tested it yet under iPhone 4 or older devices...

Also, under iPhone 5 it does not use the entire retina screen (1136 x 640), it only uses 960 x 640 dimensions like iPhone 4, I suppose that Gernot already knows it. I suppose that a little change to let GLBasic recognize this new screen size is needed until...

#57
Gernot, it's nothing!

I will reply here to  your comment about orientation in the other topic:
Quote"The rotation might not be correct. Pardon me."

I have not tested your code for Facebook/Twitter yet, but I suppose that you refers to the orientation problems that appears when a wrapper is called to create something on screen and is not the same than the orientation of the GLBasic's game.

Apple have changed (again) the way in which the orientation works under iOS, I'm testing it trying to found the easiest way to solve it without changes to the code that I sent you in the past to solve some of these kind of problems under iOS.

In addition I'm having a strange error with the last Beta 11 of GLBasic when I add my ".mm" files for wrappers into my project. It does not compile showing "arm7" errors...    :blink: ¿?

I have not tested it (until), but may be that you can call to my "iOSSetOrientation" wrapper to change the orientation by code, just before to the call to make appear your wrapper. Just like this:

http://www.glbasic.com/forum/index.php?topic=6706.msg67781#msg67781

Using my wrapper published here:

http://www.glbasic.com/forum/index.php?topic=6707.msg54084#msg54084


If someone have the enough time to test it I would like to know if this works.

UPDATE: I tested it finally and it works!!! You can stablish the orientation that you want using my "iOSSetOrientation" just before the call to show the social wrapper.
#58
Hi!!!

I solved that problem in my wrappers using "PerformSelectorOnMainThread".

You can found an example here:

http://www.glbasic.com/forum/index.php?topic=6708.msg54085#msg54085

Hope this helps
#59
Hi...

I have an iPad 4 (iOS 6.1.3) and I'm testing the last Beta 11 with the last version of Xcode.

I'm having troubles when testing it, the program crashes when I change to other app and back to the GLBasic's program, it did not enter in "ON_RESUME".

Xcode wrappers also does not work properly, but it works on previous GLBasic 11 versions.

I'm trying to find the origin of the problems to solve it, someone more is having the same problems as me???

Regards.
#60
Os pego un enlace a otro foro, donde hablan en profundidad del mismo tema. Hay algunos comentarios muy interesantes, que creo que no tienen desperdicio:

http://www.spaniards.es/foros/2011/03/08/los-ingenieros-informaticos-huyen-de-espana


Fijaos sobretodo en los últimos comentarios hacia abajo, donde empiezan a hablar de cómo funciona en España el tema de las subcontratas...