Commit Graph
260 Commits
Author SHA1 Message Date
Vincent Wei 32e0725bae handle MSG_MANAGE_MSGTHREAD message 2020-02-18 22:21:39 +08:00
Vincent Wei fb3a5202b7 handle MSG_MANAGE_MSGTHREAD message 2020-02-18 22:21:33 +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 bc68c27578 fix conditional compilation errors 2020-02-17 23:00:32 +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 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 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 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 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
Vincent Wei 5782f3c40a add listenfd.c 2020-02-16 18:47:31 +08:00
Vincent Wei 608dade15f move from misc/ to kernel/; tune code for virtual window and listen fd API 2020-02-16 18:40:21 +08:00
Vincent Wei 786f9f90a0 move timer slots to message queue and tune code. now we allocate timer slots per thread, and manage the time slots in message queue 2020-02-16 10:30:37 +08:00
Vincent Wei 2727e0c2db tune code for virtual window 2020-02-15 23:02:51 +08:00
Vincent Wei a12b75cd1b tune code for virtual window 2020-02-15 23:01:27 +08:00
Vincent Wei 59677752a7 tune code for virtual window 2020-02-15 22:53:08 +08:00
Vincent Wei f1f49032b9 tune code for virtual window; rename pMessages -> pMsgQueue 2020-02-15 18:22:48 +08:00
Vincent Wei 0b3450bf97 move mg_InitMsgQueueThisThread, mg_FreeMsgQueueThisThread, and __mg_threadinfo_key to kernel/message.c 2020-02-14 22:41:22 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei 6745220e84 fix a bug of dskScrollMainWindow for compositing schema 2020-02-13 21:54:58 +08:00
Vincent Wei b9586ed96b tune 2020-02-13 20:53:54 +08:00
Vincent Wei 0a2b9749bd fix a bug in FreeZOrderNodeEx 2020-02-13 20:51:29 +08:00
Vincent Wei cc9d420a71 tune SyncUpdate and fix a bug of ShowCurosr(FALSE) for hardware cursor 2020-02-13 12:37:26 +08:00
Vincent Wei 11c8cd43ef only check pdc->surface->dirty_info for wallpaper patter when it is not empty 2020-02-13 12:36:08 +08:00
Vincent Wei e2687724b7 call GAL_SyncUpdate in kernel_ShowCursorForGDI when showing cursor 2020-02-13 10:44:28 +08:00
Vincent Wei d136f23dc4 call SyncUpdateDC or GAL_SyncUpdate for cursor and dc_desktop 2020-02-12 23:23:10 +08:00
Vincent Wei 22b9609a8a use mg_slice_delete instead of free for CURSOR objects 2020-02-12 22:16:54 +08:00
Vincent Wei ce81d223ce restore calls of GAL_SyncUpdate without conditional compilation 2020-02-12 21:50:45 +08:00
Vincent Wei b0d99d63c8 remove bad rgn assertion 2020-02-12 18:27:05 +08:00
Vincent Wei 169e163202 cleanup 2020-02-12 17:58:41 +08:00
Vincent Wei c3d869e62d allocate znodes for fixed main windows 2020-02-12 17:56:51 +08:00
Vincent Wei df2d74fb0a use GetWindowElementPixelEx instead of GetWindowElementPixel or GetWindowElementColor 2020-02-12 13:26:01 +08:00