Re: [patch] make documents compilable that use hyperref and colorlinks

2008-09-28 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > Do you prefer from_ascii for all calls? No, I prefer from_ascii for all calls where we are sure that no characters beyond the ascii range are involved. The reason for the two calls is that from_utf8 is rather expensive, so we use the much faster from_ascii whereever possible.

Re: [Bug 5252] LyX can't handle files with multi-byte chars in path

2008-09-28 Thread hzluo
Friends, I have taken complete examination and test for this problem, found the following information: 1. Qt 4.4 has fixed several locale related problems, so now lyx is able to handle any files with non-ASCII chars in filename. This is true on Windows XP systems. I do not know the effect on o

Re: [Bug 5252] LyX can't handle files with multi-byte chars in path

2008-09-28 Thread hzluo
Yes, the fact that this code _is not used_, provided that you use Qt4.4. And we _will_ use Qt4.4 on Windows for 1.6.x. This code is meant to disappear when we finally switch to 4.4, but this is not very important. The other issue is much more important. Yes, I know that. I can fully understand

Outline more persistent

2008-09-28 Thread Pavel Sanda
hi, its constant frustration for me that it is not possible to keep outliner tree view in some persistent state. i very often need to uncollapse only few branches in my view to see the structure and move between these places. the document is big enough that full uncollapsing is not usable. it dr

Re: boost update

2008-09-28 Thread Pavel Sanda
Abdelrazak Younes wrote: >> I would prefer after rc3. We are putting too much in the same plate. >> > > rc3 is already released in any case, isn't it? there were two problems reported from Konrad, dunno if its showstopper. pavel

[patch] fix list of PostScript drivers (bug 5294)

2008-09-28 Thread Uwe Stöhr
The attached patch updates the list of PostScript drivers we provide in the document setting. This would be a fileformat change and fixes http://bugzilla.lyx.org/show_bug.cgi?id=5294 . regards Uwe Index: src/BufferParams.cpp === ---

Re: boost update

2008-09-28 Thread Abdelrazak Younes
On 28/09/2008 20:04, José Matos wrote: On Monday 22 September 2008 10:52:54 Abdelrazak Younes wrote: Well, I understand but 1.36 is already one year old and we don't use boost as much as in the past. Boost was 1.36 was release last month as far as I can see. Not that this is a proble

Re: boost update

2008-09-28 Thread José Matos
On Saturday 27 September 2008 21:36:15 Jean-Marc Lasgouttes wrote: > Yes, from m at least. José? From me as well. With Fedora 10 I have been able to use the system boost instead of the included boost and the system boost is 1.36.0 so it works at least to me. > JMarc -- José Abílio

Re: boost update

2008-09-28 Thread José Matos
On Monday 22 September 2008 10:52:54 Abdelrazak Younes wrote: > Well, I understand but 1.36 is already one year old and we don't use > boost as much as in the past. Boost was 1.36 was release last month as far as I can see. Not that this is a problem though. > So I reckon that the risk is very m

Re: [Bug 5252] LyX can't handle files with multi-byte chars in path

2008-09-28 Thread Abdelrazak Younes
On 28/09/2008 18:18, Abdelrazak Younes wrote: The patch from Hangzai is attached. The patch... Abdel. Index: DetourCapIntf.cpp === --- DetourCapIntf.cpp (revision 0) +++ DetourCapIntf.cpp (revision 0) @@ -0,0 +1,55 @@ +/** +

Re: [Bug 5252] LyX can't handle files with multi-byte chars in path

2008-09-28 Thread Abdelrazak Younes
Hello Hangzai, > I know, I wrote the API ;-) I did not do this because it is not > accessible, being a private method. But this doesn't matter if you > use Qt4.4 anyway. You put this function in Filename::Private, but IMHO it belongs to Filename class. Is there any special consideration for y

Re: rc3

2008-09-28 Thread Kornel Benko
Am Sonntag 28 September 2008 schrieb Uwe Stöhr: > > This happens in both Windows (LyX-16rc2-4-08-AltInstaller-Small.exe), > > and with the rc2 Linux source I compiled. (See > > http://bugzilla.lyx.org/show_bug.cgi?id=5263 ) > > I can confirm this with latest trunk too. It is a regression to LyX

Re: rc3

2008-09-28 Thread Uwe Stöhr
> This happens in both Windows (LyX-16rc2-4-08-AltInstaller-Small.exe), and with > the rc2 Linux source I compiled. (See http://bugzilla.lyx.org/show_bug.cgi?id=5263 ) I can confirm this with latest trunk too. It is a regression to LyX 1.5, see http://bugzilla.lyx.org/show_bug.cgi?id=5263 reg

Re: [patch] make documents compilable that use hyperref and colorlinks

2008-09-28 Thread Uwe Stöhr
> Is the from_ascii -> from_utf8 change necessary? Currently we use from_utf8 and from_ascii inconsistently in BufferParams.cpp: when calling babel we use from_utf8 for the other packages from_ascii. But LaTeXFeatures::getPackages(), LaTeXFeatures::getMacros(), and LaTeXFeatures::getBabelOption

Re: [patch] make documents compilable that use hyperref and colorlinks

2008-09-28 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > The attached patch implements this. To be able to do that, I needed to > handle the color packages [x]color and pdfcolmk in a separate routine in > LaTeXParams.cpp. Is the from_ascii -> from_utf8 change necessary? Jürgen