Tim Schaub
3c92b693c5
Adding comment about using externs/olx.js as a source file
...
The externs/olx.js script includes @typedef annotations for objects that are used in the library. When compiling the examples together with the library, we need these @typedef annotations. In this same case, we don't need the object property names to be treated as externs (they can be safely renamed).
2014-04-08 20:11:49 -06:00
Tim Schaub
acb0fd8f06
Use externs/olx.js instead of objectliterals.jsdoc
...
The single externs/olx.js file describes all of the "options" objects we accept in our constructors. The @typedef annotations are used by the compiler for type checking. The @type annotations include documentation for individual options and serve as externs when compiling a profile of the library. When compiling an application together with the library, the externs/olx.js file is included as one of the sources to provide the @typedef's without generating externs.
If we want to maintain multiple src/*.externs.js files instead of one large externs/olx.js file, we can. But while we are still using Plovr, it makes for easier build configurations to have one file.
This removes the build tasks that generated the build/src/external/src/externs/types.js and build/src/internal/src/types.js files as those are both replaced by the single externs/olx.js file.
2014-04-08 11:41:24 -06:00
Paul Spencer
6d3bbe61ce
Upgrade to jsdoc 3.3.
2014-04-08 07:39:57 -04:00
Frederic Junod
f60854e63f
Remove unneeded json.js extern
2014-03-27 11:21:20 +01:00
Andreas Hocevar
b59fa4e8af
Merge pull request #1898 from ahocevar/events
...
Document events
2014-03-26 14:13:59 +01:00
ahocevar
7e850ca33d
Use JSDoc's stock event documentation
2014-03-25 18:21:08 +01:00
ahocevar
50f8eb65fd
Add capabilities to document events
2014-03-24 21:53:18 +01:00
Tom Payne
7923540f74
Add jshint target to check and integration-test targets
2014-03-24 00:46:49 +01:00
Tom Payne
df6e69a56e
Add jshint target
2014-03-24 00:46:49 +01:00
Tom Payne
9bd49e985e
Add leading whitespace check
2014-03-12 19:52:38 +01:00
Paul Spencer
94efa58363
Merge pull request #1844 from pagameba/doc-ol-format-feature
...
Documentation for ol.format.Feature subclasses
2014-03-12 10:23:25 -04:00
Paul Spencer
c74e01ca0a
Add @function as a custom jsdoc tag for the linter.
2014-03-11 20:53:20 -04:00
Tom Payne
fa1fae732f
Don't use the regex module
2014-03-11 21:41:36 +01:00
Marc Jansen
4107b140a6
Adjust parameters of jsdoc-call in build.py.
...
The `src`-directory is no longer defined on the commmandline
and the `index.md` as explicit source file is now the first
argument.
2014-03-06 16:08:46 +01:00
Marc Jansen
fbecd9a6b9
Minor change of wording in build.py help.
2014-02-28 10:31:53 +01:00
Benjamin Thurm
cb8d9d9b68
Update Win build defaults with min fallbacks
2014-02-26 11:42:34 +01:00
Benjamin Thurm
1253765c89
Remove unused import and variable
2014-02-26 10:28:09 +01:00
Benjamin Thurm
a19e992a5b
Run files via shell commands for Win compatibility
2014-02-26 09:53:56 +01:00
Tom Payne
69addbca87
Merge pull request #1749 from twpayne/windows-newlines
...
Generate proper line endings on Windows
2014-02-25 22:26:54 +01:00
Tom Payne
face69cda9
Remove reference to stale build/src/external/src/types.js target
2014-02-25 22:16:45 +01:00
Tom Payne
8e9d5fb0e9
Always write binary files in mode wb
2014-02-23 14:33:38 +01:00
Tom Payne
48b85316bb
Always read binary files with mode rb
2014-02-23 14:33:38 +01:00
Tom Payne
3aedca7bd6
Always read line-by-line with mode rU
2014-02-23 13:50:54 +01:00
Tim Schaub
e633f7f8c1
Don't inject stylesheets with JavaScript
...
This reverts 4d619d71b1 (see #1527 ), going back to what we had after e13075f6ff (see #881 ).
To avoid the 404 in the hosted examples, the css is copied to the same relative path when hosted as during development.
2014-02-21 18:45:46 -07:00
Tom Payne
1d2c88efb9
Merge pull request #1717 from twpayne/binary-format
...
Add ol.format.Binary
2014-02-21 12:27:13 +01:00
Frederic Junod
c02920be8f
Remove Font Awesome
...
Everything that we need (icon-arrow-left, icon-arrow-right, icon-plus,
icon-minus, icon-download and icon-flag) is already provided by Bootstrap.
2014-02-19 18:04:08 +01:00
Tom Payne
21a5052da6
Include VBArray externs in build
2014-02-17 17:37:25 +01:00
Tom Payne
524acc1901
Sort externs alphabetically
2014-02-17 17:36:49 +01:00
Antoine Abt
21bfdb1d1e
Add example extern for exampleNS
2014-02-14 09:32:14 +01:00
Tom Payne
f4ab0cbac0
Merge remote-tracking branch 'openlayers/master' into vector-api
2014-01-04 15:02:56 +01:00
Tom Payne
0e7a545871
Add missing dependency for build/ol-all.js
2014-01-03 14:55:02 +01:00
Tom Payne
94c22055be
Merge pull request #1394 from twpayne/zoomify
...
Zoomify (updated)
2014-01-02 09:19:53 -08:00
Tom Payne
786d74ce88
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-30 22:23:33 +01:00
Peter Robins
e9984334a6
Make build.py compatible with Python 2.6
2013-12-29 12:00:43 -05:00
Tom Payne
e229aab76a
Don't check examples with PhantomJS that begin with // NOCHECK
2013-12-16 16:40:27 +01:00
Éric Lemoine
35d5158454
Merge remote-tracking branch 'upstream/master' into vector-api
...
Conflicts:
src/objectliterals.jsdoc
src/ol/attribution.js
src/ol/geom/geometry.js
src/ol/geom/geometrycollection.js
src/ol/geom/linestring.js
src/ol/layer/vectorlayer.exports
src/ol/layer/vectorlayer.js
src/ol/map.js
src/ol/proj/proj.js
src/ol/renderer/canvas/canvasvectorlayerrenderer.js
src/ol/source/imagewmssource.js
src/ol/source/tilewmssource.js
src/ol/source/vectorsource.exports
src/ol/source/vectorsource.js
src/ol/source/wmssource.js
src/ol/style/style.js
src/ol/tilegrid/tilegrid.js
src/ol/tilegrid/wmtstilegrid.js
src/ol/tilegrid/xyztilegrid.js
2013-12-13 12:53:57 +01:00
Éric Lemoine
cfb3e7310f
No longer generate src/external/src/types.js
2013-12-12 15:02:02 +01:00
Tom Payne
1dd5f7f7c8
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-12-05 16:53:04 +01:00
Tom Payne
d9c94c7012
Don't build ol.css in check target
2013-12-05 13:12:39 +01:00
Tom Payne
424f8fcc6d
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-11-27 13:10:20 +01:00
Marc Jansen
ed986afe26
Better formatted output for formatted sizes.
2013-11-21 22:26:11 +01:00
Tom Payne
eb6dc88a9f
Don't check examples that start with // NOCOMPILE
2013-11-20 11:44:46 +01:00
Tom Payne
655bd0727f
Use -server -XX:+TieredCompilation to double compilation speeds
2013-11-19 15:51:03 +01:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
Tom Payne
3eded60938
Merge pull request #1118 from twpayne/build-examples-together
...
Build examples together
2013-10-15 03:48:34 -07:00
Tom Payne
3f1ae87eee
Only build combined examples in integration tests
2013-10-10 16:45:24 +02:00
Tom Payne
e2df5ceacb
Add target to concatenate and build all examples
2013-10-10 16:45:05 +02:00
Tim Schaub
03c7e7c031
Rely on java in path
2013-10-08 13:47:46 -06:00
Tom Payne
57b4606aeb
Merge pull request #1079 from twpayne/no-glsl-unit
...
Remove glsl-unit
2013-10-02 03:23:38 -07:00
Tom Payne
f1d4b58eb9
Use pyglslunit instead of glsl-unit
2013-10-01 18:32:36 +02:00