summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* [build] use node-cmake 2.xKonstantin Käfer2017-02-221-5/+0
| | | | - Removes need to run `npm install` before invoking cmake
* [build] use system-provided Android NDK when availableKonstantin Käfer2017-02-221-35/+51
| | | | and fall back to Mason if it isn't
* [android] - uninstall current apk on test device before running a make run- ↵Tobrun2017-02-221-1/+4
| | | | command. (#8160)
* [Qt] Document QMapbox + qdoc fixesBruno de Oliveira Abinader2017-02-221-1/+1
|
* [android] add make android-help target (#8087)Justin R. Miller2017-02-201-0/+22
|
* [tests] Disable timing-based Timer tests in CIJohn Firebaugh2017-02-151-5/+2
|
* [build] Remove Mason submodule in favor of CMake masonKonstantin Käfer2017-02-081-45/+40
|
* [build, ios, macos] Simplify version portion of user agent stringJohn Firebaugh2017-02-081-2/+0
| | | | The X.Y.Z version portion was unreliable, as it pulled from the latest tag regardless of platform. Set version to 0.0.0 and retrieve only the hash, which allows us to drop the node/npm dependency.
* [core] Check in generated shader codeJohn Firebaugh2017-02-071-0/+1
| | | | One step toward eliminating the node/npm dependency for platforms other than node.
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-0/+4
|
* [android] - add make target for javadoc (#7868)Tobrun2017-01-261-0/+4
|
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.7Minh Nguyễn2017-01-161-0/+9
|\
| * [macos] Upgrade macOS deployment and distribution (#7649)macos-v0.3.0-rc.1Minh Nguyễn2017-01-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [macos] Updated deployment scripts Ported fixes from #6581 and #6740. * [macos] Acknowledge AppleScript support * [macos] Prepared for published documentation Also added link to Dash docset. * [macos] Added CocoaPods podspecs Ported from #5653. * [macos] Rewrote readme; updated screenshot * [macos] Include setup instructions in standalone docs
| * [ios, macos] Insert example code in original headers (#7569)Minh Nguyễn2017-01-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Removed extraneous code fences * [ios] Streamlined example delimiters Use test method names as names of example blocks and test method documentation comments as front matter for examples. Set off example blocks using a syntax similar to playground markup syntax. Avoid hard-coding indentation levels. Trigger Xcode build error when an error occurs in the script. * [ios] Removed platform-specific code from examples * [ios] Fixed logic error The comment said 200 while the code said 1,500. * [ios] Formalize build phase input * [ios] Insert examples into original source documentation Rewrote the example code insertion script to work on the original source files and overwrite any existing code examples on the same symbols. The script uses SourceKitten to find the documentation comment for the symbol named by the test method. Replaced the Run Script build phase that runs the example code insertion script with a make rule that runs the same script. Inlined skeleton examples minus the contents of the code blocks. * [ios] Fixed syntax error * [ios] Ran ios-add-examples-to-docs * [ios] Avoid touching unchanged headers * [ios] Refactored example insertion script * [ios] Point jazzy at original sources * [ios] Invoke SourceKitten only once * [ios] Look for methods as well as properties * [ios] Thoroughly search for code blocks in doc comments Refactored the example code insertion script to index test methods by their names, then recursively search the SourceKitten output for documentation comments that contain Swift code blocks, replacing each code block with the associated test method body. * [ios, macos] Enabled example insertion for macOS The example code insertion script is now platform-agnostic. * [ios, macos] Fixed documentation example tests Set the map view’s style to a minimal local JSON file. Wait for the style to finish loading before running each test. Corrected CGVector type. * [ios, macos] Dry run mode The output of this mode isn’t a good indicator of whether any files would’ve needed to be changed, because the presence of a conditional compilation block in one of the test methods means this script would always change and revert the corresponding comment. * [ios] Fixed test failure The iOS implementation of MGLMapView tries to show the Streets style by default even if no access token has been set. Avoid a race condition and frequent test failure by specifying the minimal style on initialization. * [ios, macos] Ensure SourceKitten is installed before inserting example code * [ios, macos] Tear down map view after each test Keep map views from previous tests from hanging around, potentially obscuring the result of a subsequent test. Set the access token to a bogus token upfront for all style layer tests. Unified MGLStyle usage within MGLStyleTests. * [ios, macos] Reinsert examples after generating runtime styling headers
| * [linux] Added OSMesa headless backendBruno de Oliveira Abinader2016-11-131-1/+2
| |
* | [build] Upgrade clang-tidy and clang-formatJohn Firebaugh2017-01-131-4/+4
| | | | | | | | Version 3.8.0 was removed from mason.
* | [android] - add filter to make command to execute one single android ↵Tobrun2017-01-101-0/+6
| | | | | | | | instrumentation/unit test (#7657)
* | [android] improve test runner by allowing selective execution of testsKonstantin Käfer2017-01-051-16/+28
| |
* | [macOS] use SourceKit to ensure that all public symbols are exportedKonstantin Käfer2017-01-041-0/+4
| |
* | [android] - build and test wear module on CI, cleanup gradle file, added ↵Tobrun2016-12-281-6/+10
| | | | | | | | make target, added unit test (#7534)
* | [android] - only build phone module (#7498)Tobrun2016-12-201-2/+2
| |
* | [android] - make targets for checkstyle, spoon and AWS device farm (#7469)Tobrun2016-12-191-0/+12
| |
* | [build] use 64 bit libdir + dalvikvm when running android tests on 64 bit ↵Konstantin Käfer2016-12-151-1/+3
| | | | | | | | platforms
* | [android] - update gradle command line args for CI (#7426)Tobrun2016-12-141-1/+1
| |
* | [qt] Skip ICU if WITH_QT_I18N is setBruno de Oliveira Abinader2016-12-121-0/+2
| |
* | [build] speedup Android packaging by not building unit testsKonstantin Käfer2016-12-021-3/+3
| |
* | [android][build] core tests - initial setup for rendering testsIvo van Dongen2016-11-271-4/+40
| |
* | [linux] Implement EGL headless backendTiago Vignatti2016-11-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original author: Tiago Vignatti <tvignatti@gmail.com> Calling X11 window system is superfluous for headless rendering. This patch implements EGL platform using GBM, which is slightly more simple than the GLX path when using X11. In principle there are no big advantages in terms of performance etc. My motivation behind this was to get in touch with the code and the project. For testing I'm using: $ unset DISPLAY && ./build/linux-x86_64/Debug/mbgl-test v2: rebased patch against the new cmake changes; walk through render node to find a valid one; remove EGLSurface completely cause windows are not needed here.
* | [build] Use npm install --ignore-scriptsJohn Firebaugh2016-11-151-1/+1
| | | | | | | | Should be faster than npm update.
* | [android] - update make clean for Android Wear module (#7018)Tobrun2016-11-111-0/+1
| |
* | [build] don't rewrite style code for every buildKonstantin Käfer2016-11-091-4/+7
| | | | | | | | | | | | revert of 93166aef482ea5835d87231f88d369449398ccdf On Android, we always rewrote the style code files, which lead to gratuitous recompiles
* | [android] - update make targets (#6958)Tobrun2016-11-081-8/+24
| |
* | [build] Use mesa-13.0.0-glx in CI buildsBruno de Oliveira Abinader2016-11-081-2/+5
| |
* | [linux] Added OSMesa headless backendBruno de Oliveira Abinader2016-11-041-1/+2
|/
* [ios] Deploy script enhancements (#6581)Jason Wray2016-10-051-0/+4
| | | | | | | | | | | | * Add `make ideploy` command for publishing iOS releases. * Get release version from latest ios git tag. * Use caffeinate to prevent the system from sleeping during the deploy process. * Checkout tag to ensure correct commit is used * Fail if release has already been published (not a draft) on GitHub * Add publish step logging and colorize it. * Allow s3 upload to show progress. * Use build/ios/deploy directory for downloaded release zips; always overwrite via -O flag. * Add zip filename to s3 step. * Auto-install github-release command
* [build] Add support for 'benchmark' target on macOSBruno de Oliveira Abinader2016-10-051-0/+12
|
* [android][build] always generate style sources on buildIvo van Dongen2016-10-051-5/+5
|
* [tests] Do not run benchmarks with GDBThiago Marcos P. Santos2016-10-051-1/+1
|
* [build] Re-add benchmark tests to the buildsystemThiago Marcos P. Santos2016-10-051-0/+10
| | | | Probably lost on the cmake migration
* [macos] Restored unit tests on CIMinh Nguyễn2016-09-281-0/+4
| | | | | | Restored the make rule for running macOS SDK unit tests. Invoke that rule on Bitrise. Fixes #5991.
* [Qt] Added missing `qt-lib` target (#6427)Thiago Marcos P. Santos2016-09-221-0/+4
| | | | | Build the shared library. Fixes #6415
* [android] - optimise execution time of Android CI integration (#6283)Tobrun2016-09-201-1/+1
|
* [Qt] Initial documentation stubThiago Marcos P. Santos2016-08-261-0/+8
|
* [android] #5211 - update yaml to run on device lab, update test with ↵Tobrun2016-08-181-0/+4
| | | | NoSuchSource exception (#6073)
* 5859 generate sanity tests (#5870)Tobrun2016-08-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [android] #5859 - generate espresso tests [android] #5859 - cleanup xml files, use all the same resource id for map view [android] #5859 - update scripts [android] #5859 - update Activity to match mapboxMap naming [android] #5859 - make SurfaceViewMediaControlActivity compatible [android] #5859 - make MarkerViewScaleActivity test generation compatible [android] #5859 - make PolygonActivity test generation compatible [android] #5859 - integration within make file [android] #5859 - made CameraPostion generation safe [android] #5859 - generate sanity test [android] #5859 - add generated test cases [android] #5859 - add documentation * [android] #5859 - remove generated files, introduce gen package, added gitignore to package * [android] #5859 - regenerated test code * [android] #5859 - added AWS gradle plugin + bitrise configuration * [android] #5859 - fixes running locally without having the properties configured * [android] #6010 - remove python from android sdk * [android] #5859 - update docs about aws gradle plugin
* [build] convert build-shaders script from Python to Node.jsKonstantin Käfer2016-08-161-0/+1
|
* Runtime styling API for iOS/macOS (#5727)Fredrik Karlsson2016-08-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] wip runtime styling * [ios, macos] Outlined header templates * [ios, macos] cleanup and use appropiate data types * [ios, macos] removed refs to mbgl and added convenient color methods on UIColor and NSColor * [ios, macos] updated header template, included doc string * [ios, macos] outlined template for layer implementation files * [ios, macos] moved script to platform/darwin and updated comments * [ios, macos] Cleaned up the implementation template * [ios, macos] removed unused function and added support for more datatypes * [ios, macos] overhauling the type protocols * [ios, macos] removed unnecessary style classes * [ios, macos] added support for more types * [ios, macos] fixed string and number prop values * [ios, macos] enum getters * [ios, macos] added removeLayer() and removed unused layer ref * [ios, macos] fixed remaining layer types and converted style layer into a protocol * [ios, macos] fixed addLayer() and added example for line layer * [ios] GeoJSON source now works * [ios] fixed raster layer and raster source * [ios] fixed attr prop number and outlined prop function * [ios] wip functions * [ios] bool and float function fix * [ios] cleanup * [macos] fixed support for macos * [ios] fixed string functions * [ios] extended array functions * [ios] added tests and fixed a few bugs * [ios] less verbose functions and improved tests * [ios, macos] Removed unnecessary use of default arguments Default arguments aren’t supported in Node v4, and they aren’t needed here anyways, because we’re only testing for truthiness. * [ios, macos] Enum setters Rely on a macro instead of category methods to specialize the setter implementation for enum attributes, since generic types are disallowed in Objective-C method signatures and mbgl::style::PropertyType must be type-qualified. * [ios, macos] Got macOS closer to parity w/ iOS Added various classes and test classes to the macOS workspace. Also fixed lots of compiler errors and updated macosapp runtime styling example to use the new dictionary syntax for function stops. Updated all conversions from Objective-C stops to C++ stops to enumerate over the dictionary. Fixed compiler errors in enum setter implementations. Also corrected path to script in generated file comments. * [ios, macos] Added EJS templates to project * [ios, macos] Code formatting Made code format more consistent. * [ios, macos] Spelled out ID Cocoa convention is to always spell out “ID” as “identifier”, in part to avoid confusion with the id keyword. Also, URL is capitalized in most contexts, including property names. * [ios, macos] Grouped related headers together * [ios, macos] Cleaned up layer transformation Also added support for converting background layers into Objective-C. * [ios, macos] Cleaned up tests Also made the tests work on macOS by introducing a new window to host the map. * [ios, macos] Replaced TODOs with #warnings * [ios] convert array based property values * [ios, macos] color function/undefined getter * [ios, macos] fixed function/undefined getters for bool and float properties * [ios, macos] more function/undefined property getters * [ios, macos] more type conversion and cleanup * [ios, macos] disable macos runtime styling tests for now * [ios, macos] cleaned up style code script * [ios, macos] more type conversion * [ios] added a base layer to handle visibility min/max zoom * [macos] fixed base layer * [ios, macos] use accessor methods * [ios, macos] cleanup * [ios, macos] add geojson to ios and macos * [macos] rebase fix * [ios, macos] fixed enum getters and added tests for enums * [ios, macos] added an update method to base layer * [ios, macos] added some documentation * [ios, macos] docs * [ios, macos] removed refs to filters for now * [ios, macos] various tail work * [ios, macos] missing import and incorrect type
* [android] #5886 - added style code generation for android back inIvo van Dongen2016-08-081-0/+4
|
* [build] forward V=1 to ninja buildsKonstantin Käfer2016-08-051-10/+12
|
* [build] add missing files to Android buildKonstantin Käfer2016-08-051-2/+2
|