PureBasic 5.20 beta 20 is out

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: PureBasic 5.20 beta 18 is out

Post by Danilo »

DK_PETER wrote:@Danilo

Hey Danilo.
I too, just don't want the auto update possibility.
It is OK with me, if nobody wants it. Just wanted to point out that many programs do auto-updates today,
and I did not speak about fart apps. :D
Some programs I use do only update-check like PB now. Better than nothing. ;)
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: PureBasic 5.20 beta 19 is out

Post by Shardik »

Danilo wrote:I have to install 6 updates (Win x86, Win x64, Linux x86, Linux x64, Mac OS X x86, Mac OS X x64) every few days, when helping to test BETAs.
That's the same for me (actually even some more because I have machines at work and at home)...
But as long as cross-platform PB developers are seemingly a negligible minority, those having to support only one platform understandably don't see an automatic update as a necessity. Nevertheless it's fine to have now the possibility to become at least informed automatically about the availability of new releases and Betas... :wink:
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic 5.20 beta 18 is out

Post by Tenaja »

Danilo wrote:It is OK with me, if nobody wants it. Just wanted to point out that many programs do auto-updates today...
I prefer the option to auto-update. As light as PB is, requiring a save and manual installation seems archaic.
and I did not speak about fart apps
Who needs an app for that?!?!
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Re: PureBasic 5.20 beta 18 is out

Post by USCode »

Danilo wrote:... Just wanted to point out that many programs do auto-updates today ...
Remember PB's "SmartUpdate"? Time to bring it back??? :twisted:

Removed with 4.10:
http://www.purebasic.com/news53.php
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Re: PureBasic 5.20 beta 19 is out

Post by yrreti »

USCode
Removed with 4.10:
I believe it was removed because it was causing problematic issues.

I also can think of a serious issue that can easily result from auto updating.
Suppose your working on a complex multi-multi-line program that you need to get finished.
Then the PB program suddenly gets updated automatically. You find that several commands
and their parameters have been changed. Some have been removed or renamed.
And like recently, you find that there is no more 'misc' file. Your program no longer works!
And you have to spend hours trying to find out why. But you still need to get it finished because
your on a time table, and your quite upset. :evil: :evil: :evil:
Granted, the above was a manual choice upgrade that I should have waited first to find out
more about the changes first before I upgraded. Hopefully I learned my lesson. :oops:
But when you have a choice to update or not. It gives you the opportunity to see what has been
changed. That way you can make a decision as if you want to upgrade at that time, or finish
your project first. It also give you the opportunity to learn how to apply those changes first
before adding to your program. And the other reason like I posted earlier. I would rather prefer
the full install approach as it is, because if your installed programing directory ever get's hosed
somehow. That fresh install will save the day. And that install that you saved would be the one
that your presently working with, and may not be an upgraded version.
Seriously think about it. I definitely would not want it for the above reasons. Else make it a
configurable users choice that can be disabled. I for one really like the recent high beta method,
and see this as a real improvement over the past. :!: :!: :!: Bugs are getting fixed and brought
to us quickly. We don't have to wait until the next version to see the fixes. Yay Team :D :D :D

yrreti
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic 5.20 beta 19 is out

Post by Tenaja »

yrreti wrote:...Then the PB program suddenly gets updated automatically.
I have yet to see an engineering program that updates automatically without approval. Even my regular programs are set to confirm before an update, for that very reason.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.20 beta 19 is out

Post by Fred »

Smart update was removed, because the delta files were bigger than the full archive after a few versions :). And it was also more work for us to maintain, with possible tricky bugs.
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PureBasic 5.20 beta 19 is out

Post by dige »

Hi PB-Teanm, are there some internal changes on the Webgadet?
I use it also to make snapshots from websites and loading images like SVG.

Since Beta19 or maybe earlier, I've got sometimes IMA errors at the following code
inside a thread:

Code: Select all

      m_pWebBrowser = GetWindowLong_(GadgetID(WebGadgetID), #GWL_USERDATA)
      If m_pWebBrowser
        m_pWebBrowser\put_Silent(#TRUE)   <-- IMA
        m_pWebBrowser\put_Resizable(#Null)
      EndIf 
The whole code is unchanged and runs fine until PB 5.11 ... so whats happend internal?
Last edited by dige on Fri Sep 13, 2013 11:55 am, edited 2 times in total.
"Daddy, I'll run faster, then it is not so far..."
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: PureBasic 5.20 beta 19 is out

Post by freak »

We removed the dependency on the ATL.dll.

However, the WebGadget uses OLE which is not threadsafe. You cannot use the WebGadget from threads. If it worked before, it was probably just luck.
quidquid Latine dictum sit altum videtur
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: PureBasic 5.20 beta 19 is out

Post by dige »

Good to know! Thx freak.
"Daddy, I'll run faster, then it is not so far..."
User avatar
mback2k
Enthusiast
Enthusiast
Posts: 257
Joined: Sun Dec 02, 2007 12:11 pm
Location: Germany

Re: PureBasic 5.20 beta 19 is out

Post by mback2k »

freak wrote:However, the WebGadget uses OLE which is not threadsafe. You cannot use the WebGadget from threads. If it worked before, it was probably just luck.
That's good to know. Is there a list of non-threadsafe gadgets and commands? This may actually be a reason for a crash in one of my applications I have been looking into.
USCode
Addict
Addict
Posts: 923
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle

Re: PureBasic 5.20 beta 19 is out

Post by USCode »

mback2k wrote:
freak wrote:However, the WebGadget uses OLE which is not threadsafe. You cannot use the WebGadget from threads. If it worked before, it was probably just luck.
That's good to know. Is there a list of non-threadsafe gadgets and commands? This may actually be a reason for a crash in one of my applications I have been looking into.
Maybe the 'Note' section of the Threads documentation could be expanded to discuss usage limitations in a bit more detail?
http://www.purebasic.com/documentation/ ... index.html
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.20 beta 20 is out

Post by Fred »

Beta 20 is available, please give it a try as we are really reaching the end of the tunnel :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PureBasic 5.20 beta 20 is out

Post by ts-soft »

thx for your hard work :D
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
DK_PETER
Addict
Addict
Posts: 904
Joined: Sat Feb 19, 2011 10:06 am
Location: Denmark
Contact:

Re: PureBasic 5.20 beta 20 is out

Post by DK_PETER »

Aaaaand the betas keeps on rolling in. Looks really good.
You guys have been extremely busy.

Thanks a bunch.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Post Reply