Commit Graph

1068 Commits

Author SHA1 Message Date
skandhas 5a65a7258f add mrb_mod_cv_get 2012-12-20 21:29:35 +08:00
Masamitsu MURASE 72ae2150c7 Modify String#bytes.
It should return non-negative integer.
2012-12-19 23:54:00 +09:00
Cremno 988bc22730 MSVC: include float header for _isnan and _finite 2012-12-19 11:32:12 +01:00
skandhas 1187bb5f05 fix memory leak in fuction:make_cdump_irep 2012-12-19 15:49:40 +08:00
Akira Yumiyama b24848b6ab refactoring src/dump.c 2012-12-19 08:33:11 +09:00
Yukihiro Matz Matsumoto 24feb401c1 codedump should print relative offset for irep in OP_LAMBDA 2012-12-18 03:09:44 +09:00
Yukihiro Matz Matsumoto 3be5bfbc7a nextc() might have problem on bytes higer than 0x80; close #628 2012-12-17 17:56:09 +09:00
Yukihiro Matz Matsumoto 9de76a71e1 should not ignore exception on top-level; close #635 2012-12-17 17:53:33 +09:00
skandhas 6dede4edf9 fix incorrect integer-overflow checkups in OP_SUB/OP_SUBI case. 2012-12-13 14:42:07 +08:00
Yukihiro Matz Matsumoto 35abbd1486 Merge branch 'master' of github.com:mruby/mruby 2012-12-13 00:50:19 +09:00
Yukihiro Matz Matsumoto 1207e245ea class of TT_VOIDP should be Object 2012-12-13 00:50:02 +09:00
Yukihiro "Matz" Matsumoto f2d3c4d2f7 Merge pull request #623 from liancheng/master
Call mrb_gc_arena_save/mrb_gc_arena_restore when proper
2012-12-12 06:11:04 -08:00
Lian Cheng 2fa0be2a30 Call mrb_gc_arena_save/mrb_gc_arena_restore instead of manipulating arena index directly 2012-12-12 21:05:02 +08:00
Yukihiro Matz Matsumoto fd12f87712 save lastpc on exception and use it in mruby stack trace 2012-12-12 18:23:20 +09:00
Yukihiro Matz Matsumoto f63d5c2905 new function mrb_obj_iv_ifnone() 2012-12-12 18:22:23 +09:00
Yukihiro Matz Matsumoto 975adbfb5f remove unused variable 2012-12-12 08:36:42 +09:00
Yukihiro Matz Matsumoto b6c9a25866 remove return at the bottom of void function 2012-12-10 23:28:04 +09:00
Yukihiro "Matz" Matsumoto 64d577b0a2 Merge pull request #611 from tricknotes/stop-warning-of-proc
Stop warning in compiling proc.c
2012-12-10 06:09:16 -08:00
Yukihiro Matz Matsumoto 83f41c9ee7 add inline declaration 2012-12-10 23:08:28 +09:00
Ryunosuke SATO 85dac05cf3 Stop warning in compiling proc.c
proc.c:46: warning: ‘return’ with a value, in function returning void

