Commit Graph

7128 Commits

Author SHA1 Message Date
ahocevar 36a8dd81ee Missing change from previous commit
This should have gone in with ef383ee7b6.
2012-09-25 19:35:12 +02:00
ahocevar 3c099a96b7 No longer tap-selecting elements on touch devices
This finalizes the effort to improve map browser event handling.
2012-09-25 19:32:08 +02:00
ahocevar ef383ee7b6 Examples using a script loader
This makes it possible to run examples hosted on hosts other than localhost. To get that version by default, debug.html has been renamed to index.html.
2012-09-25 19:06:29 +02:00
Éric Lemoine c696356586 Update readme.md 2012-09-25 19:31:26 +03:00
ahocevar 5a97655983 Optimizing touch device handling
The native event of the touchstart/mousedown event needs to be cloned; change includes some compiler optimizations.
2012-09-25 18:30:23 +02:00
ahocevar ce977e5364 Map browser event handling for touch devices
By handling click, dblckick and drag sequences in MapBrowserEvent, we can overcome closure issues with touch events. In particular, these issues were double drag events (from mousemove and touchmove) and a missing dblclick event on touch devices.
2012-09-25 17:28:01 +02:00
ahocevar b151304630 Prevent default on mousedown and touchstart for all renderers
By doing this on the map renderer, we do not need to duplicate code for the webgl and dom renderers.
2012-09-25 17:28:01 +02:00
Éric Lemoine 019bc09cea Update readme.md 2012-09-25 16:41:54 +02:00
Éric Lemoine 745c906846 Run Travis builds for any branch 2012-09-25 16:23:42 +02:00
Éric Lemoine 95d2cac09f Add Travis config file 2012-09-25 16:07:07 +02:00
Éric Lemoine 4a6b13ed39 Add a download plovr target to Makefile 2012-09-25 16:06:37 +02:00
Éric Lemoine 0130915f00 Makefile - clean target adjustments 2012-09-25 15:38:09 +02:00
Éric Lemoine e3de55e7cb Makefile - serve target needs build/ol-all.js as a source 2012-09-25 15:37:13 +02:00
Tom Payne 8369924511 Remove debug code 2012-09-25 14:00:19 +02:00
Tom Payne 06ea619989 Avoid re-rendering framebuffer in simple cases 2012-09-25 13:54:15 +02:00
Tom Payne 1bb2c3c451 Enable debugging in full screen demo 2012-09-25 13:54:15 +02:00
Éric Lemoine 629687586f Simplify and clean up the test page 2012-09-25 13:53:11 +02:00
Tom Payne f2cd64f66f Add precommit target 2012-09-25 12:25:14 +02:00
Tom Payne c2e08861e5 Correct order of transformations 2012-09-25 12:23:11 +02:00
Tom Payne 88fd7729e2 Add missing dependency 2012-09-25 12:18:49 +02:00
Éric Lemoine b4416e71c4 better nosier command 2012-09-25 12:04:57 +02:00
Tim Schaub 900eead7c6 Correct type for imagesToLoad. Add note about shorter path. 2012-09-25 12:08:02 +02:00
Éric Lemoine 3e01ca97c3 remove the jsunit tests 2012-09-25 12:03:36 +02:00
Éric Lemoine 89f7e44478 Jasmine tests for ol.Collection 2012-09-25 12:02:28 +02:00
Tom Payne c956ab3482 Relax unit tests as PhantomJS generates the wrong result on Mac OS X 2012-09-25 11:32:31 +02:00
Tom Payne ae34e8d261 Add full screen demo 2012-09-25 10:59:38 +02:00
Éric Lemoine 116531c275 fix typo in an ol.Rectangle test 2012-09-25 10:42:07 +02:00
Éric Lemoine db904dae5c Jasmine tests for ol.Rectangle 2012-09-25 10:42:07 +02:00
Tom Payne b435ccc026 Satisfy gjslint 2012-09-25 10:26:10 +02:00
Éric Lemoine 589c2a8505 Jasmine tests for ol.TileRange 2012-09-25 10:22:36 +02:00
Éric Lemoine b249b0aaa9 Jasmine tests for ol.tilestore.XYZ 2012-09-25 10:13:41 +02:00
Éric Lemoine 56e48911bf Jasmine tests for ol.TileGrid 2012-09-25 10:03:27 +02:00
ahocevar 6b8e14c623 Don't trigger extra drag events on touch devices. 2012-09-25 08:30:57 +02:00
Éric Lemoine 27d3a88413 add FIXMEs for test runner 2012-09-25 00:47:02 +02:00
Éric Lemoine 1f0d53342a Jasmine tests for ol.array 2012-09-25 00:29:23 +02:00
Éric Lemoine f0ff1faa73 fix ol.Extent tests 2012-09-25 00:18:25 +02:00
Éric Lemoine 6fab51bde0 Jasmine tests for ol.Extent 2012-09-25 00:13:28 +02:00
Tom Payne 424dbd7582 Remove problematic (and unused) clone methods, move contains out of ol.Rectangle 2012-09-25 00:04:45 +02:00
Tom Payne c43e04ea77 Refactor to support stricter new compiler 2012-09-25 00:03:53 +02:00
Tom Payne 2d7a21eaa0 More gjslint fixes 2012-09-25 00:03:53 +02:00
Éric Lemoine 92f0711404 Jasmine tests for ol.interaction.ResolutionConstraint 2012-09-25 00:02:22 +02:00
Éric Lemoine 94f2f85195 Jasmine tests for ol.TileUrlFunction 2012-09-24 23:39:50 +02:00
Éric Lemoine 30dfbfb8b7 mention nosier in test/readme.md 2012-09-24 23:31:57 +02:00
Éric Lemoine ec9382e760 Jasmine tests for ol.Projection 2012-09-24 23:26:49 +02:00
Éric Lemoine c2901dec73 Jasmine tests for ol.TileCoord 2012-09-24 22:56:40 +02:00
Éric Lemoine 2aac0140c1 add a test target to Makefile 2012-09-24 22:34:09 +02:00
Éric Lemoine fbaefeea7c give the test dir a specific readme file 2012-09-24 22:34:09 +02:00
Éric Lemoine 1f457fc919 add ConsoleReporter to Jasmine Env (for headless testing) 2012-09-24 22:34:09 +02:00
Éric Lemoine 92dca8584c add phantom-jasmine 2012-09-24 22:34:08 +02:00
Éric Lemoine 5d88994a9a remove test/api.html 2012-09-24 22:34:08 +02:00