Commit Graph
1400 Commits
Author SHA1 Message Date
Vincent Wei fca9418188 add list_head in MSGQUEUE; declare __mg_join_all_message_threads() 2020-02-18 22:21:15 +08:00
Vincent Wei f4f711e660 register/unregister message thread to desktop 2020-02-18 22:20:30 +08:00
Vincent Wei a153b2cdf3 add system message MSG_MANAGE_MSGTHREAD 2020-02-18 22:18:34 +08:00
Vincent Wei 5bc3c411af add --enable-mgslicefallback option (_MGSLICE_FALLBACK) 2020-02-18 22:18:06 +08:00
Vincent Wei 231985fce3 fix condiitonal compilation errors 2020-02-18 20:27:35 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei 4c23130844 tune code for enhancement of event hook 2020-02-18 18:44:08 +08:00
Vincent Wei 5f3b100f19 implement RegisterEventHookFunc, RegisterEventHookWindow, and UnregisterEventHookWindow; tune implementation of old hook APIs 2020-02-18 18:43:14 +08:00
Vincent Wei f8224aeaa8 declare RegisterEventHookFunc, RegisterEventHookWindow, and UnregisterEventHookWindow; change since 4.2.0 -> since 5.0.0 2020-02-18 18:42:25 +08:00
Vincent Wei a765f784c6 change version to 4.9.0 2020-02-18 18:40:29 +08:00
Vincent Wei bc68c27578 fix conditional compilation errors 2020-02-17 23:00:32 +08:00
Vincent Wei 689ab4f7a3 fix conditional compilation errors 2020-02-17 23:00:19 +08:00
Vincent Wei b2f25b788a cleanup; use static idle handler for HAVE_SELECT 2020-02-17 21:36:46 +08:00
Vincent Wei 14fbd906d1 tuen and do not change OnIdle 2020-02-17 21:31:30 +08:00
Vincent Wei ccd1751016 do not call InitDskMsgQueue and DestroyDskMsgQueue 2020-02-17 21:28:13 +08:00
Vincent Wei ef69f34bd4 set OnIdle of desktop message queue NULL for threads runmode 2020-02-17 21:27:40 +08:00
Vincent Wei 6aa9e4ae7d cleanup and declare __mg_idle_handler_with_fds 2020-02-17 21:27:09 +08:00
Vincent Wei eb1630db47 cleanup 2020-02-17 21:26:10 +08:00
Vincent Wei 67dc1ab569 tune 2020-02-17 19:31:48 +08:00
Vincent Wei c5bac09fd2 tune for virtual window 2020-02-17 19:31:40 +08:00
Vincent Wei 8fc32dab6a implement BroadcastMessageInThisThread 2020-02-17 19:31:02 +08:00
Vincent Wei 81177f5d2d check timer in idle_handler_for_msg_thread 2020-02-17 19:30:32 +08:00
Vincent Wei 4db196d1d5 tune management of __mg_dsk_msg_queue 2020-02-17 19:29:04 +08:00
Vincent Wei 4d42697b18 use BroadcastMessageInThisThread instead of BroadcastMessage 2020-02-17 19:28:13 +08:00
Vincent Wei 4b8ecb169d tune management of __mg_dsk_msg_queue 2020-02-17 19:27:14 +08:00
Vincent Wei 0135699829 standalone version of mg_TerminateDesktop 2020-02-17 19:26:23 +08:00
Vincent Wei 7ba6d891eb __mg_dispatch_timer_message -> __mg_check_expired_timers 2020-02-17 19:22:45 +08:00
Vincent Wei 79913277b5 tuen for timer; add a internal helper: __mg_broadcast_message 2020-02-17 19:22:12 +08:00
Vincent Wei 59b21e9418 define USEC_TIMEOUT\ 2020-02-17 19:20:47 +08:00
Vincent Wei cd92e4b7fe declare BroadcastMessageInThisThread 2020-02-17 19:20:12 +08:00
Vincent Wei 3a2224cd4b rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread 2020-02-17 16:21:55 +08:00
Vincent Wei 00fd9fea0f init pre default virtual window proc 2020-02-17 16:21:19 +08:00
Vincent Wei fe2e439fca init pre default virtual window proc 2020-02-17 16:21:13 +08:00
Vincent Wei 7608e5a5fe cleanup 2020-02-17 16:20:37 +08:00
Vincent Wei 2adb9954a8 tune __mg_def_proc 2020-02-17 16:20:25 +08:00
Vincent Wei 5cb8662ec8 rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread 2020-02-17 16:20:07 +08:00
Vincent Wei 628c27fc7a declare IsWindowInThisThread, PreDefVirtualWinProc, DefaultVirtualWinProc, and IsVirtualWindow; tune some description words 2020-02-17 16:19:34 +08:00
Vincent Wei 3e9847ab13 declare IsWindowInThisThread, PreDefVirtualWinProc, DefaultVirtualWinProc, and IsVirtualWindow; tune some description words 2020-02-17 16:19:15 +08:00
Vincent Wei b225c095c7 tune 2020-02-16 22:41:25 +08:00
Vincent Wei 049a39548a move code handling hosting to window.c 2020-02-16 22:40:58 +08:00
Vincent Wei 4c782a1b7e move hosting handling to window.c 2020-02-16 22:40:18 +08:00
Vincent Wei fbc9a630f7 cleanup 2020-02-16 22:39:29 +08:00
Vincent Wei 9c9bd2fe2b handle hosting of virtual windows and main windows 2020-02-16 22:38:48 +08:00
Vincent Wei 3aa8424b90 tune code for listen fd sets from message queue 2020-02-16 18:51:04 +08:00
Vincent Wei cd6ba8e838 tune code for listen fd sets from message queue 2020-02-16 18:50:52 +08:00
Vincent Wei 664c30fb94 tune code for listen fd sets from message queue 2020-02-16 18:50:36 +08:00
Vincent Wei 464c18dc74 remove listenfd.c 2020-02-16 18:50:11 +08:00
Vincent Wei 490ae66cde tune code for listen fd sets and OnIdle 2020-02-16 18:49:56 +08:00
Vincent Wei 274500ffa0 cleanup 2020-02-16 18:49:06 +08:00
Vincent Wei 7370ae6864 cleanup 2020-02-16 18:48:18 +08:00