summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-08-22Set correct font family and font weight in lato.cssTobias Markmann
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
2016-07-22Allow to wrap long words in the chat viewTobias Markmann
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
2016-07-13Fix spacing between nickname and message in own MUC historyTobias Markmann
Test-Information: Joined a room with MUC history and verified that the spacing between nickname and message is always the same. Change-Id: I67c07a93ec90b8f16e44d613a7c71c70cb164eb5
2016-07-12Change chat view layout to use tables for performanceTobias Markmann
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
2016-05-27Move avatars slightly to left in chat view to overlay swatchTobias Markmann
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
2016-04-25Add Lato font and use it in chat view themeTobias Markmann
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
2016-04-22Increase top margin on follow up messagesTobias Markmann
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
2016-04-07Increase unread marker height to not overlap with messagesTobias Markmann
Test-Information: Tested unread marker with very narrow chat views. The unread marker label does not overlap with the message. Change-Id: I531c47bc440ad6b8a45ac9c679f736d695207b0f
2016-04-06Move ack indicator position and reduce height of followup messagesTobias Markmann
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
2016-04-06Break long words (e.g. URLs) in chat view to prevent overflowsTobias Markmann
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
2016-03-29Replace chat view theme with one based on the new designTobias Markmann
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
2014-12-15Update Copyright in SwiftKevin Smith
Change-Id: Idb6ef5fa191b1465c0bf46c47e63b695de07fa0b
2014-10-01Disable drag of text and images (like avatars) in chat views.Tobias Markmann
Change-Id: I74ba85f84c9e4775b472e7366f3f1b7572489512
2014-03-13Set chat font back to sans-serif font.Richard Maudsley
Change-Id: I3a31aac0641bf0e2f4865906b5a3fe59f46cabf4
2014-01-25Fix images which caused libpng to issue warningsPavol Babincak
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.
2013-04-06RTL support in chat dialog.Remko Tronçon
Change-Id: Id5604c65c6090783c79a45ee7c975ed4118a51f3
2012-09-19Distinguish between wrapped and non-wrapped sender names in chat message ↵Tobias Markmann
theming. Resolves: #1162 License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2012-08-30History dialogCătălin Badea
Add history dialog as an experimental feature. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-07-15Revert previous change to consolidate font settings in CSS.Kevin Smith
Seems this was making the alignment odd.
2012-07-14Get fonts on Mac looking sane againKevin Smith
2012-07-14Move list of fonts to a single place, add generic fallback.Kim Alvefur
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
2012-03-22Remove imageSwap() code from default theme. Should fix "Clicking message ↵Tobias Markmann
receipts warning icon replaces it with text."-bug. License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2010-10-24Use smooth image interpolation in the chat dialog.Remko Tronçon
Resolves: #617 Release-Notes: The quality of the avatars has improved.
2010-08-11Disable fading in chats.Remko Tronçon
2010-06-05Don't scroll chattlog if not at end.Remko Tronçon
Resolves: #44
2010-05-27Fix avatar sizing and scaling in chats.Kevin Smith
You'll need to rm Swift/QtUI/qrc_* to pick this up. Resolves: #339
2009-06-28Moving resources into Swift/ and starting on Sound.Kevin Smith