Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Tommaso Cucinotta
Il 23/04/2011 19:52, Edwin Leuven ha scritto: Richard Heck wrote: I guess the other idea would be to recurse through all the insets. attached, and no more crashes. i think i prefer this solution (although i am not sure we need to add the code to insettext) ed. FYI, I just added a test-case

External material/graphics empty samples (was: Re: Simple Drawing Ability)

2011-04-23 Thread Tommaso Cucinotta
Il 20/04/2011 18:25, Jens Nöckel ha scritto: On Apr 19, 2011, at 3:06 PM, Tommaso Cucinotta wrote: AFAIK, after the thread http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154697.html there was no actual implementation of this feature, for creating quickly empty external files over whi

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Richard Heck
On 04/23/2011 02:07 PM, John McCabe-Dansted wrote: On Sat, Apr 23, 2011 at 11:45 PM, Edwin Leuven wrote: ..\..\..\lyx-devel\src\support\lassert.cpp(21): ASSERTION false VIOLATED IN ..\..\lyx-devel\src\CursorSlice.cpp:188 In case this is relevant, this assertion also shows up in: http://gmat

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Richard Heck
Regarding the x2.patch, the problem is that par_iterator_begin() does not give us a "complete" DocIterator (one starting with the Buffer's own InsetText, etc), which is what we need. I am constantly running into this problem! Regarding the other patch, adding the code to InsetText just seeme

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread John McCabe-Dansted
On Sat, Apr 23, 2011 at 11:45 PM, Edwin Leuven wrote: > ..\..\..\lyx-devel\src\support\lassert.cpp(21): ASSERTION false > VIOLATED IN ..\..\lyx-devel\src\CursorSlice.cpp:188 In case this is relevant, this assertion also shows up in: http://gmatht.homelinux.net/xp/keytest/html_out/out/t18//html/

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Edwin Leuven
Richard Heck wrote: > I guess the other idea would be to recurse > through all the insets. attached, and no more crashes. i think i prefer this solution (although i am not sure we need to add the code to insettext) ed. x3.patch Description: Binary data

Re: new SVG icon for lyx

2011-04-23 Thread Jürgen Spitzmüller
nbubis wrote: > It would be great if someone could add it to the wiki icon page ( > http://wiki.lyx.org/LyX/Icons) I'd love to, but I cannot login either. Do we have a new password? Jürgen

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Edwin Leuven
Richard Heck wrote: > Can you post this version of the patch > and I'll try to have a look? attached > I'm wondering where these comparisons are > being made and whether we need to do > something to the cursor. But I'm really > just guessing here. very frustating this poking in the dark... > I

Re: Another basic requested feature

2011-04-23 Thread Jürgen Spitzmüller
Inon Sharony wrote: > I'm having trouble pasting into LyX tables -- there is no native > identification of such delimiters as commas, spaces or tabs, so whenever > I highlight a table in some text editor or from the terminal screen, it > always gets pasted in a single cell. Can this be changed t

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Richard Heck
On 04/23/2011 11:45 AM, Edwin Leuven wrote: I wonder if we could try: ParagraphList::const_iterator pit = tail.getText(0)->paragraphs().begin(); buffer().updateBuffer(pit, OutputUpdate); i am not sure i completely follow you, but when i use buffer().updateBuffer(par_iterator_begin(tai

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Richard Heck
On 04/23/2011 11:45 AM, Edwin Leuven wrote: I wonder if we could try: ParagraphList::const_iterator pit = tail.getText(0)->paragraphs().begin(); buffer().updateBuffer(pit, OutputUpdate); i am not sure i completely follow you, but when i use buffer().updateBuffer(par_iterator_begin(tai

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Edwin Leuven
Richard Heck wrote: > My main comment would be that I suspect, but of course > couldn't verify, due to the crashes, that the same > problem exists in the TexRow() output routine, i checked that previewing the document and having the source view pane open worked my guess was that things are ok as

Re: Another basic requested feature

2011-04-23 Thread Liviu Andronic
On Sat, Apr 23, 2011 at 3:28 PM, Inon Sharony wrote: > Good afternoon, LyX developers! > > I'm having trouble pasting into LyX tables -- there is no native > identification of such delimiters as commas, spaces or tabs, so whenever I > highlight a table in some text editor or from the terminal scre

new SVG icon for lyx

2011-04-23 Thread nbubis
Hi all, I recently made a SVG icon for lyx, mostly for use in various docks (linux / Mac) . It would be great if someone could add it to the wiki icon page ( http://wiki.lyx.org/LyX/Icons) The icon can be found here: http://nbubis.deviantart.com/art/lyx-svg-icon-205753578

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Richard Heck
On 04/23/2011 06:56 AM, Edwin Leuven wrote: Richard Heck wrote: Answer: No, probably not, because it's hard to see how to do this without making copies, which would just give us the same problem back again. the attached avoids the crash for me by setting the macrocontext for nested insets (and

Another basic requested feature

2011-04-23 Thread Inon Sharony
Good afternoon, LyX developers! I'm having trouble pasting into LyX tables -- there is no native identification of such delimiters as commas, spaces or tabs, so whenever I highlight a table in some text editor or from the terminal screen, it always gets pasted in a single cell. Can this be cha

Re: Track changes: Incorrect behavior on trailing spaces (Ticket #7487)

2011-04-23 Thread stefano franchi
On Fri, Apr 22, 2011 at 4:29 PM, Diego Queiroz wrote: > I've sent a new ticket to the bug tracker today regarding an issue with > track changes. > > I would like to see some comments about this. > > > > When tracking changes, the system does not handle correctly the word > leading/trailing sp

Re: [DIAGNOSIS] Re: crash in trunk

2011-04-23 Thread Edwin Leuven
Richard Heck wrote: > Answer: No, probably not, because it's hard to see > how to do this without making copies, which would > just give us the same problem back again. the attached avoids the crash for me by setting the macrocontext for nested insets (and only doing the metrics call on the tail;

Re: Master document

2011-04-23 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Two additions: [...] sorry, wrong list. Jürgen

Re: Master document

2011-04-23 Thread Jürgen Spitzmüller
Two additions: Jürgen Spitzmüller wrote: > Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to > Document > Settings > Child Documents in the master and select the > respective children (this is the includeonly GUI). For includeonly, you will need to compile the master (View