Permalink
Browse files

+ Began working on the Library. Moved code from web-zui.js to librar…

…y.js, and added intro.js and outro.js.
  • Loading branch information...
curiousdannii committed Sep 10, 2009
1 parent 8096744 commit 3e01cce31070ab9f59e24684212ff8948e86f4a4
Showing with 5,362 additions and 2,405 deletions.
  1. +9 −0 CHANGES
  2. +339 −0 LICENCE
  3. +41 −2 build.py
  4. +0 −9 lib/base2.min.js
  5. +63 −0 lib/extras.min.js
  6. +0 −1 lib/gnusto-engine.min.js
  7. +0 −1 lib/gnusto-engine.pack.js
  8. +1 −0 lib/gnusto.min.js
  9. +1 −1 lib/jquery.min.js
  10. +0 −11 lib/jquery.pack.js
  11. +1 −0 lib/parchment.min.js
  12. +21 −22 parchment.full.html
  13. +8 −22 parchment.html
  14. +15 −0 parchment.manifest
  15. +8 −0 src/gnusto/CHANGES
  16. +6 −0 src/gnusto/CONTRIBUTORS
  17. +339 −0 src/gnusto/LICENCE
  18. +33 −0 src/gnusto/README
  19. +99 −39 { → src/gnusto}/gnusto-engine.js
  20. +0 −1,678 src/lib/base2.js
  21. +1,052 −0 src/lib/extras.js
  22. +0 −244 src/lib/jquery.hotkeys.js
  23. +1,578 −0 src/lib/parchment.js
  24. 0 { → src/parchment}/beret.js
  25. 0 { → src/parchment}/console.js
  26. +2 −0 { → src/parchment}/engine-runner.js
  27. 0 { → src/parchment}/error-handling.js
  28. +113 −162 src/parchment/file.js
  29. +13 −0 src/parchment/intro.js
  30. +234 −0 src/parchment/library.js
  31. +45 −0 src/parchment/outro.js
  32. 0 { → src/parchment}/querystring.js
  33. +8 −4 { → src/parchment}/remedial.js
  34. +27 −17 src/parchment/ui.js
  35. +20 −120 { → src/parchment}/web-zui.js
  36. +68 −0 src/plugins/class.js
  37. +66 −0 src/plugins/iff.js
  38. +3 −2 src/plugins/jquery.hotkeys.js
  39. +3 −2 src/plugins/jquery.mousewheel.js
  40. +6 −4 { → tests}/base64.js
  41. +175 −0 tests/load.html
  42. +803 −0 tests/testrunner.js
  43. +120 −0 tests/testsuite.css
  44. 0 { → tools}/create_minified_files.py
  45. 0 { → tools}/jsmin.py
  46. 0 { → tools}/json.py
  47. 0 { → tools}/run_tests.py
  48. 0 { → tools}/server.py
  49. BIN { → tools}/yuicompressor-2.4.2.jar
  50. 0 { → tools}/zcode2js.css
  51. +1 −1 { → tools}/zcode2js.js
  52. 0 { → tools}/zcode2js.py
  53. +17 −25 zcode.html
  54. +24 −38 zcode2js.html
