Commit Graph

4991 Commits

Author SHA1 Message Date
Yukihiro Matz Matsumoto 7ce9cc3b83 String#split should honor limit arg 2013-02-18 18:47:25 +09:00
Yukihiro Matz Matsumoto 59a6d1b514 remove TT_REGEX and TT_MATCH 2013-02-18 16:18:19 +09:00
Yukihiro Matz Matsumoto eb14c15e99 rename hook and macro 2013-02-18 16:15:32 +09:00
Yukihiro "Matz" Matsumoto 66a7b04b25 Merge pull request #845 from masuidrive/hook_fetch
Added a hook at VM code fetch.
2013-02-17 23:11:49 -08:00
Yukihiro "Matz" Matsumoto 9b06a4506e Merge pull request #850 from mattn/pluggable_regexp
Pluggable regexp
2013-02-17 23:08:58 -08:00
Yukihiro Matz Matsumoto 3a78093b45 resolve conflict 2013-02-18 09:13:52 +09:00
Yukihiro Matz Matsumoto 5568df5efe :Merge branch 'master' of github.com:mruby/mruby
Conflicts:
	src/class.c
2013-02-18 09:11:54 +09:00
Yuichiro MASUI bc44d06c73 Created hook at VM code fetch. It's for debugger 2013-02-17 00:13:42 +09:00
skandhas 07bff3956e fix error output for Module#remove_const 2013-02-16 22:22:08 +08:00
mattn e0f25b1fda ready to pass second argument of Regexp.new 2013-02-15 13:55:41 +09:00
Yukihiro Matz Matsumoto e96743f3d7 use mrb_get_args("n") instead of decomposing each time 2013-02-15 10:45:32 +09:00
mattn 55ef8c50fb REGEXP_CLASS 2013-02-15 10:22:10 +09:00
Yukihiro Matz Matsumoto 37fe3d666f add Module#remove_const 2013-02-15 10:20:55 +09:00
mattn 6aee0485fc Should be OP_LOADL 2013-02-15 09:22:59 +09:00
mattn b1a5146ea8 Pluggable Regexp 2013-02-15 04:38:27 +09:00
Akira Yumiyama 397d1e7aa9 add mrb_str_to_cstr 2013-02-11 21:02:35 +09:00
Yukihiro Matz Matsumoto 75ae568236 should adjust stack size when irep->nregs is larger than allocate size; close #835 2013-02-10 23:54:57 +09:00
Yukihiro "Matz" Matsumoto 9a439245df Merge pull request #831 from carsonmcdonald/ciidxfix
Don't overwrite ciidx if it is already set.
2013-02-09 04:43:07 -08:00
Carson McDonald 92eb282b7a Don't overwrite ciidx if it is already set. 2013-02-08 06:57:15 -05:00
Carson McDonald 2ce3b31a8a Fix incorrect index use. nerr was being used for warning buffer check. 2013-02-07 07:27:59 -05:00
Cremno 11869a433b rewrote mrb_any_to_s
use %p instead of %lx to prevent truncation and for consistency
2013-02-06 00:07:09 +01:00
Yukihiro "Matz" Matsumoto 70eaa9d58e Merge pull request #815 from masamitsu-murase/modify_handling_of_large_fixnum
Modify handling of large fixnum
2013-02-03 16:10:34 -08:00
Yukihiro "Matz" Matsumoto e887059cbf Merge pull request #816 from masamitsu-murase/modify_potential_error_of_hash
Fix potential bug about Hash.
2013-02-03 16:08:27 -08:00
Masamitsu MURASE eaf32e02e0 Restore arena in String#split. 2013-02-03 17:10:05 +09:00
Masamitsu MURASE aeb8e2eaac Fix potential bug about Hash. 2013-02-03 16:52:43 +09:00
Masamitsu MURASE 641fc9902f Prevent overflow of Fixnum#to_s. 2013-02-03 16:32:30 +09:00
Masamitsu MURASE 2087526342 Modify handling of integer literal.
Do not assume that significand of `double` is larger than `mrb_int`.
2013-02-03 16:29:46 +09:00
Masamitsu MURASE 54eb08e2fc Remove ";" suffix from function-type macros. 2013-02-02 00:24:30 +09:00
Masamitsu MURASE ee0cfb2101 Bug fix. 2013-01-31 02:27:42 +09:00
Masamitsu MURASE a943942ca7 Add field_write_barrier when an method is defined. 2013-01-31 01:21:20 +09:00
Masamitsu MURASE 8ce1ea8437 Protect irep of ensure. 2013-01-30 20:46:37 +09:00
Masaki Muranaka d2386eb9b0 Remove unused define and commented out code. 2013-01-30 11:37:56 +09:00
Yukihiro Matz Matsumoto e43216c45d rename mrb_ary_alen to mrb_ary_len; close #781 2013-01-30 07:45:32 +09:00
Yukihiro Matz Matsumoto 900b856415 remove src/cdump.c to resolve; need make clean 2013-01-30 07:38:14 +09:00
Yuichiro MASUI cf81a88b04 Removed mrbc -C option what's C function dump. and TAB to space 2013-01-29 22:47:50 +09:00
Yukihiro "Matz" Matsumoto 1724042225 Merge pull request #766 from masuidrive/mrbint64
Fixed MRB_INT64 warning
2013-01-29 05:35:38 -08:00
Yukihiro "Matz" Matsumoto e18a9c0a56 Merge pull request #788 from masamitsu-murase/modify_range_initialize
Modify range initialize to prevent segmentation fault.
2013-01-29 05:35:15 -08:00
Yukihiro "Matz" Matsumoto 14c97e8243 Merge pull request #794 from monaka/pr-reduce-unused-function-parameters
Remove unused function parametes.
2013-01-29 05:34:02 -08:00
Masaki Muranaka ea82eaaa79 Remove unused function parametes. 2013-01-29 17:45:54 +09:00
Masaki Muranaka 3ab1afa07d Remove API mrb_str_catf(). 2013-01-29 17:21:50 +09:00
Masamitsu MURASE 21ebb7f2c8 Initialize Range->edges after cheking beg and end to prevent segmentation fault. 2013-01-28 16:07:47 +09:00
Yukihiro "Matz" Matsumoto 60788672f2 Merge pull request #786 from carsonmcdonald/unsignedfixes
Fixes a number of "comparison between signed and unsigned" warnings.
2013-01-27 07:40:13 -08:00
Carson McDonald 86eadb9637 Removed tests that look outdated. The mrb_compile_string they use is gone now. 2013-01-27 10:19:01 -05:00
Carson McDonald 8f83f6674c Fixes a number of "comparison between signed and unsigned" warnings. 2013-01-27 09:44:47 -05:00
Yuichiro MASUI 5a681874dd defined printf macro for mrb_int 2013-01-26 01:05:20 +09:00
Yukihiro Matz Matsumoto 47d7cce66d inspecting anonymous class should not SEGV; close #780 2013-01-26 00:17:40 +09:00
Yukihiro Matz Matsumoto 410d58a555 resolve conflict 2013-01-23 22:32:17 +09:00
Yukihiro "Matz" Matsumoto 8961a78808 Merge pull request #770 from masuidrive/mrbgem_finalizer
Added finalizer of mrbgems
2013-01-23 05:11:54 -08:00
Yuichiro MASUI 10c264d4bb Removed ext 2013-01-22 20:24:33 +09:00
Yuichiro MASUI 310b0dce8f Added finalizer of mrbgems 2013-01-22 20:18:48 +09:00