Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename diem to fatal to further confuse matters. | Tharre | 2014-11-24 | 5 | -36/+36 |
| | | | | | | It's actually pretty easy now, fatal() is used as a short cut for appending the strerror'd errno, while die() is just the generic version of printing errors that behaves just like fprintf(stderr, msg) + exit(). | ||||
* | Refactor out handle_c and fix > 8096 reading bug | Tharre | 2014-11-24 | 2 | -73/+87 |
| | |||||
* | Some cleanup | Tharre | 2014-11-24 | 1 | -48/+41 |
| | |||||
* | Fix bug in CC.do. | Tharre | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Set _XOPEN_SOURCE to 600 to make fix FreeBSD build | Tharre | 2014-11-23 | 1 | -1/+1 |
| | |||||
* | Make CC fail correctly (it does now, I promise) | Tharre | 2014-11-18 | 1 | -2/+2 |
| | |||||
* | Remove Redofile as an alias for default.do | Tharre | 2014-11-18 | 2 | -6/+0 |
| | |||||
* | Don't overwrite $CFLAGS and $LDFLAGS | Tharre | 2014-11-18 | 1 | -2/+2 |
| | |||||
* | Fix autoconf (and make travis-ci happy) | Tharre | 2014-11-17 | 1 | -1/+1 |
| | |||||
* | Merge all redo-*.c files into redo.c. | Tharre | 2014-11-17 | 11 | -104/+37 |
| | | | | | | | | The resulting redo binary behaves differently if called with each respective redo-* name, and is symlinked to the different command names. This should reduce the memory footprint of a redo build, as the OS only needs to keep one copy of the redo code in memory. | ||||
* | Refactor error handling system by using die() | Tharre | 2014-11-16 | 7 | -112/+91 |
| | | | | Defined error messages have also been replaced with string literals. | ||||
* | Change the way redo updates targets. | Tharre | 2014-11-16 | 6 | -58/+81 |
| | | | | | | | | It's done a lot more efficiently now, as we are no longer checking if a target is out-of-date before we rebuild it, but instead rebuild subtargets directly when they are checked. We also now correctly depend on .do files. | ||||
* | Fix indentation | Tharre | 2014-11-11 | 9 | -568/+568 |
| | |||||
* | Some refactoring and small fixes. | Tharre | 2014-11-11 | 7 | -28/+48 |
| | |||||
* | Rewrite CC.do to make it fail if $CC fails | Tharre | 2014-09-12 | 1 | -4/+2 |
| | |||||
* | Fix regression caused by 5e5e7e6 | Tharre | 2014-09-03 | 1 | -1/+1 |
| | | | | | We need to use the source operator on the CC script as if we don't bad return codes won't get forwarded and the script won't get aborted. | ||||
* | Remove random math.h dependency | Tharre | 2014-09-02 | 2 | -4/+3 |
| | |||||
* | Fix refactoring uglyness. | Tharre | 2014-09-02 | 1 | -1/+1 |
| | | | | I mean, a constant string substition? Really? | ||||
* | Replace openssl SHA1 functions with custom version | Tharre | 2014-08-24 | 11 | -18/+356 |
| | |||||
* | Update configure.ac (still unused though) | Tharre | 2014-08-23 | 1 | -3/+5 |
| | |||||
* | Remove unnecessary global const variables | Tharre | 2014-08-23 | 1 | -22/+16 |
| | |||||
* | Make targets depend on do-files. | Tharre | 2014-08-20 | 5 | -41/+68 |
| | | | | | | | | | | | This includes two different scenarios, first if the do-files which was used to build the target has changed the target must be rebuilt. Second, if a target was build by a lower priority do-file, like default.fuu.do, then it must be rebuilt if <target>.fuu.do appears. Note that at this point, Redofile as do-file is semi-supported, as it's future is uncertain. | ||||
* | Make the CC script not use any extra temp files | Tharre | 2014-08-17 | 2 | -4/+4 |
| | |||||
* | Add redo-ifcreate (and add redo-always properly) | Tharre | 2014-08-16 | 5 | -10/+39 |
| | |||||
* | Make redo-always pass the right ident to add_dep() | Tharre | 2014-08-16 | 1 | -1/+1 |
| | |||||
* | Add license notice to README and source files | Tharre | 2014-08-16 | 11 | -0/+84 |
| | |||||
* | Update README.md, format it to obey the 80 character rule | Tharre | 2014-08-14 | 1 | -4/+11 |
| | |||||
* | Update README.md | Tharre | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Make redo actually create the directories it needs | Tharre | 2014-08-14 | 3 | -15/+31 |
| | |||||
* | Fix some smaller issues and edge cases | Tharre | 2014-08-14 | 1 | -22/+21 |
| | |||||
* | Add documentation and fix the one that's already there | Tharre | 2014-08-13 | 2 | -9/+14 |
| | |||||
* | Header file cleanup and smaller format fixes | Tharre | 2014-08-13 | 4 | -30/+23 |
| | |||||
* | Add redo-always subcommand | Tharre | 2014-08-13 | 4 | -1/+17 |
| | |||||
* | Fix build for gcc | Tharre | 2014-08-13 | 1 | -2/+2 |
| | |||||
* | Implement (incomplete) dependency checking. | Tharre | 2014-08-13 | 5 | -11/+170 |
| | | | | | | | | | | Targets still do not depend on .do-files, and a lot of the edge cases are still not handled correctly. Furthermore some error-checking code is still missing, which could possibly crash the program (partially marked with comments), as well as some free() calls. An utitlity python script (print_dep.py) was also added to aid in debugging matters. | ||||
* | Add the magic number to the dependency record. | Tharre | 2014-08-12 | 4 | -5/+27 |
| | | | | | The magic number will be used later to determine if a target has already been rebuild. | ||||
* | Add the useful UNUSED() macro to dbg.h | Tharre | 2014-07-31 | 1 | -0/+3 |
| | |||||
* | Add _XOPEN_SOURCE to include the right headers | Tharre | 2014-07-31 | 2 | -5/+2 |
| | |||||
* | Add .redo to .gitignore | Tharre | 2014-07-30 | 1 | -0/+1 |
| | |||||
* | Add several methods for storing dependencies | Tharre | 2014-07-30 | 5 | -5/+148 |
| | |||||
* | Create .redo and set REDO_ROOT to cwd | Tharre | 2014-07-29 | 2 | -0/+23 |
| | |||||
* | Print redo <target> later to not print source files and small cleanup | Tharre | 2014-07-29 | 2 | -5/+3 |
| | |||||
* | Add out/CC to .gitignore | Tharre | 2014-07-29 | 1 | -0/+1 |
| | |||||
* | Add filepath.c, refactor out parse_shebang() and rewrite most of the error ↵ | Tharre | 2014-07-29 | 9 | -131/+217 |
| | | | | checking code to use predefined error macros | ||||
* | Cleanup Redofile and add support for custom install paths with DESTDIR | Tharre | 2014-07-22 | 1 | -8/+5 |
| | |||||
* | Add build status from travis-ci | Tharre | 2014-04-25 | 1 | -1/+1 |
| | |||||
* | Fix build.sh script | Tharre | 2014-04-25 | 1 | -1/+1 |
| | |||||
* | Refactor file_exists() to fexists() | Tharre | 2014-04-25 | 2 | -7/+7 |
| | |||||
* | Add assert equal macros to dbg.h | Tharre | 2014-04-25 | 1 | -0/+14 |
| | |||||
* | safe_strdup() and variable progname in util.c | Tharre | 2014-04-25 | 3 | -29/+27 |
| |