9 years agoUpdated WebKit from /home/shausman/src/webkit/trunk to origin/qtwebkit-4.5 ( bd7262be... v4.5.2
Simon Hausmann [Fri, 19 Jun 2009 15:26:02 +0000 (17:26 +0200)]
Updated WebKit from /home/shausman/src/webkit/trunk to origin/qtwebkit-4.5 ( bd7262be70c02564d655e4f2aaf79cd8302a937f )

Changes in WebKit since the last update:

++ b/JavaScriptCore/ChangeLog
2009-02-02  Darin Adler  <darin@apple.com>

        Reviewed by Dave Hyatt.

        Bug 23676: Speed up uses of reserveCapacity on new vectors by adding a new reserveInitialCapacity

        * API/JSObjectRef.cpp:
        (JSObjectCopyPropertyNames): Use reserveInitialCapacity.
        * parser/Lexer.cpp:
        (JSC::Lexer::Lexer): Ditto.
        (JSC::Lexer::clear): Ditto.

        * wtf/Vector.h: Added reserveInitialCapacity, a more efficient version of
        reserveCapacity for use when the vector is brand new (still size 0 with no
        capacity other than the inline capacity).

2009-03-19  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Fixed <rdar://problem/6033712> -- a little bit of hardening in the Collector.

        SunSpider reports no change. I also verified in the disassembly that
        we end up with a single compare to constant.

        * runtime/Collector.cpp:

++ b/LayoutTests/ChangeLog
2009-05-21  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Tests for <rdar://problem/6910832> | https://bugs.webkit.org/show_bug.cgi?id=25907
        Incorrect URL returned to the DOM while the user drags a file

        * http/tests/local/drag-over-remote-content-expected.txt: Added.
        * http/tests/local/drag-over-remote-content.html: Added.
        * http/tests/security/drag-over-remote-content-iframe-expected.txt: Added.
        * http/tests/security/drag-over-remote-content-iframe.html: Added.

2009-04-14  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Alexey Proskuryakov.

        Fix <rdar://problem/6755724> <audio> and <video> elements can reference local
        file:/// URLs from remote in Safari

        Test cases to ensure that local 'src', 'poster', and <source> are not loaded.

        * http/tests/security/local-video-poster-from-remote-expected.txt: Added.
        * http/tests/security/local-video-poster-from-remote.html: Added.
        * http/tests/security/local-video-source-from-remote-expected.txt: Added.
        * http/tests/security/local-video-source-from-remote.html: Added.
        * http/tests/security/local-video-src-from-remote-expected.txt: Added.
        * http/tests/security/local-video-src-from-remote.html: Added.
        * http/tests/security/resources/load-media.cgi: Added.
        * http/tests/security/resources/silence.mpg: Added.

2009-04-14  Sam Weinig  <sam@webkit.org>

        Reviewed by Darin Adler.

        Part of <rdar://problem/6150868>
        Test for incorrect handling of content that needs to go into the head element
        once the head element has been removed.

        * fast/parser/head-content-after-head-removal-expected.txt: Added.
        * fast/parser/head-content-after-head-removal.html: Added.

2009-04-08  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey "Big Boy" Garen.

        Tests for <rdar://problem/5745677> Possible to stop load during an unload event

        * fast/events/resources/pass.html: Added.
        * fast/events/resources/subframe-stop-load-in-unload-handler-using-document-write.html: Added.
        * fast/events/resources/subframe-stop-load-in-unload-handler-using-window-stop.html: Added.
        * fast/events/stop-load-in-unload-handler-using-document-write-expected.txt: Added.
        * fast/events/stop-load-in-unload-handler-using-document-write.html: Added.
        * fast/events/stop-load-in-unload-handler-using-window-stop-expected.txt: Added.
        * fast/events/stop-load-in-unload-handler-using-window-stop.html: Added.

2009-04-08  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Tests for <rdar://problem/6226200> Implement Microsoft's X-FRAME-OPTIONS anti-framing defense

        * http/tests/security/XFrameOptions: Added.
        * http/tests/security/XFrameOptions/resources: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-in-body.html: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-allow.html: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe-parent-same-origin-deny.html: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-deny-meta-tag-subframe.html: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-deny.cgi: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-allow.cgi: Added.
        * http/tests/security/XFrameOptions/resources/x-frame-options-parent-same-origin-deny.cgi: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-allow.html: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html: Added.
        * http/tests/security/XFrameOptions/x-frame-options-deny.html: Added.
        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow.html: Added.
        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added.
        * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny.html: Added.

2009-04-03  Sam Weinig  <sam@webkit.org>

        Reviewed by Darin Adler.

        Update tests for <rdar://problem/6330929>

        * dom/xhtml/level2/html/HTMLFormElement10-expected.txt:
        * fast/dom/Window/dom-access-from-closure-iframe-expected.txt:
        * fast/dom/Window/dom-access-from-closure-window-expected.txt:
        * http/tests/security/cross-frame-access-document-direct-expected.txt: Added.
        * http/tests/security/cross-frame-access-document-direct.html: Added.
        * http/tests/security/resources/cross-frame-iframe-for-document-direct-test-victim.html: Added.
        * http/tests/security/resources/cross-frame-iframe-for-document-direct-test.html: Added.

2009-04-03  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Tests for <rdar://problem/6476356>

        Test for using the correct global object for location and history object
        prototype chain creation.

        * http/tests/security/cross-frame-access-history-prototype-expected.txt: Added.
        * http/tests/security/cross-frame-access-history-prototype.html: Added.
        * http/tests/security/cross-frame-access-location-prototype-expected.txt: Added.
        * http/tests/security/cross-frame-access-location-prototype.html: Added.
        * http/tests/security/resources/cross-frame-history-prototype-iframe.html: Added.
        * http/tests/security/resources/cross-frame-location-prototype-iframe.html: Added.

2009-03-29  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/6015407> attr parsing should allow only identifiers

        * fast/css/attr-parsing-expected.txt: Added.
        * fast/css/attr-parsing.html: Added.

2009-03-16  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Test for <rdar://problem/6320555>
        Add an upper limit for setting HTMLSelectElement.length.

        * fast/forms/select-max-length-expected.txt: Added.
        * fast/forms/select-max-length.html: Added.

2009-02-26  Alexey Proskuryakov  <ap@webkit.org>

        Reviewed by Darin Adler.

        KURL::parse() incorrectly compares its result to original string

        * fast/loader/url-parse-1-expected.txt: Updated results. Neither old nor new results match
        Firefox precisely.

++ b/WebCore/ChangeLog
2009-05-21  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Test for <rdar://problem/6910832> | https://bugs.webkit.org/show_bug.cgi?id=25907
        Incorrect URL returned to the DOM while the user drags a file

        * page/DragController.cpp:
        (WebCore::DragController::tryDHTMLDrag): Don't base our decision on KURL,
        since that only looks at the text of the document's URL. Do base our
        decision on the securityOrigin(), which knows more about the document's
        actual origin.

2009-04-14  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Alexey Proskuryakov.

        Fix <rdar://problem/6755724> <audio> and <video> elements can reference local
        file:/// URLs from remote in Safari

        Tests: http/tests/security/local-video-poster-from-remote.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::loadResource): Don't pass url to media engine unless loader->canLoad()
        says it is OK.

