Commit Graph

1249 Commits

Author SHA1 Message Date
hyunghwan.chung
0017564a69 set the default log type if not set 2019-01-28 17:42:04 +00:00
hyunghwan.chung
c13fe9b769 removed an irrelevant comment 2019-01-28 08:12:47 +00:00
hyunghwan.chung
623f97e2f9 removed unneeded code 2019-01-26 16:45:23 +00:00
hyunghwan.chung
c3705dd340 renamed logfmtv to fmtoutv and made related changes 2019-01-25 07:49:01 +00:00
hyunghwan.chung
365518f7c3 minor fixes 2019-01-24 07:43:50 +00:00
hyunghwan.chung
5101228c39 Added pf_number_mlt() whcih scales to the smaller of the two fixed-point numbers 2019-01-10 15:28:37 +00:00
hyunghwan.chung
9cd0b28933 change the behavior of pf_number_div upon divide by zero 2019-01-10 15:22:43 +00:00
hyunghwan.chung
7d3d21b3cf added moo_numtostr() 2019-01-10 10:01:50 +00:00
hyunghwan.chung
cd4d34c724 added some number primitives 2019-01-10 07:00:17 +00:00
hyunghwan.chung
05a3c4eefd changed the dump format of large integers and fixed-point decimals 2019-01-10 06:26:32 +00:00
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