Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

v8 Omnibus #264

Merged
merged 40 commits into from
Sep 2, 2015
Merged

v8 Omnibus #264

merged 40 commits into from
Sep 2, 2015

Commits on Jul 7, 2015

  1. Configuration menu
    Copy the full SHA
    6719860 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2015

  1. Fix misleading source example

    Although an HTTP request ending with `.png` could return anything,
    this particular source is referring to vector tiles, so an example
    with an URL ending in `.pbf` is more appropriated.
    tmpsantos committed Jul 19, 2015
    Configuration menu
    Copy the full SHA
    119c07b View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2015

  1. Configuration menu
    Copy the full SHA
    d30b4e8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #319 from mapbox/text-rotate-no-interpolate

    Make it clear that text-rotate is not an interpolated property
    tmcw committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    bd31510 View commit details
    Browse the repository at this point in the history
  3. 7.4.2

    tmcw committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    6228eba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a8908e View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2015

  1. Configuration menu
    Copy the full SHA
    c15aa64 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2015

  1. Style diff

    Fast, semantically aware style diff utility. The differ compares two
    stylesheets creating a list of changes. Operations produced by the diff
    resemble the mapbox-gl-js API in spirit. Any error creating the diff will
    fall back to the 'setStyle' operation.
    
    Operations:
    - setStyle
    - addLayer
    - removeLayer
    - setPaintProperty
    - setLayoutProperty
    - setFilter
    - setLayerZoomRange
    - setLayerProperty
    - addSource
    - removeSource
    - setConstant
    - setSprite
    - setGlyphs
    - setTransition
    
    Example diff:
        [
            { command: 'setConstant', args: ['@water', '#0000FF'] },
            { command: 'setPaintProperty', args: ['background', 'background-color', 'black'] }
        ]
    
    Applying the diff is an exercise left to each mapbox-gl implementation. A
    crude mapbox-gl-js implementation would look like:
        var changes = diff(oldStylesheet, newStylesheet);
        try {
            map.batch(function (batch) {
                changes.forEach(function (change) {
                    batch[change.command].apply(batch, change.args);
                });
            });
        } catch (e) {
            console.warn('Unable to apply diff:', e);
            map.setStyle(newStylesheet);
        }
    scothis committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    3782e79 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #317 from mapbox/pbf_instead_png

    Fix misleading source example
    jfirebaugh committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    2479011 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    725c409 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6f2149 View commit details
    Browse the repository at this point in the history
  5. Revert "Make it clear that text-rotate is not an interpolated property"

    text-rotate is an interpolated property, but like other layout
    properties, it is evaluated only at integer zoom levels.
    
    This reverts commit d30b4e8.
    jfirebaugh committed Aug 5, 2015
    Configuration menu
    Copy the full SHA
    b97ba5a View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2015

  1. Configuration menu
    Copy the full SHA
    83a9470 View commit details
    Browse the repository at this point in the history
  2. 7.5.0

    jfirebaugh committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    1b46260 View commit details
    Browse the repository at this point in the history
  3. lint

    jfirebaugh committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    5653bfc View commit details
    Browse the repository at this point in the history
  4. Fix build

    jfirebaugh committed Aug 6, 2015
    Configuration menu
    Copy the full SHA
    ef5ecfc View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2015

  1. Merge pull request #324 from mapbox/v7-style-diff

    Style diff
    scothis committed Aug 10, 2015
    Configuration menu
    Copy the full SHA
    25641ed View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2015

  1. Merge pull request #333 from mapbox/v8-remove-ops

    Remove color ops from v8
    lucaswoj committed Aug 11, 2015
    Configuration menu
    Copy the full SHA
    5429f9b View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2015

  1. Fix styles pin

    jfirebaugh committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    7940fa7 View commit details
    Browse the repository at this point in the history
  2. get rid of text-max-size, icon-max-size

    ansis authored and jfirebaugh committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    8555318 View commit details
    Browse the repository at this point in the history
  3. Update styles pin

    jfirebaugh committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    1046778 View commit details
    Browse the repository at this point in the history
  4. Added fontstack url migration

    Lucas Wojciechowski committed Aug 12, 2015
    Configuration menu
    Copy the full SHA
    87c4620 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2015

  1. add label priority migration

    ansis authored and jfirebaugh committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    d6a0c08 View commit details
    Browse the repository at this point in the history
  2. Update glyphs URL in docs

    jfirebaugh committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    8d0ba25 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c6d353 View commit details
    Browse the repository at this point in the history
  4. Update CHANGELOG for v8

    jfirebaugh committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    6eb0e1b View commit details
    Browse the repository at this point in the history
  5. Remove mapbox-gl-styles validation check

    This happens in mapbox-gl-styles. Doing it here too creates a circular
    dependency.
    jfirebaugh committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    1a53df4 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'mb-pages' into v8

    Conflicts:
    	CHANGELOG.md
    	package.json
    jfirebaugh committed Aug 13, 2015
    Configuration menu
    Copy the full SHA
    b0e4970 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2015

  1. Added image source type

    Lucas Wojciechowski committed Aug 14, 2015
    Configuration menu
    Copy the full SHA
    66cc08c View commit details
    Browse the repository at this point in the history
  2. 8.0.1

    Lucas Wojciechowski committed Aug 14, 2015
    Configuration menu
    Copy the full SHA
    e860081 View commit details
    Browse the repository at this point in the history
  3. Update diff for v8

    - remove setConstant
    - add setCenter
    - add setZoom
    - add setBearing
    - add setPitch
    
    Issue: #338
    scothis committed Aug 14, 2015
    Configuration menu
    Copy the full SHA
    42a2961 View commit details
    Browse the repository at this point in the history
  4. Add 'pitch' as a $root property

    'pitch' follows 'center', 'zoom' and 'bearing' to define the default
    camera position. 0 degrees is perpendicular to the surface.
    
    Issue: #341
    scothis authored and jfirebaugh committed Aug 14, 2015
    Configuration menu
    Copy the full SHA
    6923792 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2015

  1. Future proof url.parse() for font stack v8 migrations

    In new versions of Node and browserify `URL.parse()` URL encodes
    properties on the resulting object. This has the effect of breaking the
    migration script in the browser.
    
    We can decodeURI the path segments we need to compare in a manner that is
    backwards and future compatible.
    
    Tested with:
    - browserify
    - Node 0.10
    - IO 3.0
    scothis committed Aug 15, 2015
    Configuration menu
    Copy the full SHA
    446f0fd View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2015

  1. Add visibility layout property for circles

    Every other layer type already supports visibility.
    scothis committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    a8d26dc View commit details
    Browse the repository at this point in the history
  2. Simplify layout/paint property types

    Types were made more specific to add extra type safety around constants.
    Without constants, we no longer need these more specific types. Fewer,
    well-known types makes tooling support easier.
    
    - '*-enum' -> 'enum'
    - '*-array' -> 'array'
    - 'opacity' -> 'number'
    - 'field-template' -> 'string'
    scothis committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    937cc97 View commit details
    Browse the repository at this point in the history
  3. Remove unused type validators

    scothis committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    6c84895 View commit details
    Browse the repository at this point in the history
  4. Remove constants from v8 reference schema

    Issue: #340
    scothis authored and jfirebaugh committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    eb01ce6 View commit details
    Browse the repository at this point in the history
  5. 8.1.0

    scothis committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    bbb6ba8 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2015

  1. Add sprites URL change to CHANGELOG.md

    lucaswoj authored and Lucas Wojciechowski committed Aug 21, 2015
    Configuration menu
    Copy the full SHA
    fe768eb View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2015

  1. Configuration menu
    Copy the full SHA
    974558d View commit details
    Browse the repository at this point in the history