2009-04-14  Sam Weinig  <sam@webkit.org>

        Reviewed by Darin Adler.

        Part of <rdar://problem/6150868>
        Fix incorrect handling of content that needs to go into the head element
        once the head element has been removed.

        Test: fast/parser/head-content-after-head-removal.html

        * html/HTMLParser.cpp:
        (WebCore::HTMLParser::HTMLParser): Remove unneeded initializer of m_head.
        (WebCore::HTMLParser::handleError): Update since m_head is now a RefPtr.
        (WebCore::HTMLParser::createHead): Ditto.
        * html/HTMLParser.h: Make m_head a RefPtr.

2009-04-08  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey "Big Boy" Garen.

        Fix for <rdar://problem/5745677> Possible to stop load during an unload event
        Also fixes https://bugs.webkit.org/show_bug.cgi?id=20605

        Tests: fast/events/stop-load-in-unload-handler-using-document-write.html

        Don't allow calling methods that would stop the new load inside the unload

        * loader/FrameLoader.cpp:
        * loader/FrameLoader.h:

2009-04-08  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Fix for <rdar://problem/6226200> Implement Microsoft's X-FRAME-OPTIONS anti-framing defense

        Tests: http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html

        * dom/Document.cpp:
        (WebCore::Document::processHttpEquiv): Stop the current load and redirect to about:blank
        if an X-FRAME-OPTIONS <meta> tag http-equiq dictates we should.
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions): Add logic to parse
        the X-FRAME-OPTIONS parameter.
        * loader/FrameLoader.h:
        * loader/MainResourceLoader.cpp:
        (WebCore::MainResourceLoader::didReceiveResponse): Stop the current load if framed and
        a X-FRAME-OPTIONS header and its parameter dictate that we should.

2009-04-05  Simon Hausmann  <hausmann@webkit.org>

        Fix the Qt build.

        * bridge/qt/qt_runtime.h:
        (JSC::Bindings::QtRuntimeMethod::createPrototype): Take the JSGlobalObject
        as second argument.

2009-04-03  Sam Weinig  <sam@webkit.org>

        Reviewed by Darin Adler.


        Don't update the document pointer for all inactive windows on navigations.
        This change causes us to differ slightly from Firefox when accessing the
        document from within a closure tied to a navigated context, but as all
        browsers differ on this edge case, I don't foresee compatibility issues.

        Test: http/tests/security/cross-frame-access-document-direct.html

        * bindings/js/JSDOMWindowBase.cpp:
        * bindings/js/ScriptController.cpp:
        * bindings/js/ScriptController.h:

2009-04-03  Sam Weinig  <sam@webkit.org>

        Reviewed by Oliver Hunt.

        Fix for <rdar://problem/6476356>

        - Use the window object the Location and History objects are directly associated with
          instead of the lexical global object to pick the object prototype to serve as the
          base of the their respective prototype chains.
        - Re-factor as necessary to allow passing the correct global object to the createPrototype

        Tests: http/tests/security/cross-frame-access-history-prototype.html

        * bindings/js/JSAudioConstructor.cpp:
        * bindings/js/JSDOMBinding.cpp:
        * bindings/js/JSDOMBinding.h:
        * bindings/js/JSDOMWindowCustom.cpp:
        * bindings/js/JSDocumentCustom.cpp:
        * bindings/js/JSImageConstructor.cpp:
        * bindings/js/JSMessageChannelConstructor.cpp:
        * bindings/js/JSNamedNodesCollection.h:
        * bindings/js/JSOptionConstructor.cpp:
        * bindings/js/JSRGBColor.h:
        * bindings/js/JSWebKitCSSMatrixConstructor.cpp:
        * bindings/js/JSWebKitPointConstructor.cpp:
        * bindings/js/JSWorkerConstructor.cpp:
        * bindings/js/JSXMLHttpRequestConstructor.cpp:
        * bindings/js/JSXSLTProcessorConstructor.cpp:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bridge/objc/objc_runtime.h:
        * bridge/runtime_array.h:
        * bridge/runtime_method.h:
        * bridge/runtime_object.h:
        * page/DOMWindow.idl:

2009-03-29  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/6015407> attr parsing should allow only identifiers

        Test: fast/css/attr-parsing.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseContent): Allow only CSS_IDENT, and filter out
        identifiers that start with "-".
        * css/CSSPrimitiveValue.cpp:
        (WebCore::CSSPrimitiveValue::cssText): Added a case for CSS_ATTR so the test
        case works. This has the pleasant side effect of fixing a bug too.

2009-03-16  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Fix for <rdar://problem/6320555>
        Add an upper limit for setting HTMLSelectElement.length.

        Test: fast/forms/select-max-length.html

        * html/HTMLSelectElement.cpp:

2009-03-10  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        Fix for <rdar://problem/6166844>

        Use same rule for loading java applets as we do for images.

        * html/HTMLAppletElement.cpp:
        * loader/FrameLoader.cpp:

2009-02-26  Alexey Proskuryakov  <ap@webkit.org>

        Reviewed by Darin Adler.

        KURL::parse() incorrectly compares its result to original string

        * platform/KURL.cpp: (WebCore::KURL::parse): Take string length into account.
