Commit Graph
45 Commits
Author SHA1 Message Date
xueshuming 2791dc99ef Init Order: call 'mg_InitTimer' before call 'SystemThreads' 2025-05-27 15:45:03 +08:00
Vincent Wei 3643606a7f restore the system interval timer for the server under runmode procs 2025-04-30 14:12:19 +08:00
Vincent Wei 70705c7db0 fix bug reported in Issue #116 2023-05-08 19:34:43 +08:00
Vincent Wei d787dea652 call mg_FreeMsgQueueForThisThread immediately in TerminateGUI() 2022-10-19 19:37:06 +08:00
Vincent Wei e293cf03ba fix bugs when virtual window enabled for sa and procs runmodes 2022-09-26 14:06:09 +08:00
Vincent Wei 4ebd23bf56 use MSG_TIMEOUT instead of MSG_TIMER for desktop 2021-05-03 21:26:42 +08:00
Vincent Wei 666aeea115 tune implementation of MSG_ENDSESSION for THS runmode 2020-03-11 19:22:34 +08:00
Vincent Wei 33e33902a4 we do not genenrate MSG_TIMEOUT message any more 2020-03-06 21:48:31 +08:00
Vincent Wei 1974d27deb make sure the event parsor thread is joinable 2020-03-06 11:09:08 +08:00
Vincent Wei b9d71cd489 tune order of terminating functions 2020-02-26 23:02:24 +08:00
Vincent Wei 0777c34039 two version of ExitGUISafely for different runmods 2020-02-25 08:22:12 +08:00
Vincent Wei 2b55d9d0e5 donot use quiting stage 2020-02-22 19:35:11 +08:00
Vincent Wei 98cc4ce10b change the idle handler of main thread with a tailored version 2020-02-22 16:05:27 +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 246809f46e allocate and free mssage queue for main thread 2020-02-21 11:46:42 +08:00
Vincent Wei 46197de302 call createThreadInfoKey and deleteThreadInfoKey in InitGUI and TerminateGUI 2020-02-20 18:33:14 +08:00
Vincent Wei ad59a477c6 call __mg_join_all_message_threads() 2020-02-18 22:22:42 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei 00fd9fea0f init pre default virtual window proc 2020-02-17 16:21:19 +08:00
Vincent Wei 2727e0c2db tune code for virtual window 2020-02-15 23:02:51 +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 6440db4446 reflect the change of mg_InitScreenDC 2020-01-21 10:34:49 +08:00
Vincent Wei d4e066cbc9 cleanup 2020-01-15 17:32:22 +08:00
Vincent Wei aec634797b make DesktopWinProc static; DesktopMain -> __kernel_desktop_main 2020-01-13 18:27:28 +08:00
Vincent Wei fde2299126 Call GetScreenRect for usage of &g_rcScr 2020-01-12 14:27:13 +08:00
Vincent Wei b06bf73980 cleanup 2020-01-07 17:26:28 +08:00
Vincent Wei e4260b79eb Enhance mg_InitGAL to use GAL engine info from shared resource for MiniGUI-Processes 2020-01-07 09:35:51 +08:00
Vincent Wei 992397679a add engine information in the shared resource to avoid getting the info from bad runtime configure 2020-01-06 18:32:05 +08:00
Vincent Wei a2e4b55966 cleanup 2019-12-02 11:09:12 +08:00
Vincent Wei 637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei 53c77a9a73 prepend excpetion list statement 2019-07-15 14:17:20 +08:00
Vincent Wei e256fb2a0a restore timer thread 2019-07-14 17:17:40 +08:00
Vincent Wei ce29edbca6 disable timer thread for MiniGUI-Threads 2019-07-14 17:08:36 +08:00
Vincent Wei 9f60ba7138 post MSG_EXIN_END_CHANGES message 2019-06-14 11:01:24 +08:00
Vincent Wei a9d7effc11 tune format 2019-06-13 18:00:20 +08:00
Vincent Wei 047ab34a98 handle extra input events in low-level event loop 2019-06-13 17:50:07 +08:00
Vincent Wei c9448ef4c6 Handle extra input events 2019-06-13 12:34:26 +08:00
Vincent Wei 50fcc2afc9 handle middle mouse button events 2019-06-12 19:08:24 +08:00
Vincent Wei b739daadba cleanup FreeType2 font engine, remove redundant code 2019-04-04 16:51:54 +08:00
Vincent Wei 8ac0d539d0 implementation of mg_slice_xxx 2019-04-04 12:18:10 +08:00
VincentWei 62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
WEI Yongming 854e8342dd use _MGHAVE_ADV_2DAPI for call to mg_miFreeArcCache 2017-11-08 23:49:38 +08:00
Vincent Wei 267d9c1b12 merge from rel-3-0 branch 2017-10-26 13:34:57 +08:00
Vincent Wei e87d052072 initical commit 2017-05-29 12:20:05 +08:00