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
Jun Hiroe
caa139f91a
Refactor tests in kernel.rb
2014-02-27 23:49:58 +09:00
cubicdaiya
bd0244d067
use mrb_str_cat_lit() intead of mrb_str_cat
2014-02-27 22:42:25 +09:00
Yukihiro "Matz" Matsumoto
d1526b0409
should not continue loop when ci = NULL
2014-02-27 19:00:37 +09:00
Yukihiro "Matz" Matsumoto
56ebac0db2
Merge pull request #1751 from cubicdaiya/issues/test_for_instance_variable_defined_question
...
Add test for Kernel#instance_variable_defined?
2014-02-27 14:15:27 +09:00
Yukihiro "Matz" Matsumoto
524352ffbb
Merge pull request #1755 from cubicdaiya/issues/add_to_me_authors
...
Could you add me to AUTHORS?
2014-02-27 14:14:51 +09:00
chasonr
b752b01a56
Update the Fixnum#chr test for UTF-8.
2014-02-26 20:53:23 -05:00
chasonr
5e5ee841a1
Implement sprintf("%c") for UTF-8.
...
* sprintf("%c") is changed to accept a string for which String#size returns
1, even if it is longer than one byte, and to convert a Fixnum via
Fixnum#chr (possibly returning more than one byte). Thus, if the UTF-8
gem is in use, a character will be understood as a single UTF-8 character.
* The change to sprintf depends on the implementation of Fixnum#chr added
to mrbgems/mruby-string-utf8/src/string.c.
This should work with any other gem that implements a multibyte encoding, as
long as it implements String#size and Fixnum#chr as appropriate.
2014-02-26 20:18:26 -05:00
cubicdaiya
83e9c45de9
Could you add me to AUTHORS?
2014-02-27 09:48:00 +09:00
Yukihiro "Matz" Matsumoto
313f6b5997
forget to break in the switch statement
2014-02-27 08:23:32 +09:00
Yukihiro "Matz" Matsumoto
b31a90614d
boot_defclass: super may be NULL
2014-02-27 08:21:39 +09:00
Yukihiro "Matz" Matsumoto
62071f7afe
Merge pull request #1754 from pje/patch-1
...
Delete `!!Notice!!` intro paragraph from README
2014-02-27 07:59:44 +09:00
Patrick Ellis
a75758d177
Delete !!Notice!! intro paragraph from README
...
It's become misleading since the release of 1.0.0 and the launch of mruby.org.
2014-02-26 14:49:51 -08:00
Yukihiro "Matz" Matsumoto
5b8229715d
revert 38e9ce21 and API changed; mrb_get_backtrace() -> renamed to mrb_exc_backtrace since this is a backtrace method implementation of Exception; mrb_get_backtrace_at() -> removed; mrb_get_backtrace() -> added to get backtrace in array (like caller)
2014-02-27 04:34:30 +09:00
Yukihiro "Matz" Matsumoto
0c1c4416e7
avoid recursion when method_missing happened in inspect; fix #1746
2014-02-27 04:23:57 +09:00
Yukihiro "Matz" Matsumoto
d264e1addd
fix indent
2014-02-27 03:50:59 +09:00
Yukihiro "Matz" Matsumoto
38e9ce21f8
add new function mrb_get_backtrace_at() to get backtrace at ci and pc
2014-02-27 03:45:52 +09:00
Yukihiro "Matz" Matsumoto
630a152093
Merge pull request #1753 from take-cheeze/assert_rb
...
Compile assert.rb once.
2014-02-27 02:04:45 +09:00