Commit graph

117 commits

Author SHA1 Message Date
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
Kang Yu
8dfa19ac12 add command option alias -fix_offscreen=0 for -offscreen_fix=0 2021-04-12 08:31:52 -07:00
Kang Yu
f69777dc95 reorder command options 2021-03-21 14:30:48 -07:00
Kang Yu
65f1eb484d New feature #97: add command option -auto_upgrade=1 2021-03-21 14:06:37 -07:00
Kang Yu
0af163acb9 New Feature #97 : in-place upgrade 2021-03-21 13:57:53 -07:00
Kang Yu
131756dea0 keep obsolete command option -delay_start for backward compatibility 2021-03-20 19:31:04 -07:00
Kang Yu
5fa987a9bf for issue #98: add command option -halt_restore <seconds> 2021-03-19 22:37:07 -07:00
Kang Yu
d2e158531b no hide icon during restore 2021-03-07 18:31:43 -08:00
Kang Yu
feef3ce808 Add enhancement request from #75, use -auto_restore_missing_windows=3 to restore from db at startup 2021-03-07 12:21:16 -08:00
Kang Yu
1ffff9ad73 avoid stuck at busy caused by overdue restore timer 2021-02-27 19:33:53 -08:00
herekittycomekitty
80cfe4637e Added auto_restore_missing_windows command line argument
- added auto_restore_missing_windows as command line argument option
- if the option is set yes_to_all will always be true and therefore no more dialogs prompting the user will show
- added the command line argument option to Help.md
2021-02-17 16:33:39 -08:00
Kang Yu
30bd60f5b3 force idle icon visible at end of restore to avoid icon missing or stuck at busy 2021-02-11 22:32:33 -08:00
Kang Yu
27bd1b107f fix issue #73, ask user before restore new window from disk 2021-02-08 13:53:58 -08:00
Kang Yu
529e027c0e add LogError() function 2021-01-24 21:58:00 -08:00
Kang Yu
f421c0bb38 change icon of snapshot naming dialog 2021-01-12 10:42:35 -08:00
Kang Yu
85a63e866a update hint for restore snapshot 2021-01-11 18:58:01 -08:00
Kang Yu
db3bf04ccc disable balloon tip prompt when capture snapshot using menu 2021-01-10 22:42:59 -08:00
Kang Yu
66fa730e1e add capture/restore menu for snapshot, as requested in issue #73 2021-01-10 22:09:27 -08:00
Kang Yu
33bf690c91 cleanup debug code 2021-01-09 20:50:42 -08:00
Kang Yu
e2dffe5941 ulong 64 bit for snapshot flags 2021-01-08 19:50:04 -08:00
Kang Yu
d7a7c855b5 increase snapshot number to 36 (0-9, a-z), and use one letter to specify snapshot instead of counting mouse clicks 2021-01-08 19:41:10 -08:00