Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.2.2 | 2010-04-01 | ||
0.2.1 | 2010-03-19 | ||
yuig-0.2.7z | 2010-03-02 | 60.7 kB | |
readme.txt | 2010-03-02 | 3.8 kB | |
yuig-0.2.0.win.setup.exe | 2010-03-02 | 4.1 MB | |
Totals: 5 Items | 4.2 MB | 0 |
--------------------- YUIG --------------------- YUIG is a graphical interface for yuicompressor for windows. It allows you to select resource files (CSS or Javascript) to compress them using yuicompressor. This program is intended to be used by all these people don't want/don't know to: - Use yuicompressor under command line. - Compress-per-request: You can setup your server to compress all css and js files on each request. Additionally you should set up a cache system to reduce unnecessary cpu usage. --------------------- REQUERIMENTS --------------------- -YUI Compressor >= 2.4.2: Previous versions may work as long as they behave the same way with same parameters. -Java runtime >= 1.4: This in fact is a requeriment of YUI Compressor. -Qt >= 4.6.1 : These libraries are bundled with installer pack. Zip pack comes without Qt libraries (to light its weight). --------------------- CONFIGURATION --------------------- To correctly use yuig, you must define path to yuicompressor build. Currently, this has to be done manually editing settings.ini file. Search "yui_path" key (it's easy, it's the only key right now), and write the path to your yuicompressor .jar file (include the filename). Example: [settings] yui_path = ./../yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar Both relative and absolute paths are allowed. --------------------- USAGE --------------------- Using yuig is very easy! 1- Select output file 2- Add as many resource files as you want 3- Click on Compress! That's all. Additionally you can select some options: -charset (not-implemented) -line break (not-implemented) -minify only: If you are compressing javascript, you can check this option to not obfuscate code. -preserve semicolons: If you are processing javascript files, and want to preserve all existant semicolons, check this. -optimize code: Check this if you want yuicompressor apply micro- optimizations on your code. Please note that you cannot compress different resource types at once. Equivalence of yuig options with yuicompressor: People familiar with command line usage of yuicompressor will find this info usefull: yuicompressor arg yuig option --line-break line break --charset charset --nomunge minify only --disable-optimizations optimize code: Note this options has been reversed; YUIG will use --disable-optimizations if this options is NOT checked. -preserver-semi preserve semicolons non-sense yuicompressor args -v -h yuig handled yuicompressor args -o : Output file is filled with the path inserted in "Output" field. -type : YUIG uses the extension of the inserted resource files to determine which type to use. --------------- CHANGES --------------- 0.2.0 [2010/03/01] + line-break option implemented + charset option implemented 0.1.1 [2010/02/26] + now it is possible to change the path to an already inserted resource 0.1 [2010/02/25] + first release --------------- TODO --------------- + Project files: store selected files in a project to recover them in the future. + Compress each file in a separate file. Now, if you select multiple files, yuig joins output in a single file by default. + Add an icon to application! + Settings menu + Ask for yuicompressor path if it's not defined. + Linux port? --------------- AUTHOR --------------- YUIG was written and mantained by: Raúl Ferràs <raul.ferras@gmail.com> --------------- LICENSE --------------- YUIG code is available under GPL license. This software uses Qt Library 4.6.1 LGPL.