Skip to content

Commit

Permalink
Merge branch 'master' into pixelRatioFrustum
Browse files Browse the repository at this point in the history
  • Loading branch information
IanLilleyT committed Oct 14, 2019
2 parents bf33577 + 2147971 commit 11e4cfa
Show file tree
Hide file tree
Showing 1,545 changed files with 19,432 additions and 36,455 deletions.
5 changes: 3 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ install:
- npm install

test_script:
- npm --silent run build
- npm --silent run test -- --browsers IE --webgl-stub --suppressPassed
- npm --silent run minifyRelease
- npm --silent run build-specs
- npm --silent run test -- --browsers IE --webgl-stub --release --suppressPassed

# Don't actually build.
build: off
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ Build/**
Documentation/**
Source/Shaders/**
Source/ThirdParty/**
Source/Workers/cesiumWorkerBootstrapper.js
Source/Workers/**
!Source/Workers/transferTypedArrayTest.js
ThirdParty/**
Tools/**
Apps/Sandcastle/jsHintOptions.js
Apps/Sandcastle/gallery/gallery-index.js
Source/Core/buildModuleUrl.js
Specs/spec-main.js
15 changes: 14 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,18 @@
],
"rules": {
"no-unused-vars": ["error", {"vars": "all", "args": "none"}]
}
},
"overrides": [
{
"files": [
"index.js",
"server.js",
"gulpfile.js",
"Source/Workers/transferTypedArrayTest.js"
],
"parserOptions": {
"sourceType": "script"
}
}
]
}
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Thumbs.db

/Source/Cesium.js

/Source/Shaders/*.js
/Source/Shaders/*/*.js
/Source/Shaders/*/*/*.js
/Source/ThirdParty/Shaders/*.js

/Specs/SpecList.js
/Source/Shaders/**/*.js
/Source/ThirdParty/Shaders/**/*.js
/Source/Workers/**
!/Source/Workers/cesiumWorkerBootstrapper.js
!/Source/Workers/transferTypedArrayTest.js

/node_modules
npm-debug.log
Expand Down
4 changes: 2 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
/.travis.yml
/.vscode
/Apps
/Build/Apps
/Build/Coverage
/Build/minifyShaders.state
/Build/Stubs
/Build/Documentation
/Build/Specs
/Cesium-*.zip
/Documentation
/favicon.ico
Expand All @@ -24,7 +25,6 @@
/launches
/server.js
/Source/copyrightHeader.js
/Source/main.js
/Specs
/ThirdParty
/Tools
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ script:
- npm --silent run deploy-s3 -- -b cesium-dev -d cesium/$TRAVIS_BRANCH --confirm -c 'no-cache'
- npm --silent run deploy-status -- --status success --message Deployed

- npm --silent run build-specs
- npm --silent run test -- --browsers ChromeCI --failTaskOnError --webgl-stub --release --suppressPassed

# Various Node.js smoke-screen tests
Expand Down
55 changes: 21 additions & 34 deletions Apps/CesiumViewer/CesiumViewer.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,21 @@
define([
'Cesium/Core/Cartesian3',
'Cesium/Core/createWorldTerrain',
'Cesium/Core/defined',
'Cesium/Core/formatError',
'Cesium/Core/Math',
'Cesium/Core/objectToQuery',
'Cesium/Core/queryToObject',
'Cesium/DataSources/CzmlDataSource',
'Cesium/DataSources/GeoJsonDataSource',
'Cesium/DataSources/KmlDataSource',
'Cesium/Scene/TileMapServiceImageryProvider',
'Cesium/Widgets/Viewer/Viewer',
'Cesium/Widgets/Viewer/viewerCesiumInspectorMixin',
'Cesium/Widgets/Viewer/viewerDragDropMixin',
'domReady!'
], function(
Cartesian3,
createWorldTerrain,
defined,
formatError,
CesiumMath,
objectToQuery,
queryToObject,
CzmlDataSource,
GeoJsonDataSource,
KmlDataSource,
TileMapServiceImageryProvider,
Viewer,
viewerCesiumInspectorMixin,
viewerDragDropMixin) {
'use strict';

import {
Cartesian3,
createWorldTerrain,
defined,
formatError,
Math as CesiumMath,
objectToQuery,
queryToObject,
CzmlDataSource,
GeoJsonDataSource,
KmlDataSource,
TileMapServiceImageryProvider,
Viewer,
viewerCesiumInspectorMixin,
viewerDragDropMixin
} from '../../Source/Cesium.js';

function main() {
/*
Options parsed from query string:
source=url The URL of a CZML/GeoJSON/KML data source to load at startup.
Expand Down Expand Up @@ -218,4 +203,6 @@ define([
}

loadingIndicator.style.display = 'none';
});
}

main();
11 changes: 0 additions & 11 deletions Apps/CesiumViewer/CesiumViewerStartup.js

This file was deleted.

2 changes: 1 addition & 1 deletion Apps/CesiumViewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<title>Cesium Viewer</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="CesiumViewer.css" media="screen">
<script data-main="CesiumViewerStartup" src="../../ThirdParty/requirejs-2.1.20/require.js"></script>
</head>
<body style="background: #000;">
<div id="cesiumContainer" class="fullWindow"></div>
<div id="loadingIndicator" class="loadingIndicator"></div>
<script src="CesiumViewer.js" type="module"></script>
</body>
</html>
20 changes: 19 additions & 1 deletion Apps/Sandcastle/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,34 @@
{
"extends": "../../.eslintrc.json",
"env": {
"amd": true
},
"globals": {
"JSON": true,
"require": true,
"console": true,
"Sandcastle": true,
"Cesium": true
},
"parserOptions": {
"ecmaVersion": 5,
"sourceType": "script"
},
"rules": {
"no-alert": ["off"],
"no-implicit-globals": "off",
"no-unused-vars": ["off"],
"quotes": "off"
}
},
"overrides": [
{
"files": [
"load-cesium-es6.js"
],
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module"
}
}
]
}
Loading

0 comments on commit 11e4cfa

Please sign in to comment.