Commit Graph

1381 Commits

Author SHA1 Message Date
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
Tobrun
a20225bbf1 [android] #3919 - restore espresso tests 2016-02-12 09:52:29 +01:00
Brad Leege
076f29ca30 [android] #3907 - Clearing any / all events in memory at the time of Telemetry being disabled 2016-02-11 18:34:53 -08:00
Brad Leege
37d6a470cb [android] #3907 - Integrating Telemetry On / Off UI with functionality 2016-02-11 18:34:53 -08:00
Brad Leege
23bde2141e [android] #3907 - Initial refactoring to support on / off capability for Telemetry Services 2016-02-11 18:34:52 -08:00
Brad Leege
cd951e2a77 [android] #3907 - Adding Telemetry Settings to Attribution Options 2016-02-11 18:34:52 -08:00
John Firebaugh
c2ab5b34a7 [tests] Fix build 2016-02-11 18:01:53 -08:00
Young Hahn
43c44eccdc Allow using tileSize: 512 as a switch to trade retina support for 512px raster tiles 2016-02-11 11:28:35 -08:00
Brad Leege
7ca602b739 [android] #3908 - No more beep 2016-02-11 10:39:00 -08:00
Thiago Marcos P. Santos
43ed846a12 [build] Build offline tool on the bots
Make sure it doesn't break.
2016-02-11 17:25:15 +02:00
Thiago Marcos P. Santos
ff9dadba67 [build] Fix broken target when building on the bots 2016-02-11 17:24:48 +02:00