PureBasic 5.40 LTS final is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16664
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

PureBasic 5.40 LTS final is out !

Post by Fred »

Hi all,

The new version of PureBasic is finally out ! Thank you all for your testing, and I would like to welcome 3 new contributors which helped a lot for this release:

- Vera, who helps on the doc
- bbanelli, who helps on the GTK imports in the Linux version of PureBasic
- wilbert, who helps on Cocoa imports in the OS X version of PureBasic

This is a LTS version (Long Term Support), which will be supported for bug fixes for 2 years, until october 2017. The previous LTS (5.24) is now deprecated and won't receive any new fixes.

Here is the final list of changes:

Code: Select all

- Added: new Vector 2D library 
- Added: new CGI library with standard and FastCGI support 
- Added: Literal string escape support with the '~' operator (ex: a$ = ~"Hello\nWorld\n") 
- Added: EscapeString()/UnescapeString() function to allow escaping operation on any strings (variables etc.) 
- Added: EnumerationBinary to create bitmask enumeration automatically 
- Added: database parameter binding to ease request construction 
- Added: SetDatabaseBlob(), SetDatabaseFloat(), SetDatabaseDouble(), SetDatabaseLong() 
- Added: SetDatabaseQuad(), SetDatabaseString(), SetDatabaseNull() 
- Added: SHA2 and SHA3 (224/256/384/512-bit) support to Cipher library 
- Added: StringFingerprint() 
- Added: CRC32 support for StartFingerprint() 
- Added: ReceiveHTTPMemory(), IsJoint() 
- Added: RefreshDialog() to recalc dimension after a text change or similar 
- Added: "group" XML attribute for 'option' dialog gadget, to specify explicitly a group 
- Added: HTTPS and simple auth support for ReceiveHTTPFile() and GetHTTPHeaders() 
- Added: Auto redirect support for ReceiveHTTPFile() and ReceiveHTTPMemory() 
- Added: ASynchronous mode for ReceiveHTTPFile() and ReceiveHTTPMemory() 
- Added: HTTPProgress(), AbortHTTP() and FinishHTTP() to control async mode 
- Added: HTTPS/TLS support for SendMail() 
- Added: FlushPreferenceBuffers() 
- Added: CopyDebugOutput() to copy the debug output to the clipboard from code 
- Added: 7z archive creation 
- Added: tar (gz and bzip2) archive support for creation and decompression 
- Added: Full path in IDE recent files menu 
- Added: #PB_ProgressBar_Unknown for SetGadgetState() to indicate unknown progress 
- Added: #PB_UTF8/Ascii/Unicode support to ReadCharacter() and WriteCharacter() 
- Added: #PB_UTF8 support to URLEncoder() and URLDecoder (now the default mode) 
- Added: Windows 8.1/10 and OS X 10.9/10/11 support to OSVersion() 
- Added: #PB_Editor_xxx constants when using the 'Version' info on Windows 
- Added: #PB_Program_Ascii/Unicode/UTF8 support to RunProgram() 
- Added: linux/osx style flags for the commandline compiler on Windows to ease cross-platform scripts 
- Added: #PB_File_SharedWrite support to ReadFile() and CreateFile() 
- Added: 'IMPORTLIST' compiler interface to get all the predefined API functions 
- Added: #Null$ special string constant to affect a real null value to a string (to free it completely). It can be used as well for API function which sometimes accept NULL instead of a string address. 
- Added: #Empty$ constant 
- Added: #PB_ByteLength support to MemoryStringLength() 
- Added: #PB_Ascii, #PB_UTF8 and #PB_Unicode support to Create/Open/ReadFile() to set the default write/read mode 
- Added: #PB_ByteLength flag for PeekS() and #PB_UTF8 (only) 
- Added: CreateCone(), CameraCustomParameter(), ResizeCamera() 
- Added: #PB_Entity_DisableContactResponse and #PB_Entity_EnableContactResponse for SetEntityAttribute() 
- Added: #PB_Entity_ConeBody, #PB_Entity_PlaneBody 
- Added: FreeEntityBody(), FreeTerrainBody() 
- Added: ApplyEntityTorque(), ApplyEntityTorqueImpulse() 
- Added: Added 'CollisionGroup' and 'CollisionMask' parameter for RayCollide() 
- Added: Migration help page, to have a step by step migration guide between old on new PureBasic. 
- Added: User guide in german (thanks to Andre and Vera) 

