aboutsummaryrefslogtreecommitdiff
path: root/dw
AgeCommit message (Collapse)Author
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
2016-04-23RTFL.Sebastian Geerken
2016-04-23GROWS: new options allowDecreaseWidth and allowDecreaseHeight for size ↵Sebastian Geerken
correction.
2016-04-18Set fallback value for textarea rows to 3.Sebastian Geerken
2016-04-13Removed Layout::queueQueueResizeList and optimized multiple (both nested and ↵Sebastian Geerken
sequential) queueResize.
2016-04-04Fix typo in comment.Sebastian Geerken
2016-04-04Remove old (#if 0'ed) debugging code.Sebastian Geerken
2016-04-03Fix usage of OOFAwareWidget::updateReference.Sebastian Geerken
2016-04-03Merge with main repo.Sebastian Geerken
2016-04-03Replace OOFAwareWidget::borderChanged by OOFAwareWidget::updateReference.Sebastian Geerken
2016-04-03WidgetReference: Widget::widgetReference.Sebastian Geerken
2016-04-03WidgetReference: more RTFL.Sebastian Geerken
2016-04-03WidgetReference: set parentRef.Sebastian Geerken
2016-04-03WidgetReference: RTFL.Sebastian Geerken
2016-04-02Content with type WIDGET_OOF_REF now refers to new class WidgetReference.Sebastian Geerken
2016-03-26RTFL.Sebastian Geerken
2016-03-05Cleanup.Sebastian Geerken
2016-02-27Optimzie OOFFloatsMgr::markSizeChange.Sebastian Geerken
2016-01-23SRDOP: Fix wrong assert().Sebastian Geerken
2016-01-23SRDOP: Debugging.Sebastian Geerken
2016-01-10SRDOP: Fix passing positions to first block within a list item.Sebastian Geerken
2016-01-10RTFL.Sebastian Geerken
2016-01-10Whitespace.Sebastian Geerken
2016-01-10Deactivate interrupted drawing (until positioned elements are correctly ↵Sebastian Geerken
implemented).
2016-01-10Do not create a StacḱingContextMgr at all. (Until positioned elements are ↵Sebastian Geerken
correctly implemented.)
2016-01-09Widget::calcExtraSpace is only called for size, not for extremes.Sebastian Geerken
2016-01-09Better abort messages.Sebastian Geerken
2016-01-09SRDOP: Extend Widget::calcExtraSpace and Widget::calcExtraSpaceImpl by ↵Sebastian Geerken
references.
2016-01-08Rename OOFAwareWidget::isPossibleContainer to isPossibleOOFContainer (clang ↵Sebastian Geerken
warning).
2016-01-06Fix calculation of borders.Sebastian Geerken