Commits

Author Commit Message Labels Comments Date
Rune Halvorsen
Removed the local scope copies of variables. Speed difference wasn't
Rune Halvorsen
Made tokenizer into an iterable (badly tested!)
Rune Halvorsen
Use namedtuples if available for tokens
Rune Halvorsen
Removed unused var
Rune Halvorsen
Added testfile. Mostly skeleton
Rune Halvorsen
Removed comment about stringio that was no longer true
Rune Halvorsen
Added minify_str method
Rune Halvorsen
Added basic setup.py file and entry point
Rune Halvorsen
switched to non-bom utf8 as default encoding. Probably more widely used than with bom
Rune Halvorsen
Added some placeholder administrativa files
Rune Halvorsen
Use stdout for output when not using file. Assume input stream is at start of content
Rune Halvorsen
Whitespace and pep8 fixes
Rune Halvorsen
Whitespace/style tweaking
Rune Halvorsen
Use normal privacy indicatior rather than name mangling one
Rune Halvorsen
m-x whitespace-cleanup<RET>
Rune Halvorsen
Changed tolken to token
Christian Krebs
minify on the fly for better performance; handle the encoding outside of the Minify class
Rune Halvorsen
Fixed some issues with encoding/decoding of unicode
Christian Krebs
better performance for minifier. extended hg build-app command
Rune Halvorsen
Changed default encoding to utf8-bom.
Rune Halvorsen
Made one more list a tuple
Rune Halvorsen
Refactored main() to use optparse and allow in-place minifying and using as a filter
Rune Halvorsen
Fixed typo in imports
Rune Halvorsen
Renamed minify class to Minify. We can reuse the minify name as a module function. Also, now we're a bit more pep-8 compliant
Rune Halvorsen
Reorganized imports
Rune Halvorsen
Made the encoding an argument
Rune Halvorsen
Changed from lists to tuple for stuff that's immutable anyway
Rune Halvorsen
Changed type check and added some docs
Christian Krebs
added minifier tool