Asheem Mamoowala
065f5ca87e
[core] Add DefaultFileSource::mergeRegions API and CLI support in the mbgl-offline tool.
2018-08-28 07:14:54 -07:00
Ivo van Dongen
fcb68041d5
[offline] Add option to pass geojson input file
2018-08-20 22:49:01 +03:00
Konstantin Käfer
6e06e55b95
WIP: use expected<T, E> for passing on errors
2018-08-14 17:03:46 -07:00
Zsolt Bölöny
bc6094eb55
[core] Fix GCC8's new -Wcatch-value warnings
...
Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead.
2018-06-25 10:07:04 -07:00
Chris Loer
3c18610d1f
[core] Add 'apiBaseURL' argument to mbgl-offline util.
2018-03-27 15:26:38 -07:00
Bruno de Oliveira Abinader
6a838eeffb
[build] Replace boost_libprogram_options with args
2017-12-18 16:40:29 +02:00
Ansis Brammanis
22c07596a0
[core] Split MapMode::Still into Static and Tile
...
`Tile` makes sure the symbols in the resulting tile are tileable while
symbols in `Still` match rendering in `Continuous` mode.
2017-11-17 10:05:15 -08:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
e75fdf1075
[render] manage backendscope in renderer frontend
2017-07-25 17:44:28 +03:00
Ivo van Dongen
46c43510d7
[core] rename backend to renderer backend
2017-07-18 10:45:12 +02:00
Ivo van Dongen
3832f8d0d8
[core] renderer interface
2017-07-18 10:45:12 +02:00
Ivo van Dongen
57351c068b
[core] split backend from mapobserver
2017-07-18 10:45:12 +02:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
Roman Chichina
f2ad940c39
[core] mbgl-render: allow scale factor to be floating point number
2017-05-15 18:55:47 +02:00
John Firebaugh
9eba2a66d1
[core, node, darwin, qt] Remove support for paint classes
2017-05-15 09:45:55 -07:00
Konstantin Käfer
68e032e505
[core] Remove private header includes from CLI utilities
2017-03-28 13:53:19 +02:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
Konstantin Käfer
6be56ff9c2
[render] allow passing URLs to mbgl-render
2016-12-07 10:46:43 +01:00
Saman Bemel-Benrud
5a4b73f3be
Add ratio argument to render.cpp ( #7161 )
2016-11-23 11:08:43 -05:00
Konstantin Käfer
117863f111
[build] move headless rendering files to platform/default
2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e
[build] move default ThreadPool implementation to platform/default
2016-11-22 20:58:51 +01:00
Konstantin Käfer
67ed3ae3eb
[build] move GLFW-related files to platform/glfw
2016-11-22 20:58:51 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Bruno de Oliveira Abinader
e84b4042de
[glfw] Initial style from MAPBOX_STYLE_URL if set
2016-09-22 15:23:43 +03:00
Konstantin Käfer
692fe1f3ff
[build] switch to CMake
...
This is very much a work in progress.
2016-08-05 11:42:22 +02: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
John Firebaugh
e802aedb8c
[core, node, android] Remove used "base" parameter from setStyleJSON
2016-06-02 16:33:56 -07:00
Konstantin Käfer
cd65a43855
[core] move from microsecond precision timestamp to integer second precision
2016-05-13 17:24:22 +02:00
John Firebaugh
c8391729c7
[core] Use geometry.hpp feature type
2016-05-03 17:25:49 -07:00
John Firebaugh
7800445c85
[core] Use gyp's direct_dependent_settings to propagate variant cflags
2016-05-02 13:12:24 -07:00
John Firebaugh
34f9618d31
[core] Replace boost::lexical_cast with std::to_string
...
This removes the only boost dependency from public headers.
2016-05-02 13:08:51 -07:00
John Firebaugh
a883ac9253
[osx] Build output goes to build/osx
2016-04-19 16:28:30 -07:00
John Firebaugh
f964e40e7e
[build] Refactor and simplify build system
...
* Main gyp files are now standardized as platform/<platform>/platform.gyp.
* Each platform gyp file defines appropriate loop_lib and headless_lib variables.
* Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms.
* CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`.
* Renamed the "linux" test app to "glfw". It's now built in OS X CI.
* Android build flakiness is fixed.
* iOS CI builds the bench and iosapp targets.
* Mesa version is now in one place.
* CI scripts use bash "strict mode" and correct error handling.
* All build output goes to the build directory.
* Removed vestigial iOS/OS X/Android Travis scripts.
2016-04-07 18:01:02 -07:00
Mike Morris
5832825427
add pitch to bin/render.cpp
2016-04-05 17:57:46 -04:00
John Firebaugh
8ac82e5a38
Add test script for offline database size comparison
2016-03-16 17:08:37 -07:00
John Firebaugh
def2c804e5
[test] Fix crash in offline binary
2016-03-15 15:53:42 -07:00
John Firebaugh
12993531c0
[bin] Add explicit ^C handling to bin/offline, to test deactivation
2016-03-07 21:09:46 -08:00
John Firebaugh
55c5c3c891
[bin] Print message when tile count limit is exceeded
2016-03-04 15:15:10 -08:00
Thiago Marcos P. Santos
2b0749e3c6
[offline] Accept parameters
...
The defaults remains the same: Bay area at zoom 15.
The key, if not supplied, is taken from the environment.
```
Allowed options:
-s [ --style ] URL Map stylesheet
--north degrees (=37.200000000000003) North latitude
--west degrees (=-122.8) West longitude
--south degrees (=38.100000000000001) South latitude
--east degrees (=-121.7) East longitude
--minZoom number (=0) Min zoom level
--maxZoom number (=15) Max zoom level
--pixelRatio number (=1) Pixel ratio
-t [ --token ] key Mapbox access token
-o [ --output ] file (=offline.db) Output database file name
```
2016-03-02 15:30:37 -03:00
John Firebaugh
65c06e6270
[core] status.requiredResourceCountIsIndeterminate ⇢ status.requiredResourceCountIsPrecise
...
Change the name and reverse the sense. Naming things in the positive is better than naming them in the negative.
2016-02-24 13:38:14 -08:00
John Firebaugh
40ecdeb0b6
[core] Optimize offline database schema
...
* Under the hood, SQLite creates surrogate keys (ROWID) anyway. We may as well take advantage of this and use the surrogates for foreign keys as well, since they are simpler and more efficient than compound foreign keys.
* Create indexes for efficient eviction queries
2016-02-10 15:40:20 -08:00
John Firebaugh
c91b44b02f
Add binary for smoke-testing offline downloads
2016-02-10 15:40:20 -08:00
John Firebaugh
5a7d2fd60e
[core] Eliminate platform::assetRoot()
...
I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
2016-01-13 13:40:31 -08:00
John Firebaugh
e7b0b31d58
[core] Privatize SQLiteCache
2016-01-08 12:31:13 -08:00
John Firebaugh
b60b6c47c0
[core] Merge SQLiteCache into the platform library
...
OfflineFileSource will depend on SQLite too.
2015-12-22 12:09:14 -08:00
Thiago Marcos P. Santos
e7b6d72cd1
[render] Add a RunLoop to render main thread
...
Also simplified the code making the logic more linear.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
3d07aaf95d
[core] Don't link with libuv on components not using it directly
2015-12-01 11:49:02 +02:00