Commit Graph

2605 Commits

Author SHA1 Message Date
Jason Wray
d305fbebee Merge branch 'release-ios-v3.3.0'
Merge release branch after v3.3.2 and v3.3.3.
2016-08-03 17:40:22 -07:00
Ivo van Dongen
52cb6122f8 [android] #5858 - added convenience methods for color properties 2016-08-03 18:34:23 -04:00
Tobrun Van Nuland
f94c979886 [android] #5717 - update MarkerView when added to the map, previously only updated with map change events. 2016-08-03 17:55:18 -04:00
Tobrun
701d7160c3 [android] #4845 - remove robotium, migrate to espresso 2016-08-03 16:48:36 -04:00
Tobrun
533a3edb9c [android] #5801 - add setMediaOverlay example for a secondary SurfaceView 2016-08-03 14:59:14 -04:00
Tobrun Van Nuland
6016b2981e [android] SurfaceView compatible snapshot api
[android] #5587 - snapshot API on surface view, create Bitmap with a ByteBuffer

[android] #5587 - write bitmap to external storage

PreMultipliedImage approach

callback implemented

clean up code

introduce bitmap reuse

cleanup

renaming surfaceContent to bitmap
2016-08-03 14:55:45 -04:00
Tobrun Van Nuland
9b871a9a0f [android] #5378 - NavDrawer rendering issues, added snackbar example 2016-08-03 14:53:23 -04:00
Tobrun Van Nuland
75a1a9697b [android] #5000 - initial surface view implementation. 2016-08-03 14:52:30 -04:00
Tobrun
f26c89c0b6 [android] #5663 - make shape annotations updateable 2016-08-03 14:50:41 -04:00
Minh Nguyễn
ebadf94b37 [macos] Avoid following symlinks copying framework (#5850)
Use ditto to avoid following symlinks when copying the framework into place.

Fixes #5818.
2016-08-02 22:35:10 -07:00
Minh Nguyễn
2d65cddda5 [ios] Migrated playground to Swift 3 (#5847)
Fixes #5846.
2016-08-02 15:29:50 -07:00
Ivo van Dongen
10b2cc60a7 [android] #5610 - Runtime style api - part 2 2016-08-02 16:58:03 -04:00
Tobrun Van Nuland
ed821c06d9 [android] - add print example 2016-08-02 16:03:17 -04:00
Mike Morris
94a58691e2 Update CHANGELOG.md 2016-08-01 15:20:30 -04:00
Mike Morris
0e5a390610 node-v3.3.2 2016-08-01 15:16:33 -04:00
Bruno de Oliveira Abinader
ad5a7f8b54 [node] build and publish Node.js binaries with BUILDTYPE=Release
Skip tests when publishing binaries and skip publishing render test results when those tests don't run.
2016-08-01 14:48:39 -04:00
Jesse Bounds
b928ac5bd4 ios-v3.3.3
Bump version number and update changelog.
2016-07-29 10:38:49 -07:00
Bruno de Oliveira Abinader
472ab7442f [qt] Added QQuickMapboxGL{Layout,Paint}StyleProperty 2016-07-29 19:14:41 +03:00
Mike Morris
3c2fce18a1 node-v3.3.1 2016-07-29 12:11:22 -04:00
Jason Wray
85183dd46e ios-v3.3.2 2016-07-28 15:11:49 -07:00
Minh Nguyễn
05f2af2e33 [ios] Fact-checked, economized changelog entries
#5791 affects iOS 7.x, not 8.1 or 8.2. Describe #5813 in simpler terms.
2016-07-28 15:04:13 -07:00
Minh Nguyễn
438dfa947d [ios] Omit accuracy halo from annotation hit testing (#5816)
Fixes #5571.
2016-07-28 14:52:33 -07:00
Jason Wray
bc845b96b0 [ios] Limit annotation view pan gesture check to own recognizer (#5813)
Allows non-dragging pans that are initiated on views to pan the underlying map.

Annotation views each have long press and pan gesture recognizers. If a
view is not draggable or not in a positive dragging state, the pan
gesture recognizer should not begin. This commit makes the criteria for
rejecting pans more strict — only `_panGestureRecognizer` should be
rejected, not the entire `UIPanGestureRecognizer` class.
2016-07-27 23:32:21 -07:00
Justin R. Miller
de0cb554d6 fixes #5771: adds dates to releases in changelogs 2016-07-27 13:26:01 -07:00
Vladimir Agafonkin
9ecc0d9597 GeoJSON point clustering (#5724)
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00
Bruno de Oliveira Abinader
6edaf2dc81 [qt] Implement QQuickMapboxGL color property 2016-07-27 16:24:11 +03:00
Tobrun Van Nuland
5870fceb25 [android] #5500 - add layout editor support for my location view 2016-07-27 08:59:37 +02:00
Minh Nguyễn
850b2e2988 [ios] Fixed crash drawing compass on iOS 8.1 (#5791)
Fixes #5780.
2016-07-26 22:45:29 -07:00
Ivo van Dongen
9a3eadfd5b [android] #5610 - Initial Runtime Style Bindings
[android] #5610 - Adjusted public api after discussion

[android] #5610 - added jni binding for NativeMapView#getLayer

[android] #5610 - Added initial test Activity

[android] #5610 - Started on NativePeer implementation for Layer

[android] #5610 - replaced low-level jni code with high-level for native getLayer

[android] 5610 - completed basic layer peer class - constructible from java and c++

[android] #5610 - removed reference that was redundant and causing the finalizer exception

[android] #5610 - Added a property peer

[android] #5610 - added value type to do type conversions - wip

[android] #5610 - simplified property conversion approach - wrapped value with jenv

[android] #5610 - added some more value conversions

[android] #5610 - Finished conversion for basic types

[android] #5610 - allow color's to be set as either an android color int or a String to support all formats in the spec

[android] #5610 - encode color ints as rgba to retain alpha channel

[android] #5610 - recalculate classes after paint property

[android] #5610 - more examples

[android] #5610 - fixed the example

[android] #5610 - cleaned up example code before continueing

[android] #5610 - added layout property example

[android] #5610 - set visibility on layer

[android] #5610 - added removeLayer and example

[android] #5610 - added more type conversions

[android] #5610 - Started on peer classes for layer implementations - WIP

[android] #5610 - First complete layer subclass peer implementation

[android] #5610 - added a little bit of structure before adding the other layer types

[android] #5610 - generate the c++ headers from the style spec

[android] #5610 - make sure the visibility is set as a string

[android] #5610 - Generate c++ layer peer class implementations from the style spec

[android] #5610 - generate java layer peer classes

[android] #5610 - cleanup comments

[android] #5610 - register all c++ peer classes with jni

[android] #5610 - addLayer

[android] #5610 - comment out broken case

[android] #5610 - Sources api - very much WIP

[android] 5610 - GeoJson source implementation and geojson conversion

[android] #5610 - cleanup add source/layer example a bit

[android] #5610 - initial filter api

[android] #5610 - Added filter api on the relevant Layer classes

[android] #5610 - raster layer is not filterable

[android] #5610 - actually make it compile

[android] #5610 - completed filter implementation

[android] #5610 - Vector and Raster Source + examples

[android] #5610 - removed superfluous interface, moved filters to the correct package

[android] #5610 - fixed comments

[android] #5610 - moved tests to the right package

[android] #5610 - hide difference between paint and layout properties in public api, make more performant set method for proeprties

[android] #5610 - fix rebase issue
2016-07-26 16:29:26 -04:00
Bruno de Oliveira Abinader
26a9213f6e [build] Upgrade geojson-vt-cpp@6.1.2 2016-07-26 16:35:29 +03:00
Justin R. Miller
4e61b2e506 codify implicit assumption about marker-providing delegate method precedence 2016-07-25 17:11:14 -07:00
Justin R. Miller
8cfaac11fd use class instead of magic string comparison 2016-07-25 17:11:14 -07:00
Justin R. Miller
de197ca9e5 refs 654f015: bring back sprite-backed annotation option for comparison 2016-07-25 17:11:14 -07:00
Romain Quidet
e1351751c2 5782: build static framework correctly (#5783)
* 5782: build static framework correctly

* 5782: updated changelog
2016-07-25 11:26:43 -07:00
Antonio Zugaldia
bdc231db94 [android] Create a new local reference frame in JNI listOfflineRegions
Fixes #5629
2016-07-25 13:19:46 -04:00
Bharath MG
154d771220 [android] Fixes #5777. deselectMarker is delegated to MapboxMap from Marker manager. 2016-07-24 17:19:59 +05:30
Tobrun Van Nuland
39512aaef1 [android] #5679 - move logo and attribution to the top right
[android] #5679 - get correct top margin for logo when saving state of MapView
2016-07-24 09:45:40 +02:00
Tobrun Van Nuland
82478e2ea7 [android] #5745 - allow selectMarker on MapboxMap to be called with a MarkerView 2016-07-24 09:43:49 +02:00
Tobrun
ea2ee649fa [android] #5738 - default navigation drawer example
[android] #5738 - migrated to MapFragment approach & AppCompat compatible

[android] #5378 - make drawer work with inner class fragments

[android] #5738 - navigation drawer proposition

[android] #5738 - cleanup
2016-07-24 09:39:08 +02:00
Tobrun Van Nuland
494e6849c2 [android] #5756 - correctly load style from xml attributes 2016-07-24 09:36:52 +02:00
Bharath MG
e16c906bbf [android] fixes #5762. Passing pixel points to native jni for getting latlng. 2016-07-24 04:07:49 +05:30
Bruno de Oliveira Abinader
0e60238596 [glfw] Added 'addRandomLineAnnotations' 2016-07-23 14:10:33 +03:00
Jason Wray
45d65c4b49 [ios] Refactor iosapp demo test shapes function
- More detailed descriptions of individual shapes.
- Make holey polygon square.
2016-07-22 18:19:29 -04:00
Jason Wray
09cc87f593 [ios] Do not allow multipoint annotations to be assigned views 2016-07-22 18:19:21 -04:00
Carol Hansen
4b1eeada9e [node] Fix integer conversion of filter values 2016-07-22 13:05:16 -07:00
Brad Leege
8df881a781 [android] #5767 - Switching to Mapbox Outdoors 2016-07-22 14:08:31 -05:00
Jason Wray
0ea6bdd7fe [ios] Reformat inline documentation with ticks, smart quotes, breaks (#5752)
- Makes the use of apostrophes in the iOS SDK documentation consistent by converting “dumb” `'` into smart `’`.
- Adds ticks around class/property names/values.
- Breaks lines at 80 characters.
2016-07-22 15:01:19 -04:00
Brad Leege
e33b9981cb Revert "[android] #5000 - initial surface view implementation."
This reverts commit 99a4850613.
2016-07-22 12:54:21 -05:00
Thiago Marcos P. Santos
65e2822f21 [Qt] Use Qt text codec instead of nunicode
Remove one extra dependency. Qt has some bugs on the text codec it
seems, but it is also important to keep the behavior aligned with
the client API.
2016-07-22 18:56:30 +03:00
Thiago Marcos P. Santos
036acf23cd [default] uv_run should use UV_RUN_NOWAIT
UV_RUN_ONCE might block and that is not the semantics we expect
from RunLoop::runOnce().
2016-07-22 16:29:08 +03:00