Commit Graph

5855 Commits

Author SHA1 Message Date
Tim Schaub
a2c556f5c7 Updating release script to work with new structure
After the website infrastructure changes (cadb20c18a), the release script now puts stuff in /osgeo/openlayers/sites/openlayers.org (instead of /osgeo/openlayers/docs).
2012-05-10 16:03:38 -06:00
Éric Lemoine
be6c90ed49 Merge branch '2.12' 2012-05-10 15:54:54 +02:00
Éric Lemoine
293ad9b32a Merge pull request #460 from elemoine/460
Fixing issue of calculating maxResolution of layer again
2012-05-10 06:44:14 -07:00
Éric Lemoine
4ad6bacc5d when calculating maxResolution from maxExtent and tileSize we dont want to the actual tile size for single layers 2012-05-10 15:42:59 +02:00
Tim Schaub
cadb20c18a Use clones of git repos for site building.
The svn interface to our repos on git is not behaving well.  This is resulting in the website, examples, and api docs not being updated when they should (`svn up` is not doing what it should).

Instead of using svn checkouts, we should use clones of the git repos.  At the same time, it makes sense to organize things a bit.  These changes depend on a new structure on the openlayers.org machine:

    /osgeo/openlayers/repos - clones of our openlayers, docs, and website repos
    /osgeo/openlayers/sites - sources for openlayers.org, dev.openlayers.org, and docs.openlayers.org

Where things are "built" (e.g. minifying js and modifying example markup to point to that js), changes are now made outside of the repo cleans.  Having dirty repos was another source of build failures.

Changes still need to be made to the release process/script.
2012-05-10 01:03:54 -06:00
Tim Schaub
8dabefebb2 Remove unused urllib2 2012-05-10 01:02:40 -06:00
Tim Schaub
f115c7a943 Use commit hash instead of (mock) svn rev.
When we upgraded to git, we didn't fully change over the way the website and examples are built.  The cron job that runs the update script only built the website & examples if the revision returned by the svn interface to the GitHub repo was different than the previously stored revision.  At some point, using `svn info` on the repo stopped being reliable.  For example, this is what I get when running this today (in 2012):

    svn info https://github.com/openlayers/openlayers/

    Path: openlayers
    URL: https://github.com/openlayers/openlayers
    Repository Root: https://github.com/openlayers/openlayers
    Repository UUID: d631b94f-4ba7-6298-eb8f-ce57b7db7bff
    Revision: 5488
    Node Kind: directory
    Last Changed Author: schuyler.erle
    Last Changed Rev: 5488
    Last Changed Date: 2006-05-12 12:35:22 -0700 (Fri, 12 May 2006)

(Last change looks like it was 6 years ago.)

