Commit Graph

17 Commits

Author SHA1 Message Date
eb8da7b6f9 Happy new year 2016! 2016-01-03 15:53:42 +01:00
f1f5a1eacb Updated IPC handler threads for latest MUtilities changes. 2015-02-01 15:11:07 +01:00
1ea15b179c Happy new year 2015 !!! 2015-01-01 18:06:21 +01:00
d3917b5233 Refactored the Main() function into several sub-functions + some improvements of the IPC code. 2014-12-14 19:33:28 +01:00
53b12027e6 Moved all IPC functions into the MUtilities libraries. 2014-12-13 23:27:47 +01:00
cc38035087 Happy new year 2014! 2014-01-01 17:05:52 +01:00
7b016d5fec Updated license info. 2013-10-23 22:25:04 +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
bd0a370aee Welcome to year 2013 ;-) 2013-02-08 23:57:50 +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
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