Commit Graph

435 Commits

Author SHA1 Message Date
Yukihiro Matsumoto 324de1a002 remove Kernel#eval from the core; close #261 2012-06-12 18:05:36 +09:00
Yukihiro Matsumoto 30a062c165 String#split("") should split per character (byte for now) 2012-06-12 12:58:49 +09:00
Yukihiro Matsumoto ff4925b804 corrupted String#inspect on backslash escapes 2012-06-12 12:56:21 +09:00
Yukihiro Matsumoto 5937c29281 s.split(nil) should work like s.split() 2012-06-12 12:29:20 +09:00
Yukihiro Matsumoto 3403f19cb5 should handle splat in super arguments 2012-06-12 12:14:59 +09:00
Yukihiro Matsumoto debf296843 remove obsolete comment 2012-06-12 10:22:56 +09:00
Yukihiro Matsumoto 6987ba02f8 String#split now understands string sep 2012-06-12 09:51:10 +09:00
Yukihiro Matsumoto c76abc70ff GETARG_x should return int, not int32_t 2012-06-12 01:51:50 +09:00
Yukihiro Matsumoto 6247eafc71 should raise error on top-level super/yield 2012-06-12 01:24:11 +09:00
Yukihiro Matsumoto 13a542d48d zsuper should respect block given; close #185 2012-06-11 15:55:04 +09:00
Yukihiro Matsumoto 8f020f28c6 parser_dump: no print "local variables" if no local variables 2012-06-11 14:50:51 +09:00
Yukihiro Matsumoto dd550ca0d4 should increment p on every iteration; close #254 2012-06-11 14:33:01 +09:00
Yukihiro Matsumoto 9067cf6a75 should not quote || and && operators; close #253 2012-06-11 14:24:26 +09:00
Masamitsu MURASE 3bb09f9928 string.subseq should create new string based on 'ptr' not on 'aux.shared'. 2012-06-11 02:00:32 +09:00
Yukihiro Matsumoto 85901e0546 fixed typo DISPACTH to DISPATCH 2012-06-10 21:44:57 +09:00
Yukihiro Matsumoto 1a369de489 remove src/gc.h 2012-06-07 01:18:17 +09:00
Yukihiro Matsumoto 4c01f002fd mruby/array.h: rename buf to ptr 2012-06-05 23:20:36 +09:00
Yukihiro Matsumoto e3d17e54f8 mruby/string.h: rename buf to ptr 2012-06-05 23:17:09 +09:00
Yukihiro Matsumoto 501f7f6027 stop introducing Math::TORELANCE 2012-06-05 09:09:50 +09:00
Yukihiro "Matz" Matsumoto 114168a551 Merge pull request #245 from pbosetti/tests
Added Math.sqrt() that was missing in math.c, and added relevant test case
2012-06-04 17:04:47 -07:00
Yukihiro Matsumoto 2778058a8a Merge branch 'jf/parser-dump' of https://github.com/thecodeshop/mruby into thecodeshop-jf/parser-dump 2012-06-05 09:01:15 +09:00
Yukihiro Matsumoto 41baf125f2 Time#- should return time if operand is a number 2012-06-05 08:58:50 +09:00
Yukihiro "Matz" Matsumoto a7707baecd Merge pull request #243 from bovi/improve-time-and-test
Improve Time
2012-06-04 16:53:20 -07:00
Yukihiro Matsumoto 0b4f332137 merge conflict resolution 2012-06-05 08:51:43 +09:00
Yukihiro Matsumoto f06eceaa19 since 1.9 "!=" op is a method call 2012-06-05 08:43:58 +09:00
Yukihiro Matsumoto b7cc7fffe7 symbol can contain non printable characters 2012-06-05 08:34:09 +09:00
Paolo Bosetti 2c7cee8a1a Added Math.sqrt() that was missing in math.c, and added relevant test case 2012-06-04 15:57:05 -07:00
Daniel Bovensiepen 7bedf583a0 Add Time#utc 2012-06-05 03:11:41 +08:00
Yukihiro Matsumoto b2e6a0fc04 symbol can contain non printable characters 2012-06-04 20:34:43 +09:00
Yukihiro Matsumoto ab3c178a5f add Time#getlocal/getgm/getutc 2012-06-04 08:34:56 +09:00
Yukihiro Matsumoto 531124f057 time.c add ISO section numbers 2012-06-04 08:34:24 +09:00
Jon 30b6507817 Refactor hardcoded PARSER_DUMP macro 2012-06-03 18:58:19 -04:00
Yukihiro Matsumoto f24a52b04a remove mrb_open NULL check for small test programs. They are only for proof-on-concept test, not production code. Adding precise checks are not needed for those code 2012-06-04 01:46:04 +09:00
Yukihiro "Matz" Matsumoto d8f1e17ef6 Merge pull request #239 from thecodeshop/jf/mrb_open
guard mrb_open mem allocation and downstream usage
2012-06-03 09:41:32 -07:00
Daniel Bovensiepen 5612d195ec Improve Class#superclass to ISO 2012-06-03 23:29:40 +08:00
Jon 2fff59dc86 Check mrb_open return value for NULL 2012-06-03 11:11:35 -04:00
Jon 49aa42f3a9 Verify that memory for mrb_state was allocated 2012-06-03 11:11:34 -04:00
Yukihiro Matsumoto 7009a1d8f5 should not disclose metaclass; close #238 2012-06-03 23:26:40 +09:00
Yukihiro Matsumoto e4529c065d make arrays to share bodies 2012-06-03 23:05:31 +09:00
Yukihiro Matsumoto 3be1c88907 str_modify() revives string buffer kept in shared structure if refcnt == 1 2012-06-03 22:59:40 +09:00
Yukihiro "Matz" Matsumoto e66587439a Merge pull request #237 from k-tsj/rescue-only-standarderrors
A rescue clause with no parameter list rescues only StandardErrors
2012-06-03 05:08:48 -07:00
Yukihiro Matsumoto dece49750d string.subseq should update shared refcnt 2012-06-03 21:06:04 +09:00
Yukihiro Matsumoto 361d0ca75d strig.c should properly decref shared entities 2012-06-03 20:59:33 +09:00
Yukihiro Matsumoto 80c8908c4e remove mrb_exec_recursive 2012-06-03 17:59:59 +09:00
Yukihiro Matsumoto 4e46abb869 remove unused mrb_exec_recursive 2012-06-03 17:52:04 +09:00
Kazuki Tsujimoto 0629cf21ba A rescue clause with no parameter list rescues only StandardErrors 2012-06-03 17:48:02 +09:00
Yukihiro Matsumoto 597978c169 mrb_malloc/calloc/realloc should call mrb_garbage_collect before returning NULL 2012-06-03 17:34:23 +09:00
Yukihiro Matsumoto 28b9619bb4 should decref shared string body on gc_free 2012-06-03 15:45:06 +09:00
Yukihiro Matsumoto 60e8d80fa7 Merge branch 'master' of github.com:mruby/mruby 2012-06-03 15:34:09 +09:00
Yukihiro "Matz" Matsumoto c9227e44fb Merge pull request #236 from liyuray/master
fix an issue that access violation occurred on uninitialized irep block when running "make test" on MINGW.
2012-06-02 23:33:56 -07:00