Commit Graph

41 Commits

Author SHA1 Message Date
Andreas Hocevar
e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Peter Robins
d7180fd1e8 Reinsert goog.provide for enums in olx.js 2016-07-05 07:32:30 +00:00
Peter Robins
e5cc971dc9 Remove goog.provide for enums only in olx.js 2016-06-15 09:14:13 +00:00
Frederic Junod
e289bfbb7d Use ol.inherits instead of goog.inherits 2016-06-08 08:38:12 +02:00
Andreas Hocevar
2ec4969ac7 Remove api annotations from enums 2016-06-03 09:29:14 +02:00
Tom Payne
a6a621834f Handle UTC midnight wrap around, fixes #5371 2016-05-23 20:36:01 +02:00
Tobias Bieniek
d52586d586 format/igc: Remove duplicate regex exec() call
HFDTE_RECORD_RE_.exec(line) has already been called above
2016-05-19 14:35:15 +02:00
Marc Jansen
f1fdfb7971 Don't use goog.string.newlines.* 2016-02-12 15:07:56 +01:00
Tim Schaub
13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Frederic Junod
6e58be72bb Remove unused goog.require 2015-12-02 14:08:34 +01:00
Guillaume Beraudo
fef1b0981e Remove goog.string.trim()
Replace with standard ECMAScript 5.1.
2015-10-01 14:14:06 +02:00
Marc Jansen
eb5088eb40 Remove goog.isNull in format classes 2015-10-01 09:17:14 +02:00
Tim Schaub
1fceb4a709 Remove goog.isDef from formats 2015-09-25 11:28:54 -06:00
Tim Schaub
6a564597fb Update types accepted when reading features 2015-04-18 17:07:34 -06:00
Éric Lemoine
e45c44fa01 Add missing goog.provide's 2015-04-07 13:49:36 +02:00
Frederic Junod
077a827197 Move readProjectionFrom* functions to the base classes 2015-01-21 09:15:04 +01:00
Tobias Sauerwein
a231086a8b Merge pull request #2407 from ahocevar/format-projection
Options for feature readers and writers to support transforms
2014-08-21 17:58:10 +02:00
tsauerwein
b30ed6b934 Put options on objectStack for xml formats 2014-08-19 09:42:44 +02:00
tsauerwein
539e4a23b9 Introduce defaultDataProjection for formats 2014-08-18 15:31:06 +02:00
Peter Robins
d9976ca207 Fix missing API docs 2014-08-11 09:35:16 +00:00
tsauerwein
f8560df793 Implement read transforms for ol.format.IGC 2014-08-11 10:51:34 +02:00
Tim Schaub
4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Éric Lemoine
eafc2ac371 Change setValues to setProperties 2014-06-27 17:26:51 +02:00
Peter Robins
41d9f0360a Add @classdesc to classes 2014-06-09 12:10:19 -04:00
Andreas Hocevar
fbdbbfb7a7 Get rid of stability annotations and document stability with api
This change adds a stability value to the api annotation, with
'experimental' as default value.

enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.

Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3 Greatly simplify and document the usage of JSDoc
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.

As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.

This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288 Annotations for exports 2014-04-29 09:53:05 -06:00
Tom Payne
b64c63ea24 Don't return a feature if there are no coordinates 2014-04-29 15:05:30 +02:00
Paul Spencer
37feb7db64 Add documentation for the IGC format. 2014-03-11 20:53:21 -04:00
Tom Payne
7e32676a9e Rename ol.format.Text to ol.format.TextFeature 2014-02-28 13:11:57 +01:00
Tom Payne
a603ad86e9 Add stability annotation to ol.format.IGC 2014-02-03 14:59:13 +01:00
Frederic Junod
401acc77f3 Remove unneeded 'ms' param from Date.UTC function 2014-01-23 16:14:50 +01:00
Tom Payne
3e95df495e Correct month calculation in ol.format.IGC 2014-01-20 11:21:59 +01:00
Tom Payne
7cfca09632 Fix date calculation in ol.format.IGC 2014-01-16 20:04:06 +01:00
Frederic Junod
b53ddf5b42 Create 'type' annotation for 'const' variables 2014-01-13 08:53:36 +01:00
Frederic Junod
1f0c70fec3 Parse HFDTE record before the others H records
ol.format.IGC.H_RECORD_RE_ don't match HFDTE records (because of the ':').
2013-12-22 12:44:12 +01:00
Frederic Junod
979083bb21 Fix ol.format.IGC HFDTE parsing (HFDTEDDMMYY not HFDTEYYMMDD) 2013-12-22 12:44:12 +01:00
Frederic Junod
eaf6d7caef Add ol.format.IGC#getExtensions 2013-12-20 09:08:08 +01:00
Éric Lemoine
fead554a39 Add missing goog.provide's (for @enum's) 2013-12-18 23:29:26 +01:00
Tom Payne
fde0350414 Add ol.format.IGC 2013-12-16 20:25:49 +01:00