quassel.git
11 years agoFixed some indentation issues (and a typo).
Sjors Gielen [Wed, 6 May 2009 23:53:30 +0000 (01:53 +0200)]
Fixed some indentation issues (and a typo).

11 years agoSelect highlighted channel on clicking the blinking tray icon in all cases
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.

11 years agoRemove input line margin
Manuel Nickschas [Mon, 27 Apr 2009 20:32:31 +0000 (22:32 +0200)]
Remove input line margin

11 years agoSystray icon improvements
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 :)

11 years agoAdd Fabiano Francesconi (Italian translator) to AboutDlg
Manuel Nickschas [Mon, 27 Apr 2009 15:28:12 +0000 (17:28 +0200)]
Add Fabiano Francesconi (Italian translator) to AboutDlg

11 years agoitalian translation
Fabiano Francesconi [Mon, 27 Apr 2009 15:20:58 +0000 (17:20 +0200)]
italian translation

11 years agoFew cs updates. Also add new translated strings.
Tomas Chvatal [Mon, 27 Apr 2009 14:28:20 +0000 (16:28 +0200)]
Few cs updates. Also add new translated strings.

11 years agoDon't make KDE notifications persistent
Manuel Nickschas [Mon, 27 Apr 2009 14:09:56 +0000 (16:09 +0200)]
Don't make KDE notifications persistent

11 years agoAlways treat the GECOS real name field as UTF8-encoded
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.

11 years agoAdd #include supposedly missing in some Qt installations
Manuel Nickschas [Fri, 17 Apr 2009 14:14:16 +0000 (16:14 +0200)]
Add #include supposedly missing in some Qt installations

11 years agoFrench translation
ZRegis [Fri, 17 Apr 2009 10:21:28 +0000 (11:21 +0100)]
French translation
    improve some translations

11 years agoFix stupid typos
Tomas Chvatal [Fri, 17 Apr 2009 10:19:48 +0000 (12:19 +0200)]
Fix stupid typos

11 years agoRevamp InputLine
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

11 years agowwwtf this is no url! fixes #671
Sebastian Goth [Sun, 12 Apr 2009 15:55:10 +0000 (17:55 +0200)]
wwwtf this is no url! fixes #671

11 years agoUpdate some czech strings.
Tomas Chvatal [Sun, 12 Apr 2009 12:48:48 +0000 (14:48 +0200)]
Update some czech strings.

11 years agoFew more translations.
Tomas Chvatal [Thu, 9 Apr 2009 13:08:09 +0000 (15:08 +0200)]
Few more translations.

11 years agodebug--
Manuel Nickschas [Sun, 12 Apr 2009 09:15:03 +0000 (11:15 +0200)]
debug--

11 years agoDon't interpret HTML in the inputline history
Manuel Nickschas [Sun, 12 Apr 2009 09:14:47 +0000 (11:14 +0200)]
Don't interpret HTML in the inputline history

11 years agoDon't interpret HTML in KNotify popups, fixes #631
Manuel Nickschas [Sun, 12 Apr 2009 09:14:24 +0000 (11:14 +0200)]
Don't interpret HTML in KNotify popups, fixes #631

11 years agoIntroduce a notification type and add extra notifications for KNotify
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.

11 years agoProperly handle channel keys in the ircconnection wizard
Manuel Nickschas [Sat, 11 Apr 2009 19:27:50 +0000 (21:27 +0200)]
Properly handle channel keys in the ircconnection wizard

11 years agoProperly handle multiselections in bufferviews, fixes #665
Manuel Nickschas [Sat, 11 Apr 2009 18:50:12 +0000 (20:50 +0200)]
Properly handle multiselections in bufferviews, fixes #665

11 years agoConsider frameWidth() for setting the inputline height
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.

11 years agoMove cursor to end of line when browsing history (KTextEdit).
Sebastian Goth [Thu, 9 Apr 2009 17:26:40 +0000 (19:26 +0200)]
Move cursor to end of line when browsing history (KTextEdit).

11 years agoMake fonts/sizes changeable again Fixes #664
Sebastian Goth [Wed, 8 Apr 2009 23:50:19 +0000 (01:50 +0200)]
Make fonts/sizes changeable again Fixes #664

