John Firebaugh
5bbcca8326
[core] Add virtual Source::getTileSize()
2016-06-14 11:25:45 -07:00
John Firebaugh
9d3c4fbbb0
[core] Push Source::url down to subclasses
2016-06-14 11:25:45 -07:00
John Firebaugh
9dfcb95e4f
[core] Push Source::tileset down to TileSource
2016-06-14 11:25:45 -07:00
John Firebaugh
755cc80edf
[core] Add virtual Source::getZoomRange()
2016-06-14 11:25:45 -07:00
John Firebaugh
6eab895bc0
[core] Use Range<uint8_t> instead of full Tileset where possible
2016-06-14 11:25:45 -07:00
John Firebaugh
615a6685a4
[core] Move GeoJSON-specific parsing into geojson_source.cpp
2016-06-14 11:25:45 -07:00
John Firebaugh
2257ebf1c2
[core] Push Source::req down into subclasses
2016-06-14 11:25:45 -07:00
John Firebaugh
14ab6661e0
[core] Eliminate Source::isLoading
...
Source::load is already a no-op if the request is in progress, so it isn't necessary.
2016-06-14 11:25:45 -07:00
John Firebaugh
cf7420a3c9
[core] Push Source::geojsonvt down to GeoJSONSource
2016-06-14 11:25:45 -07:00
John Firebaugh
2a991c6846
[core] Virtualize Source::load
2016-06-14 11:25:45 -07:00
John Firebaugh
e6ba10ceed
[core] Introduce shared base class for VectorSource and RasterSource
2016-06-14 11:25:45 -07:00
John Firebaugh
eecf9e7d23
[core] Virtualize Source::createTile
2016-06-14 11:25:45 -07:00
John Firebaugh
55abb76f68
[core] Vector source tileSize is constant
2016-06-14 11:25:45 -07:00
John Firebaugh
f74c5d8abd
[core] Inline AnnotationSource constructor parameters
2016-06-14 11:25:45 -07:00
John Firebaugh
b222689de8
[core] Pass geojsonvt only to GeoJSONSource
2016-06-14 11:25:45 -07:00
John Firebaugh
9b0093e32d
[core] Introduce source subclasses
2016-06-14 11:25:45 -07:00
Minh Nguyễn
7080196bf6
[macos] Added changelog section for post-0.2.0
...
[skip ci]
2016-06-14 11:01:59 -07:00
Minh Nguyễn
e49f72838b
[macos] Zip up SDK before uploading it
2016-06-14 10:51:07 -07:00
Minh Nguyễn
1d43f92859
[macos] Deployment script
...
Adapted the iOS SDK deployment script for the macOS SDK.
2016-06-14 10:14:03 -07:00
Minh Nguyễn
23da7064f0
[macos] Updated changelog
...
Updated changelog for #5183 , #5124 , #2444 , #5053 , #4579 , realm/jazzy#530 .
2016-06-14 10:04:36 -07:00
Bruno de Oliveira Abinader
b00e6fc7e1
[tidy] Install mason clang-tidy if CLANG_TIDY is not set
...
Also added HeaderFilterRegex to .clang-tidy.
2016-06-14 12:20:08 +03:00
Minh Nguyễn
b9702ef41a
[macos] Renamed OS X SDK to macOS SDK
...
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
Alan Kinnaman
1e41c151f6
Suppress warning when dequeueing subclasses ( #5244 )
...
When using a subclass of `MGLAnnotationView` or `MGLAnnotationImage`, the following warning occurs:
`Incompatible pointer types initializing 'MyClassName *' with an expression of type 'MGLAnnotationView * _Nullable'`
This change eliminates the warning and matches Apple's implementation of `UITableViewCell`.
2016-06-14 00:17:08 -07:00
John Firebaugh
3f5ea169f5
[node] Partial implementation of runtime styling API for node bindings
2016-06-13 17:22:05 -07:00
John Firebaugh
6cc2f8a3a5
[core] Fix PropertyValue<T>::set
...
For runtime styling, it needs to overwrite any existing value.
2016-06-13 17:22:05 -07:00
John Firebaugh
1529116ef6
[core] Introduce Map::getLayer
2016-06-13 17:22:05 -07:00
John Firebaugh
039b05ebb4
[core] Extract code templates to individual .ejs files
2016-06-13 17:22:05 -07:00
John Firebaugh
ee78b1b797
[core] Eliminate some redundant NodeMap members
2016-06-13 17:22:05 -07:00
John Firebaugh
282e626ac1
[core] Make enum ↔ string conversion more generic-friendly
...
Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types.
While there, properly validated enumerated property values.
2016-06-13 17:22:05 -07:00
John Firebaugh
36bef21575
[core] Eliminate duplicate Necessity types
2016-06-13 14:24:26 -07:00
John Firebaugh
040bdb1994
[core] TileSource ⇢ TileLoader
2016-06-13 14:23:54 -07:00
Bruno de Oliveira Abinader
9a43768667
[tidy] Bail out when a warning/error is found
2016-06-13 23:34:43 +03:00
Bruno de Oliveira Abinader
fe09510c1b
[build] Re-enable tidy checks
2016-06-13 23:32:07 +03:00
Bruno de Oliveira Abinader
a40ff5188b
[build] Separate headers gen in a specific target
2016-06-13 23:32:07 +03:00
Bruno de Oliveira Abinader
bfd1d9d1bf
[build] compdb depends on node_modules
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
31b8461d34
[tidy] Check misc-static-assert
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/misc-static-assert.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
c81e228c26
[tidy] Check modernize-loop-convert
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
6e22de8cce
[tidy] Check modernize-use-auto
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
7ac7ac13f5
[tidy] Check modernize-use-default
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-default.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
4d75001e9a
[tidy] Check modernize-use-override
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
4161d197fd
[tidy] Check modernize-pass-by-value
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2016-06-13 23:32:05 +03:00
Bruno de Oliveira Abinader
92f605df32
[tidy] Check modernize-use-nullptr
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2016-06-13 23:32:05 +03:00
Bruno de Oliveira Abinader
9142c447e8
[tidy] Check llvm-namespace-comment
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
2016-06-13 23:32:05 +03:00
John Firebaugh
b9be5fd768
[core] Simplify GeometryTile::setData
2016-06-13 10:59:34 -07:00
John Firebaugh
5c7dfd948f
[core] *Tile ↔ *TileData
...
Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
2016-06-13 10:59:33 -07:00
John Firebaugh
3ab7c1cca3
[core] Tile ⇢ RenderTile
2016-06-13 10:57:46 -07:00
John Firebaugh
39b0b36759
[core] Remove unnecessary virtual redoPlacement overload
2016-06-13 10:57:46 -07:00
John Firebaugh
37f9e83843
[core] Privatize geojson_tile.hpp contents
2016-06-13 10:57:46 -07:00
John Firebaugh
0d2db2a5e3
[core] Privatize vector_tile.hpp contents
2016-06-13 10:57:46 -07:00
John Firebaugh
13d0a8b815
[core] Merge vector_tile_data.{hpp,cpp} into vector_tile.{hpp,cpp}
2016-06-13 10:57:46 -07:00