Commit Graph

4287 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto d747ea72c4 resolve conflict 2014-02-26 00:06:58 +09:00
Yukihiro "Matz" Matsumoto 05d3b9de54 clarify fallthrough in the switch statement 2014-02-25 10:48:10 +09:00
Yukihiro "Matz" Matsumoto ebd976be84 initialize sname before interning 2014-02-25 10:43:16 +09:00
Yukihiro "Matz" Matsumoto b201dbeb3d Merge pull request #1736 from take-cheeze/doc_update
add ruby and C code execution order note
2014-02-25 07:52:00 +09:00
take_cheeze f59636304a add ruby and C code execution order note 2014-02-25 03:32:14 +09:00
Yukihiro "Matz" Matsumoto de0af73c24 Merge pull request #1732 from cho45/depend-build-config
Always include build_config.rb to compile dependency.
2014-02-25 02:20:13 +09:00
Yukihiro "Matz" Matsumoto e86ce92066 Merge pull request #1733 from take-cheeze/mrb_stringize
add MRB_ prefix to STRINGIZE macro
2014-02-25 02:19:16 +09:00
Yukihiro "Matz" Matsumoto 303b955ba8 Merge pull request #1734 from kyab/add_galileo_config
Add target example for Intel Galileo board
2014-02-25 02:18:59 +09:00
Yukihiro "Matz" Matsumoto ad40f32d57 Merge pull request #1735 from h2so5/limit-significand-length
limit preserved significand length
2014-02-25 02:18:34 +09:00
Yukihiro "Matz" Matsumoto c636386953 avoid accessing uninitialized string; ref ac936fc 2014-02-25 00:47:02 +09:00
Yukihiro "Matz" Matsumoto ddf9504558 Merge pull request #1721 from take-cheeze/d_format_spec
add 'd' format specifier in mrb_get_args and mruby-random gem improvement
2014-02-25 00:22:27 +09:00
kyab 70935f9979 Add target example for Intel Galileo board 2014-02-24 23:16:02 +09:00
take_cheeze faad3e2ecd add MRB_ prefix to STRINGIZE macro 2014-02-24 23:13:21 +09:00
Yukihiro "Matz" Matsumoto 2f9cf26ab5 Merge pull request #1731 from jeremyong/master
Issue minor corrections and updates to INSTALL file.
2014-02-24 18:01:46 +09:00
Yukihiro "Matz" Matsumoto a26867f595 Merge pull request #1730 from bggd/patch-3
Add error for C99 style variable declaration on travis-ci
2014-02-24 17:59:58 +09:00
cho45 03b1b62bde Always include build_config.rb to compile dependency.
build_config.rb modifies `cc.defines` (eg. `DISABLE_GEMS`) so files depending on such flags should be rebuilt.