View
@@ -0,0 +1,9 @@
+Change log started August 2009.
+
+September 2009
+================================================================================
+ + Began working on the Library. Moved code from web-zui.js to library.js, and added intro.js and outro.js.
+
+August 2009
+================================================================================
+ + Added base64 functions that use native functions if available. (file.js, base64.js obsoleted)
View
339 LICENCE

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,9 +1,48 @@
import os
+import re
+
+includes = (
+ ('src/lib/extras.js', (
+ 'src/plugins/class.js',
+ 'src/plugins/iff.js',
+ 'src/plugins/jquery.mousewheel.js',
+ 'src/plugins/jquery.hotkeys.js',
+ 'src/parchment/querystring.js',
+ 'src/parchment/remedial.js',
+ 'src/parchment/error-handling.js',
+ 'src/parchment/beret.js',
+ 'src/parchment/intro.js',
+ 'src/parchment/file.js',
+ )),
+ ('src/lib/parchment.js', (
+ 'src/parchment/ui.js',
+ 'src/parchment/engine-runner.js',
+ 'src/parchment/console.js',
+ 'src/parchment/web-zui.js',
+ 'src/parchment/library.js',
+ 'src/parchment/outro.js',
+ )),
+)
compress = (
- ('gnusto-engine.js', 'lib/gnusto-engine.min.js'),
+ ('src/gnusto/gnusto-engine.js', 'lib/gnusto.min.js'),
+ ('src/lib/extras.js', 'lib/extras.min.js'),
+ ('src/lib/parchment.js', 'lib/parchment.min.js'),
)
+comments = re.compile(';;;.+$', re.M)
+
+# Combine source files together to make 'packages'
+for package in includes:
+ output = open(package[0], 'w')
+ for include in package[1]:
+ data = file(include).read()
+ # Strip out lines beginning with ;;;
+ data = comments.sub('', data)
+ output.write(data)
+ output.close()
+
+# Compress these files, requires the YUI Compressor. Icky Java
for file in compress:
- command = 'java -jar yuicompressor-2.4.2.jar %s -o %s' % (file[0], file[1])
+ command = 'java -jar tools/yuicompressor-2.4.2.jar %s -o %s' % (file[0], file[1])
os.system(command)
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,25 +1,26 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width" />
- <link rel="stylesheet" type="text/css" media="all" href="parchment.css" />
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width">
+ <link rel="stylesheet" type="text/css" href="parchment.css">
<title>Parchment</title>
- <script type="text/javascript" src="./src/lib/base2.js"></script>
- <script type="text/javascript" src="./src/lib/jquery.js"></script>
- <script type="text/javascript" src="./src/plugins/jquery.mousewheel.js"></script>
- <script type="text/javascript" src="./src/plugins/jquery.hotkeys.js"></script>
- <script type="text/javascript" src="querystring.js"></script>
- <script type="text/javascript" src="remedial.js"></script>
- <script type="text/javascript" src="base64.js"></script>
- <script type="text/javascript" src="error-handling.js"></script>
- <script type="text/javascript" src="beret.js"></script>
- <script type="text/javascript" src="./src/parchment/file.js"></script>
- <script type="text/javascript" src="./gnusto-engine.js"></script>
- <script type="text/javascript" src="engine-runner.js"></script>
- <script type="text/javascript" src="console.js"></script>
- <script type="text/javascript" src="web-zui.js"></script>
+ <script src="src/lib/jquery.js"></script>
+ <script src="src/plugins/class.js"></script>
+ <script src="src/plugins/iff.js"></script>
+ <script src="src/plugins/jquery.mousewheel.js"></script>
+ <script src="src/plugins/jquery.hotkeys.js"></script>
+ <script src="src/parchment/querystring.js"></script>
+ <script src="src/parchment/remedial.js"></script>
+ <script src="src/parchment/error-handling.js"></script>
+ <script src="src/parchment/beret.js"></script>
+ <script src="src/parchment/intro.js"></script>
+ <script src="src/parchment/file.js"></script>
+ <script src="src/parchment/ui.js"></script>
+ <script src="src/parchment/console.js"></script>
+ <script src="src/parchment/web-zui.js"></script>
+ <script src="src/parchment/library.js"></script>
+ <script src="src/parchment/outro.js"></script>
</head>
<body>
<div id="top-window" class="buffered-window"></div>
@@ -32,7 +33,5 @@
</div>
<div id="bottom"></div>
<div id="pastebox"><input id="pasteinput"></div>
-<script src="http://www.google-analytics.com/ga.js"></script>
-<script>try {var t = _gat._getTracker("UA-7949545-1"); t._trackPageview();} catch(e) {}</script>
</body>
</html>
View
@@ -1,25 +1,13 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE html>
+<html>
<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width" />
- <link rel="stylesheet" type="text/css" media="all" href="parchment.css" />
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width">
+ <link rel="stylesheet" type="text/css" href="parchment.css">
<title>Parchment</title>
- <script type="text/javascript" src="./lib/base2.min.js"></script>
- <script type="text/javascript" src="./lib/jquery.min.js"></script>
- <script type="text/javascript" src="./src/plugins/jquery.mousewheel.js"></script>
- <script type="text/javascript" src="./src/plugins/jquery.hotkeys.js"></script>
- <script type="text/javascript" src="querystring.js"></script>
- <script type="text/javascript" src="remedial.js"></script>
- <script type="text/javascript" src="base64.js"></script>
- <script type="text/javascript" src="error-handling.js"></script>
- <script type="text/javascript" src="beret.js"></script>
- <script type="text/javascript" src="./src/parchment/file.js"></script>
- <script type="text/javascript" src="./lib/gnusto-engine.min.js"></script>
- <script type="text/javascript" src="engine-runner.js"></script>
- <script type="text/javascript" src="console.js"></script>
- <script type="text/javascript" src="web-zui.js"></script>
+ <script src="lib/jquery.min.js"></script>
+ <script src="lib/extras.min.js"></script>
+ <script src="lib/parchment.min.js"></script>
</head>
<body>
<div id="top-window" class="buffered-window"></div>
@@ -32,7 +20,5 @@
</div>
<div id="bottom"></div>
<div id="pastebox"><input id="pasteinput"></div>
-<script src="http://www.google-analytics.com/ga.js"></script>
-<script>try {var t = _gat._getTracker("UA-7949545-1"); t._trackPageview();} catch(e) {}</script>
</body>
</html>
View
@@ -0,0 +1,15 @@
+CACHE MANIFEST
+
+# Parchment offline cache manifest
+# r157
+
+#parchment.html
+#parchment.css
+#lib/jquery.min.js
+#lib/extras.min.js
+#lib/gnusto.min.js
+#lib/parchment.min.js
+
+NETWORK:
+# Don't cache the games themselves... though I would't have thought this would be required?
+http://parchment.toolness.com
View
@@ -0,0 +1,8 @@
+Change log started July 2009.
+
+July 2009
+================================================================================
+ + Set the Z Machine Spec version header
+ + The optimised storew opcode would not correctly account for negative addresses.
+ + Inlined the ge_varcode_set() call in ge_func_return()
+ + Inlined calls to getWord() in handleZ_loadw() and ge_get_prop()
View
@@ -0,0 +1,6 @@
+* Gnusto contributors *
+Thomas Thurman <tthurman@gnome.org>
+Eric Liga <naltrexone42@yahoo.com>
+Atul Varma <varmaa@gmail.com>
+Fredrik Ramsberg <fredrik.ramsberg@gmail.com>
+Dannii Willis <curiousdannii@gmail.com>
Oops, something went wrong.

0 comments on commit 3e01cce

Please sign in to comment.