Permalink
Commits on Mar 30, 2012
  1. @joseph
Commits on Mar 29, 2012
  1. @joseph
Commits on Feb 13, 2012
  1. @joseph
  2. @joseph
  3. @joseph

    Adding column-fill:auto to pagination style rules.

    This change is forced by Firefox 12:
    
      https://bugzilla.mozilla.org/show_bug.cgi?id=725485
    
    Which has been updated:
    
      http://hg.mozilla.org/mozilla-central/rev/93b804e5f3f5
    
    To follow the W3C css-multicol specification for column-fill:
    
      http://www.w3.org/TR/css3-multicol/#column-fill
    
    I'm sure there's a good reason why the default value for column-fill is
    'balance', not 'auto', but it eludes me. Anyway, Monocle was broken in
    Firefox alpha releases -- this fixes it.
    joseph committed Feb 13, 2012
Commits on Feb 10, 2012
  1. @joseph
  2. @joseph

    Persistent proportional font-sizing with Formatting#setFontScale.

    Additionally, you can now pass a float multiplier into Reader
    initialisation options with 'fontScale'.
    joseph committed Feb 10, 2012
  3. @joseph

    Introducing Monocle.Formatting, which manages component stylesheets.

    This used to be done by Monocle.Reader, so this is mostly refactoring a
    large chunk of logic out of Reader into its own class. Consequently a
    few Reader APIs are deprecated.
    joseph committed Feb 10, 2012
  4. @joseph

    Added console.deprecation.

    joseph committed Feb 10, 2012
  5. @joseph
  6. @joseph

    Poll components for selected text, send selection/deselection events.

    Listen on Reader for 'monocle:selection' and 'monocle:deselection'. See
    test/selection for example code.
    joseph committed Feb 10, 2012
  7. @joseph

    Introducing Monocle.Selection, which manages selected text.

    So far: deselects all text before starting page turn.
    joseph committed Feb 10, 2012
  8. @joseph

    Sugar for creating bookdata objects.

    * Monocle.bookData takes a hash.
    * Monocle.bookDataFromIds takes an array of DOM element ids.
    * Monocle.bookDataFromNodes takes an array of DOM elements.
    
    See src/core/bookdata.js for details.
    joseph committed Feb 10, 2012
Commits on Feb 9, 2012
  1. @joseph

    Defaults to Instant flipper in low-performance browsers, else Slider.

    You can always override this with your own logic by passing the
    'flipper' option when instantiating the Reader.
    joseph committed Feb 9, 2012
  2. @joseph

    Ignore .screenrc.

    joseph committed Feb 9, 2012
  3. @joseph
  4. @joseph
Commits on Feb 8, 2012
  1. @joseph
  2. @joseph

    Nerfing the old Monocle.pieceLoaded system.

    Sorry if you were using it; it was for the old framer system (before
    components were iframes), and it never worked well enough to justify the
    extra lines of source.
    joseph committed Feb 8, 2012
  3. @joseph
  4. @joseph
Commits on Feb 7, 2012
  1. @joseph

    Merge branch 'master' into ret

    joseph committed Feb 7, 2012
Commits on Feb 1, 2012
  1. @joseph
  2. @joseph

    Add webkit prefixes to moz-element-flipper CSS.

    This is more in hope than anything. It could be a good test case if
    WebKit gets `element`.
    joseph committed Feb 1, 2012
  3. @joseph
Commits on Jan 31, 2012
  1. @joseph
Commits on Jan 30, 2012
  1. @joseph
  2. @joseph
  3. @joseph
Commits on Jan 27, 2012
  1. @joseph

    Fix offset bug when top-most body has margins/padding.

    References #56 - "improve the touch/pointer coordinates calculations".
    joseph committed Jan 27, 2012
  2. @joseph
  3. @joseph

    Fixes for the stencil control.

    The Stencil was broken in a few ways:
    
    - it wasn't processing the first component when added to reader
    - external links were being launched in new windows twice in some
      browsers
    - it was occasionally processing the wrong component
    joseph committed Jan 27, 2012
  4. @joseph
  5. @joseph

    Update browser detection for Nook/Sony Reader UA quirks.

    Also adds some standard tests for offline caching and storage support,
    because that stuff can be a bit weird in older WebKits, and it's a
    pretty common test for Monocle applications.
    joseph committed Jan 27, 2012
  6. @joseph