• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


RSS
Rev. Time Author
4f37adf 2015-07-16 21:56:00 Yukihiro "Matz" Matsumoto

Merge pull request #2887 from cremno/use-mrb_str_cat_str-instead-of-mrb_str_append

use mrb_str_cat_str() instead of mrb_str_append()

31d085e 2015-07-16 21:55:27 Yukihiro "Matz" Matsumoto

Merge pull request #2888 from cremno/delete-non-nullptr-checks-before-mrb_free()-calls

delete mrb_free()-related non-NULL checks

67e187f 2015-07-16 18:40:07 takkaw

64bit Cygwin also doesn't have frexpl(3)

0f28409 2015-07-16 11:58:21 cremno

delete mrb_free()-related non-NULL checks

No need to optimize since a program only exits once and errors are rare.
Also the mruby source code doesn't have these kind of checks elsewhere.

The ones in {Time,Random}#initialize are kept because there it actually
matters
since initialization always happens and re-initialization is unlikely.

938ed04 2015-07-16 10:56:31 cremno

use mrb_str_cat_str() instead of mrb_str_append()

If the argument is always a string, then mrb_str_cat_str() can be
directly called instead of indirectly by mrb_str_append().

mrb_any_to_s(), mrb_obj_as_string(), mrb_inspect() always return a
string.

667f778 2015-07-15 21:27:31 Corey Powell

Renamed MRB_FLAG_IS_INSTANCE to MRB_INSTANCE_TT_MASK

207577f 2015-07-15 14:47:15 Yukihiro "Matz" Matsumoto

mrb_protect() to return the exception raised (with the state of true)

1085167 2015-07-15 14:47:15 Yukihiro "Matz" Matsumoto

add an small comment description in mruby/error.h header

c0bf76d 2015-07-15 14:47:15 Yukihiro "Matz" Matsumoto

remove unused variable declaration

f6b5a82 2015-07-15 14:47:15 take_cheeze

Use class array instead of variadic.

cdd72d9 2015-07-15 14:46:56 take_cheeze

Implement `mrb_protect`, `mrb_ensure`, `mrb_rescue`, `mrb_rescue_exceptions`.
(`mrb_rescue_exceptions` is mruby implementation of `rb_rescue2`.)
Closes #2844, closes #2837.

2e4bc2d 2015-07-15 14:46:56 take_cheeze

Refactor `Build#compile_as_cxx`.

dbbf2e2 2015-07-15 04:12:23 Corey Powell

Remove non-applicable "hack" comment

eb172c2 2015-07-14 23:44:04 Corey Powell

Applied gc patch to fix ORIGIN ICLASS method table leak

Based on the gc patch by ko1

https://github.com/ruby/ruby/commit/5922c954614e5947a548780bb3b894626affe6dd

f0e920b 2015-07-14 22:55:53 Corey Powell

Renamed parameters in include_module_at

69a2c5c 2015-07-14 15:32:47 Yukihiro "Matz" Matsumoto

Merge pull request #2884 from jbreeden/doc_bang_modifier

Doc bang modifier

e92da7b 2015-07-14 15:26:29 jbreeden

Fix typo

510e53d 2015-07-14 15:21:19 jbreeden

Add ! documentation to mruby.h.md

53a81da 2015-07-14 13:35:06 Yukihiro "Matz" Matsumoto

mrb_get_args: improve function description about !

4e7050f 2015-07-14 13:34:21 Yukihiro "Matz" Matsumoto

mrb_get_args: allow d!

a075498 2015-07-14 13:22:42 Yukihiro "Matz" Matsumoto

mrb_get_args: allow A,H,s,z,a,d specifiers to take ! to accept nil.

S,A,H gives nil, s,z,a,d gives NULL for nil argument. ref 02474da

78462c9 2015-07-14 06:46:41 Blaž Hrastnik

Clean up tests

8c4da7a 2015-07-14 06:38:37 Blaž Hrastnik

assert() cannot be nested

8c13e2b 2015-07-14 06:35:30 Blaž Hrastnik

Set origin when doing kind_of? comparisons

b0fb9cc 2015-07-14 06:25:01 Blaž Hrastnik

Enable test_prepend_module_ancestors because it seems to pass.

11cb417 2015-07-14 00:45:57 Corey Powell

Space out test_prepend_super_in_alias assert

Also tried to fix it, however the problem lies with how aliased methods
are done and their internal structure.

mruby simply aliases methods by grabbing the RProc and giving it a new name,
super then determines the original method to call by using the name

so a method called m, aliased as m2, will call the m2 super method instead of m

81a2b34 2015-07-13 23:49:51 Corey Powell

included_modules, origin fix

Prepended modules would include their origin ICLASS

199a808 2015-07-13 23:49:18 Corey Powell

Bugfix, included_modules would include classes

1f678a4 2015-07-13 23:40:40 Corey Powell

Removed comment beside method_removed

Not sure if this apart of the ISO standard, so make sure its not misrepresented

6681530 2015-07-13 23:38:24 Corey Powell

Added Module#method_removed hook