- Updated: the Linux printer lib to use native GtkPrint instead of GnomePrint 
- Updated: the Windows compiler to VC++ 2013 for better code generation 
- Updated: SQLite to 3.8.11.1 

- Fixed: Zip archive support 
- Fixed: send mail and http request issues 
- Fixed: 'CONSTANTLIST' compiler interface, now string constants are returned as escaped strings. 

- Changed: The default GTK version is now GTK3 on Linux. A gtk2 subsystem has been added for backward compatibility. 
- Changed: The default string format for RunProgram() read/writestring is now UTF8 instead of Unicode 
- Changed: the Cipher lib to be modular (now UseMD5Fingerprint() and such commands needs to be used) 
- Changed: ExamineFingerprint() to StartFingerprint() 
- Changed: NextFingerprint() to AddFingerprintBuffer() 
- Changed: EntityPhysicBody() to CreateEntityBody() 
- Changed: TerrainPhysicBody() to CreateTerrainBody() 
- Changed: the SendMail() 'Asynchronous' parameter has been replaced by the #PB_Mail_Asynchronous flag. 
- Changed: DLLImporter has been removed and .pbl files are no more supported. New 'import library' files can be created using the '/IMPORT' switch of the pbcompiler. 

- Removed: RemovePackFile() 
- Removed: #PB_Packer_CompressedSize support for ZIP and 7z archives with PackerEntrySize() 
- Removed: AvailableScreenMemory() 
It's quite a lot of stuff, and we really pleased to improve PureBasic further ! You can get it right now on your online account :)

Have fun,

The Fantaisie Software Team
User avatar
SparrowhawkMMU
User
User
Posts: 44
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Re: PureBasic 5.40 LTS final is out !

Post by SparrowhawkMMU »

Thank you PB team :)
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PureBasic 5.40 LTS final is out !

Post by RSBasic »

Thank you very much! :)
Image
Image
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic 5.40 LTS final is out !

Post by ts-soft »

Thank you!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Little John
Addict
Addict
Posts: 4527
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.40 LTS final is out !

Post by Little John »

Very cool! 8)
Many thanks to the PB team. Image
Oma
Enthusiast
Enthusiast
Posts: 312
Joined: Thu Jun 26, 2014 9:17 am
Location: Germany

Re: PureBasic 5.40 LTS final is out !

Post by Oma »

Thank you very much for the hard work and the result!
PureBasic 5.4-5.7, Linux: (X/L/K)Ubuntus+Mint - Windows XP (32Bit)
PureBasic Linux-API-Library & Viewer: http://www.chabba.de
HanPBF
Enthusiast
Enthusiast
Posts: 564
Joined: Fri Feb 19, 2010 3:42 am

Re: PureBasic 5.40 LTS final is out !

Post by HanPBF »

Keep on with Your great work!
Thanks a lot!
User avatar
skywalk
Addict
Addict
Posts: 3994
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 5.40 LTS final is out !

Post by skywalk »

Great job!
and SQLite Version = 3.8.11.1 :)
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic 5.40 LTS final is out !

Post by davido »

@PB Team,
Excellent, Thank you very much for all the hard work and extensive bug squashing! :D
DE AA EB
User avatar
Psychophanta
Addict
Addict
Posts: 4996
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: PureBasic 5.40 LTS final is out !

Post by Psychophanta »

Thanks to all contributors, i love you all :D :!: 8)
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
akee
Enthusiast
Enthusiast
Posts: 475
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: PureBasic 5.40 LTS final is out !

Post by akee »

Thanks PB Team! :D
User avatar
Otrebor
Enthusiast
Enthusiast
Posts: 200
Joined: Mon Mar 17, 2014 1:42 pm
Location: São Paulo, Brasil
Contact:

Re: PureBasic 5.40 LTS final is out !

Post by Otrebor »

Thanks PB Team! :)
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 181
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: PureBasic 5.40 LTS final is out !

Post by majikeyric »

Thanks to all contributors ! :D
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.40 LTS final is out !

Post by kenmo »

Thank you! :!: Downloading now.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8433
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 5.40 LTS final is out !

Post by netmaestro »

- Changed: The default string format for RunProgram() read/writestring is not UTF8 instead of Unicode
Ok, so it's not UTF8 and it's not unicode. Is there a hint as to what it might be? Or should "not UTF8" actually read "now UTF8" which would make more sense.
BERESHEIT
Post Reply