Commit Graph

572 Commits

Author SHA1 Message Date
Leith Bade
8388edcfbf Merge branch 'release-android-v0.1.0'
Merging to resolve conflicts on release branch so final merge tomorrow is clean.

Conflicts:
	android/cpp/native_map_view.cpp
	android/java/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxgl/views/MapView.java
	include/mbgl/android/native_map_view.hpp
2015-09-25 08:04:04 +10:00
Brad Leege
c3fe83f709 #2414 - Add explicit null check for infoWindow 2015-09-24 10:36:36 -05:00
Brad Leege
db2afca078 #2414 - Removing Crashlytics NDK integration as it's preventing TestApp from running 2015-09-24 10:11:58 -05:00
Leith Bade
85ec3eb0a5 Refactor Android render loop to limit frame rate to 60 FPS
Move expensive cache size calulation to initialisation
Fix setGestureInProgress bug
Renamed several functions to match current usage
Refactor map updates to reduce GPS marker lag
Fixes #1676
Fixes #2290
Fixes #2396
2015-09-24 18:04:26 +10:00
Leith Bade
e5ff4638b3 Actually disable universal APKs 2015-09-24 13:33:01 +10:00
Leith Bade
3de441f20e Refactor NativeMapView to hold std::unique_ptr to Map and DefaultFileSource
Add missing asserts to attach_jni_thread/detach_jni_thread
Fixes #2406
2015-09-24 12:42:02 +10:00
Leith Bade
2c4a9f6a3b Refactor NativeMapView to hold std::unique_ptr to Map and DefaultFileSource
Add missing asserts to attach_jni_thread/detach_jni_thread
Fixes #2406
2015-09-24 12:22:19 +10:00
Leith Bade
18bc490f40 Fix build with Crashlytics NDK on 64bit 2015-09-24 10:38:03 +10:00
Brad Leege
f6a784ce8c Revert "Add Crashlytics NDK to Android"
This reverts commit 6e55dd575e.
2015-09-23 13:21:48 -05:00
Leith Bade
9e96e4e94b Restore libcurl HTTP on Android 2015-09-23 11:09:25 -05:00
Brad Leege
888444cc41 Merge branch 'android-curl' 2015-09-23 09:49:53 -05:00
Leith Bade
19e7d154bb Improve handling of cancelled HTTP requests
Fix a memory leak of NativeMapView Java object
2015-09-23 15:05:34 +10:00
Leith Bade
8cf927f6c4 Improve handling of cancelled HTTP requests
Fix a memory leak of NativeMapView Java object
2015-09-23 11:57:41 +10:00
Leith Bade
6e55dd575e Add Crashlytics NDK to Android
Closes #2107

Conflicts:
	Makefile
	android/java/MapboxGLAndroidSDKTestApp/build.gradle
2015-09-23 11:56:30 +10:00
Leith Bade
db6a08d8ca Add Crashlytics NDK to Android
Closes #2107
2015-09-23 11:19:58 +10:00
Leith Bade
4e885d600a Restore libcurl HTTP on Android 2015-09-22 16:40:54 +10:00
Leith Bade
d2d3df2a69 Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:40:04 +10:00
Leith Bade
feae692dba Fix freezing on Android when rotating
Fixes #1941
2015-09-22 16:23:39 +10:00
Leith Bade
da691dcbb5 Remove Android style URL validation
Fixes #2370
2015-09-21 15:01:53 +10:00
Leith Bade
1d565a5159 Remove Android style URL validation
Fixes #2370
2015-09-21 14:38:11 +10:00
Bastien Mayard
8d322c6572 Change MapView.MapChange visibility to public since OnMapChangedListener.onMapChanged requires it. 2015-09-16 14:00:00 -07:00
Brad Leege
341c95957c Merge branch '2317-espresso' of git://github.com/zugaldia/mapbox-gl-native into zugaldia-2317-espresso 2015-09-16 16:47:36 -04:00
Leith Bade
4b587603b3 Create SharedSQLiteCache 2015-09-16 15:09:23 -04:00
Antonio Zugaldia
ec19af2aa5 import JUnit tests instructions 2015-09-16 14:03:03 -04:00
Antonio Zugaldia
ce2793d84d placeholders for the remaining objects 2015-09-16 13:49:52 -04:00
Antonio Zugaldia
0281d010bd two classes at once on aws 2015-09-16 13:43:26 -04:00
Antonio Zugaldia
573b43f257 unit tests + mockito 2015-09-16 13:39:46 -04:00
Antonio Zugaldia
77faa7ea15 zoom in 2015-09-16 11:19:44 -04:00
Antonio Zugaldia
ed33a5ee64 screenshots should be taken on ui thread 2015-09-16 11:17:42 -04:00
Antonio Zugaldia
f775348ec3 fixed the screenshot class to include the surface view 2015-09-16 11:03:32 -04:00
Antonio Zugaldia
602a075333 using the new version way of instanstiating the activity class 2015-09-16 11:03:10 -04:00
Antonio Zugaldia
c3dffb6e46 moved screenshot tests to its own class 2015-09-16 11:02:11 -04:00
Antonio Zugaldia
e4d1e67d71 second activity test class 2015-09-16 11:01:45 -04:00
Antonio Zugaldia
97d53be25e docs for junit tests 2015-09-16 09:29:31 -04:00
Leith Bade
529a7cc93c Create SharedSQLiteCache 2015-09-16 12:45:46 +10:00
Antonio Zugaldia
7e30025abb Merge remote-tracking branch 'mapbox/master' into 2317-espresso
Conflicts:
	src/mbgl/util/geojsonvt
2015-09-15 17:58:36 -04:00
Antonio Zugaldia
187cc36eb5 pure junit tests 2015-09-15 17:57:12 -04:00
Antonio Zugaldia
ed161e020a fixed teardown 2015-09-15 17:28:43 -04:00
Antonio Zugaldia
d9376a3c0f added LargeTest annotation 2015-09-15 17:28:11 -04:00
Antonio Zugaldia
57a7f13203 bumped versions to todays release 2015-09-15 17:01:44 -04:00
Brad Leege
b9cf720d32 #2018 - Cleaning 2015-09-15 15:56:45 -04:00
Brad Leege
f460cf9fb4 #2018 - Changing Second Activity style to Emerald 2015-09-15 15:55:37 -04:00
Brad Leege
83a3148921 #2018 - Making Launch 2nd Activity draw menu item not checkable 2015-09-15 15:54:58 -04:00
Brad Leege
ac64c34a49 #2018 - Toolbar on Second Activity with back button support 2015-09-15 15:53:32 -04:00
Antonio Zugaldia
c0b9ec6da4 ready for aws screenshots 2015-09-15 14:19:23 -04:00
Antonio Zugaldia
df7ef8ee87 flag to enable automatic screenshots on teardown 2015-09-15 14:18:22 -04:00
Antonio Zugaldia
2235a86054 manually add a screenshot name 2015-09-15 14:18:00 -04:00
Antonio Zugaldia
3f837ecd94 added permission to save tests screenshots 2015-09-15 14:17:46 -04:00
Brad Leege
2ae0fbeec4 #2018 - Adding basic second activity that displays a map 2015-09-15 14:07:24 -04:00
Antonio Zugaldia
06d609d630 we now have 26 UI tests that cover all main elements and core interactions, including drawer and map inner elements 2015-09-15 12:23:03 -04:00