Yukihiro "Matz" Matsumoto
86bd3f080f
Merge pull request #2090 from ksss/authors
...
Can I add me to AUTHORS?
2014-04-20 21:24:36 +09:00
Yukihiro "Matz" Matsumoto
45de5bc401
Merge pull request #2084 from suzukaze/fix-typo
...
Fix typos in tests for mruby-string-utf8
2014-04-20 21:24:06 +09:00
ksss
8cdd2bac6e
Add AUTHORS "Yuki Kurihara"
2014-04-20 15:32:44 +09:00
Jun Hiroe
cd948b0501
Fix typos in tests for mruby-string-utf8
2014-04-20 02:14:42 +09:00
Yukihiro "Matz" Matsumoto
44cc51fef7
Merge pull request #2083 from take-cheeze/use_bool_macro
...
Use boolean macro instead of integer literal in `is_debug_info_defined`.
2014-04-20 00:42:42 +09:00
take_cheeze
1ed9394078
Use boolean macro instead of integer literal in is_debug_info_defined.
2014-04-19 23:25:48 +09:00
Yukihiro "Matz" Matsumoto
e5368c006a
Merge pull request #2081 from nobu/parenthesed_do-block_in_cmdarg
...
Allow parenthesed do-block in cmdarg
2014-04-19 21:33:29 +09:00
Nobuyoshi Nakada
b16697982e
Allow parenthesed do-block in cmdarg
...
Flush cmdarg flags inside left-paren in a command argument, to allow
parenthesed `do-block` as an argument without arguments parentheses.
`CMDARG_PUSH(0)` for tLPAREN_ARG is before `CMDARG_PUSH(1)` in
`command_args` due to look-ahead.
2014-04-19 18:46:07 +09:00
Yukihiro "Matz" Matsumoto
426f80b191
Merge pull request #2080 from crimsonwoods/replace_disordered_callinfo_variables
...
Sort out the variables which belongs to 'mrb_callinfo'
2014-04-19 14:38:14 +09:00
crimsonwoods
29e90d0287
Sort out the variables which belongs to 'mrb_callinfo' to improve 'cipush' performance.
2014-04-18 22:04:21 -07:00
Yukihiro "Matz" Matsumoto
e462475752
Merge pull request #2079 from suzukaze/add-test-of-utf8-string.rindex
...
Add tests for String#rindex of mruby-string-utf8.
2014-04-19 12:02:52 +09:00
Yukihiro "Matz" Matsumoto
edb8cca478
Merge pull request #2077 from take-cheeze/rstruct_macro
...
Use RARRAY_* macro instead of accessing RArray field.
2014-04-19 12:01:18 +09:00
Jun Hiroe
29bbeb1512
Add tests for utf8-string#rindex
2014-04-19 01:12:58 +09:00
Yukihiro "Matz" Matsumoto
751e74a8fb
Merge pull request #2078 from suzukaze/add-block-with-array.uniq_bang
...
Add block argument with Array#uniq! and Array#uniq
2014-04-19 00:01:08 +09:00
Yukihiro "Matz" Matsumoto
73c0ea5ffa
mruby-string-utf8: update UTF-8 tests; ref #2076
2014-04-18 23:46:18 +09:00
Yukihiro "Matz" Matsumoto
b2422cf021
mruby-string-utf8: str_subseq takes UTF-8 index, not byte index; ref #2076
2014-04-18 23:45:26 +09:00
take_cheeze
bac70ad81d
Use RARRAY_* macro instead of accessing RArray field.
2014-04-18 23:19:25 +09:00
Jun Hiroe
cb5e6edb7f
Add a block argument with Array#uniq
2014-04-18 23:13:10 +09:00
Jun Hiroe
80646a7890
Add a block argument with Array#uniq_bang
2014-04-18 23:13:02 +09:00
mattn
280f9dfc19
Add one more test
2014-04-18 21:05:03 +09:00
mattn
1d5e100e07
Add test for String#ord, String#split for mruby-string-utf8
2014-04-18 21:00:59 +09:00
Yukihiro "Matz" Matsumoto
4918e5ec65
Merge pull request #2075 from mattn/utf8-string-ord
...
Implement String#ord, String#split for mruby-string-utf8
2014-04-18 11:21:17 +09:00
mattn
d72b8c201d
Implement String#ord, String#split for mruby-string-utf8
2014-04-18 02:26:17 +09:00
Yukihiro "Matz" Matsumoto
7c1b3f8a86
mruby-string-utf8: String#reverse! may leak memory when mrb_str_modify() raises exception
2014-04-18 00:56:50 +09:00
Yukihiro "Matz" Matsumoto
270659da5f
Merge pull request #2074 from mattn/fix_string_utf8_index
...
Implement String#index, fixes #2073
2014-04-18 00:50:45 +09:00
mattn
db88af83df
Cosmetic change
2014-04-17 19:51:45 +09:00
mattn
ba5a995c23
Handle utf-8 code in index/rindex
2014-04-17 19:47:01 +09:00
mattn
9d520ae739
Implement String#index, fixes #2073
2014-04-17 18:22:07 +09:00
Yukihiro "Matz" Matsumoto
d000c72bc6
Merge pull request #2072 from take-cheeze/mrb_regexp_p
...
Add mrb_regexp_p.
2014-04-17 17:17:37 +09:00
take_cheeze
699964a86e
Use mrb_regexp_p to check regexp.
2014-04-17 14:32:45 +09:00
take_cheeze
d4a510f751
Add mrb_regexp_p to check whether mrb_value is Regexp.
2014-04-17 14:32:45 +09:00
Yukihiro "Matz" Matsumoto
1d51d1a0b5
Symbol#to_proc to support block call.
...
based on a patch from @ksss; close #2071
2014-04-17 13:28:54 +09:00
Yukihiro "Matz" Matsumoto
dbe85f81dd
raises an ArgumentError when calling #call
...
based on a patch from @ksss; close #2070
2014-04-17 09:37:40 +09:00
Yukihiro "Matz" Matsumoto
af5a32f4e5
Merge pull request #2069 from cremno/static
...
various functions should have internal linkage
2014-04-17 07:58:05 +09:00
Yukihiro "Matz" Matsumoto
f756a8a72f
Merge pull request #2068 from cremno/exc_inspect-convert-mesg-to-string
...
convert exception message to string
2014-04-17 07:54:34 +09:00
Yukihiro "Matz" Matsumoto
26c0f8a772
Merge pull request #2067 from take-cheeze/move_re_h
...
Move src/re.h to include/mruby/re.h .
2014-04-17 07:53:02 +09:00
cremno
8271b4ba27
various functions should have internal linkage
2014-04-16 21:26:12 +02:00
cremno
36d3909e63
get classname and concatenate ": " only once
2014-04-16 20:48:39 +02:00
cremno
b4bb2a700a
convert exception message to string
...
fixes: mruby -e "p ArgumentError.new(1)"
2014-04-16 20:44:07 +02:00
take_cheeze
b5824f3649
Use mruby/re.h instead of duplicate definition.
2014-04-16 22:41:22 +09:00
take_cheeze
c0eaaf3559
Move src/re.h to include/mruby/re.h .
2014-04-16 22:39:57 +09:00
Yukihiro "Matz" Matsumoto
93c82514dc
Merge branch 'master' of github.com:mruby/mruby
2014-04-16 15:22:50 +09:00
Yukihiro "Matz" Matsumoto
3e00684faa
resolve conflict
2014-04-16 15:18:52 +09:00
Yukihiro "Matz" Matsumoto
cb1659c191
Merge pull request #2066 from suzukaze/refactor-numeric2
...
Refactor numeric.c
2014-04-16 15:02:42 +09:00
Jun Hiroe
cdb49ab608
Refactor fix_to_f in numeric.c
2014-04-16 13:42:40 +09:00
Jun Hiroe
212b3409ae
Refactor lshift in numeric.c
2014-04-16 13:42:40 +09:00
Jun Hiroe
0823b23623
Refactor fix_shift_get_width in numeric.c
2014-04-16 13:42:40 +09:00
Yukihiro "Matz" Matsumoto
c136d871b9
Merge pull request #2065 from take-cheeze/utf8_string_size_test
...
Add test for UTF-8 string String#size .
2014-04-15 23:50:34 +09:00
take_cheeze
96f40c9ec4
Add test for UTF-8 string String#size .
2014-04-15 22:39:52 +09:00
Yukihiro "Matz" Matsumoto
1c9ad8a580
fixed typo in opcode.h
2014-04-15 22:24:02 +09:00