Kang Yu
|
26e15d66ed
|
format code indent
|
2021-06-16 21:44:26 -07:00 |
|
Kang Yu
|
2ca96cc3be
|
improve accuracy of z-order restore
|
2021-06-15 13:36:47 -07:00 |
|
Kang Yu
|
158e16ae35
|
improve matching window to DB, no new process to create window of different class name and same process id, OK to start new process to recover window of same class name regardless process id is same or not
|
2021-06-14 11:22:06 -07:00 |
|
Kang Yu
|
2f7029c409
|
rename variable
|
2021-06-13 23:44:50 -07:00 |
|
Kang Yu
|
324781fbae
|
add final iteration to match window to DB disregarding visibility, as some special window like msi afterburner may change visibility
|
2021-06-13 23:18:37 -07:00 |
|
Kang Yu
|
8bb1c310ee
|
fix wrong match window to DB
|
2021-06-13 19:10:33 -07:00 |
|
Kang Yu
|
4459cf4d46
|
improve accuracy of matching window with DB using iterative method
|
2021-06-13 18:45:13 -07:00 |
|
Kang Yu
|
f53f2f36b7
|
replace isCHildWindow() with isTopLevelWindow(). More accurate DB match using window visibility
|
2021-06-13 14:02:04 -07:00 |
|
Kang Yu
|
7034d8e0f6
|
avoid capture invisiable window to DB
|
2021-06-11 00:18:32 -07:00 |
|
Kang Yu
|
b4e9961ba6
|
fix issue #119, relax restriction on broswer window restore from DB
|
2021-06-08 21:11:32 -07:00 |
|
Kang Yu
|
59ac553d3e
|
fix bug on window insider build 21390, unminitized window restored to wrong monitor
|
2021-06-06 22:57:29 -07:00 |
|
Kang Yu
|
fe2a51655c
|
fix message print in debug build
|
2021-06-01 16:27:45 -07:00 |
|
Kang Yu
|
774a7c097d
|
reject possible disqualified capture that is too close to display change time
|
2021-05-30 21:03:57 -07:00 |
|
Kang Yu
|
1282b2964d
|
fix code indent
|
2021-05-29 12:42:26 -07:00 |
|
Kang Yu
|
7fc310e640
|
simplify code
|
2021-05-29 12:41:33 -07:00 |
|
Kang Yu
|
1e37e78ebc
|
preserve pauseAutoRestore value
|
2021-05-29 11:53:40 -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
|
d1b20fbeb3
|
put more code under DEBUG version
|
2021-05-25 15:04:49 -07:00 |
|
Kang Yu
|
8c541be00f
|
speed up snapshot restore in remote desktop session
|
2021-05-25 12:41:57 -07:00 |
|
Kang Yu
|
053e8bbc8d
|
improve runtime by masking Log.Trace() call in release build
|
2021-05-25 12:20:58 -07:00 |
|
Kang Yu
|
1a94e70352
|
use lock against race condition
|
2021-05-24 21:02:30 -07:00 |
|
Kang Yu
|
538ee70e9f
|
refix remoteSession assignment
|
2021-05-24 20:02:17 -07:00 |
|
Kang Yu
|
e1c73c1e55
|
slow down restore a little bit during remote desktop session to guarantee accuracy
|
2021-05-24 18:03:07 -07:00 |
|
Kang Yu
|
1ed9ae971c
|
finish auto restore earlier without waiting for 2 seconds
|
2021-05-24 12:06:34 -07:00 |
|
Kang Yu
|
a605eb7927
|
speed up auto restore by wait half second for taskbar to settle
|
2021-05-24 11:54:27 -07:00 |
|
Kang Yu
|
2516875896
|
speed up restore z-order by skip checking process responsiveness
|
2021-05-24 11:35:04 -07:00 |
|
Kang Yu
|
9c75983ed0
|
simplify PromptSessionRestore()
|
2021-05-24 10:17:48 -07:00 |
|
Kang Yu
|
ed612215ae
|
disable -prompt_session_restore dialog when pause restore is on
|
2021-05-23 22:11:52 -07:00 |
|
Kang Yu
|
1de8ddaf46
|
hide cpu intensive code in debug mode
|
2021-05-23 21:13:47 -07:00 |
|
Kang Yu
|
5119a0312c
|
not using thread to prompt session restore
|
2021-05-23 21:09:35 -07:00 |
|
Kang Yu
|
dc79fe381f
|
allow -prompt_session_restore to work without login session
|
2021-05-23 21:02:53 -07:00 |
|
Kang Yu
|
cb9ecefe57
|
code cleanup
|
2021-05-23 16:53:07 -07:00 |
|
Kang Yu
|
a25ae86025
|
speed up restore by hiding high cpu consumption code uder compiler directive PDEBUG
|
2021-05-23 15:49:10 -07:00 |
|
Kang Yu
|
f8d9da4c35
|
further reduce latency between restore passes
|
2021-05-17 15:25:39 -07:00 |
|
Kang Yu
|
6a95caabec
|
remove lock
|
2021-05-17 15:04:25 -07:00 |
|
Kang Yu
|
ba07a8a8db
|
remove lock
|
2021-05-17 15:03:01 -07:00 |
|
Kang Yu
|
c4fd5ede75
|
skip 0.5s delay to start restore immediately when display config changes
|
2021-05-17 15:01:37 -07:00 |
|
Kang Yu
|
58a2e71c62
|
stop use thread to improve restore speed
|
2021-05-17 14:11:53 -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
|
46bdf384f0
|
cleanup code, update comment
|
2021-05-14 21:30:31 -07:00 |
|
Kang Yu
|
be8c495255
|
fix extra double quote character in process path when restore from db
|
2021-05-14 13:28:25 -07:00 |
|
Kang Yu
|
2ba02397af
|
fix issue picking up wrong db file inroduced in commit -4
|
2021-05-09 15:45:41 -07:00 |
|
Kang Yu
|
c86d8f8007
|
fix incorrect path of git-bash when restore from disk
|
2021-05-09 15:09:48 -07:00 |
|
Kang Yu
|
0370430e8f
|
remove outdated db version might be too aggressive
|
2021-05-09 13:36:08 -07: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
|
6b9a02928c
|
resotre db: avoid restore invisible window (need to save to new db
version)
avoid launching process multiple times
|
2021-05-09 11:54:06 -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
|
6dc1c6b553
|
improve runtime of zorder fix
|
2021-04-27 23:35:14 -07:00 |
|
Kang Yu
|
ed00f437c9
|
more convergent zorder restore, prefer not to overdone
|
2021-04-26 10:50:46 -07:00 |
|