(cherry picked from commit 96b4fc79fd4a7b4d9cdae924ccec5643e7a49cf0)

9 years agoDocs: remove reference to nonexistent file
Joerg Bornemann [Fri, 19 Jun 2009 12:51:52 +0000 (14:51 +0200)]
Docs: remove reference to nonexistent file

Reviewed-by: David Boddie
(cherry picked from commit a60259b676743f078178185a6c587381bd957d3c)

9 years agoQNetworkAccessManager: Clarify doc about deleting QNetworkReply
Markus Goetz [Thu, 18 Jun 2009 15:40:21 +0000 (17:40 +0200)]
QNetworkAccessManager: Clarify doc about deleting QNetworkReply

Reviewed-by: Volker Hilsheimer
(cherry picked from commit 8ef1e1fc0e4b741d2f85cc8c0df42858b9306ff8)

9 years agoBT: Remove Intel CC 10 issue from known issues doc.
Jason McDonald [Wed, 17 Jun 2009 08:52:23 +0000 (18:52 +1000)]
BT: Remove Intel CC 10 issue from known issues doc.

Acked-by: Andy Shaw
(cherry picked from commit b56095c51087717c0797f64abf3c4200066348b8)

9 years agoChange to license files for release
Jason McDonald [Wed, 17 Jun 2009 07:03:34 +0000 (17:03 +1000)]
Change to license files for release

(cherry picked from commit 3336a02eebfea039fc56355769072aefbca0ba55)



9 years agoRevert "New binary for configure.exe"
Jason McDonald [Wed, 17 Jun 2009 05:50:43 +0000 (15:50 +1000)]
Revert "New binary for configure.exe"

This reverts commit d770973444d618352c22dfa1ce71fa67e8ec9efa.

9 years agoUpdate the .qm files for 4.5.2.
Jason McDonald [Tue, 16 Jun 2009 16:24:16 +0000 (02:24 +1000)]
Update the .qm files for 4.5.2.

The qm files were updated by running "make qm" in the depot.  This must
be done before each release.

Reviewed-by: Trust Me
9 years agoCleanup our usage of the term "Qt Software".
Jason McDonald [Tue, 16 Jun 2009 12:28:19 +0000 (22:28 +1000)]
Cleanup our usage of the term "Qt Software".

Reviewed-by: Trust Me
(cherry picked from commit bc0ad71e4d197c594e86cb2a1c27b5008a40f3b4)

9 years agoTrafficinfo example: Asynchronous call to webservice at launch
Markus Goetz [Thu, 11 Jun 2009 14:47:02 +0000 (16:47 +0200)]
Trafficinfo example: Asynchronous call to webservice at launch

This makes the main window shown immediatly even when the webservice
of traffikanten.no cannot be reached. Does not properly fix the
associated task yet, e.g. display an error message.

Task-number: 254455
(cherry picked from commit 41df2299dad9041b690f28251ba6381563cd3c6b)

9 years agoBackported WebKit SVG revisions (r43590, r43795) from the trunk
Simon Hausmann [Tue, 16 Jun 2009 12:20:08 +0000 (14:20 +0200)]
Backported WebKit SVG revisions (r43590, r43795) from the trunk

Reviewed-by: Ariya
(cherry picked from commit dd1e63d850682947bcbb4b78efa08f8e9318dcf0)

9 years agoUpdate license headers as requested by the marketing department.
Jason McDonald [Tue, 16 Jun 2009 15:09:46 +0000 (01:09 +1000)]
Update license headers as requested by the marketing department.

Reviewed-by: Trust Me
(cherry picked from commit 858c70f768eeb2d65cefd4115f4e9089b588b2d0)



9 years agoMake the codeeditor example compile on Windows.
Jason McDonald [Tue, 16 Jun 2009 10:53:04 +0000 (20:53 +1000)]
Make the codeeditor example compile on Windows.

Local includes should use the double-quote form of #include rather than
the angle-bracket form.

Reviewed-by: Trust Me
(cherry picked from commit 7f00209fe9face275e068d889973aa943cdfcb00)

9 years agoRevert "turn qm generation into a build time target"
Jason McDonald [Tue, 16 Jun 2009 10:45:14 +0000 (20:45 +1000)]
Revert "turn qm generation into a build time target"

This reverts commit 1747ef43328fe79c5501328650b2a56f17b7a867.

9 years agoRevert "properly indent embedded awk code"
Jason McDonald [Tue, 16 Jun 2009 10:44:40 +0000 (20:44 +1000)]
Revert "properly indent embedded awk code"

This reverts commit ce20a20f33a02f8e716ffe5a675115d7677da462.

9 years agoRevert "fix qm build"
Jason McDonald [Tue, 16 Jun 2009 10:44:22 +0000 (20:44 +1000)]
Revert "fix qm build"

This reverts commit e75ef82bc4570c0a6da3da26a1dda5d6e065f23b.

9 years agoRevert "make qm target work when the freshly built Qt is not in the library"
Jason McDonald [Tue, 16 Jun 2009 10:44:03 +0000 (20:44 +1000)]
Revert "make qm target work when the freshly built Qt is not in the library"

This reverts commit bcbb66df3d517cfb0bac63b041f666ee9db0e42d.

9 years agoPrevented QCompleter popup from appearing briefly on Windows.
jasplin [Tue, 16 Jun 2009 06:01:33 +0000 (08:01 +0200)]
Prevented QCompleter popup from appearing briefly on Windows.

It turns out that the fix 7bf4512659113f8cc78e72f1c84158ce4f70a526
caused the QCompleter popup from appearing for a split second on
Windows. This is because the popup is shown as a toplevel window
on this platform. On other platforms than Mac and Windows it doesn't
seem to matter, but be on the safe side, the fix is modified to
apply for Mac only.

Reviewed-by: Daniel Molkentin
Task-number: 255374
(cherry picked from commit 6e022c5c21a44a25b1579f03498ecaeba6da9024)

9 years agoFixed problems with the event handling in QCompleter on Mac.
jasplin [Fri, 12 Jun 2009 12:56:04 +0000 (14:56 +0200)]
Fixed problems with the event handling in QCompleter on Mac.

