Commit Graph

257 Commits

Author SHA1 Message Date
Ed Mackey 933f418b07 Tweak the way the prefix is added. 2015-11-15 14:16:11 -05:00
Ed Mackey 2e6b30cae2 Move logo to top of content, instead of top of nav. 2015-11-15 12:46:49 -05:00
Ed Mackey 48cb11e412 Remove some ASCII art. Not that I don't appreciate. 2015-11-15 11:35:48 -05:00
Ed Mackey c070bc7fb5 Main index 2015-11-14 22:40:49 -05:00
Ed Mackey 171777690c Add doc link icons. 2015-11-14 22:32:53 -05:00
Ed Mackey 15d217dbf8 Add Cesium prefix to certain things. 2015-11-14 21:42:17 -05:00
Ed Mackey 367b824751 Move source links. 2015-11-14 21:22:02 -05:00
Ed Mackey 791bd97a25 More doc styling. 2015-11-13 20:59:22 -05:00
Ed Mackey 2da3517792 Changing around some doc styles. 2015-11-13 16:28:57 -05:00
Matthew Amato 83e90ee78e Remove old build system and associated tools.
Replaced with gulp in #3106.
2015-10-22 17:02:35 -04:00
Matthew Amato 72dcba6670 Remove remnants of Chrome Frame
Fixes #3065
2015-10-13 19:58:09 -04:00
Ed Mackey 6d3521a64e Make Sandcastle tolerant of JSDoc's new static prefixes. 2015-05-28 13:00:58 -04:00
Matthew Amato c90aeb8628 Fix gallery images for dev-only Sandcastle demos. 2015-01-06 18:45:55 -05:00
Ed Mackey 624b3e6e59 Doc external links open in new windows. 2014-07-24 15:26:44 -04:00
Scott Hunter 268b67c9cd Remove old Jetty development server.
This has been replaced by server.js.
2014-07-09 10:10:23 -04:00
Scott Hunter 7ce235961a Document non-method modules as `@namespace`. Turn on function signatures for `@exports`. 2014-07-07 12:06:25 -04:00
Scott Hunter dee0b495e5 Fix regression where modules were prefixed with "module:" 2014-06-30 17:47:05 -04:00
Scott Hunter 92ea3b3618 Remove included Node.js binaries. Node is now required to be installed on the system when building.
Also run `npm install` before build steps that require npm modules.
2014-06-25 21:42:43 -04:00
Ed Mackey 9c4601d281 Tweak the font size of code elements in doc. Fix #1813. 2014-06-11 15:23:43 -04:00
Scott Hunter 019b208837 Include VERSION property in Cesium object. 2014-06-03 10:06:20 -04:00
Scott Hunter af99825952 Improve JSDoc output.
* Switch from the obsolete SyntaxHighlighter to Prism, to allow inline syntax highlighting
* Use syntax-highlighting for default values
* Fix generated HTML for `@deprecated`.
* Fix incorrect HTML escaping in code examples.
2014-05-29 17:21:49 -04:00
Scott Hunter f2896a2c32 Remove old version of JSDoc 2014-05-23 18:36:55 -04:00
Scott Hunter 97e2ae55e6 More work towards upgraded JSDoc 2014-05-23 18:36:27 -04:00
Scott Hunter 4782dc7a18 JSDoc upgrade work in progress 2014-05-23 16:25:54 -04:00
Matthew Amato 5c9de3c2bd sortRequires tweaks
Don't log an expected syntax error if the file imports no modules.
Exclude js files that should be ignored.
2014-05-14 22:27:16 -04:00
Kevin Ring a6ea16f64e Update from review. 2014-05-14 18:38:33 -04:00
Kevin Ring 33ed1ff51d Make sorting actually happen. 2014-05-14 18:09:36 -04:00
Kevin Ring 2a6c0d5270 Improved require sorting. 2014-05-14 15:13:39 -04:00
Kevin Ring a6d79fd3b3 Add sortRequires target. 2014-05-14 13:41:03 -04:00
Scott Hunter 994c45f540 In order to request content, we need an absolute URI. If the input URI is protocol-relative, use "http". 2014-04-30 10:56:10 -04:00
Patrick Cozzi 8c945f8421 Merge branch 'master' into gltf 2014-01-27 07:51:01 -05:00
Kristian Calhoun a5f4201786 Merge pull request #1341 from nobelium/jsdoc
Adds support for unqualified link to methods
2014-01-21 12:02:40 -08:00
Nobelium 7b57ee02bb jsdoc(bug fix)- added var keyword in function pretreat 2014-01-18 08:33:18 +00:00
Patrick Cozzi d9783e3289 Merge branch 'master' into gltf 2014-01-14 15:45:51 -05:00
Scott Hunter 1e0faea5b0 Fix Cesium.js generated file.
My recent changes to generate stubs caused the fileset for Cesium.js to be created too early, meaning that shader files could get left out if they were not present on disk before the build started.

