| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Writing the data of memfill() to a cacheline is unecessary because the
data is not reused directly. We can use the stream operations to avoid
the cache completely.
When testing memfill32 separately, the function is twice as fast
on Core2 and Atom.
Reviewed-by: Samuel Rødal
|
|
|
|
|
|
|
|
|
| |
Memory is allocated on 16 bytes boundaries. We can do the
aligned load without risking a invalid memory access.
This simplify the code.
Reviewed-by: Samuel Rødal
|
|
|
|
|
|
|
|
|
|
| |
Patch derived from the tasks
Task-number: QTBUG-12997
Task-number: QTBUG-12984
Task-number: QTBUG-12985
Task-number: QTBUG-12990
Task-number: QTBUG-12999
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem was that the 'updateAll' boolean was reset to 'false' when it really
should have been unchanged. This happened when rendering the scene from outside
the view's paint event (i.e. from QGraphicsView/Scene::render). We only
want to reset 'updateAll' when triggering drawItems() from
QGraphicsView::paintEvent, i.e. when the 'view' pointer != 0.
Broke after commit: dda8a57c.
Auto test included.
Task-number: QT-3674
|
|\ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
When onDoubleClicked: is handled don't emit a second onPressed/onClicked
Add test for view velocity update on setCurrentIndex()
Ensure flickable velocity is updated when view is moved by setCurrentIndex
|
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-12250
Reviewed-by: Michael Brasser
|
| | |
| | |
| | |
| | | |
Task-number: QTBUG-13543
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | | |
Task-number: QTBUG-13543
|
| |\ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix compilation of QEgl with EGL 1.1 and older.
|
| | | |
| | | |
| | | |
| | | | |
Reviewed-by: Sarah Smith
|
| |\ \ \
| | | |/
| | |/|
| | | |
| | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Fix slot naming clash
|
| | |/
| | |
| | |
| | | |
Reviewed-by: David Boddie
|
| |\ \
| | |/
| |/|
| | |
| | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit:
Updated WebKit to 715b53069911a31a559aa0b3d94ffc6a5ac20988
|
| |/
| |
| |
| |
| |
| |
| | |
Sync with qtwebkit-2.0 branch
* Includes Thiago's intel compiler fixes
* Girish' Maemo5 local rendering fixes
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
While drawText() will use the path fallback for large fonts, and never
hit this problem, QStaticText will draw the large fonts into the glyph
cache. This broke when the freetype (or any other font engine) falls
back to the generic implementation of alphaMapForGlyph() which uses
path drawing. The problem was that alphaMapForGlyph() is not supposed
to contain the bearing of the glyph, only the actual pixels. Since
QFontEngine did not honor this contract, we would sample the wrong
area in the glyph cache to get the glyph image.
Task-number: QTBUG-12540
Reviewed-by: Gunnar
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix crash in QRuntimeGraphicsSystem due to destruction order.
Fix crash in OpenVG when failing to allocate large VGImages.
Updated 4.7.0 changelog
|
| |\
|/ /
| |
| |
| |
| |
| |
| |
| | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fix crash in QRuntimeGraphicsSystem due to destruction order.
Fix crash in OpenVG when failing to allocate large VGImages.
Updated 4.7.0 changelog
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Firstly, fix a "leak" by deleting the graphics system when QApplication
is destroyed.
Secondly, fix a crash when the following scenario occurs:
- ~QApplication() deletes the current graphics system (see above)
- ~QApplication() calls qt_cleanup()
- qt_cleanup() calls QPixmapCache::clear() to delete pixmaps
- ~QRuntimePixmapData() tries to remove the pixmap from the runtime
graphics system, but it has already been deleted.
- *Crash*
Reviewed-by: Gunnar Sletta
Reviewed-by: Jani Hautakangas
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The reclaimSpace() function of the VG image pool was crashing when
attempting to free up space for a large image. It was calling
moveToHeadOfLRU() which adds the image to the pool. If the pixmap is
large enough so that it pushes all the others out, then it will be the
only pixmap left in the pool when this function returns. This is
problematic because this pixmap is not permanent so it could be
deleted. If that happens, then subsequent calls to this function will
crash because the LRU pixmap has been deleted.
The fix is to check if the pixmap was in the pool to begin with and
if not, then be sure to remove it before returning from this function.
Task-number: QT-3652
Reviewed-by: Jani Hautakangas
|
| |
| |
| |
| |
| |
| | |
Updated 4.7.0 changelog with Avkon removal compatibility information
Reviewed-by: Harald Fernengel
|
|\ \
| | |
| | |
| | |
| | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Autotests cleanup.
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Autotests cleanup.
|
| | | | |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Prevented crash in GL window surface when deleting native child widgets.
Fix a regression where setPreferredSize(QSize(100, -1)) did not work.
Force MeeGo touch to use native graphics system for now.
Fixed compiler warnings in meego graphics system helper.
Added meego graphics system helper to features/qt.prf and syncqt.
Use QFactoryLoader to ensure we get the correct graphics system plugin.
Updated license headers for meego graphics system helper.
Fixed compilation and API of meego graphics system helper.
Renamed meego graphics system helper files.
Imported meego graphics system helper sources.
Updated license headers for meego graphics system.
Fixed compilation and API of meego graphics system.
Renamed meego graphics system files.
Imported meego graphics system sources.
Fix cache_cost initialization of QFontEngineMultiWin
Fix crash when using unprintable chars in QStaticText
Don't waste memory on the share widget in the GL window surface.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We should only destroy the FBO if it's the actual window that's deleted.
Reviewed-by: Trond
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Regressed by change 515991426832a6333f2fd9e639bd4c83e2b27cef
Reviewed-by: Frederik Gladhorn
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
MeeGo touch doesn't yet work with other graphics systems since it
assumes that QPixmaps are XPixmap based. If MeeGo touch doesn't link
against the graphics system helper we'll force it to use the native
graphics system.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
MeeGo graphics system helper headers are now synced and the correct
include path and libraries are added to an application by doing QT +=
meegographicssystem helper in the .pro file.
|
| | | |
| | | |
| | | |
| | | | |
Also, this prevents hard-coding the path to the meego plugin.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
From http://www.gitorious.com/meego-graphics/meego-graphics
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
From http://www.gitorious.com/meego-graphics/meego-graphics
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Originally, QFontEngineMultiWin does not set its cache_cost according to
the regular font engines it refers to, which makes cache management in
QFontCache useless because cache_cost is always 0, and garbage
collecting timerEvent can hardly be triggered. This patch solve part of
the problem by using cache_cost of the first font engine for
QFontEngineMultiWin.
However, if a font engine is loaded by QFontEngineMulti::loadEngine, the
cost is still not counted.
Task-number: QTBUG-12562
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Trond
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The assumption that the output glyph array and input glyph array is
of equal size is wrong when unprintable characters are used (and
discarded in getGlyphPositions())
Task-number: QTBUG-12614
Reviewed-by: Jiang Jiang
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Fixed crash in input methods when using symbols menu and numbers only
Fixed crash in input methods when using symbols menu and numbers only
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When inputting only numbers, the symbol menu should not do anything.
However in the old code the resource id of the symbol table was still
being set, so the symbol key on N97 would look up a table that was
not valid for the current input mode and crash.
Fixed by setting the symbol table id to zero under those conditions.
RevBy: Sami Merila
Task: QTBUG-13472
AutoTest: Included
(cherry picked from commit 5cef786a651c675d3428060a19bfd9d9ecee6083)
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When inputting only numbers, the symbol menu should not do anything.
However in the old code the resource id of the symbol table was still
being set, so the symbol key on N97 would look up a table that was
not valid for the current input mode and crash.
Fixed by setting the symbol table id to zero under those conditions.
RevBy: Sami Merila
Task: QTBUG-13472
AutoTest: Included
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Read the data when the stream passed in is of type CArchiveStream
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When the stream is of type CArchiveStream then Stat() is not implemented
and therefore it will not try to read the data. Therefore if this is
not implemented then we try to read the data in chunks instead until
there is no more to read or it fails.
Reviewed-by: Volker Hilsheimer
|