summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make writing out word-spacing use the right property.Thomas Zander2009-10-121-2/+2
| | | | | | | | ODF seems to not specify this property, while xslt (which odf copied for this) does, writing it out will be much more useful than loosing the info silently, though. Reviewed-by: Denis Dzyubenko
* Fixed a bug visible in QPrintPreview with the X11 XLFD font engine.Trond Kjernåsen2009-10-121-1/+1
| | | | | | | QFontEngineXLFD::boundingBox() function did not take justification into account when calculating the bounding box for a set of glyphs. Reviewed-by: Eskil
* QHttpNetworkConnectionChannel: Limit the socket read bufferMarkus Goetz2009-10-121-0/+5
| | | | Reviewed-by: Peter Hartmann
* Added documentation for the Gesture API.Denis Dzyubenko2009-10-129-30/+280
| | | | Reviewed-by: trustme
* Added support for singleshot gestures.Denis Dzyubenko2009-10-122-9/+14
| | | | | | | | | When a gesture recognizer claims to be in Finished state without any Triggered states before, that probably means that was a singleshot gesture that has started and ended right away, so we'll send a fake gesture in the GestureStarted state. Reviewed-by: trustme
* Add Russian translations for Qt DesignerRitt Konstantin2009-10-121-0/+7049
| | | | | Merge-request: 1761 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Update Russian translations for Qt Assistant, Qt Assistant Adp tools and Qt ↵Ritt Konstantin2009-10-123-93/+123
| | | | | | | Help library Merge-request: 1761 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Update Russian translations for Qt LinguistRitt Konstantin2009-10-121-175/+191
| | | | | Merge-request: 1761 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Update Russian translations for Qt Config and QtVfb toolsRitt Konstantin2009-10-122-53/+82
| | | | | Merge-request: 1761 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Update Russian translations for Qt librariesRitt Konstantin2009-10-121-933/+3050
| | | | | Merge-request: 1761 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Fix for qapplication::testDeleteLaterProcessEvents autotest in Symbian.Janne Anttila2009-10-122-4/+5
| | | | | | | | | | | | | | | | | | | | Deleting qt_desktopWidget eventually ends up to QSymbianControl destructor. Calling setFocusSafely from QSymbianControl destructor causes a new events to be posted to event queue. Posting events tries to wakeup event dispatcher, which was deleted in QApplication destructor before calling delete for qt_desktopWidget. This makes application to panic. The fix is to change is_app_closing and is_app_running flags to correct state immediately after event dispatcher is closed down, and check the is_app_closing flag in QSymbianControl destructor. The change fixes panic in qapplication::testDeleteLaterProcessEvents, and otherwise QApplication and QWidget autotest results are same as before change. Reviewed-by: Miikka Heikkinen Reviewed-by: Brad
* Compile fix after the latest change to gesture api.Denis Dzyubenko2009-10-121-8/+1
| | | | | | Forgot to remove the declaration from a source file because of a bad merge. Reviewed-by: Bradley T. Hughes
* Fixed warnings autotest.Denis Dzyubenko2009-10-122-2/+2
| | | | Reviewed-by: Olivier Goffart
* Removed the QGesture contructor that we don't really need.Denis Dzyubenko2009-10-122-9/+9
| | | | | | | | | The constructor that accepts a gesture type is not needed because the gesture type id will be generated by Qt and assigned to the QGesture object when a custom gesture recognizer is registered within the framework. Reviewed-by: trustme
* Fixed enum values in Qt::GestureContext.Denis Dzyubenko2009-10-121-2/+2
| | | | | | | | | | The only reason to refer to values from the Qt::ShortcutContext enum is to avoid confusing people since enum value names look similar so we want to avoid weird behaviour when mixing them. But referring to another enum value makes the documentation look weird as it mentions different unrelated enum value in the GestureContext doc. Reviewed-by: trustme
* Revert merge commit 3945fd75a93d790434b33c2d23aOlivier Goffart2009-10-121-1/+1
| | | | | The resolution of conflicts introduced regressions. And the commit was already in 4.6
* QUuid::createUuid() not unique when using threads on UnixBradley T. Hughes2009-10-123-4/+63
| | | | | | | | | | | | | | | QUuid::createUuid() only seeds the PRNG on the first entry, but since it's using qsrand() and qrand(), all other threads will use the default seed, and thus generate the exact same UUIDs. Fix this by adding an internal function (qsrand() overload with no args) which seeds the PRNG if it hasn't been done already, and use a seed that is based on current time, a stack address and a global serial counter (so that the chances of 2 threads using the same seed are as low as possible). Task-number: QTBUG-3543 Reviewed-by: Marius Storm-Olsen
* GL ES 2.0 Shader language compatibilityJulian de Bhal2009-10-122-24/+37
| | | | | | | | Add precision modifiers to variable declarations in glsl for GL ES 2.0 compatibility. Precision modifiers are optional, so GL 2.0 languages will continue to parse unchanged. rweather
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Julian de Bhal2009-10-122-2/+4
|\
| * Don't delete an fbo's texture if the fbo isn't using a textureRhys Weatherley2009-10-122-2/+4
| | | | | | | | | | | | Also, unbind the texture after it is initialized. Reviewed-by: Sarah Smith
* | qlalrJulian de Bhal2009-10-122-11/+11
|/ | | | | | Removed the word "troll" from the implementation to match the header. Make qlalr compile.
* 2009-10-09 Joe Ligman <joseph.ligman@nokia.com>Joe Ligman2009-10-117-5/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by Simon Hausmann. Sets Qt::WA_InputMethodEnabled and Qt::ImhHiddenText for password fields in EditorClientQt setInputMethodState. This change is needed so widgets such as the s60 software input panel can receive input method events for password fields. It's up to the Qt platform to determine which widget will receive input method events when these flags are set. Also added implementation for setInputMethodEnabled and setInputMethodHint to QGraphicsWebViewPrivate and QWebViewPrivate. This change removes the direct dependency on QWebView and uses QWebPageClient. Added autotest to tst_qwebpage.cpp https://bugs.webkit.org/show_bug.cgi?id=30023 * Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::setInputMethodEnabled): (QGraphicsWebViewPrivate::setInputMethodHint): * Api/qwebview.cpp: (QWebViewPrivate::setInputMethodEnabled): (QWebViewPrivate::setInputMethodHint): * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState): * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): 2009-10-09 Joe Ligman <joseph.ligman@nokia.com> Reviewed by Simon Hausmann. [Qt] Added pure virtual methods setInputMethodEnabled and setInputMethodHint to QWebPageClient https://bugs.webkit.org/show_bug.cgi?id=30023 * platform/qt/QWebPageClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49397 268f45cc-cd09-0410-ab3c-d52691b4dbfc Signed-off-by: Simon Hausmann <simon.hausmann@nokia.com>
* Add license headers - make header-testcase pass.Volker Hilsheimer2009-10-1010-4/+250
|
* Merge branch '4.6' of git:qt/qt into 4.6Thiago Macieira2009-10-102-5/+6
|\
| * Fixed getting an icon for a file on the filesystem with gnome.Denis Dzyubenko2009-10-091-3/+6
| | | | | | | | | | | | | | | | | | | | According to the documentation gnome_icon_lookup_sync() can return an absolute file path for the icon, so we check if the returned string starts like a path, then we load the icon from the file. This also fixes compilation warnings. Reviewed-by: Olivier Goffart
| * Fixed compilation warning by removing unused variables.Denis Dzyubenko2009-10-091-2/+0
| | | | | | | | Reviewed-by: trustme
* | Fix compilation with aCC 6: this compiler has broken for scopingThiago Macieira2009-10-091-0/+5
| | | | | | | | | | | | "../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp", line 860: error #2101: "size" has already been declared in the current scope "../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp", line 1560: error #2101: "span" has already been declared in the current scope "../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp", line 1807: error #2101: "s" has already been declared in the current scope
* | Fix compilation with aCC 6: cannot redefine a variable in the same scopeThiago Macieira2009-10-091-1/+1
| | | | | | | | | | | | "../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp", line 2927: error #2101: "h" has already been declared in the current scope for (TCMalloc_ThreadCache* h = thread_heaps; h != NULL; h = h->next_) { ^
* | Fix compilation with xlC 7: you can't forward-declare enums.Thiago Macieira2009-10-091-6/+1
|/ | | | "../../include/QtGui/private/../../../src/gui/painting/qpaintengineex_p.h", line 77.10: 1540-0029 (S) The named enumeration is not defined.
* A new implementation of the Gesture API.Denis Dzyubenko2009-10-0963-1857/+3300
| | | | | | | Implemented gestures using gesture events and separate QGesture/QGestureRecognizer classes. Reviewed-by: trustme
* Doc: Created a snippet to generate the global colors image.David Boddie2009-10-096-12/+253
| | | | Reviewed-by: Trust Me
* Doc: Replace QDirModel with QFileSystemModel in examples and overviews.David Boddie2009-10-096-31/+35
| | | | | Task-number: QTBUG-4152 Reviewed-by: Trust Me
* Doc: Minor language fixes.David Boddie2009-10-091-14/+14
| | | | Reviewed-by: Trust Me
* Workaround for softkeys not working in modal dialogs on S60 5.0Shane Kearns2009-10-091-0/+1
| | | | | | | | Set the softkey container window to be selectable even when pointer is grabbed (via window server setting) Task-number: QT-2203 Reviewed-by: Espen Riskedal
* Fix compile error on symbian platformShane Kearns2009-10-091-0/+4
| | | | Reviewed-by: Espen Riskedal
* Merge branch '4.5' into 4.6Thiago Macieira2009-10-090-0/+0
|\ | | | | | | | | Conflicts: src/opengl/qglpixelbuffer_egl.cpp
| * Back port fixes from PowerVR driver in 4.6 to 4.5Rhys Weatherley2009-10-093-9/+16
| | | | | | | | | | Pre-multiply fix: 01a671ff0bd380e5cff311cc233352c867a041a0 Painting performance: c3cfba7295c990d8135e1dd70b8cdbefd25615ab
| * Fix detection of pbuffers on OpenGL/ES systemsRhys Weatherley2009-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous code was searching for an exact pbuffer format of RGBA = 1, 1, 1, 0, which of course is never going to happen. Instead, search for the best format. Reviewed-by: trustme Conflicts: src/opengl/qglpixelbuffer_egl.cpp Back-port of 46843022acd7322c42a98858ec52b65ce7451d06
* | Fix printing bitmap fonts on X11 with FontConfig enabledEskil Abrahamsen Blomfeldt2009-10-093-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When FontConfig was enabled, bitmap fonts would often get a different pixel size than the one we requested. Usually the size would only be a pixel off, but this was especially visible when printing in highres with bitmap fonts, because in those cases we would request a pixel size which was computed based on the printer's high dpi. The result was that all printed text with bitmap fonts would be really really tiny. The fix falls back to using the XLFD font engine when using bitmap fonts (when the returned pixel size is different from the requested), because this engine scales the fonts for us. This will cause bitmap fonts to be rendered without antialiasing. Task-number: QTBUG-3620 Reviewed-by: Simon Hausmann
* | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-0912-113/+95
|\ \
| * | Fixed documentation links in README.s60Miikka Heikkinen2009-10-091-11/+11
| | | | | | | | | | | | | | | Task-number: QTBUG-4806 Reviewed-by: Janne Koskinen
| * | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-10-099-91/+72
| |\ \
| | * | Fix build on Symbian: make sure sym_iap_util.h can be found.Frans Englich2009-10-097-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amend commit faef2f5101287ad8ce94cf8e7a4d574a7d6267fd, with this build fix. Task-number: QTBUG-4743 Reviewed-by: Shane Kearns
| | * | Doc: update known issues page (a little).Volker Hilsheimer2009-10-091-78/+62
| | | |
| * | | Changed several S60 references to Symbian references in docs.Miikka Heikkinen2009-10-093-17/+15
| | | | | | | | | | | | | | | | Reviewed-by: Janne Koskinen
* | | | For this test to work you need to enable autoSip on Windows Mobileninerider2009-10-091-0/+3
| |/ / |/| | | | | | | | | | | | | | Test fixed to send the correct signal type on windows ce. Reviewed-by: Marco
* | | Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt into 4.6ninerider2009-10-0951-184/+252
|\ \ \ | |/ /
| * | Merge branch '4.6' of git@scm.dev.troll.no:qt/qt into 4.6Miikka Heikkinen2009-10-0935-90/+68
| |\ \
| | * | Symbian fix: rename examples ftp and musicplayer to start with q.Frans Englich2009-10-0931-56/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Symbian already has the executables musicplayer.exe, mediaplayer.exe and ftp.exe, with the result that we overwrite them with Qt. We solve this by renaming the examples, and do it not only on Symbian, such that Qt remains consistent across platforms. This was previously partly done for mediaplayer. The folder name needs to be consistent with the executable, for qtdemo to work. Done jointly with Alessandro. Task-number: QTBUG-4743 Reviewed-by: Alessandro Portale Reviewed-by: Frans Englich
| | * | Revert "Workaround for OpenC daylight saving cache issue when using ↵Aleksandar Sasha Babic2009-10-091-30/+2
| | | | | | | | | | | | | | | | | | | | | | | | localtime_r." This reverts commit 2f7d1318d2dc63322a468d8c301ae718eaba0d03.