Instead of the pathconvert hackery I was using before, I fixed our custom scriptdef tasks to work with file-based ResourceCollections instead of requiring a FileSet, so that we can use the <union> directly.
2014-01-07 16:28:58 -05:00
Patrick Cozzi 27d6a2a374 Merge matrixfunctions to gltf 2013-12-18 17:40:21 -05:00
Nobelium 569c3cd2ed Remove # before method names 2013-12-16 11:13:40 +00:00
Nobelium 23bb0d5aab adds support for unqualified link to methods 2013-12-16 10:52:17 +00:00
Dan Bagnell 0a495462b8 Merge branch 'master' into preprocess 2013-12-06 18:00:31 -05:00
Patrick Cozzi 7b5e51e7af Merge master to gltf 2013-11-28 08:29:52 -05:00
Ed Mackey 8818c35ae5 Rename all instances of cesium.agi.com to cesiumjs.org.
Cherry-picked from @kring's d0e34a7a.
2013-11-27 13:19:40 -05:00
Patrick Cozzi f1a5f4d3ca Fix MIME warnings in Firefox when using our test server 2013-11-26 12:06:45 -05:00
Dan Bagnell 7b2b20f440 Rename. 2013-11-22 15:58:16 -05:00
Scott Hunter ce6826e0c5 Clean up warnings in generated files. 2013-11-21 16:40:42 -05:00
Scott Hunter 62b0a30a65 Fix JSHint warnings. 2013-11-21 16:31:44 -05:00
Scott Hunter 93a311d076 Fix the stub process for running specs.
* Cesium.js now exports modules using the actual module name instead of rewriting the names to be identifiers.
* Stubs/map (misnamed) now provides path mappings.
* Cesium.js includes createTaskProcessorWorker because Specs need it.
* Use the require.js shim feature to require in the combined Cesium.
2013-11-21 15:49:24 -05:00
Dan Bagnell cb10e2d318 Run tests for combined/minified Cesium (mostly working). 2013-11-21 10:10:31 -05:00
Dan Bagnell 83f5bc9904 Generate AMD stubs to combined/minified Cesium. 2013-11-20 22:11:48 -05:00
Dan Bagnell 4adde0e970 Set default build option to be debug. Fix two unclosed debug regions. 2013-11-20 15:25:04 -05:00
Dan Bagnell 03256839f8 Conditional include instead of conditionally exclude code. 2013-11-20 15:25:03 -05:00
Dan Bagnell ec4607c32f Revert previous changes in favor of using requirejs pragmas. 2013-11-20 15:24:58 -05:00
Dan Bagnell f355a0612f Add preprocessing build target and script for file search/replace. 2013-11-20 15:24:57 -05:00
hpinkos 2409d98fea relocate cloc script 2013-11-08 15:41:05 -05:00
Scott Hunter 8ce00005a3 Update JSHint to 2.1.10 to match the version in the Eclipse plugin. 2013-10-29 23:07:32 -04:00
Greg Beatty a3f8c9bd13 more code cleanup 2013-09-04 11:01:54 -04:00
Greg Beatty 8a5597dac4 fixed jsHint error 2013-09-03 09:13:04 -04:00
Greg Beatty a99031c918 removed czm_ prefix from cesium glsl built-in files 2013-09-02 21:52:16 -04:00
Greg Beatty bc5002bcd0 code cleanup 2013-08-30 15:56:20 -04:00
Greg Beatty 8ed6aa417c Shader builtin functions/structs/constants broken into individual files. ShaderProgram.js now only concatenates builtins that are referenced from the particular shader being compiled. 2013-08-30 15:56:20 -04:00
Greg Beatty 0132100852 Clean up glsl->JS script 2013-08-30 15:55:50 -04:00
Greg Beatty 87ddf10e02 Shader builtin functions/structs/constants broken into individual files. ShaderProgram.js now only concatenates builtins that are referenced from the particular shader being compiled. 2013-08-30 15:55:49 -04:00
Matthew Amato fa2cccbaac Merge pull request #1012 from AnalyticalGraphicsInc/updateJSHintOptions
Convert JSHint settings to a .jshintrc file.
2013-08-05 11:28:07 -07:00
Scott Hunter a7b773befe Convert JSHint settings to a .jshintrc file.
The new version of the Eclipse JSHint plugin, 0.9.8, now stores settings in this more standard format.
2013-08-05 14:02:08 -04:00
Scott Hunter 4b8ed01895 Improve MIME type support in server.
Move MIME types to a text file to make it easier to manage.  Add proper MIME type for GeoJSON.
2013-08-02 15:19:13 -04:00
Scott Hunter 00a6dd68c6 Move global regex inside the loop so it gets reset each time. 2013-07-23 17:22:53 -04:00
Scott Hunter 5befc023c5 Make the module IDs required by the Cesium module relative.
This is consistent with the rest of the modules, and makes the entire source tree relocatable.
2013-07-10 16:26:47 -04:00
Scott Hunter 9832690185 Don't add "use strict" for all modules.
ThirdParty modules don't necessarily support it, so let each individual module control whether it's enabled.
2013-06-29 00:06:13 -04:00
Scott Hunter a594ce0605 Preserve "use strict" directive in combined and minified output. 2013-06-28 12:22:42 -04:00
Scott Hunter 8b7bf55520 Proxy/server fixes.
* Avoid null pointer exception when proxy URL has no host.
* Add better MIME types for several file extensions.
2013-06-10 11:43:23 -04:00
Scott Hunter 00dd5e7bfa Upgrade JSHint to 2.1.2.
Matches version included in the latest Eclipse-JSHint plugin.
2013-05-29 15:20:48 -04:00
kristiancalhoun e5382ab811 Fix embedded reference doc link targets. 2013-05-28 11:48:46 -04:00
Kristian Calhoun 8b68122d1c Merge pull request #791 from hpinkos/refdoc
open links not generated by jsdoc in new window
2013-05-24 10:33:18 -07:00
hpinkos 47db58689f open links not generated by jsdoc in new window 2013-05-24 09:09:54 -04:00
Kristian Calhoun 640978a9a7 Merge pull request #786 from hpinkos/refdoc
Embedded reference documentation styles.
2013-05-23 14:04:33 -07:00
hpinkos b88bd484d4 icons change color on hover 2013-05-23 15:45:01 -04:00
hpinkos b2e730a4a8 replaced angle quotes with icons 2013-05-23 14:49:05 -04:00
nobelium bcd2675cc2 changed link underline color 2013-05-23 23:21:26 +05:30
nobelium 2a650d9f96 added permalink to members 2013-05-23 10:24:00 +05:30
hpinkos f53bf13f5e Issue #61: modifications to styles 2013-05-22 14:47:19 -04:00
nobelium 21b13cebf8 added css 2013-05-22 09:11:40 +05:30
nobelium 42a9aab97f added permalink 2013-05-22 09:11:16 +05:30
nobelium 5e1e2b499f link opens in new tab and styled 2013-05-10 08:59:13 +05:30
nobelium 4bd0dd112d added source link to doc 2013-05-10 00:52:47 +05:30
nobelium bef8222073 Merge branch 'master' of github.com:AnalyticalGraphicsInc/cesium into jsdoc 2013-05-04 20:31:35 +05:30
nobelium 11b2465166 partial solution for #718 2013-05-04 20:31:03 +05:30
Matthew Amato 48afb5eab7 Normalize line endings 2013-05-03 17:01:34 -04:00
kristiancalhoun 64160800fd Anticipate having multiple demo links for some items.
Also ensures demo links are displayed for any data type.
2013-04-01 17:23:10 -04:00
kristiancalhoun 5ec5a5bf21 Added custom @demo tag for linking to Sandcastle demos. 2013-04-01 16:59:26 -04:00
Matthew Amato f553e098e7 Merge pull request #595 from AnalyticalGraphicsInc/issue459
Document parameters and return values for GLSL functions.
2013-03-26 10:25:21 -07:00
kristiancalhoun b1039ba6e3 Document parameters and return values for GLSL functions. 2013-03-26 11:39:46 -04:00
kristiancalhoun 89e6048533 Hide GLSL in default documentation. 2013-03-26 11:15:27 -04:00
Scott Hunter 8cfaa6fadf Allow multi-line strings in JSHint options. 2013-03-25 11:58:52 -04:00
Scott Hunter 8127f64208 Fix warnings in newer JSHint, and improve variable names. 2013-03-21 16:33:16 -04:00
Scott Hunter 5cba5fa262 Build speed improvements.
Refactor build tasks to use shared functionality for iterating files matched by filesets, and for writing content to files.  Use a state file to track whether comments have been removed from shader source.
2013-03-18 17:29:27 -04:00
Scott Hunter 8d80b7cba8 Fix Dojo build process by including EnvJS while running the build, so that browser globals will be available. 2013-02-25 16:26:40 -05:00
Scott Hunter b2ae467eeb Run JSHint on the scripts in Sandcastle examples too.
This also builds the JSHint options for Sandcastle as part of the build process so that they stay in sync with the Eclipse JSHint settings.
2013-02-14 15:12:40 -05:00
Scott Hunter 902df2566f Add an Ant task that runs JSHint.
Settings are read from the Eclipse JSHint plugin file so they will always be in sync.
2013-02-13 21:26:47 -05:00
Scott Hunter 6c29575da5 Remove unnecessary copy of Ant documentation, saving 30 megs. 2013-02-13 21:22:46 -05:00
Ed Mackey 88514f3d89 Added color swaths to the documentation, and fixed some copy/paste errors. 2013-01-09 16:09:16 -05:00
Scott Hunter add6d9e6a5 ThirdParty library consistency.
Make the files match their upstream form as closely as possible.  We should not be aggressively rewriting and reformatting our third-party libraries to match our own coding standards, because it makes it much harder to diff against the original when trying to upgrade.

