Re: [patch] allow to assign several extensions to a file format

2011-09-07 Thread Andre Poenitz
On Wed, Sep 07, 2011 at 11:06:04AM -0400, Richard Heck wrote: > >-std::string const & extension() const { return extension_; } > >+std::string const & extension() const { return extension_list_[0]; } > > > >and extension_list_[0] would be an invalid address otherwise. > > > return extension

Re: Preventing newline after a LatexType = Command line

2011-06-22 Thread Andre Poenitz
On Wed, Jun 22, 2011 at 08:47:08AM -0400, Richard Heck wrote: > At the very end of Text::getStatus(), we have: > > if (code != NO_CODE > && (cur.empty() > || !cur.inset().insetAllowed(code) > || cur.paragraph().layout().pass_thru)) > enable = false; > > This obviously disables

Re: lyx math autocorrection

2011-06-20 Thread Andre Poenitz
On Mon, Jun 20, 2011 at 08:21:03PM +0300, Martin Vermeer wrote: > > We'd have to look at mailing list discussions around this date to > > understand whether this was fixing a real need or just being overly > > cautious. André, do you remember about it? > > > > JMarc > > (Overly?) cautious, I thin

Re: epstopdf fails with 2.0.1svn

2011-06-15 Thread Andre Poenitz
On Wed, Jun 15, 2011 at 12:29:00AM +0200, Enrico Forestieri wrote: > On Tue, Jun 14, 2011 at 08:58:08PM +0200, Andre Poenitz wrote: > > On Tue, Jun 14, 2011 at 08:16:49PM +0200, Enrico Forestieri wrote: > > > No, I didn't find anything specific but it is clear that using t

Re: r38997 - lyx-devel/trunk

2011-06-08 Thread Andre Poenitz
On Thu, Jun 09, 2011 at 01:00:28AM +0200, kor...@lyx.org wrote: > Date: Thu Jun 9 01:00:28 2011 > New Revision: 38997 > URL: http://www.lyx.org/trac/changeset/38997 > > Log: > Use decimal representation of QT_VERSION for moc-run in cmake build to match > the qglobal.h computation > > Modified:

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

2011-06-08 Thread Andre Poenitz
On Tue, Jun 07, 2011 at 03:06:30PM +0200, Enrico Forestieri wrote: > On Tue, Jun 07, 2011 at 02:43:47PM +0200, Jean-Marc Lasgouttes wrote: > > > How portable is this in your opinion? > > It assumes a bourne compatible shell, but that assumption is made > in so many places that I think it's very s

Re: Qt books

2011-06-07 Thread Andre Poenitz
On Mon, Jun 06, 2011 at 03:18:01PM -0700, Xu Wang wrote: > Hi, I would like to learn Qt. I learn much better from physical books than > online resources, although I've heard the Qt manual is very good. > > Does anyone have suggestions for me? Your question is a bit off-topic here. Try qt-inter...

Re: Lyx 2.0.0 OSX Coca version cursor problems (was OSX crashes)

2011-06-07 Thread Andre Poenitz
On Mon, Jun 06, 2011 at 09:02:08PM +0200, Stephan Witt wrote: > Am 06.06.2011 um 17:54 schrieb Murat Yildizoglu: > > > Just to refresh this thread, I have reinstalled the standard Lyx 2 > > OSX build and the cursor problem has been corrected. So it seems > > that this problem comes from the Cocoa

Re: Too much options in LyX

2011-05-17 Thread Andre Poenitz
On Tue, May 17, 2011 at 08:11:29AM +0200, Peter Kümmel wrote: > On 16.05.2011 23:54, venom00 wrote: > >Vincent or someone else, can you tell me if it's OK to include a pair > >of files directly from the Qt Creator code? Just a quick reply so I > >can go on with the patch. > > Isn't QtCreator LGPL

Re: LyX console warnings in LyX 2.0.0

2011-05-15 Thread Andre Poenitz
On Sun, May 15, 2011 at 06:59:38PM +0200, Vincent van Ravesteijn wrote: > On Sun, May 15, 2011 at 6:53 PM, Uwe Stöhr wrote: > > > With LyX 2.0.0 > > - open the Tutorial > > - insert there a new table > > - set the cursor into the new table > > > > In the LyX console window I then get these messag

Re: r38620 - www-user/trunk/misc/archaeology

2011-05-14 Thread Andre Poenitz
On Sun, May 08, 2011 at 05:36:24PM +0200, Kornel wrote: > > > Lars only until 1.1.3 Lars for devel and JMarc for stable starting > > > with 1.1.4fix1 > > > > till 0.10 (~1996) announce is always from D.L. Johnson, with lines > > author:Matthias, Maintenance: DL Johnson. 0.12 (~1998) announce is >

Re: Directory cleanup

2011-05-12 Thread Andre Poenitz
On Thu, May 12, 2011 at 05:53:28AM +0200, Peter Kümmel wrote: > On 11.05.2011 20:19, Pavel Sanda wrote: > >Abdelrazak Younes wrote: > >>Side notes: > >>1: we should really get rid of boost source. > >>2: we should really get rid of boost using code > > > >whats your solution the problems with tr1::

Re: Scripting vs plugins

