| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Handle CloseSoftwareInputPanel event in QCoeFepInputContext (i.e.
notify the native side that SIP needs to be closed).
Note that event is not consumed.
Task-number: QTBUG-20033
Reviewed-by: Miikka Heikkinen
|
|
|
|
|
|
|
|
| |
Do not connect (or disconnect) signal cursorPositionChanged() to slot
translateInputWidget() if auto-translation of splitview is disabled.
Task-number: QTBUG-20813
Reviewed-by: Miikka Heikkinen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QSoftKeyManager's keyedActions and softKeyCommandActions hashes were
not properly cleaned up, resulting in randomly incorrect softkeys
as already deleted cached actions were assigned to softkeys if the
new action happened to be in the same address as the previously deleted
action.
Two bugs related to this were fixed:
1) qobject_cast can't be used in "destroyed" signal handler, as the
cast will return NULL pointer in this case. Changed the cast to
static_cast, which is safe here as the pointer is only used as a
hash key.
2) If softkey action was created with QSoftKeyManager::createAction
instead of QSoftKeyManager::createKeyedAction, the "destroyed"
signal was not connected to cleanupHash slot, leaving such
actions in softKeyCommandActions hash after deletion. Ensured
the signal was connected properly in both cases.
Task-number: QTTH-1442, QTBUG-20214
Reviewed-by: Gareth Stockwell
|
|
|
|
|
|
|
|
| |
S60->clientRect() should be used these days for getting S60 client rect,
so fix the old fashined usage that was in cherry-picked commit.
Task-number: QTTH-1306
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
|
|
| |
Automatic layouting of widgets still managed to layout maximized and
fullscreen windows larger than client rect in Symbian in some cases.
Fixed by limiting window dimensions to client area boundaries in
setGeometry_sys if the window is maximized or fullscreen.
Task-number: QTBUG-5697
Reviewed-by: Sami Merila
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Minimum sizes of widgets can cause windows to expand beyond screen
limits in QWidgetPrivate::setGeometry_sys. Normally this is not
noticeable as the window size is forced in various places to the
clientRect, but there are certain sequences where the size set in
setGeometry_sys is the final one, resulting in too large windows.
Removed the modification of window size in setGeometry_sys
for fullscreen windows for which the correct size is already requested.
Task-number: QTBUG-18749
Reviewed-by: Sami Merila
|
|
|
|
|
|
|
|
|
|
|
|
| |
showInputPanelOnFocus = false needs to be set in declarative edit
controls also on S60 platforms beyond Symbian^3, or VKB will popup
when application itself comes to foreground if focus is on an edit
control.
With this fix the functionality is identical to S60 native apps.
Task-number: QTBUG-20218
Reviewed-by: Joona Petrell
|
|
|
|
|
| |
Task-number: QTBUG-20743
Reviewed-by: Liang Qi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QEGLContext don't expect EGL based API to change
on runtime (e.g. VG->GL). QEGLContext caches current API
context pointer and uses this cached value to determine whether
to make eglMakeCurrent call or not. VG graphics system and
QGLWidget creates own separate QEGLContext objects, but both
of those objects consider themself to be current context, so
no eglMakeCurrent call occurs even though the API has changed.
This patch adds ifdef'd current context check for Symbian
which enables eglMakeCurrent call if EGL API has changed.
(Symbian is the only supported platform currently where this scenario happens).
Task-number: QT-5012
Reviewed-by: Samuel Rødal
|
|
|
|
|
|
|
|
|
| |
The -T flag is a linker flag, not a compiler flag, and does
nothing. If specified as a linker flag, this even yields errors
(since there is no linker script file named 'script').
Merge-request: 1302
Reviewed-by: Liang Qi <liang.qi@nokia.com>
|
|
|
|
|
|
|
|
|
| |
A case change broke the case sensitive comparison of UIDs to check if the
package being built was Qt itself - this caused a recursive dependency
in the sis file.
Task-number: QTBUG-20742
Reviewed-by: Miikka Heikkinen
|
|
|
|
|
|
|
|
| |
Somehow, the latin-1 multiply symbol was used instead of an 'x' in
hex literals.
Task-number: QTBUG-15716
Reviewed-by: mread
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Symbian, when parsing .ts files for deployment localization, qmake
would break if there was any translation using lengthvariants inside
QtApplicationCaptions context. Technically this is legal though
QtApplicationCaptions context is only meant for application captions
and we don't support lenghtvariants for the actual captions themselves.
Changed parsing so that any child elements on translations are simply
skipped instead of causing parsing errors.
Task-number: QT-5169
Reviewed-by: Guoqing Zhang
|
|
|
|
|
|
| |
Task-number: QTBUG-20697
Reviewed-by: Shane Kearns
Reviewed-by: Miikka Heikkinen
|
|
|
|
|
|
|
|
|
|
| |
CODA 4.1.* cannot be used to debug binaries that do not have
DEBUGGABLE_UDEBONLY keyword specified, so add this keyword to all
projects by default. Adding this keyword has no impact for previous
versions of CODA or TRK.
Task-number: QTBUG-20669
Reviewed-by: Shane Kearns
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The detection of Linked Fonts via CLinkedTypeface* Api does not
work in all cases. It works in QML apps, but not in QWidgets based
apps. The reason is still unclear.
This commit replaces the CLinkedTypeface* Api based code of commit
fa344b355d311fce7954e2fd1a22a87a88194783 whith a simple type face
anme analysis. Assumption is that the names of Linked Fonts always
end with "LF" and are all upper case.
This patch has been tested by more people than just me, but it is
too dirty to mention the others as reviewer. I take the shame and
blame.
Task-Number: QTBUG-20007
|
|
|
|
|
|
| |
Build Qt 4.7 for Symbian on Mac/gcce again.
Reviewed-by: Honglei Zhang
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"Linked Fonts" are a new feature in Symbian^3, first used in SR11.1.
This patch prevents Qt from using linked fonts in any way.
Avkon based applications benefit from Linked Fonts because they can now
transparently render multi-script text, e.g. Latin/Chinese/Japanese (Qt
does that by its own and calls the feature 'font merging'). From Qt's
poing of view, Linked Fonts are a severe regression in Symbian's API.
1 Font table Api for linked fonts is extremely slow
2 'cmap' tables do not seem to reflect the "linkage", causing garbled
text or crashes.
3 Linked fonts appear with cryptic type face names, and are redundant
since they are just compounds of the other, real fonts.
This patch adds a detection of Linked Fonts using
CLinkedTypefaceSpecification and prevents their inclusion into
QFontDataBase. Furthermore, it detects if the Symbian System font is a
Linked font and if needed tries to fall back to a classical Symbian
system font, e.g. "Nokia Sans S60" or "Series 60 Sans". Fallback to
"Pure" will need to be added, later on.
Task-Number: QTBUG-20007
Co-authored-by: Miklos Vlasa
Reviewed-by: mread <qt-info@nokia.com>
|
|
|
|
| |
Reviewed-by: Laszlo Agocs
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the creation of the EGL window surface failed, the paint engine
was not destroyed in the openvg module's window surface implementation.
This led to accessing an obsolete engine instance later on in
QSymbianControl::Draw, leading to a crash. Now a new, proper engine
will be created, naturally the painting will still fail, but the
application will not crash.
Task-number: QTBUG-20339
Reviewed-by: Jani Hautakangas
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide internal API to avoid automatic translation of input widget
There will be cases when client will want to disable splitview
automatic view translation, so that keyboard is just brought on top of
the application and no other actions happen. There will be no new
public Qt GUI API to cover the cases (the public API will come from
QML Components), but the implementation is done with new private API.
Task-number: QTBUG-20171
Reviewed-by: Honglei Zhang
|
|
|
|
|
|
|
|
| |
Refactoring the body of a large TRAP into a separate function. This was
not compiling on WINSCW, perhaps due to the use of #ifdef within the
TRAP macro expansion. It does compile now.
Reviewed-by: Sami Merila
|
|
|
|
|
|
|
|
| |
QHostInfo was leaking in the code path where it removes duplicate
name lookups after one has completed.
Task-number: QT-5121
Reviewed-by: Markus Goetz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix for menu transparency (QTBUG-16857) unveiled an issue in the
QS60Style when drawing QMenu background.
Style skips drawing of the menu background, since placeHolder
texture for QPalette::Window is not replaced with real background
for menus. Therefore, we need to check if the widget's palette
is still untouched when deciding whether or not to draw the
menu background.
Task-number: QTBUG-20255
Reviewed-by: Tomi Vihria
|
|
|
|
|
|
|
|
|
|
|
|
| |
If API QMessageBox::setInformativeText() is used to set informative
text to the messagebox, the text is added to the "icon column",
which makes the messagebox look really weird.
Use layoutDirection() and add informative text to the same column
where other text elements are added.
Task-number: QTBUG-9924
Reviewed-by: Tomi Vihria
|
|
|
|
|
|
|
| |
Update the documentation related to the QApplication attribute.
Task-number: QTBUG-16572
Reviewed-by: Tomi Vihria
|
|
|
|
|
|
|
|
|
| |
Connect the internal private API to the QApplication public
attribute. This allows the enabling/disabling of the splitview
functionality from apps without any hacks.
Task-number: QTBUG-16572
Reviewed-by: Tomi Vihria
|
|
|
|
|
|
|
|
| |
Use correct native theme graphic for dialog backgrounds. In the past,
native menu background graphic was used for dialogs and menus.
Task-number: QTBUG-9924
Reviewed-by: Tomi Vihria
|
|
|
|
|
| |
Task-Number: QTBUG-19024
Reviewed-by: Olivier Goffart
|
|
|
|
|
|
|
| |
A Symbian update after "Anna" may come with Kazakh support.
Task-number: QTBUG-19024
Reviewed-by: Olivier Goffart
|
|
|
|
|
|
|
|
|
|
|
| |
In Symbian dialogs have layout (on LeftToRight UIs)
where icon is on the right and text on left.
Whereas, Qt by default has icon on the left and text on the right.
Fix Qt dialogs to behave like native ones on Symbian.
Task-number: QTBUG-9924
Reviewed-by: Tomi Vihria
|
|
|
|
|
|
|
|
| |
StandardIcon enum comparison should be done with bitwise operation,
not with value.
Task-number: QTBUG-20240
Reviewed-by: Tomi Vihria
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
QS60Style: provide more standard icons
Update QtOpenGL section in Symbian platform notes.
The qmlshadersplugin deployment must be scoped same as its building
Do not try to open VKB if it is already open in Symbian
Introduce QPixmap::fromSymbianRSgImage(RSgImage*) to GL engine
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add custom standard icons for Symbian iconography. Additionally,
map few existing standard icon enums to new icons.
Task-number: QT-5116
Reviewed-by: Miikka Heikkinen
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-20216
Reviewed-by: Laszlo Agocs
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The check "contains(QT_CONFIG, opengl)" is used to include shaders
subdir, so the same check needs to be used when defining deployment
for shaders in s60installs.pro
Task-number: QTBUG-20192
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If QEvent::RequestSoftwareInputPanel was handled when there was already
an active virtual keyboard that had a child dialog open such as symbol
or writing language selection dialog, the VKB would be brought to
foreground on top of the child dialog, causing several problems, such
as options menu and letter keys no longer working in VKB.
Fixed by checking if VKB is already open before opening it again.
Task-number: QT-5133
Reviewed-by: Sami Merila
|
| |
| |
| |
| |
| |
| |
| |
| | |
Initial implementation of QPixmap::fromSymbianRSgImage(RSgImage*)
on OpenGL graphics system.
Task-number: QTBUG-15254
Reviewed-by: Laszlo Agocs
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Re-apply licenseheader text in source files for qt4.7
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fixed license text in files having old license.
Reviewed-by: Trust Me
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix QWidget::palettePropagation2() autotest on Symbian (part 2)
Fix QWidget::palettePropagation2() autotest on Symbian
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add also include to QS60Style to avoid build failure.
Task-number: QT-5011
Reviewed-by: Miikka Heikkinen
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Autotest fails since calling QApplication::setPalette() clears away
QPalette hash (class specific palette information). QS60Style tries
to re-set theme-specific hash after updating application palette with
real theme background, but does not take into account that application
might have defined own custom palette hash data.
As a fix, store the previously set palette hash information and restore
it after calling QApplication::setPalette(). Additionally, remove the
palette change event sending, since QApplication will post that event
anyway when palette is updated.
Task-number: QT-5011
Reviewed-by: Miikka Heikkinen
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
QTBUG-19500 lupdate fails to run from the Mac binary package on Mac OS X 10.5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replaced std::cout with QTextStream
Reviewed-by: Eckhart Köppen
(cherry picked from commit f078275a2a4b2a279a6fcc24df3c21fe8b21f007)
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix text color in some cases of QML and QStaticText
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts 518c2a58ed6fdfd7449cb4476aa8ea0d32ad16e3 which caused a
regression.
When writing systems are mixed and an underline is set on the font,
QPainter will set a pen with the current color and a new width on
itself before drawing the decoration. This would cause the recorder
in QStaticText to mark the pen as dirty, saving the current pen
color in all subsequent text items. The effect was e.g. that in QML
the cached color would override the current one, making it impossible
to change the color on the text without forcing a relayout somehow.
The right fix is to only mark the pen as dirty when its color actually
changes.
Task-number: QTBUG-20159
Reviewed-by: Jiang Jiang
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Added qmlshadersplugin to Symbian s60installs.pro-file.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-18346
Reviewed-by: Sami Merila
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| |
| | |
| | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix KERN-EXEC 0 errors in symbian bearer plugin
|