PureBasic 6.01 LTS is released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: PureBasic 6.01 beta 2 is available

Post by Janni »

Great work Fred. Fantastic to see the rapid updates.
Love to see posts from Fred saying "Fixed."
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
User avatar
❤x1
User
User
Posts: 46
Joined: Thu Jan 10, 2019 5:56 pm

Re: PureBasic 6.01 beta 2 is available

Post by ❤x1 »

#PB_EventType_CloseItem seems to have disappeared with beta 2. Is it expected?
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.01 beta 2 is available

Post by mk-soft »

❤x1 wrote: Mon Jan 30, 2023 6:43 pm #PB_EventType_CloseItem seems to have disappeared with beta 2. Is it expected?
Yup, no longer exists as it is no longer used.
What was it used for?
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
User avatar
❤x1
User
User
Posts: 46
Joined: Thu Jan 10, 2019 5:56 pm

Re: PureBasic 6.01 beta 2 is available

Post by ❤x1 »

I was using it in some libraries. Not a problem as long as it's expected 👌.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.01 beta 2 is available

Post by mk-soft »

As long as there are no complications with new constants.

Code: Select all

CompilerIf Not Defined(PB_EventType_CloseItem, #PB_Constant)
  #PB_EventType_CloseItem = $FFFF ; SDK Event.h
CompilerEndIf

CompilerIf Not Defined(PB_EventType_ReturnKey, #PB_Constant)
  #PB_EventType_ReturnKey = $501 ; SDK Event.h
CompilerEndIf

Debug #PB_EventType_CloseItem
Debug #PB_EventType_ReturnKey
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.01 beta 3 is available

Post by Fred »

- beta 3 is out, with some more bug fixes to test !

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
Janni
Enthusiast
Enthusiast
Posts: 127
Joined: Mon Feb 21, 2022 5:58 pm
Location: Norway

Re: PureBasic 6.01 beta 3 is available

Post by Janni »

Thank you Sir! :D
Spec: Linux Mint 20.3 Cinnamon, i7-3770K, 16GB RAM, RTX 2070 Super
box_80
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Sep 03, 2012 8:52 pm

Re: PureBasic 6.01 beta 3 is available

Post by box_80 »

Thanks for the bug fixes.
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 6.01 beta 3 is available

Post by Little John »

Many thanks for all the bug fixes, Fred!
User avatar
❤x1
User
User
Posts: 46
Joined: Thu Jan 10, 2019 5:56 pm

Re: PureBasic 6.01 beta 3 is available

Post by ❤x1 »

Code: Select all

	Structure SelfReferencingStructure
		ValueA.i
		ValueB.i
		List *Children.SelfReferencingStructure()
	EndStructure
Doesn't work anymore in b3 (and maybe before, I hadn't tested it in 6.01 yet).
Last edited by ❤x1 on Mon Feb 06, 2023 10:15 am, edited 1 time in total.
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.01 beta 3 is available

Post by Fred »

Please open a bug report with a working snippet , I can easily miss it here
User avatar
❤x1
User
User
Posts: 46
Joined: Thu Jan 10, 2019 5:56 pm

Re: PureBasic 6.01 beta 3 is available

Post by ❤x1 »

Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.01 beta 4 is available

Post by Fred »

beta 4 is out, with some more fixes. This will be the last beta for now, so be sure to test it properly so we can have a good final release !
Note: The optimizer needs to be manually enabled for ASM backend as well to have any effect.
The event handling code has been modified, so if you find something odd in event propagation, please report it.

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
luis
Addict
Addict
Posts: 3876
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PureBasic 6.01 beta 4 is available

Post by luis »

Hi, FYI I see this fixed bug is not marked as DONE: Session History views are not maximized anymore
viewtopic.php?t=76506

So it's missing from the list but it's included in the beta 4 build, I've just tested it and it works.

On a different note, I'm not sure what is the meaning of this:
Note: The optimizer needs to be manually enabled for ASM backend as well to have any effect.
Isn't that option meaningful only for the C backend and when checked the compiler implement some code optimization ?
Currently I enable it only if I have a "pbcompilerc" selected and I ignore it when using the ASM backend.

Thanks for all the new compiler fixes :)
"Have you tried turning it off and on again ?"
A little PureBasic review
nsstudios
Enthusiast
Enthusiast
Posts: 274
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Re: PureBasic 6.01 beta 4 is available

Post by nsstudios »

luis wrote: Fri Feb 17, 2023 12:02 pm
Note: The optimizer needs to be manually enabled for ASM backend as well to have any effect.
Isn't that option meaningful only for the C backend and when checked the compiler implement some code optimization ?
Currently I enable it only if I have a "pbcompilerc" selected and I ignore it when using the ASM backend.
I'm wondering the same thing! Does PB now let you toggle asm optimizations?
Has that always been a thing?
Thank you for all the hard work.
Post Reply