Commit Graph
57 Commits
Author SHA1 Message Date
Vincent Wei 7c914cdca4 fix a bug: uninitialize the callback functions for the map of system bitmaps; add __mg_map_get_size 2020-02-27 00:47:09 +08:00
Vincent Wei ba65912bb1 fix a bug in __mg_map_insert 2020-02-26 22:13:42 +08:00
Vincent Wei 5c5a33afd5 fix conditional compilation errors 2020-02-26 22:05:44 +08:00
Vincent Wei 2191e6ea1a add new files: rbtree.h, rbtree.c, map.h, map.c 2020-02-26 21:32:54 +08:00
Vincent Wei ecdfabe41d implement a map based on rbtree 2020-02-26 21:28:00 +08:00
Vincent Wei aceae83f93 implement a red-black tree 2020-02-26 21:27:41 +08:00
Vincent Wei 8a362818de rename __mg_os_start_time_ms to __mg_os_start_time; remove __mg_os_get_elapsed_ms; add __mg_os_get_time_ticks 2020-02-25 17:17:10 +08:00
Vincent Wei afa4b891e0 tuen for change of CreateMainWindowEx2 2020-02-23 19:07:09 +08:00
Vincent Wei 2b55d9d0e5 donot use quiting stage 2020-02-22 19:35:11 +08:00
Vincent Wei 1f98843053 implement __mg_os_get_elapsed_ms by using clock_gettime and for WIN32 2020-02-22 16:01:41 +08:00
Vincent Wei 0519637d62 Call SetActiveWindow in OpenAboutDialog if there is already a about dialog instance 2020-02-21 11:49:43 +08:00
Vincent Wei 147cbb2152 Call SetActiveWindow 2020-02-20 21:14:48 +08:00
Vincent Wei 464c18dc74 remove listenfd.c 2020-02-16 18:50:11 +08:00
Vincent Wei 1babb4fcd5 call mg_GetMsgQueueForThisThread and mg_FreeMsgQueueForThisThread only for _MGHAVE_VIRTUAL_WINDOW 2020-02-16 18:43:45 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei 92d36bdb20 use MSG_CSIZECHANGED message instead of MSG_SIZECHANGED to move the button 2020-02-12 18:15:59 +08:00
Vincent Wei 575ef72246 tune and cleanup 2020-02-12 11:38:28 +08:00
Vincent Wei 46d30558b1 use RGBA_xxx instead of COLOR_xxxx 2020-02-11 21:20:18 +08:00
Vincent Wei 482eaa2535 tune for compositing schema 2020-02-11 17:56:51 +08:00
Vincent Wei 738cc6e3ed handle MSG_SIZECHANGED to move button 2020-02-07 19:12:38 +08:00
Vincent Wei 16817e8e55 2018 -> 2020 2020-02-06 11:58:48 +08:00
Vincent Wei 5a70fa1f42 use WS_EX_TROUNDCNS and WS_EX_BROUNDCNS styles for AboutDialog 2020-02-05 12:37:09 +08:00
Vincent Wei 14d020cccf cleanup: convert tab to spaces and trim tail spaces 2020-02-02 10:53:31 +08:00
Vincent Wei 8dbe2c63f1 cleanup code, see cleanup-code.sh 2020-02-02 10:46:29 +08:00
Vincent Wei be2f3a2546 call SyncUpdateDC 2020-01-21 17:37:14 +08:00
Vincent Wei 8e6336d2f3 cleanup. This is file is marked deprecated 2020-01-21 10:35:34 +08:00
Vincent Wei 6707987965 cleanup 2020-01-17 12:01:40 +08:00
Vincent Wei d4e066cbc9 cleanup 2020-01-15 17:32:22 +08:00
Vincent Wei 5099d79e4c cleanup 2020-01-15 15:10:10 +08:00
Vincent Wei 2d56b56826 cleanup 2020-01-13 18:07:26 +08:00
Vincent Wei fde2299126 Call GetScreenRect for usage of &g_rcScr 2020-01-12 14:27:13 +08:00
Vincent Wei d0fb2a3b82 cleanup and implement __mg_extract_integers 2020-01-10 11:02:02 +08:00
Vincent Wei 0d3d456334 tune and cleanup 2020-01-08 12:24:54 +08:00
Vincent Wei 4f49a2a559 implement __mg_create_anonymous_file 2020-01-08 12:21:57 +08:00
Vincent Wei 24c786aa8a cleanup: change copyright year 2020-01-06 16:09:11 +08:00
Vincent Wei e9d0b3fab8 cleanup 2020-01-06 15:24:19 +08:00
Vincent Wei f8af8b7295 Implement sock_sendmsg_t and sock_recvmsg_t. 2020-01-06 15:02:48 +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 8040f7abd5 __mg_time -> mg_os_time; __mg_mktime -> __mg_os_mktime; __mg_localtime -> __mg_os_localtime; use clock_gettime for tick count instead of gettimeofday 2019-07-14 14:21:40 +08:00
Vincent Wei 11950343df two new non-posix functions: __mg_os_start_time and __mg_os_get_time, and use __mg_os_get_time to implement GetTickCount for MiniGUI Standalone runmode 2019-07-12 16:38:16 +08:00
Vincent Wei 8ac0d539d0 implementation of mg_slice_xxx 2019-04-04 12:18:10 +08:00
Vincent Wei 338fb0276e use _DEBUG for real output of _DBG_PRINTF 2019-03-27 10:08:01 +08:00
Vincent Wei 7e0b378475 add const to _cos_tbl, _tag_tbl, and _acos_tbl; add prefix __mg to these global variables 2019-03-07 18:46:42 +08:00
Vincent Wei dbbd0f4da2 cleanup 2018-12-11 18:02:46 +08:00
VincentWei 62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei 766ddb5555 tune code for 64b (MiniGUI-Processes runmode) 2018-01-19 15:35:26 +08:00
VincentWei 01bc3d7c42 tune code for 64 bits 2018-01-18 19:01:29 +08:00
VincentWei a2a5dcbc2a tune code for 64bit 2018-01-18 17:52:48 +08:00