Memory leak ?

2012-01-21 Thread Jean-Pierre Chrétien
Hello, A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). On my Debian Squeeze and a simple document, I find about 1.7ko/mn. Testing with the Userguide, I find around 19ko/mn with the following recipe: - open

Re: Memory leak ?

2012-01-21 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien jeanpierre.chretien at free.fr writes: I find no leak with Lyx-1.6.10, and an much smaller one (identical for each) of 0.28ko/mn with Lyx-2.0.2 and 2.0.1. I meant Lyx-2.0.0 and 2.0.1, sorry. -- Jean-Pierre

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

2012-01-21 Thread Julien Rioux
On 20/01/2012 3:31 AM, Jürgen Spitzmüller wrote: jrioux wrote Author: jrioux Date: Mon Dec 12 15:45:30 2011 New Revision: 40485 URL: http://www.lyx.org/trac/changeset/40485 Log: User frontend for the new document-wide bibliography style feature. Any specific reason why you do not use a combo

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

2012-01-21 Thread Jürgen Spitzmüller
Julien Rioux wrote: In the long run I see citation engines and citation styles being handled by modules, or something very close to modules. When this is implemented, the various bibliography frontends will need to be reworked. So I did not bother to make this one very sophisticated for

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

2012-01-21 Thread Julien Rioux
On 21/01/2012 9:11 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: In the long run I see citation engines and citation styles being handled by modules, or something very close to modules. When this is implemented, the various bibliography frontends will need to be reworked. So I did not

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

2012-01-21 Thread Jürgen Spitzmüller
Julien Rioux wrote: Yes the plan is to use the bst file information and use it there. Locally I have a branch in which LyX gathers even more information about styles and their compatibility with the various citation engines. I haven't posted a patch of this yet. It's the continuity of the

Re: Memory leak ?

2012-01-21 Thread Lars Gullik Bjønnes
Jean-Pierre Chrétien jeanpierre.chret...@free.fr writes: | Hello, | A French user tells me privately that he finds a big memeory leak in | LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). | On my Debian Squeeze and a simple document, I find about 1.7ko/mn. | Testing with the

Re: Memory leak ?

2012-01-21 Thread Richard Heck
On 01/21/2012 05:36 AM, Jean-Pierre Chrétien wrote: Hello, A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). On my Debian Squeeze and a simple document, I find about 1.7ko/mn. Testing with the Userguide, I find

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

2012-01-21 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: 2. patching configs and disable byte-compiled scritps. this is descendant of #6080, which originated in https://bugs.gentoo.org/show_bug.cgi?id=247683 if you are not nervous about the issue we can even close #6080 i havent seen other folks to

Re: [patch] move citation engine to layout modules

2012-01-21 Thread Richard Heck
On 01/10/2012 09:19 PM, Julien Rioux wrote: Looking for your comments! The approach looks very good to me, though the patch is so huge---unavoidably so, to be sure---that it's hard to have much to say about the details. Can you say a bit about the format of the CiteFormat entries? I take it

LASSERT Question

2012-01-21 Thread Richard Heck
Consider: void Text::setFont(Cursor cur, Font const font) { LASSERT(this == cur.text(), /**/); // Set the current_font // Determine basis font FontInfo layoutfont; Wouldn't it be better to return here if the assertion fails? Continuing seems like we're inviting disaster,

Re: Memory leak ?

2012-01-21 Thread Richard Heck
On 01/21/2012 08:09 PM, Lars Gullik Bjønnes wrote: Richard Heckrgh...@comcast.net writes: | On 01/21/2012 05:36 AM, Jean-Pierre Chrétien wrote: Hello, A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). On my

SVN Down?

2012-01-21 Thread Richard Heck
I'm getting an error: ../lyx/lyx-pristine/ svn up svn: Can't find a temporary directory: Internal error Google says this is due to a lack of disk space on the server. Richard

Re: SVN Down?

2012-01-21 Thread Richard Heck
On 01/21/2012 11:06 PM, Richard Heck wrote: I'm getting an error: ../lyx/lyx-pristine/ svn up svn: Can't find a temporary directory: Internal error Google says this is due to a lack of disk space on the server. Trac is now giving me a similar error when I try to log in: *Trac detected an

Memory leak ?

