Commit Graph
100 Commits
Author SHA1 Message Date
Jeff Avallone c6af61659f Adding documentation to repeat.js and some logic simplification 2015-04-23 19:31:36 -04:00
Jeff Avallone 6beeddb83a Adding documentation to repeat_spec.js 2015-04-23 19:08:35 -04:00
Jeff Avallone beb5a6fb52 Adding documentation to repeat_required.js 2015-04-21 20:53:11 -04:00
Jeff Avallone bd67d7826e Adding documentation to repeat_optional.js 2015-04-21 20:52:21 -04:00
Jeff Avallone 042d44c044 Adding documentation to repeat_any.js 2015-04-21 20:51:27 -04:00
Jeff Avallone 01e920c31c Adding documentation to regexp.js 2015-04-21 20:48:12 -04:00
Jeff Avallone 1b03663473 Adding documentation to match.js 2015-04-21 20:24:56 -04:00
Jeff Avallone ce41796f8b Adding documentation to match_fragment.js 2015-04-21 20:24:56 -04:00
Jeff Avallone 424eca0a2a Adding documentation to literal.js 2015-04-21 20:24:56 -04:00
Jeff Avallone 51c2f87765 Adding documentation to escape.js 2015-04-21 20:24:56 -04:00
Jeff Avallone d8a635fa8f Adding documentation to charset_range.js 2015-04-21 20:24:53 -04:00
Jeff Avallone 7ca4b95cd7 Adding documentation to charset.js 2015-04-21 20:24:49 -04:00
Jeff Avallone c22656a75d Adding documentation to charset_escape.js 2015-04-21 20:24:46 -04:00
Jeff Avallone 01abba224a Adding documentation to any_character.js 2015-04-21 20:24:41 -04:00
Jeff Avallone 2777da518e Replacing an array join with a JS template 2015-04-19 16:45:06 -04:00
Jeff Avallone 1ef8bd7500 Adding documentation and a few tweaks to node.js 2015-04-19 16:40:53 -04:00
Jeff Avallone 8796c1329c Reorganizing and cleanup of base Node code 2015-04-19 12:06:22 -04:00
Jeff Avallone 00376bc78a Updating package versions
Leaving karma-browserify at older version since updating turned out to
be problematic. Will have to investigate that at another time.
2015-04-19 08:15:11 -04:00
Jeff Avallone 8498037584 Locking down snapsvg dependency version instead of using git 2015-04-19 07:53:33 -04:00
Jeff Avallone b2e7bade04 Adding more documentation 2015-04-16 17:52:50 -04:00
Jeff Avallone 5917d2b035 Updating getBBox and anchor code to improve performance
This change will reduce the number of calls to this.container.getBBox
when calculating the bounding box of a node
2015-04-16 17:13:12 -04:00
Jeff Avallone 5601c6a398 Removing some long dead code 2015-04-16 17:13:00 -04:00
Jeff Avallone 6cf4e3fe9b Tweaking normalizeBBox
Using defaults instead of extend seems to more clearly illustrate the
intent.
2015-04-16 17:10:30 -04:00
Jeff Avallone 35e817b105 Updating changelog 2015-04-14 21:52:41 -04:00
Jeff Avallone 0fdd210741 Optimizing spaceHorizontall and spaceVertically methods
Each method was transforming each item twice, and I found that Snap
appears to generate at least one timer per transform. Reducing it to one
transform per item.
2015-04-14 21:46:14 -04:00
Jeff Avallone d918f956ef Adding documentation to regexper.js and some minor tweaks 2015-04-12 17:03:13 -04:00
Jeff Avallone 7de958dc25 Adding documentation to util.js 2015-04-12 17:03:13 -04:00
Jeff Avallone d4b4b2111e Adding documentation to main.js 2015-04-12 17:03:13 -04:00
Jeff Avallone 32c2fd5d65 Updating README with documentation build details 2015-04-12 17:03:13 -04:00
Jeff Avallone 72e5647f21 Adding docco support 2015-04-11 13:59:23 -04:00
Jeff Avallone 1b3a1819c8 Updating changelog 2015-03-14 17:35:57 -04:00
Jeff Avallone 06e66c0f24 Creating helper methods for the setTimeout uses
Abstracting out some of the setTimeout patterns that have popped up in
the code to make the intention clearer.
2015-03-14 17:27:59 -04:00
Jeff Avallone 0093db8e20 Replacing Q promises with ES6 promises 2015-03-14 17:11:14 -04:00
Jeff Avallone 3970224302 Removing use of notify to update progress bar 2015-03-14 14:01:25 -04:00
Jeff Avallone ef11adb67c Updating changelog 2015-03-13 20:24:03 -04:00
Jeff Avallone 7328825204 Changing when subexpression numbers are generated
Generating subexp numbers during setup was leading to nested expressions
being numbered in reverse order.

