Commit graph

385 commits

Author SHA1 Message Date
Kang Yu
23fd772152 synchronize undoCapture() and WriteDataDump() 2024-10-18 16:27:47 -07:00
Kang Yu
b02d160872 remove invalid capture from history dump 2024-10-17 13:15:11 -07:00
Kang Yu
b758dfed2d attempt to fix exception using lock 2024-10-16 20:47:20 -07:00
Kang Yu
5d15d4c042 undo early raising process priority due to restore failure 2024-10-15 12:12:11 -07:00
Kang Yu
580a0864e2 auto dump xml when changing from normal display session 2024-10-12 19:26:45 -07:00
Kang Yu
748d86ddc8 fix read/write conflict due to shallow copy 2024-10-12 17:06:30 -07:00
Kang Yu
a98717ab4e dump history xml when display changing 2024-10-12 15:04:15 -07:00
Kang Yu
d39563b9b5 #356, restrict window match for unique title 2024-10-10 15:11:40 -07:00
Kang Yu
df594f6045 #356, matching window title has higher priority than matching window position when inherit from killed window 2024-10-10 12:28:03 -07:00
Kang Yu
c8575c1b03 reduce size of history xml 2024-10-08 22:46:38 -07:00
Kang Yu
cc2fa3311c avoid auto capture in fullscreen gaming 2024-10-08 16:52:10 -07:00
Kang Yu
ea1b7baea6 avoid capture fullscreen gaming session 2024-10-08 15:59:30 -07:00
Kang Yu
346e5fdb36 deactivate session when fullscreen gaming 2024-10-08 15:26:15 -07:00
Kang Yu
bff39c71dc deep copy to avoid unintended data contamination 2024-10-07 11:25:56 -07:00
Kang Yu
f23646e480 attempt to fix unknown exception 2024-10-03 11:45:48 -07:00
Kang Yu
31e0ebc85e #357, invalid IntPtr blocks taskbar restore 2024-10-03 11:14:36 -07:00
Kang Yu
860034633a #357, allow taskbar restore during full-screen game play when -fix_taskbar=1 2024-10-02 17:01:56 -07:00
Kang Yu
61133e14b5 enable crash in debug mode 2024-09-30 14:18:26 -07:00
Kang Yu
6b2bbba706 #356, record change of window title 2024-09-30 12:26:19 -07:00
Kang Yu
2fd2ff129b avoid bogus taskbar restore when exit full-screen game 2024-09-24 10:04:11 -07:00
Kang Yu
cf5e26af87 resolve handle conflict for core window 2024-09-22 16:16:06 -07:00
Kang Yu
a541eb0a6c catch exception in resolving window handle collision 2024-09-21 23:46:37 -07:00
Kang Yu
c47246cc65 print process name to debug window handle conflict 2024-09-21 23:33:34 -07:00
Kang Yu
4fc6f7ad40 refix live/dead window handle conflict, assuming hwnd handle only uses 3 bytes 2024-09-21 23:27:44 -07:00
Kang Yu
bcd23a31f2 resolve window handle conflict btw live and dead record 2024-09-21 13:05:03 -07:00
Kang Yu
e04dc2ee07 speedup auto restore 2024-09-18 14:37:46 -07:00
Kang Yu
090fa0e3ad dump all window history including dead ones 2024-09-15 10:38:04 -07:00
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