Commit Graph

7562 Commits

Author SHA1 Message Date
Brad Leege
dc985afde6 [android] Updating AWS Device Farm Python Script URL 2016-04-27 10:38:01 -05:00
Bruno de Oliveira Abinader
c7379f188e [Qt] Flip Qt Quick item vertically if Qt version >= 5.6 2016-04-27 17:36:36 +03:00
Bruno de Oliveira Abinader
a083fcbd77 [Qt] Added qt-qml-app example 2016-04-27 17:36:35 +03:00
Bruno de Oliveira Abinader
72bcad210d [Qt] Added QQuickMapboxGL{,Renderer} 2016-04-27 17:36:35 +03:00
Thiago Marcos P. Santos
205ecff6d7 [Qt] Use shared GL context by default 2016-04-27 17:36:30 +03:00
Bruno de Oliveira Abinader
0e465a1248 [build] Qt cleanup 2016-04-27 17:07:19 +03:00
Thiago Marcos P. Santos
a208abc9a5 [build] Do not run unit tests for Qt5
ccache is not enabled for Trusty public bots on Travis.

Disabling unit tests for Qt5 for now so it will take
less time.

Fixes #4855. (not really, but better than nothing)
2016-04-27 15:52:01 +03:00
Minh Nguyễn
1dd7492fee [ios] Moved .stringsdict from Base.lproj to en.lproj
.stringsdict overrides need to be in real language .lprojs, not Base.lproj.
2016-04-26 21:55:32 -07:00
Minh Nguyễn
51cd97861c [ios] Announce zoom level, visible annotations after zooming
Announce the zoom level and number of visible annotations after zooming using VoiceOver’s swipe up or swipe down gesture.

Works toward #4821.
2016-04-26 16:47:04 -07:00
Brad Leege
d5970f2ef3 [android] #4835 - Adding disable location icon switch to FAB 2016-04-26 17:07:23 -05:00
Brad Leege
fcadb064eb [android] #4835 - Adding tracking and cleanup of myLocationListener functionality 2016-04-26 17:07:23 -05:00
Brad Leege
ef8cc24945 [android] #4835 - Adding FAB Toggle UI And Functionality 2016-04-26 17:07:23 -05:00
Brad Leege
02d82c9f51 [android] #4835 - Restoring Initial setup of MyLocationToggle UI 2016-04-26 17:07:23 -05:00
Brad Leege
0b5a994246 [android] #4835 - Initial setup of MyLocationToggle UI 2016-04-26 17:07:23 -05:00
Minh Nguyễn
8d5a6b515f [ios] Only post layout change notifications when focused
Constantly posting accessibility layout change notifications on every location change made it very difficult to stay focused on an accessibility element, be it the user dot or some other element. Now we only post the notification when the user dot is focused, user tracking mode is off (so the user dot actually has a chance to move around), and the application is active (not in the middle of application switching).
2016-04-26 14:19:10 -07:00
Minh Nguyễn
193a843013 [ios] Fixed ℹ️, user dot accessibility
The user location annotation view is created lazily, so if the user dot isn’t within view at launch, it doesn’t exist by the time UIKit first queries MGLMapView for child accessibility elements. This caused console spew about missing accessibility elements and prevented the ℹ️ from being visible to XCUITest.
2016-04-26 14:19:05 -07:00
Tobrun
bf493f96cd [android] #4800 - correct background offsets from attributes 2016-04-26 22:24:18 +02:00
Tobrun
e2510fce79 [android] #4800 - default location view from start: introduced attributes, update MapboxMapOptions, added tests. updated MockParcel 2016-04-26 22:24:17 +02:00
Tobrun
ba9703351d [android] #4845 - disable robotium 2016-04-26 20:56:24 +02:00
John Firebaugh
189b5c2f60 [core] Rewrite parsePropertyTransition to work around GCC 4.9 bug 2016-04-26 11:44:48 -07:00
John Firebaugh
878310b891 [core] Simplify property parsing
This is a followup to #4811. Now that use of Function is consistent, we can have a single separate parseProperty template function that delegates to a parseConstant template function.
2016-04-26 11:44:48 -07:00
Mike Morris
64fe75b011 node-v3.1.2 2016-04-26 11:48:02 -04:00
Thiago Marcos P. Santos
18c337c845 [Qt] Split Qt flags
The shared library won't link with things that we don't
use, like QtOpenGL anymore.
2016-04-26 18:36:07 +03:00
Mike Morris
93b7d245f6 use Clock::time_point::max() instead of frame time
For Style::cascade and Style::recalculate, when rendering with
  MapMode::Still. Fixes a subtle race condition with animated
  transitions exacerbated by cd1a06c2dc.
