Commit graph

  • ae8da16834 #403, fix crash due to empty history record master Kang Yu 2025-05-08 13:43:36 -07:00
  • 6745982d60 simplify help on DPS, remove Shift + click desktop window Kang Yu 2025-05-05 18:12:11 -07:00
  • cd29b29282 simplify DPS code Kang Yu 2025-05-05 18:09:34 -07:00
  • 3a473bdc10 [dual pos switch] use first diff pos as background match Kang Yu 2025-05-05 17:49:23 -07:00
  • 3d2ed7395c tag 5.65 5.65 Kang Yu 2025-05-03 23:26:00 -07:00
  • 3884c4446f no fast capture if window is marked no restore Kang Yu 2025-05-03 23:23:51 -07:00
  • 11d0c30ddb disable double restore full screen window due to invisible window issue Kang Yu 2025-05-03 23:12:28 -07:00
  • f7eb0abe43 speedup inheritance in case window create event is delayed Kang Yu 2025-05-03 22:24:20 -07:00
  • cad1ec393f restore process priority 10 seconds after startup Kang Yu 2025-05-03 17:24:44 -07:00
  • 4df563f1bb speedup PW startup restore by setting set process priority to high during the first 10 seconds of PW starting Kang Yu 2025-05-03 16:33:47 -07:00
  • e8f06c1368 no need to write xml when restore finished, as it is done in session end Kang Yu 2025-05-03 16:15:24 -07:00
  • 2c06fe1684 #388, fix mismatch killed window for jEdit Kang Yu 2025-05-01 23:43:38 -07:00
  • 9e85ee5810 #369, fix crash on windows 11 when launching webpage 5.64 Kang Yu 2025-05-01 17:10:45 -07:00
  • 4998a104ea tag 5.64 Kang Yu 2025-05-01 15:46:41 -07:00
  • 1fd82f35c8 avoid trigger batch restore in restore single window mode Kang Yu 2025-05-01 15:42:07 -07:00
  • e7b141e095 further speedup auto-restore-new-window Kang Yu 2025-05-01 15:01:17 -07:00
  • 304c654e80 inherit window in stack order (last kill, first inherit) Kang Yu 2025-05-01 14:55:44 -07:00
  • 9661f8bd79 undo wild match for non-resizable window Kang Yu 2025-05-01 11:30:27 -07:00
  • 5d26d86e28 speedup auto-restore-new-window, reduce killed window entry by wild matching non-resizable window which will not be restored Kang Yu 2025-05-01 11:16:42 -07:00
  • f05d569387 #400, fix wrong mismatch of dialog of different style Kang Yu 2025-05-01 09:57:36 -07:00
  • f66dc3afd8 match new window with killed one in LIFO style Kang Yu 2025-04-30 19:47:32 -07:00
  • 5f666b20d1 avoid wrong matching Kang Yu 2025-04-28 16:36:47 -07:00
  • 2d695d11bf tag 5.63, update help for command line option change 5.63 Kang Yu 2025-04-28 14:53:26 -07:00
  • 8da7d9b4bc turn on -auto_restore_new_window_to_last_capture again Kang Yu 2025-04-28 14:24:18 -07:00
  • f7a1f92343 fix wrong tick value for 5 min Kang Yu 2025-04-28 14:16:45 -07:00
  • 8771c2edd7 disable auto restore from db/xml at pw start if system is up more than 5 min Kang Yu 2025-04-28 14:14:31 -07:00
  • f34fffa574 disable auto restore from db if system is up more than 5 min Kang Yu 2025-04-28 14:10:41 -07:00
  • cce0f7f52d refix #369, #388, #392: improve algorithm matching new window to killed one. Add command option -pos_match_threshold, using 40 as default value Kang Yu 2025-04-28 13:50:30 -07:00
  • 8c5d6475ad fix broken -auto_restore_new_window_to_last_capture Kang Yu 2025-04-28 10:58:58 -07:00
  • 052cb05f53 refix delay activating webpage commander window when curosr is beam (user might be typing) Kang Yu 2025-04-27 22:51:01 -07:00
  • 40f8f5cefd delay activating webpage commander window when cursor is beam (user might be typing) Kang Yu 2025-04-27 22:11:42 -07:00
  • 7dc0cbee82 relax title match when inherit killed window Kang Yu 2025-04-27 21:18:07 -07:00
  • 1a5d9442d2 relax class name and position match when inherit killed window Kang Yu 2025-04-27 21:14:09 -07:00
  • d36bf0c56c reduce cpu load on non-window object Kang Yu 2025-04-27 14:56:03 -07:00
  • 9224d62191 postpone capture to avoid wrong matching to killed window Kang Yu 2025-04-26 22:55:31 -07:00
  • e41caba220 improve debug message Kang Yu 2025-04-26 22:29:16 -07:00
  • 769f35b681 debug print inherited window handle Kang Yu 2025-04-26 18:37:18 -07:00
  • 2ba0a5395b move inherit killed window out of IsWindowMoved() to CaptureWindow() Kang Yu 2025-04-26 15:25:31 -07:00
  • e4be317e77 improve accuracy of matching killed window based on position similarity Kang Yu 2025-04-25 23:39:44 -07:00
  • fb5f538b88 improve re-entrance protection using lock Kang Yu 2025-04-18 14:29:29 -07:00
  • 3b5813bb35 reduce event loggging of regular trimming of position history Kang Yu 2025-04-18 13:20:28 -07:00
  • de1b815d57 fix dead-loop in TrimQueue() Kang Yu 2025-04-14 21:20:21 -07:00
  • 62452f3e0b fix dead-loop in TrimQueue(), causing auto-restore to hang, possibly due to wrong inheritance Kang Yu 2025-04-14 16:23:33 -07:00
  • 0adf762fa0 fix wrong capture due to improper unfreeze Kang Yu 2025-03-24 10:35:28 -07:00
  • 05a740a21f unlock unknown display session when any window is moved/resized/minimize/unminimized Kang Yu 2025-03-19 15:35:44 -07:00
  • 4330c95216 refactor TryInheritWindow(), making it safe to be called for both new and captured window Kang Yu 2025-03-17 20:53:17 -07:00
  • 23b63d09ea tag 5.62, update help 5.62 Kang Yu 2025-03-17 16:40:29 -07:00
  • 6097ab4bc7 turn off auto restore existing window to last capture Kang Yu 2025-03-17 16:36:03 -07:00
  • aacaefc205 #369, #388, #392: turn off auto-restore new window off by default Kang Yu 2025-03-17 16:30:49 -07:00
  • 557a3bbddb #369, #388, #392: newly created window auto-restored to wrong place due to matching to incorrect entry with different window title Kang Yu 2025-03-17 14:29:11 -07:00
  • 189611ad3a improve event message for inherit window Kang Yu 2025-03-17 14:22:16 -07:00
  • 86926ffd27 #388, fix missing capture of maximized window Kang Yu 2025-03-16 15:36:56 -07:00
  • 10dd03498a #389, persist exception when running PW with -ignored_process Kang Yu 2025-03-08 16:44:18 -08:00
  • 3c585c1dab tag 5.61 5.61 Kang Yu 2025-03-08 15:54:57 -08:00
  • 172cbdc35c undo speedup inheritance of killed window on 1/29 Kang Yu 2025-03-08 15:29:05 -08:00
  • 5fc59d5bc5 #368, #388: fix mismatching of new window due to improper timing Kang Yu 2025-03-08 14:16:05 -08:00
  • 8c710ab55c speculative fix for failure to restore, due to write xml dump in realtime event handler Kang Yu 2025-02-04 12:18:47 -08:00
  • 4f7479b0b7 fix compile warning Kang Yu 2025-02-04 11:50:13 -08:00
  • c15ab870ac fix crash calling GetWindowTextLength() Kang Yu 2025-02-04 11:01:30 -08:00
  • c719aee32f update help on -capture_floating_window 5.60 Kang Yu 2025-02-02 21:59:58 -08:00
  • 2cfa8ce92f update help on auto restore new/existing window to last capture Kang Yu 2025-02-02 21:45:46 -08:00
  • 83c228b6fe tag 5.60 Kang Yu 2025-02-02 20:55:56 -08:00
  • 5d6c71d03a update help on -restore_snapshot Kang Yu 2025-02-02 20:54:31 -08:00
  • c58027bb9c update help on new command option -restore_snapshot Kang Yu 2025-02-02 20:46:08 -08:00
  • 62a03e4ed3 fix typo Kang Yu 2025-02-02 20:40:50 -08:00
  • fe06972d58 rename -dump_window_pos_at_exit to -dum_window_position_history Kang Yu 2025-02-02 20:39:47 -08:00
  • b70db0aa53 reliably restore full-screen rdp window Kang Yu 2025-02-02 16:00:53 -08:00
  • 2bfd021698 do not auto-restore upon program start Kang Yu 2025-02-02 13:33:54 -08:00
  • 0e622b8021 #354, add command option -restore_snapshot "[0-9a-z]" Kang Yu 2025-02-02 11:58:06 -08:00
  • 5a794baf8b reliably detect full screen mode Kang Yu 2025-01-31 10:24:42 -08:00
  • a5dd48becf fix typo Kang Yu 2025-01-30 19:32:44 -08:00
  • 13cd0ab8d5 no auto inherit when restore from db Kang Yu 2025-01-30 19:29:10 -08:00
  • 52231e20ab fix missing opportunity to inherit window by adding create event processing Kang Yu 2025-01-30 19:04:03 -08:00
  • 362df4c720 send window without history to background when restore snapshot Kang Yu 2025-01-30 11:37:46 -08:00
  • 5925950f24 speedup inheritance of killed window Kang Yu 2025-01-29 23:51:20 -08:00
  • c292fdd1b1 fix missing z-order recovery when inherit killed window Kang Yu 2025-01-29 23:01:14 -08:00
  • ecd57678e1 #369, fix wrong matching of killed window pos of different display config Kang Yu 2025-01-29 21:57:24 -08:00
  • 145769a886 disable putting no record window to bottom z-order Kang Yu 2025-01-29 21:29:48 -08:00
  • b32fbee4d0 revert no record window hack Kang Yu 2025-01-29 21:28:33 -08:00
  • cfb1793dc6 revert setting invalid curDisplayKey value causing PW stop responding Kang Yu 2025-01-29 21:23:21 -08:00
  • 2b288cb295 no need to capture layout for window close event Kang Yu 2025-01-18 11:30:11 -08:00
  • 04e569fbcb #369, more consistent behavior for -delay_auto_restore Kang Yu 2025-01-07 22:21:58 -08:00
  • 3c6f053b00
    Merge pull request #368 from ImKventis/master kangyu-california 2025-01-06 10:50:13 -08:00
  • bac953a9e4 Maintain custom set icon ImKventis 2025-01-06 15:39:13 +00:00
  • ab1f69d06b fix failure to translate mouse click on webpage commander window into page up/down event for web browser Kang Yu 2025-01-02 21:13:26 -08:00
  • 44b17d4225 improve robustness of full screen detection #94 Kang Yu 2024-12-13 11:29:24 -08:00
  • 23fd9ba665 fix failure to inherit position history from killed window Kang Yu 2024-12-11 12:23:48 -08:00
  • 7d431a22f1 disable UndoCapture() for full screen gaming session Kang Yu 2024-12-10 18:27:42 -08:00
  • 384154254a reliably restore full screen rdp window Kang Yu 2024-12-10 13:09:50 -08:00
  • 041ddcbb6d fix early capture Kang Yu 2024-12-09 17:22:13 -08:00
  • 6764546824 missing reset causing failure to activate window Kang Yu 2024-12-08 13:15:51 -08:00
  • 453a4cb9e9 do not auto restore activated floating window Kang Yu 2024-12-07 13:29:26 -08:00
  • 6feaa24d92 fix KeyNotFound crash Kang Yu 2024-12-07 13:18:13 -08:00
  • b03ddd4470 simplify Timer lambda Kang Yu 2024-12-07 13:17:11 -08:00
  • 886182afc1 refactor foregroundTimerCallback() Kang Yu 2024-12-07 11:47:32 -08:00
  • b519812fa5 invalidate curDisplayKey during display changing to avoid miscapture Kang Yu 2024-12-06 15:15:50 -08:00
  • cf4a966e28 keep window size when restore floating window (thickframe style is 0) Kang Yu 2024-11-25 17:54:08 -08:00
  • 9334f516a1 let -foreground_background_dual_position switch control the new feature introduced in last commit Kang Yu 2024-11-22 21:58:48 -08:00
  • 21e664b4c0 new feature: ctrl click desktop window to bring foreground window to previous background z-order Kang Yu 2024-11-22 18:30:50 -08:00
  • bc25a0ea01 optimize coding without move timer Kang Yu 2024-11-22 15:19:37 -08:00