Commit Graph

151 Commits

Author SHA1 Message Date
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
Tom Payne 51ed3e58c1 Include libtess.js in build 2013-10-01 15:14:12 +02:00
Marc Jansen 4b60829b4a Fix typos in build.py's help target.
See #1034. Thanks @probins.
2013-09-25 19:56:32 +02:00
Tim Schaub 4def0c6a84 Differentiating doc from apidoc
This renames the doc task to apidoc.  The apidoc delegates to jsdoc3 currently.  We will have additional documentation that is not built by jsdoc3.  It makes sense to reserve the more general 'doc' name for building all documentation (not just apidoc).
2013-09-23 23:58:25 +02:00
Marc Jansen 6a39d11222 Merge pull request #1034 from marcjansen/build-help
Add a help-target to build.py.
2013-09-20 03:47:21 -07:00
Marc Jansen 62a7505d2b Mention default target 'build' in the help output. 2013-09-18 17:49:17 +02:00
Marc Jansen b8a7c5ee9e Add a help-target to build.py. 2013-09-18 13:24:02 +02:00
Tom Payne fef6f5c0a5 Use compiled mocha-phantomjs.js instead of CoffeScript 2013-09-18 11:25:55 +01:00
Frederic Junod 4bae5e755a Rename externs/html5.js to externs/closure-compiler.js
Add add a fix for issues:
  * https://code.google.com/p/closure-compiler/issues/detail?id=1084
  * https://code.google.com/p/closure-compiler/issues/detail?id=1088
2013-09-08 16:53:28 +02:00
Tim Schaub 36ea408ed2 Handle namespace provides
It looks like the convention in the Closure Library is to export either namespaces (starting with lowercase), constructors (starting with uppercase), or enums (all uppercase, one instance).  I don't see any places where the Closure Library exports a function that is not a constructor.

Following the same convention, when we export `ol.foo`, it means we are making available function properties of the `ol.foo` object that start with a lowercase letter.
2013-09-04 13:55:54 -06:00
Tom Payne b06a6d1aef Only check examples in advanced mode 2013-08-15 15:21:00 +02:00
Bruno Binet dddea56c2c Add a temporary html5 externs file
This is needed because the current version of closure compiler we use does not
include externs for valueAsNumber which we now use in ol.dom.Input.
So this backports patch from issue:
https://code.google.com/p/closure-compiler/issues/detail?id=1060

This patch should be reverted when the next closure compiler release is out
with valueAsNumber externs.
2013-08-13 11:31:58 +02:00
Tom Payne 05c950156a Use plovr-81ed862 2013-08-06 15:20:43 +02:00
ahocevar da2fd4f80f Append '?mode=advanced' for advanced mode to avoid G+ inclusion 2013-08-04 14:38:55 +02:00
Tim Schaub 38172c4f20 Adding TopoJSON parser 2013-07-26 15:05:52 -06:00
Tom Payne 68d943d98d Use Oracle Java on Mac OS X 2013-07-24 12:13:40 +02:00
Tom Payne cec83abc3e Use regex module to work around arbitrary limitations in re
Our automatically generated regular expressions break Python's random
and arbitrary limit of 100 groups. See
  http://stackoverflow.com/questions/478458
2013-07-22 18:20:39 +02:00
Tom Payne 368194f293 w3c_device_sensor_event.js is now supplied with Plovr 2013-07-22 17:42:47 +02:00
Tom Payne 0fc60e9957 Use plovr-2013-rc3 2013-07-22 17:42:46 +02:00
Éric Lemoine d9f554e10d Dir build/gh-pages renamed to build/hosted 2013-07-05 20:45:40 +02:00
Tim Schaub 04bab7e436 The examples and docs are deployed from the openlayers.github.io repo
To deploy the latest docs and examples, see https://github.com/openlayers/openlayers.github.io/blob/build/README.md

tl;dr

    git clone -b build https://github.com/openlayers/openlayers.github.io.git
    cd openlayers.github.io
    npm install
    npm run deploy

Subsequent deploys are simply: `npm run deploy`

This publishes the examples (http://ol3js.org/en/master/examples/) and docs (http://ol3js.org/en/master/apidoc/).

The `build.py gh-pages` target published under different paths (http://ol3js.org/ol3/master/examples/ and http://ol3js.org/ol3/master/apidoc/).  Having two (not always up to date) copies of this content hosted on the same domain is A Bad Idea.
2013-06-27 15:56:11 -06:00
Tim Schaub 48130670ca Create separate target for linting generated files
This allows us to ignore specific error codes (e.g. LINE_TOO_LONG) for externs, exports, types, etc. (any auto-generated files).
2013-06-25 10:43:27 -06:00
Tim Schaub bb980abe8c And the proper syntax 2013-06-11 16:53:55 -06:00
Tim Schaub 9726be64c6 More useful detail in log messages
One line per missing require.  Include line number of last use.  Include proper syntax for adding requires.
2013-06-11 16:42:39 -06:00
Frédéric Junod 55b3cbaf17 Merge pull request #552 from fredj/deviceorientation
Add ol.DeviceOrientation
2013-06-11 02:09:38 -07:00
Tim Schaub 2964cc922c Test dependencies in a common place 2013-06-10 09:19:02 -06:00
Frederic Junod 448e300a03 Add ol.DeviceOrientation 2013-06-07 16:16:02 +02:00
Tom Payne e744a1b6e9 Enable all gjslint errors 2013-05-28 16:01:34 +02:00
Éric Lemoine 7a71f107cb Export and externalize Control.setMap 2013-05-10 10:24:11 +02:00
ahocevar ae5d1cee1e Merge pull request #527 from ahocevar/jsdoc-filtered
Only document the exported API, not every symbol. r=@elemoint
2013-04-10 06:28:25 -07:00