Commit Graph

526 Commits

Author SHA1 Message Date
hyunghwan.chung
a7df146e9e added libunwind detection to configure.ac 2018-04-25 15:25:53 +00:00
hyunghwan.chung
a18f4bec7d called lt_dlexit() from more code points 2018-04-25 04:18:51 +00:00
hyunghwan.chung
b4de6c7926 a bit of experiments with semaphores for socket writing 2018-04-19 15:34:25 +00:00
hyunghwan.chung
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
hyunghwan.chung
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
hyunghwan.chung
0d40016fa1 added some experimental code 2018-04-13 10:14:12 +00:00
hyunghwan.chung
7b114e3b27 touched up code more for async handling debugging 2018-04-12 16:05:46 +00:00
hyunghwan.chung
3c0d1d3481 broke some single line type defintions into multiple lines 2018-04-12 09:36:09 +00:00
hyunghwan.chung
cc0c6ed654 renamed OPENDL_PFMOD to DLOPEN_PFMOD 2018-04-12 02:49:22 +00:00
hyunghwan.chung
ad04eaa7b1 added MOO_MOD_INDEX 2018-04-09 16:31:11 +00:00
hyunghwan.chung
231610a884 fixed build files 2018-04-09 06:21:59 +00:00
hyunghwan.chung
c6becb356f changed mod/ffi.c for some function name changes 2018-04-09 02:16:50 +00:00
hyunghwan.chung
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
hyunghwan.chung
8a6e2c601c renamed some function names for naming consistency 2018-04-07 15:54:09 +00:00
hyunghwan.chung
cf5c9d0461 added moo_sqrtint() and moo_absint() 2018-04-07 06:29:17 +00:00
hyunghwan.chung
838189c438 renamed some encoding conversion functions for consistency 2018-04-06 16:33:35 +00:00
hyunghwan.chung
454e616e70 fixed error number setting issues in hcl_seterrxxx() functions.
prefixed internally used encoding conversion functions with hcl_
2018-04-06 15:15:53 +00:00
hyunghwan.chung
f0de3ae292 touched up code a little 2018-04-05 15:15:36 +00:00
hyunghwan.chung
994bfbb976 changed some bigint code 2018-04-03 08:11:11 +00:00
hyunghwan.chung
21e8fae43d fixed the default time format in the log output 2018-03-31 07:14:15 +00:00
hyunghwan.chung
09ccec105b removed a space character 2018-03-27 09:32:49 +00:00
hyunghwan.chung
53772a9e96 changed the output format for dump 2018-03-25 17:23:48 +00:00
hyunghwan.chung
d08370f73f added default hash for nil, true, false 2018-03-25 16:29:09 +00:00
hyunghwan.chung
6a5ff66580 fixed a bug in the default log callback 2018-03-19 09:50:36 +00:00
hyunghwan.chung
fe31b6fab3 changed handle_logopt not to change xtn->logmask if the target file can't be opened 2018-03-17 11:57:58 +00:00
hyunghwan.chung
ec8b457ba9 enhanced the log_write callback to use a single write system call by buffering 2018-03-16 16:11:45 +00:00
hyunghwan.chung
1d298ff05d defined MOO_ERRMSG_CAPA 2018-03-14 14:56:27 +00:00
hyunghwan.chung
c500ca2fa9 renamed a wrong word 2018-03-14 14:14:21 +00:00
hyunghwan.chung
47c46e189d changed moo_getutf8cmgr() to moo_get_utf8_cmgr() 2018-03-12 16:46:21 +00:00
hyunghwan.chung
5316870a60 added MOO_EXPORT to moo_convutobcstr() 2018-03-12 14:08:56 +00:00
hyunghwan.chung
645d0e48bd renamed MOO_BCLEN_MAX to MOO_BCSIZE_MAX 2018-03-12 10:04:22 +00:00
hyunghwan.chung
f8b8ad1ddd added simple code to utilize MMAP_HUGETLB when allocating the oom-heap 2018-03-07 08:09:06 +00:00
hyunghwan.chung
16787ac345 changed the default value of --enable-libltdl to no 2018-03-07 07:58:58 +00:00
hyunghwan.chung
c2a2bc2a0a simplied build files to gtt rid of the bundled libltdl. while there is advantage in bundling, i don't want to support it unless there is a standalone libltdl installed in the system 2018-03-07 07:44:46 +00:00
hyunghwan.chung
76a185aa66 changed configure.ac to reset DL_LIBS if it's set to 'none required'.
pushed down heap creation in hcl_init()
2018-03-05 04:46:13 +00:00
hyunghwan.chung
f267374dea added new optional callbacks - alloc_heap & free_heap 2018-03-01 14:48:14 +00:00
hyunghwan.chung
e450402928 changed the number prefix for binary, octal, hexadecimal to follow NNrNNN in logfmtv() 2018-03-01 08:21:10 +00:00
hyunghwan.chung
bf09dcd4f4 fixed indentations in logfmtv.h 2018-03-01 07:59:49 +00:00
hyunghwan.chung
e66f8481e3 fixed the wrong case issue in moo_inttostr() 2018-02-28 15:56:10 +00:00
hyunghwan.chung
051fa970e0 enhanced moo_inttostr() to access a negative integer to produce the alphabetic digits in the lower case 2018-02-28 15:39:58 +00:00
hyunghwan.chung
0400fc7368 improved character type definitions 2018-02-28 13:30:36 +00:00
hyunghwan.chung
78c459c567 changed the format of the accepted values by --enable-unicode 2018-02-28 06:44:54 +00:00
hyunghwan.chung
e52b2b3a76 changed the type of karatsuba_cutoff 2018-02-26 15:51:04 +00:00
hyunghwan.chung
18ca2b30a0 changed code to get rid of some type conversion warnings 2018-02-26 15:30:38 +00:00
hyunghwan.chung
f9372e9d61 parenthesized moo in MOO_CLASSOF() 2018-02-23 07:06:35 +00:00
hyunghwan.chung
420ee09907 added error immunity check for the log_write callback 2018-02-22 04:44:34 +00:00
hyunghwan.chung
fb3919786f removed some whitespaces 2018-02-21 16:25:19 +00:00
hyunghwan.chung
5612e999d1 removed a wrong macro definitnion MOO_DEBUG_BIGINT 2018-02-21 12:59:14 +00:00
hyunghwan.chung
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
hyunghwan.chung
c16546c3df added --enable-unicode to configure.ac 2018-02-21 09:41:52 +00:00
hyunghwan.chung
8233a6ae0a deprecated NDEBUG and introduced HCL_BUILD_DEBUG and HCL_BUILD_RELEASE 2018-02-21 09:35:59 +00:00
hyunghwan.chung
ebb90dc133 localized a local variable into a loop in PUT_OOCH and PUT_OOCS in logfmtv 2018-02-21 08:54:19 +00:00
hyunghwan.chung
4aa9a711ad fixed the premature termination issue in logfmtv 2018-02-21 08:48:57 +00:00
hyunghwan.chung
00e815b8ff fixed a potential problem cause be presence of NDEBUG 2018-02-20 14:51:19 +00:00
hyunghwan.chung
f668f81234 changed the io semaphore signalling behavior a little bit 2018-02-19 16:22:15 +00:00
hyunghwan.chung
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
hyunghwan.chung
9531c6a7e8 moved the inttostr conversion buffer into moo_t 2018-02-17 13:32:30 +00:00
hyunghwan.chung
f0cd3472e7 fixed flaws in a build file 2018-02-15 14:39:10 +00:00
hyunghwan.chung
a72f8dbfea added an error message 2018-02-15 14:30:25 +00:00
hyunghwan.chung
88861aa522 touched up error message handling 2018-02-12 16:50:32 +00:00
hyunghwan.chung
b64fdb0019 fixed more error messages 2018-02-12 10:49:42 +00:00
hyunghwan.chung
374a2242d1 changed error message handling a little bit 2018-02-12 10:19:33 +00:00
hyunghwan.chung
48bee5a2c8 improved error handling a bit 2018-02-12 10:12:17 +00:00
hyunghwan.chung
1995deec8a specified the type in a log message in lib/obj.c 2018-02-10 08:10:14 +00:00
hyunghwan.chung
92c7394658 added some error messsages 2018-02-09 04:27:31 +00:00
hyunghwan.chung
fd5b998e62 added some error messages 2018-02-09 04:23:41 +00:00
hyunghwan.chung
47ac7b03a3 changed sys_dl_sym to sys_dl_getsym 2018-02-09 03:28:28 +00:00
hyunghwan.chung
ee5dde159b changed a type name in lib/exec.c 2018-02-08 09:07:26 +00:00
hyunghwan.chung
81a7c9fc82 changed moo_setsynerrbfmt() and moo_setsynerrufmt() to set the error message to begin with 'syntax error' 2018-02-08 05:31:35 +00:00
hyunghwan.chung
3daeab66b9 enhanced syntax error message handling.
exposed hcl_setsynerr(), hcl_setsynerrbfmt(), hcl_setsynerrufmt().
hid hcl_synerrnum_to_errstr()
2018-02-07 14:08:05 +00:00
hyunghwan.chung
ccb0220673 add the ngc parameter to alloc_numeric_array 2018-02-07 10:54:26 +00:00
hyunghwan.chung
592278ba44 changed the decoding log mask 2018-02-06 13:50:47 +00:00
hyunghwan.chung
d4b5f75b30 removed a space letter 2018-02-06 10:15:09 +00:00
hyunghwan.chung
51e68fcee4 added error handling in formatting fucntions 2018-02-05 15:59:58 +00:00
hyunghwan.chung
15ebf5537f formatted a couple source lines 2018-02-05 09:56:05 +00:00
hyunghwan.chung
930b86e923 touched up code a little bit 2018-02-05 09:20:30 +00:00
hyunghwan.chung
fa9e0f538a removed unneeded log flushing 2018-02-04 16:38:28 +00:00
hyunghwan.chung
76c3d78d46 some code changes related to async socket io 2018-02-04 16:35:45 +00:00
hyunghwan.chung
0269e10fd8 changed dlerror() to sys_dl_error() in lib/main.c 2018-02-04 04:39:11 +00:00
hyunghwan.chung
fe1731519e reordered actions in moo_fini() 2018-02-04 03:53:19 +00:00
hyunghwan.chung
c0d86a8f0e renamed moo_purgesemiosbyhandle() to moo_releaseiohandle()
pushed back when to call moo_cb_t callbacks
2018-02-03 16:42:13 +00:00
hyunghwan.chung
eb35c3d865 added moo_purgesemiosbyhandle() 2018-02-03 07:16:29 +00:00
hyunghwan.chung
ea70db9633 changed some error messages 2018-02-02 16:32:15 +00:00
hyunghwan.chung
8675512e30 added the dlfcn functions support 2018-02-02 15:29:15 +00:00
hyunghwan.chung
4dbf4f10e3 fixed a typo issue 2018-02-02 14:55:02 +00:00
hyunghwan.chung
5dabf01c33 added check for dl library 2018-02-02 14:53:00 +00:00
hyunghwan.chung
8a6cc1e62a added isatty to configure.ac 2018-02-02 14:43:07 +00:00
hyunghwan.chung
e70b424826 enhanced the vm cleanup to be more error resistent 2018-02-02 14:37:49 +00:00
hyunghwan.chung
461e68c5b4 changed the gnuc condition for __attribute__((visibility("xxx"))) again 2018-02-01 13:11:11 +00:00
hyunghwan.chung
2a2505a32f changed the gnuc condition for __attribute__((visibility("xxx"))) 2018-02-01 13:08:16 +00:00
hyunghwan.chung
5bf17bf205 deleted a redundant line 2018-02-01 09:32:32 +00:00
hyunghwan.chung
92413034f6 added a check for offsetof(struct sockaddr,sa_family) 2018-02-01 06:03:01 +00:00
hyunghwan.chung
51e7d93f63 attempted to reorganize listen: to listen:do: 2018-01-30 15:11:42 +00:00
hyunghwan.chung
165fe93e5e added some checks for atomic builtins 2018-01-30 05:19:05 +00:00
hyunghwan.chung
42c44d5099 changed to use __CHAR16_TYPE__ for moo_uch_t if it's defined by gcc 2018-01-29 14:58:29 +00:00
hyunghwan.chung
1c60ef5d0b changed the parent class of ByteArray from Collection to Array.
enhanced socket writing a bit
2018-01-28 16:03:03 +00:00
hyunghwan.chung
cf8daaa8a3 touched up Socket.moo 2018-01-28 15:47:56 +00:00
hyunghwan.chung
7f7f9e2977 changed Socket to work in the edge trigger mode 2018-01-28 15:31:23 +00:00
hyunghwan.chung
1bae32bf30 substitued syserr for errno wrongly used in err.c 2018-01-28 12:35:12 +00:00
hyunghwan.chung
f3ee24447f fixed configure.ac 2018-01-25 09:41:43 +00:00
hyunghwan.chung
a1de67b513 deleted unneeded lines 2018-01-25 09:35:50 +00:00
hyunghwan.chung
7cba31e8f9 added Socket>>writeBytes:offset:length: 2018-01-24 13:29:36 +00:00
hyunghwan.chung
625e2fbcdb attempted to count watchers in Scoket 2018-01-24 10:31:34 +00:00
hyunghwan.chung
b823b0b218 included sys/types.h in configure.ac when testing socket address types 2018-01-24 02:48:05 +00:00
hyunghwan.chung
e33ea4321e added moo_backuperrmsg() 2018-01-19 17:44:07 +00:00
hyunghwan.chung
d54552aff8 changed configure.ac to print more info 2018-01-19 17:33:35 +00:00
hyunghwan.chung
c2504848e5 changed Socket.moo a little 2018-01-19 13:37:38 +00:00
hyunghwan.chung
80e909caf1 regenerated build files 2018-01-19 13:31:44 +00:00
hyunghwan.chung
9a49b4fa53 updated the default definition of moo_sa_family_t 2018-01-19 13:29:15 +00:00
hyunghwan.chung
d3a57db467 refactored code for legacy platforms 2018-01-19 09:33:47 +00:00
hyunghwan.chung
84e91d5682 removed the forced -fPIC from mod/Makefile.am 2018-01-19 08:45:25 +00:00
hyunghwan.chung
74c5a1bb88 regenerated build files 2018-01-19 08:28:17 +00:00
hyunghwan.chung
ca182c122c added the syserrstrb and syserrstrb callback. either one must be supplied.
added some conditionals for nanosleep, strerror_r, pthread
2018-01-19 08:26:58 +00:00
hyunghwan.chung
741d45cf0a changed the socket module to set socket descriptors to be CLOEXEC and NONBLOCK 2018-01-18 16:27:17 +00:00
hyunghwan.chung
08cc62478b switched to use AX_CHECK_NUMVALOF() to detect PATH_MAX 2018-01-17 14:54:16 +00:00
hyunghwan.chung
a7b0814551 fixed code a bit for a legacy platform and compiler 2018-01-17 02:57:03 +00:00
hyunghwan.chung
0ba4764c18 fixed a wrongly commented line 2018-01-17 02:37:04 +00:00
hyunghwan.chung
11290dce63 beautified the autoconf code snippet to define the value of PATH_MAX 2018-01-16 23:54:17 +00:00
hyunghwan.chung
bfa190a4fa added autoconf code to define MOO_PATH_MAX is PATH_MAX is defined in limits.h 2018-01-16 15:30:10 +00:00
hyunghwan.chung
8eae9095c1 made an accepted socket non-block 2018-01-14 15:38:06 +00:00
hyunghwan.chung
2255425b3f fixed a bug in socket accept 2018-01-14 15:11:53 +00:00
hyunghwan.chung
2b56b1c2b0 added more socket functions 2018-01-14 15:01:56 +00:00
hyunghwan.chung
38ac31d307 added a function to return an address length given a socket address object.
fixed pf_connect to get the right address argument
2018-01-12 16:06:05 +00:00
hyunghwan.chung
b95102f953 added socklen_t test and sa_family_t test into configure.ac 2018-01-11 16:29:43 +00:00
hyunghwan.chung
b31049f808 added byteorder change functions and macros 2018-01-10 14:39:31 +00:00
hyunghwan.chung
4666b5efff added partital socket address conversion routines to sck-addr.c 2018-01-10 14:32:21 +00:00
hyunghwan.chung
77942761f5 added various checks related to socket address to configure.ac and regenerated build files 2018-01-09 15:27:39 +00:00
hyunghwan.chung
68259e735f experimented on setting the number of fixed fields forcibly in a module import function - sck.addr, SocketAddress 2018-01-09 13:43:44 +00:00
hyunghwan.chung
5b7ad01194 added the moo_compoochars() macro 2018-01-08 04:31:10 +00:00
hyunghwan.chung
31ea41a895 fixed bugs in moo_compXXX() functions
added moo_compbchars() and moo_compuchars()
2018-01-08 03:33:24 +00:00
hyunghwan.chung
31f40812f5 attempted to add SocketAddress 2018-01-07 15:14:15 +00:00
hyunghwan.chung
9ae27ee39a checked the number of instance/class variables against the internal limit 2018-01-07 14:59:54 +00:00
hyunghwan.chung
171b02449e enhanced set_syntax_errbmsg() to set_syntax_errbfmt().
collapsed three separate syntax error code to a single code MOO_SYNERR_INHERITBANNED.
added moo_seterrbfmtv() and moo_seterrufmtv() for internal use
2018-01-07 08:00:23 +00:00
hyunghwan.chung
e9b33016a4 disallowd a non-pointer object to inherit a pointer object with instance variables 2018-01-06 17:42:42 +00:00
hyunghwan.chung
de1f8c9551 debugged handling of class(#type(N)) processing 2018-01-06 04:18:10 +00:00
hyunghwan.chung
f4875ba51d supporting fixed type size specification for a nonpointer variable object like class(#byte(30))). work still in progress 2018-01-05 17:46:10 +00:00
hyunghwan.chung
68f67cf595 added experimental code for builtin object equality test, still commented out 2018-01-04 15:42:29 +00:00
hyunghwan.chung
506c6900e0 changed basicShift and basicFill primitives not to validate source position and destination position when count is <= 0 2018-01-04 10:07:42 +00:00
hyunghwan.chung
f0df2fcd92 changed a variable name in Socket.moo 2018-01-03 15:33:09 +00:00
hyunghwan.chung
15f27702f1 minor changes to IP6Address>>fromString: 2018-01-03 15:01:13 +00:00
hyunghwan.chung
9a2de69aae removed unneeded blank lines 2018-01-03 07:18:50 +00:00
hyunghwan.chung
8f69172898 revised moo_compucharsucstr() and similar functions 2018-01-03 06:56:41 +00:00
hyunghwan.chung
5474ae242d added Apex>>basicMoveFrom:with:count: and Apex>>basicShiftFrom:to:count: 2018-01-02 16:25:37 +00:00
hyunghwan.chung
2a4314c640 fixed a wrong comment in Socket.moo 2018-01-01 15:59:34 +00:00
hyunghwan.chung
907edeb45b attempted to add IP6Address>>fromString 2018-01-01 15:56:55 +00:00
hyunghwan.chung
277559684b added sck-addr.c 2018-01-01 05:14:55 +00:00
hyunghwan.chung
a594dda529 changed exception handling in Socket>>fromString: 2017-12-31 16:59:48 +00:00
hyunghwan.chung
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
hyunghwan.chung
c4daf616f0 fixed a bug of setting a byte object field wrongly in pf-basic.c 2017-12-31 03:19:50 +00:00
hyunghwan.chung
d0b20bee08 added comparision to the Character class 2017-12-30 19:07:31 +00:00
hyunghwan.chung
e39dd6027e fixed some socket methods 2017-12-28 17:45:55 +00:00
hyunghwan.chung
6bf073cb0e fixed primitive function names in mod/x11.c and mod/con.c 2017-12-28 17:15:59 +00:00
hyunghwan.chung
e10f00a1ab fixed an IO thread termination bug 2017-12-28 17:10:30 +00:00
hyunghwan.chung
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
hyunghwan.chung
dbb38a5d31 use EPOLLET when modifying with epoll_ctl() 2017-12-28 07:26:19 +00:00
hyunghwan.chung
edba0207fb fixed log mask parsing in main.c.
touched up error handling a little bit
2017-12-28 04:58:17 +00:00
hyunghwan.chung
9f27e27d25 improved error handling a bit 2017-12-27 10:32:57 +00:00
hyunghwan.chung
3c6b73b2b5 cleaned up code related to IO semaphores and multiplexing 2017-12-26 15:55:06 +00:00
hyunghwan.chung
ded869708d added ax_pthread.m4 2017-12-26 14:15:27 +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
f27856fa72 enhanced the compiler to auto-sense the use of comma in a byte array literal 2017-12-20 16:40:04 +00:00
hyunghwan.chung
4fe38f883c changed the compiler to allow a character literal within a byte array literal 2017-12-20 16:25:20 +00:00
hyunghwan.chung
d8b36bdf66 added Socket<<endConnect: 2017-12-18 13:34:47 +00:00
hyunghwan.chung
63e34ccf71 attempted to fix some socket class issues 2017-12-17 15:38:38 +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
cf88ac40ec enhanced error message printing 2017-12-17 06:38:08 +00:00
hyunghwan.chung
5132238bfd corrected a wrong complication condition 2017-12-16 16:27:27 +00:00
hyunghwan.chung
c64d56c268 committing an unsaved file 2017-12-16 16:24:21 +00:00
hyunghwan.chung
e9cea47273 added the --debug option for the debug build 2017-12-16 16:14:23 +00:00
hyunghwan.chung
49f0ff0bda fixed the wrong argument handling problem 2017-12-16 05:21:38 +00:00
hyunghwan.chung
27fa6fa560 catered for slow process switching in test-002.moo 2017-12-14 02:27:51 +00:00
hyunghwan.chung
5ea15c24bd renamed moo_mod_console to moo_mod_con 2017-12-14 02:04:52 +00:00
hyunghwan.chung
62009f7266 renamed console.c con.c 2017-12-14 02:01:38 +00:00
hyunghwan.chung
b61734a9e8 fixed an GC issue caused by unbalanced moo_pushtmp() and moo_poptmp() calls 2017-12-13 16:00:48 +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
9770ddbac6 revised some semaphore related methods, primitive functions 2017-12-11 16:27:53 +00:00
hyunghwan.chung
69b2107ed9 changed semaphore primitive functions to return MOO_PF_FAILURE upon an error 2017-12-10 15:40:29 +00:00
hyunghwan.chung
6a8db215f8 relocated gc related primitive functions 2017-12-09 17:45:10 +00:00
hyunghwan.chung
7c5afe2d5b added SmallPointer<<getBytes, SmallPointer<<putBytes 2017-12-09 16:04:17 +00:00
hyunghwan.chung
541ab59028 added System<<getBytes, System<<putBytes.
also added primitive functions for the above
2017-12-09 15:47:43 +00:00
hyunghwan.chung
471d8ad797 relocated system/smptr primiives to pf-sys.c 2017-12-08 15:28:51 +00:00
hyunghwan.chung
b6cb06c680 started migrating some primitive functions to a separate file 2017-12-05 16:51:20 +00:00
hyunghwan.chung
7395a5d2d2 touched up some primitive functions 2017-12-03 17:08:04 +00:00
hyunghwan.chung
a817083543 added #pragma qc(on) and qc(off) to turn on/off double-quoted string comment 2017-11-26 06:45:59 +00:00
hyunghwan.chung
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
hyunghwan.chung
d8bcb6e012 extended the value of the -l option to have log types after a log file name. e.g. -l /dev/stderr,app,gc 2017-11-23 15:45:25 +00:00
hyunghwan.chung
7710ad99d0 added MOO_LOG_STDOUT, MOO_LOG_STDERR
changed the main program to write log messages to a specified file
added moo_getuopt()/moo_getbopt()/moo_getopt()
2017-11-22 04:52:45 +00:00
hyunghwan.chung
6177cd6865 removed the DEH symbol ({%).
added new experimental features
 - the signal method to the Error class for simplified error/exception handling
 - the catch method to the BlockContext for simplified error/exception catching instead of the full-fledged on:do
2017-11-21 15:05:12 +00:00
hyunghwan.chung
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
hyunghwan.chung
85b25d53bc relocated quite a few methods from ProcessorScheduler to System 2017-11-05 16:47:13 +00:00
hyunghwan.chung
b451835c4b added an informational log message upon program termination 2017-11-04 03:57:38 +00:00
hyunghwan.chung
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
hyunghwan.chung
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
hyunghwan.chung
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
hyunghwan.chung
7410f09cf5 fixed a wrong error message 2017-11-01 08:12:20 +00:00
hyunghwan.chung
b3ded6e42c changed test-004 further 2017-10-31 15:14:12 +00:00
hyunghwan.chung
c86018a644 changed test-004.moo 2017-10-31 15:08:58 +00:00
hyunghwan.chung
8baf88b070 fixed a fault in mod/Makefile.am.
autoreconfed the build files
2017-10-31 14:45:15 +00:00
hyunghwan.chung
5ae166c1d4 attempted to fix wrong IO semaphore handling over a semaphore group 2017-10-31 07:13:22 +00:00