From: William H. S. <whs...@ce...> - 2007-07-26 18:08:55
Attachments:
PGP.sig
|
Hello, I'm looking at the wxWebUpdate documentation, but I'm having a hard time finding what I'm looking for. Is it possible to use wxWebUpdate to find out if an update is available without requiring the user to select a menu item? That is, is there a library call that I can make that will tell me whether there's an update available, so that I can auto-launch the wxWebUpdate program? I would like users to be notified when updates are available. Thanks. ------------------------------- Hank Schultz Cedrus Corporation http://www.cedrus.com/ |
From: Francesco M. <f18...@ya...> - 2007-07-26 22:55:09
|
Hi, William H. Schultz ha scritto: > Hello, > > I'm looking at the wxWebUpdate documentation, but I'm having a hard time > finding what I'm looking for. Is it possible to use wxWebUpdate to find > out if an update is available without requiring the user to select a > menu item? That is, is there a library call that I can make that will > tell me whether there's an update available, well, effectively yours is a good request and I'd like to make it easier to be able to satisfy it. I'm out of free time currently but I'd gadly apply patches which work in that direction... > so that I can auto-launch > the wxWebUpdate program? I would like users to be notified when updates > are available. basically I suggest you to look at the sources of wxWebupdate (they should be fairly commented) and look at the relevant portions of webupdate[dlg].cpp; the code is there could be used/refactored to create a function exported then in the library and made easily accessible from extern programs. HTH, Francesco |
From: Christian B. <ex...@gm...> - 2007-09-17 17:59:59
|
I recieved your WebUpdate by SVN. there are six project files in /build. webupdate_advanced_0_0_1 webupdate_advanced_1_5_0 webupdate_simple_1_0_0 webupdate_simple_2_0_3 webupdate_webupdate webupdate_webupdater They are not documented in the readme file. What is about them? Francesco Montorsi schrieb: > I'm out of free time currently but I'd gadly apply patches which work in > that direction... It's on my TODO list. ;) > basically I suggest you to look at the sources of wxWebupdate (they > should be fairly commented) and look at the relevant portions of > webupdate[dlg].cpp You mean bool wxWebUpdateDlg::CheckForAllUpdated(wxWebUpdatePackageArray &arr, bool forcedefaultmsg) ? > the code is there could be used/refactored to create > a function exported then in the library and made easily accessible from > extern programs. Nice idea. First I have to analyse your code. But I think it would be easier for all of use if we just "outsource" the related code to extra source-files. Then you can just use them for your WebUpdate and we can include and build them in our own projects. Something like webupdate_base.cpp and webupdate_base.h without any gui elements - just the application layer. What do you think about it? |
From: Francesco M. <f18...@ya...> - 2007-09-17 22:52:15
|
Hi, actually please ignore my previous message (the one just posted to wxcode-users): I just forgot that I already suggested a solution :) Christian Buhtz ha scritto: > there are six project files in /build. > webupdate_advanced_0_0_1 > webupdate_advanced_1_5_0 > webupdate_simple_1_0_0 > webupdate_simple_2_0_3 > webupdate_webupdate > webupdate_webupdater > > They are not documented in the readme file. > > What is about them? *simple* and *advanced* project files are sample apps for testing the updater. _webupdate[r] are the webupdate library and webupdater standalone executable. > Francesco Montorsi schrieb: >> I'm out of free time currently but I'd gadly apply patches which work in >> that direction... > > It's on my TODO list. ;) good :) > >> basically I suggest you to look at the sources of wxWebupdate (they >> should be fairly commented) and look at the relevant portions of >> webupdate[dlg].cpp > > You mean > bool wxWebUpdateDlg::CheckForAllUpdated(wxWebUpdatePackageArray &arr, > bool forcedefaultmsg) > ? yes > >> the code is there could be used/refactored to create >> a function exported then in the library and made easily accessible from >> extern programs. > > Nice idea. First I have to analyse your code. But I think it would be > easier for all of use if we just "outsource" the related code to extra > source-files. Then you can just use them for your WebUpdate and we can > include and build them in our own projects. Something like > webupdate_base.cpp and webupdate_base.h without any gui elements - just > the application layer. > What do you think about it? I think it would be cleaner to add a command-line option (e.g. --query) as described in the previous mail (beyond a library-exposed API)... Francesco |
From: Christian B. <ex...@gm...> - 2007-09-18 07:50:12
|
I tried to build "webupdater - Win32 Static Unicode Debug Monolithic". In src\webupdate.cpp line 40 is #include <wx/httpbuilder.h> But I found it nowhere. I am using wx from SVN and wx2.8.5. And what is wxUSE_HTTPENGINE and do we need it for webupdater? |
From: Francesco M. <f18...@ya...> - 2007-09-19 17:48:30
|
Christian Buhtz ha scritto: > I tried to build "webupdater - Win32 Static Unicode Debug Monolithic". > > In src\webupdate.cpp line 40 is > #include <wx/httpbuilder.h> > > But I found it nowhere. I am using wx from SVN and wx2.8.5. > > And what is wxUSE_HTTPENGINE and do we need it for webupdater? wxUSE_HTTPENGINE is defined in some header file (I don't remember which now) and tells webupdate to use or not to use HttpEngine wxCode component by Angelo Mandato for handling proxy connections. You can safely put wxUSE_HTTPENGINE to zero. Francesco |
From: Christian B. <ex...@gm...> - 2007-09-19 21:35:09
|
Francesco Montorsi schrieb: > You can safely put wxUSE_HTTPENGINE to zero. Is there somewhere a config-file (something like setup.h) for that? |
From: Christian B. <ex...@gm...> - 2007-09-17 16:00:29
|
William H. Schultz schrieb: > is there a library call that I can make that will > tell me whether there's an update available, so that I can auto-launch > the wxWebUpdate program? I would like users to be notified when updates > are available. I need this, too. Do you want to work on WebUpdate as Francesco described? |