2011-05-06 Thread Andre Poenitz
On Fri, May 06, 2011 at 07:33:35PM +, Guenter Milde wrote: > On 2011-05-06, venom00 wrote: > >> >> Lua > >> >>+ small and fast, > >> >>+ used in LuaTeX, so it will become more common and known in the > >> >> TeX community, > >> >>+ a Lua interpreter can be embedded in LyX with

Re: Development of a development model

2011-05-05 Thread Andre Poenitz
On Thu, May 05, 2011 at 11:24:13PM +0200, Peter Kümmel wrote: > > [..] > >That's not a joke, it's not made up. I am honestly not aware > >of any single operation, not even artificial scenarios, where > >git performs worse than svn. > > Maybe this one: > > time svn co svn://svn.lyx.org/lyx/lyx-dev

Re: Goals for 2.1

2011-05-04 Thread Andre Poenitz
On Wed, May 04, 2011 at 07:45:44PM +0200, Peter Kümmel wrote: > On 04.05.2011 14:26, Abdelrazak Younes wrote: > >On 04/05/2011 00:50, Vincent van Ravesteijn wrote: > >>Hi everyone, > >>As a typical start of a new release cycle I want to poll > >>- what features are a must in the next release; > > >

Re: SVN mirror of git

2011-05-04 Thread Andre Poenitz
On Wed, May 04, 2011 at 09:45:04AM -0600, Rob Oakes wrote: > With all that said, I did have a question regarding our existing > infrastructure. Whatever model we end up settling on, would it be > possible to mirror the git master branch to SVN? (Basically the same > thing we do for the git users,

Re: Goals for 2.1

2011-05-04 Thread Andre Poenitz
On Wed, May 04, 2011 at 05:27:36PM +0200, Tommaso Cucinotta wrote: > Il 04/05/2011 17:16, Rob Oakes ha scritto: > > > >>Software bloat is a term used to describe the tendency of newer computer > >>programs to have a larger installation footprint, or have many unnecessary > >>features that are not u

Re: Development of a development model

2011-05-04 Thread Andre Poenitz
On Wed, May 04, 2011 at 04:16:13PM +0200, Vincent van Ravesteijn wrote: > On Wed, May 4, 2011 at 2:13 PM, Pavel Sanda wrote: > > > Andre Poenitz wrote: > > > Close to the current svn model, but allow people to use branches for > > > non-trivial feature sets if they

Re: 80 chars rule (was: Too much options in LyX)

2011-05-04 Thread Andre Poenitz
On Wed, May 04, 2011 at 12:43:05PM +0200, Pavel Sanda wrote: > Vincent van Ravesteijn wrote: > > > anyone around strongly against 100-char wide rule? > > > > YES, me ! > > hmm, i should also count caps lock and exclamation marks when doing > next emoticons statistics... :) > > > "Normal Code" pl

Re: Development of a development model

2011-05-03 Thread Andre Poenitz
On Wed, May 04, 2011 at 01:00:16AM +0200, Vincent van Ravesteijn wrote: > Hi all, > > I think that there is a large enough support for the new development model > and/or introduction of git to think about how to make things more concrete. > > I'm aware there might be some learning curve for devel

Re: Development for LyX 2.1

2011-05-03 Thread Andre Poenitz
On Tue, May 03, 2011 at 10:10:40PM +0200, Tommaso Cucinotta wrote: > Il 03/05/2011 16:03, Richard Heck ha scritto: > >On 05/03/2011 09:25 AM, Abdelrazak Younes wrote: > >>On 03/05/2011 10:20, Edwin Leuven wrote: > >>>so let's decide to move to git (we loose nothing and gain some), > > Probably uni

Re: 80 chars rule (was: Too much options in LyX)

2011-05-03 Thread Andre Poenitz
On Tue, May 03, 2011 at 09:43:40PM +0200, venom00 wrote: > We need a limit, 100 is perfect IMSO [1]. > > venom00 (is sure someone here is still developing on terminal) Terminal or not (which I do use around 50% of the time) is not the full picture, as one can have split editors in some IDEs, too

Re: 80 chars rule (was: Too much options in LyX)

2011-05-03 Thread Andre Poenitz
On Tue, May 03, 2011 at 08:43:07PM +0200, Pavel Sanda wrote: > José Matos wrote: > > There are several reasons associated, we should avoid to nest too much our > > code, if we have a 5 nested levels it becomes increasingly difficult to > > read > > the code. > > i didnt want to use 5 nested lev

Re: 80 chars rule (was: Too much options in LyX)

2011-05-03 Thread Andre Poenitz
On Tue, May 03, 2011 at 07:23:50PM +0200, Pavel Sanda wrote: > venom00 wrote: > > > The patch looks pretty good now, so I'll put it in my testing tree. > > > > I'm not completely sure of the red highlighting. Red is a color for errors, > > I'll > > try green, yellow and maybe bold. > > Moreover I

Re: Development for LyX 2.1

2011-05-02 Thread Andre Poenitz
On Mon, May 02, 2011 at 09:04:58AM +, Guenter Milde wrote: > Do I undestand right, that with Git it would be possible to do this > corrections/adjustments without spoiling the history -- also if no > branches are used? As long as the commits are held locally, you can reorder/merge/split them a