On Mac, a new completer popup must initially have its show()
method called rather than its hide() method. Otherwise the event
handling done by the completer results in a bad state.
On other platforms it doesn't matter.

Reviewed-by: Richard Moe Gustavsen
Task-number: 255374
(cherry picked from commit 7bf4512659113f8cc78e72f1c84158ce4f70a526)

9 years agoQFile: Doc was pointing to deprecated QIODevice::isSequentialAccess()
Markus Goetz [Mon, 15 Jun 2009 15:52:51 +0000 (17:52 +0200)]
QFile: Doc was pointing to deprecated QIODevice::isSequentialAccess()

Changed to QIODevice::isSequential()

Reviewed-by: TrustMe
(cherry picked from commit 6e4fbda4938ba17a398d15ec0697c8dbb9b9fc40)

9 years agoNew binary for configure.exe
Marius Storm-Olsen [Mon, 15 Jun 2009 13:33:44 +0000 (15:33 +0200)]
New binary for configure.exe

Reviewed-by: trustme
(cherry picked from commit dfe63cc0056a6592a4fb4e5c725c4ea0ed10ba20)

9 years agomake qm target work when the freshly built Qt is not in the library
Oswald Buddenhagen [Mon, 15 Jun 2009 12:19:57 +0000 (14:19 +0200)]
make qm target work when the freshly built Qt is not in the library
search path

unlike moc and uic, lrelease is not statically built, so when building
without RPATH, we need to ensure that our libraries are found first.

Reviewed-by: mariusSO
(cherry picked from commit c185a351d7b72812b5f93163ee43edd73784522c)

9 years agoRename nsCursorForQCursor -> qt_mac_nsCursorForQCursor.
Morten Sørvig [Mon, 15 Jun 2009 12:18:46 +0000 (14:18 +0200)]
Rename nsCursorForQCursor -> qt_mac_nsCursorForQCursor.

Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit e4c224f0ef1b57a1389148b78d236349603503a5)

9 years agofix qm build
Oswald Buddenhagen [Fri, 12 Jun 2009 18:49:24 +0000 (20:49 +0200)]
fix qm build

so "qmake -r && make" worked fine ... but configure does not simply run
"qmake -r".
also, now we have to build lrelease even when we don't build the other

Reviewed-by: Jason McDonald
Reviewed-by: mariusSO
(cherry picked from commit 98899a4122565090640672d9aae2c37315f186ce)

9 years agoproperly indent embedded awk code
Oswald Buddenhagen [Fri, 12 Jun 2009 16:21:00 +0000 (18:21 +0200)]
properly indent embedded awk code

Reviewed-by: TrustMe
(cherry picked from commit b3743d1df735d4b46f45e034818bbfe45bf8d22e)

9 years agoBT Revert "Fix the behaviour of sql classes regarding quoted identifiers"
Jason McDonald [Mon, 15 Jun 2009 06:33:40 +0000 (16:33 +1000)]
BT Revert "Fix the behaviour of sql classes regarding quoted identifiers"

This reverts commit bb7bddc47dd0748b45d22180d9e3c8e5209010b3
due to forward binary compatibility issues in a point release.
(cherry picked from commit b8430baeadd62b643ff07a2588c62141146c08fd)



9 years agoDoc: My review of earlier changes plus some minor adjustments and fixes.
David Boddie [Fri, 12 Jun 2009 13:04:07 +0000 (15:04 +0200)]
Doc: My review of earlier changes plus some minor adjustments and fixes.

Reviewed-by: Trust Me
(cherry picked from commit 1be9e07987388195b8c4ff7d0101cb3e32ee6acc)

9 years agoDoc: Work on the 4.5.2 changes file.
Geir Vattekar [Fri, 12 Jun 2009 12:25:13 +0000 (14:25 +0200)]
Doc: Work on the 4.5.2 changes file.

Reviewed-by: David Boddie
(cherry picked from commit d5c16071ac414e4dd40d8742403b675b2cdefa55)

9 years agoChanges for 4.5.2
Leonardo Sobral Cunha [Fri, 12 Jun 2009 09:59:50 +0000 (11:59 +0200)]
Changes for 4.5.2
(cherry picked from commit 304bf2ef0a99882d2d969347f85a330523086fb3)

9 years agoQGraphicsItem::setOpacity(0.0) does not trigger an update of child items
Leonardo Sobral Cunha [Fri, 5 Jun 2009 11:46:29 +0000 (13:46 +0200)]
QGraphicsItem::setOpacity(0.0) does not trigger an update of child items

Forwarding the ignoreOpacity flag to children in QGraphicsItemPrivate::fullUpdateHelper.
This is a complementary fix to task 252913, partly fixed in commit 2e3a5ea44...

Reviewed-by: bnilsen
BT: yes
(cherry picked from commit 8d1f218f6b11cff798bcd0b3123a2fe38c4a4142)

9 years agoCopy-paste didn't work for application on non-first screen in multiscreen setup.
Denis Dzyubenko [Tue, 9 Jun 2009 09:07:22 +0000 (11:07 +0200)]
Copy-paste didn't work for application on non-first screen in multiscreen setup.

We need to subscribe to xfixes selection notify events on all
available screens.

Also implemented delayed subscription to xfixes events since we don't
really need clipboard change notifications unless the application
explicitely asked for by (i.e. created a qclipboard object).

Task-number: 255609
Reviewed-by: Bradley T. Hughes
(cherry picked from commit 8a745d2a1048ba922232530d36c2fd01d4c92159)

9 years agokeep CONFIG+=silent working with the new translations.pro file
Bradley T. Hughes [Fri, 12 Jun 2009 09:08:05 +0000 (11:08 +0200)]
keep CONFIG+=silent working with the new translations.pro file
(cherry picked from commit d2b1c2d1c9cf5375d7e1cb7e1b08420eb00bada8)

9 years agoDoc fix: add a link to focus() and focusWidget() from QWidget::setFocus documentation.
Denis Dzyubenko [Fri, 5 Jun 2009 09:22:51 +0000 (11:22 +0200)]
Doc fix: add a link to focus() and focusWidget() from QWidget::setFocus documentation.

Reviewed-by: TrustMe
(cherry picked from commit 82a32d2e0fb603d5ebe4e0958ff68501b1f1b75b)

