summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into ↵Kent Hansen2009-08-2082-1393/+2134
|\ | | | | | | | | | | | | qtscript-jsc-backend Conflicts: src/3rdparty/webkit/JavaScriptCore/JavaScriptCore.pri
| * Add value_type definition for STL compatibility.David Faure2009-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | Fixes compilation of std::back_inserter(myQByteArray) when compiling with "-std=c++0x -pedantic". Some code (ifdef'ed with CXX0X) in stl_iterator.h uses value_type. Can't hurt to define it, even if the code is marked experimental. gcc 4.3.3, libstdc++6-4.3. Merge-request: 1286 Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
| * Respect SmoothPixmapTransform in dfbpeAnders Bakken2009-08-201-3/+7
| | | | | | | | | | | | | | | | If the renderHint SmoothPixmapTransform is set and a drawPixmap/drawTiledPixmap/fillRect(QBrush(QPixmap)) includes a scale we should fall back to raster engine. Reviewed-by: Donald <qt-info@nokia.com>
| * Fix undo/redo of single-command edit blocksmae2009-08-202-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | (with QTextCursor::beginEditBlock() and QTextCursor::endEditBlock()) Previously QTextDocument would treat single command blocks as if there was no block, i.e. command compression would occur, causing tst_QTextDocument::testUndoBlocks() to fail. The patch completes the insufficient block-flag of QTextUndoCommand with an addition flag block_end. The block-flag itself is renamed to block_part. Reviewed-by: con
| * Extend testUndoBlock() with a single command block insertmae2009-08-201-0/+19
| | | | | | | | | | | | Test a newly discovered bug when a beginEditBlock()/endEditoBlock() contains only one single insertion command. It should still be treated as an undo block of its own.
| * split the qstringbuilder autotest into fourhjk2009-08-2015-43/+38
| | | | | | | | | | Some S60 and WinCE test scripts prefer to have only one executable per directory.
| * QNAM HTTP: New attribute, Demo browser: Some request statistic outputMarkus Goetz2009-08-208-8/+60
| | | | | | | | | | | | | | | | | | New output that tells if a QNetworkReply was retrieved by using HTTP pipelining. The demo browser now shows some (debug) output about usage of cache, pipelining and SSL. Reviewed-by: Prasanth
| * This variable is used to signal a thread to exit. It should be volatile.Thiago Macieira2009-08-201-1/+1
| | | | | | | | | | | | | | | | | | It's a long stretch, but it could happen that the compiler optimises out the checking of the variable because it could not change synchronously. In any case, it's best to set it to volatile to ensure that all architectures reload properly (memory ordering semantics) Reviewed-by: Alexis Menard
| * Autotest: this test is not passing: so show that.Thiago Macieira2009-08-201-0/+7
| | | | | | | | | | | | | | The problem is that this the test is running into a false positive. It thinks it's ok, but it isn't. So show the problem.
| * Autotest: remove unreliable test.Thiago Macieira2009-08-201-15/+0
| | | | | | | | | | | | | | | | This test required Qt to be built in debug mode. But there's no way of checking that from the autotest: some of our test machines build Qt in release mode but the tests in debug mode. So we don't test the Q_ASSERT.
| * Cocoa: cannot quit applicationRichard Moe Gustavsen2009-08-201-5/+13
| | | | | | | | | | | | | | | | | | | | If Qt is used from within a native cocoa application. This patch allowes the application to terminate if we have no current event loops running. This should be safe in itself, and also handle the case where NSApp run is called from outside Qt. Task-number: 259928 Reviewed-by: msorvig
| * Improved support for SVG animation.Kim Motoyoshi Kalland2009-08-204-93/+94
| | | | | | | | | | | | | | | | | | Added support for from-by-animation and by-animation in the animateTransform element. Updated bubbles.svg in the svgviewer example to make it work like intended with the corrected animation code. Task-number: Partially fixes 254784 Reviewed-by: Trond
| * Fixed crash in QtSvg caused by division by zero in animation code.Kim Motoyoshi Kalland2009-08-201-4/+7
| | | | | | | | Reviewed-by: Trond
| * Fix for SVG animate-transform when additive = "replace".Suneel BS2009-08-203-19/+99
| | | | | | | | | | | | | | | | | | On animate transform if additive = "replace" then transform specified with the element should be replaced with value of animateTransform. If additive = "sum" , then apply the animateTransform on top of element level transform. Reviewed-by: Kim
| * Changed QSvgPaintEngine::drawImage() to ignore aspect ratio.Kim Motoyoshi Kalland2009-08-201-1/+2
| | | | | | | | | | | | | | | | | | When calling drawImage(), you expect the entire target rectangle to be filled, but an SVG user agent preserves the source image's aspect ratio by default. This fix explicitly turns off preservation of aspect ratio. Task-number: 257052 Reviewed-by: Trond
| * QNetworkRequest: Doc fixMarkus Goetz2009-08-201-1/+1
| | | | | | | | Reviewed-by: TrustMe
| * Dont create native window handles when setting up gestures.Denis Dzyubenko2009-08-201-2/+0
| | | | | | | | | | | | | | | | | | Apparently setting WA_DontCreateNativeAncestors and WA_NativeWindow attributes on widgets introduces painting artifacts. Temporary removing these attributes until there is a proper fix (those attributes will not be needed after the next gesture api improvement). Reviewed-by: trustme
| * Fix warning and potential infinite recursion.Olivier Goffart2009-08-201-1/+2
| | | | | | | | | | The code where the infinite recursion could appears should only be called by code generated by very old version of moc
| * Fix potential Infinite recurstion.Olivier Goffart2009-08-201-3/+2
| | | | | | | | | | Was introduced by commit 919b723 This function is not even supposed to be called anymore by anything
| * QListView refactor: we now have an interface for the 2 view modesThierry Bastian2009-08-204-628/+586
| | | | | | | | | | | | | | | | | | Now we have 2 real implementations for listviews and iconviews This is a big refactor but the behaviour is kept. It also fixes a crash that could occur in setPositionForIndex while in ListMode. Acknowledged-By: ogoffart
| * Removed warning about signal conflicts.Friedemann Kleint2009-08-201-4/+0
| |
| * Designer: Tab widget / stacked widget / tool box pages got localized names.Friedemann Kleint2009-08-201-3/+3
| | | | | | | | Task-number: 259918
| * Move "Layout in Splitter" commands to their right placeJarek Kobus2009-08-201-2/+2
| | | | | | | | | | RevBy: Friedemann Kleint <Friedemann.Kleint@nokia.com> Task: 259785
| * Flickering "Whatsthis" pointer in CocoaPrasanth Ullattil2009-08-204-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | Since mouse tracking is always enabled on all QCocoaView-s, we are getting mouseMoved events for both parent and child (if mouse is over the child). In such cases the mouseMoved events are ignored for the parent view. We are using the native NSCursor stack for setting the override cursor. The current implementation for changeOverrideCursor is modified to keep this stack in sync with Qt's internal list. Task-number: 258173 Reviewed-by: Morten Sorvig
| * QNAM HTTP Code: Compile fix 2Markus Goetz2009-08-201-5/+3
| | | | | | | | | | | | Those @$#! ifndefs. Reviewed-by: TrustMe
| * compile fix for WindowsJoerg Bornemann2009-08-201-0/+1
| | | | | | | | Reviewed-by: TrustMe
| * Fixed an assert in debug mode when drawing text with theTrond Kjernåsen2009-08-201-0/+1
| | | | | | | | | | | | | | | | | | GL 2 engine on embedded. Worked in release because we don't really use any internals in QDataBuffer that sets the internal size correctly. Reviewed-by: Samuel
| * QNAM HTTP Code: Compile fixMarkus Goetz2009-08-201-2/+2
| | | | | | | | | | | | Build was broken when Qt3 support stuff was not enabled Reviewed-by: TrustMe
| * Autotest: add one more check for operator==Thiago Macieira2009-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | I'm running out of ideas as to why MSVC.NET 2003 cannot do this test: baseptr == aData If I do baseptr.data() == aData, it works. And the operator== that it should be calling does exactly that. So my only clue so far is that it's calling some other operator== -- which doesn't make sense, since there is no other.
| * Remove a few warnings when compiling Qt and unexport some functions.Thiago Macieira2009-08-2011-11/+19
| | | | | | | | | | | | | | | | | | | | | | Make some functions static that are not used anywhere but in the current file. Others that are used, add the declaration to the _p.h to ensure we don't forget about them. Finally, there's no need to enable debugging code if it's not used anywhere. Reviewed-by: TrustMe
| * Fix literal IPv6 hostname resolution in QHostInfo.Thiago Macieira2009-08-204-20/+41
| | | | | | | | | | | | | | | | | | | | | | With the series of commits ending in ff1280178, I made QUrl::toAce fail if the parameter is not a well-formed hostname (i.e., if it violates STD3). IPv6 hostnames do, so we can't preemptively run ToACE. Instead, delay running ToACE until we've tried literal matching. Reviewed-by: TrustMe
| * Performance issue in QGraphicsItem::addParentItem while building theGabriel de Dietrich2009-08-204-12/+56
| | | | | | | | | | | | | | | | | | scene bottom-up. When adding n items, the depth was computed n² times. Adding lazy computation fixes this performance issue. Reviewed-by: Andreas
| * Fix QVariant::toFloat() and QVariant::toRealOlivier Goffart2009-08-203-3/+40
| | | | | | | | Reviewed-by: Thierry
| * Windows CE compile fixJoerg Bornemann2009-08-201-1/+1
| | | | | | | | Reviewed-by: ariya
| * QNAM HTTP PipeliningMarkus Goetz2009-08-2014-52/+519
| | | | | | | | | | | | | | | | | | | | HTTP Pipelining should improve the performance of HTTP requests for high latency network links. Since some servers/proxies could have problems with it, it is disabled by default. Set the HttpPipeliningAllowed attribute of a QNetworkRequest to enable it for that request. Reviewed-by: Thiago
| * QNAM HTTP Code: Allow to specify the amount of TCP connectionsMarkus Goetz2009-08-203-5/+26
| | | | | | | | | | | | We will use this for auto testing. Reviewed-by: Thiago
| * QNAM: Moved more functions into QHttpNetworkConnectionChannelMarkus Goetz2009-08-207-523/+519
| | | | | | | | Reviewed-by: Thiago
* | implement registered script values as a doubly linked listKent Hansen2009-08-204-13/+33
| | | | | | | | It's faster.
* | use a list to keep track of registered script valuesKent Hansen2009-08-205-118/+41
| | | | | | | | Get rid of the hash.
* | store the engine's d-pointer in QScriptValuePrivateKent Hansen2009-08-203-150/+115
| | | | | | | | | | It's the d-pointer that we most frequently want to access, so store it to avoid having to use QScriptEnginePrivate::get() all over the place.
* | Remove useless variable from Lexer.Jedrzej Nowacki2009-08-201-3/+2
| |
* | QEXPECT_FAIL was removed.Jedrzej Nowacki2009-08-201-3/+10
| | | | | | | | | | | | | | Autotest's correction after 3062cd6395ba13746aea452eb53447d915184e2d Column numbers are calculated corectly Reviewed-by: Kent Hansen
* | Fix JavaScriptCore::Lexer column countJedrzej Nowacki2009-08-202-2/+9
| | | | | | | | | | | | | | Column number is rest after each new line character in the source code. Reviewed-by: Kent Hansen
* | remove redundant variableKent Hansen2009-08-202-10/+3
| |
* | remove unused variableKent Hansen2009-08-201-1/+0
| |
* | only create and attach the script debugger if it's actually requestedKent Hansen2009-08-201-11/+16
| |
* | add recursion guard for GC markingKent Hansen2009-08-203-4/+10
| | | | | | | | | | | | | | To achieve behavior of the old back-end. There, the recursion guard was automatic because a mark flag was set on the object as soon as marking begun, but in JSC it appears to only be set _after_ the marking is completed.
* | provide line number information for innermost call frameKent Hansen2009-08-204-0/+11
| | | | | | | | | | For the innermost frame, we don't have a returnPC, so use the line number that was last passed to the engine agent.
* | provide filename in stack view if we have itKent Hansen2009-08-201-4/+7
| | | | | | | | | | | | In the JSC back-end it's currently possible that we know the file name, but not the line number (we can't just assume that lineNumber == -1 implies native function).
* | set the current frame when getting callbacks in JSC DebuggerKent Hansen2009-08-203-30/+42
| | | | | | | | | | If the debugger stops execution, we want the frame pointer to be in sync (so we get the full backtrace).