Re: Development for LyX 2.1

2011-05-02 Thread Andre Poenitz
On Mon, May 02, 2011 at 08:46:49AM +0200, Vincent van Ravesteijn wrote: > On 2-5-2011 3:15, Andre Poenitz wrote: > > On Mon, May 02, 2011 at 12:58:59AM +0200, Pavel Sanda wrote: > >> [...] > >> my fear is also that while the extensive branch usage is superior from > &

Re: Development for LyX 2.1

2011-05-01 Thread Andre Poenitz
On Mon, May 02, 2011 at 12:58:59AM +0200, Pavel Sanda wrote: > [...] > my fear is also that while the extensive branch usage is superior from > the geeky point of view, its hindrance for people not so technically > skilled. do we want only geeks to be around? > [...] Very good point. I don't think

Re: Goals and Milestones for LyX3.0

2011-05-01 Thread Andre Poenitz
On Mon, May 02, 2011 at 12:58:53AM +0200, Pavel Sanda wrote: > Peter Kümmel wrote: > >> - Less noise in commits: a new feature in SVN sometimes comprises over 20 > >> commits in > .. > > The commits are the beats of LyX's development heart, so why kill them. > > there is actually something on this

Re: Some stats for 2.0 development

2011-05-01 Thread Andre Poenitz
On Sat, Apr 30, 2011 at 02:41:55PM +0200, Pavel Sanda wrote: > hi all, > > some stats for 2.0 development. > (you will need mail client with fixed chars & proper tabs handling). > > * commit activity: > > Trunk 2.0: ... > > ... > [...] > ... 38 ... > ... *gosh* This makes the release look

Re: Too much options in LyX

2011-04-28 Thread Andre Poenitz
Hi. On Wed, Apr 27, 2011 at 02:07:55PM +0200, venom00 wrote: > > +void GuiDocument::hideView() { > > + Dialog::hideView(); > > + // Reset the search box > > + this->docPS->resetSearch(); > > +} Style nits: { on a separate line for the function body, and this-> seems superfluous. > > + /

Re: Development for LyX 2.1

2011-04-28 Thread Andre Poenitz
On Thu, Apr 28, 2011 at 04:31:08PM +0200, Tommaso Cucinotta wrote: > Il 26/04/2011 20:14, Julien Rioux ha scritto: > >I don't feel the need to move to git. At all. > > I'm seeing 2 discussions merged, in this thread: > 1) what development model to use (how many branches, what & how > often to comm

Re: A basic requested feature

2011-04-17 Thread Andre Poenitz
On Fri, Apr 15, 2011 at 01:16:50AM +0200, Pavel Sanda wrote: > let me guess, you still develop creator under vim and gdb ;) For debugging I am really eating my own dog food. Editing is by now about 50/50 real vim/fakevim, mostly depending on whether I expect a lot of navigation, tendency falling.

Re: #7394, Crash in reverse serach

2011-04-14 Thread Andre Poenitz
On Fri, Apr 15, 2011 at 12:09:30AM +0200, Peter Kuemmel wrote: > > Original-Nachricht > > Datum: Thu, 14 Apr 2011 23:58:57 +0200 > > Von: Enrico Forestieri > > An: lyx-devel@lists.lyx.org > > Betreff: Re: #7394, Crash in reverse serach > > > On Thu, Apr 14, 2011 at 09:53:46PM +

Re: A basic requested feature

2011-04-14 Thread Andre Poenitz
On Thu, Apr 14, 2011 at 05:28:05PM +0200, Pavel Sanda wrote: > Richard Heck wrote: > > On 04/14/2011 08:36 AM, venom00 wrote: > >> > >> Suggestion: use Qt Creator. I think it's the best solution. > >> > > That's what I use, though under Linux, and it is very good indeed. > > and Andre will get dru

Re: compiler warnings in trunk

