aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.c
AgeCommit message (Collapse)Author
2024-12-17Add support for user actions in the link menuRodrigo Arias Mallo
Allows the user to define additional entries in the link menu which will execute the given program/script. Each actions is defined using the "link_action" option. The link URL is stored in the $url enviroment variable and the current page in $origin, so the user can customize how do the handling. Here is a simple example to add three new entries: link_action="Debug variables:echo url=$url origin=$origin" link_action="Open in MPV:mpv $url" link_action="Open in Firefox:firefox $url" The command is spawned in a forked process using the system() call, which uses the shell to expand any variable. In particular, the $url variable is set to the current URL being opened. Fixes: https://github.com/dillo-browser/dillo/issues/3
2024-12-08Allow image formats to be disabled from dillorcRodrigo Arias Mallo
Makes disabling certain formats posible without the need to rebuild Dillo from source. See: https://github.com/dillo-browser/dillo/pull/312
2024-10-17Don't focus on new tabs by defaultRodrigo Arias Mallo
Assume the user will want to continue in the current page when opening a page in a new tab.
2024-10-17Don't show the quit dialog by defaultRodrigo Arias Mallo
Assume the user wants to quit Dillo by default even if there are multiple tabs.
2024-10-13Control the page overlap independentlyRodrigo Arias Mallo
Introduces the new option scroll_page_overlap to control the amount of pixels of overlap when scrolling to the next or previous page. Previously this value was taken from scroll_step, but now they are controlled independently. Fixes: https://github.com/dillo-browser/dillo/issues/276
2024-10-13Add new scrollbar page modeRodrigo Arias Mallo
The scroll page mode changes the behavior of the mouse when clicking on the vertical scrollbar. When enabled with scrollbar_page_mode=YES, clicking with the left button anywhere on the vertical scrollbar will cause the page to scroll down one page. With the right button, to scroll up one page. Holding Shift temporarily reverts the value of the option.
2024-10-13Add support for left scrollbarRodrigo Arias Mallo
Implements support for placing the vertical scrollbar on the left side by setting scrollbar_on_left=YES on dillorc. By default, continues to be on the right side. See: https://www.toomanyatoms.com/software/mobilized_dillo.html Authored-By: dogma
2024-06-25Add support for zoom factorRodrigo Arias Mallo
Allows zooming in and out of pages by changing the size of all elements, including font size, images and tables. The initial zoom is specified in the "zoom_factor" option of dillorc. Use the new shortcuts Ctrl+ and Ctrl- to adjust the zoom of the current page and Ctrl 0 to reset it to 100%. When a new tab or window is opened, the current zoom factor is inherited. Each tab retains its own zoom factor. Fixes: https://github.com/dillo-browser/dillo/issues/21
2024-06-09Add new_tab_page optionRodrigo Arias Mallo
Adds support to load a custom page when a new tab is opened. The current behavior is set as the default, load a blank page. The location bar is only selected when the new tab page is the blank page, otherwise the page loaded gets the focus. Co-authored-by: Alex <a1ex@dismail.de> Fixes: https://github.com/dillo-browser/dillo/issues/124
2024-04-29Add force https modeMark Walker
Implement an option to force all http urls to be upgraded to HTTPS, similar to HTTPS-Only Mode in Firefox. A http_force_https preference variable is provided as well as a menu bar item to toggle this mode. See: https://support.mozilla.org/en-US/kb/https-only-prefs
2024-04-20Use DejaVu Sans for cursive by defaultRodrigo Arias Mallo
The URW Chancery L font is not likely to be installed, so by default we use the same as for serif and sans, DejaVu. Fixes: https://github.com/dillo-browser/dillo/issues/138
2024-04-09Control the direction of tab scrollingAlex
Adds the scroll_switches_tabs_reverse option in dillorc to allows reversing the direction of tab switching based on the movement of the mouse wheel. See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/F2EF4NHF3CBMJ3XZII2TFIE6MSXEE5AD/ Fixes: https://github.com/dillo-browser/dillo/issues/122 Reviewed-by: Rodrigo Arias Mallo <rodarima@gmail.com>
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
2024-01-22Add scroll_switches_tabs optionRodrigo Arias Mallo
By default, scrolling the mouse wheel over the tabs will switch among tabs. The option allows users to disable the feature.
2024-01-16Use right button to close tabs by defaultRodrigo Arias Mallo
2024-01-15Add ui_tab_height optionRodrigo Arias Mallo
The default tab height of 16 pixels was causing some usability issues as the tabs are quite small in large monitors. The default size is increased to 20 pixels and the new option "ui_tab_height" allows the user to specify a different value.
2024-01-09Update references to website and repositoryRodrigo Arias Mallo
The website is now at https://dillo-browser.github.io/ and the repository at https://github.com/dillo-browser/dillo.
2023-12-20Add scroll_step optionRodrigo Arias Mallo
When using the mouse wheel to scroll a page, the default scroll step was causing a very slow scrolling speed. The new option "scroll_step" allows the user to define how many pixels the page is moved in every step of the mouse wheel. The default is increased to 100 pixels per step.
2023-12-17Fix DuckDuckGo search linksRodrigo Arias Mallo
The DuckDuckGo service that redirects the links from the search page is returning a broken page for non-javascript browsers. They have a meta refresh tag in the body, instead of in the head. Adding the kd=-1 argument causes the DuckDuckGo search results to point directly to the target page avoiding the redirection. Based on this patch: https://salsa.debian.org/debian/dillo/-/commit/ffbd4fc0e6cf94b3947d02766224c0e80344a017 Thanks: liftof+dbug@gmail.com Thanks: Axel Beckert <abe@debian.org> Bug-Debian: https://bugs.debian/org/924357
2016-06-21Removed the w3c_plus_heuristics dillorc option.Jorge Arellano Cid
No longer necessary since the new nesting-cleanup design.
2015-07-03enable prefs.http_persistent_conns by defaultcorvid
2015-06-29prefs.http_strict_transport_securitycorvid
2015-01-02'adjust_min_width' is now set by default.Sebastian Geerken
2014-12-24merge 3.0.4.1 branchcorvid
2014-12-10Avoid a corner case segfault when no search URL is found in dillorc.Jorge Arellano Cid
e.g. entering a space containing sring in address bar.
2014-07-21New dillorc option adjust_table_min_width.Sebastian Geerken
2014-07-18New dillorc option 'adjust_min_width'. Also fixed bug in textblock extremes ↵Sebastian Geerken
calculation.
2014-07-17http_persistent_conns preferencecorvid
2014-04-07switch off background image loading by defaultJohannes Hofmann
2013-11-20Added option "load_background_images" and entry in the tools menu.Sebastian Geerken
2013-10-16Strechability of non-justified lines: refinements.Sebastian Geerken
2013-09-16Made show_url dillorc option work again (BUG#1128)Jorge Arellano Cid
Some apps that embed dillo or work in kiosk mode find good use for it.
2013-09-14BUG#1140: add show_ui_tooltip preferencecorvid
2013-08-19New prefs variable "white_bg_replacement".Sebastian Geerken
2013-01-02throw in some more UI colors to play withcorvid
2012-12-31rm show_url preferencecorvid
It hasn't worked for a long time, no one seems to miss it, and there isn't any compelling case for making the effort to make it work. http://lists.auriga.wearlab.de/pipermail/dillo-dev/2012-December/009704.html
2012-12-30ui color fg/bg preferencescorvid
Recent mailing list: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2012-December/009661.html The earlier thread begins with: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-September/008890.html
2012-12-28Corrected default value for "penalty_hyphen_2".Sebastian Geerken
2012-11-18Cleaned up and completed configuration for penalties.Sebastian Geerken
2012-11-14Cleaned up preferences.Sebastian Geerken
2012-11-08Making hyphen penalties configurable.Sebastian Geerken
2012-10-02rm filter_auto_requestscorvid
2011-09-17add show_quit_dialog dillorc optionJohannes Hofmann
2011-09-13UI theme preferencecorvid
2011-08-29Added a few search options to dillorc. Also switched the default to duckduck.goJorge Arellano Cid
2011-07-24Added multiple search engines (with several 'search_url' lines in dillorc)Jorge Arellano Cid
This patch adds the PREFS_STRINGS type to the prefsparser, which allows having multiple different strings asociated with one dillorc option (stored in a list)
2011-04-29Set middle click as default for close tab (+ right_click_closes_tab in dillorc)Jorge Arellano Cid
2010-09-24bring back bg_color dillorc optionJohannes Hofmann
2010-06-19"URW Chancery L" default cursive fontcorvid
http://www.codestyle.org/css/font-family/sampler-Cursive.shtml claims that it is almost always present.
2010-04-06filter automatic requestscorvid
same_domain option in preference so that spying on users isn't so easy.