Commit Graph

212 Commits

Author SHA1 Message Date
1200203eba some changes for an old borland compiler 2018-10-30 06:02:36 +00:00
64a4e7bc51 put 'static' to internal functions 2018-10-12 09:16:44 +00:00
18b270529c added moo_findmethodinclasschain()
added MOO_SYNERR_CLASSNCIFCE
finished implementing interface conformance check primitively
2018-10-12 09:09:45 +00:00
721ce2b540 fixed some comments 2018-06-29 06:14:35 +00:00
8b7eebd654 added some partial utf8 related primitives 2018-06-17 17:41:04 +00:00
e074607a00 renamed jump_xxxward_if_xxx to jumpop_xxxward_if_xxx because it does pop the stack top.
added jump_forward_if_true, jump_forward_if_fase, jump2_forward_if_true, jump2_forward_if_false to use with the and and or logical operation keywords
2018-05-30 15:32:09 +00:00
8965720926 added two new keywords (and, or) for logical operations. work in progress 2018-05-30 11:31:26 +00:00
d1cfaed466 fixed a compiler bug in handling 'super' with multiple messages sent at the same time as in 'super abc + 10' 2018-05-25 10:19:25 +00:00
4a73109340 renamed various socket functions
fixed a buggy condition that prevented moo->sem_io_wait_count from being decremented in signal_semaphore()
2018-05-18 09:08:05 +00:00
4da0731312 migrated semaphore signal/unsignal methods from System to Semaphore 2018-05-18 08:10:16 +00:00
faef93e7d7 export moo_backtrace()
added textual description for semaphore's io type
2018-05-17 15:33:36 +00:00
70f17d8896 changed code to lower the number of instance variables of the Semaphore class 2018-05-17 10:21:22 +00:00
ca12fc082f added moo_deregallfinalizables()
removed some unused code
2018-05-16 08:03:34 +00:00
f260c04b4e changed the order of listen and multiplexer registeration to avoid spurious hangup event 2018-05-16 07:03:01 +00:00
2d24c53481 interim commit 2018-05-15 10:11:28 +00:00
204a6b16b9 minor code cleanup 2018-05-07 17:28:47 +00:00
b891d31e8b added the mod parameter to primitive functions 2018-05-07 16:52:51 +00:00
ff1d47dd15 more async socket code 2018-05-02 16:36:56 +00:00
e2a9e2c66f introduced the new type moo_bitmask_t 2018-04-26 04:44:01 +00:00
2467b4212a added backtracing code using libunwind 2018-04-26 03:17:54 +00:00
df5b9301dc enhanced the compiler to compile byte array expression.
added MAKE_BYTEARRAY and POP_INTO_BYTEARRAY byte codes
2018-04-19 09:48:45 +00:00
a5328db569 aded a field to hodl the total number of semaphores in SemaphoreGroup
changed await_semaphore_group() to return failure if no member semaphore exists
2018-04-15 16:24:31 +00:00
0d40016fa1 added some experimental code 2018-04-13 10:14:12 +00:00
7b114e3b27 touched up code more for async handling debugging 2018-04-12 16:05:46 +00:00
c85bf336ad changed the error literal notation from error(NNN) to #\NNN.
prohibited the backslash character from forming a binary selector.
renamed quo: to div:, // to mdiv:, \ to mod:
2018-04-08 17:47:38 +00:00
8a6e2c601c renamed some function names for naming consistency 2018-04-07 15:54:09 +00:00
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