Re: [patch] Do not add auto-loaded files to last file list.

2006-07-25 Thread Bo Peng
OK to apply? Note that I plan to separate the start function, put things before load files to create_view, load files to lyx_main.C (since they are identical across frontends). I can prepare a bigger patch if you prefer. Bo

LyX 1.4.2 on Intel

2006-07-25 Thread Jens Noeckel
Hi, with the help of Bennett's install instructions, I compiled LyX 1.4.2 on my Intel Mac using gcc 4.0 and Qt 3.3.6. However, while testing the Application, I noticed a problem with the menus and keyboard shortcuts that seems to be identical to what has been reported by A.S.Hodel in this

[patch] Do not add auto-loaded files to last file list.

2006-07-25 Thread Bo Peng
Dear list, Currently, if a help document is reload by the session system, it will be added to lastfile list. This patch corrects this. OK to apply? Bo Index: src/frontends/gtk/lyx_gui.C === --- src/frontends/gtk/lyx_gui.C (revision

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Enrico Forestieri
On Tue, Jul 25, 2006 at 11:02:02AM -0500, Bo Peng wrote: > > It works for me. Using hidecmd from a shortcut to start LyX I have > > no flashing cmd window and LyX starts normally. > > I tried your version, mine, and the merged one. All of them hide lyx. > I use winxp sp2, what do you use? Anyway,

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Bo Peng
On 7/25/06, Angus Leeming <[EMAIL PROTECTED]> wrote: Bo Peng <[EMAIL PROTECTED]> writes: > BTW, I am forced to link to libcmt.lib and my version of hidecmd.exe > is 6k, comparable to Enrico's mingw version. The orginal program size > is 1.5k. Given that all this thing does is launch the real lyx

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: > BTW, I am forced to link to libcmt.lib and my version of hidecmd.exe > is 6k, comparable to Enrico's mingw version. The orginal program size > is 1.5k. Given that all this thing does is launch the real lyx once, I don't think you need worry about code size. I

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Bo Peng
I say, go for it. The LyX executable compiled in the main tree would become lyxc.exe, a console app, and your thin WinGUI wrapper would be lyx.exe. If our users need to debug a problem, they just invoke lyxc.exe from the command line. The patches have been submitted. I will leave to the install

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Angus Leeming
Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | BTW, would you welcome a patch to remove the hide console trick in > | os_win32.C? The trick is ugly (personal opinion) and prevents us from > | viewing stdout during debugging. > I do not really have a view on that You windows people have to >

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > | > I am fine with either. | | Then I will put it under development/Win32. I hope that I can get the | svn properties right this time. | | BTW, would you welcome a patch to remove the hide console trick in | os_win32.C? The trick is ugly (personal opinio

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Bo Peng
I am fine with either. Then I will put it under development/Win32. I hope that I can get the svn properties right this time. BTW, would you welcome a patch to remove the hide console trick in os_win32.C? The trick is ugly (personal opinion) and prevents us from viewing stdout during debugging.

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > Where do you plan to put a tool like this? | | There is a cygwin equivalence under development/Win32 so I plan to put | this there as well. If Joost likes it and want to take it over, he can | put this along with the windows installer. | | I am fine with

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Bo Peng
Where do you plan to put a tool like this? There is a cygwin equivalence under development/Win32 so I plan to put this there as well. If Joost likes it and want to take it over, he can put this along with the windows installer. I am fine with both options. Bo

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > It works for me. Using hidecmd from a shortcut to start LyX I have | > no flashing cmd window and LyX starts normally. | | I tried your version, mine, and the merged one. All of them hide lyx. | I use winxp sp2, what do you use? Anyway, I guess it is time

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Bo Peng
It works for me. Using hidecmd from a shortcut to start LyX I have no flashing cmd window and LyX starts normally. I tried your version, mine, and the merged one. All of them hide lyx. I use winxp sp2, what do you use? Anyway, I guess it is time to hand this to Uwe/Joost and let them try this wi

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Bo Peng
This would make sense only if msvc produces a very big executable. After stripping it, the executable produced by gcc is about 5Kb and I would be surprised if msvc does much worse than that. The author's version is less than 1k I have not reproduced (checked) that by myself though. Bo

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Enrico Forestieri
On Tue, Jul 25, 2006 at 12:11:45PM +, Angus Leeming wrote: > Bo Peng <[EMAIL PROTECTED]> writes: > // The original author used some tricks to reduce executable > // size. They are removed to make the program compatible to > // mingw/gcc. > > Rather than comment these #pragmas out, why not pro

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: // The original author used some tricks to reduce executable // size. They are removed to make the program compatible to // mingw/gcc. Rather than comment these #pragmas out, why not protect them with a #ifdef MSVC block? Angus // do not link to default libra

Re: [PATCH] development/Win32/runWithHiddenConsole.c

2006-07-25 Thread Enrico Forestieri
On Mon, Jul 24, 2006 at 09:49:05PM -0500, Bo Peng wrote: > > Nope, I am using it from a shortcut. You have to specify the full path > > to lyx.exe 'hidecmd C:\Programs\LyX14\bin\lyx.exe'. > > Enrico, > > I have tried again and studied the source. What you described seems to > be wrong. hidecmd.

Re: pkg-config - where is it available?

2006-07-25 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > | I think so, but pkg-config does not give us moc and uic. > > No, but does it have to? > > We know that if qt-mt is installed, then moc and uic is there as well. > They can only have a few valid names. (My guess is moc-qt3

Re: Bidirectional text on Lyx-1.5-unicode

2006-07-25 Thread Lars Gullik Bjønnes
Charles de Miramon <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | | > So what I plan to do is to stor ucs-4 in our paragraph vector, when | > rendering transforms that in a frontend specific way to something the | > frontend can handle. For Qt this is ucs-2 strings, and use that t

Re: Bidirectional text on Lyx-1.5-unicode

2006-07-25 Thread Jose' Matos
On Monday 24 July 2006 23:41, Charles de Miramon wrote: > I know there is a Ugaritic package for LaTeX. But is it really serious to > multiply the memory cost of LyX for the two thousand people in the world > that can write cuneiforms ? With all the due respect Charles but if you ever saw lyx sp