Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 10, 2013
  1. @giorgian @andreacampi

    Some old Android platforms have a different platform name; try to get

    giorgian authored andreacampi committed
    them all with one regexp.
Commits on Jun 5, 2013
  1. @andreacampi

    Merge pull request #305 from giorgian/fix-android-detection

    andreacampi authored
    Fix: correctly detect android platform.
Commits on May 27, 2013
  1. @bramstein

    Merge pull request #315 from giorgian/fix-settings

    bramstein authored
    Fix: prevent minimizer from messing up index settings code.
Commits on May 3, 2013
  1. @giorgian
Commits on Oct 16, 2012
  1. @andreacampi

    [#290] When looking for the top margin of the next sibling we need to…

    andreacampi authored
    … skip fallbacks for figures that have already been used.
Commits on Oct 3, 2012
  1. @giorgian

    Fix: correctly detect android platform.

    giorgian authored
    Many devices set navigator.platform to "Linux armv7l", so that they
    end up having class os-linux instead of os-android.
  2. @andreacampi

    Merge pull request #303 from giorgian/12-webfonts

    andreacampi authored
    [#12] Support for webfonts.
Commits on Oct 2, 2012
  1. @andreacampi

    Merge pull request #304 from andreacampi/issue-298-one-more-fix

    andreacampi authored
    Issue 298 one more fix
  2. @giorgian

    [#12] Set a shorter timeout than the one used internally by WebFont l…

    giorgian authored
    …oader to
    
    prevent treesaver from unbooting if font loading takes too much time.
  3. @giorgian

    [#12] Updated deps.

    giorgian authored
  4. @giorgian
  5. @giorgian

    [#12] Support for webfonts.

    giorgian authored
    The purpose is to have a reliable way to detect which fonts are ready
    when treesaver starts, and to prevent fonts loaded afterward from
    messing the measurements up.
    
    The actual font loading is delegated to an adapter; currently, the
    only provided one is googleadapter, which uses WebFont Loader.
  6. @andreacampi

    Merge pull request #302 from andreacampi/fix-octal-literal

    andreacampi authored
    Fix octal literals to work with recent versions of CoffeeScript.
  7. @andreacampi

    Merge pull request #301 from giorgian/loader-shown-event

    andreacampi authored
    Fire a custom event right after showing the loading message.
Commits on Sep 14, 2012
  1. @giorgian
Commits on Aug 31, 2012
  1. @andreacampi
  2. @andreacampi

    Fix a remaining bug that escaped the first round of testing.

    andreacampi authored
    The Grid's line height is also passed to Page, while the Content's line height is also inherited by Block's. As long as Grid and Content agree on how much rounding they apply, we should be golden.
    
    More testing needed on IE9.
  3. @andreacampi
Commits on Aug 30, 2012
  1. @bramstein

    Merge pull request #299 from andreacampi/issue-298

    bramstein authored
    Fix issue 298: support browsers that report sub-pixels
Commits on Aug 27, 2012
  1. @andreacampi

    Browsers that report fractional dimensions quite often round them in …

    andreacampi authored
    …an unpredictable way; let's round them off.
    
    For example, when you have two columns with the same (fractional) width and different (fractional) margins, Chrome will report widths that may differ by less than 10^-5.
  2. @andreacampi

    A fractional line height for content pretty much messes everything up…

    andreacampi authored
    …, since we use it as the basic unit we base all calculations on. Just round it up to the next whole pixel.
    
    This may not be ideal, maybe we do want fractions; but it's better to be safe than sorry, at least for the time being.
  3. @andreacampi
  4. @andreacampi

    Add tests for the current implementation of dimensions.roundUp, demon…

    andreacampi authored
    …strating the failure on fractional numbers.
  5. @andreacampi

    Use element.getBoundingClient() to implement getOffsetWidth(); this a…

    andreacampi authored
    …lso affects Metrics, since it uses getOffsetWidth().
    
    element.getBoundingClient originated on IE, and is implemented by
    every browser we are compatible with.
  6. @andreacampi

    Refactor column width calculations:

    andreacampi authored
    * consistently use treesaver.dimensions.Metrics to compute the column
    width, as well as the content width (since the two must be consistent);
    * store it on the column itself;
    * read it from there when validating that they are consistent.
    
    The main goal here is to a single method that knows how to properly
    compute the width.
  7. @andreacampi

    Add a test for validating columns with a fractional widths. This test…

    andreacampi authored
    … fails at this time on browsers that support sub-pixels.
    
    While here, also add a sanity test for expected validation errors.
Commits on Aug 25, 2012
  1. @andreacampi
  2. @andreacampi

    Add a capability to detect sub-pixel support.

    andreacampi authored
    Tested on:
    
    * Safari 6 Mac (no subpixels);
    * Chrome 21, 22 and 23 Mac (subpixels);
    * Firefox 14 Mac (subpixels)
  3. @andreacampi
  4. @andreacampi

    Merge branch 'gh-master'

    andreacampi authored
  5. @andreacampi

    Merge pull request #297 from andreacampi/issue-295-test

    andreacampi authored
    [#295] Fix blocks traversal in atEnd() to account for block children.
  6. @andreacampi

    Merge pull request #296 from andreacampi/issue-290-rebased

    andreacampi authored
    [#290] When looking for the next block for keepwithnext we need to exclude fallback content for figures that have already been placed.
  7. @andreacampi

    [#290] When looking for the next block for keepwithnext we need to ex…

    andreacampi authored
    …clude fallback content for figures that have already been placed.
Commits on Jul 16, 2012
  1. @andreacampi
  2. @andreacampi
Something went wrong with that request. Please try again.