9 years agoturn qm generation into a build time target
Oswald Buddenhagen [Tue, 9 Jun 2009 15:08:44 +0000 (17:08 +0200)]
turn qm generation into a build time target

consequently, remove the qm files from the repository

this uses some really black magic to convince qmake to do the right
thing. this will be fixed properly in a later version.

Reviewed-by: mariusSO
(cherry picked from commit 5717e44d47bf5f6be59a59844223ce71b094b08e)

9 years agofix "make debug" under windows
Oswald Buddenhagen [Wed, 10 Jun 2009 08:10:02 +0000 (10:10 +0200)]
fix "make debug" under windows

use relative path for include (like every other subtree does), otherwise
$$fromfile() does not find the file, thus the template is unknown and
thus the generic "first" target is used instead of "debug", which tries a
generic build against non-existing release libs - boom.

Reviewed-by: TrustMe
(cherry picked from commit dfb61e59f0a1c2113cc01c99c3fd052efa2b6c8e)

9 years agodon't let comments weaved into strings confuse us
Oswald Buddenhagen [Wed, 10 Jun 2009 10:28:10 +0000 (12:28 +0200)]
don't let comments weaved into strings confuse us

Reviewed-by: TrustMe
Task-number: 254260
Testcase: 323072@p4
(cherry picked from commit 941a03814a5f8f7be93425f71ee65a4222d16899)

9 years agoSpelling in docs.
Jarek Kobus [Wed, 10 Jun 2009 10:47:46 +0000 (12:47 +0200)]
Spelling in docs.
(cherry picked from commit e6652650fe1de6421b48fab076c5e80c0deddbd8)

9 years agoQSslSocket: Wrong warning message in startServerEncryption
Markus Goetz [Wed, 10 Jun 2009 10:34:08 +0000 (12:34 +0200)]
QSslSocket: Wrong warning message in startServerEncryption

Reviewed-by: TrustMe
(cherry picked from commit 5c7042862c74dd3a5666bb266eaed922407e9711)

9 years agoBT: QtDemo works far to sluggish on mac
Richard Moe Gustavsen [Wed, 10 Jun 2009 09:37:53 +0000 (11:37 +0200)]
BT: QtDemo works far to sluggish on mac

Basically we need to revert more of Oliviers change. The reason
is that we just cannot run the demo on mac without timer based
updates (as opposed to graphics view itself tries to figure out
when to update). The reason is that the demo uses QItemAnimations
extensivelly, which again uses QTimelines, wich again uses
separate timers. And on mac, because of coalesced updated, each
item animation will result in an individual redrawing of the scene.

Task-number: 255751
Reviewed-by: Olivier
(cherry picked from commit 7886888d3e873500dd1ea7d3f450f7d7f87c0ea6)

9 years agoBT: Fixes building qtdemo in the installed tree of sources.
Thomas Zander [Wed, 10 Jun 2009 09:18:37 +0000 (11:18 +0200)]
BT: Fixes building qtdemo in the installed tree of sources.

The QT_BUILD_TREE variable only works in the source or build dir, but fails
in the demo which *install* the sources that should be buildable too.

Reviewed-by: Marius Storm-Olsen
(cherry picked from commit c0becf8cb47312ec14a2b28e2a76a1d87a8e183e)

9 years agoFixed compile of arthur tests when Qt is configured without opengl or
Rohan McGovern [Wed, 10 Jun 2009 02:47:15 +0000 (12:47 +1000)]
Fixed compile of arthur tests when Qt is configured without opengl or
(cherry picked from commit b2b0ac2f9abf58456e2dad2340c77c6004464a34)

9 years agoBT: Fix missing animation in the Qt Demo Browser
Jens Bache-Wiig [Tue, 9 Jun 2009 17:47:45 +0000 (19:47 +0200)]
BT: Fix missing animation in the Qt Demo Browser

Change 259b65c2f5d736dd7f6d81b6390f54464dd5f183
prevents the animation from running on Windows. This is a partial
revert that still preserves most of the performance fixes.

Reviewed-by: ogoffart
(cherry picked from commit 31f52b2354f5bb5044592ad93cb4e9f7a9d43ae6)

9 years agoFix the qitemdelgate test.
Olivier Goffart [Tue, 9 Jun 2009 15:42:11 +0000 (17:42 +0200)]
Fix the qitemdelgate test.

the line edit was deleted when we press enter
(cherry picked from commit f4548a337bbc348065e8341df9445bf0fc7bc241)

9 years agoBT: Fix the installed browser source tree to compile.
Thomas Zander [Tue, 9 Jun 2009 11:53:21 +0000 (13:53 +0200)]
BT: Fix the installed browser source tree to compile.
(cherry picked from commit c93f69f95a8c0a4eb3cd390c11266057b77c78b5)

9 years agoBT: Make the spreadsheet demo install its header files so it will compile after insta...
Thomas Zander [Tue, 9 Jun 2009 13:36:11 +0000 (15:36 +0200)]
BT: Make the spreadsheet demo install its header files so it will compile after installing
(cherry picked from commit c87d03e01a01fa84c7a14e9b330219f2a80f8ffa)

9 years agoBump qt-eclipse version number in docs
Jarek Kobus [Tue, 9 Jun 2009 08:16:54 +0000 (10:16 +0200)]
Bump qt-eclipse version number in docs
(cherry picked from commit 8de2e639825d1351f794f50e2cccd846aba7b8d2)

9 years agoFixed intermittent failure of tst_selftests.
Rohan McGovern [Tue, 9 Jun 2009 05:57:48 +0000 (15:57 +1000)]
Fixed intermittent failure of tst_selftests.

Allow more variance for the benchlibtickcounter selftest.
(cherry picked from commit bbc0850742f4f926876dc55478ff74aaa121846b)

9 years agoFixed crash in tst_qcombobox when Qt is built in debug mode.
Rohan McGovern [Tue, 9 Jun 2009 04:21:34 +0000 (14:21 +1000)]
Fixed crash in tst_qcombobox when Qt is built in debug mode.

"QTableWidget::setModel() - Changing the model of the QTableWidget is
not allowed."
(cherry picked from commit ebbfbe432671d899fb08ac8775e6e36d86f1c010)

