aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove Redofile as an alias for default.doTharre2014-11-181-6/+0
|
* Merge all redo-*.c files into redo.c.Tharre2014-11-176-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()Tharre2014-11-167-112/+91
| | | | Defined error messages have also been replaced with string literals.
* Change the way redo updates targets.Tharre2014-11-166-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 indentationTharre2014-11-118-555/+555
|
* Some refactoring and small fixes.Tharre2014-11-117-28/+48
|
* Remove random math.h dependencyTharre2014-09-021-3/+2
|
* Fix refactoring uglyness.Tharre2014-09-021-1/+1
| | | | I mean, a constant string substition? Really?
* Replace openssl SHA1 functions with custom versionTharre2014-08-243-2/+341
|
* Remove unnecessary global const variablesTharre2014-08-231-22/+16
|
* Make targets depend on do-files.Tharre2014-08-205-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)Tharre2014-08-161-0/+17
|
* Make redo-always pass the right ident to add_dep()Tharre2014-08-161-1/+1
|
* Add license notice to README and source filesTharre2014-08-1610-0/+80
|
* Make redo actually create the directories it needsTharre2014-08-143-15/+31
|
* Fix some smaller issues and edge casesTharre2014-08-141-22/+21
|
* Add documentation and fix the one that's already thereTharre2014-08-132-9/+14
|
* Header file cleanup and smaller format fixesTharre2014-08-134-30/+23
|
* Add redo-always subcommandTharre2014-08-131-0/+8
|
* Implement (incomplete) dependency checking.Tharre2014-08-134-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.Tharre2014-08-122-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.hTharre2014-07-311-0/+3
|
* Add _XOPEN_SOURCE to include the right headersTharre2014-07-312-5/+2
|
* Add several methods for storing dependenciesTharre2014-07-305-5/+148
|
* Create .redo and set REDO_ROOT to cwdTharre2014-07-292-0/+23
|
* Print redo <target> later to not print source files and small cleanupTharre2014-07-292-5/+3
|
* Add filepath.c, refactor out parse_shebang() and rewrite most of the error ↵Tharre2014-07-296-126/+208
| | | | checking code to use predefined error macros
* Refactor file_exists() to fexists()Tharre2014-04-252-7/+7
|
* Add assert equal macros to dbg.hTharre2014-04-251-0/+14
|
* safe_strdup() and variable progname in util.cTharre2014-04-253-29/+27
|
* Reorder #include'sTharre2014-04-251-3/+4
|
* Convert __FILENAME__ to _FILENAME so it follows standard conventionsTharre2014-04-253-6/+6
|
* Rewrote malloc() and other wrappersTharre2014-04-164-28/+54
|
* Added explanation to why we parse the shebang line ourselfsTharre2014-04-161-0/+5
|
* Change $3 to the correct file after chdir()Tharre2014-04-141-1/+2
|
* Convert all tabs to whitespacesTharre2014-04-144-205/+205
|
* Initial codebaseTharre2014-04-087-0/+404