Re: GuiProgess

2009-06-07 Thread Andre Poenitz
On Sat, Jun 06, 2009 at 10:36:31PM +0200, Peter Kuemmel wrote: > > > 1. QProcess::waitForFinished() sometimes crashes > > > 2. QProcess::waitForFinished() sometimes does not return (splash does > > not disappear) > > > 3. QProcess::started() is emitted twice (see disconnect in patch) > > > > > >

Re: r30238 - lyx-devel/branches/BRANCH_1_6_X/src/frontends/qt4

2009-06-23 Thread Andre Poenitz
On Tue, Jun 23, 2009 at 10:10:00AM +0200, sa...@lyx.org wrote: > Author: sanda > Date: Tue Jun 23 10:09:59 2009 > New Revision: 30238 > URL: http://www.lyx.org/trac/changeset/30238 > > Log: > Backport typo & shadowing spotted by Abdel > > Modified: >lyx-devel/branches/BRANCH_1_6_X/src/fronten

Re: r30255 - in lyx-devel/trunk: lib/doc lib/images lib/ui src

2009-06-28 Thread Andre Poenitz
On Sat, Jun 27, 2009 at 07:13:32AM +0200, Jürgen Spitzmüller wrote: > And not only that. > > After re-consulting a HIG (the Gnome HIG since KDE's is inaccessible ATM, but > they should be identical in this regard), I came up with the following > changes. > > Objections? > > Jürgen > Index: li

Re: r30255 - in lyx-devel/trunk: lib/doc lib/images lib/ui src

2009-06-29 Thread Andre Poenitz
On Mon, Jun 29, 2009 at 08:16:26AM +0200, Jürgen Spitzmüller wrote: > Andre Poenitz wrote: > > I do not completely disagree, but the environment is called "align", not > > "Align". I would consider this as some kind of opposite of a "proper > > noun&qu

Re: r30401 - lyx-devel/trunk/src/frontends/qt4/ui

2009-07-07 Thread Andre Poenitz
On Tue, Jul 07, 2009 at 07:34:28PM +0200, Jürgen Spitzmüller wrote: > Uwe Stöhr wrote: > > > And you are sure these UI files will compile against Qt 4.2? > > > > I hope so. But why are you using Qt 4.2? > > Personally, I use Qt 4.5.2. But I keep on developing with Qt 4.2, > since we promise to be

Re: LyX (trunk + branch) crashes on click to "outline"

2009-07-14 Thread Andre Poenitz
On Tue, Jul 14, 2009 at 08:42:36AM +0200, Kornel Benko wrote: > Am Tuesday 14 July 2009 schrieb Kornel Benko: > > Hi, this is on OpenSuSE 10.3 64 bit. > > > > as soon as I click to see the outliner lyx crashes. Don't know when it > > first happenned, but > > it used to function 6 weeks ago. > >

Re: r30567 - lyx-devel/trunk/src/insets

2009-07-14 Thread Andre Poenitz
On Tue, Jul 14, 2009 at 05:51:21PM +0200, sa...@lyx.org wrote: > Author: sanda > Date: Tue Jul 14 17:51:21 2009 > New Revision: 30567 > URL: http://www.lyx.org/trac/changeset/30567 > > Log: > Hopefully fix bug #6077 > > Modified: >lyx-devel/trunk/src/insets/RenderBase.h > > Modified: lyx-dev

Re: Berlin

2009-07-17 Thread Andre Poenitz
On Fri, Jul 17, 2009 at 09:20:40PM +0200, Pavel Sanda wrote: > > > anybody from the berliner crowd interested in a pub meet for a beer or > > > two? > > > > Define "next days". > > sat 18. - thu 23./fri 24. > to me the most convenient would be wednesday evening, but it can easily change > accord

Re: Berlin

2009-07-21 Thread Andre Poenitz
On Tue, Jul 21, 2009 at 12:18:20PM +0200, Pavel Sanda wrote: > Pavel Sanda wrote: > > ok so lets fix at least wednesday evening. 8 pm? 9 pm? > > > > > fyi i'm not on a vacation and my resources to explore nearabouts > > pubs and sit on net while discussing proposals here will be limited. >

Re: [patch] bug 6094.

2009-07-26 Thread Andre Poenitz
On Sun, Jul 26, 2009 at 11:33:54PM +0200, Vincent van Ravesteijn wrote: > > When copying a math inset and text like the following: > $\forall$x > (the thing between $'s is a math inset) > > and pasting this into another math inset will give: > $\forallx$ > > In stead of > $\forall x$ > > The attach

Re: [patch] Bug #2969. Double labels appear on empty lines of multi-line equations

2009-07-26 Thread Andre Poenitz
On Sun, Jul 26, 2009 at 10:21:47PM +0200, Vincent van Ravesteijn wrote: > As to the proposed patch, I'd like to hear the opinion of math users. >>> After some further investigation I found out that the bug was introduced >>> in changeset 10553: "Output \\ at the end of the last lin

Re: [patch] Re: RFC: Use Author hash value to identify tracked changes

2009-07-30 Thread Andre Poenitz
On Thu, Jul 30, 2009 at 03:05:10AM +0100, Gregory Jefferis wrote: > After a long hiatus, I returned to this problem, editing my previous patch > series to respond to the helpful comments from various people on the list. > Vincent made the most detailed response so I responded below point by point >

Re: [patch] Re: RFC: Use Author hash value to identify tracked changes

2009-07-30 Thread Andre Poenitz
On Thu, Jul 30, 2009 at 03:05:10AM +0100, Gregory Jefferis wrote: > [ second patch series ] A few more nits: > + authorindex=-1; Common LyX style uses spaces around binary operators > + if(it != bp.author_map.end()) ... and after if, while etc (but not after function names) > +

Re: Re: LyX in different Linux distros (page in Open Source Watershed)

2009-07-30 Thread Andre Poenitz
On Thu, Jul 30, 2009 at 10:28:53AM +0200, Vincent van Ravesteijn - TNW wrote: > >As for converting whatever java script that's used > >into generating a table or something is beyond me. > > Weren't you a rocket scientist ? Maybe that conversion is not rocket science... Andre'

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Andre Poenitz
On Sat, Aug 01, 2009 at 11:54:13PM +0200, v...@lyx.org wrote: > Author: vfr > Date: Sat Aug 1 23:54:13 2009 > New Revision: 30821 > URL: http://www.lyx.org/trac/changeset/30821 > > Log: > Add a pending space after math if it is not the last of the selection. This > fixes problems like in bug #60

Re: r30602 - lyx-devel/trunk/src/insets

2009-08-03 Thread Andre Poenitz
On Sat, Aug 01, 2009 at 11:45:25PM +0200, Jean-Marc Lasgouttes wrote: > Le 01/08/2009 18:29, Abdelrazak Younes a écrit : >> In case this question was left unanswered, we don't want a buffer_ >> member in InsetMathChar because this sucks 4 bytes of memory for each >> inset. And, AFAICS, there's no n

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Andre Poenitz
On Mon, Aug 03, 2009 at 01:11:38PM +0200, Vincent van Ravesteijn - TNW wrote: > P.S I'm always struggling with these kind of if-statements, I'm starting > to get confused with the general rule: > > if (bla == bla2 > && bla3 == bla4) > do_something; > > Or > > if (bla == bla2 > &&

Re: r30821 - lyx-devel/trunk/src

2009-08-03 Thread Andre Poenitz
On Mon, Aug 03, 2009 at 01:21:59PM +0200, Pavel Sanda wrote: > Vincent van Ravesteijn - TNW wrote: > > > > >> Modified: lyx-devel/trunk/src/Paragraph.cpp > > >> > > > > == > > >> --- lyx-devel/trunk/src/Paragraph.cpp

Re: r30918 - lyx-devel/branches/BRANCH_1_6_X

2009-08-08 Thread Andre Poenitz
On Sat, Aug 08, 2009 at 01:46:05PM +0200, Jürgen Spitzmüller wrote: > Vincent van Ravesteijn wrote: > > That'd probably mean I'd have to start debugging Qt somehow, and find > > out the problem myself (but I don't want to). > > I can understand that. > > > Other than that, I really don't have a c

Re: r30918 - lyx-devel/branches/BRANCH_1_6_X

2009-08-08 Thread Andre Poenitz
On Sat, Aug 08, 2009 at 02:24:57PM +0200, Vincent van Ravesteijn wrote: > Andre Poenitz schreef: >> On Sat, Aug 08, 2009 at 01:46:05PM +0200, Jürgen Spitzmüller wrote: >> >>> Vincent van Ravesteijn wrote: >>> >>>> That'd probably mea

Re: r30940 - in lyx-devel/trunk/src: . insets mathed

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 05:05:37PM +0200, you...@lyx.org wrote: > Author: younes Date: Sun Aug 9 17:05:36 2009 New Revision: 30940 URL: > http://www.lyx.org/trac/changeset/30940 > > Log: General cleanup: Text is (or should be) nothing more than > InsetText private implementation. We need access t

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

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 06:19:43PM +0200, you...@lyx.org wrote: > Author: younes Date: Sun Aug 9 18:19:43 2009 New Revision: 30947 URL: > http://www.lyx.org/trac/changeset/30947 > > Log: Text::Inset(): now returns a reference in order to make clear > that the owner is mandatory. One of the thing

Re: Lots of assertions because of missing setBuffer()

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 08:59:47PM +0200, Abdelrazak Younes wrote: > On 09/08/2009 20:50, Vincent van Ravesteijn wrote: >> Abdelrazak Younes schreef: >>> On 09/08/2009 20:48, Vincent van Ravesteijn wrote: Abdelrazak Younes schreef: > Hi, > > There used to be a recursive call to set

Re: Lots of assertions because of missing setBuffer()

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 11:47:27PM +0200, Abdelrazak Younes wrote: > On 09/08/2009 23:45, Vincent van Ravesteijn wrote: >> So we have two solutions: 1) set the Buffer again for pars_[pit] and pars_[pit - 1] and do this for all operation that involves a Paragraph or an Inset c

Re: Why...?

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 06:23:09PM -0400, rgheck wrote: > > /// > enum EndLabelType { > /// > END_LABEL_NO_LABEL, > /// > END_LABEL_BOX, > /// > END_LABEL_FILLED_BOX, > /// > END_LABEL_STATIC, > /// > END_LABEL_ENUM_FIRST = END_LABEL_NO_LABEL, > /// >

Re: Add links from CitationDialog for file={ and url={?

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 04:35:15PM +0800, John McCabe-Dansted wrote: > On Thu, Aug 6, 2009 at 8:23 PM, rgheck wrote: > > On 08/04/2009 12:52 PM, John McCabe-Dansted wrote: > >> > >> I was thinking: if the LyX citation dialog: > >> 1) had a link to > >>   - the file specified in the file={:} bibtex

Re: Lots of assertions because of missing setBuffer()

2009-08-09 Thread Andre Poenitz
On Sun, Aug 09, 2009 at 11:45:29PM +0200, Vincent van Ravesteijn wrote: > >>> >>> So we have two solutions: >>> 1) set the Buffer again for pars_[pit] and pars_[pit - 1] and do this >>> for all operation that involves a Paragraph or an Inset copy. >>> 2) set the buffer for all paragraphs and inse

Re: How does LyX render symbols?

2009-08-10 Thread Andre Poenitz
On Mon, Aug 10, 2009 at 02:03:09PM -0400, Manoj Rajagopalan wrote: > Thanks, Richard and Vincent. > > For a long time I've wished for a LaTeX rendering widget in Qt. I do a > lot of scientific computing and I'd like my GUI's to contain label > widgets that display greek symbols etc. and what bette

Re: Memory leak?

2009-08-10 Thread Andre Poenitz
On Mon, Aug 10, 2009 at 09:34:00PM +0200, Pavel Sanda wrote: > hi, > for the third time my system get frozen because of > bug http://www.lyx.org/trac/ticket/5002. > > it seems when we load eg. jpg image to cache and rescale it, the > original image is not forgoten so even small scale is of no help

Re: How does LyX render symbols?

2009-08-14 Thread Andre Poenitz
On Thu, Aug 13, 2009 at 04:55:21PM -0400, Manoj Rajagopalan wrote: > Refactoring LyX to do this might be a huge task - I'd like to invite the > developers to simply consider this at this stage. An embedded lyx editor has > HUGE advantages. For example, this 'part' could be reused to implement a

Re: boost 1.39 update

2009-08-17 Thread Andre Poenitz
On Sun, Aug 16, 2009 at 12:49:28PM +0200, Peter Kümmel wrote: > Abdelrazak Younes wrote: > >> Is it ok when I update without a branch? > > > > Yes. > > > > OK, when I have commit rights I will update and test on Linux. > > >> This means I will commit without testing on Linux before commiting

Re: Compilation in trunk

2009-08-17 Thread Andre Poenitz
On Mon, Aug 17, 2009 at 09:51:39AM +0200, Pavel Sanda wrote: > > /usr/BUILD/BuildLyx/src/frontends/qt4/ui_ModulesUi.h:95: error: ???class > > QTreeView??? has no member named ???setHeaderHidden??? > > make[2]: *** > > [src/frontends/qt4/CMakeFiles/frontend_qt4.dir/usr/src/lyx/lyx-devel/src/fronte

Re: r31087 - in lyx-devel/trunk/src/frontends/qt4: . ui

2009-08-17 Thread Andre Poenitz
On Mon, Aug 17, 2009 at 10:38:02AM +0200, sa...@lyx.org wrote: > Author: sanda > Date: Mon Aug 17 10:38:02 2009 > New Revision: 31087 > URL: http://www.lyx.org/trac/changeset/31087 > > Log: > This part of QTreeView is newer. > > Modified: >lyx-devel/trunk/src/frontends/qt4/GuiDocument.cpp >

Re: boost 1.39 update

2009-08-17 Thread Andre Poenitz
On Mon, Aug 17, 2009 at 01:03:30PM +0200, Vincent van Ravesteijn - TNW wrote: > > > But why do we still use boost? > my memory is fading away, but wasn't there some compilation > problems when we tried to replace something with tr1 in berlin? > >>> I don't know, Andre started workin

Re: Beware! Arsene is coming !

2009-08-26 Thread Andre Poenitz
On Wed, Aug 26, 2009 at 06:44:48PM +0200, Enrico Forestieri wrote: > On Wed, Aug 26, 2009 at 01:55:56AM +0200, Jean-Marc Lasgouttes wrote: > > Some people say that good things always come to an end, but this implies > > that good things have to start at some point too. I am glad to announce > > t

Re: Lyx and vi

2009-09-01 Thread Andre Poenitz
On Tue, Sep 01, 2009 at 11:11:19AM +0200, Ullrich Franke wrote: > Hi there, > > sorry for warming up an old discussion. > > I'm sitting in front of a large document in LyX right now and need to > jump back and forth quite often. Now what I'm missing (besides the > whole vi bindings) is vi's abil

Re: [patch] LyX server for Windows

2009-09-06 Thread Andre Poenitz
On Sun, Sep 06, 2009 at 05:36:44PM +0200, Enrico Forestieri wrote: > The attached patch implements the LyX server for Windows in 1.6.x. Can anybody remind me why we need to use 500+ platform specific lines code of our own instead of using, say, QLocalSocket? Andre'

Re: [patch] LyX server for Windows

2009-09-06 Thread Andre Poenitz
On Sun, Sep 06, 2009 at 05:50:28PM +, Enrico Forestieri wrote: > Andre Poenitz writes: > > > > On Sun, Sep 06, 2009 at 05:36:44PM +0200, Enrico Forestieri wrote: > > > The attached patch implements the LyX server for Windows in 1.6.x. > > > > Can anyb

Re: [patch] LyX server for Windows

2009-09-07 Thread Andre Poenitz
On Mon, Sep 07, 2009 at 12:38:25AM +0200, Enrico Forestieri wrote: > On Sun, Sep 06, 2009 at 11:10:25PM +0200, Andre Poenitz wrote: > > > On Sun, Sep 06, 2009 at 05:50:28PM +, Enrico Forestieri wrote: > > > Andre Poenitz writes: > > > > > > >

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

2009-09-09 Thread Andre Poenitz
On Wed, Sep 09, 2009 at 01:35:09AM +0200, Tommaso Cucinotta wrote: > Vincent van Ravesteijn ha scritto: >> I did expect. Actually I listed a long list of LFUNS in LyXFunc which >> should work on the document buffer long ago. After this, only the >> calls to view() have been altered and Abdel di

Re: r31340 - lyx-devel/trunk/src

2009-09-09 Thread Andre Poenitz
On Wed, Sep 09, 2009 at 06:29:04AM +0200, Vincent van Ravesteijn wrote: >> +/// >> +/// An internal buffer does not contain a real document, but some >> auxiliary text segment. >> +/// It is not associated with a filename, it is never saved, thus it >> does not need to be >> +///

Re: [patch] LyX server for Windows

2009-09-11 Thread Andre Poenitz
On Fri, Sep 11, 2009 at 01:14:39AM +0200, Vincent van Ravesteijn wrote: >>> You don't need Cygwin to test it. >>> >>> 1. Use "\\.\pipe\lyxpipe" (without quotes) as the LyXserver pipe path >>>in the preferences. >>> 2. Quit and restart LyX. >>> 3. In a cmd.exe terminal type >>> echo LYXCMD:

Re: r31372 - lyx-devel/trunk/development/lyxserver

2009-09-12 Thread Andre Poenitz
On Sat, Sep 12, 2009 at 02:15:01AM +0200, for...@lyx.org wrote: > Author: forenr > Date: Sat Sep 12 02:15:00 2009 > New Revision: 31372 > URL: http://www.lyx.org/trac/changeset/31372 > > Log: > Add a Qt version of the LyX server monitor program. > I tried to account for msvc based on the MS docs,

Re: r31372 - lyx-devel/trunk/development/lyxserver

2009-09-12 Thread Andre Poenitz
On Sat, Sep 12, 2009 at 06:33:17PM +0200, Vincent van Ravesteijn wrote: > But, it doesn't run ok. It's not allowed to access the GUI from within a > different thread. Funny, worked on Linux. But you are right of course. > That means that Qt asserts for every call to a member > function of inf

Re: r31375 - lyx-devel/trunk/development/lyxserver

2009-09-12 Thread Andre Poenitz
On Sat, Sep 12, 2009 at 07:40:55PM +0200, for...@lyx.org wrote: > Author: forenr > Date: Sat Sep 12 19:40:54 2009 > New Revision: 31375 > URL: http://www.lyx.org/trac/changeset/31375 > > Log: > server_monitor.h must be included last for msvc sake. > > Modified: >lyx-devel/trunk/development/ly

Re: r31372 - lyx-devel/trunk/development/lyxserver

2009-09-13 Thread Andre Poenitz
On Sat, Sep 12, 2009 at 11:30:23PM +0200, Enrico Forestieri wrote: > On Sat, Sep 12, 2009 at 09:57:24PM +0200, Andre Poenitz wrote: > > > On Sat, Sep 12, 2009 at 06:33:17PM +0200, Vincent van Ravesteijn wrote: > > > But, it doesn't run ok. It's not allowed

Re: Compilation failure with qt 4.2

2009-09-15 Thread Andre Poenitz
On Tue, Sep 15, 2009 at 01:47:21PM +0200, Pavel Sanda wrote: > [...] > greets from sicily! :) Did you jump on the wrong train again? Andre'

Re: Compile error in trunk.

2009-09-23 Thread Andre Poenitz
Buffer const & bufOn Wed, Sep 23, 2009 at 10:20:02PM +0200, Kornel Benko wrote: > Abdel, my compiler does not like me ... > /usr/src/lyx/lyx-devel/src/frontends/qt4/GuiView.cpp: In member function > ‘bool lyx::frontend::GuiView::goToFileRow(const std::string&)’: > /usr/src/lyx/lyx-devel/src/fronte

Re: How to become a LyX Developer

2009-09-24 Thread Andre Poenitz
On Thu, Sep 24, 2009 at 10:06:09AM +0100, José Matos wrote: > On Thursday 24 September 2009 Guenter Milde wrote: > > Do I have to conclude that the attitude towards beer is more important than > > programming skills when joining the lyx devel team? > > If that is the case then I am a counter-exa

Re: How to become a LyX Developer

2009-09-27 Thread Andre Poenitz
On Thu, Sep 24, 2009 at 11:58:46PM +0100, José Matos wrote: > On Thursday 24 September 2009 Andre Poenitz wrote: > > The attitude certainly counts, but the "direction" of the > > attitude was not mentioned... > > > > As long as people live on a healthy diet

Re: r31603 - in lyx-devel/branches/BRANCH_1_6_X: . src

2009-10-12 Thread Andre Poenitz
On Mon, Oct 12, 2009 at 06:34:58PM +0200, sp...@lyx.org wrote: > +namespace { > +docstring getLaTeXMarkup(docstring const macro, docstring const author, > + docstring const chgTime, > + OutputParams const & runparams) Why copies, not references? Andre'

Re: r31748 - lyx-devel/trunk/src

2009-10-26 Thread Andre Poenitz
On Mon, Oct 26, 2009 at 06:16:29PM +0100, Jean-Marc Lasgouttes wrote: > Vincent van Ravesteijn writes: > > OK, this was beyond my autotools knowledge ;-).. > > This is not really autotools, but the way we deal with code which is > only called from GUI. The way we do it is still not correct IMO.

Re: LyX with Google Wave?

2009-10-28 Thread Andre Poenitz
On Wed, Oct 28, 2009 at 10:28:46AM +0100, Pavel Sanda wrote: > Edwin Leuven wrote: > > Jean-Marc wrote: > > > But simultaneous editing by several users is an old dream of ours :) > > > > others are living our dreams: > > > > http://www.abisource.com/release-notes/2.8.0.phtml > > and as from last

Re: LyX with Google Wave?

2009-11-02 Thread Andre Poenitz
On Mon, Nov 02, 2009 at 01:29:03PM +0100, Helge Hafting wrote: > Pavel Sanda wrote: >> Edwin Leuven wrote: >>> Jean-Marc wrote: But simultaneous editing by several users is an old dream of ours :) >>> others are living our dreams: >>> >>> http://www.abisource.com/release-notes/2.8.0.phtml >> >