9 years agoFixed tst_qmake failing to compile when QMAKE_CROSS_COMPILED is defined.
Rohan McGovern [Wed, 3 Jun 2009 05:46:02 +0000 (15:46 +1000)]
Fixed tst_qmake failing to compile when QMAKE_CROSS_COMPILED is defined.
(cherry picked from commit d6d586d4b05f416d89fcaf59c863245f1cb7d9ae)

9 years agoMore entries for the change log
Jens Bache-Wiig [Mon, 8 Jun 2009 14:52:18 +0000 (16:52 +0200)]
More entries for the change log
(cherry picked from commit b9c4f8fec2a009003029dd95b20d0342271c0473)

9 years agoDoc - fixed a typo
Kavindra Devi Palaraja [Mon, 8 Jun 2009 13:44:41 +0000 (15:44 +0200)]
Doc - fixed a typo

Reviewed-By: TrustMe
(cherry picked from commit 76bcfd8fcd61164cec8abd04c0056e5aedb6c10b)

9 years agoDoc typo fix in QSslSocket
Markus Goetz [Mon, 8 Jun 2009 08:53:05 +0000 (10:53 +0200)]
Doc typo fix in QSslSocket

Reviewed-by: TrustMe
(cherry picked from commit 6a2202b544e3d7809312f74b0cf0b2b392bd78b7)

9 years agoMy changes for 4.5.2
Jarek Kobus [Mon, 8 Jun 2009 08:55:45 +0000 (10:55 +0200)]
My changes for 4.5.2
(cherry picked from commit ec110c41175daae436d49b1e2369f80587ba5b65)

9 years agofix catalan plural rules
Oswald Buddenhagen [Wed, 3 Jun 2009 11:49:09 +0000 (13:49 +0200)]
fix catalan plural rules
(cherry picked from commit f1e471b561012f90938766c00aefff417593e71f)

9 years agorename some plural forms
Oswald Buddenhagen [Wed, 3 Jun 2009 09:06:14 +0000 (11:06 +0200)]
rename some plural forms
(cherry picked from commit 3e663dcad5e9fbfd2a5466d464747a1a87f036b3)

9 years agodrop traditional czech plural rules in favor of today's slovak-like rules
Oswald Buddenhagen [Wed, 3 Jun 2009 09:14:46 +0000 (11:14 +0200)]
drop traditional czech plural rules in favor of today's slovak-like rules
(cherry picked from commit 78b44fdb2b505833a9b60fcd63e1fe8c8a59d9ed)

9 years agofix turkish plural forms
Oswald Buddenhagen [Tue, 2 Jun 2009 12:42:24 +0000 (14:42 +0200)]
fix turkish plural forms
(cherry picked from commit 4cc2d62669b1638d34b6588bd3b164fb17138596)

9 years agofix tagalog plural forms
Oswald Buddenhagen [Tue, 2 Jun 2009 12:40:51 +0000 (14:40 +0200)]
fix tagalog plural forms
(cherry picked from commit a9472cb582fe155dd21f7bd3189afb64d5b08ab8)

9 years agofix icelandic plural forms
Oswald Buddenhagen [Tue, 2 Jun 2009 12:11:31 +0000 (14:11 +0200)]
fix icelandic plural forms
(cherry picked from commit 70be10968c8f547b464b3150ba582766e679ec7d)

9 years agofix lithuanian plural rules
Oswald Buddenhagen [Tue, 2 Jun 2009 11:05:13 +0000 (13:05 +0200)]
fix lithuanian plural rules
(cherry picked from commit 517ebf6f06db90a46d62c397d8e4c940cd7ac62b)

9 years agoopen pipes in overlapped mode also on the client side
Oswald Buddenhagen [Tue, 2 Jun 2009 13:26:43 +0000 (15:26 +0200)]
open pipes in overlapped mode also on the client side

otherwise PeekNamedPipe() may block in threaded environments.

Reviewed-by: thiago
(cherry picked from commit 4948f4b188c6aa40e628d74d6d6fce747ee535bd)

9 years agoAdd a comment for the translator so the placeholders are described
Andy Shaw [Sat, 6 Jun 2009 21:17:29 +0000 (23:17 +0200)]
Add a comment for the translator so the placeholders are described

Reviewed-by: TrustMe
(cherry picked from commit 8411fe233021f8609250b7cf47353e3128521406)

9 years agoFixed typos.
Trond Kjernåsen [Fri, 5 Jun 2009 15:48:37 +0000 (17:48 +0200)]
Fixed typos.
(cherry picked from commit f2b307342a0effed58436dd199a0d80c5e651755)

9 years agoMy 4.5.2 changes.
Trond Kjernåsen [Fri, 5 Jun 2009 15:46:48 +0000 (17:46 +0200)]
My 4.5.2 changes.
(cherry picked from commit dabeec5e1d3f43b54a58b2f8667ac552a7c24685)

9 years agoFixed an issue with graphicssystem raster on 8 and 16 bit X servers.
Trond Kjernåsen [Fri, 5 Jun 2009 14:41:23 +0000 (16:41 +0200)]
Fixed an issue with graphicssystem raster on 8 and 16 bit X servers.

We didn't actually check the depth of the target window before
calling the qt_x11_drawImage() fu, that will only work with
depths >= 24.

Task-number: 255311
Reviewed-by: Samuel
BT: yes
(cherry picked from commit d29da4699a2887cdf0836ff39652524d015431c0)

9 years agoDoc - fixed a typo
Kavindra Devi Palaraja [Fri, 5 Jun 2009 14:31:24 +0000 (16:31 +0200)]
Doc - fixed a typo

Reviewed-By: TrustMe
(cherry picked from commit b59d84fe67caedeb8c11d2530ddee2017a376920)

9 years agoDoc - fixed another typo
Kavindra Devi Palaraja [Fri, 5 Jun 2009 13:59:59 +0000 (15:59 +0200)]
Doc - fixed another typo

Reviewed-By: TrustMe
(cherry picked from commit 4515b690829a639283a9b660893ff3f0f7ff598b)

9 years agoDoc - fixed a typo
Kavindra Devi Palaraja [Fri, 5 Jun 2009 13:44:24 +0000 (15:44 +0200)]
Doc - fixed a typo

Reviewed-By: TrustMe
(cherry picked from commit f6fc34ea5b247d1b56e113663958176b095a58a6)

