CHANGES

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 76
fdd7785b6fc2
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.

0.2.0 - 2010-10-10
	+ New gzip filter to produce compressed self-decompressing scripts
	+ New --uglify-level=full to replace long repeated identifiers and string literals
	- Fix for traceback when modules can't be found on filesystem
	- Fixes for handling binary resources
	- Ensure output file on the command-line always overrides filename in squishy file
	- uglify filter: Preserve original module's return value(s)
	- compile filter: Update minichunkspy.lua
	- Properly handle modules that don't end with whitespace
	- uglify filter: Fix logic that decides whether a file is safe to uglify
	- make_squishy tool: Numerous small fixes and improvements
	- Only prepend project base path to relative module paths

0.1.0 - 2009-07-27
	+ Initial release.

mercurial