Re: Scons-msvc project files

2006-06-02 Thread Bo Peng
Hi, Attached please find a patch that generate the msvc project files. It works like this 1. go to development/scons You *can not* do scons -f development/scons/SConstruct. 2. scons whateveroptions all This will build lyx, and generate project files 3. to test, remove build directory, open p

Re: qt4 - config/qt.m4

2006-06-02 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Donnerstag, 1. Juni 2006 12:10 schrieb Jean-Marc Lasgouttes: | > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: | > | > Georg> I think it would be possible, but not easier than tweaking | > Georg> qt.m4. | > | > Getting rid of AC_PATH_EXTRA (

Re: qt4 - config/qt.m4

2006-06-02 Thread Georg Baum
Am Donnerstag, 1. Juni 2006 12:10 schrieb Jean-Marc Lasgouttes: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> I think it would be possible, but not easier than tweaking > Georg> qt.m4. > > Getting rid of AC_PATH_EXTRA (just keep it for xforms) would be nice... That is not

Re: Conformant web pages once more

2006-06-02 Thread Angus Leeming
Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | This page: http://community.nethosted.co.uk/post_9972.html > | explains why our web pages aren't validating with the W3C validator at the > | moment and how to fix it. > Better now? Certainly. http://validator.w3.org/check?uri=http://www.lyx.or

Re: Conformant web pages once more

2006-06-02 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | This page: http://community.nethosted.co.uk/post_9972.html | | explains why our web pages aren't validating with the W3C validator at the | moment and how to fix it. Better now? -- Lgb

Crash in 1.4.2svn with graphics changed in background

2006-06-02 Thread Jose' Matos
Hi, I am running 1.4.2svn over gdb. I am using Fedora Core 5 up to date. I noticed that everytime I redo some graphic displayed in lyx, lyx crashes. This means that lyx should be opened and should have rendered the graphic before. The backtrace is the following: Program receive

Conformant web pages once more

2006-06-02 Thread Angus Leeming
This page: http://community.nethosted.co.uk/post_9972.html explains why our web pages aren't validating with the W3C validator at the moment and how to fix it. Could someone change the DOCTYPE declaration to: http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> Regards, Angus

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Edwin Leuven
Abdelrazak Younes wrote: Edwin Leuven wrote: other changes i see: 1. before the patch selecting with the mouse down was ill behaved because after reaching the end of the document the cursor would move to the beginning etc 2. tabbing now works in tables (move to next cell) and didn't before

Re: Question about QWorkarea and usefulness of wa_ptr

2006-06-02 Thread Georg Baum
Abdelrazak Younes wrote: > AFAIS, wa_ptr is equivalent to "this" and is not used anywhere else. It is used in lyxX11EventFilter and checkAppleEventForMissingParams (only in OS X). Figuring out the reason why it is needed there is left as an exercise for the reader. > So, can I remove it? No. Bu

Re: Question about QWorkarea and usefulness of wa_ptr

2006-06-02 Thread Angus Leeming
Abdelrazak Younes wrote: AFAIS, wa_ptr is equivalent to "this" and is not used anywhere else. So, can I remove it? Sure. Feel free to experiment. Angus

Re: New Windows Installer

2006-06-02 Thread Angus Leeming
Angus Leeming wrote: Angus Leeming wrote: Joost Verburg wrote: A new installer for Aspell 0.6 data and dictionaries has been uploaded: http://wiki.lyx.org/uploads/Windows/Installer/aspell6-wininstaller-src.tar.gz The next version of the LyX installer will bundle this new Aspell installer and

Question about QWorkarea and usefulness of wa_ptr

2006-06-02 Thread Abdelrazak Younes
Hello, In the qt4 frontend, I would like to get rid of this wa_ptr that seems do to do nothing at all in the Qt4 port. At least it doesn't do anything in windows and X11. On Mac there is this special code in QWorkArea constructor: #ifdef Q_WS_MACX wa_ptr = this; #endif Other than th

Re: New Windows Installer

2006-06-02 Thread Jean-Marc Lasgouttes
>>>>> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Build 20060602 is available and has been uploaded to incoming. Joost> Can you move the files again JMarc? Done: lftp [EMAIL PROTECTED]:/home/ftp/pub/lyx/pre> dir lyx-142svn-20060602.exe* -r

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Abdelrazak Younes
Edwin Leuven wrote: other changes i see: 1. before the patch selecting with the mouse down was ill behaved because after reaching the end of the document the cursor would move to the beginning etc 2. tabbing now works in tables (move to next cell) and didn't before I have some difficulties

Re: scons-msvc adventure

2006-06-02 Thread Bo Peng
I agree with Angus that, even if this glob think is easier to maintain than the explicit file listing, it's easy to have some temporary .C files in there. So I would say that this is error prone. That said, it is just a matter of education... if I know that I should not put temporary files in the

Re: scons-msvc adventure

2006-06-02 Thread Bo Peng
I got this error: Warning: Can not locate any spell checker Checking for the number of args for mkdir... one Checking for arg types for select... yes IOError: [Errno 2] No such file or directory: '.\\src\\config.h': File "C:\sandbox\lyx\lyx-devel\development\scons\SConstruct", line 1067: ut

Re: scons-msvc adventure

2006-06-02 Thread Bo Peng
| Anyway, many people prefer to list source files explicitly. If you are | one of them, you still get a chance to persuade me. Not all files in a folder is part of a build. (not even all source files...) I know, that is why I have to have include and exclude options for the globSource function

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Abdelrazak Younes
Edwin Leuven wrote: selecting with the mousing and letting it scroll down results in the messages below. behavior is good though (no anomalies): can't compare cursor and anchor in different insets p: inset: 0x1e96d20 idx: 5 par: 0 pos: 1 q: inset: 0x1eade68 idx: 6 par: 0 pos: 0 I don't see t

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: And furthermore it get rid of a bug that I noticed sometimes with cursor drawing. Namely that the trace of the former cursor remains after you move it. other changes i see: 1. before the patch selecting with the mouse down was ill behaved because

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: It is not that useful but it is cleaner code wise. Since the beginning of my qt4 port I wondered why we needed to save the "no cursor" region and restore it. With this patch I finally got rid of it by drawing the cursor after the work-area and only

Re: New Windows Installer

2006-06-02 Thread Joost Verburg
Build 20060602 is available and has been uploaded to incoming. Can you move the files again JMarc? Everything related the Aspell should now work fine. Dictionary installation will also become easier once the script Angus is running finished (just a single click to accept the license). The

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Angus Leeming
Abdelrazak Younes wrote: It is not that useful but it is cleaner code wise. Since the beginning of my qt4 port I wondered why we needed to save the "no cursor" region and restore it. With this patch I finally got rid of it by drawing the cursor after the work-area and only if it is needed. Mm

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Edwin Leuven
Abdelrazak Younes wrote: And furthermore it get rid of a bug that I noticed sometimes with cursor drawing. Namely that the trace of the former cursor remains after you move it. other changes i see: 1. before the patch selecting with the mouse down was ill behaved because after reaching the e

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: Hello, I would like to put this in but I touched a tiny bit the other frontends. Any objection? Abdelrazak> As there is none, I am going to commit. Since you are c

Re: New Windows Installer

2006-06-02 Thread Angus Leeming
Angus Leeming wrote: Joost Verburg wrote: A new installer for Aspell 0.6 data and dictionaries has been uploaded: http://wiki.lyx.org/uploads/Windows/Installer/aspell6-wininstaller-src.tar.gz The next version of the LyX installer will bundle this new Aspell installer and make use of the new fe

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Abdelrazak Younes wrote: >> Hello, >> >> I would like to put this in but I touched a tiny bit the other >> frontends. Any objection? Abdelrazak> As there is none, I am going to commit. Since you are complaining: wha

Re: MANIFEST PROBLEM SOLVED!!! (was Re: scons-msvc adventure)

2006-06-02 Thread younes . a
Quoting Bo Peng <[EMAIL PROTECTED]>: > > No AFAIK, this is a MSVC2005 feature. > > > I am > > > worried about the existence of QtXXX.dll.manifest. qt-mt.dll.manifest > > > for all the Q../Free qt3/qt4 compiled with msvc2003/2005. > > mscv2003 will not generate a manifest, I guess. > > You mean if

Re: scons-msvc adventure

2006-06-02 Thread Abdelrazak Younes
Bo Peng wrote: Please test the attached patch. msvc2005 works here, with intl support. There is one BIG change. namely, I am trying to use the glob module to find source files, instead of listing all filenames. The performance penalty should not be noticable. This change will allow me to add sou

Re: Scons-msvc project files

2006-06-02 Thread Abdelrazak Younes
Peter Kümmel wrote: Bo Peng wrote: Hi, Peter, Abdel, Please think a bit about what to include in the msvc project file(s). A huge all-files-in project does not sound too clever. Bo Here i have a solution (.sln) with 10 (no itnl atm) projects: the nine libraries (4 boost, support, controll

Re: [Patch] Qt4 cursor handling simplification

2006-06-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hello, I would like to put this in but I touched a tiny bit the other frontends. Any objection? As there is none, I am going to commit. Thanks, Abdel.

Re: scons-msvc adventure

2006-06-02 Thread Angus Leeming
Bo Peng wrote: Please test the attached patch. msvc2005 works here, with intl support. There is one BIG change. namely, I am trying to use the glob module to find source files, instead of listing all filenames. The performance penalty should not be noticable. This change will allow me to add sou

Re: LyX150Experimental Updated!

2006-06-02 Thread Angus Leeming
Peter Kümmel wrote: Have you dropped the os/2 file from the source list? +source = globSource(dir = env.subst('$TOP_SRC_DIR/intl'), pattern = '*.c', + exclude = ['vasnprintf.c', 'printf-parse.c', 'printf-args.c', 'os2compat.c'], + build_dir = '$BUILDDIR/intl') Very funky :) How

Re: New Windows Installer

2006-06-02 Thread Angus Leeming
Joost Verburg wrote: A new installer for Aspell 0.6 data and dictionaries has been uploaded: http://wiki.lyx.org/uploads/Windows/Installer/aspell6-wininstaller-src.tar.gz The next version of the LyX installer will bundle this new Aspell installer and make use of the new features. Angus, can

Re: scons-msvc adventure

2006-06-02 Thread Peter Kümmel
Peter Kümmel wrote: > Bo Peng wrote: >> Please test the attached patch. msvc2005 works here, with intl support. > > Great! On XP with correctly generated manifest files? > > I'll test it. I got this error: Warning: Can not locate any spell checker Checking for the number of args for mkdir... on

Re: LyX150Experimental Updated!

2006-06-02 Thread Peter Kümmel
Peter Kümmel wrote: > Have you dropped the os/2 file from the source list? +source = globSource(dir = env.subst('$TOP_SRC_DIR/intl'), pattern = '*.c', + exclude = ['vasnprintf.c', 'printf-parse.c', 'printf-args.c', 'os2compat.c'], + build_dir = '$BUILDDIR/intl')

Re: long standing annoyance with tables

2006-06-02 Thread Edwin Leuven
Lars Gullik Bjønnes wrote: Note that I am not against this change, I just want us to be aware of implications and have well founded reasons for the change. That said, IMHO we should make the behaviour in LyX as close as possible to what you get from using the LaTeX styles/classes manually. So if

Re: scons-msvc adventure

2006-06-02 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | Please test the attached patch. msvc2005 works here, with intl support. | | There is one BIG change. namely, I am trying to use the glob module to | find source files, instead of listing all filenames. The performance | penalty should not be noticable. This

Re: long standing annoyance with tables

2006-06-02 Thread Lars Gullik Bjønnes
"Paul A. Rubin" <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Edwin Leuven <[EMAIL PROTECTED]> writes: | > | is that it gets inserted with silly lines | > Why are they silly? | | I think it's generally considered bad form to have many horizontal | lines, or *any* vertical lines, in

Re: long standing annoyance with tables

2006-06-02 Thread Jose' Matos
On Friday 02 June 2006 07:10, Edwin Leuven wrote: > Lars Gullik Bjønnes wrote: > > Edwin Leuven <[EMAIL PROTECTED]> writes: > > | is that it gets inserted with silly lines > > > > Why are they silly? > > i think that nobody uses line formatting like this. like paul the first > thing i do after inse

Re: lyx-1.3.7 & Fedora core 5

2006-06-02 Thread Jose' Matos
On Thursday 01 June 2006 21:53, Martin Vermeer wrote: > > I remember that you had to log out and in again after installing qt for > the first time. I would expect only to be necessary to start a new shell where those environment variables will be read. Garst did you succeed compiling 1.3.7?

Re: tabular crash

2006-06-02 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Hmmm. Could this again be one of those "cursor remains hanging in > mid-air" things? > > You replace a word (say, 5 characters) by an inset, i.e. a single > "character". The cell length is reduced by 4. Should the cursor.pos() be > reset? This sounds at least like a sensibl

Re: scons-msvc adventure

2006-06-02 Thread Peter Kümmel
Bo Peng wrote: > Please test the attached patch. msvc2005 works here, with intl support. Great! On XP with correctly generated manifest files? I'll test it. > There is one BIG change. namely, I am trying to use the glob module to > find source files, instead of listing all filenames. The perfor

Re: LyX150Experimental Updated!

2006-06-02 Thread Peter Kümmel
Bo Peng wrote: >> Done. > > Great. Then you will see intl support in scons/msvc. > >> config.h: >> >> #if defined(MAKE_INTL_LIB) && defined(_MSC_VER) >> #define __attribute__(x) >> #define inline >> #define uintmax_t UINT_MAX >> #endif > > I think I was missing the define inline one. > > Cheers

Re: Scons-msvc project files

2006-06-02 Thread Peter Kümmel
Bo Peng wrote: > Hi, Peter, Abdel, > > Please think a bit about what to include in the msvc project file(s). > A huge all-files-in project does not sound too clever. > > Bo > > Here i have a solution (.sln) with 10 (no itnl atm) projects: the nine libraries (4 boost, support, controllers)