Manuel Nickschas [Thu, 7 Nov 2013 19:06:00 +0000 (20:06 +0100)]
Add handshake message types to protocol.h
These are all the message types that are needed for the initial
handshake, before things get handed over to the SignalProxy.
Manuel Nickschas [Tue, 26 Feb 2013 22:04:40 +0000 (23:04 +0100)]
Make protocol messages structs instead of classes
Encapsulation with private members and accessors is nice, but for something
that is just a POD and will most probably stay that way, it's overkill [1].
So we're turning the classes into structs with direct member access.
Most beneficially, this makes protocol.h much nicer to read.
As a bonus, we introduce a common baseclass that holds the handler() method to
remove duplication.
[1] Even Qt sets a precedent for that, e.g. QPair and many other PODs that are
implemented as structs with public member access even in the public API.
Manuel Nickschas [Thu, 7 Nov 2013 20:44:11 +0000 (21:44 +0100)]
Fix build without SSL
This one slipped in.
Florent Castelli [Wed, 16 Oct 2013 21:15:23 +0000 (23:15 +0200)]
Sanitize topic message
The code handling the topic message isn't expecting any new lines
since it is usually not possible to have any from the IRC specs.
But we can have some Unicode new lines instead!
Qt is happily converting them to simple new lines which then crashes
the client with a stack overflow.
Daniel Albers [Wed, 17 Apr 2013 03:00:47 +0000 (05:00 +0200)]
Update translations from Transifex
Many thanks to:
- cs: Vít Pelčák <vit@pelcak.org>
- da: furyfire <frazzer@hotmail.com>
- de: Heffer <felix@fetzig.org>
- el: differentreality <differentreality@gmail.com>, Γιάννης Ανθυμίδης <yannanth@gmail.com>, warlordfff <warlordfff@gmail.com>, tampakrap <tampakrap@gmail.com>
- es: Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, Dongorongoro <jonathan@haitu-yu.com>
- fi: Larso <larso@gmx.com>
- hi: libregeekingkid <rajuvindane@gmail.com>
- ko: Sungjin Gang <potopro@gmail.com>
- mr: libregeekingkid <rajuvindane@gmail.com>
- nb: sandsmark <sandsmark@samfundet.no>
- pt_BR: Pad <pedroaraujo@colorlesscube.com>
- tr: volkangezer <volkangezer@gmail.com>
Daniel Albers [Sat, 31 Aug 2013 18:04:26 +0000 (20:04 +0200)]
new file: .travis.yml
Marcus Eggenberger [Thu, 10 Oct 2013 11:26:39 +0000 (13:26 +0200)]
Fixing security vulnerability with Qt 4.8.5+ and PostgreSQL.
Properly detects whether Qt performs slash escaping in SQL queries or
not, and then configures PostgreSQL accordingly. This bug was a
introduced due to a bugfix in Qt 4.8.5 disables slash escaping when
binding queries: https://bugreports.qt-project.org/browse/QTBUG-30076
Thanks to brot and Tucos.
[Fixes #1244]
Manuel Nickschas [Thu, 10 Oct 2013 19:09:16 +0000 (21:09 +0200)]
Fix warnings found by Clang
A couple of mismatched tags, and an unused parameter.
Manuel Nickschas [Thu, 10 Oct 2013 19:08:28 +0000 (21:08 +0200)]
Remove unused field from QssParser
Clang found out that we never use _maxUserHash, so remove it.
Manuel Nickschas [Thu, 10 Oct 2013 19:07:43 +0000 (21:07 +0200)]
Add compiler flags for Clang
Bas Pape [Sat, 7 Sep 2013 11:09:06 +0000 (13:09 +0200)]
Respond to CTCP PING even if it had no parameter.
Normally the response param is whatever came in, but e.g. qwebirc does
not send any params if the user does not explicitly specify any. This
would result in "Received unknown CTCP-PING". This patch makes quassel
respond with any empty string.
Bas Pape [Wed, 28 Aug 2013 19:27:49 +0000 (21:27 +0200)]
Add some numerics to the 'Just display' list.
These are all defined in RFC 2812, but were not displayed as server
messages by quassel:
256 (RPL_ADMINME), 257 (RPL_ADMINLOC1), 258 (RPL_ADMINLOC2),
259 (RPL_ADMINEMAIL) and 263 (RPL_TRYAGAIN, this one is technically an
error, thus shown as such).
Bas Pape [Wed, 28 Aug 2013 18:32:21 +0000 (20:32 +0200)]
Use the old way of finding translations for OSX.
Many OSX users reported their clients being in Japanese, rather than
English, since 0.9.0, which turned out to be due to
QSystemLocale::query for QSystemLocal::UILanguages (internally done by
Qt if a QLocale is passed to QTranslator::load) returning 'en', rather
than the proper local form (e.g. 'en-US').
As 'en' has no translation, the second language got picked up, which
happened to be 'ja', which does have a translation.
Fixes #1233 (but reintroduces #1194 on OSX)
Bas Pape [Thu, 29 Aug 2013 18:28:27 +0000 (20:28 +0200)]
Remove CoreBasicHandler::displayMsg without type.
Incomprehensible code, which actually caused a segfault in most of the
few places it was used. The only useful part is calling typeByTarget,
but that can be done in the calling site just as well.
Bas Pape [Mon, 26 Aug 2013 21:01:25 +0000 (23:01 +0200)]
Indicate whether a key is set for the buffer.
This adds a lock icon on the right of the input widget when a key is
set for the current buffer. Encryption was isolated within CoreIrcUser
and CoreIrcChannel, so a new property on IrcUser and IrcChannel is
necessary to sync the current status.
Bas Pape [Sun, 25 Aug 2013 16:41:33 +0000 (18:41 +0200)]
Do not allow keyx to be used on channels.
Given that incoming exchanges are ignored for channels, it makes no
sense to send them either.
Bas Pape [Sun, 25 Aug 2013 14:48:19 +0000 (16:48 +0200)]
Prepend the mode of operation to showkey's output.
Bas Pape [Sun, 25 Aug 2013 14:21:09 +0000 (16:21 +0200)]
Remove unused cipher map.
Since the refactoring in 3146ad this map is unused.
Bas Pape [Sun, 25 Aug 2013 13:52:40 +0000 (15:52 +0200)]
Properly detect CBC in key negotiation.
When FiSH starts a key exchange, it appends CBC to the key to indicate
that it wants to use CBC rather than EBC. The cipher code simply
rejected this key.
Bas Pape [Sun, 25 Aug 2013 09:07:00 +0000 (11:07 +0200)]
Don't respond to key exchange requests in channels
Bas Pape [Tue, 27 Aug 2013 19:59:37 +0000 (21:59 +0200)]
Strip formatting when looking up the clickable.
In the TopicWidget the list of Clickables is initialized with text
stripped of formatting, so when looking up their positions again, the
formatting should be stripped as well.
Fixes #1115
Luke Faraone [Sun, 9 Jun 2013 06:53:15 +0000 (02:53 -0400)]
Remove stray whitespace in INSTALL and README.
J-P Nurmi [Thu, 23 May 2013 20:33:43 +0000 (22:33 +0200)]
types.h: add missing include
Bas Pape [Mon, 29 Jul 2013 22:56:16 +0000 (00:56 +0200)]
Update INSTALL info on LINGUAS.
Since
2573fe44 the buildsystem no longer uses a seperate option for LINGUAS, but rather uses the environment variable of the same name.
Daniel Albers [Tue, 9 Jul 2013 09:26:28 +0000 (11:26 +0200)]
fix timestamp in Russian day change message
Daniel Albers [Wed, 3 Jul 2013 14:56:24 +0000 (07:56 -0700)]
Merge pull request #26 from TheOneRing/master
fixed build with kde on windows
Patrick von Reth [Wed, 3 Jul 2013 13:08:50 +0000 (15:08 +0200)]
fixed build with kde on windows
Alf Gaida [Sat, 27 Apr 2013 10:53:59 +0000 (12:53 +0200)]
Never use the expressions "allows to", "helps to", "requires to" etc. Each of these expressions requires a direct object.
fixes some lintian warnings in debianoid systems
Bas Pape [Thu, 16 May 2013 17:33:13 +0000 (19:33 +0200)]
Show a message when failing to load the key file
People got confused when quassel did not accept their keyfile; now a
message is shown hinting at the possibility of a passphrase being
present.
Bas Pape [Tue, 14 May 2013 22:16:01 +0000 (00:16 +0200)]
Only show warning about QCA on user input.
When compiled with QCA support, merely trying to decrypt messages
should not warn about missing qca-ossl; this message should only be
shown on user input (such as the key-related commands) and incoming
messages really requiring qca-ossl to function (key exchange).
Bas Pape [Tue, 14 May 2013 22:01:11 +0000 (00:01 +0200)]
Fix replacing Horizontal Tab with the unicode char
Commit
4676ff82af669595edaf090c97a28161d67782a1 caused horizontal tabs
to be replaced with the HT character of the unicode control char block.
Fix that by replacing it with 8 spaces again.
Marcus Eggenberger [Thu, 9 May 2013 10:32:55 +0000 (12:32 +0200)]
Partial reorganization of Mac OS bundeling script.
Marcus Eggenberger [Tue, 7 May 2013 19:04:53 +0000 (21:04 +0200)]
After thorough considerations and long discussions, we finally decided to included phonon with the bundled Mac OS X client...
Marcus Eggenberger [Sun, 5 May 2013 10:12:20 +0000 (12:12 +0200)]
Updated packaging scripts for Mac OS X
Manuel Nickschas [Tue, 16 Apr 2013 21:42:12 +0000 (23:42 +0200)]
Update ChangeLog
Manuel Nickschas [Tue, 16 Apr 2013 21:06:57 +0000 (23:06 +0200)]
Finally fix reconnection logic
Really, that part of the code needs a good old refactoring.
Manuel Nickschas [Tue, 16 Apr 2013 20:47:17 +0000 (22:47 +0200)]
Update about dialog once again for new translations
Daniel Albers [Mon, 15 Apr 2013 23:46:56 +0000 (01:46 +0200)]
update translation template - adds 15 new strings
Daniel Albers [Mon, 15 Apr 2013 23:33:07 +0000 (01:33 +0200)]
Update translations from Transifex
Newly added languages: Esperanto (eo), Lithuanian (lt), Romanian (ro) and
Serbian (sr)
Many thanks to:
- cs: Vít Pelčák <vit@pelcak.org>
- de: ToBeFree <tobias@freiwuppertal.de>
- eo: cordata <tiffypet@yahoo.com>, <recoverybenk@gmail.com>
- es: Adolfo Jayme Barrientos <fitoschido@gmail.com>, enjolras <yo@miguelrevilla.com>
- fi: Larso <larso@gmx.com>, Lasse Liehu <lasse.liehu@gmail.com>
- lt: Liudas Alisauskas <liudas@akmc.lt>
- nb: sandsmark <sandsmark@samfundet.no>
- ro: Sergiu Bivol <sergiu@ase.md>
- ru: sfionov <fionov@gmail.com>
- sr: Jovan Jojkić <jovanjojkic@gmail.com>
- tr: Volkan Gezer <volkangezer@gmail.com>
- tr: zeugma <sunder67@hotmail.com>
- uk: Yuri Chornoivan <yurchor@ukr.net>
Manuel Nickschas [Sun, 14 Apr 2013 10:28:03 +0000 (12:28 +0200)]
Add old-style com.trolltech annotations back into dbus xml files
Looks like the move from com.trolltech to org.qtproject happened only
recently, and with older Qt point releases Quassel will fail to build
that way.
By specifying both annotations, we hopefully silence the warnings in
current Qt while keeping Quassel buildable against older Qt.
Manuel Nickschas [Tue, 9 Apr 2013 21:40:34 +0000 (23:40 +0200)]
Post-branch version bump
Manuel Nickschas [Tue, 9 Apr 2013 21:35:17 +0000 (23:35 +0200)]
Bump version.inc for release
Manuel Nickschas [Tue, 9 Apr 2013 21:30:04 +0000 (23:30 +0200)]
Update "About" dialog
New contributors!
Manuel Nickschas [Tue, 9 Apr 2013 20:57:21 +0000 (22:57 +0200)]
Change date/time formats
As some date strings are generated core-side, and servers might have set
a different locale than connected clients, we would like to avoid localized
date strings. As Qt4 also doesn't allow to display a time zone (offset) without
also localizing the string, we convert all core-side times into UTC and display
them in ISO format.
The daychange message, however, is generated client-side and thus can be shown
according to application or system locale.
we would like to avoid localized
dates
Manuel Nickschas [Tue, 9 Apr 2013 18:30:45 +0000 (20:30 +0200)]
Build against Qt 4.6 again
Bah.
Manuel Nickschas [Tue, 9 Apr 2013 18:30:35 +0000 (20:30 +0200)]
Fix missing #include
Manuel Nickschas [Mon, 8 Apr 2013 22:08:12 +0000 (00:08 +0200)]
Simplify and fix (re)connection logic
Still a mess, but the refactor is right around the corner anyway. Now at
least Quassel should no longer reconnect automagically if disconnected
explicitly.
Manuel Nickschas [Sun, 7 Apr 2013 22:22:18 +0000 (00:22 +0200)]
Fix lag display
Not sure what I was thinking in
d3ce95c, but that commit
a) didn't fix compiling with Qt < 4.7
b) confused local time and UTC, which
c) completely bugged lag display.
Should be working now.
Manuel Nickschas [Sun, 7 Apr 2013 21:40:57 +0000 (23:40 +0200)]
Fix building with Qt 4.7
For reasons unknown, qPrintable() doesn't work with QByteArray in Qt versions
prior to 4.8 (the confusing thing is why it works now, in fact). In any case,
it probably makes sense to print a binary blob using normal QDebug output for
QByteArrays anyway, rather than trying to convert it to a string.
Manuel Nickschas [Wed, 27 Mar 2013 23:31:56 +0000 (00:31 +0100)]
Build against Qt 4.7 again
Thx Tucos for the patch.
Manuel Nickschas [Thu, 7 Mar 2013 22:51:29 +0000 (14:51 -0800)]
Merge pull request #12 from dmeltzer/master
Fix build on os x 10.7
Daniel Meltzer [Thu, 7 Mar 2013 22:44:23 +0000 (17:44 -0500)]
Fix deprecated warnings. com.trolltech>org.qtproject
Daniel Meltzer [Thu, 7 Mar 2013 22:42:40 +0000 (17:42 -0500)]
Fix Build on OS X 10.7, Where notification center doesn't exist.
Manuel Nickschas [Wed, 6 Mar 2013 23:52:06 +0000 (00:52 +0100)]
Fix virtual overloads
So I learned something today: the 'using' keyword can also be used to
import function names from the enclosing namespace. This not only
solves the spammy virtual overload warnings that the new-fangled protocol
stuff introduced unwittingly, but also removes the need to redefine
RemotePeer::handle<>() as a forward to Peer::handle<>().
Also, someone please kick the C++ inventors for making method lookup
not follow the Koenig rules (contrary to most other lookups...).
Manuel Nickschas [Wed, 6 Mar 2013 23:41:54 +0000 (00:41 +0100)]
Fix CMake build types and compiler flags
Turns out there were various typos in this that noone ever noticed,
most notably leading to QT_NO_DEBUG not being defined in RelWithDebInfo
builds. We're now also defaulting to RelWithDebInfo for Win32; please
let me know if that still causes problems.
While I was at it, I also added CMAKE_BUILD_TYPE=Profile, and pimped the
compiler warnings in general. In particular, -Woverloaded-virtual seems
rather useful with all the template trickery we're introducing lately.
Manuel Nickschas [Wed, 6 Mar 2013 19:54:18 +0000 (20:54 +0100)]
Bump version.inc for release
Bas Pape [Sat, 23 Feb 2013 18:35:28 +0000 (19:35 +0100)]
Make sure target for displayMsg is not null
In the key related functions bufferInfo.bufferName() was used, but this
returns a null QString, which causes a segfault when processed later on,
so replace them with emtpy strings.
Manuel Nickschas [Wed, 6 Mar 2013 19:41:53 +0000 (20:41 +0100)]
Don't crash if no audio file for Phonon is set
Bas Pape [Thu, 14 Feb 2013 21:55:43 +0000 (22:55 +0100)]
Add notification backend to support DockManagers
DockManager is a DBus API that does fancy icons. Current support
includes progress reporting whilst connecting, requesting attention
when highlighted and showing pending highlight count in a label. Exact
support also depends on the dock.
Bas Pape [Tue, 12 Feb 2013 18:38:05 +0000 (19:38 +0100)]
Set minimum (the special value) timeout to 0
Fixes #1201
Jason Lynch [Tue, 5 Feb 2013 14:48:37 +0000 (08:48 -0600)]
Fix duplication/dropping of messages in certain instances.
When multiple messages are processed at once, if one of the messages is flagged
for redirection, the wrong array is accessed, potentially causing the redirected
message to be dropped and another message to be duplicated.
Bas Pape [Wed, 20 Jun 2012 22:19:33 +0000 (00:19 +0200)]
Optionally start minimized to tray
Restores mimized to tray if it was closed as such and adds an option to
force starting mimized to tray (if a tray is available). Fixed #1133
Manuel Nickschas [Thu, 28 Feb 2013 19:34:52 +0000 (20:34 +0100)]
Relicense SystemTray and LegacySystemTray under LGPL 2+
This was requested so that it could be made useful together with
StatusNotifierItem (which came from KDE and already is LGPL'd).
Here's hoping that it will result in a neat little library that programs
can use to have a systemtray icon that sucks less than the stock one.
This code was written by yours truly.
Manuel Nickschas [Wed, 20 Feb 2013 23:02:39 +0000 (00:02 +0100)]
superfluous_includes--
Manuel Nickschas [Wed, 20 Feb 2013 22:52:15 +0000 (23:52 +0100)]
Mutate SignalProxy::AbstractPeer into a separate class Peer
It makes no sense anymore to have this a nested class inside SignalProxy
anymore.
Also, this streamlines the template handling a bit; we don't need to duplicate
the handle() message between RemotePeer and InternalPeer.
Manuel Nickschas [Wed, 20 Feb 2013 21:30:30 +0000 (22:30 +0100)]
Unused--
Manuel Nickschas [Wed, 20 Feb 2013 19:31:54 +0000 (20:31 +0100)]
Trim the last parameter except for PRIVMSG and NOTICE
Just to be sure that we won't encounter any more side-effects with
ircds sending random trailing whitespace, let's trim the last parameter
except for PRIVMSG and NOTICE.
Manuel Nickschas [Wed, 20 Feb 2013 19:17:21 +0000 (20:17 +0100)]
Handle NAMREPLY with trailing whitespace
UnrealIRC sends trailing spaces with its NAMREPLY, which leads to empty nicks
being generated.
Manuel Nickschas [Wed, 20 Feb 2013 18:20:37 +0000 (19:20 +0100)]
Use lowercase headers for Phonon
The CamelCase headers don't seem to exist on all platforms.
Bas Pape [Wed, 10 Oct 2012 20:53:51 +0000 (22:53 +0200)]
Set key and cert for the temp identity manually
Normally these are synced, but in this case they need to be set manually
for hasChanged to work.
Fixes #1032
Manuel Nickschas [Tue, 19 Feb 2013 22:34:28 +0000 (14:34 -0800)]
Merge pull request #7 from Tucos/bug-640
Add codec blacklist for UTF-8 detection
Manuel Nickschas [Tue, 19 Feb 2013 22:33:19 +0000 (14:33 -0800)]
Merge pull request #6 from Tucos/genversion
Use QCoreApplication::arguments() for genversion
Manuel Nickschas [Tue, 19 Feb 2013 22:29:33 +0000 (14:29 -0800)]
Merge pull request #1 from sandsmark/master
Support for * as a mode target
Manuel Nickschas [Tue, 19 Feb 2013 22:27:25 +0000 (14:27 -0800)]
Merge pull request #5 from Tucos/feat-keyx
Add support for key exchange
martin sandsmark [Tue, 19 Feb 2013 22:25:34 +0000 (23:25 +0100)]
fix the misplaced & in the private stuff as well
martin sandsmark [Tue, 19 Feb 2013 22:24:47 +0000 (23:24 +0100)]
fix the last misplaced &
martin sandsmark [Tue, 19 Feb 2013 22:23:21 +0000 (23:23 +0100)]
consistency++
Manuel Nickschas [Tue, 19 Feb 2013 22:15:42 +0000 (14:15 -0800)]
Merge pull request #2 from sandsmark/wii
Add irssi's 'wii' as a default alias
Leo Franchi [Tue, 5 Feb 2013 14:44:38 +0000 (09:44 -0500)]
Enable smooth fonts on retina macs
Bas Pape [Fri, 23 Nov 2012 18:01:35 +0000 (19:01 +0100)]
Let quassel honour locale language settings
When the language setting (LC_MESSAGES) differs from the global locale
set, quassel will use the wrong language. Qt 4.8 introduces some changes
to QLocale which make this pretty much Just Work; this patch copies the
necessary bits for older Qts.
Fixes #1194
David Sansome [Fri, 23 Nov 2012 14:12:35 +0000 (01:12 +1100)]
Show OS X notification center notifications
Bas Pape [Thu, 11 Oct 2012 19:37:13 +0000 (21:37 +0200)]
Don't display control characters
Replace them with their respective unicode char from the control picture
block.
Felix Geyer [Tue, 9 Oct 2012 16:47:01 +0000 (18:47 +0200)]
Check if user setting pair exists before inserting/updating it.
If it exists it's inserted else the date is updated.
This fixes a (harmless) error that clutters the postgres log.
Fixes #958
Manuel Nickschas [Tue, 19 Feb 2013 21:27:45 +0000 (22:27 +0100)]
Formatting fixes
Sebastien Fricker [Thu, 4 Oct 2012 11:19:26 +0000 (13:19 +0200)]
If phonon backend is not available use as fallback the system bell
Sebastien Fricker [Thu, 13 Sep 2012 15:20:26 +0000 (17:20 +0200)]
If phonon is not availaible: disable the audio settings
Manuel Nickschas [Tue, 19 Feb 2013 21:10:05 +0000 (22:10 +0100)]
Name labels a bit nicer
Bas Pape [Thu, 30 Aug 2012 11:58:24 +0000 (13:58 +0200)]
Add support for SASL EXTERNAL
This is a method to identify to nickserv during connection registration,
like SASL PLAIN, but using the fingerprint of the certificate. Currently
the method used is chosen based on the mere presence of a certificate.
SASL PLAIN is not used as fallback (either this works or the certificate
is used as normal, with the race condition).
Bas Pape [Wed, 26 Sep 2012 08:56:50 +0000 (10:56 +0200)]
Only escape \ with standards-compliant ctcp
Fixes #1142
Bas Pape [Tue, 25 Sep 2012 18:57:14 +0000 (20:57 +0200)]
Simplify CTCP parsing by default
Rather than adhering to the CTCP 'specification', reply only to single
CTCP messages without text around them. All messages not fitting the
requirements are simply displayed in the buffer. The old behaviour can
still be enabled in the settings dialog.
Fixes #1130
Manuel Nickschas [Tue, 19 Feb 2013 20:40:40 +0000 (21:40 +0100)]
Fix issue with "Topic set" message
Yeah, those parens can be confusing.
Manuel Nickschas [Tue, 19 Feb 2013 20:29:02 +0000 (21:29 +0100)]
Fix SASL auth with Freenode
Looks like Freenode adds a trailing space to its CAP ACK reply, so Quassel
would hang after we don't trim incoming messages anymore.
I don't particularly like the startsWith() workaround, but I guess we'll need
a more capable parser anyway, should we support more caps in the future...
Manuel Nickschas [Mon, 18 Feb 2013 22:48:00 +0000 (23:48 +0100)]
Rename Internal-, Remote- and LegacyConnection to -Peer
While I'm not tooo happy with the word "Peer", I couldn't think of another one
that fits their purpose better. "Connection" was certainly less correct, and
we have so many different connections in the codebase that it got way too confusing.
At least, while Peer might not be a perfect match, it is consistent with how we always
called that in Quassel (and they still inherit from SignalProxy::AbstractPeer and have
been doing so for years!).
Manuel Nickschas [Wed, 6 Feb 2013 19:05:32 +0000 (20:05 +0100)]
Bump CMake version
If I recall correctly, Tucos had figured out that we need 2.8.1 now.
Bas Pape [Sun, 3 Feb 2013 13:49:47 +0000 (14:49 +0100)]
Add codec blacklist for UTF-8 detection
ISO-2022-JP is valid UTF-8, which means this codec needs to bypass the
auto-detection.
Bas Pape [Fri, 1 Feb 2013 15:31:51 +0000 (16:31 +0100)]
Use QCoreApplication::arguments() for genversion
This prevents issues with locales and unicode paths.
Fixes #1177
Bas Pape [Thu, 31 Jan 2013 18:13:12 +0000 (19:13 +0100)]
Add support for DH1080 key exchange
Adds a KeyEvent and handlers, as well as a command (keyx) to initiate
and act upon a key exchange.
Bas Pape [Thu, 31 Jan 2013 17:46:17 +0000 (18:46 +0100)]
Refactor Cipher related things.
Instead of using a hash with set keys, set the key on the relevant
CoreIrc{User,Channel}'s cipher member.
Let the cipher clear its own key (with appropriate checks elsewhere)
Instantiate a new IrcUser when necessary (a query with someone who does
not share any channels with us means there is no IrcUser for the target
until he says something)
Manuel Nickschas [Sun, 27 Jan 2013 21:55:21 +0000 (22:55 +0100)]
Yearly bump
It's 2013, baby!
Manuel Nickschas [Sun, 27 Jan 2013 21:35:33 +0000 (22:35 +0100)]
Allow compilation against Qt < 4.7 again
Looks like I recently introduced the use of some QDateTime stuff that appeared
in Qt 4.7. Let's use the old way of calculating the lag then if built against older
Qt...
Oh, also this fixes that we would show double the lag.