summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Small change in the API of animationsThierry Bastian2009-09-2315-38/+32
| | | | | | | | We're not taking a parameter in updateCurrentTime any more because that parameter was the total currenttime. So it was taking into account the currenttime and the currentloop at once. This was inconsistent Reviewed-by: Leo
* detect and eliminate forwarding headersOswald Buddenhagen2009-09-231-7/+20
| | | | | this will save quite some hash lookups (even if in empty hashes) and make the VisitRecorder bitmap smaller.
* reduce peak memory consumptionOswald Buddenhagen2009-09-231-30/+70
| | | | | drop the parse results of files which are unlikely to be included (i.e., which are not headers).
* actually use the argument of Q_DECLARE_TR_FUNCTIONSOswald Buddenhagen2009-09-233-9/+77
| | | | | | which means that one can set an arbitrary context. as a side effect, this caches the stringified context of Q_OBJECT-derived classes.
* namespaces *can* have tr() functions, after allOswald Buddenhagen2009-09-231-11/+8
| | | | | | ... by virtue of the Q_DECLARE_TR_FUNCTIONS macro. so remove the artificial limitation to classes (which was mostly an optimization anyway).
* drastically improve lupdate's scalabilityOswald Buddenhagen2009-09-231-197/+280
| | | | | | | do not import all data from included files into the current file (which turned out to be extremely expensive for 3rdparty/webkit), but do hierarchical lookups on demand. this makes the lookups as such much slower, of course, but it still pays off.
* optimize/clarify function context stringificationOswald Buddenhagen2009-09-231-5/+6
|
* do not record class forward declarationsOswald Buddenhagen2009-09-231-28/+27
| | | | | they don't create useful namespaces and don't hold flags, so it is pointless to clutter the namespace maps with them.
* remove more dead codeOswald Buddenhagen2009-09-231-2/+1
| | | | no need for parameter "unresolved"
* remove dead codeOswald Buddenhagen2009-09-231-13/+2
| | | | needsTrFunctions was never set any more
* move static objects out of function scopeOswald Buddenhagen2009-09-231-6/+6
| | | | | cuts away a few thousand instructions. need to revisit this in case of making the parser a dynamic library.
* use a source char pointer instead of a string + indexOswald Buddenhagen2009-09-231-13/+18
|
* take advantage of knowing that qstrings are zero-terminated internallyOswald Buddenhagen2009-09-231-6/+5
|
* no need to actually compute number values. only 0 is specialOswald Buddenhagen2009-09-231-37/+18
|
* when matching strings, skip also leading commentsOswald Buddenhagen2009-09-231-6/+8
|
* avoid isalpha() & isalnum()Oswald Buddenhagen2009-09-231-2/+3
| | | | they are surprisingly expensive
* cut down use of qstring::simplified()Oswald Buddenhagen2009-09-231-6/+10
|
* optimize directory scanningOswald Buddenhagen2009-09-231-21/+12
| | | | | qdiroperator uses qregexp for filtering, which is sloooow. so use a hash lookup on extensions instead.
* simplifyOswald Buddenhagen2009-09-231-4/+1
|
* missing & in foreachOswald Buddenhagen2009-09-231-1/+1
|
* QTextCursor selection extension when inserting charactersmae2009-09-232-2/+100
| | | | | | | | | The change makes QTextCursor not extend the selection when inserting characters at the end of the selection, provided that the cursor position is at the end. Reviewed-by: Simon Hausmann Reviewed-by: Roberto Raggi
* Added QSlider to tst_QStyleSheetStyle::complexWidgetFocus.Gabriel de Dietrich2009-09-233-16/+18
| | | | | | | When using style sheets, QSlider::handle couldn't be customized if QSlider::groove wasn't. QComboBox::down-arrow:focus wasn't properly drawn. Reviewed-by: Olivier
* When using style sheets, the focus flag was not propagated to the children ofGabriel de Dietrich2009-09-232-1/+56
| | | | | | complex widgets. Reviewed-by: Olivier
* Modify functions for native pixmap data conversion on Symbian.Jason Barron2009-09-237-351/+376
| | | | | | | | | | | | | We need a way to support converion to and from multiple native pixmap types from multiple pixmap backends. Instead of adding more virtual functions to QPixmapData, make the existing one more generic but pass an opaque pointer and a type and do some internal casting. Currently this function is Symbian only, but could easily be extended to work on other platforms. Reviewed-by: Aleksandar Babic Reviewed-by: Jani Hautakangas
* Implement advanced pointer handling on S60Bradley T. Hughes2009-09-233-2/+80
| | | | | | | | | | | | | Since we only get one pointer event at a time, we need to keep a list of all known touch points in QApplicationPrivate (otherwise the QTouchEvent won't contain enough points). The QApplication machinery can handle having inactive touch-points in the list, so at the moment we don't clear the list. We treat PointerNumber zero as the primary touch point, and only send regular mouse events for that pointer, never for the others. Reviewed-by: Jason Barron
* Implement Qt::WA_AcceptTouchEvents on S60Bradley T. Hughes2009-09-233-1/+14
| | | | | | | | Turning this attribute ends up calling RWindow::EnabledAdvancedPointers(), which tells Symbian to send us multiple pointer events with extended info. Reviewed-by: Jason Barron
* Fix a warning about an unused variable.Jason Barron2009-09-231-1/+1
| | | | Reviewed-by: TrustMe
* Fixed parsing of html header in the qtextcodec.Denis Dzyubenko2009-09-231-6/+8
| | | | | | | The QTextCodec::codecForHtml used to expect http-equiv attribute before the charset attribute in the meta header, which is not always the case. Reviewed-by: Simon Hausmann
* Try to stabilize this testPaul Olav Tvete2009-09-231-2/+3
|
* Try to support Qt 4.4-style Phonon includes in Qt.Thiago Macieira2009-09-232-4/+14
| | | | | | | | | | | | | | | | | | | This introduces an undocumented "phonon_compat" subdir and also adds it to the INCLUDEPATH when QT += phonon is specified. With this, these styles of #includes should be supported: #include <Phonon> #include <Phonon/Phonon> #include <phonon> #include <phonon/phonon> #include <Phonon/MediaObject> #include <phonon/mediaobject.h> Still need to check if the headers get installed during "make install". I couldn't find where in our code that is done. BT: yes Reviewed-By: Trust Me
* Don't warn of an unused 'window' argument.Jan-Arve Sæther2009-09-231-0/+2
|
* Fall back to pixmaps in xp style when toplevel is translucentGunnar Sletta2009-09-231-1/+10
| | | | | | | | The "fast path" will write bad premlutiplied pixels into the backbuffer so the blending will be broken, plus that the window does not get mouse events for alpha=0 pixels. Reviewed-by: Marius Storm-Olsen
* QRingBuffer: Try to minimize memory consumption while it is emptyMarkus Goetz2009-09-231-5/+18
| | | | | | | | | Try not to hold an unused 4k QByteArray. This may introduce a performance regression e.g. for QNetworkReply in exchange for lower memory usage. We will see if this is really the case. Reviewed-by: Thiago
* QNAM HTTP Code: Properly remove aborted requests from processingMarkus Goetz2009-09-234-4/+41
| | | | | | | | This fixes a crash that occured because aborted requests were not properly removed from the channel.alreadyPipelinedRequests. Task-number: QTBUG-4507 Reviewed-by: Peter Hartmann
* Fix new test so it works on QWSPaul Olav Tvete2009-09-231-1/+1
|
* Fix tst_QWidget::showMaximized on X11Olivier Goffart2009-09-231-1/+1
| | | | | | On X11 We have to wait we get the size change from the window manager Reviewed-by: Jason Barron
* tst_QFileSystemWatcher::watchFileAndItsDirectory fixed for Windows CEJoerg Bornemann2009-09-231-0/+3
| | | | | | We skip parts of watchDirectory for the same reason. Reviewed-by: thartman
* Remove supported platforms from dist/README.Jason McDonald2009-09-231-49/+2
| | | | | | | This is a maintenance headache. Just reference the canonical supported platforms list instead. Reviewed-by: Trust Me
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jason McDonald2009-09-2315-38/+72
|\
| * Make gtkstyle work on non-developer machines againHarald Fernengel2009-09-231-1/+2
| | | | | | | | | | | | | | | | While refactoring gtkstyle in 4.6, the "0" .so suffix was dropped. This patch restores the 4.5 behavior to look for *.so.0 since the *.so is only available if you install the gtk developer packages. Reviewed-by: jbache
| * Removed explicit TARGET.EPOCHEAPSIZE statements from script testsMiikka Heikkinen2009-09-234-13/+4
| | | | | | | | | | | | | | | | Large enough max heap for script tests is now defined by default for all tests in qttest_p4.prf, so removed the statements from individual script tests. Reviewed-by: Janne Anttila
| * Fix autotest compilationJoão Abecasis2009-09-232-1/+3
| |
| * Merge branch 'QTBUG-3524' into 4.6Jan-Arve Sæther2009-09-232-0/+19
| |\
| | * Small API addition: Make addChildLayoutItem available for subclasses.Jan-Arve Sæther2009-09-232-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Many people have requested this. And since its protected it does not really pollute the API a lot. Task: QTBUG-3524 Reviewed-by: mbm
| * | more meaningful output in tst_QAudioOutput::pullFileJoerg Bornemann2009-09-231-12/+12
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | tests/auto/qaudioinput deployment rules fixed for Windows CEJoerg Bornemann2009-09-231-2/+10
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | tests/auto/qaudiooutput deployment rules fixed for Windows CEJoerg Bornemann2009-09-231-5/+7
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | Added a comment to clarify the purpose of a piece of code.Trond Kjernåsen2009-09-231-1/+1
| | | | | | | | | | | | Reviewed-by: Trust Me
| * | Fix compilation errors in qcombobox autotestShane Kearns2009-09-231-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | Dependency on windows style, without including the header file Needed static casts to compare QWidget* with QComboBox* at least for the Nokia x86 compiler. Reviewed-by: axis
| * | QJpegImageHandle: Avoid smooth scalling when it should not.Olivier Goffart2009-09-231-1/+5
| |/ | | | | | | | | | | Task-number: QTBUG-3211 Task-number: 236875 Reviewed-by: Alex