Hello community,
here is the log from the commit of package libqt4
checked in at Mon Jun 23 23:14:51 CEST 2008.
--------
--- libqt4/libqt4.changes 2008-06-18 11:53:13.000000000 +0200
+++ libqt4/libqt4.changes 2008-06-22 22:18:58.000000000 +0200
@@ -7,0 +8,6 @@
+Mon Jun 16 08:52:30 CEST 2008 - dmueller@suse.de
+
+- make qFatal() call abort
+- add ability to debug timer leaks
+
+-------------------------------------------------------------------
libqt4-devel-doc-data.changes: same change
libqt4-sql-plugins.changes: same change
libQtWebKit-devel.changes: same change
New:
----
qt-debug-timer.diff
qt-qfatal-abort.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqt4-devel-doc-data.spec ++++++
--- /var/tmp/diff_new_pack.nT2707/_old 2008-06-23 23:11:51.000000000 +0200
+++ /var/tmp/diff_new_pack.nT2707/_new 2008-06-23 23:11:51.000000000 +0200
@@ -28,7 +28,7 @@
# COMMON-BEGIN
# COMMON-BEGIN
Version: 4.4.0
-Release: 14
+Release: 15
%define base_name libqt4
%define x11_free -x11-opensource-src-
%define rversion 4.4.0
@@ -67,7 +67,9 @@
Patch72: 0228-qsortfilterproxymodel-invalidate-noscroll.diff
Patch73: 0232-fix-qdesktopwidget-screen-merge.diff
Patch74: ppc-atomic.diff
-Patch75: qt4-input-method-lazy-load.patch
+Patch75: qt-debug-timer.diff
+Patch76: qt-qfatal-abort.diff
+Patch77: qt4-input-method-lazy-load.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 910
%define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ -no-pch -reduce-relocations -no-exceptions -system-libtiff -no-glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite
@@ -121,6 +123,8 @@
%patch73
%patch74
%patch75
+%patch76
+%patch77
# be sure not to use them
rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib,libtiff}
# COMMON-END
@@ -179,6 +183,9 @@
* Wed Jun 18 2008 mfabian@suse.de
- bnc#398526: add qt4-input-method-lazy-load.patch
by Peng Wu .
+* Mon Jun 16 2008 dmueller@suse.de
+- make qFatal() call abort
+- add ability to debug timer leaks
* Sat Jun 14 2008 schwab@suse.de
- Use RPM_OPT_FLAGS.
- Use -mminimal-toc on ppc64 for libQtWebKit.
++++++ libqt4.spec ++++++
--- /var/tmp/diff_new_pack.nT2707/_old 2008-06-23 23:11:51.000000000 +0200
+++ /var/tmp/diff_new_pack.nT2707/_new 2008-06-23 23:11:51.000000000 +0200
@@ -34,7 +34,7 @@
Obsoletes: libqt4-dbus-1 < 4.4.0
# COMMON-BEGIN
Version: 4.4.0
-Release: 14
+Release: 15
%define base_name libqt4
%define x11_free -x11-opensource-src-
%define rversion 4.4.0
@@ -73,7 +73,9 @@
Patch72: 0228-qsortfilterproxymodel-invalidate-noscroll.diff
Patch73: 0232-fix-qdesktopwidget-screen-merge.diff
Patch74: ppc-atomic.diff
-Patch75: qt4-input-method-lazy-load.patch
+Patch75: qt-debug-timer.diff
+Patch76: qt-qfatal-abort.diff
+Patch77: qt4-input-method-lazy-load.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 910
%define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ -no-pch -reduce-relocations -no-exceptions -system-libtiff -no-glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite
@@ -128,6 +130,8 @@
%patch73
%patch74
%patch75
+%patch76
+%patch77
# be sure not to use them
rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib,libtiff}
# COMMON-END
@@ -430,6 +434,9 @@
* Wed Jun 18 2008 mfabian@suse.de
- bnc#398526: add qt4-input-method-lazy-load.patch
by Peng Wu .
+* Mon Jun 16 2008 dmueller@suse.de
+- make qFatal() call abort
+- add ability to debug timer leaks
* Sat Jun 14 2008 schwab@suse.de
- Use RPM_OPT_FLAGS.
- Use -mminimal-toc on ppc64 for libQtWebKit.
++++++ libqt4-sql-plugins.spec ++++++
--- /var/tmp/diff_new_pack.nT2707/_old 2008-06-23 23:11:51.000000000 +0200
+++ /var/tmp/diff_new_pack.nT2707/_new 2008-06-23 23:11:51.000000000 +0200
@@ -27,7 +27,7 @@
# COMMON-BEGIN
# COMMON-BEGIN
Version: 4.4.0
-Release: 6
+Release: 7
%define base_name libqt4
%define x11_free -x11-opensource-src-
%define rversion 4.4.0
@@ -66,7 +66,9 @@
Patch72: 0228-qsortfilterproxymodel-invalidate-noscroll.diff
Patch73: 0232-fix-qdesktopwidget-screen-merge.diff
Patch74: ppc-atomic.diff
-Patch75: qt4-input-method-lazy-load.patch
+Patch75: qt-debug-timer.diff
+Patch76: qt-qfatal-abort.diff
+Patch77: qt4-input-method-lazy-load.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 910
%define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ -no-pch -reduce-relocations -no-exceptions -system-libtiff -no-glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite
@@ -119,6 +121,8 @@
%patch73
%patch74
%patch75
+%patch76
+%patch77
# be sure not to use them
rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib,libtiff}
# COMMON-END
@@ -237,6 +241,9 @@
* Wed Jun 18 2008 mfabian@suse.de
- bnc#398526: add qt4-input-method-lazy-load.patch
by Peng Wu .
+* Mon Jun 16 2008 dmueller@suse.de
+- make qFatal() call abort
+- add ability to debug timer leaks
* Sat Jun 14 2008 schwab@suse.de
- Use RPM_OPT_FLAGS.
- Use -mminimal-toc on ppc64 for libQtWebKit.
++++++ libQtWebKit-devel.spec ++++++
--- /var/tmp/diff_new_pack.nT2707/_old 2008-06-23 23:11:51.000000000 +0200
+++ /var/tmp/diff_new_pack.nT2707/_new 2008-06-23 23:11:51.000000000 +0200
@@ -31,7 +31,7 @@
# COMMON-BEGIN
# COMMON-BEGIN
Version: 4.4.0
-Release: 14
+Release: 15
%define base_name libqt4
%define x11_free -x11-opensource-src-
%define rversion 4.4.0
@@ -70,7 +70,9 @@
Patch72: 0228-qsortfilterproxymodel-invalidate-noscroll.diff
Patch73: 0232-fix-qdesktopwidget-screen-merge.diff
Patch74: ppc-atomic.diff
-Patch75: qt4-input-method-lazy-load.patch
+Patch75: qt-debug-timer.diff
+Patch76: qt-qfatal-abort.diff
+Patch77: qt4-input-method-lazy-load.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 910
%define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xcursor -dbus-linked -xfixes -xrandr -xinerama -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/%{base_name} -examplesdir %_libdir/qt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ -no-pch -reduce-relocations -no-exceptions -system-libtiff -no-glib -optimized-qmake -no-webkit -no-xmlpatterns -system-sqlite
@@ -125,6 +127,8 @@
%patch73
%patch74
%patch75
+%patch76
+%patch77
# be sure not to use them
rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib,libtiff}
# COMMON-END
@@ -296,6 +300,9 @@
* Wed Jun 18 2008 mfabian@suse.de
- bnc#398526: add qt4-input-method-lazy-load.patch
by Peng Wu .
+* Mon Jun 16 2008 dmueller@suse.de
+- make qFatal() call abort
+- add ability to debug timer leaks
* Sat Jun 14 2008 schwab@suse.de
- Use RPM_OPT_FLAGS.
- Use -mminimal-toc on ppc64 for libQtWebKit.
++++++ qt-debug-timer.diff ++++++
--- src/corelib/kernel/qeventdispatcher_unix.cpp
+++ src/corelib/kernel/qeventdispatcher_unix.cpp
@@ -534,6 +534,20 @@ int QTimerInfoList::activateTimers()
if (!firstTimerInfo) {
firstTimerInfo = currentTimerInfo;
+ QObject* o = firstTimerInfo->obj;
+ static int debug_timer = -1;
+ if (debug_timer < 0)
+ debug_timer = getenv("QT_DEBUG_TIMER") ? 1 : 0;
+ if (debug_timer > 0) {
+ QString objPath = o->objectName();
+ for (; o->parent(); o = o->parent())
+ if (!o->parent()->objectName().isEmpty())
+ objPath.prepend(o->parent()->objectName() + "/");
+ else
+ objPath.prepend(QLatin1String("<") + o->parent()->metaObject()->className() + QLatin1String(">/"));
+ qDebug("activating %d ms timer for %s", firstTimerInfo->interval.tv_sec * 1000
+ + firstTimerInfo->interval.tv_usec / 1000, qPrintable(objPath));
+ }
} else if (firstTimerInfo == currentTimerInfo) {
// avoid sending the same timer multiple times
break;
++++++ qt-qfatal-abort.diff ++++++
--- src/corelib/global/qglobal.cpp
+++ src/corelib/global/qglobal.cpp
@@ -2054,7 +2054,7 @@ void qt_message_output(QtMsgType msgType
_CrtDbgBreak();
#endif
-#if (defined(Q_OS_UNIX) || defined(Q_CC_MINGW)) && defined(QT_DEBUG)
+#if (defined(Q_OS_UNIX) || defined(Q_CC_MINGW))
abort(); // trap; generates core dump
#else
exit(1); // goodbye cruel world
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org