Commit Graph

1675 Commits

Author SHA1 Message Date
Vincent Wei
1244daf153 tune description words 2020-03-10 11:03:18 +08:00
Vincent Wei
b8a84b94aa more words 2020-03-10 11:01:55 +08:00
Vincent Wei
27ad9ee4b2 tune TOC 2020-03-09 17:49:42 +08:00
Vincent Wei
198e971fbd more description words; remove release notes for 4.0.x 2020-03-09 17:46:14 +08:00
Vincent Wei
2306767fd7 tune description words 2020-03-09 11:46:38 +08:00
Vincent Wei
c063acb4a6 fix a bug: call SyncUpdate when cursor moved; cursor surface lost when it was moved 2020-03-08 19:52:40 +08:00
Vincent Wei
4214de8490 tune versions 2020-03-08 17:29:48 +08:00
Vincent Wei
e67324ff91 update splash pictures 2020-03-07 19:31:24 +08:00
Vincent Wei
ba5113ad1a handle auto-repeat messages 2020-03-06 21:52:19 +08:00
Vincent Wei
f8b8e1b5fe change DESKTOP_TIMER_INERTVAL to 10 ticks to handle auto repeat messages 2020-03-06 21:51:50 +08:00
Vincent Wei
f0414cddc1 Tune implementation of SetAutoRepeatMessage. We use mechanism like caret 2020-03-06 21:51:12 +08:00
Vincent Wei
ff8b0af8b3 cleanup 2020-03-06 21:50:24 +08:00
Vincent Wei
33e33902a4 we do not genenrate MSG_TIMEOUT message any more 2020-03-06 21:48:31 +08:00
Vincent Wei
f882b79a76 we do not genenrate MSG_TIMEOUT message any more 2020-03-06 21:47:23 +08:00
Vincent Wei
5b885ccee1 add MSG_SETAUTOREPEAT message 2020-03-06 21:46:30 +08:00
Vincent Wei
da0cf8be8a restore the behavior of IncludeWindowStyle, ExcludeWindowStyle, IncludeExWindowStyle, and ExcludeWindowExStyle 2020-03-06 17:53:27 +08:00
Vincent Wei
ae56fea196 tune IncludeWindowStyle, ExcludeWindowStyle, IncludeExWindowStyle, and ExcludeWindowExStyle to not allow change the system styles 2020-03-06 17:43:10 +08:00
Vincent Wei
fd3662cea0 fix a bug: return HOOK_STOP for mouse messages sent to client 2020-03-06 17:31:37 +08:00
Vincent Wei
0d7a90d546 cleanup 2020-03-06 17:30:47 +08:00
Vincent Wei
38053abaa6 cleanup 2020-03-06 17:30:20 +08:00
Vincent Wei
70b310ec36 restore the old implementation of NotifyParentEx 2020-03-06 17:30:05 +08:00
Vincent Wei
f8b939766a fix a bug: under compositing schema, for the secondary DC, we need to offset more based on the origin of the main window when updating the secondary DC 2020-03-06 15:53:19 +08:00
Vincent Wei
85a18df3ea remove old deprecated code 2020-03-06 15:52:16 +08:00
Vincent Wei
b18460fe3a tune some constants 2020-03-06 15:51:51 +08:00
Vincent Wei
8a845ac965 fix some conditional compilation errors 2020-03-06 14:11:35 +08:00
Vincent Wei
1974d27deb make sure the event parsor thread is joinable 2020-03-06 11:09:08 +08:00
Vincent Wei
7f58a1775e tune 2020-03-06 11:08:44 +08:00
Vincent Wei
792359eb62 fix possible memory leaks for free notification message objects 2020-03-06 11:08:33 +08:00
Vincent Wei
f23949349b add some helpers 2020-03-06 10:32:47 +08:00
Vincent Wei
50d0ec55eb fix memory leaks in ReleaseDC: do not set region for released DC in slots 2020-03-06 10:32:31 +08:00
Vincent Wei
243f24d0a3 fix memory leaks in VirtualWindwoCleanup and MainWindowCleanup 2020-03-06 10:31:31 +08:00
Vincent Wei
b718a9a0aa fix memory leak for not deleting null devfonts 2020-03-06 10:31:09 +08:00
Vincent Wei
05802cee73 Remove unused field sync_msg in MSGQUEUE; improve __mg_throw_away_messages to free notification messages to block heap and compress the post message queue 2020-03-05 21:42:22 +08:00
Vincent Wei
b85901dad0 tune description words; declare new API SendPriorNotifyMessage; Make EmptyMessageQueue available for all runmodes 2020-03-05 20:47:21 +08:00
Vincent Wei
030671ad7e add ERR_MSG_CANCELED and tune the error values 2020-03-05 20:44:09 +08:00
Vincent Wei
283c4e4bc4 mark a window as TODEL after calling ThrowAwayMessages; tune name of some internal inline functions 2020-03-05 13:04:31 +08:00
Vincent Wei
5812c11f7c tune GetRootWindow to return the number of windows 2020-03-04 22:52:36 +08:00
Vincent Wei
5224e31084 cleanup 2020-03-04 21:54:28 +08:00
Vincent Wei
71d0da248d use DFS for broadcast message 2020-03-04 20:58:23 +08:00
Vincent Wei
627a71346b cleanup 2020-03-04 20:57:09 +08:00
Vincent Wei
2c58b6aeab fix a bug: wrong values for WIN_SEARCH_FILTER_MAIN and WIN_SEARCH_FILTER_VIRT 2020-03-04 20:56:44 +08:00
Vincent Wei
90371bd793 rename GetSecondarySubDC to GetDCInSecondarySurface 2020-03-04 15:37:01 +08:00
Vincent Wei
152f97b82d implement GetDCEX; improve CreatePrivateDC and CreatePrivateClientDC to use secondary DC; tune GetSecondaryDC; implement __mg_delete_secondary_dc and tune DestroySecondaryDC; GetSecondarySubDC -> GetDCInSecondarySurface; implement GetEffectiveCDC; implement __mg_update_dc_on_surface_resized and __mg_update_dc_on_secondary_dc_changed 2020-03-04 15:36:34 +08:00
Vincent Wei
e2c6225d22 always use CreatePrivateClientDC and DeletePrivateDC; call __mg_delete_secondary_dc instead of DeleteSecondaryDC when remove a main window; call __mg_update_dc_on_surface_changed for compositing schema when the underlying surface resized. 2020-03-04 15:30:26 +08:00
Vincent Wei
10c32236e7 always use CreatePrivateClientDC and DeletePrivateDC; call __mg_delete_secondary_dc instead of DeleteSecondaryDC when remove a main window 2020-03-04 15:29:23 +08:00
Vincent Wei
097e379ec2 add MG_IS_GRAPHICS_WINDOW 2020-03-04 15:28:00 +08:00
Vincent Wei
bef9c5e476 add dump_gal_rect and dump_surface 2020-03-04 15:27:43 +08:00
Vincent Wei
88603deb44 tune get_effective_dc and release_effective_dc 2020-03-04 15:27:16 +08:00
Vincent Wei
38e189ad17 Always use CeratePrivateClientDC for private CDC; use __mg_delete_secondary_dc when destroying a window; call __mg_update_dc_on_secondary_dc_changed if secondary DC changed; cleanup code 2020-03-04 15:23:34 +08:00
Vincent Wei
f27d0a96b4 introduce GetDCEx, GetDCInSecondarySurface, GetEffectiveCD; mark GetSecondaryClientDC, ReleaseSecondaryDC as deprecated; tune the description words 2020-03-04 15:21:04 +08:00