aboutsummaryrefslogtreecommitdiff
path: root/dw
AgeCommit message (Collapse)Author
2014-05-14Avoid removing imgbuf and decoding the whole image again for reloads.Jorge Arellano Cid
Using the same testing files as the previous patch, the results are: .---------------------------------------------. |imgbufs | No patch | Patch #1 | Patch #2 | |---------------------------------------------- |1imgA.html | 2/1 | 1/1 | 1/0 | |2imgSA.html | 3/2 | 1/2 | 1/0 | |3imgSA.html | 4/3 | 1/3 | 1/0 | |---------------------------------------------- |2imgA.html | 4/2 | 2/2 | 2/0 | |3imgA.html | 6/3 | 3/3 | 3/0 | '---------------------------------------------' n1/n2 means: n1 imgbufs were created for first load (empty cache) n2 imgbufs were created for reload (cached image) Notes: * Rendering is much faster. Easy to notice with Back operation. * Between four to five times on www.welt.de. * Corner cases can be more than ten times. Usually, it *feels* faster.
2014-05-14Avoid creation of unnecessary image bufs (at alt-text to img switch)Jorge Arellano Cid
This is the first of a patch series for image code bugs that have severe impact on performance. With these testing files: 1imgA.html = <img src="maj00s.png" alt="img1"> 2imgSA.html = <img src="maj00s.png" alt="img1"> <img src="maj00s.png" alt="img12"> 3imgSA.html = <img src="maj00s.png" alt="img1"> <img src="maj00s.png" alt="img12"> <img src="maj00s.png" alt="img123"> 2imgA.html = <img src="maj00s.png" alt="img1"> <img src="maj21s.png" alt="img12"> 3imgA.html = <img src="maj00s.png" alt="img1"> <img src="maj21s.png" alt="img12"> <img src="c10s.png" alt="img123"> This are the results: .------------------------------------------------------------------. |imgbufs | No patch | Patched #1 | | | first time | upon reload | first time | upon reload | |------------------------------------------------------------------- |1imgA.html | 2 | 1 | 1 | 1 | |2imgSA.html | 3 | 2 | 1 | 2 | |3imgSA.html | 4 | 3 | 1 | 3 | |------------------------------------------------------------------- |2imgA.html | 4 | 2 | 2 | 2 | |3imgA.html | 6 | 3 | 3 | 3 | '------------------------------------------------------------------'
2015-02-03for input placeholder, set position to beginning in case it's too long to ↵corvid
show all at once
2015-02-02TEXTAREA placeholder attributecorvid
2015-01-24input init usual_colorcorvid
Not 'necessary' at present, but valgrind complains and it's always good practice.
2015-01-22INPUT placeholder attributecorvid
2014-11-27further fix to fl_oldfocus replacementJorge Arellano Cid
http://lists.dillo.org/pipermail/dillo-dev/2014-November/010303.html for: "If an input has focus and you click on the page to give it focus instead, and then the cursor leaves the page and returns to it, the input is given focus instead."
2014-11-25rm Fl_Printer stubcorvid
thread http://lists.dillo.org/pipermail/dillo-dev/2014-September/010231.html
2014-11-25Fix a problem with FLTK's fl_oldfocus variableJorge Arellano Cid
http://lists.dillo.org/pipermail/dillo-dev/2014-November/010299.html and, from commit text for changeset eb902ac9fc66 "Starting with fltk-1.3.3, we can't use fl_oldfocus, this patch fixes this problem. IOW. this patch is necessary to link with fltk-1.3.3."
2014-03-20Fixed a bug related to line breaking. (Originally applied to floats repo.)Sebastian Geerken
2014-03-05use delete[] to delete arrayJohannes Hofmann
2014-03-02consts for overriding const functions from Fl_Browsercorvid
clang complains about this
2014-02-02trim some spacescorvid
2014-01-14commentcorvid
to a quick glance, that looked like division could be involved.
2013-12-27Minor RTFL fixes.Sebastian Geerken
2013-12-21Fix: RTFL message.Sebastian Geerken
2013-12-21Some more RTFL messages.Sebastian Geerken
2013-12-20RTFL messages.Sebastian Geerken
2013-12-09Activated RTFL again, see <http://www.dillo.org/~sgeerken/rtfl/>.Sebastian Geerken
2013-12-04Fix a couple of bugs in scaleRowBeautifulJorge Arellano Cid
An infinite loop situation (corner case race condition) and also avoid rescaling already scaled rows (speed).
2013-11-29mergeJohannes Hofmann
2013-11-29Typos.Jorge Arellano Cid
2013-11-27Background images are drawn instantly.Sebastian Geerken
2013-11-26Fixed bug with "tiled" image background buffers.Sebastian Geerken
2013-11-18Merge with main repo.Sebastian Geerken
2013-11-18Typo.Sebastian Geerken
2013-11-18Optimized drawing of very small background images.Sebastian Geerken
2013-11-18Fix related to recent "multiplyWithPerLength" change.Sebastian Geerken
2013-11-18Applied recent changes (multiplyWithPerLength) on background images.Sebastian Geerken
2013-11-18Merge with main repo.Sebastian Geerken
2013-11-17Some refactoring: floats may be removed related do Length, so usage is reduced.Sebastian Geerken
2013-11-17Small cleanup.Sebastian Geerken
2013-11-03code cleanupJohannes Hofmann
2013-11-02for VALIGN_SUB and VALIGN_SUPER only increase line-height if necessaryJohannes Hofmann
For cases like <div style="line-height:1.7"> dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo <sup>dillo</sup> dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo <sub>dillo</sub> dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo dillo </div> this gives equally spaced lines and also seems to replicate firefox behaviour.
2013-10-22Extended ImgRenderer; new option (in the code) for drawing background images ↵Sebastian Geerken
at once.
2013-10-21Fixed segfault.Sebastian Geerken
2013-10-20Documentation for image backgrounds.Sebastian Geerken
2013-10-16Merge with main repo.Sebastian Geerken
2013-10-16Strechability of non-justified lines: refinements.Sebastian Geerken
2013-10-15Constant strechability when line is not justified.Sebastian Geerken
2013-10-14Reset background image of the layout.Sebastian Geerken
2013-10-14'background-image' now also works for <button>.Sebastian Geerken
2013-10-09Removed obsolete comment.Sebastian Geerken
2013-10-09Correct initialization of words.Sebastian Geerken
2013-10-09Some cleanup.Sebastian Geerken
2013-10-09Comments.Sebastian Geerken
2013-10-08Cleaned up "reference area" of background images; confirms now to CSS spec.Sebastian Geerken
2013-10-08Comment.Sebastian Geerken
2013-10-07View(port) background now set by HTML parser.Sebastian Geerken
2013-10-04Background images for view(port)s are now updated.Sebastian Geerken