11 years agoCzech: add few strings, remove obsolete.
Tomas Chvatal [Fri, 3 Apr 2009 23:09:02 +0000 (01:09 +0200)]
Czech: add few strings, remove obsolete.

11 years agoFix typo
Tomas Chvatal [Wed, 1 Apr 2009 21:23:59 +0000 (23:23 +0200)]
Fix typo

11 years agoDon't hang when activating a notification, fixes #657
Manuel Nickschas [Fri, 3 Apr 2009 20:30:42 +0000 (22:30 +0200)]
Don't hang when activating a notification, fixes #657

11 years agoFixing backlog timestamps when merging from sqlite.
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.

11 years agomark buffers as read when entering them (not just when exiting) do not mark buffers...
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

11 years agoAdd missing translation Maintoolbar
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

11 years agoczech lingua pass 3
Tomas Chvatal [Tue, 31 Mar 2009 19:53:57 +0000 (21:53 +0200)]
czech lingua pass 3

11 years agoPass 2 for czech .ts.
Tomas Chvatal [Tue, 31 Mar 2009 17:15:55 +0000 (19:15 +0200)]
Pass 2 for czech .ts.

11 years agoUpdate czech .ts a bit.
Tomas Chvatal [Tue, 31 Mar 2009 16:45:02 +0000 (18:45 +0200)]
Update czech .ts a bit.

11 years agoImprove systray notifications
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.

11 years agofixing some more issues with initial backlog fetching
Marcus Eggenberger [Tue, 31 Mar 2009 00:11:32 +0000 (02:11 +0200)]
fixing some more issues with initial backlog fetching

11 years agofixing weird behavior of backlog fetching
Marcus Eggenberger [Mon, 30 Mar 2009 22:53:20 +0000 (00:53 +0200)]
fixing weird behavior of backlog fetching

11 years agoAllow arbitrary protocols for URL detection
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.

11 years agoremoving debug output
Marcus Eggenberger [Thu, 26 Mar 2009 22:46:06 +0000 (23:46 +0100)]
removing debug output

11 years agoReally really don't send empty lines anymore, fixes #623 for non-KDE as well
Manuel Nickschas [Thu, 26 Mar 2009 22:39:50 +0000 (23:39 +0100)]
Really really don't send empty lines anymore, fixes #623 for non-KDE as well

11 years agopreventing refetching of backlog which was already pulled inwith the initial request
Marcus Eggenberger [Thu, 26 Mar 2009 22:04:23 +0000 (23:04 +0100)]
preventing refetching of backlog which was already pulled inwith the initial request

11 years agofixes #636 - Sqlite error when merging buffer
Marcus Eggenberger [Thu, 26 Mar 2009 19:10:39 +0000 (20:10 +0100)]
fixes #636 - Sqlite error when merging buffer

11 years agofixing issues with hidden virtual methods
Marcus Eggenberger [Tue, 24 Mar 2009 18:00:02 +0000 (19:00 +0100)]
fixing issues with hidden virtual methods

11 years agofixing new fancy backlog requesting for mono clients
Marcus Eggenberger [Tue, 24 Mar 2009 16:56:50 +0000 (17:56 +0100)]
fixing new fancy backlog requesting for mono clients

11 years agoMerge branch 'bufferviewoverlay'
Marcus Eggenberger [Tue, 24 Mar 2009 16:36:06 +0000 (17:36 +0100)]
Merge branch 'bufferviewoverlay'

Conflicts:

src/client/client.cpp
src/client/client.h

11 years agoLazy backlog fetching for removed buffers.
Marcus Eggenberger [Tue, 24 Mar 2009 16:06:05 +0000 (17:06 +0100)]
Lazy backlog fetching for removed buffers.
Selecting a removed buffer fetches backlog for it on demand.

11 years agoactivating a view pulls in needed backlog for the displayed buffers
Marcus Eggenberger [Tue, 24 Mar 2009 14:00:45 +0000 (15:00 +0100)]
activating a view pulls in needed backlog for the displayed buffers

11 years agopruning BufferViewOverlay from stray bufferids in single network views
Marcus Eggenberger [Tue, 17 Mar 2009 18:29:28 +0000 (19:29 +0100)]
pruning BufferViewOverlay from stray bufferids in single network views

11 years agoUpdate German translation
Kevin Funk [Wed, 18 Mar 2009 13:39:39 +0000 (14:39 +0100)]
Update German translation

