quassel.git
13 years agol10n: Updated French (fr) translation to 100%
Bruno_Patri [Fri, 17 Sep 2010 07:17:05 +0000 (07:17 +0000)]
l10n: Updated French (fr) translation to 100%

New status: 930 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agoinxi bumping: 1.4.15
Johannes Huber [Wed, 22 Sep 2010 18:45:34 +0000 (20:45 +0200)]
inxi bumping: 1.4.15

13 years agoadd placeholder to tr message
Johannes Huber [Tue, 14 Sep 2010 23:28:39 +0000 (01:28 +0200)]
add placeholder to tr message

13 years agoFixing issues with multiple CTCP requests in one message
Marcus Eggenberger [Sun, 5 Sep 2010 19:41:19 +0000 (21:41 +0200)]
Fixing issues with multiple CTCP requests in one message

 If we receive multiple CTCP requests in one PRIVMSG we now answer with
 one packed NOTICE containing all CTCP replies. This fixes a possible
 DoS Attack rendering Quassels IRC connection useless. Upgrading is
 strongly recommended. Thanks to Jima for reporting and supporting.

13 years agoProperly reject invalid handshake data
Manuel Nickschas [Tue, 21 Sep 2010 06:46:55 +0000 (08:46 +0200)]
Properly reject invalid handshake data

