Commit Graph

2807 Commits

Author SHA1 Message Date
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
Masaki Muranaka 29d84a1635 Separate FILE dependencies with ENABLE_STDIO. 2013-03-24 13:47:54 +09:00
Masaki Muranaka 6eda7c28e9 Include stddef.h. It is required by size_t. In case you include stdio.h, stddef.h is included indirectly. 2013-03-24 13:42:25 +09:00
MATSUMOTO Ryosuke 7328b68b9f Adjusted indent, space and tab 2013-03-24 11:35:42 +09:00
Artur K 6a6c26f530 Changed the RData type field to 'const'
Within the mruby source code the 'type' field is either initialized, or used in const manner.
IMHO changing the type after it has been created might cause hard to track errors.
2013-03-23 22:00:23 +01:00
Yukihiro "Matz" Matsumoto f48fe450ac Merge pull request #1060 from cremno/nan_boxing-mrb_bool_value-fails
NaN boxing: fix compilation
2013-03-23 10:01:32 -07:00
Yukihiro "Matz" Matsumoto fd66a4df7d Merge pull request #1059 from mattn/remove_needless_sprintf
Remove unused mrb_sprintf
2013-03-23 10:00:48 -07:00
Cremno c09c098bc5 fixed NaN boxing compilation
Use MRB_SET_VALUE instead of directly accessing members of mrb_value
which are different if NaN boxing is enabled.
2013-03-23 16:55:56 +01:00
mattn aec5ac493e Remove unused mrb_sprintf 2013-03-24 00:52:25 +09:00
Yukihiro "Matz" Matsumoto ccfc0fb708 Merge pull request #1058 from mattn/remove_mrb_f_sprintf
Remove needless prototype
2013-03-23 08:48:35 -07:00