From 258425d649058c7a4f376ca13039dd2152d0b454 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 9 Nov 2005 10:49:56 +0000 Subject: [PATCH] Bumped the version numbers up to 1.0 in preparation for 1.0-rc1. --- include/osg/Version | 10 +++++----- include/osgDB/Version | 2 +- include/osgGA/Version | 4 ++-- include/osgParticle/Version | 20 ++++++++++++++++++++ include/osgProducer/Version | 2 +- include/osgSim/Version | 2 +- include/osgTerrain/Version | 2 +- include/osgText/Version | 4 ++-- include/osgUtil/Version | 2 +- src/osg/Version.cpp | 2 +- src/osgDB/Version.cpp | 2 +- src/osgGA/Version.cpp | 2 +- src/osgParticle/Version.cpp | 2 +- src/osgProducer/Version.cpp | 2 +- src/osgSim/Version.cpp | 2 +- src/osgTerrain/Version.cpp | 2 +- src/osgText/Version.cpp | 2 +- src/osgUtil/Version.cpp | 2 +- 18 files changed, 43 insertions(+), 23 deletions(-) diff --git a/include/osg/Version b/include/osg/Version index eac59d139..218c98df4 100644 --- a/include/osg/Version +++ b/include/osg/Version @@ -18,14 +18,14 @@ extern "C" { -#define OSG_VERSION_MAJOR 0 -#define OSG_VERSION_MINOR 9 -#define OSG_VERSION_RELEASE 9 -#define OSG_VERSION_REVISION 1 +#define OSG_VERSION_MAJOR 1 +#define OSG_VERSION_MINOR 0 +#define OSG_VERSION_RELEASE 0 +#define OSG_VERSION_REVISION 0 /** * osgGetVersion() returns the library version number. - * Numbering convention : OpenSceneGraph-0.9.9 will return 0.9.9 from osgGetVersion. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgDB/Version b/include/osgDB/Version index 745134583..057651041 100644 --- a/include/osgDB/Version +++ b/include/osgDB/Version @@ -20,7 +20,7 @@ extern "C" { /** * osgDBGetVersion() returns the library version number. - * Numbering convention : osg_src-0.8.31 will return 0.8.31 from getVersion_osg. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgDBGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgGA/Version b/include/osgGA/Version index a118a2fb2..60f014668 100644 --- a/include/osgGA/Version +++ b/include/osgGA/Version @@ -20,8 +20,8 @@ extern "C" { /** - * getVersion_osgGA() returns the library version number. - * Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osgGA. + * osgGAGetVersion() returns the library version number. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgGAGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgParticle/Version b/include/osgParticle/Version index be47dd234..bf6b0d684 100644 --- a/include/osgParticle/Version +++ b/include/osgParticle/Version @@ -19,7 +19,27 @@ extern "C" { +/** + * osgParticleGetVersion() returns the library version number. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgParticleGetVersion. + * + * This C function can be also used to check for the existence of the OpenSceneGraph + * library using autoconf and its m4 macro AC_CHECK_LIB. + * + * Here is the code to add to your configure.in: + \verbatim + # + # Check for the OpenSceneGraph Terrain library + # + AC_CHECK_LIB(osg, osgParticleGetVersion, , + [AC_MSG_ERROR(OpenSceneGraph Terrain library not found. See http://www.openscenegraph.org)],) + \endverbatim +*/ OSGPARTICLE_EXPORT const char* osgParticleGetVersion(); + +/** + * osgParticleGetLibraryName() returns the library name in human friendly form. +*/ OSGPARTICLE_EXPORT const char* osgParticleGetLibraryName(); } diff --git a/include/osgProducer/Version b/include/osgProducer/Version index 426656589..9f88315c5 100644 --- a/include/osgProducer/Version +++ b/include/osgProducer/Version @@ -21,7 +21,7 @@ extern "C" { /** * osgProducerGetVersion() returns the library version number. - * Numbering convention : osg_src-0.8.31 will return 0.8.31. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgProducerGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgSim/Version b/include/osgSim/Version index 7ae4a8563..64f33589b 100644 --- a/include/osgSim/Version +++ b/include/osgSim/Version @@ -20,7 +20,7 @@ extern "C" { /** * osgSimGetVersion() returns the library version number. - * Numbering convention : OpenSceneGraph-Sim-0.1 will return 0.1 from osgSimgetVersion. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgSimGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgTerrain/Version b/include/osgTerrain/Version index 0e7d17865..6e0ee5b57 100644 --- a/include/osgTerrain/Version +++ b/include/osgTerrain/Version @@ -20,7 +20,7 @@ extern "C" { /** * osgTerrainGetVersion() returns the library version number. - * Numbering convention : OpenSceneGraph-0.1 will return 0.1 from osgTerraingetVersion. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgTerrainGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgText/Version b/include/osgText/Version index 973dd1593..bd1691117 100644 --- a/include/osgText/Version +++ b/include/osgText/Version @@ -19,8 +19,8 @@ extern "C" { /** - * getVersion_osg() returns the library version number. - * Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osg. + * osgTextGetVersion() returns the library version number. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgTextGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/include/osgUtil/Version b/include/osgUtil/Version index d52322878..e76409462 100644 --- a/include/osgUtil/Version +++ b/include/osgUtil/Version @@ -21,7 +21,7 @@ extern "C" { /** * osgUtilGetVersion() returns the library version number. - * Numbering convention : osg_src-0.8-31 will return 0.8.31 from osgUtilGetVersion. + * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgUtilGetVersion. * * This C function can be also used to check for the existence of the OpenSceneGraph * library using autoconf and its m4 macro AC_CHECK_LIB. diff --git a/src/osg/Version.cpp b/src/osg/Version.cpp index cabe1c4e4..9773cad9c 100644 --- a/src/osg/Version.cpp +++ b/src/osg/Version.cpp @@ -14,7 +14,7 @@ const char* osgGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgDB/Version.cpp b/src/osgDB/Version.cpp index 00d835465..c82611dc5 100644 --- a/src/osgDB/Version.cpp +++ b/src/osgDB/Version.cpp @@ -14,7 +14,7 @@ const char* osgDBGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgGA/Version.cpp b/src/osgGA/Version.cpp index 34b0eb26c..2dad23720 100644 --- a/src/osgGA/Version.cpp +++ b/src/osgGA/Version.cpp @@ -2,7 +2,7 @@ const char* osgGAGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgParticle/Version.cpp b/src/osgParticle/Version.cpp index 88faa40d8..4d52272a7 100644 --- a/src/osgParticle/Version.cpp +++ b/src/osgParticle/Version.cpp @@ -2,7 +2,7 @@ const char* osgParticleGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgProducer/Version.cpp b/src/osgProducer/Version.cpp index 82d621aec..163aa62b5 100644 --- a/src/osgProducer/Version.cpp +++ b/src/osgProducer/Version.cpp @@ -2,7 +2,7 @@ const char* osgProducerGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgSim/Version.cpp b/src/osgSim/Version.cpp index e26daf02b..b2c096df7 100644 --- a/src/osgSim/Version.cpp +++ b/src/osgSim/Version.cpp @@ -2,7 +2,7 @@ const char* osgSimGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgTerrain/Version.cpp b/src/osgTerrain/Version.cpp index ae25c24b7..c8c3d06b0 100644 --- a/src/osgTerrain/Version.cpp +++ b/src/osgTerrain/Version.cpp @@ -2,7 +2,7 @@ const char* osgTerrainGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgText/Version.cpp b/src/osgText/Version.cpp index 56d8045f2..9305c22c4 100644 --- a/src/osgText/Version.cpp +++ b/src/osgText/Version.cpp @@ -2,7 +2,7 @@ const char* osgTextGetVersion() { - return "0.9.9"; + return "1.0"; } diff --git a/src/osgUtil/Version.cpp b/src/osgUtil/Version.cpp index 4cb6a0c74..6d2541b7b 100644 --- a/src/osgUtil/Version.cpp +++ b/src/osgUtil/Version.cpp @@ -14,7 +14,7 @@ const char* osgUtilGetVersion() { - return "0.9.9"; + return "1.0"; }