Permalink
Browse files

Adding windmill2 code to repository.

  • Loading branch information...
1 parent a8effa3 commit 8acec68be70dac26766e220c91efa573a858bc65 @mikeal mikeal committed Aug 19, 2009
Showing with 5,923 additions and 1 deletion.
  1. +1 −1 setup.py
  2. 0 windmill2/__init__.py
  3. 0 windmill2/browser/__init__.py
  4. +3 −0 windmill2/browser/extension/chrome.manifest
  5. +36 −0 windmill2/browser/extension/content/overlay.js
  6. +5 −0 windmill2/browser/extension/content/overlay.xul
  7. +19 −0 windmill2/browser/extension/install.rdf
  8. +13 −0 windmill2/browser/firefox.py
  9. 0 windmill2/castile/__init__.py
  10. +454 −0 windmill2/castile/events.py
  11. +469 −0 windmill2/castile/js/json2.js
  12. +147 −0 windmill2/castile/js/node.js
  13. +144 −0 windmill2/castile/ror.py
  14. +120 −0 windmill2/chat_push.html
  15. +71 −0 windmill2/chat_push.py
  16. +59 −0 windmill2/cli.py
  17. +75 −0 windmill2/docs/Makefile
  18. BIN windmill2/docs/_build/doctrees/environment.pickle
  19. BIN windmill2/docs/_build/doctrees/index.doctree
  20. +241 −0 windmill2/docs/_build/html/_sources/index.txt
  21. BIN windmill2/docs/_build/html/_static/contents.png
  22. +657 −0 windmill2/docs/_build/html/_static/default.css
  23. +232 −0 windmill2/docs/_build/html/_static/doctools.js
  24. BIN windmill2/docs/_build/html/_static/file.png
  25. +32 −0 windmill2/docs/_build/html/_static/jquery.js
  26. BIN windmill2/docs/_build/html/_static/minus.png
  27. BIN windmill2/docs/_build/html/_static/navigation.png
  28. BIN windmill2/docs/_build/html/_static/plus.png
  29. +61 −0 windmill2/docs/_build/html/_static/pygments.css
  30. +16 −0 windmill2/docs/_build/html/_static/rightsidebar.css
  31. +467 −0 windmill2/docs/_build/html/_static/searchtools.js
  32. +557 −0 windmill2/docs/_build/html/_static/sphinxdoc.css
  33. +19 −0 windmill2/docs/_build/html/_static/stickysidebar.css
  34. +700 −0 windmill2/docs/_build/html/_static/traditional.css
  35. +143 −0 windmill2/docs/_build/html/genindex.html
  36. +308 −0 windmill2/docs/_build/html/index.html
  37. +102 −0 windmill2/docs/_build/html/modindex.html
  38. +17 −0 windmill2/docs/_build/html/objects.inv
  39. +89 −0 windmill2/docs/_build/html/search.html
  40. +1 −0 windmill2/docs/_build/html/searchindex.js
  41. +190 −0 windmill2/docs/conf.py
  42. +241 −0 windmill2/docs/index.rst
  43. +95 −0 windmill2/push_test.html
  44. +97 −0 windmill2/tests/test_castile.py
  45. +42 −0 windmill2/wsgi_push.py
View
@@ -52,7 +52,7 @@
license='http://www.apache.org/licenses/LICENSE-2.0',
include_package_data = True,
packages = find_packages(exclude=['test', 'trac-files', 'tutorial', 'test.test_live', 'scripts',
- 'flash', 'contrib']),
+ 'flash', 'contrib', 'windmill2']),
package_data = {'': ['*.js', '*.css', '*.html', '*.txt', '*.xpi',
'*.crt', '*.key', '*.csr', 'cert8.db' ],},
platforms =['Any'],
No changes.
No changes.
@@ -0,0 +1,3 @@
+content windmill content/
+
+overlay chrome://browser/content/browser.xul chrome://windmill/content/overlay.xul
@@ -0,0 +1,36 @@
+// ***** BEGIN LICENSE BLOCK *****
+// Version: MPL 1.1/GPL 2.0/LGPL 2.1
+//
+// The contents of this file are subject to the Mozilla Public License Version
+// 1.1 (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+// http://www.mozilla.org/MPL/
+//
+// Software distributed under the License is distributed on an "AS IS" basis,
+// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+// for the specific language governing rights and limitations under the
+// License.
+//
+// The Original Code is Mozilla Corporation Code.
+//
+// The Initial Developer of the Original Code is
+// Mikeal Rogers.
+// Portions created by the Initial Developer are Copyright (C) 2009
+// the Initial Developer. All Rights Reserved.
+//
+// Contributor(s):
+// Mikeal Rogers <mikeal.rogers@gmail.com>
+//
+// Alternatively, the contents of this file may be used under the terms of
+// either the GNU General Public License Version 2 or later (the "GPL"), or
+// the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+// in which case the provisions of the GPL or the LGPL are applicable instead
+// of those above. If you wish to allow use of your version of this file only
+// under the terms of either the GPL or the LGPL, and not to allow others to
+// use your version of this file under the terms of the MPL, indicate your
+// decision by deleting the provisions above and replace them with the notice
+// and other provisions required by the GPL or the LGPL. If you do not delete
+// the provisions above, a recipient may use your version of this file under
+// the terms of any one of the MPL, the GPL or the LGPL.
+
+// This is where any special extension only initialization happens
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<overlay id="pushmarks-overlay"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <script src="overlay.js"/>
+</overlay>
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:em="http://www.mozilla.org/2004/em-rdf#">
+ <Description about="urn:mozilla:install-manifest">
+ <em:id>windmill@mozilla.com</em:id>
+ <em:name>Windmill</em:name>
+ <em:version>2.0</em:version>
+ <em:creator>Mikeal Rogers</em:creator>
+ <em:description>Windmill ROCKS!.</em:description>
+ <em:targetApplication>
+ <!-- Firefox -->
+ <Description>
+ <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
+ <em:minVersion>1.5</em:minVersion>
+ <em:maxVersion>3.2a1pre</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+ </Description>
+</RDF>
@@ -0,0 +1,13 @@
+import os, sys
+import tempfile
+from distutils import dir_util
+copytree = dir_util.copy_tree
+
+this_dir = os.path.abspath(os.path.dirname(__file__))
+windmill_dir = os.path.abspath(os.path.dirname(this_dir))
+
+def create_extension():
+ t = tempfile.mkdtemp(prefix='windmill2.')
+ copytree(os.path.join(this_dir, 'extension'), t)
+ copytree(os.path.join(windmill_dir, 'castile', 'js'), os.path.join(t, 'resource', 'castile'))
+ return t
No changes.
Oops, something went wrong. Retry.

0 comments on commit 8acec68

Please sign in to comment.