c435e4e1c1
Moved translation support into MUtilities library + make clean-up of temporary files work again + various minor fixes.
2014-12-20 23:44:43 +01:00
537ade07f6
More code refactoring and clean-up.
2014-12-19 23:49:11 +01:00
cc45c1a904
Moved Taskbar progress into MUtilities library.
2014-12-18 22:49:37 +01:00
3a582a028c
Moved JobObject as well as the remaining GUI functions into the MUtilities library.
2014-12-08 22:06:01 +01:00
8211b417d6
Moved all the Sound-specific functions into MUtilities library.
2014-12-05 21:08:26 +01:00
06db588742
Moved some more OS-specific functions into the MUtilities library.
2014-12-04 00:02:42 +01:00
dc98131fd1
Moved various auxiliary macros into the MUtils library.
2014-11-30 21:32:23 +01:00
29d8b98a3f
Moved all terminal support functions into MUtilities library.
2014-11-25 22:34:20 +01:00
035699c84e
Moved various functions into MUtils library and removed obsolete code from LameXP.
2014-11-25 02:14:42 +01:00
004a201b19
Now using UpdateChecker and KeccakHash from the MUtils library. Removed obsolete files.
2014-11-24 19:33:12 +01:00
5d8816961f
Added MUtils library to the solution + some adjustments of the project file.
2014-11-24 18:28:53 +01:00
cc38035087
Happy new year 2014!
2014-01-01 17:05:52 +01:00
0b1644e287
Make sure the user has "admin" privileges before checking for updates, because it's kind of pointless to download the update if you won't be able install it anyway. This is especially important for Windows XP, where we don't have UAC. Note that UAC implies "admin" privileges, because the installer process will be elevated as needed - even if the current user is *not* an administrator.
2013-12-16 18:07:45 +01:00
b05a7ac3ef
Moved all sound effects into Qt-style resources. Sound files can be played back directly from program memory by passing a pointer to the WAVE data into PlaySound as the first argument (and using the SND_MEMORY flag), it's just not documented very well.
2013-12-03 22:19:11 +01:00
4eef80fdc3
Some updates to the updater thread.
2013-11-29 01:18:36 +01:00
f3ae451b32
Make sure the TEMP path is *not* replaced when running the web-update tool, as this will prevent the updater from working correctly.
2013-11-25 02:20:44 +01:00
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