PureBasic 6.10 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
juergenkulow
Enthusiast
Enthusiast
Posts: 581
Joined: Wed Sep 25, 2019 10:18 am

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

Post by juergenkulow »

Inner wrote: Wed Jan 10, 2024 2:49 am
Updated: Toolchain on Windows now use VisualStudio 2022 and new MSVCRT for faster PureBasic programs and easier external libs integration.
Is there any more details other than the above on how that works?
Please document this functionality in advance in Beta 2.
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

Post by Inner »

Fred wrote: Wed Jan 10, 2024 9:20 am More info here: https://www.purebasic.fr/blog/?p=538
fascinating does this mean my header assistant as less use ( https://youtu.be/7dbOzlKjBbk ) though I suppose we still need to translate the 'Struct','Defines','Enums' and what have you though, so I suppose it's still useful.
User avatar
idle
Always Here
Always Here
Posts: 5835
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

Post by idle »

The change means you can now build a library with vs 22 and link to it statically.

You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

Post by Inner »

idle wrote: Wed Jan 10, 2024 8:45 pm The change means you can now build a library with vs 22 and link to it statically.

You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.
lol @ technicolor tutu, guess we need to pass the bucket around and get him one ;)

I think I have a misunderstanding, what the use case is for PB having a C backend.
User avatar
idle
Always Here
Always Here
Posts: 5835
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

Post by idle »

Inner wrote: Wed Jan 10, 2024 10:34 pm
idle wrote: Wed Jan 10, 2024 8:45 pm The change means you can now build a library with vs 22 and link to it statically.

You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.
lol @ technicolor tutu, guess we need to pass the bucket around and get him one ;)

I think I have a misunderstanding, what the use case is for PB having a C backend.
It was to support Arm targets, Raspberry PI and M1 macs and by emitting c rather than asm means you get all the benefits of gcc compiler suite.
User avatar
DeanH
Enthusiast
Enthusiast
Posts: 274
Joined: Wed May 07, 2008 4:57 am
Location: Adelaide, South Australia
Contact:

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !

Post by DeanH »

I have recompiled all 10 of my school library system's exe modules with the beta release. Windows 10, 64-bit, asm compiler. 100,000 to 150,000 lines of source code in each module. It is a complex database system using SQLite, barcodes, and images. So far, everything seems to work okay.

There may be good news on the AV false positive front, too. Cylance/ZScaler, is a security system mandated by government policy to all schools in the Australian state of Victoria. About 500 of my users there are schools. When updating, some of my modules have been regularly quarantined by Cylance in a large number of schools and have to be waived by a technician, often not available when needed. The problem has become so bad many schools are refusing to update and a few have gone to other cloud-based systems. The most recent was this week. As a test, I ran all the exe modules through Hybrid-Analysis.com. The report can look horrifying as a great deal of ordinary code is deemed suspicious. Good news: most modules are now classified as clean where before they were suspicious or ambiguous. Three remain suspicious but none are now malignant. There is a persistent detection of the wine emulator "wine_get_version" and reading mail credentials from the registry "HKLM\SOFTWARE\MICROSOFT\IDENTITYCRL", neither of which I have referenced in my source code. Hybrid-Analysis considers these malicious indicators. There are fewer indicators than I saw with previous PB versions.

Even in Beta 1 stage, this huge revision to Pure Basic looks like a big improvement.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Fred »

2024-01-12: beta 2 released, focused on bug fixes and improvements:

Code: Select all

Added: UseDialogWebGadget() to avoid WebGadget dependencies by default when using dialogs.

Updated: Unicode file support for Windows compiler
Updated: Used libvlc instead of the old xine lib on Linux to play movies
Updated: Reworked the Sound library to use MiniAudio on OS X and Linux (SDL dependency is no more requiered for sounds on Linux).
Bugfixes for this version:This list was created automatically. All updated bug threads from the date of the last final version have been determined.
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by useful »

The ability to specify a working path for webview was promised. Already or in the next issue?
https://www.purebasic.fr/english/viewto ... 84#p613384
Dawn will come inevitably.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Fred »

For next beta
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Psychophanta »

PB 6.02B2 New year Release is Welcomed :) :!:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by luis »

Updated: Reworked the Sound library to use MiniAudio on OS X and Linux (SDL dependency is no more requiered for sounds on Linux).
Thanks, but why you didn't use MiniAudio on Windows too ?
On Windows the audio uses DirectSound ?
"Have you tried turning it off and on again ?"
A little PureBasic review
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Lebostein »

After 34 channels playing PlaySound() returns zero. Seems the maximum channels at the same time ist 34. Is that configurable? Or is this system dependent (sound chip, OS...)?
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Fred »

There is a 32 channels limit when playing sound simultinaously (once a sound play is finished the channel is reused. Its not an OS limitation ans can be raised if needed. How many do you need ? May be
E an extra param in InitSound() could be useful.

@luis, its planned to switch on Windows as well as I want to use advanced miniaudio features like spécialisation ans may be recording
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Marc56us »

Please @Team: don't forget to delete the multitude of temp directories (PureBasic\d+) with the LIB copies.
They remain in the temporary directory even when we exit the IDE.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Post by Fred »

Strange, I rough i had removed this, will take a look again
Post Reply