Commit Graph

12208 Commits

Author SHA1 Message Date
Tom Payne
13a2848665 Fix build/src/external/src/types.js dependency
The dependencies for build/src/external/src/types.js were wrong, which
meant that build/src/external/src/types.js would always be rebuilt,
which meant that almost everything else would be rebuilt too.
2013-03-27 17:17:04 +01:00
Tom Payne
cbe4d7bd84 Merge pull request #441 from twpayne/dont-install-phantomjs-on-windows
Do not install PhamtomJS on Windows
2013-03-27 08:56:13 -07:00
Tom Payne
8c5b778595 Don't attempt to install PhantomJS on Windows
Instead, assume that phantomjs.exe is already in the user's path. It can
also be overridden on the build.py command line:

  build.py PHANTOMJS=path/to/phantomjs

or with an environment variable:

  set PHANTOMJS=path/to/phantomjs
  build.py
2013-03-27 16:44:44 +01:00
Tom Payne
6b01ff9327 Correct preload example tags, thanks @fredj 2013-03-27 15:10:34 +01:00
Tom Payne
66c6a8a3e0 Make preload a number of levels instead of a boolean 2013-03-27 14:34:29 +01:00
Tom Payne
421135b3e7 Set preload appropriately in examples 2013-03-27 14:34:29 +01:00
Tom Payne
5077413c34 Add preload example 2013-03-27 14:34:29 +01:00
Tom Payne
494d61250e Make tile pre-loading a per-layer option 2013-03-27 14:34:29 +01:00
Tom Payne
1d22d2fdde Tune tile priority functions 2013-03-27 14:34:29 +01:00
Tom Payne
5e8b0de66d Use tile texture queue 2013-03-27 14:34:29 +01:00
Tom Payne
6221680b0b Add tile texture queue 2013-03-27 14:34:29 +01:00
Tom Payne
00b862de10 Store focus in frame state 2013-03-27 14:34:29 +01:00
Tom Payne
96912c271d Add optional per-tile callback to manageTilePyramid 2013-03-27 14:34:28 +01:00
Tom Payne
3e4f1773bc Replace isHeap with assertValid 2013-03-27 14:34:28 +01:00
Tom Payne
27f9e83780 Refactor ol.TileQueue to extend ol.structs.PriorityQueue 2013-03-27 14:34:28 +01:00
Tom Payne
f12f5ccc67 Factor out core elements of ol.TileQueue into ol.structs.PriorityQueue 2013-03-27 14:34:28 +01:00
Éric Lemoine
f62b8a1bfe Merge pull request #383 from elemoine/pinch-direction
One direction pinch zoom
2013-03-27 06:14:42 -07:00
Éric Lemoine
3c03c8beab Increase touch zoom anim duration 2013-03-27 11:52:42 +01:00
Éric Lemoine
de1575e457 One direction pinch zoom 2013-03-27 11:52:42 +01:00
Éric Lemoine
b753e6b6c2 Merge pull request #435 from elemoine/coordinate-z
Use @expose for Coordinate.z
2013-03-26 10:18:55 -07:00
Éric Lemoine
0b62c92cb3 Use @expose for Coordinate.z
By annotating the z property with @expose the compiler does not try to optimize that property in any way. See https://developers.google.com/closure/compiler/docs/js-for-compiler. The doc says that @expose should never be used in library code, but that's the only way I found for our case.
2013-03-26 17:05:54 +01:00
Tom Payne
588e0c1cdc Merge pull request #434 from twpayne/build-clean-ups
Build clean-ups
2013-03-25 05:01:04 -07:00
Tom Payne
c22b971b45 Sort .gitignore 2013-03-25 12:33:27 +01:00
Tom Payne
116370f7f1 Only shallow clone jsdoc
glsl-unit is not shallow cloned because code.google.com returns a 500
Internal Server Error.
2013-03-25 12:33:27 +01:00
Tom Payne
e196a9e68e Clone jsdoc into build/jsdoc 2013-03-25 12:28:04 +01:00
Tom Payne
59f5484cde Rename hostexamples to host-examples 2013-03-25 12:25:37 +01:00
Tom Payne
5a4acc1262 Merge pull request #429 from twpayne/dont-shrink-canvas
Don't shrink canvas
2013-03-25 04:11:35 -07:00
Tom Payne
4e7591394d Merge pull request #433 from twpayne/clean-up-xyz-tests
Move ol.tilegrid.XYZ tests to their proper place
2013-03-25 04:04:48 -07:00
Tom Payne
7a243b310f Move ol.tilegrid.XYZ tests to their proper place 2013-03-25 12:03:13 +01:00
Tom Payne
62877fdf02 Reuse ol.Size object 2013-03-25 11:54:50 +01:00
Tom Payne
4e883b7099 Don't shrink canvas 2013-03-25 11:54:50 +01:00
Tom Payne
b396673932 Fix typo in ol.TileRange.containsTileRange 2013-03-25 11:54:50 +01:00
Tom Payne
6cfe918501 Merge pull request #428 from twpayne/gc-optimizations
GC optimizations
2013-03-25 03:54:15 -07:00
Frédéric Junod
5c7905178c Merge pull request #432 from fredj/uri-url
Rename TileJSONOptions.uri to TileJSONOptions.url
2013-03-25 03:46:26 -07:00
Tom Payne
9906c518a7 Rename useTileZXY to useTile 2013-03-25 11:45:20 +01:00
Tom Payne
658b919d20 Merge pull request #425 from twpayne/glsl-unit
Use glsl-unit for WebGL shaders
2013-03-25 03:42:27 -07:00
Tom Payne
c72fc4476c Merge pull request #431 from twpayne/rename-anchoredelement-to-overlay
Rename AnchoredElement to Overlay
2013-03-25 03:36:57 -07:00
Tom Payne
f7cc8fa738 Remove ol.TileRange.clone 2013-03-25 11:33:06 +01:00
Frederic Junod
415e7a6dd4 Rename TileJSONOptions.uri to TileJSONOptions.url 2013-03-25 10:17:37 +01:00
Tom Payne
65e6ed3485 Rename getTileZXY to getTile 2013-03-25 10:10:03 +01:00
ahocevar
560f645384 Merge pull request #420 from ahocevar/icon-defer
Don't create tile if rendering needs to be deferred. r=@bartvde
2013-03-25 02:04:50 -07:00
Tom Payne
69d06a6e18 Add comment about automatically generated files 2013-03-25 10:04:32 +01:00
Tom Payne
096d48b4e8 Rename AnchoredElement to Overlay 2013-03-24 20:30:12 +01:00
Tom Payne
25e1211621 Merge pull request #430 from twpayne/fix-bing-maps-scope
Fix use of this in ol.source.BingMaps
2013-03-24 11:52:50 -07:00
Tom Payne
e62178759c Fix use of this in ol.source.BingMaps 2013-03-24 19:26:34 +01:00
Tom Payne
685f2b6f5f Make time-sensitive test less sensitive 2013-03-24 16:14:04 +01:00
Tom Payne
3a4ef83e79 Tidy up ol.webgl namespace 2013-03-24 15:51:09 +01:00
Tom Payne
dfb631a08f Replace getTile with getTileZXY
This massively reduces the number of temporary ol.TileCoord objects.

Previously an ol.TileCoord object was generated for every potentially
visible tile at the current zoom level and lower, every frame.  This
commit eliminates all of those.  Now new ol.TileCoord objects are only
allocated when a new tile is created.
2013-03-24 15:24:49 +01:00
Tom Payne
247fc8f031 Make reverseIntersection argument mandatory 2013-03-24 13:59:35 +01:00
Tom Payne
aeeaa79393 Avoid creating ol.Coordinate objects to call getTileCoordForCoordAndResolution_ 2013-03-24 13:56:23 +01:00