Commit Graph

2831 Commits

Author SHA1 Message Date
Daniel Bovensiepen e952d55ba0 Catch return values to silent compiler 2013-03-28 07:09:05 +00:00
Yukihiro "Matz" Matsumoto e265d7c7ef Merge pull request #1082 from masuidrive/add_debug_info
Added debug infomation section into .mrb file
2013-03-27 08:34:12 -07:00
Yukihiro "Matz" Matsumoto 82991049be replace non formatting printf to (f)puts 2013-03-27 23:53:56 +09:00
Yukihiro "Matz" Matsumoto 3dccd82761 Merge pull request #1085 from mattn/travis_config
Add travis_config.rb
2013-03-27 07:47:23 -07:00
Yukihiro "Matz" Matsumoto 027aced5a1 Merge pull request #1086 from carsonmcdonald/randtypecheckfix
Use mrb_check_datatype directly to avoid warning.
2013-03-27 07:43:05 -07:00
Yukihiro Matz Matsumoto 18b2683b97 use new mrb_format API from mrb_raisef; its only format specifier is "%S" (stringify) and takes mrb_value; close #1062 2013-03-27 23:41:23 +09:00
Yukihiro Matz Matsumoto 8ce842a5d9 implement mrb_format and mrb_vformat 2013-03-27 23:03:48 +09:00
Carson McDonald 61a8a61828 Use mrb_check_datatype directly to avoid warning. 2013-03-27 09:44:16 -04:00
mattn 4b85b4c40e Remove empty line 2013-03-27 22:18:42 +09:00
mattn 93755caf85 Fix .travis.yml 2013-03-27 22:18:04 +09:00
mattn 3f27867807 Add travis_config.rb 2013-03-27 22:15:32 +09:00
Yukihiro "Matz" Matsumoto 8f8c22ac67 Merge pull request #1084 from kano4/pr-add-simple-usage-message-for-mirb
Add simple usage message for mirb
2013-03-27 05:53:34 -07:00
kano4 5a22c6daf7 Add simple usage message for mirb 2013-03-27 20:32:09 +09:00
Yukihiro "Matz" Matsumoto 6e48f27248 Merge pull request #1083 from kurodash/pr-build-err-vs2012-20130327
Fix build error on VS2012 toolchain.
2013-03-27 03:44:02 -07:00
kurodash 1c4820642d Fix build error on VS2012 toolchain.
A local variables define beginning of a scope block.
VS2012 unacceptable ";;" in struct definition.
2013-03-27 18:24:40 +09:00
Yuichiro MASUI f3ebb89392 Added debug infomation section into .mrb file 2013-03-27 18:21:04 +09:00
Yukihiro "Matz" Matsumoto f1e6a4a3b5 Merge pull request #1080 from matsumoto-r/add_test_for_random_class_methods
Add test for Random::srand
2013-03-26 20:20:07 -07:00
Yukihiro "Matz" Matsumoto 55fa7373a4 Merge pull request #1079 from mattn/remove_unused_n
Remove unused variable
2013-03-26 20:19:23 -07:00
MATSUMOTO Ryosuke 6e110cb43d Add test for Random::srand 2013-03-27 12:02:59 +09:00
mattn 38789c4282 Remove unused variable 2013-03-27 11:58:48 +09:00
Yukihiro "Matz" Matsumoto b23cf0965e Merge pull request #1078 from mattn/test_mruby-random
Add test for mruby-random
2013-03-26 19:55:08 -07:00
Yukihiro Matz Matsumoto 638c5a96d7 bug in fread(3) error check 2013-03-27 11:53:14 +09:00
mattn 46c13080f9 Fix test for mruby-random 2013-03-27 11:50:52 +09:00
mattn 00326ba7f1 Add test for mruby-random 2013-03-27 11:47:33 +09:00
Yukihiro Matz Matsumoto d9e15a02a7 Merge branch 'masuidrive-new_mrb_format' 2013-03-27 11:32:54 +09:00
Yukihiro Matz Matsumoto e03e697549 little cosmetic change (delete word Rite); bump dump file version number 2013-03-27 11:28:05 +09:00
Yukihiro "Matz" Matsumoto d4bb9b42e7 Merge pull request #1077 from matsumoto-r/support_mt_instance_val
Support MT instance valiables and activate mruby-random
2013-03-26 19:26:49 -07:00
MATSUMOTO Ryosuke 84f8a561b1 Activated mruby-random 2013-03-27 10:52:34 +09:00
MATSUMOTO Ryosuke 07dc11cae3 Support mt instance valiables 2013-03-27 10:39:11 +09:00
Yukihiro Matz Matsumoto a0f6e4d58e resolve conflict from #964 2013-03-27 00:52:24 +09:00
Yukihiro "Matz" Matsumoto 1abe678e1c Merge pull request #1076 from kano4/pr-use-c99-flexible-array-in-pool_c
Use C99 flexible array in pool.c
2013-03-26 08:13:47 -07:00
Yukihiro "Matz" Matsumoto 0085449789 Merge pull request #1075 from mattn/refactoring_rand
Refactoring mruby-random
2013-03-26 07:33:36 -07:00
kano4 50d3041d68 Use C99 flexible array in pool.c 2013-03-26 23:29:42 +09:00
mattn 46a4673308 Refactoring mruby-rand 2013-03-26 23:03:19 +09:00
Yukihiro "Matz" Matsumoto 523118ceee Merge pull request #1074 from matsumoto-r/add_kern_and_class_method
Add kernel#rand, #srand ,Random#rand, #srand method
2013-03-26 06:29:23 -07:00
Yukihiro Matz Matsumoto 66fa14a333 main.to_s should also return "main" 2013-03-26 22:25:58 +09:00
MATSUMOTO Ryosuke ffa79b1aec Add Random#rand and Random#srand 2013-03-26 21:58:12 +09:00
MATSUMOTO Ryosuke d2c946f68d Add Kernel#rand and Kernel#srand 2013-03-26 21:55:33 +09:00
MATSUMOTO Ryosuke e870270773 Changed to static functions 2013-03-26 21:49:15 +09:00
MATSUMOTO Ryosuke bdd27cbdca Change Random module to class 2013-03-26 21:48:10 +09:00
Yukihiro Matz Matsumoto b1bd62e047 remove all MRB_TT_MAIN from source 2013-03-26 21:25:00 +09:00
Yukihiro Matz Matsumoto 5c6be2e518 Merge branch 'selftopiv' of https://github.com/carsonmcdonald/mruby into carsonmcdonald-selftopiv 2013-03-26 21:07:20 +09:00
Yukihiro Matz Matsumoto 471ad60688 use C99 flexible array member instead of [1] 2013-03-26 17:11:55 +09:00
Yukihiro Matz Matsumoto 87d7fc6165 Merge branch 'master' of github.com:mruby/mruby 2013-03-26 16:48:26 +09:00
Yukihiro "Matz" Matsumoto 2d91803528 Merge pull request #1073 from kurodash/pr-builderr-on-vs2012
fix build error on VS2012 toolchains.
2013-03-26 00:48:15 -07:00
Yukihiro "Matz" Matsumoto 7b2969d2ce Merge pull request #1072 from monaka/pr-cleanup-code-20130326
Cleanup code.
2013-03-26 00:46:09 -07:00
Yukihiro Matz Matsumoto a7842b6451 zero length array is GCC extension 2013-03-26 16:42:17 +09:00
kurodash e426243ea0 fixed build error on VS2012 toolchains. 2013-03-26 15:36:44 +09:00
Masaki Muranaka fd49ae0a84 Preprocessor # should be the top of line. 2013-03-26 15:14:01 +09:00
Masaki Muranaka eafd5f647a Remove unused macros. 2013-03-26 15:13:20 +09:00