Граф коммитов

  • 90e42811bc added better exception messages to jQuery.fn.fillError() and a test suite for errors.jquery.js. Atul Varma 2012-05-01 12:00:00 -0400
  • d2d40fed14 fixed old links to old location of spec. Atul Varma 2012-05-01 11:10:33 -0400
  • 57c3bbe7be fixed broken link in spec, added links to annotated source code. Atul Varma 2012-05-01 10:53:55 -0400
  • d7bbb3ff41 added docco docs to spec/errors.jquery.js and pointed to them from readme. Atul Varma 2012-05-01 10:50:58 -0400
  • fde44c1077 Moved the specification and its dependencies to the 'spec' directory. Among other things, this makes the specification "production" code whose utility libraries, particularly errors.jquery.js, can be used by clients. (Everything in 'demo' is still experimental hacked-together stuff.) Atul Varma 2012-05-01 10:09:28 -0400
  • a24f98ca99 Removed demo, spec, and editor's dependency on underscore.js by embedding its template functionality in errors.jquery.js (as our error message logic is the only thing that requires templating). Atul Varma 2012-05-01 09:59:13 -0400
  • 60db7fba25 error name title in spec.html is now set to the expected error type rather than the real one. Atul Varma 2012-04-30 19:36:36 -0400
  • ae0a24355c added a note about tree-inspectors.js to spec.html. Atul Varma 2012-04-30 19:24:08 -0400
  • ee7817dddc fixed minor cosmetic bugs in spec.html. Atul Varma 2012-04-30 19:21:47 -0400
  • 111409eabf pass templateSettings to _.template() instead of defining it globally. Atul Varma 2012-04-30 19:16:01 -0400
  • 32f9e840c1 more refactoring to reduce DRY violations in error highlighting code. Atul Varma 2012-04-30 19:11:27 -0400
  • 97efb0b167 replaced duplicate error loading/filling logic w/ a new file, errors.jquery.js. Atul Varma 2012-04-30 18:37:14 -0400
  • c4da82c2b0 FORBIDJS errors are now in the spec. Atul Varma 2012-04-30 17:10:12 -0400
  • 32a23cdc35 changed /demo/ and /demo/spec.html to use errors.base.html. Atul Varma 2012-04-30 16:05:07 -0400
  • 2f585da31b separated error-msgs.html out into errors.base.html and errors.forbidjs.html. Atul Varma 2012-04-30 16:01:49 -0400
  • 445761d70f Added a simple optional 'error detectors' argument to Slowparse.HTML which allows some kinds of error detection to be optional. Atul Varma 2012-04-30 15:46:12 -0400
  • 7d6180381e add regression test for #32. Atul Varma 2012-04-30 13:40:14 -0400
  • 854f91168e Merge pull request #31 from Pomax/gh-pages Atul Varma 2012-04-30 10:30:26 -0700
  • 1119ee4fd3 Merge e80f1af07f into 155cc6d903 GitHub Merge Button 2012-04-30 10:25:04 -0700
  • e80f1af07f comment parsing fix due to firefox rejecting createComment('--') and variations U-MICHIELKAMECC18\Pomax 2012-04-30 13:23:03 -0400
  • 155cc6d903 Replaced noscript.slowparse.js with tree-inspectors.js. The new library just contains utility functions for inspecting the DOM tree generated by slowparse, and has no hard dependencies on slowparse--clients of it, like the editor, can trivially use the .parseInfo property of nodes returned by an inspector to map back to the original source code if necessary. Atul Varma 2012-04-30 11:40:31 -0400
  • ea30180665 use wpm.toolness.org as the dev wpm backend. Atul Varma 2012-04-27 12:17:25 -0500
  • 1d9f53ecb3 Merge pull request #26 from Pomax/gh-pages Atul Varma 2012-04-27 09:06:23 -0700
  • ca9967fbb1 Merge f12458c8f6 into 42f09b6d0e GitHub Merge Button 2012-04-27 09:03:08 -0700
  • f12458c8f6 added css 'src' property so that things like font-face don't break Michiel Kamermans 2012-04-27 12:00:54 -0400
  • 42f09b6d0e Added a test to make sure that code in <script> tags isn't accidentally executed during parsing. (It's only executed if the generated document fragment is appended to the document.) Atul Varma 2012-04-27 10:29:52 -0500
  • 2b4f2c9cf0 The editor now provides instant feedback to users when they try adding the most common forms of JavaScript to their page, and directs them to jsbin/jsfiddle if they really need JS support. Atul Varma 2012-04-27 09:46:18 -0500
  • 0b227c0bbf split out all the utility functions from test-slowparse.js into a separate file, testing-utils.js. Atul Varma 2012-04-27 09:32:45 -0500
  • b8ac4fc424 renamed assertParseInfo() to assertParseIntervals(), which is hopefully less misleading. Atul Varma 2012-04-27 09:30:19 -0500
  • e42fadfb94 changed test-noscript.js to use assertParseInfo(). Atul Varma 2012-04-27 09:28:16 -0500
  • 86dda427b6 Parsing of HTML is now case-insensitive, and lowercased names of tags/attrs are passed to DOMBuilder. Atul Varma 2012-04-27 09:21:58 -0500
  • 01a2cef413 Added a plugin/extension called `noscript.slowparse.js` which adds a `NoscriptDOMBuilder` class that can be used to pre-emptively warn the user that their JS won't be honored. It's not intended as a sanitizer--merely as a way to provide real-time feedback to users that their JS will be stripped. Atul Varma 2012-04-27 08:54:36 -0500
  • a57cfae7a0 The editor now only checks for HTML errors and refreshes the preview 300 milliseconds after the most recent user keypress. This is how lovebomb.me etc. work and it's particularly helpful for making the app feel responsive. For our error reporting, it's also nice because it means that "errors" the user doesn't need to see won't be shown if they type fast enough, as the user is "correcting" their errors before Slowparse is called upon to evaluate the HTML. Atul Varma 2012-04-26 16:19:58 -0500
  • 6aa1184106 added a link to my new blog post 'Learning and Grammatical Forgiveness' in the readme. Atul Varma 2012-04-26 09:46:46 -0500
  • 619e0f0558 changed comment to read nicer, especially in docco. Atul Varma 2012-04-25 16:38:01 -0500
  • 83034bf52e Parsing of self-closing tags for void elements now works. Added SELF_CLOSING_NON_VOID_ELEMENT error for the other tags. This fixes #23. Atul Varma 2012-04-25 16:15:50 -0500
  • b703ad0150 Added CLOSE_TAG_FOR_VOID_ELEMENT error type, which fixes #20. Atul Varma 2012-04-25 15:40:02 -0500
  • 4d702d8c7c Merge branch 'gh-pages' of github.com:toolness/slowparse into gh-pages Atul Varma 2012-04-25 15:28:29 -0500
  • 42e764aeea Added .gitignore. Atul Varma 2012-04-25 15:28:20 -0500
  • c46a834ce3 Merge pull request #22 from Pomax/gh-pages Atul Varma 2012-04-25 12:30:24 -0700
  • 3b3956cd4e Merge 2f469194d9 into 5ec7a4ca72 GitHub Merge Button 2012-04-25 11:36:58 -0700
  • 2f469194d9 added unit test for vendor-prefix CSS Mike Kamermans 2012-04-25 14:36:44 -0400
  • 6974c70076 added vendor prefix stripping for CSS Mike Kamermans 2012-04-25 09:40:45 -0400
  • 5ec7a4ca72 Merge pull request #19 from Pomax/gh-pages Atul Varma 2012-04-24 15:30:30 -0700
  • 90835af425 Merge 08991f8516 into 05aef68ebb GitHub Merge Button 2012-04-24 15:13:15 -0700
  • 08991f8516 had the modal dialog in the wrong place Mike Kamermans 2012-04-24 18:13:02 -0400
  • e83b69aa26 upstream gh-page sync Mike Kamermans 2012-04-24 18:03:01 -0400
  • a6a5e817bf some fonts (google webfonts) and the publish button Mike Kamermans 2012-04-24 17:57:54 -0400
  • 8c3ffccece IE specific CSS filter Mike Kamermans 2012-04-24 15:28:34 -0400
  • 42a716c89f made things work on IE, Chrome and Firefox Mike Kamermans 2012-04-24 14:05:48 -0400
  • 3cb9fb888f restyled editor page Mike Kamermans 2012-04-24 10:48:10 -0400
  • 05aef68ebb added very rudimentary error messaging when publishing in editor. Atul Varma 2012-04-24 09:41:43 -0500
  • e68decd7f4 added very basic publish/remix functionality courtesy of webpagemakerapi.vcap.mozillalabs.com. Atul Varma 2012-04-23 19:12:01 -0500
  • cf84a15f9b added link to test suite in README.md. Atul Varma 2012-04-23 17:51:33 -0500
  • fd1f2f43aa added link to docco source code in README.md. Atul Varma 2012-04-23 17:50:02 -0500
  • 815fef5c03 Added docco's 'docs' directory to .gitignore. Atul Varma 2012-04-23 17:43:56 -0500
  • f0bab7cac3 fixed broken CSS unit test and added another 'MISSING_CSS_SELECTOR works after comment' test. Atul Varma 2012-04-23 14:48:14 -0500
  • a3e38db8fb Added an UNTERMINATED_CSS_COMMENT error type. Atul Varma 2012-04-23 14:31:37 -0500
  • 20f37d5f82 added a failing test for an empty CSS sheet w/ a comment. Atul Varma 2012-04-23 14:22:10 -0500
  • 1ae2c169d4 Enforced maximum column length of 79 characters. Atul Varma 2012-04-23 13:44:04 -0500
  • e37461790e Merge branch 'pomax-gh-pages' into gh-pages Atul Varma 2012-04-23 11:58:26 -0500
  • b5e3a1d075 Merge c094366660 into 7df7ccb64c GitHub Merge Button 2012-04-23 09:57:18 -0700
  • 7df7ccb64c Rearranged the ordering of HTMLParser function definitions to make the workings of the class easier to understand. Atul Varma 2012-04-23 11:57:13 -0500
  • 0962ff44f4 Inlined HTMLParser._parseQuotedAttributeValue(), since it was only used once and just made the code harder to understand. Atul Varma 2012-04-23 11:46:25 -0500
  • c094366660 bugfix for incorrect error signal on an empty declaration block that is not 'empty' due to comments only Mike Kamermans 2012-04-23 12:45:05 -0400
  • a61d720097 removed one of the failing tests from my last commit, as it's not truly a valid test. Atul Varma 2012-04-23 11:36:18 -0500
  • 0ef31d380c added two failing tests for CSS comments Atul Varma 2012-04-23 11:30:28 -0500
  • b17fdcdb19 slightly better docs for CSSParser.stripComments() and Stream.eatCSSWhile(). Atul Varma 2012-04-23 11:10:54 -0500
  • 3adf7057b7 Merge branch 'pomax-gh-pages' into gh-pages Atul Varma 2012-04-23 10:56:08 -0500
  • 22419e2f6c Merge branch 'pomax-gh-pages' into gh-pages, docco-ified some of the comments. Atul Varma 2012-04-23 10:54:11 -0500
  • d9f137d287 css comments unit test Mike Kamermans 2012-04-23 11:48:13 -0400
  • db72f460ad added css comment unit test Mike Kamermans 2012-04-23 11:40:27 -0400
  • 2e3b00503a finished docco-ifying slowparse.js. Atul Varma 2012-04-23 10:25:18 -0500
  • ba48425d32 rogue semi-color Mike Kamermans 2012-04-23 10:48:02 -0400
  • 6ff7150fe9 css comment parsing, with comment block recording in the css parseInfo Mike Kamermans 2012-04-23 10:46:06 -0400
  • 43881ca1f6 Removed unused CSSParser.currentRuleSet variable. Atul Varma 2012-04-23 09:43:51 -0500
  • 363defa95d docco-ified CSSParser. Atul Varma 2012-04-23 09:42:43 -0500
  • ca9621fb37 docco-ified the Stream class. Atul Varma 2012-04-23 08:54:18 -0500
  • 5b3ccb0c8b Changed the comment docs up to (but not including) the Stream class to be more docco/literate-programming-friendly. Atul Varma 2012-04-23 08:35:21 -0500
  • 73b23170c9 fix some errant 4-space indentation to be 2-space indentation. Atul Varma 2012-04-23 07:54:00 -0500
  • 80131f8f87 ParseError now only takes a string, rather than a string or a parseInfo object. Atul Varma 2012-04-23 07:49:05 -0500
  • fbf5b8dce0 More documentation to slowparse.js. Atul Varma 2012-04-23 07:43:06 -0500
  • 3695ce07a3 Merge pull request #16 from Pomax/gh-pages Atul Varma 2012-04-20 13:15:53 -0700
  • 6702af644e Merge 662ec47855 into fef7a7f470 GitHub Merge Button 2012-04-20 13:14:19 -0700
  • fef7a7f470 added some comments/docs to editor.js. Atul Varma 2012-04-20 14:46:54 -0500
  • 662ec47855 typo fixes Mike Kamermans 2012-04-20 16:09:43 -0400
  • 03b9bfc80e fixed up slowparse so that it passes unit tests, fixes in error messages and spec to match Mike Kamermans 2012-04-20 16:02:40 -0400
  • 6d251df3ed updated spec Mike Kamermans 2012-04-20 13:36:21 -0400
  • 9f33216a89 updated slowparse with much better CSS error reporting, and source documentation. still need to update the spec/unit tests Mike Kamermans 2012-04-20 11:58:57 -0400
  • 1e34c19933 only show help on things that we have help strings on. Atul Varma 2012-04-18 14:44:18 -0500
  • 3488d44da0 Regression test for #6. Atul Varma 2012-04-18 14:04:42 -0500
  • 5912f6520a added support for boolean attributes. Atul Varma 2012-04-18 14:01:49 -0500
  • 50cfffff87 fixed another end-of-stream error bug. Atul Varma 2012-04-18 13:37:43 -0500
  • 98d8926d21 Fixed #7, 'HTML comments are unsupported'. Atul Varma 2012-04-18 13:26:38 -0500
  • 7c0fc173a4 add support for parsing basic HTML5 doctype (but not generalized doctypes). Also added stream.match() for strings. Atul Varma 2012-04-18 12:58:06 -0500
  • edb479c54c moved JS code from editor/index.html to a new file. Atul Varma 2012-04-18 12:12:02 -0500
  • ae712d3fd3 added basic context-sensitive help on CSS selectors to editor. Atul Varma 2012-04-18 09:43:58 -0500
  • 83accc5a58 in editor, fixed a bug w/ context-sensitive help on document change. Atul Varma 2012-04-18 08:13:55 -0500
  • 09b92d4a8d minor CSS tweak to editor Atul Varma 2012-04-18 08:07:58 -0500
  • a2967555ba added more vendor-prefixed CSS properties. Atul Varma 2012-04-18 08:07:00 -0500