11 years agoPrevent AliasesSettingsPage from crashing when disconnected from core
Manuel Nickschas [Wed, 18 Mar 2009 14:50:41 +0000 (15:50 +0100)]
Prevent AliasesSettingsPage from crashing when disconnected from core

11 years agoFix issues with AppearanceSettingsPage
Manuel Nickschas [Wed, 18 Mar 2009 14:26:54 +0000 (15:26 +0100)]
Fix issues with AppearanceSettingsPage

* Load defaults properly
* Detect changes properly

11 years agoTurkish translation update
Manuel Nickschas [Wed, 18 Mar 2009 13:30:04 +0000 (14:30 +0100)]
Turkish translation update

Thanks to H. İbrahim Güngör (igungor) for this!

11 years agoOutput usage information to stdout rather than stderr
Manuel Nickschas [Wed, 18 Mar 2009 13:14:18 +0000 (14:14 +0100)]
Output usage information to stdout rather than stderr

11 years agoFrench translation
ZRegis [Mon, 16 Mar 2009 15:14:55 +0000 (15:14 +0000)]
French translation
    fix some typos and improve script translation

11 years agoDon't mention the database in --help for -c for the client
Manuel Nickschas [Wed, 18 Mar 2009 12:47:13 +0000 (13:47 +0100)]
Don't mention the database in --help for -c for the client

11 years agoImprove flood control a bit
Manuel Nickschas [Tue, 17 Mar 2009 21:46:18 +0000 (22:46 +0100)]
Improve flood control a bit

* Increase token refill rate to 2.2 seconds, should be safer
* Empty send queue on disconnect so we don't get flooded off again

This still needs some love; a bunch of very long lines still causes Excess Flood in
Freenode. I suspect we'll have to introduce a byte rate limit in addition to the line
rate limit :/

11 years agono longer requesting backlog for all buffers but only for active bufferviews
Marcus Eggenberger [Tue, 17 Mar 2009 18:22:11 +0000 (19:22 +0100)]
no longer requesting backlog for all buffers but only for active bufferviews

11 years agofixing buffer merging with postgres backend
Marcus Eggenberger [Tue, 17 Mar 2009 15:40:54 +0000 (16:40 +0100)]
fixing buffer merging with postgres backend

11 years agomoving the bufferoverlay to some static place -> the client singleton
Marcus Eggenberger [Mon, 16 Mar 2009 23:17:29 +0000 (00:17 +0100)]
moving the bufferoverlay to some static place -> the client singleton

11 years agofirst working BufferViewOverlay
Marcus Eggenberger [Mon, 16 Mar 2009 18:38:47 +0000 (19:38 +0100)]
first working BufferViewOverlay

11 years agoAdd mpris script to retreive now-playing information from compatible players via...
Manuel Nickschas [Mon, 16 Mar 2009 17:52:34 +0000 (18:52 +0100)]
Add mpris script to retreive now-playing information from compatible players via D-Bus

11 years agoinitial version of a bufferview overlay
Marcus Eggenberger [Sun, 15 Mar 2009 20:44:21 +0000 (21:44 +0100)]
initial version of a bufferview overlay

11 years agoDebug output for ping timeout issues.
Marcus Eggenberger [Mon, 16 Mar 2009 12:24:32 +0000 (13:24 +0100)]
Debug output for ping timeout issues.
If you experience ping timeout issues, please start your core with
--loglevel=Debug option to enable debug output.

11 years agoUpdate czech trans.
Tomas Chvatal [Mon, 16 Mar 2009 10:51:59 +0000 (11:51 +0100)]
Update czech trans.

11 years agofixes #627
Marcus Eggenberger [Sun, 15 Mar 2009 21:23:58 +0000 (22:23 +0100)]
fixes #627

11 years agoFixes an issue with SQLites implicit transactions vs. Quassl locking
Marcus Eggenberger [Sun, 15 Mar 2009 20:48:57 +0000 (21:48 +0100)]
Fixes an issue with SQLites implicit transactions vs. Quassl locking

11 years agoUpdate French Translation
ZRegis [Sat, 14 Mar 2009 12:28:39 +0000 (12:28 +0000)]
Update French Translation

