summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf
AgeCommit message (Expand)Author
2017-03-11The width printf specifier may be negative; fix #3498Yukihiro "Matz" Matsumoto
2017-03-11fixup! Check return value from snprintf(); ref #3498Yukihiro "Matz" Matsumoto
2017-03-11Check return value from snprintf(); ref #3498Yukihiro "Matz" Matsumoto
2017-02-11Avoid integer overflow in sprintf(); fix #3439Yukihiro "Matz" Matsumoto
2017-01-16Dots is not needed for base 10 negative numbers; fix #3400Yukihiro "Matz" Matsumoto
2016-12-21One less argument for raisef(); fix #3355Yukihiro "Matz" Matsumoto
2016-12-18Check if width is zero or negative before fill; fix #3347Yukihiro "Matz" Matsumoto
2016-12-18Prohibit mixture of posarg and nextarg; ref #3347Yukihiro "Matz" Matsumoto
2016-11-24Fixes for compiling mruby as C++Tomasz Dąbrowski
2016-11-23Fix segfault when Fixnum#chr doesn't return a stringBouke van der Bijl
2016-11-21Fix for sprintf test exceeding bounds with MRB_INT16Tomasz Dąbrowski
2016-07-01Fix warning shift-negative-valueksss
2016-04-23mruby-sprintf:fix double negative signs in printf; fix #3148Yukihiro "Matz" Matsumoto
2016-04-23mruby-sprintf: format specifiers o,u,x,b ignore sign(+); ref #3148Yukihiro "Matz" Matsumoto
2016-01-07mruby-sprintf to use mrb_int formatting macros; ref #3076Yukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-19formatting buffer should be bigger for negative dots; ref #3025Yukihiro "Matz" Matsumoto
2015-11-19binary format no longer need to preserve org_vYukihiro "Matz" Matsumoto
2015-11-19integer range check was moved to mrb_flo_to_fixnum(); ref #3025Yukihiro "Matz" Matsumoto
2015-11-19negative binary format should not be masked by 10bits; ref #3025Yukihiro "Matz" Matsumoto
2015-11-19binary sprintf should not be restricted by mrb_int size; fix #3025Yukihiro "Matz" Matsumoto
2015-09-03unsigned long may be smaller than mrb_int; use uint64_t instead; fix #2935Yukihiro "Matz" Matsumoto
2015-06-24Remove unnecessary backticks.Franck Verrot
2014-09-04refactor MACRO to avoid local variable name conflict; ref #2585Yukihiro "Matz" Matsumoto
2014-09-04get rid of shadowing variables (mrbgems)cremno
2014-07-12remove spaces after open parensYukihiro "Matz" Matsumoto
2014-06-04use is_a? Array for String#% argument check as the original PR did in #2349Yukihiro "Matz" Matsumoto
2014-06-03Special treatment for Hashes, not Arrays; ref #2349Yukihiro "Matz" Matsumoto
2014-06-03add 'String#%'.Tomoyuki Sahara
2014-05-04simply use `isfinite`cremno
2014-04-25Use mrb_int in mrbgem rest argument getting.take_cheeze
2014-03-25Use mrb_int instead of intcubicdaiya
2014-03-22Use bool-macro instead of magic-numbercubicdaiya
2014-03-17move summary of mrbgems in default gembox to its spectake_cheeze
2014-03-11add MRB_INT_BITcremno
2014-03-06make embed string when create literalsksss
2014-03-06embed small stringksss
2014-02-28cancel 313f6b; add fallthrough commentYukihiro "Matz" Matsumoto
2014-02-26Implement sprintf("%c") for UTF-8.chasonr
2014-02-27forget to break in the switch statementYukihiro "Matz" Matsumoto
2014-02-26use mrb_str_new_lit instead of mrb_str_new for C string literalscubicdaiya
2014-01-31add missing declaration of mrb_str_formatcremno
2014-01-02remove various preprocessor conditionalscremno
2013-07-23"spec.author" is better for single-author gems.Tomoyuki Sahara
2013-06-27Visual Studio 2013 support + strtof + inlineCremno
2013-05-18removed unused variables / assigns never usedJulien Ammous
2013-05-10change mrb_warn to get mrb_state and %S formatterYukihiro "Matz" Matsumoto
2013-04-25rename every ARGS_XXX to MRB_ARGS_XXX; ref #1206Yukihiro "Matz" Matsumoto
2013-03-29Rename mrb_fix2str() to mrb_fixnum_to_str(). This is for naming consistency.Masaki Muranaka
2013-03-29Remove mrb_flt2big() as there is no bignum in the core.Masaki Muranaka