aboutsummaryrefslogtreecommitdiff
path: root/dpi
AgeCommit message (Collapse)Author
2024-12-11Use Dillo user agent for downloads tooRodrigo Arias Mallo
Send the user agent to the downloads DPI so we can use the same as Dillo uses from the http_user_agent option. See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/A6IHJ4TBGHJ3CT2UOMEAROSG2WRTRO6U/
2024-08-07Make Dillo C99 standard compliantRodrigo Arias Mallo
Reviewed-by: dogma
2024-08-07Fix pedantic warningsRodrigo Arias Mallo
Reviewed-by: dogma
2024-07-26Merge SVG support from mobilized Dillo forkRodrigo Arias Mallo
Uses the nanosvg library to add SVG support. See: https://www.toomanyatoms.com/software/mobilized_dillo.html Authored-By: dogma
2024-07-18Improve line number style for HTML sourceRodrigo Arias Mallo
Make the background of line numbers appear as a single color and increase the contrast to improve readability. Also add a bit of space and a separator line between the numbers and the code itself.
2024-07-18Add anchors in line numbers for HTML source viewRodrigo Arias Mallo
They allow linking to an specific line in the source code. This would be useful to add to the bug meter view, so the user can quickly jump to the error line in the HTML source. Fixes: https://github.com/dillo-browser/dillo/issues/214
2024-06-12Fix segfault in Done button of downloadsRodrigo Arias Mallo
The destructor was using a harcoded index to the elements to free from the original array of arguments used to call the wget program. When the user agent was introduced, the index of the elements that require free() shifted, causing the free() call to operate on the constant string of the user agent instead. Rather than relying on the hardcoded index, two new pointers hold the values of the strings that need to be free()'d in the destructor. Further additions in the argument array won't cause more problems. Reported-by: pastebin <pastebin@gmx.com> Fixes: https://github.com/dillo-browser/dillo/issues/196 See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/IPWQYKTYTO5G2BH3UU5224FRUFWCVGSO/
2024-04-26Recognize *.xhtml documents as HTML tooRodrigo Arias Mallo
The file plugin was not able to detect XHTML documents from files with the .xhtml extension if there are comments before the doctype line. Before falling back to reading the content, we directly specify the media type to HTML based on the extension alone. The basic content type detection algorithm is too simple and will continue to fail when comments are placed before the doctype line. Reported-by: Kevin Koster <dillo@ombertech.com> See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/message/HBKXGO7EGCHWOQ6BM55A4LZQKT437UID/
2024-04-12Use uppercase "Dillo" for wget user agentRodrigo Arias Mallo
Reported-by: dogma
2024-04-11Use the current version in wget user agentRodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/130
2024-04-01Use 14px font size for bookmarksRodrigo Arias Mallo
2024-04-01Remove unused table CSS rule in bookmarksRodrigo Arias Mallo
Reported-by: dogma Fixes: https://github.com/dillo-browser/dillo/issues/112
2024-04-01Improve readability of bookmarksRodrigo Arias Mallo
Simplifies and increases the contrast of the Bookmark pages and menus. Tables are removed in favor of HTML5 elements. For styles we add a simple CSS style sheet, common for all pages. Fixes: https://github.com/dillo-browser/dillo/issues/108
2024-03-24Use dStrconcat() to concatenate stringsRodrigo Arias Mallo
Reported-by: dogma
2024-03-24Use dGethomedir() to get the home directoryRodrigo Arias Mallo
Other platforms don't use $HOME. Reported-by: dogma
2024-03-23Free auxiliary string in File_normalize_path()Rodrigo Arias Mallo
Fixes: https://github.com/dillo-browser/dillo/issues/87 Reported-by: dogma
2024-02-18Expand tilde to home directory in local URLsRodrigo Arias Mallo
Allows paths like "file:~/" and "file:~/.dillo/dillorc" to be opened by Dillo by expanding the tilde character '~' to the value of the $HOME environment variable. Fixes: https://github.com/dillo-browser/dillo/issues/81
2019-07-29Fix wget User-Agent for arXivRodrigo
Fixes #1 by setting the user agent to "Dillo/3.0.5". A proper fix must let the user choose any string.
2016-08-10Fix minor indentation typo.Jorge Arellano Cid
2016-07-12cppcheck: Fix syntax error for S_ISDIR.Jorge Arellano Cid
2016-07-03remove https dpicorvid
2016-01-25bookmarks dpi: add more error handling to bw.txt parserJohannes Hofmann
2015-07-08make cookies date parsing closer to the rfccorvid
2015-07-02merge 3.0.5 branchcorvid
2015-06-28MSGcorvid
2015-06-28cookies be careful with overflow with ridiculously huge Max-Age valuescorvid
...not that there's any obvious justification for storing cookies for decades.
2015-06-15handle openssl derivatives in the license permissions for the https dpicorvid
FWIW, wget currently does it as follows: "If you modify this program, or any covered work, by linking or combining it with the OpenSSL project's OpenSSL library (or a modified version of that library), containing parts covered by the terms of the OpenSSL or SSLeay licenses, the Free Software Foundation grants you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of OpenSSL used as well as that of the covered work."
2015-05-28cookies is_ssl -> is_tlscorvid
2015-05-27Made view-source dpi use CSS formatting (it's shorter and cleaner)Jorge Arellano Cid
BTW, is there a point in using a monospaced font? Besides it looks like code printing (which is good), a proportional-spaced font may be easier to read.
2015-05-26Fix view-source dpi to handle null characters correctlyJorge Arellano Cid
Although not allowed in text contexts, null characters should not stop/halt/fail dpi protocol, thus the patch. Test Example. Display a file with these contents: null padding^@^@ (two trailing null characters) and view source for it. Note that dillo will not _display_ the file completely correct, it will eat a char after each null, but this is not a problem in dpi nor dpip but in rendering, the cache gets it right. Adding code to correctly _display_ these anomalous pages is probably not worth the effort though.
2014-12-21trim some spacescorvid
2014-10-22trim the publicsuffix TLDs yet againcorvid
in January 2010, there were 42 entries. Now there are 22, and nearly all of them are rather...marginal.
2014-10-17everyone's finally disabling SSL3; let's do so toocorvid
2014-09-03a couple of quick https improvementscorvid
2014-07-30KBcorvid
2014-07-30KBcorvid
2014-10-22trim the publicsuffix TLDs yet againcorvid
in January 2010, there were 42 entries. Now there are 22, and nearly all of them are rather...marginal.
2015-06-10https rm RC4 from cipher listcorvid
2015-05-27Made view-source dpi use CSS formatting (it's shorter and cleaner)Jorge Arellano Cid
BTW, is there a point in using a monospaced font? Besides it looks like code printing (which is good), a proportional-spaced font may be easier to read.
2015-05-26Fix view-source dpi to handle null characters correctlyJorge Arellano Cid
Although not allowed in text contexts, null characters should not stop/halt/fail dpi protocol, thus the patch. Test Example. Display a file with these contents: null padding^@^@ (two trailing null characters) and view source for it. Note that dillo will not _display_ the file completely correct, it will eat a char after each null, but this is not a problem in dpi nor dpip but in rendering, the cache gets it right. Adding code to correctly _display_ these anomalous pages is probably not worth the effort though.
2014-10-17everyone's finally disabling SSL3; let's do so toocorvid
2014-09-03a couple of quick https improvementscorvid
2014-02-02our simplistic TLD list grows more and more worthlesscorvid
2013-09-24our publicsuffix tld list grows even shortercorvid
2013-01-18https dpi: disable SSLv2Johannes Hofmann
SSLv2 is considered insecure. submitted by: p37sitdu@lavabit.com
2013-01-12clean up struct typedefsp37sitdu, corvid
2013-01-09Refactored FD close calls into a single new dClose() dlib function [p37sitdu]Jorge Arellano Cid
2013-01-08downloads.cc: do not test whether the file exists or prompt to overwrite.Jeremy Henty
2012-12-16Set the FTP dpi to one try per connectionJorge Arellano Cid
Bug fix: also avoid a useless retry when given just the server name.
2012-12-12Download DPI Scroll should calculate the scrollbar width properly.Jeremy Henty