Age | Commit message (Collapse) | Author |
|
This patch will allow to resend messages that have not been successfully
delivered to the server. It requires that the server will have stream
management enabled as described in XEP-198.
Test-Information:
Tested the changes on Windows and Linux. Modified the code to force
messages to fail, and then tested the resend functionality.
Added ChatControllerTest, with unit Tests for the resend case. The rest of
unit test pass.
Change-Id: Id095528247b25a47e34c5632b8469ebd4c97149b
|
|
This patch enables emojis for Linux and Windows. In windows, currently the
emojis are only black and white, due to some inconsistencies in the UI.
For Linux the Noto Colour Emoji font (https://www.google.com/get/noto/) is
used.
The client must be build with Qt 5.6 or newer to support the emoji
characters.
Test-Information:
Tested the changes with Qt 5.8 on Windows 10 and Linux Ubuntu 17.10.
Built and tested the appimage on Ubuntu 17.10 and Ubuntu 16.04.
Change-Id: I6d0f2842349eae789d773c33d1a93ad33304df3e
|
|
The grey gap was being created due to the relative sizes of the css
elements myavatar, myright, otheravatar, otherright.
Depending on the font size, and due to round ups, the elements ended with
a gap between them, resolving to the grey line.
The fix moves one of the elements slighly and works with newer versions of
Qt.
Test-Information:
Tested with with windows (qt5.4.2), Windows (qt5.7), Linux (qt5.5)
Change-Id: Ib4fb7fc8a5ef8bed1868a0d65707ca034309cf04
|
|
The moves the timestamps from the sidebar into the message
block to the right, after the nickname, floating right-aligned
at the top of a message.
This reduces the width of the sidebar.
Test-Information:
Tested with Qt 5.7.0 and QtWebKit TP4 on macOS 10.12.
Tested MUC and 1-to-1 chat views. Tested last message
correction UI behaviour.
Change-Id: Ibd899e9017ac5654b3eb3fe909c9be1524d4b50b
|
|
A recent change to web view scaling to have equal font sizes
in and outside the web view cause the pixel sized avatars
to be half the usual size. With this fix the avatar is as
high as The the nickname plus the first line of the first
message.
Test-Information:
Tested on macOS 10.12 with Qt 5.7.0 and QtWebKit TP4.
Change-Id: I13e3c83fdb00e0dc9079c3ad5d6a380f6db5a499
|
|
The delviery-warning.svg matches the style of
delivery-failure.svg and delivery-success.svg. It is a
yellowish circle with a white border and a white exclamation
mark in it.
Test-Information:
Build and checked the new icon is shown when a message
receipt is requested but no receipt is received.
Tested on macOS 10.12 with Qt 5.7.0 and QtWebKit TP4.
Change-Id: Ie715993eabd8f853ea0a6983645d7d89259f61a7
|
|
This changes the icons for delivery success and delivery
failure to vector graphics in SVG format.
Added a slight white circle around the graphics for better
readability on backgrounds with low contrast.
Test-Information:
Tested with Qt 5.4.2 and Qt 5.5.1 on OS X 10.11.6 on retina
and non-retina systems.
Noticeable better rendering due to SVG over PNG. Noticeable
but not attracting attention white circle.
Change-Id: I3c9be99854a300a4e40161a74964514aa47d292a
|
|
This changes the minimal font scaling to 0.8em, so that the
font size in the chat view can be smaller than the font size
in the rest of the application.
At 1.0em the font in the chat view has the same size as the
rest of the application.
Also changed fixed pixel sizes in main.css to relative
percentage sizes.
Test-Information:
Verified the font size in the chat view is the same as the
font size for the contact lists at 1.0em on Windows and OS X
with Qt 5.5.1.
Change-Id: Ib625f11cea0aacd31edee27c2dc89df5e2cbd1c4
|
|
All fonts belong to the same font family, i.e. Late.
Set the correct font weights obtained from the download page
of the font website.
Test-Information:
Verified in Web Inspector that all fonts are loaded. Previously
only two fonts were loaded.
Change-Id: Ifa0a01058d80c1ddf3c500a28bd3e50823eb4246
|
|
The old default avatar does not work well with the new
chat view design which uses circled avatars.
This also uses the vector avatar internally in Swift and
has Qt and the chat view engine scale it to the required
size.
Test-Information:
Tested on OS X 10.11.5 with non-compact chat views and MUC
conversations.
Change-Id: I82580ecb91fc81f4fe9535aa9d3b214b720a40f3
|
|
This prevents horizontal overflow in case of long URLs.
Test-Information:
Tested with multiple MUC rooms with lots of URL messages.
Tested on OS X 10.11.5 with Qt 5.5.1.
Change-Id: I66c1786bb23c23b2379dc15e1bef6fff3f85f150
|
|
Test-Information:
Joined a room with MUC history and verified that the spacing
between nickname and message is always the same.
Change-Id: I67c07a93ec90b8f16e44d613a7c71c70cb164eb5
|
|
The old version cut off the blurred shade at the top and bottom.
The new version has a square page and does not cut off the
blurred shade of the Swift logo used in the image.
Furthermore rendered the SVG to a 192x192 PNG, the exact
dimensions used in the UI, using the `inkscape -e
logo-shaded-text.png -w 192 -h 192 -z logo-shaded-text.svg`
command.
This change also works around QTBUG-46846.
Test-Information:
Verified that the login window of the UI looks nearly the same
as before. It is a bit smaller since the blurred shade is not
cut off anymore.
Change-Id: Iee56d2a892572f45db7f93a2429455fd9d603eb6
|
|
This changes the CSS to change the chat view elements to
table elements like <table>, <tr> and <td>.
The previously used color block with the CSS attribute
"position: fixed" had a very noticeable performance overhead
when scrolling the view.
Table layout has a noticeably smaller performance overhead
when scrolling the chat view.
Test-Information:
Verified the chat view layout pretty much looks like the
one we had before. Tested with Qt 5.5.1 on OS X 10.11.5.
Change-Id: If950f2a45ea4f02b68cdcd81deff965147540c7e
|
|
Without this adjustment the blue/green swatches are slightly
visible left of the circled avatars.
Test-Information:
Tested with Qt 5.4.2 on OS X 10.11.5 in MUCs and 1-to-1 chats.
Change-Id: Id86d9228a0eeacfe9a7d86831537795ce4d5d461
|
|
The font has been imported from the TTF version available
from http://www.latofonts.com/lato-free-fonts/ .
This commit also adds default parameters to all Qt resource
compiler calls, so that files that compress by more than 5%
are compressed with the highest compression level. Ideally
this will lead to smaller resource C++ source code files that
will require less runtime memory when compiled. VS's cl.exe
is particular resource hungry.
Test-Information:
Started Swift and verified the new font is used correctly
in chat views.
Change-Id: I0b450819b0f50041e768deca6e0ef5619b45d7bf
|
|
This is needed because our warning icon is larger than
the success check mark icon. Without it the swatch of the
follow up messages is inside the message area.
Test-Information:
Tested on OS X 10.11.4.
Change-Id: I4d0b0c62ba1101ee2f2114311696c939249bab7f
|
|
Test-Information:
Tested unread marker with very narrow chat views. The unread
marker label does not overlap with the message.
Change-Id: I531c47bc440ad6b8a45ac9c679f736d695207b0f
|
|
This patch moves the message receipt/ack indicator into the
colored swatch right of the avatar. This allows followup
messages to be reduced in their height so they consume less
space.
Test-Information:
Tested 1-to-1 and MUC chats that the patch works as expected.
Change-Id: I8bb3ccdc36338b1c1f4361b323ca09ffac30336a
|
|
This prevents a horizontal scroll bar as long as there is
space for the message block. If it is resized to a size that
only allows horizontal space for the dark side block, then
there will still be a horizontal scroll bar.
Test-Information:
Tested in various chat rooms by resizing the splitter between
chat view and occupant list.
Change-Id: Ibdf6a9554adcbd7580cb9b40eaffff6279a184b0
|
|
This also removes the old chat theme resources and some code
in QtWebKitChatView that was required for compatibility to
Adium-style themes.
The new code uses a CSS style in the header to change the
font size and does not iterate the whole DOM tree itself
anymore.
Added new resources for failed and successful asks.
Test-Information:
Tested MUCs, PMs, message correction and file-transfers with
the new chat theme.
Change-Id: If922a972c658189444e60a7b00e5e5e96661620d
|
|
The task bar in Windows 10 has black as the default color.
The mainly black Swift application icon is hardly visible on
black background. Thus this patch changes the Window icon
on Windows to the default avatar icon in Swift.
Test-Information:
Tested on Windows 8 and Windows 10.
Change-Id: I1965cf37ba5a714094cff24ab971c0fc9f9d7fe1
|
|
The default Swift icon is black with transparent background.
It is hardly visible on Windows 10 as it has a black task bar
by default.
This commit changes the Windows icon of Swift to the default
avatar icon.
Test-Information:
Verified icon visibility on Windows 10.
Change-Id: Ic78aa6b816deb5769666c7e2337917262c75046e
|
|
Change-Id: Idb6ef5fa191b1465c0bf46c47e63b695de07fa0b
|
|
Change-Id: I74ba85f84c9e4775b472e7366f3f1b7572489512
|
|
Change-Id: I3a31aac0641bf0e2f4865906b5a3fe59f46cabf4
|
|
Warnings were seen in console while running Swift. Used ImageMagick to do identity reconversion:
$ convert file.png file.png
Following warnings were seen during reconversion on Fedora 20 with libpng-devel-1.6.3-3.fc20.x86_64 and ImageMagick-6.8.6.4-4.fc20.x86_64:
convert: cHRM: invalid chromaticities `./Swift/resources/icons/certificate.png'
convert: iCCP: known incorrect sRGB profile `./Slimber/Resources/Offline.png' @ warning/png.c/MagickPNGWarningHandler/1830.
convert: iCCP: known incorrect sRGB profile `./Swift/resources/icons/certificate.png' @ warning/png.c/MagickPNGWarningHandler/1830.
convert: cHRM: invalid chromaticities `./Swift/resources/icons/certificate.png' @ warning/png.c/MagickPNGWarningHandler/1830.
convert: iCCP: known incorrect sRGB profile `./Swift/resources/themes/Default/Incoming/buddy_icon.png' @ warning/png.c/MagickPNGWarningHandler/1830.
convert: iCCP: known incorrect sRGB profile `./Swift/resources/themes/Default/Outgoing/buddy_icon.png' @ warning/png.c/MagickPNGWarningHandler/1830.
convert: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG `./Swift/resources/logo/logo-chat-100.png' @ warning/png.c/MagickPNGWarningHandler/1830.
convert: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG `./Swift/resources/logo/logo-chat-16.png' @ warning/png.c/MagickPNGWarningHandler/1830.
And following on Ubuntu 13.10 with libpng12-dev 1.2.49-4ubuntu1 and imagemagick 8:6.7.7.10-5ubuntu3:
convert.im6: Ignoring attempt to set cHRM RGB triangle with zero area `./Swift/resources/icons/certificate.png' @ warning/png.c/MagickPNGWarningHandler/1754.
Change-Id: Ic8689f220c1863ec9b3dfa7686633e707d253317
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
|
|
Change-Id: Id5604c65c6090783c79a45ee7c975ed4118a51f3
|
|
Change-Id: I7c92518dc389474d520d4cf96f96a11459f73d26
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
|
|
Change-Id: I1b14edb97a0c87431ec377b084362e9761caded9
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
|
|
Change-Id: I3104efcb9d56cfcaafda45eac2a51d2702f5245b
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
|
|
Change-Id: I6b5bc58558a94b5d3939171ebf5d318a067c8b3d
|
|
Change-Id: If491b0a62782d568cad132c8c5856aaeb3a3967a
|
|
Change-Id: I0f879492c0a93560b34433c2db945863b1a6a7ac
|
|
theming.
Resolves: #1162
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
|
|
Added missing SWIFTEN_API declarations.
Changed test infrastructure to extend path before running
tests.
|
|
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
|
|
Add history dialog as an experimental feature.
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
|
|
Seems this was making the alignment odd.
|
|
|
|
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
|
|
|
|
|
|
receipts warning icon replaces it with text."-bug.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
|
|
1-to-1 MUC).
Warn icon from already existing theme. Check icon from Wikipedia. See Swift/resources/icons/license_info.txt for details.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
|
|
Release-Notes: Added Polish translation (Thanks to Maciej Niedzielski)
|