aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1609.js
AgeCommit message (Expand)Author
2017-11-11implement compress option `reduce_funcs` (#2466)...- inline single-use function declarations as expressions when permissible - depend on `reduce_vars` - enabled by default - disable for speed critical code fixes #2464Alex Lam S.L
2017-05-06enhance `collapse_vars` (#1862)...- extend expression types - `a++` - `a=x;` - extend scan range - `for(init;;);` - `switch(expr){case expr:}` - `a = x; a = a || y;` - terminate upon `debugger;` closes #1821 fixes #27 fixes #315 fixes #1858 Alex Lam S.L
2017-04-05implement delayed resolution for `reduce_vars` (#1788)...Although it would be nice to enforce `AST_Node` cloning during transformation, that ship has sailed a long time ago. We now get the assigned value when resolving `AST_SymbolRef` instead of `reset_opt_flags()`, which has the added advantage of improved compressor efficiency. fixes #1787Alex Lam S.L
2017-03-17fix chained evaluation (#1610)...`reduce_vars` enables substitution of variables but did not clone the value's `AST_Node`. This confuses `collapse_vars` and result in invalid AST and subsequent crash. fixes #1609Alex Lam S.L
> 2016-03-02utils: Use '@' for separating package names and version numbers....This provides the ability to use numbers in package names. Fixes <http://bugs.gnu.org/19219>. * guix/utils.scm (package-name->name+version): New procedure. * gnu/packages.scm (%find-package): Add a FALLBACK? keyword argument. Use the previous method when no package is found. (specification->package+output, specification->package): Adapt documentation to new syntax. * doc/guix.texi (Invoking guix package, Invoking guix import): Likewise. * guix/ui.scm (package-specification->name+version+output): Likewise. * guix/scripts/import/hackage.scm (show-help): Likewise. * tests/guix-build.sh: Adapt to new syntax. * tests/guix-lint.sh: Likewise. * tests/guix-package.sh: Likewise. * tests/ui.scm ("package-specification->name+version+output"): Likewise. * tests/utils.scm ("package-name->name+version"): Likewise. * NEWS: Mention new syntax. Mathieu Lirzin 2016-01-25emacs: Add interface for licenses....* emacs/guix-main.scm (%license-param-alist): New variable. (license->sexp, find-licenses, license-entries): New procedures. * emacs/guix-license.el (guix-license-get-entries) (guix-license-get-display, guix-license-insert-packages-button) (guix-license-insert-comment, guix-license-list-describe) (guix-license-list-show-packages): New procedures. (guix-licenses): New command. * doc/emacs.texi (Emacs Licenses): New node. (Emacs Interface): Add it. * doc/guix.texi (Top): Add it. * NEWS: Mention new interface. Alex Kost 2016-01-25emacs: Rename 'file-path' to 'file-name'....* emacs/guix-info.el (guix-info-file-path): Rename to... (guix-info-file-name): ... this. * emacs/guix-list.el (guix-list-file-path): Rename to... (guix-list-file-name): ... this. (guix-list-get-file-path): Rename to... (guix-list-get-file-name): ... this. * emacs/guix-ui-generation.el (guix-generation-list-format): Adjust accordingly. * emacs/guix-ui-system-generation.el (guix-system-generation-list-format): Likewise. * NEWS: Mention faces renaming. Alex Kost 2016-01-16emacs: Add interface for system generations....* emacs/guix-main.scm (system-generation-boot-parameters) (system-generation-param-alist, system-generation-sexps): New procedures. (entries): Add 'system-generation' entry type. * emacs/guix-messages.el (guix-result-message): Use the same messages for 'generation' and 'system-generation' entry types. * emacs/guix-ui-system-generation.el: New file. * emacs.am (ELFILES): Add it. * doc/emacs.texi (Emacs Commands): Document new commands. * NEWS: Mention new interface. Alex Kost 2016-01-02Update NEWS....* NEWS: Mention Emacs interface for Hydra and changes in variables. Alex Kost 2015-11-06Update NEWS....* NEWS: Mention 'guix-build-log-mode'. Alex Kost 2015-11-04Update NEWS.Ludovic Courtès 2015-11-04doc: Back up on the claim of encrypted root partitions....Reported by 宋文武 <iyzsong@openmailbox.org> at <https://lists.gnu.org/archive/html/guix-devel/2015-11/msg00096.html>. * doc/guix.texi (System Installation): Comment out encrypted root partition commands. * gnu/system/examples/desktop.tmpl (mapped-devices): Remove. (file-systems): Refer to the root by label. * NEWS: Adjust. Ludovic Courtès 2015-11-04Update NEWS.Ludovic Courtès 2015-07-21Update NEWS.Ludovic Courtès 2015-07-21Update NEWS.Ludovic Courtès 2015-05-13Update NEWS.Ludovic Courtès 2015-05-13NEWS: Mention new postgresql service in 0.8.2.David Thompson 2015-05-13Update NEWS.Ludovic Courtès 2015-01-28Update NEWS.Ludovic Courtès 2015-01-28nls: Update 'vi' translation.Ludovic Courtès 2015-01-28Update NEWS.Ludovic Courtès 2014-11-17Update NEWS.Ludovic Courtès 2014-11-16Fix typo in NEWS.David Thompson 2014-11-16Adjust NEWS for 'guix import'.Ludovic Courtès 2014-11-13Update NEWS.Ludovic Courtès 2014-11-11Update NEWS.Ludovic Courtès 2014-11-10Update NEWS.Ludovic Courtès 2014-07-25Update NEWS.Ludovic Courtès 2014-07-25Update NEWS.Ludovic Courtès 2014-07-21Update 'NEWS'.Ludovic Courtès 2014-04-09Update 'NEWS'.Ludovic Courtès 2014-04-07Update 'NEWS' for 0.6.Ludovic Courtès 2013-12-11Update 'NEWS'.Ludovic Courtès 2013-12-10NEWS: Small changes....NEWS: Typos and very minor changes. Andreas Enge 2013-12-10Update 'NEWS'.Ludovic Courtès 2013-09-27Update 'NEWS'.Ludovic Courtès 2013-09-27Update 'NEWS'.Ludovic Courtès 2013-09-25Update 'NEWS'.Ludovic Courtès 2013-07-17Update NEWS.Ludovic Courtès