This patch adds configure switches for:
- precompiled headers
- concept checks
- libstdc++ debug mode
I'll commit this later today.
Index: config/lyxinclude.m4
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/config/lyx
Angus Leeming <[EMAIL PROTECTED]> writes:
| There are no symbolic links on Windows. These patches add HAVE_LSTAT and
| HAVE_READLINK to config.h and use 'em.
>
> OK to apply? To 13x too, Jean-Marc?
I am not quite fond of the code...
| Index: src/support/FileInfo.C
|
os_win32.h has these two defines
#define S_IXGRP S_IXUSR
#define S_IXOTH S_IXUSR
They are used only here
char FileInfo::typeIndicator() const
{
...
if (S_ISREG(buf_.st_mode) &&
(buf_.st_mode & (S_IEXEC | S_IXGRP| S_IXOTH)))
}
where S_IEXEC is a synonym
Michael Schmitt wrote:
> Anyway, the problem seems to be related to font_metrics::ascent:
>
> case MENU_SEPARATOR:
> {
> // A triangle the width and height of an 'x'
> int w = font_metrics::width('x', font);
> int ox = font_metrics::width(' ', font) + int(x);
>
On Mon, Jan 03, 2005 at 11:20:22AM +0100, Jean-Marc Lasgouttes wrote:
> > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:
>
> Kayvan> On Sat, Jan 01, 2005 at 01:38:07PM +, Angus Leeming wrote:
> >> The GUI stuff is icing that will take 10 minutes; I'm happy to do
> >> that. Howeve
Hi all,
But all this code is commented out, isn't it?
You are right. My fault :-(
Actually the problem with this code is that it is unreadable.
Indeed!
Anyway, the problem seems to be related to font_metrics::ascent:
case MENU_SEPARATOR:
{
// A triangle the width and height of an 'x'
lib/configure.cmd is a wildly out of date OS/2 file. The patch gets rid of
it and ensures that lib/configure is invoked correctly under Windows.
(Windows doesn't check for '#! /bin/sh' on the first line of the script
and so doesn't recognize it as a shell script.)
OK to apply? To 13x too, Jean-Mar
There are no symbolic links on Windows. These patches add HAVE_LSTAT and
HAVE_READLINK to config.h and use 'em.
OK to apply? To 13x too, Jean-Marc?
--
AngusIndex: config/configure.ac
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/co
Angus Leeming wrote:
> The question is, what's a reasonable configure test for the existence of
> symbolic links? Should I just add tests that will generate HAVE_LSTAT and
> HAVE_READLINK? If so, will these do the trick?
>
> LYX_CHECK_DECL(lstat,unistd.h)
> LYX_CHECK_DECL(readlink,unistd.h)
I ad
Hallo Georg,
nur so'n Versuch: gibt es bei Dir das Verzeichnis /usr/src/linux? Bei mir hat
das nämlich dazu geführt, daß sich cdrecord nicht hat bauen lassen, da
fälschlicherweise Kernel-Includes anstelle von den eigentlich benötigten
Includes angezogen worden sind.
Nur so eine Idee ...
Bis dann
Hi,
this is an intermediate patch to make lyx2lyx more robust in the stable
versions.
This patch makes all the filter have the same call syntax.
I will apply it tomorrow if no one objects. The next phase implies to
catch
exceptions if the lyx2lyx version is stable.
--
I've currently got this nastiness in os_win32.h:
#define S_ISLNK(m) 0
#define lstat stat
inline int readlink(const char *, char *, int) {return -1;}
Seems to me that the code that uses these should be rewritten to use a
HAVE_SYMBOLIC_LINKS macro. I append the affected pieces of code.
The quest
Re-reading everybody's answers to my queries over the last couple of weeks,
it appears that a concensus has been reached about where to put
everything:
Andreas Vox wrote:
> As a reminder, the directory structure for MacOS apps is something like:
>
> /
> LyX.app/
> Contents/
>
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
Andre> On Thu, Nov 25, 2004 at 02:52:58PM +, Angus Leeming wrote:
>> Actually, it's something of a conscious decision. Andre didn't want
>> to force the user to use AMSMath. Maybe he uses a package that
>> defines \underrightarrow that
Kornel Benko wrote:
> I have no problems on Suse 9.2. Recompiling everything may help ...
Of course I did a 'make clean' before and rerun autogen.sh and configure.
> gcc: 3.3.4-11
> autoconf: 2.59-78, I had to remove the cache-directories
> "./lib/reLyX/autom4te.cache" and "./autom4te.cache"
I
On Monday 03 January 2005 13:16, Georg Baum wrote:
> Did anybody compile LyX successfully on SuSE 9.2? Does anybody have a clue
> how to fix this?
>
I have no problems on Suse 9.2. Recompiling everything may help ...
gcc: 3.3.4-11
autoconf: 2.59-78, I had to remove the cache-dire
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Having read your flurry of mails this morning, I changed it.
Angus> There didn't seem to be any need to return a list of
Angus> possible choices. If you use Windows or MacOS X, then the
Angus> system lyxdir is "../Resources" and it'
Jean-Marc Lasgouttes wrote:
> In what you sent, I have:
>
> // The list of possible directories are relative to the path of the LyX
> binary.
> list const possible_relative_system_lyxdirs()
> Is it the same version?
Having read your flurry of mails this morning, I changed it. There didn't
seem
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Jean-Marc Lasgouttes wrote:
>> - what is the intent of using "../share" in non-posix packagings?
>> To
>> make things work when the packaging was actually posix? I think we
>> should rather alow people to use --with-packaging=posix
Jean-Marc Lasgouttes wrote:
> - what is the intent of using "../share" in non-posix packagings? To
> make things work when the packaging was actually posix? I think we
> should rather alow people to use --with-packaging=posix on osx or
> win32, when they actually want that. The nice thing about it
Jean-Marc Lasgouttes wrote:
> Angus> Ok, Jean-Marc. I propose that on Windows machines we do
> Angus> something similar to Ghostscript: $ ls /mnt/windowsXP/Program\
> Angus> Files/Ghostscript\ 8.33/gs8.33/ bin doc examples lib Resource
> Angus> uninstal.txt
>
> We can do that, but not everybody is
My machine was upgraded to SuSE 9.2, and I can't link LyX 1.3 anymore:
g++ -g -O -W -Wall -o lyx BufferView.o BufferView_pimpl.o Bullet.o Chktex.o
CutAndPaste.o DepTable.o FloatList.o Floating.o FuncStatus.o InsetList.o
LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o
paragraph_funcs.o P
Andre Poenitz <[EMAIL PROTECTED]> writes:
| On Mon, Dec 27, 2004 at 08:03:40PM +0100, Juergen Spitzmueller wrote:
>> the patch reenables LFUN_{SUB|SUPER}SCRIPT and thus the insertion of scripts
>> via Insert->Special Formatting.
>
| Fine with me.
>
>> [...]
>> I'll leave all those to André (I do
On Sun, Dec 26, 2004 at 03:47:36PM +0100, Juergen Spitzmueller wrote:
> Andre Poenitz wrote:
> > There is also a check for the argument "on" in math_nestinset.C. I
> >
> > > guess André forgot to check for that argument in other places (text3.C et
> > > al.).
> >
> > Indeed. Would be nice if you co
On Mon, Dec 27, 2004 at 08:03:40PM +0100, Juergen Spitzmueller wrote:
> the patch reenables LFUN_{SUB|SUPER}SCRIPT and thus the insertion of scripts
> via Insert->Special Formatting.
Fine with me.
> [...]
> I'll leave all those to André (I do not have time to dig deeper into mathed
> now). For
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> Try it out. If it works I am ok with it (with a comment)
>
| OK, I am going to commit the following, then.
ok
--
Lgb
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Try it out. If it works I am ok with it (with a comment)
OK, I am going to commit the following, then.
JMarc
Index: src/frontends/xforms//ChangeLog
===
RCS file:
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
| Lars> Try (void)var;
>
| Lars> in the body of the funxtion
>
| That would work indeed. Shall I do it?
Try it out. If it works I am ok with it (with a comment)
--
Lgb
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Ok, Jean-Marc. I propose that on Windows machines we do
Angus> something similar to Ghostscript: $ ls /mnt/windowsXP/Program\
Angus> Files/Ghostscript\ 8.33/gs8.33/ bin doc examples lib Resource
Angus> uninstal.txt
We can do that,
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Try (void)var;
Lars> in the body of the funxtion
That would work indeed. Shall I do it?
JMarc
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Ok, here's the current state of play. I now have something that
Angus> works 'sensibly' under *nix and Windows. I have made no further
Angus> attempt with MacOS X; it would be nice if someone stepped in to
Angus> help there. (See th
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes:
Kayvan> On Sat, Jan 01, 2005 at 01:38:07PM +, Angus Leeming wrote:
>> The GUI stuff is icing that will take 10 minutes; I'm happy to do
>> that. However, I'd prefer to leave the configure stuff to you.
>> Happy?
>>
Kayvan> Sure.
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> Currently LyX 1.4.0 uses /Users/NAME/Library/Preferences/LyX,
Bennett> but ~/Application Support/LyX is fine, too.
And it is actually a better choice, since Preferences seems to be only
for Apple-style prefs.
JMarc
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes:
Michael> I also looked at QPainter::drawPolyline(...) and I was a bit
Michael> astonished by its complexity. The X Window function looks
Michael> simple but the Windows port adds a lot of lines of codes. In
Michael> particular, the fol
34 matches
Mail list logo