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