Commit Graph

36792 Commits

Author SHA1 Message Date
Patrick Cozzi 783c3a3382 Added Sandbox example for Stamen maps. Added custom credit string to OpenStreetMapTileProvider. 2012-05-04 19:08:16 -04:00
Dan Bagnell cfb2b186e4 Merge branch 'master' into imagery
Conflicts:
	Source/Scene/CentralBody.js
2012-05-04 17:47:01 -04:00
Dan Bagnell 0c4b89c380 Make the provider's height default to 0 for the composite tile provider and remove the logo if the function getLogo is undefined. 2012-05-04 17:42:26 -04:00
Dan Bagnell c90e9dcf07 Fix popping effect when morphing to 3D. 2012-05-04 17:14:55 -04:00
Matthew Amato 36fac51ef0 Merge branch 'master' into viewer 2012-05-04 15:03:19 -04:00
Patrick Cozzi c1c28f54bc Merge pull request #12 from AnalyticalGraphicsInc/ISO8601
Complete re-implementation of JulianDate.parseIso8601
2012-05-04 11:18:20 -07:00
Matthew Amato d4aed3a48b More clean-up to JulianDate
1. Better detect other forms of invalid input.
2. Fix a few cases where valid input is handleded incorrectly.
3. Additional tests for both of the above.
2012-05-04 13:46:54 -04:00
Scott Hunter 592e31e399 Fix formatting. 2012-05-04 11:26:57 -04:00
Matthew Amato 2c598523d4 Additional cleanup for JulianDate.fromIso8601. 2012-05-04 00:50:18 -04:00
Matthew Amato 673d9910ee Merge branch 'master' into viewer 2012-05-03 19:51:27 -04:00
Matthew Amato 84a50d215b Merge remote-tracking branch 'origin/master' into ISO8601 2012-05-03 19:44:26 -04:00
Matthew Amato 5eb8e6a39b Merge branch 'ISO8601' of github.com:AnalyticalGraphicsInc/cesium into ISO8601
Conflicts:
	Source/Core/JulianDate.js
2012-05-03 19:43:11 -04:00
Matthew Amato ffa88cb8ab Complete re-implementation of JulianDate.fromIso8601
1. Takes into account all formats defined in the ISO8601 standard, including those not supported by Date.parse.
2. Supports leap seconds and sub-millisecond times.
3. Break out isLeapYear into a seperate helper function.
4. Remove toYearFraction as it has problems and is unused.
5. Write a bunch of new tests.

This does NOT add support for more than 4 digit years, as that is a variant of the standard that requires an agreed upon number of digits that we have not settled on yet.  This means that we can't yet support times before 1 B.C. or after 9999 AD.  This will be added in the future.
2012-05-03 19:42:01 -04:00
Matthew Amato a2f7920fd1 Complete re-implementation of JulianDate.fromIso8601
1. Takes into account all formats defined in the ISO8601 standard, including those not supported by Date.parse.
2. Supports leap seconds and sub-millisecond times.
3. Break out isLeapYear into a seperate helper function.
4. Remove toYearFraction as it has problems and is unused.
5. Write a bunch of new tests.

