Commit Graph

4078 Commits

Author SHA1 Message Date
Minh Nguyễn
27e5d18c42 Merge pull request #1573 from mapbox/1ec5-designable-redux-1568
Restore IB designable support
2015-05-16 21:36:24 -07:00
Minh Nguyễn
f16b353e43 Merge pull request #1577 from mapbox/1ec5-did-fail-to-fail
Properly fail to load the map
2015-05-16 20:37:44 -07:00
Minh Nguyễn
563fed5ca9 Properly fail to load the map
A typo in a selector literal meant that `-[MGLMapViewDelegate mapViewDidFailLoadingMap:withError:]` would never be sent to delegates even if `MGLMapView` had called it. Along for the ride, create a proper `NSError` to pass into that callback, and an error domain for that error.
2015-05-16 20:26:28 -07:00
Minh Nguyễn
b6a4ee0615 Revert "refs #1568: remove IBDesignable support for now"
This reverts commit 5a918cbb2c. The designable works fine because of #1469.

Fixes #1568.
2015-05-16 15:34:31 -07:00
Leith Bade
9ceda19363 Merge pull request #1571 from mapbox/android-styles
Update Android to use new styles
2015-05-16 12:47:23 +10:00
Leith Bade
7a2548edf1 Update Android to use new styles 2015-05-16 10:21:13 +10:00
Justin R. Miller
b021c4f39c Merge branch 'ios-b1' 2015-05-15 15:19:31 -07:00
Justin R. Miller
61d67676c8 update changelog for 0.3.1 2015-05-15 15:19:17 -07:00
Justin R. Miller
5ab27fd65a Merge branch 'ios-b1' 2015-05-15 15:15:22 -07:00
Justin R. Miller
e20ef135f1 use full raw screenshot for portability into API docs 2015-05-15 15:15:03 -07:00
Justin R. Miller
d41d69e9cd [publish ios-v0.3.1] 2015-05-15 15:05:05 -07:00
Justin R. Miller
568524eb56 bump podspec to 0.3.1 2015-05-15 15:04:24 -07:00
Justin R. Miller
fe99697c27 add podspec site docs URL 2015-05-15 15:03:50 -07:00
Justin R. Miller
f297cf9e0d add iOS screenshot to README, which goes into API docs 2015-05-15 15:01:21 -07:00
Justin R. Miller
5a918cbb2c refs #1568: remove IBDesignable support for now 2015-05-15 14:59:19 -07:00
John Firebaugh
83a5aae6c5 Render translucent background layers (fixes #1514) 2015-05-15 12:17:32 -07:00
Konstantin Käfer
4798c502aa Merge pull request #1567 from mapbox/threadset-emplace-followup
Removed unneeded unique_ptr
2015-05-15 16:04:48 +02:00
Thiago Marcos P. Santos
d0b2db3826 Removed unneeded unique_ptr 2015-05-15 16:49:02 +03:00
Konstantin Käfer
c85df38bbb Merge pull request #1408 from mapbox/1408-fix-integer-overflow
Coverity [64756] Unintentional integer overflow
2015-05-15 14:57:05 +02:00
Konstantin Käfer
8dd32e7d22 make sure bit shifts happen with unsigned integers
fixes #1407 and #1408
2015-05-15 14:42:43 +02:00
Thiago Marcos P. Santos
c7b513ad42 Merge pull request #1291 from mapbox/threadset-emplace
emplace into threadSet
2015-05-15 13:22:59 +03:00
Thiago Marcos P. Santos
b162fb7c6f Make the MapContext object run on its own thread on the tests
The MapContext can only run on its own thread because it is
registering a EnvironmentScope and it is making many assertions
on Debug mode if its methods are being called on the Map thread.
2015-05-15 13:06:23 +03:00
Mike Morris
f3c2093502 emplace into threadSet
Map thread and Main thread should be separated in Mode::Static now
2015-05-15 12:58:22 +03:00
Thiago Marcos P. Santos
377a10d257 Merge pull request #1566 from mapbox/test_output
Add output of RepeatedRender test to .gitignore
2015-05-15 12:49:34 +03:00
Thiago Marcos P. Santos
4b061a0588 Add output of RepeatedRender test to .gitignore
Also delete files that are test output but were checked in.
2015-05-15 12:34:57 +03:00
Thiago Marcos P. Santos
f9beb850e5 Merge pull request #1539 from mapbox/1539-figure_out_deps_first
Figure out Glyph PBF dependencies in the first parsing step
2015-05-15 10:38:12 +03:00
Thiago Marcos P. Santos
397bbfe495 Always request the SymbolBucket dependencies at the first pass
When processing a layer, we request the dependencies of all the
SymbolBuckets even if we are not processing it completely.
By doing that we are now requesting glyphs in parallel instead of
sequentially as we were doing before.

This patch is also simplifying the SymbolBucket creation code by getting
rid of the ugly "needsResources" return value passed by reference as
argument.
2015-05-15 10:22:57 +03:00
John Firebaugh
c1d004b8fb Restore sprite load check
This is necessary to ensure that background and fill images are ready
to render.

Fixes #1563
2015-05-14 18:15:54 -07:00
John Firebaugh
5aa5976a71 Speculative fix for PNG alpha/gamma handling
The libpng documentation is hopelessly impenetrable and I have no idea
what I'm doing, but this seems to fix the headless rendering failures.
2015-05-14 18:02:15 -07:00
John Firebaugh
2efaeb8816 Upload headless results in after_script
I need to see the results even for passing builds, so I can tell how
allowed failures are still failing.
2015-05-14 17:44:33 -07:00
Justin R. Miller
816796172a Merge branch 'ios-b1' 2015-05-14 15:34:05 -07:00
Justin R. Miller
6ab4f974ca touch up README around CocoaPods 2015-05-14 15:31:26 -07:00
Justin R. Miller
1bb7be6702 update podspec homepage 2015-05-14 14:53:26 -07:00
Justin R. Miller
e7d60f8e0b [publish ios-v0.3.0] 2015-05-14 14:17:17 -07:00
Justin R. Miller
b1fac0a796 bump podspec to 0.3.0 2015-05-14 14:17:03 -07:00
Brad Leege
594603f929 Merge pull request #1560 from friedbunny/compass-device-rotation-rotation
Rotate compass on device orientation changes
2015-05-14 16:10:00 -05:00
Jason Wray
03a129176c Rotate compass on device orientation changes 2015-05-14 13:13:24 -07:00
John Firebaugh
d1107fb4ed Fix misleading headless test output (fixes #1557) 2015-05-14 13:03:12 -07:00
John Firebaugh
7d4f12434e Ensure call-once semantics inside InitializeExtensions 2015-05-13 19:01:58 -07:00
John Firebaugh
a2344c36c3 Extensible GL extension support 2015-05-13 19:01:58 -07:00
John Firebaugh
0f7c6b0b52 Remove unused GL feature flags
These were used only for prerendered textures, which were removed.
2015-05-13 19:01:57 -07:00
John Firebaugh
9cd749b55a Update test suite 2015-05-13 18:51:25 -07:00
Konstantin Käfer
83484dc849 move result deployment to after_failure script 2015-05-13 17:19:53 -07:00
Konstantin Käfer
37a34d4287 update test suite and fail Travis when comparisons fail 2015-05-13 17:19:53 -07:00
John Firebaugh
4db34bd9ef Don't do things that set -e in Travis's shell
Sourcing files that set flags bleed into Travis' wrapper script, which
messes with their workflow, e.g. preventing after_failure scripts from
triggering.

These changes fix that:

* Move exported variables from install.sh to setup.sh, so install.sh
  doesn't have to be sourced.
* Source setup.sh from run.sh, rather than directly from .travis.yml.

In addition, as a good practice, remove `set -e` etc. from setup.sh,
and add a comment not to add them back. It's the sourcing script's
responsibility to set these flags.
2015-05-13 15:21:56 -07:00
John Firebaugh
b334b7ee4e Remove unnecessary use of shared_from_this()
If the request is cancelled, the response callback won't be called, and
~Source ensures that the request is cancelled. So it's safe to bind
`this` in the lambda.
2015-05-13 13:57:32 -07:00
John Firebaugh
e6eb6c7fe4 Use uv::async 2015-05-13 13:54:16 -07:00
John Firebaugh
386be7c0fa Remove unused
There are no longer any requests made that don't have a run loop to
dispatch back to.
2015-05-13 13:54:16 -07:00
Justin R. Miller
059d42c8cb [publish ios-v0.2.25] 2015-05-13 13:03:33 -07:00
Justin R. Miller
625f644180 bump podspec to 0.2.25 2015-05-13 13:02:36 -07:00