Commit Graph

41 Commits

Author SHA1 Message Date
Paul Spencer
412314e665 missing semi-colons
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5869 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-24 02:22:04 +00:00
crschmidt
7af5b1c657 Fix silly typo which neither Paul nor I caught, with tests this time. Thanks
Tim for catching it.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5866 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-24 02:12:21 +00:00
crschmidt
f4b4e85433 loadURL does not escape + (plus) character in proxied URL. Thanks to rdewit
for following up on this, and to tschaub for reminding us of the right way
to do things. r=pagameba (Closes #1262)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5865 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-24 02:04:11 +00:00
Éric Lemoine
d516b63fe3 fix typo in Ajax.js. Thanks david reksten for reporting this. (closes #1242)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5644 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-01-03 09:58:39 +00:00
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
9425869c2b Match XHR behavor at 2.5. The browser default content type is application/xml, so we set that as our default contentType option. Looks like there is no browser default for encoding, so we remove that. r=crschmidt (closes #1232)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5570 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-24 18:44:06 +00:00
Tim Schaub
f4df2a3b2a Changing prototype.js ajax stuff so exceptions aren't swallowed by default. If you want this behavior, set request.options.onException to something that swallows, or use OpenLayers.Ajax.Responders.register for onException. r=crschmidt (closes #1232)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5567 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-21 23:42:05 +00:00
Tim Schaub
2d1099d60d Abort XMLHttpRequest on tile.destroy for WFS. The loadURL function now returns a request object. Thanks pgiraud for the fix. r=crschmidt (closes #964)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5539 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-20 17:28:51 +00:00
Tim Schaub
3268e53ed1 Serious rewrite in the Ajax namespace by pgiraud to keep up with prototype.js 1.6. Thanks for the effort and for suffering numerous revisions. Now, let's cross our fingers... r=crschmidt,me (closes #1170)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5535 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-12-20 09:26:53 +00:00
Paul Spencer
65d3947045 remove local scope variables from global namespace.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5028 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-19 18:34:00 +00:00
Paul Spencer
3e9beffc99 large scale syntactic clean up adding missing semi-colons and curly braces around blocks.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5002 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-18 12:27:35 +00:00
crschmidt
faac1f98c9 Fix synchronous Ajax requests in IE. Reported by bphilippot (Closes #1097)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-17 14:21:07 +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
Tim Schaub
2478677985 Deprecating all prototype extensions. This puts all OpenLayers functionality in the OpenLayers namespace. If you are using any of the Function, String, or Number prototype extensions, start using the functional equivalents in the OpenLayers namespace - the prototype extensions will be gone in 3.0 (closes #712).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4302 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-09-14 20:08:47 +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
Tim Schaub
7361f32040 #885 - keep responder variable in closure - thanks for quick review crschmidt
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3855 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-08-04 20:52:45 +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
debffb8f12 Fix typos in documentation strings.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-17 04:04:54 +00:00
Schuyler Erle
29fa9361a8 Applying fredj's patch for #534, allowing Ajax exceptions to fall through and
be rethrown if the Ajax object doesn't have an onException callback set. This
should make Ajax errors a bit more obvious when they occur.



git-svn-id: http://svn.openlayers.org/trunk/openlayers@3283 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-07 18:16:03 +00:00
crschmidt
96d8790258 Pull in a fix from upstream Prototype, #702 by fredj (thx fredj)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3205 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-05-30 13:12:00 +00:00
crschmidt
3ca974acec Merge vector-2.4 branch back to trunk.
svn merge sandbox/vector-2.4/@2307 sandbox/vector-2.4/@HEAD trunk/openlayers/


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2803 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-03-16 13:23:56 +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
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
crschmidt
5280553306 IE, Safari, and Firefox all deal with XML elements with namespaces in different
ways. I can't even make thigns work in *two* browsers at once -- what a pain.
So, we'll wrap up all the browser-specific stuff in 
OpenLayers.Ajax.getElementsByTagNameNS(), which contains the browser funkies,
and as a benefit, we get working WFS in IE.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1650 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:33:33 +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
d11ddfbb87 Change OpenLayers.ProxyHost in Subversion to be null. This means that Ajax
requests will 'just work' if the file is loaded locally (which was only the
case before when using relative URLs). It also means that the examples better
document how to set ProxyHost, since they no longer depend on an undocumented
setting.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1216 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-15 14:11:58 +00:00
euzuro
6c22690d8b removing JSON handling code from Ajax.js. It is not currently needed in this library.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1013 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-26 15:52:33 +00:00
crschmidt
02efb5c213 Edit out toJSON() prototypes since they're breaking unit tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@991 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-21 03:40:31 +00:00
crschmidt
e75ece7909 Add JSON parser and exporter, to allow people to more safely parse and use JSON in their OpenLayers applications.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@986 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-20 14:23:05 +00:00
euzuro
9783a64c64 update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@985 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-20 13:47:55 +00:00
euzuro
b6e937e877 add addScript() function for loading JSON scripts (or any scripts, for that matter)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-20 13:46:33 +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
euzuro
0853af657b doesnt look like we're going to add a logger any time soon. might as well get rid of these old logger references.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@550 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 19:03:04 +00:00
euzuro
60eba3e782 change Ajax.js's loadURL() function to take directly function references instead of strings to be dereferenced through a 'handlers' variable. Update code in Tile.WFS... only place it is used.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@487 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-01 01:15:23 +00:00
euzuro
14196834bb the proxy reference can safely be shortened. thanks phil
git-svn-id: http://svn.openlayers.org/trunk/openlayers@324 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 16:14:52 +00:00
euzuro
25690c21e9 use other proxy for now
git-svn-id: http://svn.openlayers.org/trunk/openlayers@288 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 17:01:25 +00:00
euzuro
3f7665b0ae cgi script directory name changed
git-svn-id: http://svn.openlayers.org/trunk/openlayers@283 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 16:13:09 +00:00
euzuro
1041515bfd udpatoing Tile.WFS code, removing ol.Application calls. AddingAjax.js file (do we want this?) and including it in the dynamic loader
git-svn-id: http://svn.openlayers.org/trunk/openlayers@275 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 00:22:22 +00:00