Re: Best practive for dependency incjection

2013-05-05 Thread Pavel Sanda
Elmar Hinz wrote: > However with C++ it is necessary to mangage the memory usage. For dependency > injection this brings up the question, when and where to free the memory. > > Do you have a policy how to deal with this for Lyx in special and is there a > good tutorial how to handle that with C++

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Stephan Witt
Am 06.05.2013 um 00:01 schrieb Jean-Marc Lasgouttes : > Le 05/05/13 23:12, Stephan Witt a écrit : >> Am 05.05.2013 um 22:57 schrieb Jean-Marc Lasgouttes : >> >>> Le 05/05/13 21:52, Stephan Witt a écrit : This would lead to a LyX running on Lion or Mountain Lion only. The SDK for 10.6 (

Re: Source view window

2013-05-05 Thread Pavel Sanda
Edwin Leuven wrote: > no i use 4.8.4 > > in the patch i send, i used QHBoxLayout (which inherits from QBoxLayout) and > that worked fine for me? okok :) the fact that editing .ui file in vim took me shorter time than finding how to setup QHBoxLayout in designer suggest that i should keep respec

Best practive for dependency incjection

2013-05-05 Thread Elmar Hinz
Hello list, I am used to test the code I while I am writing it. The big advantage is, that the code is quality tested. The immediate advantage is, that it gives a simple method to run the code, to see how it works at all, without firering up the whole application. Being new with C++ I try to tra

Updated Feature Description of “Toolbar customization dialog”

2013-05-05 Thread Jason
Hello there, I created a detailed description of what features I'd like to include in “Toolbar customization dialog”. Link: http://goo.gl/YTetM Please kindly take a look and give me any suggestions (things to add? remove or change), thanks in advance. My proposal is also updated. link: http://www

Re: [LyX master] support for \mbox and \fbox

2013-05-05 Thread Uwe Stöhr
Am 04.05.2013 14:53, schrieb Jean-Marc Lasgouttes: Two things you could do shortly: 1/ make it possible to enter a width for a minipage Should now be fixed. 2/ look at the tex2lyx bug that got spotted by clang: ../../../master/src/tex2lyx/text.cpp:938:14: warning: equality comparison resu

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Jean-Marc Lasgouttes
Le 05/05/13 23:12, Stephan Witt a écrit : Am 05.05.2013 um 22:57 schrieb Jean-Marc Lasgouttes : Le 05/05/13 21:52, Stephan Witt a écrit : This would lead to a LyX running on Lion or Mountain Lion only. The SDK for 10.6 (Snow Leopard) I don't have anymore. @JMarc Sorry, I didn't remember th

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Stephan Witt
Am 05.05.2013 um 22:57 schrieb Jean-Marc Lasgouttes : > Le 05/05/13 21:52, Stephan Witt a écrit : >> This would lead to a LyX running on Lion or Mountain Lion only. The SDK for >> 10.6 (Snow Leopard) I don't have anymore. > >> @JMarc >> Sorry, I didn't remember the problem well… It is ::unsetenv

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Jean-Marc Lasgouttes
Le 05/05/13 21:52, Stephan Witt a écrit : This would lead to a LyX running on Lion or Mountain Lion only. The SDK for 10.6 (Snow Leopard) I don't have anymore. @JMarc Sorry, I didn't remember the problem well… It is ::unsetenv with return type void used in unsetEnv(). The hack I've used

Re: GSOC Project Proposal: "Toolbar customization dialog"

2013-05-05 Thread Liviu Andronic
Dear Jason, The deadline for submitting applications has already passed. We are now examining the applications and we will announce the results in several weeks (see GSoC Timeline). Regards, Liviu On Sun, May 5, 2013 at 9:47 PM, Jason wrote: > Hello there, > > I've submitted the proposal for th

How do I contact GSoC project mentor Abdel? (Mentor for Toolbar customization dialog)

2013-05-05 Thread Jason
Is there any way I can reach him directly? Many thanks!

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Stephan Witt
Am 05.05.2013 um 16:52 schrieb Richard Heck : > On 05/05/2013 05:36 AM, Stephan Witt wrote: >> Am 04.05.2013 um 14:36 schrieb Richard Heck : >> >>> The nasty regression bug we thought we'd found has turned out to be older. >>> So the sources previously published can be used for binaries. They ca

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Jean-Marc Lasgouttes
Le 05/05/13 16:52, Richard Heck a écrit : On 05/05/2013 05:36 AM, Stephan Witt wrote: If I build LyX with the 10.7 SDK I cannot provide the PPC Version anymore. I don't know if this is forgivable for a minor upgrade. I suppose we could build the 10.7 version for now and see what we can do ab

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Jean-Marc Lasgouttes
Le 05/05/13 11:36, Stephan Witt a écrit : Am 04.05.2013 um 14:36 schrieb Richard Heck : The nasty regression bug we thought we'd found has turned out to be older. So the sources previously published can be used for binaries. They can be found at http://frege.brown.edu/lyx/ I have one for Windo

