18905 Commits

Author SHA1 Message Date
Zachary Scott c0ff5b475f Typo in mruby-bin-debugger/mrbgem.rake 2015-09-01 23:43:36 -04:00
jbreeden 5ed13da7d6 C++ 11 requires a space between literal and identifiers 2015-09-01 18:12:53 -07:00
Zachary Scott 80598f40bf mruby-test should be opt-in 2015-09-01 20:54:27 -04:00
Seba Gamboa 63d2d192a1 Expose MRuby source as a gem 2015-09-01 18:45:53 -03:00
Ralph Desir 8ad8c547dd Update string.h.md 2015-09-01 13:50:27 -04:00
Yukihiro "Matz" Matsumoto 64d7dec457 Merge pull request #2930 from suzukaze/version2
Refactor version macros, and add a global const variable
2015-09-01 15:01:03 +09:00
Jun Hiroe e9b4cb11cf Add a global const variable MRUBY_RELEASE_NO 2015-09-01 13:55:08 +09:00
Jun Hiroe a2385c05f5 Refactor version.h macros 2015-09-01 13:54:52 +09:00
Yukihiro "Matz" Matsumoto 87f1281cec Merge pull request #2929 from Mav7/master
C string.h API documentation.
2015-09-01 12:45:23 +09:00
Yukihiro "Matz" Matsumoto 9257ee6433 Merge pull request #2927 from hone/bintest_subfolders
run bintests within subfolders of bintest/
2015-09-01 12:41:07 +09:00
Ralph Desir d78d001734 Update string.h.md 2015-08-31 23:16:45 -04:00
Terence Lee b432f12fdd run bintests within subfolders of bintest/ 2015-08-31 18:54:42 -04:00
Ralph Desir 00dd2dfa39 Update string.h.md 2015-08-31 14:11:17 -04:00
Ralph Desir a2f6152be8 Update string.h.md 2015-08-30 23:55:55 -04:00
Ralph Desir(Mav7) 0f2b3643ba Added string markdown. 2015-08-30 20:20:45 -04:00
Yukihiro "Matz" Matsumoto 43b93126e7 Merge pull request #2925 from suzukaze/test-string-freeze
Add String#freeze test
2015-08-27 21:55:45 +09:00
Jun Hiroe 69e835cd0f Add String#freeze test 2015-08-27 21:44:56 +09:00
Yukihiro "Matz" Matsumoto 1a45447b8b add String#freeze to the core 2015-08-27 17:54:30 +09:00
Tomoyuki Sahara 5fa3c39145 variables are not used on the platforms lack FD_CLOEXEC. 2015-08-27 09:56:17 +09:00
Tomoyuki Sahara 6c4d39412f Merge pull request #30 from ksss/cloexec
Opened fd should be set FD_CLOEXEC by default
2015-08-26 17:37:21 +09:00
Zachary Scott 133d57cb0d Add mruby-test build config and update :test task to use mrbgem binary
Removed old mrbgems_test.rake which was merged into mrbgem spec
2015-08-22 10:21:52 -04:00
Zachary Scott c7d0f8ebcb Refactor test/mrbtest.rake and tasks/mrbgems_test.rake into mrbgem.rake 2015-08-22 10:20:15 -04:00
Zachary Scott 383a7d24d3 Move test source code and rake task to mrbgem 2015-08-22 10:18:12 -04:00
Yukihiro "Matz" Matsumoto 87e11676b3 Merge pull request #2923 from yasuyuki/nil
Use #nil? instead of == nil.
2015-08-22 21:20:36 +09:00
Yukihiro "Matz" Matsumoto fd2f2f28de Merge pull request #2922 from gkta/refactor-mrubygem-code
Refactor mrubygem code (range.rb, numeric.rb, string.rb, array.rb, enum.rb)
2015-08-22 21:19:34 +09:00
INOUE Yasuyuki 0d055559f1 Use #nil? instead of == nil. 2015-08-22 19:57:11 +09:00
go.kikuta 85f0dd7da0 enum.rb: refactor code (remove redundant code) 2015-08-21 14:56:49 +09:00
go.kikuta 931a7223e6 array.rb: refactor (use onliner code if possible) 2015-08-21 14:56:49 +09:00
go.kikuta 11524f6f67 string.rb: refactor code (remove redundant code) 2015-08-21 14:54:01 +09:00
go.kikuta cb870de2b5 numeric.rb: refactor code (Avoid using {...} for multi-line blocks, Surrounding space missing in default value assignment) 2015-08-21 14:54:00 +09:00
go.kikuta cf588bd5cb range.rb: refactor code (use ! instead of not, use favor modifier if and unless usage when having a single-line body) 2015-08-21 14:54:00 +09:00
Tomoyuki Sahara 042e4a4313 Merge pull request #43 from jkutner/master
Made FILE_SEPERATOR platform dependent
2015-08-21 09:20:32 +09:00
Joe Kutner 2467332c93 Made FILE_SEPERATOR platform dependent 2015-08-20 07:22:48 -05:00
Yukihiro "Matz" Matsumoto 71f2975a5b Merge pull request #2921 from gkta/refactor-array
array.rb: refactor some code
2015-08-20 13:18:05 +09:00
go.kikuta c326f065e1 array.rb: refactor some code 2015-08-19 16:17:06 +09:00
Yukihiro "Matz" Matsumoto 05625cd658 Merge pull request #2920 from cremno/fix-irep-float-dump-format-string-for-mrb_use_float
irep dump: fix format string for MRB_USE_FLOAT
2015-08-18 04:09:07 +09:00
Yukihiro "Matz" Matsumoto 15f2787033 Merge pull request #2919 from cremno/delete-duplicate-definition-of-exception-exception
delete duplicate definition of Exception.exception
2015-08-18 04:08:42 +09:00
cremno eec00ccf60 delete duplicate definition of Exception.exception
It overwrote the original definition in src/error.c, line 446.
2015-08-17 20:51:25 +02:00
cremno ad50a6c410 fix irep float dump format string for MRB_USE_FLOAT
IEC 60559 single format has 6 to 9 significant decimal digits precision.

