Commit Graph

1552 Commits

Author SHA1 Message Date
Akira Yumiyama 94520ea797 fix 'undefined method' error message. 2012-11-07 17:10:04 +09:00
Yukihiro "Matz" Matsumoto b777850c78 Merge pull request #528 from iij/pr-mruby-mrbc-test
add mruby/mrbc tests.
2012-11-05 01:12:39 -08:00
Akira Yumiyama fdefaf9f7d typo fix on test/report.rb 2012-11-05 15:50:46 +09:00
Akira Yumiyama 8d3baf6229 fix mrubytest dependencies 2012-11-05 15:36:12 +09:00
Akira Yumiyama cd2c7c7532 add mruby/mrbc tests. 2012-11-05 13:28:20 +09:00
Yukihiro Matz Matsumoto 3ceadfa5b2 inline include/mruby/object.h 2012-11-05 06:10:22 +09:00
Yukihiro Matz Matsumoto 3e1dd77b16 remove ROBJECT_{IVPTR,NUMIV} 2012-11-04 13:57:25 +09:00
Yukihiro Matz Matsumoto c903910c6b replace RBASIC by mrb_basic 2012-11-04 13:56:08 +09:00
Yukihiro Matz Matsumoto 3e22c939e6 remove NUM2CHR macro 2012-11-04 05:16:44 +09:00
Yukihiro Matz Matsumoto a354aca8b4 remove NUM2CHR macro 2012-11-04 05:15:58 +09:00
Yukihiro Matz Matsumoto 902dd63803 remove FL_XXX macros 2012-11-04 05:15:22 +09:00
Yukihiro Matz Matsumoto e429905597 replace SYM2ID() by mrb_symbol() 2012-11-04 05:11:39 +09:00
Yukihiro Matz Matsumoto ca7c662be5 remove reference to ruby_verbose and ruby_debug 2012-11-04 05:07:44 +09:00
Yukihiro Matz Matsumoto 15304c194d replace RTEST() by mrb_test_p() 2012-11-04 05:05:53 +09:00
Yukihiro Matz Matsumoto d2d2e9f5f9 add new predicates mrb_string_p(),mrb_array_p(),mrb_hash_p() 2012-11-04 05:02:39 +09:00
Yukihiro Matz Matsumoto 051777dc5d replace SYMBOL_P() by mrb_symbol_p() 2012-11-04 04:53:25 +09:00
Yukihiro Matz Matsumoto da88627a37 add mrb_float_p() 2012-11-04 04:51:13 +09:00
Yukihiro Matz Matsumoto 3ba521ae9e replace FIXNUM_P() by mrb_fixnum_p() 2012-11-04 04:49:43 +09:00
Yukihiro Matz Matsumoto 52f7e83726 Module#dup should copy class methods as well 2012-11-03 08:28:48 +09:00
Yukihiro Matz Matsumoto 2e0aa29296 cosmetic changes in mrb_obj_clone() 2012-11-03 08:28:26 +09:00
Yukihiro Matsumoto 9f0c59e068 FALSE and STRING should not be converted to float for get_args("f"); close #525 2012-11-03 01:57:57 +09:00
Yukihiro Matsumoto 5987f67a8d ignore cfunc method in backtrace 2012-11-03 01:42:19 +09:00
Yukihiro Matsumoto e0aa96a682 avoid trigraph (???) in backtrace 2012-11-03 01:40:51 +09:00
Yukihiro "Matz" Matsumoto b06d8e2ab8 Merge pull request #524 from iij/pr-backtrace
show backtrace when mruby dies on unhandled exception
2012-11-02 07:38:00 -07:00
Yukihiro "Matz" Matsumoto c73dffb684 Merge pull request #527 from iij/pr-mipseb-sigsegv
Fix stack underflow in scope_body() caused by 18dd60c
2012-11-02 07:30:24 -07:00
Yukihiro "Matz" Matsumoto bb3c89942b Merge pull request #526 from skandhas/pr-delete-needless-output-in-string
delete needless output in String#[]=
2012-11-02 07:27:50 -07:00
Takashi Sogabe c0c1c4da32 Fix stack underflow in scope_body()
Commit #18dd60c causes side effects.
This patch fixes stack underflow in scope_body().
2012-11-02 17:49:56 +09:00
skandhas 8a43ec75a0 delete needless output in String#[]= 2012-11-02 14:58:21 +08:00
Tomoyuki Sahara 43f4934e6d printf("%s", NULL) is not safe on some platforms. 2012-11-02 10:48:39 +09:00
Tomoyuki Sahara 650008bf9e fix compilation. 2012-11-02 10:37:52 +09:00
Tomoyuki Sahara 9622d65a6b show line numbers in backtrace. 2012-11-02 10:33:33 +09:00
Tomoyuki Sahara 80ed166e9f show all callinfo's. 2012-11-02 10:33:23 +09:00
Tomoyuki Sahara 075aa3eeaa don't print garbage entries. 2012-11-02 10:33:14 +09:00
Tomoyuki Sahara 5bae6459ff show backtrace. 2012-11-02 10:32:39 +09:00
Yukihiro Matsumoto 308b41c12b add test for 8cf42709 2012-11-02 08:02:21 +09:00
Yukihiro "Matz" Matsumoto 3b86394afc Merge pull request #523 from skandhas/pr-fix-embedded-rd-document
fix when mruby parse embedded rd document, mruby throw a syntax error.
2012-11-01 05:48:01 -07:00
Yukihiro "Matz" Matsumoto 88c96966c7 Merge pull request #522 from bovi/add-test-string-bytes
Add Test for String#bytes
2012-11-01 05:47:16 -07:00
Daniel Bovensiepen b9cf5045b7 Add Test for String#each_byte 2012-11-01 16:40:31 +08:00
Daniel Bovensiepen 8d9f5628ed Add Test for String#bytes 2012-11-01 16:24:52 +08:00
skandhas d232f4cc47 fix when mruby parse embedded rd document, mruby throw a syntax error. 2012-11-01 16:23:37 +08:00
Yukihiro Matsumoto 57910ca535 String#each_byte to use String#bytes; close #508 2012-11-01 06:13:02 +09:00
Yukihiro Matsumoto fe36bdb7f1 add String#bytes to return bytes in a string 2012-11-01 06:12:11 +09:00
Yukihiro Matsumoto 9b85ffa5a7 OP_ADDI/OP_SUBI should handle integer overflow; close #518 2012-11-01 05:54:53 +09:00
Yukihiro "Matz" Matsumoto 604e39bdfb Merge pull request #521 from iij/pr-fix-broken-variable-ref-next-statement
fix: broken variable reference, use 'next' statement
2012-10-31 12:27:18 -07:00
Yukihiro "Matz" Matsumoto c812c5c815 Merge pull request #519 from iij/pr-mruby-exit-status-with-mrb
fix mruby exit status with mrb file.
2012-10-31 12:26:43 -07:00
Yukihiro Matsumoto 8cf42709d1 constant access should refer outer class/module; close #514 2012-11-01 04:21:39 +09:00
Kouki Ooyatsu 35699424a9 fix: broken variable reference, use 'next' statement
Because the tree is gone pop() even if it is empty.
2012-10-31 20:20:36 +09:00
Akira Yumiyama 38fb8b07c6 fix mruby exit status with mrb file. 2012-10-30 23:49:10 +09:00
Yukihiro "Matz" Matsumoto b720156c99 Merge pull request #515 from iij/pr-fix-mrb-format
fixes *.mrb dump/load format with escaped character.
2012-10-29 23:30:59 -07:00
Yukihiro "Matz" Matsumoto 4c700eddb7 Merge pull request #517 from skandhas/pr-fix-cannot-get-const-form-singleton-class
fix cannot get/set const variable form singleton class
2012-10-29 23:29:29 -07:00