Currently, if a client attempts to configure a core's storage backend
even though it is already configured, the core will ignore the attempt
silently (e.g. the existing storage backends will simply drop the request,
but the client also won't receive an error message). This can never happen
unless you use an alternative client with a buggy handshake sequence though,
since quasselclient checks if the core is already configured beforehand.

Nonetheless, it makes sense to properly error out from the core side, just in case
we're getting new storage backends in the future that don't properly check this,
or alternative clients which might be confused by not receiving an error when they should.

Thanks to JodaZ for pointing this out.

13 years agoUpdate ChangeLog
Manuel Nickschas [Tue, 14 Sep 2010 17:34:39 +0000 (19:34 +0200)]
Update ChangeLog

13 years agoUnbreak ru.po again. Maybe. Hopefully. Meh
Manuel Nickschas [Tue, 14 Sep 2010 17:30:36 +0000 (19:30 +0200)]
Unbreak ru.po again. Maybe. Hopefully. Meh

13 years agol10n: First upload of the Galician translation file.
Condex [Sun, 5 Sep 2010 22:34:10 +0000 (22:34 +0000)]
l10n: First upload of the Galician translation file.

New status: 712 messages complete with 4 fuzzies and 214 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated English (United Kingdom) (en_GB) translation to 100%
johu [Thu, 9 Sep 2010 23:16:53 +0000 (23:16 +0000)]
l10n: Updated English (United Kingdom) (en_GB) translation to 100%

New status: 930 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Italian (it) translation to 98%
johu [Thu, 9 Sep 2010 22:02:53 +0000 (22:02 +0000)]
l10n: Updated Italian (it) translation to 98%

New status: 919 messages complete with 2 fuzzies and 9 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agoLaunchpad automatic translations update.
Launchpad Code Hosting [Wed, 8 Sep 2010 05:07:29 +0000 (05:07 +0000)]
Launchpad automatic translations update.

13 years agoCompletely unbreak ru.po
Daniel Albers [Wed, 8 Sep 2010 18:43:05 +0000 (20:43 +0200)]
Completely unbreak ru.po

13 years agoRevert "Revert "update Russian translation from 0.6""
Daniel Albers [Wed, 8 Sep 2010 18:34:16 +0000 (20:34 +0200)]
Revert "Revert "update Russian translation from 0.6""

This reverts commit 209b670b1a6c3f83ea06c7dc2f389c6e1f6b039c.

13 years agoLaunchpad automatic translations update.
Launchpad Code Hosting [Fri, 3 Sep 2010 04:09:51 +0000 (05:09 +0100)]
Launchpad automatic translations update.

13 years agol10n: Updated Japanese (ja) translation to 45%
Daniel E. Moctezuma [Sun, 5 Sep 2010 02:00:39 +0000 (02:00 +0000)]
l10n: Updated Japanese (ja) translation to 45%

New status: 421 messages complete with 43 fuzzies and 466 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated French (fr) translation to 100%
Bruno_Patri [Sat, 4 Sep 2010 17:04:52 +0000 (17:04 +0000)]
l10n: Updated French (fr) translation to 100%

New status: 930 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Slovenian (sl) translation to 99%
Jure Repinc [Fri, 3 Sep 2010 21:24:39 +0000 (21:24 +0000)]
l10n: Updated Slovenian (sl) translation to 99%

New status: 923 messages complete with 0 fuzzies and 7 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Ukrainian (uk) translation to 100%
Yuri Chornoivan [Thu, 19 Aug 2010 19:06:28 +0000 (19:06 +0000)]
l10n: Updated Ukrainian (uk) translation to 100%

New status: 930 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agotranslate string, fixes #1019
Johannes Huber [Wed, 25 Aug 2010 20:15:37 +0000 (22:15 +0200)]
translate string, fixes #1019

13 years agoCheck if the notifications client supports actions
Manuel Nickschas [Sun, 5 Sep 2010 10:04:37 +0000 (12:04 +0200)]
Check if the notifications client supports actions

Ubuntu's notification system doesn't support actions and shows fugly popups
in case apps still define them. So we check for the capability and disable actions
if they're not supported.

Needless to mention that the Quassel team heartily recommends using a notification daemon
that is action-enabled for added value.

13 years agoFix license for statusnotifieritem*
Manuel Nickschas [Fri, 27 Aug 2010 07:52:47 +0000 (09:52 +0200)]
Fix license for statusnotifieritem*

kdelibs are LGPL 2+, so our derivations should be appropriately licensed.

13 years agoStatusNotifierItem ("D-Bus tray icon") improvements
Manuel Nickschas [Fri, 27 Aug 2010 07:40:19 +0000 (09:40 +0200)]
StatusNotifierItem ("D-Bus tray icon") improvements

* Get rid of the serviceOwnerChange() deprecation warning in Qt >= 4.6
* Fix behavior when the StatusNotifierHost (dis)appears. Thanks to notmart for
  fixing this in KDE as well; note that older versions of KDE's SNWatcher won't signal
  when the host goes away, so Quassel won't go into legacy mode!
* Fix hiding of the tray icon in StatusNotifier mode. No more restarting needed.

13 years agoPost-branch version bump 0.8-pre
Manuel Nickschas [Wed, 25 Aug 2010 10:35:53 +0000 (12:35 +0200)]
Post-branch version bump

13 years agoBump version.inc for release 0.7-rc1
Manuel Nickschas [Wed, 25 Aug 2010 09:55:23 +0000 (11:55 +0200)]
Bump version.inc for release

13 years agoRevert "update Russian translation from 0.6"
Manuel Nickschas [Wed, 25 Aug 2010 10:05:51 +0000 (12:05 +0200)]
Revert "update Russian translation from 0.6"

File completely broken.

This reverts commit b81afcbc8cc0f14e38ce828c9fe5cf11aad81b48.

13 years agoupdate Russian translation from 0.6
Daniel Albers [Thu, 19 Aug 2010 18:51:36 +0000 (20:51 +0200)]
update Russian translation from 0.6

13 years agofix translations translating SASL with SSL
Daniel Albers [Thu, 19 Aug 2010 18:38:59 +0000 (20:38 +0200)]
fix translations translating SASL with SSL

13 years agomake quasselcore listen on IPv6 if available
Daniel Albers [Tue, 17 Aug 2010 20:03:30 +0000 (22:03 +0200)]
make quasselcore listen on IPv6 if available

On most TCP/IP stacks creating a IPv6 listen socket will also allow IPv4
connectivity via IPv4-Mapped IPv6 Addresses. Notable exceptions are
NetBSD and OpenBSD.
Due to these exceptions a successful IPv6 bind() doesn't guarantee IPv4
connectivity, so we still have to try both.
The former implementation did this too, just in the wrong order.

13 years agohandler for RPL_WHOISACCOUNT(330), fixes #210
Johannes Huber [Fri, 13 Aug 2010 13:08:32 +0000 (15:08 +0200)]
handler for RPL_WHOISACCOUNT(330), fixes #210
we handled it already in default case for numeric replies, but the
output for 330 was not well formed (see bug request).

13 years agoChange the attention icon to include the globe again
Manuel Nickschas [Wed, 25 Aug 2010 07:52:56 +0000 (09:52 +0200)]
Change the attention icon to include the globe again

Let's see if the Burning Ring of Fire ™ looks better with the globe...

Still need to finetune the scaled icons a bit later.

13 years agoAdd support for dbusmenu
Manuel Nickschas [Tue, 24 Aug 2010 07:22:44 +0000 (09:22 +0200)]
Add support for dbusmenu

If libdbusmenu-qt is present, Quassel should now export the tray menu via D-Bus.
Note that I could not test this as my KDE doesn't seem to care about dbusmenu here...
Note also that icons in the tray menu won't be displayed for now.

This also adds the new IconThemePath() method for the StatusNotifier.

13 years agoBuildsystem tweaks
Manuel Nickschas [Thu, 19 Aug 2010 08:49:52 +0000 (10:49 +0200)]
Buildsystem tweaks

* Improve PkgConfig support. Warn if it's not available (might lead to other
  libs not being found, such as QCA or libindicate!)
