1
0
Fork 0
flightgear/tests
Florent Rougon 4d36082398 Add-ons: detailed, machine-parseable metadata for authors and maintainers
(everything described here lives in the namespace flightgear::addons)

New classes: Author, Maintainer, and Contact. Author and Maintainer
derive from Contact. For each contact, the following can be defined in
addon-metadata.xml: name, email, and url. See [1] for details about the
syntax and usage policy. Nasal bindings have been updated accordingly,
there are three new ghosts: addons.Contact, addons.Author and
addons.Maintainer.

The enum class UrlType has two new members: author and maintainer. The
Addon::getUrls() method has a new signature:

  std::multimap<UrlType, QualifiedUrl> getUrls() const;

because non-empty 'url' fields for authors and maintainers contribute to
the result, and there can be an arbitrary number of authors and an
arbitrary number of maintainers defined for a given add-on---therefore,
std::map can't be used anymore.

Finally, QualifiedUrl has a new field (detail) which stores the author
name (resp. maintainer name) when the QualifiedUrl type is
UrlType::author (resp. UrlType::maintainer). Currently, this 'detail'
field is not used for other URL types, but this could be changed if
desired.

[1] https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Docs/README.add-ons
2018-01-02 21:57:35 +01:00
..
.gitignore Ignore generated files 2010-06-02 11:27:16 +02:00
alcinfo.cxx KIll off ALUT now it's gone from SimGear 2012-08-22 00:10:00 +01:00
CMakeLists.txt Add-ons: detailed, machine-parseable metadata for authors and maintainers 2018-01-02 21:57:35 +01:00
est-epsilon.cxx John Denker: 2009-12-09 08:15:09 +01:00
fake_sgPrecipitation.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fake_sgSky.cxx Return reference to non temporary string. 2017-04-06 18:26:26 +09:00
fake_sgSky.hxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fake_sound.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
fakeAIAircraft.hxx Added the core of the AI wake computations with its tests. 2017-06-10 18:27:19 +02:00
fgTestDriver.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
gl-info.cxx John Denker: 2009-12-09 08:15:09 +01:00
test-env-map.cxx test for the presence of alut.h. if it's not found only display a warning message in gl-info and test-env-map. A clean build without glut installed is now possible. 2009-09-09 08:56:32 +02:00
test-gethostname.cxx Initial revision. 2001-03-22 04:19:12 +00:00
test-mktime.cxx Martin Spott: Use standardized Sun directive. 2005-10-06 11:08:26 +00:00
test-text.cxx Type consistency. 2007-05-16 16:47:13 +00:00
test-up.cxx Even more imlicit includes becoming explicit. 2010-08-07 14:07:17 +01:00
test_flightplan.cxx Retain signedness of numLegs to avoid unsigned/signed comparison. 2017-04-06 18:26:09 +09:00
test_ls_matrix.cxx Fixed LaRCSim matrix computation routines. 2017-06-05 17:18:52 +02:00
test_navaids2.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
testAeroElement.cxx Added the core of the AI wake computations with its tests. 2017-06-10 18:27:19 +02:00
testAeroMesh.cxx Added the core of the AI wake computations with its tests. 2017-06-10 18:27:19 +02:00
testStubs.cxx Event input layer based on HID-Api 2017-12-18 17:15:55 +00:00
unitTestHelpers.cxx Unit-test for initPosition. 2017-03-27 15:38:05 +01:00
unitTestHelpers.hxx Unit-test for initPosition. 2017-03-27 15:38:05 +01:00