summaryrefslogtreecommitdiff
path: root/dw/layout.cc
AgeCommit message (Collapse)Author
2011-08-09crossing-events part4 (fix corner case: moving into the common ancestor)Jorge Arellano Cid
In this case the ancestor is already in "entered" state, but we need to emit the signal again, for it to reset its state and resume.
2011-08-01crossing-events part3 (fix leaving a link into a non-dw widget)Jorge Arellano Cid
This patch also disables unused code in Layout::leaveNotify()
2011-07-29Removed lingering MSGJorge Arellano Cid
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-27Layout::moveToWidget(): send crossing events (part 2)Jorge Arellano Cid
This patch fixes 3f74e4d60ac1 (which is partly wrong). The idea is to avoid spurious leave/enter events, and thus prevent bugs. * avoid issuing spurious leave/enter events, and send the necessary ones. * remove the need for a workaround linkEnter() call in Textblock::leaveNotifyImpl().
2011-07-08Layout::moveToWidget(): send crossing events considering border casesJorge Arellano Cid
i.e. when the source or target widget is NULL (This patch doesn't fix a *known* bug ATM, but it could be doing it, or may avoid one in the future).
2011-05-13more free/deletecorvid
2011-05-12Bug fix: resize the viewport internally (when attached to a layout)Jorge Arellano Cid
* It also has a fix for scrollbars resize, and an optimization to avoid scrollbar adjustment overhead.
2011-05-11mergeJorge Arellano Cid
2011-05-10straighten out free/delete/delete[]corvid
2011-05-06Fixed a typo bug in Layout::setSizeHintsJorge Arellano Cid
2011-02-25layout: less bandaidycorvid
suggested by Johannes
2011-02-24add some band-aids again for now for this whole events-during-deletion problemcorvid
Conceptually, what feels like it 'should' happen when the form widgets are deleted and MOVEs and LEAVEs and whatnot are flying around is for the viewport not to do anything with events. But it would want to accept FOCUS, and no doubt there are other cases to make it not so simple.
2011-02-23different fix for the getWidgetAtPoint problemscorvid
2011-01-23extend Johannes's deletingTopLevel workaround from 400a06a83891corvid
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-10-17first ref(), then unref() in Layout::setBgColor()Johannes Hofmann
In case new and old bgColor are the same thing, we need to avoid to delete bgColor by first unref()ing it.
2010-10-17refcount Layout::bgColorJohannes Hofmann
2010-09-24call layout->setBgColor() from web.ccJohannes 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-10-29emit link press/release even when no widget present at pointcorvid
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-07-05keybindings for scrollingcorvid
2009-05-31Remove doxygen's confusion on some function signaturesJeremy Henty
2009-03-02Updated the GPL copyright note in the source filesDetlef Riekenberg
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2009-02-08Fixed a couple of uninitialized-value bugs (detected with valgrind)Jorge Arellano Cid
2009-02-08's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.Jorge Arellano Cid
2009-01-16Added lout/msg.h and normalized debug messages to use it.Jorge Arellano Cid
2008-09-30- s/todo:/TODO:/gjcid
2008-09-24- Moved the dw2 tree into dillo2's tree.jcid