Commit graph

137 commits

Author SHA1 Message Date
Kang Yu
9717dae16b remove Ninjacrab from name space 2023-03-03 11:59:41 -08:00
Kang Yu
b908e0d7dd accepting floating-point number for -halt_restore argument as well 2022-12-10 13:59:49 -08:00
Kang Yu
54cbdfdc6b allow float type delay parameter to improve precision 2022-11-23 13:20:58 -08:00
Kang Yu
050d700f38 fix #184, add -enable_auto_restore_by_manual_capture command option to disable PW from auto restore for certain display config 2022-10-19 15:41:54 -07:00
Kang Yu
c8a2b40bf5 add -debug_process "process_name" command option to help debugging 2022-10-19 14:34:06 -07:00
Kang Yu
b450446e2f fix issue #184: add -delay_auto_restore <seconds> command option to avoid interference with OS initiated moves 2022-10-06 16:52:32 -07:00
Kang Yu
d2e8ebc01f revert obsolete hack to refresh curDisplayKey 2022-10-05 23:14:17 -07:00
Kang Yu
1fe4184d04 fix null obj exception. fix malfunction of delayed capture to disk 2022-10-05 17:28:00 -07:00
Kang Yu
f9d09384c8 fix delayed capture to hdd 2022-10-05 16:16:57 -07:00
Kang Yu
ba73df5749 add -debug_process <process_id> command option to reduce amount of debug print. 2022-10-05 15:39:52 -07:00
Kang Yu
fe52f26f49 fix issue #184: introduce new command option -delay_auto_capture <seconds> to avoid early capture of remote desktop session minimization event 2022-10-03 13:09:34 -07:00
Kang Yu
d55bce33cd rename -delay_capture to -delay_manual_capture 2022-10-03 11:08:21 -07:00
Kang Yu
46d3c2c242 fix issue #184: allow delayed capture when shift key is pressed, default delay value is 5 seconds, can be customized with -delay_capture command 2022-09-29 12:55:16 -07:00
Kang Yu
b9db930095 fix app crash in debug build 2022-09-25 12:57:04 -07:00
Kang Yu
f88d252238 fix issue #181 : init event log object to avoid invalid handle 2022-09-25 10:13:45 -07:00
Kang Yu
2d6b684d6e undo debug build hack 2022-08-17 15:28:53 -07:00
Kang Yu
13ee0c6fa6 let debug version behave the same as release version 2022-08-15 23:58:52 -07:00
Kang Yu
622c398873 change icon text to the title of current window during restore to pinpoint which window is not responding and cause PW hang 2022-08-02 11:46:50 -07:00
Kang Yu
e20f417d12 speculative fix for null reference exception on curDisplayKey during restore snapshot 2022-06-30 22:38:18 -07:00
Kang Yu
d9ef2b0c5d simplify BeginInvoke() calling code 2022-06-27 22:23:25 -07:00
Kang Yu
8be498e343 fix crash due to cross thread operation on menu control 2022-06-27 13:41:06 -07:00
Kang Yu
096410f3d4 experiment to fix asynchronous GUI operation using BeginInvoke() 2022-06-26 18:13:29 -07:00
Kang Yu
d3d50a8c24 experiment to use BeginInvoke() to solve potential synchronization issue 2022-06-26 17:28:17 -07:00
Kang Yu
54f616f40c experiment to use BeginInvoke() to solve potential synchronization issue 2022-06-26 17:24:27 -07:00
Kang Yu
6ba9d6f75d speculative fix for null reference crash 2022-06-26 15:37:14 -07:00
Kang Yu
f250ca415d add command option -slow_restore to workaround #163/#161 2022-06-24 22:25:38 -07:00
Kang Yu
b1e549bca9 safely check upgrade in gui thread only 2022-06-13 14:38:50 -07:00
Kang Yu
6c0c884b5c simplify variable name 2022-04-16 16:40:19 -07:00
Kang Yu
4d0352e582 resolve issue #154 : add option -nogui to hide icon from taskbar notification area 2022-04-16 15:08:32 -07:00
Kang Yu
291faff24a add link to all contributors in splash window 2022-03-04 13:42:02 -08:00
Kang Yu
601b74a987 show dialog before collecting process info to handle ctrl key in realtime 2021-12-26 00:58:14 -08:00
Kang Yu
7a3bc8361b simplify cross-project interface 2021-12-25 22:10:28 -08:00
Kang Yu
75b5b0f708 hold control key to initiate named cature/restore to/from DB 2021-12-25 21:43:58 -08:00
Kang Yu
c05c10ff25 suppress event logging using -silent switch 2021-12-22 13:59:29 -08:00
Kang Yu
3b95a752d9 snapshot capture may return false (rejected) 2021-10-08 18:59:50 -07:00
Kang Yu
190817cae9 gray out restore snapshot menu if no snapshot is captured 2021-10-08 18:44:21 -07:00
Kang Yu
dfb5f87067 gray out restore snapshot menu until a snapshot is captured 2021-10-08 18:35:13 -07:00
Kang Yu
f037084b2f rename command switch to -invoke_multi_window_process_only_once 2021-09-01 16:00:48 -07:00
Kang Yu
430d529682 simplify restore from db, change default to launch process only once per db window group of same process id 2021-08-29 22:52:27 -07:00
Kang Yu
bdba2f4261 fix issue #123, add command option -ignore_process to avoid restore specified window process 2021-08-22 23:02:03 -07:00
Kang Yu
c883bda3e7 add experiment option -show_desktop_when_display_changes 2021-05-29 11:50:12 -07:00
Kang Yu
e5d3ed7a5e Revert "add experiment command option -sticky_display_config=1 to pre-restore when monitor goes to sleep to speed up final restore."
This reverts commit f180256f9e.
2021-05-28 19:08:26 -07:00
Kang Yu
c1e49e93e2 no need to use Thread 2021-05-25 15:15:46 -07:00
Kang Yu
bc26c59dad simplify menu enable logic without using timer 2021-05-17 15:41:45 -07:00
Kang Yu
f180256f9e add experiment command option -sticky_display_config=1 to pre-restore when monitor goes to sleep to speed up final restore. 2021-05-15 17:19:17 -07:00
Kang Yu
00a5f8d3a1 fix bug in argument processing 2021-05-10 17:55:54 -07:00
Neon
8983764909
Fix -delay_start parameter
Fixed two flaws that got introduced with 131756d (after the `-delay_start` parameter got removed in 5fa987a):
* `-delay_start` was reintroduced with ms instead of seconds
* if it wasn't passed as the last parameter, the application would crash or start more delayed than intended because every following argument would be parsed as another delay
2021-05-11 02:27:25 +02:00
Kang Yu
432eb9871b restore from db: add command option -restore_one_window_per_process=1 2021-05-09 13:23:57 -07:00
Kang Yu
e6c39375d2 fix issue #109, restore zorder fast and reliably using the best sequence found so far 2021-05-07 22:58:57 -07:00
Kang Yu
fd20331cac fix issue #102: add option -fix_unminimized_window=0 2021-04-12 09:58:47 -07:00