10 years agoRefactor Cipher related things.
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)

10 years agoRefactor SignalProxy, network and protocol code
Manuel Nickschas [Thu, 17 Jan 2013 22:31:34 +0000 (23:31 +0100)]
Refactor SignalProxy, network and protocol code

Until now, SignalProxy also contained the protocol implementation and
handled the network data transfer. Besides being an architectural nightmare,
this also made it impossible to work on a new protocol.

As a nice sideeffect, the code size of SignalProxy shrunk by more than 30%.

This commit does the following:

* Provide a common abstraction for internal (mono) and remote connections,
  so we can remove the special casing for mono clients in the SignalProxy.
  This should also make it easier to bring back remote capabilities to the mono
  client in the future.

* Move the networking code into RemoteConnection, which also acts as an abstraction
  layer for the current and future core/client protocols.

* Move the protocol-specific code into LegacyConnection.

* Introduce explicit protocol message types (as opposed to QVariantMaps). This gives
  us type safety and allows for a cleaner and more efficient handling inside SignalProxy.
  Also, I finally got to use templates \o/

Note that the handshake/auth code still needs to be abstracted, so for now the
LegacyConnection is still used directly in (the awkwardly mis-named) CoreConnection
and Core for reading/writing their data during the init phase.

10 years agoMove inline keywords to the definitions
Manuel Nickschas [Thu, 17 Jan 2013 22:00:07 +0000 (23:00 +0100)]
Move inline keywords to the definitions

Makes the header a bit cleaner.

10 years agoRemove unused enum
Manuel Nickschas [Sat, 1 Sep 2012 21:53:12 +0000 (23:53 +0200)]
Remove unused enum

10 years agoStrip newlines from 'reason' fields in settings
Bas Pape [Tue, 25 Sep 2012 06:05:14 +0000 (08:05 +0200)]
Strip newlines from 'reason' fields in settings

These messages are sent to the server verbatim, which means anything
after a newline (which can be pasted into a QLineEdit) would be used as
a command.

