elide long mail addresses and mailing list entries
commita3f539873bf865cc4675c80aedab6ffb050bab24
authorThomas Lübking <thomas.luebking@gmail.com>
Sat, 16 Jan 2016 21:26:57 +0000 (16 22:26 +0100)
committerJan Kundrát <jkt@kde.org>
Sat, 5 Mar 2016 16:14:37 +0000 (5 17:14 +0100)
tree01f528a5999da2c62e29a85dd991befd0ae77623
parent722c242e99f7d9278674266e7171f00009f0aebb
elide long mail addresses and mailing list entries

eg. github uses reply+<some hash>@reply.github.com what's
close to useless clutter
Instead the string gets elided to something reasonable and
the full URL is hinted as tooltip

Change-Id: I7fc1a5ac1848460e535a96ab9834876a74a3ddfb
CMakeLists.txt
src/Gui/EnvelopeView.cpp
src/Gui/OneEnvelopeAddress.cpp
src/Imap/Parser/MailAddress.cpp
src/Imap/Parser/MailAddress.h
src/UiUtils/Formatting.cpp
src/UiUtils/Formatting.h
tests/Misc/test_Formatting.cpp [new file with mode: 0644]
tests/Misc/test_Formatting.h [new file with mode: 0644]