Yukihiro "Matz" Matsumoto
a2dc6f7db9
Merge pull request #2151 from carsonmcdonald/multilinecommentfix
...
Fix multiline comments
2014-04-29 12:29:29 +09:00
Yukihiro "Matz" Matsumoto
2ca5bed901
make cioff in struct REnv from int to ptrdiff_t; close #2149
2014-04-29 12:25:15 +09:00
Yukihiro "Matz" Matsumoto
48e82d7c77
cast intptr_t to mrb_int to pacify compiler warning; close #2148
2014-04-29 12:21:49 +09:00
Yukihiro "Matz" Matsumoto
88c0d0cf9a
clear all stack everytime to prevent GC crash; ref #2109
2014-04-29 10:38:38 +09:00
Yukihiro "Matz" Matsumoto
29f6cdcd4d
stack may be uncleared
2014-04-29 10:36:30 +09:00
Yukihiro "Matz" Matsumoto
57e6a783bc
fiber context may be NULL
2014-04-29 10:32:49 +09:00
Yukihiro "Matz" Matsumoto
f8c465dd44
clear ci->proc to prevent GC crash
2014-04-29 10:32:05 +09:00
Carson McDonald
b2f3919bc2
Accept =begin and =end with spaces after
2014-04-28 14:15:03 -04:00
Carson McDonald
af95acec17
make peek_n append p->pb to list
2014-04-28 14:11:18 -04:00
Yukihiro "Matz" Matsumoto
220f3124b9
should care about the case that given arguments are less then mandatory formal arguments and optional arguments exist; close #2144
2014-04-28 13:34:14 +09:00
Yukihiro "Matz" Matsumoto
b1ec92f7cd
fix OP_BLKPUSH dump format
2014-04-28 11:59:46 +09:00
Yukihiro "Matz" Matsumoto
2e59cd43de
prevent printf warning
2014-04-28 08:30:57 +09:00
Yukihiro "Matz" Matsumoto
b53e69f18d
better codedump formatting
2014-04-28 08:02:47 +09:00
Yukihiro "Matz" Matsumoto
3244ddf0c3
presreve local variables names in irep->lv
2014-04-28 07:29:37 +09:00
cremno
91c22f32f4
rename mrb_str_buf_append to mrb_str_cat_str
...
The new name is better and less confusing, because:
- `mrb_str_append` calls `mrb_str_to_str` and this function doesn't
- `mrb_str_buf_append` _is_ `mrb_str_cat` for `mrb_value` strings
2014-04-27 22:33:22 +02:00
Yukihiro "Matz" Matsumoto
bbc237044d
NODE_SUPER should preserve stack region for block; ref #2136
2014-04-27 09:22:35 +09:00
Yukihiro "Matz" Matsumoto
26758d89bd
NODE_DEF should preserve stack region for lambda; ref #2136
2014-04-27 09:05:23 +09:00
Yukihiro "Matz" Matsumoto
354e6fdce5
Merge pull request #2136 from mirichi/bug-fix2
...
area of implicit nil is not enough to nregs
2014-04-27 08:24:23 +09:00
Yukihiro "Matz" Matsumoto
4e790fc1b6
forgot to remove abort()
2014-04-27 02:50:41 +09:00
Yukihiro "Matz" Matsumoto
4bfd25d405
mark may be missed when eval() is called
2014-04-27 02:48:11 +09:00
Yukihiro "Matz" Matsumoto
33320e282a
Merge pull request #2135 from mirichi/bug-fix
...
correct to compare MRB_STACK_GROWTH.
2014-04-27 00:06:09 +09:00
Yukihiro "Matz" Matsumoto
a5161e76ed
Class.constants to take optional argument; close #2133
2014-04-26 23:47:55 +09:00
mirichi
71395aba52
area of implicit nil is not enough to nregs
2014-04-26 20:20:23 +09:00
mirichi
ad60f81032
The correct is to compare the MRB_STACK_GROWTH.
2014-04-26 19:37:53 +09:00
Yukihiro "Matz" Matsumoto
5bf327497f
bit more peephole optimization for NODE_LVAR
2014-04-26 17:19:52 +09:00
Yukihiro "Matz" Matsumoto
773097d3a8
Merge branch 'master' of github.com:mruby/mruby
2014-04-26 12:08:11 +09:00
Yukihiro "Matz" Matsumoto
e76be4e2ab
check length before calling stack_copy(); based on a patch from @mirich; close #2129
2014-04-26 12:07:51 +09:00
Jun Hiroe
68ce209f7e
Refactor fix_xor()
2014-04-26 11:52:45 +09:00
Jun Hiroe
8916381dba
Refactor fix_or()
2014-04-26 11:52:45 +09:00
Jun Hiroe
c2d46a43b2
Refactor fix_and()
2014-04-26 11:52:45 +09:00
Jun Hiroe
1bf4633ced
Refactor flo_finite_p()
2014-04-26 11:52:45 +09:00
Yukihiro "Matz" Matsumoto
2202e412ea
Merge branch 'master' of github.com:mruby/mruby
2014-04-26 01:53:15 +09:00
Yukihiro "Matz" Matsumoto
44ec41a772
should use plain int for index, since i may be printed using %d; close #2127
2014-04-26 01:52:30 +09:00
Yukihiro "Matz" Matsumoto
c236d779cf
Merge pull request #2126 from kyab/fix_msvc_warning_error.c
...
Fix MSVC warnings for error.c
2014-04-26 01:31:51 +09:00
Yukihiro "Matz" Matsumoto
4f1bda2da1
Merge pull request #2124 from take-cheeze/eval_file_line
...
Support file name and line number argument in eval.
2014-04-26 01:30:41 +09:00
Yukihiro "Matz" Matsumoto
c15da653b2
Merge pull request #2118 from ksss/range-bool
...
RRange excl flag use mrb_bool insteard of int
2014-04-26 01:30:04 +09:00
kyab
1fdc072032
Fix MSVC warnings for error.c
2014-04-26 00:00:40 +09:00
take_cheeze
215f8fdd64
Fix lineno overwrite in parser_init_cxt.
...
By reordering parsing string with mrb_parser_parse won't always start with line 1.
2014-04-25 21:56:02 +09:00
mirichi
fa1a1e6db8
Refactoring OP_CALL
2014-04-25 21:49:29 +09:00
Yukihiro "Matz" Matsumoto
48f36d3f0e
better integer size assertion suggested by usak
2014-04-25 04:33:08 +09:00
Yukihiro "Matz" Matsumoto
83c1399af0
eliminate plain int except for a few cases like arena_index
2014-04-25 04:01:57 +09:00
Yukihiro "Matz" Matsumoto
8a04dd8493
Merge pull request #2117 from kyab/fix_msvc_warning_backtrace.c
...
Fix MSVC warning for backtrace.c
2014-04-25 02:33:50 +09:00
Yukihiro "Matz" Matsumoto
320f0711f0
remove -Wsign-compare warnings
2014-04-25 02:33:33 +09:00
ksss
aca3a1f3fb
range_init argument for exclude_end use mrb_bool
2014-04-24 13:25:59 +00:00
ksss
f1d85c2f97
mrb_range_new excl flag use mrb_bool insteard of int
2014-04-24 13:18:57 +00:00
kyab
4c8092fe00
Fix MSVC warning for backtrace.c
2014-04-24 22:10:19 +09:00
kyab
e248097a17
Fix MSVC warning for gc.c
2014-04-24 01:18:41 +09:00
mirichi
4ab801c045
fixed.
2014-04-23 19:39:14 +09:00
mirichi
e6c757b5c1
bug fixed
2014-04-22 23:10:40 +09:00
mirichi
8195224072
reduce the init size of stack
2014-04-22 22:02:03 +09:00