Vincent Wei
|
4ebd23bf56
|
use MSG_TIMEOUT instead of MSG_TIMER for desktop
|
2021-05-03 21:26:42 +08:00 |
|
Vincent Wei
|
0059a3226c
|
rename mg_GetMsgQueueForThisThread to getMsgQueueForThisThread and make it inline; Register message queue when allocating it
|
2020-03-11 19:21:24 +08:00 |
|
Vincent Wei
|
7c39c22f7c
|
tune __mg_throw_away_messages to handle TYPE_TODEL windows correctly; fix wrong handling of notification message list; do not reset idle counter when got a message for HWND_DESKTOP
|
2020-03-10 15:31:37 +08:00 |
|
Vincent Wei
|
ff8b0af8b3
|
cleanup
|
2020-03-06 21:50:24 +08:00 |
|
Vincent Wei
|
792359eb62
|
fix possible memory leaks for free notification message objects
|
2020-03-06 11:08:33 +08:00 |
|
Vincent Wei
|
05802cee73
|
Remove unused field sync_msg in MSGQUEUE; improve __mg_throw_away_messages to free notification messages to block heap and compress the post message queue
|
2020-03-05 21:42:22 +08:00 |
|
Vincent Wei
|
283c4e4bc4
|
mark a window as TODEL after calling ThrowAwayMessages; tune name of some internal inline functions
|
2020-03-05 13:04:31 +08:00 |
|
Vincent Wei
|
71d0da248d
|
use DFS for broadcast message
|
2020-03-04 20:58:23 +08:00 |
|
Vincent Wei
|
a7cfd21020
|
fix a bug in travel_all_hosted: duplicated calling of callback; tune travel_all_hosted: use breadth first traveling policy due to overflow of the post message queue; tune format
|
2020-02-29 16:07:34 +08:00 |
|
Vincent Wei
|
04535d691f
|
use new inline functions for checking and returning the window ptr
|
2020-02-28 17:12:05 +08:00 |
|
Vincent Wei
|
6b1b850312
|
implement __mg_throw_away_messages and tune ThrowAwayMessages
|
2020-02-27 21:04:02 +08:00 |
|
Vincent Wei
|
0e9b23efec
|
always check timers in the idle handler
|
2020-02-25 17:16:09 +08:00 |
|
Vincent Wei
|
ec5eec69ef
|
isWindowInThisThread -> getMainWinIfWindowInThisThread
|
2020-02-23 19:06:33 +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
|
26a94f541e
|
tune std_idle_handler; cleanup
|
2020-02-22 16:04:18 +08:00 |
|
Vincent Wei
|
f3b1401a90
|
tune field name of TIMER structure
|
2020-02-21 20:06:22 +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
|
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
|
d75c881ed9
|
remove special handle of MSG_PAINT for HWND_DESKTOP
|
2020-02-20 12:42:06 +08:00 |
|
Vincent Wei
|
0b3ed4808b
|
testcancel in PeekMessageEx and WaitMessage
|
2020-02-18 22:23:22 +08:00 |
|
Vincent Wei
|
6f132886c3
|
4.2.0 -> 5.0.0
|
2020-02-18 18:44:42 +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
|
8fc32dab6a
|
implement BroadcastMessageInThisThread
|
2020-02-17 19:31:02 +08:00 |
|
Vincent Wei
|
3a2224cd4b
|
rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread
|
2020-02-17 16:21:55 +08:00 |
|
Vincent Wei
|
b225c095c7
|
tune
|
2020-02-16 22:41:25 +08:00 |
|
Vincent Wei
|
490ae66cde
|
tune code for listen fd sets and OnIdle
|
2020-02-16 18:49:56 +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
|
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
|
637dbbce68
|
change link to licensing policy
|
2019-11-13 11:53:59 +08:00 |
|
Vincent Wei
|
38aa40042c
|
release version 4.0.2
|
2019-10-31 11:29:24 +08:00 |
|
Vincent Wei
|
53c77a9a73
|
prepend excpetion list statement
|
2019-07-15 14:17:20 +08:00 |
|
Vincent Wei
|
24381b4cb1
|
Add messages for middle mouse button: MSG_MBUTTONxxx and MSG_NCMBUTTONxxx;
Add messages for extra input events: MSG_EXIN_XXXX for pointer axis, generic button, touch, tablet, tablet pad, and switch.
|
2019-06-12 17:45:37 +08:00 |
|
Vincent Wei
|
b9fd4b9178
|
New API: GetNextUChar
|
2019-05-15 11:58:48 +08:00 |
|
Vincent Wei
|
338fb0276e
|
use _DEBUG for real output of _DBG_PRINTF
|
2019-03-27 10:08:01 +08:00 |
|
VincentWei
|
25d5b03154
|
add sharedres.h
|
2018-06-08 16:00:46 +08:00 |
|
VincentWei
|
378f7e1986
|
cleanup
|
2018-05-19 15:13:12 +08:00 |
|
VincentWei
|
5e0dda0421
|
use 0x01UL for timermask test
|
2018-05-18 20:21:09 +08:00 |
|
VincentWei
|
977ac1ec9b
|
fix bug of (0x01<<slot) for 64bit
|
2018-05-19 00:56:39 +08:00 |
|
VincentWei
|
62efa8b29a
|
clean up the header copying statements
|
2018-02-04 17:01:37 +08:00 |
|
VincentWei
|
55a4566a33
|
use UINT for message
|
2018-01-28 11:37:56 +08:00 |
|
VincentWei
|
6290779a02
|
tune the implementation of tracing message
|
2018-01-21 18:09:51 +08:00 |
|
WEI Yongming
|
599c985146
|
tune code for 64-bit and 32-bit
|
2018-01-19 22:41:37 +08:00 |
|