9 years agoMy changes for 4.5.2.
jasplin [Fri, 5 Jun 2009 13:01:16 +0000 (15:01 +0200)]
My changes for 4.5.2.
(cherry picked from commit 2734d8fa8c26c8498091348305b2616ecacfad85)

9 years agoMy changes for 4.5.2
Thomas Hartmann [Fri, 5 Jun 2009 12:06:03 +0000 (14:06 +0200)]
My changes for 4.5.2
(cherry picked from commit 5455f9c7a3ec8ed591666a2f4384c10de31f6a60)

9 years agoRevert "BT: Fixed crash on Mac caused by erroneous handling of native focus events."
jasplin [Fri, 5 Jun 2009 11:46:14 +0000 (13:46 +0200)]
Revert "BT: Fixed crash on Mac caused by erroneous handling of native focus events."

This reverts commit 7314c07a3e443b1d5349b419a03db8d41ca43f7e.

As reported by Eike, this patch caused several problems for Qt Creator.
Potentially it may cause problems for other (external) applications as well.
An alternative fix (scheduled for 4.5.x) needs to be found for tasks
254456 and 254460.

Reviewed-by: Richard Moe Gustavsen
(cherry picked from commit a45ba34ead80d7e19e62eff571d094c9417fd876)

9 years agoFixed text drawing on Windows in 16 bit mode.
Trond Kjernaasen [Fri, 5 Jun 2009 10:32:51 +0000 (12:32 +0200)]
Fixed text drawing on Windows in 16 bit mode.

There were several problems with antialiased text in 16 bit mode
under Windows. No gamma correction was done, yet we prepared the
cached glyphs for gamma correction. The mask format we rendered
the glyphs into was also set to the desktop depth, which implied
that information was lost and the text looked rather odd.

Reviewed-by: Samuel
BT: yes
(cherry picked from commit 35bdd8942716c716113e5b795186ca76199e8d96)

9 years agoDoc - fixed a typo
Kavindra Devi Palaraja [Fri, 5 Jun 2009 10:29:27 +0000 (12:29 +0200)]
Doc - fixed a typo

Reviewed-By: TrustMe
(cherry picked from commit 799a9ddf0a53ecdd6e097b2efd7418fd6ab9b655)

9 years agoAutotest: Fixed a race condition in the network self test.
Thiago Macieira [Thu, 4 Jun 2009 13:03:31 +0000 (15:03 +0200)]
Autotest: Fixed a race condition in the network self test.

Some of the tests (including the httpsServer one) requested that the
server close the connection (Connection: close). It could happen that,
well, the server did close the connection and we noticed it while doing
the waitForBytesWritten in the doSocketFlush function. Then we'd create
an error in the next step because the socket wasn't connected.

Reviewed-by: TrustMe
(cherry picked from commit 95ceabf52d79b922a87f7c023c9606e633ab1ea2)

9 years agoDoc - cleaned up a sentence to improve clarity
Kavindra Devi Palaraja [Fri, 5 Jun 2009 10:12:21 +0000 (12:12 +0200)]
Doc - cleaned up a sentence to improve clarity

Reviewed-By: TrustMe
(cherry picked from commit 6fff92a31c4acd270d0ecb4cda336ba098801ffb)

9 years agoMy changelog for 4.5.2
Alexis Menard [Fri, 5 Jun 2009 08:45:26 +0000 (10:45 +0200)]
My changelog for 4.5.2
(cherry picked from commit cdb0222129a139dfe1b7e4fb4b401556989901b4)

9 years agoMake sure to retain alpha information in copy
Anders Bakken [Thu, 4 Jun 2009 16:07:38 +0000 (09:07 -0700)]
Make sure to retain alpha information in copy

We need to set alpha to the right value when copying pixmaps.

Reviewed-by: Donald <qt-info@nokia.com>
(cherry picked from commit f7338759ef86deba18b27ee72b3afcf40f3a5aaf)

9 years agomy public task ...
Oswald Buddenhagen [Thu, 4 Jun 2009 13:22:13 +0000 (15:22 +0200)]
my public task ...
(cherry picked from commit 398c022e8adefc6e71a6048da40c19f6169be831)

9 years agoAdd my changelog for 4.5.2
Thiago Macieira [Thu, 4 Jun 2009 12:30:20 +0000 (14:30 +0200)]
Add my changelog for 4.5.2
(cherry picked from commit 5ad68ce1cb5e80fa14e549f087e957030ef4baf0)

9 years agoDocument the proper signals that the ::open() convenience connects to.
Norwegian Rock Cat [Thu, 4 Jun 2009 08:39:20 +0000 (10:39 +0200)]
Document the proper signals that the ::open() convenience connects to.

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
(cherry picked from commit df5c557e7777c8844ac866d730346178ad33a0a6)

9 years agoDocument that textVisible is optional when it comes to styles.
Norwegian Rock Cat [Thu, 4 Jun 2009 08:10:19 +0000 (10:10 +0200)]
Document that textVisible is optional when it comes to styles.

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.
(cherry picked from commit c755c1d3c6fe60a9018308e1ce13bae6821bc214)

9 years agoBT: Fixes Crash when deleting a QProgressBar which has been styled with QMotifStyle
Olivier Goffart [Thu, 4 Jun 2009 07:30:17 +0000 (09:30 +0200)]
BT: Fixes Crash when deleting a QProgressBar which has been styled with 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
(cherry picked from commit cbe3119db5380c41d44d4e936c7da4889c02f147)

9 years agoSilence compile warning in the test
Andy [Thu, 4 Jun 2009 06:44:35 +0000 (08:44 +0200)]
Silence compile warning in the test

Reviewed-by: TrustMe
(cherry picked from commit 289c098c15a359c4e5d142a997230db5df554f8d)

9 years agoMore changes for 4.5.2
João Abecasis [Wed, 3 Jun 2009 19:32:55 +0000 (21:32 +0200)]
More changes for 4.5.2
(cherry picked from commit 8021218dd5ab2d7ad9314b1c2a54168de4694065)

9 years agoMy changes for 4.5.2
João Abecasis [Wed, 3 Jun 2009 18:42:42 +0000 (20:42 +0200)]
My changes for 4.5.2
(cherry picked from commit ff8dd08c1ec66905a271c528b18c1e6738d2da77)

