quassel.git
15 years agoobsolete--
Manuel Nickschas [Thu, 10 Jul 2008 23:23:27 +0000 (01:23 +0200)]
obsolete--

15 years agoI CAN HAZ WORDWRAPZcd /usr/local/layman/portage-kdecd devel/quassel
Manuel Nickschas [Thu, 10 Jul 2008 23:19:11 +0000 (01:19 +0200)]
I CAN HAZ WORDWRAPZcd /usr/local/layman/portage-kdecd devel/quassel

15 years agoIntroduce WrapColumnFinder.
Manuel Nickschas [Thu, 10 Jul 2008 21:31:42 +0000 (23:31 +0200)]
Introduce WrapColumnFinder.

15 years agoOoops.
Manuel Nickschas [Thu, 10 Jul 2008 21:31:10 +0000 (23:31 +0200)]
Ooops.

15 years agoUse QTextLayout for computing word withs rather than a homebrew solution
Manuel Nickschas [Mon, 7 Jul 2008 23:31:07 +0000 (01:31 +0200)]
Use QTextLayout for computing word withs rather than a homebrew solution

According to my benchmarks, it's very slightly slower (on my machine, on the
order of 10 ms for 500 chatlines). It does make the code much nicer though.
Also we might catch details like kerning or ligatures where our own solution
might have failed.

15 years agoAdd UiStyle::toTextLayoutList(), since we need that functionality in several places
Manuel Nickschas [Mon, 7 Jul 2008 19:08:24 +0000 (21:08 +0200)]
Add UiStyle::toTextLayoutList(), since we need that functionality in several places

15 years agoMore wordwrap fixes.
Manuel Nickschas [Thu, 19 Jun 2008 10:35:33 +0000 (12:35 +0200)]
More wordwrap fixes.

15 years agoWordwrap in ChatView almost working.
Manuel Nickschas [Wed, 18 Jun 2008 23:30:44 +0000 (01:30 +0200)]
Wordwrap in ChatView almost working.

There are some corner cases still where it fails; need ironing out.

15 years agoUpdate INSTALL.cmake
Manuel Nickschas [Wed, 18 Jun 2008 16:39:08 +0000 (18:39 +0200)]
Update INSTALL.cmake

15 years agoReworking the wordwrap stuff.
Manuel Nickschas [Sat, 14 Jun 2008 23:37:08 +0000 (01:37 +0200)]
Reworking the wordwrap stuff.
Still has some edges and cornercases to iron out though...

15 years agoFix off-by-one error in computeWrapList()
Manuel Nickschas [Sat, 14 Jun 2008 13:05:13 +0000 (15:05 +0200)]
Fix off-by-one error in computeWrapList()

15 years agoProperly re-layout on resizing
Manuel Nickschas [Sat, 14 Jun 2008 10:36:52 +0000 (12:36 +0200)]
Properly re-layout on resizing

15 years agoYAY! Colors are back!
Manuel Nickschas [Sat, 14 Jun 2008 10:15:35 +0000 (12:15 +0200)]
YAY! Colors are back!
First version of ChatView to actually display formats, albeit layouting and
wrapping still needs a lot of love. But at least we have something that looks
colorful and shiny again... :)

15 years agoendless_loop--
Manuel Nickschas [Sat, 14 Jun 2008 00:11:55 +0000 (02:11 +0200)]
endless_loop--

15 years agoCompute correct height of ChatItems.
Manuel Nickschas [Fri, 13 Jun 2008 23:42:08 +0000 (01:42 +0200)]
Compute correct height of ChatItems.
For this, we precompute possible wrap points and the width of words,
form which we can quickly compute the height.

15 years agoChatLineModelItem now computes and stores wordlists
Manuel Nickschas [Wed, 11 Jun 2008 00:06:33 +0000 (02:06 +0200)]
ChatLineModelItem now computes and stores wordlists
Lines are split into words, and both wrap points and the width of each word
are stored in the item. Computation should be very fast even though it does
consider the true bounding rect for the given formats.

15 years agoAdd cached fontmetrics to UiStyle
Manuel Nickschas [Wed, 11 Jun 2008 00:04:41 +0000 (02:04 +0200)]
Add cached fontmetrics to UiStyle
Allow fast access to fontmetrics for a given FormatType.