We should be using a proper clone of the git repo and building the website and examples out of this.  Until then, we can at least use `git-ls-remote` to check what the latest HEAD from the canonical repo looks like.  This should get the website and examples building again (they stopped being updated a few weeks ago).
2012-05-09 19:48:51 -06:00
ahocevar
18b4d6808d Adding missing dependency. Non-functional change. 2012-05-09 11:03:57 +02:00
Frederic Junod
6e34b048ff examples/cartodb-geojson.html: kill long lines, use local OpenLayers.js 2012-05-07 13:06:14 +02:00
Javier de la Torre
81ee9524c7 Added example to retrieve and display data from CartoDB using the SQL API 2012-05-07 12:59:50 +02:00
Éric Lemoine
98fb795f97 set VERSION_NUMBER to 2.12-rc3 release-2.12-rc3 2012-05-05 14:27:12 +02:00
Éric Lemoine
e060b2ee4d Merge branch '2.12' 2012-05-05 14:25:51 +02:00
Éric Lemoine
23d8057222 Merge pull request #449 from elemoine/449
Issues with window resize in IE9 for OL 2.12RC2
2012-05-05 04:49:55 -07:00
Éric Lemoine
2608a0ebe7 fix resize handling in IE 9 and better (refs #449) 2012-05-04 14:28:12 +02:00
Éric Lemoine
b61cfdb054 remove the editing toolbar from the highlight-feature.html, it does not make sense in this example and it prevents selection from working when activating navigation again 2012-05-04 00:12:26 +02:00
Éric Lemoine
743dc9a738 Merge branch '2.12' 2012-05-02 17:11:37 +02:00
Éric Lemoine
ac3d361778 Merge pull request #441 from elemoine/gutter
Tiles with gutters are shifted
2012-05-02 02:35:32 -07:00
Éric Lemoine
bab9b0fa66 Merge pull request #443 from jorix/no-firebug
Remove "firebug" on the tests.cfg
2012-05-01 07:19:54 -07:00
Éric Lemoine
612401a644 fix bug where tiles with gutters are shifted (refs #441) 2012-04-28 21:23:55 +02:00
Xavier Mamano
9c0503a99f Remove "firebug" on the tests.cfg 2012-04-28 18:33:22 +02:00
Frederic Junod
5f1651a30f Add missing hover option to the SelectFeature control.
Thanks Arnie Shore.
2012-04-25 10:34:40 +02:00
Marc Jansen
c4a087d4dd Merge pull request #436 from mpriour/cql_deps
Add required OpenLayers.Filter deps to OpenLayers.Format.CQL
2012-04-24 23:47:58 -07:00
Matt Priour
77cf56a4b6 Add required OpenLayers.Filter deps to OpenLayers.Format.CQL 2012-04-24 22:52:19 -05:00
Éric Lemoine
1ace4df160 set OpenLayers.VERSION_NUMBER to Release 2.12-rc2 release-2.12-rc2 2012-04-24 21:55:49 +02:00
ahocevar
f4a77cad06 Merge pull request #432 from ahocevar/iframe-opacity
Long URLs messing up Opacity. r=@elemoine,@lewinmadrid
2012-04-24 12:32:48 -07:00
ahocevar
fc0b15ad45 Overriding onImageLoad to set the opacity on the correct element. 2012-04-24 08:08:41 -04:00
Éric Lemoine
07533fcdcb Merge pull request #426 from elemoine/moveend-bug
pan() triggers moveend event twice
2012-04-24 04:02:36 -07:00
Tim Schaub
2b5b59bea5 Merge pull request #416 from tschaub/dotless
Use dotless identifiers.
2012-04-23 16:27:11 -07:00
Tim Schaub
9a7b8b1cca Add a bit to the release notes about dotless identifiers. 2012-04-23 19:25:39 -04:00
ahocevar
179433da2f For IFrame tiles, we need to set opacity on the IFrame's parent. 2012-04-23 18:46:28 -04:00
ahocevar
a57c56ed96 Revert "Merge pull request #432 from ahocevar/iframe-opacity"
This reverts commit af046b9af8, reversing
changes made to f36fd5f0d1. The reason for reverting this is that the change breaks the select-feature-multilayer.html example.
2012-04-23 18:03:39 -04:00
Éric Lemoine
c6c1bf1f77 fix movestart, move, moveend sequence on pan with animate:false 2012-04-23 23:57:48 +02:00
ahocevar
af046b9af8 Merge pull request #432 from ahocevar/iframe-opacity
Long URLs messing up Opacity. r=@elemoine
2012-04-23 14:14:08 -07:00
ahocevar
11cc960be5 Setting opacity on the IFrame's parent, like we used to do in 2.11. 2012-04-23 10:36:51 -04:00
ahocevar
07114fc894 Setting opacity on the last child.
This is required for IFrame tiles, so we don't set the opacity on the event pane. To make this work with vector layers, the defs node needs to be inserted before the root group element instead of after it.
2012-04-23 10:17:20 -04:00
crschmidt
305c6ef064 Merge pull request #433 from bjornharrtell/patch-1
Mark context property as part of API
2012-04-23 04:08:36 -07:00
Björn Harrtell
3b91e41690 Mark context property as part of API. It's very useful and is used in examples (at least strategy-cluster-threshold) 2012-04-23 12:01:55 +03:00
crschmidt
43126239ff Merge pull request #429 from flamandro/permalink
Fix Trac #3381. Applied patch from ticket #3381 to Permalink tests and updated Permalink.js to pass the tests by maintaining anchors in links.
2012-04-22 12:58:17 -07:00
John Lien
ab87c33670 Applied patch from ticket #3381 to Permalink tests and updated Permalink
control to pass tests by maintaining anchors.

All tests continue to pass.
2012-04-22 14:48:12 -04:00
Marc Jansen
1691d4a71f Minor API doc enhancement 2012-04-21 00:23:41 +03:00
Marc Jansen
e690f28517 replace tab with spaces 2012-04-21 00:14:24 +03:00
Éric Lemoine
a57738e817 Merge branch '2.12' 2012-04-20 15:29:46 +02:00
Éric Lemoine
f36fd5f0d1 Merge pull request #393 from elemoine/393
grid layers may be misplaced
2012-04-20 06:27:27 -07:00
ahocevar
bd4c092943 Merge pull request #419 from ahocevar/bing-attribution
Incorrect Bing attribution when custom maxResolution is set. r=@elemoine
2012-04-20 06:11:31 -07:00
ahocevar
9ab6d08fb0 Calculate zoom level from serverResolutions.
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00
Éric Lemoine
e998335718 Merge pull request #399 from elemoine/399
adding an OverviewMap to an OSM map no longer just works
2012-04-20 05:10:34 -07:00
ahocevar
a73d9e3804 Merge pull request #407 from ahocevar/alwaysInRange
alwaysInRange not updated when using addOptions. r=@elemoine,@bartvde
2012-04-19 09:00:26 -07:00
ahocevar
70161c5628 Merge pull request #421 from ahocevar/bing-overlay
Make sure tiles are loaded for Bing overlays. r=@bartvde
2012-04-19 07:03:56 -07:00
ahocevar
551f509b49 Make sure tiles are loaded for Bing overlays.
Previously, Bing overlays that were added to an existing map had empty tiles, because tiles are added before the layer url is set in initLayer. This change makes sure tiles are only rendered when the layer url is available, by not processing the tile queue before the layer url is set.
2012-04-19 16:02:23 +02:00
ahocevar
363f837acb Using resolution instead of zoom level for initial center (see #418). 2012-04-19 13:29:56 +02:00