Tatsuhiro Tsujikawa
291265ec86
Customize installation directory using INSTALL_DIR environment variable
...
Previously, minirake installed several commands (e.g., mrbc) in
repository locally under bin directory. But there was no knob for
users to change this directory. It effectively made `make distcheck`
fail if mruby was embedded into project managed by autotools.
This change adds a way for the user to change installation directory
by setting INSTALL_DIR environment variable.
2015-09-11 00:15:01 +09:00
Yukihiro "Matz" Matsumoto
698b3c925d
add Hash#rehash to handle key modification; ref #2945
2015-09-10 23:03:53 +09:00
Yukihiro "Matz" Matsumoto
543ac88eae
Merge pull request #2947 from kazuho/kazuho/freeze-hash-key
...
freeze the hash keys (fixes #2945 )
2015-09-10 22:58:01 +09:00
Kazuho Oku
8256d77c7f
avoid unnecessary string duplications by checking the frozen flag
2015-09-10 22:50:01 +09:00
Kazuho Oku
44eb1492be
freeze the hash key ( fixes #2945 )
2015-09-10 22:24:10 +09:00
Yukihiro "Matz" Matsumoto
1cbbb7e11c
Merge branch 'polyfox-module-prepend'
2015-09-05 02:04:20 +09:00
Yukihiro "Matz" Matsumoto
2550edd570
remove origin member to implement prepend from struct RClass; ref #2885
...
instead origin is saved in ICLASS with MRB_FLAG_IS_ORIGIN set.
2015-09-05 02:01:02 +09:00
Yukihiro "Matz" Matsumoto
2f1a031fcd
Merge pull request #2943 from zzak/subdirs
...
Allow rbfiles in mrblib and test to have subdirs
2015-09-05 01:06:12 +09:00
Yukihiro "Matz" Matsumoto
47795d0636
Merge pull request #2942 from suzukaze/revert
...
Revert 7b5f8b0 except removing trailing spaces
2015-09-05 01:05:20 +09:00
Jun Hiroe
6ced9c3752
Revert 7b5f8b0 except removing trailing spaces
2015-09-05 00:08:12 +09:00
Zachary Scott
c6860bc0c4
Allow rbfiles in mrblib and test to have subdirs
2015-09-04 11:01:50 -04:00
Yukihiro "Matz" Matsumoto
fb3883e57e
Merge pull request #2941 from Mav7/master
...
Added range.h.md and edited re.h.md and version.h.md
2015-09-04 17:00:58 +09:00
Yukihiro "Matz" Matsumoto
8bb7962eb8
Merge branch 'module-prepend' of https://github.com/polyfox/mruby into polyfox-module-prepend
2015-09-04 04:01:49 +09:00
Ralph Desir
743432d4ec
Update range.h.md
2015-09-03 14:52:21 -04:00
Ralph Desir
8a09515c6c
Cleaned up the version.h markdown.
2015-09-03 14:20:16 -04:00
Ralph Desir
e1beb502ab
Cleaned up the re.h markdown.
2015-09-03 14:19:02 -04:00
Ralph Desir(Mav7)
93aaa06736
Added range markdown.
2015-09-03 14:16:57 -04:00
Yukihiro "Matz" Matsumoto
7967c76e14
Merge pull request #2940 from zzak/build_mrbtest
...
Add build_mrbtest after config block is evaluated
2015-09-03 14:34:48 +09:00
Zachary Scott
bacb826868
Add build_mrbtest after config block is evaluated
...
This allows us to add `enable_test` anywhere in a build target,
without having to worry about the order in which they are included.
Previously, there was a bug that occured when adding 'mruby-test' gem
to dependencies before additional gems.
Instead of adding the 'mruby-test' gem dependency manually to a test build,
we now only need to call `enable_test` in the target. This also allows us to
call `test_enabled?` downstream when running mruby tests ourselves.
/cc #2924
2015-09-03 01:02:53 -04:00
Yukihiro "Matz" Matsumoto
402890d571
Merge pull request #2938 from Mav7/master
...
Added version.h.md and re.h.md
2015-09-03 13:01:01 +09:00
Ralph Desir
79aa0866ce
Added reg.h markdown.
2015-09-02 18:57:00 -04:00
Ralph Desir(Mav7)
1bd5c48596
Added regular expression header markdown.
2015-09-02 18:52:16 -04:00
Ralph Desir
6beae5ec71
Created version.h markdown.
2015-09-02 18:45:03 -04:00
Ralph Desir(Mav7)
da0dc6937d
doc/api/mruby/version.h.md
2015-09-02 18:19:53 -04:00
Yukihiro "Matz" Matsumoto
cc0b28373a
clear DUMP_ENDIAN flags before setting
2015-09-03 01:46:35 +09:00
Yukihiro "Matz" Matsumoto
7b5f8b0728
remove trailing spaces from bc9c47d5
2015-09-03 01:39:17 +09:00
Yukihiro "Matz" Matsumoto
c6aa87c837
Merge pull request #2924 from zzak/mruby-test
...
Extract mrbtest to binary gem
2015-09-03 00:43:21 +09:00
Yukihiro "Matz" Matsumoto
e35c3aff83
unsigned long may be smaller than mrb_int; use uint64_t instead; fix #2935
2015-09-03 00:14:37 +09:00
Yukihiro "Matz" Matsumoto
3a462fe468
Integer << and >> to use Float instead of raising RangeError
2015-09-02 23:41:51 +09:00
Zachary Scott
87564dc98f
Make travis happy
...
We have do this because mruby's test files are found using MRUBY_ROOT, like this:
mrbs = Dir.glob("#{MRUBY_ROOT}/test/t/*.rb")
2015-09-02 09:56:27 -04:00
Yukihiro "Matz" Matsumoto
74696ffd96
Float << and >> should be more compatible to Fixnum
2015-09-02 22:29:01 +09:00
Yukihiro "Matz" Matsumoto
6ddd79fd0e
ensure must not be called before rescue; fix #2933
2015-09-02 21:46:51 +09:00
Yukihiro "Matz" Matsumoto
a8c5df2442
Merge pull request #2934 from zzak/master
...
Typo in mruby-bin-debugger/mrbgem.rake
2015-09-02 15:11:17 +09:00
Yukihiro "Matz" Matsumoto
6b32fa676f
Merge pull request #2932 from jbreeden/cpp11_compatibility_fix
...
C++11 Build Error: C++11 requires a space between literal and identifiers
2015-09-02 15:10:51 +09:00
Yukihiro "Matz" Matsumoto
14f0e4a4e4
update string.h.md; ref #2931
2015-09-02 15:09:50 +09:00
Yukihiro "Matz" Matsumoto
7ce5b21c1d
Merge pull request #2931 from Mav7/master
...
Updated string.h.md
2015-09-02 15:08:06 +09:00
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
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