Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Upp 611-dev4 released
Re: Upp 611-dev4 released [message #6966 is a reply to message #6965] Wed, 06 December 2006 08:40 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

Added, compiles and runs. Not sure I can tell any difference. The worst glitches are still in the Buttons (Like OK, Cancel).

But I still have about 12 lines commented out.

Re: Upp 611-dev4 released [message #6967 is a reply to message #6966] Wed, 06 December 2006 08:52 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, actually, I was not expecting this one will fix it Wink

I have troubles finding the screenshots of buttons (even if I know we have discussed this before).

Could you please post some small here?

Mirek
Re: Upp 611-dev4 released [message #6968 is a reply to message #6967] Wed, 06 December 2006 09:16 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

You know.. i thought for a laugh I would take ide 604 I ported ways back, and compile 611d4 inside it, instead of shell.

The OK buttons etc look correct... so this is a much better port. Some icons are still bad.

http://netbsd.interq.or.jp/%7Elundman/osx_611.jpg




I can't compile anything with the 611d4 ide though.. I am pretty sure it should "do something" the first time I run it. Not sure. Is there a guide on that procedure?


HelloWorld:

uppsrc/Core/Mt.h:72: error: `CriticalSection' has not been declared
uppsrc/Core/Mt.h:73: error: ISO C++ forbids declaration of 'CriticalSection' with no type
[snip]


Re: Upp 611-dev4 released [message #6969 is a reply to message #6968] Wed, 06 December 2006 09:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
lundman wrote on Wed, 06 December 2006 03:16


HelloWorld:

uppsrc/Core/Mt.h:72: error: `CriticalSection' has not been declared
uppsrc/Core/Mt.h:73: error: ISO C++ forbids declaration of 'CriticalSection' with no type



This seems like there are missing flags for POSIX build (CriticalSection is Win32 thing)

Mirek
Re: Upp 611-dev4 released [message #6970 is a reply to message #6969] Wed, 06 December 2006 09:24 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

I agree, I just noticed that too.. I have to re-patch the generator that spits out the code to add POSIX, OSX and PPC, neither currently are on the compile line.

Re: Upp 611-dev4 released [message #6971 is a reply to message #6970] Wed, 06 December 2006 09:31 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

Maybe you can help me, I do not understand this part. I clearly hacked in for it to add flagPPC last time in CppBuilder.cpp.

But it appears you dump a list of flags it should use "coming from somewhere". Where should I really be adding flagPPC so that it automatically will add it to build?

Similarly, flagOSX, flagPOSIX.

Re: Upp 611-dev4 released [message #6977 is a reply to message #6971] Wed, 06 December 2006 12:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ide/host.cpp 268

Mirek
Re: Upp 611-dev4 released [message #7001 is a reply to message #6977] Thu, 07 December 2006 03:24 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

Perfect, thanks. Also:

#elif defined(PLATFORM_SOLARIS)
cfg.Add("FREEBSD");
#endif


Really?


flagPPC is more interesting, since presumably this is based on arch, and potentially, one could be cross-compiling?
Re: Upp 611-dev4 released [message #7002 is a reply to message #7001] Thu, 07 December 2006 03:54 Go to previous messageGo to next message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member

Then, it is remarkly close to working. The icons still have some glitches, but in general it looks good. I don't know what to do about flagPPC, so it gets added in CppBuilder::IncludesDefinesTargetTime at the moment.

http://netbsd.interq.or.jp/%7Elundman/osx7.jpg

Some notes, it causes a Bus Error when you exit, but seems stable to use. Occasionally spits out "Heap leaks detected!" so there might be some cleanup required in the memory code. Would you like me to try to use malloc again?

Re: Upp 611-dev4 released [message #7004 is a reply to message #7002] Thu, 07 December 2006 05:07 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
As for icons: Looks like R and B channels (maybe even A) are swapped.

Try altering RGBA struct for PPC. (Core/Color.cpp)

As for heap leaks - USEMALLOC would avoid detection, but I do not know, if it works otherwise....

Mirek

[Updated on: Thu, 07 December 2006 05:07]

Report message to a moderator

Re: Upp 611-dev4 released [message #7006 is a reply to message #7004] Thu, 07 December 2006 05:14 Go to previous message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member
Yeah.. most likely is an endian thing.

Don't forget there still is code commented out. Missing functions etc.


Core/Stream.cpp:

line 443-471

#ifdef CPU_BE
        SwapOrder(data, count);
#endif


Draw/Drawing.cpp line 49-77

#ifndef CPU_LITTLE_ENDIAN
                BltSwapEndian4(out, out, count);
#endif


RichText/ParaData.cpp:

Comment out DumpLanguage, DumpAlign and DumpColor references.

Previous Topic: Upp 611-dev3 released
Next Topic: Forum migrated
Goto Forum:
  


Current Time: Tue Apr 23 15:19:23 CEST 2024

Total time taken to generate the page: 0.01584 seconds