Daniel Albers [Thu, 11 Feb 2010 20:47:52 +0000 (21:47 +0100)]
fix upgradeSchema.sh
Manuel Nickschas [Sun, 14 Feb 2010 20:53:24 +0000 (21:53 +0100)]
Some cleanups, debug output--
Dirk Rettschlag [Wed, 10 Feb 2010 12:51:42 +0000 (13:51 +0100)]
fixed multiline input
Dirk Rettschlag [Tue, 9 Feb 2010 16:08:48 +0000 (17:08 +0100)]
use clicked() signal instead of toggled()
Dirk Rettschlag [Tue, 9 Feb 2010 15:41:06 +0000 (16:41 +0100)]
style button is smaller now
Dirk Rettschlag [Tue, 9 Feb 2010 15:17:42 +0000 (16:17 +0100)]
fixed layout and escape quotes
Dirk Rettschlag [Tue, 9 Feb 2010 12:44:03 +0000 (13:44 +0100)]
added missing icons
Dirk Rettschlag [Tue, 9 Feb 2010 11:46:57 +0000 (12:46 +0100)]
first version of richtext support for input widget - needs a lot of refactoring
Dirk Rettschlag [Thu, 4 Feb 2010 15:23:52 +0000 (16:23 +0100)]
added support for RichText input and conversion to mirc format
Eckhart Wörner [Thu, 4 Feb 2010 12:47:14 +0000 (13:47 +0100)]
Fix spelling error
Hendrik Leppkes [Mon, 1 Feb 2010 22:01:05 +0000 (23:01 +0100)]
Store the type of the current tab completion (user or channel) in the TabCompleter instead of every CompletionKey struct.
Hendrik Leppkes [Mon, 1 Feb 2010 21:41:54 +0000 (22:41 +0100)]
Allow the TabCompleter to complete channel names as well.
Any Tab-Completion starting with a # will now be treated as a channel,
and completed accordingly. All channels of the current network are
added to the tab completion list, and sorted by name, with the
exception that the current channel is always considered first.
Manuel Nickschas [Sun, 14 Feb 2010 19:10:07 +0000 (20:10 +0100)]
Improve systray activation behavior; more refactoring
* Move the methods for forcing window activation into SystemTray
* Improve behavior on clicking the tray icon
* Improve notification activation in Qt-only Quassel
Manuel Nickschas [Sun, 14 Feb 2010 18:47:41 +0000 (19:47 +0100)]
Cleanup
Manuel Nickschas [Fri, 12 Feb 2010 00:13:22 +0000 (01:13 +0100)]
Install hicolor icons to the global icon dir rather than the data dir
In order for StatusNotifierWatcher to find quassel's tray status icons, they
must be in the global icon dir rather than the app data dir (i.e., we need
them in /usr/share/icons rather than /usr/share/apps/quassel).
Manuel Nickschas [Tue, 9 Feb 2010 22:12:39 +0000 (23:12 +0100)]
Avoid Q_INTERFACES-related warning with Qt >= 4.6
Manuel Nickschas [Wed, 3 Feb 2010 09:30:14 +0000 (10:30 +0100)]
Remove systray animation icons as well
Manuel Nickschas [Fri, 5 Feb 2010 15:07:27 +0000 (16:07 +0100)]
SystemTray refactoring in preparation of supporting StatusNotifier
* Make SystemTray the base class for both legacy tray icon and StatusNotifier
* Move all {Q|K}SystemTrayIcon related functionality into LegacySystemTray
* Replace tray animation (can't be done via dbus later) by blinking
* Adapt the rest of the code base to this
Manuel Nickschas [Sun, 31 Jan 2010 17:20:12 +0000 (18:20 +0100)]
Add tray icon for highlight; move tray icons to hicolor
App-specific icons should be in the hicolor theme, in order to be always available.
The new highlight tray icon is just a blend of our app icon and an view-pim-mail
from Oxygen. This is supposed to be temporary until someone creates a better one.
Marco Paolone [Wed, 27 Jan 2010 18:54:37 +0000 (19:54 +0100)]
Update italian translations
Manuel Nickschas [Mon, 1 Feb 2010 22:16:05 +0000 (23:16 +0100)]
Don't touch version.gen if nothing version-related changed
This avoids unnecessarily recompiling main.cpp (and hence relinking all three binaries) twice
with every make. Funnily enough, even though we've had genversion misbehaving for several years,
I never before thought about simply comparing the old with the new contents prior to touching
the file.
Thanks to MisterN for poking me and making me think about a solution :)
Manuel Nickschas [Sun, 31 Jan 2010 20:06:30 +0000 (21:06 +0100)]
Kill plugin.h
Probably the oldest surviving piece of code in Quassel. Was never used, I merely
started to work on a plugin interface back in 2006 that never saw the light of day.
Removing this because it confuses potential contributors and we really don't need to
keep stale code around.
Manuel Nickschas [Sun, 31 Jan 2010 19:58:25 +0000 (20:58 +0100)]
Allow sending unknown commands to server with >1 params
Thanks to tililambert for the fix. Fixes #273 again.
Sebastian Goth [Wed, 20 Jan 2010 17:49:40 +0000 (18:49 +0100)]
Don't create zombie users
Daniel Albers [Sun, 31 Jan 2010 15:37:17 +0000 (16:37 +0100)]
recognise IPv6 literals in URLs as per RFC 2732
Daniel Albers [Sun, 31 Jan 2010 14:34:39 +0000 (15:34 +0100)]
tweak URL regex
We still allow some of the characters flagged "unwise" in RFC 2396
Fixes #860
Fixes #876
Sebastian Goth [Sun, 31 Jan 2010 00:26:18 +0000 (01:26 +0100)]
Use join-and-switch with /join and /query
Sebastian Goth [Sat, 30 Jan 2010 23:45:33 +0000 (00:45 +0100)]
Adapt chatview and nickview to join-and-switch
Sebastian Goth [Sat, 30 Jan 2010 23:43:01 +0000 (00:43 +0100)]
Provide join-and-switch-to methods for join/query
Now we can switch to a new query/channel automatically
after it got created on the core.
Sebastian Goth [Sat, 30 Jan 2010 21:46:14 +0000 (22:46 +0100)]
Make sender column clickable
Doubleclicking the sender switches to a querybuffer to that
user.
Still somewhat broken since not-yet-existing buffers are created
with the first doubleclick and the switch will only work with a second.
This will hopefully get fixed soon.
Sebastian Goth [Sun, 31 Jan 2010 18:05:16 +0000 (19:05 +0100)]
Refactoring of BasicHandler
- BasicHandler moved from core/ to common/
We can use that in the client too (ClientInuptHandler etc.)
- core/BasicHandler is now CoreBasicHandler
Dirk Rettschlag [Thu, 28 Jan 2010 13:04:52 +0000 (14:04 +0100)]
fixed focus when switching to plain topic view
Dirk Rettschlag [Thu, 28 Jan 2010 11:50:19 +0000 (12:50 +0100)]
fixed focus when closing ChatViewSearchbar
Sebastian Goth [Wed, 27 Jan 2010 10:06:48 +0000 (11:06 +0100)]
Handle unknown CTCP stuff a little bit nicer
- unknown replies are now shown with its arguments
Fixes #889
- arguments to unknown CTCP queries are actually transmitted
Fixes #795
- show target's nick for queries
Dirk Rettschlag [Tue, 26 Jan 2010 11:38:23 +0000 (12:38 +0100)]
added different information in the TopicWidget based on BufferType
Manuel Nickschas [Fri, 29 Jan 2010 22:04:06 +0000 (23:04 +0100)]
Some fixes for DesktopNotificationBackend
* Don't crash if the dbus service isn't present (not tested, but should work ;-))
* Show a "View" action
* Handle notificationId properly, so the proper channel is selected on clicking the action
Manuel Nickschas [Fri, 29 Jan 2010 13:46:56 +0000 (14:46 +0100)]
ChatItems are no longer QGraphicsItems
This saves ~75% of graphicsitems in use, and should save some RAM and CPU.
It also solves some bugs with drawing, e.g. the marker line is now also
visible if the following line is highlighted.
This is the first step of ChatView optimizations I plan.
Bruno Bigras [Tue, 19 Jan 2010 16:58:23 +0000 (11:58 -0500)]
Prevent quasselclient from crashing when using the 'cancel' button of the 'Authorisation is required' dialog
Bruno Bigras [Tue, 19 Jan 2010 16:45:50 +0000 (11:45 -0500)]
Prevent quasselclient from crashing when there's no account yet
Dirk Rettschlag [Fri, 22 Jan 2010 12:30:49 +0000 (13:30 +0100)]
Fixed bugs in topic widget
Manuel Nickschas [Tue, 19 Jan 2010 21:31:59 +0000 (22:31 +0100)]
Sync cmake files with upstream once again
This should fix building on MacOSX.
Manuel Nickschas [Tue, 19 Jan 2010 20:51:41 +0000 (21:51 +0100)]
Don't require X11 headers for building quasselcore
Sebastian Goth [Tue, 19 Jan 2010 14:24:34 +0000 (15:24 +0100)]
Update markerline correctly on postgres
Sebastian Goth [Mon, 18 Jan 2010 22:55:30 +0000 (23:55 +0100)]
And don't fuckup '*' rules
Daniel Albers [Sun, 17 Jan 2010 22:53:27 +0000 (23:53 +0100)]
add MenuBar toggle to ChatScene context menu
Michael Groh [Wed, 13 Jan 2010 20:30:16 +0000 (21:30 +0100)]
updated german translation
also, added every string, even those who dont have to be translated, as this may fixe some translation bugs ;)
Manuel Nickschas [Mon, 18 Jan 2010 19:18:55 +0000 (20:18 +0100)]
debug--
Sebastian Goth [Thu, 10 Dec 2009 12:01:17 +0000 (13:01 +0100)]
Cleanup netsplits on disconnect correctly
Sebastian Goth [Mon, 18 Jan 2010 16:08:55 +0000 (17:08 +0100)]
Initial CTCP ignore functionality
Kind of hacky solution to not break protocol.
Introduces new "type" in settingspage that causes the "Rule"
line to be interpreted as:
hostmask [CTCPCMD CTCPCMD]
for example:
* VERSION
blocks any version _request_ globally or on any configured network.
If no CTCPCMD is given, all CTCP requests will be ignored.
Atte Virtanen [Sat, 16 Jan 2010 22:18:09 +0000 (00:18 +0200)]
Updated Finnish translation
Marco Paolone [Fri, 15 Jan 2010 17:50:43 +0000 (18:50 +0100)]
update italian translations
Manuel Nickschas [Sun, 17 Jan 2010 19:48:12 +0000 (20:48 +0100)]
Allow compilation without QSystemTrayIcon
On some platforms (such as N900), Qt doesn't support a tray icon.
This adds tons of #defines to allow compilation in that case.
Manuel Nickschas [Wed, 13 Jan 2010 22:12:27 +0000 (23:12 +0100)]
Fix static linking of OpenSSL on Win32
Manuel Nickschas [Wed, 13 Jan 2010 19:13:09 +0000 (20:13 +0100)]
debug--
Manuel Nickschas [Wed, 13 Jan 2010 19:09:29 +0000 (20:09 +0100)]
Fix selection and loading of translations; allow to run untranslated
In addition to having a proper list of installed languages again, we now also
have replaced the "<Original>" language by "Untranslated". Contrary to my intention
back when I first implemented this, "Original" means "C" means "en_US" rather than
untranslated.
Some users have expressed desire to not translate their UI; they can do so now.
Manuel Nickschas [Mon, 11 Jan 2010 18:33:49 +0000 (19:33 +0100)]
Don't explicitly check for OpenSSL anymore, but rely on Qt
As we're not compiling against or linking to OpenSSL, but only use Qt's SSL-related
classes, it makes no sense to check for OpenSSL support ourselves. Instead, we now check
if Qt has been built with SSL support and enable our own SSL stuff in exactly this case.
This relies on Qt caring about its deps itself, though, as it already is done for the
other Qt modules.
Tomas Chvatal [Sun, 10 Jan 2010 12:50:54 +0000 (13:50 +0100)]
update czech translation, pot file and update.sh script
Manuel Nickschas [Thu, 7 Jan 2010 23:22:23 +0000 (00:22 +0100)]
Sync cmake modules with upstream cmake/KDE
Use up-to-date versions of cmake modules we've copied years ago. Needed to be able
to build with KDE 4.5, but it should make sense in any case as bugs have been fixed.
Please tell me if you get build issues with this change.
Manuel Nickschas [Thu, 7 Jan 2010 23:13:06 +0000 (00:13 +0100)]
Fix regex for pofiles
Daniel Albers [Thu, 7 Jan 2010 21:47:48 +0000 (22:47 +0100)]
update README.Translations
This concludes the gettext patch series and therefore fixes #874
David Planella [Fri, 4 Dec 2009 23:03:47 +0000 (00:03 +0100)]
Updated POT template, added LINGUAS file
Updated the POT template with:
lupdate ../src -ts quassel.ts && ts2po -P --duplicates=msgctxt -i
quassel.ts -o quassel.pot && rm quassel.ts
Added the current languages to the LINGUAS file
David Planella [Fri, 4 Dec 2009 22:48:43 +0000 (23:48 +0100)]
Merged duplicate msgid and translations with msguniq
In order for gettext tools such as msgmerge and msgfmt to work with PO
files, these must have a valid format. Therefore duplicate msgid must be
merged into single ones, which is what has been done to the current
translations. The following command has been used (using Italian as an
example):
msguniq --use-first quassel_it.po > it.po && rm quassel_it.po
Note that some of the PO header files had to be fixed manually prior to
executing the command, so that they had the right format.
Additionally, the file names have been renamed to ll.po (where ll is the
language code). While this is just a minor detail, I believe it makes
sense to use the same naming convention as gettext-based OSS projects.
Daniel Albers [Thu, 7 Jan 2010 21:28:25 +0000 (22:28 +0100)]
rename translation files to <2 letter ISO code>.po
- change sources accordingly
- some minor .po header fixes
Daniel Albers [Thu, 7 Jan 2010 16:21:04 +0000 (17:21 +0100)]
make po/update.sh a little smarter
Daniel Albers [Tue, 5 Jan 2010 18:09:12 +0000 (19:09 +0100)]
remove "|" from URL RegExp
Aurelien Gateau [Wed, 6 Jan 2010 09:42:25 +0000 (10:42 +0100)]
Ensure desktop file is found when using quasselclient
Only pass the XDG_APPS_INSTALL_DIR through #define and compute full desktop file path at runtime
Manuel Nickschas [Wed, 6 Jan 2010 20:47:20 +0000 (21:47 +0100)]
Remove patch files accidentally added by Terje
Terje Andersen [Thu, 31 Dec 2009 01:04:58 +0000 (02:04 +0100)]
missed some strings
Terje Andersen [Wed, 30 Dec 2009 00:49:30 +0000 (01:49 +0100)]
Small correction in the README.Translations file
Manuel Nickschas [Thu, 8 Oct 2009 08:54:11 +0000 (10:54 +0200)]
Untie the marker line from lastSeenMsg
We now handle the marker line position independently from lastSeenMsg in the backend. This will
allow for setting the marker line manually in the future, for people who don't want the automatic
mark-as-read thingy. Currently, it's still set on buffer change, and the behavior should be the same
as before.
Note that this needs an updated core to work correctly, and will be disabled (= forced auto) else.
Manuel Nickschas [Sat, 10 Oct 2009 10:33:17 +0000 (12:33 +0200)]
Introduce a mechanism to test for certain core features
We sometimes implement features that needs an up-to-date core to work correctly, but not always
a protocol bump is justified (because it's just a giant PITA). So we now have Client::coreFeatures()
that returns a bitmask of such optional features, which can be checked for at runtime and used to disable
client features if a too-old core is present.
Note that with every protocol bump the feature enum in quassel.h needs to be cleaned, and runtime checks
removed. Please mark all such places with a nice FIXME so we can find them easily.
Terje Andersen [Tue, 29 Dec 2009 22:48:49 +0000 (23:48 +0100)]
Fixed some small inconsistencies.
Manuel Nickschas [Tue, 29 Dec 2009 17:59:25 +0000 (18:59 +0100)]
Sync bundled Oxygen icons with upstream, remove unneeded
Manuel Nickschas [Tue, 29 Dec 2009 17:51:36 +0000 (18:51 +0100)]
Updated norwegian translation
Made by Terje "tan" Andersen, who still refuses to create git patches :)
Rafael Belmonte [Mon, 28 Dec 2009 19:32:58 +0000 (20:32 +0100)]
Spanish (Spain) translation updated
Manuel Nickschas [Fri, 25 Dec 2009 13:41:46 +0000 (14:41 +0100)]
Add some checks to models
We should make sure that index() always returns an invalid model index for invalid
parameters (aka, out of bounds). This has been found with Qt's ModelTest.
I don't *think* this has any impact in Quassel, as we should never call index() with invalid
parameters anyway, but who knows. Maybe some of our crashes are related to this...
Better safe than sorry! :)
Manuel Nickschas [Tue, 15 Dec 2009 16:26:00 +0000 (17:26 +0100)]
Fix build flags and use -DNDEBUG in release builds
Atte Virtanen [Sat, 12 Dec 2009 14:51:58 +0000 (16:51 +0200)]
Updated Finnish translation
Manuel Nickschas [Thu, 10 Dec 2009 08:15:38 +0000 (09:15 +0100)]
Fix wrong settingskey for enabling custom stylesheets
Tomáš Chvátal [Wed, 9 Dec 2009 23:05:44 +0000 (00:05 +0100)]
update cs translation and update.sh
Manuel Nickschas [Wed, 9 Dec 2009 00:10:46 +0000 (01:10 +0100)]
Remove password from config if deactivating the "Remember PW" option retroactively
Manuel Nickschas [Tue, 8 Dec 2009 23:29:32 +0000 (00:29 +0100)]
Focus password field in CoreConnectAuthDlg
Fixes #872.
Manuel Nickschas [Tue, 8 Dec 2009 19:04:11 +0000 (20:04 +0100)]
Show current network name in main window title too
Manuel Nickschas [Tue, 8 Dec 2009 18:00:50 +0000 (19:00 +0100)]
Improve lag display
Don't show if we're disconnected. Also, for lag >= 100 ms, show it in seconds.
Manuel Nickschas [Tue, 8 Dec 2009 17:46:59 +0000 (18:46 +0100)]
Improve handling of disconnections a bit
Also make the sigproxy send pings again even if we don't want to ping timeout,
as they're also used for lag measuring.
Martin Mayer [Tue, 8 Dec 2009 10:54:02 +0000 (11:54 +0100)]
update german translations
Michael Groh [Tue, 8 Dec 2009 08:07:41 +0000 (09:07 +0100)]
Added german translations for the CoreConnectionSettings settingspage
Manuel Nickschas [Mon, 7 Dec 2009 21:41:37 +0000 (22:41 +0100)]
Increase the core-side ping timeout for the client/core connection
We don't want to time out the connection core-side, so just use a long delay.
Dead sockets should be removed by TCP timeout before that anyway.
Manuel Nickschas [Mon, 7 Dec 2009 21:38:05 +0000 (22:38 +0100)]
Actually make the client/core connection settings do something
This introduces ping timeout settings and automatic reconnect. If you're using
KDE, you'll get Solid support to disconnect and reconnect as your network connection
status changes.
Thanks to sebas for the initial patch for Solid support!
Closes #405, closes #702
Manuel Nickschas [Mon, 7 Dec 2009 21:35:38 +0000 (22:35 +0100)]
Introduce CoreConnectionSettings and a settingspage for configuring it
You can now configure your client/core connection via
Configure -> Remote Cores -> Connection.
Also introduced Settings::initAndNotify() that does the same as notify(), but also
reads and notifies on connect, thus saving an extra line.
Manuel Nickschas [Mon, 7 Dec 2009 18:09:46 +0000 (19:09 +0100)]
Make SignalProxy heartbeat configurable
This adds the ability to set both the interval and maximum for sigproxy's heartbeat.
Also my IDE cleaned up a ton of whitespace :)
Manuel Nickschas [Fri, 4 Dec 2009 17:48:29 +0000 (18:48 +0100)]
Replace fugly workaround for QTBUG-6322 by one that's much simpler
Since it doesn't seem to matter at all what ChatView thinks about the scene's width,
we just adjust the sceneRect to be 25ps smaller than it really is. That way, we avoid
the whole QTBUG-6322 mess and most probably don't break anything.
Yes, zooming works again as well/
Manuel Nickschas [Fri, 4 Dec 2009 17:20:32 +0000 (18:20 +0100)]
Try to make the QTBUG-6322 workaround work in more cases
Should work now with all styles (as far as I could test), but it's even fuglier
than before and needs further pounding.
Also don't try zooming, it fails spectacularly.
Rafael Belmonte [Fri, 4 Dec 2009 12:58:04 +0000 (13:58 +0100)]
Very updated Spanish translation. Almost final
Rafael Belmonte [Mon, 30 Nov 2009 21:03:38 +0000 (22:03 +0100)]
Spanish translation updated
Manuel Nickschas [Thu, 3 Dec 2009 23:13:13 +0000 (00:13 +0100)]
Set new application style on saving the appearance settingspage
Daniel Albers [Thu, 3 Dec 2009 22:01:02 +0000 (23:01 +0100)]
shorten and comment CoreUserInputHandler::handleJoin
Daniel Albers [Wed, 2 Dec 2009 00:22:58 +0000 (01:22 +0100)]
Handle 512 byte limitation sensibly for /join
Fixes #745
Michael Groh [Wed, 2 Dec 2009 08:48:04 +0000 (09:48 +0100)]
fixed the default tab in some dialogs.
Manuel Nickschas [Wed, 2 Dec 2009 08:38:54 +0000 (09:38 +0100)]
Remove patch file that has slipped in