Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Enrico Forestieri
On Tue, Nov 14, 2006 at 11:11:48PM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > On Tue, Nov 14, 2006 at 09:56:08PM +0100, Peter Kümmel wrote: > >> Enrico Forestieri wrote: > > > >>> The patch from Georg fixes it. But I also see another problem. > >>> When clicking on the "BibTeX Gener

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Enrico Forestieri wrote: > On Tue, Nov 14, 2006 at 09:56:08PM +0100, Peter Kümmel wrote: >> Enrico Forestieri wrote: > >>> The patch from Georg fixes it. But I also see another problem. >>> When clicking on the "BibTeX Generated Bibliography" inset, I don't >>> see the bibliography style, even if

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Enrico Forestieri
On Tue, Nov 14, 2006 at 09:56:08PM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > The patch from Georg fixes it. But I also see another problem. > > When clicking on the "BibTeX Generated Bibliography" inset, I don't > > see the bibliography style, even if it is there. This must be due

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Enrico Forestieri wrote: > On Tue, Nov 14, 2006 at 08:21:10PM +0100, Peter Kümmel wrote: >> Georg Baum wrote: > >>> Indeed. Does the attached patch work for you? If yes I would prefer that, >>> since we should convert all filename stuff to docstring eventually and use >>> one place where that is

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Enrico Forestieri
On Tue, Nov 14, 2006 at 08:21:10PM +0100, Peter Kümmel wrote: > Georg Baum wrote: > > Indeed. Does the attached patch work for you? If yes I would prefer that, > > since we should convert all filename stuff to docstring eventually and use > > one place where that is converted to the encoding tha

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Georg Baum wrote: > Am Dienstag, 14. November 2006 20:21 schrieb Peter Kümmel: >> As I understand it now, to_utf8 creates a std::string which >> gets destroyed after construction. And the ctor of Tokenizer >> doesn't make a deep copy of the string, it only stores iterators. > > That explanation ma

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Georg Baum
Am Dienstag, 14. November 2006 20:21 schrieb Peter Kümmel: > As I understand it now, to_utf8 creates a std::string which > gets destroyed after construction. And the ctor of Tokenizer > doesn't make a deep copy of the string, it only stores iterators. That explanation makes sense. I understand the

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Bennett Helm wrote: > On Nov 14, 2006, at 1:41 PM, Georg Baum wrote: > >> Am Dienstag, 14. November 2006 19:08 schrieb Peter Kümmel: >>> Peter Kümmel wrote: Bennett Helm wrote: > Recipe for another crash (1.5 on Mac). > > Create a document with a bibliography that specifies two .b

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Georg Baum wrote: > Am Dienstag, 14. November 2006 19:08 schrieb Peter Kümmel: >> Peter Kümmel wrote: >>> Bennett Helm wrote: Recipe for another crash (1.5 on Mac). Create a document with a bibliography that specifies two .bib files. Select View > View Source, and check the "Dis

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Bennett Helm
On Nov 14, 2006, at 1:41 PM, Georg Baum wrote: Am Dienstag, 14. November 2006 19:08 schrieb Peter Kümmel: Peter Kümmel wrote: Bennett Helm wrote: Recipe for another crash (1.5 on Mac). Create a document with a bibliography that specifies two .bib files. Select View > View Source, and chec

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Georg Baum
Am Dienstag, 14. November 2006 19:08 schrieb Peter Kümmel: > Peter Kümmel wrote: > > Bennett Helm wrote: > >> Recipe for another crash (1.5 on Mac). > >> > >> Create a document with a bibliography that specifies two .bib files. > >> Select View > View Source, and check the "Display complete source"

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Peter Kümmel wrote: > Bennett Helm wrote: >> Recipe for another crash (1.5 on Mac). >> >> Create a document with a bibliography that specifies two .bib files. >> Select View > View Source, and check the "Display complete source" >> option. Back in the main LyX window, start typing text in a standar

Re: 1.5 crash on Mac when viewing source

2006-11-14 Thread Peter Kümmel
Bennett Helm wrote: > Recipe for another crash (1.5 on Mac). > > Create a document with a bibliography that specifies two .bib files. > Select View > View Source, and check the "Display complete source" > option. Back in the main LyX window, start typing text in a standard > paragraph. After a few

1.5 crash on Mac when viewing source

2006-11-14 Thread Bennett Helm
Recipe for another crash (1.5 on Mac). Create a document with a bibliography that specifies two .bib files. Select View > View Source, and check the "Display complete source" option. Back in the main LyX window, start typing text in a standard paragraph. After a few keystrokes, LyX crashes.