Commit Graph

13667 Commits

Author SHA1 Message Date
Tim Schaub 758eed357e Accept a src config, add docs 2014-04-29 09:53:06 -06:00
Tim Schaub a28db38eef Parse options and add docs 2014-04-29 09:53:06 -06:00
Tim Schaub b6277e0a01 Build task for driving the compiler 2014-04-29 09:53:06 -06:00
Tim Schaub 88e41f25ea Generate symbols before exports 2014-04-29 09:53:06 -06:00
Tim Schaub fe5d8712f2 Unused script 2014-04-29 09:53:06 -06:00
Tim Schaub 7c68107b17 Call generate-symbols.js from build.py 2014-04-29 09:53:06 -06:00
Tim Schaub 88d67b7370 Regenerate symbols if parents have changed
The generate-symbols.js task runs JSDoc on source files.  Because this takes a long time (13s) to run on the whole library, the resulting symbols file includes additional metadata to make it possible to do incremental symbol generation on subsequent runs.  The 'path' and 'extends' metadata for a symbol are used to determine what needs to be regenerated.
2014-04-29 09:53:06 -06:00
Tim Schaub 1273c26f7a Use new generate-exports.js task 2014-04-29 09:53:05 -06:00
Tim Schaub c692204ffd Task for generating a limited set of exports 2014-04-29 09:53:05 -06:00
Tim Schaub d3e477a8df Allow main method to be called from elsewhere 2014-04-29 09:53:05 -06:00
Tim Schaub e53fde402b Write out sorted symbols, excluding inherited ones on private classes
There are cases where a private class may inherit an exportable member (e.g. ol.DebugTile_#getTileCoord comes from ol.Tile#getTileCoord).  We want to avoid making these exportable.
2014-04-29 09:53:05 -06:00
Tim Schaub 11b49d6305 Removing old *.exports for completeness 2014-04-29 09:53:05 -06:00
Tim Schaub fb497f5288 Annotations for exports 2014-04-29 09:53:05 -06:00
Tim Schaub 457cfe851a Add a task to generate metadata on exported symbols
This runs JSDoc with the "symbols" config, providing a list of source files that have been changed since the previous run.  The output is used to generate a symbols.json metadata file containing all exportable symbols info.  A separate task will be run to generate the exports.js file.  These same metadata files will be used by a build tool.
2014-04-29 09:53:05 -06:00
Tim Schaub 9800b38250 Adding a JSDoc configuration for generating metadata on exported symbols
This generates info for all symbols annotated with "@todo api" (when Plovr is replaced, this will become "@api").  Generated metadata is written to stdout.  A separate process will handle the output.
2014-04-29 09:53:05 -06:00
Tom Payne debbd83d8b Merge pull request #2024 from twpayne/igc-invalid
Fix IGC handling of invalid IGC files
2014-04-29 15:31:12 +02:00
Tom Payne b64c63ea24 Don't return a feature if there are no coordinates 2014-04-29 15:05:30 +02:00
Frédéric Junod 3742b3c816 Merge pull request #1992 from fredj/select-layer-option
Remove layer option from ol.interaction.Select
2014-04-29 09:56:56 +02:00
Frederic Junod 3c308af91f Merge layerFilter option into layers 2014-04-29 08:58:55 +02:00
Frederic Junod 2c7282d4e9 Remove layer option from ol.interaction.Select
Fixes #1991
2014-04-29 08:56:29 +02:00
Bart van den Eijnden 09621af085 Merge pull request #2020 from bartvde/wfsbbox
Add fifth value for BBOX to be conforming to the WFS 1.1 spec (r=@tschaub)
2014-04-28 18:00:39 +02:00
Bart van den Eijnden b91d8871df Add fifth value for BBOX to be conforming to the WFS 1.1 spec 2014-04-28 17:57:30 +02:00
Frédéric Junod 1f3f1e1cc7 Merge pull request #2018 from fredj/featureoverlay-cleanup
Miscellaneous ol.FeatureOverlay cleanup
2014-04-28 15:24:35 +02:00
Frederic Junod b41ee35422 Use features.forEach instead of for loop 2014-04-28 13:54:26 +02:00
Frederic Junod 90c0944617 Fix coding style 2014-04-28 13:51:42 +02:00
Frederic Junod a5620fa46a Remove unneeded function binding 2014-04-28 13:50:54 +02:00
Frederic Junod 475be37ef4 Remove unused local variable 2014-04-28 13:49:14 +02:00
Bart van den Eijnden 77dfc29b5c Merge pull request #2013 from bartvde/wfsdata
parsing issues with ol.format.WFS (=r@fredj)
2014-04-28 09:38:54 +02:00
Frédéric Junod d7296602fc Merge pull request #2017 from fredj/feature-setgeom-change
Dispatch a change event when the geometry is set
2014-04-28 08:57:32 +02:00
Bart van den Eijnden 2a45d3b41b Merge pull request #2014 from bartvde/getkeys
export getKeys on ol.Object (r=@elemoine,@fredj)
2014-04-28 08:08:35 +02:00
Frédéric Junod 35715da4e6 Merge pull request #2010 from fredj/goog.array.contains
Use goog.array.contains instead of goog.array.indexOf
2014-04-28 07:40:56 +02:00
Frederic Junod 68773941d3 Use goog.array.contains instead of goog.array.indexOf 2014-04-26 08:31:40 +02:00
Frederic Junod 74d83f29d2 Dispatch a change event when the geometry is set
Fixes #2016
2014-04-26 08:09:28 +02:00
Bart van den Eijnden 9c6987aa78 Export ol.Object's getKeys function 2014-04-25 15:02:58 +02:00
Bart van den Eijnden 635dd5f380 Make sure we can parse WFS 1.1 responses from MapServer 2014-04-25 11:29:27 +02:00
Éric Lemoine 928e3244cf Merge pull request #2012 from elemoine/skipfeature
Remove skippeFeatures collection
2014-04-25 09:01:02 +02:00
Bart van den Eijnden 0e6b72f94d Merge pull request #1986 from bartvde/wfs-example
ol.format.WFS has no readProjection method (r=@elemoine)
2014-04-24 21:16:53 +02:00
Éric Lemoine f9c0f12f23 Remove skippeFeatures collection 2014-04-24 20:58:50 +02:00
Bart van den Eijnden 962ddff1c2 Implement readProjection on ol.format.WFS and add WFS JSONP example 2014-04-24 20:58:32 +02:00
Frédéric Junod cd878e0ef8 Merge pull request #2009 from fredj/zoom-no-name
Remove name attributes from the zoom buttons
2014-04-24 15:10:03 +02:00
Frederic Junod d00e515412 Remove name attributes from the zoom buttons 2014-04-24 14:45:14 +02:00
Frédéric Junod a46f8647f9 Merge pull request #1998 from adube/fix-zoomcontrol
Fix zoomcontrol, set type button in button, not span
2014-04-24 14:35:53 +02:00
Frédéric Junod 16d7999deb Merge pull request #2007 from fredj/tilejson-jsonp
Use goog.net.Jsonp instead of goog.net.jsloader
2014-04-22 15:25:29 +02:00
Frederic Junod 1d688ad29d Use goog.net.Jsonp instead of goog.net.jsloader 2014-04-22 14:44:55 +02:00
Frédéric Junod 3ffed43834 Merge pull request #1995 from fredj/cleanup
Use ol.extent.getWidth and ol.extent.getHeight
2014-04-18 16:20:56 +02:00
Éric Lemoine 05217496f7 Merge pull request #1990 from elemoine/select-bug
Rework handling of skipped features in replay
2014-04-18 15:51:36 +02:00
Alexandre Dubé f0d159d6ef Fix zoomcontrol, set type button in button, not span 2014-04-18 09:45:09 -04:00
Éric Lemoine fa1d79016d Merge pull request #1994 from oterral/add_export
Add getSource function in ol.source.ImageVector
2014-04-18 13:37:00 +02:00
Éric Lemoine 8c1c775f85 Merge pull request #1997 from elemoine/skipped-features-performance
Make handling of skipped features faster
2014-04-18 13:17:05 +02:00
Éric Lemoine 4e965123c8 Make handling of skipped features faster 2014-04-18 10:52:20 +02:00