aboutsummaryrefslogtreecommitdiff
path: root/dw
AgeCommit message (Collapse)Author
2016-07-16Change OOFFloatsMgr::markSizeChange()Jorge Arellano Cid
We change to a graph coverage model, with pruning.
2016-07-16Optimize Textblock::updateReference.Jorge Arellano Cid
This helps to avoid unnecessary resize calls.
2016-07-16Fix Layout::resizeIdle()Jorge Arellano Cid
This was three year old bug, that went undiscovered (hg#2863). The patch is simpler than it looks, it's just a while cycle enclosing the body, indentation makes it look large. How to reproduce: 1. Load [5] at normal size, wait for most images to load, search for "re-re" with Find Text, press page down (you'll see an image), go Bck/Fwd, check the image is there. If not, you can place the cursor where the image was, if you get a hand cursor, Dillo thinks it is there. Wait for the tooltip and drag it a bit downwards to the right, Dillo will repaint from the image data. [5] http://tinyurl.com/huvf6pn
2016-07-13cppcheck: fix format stringJohannes Hofmann
2016-07-12cppcheck: AFAICS a false positive (should be reported to them)Jorge Arellano Cid
A simple code order changes, which is not relevant in this case, but pleases cppcheck: - for (a,b; ; ) + for (b,a; ; )
2016-07-10RTFL.Sebastian Geerken
2016-07-09Cleanup OOFFloatsMgr::collidesH().Sebastian Geerken
2016-06-26Fix possible memory leak (SizeParams::forChild => childParams).Sebastian Geerken
2016-06-26Fix memory leak (OOFFloatsMgr::Float).Sebastian Geerken
2016-06-26Fix another valgrind complain.Sebastian Geerken
2016-06-26Fix valgrind complain.Sebastian Geerken
2016-06-26Simplify again the signature of OOFAwareWidget:getGeneratorWidth(), with a ↵Sebastian Geerken
slightly more complex (but more correct) implementatin for Textblock.
2016-06-24typoJorge Arellano Cid
2016-06-20Incremental resizing for OOFFloatsMgr.Sebastian Geerken
2016-06-18Fix <button> size (treat as inline).Sebastian Geerken
2016-06-18Merge, undo Jorges change.Sebastian Geerken
2016-06-18Documentation and comments on Jorge's patch.Sebastian Geerken
2016-06-17Fix for updateReference() (missing content, overlapped text sometimes)Jorge Arellano Cid
This is a race condition. When loading [1], tables under the form date camp, may dissapear and some overlapping text be shown below. How to reproduce: load the site (network effect may be enough), or go back and forward a few times, or maximize then back and forward. [1] http://www.btgpactual.mdgms.com/www/chile/resume.html FWIW this is the only regression I've found so far.
2016-06-17Fix for CPU-hog bugs with deeply nested elements.Jorge Arellano Cid
This patch fixes a cpu-hog regression of GROWS2 with respect to dillo-3.0.5. The problem arises with some deeply nested elements. e.g.: (for i in $(seq 1 20); do echo '<div style="float:left"><div></div><div style="display:table"><span></div></div>'; done) > t0.html (for i in $(seq 1 20); do echo '<div style="float:left"><div></div><div style="display:table"></div>'; done) > t1.html For both, taking away the SPAN or float is much faster. Note: Some "unrelated" sited (i.e. not clearly hogging the CPU) have been measured to render near two times faster with the patch.
2016-06-17Optimize Textblock::updateReference().Jorge Arellano Cid
2016-06-17RTFL.Sebastian Geerken
2016-06-14Whitespace.Sebastian Geerken
2016-06-04Revert an accidental commit of testing code (2 patches in the queue).Jorge Arellano Cid
2016-06-04imported patch pos-adjustmentsJorge Arellano Cid
2016-06-04imported patch renamesJorge Arellano Cid
2016-05-29Comment.Sebastian Geerken
2016-05-29Fix position for sizeRequest in Textblock widget (simplification).Sebastian Geerken
2016-05-29Fix position for sizeRequest in Textblock widget (comments).Sebastian Geerken
2016-05-29Fix position for sizeRequest in Textblock widget (corrections).Sebastian Geerken
2016-05-29Comments, cleanup.Sebastian Geerken
2016-05-29Comments.Sebastian Geerken
2016-05-29Fix position for sizeRequest in Textblock widget (draft).Sebastian Geerken
2016-05-29Fix SRDOP related bug in Widget::sizeRequest.Sebastian Geerken
2016-05-27RTFL messages.Sebastian Geerken
2016-05-27TyposJorge Arellano Cid
2016-05-27Textblock::getGeneratorWidth() may use caller information to adjust return ↵Sebastian Geerken
value. This fixes too small return values of getGeneratorRest().
2016-05-26Fix RTFL messages.Sebastian Geerken
2016-05-19Rewrote OOFAwareWidgetIterator next() and prev() for safety.Jorge Arellano Cid
Now: getPart(): can't receive out-of-range values for "index" and "sectionIndex". setValues(): below-range indexes go to START and above-range to END. prev(), next(): have a single value-checked entry-point to getPart(). PD: it's easier to read the source of these functions than the diff.
2016-05-17Fixed a CPU hog bug when rendering slashdot.Jorge Arellano Cid
https://linux.slashdot.org/comments.pl?sid=5852295&cid=48188823 It was hard to find, sometimes backtraces gave near 85 or more nested calls, full of different functions. There was no CPU lock because it finally solved the page (after more than two minutes in my machine). Finding the bug: > 99,9% of the effort. Actual fix : ~ 0.01% of the effort.
2016-05-16Fix segfault in OOFAwareWidget::OOFAwareWidgetIterator.Jorge Arellano Cid, Sebastian Geerken
2016-05-10Use border values only when ther is a border (float).Sebastian Geerken
2016-05-08RTFL.Sebastian Geerken
2016-05-08Allow negative Textblock::getGeneratorWidth (fixes case of overlapping floats.Sebastian Geerken
2016-04-30Silenced debug messages left from patch #4534Jorge Arellano Cid
2016-04-30RTFL.Sebastian Geerken
2016-04-29FltkViewport::draw() part2: cleanups and three bug fixes.Jorge Arellano Cid
Rewrote FltkViewport::draw() into a much cleaner style, fixing 3 problems. Bug fixes: 1. The mouse button FL_RELEASE event over the scrollbars area triggered an unnecessary redraw. 2. The mouse button FL_RELEASE event, after scrolling, triggered an unnecessary redraw. 3. The FL_RELEASE event, after {horiz|vert}scrolling was passed upwards although already handled.
2016-04-27Reduce in half the redraws when scrolling.Jorge Arellano Cid
Now there's a single fl_scroll() call for each scroll operation, instead of calling fl_scroll() and then draw(). The patch also fixes support for FL_DAMAGE_EXPOSE in FltkViewport::draw(). Test data: FL_DAMAGE_CHILD = 0x01, 1 FL_DAMAGE_EXPOSE = 0x02, 2 FL_DAMAGE_SCROLL = 0x04, 4 FL_DAMAGE_OVERLAY = 0x08, 8 FL_DAMAGE_USER1 = 0x10, 16 FL_DAMAGE_USER2 = 0x20, 32 FL_DAMAGE_ALL = 0x80 128 -----------------------------------------------------------------------------. | scroll: keys | focus click | Alt-Tab | unfocus| | or mousewheel | viewport | statusbar | unfocus | focus | click | -----------------------------------------------------------------------------| d4235 | 5,5 | 16 | | 128 |128,128,128| | d4529 | 5,5 | 16 | | 128 |128,128,128| | dpatch | 5 | 16 | | 128 |128,128,128| | -----------------------------------------------------------------------------' </pre> The first column means dillo version (hg rev). The second one the FLTK damage bits received by FltkViewport::draw() per scroll operation (also viewable at dillo's stdout). The other columns show excessive calls, but that's another bug that is not as relevant as scrolling now, so feel free to ignore them by now.
2016-04-24GROWS: Fix Embed::getExtremesSimpl.Sebastian Geerken
2016-04-23GROWS: Fix Embed::sizeRequestSimpl.Sebastian Geerken
2016-04-23GROWS: Fix rounding errors.Sebastian Geerken