2011-04-10 Thread Andre Poenitz
On Sun, Apr 10, 2011 at 10:31:47AM -0400, Richard Heck wrote: > On 04/09/2011 06:46 PM, Julien Rioux wrote: > >I always saw those two warnings (paraphrased): > >Lexer.cpp:197 may be used uninitialized void Lexer::Pimpl::verifyTable() { // [...] if (table <- this line?

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-23 Thread Andre Poenitz
On Wed, Mar 23, 2011 at 09:50:25PM +0100, Georg Baum wrote: > BTW do we have any german speaking mathematician on the list who knows > how we should deal with the missing 'Satz' theorem (see > http://www.lyx.org/trac/ticket/7340)? Depends a bit on what the actual problem is. Usually I'd associat

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

2011-03-18 Thread Andre Poenitz
On Fri, Mar 18, 2011 at 09:45:32AM +0100, Jean-Marc Lasgouttes wrote: > Le 18/03/2011 02:28, rgh...@lyx.org a écrit : > > availableLV->installEventFilter(this); > > selectedLV->installEventFilter(this); > >+selectedHasFocus_ = false; > > } > > Thanks. Note that, since this is a constr

Re: Conversion Error

2011-03-16 Thread Andre Poenitz
On Wed, Mar 16, 2011 at 08:06:10PM +0100, Kornel wrote: > Am Mittwoch, 16. März 2011 schrieb Rob Oakes: > > > What conversion is supposed to be happening in this case? Do you get any > > > information on the terminal? > > > > Unfortunately, I haven't got a clue. I'm getting some very strange outpu

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

2011-03-15 Thread Andre Poenitz
On Tue, Mar 15, 2011 at 05:55:16PM +0100, Jürgen Spitzmüller wrote: > Vincent van Ravesteijn wrote: > > Usually the IDE has a pretty easy way of navigating to the declaration > > of a function. > > I guess our coding workflow just differs. It is well possible that mine is > blatantly amateurish.

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

2011-03-15 Thread Andre Poenitz
On Tue, Mar 15, 2011 at 05:28:05PM +0100, Jürgen Spitzmüller wrote: > All right, but for sure we want to have some documentation in the header > files. Having the documentation in the header is a pretty good way to make sure it does not get updated. Nobody corrects minor issues in Inset.h as this

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

2011-03-05 Thread Andre Poenitz
On Sat, Mar 05, 2011 at 02:45:39PM +0100, kuem...@lyx.org wrote: > Author: kuemmel > Date: Sat Mar 5 14:45:39 2011 > New Revision: 37859 > URL: http://www.lyx.org/trac/changeset/37859 > > Log: > compile. TODO: review default parameter for replace_all > > Modified: >lyx-devel/trunk/src/fronte

Re: tabular*

2011-02-04 Thread Andre Poenitz
On Fri, Feb 04, 2011 at 11:27:22AM +0100, Enrico Forestieri wrote: > On Fri, Feb 04, 2011 at 11:18:22AM +0100, Edwin Leuven wrote: > > Enrico Forestieri wrote: > > > While you are at it, wouldn't it be better renaming widthED as > > > columnWidthED, in order to avoid confusion, and tabularWidthL >

Re: Global list-getters return a copy: example theConverters()

2011-01-20 Thread Andre Poenitz
On Thu, Jan 20, 2011 at 09:11:52AM -0500, Richard Heck wrote: > On 01/20/2011 12:34 AM, Andre Poenitz wrote: > >On Thu, Jan 20, 2011 at 06:00:27AM +0100, Peter Kümmel wrote: > >>Rich, you know the Graph code much better than me. Is it possible to have > >>real const fun

Re: Global list-getters return a copy: example theConverters()

2011-01-19 Thread Andre Poenitz
On Thu, Jan 20, 2011 at 06:00:27AM +0100, Peter Kümmel wrote: > Rich, you know the Graph code much better than me. Is it possible to have > real const functions to get pathes, or it is necessary to always set > the visited flag in vertices_. Couldn't the calculation be done in one > function call w

Re: r37245 - in lyx-devel/trunk: . config

2011-01-18 Thread Andre Poenitz
On Tue, Jan 18, 2011 at 10:57:04AM +0100, lasgout...@lyx.org wrote: > Author: lasgouttes > Date: Tue Jan 18 10:57:03 2011 > New Revision: 37245 > URL: http://www.lyx.org/trac/changeset/37245 > > Log: > Rename --enable-profiling to --enable-gprof to pave the way for a configure > option for normal

Re: Font spacing issue again

2011-01-15 Thread Andre Poenitz
On Sat, Jan 15, 2011 at 11:35:14AM +0100, Jean-Marc Lasgouttes wrote: > Le 13 janv. 2011 à 18:44, Andre Poenitz a écrit : > >> 1) compute the metrics 8 times for a word of 8 letters 2) draw > >> letter by letter all the times. 3) or rely on more on Qt widgets > >> (

Re: Font spacing issue again

2011-01-14 Thread Andre Poenitz
On Thu, Jan 13, 2011 at 09:07:46AM +0100, Abdelrazak Younes wrote: > On 01/13/2011 08:48 AM, Pavel Sanda wrote: > >Stephan Witt wrote: > >>The metrics cache computes the width of every single character - > >>inclusive cacheing of it (to get better performance). But the > >>drawing is done with comp

Re: r36789 - in lyx-devel/trunk/src: . insets

2010-12-09 Thread Andre Poenitz
On Thu, Dec 09, 2010 at 06:55:11PM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Thu Dec 9 18:55:11 2010 > New Revision: 36789 > URL: http://www.lyx.org/trac/changeset/36789 > > Log: > Remove support for viewing URLs from hyperlinks. This is a security > risk, due to our lack of control o

Re: r36663 - lyx-devel/trunk/src

2010-12-03 Thread Andre Poenitz
On Fri, Dec 03, 2010 at 08:58:32PM +0100, Pavel Sanda wrote: > Andre Poenitz wrote: > > Even some big guns were claiming for a while that deque is > > uniformly better > > could you be more explicit about the source? sutter? Yes, I believe so. Andre'

Re: r36663 - lyx-devel/trunk/src

2010-12-03 Thread Andre Poenitz
On Thu, Dec 02, 2010 at 05:09:48PM -0500, Richard Heck wrote: > On 12/02/2010 04:54 PM, Vincent van Ravesteijn wrote: > >>I read somewhere that stacks are best implemented as deques. Don't ask me > >>why now, > >>but I think they are slightly cheaper. (I'm sure Andre would have a view > >>about thi

Re: PATCH for ticket 7026

2010-12-03 Thread Andre Poenitz
On Fri, Dec 03, 2010 at 07:33:58AM +0100, Stephan Witt wrote: > Am 03.12.2010 um 04:36 schrieb Enrico Forestieri: > > > On Fri, Dec 03, 2010 at 12:44:57AM +0100, Pavel Sanda wrote: > > > >> Stephan Witt wrote: > >>> There is a patch pending from Georg. > >>> I present it here again and propose to

Re: r36354 - in lyx-devel/trunk/src: frontends/qt4 support

2010-11-17 Thread Andre Poenitz
On Wed, Nov 17, 2010 at 11:00:42PM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Wed Nov 17 23:00:42 2010 > New Revision: 36354 > URL: http://www.lyx.org/trac/changeset/36354 > > Log: > We don't generally use "static" this way in the LyX code any more. (Just > a bit of cleanup while studyi

Re: [patch] Single Instance LyX

2010-11-10 Thread Andre Poenitz
On Wed, Nov 10, 2010 at 03:10:07PM -0500, Richard Heck wrote: > On 11/10/2010 02:17 PM, Vincent van Ravesteijn wrote: > > Op 10-11-2010 20:13, Enrico Forestieri schreef: > >>On Wed, Nov 10, 2010 at 06:14:53PM +0100, Vincent van Ravesteijn wrote: > >>>- We then depend on QtNetwork.dll/lib > >>YA de

Re: r36092 - lyx-devel/trunk/lib/lyx2lyx

2010-11-04 Thread Andre Poenitz
On Thu, Nov 04, 2010 at 10:40:02PM +0100, rgh...@lyx.org wrote: > Author: rgheck > Date: Thu Nov 4 22:40:01 2010 > New Revision: 36092 > URL: http://www.lyx.org/trac/changeset/36092 > > Log: > Typos? Thinkos? > > Modified: >lyx-devel/trunk/lib/lyx2lyx/lyx_2_0.py > > Modified: lyx-devel/trun

Re: r35995 - lyx-devel/trunk/src

2010-11-02 Thread Andre Poenitz
On Tue, Nov 02, 2010 at 03:53:56PM +0100, Pavel Sanda wrote: > rgh...@lyx.org wrote: > > Author: rgheck > > Date: Tue Nov 2 15:50:07 2010 > > New Revision: 35995 > > URL: http://www.lyx.org/trac/changeset/35995 > > > > Log: > > Make sure that the members of this enum get the same value on every >

Re: Inset handling question

2010-10-29 Thread Andre Poenitz
On Fri, Oct 29, 2010 at 03:23:52AM +0200, Uwe Stöhr wrote: > Thanks, I used this for the fix: http://www.lyx.org/trac/changeset/35894 > > One last question: How do I explicitly specify that the "0" in my > patch is a pointer? 0 (and any integral constant expression that evaluates to zero such as

Re: Git repos on Gitorious

2010-10-27 Thread Andre Poenitz
On Wed, Oct 27, 2010 at 05:13:20PM +0200, Vincent van Ravesteijn wrote: > > I disagree here, we should move to gitorious altogether. Keeping an > > automatic svn update requires time (and cpu) and this time is better spent > > on development IMO. This way the periodical problems we have with the sv

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

2010-10-27 Thread Andre Poenitz
On Wed, Oct 27, 2010 at 06:34:22AM +0200, Vincent van Ravesteijn wrote: > >> I did something like this for Buffer::loadLyxFile(). Where would you > >> advice to put the UI then ? I can now spit out a lot of error messages > >> according to the number the functions comes up with. In Buffer ? In > >>

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

2010-10-25 Thread Andre Poenitz
On Mon, Oct 25, 2010 at 07:43:54PM +0200, Vincent van Ravesteijn wrote: > > The only safe way to use them is when you control not only "sender" and > > "receiver" but also all the code paths inbetween - i.e. basically only > > within the same function or at least not from a deeply nested function.

Re: iPad?

2010-10-25 Thread Andre Poenitz
On Mon, Oct 25, 2010 at 03:49:33PM +0200, Abdelrazak Younes wrote: > Well, most of the controller code was useless indirection and > complication (most of the controller code was necessitating almost > the same amount of code in the gui implementation). So I am ready to > bet that, at feature equal

Re: iPad?

2010-10-25 Thread Andre Poenitz
On Mon, Oct 25, 2010 at 07:51:04AM -0400, Richard Heck wrote: > I could be wrong, but I think we now have much more application > logic in the Gui* classes then we did before the removal of all the > Controller* classes. Perhaps alot of that could just be copied over, > but it is still more work.

Re: Change Tracking and Versioning (#6058) was Re: more on collaboration

2010-10-25 Thread Andre Poenitz
On Sun, Oct 24, 2010 at 11:01:53PM +0200, Vincent van Ravesteijn wrote: > > I took a look and this looks good so far and a bit simpler than what I > > thought would be necessary but I haven't tried to test it yet. > > > > Please test if you have time. It was a long time ago for me too that I > wor

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

2010-10-20 Thread Andre Poenitz
On Wed, Oct 20, 2010 at 10:37:29AM +0200, Andre Poenitz wrote: > On Wed, Oct 20, 2010 at 03:54:03AM +0200, Peter Kümmel wrote: > > > > > I think what's happening is this. If you export pdf (say) without there > > > already being a pdf file there, then ev

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

2010-10-20 Thread Andre Poenitz
On Wed, Oct 20, 2010 at 03:54:03AM +0200, Peter Kümmel wrote: > > > I think what's happening is this. If you export pdf (say) without there > > already being a pdf file there, then everything is fine. But if the pdf > > file exists, then LyX will try to ask the user whether to overwrite. > > T

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

2010-10-19 Thread Andre Poenitz
On Tue, Oct 19, 2010 at 10:55:35AM -0400, Richard Heck wrote: > We had this discussion recently, when I introduced an exception in > math processing. There are real downsides to this of a return value. > Granted, C++ provides less support for the use of "normal" > exceptions than Java or Python doe

Re: split(string, delim) for TeX?

2010-10-01 Thread Andre Poenitz
On Thu, Sep 30, 2010 at 05:06:40PM -0400, Richard Heck wrote: > > Does anyone have a good method for splitting a string on ":", > specifically, in TeX/LaTeX? I've written one, but it's not pretty. For some strange reason TeX code never looks pretty. Something like \def\firstbithelper#1:#2\end{#

Re: Compiling on Mac OS X using Qt/Mac Framework (libraries 4.7)

2010-09-30 Thread Andre Poenitz
On Wed, Sep 29, 2010 at 08:09:25PM +0200, Stephan Witt wrote: > Am 29.09.2010 um 19:50 schrieb Andre Poenitz: > > > On Wed, Sep 29, 2010 at 01:24:52PM +0200, Stephan Witt wrote: > >> Am 29.09.2010 um 12:11 schrieb Jean-Marc Lasgouttes: > >>> The 'nice' w

Re: Compiling on Mac OS X using Qt/Mac Framework (libraries 4.7)

2010-09-29 Thread Andre Poenitz
On Wed, Sep 29, 2010 at 01:24:52PM +0200, Stephan Witt wrote: > Am 29.09.2010 um 12:11 schrieb Jean-Marc Lasgouttes: > > The 'nice' way should be to have a proper .pc file (for pkg-config) in the > > nokia distribution. Is it here? > > I don't think so. Where would you search it? an...@millo:~ >

Re: r35532 - lyx-devel/trunk/src

2010-09-29 Thread Andre Poenitz
On Wed, Sep 29, 2010 at 02:19:24PM +0200, rgh...@lyx.org wrote: > Author: rgheck > Date: Wed Sep 29 14:19:23 2010 > New Revision: 35532 > URL: http://www.lyx.org/trac/changeset/35532 > > Log: > This doesn't need to be a vector. Should be no change of behavior. > > Modified: >lyx-devel/trunk/s

Re: r35452 - lyx-devel/trunk/src/support

2010-09-20 Thread Andre Poenitz
On Sun, Sep 19, 2010 at 11:29:09PM +0200, sa...@lyx.org wrote: > Author: sanda > Date: Sun Sep 19 23:29:09 2010 > New Revision: 35452 > URL: http://www.lyx.org/trac/changeset/35452 > > Log: > PATH_MAX is not guaranteed by POSIX (fixes bug #6906). > Patch from Samuel Thibault. > > Modified: >l

Re: [patch] support for customizable horizontal lines

2010-09-14 Thread Andre Poenitz
On Tue, Sep 14, 2010 at 04:30:58AM +0200, Uwe Stöhr wrote: > Am 13.09.2010 08:58, schrieb Abdelrazak Younes: > > >You forgot the attachement... > > Sorry. > In the meantime I found a solution - ugly but does exactly what I want. > This is my problem: > > In line 433 of TextMetrics.cpp the text w

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

2010-07-19 Thread Andre Poenitz
On Mon, Jul 19, 2010 at 09:35:00PM +0200, Pavel Sanda wrote: > Andre Poenitz wrote: > > > Modified: lyx-devel/trunk/src/mathed/InsetMathHull.cpp > > > == > > > --- lyx-devel/trunk/src/mathed

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

2010-07-19 Thread Andre Poenitz
On Sat, Jul 17, 2010 at 11:53:30AM +0200, sa...@lyx.org wrote: > Author: sanda > Date: Sat Jul 17 11:53:29 2010 > New Revision: 34925 > URL: http://www.lyx.org/trac/changeset/34925 > > Log: > comment > > Modified: >lyx-devel/trunk/src/mathed/InsetMathHull.cpp > > Modified: lyx-devel/trunk/sr

Re: Using Qt Constructs in Core

2010-06-29 Thread Andre Poenitz
On Tue, Jun 29, 2010 at 10:42:36AM -0400, Richard Heck wrote: > > >Thanks for the pointers. Sorry for not providing more context about > >what I am trying to accomplish. The addition of a vector into the > >TocItem class was to give me a place to store other insets that might > >also be present

Re: Using Qt Constructs in Core

2010-06-29 Thread Andre Poenitz
On Tue, Jun 29, 2010 at 09:11:26AM -0400, Richard Heck wrote: > On 06/29/2010 08:05 AM, Abdelrazak Younes wrote: > >On 06/29/2010 01:46 PM, Pavel Sanda wrote: > >>Andre Poenitz wrote: > >>>One could argue that it allows the kind of code that's conceptionally &

Re: Using Qt Constructs in Core

2010-06-28 Thread Andre Poenitz
On Mon, Jun 28, 2010 at 05:42:11PM -0400, Richard Heck wrote: > On 06/28/2010 03:30 PM, Andre Poenitz wrote: > >On Mon, Jun 28, 2010 at 12:47:50PM -0400, Richard Heck wrote: > >> > >>I think it remains LyX policy not to use Qt in the core. This is not > >>necess

Re: Using Qt Constructs in Core

2010-06-28 Thread Andre Poenitz
On Mon, Jun 28, 2010 at 12:47:50PM -0400, Richard Heck wrote: > On 06/28/2010 12:28 PM, Rob Oakes wrote: > >Dear LyX-Developers, > > > >I have spent most of the morning trying to resolve a compiler warning > >involving std::vector. After soliciting advice from a couple of > >different people, it s

Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Andre Poenitz
On Mon, Jun 14, 2010 at 09:12:51AM +0200, Vincent van Ravesteijn wrote: > > * Conceptually what is an anchor in a Cursor? > > The anchor is the starting point of a selection. If you have selected > the word "hello" starting from the 'h' to the 'o', the anchor is > positioned at 'h' and the cursor

Re: XML format status

2010-06-08 Thread Andre Poenitz
On Tue, Jun 08, 2010 at 04:29:21PM +0200, Abdelrazak Younes wrote: > On 06/08/2010 03:27 PM, Vincent van Ravesteijn wrote: > >>What is the current status or thinking of the XML format for lyx 2? > >> > >Ideally, LyX 2 would have an XML file format. However, no-one is > >actively working on the issu

Re: Helping out

2010-06-07 Thread Andre Poenitz
On Mon, Jun 07, 2010 at 10:29:56PM +0200, Peter Kümmel wrote: > Am Montag, den 07.06.2010, 21:42 +0200 schrieb Peter Kümmel: > > Am Montag, den 07.06.2010, 12:37 -0600 schrieb Rob Oakes: > > > I've been using QPlainTextEdit as a test widget for the > > > outliner/corkboard extensions, and I've bee

Re: Helping out

2010-06-07 Thread Andre Poenitz
On Fri, Jun 04, 2010 at 07:58:13AM +0200, Peter Kümmel wrote: > Am Sonntag, den 30.05.2010, 19:56 +0300 schrieb Amir Rachum: > > Hi guys, > > I just downloaded the LyX code base and I would like to help you > > people with one of the most useful pieces software I ever had. > > However, I am not sur

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

2010-06-07 Thread Andre Poenitz
On Fri, Jun 04, 2010 at 03:24:04PM +0200, v...@lyx.org wrote: > Author: vfr > Date: Fri Jun 4 15:24:03 2010 > New Revision: 34590 > URL: http://www.lyx.org/trac/changeset/34590 > > Log: > Fix bug #6606: Crash when reverting a document with a not available document > class. > > If the document c

Re: Branch frozen

2010-05-18 Thread Andre Poenitz
On Tue, May 18, 2010 at 05:52:54PM +0200, Stephan Witt wrote: > Am 17.05.2010 um 21:27 schrieb Andre Poenitz: > > > On Mon, May 17, 2010 at 07:20:34PM +0200, Pavel Sanda wrote: > >> Jürgen Spitzmüller wrote: > >>> Since I go no more translation updates after the m

Re: Branch frozen

2010-05-17 Thread Andre Poenitz
On Mon, May 17, 2010 at 07:20:34PM +0200, Pavel Sanda wrote: > Jürgen Spitzmüller wrote: > > Since I go no more translation updates after the mailing list > > revival, I will try to set up Lyx 1.6.6 now. Please stand by. > > please make it clear in the announce that we encourage people to build >

Re: r33864 - in lyx-devel/trunk: lib/doc src

2010-03-25 Thread Andre Poenitz
On Thu, Mar 25, 2010 at 01:30:59PM +0100, Enrico Forestieri wrote: > On Thu, Mar 25, 2010 at 01:44:16AM +0100, rgh...@lyx.org wrote: > > + bformat(_("The document class requested\n" > > +"\t%1$s\n" > > +

Re: Compiling with Qt 4.2

2010-03-24 Thread Andre Poenitz
On Wed, Mar 24, 2010 at 11:31:56PM +0100, Enrico Forestieri wrote: > On Wed, Mar 24, 2010 at 10:47:24AM +0100, Jean-Marc Lasgouttes wrote: > > Le 24/03/2010 00:45, Enrico Forestieri a écrit : > >> Qt 4.3 and 4.4 series were unusable on non-windows and non-linux systems. > > > > I thought 4.5 and 4.

Re: [Prototype] Dialog to produce backtrace after each crash; on Windows should I use GDB, vsjitdebugger.exe, or ... ?

2010-03-09 Thread Andre Poenitz
On Wed, Mar 10, 2010 at 02:29:47AM +0800, John McCabe-Dansted wrote: > I suspect many Windows people would prefer not to have to install GDB. > Apparently it is possible to use e.g. the MSVC debugger on the command > line and "attach it to the process by running vsjitdebugger.exe -p > ProcessId fro

Re: [Prototype] Dialog to produce backtrace after each crash; on Windows should I use GDB, vsjitdebugger.exe, or ... ?

2010-03-09 Thread Andre Poenitz
On Wed, Mar 10, 2010 at 02:29:47AM +0800, John McCabe-Dansted wrote: > + // We could use a callback instead of using QtGui here > + // doAssert_callback(str); > + > + QMessageBox::critical( (QWidget*)0, > + QString(to_utf8(_("Assertion Trigger

Re: Greek text mixed with English

2010-03-02 Thread Andre Poenitz
On Tue, Mar 02, 2010 at 02:35:09PM +0100, Jürgen Spitzmüller wrote: > Guenter Milde wrote: > > Then we disagree on the weighting of practicability vs. purity. > > I think we disagree on the weighting of correctness. I think we should not > integrate functionality in LyX that allows the user to pr

Re: #5238: LyX 1.6 fails with non-ascii chars in path (on Windows)

2010-02-22 Thread Andre Poenitz
On Mon, Feb 22, 2010 at 08:07:56PM +0100, Vincent van Ravesteijn - TNW wrote: > Depends.exe says: > > "class QString QString::fromWCharArray(unsigned short const *,int)" > > So, qt defines/typedefs wchar_t as unsigned short ?? No, that's not Qt, but Windows, in msvcrt.h if memory serves right.

Re: #5238: LyX 1.6 fails with non-ascii chars in path (on Windows)

2010-02-22 Thread Andre Poenitz
On Mon, Feb 22, 2010 at 01:50:09PM +0100, Vincent van Ravesteijn - TNW wrote: > > >> No. > >> The above error message states that > >> QString::fromWCharArray(wchar_t const *,int) is the problem. > >> I don't understand the error message but it seems that fromWCharArray > > >> needs to be linked

Re: [Patch] Rats and Unsafe use of fixed width arrays.

2010-02-17 Thread Andre Poenitz
On Thu, Feb 18, 2010 at 12:12:59AM +0800, John McCabe-Dansted wrote: > [..] > If those two things look OK, is the attached patch ready to commit? Looks ok to me. Andre'

Re: Can't build lyx 1.6.5 on OpenSolaris using Sun Studio 12u1

2010-02-14 Thread Andre Poenitz
On Sun, Feb 14, 2010 at 10:09:58AM +0100, Frank Thieme wrote: > >> 2. src/support/debug.h: DEBUG is defined as DEBUG      = (1 << 31) > >> what is out of range for enum (32 bit) and I guess should be DEBUG > >>  = (1 << 30) as there is no 30, yet. > > > > 1 << 31  is within the 32 bit range. > > m

Re: Can't build lyx 1.6.5 on OpenSolaris using Sun Studio 12u1

2010-02-13 Thread Andre Poenitz
On Sat, Feb 13, 2010 at 11:21:01PM +0100, Frank Thieme wrote: > Hi! > > I found the problem - I have to use "-library=stlport4" because of the > use of boost. But now there are some more problems: > > 1. Trailing commas in enums - this is part of C99, but not of C++ standard Right. > 2. src/su

Re: [Patch] Rats and Unsafe use of fixed width arrays.

2010-02-13 Thread Andre Poenitz
On Sat, Feb 13, 2010 at 01:53:40PM +0800, John McCabe-Dansted wrote: > I thought I'd run the LyX code base through the RATS static analysis > tool. All it did was report every single occurrence of a fixed width > array in LyX. Never-the-less, in some cases the use of the fixed array > seemed danger

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

2010-02-11 Thread Andre Poenitz
On Thu, Feb 11, 2010 at 03:21:34PM +0100, Jürgen Spitzmüller wrote: > Abdelrazak Younes wrote: > > So we are only allowed to compare it with OpenOffice or MS Word then? > > Nobody allows or disallows anything. I just think we should keep in mind what > LyX aims to be. > > > OK... both programs p

Re: r33408 - in lyx-devel/branches/BRANCH_1_6_X: . src/frontends/qt4

2010-02-10 Thread Andre Poenitz
On Wed, Feb 10, 2010 at 12:42:52PM +0100, sp...@lyx.org wrote: > Author: spitz > Date: Wed Feb 10 12:42:52 2010 > New Revision: 33408 > URL: http://www.lyx.org/trac/changeset/33408 > > Log: > * GuiErrorList.cpp: > - use GUIfied strings (bug 6397). > > Modified: >lyx-devel/branches/BRANC

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

2010-02-03 Thread Andre Poenitz
On Wed, Feb 03, 2010 at 12:40:04PM +0100, Peter Kümmel wrote: > I would also introduce shared libraries which help to avoild > circular dependencies between the libraries, especially when building > Dlls on Windows, but maybe there is also a GCC flag to forbid such > dependencies . Linking with --

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

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

  1   2   3   4   5   6   7   8   9   10   >