30 Commits

Author SHA1 Message Date
Max Ammann
fec6a408ee
Update Rust for CI and IDEs (#207)
* Upgrade toolchain to 1.65

* Set minimum Rust version

* Cargo workspaces

* Set version manually

* Set a specific rust version so we an upgrade is triggered

* Use debug for wgpu-info for speedier compile

* Install specific rev of wgpu-info

* Fix windows build
2022-11-12 13:21:29 +01:00
Max Ammann
1444ae7782
Clippy fixes (#197)
* Apply clippy fixes

* Use nightly for android

* Use nightly for web

* Fix feature usage

* Deny unused imports

* Add ios and web fixup

* Exit with non-zero exit code

* Add no_pendantic_os_check cfg flag
2022-11-05 13:29:11 +01:00
Maximilian Ammann
0e15635f2c Update idea files for new kotlin version 2022-11-02 20:44:47 +01:00
Maximilian Ammann
d0cefe69de Upgrade Android plugin 2022-11-02 20:28:30 +01:00
Maximilian Ammann
fa7e8b019e Set rust nightly version for gradle project 2022-11-02 17:58:31 +01:00
Maximilian Ammann
628216e366 Fix compilation for android 2022-11-02 17:58:18 +01:00
Maximilian Ammann
def2e8de6e Wrap native function 2022-11-02 17:58:07 +01:00
Maximilian Ammann
b7b48c3327 Update idea config for gradle project 2022-11-02 17:57:53 +01:00
Maximilian Ammann
91e8000526 Fix ndk-glue version 2022-11-02 17:56:45 +01:00
Maximilian Ammann
7278829910 Move files within maplibre-winit directory 2022-10-30 18:32:41 +01:00
Maximilian Ammann
8c7a1f32d0 Fix compilation 2022-09-24 16:58:53 +02:00
Maximilian Ammann
f012d23b7e Remove ScheduleMethod and replace with Scheduler 2022-09-09 12:46:16 +02:00
Max Ammann
6aa0557c90
Configure rustfmt (#145)
* Configure rustfmt

* Apply new formatting rules
2022-07-17 16:14:29 +02:00
Birk Skyum
99a74d35df
Update deps with cargo upgrade (#152)
* Update deps with cargo upgrade

* Keep tracy versions aligned
2022-07-08 18:20:47 +02:00
Antoine Drabble
172d64f1b3
Android improvements (#105)
* Improve the android demo project

* Install missing toolchain for the Android action

* Improve Android NDK installation docs

Co-authored-by: Maximilian Ammann <max@maxammann.org>
2022-06-11 21:08:10 +00:00
Max Ammann
1c46a77ce0
Improve headless feature structure (#128)
* Collect headless related stuff under feature flag

* Run clippy
2022-06-04 10:53:54 +02:00
Maximilian Ammann
75f69fa840 Set NDK 2022-06-02 16:06:49 +02:00
Max Ammann
916af61abc
Add Render Graph from Bevy (#93)
* Add render graph from bevy with graph runner

* Add surface

* Continue to refactor renderer

* Make ScheduleMethod object safe in order to be able to have a dyn object in MapContext

* Cleanup, add some more documentation and simplify

Support resizing

Fix late init

* Update apple docs

* Give bevy attribution

* Pass github token

* Improve some comments
2022-05-23 16:53:51 +02:00
Max Ammann
feff3201c9
Move winit code to maplibre-winit (#86)
* Extract winit code to maplibre-winit

* Run clippy

* Fix android and apple

* Remove import

* Fix android compilation

* Fix android

* Update dependencies

* Fix android

* Fix android

* Add map window config

* Fix feature flag

* Add title to config

* Remove unused export

* Fix for android
2022-05-10 08:58:45 +02:00
Max Ammann
bac7ffb8c1
Move platform specific code to web (#63)
* Add a view state for input processing

* Move platform specific web code to web crate

* Run clippy

* Fix apple and android

* Move error function

* Do not enable all features

* Remove header from .h file

* Refactor to use where clauses
2022-05-02 20:29:05 +02:00
Maximilian Ammann
297b4f2b46 Add compile error checks 2022-04-24 12:22:36 +02:00
Maximilian Ammann
481629bb90 Fix android project and remove some files 2022-04-24 12:22:27 +02:00
Maximilian Ammann
66ffdfdd02 Fix clippy in CI 2022-04-24 12:08:53 +02:00
Maximilian Ammann
d478775113 Format files 2022-04-23 18:39:51 +02:00
Maximilian Ammann
c289c184d3 Add demo and lib to gradle project 2022-04-23 18:36:59 +02:00
Maximilian Ammann
98d6b035f3 Add gradle project for android library 2022-04-22 22:45:42 +02:00
Maximilian Ammann
afcdb32dfe Add comments 2022-04-22 22:23:54 +02:00
Maximilian Ammann
3379ce4f24 Change crate name for android 2022-04-22 22:08:22 +02:00
Maximilian Ammann
a430b600fe Fix android build 2022-04-22 21:33:52 +02:00
Maximilian Ammann
24bd16c112 Remove some crates and rename others 2022-04-22 21:13:58 +02:00