260 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
b61734a9e8 fixed an GC issue caused by unbalanced moo_pushtmp() and moo_poptmp() calls 2017-12-13 16:00:48 +00:00
hyunghwan.chung
9770ddbac6 revised some semaphore related methods, primitive functions 2017-12-11 16:27:53 +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
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
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
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
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