Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/4.7' into qt-master-from-4.7
Browse files Browse the repository at this point in the history
Conflicts:
	doc/src/declarative/example-slideswitch.qdoc
	doc/src/development/qmake-manual.qdoc
	doc/src/snippets/code/doc_src_qmake-manual.pro
	doc/src/snippets/code/doc_src_qtscript.qdoc
	src/corelib/animation/qabstractanimation.cpp
	src/s60installs/bwins/QtOpenGLu.def
	src/s60installs/eabi/QtOpenGLu.def
	src/s60installs/eabi/QtOpenVGu.def
	tests/auto/qdir/qdir.pro
	tests/auto/qsslsocket/tst_qsslsocket.cpp
	tools/qdoc3/doc/qdoc-manual.qdocconf
  • Loading branch information
ogoffart committed Mar 31, 2011
2 parents 7b18baf + b764d3e commit 37feac9
Show file tree
Hide file tree
Showing 565 changed files with 26,427 additions and 16,024 deletions.
2 changes: 1 addition & 1 deletion .commit-template
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
# ---[ Fields ]-----------------[ uncomment and edit as applicable ]---|

#Task-number:
Reviewed-by: pending
#Reviewed-by:

# ==================================[ please wrap at 72 characters ]===|
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ examples/*/*/*
examples/*/*/*[.]app
!examples/declarative/*
!examples/tutorials/*
!examples/tutorials/*/*
!examples/ja_JP/*/*
demos/*/*
!demos/spectrum/*
Expand Down
14 changes: 2 additions & 12 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4780,12 +4780,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];

#mkspecs/default is used as a (gasp!) default mkspec so QMAKESPEC needn't be set once configured
rm -rf mkspecs/default
if [ "$XPLATFORM_SYMBIAN_SBSV2" = "yes" ]; then
#Link is not supported for Symbian build system
cp -a mkspecs/`echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` mkspecs/default
else
ln -s `echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` mkspecs/default
fi
ln -s `echo $XQMAKESPEC | sed "s,^${relpath}/mkspecs/,,"` mkspecs/default
# fix makefiles
for mkfile in GNUmakefile Makefile; do
EXTRA_LFLAGS=
Expand Down Expand Up @@ -8256,12 +8251,7 @@ else
mv "$outpath/src/corelib/global/qconfig.h.new" "$outpath/src/corelib/global/qconfig.h"
chmod -w "$outpath/src/corelib/global/qconfig.h"
for conf in "$outpath/include/QtCore/qconfig.h" "$outpath/include/Qt/qconfig.h"; do
if [ "$XPLATFORM_SYMBIAN_SBSV2" = "yes" ]; then
[ -e "$conf" ] && rm -rf "$conf"
cp -a "$outpath/src/corelib/global/qconfig.h" "$conf"
elif [ '!' -f "$conf" ]; then
ln -s "$outpath/src/corelib/global/qconfig.h" "$conf"
fi
ln -s "$outpath/src/corelib/global/qconfig.h" "$conf"
done
fi
#-------------------------------------------------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions demos/qtdemo/examplecontent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ QString ExampleContent::loadDescription()
int errorLine, errorColumn;

QDomDocument exampleDoc;
if (!exampleDoc.setContent(ba, false, &errorMsg, &errorLine, &errorColumn)) {
qDebug() << errorMsg << errorLine << errorColumn;
if (ba.isEmpty()) {
qDebug() << "No documentation found for" << name << "Is the documentation built?";
} else if (!exampleDoc.setContent(ba, false, &errorMsg, &errorLine, &errorColumn)) {
qDebug() << "Error loading documentation for " << name << ": " << errorMsg << errorLine << errorColumn;
}

QDomNodeList paragraphs = exampleDoc.elementsByTagName("p");
Expand Down
6 changes: 3 additions & 3 deletions demos/spectrum/spectrum.pri
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ win32 {
# ..$${spectrum_build_dir}
# without the result having a trailing slash where spectrum_build_dir
# is undefined.
spectrum_build_dir = /release
if (!debug_and_release|build_pass): CONFIG(debug, debug|release) {
spectrum_build_dir = /debug
build_pass {
CONFIG(release, release|debug): spectrum_build_dir = /release
CONFIG(debug, release|debug): spectrum_build_dir = /debug
}
}

12 changes: 12 additions & 0 deletions dist/changes-4.7.3
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ of the public source repository.
Qt Bug Tracker: http://bugreports.qt.nokia.com
Merge Request: http://qt.gitorious.org

****************************************************************************
* Library *
****************************************************************************

QtNetwork
---------

- SSL
* [QTBUG-18338] blacklist fraudulent SSL certificates

****************************************************************************
* Platform Specific Changes *
****************************************************************************
Expand All @@ -38,6 +48,8 @@ QtMobility QtBearer depending applications
* [QTBUG-17786] BC between Qt 4.7.3 and 4.6.3 QTreeView::indexRowSizeHint
doesn't return correct value on Symbian for row when QPushButton widget is
inserted in the treeview
* [QTBUG-4953] QMessageBox can not be closed/dismissed on touch phones if any
widget is fullscreen

- Painting
* [QTBUG-17907] tst_QGraphicsTransform::rotation3d test case from
Expand Down
2 changes: 1 addition & 1 deletion doc/src/classes.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@

\brief A Qt namespace contains enum types, functions, and sometimes classes.

This is a list of the main namespaces in Qt.
This is a list of the main namespaces in Qt.

\generatelist{namespaces}
*/
42 changes: 21 additions & 21 deletions doc/src/classes/phonon-api.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -691,11 +691,11 @@