Re: Scripting fun - removing unneeded headers from source code

2009-11-08 Thread Andre Poenitz
On Sat, Nov 07, 2009 at 11:12:06PM +0100, Alex Fernandez wrote: > On Sat, Nov 7, 2009 at 8:19 PM, Steve Litt wrote: > > I'm wondering if there's a less compute intensive method than the brute > > force > > method of removing a #include from a .h, and then recompiling every .cpp > > file. > > I

Re: Scripting fun - removing unneeded headers from source code

2009-11-08 Thread Andre Poenitz
On Sun, Nov 08, 2009 at 12:55:15AM +0100, Vincent van Ravesteijn wrote: > Pavel Sanda schreef: >> Vincent van Ravesteijn wrote: >> my draft implied one compilation per one #include in our sources, no combinations. the only tweaking part was that detection in .h files - one has >>

Re: Scripting fun - removing unneeded headers from source code

2009-11-08 Thread Andre Poenitz
On Sun, Nov 08, 2009 at 11:19:55AM +0800, John McCabe-Dansted wrote: > I have heard that some .h files include other .h files, but are not > required to do so by POSIX etc. Thus removing them may harm > portability. This discussion is not much about C headers. They are comparatively short and abov

Re: r31901 - in lyx-devel/trunk/src: . frontends/qt4 insets mathed