9 years agoBT: Fix a crash in the SDI example in Cocoa
Norwegian Rock Cat [Wed, 3 Jun 2009 13:25:46 +0000 (15:25 +0200)]
BT: Fix a crash in the SDI example in Cocoa

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
(cherry picked from commit 826b2ec2067e725561db2892dd432c01f1d36bc7)

9 years agoFixed raster bug causing fully clipped images to be partially blended.
Samuel Rødal [Wed, 3 Jun 2009 12:16:39 +0000 (14:16 +0200)]
Fixed raster bug causing fully clipped images to be partially blended.

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
(cherry picked from commit 91f5c7314afdfd43c867266fc1bc418e0f70bac7)

9 years agoDoc - some sentence clean ups
Kavindra Devi Palaraja [Wed, 3 Jun 2009 11:49:22 +0000 (13:49 +0200)]
Doc - some sentence clean ups

Reviewed-by: TrustMe
(cherry picked from commit d16b52d5346a3b652ad7507b24373c51fc0d530c)

9 years agoBT: qt demo takes 100% of the cpu on X11
Olivier Goffart [Tue, 2 Jun 2009 16:16:37 +0000 (18:16 +0200)]
BT:  qt demo takes 100% of the cpu on X11

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
(cherry picked from commit 259b65c2f5d736dd7f6d81b6390f54464dd5f183)

9 years agoDoc - minor fixes to beautify the sentence
Kavindra Devi Palaraja [Wed, 3 Jun 2009 10:58:08 +0000 (12:58 +0200)]
Doc - minor fixes to beautify the sentence

Reviewed-By: TrustMe
(cherry picked from commit ae5b1555676cef4058157431c3af2e7ff9ead8ce)

9 years agoAdd a note about what happens when passing 0 to qobject_cast in the doc
Andy Shaw [Wed, 3 Jun 2009 09:11:41 +0000 (11:11 +0200)]
Add a note about what happens when passing 0 to qobject_cast in the doc

Reviewed-by: Kavindra Palaraja
(cherry picked from commit 716e2105dce4487baa32a4e11b69f1d394515a86)

9 years agoDoc - fixed a typo
Kavindra Devi Palaraja [Wed, 3 Jun 2009 08:14:49 +0000 (10:14 +0200)]
Doc - fixed a typo

Reviewed-By: TrustMe
(cherry picked from commit 10b1e68d07746fde5ec6d6d2fc3f46fb803a2462)

9 years ago_networktest compile fix
Joerg Bornemann [Wed, 3 Jun 2009 07:15:57 +0000 (09:15 +0200)]
_networktest compile fix

Reviewed-by: mauricek
(cherry picked from commit b469fd9aac5c0e4a87ea1a9be254b566c0353702)

9 years agoAvoid a crash when setting a focus in a widget hierarchy containing
Denis Dzyubenko [Tue, 2 Jun 2009 14:29:57 +0000 (16:29 +0200)]
Avoid a crash when setting a focus in a widget hierarchy containing
both visible and invisible widgets.

This is a quick hack to avoid a crash in Qt when setting a focus on a
visible widget that has invisible parent. Proper fix was committed
into master 1a7da7096bbda17197738061902f4489af234bc0, see it's
description for more details.

Task-number: 254563
Reviewed-by: Thierry Bastian
(cherry picked from commit a5b11b9031f9a2a97b65e9a6134244249845491a)

9 years agoFixed build issues with MSVC
Thierry Bastian [Fri, 29 May 2009 08:48:53 +0000 (10:48 +0200)]
Fixed build issues with MSVC

in atomic operations, we declare Interlock... functions in the namespace
That can confuse the compiler because they are also declared in another
header outside the namespace.
Same problem in clucene where we include windows.h from within the NS.

Task-number: 254214
Reviewed-by: ogoffart
(cherry picked from commit 7bc17b5b9ff9f2e3e04f36fec8ccbb546d9b7a31)

9 years agoUpdate my changelog for 4.5.2
Olivier Goffart [Tue, 2 Jun 2009 15:17:16 +0000 (17:17 +0200)]
Update my changelog for 4.5.2
(cherry picked from commit e8c6c0cf4d341572e4740940590b0301d208d239)

9 years agomy changes for 4.5.2
Joerg Bornemann [Tue, 2 Jun 2009 14:50:57 +0000 (16:50 +0200)]
my changes for 4.5.2
(cherry picked from commit d69f28f00fe7efda12f9bb236ecd6a0de39232e4)

9 years agomissing deployment rule added to examples/richtext/textobject
Joerg Bornemann [Tue, 2 Jun 2009 14:29:32 +0000 (16:29 +0200)]
missing deployment rule added to examples/richtext/textobject

The example SVG must be deployed on Windows CE devices to be used.

Reviewed-by: mauricek
BT: yes
(cherry picked from commit 0068bd9279b5f7a12f00ffea66cb264930f88138)

9 years agoBT: Remove duplicate code and fix font parsing.
Norwegian Rock Cat [Tue, 2 Jun 2009 14:09:58 +0000 (16:09 +0200)]
BT: Remove duplicate code and fix font parsing.

QFont has a feature that you can pass a comma-separated list and it will
walk through the list and match the font that it hits first. There's a
nice static function that X11 and Windows uses, but the Mac was using an
older copied version of it. This old version didn't handle quoting which
is what happens in the style sheet. So, using the same code makes
everything work well. As a bonus, Creator looks correct again.

Reviewed-by: Simon Hausmann
(cherry picked from commit ad46e77420449ede2cb6c1ea2a810a2614520db9)

9 years agoMy Changelog for 4.5.2
Peter Hartmann [Tue, 2 Jun 2009 11:44:24 +0000 (13:44 +0200)]
My Changelog for 4.5.2
(cherry picked from commit 4ae7a683217eb2a7e9fc2fe2ed173e7da277038b)

9 years agoChangelog for 4.5.2
Denis Dzyubenko [Tue, 2 Jun 2009 11:08:10 +0000 (13:08 +0200)]
Changelog for 4.5.2
(cherry picked from commit 9dc7a011e798c24b4dd8b19a74b42c61f52a1328)