changelog
- Fri, 17 Mar 2023 11:02:12 +0000
- by Matthew Wild <mwild1@gmail.com> [Fri, 17 Mar 2023 11:02:12 +0000] rev 99
- A range of fixes for Lua 5.2 support
- Fri, 17 Mar 2023 11:01:19 +0000
- by Matthew Wild <mwild1@gmail.com> [Fri, 17 Mar 2023 11:01:19 +0000] rev 98
- squish: Fix generation of custom shebang
- Fri, 17 Mar 2023 11:00:22 +0000
- by Matthew Wild <mwild1@gmail.com> [Fri, 17 Mar 2023 11:00:22 +0000] rev 97
- Makefile: remove -q by default for easier debugging of build issues
- Fri, 05 May 2017 09:48:31 +0100
- by Matthew Wild <mwild1@gmail.com> [Fri, 05 May 2017 09:48:31 +0100] rev 96
- uglify: Fix 'mode' parameter to io.open (5.2 is more strict)
- Fri, 05 May 2017 09:47:52 +0100
- by Matthew Wild <mwild1@gmail.com> [Fri, 05 May 2017 09:47:52 +0100] rev 95
- 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.
- Fri, 05 May 2017 09:44:43 +0100
- by Matthew Wild <mwild1@gmail.com> [Fri, 05 May 2017 09:44:43 +0100] rev 94
- minify: Preserve _ENV, as it's lexically significant in 5.2+
- Fri, 05 May 2017 09:44:05 +0100
- by Matthew Wild <mwild1@gmail.com> [Fri, 05 May 2017 09:44:05 +0100] rev 93
- minify: Return _M from modules that weren't
- Wed, 10 Feb 2016 12:33:42 +0000
- by Matthew Wild <mwild1@gmail.com> [Wed, 10 Feb 2016 12:33:42 +0000] rev 92
- uglify: Ensure prettified code inherits the current environment, instead of the default global environment
- Thu, 31 Dec 2015 20:29:08 +0000
- by Matthew Wild <mwild1@gmail.com> [Thu, 31 Dec 2015 20:29:08 +0000] rev 91
- squish.lua: Add --list-missing-files option
- Thu, 31 Dec 2015 20:28:50 +0000
- by Matthew Wild <mwild1@gmail.com> [Thu, 31 Dec 2015 20:28:50 +0000] rev 90
- squish.lua: Exit if any modules don't have a path
- Thu, 31 Dec 2015 20:08:01 +0000
- by Matthew Wild <mwild1@gmail.com> [Thu, 31 Dec 2015 20:08:01 +0000] rev 89
- squish.lua: Remove accidentally-committed debugging
- Thu, 31 Dec 2015 20:02:17 +0000
- by Matthew Wild <mwild1@gmail.com> [Thu, 31 Dec 2015 20:02:17 +0000] rev 88
- squish.lua: Add --list-files option, which lists out all files required by the squishy file (with the passed command-line options)
- Thu, 31 Dec 2015 20:01:15 +0000
- by Matthew Wild <mwild1@gmail.com> [Thu, 31 Dec 2015 20:01:15 +0000] rev 87
- squish.lua: Move opening of output file until after resolving modules
- Tue, 27 Nov 2012 08:25:18 -0800
- by Matthew Wild <mwild1@gmail.com> [Tue, 27 Nov 2012 08:25:18 -0800] rev 86
- Remove shebangs from modules, if any (thanks Markus Stenberg)
- Fri, 13 Jul 2012 17:14:22 +0100
- by Matthew Wild <mwild1@gmail.com> [Fri, 13 Jul 2012 17:14:22 +0100] rev 85
- Remove uses of getfenv to work around Lua/LuaJIT inconsistency, and as a step towards 5.2 compatibility (thanks mva, Zash)
- Sat, 24 Sep 2011 19:39:30 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 24 Sep 2011 19:39:30 +0100] rev 84
- make_squishy: Match require calls at the start of a line (thanks R D)
- Sat, 22 Jan 2011 18:04:56 +0000
- by Matthew Wild <mwild1@gmail.com> [Sat, 22 Jan 2011 18:04:56 +0000] rev 83
- Change to behaviour of --debug/-g - at the (temporary) loss of squishing modules -g will now give real tracebacks again with original filenames
- Tue, 30 Nov 2010 13:22:35 +0000
- by Matthew Wild <mwild1@gmail.com> [Tue, 30 Nov 2010 13:22:35 +0000] rev 82
- squish.lua: AutoFetch file paths can now begin with / or . too
- Tue, 30 Nov 2010 13:18:47 +0000
- by Matthew Wild <mwild1@gmail.com> [Tue, 30 Nov 2010 13:18:47 +0000] rev 81
- squish.lua: Support for AutoFetch to use file:// URLs
- Tue, 09 Nov 2010 20:41:21 +0000
- by Matthew Wild <mwild1@gmail.com> [Tue, 09 Nov 2010 20:41:21 +0000] rev 80
- squish.lua: Initialise LuaRocks if available
- Sun, 10 Oct 2010 13:05:48 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 13:05:48 +0100] rev 79
- README: Add 'Building and installing' section
- Sun, 10 Oct 2010 02:24:41 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 02:24:41 +0100] rev 78
- gzip/deflatelua.lua: Move licence to the top and add myself for modifications
- Sun, 10 Oct 2010 02:24:09 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 02:24:09 +0100] rev 77
- COPYRIGHT: Update for 2010
- Sun, 10 Oct 2010 02:23:54 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 02:23:54 +0100] rev 76
- Add CHANGES file
- Sun, 10 Oct 2010 01:34:27 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 01:34:27 +0100] rev 75
- squish.gzip.lua: Escape \026 in gzipped output to prevent Windows from interpreting it as EOF (thanks to Vadim Peretokin for his persistence!)
- Sun, 10 Oct 2010 01:32:54 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 01:32:54 +0100] rev 74
- squish.gzip.lua: Write code without shebang to temporary file to avoid compressing the shebang and passing it to loadstring
- Sun, 10 Oct 2010 01:32:11 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 01:32:11 +0100] rev 73
- squish.gzip.lua: Open output file in binary mode
- Sun, 10 Oct 2010 01:31:39 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 10 Oct 2010 01:31:39 +0100] rev 72
- squish.uglify.lua: Open output file in binary mode
- Fri, 06 Aug 2010 20:17:46 +0100
- by Matthew Wild <mwild1@gmail.com> [Fri, 06 Aug 2010 20:17:46 +0100] rev 71
- squish.lua: Only prepend project base path for relative paths specified in the squishy file
- Thu, 08 Jul 2010 01:14:51 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 08 Jul 2010 01:14:51 +0100] rev 70
- make_squishy: Improve 'Couldn't resolve' message
- Thu, 08 Jul 2010 01:11:40 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 08 Jul 2010 01:11:40 +0100] rev 69
- make_squishy: Fix traceback when file doesn't contain any path component
- Thu, 08 Jul 2010 01:11:12 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 08 Jul 2010 01:11:12 +0100] rev 68
- make_squishy: Fix traceback on modules that couldn't be found on the filesystem (thanks Valerio)
- Sat, 29 May 2010 21:44:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 29 May 2010 21:44:23 +0100] rev 67
- squish: Handle nil errors when can't pack a module
- Thu, 27 May 2010 15:32:25 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 15:32:25 +0100] rev 66
- gzip: Enably uglify for gzip decompression code (reduces gzip fixed overhead by 1K)
- Thu, 27 May 2010 15:31:53 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 15:31:53 +0100] rev 65
- gzip: Some changes to make embedding decompression code compatible with uglify
- Thu, 27 May 2010 15:09:02 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 15:09:02 +0100] rev 64
- README: Update for new --uglify-level=full
- Thu, 27 May 2010 15:04:58 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 15:04:58 +0100] rev 63
- uglify: Fix logic that determines whether we can uglify a file
- Thu, 27 May 2010 15:01:52 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 15:01:52 +0100] rev 62
- uglify: Support for uglifying identifiers and string literals too (--uglify-level=full)
- Thu, 27 May 2010 04:29:28 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 04:29:28 +0100] rev 61
- README: Add gzip
- Thu, 27 May 2010 04:01:36 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 04:01:36 +0100] rev 60
- Update Makefile and squishy to build in gzip
- Thu, 27 May 2010 04:01:04 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 04:01:04 +0100] rev 59
- gzip: Add support for gzipping output files, based on a very hacked compress.deflatelua by David Manura
- Thu, 27 May 2010 03:59:44 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 03:59:44 +0100] rev 58
- squish: Insert a space before ending our wrapper function, in case the module doesn't end with whitespace already
- Thu, 27 May 2010 03:58:27 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 03:58:27 +0100] rev 57
- compile: Update copy of minichunkspy.lua (new release)
- Thu, 27 May 2010 03:57:30 +0100
- by Matthew Wild <mwild1@gmail.com> [Thu, 27 May 2010 03:57:30 +0100] rev 56
- uglify: Preserve the uglified module's return value(s)
- Mon, 25 Jan 2010 19:00:43 +0000
- by Matthew Wild <mwild1@gmail.com> [Mon, 25 Jan 2010 19:00:43 +0000] rev 55
- Don't let squishy file override the user's specified output file, if one
- Tue, 17 Nov 2009 14:13:38 +0000
- by Matthew Wild <mwild1@gmail.com> [Tue, 17 Nov 2009 14:13:38 +0000] rev 54
- squish.lua: Small fix to comment
- Sat, 10 Oct 2009 17:37:56 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 10 Oct 2009 17:37:56 +0100] rev 53
- Fixes for handling binary resources
- Mon, 27 Jul 2009 13:21:25 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 13:21:25 +0100] rev 52
- Obey --no-recursion option
- Mon, 27 Jul 2009 13:19:17 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 13:19:17 +0100] rev 51
- make_squishy: Disable resolution of binary modules for now
- Mon, 27 Jul 2009 13:18:56 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 13:18:56 +0100] rev 50
- make_squishy: Add help text
- Mon, 27 Jul 2009 04:36:56 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:36:56 +0100] rev 49
- Add squish.debug to .hgignore
- Mon, 27 Jul 2009 04:36:12 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:36:12 +0100] rev 48
- Add local/ to .hgignore
- Mon, 27 Jul 2009 04:35:09 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:35:09 +0100] rev 47
- Add .hgignore to .hgignore
- Mon, 27 Jul 2009 04:33:39 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:33:39 +0100] rev 46
- -g == --debug
- Mon, 27 Jul 2009 04:33:20 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:33:20 +0100] rev 45
- compile: Use minichunkspy for stripping debug info
- Mon, 27 Jul 2009 04:15:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:15:23 +0100] rev 44
- Add to README about make_squishy
- Mon, 27 Jul 2009 04:11:53 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:11:53 +0100] rev 43
- make_squishy: Automatically scan sources looking for modules and generate a squishy file
- Mon, 27 Jul 2009 04:10:31 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:10:31 +0100] rev 42
- Add virtual IO section to the README
- Mon, 27 Jul 2009 04:10:10 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:10:10 +0100] rev 41
- Rename --enable-virtual-io to --virtual-io
- Mon, 27 Jul 2009 04:01:53 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:01:53 +0100] rev 40
- Update README to reflect --debug change
- Mon, 27 Jul 2009 04:01:10 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:01:10 +0100] rev 39
- Rename --enable-debug option to --debug
- Mon, 27 Jul 2009 04:00:16 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 04:00:16 +0100] rev 38
- Support for resolving the paths of modules when they are not explicitly specified
- Mon, 27 Jul 2009 03:59:39 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:59:39 +0100] rev 37
- Only add a module to the list once, no matter how many times it is added in the squishy file
- Mon, 27 Jul 2009 03:54:38 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:54:38 +0100] rev 36
- uglify: Restore filename on chunk when loading
- Mon, 27 Jul 2009 03:32:28 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:32:28 +0100] rev 35
- Update README for debug extension
- Mon, 27 Jul 2009 03:32:13 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:32:13 +0100] rev 34
- Add new debug extension
- Mon, 27 Jul 2009 03:30:29 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:30:29 +0100] rev 33
- Fix .hgignore
- Mon, 27 Jul 2009 03:28:05 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:28:05 +0100] rev 32
- Warn when output file not writeable
- Mon, 27 Jul 2009 03:27:32 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:27:32 +0100] rev 31
- Rewrite '-' to '_' in Option command
- Mon, 27 Jul 2009 03:26:17 +0100
- by Matthew Wild <mwild1@gmail.com> [Mon, 27 Jul 2009 03:26:17 +0100] rev 30
- minify: Add debug level, add warnings when specified level not valid, don't override options with defaults
- Sun, 26 Jul 2009 14:54:54 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:54:54 +0100] rev 29
- Map print() to print_verbose()
- Sun, 26 Jul 2009 14:50:05 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:50:05 +0100] rev 28
- Allow user or squishy file to specify custom shebang
- Sun, 26 Jul 2009 14:47:05 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:47:05 +0100] rev 27
- minify: Break into minify_file and minify_string to allow easier re-use
- Sun, 26 Jul 2009 14:46:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:46:23 +0100] rev 26
- compile: Compile the correct data (fixes a traceback if there is a shebang in the input)
- Sun, 26 Jul 2009 14:45:45 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:45:45 +0100] rev 25
- Complain if output file not specified, or if squish would generate an empty file
- Sun, 26 Jul 2009 14:45:13 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:45:13 +0100] rev 24
- Make Message and Error commands obey user's verbosity options
- Sun, 26 Jul 2009 14:21:31 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 14:21:31 +0100] rev 23
- Support for Message and Error in squishy files to show messages to the user, and Exit to halt squishing
- Sun, 26 Jul 2009 03:59:35 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 03:59:35 +0100] rev 22
- Add support for virtual IO in dofile and loadfile
- Sun, 26 Jul 2009 03:38:20 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 03:38:20 +0100] rev 21
- Fix to work with modules which call module(...)
- Sun, 26 Jul 2009 01:26:42 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 01:26:42 +0100] rev 20
- Add io.lines support for the virtual io
- Sun, 26 Jul 2009 00:56:13 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 00:56:13 +0100] rev 19
- Add virtual io support for accessing resources
- Sun, 26 Jul 2009 00:51:10 +0100
- by Matthew Wild <mwild1@gmail.com> [Sun, 26 Jul 2009 00:51:10 +0100] rev 18
- Add .hgignore
- Sat, 25 Jul 2009 23:04:16 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 23:04:16 +0100] rev 17
- Add README and COPYRIGHT files
- Sat, 25 Jul 2009 22:17:09 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 22:17:09 +0100] rev 16
- Add --use-http option, and default to off
- Sat, 25 Jul 2009 22:13:34 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 22:13:34 +0100] rev 15
- Restrict access to opts table from squishy files now that we have GetOption
- Sat, 25 Jul 2009 22:09:53 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 22:09:53 +0100] rev 14
- Update squishy file to use GetOption
- Sat, 25 Jul 2009 22:05:55 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 22:05:55 +0100] rev 13
- Add GetOption function for squishy files
- Sat, 25 Jul 2009 21:18:44 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 21:18:44 +0100] rev 12
- Add very basic Makefile
- Sat, 25 Jul 2009 19:38:39 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 19:38:39 +0100] rev 11
- Support for adding 'resources'
- Sat, 25 Jul 2009 19:38:09 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 19:38:09 +0100] rev 10
- Some logging level changes
- Sat, 25 Jul 2009 18:46:47 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 18:46:47 +0100] rev 9
- compile: Compile output files to Lua bytecode
- Sat, 25 Jul 2009 16:44:47 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 16:44:47 +0100] rev 8
- uglify: New specialised Lua 'compression' filter
- Sat, 25 Jul 2009 16:43:52 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 16:43:52 +0100] rev 7
- minify: Don't minify if --no-minify option set
- Sat, 25 Jul 2009 16:43:14 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 16:43:14 +0100] rev 6
- minify: Update error output to use print_err, and os.exit(1)
- Sat, 25 Jul 2009 10:55:48 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 10:55:48 +0100] rev 5
- Add 'OK' after minification
- Sat, 25 Jul 2009 03:11:35 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 03:11:35 +0100] rev 4
- squish.lua: Use --enable-debug flag to decide whether to enable debug options
- Sat, 25 Jul 2009 03:11:08 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 03:11:08 +0100] rev 3
- squishy: Add some comments
- Sat, 25 Jul 2009 03:05:23 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 03:05:23 +0100] rev 2
- Add squishy file to squish squish :)
- Sat, 25 Jul 2009 03:05:01 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 03:05:01 +0100] rev 1
- Add minify plugin
- Sat, 25 Jul 2009 03:04:25 +0100
- by Matthew Wild <mwild1@gmail.com> [Sat, 25 Jul 2009 03:04:25 +0100] rev 0
- squish, because libraries don't have to be tricky to package!