Commit Graph

22684 Commits

Author SHA1 Message Date
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
Tim Schaub 0d5026165f Rename _ol_Image_ to ImageWrapper 2018-02-08 11:49:37 -07:00
Tim Schaub e075a4fbca Rename _ol_ImageBase_ to ImageBase 2018-02-08 11:46:56 -07:00
Frederic Junod 74f7bdc3a8 Use tmpSize to reduce garbage generation 2018-02-08 15:49:11 +01:00
Frederic Junod e25e61c3b7 Rename location shader classes
And remove the now unneeded NAMESPACE variable
2018-02-08 15:18:11 +01:00
Frederic Junod 83d530e181 Named exports from WebGL shaders 2018-02-08 15:18:11 +01:00
Frederic Junod 2bf252ab0d Add MODULE variable in the glsl file 2018-02-08 15:18:11 +01:00
Frederic Junod 106059329d Fix module path in the shader templates 2018-02-08 15:18:11 +01:00
Frederic Junod 5f44d5e8e2 Fix indentation in shaderlocations.mustache 2018-02-08 15:18:11 +01:00
Frederic Junod e8c8c32cf3 Fix WebGL shader location in Makefile 2018-02-08 15:18:11 +01:00
Frédéric Junod 3d817ff7e7 Merge pull request #7789 from fredj/gl_buffer_usage
Use STATIC_DRAW as default WebGL buffer usage
2018-02-08 15:17:57 +01:00
Frederic Junod 744cea6421 Use STATIC_DRAW as default WebGL buffer usage 2018-02-08 15:00:30 +01:00
Frédéric Junod b55657b17f Merge pull request #7787 from fredj/rename
More renaming
2018-02-08 12:24:57 +01:00
Tim Schaub 25a607973d Merge pull request #7782 from tschaub/default-names
Named exports from specific proj modules
2018-02-08 04:03:31 -07:00
Tim Schaub 3ae88e733b Merge pull request #7780 from tschaub/named-exports
More named exports
2018-02-08 04:02:31 -07:00
Frederic Junod 3d9b1abe17 Rename _ol_webgl_Shader_ to WebGLShader 2018-02-08 09:24:29 +01:00
Frederic Junod 62b2900348 Rename _ol_webgl_Buffer_ to WebGLBuffer 2018-02-08 09:24:29 +01:00
Frederic Junod d1c11d50eb Rename _ol_webgl_Context_ to WebGLContext 2018-02-08 08:42:19 +01:00
Tim Schaub 36ab4c1064 Merge pull request #7783 from raiyni/xml
Named exports from ol/xml
2018-02-07 14:02:21 -07:00
raiyni 4449da3e63 named exports from ol/xml 2018-02-07 14:42:01 -06:00
Tim Schaub 9c64d29941 Named exports from ol/proj/epsg4326 2018-02-07 12:50:46 -07:00
Tim Schaub 6701d19a45 Named exports from ol/proj/epsg3857 2018-02-07 12:44:02 -07:00
Tim Schaub 11a4e1afa6 Named exports from ol/size 2018-02-07 11:47:51 -07:00
Tim Schaub cd9b06135f Named exports from ol/net 2018-02-07 11:35:05 -07:00
Frédéric Junod 3266ffc58f Merge pull request #7774 from fredj/memory
Pass destination extent to avoid garbage generation
2018-02-07 16:27:30 +01:00
Tim Schaub b41cdf5697 Merge pull request #7777 from openlayers/greenkeeper/babel-minify-webpack-plugin-0.3.0
Update babel-minify-webpack-plugin to the latest version 🚀
2018-02-07 07:33:48 -07:00
Frederic Junod b2d3d142f0 Pass destination extent to avoid garbage generation 2018-02-07 14:52:54 +01:00
Frederic Junod 76cd52325d Fix getIntersection return value when an opt extent is provided
The return value was not an empty extent when the extents didn't intersect.
2018-02-07 14:49:10 +01:00
greenkeeper[bot] 0ba7917608 chore(package): update babel-minify-webpack-plugin to version 0.3.0 2018-02-07 13:06:09 +00:00
Marc Jansen e8c3556183 Merge pull request #7771 from marcjansen/rename-loadingstrategy
Named exports from loadingstrategy
2018-02-07 07:16:32 +01:00
Marc Jansen 0c4568bca8 Merge pull request #7772 from marcjansen/named-filter-exports
Named exports from filter module
2018-02-07 07:15:14 +01:00
Marc Jansen a34b92408e Use function declaration for exports 2018-02-06 17:32:32 +01:00
Marc Jansen 9fabdf309f Use function declaration for exports 2018-02-06 17:26:49 +01:00
Marc Jansen e716731b98 Merge pull request #7770 from marcjansen/more-renames
Rename _ol_render_Box_ to RenderBox
2018-02-06 11:15:18 +01:00
Frédéric Junod 44e842f33e Merge pull request #7763 from fredj/memory
Use the temporary extent in VectorTileLayer
2018-02-06 08:38:16 +01:00
Marc Jansen 7f6780b7fb Use named exports from filter module 2018-02-06 07:47:54 +01:00
Marc Jansen eac8a9f3ec Named exports from filter 2018-02-06 07:47:30 +01:00
Marc Jansen 753ce9ca8e Named exports from loadingstrategy 2018-02-06 06:51:38 +01:00
Marc Jansen 3fee998108 Rename _ol_render_Box_ to RenderBox 2018-02-06 06:39:15 +01:00
Marc Jansen 5d62a89999 Merge pull request #7765 from marcjansen/names-names-names
Named exports from events condition
2018-02-05 22:16:34 +01:00
Marc Jansen 0c62c68c5e Merge pull request #7767 from marcjansen/transform-typo
Transformation functions: Fix spelling and use the symbol ×
2018-02-05 22:16:13 +01:00
Marc Jansen 65ee0b17d7 Fix spelling and use the symbol × 2018-02-05 21:04:52 +01:00