Should be fixed. Could you test the following lib ? : www.purebasic.com/beta/GadgetExtensionFranky wrote:Hi, what about the Spingadgetbug, when do you want to fix it?
PureBasic 3.81 Beta 1 for Windows
About the smart Update:
I download the complete zip-update-file and after the update i start the smartupdater.
I got the message, that i have newer files than in the update-version.
When i press then no, in the Window stand, that "You have this version installed, you don't need a update".
Multi-language-Support for the tool would be nice (in pb.pref is the selected language for the editor; btw: the visual Designer should also search in this file to get the default language of the user).
I download the complete zip-update-file and after the update i start the smartupdater.
I got the message, that i have newer files than in the update-version.
When i press then no, in the Window stand, that "You have this version installed, you don't need a update".
Multi-language-Support for the tool would be nice (in pb.pref is the selected language for the editor; btw: the visual Designer should also search in this file to get the default language of the user).
I know about this one, still trying to figure out where the dates are messedGPI wrote:About the smart Update:
I download the complete zip-update-file and after the update i start the smartupdater.
I got the message, that i have newer files than in the update-version.
When i press then no, in the Window stand, that "You have this version installed, you don't need a update".
up.
Multi-language is allready done, but it looks like Fred forgot to includeGPI wrote:Multi-language-Support for the tool would be nice (in pb.pref is the selected language for the editor; btw: the visual Designer should also search in this file to get the default language of the user).
the catalog files with the update.

the default language of the PB editor.
Thanks for the reports anyway..
Timo
quidquid Latine dictum sit altum videtur
What I get is: (debug and not debug)Fred wrote:Try:
Code: Select all
Structure ColoredPoint Extends Point Color.l EndStructure MyPoint.ColoredPoint\x = 10 MyPoint\y = 100 MyPoint\Color = RGB(10,10,10)
MyPoint\x 10
MyPoint\y 657930
MyPoint\Color 657930



[:: PB Registered ::]
Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
@Fred: Thanks - thumbs up!
@Freak: Thanks a lot! Is there any possibility to add 'plugins' to your updater so that I can add jaPBe, userlibs from purearea and the code archiv to it? What I mean is everyone (or better: the author of an extraordinary PB part/piece) can write his own plugin for your updater to download the newest available version of his program/code/library...
Now I go to celebrate - cheers

@Freak: Thanks a lot! Is there any possibility to add 'plugins' to your updater so that I can add jaPBe, userlibs from purearea and the code archiv to it? What I mean is everyone (or better: the author of an extraordinary PB part/piece) can write his own plugin for your updater to download the newest available version of his program/code/library...

Now I go to celebrate - cheers

V2
I have given this some thought, and i think it would be a usefull thing toV2 wrote:@Freak: Thanks a lot! Is there any possibility to add 'plugins' to your updater so that I can add jaPBe, userlibs from purearea and the code archiv to it? What I mean is everyone (or better: the author of an extraordinary PB part/piece) can write his own plugin for your updater to download the newest available version of his program/code/library...
be able to specify different download locations in a .prefs file, which would
make the tool able to update different packages at once.
But that would need some bigger changes to the tool, because it is too much
focused on the PB structure, and not that flexible, as it would need to be for
this task. This tool is not the only project i'm working on now, so i think i won't
do this right away.
I think it's also best to keep the tool like that for now, to see if it works well,
and to fix all bugs that may be found, than messing it all up now.
I will keep this in mind though...
Timo
quidquid Latine dictum sit altum videtur
Maybe a very simple method:
Update-Tool download a simple ascii-file in the follow format:
The updater should save follow:
Update-Inf-File
Installed-Path of installed Project
GPI
Update-Tool download a simple ascii-file in the follow format:
Code: Select all
[Update1]
File="path\file"
Date=03.12.2003 - 10:00
; maybe a simple hex(date())
Url="blablabla\xyz.zip"
; or any other compressed format.
[Update2]
....
Update-Inf-File
Installed-Path of installed Project
GPI
-
- Enthusiast
- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
I`ve got my NetUpdate PB lib stuff working via an XML (in the loosest sense !) file..
Install paths can be strict as in "F:\MyProgram\InstallHere"
or relative to the computer, "ProgDir\InstallHere"
Looks like this ,although some newer options aren`t shown.
The actual lib commands work like the FileSystem lib..
It`ll also do things like restart the app or restart Windows if needed, but only if the app and user allows it.
You can have as much or as little control as you want.
The simplest code you could use would be
I`ve still got to do things like allowing the progress callback to be handled by the app if needed (for user created download GUIs instead of the built in one) , and handling of self extracting or self installing archives.
Still some way to go..and with Xmas coming up I doubt it`ll get anywhere close to beta before mid January..if only I could code as quick as Fred
I`ll be glad to hear any comments and suggestions about this.
Install paths can be strict as in "F:\MyProgram\InstallHere"
or relative to the computer, "ProgDir\InstallHere"
Looks like this ,although some newer options aren`t shown.
Code: Select all
<?xml version="1.0" ?>
<update updver="0.5" app="My test heading" appver="0.05" date="1070129306" authcode="ad45Aom2VpAal3rLhvfy76fFB5gcotEr">
<author website="http://www.mywebsite.com" email="myemail@ertertert" />
<filelist>
<file name="aspitranslate.pb">
<fileinfo checksum="062d3d8f9fc99e946f81b030730fee07" date="1049062118" saveto="ProgDir\" http="http://dfgdfgdfgdfgdfg" />
</file>
<file name="amigraph.pb" priority="Optional">
<fileinfo checksum="407ee360c75ef59fa2a98d95e13e7982" date="1033945556" saveto="Program\" http="http://www.blahblah.com" />
</file>
<file name="Somefile.dll" priority="High">
<fileinfo checksum="f217ecd7e895717388239fc26bb074db" date="1065292768" saveto="Temp\" http="http://www.blahdy.com" />
<msg>Critical update to fix problems on WindowXP</msg>
</file>
</filelist>
</update>
Code: Select all
;## Example to only update "High Priority" bugfixes
;## It cycles through the update file list, and removes unwanted updates.
;## GetUpdates() downloads the files in the list.
If OpenUpdate(update_url.s)
While ExamineUpdate()
If UpdatePriority()<>#Update_Pri_High
DeleteUpdate()
Else
Debug "New file>"+UpdateFileName()
Endif
Wend
If GetUpdates(#Update_HideProgress)=0
Debug "Update failed :(("
Endif
CloseUpdate()
Endif
It`ll also do things like restart the app or restart Windows if needed, but only if the app and user allows it.
You can have as much or as little control as you want.
The simplest code you could use would be
Code: Select all
If OpenUpdate(updateurl.s)
GetUpdates()
CloseUpdate()
Endif
I`ve still got to do things like allowing the progress callback to be handled by the app if needed (for user created download GUIs instead of the built in one) , and handling of self extracting or self installing archives.
Still some way to go..and with Xmas coming up I doubt it`ll get anywhere close to beta before mid January..if only I could code as quick as Fred

I`ll be glad to hear any comments and suggestions about this.