Commit Graph

1128 Commits

Author SHA1 Message Date
hyunghwan.chung
1bdaba968d added nsup field to the class object to chain back to the upper namespace in the hierarchy.
changed bootstrapping code and compiler code to weave top-level namespace hierarchy more consistantly, mostly related to the System class and its intrinsic namespace dictionary linked via the nsdic field
2017-05-20 02:27:48 +00:00
hyunghwan.chung
8324f64dea refactored array and byte array processing code in the compiler 2017-05-16 15:01:31 +00:00
hyunghwan.chung
a639fe9f93 fixed an error in moo_seterrbfmt() and moo_seterrufmt() 2017-05-16 02:04:18 +00:00
hyunghwan.chung
5e7771b799 added MOO_LOG_MAXCAPA 2017-05-12 16:38:16 +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
ce69989a86 touched up primitive failure handling a bit 2017-05-09 15:48:44 +00:00
hyunghwan.chung
a1782753a9 touched up primitive failure handling in exec.c 2017-05-08 16:00:55 +00:00
hyunghwan.chung
95f3df6424 moved .gitattributes up a directory 2017-05-08 03:43:07 +00:00
hyunghwan.chung
942b43a97b added the .gitattributes file 2017-05-08 03:31:34 +00:00
hyunghwan.chung
937895ef59 added a new method modifier #lenient that applies to a primitive method. when set, it turns soft failure to error return 2017-05-07 16:45:27 +00:00
hyunghwan.chung
f45cde7ba7 redefined Integer<<timesRepeat: 2017-05-07 14:45:27 +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
63519c1ca3 introduced a new class modifier #immutable to indicate that an instantiated object cannot be modified using basicAt:put: 2017-05-07 05:18:21 +00:00
hyunghwan.chung
1dff630fdd changed how to calculate the mid point in a binary search loop 2017-05-04 05:22:45 +00:00
hyunghwan.chung
68a7118fb2 finished handling of #limited and #final class modifiers 2017-05-01 12:54:41 +00:00
hyunghwan.chung
c4d0b804ef fixed strneq to STREQ in libltdl/loaders/dyld.c 2017-04-30 05:18:09 +00:00
hyunghwan.chung
275f5810cc changed memxxx() macros to use HAVE___BUILTIN_MEMXXX autoconf variables.
started adding the #final modifier for class definition
2017-04-30 05:07:08 +00:00
hyunghwan.chung
2a6206cc80 changed to use AC_LINK_IFELSE() when checking for some __builtin_memxxx functions.
started adding the #limited modifier for class definition
2017-04-30 04:50:33 +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
bce77eda6c added --enable-mod-x11 and --enable-mod-ffi to configure 2017-04-28 04:03:52 +00:00
hyunghwan.chung
9ee7d9e110 touched up raw memory access primitives 2017-04-27 15:40:04 +00:00
hyunghwan.chung
b0a3b4aef7 fixed CompiledMethod>>preambleCode 2017-04-26 16:01:56 +00:00
hyunghwan.chung
be57cffbe6 added MOO_METHOD_PREAMBLE_FLAG_DUAL and set it on in a method preamble for a dual method 2017-04-26 15:44:57 +00:00
hyunghwan.chung
6fe65f66fc implemented until and do..until loop 2017-04-26 15:31:07 +00:00
hyunghwan.chung
04864659a8 added the #dual modifier to method definition. a method defined with #dual is registered in both the instance side and the class side. 2017-04-26 03:09:55 +00:00
hyunghwan.chung
8298bad3e0 added moo_process_t.perr and Processor>>primError to capture the last error set by a primitive function 2017-04-25 15:20:58 +00:00
hyunghwan.chung
d3c9a33c30 enhanced the compiler to set RDONLY on the array member elements in the RDONLY context 2017-04-24 16:37:57 +00:00
hyunghwan.chung
08e54cb524 enhanced the compiler to handle default initial values for class instance variables 2017-04-24 14:32:21 +00:00
hyunghwan.chung
8a0d476d18 fixed a lexer bug of eating up one more character when reading a single-letter identifier C, S, M followed by a non-identifier letter in get_ident().
changed various test programs according to syntax changes
2017-04-24 09:20:27 +00:00
hyunghwan.chung
5bf8d20a93 enhanced the compiler to handle default initial values for instance variables and class variables 2017-04-24 04:26:03 +00:00
hyunghwan.chung
4656bf128e added a new class variable declarator 'var' or 'variable'
supported  | .. | style declartion at the class level.
added the RDONLY flag to the object header
wrote some code to support default values for class-level variables such as instance variables
2017-04-19 16:46:44 +00:00
hyunghwan.chung
a768bd8803 added experimental code to handle xcb window resizing 2017-04-08 14:11:01 +00:00
hyunghwan.chung
536a66fbbf enhanced the check on the nullified io semaphore slot 2017-04-08 07:33:06 +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
88b2a0787f more xcb implementation code 2017-04-07 15:50:05 +00:00
hyunghwan.chung
db3cdd057d added X11.moo 2017-04-05 16:48:20 +00:00
hyunghwan.chung
b93b17c42b wrote more xcb code 2017-04-05 16:48:03 +00:00
hyunghwan.chung
8bdab5520a fixed a macro definition for os2 2017-04-03 14:53:16 +00:00
hyunghwan.chung
46e29918f3 added error mappings for os2 2017-04-03 14:51:07 +00:00
hyunghwan.chung
08f01329ab added MOO_EMSGRCV.
added System putUintX()/putIntX() and SmallPoitner putUintX()/putIntX()
2017-04-03 13:24:18 +00:00
hyunghwan.chung
b7a8348de3 added System _malloc/_calloc/_free and SmallPointer free 2017-04-03 05:43:50 +00:00
hyunghwan.chung
cee4a01be0 refactored exec.c a bit 2017-04-02 17:13:04 +00:00
hyunghwan.chung
4f9767422b added raw memory access primitive functions to SmallPointer 2017-04-02 17:08:03 +00:00
hyunghwan.chung
e2d73eccdb extended the tag bits to support more than 3 special types.
tag bit calculation got slower but it can use up to 4 bits to represent more types
2017-04-02 13:13:33 +00:00