2009-11-09 Thread Andre Poenitz
On Mon, Nov 09, 2009 at 09:40:13AM +0100, Abdelrazak Younes wrote: > rgheck wrote: >> On 11/08/2009 10:53 AM, you...@lyx.org wrote: >>> Author: younes >>> Date: Sun Nov 8 16:53:21 2009 >>> New Revision: 31901 >>> URL: http://www.lyx.org/trac/changeset/31901 >>> >>> Log: >>> Uniformize Inset constr

Re: LyX with Google Wave?

2009-11-10 Thread Andre Poenitz
On Tue, Nov 10, 2009 at 09:19:51AM +1000, Douglas Ray wrote: > half the topics on this list seem to be how to > overcome problems of using Qt... And the other two thirds are about re-inventing wheels without Qt. SCNR, Andre'

Re: LyX with Google Wave?

2009-11-15 Thread Andre Poenitz
On Sat, Nov 14, 2009 at 11:58:30PM +0100, Christian Ridderström wrote: > On Tue, 10 Nov 2009, Andre Poenitz wrote: > >> On Tue, Nov 10, 2009 at 09:19:51AM +1000, Douglas Ray wrote: >>> half the topics on this list seem to be how to >>> overcome problems of using

Re: [RFC] RefStepCounter for LyX

