Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 12, 2014

  1. Sean Hogan

    iframeParser was sometimes not completing on Android 2.3. Waiting for…

    … the iframe window's onload addressed this.
    authored February 12, 2014

Feb 07, 2014

  1. Sean Hogan

    If capturing then use `window.stop()` where available to override res…

    …ource downloading by the prescanner.
    authored February 07, 2014
  2. Sean Hogan

    Allow STAGING_DOCUMENT_IS_INERT to be `true` on IE10 although the sta…

    …ging document URL is same as `document.URL`.
    authored February 07, 2014

Jan 13, 2014

  1. Sean Hogan

    <title> of content document wasn't being merged into the view when ca…

    …pturing and decor document also had <title>.
    authored January 13, 2014

Dec 20, 2013

  1. Sean Hogan

    Update docs on supported html5shiv elements

    authored December 20, 2013

Dec 17, 2013

  1. Sean Hogan

    Oops. Was only overriding resolveURL() for img@srcset, but source@src…

    …set needs the same override.
    authored December 18, 2013
  2. Sean Hogan

    Add startup_timeout as a dead-man's switch.

    authored December 17, 2013
  3. Sean Hogan

    panner.options.loadFromString() makes capturing a bit more logical.

    Now normalize() and deneutralizeAll() are called as part of Capture.getDocument() instead of in decor.start(). This is the same as what happens for panned pages.
    authored December 17, 2013

Dec 16, 2013

  1. Sean Hogan

    AttrDesc class makes code branching in resolveAll() more manageable:

    - script@src must always resolve
    - img@srcset and a@ping need special resolveURL code
    authored December 17, 2013

Dec 14, 2013

  1. Sean Hogan

    On some pages with capturing enabled and being viewed on IE8 with an …

    …empty cache script.onreadystatechange handlers weren't being called. Wrapping enableScript() in setTimeout() resolved this issue. Not sure why.
    authored December 14, 2013

Dec 13, 2013

  1. Sean Hogan

    Rename a few consts / vars.

    attrDesc.deref is merged with attrDesc.neutralize.
    If `neutralize` is true then the attribute needs to be neutralized before parsing. If `neutralize` is `> 0` then the attribute stays neutralized during the normalize() call. This means that if `neutralize` is less-than-zero the attribute will be neutralized for parsing and deneutralized for normalizing.
    authored December 13, 2013
  2. Sean Hogan

    The HTMLLoader used in capturing wasn't passing `details` and hence `…

    …isNeutralized` notification
    authored December 13, 2013

Dec 12, 2013

  1. Sean Hogan

    Neutralize URLs by prepending the attribute *value* with "meeko-href"…

    … rather than prepending the attribute *name* with "meeko-". This allows picture polyfill to work in the normalize(doc) call as it copies `source@src` to `img@src`.
    
    Also, if STAGING_DOCUMENT_IS_NEUTRAL then don't even need to keep neutralized URLs around for the normalize() call. See resolveAll() and deneutralizeAll().
    authored December 13, 2013
  2. Sean Hogan

    Library size never decreases. Now around 11kB minified and gzipped.

    authored December 13, 2013
  3. Sean Hogan

    parseHTML returns a Future so must use resolve().

    authored December 12, 2013

Dec 10, 2013

  1. Sean Hogan

    Safari-4 can also exhibit IE9_SOURCE_ELEMENT_BUG

    authored December 11, 2013

Dec 06, 2013

  1. Sean Hogan

    <picture> might be supported soon so add to html5shiv elements.

    authored December 06, 2013
  2. Sean Hogan

    Fix for IE9 swallowing <source> elements when not within <video> or <…

    …audio>.
    
    Needed if <picture> becomes best-practice.
    authored December 06, 2013

Dec 04, 2013

  1. Sean Hogan

    Allow <meta charset="..." /> before boot-script when capturing

    authored December 04, 2013

Nov 29, 2013

  1. Sean Hogan

    some() is useful, like every().

    panner.navigate() now calls location.assign() (or replace() ) if history.pushState() not available.
    authored November 29, 2013

Nov 27, 2013

  1. Sean Hogan

    HTML parsing performance on IE8 can be significantly improved by writ…

    …ing the <head> into an iframe and using element.innerHTML for the <body>. Can't hurt perf on other browsers.
    
    Also use DOMParser.parseFromString(html, 'text/html') on browsers that support it - that is, Firefox.
    authored November 27, 2013
  2. Sean Hogan

    Undeclared variables

    authored November 27, 2013
  3. Sean Hogan

    Add test for <style> in <body> being parsed (it should end up in <head>)

    authored November 27, 2013

Nov 25, 2013

  1. Sean Hogan

    mergeElement() now removes @style.

    HTMLParser adds `style="display: none"` to <body>. This usually makes parsing a bit faster on IE8. The mergeElement() mod means this doesn't affect final view.
    authored November 26, 2013
  2. Sean Hogan

    Add `mustResolve` field to resolveAll().

    Add `mustResolve` field to `details` object that is passed to HTMLLoader and HTMLParser
    Resolving URLs in the landing-page now runs over everything in <head>, not just elements after the self-marker
    authored November 26, 2013

Nov 22, 2013

  1. Sean Hogan

    decor.placeHolders is probably a bad design choice and the javadoc-pa…

    …nner bookmarklet highlighted this bug.
    authored November 23, 2013
  2. Sean Hogan

    Don't want to insert boot-script before html5shiv & visibility <style…

    …> when boot-script isn't in the head (as occurs in meeko-panner bookmarklet)
    authored November 23, 2013
  3. Sean Hogan

    The regex was finding the last '>' not the first.

    authored November 22, 2013
  4. Sean Hogan

    element.attributes is a live list, so removeAttribute made forEach break

    authored November 22, 2013
  5. Sean Hogan

    decor.placeHolders is probably a bad design choice,

    and capturing + long.html highlighted this bug.
    authored November 22, 2013
  6. Sean Hogan

    Resolving URLs in the landing page is moved to start of start().

    authored November 22, 2013

Nov 21, 2013

  1. Sean Hogan

    <title> in test pages

    authored November 21, 2013

Nov 20, 2013

  1. Sean Hogan

    Logger definition needs to be closer to top so it can be used anywher…

    …e in script
    authored November 21, 2013
  2. Sean Hogan

    Fully replace srcAttrs, hrefAttrs with urlAttrs.

    Implement resolveAll(doc, baseURL, isNeutralized) to be called from HTMLParser and HTMLLoader where appropriate.
    Not all URL attrs in the landing-page need to be resolved,
    because most elements will be paged out anyway when panning.
    For now just resolve script@src and link@href in <head>
    authored November 21, 2013

Nov 18, 2013

  1. Sean Hogan

    <script type="text/plain"> tests script handling in the preparser

    authored November 19, 2013
Something went wrong with that request. Please try again.