This does NOT add support for more than 4 digit years, as that is a variant of the standard that requires an agreed upon number of digits that we have not settled on yet.  This means that we can't yet support times before 1 B.C. or after 9999 AD.  This will be added in the future.
2012-05-03 19:25:37 -04:00
Scott Hunter 5dc6c31273 Add tests for Queue. 2012-05-03 18:04:59 -04:00
kristiancalhoun 77115defbc More doc fixes.
destroy() returns undefined, not null.
2012-05-03 17:55:37 -04:00
kristiancalhoun 8646b0ea37 Merge branch 'master' of github.com:AnalyticalGraphicsInc/cesium 2012-05-03 17:42:53 -04:00
kristiancalhoun ce9f4b070c Fixed doc bug.
destroy() returns undefined, not null.
2012-05-03 17:41:50 -04:00
Scott Hunter 03bdf7d31d We don't need this if Windows users set core.autocrlf=true which we state in the Contributor's Guide. 2012-05-03 17:18:03 -04:00
Scott Hunter f816c279ca Replace ThirdParty/Queue with an implementation in Core with more features. Use Queues in CentralBody instead of arrays. 2012-05-03 16:56:44 -04:00
Scott Hunter f02ac4e7cc Prevent event handler tests from hijacking mouse input. 2012-05-03 16:56:43 -04:00
Ed Mackey 39ab39c930 Cleanup README.md 2012-05-03 16:34:00 -04:00
Ed Mackey 7bb25f161f Update README.md with CZML and Wiki links. 2012-05-03 16:31:47 -04:00
Matthew Amato b17f60a87a Fix problems with last submit. 2012-05-03 09:29:33 -04:00
Patrick Cozzi a607cb7dd4 Merge pull request #5 from AnalyticalGraphicsInc/macos
More fixes for MacOS X 10.6
2012-05-03 03:57:08 -07:00
kristiancalhoun ab4e62b799 Improved test coverage.
for Cache, Cartesian2, Cartesian4, Matrix2, and Matrix4 types.
2012-05-02 19:57:05 -04:00
Dan Bagnell c0a141aa41 Fix out of bounds error in the composite tile provider. 2012-05-02 17:22:39 -04:00
Dan Bagnell ca31c05b0a Merge branch 'master' into imagery
Conflicts:
	Source/Scene/CentralBody.js
2012-05-02 17:17:45 -04:00
Dan Bagnell ef164f935f The composite tile provider returns the appropriate logo depending on which provider is being used. 2012-05-02 16:04:14 -04:00
Matthew Amato 34202ec454 Use ./ in "define" statement where applicable. 2012-05-02 15:43:11 -04:00
Matthew Amato faecdf33b3 Redo change to isEqualEpsilon that I overwrote during merge from master. 2012-05-02 15:39:36 -04:00
Matthew Amato 5b33b8252a Merge branch 'master' into viewer
Conflicts:
	Specs/addDefaultMatchers.js
2012-05-02 15:35:24 -04:00
Matthew Amato 9fdc4be1d4 Ongoing CZML integration work, none of this is remotely ready for review. 2012-05-02 15:29:00 -04:00
Scott Hunter 00b62d44e4 fix line endings for files I added. 2012-05-02 12:59:44 -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
Kevin Ring f2439fd428 Add comment describing why the #ifdef SHOW_NIGHT is needed. 2012-05-01 18:29:40 -04:00
Scott Hunter cd70595aef Handle CentralBody.logoOffset changing. 2012-05-01 17:52:31 -04:00
Scott Hunter 4457439a11 set default Eclipse settings to use LF and UTF-8 for new files.
Fix existing files that had CRLFs.
2012-05-01 17:02:13 -04:00
Scott Hunter 6b42271c49 fix use of smart quotes 2012-05-01 16:58:33 -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
Dan Bagnell 950734243a Merge branch 'master' into imagery 2012-05-01 16:39:46 -04:00
Dan Bagnell c8713bd3be Reset tile fail counts when starting to retry fetching the images. 2012-05-01 16:36:44 -04:00
Scott Hunter 1d929fc0c1 Fix typo 2012-05-01 16:33:56 -04:00
Dan Bagnell dd980f3038 Add property to CentralBody for a time interval to retry loading tiles after the maximum number of tiles have failed. 2012-05-01 15:36:58 -04:00
Scott Hunter eca36f3cf6 Replace CentralBody.logoOffsetX and logoOffsetY with CentralBody.logoOffset. 2012-05-01 15:02:14 -04:00
Dan Bagnell fa1ac911eb Add CompositeTileProvider example to the sandbox. 2012-05-01 14:25:38 -04:00
Kevin Ring 541418bc38 More fixes for MacOS X 10.6
Added #IFDEF SHOW_NIGHT around the declaration of u_nightTexture and
nightColor().  These should be optimized out automatically since they're
only used when SHOW_NIGHT is set, but an apparent bug on this OS prevents
that from happening.
2012-05-01 13:42:22 -04:00
Scott Hunter 0f00408069 Move Cesium copyright comment to the top of the combined file. 2012-05-01 11:43:55 -04:00
Matthew Amato d3927bda5f Prefer use of typeof over hasOwnProperty when parsing CZXML, also generate an ID for a CZML packet if one is not provided. 2012-04-30 19:20:43 -04:00