Commit Graph

7032 Commits

Author SHA1 Message Date
Braden Ewing
ad0b37fcfd Don't double-tap zoom when quickzooming on Android 2015-11-25 01:15:34 -07:00
Antonio Zugaldia
aa018736b2 still some work needed on onSingleTapConfirmed() 2015-11-24 17:35:22 -05:00
Minh Nguyễn
dbe68760ec Corrected changelog
[skip ci]
2015-11-24 14:05:33 -08:00
Minh Nguyễn
8ba6f80c1b Attach compass gesture recognizer to compass view
Fixes #3099.
2015-11-24 14:05:29 -08:00
Minh Nguyễn
146533e377 Corrected changelog
[skip ci]
2015-11-24 14:02:21 -08:00
Minh Nguyễn
062746291b Demonstrate show annotations in iosapp
ref #3110
2015-11-24 13:27:19 -08:00
Minh Nguyễn
f782f5eeb7 Attach compass gesture recognizer to compass view
Fixes #3099.
2015-11-24 12:11:10 -08:00
Mike Morris
e87834f15d [node] update package.json deps 2015-11-24 14:09:57 -05:00
Minh Nguyễn
047107113f Updated guide URL 2015-11-23 19:17:20 -08:00
John Firebaugh
6ff3ef55f8 [core] Remove unused 2015-11-23 17:28:44 -08:00
John Firebaugh
36081f6486 [core] For binary image data use uint8_t, not char 2015-11-23 17:28:44 -08:00
Justin R. Miller
6d4e86f41d bump podspec to 3.0.0 final (no symbols) 2015-11-23 17:03:54 -08:00
Justin R. Miller
e7132e1dec change iOS Bitrise Slack room
[skip ci]
2015-11-23 16:48:28 -08:00
Justin R. Miller
a620912176 change iOS Bitrise Slack room
[skip ci]
2015-11-23 16:39:20 -08:00
Justin R. Miller
c6edcf69b3 reduce framework binary size with more stripping 2015-11-23 12:49:33 -08:00
Justin R. Miller
6c74da947b bump iOS version to 3.0.0-rc.1 2015-11-23 11:17:45 -08:00
Justin R. Miller
8a774ad9a9 show current version changelog section in docs & link externally to full
This is going to fail and output nothing for -pre and -rc tags for now
until #3046 is addressed. We can't yet grab those but still have final
releases sort after them.
2015-11-23 11:15:10 -08:00
Mike Morris
76253eb1d1 node-v2.0.0-pre.16 2015-11-23 14:13:22 -05:00
Justin R. Miller
8a1bd6d3f2 added some missing changelog entries 2015-11-23 10:31:46 -08:00
Minh Nguyễn
c054441071 Fixed linker warnings about overridden styleURL__
Replaced #3088 with a better fix that relies on Interface Builder’s lack of support for conditional compilation.
2015-11-20 21:51:24 -08:00
Justin R. Miller
24136b02e9 bump version to ios-v3.0.0-pre.10 2015-11-20 18:37:47 -08:00
John Firebaugh
c4c3a19d85 [node] Allow GC in spite of reference loops through the request method
The following produces a reference cycle:

var map = new mbgl.Map({
    request: function () { ... }
});

map has a reference to the request function, which has a reference to
its closure, which has a reference to map.

Storing a the map options in an internal field, rather than a Persistent,
allows V8 to collect the reference cycle when none of its members have
other references.
2015-11-20 16:33:46 -08:00
Minh Nguyễn
06d400fb9a Discourage code usage of styleURL__ property
A hack atop the hack added in #2632. Pre-declare `styleURL__` with an attribute that prevents it from appearing in code completion suggestions, while leaving it available to Interface Builder, which is unable to parse attributes.
2015-11-20 12:03:16 -08:00
Minh Nguyễn
8a0bce7808 Discourage code usage of styleURL__ property
A hack atop the hack added in #2632. Pre-declare `styleURL__` with an attribute that prevents it from appearing in code completion suggestions, while leaving it available to Interface Builder, which is unable to parse attributes.
2015-11-20 11:31:46 -08:00
Minh Nguyễn
b791d1fb81 [iOS] Added missing documentation comment 2015-11-20 11:24:43 -08:00
Minh Nguyễn
c4558d48f2 [iOS] Set application root as asset root
As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs.

