1
0
Fork 0
Commit Graph

93 Commits (25958b9beb1830eb79033d6095a64f4c5f87effa)
 

Author SHA1 Message Date
Marco Paland 25958b9beb fix(printf): fix hash precision
Fixes #31
7 years ago
Marco Paland c235b5cd6e chore(readme): update readme 7 years ago
Marco Paland 21a282a2a4 fix(printf): ignore 0 flag for integers if precision is specified
Fixes #27
7 years ago
Marco Paland 7075d314a0 fix(printf): zero precision and zero value hash problem
Fixes #26
7 years ago
Marco Paland 6dae1687b5 fix(printf): fix negative argument precision
Fixes #25
7 years ago
Marco Paland f8a2be378d fix(printf): fix broken right-padding in _ftoa
Fixes #24
7 years ago
Marco Paland be30479110 fix(printf): fix trailing field width in itoa conversion
Fixes #21
7 years ago
Marco Paland e6b5331a36 fix(printf): fix floating point precision limit
Return the correct count of precision digits now. Fixes #22
7 years ago
Marco Paland 61de9c0cb0 chore(readme): update readme 7 years ago
Marco Paland deb685e7a9 fix(printf): change char* to void* pointer to avoid cast-align trouble
Closes #17 again
7 years ago
Marco Paland a07b5d4200 fix(test_suite): fix vsnprint() mocking
Using a structure as va_arg stack mock is too architecture dependent, using a regular va_list now instead.
7 years ago
Marco Paland 810cb2b290 fix(printf): suppress terminating \0 in printf() output
Closes #19
7 years ago
Marco Paland 175e466d92 fix(printf): fix 'expression is constant' warning 7 years ago
Marco Paland 25b02d709f fix(test_suite): fix vsnprintf va_arg mock test case for x64 7 years ago
Marco Paland 7616d6f5e7 test(test_suite): added vsnprintf() test case 7 years ago
Marco Paland 9fa6e64941 chore(printf): update comments 7 years ago
Marco Paland 23d0687aab fix(printf): fix argument name in output function wrapper 7 years ago
Marco Paland a50f1a8369 test(test_suite): modified fctprintf() test case
Renamed 'user' to 'arg'
7 years ago
Marco Paland aa9d7a9a54
Merge pull request #18 from sgoll/fctprintf-user-data
feat(printf): add user pointer to fctprintf()
7 years ago
Sebastian Goll d40951182f feat(printf): add user pointer to fctprintf()
Arbitrary user data can be passed to output function
7 years ago
Marco Paland 0116b74916 refactor(printf): changed oprintf() to fctprintf()
fctprintf() is more descriptive for its operation
7 years ago
Marco Paland 9351e5b1ac refactor(printf): use output function wrapping struct 7 years ago
Marco Paland 24c460b977 feat(printf): added new oprintf() function
Write formatted output directly to given output function
7 years ago
Marco Paland d12e52be4c fix(printf): pass dummy buffer for printf to _vsnprintf instead of NULL
Fixes #15
7 years ago
Marco Paland a6e81f9c59 test(test_suite): added more `float` test cases 7 years ago
Marco Paland ee383ad5c7 fix(printf): use C conform `NULL` instead of C++ `nullptr`
Fixes #14
7 years ago
Marco Paland 277aa259fc fix(printf,test_suite): fix compiler warnings 7 years ago
Marco Paland bb5a8af507 feat(printf): added support for %h, %hh, %j and %t length modifiers
- Renamed compiler switches
- Minor cleanup
Closes #12
7 years ago
Marco Paland 8609d76285 Merge branch 'out_function' 7 years ago
Marco Paland 824a9b35f9 fix(printf): use null output function for nullptr buffer
Improving #11
7 years ago
Marco Paland 33f10559d6 refactor(printf): usage of (buffer) output routine, fixes return value
Buffer for printf is no longer needed, chars are directly written now.
Return value is specification conform now.
Fixes #11
7 years ago
Marco Paland 814bbf6f47 fix(printf): move <stddef.h> to header
Fixes #13
7 years ago
Marco Paland 2bdef77da4 chore(readme): updated readme 7 years ago
Marco Paland 85dc7cf074 fix(printf): fixed floating point sign handling 7 years ago
Marco Paland 98e9b0dab6 chore(travis): removed coveralls support 7 years ago
Marco Paland d3b798a769 chore(codecov): added codecov config 7 years ago
Marco Paland e15b4f1f6b chore(travis): support for codecov.io 7 years ago
Marco Paland d8c07bbc8c chore(readme): updated readme 7 years ago
Marco Paland 5a1780b72b fix(test_suite): fixed test cases 7 years ago
Marco Paland 8db261eed6 chore(printf): update comments 7 years ago
Marco Paland cd4481a6f2 feat(printf): add vsnprintf function
fixes #5
7 years ago
Marco Paland 0e2a4175f6 docs(printf): update docs and usage 7 years ago
Marco Paland 8c3713c4b6 refactor(printf): improved _strlen() function 7 years ago
Marco Paland 6f249a2814 Merge branch 'snprintf_fix' 7 years ago
Marco Paland d74ad73009 fix(printf): fix snprintf buffer termination
Fixes #7 (partly)
7 years ago
Marco Paland dd8432003c fix(printf): fixed conversion buffer handling
Added according test cases
7 years ago
Marco Paland ca6e7e5291 Merge branch 'size_t_specifier_support' 7 years ago
Marco Paland 281e44d53b test(test_suite): added 'z' test cases 7 years ago
Marco Paland 53cde39d6b docs(readme): added 'z' length specifier 7 years ago
Marco Paland b618f2c550 cleanup(printf): don't use fixed size for long type 7 years ago