Commit Graph

7 Commits

Author SHA1 Message Date
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
f8f5707529 Added two new command-line switches: "--add-folder <path>" to add a single folder and "--add-recursive <path>" to add a folder recursively. 2011-06-11 17:18:30 +02:00
96db5e86c2 Happy new year! 2011-01-01 17:04:25 +01:00
a7a637c412 Move IPC sender to separate thread + implement kill IPC command + improve deployment script 2010-11-09 22:06:11 +01:00
9ce7dfc75f Actually implemented adding files from another instance. 2010-11-08 21:47:35 +01:00
8e013b6aff Implemented IPC based on shared memory and semaphores 2010-11-08 19:29:36 +01:00