aboutsummaryrefslogtreecommitdiffstats
path: root/printf.c
Commit message (Collapse)AuthorAgeFilesLines
* chore(printf): minor cleanupMarco Paland2019-03-261-9/+15
|
* feat(printf): added vprintf() supportMarco Paland2019-03-251-0/+7
| | | Closes #43
* chore(printf, test_suite): clean upMarco Paland2019-03-241-32/+49
|
* Merge exponential supportMarco Paland2019-02-181-54/+173
|\
| * Implemented custom log10/pow in _etoa to eliminate dependency on <math.h> ↵Martijn Jasperse2019-02-031-13/+36
| | | | | | | | for %E format
| * Fixed whitespace, added %e/%g to README.mdMartijn Jasperse2019-02-011-40/+40
| |
| * Added special-case handling to %E, added +inf and -inf handling, test casesMartijn Jasperse2019-02-011-5/+12
| |
| * Fix for left-justified %E formattingMartijn Jasperse2019-02-011-3/+13
| | | | | | | | Adding %E/%G test cases to suite
| * Factoring output padding code to ensure "nan" gets padded correctlyMartijn Jasperse2019-02-011-48/+28
| |
| * Implementing %E and %G formatting specificationsMartijn Jasperse2019-02-011-12/+111
| |
* | fix(printf): remove float comparisonMarco Paland2019-01-311-5/+1
| | | | | | Add more float test cases
* | chore(printf): make pointer var constMarco Paland2019-01-311-4/+3
|/
* fix(printf): fixed support of NaNMarco Paland2019-01-261-2/+12
| | | (hot) fixes #37
* Merge pull request #32 from embeddedartistry/masterMarco Paland2019-01-261-1/+1
|\ | | | | Address warnings in printf.c
| * Add cast to uintptr to silent the const-cast warningPhillip Johnston2019-01-161-1/+1
| |
* | patch for issue #40 (Digit missing from negative numbers in certain cases)Vedran Grudenic2019-01-261-8/+6
|/
* fix(printf): fctprintf() must not append null terminatorMarco Paland2019-01-161-2/+4
| | | Fixes #39, references #19
* chore(printf): cleanup secure strlen() function, added test casesMarco Paland2018-12-051-5/+4
|
* fixing last fixcz7asm2018-12-051-1/+1
| | | missing function argument
* added length limit for _strlencz7asm2018-12-051-2/+4
| | | I wanted the limit specifier for strings (e.g. "%16.s") to be usable in situations when zero termination isn't guaranteed. As a simple fix I added lenght limitation to _strlen.
* Merge remote-tracking branch 'origin/master'Marco Paland2018-11-151-7/+11
|\
| * perf(printf): check flags outside while loopMarco Paland2018-11-041-7/+11
| |
* | change(printf): removed PRINTF_OVERRIDE_LIBC optionMarco Paland2018-11-151-20/+8
|/ | | Removed the PRINTF_OVERRIDE_LIBC option. Basically this it not necessary and the ptintf() macro define can be used all the time.
* 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