| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reviewed-by: Gunnar
|
|\
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Add average frame timing to QDeclarativeView, ifdef'ed out.
|
| |
| |
| |
| | |
Reviewed-by: Aaron Kennedy
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Schemas: Add "theme" attribute to <iconset> element of the UI format.
uic: Extend it to generate the code for icons with themes and/or resource
paths, add auto-test for it.
Designer: Add 'theme'-member to PropertySheetIconValue + convenience
functions including subproperty mask handling and simplify the existing
code. Add new class IconThemeEditor to be used in action editor dialog and
property editor. Theme names can now be specified in the action editor
dialog.
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
Task-number: QTBUG-7777
|
|\
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Do not > /dev/null gdb output.
Remove unused local variable in myanmar shaper of harfbuzz
|
| |
| |
| |
| | |
Reviewed-by: Lars Knoll
|
|/
|
|
|
|
|
|
|
|
|
| |
QDataStream does not check values from QIODevice::write and QIODevice::read
since it cannot decide what to do in case of errors or less data written
or read. The fix for this is to fix the documentation for
QIODevice::writeData and QIODevice::readData to make sure implementations
write and read all the requested data.
Task-number: QTBUG-13108
Reviewed-by: David Boddie
|
|
|
|
| |
Reviewed-by: janarve
|
|
|
|
| |
Reviewed-by: Fabien Freling
|
|
|
|
| |
Reviewed-by: Joao
|
|
|
|
|
|
|
| |
This makes assignement faster from temporaries, as the operator is
fully inline, and doesn't do any atomic operations.
Reviewed-by: joao
|
|
|
|
| |
Reviewed-by: Joao
|
|
|
|
|
| |
Reviewed-by: Olivier Goffart
Reviewed-by: Joao
|
|\
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Added a QDebug operator for QSymbianEvent.
|
| | |
|
| |
| |
| |
| | |
Task-number: Side-effect of QTBUG-3570
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
hasHeightForWidth() already does the same check (if the widget has a
layout, use the layouts size policy instead of the widgets').
Also generalized the implementation so that it now supports
width-for-height.
Also fixed a bug where we expected the other dimension to decrease when
the first dimension increased. This is not always the case.
|
| |
| |
| |
| |
| | |
Task-number: Consequence of QT-3570
Reviewed-by: Paul
|
|/
|
|
|
|
|
|
|
| |
Minor change to allow external projects to include qdeclarativeanimation_p_p.h
and still compile on Symbian. The inlined constructor with a templated
object that contains a call to an non-exported function (execute())
caused a linker error.
Reviewed-by: bnilsen
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Optimize plugin loading on ELF platforms
Fix compiler warning in qtextformat.h
Add gdb-index section to debug binaries.
Clean up and clarify Mac font engine code
Implemented suffix and prefix strings for the numbering in ordered lists as supported by ODF. Works also with HTML import/export by using Qt CSS properties extensions.
|
| |
| |
| |
| |
| |
| |
| | |
This is equal to 3c2a43f91e0225bde8d6e6d6076dfe2cddbc2f8e
except the alignment checks have been relaxed.
Reviewed-by: janarve
|
| |
| |
| |
| |
| |
| |
| |
| | |
When compiling with -Wshadow, function arguments that shadow a
class member generate a warning. Change the name in the implementation
of the new functions to avoid this warning.
Reviewed-by: Samuel
|
| |
| |
| |
| | |
Reviewed-by: Eskil
|
| |
| |
| |
| |
| |
| |
| | |
supported by ODF. Works also with HTML import/export by using Qt CSS properties extensions.
Merge-request: 1642
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
|
| |
| |
| |
| |
| | |
If getsockopt() returns an address for an interface that doesn't advertise
that it can multicast, don't second guess the OS, just return the iface.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to make sure that we use the right setsockopt level and option
for the multicast TTL and loopback options. Like on UNIX, we need to use
IPPROTO_IPV6 level when joining and leaving a group. Also, we cannot
bind to a multicast address on Windows (but it is possible on UNIX).
work around this by binding to the Any/AnyIPv6 addresses if a multicast
address is passed to bind.
|
| |
| |
| |
| |
| | |
The setsockopt() to join/leave a group should change level depending on
the type of socket/address being used (and not always use IPPROTO_IP).
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This API allows the programmer to set/query the outgoing interface for
multicast packets for the socket. Both functions need an initialized
socket to work.
Autotest updated to test setting each interface in the system as the
multicast interface for IPv4 and IPv6 UDP sockets.
|
| |
| |
| |
| |
| |
| | |
These are clones of the broadcastsender and broadcastreceiver examples,
modified to use the multicast API. I've made sure that the examples are linked
in the appropriate places as well.
|
| |
| |
| |
| |
| |
| | |
The API is very small, joinMulticastGroup(), leaveMulticastGroup(), and
the two QAbstractSocket socket options, MulticastTtlOption and
MulticastLoopbackOption.
|
| | |
|
| |
| |
| |
| | |
This is a simple rename done for clarity.
|
| |
| |
| |
| |
| | |
According to the MSDN docs, we can just use setsockopt() and
getsockopt() like we do on UNIX, even if we are using Winsock2.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These options only make sense and work in QUdpSocket when using
multicasting. Previously, the loopback was set when joining a multicast
group, but the loopback flag is not a per-group flag, it's per socket,
hence this change.
The ability to set the multicast TTL is needed as well, so this is added
as a socket option as well.
Autotest updated to test both.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The code is very similar to the UNIX version, but not identical. It
appears the Microsoft compiler does not like the "interface" variable
name, so they have been renamed.
The autotest had a bug in it that I failed to notice before. The sender
was not sending to the multicast group, it was sending to the local
address of the receiver (which fails on Windows).
|
| |
| |
| |
| |
| | |
It's not supported everywhere, so remove it for now until the need to
re-add it arises.
|
| |
| |
| |
| |
| |
| |
| | |
QHostAddress::Null and QHostAddress::Any are not the same, and we use
QHostAddress::Any to signify that we want any-source behavior in
QUdpSocket::joinMulticastGroup(). Any means we should skip the single-
support SSM, like Mac OS X).
|
| |
| |
| |
| |
| |
| |
| |
| | |
If the system does not support SSM, but the source address is specified,
the error is unsupported socket operation, not unsupported protocol.
if setsockopt() returns an error we don't know about, set the error
code/string to unknown error
|
| |
| |
| |
| |
| | |
d->socketEngine will be zero, which crashes. avoid this by returning if
the socket is not in the BoundState
|
| |
| |
| |
| |
| | |
If a system does not support SSM (e.g. Mac OS X does not), then
requesting a specific sender results in a socket error.
|
| |
| |
| |
| |
| |
| | |
According to the Stevens book, the socket must be in the bound state
to be able to join the group, so we check for the same condition. We
support ASM and SSM (for IPv4). Windows implementation TBD.
|
| |
| |
| |
| |
| | |
We don't support multicast via proxy, so these function just return
false.
|
| |
| |
| |
| |
| |
| | |
This is actually just done in the socket engine, so we need to add the
API for setting the loopback socket option and joining/leaving the
group. Implementation for the various engines will follow.
|
| |
| |
| |
| |
| | |
Each function takes a groupAddress and optional source address,
network interface, and flags.
|
|/
|
|
|
|
|
|
|
| |
The widget would explicitly ignore the TextUnderIcon flag if no text
was set. This is wrong because it should be up to the style to decide
such details and the end result are unaligned icons by default.
Task-number: QTBUG-3715
Reviewed-by: richard
|
|
|
|
|
|
| |
to pass CI again after mystical failure
Reviewed-by: Olivier Goffart
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Fix compilation on mac.
Doc update: Mention the Qt::AA_X11InitThreads application attribute.
Fix incorrect include order
Add missing QT_BEGIN_NAMESPACE
Fix crash introduced with d34287af6fc1c7558e8ed15dbb29c0e6b58b7b00
find .rodata in qt plugins to optimize loading of plugins with no qt section
fix missing include
Optimize plugin loading on ELF platforms
use QFile:map instead of ::mmap
QAbstractItemView: optimize handling of editors for view with large numbers of editors.
|
| |
| |
| |
| | |
Commit d34287af6fc1c forgot to update this platform dependent code.
|