Thiago Marcos P. Santos
62990f0a21
[core] Port uv::tls to pthreads
2015-12-01 11:49:02 +02:00
John Firebaugh
c5a4377714
[core] Privatize internal headers
2015-12-01 11:49:02 +02:00
John Firebaugh
1c63f98f6d
[core] Expose fewer RunLoop implementation details in header
2015-12-01 11:49:02 +02:00
John Firebaugh
f2553fff89
[core] Merge uv_detail.hpp into uv.hpp
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
cb06526b10
[tests] Remove libuv dependency from the tests
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
ae3f1c79fa
[android] Removed libuv dependency from HTTPAndroid*
2015-12-01 11:49:02 +02:00
Bruno de Oliveira Abinader
0cc31e1dda
[osx] Removed libuv dependency from HTTPNSUrl*
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
9c0eedf836
[curl] Make curl request less dependent on libuv
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
d515f84caf
[core] Remove unused libuv includes
2015-12-01 11:49:01 +02:00
Thiago Marcos P. Santos
ff47838474
[tests] Add utests for Timer
2015-12-01 11:49:01 +02:00
Thiago Marcos P. Santos
9b36c19aeb
[core] Introduce Timer abstraction
2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
0d8ea6c0a2
[core] Removed dependency on uv_loop from the file source
2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
d422c8cac4
[core] Abstract main loop inside RunLoop class
2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
1d62332204
[core] Use AsyncTask on the MapContext
2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
6762cd0ca9
[tests] Add utests for AsyncTask
2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
123c5df922
[core] Introduce the AsyncTask
2015-12-01 00:00:09 +02:00
Justin R. Miller
704ab891a7
refs #2800 : update docs exception thrown for no Android token
...
[skip ci]
2015-11-30 12:47:18 -08:00
John Firebaugh
12fc949006
[tests] Don't use icons from the style for annotations
2015-11-30 12:40:09 -08:00
Antonio Zugaldia
48504baa91
Merge pull request #3127 from mapbox/3115-multiple-infowindows
...
3115 multiple infowindows + leave open while panning
2015-11-30 14:56:17 -05:00
Justin R. Miller
68c0237435
move back to symbolicated iOS fetch in master
2015-11-30 11:11:46 -08:00
Justin R. Miller
8d25d9ab1a
Merge branch 'release-ios-v3.0.0'
2015-11-30 11:10:27 -08:00
Antonio Zugaldia
e9d749b775
add flag to let concurrent multiple infowindows to be shown
2015-11-30 11:32:25 -05:00
Tobrun
77df026adc
Correct behaviour when switching between tracking modes, added javadoc
2015-11-30 11:30:28 +01:00
Tobrun
43aad4eb1d
[android] #3071 - Make docs navigation more obvious for MapChangeListener
...
[android] #3071 - improve javadocs: removed reference to Google Maps
Consistent documentation style in constants package
[android] #3071 added documentation to MathConstants class
[android] #3071 added javadoc class documentation for MapboxConstants
[android] #3071 added documentation to the GeoConstants class, also added white line at end of the class for consistency
[android] #3071 make clear that public static final fields are used for MapChange, add link to MapView.OnMapChangeListener
2015-11-30 11:22:57 +01:00
Minh Nguyễn
4240dfb0a8
Updated links to access token manager
...
The old URL redirects to a Mapbox Studio page not specifically about access tokens.
2015-11-29 01:39:29 -08:00
Bruno de Oliveira Abinader
92856f394c
[core] Collision debug is now MapDebugOptions::Collision
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
d55aa7929c
[core] Source should receive a ref to MapData just once
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
1f0820c8e8
[core] Added MapDebugOptions
...
Map debug options are now cycled up to all debug options enabled, then
back to none.
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
044e92f5e8
[core] Display modify, expires debug information
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
591e0dde2f
[core] Added modified, expires information to TileData
2015-11-27 17:47:02 +02:00
Bruno de Oliveira Abinader
31fd2822f5
[core] Replace time_t with std::chrono::seconds
...
Added aliases for std::chrono typedefs (eg. 'Seconds' for
std::chrono::seconds). These aliases are used together with templated
helper functions to replace time_t with std::chrono::seconds for most
cases, in particular for 'modified' and 'expires' values in Response.
2015-11-27 17:47:02 +02:00
Thiago Marcos P. Santos
4475f54860
[android] Remove autogenerated file from tree
...
developer-config.xml gets generated on build time with the token
set for the env var MAPBOX_ACCESS_TOKEN. Because the file was checked to
the git repo, it was not being regenerated and thus, crashing the
test app accusing no token set.
2015-11-27 17:32:09 +02:00
Thiago Marcos P. Santos
873eabcf28
[node] Fix build on GCC 4.9.2
2015-11-26 19:40:36 +02:00
John Firebaugh
1d33790dc0
[core] Fix image type of Map::renderStill
...
It's a premultiplied image. This implies that we were misusing encodePNG
in most cases, as we were passing premultiplied pixels which were then
interpreted as unmultiplied. I changed encodePNG to accept premultipled
pixels, and unpremultiply in the implementations.
2015-11-25 15:57:37 -08:00
John Firebaugh
ed5eb9edc1
[test] Add pixelmatch; use in annotation tests
2015-11-25 15:57:37 -08:00
John Firebaugh
54eff4b4c1
[core] Add image tests
2015-11-25 15:57:36 -08:00
John Firebaugh
f3d6f68106
[core] Always manually premultiply libpng output
...
It appears to be the only way to get the results we want in all cases.
2015-11-25 15:57:36 -08:00
John Firebaugh
0c1e378bc9
[core] Rewrite image handling
...
* Consolidate Image and StillImage
* Typecheck unassociated vs premultiplied images
* Rewrite default platform image decoding implementation
2015-11-25 15:57:36 -08:00
Minh Nguyễn
2de0a351a0
[core] [iOS] Completion handlers for animated methods
...
Added transition frame and finish functions to CameraOptions. Added Objective-C equivalents to the three main entry points to easeTo() in MGLMapView.
Fixes #1581 .
2015-11-25 15:20:25 -08:00
Minh Nguyễn
e3992c41c3
[iOS] Wait for didChange notifications instead of timer
2015-11-25 14:39:32 -08:00
Minh Nguyễn
6916675e61
[iOS] Ensure consistent willChange/didChange notifications
...
Coalescing willChange/didChange notifications means keeping track of how many gestures are currently in progress; a boolean isn’t enough to track this state. This change refactors the gesture recognizers, making them more consistent with each other and more consistent in the case where more than one of them has fired. It also explicitly cancels transitions before all programmatic viewport-modifying methods, since mbgl only does so when animating.
Fixes #2313 , fixes #2379 , fixes #3062 .
2015-11-25 14:39:32 -08:00
Mike Morris
dcf3eb9083
node-v2.0.1
2015-11-25 16:34:39 -05:00
Mike Morris
1762611505
[node] test and publish binaries for Node.js v5.x
2015-11-25 16:31:42 -05:00
Tobrun
0f976ef7d2
[android] #3008 - upgrade android grade plugin to 1.5.0
...
[android] #2386 - Add vector drawable and rippleDrawable for attribution icon
[android] #2736 - Replace bitmap assets with vector drawable
2015-11-25 21:25:32 +01:00
Tobrun
99dd6140fd
Merge branch 'android-quickzoom-fix' of git://github.com/brewin/mapbox-gl-native into brewin-android-quickzoom-fix
2015-11-25 20:40:38 +01:00
Tobrun
e7c4ee49b1
[android] #3115 - optimised + cleanup before PR
2015-11-25 18:55:49 +01:00
Antonio Zugaldia
4c9751c6e6
we just need to clear the list'
2015-11-25 09:39:03 -05:00
Thomas Voß
3f786c7171
Fix GCC5 complaining about -Wunused-variable.
2015-11-25 14:23:13 +01:00
Tobrun
0cf326d668
[android] #3115 reposition info windows that have been repositioned while panning the map
2015-11-25 11:24:30 +00:00
Tobrun
936d1c01b2
[android] #3121 Allow InfoWindow to be open while panning, allow standard InfoWindow (without repositioning InfoWindowTipView) to be panned above the map
2015-11-25 10:33:15 +00:00