1022 Commits

Author SHA1 Message Date
Wang Renxin
5e995d280d +added a _CANGC macro.
-lazy initializes `all_forked`.
2017-11-15 19:49:36 +08:00
Wang Renxin
41954bb9a8 +added _PREVGC, _POSTGC.
-removed _ONGC.
2017-11-15 16:49:28 +08:00
Wang Renxin
fdb722c6b3 +added an _ONGC macro. 2017-11-15 16:04:17 +08:00
Wang Renxin
7357196928 *renamed a parameter. 2017-11-15 13:04:22 +08:00
Wang Renxin
18b00672ed +added a checking step for alive objects in all forked environment. 2017-11-15 12:55:57 +08:00
Wang Renxin
46a450da20 *fixed an extended abort issue.
*fixed a crash bug with routine.
*fixed a GC bug with outer scopes of lambda.
2017-11-13 20:10:19 +08:00
Wang Renxin
ceb91305a3 *fixed an accessing issue with upvalues. 2017-11-13 11:34:33 +08:00
Wang Renxin
48816291e4 *fixed a forking issue. 2017-11-12 11:13:04 +08:00
Wang Renxin
ba0c115baa *made _ref_count_t customizable. 2017-11-11 20:53:18 +08:00
Wang Renxin
9a2d88d304 *fixed a gc bug with dictionary. 2017-11-10 21:26:13 +08:00
Wang Renxin
937f2ab4ab *fixed a bug with overlapped lambda scopes.
*fixed a bug with lambda lookup.
2017-11-10 00:05:33 +08:00
Wang Renxin
f966400979 *RENAMED THE TOSTRING SYMBOL TO TO_STRING!!! 2017-11-08 15:48:20 +08:00
Wang Renxin
f010c1d94b -removed an obsolete unref operation. 2017-11-07 20:40:00 +08:00
Wang Renxin
ec89b18d4d *should handle single line struct properly. 2017-11-07 19:31:31 +08:00
Wang Renxin
01b4b2e00e *fixed a bug with single-line nested IF statement. 2017-11-07 16:28:10 +08:00
Wang Renxin
abbe1f85be *should mark the whole outer-scope chain when collecting garbage with a closure. 2017-11-07 11:21:15 +08:00
Wang Renxin
91ad8cd226 *fixed a gc bug with routine in a collection. 2017-11-05 21:01:57 +08:00
Wang Renxin
40873ca805 *fixed a GC bug with retrieved routine. 2017-11-05 20:24:25 +08:00
Wang Renxin
20a4ab7c06 *fixed a GC bug with upvalues in a closure. 2017-11-05 19:23:20 +08:00
Wang Renxin
ef73407de3 *fixed a crash bug with conflicting routine and class identifier.
*fixed a dangling pointer bug with incomplete structures.
*fixed a memory leak with wrong routine or class identifier.
*fixed a memory leak with incomplete structures.
2017-11-05 18:13:30 +08:00
Wang Renxin
5e52e72cf7 *refactored the tag of memory allocation. 2017-11-05 14:17:21 +08:00
Wang Renxin
61effb8d4b *should prompt missing file while importing. 2017-11-03 14:37:50 +08:00
Wang Renxin
6fc5d6fb7d *improved loading and importing error handling. 2017-11-03 09:55:23 +08:00
Wang Renxin
dcc187a5ea +added some location parameters to the mb_get_last_error function. 2017-11-01 21:41:56 +08:00
Wang Renxin
b12a60650d *bugfix for simple array. 2017-10-31 14:43:38 +08:00
Wang Renxin
dc7ecd8ed8 +added support to apply the STR statement to a type value.
*fixed a referencing bug with an unnamed array.
2017-10-30 14:11:35 +08:00
Wang Renxin
330e6a7f0f *fixed a crash bug when access an unnamed array. 2017-10-29 16:27:27 +08:00
Wang Renxin
0376dbcbca *updated binaries. 2017-10-25 14:27:16 +08:00
Wang Renxin
bd7d1712d0 *fixed a memory leak with an unexpected value. 2017-10-25 13:19:51 +08:00
Wang Renxin
c3dfe71c9c *fixed a memory leak with a hanged value.
*fixed some crash.
2017-10-24 20:52:51 +08:00
Wang Renxin
23e29abb45 +added support to apply the CLONE statement to a referenced usertype. 2017-10-23 16:41:57 +08:00
Wang Renxin
48134bb692 *typo. 2017-10-22 15:53:37 +08:00
Wang Renxin
6497e3d288 *renamed the EXIST statement to EXISTS.
*fixed a warning.
2017-10-22 15:51:28 +08:00
Wang Renxin
7c0ed0d418 *made some macros redefinable. 2017-10-21 00:59:42 +08:00
Wang Renxin
184ce4621d *reformatted. 2017-10-20 14:38:04 +08:00
Wang Renxin
78b4091834 *fixed a wrong comparison bug of member names with the REFLECT statement. 2017-10-19 15:06:43 +08:00
Wang Renxin
8aa2028011 +added comparison between string and nil;
*fixed a multiple disposing bug with retrieved routine object;
*fixed a bug with uncleared parsing context.
2017-10-17 20:30:14 +08:00
Wang Renxin
9c21333949 *fixed crash with some cases. 2017-10-16 19:01:25 +08:00
Wang Renxin
d5973b6aac *updated doc. 2017-10-15 16:05:44 +08:00
Wang Renxin
8523c80d97 *fixed an error prompting bug with the INPUT statement. 2017-10-14 16:59:09 +08:00
Wang Renxin
ae3597a8ba *fixed a multiple disposing bug. 2017-10-14 16:44:40 +08:00
Wang Renxin
e9ffc75852 -avoided a warning. 2017-10-09 14:57:01 +08:00
Wang Renxin
9049e37909 *improved expression evaluation speed. 2017-10-09 14:32:14 +08:00
Wang Renxin
5fe40e2f52 *refactored expr calculation. 2017-10-08 17:49:57 +08:00
Wang Renxin
de3ff13389 *fixed an infinity loop bug with error handling; *fixed a wrong error locating bug. 2017-10-05 19:29:34 +08:00
Wang Renxin
540c9eb22a *updated doc. 2017-09-27 12:08:41 +08:00
Wang Renxin
c3438b2d57 +added a _SIMPLE_ARG_ERROR macro. *fixed wrong usage of _MULTILINE_STATEMENT. 2017-09-22 18:18:29 +08:00
Wang Renxin
3cdb490ab1 *used _MAKE_NIL. 2017-09-14 11:33:24 +08:00
Wang Renxin
3f570396c9 *fixed a referenced usertype cloning issue. 2017-09-13 22:11:11 +08:00
Wang Renxin
4eff522bcd *should check compiling for arduino in my_basic.c only. 2017-09-13 21:48:45 +08:00