aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
AgeCommit message (Collapse)Author
2025-05-08Make Ctrl+C copy selection into clipboardRodrigo Arias Mallo
Follows the behavior of so many other programs by copying the current text selection into the clipboard with Ctrl+C. Selecting text continues to copy it into the primary selection. Fixes: https://github.com/dillo-browser/dillo/issues/228
2025-05-07Copy links to clipboard selection tooRodrigo Arias Mallo
Selecting text in the page copies only to the primary selection. Copying links via the context menu now places the URL both in the primary and clipboard selections so it can also be pasted with Ctrl+V. See: https://github.com/dillo-browser/dillo/issues/228
2024-11-14Only limit resizes on the top-level layoutRodrigo Arias Mallo
Buttons also have their own Layout, which will try to resize every time the window has changed. We are only interested in the top-level layout, as is the one that has a problem on some pages.
2024-08-07Stop the layouting loop after 1000 iterationsRodrigo Arias
Prevents Dillo from hoarding the CPU due to an infinite loop in the layouting. We also return the control to FLTK to update the screen and process events each 100 iterations, to keep the window responsive. It doesn't fix the root cause of the github-infinite-loop test, but it does allow the rendering to finish with no differences with the reference test.
2016-04-13Removed Layout::queueQueueResizeList and optimized multiple (both nested and ↵Sebastian Geerken
sequential) queueResize.
2014-12-21Merge with main repo.Sebastian Geerken
2014-12-21more (and indentation in one spot)corvid
2014-10-14Widget::stackingContextWidget; as well as some cleanup and debug messages.Sebastian Geerken
2014-08-10Optimized usage of Layout::queueQueueResizeList.Sebastian Geerken
2014-08-10trim spacescorvid
...now that floats and grows are in the repo and I won't be making Sebastian's life difficult with a bunch of whitespace changes.
2014-07-18Handling nested layouts (e. g. <button>), part 3 (finish).Sebastian Geerken
2014-06-16Started work on more efficient handling of viewport size changes.Sebastian Geerken
2014-05-31GROWS: First work on how to handle viewport changes.Sebastian Geerken
2014-05-06New signal "resizeQueued" for Layout. It is used by ComplexButtonResource, ↵Sebastian Geerken
instead of "canvasSizeChange"; this seems to fix a CPU hogging problem.
2014-03-02Refined recent fix.Sebastian Geerken
2014-02-19Fixed misnaming.Sebastian Geerken
2014-02-16(i) Widget::ueueResize can now be called recursively (so to speak). (ii) ↵Sebastian Geerken
Using (i), float size changes are handled correctly.
2013-12-09Merge (large!).Sebastian Geerken
2013-10-14'background-image' now also works for <button>.Sebastian Geerken
2013-10-08Cleaned up "reference area" of background images; confirms now to CSS spec.Sebastian Geerken
2013-10-04Background images for view(port)s are now updated.Sebastian Geerken
2013-10-04Background image for view(port)s; no updates yet.Sebastian Geerken
2013-08-22More tests.Sebastian Geerken
2013-08-21Some tests.Sebastian Geerken
2013-07-30Two bug fixes: (i) queueResize within sizeRequest should work now; (ii) ↵Sebastian Geerken
resizes floats lead to correct rewrapping. (Unfortunately very unstable now again.)
2013-06-17Added gamma correction value to dw::core::ImgBuf.Sebastian Geerken
2013-01-11fix up dw namespace commentsp37sitdu
2012-12-24layout put scrollbar thickness calcs in separate fnscorvid
2012-11-04rm mayBeSuppressedcorvid
...since we aren't currently making any good use of it.
2012-10-30trim some spacescorvid
2012-06-27First version of automatic hyphenation. (Still a large number of bugs.)sgeerken
2011-10-22text-transform propertycorvid
2011-07-29avoid double draw after scrollIdle()Jorge Arellano Cid
After going back or forward to any page, there were two redraws: one from the origin and another from the scroll position. This patch avoids flicker, and makes rendering 100% faster in this case.
2011-07-08Cancel the tooltip window when a popup menu is shownJorge Arellano Cid
2011-05-27Make sources fit in 80 columnsJorge Arellano Cid
2011-02-23different fix for the getWidgetAtPoint problemscorvid
2011-01-21quick fix for Layout::getWidgetAtPoint() crash in fltk-1.3Johannes Hofmann
fltk-1.3 calls fl_fix_focus() on widget deletion, which causes dillo to traverse it's own widget tree while it's getting deleted. Stop this using a flag for now. It would be nice if we could fix this more elegantly.
2010-09-17draw topLevel background if it differs from canvas backgroundJohannes Hofmann
2010-09-17directly set background colorJohannes Hofmann
As defined in http://www.w3.org/TR/CSS2/colors.html, the background color of the canvas can either be defined by the <html> or the <body> tag. To be able to deal with this in src/html.cc we now explicitely set the canvas color instead of infering it from the root widget.
2009-11-17properly handle comma separated lists of font names in CSSJohannes Hofmann
2009-10-29move link signal emitter/receiver from Widget to Layoutcorvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2009-October/006936.html
2009-10-15remove multiple views capability from dwcorvid
It was complicated, we don't use it, and we currently had no plans to use it.
2009-10-15remove "using namespace" statements from header filesJohannes Hofmann
"using namespace" in headers also affects all files that include the header which is unwanted and unexpected in most cases.
2009-10-03some tooltipscorvid
2009-07-05keybindings for scrollingcorvid
2009-05-31Remove doxygen's confusion on some function signaturesJeremy Henty
2009-05-31line lengthcorvid
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2009-02-08Implemented "search previous" in string searchesJoão Ricardo Lourenço
2008-12-11always use shaded colorsJohannes Hofmann
This makes things much simpler and improves sharing of colors. If computing two more shades really proves to be a performance issue, we can shade on demand without exposing this optimization to the interface.