34 Commits

Author SHA1 Message Date
hyunghwan.chung
89c0a406f3 fixed a bug of not updating the system multiplexer when moving an IO semphoare object 2017-04-08 07:23:31 +00:00
hyunghwan.chung
3fcfcff0ad added a new modifier #variadic to make variadic method definition more obvious.
allowed the #primitive modifier in a method definition not associated with an external module.
fixed a bug in handling soft failure from numbered primitive functions
2017-03-23 16:14:22 +00:00
hyunghwan.chung
46ba3bb3f5 added respondsTo: and perform:with:
fixed a bug in Dictionary>>__remove_at:
added gc callback to external modules
2017-03-19 14:18:37 +00:00
hyunghwan.chung
6a2add620b fixed two minor bugs in main.c 2017-03-09 13:39:59 +00:00
hyunghwan.chung
1ebfe8d5e9 added a simple LinkedList 2017-03-04 05:48:23 +00:00
hyunghwan.chung
90f46cc1fe simplified the event handling thread implementation by letting only 1 thread waiting for events 2017-02-22 09:48:58 +00:00
hyunghwan.chung
513ed296a0 enhanced the event handling code further 2017-02-21 19:51:10 +00:00
hyunghwan.chung
52d6867944 wrote experimental code to handle events efficiently and asynchronously 2017-02-21 19:20:27 +00:00
hyunghwan.chung
93e776a9d8 wrote some incomplete code to support native method definition - method(#native) ... 2017-02-18 15:00:45 +00:00
hyunghwan.chung
607e6c8502 experimenting with event driven mechanism 2017-02-18 13:31:47 +00:00
hyunghwan.chung
be677dd53a added partial experimental code for io event handling 2017-02-15 11:57:24 +00:00
hyunghwan.chung
bc5ab97ccf added the main program to handle SIGINT 2017-02-14 14:00:14 +00:00
hyunghwan.chung
73231a29d7 enhanced the primitive module loader such that it can load multiple primitmive groups from a single module file.
fixed a bug of setting errnum wrongly in character conversion functions
2017-02-13 13:25:42 +00:00
hyunghwan.chung
4c13989947 enabled the compiler to support a class name as a namespace.
started adding code for event-driven IO handling
2017-02-12 18:59:03 +00:00
hyunghwan.chung
2c8eb87408 refactored moo_execute() by taking process switcher out to a separate inline function 2017-02-11 05:48:30 +00:00
hyunghwan.chung
7384777b59 introduced vm_getttime, vm_sleep, vm_startup, vm_cleanup callbacks 2017-02-10 09:06:53 +00:00
hyunghwan.chung
0178693f77 added --enable-libltdl to configure 2017-02-09 16:26:44 +00:00
hyunghwan.chung
c613b6955d fixed a segfault bug when the source file cannot be opened 2017-02-09 15:56:51 +00:00
hyunghwan.chung
c6cf64a586 fixed some issues in logfmt routines.
changed the dl_getsym callback to  use the dynamic memory allocation if the static buffer isn't large enough
2017-02-09 08:05:14 +00:00
hyunghwan.chung
eb83c8d83a started the first step to implement array expression support enclosed in #{ }.
added 2 new byte codes - MAKE_ARRAY, POP_INTO_ARRAY for implementation
2017-02-05 13:54:52 +00:00
hyunghwan.chung
98b6dd1118 enhanced the dynamic library loader a bit 2017-02-04 05:30:15 +00:00
hyunghwan.chung
54a2128713 fixed -L directory order in lib/Makefile.am to avoid linking to libmoo-xxx shared objects when MOO_ENABLE_STATIC_MODULE is on and $(libdir) contains libmoo-xxx files - place the module build directory in front of other library directories.
fixed problems when MOO_OOCH_IS_BCH
2017-02-03 06:28:12 +00:00
hyunghwan.chung
ea6d48eb0e improved the #include handling to remember the file loaded and use it when loading an includee file 2017-02-02 12:45:15 +00:00
hyunghwan.chung
6209b13410 added the local return byte code - BCODE_LOCAL_RETURN -> it returns to the origin of the active context 2017-01-22 18:01:26 +00:00
hyunghwan.chung
002aa9a3f1 changed the compiler to emit PUSH_NIL when the braced block is empty for if 2017-01-19 17:12:16 +00:00
hyunghwan.chung
70f9976af3 added moo_duputobcharswithheadroom(), moo_dupbtoucharswithheadroom()
added moo_inttoooi() and made public moo_inttooow()
enhanced the ffi module a bit more
2017-01-15 17:53:37 +00:00
hyunghwan.chung
750f529201 added more string duplication and conversion functions 2017-01-12 16:33:26 +00:00
hyunghwan.chung
ec3285da57 added more character conversion functions 2017-01-12 10:06:43 +00:00
hyunghwan.chung
808586ca00 added the dyncall library detection into configure.ac 2017-01-10 14:27:31 +00:00
hyunghwan.chung
1612143499 added MOO_IN_SMPTR_RANGE(), MOO_SMPTR_TO_OOP(), MOO_OOP_TO_SMPTR().
refactored ffi a bit more
2017-01-10 13:56:19 +00:00
hyunghwan.chung
faf6ca28e5 added MOO_VMPRIM_OPENDL_PFMOD.
started refactoring ffi handling code
2017-01-10 10:50:26 +00:00
hyunghwan.chung
95885e4dec fixed some wrong code 2017-01-09 14:52:15 +00:00
hyunghwan.chung
cd79383202 simple error handling in write handler 2017-01-09 13:48:33 +00:00
hyunghwan.chung
b2fb361df4 renamed stix to moo 2017-01-09 10:25:22 +00:00