Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build-aux/Makefile.am: .{PRECIOUS=>SECONDARY}Mike Gerwitz2018-10-111-1/+1
| | | | | | | This will keep the intermediate files around but will still delete them on build failure. * build-aux/Makefile.am (.SECONDARY): Renamed from `.PRECIOUS'.
* Integrate new compilation scripts, remove cqueue and Makefile.2Mike Gerwitz2018-10-115-329/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a major step toward normalcy---removing the kluge of a build process that was causing so many issues. Rather than echoing all operations to a queue file before passing it off to dslc, the new build scripts in `bin/' are used to invoke tame normally, as needed. This solves all of the current issues with things not rebuilding when they should. And, as a bonus, tab completion on targets works. Sorry this took so long. There wasn't much motivation until we hired so many people that are suffering from this. This does a few major things, along with some miscellaneous others: - Invoke bin/tame directly; - Merge Makefile.2.in into Makefile.am; and - Fix up some targets. * build-aux/Makefile.2.in: Delete file. Mostly merged with Makefile.am. * build-aux/Makefile.am: Add a bunch of new targets and definitions from Makefile.2.in. Modify all that previously used .cqueue to now invoke `$(TAME)' directly. Remove miscellaneous targets for trying to proxy targets to Makefile.2. (saneout, _go): Remove definitions. (.NOTPARALLEL): Add to prevent parallel builds. (ui/program.expanded.xml)[.version.xml]: Remove dependency for now. (clean): Also clean generated PHP files. Follow symlinks to clean core. This is still incomplete (does not clean all rate table stuff). (suppliers.mk)[xmlo_cmd]: Remove. See `gen-make' and `gen-c1make'. (lvroot)[summary-html]: New dependency. (kill-tamed, tamed-die): New targets (former alias of latter) to kill tamed. * build-aux/gen-c1make: Generate `$(TAME)' invocation. * build-aux/gen-make: Likewise. Remove `xmlo_cmd' output. Ignore recursive `tame' symlink (this can be removed once we clean `rater/' up. * build-aux/m4/calcdsl.m4 (TAME): Update description to reflect that it should now be the path to `bin/tame'. Adjust `AC_CHECK_FILE' lines accordingly. (tame_needed_ver): Remove. We have been in the same repo as TAME itself for quite some time. Remove associated code. (AC_CONFIG_FILES): Remove `Makefile.2'. * src/current/src/com/lovullo/dslc/DslCompiler.java (_DslCompiler)[compile]: Perform validation prefore `compile' command rather than a separate `validate' step. Remove `rm'. [compileSrc]: Stop echoing command. This was only necessary because of the previous Makefile klugery; now Make echoes on its own correctly.
* build-aux/gen-make: Do not parse typelist as depfilev3.2.1Mike Gerwitz2018-10-041-0/+6
|
* csvm: Auto-sort expanded outputMike Gerwitz2018-10-033-133/+324
| | | | | | | | | This will allow the variable abstractions to fully encapsulate values while still permitting binary searches on sorted rows. * csvm-expand: Renamed from `csvm2csv'. Add directive support. * csvm2csv: New script to perform sorting. Invokes aforementioned. * test/test-csvm2csv: Update for sorting.
* csvm2csv: Add some error checksMike Gerwitz2018-10-022-4/+85
| | | | | | | | | * build-aux/csvm2csv: Fail on invalid var definition. (expand_vars): Fail in invalid reference. (parseline): Fail on non-numeric range. * build-aux/test/test-csvm2csv (test-fail-unknown-var-ref, test-fail-non-numeric-range) (test-fail-invalid-var-dfn): New tests.
* csvm: Add test cases and support for all variable expressionsMike Gerwitz2018-10-012-10/+230
| | | | | | | | | | | | This allows variables to contain any type of expansion, treating them as (recursively) string replacements. * csvm2csv: Add Copyright year. (expand_vars): New function. (parseline): Use it. Expand before all other replacements so that variable expansions may support all types of expressions. Expand variables in range expressions. * test/test-csvm2csv: New file.
* build-aux/gen-c1make: New build scriptv2.17.3Mike Gerwitz2018-07-052-5/+99
| | | | | | | This solves the dependency-related problems with rebuilding c1map files. * build-aux/gen-c1make: New file. * build-aux/Makefile.2.in (suppliers.mk): Use it.
* build-aux: Liberate remaining build scriptsMike Gerwitz2018-07-055-0/+598
| | | | | | | | | | These were forgotten during the initial liberation. * build-aux/Makefile.2.in: New file. * build-aux/Makefile.am: New file. * build-aux/m4/calcdsl.m4: New file. * build-aux/progtest-runner: New file. * build-aux/suppmk-gen: New file.
* list2typedef: Remove trailing newline from preimageMike Gerwitz2018-05-152-7/+7
| | | | | | | | | Oops---we do not want a newline as part of the preimage, which is what `<<<' does. * build-aux/list2typedef (output-item)[value]: Remove newline from preimage. * build-aux/test/test-list2typedef (test-typedef-gen): Update hashes. (test-collision-value-check): Add new collisions.
* Cut down on namespace exports for object filesMike Gerwitz2018-05-152-4/+0
| | | | This should cut down on the file sizes a bit.
* [DEV-3115] gen-make: Account for typelistMike Gerwitz2018-05-071-2/+12
| | | | | | | This needs to be generalized, but will do for now. * build-aux/gen-make: Recognize typelists as dependencies. Always include source XML file as a dependency.
* [DEV-3115] build-aux/list2typedef: New scriptMike Gerwitz2018-05-072-0/+278
| | | | | * build-aux/list2typedef: New script. * build-aux/list2typedef/test/test-list2typedef: Respective test.
* build-aux/gen-make: Recurse without dir changeMike Gerwitz2018-05-041-2/+2
| | | | | | | Before this change, it was impossible for the initial paths provided to the script to be more than one level deep (relative to the cwd). * build-aux/gen-make: Handle multi-level children.
* Move {src/current/tools=>build-aux}/*Mike Gerwitz2018-05-047-0/+982
|
* make-full-graph: Add scriptMike Gerwitz2018-01-161-0/+36
* build-aux/make-full-graph: Add script.