11 years agoUpdate French Translation
ZRegis [Tue, 10 Mar 2009 15:58:23 +0000 (15:58 +0000)]
Update French Translation

11 years agoFrench Translation update
ZRegis [Tue, 10 Mar 2009 15:49:22 +0000 (15:49 +0000)]
French Translation update

11 years agoFrench Translation Update
ZRegis [Fri, 6 Mar 2009 12:03:40 +0000 (12:03 +0000)]
French Translation Update

11 years agoUse %n for plural form in translation string
Manuel Nickschas [Sun, 15 Mar 2009 19:56:40 +0000 (20:56 +0100)]
Use %n for plural form in translation string

11 years agoRussian translation update +plural fix in paste protection.
Edward Hades [Sun, 22 Feb 2009 11:59:04 +0000 (14:59 +0300)]
Russian translation update +plural fix in paste protection.

11 years agoUpdated Russian translation.
Edward Hades [Fri, 16 Jan 2009 11:03:57 +0000 (14:03 +0300)]
Updated Russian translation.

11 years agoUpdated Slovenian translation for Quassel IRC 0.4.0
Jure Repinc [Fri, 20 Feb 2009 15:26:53 +0000 (16:26 +0100)]
Updated Slovenian translation for Quassel IRC 0.4.0

11 years agoUse correct Window/Page titles for categories
Sebastian Goth [Sat, 14 Mar 2009 14:38:23 +0000 (15:38 +0100)]
Use correct Window/Page titles for categories

11 years agoAdd ' to urlChars. Fixes #626
Sebastian Goth [Sat, 14 Mar 2009 23:13:56 +0000 (00:13 +0100)]
Add ' to urlChars. Fixes #626

11 years agoRemove old Qtopia code from dev-notes/obsolete - we have version control
Manuel Nickschas [Sun, 15 Mar 2009 12:58:05 +0000 (13:58 +0100)]
Remove old Qtopia code from dev-notes/obsolete - we have version control

11 years agoBump inxi script to 1.0.8
Manuel Nickschas [Sat, 14 Mar 2009 23:24:52 +0000 (00:24 +0100)]
Bump inxi script to 1.0.8

11 years agoreally don't..
Sebastian Goth [Sat, 14 Mar 2009 22:43:23 +0000 (23:43 +0100)]
really don't..

11 years agoSet working directory for scripts to their scriptdir
Manuel Nickschas [Sat, 14 Mar 2009 22:54:41 +0000 (23:54 +0100)]
Set working directory for scripts to their scriptdir

11 years agoProperly handle whitespace in script paths
Manuel Nickschas [Sat, 14 Mar 2009 22:49:14 +0000 (23:49 +0100)]
Properly handle whitespace in script paths

11 years agoDon't send empty lines with KTextEdit
Sebastian Goth [Sat, 14 Mar 2009 12:55:40 +0000 (13:55 +0100)]
Don't send empty lines with KTextEdit

Fixes #623.

11 years agoVarious tweaks to the input line in KDE mode
Manuel Nickschas [Sat, 14 Mar 2009 22:43:26 +0000 (23:43 +0100)]
Various tweaks to the input line in KDE mode

* Resize correctly according to font size, fixes #625
* Handle Ctrl+F correctly, thanks to Jesper Thomschütz for input

11 years agoUse standard key sequence for toggling search rather than hardcoding Ctrl+F
Manuel Nickschas [Sat, 14 Mar 2009 22:33:02 +0000 (23:33 +0100)]
Use standard key sequence for toggling search rather than hardcoding Ctrl+F

11 years agoMove ActionCollection handling from QtUi to GraphicalUi
Manuel Nickschas [Sat, 14 Mar 2009 22:29:18 +0000 (23:29 +0100)]
Move ActionCollection handling from QtUi to GraphicalUi

Needed to allow stuff in uisupport to access action collections.

11 years agoAdd extra spacing to deal with borders so that the input text doesn't "bounce"
Jesper Thomschütz [Sat, 14 Mar 2009 19:23:57 +0000 (21:23 +0200)]
Add extra spacing to deal with borders so that the input text doesn't "bounce"

11 years agoProperly handle \r and \n
Manuel Nickschas [Sat, 14 Mar 2009 01:13:06 +0000 (02:13 +0100)]
Properly handle \r and \n

