Commit Graph

2859 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto cb946da787 Merge pull request #1102 from carsonmcdonald/gvarunderscorefix
Allow globals that start with $_
2013-03-28 19:35:52 -07:00
Yukihiro "Matz" Matsumoto b29b421817 Merge pull request #1101 from monaka/pr-cleanup-includes
Cleanup includes
2013-03-28 19:34:15 -07:00
Carson McDonald 06d7bd69a3 Allow globals that start with $_ 2013-03-28 22:21:37 -04:00
Masaki Muranaka 74f04849c4 Rearrange SIZE_MAX. It is supported also VC++ since its version10. And there seems SIZE_MAX is defined in stdint.h. And it possibly (depends on the version of VC++) conflicts with SIZE_MAX in limits.h. This patch is no need if I did not support VC++. 2013-03-29 11:02:35 +09:00
Masaki Muranaka 2f8dc97e2d Move TRUE/FALSE existence checks. 2013-03-29 10:41:28 +09:00
Masaki Muranaka 2b5b161f8b Sort include files. Some redundant includes are removed. 2013-03-29 10:22:31 +09:00
Masaki Muranaka a01e968cdb Remove limits.h from numeric.h. Add limits.h to some C files. 2013-03-29 10:06:40 +09:00
Yukihiro "Matz" Matsumoto 5fb12a990d Merge pull request #1100 from masuidrive/fixed_debug_args
Fixed wrong section size calculation
2013-03-28 17:29:13 -07:00
Yukihiro "Matz" Matsumoto 8326b0ab70 Merge pull request #1098 from monaka/pr-fix-type-in-dump.h
Fix a type mismatch.
2013-03-28 16:58:48 -07:00
Yuichiro MASUI 1e58b9c2bf Fixed wrong section size calculation 2013-03-29 01:35:30 +09:00
Masaki Muranaka 1074a3c0f4 Fix a type mismatch. 2013-03-28 23:44:50 +09:00
Yukihiro "Matz" Matsumoto d5021172ee Merge pull request #1089 from bovi/gen-legal
LEGAL File Generator for Builds
2013-03-28 06:56:36 -07:00
Yukihiro "Matz" Matsumoto 326aa3f98e Merge pull request #1095 from monaka/pr-add-arena-guard
Add arena guard. It will be exausted when the pool is huge.
2013-03-28 06:50:40 -07:00
Yukihiro "Matz" Matsumoto a6cca7c2c4 Merge branch 'pr-fix-mrb_format' of https://github.com/monaka/mruby into monaka-pr-fix-mrb_format 2013-03-28 22:46:51 +09:00
Yukihiro "Matz" Matsumoto 144613943d Merge pull request #1094 from monaka/pr-use-mrb_format
Use mrb_format() instead of s*printf().
2013-03-28 06:44:21 -07:00
Yukihiro "Matz" Matsumoto 3a2f4c3235 Merge branch 'master' of github.com:mruby/mruby 2013-03-28 22:42:49 +09:00
Yukihiro "Matz" Matsumoto e8d98a3854 return value from fread(3) just cannot be ignored 2013-03-28 22:42:06 +09:00
Yukihiro "Matz" Matsumoto 5a089aa4d6 Merge pull request #1091 from monaka/pr-fix-raisef-format-in-struct.c
Fix raisef() format strings in struct.c.
2013-03-28 06:37:47 -07:00
Yukihiro "Matz" Matsumoto 1fe51fb83a Merge pull request #1097 from monaka/pr-fix-raisef-format-in-sprintf.c
Fix format for new mrb_raisef().
2013-03-28 06:36:41 -07:00
Masaki Muranaka 384db0d809 Fix format for new mrb_raisef(). 2013-03-28 21:35:56 +09:00
Masaki Muranaka 31bb00b9c2 Add arena guard. It will be exausted when the pool is huge. 2013-03-28 17:57:52 +09:00
Masaki Muranaka fa23cb1021 Fix argunum_error() to use mrb_format(). 2013-03-28 17:43:24 +09:00
Masaki Muranaka 485111db6b Fix %s to %S. 2013-03-28 17:40:13 +09:00
Masaki Muranaka c0b5220418 Modify mrb_name_error() to use mrb_format(). 2013-03-28 17:35:04 +09:00
Daniel Bovensiepen e952d55ba0 Catch return values to silent compiler 2013-03-28 07:09:05 +00:00
Masaki Muranaka 5c4c2f3788 Fix raisef formats in struct.c. 2013-03-28 16:07:50 +09:00
Daniel Bovensiepen 83961c8f71 LEGAL file generator for binaries 2013-03-28 06:24:07 +00:00
Masaki Muranaka d329d1f421 Fix. In some cases, %S substitutions were failed. 2013-03-28 15:08:29 +09:00
Masaki Muranaka 9c831c9a9c Remove the escape backslash from the result string. 2013-03-28 15:07:34 +09: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