aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.h
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-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-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-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.
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.
2016-06-21Removed the w3c_plus_heuristics dillorc option.Jorge Arellano Cid
No longer necessary since the new nesting-cleanup design.
2015-06-29prefs.http_strict_transport_securitycorvid
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
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-27simplify ui color handling by using fltk free color indicescorvid
2013-01-12clean up struct typedefsp37sitdu, corvid
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-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-07-29Removed the large panel option (P_large).Jorge Arellano Cid
Nobody saw use for it...
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-04-06filter automatic requestscorvid
same_domain option in preference so that spying on users isn't so easy.
2010-02-11add http_user_agent preferenceAlexander Voigt, corvid
thread: http://lists.auriga.wearlab.de/pipermail/dillo-dev/2010-February/007267.html
2010-01-24limit the number of simultaneous connectionsJohannes Hofmann
The number of simultaneous connections to a single server is now limited by prefs.http_max_conns (default 6). This avoids opening hundreds of connections on pages with many images (BUG 685). This commit is partly based on a prototype by Jorge Arellano Cid.
2010-01-18Added a help button. It tries a local help file then dillo.org's one.corvid, jcid
2009-09-03don't make prefs defaults visible unnecessarilycorvid
2009-09-03By default, do not use proxy for localhostcorvid
2009-05-31Bound at-exit memory deallocationcorvid
2009-04-28fix HTTP referer pref defaultcorvid
2009-04-28Refactor the preferences parserTim Nieradzik, Jorge Arellano Cid
2009-03-10replace visited_color dillorc optionJohannes Hofmann
to change the color of visited links add a line :visited {color: red} to your ~/.dillo/style.css file instead.
2009-03-06remove link_color dillorc optionJohannes Hofmann
To change the color of not visited links add a line like :link {color: orange} to your ~/.dillo/style.css file.
2009-03-06remove force_my_colors dillorc optionJohannes Hofmann
to get a similar behaviour add the !important directive to your color definitions in ~/.dillo/style.css, e.g: body {background-color: green !important}