Re: How LyX handles cross-references

2008-02-24 Thread Dominik Böhm
On Mon, Feb 25, 2008 at 8:36 AM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote: > > I hope some of you like this idea :-) > > Sure but I am sorry to tell you that you are not the first to come up > wit this idea :-) Okay, but maybe my message triggers some new discussion about this issue. There's

Re: How LyX handles cross-references

2008-02-24 Thread Abdelrazak Younes
Dominik Böhm wrote: The user only has to provide for the equation labels. LyX would do the rest transparently. The good thing about it is, that it will be much easier for newbies and also for more advanced people if you have larger documents. I am writing on a >100 pages document with a lot of la

Re: LyX/Mac 1.6 -- Window issues

2008-02-24 Thread Abdelrazak Younes
Bennett Helm wrote: Perhaps the biggest UI problem on Mac concerns the recent addition of a button on the left of the tab bar to hide a document within that window. I don't know how it is on other platforms, but on Mac clicking that button simply makes the document disappear without a trace ..

Re: weighted_btree.h

2008-02-24 Thread Jürgen Spitzmüller
Dominik Böhm wrote: > Yes, that is definitively not a problem. A LGPL component can be compiled > into a commercial product which still maybe distributed as closed source. > So, LGPL is a licence with only few restrictions. Even if we are not a commercial product, we apparently can, as the lower h

Re: weighted_btree.h

2008-02-24 Thread Dominik Böhm
On Mon, Feb 25, 2008 at 8:04 AM, Jürgen Spitzmüller < [EMAIL PROTECTED]> wrote: > Just a question: Can we include LGPL-licensed code in LyX and still > distribute > the application under the GPL? Yes, that is definitively not a problem. A LGPL component can be compiled into a commercial product

How LyX handles cross-references

2008-02-24 Thread Dominik Böhm
Hi, I just wondered if there is a better way, how to handle cross-references. I am pretty sure that there are some kinds of cross-references that appear in nearly every document you write using LyX: 1. You always cross-reference sections / subsections / etc. 2. Floats (figures, tables, etc.) alwa

Re: weighted_btree.h

2008-02-24 Thread Jürgen Spitzmüller
Stefan Schimanski wrote: > I added Timo Bingmann's B+ Tree template class to trunk. As templates   > can cause problems with bad/old compilers, please report if they do so   > for you. Just a question: Can we include LGPL-licensed code in LyX and still distribute the application under the GPL? I'

Re: Killing boost::shared_ptr

2008-02-24 Thread Abdelrazak Younes
rgheck wrote: The attached patch does as advertised, replacing the shared pointer with a global cache of sorts of the TextClass's used by Buffers---or, more strictly, constructed by BufferParams::makeTextClass(). The action is in TextClass.{h,cpp}. I've left the typedef in TextClassPtr.h. A

Re: textclasslist

2008-02-24 Thread Abdelrazak Younes
rgheck wrote: After working on some other things, I'm given to ask this question: Would it be better if global objects such as baseclasslist (the old textclasslist) were replaced by singletons? Yes. Abdel.

Killing boost::shared_ptr

2008-02-24 Thread rgheck
The attached patch does as advertised, replacing the shared pointer with a global cache of sorts of the TextClass's used by Buffers---or, more strictly, constructed by BufferParams::makeTextClass(). The action is in TextClass.{h,cpp}. I've left the typedef in TextClassPtr.h. At the moment, i

textclasslist

2008-02-24 Thread rgheck
After working on some other things, I'm given to ask this question: Would it be better if global objects such as baseclasslist (the old textclasslist) were replaced by singletons? rh

weighted_btree.h

2008-02-24 Thread Stefan Schimanski
Hi! I added Timo Bingmann's B+ Tree template class to trunk. As templates can cause problems with bad/old compilers, please report if they do so for you. Stefan

Re: [PATCH (branch)] Adjust the loading of local layout files.

2008-02-24 Thread Bo Peng
> Applied to trunk. Will wait for 1.5.5. Also to branch. Bo

Re: Error Report...

2008-02-24 Thread Paul A. Rubin
Peter M. 'Mike' Sanchez wrote: I have looked through the LyX bug tracking system with no success. My problem is that the export functions (DVI, PDF, ASCII) all hang the LyX system, keeping my system at about 50%CPU usage; process = latex.exe. Also, the toolbar buttons of the same function al

Re: LyX/Mac 1.6 -- Window issues

2008-02-24 Thread Bennett Helm
On Feb 24, 2008, at 2:55 PM, rgheck wrote: 4. Using a keybinding to close a buffer and then the window that contained it (command-sequence buffer-close ; window-close) results in a crash. Curiously, doing this via the command buffer works fine. Here's the backtrace: There was a recent

InsetCommandParams: KeyVal Support

