quassel.git
9 years agodon't rely on implicit typecast when using postgres
Marcus Eggenberger [Sun, 15 Nov 2009 11:33:37 +0000 (12:33 +0100)]
don't rely on implicit typecast when using postgres

9 years agoNever send empty netsplit-quit messages
Sebastian Goth [Wed, 11 Nov 2009 21:58:16 +0000 (22:58 +0100)]
Never send empty netsplit-quit messages

9 years agoMake sure NickView::customEvent() has a valid model
Manuel Nickschas [Mon, 9 Nov 2009 00:44:24 +0000 (01:44 +0100)]
Make sure NickView::customEvent() has a valid model

We've gotten backtraces that indicate crashes in this method, and all that I can
see could be wrong is an invalid model() pointer. Can't really explain that for now,
but let's introduce a check just to make sure.

9 years agoFix Quassel not rejoining newly joined channels
Daniel Albers [Sun, 8 Nov 2009 23:21:09 +0000 (00:21 +0100)]
Fix Quassel not rejoining newly joined channels

Since this is the only current rejoin issue I'm aware off this should
fix #214

9 years agowarning--
Marcus Eggenberger [Sun, 8 Nov 2009 12:17:27 +0000 (13:17 +0100)]
warning--

9 years agoMake sure that text lines aren't squeezed together in new Qt versions
Manuel Nickschas [Fri, 6 Nov 2009 17:55:37 +0000 (18:55 +0100)]
Make sure that text lines aren't squeezed together in new Qt versions

In recent Qt 4.6 versions, there is a commit[1] that changes behavior wrt to lineSpacing() and
friends. Since (at least on my box) the font leading (the distance between text lines) seems to be
always -1 (for reasons as of yet unbeknownst to me), using lineSpacing() lets text lines in ChatView
overlap. This workarounds this with using at least height().

[1] http://qt.gitorious.org/qt/qt/commit/04d18b38c38c5ff623b30366ea08d56128b9b7d0

9 years agodebug--
Manuel Nickschas [Thu, 5 Nov 2009 14:03:44 +0000 (15:03 +0100)]
debug--

9 years agofixing weird scrolling behavior when fetching dynamic backlog
Marcus Eggenberger [Thu, 5 Nov 2009 13:34:27 +0000 (14:34 +0100)]
fixing weird scrolling behavior when fetching dynamic backlog

9 years agoAdd jussi01's dark stylesheet
Jussi Schultink [Sun, 1 Nov 2009 10:53:54 +0000 (12:53 +0200)]
Add jussi01's dark stylesheet

9 years agoMake Sun Studio happy again
Manuel Nickschas [Thu, 29 Oct 2009 13:07:19 +0000 (14:07 +0100)]
Make Sun Studio happy again

Remove superfluous semicolons trailing Qt macros. Sun Studio seems to hate that.
Thanks <johannes> for the patch!

9 years agoUpdate cs.ts to remove the obsolete entries and add 2 new strings.
Tomáš Chvátal [Thu, 22 Oct 2009 09:13:20 +0000 (11:13 +0200)]
Update cs.ts to remove the obsolete entries and add 2 new strings.

9 years agoUpdate ChangeLog
Manuel Nickschas [Tue, 20 Oct 2009 17:43:09 +0000 (19:43 +0200)]
Update ChangeLog

Should've done that prior to release, I guess :)

9 years agoRevert "Change application entry in indicator menu to behave like system tray icon"
Manuel Nickschas [Mon, 19 Oct 2009 10:47:55 +0000 (12:47 +0200)]
Revert "Change application entry in indicator menu to behave like system tray icon"

Requested by downstream.

This reverts commit 96daf18d3b7d183d41d2ce2cb0f25f10b45030e4.

9 years agoUpdate French translation
ZRegis [Thu, 15 Oct 2009 14:29:28 +0000 (16:29 +0200)]
Update French translation
    add several missing translations

9 years agoupdate Tooltip text according to the Interface text in ignore list dialog
ZRegis [Thu, 15 Oct 2009 14:28:28 +0000 (16:28 +0200)]
update Tooltip text according to the Interface text in ignore list dialog

