| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-05-25 | Under MRB_INT64, width may be bigger than INT_MAX; fix #3665 | Yukihiro "Matz" Matsumoto | |
| 2017-05-08 | Fix segmentation fault ref: #3648 | ksss | |
| 2017-04-29 | Better error message | Nobuyoshi Nakada | |
| Raise argument error with the better message, at the only place where the size to fill can be negative. | |||
| 2017-04-29 | Use `FILL` and `PUSH` | Nobuyoshi Nakada | |
| Instead of loop or `memcpy` after `CHECK`, use dedicated macros, `FILL` and `PUSH`, respectively. | |||
| 2017-04-23 | Refactor "%f" % Inf/NaN | Nobuyoshi Nakada | |
| As for non-finite float, calculate the exact needed size with the space flag. | |||
| 2017-04-23 | Fix space flag when Inf/NaN and width==3 | Nobuyoshi Nakada | |
| While `"% 2f"` and `"% 4f"` result in `" Inf"` and `" Inf"` respectively, `"% 3f"` results in `"Inf"` (no space). | |||
| 2017-04-03 | Unify `else` clause style | Yukihiro "Matz" Matsumoto | |
| 2017-03-18 | Should use mrb_int for any object | ksss | |
| o=Object.new def o.to_int 1 end p "%*d" % [o, 1] | |||
| 2017-03-13 | Fix out-of-bound access | Nobuyoshi Nakada | |
| Get rid of out-of-bound access when single % at the end. | |||
| 2017-03-11 | The width printf specifier may be negative; fix #3498 | Yukihiro "Matz" Matsumoto | |
| 2017-03-11 | fixup! Check return value from snprintf(); ref #3498 | Yukihiro "Matz" Matsumoto | |
| 2017-03-11 | Check return value from snprintf(); ref #3498 | Yukihiro "Matz" Matsumoto | |
| 2017-02-11 | Avoid integer overflow in sprintf(); fix #3439 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/aerodudrizzt | |||
| 2017-01-16 | Dots is not needed for base 10 negative numbers; fix #3400 | Yukihiro "Matz" Matsumoto | |
| 2016-12-21 | One less argument for raisef(); fix #3355 | Yukihiro "Matz" Matsumoto | |
| This issue was reported by https://hackerone.com/mg36 | |||
| 2016-12-18 | Check if width is zero or negative before fill; fix #3347 | Yukihiro "Matz" Matsumoto | |
| Reported by https://hackerone.com/haquaman. | |||
| 2016-12-18 | Prohibit mixture of posarg and nextarg; ref #3347 | Yukihiro "Matz" Matsumoto | |
| 2016-11-24 | Fixes for compiling mruby as C++ | Tomasz Dąbrowski | |
| 2016-11-23 | Fix segfault when Fixnum#chr doesn't return a string | Bouke van der Bijl | |
| 2016-07-01 | Fix warning shift-negative-value | ksss | |
| 2016-04-23 | mruby-sprintf:fix double negative signs in printf; fix #3148 | Yukihiro "Matz" Matsumoto | |
| MRB_INT_MAX does not have corresponding positive integer | |||
| 2016-04-23 | mruby-sprintf: format specifiers o,u,x,b ignore sign(+); ref #3148 | Yukihiro "Matz" Matsumoto | |
| 2016-01-07 | mruby-sprintf to use mrb_int formatting macros; ref #3076 | Yukihiro "Matz" Matsumoto | |
| 2015-11-27 | include changed from by quotes ("") to by brackets (<>); close #3032 | Yukihiro "Matz" Matsumoto | |
| 2015-11-19 | formatting buffer should be bigger for negative dots; ref #3025 | Yukihiro "Matz" Matsumoto | |
| 2015-11-19 | binary format no longer need to preserve org_v | Yukihiro "Matz" Matsumoto | |
| 2015-11-19 | integer range check was moved to mrb_flo_to_fixnum(); ref #3025 | Yukihiro "Matz" Matsumoto | |
| 2015-11-19 | negative binary format should not be masked by 10bits; ref #3025 | Yukihiro "Matz" Matsumoto | |
| 2015-11-19 | binary sprintf should not be restricted by mrb_int size; fix #3025 | Yukihiro "Matz" Matsumoto | |
| 2015-09-03 | unsigned long may be smaller than mrb_int; use uint64_t instead; fix #2935 | Yukihiro "Matz" Matsumoto | |
| 2015-06-24 | Remove unnecessary backticks. | Franck Verrot | |
| Dr Markus Kuhn published in 1999 an article [1] explaining in details why we shouldn't use the ASCII grave accent (0x60) as a left quotation. Backticks have been used most notably to produce nice-looking LaTeX documents but it doesn't seem to be an issue on modern platforms and for the oldest ones, there are workarounds as mentioned by Dr Kuhn. [1]: https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html | |||
| 2014-09-04 | refactor MACRO to avoid local variable name conflict; ref #2585 | Yukihiro "Matz" Matsumoto | |
| 2014-09-04 | get rid of shadowing variables (mrbgems) | cremno | |
| Mostly renaming, except that the definition of struct accessor methods is now done in a new function. | |||
| 2014-07-12 | remove spaces after open parens | Yukihiro "Matz" Matsumoto | |
| 2014-05-04 | simply use `isfinite` | cremno | |
| 2014-04-25 | Use mrb_int in mrbgem rest argument getting. | take_cheeze | |
| 2014-03-25 | Use mrb_int instead of int | cubicdaiya | |
| 2014-03-22 | Use bool-macro instead of magic-number | cubicdaiya | |
| 2014-03-11 | add MRB_INT_BIT | cremno | |
| 2014-03-06 | make embed string when create literals | ksss | |
| 2014-03-06 | embed small string | ksss | |
| use flags 4 for *this object is embed* use flags 8~64 for *embed string length* | |||
| 2014-02-28 | cancel 313f6b; add fallthrough comment | Yukihiro "Matz" Matsumoto | |
| 2014-02-26 | Implement sprintf("%c") for UTF-8. | chasonr | |
| * sprintf("%c") is changed to accept a string for which String#size returns 1, even if it is longer than one byte, and to convert a Fixnum via Fixnum#chr (possibly returning more than one byte). Thus, if the UTF-8 gem is in use, a character will be understood as a single UTF-8 character. * The change to sprintf depends on the implementation of Fixnum#chr added to mrbgems/mruby-string-utf8/src/string.c. This should work with any other gem that implements a multibyte encoding, as long as it implements String#size and Fixnum#chr as appropriate. | |||
| 2014-02-27 | forget to break in the switch statement | Yukihiro "Matz" Matsumoto | |
| 2014-02-26 | use mrb_str_new_lit instead of mrb_str_new for C string literals | cubicdaiya | |
| 2014-01-31 | add missing declaration of mrb_str_format | cremno | |
| 2014-01-02 | remove various preprocessor conditionals | cremno | |
| - HAVE_IEEEFP_H is nowhere defined or needed at all - FreeBSD < 4 is unsupported since years - MSVC workaround (around what exactly?) | |||
| 2013-06-27 | Visual Studio 2013 support + strtof + inline | Cremno | |
| - VC12 has better C99 library support due to C++11 - defined strtof for VC11 or older - define "inline" only if the C compiler is used | |||
| 2013-05-18 | removed unused variables / assigns never used | Julien Ammous | |
| 2013-05-10 | change mrb_warn to get mrb_state and %S formatter | Yukihiro "Matz" Matsumoto | |
