Age | Commit message (Collapse) | Author |
|
ComplexButtonResource was creating endless redraws.
Testcase:
<table>
<tr>
<td>
<div>
<button></button>
</div>
<div>
words words words words words words words words words words words
words words words words words words words words words words words
words words words words words words words words words words words
words words words words words words words words words words words
<span style="white-space:nowrap">And words in a span</span>
<button></button>
</div>
</td>
</table>
This also fixes redraw loops with <button> in combination with
limit_text_width=YES, so we no longer need to disable this option.
Reported and testcase by: corvid <corvid@lavabit.com>
|
|
* Variable length arrays are not allowed in C++. They are supported in
C99 and gcc seems to accept them in C++ mode.
Replace the few places where variable length arrays are used.
* The widget member in ComplexButtonResource was colliding with the
widget member of FltkResource, so rename it to childWidget.
|
|
Technically, Textblock's notifyImpl()s should probably call the Widget
one as well. It doesn't matter currently, since we don't look
for title attrs on elements that correspond to entire Textblocks.
|
|
"using namespace" in headers also affects all files that include the
header which is unwanted and unexpected in most cases.
|
|
To avoid lost user input on repush, we disable forms until all
stylesheets have been loaded.
Also open select widgets cause crashes on repush.
|
|
|
|
|
|
|
|
|
|
|