quassel.git
15 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

15 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

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

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

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

15 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

15 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

15 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.

15 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

15 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

15 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.

15 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).

15 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

15 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.

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

15 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

15 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.

15 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

15 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

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

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

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

15 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.

15 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

15 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

15 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.

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

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

15 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

15 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

15 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!

15 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

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

15 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

15 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 :/

15 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

15 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

15 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

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

15 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

15 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

15 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.

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

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

15 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

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

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

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

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

15 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

15 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.

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

15 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

15 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

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

15 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

15 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

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

15 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

15 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

15 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.

15 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

15 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

15 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.

15 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"

15 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.

15 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 :>

15 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.

15 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!

15 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!

15 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)

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

15 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

15 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

15 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.

15 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

15 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 :)

15 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.

15 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.

15 years agoAdd MessageModel::insertErrorMessage()
Manuel Nickschas [Thu, 5 Mar 2009 15:57:38 +0000 (16:57 +0100)]
Add MessageModel::insertErrorMessage()

This allows displaying transient client-side error messages (e.g. for script execution).
These error messages are not sent to the core and hence not stored in the database.

15 years agoMoving alias expansion yet again - this time into AliasManager itself
Manuel Nickschas [Wed, 4 Mar 2009 10:56:41 +0000 (11:56 +0100)]
Moving alias expansion yet again - this time into AliasManager itself

We need alias handling both client (for /exec) and core (for perform) side.
Thus, we need it in mod_common. AliasManager is now able to process an input
line, providing a list of resulting commands. In doing this, it also ensures that
privmsgs are always prefixed by /SAY.
The client and core input handlers both pipe commands through AliasManager now. At
some point, we can think about client-only and core-only aliases, maybe.

15 years agoInitialize ClientUserInputHandler in init() rather than the ctor
Manuel Nickschas [Mon, 2 Mar 2009 07:52:10 +0000 (08:52 +0100)]
Initialize ClientUserInputHandler in init() rather than the ctor

15 years agoMove alias handling into the client
Manuel Nickschas [Mon, 2 Mar 2009 07:50:49 +0000 (08:50 +0100)]
Move alias handling into the client

This allows for aliasing client-side commands such as the soon-to-exist
/exec command.
Note that the core-side code is still there, to be removed as soon as we
break protocol again.

15 years agoHandle empty LINK_EXTRA
quassel [Fri, 13 Mar 2009 15:44:07 +0000 (15:44 +0000)]
Handle empty LINK_EXTRA

15 years agoAdd -DLINK_EXTRA to the buildsys to allow for specifying additional libs to link
Manuel Nickschas [Fri, 13 Mar 2009 15:25:51 +0000 (16:25 +0100)]
Add -DLINK_EXTRA to the buildsys to allow for specifying additional libs to link

This is intended for adding missing libs for static builds, as deps are not always picked
up correctly. As it is highly system- and configuration-specific, we can't hardcode those libs
in the buildsys.

For example, to build a static core with postgres support, I need:
-DLINK_EXTRA=pq,crypt

Also fix a warning for WIN32.

15 years agoadding --change-userpass=<username> option to the core
Marcus Eggenberger [Thu, 12 Mar 2009 17:35:58 +0000 (18:35 +0100)]
adding --change-userpass=<username> option to the core

15 years agoPreserving the order of bound values when dumping error messages
Marcus Eggenberger [Thu, 12 Mar 2009 12:01:18 +0000 (13:01 +0100)]
Preserving the order of bound values when dumping error messages

15 years agoTreating invalid IdentityIds as NULL values
Marcus Eggenberger [Thu, 12 Mar 2009 12:00:57 +0000 (13:00 +0100)]
Treating invalid IdentityIds as NULL values

15 years agofixes a bug where the data/config-dir option was not availble in the client
Marcus Eggenberger [Wed, 11 Mar 2009 18:18:25 +0000 (19:18 +0100)]
fixes a bug where the data/config-dir option was not availble in the client

15 years agofixes #609 - bufferview not correctly sorted
Marcus Eggenberger [Wed, 11 Mar 2009 18:18:06 +0000 (19:18 +0100)]
fixes #609 - bufferview not correctly sorted

15 years agofixes #580 - nick-dropdown is updated even if nickchange fails
Marcus Eggenberger [Wed, 11 Mar 2009 16:51:21 +0000 (17:51 +0100)]
fixes #580 - nick-dropdown is updated even if nickchange fails