9 years agoMark missing settingsKey name as non-translateable
ZRegis [Thu, 15 Oct 2009 08:52:39 +0000 (10:52 +0200)]
Mark missing settingsKey name as non-translateable

9 years agoFix typo on string
ZRegis [Thu, 15 Oct 2009 08:51:30 +0000 (10:51 +0200)]
Fix typo on string

9 years agoUpdate in French Translation
ZRegis [Thu, 15 Oct 2009 08:11:13 +0000 (10:11 +0200)]
Update in French Translation

9 years agoChange application entry in indicator menu to behave like system tray icon
Aurelien Gateau [Mon, 12 Oct 2009 12:50:06 +0000 (14:50 +0200)]
Change application entry in indicator menu to behave like system tray icon

9 years agoFinished up the Finnish translation
Atte Virtanen [Tue, 13 Oct 2009 16:00:59 +0000 (19:00 +0300)]
Finished up the Finnish translation

9 years agoBump version.inc for release 0.5.0
Manuel Nickschas [Wed, 14 Oct 2009 20:45:05 +0000 (22:45 +0200)]
Bump version.inc for release

9 years agoIf available, use KDE API to force window activation.
Aurélien Gâteau [Wed, 14 Oct 2009 13:35:46 +0000 (15:35 +0200)]
If available, use KDE API to force window activation.

9 years agoThis should fix the racecondition issues with the sqlite backend.
Marcus Eggenberger [Mon, 12 Oct 2009 14:15:03 +0000 (16:15 +0200)]
This should fix the racecondition issues with the sqlite backend.
From EgS with love :)

9 years agoBuild with deprecated cmake versions
Manuel Nickschas [Sun, 11 Oct 2009 21:29:38 +0000 (23:29 +0200)]
Build with deprecated cmake versions

Simplified the conditionals a bit. Thanks to DeepDiver for pointing this out.

Fixes #820.

9 years agoDon't loop indefinitely while trying to teach manners to Qt
Manuel Nickschas [Fri, 9 Oct 2009 16:10:31 +0000 (18:10 +0200)]
Don't loop indefinitely while trying to teach manners to Qt

Fugly hack wasn't fugly enough.

9 years agofix webpreview for urls with url-encoded chars
Daniel Albers [Thu, 8 Oct 2009 18:30:11 +0000 (20:30 +0200)]
fix webpreview for urls with url-encoded chars

Also switches argument of WebPreviewItem() and friends from QString to QUrl to make sure the caller takes care of the appropriate string conversion.
Test case: http://de.wikipedia.org/wiki/München http://de.wikipedia.org/wiki/M%C3%BCnchen

9 years agoreorganize crash handling
Daniel Albers [Tue, 6 Oct 2009 22:15:06 +0000 (00:15 +0200)]
reorganize crash handling

When building with KDE support, internal crash handler is disabled in favor of DrKonqi

9 years agoDon't enable Ayatana by default
Manuel Nickschas [Fri, 2 Oct 2009 16:09:24 +0000 (18:09 +0200)]
Don't enable Ayatana by default

9 years agoBump version.inc for release 0.5-rc2
Manuel Nickschas [Fri, 2 Oct 2009 13:18:42 +0000 (15:18 +0200)]
Bump version.inc for release

9 years agoWrite aliases+ignorelist changes to DB immediately
Sebastian Goth [Tue, 29 Sep 2009 15:39:35 +0000 (17:39 +0200)]
Write aliases+ignorelist changes to DB immediately

Hopefully pleases EgS and fixes #809

9 years agoUpdated Finnish translation
Atte Virtanen [Tue, 29 Sep 2009 22:55:38 +0000 (01:55 +0300)]
Updated Finnish translation

9 years agoCheck for IrcUser's existence in handleMode()
Manuel Nickschas [Wed, 30 Sep 2009 12:10:31 +0000 (14:10 +0200)]
Check for IrcUser's existence in handleMode()

9 years agoEscape % in the user name
Manuel Nickschas [Tue, 29 Sep 2009 22:41:22 +0000 (00:41 +0200)]
Escape % in the user name

Bitlbee does strange stuff, apparently.

