Re: [Patch] Re: [patch] key event queue

2005-05-27 Thread Bennett Helm
On May 27, 2005, at 2:59 PM, Martin Vermeer wrote: Actually I have now had time to think about this for two weeks, and my considered opinion is a bit different... This patch fixes problems on the Mac with dropping characters and with reordering characters. Also, scrolling feels much better.

LyX/Mac 1.3.6 - Keybindings

2005-06-02 Thread Bennett Helm
Recent changes in lyx-1.3.6cvs to QContentPane.[Ch] involving QIMEvent have adversely affected keybindings on the Mac. The Mac has 3 accelerator keys, which previously Qt/Mac interpreted as follows: Control (unrecognized), Option (Meta key in keybindings, as well as for composing special

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-10 Thread Bennett Helm
On Jun 10, 2005, at 10:56 AM, Jean-Marc Lasgouttes wrote: Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Jean-Marc The following patch reduces the number of calls to getFont Jean-Marc by the two following means: Jean-Marc For your enjoyment, I also attach the patch that removes

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-10 Thread Bennett Helm
On Jun 10, 2005, at 1:55 PM, Rob Bearman wrote: I've been building 1.4 on the Mac (against qt-mac-free-3.3.4) for comparison purposes but I haven't seen any glaring perf problems. Forgive me if I'm confusing the issue by not having followed this thread carefully, but I've run the latest build

Re: problems compiling on mac os

2005-06-10 Thread Bennett Helm
On Jun 10, 2005, at 2:19 PM, Carlos Oliveira wrote: Hi everyone, I am trying to compile lyx on mac os (native), following the instructions in the Wiki. I'm a bit confused here. By native I assume you mean LyX/Mac. But the wiki page for that (http://wiki.lyx.org/LyX/Mac) simply tells you to

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-13 Thread Bennett Helm
On Jun 10, 2005, at 5:24 PM, Rob Bearman wrote: I've been building with exactly the configuration specified in the README.MacOSX file. I thought at one time I needed --disable-concept-checks, but it turns out I've been mistakenly leaving off the 's' at the end for some time (which I guess

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-14 Thread Bennett Helm
On Jun 14, 2005, at 8:50 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett From what I can tell, it comes down to this. Rob is using Bennett Mac OS X 10.4 (=Darwin 8.0.0), whereas I use 10.3.9 (= Darwin Bennett 7.9.0). Do you use the same Qt version

Re: The LyX icon --- both 1.3.6 and 1.4.x

2005-06-14 Thread Bennett Helm
On Jun 13, 2005, at 3:00 PM, Andre Poenitz wrote: Mac OS X uses even swankier 128x128 icons. With 2 chars per pixel whis would need a 256x128 xterm to edit these things as .xpm in vi... I wonder how people manage that... Why else would you need a 30-inch LCD? Swankiness has its price!

Re: compiling lyx on mac

2005-06-21 Thread Bennett Helm
On Jun 21, 2005, at 2:18 PM, Carlos Oliveira wrote: Hi Everyone, I am trying to compile lyx 1.3.5 for mac. I followed the steps and it is almost there, but I have the following errors: /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset ld: Undefined symbols:

LyX-136 crash

2005-06-22 Thread Bennett Helm
This isn't the most helpful bug report, since I can't reliably reproduce it. But here's a recipe that *sometimes* works. (I have a document in which it reliably works, but it's fairly long, and I can't seem to find a way to cut it down to a minimal example: any cutting I do eliminates the

Re: [PATCH] reduce drastically number of calls to LyXText::getFont

2005-06-24 Thread Bennett Helm
On Jun 24, 2005, at 11:03 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: The two patches are now applied. Bennett, you said at the time that the fontcache patch make things worse. If this is still true, I can keep the fontcache for qt/mac. Bennett It does

Re: LyX-136 crash

2005-06-24 Thread Bennett Helm
On Jun 24, 2005, at 12:21 PM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett This isn't the most helpful bug report, since I can't Bennett reliably reproduce it. But here's a recipe that *sometimes* Bennett works. (I have a document in which it reliably

Re: LyX 1.3.6 ANNOUNCE file

2005-07-08 Thread Bennett Helm
On Jul 7, 2005, at 12:26 PM, Jean-Marc Lasgouttes wrote: - rename README.MacOSX to INSTALL.MacOSX. Bennett, do you want to make modifications to this file? - Provide files README.MacOSX and README.Win32 that give informations like where files are located, how to configure, etc. This may

Re: Towards LyX 1.3.6 [status update #2]

2005-07-08 Thread Bennett Helm
On Jul 1, 2005, at 9:52 AM, Jean-Marc Lasgouttes wrote: Do we want to hardcode the names to LyX instead of PACKAGE? That's possible, but it remove the possibility to run two different versions (say 1.3 and 1.4) of LyX concurrently. The code to modify is at line 611 of src/support/package.C.

Re: Towards LyX 1.3.6 [status update #2]

2005-07-08 Thread Bennett Helm
On Jul 1, 2005, at 11:03 AM, Jean-Marc Lasgouttes wrote: Angus Packaging Angus MacOS, Unix and Windows each have different traditions for Angus where an application should look for various files. This part could go in the respective READMEs. We should add some linkage to these readme files

Re: Towards LyX 1.3.6 [status update #2]

2005-07-08 Thread Bennett Helm
On Jul 8, 2005, at 11:32 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On Jul 1, 2005, at 9:52 AM, Jean-Marc Lasgouttes wrote: Do we want to hardcode the names to LyX instead of PACKAGE? That's possible, but it remove the possibility to run two

Re: LyX 1.3.6 ANNOUNCE file

2005-07-10 Thread Bennett Helm
On Jul 8, 2005, at 10:28 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett Yes, I have a few modifications to the README.MacOSX file. Bennett (And I think it should be renamed to INSTALL.MacOSX.) OK. Bennett In short, I've re-ordered the steps to make

Re: LyX 1.3.6 ANNOUNCE file

2005-07-11 Thread Bennett Helm
On Jul 11, 2005, at 8:18 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett Without it, I get the following error (see below). (On Bennett further experimentation, setting CXXFLAGS to include Bennett -ftemplate-depth-18 does the trick.) What is your gcc

Re: Towards LyX 1.3.6 [status update #2]

2005-07-11 Thread Bennett Helm
On Jul 11, 2005, at 8:44 AM, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus PACKAGE is hardcoded in config.h. Eg lyx or lyx-1.3.6cvs. Angus If people specify PACKAGE as something other than lyx, then Angus shouldn't their choice be respected? Respect?

Re: LyX 1.3.6 ANNOUNCE file

2005-07-11 Thread Bennett Helm
On Jul 11, 2005, at 8:50 AM, Angus Leeming wrote: Bennett Helm wrote: What is your gcc version? The configure script uses -ftemplate-depth-30 for gcc 2.x, but not for later versions. Really? I'm using: Apple Computer, Inc. version gcc-938, based on gcc version 2.95.2 19991024 (release

Re: LyX 1.3.6 ANNOUNCE file

2005-07-11 Thread Bennett Helm
On Jul 11, 2005, at 11:02 AM, Angus Leeming wrote: Bennett Helm wrote: What does your apple-hack give? 2.95.2 Here's the entire block from the configure script. Note that it is executed only if GXX is set to yes. Moreover, if you have predefined CXXFLAGS, then this is used in preference

LyX-13x cross-reference dialog bug

2005-07-11 Thread Bennett Helm
On the Mac, at least, the dialog for inserting cross-references does not behave as expected in lyx-13x. After a label has been selected, the OK button is highlighted as default, indicating that hitting Return should select it. However, Return selects the Goto button instead. Bennett

Re: Remaining LyX 1.3.6 bugs

2005-07-14 Thread Bennett Helm
On Jul 14, 2005, at 10:10 AM, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus There are a few Qt/Win Free bugs outstanding, but the guys Angus there are working actively to squash them. I don't see any more Angus must-fix bugs in the LyX 1.3.x sources. OK,

Re: Towards LyX 1.3.6 [status update #3]

2005-07-15 Thread Bennett Helm
On Jul 15, 2005, at 1:30 PM, Jean-Marc Lasgouttes wrote: I put a prerelease distribution of lyx 1.3.6 at ftp://ftp.devel.lyx.org/pub/lyx/snapshot/lyx-1.3.6cvs.tar.gz ftp://ftp.devel.lyx.org/pub/lyx/snapshot/patch-1.3.6cvs.gz I think all the open problems are fixed. I added the patch to change

Re: [ANNOUNCE] LyX 1.3.6 is released, with native Windows support

2005-07-19 Thread Bennett Helm
Jean-Marc - I've got the Mac version ready, and I've placed it here: http://edisk.fandm.edu/bennett.helm/LyX/LyX:Mac-1.3.6.dmg. Can you put it on the proper server for me? One minor correction to the ANNOUNCE/NEWS files concerning Mac: * It is possible to use Ctrl-PageDown and

Re: Could LyX:Mac-1.3.6.dmg be renamed?

2005-07-19 Thread Bennett Helm
On Jul 19, 2005, at 4:03 PM, Timothy Luoma wrote: Hello! I send this in an attempt to be helpful, not to be a giant pain in the arse, which is sometimes difficult to distinguish in email :-) Not at all -- thanks for pointing this out! ... All of which is to say that it will be very

Help modifying old preference file for installation script

2005-07-20 Thread Bennett Helm
I need help figuring out how in an installation shell script to modify pre-1.3.6 LyX preference files to make for a smooth transition to 1.3.6. I could probably figure out how to do it, but it would take me far too long, and I'm sure someone can do it quickly for me. There are two things

Re: Help modifying old preference file for installation script

2005-07-20 Thread Bennett Helm
On Jul 20, 2005, at 12:11 PM, Angus Leeming wrote: Angus Leeming wrote: Attached. sed -f bennett.sed prefs_in prefs_out Perhaps the attached is more elegant. sh bennett.sh prefs_in prefs_out -- Angus Thanks, Angus -- that's perfect. Bennett

New LyX/Mac Installer

2005-07-20 Thread Bennett Helm
I think I've solved the problems people have been having with LyX/Mac -- problems stemming from my forgetting to add the new PATH prefix to preferences (both in the installation script and in the application bundle). With Angus' help, that's now done, and so I've posted a new version of the

Re: New LyX/Mac Installer

2005-07-20 Thread Bennett Helm
On Jul 20, 2005, at 4:27 PM, Jean-Marc Lasgouttes wrote: Bennett Helm wrote: Jean-Marc, can you put this new version on the ftp server? Done. I have done some renaming for consistency, and the file is now named LyX-1.3.6-2Mac.dmg Thanks. Wiki is updated Also, I believe the attached

tex2lyx for Mac

2005-07-21 Thread Bennett Helm
... Bringing this over from the user's list ... On Jul 21, 2005, at 10:04 AM, Angus Leeming wrote: Bennett, this is just the executable. You'll need a bunch of support stuff too (layout files, lyx2lyx to go from format 243 back to 221). If you grab the make_tex2lyx_dist.sh script from

Re: tex2lyx for Mac

2005-07-21 Thread Bennett Helm
On Jul 21, 2005, at 12:18 PM, Angus Leeming wrote: Bennett Helm wrote: Ok ... with a few tweaks to the ./configure line of the script (Mac OS X needs --enable-optimization=-Os --disable-concept-checks in addition to the other stuff), it works. The trouble is, it produces a .tar.gz file

Re: Cross-reference dialog: Return activates Goto label button

2005-07-22 Thread Bennett Helm
On Jul 22, 2005, at 8:17 AM, Angus Leeming wrote: I continued to dig. It turns out that we have this: RefDialogBase.C:okPB-setDefault( TRUE ); which means that the return key *should* be bound to the OK button. Something is subverting this aim. Further investigation reveals this in

Re: [PATCH] Re: Report on tex2lyx and lyx2lyx

2005-08-01 Thread Bennett Helm
Bennett Entering new text in front of this word in the same paragraph Bennett moves generale forward in the line -- without moving the Bennett accents; This may be just a drawing glitch. Isn't there another accent appearing on the upper line when you do this? No -- not in 1.3.x. Bennett

Re: [PATCH] Re: Report on tex2lyx and lyx2lyx

2005-08-02 Thread Bennett Helm
On Aug 1, 2005, at 6:04 PM, Jean-Marc Lasgouttes wrote: Bennett, could you try the file accents.lyx with the patches applied? The output is a bit less nice as it used to be, because 1.4.x has less nice code (the price to pay for code factorization, I guess). Here's the result on 1.4.x:

Re: Compiling lyx-13x on Mac OSX 10.4 with gcc-3.3

2005-08-05 Thread Bennett Helm
On Aug 5, 2005, at 11:21 AM, Jean-Marc Lasgouttes wrote: The code in libs/signals/src/Makefile.am libs/regex/src/Makefile.am and looks like AM_CPPFLAGS += \ $(PCH_FLAGS) \ -DBOOST_USER_CONFIG=config.h \ $(BOOST_INCLUDES) I guess it should be replaced in 1.3.x by

Re: Compiling lyx-13x on Mac OSX 10.4 with gcc-3.3

2005-08-05 Thread Bennett Helm
On Aug 5, 2005, at 12:13 PM, Jean-Marc Lasgouttes wrote: Indeed. So an alternative would be to add #include config.h to user.hpp, right? Bennett, in case I am right, could you try this patch instead of the previous one? This patch enables lyx to compile, but the result crashes on launch.

LyX/Mac Spotlight importer

2005-08-29 Thread Bennett Helm
I have written a basic Spotlight importer for LyX/Mac. Spotlight is Apple's new search engine for Mac OS 10.4; it indexes the contents of files as they are saved. For this to work, Spotlight must have an importer that identifies each file type and how to index these files' contents.

Re: LyX/Mac Spotlight importer

2005-08-30 Thread Bennett Helm
On Aug 30, 2005, at 9:26 AM, Jean-Marc Lasgouttes wrote: Wow! 1.7Mb of sources? I suppose I should have looked at that a bit more closely. Almost all of it is Xcode's indexing of the entire project, including external frameworks. I've deleted that index, and it's now 20KB. Is that better?

Re: Compiling lyx-13x on Mac OSX 10.4 with gcc-3.3

2005-09-08 Thread Bennett Helm
On Sep 8, 2005, at 8:26 AM, Jean-Marc Lasgouttes wrote: Jean-Marc == Jean-Marc Lasgouttes Jean- [EMAIL PROTECTED] writes: Bennett This patch enables lyx to compile, but the result crashes on Bennett launch. Here's the gdb output: Jean-Marc Let's see if we can get this one going. Jean-Marc

LyX 140 configure problem with awk

2005-09-08 Thread Bennett Helm
Now that I've finally got cvs set up again, I notice that there's a problem with configure on machines without gawk (like Mac OS X). Although the code starting at line 1904 correctly finds that I don't have gawk, mawk, or nawk but do have awk, and although ac_cv_prog_AWK is properly set to

Re: Compiling lyx-13x on Mac OSX 10.4 with gcc-3.3

2005-09-12 Thread Bennett Helm
I see the crash is in DebugStream code. Do you have MODERN_STL_STREAMS set in src/config.h? Yes: /* Define if you have modern standard-compliant STL streams */ #define MODERN_STL_STREAMS 1 Bennett

Re: LyX 140 configure problem with awk

2005-09-12 Thread Bennett Helm
On Sep 12, 2005, at 10:38 AM, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: To fix 2/ properly, I see two radically different solutions: a) set POSIXLY_CORRECT before invoking awk, so that gawk is in POSIX mode and we

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-12 Thread Bennett Helm
On Sep 12, 2005, at 11:13 AM, Jean-Marc Lasgouttes wrote: Here is a tentative patch for http://bugzilla.lyx.org/show_bug.cgi?id=1941 I am not sure it is the exact right thing to do, so I'd appreciate some testing. Bennett, in particular, could you try it out on OS X? The problem was that

LyX/Mac 1.4.0 Crash

2005-09-12 Thread Bennett Helm
LyX-140 on Mac will crash *when using key bindings* for File Open, File New, and File New from Template. It will not crash when using the mouse to select these from the menus, nor will it crash dragging and dropping files into the LyX window. Here's the gdb output: Program received

Re: LyX 140 configure problem with awk

2005-09-13 Thread Bennett Helm
On Sep 13, 2005, at 5:16 AM, Jean-Marc Lasgouttes wrote: The important question is whether the information in lyx.pot is reasonable. You should see entries like: msgid \\arabic{enumi}. msgstr (what is important here is the double backslash). I don't get \\arabic{enumi} in particular. I do

Re: LyX 140 configure problem with awk

2005-09-13 Thread Bennett Helm
On Sep 13, 2005, at 8:56 AM, Jean-Marc Lasgouttes wrote: What I am interested in are entries related to LabelString in layout files, so my enumi example was not very well chosen. Actually, it was my fault: I was stupidly looking at lyx.pot from the wrong build. For example,

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-14 Thread Bennett Helm
On Sep 14, 2005, at 3:31 AM, Georg Baum wrote: Georg Baum wrote: Here is the result. I split FuncRequest::UI in FuncRequest::MENU and FuncRequest::TOOLBAR and unset the buffer only for FuncRequest::MENU in LyXFunc::getStatus. The bug is now gone for me, but the question is whether the

Re: LyX/Mac 1.4.0 Crash

2005-09-14 Thread Bennett Helm
On Sep 14, 2005, at 8:51 AM, Jean-Marc Lasgouttes wrote: The fact that it is related to key bindings is not too strange, since the crash occurs in key-handling code. What is very strange, though, is the following #0 (anonymous namespace)::encode ([EMAIL PROTECTED], [EMAIL PROTECTED]) at

Re: LyX/Mac 1.4.0 Crash

2005-09-14 Thread Bennett Helm
On Sep 14, 2005, at 11:45 AM, Jean-Marc Lasgouttes wrote: Could you try to compile without optimization (--disable-optimization). Bennett I still get a crash: #0 0x001682fc in (anonymous namespace)::encode ([EMAIL PROTECTED], [EMAIL PROTECTED]) at QLyXKeySym.C:59 #1 0x00169518 in

Re: CVS LyX build: syntax errors in gawk expressions

2005-09-14 Thread Bennett Helm
On Sep 14, 2005, at 12:14 PM, Jean-Marc Lasgouttes wrote: Kayvan == Kayvan A Sylvan [EMAIL PROTECTED] writes: That's my fault, I get the same error, but I did not test what I thought I tested. The following patch should make all posix awks work (I read the gawk manual this time). Bennett

Re: Hebrew on Mac OS X

2005-09-14 Thread Bennett Helm
On Sep 13, 2005, at 3:00 PM, Daniel Israel wrote: Two problems with Hebrew on Mac OS X (I'm using LyX 1.3.5). The biggie: Although the letters in Hebrew words appear on screen properly in right-to-left order, however the words themselves are left-to- right. This is only in LyX, the final

Re: LyX/Mac 1.4.0 Crash

2005-09-15 Thread Bennett Helm
On Sep 15, 2005, at 10:05 AM, Jean-Marc Lasgouttes wrote: A question: does the crash only happen when there is no document open, or all the time? Only when there's no document open. Bennett

Re: Bugs in 1.4.0CVS for Mac OS X

2005-09-16 Thread Bennett Helm
On Sep 16, 2005, at 9:33 AM, Mike Meyer wrote: Readme.MacOSX refers to ftp://ftp.lyx.org/pub/lyx/stable/lyx-mac-1.3.5-skeleton.tar.gz. That file doesn't exist - it's actually a .zip file. This file needs to be updated in at least a couple ways. First, it should be renamed to

Re: LyX/Mac 1.4.0 Crash

2005-09-19 Thread Bennett Helm
On Sep 19, 2005, at 8:36 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett On Sep 15, 2005, at 10:05 AM, Jean-Marc Lasgouttes wrote: A question: does the crash only happen when there is no document open, or all the time? Bennett Only when there's

Re: [PATCH] bug 1941: toolbars disabled after dialog action

2005-09-19 Thread Bennett Helm
On Sep 19, 2005, at 8:40 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett This mostly works, but there are a few anomalies. Selecting Bennett File Open brings down the open file sheet from the main Bennett document window (as it should), however

Re: LyX/Mac 1.4.0 Crash

2005-09-19 Thread Bennett Helm
On Sep 19, 2005, at 9:53 AM, Jean-Marc Lasgouttes wrote: Bennett Only when there's no document open. Good. Does the following patch help? Bennett Doesn't seem to. (See below.) The problem seems to be with the new locale code that has been written in Paris. What messages do you get on

Re: LyX-QT for Mac: Insert-Math mangles keyboard input

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 6:29 AM, Stephen Cornell wrote: Using the top menu bar, Insert-Math-Inline equation or Insert- Math-Display equation equation. Subsequent keyboard input does not cause math text to appear in the new math box but rather in bizarre behaviour. E.g. Insert-Math-Inline

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 6:16 AM, Andreas Vox wrote: What about this patch: Index: src/frontends/qt2/QLyXKeySym.C == RCS file: /var/cvs/lyx/lyx-devel/src/frontends/qt2/QLyXKeySym.C,v retrieving revision 1.34 diff -u -p -r1.34 QLyXKeySym.C --- src/frontends/qt2/QLyXKeySym.C

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 6:16 AM, Andreas Vox wrote: What about this patch: Index: src/frontends/qt2/QLyXKeySym.C == RCS file: /var/cvs/lyx/lyx-devel/src/frontends/qt2/QLyXKeySym.C,v retrieving revision 1.34 diff -u -p -r1.34 QLyXKeySym.C --- src/frontends/qt2/QLyXKeySym.C

Re: LyX/Mac 1.4.0 Crash

2005-09-20 Thread Bennett Helm
On Sep 20, 2005, at 10:43 AM, Andreas Vox wrote: Hm... did the patch succeed at all or was it rejected? Gmane isn't nice to patches. It was rejected, but I applied by hand. Same with this new one: patching file src/frontends/qt2/QLyXKeySym.C Hunk #1 FAILED at 54. patch

Re: Bugs in 1.4.0CVS for Mac OS X

2005-09-21 Thread Bennett Helm
On Sep 21, 2005, at 6:06 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett (Actually, attaching this file results in the e-mail's being Bennett rejected by the mail server. I've posted it at Bennett http://edisk.fandm.edu/ bennett.helm/LyX/LyX.app.zip

Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-21 Thread Bennett Helm
On Sep 21, 2005, at 11:27 AM, Angus Leeming wrote: What is important is to check what happens with a normally optimized build, especially with --disable-stdlib-debug. Could you try that? Hi, Jean-Marc. I can confirm that LyX CVS is much, much quicker when compiled with

Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-21 Thread Bennett Helm
On Sep 21, 2005, at 11:56 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett I've just recompiled myself with --disable-stdlib-debug. Bennett Things in general (on Mac) seem to be faster *except* typing Bennett speed in long documents, which

Re: Bugs in 1.4.0CVS for Mac OS X

2005-09-21 Thread Bennett Helm
On Sep 21, 2005, at 10:06 AM, Jean-Marc Lasgouttes wrote: Some notes about the installation instructions: export LDFLAGS=-framework Carbon -framework OpenGL -framework AGL -framewo rk QuickTime -lz I'll try to come up with a patch to avoid this stuff (it could be added to the Qt

Re: [Patch] Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-22 Thread Bennett Helm
On Sep 22, 2005, at 4:08 AM, Martin Vermeer wrote: Here is a better patch, taking care of rowpainter too. metrics is still called twice, but now (generally) only for the current paragraph, not the whole screen. Ought to be faster. I saw no side effects. I tried it, and it generally feels

Re: [Patch] Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-23 Thread Bennett Helm
On Sep 22, 2005, at 5:57 PM, Martin Vermeer wrote: Give the attached a try. I think it is quite a bit faster, and fixes your noticed side effect. Wow! What a difference! Typing in long documents feels almost as fast as 1.3.6, and processor usage no longer gets pegged at absurdly high

Re: [Patch] Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-23 Thread Bennett Helm
On Sep 23, 2005, at 8:59 AM, Bennett Helm wrote: Cursor movement is a bit strange. This is especially noticeable with page-up and page-down: it seems like the cursor moves, but the screen doesn't get redrawn. It also happens with moving the cursor left and right (though not with up

Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-23 Thread Bennett Helm
On Sep 22, 2005, at 3:57 AM, Jean-Marc Lasgouttes wrote: Angus It looks like we're all seeing the same thing. Time to do some Angus profiling I guess. If someone gives me a prescription of what I Angus need to do to recompile lyx ready for profiling and how to use Angus gprof, I'll volunteer.

Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-23 Thread Bennett Helm
On Sep 23, 2005, at 10:14 AM, Jean-Marc Lasgouttes wrote: What happens when you invoke LyX fro, the icon? Are you sure there is not a gmon.out produced somewhere on your hard disk? OK -- just me being stupid again. It looks, though, that I've done something wrong somewhere, since all the

Re: [Patch] Re: LyX cvs (Qt frontend) is still sloooooooooooooooowwwwwwwwwwwwwww

2005-09-23 Thread Bennett Helm
On Sep 23, 2005, at 10:26 AM, Martin Vermeer wrote: On Fri, 2005-09-23 at 09:07 -0400, Bennett Helm wrote: On Sep 23, 2005, at 8:59 AM, Bennett Helm wrote: Cursor movement is a bit strange. This is especially noticeable with page-up and page-down: it seems like the cursor moves

Re: LyX speedup patch

2005-09-28 Thread Bennett Helm
On Sep 28, 2005, at 10:25 AM, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Slowly grasping it... perhaps you'll like the attached more. Martin Note: no change to lyxfunc. Same functionality (I checked) This looks much less intrusive indeed. Thanks.

Re: LyX speedup patch

2005-09-28 Thread Bennett Helm
On Sep 28, 2005, at 2:29 PM, Juergen Spitzmueller wrote: Martin Vermeer wrote: 1. Undo oddities: (a) Cut ... paste ... undo works well for undoing the paste; however, undoing again to undo the cut results in the cursor appearing in front of the text that was restored; it should be after

Re: LyX speedup patch

2005-09-28 Thread Bennett Helm
On Sep 28, 2005, at 2:55 PM, Martin Vermeer wrote: On Wed, Sep 28, 2005 at 02:39:29PM -0400, Bennett Helm wrote: On Sep 28, 2005, at 2:29 PM, Juergen Spitzmueller wrote: Martin Vermeer wrote: 1. Undo oddities: (a) Cut ... paste ... undo works well for undoing the paste; however

Re: LyX speedup patch

2005-09-29 Thread Bennett Helm
On Sep 29, 2005, at 5:19 AM, Martin Vermeer wrote: On Wed, 2005-09-28 at 16:25 +0200, Jean-Marc Lasgouttes wrote: Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin Slowly grasping it... perhaps you'll like the attached more. Martin Note: no change to lyxfunc. Same functionality (I

Re: LyX speedup patch

2005-09-29 Thread Bennett Helm
On Sep 28, 2005, at 3:12 PM, Bennett Helm wrote: On Sep 28, 2005, at 2:55 PM, Martin Vermeer wrote: Cannot reproduce, with the patch. If you select right-to-left, cut and undo, the cursor will be where it was at the moment of cut, to the left of the restored text. If yuo select left

Re: [PATCH] bug 2063: Spellcheck doesn't check word containing the cursor

2005-10-03 Thread Bennett Helm
On Oct 3, 2005, at 9:53 AM, Jean-Marc Lasgouttes wrote: Here is a simple fix. Instead of going forward to put the cursor at beginning of next word, we go backward to the beginning of current word. Bennett, please test. Works for me. Bennett

LyX-140 Crash on Quit

2005-10-04 Thread Bennett Helm
I've occasionally been having lyx-140 crash on quitting. It doesn't happen often enough that I've seen a pattern, and I can't reliably reproduce it. Here's the backtrace: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00050a9b

Crash on cursor movement around inset

2005-10-05 Thread Bennett Helm
Here's a recipe for a crash with lyx-140 patch with Martin's speedup patch (x.diff as of 9/29). Type some arbitrary text. Below this, create an inset in a paragraph all by itself; set this paragraph to have no indentation. Place the cursor at the end of the line immediately above the

LyX-140pre2: Minor Mac issues

2005-10-10 Thread Bennett Helm
I've noticed a couple of issues with lyx-140pre2. First (and most important) is that development/MacOSX is missing from the 140pre2 distribution. Since that directory contains the LyX.app skeleton needed to install LyX on Mac, it must not be omitted from the final release. Second (and

Minor Mac patches for 1.4.0 and 1.3.x

2005-10-11 Thread Bennett Helm
Attached are two minor patches for LyX/Mac. 1. mac-bind.diff changes the default keybinding for protected spaces from C-space to M-space in keeping with Mac conventions. This applies only to 1.4.0. 2. mac-lyxeditor.diff updates the shell script, which is used to enable LyX/Mac to

LyX/Mac 1.4.0pre2 crash on open new file

2005-10-12 Thread Bennett Helm
I reported this bug before, and Andreas developed a patch to fix it. However, the patch has apparently fallen through the cracks, and the bug is still present in 1.4.0pre2. The problem is this: LyX-140 on Mac will crash *when using key bindings* for File Open, File New, and File New

Re: LyX-140pre2: Minor Mac issues

2005-10-12 Thread Bennett Helm
On Oct 12, 2005, at 6:05 AM, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Lars Gullik Bjønnes wrote: | Second (and very minor), I noticed that on a clean installation, the | LyX user's directory is ~/Library/Application\ Support/lyx; it should | be

Re: [patch] bug 2066: C-i for opening/closing insets only works when cursor is at the beginning of the inset

2005-10-13 Thread Bennett Helm
On Oct 13, 2005, at 2:21 PM, Juergen Spitzmueller wrote: Jean-Marc Lasgouttes wrote: If special code is needed, what about putting it in InsetTabular::dispatch, or in some other InsetTabular method? The attached patch might be more at your goût. Jürgen 2066.diff Perhaps I'm missing

Re: [patch] bug 2066: C-i for opening/closing insets only works when cursor is at the beginning of the inset

2005-10-14 Thread Bennett Helm
On Oct 14, 2005, at 1:56 AM, Juergen Spitzmueller wrote: Bennett Helm wrote: Perhaps I'm missing something, but this does not seem to work at all for me: C-i still has no effect when the cursor is inside an inset, but only works when the cursor is just in front of it. Are you sure you

Mac Configure/Packaging Problem

2005-10-14 Thread Bennett Helm
Recent changes to lyx-devel result in bad configuration on Mac: - Configuration Host type: powerpc-apple-darwin8.2.0 Special build flags:compression assertions warnings use-ispell C Compiler: gcc C Compiler LyX flags: C

Re: Mac Configure/Packaging Problem

2005-10-14 Thread Bennett Helm
On Oct 14, 2005, at 10:10 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett Note the Packaging: posix, rather than MacOSX, as it should Bennett be for me. Does the following patch help? That appears to have done it: configure correctly gives macosx

Re: [patch] fix bug 2086

2005-10-17 Thread Bennett Helm
On Oct 17, 2005, at 4:01 AM, Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: Georg See http://bugzilla.lyx.org/show_bug.cgi?id=2086. The problem Georg is that the pointer 'codec' can be 0, and that is not checked Georg before dereferencing. The patch is based on the

LyX-1.4.0cvs crash with beamer.layout

2005-10-17 Thread Bennett Helm
Opening old beamer presentations results in a crash. The problem is that the beamer.layout file contains the following line: MaxCounterCounter_Section (In fact, any .layout file with this line in it will cause LyX to crash.) Commenting out this line in the .layout file enables

Re: Bug in Lyx for OSX v.1.3.6 (Qt version)

2005-10-31 Thread Bennett Helm
On Oct 31, 2005, at 11:40 AM, Sebastian Silva wrote: Now, I have some memory of writing poetry on lyx on linux, and the idea is: You separate verses using Ctrl-Enter (or Command-Enter on mac). You separate stanzas using regular Enter. Yet the interface does not reflect that, in fact, it

Mac, gcc-4.0 compile error

2005-11-10 Thread Bennett Helm
I've normally been compiling lyx-140 on Mac OS X with gcc 3.3 for backwards compatibility, and everything works fine. However, looking forward to supporting Intel-based Macs will require gcc-4.0. When I try, however, I get the error copied below. Any suggestions on a fix? Thanks. Bennett

Re: Mac, gcc-4.0 compile error

2005-11-10 Thread Bennett Helm
On Nov 10, 2005, at 1:49 PM, Hammer Armin wrote: Hi Michael, Hello, while I have not tried to compile lyx with gcc 4.0 on MacOSX the group I work in had some problems with that particular gcc. In our case updating to XCode 2.1 (which you get for free on the apple development website -

Re: Mac, gcc-4.0 compile error

2005-11-10 Thread Bennett Helm
On Nov 10, 2005, at 12:40 PM, Georg Baum wrote: Bennett Helm wrote: I've normally been compiling lyx-140 on Mac OS X with gcc 3.3 for backwards compatibility, and everything works fine. However, looking forward to supporting Intel-based Macs will require gcc-4.0. When I try, however, I get

Re: Mac, gcc-4.0 compile error

2005-11-10 Thread Bennett Helm
On Nov 10, 2005, at 3:47 PM, Michael Abshoff wrote: Correct. As it appears that doesn't fix your problem. Have you tried compiling a gcc 4.0.2 yourself and using that? Wouldn't you know it: Xcode 2.2 has just shown up on Apple's server, containing gcc-4.0.1. At 833MB, it'll take a while for

Re: LyX-QT for Mac: Insert-Math mangles keyboard input

2005-11-15 Thread Bennett Helm
On Nov 15, 2005, at 4:32 AM, Jean-Marc Lasgouttes wrote: Bennett == Bennett Helm [EMAIL PROTECTED] writes: Bennett I see this, too. After inserting math environment from the Bennett menu bar, subsequent keystrokes are interpreted as having Bennett been preceded by M- ~S-i h as set

Re: [PATCH] Re: bug: indentation

2005-11-15 Thread Bennett Helm
On Nov 15, 2005, at 5:32 AM, Jean-Marc Lasgouttes wrote: Alfredo == Alfredo Braunstein [EMAIL PROTECTED] writes: Alfredo the first Standard Layout par after a Section heading gets Alfredo indented when it shouldn't, i.e. in 1.3.x you have It seems that this never got fixed... Inspection

Re: Mac: LyX-1.3.x (gcc-4) crash on launch

2005-11-29 Thread Bennett Helm
On Nov 24, 2005, at 10:56 AM, Jean-Marc Lasgouttes wrote: A shot in the dark: what happens of you set #undef MODERN_STL_STREAMS in src/config.h? I am not even sure this would compile... It compiles fine, but the results are no different: crash on launch. Here's the backtrace (which is

Re: Mysterious addition of dots after citation

2005-12-01 Thread Bennett Helm
On Dec 1, 2005, at 9:45 AM, Jose' Matos wrote: Compress with gzip, lyx 1.4.0 reads and writes compressed files. FWIW lyx2lyx already does that, even in 1.3.x. We don't advertise this as it is a 1.4.x feature but it already there. :-) This is news to me. I've tried it and cannot get it

Re: left arrow behavior in math-inset

2005-12-01 Thread Bennett Helm
On Dec 1, 2005, at 12:46 PM, Juergen Spitzmueller wrote: Grag wrote: Strange, I can reproduce both problems. These two problems (and bug 2139 that I filied and now it fixed) is the main obstacle of using cvs as production lyx. I can reproduce using this morning cvs version on MacOSX. Maybe

Re: left arrow behavior in math-inset

2005-12-01 Thread Bennett Helm
On Dec 1, 2005, at 2:49 PM, Grag wrote: Ok, my bad. I wrote left arrow instead of right-arrow. Right-arrow is the problem here: 1) math box; 2) \alpha; 3) right-arrow; 4) you get the alpha symbol but you are out of the math-mode). Isn't this expected behavior? (If you just want the Greek

  1   2   3   4   5   6   7   8   9   10   >