Commit Graph

4884 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 7721463a35 add const to char* to pacify warnings for string litral to char* conversion 2014-03-02 00:59:12 +09:00
take_cheeze b98890a4b7 clear exc_catched before jumping to L_RAISE 2014-03-01 20:53:31 +09:00
take_cheeze 1eeafc27d0 define mrbconfs on all compiler 2014-03-01 20:05:31 +09:00
take_cheeze 54f9ca36fd define __STDC_* macros in y.tab.cxx too 2014-03-01 20:05:31 +09:00
take_cheeze fad4b578e1 wrap scope with do {} while() 2014-03-01 20:05:31 +09:00
take_cheeze 0c8bac5a38 revert wrong build_config.rb 2014-03-01 20:05:31 +09:00
take_cheeze 7e11388dc4 use g++ to link 2014-03-01 20:05:30 +09:00
take_cheeze 556afa0e44 name c++ abi build 2014-03-01 20:05:30 +09:00
take_cheeze 86831d5465 move jmpbuf_id to generated file 2014-03-01 20:05:30 +09:00
take_cheeze 1985f1ace9 fix compile error of min/max macro 2014-03-01 20:05:29 +09:00
take_cheeze 87ec2567f8 add cxx_abi travis test 2014-03-01 20:05:29 +09:00
take_cheeze 23ef20624c fix compile error 2014-03-01 20:05:29 +09:00
take_cheeze 78915f9601 support c++ exception 2014-03-01 20:05:29 +09:00
Yukihiro "Matz" Matsumoto 5ff9c1d286 Merge branch 'master' of github.com:mruby/mruby 2014-03-01 18:13:36 +09:00
Yukihiro "Matz" Matsumoto 675fd3dc80 allow send method not to call mrb_funcall if calling method is implemented in Ruby; fix #1680 ref #1765 2014-03-01 18:13:10 +09:00
Yukihiro "Matz" Matsumoto 32818bd25e should build "all" before "test"; close #1774 2014-03-01 15:20:16 +09:00
Yukihiro "Matz" Matsumoto 8e170ce915 exception in fiber should make resume to raise in parent fiber context; close #1765 2014-03-01 12:58:31 +09:00
Yukihiro "Matz" Matsumoto bed4dcb162 Merge branch 'master' of github.com:mruby/mruby 2014-03-01 10:54:01 +09:00
Yukihiro "Matz" Matsumoto 7074a55913 revert changes to mrbconf.h 2014-03-01 10:53:38 +09:00
Yukihiro "Matz" Matsumoto 5f93759158 Merge branch 'issues/comment_style' of https://github.com/cubicdaiya/mruby into cubicdaiya-issues/comment_style 2014-03-01 10:52:46 +09:00
Yukihiro "Matz" Matsumoto 203b7529b8 Merge pull request #1773 from tmash06/remove_unnecessary_gitkeep
remove unnecessary .gitkeep
2014-03-01 10:49:41 +09:00
Yukihiro "Matz" Matsumoto 78f2902c06 need to initialize flags for pooled strings; close #1768 2014-03-01 10:48:22 +09:00
Yukihiro "Matz" Matsumoto 5fb8fa5a81 add _FLAG to SET_SHARED macros; ref #1750 2014-03-01 10:26:21 +09:00
Yukihiro "Matz" Matsumoto fca90a43c7 Merge branch 'array-shared-macro' of https://github.com/ksss/mruby into ksss-array-shared-macro 2014-03-01 10:19:55 +09:00
Tatsuya Matsumoto 860773db61 remove unnecessary .gitkeep 2014-03-01 03:36:58 +09:00
cubicdaiya 67de10bfcb use C style comments instead of C++ style comments
According to CONTRIBUTING.md,

