Frederic Junod
c43de104ce
Remove unnecessary newlines
2016-02-04 12:24:20 +01:00
Marc Jansen
473cbba26e
Merge pull request #4776 from marcjansen/array-test-typo
...
Correct assertion message in ol.array.binarySearch-test
2016-02-03 14:57:44 +01:00
Marc Jansen
a29e7027ca
Correct assertion message in binarySearch-test
2016-02-03 14:50:33 +01:00
Andreas Hocevar
00116b7c74
Merge pull request #4711 from ahocevar/no-goog-events
...
Removal of goog.events.*
2016-02-03 14:05:32 +01:00
Andreas Hocevar
a848321842
Merge pull request #4777 from gberaudo/expanded-urls
...
Fix source.UrlTile URL expansion
2016-02-03 13:03:37 +01:00
Guillaume Beraudo
42df157a04
Add test for URL template expansion
2016-02-03 12:49:12 +01:00
Andreas Hocevar
af1f2bdda8
Expand urls before setting this.urls
2016-02-03 12:49:12 +01:00
Andreas Hocevar
7a8d15fe47
Use more consistent variable names and reduce findListener_ calls
2016-02-03 11:19:38 +01:00
Tim Schaub
f3b97d6bef
Use string instead of string|ol.events.EventType
2016-02-03 11:19:38 +01:00
Tim Schaub
f10c90bdba
Simpler type for ol.events.Key
...
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.
To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).
To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types. Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
78f44dcc8a
Improve XHR and ol.net.jsonp result/failure handling
2016-02-03 11:19:38 +01:00
Tim Schaub
e48ab95735
Use originalEvent instead of browserEvent
2016-02-03 11:19:38 +01:00
Tim Schaub
c62e76ab67
Remove support for useCapture
2016-02-03 11:19:38 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
dc0393acff
Add map tests for resize and animationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
73f5e11039
Add tests for ol.control.ZoomSlider
2016-02-03 11:19:38 +01:00
Andreas Hocevar
ac1d7572e4
Add tests for scroll zoom
2016-02-03 11:19:38 +01:00
Andreas Hocevar
ec6f2e575b
Add tests for keyboard pan and zoom
2016-02-03 11:19:38 +01:00
Andreas Hocevar
8b171d3ca6
Add tests for file dragging
2016-02-03 11:19:38 +01:00
Andreas Hocevar
136c8af878
Add tests and documentation for ol.net.jsonp
...
ol.net.Jsonp was renamed to ol.net.jsonp, because it is not a constructor.
2016-02-03 11:19:38 +01:00
Andreas Hocevar
8d0ef13505
Add tests and documentation for goog.events.*
2016-02-03 11:19:38 +01:00
Andreas Hocevar
cf4556f115
Add tests and documentation for ol.events.Event
2016-02-03 11:19:38 +01:00
Andreas Hocevar
5ba8b13ccf
Add tests and documentation of ol.events.EventTarget
2016-02-03 11:19:38 +01:00
Andreas Hocevar
c51d717657
Refactor event manager to remove memory leaks
2016-02-03 11:19:38 +01:00
Andreas Hocevar
d7497f9686
Always provide useCapture and async args to browser
2016-02-03 11:19:38 +01:00
Andreas Hocevar
f35d0106b8
Remove goog.net.* and goog.async.AnimationDelay
2016-02-03 11:19:38 +01:00
Andreas Hocevar
2b451e7893
Remove goog.dom.ViewportSizeMonitor
2016-02-03 11:19:38 +01:00
Andreas Hocevar
7e27ba1d42
Remove goog.fx.Dragger
2016-02-03 11:19:38 +01:00
Andreas Hocevar
6ac3f30c8f
Remove goog.events.MouseWheelEvent and goog.events.MouseWheelHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
1a6daa297e
Remove goog.events.KeyHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
0f216659f9
Remove goog.fs.FileReader and goog.events.FileDropHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Frédéric Junod
d87482e415
Merge pull request #4730 from fredj/geolocation_error_doc
...
Document ol.Geolocation error event
2016-02-03 11:11:23 +01:00
Bart van den Eijnden
9f2e2cd1e8
Merge pull request #4772 from adube/fix-namespaceuri
...
Use node.setAttribute to set namespaceURI of a node
2016-02-03 08:55:25 +01:00
Tim Schaub
cf7d30d41c
Merge pull request #4774 from openlayers/greenkeeper-graceful-fs-4.1.3
...
Update graceful-fs to version 4.1.3 🚀
2016-02-02 21:58:17 -07:00
Tim Schaub
e5428a0738
Merge pull request #4680 from nicholas-l/removeGoogArray
...
Remove goog array.
2016-02-02 21:51:39 -07:00
Andreas Hocevar
ebc98ec1bb
Address TODOs
...
To make sure that our binarySearch implementation meets the requirements of
the library, I added more tests for ol.geom.flat.interpolate.lineString, only
to find out that it does not handle line strings with repeated vertices
properly, regardless of what binarySearch implementation is used.
2016-02-03 11:41:41 +13:00
Nicholas L
1771df0109
Change binary search to return the lowest position
2016-02-03 11:41:41 +13:00
Marc Jansen
6586c7f007
Add tests stubs
2016-02-03 11:41:41 +13:00
Marc Jansen
665fdbdc2b
Add tests for ol.array.extend
2016-02-03 11:41:41 +13:00
Marc Jansen
57f4d8cefb
Add tests for ol.array.equals
2016-02-03 11:41:40 +13:00
Marc Jansen
31e1fbaf40
Add tests for ol.array.binarySearch
2016-02-03 11:41:40 +13:00
Marc Jansen
434349cb55
Check length of arrays when checking equality
2016-02-03 11:41:40 +13:00
Marc Jansen
4b17721a33
Sort tested methods alphabetically
2016-02-03 11:41:40 +13:00
Andreas Hocevar
2fb33ba940
Type fixes and simplifications
2016-02-03 11:41:40 +13:00
Nicholas L
d81af7594c
Update JSDocs/functions after review
2016-02-03 11:41:40 +13:00
Nicholas L
e08a88b76c
Remove low and high from binarysearch, use numberSafeCompareFunction
2016-02-03 11:41:40 +13:00
Nicholas L
ef0e95847f
Remove goog.array.binarySearch
2016-02-03 11:41:40 +13:00
Nicholas L
9bcf624382
Forgot to remove a require
2016-02-03 11:41:39 +13:00
Nicholas L
5bd3fb494c
Remove goog.array.repeat
2016-02-03 11:41:39 +13:00