Commit Graph

1391 Commits

Author SHA1 Message Date
Tobrun
6a2d910ccd [android] #4040 - disable resource prefix 2016-02-19 15:53:18 +01:00
Tom MacWright
d697028029 Hit missed lines in equality tests 2016-02-19 15:26:44 +01:00
Tobrun
9ec0103431 [android] #4018 - migrated max/min zoom to UiSettings + added tests + update sample app 2016-02-19 15:24:16 +01:00
Tobrun
27ed15c18c [android] #4017 - update unit test for MapboxMap 2016-02-19 15:22:56 +01:00
Tobrun
f2299c30c3 [android] #4015 - added unit test for CameraPosition 2016-02-19 15:21:35 +01:00
Jason Wray
21ce6fbdf9 [osx] Set default polyline and polygon color to the selected menu item color
Fixes #3927
2016-02-18 19:27:49 -05:00
Jason Wray
390057b569 [ios] Set default polyline and polygon color to the map view tint color
Fixes #3927
2016-02-18 19:23:15 -05:00
Minh Nguyễn
a57a88a038 [ios] Clarified manual installation instructions
People are used to dragging frameworks into the Linked Frameworks and Libraries section, but the SDK only works when embedded inside the application.

Fixes #4011.
2016-02-18 13:26:54 -08:00
Minh Nguyễn
87f28f3f44 [osx] Typo in readme 2016-02-18 10:46:01 -08:00
Brad Leege
fd96b3e1c7 [android] #3119 - Updating mapbox_access_token Name in developer-config.xml 2016-02-18 12:14:11 -06:00
Brad Leege
e2bbfc19c5 [android] #3119 - Updating mapbox_access_token Name in developer-config.xml 2016-02-18 12:12:42 -06:00
Brad Leege
09cac18420 [android] #3897 - Refactoring check that determines when to send turnstile event 2016-02-18 11:23:34 -06:00
Brad Leege
5497973bd7 [android] #3897 - Updating TestApp versionCode and versionName to make testing easier to spot 2016-02-18 11:23:34 -06:00
Brad Leege
43f8e6f1a7 [android] #3897 - Changing initial flush delay time to 10 seconds 2016-02-18 11:23:34 -06:00
Brad Leege
7c1cef45e3 [android] #3897 - Initial Map Load event 2016-02-18 11:23:34 -06:00
Brad Leege
5da1e2bc7d [android] #3897 - Initial Turnstile event with when to push logic infrastructure 2016-02-18 11:23:33 -06:00
Tobrun
e4fa1816a7 [android] #4009 - add tests for tracking settings, optimise architecture to make it testable through unit tests 2016-02-18 16:06:10 +01:00
Bruno de Oliveira Abinader
dd7bbc024a [tests] Fix 'linux' debug build on OSX 2016-02-18 17:02:08 +02:00
Bruno de Oliveira Abinader
ec97264431 [osx] Enable coverage support for debug build 2016-02-18 15:01:58 +02:00
Bruno de Oliveira Abinader
d900e7a9a3 [tests] Bumped KIF hash
Commit 766ff59663f19222993ed32e5be36894bcb6949d removes a generated
.gcda file that prevents proper lcov usage.
2016-02-18 15:01:58 +02:00
Tobrun
1180df00f2 [android] #4007 - improve coverage geometry package 2016-02-18 13:32:41 +01:00
Bruno de Oliveira Abinader
dcbdfde932 [core] Use RVO in PremultipliedImage::decodeJPEG 2016-02-18 13:27:35 +02:00
Tobrun
cd13e2b769 [android] #4005 move annotations to correct package 2016-02-18 11:48:10 +01:00
Tobrun
a24d06b992 [android] #4003 - add unit tests for InfoWindow 2016-02-18 11:46:48 +01:00
Tobrun
daedb3ddb2 [android] #4000 - add unit tests icon 2016-02-18 10:21:12 +01:00
Tobrun
a331e94b1b [androd] #3119 - use resourcePrefix for library resources 2016-02-17 09:57:57 +01:00
Tobrun
94c5c2e203 [android] #2816 - make save instance state robuster + cleanup some old permission annotations 2016-02-17 09:56:34 +01:00
Thiago Marcos P. Santos
1efc299e66 [core] Faster access with unordered_set
The ordering won't be affected because requests are made
as they arrive and later stored on the map just for
keeping state.
2016-02-16 23:06:04 +02:00
Thiago Marcos P. Santos
f5b521ffb5 [core] Remove requests from the pending queue on cancel
If we don't do this, we can activate a request twice.

