Commit Graph

12940 Commits

Author SHA1 Message Date
Anand Thakker
d25e1a1e7f Relax typing for comparison operators (#12537)
* Relax typing for comparison operators

Ports https://github.com/mapbox/mapbox-gl-js/pull/6961

* Review comments

* Lint fixes
2018-08-02 13:48:47 -04:00
Julian Rex
952c4131e6 [ios] Update podspecs for alpha.2 (#12531) 2018-08-01 16:52:35 -04:00
Fabian Guerra
62fb7e1987 [ios] Fix location manager null reset. 2018-08-01 10:21:34 -07:00
Łukasz Paczos
d6c602b48c [android] changelog for 6.4.0-alpha.2 2018-08-01 18:14:41 +02:00
Bruno de Oliveira Abinader
58d8b771a1 [Qt] QMapboxGL::set{Paint,Layout}Property should return bool 2018-08-01 13:36:11 +03:00
Jason Wray
f7dcfced34 [ios, build] Bump CircleCI to Xcode 9.4.1 2018-07-31 18:48:55 -04:00
John Firebaugh
9e3a4a2646 [ios, macos] Enable link-time optimization for iOS release builds (#12502) 2018-07-31 15:35:17 -07:00
John Firebaugh
9bdd765a02 [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) 2018-07-31 14:21:47 -07:00
Jason Wray
885f6e3c02 [ios] Add preferred FPS setting; vary maximum FPS by device capability
- Add `MGLMapView.preferredFramesPerSecond`, which can be set with the provided `MGLMapViewPreferredFramesPerSecond` enum values or directly with an integer.
- Adaptively set the preferred FPS based on the capabilities of the device: the oldest and least powerful devices are now capped at 30 FPS, which results in a more consistent/smoother experience.
2018-07-31 15:20:05 -04:00
Konstantin Käfer
c77aa79f51 [core] update parse_date from cURL 7.61.0 2018-07-31 20:57:09 +02:00
John Firebaugh
2c5bebbdd8 [node] Update documentation for publishing process (#12500)
* Update node publishing process

* publish instruction separated into steps
2018-07-31 08:52:33 -07:00
John Firebaugh
9a1bb1ad14 [core] Tweak conversions to reduce binary size
* return {} → return nullopt
* error = { "..." } → error.message = "..."
2018-07-30 17:17:38 -07:00
John Firebaugh
bf7785618a [core] Simplify CompoundExpression implementation 2018-07-30 14:08:27 -07:00
John Firebaugh
85742b908d [core] Avoid unnecessary template instantiations 2018-07-30 14:08:27 -07:00
Sudarsana Babu Nagineni
377a6e42d6 [Qt] Fix link to Qt public API headers in README.md 2018-07-30 15:21:18 +03:00
Sudarsana Babu Nagineni
e4281fb3c8 Update DEVELOPING.md
Added a section about inheriting constructors
(e.g. using Base::Base;) issue on the compilers
which has only partial C++11 support.
2018-07-30 12:38:24 +03:00
Sudarsana Babu Nagineni
9561b6c115 Update geometry, geojsonvt and vector-tile modules
Update mason modules geometry, geojsonvt and vector-tile
to latest.
2018-07-30 12:38:24 +03:00
Sudarsana Babu Nagineni
91ace9d465 Remove use of noncopyable in Context 2018-07-30 12:38:24 +03:00
Sudarsana Babu Nagineni
15a1c7b71f Fix compilation errors with libc++ on QNX 7
This patch fixes the compilation errors on QNX 7:
1) QNX 7 compiler (i.e qcc based GCC 5.4.0 with libc++ from LLVM) has a
limited c++11 feature support and causing the compilation
errors with the inheriting constructors. This fixes the issues by
providing the required constructors explicitly.

2) Resolves an ambiguous overload error with optional<T>
2018-07-30 12:38:24 +03:00
Osana Babayan
f05199e2d9 VisibleRegion on rotated bounds (#12135) (#12255) 2018-07-27 09:31:33 -07:00
Jason Wray
d4b3befecb [ios] Fix file encoding for pt-PT strings file
Converted from UTF-16 to UTF-8.
2018-07-27 11:16:16 -04:00
Tobrun
1be63108bb [android] - wait for the initial render to occur before showing the map to the end-user 2018-07-27 11:40:04 +02:00
tobrun
d61ad7b642 [android] - unbound variable with external PR 2018-07-27 11:30:48 +02:00
Kiyong Jung
37bbed5b9c [android] Reuse Bitmap, Paint & Canvas instances in LocalGlyphRasterizer
- Make LocalGlyphRasterizer.drawGlyphBitmap() non-static
- Store and reuse Bitmap, Paint & Canvas instances
2018-07-27 11:24:26 +02:00
Łukasz Paczos
94ad8e2ff8 [android] using @Keep annotation across the project with the help of lint checks 2018-07-26 19:47:11 +02:00
Tobrun
5fcd6e38a9 [android] - add minimal touch target to marker click detection 2018-07-26 13:04:32 +02:00
tobrun
b8b0134d65 [android] - validate if circle-ci var is unset 2018-07-26 11:58:30 +02:00
Lloyd Sheng
9c90509750 [iOS] Add fallbacks for name fields (#12387)
* Add fallbacks for name fields

* Add a fallback for `name_zh-Hant`

* Update changelog
2018-07-26 13:53:12 +08:00
Jordan Kiley
8400355e99 [ios] Updated podspecs and changelog for ios-v4.3.0-alpha.1 (#12486) 2018-07-25 12:43:58 -07:00
John Firebaugh
10e4ea0f28 [core] Compress all shader source as a single corpus 2018-07-25 11:39:05 -07:00
John Firebaugh
888a516f1f [core] Compress shader source code 2018-07-25 11:39:05 -07:00
Łukasz Paczos
524a645f0b [android] - changelog for 6.4.0-alpha.1 2018-07-25 19:41:40 +02:00
Minh Nguyễn
3a97734cd2 [ios, macos] Fixed typos in expression conversion error messages 2018-07-25 04:25:45 -07:00
Jason Wray
cdd3553641 [darwin] Use FOUNDATION_EXTERN instead of plain extern
FOUNDATION_EXTERN is an alias for extern in most cases, but also covers us in the event that a method could be mismangled by the compiler as C++ (when we want C-style mangling, for Obj-C compatibility).
2018-07-24 18:14:32 -04:00
Jason Wray
14dc94e65f [ios] Simplify and (internally) document MGLPointRounded()
`UIScreen.nativeScale` is available beginning in iOS 8, so the conditional is no longer necessary.
2018-07-24 18:14:32 -04:00
Jason Wray
08b08878d3 [ios] Move private geometry symbol visibility definitions to header 2018-07-24 18:14:32 -04:00
Jason Wray
4205cf7b10 [ios] Fix symbol mangling issue with MGLMapPointForCoordinate()
`MGLMapPointForCoordinate()` was `extern`-defined in a C header, but implemented in an Obj-C++ source file and mangled as a C++ symbol. `FOUNDATION_EXTERN` is C++-aware and will force C-style symbol mangling, which fixes the undefined symbol issue in consumer Obj-C projects.
2018-07-24 18:14:27 -04:00
John Firebaugh
f149951f0f [build] Remove obsolete bitrise.yml files 2018-07-24 14:28:29 -07:00
John Firebaugh
f6659c729f [core] Use hand-rolled RTTI 2018-07-24 11:08:40 -07:00
John Firebaugh
2bbc792060 [core] Check all bucket dynamic_casts
A mismatch can occur when a layer changes from one type to another.
2018-07-24 11:08:40 -07:00
Bruno de Oliveira Abinader
cb714d57c5 [core] Replace expressions RTTI with enums + static cast 2018-07-24 10:06:18 +03:00
Bruno de Oliveira Abinader
1683da3225 [core] coveredByChildren is false if at least one child is uncovered 2018-07-24 09:18:19 +03:00
Dane Springmeyer
bcc93baeb1 Remove 'preinstall'
This is an obsolete workaround for old npm versions that broke with bundling but also did not install deps predictably.

Refs:

 - https://github.com/mapbox/node-pre-gyp/blob/master/README.md#configuring
 - https://github.com/mapbox/node-pre-gyp/issues/260
2018-07-23 16:02:10 -07:00
Chris Loer
da5966b932 [test] Add native ignore for symbol-cross-fade test. 2018-07-23 13:33:27 -07:00
Chris Loer
8ae3f687c4 [test] Bump gl-js pin for line-center tests. 2018-07-23 13:33:27 -07:00
Chris Loer
0b2221cb74 [android, ios, macos] Generate symbol-placement: line-center wrappers 2018-07-23 13:33:27 -07:00
Chris Loer
f9b36f9f5b [core] Add symbol-placement: line-center
- Remove unused/vestigial 'maxCameraDistance'
- Create a single collision circle for line labels that are less than half the width of a collision circle
2018-07-23 13:33:27 -07:00
John Firebaugh
870d7fda4d [build] Attempt to determine a likely base branch without a PR
Walk backward through the history (maximum of 10 commits) until finding a commit on either master or release-*; assume that's the base branch.
2018-07-23 11:21:51 -07:00
tobrun
3821f74079 [android] - fix circle ci configuration for building forked PRs 2018-07-23 19:18:54 +02:00
Bruno de Oliveira Abinader
31cace784e [build] Bump benchmark to v1.4.1 2018-07-23 19:39:47 +03:00