Johannes Huber [Thu, 25 Feb 2010 15:24:58 +0000 (16:24 +0100)]
included qca2 into build system
Manuel Nickschas [Thu, 22 Jul 2010 07:29:57 +0000 (09:29 +0200)]
Some buildsystem fixes for optional modules and Qt vars
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.
Marcus Eggenberger [Fri, 16 Jul 2010 19:44:17 +0000 (21:44 +0200)]
this should fix buffer merging with Postgres backend
Manuel Nickschas [Sun, 11 Jul 2010 05:52:22 +0000 (07:52 +0200)]
Fix crash when encountering a topic with HTML tags
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.
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.
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.
Tomas Chvatal [Mon, 21 Jun 2010 12:25:06 +0000 (14:25 +0200)]
roll up to 100% translated strings again.
Tomas Chvatal [Fri, 18 Jun 2010 16:26:33 +0000 (18:26 +0200)]
fix logic is versus isn't :]
Manuel Nickschas [Thu, 17 Jun 2010 14:59:52 +0000 (16:59 +0200)]
Fix markerline placement on relayout
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.
Tomas Chvatal [Mon, 14 Jun 2010 11:43:03 +0000 (13:43 +0200)]
update czech translation + regen .pot file.
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).
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).
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).
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.
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.
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.
Manuel Nickschas [Tue, 15 Jun 2010 21:31:46 +0000 (23:31 +0200)]
constify
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.
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).
Manuel Nickschas [Wed, 2 Jun 2010 12:57:25 +0000 (14:57 +0200)]
Fix modifier names for Mac
Manuel Nickschas [Tue, 1 Jun 2010 01:10:40 +0000 (03:10 +0200)]
Add missing icons
Manuel Nickschas [Mon, 31 May 2010 22:53:55 +0000 (00:53 +0200)]
Kill JumpKeyHandler and replace it by proper action shortcuts
The so-called "RTS Shortcuts" (now called "Quick Access") were until now implemented through
JumpKeyHandler, which installed event filters in appropriate widgets. Instead, we can just as
well use normal actions and simplify the code (which showed its age anyway).
As a bonus, the Quick Access shortcuts are now configurable!
Manuel Nickschas [Mon, 31 May 2010 22:45:12 +0000 (00:45 +0200)]
Make shortcut categories work
We now support translateable titles for ActionCollections, and also support
multiple collections in KDE-integrated Quassel (this did work for !KDE already).
Manuel Nickschas [Mon, 31 May 2010 20:16:25 +0000 (22:16 +0200)]
Fix chatline caching on resize
This fixes drawing errors when resizing columns.
Also this commit removes some compiler warnings due to overlapping method names.
Manuel Nickschas [Mon, 31 May 2010 17:28:25 +0000 (19:28 +0200)]
Allow configuration of shortcuts for platforms other than KDE
This adds a shortcuts configuration dialog for Quassel without KDE integration.
Manuel Nickschas [Mon, 31 May 2010 15:45:40 +0000 (17:45 +0200)]
Make ActionCollection load and save custom shortcuts
This implements {read|write}Settings() for ActionCollection. It also fixes the
bug that custom shortcuts wouldn't be loaded again when using KDE.
Manuel Nickschas [Mon, 31 May 2010 14:22:31 +0000 (16:22 +0200)]
Make "Restore from defaults" work for single settingspages
Nobody ever noticed that this was b0rked in SettingsPageDlg...
Manuel Nickschas [Mon, 24 May 2010 13:53:41 +0000 (15:53 +0200)]
Make the 16x16 version actually be 16x16
Manuel Nickschas [Mon, 24 May 2010 13:37:18 +0000 (15:37 +0200)]
Let's try out another highlight icon for the tray animation
Made by Alexandre Freitas at the Multimedia sprint in Randa. Thanks a lot!
Marcus Eggenberger [Thu, 13 May 2010 12:03:42 +0000 (14:03 +0200)]
Fixes #746 - Quassel unsets default modes set by server upon first connect
Quassel now uses a saner approach and only keeps track of the mode changes you
really issued and also were confirmed by the server.
You can reset the auto restore modes via "/mode -reset". This command gives
currently no userfeedback as it would introduce new strings and this patch
is intended to be backported.
Marcus Eggenberger [Wed, 12 May 2010 20:00:03 +0000 (22:00 +0200)]
Introducing global away
- "/away -all <msg>" marks you away on all connected networks
- "/away -all" removes away state on all connected networks
Manuel Nickschas [Tue, 11 May 2010 20:56:02 +0000 (22:56 +0200)]
Cache ChatLine layout data for visible chatlines
Up to now, we've computed e.g. the text layout for a chatline on the fly. This
happens surprisingly often, for example whenever the mouse is moved. As a result,
moving the mouse (among other things) caused high CPU load.
We now cache such data within the chatitems until the chatline goes out of view, in
which case the cache is cleared in order to not waste space needlessly.
Fixes #954.
Marco Paolone [Mon, 3 May 2010 18:12:00 +0000 (20:12 +0200)]
update Italian translation
democtezuma [Mon, 3 May 2010 07:47:41 +0000 (07:47 +0000)]
l10n: Introduced a Japanese translation.
New status: 102 messages complete with 4 fuzzies and 754 untranslated.
Transmitted-via: Transifex (www.transifex.net).
Jens Arnold [Tue, 4 May 2010 17:27:43 +0000 (19:27 +0200)]
Fix #959: SQLite -> PostgreSQL migration
Manuel Nickschas [Mon, 3 May 2010 07:46:44 +0000 (09:46 +0200)]
.desktop files are not executables
Dirk Rettschlag [Mon, 8 Mar 2010 11:46:11 +0000 (12:46 +0100)]
sort languages in settings V2
Johannes Huber [Fri, 23 Apr 2010 11:46:03 +0000 (13:46 +0200)]
translate string in user tooltip, fixes #953
Sebastian Goth [Wed, 28 Apr 2010 17:16:36 +0000 (19:16 +0200)]
Handle /query and /join without args nicely
Adapts MR84 to the refactored ClientUserInputHandler
Thanks johu for the initial fix!
Fixes #831 and renders MR84 obsolete.
Sebastian Goth [Wed, 28 Apr 2010 16:27:06 +0000 (18:27 +0200)]
ClientUserInputHandler is now a BasicHandler
Allows easier implementation of new client handlers and
reuses existing handler code.
Yuri Chornoivan [Sun, 18 Apr 2010 14:52:39 +0000 (14:52 +0000)]
l10n: Updates to Ukrainian (uk) translation
Transmitted-via: Transifex (www.transifex.net)
Manuel Nickschas [Sat, 1 May 2010 16:50:15 +0000 (18:50 +0200)]
Initialize variable
Rüdiger Sonderfeld [Tue, 9 Mar 2010 19:59:06 +0000 (20:59 +0100)]
emacs bindings: added default case to be consistend
Rüdiger Sonderfeld [Tue, 9 Mar 2010 19:57:46 +0000 (20:57 +0100)]
emacs bindings: added M-t (transpose words)
Rüdiger Sonderfeld [Tue, 9 Mar 2010 19:57:26 +0000 (20:57 +0100)]
emacs bindings: added M-u/l/c (upper/lower/capitalize word)
Rüdiger Sonderfeld [Tue, 9 Mar 2010 19:56:40 +0000 (20:56 +0100)]
emacs bindings: added M-d (kill word)
Rüdiger Sonderfeld [Tue, 9 Mar 2010 19:55:20 +0000 (20:55 +0100)]
emacs bindings: Allow Alt as Modifier key
Rüdiger Sonderfeld [Tue, 9 Mar 2010 15:49:57 +0000 (16:49 +0100)]
removed C-left/right bindings (already available).
Rüdiger Sonderfeld [Tue, 9 Mar 2010 15:12:16 +0000 (16:12 +0100)]
added basic support for Emacs style key bindings
Manuel Nickschas [Mon, 26 Apr 2010 19:11:29 +0000 (21:11 +0200)]
Improve marker line behavior; allow manual setting (Ctrl+R)
The marker line will now be set to the bottom of the current chatview rather than
to the very bottom of the chatview when it makes sense. So if you didn't scroll all
the way down, and switch channels, you can start off where you left reading.
Also there's now an option to disable the automatic setting of the marker line completely.
Using Ctrl+R, you can manually set the marker line to the bottom of the ChatView.
This requires a recent core (older cores will still work, but only show the old behavior).
Manuel Nickschas [Sat, 1 May 2010 15:58:46 +0000 (17:58 +0200)]
Properly handle synced marker lines
This reacts to changes from the NetworkModel, and also properly redraws
the marker line on change. Also, you can hide the line now.
Manuel Nickschas [Sat, 1 May 2010 15:57:52 +0000 (17:57 +0200)]
Provide some new accessors for Chat{View|Scene}
This allows accessing the currently visible ChatLines in a view, and
a ChatLine by MsgId in a scene.
Manuel Nickschas [Sat, 1 May 2010 15:35:28 +0000 (17:35 +0200)]
Don't let the inputline eat application shortcuts
We'd like to use Ctrl+R and possibly others for actions, but KTextEdit
eats it (without using it, in fact). So now we check the application shortcuts
and prevent them from being used by KTextEdit if we have them defined.
Marcus Eggenberger [Fri, 30 Apr 2010 16:28:04 +0000 (18:28 +0200)]
fixes #940 - Problem with +foo-Channels
Marcus Eggenberger [Fri, 30 Apr 2010 15:56:18 +0000 (17:56 +0200)]
fixes #903 - Odd umode case can make user disappear from nick list
Marcus Eggenberger [Sat, 24 Apr 2010 22:11:57 +0000 (00:11 +0200)]
Fixes #913 - Core backlog download does not start until main window is unhidden
Marcus Eggenberger [Mon, 12 Apr 2010 18:36:00 +0000 (20:36 +0200)]
BufferViewOverlay now correctly respects filtering of buffer types
Manuel Nickschas [Mon, 19 Apr 2010 09:58:17 +0000 (11:58 +0200)]
Fix build and indentation
Manuel Nickschas [Mon, 19 Apr 2010 08:53:17 +0000 (10:53 +0200)]
Revert "fixed compilation on mingw w64 x64"
Bug in mingw, not in Quassel
This reverts commit
4399dbf3410f95bc7554c5506ab431508c6d5d14.
Manuel Nickschas [Wed, 14 Apr 2010 09:39:30 +0000 (11:39 +0200)]
Sync ChangeLog with 0.6
Patrick von Reth [Fri, 16 Apr 2010 08:41:04 +0000 (10:41 +0200)]
fixed compilation on mingw w64 x64
Patrick von Reth [Fri, 16 Apr 2010 08:54:16 +0000 (10:54 +0200)]
removed win32.o
Patrick von Reth [Fri, 16 Apr 2010 08:12:53 +0000 (10:12 +0200)]
added generation of the ming resource win32.o out of win32.rc on build time
Manuel Nickschas [Thu, 15 Apr 2010 13:18:04 +0000 (15:18 +0200)]
Don't crash on startup
Marcus Eggenberger [Thu, 15 Apr 2010 12:31:51 +0000 (14:31 +0200)]
enforce usage of SQLite in Monolithic mode
Manuel Nickschas [Wed, 14 Apr 2010 07:41:02 +0000 (09:41 +0200)]
Fix tray icon behavior for non-KDE StatusNotifier
Our workaround for QSystemTrayIcon activation misbehavior (clicking the bubble
should NOT send two activation signals!) fails when using StatusNotifier instead,
but only if KDE integration is disabled (wtf?). Turns out we don't get mouse events
from the notifier then.
Solution: only enable workaround when using the legacy tray icon.
Daniel Albers [Tue, 13 Apr 2010 22:12:34 +0000 (00:12 +0200)]
Manual .po file fixes
Daniel Albers [Tue, 13 Apr 2010 20:46:42 +0000 (22:46 +0200)]
Update translations
Manuel Nickschas [Tue, 13 Apr 2010 21:38:22 +0000 (23:38 +0200)]
Replace tab characters by 8 spaces
Our layout engine can't properly handle tabs (and it's doubtful how they should be handled
anyway on random pastes), and it breaks while trying. So now we replace tabs by 8 spaces.
Note that Konversation (and probably some others) currently sends a \t for the "italics" format.
This is non-standard and not very consistent across clients, so I chose to not have a tab trigger italics.
So for pastes, we show something mostly correct, while italic text sent from Konversation will cause
some whitespace instead. I think that's a better tradeoff than the other way round (showing italics
when tabs are pasted).
Manuel Nickschas [Tue, 13 Apr 2010 21:18:22 +0000 (23:18 +0200)]
Close notifications on other connected clients as well
Client now emits a bufferMarkedAsRead() signal that is used for triggering
the closing of notifications. This is synced between clients.
This requires both uptodate clients and core and will spam your log with warnings
if one is too old (but continue to work like it used to). "Too old" means "does not
contain this commit", i.e. a 0.6.0 client will work fine with a git master core and
the other way round, but earlier versions won't.
Manuel Nickschas [Tue, 13 Apr 2010 20:04:55 +0000 (22:04 +0200)]
Stop RFC-violating IRC servers from crashing quassel
Seriously, '%' is not allowed in nicknames. But who cares about RFCs...
Escaping this now in the nickname as well, and additionally prevent the style engine
from hanging itself if it still encounters an unescaped % (even though that can't happen now
anymore). Thanks to ricky26 for the heads up and a patch.
Fixes #946, fixes #947
Manuel Nickschas [Tue, 13 Apr 2010 20:01:52 +0000 (22:01 +0200)]
Stop blinking of tray icon on first click
Users have requested that the icon stop blinking after the first highlight has been
activated, even if there are more highlights pending.
If this change causes an uproar in the community, I think we'll make it an option...
Manuel Nickschas [Tue, 13 Apr 2010 15:03:46 +0000 (17:03 +0200)]
Fix visibility issues with StatusNotifier
Properly handle registration on DBus according to the "Show tray icon" setting. Also,
clean up a isVisible() and isSystemTrayAvailable() a bit across the hierarchy.
Fixes #930.
Manuel Nickschas [Mon, 12 Apr 2010 10:13:54 +0000 (12:13 +0200)]
Add Portuguese to LINGUAS
Zé [Sun, 4 Apr 2010 06:42:42 +0000 (07:42 +0100)]
Some minor fixes
Zé [Sun, 4 Apr 2010 06:38:45 +0000 (07:38 +0100)]
Finish portuguese translation
Zé [Sun, 4 Apr 2010 01:17:39 +0000 (02:17 +0100)]
Add portuguese translation
Manuel Nickschas [Mon, 5 Apr 2010 19:58:18 +0000 (21:58 +0200)]
Revert "Reset the BufferViewFilter after setting a new config"
No, doesn't fix #663. Also it has side effects with Qt 4.7 and some other bugs.
So bringing back the old workaround *sigh*
This reverts commit
617a3966941742a4e235af440d3665d0274354a8.
Manuel Nickschas [Sat, 3 Apr 2010 16:01:45 +0000 (18:01 +0200)]
Meh, initialize variables not only for one ctor
Manuel Nickschas [Thu, 1 Apr 2010 11:35:18 +0000 (13:35 +0200)]
Don't link to libindicate-qt when we disable Ayatana support
Looks like the CMake variables are set by some other package...
Manuel Nickschas [Wed, 31 Mar 2010 18:58:50 +0000 (20:58 +0200)]
We hate uninitialized values
Valgrind rocks.
Daniel Albers [Mon, 29 Mar 2010 11:19:21 +0000 (13:19 +0200)]
Import translations for new languages from Launchpad
Daniel Albers [Mon, 15 Mar 2010 23:42:26 +0000 (00:42 +0100)]
Add translations to .desktop files
intltool-prepare && for i in data/*.in; do intltool-merge -d po $i ${i%%.in}; done
m4yer [Mon, 8 Mar 2010 12:40:00 +0000 (12:40 +0000)]
l10n: Updates to German (de) translation
Transmitted-via: Transifex (www.transifex.net)
Marcus Eggenberger [Sat, 20 Mar 2010 16:03:42 +0000 (17:03 +0100)]
Checking whether a initSetMethod exists before bluntly invoking it. (fixes a new warning in Qt 4.7)
Manuel Nickschas [Thu, 18 Mar 2010 13:12:41 +0000 (14:12 +0100)]
Don't declare QVariant as a meta type if it's already known
Prevents a crash with Qt >= 4.7, since this version starts declaring QVariant as a metatype
itself. Older versions, for some bizarre reason, didn't.
Manuel Nickschas [Sun, 14 Mar 2010 12:51:02 +0000 (13:51 +0100)]
Reset the BufferViewFilter after setting a new config
I'm not sure why, but somehow BufferView crashes in rare occasions because of invalid modelindexes
if we don't reset the BufferModel after setting its config. This is even true if we haven't set
a source model before, so an attached View couldn't even get any invalid indexes in the first
place. Anyway, it stops Quassel from crashing here, so I shouldn't complain, I guess.
This hopefully fixes #663, the Heisenbug that has haunted us for a long time now. At least for me.
Marcus Eggenberger [Fri, 12 Mar 2010 12:07:21 +0000 (13:07 +0100)]
sanificating and decrashificating the TopicWidget
Daniel Albers [Thu, 11 Mar 2010 00:33:07 +0000 (01:33 +0100)]
Import Launchpad translation updates
Thomas Mueller [Thu, 21 Jan 2010 21:24:16 +0000 (22:24 +0100)]
fixes 898
Marcus Eggenberger [Thu, 11 Mar 2010 16:31:39 +0000 (17:31 +0100)]
Messages with redirection flag set (all messages that allow client side redirection) will no longer trigger a buffer creation
Marcus Eggenberger [Thu, 11 Mar 2010 16:02:29 +0000 (17:02 +0100)]
permanently ignored (HardStrictness) messages can no longer trigger a buffer creation
Marcus Eggenberger [Thu, 11 Mar 2010 14:03:12 +0000 (15:03 +0100)]
Make Quassel work with Qt 4.5 again
Daniel Albers [Tue, 9 Mar 2010 23:33:01 +0000 (00:33 +0100)]
Make keyboard shortcuts independent from translations
Dirk Rettschlag [Tue, 9 Mar 2010 11:35:52 +0000 (12:35 +0100)]
cleanup
Dirk Rettschlag [Mon, 8 Mar 2010 12:39:31 +0000 (13:39 +0100)]
fixed height of inputline to match the rest of the inputwidget
Dirk Rettschlag [Mon, 8 Mar 2010 12:32:09 +0000 (13:32 +0100)]
better height for nick combobox and style button