Tim Schaub
afcaa2ea51
Use Node 6 on Travis
2016-05-10 05:52:41 -06:00
Tim Schaub
0b4ef31750
Get raster sources working again
...
This reverts 8e1ffbf91e
2016-05-03 17:47:05 -04:00
Tim Schaub
cd70f58e34
Rendering tests for vector context
2016-03-19 16:45:26 -06:00
Tim Schaub
22d03cb2ee
Avoid duplicate lineTo and correctly close rings
2016-03-19 16:12:38 -06:00
Tim Schaub
f0cca94456
Correcting a typo in the upgrade notes
2016-03-18 22:41:19 -06:00
Tim Schaub
ed71cf74f6
Upgrade note on zIndex for drawFeature() styles
2016-03-18 17:52:16 -06:00
Tim Schaub
0eb7e8220d
Immediate rendering for all vector contexts
2016-03-18 17:31:14 -06:00
Tim Schaub
f0814628b7
Synchronous rendering only
2016-03-18 17:26:10 -06:00
Tim Schaub
ec2daf2118
Make drawFeature() immediate
2016-03-18 17:26:10 -06:00
Tim Schaub
42c2dd8702
More geometry
2016-03-18 17:04:50 -06:00
Tim Schaub
42f41e1cf4
Variable named geometry
2016-03-18 17:04:50 -06:00
Tim Schaub
05cf57dcfc
Remove unused arg
2016-03-18 17:04:50 -06:00
Tim Schaub
51dfe89425
Add assert message
2016-03-18 17:04:49 -06:00
Tim Schaub
1339d6b3a6
Correct to upgrade notes
2016-03-18 17:04:49 -06:00
Tim Schaub
d0b2016bb6
Add setStyle() to WebGL immediate API
2016-03-18 17:04:49 -06:00
Tim Schaub
f77c7dded2
Add drawGeometry() to WebGL immediate API
2016-03-18 17:04:49 -06:00
Tim Schaub
88f8515fb6
Shorter names for drawing methods
2016-03-18 17:04:44 -06:00
Tim Schaub
2133d6d081
Document the immediate rendering API
2016-03-18 17:03:18 -06:00
Tim Schaub
ef40f66c93
Use setStyle() and drawGeometry() in examples
2016-03-18 17:03:18 -06:00
Tim Schaub
cf0c4dcf3f
Add methods to base class
2016-03-18 17:03:17 -06:00
Tim Schaub
873e4176c6
Add vectorContext.drawGeometry() method
2016-03-18 17:03:17 -06:00
Tim Schaub
8f0f278832
Add vectorContext.setStyle() method
2016-03-18 17:03:17 -06:00
Tim Schaub
249f3b2e47
Tests for ol.color.asString()
2016-03-08 10:05:54 -07:00
Tim Schaub
40397aa39e
Tests for ol.color.asArray()
2016-03-08 10:05:54 -07:00
Tim Schaub
47a18d41f0
Remove unused ol.color.equals()
2016-03-08 10:05:53 -07:00
Tim Schaub
9ea9b29a69
Remove unused ol.color.transform()
2016-03-08 10:05:53 -07:00
Tim Schaub
8b1ad633be
Remove unused ol.color.stringOrColorEquals()
2016-03-08 10:05:53 -07:00
Tim Schaub
7cf433eb68
Remove unused ol.color.blend()
2016-03-08 10:05:53 -07:00
Tim Schaub
787e5d4dbf
Assert that map renderer is a disposable
2016-03-03 09:18:04 -07:00
Tim Schaub
167ee487d6
Assert that render box is a disposable
2016-03-03 09:05:08 -07:00
Tim Schaub
beb80ce987
Assert that event target is a disposable
2016-03-03 09:05:08 -07:00
Tim Schaub
0ab9dd8bd0
Tests for ol.Disposable
2016-03-03 09:05:02 -07:00
Tim Schaub
e1f0e8d75b
No need for ol.webgl.Context to be an event target
2016-03-03 07:28:34 -07:00
Tim Schaub
2f9d4e68eb
Unregister all listeners on the WebGL context's canvas
2016-03-03 07:26:45 -07:00
Tim Schaub
afb64ed2bf
Make ol.webgl.Context an ol.events.EventTarget
2016-03-02 16:32:25 -07:00
Tim Schaub
71faef3dfd
One fewer anonymous function
2016-03-02 15:44:07 -07:00
Tim Schaub
09eee46822
Use ol.Disposable instead of goog.Disposable
2016-03-02 15:44:07 -07:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Tim Schaub
df4f154a93
Unused goog.dispose requires
2016-03-02 15:44:06 -07:00
Tim Schaub
1877910b7e
Handle more XHR errors in the TileJSON source
2016-03-02 14:42:28 -07:00
Tim Schaub
9c594bc997
Use where function in MVT tests
2016-03-02 13:22:33 -07:00
Tim Schaub
1925e39b69
Allow tests to be ignored by feature
2016-03-02 13:20:37 -07:00
Tim Schaub
efdc892219
Run ol.source.Raster tests in Phantom
2016-03-01 13:50:31 -07:00
Tim Schaub
5aa175241a
No need to check for ImageData constructor in the tests
2016-03-01 13:43:55 -07:00
Tim Schaub
bc01fdb59a
Return ImageData-like objects for IE support
2016-03-01 13:34:50 -07:00
Tim Schaub
66f23c1aed
Upgrade to pixelworks@1.1.0
2016-03-01 13:34:50 -07:00
Tim Schaub
02904cda8e
Guard against handlers handling events after done
2016-02-23 13:13:15 -07:00
Tim Schaub
24b7b27836
Listen once when calling done
2016-02-23 13:10:47 -07:00
Tim Schaub
9da8cd890e
Simpler alias
2016-02-23 13:06:38 -07:00
Tim Schaub
eaab8e47ce
More cleanup
2016-02-23 12:57:39 -07:00
Tim Schaub
b440872e60
Less crazy indentation
2016-02-23 12:50:33 -07:00
Tim Schaub
247eb62e3b
Avoid shadowing
2016-02-23 12:48:27 -07:00
Tim Schaub
03761642ed
Correct indentation
2016-02-15 16:39:56 -07:00
Tim Schaub
160294e05d
Upgrade linter and config
2016-02-13 14:07:50 -07:00
Tim Schaub
72ea0ecfd8
Remove remaining goog.object use from tests
2016-02-04 06:54:45 -07:00
Tim Schaub
d67f33bcd6
Remove use of goog.object.unsafeClone()
2016-02-04 06:54:44 -07:00
Tim Schaub
e2fe897811
Replace goog.object.getValues() with ol.object.getValues()
2016-02-04 06:54:44 -07:00
Tim Schaub
417dbf36c8
Remove use of goog.object.setIfUndefined()
2016-02-04 06:54:44 -07:00
Tim Schaub
fd394151fd
Replace goog.object.clear() with ol.object.clear()
2016-02-04 06:54:44 -07:00
Tim Schaub
f38d8bf824
Remove use of goog.object.get()
2016-02-04 06:54:44 -07:00
Tim Schaub
8b9c393820
Remove use of goog.object.some()
2016-02-04 06:54:44 -07:00
Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07:00
Tim Schaub
0dce343d4f
Remove use of goog.object.getCount()
2016-02-04 06:54:44 -07:00
Tim Schaub
1a9367228d
Remove use of goog.object.contains() and findKey()
2016-02-04 06:54:44 -07:00
Tim Schaub
554887ae14
Remove use of goog.object.forEach()
2016-02-04 06:54:44 -07:00
Tim Schaub
3c0ef430db
Use ol.object.assign() instead of goog.object.extend()
2016-02-04 06:54:43 -07:00
Tim Schaub
a74af66d5f
Use ol.object.assign() instead of goog.object.clone()
2016-02-04 06:54:43 -07:00
Tim Schaub
619e070d80
Use ol.object.assign() in object.getPoperties()
2016-02-04 06:54:43 -07:00
Tim Schaub
3a4b504a5d
Add polyfill for Object.assign()
2016-02-04 06:54:43 -07: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
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
Tim Schaub
9cda669b3b
Upgrade to mocha@2.4.5
2016-01-28 17:46:50 -07:00
Tim Schaub
6f525bfd2e
Use new package name
2016-01-28 09:26:23 -07:00
Tim Schaub
49a5c832ea
Report dependency versions
2016-01-27 13:33:53 -07:00
Tim Schaub
415ac07a60
Downgrade to mocha@2.3.4
2016-01-27 11:11:01 -07:00
Tim Schaub
aff41cfcc0
Upgrade to eslint@2.0.0-beta.2
2016-01-27 09:35:01 -07:00
Tim Schaub
85ead5486c
New Bing Maps key
2016-01-19 14:08:51 -07:00
Tim Schaub
fd77ab64ad
Use eslint@2.0.0-beta.1
2016-01-11 23:37:29 -08:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
8d80924ba8
Remove gjslint.py
2016-01-11 22:03:12 -08:00
Tim Schaub
0a5d15db50
Remove jshint
2016-01-11 18:58:02 -08:00
Tim Schaub
8f0ecc4df2
Run ESLint with make lint
2016-01-11 18:56:09 -08:00
Tim Schaub
534124ec2f
Lint free rendering tests
2016-01-11 18:56:09 -08:00
Tim Schaub
8c38d22b60
Lint free examples
2016-01-11 18:56:09 -08:00
Tim Schaub
0555bb081a
Test indentation
2016-01-11 18:56:09 -08:00
Tim Schaub
3cf8618fc7
Prefer single line assignment to 80 character limit
2016-01-11 18:56:08 -08:00
Tim Schaub
59a66c7aaa
Remaining valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Tim Schaub
b1d00af58b
More globals
2016-01-11 18:56:08 -08:00
Tim Schaub
fd0e2436da
Always provide a default case for switch
2016-01-11 18:56:08 -08:00
Tim Schaub
932bf4deb3
Explicitly mark fall-throughs
2016-01-11 18:56:08 -08:00
Tim Schaub
54df314936
Consistent curly brace style
2016-01-11 18:56:08 -08:00
Tim Schaub
ec10b661f3
Use block scoping
2016-01-11 18:56:08 -08:00
Tim Schaub
29a723166d
No empty blocks
2016-01-11 18:56:07 -08:00
Tim Schaub
4e0cddcb41
Lint-free tests
2016-01-11 18:56:07 -08:00
Tim Schaub
cca86886f1
Define variables before use
2016-01-11 18:56:07 -08:00
Tim Schaub
3602a37c96
Remove this commit with ESLint 2.0
2016-01-11 18:56:07 -08:00