summaryrefslogtreecommitdiff
path: root/src/uicmd.cc
AgeCommit message (Collapse)Author
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-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
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-16Switch tabs using the mouse wheelRodrigo Arias Mallo
Allows switching tabs using the mouse wheel, which is useful to quickly scan pages by looking at the page content instead of the tab title.
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-07-13Bug meter message.Jorge Arellano Cid
2015-05-18let fltk wrap this dialog's textcorvid
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-12-08make sure window is resizable with fltk-1.3.3Johannes Hofmann
A change introduced in fltk-1.3.3 makes it necessary to set the resizable of the window before any focus change is triggered. Otherwise the Dillo window cannot be resized in certain situations.
2014-08-02fix the icon name fixcorvid
Jorge found that AddressSanitizer complained about heap-use-after-free. The problem was that, with window name and icon name set to the same copied string (there is no separate copy_label() for the icon name), when Fl_Window::copy_label() was called to set the copied label to a new value, the old string is free()d and then iconlabel() is used before we have a chance to set it to our newly copied string.
2014-07-29fix icon namecorvid
http://lists.dillo.org/pipermail/dillo-dev/2014-July/010187.html I'm still curious why odd behaviour hadn't been reported by others with other window managers, but I can't justify putting a lot of time into this, and it may be simply that we expect dillo to have lots of little imperfections.
2013-10-14Reset background image of the layout.Sebastian Geerken
2013-07-23add search from address barJohannes Hofmann
Add the possibility to search from address bar by entering a prefix of a search_url label followed by a blank followed by the search term. Submitted by: Aki Helin <aki.helin@iki.fi> with some modifications.
2013-04-19trim some spacescorvid
2013-02-22fix warning in UIcmd_save()Johannes Hofmann
2013-01-27simplify ui color handling by using fltk free color indicescorvid
2013-01-11Modified a_Dialog_choice5() to accept any number of alternatives [p37sitdu]Jorge Arellano Cid
2013-01-10uicmd.cc: *UIcmd_make_save_filename(): clarify the loop logicJeremy Henty
2013-01-10uicmd.cc: consistent suggestions for save filesJeremy Henty
1: Suggest the same save file for "Save page" and "Save link". 2: Create the save file from the path and the query, ignoring the fragment. 3: Truncate the path and the query as necessary.
2013-01-08uicmd.cc: when saving, test whether the file exists and prompt before ↵Jeremy Henty
overwriting.
2013-01-02throw in some more UI colors to play withcorvid
2013-01-02ctrl-tab navigation fix; show new tab before hiding old onecorvid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2013-January/009722.html (focus can go from main->location, and location can get its value selected)
2013-01-02uicmd.cc: refactor a_UIcmd_{save,save_link}().Jeremy Henty
2012-12-30uicmd.cc: fix the handling of prefs.save_dirJeremy Henty
prefs.save_dir was silently ignored if it contained no '/'
2012-12-30uicmd.cc: add "#include <string.h>".Jeremy Henty
2012-12-30uicmd.{hh,cc}: simplify by replacing a_UIcmd_{get,set}_save_dir() with ↵Jeremy Henty
a_UIcmd_init().
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-26Fixed a bug in dpip when dillo aborts a running dpi connectionJorge Arellano Cid
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2012-December/009668.html
2012-12-24never leave Location blank when requesting urlcorvid
2012-12-20don't let unhandled Escape close a browser windowcorvid
I noticed this with shift-Escape, but it would also happen with plain Escape if mapped to nop in keysrc.
2012-12-14Update focus priority number for tabs opened in backgroundJorge Arellano Cid
There're two options: update the focus number so when you close the current tab, focus goes to the last background-opened tab (as with this patch), or to leave it low so when you close the current tab, focus goes to the previous non-background tab.
2012-12-10Dillo: parameterise window titles.Jeremy Henty
2012-12-10Dillo: improved window titles.Jeremy Henty
2012-11-30trim ';'corvid
2012-11-14Avoid scroll flickering with a custom tooltip class (TipWin) & a custom buttonJorge Arellano Cid
Removed the workaround [1] that added a full UI and viewport redraw to conceal the lingering tooltips bug [2]. It produced annoying scroll flickering when the mouse was in the UI but outside the viewport (e.g. over the panel). This is more a FLTK bug than anything; the FLTK team's plan is to fix it in FLTK3, and also extend the tooltips API. As FLTK3 may take long to be released, and porting dillo to it is non-trivial (if both events ever come to happen), this custom solution looks quite reasonable for the present times. The patch introduces a new CustButton class that uses TipWin, and thus the tooltip handling is no longer handled by FLTK. This patch switches the UI buttons to the new CustButton. 1] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-July/008515.html 2] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-July/008494.html
2012-11-08Set lowest focus priority as default for new unfocused tabsJorge Arellano Cid
This also avoids a valgrind uninitialized focus number warning for new tabs.
2012-11-06imported patch tab-closing-orderJorge Arellano Cid
2012-10-18don't view source for imagescorvid
Viewing image source wasn't working anyway. I have the impression that the vsource dpi is told, e.g., "Here's 3000 bytes", and then it's only given however much it takes to reach a NULL in the image data -- but I didn't trouble myself to dig into the matter, since unformatted image source is not very informative anyway.
2012-05-26unify use of sizeof() when computing array lengthJohannes Hofmann
Submitted by: 123 <p37sitdu@lavabit.com>
2011-11-11locale-independent ASCII character case handlingcorvid
Basically, I and i are different letters in Turkic languages, and this causes problems for str(n)casecmp and toupper/tolower in these locales when dillo is dealing with ASCII.
2011-09-17add show_quit_dialog dillorc optionJohannes Hofmann
2011-09-16use x,y for tools popupcorvid
2011-09-16position history menu below buttoncorvid
2011-09-16a compromise on tab appearance for the momentcorvid
It looks like plastic just _insists_ on mixing lots and lots of grey in, so if you pick a color that you like in plain/gtk+, it gets seriously washed out in plastic. There is a problem of getting nearly indistinguishable colors.
2011-09-16FL_THIN_UP_BOX for tabscorvid
2011-09-14Allow key bindings for paging left/rightcorvid
2011-09-13UI theme preferencecorvid