* Don't check for deps that are unnecessary for the selected build modes (fixes #592)
* Bundle some missing cmake files from KDE

13 years agoBump Oxygen icons and add missing ones
Manuel Nickschas [Mon, 16 Aug 2010 08:40:29 +0000 (10:40 +0200)]
Bump Oxygen icons and add missing ones

13 years agoFix up fullscreen action
Manuel Nickschas [Mon, 16 Aug 2010 08:38:09 +0000 (10:38 +0200)]
Fix up fullscreen action

* Use the appropriate KStandardAction for KDEified Quassel
* Use proper icon naming ("view-fullscreen")
* Make it a toggle action

13 years agobring cs back up to 100%
Tomáš Chvátal [Sat, 14 Aug 2010 22:51:18 +0000 (00:51 +0200)]
bring cs back up to 100%

13 years agowrite correct version in mac-bundle;
Martin Mayer [Wed, 11 Aug 2010 21:20:37 +0000 (23:20 +0200)]
write correct version in mac-bundle;
fixes #833

13 years agoLaunchpad translations sync
Daniel Albers [Wed, 11 Aug 2010 22:13:11 +0000 (00:13 +0200)]
Launchpad translations sync

13 years agoUpdate quassel.pot
Daniel Albers [Wed, 11 Aug 2010 21:25:33 +0000 (23:25 +0200)]
Update quassel.pot

13 years agol10n: Updated Japanese (ja) translation to 47%
democtezuma [Tue, 8 Jun 2010 04:03:43 +0000 (04:03 +0000)]
l10n: Updated Japanese (ja) translation to 47%

New status: 410 messages complete with 28 fuzzies and 422 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Greek (el) translation to 6%
Stefanos Sofroniou [Fri, 18 Jun 2010 09:15:57 +0000 (09:15 +0000)]
l10n: Updated Greek (el) translation to 6%

New status: 59 messages complete with 10 fuzzies and 791 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updates to Turkish (tr) translation
H. İbrahim Güngör [Fri, 21 May 2010 08:31:41 +0000 (08:31 +0000)]
l10n: Updates to Turkish (tr) translation

New status: 619 messages complete with 0 fuzzies and 241 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agoBump version.inc for release
Manuel Nickschas [Wed, 11 Aug 2010 16:20:59 +0000 (18:20 +0200)]
Bump version.inc for release

Unfortunately post-tag because I forgot to commit. Meh.

13 years agoFixed code duplication 0.7-beta1
Bas Pape [Wed, 11 Aug 2010 15:48:06 +0000 (17:48 +0200)]
Fixed code duplication

13 years agoParse idle and signon time when there is no IrcUser, fixes #1008
Bas Pape [Tue, 27 Jul 2010 15:31:46 +0000 (17:31 +0200)]
Parse idle and signon time when there is no IrcUser, fixes #1008

13 years agoJapanese is ja, not jp
Manuel Nickschas [Wed, 11 Aug 2010 15:52:35 +0000 (17:52 +0200)]
Japanese is ja, not jp

13 years agoupdate Italian translations
Marco Paolone [Thu, 1 Jul 2010 12:56:38 +0000 (14:56 +0200)]
update Italian translations

