Re: Font spacing issue again

2011-01-17 Thread Bernhard Roider
just an idea: the method QTextCharFormat::setFontKerning can enable/disable kerning. Could that help? bernhard

Re: Question about hexToInt()

2010-12-22 Thread Bernhard Roider
But if you want to avoid the warning you can use an unsigned for scanf and do a type cast to int

Re: Question about hexToInt()

2010-12-21 Thread Bernhard Roider
Just a guess: Does unsignd int work with scanf?

Re: std::distance and RandomAccessList

2010-12-18 Thread Bernhard Roider
2010/12/18 Abdelrazak Younes > On 18/12/2010 19:33, Jean-Marc Lasgouttes wrote: > >> Le 18 déc. 2010 à 19:08, Abdelrazak Younes a écrit : >> >> On 18/12/2010 18:57, Jean-Marc Lasgouttes wrote: >>> Le 18 déc. 2010 à 17:41, Abdelrazak Younes a écrit : > What part of that could possib

Re: Howto create a counter in LyX? Do we need an InsetCounter? Or an InsetTask?

2009-06-29 Thread Bernhard Roider
Pavel Sanda schrieb: Bernhard Roider wrote: Hello Abdel, About a year ago i made a latex style + lyx layout file that do exactly what you want to create a change log table. I extracted the relevant parts and attached them together with a screen shot of lyx and the resulting pdf file

Re: Howto create a counter in LyX? Do we need an InsetCounter? Or an InsetTask?

2009-06-29 Thread Bernhard Roider
Pavel Sanda schrieb: Bernhard Roider wrote: Hello Abdel, About a year ago i made a latex style + lyx layout file that do exactly what you want to create a change log table. I extracted the relevant parts and attached them together with a screen shot of lyx and the resulting pdf file

Re: r29342 - lyx-devel/trunk/src

2009-04-21 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: Yes, but what if I keep a reference to the temporary variable that gets returned? Does my reference point to neverland? Yes it does. Or more precisely it points to somewhere on the stack because local variables in functions are allocated on the stack. When the fu

Re: r29342 - lyx-devel/trunk/src

2009-04-20 Thread Bernhard Roider
Bernhard Roider schrieb: Abdelrazak Younes schrieb: Jean-Marc Lasgouttes a écrit : Le 20 avr. 09 à 00:25, Jean-Marc Lasgouttes a écrit : Le 19 avr. 09 à 23:13, Abdelrazak Younes a écrit : +docstring const fls = flattenLabelString(it->first, false, callers); docstring co

Re: r29342 - lyx-devel/trunk/src

2009-04-20 Thread Bernhard Roider
Abdelrazak Younes schrieb: Jean-Marc Lasgouttes a écrit : Le 20 avr. 09 à 00:25, Jean-Marc Lasgouttes a écrit : Le 19 avr. 09 à 23:13, Abdelrazak Younes a écrit : +docstring const fls = flattenLabelString(it->first, false, callers); docstring const & ? Indeed, thanks. Now that I t

Re: New bugs 5820 and 5821, Recursive Repaint

2009-02-28 Thread Bernhard Roider
Hi all, it seems to me that this is a qt bug, the same as http://bugs.kde.org/show_bug.cgi?id=174065 bernhard Vincent van Ravesteijn schrieb: Hi All, I would like you to point to these two critical bugs: http://bugzilla.lyx.org/show_bug.cgi?id=5820 http://bugzilla.lyx.org/show_bug.cgi?id=5

Re: [Cvslog] r25118 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-06-04 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: dov Date: Wed Jun 4 21:45:26 2008 New Revision: 25118 URL: http://www.lyx.org/trac/changeset/25118 Log: fix completion painting for RTL (inline completion and completion list) see http://permalink.gmane.org/gmane.editors.lyx.devel/107923 for an explanation,

Re: [Cvslog] r25108 - in /lyx-devel/trunk/src/frontends/qt4: GuiComple...

2008-06-03 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: broider Date: Wed Jun 4 00:00:47 2008 New Revision: 25108 URL: http://www.lyx.org/trac/changeset/25108 Log: Fix item delegate for qt 4.2: In the completion-listbox rtl-Text does not work like it does for newer qt and icons are not displayed for math symbols.

Re: [PATCH] GuiCompeter problems with qt 4.2.x

