Manuel Nickschas [Thu, 11 Jun 2009 14:26:44 +0000 (16:26 +0200)]
Switch to lowercase for subelement and message types in QssParser
Lowercase seems to be the convention in stylesheet syntax, so we adhere to
that. Even though we do bend the original definitions of "subelement" and
"objectname" a bit to fit our purposes :)
Manuel Nickschas [Thu, 11 Jun 2009 14:05:12 +0000 (16:05 +0200)]
Parse foreground and background for ChatLines
Manuel Nickschas [Thu, 11 Jun 2009 14:04:12 +0000 (16:04 +0200)]
Actually start using the formats retrieved via QssParser
Manuel Nickschas [Mon, 8 Jun 2009 07:46:15 +0000 (09:46 +0200)]
Kill old non-stylesheet code from UiStyle
Remove stuff that has been commented out for a while now and/or is no longer used
within the new styleengine.
This also disables most of the colorsettingspage for now. Consider this dialog
dysfunctional, as it will be rewritten completely or probably even obsoleted soon.
Manuel Nickschas [Tue, 9 Jun 2009 07:00:45 +0000 (09:00 +0200)]
Move QssParser out of UiStyle
After the design of the new styleengine is becoming clearer to me, I've decided
to move QssParser out of UiStyle into the global namespace (and its own pair of files).
QssParser has now adapted to the new message label concept, and can determine both
format code and message label from a ChatLine section header.
This is still mostly untested and quite unfinished work in progress.
Manuel Nickschas [Fri, 10 Apr 2009 15:55:10 +0000 (17:55 +0200)]
Add preliminary label support to the style engine
Labels are supposed to be used for things like highlights. We now support
up to 16 different labels for defining special format settings overriding
the stock ones. This is a more flexible approach than hardcoding, say, a background
color and will allow full styling even for highlights and possibly other special
messages. For example, nick coloring can be adjusted to the highlight color via
stylesheet (once stylesheet support arrives).
Also, rework the format merging code to be much easier and still more flexible.
Manuel Nickschas [Thu, 26 Mar 2009 09:43:10 +0000 (10:43 +0100)]
Introducing QssParser
This parses our extensions to Qt stylesheets. So far, we can modify the
application palette as follows:
Palette {
base: white;
text: rgb(128, 128, 255);
window-text: #
12ffaa33;
...
}
The roles and brush/color definitions follow the Qt stylesheet syntax; note that
we allow for styling all of the palette roles (including things like tooltip-base,
which are not included in Qt's list of stylable roles).
Manuel Nickschas [Fri, 20 Mar 2009 21:01:36 +0000 (22:01 +0100)]
Rework mergedFormats() to handle pre-set formats
This allows us to seed the format cache with information from a stylesheet.
mergedFormats() now handles sensible combinations of pre-set values in order
to construct the requested format. For example, if the stylesheet sets a format
for the sender column in a highlighted message, this is now used to construct
derivations from that rather than using the hardcoded stock formats.
Manuel Nickschas [Fri, 20 Mar 2009 20:59:09 +0000 (21:59 +0100)]
Initialize UiStyle before MainWin such that the letter can properly use a modified palette
Marcus Eggenberger [Tue, 4 Aug 2009 22:44:15 +0000 (00:44 +0200)]
Fixing a bug where the unread messages backlog requester wouldn't
fetch any backlog in certain cases. (Needs Core restart)
Marcus Eggenberger [Sun, 26 Jul 2009 16:14:51 +0000 (18:14 +0200)]
Fixes #742 - JOIN without parameters
Marcus Eggenberger [Sun, 26 Jul 2009 16:08:39 +0000 (18:08 +0200)]
Fixes #741 - HTML escape characters in tooltips.
Thanks to lastic for suplying the patch!
Daniel Albers [Wed, 22 Jul 2009 15:07:20 +0000 (17:07 +0200)]
allow topic changes to be hidden
adds message type Message::Topic
Marcus Eggenberger [Sun, 26 Jul 2009 16:04:03 +0000 (18:04 +0200)]
Fixes #692 - double escaping of backslashes when using Postgres
It is strongly recommended that Postgres users do upgrade to this version.
Manuel Nickschas [Tue, 21 Jul 2009 22:33:58 +0000 (00:33 +0200)]
Make ping timeouts and auto-WHO configurable
A new [Core]NetworkConfig object allows configuring global network parameters. This adds
a new settingspage (Misc -> Connection) that allows configuring the dreaded "active ping timeouts" that
hit some people, and also auto-WHO (tracking users' away status) can now be disabled or modified.
Manuel Nickschas [Tue, 21 Jul 2009 22:25:01 +0000 (00:25 +0200)]
Allow custom saving/loading of SettingsPage autowidgets
SettingsPages can automatically handle child widgets' contents (e.g. track changes,
load and save) if those have the properties "settingsKey" and "defaultValue" set. However,
sometimes widgets need to be saved to something else than a Settings object (e.g. a core config object).
You can now leave the settingsKey property empty for your autowidgets and reimplement
{save|load}AutoWidgetValue() in your derived SettingsPage to handle custom saving and loading.
Manuel Nickschas [Wed, 15 Jul 2009 23:15:05 +0000 (01:15 +0200)]
Change version string to be more intuitive
Having 0.4.0+ for git master confuses users. So let's use a version string like
v0.5-pre (0.4.0+198 git-
dee6c47*) instead, which still gives us all the information
and is less confusing.
Version is obtained from version.inc.
Manuel Nickschas [Wed, 15 Jul 2009 22:08:52 +0000 (00:08 +0200)]
Properly handle unlimited IRC reconnection retries
Fixes #743. Also, do the first reconnect retry immediately after disconnect
even with unlimited retries enabled.
Manuel Nickschas [Wed, 15 Jul 2009 18:14:23 +0000 (20:14 +0200)]
Bump inxi script to current version
Manuel Nickschas [Wed, 15 Jul 2009 18:08:23 +0000 (20:08 +0200)]
Add GPL header to mpris script
Ack'd by the author.
Manuel Nickschas [Tue, 14 Jul 2009 20:51:19 +0000 (22:51 +0200)]
Use 48x48 icons for the toolbar
With KDE, one might scale icons up to 48x48, and with non-KDE, the theme default
might be larger than 22x22 as well. So we use the larger icons (which will be scaled down
to the correct size anyway).
Manuel Nickschas [Thu, 25 Jun 2009 19:28:11 +0000 (21:28 +0200)]
Sync oxygen icons to upstream KDE
Manuel Nickschas [Tue, 14 Jul 2009 20:25:21 +0000 (22:25 +0200)]
Use KToolBar instead of QToolBar for KDEified Quassel
This basically gives you the common context menu to change icon size and if/where to
display the texts. It also should honor your global appearance setting by default.
Manuel Nickschas [Tue, 14 Jul 2009 20:20:05 +0000 (22:20 +0200)]
Improve MainWindow state save/restore
Rather than tracking the visibility manually, we now make sure that the window state is saved
before the window is hidden, i.e. not in aboutToQuit() which is already too late for that.
Instead of calling QApplication::quit(), we use our new slot MainWin::quit() which saves the window
layout first.
For KDEified Quassel, we now use KMainWindow's autosave feature rather than using QMainWindow::restoreState().
This might fix some issues with multiple desktops etc, though I haven't tested that. In any case it's cleaner
as it saves additional properties (e.g. toolbar state).
Manuel Nickschas [Mon, 13 Jul 2009 17:39:41 +0000 (19:39 +0200)]
Set bugtracker address in KAboutData
This should tell DrKonqui where to report bugs for Quassel.
Thanks to Dario Andres for reporting this.
Marcus Eggenberger [Sun, 12 Jul 2009 13:16:49 +0000 (15:16 +0200)]
Fixes #682 - Core crashes on client connection
Big thanks to seezer for debuging and researching!
Marcus Eggenberger [Sun, 12 Jul 2009 13:13:42 +0000 (15:13 +0200)]
Small update to my bundling script for Mac OS X.
Marcus Eggenberger [Sun, 28 Jun 2009 15:11:00 +0000 (17:11 +0200)]
Fixes #691 - missing messages when using unread message requester
Marcus Eggenberger [Sun, 28 Jun 2009 14:39:47 +0000 (16:39 +0200)]
Fixes bug #715 - multiple targets in PRIVMSG and NOTICE
Marcus Eggenberger [Sun, 28 Jun 2009 14:08:12 +0000 (16:08 +0200)]
An attempt to fix #682 - core crash on client connect when using ssl.
As I'm unable to reproduce this bug, I'm just following a hunch here.
Please let me know if it helps. seezer: ping!
Marcus Eggenberger [Fri, 26 Jun 2009 08:31:33 +0000 (10:31 +0200)]
Helping Postgres' Query Planer.
Note: this does not guarantee, that issues with Postgres are resolved
for everyone. These changes produced very good results in a couple of
test series. Let me know how they work out for you.
Marcus Eggenberger [Tue, 9 Jun 2009 20:28:54 +0000 (22:28 +0200)]
Fixes #572 - changes to nick coloring
Nick color is now determined case insensitive, based only on the nick,
and ignored trailing underscores.
Manuel Nickschas [Mon, 8 Jun 2009 20:46:24 +0000 (22:46 +0200)]
Initialize variables
Marcus Eggenberger [Sun, 7 Jun 2009 21:38:30 +0000 (23:38 +0200)]
Fixes Bug #711 - missing nicks after changing channelmodes (op, voice,...)
Manuel Nickschas [Sun, 7 Jun 2009 15:51:15 +0000 (17:51 +0200)]
Allow to fetch larger-than-1000-line chunks of backlog dynamically
Sebastian Goth [Mon, 1 Jun 2009 10:25:53 +0000 (12:25 +0200)]
Add ^ to vali url chars
Manuel Nickschas [Tue, 26 May 2009 20:40:55 +0000 (22:40 +0200)]
Fix restoring maximized state at restart on Windows
Manuel Nickschas [Tue, 26 May 2009 08:25:35 +0000 (10:25 +0200)]
More windowstate-related changes
* Properly save/restore state to/from session
* Fix minimize on close on Windows, fixes #703
* Various tweaks, hoping to solve the remaining issues with that
Please test if you had problems with window behavior before, and get back to me.
Manuel Nickschas [Tue, 26 May 2009 08:24:10 +0000 (10:24 +0200)]
Remove "Minimize on minimize" setting
This is no longer needed because you can now hide Quassel by clicking the
tray icon. The minimize button should always, well, minimize an application, and we
required a hack to intercept that before. So it's gone now.
Marcus Eggenberger [Thu, 21 May 2009 20:00:32 +0000 (22:00 +0200)]
Alt-A
Marcus Eggenberger [Thu, 21 May 2009 19:17:25 +0000 (21:17 +0200)]
new internal hot buffers list
Marcus Eggenberger [Thu, 21 May 2009 15:59:37 +0000 (17:59 +0200)]
Properly flushing buffers after all backlog was received.
This fixes a bug where it seems to be impossible to delete a buffer.
Marcus Eggenberger [Thu, 21 May 2009 14:48:35 +0000 (16:48 +0200)]
OverlayFilter no longer filters whole networks unnecessarily out
Marcus Eggenberger [Thu, 21 May 2009 14:47:51 +0000 (16:47 +0200)]
New FlatProxyModel
A ProxyModel that flattens a treelike model in preorder.
Marcus Eggenberger [Sun, 12 Apr 2009 19:53:20 +0000 (21:53 +0200)]
improved debugging facilities for the bufferview overlay
Marcus Eggenberger [Fri, 10 Apr 2009 23:01:46 +0000 (01:01 +0200)]
minor refactoring on how backlog requests are triggered
Manuel Nickschas [Tue, 19 May 2009 00:28:49 +0000 (02:28 +0200)]
Filter some unicode control codes out of IRC messages
U+FDD0 and U+FDD1 are for internal Qt use and might screw up some Qt widgets if used
inappropriately. Hence, we filter them out of incoming messages.
Thanks to Sho_ and the Konversation team for the heads-up!
Daniel Albers [Mon, 18 May 2009 22:29:33 +0000 (00:29 +0200)]
Disable crashhandler if coredumps are enabled
Fixes #673.
Terje Andersen [Mon, 18 May 2009 22:03:41 +0000 (00:03 +0200)]
Updated Norwegian Bokmaal translation
Manuel Nickschas [Mon, 18 May 2009 21:21:03 +0000 (23:21 +0200)]
Some build system fixes
* Require Qt >= 4.4.1 for client/mono builds, as older versions cause crashes
* Don't require Qt's image libraries for quasselcore
Tomas Chvatal [Sat, 16 May 2009 14:01:13 +0000 (16:01 +0200)]
Translation of few more strings
Henning Rohlfs [Sat, 16 May 2009 11:32:10 +0000 (13:32 +0200)]
fix denying a large paste
Manuel Nickschas [Thu, 14 May 2009 22:14:58 +0000 (00:14 +0200)]
Fix 512 byte limit protection
Fixes #685.
Manuel Nickschas [Wed, 13 May 2009 21:16:27 +0000 (23:16 +0200)]
Properly save and restore the mainwindow state
We now save size, position, maximize, minimize and hidden-to-tray on exit
and restore it at next start. Since Qt's restoreState() has some issues, I had
to workaround things a bit, so please test on your system and report if there are
still problems with the current implementation!
Fixes #677, fixes #452 (since the state is remembered, so just quit Quassel using the
tray context menu while it's hidden).
Manuel Nickschas [Tue, 12 May 2009 06:59:47 +0000 (08:59 +0200)]
Make SessionSettings derive from UiSettings
In order to avoid code duplication, we'll want to be able to put mainwin state
saving/restoring into methods taking an UiSettings object. Hence, we'll let SessionSettings
inherit from UiSettings rather than ClientSettings, and virtualize the accessors.
Also kill the separate sessionsettings.* files, as we want to centralize the various settings
objects into common files.
Manuel Nickschas [Mon, 11 May 2009 06:50:59 +0000 (08:50 +0200)]
Include current nick for highlight checking if "All nicks" is chosen
Fixes #676.
Manuel Nickschas [Fri, 8 May 2009 21:15:42 +0000 (23:15 +0200)]
Make behavior of input line history a bit more intuitive
Pressing enter will append the current text to the input line history even if an earlier
entry was selected before. This is the behavior in any shell known to man, thus expected :)
Finally closes #655.
Manuel Nickschas [Thu, 7 May 2009 19:52:11 +0000 (21:52 +0200)]
Fix problems with phonon media playback
Suggested by Squider, thanks! Fixes #679.
Manuel Nickschas [Thu, 7 May 2009 18:53:14 +0000 (20:53 +0200)]
Properly handle multiple spaces in a row in msgs sent by (faulty?) ircds
Fixes #681.
Manuel Nickschas [Thu, 7 May 2009 18:07:46 +0000 (20:07 +0200)]
Handle ircd reply 328 (channel homepage)
Manuel Nickschas [Thu, 7 May 2009 18:01:09 +0000 (20:01 +0200)]
Handle ircd reply 329 (channel creation time)
The warning to implement this has been around for over a year now, just because
nobody ever bothered to finally stab those few lines into the core :)
Maia Kozheva [Sun, 3 May 2009 08:51:39 +0000 (15:51 +0700)]
Fixed gender-specific language and some punctuation mistakes in the Russian translation
Sjors Gielen [Wed, 6 May 2009 23:53:30 +0000 (01:53 +0200)]
Fixed some indentation issues (and a typo).
Manuel Nickschas [Thu, 7 May 2009 17:27:57 +0000 (19:27 +0200)]
Select highlighted channel on clicking the blinking tray icon in all cases
This was partially broken for KDEified Quassel.
Manuel Nickschas [Mon, 27 Apr 2009 20:32:31 +0000 (22:32 +0200)]
Remove input line margin
Manuel Nickschas [Mon, 27 Apr 2009 18:38:19 +0000 (20:38 +0200)]
Systray icon improvements
* Hide rather than minimize the MainWin on click (this is standard behavior)
* Bring window to front if it's obscured by other windows, rather than minimize it
This works with KDE integration and on Windows only. Sorry pure Qt users, but I don't
feel like reimplementing the X11 voodoo required for finding out our state :/
* Properly restore the old position after unhiding the window
* Select highlighted buffer if a highlight is pending
* Fix some corner cases where minimize/restore failed before
Kudos to the KSystemTrayIcon developers for showing me how to stab some manners into window managers :)
Manuel Nickschas [Mon, 27 Apr 2009 15:28:12 +0000 (17:28 +0200)]
Add Fabiano Francesconi (Italian translator) to AboutDlg
Fabiano Francesconi [Mon, 27 Apr 2009 15:20:58 +0000 (17:20 +0200)]
italian translation
Tomas Chvatal [Mon, 27 Apr 2009 14:28:20 +0000 (16:28 +0200)]
Few cs updates. Also add new translated strings.
Manuel Nickschas [Mon, 27 Apr 2009 14:09:56 +0000 (16:09 +0200)]
Don't make KDE notifications persistent
Manuel Nickschas [Wed, 22 Apr 2009 13:39:50 +0000 (15:39 +0200)]
Always treat the GECOS real name field as UTF8-encoded
Thanks to Gökçen Eraslan and H. İbrahim Güngör for this.
Manuel Nickschas [Fri, 17 Apr 2009 14:14:16 +0000 (16:14 +0200)]
Add #include supposedly missing in some Qt installations
ZRegis [Fri, 17 Apr 2009 10:21:28 +0000 (11:21 +0100)]
French translation
improve some translations
Tomas Chvatal [Fri, 17 Apr 2009 10:19:48 +0000 (12:19 +0200)]
Fix stupid typos
Manuel Nickschas [Fri, 17 Apr 2009 12:03:03 +0000 (14:03 +0200)]
Revamp InputLine
* Use {Q|K}TextEdit rather than QLineEdit on all platforms - we need this for fancy stuff to come
* Replaced hacky hardcoded height calculation by proper QStyle-based information, should finally
fix the jumpy input line everywhere, the oversized widget in Oxygen, and other issues
* Use sizeHint() rather than setting a maximumHeight() to make the input line work in layouts
* Cleanups
Sebastian Goth [Sun, 12 Apr 2009 15:55:10 +0000 (17:55 +0200)]
wwwtf this is no url! fixes #671
Tomas Chvatal [Sun, 12 Apr 2009 12:48:48 +0000 (14:48 +0200)]
Update some czech strings.
Tomas Chvatal [Thu, 9 Apr 2009 13:08:09 +0000 (15:08 +0200)]
Few more translations.
Manuel Nickschas [Sun, 12 Apr 2009 09:15:03 +0000 (11:15 +0200)]
debug--
Manuel Nickschas [Sun, 12 Apr 2009 09:14:47 +0000 (11:14 +0200)]
Don't interpret HTML in the inputline history
Manuel Nickschas [Sun, 12 Apr 2009 09:14:24 +0000 (11:14 +0200)]
Don't interpret HTML in KNotify popups, fixes #631
Manuel Nickschas [Sun, 12 Apr 2009 08:15:31 +0000 (10:15 +0200)]
Introduce a notification type and add extra notifications for KNotify
We have 4 types of notifications now: for queries and for highlights,
each with and without Quassel having focus. If using KDE support, each
can now be configured separately (see #571).
The non-KDE notification backends keep the old behavior (i.e. only notify if not
focused) for now, until we get a configuration UI for this.
Manuel Nickschas [Sat, 11 Apr 2009 19:27:50 +0000 (21:27 +0200)]
Properly handle channel keys in the ircconnection wizard
Manuel Nickschas [Sat, 11 Apr 2009 18:50:12 +0000 (20:50 +0200)]
Properly handle multiselections in bufferviews, fixes #665
Manuel Nickschas [Sat, 11 Apr 2009 08:29:33 +0000 (10:29 +0200)]
Consider frameWidth() for setting the inputline height
Turns out that the problem of being too large if we do this seems to be an
issue with a new documentMargin() property in Qt 4.5. Setting this to 0 and
adding the frameWidth() to the font height should fix #625.
Sebastian Goth [Thu, 9 Apr 2009 17:26:40 +0000 (19:26 +0200)]
Move cursor to end of line when browsing history (KTextEdit).
Sebastian Goth [Wed, 8 Apr 2009 23:50:19 +0000 (01:50 +0200)]
Make fonts/sizes changeable again Fixes #664
Tomas Chvatal [Fri, 3 Apr 2009 23:09:02 +0000 (01:09 +0200)]
Czech: add few strings, remove obsolete.
Tomas Chvatal [Wed, 1 Apr 2009 21:23:59 +0000 (23:23 +0200)]
Fix typo
Manuel Nickschas [Fri, 3 Apr 2009 20:30:42 +0000 (22:30 +0200)]
Don't hang when activating a notification, fixes #657
Marcus Eggenberger [Fri, 3 Apr 2009 10:36:50 +0000 (12:36 +0200)]
Fixing backlog timestamps when merging from sqlite.
This will not fix already merged data and only affects future merges.
honk [Tue, 31 Mar 2009 20:54:32 +0000 (22:54 +0200)]
mark buffers as read when entering them (not just when exiting) do not mark buffers as read when receiving new messages
ZRegis [Wed, 1 Apr 2009 08:50:36 +0000 (10:50 +0200)]
Add missing translation Maintoolbar
improve french translation of debugs strings and others strings
Tomas Chvatal [Tue, 31 Mar 2009 19:53:57 +0000 (21:53 +0200)]
czech lingua pass 3
Tomas Chvatal [Tue, 31 Mar 2009 17:15:55 +0000 (19:15 +0200)]
Pass 2 for czech .ts.
Tomas Chvatal [Tue, 31 Mar 2009 16:45:02 +0000 (18:45 +0200)]
Update czech .ts a bit.
Manuel Nickschas [Wed, 1 Apr 2009 10:03:47 +0000 (12:03 +0200)]
Improve systray notifications
* Add an action button to KDE's notification bubble, as it doesn't report
clicks other than action triggers
* Bring Quassel to front on click (thanks Zarin for pointing out how to bypass focus
stealing prevention)
* Select buffer where the highlight occurred on click
Note: Plasma notifications are mostly broken currently at least for me; YMMV. If it doesn't work for
you, try using old-fashioned notifications in KDE and see if it works there.
Marcus Eggenberger [Tue, 31 Mar 2009 00:11:32 +0000 (02:11 +0200)]
fixing some more issues with initial backlog fetching
Marcus Eggenberger [Mon, 30 Mar 2009 22:53:20 +0000 (00:53 +0200)]
fixing weird behavior of backlog fetching
Manuel Nickschas [Thu, 26 Mar 2009 23:07:21 +0000 (00:07 +0100)]
Allow arbitrary protocols for URL detection
Rather than hardcoding a selection of protocols, we now allow all of the
form \w+:// (plus mailto:) - this should cover all that make sense.
See also bug #641.