Commit Graph

1178 Commits

Author SHA1 Message Date
hyunghwan.chung
44810da2d6 relocated some character related functions to chr.c and moo-chr.h 2019-11-26 05:10:34 +00:00
hyunghwan.chung
6d53e357bd changed the function postfix 'with_limit' to 'limited' 2019-11-25 15:03:05 +00:00
hyunghwan.chung
c5f6a70e2d renamed moo_count_bcstrl() to moo_count_bcstr_with_limit()
renamed moo_count_ucstrl() to moo_count_ucstr_with_limit()
2019-11-25 07:03:13 +00:00
hyunghwan.chung
beef17caf6 fixed a wrong conditional in moo-prv.h 2019-11-24 05:11:18 +00:00
hyunghwan.chung
df453b354c removed unneeded lines 2019-11-23 15:22:04 +00:00
hyunghwan.chung
474fcebe21 touched up floating-point number formatting code 2019-11-23 04:21:07 +00:00
hyunghwan.chung
3ced20346c added some floating point number formatting code 2019-11-22 09:51:51 +00:00
hyunghwan.chung
597864a4ba defined moo_fmt_intmax_to_oocstr and moo_fmt_uintmx_to_oocstr 2019-11-22 08:23:33 +00:00
hyunghwan.chung
aaa5a50e8c added moo_fmt_intmax_to_ucstr() and similar functions 2019-11-21 09:04:53 +00:00
hyunghwan.chung
e136427d63 added moo_byte_to_ucstr() 2019-11-20 09:32:44 +00:00
hyunghwan.chung
3a27f74492 added moo_oocu_t, moo_ucu_t, moo_bcu_t 2019-11-19 13:50:31 +00:00
hyunghwan.chung
207c12ea1e added builtin unicode character class functions 2019-11-19 09:40:26 +00:00
hyunghwan.chung
25e711fc02 renamed moo_getrbtstyle() to moo_get_rbt_style() 2019-11-18 14:11:14 +00:00
hyunghwan.chung
1dd9595c89 minor spacing change in std.c 2019-11-17 16:23:30 +00:00
hyunghwan.chung
8bf6b40d49 renamed some types and variables for consistency 2019-11-16 15:54:22 +00:00
hyunghwan.chung
925f70fea6 some #include restructuring 2019-11-15 09:39:12 +00:00
hyunghwan.chung
b48ef95e44 some stream works 2019-11-11 14:23:10 +00:00
hyunghwan.chung
623c9b9198 fixed an unexpected compiler bug caused by wrong ifdef while processing a lable at the end of a braced block 2019-11-08 07:28:09 +00:00
hyunghwan.chung
201b475133 some win32 tweaks 2019-11-08 04:11:57 +00:00
hyunghwan.chung
1e34abbb35 changed POP_INTO_BYTEARRAY handling 2019-11-07 04:14:55 +00:00
hyunghwan.chung
7929c0ab3c some cosmetic changes in kernel/System.moo 2019-11-06 06:13:00 +00:00
hyunghwan.chung
0967d0d937 added Process>>isInnate and Process>>isNormal.
redefined System>>findPreviousProcess: and System>>findNextProcess to not skip an innate process.
added System>>findFirstProcess and System>>findLastProcess
2019-11-05 14:46:54 +00:00
hyunghwan.chung
3ae9d2f857 some code touch on process management 2019-11-05 09:29:32 +00:00
hyunghwan.chung
ed9bd1918d increased the object's proc bits to 2 - MOO_OBJ_FLAGS_PROC_BITS.
added BlockContext>>newSystemProcess for internal use
2019-11-04 14:53:33 +00:00
hyunghwan.chung
546c766a39 redefined gcfin_proc and ossig_proc as class instance variables of System 2019-11-04 08:44:23 +00:00
hyunghwan.chung
dbf066695b experiment with emscripten and wasm 2019-11-03 16:02:22 +00:00
hyunghwan.chung
850fb4971f added moo_count_bcstrl() and moo_count_ucstrl() that limits the maximum length.
added some experimental emscripten/wasm related code
2019-11-03 09:15:24 +00:00
hyunghwan.chung
09a1cb95ec some wasm experiments 2019-11-02 06:34:18 +00:00
hyunghwan.chung
ef75871a93 simplified io-file.c with a macro 2019-11-02 01:51:44 +00:00
hyunghwan.chung
b2d7f4bb58 added moo_inttooow_noseterr(), moo_intttoooi_noseterr(), moo_inttouintmax_noseterr(), moo_inttointmax_toseterr() 2019-11-01 09:15:53 +00:00
hyunghwan.chung
9c743960d8 more functions to io-file.c 2019-10-31 09:09:11 +00:00
hyunghwan.chung
762dcb3f66 minor changes in MOO_STATIC_ASSERT() definition.
defined O_CLOEXEC to 0 when it's not defined
2019-10-30 14:34:43 +00:00
hyunghwan.chung
290b583f41 some tweaking about LFS support 2019-10-30 13:36:04 +00:00
hyunghwan.chung
176710609e change a wrong return type of moo_mod_querypv_t 2019-10-30 08:37:52 +00:00
hyunghwan.chung
e7cc1936fb merged System>>_enableProcessSwitching and System>>_disbaleProcessSwitching to System>>_toggleProcessSwitching: 2019-10-30 08:30:22 +00:00
hyunghwan.chung
b5b72c626c enhanced the compiler to handle a string as a series of bytes in a byte array literal.
added FileAccessor>>seek:whence:
2019-10-29 14:21:14 +00:00
hyunghwan.chung
044177fa61 removed the variadic field from the moo_pfinfo_t structure.
defined variadic Integer>>bitAnd, Integer>>bitOr, Integer>>bitXor methods
2019-10-28 12:55:32 +00:00
hyunghwan.chung
5004b39125 removed MOO_BQ().
changed the primitive value load method
2019-10-26 14:34:19 +00:00
hyunghwan.chung
3874483b23 enhanced the array literal reader to allow a comma if used after the first element 2019-10-26 02:04:36 +00:00
hyunghwan.chung
6a80f08bae fixed primitive value load from load 2019-10-25 14:59:13 +00:00
hyunghwan.chung
484f5ef7f9 extended module query facility to find primitive value(querypv) as well as primitive function(querypf) 2019-10-25 08:44:05 +00:00
hyunghwan.chung
dde69fb64e changed to use moo_bch_t* in moo_pfinfo_t from moo_ooch_t[] 2019-10-25 03:22:40 +00:00
hyunghwan.chung
feb1825c41 set processor's primitive error information before handling #lenient 2019-10-24 15:17:46 +00:00
hyunghwan.chung
d73427cbae working on IO classes and modules 2019-10-24 09:37:47 +00:00
hyunghwan.chung
9ea7019190 adding mod/io.c 2019-10-23 16:40:02 +00:00
hyunghwan.chung
dde40650c3 removed unneede text from kernel/Stream.moo 2019-10-23 09:39:21 +00:00
hyunghwan.chung
54a1970430 changed --memsize to --heapsize in bin/main.c 2019-10-22 14:25:52 +00:00
hyunghwan.chung
aef2827506 made True and False #final #limited 2019-10-21 14:42:01 +00:00
hyunghwan.chung
6f9c77ed5e minimized frequent calls to moo_seterrbfmt() by call moo_lookupdic_noseterr() instead of moo_lookupdic().
added moo_findmethod_noseterr().
renamed method_exists() to method_exists_noseterr()
2019-10-18 06:42:16 +00:00
hyunghwan.chung
d7203b3e83 implemented a fork-based ticker in case setitimer() isn't available 2019-10-17 15:43:00 +00:00