quassel.git
10 years agoIntroduce WarningsSettings
Manuel Nickschas [Fri, 27 Nov 2009 15:03:47 +0000 (16:03 +0100)]
Introduce WarningsSettings

This is supposed to store the state of "[X] Don't show again" kind of dialogs
and warnings. I thought I'd need it for the SSL stuff, but I ended up without using it.
Yet we will probably need this in the future, so I commit rather than revert.

10 years agoQuassel Client (and monolithic) needs >=Qt 4.5.0 now
Manuel Nickschas [Thu, 26 Nov 2009 16:35:33 +0000 (17:35 +0100)]
Quassel Client (and monolithic) needs >=Qt 4.5.0 now

Core still can be built with Qt 4.4, but for the GUI bits, supporting this
long since deprecated Qt is getting quite cumbersome.
We'll use quite some 4.5 features in the future.

10 years agoHandle removal of accounts a bit better
Manuel Nickschas [Wed, 25 Nov 2009 21:37:45 +0000 (22:37 +0100)]
Handle removal of accounts a bit better

We don't want to always clear and rewrite them all, in order to not lose additional
accountValues. So remember which accounts have been removed from the model, and only
delete those.

Also, useSsl should be on by default.

10 years agoRemove the Internal Core from the non-monolithic client's UI
Manuel Nickschas [Tue, 24 Nov 2009 23:16:19 +0000 (00:16 +0100)]
Remove the Internal Core from the non-monolithic client's UI

10 years agoMake monolithic client work again
Manuel Nickschas [Tue, 24 Nov 2009 22:38:57 +0000 (23:38 +0100)]
Make monolithic client work again

10 years agoAlso show error messages in the status bar
Manuel Nickschas [Tue, 24 Nov 2009 08:12:28 +0000 (09:12 +0100)]
Also show error messages in the status bar

10 years agoImplement user authentication for core login
Manuel Nickschas [Tue, 24 Nov 2009 08:11:19 +0000 (09:11 +0100)]
Implement user authentication for core login

We now popup a little dialog to allow the user entering user/password when
logging into a core with no or the wrong password.

10 years agoResurrect CoreConnectDlg
Manuel Nickschas [Mon, 23 Nov 2009 08:52:28 +0000 (09:52 +0100)]
Resurrect CoreConnectDlg

This time it's just a thin wrapper around the settingspage, so it doesn't suck.

10 years agoRespect autoconnect settings in CoreConnection
Manuel Nickschas [Fri, 20 Nov 2009 00:22:21 +0000 (01:22 +0100)]
Respect autoconnect settings in CoreConnection

10 years agoMake all CoreAccountSettingsPage config accessible via CoreAccountSettings
Manuel Nickschas [Thu, 19 Nov 2009 23:18:59 +0000 (00:18 +0100)]
Make all CoreAccountSettingsPage config accessible via CoreAccountSettings

10 years agoHandle client state a bit more sanely
Manuel Nickschas [Thu, 19 Nov 2009 23:10:08 +0000 (00:10 +0100)]
Handle client state a bit more sanely

Client can only be disconnected or connected. In the latter state, we guarantee
that the typical connection-specific (syncable) objects at least exist (but may not
be fully synced yet).

It doesn't make much sense API-wise to distinguish between "connected" and "synced" state
of the Client object, as vital objects are created after being connected. In any case,
more detailed information is available via Client::coreConnection().

10 years agoAdd a new statusbar widget for displaying CoreConnection's state
Manuel Nickschas [Thu, 19 Nov 2009 17:40:26 +0000 (18:40 +0100)]
Add a new statusbar widget for displaying CoreConnection's state

Having this in one widget encapsulates the functionality from MainWin.

10 years agoGet rid of ClientSyncer
Manuel Nickschas [Thu, 19 Nov 2009 17:38:26 +0000 (18:38 +0100)]
Get rid of ClientSyncer

Rest in pieces, you won't be missed.

10 years agoSwitch over to CoreConnection
Manuel Nickschas [Thu, 19 Nov 2009 17:34:36 +0000 (18:34 +0100)]
Switch over to CoreConnection

Stop using ClientSyncer, and adapt to the new API introduced by
CoreConnection.

10 years agoIntroduce (very) basic, incomplete version of CoreConnection
Manuel Nickschas [Thu, 19 Nov 2009 17:16:51 +0000 (18:16 +0100)]
Introduce (very) basic, incomplete version of CoreConnection

This class encapsulates the client-side connection to the core and replaces
both ClientSyncer and CoreConnectDlg. Having this neatly encapsulated will allow
for a much easier way to do, say, reconnects or tracking the connection state.

This is a first preliminary version that can only sync to a hardcoded account.

10 years agoKill CoreConnectDlg, kill it with fire!
Manuel Nickschas [Thu, 19 Nov 2009 17:09:36 +0000 (18:09 +0100)]
Kill CoreConnectDlg, kill it with fire!

DIE DIE DIE

10 years agoIntroduce settingspage for editing core accounts
Manuel Nickschas [Fri, 6 Nov 2009 08:58:05 +0000 (09:58 +0100)]
Introduce settingspage for editing core accounts

10 years agoIntroduce CoreAccount and CoreAccountModel
Manuel Nickschas [Fri, 6 Nov 2009 08:46:53 +0000 (09:46 +0100)]
Introduce CoreAccount and CoreAccountModel

These hold the client-side data for connecting to remote cores in a neat set of
objects rather than QVariantMaps. The associated model allows for easy use in UI elements.

10 years agoupdate italian translations
Marco Paolone [Sun, 22 Nov 2009 12:27:18 +0000 (13:27 +0100)]
update italian translations

10 years agoFix building with the GNU Gold linker
Manuel Nickschas [Tue, 24 Nov 2009 12:18:49 +0000 (13:18 +0100)]
Fix building with the GNU Gold linker