However the printf conversion specifier e (and E, of course) already
writes 1 digit - the one before the decimal point - and precision
specifies the number of digits to write after the decimal point.
2015-08-17 20:39:24 +02:00
felixjones 8e72558bac Added mrb_get_argc and mrb_get_mid 2015-08-16 23:41:21 +01:00
Tomoyuki Sahara 49f6fa51d9 Merge pull request #8 from joans321/master
disable dir_seek and dir_tell on android platform
2015-08-13 20:19:58 +09:00
xuejianqing 6e30353dfd disable dir_seek and dir_tell on android platform 2015-08-13 17:33:45 +08:00
Yukihiro "Matz" Matsumoto a1731254be Merge pull request #2913 from gkta/remove-duplicate-len-check
Remove duplicated RARRAY_LEN check in ary_elt
2015-08-12 12:11:43 +09:00
go.kikuta c7fad5aa33 Remove duplicated RARRAY_LEN check 2015-08-12 10:20:55 +09:00
Tomoyuki Sahara efaf74672e Merge pull request #42 from hone/path_separator
define PATH_SEPARATOR
2015-08-12 09:06:34 +09:00
Yukihiro "Matz" Matsumoto 1fd9dca510 Merge pull request #2912 from gkta/remove-nonneed-tmp-value
Remove non-need tmp value in mrb_obj_to_sym
2015-08-11 19:24:36 +09:00
go.kikuta 96c948d812 Remove non-need tmp value 2015-08-11 18:02:12 +09:00
Yukihiro "Matz" Matsumoto 2574adab48 compiler: allow "class A end" by tweaking the superclass rule like CRuby2.3 2015-08-11 16:27:48 +09:00
Yukihiro "Matz" Matsumoto e4f32ad9ad codegen: don't need to genop(); just update s->iseq directly 2015-08-10 15:19:32 +09:00
Yukihiro "Matz" Matsumoto dfaff83eba codegen: add peep hole optimization to skip overridden OP_MOVE 2015-08-10 15:11:00 +09:00