From 061854990ffe495910a5f0dc7c6bb5d394f772e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Mon, 13 Jun 2016 14:47:13 -0700 Subject: [PATCH] [macos] Renamed OS X SDK to macOS SDK Also renamed as many references to OS X as possible to macOS in documentation. Cherry-picked from b9702ef41a4cfdd0ab3107cfe5cec16ba3a4c230. --- .gitignore | 2 +- .ycm_extra_conf.py | 2 +- ARCHITECTURE.md | 4 +- CHANGELOG.md | 2 +- CONTRIBUTING.md | 4 +- INSTALL.md | 4 +- Makefile | 58 +++++++++--------- README.md | 6 +- bin/offline.sh | 2 +- configure | 4 ++ deps/ninja/{ninja-osx => ninja-macos} | Bin ...TRIBUTING_OSX.md => CONTRIBUTING_MACOS.md} | 2 +- platform/android/README.md | 2 +- platform/darwin/README.md | 6 +- platform/darwin/src/http_file_source.mm | 4 +- platform/ios/DEVELOPING.md | 10 +-- platform/{osx => macos}/CHANGELOG.md | 3 +- platform/{osx => macos}/DEVELOPING.md | 24 ++++---- platform/{osx => macos}/INSTALL.md | 14 ++--- platform/{osx => macos}/README.md | 10 +-- .../WorkspaceSettings.xcsettings | 0 platform/{osx => macos}/app/AppDelegate.h | 0 platform/{osx => macos}/app/AppDelegate.m | 0 .../AppIcon.appiconset/AppIcon128x128.png | Bin .../AppIcon.appiconset/AppIcon16x16.png | Bin .../AppIcon.appiconset/AppIcon256x256-1.png | Bin .../AppIcon.appiconset/AppIcon256x256.png | Bin .../AppIcon.appiconset/AppIcon32x32-1.png | Bin .../AppIcon.appiconset/AppIcon32x32.png | Bin .../AppIcon.appiconset/AppIcon512x512-1.png | Bin .../AppIcon.appiconset/AppIcon512x512.png | Bin .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/icon-1.png | Bin .../AppIcon.appiconset/icon.png | Bin .../app/Assets.xcassets/Contents.json | 0 .../app/Base.lproj/MainMenu.xib | 0 .../app/Base.lproj/MapDocument.xib | 0 platform/{osx => macos}/app/Credits.rtf | 0 .../{osx => macos}/app/DroppedPinAnnotation.h | 0 .../{osx => macos}/app/DroppedPinAnnotation.m | 0 platform/{osx => macos}/app/Info.plist | 0 .../app/LocationCoordinate2DTransformer.h | 0 .../app/LocationCoordinate2DTransformer.m | 0 platform/{osx => macos}/app/MapDocument.h | 0 platform/{osx => macos}/app/MapDocument.m | 0 .../app/OfflinePackNameValueTransformer.h | 0 .../app/OfflinePackNameValueTransformer.m | 0 .../app/TimeIntervalTransformer.h | 0 .../app/TimeIntervalTransformer.m | 0 platform/{osx => macos}/app/main.m | 0 platform/{osx => macos}/bitrise.yml | 8 +-- platform/macos/docs/doc-README.md | 9 +++ platform/{osx => macos}/docs/pod-README.md | 12 ++-- platform/{osx => macos}/jazzy.yml | 0 .../macos.xcodeproj}/project.pbxproj | 28 ++++----- .../contents.xcworkspacedata | 2 +- .../xcshareddata/xcschemes/CI.xcscheme | 22 +++---- .../xcshareddata/xcschemes/dynamic.xcscheme | 12 ++-- .../xcshareddata/xcschemes/macosapp.xcscheme} | 18 +++--- .../contents.xcworkspacedata | 4 +- .../xcdebugger/Breakpoints_v2.xcbkptlist | 0 .../xcschemes/mbgl-offline.xcscheme | 8 +-- .../xcschemes/mbgl-render.xcscheme | 8 +-- .../xcshareddata/xcschemes/test.xcscheme | 8 +-- platform/{osx => macos}/platform.gyp | 4 +- platform/{osx => macos}/screenshot.png | Bin platform/{osx => macos}/scripts/configure.sh | 0 platform/{osx => macos}/scripts/document.sh | 16 ++--- .../scripts/macostest.xcscheme} | 6 +- platform/{osx => macos}/scripts/package.sh | 12 ++-- .../sdk/Base.lproj/Localizable.strings | 0 .../sdk/Base.lproj/MGLAnnotationCallout.xib | 0 platform/{osx => macos}/sdk/Info.plist | 0 .../{osx => macos}/sdk/default_marker.pdf | Bin platform/{osx => macos}/sdk/mapbox.pdf | Bin .../{osx => macos}/src/MGLAnnotationImage.h | 0 .../{osx => macos}/src/MGLAnnotationImage.m | 0 .../src/MGLAnnotationImage_Private.h | 0 .../{osx => macos}/src/MGLAttributionButton.h | 0 .../{osx => macos}/src/MGLAttributionButton.m | 0 platform/{osx => macos}/src/MGLCompassCell.h | 0 platform/{osx => macos}/src/MGLCompassCell.m | 0 .../src/MGLMapView+IBAdditions.h | 0 .../src/MGLMapView+IBAdditions.m | 0 platform/{osx => macos}/src/MGLMapView.h | 0 platform/{osx => macos}/src/MGLMapView.mm | 6 +- .../{osx => macos}/src/MGLMapViewDelegate.h | 0 .../{osx => macos}/src/MGLMapView_Private.h | 0 platform/{osx => macos}/src/MGLOpenGLLayer.h | 0 platform/{osx => macos}/src/MGLOpenGLLayer.mm | 0 platform/{osx => macos}/src/Mapbox.h | 0 platform/{osx => macos}/test/Info.plist | 0 platform/node/README.md | 2 +- platform/node/bitrise.yml | 4 +- platform/osx/docs/doc-README.md | 9 --- platform/qt/README.md | 6 +- platform/qt/bitrise-qt4.yml | 4 +- platform/qt/bitrise-qt5.yml | 4 +- scripts/collect-coverage.sh | 2 +- 99 files changed, 191 insertions(+), 186 deletions(-) rename deps/ninja/{ninja-osx => ninja-macos} (100%) rename platform/android/{CONTRIBUTING_OSX.md => CONTRIBUTING_MACOS.md} (98%) rename platform/{osx => macos}/CHANGELOG.md (94%) rename platform/{osx => macos}/DEVELOPING.md (70%) rename platform/{osx => macos}/INSTALL.md (72%) rename platform/{osx => macos}/README.md (55%) rename platform/{osx => macos}/WorkspaceSettings.xcsettings (100%) rename platform/{osx => macos}/app/AppDelegate.h (100%) rename platform/{osx => macos}/app/AppDelegate.m (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon128x128.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon16x16.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon256x256-1.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon256x256.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon32x32-1.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon32x32.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon512x512-1.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/AppIcon512x512.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/icon-1.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/AppIcon.appiconset/icon.png (100%) rename platform/{osx => macos}/app/Assets.xcassets/Contents.json (100%) rename platform/{osx => macos}/app/Base.lproj/MainMenu.xib (100%) rename platform/{osx => macos}/app/Base.lproj/MapDocument.xib (100%) rename platform/{osx => macos}/app/Credits.rtf (100%) rename platform/{osx => macos}/app/DroppedPinAnnotation.h (100%) rename platform/{osx => macos}/app/DroppedPinAnnotation.m (100%) rename platform/{osx => macos}/app/Info.plist (100%) rename platform/{osx => macos}/app/LocationCoordinate2DTransformer.h (100%) rename platform/{osx => macos}/app/LocationCoordinate2DTransformer.m (100%) rename platform/{osx => macos}/app/MapDocument.h (100%) rename platform/{osx => macos}/app/MapDocument.m (100%) rename platform/{osx => macos}/app/OfflinePackNameValueTransformer.h (100%) rename platform/{osx => macos}/app/OfflinePackNameValueTransformer.m (100%) rename platform/{osx => macos}/app/TimeIntervalTransformer.h (100%) rename platform/{osx => macos}/app/TimeIntervalTransformer.m (100%) rename platform/{osx => macos}/app/main.m (100%) rename platform/{osx => macos}/bitrise.yml (93%) create mode 100644 platform/macos/docs/doc-README.md rename platform/{osx => macos}/docs/pod-README.md (59%) rename platform/{osx => macos}/jazzy.yml (100%) rename platform/{osx/osx.xcodeproj => macos/macos.xcodeproj}/project.pbxproj (98%) rename platform/{osx/osx.xcodeproj => macos/macos.xcodeproj}/project.xcworkspace/contents.xcworkspacedata (87%) rename platform/{osx/osx.xcodeproj => macos/macos.xcodeproj}/xcshareddata/xcschemes/CI.xcscheme (86%) rename platform/{osx/osx.xcodeproj => macos/macos.xcodeproj}/xcshareddata/xcschemes/dynamic.xcscheme (90%) rename platform/{osx/osx.xcodeproj/xcshareddata/xcschemes/osxapp.xcscheme => macos/macos.xcodeproj/xcshareddata/xcschemes/macosapp.xcscheme} (87%) rename platform/{osx/osx.xcworkspace => macos/macos.xcworkspace}/contents.xcworkspacedata (52%) rename platform/{osx/osx.xcworkspace => macos/macos.xcworkspace}/xcshareddata/xcdebugger/Breakpoints_v2.xcbkptlist (100%) rename platform/{osx/osx.xcworkspace => macos/macos.xcworkspace}/xcshareddata/xcschemes/mbgl-offline.xcscheme (88%) rename platform/{osx/osx.xcworkspace => macos/macos.xcworkspace}/xcshareddata/xcschemes/mbgl-render.xcscheme (88%) rename platform/{osx/osx.xcworkspace => macos/macos.xcworkspace}/xcshareddata/xcschemes/test.xcscheme (88%) rename platform/{osx => macos}/platform.gyp (96%) rename platform/{osx => macos}/screenshot.png (100%) rename platform/{osx => macos}/scripts/configure.sh (100%) rename platform/{osx => macos}/scripts/document.sh (67%) rename platform/{osx/scripts/osxtest.xcscheme => macos/scripts/macostest.xcscheme} (89%) rename platform/{osx => macos}/scripts/package.sh (82%) rename platform/{osx => macos}/sdk/Base.lproj/Localizable.strings (100%) rename platform/{osx => macos}/sdk/Base.lproj/MGLAnnotationCallout.xib (100%) rename platform/{osx => macos}/sdk/Info.plist (100%) rename platform/{osx => macos}/sdk/default_marker.pdf (100%) rename platform/{osx => macos}/sdk/mapbox.pdf (100%) rename platform/{osx => macos}/src/MGLAnnotationImage.h (100%) rename platform/{osx => macos}/src/MGLAnnotationImage.m (100%) rename platform/{osx => macos}/src/MGLAnnotationImage_Private.h (100%) rename platform/{osx => macos}/src/MGLAttributionButton.h (100%) rename platform/{osx => macos}/src/MGLAttributionButton.m (100%) rename platform/{osx => macos}/src/MGLCompassCell.h (100%) rename platform/{osx => macos}/src/MGLCompassCell.m (100%) rename platform/{osx => macos}/src/MGLMapView+IBAdditions.h (100%) rename platform/{osx => macos}/src/MGLMapView+IBAdditions.m (100%) rename platform/{osx => macos}/src/MGLMapView.h (100%) rename platform/{osx => macos}/src/MGLMapView.mm (99%) rename platform/{osx => macos}/src/MGLMapViewDelegate.h (100%) rename platform/{osx => macos}/src/MGLMapView_Private.h (100%) rename platform/{osx => macos}/src/MGLOpenGLLayer.h (100%) rename platform/{osx => macos}/src/MGLOpenGLLayer.mm (100%) rename platform/{osx => macos}/src/Mapbox.h (100%) rename platform/{osx => macos}/test/Info.plist (100%) delete mode 100644 platform/osx/docs/doc-README.md diff --git a/.gitignore b/.gitignore index 09216b63e14..16fd2451073 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,4 @@ xcuserdata /platform/ios/benchmark/assets/glyphs/DIN* /platform/ios/benchmark/assets/tiles/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v6 **/token -/platform/osx/osx.xcworkspace/xcshareddata/osx.xcscmblueprint +/platform/macos/macos.xcworkspace/xcshareddata/macos.xcscmblueprint diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py index 632686f3d66..f9b40af237a 100644 --- a/.ycm_extra_conf.py +++ b/.ycm_extra_conf.py @@ -37,7 +37,7 @@ compilation_database_folders = [ 'build/linux-x86_64/Release', - 'build/osx/Release', + 'build/macos/Release', ] subprocess.call(['make compdb'], shell=True) diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index a4405e6bafb..590ea977221 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -2,7 +2,7 @@ This document aims to outline at a high level the various parts that make up map # Repository structure -mapbox-gl-native uses a monolithic that houses both core C++ code and code that wraps the C++ core with SDKs for Android, iOS, OS X, Node.js, and Qt. A "monorepo" allows us to: +mapbox-gl-native uses a monolithic that houses both core C++ code and code that wraps the C++ core with SDKs for Android, iOS, macOS, Node.js, and Qt. A "monorepo" allows us to: * Make changes to the core API and SDKs simultaneously, ensuring no platform falls behind. * Ensure that core changes do not inadvertently break SDK tests. @@ -42,7 +42,7 @@ We track mason dependencies for a given platform in the file `platform/