Skip to content

Commit 7500ab6

Browse files
author
timlinux
committed
Updated version to 0.10.0 since this release will contain new features as well as bug fixes. I've also softcoded the places that had release numbers hard coded in various points in the code, so setting the version no in top level CMakeLists.txt should 'trickle down' into most places where version numbers need to be set.
Made some small changes to whats new too. git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8361 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0698da2 commit 7500ab6

9 files changed

+37
-17
lines changed

CMakeLists.txt

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
PROJECT(qgis0.10.0)
12
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
2-
SET(CPACK_PACKAGE_VERSION_MINOR "9")
3-
SET(CPACK_PACKAGE_VERSION_PATCH "2")
3+
SET(CPACK_PACKAGE_VERSION_MINOR "10")
4+
SET(CPACK_PACKAGE_VERSION_PATCH "0")
5+
SET(RELEASE_NAME "Io")
46

57
SET(PROJECT_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
68

@@ -317,6 +319,8 @@ SUBDIRS(src doc images resources i18n tools)
317319

318320
IF (HAVE_PYTHON AND WITH_BINDINGS)
319321
SUBDIRS (python)
322+
ELSE (HAVE_PYTHON AND WITH_BINDINGS)
323+
MESSAGE ("Python not being built")
320324
ENDIF (HAVE_PYTHON AND WITH_BINDINGS)
321325

322326
IF (ENABLE_TESTS)

cmake_templates/qgsconfig.h.in

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
// <int>.<int>.<int>-<any text>.
99
// or else upgrading old project file will not work
1010
// reliably.
11-
#define VERSION "0.9.2-Ganymede"
11+
#define VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${RELEASE_NAME}"
12+
13+
//used in vim src/core/qgis.cpp
14+
#define VERSION_INT ${CPACK_PACKAGE_VERSION_MAJOR}${CPACK_PACKAGE_VERSION_MINOR}${CPACK_PACKAGE_VERSION_PATCH}
15+
//used in main.cpp and anywhere else where the release name is needed
16+
#define RELEASE_NAME "${RELEASE_NAME}"
1217

1318
#define PREFIX "${CMAKE_INSTALL_PREFIX}"
1419

doc/index.html

+11-6
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</td>
1111
<td valign="center">
1212
<span class="header">Quantum GIS Documentation</span><br>
13-
<span class="subheader">Version 0.9.1 <i>Ganymede</i></span><br>
13+
<span class="subheader">Version 0.10.0 <i>Io</i></span><br>
1414
<span class="warning">Please read this entire document for important information about this release.</span>
1515
</td>
1616
</tr>
@@ -21,14 +21,14 @@
2121
-->
2222
<!-- This documentation describes the Quantum GIS (QGIS) application. More
2323
information on QGIS is available on the web page at http://qgis.org. -->
24-
<h2>Whats new in Version 0.9.2rc1?</h2>
24+
<h2>Whats new in Version 0.10.0?</h2>
2525
<p>
2626
</p>
27-
This release candidate includes over 40 bug fixes and enchancements
27+
This release includes over 120 bug fixes and enchancements
2828
over the QGIS 0.9.1 release. In addition we have added
2929
the following new features:
3030
<ul><li>
31-
Imrovements to digitising capabilities.
31+
Improvements to digitising capabilities.
3232
</li>
3333
<li>
3434
Supporting default and defined styles (.qml) files for file based
@@ -42,6 +42,12 @@ <h2>Whats new in Version 0.9.2rc1?</h2>
4242
Support for non-north up rasters. Many other raster
4343
improvements 'under the hood'.
4444
</li>
45+
<li>
46+
Updated icons for improved visual consistancy.
47+
</li>
48+
<li>
49+
Support for migration of old projects to work in newer QGIS versions.
50+
</li>
4551
</ul>
4652

4753

@@ -59,7 +65,6 @@ <h2>Whats new in Version 0.9.2rc1?</h2>
5965
<dd>
6066
General
6167
<ul class="normal">
62-
<li>Project files from previous versions of QGIS will likely not work.
6368
<li>Some internationalization (translation) files may be incomplete.
6469
<li>QGIS is not bug free - we make no assertions as to its fitness for
6570
use for any particular purpose. Use entirely at your own risk.
@@ -75,7 +80,7 @@ <h2>Whats new in Version 0.9.2rc1?</h2>
7580
<dd>
7681
Windows
7782
<ul class="normal">
78-
<li> GRASS included with windows build is from : GRASS 6.3 rc3
83+
<li> GRASS included with windows build is from : GRASS 6.3 rc6
7984
</ul>
8085
</dd>
8186
</dt>

src/app/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static const char * const ident_ = "$Id$";
7575
*/
7676
void usage( std::string const & appName )
7777
{
78-
std::cerr << "Quantum GIS - " << VERSION << " 'Ganymede' ("
78+
std::cerr << "Quantum GIS - " << VERSION << " '" << RELEASE_NAME << "' ("
7979
<< QGSSVNVERSION << ")\n"
8080
<< "Quantum GIS (QGIS) is a viewer for spatial data sets, including\n"
8181
<< "raster and vector data.\n"

src/app/qgisapp.cpp

+7-1
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ void QgisApp::about()
15601560
QString whatsNew = "<html><body>" + tr("Version") + " ";
15611561
whatsNew += QGis::qgisVersion;
15621562
whatsNew += "<h3>" + tr("New features") + "</h3>" +
1563-
tr("This release candidate includes over 40 bug fixes and enchancements "
1563+
tr("This release candidate includes over 120 bug fixes and enchancements "
15641564
"over the QGIS 0.9.1 release. In addition we have added "
15651565
"the following new features:");
15661566
whatsNew += "<ul><li>"
@@ -1578,6 +1578,12 @@ void QgisApp::about()
15781578
"Support for non-north up rasters. Many other raster "
15791579
"improvements 'under the hood'.")
15801580
+ "</li>"
1581+
+ "<li>"
1582+
+ tr("Updated icons for improved visual consistancy.")
1583+
+ "</li>"
1584+
+ "<li>"
1585+
+ tr("Support for migration of old projects to work in newer QGIS versions.")
1586+
+ "</li>"
15811587
//+ "<li>"
15821588
//+ tr("X")
15831589
//+ "</li>"

src/core/qgis.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ const char* QGis::qgisVersion = VERSION;
3232
const char* QGis::qgisSvnVersion = QGSSVNVERSION;
3333

3434
// Version number used for comparing versions using the "Check QGIS Version" function
35-
const int QGis::qgisVersionInt =920;
35+
const int QGis::qgisVersionInt =VERSION_INT;
3636

3737
// Release name
38-
const char* QGis::qgisReleaseName = "Ganymede";
38+
const char* QGis::qgisReleaseName = RELEASE_NAME;
3939

4040
const char* QGis::qgisVectorGeometryType[] =
4141
{

src/core/qgsprojectfiletransform.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ QgsProjectFileTransform::transform QgsProjectFileTransform::transformers[] = {
3030
{PFV(0,8,0), PFV(0,8,1), &QgsProjectFileTransform::transformNull},
3131
{PFV(0,8,1), PFV(0,9,0), &QgsProjectFileTransform::transform081to090},
3232
{PFV(0,9,0), PFV(0,9,1), &QgsProjectFileTransform::transformNull},
33-
{PFV(0,9,1), PFV(0,9,2), &QgsProjectFileTransform::transform091to092}
33+
{PFV(0,9,1), PFV(0,10,0), &QgsProjectFileTransform::transform091to0100}
3434
};
3535

3636
bool QgsProjectFileTransform::updateRevision(QgsProjectVersion newVersion)
@@ -175,7 +175,7 @@ void QgsProjectFileTransform::transform081to090()
175175

176176
};
177177

178-
void QgsProjectFileTransform::transform091to092()
178+
void QgsProjectFileTransform::transform091to0100()
179179
{
180180
QgsDebugMsg("entering");
181181
if ( ! mDom.isNull() )

src/core/qgsprojectfiletransform.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class QgsProjectFileTransform
7575
// to the transformArray with proper version number
7676
void transformNull() {}; // Do absolutely nothing
7777
void transform081to090();
78-
void transform091to092();
78+
void transform091to0100();
7979
};
8080

8181

src/mac/Contents/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# create Info.plist
44

55
ADD_CUSTOM_TARGET(Info.plist ALL
6-
VERSION=`grep VERSION ${CMAKE_BINARY_DIR}/qgsconfig.h |
6+
VERSION=`grep VERSION ${CMAKE_BINARY_DIR}/qgsconfig.h | head -1 |
77
sed -e "s/#define VERSION //"
88
-e "s/\\\"//g"` &&
99
SVNVERSION=`grep QGSSVNVERSION ${CMAKE_BINARY_DIR}/qgssvnversion.h |

0 commit comments

Comments
 (0)