aboutsummaryrefslogtreecommitdiffstats
path: root/printf.c
Commit message (Collapse)AuthorAgeFilesLines
* perf(printf): check flags outside while loopMarco Paland2018-11-041-7/+11
|
* feat(printf): added PRINTF_OVERRIDE_LIBC supportMarco Paland2018-11-021-1/+20
| | | Fixes #16
* refactor(printf): move "printf_config.h" include to headerMarco Paland2018-11-021-10/+5
| | | | Necessary because PRINTF_OVERRIDE_LIBC is needed in header Closes #4
* Added the possibility to inject a config file.Fabian Zahn2018-10-141-17/+35
|
* chore(printf): remove unused flagMarco Paland2018-09-301-1/+0
| | | Credit goes to @phillipjohnston
* chore(printf): small improvmentsMarco Paland2018-09-241-3/+3
|
* feat(printf): add # flag support for %b specifierMarco Paland2018-09-241-1/+3
| | | Closes #29
* fix(printf): fix hash precisionMarco Paland2018-09-241-1/+1
| | | Fixes #31
* fix(printf): ignore 0 flag for integers if precision is specifiedMarco Paland2018-09-141-0/+5
| | | Fixes #27
* fix(printf): zero precision and zero value hash problemMarco Paland2018-09-141-3/+13
| | | Fixes #26
* fix(printf): fix negative argument precisionMarco Paland2018-09-141-1/+2
| | | Fixes #25
* fix(printf): fix broken right-padding in _ftoaMarco Paland2018-09-141-1/+3
| | | Fixes #24
* fix(printf): fix trailing field width in itoa conversionMarco Paland2018-08-211-1/+3
| | | Fixes #21
* fix(printf): fix floating point precision limitMarco Paland2018-08-211-7/+11
| | | Return the correct count of precision digits now. Fixes #22
* fix(printf): change char* to void* pointer to avoid cast-align troubleMarco Paland2018-08-011-6/+6
| | | Closes #17 again
* fix(printf): suppress terminating \0 in printf() outputMarco Paland2018-06-241-1/+3
| | | Closes #19
* fix(printf): fix 'expression is constant' warningMarco Paland2018-06-151-1/+2
|
* fix(printf): fix argument name in output function wrapperMarco Paland2018-06-051-1/+1
|
* test(test_suite): modified fctprintf() test caseMarco Paland2018-06-051-5/+5
| | | Renamed 'user' to 'arg'
* feat(printf): add user pointer to fctprintf()Sebastian Goll2018-06-021-8/+11
| | | | Arbitrary user data can be passed to output function
* refactor(printf): changed oprintf() to fctprintf()Marco Paland2018-05-181-1/+1
| | | fctprintf() is more descriptive for its operation
* refactor(printf): use output function wrapping structMarco Paland2018-05-161-2/+8
|
* feat(printf): added new oprintf() functionMarco Paland2018-05-151-1/+19
| | | Write formatted output directly to given output function
* fix(printf): pass dummy buffer for printf to _vsnprintf instead of NULLMarco Paland2018-05-131-1/+2
| | | Fixes #15
* fix(printf): use C conform `NULL` instead of C++ `nullptr`Marco Paland2018-05-121-1/+1
| | | Fixes #14
* fix(printf,test_suite): fix compiler warningsMarco Paland2018-05-111-4/+4
|
* feat(printf): added support for %h, %hh, %j and %t length modifiersMarco Paland2018-05-111-46/+78
| | | | | - Renamed compiler switches - Minor cleanup Closes #12
* fix(printf): use null output function for nullptr bufferMarco Paland2018-05-081-1/+13
| | | Improving #11
* refactor(printf): usage of (buffer) output routine, fixes return valueMarco Paland2018-05-081-79/+79
| | | | | Buffer for printf is no longer needed, chars are directly written now. Return value is specification conform now. Fixes #11
* fix(printf): move <stddef.h> to headerMarco Paland2018-05-061-1/+0
| | | Fixes #13
* fix(printf): fixed floating point sign handlingMarco Paland2018-04-201-4/+4
|
* chore(printf): update commentsMarco Paland2018-04-201-3/+3
|
* feat(printf): add vsnprintf functionMarco Paland2018-04-201-13/+22
| | | fixes #5
* refactor(printf): improved _strlen() functionMarco Paland2018-04-191-7/+6
|
* fix(printf): fix snprintf buffer terminationMarco Paland2018-04-191-6/+13
| | | Fixes #7 (partly)
* fix(printf): fixed conversion buffer handlingMarco Paland2018-04-181-33/+35
| | | Added according test cases
* cleanup(printf): don't use fixed size for long typeMarco Paland2018-04-171-3/+3
|
* add support for size_t flag: %zdArvid Gerstmann2018-04-161-0/+4
|
* Fixed 64 bit pointer castingMarco Paland2017-11-221-4/+5
|
* Code cleanupMarco Paland2017-11-211-13/+14
|
* Return %p values in upper case, fixed %p 64 bit supportMarco Paland2017-11-211-3/+2
|
* Removed ftoa NaN checkMarco Paland2017-11-211-11/+6
| | | NaN check may not work with optimizing compilers. Use your implementation specific NaN check if necessary
* Updated commentsMarco Paland2017-11-211-3/+3
|
* Code cleanupMarco Paland2017-11-131-4/+4
|
* Changed printf.cpp to printf.c to be usable with 'C'-compilersMarco Paland2017-11-131-0/+619
closes #1