Fixes #7
2015-03-13 20:23:04 -04:00
Jeff Avallone 1fa1e71b39 Updating some dependency versions 2015-03-07 17:12:55 -05:00
Jeff Avallone 49ac454922 Removing tests for undefined proxy
The proxy is still undefined, but these tests now fail with the latest
node
2015-03-07 17:12:25 -05:00
Jeff Avallone 1a117e3672 Updating changelog 2015-02-11 20:11:55 -05:00
Jeff Avallone bd40a71ece Tweaking styling of header links
Fixes #5
2015-02-11 20:06:01 -05:00
Jeff Avallone 1170a1be76 Displaying the hex code of escaped characters
This is only done where appropriate (escapes like "word boundary" don't
have a hex value, and displaying it for hex or unicode escapes would be
a little redundant).
2015-01-25 17:44:07 -05:00
Jeff Avallone 80e96c7bd3 Trapping errors in URL formatting and displaying an error message 2015-01-19 10:15:34 -05:00
Jeff Avallone 66b3c76f9a No longer extracting the sourcemap from the compiled JS
It has been causing some minor issues in local dev for a while, and
doesn't add much in production since the sourceMap comments are removed
by the pagespeed mod
2015-01-19 09:58:51 -05:00
Jeff Avallone 66c9d445da Adjusting how JS errors are tracked.
- Checking for a valid lineno instead of the filename to filter out
  "(0): Script error." logging
- Tracking stack traces separately from exceptions to make debugging
  easier