13 years agoUpdate ChangeLog
Manuel Nickschas [Wed, 11 Aug 2010 15:39:36 +0000 (17:39 +0200)]
Update ChangeLog

13 years agoFixed highlighting of buffers caused by ignored messages.
Jaak Ristioja [Sat, 19 Jun 2010 20:06:29 +0000 (23:06 +0300)]
Fixed highlighting of buffers caused by ignored messages.

13 years agonew handler for ctcp clientinfo, fixes #1012
Johannes Huber [Wed, 11 Aug 2010 06:48:23 +0000 (08:48 +0200)]
new handler for ctcp clientinfo, fixes #1012

- added new handler for ctcp clientinfo
- replaced contextmenu ctcp finger command with clientinfo
- finger contextmenu action was not working, no handler is implemented
  for this

13 years agoimproved ctcp handler method, fixes #1011
Johannes Huber [Wed, 11 Aug 2010 01:19:38 +0000 (03:19 +0200)]
improved ctcp handler method, fixes #1011
do not add space in ctcp handler method pack if message is empty

13 years ago applied patch for stylesheet update, fixes #1000
Johannes Huber [Fri, 6 Aug 2010 02:03:22 +0000 (04:03 +0200)]
 applied patch for stylesheet update, fixes #1000

13 years agoRemove deprecated manageusers.py script
Manuel Nickschas [Wed, 11 Aug 2010 14:34:10 +0000 (16:34 +0200)]
Remove deprecated manageusers.py script

Use quasselcore --adduser and friends instead.

13 years agoForce parsing of PREFIX in RPL_ISUPPORT. Fixes #936
Hendrik Leppkes [Tue, 27 Jul 2010 13:50:33 +0000 (15:50 +0200)]
Force parsing of PREFIX in RPL_ISUPPORT. Fixes #936

In some cases the automatic parsing of PREFIX was actually
triggered before RPL_ISUPPORT was actually received. In this case
the internal prefix configuration would only contain the default
modes, and not the network specific modes, which would cause
custom modes to be ignored completly.

This patch forces the parsing of PREFIX directly after RPL_ISUPPORT
was received, and the data is available.

13 years agoFix host shown for whois when IrcUser didn't exist
Bas Pape [Tue, 29 Jun 2010 22:03:10 +0000 (00:03 +0200)]
Fix host shown for whois when IrcUser didn't exist

13 years agoprint sql queries when running core in debug mode
Daniel Albers [Wed, 16 Jun 2010 21:39:48 +0000 (23:39 +0200)]
print sql queries when running core in debug mode

13 years agosynced WindowID with KDE/kdelibs/kdeui/notifications/kstatusnotifieritemdbus_p.cpp...
Patrick von Reth [Fri, 14 May 2010 07:18:33 +0000 (09:18 +0200)]
synced WindowID with KDE/kdelibs/kdeui/notifications/kstatusnotifieritemdbus_p.cpp, now building with kde support is possible with mingw w64

13 years agoRethink buffer preselection
Sebastian Goth [Fri, 9 Jul 2010 13:37:09 +0000 (15:37 +0200)]
Rethink buffer preselection

As automatic buffer selection on startup clears the activity,
this will hopefully be the best solution without another clientsetting..

All versions will select the statusbuffer of a connecting network if
no valid buffer is currently selected.

Monolithic version will always start with the last selected buffer.
There is just no activity until next start.

Client will now only preselect the last buffer if the connection was not
closed by the user.
If the connection was closed manually or after fresh client start,
the statusbuffer of some connected network will be shown.

13 years agoFix buffer preselection on reconnect
Sebastian Goth [Fri, 9 Jul 2010 08:10:39 +0000 (10:10 +0200)]
Fix buffer preselection on reconnect

Removes restriction on valid buffers in AbstractBufferContainer to
be able to clear buffer selection.

13 years agoShow the active icon in tray menu
Alexander Stein [Thu, 1 Jul 2010 16:07:52 +0000 (18:07 +0200)]
Show the active icon in tray menu

13 years agonew handler for RPL_INVITING 341, fixes #1007
Johannes Huber [Tue, 27 Jul 2010 02:12:49 +0000 (04:12 +0200)]
new handler for RPL_INVITING 341, fixes #1007

