Vincent Wei
|
881776c7a9
|
fix typos: Gets -> Get, Sets -> Set, Retrieves -> Retrieve
|
2020-02-26 08:55:38 +08:00 |
|
Vincent Wei
|
20f44981dd
|
fix a old bug in load_cursor_from_mem: imageh must be 64
|
2020-02-25 23:43:33 +08:00 |
|
Vincent Wei
|
f59fe557f3
|
cleanup
|
2020-02-25 19:07:45 +08:00 |
|
Vincent Wei
|
fc2c171d96
|
fix a bug of __mg_update_tick_count; remove some deprecated code; tune SetTimerEx to allow duplicated call for same timer
|
2020-02-25 18:27:57 +08:00 |
|
Vincent Wei
|
a64292a926
|
use __mg_os_get_time_ticks instead of __mg_os_get_elapsed_ms; update __mg_tick_counter in GetTickCount
|
2020-02-25 17:18:49 +08:00 |
|
Vincent Wei
|
0e9b23efec
|
always check timers in the idle handler
|
2020-02-25 17:16:09 +08:00 |
|
Vincent Wei
|
0777c34039
|
two version of ExitGUISafely for different runmods
|
2020-02-25 08:22:12 +08:00 |
|
Vincent Wei
|
16503269fb
|
detailed debug info for no free znode slot
|
2020-02-24 15:00:55 +08:00 |
|
Vincent Wei
|
ec5eec69ef
|
isWindowInThisThread -> getMainWinIfWindowInThisThread
|
2020-02-23 19:06:33 +08:00 |
|
Vincent Wei
|
cef9216dd8
|
cleanup
|
2020-02-23 19:05:33 +08:00 |
|
Vincent Wei
|
44ea69baea
|
pAdd of _MSG struct renamed to pSyncMsg
|
2020-02-23 15:37:03 +08:00 |
|
Vincent Wei
|
8ceee008b0
|
implement NotifyWindow and tune DispatchMessage for MSG_NOTIFICATION
|
2020-02-23 15:35:18 +08:00 |
|
Vincent Wei
|
2b55d9d0e5
|
donot use quiting stage
|
2020-02-22 19:35:11 +08:00 |
|
Vincent Wei
|
097dcc2af7
|
donot use inline function to set/remove timer flags
|
2020-02-22 17:17:43 +08:00 |
|
Vincent Wei
|
cf7cb4c831
|
timer_count -> tick_count; use __mg_update_tick_count; cleanup MSG_TIMER handling of desktop
|
2020-02-22 16:06:57 +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
|
26a94f541e
|
tune std_idle_handler; cleanup
|
2020-02-22 16:04:18 +08:00 |
|
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 |
|