Also adjust the licensing comments to:
* be correctly preserved in minified output by both r.js (UglifyJS) and Dojo (Closure Compiler)
* clearly indicate the names and URLs of the components each license applies to.
2013-01-03 18:04:08 -05:00
Scott Hunter 806c01aa9c Upgrade RequireJS to 2.1.2, Almond to 0.2.3.
Minor changes along the way: any comments containing "(c)" or "copyright" are now assumed to be copyright comments and preserved in the minified output, so I changed a few comments that were unintentionally treated that way.  The build now copies the RequireJS optimized worker layer files into the Dojo-built output folder when building CesiumViewer, to reduce the modules requested by RequireJS inside the web worker to 1.  The glslToJavaScript task no longer checks file modification times, so that changing the minification setting now actually has an effect without a clean.
2013-01-03 11:07:39 -05:00
Ed Mackey a9d7a6cd94 Add CSS rules for printing the documentation. 2012-12-14 22:09:44 -05:00
Scott Hunter 145a112ff0 Rebuild with Java 6 instead of 7. 2012-12-01 15:43:43 -05:00
Scott Hunter 87f57d0a90 Send Date header on all responses like the HTTP RFC requires. 2012-12-01 15:28:14 -05:00
Kristian Calhoun 9959039ca2 Link Cesium logo to website. Remove source|demo links. 2012-11-08 18:21:28 -05:00
Kristian Calhoun 8e73c807fd Add Cesium logo and change background to match new website. 2012-11-06 21:20:47 -05:00
Scott Hunter 19de20a8fd Replace all non-alphanumerics with _ in identifiers when writing Cesium.js. 2012-11-04 18:35:59 -05:00
Scott Hunter 10b5b90d80 Fix whitespace in jai-imageio-core license. 2012-10-23 16:12:09 -04:00
Scott Hunter 7a4437b72e Fix formatting. 2012-10-23 16:09:13 -04:00
Scott Hunter 49200e968c Proxy didn't exist until 2012. 2012-10-23 16:07:31 -04:00
Scott Hunter a5d128d7c1 Add LICENSE and README for the Tools\proxy project.
Switch the version of jai-imageio to a fork that removes all non-BSD-style licensed code, which we don't need, to simplify licensing.
2012-10-23 16:05:39 -04:00
Scott Hunter 89565d8dd8 Merge remote-tracking branch 'origin/master' into imagery_layers
Conflicts:
	CHANGES.md