We now treat \r, \n and \r\n as linebreak, fixing a problem with windows-based
scripts. Also we don't accept ..\ in the script name anymore.

11 years agoSome more tweaks to the KDEified input line
Manuel Nickschas [Sat, 14 Mar 2009 01:11:23 +0000 (02:11 +0100)]
Some more tweaks to the KDEified input line

* Remove unneeded context menu entries
* Properly handle the return key
* Scroll is better than wrap :>

11 years agoCatch recursion in message logger.
Jesper Thomschütz [Fri, 13 Mar 2009 22:41:21 +0000 (00:41 +0200)]
Catch recursion in message logger.

11 years agoUse KTextEdit instead of QLineEdit. On most KDE systems this means Spell Check support!
Jesper Thomschütz [Fri, 13 Mar 2009 15:53:11 +0000 (17:53 +0200)]
Use KTextEdit instead of QLineEdit. On most KDE systems this means Spell Check support!

11 years agoAdd inxi script for system information
Manuel Nickschas [Fri, 13 Mar 2009 22:58:28 +0000 (23:58 +0100)]
Add inxi script for system information

This is only installed for non-Windows systems. We also provide default
aliases /sysinfo and /inxi.

Thanks a lot to Harald "h2" Hope for promptly adding Quassel support to inxi,
and encouraging us to ship this great script!

11 years agoChange signal names in ExecWrapper to not collide with stdout/stderr (MSVC hates...
Manuel Nickschas [Fri, 13 Mar 2009 22:23:18 +0000 (23:23 +0100)]
Change signal names in ExecWrapper to not collide with stdout/stderr (MSVC hates this)

11 years agoUse stdout for --version
Manuel Nickschas [Fri, 13 Mar 2009 21:56:55 +0000 (22:56 +0100)]
Use stdout for --version

11 years agoAdd --version (-v) switch for non-KDEified Quassel
Manuel Nickschas [Fri, 13 Mar 2009 21:32:27 +0000 (22:32 +0100)]
Add --version (-v) switch for non-KDEified Quassel

11 years agoUse correct encoding (system locale) for processing script data
Manuel Nickschas [Fri, 13 Mar 2009 20:07:16 +0000 (21:07 +0100)]
Use correct encoding (system locale) for processing script data

11 years agoExecWrapper tweaks
Manuel Nickschas [Fri, 13 Mar 2009 18:05:54 +0000 (19:05 +0100)]
ExecWrapper tweaks

We now handle params for scripts sanely, plus we refuse to execute ../ in script names
to avoid breaking out of our scripts jail.

11 years agoEmpty output buffers on script termination
Manuel Nickschas [Fri, 13 Mar 2009 09:16:58 +0000 (10:16 +0100)]
Empty output buffers on script termination

11 years agoIntroduce /exec support for running simple client-side scripts
Manuel Nickschas [Thu, 12 Mar 2009 23:56:08 +0000 (00:56 +0100)]
Introduce /exec support for running simple client-side scripts

/exec myscript [param1 param2 ...] runs an executable named "myscript" in one of the acceptable
script dirs ($configdir/scripts, $datadir/scripts) and pipes its stdout into IRC. This is not much,
but enough to run stuff like infobash/inxi or the infamous now-playing stuff :P

It's recommended to use aliases for invoking scripts, e.g. /audio could expand to /exec nowplaying,
where nowplaying is your fancy script that queries your Amarok for the current song.

Now keep 'em scripts coming, good ones will be included in our repo :)

11 years agoMove the client's AliasManager into Client
Manuel Nickschas [Thu, 12 Mar 2009 23:08:02 +0000 (00:08 +0100)]
Move the client's AliasManager into Client

Used to be in AliasesModel used by the settingspage, but we also need it for handling
input, so we move it into Client proper. Note that existence of the AliasManager is only
guaranteed as long as Client::isConnected() == true.

11 years agoAdd Quassel::scriptDirPaths() to get a list of locations we look for scripts in
Manuel Nickschas [Thu, 5 Mar 2009 15:59:47 +0000 (16:59 +0100)]
Add Quassel::scriptDirPaths() to get a list of locations we look for scripts in

This includes a subdirectory named scripts/ in the configdir and in all dataDirPaths(),
where configdir/scripts/ takes precedence to allow for overriding the system installation.