2015-01-04 18:50:16 -05:00
Jeff Avallone 0600d18bb5 Adding more detailed exception tracking 2015-01-01 12:24:11 -05:00
Jeff Avallone 491c9535a9 Adding code to track expression rendering time 2015-01-01 11:57:11 -05:00
Jeff Avallone 37fca15bc8 Removing _trackEvent method
It has become an unnecessary abstraction around _gaq.push
2015-01-01 11:56:36 -05:00
Jeff Avallone fd8014d326 Updating changelog 2014-12-30 17:10:13 -05:00
Jeff Avallone cb359bf4dd Adding support for rendering empty subexpressions
Fixes #1
2014-12-30 17:06:29 -05:00
Jeff Avallone d7d1a78656 Preventing unnecessary logging when running tests 2014-12-30 16:37:52 -05:00
Jeff Avallone facd4f6ac4 Changing how permalink and download links are hidden
Using a class name instead of setting the display CSS property. This
way, the ::after of the download link can be hidden when the permalink
is gone
2014-12-30 16:20:37 -05:00
Jeff Avallone 6c49d6ba8e Condensing some styles 2014-12-30 15:54:20 -05:00
Jeff Avallone fc6ffbd73a Merging some shared styles 2014-12-30 10:17:55 -05:00
Jeff Avallone c809913fe7 Using mold-source-maps to remove working path from source map
It still shows up in the sourceURL embedded by a traceur compiler. Still
need to work on that, but this is a little better.
2014-12-30 10:01:29 -05:00
Jeff Avallone 998e2a5574 Updating changelog 2014-12-29 21:39:20 -05:00
Jeff Avallone e271115d24 Merging the rendering code from main.js and regexper.js 2014-12-29 21:31:36 -05:00
Jeff Avallone d6e81a2932 Beginning to merge rendering code in main.js and regexper.js 2014-12-29 18:37:21 -05:00
Jeff Avallone 8dda135960 Animating the progress bar 2014-12-29 18:01:10 -05:00
Jeff Avallone f83e0c6ea8 Removing spinner
It has seemed a little excessive since adding the progress bar
2014-12-29 17:55:57 -05:00
Jeff Avallone d538d7b62a Adding progress bars to the inline diagrams in the documentation 2014-12-29 17:53:54 -05:00
Jeff Avallone e890fe7d2c Updating progress using the promise notify feature 2014-12-29 17:35:18 -05:00
Jeff Avallone 99c4c078fb No longer setting parseError attribute on error object
This was causing some JS exceptions to be logged
2014-12-29 16:32:08 -05:00
Jeff Avallone 5406487ae0 Adjusting how errors are logged
This should allow for working out any JS failures that may occur
2014-12-28 17:37:11 -05:00
Jeff Avallone cfaa3afa78 Changing date formatting on the changelog to be unambigious 2014-12-27 23:07:12 -05:00
Jeff Avallone 08fdb254fc Adding failure paths for all async tests
This will ensure the tests fail if the intended path isn't followed
2014-12-27 16:04:22 -05:00
Jeff Avallone 9a412b6b3e Normalizing async tests in Javascript parser specs 2014-12-27 15:57:00 -05:00
Jeff Avallone eae4959f41 Updating event tracking to reduce noise in reporting
No need to report a "parse error" as an "exception"
2014-12-27 15:54:32 -05:00
Jeff Avallone e19dc6a294 Updating Regexper class specs to match style used elsewhere 2014-12-27 15:54:01 -05:00
Jeff Avallone 66836e0552 Fixing issue with multiple SVG elements being rendered at once 2014-12-26 17:08:37 -05:00
Jeff Avallone 24971eb09f Setting date in changelog 2014-12-26 16:49:41 -05:00
Jeff Avallone d6a72110e0 Linking to LICENSE.txt file 2014-12-26 16:24:09 -05:00
Jeff Avallone 05ee4291ff Updating link to source 2014-12-26 16:17:30 -05:00
Jeff Avallone 261349f3d6 Removing travis integration tag
It might come back later, but for now I'm not sure
2014-12-26 16:16:31 -05:00
Jeff Avallone 68de26f68a Embedding license info in SVG images 2014-12-26 15:54:45 -05:00
Jeff Avallone b292a764ff Embedding a template for SVG element instead of just styles 2014-12-26 15:38:22 -05:00
Jeff Avallone 2007fd9e01 Styling tweaks 2014-12-26 15:24:19 -05:00
Jeff Avallone efbd3aa762 Reformatting header nav links 2014-12-26 14:57:13 -05:00
Jeff Avallone aa6c792867 Adding tests for Match nodes 2014-12-26 12:48:02 -05:00
Jeff Avallone cf159c28a5 Finishing tests for MatchFragment nodes 2014-12-26 10:57:46 -05:00
Jeff Avallone 68e4bed048 Adding a deprecation notice for IE8
I may add similar notices for other old browsers, but IE8 was
particularly bad since it does not render most of the styles
2014-12-25 07:59:03 -05:00
Jeff Avallone d21846e872 Fixing how styles are added to SVG documents to please IE
This also allowed the SVG element to be created in a single place
2014-12-24 23:01:32 -05:00
Jeff Avallone 000809752e Removing some unnecessary extend calls 2014-12-23 23:27:09 -05:00
Jeff Avallone 6793b342ae Using fancy quotes for literals 2014-12-23 23:07:51 -05:00
Jeff Avallone d909312b94 Starting tests for MatchFragment nodes 2014-12-23 22:23:03 -05:00
Jeff Avallone 4b38bd6edd Adding build date to a comment in the header 2014-12-23 20:23:37 -05:00
Jeff Avallone 11cf4c74dc I accidentally a whole word 2014-12-23 11:19:01 -05:00
Jeff Avallone e11058688f Some cleanup of Match and MatchFragment in prep for tests 2014-12-23 11:17:28 -05:00
Jeff Avallone f264eee5f9 Adding tests for Regexp nodes 2014-12-23 11:02:15 -05:00
Jeff Avallone 8a9178c11e Adding pending test file for remaining nodes 2014-12-22 20:36:14 -05:00
Jeff Avallone e3eedb17af Adding tests for Root nodes 2014-12-22 20:35:49 -05:00
Jeff Avallone f842b424cc Adding warnings for non-standard escape sequence usage 2014-12-22 16:57:30 -05:00
Jeff Avallone a4f831bc60 Cleaning up some messy code in the grammar 2014-12-22 16:28:46 -05:00
Jeff Avallone 9e6f066763 Reducing duplication in grammar 2014-12-22 16:26:08 -05:00
Jeff Avallone 281ca50d32 Adding some more checks for CharsetRange tests 2014-12-22 16:16:17 -05:00
Jeff Avallone b35dece228 Fixing character set ranges
Certain escape sequences are not considered in ranges, and lead to the
hyphen to be part of the matched set of characters
2014-12-22 16:09:27 -05:00
Jeff Avallone d882ee8e08 Adding check that charset range is in correct order 2014-12-22 15:18:49 -05:00
Jeff Avallone 9b8eef9c02 Setting ordinals for literals 2014-12-22 15:11:37 -05:00
Jeff Avallone d4b648fa43 Setting ordinal for control code escapes 2014-12-22 15:11:20 -05:00
Jeff Avallone 580af045d6 Adjusting grammar to match \c escape "correctly"
\c followed by something other than a-z leads to inconsistent behavior
across browsers. Most will treat it as a series of literals (/\c#/ will
match the string "\\c#" for example)
2014-12-22 15:00:38 -05:00
Jeff Avallone 101b457260 Adding ordinal values to escapes
Work still needs to be done to get control characters correct, and
ordinals will need to be added for literals as well. This is in
preparation for reporting incorrectly ordered charset ranges
2014-12-22 12:44:19 -05:00