Commit graph

2626 commits

Author SHA1 Message Date
John Beard
8f8982cde1
Add incrementurl command
Increments the last number in a URL by a given step (positive or
negative)

Also includes a url_util helper module and some tests for it

Logic taken from vimperator browser.js:17
2017-11-21 11:05:40 +00:00
Colin Caine
7bbe81f327 completions: works properly, but code expects only one completionsource 2017-11-21 09:14:22 +00:00
Colin Caine
8e48f69c27 completions: another WIP 2017-11-21 05:16:47 +00:00
Koushien
cf620959ec Do not merge: quick WIP
In case I get hit by a bus or something.
Reminder to myself to rebase next commit on
previous patch for some coherency.
2017-11-21 05:15:52 +00:00
Koushien
5bbb133c5c Begin transitioning completions refactor
Start laying groundwork for buffersall excmd
2017-11-21 05:15:52 +00:00
Colin Caine
1045eadc0e completions: WIP 2017-11-21 05:15:52 +00:00
Colin Caine
e55d174747 completions: add fuse.js and html-tagged-template 2017-11-21 05:15:52 +00:00
Koushien
f3a4ca0abb Get buffers on "tabclose" or "tabmove"
Firefox doing what it does on Escape in input
fields fires both the input and keydown listeners
leading to a race condition. Rudimentally protect
ourselves by checking completions directly since
it is always modified sequentially.
2017-11-21 05:15:52 +00:00
Koushien
a389d6dde3 Move buffers to general completion system.
User shouldn't notice any difference besides:
* removing "buffer " from cli clears buffers
* retyping "buffer " repopulates buffers
* text after "buffer " filters with smartcase.

We no longer directly set completion's innerHTML.
2017-11-21 05:15:52 +00:00
Colin Caine
4c7be836af release: 1.4.3 2017-11-21 05:01:36 +00:00
Colin Caine
c84e8016c9 fix yet another bug in key suppression
Not going to push to master when I'm tired again.
2017-11-21 04:58:48 +00:00
Colin Caine
83d8e96b28 release: 1.4.2 2017-11-21 03:32:03 +00:00
Colin Caine
a0fc55fd9f fix race condition breaking quickmarks 2017-11-21 03:30:16 +00:00
Colin Caine
c828ffd484 release: 1.4.1 2017-11-21 03:20:57 +00:00
Colin Caine
b251ef625a fix: correct bad key ignoring from 9683e11 2017-11-21 03:20:17 +00:00
Colin Caine
a4e88f6341 debug: import state properly 2017-11-21 03:18:50 +00:00
Colin Caine
eb59fd3bf5 release: 1.4.0
add gobble mode and quickmarks
Fix #86: Add metakey to list of ignored keys in normal mode for Macs
Add startpage search engine
2017-11-20 23:48:23 +00:00
Colin Caine
053d613527 excmd: document gobble, quickmarks 2017-11-20 23:32:24 +00:00
Colin Caine
9683e11f70 Tidy up gobble mode. Re-use key classification. 2017-11-20 23:23:25 +00:00
D.B
0a0c31230e add gobble mode and quickmarks 2017-11-20 23:23:25 +00:00
Oliver Blanthorn
ef761804c3
Merge branch 'master' into patch-1 2017-11-20 09:56:09 +00:00
Oliver Blanthorn
cf684c7935
Fix #86: Add metakey to list of ignored keys in normal mode for Macs 2017-11-20 09:21:07 +00:00
Colin Caine
d286e36c55
Merge branch 'master' into patch-1 2017-11-20 05:22:45 +00:00
Colin Caine
538aab80bc release: 1.3.1 2017-11-20 01:58:26 +00:00
Colin Caine
be7b304212 cmdline: don't store history for :winopen -private
Component of #53.
2017-11-20 01:31:47 +00:00
Colin Caine
ba99fdaf80 excmd: x-www-form-urlencode query strings
Fixes #83.
2017-11-20 01:11:38 +00:00
Colin Caine
b2a35c090d excmd: fix wikipedia search url 2017-11-20 01:08:26 +00:00
Philipp
5b3699309c
Add startpage search engine
I added startpage, a very popular search engine,  to the list of search engines.
2017-11-19 21:00:58 +01:00
Colin Caine
0751378067 hinting: hide all hints before select
Otherwise the page can be changed before the hints are cleaned
2017-11-19 16:48:21 +00:00
Colin Caine
b9ad37b496 hinting: fix space bind. Allow some FF binds. 2017-11-19 16:44:14 +00:00
Colin Caine
d45d906865 keydown: whitelist <space>
Fixes #77.
2017-11-19 16:22:00 +00:00
Colin Caine
7abf91e90a release: 1.3.0 2017-11-19 08:30:32 +00:00
Colin Caine
de1cc83584 fix: Turn buffer completions back on again
I forgot we still used this old system!
2017-11-19 08:28:07 +00:00
Colin Caine
3b5d1f64ca keydown: Unshadow more FF commands
This and preceding commits close #70.
2017-11-19 08:07:22 +00:00
Colin Caine
5f560f5e0b debug: add more to content window 2017-11-19 07:58:46 +00:00
Colin Caine
241bccda7e hinting: Move mode changes inside 2017-11-19 07:57:30 +00:00
Colin Caine
692cdeb5d7 messaging: don't use browserProxy on ext pages 2017-11-19 07:43:48 +00:00
Colin Caine
71484e9873 excmds: documentation and minor changes 2017-11-19 06:16:33 +00:00
Colin Caine
17cff21b8d keydown: Make normal mode suppression more predictable 2017-11-19 03:33:15 +00:00
Colin Caine
23f064a9bc keydown: deprecate old suppression system 2017-11-19 03:22:59 +00:00
Colin Caine
209984caa6 hinting: log less 2017-11-19 03:20:15 +00:00
Colin Caine
a1056e6570 release: 1.2.0 2017-11-19 02:42:27 +00:00
Colin Caine
75ede02bc6 keydown: improve suppression logic 2017-11-19 02:41:01 +00:00
Colin Caine
7685ee6368 hinting: Make F open new tab after current
Closes #72
2017-11-19 01:58:59 +00:00
Colin Caine
8893b3b5a5 lib: Make webext context agnostic 2017-11-19 01:58:59 +00:00
Colin Caine
143a690d4d debug: add webext and l to bg.tri 2017-11-19 01:58:59 +00:00
Colin Caine
9cb47d559b excmd: Add composite command
Deprecate this later.
2017-11-18 13:47:10 +00:00
Colin Caine
f45a3a7338 excmd: Strip more whitespace
This will break any command that relies on adjacent spaces being
preserved. E.g. trying `:open some.bad.site/   /foo` will now be
interpreted differently.
2017-11-18 13:43:59 +00:00
Colin Caine
2ad56f5c8e release: 1.1.0 2017-11-18 03:47:33 +00:00
Colin Caine
01c40840aa excmds: map and document hint -b 2017-11-18 03:10:58 +00:00