Commit Graph

420 Commits

Author SHA1 Message Date
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