summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-01-04Remove expansion of '%' #584.Daniel Carl
The % is often used in urls and in case of the x-hint-command those are feed to :shellcmd and will be replaced by current URL. This made the x-hint-command unusable on some search engines. The expansion of % to the current URL also required to give the current browser state to the expansion logic and to feed it to all callers of this too. This bloated the code. This patch removes the % expansion which was a redundant alternative to $VIMB_URI.
2019-10-09Added :clearcache by :cleardata command.Daniel Carl
Allow to clear different types of website data base on the last update time.
2019-06-04Added ephemeral mode #562.Daniel Carl
If vimb is started with --ephemeral option no files are created by default and no persistent cookie manager is used.
2019-06-04Check if file exists during runtime #562.Daniel Carl
Do not consider file to be existent which was on startup. This allows also to benenfit from files created by other vimb instances spawned later.
2019-06-03Add file storage to allow to collect ephemeral data #562.Daniel Carl
2019-03-24Prevent opening links into new window #544.Daniel Carl
Added setting 'prevent-newwindow' to enforce opening links into same window even if they are crafted by `target="_blank"` or using `window.open()`. This option does not change the behaviour for links fired by hinting.
2019-03-16Added test case for disabled opening of new window #544.Daniel Carl
2019-02-13Avoid double client destroy in case of webview close #537.Daniel Carl
2018-10-15Also test completion without filtering.Daniel Carl
2018-10-15Gracefully handle subtleties of util_expand() of `~' and `~user'.Leonardo Taccari
When `~' is expanded to an home directory without any user, g_get_home_dir() function is used that on Unix systems first try to honor HOME and fall back to the passwd file if not set. On the other hand, `~user' is expanded always by checking the passwd file. Adjust test_expand_tilde_user() accordingly.
2018-08-06Fix wrong hint label in case of scrolling.Daniel Carl
Also moved style for hintcontainer from user style to hints.js because there is no styling set at the moment the user should change.
2018-08-04Removed possible wrong test case #507.Daniel Carl
The links on exherbo are set to margin: -10em and padding: 10em so they have indeed a big bounding box which is returned by e.getBoundlingClientRect().
2018-08-04Added manual test case for #507.Daniel Carl
2018-08-04Move manual hint tests into own directory.Daniel Carl
2018-08-04Fix wrong hint label position on xkcd.com.Daniel Carl
On some pages which set the body to fixed position the hint labels where placed far away from the hinted element. This patch fixes this issue by setting the position of the label to fixed instead of absolute. This fixes #506.
2018-07-30Added tests for the uri handlers #357.Daniel Carl
2018-06-28Put the linker flags after the source files.Daniel Carl
2018-06-28Use explicit rules to make test targets.Daniel Carl
2018-06-28Remove duplicate give compiler option -fPIC.Daniel Carl
2018-06-14Added tests for shortcuts #357.Daniel Carl
2018-06-14Do not damage utf8 string on escape.Daniel Carl
This fixes #492.
2018-06-13Added first test for the util functions #357.Daniel Carl
2017-06-15adds hints.html manual test pageRobert Timm
2017-03-02Simplified test page javascript.Daniel Carl
2017-03-02Added manual test pages for focus/blur issues.Daniel Carl
2016-03-30Startup webkit2 branch from the scratch.Daniel Carl
2015-08-23Added manual test for contenteditable element (#237).Daniel Carl
2015-06-25Replaced "-Wpedantic" with "-pedantic"Dmitrij D. Czarkoff
for compatibility with older GCC versions.
2015-04-26Check for dom focus/blur event on window object cleared (#201).Daniel Carl
This allows us to track also focus changes within frames and iframes also if they are loaded dynamically. The previous logic added the event listeners to the document on WEBKIT_LOAD_FINISHED, but if there where later created iframes in the dom, these where not observers for focus events. This is only a first attempt to fix the focus issue and does break the logic behind `set strict-focus=on`.
2015-02-21Merged code from mode.c into main.cDaniel Carl
2015-02-14Add <Space> as special map key name (#176).Daniel Carl
Normally the literal space char ' ' can be used for mappings. In case this is part of the lhs it can be given escaped by '\'. But this does not work on the rhs, because there is no evaluation of escaping for space like in vim. On the other hand the rhs starts with the first none whitespace char after the lhs. So it wasn't possible to apply mapping to sequences that starts with one or more spaces. This patch adds the new special key name '<Space>' to be used in this cases.
2015-02-04Use more g_string_* function in map processing (#160).Daniel Carl
The use of these function makes it easier to see what's done compared to the character moving in the loops.
2015-02-04Use gstring for map processing (#160).Daniel Carl
2015-02-03Better message if unit test fails.Daniel Carl
2015-01-25Use own Makefile for src directory.Daniel Carl
2015-01-01Change year in license block.Daniel Carl
2014-12-02Fixed broken automated test.Daniel Carl
2014-12-02Show mode label in statusbar.Daniel Carl
This avoid often opening inputbox in case 'input-autohide=on' is set.
2014-12-01Stripped unneeded stuff from test html.Daniel Carl
2014-11-29Added manual test for dom focus changes (#112).Daniel Carl
2014-11-27Added manual tests for HSTS uri change in iFrame (#146).Daniel Carl
2014-09-22Removed unused util_wildmatch function.Daniel Carl
This was only used to test the wildmatching, but the autocmd allow always to match against list of patterns.
2014-09-07Allow to match multiple patterns (#100).Daniel Carl
Change the matching functions to not end at the NUL of the pattern. In stead we give a pattern length parameter. This allows to process multiple patterns without the need to put NUL-bytes into it or to allocate memory for the parts to match.
2014-09-06Added curly brace pattern matching for auto commands (#100).Daniel Carl
This allows to match pattern with {foo,bar} to match 'foo' or 'bar'. This is really useful for protocol matching for examaple http{s,}://{www,mail,maps}.ugly-domain.com/*.
2014-09-06Added more test cases for multiple * and ? in pattern.Daniel Carl
2014-09-01Added utility function for wildcard matching.Daniel Carl
2014-06-10Removed test macros by functions.Daniel Carl
This lead to better readable output in case if a test case fails.
2014-06-09Don't relink the libvimb before each test.Daniel Carl
2014-06-09Don't use g_shell_parse_argv for shortcuts (#88).Daniel Carl
This function was really handy, but it does not allow to ignore unmatched quotes which lead to errors that could not be handled very well for the user. This patch adds a stripped down to the minimum parser for the shortcut parameters to allow also unmatched single- or double quotes.
2014-06-09Allow shortcut params with spaces (#88).Daniel Carl