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>
|
|
|
|
There was a convoluted way of using an already freed bw:
first, one bw asks for a page, and that becomes conn->bw,
and then another bw starts also asking for the page, and
the first bw closes, invalidating the conn->bw, and then
the second bw closes and the cancel expect code tries to
use the old bw.
Fixed now.
|
|
|
|
|
|
|
|
HTML like
<div>hello</div>
</body>
</html>
<div>hello</div>
currently causes the document tree to be a forest with
two root nodes.
To ensure we don't leak the first tree, an additional root node is
introduced to hold all document trees.
Catched by: Jeremy's valgrind logs
Reported by: corvid <corvid@lavabit.com>
|
|
|
|
|
|
This also fixes updating the window tittle.
|
|
This handler is meant as a simple/extensible solution for the
upcoming dillo-3.0 release.
|
|
The width, measured in chars, is hardcoded now.
However, it can become a dillorc option easily.
|
|
|
|
|
|
|
|
|
|
When hiding, or leaving a highlighted button into another tab,
the "light" state lingered. This was specially nasty on
deactivated buttons as there was no easy way to recover the
normal state. e.g.
* Keep the mouse over Stop until the page fully loads.
* With mouse over Forw, go forward with keyboard until the end.
* Mouse over Home, Ctrl-t, mouse click previous tab.
* Start loading a page, mouse over Stop, Ctrl-t, wait for the
page to fully load, go back to the loading tab
* Mouse ove Home, hide panels, move mouse, show panels.
* etc.
|
|
|
|
This fixes a segfault bug introduced by changeset 350af350b840.
By mistake the expected URL got inside the parallel handling of CCC,
into a race condition with a segfault path.
|
|
|
|
When tabs overflow width, FLTK starts resizing the last tab label. This
patch handles the case more gracefully.
|
|
FLTK has no problem in resizing from a "fitting" size into a "compressed" one,
but if it starts compressed, things go wild.
|
|
This also removes the unused MenuBar variable.
|
|
|
|
|
|
|
|
Although right-click (or middle-click) is much better, new users don't have
an obvious way to find it out.
|
|
Also added hl_color() to change the highlight color.
|
|
|
|
The notMatchingBefore variable in CssSelector is modified as a page is
styled. Thererfore we can't share a single copy of the user- and
useragent-stylesheets between CssContexts.
Testcase:
<html>
<body>
<a href=whatever.html>
<img alt=test src=whatever.jpg>
</a>
<div>
<img src=something.jpg>
</div>
</body>
</html>
On reload the first image looses it's border.
Tests with gettimeofday showed times below 1ms to create user- and
useragent-styles on a Pentium-M 1.8 GHz laptop.
reported-by: corvid <corvid@lavabit.com>
|
|
|
|
It has lots of code cleanups and a simpler/more-uniform way of handling it all.
|
|
|
|
|
|
|
|
Nobody saw use for it...
|
|
This avoids the dialog bombing that stems from loading multiple
https images/resources in a single page. A proper fix would take
either to implement the https-dpi as a server (with state),
or to move back https handling into dillo.
|
|
|
|
BUG#948 Example: hg.dillo.org ("Contact" link).
|
|
|
|
|
|
|
|
|
|
|
|
This patch adds the PREFS_STRINGS type to the prefsparser, which allows having
multiple different strings asociated with one dillorc option (stored in a list)
|
|
|
|
After showing the download dialog, the original link remained unresponsive.
|
|
|