Vincent Wei
|
c74c515b63
|
cleanup
|
2020-02-22 15:54:11 +08:00 |
|
Vincent Wei
|
41c709b1c8
|
add MAX_IDLE_COUNTER and DESKTOP_TIMER_INERTVAL
|
2020-02-22 15:53:50 +08:00 |
|
Vincent Wei
|
f3b1401a90
|
tune field name of TIMER structure
|
2020-02-21 20:06:22 +08:00 |
|
Vincent Wei
|
f9a1525421
|
bugfix: use 0x01UL instead of 0x01
|
2020-02-21 20:03:57 +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
|
2d8d6f0ba8
|
cleanup
|
2020-02-21 11:44:13 +08:00 |
|
Vincent Wei
|
e33b61fcbb
|
undef _DEBUG_DEVFONT
|
2020-02-21 10:12:52 +08:00 |
|
Vincent Wei
|
df61109fc5
|
cleanup
|
2020-02-21 09:53:44 +08:00 |
|
Vincent Wei
|
042c1f19b6
|
use _MG_PRINTF instead of _WRN_PRINTF for dumpers
|
2020-02-21 09:53:19 +08:00 |
|
Vincent Wei
|
aa2d13c5a2
|
message strings for new messages
|
2020-02-20 22:09:33 +08:00 |
|
Vincent Wei
|
c846af5a2a
|
fix conditional compilation errors
|
2020-02-20 22:08:27 +08:00 |
|
Vincent Wei
|
b6a2fb3263
|
always use QS_DESKTIMER for desktop timer
|
2020-02-20 19:35:48 +08:00 |
|
Vincent Wei
|
d484102dae
|
add +dump_message_queue
|
2020-02-20 18:31:57 +08:00 |
|
Vincent Wei
|
8a63b551f6
|
tune macros
|
2020-02-20 17:41:57 +08:00 |
|
Vincent Wei
|
5c248bb669
|
define IS_INVALID_ZIDX_LOOSE for not checking idx < 0
|
2020-02-20 15:49:20 +08:00 |
|
Vincent Wei
|
4ca3ac2e4b
|
cleanup: remove _MG_CONFIG_FAST_MOUSEMOVE
|
2020-02-20 15:48:31 +08:00 |
|
Vincent Wei
|
4aa5e04da1
|
add dump_mouse_message, dump_message_with_retval, dump_message, and dump_window functions (static inline)
|
2020-02-20 12:39:02 +08:00 |
|
Vincent Wei
|
52ddec51de
|
move _MG_CONFIG_FAST_MOUSEMOVE to constants.h from cursor.h
|
2020-02-20 12:37:41 +08:00 |
|
Vincent Wei
|
ab1dbb767a
|
fix conditional compilation errors and tune
|
2020-02-19 22:12:54 +08:00 |
|
Vincent Wei
|
c6547026d5
|
tune for eight levels of zorder nodes; add some macros
|
2020-02-19 19:37:51 +08:00 |
|
Vincent Wei
|
d0c1728ba1
|
tune for eight levels of zorder nodes
|
2020-02-19 19:37:21 +08:00 |
|
Vincent Wei
|
fca9418188
|
add list_head in MSGQUEUE; declare __mg_join_all_message_threads()
|
2020-02-18 22:21:15 +08:00 |
|
Vincent Wei
|
6f132886c3
|
4.2.0 -> 5.0.0
|
2020-02-18 18:44:42 +08:00 |
|
Vincent Wei
|
689ab4f7a3
|
fix conditional compilation errors
|
2020-02-17 23:00:19 +08:00 |
|
Vincent Wei
|
b2f25b788a
|
cleanup; use static idle handler for HAVE_SELECT
|
2020-02-17 21:36:46 +08:00 |
|
Vincent Wei
|
6aa9e4ae7d
|
cleanup and declare __mg_idle_handler_with_fds
|
2020-02-17 21:27:09 +08:00 |
|
Vincent Wei
|
eb1630db47
|
cleanup
|
2020-02-17 21:26:10 +08:00 |
|
Vincent Wei
|
7ba6d891eb
|
__mg_dispatch_timer_message -> __mg_check_expired_timers
|
2020-02-17 19:22:45 +08:00 |
|
Vincent Wei
|
79913277b5
|
tuen for timer; add a internal helper: __mg_broadcast_message
|
2020-02-17 19:22:12 +08:00 |
|
Vincent Wei
|
59b21e9418
|
define USEC_TIMEOUT\
|
2020-02-17 19:20:47 +08:00 |
|
Vincent Wei
|
5cb8662ec8
|
rename getMsgQueueByWindowInThisThread to getMsgQueueIfWindowInThisThread
|
2020-02-17 16:20:07 +08:00 |
|
Vincent Wei
|
fbc9a630f7
|
cleanup
|
2020-02-16 22:39:29 +08:00 |
|
Vincent Wei
|
0882bf8270
|
move USEC_1S and USEC_10MS to constants.h
|
2020-02-16 18:47:08 +08:00 |
|
Vincent Wei
|
f86e977e3d
|
cleanup
|
2020-02-16 18:46:40 +08:00 |
|
Vincent Wei
|
9c2be6c69b
|
cleanup
|
2020-02-16 18:45:51 +08:00 |
|
Vincent Wei
|
4ed95b12b3
|
tune code for OnIdle method of message queue
|
2020-02-16 18:45:33 +08:00 |
|
Vincent Wei
|
847ccdcab7
|
move USEC_1S and USEC_10MS from timer.h to constants.h
|
2020-02-16 18:44:39 +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
|
f1f49032b9
|
tune code for virtual window; rename pMessages -> pMsgQueue
|
2020-02-15 18:22:48 +08:00 |
|
Vincent Wei
|
f7dd21c9cb
|
tune and cleanup
|
2020-02-15 12:44:54 +08:00 |
|
Vincent Wei
|
0b0a50791b
|
tune VIRTWIN, MAINWIN, and MSGQUEUE structures
|
2020-02-14 22:37:44 +08:00 |
|
Vincent Wei
|
ae40205947
|
tune CONTROL structure
|
2020-02-14 22:36:47 +08:00 |
|
Vincent Wei
|
48caa7cde0
|
adjust WINDOWINFO, CONTROL, and MAINWIN structures for virtual window; remove iFgColor field in CONTROL, MAINWIN, and CTRLCLASSINFO; add VIRTWIN structure
|
2020-02-14 17:53:03 +08:00 |
|
Vincent Wei
|
21160fb01d
|
rename internal symbols for better coding style
|
2020-02-14 12:54:54 +08:00 |
|
Vincent Wei
|
af794cb523
|
add inline dump_rect
|
2020-02-13 20:52:23 +08:00 |
|
Vincent Wei
|
db68c34b27
|
_MGUSE_SYNC_UPDATE -> _MGUSE_UPDATE_REGION
|
2020-02-12 21:53:50 +08:00 |
|
Vincent Wei
|
169e163202
|
cleanup
|
2020-02-12 17:58:41 +08:00 |
|
Vincent Wei
|
0b1fadec95
|
debug.h
|
2020-02-12 17:54:05 +08:00 |
|
Vincent Wei
|
dc100bc7bc
|
initial commit; dump_region
|
2020-02-12 17:53:45 +08:00 |
|