| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
In qdatetime UTC conversion functions, variable res was declared in
incorrect scope and went out of scope too soon in Symbian.
Reviewed-by: Janne Koskinen
|
|
|
|
|
|
|
|
|
| |
Softkeys should be always the topmost window in order to be visible.
For example when QMessageBox is launched from fullscreen window,
we need to make sure that softkey is located on top of window tree.
Task-number: QTBUG-4953
Reviewed-by: Jason Barron
|
|
|
|
|
|
|
|
|
|
| |
In configure app, some QT_NO_* flags were indicated to be temporary
and should be removed once Qt for Symbian is out,
but it looks like at least some of them will be there for longer haul,
so removed mentions of temporary nature of these flags.
Task-number: QTBUG-4744
Reviewed-by: Janne Anttila
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
S60 3.1 plugin returned empty strings for the unsupported APIs
Since these APIs are needed for the most common use case of converting
a QDateTime to a QString using the local format, I have implemented an
emulation of the missing APIs using older APIs that are supported.
Updated the autotest so it does some sanity checking on the result of
local date/time conversion - it would pass instead of fail if the string
was garbage before.
Reviewed-by: Aleksandar Sasha Babic
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After API review discussions, it was decided to remove shader
binary support until we have a better handle on what we need.
Applications can directly load shader binaries on the shaderId()
using glShaderBinary() directly so they aren't prevented from
using the feature.
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| |
| |
| | |
Rendering into a QImage as a window backing store isn't very efficient
and isn't needed by any of our current platforms. If a specific
graphics system needs it in the future, it can implement it directly.
Reviewed-by: trustme
|
| |
| |
| |
| |
| |
| | |
there must be a space after the //: and similar comments, otherwise
harmless comments of the sort of //====== foo here ===== will be parsed
as message ids, etc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I suspect because of missing quotation marks those strings were not
showing up. Also, wrapping QT_TRANSLATE_NOOP inside a tr() call
makes no sense. Also changed the class from QObject to QSslSocket.
Task-number: QTBUG-5059
Reviewed-by: ossi
|
| |
| |
| |
| |
| | |
Task-number: QTBUG-4984
Reviewed-by: Thiago
|
| |
| |
| |
| |
| |
| | |
upstream.
Reviewed-by: TrustMe
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Transitions are children of their source state. We use
QObject::children() and qobject_cast() each child to a
QAbstractTransition to see if it is indeed a transition. However,
calling qobject_cast() is very expensive. This commit introduces
a cached list of transitions. The list is invalidated after a
child object has been added or removed.
In the typical case we expect the object hierarchy to remain fairly
constant once the state machine has been started (states, child states
and transitions are usually "static"), in other words the cached list
is not likely to be invalidated much.
Obtaining a state's transitions needs to be as fast as possible
because it's in the critical path of the state machine algorithm.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
| |
| |
| |
| | |
Fix a typo, update the tmp path to match current qws behavior.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
QScriptProgram encapsulates a Qt Script program (AKA a script).
It retains the compiled representation of the script, so that
repeated evaluation of the same script becomes faster.
An overload of QScriptEngine::evaluate() that takes a QScriptProgram
has been added.
Reviewed-by: Olivier Goffart
|
| |
| |
| |
| |
| |
| | |
Looks like a couple of files missed the namespace macro...
Rev-By: gunnar
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
At least Qt fails building with a namespace on Mac without this
change. What happends is that inserting a namespace before the
includes, will add the namespace twize if the included files also
inserts the namespace.
Rev-By: Alexis
|
| |
| |
| |
| | |
Reviewed-by: Michael Brasser
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
800x480 is an increasingly common screen size on embedded devices,
and specifying it via Custom sizes is annoying.
Reviewed-by: Sarah Smith
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | | |
Reviewed-by: Trust Me
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
qconfig.cpp is generated immediately after accepting the licensing
agreement, and contains all the fixed paths qt uses. If this file is
present in a source dir used by shadow builds, this qconfig.cpp will take
precedence over the shadow builds qconfig.cpp and hence impose its paths
throughout the shadow built Qt.
This change adds qconfig.cpp to the list of generated files to guard
against existing in the source directory when performing a shadow build.
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Maemo5 looks very weird without these patches.
Reviewed-By: jbache
|
| |\ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On every beginDataAccess on the pixmap data, we checked the value of
the pointer to the bits and only updated the image if the pointer had
changed. However, we didn't take into account that the pointer could
be the same, even though the dimensions were different, since
malloc() could return the same memory area. This would lead to
painting into an image that had the wrong dimensions, which again led
to either crashes or image shearing. Fixed by checking the dimensions
before deciding to update the image.
Task: QTBUG-4815
RevBy: Jason Barron
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Each read requires costly IPC call to Symbian file server, so reading
and writing large files has lot of unnecessary overhead when using 4k
block size. Increased the block size to 16k, which is what QIODevice
will request at maximum. This speeds up reading large files up to 10%.
Also included are some unnecessary whitespace removals.
Task-number: QT-2347
Reviewed-by: axis
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
EColor16M is in BGR format so after conversion to QImage RGB
values needs to be swapped.
Reviewed-by: jbarron
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: TrustMe
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Enable QtXmlPatterns module in qt package and assign an UID for it.
RevBy: Miikka Heikkinen
RevBy: Jason Barron
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is less wrong than searching for a file name on specific drives.
Correct solution is to use an embedded SIS file dependency, for that we
need to get a symbian-signed sis file from the symbian OS team.
Reviewed-by: Miikka Heikkinen
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This version of the fix will set the def file only if defblock is enabled
in qbase.pri. That means that def files don't get turned on for webkit
but not for the whole project (avoids build failures in the continuous
integration system when other teams change the exported symbols)
Reviewed-by: Jason Barron
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The S60 style posts a LayoutRequest event when a widget is shown, so
that it can draw the focus rectangle around the widget that has keyboard
focus.
Although lay2->setGeometry was working correctly, processEvents() caused
the outer layout to be re-laid out (which expands the inner layout and
QDial to fill the available space).
The processEvents() call is not necessary for the test case, so it can
be removed.
Reviewed-by: Jan-Arve
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Trust Me
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is the same workaround as Janne did for QtWebkit.
Reviewed-by: Janne Koskinen
|
|\ \ \ \
| | |_|/
| |/| | |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Task: 262677
Reviewed-by: joao
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
After closing a window we used to go through the list of
kDocumentWindowClass windows to pick the next one to pop
to front. This patch will search the kMoveableWindowClass
list of windows first, and as such, pop to front any
modal window first
Rev-By: MortenS
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
At the moment, Qt, in many places, does not really understand that
a mouse wheel, or touch pad, might operate on a much higher
granularity than 15 degrees (that is, a delta of 120). This is clear
disadvantage on mac, since the mighty mouse, and track pad, got a
resolution that is close to 1 degree. This is called pixel scrolling.
This patch first and formost changes the implementation of
QAbstractSlider::wheelEvent to _really_ understand what to do when
delta is less than 120. Rather than accumulate delta until 120
is reached, then scroll with a value equal to:
offset * step * QApplication::wheelScrollLines (default = 3), we
multiply offset directly, before waiting for 120. This means that
event tough offset is below 120, multiplying it with wheelScrollLines
and step will very often give a value over 120, menaing we can scroll
much earlier and _much more_ fined grained. This also fixes some
auto tests that was ifdeffed out because of specialised mac code
written inside this function from before.
(NB: we still plan to introduce a new event for pixel scrolling,
perhaps for Qt-4.7)
Rev-By: Andreas
Rev-By: denis
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously QS60Style did not draw CE_Splitter control at all.
With this change, the style draws it when user presses the splitter
down to make a drag. Since native side does not have splitter at all,
we are drawing splitter rect as partially transparent rounded rect
with QPalette::Light (which has been picked from active theme).
Task-number: QT-686
Reviewed-by: Shane Kearns
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The following warning was reported by MWCCSYM2
(Symbian emulator compiler):
\src\xmlpatterns\api\qxmlquery.h:77: warning: illegal empty declaration
Reviewed-by: TrustMe
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: TrustMe
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Updated pixel metrics values from latest S60 layouts. Also, updated
pixel metrics harvester to collect pixel metric for QSplitter.
Task-number: QT-686
Reviewed-by: Shane Kearns
|
| | | | |
| | | | |
| | | | |
| | | | | |
Suggested by Lars, OK'd by Jason, Kristian and Shane.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Patch by Martin Jones. Malformed in codepaster so was manually applied. Builds
with public 5th SDK. The compiler workaround was documented.
Reviewed-by: Frans Englich
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
QLineEdits with input masks report the cursor position relative to
displayed text via inputMethodQuery(), but the text returned is
the actual text of the control, which can differ from displayed text,
causing mismatch between FEP display and control display.
To properly fix this we would need to know the displayText of
QLineEdits instead of just the text, which on itself should be a trivial
change. The difficulties start when we need to commit the changes back
to the QLineEdit, which would have to be somehow able to handle
displayText, too.
Task made to fix this properly: QTBUG-5050
Task-number: QTBUG-4892
Reviewed-by: axis
|