The issue here is that we use memory address as the 'key'. So if
we destroy a request, another request might take the same memory
address, or the same 'key'.

The entry at 'pendingRequests' survives the 'cancel()' and is
ultimatelly removed at 'activatePendingRequest()'. This is fine
unless a request is created using the same 'key' before we call
'activatePendingRequest()'.

The check if the request was canceled at 'activatePendingRequest()'
will be no longer valid, activating the request. At the same time
the request will be activated again by the task scheduled at the
constructor of the 'OnlineFileRequestImpl' class.
2016-02-16 23:06:04 +02:00
John Firebaugh
d66d145c6e [core] Remove RunLoop::{ref,unref} 2016-02-16 12:48:50 -08:00
John Firebaugh
5ca625ba0d [ios, osx] Adjust HTTPNSURLRequest so that it may always delete itself immediately 2016-02-16 12:48:50 -08:00
Tobrun
fd67579b09 [android] #3976 - hide info window when removing annotations 2016-02-16 16:23:54 +01:00
Tobrun
f0e0a39acd [android] #3976 - remove annotations doesn't work 2016-02-16 16:08:10 +01:00
Tobrun
6249f9f674 [android] #3941 - update espresso tests 2016-02-16 15:33:44 +01:00
Tobrun
373cd33df0 [android] #3963 - move and relax if permission check
[android] #3963 - update unit tests, moved permission check to MapView to be mocked during tests
2016-02-16 14:05:08 +01:00
Tobrun
4baee63d8e [android] #3750 - update proguard library for 4.0.0 release (maps package) + update for leak canary. 2016-02-16 09:20:09 +01:00
Brad Leege
a3f8710574 [android] #3960 - Return hex strings of SHA1 digests 2016-02-15 17:13:38 -06:00
Jesse Bounds
9891d0eb79 [iOS] Generate and send a turnstile event when map view event is queued
This change adds logic to push a turnstile event whenever a map view
event is queued. It guards against sending the turnstile event more
than once per session.

Note that `pushTurnstileEvent` is actually a "force push" in that it
flushes the queue and, since it enqueues a turnstile event, the
flush's call to `postEvents` will attempt to send any queued events
even if telemetry is paused. This has the side effect of defeating
the other queue / timing / flush logic in place whenever map load
(and now implicitly turnstile) events are pushed.
2016-02-15 11:35:07 -08:00
Tom MacWright
14f81dbed5 Fix coordinate bounds documentation.
4-space indentation was being intepreted as a Markdown code block
2016-02-15 12:43:04 -05:00
Tobrun
fb9021f929 [android] #3756 - unit test annotations integration in MapboxMap
[android] #3756 - unit tests fixes

[android] #3756 - allow using inheritance Marker, added example to WindowAdapterActivity
2016-02-15 17:05:15 +01:00
Brad Leege
ef865f04f6 [android] #3944 - Using ApplicationContext instead of Activity context for MapboxEventManager 2016-02-15 09:29:34 -06:00
Tobrun
d06a7c4b86 [android] #3895 - remove request permission annotation 2016-02-15 13:18:46 +01:00
Tobrun
1b7ebca279 [Android] #3761 - add map padding, introduce new feature activity
[android] #3781 #3899 - add map padding, user location view, ViewSettings, TrackingSettings

[android] #3761 - update map padding sample

[android] #3761 - add map padding
2016-02-15 12:25:18 +01:00
Tobrun
7d6ac6adfc [android] #3943 #3775 #3885 - added sample feature activity + espresso test 2016-02-15 12:00:51 +01:00
Gabriel Miklós
b395302990 [android] Update marker position and icon #3885 2016-02-15 11:05:29 +01:00
Brad Leege
97ff6cfd49 [android] #3938 - Upgrading OkHttp to version 3.1.2 2016-02-13 14:21:50 -06:00
Jason Wray
f37093e108 [ios] Fix screenshot link
[skip ci]
2016-02-12 19:37:52 -08:00
Brad Leege
9841f94074 [android] #3907 - Adding Telemetry description to dialog 2016-02-12 16:40:32 -08:00
John Firebaugh
13e2acbc75 [ios, osx] Consolidate remaining files in platform/{ios,osx} 2016-02-12 14:53:52 -08:00
Tobrun
ab677a7905 [android] #3900 - Using CopyWriteArrayList to avoid concurrency issues with MapChangeListeners 2016-02-12 11:53:20 +01:00