2008-06-01 Thread Bernhard Roider
Dov Feldstern schrieb: Bernhard Roider wrote: Hello Stefan, today i finally found some time to investigate the problem we discussed at the beginning of march concerning the completion list: rtl text does not work and icons are not displayed for math symbols. Here is a patch that solves

Re: [PATCH] GuiCompeter problems with qt 4.2.x

2008-05-29 Thread Bernhard Roider
08 um 21:08 schrieb Bernhard Roider: Hello all, as Stefan seems to be not available since a few weeks: could somebody test this patch with newer qt versions (4.3, 4.4)? I have no capacities to upgrade my version atm. thanks Bernhard Bernhard Roider schrieb: Hello Stefan, today i finally

Re: [PATCH] GuiCompeter problems with qt 4.2.x

2008-05-28 Thread Bernhard Roider
Hello all, as Stefan seems to be not available since a few weeks: could somebody test this patch with newer qt versions (4.3, 4.4)? I have no capacities to upgrade my version atm. thanks Bernhard Bernhard Roider schrieb: Hello Stefan, today i finally found some time to investigate the

[PATCH] GuiCompeter problems with qt 4.2.x

2008-05-16 Thread Bernhard Roider
Hello Stefan, today i finally found some time to investigate the problem we discussed at the beginning of march concerning the completion list: rtl text does not work and icons are not displayed for math symbols. Here is a patch that solves that issue for me using qt 4.2.3. There are two thing

Reconfigure menu entry

2008-05-08 Thread Bernhard Roider
Hello, sometimes when i want to open the lyx preferences i accidentally press reconfigure because those menu items are close to each other. Now i wonder why reconfigure is in the menu at all, because most people won't need it very often. Wouldn't it be better to put it as button somewhere in th

Re: [Cvslog] r24562 - /lyx-devel/trunk/src/insets/InsetBibtex.cpp

