Yukihiro "Matz" Matsumoto
8639703bec
Merge pull request #2157 from cremno/remove-mrb_str_offset
...
remove `mrb_str_offset`
2014-04-29 17:08:04 +09:00
Yukihiro "Matz" Matsumoto
5398a55462
Merge pull request #2154 from cremno/dbl_dig
...
remove `DBL_DIG` fallback definition
2014-04-29 17:06:33 +09:00
cremno
739b155535
remove mrb_str_offset
2014-04-29 07:13:44 +02:00
Yukihiro "Matz" Matsumoto
3464116fc1
Merge pull request #2153 from kyab/fix_msvc_warning_symbol.c
...
Fix MSVC warning for symbol.c
2014-04-29 13:51:05 +09:00
cremno
0406343f2b
remove DBL_DIG fallback definition
2014-04-29 06:21:49 +02:00
cremno
5b3a442d31
include the missing header for DBL_DIG
2014-04-29 06:21:29 +02:00
kyab
1405f3a514
Fix MSVC warning for symbol.c
2014-04-29 13:00:11 +09:00
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
0bd99d7959
Merge pull request #2146 from utkarshkukreti/speed-up-select-bang
...
Speed up Array#select! from O(n^2) to O(n).
2014-04-29 12:27:48 +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
9ac817ae78
Add tests for multiline comment parsing
2014-04-28 14:22:55 -04: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
Utkarsh Kukreti
6e9a088efb
Speed up Array#select! from O(n^2) to O(n).
2014-04-28 12:14:15 +05:30
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
1a44b8817b
Merge pull request #2143 from mirichi/test
...
add post mandatory argument test
2014-04-28 10:44:31 +09:00
mirichi
d97ab343bd
add post mandatory argument test
2014-04-28 09:37:45 +09:00
Yukihiro "Matz" Matsumoto
2e59cd43de
prevent printf warning
2014-04-28 08:30:57 +09:00
Yukihiro "Matz" Matsumoto
67fed3d7fb
enable bintest on TravisCI to see how it works
2014-04-28 08:26:25 +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
Yukihiro "Matz" Matsumoto
c235d8f08d
Merge pull request #2142 from cremno/rename-mrb_str_buf_append
...
rename `mrb_str_buf_append` to `mrb_str_cat_str`
2014-04-28 05:57:01 +09:00
Yukihiro "Matz" Matsumoto
e0fe91bee5
Merge pull request #2141 from kyab/fix_msvc_warning_numeric.c
...
Fix MSVC warnings for numeric.c
2014-04-28 05:54:43 +09:00
Yukihiro "Matz" Matsumoto
b0fd5229fc
Merge pull request #2139 from suzukaze/add-array.select_bang
...
Add Array#select_bang
2014-04-28 05:53:52 +09:00
Yukihiro "Matz" Matsumoto
e1f4e021de
Merge pull request #2138 from take-cheeze/struct_to_a
...
Implement Struct#to_a and Struct#values .
2014-04-28 05:52: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
kyab
10cc4be32d
Fix MSVC warnings for numeric.c
2014-04-28 03:07:28 +09:00
Jun Hiroe
cdef46e3d9
Add Array#select_bang
2014-04-27 23:34:24 +09:00
take_cheeze
e2f6a905bc
Implement Struct#to_a and Struct#values .
2014-04-27 23:16:32 +09: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
7e175d8130
add Hash#fetch; close #2134
2014-04-27 03:03:27 +09:00
Yukihiro "Matz" Matsumoto
855a3f5991
re-apply 3644f1b since we have fixed GC bug
2014-04-27 02:52:04 +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
3d87596a71
Merge pull request #2137 from take-cheeze/module_function_eval
...
Define eval as module function.
2014-04-27 00:14:32 +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
take_cheeze
649ef30347
Define eval as module function.
2014-04-26 22:44:31 +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