Commit Graph

292 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
da863c6e52 [build] Added 'lint' Make target 2016-07-01 11:18:53 +03:00
Mike Morris
bc24da11b2 [node] add BUILDTYPE=Debug support to make node 2016-06-24 14:39:06 -04:00
Thiago Marcos P. Santos
7ea0a0db32 [tests] Run memory tests on travis
Qt4 will run tests with libjemalloc.so. The Memory.Footprint and
the Memory.Fragmentation will only run with libjemalloc.so because
we have then a better control over the results.
2016-06-21 19:12:32 +02:00
Bruno de Oliveira Abinader
87a09c51ee [build/qt] Use platform-specific gyp flavor when cross-compiling 2016-06-19 12:40:49 +03:00
Bruno de Oliveira Abinader
e50980793a [build] Use mason platform info when cross-compiling
Build platform equals to host platform if not cross compiling, otherwise
use the mason-provided platform.
2016-06-19 12:18:58 +03:00
Bruno de Oliveira Abinader
3f024ebaf0 [Qt] Install valgrind on-demand 2016-06-16 19:30:20 +03:00
Bruno de Oliveira Abinader
fe64238b4c [tidy] Switched to Travis CI
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5341.
2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
b00e6fc7e1 [tidy] Install mason clang-tidy if CLANG_TIDY is not set
Also added HeaderFilterRegex to .clang-tidy.
2016-06-14 12:20:08 +03:00
Minh Nguyễn
b9702ef41a [macos] Renamed OS X SDK to macOS SDK
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
Bruno de Oliveira Abinader
fe09510c1b [build] Re-enable tidy checks 2016-06-13 23:32:07 +03:00
Bruno de Oliveira Abinader
bfd1d9d1bf [build] compdb depends on node_modules 2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
62d355ab15 [build] Make node_modules non-parallel 2016-06-12 11:31:55 +03:00
Bruno de Oliveira Abinader
83a3c18bdb [build] Update compdb & tidy for Linux & OS X 2016-06-10 17:35:01 +03:00
Thiago Marcos P. Santos
8bbb721636 [Qt][build] Updated valgrind supression and make it a target for Qt 2016-06-09 19:56:35 +03:00
Konstantin Käfer
0fe60d398e [build] add benchmark target 2016-06-06 13:50:55 +02:00
John Firebaugh
a758b41b06 [build] Fix mason submodule initialization 2016-06-03 09:51:39 -07:00
John Firebaugh
a43940afb2 [core] Runtime style layer API 2016-06-02 14:51:39 -07:00
John Firebaugh
8068424f30 [build] Add android-* make targets for specific ABIs 2016-06-01 17:37:01 -07:00
Bruno de Oliveira Abinader
bdeabc492c Revert "[build] Use 'npm update --dev' to install devDependencies"
This reverts commit f4ebda09be.
2016-05-26 16:16:15 +03:00
Bruno de Oliveira Abinader
f4ebda09be [build] Use 'npm update --dev' to install devDependencies 2016-05-26 15:00:55 +03:00
John Firebaugh
45c5b2a66c [core] Share shaders with gl-js 2016-05-25 21:37:58 -07:00
John Firebaugh
2846e2a424 [build] Move express dependency to package.json 2016-05-25 21:37:17 -07:00
John Firebaugh
9732f02422 [build] Switch default BUILDTYPE to Debug 2016-05-24 09:55:13 -07:00
John Firebaugh
fc1c21202a [build] Use test-$(HOST_PLATFORM) as default make target 2016-05-24 09:55:13 -07:00
John Firebaugh
eb03611943 [build] Make gyp commands more consistent 2016-05-24 09:55:13 -07:00
John Firebaugh
a6e0870a3a [build] Add appropriate platform.gyp dependencies 2016-05-24 09:55:13 -07:00
John Firebaugh
35de561bb4 [build] Introduce CONFIG_DEPENDENCIES 2016-05-24 09:55:13 -07:00
John Firebaugh
c02d837a33 [build] Add GYP_DEPENDENCIES to all appropriate targets 2016-05-24 09:55:02 -07:00
Bruno de Oliveira Abinader
6938970dcc [build] Fix Qt build for OS X 2016-05-24 19:32:55 +03:00
John Firebaugh
1f8de2be5c [build] Inline main.mk Android targets into Makefile 2016-05-23 21:33:17 -07:00
John Firebaugh
d5840beb47 [build] Inline main.mk linux and qt targets into Makefile 2016-05-23 20:29:14 -07:00
John Firebaugh
b611a6f5dc [build] Inline main.mk node targets into Makefile 2016-05-23 19:15:03 -07:00
John Firebaugh
d378d1f823 [build] Avoid variable name coupling between main.mk and configure 2016-05-23 17:38:11 -07:00
John Firebaugh
99e2504f8d [build] Move rm -rf node_modules to make distclean 2016-05-20 10:21:37 -07:00
Minh Nguyễn
eb1e6c0f0c [osx] Automate framework packaging
Added a package script and make rule that parallels the iOS SDK package script and make rule, but with far fewer intricacies.
2016-05-10 10:18:23 -07:00
Minh Nguyễn
5616cd2bb1 [osx] Added OS X SDK documentation target
Added a target, script, and make rule for generating OS X SDK documentation with jazzy, along with a docset cover page.