Fixes #1208, fixes #3050.
2015-11-20 11:20:35 -08:00
Minh Nguyễn
b3dbdb389f [iOS] Set application root as asset root
As of #2746, we no longer bundle any styles with the SDK, so the asset: URL scheme is unused. Instead, point asset: to the application root for developer convenience and consistency with the Android and default asset roots. Also fixed an issue that prevented relative URLs from being treated as asset: URLs.

Fixes #1208, fixes #3050.
2015-11-20 10:44:12 -08:00
Tobrun
566b108248 [android] - #2658 improve window background PopupWindowView 2015-11-20 15:32:24 +01:00
Konstantin Käfer
b5f7cafab4 [core] more robust max-age parsing 2015-11-20 14:39:44 +01:00
Minh Nguyễn
94e2d8a02c [iOS] Added missing documentation comment 2015-11-20 01:02:21 -08:00
John Firebaugh
d08861daf4 [core] Force style-sourced annotations to be visible 2015-11-19 19:50:29 -08:00
John Firebaugh
afa04de152 [core] Followup fix to #3037
The previous fix resulted in annotations sometimes never being added.
This would happen if, during the execution of MapContext::update where
Update::Annotations was set, the style itself was loaded but some of
its subresources (sprite or sources) were not.

#3082 is a follow up issue to make MapContext::update less error-prone.
2015-11-19 18:01:42 -08:00
John Firebaugh
462af73b7e [core] Followup fix to #3037
The previous fix resulted in annotations sometimes never being added.
This would happen if, during the execution of MapContext::update where 
Update::Annotations was set, the style itself was loaded but some of
its subresources (sprite or sources) were not.

#3082 is a follow up issue to make MapContext::update less error-prone.
2015-11-19 17:59:28 -08:00
Minh Nguyễn
9120c19db2 Separate heading for iOS SDK 3.0.0 2015-11-19 15:38:32 -08:00
Minh Nguyễn
dc5a55c670 Fixed Linux builds; code style 2015-11-19 12:35:28 -08:00
Minh Nguyễn
a983dc8259 Ported replaceTokens() tests from GL JS 2015-11-18 19:06:33 -08:00
Justin R. Miller
73daa180b6 bump version to ios-v3.0.0-pre.9 2015-11-18 18:43:12 -08:00
Justin R. Miller
f2a28f095b refs #2380: plop Settings.bundle inside of framework distribution 2015-11-18 18:41:14 -08:00
Justin R. Miller
ce679eea40 refs #2380: plop Settings.bundle inside of framework distribution 2015-11-18 18:29:34 -08:00
Justin R. Miller
a0533d8244 refs #2922: update display link in all common modes (inc. scrolling) 2015-11-18 18:27:46 -08:00
Justin R. Miller
35441a26e9 refs #2922: update display link in all common modes (inc. scrolling) 2015-11-18 18:00:12 -08:00
John Firebaugh
46a6b03582 [node] Fix race condition in tests
The message callback races with the rest of this test. We already have
tests for errors being emitted from mbgl, so just remove it.
2015-11-18 16:53:11 -08:00
John Firebaugh
f2772309fe Rewrite CustomSpriteImages test
Previous test was invalid; Map::setSprite is only for annotations.
2015-11-18 16:29:18 -08:00
John Firebaugh
db1c4f2cc2 [core] Avoid calling AnnotationManager::updateStyle until the style is loaded
Fixes #3037
2015-11-18 16:05:13 -08:00
John Firebaugh
50a33e4e6d [core] Avoid calling AnnotationManager::updateStyle until the style is loaded
Fixes #3037
2015-11-18 16:04:37 -08:00
Minh Nguyễn
fd0e21321e Ensure proper will/is/didChange for resetNorth 2015-11-18 15:59:58 -08:00
Jason Wray
5b7866a1ba [ios] update changelog for willStart/didFinishLoading 2015-11-18 15:59:54 -08:00
Jason Wray
3aa523c7b1 [ios] document willStart/didFinish map loading delegate methods
Fixes #2706
2015-11-18 15:59:48 -08:00
Minh Nguyễn
fcec19b835 Ensure proper will/is/didChange for resetNorth 2015-11-18 11:27:17 -08:00
Jason Wray
f0022e6e6f [ios] update changelog for willStart/didFinishLoading 2015-11-18 10:25:31 -08:00