Le 10/09/2016 à 17:29, Enrico Forestieri a écrit :
On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote:

Tell me how much time you think it will take you. One month?
Two months? Three months? I'll wait for that time.

No response and no other nay. So, I am going ahead.


Hi Enrico,

I think I like the idea of the patch, but also I have the feeling that
this is the sort of change that will require time for appreciating all
its consequences.

But, when you call for the opinions of other people on the list, I think
one day is too short a delay. Maybe waiting one week would have been better.

Also, I tried the patch in current master, and it crashed. Bisect points
to 2aa930bbe. See below for a trace.

Guillaume



Thread 1 "lyx" received signal SIGSEGV, Segmentation fault.
0x0000000000cdc174 in lyx::operator== (l=..., r=r@entry=0xd96a12 "textmode")
    at ../../../src/support/docstring.cpp:181
181                     if (*it != static_cast<lyx::docstring::value_type>(*r))
(gdb) bt
#0 0x0000000000cdc174 in lyx::operator== (l=..., r=r@entry=0xd96a12 "textmode")
    at ../../../src/support/docstring.cpp:181
#1  0x000000000085ae5b in lyx::MathMacro::write (this=0x2c31580, os=...)
    at ../../src/mathed/MathMacro.cpp:933
#2  0x0000000000846820 in lyx::write (dat=..., wi=...)
    at ../../src/mathed/MathExtern.cpp:1407
#3  0x0000000000885775 in lyx::operator<< (ws=..., ar=...)
    at ../../src/mathed/MathStream.cpp:206
#4 0x000000000082db9f in lyx::InsetMathScript::write (this=0x2c313f0, os=...)
    at ../../src/mathed/InsetMathScript.cpp:508
#5  0x0000000000846820 in lyx::write (dat=..., wi=...)
    at ../../src/mathed/MathExtern.cpp:1407
#6  0x0000000000885775 in lyx::operator<< (ws=..., ar=...)
    at ../../src/mathed/MathStream.cpp:206
#7 0x00000000008aa7fa in lyx::InsetMathGrid::write (this=this@entry=0x2c358f0,
    os=..., beg_row=beg_row@entry=0, beg_col=beg_col@entry=0,
    end_row=<optimized out>, end_col=end_col@entry=4)
    at ../../src/mathed/InsetMathGrid.cpp:1310
#8 0x00000000008aacb1 in lyx::InsetMathGrid::write (this=this@entry=0x2c358f0,
    os=...) at ../../src/mathed/InsetMathGrid.cpp:1263
#9 0x00000000008d020b in lyx::InsetMathXYMatrix::write (this=0x2c358f0, os=...)
    at ../../src/mathed/InsetMathXYMatrix.cpp:88
#10 0x0000000000846820 in lyx::write (dat=..., wi=...)
    at ../../src/mathed/MathExtern.cpp:1407
#11 0x0000000000885775 in lyx::operator<< (ws=..., ar=...)
    at ../../src/mathed/MathStream.cpp:206
#12 0x0000000000807012 in lyx::InsetMathHull::plaintext (this=0x2c2d960,
    os=..., op=..., max_length=<optimized out>)
    at ../../src/mathed/InsetMathHull.cpp:2236
#13 0x0000000000805670 in lyx::InsetMathHull::forOutliner (this=0x2c2d960,
    os=L"") at ../../src/mathed/InsetMathHull.cpp:2570
#14 0x00000000006a88de in lyx::Paragraph::forOutliner (this=0x2c2c630, os=L"",
    maxlen=maxlen@entry=121, shorten=shorten@entry=false)
    at ../../src/Paragraph.cpp:3295
#15 0x00000000006f0f7a in lyx::Text::forOutliner (this=this@entry=0x2c32af8,
    os=L"", maxlen=maxlen@entry=120, shorten=shorten@entry=true)
    at ../../src/Text.cpp:2054
#16 0x00000000009a9758 in lyx::InsetNote::addToToc (this=0x2c32ae0, cpit=...,
    output_active=<optimized out>, utype=lyx::InternalUpdate)
    at ../../src/insets/InsetNote.cpp:219
#17 0x00000000009ff880 in lyx::InsetText::iterateForToc (
    this=this@entry=0x27228e0, cdit=...,
    output_active=output_active@entry=true,
utype=utype@entry=lyx::InternalUpdate) at ../../src/insets/InsetText.cpp:869 #18 0x00000000009ffe69 in lyx::InsetText::addToToc (this=0x27228e0, cdit=...,
    output_active=<optimized out>, utype=lyx::InternalUpdate)
    at ../../src/insets/InsetText.cpp:837
#19 0x000000000074ba8d in lyx::TocBackend::update (this=0x2554640,
    output_active=output_active@entry=true,
    utype=utype@entry=lyx::InternalUpdate) at ../../src/TocBackend.cpp:303
#20 0x00000000004f085b in lyx::Buffer::updateBuffer (this=0x231fce0,
    scope=scope@entry=lyx::Buffer::UpdateMaster,
    utype=utype@entry=lyx::InternalUpdate) at ../../src/Buffer.cpp:4609


Reply via email to