2008-02-24 Thread rgheck
Per Abdel's suggestion that we focus on bug-fixing at this point, this will be the last patch in this series for a bit. But I wanted to get this done before I forget what it is I was doing, so here it is. The idea behind this patch is to make real key-value support for InsetCommand parameter

Re: [ANNOUNCE]: LyX 1.5.4 is released

2008-02-24 Thread Bennett Helm
I've put a universal binary of LyX/Mac-1.5.4 here: Could someone move it to the appropriate server? Thanks. Bennett

Re: tex2lyx does no longer compile with SCons

2008-02-24 Thread Uwe Stöhr
Bo Peng schrieb: Bo, the fix you comitted, doesn't work. I get: Sorry, please try again. Works, thanks. regards Uwe

Re: LyX/Mac 1.6 -- Window issues

2008-02-24 Thread rgheck
4. Using a keybinding to close a buffer and then the window that contained it (command-sequence buffer-close ; window-close) results in a crash. Curiously, doing this via the command buffer works fine. Here's the backtrace: There was a recent commit about this rh

LyX/Mac 1.6 -- Toolbar issues

2008-02-24 Thread Bennett Helm
Here are a couple issues I've noticed with toolbars on LyX/Mac 1.6. 1. The icons are spaced very widely -- much more widely than on 1.5, which itself was spaced more widely than on 1.4. Thus, on a vertical toolbar, I can get 22 icons in 1.5, but only 16 on 1.6; similarly with a horizontal t

LyX/Mac 1.6 -- Window issues

2008-02-24 Thread Bennett Helm
Multi-window support has been evolving nicely with 1.6, resulting in LyX feeling more and more like a standard Mac app and being much more flexible. Nonetheless, there are some UI problems on Mac (some of which may be Mac specific), and I want at least to raise these issues to see if it's p

Error Report...

2008-02-24 Thread Peter M. 'Mike' Sanchez
Dear Sir, I have looked through the LyX bug tracking system with no success. My problem is that the export functions (DVI, PDF, ASCII) all hang the LyX system, keeping my system at about 50%CPU usage; process = latex.exe. Also, the toolbar buttons of the same function also hang the program. I

Re: tex2lyx does no longer compile with SCons

2008-02-24 Thread Bo Peng
> Bo, the fix you comitted, doesn't work. I get: Sorry, please try again. Bo

Re: tex2lyx does no longer compile with SCons

2008-02-24 Thread Uwe Stöhr
Uwe Stöhr schrieb: Due to the now used inclusion of InsetLayout.cpp to tex2lyx, it does no longer compile with SCons. Bo or whoever, can anybody please help me here? Bo, the fix you comitted, doesn't work. I get: InsetLayout.cpp release\src\tex2lyx\insets\InsetLayout.cpp(15) : fatal error C

Re: boost version

2008-02-24 Thread Stefan Schimanski
On Sun, Feb 24, 2008 at 12:56:40PM +0100, Stefan Schimanski wrote: Random access is linear with sets. QCompleter needs this, and even in the case of sorted completions (where a binary search is possible) it will search the first element matching a prefix which is O(log n)*O(n) operation the

[ANNOUNCE]: LyX 1.5.4 is released

2008-02-24 Thread Jürgen Spitzmüller
Public release of LyX version 1.5.4 We are pleased to announce the release of LyX 1.5.4. This is a maintenance release. Besides the usual stability improvements and fixes, this release comes with major improvements in the handling of Chinese, Korean and Japanes

Re: BRANCH DEEP FREEZE

2008-02-24 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Please do not commit anything. I'm trying to set up the release. Done. Branch is open again. Jürgen

Re: boost version

2008-02-24 Thread Stefan Schimanski
Am 24.02.2008 um 13:18 schrieb Andre Poenitz: On Sun, Feb 24, 2008 at 12:56:40PM +0100, Stefan Schimanski wrote: Random access is linear with sets. QCompleter needs this, and even in the case of sorted completions (where a binary search is possible) it will search the first element matching

Re: boost version

2008-02-24 Thread Andre Poenitz
On Sun, Feb 24, 2008 at 12:56:40PM +0100, Stefan Schimanski wrote: > Random access is linear with sets. QCompleter needs this, and even in the > case of sorted completions (where a binary search is possible) it will > search the first element matching a prefix which is O(log n)*O(n) operation >

Re: boost version

2008-02-24 Thread Stefan Schimanski
Am 24.02.2008 um 12:50 schrieb Andre Poenitz: On Sun, Feb 24, 2008 at 11:52:04AM +0100, Stefan Schimanski wrote: Am 24.02.2008 um 11:14 schrieb Andre Poenitz: On Sat, Feb 23, 2008 at 11:33:18PM +0100, Stefan Schimanski wrote: Hi! I would like to use the multi_index classes from the boost

