Page 23 of 25

Re: PureBasic 5.20 beta 18 is out

Posted: Thu Sep 12, 2013 8:22 pm
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. ;)

Re: PureBasic 5.20 beta 19 is out

Posted: Thu Sep 12, 2013 9:39 pm
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:

Re: PureBasic 5.20 beta 18 is out

Posted: Thu Sep 12, 2013 9:49 pm
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?!?!

Re: PureBasic 5.20 beta 18 is out

Posted: Fri Sep 13, 2013 12:58 am
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

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 4:07 am
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

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 4:14 am
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.

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 10:39 am
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.

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 11:53 am
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?

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 12:04 pm
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.

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 1:00 pm
by dige
Good to know! Thx freak.

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 5:01 pm
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.

Re: PureBasic 5.20 beta 19 is out

Posted: Fri Sep 13, 2013 7:28 pm
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

Re: PureBasic 5.20 beta 20 is out

Posted: Sun Sep 15, 2013 10:35 am
by Fred
Beta 20 is available, please give it a try as we are really reaching the end of the tunnel :)

Re: PureBasic 5.20 beta 20 is out

Posted: Sun Sep 15, 2013 10:47 am
by ts-soft
thx for your hard work :D

Re: PureBasic 5.20 beta 20 is out

Posted: Sun Sep 15, 2013 11:36 am
by DK_PETER
Aaaaand the betas keeps on rolling in. Looks really good.
You guys have been extremely busy.

Thanks a bunch.