aboutsummaryrefs
aboutsummaryrefslogtreecommitdiff
path: 2018-09-27Add (guix status) and use it for pretty colored output....* guix/progress.scm (progress-reporter/trace): New procedure. (%progress-interval): New variable. (progress-reporter/file): Use it. * guix/scripts/build.scm (set-build-options-from-command-line): Pass #:print-extended-build-trace?. (%default-options): Add 'print-extended-build-trace?'. (guix-build): Parameterize CURRENT-TERMINAL-COLUMNS. Use 'build-status-updater'. * guix/scripts/environment.scm (%default-options): Add 'print-extended-build-trace?'. (guix-environment): Wrap body in 'with-status-report'. * guix/scripts/pack.scm (%default-options): Add 'print-build-trace?' and 'print-extended-build-trace?'. (guix-pack): Wrap body in 'with-status-report'. * guix/scripts/package.scm (%default-options, guix-package): Likewise. * guix/scripts/system.scm (%default-options, guix-system): Likewise. * guix/scripts/pull.scm (%default-options, guix-pull): Likewise. * guix/scripts/substitute.scm (progress-report-port): Don't call STOP when TOTAL is zero. (process-substitution): Add #:print-build-trace? and honor it. (guix-substitute)[print-build-trace?]: New variable. Pass #:print-build-trace? to 'process-substitution'. * guix/status.scm: New file. * guix/store.scm (set-build-options): Add #:print-extended-build-trace?; pass it into PAIRS. (%protocol-version): Bump. (protocol-version, nix-server-version): New procedures. (current-store-protocol-version): New variable. (with-store, build-things): Parameterize it. * guix/ui.scm (build-output-port): Remove. (colorize-string): Export. * po/guix/POTFILES.in: Add guix/status.scm. * tests/status.scm: New file. * Makefile.am (SCM_TESTS): Add it. * nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x162. * nix/libstore/build.cc (DerivationGoal::registerOutputs) (SubstitutionGoal::finished): Print a "@ hash-mismatch" trace before throwing. Ludovic Courtès >Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rathe...kzc 2015-11-01rename To_Moz_Literal to To_Moz_RegExpkzc 2015-11-01Fixed RegExp literal in mozilla AST generation/output and added a --dump-spid...kzc 2015-09-24Fix mozilla-ast after module loading changes...Need to explicitly qualify stuff now, since it's not evaluated in some global scope. Ref #636 Mihai Bazon 2015-01-06Location fix for Mozilla AST start token.Ingvar Stepanyan 2015-01-06Track ending lines/columns; fix end locations in Mozilla AST.Ingvar Stepanyan 2014-08-03Added generative testing for AST conversions.Ingvar Stepanyan 2014-08-03SpiderMonkey `Identifier` nodes should contain mangled names.Ingvar Stepanyan 2014-08-02Small fixes for AST conversion.Ingvar Stepanyan 2014-08-01Fixes and improvements for UglifyJS->SM AST conversion....* Explicitly forbidden multiple catch clauses as SM-specific feature. * Simplified describing of UglifyJS->Mozilla AST conversion rules. * Moved alias rules to single place. * Removed usage of dynamic type bindings in generated code (speed-up). Ingvar Stepanyan 2014-08-01Improved UglifyJS<->SpiderMonkey AST conversions....* Added directives recognition in SM AST. * Moved semi-standard SM `Property` type to separate handler. * Added `const` recognition from SM AST. * Removed redundant `this`-as-identifier recognition. * Removed redundant rules for abstract SM types. * Described `CatchClause` using string syntax. * Added support for semi-standard `range` tuple as location source. * Added back-conversion support (to be improved). Ingvar Stepanyan 2014-03-06Handle TryStatements trees from acorn >=0.2.0Conrad Irwin 2013-04-29Workaround for missing `prefix` in UnaryExpression generated by Esprima...See #193 Mihai Bazon 2012-10-13fix end tokens in spidermonkey ast importMihai Bazon 2012-10-09added $propdoc to AST nodes and some cleanups...hopefully we can make the AST documentation self-generating Mihai Bazon 2012-10-05remove unused codeMihai Bazon 2012-10-05fixed import of locations from SpiderMonkey ASTMihai Bazon 2012-10-04use the appropriate constructor for symbolsMihai Bazon 2012-10-03moving code aroundMihai Bazon 2012-10-03define AST_Node.from_mozilla_ast(ast)...returns an UglifyJS2 AST given a Mozilla AST. Still needs some work to do (need to create specific nodes like AST_SymbolRef, AST_SymbolLambda etc. instead of base AST_Symbol, in order for the mangler/compressor to work properly) Mihai Bazon