98 Commits

Author SHA1 Message Date
hyunghwan.chung
d0b20bee08 added comparision to the Character class 2017-12-30 19:07:31 +00:00
hyunghwan.chung
3c6b73b2b5 cleaned up code related to IO semaphores and multiplexing 2017-12-26 15:55:06 +00:00
hyunghwan.chung
959c376308 revised io semaphore handling routines 2017-12-25 18:35:23 +00:00
hyunghwan.chung
3d0bcf970e changed to support a pair of semaphores on a single handle for input and output respectively 2017-12-24 17:36:20 +00:00
hyunghwan.chung
e63596688a added moo_seterrwithsyserro()let the compier to remove the leading underscores when resolving a primitive function in a separate module 2017-12-17 15:20:58 +00:00
hyunghwan.chung
e9cea47273 added the --debug option for the debug build 2017-12-16 16:14:23 +00:00
hyunghwan.chung
92a21f04b8 renamed mod_console to mod_con.
added --enable-mod-con in configure.ac
2017-12-13 10:57:31 +00:00
hyunghwan.chung
7395a5d2d2 touched up some primitive functions 2017-12-03 17:08:04 +00:00
hyunghwan.chung
2c85319cb0 started adding a socket module and the Socket class 2017-10-18 16:15:51 +00:00
hyunghwan.chung
cb2b93d01c fixed an issue in isKindOf: 2017-09-30 04:49:54 +00:00
hyunghwan.chung
a240b0be7d prevented the _is_kind_of primitive handler from returning an error 2017-09-29 15:12:01 +00:00
hyunghwan.chung
303b49270d added moo_iskindof().
changed isKindOf: to utilize a new primitive _is_kind_of.
marked BlockContext and MethodContext to be #final and #limited
2017-09-29 15:03:54 +00:00
hyunghwan.chung
8f6b21a4f6 changed the process id map to put the freed id at the back of the list 2017-07-30 15:15:47 +00:00
hyunghwan.chung
f78bf33866 improved pid management 2017-07-27 17:29:45 +00:00
hyunghwan.chung
e65912ae72 improved gcfin handling a bit
attempted to use XLoadFontSet in the x11 plugin experimentally
2017-07-27 08:32:16 +00:00
hyunghwan.chung
979040e7b3 fixed the io semaphore handling error when DEVPOLL is activated 2017-06-27 13:47:58 +00:00
hyunghwan.chung
d311c7cb6e interim commit of various experiments 2017-06-16 09:45:22 +00:00
hyunghwan.chung
9b3c3007fd Added a new syntax error code MODIMPFAIL 2017-06-08 14:39:17 +00:00
hyunghwan.chung
36c48a8daf made some changes to system logging primtitives and supporting codes.
struggling with name space handling
2017-05-21 16:57:21 +00:00
hyunghwan.chung
1bdaba968d added nsup field to the class object to chain back to the upper namespace in the hierarchy.
changed bootstrapping code and compiler code to weave top-level namespace hierarchy more consistantly, mostly related to the System class and its intrinsic namespace dictionary linked via the nsdic field
2017-05-20 02:27:48 +00:00
hyunghwan.chung
5e7771b799 added MOO_LOG_MAXCAPA 2017-05-12 16:38:16 +00:00
hyunghwan.chung
f5d311e825 enhanced logging functions to be more error-resistent 2017-05-12 04:15:09 +00:00
hyunghwan.chung
9208d078b2 added moo_seterrbfmt() and moo_seterrufmt() 2017-05-11 14:59:20 +00:00
hyunghwan.chung
8f00605804 fixed minor issues in dealing with poll() 2017-05-07 14:32:38 +00:00
hyunghwan.chung
1dff630fdd changed how to calculate the mid point in a binary search loop 2017-05-04 05:22:45 +00:00
hyunghwan.chung
f69c54c339 added /dev/poll interfacing code for solaris
change rbt.c to align the value pointer on a word boundary to avoid bus error on sparc64
2017-04-28 14:45:13 +00:00
hyunghwan.chung
bce77eda6c added --enable-mod-x11 and --enable-mod-ffi to configure 2017-04-28 04:03:52 +00:00
hyunghwan.chung
88b2a0787f more xcb implementation code 2017-04-07 15:50:05 +00:00
hyunghwan.chung
e2d73eccdb extended the tag bits to support more than 3 special types.
tag bit calculation got slower but it can use up to 4 bits to represent more types
2017-04-02 13:13:33 +00:00
hyunghwan.chung
447670aba8 implemented more prechecks including the existence of the primitive function handler and the number of supported arguments when compiling primitive method defintions 2017-03-31 14:21:22 +00:00
hyunghwan.chung
0f84a115ae added moo_pfbase_t and changed some functions to return moo_pfbase_t* instead of moo_pfimpl_t
touched up some modules
2017-03-30 14:59:55 +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
b45d896d9f renamed the #native method modifier to #primitive for consistency
improved the method modifier processing logic in the compiler
2017-02-20 04:45:23 +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
f89d809cdc added moo_genpfmethods() and moo_findpfimpl() for convenience of writing primitive modules 2017-02-14 10:25:26 +00:00
hyunghwan.chung
71aa1110ed added more preamable codes.
enhanced the system to be able to attach trailing spaces to an object upon instantiation, especially for external modules to be able to secure GC-safe free workspace inside an instantiated object
added moo_setclasstrsize(), moo_getobjtrailer() for the trailer feature
2017-02-14 08:29:30 +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
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
07d8d0ea83 implemented simple optimization in compiling an if expression 2017-01-31 16:14:11 +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
b2fb361df4 renamed stix to moo 2017-01-09 10:25:22 +00:00