| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Examples: Fix compilation with namespaces.
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Cocoa: remove 'double' content view from window, second try
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Up til now, we always used to create a new NSView for a top
level widget, and make it a child of the windows content view.
This is/should be unnecessary, as NSWindow has a method for
setting the content view directly, thereby allowing for reducing
the stacking level with one view. Not the biggest gain if the
year, but it seems effortless to implement. And I do it as
a part of Alien preparation.
Rev-By: msorvig
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Revert "Cocoa: remove 'double' content view from window"
Cocoa: fix broken drawers after content view structure change
Cocoa: remove 'double' content view from window
Revert the change in applicationShouldTerminate().
|
| |
| |
| |
| |
| |
| | |
This reverts commit 5cdafc956f6f2e18012b31d68851150d89d7e577.
Reason: Broke some autotests (qgl, qglversioncheck).
It needs some more investigation.
|
| |
| |
| |
| |
| | |
After setting top level widget views as content views in windows
directly, the function this patch fixes, broke.
|
| |\
|/ /
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Cocoa: remove 'double' content view from window
Revert the change in applicationShouldTerminate().
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Up til now, we always used to create a new NSView for a top
level widget, and make it a child of the windows content view.
This is/should be unnecessary, as NSWindow has a method for
setting the content view directly, thereby allowing for reducing
the stacking level with one view. Not the biggest gain if the
year, but it seems effortless to implement. And I do it as
a part of Alien preparation.
Rev-By: msorvig
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It used to fix an issue during logout but it
seems to be fine now.
Related issue: QTBUG-6296
Task-number: QTBUG-10993
Reviewed-by: Morten Sorvig
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Changes: add patch for artificial emboldening
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Details:
Fixes http://bugreports.qt.nokia.com/browse/QTBUG-10596
Patch taken from
https://bugzilla.novell.com/show_bug.cgi?id=374066
https://bugzillafiles.novell.org/attachment.cgi?id=232442
and
http://code.google.com/p/gentoo-taiwan/source/browse/trunk/x11-libs/qt-gui/files/synthetic-bold-4.5.diff?spec=svn298&r=298
and slightly edited.
Moving the two lines concerning the underlining is unrelated to the
emboldening but seems to make sense anyway, the comment "//underline
metrics" seems to be misplaced before the "if (FT_IS_SCALABLE(face)) {|
The hunk:
@@ -789,6 +794,7 @@ QFontEngineFT::Glyph *QFontEngineFT::loadGlyphMetrics(QGlyphSet *set, uint glyph
}
FT_GlyphSlot slot = face->glyph;
+ if (embolden) FT_GlyphSlot_Embolden(slot);
int left = slot->metrics.horiBearingX;
int right = slot->metrics.horiBearingX + slot->metrics.width;
int top = slot->metrics.horiBearingY;
seems to be logical but it is apparently not used when running
my test program, i.e. synthetic emboldening in my test program
works even without this hunk.
Task-number: QTBUG-10596
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Avoid sending deprecated Qt3Support events if the application was built without Qt3Support
Make QWeakPointer and QSharedPointer movable
Speedup destruction of QObject if the eventloop is not entered.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
without Qt3Support
- Detect if the application was built using Qt3Support using the QApplication's
constructor internal flags.
- Move that from QApplication to QCoreApplication.
- Do not send the event if the application was not built with Qt3Support
Reviewed-by: Brad
|
| | |
| | |
| | |
| | |
| | |
| | | |
For making QVector of them faster.
Reviewed-by: Thiago
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
QObjectPrivate::removePendingChildInsertedEvents intoduce O(n^2) complexity.
Remove this function and instead check the object has not been removed/reparented
Known side effects: if the object would be parented multiple times to the
same object, multiple QEvent::ChildInserted will be sends
This would also create the QWeakPointer external refcount for almost each objects.
Task-number: QTBUG-6546
Reviewed-by: Brad
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
fix for tst_qfiledialog2 to distinguish between C: and C:/
make QFileSystemModel::rmdir(dir) remove dir from fileInfoGatherer
make QFileSystemWatcher_win distinguish C: from C:\
make QFileSystemModel distinguish C: from C:\
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fix is needed because the qfiledialog uses just "C:" to display
the drive entry. But "C:" in fact does not point to the drive root
necessarily. Therfor qfiledialog now appends a slash, but the unit
test did not expect that.
Reviewed-by: TrustMe
|
| |\ \
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
make QFileSystemModel::rmdir(dir) remove dir from fileInfoGatherer
make QFileSystemWatcher_win distinguish C: from C:\
make QFileSystemModel distinguish C: from C:\
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise directories cannot be deleted as long as they are watched,
since the fileInfoGatherer keeps a QFileInfo object with open file
handles.
Reviewed-by: Joao
Task-number: QTBUG-8241
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since we now support this in QFileInfo, we also need to support this
in QFileSystemWatcher. Otherwise the changes in a watched root folder
would not get detected.
Reviewed-by: Joao
Task-number: QTBUG-8241
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since QFileSystemModel just uses a C: to represent C:\ for esthetics,
we now need to append a slash to make sure we do not accidently point
to the current working directory on C:\.
Reviewed-by: Joao
Task-number: QTBUG-8241
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Improved documentation for QSharedMemory's key/setKey functions.
Added native key support to QSharedMemory API.
Make test work with shadow builds again.
Added QThreadPool::waitForDone(int msecs)
Add support of high unicodes in QUrl.
QComboBox::modelColumn was not respected when selecting an item
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Methods setNativeKey() and nativeKey() were added to
QSharedMemory API. Shared memory's native key is returned
by nativeKey() and it is set with either setKey() or
setNativeKey(). setKey() leads to a native key that is
platform independent while setNativeKey() directly sets
the native key without any mangling.
When using setNativeKey(), key() returns a null string
and shared memory's system semaphore is not set. This
means that is up to the user to define a such protection
mechanism (i.e. lock() can't be used on native keys).
QSharedMemory tests were updated.
Merge-request: 1497
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Broken by 0cdf33e9acb00b8f3654e8268253a3fb7c5db92c, which assumes the
binary and sources are in the same directory. The fix reverts the code
back to how it was in 4.5 (where it still works with shadow builds).
Reviewed-by: Denis Dzyubenko
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Merge-request: 641
Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com>
Reviewed-by: Morten Sorvig
Task-number: QTBUG-2695
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix some typos in the test data (all 3 typos are already
fixed in the original testsuite).
Add incorrect utf-8 data (sub)test from nameprep testsuite.
Reviewed-by: Andreas
Merge-Request: 605
Merge-request: 605
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Auto-test included
Reviewed-by: Olivier
Task-number: QTBUG-10491
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix tst_QComboBox::maxVisibleItems() auto-test on Mac
Use binarysort to find items.
QComboBox: Fix documentation and make auto-test pass.
|
| | |
| | |
| | |
| | | |
Reviewed-by: Olivier
|
| |\ \
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Use binarysort to find items.
QComboBox: Fix documentation and make auto-test pass.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Use binarysort to find items.
QComboBox: Fix documentation and make auto-test pass.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Task: http://bugreports.qt.nokia.com/browse/QTBUG-231
Reviwed-by: Eskil
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
QComboBox: Fix documentation and make auto-test pass.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed-by: Olivier
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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: (100 commits)
Fixed compile with xlC.
Added autotest for Component.createObject() without Qt.createComponent()
Compiler warning
Remove incorrect ASSERT
Be slightly more verbose on assigning undefined in binding.
Doc fixes
Don't crash when assigning a Behavior to a grouped property.
Get rid of 'noise' when using GL and the top-level item is an Item.
Fix visual tests after rename of the qml executable.
Do not attempt to setParent of object in a different thread
Don't polish QDeclarativeItems.
Check QML files for license headers too.
Make compile: include script module for test
Move copies of toLocalFileOrQrc() to QDeclarativeEnginePrivate
Allow resource files to be loaded in WorkerScript
Fix TextEdit alignment.
Component::createObject() don't attempt to set parent of null object
Factor out initialization effects from declarative benchmarks.
Remove license headers from test data.
Fix warnings
...
|
| |\ \ \ \
|/ / / / / |
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
Fixed compile with xlC.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When given `flags |= foo | bar;', where `flags' is a bitfield, xlC says:
The bit-field "flags" cannot be bound to a non-const reference
`flags |= foo; flags |= bar;' works.
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Added autotest for Component.createObject() without Qt.createComponent()
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also augmented the docs for both functions a little.
Task-number: QTBUG-10926
|
| |\ \ \ \ \ \
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Compiler warning
Remove incorrect ASSERT
Be slightly more verbose on assigning undefined in binding.
Doc fixes
Don't crash when assigning a Behavior to a grouped property.
Get rid of 'noise' when using GL and the top-level item is an Item.
Fix visual tests after rename of the qml executable.
Do not attempt to setParent of object in a different thread
Don't polish QDeclarativeItems.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
QTBUG-10816
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
QTBUG-10832
|
| | |\ \ \ \ \ |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Task-number: QTBUG-10799
Reviewed-by: Aaron Kennedy
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Task-number: QTBUG-10911
|
| | | | | | | | |
|