13 years agohandle incoming invite, fixes #961
Johannes Huber [Fri, 7 May 2010 11:43:38 +0000 (13:43 +0200)]
handle incoming invite, fixes #961

13 years agointroduce fullscreen mode, fixes #803
Johannes Huber [Wed, 4 Aug 2010 23:11:46 +0000 (01:11 +0200)]
introduce fullscreen mode, fixes #803

13 years agoAdd rudimentary keyboard navigation for previous/next buffer
Manuel Nickschas [Thu, 5 Aug 2010 19:44:25 +0000 (21:44 +0200)]
Add rudimentary keyboard navigation for previous/next buffer

Default keys are Alt+Up/Down to navigate through the channels in the bufferview
marked as active (indicated by a dot in the view name). The active view
can be changed with Alt+Left/Right and/or the Forward/Back keys depending on the
platform.

13 years agoNo longer disable the input widget for inactive buffers
Manuel Nickschas [Thu, 5 Aug 2010 19:34:15 +0000 (21:34 +0200)]
No longer disable the input widget for inactive buffers

Some users need or want to be able to enter text even in inactive buffers, so
don't stop them from doing so, other clients don't either.

Also, disabling the input line seems to eat global QAction shortcuts for some bizarr
reason (even though the MainWin is marked as focusWidget, it doesn't receive any keypresses
when the input line is disabled).

Fixes #462.

13 years agoSave/restore active bufferview
Manuel Nickschas [Wed, 21 Jul 2010 07:02:43 +0000 (09:02 +0200)]
Save/restore active bufferview

13 years agoIntroduce the concept of an "active" bufferview
Manuel Nickschas [Tue, 20 Jul 2010 07:04:51 +0000 (09:04 +0200)]
Introduce the concept of an "active" bufferview

For things like keyboard navigation, we need to mark a given bufferview as the active
one, so concepts like "next/previous channel" have something to refer to. We now mark
the active bufferview by a little dot. The user can switch through the visible views
using the "Forward" and "Back" standard keys, which usually map to Alt + Right/Left.

No (re)storing of the active view yet.

13 years agoRework message splitting to properly handle encrypted messages
Manuel Nickschas [Thu, 5 Aug 2010 09:05:42 +0000 (11:05 +0200)]
Rework message splitting to properly handle encrypted messages

Since cutting off a crypted message produces garbage, and we can't reliably predict
how long the encrypted version will be in relation to the cleartext string, we need
to do some extra trickery in the message splitting code.

As a side effect, the split char now also remains on the previous line, which is
aesthetically way more pleasing than starting a line with a space or punctuation.
trickery for this case. Since

13 years agoProvide CoreNetwork accessor for getting a cipher for a given target
Manuel Nickschas [Thu, 29 Jul 2010 14:35:48 +0000 (16:35 +0200)]
Provide CoreNetwork accessor for getting a cipher for a given target

Removes code duplication in encrypt()/decrypt(), which were performing
the same task, and will come in handy later.

13 years agoClean-up and refactor the blowfish encryption stuff
Manuel Nickschas [Wed, 21 Jul 2010 20:43:17 +0000 (22:43 +0200)]
Clean-up and refactor the blowfish encryption stuff

* Move all QCA2 deps into core only (introduces CoreIrcUser)
* Simplify code where appropriate
* Handle encodings properly
* Whitespace and formatting fixes
* Various other bits and pieces

13 years agoFix license header for cipher.{cpp|h}
Manuel Nickschas [Thu, 22 Jul 2010 07:20:50 +0000 (09:20 +0200)]
Fix license header for cipher.{cpp|h}

Since we took these from Konvi, we should keep their license intact.

13 years agomessage + topic encryption
Johannes Huber [Thu, 25 Feb 2010 18:43:48 +0000 (19:43 +0100)]
message + topic encryption

13 years agomessage + topic decryption
Johannes Huber [Thu, 25 Feb 2010 18:40:51 +0000 (19:40 +0100)]
message + topic decryption

13 years agonew commands setkey, delkey
Johannes Huber [Thu, 25 Feb 2010 18:36:55 +0000 (19:36 +0100)]
new commands setkey, delkey

13 years agoadded cipher to channel + user
Johannes Huber [Thu, 25 Feb 2010 18:28:59 +0000 (19:28 +0100)]
added cipher to channel + user

