John Firebaugh
59a7fbf8e4
[core] Implement has/!has filters ( #4952 )
2016-05-05 14:30:37 -07:00
John Firebaugh
9330d674a9
[core] Use geometry.hpp's point
2016-05-05 11:30:53 -07:00
John Firebaugh
ce2a06e677
[core] Privatize math.hpp and vec.hpp
2016-05-05 11:16:57 -07:00
Thiago Marcos P. Santos
a818917714
[Qt] Make it possible to disable libwebp and libjpeg-turbo at build time
...
Pull less dependencies.
2016-05-05 18:47:14 +03:00
John Firebaugh
a64fe5062f
[core] Simplify FilterEvaluator and fix crash
...
Previous implementation was assigning a temporary to FilterEvaluator<T>::extractor.
2016-05-04 09:56:34 +03:00
Dane Springmeyer
c82b02c508
[core] port to protozero ( #4906 )
2016-05-03 13:57:17 -07:00
John Firebaugh
7800445c85
[core] Use gyp's direct_dependent_settings to propagate variant cflags
2016-05-02 13:12:24 -07:00
Ansis Brammanis
61d14089e0
[core] implement queryRenderedFeatures
2016-04-29 12:00:24 -07:00
Molly Lloyd
c86f558e9d
[core] port outlinepattern for fill-pattern anti-aliasing from gl-js to native
...
add outlinepattern shader class to relevant files
add outlinepattern code to painter_fill.cpp
add outlinepattern code to fill_bucket
refactor painter_fill, fix tests
fix merge conflicts and setDepthSublayer
update render test to no antialiasing so travis will be happy
2016-04-28 17:13:20 -07:00
John Firebaugh
da78422c5c
[core] Prepare Filter for public API ( #4900 )
2016-04-28 16:33:09 -07:00
John Firebaugh
b39f22e6b6
[core] Refactor getRegionCompletedStatus; add completedTileCount; add tests
2016-04-27 13:41:29 -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
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
John Firebaugh
5939dd5b41
[core] Use the proper type for font stacks
2016-04-22 15:53:18 -07:00
John Firebaugh
0c5d805bf9
[core] FontStack ⇢ GlyphSet ( #4803 )
...
A font stack is an array of font names. This is not that.
2016-04-22 13:28:03 -07:00
Bruno de Oliveira Abinader
4e04a107e8
Revert "[core] Do not clear custom layers upon style switch"
...
This reverts commit 8ec875b87c .
2016-04-21 20:15:18 +03:00
Bruno de Oliveira Abinader
8ec875b87c
[core] Do not clear custom layers upon style switch
2016-04-21 15:09:54 +03:00
Thiago Marcos P. Santos
a0146e372f
[tests] Accept [C|c]onnect as error message
...
Qt will spit "Connect" instead of "connect"
2016-04-20 20:55:51 +03:00
Minh Nguyễn
da88060c5c
[ios, osx] Fixed project upgrade warnings
...
Fixed project upgrade warnings in projects managed by gyp.
2016-04-16 22:46:25 -07:00
John Firebaugh
2fcfc2a939
[ios] Don't try to launch test server ( #4719 )
2016-04-15 13:18:31 -07:00
John Firebaugh
1ee0055710
[core] Eliminate MapData
2016-04-15 09:56:18 -07:00
John Firebaugh
ed489e7649
[core] Remove MapData dependency from Style
2016-04-15 09:56:18 -07:00
John Firebaugh
ce4270b01c
[core] Convert MapContext to Map::Impl; eliminate indirection
2016-04-15 09:56:18 -07:00
John Firebaugh
6e78eabfff
[core] Clean up ThreadContext vestiges
2016-04-15 09:56:18 -07:00
John Firebaugh
b55692132a
[tests] Use StubFileSource where a real FileSource is not required
2016-04-14 14:18:19 -07:00
John Firebaugh
7de9e196d7
[tests] Rationalize storage tests
...
Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests.
2016-04-14 14:18:19 -07:00
John Firebaugh
6d88a23a60
[core] Remove internal threading from OnlineFileRequest
...
There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity.
2016-04-14 14:18:19 -07:00
John Firebaugh
204c7fee03
[core] Render from the main thread
...
Do not create a thread for the MapContext anymore.
2016-04-14 13:44:08 -07:00
John Firebaugh
18d8e80f52
[core] Demote "Unable to make space for entry" message from Warning to Debug ( #4708 )
2016-04-14 13:43:24 -07:00
Konstantin Käfer
618b9f1dbf
[darwin] use CFRunLoopSourceInvalidate() to also cancel any pending AsyncTask invocations
2016-04-12 12:46:59 -07:00
John Firebaugh
1209ae4213
[test] This "very unlikely" condition in fact happens regularly in CI ( #4679 )
2016-04-11 16:31:56 -07:00
John Firebaugh
1c7c5af69d
[ios] Run core unit tests in CI
2016-04-11 11:00:34 -07:00
John Firebaugh
f964e40e7e
[build] Refactor and simplify build system
...
* Main gyp files are now standardized as platform/<platform>/platform.gyp.
* Each platform gyp file defines appropriate loop_lib and headless_lib variables.
* Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms.
* CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`.
* Renamed the "linux" test app to "glfw". It's now built in OS X CI.
* Android build flakiness is fixed.
* iOS CI builds the bench and iosapp targets.
* Mesa version is now in one place.
* CI scripts use bash "strict mode" and correct error handling.
* All build output goes to the build directory.
* Removed vestigial iOS/OS X/Android Travis scripts.
2016-04-07 18:01:02 -07:00
Ansis Brammanis
415ea295c5
[core] make sprite metrics checking stricter
...
- check that sprite metrics are within the bounds of the sprite. fix #714
- make sprite metrics problems Errors instead of Warnings
- check for negative image width, height
2016-03-31 10:27:42 -07:00
John Firebaugh
5eda74a514
Merge branch 'release-ios-3.2.0-android-4.0.0'
2016-03-30 17:43:37 -07:00
John Firebaugh
13882a31e4
[core] Set schema version to 3 after upgrading
...
The migration was upgrading the schema, but not the schema version. As a result, the (expensive) migration was running every time an OfflineDatabase was constructed with a v2 database.
Fixes #4501
2016-03-28 17:28:44 -07:00
John Firebaugh
169755e89a
[core] Unify FileRequest and WorkRequest
2016-03-24 10:54:32 -07:00
John Firebaugh
2f9e6f4e94
[core] Allow the use of special characters in property field names
...
Fixes #4336
2016-03-23 17:15:18 -07:00
Thiago Marcos P. Santos
f854368f29
[tests] Mark some tests as requiring server
...
Otherwise they will fail on iOS with connection error.
Fixex #4434
2016-03-23 09:53:08 -07:00
Jason Wray
8bdfca53ae
[tests] fix make iproj copy phase for unit text fixtures
2016-03-22 17:06:33 -07:00
John Firebaugh
220a57b36f
[tests] Tweak offline tests to work on iOS
2016-03-22 11:56:01 -07:00
Konstantin Käfer
c587eefbb1
[ios] make unit tests work on iOS and iOS Simulator
2016-03-22 11:56:01 -07:00
Konstantin Käfer
db5ac4785f
[test] rearrange test files so they're not in the fixtures folder
2016-03-22 11:56:01 -07:00
Konstantin Käfer
1dd81d9776
[test] remove crc64 and compare images
...
boost's crc64 breaks on iOS
2016-03-22 11:56:01 -07:00
Thiago Marcos P. Santos
0e201eb23d
[tests] Add utest to make sure prior expiration time is being respected
2016-03-17 23:57:28 -03:00
Bruno de Oliveira Abinader
cd1a06c2dc
[core] Get rid of MapData::{get,set}animationTime
2016-03-18 01:27:48 +02:00
Bruno de Oliveira Abinader
01edd4503c
[core] Move class handling to Style
2016-03-18 01:26:22 +02:00
Bruno de Oliveira Abinader
ac70ada2d3
[core] Check for NaNs in mbgl::util::{min,max,clamp}
2016-03-18 00:53:14 +02:00
Jesse Bounds
bcb3bb0931
[core] Stop download when tile limit is reached
...
The tile limit guard (when used) stops a download from continuing
when the tile limit is reached. This wraps the guard in a method
and employs it in both places currently necessary to ensure the
guard has a chance to function. Tests have been updated to
ensure the fix works for a less trivial tile limit scenario.
2016-03-17 15:52:18 -07:00
John Firebaugh
5130ca8843
[core] Implement a vacuum strategy for the offline database
...
Enable `PRAGMA auto_vacuum = INCREMENTAL`, and perform a `PRAGMA incremental_vacuum` when deleting an offline region.
2016-03-17 14:17:59 -07:00