Re: LyX and Boost

2013-05-05 Thread Vincent van Ravesteijn
Op 5-5-2013 20:52, Richard Heck schreef: Suppose I wanted to use Boost's indirect_iterator. Can I just add the relevant file to the boost/boost/iterator directory, or is there something else to do? Richard I'm not a huge fan of adding more boost stuff into LyX. Reading the documentation o

Re: patch for scrolling issue - LyXscrollpatch20130302.diff (1/1) - LyXscrollpatch20130421.diff (1/1) - LyXscrollpatch20130427.diff (1/1)

2013-05-05 Thread Jean-Marc Lasgouttes
Le 05/05/13 20:36, pdv a écrit : What exactly takes 17.4s? I suppose that's the time taken by GuiPainter::text(), but I don't know enough of the Instruments app and it's modules to give any more details. I've now monitored both functions with pmprof: ( I scroll through a document of mine start

LyX and Boost

2013-05-05 Thread Richard Heck
Suppose I wanted to use Boost's indirect_iterator. Can I just add the relevant file to the boost/boost/iterator directory, or is there something else to do? Richard

Re: patch for scrolling issue - LyXscrollpatch20130302.diff (1/1) - LyXscrollpatch20130421.diff (1/1) - LyXscrollpatch20130427.diff (1/1)

2013-05-05 Thread pdv
In article <518166ab.5070...@lyx.org>, Jean-Marc Lasgouttes wrote: > Le 01/05/2013 20:55, pdv a écrit : > > There are 2 occurences of calculate_qt_char_width, in TextMetrics and in > > RowPainter. > > Yes, I toggled both. > > > and there is at least one change which is not enclosed by these >

Re: Source view window

2013-05-05 Thread Edwin Leuven
On 05/05/2013 06:01 AM, Pavel Sanda wrote: > Edwin Leuven wrote: >> On May 5, 2013, at 08:22 , Pavel Sanda wrote: >>> Pavel Sanda wrote: There are still quirks with not enough minimum size. >>> I finally solved those too, fixed few typos and it's now in. >> could also go into branch i suppose

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Richard Heck
On 05/05/2013 05:36 AM, Stephan Witt wrote: Am 04.05.2013 um 14:36 schrieb Richard Heck : The nasty regression bug we thought we'd found has turned out to be older. So the sources previously published can be used for binaries. They can be found at http://frege.brown.edu/lyx/ I have one for

Re: Source view window

2013-05-05 Thread Richard Heck
On 05/05/2013 06:01 AM, Pavel Sanda wrote: Edwin Leuven wrote: On May 5, 2013, at 08:22 , Pavel Sanda wrote: Pavel Sanda wrote: There are still quirks with not enough minimum size. I finally solved those too, fixed few typos and it's now in. could also go into branch i suppose? Not so sure

Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Tommaso Cucinotta
I copied the same behaviour on Advanced F&R in e3677975 and bd9e8fec. Now it makes a lt more sense to put the pane on the bottom. T. On 05/05/13 07:20, Pavel Sanda wrote: > The branch, master, has been updated. > > - Log --

about project doing

2013-05-05 Thread Kamal Garg
can anybody tell me from which program of src code i start for doing project of horizontal scrollbar for table/math.

Re: Source view window

2013-05-05 Thread Tommaso Cucinotta
On 04/05/13 19:19, Pavel Sanda wrote: >> Would it be difficult to add a small button to the paned window buttons, >> that allows for showing/hiding the extra features ? > Where do you want to put the 'hide' button without adding next row? The idea was to add it to the "paned window buttons", whi

Re: Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Pavel Sanda
Kornel Benko wrote: > > a ai, deep in qt, which version? > > can you try whether you get the crash even in before this commit. > > Same crash. Sorry for the noise. to mi spadl kamen ze srdce ;) p

Re: Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Kornel Benko
Am Sonntag, 5. Mai 2013 um 03:30:01, schrieb Pavel Sanda > Kornel Benko wrote: > > Sure: > > Program received signal SIGSEGV, Segmentation fault. > > > > 0x77067fc5 in QDockAreaLayoutInfo::indexOf (this=0x2278ef0, > > widget=0x1fd0230)

