summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove currentChildBeingDeleted from QObjectPrivate.Thiago Macieira2009-08-032-21/+13
| | | | | | | | | When a child is being deleted by its parent, the child should not notify the parent (of that which it already knows anyway). We did that by keeping a pointer to the child being deleted. Much simpler to simply orphan the child. Reviewed-by: Bradley T. Hughes
* Add EGL_BIND_TO_TEXTURE_RGBA to QEglProperties::reduceConfiguration()Tom Cooksey2009-08-031-1/+10
| | | | | Now reduceConfiguration will add a new step of reduction which removes EGL_BIND_TO_TEXTURE_RGBA and replaces it with EGL_BIND_TO_TEXTURE_RGB.
* Add a constructor to QEglProperties which takes an EGLConfigTom Cooksey2009-08-032-0/+15
| | | | | The constructor then extracts all the attributes from the config. Useful for dumping all the attributes for a particular config to qDebug().
* Make QEglProperties::setVisualFormat() read alpha for visualTom Cooksey2009-08-031-1/+11
| | | | Reviewed-by: Trustme
* Fix build on X11/EGL without XRenderTom Cooksey2009-08-031-2/+4
| | | | Reviewed-by: Trustme
* Add qglpixelbuffer_p.h to opengl.pro so Creator finds itTom Cooksey2009-08-031-0/+1
| | | | Reviewed-By: Trustme
* export QStateMachinePrivate symbolsKent Hansen2009-08-031-6/+2
| | | | | 1) it's needed for the Declarative UI integration and 2) it hopefully fixes the build on Windows.
* remove constructors that are not usefulKent Hansen2009-08-0315-138/+28
| | | | | | | The constructors that take a list of target states produce hard-to-read code, and they're rarely useful in practice since 99% of transitions take a single target state; so it's better to enforce that setTarget{State,States}() be used instead.
* Ensure that the dash offset is reset when using drawLines()Andy Shaw2009-08-031-2/+4
| | | | | | | | When using drawLines() then the dash offset was remembering where it was on the previous line. This is not what the behaviour should be as it should be starting with the same offset for each line. Reviewed-by: Samuel
* Fixes casing fails for databases that have variable casing support.Bill King2009-08-031-3/+5
|
* Doc: Replaced QSet<double> with QSet<int> in QList::fromSet() exampleStian Sandvik Thomassen2009-08-021-3/+3
| | | | | We don't implement qHash() for double, so let's not use QSet<double> in the documentation.
* Compilare necessus estVolker Hilsheimer2009-08-011-1/+1
|
* Revert "Fix QFormLayout which allowed fields to be smaller that their ↵Olivier Goffart2009-07-312-35/+1
| | | | | | | | | | | minimum size" This reverts commit 244f5ee9c2c34ddee200e4d5cdc1345762a5901b. Valgrind complains about the label fields that are not inisialized yet, and indeed. They are initialized right after, and need the maxLabelWidth to be computed. This is a chicken and egg problem difficult to solve, so I rather revert the change as the bug is not critical
* Doc: Use new APIs in example and correct documentation regarding replacement.Volker Hilsheimer2009-07-311-1/+1
|
* Doc: Use new APIs in example and correct documentation regarding replacement.Volker Hilsheimer2009-07-313-8/+31
|
* Export symbol used in QtGui.Volker Hilsheimer2009-07-311-1/+5
| | | | Reviewed-by: Kent Hansen
* QCheckBox on an out-of-process server wont allow <SPACE> key & FocusPrasanth Ullattil2009-07-313-43/+90
| | | | | | | | | | | | | | | | | | | rect is not drawn correctly. Depending on the type of server, QAxClientSite::TranslateAccelerator() needs to process the message differently. For ActiveQt based in-process-servers, only normal Qt event handling is required. For ActiveQt based out-of-process-servers, the message has to be forwarded and Qt event handling needs to continue. For all other type of servers, forward the message and stop Qt event processing. Styles use the WA_KeyboardFocusChange attribute set on the window to decide on drawing the focus rect. ActiveQt handles the VK_TAB key in the QAxServerBase::TranslateAcceleratorW(), the attibute is now set when focus is changed. Task-number: 253763 Reviewed-by: Volker Hilsheimer
* Crash DirectFb plugin when resizing verticalyJørgen Lind2009-07-311-2/+4
| | | | | | | QRasterPaintEngine assumes device does not change size. Therefore create a new engine when resizing. Reviewed-by: Tom
* Assistant: Performance fixes for help generator's pattern matching.ck2009-07-311-7/+36
| | | | | | Reading a help project was unacceptably slow with pattern matching. Now we do it only for filenames that contain wildcard symbols. Also, we cache the results of QDir::entryList() calls.
* Doc: fix warnings.Volker Hilsheimer2009-07-312-1/+3
|
* compileKent Hansen2009-07-311-1/+1
| | | | | Broke on WinCE since QStateMachinePrivate is now using Q_AUTOTEST_EXPORT.
* Revert "Small simplification of code in ItemViews (delegate)"Olivier Goffart2009-07-312-6/+12
| | | | | | | | | | | | | This reverts commit 95560abfdd3a1755b69f238eff2954d164dff6a5. Fix comboboxes used as editor. isAncestor() stops at windows. we want to go tought the whole widget chain, including parent windows Use case: examples/itemviews/coloreditorfactory/coloreditorfactory Task-number: 259034
* Fix compilation: add #include <new> if placement new is usedThiago Macieira2009-07-311-0/+7
| | | | | | | | | | | | I'm not sure this is the proper fix, though. xlC 7 complains with: "/usr/vacpp/include/new", line 97.10: 1540-1298 (I) "void *operator new(size_t, void *) throw()" needs to be declared in the containing scope to be found by name lookup. Also add some calculations to the padding in the data structure. Reviewed-by: Trust Me
* add private goToState() function to state machineKent Hansen2009-07-313-7/+138
| | | | Needed for Declarative UI integration.
* Fix internal documentation after QUrl change.kh2009-07-315-5/+5
| | | | Reviewed-by: kh
* remove const from QSignalEvent::sender*Kent Hansen2009-07-313-6/+6
| | | | | QObject::sender() does not return const QObject*, so neither should this API; it just forces you to const_cast for no good reason.
* Doc: Fixed a snippet bug in QFileInfoGeir Vattekar2009-07-311-3/+3
| | | | | Task-number: 258371 Reviewed-by: Trust Me
* Fix compilation with xlC 7: operands to ?: must match.Thiago Macieira2009-07-311-2/+2
| | | | | | See 3ae2cab9c8bd1790a00da2755ac036143a3a35f4 for another similar fix. Reviewed-by: Trust Me
* Compile on HP-UXiBradley T. Hughes2009-07-312-3/+4
| | | | | | | | | | There is no monotonic clock support on HP-UXi at all, and the _POSIX_MONOTONIC_CLOCK macro is not defined at all (not even to -1). We handle this in the event dispatcher, but not in qcore_unix.cpp. Since the monotonic clock time code has moved, the define of _POSIX_MONOTONIC_CLOCK to -1 should also move. Reviewed-by: thiago
* test that activation and this-object can be inherited from parent contextKent Hansen2009-07-311-0/+30
|
* Show open directory dialog for new gesture exampleRichard Moe Gustavsen2009-07-311-0/+3
| | | | RevBy: denis
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtAaron Kennedy2009-07-31139-3451/+4562
|\
| * Fixed corrupt testlogs on Windows and other places where vsnprintf isRohan McGovern2009-07-311-3/+4
| | | | | | | | | | | | | | | | | | | | not C99-compliant. C99 says vsnprintf returns >= `size' when not enough memory was available. In practice, on Windows, glibc < 2.0.6, and probably plenty of other places it returns -1 instead. Reviewed-by: Rhys Weatherley
| * Docs: Improve QGraphicsTransform and subclassesAndreas Aardal Hanssen2009-07-315-191/+327
| | | | | | | | | | | | | | | | Fix a few typos and add more descriptive documentation to the class itself and its subclasses. Reviewed-by: Volker Hilsheimer Reviewed-by: Martin Smith
| * API documentation moved into the classes subdirectoryVolker Hilsheimer2009-07-301-0/+0
| |
| * Doc: there is no group of explicitly shared classes, only one class uses this.Volker Hilsheimer2009-07-304-116/+156
| | | | | | | | | | Explain the implications in the QWebHistoryItem documentation, and get rid of the "group".
| * Disabling the close button didn't work correctlyDenis Dzyubenko2009-07-301-10/+11
| | | | | | | | | | | | | | | | | | | | Close button was enabled if the native window handle was created implicitely (for example by the setWindowTitle() function). Moved the code that enables of disables the close button to the place where we create native window handle. Task-number: 256360 Reviewed-by: trustme
| * Allow maximize button on the titlebar for a fixed size windowDenis Dzyubenko2009-07-301-0/+5
| | | | | | | | | | | | | | | | | | On Windows we will add maximize button to the titlebar even if the window has a fixed size if the user explicitely asked for it by setting Qt::CustomizeWindowHint | Qt::WindowMaximizeButtonHint. Task-number: 250188 Reviewed-by: Leonardo Sobral Cunha
| * Added the windowflags manualtest which is based on the windowflags example.Denis Dzyubenko2009-07-306-0/+662
| |
| * Added an ability to remove size constraints from a widget.Denis Dzyubenko2009-07-301-6/+15
| | | | | | | | | | | | | | | | QWidget::setFixedSize() constrains the size of the widget, however there was no way to remove those constraints, so setting the constraints to QWIDGETSIZE_MAX will make the widget resizable again. Reviewed-by: Leonardo Sobral Cunha
| * Autotest: reduce the amout of data transferred to 128 MB, otherwise theThiago Macieira2009-07-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | test wouldn't finish. Running under valgrind and slow operating systems, the transfer rate is only a couple of MB per second. As long as you can reach 3.2 MB/s now, it should still work Also, don't kill the thread, for any reason. That causes trouble. Reviewed-by: Markus Goetz
| * Autotest: reorganise the HTTP performance testsThiago Macieira2009-07-301-125/+124
| |
| * Autotest: fix crash caused by deleting a QSharedPointerThiago Macieira2009-07-301-9/+5
| | | | | | | | | | | | | | | | | | | | The delete reply; was introduced by a conflicted merge in the VxWorks port. It should not have appeared. But take this opportunity to convert the two other uses of QNetworkReply* without lifetime management to QSharedPointer too. Reviewed-by: Markus Goetz
| * Do not emit activated and close the popup when the item is not enabled.Benjamin C Meyer2009-07-302-2/+31
| | | | | | | | | | | | | | Autotest: included Merge-request: 378 Reviewed-by: Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>
| * fix infinite loop when meeting improper trId()Oswald Buddenhagen2009-07-301-1/+3
| |
| * Fix compilation with xlC 7: operands to ?: must match.Thiago Macieira2009-07-301-1/+1
| | | | | | | | | | | | "../shared/qm.cpp", line 556.45: 1540-0207 (S) No common type found for operands with type "const char [7]" and "QByteArray". Reviewed-by: Trust Me
| * Gestures: fixed install event filter bugRichard Moe Gustavsen2009-07-301-2/+2
| | | | | | | | | | | | made sure that we set the filter on the correct widget RevBy: denis
| * Fix autotests after QUrl change.kh2009-07-3015-25/+25
| | | | | | | | Reviewed-by: kh
| * Fixed font attribute inheritence, text and textArea elements in QtSvg.Kim Motoyoshi Kalland2009-07-307-702/+474
| | | | | | | | | | | | | | | | | | | | Text used to be formatted during the parsing of the SVG file, but because the text can be referenced by a 'use' element, the text formatting is not known at this point in time. Now, font attributes can be inherited from 'use' elements, and the text is formatted each time it is drawn. Reviewed-by: Tor Arne
| * Added support for 'vector-effect' in QtSvg.Kim Motoyoshi Kalland2009-07-301-82/+150
| | | | | | | | | | Task-number: 254040 Reviewed-by: Tor Arne