15 years agoStoring format length as quint16 rather than int.
Manuel Nickschas [Tue, 10 Jun 2008 20:31:45 +0000 (22:31 +0200)]
Storing format length as quint16 rather than int.
Space is crucial here. Well, I just assume that quint16 is not stored
32-bit aligned, of course...

15 years agoRemoving SPUTDEV, obsolete code and #ifdefs from sources
Manuel Nickschas [Mon, 9 Jun 2008 22:42:59 +0000 (00:42 +0200)]
Removing SPUTDEV, obsolete code and #ifdefs from sources

15 years agoStep 2: Remove obsolete files
Manuel Nickschas [Mon, 9 Jun 2008 22:28:11 +0000 (00:28 +0200)]
Step 2: Remove obsolete files

15 years agoRemoving the old ChatWidget and related stuff from CMakeLists.txt
Manuel Nickschas [Mon, 9 Jun 2008 22:23:46 +0000 (00:23 +0200)]
Removing the old ChatWidget and related stuff from CMakeLists.txt
This marks the beginning of the new sputdev-only branch. I'll clean out
the old cruft in here, getting rid of the #ifdefs. Yay git! :)

15 years agofixing BR #229 (untranslatable string)
Marcus Eggenberger [Fri, 1 Aug 2008 14:31:57 +0000 (16:31 +0200)]
fixing BR #229 (untranslatable string)