2012-01-21 Thread Jean-Pierre Chrétien
Hello, A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). On my Debian Squeeze and a simple document, I find about 1.7ko/mn. Testing with the Userguide, I find around 19ko/mn with the following recipe: - open

Re: Memory leak ?

2012-01-21 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien free.fr> writes: > I find no leak with Lyx-1.6.10, and an much smaller one (identical for each) > of 0.28ko/mn with Lyx-2.0.2 and 2.0.1. I meant Lyx-2.0.0 and 2.0.1, sorry. -- Jean-Pierre

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

2012-01-21 Thread Julien Rioux
On 20/01/2012 3:31 AM, Jürgen Spitzmüller wrote: jrioux wrote Author: jrioux Date: Mon Dec 12 15:45:30 2011 New Revision: 40485 URL: http://www.lyx.org/trac/changeset/40485 Log: User frontend for the new document-wide bibliography style feature. Any specific reason why you do not use a combo

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

2012-01-21 Thread Jürgen Spitzmüller
Julien Rioux wrote: > In the long run I see citation engines and citation styles being handled > by modules, or something very close to modules. When this is > implemented, the various bibliography frontends will need to be > reworked. So I did not bother to make this one very sophisticated for

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

2012-01-21 Thread Julien Rioux
On 21/01/2012 9:11 AM, Jürgen Spitzmüller wrote: Julien Rioux wrote: In the long run I see citation engines and citation styles being handled by modules, or something very close to modules. When this is implemented, the various bibliography frontends will need to be reworked. So I did not

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

2012-01-21 Thread Jürgen Spitzmüller
Julien Rioux wrote: > Yes the plan is to use the bst file information and use it there. > Locally I have a branch in which LyX gathers even more information about > styles and their compatibility with the various citation engines. I > haven't posted a patch of this yet. It's the continuity of

Re: Memory leak ?

2012-01-21 Thread Lars Gullik Bjønnes
Jean-Pierre Chrétien writes: | Hello, > | A French user tells me privately that he finds a big memeory leak in | LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). > | On my Debian Squeeze and a simple document, I find about 1.7ko/mn. > | Testing with the

Re: Memory leak ?

2012-01-21 Thread Richard Heck
On 01/21/2012 05:36 AM, Jean-Pierre Chrétien wrote: Hello, A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). On my Debian Squeeze and a simple document, I find about 1.7ko/mn. Testing with the Userguide, I find

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

2012-01-21 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: >> 2. patching configs and disable byte-compiled scritps. >> this is descendant of #6080, which originated in >> https://bugs.gentoo.org/show_bug.cgi?id=247683 >> if you are not nervous about the issue we can even close #6080 >> i havent seen other folks

Re: [patch] move citation engine to layout modules

2012-01-21 Thread Richard Heck
On 01/10/2012 09:19 PM, Julien Rioux wrote: Looking for your comments! The approach looks very good to me, though the patch is so huge---unavoidably so, to be sure---that it's hard to have much to say about the details. Can you say a bit about the format of the CiteFormat entries? I take it

LASSERT Question

2012-01-21 Thread Richard Heck
Consider: void Text::setFont(Cursor & cur, Font const & font) { LASSERT(this == cur.text(), /**/); // Set the current_font // Determine basis font FontInfo layoutfont; Wouldn't it be better to return here if the assertion fails? Continuing seems like we're inviting disaster,

Re: Memory leak ?

2012-01-21 Thread Richard Heck
On 01/21/2012 08:09 PM, Lars Gullik Bjønnes wrote: Richard Heck writes: | On 01/21/2012 05:36 AM, Jean-Pierre Chrétien wrote: Hello, A French user tells me privately that he finds a big memeory leak in LyX-2.0.2 on an Archlinux LyX distribution (about 1.5Mo/mn). On my

SVN Down?

2012-01-21 Thread Richard Heck
I'm getting an error: ../lyx/lyx-pristine/ > svn up svn: Can't find a temporary directory: Internal error Google says this is due to a lack of disk space on the server. Richard

Re: SVN Down?

2012-01-21 Thread Richard Heck
On 01/21/2012 11:06 PM, Richard Heck wrote: I'm getting an error: ../lyx/lyx-pristine/ > svn up svn: Can't find a temporary directory: Internal error Google says this is due to a lack of disk space on the server. Trac is now giving me a similar error when I try to log in: *Trac detected an