1
0
Fork 0
Commit Graph

355 Commits (5bd692058814795d1bf2b758a1cb7cee9b214126)

Author SHA1 Message Date
Mike Gerwitz 54d2eff8b9 Add diagram generation with graphviz
* configure.ac (TWOPI, HAS_TWOPI): Add variables.
  Check for towpi.
* doc/.gitignore (diagrams/*.svg): Add output file ignore.
* doc/Makefile.am: Add svg diagram building.
2017-06-08 14:38:32 -04:00
Mike Gerwitz 657573ab63 Near-complete liberation of liza
I have sat on releasing a lot of this code for years because I wanted
the liza repo to be in a pristine state---tests and all---which
required a great deal of refactoring.  Well, that never happened, and
time is up.

LoVullo Associates---my employer---has been purchased by another
company.  This means that any agreement with LoVullo regarding
releasing free software is going to have to be re-negotiated with this
new company, and I have no idea how those negotiations will go.  So,
I have no choice but to simply release everything in its current state,
or risk it being lost forever.

This represents work over the past 6--7 years, 99.9% of it written by
me.  This project has been my baby for quite some time, and has been
through a number of battles with deadlines and other unfortunate
circumstances; the scars show.  I also didn't really "know" JS when
starting this project.  Perhaps you can help improve upon it.

There are some odds-and-ends that could be committed.  And references
to insurance and LoVullo need to be removed to generalize this.

I hope that this will not be the last public commit for this project.
I'll fight the good fight and we'll see where that takes us.  Maybe
it'll be easy.

Happy hacking.
2017-06-08 14:38:28 -04:00
Mike Gerwitz 729e45306f .travis.yml: Remove
This now builds via a GitLab pipeline
2017-03-28 13:40:35 -04:00
Mike Gerwitz a9711fe139 Initial architecture documentation in manual 2017-03-28 13:29:31 -04:00
Mike Gerwitz 632ffe74c0 .gitlab-ci.yml: Add --with-srcuri to build step 2017-03-23 12:18:41 -04:00
Mike Gerwitz 7c6b884895 doc/design.texi (Group Styles): Put table into float 2017-03-23 12:16:52 -04:00
Mike Gerwitz bff17bdbb6 doc/liza.css: Change font
This imports from Google, which is a privacy risk.  These should be
moved to be hosted locally; their download can be scripted.
2017-03-23 12:16:52 -04:00
Mike Gerwitz f89c311d1d doc/liza.texi: Add predicate system documentation 2017-03-23 12:16:52 -04:00
Mike Gerwitz 5abfedeb54 doc/liza.css: Example block and float styling 2017-03-23 12:16:52 -04:00
Mike Gerwitz b05d48a572 doc/macros.texi (@progxml): Add macro 2017-03-23 12:16:52 -04:00
Mike Gerwitz 8d09c2d8c3 doc/macros.texi: Fix PDF output issues with @maintenance
doc/macros.texi (@maintstart, @maintend): Add macros.
(@maintenance): Use them.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 2ed43ba986 doc/macros.texi (@xmlnode, @xmlattr): Add macros 2017-03-23 12:16:52 -04:00
Mike Gerwitz 637ae01e95 doc/macros.texi (@tip): Add macro
doc/liza.css: Add tip notice styling.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 3dfde49f76 doc/design.texi (Program UI): Add notices
(Client): Add reference to Program UI in notice.
2017-03-23 12:16:52 -04:00
Mike Gerwitz b7adc3b844 doc/macros.texi (@refactornotice): Add macro 2017-03-23 12:16:52 -04:00
Mike Gerwitz 2475cc37a6 doc/macros.texi (@srcrefraw): Add macro
I do not think Texinfo supports optional macro arguments.
2017-03-23 12:16:52 -04:00
Mike Gerwitz a7368d1b52 doc/design.texi (Program): Add matinenance and mv notices 2017-03-23 12:16:52 -04:00
Mike Gerwitz f93539a827 doc/macros.texi (@mvnotice): Add macro 2017-03-23 12:16:52 -04:00
Mike Gerwitz 87fb6277f7 doc/design.texi (Client): Add maintenance concerns 2017-03-23 12:16:52 -04:00
Mike Gerwitz 041cde783a doc/design.texi (Assertions): Add maintenance concerns 2017-03-23 12:16:52 -04:00
Mike Gerwitz 0e29ddd5eb doc/design.texi (Design & Architecture): Convert note to notice 2017-03-23 12:16:52 -04:00
Mike Gerwitz a700d275de doc/design.texi (Managing Error State): Add section text 2017-03-23 12:16:52 -04:00
Mike Gerwitz e477b15298 Add @srcref to manual
doc/macros.texi (@srcref): Add macro.
2017-03-23 12:16:52 -04:00
Mike Gerwitz b6c9045008 Add @exnotice to manual
liza.css: Style exnotice
macros.texi (@exnotice): Add macro.
2017-03-23 12:16:52 -04:00
Mike Gerwitz d7b1fd2f18 Better multi-line devnotice styling in manual
* liza.css: Better style multi-line notices with icon.
* macros.texi (@noticestart, @noticeend): Add.  Use instead of @rawnotice.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 0400b5f84c Properly build and format TeX document
This doesn't have formatting (yet?) for notices aside from the basic
italics.

* design.texi: Move @ref's to end of sentence rather than treating as
  links on existing text.  It otherwise formats undesirably in the PDF.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 4ddebbc035 Add SRCURI configuration for manual
* configure.ac (SET_SRCURI): Provide source root to manual.
  (--with-srcuri): Add configure option.
* doc/config.texi.in (SET_SRCURI): Add configuration value.
* doc/liza.texi: Add warning if SET_SRCURI is unset when DEVNOTES is set.
2017-03-23 12:16:52 -04:00
Mike Gerwitz eaacb7c5e0 doc/Makefile.am (liza_TEXINFOS): Depend upon liza.css
To trigger a rebuild when modified.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 1b4ebc13e3 Add notices and DEVNOTES flag
* .gitignore (/config.*): Restrict to root.
* configure.ac (DEVNOTES): Add variable.
  (--enable-devnotes): Add configuration flag.
* doc/Makefile.am (liza_TEXINFOS): config.texi dependency.
* doc/config.texi.in: Add configuration file.
* doc/liza.css: Styling for notices.
* doc/liza.texi: Include configuration.  Add notice for DEVNOTES.
* doc/macros.texi: Add notice macros.
* doc/.gitignore (config.texi): Ignore generated file.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 00e2389a5f macros.texi (helpwanted): Add macro 2017-03-23 12:16:52 -04:00
Mike Gerwitz 9403a1d29b liza.texi: Set document character encoding to UTF-8 2017-03-23 12:16:52 -04:00
Mike Gerwitz 05e22b2309 Add manual HTML styling
This uses GNU Octave's CSS, which formats it like a printed manual
using a modern style.  It's certainly an opinionated style, but at the
very least, the width is important.

* Makefile.am (MAKEINFOHTML): Include CSS reference.
* liza.css: Add stylesheet.
2017-03-23 12:16:52 -04:00
Mike Gerwitz 0c496299a0 design.texi: Add initial component descriptions 2017-03-23 12:16:52 -04:00
Mike Gerwitz 09c32e4792 doc/liza.texi: Include version.texi before reference of VERSION 2017-03-23 12:16:52 -04:00
Mike Gerwitz 529d7c5780 .gitlab-ci.yml: Add pipeline configuration 2017-03-23 12:16:46 -04:00
Mike Gerwitz e34b4dd233 test ci 2017-03-23 12:05:06 -04:00
Mike Gerwitz 2bd3f117d4 Makefile: Do not silence check target command 2017-03-23 11:36:37 -04:00
Mike Gerwitz d4ee4dbe7f Version bump v0.11.{3=>4} 2017-03-17 14:55:19 -04:00
Mike Gerwitz 16ab8b8741 Handle fixes triggered by scalar diffs 2017-03-17 14:54:22 -04:00
Mike Gerwitz 7567306123 FieldStyler: Remove classes not added by #addClass
This code assumed that no classes would be removed that were _not_
added by #addClass.  Well, that's false.

* src/ui/styler/FieldStyler.js (removeClass): Consider both spaces and
  boundary preceding class name.

* test/ui/styler/FieldStylerTest.js: Add test case.
2017-03-17 14:11:16 -04:00
Mike Gerwitz 6bba4322bf ValidStateMonitor: Consider scalar diff to affect all indexes
Classifications often yield scalar results.  Since those results are
used directly in the diff, we have the situation where the expected
diff format (an array) is not provided.  Consistent with the rest of
the system, we should consider a scalar to affect every index.

* src/validate/ValidStateMonitor.js (_checkCauseFix): Consider scalar
    diffs to affect every index when checking for fixes.
* test/validate/ValidStateMonitorTest.js: Add test.
2017-03-17 11:17:42 -04:00
Mike Gerwitz 2138ddf81a Version bump 0.11.{1=>2} 2017-02-22 10:01:47 -05:00
Mike Gerwitz 306d9efa83 Clear validation failures on dapi request completion 2017-02-22 10:00:06 -05:00
Mike Gerwitz 3460610808 ValidStateMonitorTest: remove accidental `debugger'
Didn't mean for this to be committed.

* test/validate/ValidStateMonitorTest.js: Remove `debugger'.
2017-02-22 09:54:03 -05:00
Mike Gerwitz 6908e62206 Client: clear validation errors on dapi fieldLoaded
Previously, the system relied on the preStagingUpdate StagingBucket
event to do this implicitly, but that is no longer kicked off when
the diff doesn't produce any bucket changes.

* src/client/Client.js (_createProgram) [dapi]: Clear validation
  failures on dapi fieldLoaded.
2017-02-22 09:54:03 -05:00
Mike Gerwitz 45889f556f DataApiManager: emit fieldLoaded after request completes
The intent of this is to allow for clearing errors after fields
load (e.g. a "field loading" message if the user attempts to continue
past the step when a field hasn't yet finished loading).

* src/dapi/DataApiManager.js (getApiData): Emit fieldLoaded after
  request completes.
* test/dapi/DataApiManagerTest.js: Add test case.

DEV-2299
2017-02-22 09:53:59 -05:00
Mike Gerwitz d3c1d6f9b4 Version bump 0.11.{1=>2} 2017-02-21 16:24:56 -05:00
Mike Gerwitz 071688159a DataValidator: properly chain queue 2017-02-21 16:24:33 -05:00
Mike Gerwitz 2ac393070a DataValidator: properly chain queue
This was not properly chain the promises---it was always chaining on
the original _pending (so, the first request) and never clearing
_pending after that point.

* src/validate/DataValidator.js (_onceReady): Properly chain.
* test/validate/DataValidatorTest.js: Updated test.  Don't ask.
2017-02-21 16:21:18 -05:00
Mike Gerwitz 6fb077d29c Version bump v0.11.{0=>1}
* configure.ac: Bump version.
2017-02-21 14:20:43 -05:00