9 years agodisable umask on Windows
Daniel Albers [Tue, 29 Sep 2009 14:00:47 +0000 (16:00 +0200)]
disable umask on Windows

9 years agoMark settingsKey names as non-translateable
Manuel Nickschas [Tue, 29 Sep 2009 13:35:43 +0000 (15:35 +0200)]
Mark settingsKey names as non-translateable

This is a 4.5 designer feature. Let's hope it works with 4.4's uic too.

9 years agoDon't translate settingskeys
Manuel Nickschas [Tue, 29 Sep 2009 13:16:00 +0000 (15:16 +0200)]
Don't translate settingskeys

9 years agos/userinputhandler/coreuserinputhandler/ in .ts files
Manuel Nickschas [Tue, 29 Sep 2009 13:13:26 +0000 (15:13 +0200)]
s/userinputhandler/coreuserinputhandler/ in .ts files

Avoids new strings showing up, we're in string freeze...

9 years agocore defaults to safer umask
Daniel Albers [Tue, 29 Sep 2009 11:18:17 +0000 (13:18 +0200)]
core defaults to safer umask

Fixes #804

9 years agofix core ceasing to reconnect
Daniel Albers [Mon, 28 Sep 2009 22:46:44 +0000 (00:46 +0200)]
fix core ceasing to reconnect

Fixes #776

9 years agoSend text on shift+return in SingleLine mode
Sebastian Goth [Sat, 26 Sep 2009 21:01:31 +0000 (23:01 +0200)]
Send text on shift+return in SingleLine mode

Accept shift+return as normal return KeyEvent if a multilineedit
is in SingleLine mode.

9 years agoAdd small delay to chatview search
Sebastian Goth [Thu, 24 Sep 2009 20:30:57 +0000 (22:30 +0200)]
Add small delay to chatview search

Adding 300ms delay until chatview searchbar updates the view.
CPU time wasted--

9 years agoFix indicator server type.
Aurelien Gateau [Mon, 28 Sep 2009 10:20:23 +0000 (12:20 +0200)]
Fix indicator server type.

This way Quassel appears in GNOME indicator as well.

9 years agoRename UserInputHandler to CoreUserInputHandler
Manuel Nickschas [Fri, 25 Sep 2009 15:44:27 +0000 (17:44 +0200)]
Rename UserInputHandler to CoreUserInputHandler

We also have ClientUserInputHandler, so let's deconfuzzle developers.

9 years agodon't require regex highlights to match whole line
Daniel Albers [Wed, 23 Sep 2009 19:05:23 +0000 (21:05 +0200)]
don't require regex highlights to match whole line

9 years agoCorrectly load taskbar alert timeout from settings, thanks amiconn
Manuel Nickschas [Tue, 22 Sep 2009 22:37:32 +0000 (00:37 +0200)]
Correctly load taskbar alert timeout from settings, thanks amiconn

9 years agoFix potential core crash
Sebastian Goth [Tue, 22 Sep 2009 13:07:52 +0000 (15:07 +0200)]
Fix potential core crash

Don't crash if a message is still in the coresession messagequeue
while the corresponding network has already been deleted by a user.

9 years agoMake the "Allow colored text" option work
Manuel Nickschas [Tue, 22 Sep 2009 16:23:56 +0000 (18:23 +0200)]
Make the "Allow colored text" option work

Fixes #801.

9 years agoPeriodically save all settings of a coresession
Sebastian Goth [Mon, 21 Sep 2009 17:39:52 +0000 (19:39 +0200)]
Periodically save all settings of a coresession

Streamline all managers to get saved via syncTimer and on session shutdown.

9 years agoAllow tab completion of nicks after various chars
Sebastian Goth [Mon, 21 Sep 2009 11:35:02 +0000 (13:35 +0200)]
Allow tab completion of nicks after various chars