Example where data is written repeatedly.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 0
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 0

Example where data is written once:

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 1
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 1

\sa Phonon::MediaSource, Phonon::MediaObject

Expand Down Expand Up @@ -811,7 +811,7 @@

The function is necessary for the case where a non-seekable MediaStream is
played more than once. For a seekable stream the implementation can simply call
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 2
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 2

\sa writeData(), needData()
*/
Expand Down Expand Up @@ -1003,7 +1003,7 @@
send an URL or filename directly to the constructors of the
\l{Phonon::}{MediaObject}.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 3
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 3

A MediaSource object cannot be reused for another multimedia
source. It is possible to play the same source again, and also
Expand Down Expand Up @@ -1382,7 +1382,7 @@
immediately after you call the play() function.

A play and forget code example:
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 4
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 4

\sa {Phonon Module}, MediaObject
*/
Expand Down Expand Up @@ -1471,7 +1471,7 @@
If you need low latency between calling play() and the sound actually
starting to play on your output device you need to use MediaObject
and be able to set the URL before calling play(). Note that
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 5
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 5
doesn't make a difference: the application should be idle between the
load and play calls so that the backend can start preloading the
media and fill audio buffers.
Expand Down Expand Up @@ -1612,13 +1612,13 @@
queue; the new source is then removed from the queue. The
queue can be altered at any time.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 7
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 7

You can also make use of the
\l{Phonon::MediaObject::}{aboutToFinish()} signal, which is
guaranteed to be emitted in time for altering the queue.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 8
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 8

When playback is finishing, i.e., when a media source has been
played to the end and the queue is empty, several signals are
Expand Down Expand Up @@ -1715,9 +1715,9 @@

\warning The back-end is free to choose a different tick interval close
to what you asked for. This means that the following code \c may fail:
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 9
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 9
On the other hand the following is guaranteed:
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 10
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 10

\sa tick()
*/
Expand Down Expand Up @@ -1745,7 +1745,7 @@
media object gets a new source. Listen to the hasVideoChanged()
signal instead.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 11
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 11

Returns \c true if the media contains video data; otherwise,
returns \c false.
Expand All @@ -1763,7 +1763,7 @@
media object gets a new media source. The hasVideoChanged() signal
is emitted after this information is available.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 12
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 12

Returns \c true if the current media may be seeked; otherwise,
returns \c false.
Expand All @@ -1786,7 +1786,7 @@

A typical usage looks like this:

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 13
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 13
*/

/*!
Expand Down Expand Up @@ -1867,7 +1867,7 @@

We show an example:

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 14
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 14

\sa currentSource(), MediaSource
*/
Expand Down Expand Up @@ -2126,7 +2126,7 @@
You can use this signal to show a progress bar to the user when
in BufferingState:

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 15
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 15

Note that the \l{Phonon::}{BufferingState} is commonly used when
waiting for data over a network connection, but this might not be
Expand Down Expand Up @@ -2270,7 +2270,7 @@
happen if the user has requested a backend change.

To connect to this signal do the following:
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 16
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 16

\sa Notifier::capabilitiesChanged()
*/
Expand Down Expand Up @@ -2362,10 +2362,10 @@

An example use case would be to give the user a QComboBox to select
the output device:
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 17
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 17

And to retrieve the selected AudioOutputDevice:
\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 18
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 18

*/

Expand Down Expand Up @@ -2565,7 +2565,7 @@

In order to use an effect, insert it into the path as follows:

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 19
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 19

The effect will immediately begin applying it's transformations on
the path. To stop it, remove the Effect from the path.
Expand Down Expand Up @@ -3108,7 +3108,7 @@
The following code example shows how to create a path between two
media nodes and insert an effect on that path.

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 20
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 20

\sa Phonon::MediaNode, Phonon::MediaObject, Phonon::AudioOutput,
Phonon::VideoWidget, {Phonon Module}
Expand Down Expand Up @@ -4085,7 +4085,7 @@

A typical example of usage follows below:

\snippet doc/src/snippets/code/doc_src_phonon-api.qdoc 21
\snippet doc/src/snippets/code/doc_src_phonon-api.cpp 21

\sa {Phonon Module}
*/
Expand Down
9 changes: 5 additions & 4 deletions doc/src/declarative/anchor-layout.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@
/*!
\page qml-anchor-layout.html
\target anchor-layout
\title Anchor-Based Layout in QML

\section1 Overview
\contentspage QML Features
\previouspage {Using QML Positioner and Repeater Items}{Component Layouts}
\nextpage {QML Mouse Events}{Mouse Events}
\title Anchor-based Layout in QML

In addition to the more traditional \l Grid, \l Row, and \l Column,
QML also provides a way to layout items using the concept of \e anchors.
Each item can be thought of as having a set of 7 invisible "anchor lines":
\l {Item::anchors.left}{left}, \l {Item::anchors.horizontalCenter}{horizontalCenter},
\l {Item::anchors.right}{right}, \l {Item::anchors.top}{top},
\l {Item::anchors.right}{right}, \l {Item::anchors.top}{top},
\l {Item::anchors.verticalCenter}{verticalCenter}, \l {Item::anchors.baseline}{baseline},
and \l {Item::anchors.bottom}{bottom}.

Expand Down
Loading

0 comments on commit 37feac9

Please sign in to comment.