PureBasic 5.40 LTS beta 10 is out !

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

PureBasic 5.40 LTS beta 10 is out !

Post by Fred »

Hello folks,

Beta 10 is out and should iron out the lastest important fixes before the release. Don't hesitate to test it with your projects, thanks !

Beta 9 is out and brings more fixes. Don't hesitate to test it with your projects, as we are getting closer to release, thanks !

Beta 8 is out and brings more fixes, especially on Linux and libcurl. Don't hesitate to test it with your projects, as we are getting closer to release, thanks !

Beta 7 is out and should bring more fixes, especially on OS X. Have fun !

OK, the quick fix was half baked, so hopefully beta 6 will solve it completely. Happy testing !

Beta 5 is out and only fix one bug with API and string concatenation (which could prevent further testing). On a side note, we have signed the OS X apps since the 5.40 beta, can OS X users tests if it works with gatekeeper activated ? The IDE should open after displaying a warning message without changing the default security features.

Beta 4 is available ! It should include many bug fixes since beta 3. Also some minor additions:

Code: Select all

- Added: #Empty$ constant
- Added: #PB_ByteLength support to MemoryStringLength()

- Changed: The DotPath(), DashPath() & CustomDashPath() commands now have an optional 'StartOffset' parameter
- Changed: The 'Distance' parameter of DotPath() has been changed: It now refers to the distance between the center of each dot (not the space between the dots)
Beta 3 is available ! It should include all fixed bugs since beta 2 and add a few stuffs:

Code: Select all

- 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)
Beta 2 is out ! It should include all fixed bugs since beta 1 and add some 3D related commands:

Code: Select all

- 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()

- Renamed: EntityPhysicBody() to CreateEntityBody()
- Renamed: TerrainPhysicBody() to CreateTerrainBody()
It has been a while since the last PureBasic update, but it's now ready to roll ! It brings some important changes, but also a lot of new features:

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.
- 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.10.2

- Fixed Zip archive support
- Fixed send mail and http request issues
- The default GTK version is now GTK3 on Linux. A gtk2 subsystem has been added for backward compatibility.
- The default string format for RunProgram() read/writestring is not UTF8 instead of Unicode
- Changed the Cipher lib to be modular (now UseMD5Fingerprint() and such commands needs to be used)
- Renamed ExamineFingerprint() to StartFingerprint()
- Renamed NextFingerprint() to AddFingerprintBuffer()
- Removed RemovePackFile()
- Changed: the SendMail() 'Asynchronous' parameter has been replaced by the #PB_Mail_Asynchronous flag.
- Removed: #PB_Packer_CompressedSize support for ZIP and 7z archives with PackerEntrySize()
- Removed: AvailableScreenMemory()
- Fixed: 'CONSTANTLIST' compiler interface, now string constants are returned as escaped strings.
- 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.
The english documentation is up-to-date, and please check the new "Migration from and older PureBasic version" doc page to see all changes needed to update easily. This version introduce a new "import" resident file format, which uses an Import/EndImport block and create a file from it. It replaces the old ".pbl" format which is no more supported, and allow imported function arguments to be typed with pseudotype and more. We also published all the API imports file on the same SVN than the documention (available for all in read-only), so if you want to help to improve them (by putting the right type where needed, or changing the argument names to be more explicits) you can check out it and publish the patches: svn://svn.purebasic.fr/home/svn/Documentation/v5.40

This will be the last version supporting the ASCII mode, and will be maintained until 1 september 2017.

Have fun with PureBasic !

The Fantaisie Software Team
User avatar
Keya
Addict
Addict
Posts: 1891
Joined: Thu Jun 04, 2015 7:10 am

Re: PureBasic 5.40 LTS beta 1 is out !

Post by Keya »

congratulations and thankyou very much again for all your hard work! :) :) :)
IsJoint() sounds intriguing
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: PureBasic 5.40 LTS beta 1 is out !

Post by IdeasVacuum »

Added HTTPS/TLS support for SendMail()
Wow - that's a biggy! 8)
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
heartbone
Addict
Addict
Posts: 1058
Joined: Fri Apr 12, 2013 1:55 pm
Location: just outside of Ferguson

Re: PureBasic 5.40 LTS beta 1 is out !

Post by heartbone »

I'm looking forward to testing the Linux version. :!:

http://www.tdpri.com/forum/bad-dog-cafe ... -used.html
Keep it BASIC.
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PureBasic 5.40 LTS beta 1 is out !

Post by RSBasic »

Thanks :!:
Image
Image
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 179
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: PureBasic 5.40 LTS beta 1 is out !

Post by majikeyric »

WOW, great !!! Thanks to the PB Team ! :D
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 beta 1 is out !

Post by ts-soft »

Thanks, great news!
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
LuckyLuke
Enthusiast
Enthusiast
Posts: 181
Joined: Fri Jun 06, 2003 2:41 pm
Location: Belgium

Re: PureBasic 5.40 LTS beta 1 is out !

Post by LuckyLuke »

Thanks PB Team !!!
Vector 2D library
Cool to create nice looking reports I think !

LuckyLuke
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic 5.40 LTS beta 1 is out !

Post by davido »

Thank you for another great update. :D
DE AA EB
HanPBF
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Feb 19, 2010 3:42 am

Re: PureBasic 5.40 LTS beta 1 is out !

Post by HanPBF »

O.k., o.k., I am just calming down...
still so excited;-)

Great You made it in 08.2015!

Thanks a lot for Your great, great, really great work!!!!
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.40 LTS beta 1 is out !

Post by Little John »

Great, thank you!
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 5.40 LTS beta 1 is out !

Post by User_Russian »

Thank you for release. :) :)

Why need function UnescapeString() if without it working?

Code: Select all

Debug UnescapeString(~"Test=\"Hello\".")
Debug ~"Test=\"Hello\"."
Karellen
User
User
Posts: 82
Joined: Fri Aug 16, 2013 2:52 pm
Location: Germany

Re: PureBasic 5.40 LTS beta 1 is out !

Post by Karellen »

Thanks for the new version. Wow - what an update! :shock:
Many great improvements. The new Vector lib looks awesome, just what I need for my new project.

edit: In the help file the link to the example for cgi is broken.
Stanley decided to go to the meeting room...
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: PureBasic 5.40 LTS beta 1 is out !

Post by netmaestro »

Stunning update!!! Some of the most desired and asked-for features are turning up in this version :D

"is purebasic dead?"
"has development stopped?"
"is Fred doing other things now?"

er... NO!!! (and it's kind of fun to picture the look on Fred's face as he read some of those dire posts, all the while plugging away at one of the best updates the language has ever seen)

Thanks Fred!
BERESHEIT
supercdfr
User
User
Posts: 54
Joined: Tue Mar 16, 2010 9:28 pm

Re: PureBasic 5.40 LTS beta 1 is out !

Post by supercdfr »

Great news.

But i don't understand the new DLLImporter.

Could you please tell me, for examples, how to convert this code :

Code: Select all

WNetAddConnection2_(lpNetResource, thread_netuse_lpPassword, thread_netuse_lpUsername, #True)
Thanks.
Last edited by supercdfr on Mon Aug 31, 2015 6:42 pm, edited 1 time in total.
Post Reply