Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #32 from embeddedartistry/master | Marco Paland | 2019-01-26 | 1 | -1/+1 |
|\ | | | | | Address warnings in printf.c | ||||
| * | Add cast to uintptr to silent the const-cast warning | Phillip Johnston | 2019-01-16 | 1 | -1/+1 |
| | | |||||
* | | patch for issue #40 (Digit missing from negative numbers in certain cases) | Vedran Grudenic | 2019-01-26 | 1 | -8/+6 |
|/ | |||||
* | fix(printf): fctprintf() must not append null terminator | Marco Paland | 2019-01-16 | 1 | -2/+4 |
| | | | Fixes #39, references #19 | ||||
* | chore(printf): cleanup secure strlen() function, added test cases | Marco Paland | 2018-12-05 | 1 | -5/+4 |
| | |||||
* | fixing last fix | cz7asm | 2018-12-05 | 1 | -1/+1 |
| | | | missing function argument | ||||
* | added length limit for _strlen | cz7asm | 2018-12-05 | 1 | -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 Paland | 2018-11-15 | 1 | -7/+11 |
|\ | |||||
| * | perf(printf): check flags outside while loop | Marco Paland | 2018-11-04 | 1 | -7/+11 |
| | | |||||
* | | change(printf): removed PRINTF_OVERRIDE_LIBC option | Marco Paland | 2018-11-15 | 1 | -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 support | Marco Paland | 2018-11-02 | 1 | -1/+20 |
| | | | Fixes #16 | ||||
* | refactor(printf): move "printf_config.h" include to header | Marco Paland | 2018-11-02 | 1 | -10/+5 |
| | | | | Necessary because PRINTF_OVERRIDE_LIBC is needed in header Closes #4 | ||||
* | Added the possibility to inject a config file. | Fabian Zahn | 2018-10-14 | 1 | -17/+35 |
| | |||||
* | chore(printf): remove unused flag | Marco Paland | 2018-09-30 | 1 | -1/+0 |
| | | | Credit goes to @phillipjohnston | ||||
* | chore(printf): small improvments | Marco Paland | 2018-09-24 | 1 | -3/+3 |
| | |||||
* | feat(printf): add # flag support for %b specifier | Marco Paland | 2018-09-24 | 1 | -1/+3 |
| | | | Closes #29 | ||||
* | fix(printf): fix hash precision | Marco Paland | 2018-09-24 | 1 | -1/+1 |
| | | | Fixes #31 | ||||
* | fix(printf): ignore 0 flag for integers if precision is specified | Marco Paland | 2018-09-14 | 1 | -0/+5 |
| | | | Fixes #27 | ||||
* | fix(printf): zero precision and zero value hash problem | Marco Paland | 2018-09-14 | 1 | -3/+13 |
| | | | Fixes #26 | ||||
* | fix(printf): fix negative argument precision | Marco Paland | 2018-09-14 | 1 | -1/+2 |
| | | | Fixes #25 | ||||
* | fix(printf): fix broken right-padding in _ftoa | Marco Paland | 2018-09-14 | 1 | -1/+3 |
| | | | Fixes #24 | ||||
* | fix(printf): fix trailing field width in itoa conversion | Marco Paland | 2018-08-21 | 1 | -1/+3 |
| | | | Fixes #21 | ||||
* | fix(printf): fix floating point precision limit | Marco Paland | 2018-08-21 | 1 | -7/+11 |
| | | | Return the correct count of precision digits now. Fixes #22 | ||||
* | fix(printf): change char* to void* pointer to avoid cast-align trouble | Marco Paland | 2018-08-01 | 1 | -6/+6 |
| | | | Closes #17 again | ||||
* | fix(printf): suppress terminating \0 in printf() output | Marco Paland | 2018-06-24 | 1 | -1/+3 |
| | | | Closes #19 | ||||
* | fix(printf): fix 'expression is constant' warning | Marco Paland | 2018-06-15 | 1 | -1/+2 |
| | |||||
* | fix(printf): fix argument name in output function wrapper | Marco Paland | 2018-06-05 | 1 | -1/+1 |
| | |||||
* | test(test_suite): modified fctprintf() test case | Marco Paland | 2018-06-05 | 1 | -5/+5 |
| | | | Renamed 'user' to 'arg' | ||||
* | feat(printf): add user pointer to fctprintf() | Sebastian Goll | 2018-06-02 | 1 | -8/+11 |
| | | | | Arbitrary user data can be passed to output function | ||||
* | refactor(printf): changed oprintf() to fctprintf() | Marco Paland | 2018-05-18 | 1 | -1/+1 |
| | | | fctprintf() is more descriptive for its operation | ||||
* | refactor(printf): use output function wrapping struct | Marco Paland | 2018-05-16 | 1 | -2/+8 |
| | |||||
* | feat(printf): added new oprintf() function | Marco Paland | 2018-05-15 | 1 | -1/+19 |
| | | | Write formatted output directly to given output function | ||||
* | fix(printf): pass dummy buffer for printf to _vsnprintf instead of NULL | Marco Paland | 2018-05-13 | 1 | -1/+2 |
| | | | Fixes #15 | ||||
* | fix(printf): use C conform `NULL` instead of C++ `nullptr` | Marco Paland | 2018-05-12 | 1 | -1/+1 |
| | | | Fixes #14 | ||||
* | fix(printf,test_suite): fix compiler warnings | Marco Paland | 2018-05-11 | 1 | -4/+4 |
| | |||||
* | feat(printf): added support for %h, %hh, %j and %t length modifiers | Marco Paland | 2018-05-11 | 1 | -46/+78 |
| | | | | | - Renamed compiler switches - Minor cleanup Closes #12 | ||||
* | fix(printf): use null output function for nullptr buffer | Marco Paland | 2018-05-08 | 1 | -1/+13 |
| | | | Improving #11 | ||||
* | refactor(printf): usage of (buffer) output routine, fixes return value | Marco Paland | 2018-05-08 | 1 | -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 header | Marco Paland | 2018-05-06 | 1 | -1/+0 |
| | | | Fixes #13 | ||||
* | fix(printf): fixed floating point sign handling | Marco Paland | 2018-04-20 | 1 | -4/+4 |
| | |||||
* | chore(printf): update comments | Marco Paland | 2018-04-20 | 1 | -3/+3 |
| | |||||
* | feat(printf): add vsnprintf function | Marco Paland | 2018-04-20 | 1 | -13/+22 |
| | | | fixes #5 | ||||
* | refactor(printf): improved _strlen() function | Marco Paland | 2018-04-19 | 1 | -7/+6 |
| | |||||
* | fix(printf): fix snprintf buffer termination | Marco Paland | 2018-04-19 | 1 | -6/+13 |
| | | | Fixes #7 (partly) | ||||
* | fix(printf): fixed conversion buffer handling | Marco Paland | 2018-04-18 | 1 | -33/+35 |
| | | | Added according test cases | ||||
* | cleanup(printf): don't use fixed size for long type | Marco Paland | 2018-04-17 | 1 | -3/+3 |
| | |||||
* | add support for size_t flag: %zd | Arvid Gerstmann | 2018-04-16 | 1 | -0/+4 |
| | |||||
* | Fixed 64 bit pointer casting | Marco Paland | 2017-11-22 | 1 | -4/+5 |
| | |||||
* | Code cleanup | Marco Paland | 2017-11-21 | 1 | -13/+14 |
| | |||||
* | Return %p values in upper case, fixed %p 64 bit support | Marco Paland | 2017-11-21 | 1 | -3/+2 |
| |