Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > That would be excellent, yes: We could store a relative path and > interpret it as relative to user_dir. But ending support for ~ would > break at least one user's preferences file. ;-) Note that we support ${HOME} also. So in this sense it is reasonable

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck <[EMAIL PROTECTED]> writes: That's right: I was trying to bring makeAbsPath into line with expandPath. It's clear why the latter supports "~": Because one might want to configure the path to, say, the lyxpipe as: ~/.lyx/lyxpipe. How useful it is in th

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > That's right: I was trying to bring makeAbsPath into line with > expandPath. It's clear why the latter supports "~": Because one might > want to configure the path to, say, the lyxpipe as: ~/.lyx/lyxpipe. > How useful it is in the other case, I'm not sure

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Richard Heck
Hans Meine wrote: Am Montag, 28. Januar 2008 12:21:15 schrieb Jean-Marc Lasgouttes: [EMAIL PROTECTED] writes: Author: rgheck Date: Sat Jan 26 21:41:19 2008 New Revision: 22687 URL: http://www.lyx.org/trac/changeset/22687 Log: Fix some problems in makeAbsPath(): i. It didn't handle a l

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Hans Meine
Am Montag, 28. Januar 2008 12:21:15 schrieb Jean-Marc Lasgouttes: > [EMAIL PROTECTED] writes: > > Author: rgheck > > Date: Sat Jan 26 21:41:19 2008 > > New Revision: 22687 > > > > URL: http://www.lyx.org/trac/changeset/22687 > > Log: > > Fix some problems in makeAbsPath(): > > i. It didn't handle

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: rgheck > Date: Sat Jan 26 21:41:19 2008 > New Revision: 22687 > > URL: http://www.lyx.org/trac/changeset/22687 > Log: > Fix some problems in makeAbsPath(): > i. It didn't handle a leading "~" Is it really supposed to? This tilde is only used for nice display r

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jürgen Spitzmüller
rgheck wrote: > Or this? OK. Jürgen

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-26 Thread rgheck
[EMAIL PROTECTED] wrote: Author: rgheck Date: Sat Jan 26 21:41:19 2008 New Revision: 22687 URL: http://www.lyx.org/trac/changeset/22687 Log: Fix some problems in makeAbsPath(): i. It didn't handle a leading "~" ii. It wrongly handled a string of ../../etc when this took us back to the root dir

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-26 Thread rgheck
Jurgen, Or this? rh [EMAIL PROTECTED] wrote: Author: rgheck Date: Sat Jan 26 21:41:19 2008 New Revision: 22687 URL: http://www.lyx.org/trac/changeset/22687 Log: Fix some problems in makeAbsPath(): i. It didn't handle a leading "~" ii. It wrongly handled a string of ../../etc when this took