quassel.git
12 years agoImprove ChatMonitorFilter, only show plain/notice/action msgs, and display network...
Manuel Nickschas [Mon, 4 Aug 2008 15:15:37 +0000 (17:15 +0200)]
Improve ChatMonitorFilter, only show plain/notice/action msgs, and display network/channel

12 years agoFixing a client crash that could be triggered under certain preconditions if a ircUse...
Marcus Eggenberger [Mon, 4 Aug 2008 13:32:10 +0000 (15:32 +0200)]
Fixing a client crash that could be triggered under certain preconditions if a ircUser object was destroyed.
Also removing debug output from bufferview.cpp

12 years agoFixing selections, also prevent from crashing in some circumstances
Manuel Nickschas [Mon, 4 Aug 2008 11:32:58 +0000 (13:32 +0200)]
Fixing selections, also prevent from crashing in some circumstances

12 years agoFix warning: MsgId is a struct
Manuel Nickschas [Mon, 4 Aug 2008 00:32:59 +0000 (02:32 +0200)]
Fix warning: MsgId is a struct

12 years agoRevert "Save QtUi settings in QtUiStyle again, since the old ChatWidget is gone now"
Manuel Nickschas [Mon, 4 Aug 2008 00:29:16 +0000 (02:29 +0200)]
Revert "Save QtUi settings in QtUiStyle again, since the old ChatWidget is gone now"

Need a proper migration path, since existing settings might screw up the style engine...

This reverts commit c55bd7dc80547563d8c9cc70d54aa3d24ff03166.

12 years agoSave QtUi settings in QtUiStyle again, since the old ChatWidget is gone now
Manuel Nickschas [Mon, 4 Aug 2008 00:25:47 +0000 (02:25 +0200)]
Save QtUi settings in QtUiStyle again, since the old ChatWidget is gone now

12 years agoFix another warning
Manuel Nickschas [Mon, 4 Aug 2008 00:05:22 +0000 (02:05 +0200)]
Fix another warning

12 years agoFix some warnings
Manuel Nickschas [Mon, 4 Aug 2008 00:01:20 +0000 (02:01 +0200)]
Fix some warnings

12 years agoUnfinished work on ChatMonitorFilter's data(), need to talk to EgS again :)
Manuel Nickschas [Sun, 3 Aug 2008 23:50:28 +0000 (01:50 +0200)]
Unfinished work on ChatMonitorFilter's data(), need to talk to EgS again :)

12 years agoClean up MessageModel on disconnect
Manuel Nickschas [Sun, 3 Aug 2008 23:43:18 +0000 (01:43 +0200)]
Clean up MessageModel on disconnect

12 years agoBring back topic display
Manuel Nickschas [Sun, 3 Aug 2008 23:11:42 +0000 (01:11 +0200)]
Bring back topic display

12 years agoMake ChatView's scrollbar behavior a bit more tolerant to workaround BR 238 for now
Manuel Nickschas [Sun, 3 Aug 2008 22:46:02 +0000 (00:46 +0200)]
Make ChatView's scrollbar behavior a bit more tolerant to workaround BR 238 for now

12 years agoBring back systray notifications. Another hacky solution that needs more thinking.
Manuel Nickschas [Sat, 2 Aug 2008 23:39:21 +0000 (01:39 +0200)]
Bring back systray notifications. Another hacky solution that needs more thinking.

12 years agoBring back lastSeen support. Buffer has been hacked even closer to death now.
Manuel Nickschas [Sat, 2 Aug 2008 23:25:30 +0000 (01:25 +0200)]
Bring back lastSeen support. Buffer has been hacked even closer to death now.

12 years agoBring back activity levels. I think Buffer has to go soon, since this is all that...
Manuel Nickschas [Sat, 2 Aug 2008 22:56:02 +0000 (00:56 +0200)]
Bring back activity levels. I think Buffer has to go soon, since this is all that it does now.

12 years agoTemporarily disable topic to make quassel compile again after sputdev merge
Manuel Nickschas [Fri, 1 Aug 2008 11:11:13 +0000 (13:11 +0200)]
Temporarily disable topic to make quassel compile again after sputdev merge

12 years agoBring back highlights
Manuel Nickschas [Thu, 31 Jul 2008 23:43:46 +0000 (01:43 +0200)]
Bring back highlights

12 years agoImplement quick and dirty doubleclick handler for URLs. Will be replaced by fanciness...
Manuel Nickschas [Thu, 31 Jul 2008 23:27:41 +0000 (01:27 +0200)]
Implement quick and dirty doubleclick handler for URLs. Will be replaced by fanciness later.

12 years agoPut selection into clipboard - output format config and context menu to follow later
Manuel Nickschas [Thu, 31 Jul 2008 23:05:20 +0000 (01:05 +0200)]
Put selection into clipboard - output format config and context menu to follow later

12 years agoDeactivate selections on click
Manuel Nickschas [Thu, 31 Jul 2008 22:50:20 +0000 (00:50 +0200)]
Deactivate selections on click

12 years agoInter- and intra-item selections now behave properly, except deactivating a global...
Manuel Nickschas [Thu, 31 Jul 2008 16:37:19 +0000 (18:37 +0200)]
Inter- and intra-item selections now behave properly, except deactivating a global selection is still missing

12 years agobug--
Manuel Nickschas [Thu, 31 Jul 2008 16:36:10 +0000 (18:36 +0200)]
bug--

12 years agoSome slight optimizations
Manuel Nickschas [Wed, 30 Jul 2008 23:17:08 +0000 (01:17 +0200)]
Some slight optimizations

