Commit Graph

526 Commits

Author SHA1 Message Date
hyunghwan.chung
ab8716f7ab enhanced log_write for win32 a bit 2018-10-14 10:30:52 +00:00
hyunghwan.chung
d44b400c4a fixed some build files 2018-10-14 10:14:48 +00:00
hyunghwan.chung
325297d46a fixed .dynlib to .dylib in Makefile.am files 2018-10-14 07:40:00 +00:00
hyunghwan.chung
7ea2c18ffd added the MACOSX conditional to configure.ac 2018-10-14 07:31:44 +00:00
hyunghwan.chung
3ed7b46807 reproduced build files 2018-10-14 07:15:35 +00:00
hyunghwan.chung
4a5e2e4e43 fixed code for legacy macosx 2018-10-14 07:11:41 +00:00
hyunghwan.chung
dab1972d57 borrowed emulated poll for win32 from gnulib 2018-10-13 13:33:19 +00:00
hyunghwan.chung
78b15bc610 added some win32 specific code 2018-10-13 10:55:38 +00:00
hyunghwan.chung
852349b26c allowed interface specification in extending a class. e.g. extend ClassName [Interface1,Interface2,etc] { ... } 2018-10-12 15:57:58 +00:00
hyunghwan.chung
a21cee67e0 renamed con.c to _con.c tto avoid conflicts with the special file 'con' on microsoft OSes 2018-10-12 15:25:14 +00:00
hyunghwan.chung
64a4e7bc51 put 'static' to internal functions 2018-10-12 09:16:44 +00:00
hyunghwan.chung
18b270529c added moo_findmethodinclasschain()
added MOO_SYNERR_CLASSNCIFCE
finished implementing interface conformance check primitively
2018-10-12 09:09:45 +00:00
hyunghwan.chung
a6a2cb2d16 pacified an old c compiler 2018-10-11 23:48:03 +00:00
hyunghwan.chung
c6c3739572 added moo_walkdic() for internal use
added incomplete interface implementation check
2018-10-11 14:03:16 +00:00
hyunghwan.chung
9656d87816 added more code to check interface conformance 2018-10-11 13:02:21 +00:00
hyunghwan.chung
d638adc434 simplified code a bit 2018-10-11 10:07:41 +00:00
hyunghwan.chung
1cbe741508 added some code to check interface conformance of a class 2018-10-11 10:01:34 +00:00
hyunghwan.chung
6676e349ca added some more code to store interfaces specified in the implementing class 2018-10-10 08:55:11 +00:00
hyunghwan.chung
2f65380c06 put the method modifiers information into the preamble field of the method signature object from interface definition 2018-10-10 06:12:21 +00:00
hyunghwan.chung
653b99545f added the method signature class internally to support interface implementation 2018-10-10 04:23:44 +00:00
hyunghwan.chung
1a43722da1 fixed error literals in test-014.moo 2018-10-09 15:27:35 +00:00
hyunghwan.chung
4ae2ae6f88 added much more code to implement interface. still work in progress 2018-10-09 15:21:58 +00:00
hyunghwan.chung
90ed6d91e3 added some interface implementation code 2018-10-09 06:06:32 +00:00
hyunghwan.chung
cde05be1a1 added some code to implement long pending 'interface' 2018-10-08 16:00:14 +00:00
hyunghwan.chung
b16347e2d9 updated the X11.moo sample code 2018-10-08 13:17:11 +00:00
hyunghwan.chung
9ad9299dea allowed class and class extension nesting inside a class 2018-10-08 06:51:31 +00:00
hyunghwan.chung
e7265f44bc made required changes to get rid of moo->c->cclass and moo->c->cpooldic.
changed the compiler to allow a pooldic nested in a class
2018-10-07 05:34:13 +00:00
hyunghwan.chung
079f2d3f4a reorganized the compiler code by moving the method data into the cunit_class 2018-10-05 16:25:17 +00:00
hyunghwan.chung
e6fca77adf removed redundant format specifier in setting the 'unabel tog et module symbol' error 2018-09-30 16:14:53 +00:00
hyunghwan.chung
7b5462ca26 changed the compiler structure a bit for planned architectural change of the compiler 2018-09-30 16:06:19 +00:00
hyunghwan.chung
024976295e Added the Interface class for a start 2018-07-08 17:13:10 +00:00
hyunghwan.chung
78a8fb2274 work in progress - enhancing the compiler to implement 'interface' 2018-07-04 08:27:13 +00:00
hyunghwan.chung
389a7a3d76 enhanced the __int128_t check with extra check against va_arg 2018-06-30 03:46:45 +00:00
hyunghwan.chung
721ce2b540 fixed some comments 2018-06-29 06:14:35 +00:00
hyunghwan.chung
1ad04320ca fixed a compilation issue in moo_sck_addr_len() 2018-06-27 15:57:39 +00:00
hyunghwan.chung
b100f9a46b added add: to AssociativeDictionary, hence effectively to Dictionary 2018-06-27 14:40:31 +00:00
hyunghwan.chung
50e9103593 added description to KeyNotFoundException raised 2018-06-26 16:22:16 +00:00
hyunghwan.chung
c25bf15b21 fixed a compiler bug in handling 'and' and 'or' - it didn't emit POP_STACKTOP after JUMP_FORWARD_IF_XXX.
improved some methods in some collection classes
2018-06-24 16:47:55 +00:00
hyunghwan.chung
da33ecc167 fixed redundant calls made by the new message to some collection classes including Set, AssociativeCollection 2018-06-22 15:27:38 +00:00
hyunghwan.chung
7689de7dfa implemented removal methods in the Set class 2018-06-22 15:14:56 +00:00
hyunghwan.chung
b9500933b8 renamed SymbolSet to SymbolTable.
added some exception classes to use when something is not found.
renamed Set to AssociativeCollection and started writing a new Set class
2018-06-20 18:01:04 +00:00
hyunghwan.chung
913f5f6918 added add: and addAll: to OrderedCollection 2018-06-19 17:13:20 +00:00
hyunghwan.chung
d8c0453ddd changed System signal: to aSemaphore signal: 2018-06-19 16:58:04 +00:00
hyunghwan.chung
a6d72b928c added new keywords to the compiler - ifnot, elsifnot 2018-06-19 16:11:20 +00:00
hyunghwan.chung
2c6072adf9 regenerated build files 2018-06-19 02:12:03 +00:00
hyunghwan.chung
8536099e74 copying fcgi code from https://github.com/NicolasPetton/fcgi 2018-06-18 14:32:31 +00:00
hyunghwan.chung
6d5b6cad00 added some code to Fcgi 2018-06-17 17:53:30 +00:00
hyunghwan.chung
8b7eebd654 added some partial utf8 related primitives 2018-06-17 17:41:04 +00:00
hyunghwan.chung
16ebf93744 added the Fcgi.moo file 2018-06-17 04:47:57 +00:00
hyunghwan.chung
ca9cc763d9 fixed a compiler bug in compile_expression_primary. before the fix, the compiler could treat an undotted identifier as dotted.
changed a few primitive function names in sck.c
wrote some methods for ByteStream
2018-06-16 16:45:17 +00:00
hyunghwan.chung
69bdd55579 fixed output of array and byte array literals 2018-06-13 16:43:19 +00:00
hyunghwan.chung
34ee56784d added copyFrom:count: to ByteArray 2018-06-12 10:17:32 +00:00
hyunghwan.chung
aa3c15d2a3 added a comment to the compiler fix in the previous commit 2018-06-10 03:21:47 +00:00
hyunghwan.chung
b71853b134 added Stream.moo 2018-06-09 16:48:36 +00:00
hyunghwan.chung
48bdf7df2c fixed a slight bug in parsing 'and' and 'or' in compile_basic_expression().
writing SocketStream
2018-06-09 16:48:18 +00:00
hyunghwan.chung
e074607a00 renamed jump_xxxward_if_xxx to jumpop_xxxward_if_xxx because it does pop the stack top.
added jump_forward_if_true, jump_forward_if_fase, jump2_forward_if_true, jump2_forward_if_false to use with the and and or logical operation keywords
2018-05-30 15:32:09 +00:00
hyunghwan.chung
8965720926 added two new keywords (and, or) for logical operations. work in progress 2018-05-30 11:31:26 +00:00
hyunghwan.chung
81e2cc0578 fixed MOO_SMOOI_TO_OOP to pacify clang about the warning 'warning: shifting a negative signed value is undefined' 2018-05-28 09:48:27 +00:00
hyunghwan.chung
fc6f8bbb70 added more methods to OrderedCollection 2018-05-27 16:46:49 +00:00
hyunghwan.chung
370503b4a0 added removeFirst: and removeLast: to OrderedCollection 2018-05-26 03:39:58 +00:00
hyunghwan.chung
4c8797e8ad worked on OrderedCollection.st 2018-05-25 17:56:08 +00:00
hyunghwan.chung
d1cfaed466 fixed a compiler bug in handling 'super' with multiple messages sent at the same time as in 'super abc + 10' 2018-05-25 10:19:25 +00:00
hyunghwan.chung
90e6e6c8cf implemented more methods for OrderedCollection 2018-05-24 10:10:52 +00:00
hyunghwan.chung
29a5f0716d started adding OrderedCollection 2018-05-22 16:22:32 +00:00
hyunghwan.chung
c014789fa9 more experimental socket code 2018-05-22 05:15:49 +00:00
hyunghwan.chung
b42586a1c6 added some experimental code 2018-05-21 17:14:16 +00:00
hyunghwan.chung
f3fc35fc02 removed a comma from moo_semaphore_io_type_t enumerator list 2018-05-19 14:29:07 +00:00
hyunghwan.chung
b99f66996a fixed a few syntax issues with some old compilers.
added some code for os2
2018-05-18 16:41:45 +00:00
hyunghwan.chung
4a73109340 renamed various socket functions
fixed a buggy condition that prevented moo->sem_io_wait_count from being decremented in signal_semaphore()
2018-05-18 09:08:05 +00:00
hyunghwan.chung
4da0731312 migrated semaphore signal/unsignal methods from System to Semaphore 2018-05-18 08:10:16 +00:00
hyunghwan.chung
faef93e7d7 export moo_backtrace()
added textual description for semaphore's io type
2018-05-17 15:33:36 +00:00
hyunghwan.chung
70f17d8896 changed code to lower the number of instance variables of the Semaphore class 2018-05-17 10:21:22 +00:00
hyunghwan.chung
c5362f86a9 touching up some classes 2018-05-16 16:24:43 +00:00
hyunghwan.chung
53739821b2 experimented to support SyncSocket 2018-05-16 10:25:20 +00:00
hyunghwan.chung
ca12fc082f added moo_deregallfinalizables()
removed some unused code
2018-05-16 08:03:34 +00:00
hyunghwan.chung
f260c04b4e changed the order of listen and multiplexer registeration to avoid spurious hangup event 2018-05-16 07:03:01 +00:00
hyunghwan.chung
da0b655d40 Added asyncsg field into Process 2018-05-15 16:38:37 +00:00
hyunghwan.chung
2d24c53481 interim commit 2018-05-15 10:11:28 +00:00
hyunghwan.chung
10dff52d58 introduced the notation for a smptr literal - #\pXX.
changed the error listeral notation to #\eNN fro #\NN
2018-05-13 18:55:22 +00:00
hyunghwan.chung
ea2347bb82 switch the HttpServer class to maintain listeners in HttpConnReg instead of LinkedList 2018-05-13 18:16:04 +00:00
hyunghwan.chung
1c68849fa0 added more http server code 2018-05-13 16:28:22 +00:00
hyunghwan.chung
a94ccf62b3 added a few lines to Http.moo 2018-05-10 16:16:03 +00:00
hyunghwan.chung
16b12e2dfc attempting to change the Socket class to invoke methods instead of relying on blocks 2018-05-10 10:48:44 +00:00
hyunghwan.chung
ff5e5aa23f added just a few lines of code 2018-05-09 16:43:58 +00:00
hyunghwan.chung
bc93856b35 added SocketAddress>>family
added Socket>>readBytes:offset:length:
started writing Http.moo
2018-05-09 10:37:07 +00:00
hyunghwan.chung
82160e03dd added some asycn socket code 2018-05-08 10:18:50 +00:00
hyunghwan.chung
204a6b16b9 minor code cleanup 2018-05-07 17:28:47 +00:00
hyunghwan.chung
bd52dcf0bc added extra checks for socket accept 2018-05-07 17:22:04 +00:00
hyunghwan.chung
0a5896b16b added more async socket code 2018-05-07 16:53:37 +00:00
hyunghwan.chung
2bb2bd82fc changed module functions to include the mod argument 2018-05-07 16:53:16 +00:00
hyunghwan.chung
b891d31e8b added the mod parameter to primitive functions 2018-05-07 16:52:51 +00:00
hyunghwan.chung
a78594d24f changed the compiler to set bytearray literals and array literals read-only in more contexts 2018-05-07 14:33:07 +00:00
hyunghwan.chung
8c0787608f attempted to split Socket to ServerSocket and ClientSocket 2018-05-04 01:10:38 +00:00
hyunghwan.chung
b16ddbd942 deleted unneeded methods 2018-05-03 10:26:17 +00:00
hyunghwan.chung
ff1d47dd15 more async socket code 2018-05-02 16:36:56 +00:00
hyunghwan.chung
acb71f521c work in progress. trying a different way of implementing async socket 2018-05-02 09:53:02 +00:00
hyunghwan.chung
216e7f3b15 fixed the stack frame dump function.
fixed a fault in configure.ac
2018-04-26 06:39:47 +00:00
hyunghwan.chung
2218e61faa added static to backtrace_stack_frames() 2018-04-26 04:46:41 +00:00
hyunghwan.chung
e2a9e2c66f introduced the new type moo_bitmask_t 2018-04-26 04:44:01 +00:00
hyunghwan.chung
2467b4212a added backtracing code using libunwind 2018-04-26 03:17:54 +00:00