Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update build system to the latest luiml version | Tomasz Kramkowski | 2021-05-31 | 19 | -53/+174 |
| | |||||
* | 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. | ||||
* | test_gen: rename unpack generators | Tomasz Kramkowski | 2021-05-31 | 1 | -9/+9 |
| | | | | In preparation for adding pack test generators in the future. | ||||
* | test.do: Sort dependencies alphabetically | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | test.c: Sort headers alphabetically | Tomasz Kramkowski | 2020-09-12 | 1 | -2/+2 |
| | |||||
* | licignore: LICENSE and README.md | Tomasz Kramkowski | 2020-09-12 | 1 | -0/+2 |
| | |||||
* | Add README.md and LICENSE | Tomasz Kramkowski | 2020-09-12 | 2 | -0/+59 |
| | |||||
* | Implement a basic pack function | Tomasz Kramkowski | 2020-09-12 | 4 | -1/+137 |
| | |||||
* | test: Fix Reorder test names and descriptions | Tomasz Kramkowski | 2020-09-12 | 2 | -5/+5 |
| | |||||
* | test: Make DATA macro more useful. | Tomasz Kramkowski | 2020-09-12 | 1 | -2/+2 |
| | |||||
* | build: Fix default.o.do exit status | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | unpack_test: Rename to a more generic name | Tomasz Kramkowski | 2020-09-12 | 8 | -9/+9 |
| | |||||
* | unpack_test: simple unpack padding test | Tomasz Kramkowski | 2020-09-12 | 1 | -0/+21 |
| | |||||
* | 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 | 2 | -5/+5 |
| | |||||
* | unpack: Fix default case mistake | Tomasz Kramkowski | 2020-09-12 | 1 | -1/+1 |
| | |||||
* | unpack: Make input buffer const | Tomasz Kramkowski | 2020-09-12 | 2 | -4/+4 |
| | |||||
* | build: Fix flag passing to the linker and compiler. | Tomasz Kramkowski | 2020-09-12 | 2 | -2/+2 |
| | |||||
* | Implement double deserialisation. | Tomasz Kramkowski | 2020-09-11 | 2 | -1/+23 |
| | |||||
* | 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 | 2 | -2/+54 |
| | |||||
* | Implement unpacking arrays | Tomasz Kramkowski | 2020-09-10 | 2 | -5/+26 |
| | |||||
* | unpack_test: Additional reporting. | Tomasz Kramkowski | 2020-09-10 | 1 | -2/+12 |
| | |||||
* | Configurable array size | Tomasz Kramkowski | 2020-09-10 | 1 | -7/+14 |
| | |||||
* | Update licignore | Tomasz Kramkowski | 2020-09-10 | 1 | -0/+5 |
| | |||||
* | Use sections to generate list of tests | Tomasz Kramkowski | 2020-09-10 | 2 | -20/+11 |
| | |||||
* | Remove unused data array | Tomasz Kramkowski | 2020-09-10 | 1 | -3/+0 |
| | |||||
* | Abstract away check generation | Tomasz Kramkowski | 2020-09-10 | 1 | -13/+43 |
| | |||||
* | Use arrays to simplify future refactoring | Tomasz Kramkowski | 2020-09-10 | 1 | -7/+7 |
| | |||||
* | Stop naming variables after the format | Tomasz Kramkowski | 2020-09-10 | 1 | -10/+10 |
| | | | | This was stupid and unnecessary | ||||
* | Make prefix explicit in format information | Tomasz Kramkowski | 2020-09-10 | 1 | -14/+12 |
| | |||||
* | Centralise format information for test generation | Tomasz Kramkowski | 2020-09-10 | 1 | -21/+52 |
| | |||||
* | Allow for a conversion count | Tomasz Kramkowski | 2020-09-10 | 1 | -26/+29 |
| | |||||
* | Add default case for trace type | Tomasz Kramkowski | 2020-09-09 | 1 | -0/+1 |
| | |||||
* | attribute format on some appropriate functions | Tomasz Kramkowski | 2020-09-09 | 2 | -0/+9 |
| | |||||
* | Fix type complaints | Tomasz Kramkowski | 2020-09-09 | 1 | -2/+2 |
| | |||||
* | Make functions static | Tomasz Kramkowski | 2020-09-09 | 4 | -9/+9 |
| | |||||
* | Make sure constants don't become unsigned | Tomasz Kramkowski | 2020-09-09 | 1 | -1/+1 |
| | |||||
* | Switch to using redo | Tomasz Kramkowski | 2020-09-09 | 12 | -9/+41 |
| | |||||
* | Fix up bugs and add tracing to unpack | Tomasz Kramkowski | 2020-09-09 | 1 | -45/+34 |
| | |||||
* | Improved testing | Tomasz Kramkowski | 2020-09-09 | 4 | -77/+141 |
| | |||||
* | License header checking script | Tomasz Kramkowski | 2020-09-09 | 2 | -0/+16 |
| | |||||
* | Add license headers | Tomasz Kramkowski | 2020-09-09 | 8 | -0/+30 |
| | |||||
* | Add tracing functions for debugging | Tomasz Kramkowski | 2020-09-09 | 4 | -1/+56 |
| | |||||
* | init | Tomasz Kramkowski | 2020-08-20 | 7 | -0/+293 |