2008-04-30 Thread Bernhard Roider
Hello Richard, i think this patch changed the error detection a bit, see below bernhard [EMAIL PROTECTED] schrieb: - if (!readTypeOrKey(entryType, ifs, from_ascii("{("), - docstring(), makeLowerCase) || !ifs) + if (!ifs) { +

Re: InsetText Crash

2008-03-08 Thread Bernhard Roider
Andre Poenitz schrieb: On Sat, Mar 08, 2008 at 01:36:04PM +0100, Abdelrazak Younes wrote: [] There was no crash here, I had the exception message box displayed and the buffer closed. How do you get a backtrace in this situation? I am on windows also, and it is hard this way. If the exce

Re: InsetText Crash

2008-03-08 Thread Bernhard Roider
Andre Poenitz schrieb: On Fri, Mar 07, 2008 at 07:16:50PM -0500, rgheck wrote: I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled about something. The crash is probably a consequence of my attempt to work on Paragraph.cpp, but I'm not sure exactly what's happened. The ba

Re: cangeset 23520 - crash

2008-03-07 Thread Bernhard Roider
Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a look at it. bernhard file

Re: cangeset 23520 - crash

2008-03-07 Thread Bernhard Roider
Uwe Stöhr schrieb: Hello Bernhard, could you please also add a description of bm.sty to the LaTeXConfig.lyx I tried to open this document with current trunk and got a crash. The attached patch avoids the crash but someone familiar with InsetText.cpp should have a look at it. bernhard fil

Re: crash in GuiCompleter

2008-03-05 Thread Bernhard Roider
Stefan Schimanski schrieb: Am 03.03.2008 um 22:56 schrieb Bernhard Roider: Stefan Schimanski schrieb: Stefan I tried to test the rtl completion but failed to do so - but i have really _no_ experience with rtl. When exactly should the items in the list show up rtl? It should work the

Re: [patch] Support for \bm (bm.sty) in math

2008-03-05 Thread Bernhard Roider
Uwe Stöhr schrieb: > following the suggestion from Martin in an earlier mail i have a patch that adds support for \bm > from bm.sty package to lyx. Could you please open an enhancement report in bugzilla, to assure that your patch won't be forgotten. I'd rather put it in. bernhard

Re: crash in GuiCompleter

2008-03-03 Thread Bernhard Roider
Stefan Schimanski schrieb: Stefan I tried to test the rtl completion but failed to do so - but i have really _no_ experience with rtl. When exactly should the items in the list show up rtl? It should work the same as in LTR text, only that it is mirrored. I.e. the item in the popup are wri

Re: crash in GuiCompleter

2008-03-03 Thread Bernhard Roider
Stefan Schimanski schrieb: Right, very strange. And it seems that the d->columnDelegates.value(column, 0) can be 0 in fact. But after setting it to a non-zero value, there is no way to go back. We can of course put some flag in our delegate and use the standard delegate methods if the flag is

[patch] Support for \bm (bm.sty)

2008-03-02 Thread Bernhard Roider
= --- src/mathed/InsetMathBM.cpp (revision 0) +++ src/mathed/InsetMathBM.cpp (revision 0) @@ -0,0 +1,86 @@ +/** + * \file InsetMathBM.cpp + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. + * + * \author Bernhard Roider + * + * Fu

Re: crash in GuiCompleter

2008-03-02 Thread Bernhard Roider
Stefan Schimanski schrieb: Hi! the crash has gone. this seems to be related with my qt version: 4.2.3. in this version a 0-pointer is not allowed for the item delegate (there is an assert on this in the implementation of setItemDelegateForColumn). Right, very strange. And it seems that the

crash in GuiCompleter

2008-03-02 Thread Bernhard Roider
hello, when i compile current trunk i get a crash when typing the first character in a document due to line 440 in GuiCompleter.cpp: popup()->setItemDelegateForColumn(0, rtl ? rtlItemDelegate_ : 0); when i replace this call with if (rtl) { popup()->setItemDele

Re: [Cvslog] r23332 - /lyx-devel/trunk/src/insets/InsetBibtex.cpp

2008-02-28 Thread Bernhard Roider
trunk does not compile: [EMAIL PROTECTED] schrieb: - if (!contains(buffer().params().documentClass().name(), "art")) { + if (!contains(buffer().params().baseClass()->name(), "art")) { InsetBibtex.cpp ..\..\..\trunk\src\insets\InsetBibtex.cpp(313) : error C2027: u

Re: possible recursion in labelstring for counters

2008-02-23 Thread Bernhard Roider
etc instead of the owner/new/delete logic? Andre' you are right, allocation on the stack is really better here... bernhard That was the wrong patch... here's the correct one bernhard Index: src/Counters.cpp === --- src/Co

Re: possible recursion in labelstring for counters

2008-02-22 Thread Bernhard Roider
Andre Poenitz schrieb: On Sat, Feb 23, 2008 at 12:06:18AM +0100, Bernhard Roider wrote: hello, yesterday i played around with layout files and created the following counter definition (ok, i didn't read the docs carefully enough) Counter Name MajorVe

possible recursion in labelstring for counters

2008-02-22 Thread Bernhard Roider
hello, yesterday i played around with layout files and created the following counter definition (ok, i didn't read the docs carefully enough) Counter Name MajorVersion LabelString "\theMajorVersion.0" End Using this counter causes lyx to crash because

Re: Aussie is *slow*

2008-02-06 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: On Tue, 5 Feb 2008, Abdelrazak Younes wrote: rgheck wrote: As Andre suggested, another option would be to require forwarding, and then people can sort out their own spam. Yes, I think that's the simplest and most useful solution. Is this just a matter of addin

Re: Aussie is *slow*

2008-02-05 Thread Bernhard Roider
Pavel Sanda schrieb: On Mon, 4 Feb 2008, rgheck wrote: looking at the RES memory usage, the main consumers are these. what if we start by running less childerns of spamd? 59m 2:32.53 spamd 57m 0:52.08 spamd 37m 1:48.72 spamd Do we even need 'spamd'? I

Re: [Cvslog] r22675 - /lyx-devel/trunk/src/BufferView.cpp

2008-01-27 Thread Bernhard Roider
Abdelrazak Younes schrieb: rgheck wrote: Stefan Schimanski wrote: Am 26.01.2008 um 21:22 schrieb Bernhard Roider: [EMAIL PROTECTED] schrieb: Author: sts Date: Sat Jan 26 01:47:22 2008 New Revision: 22675 URL: http://www.lyx.org/trac/changeset/22675 Log: * fix random jumps when scrolling

Re: [Cvslog] r22675 - /lyx-devel/trunk/src/BufferView.cpp

2008-01-26 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: sts Date: Sat Jan 26 01:47:22 2008 New Revision: 22675 URL: http://www.lyx.org/trac/changeset/22675 Log: * fix random jumps when scrolling very fast using a touchpad or mouse wheel. Does this one apply to trunk also? bernhard

support for bm.sty?

2008-01-24 Thread Bernhard Roider
Hello, how difficult would it be to add support for the bm package (i.e. bold greek in math) and display it correct when editing formulas? bernhard

Re: r22565 - /lyx-devel/trunk/src/LyXAction.cpp

2008-01-15 Thread Bernhard Roider
Abdelrazak Younes schrieb: [EMAIL PROTECTED] wrote: Author: rgheck Date: Mon Jan 14 23:22:07 2008 New Revision: 22565 { LFUN_CAPTION_INSERT, "caption-insert", Noop, Edit }, { LFUN_DATE_INSERT, "date-insert", Noop, Edit }, { LFUN_FOOTNOTE_INSERT, "footnote-insert", Noo

Re: [Cvslog] r22556 - /lyx-devel/trunk/src/LyXAction.cpp

2008-01-14 Thread Bernhard Roider
it's basically an alias for an lfun, but it has two big advantages (mainly if the lfun is complicated, see e.g. http://wiki.lyx.org/Tips/CommandSequences): 1. the complicated part has to be written only once and can then be used in menu, toolbar or bind file (-> easier to change) 2. the name of t

Re: LyX 1.5 Patch Candidate List #13

2007-12-14 Thread Bernhard Roider
http://www.lyx.org/trac/changeset/22133 - broider- Correct func_type for LFUN_MATH_INSERT not relevant bernhard

LFUN_MATH_INSERT func_type

2007-12-12 Thread Bernhard Roider
Hello, shouldn't LFUN_MATH_INSERT have func_type Math instead of Edit? see LyXAction.cpp around line 221: { LFUN_MATH_DELIM, "math-delim", Noop, Math }, { LFUN_MATH_BIGDELIM, "math-bigdelim", Noop, Math }, { LFUN_MATH_DISPLAY, "math-display", Noop

Re: Patch Candidate List #10

2007-11-14 Thread Bernhard Roider
http://www.lyx.org/trac/changeset/21542 - add missing case LyXRC::RC_DEFFILE (and shut up compiler) no: CmdDef is not in branch

Re: [Cvslog] r21542 - /lyx-devel/trunk/src/LyXFunc.cpp

2007-11-10 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: spitz Date: Sat Nov 10 12:22:19 2007 New Revision: 21542 URL: http://www.lyx.org/trac/changeset/21542 Log: * src/LyXFunc.cpp (actOnUpdatedPrefs): - add missing case LyXRC::RC_DEFFILE (and shut up compiler) so there was still another case missing. cas th

Re: Where to report bugs?

2007-11-05 Thread Bernhard Roider
Richard Heck schrieb: sebastian guttenberg wrote: Shall I report bug's here or directly at bugzilla? There's no fixed rule. But if it's a relatively minor thing, then I'd go to bugzilla. If it's a crash, or if it's significant enough that it prevents you from getting work done, then report

Re: [Cvslog] r21445 - /lyx-devel/branches/BRANCH_1_5_X/src/mathed/Math...

2007-11-05 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: broider wrote: + else + added = addRow(grid, cellrow, docstring()); Is there a reason why you did this differently in branch and trunk? Jürgen no, i did this by accident. will correct it bernhard

Re: [Bug 4318] New: crash when pasting to formula

2007-11-04 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: Andre Poenitz wrote: We definitely should switch to a more user friendly error handling then plain crashs. While it might be annoying that one cannot properly paste form the clipboard we should not crash... On Linux, it only crashes with --enable-stdlib-debug. The a

Re: aussie is really slow

2007-11-04 Thread Bernhard Roider
Dov Feldstern schrieb: Bernhard Roider wrote: and bugzilla does not respond i logged on with ssh and saw that there are many httpd tasks in uninterruptible sleep mode bernhard Hurry up and download your own, personal copy of the lyx repository while aussie is still alive! the

aussie is really slow

2007-11-04 Thread Bernhard Roider
and bugzilla does not respond i logged on with ssh and saw that there are many httpd tasks in uninterruptible sleep mode bernhard

[PATCH] Fix Bug 4301: crash on bookmark in ERT

2007-11-04 Thread Bernhard Roider
hello, the attached patch fixes bug 4301: in fact BufferView::moveToPosition(..) failed for every position inside an inset because buffer_->text() was used instead of cursor_.text() to set the current font. ok, jürgen? bernhard Index: src/BufferView.cpp ===

Re: [Cvslog] r21420 - /lyx-devel/trunk/src/LyXRC.cpp

2007-11-04 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: spitz Date: Sun Nov 4 12:29:12 2007 New Revision: 21420 URL: http://www.lyx.org/trac/changeset/21420 Log: * src/LyXRC.cpp: shut up compiler. hello, as i have 3 evenings to spend i just sat down to my computer to fix that - too late as i see. but there is

Re: [Cvslog] r19762 - in /lyx-devel/trunk/development/cmake: Configure...

2007-10-31 Thread Bernhard Roider
When removing checks then the appropriate #ifdef in the source code need to be reworked. e.g. Missing HAVE_DECL_ISTREAMBUF_ITERATOR is the reason why now with cmake in lyxsum.cpp the function sum(...) is no longer compiled with istreambuf_iterator and therefore (according to the comment in the

Re: Approaching LyX 1.5.3 [status update #1]

2007-10-26 Thread Bernhard Roider
Juergen Spitzmueller schrieb: Jean-Marc Lasgouttes wrote: here on windows it works ;-) (and it doesn't without it) I did not know you are a windows user, actually... But the fix is embarrassingly simple. Indeed. Please commit. fixed also in branch (http://www.lyx.org/trac/changeset/21221

Re: Approaching LyX 1.5.3 [status update #1]

2007-10-26 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: Bernhard Roider <[EMAIL PROTECTED]> writes: Juergen Spitzmueller schrieb: 3172 maj lyxsum doesn't work on Windows (We need a Windows user for bug hunting) fixed in trunk: http://www.lyx.org/trac/changeset/21211 The file must be opened in

Re: Approaching LyX 1.5.3 [status update #1]

2007-10-25 Thread Bernhard Roider
Juergen Spitzmueller schrieb: 3172 maj lyxsum doesn't work on Windows (We need a Windows user for bug hunting) fixed in trunk: http://www.lyx.org/trac/changeset/21211 The file must be opened in binary mode; otherwise the iteration of for_each stops really early for binary files (e.g. after

Re: New Warning: Bo?

2007-10-23 Thread Bernhard Roider
Richard Heck schrieb: Someone should check this out: LyXFunc.cpp:2410: warning: enumeration value 'RC_DEFFILE' not handled in switch i think it's my fault. i'll have a look at it the next days. bernhard

Re: [Cvslog] r21094 - in /lyx-devel/trunk: development/scons/scons_man...

2007-10-21 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: bpeng Date: Sun Oct 21 03:26:32 2007 New Revision: 21094 URL: http://www.lyx.org/trac/changeset/21094 Log: Fix scons and CmdDef.h for the introduction of CmdDef. Thank you bernhard Modified: lyx-devel/trunk/development/scons/scons_manifest.py lyx-

Re: command.cmd?

2007-10-21 Thread Bernhard Roider
Andre Poenitz schrieb: make[2]: Entering directory `/data/lyx/release-dynamic/lib/lyx2lyx' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/data/lyx/release-dynamic/lib/lyx2lyx' make[2]: Entering directory `/data/lyx/release-dynamic/lib' make[2]: *** No rule to make target `com

Re: [Cvslog] r21079 - in /lyx-devel/trunk/src: BiblioInfo.cpp Buffer.c...

2007-10-20 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: poenitz Date: Sat Oct 20 12:03:45 2007 New Revision: 21079 URL: http://www.lyx.org/trac/changeset/21079 Log: mainly cosmetics ...guiref.cpp(383) : error C4716: 'lyx::frontend::GuiRef::bufferNum' : must return a value @@ -381,13 +380,6 @@ int GuiRef::bu

Re: [patch] load images from filesystem if not found in the resources

2007-10-20 Thread Bernhard Roider
Georg Baum schrieb: Bernhard Roider wrote: Jürgen Spitzmüller schrieb: Andre Poenitz wrote: Has anybody _ever_ customized his icons? Sure. All the time (I used icons from my KDE icon theme instead of the ugly ones shipped with LyX). Me too (well, not always KDE ones, but e.g. I used the

Re: [patch] load images from filesystem if not found in the resources

2007-10-20 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: Andre Poenitz wrote: Has anybody _ever_ customized his icons? Sure. All the time (I used icons from my KDE icon theme instead of the ugly ones shipped with LyX). With this patch the file system is only searched for an image if it is not found in the resources.

[patch] load images from filesystem if not found in the resources

2007-10-19 Thread Bernhard Roider
as the subject says: this patch makes it possible again to cusomize the toolbars with user defined images. if nobody objects i'll put it in tomorrow. bernhard Index: src/frontends/qt4/GuiToolbar.cpp === --- src/frontends/qt4/GuiTool

Re: macros for commands

2007-10-14 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: Bernhard Roider <[EMAIL PROTECTED]> writes: - it is wrong to define that in binding files, since these definitions are available to menus and toolbars too. I propose to move the definitions to their own file. ok, then should we create another director

Re: macros for commands

2007-10-10 Thread Bernhard Roider
Abdelrazak Younes schrieb: Bernhard Roider wrote: Andre Poenitz schrieb: On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote: hello all, the attached patch adds - the possibility to define macros in the bind file, like \define "my macro" "command-sequence ins

Re: macros for commands

2007-10-10 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: I have two small reservations : - the "macro" name is a bit confusing wrt mathed macros and latex macros (if we support them one day). Even if it is only in the code, it is better to avoid that. Unfortunately, I do not have plenty of good names. Procedure?

Re: macros for commands

2007-10-09 Thread Bernhard Roider
ouch, that coding styles - i am mixing different styles from different projects... thanks abdel, i will rework it acordingly. bernhard Abdelrazak Younes schrieb: Bernhard Roider wrote: Andre Poenitz schrieb: On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote: hello all, the

Re: r20863 - in /lyx-devel/trunk/src/frontends/qt4: LaTeXHigh...

2007-10-09 Thread Bernhard Roider
Abdelrazak Younes schrieb: [EMAIL PROTECTED] wrote: Author: younes Date: Tue Oct 9 08:39:53 2007 New Revision: 20863 URL: http://www.lyx.org/trac/changeset/20863 Log: set eol-style. Please people, don't forget about those when adding new files. sorry for that, i think i have to take a loo

Re: macros for commands

2007-10-08 Thread Bernhard Roider
Andre Poenitz schrieb: On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote: hello all, the attached patch adds - the possibility to define macros in the bind file, like \define "my macro" "command-sequence inset-insert ert 1; char-backward; self-insert some impor

command macros and MSVC project errors

2007-10-07 Thread Bernhard Roider
hello all, at last i managed to send the patch for the command macros. i added a recursive call prevention and created a patch for the latest revision. and here is my problem: after updating trunk msvc cannot compile lyx any longer. i get around 180 error messages for the projects 'frontend_q

Re: [Cvslog] r20789 - /lyx-devel/trunk/development/cmake/CMakeLists.txt

2007-10-07 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: Author: poenitz Date: Sat Oct 6 18:23:02 2007 New Revision: 20789 URL: http://www.lyx.org/trac/changeset/20789 Log: Change some .C -> .cpp I don't know cmake but it fails to create the VC project files here. Doesn't this change require the renaming of config.C.c

Re: macros for commands

2007-10-05 Thread Bernhard Roider
Original-Nachricht > Datum: Fri, 5 Oct 2007 00:29:32 +0200 > Von: Andre Poenitz <[EMAIL PROTECTED]> > An: Bernhard Roider <[EMAIL PROTECTED]> > CC: lyx-devel@lists.lyx.org > Betreff: Re: macros for commands > On Fri, Oct 05, 2007 at 12:24:45A

macros for commands

2007-10-04 Thread Bernhard Roider
hello all, the attached patch adds - the possibility to define macros in the bind file, like \define "my macro" "command-sequence inset-insert ert 1; char-backward; self-insert some important latex code; char-forward" - the lfun "call" to execute that macro. this call can be used in key bindi

Re: [patch] bug 4222: LyX cannot parse file:line:error style messages

2007-09-18 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: Bernhard Roider wrote: i am not familiar with the possible filenames, thus the question: do all kinds of filenames that can appear in that output have an extension and does that extension never contain digits? As far as I understand it, yes. Basically, this should

Re: [patch] bug 4222: LyX cannot parse file:line:error style messages

2007-09-18 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: Bernhard Roider wrote: I did not test it, but i would suggest this regular expression: + static regex file_line_error("[^:]+:[0-9]+: (.+)"); I'm not sure. We have to be careful that no other construct matches this regex. My version checks for

Re: [patch] bug 4222: LyX cannot parse file:line:error style messages

2007-09-18 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: ...general, please tell me if the regex could be improved. The message style we are looking for is: filename.tex:: I did not test it, but i would suggest this regular expression: + static regex file_line_error("[^:]+:[0-9]+: (.+)"); and if there is one mes

Re: [Bug 3974] crash with user defined external templates

2007-09-11 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: [EMAIL PROTECTED] (Jürgen Spitzmüller) writes: Jean-Marc Lasgouttes wrote: I lost the patch. Where is it? http://bugzilla.lyx.org/attachment.cgi?id=1959&action=view I have not see this patch before actually. Does the new libFileSearch have to build a vector>?

Re: [Bug 3974] crash with user defined external templates

2007-09-10 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: > http://bugzilla.lyx.org/show_bug.cgi?id=3974 > > > > > > --- Additional Comments From [EMAIL PROTECTED] 2007-09-10 11:34 --- > So, Bernhard, what shall we do with this? Postpone to 1.5.3? > > When i posted the patch to the devel-list there was this comment fr

Re: [Bug 3974] crash with user defined external templates

2007-09-10 Thread Bernhard Roider
[EMAIL PROTECTED] schrieb: http://bugzilla.lyx.org/show_bug.cgi?id=3974 --- Additional Comments From [EMAIL PROTECTED] 2007-09-10 11:34 --- So, Bernhard, what shall we do with this? Postpone to 1.5.3? When i posted the patch to the devel-list there was this comment from JMarc:

Re: CMake problem again...

2007-08-31 Thread Bernhard Roider
Abdelrazak Younes schrieb: I updated my tree and did a full reconfig but I get this: -- Build started: Project: lyx, Configuration: Release Win32 -- Compiling... EmbeddedFiles.cpp ..\..\..\src\EmbeddedFiles.cpp(13) : fatal error C1083: Cannot open precompiled header file: 'lyx.dir\Relea

crash in trunk

2007-08-30 Thread Bernhard Roider
1. new document 2. insert a (figure) float 3. press the left cursor key twice (OR press the up key once) 4. press he right cursor key

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: Bernhard Roider wrote: The behavior of lyx when it finds a user defined external template with the same name as a system defined one should be clarified. So maybe we should wait with that patch. The crash occures only in a really rare case (when the user

Re: Approaching LyX 1.5.2 [status update #1]

2007-08-29 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: 3974 cri crash with user defined external templates This will be fixed by a patch from Bernhard (that actually introduces an enhancement). It can go in now, IMHO. The behavior of lyx when it finds a user defined external template with the same name as a sys

Re: Grab configure.py output to a QT dialog?

2007-08-26 Thread Bernhard Roider
Bo Peng schrieb: We can also use a simple Timer instead but the QSocketNotifier solution might be more elegant indeed. The simple dialog you are talking about could simply be a QTextEdit. Yes. The only difficulty is that QTextEdit is not allowed in src/support. Note that if QProcess already h

is bug 688 obsolete?

2007-08-12 Thread Bernhard Roider
as the subject says - http://bugzilla.lyx.org/show_bug.cgi?id=688 bernhard

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-12 Thread Bernhard Roider
What about a different idea: since the problem is the hardcoding of RasterImage, we could replace it by code like the following. After thinking about this solution again i found a crash one case: If there is no Template definition in the user defined external_templates file then the line

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Bernhard Roider
I'm on holiday for 10 days now, so decide what to do and commit the result. I would be happy if this patch could go in for 1.5 Bernhard

Re: [patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-06 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, with the attached patch lyx loads all Bernhard> external_template definitions from 1. user_lyxdir 2. Bernhard> build_lyxdir 3. system_lyxdir I'd rather n

[patch] fix Bug 3983: system external_template file is ignored when user defined external_template file exists

2007-07-05 Thread Bernhard Roider
Hello, with the attached patch lyx loads all external_template definitions from 1. user_lyxdir 2. build_lyxdir 3. system_lyxdir If there are template or preamble definitions with the same name from different sources then lyx prints a warning message to the console and the first definition (in t

Re: [patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, the crash occured because Bernhard> ControlExternal::getTemplate() is called with the index -1 Bernhard> which produces an invalid iterator that is accessed Bernha

Re: [patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Bernhard Roider
Jean-Marc Lasgouttes schrieb: "Bernhard" == Bernhard Roider <[EMAIL PROTECTED]> writes: Bernhard> Hello, the crash occured because Bernhard> ControlExternal::getTemplate() is called with the index -1 Bernhard> which produces an invalid iterator that is accessed Bernha

[patch] fix bug 3974: crash with user defined external templates

2007-07-05 Thread Bernhard Roider
Hello, the crash occured because ControlExternal::getTemplate() is called with the index -1 which produces an invalid iterator that is accessed afterwards. Bernhard Index: src/frontends/controllers/ControlExternal.cpp === --- src/

crash with user defined external templates

2007-07-03 Thread Bernhard Roider
hello, the file external_templates contains the following comment: # This file contains the definitions of those External Templates that are # part of the official LyX distribution. # Feel free to create your own External Templates, storing them in # .lyx/external_templates if you do so (at lea

Re: [Cvslog] r18966 - /lyx-devel/trunk/src/insets/InsetBibtex.cpp

2007-07-03 Thread Bernhard Roider
Jürgen Spitzmüller schrieb: My compiler complains: InsetBibtex.cpp: In function 'bool lyxreadTypeOrKey(lyx::docstring&, lyx::idocfstream&, const lyx::docstring&, const lyx::docstring&, lyxcharCase)': InsetBibtex.cpp:415: warning: 'legalChar' may be used uninitialized in this function

Re: XPM images --- a thought

2007-07-02 Thread Bernhard Roider
I just saw that starting with version 4.2 qt supports svg icons. What about this format? Angus Leeming schrieb: LyX still uses XPM images in lib/images. The XPM format is plain text, so it still makes sense to store XPM files in the SVN repository because we get versioning history for free. Cl

Re: [PATCH] bug 3947 (was: bug RC2)

2007-07-01 Thread Bernhard Roider
Do i get another ok? José? Bernhard Uwe Stöhr schrieb: > the attached patch fixes the bug. Yes fixed, I tested it. But could you add yourself to the authors list of InsetBibtex.cpp as you did a lot there to improve LyX's BibTeX support. The fix seems straight forward and fixes a regressio

[PATCH] bug 3947 (was: bug RC2)

2007-06-28 Thread Bernhard Roider
Hello, the attached patch fixes the bug. The problem was that bibtex allows parentheses in the key (even if the whole entry is delimeted by parentheses!) Bernhard W. Bentley MacLeod schrieb: I have installed RC2, and there is a bug that was in RC1 that I did not mention since I thought it w

Re: bug RC2

2007-06-28 Thread Bernhard Roider
W. Bentley MacLeod schrieb: I have installed RC2, and there is a bug that was in RC1 that I did not mention since I thought it would be fixed. My bibtex cites are all of the form Author1-Author2(1980):JPE where JPE refers to a journal. When I insert a cite using lyx it puts in "Author1-Auth

Re: Problems with math preview

2007-06-23 Thread Bernhard Roider
Bernhard Roider schrieb: Hello, there are some problems with math preview (1.5rc1 and earlier): 1. When undoing something in a paragraph then all formulas in this paragraph are not previewed anymore until i click into the formula and outside again. Moreover this click into and outside does

Re: Update of previews too lazy

2007-06-20 Thread Bernhard Roider
Bo Peng schrieb: On 6/20/07, Neal Becker <[EMAIL PROTECTED]> wrote: 1.50rc1 When I edit math, previews don't update until I fiddle around a bit. 1. Edit math 2. Click outside math - no update 3. Click inside math again 4. Click outside math again. Maybe update this time. This is because it

Re: Environment dropbox is not updated after changing environment with shortcuts

2007-06-13 Thread Bernhard Roider
Bo Peng schrieb: As title, can anyone confirm? BTW, I have been using lyx extensively for two days, without a single crash. I guess lyx 1.5.0 is ready. Unfortunally i got a crash today (in rc1, winxp) (): Ctrl+n In the document settings dialog -> text format -> listings-setting enter some ran

  1   2   3   >