Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Hocevar becce622e5 Update xol script and content 2018-03-11 09:12:14 -06:00
Andreas Hocevar c4cf75e470 Use let instead of var for exports 2018-03-11 09:12:02 -06:00
Andreas Hocevar 0b673ac110 Merge pull request #7959 from openlayers/greenkeeper/babel-plugin-jsdoc-closure-1.3.2
Update babel-plugin-jsdoc-closure to the latest version 🚀
2018-03-09 18:56:24 +01:00
Andreas Hocevar b17c83e67b Merge pull request #7957 from openlayers/greenkeeper/recast-0.14.5
Update recast to the latest version 🚀
2018-03-09 18:32:54 +01:00
Andreas Hocevar 7ae3ee4c73 Merge pull request #7953 from ahocevar/olx-part-2
Get rid of externs/olx.js and src/ol/typedefs.js typedefs for ol/ and ol/events/
2018-03-09 15:59:51 +01:00
Andreas Hocevar 8eea49c56d Merge pull request #7956 from ahocevar/sort-index
Make sure namespaces are populated after they were created
2018-03-09 15:59:12 +01:00
Andreas Hocevar a964dd27e9 Make sure namespaces are populated after they were created 2018-03-09 15:48:31 +01:00
Andreas Hocevar 395b26832a Get rid of olx.js and typedef.js typedefs for ol/events 2018-03-08 18:57:24 +01:00
Andreas Hocevar 95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +01:00
Andreas Hocevar 21bf83537d Merge pull request #7946 from ahocevar/olx-part-1
New typedef syntax and module path types for some modules
2018-03-07 15:26:03 +01:00
Andreas Hocevar 9e105b072d New typedef syntax for sphere 2018-03-07 13:56:51 +01:00
Andreas Hocevar 07cd7ba325 New typedef syntax and constructor options for Interaction 2018-03-07 13:56:17 +01:00
Andreas Hocevar 9ee79aa6b7 New typedef syntax and constructor options for PluggableMap 2018-03-07 13:56:03 +01:00
Andreas Hocevar a63733107f New typedef syntax and constructor options for Graticule 2018-03-07 13:55:43 +01:00
Andreas Hocevar 253e2fd2d8 New typedef syntax and constructor options for Geolocation 2018-03-07 13:55:32 +01:00
Andreas Hocevar f680c9cfa5 New typedef syntax and constructor options for Collection 2018-03-07 13:55:20 +01:00
Andreas Hocevar a05c4b0159 New typedef syntax for TransformFunction 2018-03-07 13:54:43 +01:00
Andreas Hocevar d324398b5b New typedef syntax for Size 2018-03-07 13:53:37 +01:00
Andreas Hocevar 9ca2e4d01f New typedef syntax for ProjectionLike 2018-03-07 13:52:57 +01:00
Andreas Hocevar b6781ac186 New typedef syntax for Pixel 2018-03-07 13:52:08 +01:00
Andreas Hocevar 2ae049dfbc New typedef syntax for PostRenderFunction 2018-03-07 13:49:25 +01:00
Andreas Hocevar 1e7a9e9231 New typedef syntax for Transform 2018-03-07 13:48:28 +01:00
Andreas Hocevar 938e475db1 Move MapOptionsInternal to PluggableMap 2018-03-07 13:46:36 +01:00
Andreas Hocevar 7decf90b6a Move GraticuleLabelDataType to Graticule 2018-03-07 13:45:53 +01:00
Andreas Hocevar 41cf1e93f4 New typedef syntax for Event 2018-03-07 13:44:40 +01:00
Andreas Hocevar 258b6e1d56 New typedef syntax for EventsKey 2018-03-07 13:44:15 +01:00
Andreas Hocevar 5ca31e094e New typedef syntax for Coordinate 2018-03-07 13:43:31 +01:00
Andreas Hocevar 3d5217f7e0 Merge pull request #7945 from openlayers/greenkeeper/babel-plugin-jsdoc-closure-1.3.1
Update babel-plugin-jsdoc-closure to the latest version 🚀
2018-03-07 13:19:13 +01:00
Andreas Hocevar c61a2b0d14 Merge pull request #7944 from ahocevar/point-wrap
Make wrap work with points in the vector-labels example
2018-03-07 12:23:15 +01:00
Andreas Hocevar 18a668318d Make wrap work with points 2018-03-07 10:14:44 +01:00
Andreas Hocevar 8403f7d951 Merge pull request #7940 from openlayers/greenkeeper/babel-plugin-jsdoc-closure-1.3.0
Update babel-plugin-jsdoc-closure to the latest version 🚀
2018-03-06 16:15:33 +01:00
Andreas Hocevar 5225df26f1 Merge pull request #7923 from ahocevar/fix-pointer-static
Fix exports and use of constants
2018-03-04 15:03:17 +01:00
Andreas Hocevar d818817117 Fix exports and use of constants 2018-03-02 17:26:17 +01:00
Andreas Hocevar 2f1dab4631 Merge pull request #7921 from openlayers/greenkeeper/clean-css-cli-4.1.11
Update clean-css-cli to the latest version 🚀
2018-03-02 16:57:46 +01:00
Andreas Hocevar a30d9a41b8 Merge pull request #7916 from openlayers/greenkeeper/html-webpack-plugin-3.0.1
chore(package): update html-webpack-plugin to version 3.0.1
2018-03-01 10:06:53 +01:00
Andreas Hocevar cf0c42ae7d Merge pull request #7904 from ahocevar/focus-scroll
Add focus condition, e.g. for wheel zoom
2018-02-28 08:21:37 +01:00
Andreas Hocevar 2d67c15ea9 Add focus condition, e.g. for wheel zoom 2018-02-27 21:39:02 +01:00
Andreas Hocevar 78ea426764 Merge pull request #7903 from openlayers/greenkeeper/marked-0.3.17
Update marked to the latest version 🚀
2018-02-27 14:54:33 +01:00
Andreas Hocevar b308635b67 Merge pull request #7902 from ahocevar/font-detect-symbol
Add a unicode symbol for symbol font detection
2018-02-27 13:39:21 +01:00
Andreas Hocevar 445c49c1eb Add a unicode symbol for symbol font detection 2018-02-27 13:22:35 +01:00
Andreas Hocevar 795ef70bf9 Merge pull request #7901 from openlayers/greenkeeper/karma-webpack-2.0.12
Update karma-webpack to the latest version 🚀
2018-02-27 09:51:05 +01:00
Andreas Hocevar 7747f4f40d Merge pull request #7842 from ahocevar/labelcache-adjust-size
Allow setting the label cache size
2018-02-16 12:01:48 +01:00
Andreas Hocevar fff957a199 Allow setting the label cache size 2018-02-16 11:36:58 +01:00
Andreas Hocevar 064c25f144 Merge pull request #7841 from openlayers/greenkeeper/babel-plugin-jsdoc-closure-1.2.0
Greenkeeper/babel plugin jsdoc closure 1.2.0
2018-02-16 10:10:58 +01:00
Andreas Hocevar a961b07c65 Fix typedefs 2018-02-16 09:44:54 +01:00
Andreas Hocevar 7a1cf8de82 Merge pull request #7808 from ahocevar/ratio-tests
Make sure the requested image size matches the desired ratio
2018-02-10 11:45:40 +01:00
Andreas Hocevar da8874862d Make sure the requested image size matches the desired ratio 2018-02-10 11:11:16 +01:00
Andreas Hocevar a1d7c87f4c Merge pull request #7807 from ahocevar/karma-first
Run typecheck after tests, because of its current verbosity
2018-02-10 10:46:59 +01:00
Andreas Hocevar 00e441f354 Run typecheck after tests, because of its current verbosity 2018-02-10 10:35:00 +01:00
Andreas Hocevar 78af38007b Merge pull request #7806 from ahocevar/rotate
Fix rotate import
2018-02-10 10:30:16 +01:00
Andreas Hocevar 427dde6180 Fix rotate import 2018-02-10 10:24:48 +01:00
Andreas Hocevar 73f9d6dcdd Merge pull request #7741 from ahocevar/typecheck-full-build
Type checking and full build creation
2018-02-10 02:09:31 +01:00
Andreas Hocevar 9dad964323 Remove carets and git versios from package.json 2018-02-08 19:51:29 +01:00
Andreas Hocevar 2cae4230e3 Let Travis run typechecks 2018-02-08 19:51:29 +01:00
Andreas Hocevar bc37ea9eb1 Use more verbose import for use with Closure Compiler 2018-02-08 19:51:28 +01:00
Andreas Hocevar 287723902c Use babel and closure without bundler for type checking 2018-02-08 19:51:28 +01:00
Andreas Hocevar 9c12b351e5 Use webpack for full build, find something else for type checking 2018-02-08 19:51:28 +01:00
Andreas Hocevar 03e244a6a2 Add type checking and full build creation
This uses Closure Compiler to create a full build and run type checks.
Currently type errors are reported as warnings and the build is created
with SIMPLE optimizations until we have transitioned all types to path
types.
2018-02-08 19:51:27 +01:00
Andreas Hocevar 9d409c800f Temporarily create an ol namespace for typedefs 2018-02-08 19:51:27 +01:00
Andreas Hocevar ce2f78e890 Fix module name for ol/sphere 2018-02-08 19:51:27 +01:00
Andreas Hocevar e6036439f6 Generate index.js instead of ol.js 2018-02-08 19:51:27 +01:00
Andreas Hocevar 64258a1ac4 Add generate-ol task to create a full build
Creating the full build will also serve as type checker.
2018-02-08 19:51:27 +01:00
Andreas Hocevar efd9f2c088 Handle modules 2018-02-08 19:51:26 +01:00
Andreas Hocevar 08763ef139 Remove stability from info 2018-02-08 19:51:26 +01:00
Andreas Hocevar 3c09bfa602 Fix module path 2018-02-08 19:51:26 +01:00
Andreas Hocevar 2c718db797 Fix type annotations 2018-02-08 19:51:26 +01:00
Andreas Hocevar 67b7188ba4 Merge pull request #7703 from ahocevar/draw-state
Improved drawing experience on touch devices
2018-01-17 20:25:07 +01:00
Andreas Hocevar be57e40e91 Show last segment and vertex for mouse pointer move 2018-01-17 01:38:46 +01:00
Andreas Hocevar 276194d554 Add tests for vertex drag 2018-01-15 13:21:07 +01:00
Andreas Hocevar d8a2a393fc Merge pull request #7700 from pedros007/fix-scaleline-projection-in-degrees
Fix ScaleLine control for Projections in degrees
2018-01-15 13:14:45 +01:00
Andreas Hocevar c1f8d30c28 Make dragVertexTolerance configurable 2018-01-15 10:37:13 +01:00
Andreas Hocevar 7924850601 Explain changes in the upgrade notes 2018-01-14 23:26:28 +01:00
Andreas Hocevar 6bb88026ea Avoid context menu for long tap when editing on mobile 2018-01-14 23:26:28 +01:00
Andreas Hocevar fa75b78bf9 Do not draw sketch line for circles 2018-01-14 23:26:28 +01:00
Andreas Hocevar a93a811ba0 Do not update geometry when other interactions handle event 2018-01-14 23:26:28 +01:00
Andreas Hocevar 2a64990a71 Long press allows modification of current vertex 2018-01-14 23:26:28 +01:00
Andreas Hocevar fbf951f005 Stop handling events immediately when click tolerance is exceeded 2018-01-14 23:26:28 +01:00
Andreas Hocevar 6934e148ca Merge pull request #7669 from ahocevar/hit-detect-declutter
Use declutter tree only for text and image replays
2018-01-09 15:56:55 +01:00
Andreas Hocevar 953c5d6151 Refactor to avoid replayType member and binding 2018-01-09 15:43:20 +01:00
Andreas Hocevar 9397c41e6c Use declutter tree only for text and image replays 2018-01-09 15:41:45 +01:00
Andreas Hocevar f7efd6904b Merge pull request #7685 from openlayers/greenkeeper/sinon-4.1.4
Update sinon to the latest version 🚀
2018-01-08 13:06:29 +01:00
Andreas Hocevar 1433835d74 Merge pull request #7676 from ahocevar/font-check
Check fonts against two reference fonts
2018-01-08 12:50:04 +01:00
Andreas Hocevar 3685b0ed2a Merge pull request #7680 from openlayers/greenkeeper/webpack-dev-server-2.10.0
Update webpack-dev-server to the latest version 🚀
2018-01-06 10:42:14 +01:00
Andreas Hocevar e2af5f6be3 Check fonts against two reference fonts
In rare cases, the previous font check returned false negatives when
checking against monospace only. By checking against another font, this
can be avoided.
2018-01-03 10:34:18 +01:00
Andreas Hocevar 1572141cc5 Merge pull request #7668 from ahocevar/hit-detect-text-background
Hit detect text background
2018-01-01 18:04:00 +01:00
Andreas Hocevar 30511264c2 Test hit detection for text background 2018-01-01 12:32:26 +01:00
Andreas Hocevar ad8f847465 Consider background box with stroke for hit detection 2018-01-01 12:32:26 +01:00
Andreas Hocevar 745bf3d79f Hit-detect background fill and stroke 2018-01-01 12:32:26 +01:00
Andreas Hocevar 6dd7e5374d Merge pull request #7667 from openlayers/greenkeeper/mocha-4.1.0
Update mocha to the latest version 🚀
2017-12-29 09:42:42 +01:00
Andreas Hocevar 4fc8eff921 Merge pull request #7661 from ahocevar/background-fill-stroke
Background fill stroke
2017-12-26 19:57:54 +01:00
Andreas Hocevar c5a2c2fd22 Apply fill and stroke only when set 2017-12-26 19:34:27 +01:00
Andreas Hocevar 0158738aff Clone backgroundFill and backgroundStroke 2017-12-26 19:33:47 +01:00
Andreas Hocevar f2f5c5e958 Merge pull request #7656 from openlayers/greenkeeper/eslint-4.14.0
Update eslint to the latest version 🚀
2017-12-24 08:32:27 +01:00
Andreas Hocevar 114172d66c Merge pull request #7598 from ahocevar/proj4
Modular proj4 integration
2017-12-16 01:39:45 +01:00
Andreas Hocevar 5c5664ec30 Use proj4 from the proj4 package instead of the global 2017-12-16 01:27:43 +01:00
Andreas Hocevar 9f1ebbb852 Add and use new proj4.register function 2017-12-15 19:17:29 +01:00
Andreas Hocevar 345ce340e4 Named exports for ol/proj/transforms 2017-12-15 18:48:10 +01:00
Andreas Hocevar de1b5d459c Merge pull request #7581 from tschaub/proj
Named exports from ol/proj
2017-12-14 13:23:07 +01:00
Andreas Hocevar 5a4887e300 Remove default export from ol/extent 2017-12-13 22:05:10 +01:00
Andreas Hocevar fd8ec6485c Merge pull request #7579 from mbleichner/fix-blank-tiles
VectorImageTile: call changed() before removing listeners on dispose
2017-12-13 14:20:30 +01:00