From 7e659586a1fbc7d44a2ccd0d4e750c2ba9790ca0 Mon Sep 17 00:00:00 2001
From: Jerome Pasion <jerome.pasion@digia.com>
Date: Wed, 8 May 2013 16:41:44 +0200
Subject: [PATCH] Doc: Adding a "What's New in Qt 5.1" page.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

-created a "What's New in Qt 5.0" page to keep 5.0's history.
-featurs taken from http://qt-project.org/wiki/New-Features-in-Qt-5.1

Change-Id: I29d289791ee4195ca545ea793557889809a8e6b4
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
---
 doc/src/qt5-intro.qdoc                        |   3 +-
 .../whatsnew50.qdoc}                          |   6 +-
 doc/src/whatsnew/whatsnew51.qdoc              | 213 ++++++++++++++++++
 3 files changed, 218 insertions(+), 4 deletions(-)
 rename doc/src/{whatsnew.qdoc => whatsnew/whatsnew50.qdoc} (99%)
 create mode 100644 doc/src/whatsnew/whatsnew51.qdoc

diff --git a/doc/src/qt5-intro.qdoc b/doc/src/qt5-intro.qdoc
index bb372765..4f929d55 100644
--- a/doc/src/qt5-intro.qdoc
+++ b/doc/src/qt5-intro.qdoc
@@ -284,7 +284,8 @@
 
    \section1 Related Topics
    \list
