Commit Graph

2775 Commits

Author SHA1 Message Date
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
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
Yukihiro Matz Matsumoto e69a13a20e resolve conflict 2013-03-24 00:44:28 +09:00
mattn a8abbaed1a Remove needless prototype 2013-03-24 00:34:10 +09:00
Yukihiro "Matz" Matsumoto 6954153fa0 Merge pull request #1057 from mattn/mruby-print
mruby-print gem
2013-03-23 08:30:03 -07:00
Yukihiro Matz Matsumoto f0ac204f21 Use size_t instead of int. This is for portability. 2013-03-24 00:20:35 +09:00
mattn b69761e286 Add mruby-print 2013-03-24 00:20:35 +09:00
mattn e53fa35748 Remove __printstr__ 2013-03-24 00:18:39 +09:00
Masaki Muranaka daeaa51b2d For particular environments which has 25 < n < 32 bit int. There is no cost even if you use 16/32bit int targets. 2013-03-24 00:13:23 +09:00
Masaki Muranaka 1756e8fc83 Add brances to macro parameter. It may be refactored as GET_UNPACK_{b,c} are used only by GETARG_{b,c}. 2013-03-24 00:12:53 +09:00
Masaki Muranaka f5748e28c6 Use ptrdiff_t instead of int. This is for portability. 2013-03-24 00:09:17 +09:00
Yukihiro Matz Matsumoto 0425db66b6 Use mrb_bool instead of int. This is for portability; based on e767ebf but iv_foreach_func must return int 2013-03-24 00:07:13 +09:00
Masaki Muranaka 33ee4903eb Remove unused marco CODEGEN_DUMP. 2013-03-23 23:59:29 +09:00
Yukihiro Matz Matsumoto 5c65fa5dc4 add mt19937ar license (BSD) to LEGAL 2013-03-23 22:19:54 +09:00
Yukihiro "Matz" Matsumoto c6752656c7 Merge pull request #1056 from matsumoto-r/fix_random_license
Modified license information for mruby-random
2013-03-23 06:16:52 -07:00
MATSUMOTO Ryosuke 17d3055ad8 Modified license information for mruby-random 2013-03-23 22:07:08 +09:00
Yukihiro Matz Matsumoto 0940e4d462 rename mrb_ptr_as_string() to mrb_ptr_to_str() 2013-03-23 21:57:33 +09:00
Yukihiro Matz Matsumoto d8f48e9782 Merge branch 'pr-add-mrb_ptr_as_string' of https://github.com/monaka/mruby into monaka-pr-add-mrb_ptr_as_string 2013-03-23 21:53:49 +09:00
Yukihiro "Matz" Matsumoto 8ae2c2498e Merge pull request #1055 from monaka/pr-remove-_obj_classname
Remove _obj_classname()
2013-03-23 05:48:00 -07:00
Masaki Muranaka d5b135a1e7 Remove _obj_classname() as unused. 2013-03-23 20:22:16 +09:00
Masaki Muranaka 9268636331 Use mrb_obj_classname() instead of _obj_classname(). They are complietely same. 2013-03-23 20:21:50 +09:00
Masaki Muranaka bdd8f7b4a7 Remove *printf() that have "%p" format as possible. Use tomrb_ptr_as_string() instead. 2013-03-23 20:11:33 +09:00