Commit Graph

2816 Commits

Author SHA1 Message Date
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
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
Masaki Muranaka 6848ad6f30 Remove #if 0 ... #endif code. 2013-03-26 15:12:50 +09:00
Yukihiro "Matz" Matsumoto e350e31136 Merge pull request #1071 from crimsonwoods/remove_strerror
remove unused functions 'mrb_strerrno' and 'mrb_bug_errno'.
2013-03-25 08:01:49 -07:00
crimsonwoods c2c95f09e5 remove unused functions 'mrb_strerrno' and 'mrb_bug_errno'. 2013-03-25 23:41:20 +09:00
Yukihiro "Matz" Matsumoto 9d550390e5 Merge pull request #1065 from monaka/pr-reduce-stdio-dependency
Reduce stdio dependency
2013-03-25 07:36:47 -07:00
Yukihiro "Matz" Matsumoto 2d77dcc9bc Merge pull request #1069 from kano4/pr-fix-indentation-in-mirb_c
Fix indentation in mirb.c
2013-03-25 07:32:28 -07:00
Yukihiro "Matz" Matsumoto ba1052daef Merge pull request #1070 from mattn/fix_order
mruby-sprintf should precede mruby-print
2013-03-25 07:30:06 -07:00
mattn d9bee07c49 mruby-sprintf should precede mruby-print 2013-03-25 21:20:04 +09:00
kano4 201669d8a1 Fix indentation in mirb.c 2013-03-25 20:31:09 +09:00
Yukihiro "Matz" Matsumoto bd8a7ec67a Merge pull request #1066 from xxuejie/static_inline_top_env
Make topenv() static inlined to avoid compiling error when using clang and -O0 mode
2013-03-25 02:53:32 -07:00
Carson McDonald 930e4c71c0 Make mrb_top_self return a real instance. 2013-03-25 00:23:22 -04:00
Xuejie "Rafael" Xiao c4fb08ac86 Make topenv() static inlined 2013-03-24 22:21:18 -04:00
Yukihiro "Matz" Matsumoto 84161ed793 Merge pull request #1061 from nemerle/RData-type-constification
Changed the RData type field to 'const'
2013-03-24 17:51:48 -07:00
Yukihiro "Matz" Matsumoto 5974853ca6 Merge pull request #1063 from matsumoto-r/adjust_spase_tab
Adjusted indent, space and tab
2013-03-24 04:45:27 -07:00
Masaki Muranaka ed2da91d12 Add stdio.h. This is just for now. We should discuss about remote tests later. 2013-03-24 15:19:56 +09:00
Masaki Muranaka 3401ed7bab Reduce using snprintf(). They can replace by mruby API. 2013-03-24 13:49:19 +09:00