-    \li \l{New Classes and Functions in Qt 5}
+    \li \l{What's New in Qt 5.1}
+    \li \l{What's New in Qt 5.0}
     \li \l{Porting Guide}
    \endlist
 */
diff --git a/doc/src/whatsnew.qdoc b/doc/src/whatsnew/whatsnew50.qdoc
similarity index 99%
rename from doc/src/whatsnew.qdoc
rename to doc/src/whatsnew/whatsnew50.qdoc
index c027fd61..c05301a4 100644
--- a/doc/src/whatsnew.qdoc
+++ b/doc/src/whatsnew/whatsnew50.qdoc
@@ -26,9 +26,9 @@
 ****************************************************************************/
 
 /*!
-    \page whatsnew.html
-    \title New Classes and Functions in Qt 5
-    \brief Lists the new features in Qt 5
+    \page whatsnew50.html
+    \title What's New in Qt 5.0
+    \brief Lists the new features in Qt 5.0
 
     \section1 Qt Core Changes
     \section2 QStandardPaths
diff --git a/doc/src/whatsnew/whatsnew51.qdoc b/doc/src/whatsnew/whatsnew51.qdoc
new file mode 100644
index 00000000..b37e5379
--- /dev/null
+++ b/doc/src/whatsnew/whatsnew51.qdoc
@@ -0,0 +1,213 @@
+/****************************************************************************
+**
+** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.  For licensing terms and
+** conditions see http://qt.digia.com/licensing.  For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Free Documentation License Usage
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file.  Please review the following information to ensure
+** the GNU Free Documentation License version 1.3 requirements
+** will be met: http://www.gnu.org/copyleft/fdl.html.
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+    \page whatsnew51.html
+    \title What's New in Qt 5.1
+    \brief Lists the new features in Qt 5.1
+
+    Qt 5.1 introduces many changes for helping developers continue creating
+    wonderful applications, easily and with less code. As well in this release,
+    focus is placed on bug fixing and new features, while maintaining
+    compatibility with Qt 5.0.
+
+    This page is a summary of new features. For specific API changes, the
+    \l{List of API Changes} section contains links to new and obsolete classes.
+
+    \section1 New Modules
+
+    New modules add more functionality for developers to use on various
+    platforms.
+
+    \list
+    \li \l{Qt Quick Controls} - a set of reusable UI controls. Qt 5.1
+    targets desktop platforms, while future releases will include more features
+    useful on touch devices.
+
+    \li \l{Qt Quick Layouts} - provides layouts for \l{Qt Quick}
+
+    \li \l{Qt X11 Extras} - adds platform specific APIs for X11
+
+    \li \l{Qt Sensors} - provides access to sensor hardware and motion gesture
+        recognition both via QML and C++ interfaces. Supports \l Android,
+        BlackBerry, \l iOS, and Mer platforms.
+
+    \li \l{Qt Serial Port} - provides an interface for hardware and virtual
+        serial ports
+    \endlist
+
+    The \l{All Modules} page contains a list of all modules in Qt 5.1.
+
+    \section1 New Supported Platforms
+
+    Qt 5.1 introduces support for following new platforms with technology
+    preview status:
+
+    \list
+    \li\l{Android}{Qt for Android} (Technology Preview)
+    \li\l{iOS}{Qt for iOS} (Technology Preview)
+    \endlist
+
+    \section1 Summary of Changes
+
+    \section2 moc
+        \list
+        \li New keyword in \l Q_PROPERTY(), \c MEMBER, lets you bind a property
+        to a class member without requiring to have a getter or a setter.
+        \endlist
+
+    \section2 qmake
+        \list
+        \li On Windows: Added support for specifying application icon
+            (via \c{RC_ICONS}).
+        \endlist
+
+    \section2 Qt Core
+        \list
+        \li Added support for SHA3 to QCryptographicHash
+        \li Added toInt(), toUInt(), and similar functions to QStringRef
+        \li A new threadsafe initialization of global statics through refactored
+            \l Q_GLOBAL_STATIC().
+        \li A new class, QLockFile, provides locking between processes using a
+        file. This lock enables applications to check that there is only one
+        instance of it running.
+        \li A new class, QSaveFile, provides transaction such as file writing.
+        \endlist
+
+    \section2 Qt GUI
+        \list
+        \li Support for embedding and reparenting of windows created from other
+            processes, via QWindow::fromWinId().
+        \li QWidget::createWindowContainer() adds the capability to embed
+            QWindow instances, such as QQuickView or a QWindow using
+            QOpenGLContext, into a QWidget hierarchy.
+        \li Support for kerning advances in QRawFont::advancesForGlyphIndexes.
+        \li QImageReader and QImageWriter adds the ability to report supported
+            MimeTypes.
+        \li New input method plugin, QComposeInputContext.
+        \li New GTK+ 2.x platformtheme plugin that provides native file, font,
+            and color dialogs.
+        \li New class, QOpenGLContext::versionFunctions(), provides access to
+            all OpenGL functions.
+        \li New QOpenGLTimerQuery and QOpenGLTimeMonitor classes.
+        \li New QOpenGLDebugLogger class expose KHR_debug extension for easy debugging.
+        \li Added support for Geometry, Tessellation Control,
+            Tessellation Evaluation, and Compute shaders to QOpenGLShader and
+            QOpenGLShaderProgram.
+        \li New QOpenGLVertexArrayObject class.
+        \endlist
+
+    \section2 Qt Network
+        \list
+        \li New encrypted() signal to QNetworkAccessManager and QNetworkReply so
+            that applications can perform additional checks on the certificate
+            chain.
+        \li Support for sending intermediate certificates when QSslSocket is
+            used as a server and when using client certificates.
+        \li Support for SSL session reuse allowing much faster connections to
+            servers.
+        \endlist
+
+    \section2 Qt QML
+        \list
+        \li New QQmlApplicationEngine convenience class for QML applications.
+        \li New Instantiatior type for generic, dynamic object creation.
+        \li New \l{QtQml.Models} module containing \l ListElement, \l ListModel,
+            \l DelegateModel, \l DelegateModelGroup, and \l ObjectModel.
+        \li New properties for \l Qt.application: arguments, name, and version.
+        \endlist
+
+    \section2 Qt Quick
+        \list
+        \li New threaded render loop for Mac, Linux, and Embedded.
+        \li New render loop for windows for smoother animations.
+        \li New \l QtQuick.Dialogs module with \l FileDialog and
+            \l ColorDialog types.
+        \li New \l Window properties: activeFocusItem, minimumWidth,
+            minimumHeight, maximumWidth, maximumHeight, visibility,
+            contentOrientation, and opacity.
+        \li New \l Item property: activeFocusOnTab.
+        \li New \l Grid properties: horizontalAlignment, verticalAlignment, and
+            effectiveHorizontalAlignment.
+        \li New \l TextEdit properties: selectByKeyboard and textDocument
+        \li A \l Window declared inside another Window or \l Item will
+            automatically be transient for (centered upon) the outer window.
+        \endlist
+
+    \section2 Qt WebKit
+        \list
+        \li JavaScript JIT on Windows 64 bit.
+        \li Improved font rendering, kerning enabled by default.
+        \li Improved garbage collection.
+        \li Support for WOFF fonts.
+        \li Support for WebGL without accelerated compositing.
+        \li Support for GStreamer 1.0.
+        \li Improved perceived page load performance and support for Link
+            prefetch.
+        \endlist
+
+    \section2 Qt Widgets
+        \list
+        \li Added property toolTipsVisible in QMenu.
+        \endlist
+
+    \section2 Qt Creator Compatibility
+
+    \l{Qt Creator Manual}{Qt Creator} 2.7 complements this Qt release
+    with the most prominent new features:
+
+    \list
+    \li Improved C++11 code editing support
+    \li \l{Qt Creator: Using Qt Quick Designer}{Qt Quick Designer} with full support for Qt Quick
+    \li Android \l{Qt Creator: Deploying Applications to Android Devices}{development target}
+    \li Experimental QBS and diff integration
+    \endlist
+
+    \section2 Other New Features
+    \list
+    \li Restored support for static Qt builds
+    \endlist
+
+    \section1 List of API Changes
+
+    The pages below contain a list of API changes in Qt 5.1
+    \list
+    \li \l{New Classes and Functions in Qt 5.1}
+    \li \l{Obsolete Classes}
+    \endlist
+*/
+
+/*!
+    \page newclasses51.html
+    \title New Classes and Functions in Qt 5.1
+    \brief A list of new C++ APIs in Qt 5.1
+
+    This page contains a comprehensive list of all new classes and functions
+    introduced in Qt 5.1.
+
+    \sincelist 5.1
+*/
-- 
GitLab