PureBasic 6.10 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
gamparono
New User
New User
Posts: 5
Joined: Tue Nov 14, 2023 6:33 pm

Re: PureBasic 6.10 beta 4 is out !

Post by gamparono »

Quin wrote: Sun Jan 21, 2024 6:21 pm What kind of increase are we talking here? It may be completely worth it, especially because we could possibly get MP3 like discussed above.
What about the size jump in beta from 5KB to 140KB on empty .exe? library size is not much to that :)
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.10 beta 4 is out !

Post by mk-soft »

gamparono wrote: Fri Feb 02, 2024 6:39 pm
Quin wrote: Sun Jan 21, 2024 6:21 pm What kind of increase are we talking here? It may be completely worth it, especially because we could possibly get MP3 like discussed above.
What about the size jump in beta from 5KB to 140KB on empty .exe? library size is not much to that :)
See PureBasic Team Blog: https://www.purebasic.fr/blog/?p=538
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
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: PureBasic 6.10 beta 4 is out !

Post by useful »

Dawn will come inevitably.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 beta 5 is out !

Post by Fred »

2024-02-04: beta 5 is ready to test. It mainly brings a new DPI Aware mode for OS X (the IDE tabs on OS X shouldn't be blurry anymore on retina display, yeah !) and the usual bugs fixes. Don't hesitate to test it and we are close to the final release.

Code: Select all

Added: DPI-Aware support for OS X
Added: GetGadgetFont(#PB_Default) support on OSX to get the system gadget font 
Added: Documentation is up-to-date now for all new commands (english only)
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 5 is out !

Post by Psychophanta »

1ST to say thanks! :) 8) :!:
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 6.10 beta 5 is out !

Post by Lebostein »

Can you fix this please before the final comes? I hope this is a small, but important one with regard to the new functions:
https://www.purebasic.fr/english/viewtopic.php?t=83272
Thanks
User avatar
jacdelad
Addict
Addict
Posts: 1992
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: PureBasic 6.10 beta 5 is out !

Post by jacdelad »

I don't use MacOS, but DPI awareness seems like a great progress. :D
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
CalamityJames
User
User
Posts: 81
Joined: Sat Mar 13, 2010 4:50 pm

Re: PureBasic 6.10 beta 5 is out !

Post by CalamityJames »

For me, one of the best improvements for this version is the introduction of the WebViewGadget. Up to now I have been using the WebGadget and the excellent CoMate plus to automate the logging in to some websites by entering text and "pressing" buttons. This has become less effective as the WebGadget (based on Internet Explorer) fails to show some websites correctly. The WebGadget with the #PB_Web_Edge flag does show them correctly but then Comate Plus can't be used.

The WebViewGadget has the ability to execute javascript (with WebViewExecuteScript()) and I thought this would solve the problem of automatic logging-in but this gadget does not have the events associated with the WebGadget such as #PB_EventType_DownloadEnd. You can't run a script until the page is loaded, and building in a timed delay is not satisfactory.

I therefore urge the team either to expose the WebViewGadget to the same events as the WebGadget or to allow the WebGadget to execute scripts.
pamen
Enthusiast
Enthusiast
Posts: 193
Joined: Sat Dec 31, 2022 12:24 pm
Location: Cyprus
Contact:

Re: PureBasic 6.10 beta 5 is out !

Post by pamen »

CalamityJames wrote: Wed Feb 07, 2024 11:20 am I therefore urge the team either to expose the WebViewGadget to the same events as the WebGadget or to allow the WebGadget to execute scripts.
There is a thread about it already - I face the same issues plus no possibility to get a return value from a JS function.
https://www.purebasic.fr/english/viewto ... 12#p615312

The problem being in general - great new browsers support, but without more complete interface we will all go back to the same "tricks" for each OS and lots of (possibly buggy) includes.
Fred said he will think about it, which is a very good thing.
S.T.V.B.E.E.V.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 beta 6 is out !

Post by Fred »

2024-02-10: beta 6 is out ! Mostly a bug fix release, with some addition for the WebViewGadget() and WebGadget() on Windows

Code: Select all

Added: #PB_WebView_ICoreController attribute support WebGaget() and WebViewGadget()
Added: All ICoreWebView2 interfaces and constants as residents, thanks to Justin (Windows)
Bugfixes for this version:This list was created automatically. All updated bug threads from the date of the last final version have been determined.

A small example to get the interface on Windows for WebViewGadget()

Code: Select all

OpenWindow(0, 100, 100, 400, 400, "Hello", #PB_Window_SystemMenu)

WebViewGadget(0, 0, 0, 400, 400, #PB_WebView_Debug)

; Get the ICoreController interface 
;
Controller.ICoreWebView2Controller = GetGadgetAttribute(0, #PB_WebView_ICoreController)

; Get the ICoreWebView2 interface 
;
Controller\get_CoreWebView2(@Core.ICoreWebView2)
Core\Navigate("https://www.purebasic.com")

DataSection
	IID_ICoreWebView2Controller2:
	Data.l $C979903E
	Data.w $D4CA, $4228
	Data.b $92, $EB, $47, $EE, $3F, $A9, $6E, $AB
EndDataSection

If Controller\QueryInterface(?IID_ICoreWebView2Controller2, @Controller2.ICoreWebView2Controller2) = #S_OK
  Debug "ICoreWebView2Controller2 found: " + Controller2
Else
  Debug "Can't query ICoreWebView2Controller2"
EndIf

Repeat 
  Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
User avatar
Kiffi
Addict
Addict
Posts: 1485
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: PureBasic 6.10 beta 6 is out !

Post by Kiffi »

Fred wrote: Sat Feb 10, 2024 10:56 am

Code: Select all

Added: #PB_WebView_ICoreController attribute support WebGaget() and WebViewGadget()
Added: All ICoreWebView2 interfaces and constants as residents, thanks to Justin (Windows)
Thanks a lot! Image
Hygge
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 6 is out !

Post by Psychophanta »

Many THANKS!
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Quin
Addict
Addict
Posts: 1124
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PureBasic 6.10 beta 6 is out !

Post by Quin »

Thanks so much Fred! Especially for the WASAPI fix!
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Re: PureBasic 6.10 beta 6 is out !

Post by Lebostein »

:D :D :D
For me PB 6.10 is the best update since years! Thanks!
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 6 is out !

Post by Psychophanta »

Lebostein wrote: Sat Feb 10, 2024 5:18 pm :D :D :D
For me PB 6.10 is the best update since years! Thanks!
Perhaps the ONLY bad new is that it is not valid for WinXP :cry:
But we already can use the previous 5.xx or 6.0x versions :D
So then: ¡PERFECT!
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply