Permalink
Browse files

Incorporated contribution by Boris Zbarsky from Mozilla of extract-id…

…l.py

script, which has been hooked in through a Makefile to produce webgl.idl
directly from the spec. This has cleaned up a few differences between the spec
and IDL that slipped through the cracks until now. Added one comment to the spec
that was desired in the IDL and updated the modified date. Added Boris as a
contributor.


git-svn-id: https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl@17334 e7fa87d3-cd2b-0410-9028-fcbf551c1848
  • Loading branch information...
1 parent 0f49329 commit d56b57e165d52fccc39f9977f364ed0093c07a46 kbr_google committed Apr 4, 2012
Showing with 14,580 additions and 27 deletions.
  1. +22 −0 resources/html5lib/LICENSE
  2. +2 −0 resources/html5lib/README
  3. +17 −0 resources/html5lib/src/html5lib/__init__.py
  4. +3,085 −0 resources/html5lib/src/html5lib/constants.py
  5. 0 resources/html5lib/src/html5lib/filters/__init__.py
  6. +10 −0 resources/html5lib/src/html5lib/filters/_base.py
  7. +127 −0 resources/html5lib/src/html5lib/filters/formfiller.py
  8. +62 −0 resources/html5lib/src/html5lib/filters/inject_meta_charset.py
  9. +88 −0 resources/html5lib/src/html5lib/filters/lint.py
  10. +202 −0 resources/html5lib/src/html5lib/filters/optionaltags.py
  11. +8 −0 resources/html5lib/src/html5lib/filters/sanitizer.py
  12. +41 −0 resources/html5lib/src/html5lib/filters/whitespace.py
  13. +2,733 −0 resources/html5lib/src/html5lib/html5parser.py
  14. +177 −0 resources/html5lib/src/html5lib/ihatexml.py
  15. +782 −0 resources/html5lib/src/html5lib/inputstream.py
  16. +258 −0 resources/html5lib/src/html5lib/sanitizer.py
  17. +17 −0 resources/html5lib/src/html5lib/serializer/__init__.py
  18. +312 −0 resources/html5lib/src/html5lib/serializer/htmlserializer.py
  19. +9 −0 resources/html5lib/src/html5lib/serializer/xhtmlserializer.py
  20. +5 −0 resources/html5lib/src/html5lib/tests/README
  21. +12 −0 resources/html5lib/src/html5lib/tests/__init__.py
  22. +37 −0 resources/html5lib/src/html5lib/tests/mockParser.py
  23. +30 −0 resources/html5lib/src/html5lib/tests/performance/concatenation.py
  24. +27 −0 resources/html5lib/src/html5lib/tests/runparsertests.py
  25. +20 −0 resources/html5lib/src/html5lib/tests/runtests.py
  26. +127 −0 resources/html5lib/src/html5lib/tests/support.py
  27. +54 −0 resources/html5lib/src/html5lib/tests/test_encoding.py
  28. +296 −0 resources/html5lib/src/html5lib/tests/test_formfiller.py
  29. +140 −0 resources/html5lib/src/html5lib/tests/test_parser.py
  30. +39 −0 resources/html5lib/src/html5lib/tests/test_parser2.py
  31. +76 −0 resources/html5lib/src/html5lib/tests/test_sanitizer.py
  32. +180 −0 resources/html5lib/src/html5lib/tests/test_serializer.py
  33. +97 −0 resources/html5lib/src/html5lib/tests/test_stream.py
  34. +193 −0 resources/html5lib/src/html5lib/tests/test_tokenizer.py
  35. +311 −0 resources/html5lib/src/html5lib/tests/test_treewalkers.py
  36. +123 −0 resources/html5lib/src/html5lib/tests/test_whitespace_filter.py
  37. +64 −0 resources/html5lib/src/html5lib/tests/tokenizertotree.py
  38. +3 −0 resources/html5lib/src/html5lib/tests/us-ascii.html
  39. +3 −0 resources/html5lib/src/html5lib/tests/utf-8-bom.html
  40. +1,744 −0 resources/html5lib/src/html5lib/tokenizer.py
  41. +96 −0 resources/html5lib/src/html5lib/treebuilders/__init__.py
  42. +377 −0 resources/html5lib/src/html5lib/treebuilders/_base.py
  43. +291 −0 resources/html5lib/src/html5lib/treebuilders/dom.py
  44. +344 −0 resources/html5lib/src/html5lib/treebuilders/etree.py
  45. +336 −0 resources/html5lib/src/html5lib/treebuilders/etree_lxml.py
  46. +256 −0 resources/html5lib/src/html5lib/treebuilders/simpletree.py
  47. +236 −0 resources/html5lib/src/html5lib/treebuilders/soup.py
  48. +52 −0 resources/html5lib/src/html5lib/treewalkers/__init__.py
  49. +176 −0 resources/html5lib/src/html5lib/treewalkers/_base.py
  50. +41 −0 resources/html5lib/src/html5lib/treewalkers/dom.py
  51. +141 −0 resources/html5lib/src/html5lib/treewalkers/etree.py
  52. +70 −0 resources/html5lib/src/html5lib/treewalkers/genshistream.py
  53. +186 −0 resources/html5lib/src/html5lib/treewalkers/lxmletree.py
  54. +60 −0 resources/html5lib/src/html5lib/treewalkers/pulldom.py
  55. +78 −0 resources/html5lib/src/html5lib/treewalkers/simpletree.py
  56. +60 −0 resources/html5lib/src/html5lib/treewalkers/soup.py
  57. +175 −0 resources/html5lib/src/html5lib/utils.py
  58. +14 −0 specs/latest/Makefile
  59. +37 −0 specs/latest/extract-idl.py
  60. +8 −7 specs/latest/index.html
  61. +13 −20 specs/latest/webgl.idl
@@ -0,0 +1,22 @@
+Copyright (c) 2006-2011 The Authors
+
+Contributors:
+James Graham - jg307@cam.ac.uk
+Anne van Kesteren - annevankesteren@gmail.com
+Lachlan Hunt - lachlan.hunt@lachy.id.au
+Matt McDonald - kanashii@kanashii.ca
+Sam Ruby - rubys@intertwingly.net
+Ian Hickson (Google) - ian@hixie.ch
+Thomas Broyer - t.broyer@ltgt.net
+Jacques Distler - distler@golem.ph.utexas.edu
+Henri Sivonen - hsivonen@iki.fi
+Adam Barth - abarth@webkit.org
+Eric Seidel - eric@webkit.org
+The Mozilla Foundation (contributions from Henri Sivonen since 2008)
+David Flanagan (Mozilla) - dflanagan@mozilla.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,2 @@
+This is an unmodified copy of the Python 2.6 sources of the html5lib
+library from http://code.google.com/p/html5lib/ .
@@ -0,0 +1,17 @@
+"""
+HTML parsing library based on the WHATWG "HTML5"
+specification. The parser is designed to be compatible with existing
+HTML found in the wild and implements well-defined error recovery that
+is largely compatible with modern desktop web browsers.
+
+Example usage:
+
+import html5lib
+f = open("my_document.html")
+tree = html5lib.parse(f)
+"""
+__version__ = "0.95-dev"
+from html5parser import HTMLParser, parse, parseFragment
+from treebuilders import getTreeBuilder
+from treewalkers import getTreeWalker
+from serializer import serialize
Oops, something went wrong. Retry.

0 comments on commit d56b57e

Please sign in to comment.