Platform::Alert* broken in 1.4.2 on OS X
by Florian Gross · in Torque Game Engine · 08/12/2006 (6:09 am) · 13 replies
Hi.
In 1.4.2 all I get when using those functions are blank dialogues (without buttons and text) and a frozen application. I tested this on 1.4.0 and it seemed to work just fine there. The bug doesn't seem to be in the creation and display code for alert boxes, but I'm not exactly sure where it is coming from either. The debugger doesn't help much. The threads aren't doing any suspicious stuff; looks to me like they are just waiting for events.
I will probably do a diff between the 1.4.2 and 1.4.0 platform code and try to find out what was changed and what might be causing this, but it probably won't be easy as 1.4.2 seems to be heavily refactored.
So I figured I might just as well ask here if anyone has been experiencing this bug as well? If so: Do you happen to know what is causing it? Have you found any fix yet?
Thanks a lot for your help! It might just safe me hours of trying to debug this.
In 1.4.2 all I get when using those functions are blank dialogues (without buttons and text) and a frozen application. I tested this on 1.4.0 and it seemed to work just fine there. The bug doesn't seem to be in the creation and display code for alert boxes, but I'm not exactly sure where it is coming from either. The debugger doesn't help much. The threads aren't doing any suspicious stuff; looks to me like they are just waiting for events.
I will probably do a diff between the 1.4.2 and 1.4.0 platform code and try to find out what was changed and what might be causing this, but it probably won't be easy as 1.4.2 seems to be heavily refactored.
So I figured I might just as well ask here if anyone has been experiencing this bug as well? If so: Do you happen to know what is causing it? Have you found any fix yet?
Thanks a lot for your help! It might just safe me hours of trying to debug this.
#2
What was on CVS was somewhere around 1.4.1 .
When I'm sure 1.4.2 has gone out, I'll post a plan.
/Paul
08/20/2006 (8:42 pm)
As it turns out, 1.4.2 was not available at the time you posted your message, Florian.What was on CVS was somewhere around 1.4.1 .
When I'm sure 1.4.2 has gone out, I'll post a plan.
/Paul
#3
08/21/2006 (7:15 am)
Hm, can you try with the Linux platform SDK? It contains 1.4.2 RC1. It's what we are currently using because it is the most uptodate of the three SDKs, it seems. We initially used the Windows SDK but it turned out that it didn't have support for Intel Macs at all. Lots of endian issues.
#4
If there's a specific product that somehow does not include the Mac source code, let me know.
/Paul
08/31/2006 (12:13 pm)
As far as I know, everything that we ship that comes with source code comes with all the code -- Mac, Win32, and Linux.If there's a specific product that somehow does not include the Mac source code, let me know.
/Paul
#5
* TGE SDK Installer 1.4.0 for Windows
* TGE SDK Installer 1.4.0 for Macintosh
* TGE SDK Installer 1.4.2 for Linux (This seems to be RC1)
The 1.4.0 version released for Macintosh has no logic for Intel Macs at all. It assumes that all Macs are big endian. Which isn't true anymore since Intel Macs were released.
The 1.4.2 SDK does the right things for that case. So I'm wondering why you don't seem to know that there is a 1.4.2 version at all. If it didn't exist I wouldn't have a playable game on my MacBook.
Of course all those SDK downloads have the code for all platforms and I'm not so sure why you are releasing different versions for different platforms. (This was very confusing to us as well.)
08/31/2006 (12:30 pm)
There are three separate platform SDK downloads for the Torque Game Engine. See http://www.garagegames.com/pg/download.php?id=1&pf=all:* TGE SDK Installer 1.4.0 for Windows
* TGE SDK Installer 1.4.0 for Macintosh
* TGE SDK Installer 1.4.2 for Linux (This seems to be RC1)
The 1.4.0 version released for Macintosh has no logic for Intel Macs at all. It assumes that all Macs are big endian. Which isn't true anymore since Intel Macs were released.
The 1.4.2 SDK does the right things for that case. So I'm wondering why you don't seem to know that there is a 1.4.2 version at all. If it didn't exist I wouldn't have a playable game on my MacBook.
Of course all those SDK downloads have the code for all platforms and I'm not so sure why you are releasing different versions for different platforms. (This was very confusing to us as well.)
#6
With XNA and all the other items on GG's plate it appears that 1.4.2 was missed/skipped and 1.5 is on the radar
-Ron
08/31/2006 (12:37 pm)
1.4.2 was pushed for Linux and not for the other platforms, why I have no clue. At the time I was asked (persuaded?) by Matt F to get the Linux 1.4.2 done and they (GG) would release it to the masses before the other platforms.With XNA and all the other items on GG's plate it appears that 1.4.2 was missed/skipped and 1.5 is on the radar
-Ron
#7
We will be shipping 1.4.2 to all platforms (including the final Linux version) sometime in the near future.
08/31/2006 (5:18 pm)
We shipped 1.4.2 on Linux because we stopped supporting Linux internally with 1.4.0 and wanted to give the Linux guys who pulled together 1.4.2 for us a little love.We will be shipping 1.4.2 to all platforms (including the final Linux version) sometime in the near future.
#8
do you mean the last offical release of a Linux SDK?
08/31/2006 (5:25 pm)
Matt,Quote:including the final Linux version
do you mean the last offical release of a Linux SDK?
#9
08/31/2006 (6:02 pm)
I meant the final release of 1.4.2 (since the last release was a release candidate).
#10
As for the current Mac code not knowing about Intel Macs, that's not true at all !
The file that is up is: TorqueGameEngineSDK-1-4u.tgz. The 'u' in the file name tells me that it is indeed the Universal Binary version of TGE, released just a few weeks after the official release of the Intel Macs.
I'm on an Intel Mac now, so lets see here... Building... Works.
To reiterate:
1) The version of TGE that is up for Mac right now works just fine on Intel Macs.
2) The version of 1.4.2 that is up for Linux is a release candidate, and it's for Linux. It does not have all the code from the Mac platform rewrite in it, or not in a coherent state.
The different versions happened as a result of busy people working hard on many different things (10 hrs is a *short* day for me, don't even ask the TGB guys what their avg day is, you don't want to know).
So, your feedback means that we'll try to avoid platform discontinuity like that in future.
We'll have 1.4.2 up within a week. If it's not, I'll eat a hat. Seriously.
Please be patient, and:
Share and Enjoy.
/Paul
09/01/2006 (2:33 am)
@Florian: The Linux release is a Release Candidate, and probably does not have the mac code in an entirely coherent state. There's a damn good reason why I've delayed 1.4.2 on Mac a few weeks: the Mac platform code has been 90% rewritten since 1.4.0, and I had bugs to fix in the new code. I would not be surprised at all if the Linux build contains Mac code that is not coherent, or contains obvious bugs.As for the current Mac code not knowing about Intel Macs, that's not true at all !
The file that is up is: TorqueGameEngineSDK-1-4u.tgz. The 'u' in the file name tells me that it is indeed the Universal Binary version of TGE, released just a few weeks after the official release of the Intel Macs.
I'm on an Intel Mac now, so lets see here... Building... Works.
To reiterate:
1) The version of TGE that is up for Mac right now works just fine on Intel Macs.
2) The version of 1.4.2 that is up for Linux is a release candidate, and it's for Linux. It does not have all the code from the Mac platform rewrite in it, or not in a coherent state.
The different versions happened as a result of busy people working hard on many different things (10 hrs is a *short* day for me, don't even ask the TGB guys what their avg day is, you don't want to know).
So, your feedback means that we'll try to avoid platform discontinuity like that in future.
We'll have 1.4.2 up within a week. If it's not, I'll eat a hat. Seriously.
Please be patient, and:
Share and Enjoy.
/Paul
#12
09/01/2006 (10:53 am)
Good news, thank you Paul.
#13
TGE 1.4.2 is up on the CVS server, as of late yesterday.
This code contains a near total rewrite of the Torque Mac platform code.
Code on the CVS server should be viewed as release candidate code.
Code on the CVS server usually contains the most recent bug fixes.
If you're interested, please get & test this code.
I expect that there are still bugs in this code, because it's new code.
Please report bugs in the bug reporting forums.
Instructions for accessing CVS are here: tdn.garagegames.com/wiki/TGE/Getting_Started/CVS
Share and Enjoy,
/Paul
09/07/2006 (3:01 pm)
New Mac Code is on CVS !TGE 1.4.2 is up on the CVS server, as of late yesterday.
This code contains a near total rewrite of the Torque Mac platform code.
Code on the CVS server should be viewed as release candidate code.
Code on the CVS server usually contains the most recent bug fixes.
If you're interested, please get & test this code.
I expect that there are still bugs in this code, because it's new code.
Please report bugs in the bug reporting forums.
Instructions for accessing CVS are here: tdn.garagegames.com/wiki/TGE/Getting_Started/CVS
Share and Enjoy,
/Paul
Torque Owner Paul Scott
Default Studio Name
Thanks for the report!
/Paul