Commit Graph

1583 Commits

Author SHA1 Message Date
Masaki Muranaka 5444c3bbb3 Add more strict warning checks 2012-10-15 13:25:11 +09:00
Masaki Muranaka 170d5e7181 Avoid memcpy() on copying structure. 2012-10-15 13:15:29 +09:00
Yukihiro "Matz" Matsumoto 4dcd7cdacd Merge pull request #485 from beoran/bdm_extend_main_crashes_fix
Bugfix for crash if main was extended with a module.
2012-10-09 23:45:51 -07:00
Beoran 8949e3c7fb Bugfix for crash if main was extended with a module. 2012-10-09 21:45:41 +02:00
Yukihiro Matsumoto cf2bd3469a preserve script file name 2012-10-05 10:55:29 +09:00
Yukihiro Matsumoto 70916d030c script file name should not be in ARGV 2012-10-04 14:56:24 +09:00
Yukihiro Matsumoto 0d9b91083b specify know capacity of an array 2012-10-04 14:39:44 +09:00
Yukihiro Matsumoto 2830624410 fix indent of mrb_exc_raise 2012-10-04 14:20:33 +09:00
Yukihiro Matsumoto 3a6b6518d6 should handle exception from Ruby implemented method called from funcall; close #484 2012-10-04 11:30:28 +09:00
Yukihiro "Matz" Matsumoto 72bcf7ee01 Merge pull request #483 from akuroda/array_test
add test cases for Array
2012-09-30 06:10:36 -07:00
Akira Kuroda 5c2afd239c add test case for Array#unshift, <=>, and * 2012-09-30 17:59:45 +09:00
Yukihiro "Matz" Matsumoto be8f3909f7 Merge pull request #481 from monaka/pr-tiny-cleanup-20120929
Tiny clean-up
2012-09-29 16:43:29 -07:00
Yukihiro Matsumoto a3d7960a44 wrong termination of mrb_run on exception; close #480 2012-09-30 08:42:10 +09:00
Yukihiro Matsumoto af8f039b90 mruby should exit with 0 on success 2012-09-30 08:41:36 +09:00
Masaki Muranaka cd58b12d84 Remove extern mrb_top_self. It is declared in mruby.h. 2012-09-29 17:02:36 +09:00
Masaki Muranaka d085ac228e mrb_long2int(n) : Remove as unused.
defines.h : Remove as already commented out.
2012-09-29 17:00:32 +09:00
Yukihiro Matsumoto 5adbbe66d8 should adjust array size 2012-09-27 17:17:14 +09:00
Yukihiro Matsumoto 7171e5aa18 load_exec should return undef on syntax errors 2012-09-27 11:28:15 +09:00
Yukihiro Matsumoto 190fc76091 should not call mrb_parser_free() on NULL pointer 2012-09-26 08:15:09 +09:00
Yukihiro Matsumoto 84008f99d5 should adjust pc after OP_CALL 2012-09-21 15:10:38 +09:00
Yukihiro Matsumoto 15cf8fdea4 Merge branch 'master' of github.com:mruby/mruby 2012-09-20 18:27:08 +09:00
Yukihiro Matsumoto 44b28a83f8 OP_CALL for cfunc must restore callinfo; close #476 2012-09-20 18:26:51 +09:00
Yukihiro "Matz" Matsumoto 1afda93c7a Merge pull request #475 from bovi/contributing
More Contributing Documentation
2012-09-18 06:30:04 -07:00
Yukihiro "Matz" Matsumoto 25a98d2b89 Merge pull request #474 from monaka/pr-generic-sh-elf-support
Generic sh-elf target support.
2012-09-18 06:29:19 -07:00
Daniel Bovensiepen 5e16c2309f re-formulate some sentences 2012-09-18 22:20:05 +09:00
Daniel Bovensiepen 2493915a72 Emphasis commands 2012-09-18 21:38:15 +09:00
Daniel Bovensiepen fcf38cc86b Add a contribution information file 2012-09-18 21:36:00 +09:00
Masaki Muranaka a55ffc78e8 Generic sh-elf target support. 2012-09-18 13:14:54 +09:00
Yukihiro "Matz" Matsumoto 4bf51cdd42 Merge pull request #473 from bovi/integer-step-test
Add test case for Integer#step
2012-09-15 10:48:20 -07:00
Yukihiro "Matz" Matsumoto 8bed663762 Merge pull request #472 from bovi/kernel-to-s-test
Don't check ObjectID of Kernel#to_s. Only class check of instance
2012-09-15 10:48:04 -07:00
Daniel Bovensiepen b4647224b7 Add test case for Integer#step 2012-09-15 17:13:56 +09:00
Yukihiro Matsumoto ef17231bd7 Integer#step added 2012-09-15 15:04:51 +09:00
Yukihiro Matsumoto 4de0a2afbf Numeric#{upto,downto}: limit may not be an integer 2012-09-15 14:48:31 +09:00
Daniel Bovensiepen e44c3fc8aa Don't check ObjectID of Kernel#to_s. Only class check of instance 2012-09-15 14:14:25 +09:00
Yukihiro Matsumoto f0f113ef0e should define String#+ (non inlined); close #469 2012-09-13 22:28:04 +09:00
Yukihiro Matsumoto 8d97a8e069 Merge branch 'master' of github.com:mruby/mruby 2012-09-13 05:56:46 +09:00
Yukihiro "Matz" Matsumoto 75002290b0 Merge pull request #468 from iij/pr-exception-without-mesg
check if an Exception instance has a "mesg" attribute
2012-09-12 13:56:35 -07:00
Tomoyuki Sahara 7a7f267b88 check if an Exception instance has a "mesg" attribute
fix the issue that "Exception.new.inspect" causes SIGSEGV.
2012-09-12 20:08:56 +09:00
Yukihiro Matsumoto 540066c9e2 mrb_sym can be short integer; reduced 10KB 2012-09-12 16:20:32 +09:00
Yukihiro Matsumoto 3a49dfd198 remoce duplicate declaration of TOUPPER/TOLOWER 2012-09-12 16:09:03 +09:00
Yukihiro "Matz" Matsumoto 0475196d26 Merge pull request #467 from iij/pr-fix-include-path-proc
Fix include path in proc.h.
2012-09-12 00:05:45 -07:00
Yukihiro "Matz" Matsumoto e6a582a623 Merge pull request #466 from iij/pr-signed-char
two more wrapper macros for ctype.h
2012-09-12 00:05:15 -07:00
Kouki Ooyatsu b3a7699c2b Fix include path in proc.h. 2012-09-12 14:35:38 +09:00
Tomoyuki Sahara 32b88c72af two more wrapper macros for ctype.h
we need them on the platform where 'char' is signed.
2012-09-12 14:02:58 +09:00
Yukihiro Matsumoto 54101eec43 typo fixed 2012-09-12 07:41:28 +09:00
Yukihiro Matsumoto cdbd116c49 Merge branch 'master' of github.com:mruby/mruby 2012-09-12 07:40:38 +09:00
Yukihiro "Matz" Matsumoto bcd77200ac Merge pull request #463 from emboss/define_dbl_dig_conditionally
Define DBL_DIG only if it wasn't previously defined
2012-09-10 23:00:30 -07:00
Yukihiro "Matz" Matsumoto 553b940560 Merge pull request #465 from shancat/mingw_fix
Fixes #464.
2012-09-10 22:59:53 -07:00
Shannen Saez 4df4dc9ecd Fixes #464. 2012-09-11 14:30:44 +10:00
emboss a24fde1889 Define DBL_DIG only if it wasn't previously defined
DBL_DIG may already be defined on the target system,
defining it without checking first may overwrite
system values.
2012-09-11 03:02:28 +02:00