Commit Graph

1040 Commits

Author SHA1 Message Date
hyunghwan.chung
1cffec34e8 renamed moo_allocheapmem() to moo_allocheapspace() and changed its second parameter from moo_heap_t* to moo_space_t*
added moo_space_t
changed moo_makeheap() to create a single heap and split it to multiple spaces
2018-11-30 13:37:15 +00:00
hyunghwan.chung
4de478a9cc moving heap creation to moo_ignite() from moo_init() 2018-11-30 10:33:17 +00:00
hyunghwan.chung
460a10a4c1 added a few useless lines of code for documentation purpose 2018-11-28 06:08:42 +00:00
hyunghwan.chung
4908576c02 minor fix on poll-msw.c and poll-msw.h for build against win10 sdk 2018-11-27 15:41:15 +00:00
hyunghwan.chung
ebe95aae9c changed to restore the previous state of the privilege token adjusted in win32 after the large page VirtualAlloc() call 2018-11-27 14:43:15 +00:00
hyunghwan.chung
6f0bbf68ae fixed win32 virtualalloc functions 2018-11-27 13:00:01 +00:00
hyunghwan.chung
f17ec84b9c attempted to support large page in win32. WIP. 2018-11-27 09:56:59 +00:00
hyunghwan.chung
45633570cd added moo_catch_termreq(), moo_uncatch_termreq(), moo_ignore_termreq() to relocated some signal handling functions from main.c to std.c 2018-11-26 09:49:03 +00:00
hyunghwan.chung
55b259cc4f added global unhandled exception filter in win32 2018-11-26 07:43:04 +00:00
hyunghwan.chung
eff7ad9c74 called SetThreadPriority() 2018-11-26 04:12:55 +00:00
hyunghwan.chung
53ec5b1c33 removed redundant code 2018-11-22 08:13:30 +00:00
hyunghwan.chung
2eb1167190 commented MOO_ENABLE_STATIC_MODULE from moo-os2.h by default 2018-11-21 13:42:05 +00:00
hyunghwan.chung
9648254a51 adjusted ticker interval for os2 2018-11-21 13:37:27 +00:00
hyunghwan.chung
9f0210b31b added MOO_MSEC_TO_USEC() and MOO_USEC_TO_MSEC()
enhanced win32 ticker implementation
2018-11-21 13:19:07 +00:00
hyunghwan.chung
7ceae0caf7 added a lost semicolon 2018-11-20 05:31:36 +00:00
hyunghwan.chung
8b0a417acc attempting to fix win32 timer issues 2018-11-20 05:30:45 +00:00
hyunghwan.chung
2cef223f4c removed some redundant code 2018-11-19 16:00:55 +00:00
hyunghwan.chung
44c72e07e6 changed setup_tick() and cancel_tick() to moo_start_tick() and moo_stop_tick() 2018-11-19 15:52:26 +00:00
hyunghwan.chung
2e75b97b11 Added some signal handling routines 2018-11-18 15:38:59 +00:00
hyunghwan.chung
73151a4a2a fixed a wrong parameter bug in moo_seterrufmtwithsyserr() and moo_seterrbfmtwithsyserr() 2018-11-17 02:02:44 +00:00
hyunghwan.chung
0777e9bdf0 some code cleanup 2018-11-16 08:38:05 +00:00
hyunghwan.chung
87978792df added moo_abortstd() 2018-11-15 08:40:22 +00:00
hyunghwan.chung
324c175956 defined some constants as enums in utf16.c 2018-11-15 04:26:05 +00:00
hyunghwan.chung
e48b3ce1f6 added --utf8 and --utf16 for win32. utf16 support is not finished yet. 2018-11-14 08:47:50 +00:00
hyunghwan.chung
f60512696d fixed a wrong cmgr bug in moo_openstd(). 2018-11-14 07:59:39 +00:00
hyunghwan.chung
8d19c60359 added simple utf16 conversion functions 2018-11-14 04:25:27 +00:00
hyunghwan.chung
07c11dc9da fixed a memory leak bug in pop_cunit() for interface 2018-11-13 10:08:58 +00:00
hyunghwan.chung
cee3d81210 changed spacing 2018-11-13 10:05:02 +00:00
hyunghwan.chung
85e36ae88b added dirty code to handle command line options in both bch and uch types 2018-11-13 09:53:48 +00:00
hyunghwan.chung
0d96bbb5f0 fixed lib/Makefile.am 2018-11-13 07:56:39 +00:00
hyunghwan.chung
a9706243f8 changed to use pipe2() if available
grouped some variables in xtn_t in std.c
2018-11-13 07:40:30 +00:00
hyunghwan.chung
210e022d92 added check for pipe2 and epoll_create1 to configure.ac 2018-11-13 07:36:04 +00:00
hyunghwan.chung
6939433ff0 added moo_seterrbfmtwithsyserr() and moo_seterrufmtwithsyserr() 2018-11-13 06:54:30 +00:00
hyunghwan.chung
192d71c80e added moo_compilestd().
added moo_iostd_t
2018-11-12 09:19:35 +00:00
hyunghwan.chung
cd6c6d994c more code to add standard callbacks 2018-11-11 16:53:21 +00:00
hyunghwan.chung
d32394cdef attemping to common callabcks to std.c 2018-11-07 15:26:30 +00:00
hyunghwan.chung
712f2c2d10 fixed some spacing 2018-11-06 14:42:57 +00:00
hyunghwan.chung
936b9179ed restored some sample moo code files 2018-11-06 06:26:34 +00:00
hyunghwan.chung
65a702a88b enhanced callback functions for os2 2018-11-06 06:24:59 +00:00
hyunghwan.chung
72f500e73b changed a bit for os2 build 2018-11-05 13:14:24 +00:00
hyunghwan.chung
7699d332b8 added dl_startup and dl_cleanup to vmprim 2018-11-03 16:11:55 +00:00
hyunghwan.chung
d932d5f29b changed the way to include some header files in main.c 2018-11-03 11:38:32 +00:00
hyunghwan.chung
8ddc835503 added vmprim.assertfail to replace moo_assertfailed() which contains system dependent code 2018-11-03 11:03:17 +00:00
hyunghwan.chung
eac1febfad cleaned up code 2018-11-02 14:24:31 +00:00
hyunghwan.chung
0dcee7baac changed ffi.c to use moo_seterrwithsyserr() 2018-11-02 05:57:27 +00:00
hyunghwan.chung
1a3a681e8d removed qse_syserr_to_errnum().
changed syserrstrb() and syserrstru() to return the converted error number from the system error code
2018-11-02 05:51:22 +00:00
hyunghwan.chung
4edebb2a45 touched up code a bit 2018-11-01 14:17:40 +00:00
hyunghwan.chung
5580b1abc2 simplified vm_startup() and vm_cleanup() in main.c
used qse_seterrwithsyserr() in mod/stdio.c
2018-11-01 14:04:48 +00:00
hyunghwan.chung
ae06fb7b8b renamed QSE_INITNTIME to QSE_INIT_NTIME
made similar changes to other NTIME macros
implemented vm_gettime() for WIN32 using GetTickCount()/GetTickCount64()
2018-11-01 09:04:19 +00:00
hyunghwan.chung
6e8b772d9b enabled dynamic module in moo-msw.h 2018-10-31 03:48:20 +00:00