summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add the -testability option to Qt applications.Petri Kiiskinen2009-09-293-1/+27
| | | | | | | | If this option is given, Qt will load a plugin called "qttestability" and run an initialisation function from it. This allows one to just install the plugin in a non-debug device in order to enable testing. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
* HTTP backend: store the date header in the cached resourcePeter Hartmann2009-09-291-5/+8
| | | | | | | | | | we need the date header to calculate the age of the page, although this increases disk usage when using a QNetworkDiskCache. A solution to reduce the disk access of QNetworkDiskCache will be considered for a later version of Qt. Reviewed-by: Markus Goetz Reviewed-by: Aleksandar Sasha Babic
* Mac: Fix build failure on tigerRichard Moe Gustavsen2009-09-291-0/+11
| | | | | | | | I had to add inn some constants for dealing with pixel smooth scolling on mac when building on Tiger. This is done according to: http://developer.apple.com/legacy/mac/library/qa/qa2005/qa1453.html RevBy:prasanth
* Doc: Snow Leopard is supported as a Tier 2 platform.Volker Hilsheimer2009-09-291-1/+7
| | | | | Discussed in the program team - adding it as a Tier 1 platform is too ambitious.
* fix solaris buildOswald Buddenhagen2009-09-291-1/+5
| | | | "A class with a reference member must have a user-defined constructor."
* Update docs for softkeys to match new API and implementation.Jason Barron2009-09-291-16/+18
| | | | | | | These docs were outdated and referred to API that no longer exists so we refresh them with some updated info. Reviewed-by: Sami Merila
* Fix a bug in QPixmapCache when the cache is trimmed by QCache.Alexis Menard2009-09-296-48/+52
| | | | | | | | | | | There was a bug in QPixmapCache when QCache trims the content, some keys were not invalidated. The ifdef for WinCE (that i removed) was a wrong fix, it let the auto-test pass but it doesn't fix the bug. The approach here is to add a QPixmapCacheEntry that release the key it owns when QCache deletes it : we are now sure that nothing happen in our back. Reviewed-by:paul Reviewed-by:trond
* Use glXGetProcAddress to resolve glx extensionsTom Cooksey2009-09-292-57/+68
| | | | | | | | | | | | On systems where the GL driver is pluggable (like Mesa), we have to use the glXGetProcAddressARB extension to resolve other function pointers as the symbols wont be in the GL library, but rather in a plugin loaded by the GL library. This fix basically makes texture-from-pixmap work on Mesa drivers like intel i915 & friends. Reviewed-by: Trond
* I18N: Add new module, fix spelling glitch.Friedemann Kleint2009-09-292-1/+3
|
* Revert the new QFSEventsFileSystemWatcherEngine on Mac for now.Alexis Menard2009-09-291-1/+1
| | | | | | | | | | | This new QFSEventsFileSystemWatcherEngine was introduced in 4.6 in order to speed up Qt, but we have experienced dead lock and auto-tests regressions (QFilesystemModel). Task-number:QT-2217 Reviewed-by:brad Reviewed-by:denis Reviewed-by:richard
* Add a more proper shutdown sequence for Symbian applications.Jason Barron2009-09-291-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously both EEikCmdExit and EAknSoftkeyExit were hard coded to call exit() which promptly exited the event loop without the chance to do any UI operations. With this patch, we handle the two cases differently and allow people to essentially make the right soft key a hide instead of an exit simply by reimplementing closeEvent() and ignoring the event. EAknSoftkeyExit is now a soft exit since this does not seem to be a mandatory exit in S60. By sending a QCloseEvent to QApplication this has the effect that all windows are closed (sent another QCloseEvent) and if one of them chooses to ignore this event, the application and UI are both kept alive. This is similar to how Qt behaves on other platforms. If all windows accept the close event (default), then the application will quit() as normal. This command is sent from the right soft key. EEikCmdExit is mapped similarly as before, but calls quit() instead of exit() to be aligned with other platforms. This will cause the aboutToQuit signal to be emitted which maps very well to Qt because UI interaction is not permitted from this signal and wouldn't work in S60 anyway because in the case of EEikCmdExit, the UI has already been torn down by the UI framework. This command is sent by the End key. We could take this one step further and intercept the key event and prevent it from going to the UI framework and tearing down the UI, but this is a little too evil IMHO. If people really want to intercept that event, they can do it by reimplementing the platform specific event filter. This is equivalent to how it would be done in S60 (reimplementing HandleWsEvent). Reviewed-by: axis Reviewed-by: mread
* Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-09-29123-738/+883
|\
| * Fix some docs to follow the Qt style. (remove asterisks, proper indenting)Jan-Arve Sæther2009-09-291-44/+44
| | | | | | | | Note that this does *not* change the content of the docs.
| * Dont generate public docs for QSimplex.Jan-Arve Sæther2009-09-291-0/+4
| |
| * Improve error reporting when qdoc cannot open a source file.Jason McDonald2009-09-291-1/+2
| | | | | | | | | | | | | | Make the user's life easier by including the reason for the error in the failure message. Reviewed-by: Trust Me
| * Fix qdoc error.Jason McDonald2009-09-291-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jason McDonald2009-09-291-0/+4
| |\
| | * Fixes failing autotest.Bill King2009-09-291-0/+4
| | |
| * | Assistant, Designer, Lingist and QMake manuals weren't generated.Jason McDonald2009-09-296-12/+12
| |/ | | | | | | | | | | | | | | | | qdoc3 warns when it doesn't find doc source files that are listed in the .qdocconf file, but it doesn't error out. Thus the manuals haven't been generated since the 4.6 doc reorganization, but the failure has been silent. Reviewed-by: Trust Me
| * Fix a alpha issue with RGB32 and DirectFBAnders Bakken2009-09-291-1/+4
| | | | | | | | | | | | | | | | | | | | Since we can't use RGB32 format with DirectFB (issues regarding Qt's assumptions about the alpha byte) we need to explicitly convert images of this type to the preferred alphaPixmap format. This fixes an issue where RGB32 images get a curious gray alpha overlay. Reviewed-by: Noam Rosenthal <noam.rosenthal@nokia.com>
| * Fixes compileBill King2009-09-291-7/+7
| |
| * doc: add some more \since 4.6 tagsVolker Hilsheimer2009-09-2810-9/+58
| |
| * QWheelEvent not working on Cocoa 64BitPrasanth Ullattil2009-09-281-3/+3
| | | | | | | | | | | | | | | | | | The patch which added support for smooth scrolling will work only on 32 bit builds. The new methods (e.g. deviceDeltaX) of the NSEvent were added with the float return type. This should be of CGFloat type instead, which is different from float on 64 bit builds. Reviewed-by: Trust Me
| * Fix Freemantle build of JSC/WebKit.Simon Hausmann2009-09-282-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove __clear_cache which is an internal function of GCC https://bugs.webkit.org/show_bug.cgi?id=28886 Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-09-28 Reviewed by Simon Hausmann. Although __clear_cache is exported from GCC, this is an internal function. GCC makes no promises about it. * jit/ExecutableAllocator.h: (JSC::ExecutableAllocator::cacheFlush): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
| * Fix to Q3PopupMenu autotest on windowsThierry Bastian2009-09-281-2/+2
| | | | | | | | 100ms is not enough because there is a delay for the popup.
| * QScript: Add test for getting backtrace of recursive functionsOlivier Goffart2009-09-281-0/+66
| |
| * QScript: Fix strange bugs and crashes.Olivier Goffart2009-09-284-9/+50
| | | | | | | | | | | | | | | | | | | | I was assuming that the default return value register was always set to 0 for native calls. But this is not the case. So we must ensure this. Also be consistend in the way the stackframe grow and shrink. This expose another bug in the way the call frame is created in JSC Reviewed-by: Kent Hansen
| * fixed a typo in the doc.Denis Dzyubenko2009-09-281-1/+1
| | | | | | | | Reviewed-by: trustme
| * Fix QWebHistory autotest crashesJedrzej Nowacki2009-09-281-3/+7
| | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=29803 Reviewed-by: Simon Hausmann Cherry-picked-by: Simon Hausmann
| * Fixed a crash in the boxes demo when using -graphicssystem opengl.Trond Kjernaasen2009-09-284-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | Several problems: 1. The demo leaked the scene contents, which caused cleanup problems. 2. The QGLContext::currentContext() could be changed behind Qt's back under Windows (the temp contexts never reset the current context). 3. QGLFormat::openGLVersionFlags() function would return uninitialized flags if the QGLWidget constructor happened to call qt_gl_preferGL2Engine(). Reviewed-by: Kim
| * Removed unused line in QAbstractAnimationLeonardo Sobral Cunha2009-09-281-1/+0
| | | | | | | | | | | | This line was a left-over from commit 86f5a63b018441 Reviewed-by: thierry
| * getMacPreferredLanguageAndCountry: Fix possible crashMarkus Goetz2009-09-281-1/+1
| | | | | | | | | | | | | | | | getMacPreferredLanguageAndCountry can crash when called e.g. as a root user because CFPreferencesCopyValue will return 0. Reviewed-by: denis Task-number: 261664
| * Fixing the autotest for other platforms, hopefully...João Abecasis2009-09-281-1/+1
| | | | | | | | Reviewed-by: Joerg Bornemann
| * Refactor of timer verification in QAbstractAnimationLeonardo Sobral Cunha2009-09-281-6/+4
| | | | | | | | Reviewed-by: thierry
| * Correct the formextractor which was using removed QWebElement APIJocelyn Turcotte2009-09-281-7/+7
| | | | | | | | Reviewed-by: Kent Hansen
| * Fixed compile failure when running make with large -j.Rohan McGovern2009-09-281-0/+1
| | | | | | | | | | | | | | | | | | | | `ld: library not found for -lQtOpenGL' ... in opengl graphicssystem. Must build QtOpenGL before the GL graphicssystem plugin. Reviewed-by: brad
| * Animations: updateCurrentTime now receives the currentTime as paramaterThierry Bastian2009-09-2815-30/+30
| | | | | | | | Reviewed-by: Leo
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Sami Merilä2009-09-283-13/+28
| |\
| | * Fix tst_QTextDocument::cursorPositionChangedOnSetTextmae2009-09-281-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was introduced to make sure that the cursor position changed signal was not emitted excessively on setPlainText or on setHtml. The original fix however still included one superfluous emission for a temporary QTextCursor object. This was fixed by change 930ba91ec1e630, this change adjusts the auto test accordingly. Reviewed-by: Simon Hausmann
| | * Impossible to interact with the year on QCalendarWidget on GraphicsViewThierry Bastian2009-09-281-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that it is using mapToGlobal to translate a mouse position andthat doesn't work well when the widget is mebedded inside graphics view. Task-number: QT-2218 Reviewed-by: Bjoern Erik Nilsen
| | * Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Janne Anttila2009-09-2818-240/+250
| | |\
| | * | Fixed QMessageBox::updateSize test case for S60.Janne Anttila2009-09-281-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In S60 message boxes are always in portrait mode located on the bottom of screen and they occypy the whole sreen width. In addition messageboxes in S60 does not have their own buttons, but the buttons are located in system softkey area. That's why adding standard buttons for message box in S60 does not change the dialog size. Reviewed-by: Sami Merila
| * | | Triggering softkey action for disbled widget causes a crash.Sami Merilä2009-09-283-2/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Softkey actions need to copy enable state from action widget to prevent crash when action is triggered and action widget is disabled. OPEN: dynamically setting enable state for softkey actions. Task-number: QT-2117 Reviewed-by: Jason Barron
| * | Merge branch '4.6' of git@scm.dev-nokia.troll.no:qt/qt into 4.6Andreas Aardal Hanssen2009-09-283-2/+4
| |\ \
| | * | Fix qdoc error.Jason McDonald2009-09-281-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| | * | Fix qdoc errorJason McDonald2009-09-281-1/+1
| | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| | * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Jason McDonald2009-09-282-4/+4
| | |\ \
| | * | | Fix qdoc errorsJason McDonald2009-09-281-0/+2
| | | | | | | | | | | | | | | | | | | | Reviewed-by: Trust Me
| * | | | Merge commit 'origin/4.5' into 4.6Andreas Aardal Hanssen2009-09-2811-228/+165
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: Joao Conflicts: src/gui/graphicsview/qgraphicsview.cpp src/gui/widgets/qspinbox.cpp tests/auto/qgraphicsview/tst_qgraphicsview.cpp
| | * | | QGraphicsItem with parent flag ItemClipsChildrenToShape not visibleAndreas Aardal Hanssen2009-09-282-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression against Qt 4.4. Children of items with ItemClipsChildrenToShape would only be discovered if the view's expose region contained the outer bounding rect of all items, _if_ there was at least one item in the scene that enabled ItemIgnoresTransformations. The reason for this bug is that the presence of an untransformable item causes the item lookups to go through a different path (QGraphicsViewPrivate::itemsInArea()). This function had the bug that it didn't correctly discover children of clip-items. Because of this, in the provided test case you could "work around" the bug by either removing the clip flag, or the transformation flag. Task-number: QTBUG-4151 Reviewed-by: Alexis