Commit Graph

1222 Commits

Author SHA1 Message Date
hyunghwan.chung
f69b4c0881 a few more test cases 2018-12-21 16:58:58 +00:00
hyunghwan.chung
7b7906bf09 define private prototypes of moo_sprintfmtst() and moo_sproutbfmt() 2018-12-21 16:40:20 +00:00
hyunghwan.chung
b55b63cd51 deleted unused code 2018-12-21 16:34:23 +00:00
hyunghwan.chung
71a617b95b enhanced moo_inttostr() with 2 new flags - MOO_INTTOSTR_LOWERCASE and MOO_INTTOSTR_NONEWOBJ
redefined bigint and fpdec check macros
added the strfmt primitive to String
2018-12-21 16:25:25 +00:00
hyunghwan.chung
d3227d1452 filled moo_makefpdec() 2018-12-21 07:54:57 +00:00
hyunghwan.chung
bbcf85d2b6 more use of macros for the slot field access 2018-12-20 16:58:32 +00:00
hyunghwan.chung
866913e199 added some code to implement fixed point decimal numbers 2018-12-20 16:33:23 +00:00
hyunghwan.chung
3b49f6998a reverted previous changed done for testing and debugging 2018-12-20 16:11:52 +00:00
hyunghwan.chung
9a4bbcaa4c fixed wrong computation of buffer capacity for moo->inttostr.xbuf and moo->inttostr.t
updated some sample code
fixed a few flaws in ffi.c
2018-12-20 16:08:56 +00:00
hyunghwan.chung
fb7b226ea8 used more access macros 2018-12-19 16:57:16 +00:00
hyunghwan.chung
18aa5c37c0 changed quite some accesses to the slot field with macros. wip 2018-12-19 15:47:52 +00:00
hyunghwan.chung
4affb25b28 more use of MOO_STORE_OOP 2018-12-16 17:35:46 +00:00
hyunghwan.chung
3d57095c4a changing code to use more macros for the slot field access 2018-12-12 15:05:18 +00:00
hyunghwan.chung
8d10b4a5fa exposed moo_lookupdic_noseterr() which doesn't set error information upon failure so as to avoid setting error information unnecessarily during method lookup(moo_findmethod(), etc) 2018-12-10 13:34:31 +00:00
hyunghwan.chung
1d3d7aee4c fixed a bug that allocated more than necessary in alloc_numeric_array() when 'extra' is true.
added a check on the PERM flag in compact_symbol_table()
2018-12-10 09:30:37 +00:00
hyunghwan.chung
66f8b530c7 minor coding change 2018-12-09 17:16:47 +00:00
hyunghwan.chung
fac97a3921 debugging gc with permspace 2018-12-09 17:14:56 +00:00
hyunghwan.chung
e73c81e2b7 added moo->igniting and attempted to allocate memory from permheap when it's 1.
relevant gc change is still pending
2018-12-09 07:21:16 +00:00
hyunghwan.chung
647edf3268 changed moo_makeheap() a bit
added the PERM bit to the object header
2018-12-08 17:36:20 +00:00
hyunghwan.chung
29b19e10b3 fixed a wrong function name used 2018-12-08 15:36:20 +00:00
hyunghwan.chung
033c34f9b2 touching up code for ongoing gc enhancement 2018-12-08 15:35:26 +00:00
hyunghwan.chung
a7fc55efac adding MOO_STORE_OOP and MOO_STORE_OOP_TO_ARRAY 2018-12-04 15:06:56 +00:00
hyunghwan.chung
9b48cff37d fixed a bug in moo_unchatch_termreq for dos 2018-12-04 08:40:59 +00:00
hyunghwan.chung
cd5284e65f removed moo_ignore_termreq() 2018-12-04 03:34:54 +00:00
hyunghwan.chung
e2593e00c6 some meaningless switch from signal() to int32 handling 2018-12-02 05:57:10 +00:00
hyunghwan.chung
f0982b54a3 Added a few TODOs into std.c 2018-12-01 15:11:11 +00:00
hyunghwan.chung
f625047af2 avoided to use a 64bit integer in vm_gettime() on os2 because some old compilers don't have the 64 bit type 2018-12-01 14:52:24 +00:00
hyunghwan.chung
b5ae2ddea3 changed to use sprintf() if strftime() doesn't work 2018-12-01 13:44:57 +00:00
hyunghwan.chung
668f06671f handled potential overflow in vm_gettime() for __DOS 2018-12-01 06:15:31 +00:00
hyunghwan.chung
800429d4db updated icc.mak
fixed a wrong function name in #pragma interrupt in std.c
2018-12-01 05:22:53 +00:00
hyunghwan.chung
d79d84ee66 touched up code for icc 2018-11-30 15:19:33 +00:00
hyunghwan.chung
2cb844b8ce attempting to fix clock overflow 2018-11-30 14:18:35 +00:00
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