2009-11-17 Thread Andre Poenitz
On Mon, Nov 16, 2009 at 05:46:03PM -0500, rgheck wrote: > Index: src/Counters.h > === > --- src/Counters.h(revision 32054) > +++ src/Counters.h(working copy) > @@ -18,11 +18,13 @@ > #include "support/docstring.h" > > #inclu

Re: [RFC] RefStepCounter for LyX

2009-11-17 Thread Andre Poenitz
On Tue, Nov 17, 2009 at 04:52:58PM -0500, rgheck wrote: > On 11/17/2009 03:43 PM, Andre Poenitz wrote: >> On Mon, Nov 16, 2009 at 05:46:03PM -0500, rgheck wrote: >> >> >>> @@ -172,6 +195,11 @@ >>> std::string current_float_; >>>

Re: [RFC] RefStepCounter for LyX

2009-11-17 Thread Andre Poenitz
On Tue, Nov 17, 2009 at 05:35:20PM -0500, rgheck wrote: > OK. I'll do that. > > Why is std::stack based on std::deque? std::stack is a container adapter, std::deque is just the default container. You could as well use std::stack > to base a stack on std::vector. _Why_ it is based on deque I don't

Re: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2009-11-24 Thread Andre Poenitz
On Tue, Nov 24, 2009 at 05:43:59PM +0100, Oscar Lopez wrote: > I am not familiar with maxima or mathematica, but I often use maple. > I have been always dreaming for a full integration of CAS into Lyx, but > I always thought that it could be really difficult and it requires lot > of effort. How

