Commit Graph

181 Commits

Author SHA1 Message Date
dependabot[bot]
ac3c23381d Bump ejs from 2.7.4 to 3.1.7 in /platform/ios (#429)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2022-09-08 12:51:25 +02:00
dependabot[bot]
bd86fbff79 Bump simple-plist and xcode in /platform/ios (#430)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 06:15:11 +02:00
Birk Skyum
95f41105e8 Use self-hosted AWS runners (#426) 2022-09-08 05:23:14 +02:00
Birk Skyum
2cae1ecc41 Fix MGLOfflineStorageTests (#428) 2022-09-07 19:16:55 +02:00
Nathan Van Fleet
35c86172e4 Add Bazel build file implementation (#419) 2022-09-06 20:32:43 -07:00
Rob Labs
901ab18689 Fix for "NSExpression function is forbidden" (#411)
* For iOS 15.5, refactor how MGL Expressions are defined. Fix for "NSExpression function is forbidden" #331

* Convert CI Scheme to TestPlan. Add CI-Expressions TestPlan (which skips tests unrelated to `NSExpression`)

* Update Swift & Objective-C sample Code for MGL Expressions.  Use these patterns for fixing unit tests.

* Update Swift sample code & documentation for MGL expressions.  Update API docs (.h) & online docs (HTML) with:  `make darwin-style-code && make idocument`

* Refresh developer documentation for:  build dependencies, running unit tests from the command line, and logging in C++.

* Mark certain unit tests as "Expected Failures":  Awaiting unit test refactoring for https://github.com/maplibre/maplibre-gl-native/issues/331

* Update to latest Xcode & iOS SDK. Update GitHub Action Runner Images from https://github.com/actions/runner-images

* For iOS 15.5, add "Expected Failure" for tests

* Skip failing test unrelated to NSExpressions

* Convert macOS project to use Test Plans

* Exclude previously failing Offline Storage test

* Refactor MGL Match expressions for macOS & iOS 15.5

* Refactor Unit Tests so that "Excluded Failures" work for both macOS 12 & iOS 15.5

* Refresh documentation on how to test for macOS from the command line
2022-09-03 22:32:15 +02:00
Andrew Calcutt
ad91ff235d Fix mode switch not working in node version (#415) 2022-08-28 10:13:38 +02:00
Nathan Van Fleet
b159c991da Move mapview experiment file (#381)
* Move mapview experiment file

The implementation of this file appears to be that it's used in the demo app and is not public, but it's still in the path and compiled into the SDK itself. This seems unecessary.

* add missing

Co-authored-by: Rob Labs <roblabs@users.noreply.github.com>
2022-08-24 00:50:25 +02:00
Nathan Van Fleet
da49607f97 Remove duplicate files from ios-darwin and darwin (#384)
* Remove duplicate files from platform/ios/platform/darwin and platform/darwin

There are duplicated files between platform/iOS/platform/darwin/src and platform/darwin/src

```
src/headless_backend_cgl.mm
src/image.mm
src/string_nsstring.mm
src/headless_backend_eagl.mm
src/number_format.mm
src/local_glyph_rasterizer.mm
src/logging_nslog.mm
src/nsthread.mm
src/collator.mm
src/CFHandle.hpp
include/mbgl/util/image+MGLAdditions.hpp
src/timer.cpp
src/run_loop.cpp
src/async_task.cpp
src/gl_functions.cpp
```

There are three files which are not the exact same diff even

```
src/local_glyph_rasterizer.mm
src/nsthread.mm
src/collator.mm
```

Uniformly it seems like all platform/iOS/platform/darwin/src files should be removed keeping the platform/darwin/src versions.

I believe these files should have been deleted with a previous change of some kind and are otherwise not referenced.

* update
2022-08-15 17:10:56 +02:00
Nathan Van Fleet
6335d04ca9 Remove observation of key-path (#380)
This was previously used in an assert when hiding the info view, but that implemenatation was removed but this wasn't.
2022-08-13 15:41:08 +02:00
Nathan Van Fleet
b67b5a4a27 Remove account from xcconfig (#382)
This was previously used to support the compiled in Mapbox account code. It's not longer in the project but this search path does remain.
2022-08-13 15:40:23 +02:00
Tadej Novak
1341f33ba4 Add ClientOptions to be able to pass around client name and version (#365)
* ClientOptions and Qt user agent

* Update CHANGELOG.md

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-08-13 15:36:50 +02:00
kiibimees
a261c59b23 [qt] Don't add import/export when building inside Qt plugin. (#394) (#395)
[qt] Do not add import/export into headers when building inside Qt plugin. (#394)

Co-authored-by: Tadej Novak <tadej@tano.si>
2022-08-13 11:12:32 +02:00
Tadej Novak
af36ed3456 Only override CMAKE_OSX_ARCHITECTURES for XCode (#352) 2022-08-06 17:27:47 +02:00
Dominik Nussbaumer
3ec6bc5c37 Wrap forward declared Qt classes with Qt namespace macros (#373)
Wrap forward declared Qt classes with QT_BEGIN_NAMESPACE and QT_END_NAMESPACE
2022-08-06 17:26:13 +02:00
Tadej Novak
c75b70c690 [qt] Add QMapLibreGL common header (#370) 2022-07-16 14:09:37 +02:00
Oliver Wipfli
b18c12b449 Replace master with main in node changelog (#356) 2022-07-05 18:26:24 +02:00
Oliver Wipfli
acdce04a22 Use maplibre docs for more links (#354) 2022-07-05 18:25:53 +02:00
Oliver Wipfli
6bbeb9fd91 Use the MapLibre style spec docs website (#353) 2022-07-05 18:25:11 +02:00
Tadej Novak
5b3d936521 [qt] Rename QMapboxGL to QMapLibreGL (#338)
* Rename QMapboxGL to QMapLibreGL

* Add missing QDebug includes

* Fix Qt CMake config

* Fix geojson warning

* Remove redundant OpenGL dependency

* Put everything under QMapLibreGL namespace

* Reorganise headers

Co-authored-by: Rinigus <rinigus.git@gmail.com>
2022-07-03 20:30:46 +02:00
RobLabs.com
ca5810f61f Remove an unused static library (savings of 97 KB from iOS binary). 2022-06-20 14:17:46 -07:00
Oliver Wipfli
4e2a314dd3 Remove unneeeded iOS repo files (#307) 2022-06-18 09:27:44 +02:00
RobLabs.com
5f679b55b6 Refresh iOS & Android build docs 2022-06-17 15:38:09 -07:00
Tadej Novak
9cd70bfe7f Qt build improvements and documentation (#277)
* Qt build improvements and documentation

* Update include/mbgl/actor/actor_ref.hpp

Co-authored-by: Oliver Wipfli <oliver.wipfli@leichteralsluft.ch>
2022-06-16 20:52:52 +02:00
dependabot[bot]
a1f3dd2632 Bump ejs from 2.7.4 to 3.1.7 in /platform/android (#299)
Bumps [ejs](https://github.com/mde/ejs) from 2.7.4 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v2.7.4...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 19:33:22 -07:00
Oliver Wipfli
9b009cf9d3 Add iOS API docs workflow (#319) 2022-06-13 07:20:02 +02:00
Joel Winarske
cccab12a4f Fix bad endpoint (#316) 2022-06-09 21:48:46 +02:00
Oliver Wipfli
fd58de940f Remove iOS cloudformation config (#308) 2022-06-08 13:46:30 +02:00
Oliver Wipfli
6907787d06 Link MapLibre org code of conduct (#306) 2022-06-08 13:45:54 +02:00
Daniel Woznicki
7a541c23ba Linux build docs (#295) 2022-06-08 11:27:09 +02:00
Oliver Wipfli
eca80dbc05 Replace Mapbox with MapLibre in README titles (#297) 2022-06-06 11:42:17 +02:00
Brendan Ward
834a198c98 Handle nonexistent mbtiles files, add MBTilesFileSource tests (#292)
* Handle nonexistent mbtiles files, add MBTilesFileSource tests

* minor formatting fix
2022-05-27 14:57:25 -07:00
Nathan Van Fleet
c762d231ea fix(darwin): logging - potential crash due to mishandled string formats (#286) 2022-05-20 10:22:33 -04:00
Tadej Novak
32ed70c95d [msvc] Fix warnings, mainly casting to smaller types (#270)
If the checks by GitHub Actions checks are met, then it seems good to go.  Thanks for supporting FOSS4G!
2022-04-22 11:40:55 -07:00
Brendan Ward
225f8a4bfe Do not return error when tile is not found in mbtiles file (#272) 2022-04-07 09:57:17 +02:00
Brendan Ward
539d81a3b9 Rename MaptilerFileSource to MBTilesFileSource (#198) 2022-04-07 09:56:52 +02:00
Nathan Van Fleet
b3a4f1686d fix(ios): logging format strings (#266) 2022-04-06 20:16:19 -04:00
Jelle Breuer
d9a22ba2cf Changed missed MapBox reference to MapLibre (#253) 2022-04-06 21:59:43 +02:00
Tadej Novak
59fa32e96a [qt] Build with WebAssembly (#256) 2022-03-15 13:22:11 +01:00
Oleksandr Stepanov
6db27f50ad Implement map projection functionality (#254)
* Implement map projection functionality

* Add missing MGL_EXPORT

* Remove the automatic copyright header
2022-03-14 07:03:05 -07:00
Ian Saultz
ea234edf67 chore: rename master -> main in CI and scripts (#246)
Thanks for contributing to FOSS4G!
2022-03-07 11:40:06 -08:00
rinigus
e1cd6f829f [qt] Set defaultStyles to const (#240) 2022-02-20 18:29:27 +01:00
Ian Saultz
2025cf0933 [ios] fix missing attribution (#236) 2022-02-15 09:26:31 -08:00
kiibimees
747eb3a440 [qt] Build improvements and better handling of map settings (#197)
* QMapboxGLSettings functions for changing default options and getting default styles

* [qt] allow to build without widgets and other cmake improvements

* [qt] Install include/mbgl for development

* [qt] library static/shared install+export

* [qt] Add missing mbgl-compiler-options dependency for 'qmapboxgl'

* [qt] Raise CMAKE_OSX_DEPLOYMENT_TARGET from 10.13 to 13.0

* [qt] Add Qt::Sql dependency also to the final library. Build qmapboxgl as OBJECT lib inside QtLocation plugin.

* Remove Qt::Sql dependency from 'qmapboxgl'. Not really needed.

* Set CMake config files path back to ${CMAKE_INSTALL_LIBDIR}/cmake/QMapboxGL/

* [qt] Set CMAKE_OSX_DEPLOYMENT_TARGET only if it is not yet set

* [qt] Support CMake v3.11 and earlier versions

* [qt] Comment out 'iOS_static' from CI until it is fixed.

Co-authored-by: Rinigus <rinigus.git@gmail.com>
2022-02-14 17:18:29 +01:00
Justas Brazauskas
cfcbc62fad Feature - Bring back node support (#217)
This PR brings back support for node.js later versions, as well as actually making it work. Maps now render, properly, using node v10, v12, and v16.
2022-02-08 20:40:19 +01:00
Tadej Novak
b7a42e9974 Remove obsolete CI configurations (#219) 2022-01-28 12:01:43 -08:00
Tadej Novak
05836553f1 [qt] Initial CI pipeline (#221) 2022-01-28 11:43:46 -08:00
Mateusz Konieczny
334a2401ae [ios] mapbox -> maplibre, fix broken links (#189) 2022-01-20 19:06:23 +01:00
dependabot[bot]
b8b2b80a12 Bump lodash from 4.17.19 to 4.17.21 in /platform/android (#195)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-08 22:54:34 +01:00
petr
381e43fe36 Updating changelogs for release ios-v5.12.2 and android-v9.5.2 2021-12-02 16:48:50 +01:00