Ref. (Failing scenario): https://gist.github.com/cho45/9181191
2014-02-24 12:01:54 +09:00
Jeremy Ong 6fb75460c1 Issue minor corrections and updates to INSTALL file. 2014-02-23 18:33:26 -08:00
bggd 7c716de723 add -Werror=declaration-after-statement 2014-02-24 11:13:48 +09:00
bggd 3ff4af91a2 remove -Werror=declaration-after-statement 2014-02-24 11:08:23 +09:00
h2so5 f025e4961d limit preserved significand length 2014-02-24 08:21:10 +09:00
Yukihiro "Matz" Matsumoto 109f675f44 Merge pull request #1727 from bggd/patch-2
Add warning for C89-style variable declarations
2014-02-24 01:41:27 +09:00
Yukihiro "Matz" Matsumoto 8b29f0d9c1 Merge pull request #1729 from take-cheeze/customizable_build_dir
Make mruby build directory customizable.
2014-02-24 01:41:06 +09:00
Yukihiro "Matz" Matsumoto 37348c296e Merge pull request #1728 from kyab/fix_unused_error_mirb
Fix unused function warning when readline enabled (mirb)
2014-02-23 21:00:52 +09:00
take_cheeze 9059b9a354 support custom build_dir in CrossBuild 2014-02-23 20:50:51 +09:00
kyab 1cf619d3b4 Fix unused function warning when readline enabled (mirb) 2014-02-23 20:43:43 +09:00
Yukihiro "Matz" Matsumoto 46ee883574 move declaration to the top of the block; ref #1727 2014-02-23 20:41:15 +09:00
take_cheeze dd68ea9799 make mruby build directory customizable 2014-02-23 20:35:06 +09:00
bggd 15b484df38 Add warning for C89-style variable declarations 2014-02-23 16:08:56 +09:00
Yukihiro "Matz" Matsumoto e202d4cd53 add src/error.h for compatibility reason 2014-02-22 23:38:59 +09:00
Yukihiro "Matz" Matsumoto e8daace8f1 Merge pull request #1724 from h2so5/f2s-significand
preserve significands in float-string conversion
2014-02-22 18:06:27 +09:00
h2so5 b0e3b873f5 preserve significands in float-string conversion 2014-02-22 16:50:52 +09:00
Yukihiro "Matz" Matsumoto ac936fc211 powered num may be infinite in float-string conversion 2014-02-22 11:06:38 +09:00
Yukihiro "Matz" Matsumoto 6b6c590fe3 Merge pull request #1722 from take-cheeze/hash_ext_arena_fix
Fix possible arena overflow in mruby-hast-ext.
2014-02-22 10:55:04 +09:00
Yukihiro "Matz" Matsumoto 96e806ff05 Merge pull request #1723 from akuroda/string_test_cap_down
add tests for String#capitalize!, String#downcase!, and String#upcase!
2014-02-22 10:51:13 +09:00
Akira Kuroda 61523d0e4f fix the position of capitalize! and downcast!, and add test for upcase! 2014-02-22 00:43:12 +09:00
take_cheeze 658b4f4ea7 add test(requires MRB_GC_FIXED_ARENA enabled) 2014-02-22 00:28:38 +09:00
Akira Kuroda f6516526b5 add tests for String#capitalize! and String#downcase! 2014-02-22 00:19:29 +09:00
take_cheeze a9af8c9c07 fix possible arena overflow 2014-02-22 00:05:05 +09:00
take_cheeze f863025bd6 use 'd' format spec to get Random object 2014-02-21 17:36:58 +09:00
take_cheeze 8060478b3c add 'd' format specifier to get data pointer directly from mrb_get_args 2014-02-21 17:29:49 +09:00
take_cheeze d345134fb8 use mrb_intern_lit in mruby-random 2014-02-21 17:07:48 +09:00
Yukihiro "Matz" Matsumoto 36e234aa37 Merge pull request #1720 from take-cheeze/move_error_h
move src/error.h to include/mruby/error.h
2014-02-21 11:02:36 +09:00
take_cheeze 08ea324593 move src/error.h to include/mruby/error.h 2014-02-20 22:41:29 +09:00
Yukihiro "Matz" Matsumoto 66ecd159d3 Merge pull request #1719 from pbosetti/master
Added spaces in version.h macros for complying with C++11
2014-02-18 21:35:56 +09:00
cremno 61577e8d6b mrb_flo_to_str: internal linkage 2014-02-18 04:37:35 +01:00
Paolo Bosetti 0b603baa53 Added spaces in version.h macros for complying with C++11 2014-02-17 17:54:49 +01:00
Yukihiro "Matz" Matsumoto 800d992987 Merge pull request #1717 from cremno/iv_size-t-null
iv_size (non-seglist): return 0 if t is NULL
2014-02-18 00:30:07 +09:00
cremno 69bc004e08 iv_size (non-seglist): return 0 if t is NULL 2014-02-17 12:39:56 +01:00
cremno 1838099e00 more mrb_flo_to_str fixes
- remove float check (take mrb_float instead of mrb_value)
- support -0.0
- fix range error if log10 is called when n == 0.0
- MSVC older than 2013: add signbit macro (for double)
2014-02-17 12:37:39 +01:00
Yukihiro "Matz" Matsumoto 57b7f6b619 use double instead of mrb_float (that may be single precision float) to reduce errors 2014-02-17 10:20:58 +09:00