Re: boost version

2008-02-24 Thread Andre Poenitz
On Sun, Feb 24, 2008 at 11:52:04AM +0100, Stefan Schimanski wrote: > > Am 24.02.2008 um 11:14 schrieb Andre Poenitz: > >> On Sat, Feb 23, 2008 at 11:33:18PM +0100, Stefan Schimanski wrote: >>> Hi! >>> >>> I would like to use the multi_index classes from the boost library. >>> Unfortunately this is

Re: Words set in Buffer

2008-02-24 Thread Stefan Schimanski
Am 24.02.2008 um 09:50 schrieb Abdelrazak Younes: Stefan Schimanski wrote: As I see this here now: this it_ was a first start to improve the performance of the (long-)words set in the Buffer. This is used to store the long words for the completion popup. Now the problem are these requirem

Re: boost version

2008-02-24 Thread Stefan Schimanski
Am 24.02.2008 um 11:14 schrieb Andre Poenitz: On Sat, Feb 23, 2008 at 11:33:18PM +0100, Stefan Schimanski wrote: Hi! I would like to use the multi_index classes from the boost library. Unfortunately this is not in the boost version we have in svn. Is it just old or do we have only a select

BRANCH DEEP FREEZE

2008-02-24 Thread Jürgen Spitzmüller
Please do not commit anything. I'm trying to set up the release. Thanks, Jürgen

Re: Trunk: Fonts Are a Mess

2008-02-24 Thread Andre Poenitz
On Sat, Feb 23, 2008 at 07:38:51PM -0500, rgheck wrote: >> I wonder whether one mustn't create static global instances of this class. >> > Apparently not. But I don't see anything in the docs about this...though I > haven't looked real closely, either. >From the QApplication doc: "Since the QA

Re: Trunk: Fonts Are a Mess

2008-02-24 Thread Andre Poenitz
On Sun, Feb 24, 2008 at 01:32:21AM +0100, Stefan Schimanski wrote: >>> As I don't touch the menus there, either we change something global >>> drawing related or it is a memory corruption or bug. If 23146 worked, can >>> you try to do some kind of binary search with the changes to find the >>> e

Re: Trunk: Fonts Are a Mess

2008-02-24 Thread Andre Poenitz
On Sat, Feb 23, 2008 at 07:31:57PM -0500, rgheck wrote: > In fact, it's enough to cause the problem to add this: > > class RtlItemDelegate : public QItemDelegate {}; > RtlItemDelegate rtlItemDelegate; > > Is there something about having multiple QItemDelegates? Nothing known. Andre'

Re: Trunk: Fonts Are a Mess

2008-02-24 Thread Andre Poenitz
On Sat, Feb 23, 2008 at 05:40:36PM -0500, rgheck wrote: > > See the screenshot. This is on Linux, qt4 4.3.3. I did not have this > problem last night. I saw this, and it went away after deleting ~/.config/Trolltech.conf. Not sure, why, though, it's just one of those random Karma improving mantras

Re: boost version

2008-02-24 Thread Andre Poenitz
On Sat, Feb 23, 2008 at 11:33:18PM +0100, Stefan Schimanski wrote: > Hi! > > I would like to use the multi_index classes from the boost library. > Unfortunately this is not in the boost version we have in svn. Is it just > old or do we have only a selection of boost modules? We only bundle those

Re: [Fwd: About Japanese edition LyX 1.5.3 for Windows OS IWAMI]

2008-02-24 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Juergen, Uwe, > > Could you please do something about that. done: http://www.lyx.org/news.php#item1 http://www.lyx.org/download/contrib.php > Iwami, 1.5.4 is going to be released soon (today?), are you going to > update your package? Would be good, especially since 1.5

Re: [Fwd: About Japanese edition LyX 1.5.3 for Windows OS IWAMI]

2008-02-24 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: > Don't know if you remember Mr Iwami, he's the one who helped us > implement input methods for CJK. It seems that he has prepared a special > edition for Windows Japonese users. He asks us if we could send the > announcement and put it on the web site too. I think this is

Re: Words set in Buffer

2008-02-24 Thread Abdelrazak Younes
Stefan Schimanski wrote: As I see this here now: this it_ was a first start to improve the performance of the (long-)words set in the Buffer. This is used to store the long words for the completion popup. Now the problem are these requirements: 1. the semantics of a set, i.e. every item shoul

Re: No link to PayPal from the donations page viewed with IE

2008-02-24 Thread Abdelrazak Younes
Angus Leeming wrote: I notice that the LyX donations page, http://www.lyx.org/donations.php, is unable to display the PayPal image. As a result, the admonition to "click the button below" isn't going to bring in much hard cash :-P Do we receive anything at all? I mean in the last years? Abdel