2016-04-26 11:33:05 -04:00
Tobrun
b39d289920 [android] #3231 - add support for tinting attribution icon through xml - MapboxMapOptions, AttributionDialog will use the same color values 2016-04-26 12:28:36 +02:00
Tobrun
3602fdc040 [android] #3231 - added support for automatic tinting ui components used the client developer material colors 2016-04-26 12:28:36 +02:00
Konstantin Käfer
4770a9eb21 [osx] make scrollwheel zooming smoother
- uses the same algorithm as the GLFW app to determine scrollwheel zoom speed
- disables transitions which makes the trackpad feel faster due to immediate response
2016-04-26 10:42:33 +02:00
Konstantin Käfer
f9bdaa9d3a [osx] disable touch events
they are canceling out trackpad scrolling events
2016-04-26 10:42:33 +02:00
Minh Nguyễn
27f77b6bfa [ios] Hide compass from VoiceOver when pointing north
Fixes #4820.
2016-04-26 00:16:20 -07:00
Minh Nguyễn
cf2ef5b40b [ios] Use default images for world tour destinations
Use the default red pin images for world tour destinations in iosapp instead of the two characters usually used for the “Add n Points” actions.
2016-04-25 22:02:06 -07:00
John Firebaugh
e916cc811c [tests] Rationalize test fixtures (#4834)
Place them in a directory corresponding to the test .cpp file name.
2016-04-25 14:51:27 -07:00
Jason Wray
8ce0fb4739 [ios] Update frame size when changing dot/puck mode
- Keeps the same center point
- `updateFrameWithSize:` does not take CGSize because there is not yet
  support for non-square user location annotations
2016-04-25 17:00:43 -04:00
Minh Nguyễn
0339639e3d [osx] Fixed crash on launch on OS X 10.10
Fixed a crash introduced in #4783 that occurs when launching osxapp. -[NSString localizedCapitalizedString] is only available on OS X 10.11 and above.
2016-04-25 13:59:43 -07:00
John Firebaugh
76d6aba8f2 [core] Define mbgl::variant (#4833)
For parallelism with mbgl::optional, and to avoid exposing namespaces other than `mbgl` in the public API.
2016-04-25 13:58:10 -07:00
John Firebaugh
c1f40b9e71 [core] Move enum type classes to implementation (#4831) 2016-04-25 13:34:41 -07:00
Brad Leege
d20174270b [android] #4829 - Use CopyOnWriteArrayList for non blocking iterations 2016-04-25 14:39:24 -05:00
John Firebaugh
c4089b60bc [core] Extract Function::evaluation to a separate class (#4811)
This allows the Function<Faded<T>> partial specialization to be eliminated, giving all property functions a consistent storage type.
2016-04-25 09:51:47 -07:00
Thiago Marcos P. Santos
42043599ff [build][Qt] Use Ubuntu Trusty for Qt5
Ships with a newer version of Qt5 (Qt 5.2.1) and
it is closer to what we are actually shipping to.

Unfortunately, ATM Trusty will require 'root' [1] and
won't that makes it significantly slower because it
will not use a container version of the build env.
2016-04-25 18:33:30 +03:00
Thiago Marcos P. Santos
8b9f84d815 [Qt] Add toolchain support
Enables cross-compilation.
2016-04-25 16:44:28 +03:00
Bruno de Oliveira Abinader
4c548fe0bb [build] Added 'qt-app' targets to Travis Qt build 2016-04-25 16:20:34 +03:00
Bruno de Oliveira Abinader
db9f305b49 [Qt] Force lib install name to be executable path on OS X 2016-04-25 16:19:03 +03:00
Thiago Marcos P. Santos
1abad528af [Qt] Do not ignore compilation errors
But will no longer build with GCC 5.
2016-04-25 15:32:39 +03:00
Thiago Marcos P. Santos
5c3ae4c3d6 [Qt] Only include and link with QMapboxGL lib
Fixes #4808
2016-04-25 15:26:30 +03:00
Thiago Marcos P. Santos
d00f55de41 [Qt] Do not use non-Qt headers 2016-04-25 15:00:14 +03:00
Thiago Marcos P. Santos
a65c9ca134 [Qt] Set default visibility to hidden for Qt
Expose less symbols on the shared library.

Fixes #4809
2016-04-25 14:15:04 +03:00
Minh Nguyễn
d9a2a845de [ios] Added accessibility labels, hints, gestures
Fixed an issue where the “return to map” accessibility element lacked a label. Always update the title and subtitle of an annotation accessibility element, in case the title or subtitle changes from one showing to the next.

Added a hint for annotations. Use declarative rather than imperative for hints.

Marked the map view and its annotations as adjustable so that swiping up and down with VoiceOver zooms out and in, respectively.

Added accessibility values to toolbar buttons in iosapp.
2016-04-25 00:24:35 -07:00
Minh Nguyễn
7cc3928a19 [ios] Made annotation callouts accessible
Via nfarina/calloutview#84, SMCalloutView is now accessible. Activating a focused annotation now shows its callout view and focuses its left accessory view, if present, or the title view. There is a “return to map” accessibility element for dismissing the callout view and restoring focus to the annotation on the map.
2016-04-25 00:18:57 -07:00
Minh Nguyễn
9d3269eaa3 [ios] Restored user dot accessibility
Put the user dot back into rotation as an accessible element.
2016-04-25 00:18:06 -07:00
Minh Nguyễn
babc43ea62 [ios] Made annotations accessible
Lazily create and cache accessibility elements for visible annotations as UIAccessibility asks about them.

Sort the annotations’ accessibility elements by the annotations’ distance from the logical center (the center after accounting for padding, or the user dot when user tracking mode is on).

Updated the changelog.

Fixes #1493.
2016-04-25 00:17:02 -07:00
Minh Nguyễn
893a777a2f [ios] Made compass and user dot accessible
Made the compass behave like a button when visible. Added accessibility values and hints. The compass’s accessibility value uses the compass direction formatter. Turned off direct interaction with the map because it obscures the ornaments.

The user dot now reports the current coordinates. Its accessibility label now reflects its annotation’s title instead of the hardcoded label “User location”. (It’d be weird to address the VoiceOver user as “user”.)
2016-04-25 00:16:28 -07:00