Don't use C++ style comments

 /* This is the prefered comment style */

Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-03-01 03:31:45 +09:00
Yukihiro "Matz" Matsumoto 9b65a0d572 Merge pull request #1771 from take-cheeze/add_author
Please add me to the author.
2014-03-01 02:47:42 +09:00
take_cheeze 7ebac7e247 Please add me to the author. 2014-03-01 02:42:36 +09:00
Yukihiro "Matz" Matsumoto 2c7204fc93 mrb_fiber_yield() is available now; you have to link mruby-fiber mrbgem to use the function; there's no function available to create new fiber from C (countapart of Lua's lua_newthread), but that's because you cannot create a new fiber from C due to mruby C API design limitation. define your method to create fibers in Ruby; close #1269 2014-03-01 00:48:08 +09:00
Yukihiro "Matz" Matsumoto 1f134d723c cancel 313f6b; add fallthrough comment 2014-02-28 18:55:30 +09:00
Yukihiro "Matz" Matsumoto cb7f82ac45 Merge pull request #1756 from chasonr/sprintf-utf8
Implement sprintf("%c") for UTF-8.
2014-02-28 18:45:31 +09:00
Yukihiro "Matz" Matsumoto 6bd3d88edd support break from fiber block; fix #1766 2014-02-28 18:43:35 +09:00
chasonr d60944ef3a Test for UTF-8 as mattn suggests.
The string is "Hello world" in Japanese.  (hat tip:  Google Translate.)
2014-02-27 23:42:07 -05:00
Yukihiro "Matz" Matsumoto 03fde35760 restore proc after restoring from fiber; ref #1766 2014-02-28 12:50:32 +09:00
Yukihiro "Matz" Matsumoto 8b4660dfc7 Merge branch 'master' of github.com:mruby/mruby 2014-02-28 10:02:13 +09:00
Yukihiro "Matz" Matsumoto f5ec2115b5 swap actual and expected; ref #1764 2014-02-28 10:01:39 +09:00
Yukihiro "Matz" Matsumoto dd5ccb6cd5 Merge pull request #1763 from cubicdaiya/issues/mrb_str_new_static_bug
fix SEGV bug for mrb_str_new_static
2014-02-28 09:59:00 +09:00
ksss a14a672915 fix test for Array#[] 2014-02-28 08:50:26 +09:00
cubicdaiya 8336072e86 fix SEGV bug for mrb_str_new_static
mrb_str_new_static causes seg-fault when 3rd argument is negative.
2014-02-28 02:07:09 +09:00
Yukihiro "Matz" Matsumoto 25822f2430 Merge pull request #1762 from cubicdaiya/issues/mrb_str_new_bug
fix SEGV bug for mrb_str_new
2014-02-28 01:44:09 +09:00
cubicdaiya 30fe3f5d4b fix SEGV bug for mrb_str_new
mrb_str_new causes seg-fault when 3rd argument is negative.
2014-02-28 01:30:09 +09:00
Yukihiro "Matz" Matsumoto 90c54d1ead remove break altogether in ci loop 2014-02-28 01:25:50 +09:00
Yukihiro "Matz" Matsumoto c39e2a4e5d Merge pull request #1761 from take-cheeze/mruby-strip
Add mruby-strip tool to strip irep's debug info.
2014-02-28 00:55:11 +09:00
Yukihiro "Matz" Matsumoto 9a9548eb0e Merge pull request #1760 from cubicdaiya/issues/make_mrb_str_dump_a_bit_faster
make mrb_str_dump a bit faster
2014-02-28 00:51:54 +09:00
Yukihiro "Matz" Matsumoto 30ac4e5596 Merge pull request #1758 from ksss/array-out-while
move check condition to outside in while block
2014-02-28 00:51:33 +09:00
Yukihiro "Matz" Matsumoto ed0797418c Merge pull request #1759 from suzukaze/fix-test
Refactor tests in kernel.rb
2014-02-28 00:50:51 +09:00
Yukihiro "Matz" Matsumoto 5bd90b59a9 Merge pull request #1757 from cubicdaiya/issues/use_mrb_str_cat_lit
use mrb_str_cat_lit() intead of mrb_str_cat
2014-02-28 00:50:26 +09:00
take_cheeze 1266ab6500 add mruby-strip tool to strip irep's debug info 2014-02-28 00:36:08 +09:00
cubicdaiya a238c9c1c3 make mrb_str_dump a bit faster 2014-02-28 00:20:36 +09:00
ksss 88f3e5b294 move check condition to outside in while block 2014-02-27 23:54:36 +09:00