13 years agoadded key map
Johannes Huber [Thu, 25 Feb 2010 18:20:45 +0000 (19:20 +0100)]
added key map

13 years agocipher implementation
Johannes Huber [Thu, 25 Feb 2010 18:09:27 +0000 (19:09 +0100)]
cipher implementation

13 years agoincluded qca2 into build system
Johannes Huber [Thu, 25 Feb 2010 15:24:58 +0000 (16:24 +0100)]
included qca2 into build system

13 years agoSome buildsystem fixes for optional modules and Qt vars
Manuel Nickschas [Thu, 22 Jul 2010 07:29:57 +0000 (09:29 +0200)]
Some buildsystem fixes for optional modules and Qt vars

13 years agoBump bundled Qt4 cmake modules to current upstream version
Manuel Nickschas [Tue, 6 Jul 2010 06:36:00 +0000 (08:36 +0200)]
Bump bundled Qt4 cmake modules to current upstream version

Basically finds QtDeclarative now.

13 years agothis should fix buffer merging with Postgres backend
Marcus Eggenberger [Fri, 16 Jul 2010 19:44:17 +0000 (21:44 +0200)]
this should fix buffer merging with Postgres backend

13 years agoFix crash when encountering a topic with HTML tags
Manuel Nickschas [Sun, 11 Jul 2010 05:52:22 +0000 (07:52 +0200)]
Fix crash when encountering a topic with HTML tags

13 years agoFix and Qt-4.6-ify ColumnHandleItem
Manuel Nickschas [Wed, 30 Jun 2010 16:33:02 +0000 (18:33 +0200)]
Fix and Qt-4.6-ify ColumnHandleItem

Now that we depend on Qt 4.6, use QGraphicsObject and QPropertyAnimation.
Also, the columnhandle can now no longer get lost while moving.
Fixes #247, fixes #687.

13 years agoAdd shortcut that jumps to the markerline
Manuel Nickschas [Tue, 29 Jun 2010 20:51:13 +0000 (22:51 +0200)]
Add shortcut that jumps to the markerline

By default (and subject to change), Ctrl+K now jumps to the markerline
(which is either set manually by Ctrl+R, or by default automatically when
switching channels).

If necessary, additional backlog will be fetched first. Note that this might require
multiple presses of Ctrl+K if you tinkered with message filters after setting the markerline,
and also for markerlines that have been set using older clients.

The markerline will now never be set on a day change message.

13 years agoFix wordwrap when using Qt > 4.6.3
Manuel Nickschas [Tue, 22 Jun 2010 17:34:58 +0000 (19:34 +0200)]
Fix wordwrap when using Qt > 4.6.3

Qt changed the behavior of QTextBoundaryFinder in commit e6ac173, to make it more
consistent and to fix a bug in QtWebkit (cf. https://bugs.webkit.org/show_bug.cgi?id=31076).

Unfortunately this means we have to remove our wordwrap workaround for newer versions of Qt,
so we're adding a runtime version check for that. Please note that if you're using a 4.7 snapshot
that's too old, you'll have broken wordwrap now. Upgrade Qt.

13 years agoroll up to 100% translated strings again.
Tomas Chvatal [Mon, 21 Jun 2010 12:25:06 +0000 (14:25 +0200)]
roll up to 100% translated strings again.

13 years agofix logic is versus isn't :]
Tomas Chvatal [Fri, 18 Jun 2010 16:26:33 +0000 (18:26 +0200)]
fix logic is versus isn't :]

13 years agoFix markerline placement on relayout
Manuel Nickschas [Thu, 17 Jun 2010 14:59:52 +0000 (16:59 +0200)]
Fix markerline placement on relayout

13 years agoCorrectly handle overlapping graphicsitems
Manuel Nickschas [Thu, 17 Jun 2010 08:25:23 +0000 (10:25 +0200)]
Correctly handle overlapping graphicsitems

ChatScene::chatItemAt() didn't cope with overlapping items (since we didn't
have overlapping items before). Now that we introduced the new markerline,
mouse events would be eaten by it.

Fix0red.

13 years agoupdate czech translation + regen .pot file.
Tomas Chvatal [Mon, 14 Jun 2010 11:43:03 +0000 (13:43 +0200)]
update czech translation + regen .pot file.

