Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | .parse-deps: No longer executable, called with sed -f | Tomasz Kramkowski | 2021-08-05 | 3 | -4/+3 |
| | | | | as #!/usr/bin/sed is not portable, it is easier to just use sed -f | ||||
* | add builds.sr.ht manifest for freebsd | Tomasz Kramkowski | 2021-08-05 | 2 | -1/+21 |
| | |||||
* | README: Add sourcehut build health badges | Tomasz Kramkowski | 2021-08-05 | 1 | -0/+5 |
| | |||||
* | README: mention apenwarr's minimal do | Tomasz Kramkowski | 2021-08-05 | 1 | -0/+4 |
| | |||||
* | add builds.sr.ht manifest for openbsd | Tomasz Kramkowski | 2021-08-05 | 1 | -0/+17 |
| | |||||
* | unpack.c: don't drop const in void * cast | Tomasz Kramkowski | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | Add reference to -B-lm to README.md for OpenBSD | Tomasz Kramkowski | 2021-08-05 | 1 | -0/+4 |
| | |||||
* | Change to #!/usr/bin/env bash for openbsd portability | Tomasz Kramkowski | 2021-08-05 | 10 | -10/+19 |
| | | | | any flags are now passed with set -e | ||||
* | fix .parse-deps when input spans multiple lines | Tomasz Kramkowski | 2021-08-05 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | .parse-deps breaks when inputs such as the following are passed: foo.o: \ foo.c \ foo.h There's 3 issues: 1. The first \ wouldn't be folded as the space prior to the \ would be removed by the removal of the target name. 2. Extra spaces would end up in front of every name in the final output. 3. \n in the pattern of the s command is not portable to non-gnu-sed. The new version's folding loop: 1. Removes any double forward slashes currently present in the pattern space. 2. Adds a double forward slash at the end of the line. 3. Removes the backslash, double forward slash, character following it (newline) and any spaces following that character. This solves all three problems. | ||||
* | explicitly cast printf %p params to (void *) | Tomasz Kramkowski | 2021-08-05 | 3 | -3/+3 |
| | |||||
* | add builds.sr.ht manifest for archlinux | Tomasz Kramkowski | 2021-08-05 | 1 | -0/+21 |
| | |||||
* | configure: don't exit 1 when CC is not set | Tomasz Kramkowski | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | .vars.rc.do: warnings array name corrected | Tomasz Kramkowski | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | Update readme | Tomasz Kramkowski | 2021-07-23 | 1 | -3/+13 |
| | |||||
* | compile_flags.txt.do: fix shebang | Tomasz Kramkowski | 2021-07-23 | 1 | -1/+1 |
| | |||||
* | Move ieee754b functions to their own file | Tomasz Kramkowski | 2021-07-23 | 5 | -39/+63 |
| | |||||
* | common.h: Fix include guards | Tomasz Kramkowski | 2021-07-23 | 1 | -4/+4 |
| | |||||
* | Remove scripts/license_headers checker | Tomasz Kramkowski | 2021-07-22 | 1 | -14/+0 |
| | | | | | The license header check script shouldn't be bundled in with the project. | ||||
* | .parse-depfile -> .parse-deps - as it's no longer used with files | Tomasz Kramkowski | 2021-07-22 | 3 | -3/+3 |
| | |||||
* | default.o.do: Remove the need for a temporary depfile | Tomasz Kramkowski | 2021-07-21 | 2 | -6/+4 |
| | | | | | | By making .compile print dependencies on stdout, the need for a temporary depfile is now gone as the dependencies can be piped straight into parse-depfile. | ||||
* | Make clean use redo-targets if it exists | Tomasz Kramkowski | 2021-07-18 | 1 | -2/+6 |
| | |||||
* | Do not store .d files permanently. Use tempfiles | Tomasz Kramkowski | 2021-07-18 | 3 | -3/+5 |
| | |||||
* | README fix list indentation | Tomasz Kramkowski | 2021-07-15 | 1 | -12/+12 |
| | |||||
* | Remove trailing whitespace | Tomasz Kramkowski | 2021-07-15 | 1 | -1/+1 |
| | |||||
* | README updates | Tomasz Kramkowski | 2021-07-15 | 1 | -3/+4 |
| | |||||
* | -fdiagnostics-colour -> color | Tomasz Kramkowski | 2021-07-15 | 1 | -2/+2 |
| | |||||
* | Generate .config.rc (now .vars.rc) with redo | Tomasz Kramkowski | 2021-07-15 | 9 | -59/+103 |
| | | | | | | This avoids relying on configure generating anything, this should also make it easier to ensure that git-bisect builds don't need any reconfiguring or cleans. | ||||
* | README updates | Tomasz Kramkowski | 2021-07-14 | 2 | -4/+12 |
| | |||||
* | Always call redo-ifchange with arguments | Tomasz Kramkowski | 2021-07-14 | 1 | -2/+2 |
| | |||||
* | Remove need for test.o.do by adding @BUILD_DEP directive | Tomasz Kramkowski | 2021-07-14 | 3 | -5/+4 |
| | |||||
* | Update redo scripts to work with jdebp redo | Tomasz Kramkowski | 2021-07-14 | 14 | -37/+27 |
| | |||||
* | gitignore: compile_flags.txt | Tomasz Kramkowski | 2021-06-04 | 1 | -0/+1 |
| | |||||
* | test_gen: unpack_gen now takes const struct fmtinfo *fi | Tomasz Kramkowski | 2021-06-03 | 1 | -10/+5 |
| | | | | | Also not sure why this wasn't the case from the beginning. The code is shorter now. | ||||
* | test_gen: remove enum fmt | Tomasz Kramkowski | 2021-06-03 | 1 | -28/+13 |
| | | | | Not sure why the code was written that way, seems fragile in retrospect. | ||||
* | 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 |
| |