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.
Marcus Eggenberger [Thu, 26 Mar 2009 22:46:06 +0000 (23:46 +0100)]
removing debug output
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
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
Marcus Eggenberger [Thu, 26 Mar 2009 19:10:39 +0000 (20:10 +0100)]
fixes #636 - Sqlite error when merging buffer
Marcus Eggenberger [Tue, 24 Mar 2009 18:00:02 +0000 (19:00 +0100)]
fixing issues with hidden virtual methods
Marcus Eggenberger [Tue, 24 Mar 2009 16:56:50 +0000 (17:56 +0100)]
fixing new fancy backlog requesting for mono clients
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
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.
Marcus Eggenberger [Tue, 24 Mar 2009 14:00:45 +0000 (15:00 +0100)]
activating a view pulls in needed backlog for the displayed buffers
Marcus Eggenberger [Tue, 17 Mar 2009 18:29:28 +0000 (19:29 +0100)]
pruning BufferViewOverlay from stray bufferids in single network views
Kevin Funk [Wed, 18 Mar 2009 13:39:39 +0000 (14:39 +0100)]
Update German translation
Manuel Nickschas [Wed, 18 Mar 2009 14:50:41 +0000 (15:50 +0100)]
Prevent AliasesSettingsPage from crashing when disconnected from core
Manuel Nickschas [Wed, 18 Mar 2009 14:26:54 +0000 (15:26 +0100)]
Fix issues with AppearanceSettingsPage
* Load defaults properly
* Detect changes properly
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!
Manuel Nickschas [Wed, 18 Mar 2009 13:14:18 +0000 (14:14 +0100)]
Output usage information to stdout rather than stderr
ZRegis [Mon, 16 Mar 2009 15:14:55 +0000 (15:14 +0000)]
French translation
fix some typos and improve script translation
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
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 :/
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
Marcus Eggenberger [Tue, 17 Mar 2009 15:40:54 +0000 (16:40 +0100)]
fixing buffer merging with postgres backend
Marcus Eggenberger [Mon, 16 Mar 2009 23:17:29 +0000 (00:17 +0100)]
moving the bufferoverlay to some static place -> the client singleton
Marcus Eggenberger [Mon, 16 Mar 2009 18:38:47 +0000 (19:38 +0100)]
first working BufferViewOverlay
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
Marcus Eggenberger [Sun, 15 Mar 2009 20:44:21 +0000 (21:44 +0100)]
initial version of a bufferview overlay
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.
Tomas Chvatal [Mon, 16 Mar 2009 10:51:59 +0000 (11:51 +0100)]
Update czech trans.
Marcus Eggenberger [Sun, 15 Mar 2009 21:23:58 +0000 (22:23 +0100)]
fixes #627
Marcus Eggenberger [Sun, 15 Mar 2009 20:48:57 +0000 (21:48 +0100)]
Fixes an issue with SQLites implicit transactions vs. Quassl locking
ZRegis [Sat, 14 Mar 2009 12:28:39 +0000 (12:28 +0000)]
Update French Translation
ZRegis [Tue, 10 Mar 2009 15:58:23 +0000 (15:58 +0000)]
Update French Translation
ZRegis [Tue, 10 Mar 2009 15:49:22 +0000 (15:49 +0000)]
French Translation update
ZRegis [Fri, 6 Mar 2009 12:03:40 +0000 (12:03 +0000)]
French Translation Update
Manuel Nickschas [Sun, 15 Mar 2009 19:56:40 +0000 (20:56 +0100)]
Use %n for plural form in translation string
Edward Hades [Sun, 22 Feb 2009 11:59:04 +0000 (14:59 +0300)]
Russian translation update +plural fix in paste protection.
Edward Hades [Fri, 16 Jan 2009 11:03:57 +0000 (14:03 +0300)]
Updated Russian translation.
Jure Repinc [Fri, 20 Feb 2009 15:26:53 +0000 (16:26 +0100)]
Updated Slovenian translation for Quassel IRC 0.4.0
Sebastian Goth [Sat, 14 Mar 2009 14:38:23 +0000 (15:38 +0100)]
Use correct Window/Page titles for categories
Sebastian Goth [Sat, 14 Mar 2009 23:13:56 +0000 (00:13 +0100)]
Add ' to urlChars. Fixes #626
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
Manuel Nickschas [Sat, 14 Mar 2009 23:24:52 +0000 (00:24 +0100)]
Bump inxi script to 1.0.8
Sebastian Goth [Sat, 14 Mar 2009 22:43:23 +0000 (23:43 +0100)]
really don't..
Manuel Nickschas [Sat, 14 Mar 2009 22:54:41 +0000 (23:54 +0100)]
Set working directory for scripts to their scriptdir
Manuel Nickschas [Sat, 14 Mar 2009 22:49:14 +0000 (23:49 +0100)]
Properly handle whitespace in script paths
Sebastian Goth [Sat, 14 Mar 2009 12:55:40 +0000 (13:55 +0100)]
Don't send empty lines with KTextEdit
Fixes #623.
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
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
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.
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"
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.
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 :>
Jesper Thomschütz [Fri, 13 Mar 2009 22:41:21 +0000 (00:41 +0200)]
Catch recursion in message logger.
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!
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!
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)
Manuel Nickschas [Fri, 13 Mar 2009 21:56:55 +0000 (22:56 +0100)]
Use stdout for --version
Manuel Nickschas [Fri, 13 Mar 2009 21:32:27 +0000 (22:32 +0100)]
Add --version (-v) switch for non-KDEified Quassel
Manuel Nickschas [Fri, 13 Mar 2009 20:07:16 +0000 (21:07 +0100)]
Use correct encoding (system locale) for processing script data
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.
Manuel Nickschas [Fri, 13 Mar 2009 09:16:58 +0000 (10:16 +0100)]
Empty output buffers on script termination
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 :)
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.
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.
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.
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.
Manuel Nickschas [Mon, 2 Mar 2009 07:52:10 +0000 (08:52 +0100)]
Initialize ClientUserInputHandler in init() rather than the ctor
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.
quassel [Fri, 13 Mar 2009 15:44:07 +0000 (15:44 +0000)]
Handle empty LINK_EXTRA
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.
Marcus Eggenberger [Thu, 12 Mar 2009 17:35:58 +0000 (18:35 +0100)]
adding --change-userpass=<username> option to the core
Marcus Eggenberger [Thu, 12 Mar 2009 12:01:18 +0000 (13:01 +0100)]
Preserving the order of bound values when dumping error messages
Marcus Eggenberger [Thu, 12 Mar 2009 12:00:57 +0000 (13:00 +0100)]
Treating invalid IdentityIds as NULL values
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
Marcus Eggenberger [Wed, 11 Mar 2009 18:18:06 +0000 (19:18 +0100)]
fixes #609 - bufferview not correctly sorted