Commit Graph

657 Commits

Author SHA1 Message Date
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
hyunghwan.chung
9ae1b99b43 fixed wrong handling of a comment closer in the builtin compiler 2017-10-31 02:57:38 +00:00
hyunghwan.chung
d042f0f494 added MOO_EBADHND 2017-10-30 01:11:18 +00:00
hyunghwan.chung
2c85319cb0 started adding a socket module and the Socket class 2017-10-18 16:15:51 +00:00
hyunghwan.chung
016b7c2dac enhanced primitive methods and operations on a semaphore group 2017-10-08 18:13:10 +00:00
hyunghwan.chung
643d70f474 added header files for pragma pack 2017-10-08 15:51:45 +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
1fd9ce285c added experimental code that implements singal callback in semaphore 2017-10-05 17:14:38 +00:00
hyunghwan.chung
a54c2e21f2 added the equality(=) method to Array.
fixed the equality primitive handler to accept the subclasses of Semaphore/SemaphoreGroup
2017-10-02 01:22:49 +00:00
hyunghwan.chung
c412097f6f converted isKindOf: to a dual method 2017-09-30 04:53:00 +00:00
hyunghwan.chung
cb2b93d01c fixed an issue in isKindOf: 2017-09-30 04:49:54 +00:00
hyunghwan.chung
a240b0be7d prevented the _is_kind_of primitive handler from returning an error 2017-09-29 15:12:01 +00:00
hyunghwan.chung
303b49270d added moo_iskindof().
changed isKindOf: to utilize a new primitive _is_kind_of.
marked BlockContext and MethodContext to be #final and #limited
2017-09-29 15:03:54 +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
c647f76cdf removed a redundant argument declaration from the EXIT_DISPATCH_LOOP() macro 2017-09-26 23:48:33 +00:00
hyunghwan.chung
002424626f enhanced the check for labels as values support 2017-09-26 15:17:28 +00:00