Commit Graph
284 Commits
Author SHA1 Message Date
Vincent Wei 3fe0294782 tune __mg_update_tick_count and post MSG_TIMER to desktop 2020-02-22 16:03:11 +08:00
Vincent Wei f3b1401a90 tune field name of TIMER structure 2020-02-21 20:06:22 +08:00
Vincent Wei a3b76f2f9d cleanup handler of MSG_TIMER of desktop for threads mode 2020-02-21 20:04:33 +08:00
Vincent Wei 07106925c6 tune implmentation of timer 2020-02-21 20:03:26 +08:00
Vincent Wei 864be6b36d tune code for no timer thread for MiniGUI-Threads runmode; remove mg_InstallIntervalTimer and mg_UninstallIntervalTimer, always use mg_InitTimer and mg_TerminateTimer instead 2020-02-21 12:54:24 +08:00
Vincent Wei 17ba967eb2 fix a bug: check again after calling sem_wait in PeekMesageEx 2020-02-21 11:48:53 +08:00
Vincent Wei 246809f46e allocate and free mssage queue for main thread 2020-02-21 11:46:42 +08:00
Vincent Wei 32dc8c3f57 use dump_message; cleanup 2020-02-21 11:44:48 +08:00
Vincent Wei b6a2fb3263 always use QS_DESKTIMER for desktop timer 2020-02-20 19:35:48 +08:00
Vincent Wei 98fa7ca872 skip desktop and virtual windows when checking invalid region of windows 2020-02-20 18:36:43 +08:00
Vincent Wei 46197de302 call createThreadInfoKey and deleteThreadInfoKey in InitGUI and TerminateGUI 2020-02-20 18:33:14 +08:00
Vincent Wei aa90e9c7fa tune desktop menus for windows 2020-02-20 17:47:27 +08:00
Vincent Wei afed837806 ZOF_TYPE_TOPMOST -> ZOF_TYPE_HIGHER 2020-02-20 15:51:57 +08:00
Vincent Wei 9f85525afb tune menuitems for main windows 2020-02-20 15:51:03 +08:00
Vincent Wei 9632e5f76a cleanup 2020-02-20 15:49:41 +08:00
Vincent Wei d75c881ed9 remove special handle of MSG_PAINT for HWND_DESKTOP 2020-02-20 12:42:06 +08:00
Vincent Wei bae0a64b6e cleanup 2020-02-20 12:41:16 +08:00
Vincent Wei a49cdd6ddc move call of mg_AllocMsgQueueForThisThread for desktop message queue to init-lite.c 2020-02-20 12:40:57 +08:00
Vincent Wei c0abd545f6 use IS_INVALID_ZIDX instead of max_nr_xxx 2020-02-20 12:39:57 +08:00
Vincent Wei ab1dbb767a fix conditional compilation errors and tune 2020-02-19 22:12:54 +08:00
Vincent Wei d24788134f tune code for eight levels of zorder nodes 2020-02-19 19:38:25 +08:00
Vincent Wei 0b3ed4808b testcancel in PeekMessageEx and WaitMessage 2020-02-18 22:23:22 +08:00
Vincent Wei ad59a477c6 call __mg_join_all_message_threads() 2020-02-18 22:22:42 +08:00
Vincent Wei dfae20dc5e implement dskRegisterMsgQueue, dskUnregisterMsgQueue, and __mg_join_all_message_threads 2020-02-18 22:22:19 +08:00
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