This allows nick completion after @ or ( and some more.
Completion doesn't work after -_[]{}|`^.\ or any number or text
as those might belong to the nick and we still want support
for easy completion of ^A`w3s0m3_N1x}

Fixes #812

9 years agode.ts now everything should be translated
Martin Mayer [Mon, 21 Sep 2009 11:14:34 +0000 (13:14 +0200)]
de.ts now everything should be translated

9 years agocs.ts Finish up. 100% strings translated. Now review is required :]
Tomáš Chvátal [Mon, 21 Sep 2009 09:54:48 +0000 (11:54 +0200)]
cs.ts Finish up. 100% strings translated. Now review is required :]

9 years agosome minor changes in german translation
Matthias Coy [Mon, 21 Sep 2009 10:59:26 +0000 (12:59 +0200)]
some minor changes in german translation

9 years agocs.ts translate bufferlog "unlimited" string.
Tomáš Chvátal [Mon, 21 Sep 2009 10:22:03 +0000 (12:22 +0200)]
cs.ts translate bufferlog "unlimited" string.

9 years agoAllow unlimited initial backlog fetch
Manuel Nickschas [Mon, 21 Sep 2009 08:30:16 +0000 (10:30 +0200)]
Allow unlimited initial backlog fetch

You can now select "Unlimited" as the limit for fetching new messages
in the Unread Messages requester, ensuring that you'll get all new messages.
Also, this increases the selectable limit to 99999.

9 years agoFix initial backlog for buffers with no new messages
Manuel Nickschas [Mon, 21 Sep 2009 08:06:19 +0000 (10:06 +0200)]
Fix initial backlog for buffers with no new messages

9 years agoInvalidate messagefilter only for visible views
Sebastian Goth [Sat, 19 Sep 2009 14:42:24 +0000 (16:42 +0200)]
Invalidate messagefilter only for visible views

After any changes to the ignore list, only invalidate filters
for chatmonitor and the currently selected chatview.
Other chatviews invalidate whenever they get shown.

9 years agomake topicWidget capable of unsetting the topic
Daniel Albers [Thu, 17 Sep 2009 20:23:52 +0000 (22:23 +0200)]
make topicWidget capable of unsetting the topic

9 years agotiny refactoring
Daniel Albers [Thu, 17 Sep 2009 20:23:51 +0000 (22:23 +0200)]
tiny refactoring

InputWidget::sendText() → ::on_inputEdit_textEntered()

9 years agoSlightly prettify and verbosify CMake output
Manuel Nickschas [Wed, 16 Sep 2009 22:29:16 +0000 (00:29 +0200)]
Slightly prettify and verbosify CMake output

9 years agoPass the desktop file in a shell-independent way.
Aurelien Gateau [Wed, 16 Sep 2009 14:41:19 +0000 (16:41 +0200)]
Pass the desktop file in a shell-independent way.

(Hopefully)

9 years agoPorted to libindicate 0.2.1.
Aurelien Gateau [Wed, 16 Sep 2009 13:34:59 +0000 (15:34 +0200)]
Ported to libindicate 0.2.1.

9 years agocs.ts update.
Tomáš Chvátal [Tue, 15 Sep 2009 10:35:54 +0000 (12:35 +0200)]
cs.ts update.

9 years agoFix string text in ignorelist hint.
Tomáš Chvátal [Tue, 15 Sep 2009 10:30:40 +0000 (12:30 +0200)]
Fix string text in ignorelist hint.

9 years agoDon't crash on creating a ChatView containing redirected messages
Manuel Nickschas [Tue, 15 Sep 2009 12:09:31 +0000 (14:09 +0200)]
Don't crash on creating a ChatView containing redirected messages

We must fill the model first before we connect the dataChanged() signal, because message filters
might setData() while populating proxymodels.

9 years agoMake Ayatana notifications optional
Manuel Nickschas [Tue, 15 Sep 2009 08:57:10 +0000 (10:57 +0200)]
Make Ayatana notifications optional

-DWITH_LIBINDICATE=(ON|OFF) tells cmake to (not) check for libindicate-qt.
Default is ON.

9 years agoEscape % in hostnames
Manuel Nickschas [Tue, 15 Sep 2009 08:48:07 +0000 (10:48 +0200)]
Escape % in hostnames

9 years agoproperly escape DESKTOP_FILE macro
Daniel Albers [Tue, 15 Sep 2009 08:38:07 +0000 (10:38 +0200)]
properly escape DESKTOP_FILE macro

at least for common shells like bash, csh, ksh

9 years agoShow one-letter words again
Manuel Nickschas [Tue, 15 Sep 2009 06:56:25 +0000 (08:56 +0200)]
Show one-letter words again

Looks like QTextBoundaryFinder has a pathological issue with strings of length 1.

9 years agoDon't require FindPkgConfig.cmake
Manuel Nickschas [Thu, 10 Sep 2009 20:50:25 +0000 (22:50 +0200)]
Don't require FindPkgConfig.cmake

This is a KDE-specific package and not likely to be around on other platforms.

9 years agoSwitch to correct buffer when indicator is activated.
Aurelien Gateau [Wed, 26 Aug 2009 15:26:57 +0000 (17:26 +0200)]
Switch to correct buffer when indicator is activated.

9 years agoShow window when server is activated.
Aurelien Gateau [Wed, 26 Aug 2009 15:15:36 +0000 (17:15 +0200)]
Show window when server is activated.

9 years agoSupport for icon.
Aurelien Gateau [Wed, 26 Aug 2009 15:04:43 +0000 (17:04 +0200)]
Support for icon.

9 years agoProper sender text
Aurelien Gateau [Wed, 26 Aug 2009 14:45:08 +0000 (16:45 +0200)]
Proper sender text

9 years agoBasic implementation of indicators.
Aurelien Gateau [Wed, 26 Aug 2009 13:51:46 +0000 (15:51 +0200)]
Basic implementation of indicators.

9 years agoCompile with Qt 4.6
Manuel Nickschas [Mon, 14 Sep 2009 18:50:54 +0000 (20:50 +0200)]
Compile with Qt 4.6

9 years agoWorkaround the wordwrap issues with Qt
Manuel Nickschas [Mon, 14 Sep 2009 17:57:21 +0000 (19:57 +0200)]
Workaround the wordwrap issues with Qt

This is a real fugly workaround for Qt bug 238249. As long as it makes Quassel wrap words correctly,
I'm willing to live with it though.

There's still some pathological cases where we still get it wrong (long URLs with real narrow columns,
apparently), but meh.

Closes #579, closes #704.

9 years agoGreatly simplify the wrap point computation
Manuel Nickschas [Mon, 14 Sep 2009 17:56:25 +0000 (19:56 +0200)]
Greatly simplify the wrap point computation

Looks like I've finally understood QWordBoundaryFinder. This gets rid of a bunch
of real ugly and slightly buggy code.

9 years agoFix wordwrap in some cases
Manuel Nickschas [Sat, 12 Sep 2009 09:53:00 +0000 (11:53 +0200)]
Fix wordwrap in some cases

This fixes the case where sometimes lines wouldn't wrap at the end.
This is not a fix for the wrap-within-words bug, though.

9 years agocs.ts Strings sync with HEAD.
Tomáš Chvátal [Mon, 14 Sep 2009 12:36:31 +0000 (14:36 +0200)]
cs.ts Strings sync with HEAD.

9 years agoLess is more is better contextmenu
Sebastian Goth [Mon, 14 Sep 2009 10:36:03 +0000 (12:36 +0200)]
Less is more is better contextmenu

- Don't show predefined ignore rules twice
  in case there is no difference between
  host.domain.tld and domain.tld
- Don't fuckup IPs

9 years agoHiding Quits/Joins also hides netsplit quits/joins now. If you already hid Quit/Joins...
Sebastian Goth [Fri, 28 Aug 2009 12:24:37 +0000 (14:24 +0200)]
Hiding Quits/Joins also hides netsplit quits/joins now. If you already hid Quit/Joins, please unhide and hide them again.

9 years agode.ts little fix of ignore-translation seezer borked 1 line and I patched too fast ;)
Martin Mayer [Sun, 13 Sep 2009 21:08:13 +0000 (23:08 +0200)]
de.ts little fix of ignore-translation seezer borked 1 line and I patched too fast ;)

9 years agoupdate and (try to) improve german translations
Martin Mayer [Sun, 13 Sep 2009 20:10:36 +0000 (22:10 +0200)]
update and (try to) improve german translations

9 years agoIt's the small things.. IgnoreListEditDlg++
Sebastian Goth [Sun, 13 Sep 2009 20:50:34 +0000 (22:50 +0200)]
It's the small things.. IgnoreListEditDlg++

9 years agocs. Sync translations with master.
Tomáš Chvátal [Sun, 13 Sep 2009 07:45:27 +0000 (09:45 +0200)]
cs. Sync translations with master.

9 years agocs Fix typo.
Tomáš Chvátal [Thu, 10 Sep 2009 13:05:40 +0000 (15:05 +0200)]
cs Fix typo.

9 years agoMinor fixes to ignore list gui
Sebastian Goth [Sun, 13 Sep 2009 15:03:49 +0000 (17:03 +0200)]
Minor fixes to ignore list gui

- tooltips should now be way easier to translate
- moved the "Enabled" checkbox around

9 years agoVarious ignorelist fixes
Sebastian Goth [Sun, 13 Sep 2009 13:27:21 +0000 (15:27 +0200)]
Various ignorelist fixes

- Now works even with KDE integration
- Don't add empty rules
- Don't leak memory

9 years agoProvide a contextmenu for the ignore list
Sebastian Goth [Sat, 12 Sep 2009 16:54:46 +0000 (18:54 +0200)]
Provide a contextmenu for the ignore list
This will not work without updating the core too :/

9 years agoPimp my netsplit detection
Sebastian Goth [Sun, 13 Sep 2009 11:38:52 +0000 (13:38 +0200)]
Pimp my netsplit detection

- Don't fail on ipv6
 - Don't fail on manual reconnects
 - Don't fail on too many bad assumptions
 Fixes #787

9 years agoEnsure cursor is visible after text changes in MultiLineEdit
Manuel Nickschas [Sat, 12 Sep 2009 07:17:16 +0000 (09:17 +0200)]
Ensure cursor is visible after text changes in MultiLineEdit

Fixes #783.

9 years agoDisplay correct core timezone in core connection dialog
Manuel Nickschas [Fri, 11 Sep 2009 15:41:37 +0000 (17:41 +0200)]
Display correct core timezone in core connection dialog

For this to work, the CoreInfo string is generated client-side for now, from
the information new enough cores send. Older cores and/or clients will continue to
use the core-side generated string.

9 years agoFix spelling
Manuel Nickschas [Fri, 11 Sep 2009 15:13:12 +0000 (17:13 +0200)]
Fix spelling

9 years agoProperly translate messages
Manuel Nickschas [Fri, 11 Sep 2009 07:53:18 +0000 (09:53 +0200)]
Properly translate messages

Fixes #406.

9 years agoProperly translate strings in context menus and the toolbar
Manuel Nickschas [Fri, 11 Sep 2009 07:41:31 +0000 (09:41 +0200)]
Properly translate strings in context menus and the toolbar

Fixes #569.

9 years agoImprove tray icon notification behavior
Manuel Nickschas [Thu, 10 Sep 2009 19:26:16 +0000 (21:26 +0200)]
Improve tray icon notification behavior

The tray icon now blinks as long as there are still buffers with unread highlights. As
added bonus, repeated clicks on the tray icon now switch to the next highlighted buffer in
line (rather than hiding the window).

Also, notifications (in KDE) will be properly closed as soon as you switch to the appropriate
buffer.

After all highlighted buffers have been visited, the icon stops blinking. Fixes #720.

9 years agoClose notifications on buffer switch rather than activation change
Manuel Nickschas [Thu, 10 Sep 2009 19:23:50 +0000 (21:23 +0200)]
Close notifications on buffer switch rather than activation change

We now properly close only the notifications that refer to the current buffer if you switch to
it or activate the window. Before, we closed all active notifications when the window got
activated (and only then).

9 years agoSimplify code, fix potential crash
Manuel Nickschas [Thu, 10 Sep 2009 19:21:46 +0000 (21:21 +0200)]
Simplify code, fix potential crash

9 years agoSilence warning
Manuel Nickschas [Thu, 10 Sep 2009 17:45:19 +0000 (19:45 +0200)]
Silence warning

9 years agoFix clean, thanks al
Manuel Nickschas [Thu, 10 Sep 2009 11:38:37 +0000 (13:38 +0200)]
Fix clean, thanks al