Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | .vimrc: add basic formatting config for vim users0.3 | Michał Łyszczek | 2020-05-28 | 1 | -0/+12 |
| | | | | Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> | ||||
* | src/el-decode-number.c: fix potential loose of precision on 64bit systems | Michał Łyszczek | 2019-07-29 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | *out |= (n[i] & 0x7f) << (i * 7); (n[i] & 0x7f) - will be an int value (32bit in most cases) and if (i * 7) is larger than 32, we will shift outside of 32bit and 0 will be written into *out which is not what we want. To prevent this, left operand of << should be first casted to 64bit and then shift should be performed. Marking no_ci since this code is not used in embedlog, and is provided as an example for decoding numbers in binary logs. no_ci Reported-by: pvs-studio Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> | ||||
* | bump version to 0.3.4v0.3.4 | Michał Łyszczek | 2019-06-09 | 7 | -7/+7 |
| | | | | Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> | ||||
* | tst/test-el-pbinary.c: add missing checks for nsec and msec | Michał Łyszczek | 2019-06-08 | 1 | -21/+44 |
| | | | | | | | print_check() contained checks only for usec which resulted in false check errors. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> | ||||
* | tst/test-el-pbinary.c: fix operator precedence | Michał Łyszczek | 2019-06-08 | 1 | -2/+2 |
| | | | | | | | if (flags & 0x04 != 0x04) is invalid, as 0x04 != 0x04 will be evaluated first. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> | ||||
* | fix: add missing #ifdef LLONG_MAX in binary tests | Michał Łyszczek | 2019-06-08 | 1 | -0/+13 |
| | | | | | This caused error failure on machines where long long is not available | ||||
* | src/el-print.c: fix possible buffer overflow in el_print() | Michał Łyszczek | 2019-06-08 | 3 | -5/+29 |
| | | | | | | | | | In case when message, finfo and colors are enabled and are full (their text is as long as defined max values) it was possible to overflow buffer. Very rare situation but surely it will happend, to someone one day. Not anymore, it won't. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> | ||||
* | fix: some package building problemsv0.3.3 | Michał Łyszczek | 2019-02-14 | 5 | -15/+15 |
| | |||||
* | bump versions to 0.3.3 | Michał Łyszczek | 2019-02-14 | 7 | -7/+7 |
| | |||||
* | src/el-pmemory.c: fix usage of uninitialized variable | Michał Łyszczek | 2019-02-14 | 1 | -0/+2 |
| | |||||
* | bump to version 0.3.2v0.3.2 | Michał Łyszczek | 2018-11-28 | 2 | -2/+2 |
| | | | | no_buildbot | ||||
* | configure.ac: remove mandatory function checks | Michał Łyszczek | 2018-11-25 | 1 | -4/+2 |
| | | | | | | | | | these functions are mandatory anyway and build will crash when unavailable, but some compilers/systems may have problem in checking them. For example, clang crashes when checking for memcpy when thread sanitizer is enabled. | ||||
* | options: fix g_options altered after el_ocleanup | Michał Łyszczek | 2018-11-25 | 2 | -1/+64 |
| | | | | | | calling el_ocleanup() changed outputs in global g_options object, rendering all el_print function family to stop printing after any el_ocleanup() call. | ||||
* | pkg: add scipts to create packages for various systemsv0.3.1-r10.3.1 | Michał Łyszczek | 2018-11-15 | 13 | -0/+503 |
| | |||||
* | makefile: don't build examples on make all | Michał Łyszczek | 2018-11-15 | 2 | -2/+10 |
| | |||||
* | fix: lib version which was forgotten in 0.3.0v0.3.1 | Michał Łyszczek | 2018-05-24 | 2 | -2/+2 |
| | | | | no_buildbot | ||||
* | fix: missing el_cleanup in tests causing memory leakv0.3.0 | Michał Łyszczek | 2018-05-06 | 1 | -0/+2 |
| | |||||
* | last time minor fixes | Michał Łyszczek | 2018-05-06 | 6 | -18/+39 |
| | | | | no_buildbot | ||||
* | little fixes in documentation | Michał Łyszczek | 2018-05-06 | 4 | -7/+72 |
| | | | | no_buildbot | ||||
* | run compilation test in parallel | Michał Łyszczek | 2018-05-05 | 2 | -51/+143 |
| | |||||
* | rename test directories to allow parallel testing | Michał Łyszczek | 2018-05-05 | 2 | -29/+29 |
| | |||||
* | fix: binary logs could be enabled without output to file | Michał Łyszczek | 2018-05-03 | 1 | -24/+58 |
| | | | | also added better handling of unmet dependencies of options | ||||
* | bump version to v0.3.0 | Michał Łyszczek | 2018-05-03 | 6 | -6/+6 |
| | |||||
* | use unsigned int instead of speed_t to prevent compiler error when termios ↵ | Michał Łyszczek | 2018-05-03 | 3 | -7/+7 |
| | | | | is not available | ||||
* | udpdated documentation | Michał Łyszczek | 2018-04-26 | 2 | -6/+94 |
| | |||||
* | add: couple more EINVAL checks for public functions | Michał Łyszczek | 2018-04-26 | 4 | -3/+8 |
| | |||||
* | Merge branch 'solaris-build-fix' | Michał Łyszczek | 2018-04-23 | 1 | -0/+2 |
|\ | |||||
| * | add: search lm library for mathsolaris-build-fix | Michał Łyszczek | 2018-04-23 | 1 | -0/+2 |
|/ | |||||
* | fix; tests some systems dont support echo -n flag | Michał Łyszczek | 2018-04-23 | 1 | -26/+26 |
| | |||||
* | update readme | Michał Łyszczek | 2018-04-23 | 1 | -0/+4 |
| | |||||
* | fix: compilation error when using portable snprintf | Michał Łyszczek | 2018-04-23 | 1 | -1/+1 |
| | |||||
* | Merge branch 'nuttx-support' | Michał Łyszczek | 2018-04-23 | 44 | -553/+3843 |
|\ | |||||
| * | fix: baudrate for tty example - some systems dont like such high speednuttx-support | Michał Łyszczek | 2018-04-22 | 1 | -1/+1 |
| | | |||||
| * | add config.h to pbinary test | Michał Łyszczek | 2018-04-22 | 1 | -0/+2 |
| | | |||||
| * | support automatic reopening of files when frotate is enabled | Michał Łyszczek | 2018-04-22 | 2 | -59/+347 |
| | | |||||
| * | don't fail every el_print to file after open() failed | Michał Łyszczek | 2018-04-22 | 2 | -17/+75 |
| | | | | | | | | | | | | Instead each el_print to file will now try to reopen file that could not have been opened. ENAMETOOLONG will still result in each el_print to fail afterwards | ||||
| * | fix compilation warnings | Michał Łyszczek | 2018-04-21 | 2 | -9/+1 |
| | | |||||
| * | fix: embedlog forever fails after writing to non-existing dir | Michał Łyszczek | 2018-04-21 | 3 | -0/+72 |
| | | | | | | | | | | | | when directory we log into disappear, them we make failed write to it, we end up with options->file being NULL, even when said directory reappear with previous contents | ||||
| * | fix compilation warnings | Michał Łyszczek | 2018-04-20 | 6 | -13/+17 |
| | | | | | | | | | | dont try to add credits for snprintf it this is not used (silents compiler warning about unused variable) | ||||
| * | change some ifdef to simple if | Michał Łyszczek | 2018-04-20 | 1 | -5/+5 |
| | | |||||
| * | fix: clang analyzer warning | Michał Łyszczek | 2018-04-20 | 1 | -8/+5 |
| | | |||||
| * | add: don't *ever* modify in el_perror functions familly | Michał Łyszczek | 2018-04-19 | 2 | -0/+11 |
| | | |||||
| * | fix: broken distcheck after file cleanup | Michał Łyszczek | 2018-04-18 | 1 | -4/+1 |
| | | |||||
| * | fix failing test when --disable-timestamp was set | Michał Łyszczek | 2018-04-18 | 1 | -2/+2 |
| | | |||||
| * | add new options to test-compilation script | Michał Łyszczek | 2018-04-18 | 1 | -1/+5 |
| | | |||||
| * | add option to disable fractions of seconds in compile time | Michał Łyszczek | 2018-04-18 | 15 | -96/+407 |
| | | | | | | | | this saves 10bytes from stack memory for each function call | ||||
| * | add: logging of binary data | Michał Łyszczek | 2018-04-17 | 31 | -336/+1703 |
| | | |||||
| * | add missing checks for fync and fileno in configure | Michał Łyszczek | 2018-04-16 | 1 | -2/+1 |
| | | |||||
| * | add possibility to always sync do disc chosen log levels | Michał Łyszczek | 2018-04-15 | 9 | -5/+254 |
| | | |||||
| * | limited log levels to 8 to save memory | Michał Łyszczek | 2018-04-15 | 6 | -34/+23 |
| | |