aboutsummaryrefslogtreecommitdiff
path: root/src/menu.cc
AgeCommit message (Collapse)Author
2025-05-07Copy links to clipboard selection tooRodrigo Arias Mallo
Selecting text in the page copies only to the primary selection. Copying links via the context menu now places the URL both in the primary and clipboard selections so it can also be pasted with Ctrl+V. See: https://github.com/dillo-browser/dillo/issues/228
2025-05-01Support for Content-Disposition filenameCameron Paul
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-08-07Make Dillo C99 standard compliantRodrigo Arias Mallo
Reviewed-by: dogma
2024-08-07Fix pedantic warningsRodrigo Arias Mallo
Reviewed-by: dogma
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-01Fix HTML validator menuRodrigo Arias Mallo
The W3C validator is now protected under a CloudFlare JavaScript challenge. However, it can be bypassed by opening directly the link after the redirection. It doesn't work if an HTML 5 page is loaded, as that would redirect to the Nu validator which will attempt to run the challenge again. So the current solution is to use the "legacy" W3C validator for HTML 4.01 or older documents and the W3C Nu validator for HTML 5 documents only. Users would need to choose which one to use manually (at least for now). The WDG validator at https://www.htmlhelp.org/tools/validator/ is gone, the server reports "Server unable to read htaccess file, denying access to be safe", so it has been removed. Fixes: https://github.com/dillo-browser/dillo/issues/113
2024-03-09Use Doxygen comments for C filesRodrigo Arias Mallo
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.
2014-09-06menu: waste time improving the validator callbackscorvid
as if anyone knows/remembers that they exist.
2013-11-20Added option "load_background_images" and entry in the tools menu.Sebastian Geerken
2012-12-21FL_CURSOR_DEFAULT when popping up menuscorvid
I'd noticed how, for instance, a right-click on a Fl_Input would leave an I-beam cursor, and it didn't seem like a big deal, but I discovered this scenario: - type in a Fl_Input. Mouse cursor disappears. - Alt-F to pop up file menu - Cursor not visible. Not very nice.
2012-11-30trim ';'corvid
2012-11-30trim off the "View " in front of stylesheet menu entriescorvid
to conserve space...
2012-10-18menu: titles and picked itemscorvid
2012-10-13link menu as submenu of image menucorvid
2012-10-13menu: url in user_data when possiblecorvid
2011-11-17never treat URI schemes case-sensitivelycorvid
2011-10-22middle click on stylesheet menu item opens in new tab/windowcorvid
copied from history callback, of course
2011-09-16use x,y for tools popupcorvid
2011-09-16position history menu below buttoncorvid
2011-07-29fix small_icons in menucorvid
2011-07-29Removed the large panel option (P_large).Jorge Arellano Cid
Nobody saw use for it...
2011-06-27menu: tab before windowcorvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-June/008457.html
2011-05-31Switched menu item callbacks to Fl_Menu_Item (instead of Fl_Widget)Jorge Arellano Cid
(segfaulted in Win32 with mingw) * Also lots of cosmetic whitespace
2011-05-26clickable menu items (even those introducing submenus) MUST have callbackscorvid
I clicked on the "Panel size" item itself instead of any of the options in its submenu, and: Segfault!
2011-05-16rm spacescorvid
2011-04-30Re-enabled middle click on history popups (Back and Forward buttons)Jorge Arellano Cid
2011-04-28fix panel size menucorvid
2011-04-22Fix for e816e06ee901: part 2 (missing callback)Jorge Arellano Cid
2011-04-22Fix for e816e06ee901: it disabled the preceeding menuitemsJorge Arellano Cid
2011-04-21Added a submenu to control the panel size (Tools)Jorge Arellano Cid
2011-04-20commentcorvid
2011-04-01Fixed button sensitivity when starting with an empty pageJorge Arellano Cid
2011-03-15Made the findbar operative again (it has tricks and workarounds)Jorge Arellano Cid
2011-01-24remove a FLTK2 workaroundcorvid
2011-01-22better menu positioningcorvid
2011-01-22tools popup menucorvid
2011-01-12comment out history menu button handlingcorvid
2011-01-09fair amount of menucorvid
2011-01-07trivial bits of menucorvid
2011-01-06RAW_LABEL is SHORTCUT_LABELcorvid
2011-01-06eventscorvid
2011-01-06keys and mouse buttonscorvid
2010-04-23Add const qualifier to a_History_get_url()Jorge Arellano Cid
2010-02-20Interim patch for view sourceJorge Arellano Cid
2010-02-17Add the a_Capi_dpi_send_data() functionJorge Arellano Cid
2009-11-21trim the labels of the stylesheet menuJeremy Henty
2009-06-22remove system includescorvid
2009-06-15Removed the experimental font size adjuster patch (it slipped in by mistake)Jorge Arellano Cid