13 years agol10n: Updated Greek translation to 6%
Stefanos Sofroniou [Thu, 13 May 2010 15:36:17 +0000 (15:36 +0000)]
l10n: Updated Greek translation to 6%

New status: 58 messages complete with 0 fuzzies and 802 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Turkish (tr) translation to 56%
H. İbrahim Güngör [Wed, 5 May 2010 07:26:17 +0000 (07:26 +0000)]
l10n: Updated Turkish (tr) translation to 56%

New status: 487 messages complete with 64 fuzzies and 309 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agoAdapt the stylesheets and the stylesheet generator to the new markerline
Manuel Nickschas [Wed, 16 Jun 2010 16:14:49 +0000 (18:14 +0200)]
Adapt the stylesheets and the stylesheet generator to the new markerline

The markerline now supports a fully styled brush rather than just reading the color
and enforcing a gradient.

In order to get the same look as before, we adapt the stylesheets we ship and also write
out an appropriate gradient definition in settings.qss.

Note that, as always in QSS, the gradient is normalized between (0,0) and (1,1).

13 years agoRefactor the markerline into a proper QGraphicsWidget
Manuel Nickschas [Wed, 16 Jun 2010 15:21:21 +0000 (17:21 +0200)]
Refactor the markerline into a proper QGraphicsWidget

Unitl now, ChatLines would check if they're the one supposed to display the markerline
for every paintEvent, and the one appropriate would draw it then. Besides being inefficient,
this also caused trouble with the more flexible markerline stuff introduced recently.

Now the markerline is a proper QGraphicsWidget. It can be fully styled via a brush property:

Palette {
  marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop:0 red, stop: 0.1 transparent);
}

This lets it look identical to the "old" markerline and is hence the default now. Note that the
height of the markerline object is equal to a single line of text (so this is the area you get
to play in), unless the brush is set to a solid color, in which case it's a simple line 1px wide.
This makes it look acceptable when using an older stylesheet.

This commit also fixes a crash introduced with the markerline rewrite a few weeks ago.

13 years agoSet QSS-parsed gradients' coordinate system to ObjectBoundingMode
Manuel Nickschas [Wed, 16 Jun 2010 14:21:52 +0000 (16:21 +0200)]
Set QSS-parsed gradients' coordinate system to ObjectBoundingMode

In this mode, gradient coordinates are relative to the bounding rect of the object
to be drawn. Thus, gradients can be specified between (0,0) and (1,1) in stylesheets
and will do The Right Thing™ regardless of the object's size.
This is also what Qt uses for its widgets.

13 years agoBump required Qt version for the client (and monolithic) to 4.6.0
Manuel Nickschas [Tue, 15 Jun 2010 21:32:33 +0000 (23:32 +0200)]
Bump required Qt version for the client (and monolithic) to 4.6.0

The dep for core only will stay at Qt 4.4.0 for now. This should suit users that tend
to run older distros on their servers.

13 years agoconstify
Manuel Nickschas [Tue, 15 Jun 2010 21:31:46 +0000 (23:31 +0200)]
constify

13 years agoAdd missing #include for Mac
Manuel Nickschas [Wed, 2 Jun 2010 15:54:30 +0000 (17:54 +0200)]
Add missing #include for Mac

If depending on Carbon/Carbon.h proves to be a problem, we could also hardcode the unicode
sequences for Mac's special keys. So if Carbon.h isn't present on any Mac used to build
Quassel on, please poke me.

13 years agoFix keysequence strings for Mac again
Manuel Nickschas [Wed, 2 Jun 2010 14:18:06 +0000 (16:18 +0200)]
Fix keysequence strings for Mac again

Qt actually offers QKeySequence::NativeText to do Mac special casing for toString().
So it makes sense to use that. We now also simulate Qt's behavior for modifier names, that is,
on Mac those will be unicode symbols and no '+' is set between keys. Also the order should be
the commonly used one now (I hope).

13 years agoFix modifier names for Mac
Manuel Nickschas [Wed, 2 Jun 2010 12:57:25 +0000 (14:57 +0200)]
Fix modifier names for Mac

13 years agoAdd missing icons
Manuel Nickschas [Tue, 1 Jun 2010 01:10:40 +0000 (03:10 +0200)]
Add missing icons