gzip/squishy

Fri, 05 May 2017 09:47:52 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 05 May 2017 09:47:52 +0100
branch
lua5.2
changeset 95
828e814152e0
parent 66
28feb008ca2a
permissions
-rw-r--r--

squish: Optionally add in a 5.2-compatible module() function (5.2's own compat function is broken)

--module-compat or --no-module-compat, default is --module-compat if running under 5.2+ (detected at runtime).

When compiled with the appropriate flags, Lua 5.2 provides a module() function for backwards compatibility with
5.1. However 5.1's version of the function changed function environments, while 5.2's version changes the global
environment, which breaks through squish's per-module sandbox functions.

59
165b36273ce7 gzip: Add support for gzipping output files, based on a very hacked compress.deflatelua by David Manura
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 Option "minify-level" "full"
66
28feb008ca2a gzip: Enably uglify for gzip decompression code (reduces gzip fixed overhead by 1K)
Matthew Wild <mwild1@gmail.com>
parents: 59
diff changeset
2 Option "uglify"
28feb008ca2a gzip: Enably uglify for gzip decompression code (reduces gzip fixed overhead by 1K)
Matthew Wild <mwild1@gmail.com>
parents: 59
diff changeset
3 Option "uglify-level" "full"
59
165b36273ce7 gzip: Add support for gzipping output files, based on a very hacked compress.deflatelua by David Manura
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 Main "deflatelua.lua"
165b36273ce7 gzip: Add support for gzipping output files, based on a very hacked compress.deflatelua by David Manura
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 Output "gunzip.lua"

mercurial