Commit Graph

62 Commits

Author SHA1 Message Date
d5dcb9ad42 Refactored update checks into a separate thread, for better code reusability. 2013-11-17 21:53:28 +01:00
6a862013eb Added lamexp_init_process() function, which can be used to setup a QProcess object. 2013-10-29 02:05:43 +01:00
7b016d5fec Updated license info. 2013-10-23 22:25:04 +02:00
f47e9c950d Better method to check the network status. 2013-10-19 16:00:13 +02:00
8a64624ba4 Use the THROW macro instead of plain "throw" in the complete project. 2013-10-18 21:37:40 +02:00
3e51bbabf1 Added one more mirror to the list. 2013-10-07 00:10:05 +02:00
24217c3b71 More code refactoring: Moved most of the Win32 API dependencies into wrapper functions in Global.cpp, which greatly reduces platform-specific includes. 2013-10-07 00:01:15 +02:00
7602317652 Some code-clean up. Removed "Windows.h" include from "Global.h", because most source files won't need the Win32 API stuff. Also got rid of some Windows 2000 compatibility cruft. 2013-10-06 19:28:12 +02:00
d21ec67da6 Updated list of known hosts. 2013-07-13 00:11:43 +02:00
ead3b0456b Updated mirror list. 2013-06-14 20:32:24 +02:00
da3c312aed Added another update mirror. 2013-05-02 23:01:00 +02:00
e44bf3b087 Fixed one URL. 2013-04-28 21:44:36 +02:00
57d385aed5 Updated mirror list. 2013-03-17 03:10:26 +01:00
bd0a370aee Welcome to year 2013 ;-) 2013-02-08 23:57:50 +01:00
cb042bbf3c Added new function to detect the current date. Slightly more robust against manipulations. 2013-01-12 01:53:43 +01:00
30f36b8fee Switched the method of how the Designer UI file is used in the UpdateDialog class to "The Single Inheritance Approach" (with "Using a Pointer Member Variable"). This is the method which Qt recommends for large projects. 2012-12-09 22:39:17 +01:00
d7fc31f4b9 Updated list of update mirrors. 2012-10-31 22:54:35 +01:00
2e4cb2125e Updated list of update mirrors. 2012-10-28 15:08:59 +01:00
50e9d01cfb Now using rand_s() to generate random numbers, which doesn't need a seed. Falling back to qsrand() + qrand() on platforms that don't support rand_s(). 2012-10-13 12:36:41 +02:00
0fac4fbb8f Slightly improved seeding of the PRNG (again). 2012-10-09 17:43:17 +02:00
72aea452d9 Added one more update mirror + slightly improved seeding of the PRNG. 2012-10-09 01:58:36 +02:00
d42c8ceaa0 Added one more mirror. 2012-05-29 19:53:53 +02:00
48a23c27d7 Added a new configuration for initial Qt 5.0 support. Needed a few code-changes and workarounds. Highly experimental! 2012-04-11 00:44:40 +02:00
7d95f114a2 Try to keep the window of the Web Updater tool focused. 2012-01-24 02:46:29 +01:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
1f001a65e2 Better handling of system shutdown. Now using the Qt event system to broadcast a special event when the system is going to shutdown (i.e. WM_QUERYENDSESSION or WM_ENDSESSION). This gives each top-level widget the chance to react to the system shutdown *before* we return from the message handler. Doing any clean-up after returning from the message handler is impossible, because Windows will kill the process immediately after WM_ENDSESSION has been processed. Note that Windows XP (and earlier) will NOT send WM_QUERYENDSESSION or WM_ENDSESSION to processes that have a console attached! Therefore, if we have a debug console attached, we cannot do anything on these systems. Our process will be killed without any notification...
Also improved LameXP's IPC mechanism: There now are several slots for IPC-commands in the shared memory area ("queue support"). This way, the sender can post several commands in sequence without getting blocked. The receiver can process those at a later time.
2011-12-29 14:42:20 +01:00
db587fe228 Prevent some more dialogs from blocking a quick system shutdown. 2011-12-27 13:51:01 +01:00
3e2e6f66e6 Small fix of previous commit. 2011-12-03 16:10:33 +01:00
1585e6e467 Slightly tweaked how the progress bar is updated. 2011-12-02 22:40:12 +01:00
98fbf7bf3b Account for the fact that some web-sites send "HTTP 200 OK" successfully, but then time-out on the way to send their payload. In this case we will now give 1/2 connection point. 2011-12-02 20:05:23 +01:00
a6c55c69c2 Added some info on how the Auto Update systems works to the FAQ document. Also added a "dummy" Manual file. 2011-12-02 01:14:32 +01:00
e4d414b822 Added more "known hosts" to the list: We now use a list of 64 domains, taken (mostly) from the Alexa 'top 500 sites on the web' list, to test the Internet connectivity. Also added a self-test function to check all hosts (press CTRL+F12 in the update dialog). 2011-12-01 22:16:06 +01:00
be410216a9 Reworked SplashScreen fade-in and fade-out code a bit. 2011-11-11 18:08:22 +01:00
5a32fc3b82 Implemented a more correct way to initialize the ITaskbarList3 interface. We now actually wait for the "TaskbarButtonCreated" message. 2011-11-07 17:13:41 +01:00
ad94a4726b Updated installer to get rid of "parameters.nsh", now using StdUtils plug-in to get the parameters. 2011-10-08 18:20:20 +02:00
3a7129cbf4 Check InternetGetConnectedState() in an asynchronous way + update list of mirrors. 2011-07-10 21:46:43 +02:00
738d8ee21e Auto-Update improvements: Now we query InternetGetConnectedState() before testing the Internet connection. This avoids a lengthy connection test on computers that are offline anyway. Moreover the connection test will now prevent HTTP redirection. This is required, because some ISP's redirect to a "search page" if the DNS lookup fails - rather than triggering a connection error (which is what they are supposed to do!). Also added a few more hosts to the list of known hosts. 2011-05-09 22:22:15 +02:00
e01f6853e3 Added more options for Aften to the "Advanced Options" tab. 2011-05-07 00:50:18 +02:00
5ce0c7b82e Added an option to check for "Beta" (pre-release) updates in "Final" releases. Disabled by default, not available in "Beta" versions (Beta versions always check for Beta updates). 2011-05-03 14:28:06 +02:00
e59cfba291 Make three strings translatable that I missed before. Sorry ;-) 2011-05-01 01:46:57 +02:00
8977e0073f Clean up #include directives: Don't include 'Windows.h' directly, as it's included from 'Global.h' header file. 2011-04-11 21:55:34 +02:00
138838928d New icon for network connection error. 2011-03-28 04:23:57 +02:00
36de8e5d95 Make auto updater check for expired version information. 2011-03-25 15:18:13 +01:00
df8258cddf Added busy animation to "Update" dialog + added timeout for Wget process. 2011-03-24 15:37:49 +01:00
5eec1b5931 New icons for the "Update" dialog. 2011-03-24 01:01:14 +01:00
f829d69636 Added an option to select a user-defined TEMP directory. 2011-02-25 22:03:39 +01:00
efbb182372 Added support for Windows 7 Taskbar Progress to "Update" dialog. 2011-02-25 13:40:45 +01:00
5902f1822d Fixed a bug that could lead to an infinite loop when trying to install an update from auto-update and the WMA decoder component was not installed yet. 2011-02-18 00:53:36 +01:00
1a027fb1e7 Only check for "beta" updates when using a pre-release build. 2011-02-12 22:17:42 +01:00
8330043f76 Added one mirror. 2011-02-02 21:40:18 +01:00