Commit Graph

6874 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto e1ec2b02be travis-CI migration
Migrating from legacy to container-based infrastructure.
http://docs.travis-ci.com/user/migrating-from-legacy/
2015-10-03 19:14:07 +09:00
Yukihiro "Matz" Matsumoto 3f508d90da Merge pull request #2946 from sagmor/test-dependencies
Add gem test dependencies
2015-10-03 18:41:22 +09:00
Yukihiro "Matz" Matsumoto fafe86d364 Array#index to take block; fix #2968 close #2970 2015-10-01 22:35:06 +09:00
Yukihiro "Matz" Matsumoto d12926da8a Merge pull request #2937 from sagmor/gem
Distribute MRuby's source as a Ruby gem
2015-10-01 19:57:58 +09:00
Yukihiro "Matz" Matsumoto a41b61ea58 Merge pull request #2960 from suzukaze/refactor-hash-ext-test
Refator Hash#fetch test
2015-10-01 19:53:32 +09:00
Yukihiro "Matz" Matsumoto 6c78589163 Merge pull request #2962 from hone/spec_linker_flags_after_libraries
LinkerConfig is a struct with five params
2015-10-01 19:52:53 +09:00
Yukihiro "Matz" Matsumoto 6b3fd18262 clarify asserts to UTF-8 test suites; ref #2971 2015-10-01 19:32:29 +09:00
Yukihiro "Matz" Matsumoto 0a94c69cc3 optimize if statement with constant condition 2015-10-01 19:29:05 +09:00
Yukihiro "Matz" Matsumoto cb76ed8ec4 Merge pull request #2971 from mattn/utf8-chop
chop with utf-8. fix #2967
2015-10-01 19:27:35 +09:00
Yukihiro "Matz" Matsumoto 744578687d Merge pull request #2961 from takahashim/regex_enc
support Regexp literal option: //n and //u
2015-10-01 19:26:37 +09:00
Yukihiro "Matz" Matsumoto bcd10c710c Merge pull request #2973 from mattn/fix-windows-tests
fix tests on windows.
2015-10-01 19:21:57 +09:00
Yasuhiro Matsumoto 545d649eff fix tests on windows.
'bin/mruby' not work on windows. so correct command name and quoted arguments.
2015-09-30 16:13:02 +09:00
Yasuhiro Matsumoto 7ad75a4a19 fix tests 2015-09-30 13:08:11 +09:00
Yukihiro "Matz" Matsumoto 81ec5f5dc0 Merge pull request #2966 from maclover7/patch-1
Small Markdown updates to README.md
2015-09-29 21:43:38 +09:00
Jon Moss df2af60cfe Get rid of weird whitespace 2015-09-29 08:37:46 -04:00
Jon Moss f654a567e1 Retain #2595 markdown short links 2015-09-29 08:36:37 -04:00
Yasuhiro Matsumoto d5f145076c chop with utf-8. fix #2967 2015-09-29 21:22:45 +09:00
Jon Moss a9b78063aa Small Markdown updates to README.md
Small copy and styling updates
2015-09-27 16:04:15 -04:00
Yukihiro "Matz" Matsumoto 2eb2f5b408 Merge pull request #2965 from takahashim/fix-class-new-instance
fix signature of mrb_class_new_instance()
2015-09-27 20:48:54 +09:00
Yukihiro "Matz" Matsumoto f70634b542 Merge pull request #2964 from takahashim/fix-utf8-inspect
fix String#inspect with MRB_UTF8_STRING
2015-09-27 20:48:16 +09:00
takahashim df83d42935 fix signature of mrb_class_new_instance()
dd925578c6 changed the order of arguments,
but it doesn't seem intentional.
2015-09-27 17:33:13 +09:00
takahashim 074c6e2678 fix String#inspect with MRB_UTF8_STRING
cf. #2963
2015-09-27 13:43:45 +09:00
Yukihiro "Matz" Matsumoto 0aa83c503d Enumerable#each_{cons,slice} to return enumerators 2015-09-27 00:04:34 +09:00
Terence Lee c717bbb77a LinkerConfig is a struct with five params 2015-09-25 23:22:11 -06:00
Jun Hiroe 570c261555 Refator Hash.fetch test 2015-09-26 09:58:36 +09:00
takahashim f187fdd996 support Regexp literal option: //n and //u 2015-09-26 09:41:38 +09:00
Yukihiro "Matz" Matsumoto 524a038876 inspect prints valid UTF-8 character without escaping 2015-09-25 23:09:46 +09:00
Yukihiro "Matz" Matsumoto c069e5ff40 add boundary check to utf8len() to avoid oob memory access 2015-09-25 23:08:37 +09:00
Yukihiro "Matz" Matsumoto 798ec3aff4 UTF-8 string support in core
define MRB_UTF8_STRING (in mrbconf.h) to enable UTF-8 support.
2015-09-24 02:37:33 +09:00
Yukihiro "Matz" Matsumoto 101ec5eb0a don't print anonymous struct class name 2015-09-23 12:51:12 +09:00
Yukihiro "Matz" Matsumoto 20a4e9ade6 mruby-struct gem refactoring 2015-09-23 12:13:01 +09:00
Yukihiro "Matz" Matsumoto ad1087f5ed should initialize local variable prepended to false 2015-09-23 03:27:10 +09:00
Yukihiro "Matz" Matsumoto 6a06a3e48d String#rindex should no longer take integer argument 2015-09-23 01:06:26 +09:00
Yukihiro "Matz" Matsumoto 418eec2c7d remove a comment that no longer be true; 2cb6c27 2015-09-23 00:01:39 +09:00
Yukihiro "Matz" Matsumoto 2cb6c27781 String#index should no longer take integer argument 2015-09-22 19:10:48 +09:00
Yukihiro "Matz" Matsumoto e47f0fc0c2 Merge pull request #2959 from sagmor/api-documentation
C API documentation
2015-09-22 04:14:31 +09:00
Seba Gamboa 4c8205db1f Merge descriptions from doc/api/mruby/array.h.md 2015-09-21 15:13:43 -03:00
Seba Gamboa 88f9770f83 document mrb_nil_value 2015-09-21 14:50:59 -03:00
Seba Gamboa 0e5b815399 Document data header 2015-09-21 14:50:04 -03:00
Yukihiro "Matz" Matsumoto 73dc32c670 add new functions mrb_gc_register/unregister; close #1411
some routines need to refer mruby objects (e.g. callbacks), in that case
you have to protect your objects from garbage collection. the new functions
mrb_gc_register() keeps those objects from GC. you have to remove your
objects using mrb_gc_unregister() when your C routines use mruby objects
any longer, otherwise objects will leak.
2015-09-22 00:15:29 +09:00
Seba Gamboa dd925578c6 Sort compiler macros around 2015-09-21 11:59:39 -03:00
Seba Gamboa 40bf7bde78 Sorting documentation grouping 2015-09-21 01:48:42 -03:00
Seba Gamboa c127614638 Setting up doxygen groups 2015-09-20 21:14:07 -03:00
Seba Gamboa f36944f551 Merging documentation from docs 2015-09-20 18:57:17 -03:00
Seba Gamboa 7505bad677 Playing around with some documentations schemes 2015-09-18 23:59:29 -03:00
Yukihiro "Matz" Matsumoto 386a2b8aa1 Merge pull request #2958 from suzukaze/fix-indents
Fix indents
2015-09-19 11:41:23 +09:00
Jun Hiroe ce6297aa04 Fix indents 2015-09-19 06:38:28 +09:00
Yukihiro "Matz" Matsumoto 6d55e770d3 Merge pull request #2957 from suzukaze/replace-1-with-true-macro
Replace 1 with TURE macro
2015-09-18 23:20:55 +09:00
Yukihiro "Matz" Matsumoto 9586aaa889 Merge pull request #2956 from Asmod4n/master
Problem: Hash#fetch doesn't raise KeyError when a key cannot be found
2015-09-18 23:19:51 +09:00
Jun Hiroe dd1fa91a66 Replace 1 with TURE macro 2015-09-18 15:51:49 +09:00