10 years agoParse wallops (fixes Bug #1185)
Gryllida A [Wed, 12 Sep 2012 02:54:11 +0000 (12:24 +0930)]
Parse wallops (fixes Bug #1185)

10 years agoOnly chop \r\n instead of trimming all whitespace
Bas Pape [Tue, 4 Dec 2012 19:06:57 +0000 (20:06 +0100)]
Only chop \r\n instead of trimming all whitespace

Any whitespace in front of the protocol's \r\n is part of the message
and thus should not be trimmed. Fixes #1197

10 years agoDisplay timestamps using the application locale
Daniel Albers [Mon, 10 Dec 2012 14:33:52 +0000 (15:33 +0100)]
Display timestamps using the application locale

Reverts configuration of timestamp formats via translation files.
Formatting of timestamps and such should completely move from core to client at
some point.
Fixes #1199

10 years agoBetter time formatting by using an explicit format
Lasse Liehu [Tue, 11 Sep 2012 21:43:05 +0000 (00:43 +0300)]
Better time formatting by using an explicit format

The default format QDateTime::toString uses isn't very good
Also make it possible for translators to change the format

10 years agodrop broken Australian translation
Daniel Albers [Thu, 23 Aug 2012 14:03:25 +0000 (16:03 +0200)]
drop broken Australian translation

10 years agoUpdate translations from Transifex
Daniel Albers [Thu, 23 Aug 2012 13:59:47 +0000 (15:59 +0200)]
Update translations from Transifex

Many thanks to:
 - cs: Tomáš Chvátal <tomas.chvatal@gmail.com>
 - cs: Vit Pelcak <vit@pelcak.org>
 - da: Per Nielsen
 - el: differentreality <differentreality@gmail.com>
 - el: Theofilos Intzoglou <int.teo@gmail.com>
 - fi: Jiri Grönroos <jiri.gronroos@iki.fi>
 - fi: Larso <larso@gmx.com>
 - fr: Dorian <munto@free.fr>
 - gl: Condex <elgomaisa@gmail.com>
 - ko: Tae-Hoon KWON <zerolaunch@naver.com>
 - nl: simonphilips <simon.philips@gmail.com>
 - pl: derpella <matwa@poczta.pl>
 - ru: sfionov <fionov@gmail.com>
 - uk: Yuri Chornoivan <yurchor@ukr.net>

10 years agoFixes #1175
Marcus Eggenberger [Sat, 7 Jul 2012 10:06:08 +0000 (12:06 +0200)]
Fixes #1175

10 years agoUpdated cmake files for Mac OS X 10.6 build
Marcus Eggenberger [Sat, 7 Jul 2012 09:58:41 +0000 (11:58 +0200)]
Updated cmake files for Mac OS X 10.6 build

10 years agoFix buildsys to work without DBus
Manuel Nickschas [Sat, 7 Jul 2012 10:34:45 +0000 (12:34 +0200)]
Fix buildsys to work without DBus

10 years agopull-from-transifex.sh: pull newly added languages as well
Daniel Albers [Tue, 10 Apr 2012 19:21:17 +0000 (21:21 +0200)]
pull-from-transifex.sh: pull newly added languages as well

new file:   scripts/tx-sync.sh

10 years agosilence po/pull-from-transifex.sh
Daniel Albers [Mon, 26 Mar 2012 08:44:18 +0000 (10:44 +0200)]
silence po/pull-from-transifex.sh

10 years agoUpdate translations from Transifex
Daniel Albers [Wed, 15 Feb 2012 04:01:01 +0000 (05:01 +0100)]
Update translations from Transifex

- Add Polish and Korean translations
- Update quassel.pot (5 new messages)

Many thanks to:
 - cs: Tomáš Chvátal <tomas.chvatal@gmail.com>
 - da: Per Nielsen
 - el: differentreality <differentreality@gmail.com>, Theofilos Intzoglou <int.teo@gmail.com>
 - fr: Dorian <munto@free.fr>
 - gl: Condex <elgomaisa@gmail.com>
 - ko: Tae-Hoon KWON <zerolaunch@naver.com>
 - nl: simonphilips <simon.philips@gmail.com>
 - pl: derpella <matwa@poczta.pl>
 - ru: sfionov <fionov@gmail.com>
 - uk: Yuri Chornoivan <yurchor@ukr.net>

10 years agoadd source file type to Transifex config
Daniel Albers [Tue, 14 Feb 2012 22:52:36 +0000 (23:52 +0100)]
add source file type to Transifex config

11 years agoFix ALL the license headers!
Manuel Nickschas [Fri, 25 May 2012 15:32:38 +0000 (17:32 +0200)]
Fix ALL the license headers!

Many of our license headers had the wrong date, some of them inconsistent formatting,
all of them the wrong address for the FSF (which apparently moved since 2005), and
also neither the GNU Blank Public License nor the GNU Highlight Public License actually

11 years agoReformat ALL the source!
Manuel Nickschas [Fri, 25 May 2012 14:05:34 +0000 (16:05 +0200)]
Reformat ALL the source!

Yes, yes. After stubborningly refusing to switch to a more readable coding style for
years, I finally give in. Our old, quite compact, 2-indent style was born from my time
with homecomputers, where every whitespace was a waste. Later (and mostly thanks to EgS),
I did see the light, e.g. changed from one-letter variable names to useful ones, but
still shied away from reformatting the whole source, touching every line, destroying the
historical context as shown by svn and git blame.

However, since I'm now doing Qt-related programming as my day job, and use a proper
(Qt-like) coding style there, it has become increasingly annoying for myself to switch to
another style in those long hacking nights working on Quassel, and so I decided to
Just Do It™. Helps that Git nowadays can ignore whitespace changes when blaming, or
diffing, or patching, so this shouldn't be too much of an annoyance for existing patches.
Feedback from the community was also positive...

So now we use a style that should be pretty close to the Qt Coding Style [1], which not
only covers the indentation, but also things like newline-after-function-head.

Reformatting was done automagically using uncrustify [2], a script and config file is in
scripts/manage/. Please don't run it over the whole codebase again, as there are some
false positives and weird formattings that will have to be manually fixed over time.
You can use it for reformatting existing patches or MRs, though.

[1] http://qt-project.org/wiki/Qt_Coding_Style
[2] http://uncrustify.sourceforge.net/

11 years agoAllow the core to use expired certificates.
Felix Geyer [Tue, 27 Sep 2011 14:02:22 +0000 (16:02 +0200)]
Allow the core to use expired certificates.

The core should only display a warning but not ignore the certificate
if it's expired.
This is especially useful for self-signed certificates.

11 years agoSupport intermediate CA certificates.
Felix Geyer [Tue, 27 Sep 2011 13:49:04 +0000 (15:49 +0200)]
Support intermediate CA certificates.

The server needs to send the intermediate CA certs if the client only
has the root CA in his trusted cert pool.

The .pem cert file needs to look like this:
[key], [server cert], [intermediate CAs], [root CA]

11 years agoresolve #1145 (parse 330 in /whowas)
Gryllida A [Mon, 12 Mar 2012 11:38:45 +0000 (22:08 +1030)]
resolve #1145 (parse 330 in /whowas)

11 years agoChan -> Channel, it's just nicer in user-visible strings
Manuel Nickschas [Tue, 22 May 2012 19:12:57 +0000 (21:12 +0200)]
Chan -> Channel, it's just nicer in user-visible strings

Though that doesn't save us from the fact that the highlight edit thingy
needs a serious revamp, it's utterly fugly.

11 years agoUse QString::isEmpty() instead of size() comparsion
salnx [Tue, 9 Jun 2009 20:43:33 +0000 (00:43 +0400)]
Use QString::isEmpty() instead of size() comparsion

Signed-off-by: Bas Pape <baspape@gmail.com>
11 years agoMake Highlight table select newly added rule
salnx [Tue, 9 Jun 2009 19:54:55 +0000 (23:54 +0400)]
Make Highlight table select newly added rule

This also slightly improves usability if table contains many rows so user don't have to scroll down manually when adding rule.

Signed-off-by: Bas Pape <baspape@gmail.com>
11 years agoChange Hilight config dialog layout a bit
salnx [Tue, 9 Jun 2009 11:10:03 +0000 (15:10 +0400)]
Change Hilight config dialog layout a bit

Signed-off-by: Bas Pape <baspape@gmail.com>
11 years agoInitial Channel specific highlights feature implementation
salnx [Mon, 8 Jun 2009 12:07:55 +0000 (16:07 +0400)]
Initial Channel specific highlights feature implementation

Signed-off-by: Bas Pape <baspape@gmail.com>
11 years agoAdd halfop support
Sebastian Goth [Fri, 17 Feb 2012 00:07:24 +0000 (01:07 +0100)]
Add halfop support

Provides /HALFOP, /DEHALFOP and context menus.
Reuses "voiced" icons.

Fixes #1138

11 years agoRemove bundled FindPackageHandleStandardArgs.cmake
Manuel Nickschas [Tue, 22 May 2012 15:57:24 +0000 (17:57 +0200)]
Remove bundled FindPackageHandleStandardArgs.cmake

This unnecessarily introduced a dependency to cmake-2.8.3, and we don't require
the extra features present in the bundled (KDE) version. Let's hope that CMake started
to ship this functionality sufficiently early, so we can rely on the system version.

11 years agoProvide (de)serialization for all event types
Manuel Nickschas [Mon, 21 May 2012 21:30:56 +0000 (23:30 +0200)]
Provide (de)serialization for all event types

This allows to (de)serialize events to/from QVariantMap (using only primitive
types), a prerequisite for sending events over the wire.

Use the following functions:

void EventManager::createEvent(const QVariantMap &)
QVariantMap Event::toVariantMap()

Note that there is only rudimentary plausibility checking, so for now we assume
that the QVariantMaps are created by Quassel. Before we allow these to go on the wire,
we need to make sure that this can't be tinkered with in annoying ways.

11 years agoCMake tweak so Creator sees the moc'd headers
Manuel Nickschas [Mon, 21 May 2012 21:28:04 +0000 (23:28 +0200)]
CMake tweak so Creator sees the moc'd headers

11 years agoMake the EventType meta enum and related accessors static
Manuel Nickschas [Sat, 17 Mar 2012 13:50:55 +0000 (14:50 +0100)]
Make the EventType meta enum and related accessors static

That way, we can use methods like eventTypeByName() without having an object

11 years agoadd tooltip to chatview timestamp setting
Daniel Albers [Thu, 19 Apr 2012 18:38:28 +0000 (20:38 +0200)]
add tooltip to chatview timestamp setting

11 years agoFix build error if QCA2 isn't around
Manuel Nickschas [Sun, 1 Apr 2012 23:13:30 +0000 (01:13 +0200)]
Fix build error if QCA2 isn't around

11 years agoBump inxi script to 1.7.31
Manuel Nickschas [Sun, 1 Apr 2012 22:59:43 +0000 (00:59 +0200)]
Bump inxi script to 1.7.31

11 years agoAdd QT_MIN_VERSION to the find_package call for Qt4
Manuel Nickschas [Sun, 1 Apr 2012 22:48:35 +0000 (00:48 +0200)]
Add QT_MIN_VERSION to the find_package call for Qt4

11 years agoAdd doc/README.Qt5 for some basic information
Manuel Nickschas [Sun, 1 Apr 2012 22:22:46 +0000 (00:22 +0200)]
Add doc/README.Qt5 for some basic information

11 years agoBump bundled cmake files
Manuel Nickschas [Sun, 1 Apr 2012 22:05:47 +0000 (00:05 +0200)]
Bump bundled cmake files

Mostly from KDE, plus a few fixes/modifications of our own.

11 years agoRemove our own shipped FindQt4.cmake and friends
Manuel Nickschas [Sun, 1 Apr 2012 21:17:34 +0000 (23:17 +0200)]
Remove our own shipped FindQt4.cmake and friends

In suitable recent CMake versions, the system scripts should be capable enough
so we don't need our old hacks anymore. We now work around the fact that lconvert isn't
being looked for, and the X11 headers problem doesn't seem to be an issue anymore.

11 years agoAdd support for finding lconvert to our own buildsystem
Manuel Nickschas [Sun, 1 Apr 2012 21:00:09 +0000 (23:00 +0200)]
Add support for finding lconvert to our own buildsystem

Since neither Qt4 nor Qt5 seem to deem lconvert a relevant binary, their cmake fu does
not look for lconvert. Rather than shipping rapidly outdating copies of FindQt4.cmake or the
Qt5 equivalents, let's rather guess the location of lconvert based on the other tools.

11 years agoAdd support for Qt5 in the build system
Manuel Nickschas [Fri, 30 Mar 2012 23:17:14 +0000 (01:17 +0200)]
Add support for Qt5 in the build system

Support for building against Qt5 can now be enabled by passing -DWITH_QT5=1 to CMake.
Note that your Qt5 installation (the qmake location) needs to be in your PATH, unless
it's already in one of the standard system locations.

Needless to say that Qt5 support in Quassel is highly experimental, though surprisingly
it seems to work mostly fine already. A README.Qt5 with known issues is forthcoming.

As a side effect, I've cleaned up the build system a bit and got rid of QT_USE_FILE and the related
fugly hacks for Qt4 (so that the -I and -D options now actually match the modules we're building

11 years agoAdd (pretty empty) cpp files for abstract classes to make automoc work
Manuel Nickschas [Fri, 30 Mar 2012 23:23:45 +0000 (01:23 +0200)]
Add (pretty empty) cpp files for abstract classes to make automoc work

Without an implementation file, automoc will lead to linker errors.

11 years agoFix includes
Manuel Nickschas [Sun, 1 Apr 2012 21:03:41 +0000 (23:03 +0200)]
Fix includes

Using the <QtCore> and <QtGui> includes is bad, because it introduces unnecessary slowness during
compilation; also, Qt5 moved some stuff around (e.g. from QtGui to QtWidgets).

So remove these, and add the proper #includes where needed instead.

11 years agoProperly handle QGenericReturnArgument
Manuel Nickschas [Tue, 27 Mar 2012 20:04:03 +0000 (22:04 +0200)]
Properly handle QGenericReturnArgument

Using the memory address of the QVariant that acts as buffer is bad. While we got
lucky with Qt4, and this worked by accident, it leads to subtle and not-so-subtle segfaults
when used with Qt5.

Instead, using QVariant::data() makes sure that implicitly shared data is properly detached.

11 years agoProperly register the Network::ConnectionState enum
Manuel Nickschas [Tue, 27 Mar 2012 20:02:21 +0000 (22:02 +0200)]
Properly register the Network::ConnectionState enum

The Q_ENUMS declaration was, uhm, creative, and additionally Q_ENUMS are automatically
registered with the QMetaType system, so no need for registering them again. Actually,
while this somehow works in Qt4, Qt5 barfs with an assert.

11 years agoOnly show notifications for buffers, which are part of a chatlist currently in use
Marcus Eggenberger [Thu, 22 Mar 2012 13:54:23 +0000 (14:54 +0100)]
Only show notifications for buffers, which are part of a chatlist currently in use

11 years agoPost-branch version bump 0.9-pre
Manuel Nickschas [Tue, 20 Mar 2012 20:48:06 +0000 (21:48 +0100)]
Post-branch version bump

11 years agoBump version.inc for release 0.8.0
Manuel Nickschas [Tue, 20 Mar 2012 20:39:20 +0000 (21:39 +0100)]
Bump version.inc for release

11 years agoFix output for a bunch of numeric server replies
Manuel Nickschas [Mon, 19 Mar 2012 21:56:31 +0000 (22:56 +0100)]
Fix output for a bunch of numeric server replies

First of all, takeFirst() does not work on a const ref *cough*. And second, we should
not reorder the param in the message like we did before purely for prettyness;
some servers seem to send non-standard strings that then look awkward. Instead,
let's just add a colon after the first param.

11 years agoMinor fixes to the build scripts for MSVC debug builds, and added debug library suppo...
Chris Moeller [Thu, 19 Jan 2012 22:18:31 +0000 (14:18 -0800)]
Minor fixes to the build scripts for MSVC debug builds, and added debug library support to the Phonon and QCA2 scripts.

11 years agouse CMAKE_DL_LIBS
Rolf Eike Beer [Wed, 29 Feb 2012 21:54:30 +0000 (22:54 +0100)]

CMake provides a standard variable that holds the name of the library that
contains dlopen().

Signed-off-by: Bas Pape <baspape@gmail.com>
11 years agodon't use umask on Windows
Daniel Albers [Mon, 27 Feb 2012 22:00:14 +0000 (23:00 +0100)]
don't use umask on Windows

Fixes #1139

11 years agoInclude CheckFunctionExists explicitly
Manuel Nickschas [Mon, 27 Feb 2012 21:33:47 +0000 (22:33 +0100)]
Include CheckFunctionExists explicitly

Seems to be included transitively not in all configurations.

Also fix capitalization of the call to adhere to our cmake style.

11 years agolet CMake check for umask()
Daniel Albers [Wed, 22 Feb 2012 00:40:00 +0000 (01:40 +0100)]
let CMake check for umask()

Fixes #1139

11 years agoBump version.inc for release 0.8-rc1
Manuel Nickschas [Tue, 21 Feb 2012 22:15:41 +0000 (23:15 +0100)]
Bump version.inc for release

11 years agoUpdate AboutDlg
Manuel Nickschas [Tue, 21 Feb 2012 22:13:17 +0000 (23:13 +0100)]
Update AboutDlg

11 years agoAlso fix the icon naming in hicolor.qrc
Manuel Nickschas [Mon, 20 Feb 2012 01:24:27 +0000 (02:24 +0100)]
Also fix the icon naming in hicolor.qrc

One remark concerning this naming change: in order to fix the new monochrome tray icon stuff
in >= KDE 4.8, not only the icon naming spec fix in Quassel is needed, but also the desktop themes
need to be fixed (so their quassel.svgz contains the changed filenames). This is in upstream kde-runtime,
but at this time not backported to KDE 4.8.

Thanks to Kai Uwe Broulik for pointing me to the reason for the broken icons and committing the
needed changes to kde-runtime.

11 years agoBump bundled oxygen icons
Manuel Nickschas [Mon, 20 Feb 2012 01:00:57 +0000 (02:00 +0100)]
Bump bundled oxygen icons

11 years agoRename the icons for inactive and alerted to conform with icon naming spec
Manuel Nickschas [Mon, 20 Feb 2012 00:51:12 +0000 (01:51 +0100)]
Rename the icons for inactive and alerted to conform with icon naming spec

Dashes are used for level separation, so icon theme engines like Plasma's know to look into
quassel.svgz if asked to provide the quassel-message icon. This fallback mechanism doesn't
work when using quassel_mnessage instead, and thus breaks the rather new Air desktop theme.

11 years agoBump version.inc for release 0.8-beta1
Manuel Nickschas [Tue, 14 Feb 2012 22:01:01 +0000 (23:01 +0100)]
Bump version.inc for release

11 years agoupdate quassel.pot
Daniel Albers [Tue, 14 Feb 2012 21:52:13 +0000 (22:52 +0100)]
update quassel.pot

11 years agoUpdate translations from Transifex
Daniel Albers [Wed, 1 Feb 2012 21:33:15 +0000 (22:33 +0100)]
Update translations from Transifex

Many thanks to:
 - cs: Tomáš Chvátal <tomas.chvatal@gmail.com>
 - el: differentreality <differentreality@gmail.com>, <warlordfff@gmail.com>, Theofilos Intzoglou <int.teo@gmail.com>, <tampakrap@gmail.com>
 - nl: Simon Philips <simon.philips@gmail.com>

11 years agopull-from-transifex.sh: always attribute Last-Translator
Daniel Albers [Mon, 6 Feb 2012 16:23:25 +0000 (17:23 +0100)]
pull-from-transifex.sh: always attribute Last-Translator

11 years agobump © years
Daniel Albers [Wed, 1 Feb 2012 21:35:34 +0000 (22:35 +0100)]
bump © years

11 years agopull-from-transifex.sh: support multiple translators
Daniel Albers [Tue, 31 Jan 2012 00:34:26 +0000 (01:34 +0100)]
pull-from-transifex.sh: support multiple translators

11 years agoChange shortcut for hiding the current buffer to a standard keysequence
Manuel Nickschas [Tue, 14 Feb 2012 21:05:35 +0000 (22:05 +0100)]
Change shortcut for hiding the current buffer to a standard keysequence

Ctrl+W is QKeySequence::Close, so use this to get the default key on weird platforms too.

11 years agoAdd a shortcut for hiding current buffer.
Chris Le Sueur [Tue, 2 Aug 2011 16:10:34 +0000 (17:10 +0100)]
Add a shortcut for hiding current buffer.

11 years agosimplifying workaround for missing nickitems... especially getting rid of old workaround
Marcus Eggenberger [Mon, 13 Feb 2012 17:40:51 +0000 (18:40 +0100)]
simplifying workaround for missing nickitems... especially getting rid of old workaround

11 years agoCleanups
Manuel Nickschas [Mon, 13 Feb 2012 19:52:25 +0000 (20:52 +0100)]

11 years agooidentd code cleanup
Daniel Albers [Sun, 12 Feb 2012 21:39:39 +0000 (22:39 +0100)]
oidentd code cleanup

11 years agofix OidentdConfigGenerator includes
Daniel Albers [Sun, 12 Feb 2012 21:22:06 +0000 (22:22 +0100)]
fix OidentdConfigGenerator includes

11 years agosynchronously call OidentdConfigGenerator
Daniel Albers [Thu, 9 Feb 2012 20:02:01 +0000 (21:02 +0100)]
synchronously call OidentdConfigGenerator

11 years agomake oidentd config world readable by default
Daniel Albers [Wed, 8 Feb 2012 22:22:23 +0000 (23:22 +0100)]
make oidentd config world readable by default

and add some documentation

11 years agooidentd config parsing + implicit mutexes
Daniel Albers [Wed, 8 Feb 2012 21:00:42 +0000 (22:00 +0100)]
oidentd config parsing + implicit mutexes

- separate parsed config from Quassel's .oidentd.conf lines
- move mutexes to parse/writeConfig

11 years agoOidentdConfigGen: remove qDebug()s
Daniel Albers [Thu, 9 Feb 2012 22:45:30 +0000 (23:45 +0100)]
OidentdConfigGen: remove qDebug()s

11 years agoOidentdConfigGen: cleaning up & comments
Daniel Albers [Wed, 8 Feb 2012 01:10:20 +0000 (02:10 +0100)]
OidentdConfigGen: cleaning up & comments

11 years agoproperly rewind oidentd config file
Daniel Albers [Wed, 8 Feb 2012 00:45:00 +0000 (01:45 +0100)]
properly rewind oidentd config file

11 years agoOidentdConfigGen: tweak signals, names and stuff
Daniel Albers [Wed, 8 Feb 2012 00:23:36 +0000 (01:23 +0100)]
OidentdConfigGen: tweak signals, names and stuff

11 years agoadd oidentd cli options to quasselcore
Daniel Albers [Tue, 7 Feb 2012 23:07:59 +0000 (00:07 +0100)]
add oidentd cli options to quasselcore

     --oidentd                              Enable oidentd integration
     --oidentd-conffile=[OIDENTD-CONFFILE]  change path to oidentd configuration file

11 years agoSort cli options in --help output
Daniel Albers [Tue, 7 Feb 2012 22:53:43 +0000 (23:53 +0100)]
Sort cli options in --help output

Since QHash doesn't offer sorting, replace CliParser's QHash argsHash with
a QMap.
This only affects our own cliParser, i. e. only executables without KDE

11 years agofirst working version of oidentd support - broken, WIP
Daniel Albers [Mon, 6 Feb 2012 23:43:48 +0000 (00:43 +0100)]
first working version of oidentd support - broken, WIP

11 years agooidentd support - WIP
Daniel Albers [Mon, 6 Feb 2012 01:28:56 +0000 (02:28 +0100)]
oidentd support - WIP

11 years ago--typos
Daniel Albers [Sun, 5 Feb 2012 15:58:57 +0000 (16:58 +0100)]

11 years agomake socket connection details available in CoreNetwork
Daniel Albers [Sun, 5 Feb 2012 15:58:35 +0000 (16:58 +0100)]
make socket connection details available in CoreNetwork

11 years agoallow automatic client reconnect to be < 30s
Daniel Albers [Tue, 7 Feb 2012 13:27:14 +0000 (14:27 +0100)]
allow automatic client reconnect to be < 30s

11 years agofix core output when using neither syslog nor logfile
Daniel Albers [Sun, 5 Feb 2012 22:11:30 +0000 (23:11 +0100)]
fix core output when using neither syslog nor logfile

11 years agoChanged Buffer-switching behaviour so that it changes between networks as well as...
Chris Le Sueur [Wed, 3 Aug 2011 01:16:27 +0000 (02:16 +0100)]
Changed Buffer-switching behaviour so that it changes between networks as well as channels

11 years agoFix tabcompletion with added space mid-sentence
Manuel Nickschas [Fri, 3 Feb 2012 14:42:44 +0000 (15:42 +0100)]
Fix tabcompletion with added space mid-sentence

11 years agoWork around problems in QTreeView when using Qt 4.8
Manuel Nickschas [Fri, 3 Feb 2012 12:04:08 +0000 (13:04 +0100)]
Work around problems in QTreeView when using Qt 4.8

Looks like having animated QTreeViews lead to problems with rendering nested trees.
This affects both the NickView and BufferView. Maybe it's something in our code,
but looks like simply disabling animations for Qt >= 4.8 does the trick as well...

11 years agoDon't log to stdout if --syslog and/or --logfile are specified
Manuel Nickschas [Sun, 29 Jan 2012 23:23:37 +0000 (00:23 +0100)]
Don't log to stdout if --syslog and/or --logfile are specified

11 years agoDon't ask for the syslog option if we don't have syslog support compiled in
Manuel Nickschas [Sun, 29 Jan 2012 23:18:45 +0000 (00:18 +0100)]
Don't ask for the syslog option if we don't have syslog support compiled in

11 years agoAdd checks for the right amount of parameters to random IRC events, found by ircfuzz.c.
Martin Sandsmark [Thu, 26 Jan 2012 23:08:12 +0000 (00:08 +0100)]
Add checks for the right amount of parameters to random IRC events, found by ircfuzz.c.

Fixes #1136.

11 years agoBring Quassel to front on tray icon click
Manuel Nickschas [Sun, 29 Jan 2012 22:49:56 +0000 (23:49 +0100)]
Bring Quassel to front on tray icon click

When the quassel window is below other windows it would be nice to have it raised on top of
the others when clicking on the system tray icon. Now it is just hidden and you have to click
on it once more to get it to the top.

Fixes #1135. Thanks to parapente for the patch!

11 years agofix plurals in some translations and a typo in ChannelListDlg
Daniel Albers [Tue, 24 Jan 2012 16:04:01 +0000 (17:04 +0100)]
fix plurals in some translations and a typo in ChannelListDlg

11 years agoproper plurals for en_US
Daniel Albers [Tue, 24 Jan 2012 14:55:18 +0000 (15:55 +0100)]
proper plurals for en_US

11 years agostop lconvert from complaining about plurals
Daniel Albers [Mon, 23 Jan 2012 23:50:54 +0000 (00:50 +0100)]
stop lconvert from complaining about plurals

Weird issue. lconvert of Qt 4.7.4 complains when:

 a) … there are msgstr[x] with x > nplurals=y, i. e. translations for
    more plural forms than the language actually has.
    Understandable, so we remove redundant plurals with black voodoo:
      for pofile in *.po; do
        IFS='=' read var plurals \
          < <(egrep -o 'nplurals=[[:digit:]]+' $pofile);
        maxplural=$(egrep -o 'msgstr\[[[:digit:]]+\]' $pofile |
                    egrep -o '[[:digit:]]+' | sort -rn | head -n 1);
        for ((i=$plurals; i<=$maxplural; i++)); do
          sed -i -re "/^msgstr\[$i\]/d;" $pofile;

 b) … the .po path contains a '/'.
    Huh? Yeah.
    `lconvert -i xy.po …` is fine.
    `lconvert -i ./xy.po …` produces an error.

    So we're running lconvert from ${CMAKE_SOURCE_DIR}/po now.

11 years agomark some strings untranslatable
Daniel Albers [Mon, 23 Jan 2012 22:16:16 +0000 (23:16 +0100)]
mark some strings untranslatable

11 years agoSASL ≠ SSL
Daniel Albers [Mon, 23 Jan 2012 22:14:01 +0000 (23:14 +0100)]

11 years agoadd proper msgctxts to all translations
Daniel Albers [Mon, 23 Jan 2012 20:44:00 +0000 (21:44 +0100)]
add proper msgctxts to all translations

+ various minor fixes to make gettext and Transifex happy