Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-12 Thread Georg Baum
Am Montag, 5. März 2007 19:09 schrieb Georg Baum: > Lars Gullik Bjønnes wrote: > > > Georg Baum <[EMAIL PROTECTED]> > > writes: > > > > | I don't know of such a path validity check, but maybe I overlooked it. > > | Are you aware of such a function? > > > > > > I only know of these (in boost):

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-05 Thread Jürgen Spitzmüller
Lars Gullik Bjønnes wrote: > fs::exists should never throw if it does we are feeding it really > bogus data already. So IMHO the try/catch should not be needed. > That is why I really would like to know _what_ throws really. One reason was that the length of the string was exceeding MAX_PATH o

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-05 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > > | I don't know of such a path validity check, but maybe I overlooked it. > | Are you aware of such a function? > > > I only know of these (in boost): > > http://www.boost.org/libs/filesystem/doc/protability_guide.htm#nam

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-05 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | I don't know of such a path validity check, but maybe I overlooked it. Are | you aware of such a function? I only know of these (in boost): http://www.boost.org/libs/filesystem/doc/protability_guide.htm#name_check -- Lgb

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-05 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | > Georg Baum <[EMAIL PROTECTED]> | > writes: | > | > | Do you have a better idea? The regexes will never be perfect, so we must | > | be able to test whether a given string denotes an existing file. | > | > fs::exists shou

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-05 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > > | Do you have a better idea? The regexes will never be perfect, so we must > | be able to test whether a given string denotes an existing file. > > fs::exists should never throw if it does we are feeding it really > bo

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-05 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Do you have a better idea? The regexes will never be perfect, so we must be | able to test whether a given string denotes an existing file. fs::exists should never throw if it does we are feeding it really bogus data already. So IMHO the try/catch sho

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Lars Gullik Bjønnes
Michael Gerz <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes schrieb: | > And I am really annoyed at you keeping discussions _only_ in bugzilla. | > Impossible for others to follow development then. | > | Wrong! If you watch [EMAIL PROTECTED] in bugzilla, you will | receive all changes to all bu

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Georg Baum
Am Sonntag, 4. März 2007 15:38 schrieb Lars Gullik Bjønnes: > This really feels wrong. > > Suddenly it is tripple the complexity. Do you have a better idea? The regexes will never be perfect, so we must be able to test whether a given string denotes an existing file. > And I am really annoyed

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Michael Gerz
Lars Gullik Bjønnes schrieb: And I am really annoyed at you keeping discussions _only_ in bugzilla. Impossible for others to follow development then. Wrong! If you watch [EMAIL PROTECTED] in bugzilla, you will receive all changes to all bug reports (because John is our QA man). Michael

Re: r17405 - /lyx-devel/trunk/src/LaTeX.C

2007-03-04 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | Author: baum | Date: Sun Mar 4 14:22:38 2007 | New Revision: 17405 | | URL: http://www.lyx.org/trac/changeset/17405 | Log: | Fix bug 3305 | * src/LaTeX.C | (insertIfExists): Catch boost::filesystem exceptions, since they | are not errors in this cont