Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix license information content and format | Tomasz Kramkowski | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | Define PRIuSIZE to avoid issues compiling with msvcrt | Tomasz Kramkowski | 2021-08-05 | 1 | -4/+4 |
| | | | | | | | | On windows and when cross compiling with mingw the standard library only supports C89 which means that print format arguments cannot take "%zu". To fix this, a PRIuSIZE macros is needed which expands to PRIu32 on windows 32 bit and PRIu64 on windows 64 bit. | ||||
* | unpack.c: don't drop const in void * cast | Tomasz Kramkowski | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | explicitly cast printf %p params to (void *) | Tomasz Kramkowski | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | Move ieee754b functions to their own file | Tomasz Kramkowski | 2021-07-23 | 1 | -37/+3 |
| | |||||
* | unpack: Fix negative signed integer unpacking calculation | Tomasz Kramkowski | 2021-05-31 | 1 | -3/+13 |
| | | | | | | | | | | | | | | Currently the calculation is just wrong since it effectively relies on the widths of the signed and unsigned integer types and on wrapping-on-assignment behavior. I have no idea why I wrote it like this, it seems obviously wrong in retrospect. The new behavior ensure that this succeeds in situations where type widths are not correct. The new code sets vals to the minimum possible two's complement signed value (I just realised this code now assumes two's complement) and then offsets it with the value part of the signed integer. | ||||
* | unpack: Additional trace information. | Tomasz Kramkowski | 2020-09-12 | 1 | -2/+2 |
| | |||||
* | unpack: Actually use the buffer offset... | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | Move BITMASK and endian enum to common.h | Tomasz Kramkowski | 2020-09-12 | 1 | -5/+0 |
| | |||||
* | unpack: Fix default case mistake | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | unpack: Make input buffer const | Tomasz Kramkowski | 2020-09-12 | 1 | -3/+3 |
| | |||||
* | Implement double deserialisation. | Tomasz Kramkowski | 2020-09-11 | 1 | -1/+9 |
| | |||||
* | unpack: Replace perfectly readable code with macro abomination. | Tomasz Kramkowski | 2020-09-11 | 1 | -29/+32 |
| | |||||
* | unpack: Add BITMASK helper macro | Tomasz Kramkowski | 2020-09-11 | 1 | -1/+3 |
| | |||||
* | unpack: Implement float unpacking. | Tomasz Kramkowski | 2020-09-10 | 1 | -2/+40 |
| | |||||
* | Implement unpacking arrays | Tomasz Kramkowski | 2020-09-10 | 1 | -4/+22 |
| | |||||
* | Allow for a conversion count | Tomasz Kramkowski | 2020-09-10 | 1 | -26/+29 |
| | |||||
* | Make functions static | Tomasz Kramkowski | 2020-09-09 | 1 | -1/+1 |
| | |||||
* | Fix up bugs and add tracing to unpack | Tomasz Kramkowski | 2020-09-09 | 1 | -45/+34 |
| | |||||
* | Add license headers | Tomasz Kramkowski | 2020-09-09 | 1 | -0/+4 |
| | |||||
* | init | Tomasz Kramkowski | 2020-08-20 | 1 | -0/+123 |