2012-09-28 15:09:09 -04:00
Scott Hunter f50c3a1b61 Make the improvements in #269. Also clean up build.
I am sick of trying to edit JavaScript inside CDATA blocks in XML, so I pulled out the code for our custom tasks into actual JS file so I can run the formatter and JSHint, etc.  Also fix other mistakes along the way, specifically, shader comments were deleted out of the JS file in all cases, where the intent was to only delete them when running a minify.
2012-09-26 17:19:20 -04:00
Scott Hunter 3f44d87288 Merge branch 'master' into imagery_layers 2012-09-14 10:17:23 -04:00
Ed Mackey 0a375a22b6 Make Sandcastle documentation searches case-insensitive.
Clients must rebuild their docs after merging this.
2012-09-13 13:54:13 -04:00
Kevin Ring b410ee4364 Merge remote-tracking branch 'origin/master' into imagery_layers
Conflicts:
	Tools/proxy/.classpath
	Tools/proxy/build.xml
	Tools/proxy/proxy.jar
	Tools/proxy/src/com/agi/ServerTask.java
	build.xml
2012-08-16 23:45:49 -04:00
Scott Hunter 7c7ad14a1d Proxy refactoring to support other handlers in the future.
Also add an option to listen on all addresses instead of just localhost.  Add an Eclipse project for the proxy for easier development.
2012-08-14 15:55:44 -04:00
Scott Hunter c02b4044ae Merge remote-tracking branch 'origin/master' into imagery_layers
Conflicts:
	Examples/Skeleton/Skeleton.js
	Source/Scene/CentralBody.js
	Source/Widgets/Dojo/CesiumWidget.js
