From 968bc9831bdd60711526890880bfb760ed008a5d Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Wed, 27 Jul 2011 17:03:00 +0000
Subject: [PATCH] - Preparations for v1.0.0 release of PolarSSL
---
ChangeLog | 2 +-
doxygen/input/doc_mainpage.h | 2 +-
doxygen/polarssl.doxyfile | 2 +-
include/polarssl/version.h | 12 ++++++------
library/CMakeLists.txt | 2 +-
tests/suites/test_suite_version.data | 4 ++--
6 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b31c4f4b6..fc4b612cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
PolarSSL ChangeLog
-= Version trunk
+= Version 1.0.0 released on 2011-07-27
Features
* Expanded cipher layer with support for CFB128 and CTR mode
diff --git a/doxygen/input/doc_mainpage.h b/doxygen/input/doc_mainpage.h
index e3e36a49e..db769731a 100644
--- a/doxygen/input/doc_mainpage.h
+++ b/doxygen/input/doc_mainpage.h
@@ -4,7 +4,7 @@ l/**
*/
/**
- * @mainpage PolarSSL v0.99-pre5 source code documentation
+ * @mainpage PolarSSL v1.0.0 source code documentation
*
* This documentation describes the internal structure of PolarSSL. It was
* automatically generated from specially formatted comment blocks in
diff --git a/doxygen/polarssl.doxyfile b/doxygen/polarssl.doxyfile
index c1c6b46bb..a1395fc5f 100644
--- a/doxygen/polarssl.doxyfile
+++ b/doxygen/polarssl.doxyfile
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING = UTF-8
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
-PROJECT_NAME = "PolarSSL v0.99-pre5"
+PROJECT_NAME = "PolarSSL v1.0.0"
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
diff --git a/include/polarssl/version.h b/include/polarssl/version.h
index 319f85a0f..03a55ce06 100644
--- a/include/polarssl/version.h
+++ b/include/polarssl/version.h
@@ -37,18 +37,18 @@
* The version number x.y.z is split into three parts.
* Major, Minor, Patchlevel
*/
-#define POLARSSL_VERSION_MAJOR 0
-#define POLARSSL_VERSION_MINOR 99
-#define POLARSSL_VERSION_PATCH 5
+#define POLARSSL_VERSION_MAJOR 1
+#define POLARSSL_VERSION_MINOR 0
+#define POLARSSL_VERSION_PATCH 0
/**
* The single version number has the following structure:
* MMNNPP00
* Major version | Minor version | Patch version
*/
-#define POLARSSL_VERSION_NUMBER 0x00630500
-#define POLARSSL_VERSION_STRING "0.99.5"
-#define POLARSSL_VERSION_STRING_FULL "PolarSSL 0.99.5"
+#define POLARSSL_VERSION_NUMBER 0x01000000
+#define POLARSSL_VERSION_STRING "1.0.0"
+#define POLARSSL_VERSION_STRING_FULL "PolarSSL 1.0.0"
#if defined(POLARSSL_VERSION_C)
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 408a4b3ab..305085656 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -43,7 +43,7 @@ add_library(polarssl STATIC ${src})
else(NOT USE_SHARED_POLARSSL_LIBRARY)
ADD_LIBRARY(polarssl SHARED ${src})
-SET_TARGET_PROPERTIES(polarssl PROPERTIES VERSION 0.99.5 SOVERSION 0)
+SET_TARGET_PROPERTIES(polarssl PROPERTIES VERSION 1.0.0 SOVERSION 0)
endif(NOT USE_SHARED_POLARSSL_LIBRARY)
diff --git a/tests/suites/test_suite_version.data b/tests/suites/test_suite_version.data
index 0c9ffc82e..2f5c18871 100644
--- a/tests/suites/test_suite_version.data
+++ b/tests/suites/test_suite_version.data
@@ -1,5 +1,5 @@
Check compiletime library version
-check_compiletime_version:"0.99.5"
+check_compiletime_version:"1.0.0"
Check runtime library version
-check_runtime_version:"0.99.5"
+check_runtime_version:"1.0.0"