1
0
Fork 0
Commit Graph

35 Commits (e7f6a916bec92bbba2cfc4d17b95bc22dec86efa)

Author SHA1 Message Date
Marco Paland f40db9afb6 chore(catch): update to catch2 2.4.1 7 years ago
Marco Paland 00f2525d1a feat(printf): add # flag support for %b specifier
Closes #29
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 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 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 a50f1a8369 test(test_suite): modified fctprintf() test case
Renamed 'user' to 'arg'
7 years ago
Marco Paland 0116b74916 refactor(printf): changed oprintf() to fctprintf()
fctprintf() is more descriptive for its operation
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 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 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 85dc7cf074 fix(printf): fixed floating point sign handling 7 years ago
Marco Paland 5a1780b72b fix(test_suite): fixed test cases 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 281e44d53b test(test_suite): added 'z' test cases 7 years ago
Marco Paland 896b2ce07b chore(catch): update to catch v2.2.2 7 years ago
Marco Paland f65dd08b1a Fixed 64 bit %p testcase, again 8 years ago
Marco Paland c355eaa2b0 Fixed 64 bit pointer casting 8 years ago
Marco Paland 7158a6f50f Added pointer testcase 8 years ago
Marco Paland 7936fc34c4 Changed printf.cpp to printf.c to be usable with 'C'-compilers
closes #1
8 years ago
Marco Paland b5b539d814 Added more test cases 8 years ago
Marco Paland 06b080dc45 Added test cases to improve coverage tests 8 years ago
Marco Paland 5813e52e3f Fix compiler/coverity warnings, add test cases 8 years ago
Marco Paland ccaef5d677 Added more test cases 8 years ago
Marco Paland 6eb828eb3a Added initial test cases 8 years ago