Commit Graph

1157 Commits

Author SHA1 Message Date
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
hyunghwan.chung
c2458c61cb changed MOO_STACK_PUSH to check process stack overflow 2019-10-16 09:50:12 +00:00
hyunghwan.chung
3f7e4b0953 added --procstksize to bin/main.c 2019-10-16 09:04:09 +00:00
hyunghwan.chung
724663e268 code clean-up 2019-10-15 15:45:02 +00:00
hyunghwan.chung
bf53ba8d7e fixed children/parent check in X11.moo 2019-10-13 13:20:49 +00:00
hyunghwan.chung
5d1d42f608 changed to fallback to ITIMER_REAL if ITIMER_VIRTUAL fails. fix for WSL 2019-10-12 14:55:37 +00:00
hyunghwan.chung
277dc64ac4 implemented interface method duplication check in the compiler 2019-10-12 04:21:23 +00:00
hyunghwan.chung
5be193b3fe compiler enhancement to take interface method to class 2019-10-11 16:42:43 +00:00
hyunghwan.chung
050fba7213 emulated non-blocking pipe read with PeekNamedPipe() in win32 2019-10-11 03:30:00 +00:00
hyunghwan.chung
1a10655784 changed the return type of close_pipes from int to void in std.c 2019-10-10 15:09:44 +00:00
hyunghwan.chung
d5384b8b82 fixing the compiler to support interface method taking to a class 2019-10-10 15:06:08 +00:00
hyunghwan.chung
af9a1ddf1b some tweaks to lib/std.c for win32 2019-10-10 06:30:04 +00:00
hyunghwan.chung
910a83096e renamed MOO_SYNERR_SELFINACC to MOO_SYNERR_SUPERINACC
fixed interface signature checker to handle a method signature without body and a full interface method with body differently
2019-10-09 16:58:10 +00:00
hyunghwan.chung
0e75970f13 fixed a bug in handling method body of an interface 2019-10-08 15:49:48 +00:00
hyunghwan.chung
042edde349 compiler works in progress to support interface methods 2019-10-07 16:50:17 +00:00
hyunghwan.chung
c50dba7c89 some compiler works 2019-10-06 23:25:36 +00:00
hyunghwan.chung
7b8b7d70fd removed unused code of putting compiled method code into a separate array.
started implementing interface method support
2019-10-04 18:32:38 +00:00
hyunghwan.chung
eb3461b588 more work to get interface method implementation started 2019-10-04 09:41:43 +00:00
hyunghwan.chung
8390804a6c some preparatory work before supporting method body in an interface. 2019-10-03 16:38:15 +00:00
hyunghwan.chung
e1d71f340e changed find_dotted_ident() and find_undotted_ident() 2019-10-03 10:30:05 +00:00
hyunghwan.chung
209c6bf691 updated README.md 2019-10-02 09:36:44 +00:00
hyunghwan.chung
cdd8d7f890 got rid of 'const' handling code attempted.
cleaned up pooldic handling code more.
made a pooldic item value read-only by default
2019-10-02 09:34:43 +00:00