Re: PureBasic 6.01 LTS is released !
Posted: Wed Mar 08, 2023 6:04 pm
1ST saying thanks to the final version 6.01 LTS! 

http://www.purebasic.com
https://www.purebasic.fr/english/
Indeed, from the reports it seems there are still problems with big sources sometimes.
The help files are also not fully up to date, the new #PB_Mail_UseSMTPS constant is only mentioned in an example of SendMail() at the english help file, but not above in the parameter list where the other constants are explained, and also the constant is not included in the general constant list. The german help file doesn't show the constant anywhere.
You are absolutely right.mk-soft wrote: Wed Mar 08, 2023 6:20 pm It's true that there is already a release, but a little too early.
![]()
macOS OpenConsole has not worked since the first beta.![]()
Bonjour Guillaume,StarBootics wrote: Thu Mar 09, 2023 4:17 am I also experience an IMA error on a large source code (28 402 lines) and I can't reproduce it with a small snippet using V6.01 LTS.
I'm investigating this problem and I hope I will find the problem.
Best regards
StarBootics
I have wrote a private message to Fred with a download link to the source code and support files required (8.5 MB).Denis wrote: Thu Mar 09, 2023 5:22 am Bonjour Guillaume,
send your projet to Fred, it is certainly the best way to do it.
Code: Select all
If OpenWindow(0, 0, 0, 320, 200, "Create ComboBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
t1 = ElapsedMilliseconds()
For i = 0 To 1000
x = ComboBoxGadget(#PB_Any,10,10+i,250,21)
For j = 0 To 20
AddGadgetItem(x,-1,"Item " + Str(j))
Next j
Next i
t2 = ElapsedMilliseconds()
Debug("Time=" + Str(t2-t1))
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Quit = 1
EndSelect
Until Quit = 1
EndIf
Code: Select all
If OpenWindow(0, 0, 0, 320, 200, "Create ComboBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
t1 = ElapsedMilliseconds()
SendMessage_(WindowID(0),#WM_SETREDRAW,0,0)
For i = 0 To 1000
x = ComboBoxGadget(#PB_Any,10,10+i,250,21)
For j = 0 To 20
AddGadgetItem(x,-1,"Item " + Str(j))
Next j
Next i
SendMessage_(WindowID(0),#WM_SETREDRAW,1,0)
t2 = ElapsedMilliseconds()
Debug("Time=" + Str(t2-t1))
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Quit = 1
EndSelect
Until Quit = 1
EndIf
Code: Select all
Original code :
PB 6.01 ASM PB 6.01 C PB 6.00 ASM PB 6.00 C
15941ms 16365ms 15526ms 16283ms
14259ms 16422ms 15615ms 15516ms
14384ms 16103ms 15689ms 15998ms
14382ms 16941ms 16775ms 15869ms
17605ms 16241ms 16372ms 15757ms
-------- -------- -------- --------
15314ms 16414ms 15995ms 15884ms
No redraw :
5828ms 5851ms 7380ms 7609ms
5859ms 5904ms 7240ms 7408ms
5820ms 5904ms 7584ms 7568ms
5853ms 5876ms 7596ms 7662ms
5876ms 5937ms 7563ms 7559ms
------- ------- ------- -------
5847ms 5894ms 7472ms 7561ms
Code: Select all
If OpenWindow(0, 0, 0, 1200, 700, "Create ComboBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
t1 = ElapsedMilliseconds()
SendMessage_(WindowID(0),#WM_SETREDRAW,0,0)
For i = 0 To 1000
xx = 10 + ((i / 30) * 35)
yy = 10 + ((i % 30) * 20)
x = ComboBoxGadget(#PB_Any,xx,yy,30,15)
For j = 0 To 20
AddGadgetItem(x,-1,"Item " + Str(j) + "ms")
Next j
Next i
t2 = ElapsedMilliseconds()
SendMessage_(WindowID(0),#WM_SETREDRAW,1,0)
f = CreateFile(#PB_Any,"t1.txt")
WriteString(f,"Time=" + Str(t2-t1))
CloseFile(f)
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
Quit = 1
EndSelect
Until Quit = 1
EndIf