Commit Graph

1135 Commits

Author SHA1 Message Date
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
hyunghwan.chung
9ba623d5a0 compiler enhancement - improved pooldic import reloading upon 'extend' 2019-10-01 17:15:55 +00:00
hyunghwan.chung
6931d14432 improving pooldic handling - auto-import a nested pooldic in a class 2019-10-01 09:19:25 +00:00
hyunghwan.chung
e145c4742e enhanced the compiler and the interface structure to allow an interface as a name space.
enhanced formatted output of namespace, interface, class to include the hierarchy.
changed the pooldic item terminator from a period to a comma
2019-09-30 08:46:50 +00:00
hyunghwan.chung
5bb0fb70b8 fixed a bug in moo_shallowcopy() 2019-09-30 05:23:04 +00:00
hyunghwan.chung
3559e5fa0e some code for const processing 2019-09-29 14:54:50 +00:00
hyunghwan.chung
19d480719e monor code touch-up 2019-09-28 09:14:21 +00:00
hyunghwan.chung
66be4b4d39 added a few lines of code to support 'const' declaration inside class definition 2019-09-27 10:51:29 +00:00
hyunghwan.chung
c0b8048081 shaped up vm profiling by tracking the number of method cache hits/misses 2019-09-27 03:41:03 +00:00
hyunghwan.chung
9d74ec842f unsigned argument/return handling in ffi 2019-09-26 07:48:02 +00:00
hyunghwan.chung
d245867d9a minor type change in std.c 2019-09-25 14:39:00 +00:00
hyunghwan.chung
d845719359 better kqueue error handling 2019-09-25 14:34:43 +00:00
hyunghwan.chung
452caae336 enhanced kqueue manipulation with fd tracking 2019-09-25 10:05:39 +00:00
hyunghwan.chung
da2a8a464a updated configure.ac to show FFI_LIBS 2019-09-24 02:13:35 +00:00
hyunghwan.chung
3c8fe60b7e added experimental kqueue support 2019-09-23 08:44:22 +00:00
hyunghwan.chung
d50f4fab99 added kqueue check into configure.ac 2019-09-23 06:48:55 +00:00
hyunghwan.chung
a0a0756b9d changed moo_shallowcopy() to exclude the hash field when copying 2019-09-23 06:42:47 +00:00
hyunghwan.chung
cc9c1a3925 simplified the uncocpyable check in moo_shallowcopy() 2019-09-22 16:26:30 +00:00
hyunghwan.chung
de72bc6b58 added the #uncopyable attribute to the class definition. 2019-09-22 15:59:09 +00:00
hyunghwan.chung
97f264398d changed moo_shallowcopy() to stop copying a process object or an object with trailers 2019-09-20 09:27:24 +00:00
hyunghwan.chung
e0c116ecd4 enhanced object hash handling 2019-09-19 14:10:00 +00:00
hyunghwan.chung
e1e577ec22 touched up user-defined signal handling 2019-09-18 08:24:05 +00:00
hyunghwan.chung
3db6820932 trying to improve hash handling with moving gc 2019-09-17 23:15:20 +00:00