Re: Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Kornel Benko
Am Sonntag, 5. Mai 2013 um 03:28:08, schrieb Pavel Sanda > Kornel Benko wrote: > > Am Sonntag, 5. Mai 2013 um 03:07:03, schrieb Pavel Sanda > > > Kornel Benko wrote: > > > > To reproduce: > > > > > > > > 1) add the source view > > > > 2) move the source view to the right > > > > 3) add advanced

Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Pavel Sanda
Kornel Benko wrote: > Sure: > Program received signal SIGSEGV, Segmentation fault. > > 0x77067fc5 in QDockAreaLayoutInfo::indexOf (this=0x2278ef0, > widget=0x1fd0230) > at widgets/qdockarealayout.cpp:1474

Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Pavel Sanda
Kornel Benko wrote: > Am Sonntag, 5. Mai 2013 um 03:07:03, schrieb Pavel Sanda > > Kornel Benko wrote: > > > To reproduce: > > > > > > 1) add the source view > > > 2) move the source view to the right > > > 3) add advanced search, now, on bottom! you get a panel to switch between > > > both > >

Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Kornel Benko
Am Sonntag, 5. Mai 2013 um 03:07:03, schrieb Pavel Sanda > Kornel Benko wrote: > > To reproduce: > > > > 1) add the source view > > 2) move the source view to the right > > 3) add advanced search, now, on bottom! you get a panel to switch between > > both > > 4) move the source view to bottom >

Re: Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Kornel Benko
Am Sonntag, 5. Mai 2013 um 03:07:03, schrieb Pavel Sanda > Kornel Benko wrote: > > To reproduce: > > > > 1) add the source view > > 2) move the source view to the right > > 3) add advanced search, now, on bottom! you get a panel to switch between > > both > > 4) move the source view to bottom >

Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Pavel Sanda
Kornel Benko wrote: > To reproduce: > > 1) add the source view > 2) move the source view to the right > 3) add advanced search, now, on bottom! you get a panel to switch between both > 4) move the source view to bottom > 5) move adv search to bottom > 6) switch to see adv search > 7) move back to

Re: Source view window

2013-05-05 Thread Pavel Sanda
Edwin Leuven wrote: > On May 5, 2013, at 08:22 , Pavel Sanda wrote: > > Pavel Sanda wrote: > >> There are still quirks with not enough minimum size. > > > > I finally solved those too, fixed few typos and it's now in. > > could also go into branch i suppose? Not so sure, I had to do nasty thin

Re: [LyX master] Add layout intelligence to View Source pane (bug #8653).

2013-05-05 Thread Kornel Benko
Am Sonntag, 5. Mai 2013 um 08:20:09, schrieb Pavel Sanda > The branch, master, has been updated. > > - Log - > > commit 49c2450f3f6cb67a36f8fa987ad287a8bff11d79 > Author: Pavel Sanda > Date: Sat May 4 23:05:51 2013 -0700 > >

Re: Questions about Installing Qt

2013-05-05 Thread Kornel Benko
Am Samstag, 4. Mai 2013 um 17:52:49, schrieb Ashley Shan > Hi Rob, Hi Ashley, I am not Rob, but ... > So I have been trying to begin learning Qt, but after viewing Qt > documentations, I realize that there are some problems that obstruct my > learning: > > 1. Couldn't compile LyX-outline proje

Re: LyX 2.0.6 Binaries

2013-05-05 Thread Stephan Witt
Am 04.05.2013 um 14:36 schrieb Richard Heck : > > The nasty regression bug we thought we'd found has turned out to be older. So > the sources previously published can be used for binaries. They can be found > at >http://frege.brown.edu/lyx/ > I have one for Windows. Please prepare the rest.

Re: Word wrapping problem

2013-05-05 Thread Lin Wei
Still have some doubt about the algorithm for word wrap. TextMetrics.cpppos_type TextMetrics::rowBreakPoint(int width, pit_type const pit, pos_type pos) const This function seems to iterate through until the right margin or end of par is reached. I'm wondering whether it iterates a word per p

Re: Source view window

2013-05-05 Thread Edwin Leuven
On May 5, 2013, at 08:22 , Pavel Sanda wrote: > Pavel Sanda wrote: >> There are still quirks with not enough minimum size. > > I finally solved those too, fixed few typos and it's now in. could also go into branch i suppose… ed.