aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-17Fix Layout::viewportSizeChanged.Sebastian Geerken
2016-07-17Reverse commit 4647:8c6b1b79d329.Sebastian Geerken
2016-07-17Comment on Jorge's commit.Sebastian Geerken
2016-07-17RTFL.Sebastian Geerken
2016-07-16fix Layout::viewportSizeChanged.Jorge Arellano Cid
When changing viewport size, sometimes the resize wasn't propagated properly. e.g. pravda #2 in the results below. Here follows the test suite and its results: -------------------------------------------- Legend: d4646 = dillo version #4646 in Mercurial repository. x a = Test failed, with code a = Problems 1, 9 and 3. Custom test pages at: http://www.dillo.org/test/4648/ Results Table .-------.--------.------.-----------.-----------------------.-----.-----. | | BTG | test | pravda.ru | 4ta.html | VT | PV | | | render | t.* | #1 | #2 | Girl | footb. | horos.| | | |-------|--------|------|-----------|-----------------------|-----|-----| |d4648 | ok | ok | ok | ok | ok | ok | ok | ok | ok | |d4647 | ok | ok | ok | x g | ok | ok | ok | ok | ok | |d4646 | ok | ok | x a | x l | ok | x j | x d | x n | ok | |d4645 | ok | ok | x m | x l | ok | x j | x d | ok | ok | |d4644 | ok | ok | x a | x b | ok | x j | x d | ok | x k | |incr | ok | ok | x a | x b | x c | ok | x d | ok | x k | |d4587t2|~ x f | ok | ok | ok | ok | ok | ok | x i | | |d4587+ | ok | ok | ok | ok | ok | ok | ok | x i | x k | |d4587 | ok | x e | ok | ok | ok | ok | ok | x i | x k | |d4584 | ok | x h | ok | ok | ok | ok | ok | x i | x k | -----------------------------------------------------------------------| |ok7 | ok | ok | ok | x g | ok | ok | ok | | | |tmp8 | ok | x e | | | | | | | | |tmp9 | ok | ok | | | | | | | | |tmp9.1 | ok | ok | ok | x g | ok | ok | ok | | | '-----------------------------------'-----------------------------'-----' ___________________________________________________________ / a | b | c | d | e | f | g | h | i | j | k \ incr = d4594 | 1 9 3 | 1 9 4 | 9 | 1 5 | 6 | 7 | 4 | 12 | 13 | 8 9 | 10 | 47 = prune patch '------------------------------------------------------'----' 45 = idle patch | l: 13 | m: 4 2| n: 5 9 | 46 = words patch 48 = viewportchg Problems: 1: overwrites text with images. 2: crops images (aspect ratio). 3: different layout. 4: overwrites text with float. 5: overwrites text with text. 6: CPU HOG with: t2.n, t2.n.sm 7: Missing page sections (sometimes works for the same page). 8: Small images cut in two sometimes ("ESP", "CRO", ...) 9: Wrong aspect ratio for images (text line height) 10: Page drawn with offset (but browser thinks other section is on screen). 11: CPU HOG. 12: CPU HOG with: t1, t1n, t2.n, t2.n.sm, t3. 13: overwrites text and images with text and images. Goods: *: works for the whole t.* suite. Testing (all with background images disabled): BTG: 1.- Bck/Fwd several times (first at normal then maximized). 2.- resize from max to normal several times. pravda #1: 1. Load [1] at normal size, wait most images to load, check images and check them not to overlap text, go Bck/Fwd, check again. 2. Maximize window, check images don't overlap text, check the page layout to have three main columns (the upper part). Go Bck/Fwd, check again. pravda #2: 1. Load [1] at normal size, wait most images to load, then load [2], press page down, check the "print version" float doesn't overlap text, or images (they may stack), check the two images inside it have the same size and ratio, maximize, return to normal, check the float again. 4ta: 1. Run dillo, disable images, load 4ta.html, click Girl img, go Bck/Fwd, check img, exit dillo. 2. Run dillo, disable images, load 4ta.html, click football img, go Bck/Fwd, check img, exit dillo. 3. Run dillo, disable images, load 4ta.html, click tauro img, check horoscope text, go Bck/Fwd, check h. text, click aries img, check h. text, go Bck/Fwd, check h. text, exit dillo. 4. Run dillo, disable images, load 4ta.html, click football img, go Bck/Fwd, click dep.png img, check images, go Bck/Fwd, check images. VT: 1. Load [3] at normal size, wait for most images to load, go Bck/Fwd, check images and text not to override each other. PV: 1. Load [5] at normal size, wait for most images to load, search for "re-re" with Find Text, press page down (you'll see an image), go Bck/Fwd, check the image is there. If not, you can place the cursor where the image was, if you get a hand cursor, Dillo thinks it is there. Wait for the tooltip and drag it a bit downwards to the right, Dillo will repaint from the image data. [1] http://tinyurl.com/j2yavxk [2] http://tinyurl.com/gqso9eu [3] http://tinyurl.com/msyl7x [4] http://tinyurl.com/grd6yg4 [5] http://tinyurl.com/huvf6pn
2016-07-16Change OOFFloatsMgr::markSizeChange()Jorge Arellano Cid
We change to a graph coverage model, with pruning.
2016-07-16Optimize Textblock::updateReference.Jorge Arellano Cid
This helps to avoid unnecessary resize calls.
2016-07-16Fix Layout::resizeIdle()Jorge Arellano Cid
This was three year old bug, that went undiscovered (hg#2863). The patch is simpler than it looks, it's just a while cycle enclosing the body, indentation makes it look large. How to reproduce: 1. Load [5] at normal size, wait for most images to load, search for "re-re" with Find Text, press page down (you'll see an image), go Bck/Fwd, check the image is there. If not, you can place the cursor where the image was, if you get a hand cursor, Dillo thinks it is there. Wait for the tooltip and drag it a bit downwards to the right, Dillo will repaint from the image data. [5] http://tinyurl.com/huvf6pn
2016-07-13Bug meter message.Jorge Arellano Cid
2016-07-13cppcheck: fix format stringJohannes Hofmann
2016-07-12cppcheck: ignored return value.Jorge Arellano Cid
It wasn't necessary! ;)
2016-07-12cppcheck: Fix realloc mistake (3 times).Jorge Arellano Cid
realloc may fail and return NULL, in that case the array contents were lost. Dillo would exit a couple of lines later anyway, but it's better to exit in a clean way.
2016-07-12cppcheck: AFAICS a false positive (should be reported to them)Jorge Arellano Cid
A simple code order changes, which is not relevant in this case, but pleases cppcheck: - for (a,b; ; ) + for (b,a; ; )
2016-07-12cppcheck: Fix Resource leak: dpidrc_stream (not closed on error condition)Jorge Arellano Cid
2016-07-12cppcheck: Fix syntax error for S_ISDIR.Jorge Arellano Cid
2016-07-10RTFL.Sebastian Geerken
2016-07-09Cleanup OOFFloatsMgr::collidesH().Sebastian Geerken
2016-07-09rm IO flags, as they are never usedcorvid
2016-07-09freeing http socket, close FD that's being connectedcorvid
2016-07-08ChangeLogcorvid
2016-07-07MBEDTLS_SSL_SESSION_TICKETS_DISABLEDcorvid
2016-07-07some status messages when using proxycorvid
2016-07-07a little renaming in tlscorvid
The handshake stuff should be named handshake. What should you call initialize/setup plus handshake, then? I don't know, but 'connect' for now, anyway.
2016-07-07try all IP addrs when connect()ingcorvid
as mentioned in the previous commit msg
2016-07-07complete connect() before moving on to TLS handshake or sending querycorvid
Johannes reported that mbed TLS didn't like the connect() to be ongoing still when the tls handshake was started on osx or dragonfly. For an earlier version of the fix (which failed), it was basically free to iterate through the IP address list upon connect() failure, so that was implemented, and now I'm artificially breaking this patch into two pieces to commit that separately.
2016-07-06Fix a flag in Cache_entry_inject(). Now the splash page is shown as finished.Jorge Arellano Cid
2016-07-06MSG clarificationcorvid
You can trust an intermediate certificate in a chain, so let's be careful with words here. It would of course be better to tell the user which certificate was trusted in that case, but my understanding is that I would have to go through each certificate in the chain and try to match it against all of the trusted certificates, like mbed tls's verification code does in the first place. This would involve a lot of digging around in mbed tls's structures and using resources...
2016-07-06rm code that has no effectcorvid
Until late 2007, it set a variable showing that ipv6 was working.
2016-07-06MSGcorvid
2016-07-04mergecorvid
2016-07-04recognize obsolete hash algorithms when complaining about...obsolete hash ↵corvid
algorithms
2016-07-04in some TLS MSGs, don't show port if it's the defaultcorvid
2016-07-03Fixed a couple of compiler warnings for IO.cJorge Arellano Cid
2016-07-03workaround for mbed TLS 2.3.0 include problemcorvid
reported by Nick Warne http://lists.dillo.org/pipermail/dillo-dev/2016-July/010941.html checking mbedtls/ssl.h usability... no checking mbedtls/ssl.h presence... yes configure: WARNING: mbedtls/ssl.h: present but cannot be compiled configure: WARNING: mbedtls/ssl.h: check for missing prerequisite headers? configure: WARNING: mbedtls/ssl.h: see the Autoconf documentation configure: WARNING: mbedtls/ssl.h: section "Present But Cannot Be Compiled" configure: WARNING: mbedtls/ssl.h: proceeding with the compiler's result checking for mbedtls/ssl.h... no configure: WARNING: *** mbed TLS 2 not found. Disabling SSL/HTTPS/TLS support. ***
2016-07-03trim tld listcorvid
2016-07-03clean up host:port usage, particularly with ipv6corvid
2016-07-03quiet MSGcorvid
2016-07-03use mbed TLScorvid
2016-07-03status msgcorvid
2016-07-03remove https dpicorvid
2016-07-02Attribute 'float' defines a floating Textblock even if 'display' is 'inline'.Sebastian Geerken
2016-06-28hsts_preload update (mostly to update location of mozilla's source file)corvid
2016-06-26Fix possible memory leak (SizeParams::forChild => childParams).Sebastian Geerken
2016-06-26Fix memory leak (OOFFloatsMgr::Float).Sebastian Geerken
2016-06-26Fix another valgrind complain.Sebastian Geerken
2016-06-26Merge.Sebastian Geerken
2016-06-26Fix valgrind complain.Sebastian Geerken