12 years agoStore highlight color in QtUiStyle (hardcoded for now)
Manuel Nickschas [Wed, 30 Jul 2008 22:57:07 +0000 (00:57 +0200)]
Store highlight color in QtUiStyle (hardcoded for now)

12 years agodebug--
Manuel Nickschas [Wed, 30 Jul 2008 22:56:39 +0000 (00:56 +0200)]
debug--

12 years agoAdd selection (and highlight) display to ChatLine
Manuel Nickschas [Wed, 30 Jul 2008 22:56:22 +0000 (00:56 +0200)]
Add selection (and highlight) display to ChatLine

12 years agoMethod stub for implementing multiline selections next
Manuel Nickschas [Tue, 29 Jul 2008 23:04:42 +0000 (01:04 +0200)]
Method stub for implementing multiline selections next

12 years agoRefactor and simplify ChatItem, implement full selection, use qreal where appropriate
Manuel Nickschas [Tue, 29 Jul 2008 20:57:02 +0000 (22:57 +0200)]
Refactor and simplify ChatItem, implement full selection, use qreal where appropriate

12 years agoMake intra-item selections work
Manuel Nickschas [Mon, 28 Jul 2008 20:23:50 +0000 (22:23 +0200)]
Make intra-item selections work

12 years agoAdd stub for overriding data() in ChatMonitorFilter
Manuel Nickschas [Sun, 27 Jul 2008 22:44:38 +0000 (00:44 +0200)]
Add stub for overriding data() in ChatMonitorFilter

12 years agochatmonitor++
Manuel Nickschas [Sat, 26 Jul 2008 22:13:24 +0000 (00:13 +0200)]
chatmonitor++

12 years agoSave and restore column widths
Manuel Nickschas [Fri, 25 Jul 2008 23:51:00 +0000 (01:51 +0200)]
Save and restore column widths

12 years agoNote to self: QString(int) != QString::number(int) -_-
Manuel Nickschas [Fri, 25 Jul 2008 23:50:15 +0000 (01:50 +0200)]
Note to self: QString(int) != QString::number(int) -_-

12 years agoIntroduce an id string for the views (provided by MessageFilter); allows storing...
Manuel Nickschas [Fri, 25 Jul 2008 23:31:12 +0000 (01:31 +0200)]
Introduce an id string for the views (provided by MessageFilter); allows storing per-view settings

12 years agoColumns are now moveable!
Manuel Nickschas [Fri, 25 Jul 2008 22:35:07 +0000 (00:35 +0200)]
Columns are now moveable!

12 years agoManual implement column handle movement to be able to restrict it to horizontal movin...
Manuel Nickschas [Fri, 25 Jul 2008 22:07:13 +0000 (00:07 +0200)]
Manual implement column handle movement to be able to restrict it to horizontal moving between hard limits

12 years agostyling the column handle for the chatview. it has now only shown on hover and a...
Marcus Eggenberger [Fri, 25 Jul 2008 15:17:47 +0000 (17:17 +0200)]
styling the column handle for the chatview. it has now only shown on hover and a smooth gradient

12 years agoColumn handles (but not yet the columns themselves) are now movable
Manuel Nickschas [Thu, 24 Jul 2008 23:05:10 +0000 (01:05 +0200)]
Column handles (but not yet the columns themselves) are now movable

12 years agoIntroduce column separator items; change most of ChatView to use qreal
Manuel Nickschas [Thu, 24 Jul 2008 21:14:50 +0000 (23:14 +0200)]
Introduce column separator items; change most of ChatView to use qreal

These items will be used to drag the columns; also they will display a fancy
vertical line at some point (this FR is years old!).

Also changed most (or all?) our geometry-related values to qreal rather than int,
since QGV operates on qreals. Dunno if that is less efficient though; needs evaluation.

12 years agoSanitize ChatView's scrolling behavior
Manuel Nickschas [Wed, 23 Jul 2008 23:34:21 +0000 (01:34 +0200)]
Sanitize  ChatView's scrolling behavior

12 years agoRemove unnecessary margin for ChatItems
Manuel Nickschas [Tue, 22 Jul 2008 21:44:35 +0000 (23:44 +0200)]
Remove unnecessary margin for ChatItems

12 years agoWhitespace fix
Manuel Nickschas [Sun, 13 Jul 2008 00:59:17 +0000 (02:59 +0200)]
Whitespace fix

12 years agoFixing a bug that caused styling messaging to fail sometimes
Manuel Nickschas [Tue, 22 Jul 2008 16:13:55 +0000 (18:13 +0200)]
Fixing a bug that caused styling messaging to fail sometimes

12 years agoFix vertical alignment and remove debug painting
Manuel Nickschas [Fri, 11 Jul 2008 00:15:14 +0000 (02:15 +0200)]
Fix vertical alignment and remove debug painting

12 years agoCorrectly render timestamp and sender as well
Manuel Nickschas [Thu, 10 Jul 2008 23:58:54 +0000 (01:58 +0200)]
Correctly render timestamp and sender as well

12 years agoReorder stuff
Manuel Nickschas [Thu, 10 Jul 2008 23:39:28 +0000 (01:39 +0200)]
Reorder stuff

12 years agoFix chars sometimes overflowing a tiny little bit
Manuel Nickschas [Thu, 10 Jul 2008 23:35:47 +0000 (01:35 +0200)]
Fix chars sometimes overflowing a tiny little bit

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

12 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

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

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

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

12 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

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

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

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

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

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

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

12 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... :)

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

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

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

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

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

12 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

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

12 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! :)

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

12 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

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

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

12 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

12 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*)

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

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

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

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

12 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

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

12 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

12 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

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

12 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

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

12 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)

12 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)

12 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

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

12 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

12 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

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

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

12 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

12 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

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

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

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

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

12 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