Commit Graph

1139 Commits

Author SHA1 Message Date
hyunghwan.chung
c62a0ce3c5 changed some numeric primitives to support fpdec 2019-01-09 16:07:27 +00:00
hyunghwan.chung
29f7058ebf added MOO_IOTOK_FPDECLIT and some handling code 2019-01-09 09:55:27 +00:00
hyunghwan.chung
661f36c17c attempint to add fpdec parsing elements 2019-01-08 10:05:27 +00:00
hyunghwan.chung
77fee95759 added two test cases 2019-01-04 16:01:55 +00:00
hyunghwan.chung
1463621bdb added some function prototypes 2019-01-01 06:44:28 +00:00
hyunghwan.chung
25e2c070cf more use of MOO_STORE_OOP() 2018-12-31 16:47:54 +00:00
hyunghwan.chung
5dd67859d7 change the ngc bit to the proc bit to determine the process object.
added temporary work around the faulty gc
2018-12-29 15:16:58 +00:00
hyunghwan.chung
fc3a725bb8 renamed moo_pushtmp()/poptmp()/poptmps() to moo_pushvolat()/popvolat()/popvolats() 2018-12-28 08:29:27 +00:00
hyunghwan.chung
53c0783da8 fixed a gc bug in bigint.c 2018-12-27 15:46:19 +00:00
hyunghwan.chung
83cfbb0b30 interim commit without many changes 2018-12-26 10:32:31 +00:00
hyunghwan.chung
3c881ebe0c removed xtn->log.mask and set log mask using moo_setoption() 2018-12-26 08:29:20 +00:00
hyunghwan.chung
63371a52d5 used more macros for object slot access.
found a gc bug that have yet to be debugged
2018-12-25 16:00:47 +00:00
hyunghwan.chung
e97ca41d8c more use of MOO_STORE_OOP 2018-12-23 16:54:17 +00:00
hyunghwan.chung
3e623c6677 added more test cases 2018-12-23 16:44:47 +00:00
hyunghwan.chung
9e91e32c75 made div-by-zero a soft failure in pf_integer_div 2018-12-23 16:43:19 +00:00
hyunghwan.chung
b13892d586 substitute more macros for the slot field access.
simplified code by getting rid of SET_ACTIVE_METHOD_CODE() and making related changes
2018-12-23 08:33:52 +00:00
hyunghwan.chung
981882de7e check smptr check in pf_call() in ffi.c
changed FFI>>call:signature:arguments: to throw an FFIException exception upon failure
added FFIException
2018-12-22 08:37:18 +00:00
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