Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some cleanup | Tharre | 2014-11-24 | 1 | -48/+41 |
| | |||||
* | Set _XOPEN_SOURCE to 600 to make fix FreeBSD build | Tharre | 2014-11-23 | 1 | -1/+1 |
| | |||||
* | Remove Redofile as an alias for default.do | Tharre | 2014-11-18 | 1 | -6/+0 |
| | |||||
* | Merge all redo-*.c files into redo.c. | Tharre | 2014-11-17 | 6 | -75/+28 |
| | | | | | | | | 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 | 8 | -555/+555 |
| | |||||
* | Some refactoring and small fixes. | Tharre | 2014-11-11 | 7 | -28/+48 |
| | |||||
* | Remove random math.h dependency | Tharre | 2014-09-02 | 1 | -3/+2 |
| | |||||
* | 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 | 3 | -2/+341 |
| | |||||
* | 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. | ||||
* | Add redo-ifcreate (and add redo-always properly) | Tharre | 2014-08-16 | 1 | -0/+17 |
| | |||||
* | 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 | 10 | -0/+80 |
| | |||||
* | 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 | 1 | -0/+8 |
| | |||||
* | Implement (incomplete) dependency checking. | Tharre | 2014-08-13 | 4 | -11/+115 |
| | | | | | | | | | | 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 | 2 | -2/+24 |
| | | | | | 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 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 filepath.c, refactor out parse_shebang() and rewrite most of the error ↵ | Tharre | 2014-07-29 | 6 | -126/+208 |
| | | | | checking code to use predefined error macros | ||||
* | 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 |
| | |||||
* | Reorder #include's | Tharre | 2014-04-25 | 1 | -3/+4 |
| | |||||
* | Convert __FILENAME__ to _FILENAME so it follows standard conventions | Tharre | 2014-04-25 | 3 | -6/+6 |
| | |||||
* | Rewrote malloc() and other wrappers | Tharre | 2014-04-16 | 4 | -28/+54 |
| | |||||
* | Added explanation to why we parse the shebang line ourselfs | Tharre | 2014-04-16 | 1 | -0/+5 |
| | |||||
* | Change $3 to the correct file after chdir() | Tharre | 2014-04-14 | 1 | -1/+2 |
| | |||||
* | Convert all tabs to whitespaces | Tharre | 2014-04-14 | 4 | -205/+205 |
| | |||||
* | Initial codebase | Tharre | 2014-04-08 | 7 | -0/+404 |