Lyx on OSX

2002-06-24 Thread bernhard
Hello, I'm a fan of Lyx, usually running on Linux. But now Ihave OSX and miss Lyx so much. I know there is a version on X on X, but will there be a port to native OSX? I think this will be a nice thing for Tex users on OSX, and there are only few Frontends, but noone is as good as Lyx! I hope

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: std::distance and RandomAccessList

2010-12-18 Thread Bernhard Roider
ing your arguments in this thread there seems to be a problem: - TeXOnePar may jump by more than one par - endpar is either paragraphs.end() or is given by the source view if this is true then the condition par == endpar is wrong because your earlier argument "... it can't go above paragraphs.end(), there's nothing above" doesn't hold because there can be something above endpar. bernhard

Re: Question about hexToInt()

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

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: 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: Update of previews too lazy

2007-06-20 Thread Bernhard Roider
a fraction) and then outide it does _not_ generate a new image. Bernhard

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: 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

[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

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

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: [Cvslog] r18966 - /lyx-devel/trunk/src/insets/InsetBibtex.cpp

2007-07-03 Thread Bernhard Roider
used uninitialized in this function thank you jürgen, your compiler is right. msvc does not complain at warning level 3! fixed in http://www.lyx.org/trac/changeset/18976 bernhard

crash with user defined external templates

2007-07-03 Thread Bernhard Roider
least on windows), i.e. create the file external_templates in the user config directory, reconfigure lyx and try to insert external material than lyx crashes. --> http://bugzilla.lyx.org/show_bug.cgi?id=3974 bernhard ps: i remember that in a previous version (i don't know exactly which

[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

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 3983: system external_template file is ignored when user defined external_template file exists

2007-07-05 Thread Bernhard Roider
the above order) is used. objections? good night Bernhard Index: src/insets/ExternalTemplate.cpp === --- src/insets/ExternalTemplate.cpp (revision 18994) +++ src/insets/ExternalTemplate.cpp (working copy) @@ -251,43 +251,67

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

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-12 Thread Bernhard Roider
templatename_ = etm.getTemplates().begin()->first; triggers a crash. Bernhard

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: Grab configure.py output to a QT dialog?

2007-08-26 Thread Bernhard Roider
program doesn't show all icons and compains about an internal error. But maybe inkscape is to blame in that case. bernhard

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

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

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: CMake problem again...

