summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Ariya Hidayat2009-06-0596-329/+846
|\ | | | | | | kinetic-graphicseffect
| * have QScriptValue::toVariant() convert Array objects to QVariantListsKent Hansen2009-06-053-0/+24
| | | | | | | | | | | | | | Converting the array to its string representation is not very useful. Now round-trip conversion will work as well. Reviewed-by: Ariya Hidayat
| * Revert two of my commits, restoring the original fix for focus handling.Denis Dzyubenko2009-06-052-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix that was introduced adds regressions, and I don't see a way we can fix it without breaking someone elses code. So restoring the original fix that just avoid a crash (autotest by Thierry is included). Revert "Revert Avoid a crash when setting a focus in a widget hierarchy containing" Revert "Setting a focus on a widget hierarchy which contains both visible and invisible widgets could cause a crash." This reverts commit be833a4f25a8ec8c3dd7a8ac4fa4b0507c93e7ee. This partially reverts commit 1a7da7096bbda17197738061902f4489af234bc0 Reviewed-by: Thierry Bastian Reviewed-by: Prasanth Ullattil
| * QNetworkAccessManager: forgot the "since" tag in my previous commitPeter Hartmann2009-06-051-0/+2
| | | | | | | | Reviewed-by: trustMe
| * add HTTP DELETE support to Network Access APIPeter Hartmann2009-06-054-2/+128
| | | | | | | | | | | | | | | | | | added new method QNetworkAccessManager::deleteResource (naming the method "delete" was not possible since it is a reserverd word in C++) and adjusted all the internals necessary. Task-number: 242916 Reviewed-by: Thiago
| * Compilefix for QT_NO_CURSOR in qgraphicsscene.cppThomas Hartmann2009-06-051-0/+2
| | | | | | | | Reviewed-by: Joerg
| * Fixes anti-aliased text rendering on smartphones (Windows Mobile)Thomas Hartmann2009-06-052-2/+14
| | | | | | | | | | | | | | | | | | | | | | The check for cleartype in qt_win_read_cleartype_settings() was not correct for Windows Mobile For anti-aliased text rendering we also have to use another pixel format for the native image. Task-number: 249642 Reviewed-by: mauricek
| * kill dead codeKent Hansen2009-06-051-2/+0
| |
| * Fixed compile error with Sun CC 5.5.jasplin2009-06-051-1/+1
| | | | | | | | Reviewed-by: TrustMe
| * Add a callback so Qt updates its color stuff when the profile changes.Norwegian Rock Cat2009-06-052-0/+30
| | | | | | | | | | | | | | | | | | We've had a problem with a stale cache for color profiles this should make things work well. We get the callback for each display whether it needs it or not, but honesly I would rather that we update this a few times too many when people change their display profile than not at all. FWIW, this code is inspired from Apple's Tech Note TN2035.
| * handle qreal properties correctly in the meta-object systemKent Hansen2009-06-058-7/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When cross-compiling, it's possible that the size of qreal for moc itself (host platform) is different from the size of qreal on the target platform. Thus, we should not encode the metatype-id of qreal at moc time. Instead, use QMetaType::QReal in the generated code so that the the property flags are only derived at compile time. We also need to support the pesky QT_COORD_TYPE. In this case, qreal can be _any_ type (not just float or double), so we encode the property type as 0 and have a special check in QMetaProperty::type() that resolves the correct type at runtime. Reviewed-by: Simon Hausmann
| * Fix wrong sizing of toolbars when they have anough spaceThierry Bastian2009-06-053-69/+104
| | | | | | | | | | | | | | | | | | | | What could happen starting with 4.4 is that you could move a toolbar. If you then added actions, the toolbar would grom and make the other toolbars move to the right although it had enough space already to show the newly created actions. Autotest will follow shortly. Task-number: 226060
| * Fixed build issue with Sun CC 5.5.jasplin2009-06-051-1/+1
| | | | | | | | Reviewed-by: TrustMe
| * Make QStringBuilder work out-of-the-box if QT_NO_CAST_FROM_ASCII is definedhjk2009-06-052-35/+24
| | | | | | | | | | | | | | | | So far, only operator% was working for concatenation in those circumnstances. Now, defining QT_USE_FAST_OPERATOR_PLUS and QT_USE_FAST_CONCATENATION is enough, so user code will work without any source changes. Reviewed-by: joao
| * Made qmake handle "no_default" config for sub targetsJ-P Nurmi2009-06-051-1/+6
| | | | | | | | | | Merge-request: 395 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
| * Fix for Qt issue #218037 - Add support for the WM_MOUSEHWHEEL message on Windowsminiak2009-06-054-3/+21
| | | | | | | | | | Merge-request: 384 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
| * Compile with Sun CC 5.5.jasplin2009-06-051-1/+1
| | | | | | | | | | | | | | | | An alternative solution is to swap the order of -I../../include and -I../../include/QtOpenGL when compiling the opengl module. Reviewed-by: TrustMe
| * qdoc: Changed to use h2 for section headers instead of h3.Martin Smith2009-06-051-14/+29
| |
| * qdoc: Put <b>...</b> around names in each summary section.Martin Smith2009-06-051-10/+15
| |
| * Made configure work with older versions of /bin/sh.jasplin2009-06-051-15/+30
| | | | | | | | | | | | | | | | | | | | Some older versions of the Bourne shell (/bin/sh) don't support the ! operator for negating the exit code of a pipeline. In particular, this is true on certain (all?) Solaris 9 platforms. The patch replaces all occurrences of the ! operator with equivalent (but slightly less elegant) expressions that test the $? variable instead. Reviewed-by: msorvig
| * Compile when -no-qt3-support is on.Sarah Smith2009-06-051-0/+1
| | | | | | | | | | | | | | As checked in was compiling with QDataStream(QByteArray *, int) and that method is only available when compiling with qt3 support. Reviewed-by: Julian de Bhal
| * All of Qt's own code compiles with -pedantic now (but pcre and webkit don't ↵David Faure2009-06-0425-40/+40
| | | | | | | | | | | | | | seem fixable easily) Merge-request: 594 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
| * Fix compilation with gcc-4.3.3 (due to std::system)David Faure2009-06-041-0/+1
| | | | | | | | | | Merge-request: 594 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
| * Merge commit 'origin/4.5'Olivier Goffart2009-06-0431-96/+303
| |\
| | * my public task ...Oswald Buddenhagen2009-06-041-0/+3
| | |
| | * Autotest: add some tests for sending (or failing to) invalid D-Bus callsThiago Macieira2009-06-041-0/+25
| | | | | | | | | | | | Reviewed-by: TrustMe
| | * Remove a Q_ASSERT that could be triggered under some conditions.Thiago Macieira2009-06-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever an argument failed to marshall, this assert would be triggered. It's technically an error in the application, but it's hard to track it down. So remove it and let the execution continue (the function returns false indicating failure already and there's a warning from the marshalling code itself) Reviewed-by: TrustMe
| | * Add my changelog for 4.5.2Thiago Macieira2009-06-041-0/+9
| | |
| | * Don't use inactivatable timers to calculate time to wait for next timer.Thomas Sondergaard2009-06-041-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | This patch prevents the eventloop from waking up needlessly. Without this patch the event loop will not sleep at all if a 0-timer is already 'inTimerEvent' Merge-request: 550 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| | * Document the proper signals that the ::open() convenience connects to.Norwegian Rock Cat2009-06-044-6/+15
| | | | | | | | | | | | | | | | | | We were saying that it connected to accepted it all these cases, but it actually is doing some nice magic that makes sense assuming you document it.
| | * Document that textVisible is optional when it comes to styles.Norwegian Rock Cat2009-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | No progress bars on the mac show text and it would be bad if we allowed it. There's nothing stopping people from connecting the valueChanged() signal to a slot and have a real label layed out correctly that actually updates with the amount of time it takes to complete, etc. This is more what they do on Mac OS X if they decide to show a label.
| | * BT: Fixes Crash when deleting a QProgressBar which has been styled with ↵Olivier Goffart2009-06-043-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QMotifStyle Same fix as in e9a7e43031d7c1ee712e43be682c4e2c183759c4 but with motif Reported by https://bugs.kde.org/show_bug.cgi?id=193911 Task-number: 255138 Reviewed-by: jbache
| | * Silence compile warning in the testAndy2009-06-041-2/+2
| | | | | | | | | | | | Reviewed-by: TrustMe
| | * More changes for 4.5.2João Abecasis2009-06-031-0/+1
| | |
| | * My changes for 4.5.2João Abecasis2009-06-031-0/+17
| | |
| | * fix catalan plural rulesOswald Buddenhagen2009-06-033-2/+11
| | |
| | * use a yes/no message box for a yes/no question in http exampleJoerg Bornemann2009-06-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a OK/Cancel message box is weird for a yes/no question, esp. on a Windows CE device where such a message box doesn't have real push buttons but must be OK'ed / cancelled via system buttons in the title bar. Task-number: 255112 Reviewed-by: thartman
| | * BT: Fix a crash in the SDI example in CocoaNorwegian Rock Cat2009-06-031-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was quite a bug and it showed to some issues that I hadn't taken into account when doing the initial port to Cocoa. The issue was that we weren't "merging" items into the application menu if an item had already been associated with it. Which seems OK for applications that create one window with one menubar, but breaks down horrible when you have multiple windows with each having their own menubar. The result is that items in the application menu potentially go to the wrong window (and the potential crash). Since there can only ever be one "Quit", "About", or "Preferences" menu item in Cocoa, we need to make sure that we keep these items in sync whenever we switch the menubar or remove actions that are being deleted. That's what we do here. FWIW, QActions with "ApplicationSpecificRole" for their menu role have potential to cause memory leaks or other bugs if abused. If you are a happy open source hacker who wants a thankless job, solving them would get you lots of goodwill in my book. Task-number: 255038 Reviewed-by: Richard Moe Gustavsen
| | * Allow qmake to compile using it's .pro file.Jason Barron2009-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a problem where qmake would not compile when it was built from it's .pro file because this method uses the pre-compiled header. This header was causing a compile error in qlocale.cpp because qtextstream.h was included and this includes qlocale.h. The problem in qlocale.cpp was that it uses a define called QLOCALE_CPP to enable extra functions in the class declaration, but the pre-compiled header was preventing the qlocale.h from being re-processed and therefore the function was never compiled in. Reviewed-by: Marius Storm-Olsen
| | * Fixed raster bug causing fully clipped images to be partially blended.Samuel Rødal2009-06-032-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The blend functions assume the width / height of the images being blended to be greater than 0. A width of 0 caused the first iteration of a duff's device memcpy (QT_MEMCPY_USHORT) to be executed, thus blending 8 pixels instead of none. BT: yes Task-number: 255014 Reviewed-by: Trond
| | * Doc - some sentence clean upsKavindra Devi Palaraja2009-06-031-7/+7
| | | | | | | | | | | | Reviewed-by: TrustMe
| | * Fix BOM for UTF-32 codecMarius Storm-Olsen2009-06-032-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | The BOM was created correctly, but half of the BOM was then overwritten by the converted data afterwards. Also made the autotest also do reverse encoding tests where possible. Task-number: 255095 Reviewed-by: lars
| | * BT: qt demo takes 100% of the cpu on X11Olivier Goffart2009-06-032-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tick timer is always active, even if the moving gree Qt logo is not visible. But the code that is supposed to pause it when the app loose the focus doesn't works if the moving Qt logo is not visible. Also the call to syncX makes Xorg takes lot of cpu. It doesn't fix the fact that the timer is still running while the green logo is not visible, but at least doesn't take the cpu anymore if qtdemo loose the focus. Task-number: 255020 Reviewed-by: Richard Moe Gustavsen
| | * Doc - minor fixes to beautify the sentenceKavindra Devi Palaraja2009-06-031-2/+2
| | | | | | | | | | | | Reviewed-By: TrustMe
| | * rename some plural formsOswald Buddenhagen2009-06-031-4/+3
| | |
| | * drop traditional czech plural rules in favor of today's slovak-like rulesOswald Buddenhagen2009-06-031-8/+2
| | |
| | * fix turkish plural formsOswald Buddenhagen2009-06-031-1/+1
| | |
| | * fix tagalog plural formsOswald Buddenhagen2009-06-031-2/+8
| | |
| | * fix icelandic plural formsOswald Buddenhagen2009-06-031-1/+5
| | |
| | * fix lithuanian plural rulesOswald Buddenhagen2009-06-031-2/+2
| | |