quassel.git
16 years agoFix URL regexp to not include whitespace anymore
Manuel Nickschas [Tue, 5 Aug 2008 11:02:53 +0000 (13:02 +0200)]
Fix URL regexp to not include whitespace anymore

16 years agoTemporarily disable notifications again.
Manuel Nickschas [Mon, 4 Aug 2008 22:14:00 +0000 (00:14 +0200)]
Temporarily disable notifications again.

Current implementation causes trouble because it's called for backlog replay
as well. Probably need some other way.

16 years agoCosmetic fixes for the notifications
Manuel Nickschas [Mon, 4 Aug 2008 21:12:00 +0000 (23:12 +0200)]
Cosmetic fixes for the notifications

16 years agoPost-merge cleanups, remove the old message handling
Manuel Nickschas [Mon, 4 Aug 2008 20:53:38 +0000 (22:53 +0200)]
Post-merge cleanups, remove the old message handling

16 years agoNotifications use MessageModel now (making them work again, except for some cosmetic...
Manuel Nickschas [Mon, 4 Aug 2008 20:53:17 +0000 (22:53 +0200)]
Notifications use MessageModel now (making them work again, except for some cosmetic issues)

16 years agointernal fixes
Marcus Eggenberger [Mon, 4 Aug 2008 21:03:41 +0000 (23:03 +0200)]
internal fixes

16 years agoSquashed commit of the following:
Daniel Albers [Mon, 4 Aug 2008 20:46:01 +0000 (22:46 +0200)]
Squashed commit of the following:

commit 01219f25df98c25294b0bd86674f32de435071a9
Author: Daniel Albers <daniel@lbers.com>
Date:   Mon Aug 4 22:42:25 2008 +0200

    german translation bits

commit 0b48cb440fd7d9533f6607d71e7cda01311386c0
Author: Daniel Albers <daniel@lbers.com>
Date:   Fri Jul 25 16:56:54 2008 +0200

    german translation bit

commit 491cf9a184348322777586c83ece580de22201e2
Author: Daniel Albers <daniel@lbers.com>
Date:   Thu Jul 24 17:46:00 2008 +0200

    german translation bit

commit 995e670420be9face1506924d948f44d35571cbc
Author: Daniel Albers <daniel@lbers.com>
Date:   Sun Jul 13 20:17:06 2008 +0200

    german translation bit

commit 9d3543663f4a14909ca889e93f70f3b602388bff
Author: Daniel Albers <daniel@lbers.com>
Date:   Sun Jul 13 18:08:34 2008 +0200

    german translation bits

commit 405970de691cffd64415dd9b20a0842d33888374
Author: Daniel Albers <daniel@lbers.com>
Date:   Fri Jul 11 19:39:38 2008 +0200

    german translation bit

commit c4ef47fb5f3e08b164d95ac39ed6eec0af9d9a48
Author: Daniel Albers <daniel@lbers.com>
Date:   Wed Jul 9 01:01:51 2008 +0200

    german translation bit

commit 0939faa5cb7fad31aedfe72aea25ad02060cee79
Author: Daniel Albers <daniel@lbers.com>
Date:   Thu Jul 10 16:04:34 2008 +0200

    german translation bit

16 years agointernal stuff only: added accessors for bufferName, networkId, networkName and buffe...
Marcus Eggenberger [Mon, 4 Aug 2008 20:20:10 +0000 (22:20 +0200)]
internal stuff only: added accessors for bufferName, networkId, networkName and bufferType to NetworkModel

16 years agoFixing BR #234. Queries where the chatpartner is away are no longer shown as disabled...
Marcus Eggenberger [Mon, 4 Aug 2008 19:12:54 +0000 (21:12 +0200)]
Fixing BR #234. Queries where the chatpartner is away are no longer shown as disabled but are crossed through. Not the nicest solution though. We probably should create our own delegate

16 years agomaster branch requires Qt 4.4 now...
Manuel Nickschas [Mon, 4 Aug 2008 17:24:20 +0000 (19:24 +0200)]
master branch requires Qt 4.4 now...

16 years agofixed a newly introduced crash on user mode changes
Marcus Eggenberger [Mon, 4 Aug 2008 15:53:28 +0000 (17:53 +0200)]
fixed a newly introduced crash on user mode changes

16 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

16 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

16 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

16 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

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

16 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

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

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

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

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

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

16 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

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

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

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

16 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

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

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

16 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

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

16 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

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

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

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

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

16 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

16 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

16 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

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

16 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

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

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

16 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) -_-

16 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

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

16 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

16 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

16 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

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

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

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

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

16 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

16 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

16 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

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

16 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

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

16 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

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

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

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

16 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

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

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

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

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

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

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

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

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

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

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

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

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

16 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

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

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

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

16 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

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

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

16 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

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

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

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

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

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

16 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

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

16 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

16 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

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

16 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

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

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

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

16 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

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