Permalink
Browse files

Re-doing Lighter repo because the SVN import SUCKED.

  • Loading branch information...
0 parents commit 168c320d6b526d52e4b591dffae13a2915640b32 Jose Prado committed Dec 13, 2009
Showing with 11,075 additions and 0 deletions.
  1. +27 −0 CHANGES.md
  2. +47 −0 Compress.sh
  3. +1 −0 Compressed/Flame.git.css
  4. +1 −0 Compressed/Flame.mocha.css
  5. +1 −0 Compressed/Flame.panic.css
  6. +1 −0 Compressed/Flame.standard.css
  7. +1 −0 Compressed/Flame.tutti.css
  8. +1 −0 Compressed/Flame.twilight.css
  9. +1 −0 Compressed/Fuel.css.js
  10. +1 −0 Compressed/Fuel.html.js
  11. +1 −0 Compressed/Fuel.js.js
  12. +1 −0 Compressed/Fuel.md.js
  13. +1 −0 Compressed/Fuel.php.js
  14. +1 −0 Compressed/Fuel.ruby.js
  15. +1 −0 Compressed/Fuel.shell.js
  16. +1 −0 Compressed/Fuel.sql.js
  17. +1 −0 Compressed/Lighter.js
  18. +1 −0 Compressed/ZeroClipboard.js
  19. +256 −0 Docs/Fuel.md
  20. +341 −0 Docs/Lighter.md
  21. +22 −0 Docs/Nav.md
  22. +94 −0 Docs/Wick.md
  23. +49 −0 Docs/index.php
  24. +2,909 −0 Docs/markdown.php
  25. +133 −0 Docs/styles.css
  26. +24 −0 LICENSE.md
  27. +103 −0 README.md
  28. +58 −0 Source/Fuel.css.js
  29. +60 −0 Source/Fuel.html.js
  30. +277 −0 Source/Fuel.js
  31. +60 −0 Source/Fuel.js.js
  32. +39 −0 Source/Fuel.md.js
  33. +69 −0 Source/Fuel.php.js
  34. +68 −0 Source/Fuel.ruby.js
  35. +46 −0 Source/Fuel.shell.js
  36. +54 −0 Source/Fuel.sql.js
  37. +375 −0 Source/Lighter.js
  38. +108 −0 Styles/Flame.git.css
  39. +105 −0 Styles/Flame.mocha.css
  40. +113 −0 Styles/Flame.panic.css
  41. +110 −0 Styles/Flame.standard.css
  42. +107 −0 Styles/Flame.tutti.css
  43. +108 −0 Styles/Flame.twilight.css
  44. +9 −0 TODO.md
  45. +101 −0 Templates/Flame.template.css
  46. +45 −0 Templates/Fuel.template.js
  47. +94 −0 Tests/Test.css.html
  48. +37 −0 Tests/Test.html.html
  49. +289 −0 Tests/Test.js.html
  50. +105 −0 Tests/Test.md.html
  51. +133 −0 Tests/Test.php.html
  52. +123 −0 Tests/Test.ruby.html
  53. +42 −0 Tests/Test.unit.html
  54. +277 −0 assets/ZeroClipboard.js
  55. BIN assets/ZeroClipboard.swf
  56. +4,036 −0 assets/mootools.core.js
  57. +6 −0 package.yml
@@ -0,0 +1,27 @@
+### Version 2.0 ###
+
+* Switched to Stylesheet based styles. As powerful as the dynamically generated styles are, stylesheets are just too simple to pass up.
+* Added "inline" option to mode so that output is wrapped in a CODE element. Useful for single line code like bash commands.
+* Added Markdown, Shell and SQL Fuel.
+* Added Espresso inspired theme Tutti.
+* Removed circular dependencies so that Fuel works together with Lighter but isn't dependent on it.
+* Fixed bug where Fuel rules object was being reused across fuels. Was causing a race condition with different results each time.
+* Fixed incorrectly labeled single line string rules and added multi-line string rules.
+
+### Version 1.5.1 ###
+
+* Fixed path finding bug where scripts with query strings would break the search.
+
+### Version 1.5 ###
+
+* Elements to be highlighted can now have more than one class. Lighter.js will simply use the first class as the fuel:flame combo.
+* Path is determined automatically based on the include path of Lighter.js. Can still be set via options if needed.
+* Better dynamic loading of Fuel/Flame scripts if they aren't already included in the page with Try/Catch blocks.
+* Flat repository for easy deployment via SVN. Ready to use by simply linking to the Lighter.js file.
+* Flame.js creates only one style element and injects all rules into that container.
+* Flame.js optimized by creating the full styles string and then injecting into the head of the document once rather than once per rules.
+* Basic "copy to clipboard" functionality added via the "clipboard" option. You provide the DOM element for now, Lighter.js will take care of attaching the necessary code and events.
+
+### Version 1.0 ###
+
+* Initial Release
@@ -0,0 +1,47 @@
+#!/bin/bash
+YUI=/usr/local/bin/yuicompressor
+
+if [ ! -d Source ] ; then
+ echo "Source folder is missing."
+ exit 1
+fi
+
+if [ ! -d Compressed ] ; then
+ echo "Creating Compressed folder."
+ mkdir Compressed
+else
+ echo "Recreating Compressed folder."
+ rm -rf Compressed
+ mkdir Compressed
+fi
+
+cd Source
+
+echo "Joining Lighter/Fuel"
+cat Lighter.js > Lighter.full.js
+cat Fuel.js >> Lighter.full.js
+
+echo "Compressing Lighter.js."
+java -jar $YUI -o ../Compressed/Lighter.js Lighter.full.js
+
+echo "Removing temp Lighter.full.js file."
+rm Lighter.full.js
+
+echo "Compressing Fuels."
+for file in Fuel.*.js ; do
+ java -jar $YUI -o ../Compressed/$file $file
+ echo $file
+done
+
+cd ../Styles
+
+echo "Compressing Flames."
+for file in Flame.*.css ; do
+ java -jar $YUI -o ../Compressed/$file $file
+ echo $file
+done
+
+cd ../assets
+
+echo "Compressing final files."
+java -jar $YUI -o ../Compressed/ZeroClipboard.js ZeroClipboard.js
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 168c320

Please sign in to comment.