15 years agoAdded a commandline option to specify the datadir (the dir containing sqlite db and...
Marcus Eggenberger [Fri, 1 Aug 2008 12:52:11 +0000 (14:52 +0200)]
Added a commandline option to specify the datadir (the dir containing sqlite db and cert) and changed default datadir for Mac OS
 - Mac OS X data dir is now ~/Library/Application Support/Quassel and no longer quassel
 - cli parser replaces now leading '~' with the homedir

15 years agoChanged default logging to stdout and some minor fixes.
Sebastian Goth [Wed, 30 Jul 2008 09:22:50 +0000 (11:22 +0200)]
Changed default logging to stdout and some minor fixes.

15 years agoRemoved some whitespaces..
Sebastian Goth [Wed, 30 Jul 2008 08:45:58 +0000 (10:45 +0200)]
Removed some whitespaces..

15 years agoAdded trailing whitespace after each <<() to adopt qDebug() behaviour
Sebastian Goth [Tue, 29 Jul 2008 12:39:39 +0000 (14:39 +0200)]
Added trailing whitespace after each <<() to adopt qDebug() behaviour

15 years agoRemoved special treatment of <<(const char*)
Sebastian Goth [Mon, 28 Jul 2008 12:16:24 +0000 (14:16 +0200)]
Removed special treatment of <<(const char*)

15 years agoOptimized memory usage, cleaned up api.
Sebastian Goth [Mon, 28 Jul 2008 10:56:32 +0000 (12:56 +0200)]
Optimized memory usage, cleaned up api.
Loggerobjects don't get copied after initialization anymore.
Removed Stream-struct; no more heap allocations made.
Thanks for teaching me so good EgS!

15 years agoAnother trivial naming adjustment
Sebastian Goth [Fri, 25 Jul 2008 16:49:25 +0000 (18:49 +0200)]
Another trivial naming adjustment

15 years agoObey naming rules
Sebastian Goth [Fri, 25 Jul 2008 12:14:57 +0000 (14:14 +0200)]
Obey naming rules

15 years agoActivate logging for quasselcore.
Sebastian Goth [Thu, 24 Jul 2008 18:45:01 +0000 (20:45 +0200)]
Activate logging for quasselcore.

15 years agoAdded support for various additional datatypes.
Sebastian Goth [Thu, 24 Jul 2008 18:32:27 +0000 (20:32 +0200)]
Added support for various additional datatypes.
Supports quassel's types from types.h

15 years agoInitial commit of logger.
Sebastian Goth [Thu, 24 Jul 2008 16:05:35 +0000 (18:05 +0200)]
Initial commit of logger.
Replaces old inactive files.

15 years agofixing deactivation of inputline during a query when chatpartner goes away
Marcus Eggenberger [Tue, 29 Jul 2008 23:25:59 +0000 (01:25 +0200)]
fixing deactivation of inputline during a query when chatpartner goes away

15 years agofixing object identifier for IrcChannel which was currupted in bulk sync
Marcus Eggenberger [Tue, 29 Jul 2008 23:15:00 +0000 (01:15 +0200)]
fixing object identifier for IrcChannel which was currupted in bulk sync

15 years agominor fix
Marcus Eggenberger [Mon, 28 Jul 2008 11:26:51 +0000 (13:26 +0200)]
minor fix

15 years agotwo leading slashes are now treated as a regular message with one slah being stripped
Marcus Eggenberger [Mon, 28 Jul 2008 11:24:33 +0000 (13:24 +0200)]
two leading slashes are now treated as a regular message with one slah being stripped

15 years agoUpdate French Translation
ZRegis [Sun, 27 Jul 2008 16:28:31 +0000 (18:28 +0200)]
Update French Translation

15 years agodisabling treeitem suicide if the item is deleted due to a cleanup (internal stuff...
Marcus Eggenberger [Sun, 27 Jul 2008 22:30:24 +0000 (00:30 +0200)]
disabling treeitem suicide if the item is deleted due to a cleanup (internal stuff only)

15 years agocommands containing multiple slashes are no longer treated like a separate command...
Marcus Eggenberger [Sun, 27 Jul 2008 22:29:32 +0000 (00:29 +0200)]
commands containing multiple slashes are no longer treated like a separate command (aka: it's safe to paste paths like /proc/cpuinfo now)

15 years agointernal stuff only: AbstractTreeItems can now commit suicide if they are childless
Marcus Eggenberger [Sun, 27 Jul 2008 16:27:45 +0000 (18:27 +0200)]
internal stuff only: AbstractTreeItems can now commit suicide if they are childless

15 years agominor sizing fixes
Marcus Eggenberger [Sun, 27 Jul 2008 14:45:15 +0000 (16:45 +0200)]
minor sizing fixes

15 years agofixed a bug where a quitting user could leave an empty entry in the nicklist
Marcus Eggenberger [Sun, 27 Jul 2008 12:39:56 +0000 (14:39 +0200)]
fixed a bug where a quitting user could leave an empty entry in the nicklist

15 years agoadded debug helper for the networkmodel
Marcus Eggenberger [Sun, 27 Jul 2008 12:07:46 +0000 (14:07 +0200)]
added debug helper for the networkmodel

15 years agoone hell of an ugly workaround for what seems to be one hell of an ugly qt bug...
Marcus Eggenberger [Sun, 27 Jul 2008 11:50:48 +0000 (13:50 +0200)]
one hell of an ugly workaround for what seems to be one hell of an ugly qt bug...

15 years agoRefactoring the Tree- and Networkmodel (internal stuff only).
Marcus Eggenberger [Sun, 27 Jul 2008 11:48:14 +0000 (13:48 +0200)]
Refactoring the Tree- and Networkmodel (internal stuff only).
 - the all purpose virtual quint AbstractTreeItem::id() const is gone.
 - exists*Item is no renamed to find*Item to fit the Qt naming scheme of findChild()

15 years agothis should really - fingers crossed - make the client compile with Qt 4.3 again
Marcus Eggenberger [Sat, 26 Jul 2008 11:46:30 +0000 (13:46 +0200)]
this should really - fingers crossed - make the client compile with Qt 4.3 again

15 years agothis should make the client compile again with Qt 4.3
Marcus Eggenberger [Sat, 26 Jul 2008 10:43:48 +0000 (12:43 +0200)]
this should make the client compile again with Qt 4.3

15 years agoMaintenance French Translation
ZRegis [Thu, 24 Jul 2008 17:56:12 +0000 (19:56 +0200)]
Maintenance French Translation

15 years agoUpdate French Translation
ZRegis [Thu, 24 Jul 2008 08:42:20 +0000 (10:42 +0200)]
Update French Translation

15 years ago Maintenace French Translation
ZRegis [Tue, 22 Jul 2008 21:52:27 +0000 (23:52 +0200)]
Maintenace French Translation

15 years ago Update French Translation
ZRegis [Tue, 22 Jul 2008 18:34:51 +0000 (20:34 +0200)]
Update French Translation

15 years agoimproving the channel lists. errors are redirected to the channel widget and act...
Marcus Eggenberger [Thu, 24 Jul 2008 13:38:22 +0000 (15:38 +0200)]
improving the channel lists. errors are redirected to the channel widget and act sanly when a server doesn't send a RPL_LISTEND

15 years agofixing client crash during core init
Marcus Eggenberger [Thu, 24 Jul 2008 10:02:52 +0000 (12:02 +0200)]
fixing client crash during core init

15 years agofixing BR #207 - you can now disconnect from an IRC server while in a connecting...
Marcus Eggenberger [Wed, 23 Jul 2008 23:03:31 +0000 (01:03 +0200)]
fixing BR #207 - you can now disconnect from an IRC server while in a connecting state

15 years agoRemove unneeded attributes that somehow have crept into the dbus branch
Manuel Nickschas [Tue, 22 Jul 2008 20:48:21 +0000 (22:48 +0200)]
Remove unneeded attributes that somehow have crept into the dbus branch

15 years agowarnings--
Manuel Nickschas [Tue, 22 Jul 2008 20:06:50 +0000 (22:06 +0200)]
warnings--

15 years agoRevert "Work around MOC ignoring -D options by having dummy stubs"
Manuel Nickschas [Tue, 22 Jul 2008 19:48:57 +0000 (21:48 +0200)]
Revert "Work around MOC ignoring -D options by having dummy stubs"

This has been fixed in our cmake module, workaround no longer needed.

This reverts commit 4e80050d6bf8ef944dd5af2be8f24ea8e8eec0b2.

15 years agoFix a rebase oops
Manuel Nickschas [Tue, 22 Jul 2008 19:42:29 +0000 (21:42 +0200)]
Fix a rebase oops

15 years agoSome tweaking of NotificationsSettingsPage
Manuel Nickschas [Sun, 6 Jul 2008 16:49:48 +0000 (18:49 +0200)]
Some tweaking of NotificationsSettingsPage

15 years agodebug--
Manuel Nickschas [Sun, 6 Jul 2008 00:07:41 +0000 (02:07 +0200)]
debug--

15 years agoMove DBus- and other notification-related settings to their own SettingsPage
Manuel Nickschas [Sun, 6 Jul 2008 00:03:03 +0000 (02:03 +0200)]
Move DBus- and other notification-related settings to their own SettingsPage

We now have Behavior/Notifications for stuff like this.

15 years agoWork around MOC ignoring -D options by having dummy stubs
Manuel Nickschas [Sat, 5 Jul 2008 21:43:21 +0000 (23:43 +0200)]
Work around MOC ignoring -D options by having dummy stubs

15 years agoFormatting fixes
Manuel Nickschas [Fri, 4 Jul 2008 00:02:34 +0000 (02:02 +0200)]
Formatting fixes

15 years agoMake QtDBus optional (i.e. compile even if no dbus support is present)
Manuel Nickschas [Fri, 4 Jul 2008 00:00:22 +0000 (02:00 +0200)]
Make QtDBus optional (i.e. compile even if no dbus support is present)

15 years agoMove dbus interface definition to interfaces/ and generate dbus files automagically
Manuel Nickschas [Thu, 3 Jul 2008 23:20:53 +0000 (01:20 +0200)]
Move dbus interface definition to interfaces/ and generate dbus files automagically

15 years agoMake compile on top of the current master branch
Manuel Nickschas [Thu, 3 Jul 2008 22:58:45 +0000 (00:58 +0200)]
Make compile on top of the current master branch

15 years agoArgument error in desktop notification message.
Dennis Schridde [Wed, 21 May 2008 14:47:43 +0000 (16:47 +0200)]
Argument error in desktop notification message.

15 years agoConfiguration support for desktop notifications.
Dennis Schridde [Wed, 21 May 2008 13:03:30 +0000 (15:03 +0200)]
Configuration support for desktop notifications.

Add configuration support for org.freedesktop.Notifications
(Currently only enable/disable, timeout, position hints.)
Note: Names are not final yet.

15 years agoImproved support for org.freedesktop.Notifications.
Dennis Schridde [Wed, 21 May 2008 13:03:29 +0000 (15:03 +0200)]
Improved support for org.freedesktop.Notifications.

Add a DesktopNotifications class derived from QDBusAbstractInterface, to be able to call the interface more conveniently.
Replace notifications if possible, instead of spamming new ones.
React on NotificationClosed signals to properly decide which replace_id to use.
Add a dummy button for demonstration to the notification.

15 years agoIntial support for the org.freedesktop.Notifications DBus interface (very basic).
Dennis Schridde [Wed, 21 May 2008 13:03:28 +0000 (15:03 +0200)]
Intial support for the org.freedesktop.Notifications DBus interface (very basic).

15 years agothe inputline is now only disabled if we are not connected to the network or it is...
Marcus Eggenberger [Tue, 22 Jul 2008 19:28:15 +0000 (21:28 +0200)]
the inputline is now only disabled if we are not connected to the network or it is a channel we parted from

15 years agoHopefully fixing the build problems on Debian-based distros
Manuel Nickschas [Tue, 22 Jul 2008 17:23:39 +0000 (19:23 +0200)]
Hopefully fixing the build problems on Debian-based distros

This looks for lrelease-qt4 prior to looking for lrelease. I hope this works
as expected and doesn't screw up things...

15 years agoadded and to predefined alias variables. (needs core restart)
Marcus Eggenberger [Tue, 22 Jul 2008 15:56:55 +0000 (17:56 +0200)]
added  and  to predefined alias variables. (needs core restart)

15 years agoremoving hardcoded aliases from userinputhandler. some minor, internal improvements...
Marcus Eggenberger [Tue, 22 Jul 2008 15:13:19 +0000 (17:13 +0200)]
removing hardcoded aliases from userinputhandler. some minor, internal improvements to the alias settingspage

15 years agojussi01: can you spell aliases?
Marcus Eggenberger [Tue, 22 Jul 2008 01:08:08 +0000 (03:08 +0200)]
jussi01: can you spell aliases?

15 years agofixing gcc warning and removing redundand includes
Marcus Eggenberger [Mon, 21 Jul 2008 14:56:08 +0000 (16:56 +0200)]
fixing gcc warning and removing redundand includes

15 years agostop pinging the server after disconnect... oops
Marcus Eggenberger [Mon, 21 Jul 2008 14:45:38 +0000 (16:45 +0200)]
stop pinging the server after disconnect... oops

15 years agoadding server lag indicator to the network tooltip
Marcus Eggenberger [Mon, 21 Jul 2008 14:43:17 +0000 (16:43 +0200)]
adding server lag indicator to the network tooltip

15 years agoadding protocol version to core startup output and client's about dialog
Marcus Eggenberger [Mon, 21 Jul 2008 13:06:00 +0000 (15:06 +0200)]
adding protocol version to core startup output and client's about dialog

15 years agoAdded a core lag indicator to the statusbar
Marcus Eggenberger [Mon, 21 Jul 2008 12:28:04 +0000 (14:28 +0200)]
Added a core lag indicator to the statusbar

15 years agofixing some inconsitency in the new connection loss detection... breaks protocol
Marcus Eggenberger [Mon, 21 Jul 2008 12:17:10 +0000 (14:17 +0200)]
fixing some inconsitency in the new connection loss detection... breaks protocol

15 years agoquery buffers reflect now the away and on/off state of the corresponding user
Marcus Eggenberger [Mon, 21 Jul 2008 11:25:56 +0000 (13:25 +0200)]
query buffers reflect now the away and on/off state of the corresponding user

15 years agolanguage is now changable (settings -> appearance -> general). default is still the...
Marcus Eggenberger [Sat, 19 Jul 2008 19:05:18 +0000 (21:05 +0200)]
language is now changable (settings -> appearance -> general). default is still the system language

15 years agodisabling core info while not connected. the core info dialog is still in an early...
Marcus Eggenberger [Fri, 18 Jul 2008 13:31:55 +0000 (15:31 +0200)]
disabling core info while not connected. the core info dialog is still in an early state. let me know what you'd like to have in there

15 years agoimproved connection loss detection. (breaks protocol)
Marcus Eggenberger [Fri, 18 Jul 2008 13:25:45 +0000 (15:25 +0200)]
improved connection loss detection. (breaks protocol)

15 years agounconfusinating the core edit dialog
Marcus Eggenberger [Fri, 18 Jul 2008 12:20:21 +0000 (14:20 +0200)]
unconfusinating the core edit dialog

15 years agofixing warning in coreinfodlg.h
Marcus Eggenberger [Fri, 18 Jul 2008 10:18:11 +0000 (12:18 +0200)]
fixing warning in coreinfodlg.h

15 years agofixing client crash if a buffer is deleted during backlog rendering
Marcus Eggenberger [Fri, 18 Jul 2008 10:04:01 +0000 (12:04 +0200)]
fixing client crash if a buffer is deleted during backlog rendering

15 years agoAdopted --debugbufferswitches and --debugmodel to cliparser.
Sebastian Goth [Wed, 16 Jul 2008 22:30:56 +0000 (00:30 +0200)]
Adopted --debugbufferswitches and --debugmodel to cliparser.

15 years agoRemove unneeded stripping of Qt options.
Sebastian Goth [Wed, 16 Jul 2008 17:31:13 +0000 (19:31 +0200)]
Remove unneeded stripping of Qt options.
They work only if Qt got built with QT_DEBUG and then get stripped automatically.

15 years agoActivate cliparser and adapt old global variables to it.
Sebastian Goth [Wed, 16 Jul 2008 17:16:40 +0000 (19:16 +0200)]
Activate cliparser and adapt old global variables to it.
qtopia sources haven't been touched but use the variables from global.h
so they stay there for now.

15 years agoEven more warnings.
Sebastian Goth [Wed, 16 Jul 2008 17:14:58 +0000 (19:14 +0200)]
Even more warnings.

15 years agoWarnings++ and further enhancements in memory usage and usability.
Sebastian Goth [Tue, 15 Jul 2008 21:43:58 +0000 (23:43 +0200)]
Warnings++ and further enhancements in memory usage and usability.
Empty strings are now valid arguments to shortoptions too.
--longoption="" and -l "" would be empty but set strings.

15 years agoRewrite of various parts to enhance codingstyle, memory usage and readability.
Sebastian Goth [Tue, 15 Jul 2008 16:41:41 +0000 (18:41 +0200)]
Rewrite of various parts to enhance codingstyle, memory usage and readability.
As of now, empty strings are valid arguments to longoptions.

15 years agoRemove unneeded but error-prone copy ctor and assignment operator
Sebastian Goth [Tue, 15 Jul 2008 10:27:32 +0000 (12:27 +0200)]
Remove unneeded but error-prone copy ctor and assignment operator

15 years agoHelptexts now added as argument, new isSet(const QString &longName) and various fixes.
Sebastian Goth [Mon, 14 Jul 2008 23:42:35 +0000 (01:42 +0200)]
Helptexts now added as argument, new isSet(const QString &longName) and various fixes.
Changes in CliParserArg:
The var "value" is now a QString, new boolValue for switches.
Other chances only adopt changes in CliParserArg and add small fixes like ignoring Qt's internal arguments.

15 years agoAdded parsing, usage() generation and removed debugging.
Sebastian Goth [Mon, 14 Jul 2008 16:46:33 +0000 (18:46 +0200)]
Added parsing, usage() generation and removed debugging.

15 years agoInitial commit of cliparser.
Sebastian Goth [Sun, 13 Jul 2008 21:22:04 +0000 (23:22 +0200)]
Initial commit of cliparser.
Supports options and switches.
Shortnames, defaultvalues and helptexts can be added optionally.
Accessmethod CliParser::value(QString key) always returns a QVariant.
For switches, if no default is given, it returns "false", for options it returns "QVariant()".

15 years agosome tweaks to the coreinfo dialog
Marcus Eggenberger [Wed, 16 Jul 2008 22:36:24 +0000 (00:36 +0200)]
some tweaks to the coreinfo dialog