What about the size jump in beta from 5KB to 140KB on empty .exe? library size is not much to thatQuin 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.
PureBasic 6.10 LTS is out !
Re: PureBasic 6.10 beta 4 is out !
Re: PureBasic 6.10 beta 4 is out !
See PureBasic Team Blog: https://www.purebasic.fr/blog/?p=538gamparono wrote: Fri Feb 02, 2024 6:39 pmWhat about the size jump in beta from 5KB to 140KB on empty .exe? library size is not much to thatQuin 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.![]()
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
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: PureBasic 6.10 beta 4 is out !
Let me remind you of my question on the occasion.
https://www.purebasic.fr/english/viewto ... 34#p615534
https://www.purebasic.fr/english/viewto ... 58#p613258
https://www.purebasic.fr/english/viewto ... 34#p615534
https://www.purebasic.fr/english/viewto ... 58#p613258
Dawn will come inevitably.
Re: PureBasic 6.10 beta 5 is out !
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)- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.10 beta 5 is out !
1ST to say thanks!

Re: PureBasic 6.10 beta 5 is out !
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
https://www.purebasic.fr/english/viewtopic.php?t=83272
Thanks
Re: PureBasic 6.10 beta 5 is out !
I don't use MacOS, but DPI awareness seems like a great progress. 
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
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
-
CalamityJames
- User

- Posts: 81
- Joined: Sat Mar 13, 2010 4:50 pm
Re: PureBasic 6.10 beta 5 is out !
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.
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.
Re: PureBasic 6.10 beta 5 is out !
There is a thread about it already - I face the same issues plus no possibility to get a return value from a JS function.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.
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.
Re: PureBasic 6.10 beta 6 is out !
2024-02-10: beta 6 is out ! Mostly a bug fix release, with some addition for the WebViewGadget() and WebGadget() on Windows
Bugfixes for this version:
A small example to get the interface on Windows for WebViewGadget()
Code: Select all
Added: #PB_WebView_ICoreController attribute support WebGaget() and WebViewGadget()
Added: All ICoreWebView2 interfaces and constants as residents, thanks to Justin (Windows)- Windows: [Done] PB 6.10: WASAPI prevents machine from automatically sleeping.
- Windows: [Done] Works in C Backend and fails in Assembler x86 backend
- Windows: [Done] IPv6 and UDP no client data event PB 6.04
- Windows: [Done] [PB 6.10 beta 4] ConvertDate()
- Windows: [Done] PB 6.10b5 OpenWindow() with x,y #PB_Ignore is positioned incorrectly.
- Windows: [Done] PB 6.1 beta 4 - Right click on Systray causes crash, Left does not trigger event
- Windows: [Done] [PB 6.10 beta 4] Date() and leap years
- Windows: [Done] Project with C Backend lost when installing a new PB version
- Windows: [Done] PB 6.04 #PB_HTTP_Aborted never happens on asynchronous ReceiveHTTPFile
- Windows: [Done] PB 6.10 beta 4 - OpenPreferences()
- Linux: [Done] 5.73b2 Wrong parsing of floating point numbers
- Linux: [Done] gtk_progress_bar_pulse: assertion 'GTK_IS_PROGRESS_BAR (pbar)' failed
- Linux: [Done] IPv6 and UDP no server data event PB 6.04
- Linux: [Done] CloseNetworkConnection()
- Linux: [Done] PB 6.04 x64 #PB_Window_Normal not working
- Linux: [Done] Invalid Memory Access Error ASM Backend
- Linux: [Done] PB v6.10 - SysTrayIcon linker error
- Linux: [Done] RegisterFontFile(), DrawFont(), StartDrawing()
- Linux: [Done] PB v6.10b5 - CompareStructure Linker Error
- MacOS: [Done] 6.10 b1 - Changing the column width with mouse triggers a header click
- MacOS: [Done] 6.10 b3 ComboBoxGadget - incorrect value with BindGadgetEvent
- MacOS: [Done] 6.10 b1 - ExamineEnvironmentVariables() fails
- MacOS: [Done] Retina-Display Problems
- MacOS: [Done] PB 5.51 CanvasGadget on Retina Display
- C Backend: [Done] PB 6.03 LTS - C backend] Array index out of bounds!
- C Backend: [Done] Static arrays inside structures bug
- IDE: [Done] PB v6.10b5 - Missing Constants
- IDE: [Done] PB6.10B5 Background color for found word while "replacing" task
- IDE: [Done] SendMessage #SCI_CALLTIPSHOW need UTF8 now
- IDE: [Done] PB 6.10 beta 4 Reload an empty text file doesn't work.
- Doc: [Done] Labels in Procedures
- Doc: [Done] CustomSortList - Wrong description text (copy past from CustomSortArray)
- Doc: [Done] [PB 6.10 beta 4] ConvertDate()
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_CloseWindowRe: PureBasic 6.10 beta 6 is out !
Thanks a lot!Fred wrote: Sat Feb 10, 2024 10:56 amCode: Select all
Added: #PB_WebView_ICoreController attribute support WebGaget() and WebViewGadget() Added: All ICoreWebView2 interfaces and constants as residents, thanks to Justin (Windows)

Hygge
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.10 beta 6 is out !
Many THANKS!
Re: PureBasic 6.10 beta 6 is out !
Thanks so much Fred! Especially for the WASAPI fix!
Re: PureBasic 6.10 beta 6 is out !
For me PB 6.10 is the best update since years! Thanks!
- Psychophanta
- Always Here

- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.10 beta 6 is out !
Perhaps the ONLY bad new is that it is not valid for WinXP
But we already can use the previous 5.xx or 6.0x versions
So then: ¡PERFECT!



