Page 1 of 5

PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 2:26 am
by Fred
Hi there !

We are really happy to announce the final release of PureBasic 4.40, after a very long development stage. We put lot of effort in this version, it was more ambitious than the initial plan. That said, we will try to reduce the time between new versions in the future, so stay tuned ! Again, a big thank you to all the beta testers, who did an amazing jobs by reporting as many bugs as possible, we hope to have reach a reliable status. Nothing really new since the last public beta, just some more bugs squashed. The (huge) list of the changes:

Code: Select all

- Added: Native Linux x64 support 
- Added: Build-in Map library for hash tables 
- Added: 'Threaded' Keyword for thread-local variables 
- Added: Structure assignment copies the structure (a.point = b.point) 
- Added: ClearStructure() 
- Added: AESEncoder(), AESDecoder(), StartAESCipher(), AddCipherBuffer(), FinishCipher() 
- Added: Dylib support for OS X 
- Added: Joystick library for OS X 
- Added: Systray library for OS X 
- Added: Trim/LTrim/RTrim() got an optional character to trim 
- Added: #PB_Function, #PB_OSFunction, #PB_Map to Defined() 
- Added: ReverseString(), InsertString(), RemoveString() 
- Added: Blob support to databases 
- Added: UsePostgreSQLDatabase(): native PostgreSQL support 
- Added: Peephole optimizer to 64 bit versions to produce better code 
- Added: '.a' (ascii) and '.u' (unicode) native type to provide native unsigned byte and word. 
- Added: FileBuffersSize() - #PB_Default support change the buffersize to the next opened files 
- Added: #PB_URL_Protocol to Get/SetURLPart() 
- Added: #PB_Shadow_TextureAdditive 
- Added: FTPDirectoryEntryRaw(), FillMemory() 
- Added: Global, Protected, Threaded, Shared and Static now accept a type to affect all default variable declaration. 
- Added: AddWindowTimer(), RemoveWindowTimer(), EventTimer() 
- Added: #PB_Window_Tool to create tool windows 
- Added: ShortcutGadget(), StatusBarProgress() 
- Added: StatusBarImage() now supports normal images (not just icons) 
- Added: #PB_Checkbox_ThreeState flag to create a 3 state checkbox 
- Added: CreateImageMenu(), CreatePopupImageMenu() for OSX 
- Added: Full alphachannel support for all GUI elements that display images 
- Added: Full alphachannel support for Image lib 
- Added: New drawing modes for 2DDrawing in ImageOutput() 
- Added: LinearGradient(), BoxedGradient(), CircularGradient(), EllipsicalGradient(), ConicalGradient() 
- Added: CustomGradient(), GradientColor(), ResetGradientColors(), CustomFilterCallback() 
- Added: DrawAlphaImage() for all outputs on all OS 
- Added: DrawAlphaImage() has a new transparency parameter and can be used to draw non-alpha images part transparent 
- Added: QuickDraw subsystem for WindowOutput() on OSX 
- Added: Sprite/ScreenOutput for OpenGL (all OS) 
- Added: DrawingFont() works for SDL output 
- Added: OutputWidth(), OutputHeight(), OutputDepth() for 2DDrawing 
- Added: GrabDrawingImage(), DrawRotatedText(), RGBA(), Alpha(), AlphaBlend() 
- Added: #PB_PixelFormat_ReversedY - for pixel buffers that are stored upside-down (Windows ImageOutput or OpenGl) 
- Added: #PB_OS_Windows_7, #PB_OS_MacOSX_10_6 for OSVersion() 

- Updated: OGRE to 1.6.2, sqlite 3.6.14.2, PCRE to 7.9 

- Changed: Call(C)Function(Fast) parameters have been changed from 'Any' to 'Integer'. 
- Changed: OpenScreen() now accepts FlipMode and RefreshRate 
- Changed: FlipBuffers() doesn't take an optional parameter anymore 

- Removed: #PB_Image_DisplayFormat is now deprecated (value set to 24 to have 24bit as default) 
- Removed: SetRefreshRate() has been removed, the parameter is in OpenScreen() now 

- Fixed: Image Decoders are now threadsafe 
- Fixed: Quite some bugs in libraries and in the compiler 

PureBasic IDE: 
- Added: Full project management 
- Added: Highlight matching keyword for keyword under cursor (tied to BraceMatching color setting) 
- Added: Edit->Goto matching keyword 
- Added: PB_TOOL_Preferences Environment variable for IDE tools 
- Added: Theme management to customize menu icons 
- Added: New 'Silk' theme based on the Iconsset by Mark James 
- Added: Autocomplete scans implicit variable declaration and respects scope 
- Added: Structure item autocomplete 

- Changed: moved encoding/newline setting from compiler options to file menu 

PureBasic Debugger: 
- Optimized: greatly improved VariableViewer update speeds 
- Added: progressbar display if VariableViewer update takes long 
- Added: column sort capability to VariableViewer (Windows only) 
Grab it while it's hot on your personal online account !

The Fantaisie Software Team.

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 2:39 am
by le_magn
Thank you Fred!!!!!

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 2:50 am
by Matt
YESS!!!! Thank you!

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 3:45 am
by netmaestro
Big undertaking but well worth the wait. Thanks!

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 3:50 am
by GWarner
Thank you! Thank you! Thank you! :mrgreen:

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 4:29 am
by Thunder93
We can see the effort put forth by you and your Team Fred! And by all those who have participated with bug reports. Many thanks to everyone! :)



Regards,
Thunder93

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 6:12 am
by JCV
Thank You PB Team!

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 4:12 pm
by somic
Thanks.

It is now our turn ... to donate...

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 8:11 pm
by luis
Thank you for this great release.

Please forgive us if sometimes we look impatient about a bug fix or a feature request.

You guys rocks :)

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 8:26 pm
by Marco2007
Great, thanx a lot :D
I hope the 5th try to download it, will work....

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 8:31 pm
by HAnil
Thanks, Thanks, Thanks.

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 9:50 pm
by HAnil
Hi Fred,

Sory for false alarm. When I compile palette.pb, I must add DirectX7 subsystem. I just learn and happy :)

Thanks Fred,

I love your team.

HAnil

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 9:56 pm
by blueznl
I needed this after all that (D)DOS stuff...

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 10:06 pm
by DoubleDutch
Thanks, great work. No problems at all on a huge program. :)

Re: PureBasic 4.40 is out !

Posted: Tue Dec 01, 2009 10:25 pm
by milan1612
Thank you! Yet another milestone towards the perfect tool programming language!