Thanks to Thomas Müller (DeepDiver) for providing the patch. Fixes #863.

10 years agoUpdated Slovenian translation of master
Jure Repinc [Sun, 22 Nov 2009 18:33:18 +0000 (19:33 +0100)]
Updated Slovenian translation of master

Closes #861.

10 years agoDon't draw a sunken frame around SettingsPageDlg's contents
Manuel Nickschas [Thu, 19 Nov 2009 23:14:09 +0000 (00:14 +0100)]
Don't draw a sunken frame around SettingsPageDlg's contents

10 years agoDon't crash upon core/client timeout disconnect
Manuel Nickschas [Thu, 19 Nov 2009 08:17:54 +0000 (09:17 +0100)]
Don't crash upon core/client timeout disconnect

Seems Qt 4.6 handles closing of sockets a bit differently.

10 years agoShow default bufferview if we don't have a saved state
Manuel Nickschas [Wed, 18 Nov 2009 22:52:23 +0000 (23:52 +0100)]
Show default bufferview if we don't have a saved state

10 years agoMake sure to properly remove bufferViews from the overlay
Manuel Nickschas [Wed, 18 Nov 2009 21:06:24 +0000 (22:06 +0100)]
Make sure to properly remove bufferViews from the overlay

10 years agoFix initial backlock fetch with >= qt-4.6.0-rc1
Manuel Nickschas [Wed, 18 Nov 2009 19:48:26 +0000 (20:48 +0100)]
Fix initial backlock fetch with >= qt-4.6.0-rc1

We don't get unnecessary show events anymore on mainwin state restore, so we
need to make sure that docks are not shown before we load the layout.

10 years agoAdd missing contributors to AboutDlg
Manuel Nickschas [Tue, 17 Nov 2009 19:14:58 +0000 (20:14 +0100)]
Add missing contributors to AboutDlg

10 years agoupdate italian translations
Marco Paolone [Tue, 17 Nov 2009 18:21:04 +0000 (19:21 +0100)]
update italian translations

10 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

10 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

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

10 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

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

10 years agoAdd LinuxDolt's bluestheme stylesheet
Drew Patridge [Fri, 6 Nov 2009 20:14:08 +0000 (13:14 -0700)]
Add LinuxDolt's bluestheme stylesheet

10 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

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

10 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

10 years agosend unknown commands to server
Daniel Albers [Sun, 1 Nov 2009 16:56:39 +0000 (17:56 +0100)]
send unknown commands to server

Fixes #273

10 years agoSeparate persistency for marker line (backend only)
Marcus Eggenberger [Sun, 1 Nov 2009 13:11:31 +0000 (14:11 +0100)]
Separate persistency for marker line (backend only)
Sput: have fun! :)

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

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

10 years agoAdd new .pot file with instructions how to generate it.
Tomáš Chvátal [Wed, 28 Oct 2009 20:16:41 +0000 (21:16 +0100)]
Add new .pot file with instructions how to generate it.

10 years agoRename i18n target to po target.
Tomáš Chvátal [Wed, 28 Oct 2009 17:23:32 +0000 (18:23 +0100)]
Rename i18n target to po target.

10 years agoAdd missed cmake/ folder in previous commit.
Tomáš Chvátal [Wed, 28 Oct 2009 16:50:36 +0000 (17:50 +0100)]
Add missed cmake/ folder in previous commit.

10 years agoUpdate README.Translations to reflect reality.
Tomáš Chvátal [Wed, 28 Oct 2009 16:36:06 +0000 (17:36 +0100)]
Update README.Translations to reflect reality.

10 years agoRename i18n -> po, use LINGUAS env variable
Tomáš Chvátal [Wed, 28 Oct 2009 16:27:07 +0000 (17:27 +0100)]
Rename i18n -> po, use LINGUAS env variable

Update translation generating code from -DLINGUAS="something" to use env variable.
EXAMPLE:
  export LINGUAS="cs de fr"
  cmake ..
This will build only czech german and frech translations.

11 years agoUpdate README and updater even bit more.
Tomáš Chvátal [Sun, 25 Oct 2009 22:30:17 +0000 (23:30 +0100)]
Update README and updater even bit more.

11 years agoFix typos + update the update.sh
Tomáš Chvátal [Sun, 25 Oct 2009 22:15:46 +0000 (23:15 +0100)]
Fix typos + update the update.sh

11 years agoconvert translations files from .ts to .po
Daniel Albers [Wed, 21 Oct 2009 23:59:40 +0000 (01:59 +0200)]
convert translations files from .ts to .po

11 years agoswitch build process from Qt to gettext translations
Daniel Albers [Wed, 21 Oct 2009 20:43:53 +0000 (22:43 +0200)]
switch build process from Qt to gettext translations

11 years agomake proper use of [QK]SystemTrayIcon->contextMenu()
Daniel Albers [Tue, 20 Oct 2009 21:42:22 +0000 (23:42 +0200)]
make proper use of [QK]SystemTrayIcon->contextMenu()

also adds nifty context menu title

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

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

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

Requested by downstream.

This reverts commit 5c2708b1ae748cf1626229d27342d07638d126ff.

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

11 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

11 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

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

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

11 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

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

11 years agoPost-release version.inc bump
Manuel Nickschas [Wed, 14 Oct 2009 20:45:43 +0000 (22:45 +0200)]
Post-release version.inc bump

11 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

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

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

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

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

11 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

11 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

11 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

11 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

11 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

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

11 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()

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

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

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

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

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

11 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

11 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

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

11 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--

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

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

11 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

11 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

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

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

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

11 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

11 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

11 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 :]

11 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

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

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

11 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

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

11 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

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

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