Commit Graph

2435 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
021e48f35e [build] Run cmake-format on all the CMake files
Unify and enforce a CMake coding style.
2020-02-07 20:12:44 +02:00
Thiago Marcos P. Santos
47f2b20435 [build] Remove unused files
Buck build is no longer needed, neither is the previous
CMake buildsystem.
2020-02-07 20:12:44 +02:00
Thiago Marcos P. Santos
f7fef70e9d [build] Move the next buildsystem to the root
This will make the `next` buildsystem no longer the `next`, but the
`actual`. The idea is to simplify the build, removing scripts, to
make the platform buildsystem generated by CMake more compatible
with IDEs and make development more streamlined. It will also make
cross compilation easier.
2020-02-07 20:12:44 +02:00
Thomas Moenicke
b64ed75444 [build] Adding a build flag to build without GL if needed (#16120)
* [build] Adding a build flag to build without GL if needed

* [build] Moving custom layer to mbgl/gl
2020-02-03 19:10:57 +02:00
m-stephen
f9b7284276 [ios, macos]Remove iOS/macOS codes from native codes (#16031)
* add source/header

* add ios files

* add configs

* modify name

* http_file_source

* add interface delegate when map init

* fix name

* fix delegate name

* support mac os

* add mac os support

* make optional delegate when mac os

* mac/ios difference

* add ios change log

* cancel iOS/mac OS judgement

* cancel iOS/mac OS judgement

* cancel judgement in .m

* update

* update

* update http_file_source

* update ios

* update mac os

* add mac os file

* add mac os file to `.cmake`

* change names

* add log & fix format

* reset changelog commit

* update changelog

* rename iOS network manager

* Add a test configuration(same as default configuration) when mac os run tests

* re-add account type into `http_file_source`

* refactor
2019-12-14 13:38:46 +08:00
Langston Smith
c35f64a2b5 [mobile] README update about mobile work being moved to new repos (#15958) 2019-11-27 07:18:51 -08:00
Juha Alanen
a1243ac1ea [ios, macos] Changelog entry for network request priority change (#15950) 2019-11-21 14:39:47 +02:00
Mikhail Pozdnyakov
abdd32d11f [ios][android] Change log entries for #15941 2019-11-19 16:08:35 +02:00
Mikhail Pozdnyakov
2246cf7cc7 [ios][android] Add change log entries 2019-11-12 15:12:31 +02:00
Alexander Shalamov
bcbaa3585b [darwin] Update changelog 2019-11-11 18:20:01 +02:00
Mikhail Pozdnyakov
4964f7ed00 [ios][android] Add change log entries 2019-11-05 11:45:38 +02:00
Mikhail Pozdnyakov
bdbb136612 [ios][android][core] Added change log entries and more code comments 2019-10-28 13:02:32 +02:00
Mikhail Pozdnyakov
2cdc09dbb1 [ios][android] Add change log entries 2019-10-22 15:51:16 +03:00
Mikko Pulkki
0ca96fd8a4 [render-test] Implement fps benchmarking tests (#15803) 2019-10-22 12:13:55 +03:00
Jordan Kiley
e4e2a78033 Add iOS bindings for cluster properties (#15515) 2019-10-11 13:46:41 -07:00
Julian Rex
a1f124c394 [ios] Fix for iOS 9 crash (seen in simulator) (#15771)
* [ios] Fix for iOS 9 crash (seen in simulator)

* [ios] Update change log

* [ios, macos] Add #if around new function.
2019-10-11 15:16:12 -04:00
Mikhail Pozdnyakov
e909997a31 [android][ios] Change log entries 2019-10-10 15:39:34 +03:00
Nadia Barbosa
32a73a5be5 [ios] Podspec & changelog updates for v5.5.0-alpha.2 2019-10-09 13:20:04 -07:00
Fabian Guerra Soto
5c565a5e51 [ios] Fixes an issue that caused the ornaments ignore contentInset property. (#15584)
* [ios] Add mapView content inset tests.

* [ios] Fix an issue that caused the ornaments ignore the contentInsets.

Fixed an issue that caused ornaments ignore the contentInset. Added a new property automaticallyAdjustContentInset that has the same purpose as UIViewController. automaticallyAdjustsScrollViewInsets. This was changed due to the latter being deprecated.

* [ios] Fix automaticallyAdjustsScrollViewInsets legacy behavior.

The property automaticallyAdjustsScrollViewInsets overrode automaticallyAdjustsScrollViewInsets which caused a breaking change. This is fixed to consider the legacy property when calculating the content insets and added tests for both cases.

* [ios] Fix the contentInset value after adding padding to the camera.

Fixed an issue that caused a discrepancy between the contentInset in MGLMapView and the padding in the transformation state.

When padding is passed through methods such as setCamera it’s persisted. This fix resets the contentInsets.

* [ios] Fix pinch test.

* [ios] Update automaticallyAdjustsScrollViewInsets name and documentation.

* [ios] Update changelog.
2019-10-04 17:13:00 -07:00
Julian Rex
33a70100b8 [ios] Adds pointForCoordinate/coordinateForPoint to MGLMapSnapshotOverlay (#15746)
* [ios] Adds `pointForCoordinate:`/`coordinateForPoint:` to MGLMapSnapshotOverlay

* [ios] Adds PR #

* [ios, macos] Update file lists & mac contexts

* [macos] Fix for image scale in overlay.

* [ios] Updated change log based on PR feedback.
2019-10-04 13:51:40 -04:00
Julian Rex
cab756374f [ios] Fix layout of Scale bar components (#15703)
* [ios] Add failing tests for scale bar updates.

* [ios] Remove borderLayer

* [ios] Ensure bar sections have non-fractional width

* [ios] Add RTL override

* [ios] Update constraints/layout

* [ios] Invalidate scalebars size, after the parent's layout has happened (to ensure the view dimensions are correct when re-laying out the scale bar.

* [ios] Refactor layout

* [ios] Update changelog / remove commented code.

* [ios] Remove whitespace

* [ios] Stop integration tests asserting (when scale bar is hidden). Also reduces the # of calculations (since updateConstraints and layoutSubviews can be called outside of our control).

* [ios] Moves declaration of properties for testing.

* [ios] Removes redundant property attribute

* [ios] Updated change log
2019-10-04 11:15:20 -04:00
Mikhail Pozdnyakov
946b9d2281 [ios][android] Add change log entries 2019-10-04 13:16:54 +03:00
Nadia Barbosa
daf8e1289c [ios] Podspec & changelog updates for v5.5.0-alpha.1 2019-10-02 13:38:51 -07:00
Mikhail Pozdnyakov
90b37927eb [ios][android] Add change log entry 2019-10-02 20:45:46 +03:00
Alexander Shalamov
e5cdc4ecf3 [core][android][darwin] Move number format to i18n 2019-09-26 10:55:47 +03:00
Julian Rex
7c2a7a263f [ios] Update podspecs & changelog for v5.4.0 release (#15716) 2019-09-25 16:41:20 -04:00
Jason Wray
183ba62b09 [ios, build] Use Ruby 2.6.x for build dependencies on CI 2019-09-24 12:24:46 -07:00
Jason Wray
83a5aae67a [ios, build] Update to jazzy 0.11.1 2019-09-24 12:24:46 -07:00
Thiago Marcos P. Santos
3888af2460 [build] Move compression to platform
It depends on platform specific compression library.
2019-09-20 15:27:52 +03:00
Jason Wray
f49f2e506d [ios] Copyedit changelog for ios-5.4.0 2019-09-19 19:27:33 -07:00
m-stephen
8128d709b6 [ios]Add errors reporting (#15391)
* add errors reporting

* [ios] report error if rendering takes > 1 second. (#15633)
2019-09-20 10:14:44 +08:00
Julian Rex
da6a7e9318 [ios] Release ristretto beta.1 prep (#15684)
* [ios] Update podspecs to 5.4.0-beta.1

* [ios] Update change log

* [ios] Added code ticks.
2019-09-19 18:12:44 -04:00
Jordan Kiley
14b1475942 Prepare for Maps SDK for iOS v5.3.2 (#15670) 2019-09-18 22:39:14 -07:00
Jordan Kiley
ce41f6f35f Add changelog entries from ios-v5.3.1 to master (#15665) 2019-09-18 16:52:02 -07:00
Julian Rex
2b08c1d7bf [ios, macos] Fix MGLOfflinePack invalidate crash (#15582) 2019-09-18 18:13:07 -04:00
Dan Swick
8bbc4a2178 [android, build] Generalize docs deployment script and add Android docs deployment to circle config (#15299) 2019-09-18 12:44:18 -07:00
Mikhail Pozdnyakov
5abb4aebc7 [ios][Android] Add a change log entry 2019-09-18 16:21:59 +03:00
Mikhail Pozdnyakov
19cbad2261 [ios] Fix testForRaisingExceptionsOnStaleLayerObject test 2019-09-18 16:21:59 +03:00
Julian Rex
fc7d2938dd [ios] Fixed test name (since validAccessToken has been removed in another PR). Added some more asserts. (#15643) 2019-09-17 16:18:14 -04:00
Julian Rex
3dbc44404f [ios, macos] Tail work from 15385 (#15647)
* [ios] Tweak iosapp headers.

* [ios] Revert bundle identifier change.

* [ios, macos] Remove parameter not referenced.
2019-09-17 15:52:18 -04:00
zmiao
0a219d182c [Core] Fix wrong maxzoom setting of tileSet when using URL source (#15581)
* [core] Take max/min zoom option from style if they are set

* [core] std::move input value

* [Core] Add changelogs

* [Core] Fix clang-format reported error

* [Core] fix clang-tidy reported error
2019-09-17 18:00:37 +03:00
Thiago Marcos P. Santos
1304502f81 [build] Fix iOS nits
- Hardcoded the bundle identifier on Info.plist, CMake is not
  picking it up.
- Do not use installed headers when building the framework.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
d424850257 [build] Make the default styles part of GL Native
The reason is applications using it, like GLFW, don't need
to depend on code inside platform/default.
2019-09-17 12:28:55 +03:00
Thiago Marcos P. Santos
8ee6cfa8fb [build] Cosmetics on vendor packages
- Add include guards on all the files
- Add a vendor package for sqlite and gtest
- Use relative paths to all the files
2019-09-17 12:28:55 +03:00
Julian Rex
a99240a54f [ios] Add support for running tests (that require an access token) individually. (#15629) 2019-09-16 21:30:54 -04:00
Nadia Barbosa
8331b7adfe [ios, macos] Introduce custom drawing overlays for MGLMapSnapshotter 2019-09-16 12:55:36 -07:00
Julian Rex
40b0cb74cb [ios] Update change log. (#15626) 2019-09-16 13:32:35 -04:00
Jordan Kiley
e5ae7187d9 [ios] Small fixes to the Swift Playground (#15603) 2019-09-16 10:22:42 -07:00
Julian Rex
99492ff5e7 [ios] Add custom XCTestSuite to check for "pending" tests and tests requiring a valid access token. (#15477) 2019-09-13 23:20:17 -04:00
Mikhail Pozdnyakov
048e2c8e8e [ios][android] Add a change log entry 2019-09-13 13:45:48 +03:00