diff options
author | Mike Gerwitz <gerwitm@lovullo.com> | 2016-08-24 10:19:11 -0400 |
---|---|---|
committer | Mike Gerwitz <gerwitm@lovullo.com> | 2016-08-24 12:38:03 -0400 |
commit | c0d95b4a054f8dadc6cbc98e6fa1efe02d5f6507 (patch) | |
tree | e2bb32f053a57e19a125915c00566ed31a80e7b6 /src | |
parent | ff01f39c1e8c9b9549d884a0db1f9a74799cf37e (diff) | |
download | tame-c0d95b4a054f8dadc6cbc98e6fa1efe02d5f6507.tar.gz tame-c0d95b4a054f8dadc6cbc98e6fa1efe02d5f6507.tar.bz2 tame-c0d95b4a054f8dadc6cbc98e6fa1efe02d5f6507.zip |
Add copyright headers to src/current/
Diffstat (limited to 'src')
58 files changed, 1072 insertions, 58 deletions
diff --git a/src/current/c1map.xsl b/src/current/c1map.xsl index 660fdf7..fbd5976 100644 --- a/src/current/c1map.xsl +++ b/src/current/c1map.xsl @@ -2,6 +2,24 @@ <!-- Generates PHP code that works with the LoVullo ConceptOne import system + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + This map expects that the data are available in the bucket provided by the quote and therefore validates against a provided Program UI source file. Data external to the bucket may be provided if it is indicated as such. diff --git a/src/current/c1map/c1nodes.xsl b/src/current/c1map/c1nodes.xsl index da4470f..a1a9b6f 100644 --- a/src/current/c1map/c1nodes.xsl +++ b/src/current/c1map/c1nodes.xsl @@ -2,6 +2,24 @@ <!-- Describes how ConceptOne nodes are handled in the output. + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + Only nodes in the C1 XML namespace will be included in the output; all other nodes will be in error, except for nodes as part of the c1 map namespace, which are processed and will not be included in the output. diff --git a/src/current/c1map/render.xsl b/src/current/c1map/render.xsl index c782a35..40df4ea 100644 --- a/src/current/c1map/render.xsl +++ b/src/current/c1map/render.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Renders the final PHP code + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. --> <xsl:stylesheet version="2.0" xmlns:c1="http://www.epic-premier.com/XMLSchema" diff --git a/src/current/c1map/transform.xsl b/src/current/c1map/transform.xsl index 8793648..2347161 100644 --- a/src/current/c1map/transform.xsl +++ b/src/current/c1map/transform.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Transforms values + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. --> <xsl:stylesheet version="2.0" xmlns:c1="http://www.epic-premier.com/XMLSchema" diff --git a/src/current/c1map/valparse.xsl b/src/current/c1map/valparse.xsl index 8c4ab1f..8c54a4e 100644 --- a/src/current/c1map/valparse.xsl +++ b/src/current/c1map/valparse.xsl @@ -2,6 +2,24 @@ <!-- Inline value parser + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + Will parse all attributes and text of the form "a{b}c", where `b' is some variable. --> diff --git a/src/current/calc.xsd b/src/current/calc.xsd index 0030aa7..9ff9f67 100644 --- a/src/current/calc.xsd +++ b/src/current/calc.xsd @@ -1,4 +1,28 @@ <?xml version="1.0"?> +<!-- + Primitive calculation validation + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + + Unfortunately, this is now of limited uses in its current form beacuse of + the heavy use of templates in code written in TAME. +--> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.lovullo.com/calc" xmlns="http://www.lovullo.com/calc" diff --git a/src/current/compile.xsl b/src/current/compile.xsl index 2e8d561..557eb62 100644 --- a/src/current/compile.xsl +++ b/src/current/compile.xsl @@ -1,13 +1,28 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Writes preprocessor output to disk to eliminate the overhead of reprocessing + Entry point for compilation + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. for each task that requires such output. Also performs validation. - - N.B.: Requires XSLT >=2.0 --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/fragments.xsl b/src/current/compiler/fragments.xsl index 8ea6024..dd3cccb 100644 --- a/src/current/compiler/fragments.xsl +++ b/src/current/compiler/fragments.xsl @@ -2,11 +2,28 @@ <!-- Compiles rater XML into JavaScript + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + This stylesheet should be included by whatever is doing the processing and is responsible for outputting the generated code in whatever manner is appropriate (inline JS, a file, etc). --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/js-calc.xsl b/src/current/compiler/js-calc.xsl index 8594d4f..515a375 100644 --- a/src/current/compiler/js-calc.xsl +++ b/src/current/compiler/js-calc.xsl @@ -2,6 +2,24 @@ <!-- Compiles calculation XML into JavaScript + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + This stylesheet should be included by whatever is doing the processing and is responsible for outputting the generated code in whatever manner is appropriate (inline JS, a file, etc). @@ -16,7 +34,6 @@ The generated code may not be optimal, but it may be processed by another system (e.g. Closure Compiler) to perform additional optimizations. --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/js.xsl b/src/current/compiler/js.xsl index 55ea029..f3bec1f 100644 --- a/src/current/compiler/js.xsl +++ b/src/current/compiler/js.xsl @@ -2,11 +2,28 @@ <!-- Compiles rater XML into JavaScript + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + This stylesheet should be included by whatever is doing the processing and is responsible for outputting the generated code in whatever manner is appropriate (inline JS, a file, etc). --> - <stylesheet version="2.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" diff --git a/src/current/compiler/linker.xsl b/src/current/compiler/linker.xsl index f6a0478..c6b64d8 100644 --- a/src/current/compiler/linker.xsl +++ b/src/current/compiler/linker.xsl @@ -1,12 +1,29 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Compiles rater XML into JavaScript + Assembles code fragments into a final executable + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. This stylesheet should be included by whatever is doing the processing and is responsible for outputting the generated code in whatever manner is appropriate (inline JS, a file, etc). --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/linker/log.xsl b/src/current/compiler/linker/log.xsl index 9c8db60..fdae56c 100644 --- a/src/current/compiler/linker/log.xsl +++ b/src/current/compiler/linker/log.xsl @@ -1,12 +1,29 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Compiles rater XML into JavaScript + Logging functions + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. This stylesheet should be included by whatever is doing the processing and is responsible for outputting the generated code in whatever manner is appropriate (inline JS, a file, etc). --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/map.xsl b/src/current/compiler/map.xsl index 10d8c42..df977f5 100644 --- a/src/current/compiler/map.xsl +++ b/src/current/compiler/map.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Compiles map fragments to produce a map from source data to a destination. + Compiles map fragments to produce a map from source data to a destination + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. The source fields will be validated at compile-time to ensure that they exist; destination fields should be checked by the compiler and/or linker. The linker @@ -12,7 +30,6 @@ XXX: This is tightly coupled with the Program UI; refactor to support any type of source. --> - <stylesheet version="2.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" diff --git a/src/current/compiler/validate.xsl b/src/current/compiler/validate.xsl index 91cfd03..4d69c3e 100644 --- a/src/current/compiler/validate.xsl +++ b/src/current/compiler/validate.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Validates a document for correctness in a manner that is beyond XSD. + Validates a document for correctness in a manner that is beyond XSD + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. Schematron is not used for this due to certain complexieis. Furthermore, we already have the data in a package structure that is easy to use and query @@ -13,7 +31,6 @@ FIXME: Needs aggresive refactoring after introduction of symbol table, for both performance and maintinance. --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/validate/domain.xsl b/src/current/compiler/validate/domain.xsl index 0d84a8c..6a1b24c 100644 --- a/src/current/compiler/validate/domain.xsl +++ b/src/current/compiler/validate/domain.xsl @@ -2,10 +2,27 @@ <!-- Domain validations + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + TODO: For core domains, validate src package path as well. (Right now, param types are polluting, and so this is not a problem.) --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/validate/param.xsl b/src/current/compiler/validate/param.xsl index 1d18d7a..a1ffa3e 100644 --- a/src/current/compiler/validate/param.xsl +++ b/src/current/compiler/validate/param.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Parameter validations ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/compiler/worksheet.xsl b/src/current/compiler/worksheet.xsl index 9149ddd..a348c52 100644 --- a/src/current/compiler/worksheet.xsl +++ b/src/current/compiler/worksheet.xsl @@ -1,12 +1,29 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Compiles rater XML into JavaScript + Compiles JSON worksheet representation + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. This stylesheet should be included by whatever is doing the processing and is responsible for outputting the generated code in whatever manner is appropriate (inline JS, a file, etc). --> - <stylesheet version="2.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" diff --git a/src/current/dot.xsl b/src/current/dot.xsl index ed0bb39..cc314ec 100644 --- a/src/current/dot.xsl +++ b/src/current/dot.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Outputs graph visualization of dependencies in DOT format ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/attr-color.xsl b/src/current/dot/attr-color.xsl index 4ef7c01..27a411f 100644 --- a/src/current/dot/attr-color.xsl +++ b/src/current/dot/attr-color.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Styles node color based on symbol type + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. --> <xsl:stylesheet version="2.0" diff --git a/src/current/dot/attr-extern.xsl b/src/current/dot/attr-extern.xsl index 318da4a..1a7aea0 100644 --- a/src/current/dot/attr-extern.xsl +++ b/src/current/dot/attr-extern.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Styles node based on locality ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/attr-keep.xsl b/src/current/dot/attr-keep.xsl index 3a72af4..d277674 100644 --- a/src/current/dot/attr-keep.xsl +++ b/src/current/dot/attr-keep.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Styles node based on keep flag ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/attr-shape.xsl b/src/current/dot/attr-shape.xsl index f4bc289..511ab81 100644 --- a/src/current/dot/attr-shape.xsl +++ b/src/current/dot/attr-shape.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Styles node shape based on symbol type ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/defnode-attr.xsl b/src/current/dot/defnode-attr.xsl index 778835a..28d5b13 100644 --- a/src/current/dot/defnode-attr.xsl +++ b/src/current/dot/defnode-attr.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Outputs graph visualization of dependencies in DOT format ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/defnode.xsl b/src/current/dot/defnode.xsl index c34c591..1cf6501 100644 --- a/src/current/dot/defnode.xsl +++ b/src/current/dot/defnode.xsl @@ -2,10 +2,27 @@ <!-- Graph node definitions + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + Nodes do not need to be defined (DOT will generate them upon first reference); this defines nodes that require additional data associated with them. --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/depout.xsl b/src/current/dot/depout.xsl index 5b3dbda..c30fcd4 100644 --- a/src/current/dot/depout.xsl +++ b/src/current/dot/depout.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Outputs dependency relationship to a directed graph + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. --> <xsl:stylesheet version="2.0" diff --git a/src/current/dot/pkg-exec.xsl b/src/current/dot/pkg-exec.xsl index 1c934bf..72ad66e 100644 --- a/src/current/dot/pkg-exec.xsl +++ b/src/current/dot/pkg-exec.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Processes executable file dependency graph ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/dot/pkg-obj.xsl b/src/current/dot/pkg-obj.xsl index d281cff..d1c4f0d 100644 --- a/src/current/dot/pkg-obj.xsl +++ b/src/current/dot/pkg-obj.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Processes object file dependency graph ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/calc-display.xsl b/src/current/include/calc-display.xsl index 4f9f0fa..de08c74 100644 --- a/src/current/include/calc-display.xsl +++ b/src/current/include/calc-display.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Handles calculation output in LaTeX format for styling by Mathjax ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/depgen.xsl b/src/current/include/depgen.xsl index d897c27..9b2424f 100644 --- a/src/current/include/depgen.xsl +++ b/src/current/include/depgen.xsl @@ -1,11 +1,30 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- + Dependency generation + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + TODO: we can combine this dependency discovery with the symbol table generation, eliminating extra passes TODO: dependency symbols should not duplicate metadata --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/display.xsl b/src/current/include/display.xsl index 7296b56..e1e0ee2 100644 --- a/src/current/include/display.xsl +++ b/src/current/include/display.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Display-related tasks ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/dslc-base.xsl b/src/current/include/dslc-base.xsl index 53a3195..3fd7c92 100644 --- a/src/current/include/dslc-base.xsl +++ b/src/current/include/dslc-base.xsl @@ -2,6 +2,24 @@ <!-- Additional functionality provided by dslc + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + XSL does not provide every feature suitable for compilation (which is no suprise, since this was not its intended use case). As such, dslc provides additional features that are defined/abstracted within this file; every diff --git a/src/current/include/entry-form.xsl b/src/current/include/entry-form.xsl index 3d6b3c8..fb673e9 100644 --- a/src/current/include/entry-form.xsl +++ b/src/current/include/entry-form.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Outputs HTML form that can be used to feed values to the rater for testing ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/orderizer.xsl b/src/current/include/orderizer.xsl index 170bd2b..cf71c67 100644 --- a/src/current/include/orderizer.xsl +++ b/src/current/include/orderizer.xsl @@ -2,6 +2,24 @@ <!-- No, not "odorizer". + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + This is a powerful system that takes an immensely complex (and insurmountable) task out of the programmer's hands. In particular, the system: @@ -24,7 +42,6 @@ or questions in the UI are reordered; the system will simply re-calculate new classifications that yield desirable results. --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preproc/domain.xsl b/src/current/include/preproc/domain.xsl index 6dc436d..bdb6282 100644 --- a/src/current/include/preproc/domain.xsl +++ b/src/current/include/preproc/domain.xsl @@ -2,10 +2,27 @@ <!-- Compiles domains from typedefs + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + The ultime goal is to implement typedefs as macros and move to a generic domain system that is much more powerful. --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preproc/eligclass.xsl b/src/current/include/preproc/eligclass.xsl index 8e78c09..5fc9353 100644 --- a/src/current/include/preproc/eligclass.xsl +++ b/src/current/include/preproc/eligclass.xsl @@ -2,6 +2,24 @@ <!-- Package eligibility class generation + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + Here, the term "eligibility" means whether the package is eligible to be used in a result set basead on the values of its params within their respective domains and other factors such as the results of terminating classifications @@ -10,7 +28,6 @@ The goal of the eligibility classification is to create a cascading failure in the event of bad data. --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preproc/expand.xsl b/src/current/include/preproc/expand.xsl index 57c6856..31f331b 100644 --- a/src/current/include/preproc/expand.xsl +++ b/src/current/include/preproc/expand.xsl @@ -2,10 +2,27 @@ <!-- Handles node expansion + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + This process is responsible for expanding shorthand and various other data into a consistent format for the compiler and other processes. --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" diff --git a/src/current/include/preproc/macros.xsl b/src/current/include/preproc/macros.xsl index 4c4f8e6..dd836c9 100644 --- a/src/current/include/preproc/macros.xsl +++ b/src/current/include/preproc/macros.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Handles macro preprocessing ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preproc/package.xsl b/src/current/include/preproc/package.xsl index 48536af..8cc38c1 100644 --- a/src/current/include/preproc/package.xsl +++ b/src/current/include/preproc/package.xsl @@ -1,11 +1,28 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Preprocesses package XML + Compile package + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. This will preprocess a package XML suitable for compilation into an object file. --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preproc/path.xsl b/src/current/include/preproc/path.xsl index 469603d..d7c3914 100644 --- a/src/current/include/preproc/path.xsl +++ b/src/current/include/preproc/path.xsl @@ -1,6 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Operations on paths + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. --> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" diff --git a/src/current/include/preproc/symtable.xsl b/src/current/include/preproc/symtable.xsl index 9210c76..e7ead95 100644 --- a/src/current/include/preproc/symtable.xsl +++ b/src/current/include/preproc/symtable.xsl @@ -2,6 +2,24 @@ <!-- Generates a symbol table from fully a expanded (preprocessed) package + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + It is important that this table be generated after fully expanding all templates, macros, etc; otherwise, the table may be incomplete. @@ -41,7 +59,6 @@ to be useful, which will ensure that a package has to import the symbol explicitly in order to actually make use of it. --> - <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preproc/template.xsl b/src/current/include/preproc/template.xsl index e1e8edb..14868e9 100644 --- a/src/current/include/preproc/template.xsl +++ b/src/current/include/preproc/template.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Performs template processing and expansion ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/preprocess.xsl b/src/current/include/preprocess.xsl index b0d8cd5..6239158 100644 --- a/src/current/include/preprocess.xsl +++ b/src/current/include/preprocess.xsl @@ -1,11 +1,28 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Preprocesses the XML + Entry point for preprocessor + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. This progress is aggressive; the resulting tree will follow the structure of the original XML, but will be heavily augmented and some parts rewritten. --> - <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/include/util.xsl b/src/current/include/util.xsl index 0e0030f..fe16025 100644 --- a/src/current/include/util.xsl +++ b/src/current/include/util.xsl @@ -1,8 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Utility templates ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/link.xsl b/src/current/link.xsl index 1c98461..1330b31 100644 --- a/src/current/link.xsl +++ b/src/current/link.xsl @@ -1,4 +1,25 @@ <?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + Entry point for linker + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> diff --git a/src/current/map.xsd b/src/current/map.xsd index d10d3ce..10598c7 100644 --- a/src/current/map.xsd +++ b/src/current/map.xsd @@ -1,4 +1,25 @@ <?xml version="1.0"?> +<!-- + Input/output map validation + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +--> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.lovullo.com/rater/map" xmlns="http://www.lovullo.com/rater/map" diff --git a/src/current/pkg-dep.xsl b/src/current/pkg-dep.xsl index 64c6e9f..47574f7 100644 --- a/src/current/pkg-dep.xsl +++ b/src/current/pkg-dep.xsl @@ -1,13 +1,27 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Writes preprocessor output to disk to eliminate the overhead of reprocessing - for each task that requires such output. + Output package dependencies in plain text - Also performs validation. + Copyright (C) 2016 LoVullo Associates, Inc. - N.B.: Requires XSLT >=2.0 ---> + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + + Intended for parsing by external (e.g. shell) scripts. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/scripts/entry-form.js b/src/current/scripts/entry-form.js index b67d9a2..ed8ef1e 100644 --- a/src/current/scripts/entry-form.js +++ b/src/current/scripts/entry-form.js @@ -1,4 +1,23 @@ /** + * Summary page program + * + * Copyright (C) 2016 LoVullo Associates, Inc. + * + * This file is part of the Liza Data Collection Framework + * + * liza is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * * This file is used for direct interaction with the rater for testing purposes. * As such, much of it is a rushed implementation; it's a bit of a kluge and * could use some refactoring. diff --git a/src/current/src/com/lovullo/dslc/DslCompiler.java b/src/current/src/com/lovullo/dslc/DslCompiler.java index 8747b56..0dba835 100644 --- a/src/current/src/com/lovullo/dslc/DslCompiler.java +++ b/src/current/src/com/lovullo/dslc/DslCompiler.java @@ -1,3 +1,30 @@ +/** + * TAME compiler fontend + * + * Copyright (C) 2016 LoVullo Associates, Inc. + * + * This file is part of the Liza Data Collection Framework + * + * liza is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Starting the JVM and compiling the XSLT stylesheets incurs a prohibitive + * startup cost when compiling individual files (as is done with make). + * This works around that issue. + * + * Note that this current implemention does not allow for parallel builds. + * That will change. + */ package com.lovullo.dslc; diff --git a/src/current/standalone.xsl b/src/current/standalone.xsl index 8ce7f36..9cacd36 100644 --- a/src/current/standalone.xsl +++ b/src/current/standalone.xsl @@ -1,7 +1,24 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Outputs the global classifier that can be used to determine classifications - across all eligible suppliers. + Compile standalone JavaScript program suitable for execution + + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. --> <xsl:stylesheet version="2.0" diff --git a/src/current/summary.css b/src/current/summary.css index cc878f2..0fa6895 100644 --- a/src/current/summary.css +++ b/src/current/summary.css @@ -1,5 +1,20 @@ /** * Rater XML summary stylesheet + * + * Copyright (C) 2016 LoVullo Associates, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. */ body { diff --git a/src/current/summary.xsl b/src/current/summary.xsl index a59510c..c711733 100644 --- a/src/current/summary.xsl +++ b/src/current/summary.xsl @@ -1,8 +1,28 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- Outputs rater summary, containing details for both the rater and its packages ---> + Copyright (C) 2016 LoVullo Associates, Inc. + + This file is part of TAME. + + TAME is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. + + This is the core reason why the DSL was originally written: to provide + extremely detailed renderings of all calculations. +--> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" diff --git a/src/current/tools/csv2xml b/src/current/tools/csv2xml index 3a5d1b8..60bd745 100755 --- a/src/current/tools/csv2xml +++ b/src/current/tools/csv2xml @@ -1,6 +1,22 @@ #!/usr/bin/awk -f # # Compiles the given CSV into a table definition +# +# Copyright (C) 2016 LoVullo Associates, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +## function columngen( header ) diff --git a/src/current/tools/csvi b/src/current/tools/csvi index 08d80e2..6b9af78 100755 --- a/src/current/tools/csvi +++ b/src/current/tools/csvi @@ -2,10 +2,24 @@ # # Performs interpolation for columns in a CSV and outputs the result # +# Copyright (C) 2016 LoVullo Associates, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # Configurable values (use -vname=value from command line): # step - use predeterminated step instead of calculating from first two rows -# -# # +## function storeline() { diff --git a/src/current/tools/csvm2csv b/src/current/tools/csvm2csv index 410d9fa..3bcbc7b 100755 --- a/src/current/tools/csvm2csv +++ b/src/current/tools/csvm2csv @@ -2,14 +2,29 @@ # # Compiles a "magic" CSV file into a normal CSV # +# Copyright (C) 2016 LoVullo Associates, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# # "Magic" CSVs simply exist to make life easier: they permit comments, blank # lines, variables, sub-delimiter expansion, and any number of ranges per line. # Ranges will be expanded in every combination, making rate tables highly # maintainable. # -# Variables are also supported when defined using :var=val. Variables may expand -# into ranges, 'cause they're awesome. Multiple variables may be delimited by -# semi-colons, as may multiple values. +# Variables are also supported when defined using :var=val. Variables may +# expand into ranges, 'cause they're awesome. Multiple variables may be +# delimited by semi-colons, as may multiple values. # # For example: # :foo=1--3 @@ -27,6 +42,7 @@ # 1, 5 # 1, 6 # ... +## function rangeout( i, m, j, me, orig ) diff --git a/src/current/tools/gen-make b/src/current/tools/gen-make index 3f59bfe..48f53ba 100755 --- a/src/current/tools/gen-make +++ b/src/current/tools/gen-make @@ -1,7 +1,22 @@ #!/bin/bash # # Generates Makefile containing dependencies for each package -# # +# +# Copyright (C) 2016 LoVullo Associates, Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +## # windows machines may not have the tools to resolve a path, so let's do so # ourselves (TODO: there's better (and more performant) ways of doing this than diff --git a/src/current/tools/lib/zipre.php b/src/current/tools/lib/zipre.php index b4f22e1..d019794 100644 --- a/src/current/tools/lib/zipre.php +++ b/src/current/tools/lib/zipre.php @@ -1,4 +1,22 @@ <?php +/** + * Generate regular expressions to match a list of zip codes + * + * Copyright (C) 2016 LoVullo Associates, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ function gen_re_quick( $data ) diff --git a/src/current/tools/tdat2xml b/src/current/tools/tdat2xml index db4e9b1..e08ca7c 100755 --- a/src/current/tools/tdat2xml +++ b/src/current/tools/tdat2xml @@ -1,4 +1,24 @@ #!/usr/bin/env php +<?php +/** + * Generate territory matrices from data files + * + * Copyright (C) 2016 LoVullo Associates, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +?> <?xml-stylesheet type="text/xsl" href="../../rater/summary.xsl"?> <lv:package xmlns:lv="http://www.lovullo.com/rater" diff --git a/src/current/tools/zipre b/src/current/tools/zipre index 4e6966f..e16a5e9 100755 --- a/src/current/tools/zipre +++ b/src/current/tools/zipre @@ -4,11 +4,25 @@ * Given a set of sorted zips, generates a regular expression to match only the * given input * + * Copyright (C) 2016 LoVullo Associates, Inc. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * * I wanted to write this in Scheme (it's a perfect recursive application), but * I figured that other developers may get annoyed having to find a Scheme impl * that works for them...so...PHP it is... * - * * THIS SCRIPT EXPECTS THE DATA TO BE SORTED! This can be easily accomplished by * doing the following: * sort -d zipfile | ./zipre |