aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.cc
AgeCommit message (Collapse)Author
2023-12-30Fix bogus comparison of oofContainer[i]Rodrigo Arias Mallo
The same index was being used in both sides of the comparison.
2016-08-09Merged commit #4653 (float clearance).Jorge Arellano Cid
Test case: <body> <div id="a"> <div id="b" style="float:left">main</div> </div> <div id="c" style="clear:left"></div> <div id="d">footer</div> </body> Note: passes all the tests at http://www.dillo.org/test/4648/test-suite.v1.txt
2016-08-04Revert commit #4653 (on hold)Jorge Arellano Cid
This patch is "on hold", as it depends on reverted code, and at least would need a non-automatic merge.
2016-07-24Remove obsolete method.Sebastian Geerken
2016-07-24Fix update problem related to CSS 'clear'.Sebastian Geerken
2016-07-17RTFL.Sebastian Geerken
2016-07-16Optimize Textblock::updateReference.Jorge Arellano Cid
This helps to avoid unnecessary resize calls.
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-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-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-29Fix position for sizeRequest in Textblock widget (draft).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-08RTFL.Sebastian Geerken
2016-05-08Allow negative Textblock::getGeneratorWidth (fixes case of overlapping floats.Sebastian Geerken
2016-04-30RTFL.Sebastian Geerken
2016-04-23GROWS: new options allowDecreaseWidth and allowDecreaseHeight for size ↵Sebastian Geerken
correction.
2016-04-03Replace OOFAwareWidget::borderChanged by OOFAwareWidget::updateReference.Sebastian Geerken
2016-04-03WidgetReference: Widget::widgetReference.Sebastian Geerken
2016-04-02Content with type WIDGET_OOF_REF now refers to new class WidgetReference.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-09Widget::calcExtraSpace is only called for size, not for extremes.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-03Fix (first half of) problem with "clear" position.Sebastian Geerken
2016-01-02SRDOP: Consider references and positions in Textblock::sizeRequestImpl (fix).Sebastian Geerken
2016-01-02Style.Sebastian Geerken
2016-01-01SRDOP: Consider references and positions in Textblock::sizeRequestImpl.Sebastian Geerken
2016-01-01Fix RTFL message.Sebastian Geerken
2015-12-30SRDOP: fix floats within textblocks not necessarily allocating the availabke ↵Sebastian Geerken
width.
2015-12-29SRDOP: More RTFL.Sebastian Geerken
2015-12-28SRDOP: Fix endless recursion.Sebastian Geerken
2015-12-28RTFL messages.Sebastian Geerken