Commit graph

258 commits

Author SHA1 Message Date
Kang Yu
2763659b4c dump dead window history together with live windows 2024-09-14 21:52:07 -07:00
Kang Yu
f6007a4b62 minor code simplify 2024-09-12 18:05:24 -07:00
Kang Yu
d22a183554 remove history of oldest window first 2024-09-11 22:18:01 -07:00
Kang Yu
2b73c3c2bc #352, add command option -capture_floating_window 2024-09-09 17:00:48 -07:00
Kang Yu
800b6afa15 refine inherit log message 2024-08-28 14:20:18 -07:00
Kang Yu
1ef5e99d40 catch exception when dump position history xml 2024-08-27 19:32:13 -07:00
Kang Yu
7fd80af8bf dump window position for every auto restore 2024-08-27 18:55:22 -07:00
Kang Yu
e8322d5a8a persist snapshot captures on disk 2024-08-27 17:31:03 -07:00
Kang Yu
ef02d287d5 unify data structures so that dumped window_pos.xml can be used as deadApps 2024-08-27 17:06:43 -07:00
Kang Yu
a1a3574f73 persist snapshot taken time on hdd in real time 2024-08-27 15:02:53 -07:00
Kang Yu
1e580843ff fix exception when capture new windows 2024-08-18 15:23:09 -07:00
Kang Yu
4cece1ab9c launch webpage commander notification page from current browser window 2024-08-17 13:52:18 -07:00
Kang Yu
2a7a108748 #347, avoid invoke webpage commander window when pressing hotkey on taskbar 2024-08-14 17:49:48 -07:00
Kang Yu
8b12f6e4a8 rewind auto capture which happened right before session lock 2024-08-12 10:43:23 -07:00
Kang Yu
eade031052 refactor UndoCapture(DateTime) 2024-08-12 10:38:34 -07:00
Kang Yu
b13bcf0b58 fix too many attempts to restore taskbar size for rdp session 2024-08-11 21:02:31 -07:00
Kang Yu
2d14ef2cb9 fix exception caused by data race 2024-08-11 16:32:22 -07:00
Kang Yu
bed63a11f4 avoid webpage activation disturb auto restore 2024-08-09 21:02:40 -07:00
Kang Yu
e7b52a035c do not capture webpage commander, also ignore its presence in z-order 2024-08-09 16:00:51 -07:00
Kang Yu
4136e5d2a1 refix #318, #346, create AppData/Local/PersistentWindows directory during startup 2024-08-08 12:00:57 -07:00
Kang Yu
e99518f23b catch occasional container iteration exception when starting full-screen game 2024-08-07 22:31:55 -07:00
Kang Yu
2b36e580b9 do not restore from db if previous restore point exist when launch pw 2024-07-26 23:01:56 -07:00
Kang Yu
185b34268c catch exception in WinEventProc() 2024-07-26 21:58:48 -07:00
Kang Yu
a723695ff4 consolidate lastCaptureTime into snapshotTakenTime for complete history dump 2024-07-19 22:30:08 -07:00
Kang Yu
c6877b688f #341, restore Computer folder for Win7 2024-07-15 20:53:37 -07:00
Kang Yu
d1cf04ec3d #341, restore This PC folder in explorer 2024-07-15 17:58:15 -07:00
Kang Yu
63334fa67c add command -dump_window_pos_at_exit=0 2024-07-13 15:30:27 -07:00
Kang Yu
5fc803757a dump window pos to xml file before exit, reload window pos from xml when PW start 2024-07-13 15:22:10 -07:00
Kang Yu
958624db0a minor code refactoring 2024-07-11 11:55:45 -07:00
Kang Yu
dfe5dbd16c inherit killed window: improved matching for windows core app 2024-07-10 12:27:29 -07:00
Kang Yu
8d68937a96 fix typo 2024-07-09 09:51:51 -07:00
Kang Yu
88e5a24441 inherit killed window pos: apply first-in-first-match policy 2024-07-09 09:46:58 -07:00
Kang Yu
a5221064eb inherit killed window: update zorder information in deadApps as well 2024-07-08 17:39:24 -07:00
Kang Yu
74da136678 increase storage capacity of kill window to 1024 2024-07-08 16:49:19 -07:00
Kang Yu
9c7c17a5b7 simplify coding, more window title cleanup 2024-07-08 16:40:33 -07:00
Kang Yu
e166a3f89d inherit killed window pos: add default option when no exact match found 2024-07-07 22:49:07 -07:00
Kang Yu
2a95cebe6a coding style: change Int64 to long 2024-07-07 22:39:07 -07:00
Kang Yu
630c16ac57 #335, fix random failure to display context menu 2024-06-30 17:45:39 -07:00
Kang Yu
fefee72b8f #330, treat unminimized window as foreground 2024-06-22 20:23:46 -07:00
Kang Yu
14122b8e0f solve mystery failure to popout menu 2024-06-22 16:21:05 -07:00
Kang Yu
25f6558ca2 fix crash due to null timer obj when start 2024-06-22 15:48:10 -07:00
Kang Yu
98dc78705c attempt to resolve crash when exit 2024-06-22 15:39:05 -07:00
Kang Yu
fd50453c21 inherit killed window position history: update process id and zorder window 2024-06-21 23:27:53 -07:00
Kang Yu
c1d1fe0c86 improve robustness of auto inheritance of position history from killed window 2024-06-18 12:32:01 -07:00
Kang Yu
2d199dc211 auto inheritance : avoid trigger immediate capture due to window activation right after kill 2024-06-17 23:49:21 -07:00
Kang Yu
192ba7eefa conservatively count killed window for auto inheritance 2024-06-17 21:06:54 -07:00
Kang Yu
af3161a760 print log for auto inheritance of killed window position 2024-06-16 23:03:26 -07:00
Kang Yu
42a6165603 feature-enhancment from #321, automatically inherit data from killed window 2024-06-16 18:03:02 -07:00
Kang Yu
e5f7371829 webpage commander: regain focus when reactivated 2024-06-16 10:52:13 -07:00
Kang Yu
b1e586b4ab rename variable handle to commanderWnd 2024-05-29 11:03:09 -07:00