Commit Graph

5760 Commits

Author SHA1 Message Date
Paolo Bosetti 177e74618d Further revision of the set of Xcode build schemes
Now there are only three schemes (build commands, static library, OS X
framework) plus a scheme wrapping the standard make file.
2012-08-13 16:37:02 +02:00
Paolo Bosetti 4c56ce2744 Merge branch 'master' into XCode 2012-08-13 16:26:15 +02:00
Paolo Bosetti 05127776cf Modified and made more clear Xcode project schemes. Also, removed /build form main .gitignore 2012-08-13 16:23:46 +02:00
Yukihiro Matsumoto cda1709a35 setjmp in mrb_funcall_with_block if mrb->jmp is empty 2012-08-13 21:03:08 +09:00
Yukihiro Matsumoto 59bf47e7f8 iv table may be empty 2012-08-13 04:51:48 +09:00
Yukihiro Matsumoto 1ed39d5c05 use TRUE/FALSE instead of 1/0 2012-08-13 04:19:24 +09:00
Yukihiro "Matz" Matsumoto 0143a85a21 Merge pull request #421 from masamitsu-murase/modify_puts
`puts` should print "\n" only when the argument does not end with "\n".
2012-08-12 12:16:31 -07:00
Yukihiro "Matz" Matsumoto 26a75d854b Merge pull request #420 from masamitsu-murase/modify_exception_handling
Modify exception handling
2012-08-12 12:16:00 -07:00
Masamitsu MURASE 44b408ad10 puts should print "\n" only when the argument does not end with "\n". 2012-08-13 02:42:32 +09:00
Masamitsu MURASE 686b6eb629 Add more test for exception. 2012-08-13 01:57:00 +09:00
Masamitsu MURASE 87ba67f42d Modify exception handling.
If an exception is raised before cipush is called in mrb_run,
it should be handled in the outer mrb_run.
2012-08-13 01:49:50 +09:00
Yukihiro Matsumoto 119b9f5bd5 check value from NilClass#inspect 2012-08-12 04:20:53 +09:00
Yukihiro Matsumoto a2a4563eaf check inside of result from Kernel#instance_variable 2012-08-12 04:19:17 +09:00
Yukihiro Matsumoto c9fe903fe1 now segmented list can be used as instance variable tables by -DMRB_USE_IV_SEGLIST; we still need to measure the performance and memory consumption 2012-08-12 01:59:18 +09:00
Yukihiro Matsumoto 3fe4b6414f add const qualifier to stop warning 2012-08-12 00:06:09 +09:00
Yukihiro Matsumoto a37c1daf33 call mrb_gc_free_gc from mrb_close 2012-08-12 00:05:10 +09:00
Yukihiro Matsumoto 0b14f950a7 add check for instance variable names 2012-08-11 23:59:18 +09:00
Yukihiro "Matz" Matsumoto 04c0d93684 Merge pull request #419 from beoran/master
Struct.new crashed if no parameters given. This pull request fixes that.
2012-08-09 13:28:09 -07:00
Yukihiro Matsumoto 4debf651a3 optimize assignment just before OP_RETURN 2012-08-10 05:15:58 +09:00
Beoran 3f670f7f44 Also added test for charsh bug with Struct.new without parameters. 2012-08-09 22:09:47 +02:00
Beoran 38e3b675ee Struct.new crashed if no arguments are given. Fixed. 2012-08-09 21:58:32 +02:00
Yukihiro Matsumoto 8d017ebdb7 add GC.disable and GC.enable 2012-08-09 03:58:52 +09:00
Yukihiro "Matz" Matsumoto 6b2e0b210b Merge pull request #418 from pbosetti/XCode
Minor edits to Xcode project file to better support Xcode 4.4 and OS X 10.8
2012-08-07 18:57:13 -07:00
Yukihiro Matsumoto 8af5a999bf store :initialize in mrb structure 2012-08-08 00:25:35 +09:00
Yukihiro "Matz" Matsumoto f0462b4122 Merge pull request #417 from MobiRuby/crash_when_called_stack_ext
Fixed memory leak when calling stack_extend in m->body.func
2012-08-06 18:53:50 -07:00
Yuichiro MASUI 3718599e86 Fixed memory leak when calling stack_extend in m->body.func 2012-08-07 04:04:22 +09:00
Paolo Bosetti aa0d2f9144 Updated Xcode project build settings in conformity with 10.8/Xcode 4.4 2012-08-06 15:02:56 +02:00
Paolo Bosetti 193c98ae54 Updated Xcode project build settings in conformity with 10.8/Xcode 4.4 2012-08-06 14:55:28 +02:00
Yukihiro Matsumoto 52ba6f5a8c class variable resolution should be same as const resolution 2012-08-05 17:12:03 +09:00
Yukihiro Matsumoto 722c53c560 Merge branch 'master' of github.com:mruby/mruby 2012-08-05 17:08:35 +09:00
Yukihiro Matsumoto 7c4bd7fffd remove OP_MOVE just before OP_RETURN 2012-08-05 17:07:43 +09:00
Yukihiro "Matz" Matsumoto 84acfa89fa Merge pull request #416 from monaka/pr-fix-message-length
Fix message lengths.
2012-08-04 16:47:09 -07:00
Masaki Muranaka b231bcb812 load_exec(): Fix message lenghtes in mrb_exc_new().
mrb_run(): Fix not to use a magic number but sizeof.
2012-08-04 19:54:21 +09:00
Yukihiro Matsumoto 472d214a71 super look-up scheme fixed; close #415 2012-08-04 06:44:53 +09:00
Yukihiro Matsumoto 730f53045e define_method to copy block body 2012-08-03 20:17:04 +09:00
Yukihiro Matsumoto 77aa261f3b mrb_singleton_class should raise TypeError for immediate objects 2012-08-03 19:56:14 +09:00
Yukihiro Matsumoto f121558f93 mrb_define_method_vm should update target_class 2012-08-03 19:55:01 +09:00
Yukihiro "Matz" Matsumoto 55192a82b7 Merge pull request #414 from monaka/pr-fix-memory-reak-in-mrb_realloc
Fix a memory leak in mrb_realloc().
2012-08-02 22:32:35 -07:00
Masaki Muranaka 81b41e84e9 Fix a memory leak in mrb_realloc(). 2012-08-03 14:03:53 +09:00
Yukihiro Matsumoto 6fb88f7e1d update regs after cfunc call [2] 2012-08-03 01:02:43 +09:00
Yukihiro Matsumoto 5aff0d3f25 update regs after cfunc call 2012-08-03 00:40:36 +09:00
Yukihiro Matsumoto 6f6e18ef82 struct.c refactoring 2012-08-02 22:17:27 +09:00
Yukihiro Matsumoto b8b22c1d17 use mrb_obj_equal to check pool 2012-08-02 22:15:49 +09:00
Yukihiro Matsumoto 6491693d00 mrb_get_args("&") gave wrong value 2012-08-02 22:03:53 +09:00
Yukihiro Matsumoto cc0f249c17 Time.new may not take any argument 2012-08-02 21:53:23 +09:00
Yukihiro Matsumoto a7f0e3bc80 small return optimization: use R0 to set return value if possible 2012-08-02 13:13:41 +09:00
Yukihiro Matsumoto 91318da3bc wrong return value from empty block/lambda 2012-08-02 12:57:57 +09:00
Yukihiro Matsumoto 90323f545f keep minimal stack space (recv and blk) 2012-08-02 07:56:23 +09:00
Yukihiro Matsumoto 29d4eb6e20 stack pos should be adjusted for CFUNC OP_EXEC 2012-08-02 04:00:42 +09:00
Yukihiro Matsumoto 1549502079 mrb_check_convert_type should always return nil on error 2012-08-02 01:58:20 +09:00