Commit Graph

136 Commits

Author SHA1 Message Date
f0de3ae292 touched up code a little 2018-04-05 15:15:36 +00:00
53772a9e96 changed the output format for dump 2018-03-25 17:23:48 +00:00
d08370f73f added default hash for nil, true, false 2018-03-25 16:29:09 +00:00
ae0f559060 enhanced --enable-unicode to accept ucs4 and ucs2 in addition to yes/no.
redefined the moo_uch_t type to follow the enable-unicode value
2018-02-21 10:11:39 +00:00
8233a6ae0a deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:35:59 +00:00
4aa9a711ad fixed the premature termination issue in logfmtv 2018-02-21 08:48:57 +00:00
f668f81234 changed the io semaphore signalling behavior a little bit 2018-02-19 16:22:15 +00:00
54747b0d7c changed io semaphore signaling code to signal an output semaphore to be triggered upon HANGUP or ERROR if no input semaphore is attached on the IO handle watched 2018-02-18 15:55:07 +00:00
a72f8dbfea added an error message 2018-02-15 14:30:25 +00:00
ee5dde159b changed a type name in lib/exec.c 2018-02-08 09:07:26 +00:00
76c3d78d46 some code changes related to async socket io 2018-02-04 16:35:45 +00:00
c0d86a8f0e renamed moo_purgesemiosbyhandle() to moo_releaseiohandle()
pushed back when to call moo_cb_t callbacks
2018-02-03 16:42:13 +00:00
eb35c3d865 added moo_purgesemiosbyhandle() 2018-02-03 07:16:29 +00:00
ea70db9633 changed some error messages 2018-02-02 16:32:15 +00:00
e70b424826 enhanced the vm cleanup to be more error resistent 2018-02-02 14:37:49 +00:00
e33ea4321e added moo_backuperrmsg() 2018-01-19 17:44:07 +00:00
a7b0814551 fixed code a bit for a legacy platform and compiler 2018-01-17 02:57:03 +00:00
9a2de69aae removed unneeded blank lines 2018-01-03 07:18:50 +00:00
8f69172898 revised moo_compucharsucstr() and similar functions 2018-01-03 06:56:41 +00:00
5474ae242d added Apex>>basicMoveFrom:with:count: and Apex>>basicShiftFrom:to:count: 2018-01-02 16:25:37 +00:00
27dbedbc50 fixed the invalid memory access issue in moo_compucharsucstr() and similar functions.
added the log.default_type_mask field 
restructured the builtin primitive function table
2017-12-31 16:46:52 +00:00
d0b20bee08 added comparision to the Character class 2017-12-30 19:07:31 +00:00
e10f00a1ab fixed an IO thread termination bug 2017-12-28 17:10:30 +00:00
09585a4ea5 initialized sem_gcfin in vm_startup().
fixed a new problem in error message output bound for stderr.
fixed  wrong timeout value calculatin in exec.c
2017-12-28 16:12:10 +00:00
dbb38a5d31 use EPOLLET when modifying with epoll_ctl() 2017-12-28 07:26:19 +00:00
edba0207fb fixed log mask parsing in main.c.
touched up error handling a little bit
2017-12-28 04:58:17 +00:00
9f27e27d25 improved error handling a bit 2017-12-27 10:32:57 +00:00
3c6b73b2b5 cleaned up code related to IO semaphores and multiplexing 2017-12-26 15:55:06 +00:00
959c376308 revised io semaphore handling routines 2017-12-25 18:35:23 +00:00
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
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
e9cea47273 added the --debug option for the debug build 2017-12-16 16:14:23 +00:00
b61734a9e8 fixed an GC issue caused by unbalanced moo_pushtmp() and moo_poptmp() calls 2017-12-13 16:00:48 +00:00
9770ddbac6 revised some semaphore related methods, primitive functions 2017-12-11 16:27:53 +00:00
69b2107ed9 changed semaphore primitive functions to return MOO_PF_FAILURE upon an error 2017-12-10 15:40:29 +00:00
6a8db215f8 relocated gc related primitive functions 2017-12-09 17:45:10 +00:00
7c5afe2d5b added SmallPointer<<getBytes, SmallPointer<<putBytes 2017-12-09 16:04:17 +00:00
541ab59028 added System<<getBytes, System<<putBytes.
also added primitive functions for the above
2017-12-09 15:47:43 +00:00
471d8ad797 relocated system/smptr primiives to pf-sys.c 2017-12-08 15:28:51 +00:00
b6cb06c680 started migrating some primitive functions to a separate file 2017-12-05 16:51:20 +00:00
7395a5d2d2 touched up some primitive functions 2017-12-03 17:08:04 +00:00
76b975a152 changed the compiler to remove all leading spaces from a method name when composing a primitive identifer.
started enhancing the compiler to support the #pragma directive
2017-11-24 17:40:20 +00:00
b07cab3874 migrated some primitives from Processor to System.
Fixed a bug in manipulating moo->sem_io_wait_count.
Experimenting to add a shortcut exception handling syntax
2017-11-21 09:15:22 +00:00
85b25d53bc relocated quite a few methods from ProcessorScheduler to System 2017-11-05 16:47:13 +00:00
b451835c4b added an informational log message upon program termination 2017-11-04 03:57:38 +00:00
384c5702bf changed to raise/lower the number of IO semaphores being waited on when a semaphore is added/removed to/from a semaphore group.
reverted semaphore removal disallowance implemented in the previous revision
2017-11-04 03:41:08 +00:00
27c2c5b404 disallowed semaphore removal from a group when a process is waiting for the semaphore to be signaled 2017-11-03 16:26:55 +00:00
f7272c00fb decremented the waiting count of IO semaphores in a semaphore in a semaphore group is signaled 2017-11-03 08:10:52 +00:00
5ae166c1d4 attempted to fix wrong IO semaphore handling over a semaphore group 2017-10-31 07:13:22 +00:00
2c85319cb0 started adding a socket module and the Socket class 2017-10-18 16:15:51 +00:00