quassel.git
11 years agoMove checkForHighlight() from Client to QtUiMessageProcessor.
Manuel Nickschas [Wed, 6 Aug 2008 19:50:50 +0000 (21:50 +0200)]
Move checkForHighlight() from Client to QtUiMessageProcessor.

11 years agoMake use of QtUiMessageProcessor. For now, we just directly layout the messages as...
Manuel Nickschas [Wed, 6 Aug 2008 19:45:10 +0000 (21:45 +0200)]
Make use of QtUiMessageProcessor. For now, we just directly layout the messages as we used to.

11 years agoIntroduce AbstractMessageProcessor and its specialization QtUiMessageProcessor.
Manuel Nickschas [Wed, 6 Aug 2008 19:43:59 +0000 (21:43 +0200)]
Introduce AbstractMessageProcessor and its specialization QtUiMessageProcessor.

Its task is to create ChatLineModelItems from Messages, which currently happens in Client.
As this is too slow, we will once again process incoming messages, in particular backlog
packages, asynchronously. Externalizing this and abstracting it away from Client will
facilite this. Also the specialization in QtUi will allow us to use GUI features, which will
be particularly handy for determining if we can do font rendering outside the GUI thread.

11 years agowarnings--
Manuel Nickschas [Wed, 6 Aug 2008 15:56:57 +0000 (17:56 +0200)]
warnings--

11 years agoIntroduce QtUiStyleSettings and make highlight color configurable again
Manuel Nickschas [Wed, 6 Aug 2008 15:50:35 +0000 (17:50 +0200)]
Introduce QtUiStyleSettings and make highlight color configurable again

11 years agoConsolidate UiStyleSettings into uisettings.h
Manuel Nickschas [Wed, 6 Aug 2008 15:23:10 +0000 (17:23 +0200)]
Consolidate UiStyleSettings into uisettings.h

11 years agoFixed URL recognizer to not endlessly loop anymore
Manuel Nickschas [Wed, 6 Aug 2008 14:59:45 +0000 (16:59 +0200)]
Fixed URL recognizer to not endlessly loop anymore

11 years agoFix typo
Manuel Nickschas [Wed, 6 Aug 2008 01:16:20 +0000 (03:16 +0200)]
Fix typo

11 years agoApply colors to BufferView and NickView again
Manuel Nickschas [Wed, 6 Aug 2008 01:14:17 +0000 (03:14 +0200)]
Apply colors to BufferView and NickView again

11 years agoDisable unused color settings in ColorSettingsPage
Manuel Nickschas [Wed, 6 Aug 2008 00:58:20 +0000 (02:58 +0200)]
Disable unused color settings in ColorSettingsPage

11 years agoAdd migration code that removes obsolete style settings
Manuel Nickschas [Wed, 6 Aug 2008 00:53:07 +0000 (02:53 +0200)]
Add migration code that removes obsolete style settings

11 years agoLoad default formats correctly in all cases
Manuel Nickschas [Wed, 6 Aug 2008 00:33:02 +0000 (02:33 +0200)]
Load default formats correctly in all cases

11 years agoClean up ColorSettingsPage and make it store stuff correctly
Manuel Nickschas [Wed, 6 Aug 2008 00:32:14 +0000 (02:32 +0200)]
Clean up ColorSettingsPage and make it store stuff correctly

11 years agoFix mIRC colors
Manuel Nickschas [Tue, 5 Aug 2008 22:08:58 +0000 (00:08 +0200)]
Fix mIRC colors

11 years agopersitentmodelindexes--
Marcus Eggenberger [Tue, 5 Aug 2008 14:35:27 +0000 (16:35 +0200)]
persitentmodelindexes--

11 years agoMaintenance French Translation
ZRegis [Sat, 2 Aug 2008 17:44:20 +0000 (19:44 +0200)]
Maintenance French Translation

11 years agoFix missing translation strings
ZRegis [Sat, 2 Aug 2008 17:43:55 +0000 (19:43 +0200)]
Fix missing translation strings

11 years agoUpdate other translation files to allow heuristic fonctionality providing more transl...
ZRegis [Sat, 2 Aug 2008 17:04:22 +0000 (19:04 +0200)]
Update other translation files to allow heuristic fonctionality providing more translated text.

11 years agoMaintenance French Translation without missing Qt main translation.
ZRegis [Sat, 2 Aug 2008 16:58:03 +0000 (18:58 +0200)]
Maintenance French Translation without missing Qt main translation.

11 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

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

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

11 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

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

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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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

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

11 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

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

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

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

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

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

11 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

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

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

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

11 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

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

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

11 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

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

11 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

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

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

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

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

11 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

11 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

11 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

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

11 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

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

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

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

11 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

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

11 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

11 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

11 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

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

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

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

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

11 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

11 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

11 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

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

11 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

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

11 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

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

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

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

11 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

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

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

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

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

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

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

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

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

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

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

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

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

11 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

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

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

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

11 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