On Mon, 5 Mar 2001, Angus Leeming wrote:
> Jürgen,
>
> I was browsing through FormParagraph and I've come across something that
> confuses me. Do you really mean to "activate" the lines below that I've
> highlighted with a "?", or should they be "deactivate"?
Possibly wrong. Although the handli
On Mon, Mar 05, 2001 at 01:03:15PM +0100, Jean-Marc Lasgouttes wrote:
>
> Just type "M-x ert-insert". You can have a personal binding for it, or
> add it to your menus (for example insert) by adding in defaults.ui a
> line like
>
> Item "ERT" "ert-insert"
Sweet! Thanks.
On 5 Mar 2001, Jean-Marc Lasgouttes wrote:
> I tried the "benchmark" a bit here, and the times in successive rune
> fluctuate enough that I do not see how you can interpret them...
This wins the "Cool Typo" award. When reading your (the developers')
discussions of compilers, pragmas, etc. my head
Regarding improving the performance:
I can only recommend using gprof. It's very easy, and it really
helps when you want to find and address bottlenecks.
Also, I must confess that it was me that introduced the ugly integer
packed representation of the font information a long time ago.
That was d
Ok, I have removed the ShareContainer from LyXFont and use it on
LyXParagraph::FontTable::font instead.
I am not sure if ShareContainer is optimal yet, probably not.
Last test said:
time ./src/lyx -x lyx-quit ../../local/lyxdoc/UserGuide.l
yx
About to handle -x 'lyx-quit'
real0m7.264s
us
Jürgen,
I was browsing through FormParagraph and I've come across something that
confuses me. Do you really mean to "activate" the lines below that I've
highlighted with a "?", or should they be "deactivate"?
The reason I ask is because I have a little helper function that I thought
would sim
On Mon, Mar 05, 2001 at 03:28:11PM +0100, Jean-Marc Lasgouttes wrote:
> > "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
>
> Jean-Marc> I tried the "benchmark" a bit here, and the times in
> Jean-Marc> successive rune fluctuate enough that I do not see how you
> Jean-Marc> ca
> Well I tried the patch here and got a segfault on search.
> Here is the backtrace:
>
> I can reproduce this as often as I want. I just have to press 2 or 3
> times the ">" button with the same searchstring then I'll get this!
>
That's strange. I don't have this.
Apparantly (correct me if I'm w
On 05-Mar-2001 Edwin Leuven wrote:
>
> Whatever you want, I can also add "itive" to make it "casesensitive". You
> want a new patch, or is it ok as is for the moment? Ed.
Well I tried the patch here and got a segfault on search.
Here is the backtrace:
(gdb) bt
#0 0x401b2a21 in __kill () from
On 05-Mar-2001 Jean-Marc Lasgouttes wrote:
> Something like
> time ./lyx -e latex ~/src/lyx/lyxdoc/UserGuide.lyx
> seems to give more consistent results across runs
But this doesn't load a LyXText instance, does it? And there the Fonts are
used most, isn't it?
Jürgen
--
-._-._-._-._-._
Dekel Tsur <[EMAIL PROTECTED]> writes:
| On Mon, Mar 05, 2001 at 02:52:00PM +0100, Lars Gullik Bjønnes wrote:
| > time ./src/lyx -x lyx-quit ../../local/lyxdoc/UserGuide.lyx
| > About to handle -x 'lyx-quit'
| >
| > real0m8.515s
| > user0m6.010s
| > sys 0m0.050s
|
| It still
On Mon, Mar 05, 2001 at 02:52:00PM +0100, Lars Gullik Bjønnes wrote:
> time ./src/lyx -x lyx-quit ../../local/lyxdoc/UserGuide.lyx
> About to handle -x 'lyx-quit'
>
> real0m8.515s
> user0m6.010s
> sys 0m0.050s
It still looks slow.
I still don't understand why we can't use my
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
|
| Lars> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | time ./src/lyx -x
| Lars> lyx-quit ../../local/lyxdoc/UserGuide.lyx | About to handle -x
| Lars> 'lyx-quit' | | real 0m8.
> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes:
Michael> Hi, very recently, I became aware of ChkTeX which is
Michael> supported by LyX. However, it seems like the user has to find
Michael> and compile ChkTeX on his own (no rpm file available).
Michael> Would it be possible to inc
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
Jean-Marc> I tried the "benchmark" a bit here, and the times in
Jean-Marc> successive rune fluctuate enough that I do not see how you
Jean-Marc> can interpret them...
Something like
time ./lyx -e latex ~/src/lyx/lyxdoc/UserG
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | time ./src/lyx -x
Lars> lyx-quit ../../local/lyxdoc/UserGuide.lyx | About to handle -x
Lars> 'lyx-quit' | | real 0m8.495s | user 0m5.880s | sys 0m0.030s | |
Lars> On a PIII 700M
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| time ./src/lyx -x lyx-quit ../../local/lyxdoc/UserGuide.lyx
| About to handle -x 'lyx-quit'
|
| real0m8.495s
| user0m5.880s
| sys 0m0.030s
|
| On a PIII 700Mhz (with primed cache)
With braindead use of push_heap:
time ./s
Dekel Tsur <[EMAIL PROTECTED]> writes:
| With the new patch, the Userguide loads very slowly: ~18 sec
| while with the old code (or the old patch) the UG loads in ~7sec
| (timed with 'time lyx -x lyx-quit UserGuide.lyx').
time ./src/lyx -x lyx-quit ../../local/lyxdoc/UserGuide.lyx
About to handl
Dekel Tsur <[EMAIL PROTECTED]> writes:
| > Oh, we had that earlier, the code was close to impossible to maintain,
| > won't happen. and I'd hate to loose the type information. btw. clever
| > compilers are free to use a byte for most of those enums.
|
| IIRC, we had something else: all the data
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| A map is not very good since we don't have a obvious key (for the same
| reason a hash_map would be hard to use since a hash function would be
| hard to get fast/right/uniue).
|
| I agree that the linear search is not good. (and this is what caus
> Please enlighten me why you think you have to implement it the way you
> suggest.
Ok, here goes. If I leave out the all important line in
ButtonController::input():
if (ButtonPolicy::SMI_NOOP == in) return;
then the up,down,add,delete buttons in the Citation dialog become active when
On Mon, Mar 05, 2001 at 01:24:24PM +0100, Lars Gullik Bjønnes wrote:
> | The problem is that the data in a LyXText instance is changed frequently
> | (in the LyXParagraph::GetFont and LyXText::GetFont methods).
> | The solution is perhaps to keep the LyXFont class unchanged, but in
> | LyXParagra
Hi,
very recently, I became aware of ChkTeX which is supported by LyX. However, it
seems like the user has to find and compile ChkTeX on his own (no rpm file
available).
Would it be possible to include ChkTeX in the LyX distribution? Its development
seems to have come to a complete stop so the
Dekel Tsur <[EMAIL PROTECTED]> writes:
| On Mon, Mar 05, 2001 at 11:29:13AM +0100, Jean-Marc Lasgouttes wrote:
| > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| >
| > Lars> Yes, I see the same here. So we have to decide if this is a slow
| > Lars> down that we can live with.
>
> + bool const & casesens,
>
> peculiar spelling... wouldn't "caseness" be better?
>
Whatever you want, I can also add "itive" to make it "casesensitive". You
want a new patch, or is it ok as is for the moment? Ed.
On Mon, Mar 05, 2001 at 11:29:13AM +0100, Jean-Marc Lasgouttes wrote:
> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
> Lars> Yes, I see the same here. So we have to decide if this is a slow
> Lars> down that we can live with. (on the cell phone the numbers above
> Lars> came
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > "larry" == larry <[EMAIL PROTECTED]> writes:
|
| larry> Just following up on the long-rumored ERT inset. After some
| larry> minor commotion and even a lead LDN story about this a few
| larry> months ago, I haven't heard anything.
|
| la
> "larry" == larry <[EMAIL PROTECTED]> writes:
larry> Just following up on the long-rumored ERT inset. After some
larry> minor commotion and even a lead LDN story about this a few
larry> months ago, I haven't heard anything.
larry> Is it true that there is support for the inset today,
larry
> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> Can you apply the 1.2.0 update one too, obviously with your
John> small change as well ?
I am currently doing that. Concerning the reLyX issue I see a
solution, which is to export a variable like VERSION suffix that the
reLyX configure
On 5 Mar 2001, Jean-Marc Lasgouttes wrote:
> > "John" == John Levon <[EMAIL PROTECTED]> writes:
>
> John> JMarc, here it is, with your suggestions.
>
> John> I've tested it, it seems ok
>
> I commit a slightly modified version of the patch where the default
> suffix is "-VERSION", so that
John Levon <[EMAIL PROTECTED]> writes:
| Well in an ideal world, but this version is literally unusable on a low memory
|machine
| when compiling LyX. As in, left-for-a-day-compiling-lyxfunc.C unusable.
|
| Hopefully the work they are doing now will sort it out to the only moderately
| slower 2
> "John" == John Levon <[EMAIL PROTECTED]> writes:
John> JMarc, here it is, with your suggestions.
John> I've tested it, it seems ok
I commit a slightly modified version of the patch where the default
suffix is "-VERSION", so that the default behaviour is the nice one we
had before, but it
On 5 Mar 2001, Lars Gullik Bjønnes wrote:
> John Levon <[EMAIL PROTECTED]> writes:
>
> | On Mon, 5 Mar 2001, Andre Poenitz wrote:
> |
> | > > It only takes 3 or so hours for a full build with 2.91.66 (much faster
> | > > than 2.95.2 and infinitely faster than gcc CVS of a acouple of months
> |
Angus Leeming <[EMAIL PROTECTED]> writes:
| On Monday 05 March 2001 10:55, Angus Leeming wrote:
|
| Lars, I'll follow your lead and use scoped_ptrs for the remaining
| xforms/Form*.[Ch] files. Ie,
|
| FormGraphics.h
| FormPrint.h
| FormRef.h
| FormSplash.h
| FormTabular.h
| FormTabularCreate.h
John Levon <[EMAIL PROTECTED]> writes:
| On Mon, 5 Mar 2001, Andre Poenitz wrote:
|
| > > It only takes 3 or so hours for a full build with 2.91.66 (much faster
| > > than 2.95.2 and infinitely faster than gcc CVS of a acouple of months
| > > ago), on a P200 with 40Mb of memory.
| >
| > So memo
On Mon, 5 Mar 2001, Andre Poenitz wrote:
> > It only takes 3 or so hours for a full build with 2.91.66 (much faster
> > than 2.95.2 and infinitely faster than gcc CVS of a acouple of months
> > ago), on a P200 with 40Mb of memory.
>
> So memory is the thing that really matters... as I mentioned
> It only takes 3 or so hours for a full build with 2.91.66 (much faster
> than 2.95.2 and infinitely faster than gcc CVS of a acouple of months
> ago), on a P200 with 40Mb of memory.
So memory is the thing that really matters... as I mentioned it took me
82 minutes with 2.95.2 on a P133 with 48
On Monday 05 March 2001 10:44, Lars Gullik Bjønnes wrote:
> | One small point. Launching the copyright dialog, I see that the program
is
> | now called KLyX
>
> yes, remove that...
Done.
A
On Mon, 5 Mar 2001, Angus Leeming wrote:
> I see that Lars has beaten me to it and committed this patch. I'd just report
> that it compiles on my box, so I think the configure test should be changed
> to #if (QT_VERSION < 221) at least.
I changed this. Hmm.
Ah yes ... I see what's gone on I t
On 5 Mar 2001, Lars Gullik Bjønnes wrote:
> Andre Poenitz <[EMAIL PROTECTED]> writes:
>
> | > When you have 512 MB that is not a problem. ;-)
> |
> | Does LyX still compile with just 512 MB? I mean, taking under an hour or
> | so? I really don't have any recent evidence...
>
> Sure it does. ~
On Monday 05 March 2001 10:55, Angus Leeming wrote:
Lars, I'll follow your lead and use scoped_ptrs for the remaining
xforms/Form*.[Ch] files. Ie,
FormGraphics.h
FormPrint.h
FormRef.h
FormSplash.h
FormTabular.h
FormTabularCreate.h
FormToc.h
FormUrl.h
Angus
Edwin Leuven <[EMAIL PROTECTED]> writes:
| Hi,
|
| I attach the patch that moves find/replace to frontends. It also moves some
| stuff out ouf LyXText. The files src/lyxfr1.[Ch] and src/lyxfr0.[Ch] can be
| removed. Could someone check and/or apply it?
|
| Thanks for your help.
+
A! This one slipped through! Thanks, Lars. I commented out this line
because I'm using xforms 0.89.0 or 0.88.1 here and I get a segfault when
deleting a group of FL_OBJECTs such as the RadioButtonGroup here. The correct
code is back in.
Are you happy with the branch? Shall I make a patch
> Can you redo this patch? It crashes slighly with what I had in my tree
> (that I just committed).
I attach a new diff.
Andre'
--
André Pönitz [EMAIL PROTECTED]
Index: ChangeLog
===
RCS
Angus Leeming <[EMAIL PROTECTED]> writes:
| On Monday 05 March 2001 10:21, Angus Leeming wrote:
| > On Monday 05 March 2001 09:36, Edwin Leuven wrote:
| >
| > > > Hi,
| > >
| > > ps. could someone apply the qt2 character patch?
| >
| > Ed,
| >
| > I thought I'd try and compile it, but config
On Monday 05 March 2001 10:21, Angus Leeming wrote:
> On Monday 05 March 2001 09:36, Edwin Leuven wrote:
>
> > > Hi,
> >
> > ps. could someone apply the qt2 character patch?
>
> Ed,
>
> I thought I'd try and compile it, but configure fails because I have qt
2.2.1
> here and configure looks
On Monday 05 March 2001 10:25, Lars Gullik Bjønnes wrote:
> John Levon <[EMAIL PROTECTED]> writes:
>
> | This should help the iconify situation in xforms.
> | It also fixes a qt2 compile problem, changes Splash,
> | and removes the DEFAULT_LANGUAGE thing in docdlg.C
>
> Have this been comitted?
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
|
| Lars> Yes, I see the same here. So we have to decide if this is a slow
| Lars> down that we can live with. (on the cell phone the numbers above
| Lars> came out as 218 and 27 an
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> Yes, I see the same here. So we have to decide if this is a slow
Lars> down that we can live with. (on the cell phone the numbers above
Lars> came out as 218 and 27 and I got really worried...)
Where does the slowdown come fro
Andre Poenitz <[EMAIL PROTECTED]> writes:
| This moves the 'update' loop from the template to the macro. It is still
| the template that gets updated, so it should not fix the bug yet, but I
| believe it is a step in the right direction.
Can you redo this patch? It crashes slighly with what I ha
John Levon <[EMAIL PROTECTED]> writes:
| This should help the iconify situation in xforms.
| It also fixes a qt2 compile problem, changes Splash,
| and removes the DEFAULT_LANGUAGE thing in docdlg.C
Have this been comitted?
Lgb
On Monday 05 March 2001 09:36, Edwin Leuven wrote:
> > Hi,
>
> ps. could someone apply the qt2 character patch?
Ed,
I thought I'd try and compile it, but configure fails because I have qt 2.2.1
here and configure looks for 2.2.3. Is this really needed or will I still be
able to compile.
fr
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
|
| Lars> The problem is that these methods have to be "handwritten"
| Lars> anyway, they can't be operators since not all the members of the
| Lars> ParameterStruct participate in
Angus Leeming <[EMAIL PROTECTED]> writes:
| On Saturday 03 March 2001 09:43, Lars Gullik Bjønnes wrote:
| Use this if you want to.
|
| Content-Type: text/x-patch; name="Attachment: 1"
| Content-Transfer-Encoding: 7bit
| Content-Description: use scoped_ptr
Juergen Vigna <[EMAIL PROTECTED]> writes:
| On 03-Mar-2001 Lars Gullik Bjønnes wrote:
| >
| > Comments?
| > (I think some small mathed stuff sneaked in...)
|
| Well and you had THOUGHTS about the small move of LyxFunc::Functions over
| to BufferView!? ;)
Yes, but the plan was to clean it up in
Andre Poenitz <[EMAIL PROTECTED]> writes:
| > When you have 512 MB that is not a problem. ;-)
|
| Does LyX still compile with just 512 MB? I mean, taking under an hour or
| so? I really don't have any recent evidence...
Sure it does. ~18 minutes on PIII 700 with 128 Mb
(gcc 2.96, 2.95 should b
Dekel Tsur <[EMAIL PROTECTED]> writes:
| On Sun, Mar 04, 2001 at 07:58:15PM +0100, Lars Gullik Bjønnes wrote:
| >
| >
| > This patch includes the previous one and adds the same memore saving
| > as with the paragraph parameters, but now also for LyXFont.
| >
| > It raises binary size a bit mor
On Saturday 03 March 2001 09:43, Lars Gullik Bjønnes wrote:
Use this if you want to.
Content-Type: text/x-patch; name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: use scoped_ptr + some other small things
-
This splits MathedRowSt into the "real" structure holding the actual data
and the "list" part. The idea is do replace the list part with std::list<> or
std::vector later. Having proper assignment could help in the Dark Parts...
Andre'
--
André Pönitz [E
Hi,
I attach the patch that moves find/replace to frontends. It also moves some
stuff out ouf LyXText. The files src/lyxfr1.[Ch] and src/lyxfr0.[Ch] can be
removed. Could someone check and/or apply it?
Thanks for your help.
Greetings, Ed.
ps. could someone apply the qt2 character patch?
ht
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> The problem is that these methods have to be "handwritten"
Lars> anyway, they can't be operators since not all the members of the
Lars> ParameterStruct participate in set setting or comparison.
And could these members be parti
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
>> But if we read a latex file (through reLyX) using one of these
>> encoding, we need to understand it, right?
Dekel> You can always change the encoding of a file using an external
Dekel> program (e.g. recode) so this should not be a prob
On 05-Mar-2001 Tarmo Järvi wrote:
> Hello,
>
> LyX 1.1.5 and 1.1.6 both have this same, easily reproducible bug: if path to LyX file
> contains spaces, one can't use View->DVI/PostScript/etc because of an error. If path
> contains no spaces, the very same file can be viewed e.g. as DVI with no p
Hello,
LyX 1.1.5 and 1.1.6 both have this same, easily reproducible bug: if path to LyX file
contains spaces, one can't use View->DVI/PostScript/etc because of an error. If path
contains no spaces, the very same file can be viewed e.g. as DVI with no problems. I
must save my LyX files to /c/My
On 03-Mar-2001 Lars Gullik Bjønnes wrote:
>
> Comments?
> (I think some small mathed stuff sneaked in...)
Well and you had THOUGHTS about the small move of LyxFunc::Functions over
to BufferView!? ;)
I think it's a good move, cleans up some stuff!
Jürgen
--
-._-._-._-._-._-._-._-._-._-._
65 matches
Mail list logo