Switched the umbrella header from framework header syntax to user header syntax so SourceKit can find all the headers.

Fixes #4871.
2016-05-10 09:59:04 -07:00
Dane Springmeyer
522ebb08ef Respect V arg to make to disable xcpretty (#4881) 2016-04-27 18:03:36 -07:00
Bruno de Oliveira Abinader
a083fcbd77 [Qt] Added qt-qml-app example 2016-04-27 17:36:35 +03:00
Mike Morris
64fe75b011 node-v3.1.2 2016-04-26 11:48:02 -04:00
Minh Nguyễn
57f0a21125 [ios] Only convert encoding of files generated by genstrings
Followup to #4783: fixed an issue causing make genstrings to reconvert a UTF-8-encoded file from UTF-16 to UTF-8, garbling it.
2016-04-24 20:57:13 -07:00
Minh Nguyễn
f85f4f4105 [ios] Streamlined resource bundling
Added a target that produces Mapbox.bundle.

Replaced $BUNDLE_RESOURCES and $PLACE_RESOURCE_BUNDLES_OUTSIDE_FRAMEWORK with a single variable, $SELF_CONTAINED, that determines whether the output static framework is self-contained – that is, whether it contains Mapbox.bundle, Settings.bundle, and LICENSE.md. Eliminated the ability to produce a static framework that has the same layout as a dynamic framework. Now, resources are always in Mapbox.bundle; self-containment only determines where that bundle resides.

Added a separate source Info.plist to be placed in both the static framework and its resource bundle, but only after we give the build system a chance to expand variables within it. Now nearly all the Info.plist keys are filled in by the build system rather than using plutil in package.sh.
2016-04-24 16:18:23 -07:00
Minh Nguyễn
95613bd7dd [ios, osx] Made OS X SDK localizable
Replaced the iOS-specific ilocalize make rule with a genstrings make rule that creates iOS, OS X, and shared strings files. Moved the override English .stringsdict file under darwin/resources/. Made the default OS X callout view XIB localizable. Made some hard-coded strings in the OS X SDK source localizable.
2016-04-24 16:18:23 -07:00
Minh Nguyễn
f1200d47db [ios, osx] Made localizable strings unique; unlocalized iosapp
Assigned unique IDs to localizable English strings in code.

Made iosapp non-localizable. For the time being, it isn’t worth the trouble to localize more strings for this demo application than for the SDK itself.
2016-04-24 16:17:43 -07:00
Minh Nguyễn
e4752912da [ios, osx] Corrected clock, coordinate formats
Long unit style isn’t intended to be spelled out, so the clock and coordinate direction formatters now use numerals for long unit style, differing from medium unit style in less drastic ways. The locale no longer needs to be exposed, since it’ll always match the overall string’s locale. Added support to the coordinate formatter for different unit styles. Made minutes and seconds of arc optional.

Maintain strings for darwin/ formatter classes in a separate Foundation strings table that can be shared between the iOS and OS X SDKs. Added an English .stringsdict override that correctly pluralizes units.

Capitalize osxapp window titles, now that they spell out the directions.
2016-04-24 16:13:54 -07:00
Minh Nguyễn
6c9ca4be50 [ios] Made SDK and iosapp localizable
Made storyboards and strings throughout the SDK and iosapp localizable. Replaced the compass image with an unlabeled image. Draw a localizable string atop it at runtime.

Redefined NSLocalizedString() and NSLocalizedStringFromTable() macros to look at the SDK bundle rather than the main application bundle. This redefinition has no effect on the host application, because it’s in an internal header. That header must be included in all files that contain localizable strings. See NSBundle+MGLAdditions.h for a full explanation.

Added a make rule that runs genstrings and ensures UTF-8 output (since genstrings insists on UTF-16).

Use MGLCoordinateFormatter in iosapp for dropped pin callouts. Rely on subclasses of MGLPointAnnotation instead of annotation titles to distinguish between different kinds of point annotations.
2016-04-24 16:13:08 -07:00
Minh Nguyễn
a421028481 [ios] Only build static framework for Fabric 2016-04-24 11:35:50 -07:00
John Firebaugh
a7527d6986 [build] Depend on directories, so that projects are regenerated when files are added or removed (#4810) 2016-04-22 15:07:57 -07:00
Thiago Marcos P. Santos
c8c69f1d2a [Qt] Build the Qt port 2016-04-20 20:55:51 +03:00
Minh Nguyễn
6069647076 [ios, osx] Override user workspace settings 2016-04-19 16:28:30 -07:00
John Firebaugh
4bc4d35c60 [ios] Build output goes to build/ios 2016-04-19 16:28:30 -07:00