Re: CAS exposure in LyX (was Re: Importing Lyx files in SWP)

2009-11-25 Thread Andre Poenitz
On Tue, Nov 24, 2009 at 11:20:11PM +0100, Pavel Sanda wrote: > Liviu Andronic wrote: > > On 11/24/09, Pavel Sanda wrote: > > > Liviu Andronic wrote: > > > > On the documentation side, the Features [1] page could include > > > > something in the lines of: > > > > Math/science features > > > > >

Re: r32318 - in lyx-devel/trunk/src: . insets mathed

2009-12-04 Thread Andre Poenitz
On Fri, Dec 04, 2009 at 04:03:44AM +0100, rgh...@lyx.org wrote: > This is an abuse of updateLabels(), in a way, but updateLabels() long > ago became the general recurse-through-the-Buffer routine, and to > implement the sort of thing I want to do here in validate(), say, much > of the code in updat

Re: Approaching LyX 1.6.5 [status update #2]

2009-12-04 Thread Andre Poenitz
On Fri, Dec 04, 2009 at 03:54:52PM +0100, Pavel Sanda wrote: > > Anyway, I've never seen the angel with Sinterklaas indeed. We also don't > > regard the Zwarte Piet as a devil. For us, it's just the helper of > > Sinterklaas bringing presents and handing (throwing) candy to the > > children. At wor

Re: [patch] Spellchecker Bugs

2009-12-04 Thread Andre Poenitz
On Sat, Dec 05, 2009 at 02:25:52AM +0100, Vincent van Ravesteijn wrote: > This patch fixes a few things for spellchecking. > >> while (from.inMathed()) >> from.forwardInset(); > This caused LyX to skip parts of a document between two math insets: > >> +if (from == end) >> +

Re: Exporting in a separate thread

2009-12-05 Thread Andre Poenitz
On Sat, Dec 05, 2009 at 02:56:28PM -0500, Ben M. wrote: > [...] > I'd be happy to profile it if someone can explain how. Is the best > way to recompile with "-pg" and use gprof? I'd use valgrind --tool=callgrind and kcachegrind for visualization. Andre'

Re: lyx vim bindings

2009-12-07 Thread Andre Poenitz
On Sun, Dec 06, 2009 at 02:07:13PM -0500, sidg...@gmail.com wrote: > Hey, > > I'm trying to program vim bindings for lyx. I have a few questions - > > 1) Does there already exist such a project? Seems to be a hot topic that comes up every second year without any code ever being produced. > If n

Re: r32181 - lyx-devel/trunk/lib/ui

2009-12-07 Thread Andre Poenitz
On Mon, Dec 07, 2009 at 06:53:54PM +0100, Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > > > Log: > > > Add CAS into matht context menu, thanks to Liviu Andronic & Olivier > > > Ripoll. > > > Modified: > > >lyx-devel/trunk/lib/ui/stdcontext.inc > > > > 1.6.6? > > Is our CAS support ready f

Re: r32181 - lyx-devel/trunk/lib/ui

2009-12-08 Thread Andre Poenitz
On Tue, Dec 08, 2009 at 12:30:26AM +0100, Pavel Sanda wrote: > Andre Poenitz wrote: > > > Is our CAS support ready for prime time? > > > > Most certainly not. > > so we should kill it from trunk? Killing it would be overreacting as well. There is not much missing

Re: lyx vim bindings

2009-12-08 Thread Andre Poenitz
On Tue, Dec 08, 2009 at 03:00:27PM -0500, sidg...@gmail.com wrote: > > If I were to do it I'd start by copying > > src/plugins/fakevim/fakevimhandler.* from the Qt Creator sources. > > It's far from perfect, but save you typing the first 3000 lines of > > code. Not sure where to get the remaining 2

Re: Background LaTeX, Etc

2009-12-11 Thread Andre Poenitz
On Fri, Dec 11, 2009 at 03:24:53PM +0100, Jean-Marc Lasgouttes wrote: > Abdelrazak Younes writes: > >> One instance where .tex generation does cause a slowdown is with "View > >> Source" open. While editing a large document with "Complete Source" > >> checked, LyX can't keep up with my typing sp

Re: Background LaTeX, Etc

2009-12-11 Thread Andre Poenitz
On Fri, Dec 11, 2009 at 03:57:59PM +0100, Jean-Marc Lasgouttes wrote: > Abdelrazak Younes writes: > > Or maybe our handmade syntax highlighter... Disabling it will for sure > > make a difference. Also we ask the text edit to reload a big file at > > each keystroke while we merely paint the current

Re: r32643 - lyx-devel/trunk/src/mathed

2009-12-26 Thread Andre Poenitz
On Sat, Dec 26, 2009 at 04:05:44PM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Sat Dec 26 16:05:43 2009 > New Revision: 32643 > URL: http://www.lyx.org/trac/changeset/32643 > > Log: > Ignore this in MathML. > > Modified: >lyx-devel/trunk/src/mathed/InsetMathKern.h > > Modified: lyx

Re: [Patch] LyXErr into progress debug pane

2009-12-29 Thread Andre Poenitz
On Tue, Dec 29, 2009 at 08:06:19PM +0100, Pavel Sanda wrote: > > * use signal/slot > > * keep lyxerr where it is and subclass it with a version that handles debug > > window too. > > i tried to avoid this because i didn't want to pull any Q* headers into > support/debug. ... > > > > I do not re

Re: r32684 - in lyx-devel/trunk: development/HTML src/mathed

2009-12-31 Thread Andre Poenitz
On Thu, Dec 31, 2009 at 04:50:33AM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Thu Dec 31 04:50:12 2009 > New Revision: 32684 > URL: http://www.lyx.org/trac/changeset/32684 > > Log: > Introduce a return value for mathmlize(). We will need this to be able > to defer labels. I don't reall

Re: r32684 - in lyx-devel/trunk: development/HTML src/mathed

2009-12-31 Thread Andre Poenitz
On Thu, Dec 31, 2009 at 10:53:03AM -0500, rgheck wrote: > On 12/31/2009 05:09 AM, Andre Poenitz wrote: >> On Thu, Dec 31, 2009 at 04:50:33AM +0100, rgh...@lyx.org wrote: >> >>> Author: rgheck >>> Date: Thu Dec 31 04:50:12 2009 >>> New Revision: 32684

Re: r32697 - lyx-devel/trunk/src/mathed

2009-12-31 Thread Andre Poenitz
> > +// The fonts we want to support are listed in lib/symbols > +void InsetMathFont::mathmlize(MathStream & os) const > +{ > + // FIXME These are not quite right, because they do not nest > + // correctly. A proper fix would presumably involve tracking > + // the fonts already in eff

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

2010-01-02 Thread Andre Poenitz
On Fri, Jan 01, 2010 at 05:09:24PM +0100, Tommaso Cucinotta wrote: >>> GuiWorkArea * GuiView::workArea(Buffer & buffer) > on a related note, what is the "Buffer::gui_" field ? What is the > purpose of those "gui delegate" ? If I call "hasGuiDelegate()", is that > equivalent to checking that th

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

2010-01-05 Thread Andre Poenitz
On Tue, Jan 05, 2010 at 06:10:03PM +0100, Jean-Marc Lasgouttes wrote: > "Vincent van Ravesteijn - TNW" writes: > > So, why are we discussing it then .. Because we need it ? > > > > Isn't the use of cur.dispatched(), cur.undispatched(), > > cur.result().dispatched() basically a work-around for miss

Re: r32879 - lyx-devel/trunk/src/frontends/qt4

2010-01-08 Thread Andre Poenitz
On Fri, Jan 08, 2010 at 10:32:25AM +0100, tomm...@lyx.org wrote: > Author: tommaso > Date: Fri Jan 8 10:32:25 2010 > New Revision: 32879 > URL: http://www.lyx.org/trac/changeset/32879 > > Log: > Removed unneeded assert firing when closing LyX with F&R WA selected. > > Modified: >lyx-devel/tr

Re: r32879 - lyx-devel/trunk/src/frontends/qt4

2010-01-09 Thread Andre Poenitz
On Fri, Jan 08, 2010 at 08:40:57PM -0500, rgheck wrote: > On 01/08/2010 06:40 PM, Andre Poenitz wrote: >> On Fri, Jan 08, 2010 at 10:32:25AM +0100, tomm...@lyx.org wrote: >> >>> Author: tommaso >>> Date: Fri Jan 8 10:32:25 2010 >>> New Revisi

Re: r32879 - lyx-devel/trunk/src/frontends/qt4

2010-01-09 Thread Andre Poenitz
On Sat, Jan 09, 2010 at 10:27:25AM -0500, rgheck wrote: > On 01/09/2010 05:30 AM, Andre Poenitz wrote: >> On Fri, Jan 08, 2010 at 08:40:57PM -0500, rgheck wrote: >> >>> And maybe even explain WHY it might be 0, if that isn't clear. >>> >> i

Re: xml in lyx

2010-01-13 Thread Andre Poenitz
On Wed, Jan 13, 2010 at 06:36:09PM +, José Matos wrote: > Hi all, > > I would like to start working on the goal of having lyx with an xml file > format. > > Some of the issues we will have to tackle: > - what parser library to use? > + libxml2 > + boost variant Any reason not to u

Re: question regarding multicolumn table code

2010-01-17 Thread Andre Poenitz
On Sun, Jan 17, 2010 at 02:11:35AM +0100, Vincent van Ravesteijn wrote: >> for_each(pit, plist.end(), >> bind(&ParagraphList::push_back, ref(pl), _1)); > > don't bother. > > This is just like: > > for (pit = plist.begin(); pit != plist.end(); ++pit) >pl.push_back((*pit)) > > just copyi

Re: Trans-Siberian Railroad pictures - question

2010-01-18 Thread Andre Poenitz
On Mon, Jan 18, 2010 at 04:12:10PM +0100, Pavel Sanda wrote: > Edwin Leuven wrote: > > Yves Cornuz wrote: > >> please put us in your credit list with a link to our main > >> website: Ziegler & Partner GmbH link to : www.transsib.com. > > > > time to kill the banner... > > ok, which one would you l

Re: r33110 - in lyx-devel/trunk/src: . insets mathed

2010-01-20 Thread Andre Poenitz
On Wed, Jan 20, 2010 at 08:42:16PM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Wed Jan 20 20:42:12 2010 > New Revision: 33110 > URL: http://www.lyx.org/trac/changeset/33110 > > Log: > Get rid of some magic booleans in updateLabels() and related routines. Cool. Thanks! Andre'

Re: [patch] comparing pointers

2010-01-27 Thread Andre Poenitz
On Wed, Jan 27, 2010 at 11:55:57AM +0100, Enrico Forestieri wrote: > Jürgen, the attached patch for branch addresses the following warning: > > ../../../../src/frontends/qt4/LengthCombo.cpp: In member function `virtual > void LengthCombo::reset()': > ../../../../src/frontends/qt4/LengthCombo.cpp:

Re: r33232 - in lyx-devel/trunk: po src/frontends/qt4/ui

2010-01-27 Thread Andre Poenitz
On Wed, Jan 27, 2010 at 02:14:09PM +0100, Enrico Forestieri wrote: > On Wed, Jan 27, 2010 at 01:40:31PM +0100, Jürgen Spitzmüller wrote: > > tommaso wrote: > > > Avoid overlapping of shortcuts with Menu items (for English and Italian). > > > > Note that this clashes now with "Replace &All" in the

Re: binding arguments to an int?

2010-01-29 Thread Andre Poenitz
On Fri, Jan 29, 2010 at 10:44:03PM +0100, Peter Kümmel wrote: > When enabling the merged build (using cmake) > which essentially is a build of each lib as > one file, I get often compiler errors which > are mostly due to multiple defined symbols. > > But now it looks very strange to me in > soc

Re: XML?

2010-01-29 Thread Andre Poenitz
On Fri, Jan 29, 2010 at 08:41:52PM -0500, John Levon wrote: > On Fri, Jan 29, 2010 at 11:18:02PM +0100, Peter Kümmel wrote: > > > Again, maybe I'm too late, but: > > Is a switch to XML is really a good idea? > > XML is everywhere. That simple. A lot of stuff that is "everywhere" is not a good id

Re: binding arguments to an int?

2010-01-30 Thread Andre Poenitz
On Sat, Jan 30, 2010 at 12:14:50PM +0100, Peter Kümmel wrote: > Am Samstag, den 30.01.2010, 01:54 +0100 schrieb Andre Poenitz: > > On Fri, Jan 29, 2010 at 10:44:03PM +0100, Peter Kümmel wrote: > > > When enabling the merged build (using cmake) > > > which essentiall

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

2010-01-31 Thread Andre Poenitz
On Sat, Jan 30, 2010 at 06:22:28PM +0100, Vincent van Ravesteijn wrote: > >> Author: lasgouttes >> Date: Fri Jan 29 11:42:39 2010 >> New Revision: 33258 >> URL: http://www.lyx.org/trac/changeset/33258 >> >> Log: >> add a dispatchresult parameter to lyxview::dispatch >> > > > How do we proceed no

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

2010-01-31 Thread Andre Poenitz
On Sun, Jan 31, 2010 at 02:40:56PM +0100, Pavel Sanda wrote: > Andre Poenitz wrote: > > I think it's time to use signal/slots, this time in the right direction. > > The buffer emits a message, possibly with an indication that it is > > temporarily and the view (or the

Re: r33308 - lyx-devel/trunk/src/frontends/qt4

2010-02-01 Thread Andre Poenitz
On Mon, Feb 01, 2010 at 07:00:48AM +0100, kor...@lyx.org wrote: > Author: kornel > Date: Mon Feb 1 07:00:46 2010 > New Revision: 33308 > URL: http://www.lyx.org/trac/changeset/33308 > > Log: > Make it compilable for QT4.3. (/usr/include/QtGui/qtreeview.h:51: error: > forward declaration of ‘stru

Re: r33308 - lyx-devel/trunk/src/frontends/qt4

2010-02-01 Thread Andre Poenitz
On Mon, Feb 01, 2010 at 07:06:22PM +0100, Andre Poenitz wrote: > [...] > pulls in all Gui headers. Note to self: Always read all mails before starting to answer. Andre'

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

2010-02-02 Thread Andre Poenitz
On Tue, Feb 02, 2010 at 02:53:58PM +0100, Peter Kümmel wrote: > Am Sonntag, den 31.01.2010, 14:29 +0100 schrieb Andre Poenitz: > > > How do we proceed now ? > > > > I think it's time to use signal/slots, this time in the right direction. > > The buffer emits a m

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

2010-02-03 Thread Andre Poenitz
On Wed, Feb 03, 2010 at 06:27:06PM +0100, Peter Kümmel wrote: > Peter Kümmel wrote: > > Peter Kümmel wrote: > >> Originally it was the Model-View-Controller pattern, so isn't a > >> controller the perfect candidate for the central dispatcher? > >> > > > > Wouldn't it be best to completely unlink t

  1   2   3   4   5   6   7   8   9   10   >