| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Rename some variables to improve readability.
Make QStaticText honor QPainter::pen() for rich text on X11 w/raster
Fixed qdeclarativetext auto-test to work with raster graphicssystem.
Fixed QStaticText auto-test to work with raster graphicssystem.
Give a warning in QPixmap::handle() if pixmap is not X11 class.
QThreadPool: name pooled threads
Make raster the default graphics system on X11.
|
| |
| |
| |
| | |
Review-by: Denis Dzyubenko
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Make QStaticText honor QPainter::pen() for rich text on X11 w/raster
Fixed qdeclarativetext auto-test to work with raster graphicssystem.
Fixed QStaticText auto-test to work with raster graphicssystem.
Give a warning in QPixmap::handle() if pixmap is not X11 class.
QThreadPool: name pooled threads
Make raster the default graphics system on X11.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The document layou will call setPen() with the PaintContext's text
color. If this is different from the current painter settings, the pen
will be passed on to the paint engine. The result was that, on X11 using
the raster (or opengl) engine, QStaticText would record the pen as
changed even when it hadn't explicitly been changed by the document.
Task-number: QTBUG-13740
Reviewed-by: Samuel
|
| | |
| | |
| | |
| | |
| | |
| | | |
Updated the expected images in a few cases where the rounding differed.
Reviewed-by: Eskil
|
| | |
| | |
| | |
| | | |
Reviewed-by: Eskil
|
| | |
| | |
| | |
| | | |
Reviewed-by: Markus Goetz
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-Number: QTBUG-13702
Reviewed-by: Andy Shaw
Reviewed-by: ossi
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The raster graphicssystem in most cases performs better than the native
graphicssystem. Results from tests/benchmarks/gui/painting/qtracebench
below:
Before change:
RESULT : tst_QTraceBench::trace():"basicdrawing":
46 msecs
RESULT : tst_QTraceBench::trace():"webkit":
20 msecs
RESULT : tst_QTraceBench::trace():"creator":
62 msecs
RESULT : tst_QTraceBench::trace():"textedit":
3 msecs
RESULT : tst_QTraceBench::trace():"qmlphoneconcept":
713 msecs
RESULT : tst_QTraceBench::trace():"qmlsamegame":
88 msecs
After change:
RESULT : tst_QTraceBench::trace():"basicdrawing":
40 msecs
RESULT : tst_QTraceBench::trace():"webkit":
11 msecs
RESULT : tst_QTraceBench::trace():"creator":
19 msecs
RESULT : tst_QTraceBench::trace():"textedit":
5 msecs
RESULT : tst_QTraceBench::trace():"qmlphoneconcept":
141 msecs
RESULT : tst_QTraceBench::trace():"qmlsamegame":
3 msecs
Reviewed-by: Gunnar Sletta
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
fix project name duplicates in generated projects.sln
Doc: document QMAKE_PROJECT_NAME
qmake: introduction of QMAKE_PROJECT_NAME
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Using QMAKE_PROJECT_NAME to rename certain projects.
Task-number: QTBUG-6887
Reviewed-by: owolff
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also moved QMAKE_LN_SHLIB upwards to maintain alphabetical order.
Task-number: QTBUG-3206
Reviewed-by: aep
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With this variable one can set the project name for IDE project files.
Currently only used for Visual Studio
Task-number: QTBUG-3206
Reviewed-by: ossi
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
configure.exe: endianess on Windows is always little endian
|
|/ /
| |
| |
| |
| |
| |
| | |
No need to check the host system endianess.
Task-number: QTBUG-7819
Reviewed-by: ossi
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
fix CRLF
Fixes makeCurrent() failed messages on several systems.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Small but important fix for threaded environments. If a thread
exits without releasing the current context, it could cause
the resource system to get confused. Particularly on Windows, where
a DC can only be used in the thread it is retrieved in.
We don't need the EGL specific fix anymore since it will have the
same effect as a doneCurrent() call.
|
|\
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Support "icon form theme" inside property editor
|
|/
|
|
|
| |
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Task-number: QT_BUG-7777
|
|\
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix crash in Mac font loading
fix tiff reader to handle TIFFTAG_SAMPLESPERPIXEL for grayscale images
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit f2f6330d915cbe3d0989ad280738ed0a6954cd35 introduced an
extra CFRelease of QCFString, which will cause crash. Also,
since we are not refering to ATS font in Cocoa code anymore,
conversion of CTFontRef to CGFontRef should not rely on
platform fonts, we use CTFontCopyGraphicsFont to get the
corresponding CGFontRef directly.
Reviewed-by: Eskil Abrahamsen Blomfeldt
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit fixes reading a .tiff file from ImageMagick which reports
the following:
TIFFTAG_BITSPERSAMPLE = 8
TIFFTAG_SAMPLESPERPIXEL = 2
TIFFTAG_PHOTOMETRIC = PHOTOMETRIC_MINISBLACK
The reader uses QImage::Format_Indexed8, but since the samples per pixel
value this should be (non-existent) QImage::Format_Indexed16, causing
memory corruption. The fix falls back to the "normal" way of reading
tiff images.
Merge-request: 2467
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
|
|\
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Skip sub pixel positions test if font smoothing is off
Q_MAC_USE_COCOA -> QT_MAC_USE_COCOA
|
| |
| |
| |
| |
| |
| |
| |
| | |
Copy/paste the test from qapplication_mac.mm where we detect if font
smoothing is actually on by drawing an x into a buffer and checking
the result for non-gray pixels.
Reviewed-by: Jiang Jiang
|
| |
| |
| |
| |
| |
| | |
Make sure test is run on Cocoa like intended
Reviewed-by: TrustMe
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Properly implement qobject_cast for const pointers.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of using ugly const_cast in public headers and Q_UNUSED
(which expands to nothing in release builds), use a properly-const
method.
Reviewed-By: Bradley T. Hughes
(cherry picked from commit 0b0aa7603b27447a5abe55c55d0514bc56b35f9e)
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix QPainter test failure on Mac/Carbon
Fix typos.
Fix typo in declative example.
test for gdb version before runnning dwarf indexing
Fix Core Text font loading for certain Mac Fonts
Support sub pixel positioning of glyphs in raster engine
Added basic tests for threaded QPainter drawing onto FBOs and PBOs.
|
| |
| |
| |
| |
| |
| |
| | |
ATSUI font engine has not been fixed to support sub pixel positioning
with the raster engine.
Reviewed-by: Jiang Jiang
|
| |\
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix typos.
Fix typo in declative example.
test for gdb version before runnning dwarf indexing
Fix Core Text font loading for certain Mac Fonts
Support sub pixel positioning of glyphs in raster engine
Added basic tests for threaded QPainter drawing onto FBOs and PBOs.
|
| |
| |
| |
| |
| |
| |
| | |
list of pointers, not points
beter -> better
Review-by: trust-me
|
| |
| |
| |
| | |
Review-by: trust me
|
| |
| |
| |
| | |
Reviewed-by: ossi
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Font names enumerated by Core Text cannot be found by
ATSFontFamilyFindFromName because ATS is expecting native names
instead of the names returned by Core Text. This patch get rid
of ATS font matching code in Cocoa code path to simplify the code,
avoid deprecation warnings (in the future) and fix this issue.
Task-number: QTBUG-11145
Reviewed-by: Eskil
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Support sub pixel positioning of glyphs in raster engine
Added basic tests for threaded QPainter drawing onto FBOs and PBOs.
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Support sub pixel positioning of glyphs in raster engine
Added basic tests for threaded QPainter drawing onto FBOs and PBOs.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For the raster engine to provide the same quality of text rendering
as the native engine on Mac Cocoa, we need to support rendering to
different sub pixel positions for each glyph. The number of
subpixel positions is arbitrary and has to be detected, but it's
usually three or four.
Each position will give slightly different coverages inside the
pixel and thus different rasterizations. Other font engines which
support sub pixel positioning of glyphs can provide the same
functionality by implementing supportsSubPixelPositions() to return
true, and then adding the subPixelPosition argument to the x
coordinate used in alphaRGBMapForGlyph().
Task-number: QTBUG-5053
Reviewed-by: Jiang Jiang
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've noticed that under Windows we get some wglMakeCurrent() failed
messages in the QGLWidget, QGLPixelBuffer and QGLFrameBufferObject
tests when deleting the painter or device wrappers used in the
threading tests. It's currently unknown why this happens, as both the
contexts and devices are valid at that point.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
scm.dev.nokia.troll.no:qt/qt-integration into master-integration
* 'qt-master-from-4.7' of scm.dev.nokia.troll.no:qt/qt-integration: (284 commits)
Fixed crash in input methods when using symbols menu and numbers only
Fixed crash in input methods when using symbols menu and numbers only
Read the data when the stream passed in is of type CArchiveStream
Autotest for QTBUG-13454.
Changing the Image 'source' should not go through the 'Loading' state if the image is cached.
Make sure we blit to the correct FBO in the GL window surface.
Some optimizations to the GL pixmap data.
QList::toVector()/QVector::toStdVector()/QVector::fromStdVector(): use reserve()
When a move is completed, report the source and destination correctly.
Fixed the scrolling of text in QLineEdit with right alignment
Editable QComboBox popup immediately closes itself after a click
Change RLibrary handle in QS60PluginResolver to be process wide
Cursor is misplaced in the editors text area
Update running animations if a SmoothedAnimation is changed
Removing Q_ENUMS declaration in QTransform
QSslSocketPrivate::systemCaCertificates() hangs sometimes on Symbian
Fix SmoothedAnimation test and docs
Fix qdeclarativeimageprovider autotest compilation on Symbian
Fix reversingModes of QDeclarativeSmoothedAnimation
Re-add quit button to declarative Twitter demo
...
|
| |\ \ \
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
bin/syncqt
demos/declarative/snake/content/snake.js
demos/declarative/snake/snake.qml
doc/src/development/qmake-manual.qdoc
src/corelib/plugin/plugin.pri
src/gui/kernel/qapplication_win.cpp
src/gui/kernel/qdesktopwidget_win.cpp
src/gui/painting/qdrawhelper.cpp
tests/auto/qdir/tst_qdir.cpp
tools/qdoc3/test/assistant.qdocconf
tools/qdoc3/test/designer.qdocconf
tools/qdoc3/test/linguist.qdocconf
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Autotest for QTBUG-13454.
Changing the Image 'source' should not go through the 'Loading' state if the image is cached.
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
image is cached.
Task-number: QTBUG-13454
Reviewed-by: Martin Jones
|