2012-08-03 15:07:35 -04:00
kristiancalhoun 7f00126696 Dynamically update menu links to maintain current filter. 2012-08-01 14:03:05 -04:00
kristiancalhoun a28dfa968a Remove cookie usage so changing the filter type works locally. 2012-07-31 14:56:30 -04:00
Scott Hunter baa2722649 Optimize TIFF to PNG conversion.
Get rid of at least two source image copies by directly reading and writing to the underlying databuffers.
2012-07-26 14:37:17 -04:00
Scott Hunter e1fc729ea2 Refactor and clean up terrain TIFF to PNG proxy.
Rename to TerrainTranscoder, relocate to /terrain.
Factor out common code between the terrain transcoder and the regular proxy handler.
Link to the ant.jar from tools instead of having a separate copy.
2012-07-13 17:01:38 -04:00
Kevin Ring c1fc4c061d Moving closer to actually rendering terrain. 2012-07-05 18:05:26 -04:00
Scott Hunter 09218bf7b7 Add Dojo build process for CesiumViewer.
Also add profile.js and package.json files for the Cesium packages.
2012-06-29 13:31:02 -04:00
kristiancalhoun 779e40374a Link return types and static classes. 2012-06-28 22:17:30 -04:00
kristiancalhoun 6bd9d16ede Clear filter when switching between all/js/glsl.
Small tweaks - missing semicolons, etc.
2012-06-27 14:12:29 -04:00
kristiancalhoun 6c516eae68 Removed @function tag changes, fixed @enumeration tag. 2012-06-26 13:32:34 -04:00
kristiancalhoun 24e427f707 Properly document standalone functions using @function. 2012-06-22 17:08:46 -04:00
Scott Hunter d326bc4f0c Use a nodejs binary that doesn't link against libssl, since we don't need it. 2012-06-20 15:48:46 -04:00
Scott Hunter c8bad8bf8e Default value for upstreamProxyPort should be null. 2012-05-31 15:19:32 -04:00
kristiancalhoun 0bd9f903c9 Initial commit of upgraded jsdoc
for testing purposes.
2012-05-30 18:00:12 -04:00
Scott Hunter 927d0c0a9f Add upstream proxy configuration to the local server proxy.
Based on pull request #45 from mortac8/master@906075f83c
2012-05-30 10:30:38 -04:00
Ed Mackey 8c112459e9 Made the documentation detect when it's embedded in an iframe and offer a popout button. Also added some navigation. 2012-05-22 22:35:35 -04:00
Ed Mackey 29628f324b Redo the documentation main menu to use columns. 2012-05-22 15:37:31 -04:00
Ed Mackey e457df526e Add some padding to the bottom of the doc template, so that links with anchors scroll correctly. 2012-05-22 14:20:26 -04:00
Ed Mackey ce632f9a5e Upgrade the types.txt file to have a lot more information about member fields and URLs, so the Sandcastle documentation can be more inclusive. 2012-05-22 12:32:50 -04:00
Scott Hunter 72763e167e Allow wildcards in allowedHostList for proxy.
Bing tiles are hosted on a different server than the one specified in the file,
so allow *.virtualearth.net.
2012-05-21 16:32:14 -04:00
kristiancalhoun f87632294a Minor jsdoc change. 2012-05-11 16:54:42 -04:00
kristiancalhoun 493a1f7d5d Include latest jsdoc modification.
JsDoc now outputs a JSON file containing all types listed in the
documentation.
2012-05-11 15:47:50 -04:00
Scott Hunter bdbc061424 Upgrade NodeJS to 0.6.17. 2012-05-07 15:41:57 -04:00
Scott Hunter c5032f3665 gitignore patterns should start with a leading slash so they only match files/directories in their own directory and not subdirectories. 2012-05-02 12:57:42 -04:00
Scott Hunter ed8bb15994 Rewrite Location: headers in the proxy so that the redirected request passes through the proxy as well. 2012-05-02 10:45:21 -04:00
Scott Hunter 0651d91de1 Use a proxy object instead of just passing a proxy url string, to allow other possibilities for proxying resource requests.
Also properly handle encoded proxy URLs.
2012-05-01 16:45:16 -04:00
Scott Hunter ed34c3820b Update to RequireJS 1.0.8, which includes UglifyJS 1.2.6 by default, meaning we don't need our own copy, and we don't the special Cesium.build.js to replace the version used, so we can just run r.js directly from Ant. 2012-04-26 16:04:05 -04:00
Scott Hunter 2942cfaed3 Add an Ant task that runs a local Jetty-based HTTP server, to serve up tests, documentation, and examples. Also incorporates a proxy for use with tile providers that don't support CORS yet. 2012-04-26 11:30:08 -04:00
Scott Hunter c2105b7e72 Reorganize project. Move Cesium up one level, so now the root of the git repository is the root of the source tree, and the root of the Eclipse project. 2012-04-25 10:55:13 -04:00
Patrick Cozzi 40a1694cee Added default target to build 2012-04-24 14:16:33 -04:00
Scott Hunter 39a6fdb92a Move UglifyJS up a directory in Tools 2012-04-19 15:41:10 -04:00
Scott Hunter f24f2858a2 Update Mac NodeJS to 0.6.15 2012-04-19 15:41:04 -04:00
Scott Hunter 6ad4d720ed Update Windows NodeJS to 0.6.15 2012-04-19 15:40:56 -04:00