Kuba Ober wrote:
> I vaguely recall this idea being raised at one point or another, but can't
> the temporary file names be simply generated from some kind of a unique
> global counter, maybe merged with PID?
We have a global counter, it is prepended to the mangled name. Otherwise it
would not be
Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Bennett Helm wrote:
>
> > Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
> > configure, which fails. I get variants of the following error with each
> > of ostream, istream, sstream, locale, ios, and Aiksaurus:
Same with me.
As promised Jean-Marc here is the output from lyx -dbg init. This is with
the 'remainder of Ruurd's changes' patch applied to the current 13x CVS.
I've also applied today's two proposals 'mangling temporary file names'
and 'determining the name of the LyX system dir'.
$ cd qt3/bin
$ ~/lyx-13x/buil
Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
>
> | @@ -217,8 +217,19 @@ bool setLyxPaths()
> | bool followlink;
> | do {
> | // Path of binary/../share/name of binary/
> | - searchpath += NormalizePath(AddPath(binpath, "../share/") +
> | - On
On czwartek 16 grudzieÅ 2004 11:59 am, Angus Leeming wrote:
> Given a file name "C:/foo/bar", I believe that the name of the temporary
> file should be "C__foo_bar". Ie, the drive name should be included in the
> mangling. Ruurd was addressing this idea in his patch, but he simply
> removed the dri
Angus Leeming wrote:
> Do you agree that my approach is better? If so, are you happy with the
> attached patches for the 13x and 14x trees?
Yes and yes.
Georg
Angus Leeming <[EMAIL PROTECTED]> writes:
| @@ -217,8 +217,19 @@ bool setLyxPaths()
| bool followlink;
| do {
| // Path of binary/../share/name of binary/
| - searchpath += NormalizePath(AddPath(binpath, "../share/") +
| - OnlyFilename(binnam
Ok, Jean-Marc. Here is a refinement of Ruurd's patch to determine the name
of the LyX system directory from the name of the LyX binary. Are you happy
with this or should we discuss it some more?
--
AngusIndex: src/ChangeLog
===
RCS
Given a file name "C:/foo/bar", I believe that the name of the temporary
file should be "C__foo_bar". Ie, the drive name should be included in the
mangling. Ruurd was addressing this idea in his patch, but he simply
removed the drive prefix from the mangled name.
Do you agree that my approach i
Lars Gullik Bjønnes wrote:
> | class os {
> | public:
> | static void init(int argc, char * argv[]);
>>
> | static string const & binpath();
> | static string const & binname();
> | static string const & homepath();
> | static string const & nulldev();
> | pr
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Thanks for the commentary, Jean-Marc. I like the ideas of a
Angus> hierarchy of "os" classes and of getting rid of GetEnvPath.
Angus> I'll continue the process of small, self contained patches.
Sure.
Angus> I think that, as a rule
Jean-Marc Lasgouttes wrote:
>>> A little digression: instead of our current os:: namespace,
>>> wouldn't it be better to have a hierarchy of os_foo classes with
>>> static methods, so that some environment could inherit others (like
>>> cygwin = unix + some stuff). The some of the code from this in
Jean-Marc Lasgouttes wrote:
>@@ -623,6 +623,8 @@ string const InsetGraphics::prepareFile(
>// without dots and again with ext
>temp_file = ChangeExtension(
>subst(temp_file, ".", "_"), ext_tmp);
>+ //Remove drive l
Jean-Marc Lasgouttes wrote:
>@@ -289,7 +293,7 @@ void LyX::init(bool gui)
>do {
>// Path of binary/../share/name of binary/
>searchpath += NormalizePath(AddPath(binpath,
>"../share/") +
>-OnlyFilename(b
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Jean-Marc Lasgouttes wrote:
>> A little digression: instead of our current os:: namespace,
>> wouldn't it be better to have a hierarchy of os_foo classes with
>> static methods, so that some environment could inherit others (like
>>
Angus Leeming <[EMAIL PROTECTED]> writes:
| Jean-Marc Lasgouttes wrote:
>> A little digression: instead of our current os:: namespace, wouldn't
>> it be better to have a hierarchy of os_foo classes with static
>> methods, so that some environment could inherit others (like cygwin =
>> unix + some
Jean-Marc Lasgouttes wrote:
> > "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
>
> Juergen> Martin Vermeer wrote:
> >> These are meant to be the units Ångström and Ørsted. So you need a
> >> Swedish Å (\AA is OK I think) and a Danish Ø (\O).
>
> Juergen> Patch attached. The only
Bennett Helm wrote:
> Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
> configure, which fails. I get variants of the following error with each
> of ostream, istream, sstream, locale, ios, and Aiksaurus:
>
> checking ostream usability... no
> checking ostream presence... ye
Trying to build the latest CVS of lyx-140 in Mac OS X forced rerunning
configure, which fails. I get variants of the following error with each
of ostream, istream, sstream, locale, ios, and Aiksaurus:
checking ostream usability... no
checking ostream presence... yes
configure: WARNING: ostream:
Cruft left over from the 'OS abstraction of "HOME" and the null device'
patch. Thanks to Jean-Marc for spotting this stuff.
Committing now...
AngusIndex: src/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
r
Martin Vermeer wrote:
> E.g., the real numbers R is sent as "mathbb R" and then dispatched as
> "\mathbb" (creating a little blue font box), followed by "R" (to be put
> inside it).
>
> This *used* to work, but doesn't anymore. Jürgen, is this what you are
> fixing?
Basically yes.
Jürgen
P.S.: I
Jean-Marc Lasgouttes wrote:
> A little digression: instead of our current os:: namespace, wouldn't
> it be better to have a hierarchy of os_foo classes with static
> methods, so that some environment could inherit others (like cygwin =
> unix + some stuff). The some of the code from this init metho
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Martin Vermeer wrote:
>> These are meant to be the units Ångström and Ørsted. So you need a
>> Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Juergen> Patch attached. The only drawback is that it gets rendered as
Jue
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Isn't it possible to define \mesg only when \typeout's argument
Angus> starts "Babel":
Jean-Marc> I thought about that (and I do not know how to do it...),
Jean-
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
Andre> On Tue, Dec 07, 2004 at 04:32:59PM +, Angus Leeming wrote:
>> Isn't it possible to define \mesg only when \typeout's argument
>> starts "Babel":
>>
>> {\def\typeout#1{if #1 starts with "Babel" then
>> \global\def\mesg{#1}} \the
Edwin Leuven wrote:
>> What doc was that?
>
> it crashes on the attached...
| \layoutÂCaption
|
|
AverageÂworkingÂtimeÂrelativeÂtoÂfull-time,ÂbyÂageÂandÂgenderÂ(1999-2002)
THe problem is a caption in a top paragraph. In top paragraphs the
inset_owner is not set on reading and so it crashes.
On Thu, 2004-12-16 at 15:29, Jean-Marc Lasgouttes wrote:
> > "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
>
> Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1214 This one fixes a
> Juergen> bug in xforms' math panel. mathed should always get only one
> Juergen> dispatch, not
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> Jean-Marc Lasgouttes wrote:
Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1214 This one fixes a
Juergen> bug in xforms' math panel. mathed should always get only one
Juergen> dispatch, not two separate ones. The qt fro
Jean-Marc Lasgouttes wrote:
> Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1214 This one fixes a
> Juergen> bug in xforms' math panel. mathed should always get only one
> Juergen> dispatch, not two separate ones. The qt frontend does this
> Juergen> since genesis.
>
> What kind of values can la
Thanks for the commentary, Jean-Marc. I like the ideas of a hierarchy of
"os" classes and of getting rid of GetEnvPath. I'll continue the process
of small, self contained patches.
>@@ -113,6 +113,7 @@ string const fromqstr(QString const & st
> {
>QTextCodec * codec = QTextCod
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| What can unistd.h do that no header does?
Lars> unixy things. Lots of stuff just have a look at the header on
Lars> your own box.
Lars> The header are basically just the C-standard headers in C++
Lars> wrapping.
So the uni stan
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| | ?
>
| Lars> No such thing.
>
| What can unistd.h do that no header does?
unixy things. Lots of stuff just have a look at the header on your own
box.
The header are basically
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| ?
Lars> No such thing.
What can unistd.h do that no header does?
JMarc
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes:
Juergen> http://bugzilla.lyx.org/show_bug.cgi?id=1214 This one fixes a
Juergen> bug in xforms' math panel. mathed should always get only one
Juergen> dispatch, not two separate ones. The qt frontend does this
Juergen> since genesi
Martin Vermeer wrote:
> These are meant to be the units Ångström and Ørsted. So you need a
> Swedish Å (\AA is OK I think) and a Danish Ø (\O).
Patch attached. The only drawback is that it gets rendered as "AA" and "O". I
don't know how to add the commands \AA and \O to lib/symbols or whereever.
http://bugzilla.lyx.org/show_bug.cgi?id=1214
This one fixes a bug in xforms' math panel. mathed should always get only one
dispatch, not two separate ones. The qt frontend does this since genesis.
OK?
Jürgen
P.S.: This is also a 1.3.6 candidate
Index: FormMathsBitmap.C
What doc was that?
it crashes on the attached...
regards, ed.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage{mathptmx}
\usepackage[scaled=0.9]{helvet}
\usepackage{courier}
\usepackage{rotating}
\date{}
\usepackage{dcol
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
|+#ifdef HAVE_UNISTD_H
|+# include
|+#endif
|+
| ?
No such thing.
--
Lgb
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> As promised, I'm posting the remainder of the changes that are
Angus> needed to compile LyX with MinGW. This patch is much less
Angus> intrusive than the original because the offensive os_win32.h is
Angus> how #included only by thos
Lars Gullik Bjønnes wrote:
> | As promised, I'm posting the remainder of the changes that are needed
> | to compile LyX with MinGW. This patch is much less intrusive than the
> | original because the offensive os_win32.h is how #included only by
> | those .C files that actually need it.
>
> I am n
> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes:
Edwin> PPS trying to open a doc, lyx crashes:
What doc was that?
JMarc
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> It turned out that this solution was incorrect. Compilation
Angus> failed on the Windows machine because the definition of a mkdir
Angus> macro in config.h conflicted with another mkdir macro defined
Angus> in mingw/include/os.h.
A
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> As suggested by JMarc. Committing now...
Actually, I was advocating removing the whole information line, but it
may have been too drastic :)
JMarc
"Angus Leeming" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Incidentally, Ruurd, do you need this wrapper at all? Why not patch the
> scripts in config to generate Makefiles that 'just do the right thing'?
I did try that at first, but I wasn´t very successfull. If remember
correc
Angus Leeming <[EMAIL PROTECTED]> writes:
| As promised, I'm posting the remainder of the changes that are needed to
| compile LyX with MinGW. This patch is much less intrusive than the
| original because the offensive os_win32.h is how #included only by
| those .C files that actually need it.
I
Ruurd Reitsma wrote:
> By request, this the wrapper tool that I use to compile LyX with MSVC.
> All thanks to the Coin3D project. Cygwin is used to run the autotools and
> make, but compilation is native Win32 with MSVC.
>
> IMO this is the most time efficient way to do it. I have fiddled with
>
46 matches
Mail list logo