introduced in f312af11.
2012-12-10 17:59:41 +09:00
Yukihiro Matz Matsumoto 1b716b93c6 add comment to clarify nregs=2 in cipush; close #610 2012-12-10 16:53:54 +09:00
Yukihiro Matz Matsumoto 1b2d84e6c1 Merge branch 'master' of github.com:mruby/mruby 2012-12-10 16:43:51 +09:00
Yukihiro Matz Matsumoto f312af11af new function mrb_closure_new_cfunc(); close #609 2012-12-10 16:43:03 +09:00
Jan Berdajs 036b78dfba refactor OP_RETURN switch to remove a redundant label and avoid goto 2012-12-10 07:03:49 +01:00
Yukihiro "Matz" Matsumoto d483e8253b Merge pull request #604 from skandhas/pr-fix-check_iv_name
fix incorrect checkups in check_iv_name
2012-12-09 21:45:01 -08:00
Masamitsu MURASE a7182c20eb Fix memory leak in String#to_i and String#to_f. 2012-12-10 02:29:38 +09:00
skandhas 0303faf696 fix incorrect checkups in check_iv_name 2012-12-09 21:16:58 +08:00
Yukihiro "Matz" Matsumoto 453980d76a Merge pull request #598 from bovi/mrbgems-improve-for-masuidrive
mrbgems - Improvements for masuidrive's mobiruby
2012-12-08 02:22:33 -08:00
Yukihiro Matz Matsumoto ba38dd5398 should update cdump.c to new mrb_add_irep() API; close #597 2012-12-08 19:21:32 +09:00
Daniel Bovensiepen 82446cc747 Use only DISABLE_GEMS for feature request in include/mrbconf.h 2012-12-08 13:26:50 +08:00
Yukihiro "Matz" Matsumoto f521738953 Merge pull request #479 from bovi/mrbgems
mrbgems
2012-12-07 01:04:32 -08:00
Yukihiro "Matz" Matsumoto bd3b95cae6 Merge pull request #594 from beoran/beoran_issue_569_fix
Fix for issue #569
2012-12-07 00:49:46 -08:00
Beoran 2dafb884c0 Fix for issue #569 2012-12-07 09:25:17 +01:00
Daniel Bovensiepen bef73cc54f Integrate refactoring of commit f1ed143624 2012-12-07 16:19:52 +08:00
Yukihiro Matz Matsumoto f1ed143624 mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024 2012-12-07 16:58:50 +09:00
Yukihiro Matz Matsumoto f486774352 refactor and move irep malloc away to mrb_add_irep() 2012-12-07 15:57:40 +09:00
Daniel Bovensiepen 466ed80b60 Merge remote-tracking branch 'mruby/master' into mrbgems 2012-12-06 08:53:32 +08:00
Yukihiro "Matz" Matsumoto 40daee12cf Merge pull request #567 from beoran/beoran_stack_overflow_fix
Keep stack depth and allocation better under control and fix crash on infinite recursion.
2012-12-05 07:16:08 -08:00
Daniel Bovensiepen be99d87ca4 rename mrb_load_irep for mrbtest to be consistent to name change 2012-12-05 17:45:24 +08:00
Takashi Sogabe 7127bded17 Fix out of boundary scan in case of octal formatted string
This patch fixes a side effect of #2e7953536e
2012-12-05 16:26:46 +09:00
Yukihiro Matz Matsumoto b8e5a57047 rename mrb_load_irep etc. for naming consistency 2012-12-05 02:48:29 +09:00
Daniel Bovensiepen 471c00a31d Merge remote-tracking branch 'mruby/master' into mrbgems 2012-12-05 01:01:34 +08:00
Takashi Sogabe 2e7953536e Fix loss of MSB in conditions of octal formatted string 2012-12-04 17:39:24 +09:00
Yukihiro Matz Matsumoto 674c55eb7d Merge branch 'master' of github.com:mruby/mruby 2012-12-03 23:35:37 +09:00
Yukihiro Matz Matsumoto 30d7c60cfd Array#[]= should return assigning value; close #584 2012-12-03 23:35:21 +09:00
skandhas 4bfece436e add check_const_name for Module#const_set 2012-12-03 14:15:37 +08:00
skandhas 78808bf5e3 add check_const_name for Module#const_get 2012-12-03 14:09:06 +08:00
skandhas b3bb54a21a add check_const_name for Module#const_defined? 2012-12-03 14:04:03 +08:00
skandhas fc89106792 add function:check_const_name 2012-12-03 13:55:23 +08:00
Yukihiro "Matz" Matsumoto 9754512716 Merge pull request #568 from mauceri/master
Potential memory management bug (issue #553)
2012-12-02 19:17:13 -08:00