Commit Graph

141 Commits

Author SHA1 Message Date
Éric Lemoine
f4b20175cc Add a specific loader for hosted examples
This loader is responsible for adding ol.js, ol.css and the example-specific js script to the document. This is the loader used in examples when hosted.
2012-10-16 21:51:48 +02:00
Tom Payne
9d253ab6bb Refactor exports and externs 2012-10-04 15:11:26 +02:00
Tom Payne
8387f74a7b Generate exports automatically from src/ol/exports.txt 2012-09-29 15:17:40 +02:00
Tom Payne
71e42b2448 Refactor build system
This rather large commit refactors the build system to solve a number of
problems:
- Object literal types are now declared in just one place
- There are no more circular dependencies
- There is no need for concealed subclasses in build-standalone mode

When building in standalone mode, you need to include the source in
build/src/external.  This declares object literal types as externs so
that their properties are not renamed.

When building with the application, you need to include the source in
build/src/internal.  This declares object literal types as typedefs so
that their properties can be renamed and removed.

Note also that ol.MapOptions has been merged into ol.Map, with some
renaming.
2012-09-29 11:51:53 +02:00
Tom Payne
b6c06f4760 Generate externs and typedefs 2012-09-28 21:55:48 +02:00
Éric Lemoine
7a296a273b Export the ol.overlay.Overlay symbol 2012-09-28 15:21:23 +02:00
Tom Payne
da5ad0bf20 Minify CSS with Closure Stylesheets
See https://code.google.com/p/closure-stylesheets/
2012-09-28 14:16:25 +02:00
Tom Payne
65b8e0f915 Use object literals and use generic tile layer 2012-09-27 12:45:00 +02:00
Tom Payne
546f1f4b9f Add initial exports and externs 2012-09-26 18:28:06 +02:00
Tom Payne
b7020750ac Add initial exports 2012-09-24 18:25:19 +02:00
Tom Payne
d7c6ce19a9 Rename build/ol-compiled.js to build/ol.js 2012-09-24 18:25:19 +02:00
Tom Payne
f8c31ba45c s/ol3/ol/ 2012-09-24 14:21:41 +02:00
Tom Payne
6737220b83 Remove ol namespace 2012-09-24 14:07:11 +02:00
Tom Payne
397ebca228 Wrap compiled API in anonymous function 2012-09-20 13:04:51 +02:00
Tom Payne
4a8ae08c1c Merge pull request #24 from openlayers/exp 2012-09-13 15:43:42 +02:00
Tom Payne
6c0b719aef Remove OpenLayers 2, as discussed with @ahocevar, @elemoine and @tschaub 2012-08-30 15:00:23 +02:00
Tom Payne
4aff22e980 ol3 is now internal, ol is now external
As discussed with @ahocevar, @elemoine and @tschaub.
2012-08-29 20:46:42 +02:00
Tom Payne
6cb362218b Add initial simplified API 2012-08-07 20:29:19 +02:00
Tom Payne
0a4d31417f Clean up build system and add demos 2012-08-07 14:17:15 +02:00
Xavier Mamano
9c0503a99f Remove "firebug" on the tests.cfg 2012-04-28 18:33:22 +02:00
Peter Robins
349fc2f69e Further tidy-up of svn refs 2012-03-30 11:36:40 +01:00
Éric Lemoine
95eb1454f4 change copyright dates in build/license.txt 2012-03-29 22:01:48 +02:00
Antoine Abt
23b0971c2f update mobile example to use Zoom control. update build config file 2012-03-14 20:25:07 +01:00
Matt Priour
b8f396f44d Remove GML, KML, & WmsGFI for vector shapes on non-interactive tiles use case 2012-03-05 10:48:49 -06:00
Matt Priour
ba5f638120 Merge branch 'master' into light-build 2012-03-05 10:46:04 -06:00
Éric Lemoine
26be40a1bd Merge pull request #186 from jorix/Build-monitor-errors
Build: Monitor the errors from the merge process.
2012-03-02 14:33:31 -08:00
Matt Priour
5c42b2f3ff Remove canvas renderer, as it is redundant with SVG and SVG is better supported and more robust across non-IE browsers 2012-02-29 10:13:57 -06:00
Xavier Mamano
fe33e29000 If using OpenLayers namespace must have at least one requirement. 2012-02-29 17:07:41 +01:00
Matt Priour
3667428692 Add LayerSwitcher and remove vector editing 2012-02-28 22:52:40 -06:00
Matt Priour
d0ccfacb66 Add GetFeature control & FramedCloud popups. Use OSM.js rather than XYZ.js 2012-02-28 11:51:35 -06:00
Matt Priour
62f62510c8 Initial light build config file 2012-02-28 10:52:49 -06:00
Xavier Mamano
ab3325498e A configuration file based on a directive [exclude] is a anti-pattern, so is proposed to remove library.cfg. 2012-02-14 18:56:46 +01:00
Xavier Mamano
1996f5cb25 Monitor the errors from the merge process. 2012-01-28 19:13:28 +01:00
ahocevar
e936ce7f2a Setting SingleFile.js first (see #166) 2012-01-21 13:01:16 +01:00
Peter Robins
5cca86c233 Suggested addition to build README 2012-01-18 11:10:11 +00:00
Tim Schaub
560295e78a Update mobile build profile to include OSM.js.
Since 11454cbc1b, the OSM.js script must be included where the OSM layer is used.
2012-01-17 23:55:34 -07:00
tschaub
e321bd3d60 Merge branch '3519-CC_SrcLin2' 2011-12-29 13:58:48 -07:00
Tim Schaub
c8e3ae73d4 I think it's fair to say we've removed Prototype influence. 2011-12-12 20:01:40 -05:00
Tim Schaub
92ea378729 One license block fewer (see #99). 2011-12-12 19:57:05 -05:00
fredj
1c9f785998 remove deleted files from build/library.cfg 2011-12-07 15:35:05 +01:00
Xavier Mamano
7169eba788 build.py -c closure: Show file name and line number of errors and warnings. 2011-12-05 20:11:00 +01:00
Xavier Mamano
9ed75efad1 don't use errors-pending-to-fix.js 2011-12-03 18:32:26 +01:00
Xavier Mamano
5aba9061b2 Add ticket #3593 in errors-pending 2011-12-03 17:24:57 +01:00
Xavier Mamano
1a5e57a32f build.py -c closure: generate an error of undefined variables 2011-12-03 17:07:10 +01:00
fredj
dc991e6f85 Remove Geometry.Surface 2011-11-28 12:41:47 +01:00
fredj
735f49cca0 move Protocol.SQL.Gears into deprecated.js 2011-11-21 12:23:05 +01:00
tschaub
f90d34fad9 Exclude deprecated methods from full build. 2011-11-08 17:10:31 -07:00
Xavier Mamano
4447d3c8db Modify build script to support minimizing with jsmin before passing to closure
webservice for closure_ws. (Closes #3422)
2011-09-20 23:13:57 -04:00
Frédéric Junod
a6e913d5fb fix typo in build.py. p=jorix, r=me (closes #3423)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12186 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-07-25 12:22:54 +00:00
Éric Lemoine
9dcdbac238 better help message for the --compressor option of build.py, no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12045 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-06 06:47:46 +00:00