Commit Graph

47 Commits

Author SHA1 Message Date
crschmidt
09e0d3ec81 Update copyrights to 2008.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5614 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-01 08:14:55 +00:00
Tim Schaub
33e313b059 Separating jsdoc style docs into their own block. The new NaturalDocs doesn't parse these mixed blocks, giving us no class descriptions with the two together. (closes #1229)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5553 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-21 08:28:09 +00:00
crschmidt
c720e44c7c Patch from Gregers Rygg to fix setOpacity for AnchoredBubble popups.
(Closes #1204)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5415 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-15 03:51:21 +00:00
crschmidt
ed3221441c Refactor SVN layout in compliance with RFC/LicenseChange. This hopefully
completes an important blocker for moving forward with OSGeo incubation. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-17 02:21:22 +00:00
Éric Lemoine
561f4d6a22 callback for close button on popup (closes #1061)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4916 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-10 19:03:18 +00:00
crschmidt
ebc60202b7 Patch from Erik/I to fix:
Popups don't move adequately after zooming with scroll wheel
(Closes #494)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4250 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-12 20:14:14 +00:00
euzuro
448f64e019 coding standards -- mostly ND comment style corrections and lines longer than 79char
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4248 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-12 19:25:20 +00:00
euzuro
b3e11ca51e coding standards -- mostly ND comment style corrections
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4247 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-12 19:22:33 +00:00
euzuro
b55aca93fb nd cleanup. coding standards. no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4129 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-30 17:49:02 +00:00
Tim Schaub
c2148651ed Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns (closes #945).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4110 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-29 18:44:10 +00:00
crschmidt
6194452b8a Since John already went ahead and committed the main change, I'm just going
to finish this one up. All commits are in comments, so a review doesn't seem
strictly neccesary. This closes #918 and fixes all the copyrights that I could 
find in the code.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-23 11:29:06 +00:00
euzuro
fd4d2918f1 fix for #853 - remove JSDOC comments from CLASS_NAME variables
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3787 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-23 15:09:09 +00:00
Tim Schaub
cc1b0269c9 #823 New class style. Instead of OldStyle = Class.create(); OldStyle.prototype = Class.inherit(Parent, prototype), we now use NewStyle = OpenLayers.Class(Parent, prototype). New style classes allow for backwards compatibility [you can use OldStyle = Class.create(); Class.inherit(NewStyle, prototype)]. The Class.create and Class.inherit functions are deprecated. Backwards compatibility will be removed at 3.0. Thanks Erik for the careful review.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3767 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-07-16 20:25:11 +00:00
crschmidt
3948913bfc Merge all changes from the naturaldocs sandbox. This brings all the work that
has been done in the NaturalDocs branch back to trunk. Thanks to everyone who
helped out in making this happen. (I could list people, but the list would
be long, and I'm already mentally on vacation.)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3545 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-29 15:59:20 +00:00
crschmidt
e4599ea06f Apply patch from John Cole to make closeBox show up in AnchoredBubble
popups. (Thanks John!) I like this solution better than hacking Rico.
Closes #698.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-15 21:10:13 +00:00
euzuro
112978ac3d patch for #441 - resolving Rico namespace conflict
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2094 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-12-22 19:31:32 +00:00
crschmidt
e6ef35c174 Fix for #415 , reported by penyaskito, approved by Schuyler. Due to an oversight
in my new setSize function didn't test setting size before popup was added to 
the map.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1935 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-11-20 01:11:21 +00:00
crschmidt
786c2a20fb Change files to point to repository-license. Part of build process will now
be to change the licensing terms in the final build.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1721 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-24 18:16:39 +00:00
crschmidt
cb3af3eaba Add the ability to add a close button to popups via a final param to the
constructor of a popup. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1704 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-18 16:50:07 +00:00
crschmidt
7c2a8a0cab The OpenLayers server threw a disk, and clobbered another, resulting in a loss
of data up to our last backup. In the previous subversion repository, this was
r1694->r1777. I'm sorry to all those of you who might have checked out that 
code, as this will surely cause problems for you. We're currently working to
figure out what went wrong, and how to prevent it in the future.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1695 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-13 20:41:21 +00:00
Schuyler Erle
3be99e67e6 Convert all classes to use new-style class definitions. All tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1651 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:57:33 +00:00
Schuyler Erle
4739147a2f Removed modifications to Array.prototype and moved them into OL.Util instead. All tests pass.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1590 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 15:18:02 +00:00
Schuyler Erle
67ced536c0 Merged r1559:r1587 from source:/sandbox/crschmidt/noprototype. OpenLayers is now Prototype-free(tm).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 14:50:47 +00:00
crschmidt
28bff61128 Fix all cases where we have Windows line endings, and set eol-style="native"
on all files. Hopefully, this makes it easier for people to write patches
and do other neat things. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1424 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-09 15:46:17 +00:00
euzuro
244e9543cd update popup id
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1420 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-09-08 16:53:55 +00:00
euzuro
c1b8c8dd60 change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1206 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-14 23:05:05 +00:00
euzuro
e91d0546ee replace all usage of copyOf() with clone(). Now copyOf() is officially deprecated and unused. supported only if users out there have used it, but we can phase it out in the next official release.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@961 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 11:56:13 +00:00
Schuyler Erle
c92cd6d88a Pulled down bug fixes, example updates, etc. r717:r787 from source:/branches/openlayers/1.0.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@788 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 04:40:52 +00:00
Schuyler Erle
ead31f6dc6 Added license headers to all JS source files.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@657 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 15:22:48 +00:00
crschmidt
0c47f802eb Commit phil's change to AnchoredPopup, which improves handling in FF on OS X, and hopefully will for IE as well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@566 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-09 17:53:24 +00:00
euzuro
b7343507b7 oops. more tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@478 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:32:50 +00:00
euzuro
08b8a7af76 fixing tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@476 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-31 23:28:38 +00:00
euzuro
85ccc6c638 the add() and offset() functions return new copies of the OpenLayers.Pixel Objects and do not affect the original. Personally, I think this is a horrible way of doing things, but this is how it has been. Maybe something to change for in the future.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@461 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 19:43:45 +00:00
euzuro
a78ee9f86c use new offset() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@459 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 19:28:27 +00:00
euzuro
5a95469ef0 Anchored popups now take an 'anchor' item instead of simply an 'anchorSize'. The anchor item should have both a size *and* an offset. Basically it should be an OpenLayers.Icon. If none is passed in, defaults to (0,0) size and offset. Update placement calculation to adjust for size AND offset.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@442 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 09:55:04 +00:00
crschmidt
0ec90b17e8 Commit changes to Anchored popup: add anchor width/height to top left position if we're heading in that direction. I'm still not sure how perfect this is, but it stops the bubbles from being on top of my icons.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@421 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:08:15 +00:00
euzuro
f115b797a3 Changed around the order of arguments for createImage, createDiv, and createAlphaImage. bubbled out helper function OpenLayers.Util.modifyDOMElement() to handle common mods. Official order now is: id, px, sz, imgURL, position, border[, overflow]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 01:23:11 +00:00
euzuro
b036da46f5 Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:27:29 +00:00
euzuro
79295569a3 we should really be sure that this.lonlat is set too.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:24:48 +00:00
euzuro
53f59f25ea changing the size of an anchored popup is a special case because the popup must remain anchored after the resize
git-svn-id: http://svn.openlayers.org/trunk/openlayers@347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:22:06 +00:00
euzuro
df5455e41e Since popups have a reference back to map, allow them to determine where they should be drawn internally. Thus we can remove the computing from the addPopup() function in Map.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:09:33 +00:00
euzuro
022ffde95e moved oppositeQuadrant() function from Anchored.js to Util.js, where it is now a static function on the OpenLayers.Bounds class. Updated usage in code accordingly. Added test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@343 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:54:45 +00:00
euzuro
cfe9479a89 JSDOC - designate private functions as such
git-svn-id: http://svn.openlayers.org/trunk/openlayers@342 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:44:01 +00:00
euzuro
43e218c969 no reason to override Popup's destroy() if nothing new is being destroyed
git-svn-id: http://svn.openlayers.org/trunk/openlayers@341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:39:44 +00:00
euzuro
48abf71cea fix dynamic load instruction for Popup.js subclass
git-svn-id: http://svn.openlayers.org/trunk/openlayers@340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:29:48 +00:00
euzuro
854a468373 add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +00:00
euzuro
3ece5e35fd adding skeleton for anchored popup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:14:34 +00:00