81 Commits

Author SHA1 Message Date
hyunghwan.chung
e70b424826 enhanced the vm cleanup to be more error resistent 2018-02-02 14:37:49 +00:00
hyunghwan.chung
7f7f9e2977 changed Socket to work in the edge trigger mode 2018-01-28 15:31:23 +00:00
hyunghwan.chung
7cba31e8f9 added Socket>>writeBytes:offset:length: 2018-01-24 13:29:36 +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
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
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
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
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
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
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
7395a5d2d2 touched up some primitive functions 2017-12-03 17:08:04 +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
2c85319cb0 started adding a socket module and the Socket class 2017-10-18 16:15:51 +00:00
hyunghwan.chung
32a77bc6db simplified SemaphoreGroup by switching a semaphore array to a semaphore list.
added some copy methods to Array
2017-10-08 15:40:32 +00:00
hyunghwan.chung
e38a4f1f20 fixed potential race condition issues when 'select' or 'poll' is used as a multiplexer backend 2017-09-27 14:03:05 +00:00
hyunghwan.chung
3b5f059569 added more code to use 'select' as a multiplexer 2017-09-27 06:48:01 +00:00
hyunghwan.chung
64e1cee44a added the 'select' support as a multiplexer mechanism 2017-09-27 01:03:18 +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
fc121cd70a added moo_ucwidth() 2017-07-05 14:23:13 +00:00
hyunghwan.chung
d0b38926d4 added more X11 code related to GC handling 2017-06-29 15:04:35 +00:00
hyunghwan.chung
a2877ac905 added more X11 code 2017-06-27 16:03:29 +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
246662220f interim commit of ongoing X11 works 2017-06-23 16:09:07 +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
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
f4a9a9abd8 added more code to support poll() 2017-05-07 12:43:52 +00:00
hyunghwan.chung
0a804402cd added partial code to support poll() 2017-05-07 10:23:21 +00:00
hyunghwan.chung
b93bfc9ec6 added header file checks for io multiplexer and dynamic linker in configure.ac 2017-05-07 08:58:34 +00:00
hyunghwan.chung
68a7118fb2 finished handling of #limited and #final class modifiers 2017-05-01 12:54:41 +00:00
hyunghwan.chung
e2a7646b75 added strftime %z check into configure.ac 2017-04-28 23:25:21 +00:00
hyunghwan.chung
3a072e9d7c changed to use %Z with strftime on solaris 2017-04-28 14:57:00 +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
89c0a406f3 fixed a bug of not updating the system multiplexer when moving an IO semphoare object 2017-04-08 07:23:31 +00:00
hyunghwan.chung
3fcfcff0ad added a new modifier #variadic to make variadic method definition more obvious.
allowed the #primitive modifier in a method definition not associated with an external module.
fixed a bug in handling soft failure from numbered primitive functions
2017-03-23 16:14:22 +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