2007-08-31 Thread Bernhard Roider
s generated by cmake and also had problems the last days until found out that the solution file was renamed from lyx-qt4.sln to lyx.sln. Thus anything i did with cmake changed the new file whereas i always opend the old one. Bernhard

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: [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 dev

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

2007-09-11 Thread Bernhard Roider
ind of information for the user what is happening in this case, because if there is a problem because of one template hides another one the user should be able to find a hint about what's going on. bernhard

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

2007-09-18 Thread Bernhard Roider
ere is one message per line this should be: + static regex file_line_error("^[^:]+:[0-9]+: (.+)$"); bernhard

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: 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: Towards LyX 1.3.7 [status update #1]

2006-01-17 Thread Bernhard Reiter
/frontends/qt2/Dialogs_impl.h to OkApplyCancelReadOnlyPolicy did not cure this, so I'm not sure what might help... This is also present in my 1.3.5 and 1.4.0 installations. Bernhard Am Mittwoch, den 11.01.2006, 17:42 +0100 schrieb Jean-Marc Lasgouttes: > Now that LyX compiles under OSX 10.4, it is

Re: GTK Citation dialog

2006-01-20 Thread Bernhard Reiter
Am Freitag, den 20.01.2006, 16:50 + schrieb John C. Spray: > On Fri, 2006-01-20 at 14:45 +0100, Bernhard Reiter wrote: > > New year, new dialogs! Comments highly requested. > > You seem to have forgotten to send the .glade file! damnit. always the same. but as I've disco

Gtk Branches Dialog

2006-01-26 Thread Bernhard Reiter
yet another (very small) one. this time no screenie attached. Bernhard GBranch.tgz Description: application/compressed-tar

Re: Gtk Branches Dialog

2006-01-27 Thread Bernhard Reiter
Am Freitag, den 27.01.2006, 09:57 + schrieb John Spray: > Am Freitag, den 27.01.2006, 02:06 +0100 schrieb Bernhard Reiter: > > yet another (very small) one. this time no screenie attached. > > Eine angenehme Überraschung! > > I've committed this

Re: Gtk Branches Dialog

2006-01-27 Thread Bernhard Reiter
> As I did again some tweaking to the citation dialog (set some shortcut > targets correctly, added 3 or so new shortcuts and improved the > "bc().valid()" behavior [any synonym for that?] once again...) Here's what's missing: "...I again attach a little patch

Thesaurus Controller bug

2006-01-29 Thread Bernhard Reiter
ORD_REPLACE, that is), though. (refer to http://article.gmane.org/gmane.editors.lyx.devel/49069/ ) Regards Bernhard

[Gtk] GExternal, finally

2006-04-07 Thread Bernhard Reiter
Sorry about the delay, that's been some quite busy weeks. This required two or so pretty trivial changes two the controller and GtkLengthEntry. Hopefully everything's fine. Bernhard Log: src/frontends/gtk/ * GExternal.[Ch], glade/external.glade: Add the External dialog * Dialogs.C, M

Re: 1.5.0 alpha crash on quit

2006-11-18 Thread Bernhard Roider
e doc file customization.lyx). bernhard

Re: [Cvslog] r16597 - /lyx-devel/trunk/src/dociterator.h

2007-01-12 Thread Bernhard Roider
me but for inlining the compiler already has to know that. bernhard

filename with space truncated n external insets dialog

2007-01-17 Thread Bernhard Roider
pressing ok. bernhard

Re: What is needed to develop LyX 1.5 on Windows machine?

2007-01-19 Thread Bernhard Roider
n.C(22) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "config.h"' to your source? am i doing something wrong? Bernhard

Re: What is needed to develop LyX 1.5 on Windows machine?

2007-01-19 Thread Bernhard Roider
obtain this file, and then fire up msvs. Peter, am I right? Bo But version.C exists (i attached it since it is really small) and i get the error when compiling it. Bernhard /* -*- C++ -*- */ /** * \file version.C * This file is part of LyX, the document processor. * Licence details can be

Re: What is needed to develop LyX 1.5 on Windows machine?

2007-01-19 Thread Bernhard Roider
using a debugger), and as i can see for now this is much easier from within msvc Bernhard

Re: What is needed to develop LyX 1.5 on Windows machine?

2007-01-19 Thread Bernhard Roider
development/scons 2. run "scons msvs_projects" You can start msvs GUI using the generated lyx.vcproject file, and debug as usual. The only drawback is that msvs calls scons to rebuild, which is slower than cmake's native nmake build. Cheers, Bo thanks, i will give it a try Bernhard

Re: What is needed to develop LyX 1.5 on Windows machine?

2007-01-20 Thread Bernhard Roider
. the only remaining problem is that no "resources" directory is created (found?) and so lyx bails out at package.C line 575. I copied the .dll files that lyx needs to the directory build\bin\debug and started lyx from there (default if starting the debugger from within msvc). Bernhard

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Bernhard Roider
Hello! The attached patch fixes the problem in trunk. The problem was that for the filename one token was retrieved from the lexer instead of the whole remaining line. Bernhard PS: I think the preferred way for contributing should be via a bug report? Abdelrazak Younes wrote: Bernhard

Re: filename with space truncated n external insets dialog

2007-01-21 Thread Bernhard Roider
by the way 1.4.2 and 1.4.3 (that's all i have installed) also truncate the filename, but i have no source at my pc

Re: Omega and friends

2007-01-25 Thread Bernhard Roider
... Bernhard

[PATCH] Re: Bug 2859: behavior of math panels

2007-01-25 Thread Bernhard Roider
the window. Bernhard Index: src/frontends/qt4/iconpalette.C === --- src/frontends/qt4/iconpalette.C (revision 16854) +++ src/frontends/qt4/iconpalette.C (working copy) @@ -159,6 +159,7 @@ layout_->addWidge

[PATCH] Re: Insert > File > Child Document won't work for filenames with spaces

2007-01-25 Thread Bernhard Roider
Hello, this one was similar to the one with external inset file names Bernhard Index: src/insets/insetinclude.C === --- src/insets/insetinclude.C (revision 16854) +++ src/insets/insetinclude.C (working copy) @@ -271,7 +271,7 @@

Re: [PATCH] Re: Insert > File > Child Document won't work for filenames with spaces

2007-01-25 Thread Bernhard Roider
... Please update the bugzilla entry. I uploaded the patch PS: It's always a pleasure to have some new blood here so let me welcome you! Thanks for your welcome. Unfortunately my spare time is scarce, so i can not often go for a bug hunt. Bernhard

Re: [PATCH] Re: Insert > File > Child Document won't work for filenames with spaces

2007-01-25 Thread Bernhard Roider
Georg Baum wrote: Am Donnerstag, 25. Januar 2007 21:40 schrieb Bernhard Roider: ... Please update the bugzilla entry. I uploaded the patch That is not necessary... so was "Please update the bugzilla entry." not addressed to me? What about 1.4? Or is this bug 1.5 only? i

crash after saving new buffer and change to another new buffer

2007-01-25 Thread Bernhard Roider
oid LyXFunc::dispatch(FuncRequest const & cmd)). Afterwards cmd.action has an invalid value which triggers the ASSERT. Bernhard

Re: crash after saving new buffer and change to another new buffer

2007-01-26 Thread Bernhard Roider
n but the local variable action (which already exists). maybe that's enough, but it could also be that that hidden change of cmd has some other side effects. Bernhard PS: Maybe the problem is compiler specific or not present in another version of the std templa

Re: 1.5svn crash on opening file with child documents

2007-01-26 Thread Bernhard Roider
n and 1.4.4svn. In 1.5 the child will be incorrectly called "child". In 1.4 the child will be correctly called "child doc". Is this still true with latest svn? Bernhard Roider fixed this yesterday. I guess I should have been more explicit: the symptom is different from the p

Re: 1.5svn crash on opening file with child documents

2007-01-26 Thread Bernhard Roider
Bernhard Roider wrote: Bennett Helm wrote: [Sending again ... to the list this time.] On Jan 26, 2007, at 3:17 AM, Georg Baum wrote: John McCabe-Dansted wrote: It seems that lyx 1.5 doesn't support child documents with spaces. E.g. try opening http://www.csse.uwa.edu.au/~joh

Re: crash after saving new buffer and change to another new buffer

2007-01-27 Thread Bernhard Roider
have too little knowledge of the lyx code to assess this. Bernhard

[PATCH] confirm overwrite asked twice

2007-01-27 Thread Bernhard Roider
in the current trunk version lyx asks twice if it should overwrite a file when saving. The reason is that the qt save dialog asks and lyx itself asks too. The qt part can easily be turned off by the attached patch. Bernhard Index: src/frontends/qt4/FileDialog.C

[PATCH] immediatly display saved filename in tab

2007-01-27 Thread Bernhard Roider
Uwe Stöhr already denoted this small bug in his mail from 03 Jan 2007 - but the discussion then was only about the status of status.15x ;-) After saving a new file or "save as.." the filename is not updated in the tab. This patch fixes this. Bernhard Index: src

Re: [PATCH] immediatly display saved filename in tab

2007-01-28 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Uwe Stöhr already denoted this small bug in his mail from 03 Jan 2007 - but the discussion then was only about the status of status.15x ;-) After saving a new file or "save as.." the filename is not updated in the tab. This patch

Re: [PATCH] immediatly display saved filename in tab

2007-01-28 Thread Bernhard Roider
r" Regarding the tab update problem: Technically it would be better, i think, if we could move lyx_view_->updateTab() into the function writeAs(...). Is the LyXView accessible from the Buffer to manage this? Bernhard

gunzip on windows

2007-01-28 Thread Bernhard Roider
this because the .svgz files can be handled without gunzip. Bernhard

Re: [PATCH] immediatly display saved filename in tab

2007-01-29 Thread Bernhard Roider
Bernhard, I see that you're sending a succession of patches to this list and that some of them are getting into the code base. Could I get you to reply to this email (to lyx-devel please) saying that you agree to licence your contributions to LyX under the GPL version 2 or later?

Re: [PATCH] immediatly display saved filename in tab

2007-02-05 Thread Bernhard Roider
Angus Leeming wrote: Bernhard Roider wrote: i agree to license my contributions to LyX under the GPL version 2 or later. It's taken a little while, but your name is now up in lights at http://www.lyx.org/about/credits.php and http://www.lyx.org/about/blanket-permission.php Regards,

[PATCH] duplicate selected text when inserting floats

2007-02-07 Thread Bernhard Roider
blank paragraphs to ease the insertion of the float content, we should set the alignment of these paragraphs to centered Bernhard Index: text3.C === --- text3.C (revision 17095) +++ text3.C (working copy) @@ -1210,7 +1210,13

Re: [PATCH] duplicate selected text when inserting floats

2007-02-08 Thread Bernhard Roider
centering of the inserted paragraphs previously mentioned and an additional test before adding the empty paragraph below the caption. Bernhard Index: text3.C === --- text3.C (revision 17095) +++ text3.C (working copy

Re: [PATCH] duplicate selected text when inserting floats

2007-02-11 Thread Bernhard Roider
Michael Gerz wrote: Jean-Marc Lasgouttes schrieb: Other than that, I am not sure that I like all this automatic centering business. If the user has already provided some contents, it is very surprising that inserting a float around it would modify its alignment. JMarc JMarc, Bernhard, I

Re: LyX 1.4.4 is released

2007-02-15 Thread Bernhard Roider
sage windows (from the system and from lyx) when this happens! Bernhard

Re: LyX 1.4.4 is released

2007-02-15 Thread Bernhard Roider
server, and the size of the profile folder is therefore limited to about 15MB. The problem is now that aspell installs it's dictionaries to this location - and exceeds the limit. Would it be possible to install it to a different (maybe user defined) folder? Bernhard

lyx-windows-deps for 1.4.x

2007-02-15 Thread Bernhard Roider
Hello LyX developers, as the subject says - is there a similar package as it exists for trunk? Bernhard

Re: [PATCH] duplicate selected text when inserting floats

2007-02-15 Thread Bernhard Roider
should be inserted above or below the caption is useful. Maybe it could be defined in the layout file? Bernhard Bernhard Roider wrote: Michael Gerz wrote: Jean-Marc Lasgouttes schrieb: Other than that, I am not sure that I like all this automatic centering business. If the user has already

Re: lyx-windows-deps for 1.4.x

2007-02-15 Thread Bernhard Roider
Bo Peng wrote: is there a similar package as it exists for trunk? http://www.lyx.org/~bpeng/lyx-windows-deps-msvc-qt3.zip Bo Thanks Bernhard

Re: lyx-windows-deps for 1.4.x

2007-02-15 Thread Bernhard Roider
t the environment variable QTDIR appropriately then this works but then zlib is not found. am i missing something? thank you bernhard

Re: lyx-windows-deps for 1.4.x

2007-02-15 Thread Bernhard Roider
nstall Qt 3 and set QTDIR is that out of date? Bernhard

Re: Mildly interesting...

2007-02-16 Thread Bernhard Reiter
On a side note, speaking of doing paid work for LyX: http://google-code-updates.blogspot.com/2007/02/speaking-of-summer.html Maybe some sub-projects lend themselves to something like that? Bernhard Am Sonntag, den 04.02.2007, 00:49 + schrieb John Levon: > On Sat, Feb 03, 2007 at 11

1.5.0svn assert after inset-insert ert

2007-02-16 Thread Bernhard Roider
::LyXText::getPitNearY(class lyx::BufferView &,int) by failing check "bv.coordCache().getParPos().find(this) != bv.coordCache().getParPos().end()" in file ..\..\trunk\src\text2.C:746 Bernhard ps: i have a simple patch that allows to insert an inlined ert with "ert-insert inlin

Re: 1.5.0svn assert after inset-insert ert

2007-02-16 Thread Bernhard Roider
Bernhard Roider wrote: Hello, i just played around with the command buffer (i wanted to insert an inlined ert). Therefore i tried to execute inset-insert ert in the command buffer. When i try to click with the mouse on the resulting ert an assert is triggered: Assertion triggered in __w64

Re: 1.5.0svn assert after inset-insert ert

2007-02-17 Thread Bernhard Roider
Bernhard Roider wrote: Hello, i just played around with the command buffer (i wanted to insert an inlined ert). Therefore i tried to execute inset-insert ert in the command buffer. When i try to click with the mouse on the resulting ert an assert is triggered: Good evening, i have a

Re: Captions not properly imported from LyX 1.4

2007-02-18 Thread Bernhard Roider
ns without the surrounding float and shows "Figure #:" and not "Senseless!!!" Bernhard

Re: strange cursor positioning

2007-02-21 Thread Bernhard Roider
nitializes it with a value x = -842150394 (->assert in the Point constructor) This comes from the value of InsetMathChar::width_ which is -842150451 for InsetMathChar::char_ == '1' (added to x in the method "int MathArray::pos2x(size_type pos, int glue) const") has someone an idea? Bernhard

Google Summer of Code 2007

2007-02-22 Thread Bernhard Reiter
during summer... (Based upon personal experience; I took part in GSoC 2006 working on tree structure for Boost, but as my project isn't review-ready yet and I'm still working on it, I won't be able to apply for LyX :-( Bernhard

Make GTK branch compile

2007-02-27 Thread Bernhard Reiter
o busy with 1.5 right now, i can still remind you later on :-) Bernhard Index: src/UpdateFlags.h === --- src/UpdateFlags.h (Revision 17378) +++ src/UpdateFlags.h (Arbeitskopie) @@ -1,28 +1,40 @@ -#ifndef UPDATE_FLAGS_H -#define

Re: feature request....

2007-02-27 Thread Bernhard Roider
nsert figure; down; inset-insert vspace medskip; up; up; paragraph-params-apply \align center; inset-insert vspace smallskip; dialog-show-new-inset graphics;" Bernhard

Re: Make GTK branch compile

2007-02-28 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Reiter wrote: Even if i'm one of the few people seemingly still interested in a gtk frontend, i don't have much time to work on it right now - but i wanted at least to make the branch compile again (though right now lyx-gtk segfaults right aft

lyxerror and console output under windows

2007-02-28 Thread Bernhard Roider
n i went even further and derived another class from std::stringstream that adds a tag to the message and indents the message. Therefore a NewLine type similar to the EndMsg type has been introduced. The output in the debugview window is also attached. comments are welcome Bernhard <>

[Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
if (lex) param = p; // only use the input if the reading operation was successful } return param; } I tested lyx with the attached patch and found no problems, but who knows... i think this should go in. comments? Bernhard PS: The methods LyXLex::Pimpl::next()

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
the patch... Bernhard Roider wrote: Hello all, today i searched for the reason why the vspace dialog is completely broken as Michael Gerz wrote in his mail from 27.02.2007. It turned out that the bug was introduced by the patch that fixed the bug that crashed lyx when "inset-inser

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
Bernhard Roider wrote: today i searched for the reason why the vspace dialog is completely broken as Michael Gerz wrote in his mail from 27.02.2007. bug #3293 (http://bugzilla.lyx.org/show_bug.cgi?id=3293)

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-02 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | the patch... I think the var "lastReadOk" should be mutable, and you should not remove const from the functions. i already thought about that. i will do it.

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Bernhard Roider
Andre Poenitz wrote: On Fri, Mar 02, 2007 at 11:41:45PM +0100, Bernhard Roider wrote: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use "lex.isOK()". Why not lex.dataAvailable() or

[Patch] TOC Dialog crashes with empty toc list

2007-03-03 Thread Bernhard Roider
one with index 0. Bernhard Index: src/frontends/qt4/QTocDialog.C === --- src/frontends/qt4/QTocDialog.C (revision 17395) +++ src/frontends/qt4/QTocDialog.C (working copy) @@ -140,9 +140,12 @@ void QTocDialog

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contr

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-03 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Hello Lars, | | as Abdel suggested i would like to ask you for SVN commit access, to | be able to commit my contributions by myself. I am a bit reluctant, especially since (pardon me if wrong) you havent contr

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Georg Baum wrote: Am Freitag, 2. März 2007 23:40 schrieb Bernhard Roider: The rule for using the lexer: if you want to know if the lexer still has data to read (either from the stream or from the pushed token) then use "lex.isOK()". If you want to test if the last reading ope

Re: [Patch] Rework of LyXLex && fix at least the vspace dialog bug

2007-03-04 Thread Bernhard Roider
Lars Gullik Bjønnes wrote: Bernhard Roider <[EMAIL PROTECTED]> writes: | Ok, then here's the patch with const methods and mutable member | variable. It fixes bug #3293. The patch does a lot of small code shuffling that might change behavior, so it porbably needs some testing. I

Re: [Patch] TOC Dialog crashes with empty toc list

2007-03-04 Thread Bernhard Roider
to use true/false explictly. (Should not become part of this patch of course.) enableButtons() has the dafault arg true. I can create another patch for that. Bernhard

  1   2   3   4   >