summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add some edge case tests for QStateMachine::start() & stop()Kent Hansen2009-05-221-0/+8
|
* Fix QEasingCurve autotestsLeonardo Sobral Cunha2009-05-221-15/+193
| | | | | | | | Easing curve autotests was converting the easing(qreal) to int before, but this is a very rough comparison and was failing due to different conversions to int, so now we do a qFuzzyCompare. Reviewed-by: Thierry
* Fix compile issueThierry Bastian2009-05-221-0/+2
| | | | Reviewed-by: Kent Hansen
* Make the default size of QMutexPool a prime numberBradley T. Hughes2009-05-222-7/+6
| | | | | | | | As pointed out by Olivier, this should allow for better distribution in the array. I also removed the unnecessary count member, since we can use QVarLengthArray.count() instead.
* Merge branch '4.5'Thiago Macieira2009-05-2223-124/+758
|\
| * Don't loop around sigaction because it can't return EINTR.Thiago Macieira2009-05-221-16/+7
| | | | | | | | | | | | Asked by Oswald. Reviewed-by: Oswald Buddenhagen
| * Fixed potential bug caused by change b89efc8e7f32.Samuel Rødal2009-05-221-1/+1
| | | | | | | | | | | | | | If ensureSpace causes the layoutData to reallocate then the initialGlyphs pointers will no longer be valid. Reviewed-by: Simon Hausmann
| * Fixed text shaping bugs with ligatures and multiple font engines.Samuel Rødal2009-05-221-14/+26
| | | | | | | | | | | | | | | | If Harfbuzz shaping adds or merges glyphs we need to move the remaining glyphs in the glyph layout to compensate. Task-number: 253783 Reviewed-by: Simon Hausmann
| * Fix Qt does not compile when glibc < 2.3.2 on linuxJens Bache-Wiig2009-05-221-22/+5
| | | | | | | | | | | | | | | | | | Rather than try to resolve functions or impose configure time limitations we simply remove the dependancy entirely and rely on the fallbac for all platforms. Task-number: 250731 Reviewed-by: thiago
| * Updates QtWebKit sections in changes-4.5.2 after commit 0babd12e.Ariya Hidayat2009-05-221-2/+2
| |
| * Updated WebKit from /home/ariya/dev/webkit/qtwebkit-4.5 to ↵Ariya Hidayat2009-05-227-6/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | origin/qtwebkit-4.5 ( 4ee8af9348b3f57d3c0f3575ae0a58336cf07a92 ) Changes in WebKit since the last update: ++ b/LayoutTests/ChangeLog 2009-05-20 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Anders Carlsson. https://bugs.webkit.org/show_bug.cgi?id=24510 Add a test case that Netscape Plugin can properly determine if a given object has a specific method and property. The test will ask the plugin to call hasproperty and hasmethod and will compare the result with what is expected. This approach is taken from netscape-get-property-return-value.html * plugins/netscape-invoke-browserfuncs-expected.txt: Added. * plugins/netscape-invoke-browserfuncs.html: Added. ++ b/WebCore/ChangeLog 2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> Reviewed by Simon Hausmann. Do not call the parent implementation (Widget::) in show() and hide() of the PluginViewQt, as it always changes the visible state of the platformWidget (equal to the platformPluginWidget in the Qt port), thus ignoring the isParentVisible() test. * plugins/qt/PluginViewQt.cpp: (WebCore::PluginView::show): (WebCore::PluginView::hide): 2009-04-22 Tamas Szirbucz <szirbucz.tamas@stud.u-szeged.hu> Reviewed by Ariya Hidayat. https://bugs.webkit.org/show_bug.cgi?id=25023 Delete reply in QNetworkReplyHandler::abort() to avoid leak. * platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::QNetworkReplyHandler::abort): 2009-05-20 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Anders Carlsson. https://bugs.webkit.org/show_bug.cgi?id=24510 Fix a bug where the browserfuncs were not properly assigned, make hasproperty use _NP_HasProperty and hasmethod _NP_HasMethod. Test: plugins/netscape-invoke-browserfuncs.html * plugins/gtk/PluginPackageGtk.cpp: (WebCore::PluginPackage::load): Fix assignment * plugins/qt/PluginPackageQt.cpp: (WebCore::PluginPackage::load): Fix assignment ++ b/WebKit/qt/ChangeLog 2009-05-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> Reviewed by Simon Hausmann. Fix a plugin bug in the WebKit code, similar to the one in WebCore. The problem is when a non visible QtPluginWidget would show it self in a sibling frame. The problem was due to our clipping. In Qt, if setMask is set with an empty QRegion, no clipping will be performed, so in that case we hide the PluginContainer * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::): ++ b/WebKitTools/ChangeLog 2009-05-14 Holger Hans Peter Freyther <zecke@selfish.org> Reviewed by Anders Carlsson. https://bugs.webkit.org/show_bug.cgi?id=24510 where Add testHasProperty and testHasMethod to the existing functions of the PluginObject to be able to test the browser hasproperty and hasmethod implementation. Invoke them from pluginInvoke. Change the defines to an enum to avoid manually updating NUM_METHOD_IDENTIFIERS and assigning numbers. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (testHasProperty): test hasproperty (testHasMethod): test hasmethod (pluginInvoke): invoke the two
| * Add an autotest to check that the network test server worksThiago Macieira2009-05-223-1/+600
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test verifies that the network test server is behaving as expected. I think I caught all the services we need testing in the server, but there's still some work to be done: 1) verify that the FTP files are there where they're supposed to be 2) verify that FTP writable areas are writable 3) verify that the HTTP server has the correct files too 4) verify that the HTTP server requests credentials for the protected area 5) attempt to do NTLM authentication to verify the password (probably can't be done with netChat) 6) add Windows SMB tests (//qt-test-server/etc.) 7) add SQL tests (connecting to the SQL server ports) It would be good as well if we could not use QtNetwork. If you break QtNetwork, this test breaks too, so we don't know where the fault is. However, rewriting networking code will add another source of bugs (same for the NTLM authentication). Reviewed-By: João Abecasis
| * Fixed strict aliasing breaks with sockaddr_XXX structs.Thiago Macieira2009-05-222-41/+29
| | | | | | | | | | | | | | | | | | This case it was possible to fix by using a union of the types when we actually declare the variable. Besides, this avoids a bunch of #ifdef for IPv6 functionality. Reviewed-By: Oswald Buddenhagen
| * Fixed an issue with text drawing to QImages on Mac/Cocoa.Trond Kjernåsen2009-05-221-1/+3
| | | | | | | | | | | | | | | | | | | | We currently don't support subpixel hinting when drawing text to a QImage on Mac. The alpha map that is returned by the font engine is a plain 8 bit gray mask, which means we have to switch off subpixel hinting when we draw the glyph for caching. Task-number: 249178 Reviewed-by: Samuel
| * Revert "Ignore GCC warning of unsafe floating point comparisons."Ariya Hidayat2009-05-221-14/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 30f7edc0aab629499b74263391ae529ad31b2ff8. There is no way to restore float-equal warning using the pragma trick. This means (as it was mentioned in the said commit log) anyone that includes qtransform.h will be forced to deal with float-equal. Reviewed-by: Samuel Rødal
| * Fix toolbutton text incorrectly clipped on windowsJens Bache-Wiig2009-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In 4.5 the toolbutton icon rendering was changed somewhat and the bottom line of text for tool buttons icons with TextUnderIcon set is incorrectly clipped on Windows. The style reserves only 5 pixels but tries to use 6 pixels for text and icon spacing, hence we adjust the text rect one pixel up. This should be safe considering the fact that we have a margin on both sides of the icon already and avoids actually moving the icon positioning. Task-number: 252554 Reviewed-by: trond
| * configure script fix, -h should display help and not just h.Alexis Menard2009-05-221-1/+1
| | | | | | | | Reviewed-by:cduclos
| * Removed warningAnders Bakken2009-05-211-1/+1
| | | | | | | | | | | | Explicitly cast to integer. Reviewed-by: Shane McLaughlin <Shane.McLaughlin@trolltech.com>
| * Fixes one of the fields of mysql bound params not initialised.Bill King2009-05-211-2/+1
| | | | | | | | | | | | Found by valgrind, value isn't set but is used, fixes this. Reviewed-by: Justin McPherson
| * Fix build regression caused by ba5fb9f05c891feac8ab69006189de1aaafebc18.Jason McDonald2009-05-211-1/+1
| | | | | | | | | | | | | | | | | | | | The previous "fix" caused the effect of the line before the change to be discarded, which breaks the mac binary package builds. When reviewing changes, please read the lines of context given in the patch - they are included for a reason. Acked-by: Lincoln Ramsay Acked-by: Rohan McGovern
| * Fixes conditional jump on uninitialised valueBill King2009-05-211-1/+11
| | | | | | | | | | | | As found by valgrind. Also add error reporting that was missing. Reviewed-by: Justin McPherson
* | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtKent Hansen2009-05-223-6/+199
|\ \
| * | Reintroduce the unaligned-unaligned 32-bit code that I had removed out of ↵Thiago Macieira2009-05-222-27/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ignorance. If both pointers are out of 4-byte alignment, doing the first load will align them so we can do 32-bit comparisons. Lars's code had this before, but I misunderstood it and removed, thinking it was doing misaligned accesses. I experimented with moving the tail comparison above the 32-bit comparison to save a register, but it made things worse. Reviewed-By: Bradley T. Hughes
| * | Optimise QString comparison based on the results from the benchmarkThiago Macieira2009-05-221-125/+38
| | | | | | | | | | | | Reviewed-By: Bradley T. Hughes
| * | Add a benchmark for QString::operator==Thiago Macieira2009-05-222-0/+108
| | | | | | | | | | | | Reviewed-By: Bradley T. Hughes
| * | Don't use memcmp it's terribly slow.Lars Knoll2009-05-221-6/+146
| | | | | | | | | | | | | | | | | | | | | Added qMemEquals method that returns true if the two memory regions contain the same content. Reviewed-By: Thiago Macieira
* | | Say hello to animation API and state machine API (now with history)Kent Hansen2009-05-22363-130/+38378
|\ \ \
| * \ \ Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Thierry Bastian2009-05-225-20/+13
| |\ \ \ | | | | | | | | | | | | | | | kinetic-animations
| * \ \ \ Merge branch 'kinetic-animations' of git@scm.dev.nokia.troll.no:qt/kinetic ↵Thierry Bastian2009-05-221-78/+199
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into kinetic-animations
| | * | | | add more testsKent Hansen2009-05-221-64/+124
| | | | | |
| | * | | | add more testsKent Hansen2009-05-221-14/+75
| | | | | |
| * | | | | Revert "update the padnavigator example and suppress the padnavigator-ng"Thierry Bastian2009-05-228-150/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1cad8c56002a61a6240e6580cdbd784209821fa6. Conflicts: examples/graphicsview/padnavigator/roundrectitem.cpp
| * | | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Thierry Bastian2009-05-22994-21504/+47602
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kinetic-animations Conflicts: src/corelib/kernel/kernel.pri src/corelib/kernel/qvariant_p.h src/corelib/tools/tools.pri src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem.h src/gui/graphicsview/qgraphicswidget.h src/gui/gui.pro
| * | | | | kill unused private functionsKent Hansen2009-05-226-18/+0
| | | | | |
| * | | | | Use QTest::ignoreMessage() instead of custom implementationEskil Abrahamsen Blomfeldt2009-05-221-52/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since QTest::ignoreMessage() already exists, we should use this instead of implementing an ad hoc solution that does the same.
| * | | | | Fix compile error caused by reference to non-existant example.Jason McDonald2009-05-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | | Fix missing/outdated license headers.Jason McDonald2009-05-2131-100/+1209
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | | Doc: Added a small example/test case for sequential animations.David Boddie2009-05-207-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | | Revert "QVariant has changed to use some QAtomic API which was missing"Thierry Bastian2009-05-201-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9afa9ce3c0423e773e88d5c586595353815ac341.
| * | | | | update the padnavigator example and suppress the padnavigator-ngThierry Bastian2009-05-2027-1190/+154
| | | | | |
| * | | | | Avoid memory leaks in QStateMachine testsEskil Abrahamsen Blomfeldt2009-05-201-29/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give some objects parents and allocate some objects on the stack to avoid leaking them.
| * | | | | add animation and state machine examples to qtdemoKent Hansen2009-05-201-0/+15
| | | | | |
| * | | | | fix compiler warningsKent Hansen2009-05-203-4/+4
| | | | | |
| * | | | | fix two .pro file bugsKent Hansen2009-05-202-2/+1
| | | | | |
| * | | | | compile with -qtnamespace, clean up the example .pro filesKent Hansen2009-05-2032-100/+131
| | | | | |
| * | | | | compile when using qt namespaceKent Hansen2009-05-202-2/+8
| | | | | |
| * | | | | add README file for examples/animationKent Hansen2009-05-201-0/+38
| | | | | |
| * | | | | Merge branch 'kinetic-statemachine' into kinetic-animationsKent Hansen2009-05-2014-956/+0
| |\ \ \ \ \
| | * | | | | remove the citizenquartz exampleKent Hansen2009-05-2014-956/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not done yet, so let's re-add it when it is.
| * | | | | | remove QT_EXPERIMENTAL stuffKent Hansen2009-05-2011-67/+10
| | | | | | |