Commit graph

900 commits

Author SHA1 Message Date
Oliver Blanthorn
d1f1794269
Fix #1041: ;p now preserves newlines
The `run_exstr` command is a legacy from when hinting involved a strange
dance through the background script. It is no longer required, so we can
call the `yank` function directly and preserve the newlines.
2019-08-30 21:51:21 +01:00
Colin Caine
2ade2a9a50 Document that seturl and friends take a regex pattern 2019-08-28 13:54:09 +01:00
Oliver Blanthorn
3e3f51e2e3
Add link to unset from set help
'How do I undo this?' comes up often. This may help.
2019-08-20 13:56:27 +01:00
Oliver Blanthorn
fef58f508f
Close #1773: remove fixamo
The Firefox Security team believe fixamo violates the AMO policy as it reduces
the security of Firefox.

I respectfully disagree, but I don't think it is a hill worth dying on.
2019-08-02 12:22:20 +01:00
Oliver Blanthorn
88f4fac3db
Mitigate #1728 - disable guiset navbar none 2019-07-18 11:10:45 +01:00
Robert Boyd III
474b6f00c5
Implement #1565: Add option to strip trailing slash 2019-07-04 15:12:48 -04:00
Oliver Blanthorn
1f49f4ac23
Merge pull request #1705 from grpala/master
Add a reference to editor functions in :help bind
2019-07-02 19:42:30 +01:00
Oliver Blanthorn
d129c47913
Switch to cmcaine's shell escape library 2019-07-02 16:48:47 +01:00
Colin Caine
a71398dc1e
nativeopen: fix shell escaping 2019-07-02 16:48:47 +01:00
Guillermo R. Palavecino
ed5d1b0bd4 Add a reference to editor functions in :help bind 2019-06-24 17:31:39 -03:00
Oliver Blanthorn
0486595154
Make ;v safer 2019-06-20 23:09:21 +01:00
Oliver Blanthorn
be119b3d4e
Make ;v safer 2019-06-14 11:18:49 +01:00
Oliver Blanthorn
973ae858b7
Explain workaround for semicolons in composite 2019-06-05 16:51:34 +01:00
Oliver Blanthorn
575bd5d745
Add argument for rot13 2019-06-04 17:29:25 +01:00
Oliver Blanthorn
f9c6fe2637
Fix #98: add viewconfig --{default,user} 2019-06-02 16:10:51 +01:00
Oliver Blanthorn
f2850441f1
Improve mkt docs 2019-06-02 15:21:02 +01:00
Anton Vilhelm Ásgeirsson
496e53bd6c
Add documentation for the excmd 2019-06-02 14:02:37 +01:00
Anton Vilhelm Ásgeirsson
5ddce6763b
Implement writerc native messenger call
This allows us to write the rc to OS. The only way to overwrite your current
rc file is to use mkt!, mktridactylrc! or mktridactylrc -f. mkt* commands
issued without the force/exclamation mark will not overwrite existing files.

Native messenger was updated to 0.1.11 and the mktridactylrc command is
unavailable in prior versions.

Fixed some random indentation errors that occurred in earlier commit.
2019-06-02 14:02:00 +01:00
Anton Vilhelm Ásgeirsson
9f80bc5561
Remove console logs 2019-06-02 14:01:52 +01:00
Anton Vilhelm Ásgeirsson
bdc6a39180
Hook mktridactylrc up to native messenger
Still need to doublecheck subconfigs and fallbacks.
Also need to make sure that ! overwrites and error out if it isn't
supplied.
2019-06-02 14:01:45 +01:00
Anton Vilhelm Ásgeirsson
07d1ed6586
Revive mktridactylrc and add autocontainer parsing
Partially written write function in the config_rc.
2019-06-02 14:01:21 +01:00
Oliver Blanthorn
cd466d98bf
Merge pull request #1639 from tridactyl/tagged_native
Make native{install,update} use corresponding tag for stable build
2019-05-31 15:41:26 +01:00
Oliver Blanthorn
ef9f02d0da
Make native{install,update} use corresponding tag for stable build
Beta builds will always use most recent messenger, which I think is probably fair;
old beta builds are unsupported.
2019-05-31 15:02:05 +01:00
glacambre
9ef99b0ab4
parsers/exmode.ts: replace macro-generated info with ts-generated info
I tested nearly all ex commands and this didn't seem to break anything.
2019-05-31 15:20:46 +02:00
Oliver Blanthorn
fdfe3447f4
Merge pull request #1629 from antonva/caesar
Nqq ebg13 shapgvbanyvgl.
2019-05-30 20:01:34 +01:00
Anton Vilhelm Ásgeirsson
78cd7ccf81 Nqq ebg13 shapgvbanyvgl.
Nqqrq gur ebg13 rkpzq naq rqvgbe pbzznaq. Gur rkpzq vf obhaq gb t? naq
genafsbezf nyy grkg abqrf ba n cntr. Lbh pna hfr `ovaq --zbqr=rk <P-l>
grkg.ebg13` gb sbe fbzr ernfba ebg gur pbagragf bs gur pbzznaqyvar vs
gung sybngf lbhe obng.
2019-05-30 19:45:46 +00:00
Oliver Blanthorn
773d661367
Add keyfeed command to feed fake keys to Tridactyl 2019-05-30 18:21:05 +01:00
Oliver Blanthorn
05f6fdc007
Fix #1600: try to massage bookmarks into proper URLs 2019-05-30 16:37:32 +01:00
Oliver Blanthorn
30d3eb8f73
Add user-definable modes 2019-05-30 15:37:06 +01:00
Oliver Blanthorn
8b2d311c05
Document keytranslatemodes 2019-05-29 18:11:02 +01:00
Oliver Blanthorn
269a37bef1
Fix #1114: move get_current_url to alias 2019-05-29 17:13:02 +01:00
Oliver Blanthorn
06b013b38e
Fix #1572: flip pref to make FF look for userChrome 2019-05-29 17:06:38 +01:00
Oliver Blanthorn
982455a1ef
Fix #1485: add shellescape command for native sanitisation 2019-05-29 15:29:47 +01:00
Oliver Blanthorn
50ce658d36
Merge branch 'fix_find_sucking' 2019-05-29 13:12:58 +01:00
glacambre
96cc6f6100
finding.ts: Make find re-use last search pattern if needed 2019-05-29 10:01:53 +02:00
Oliver Blanthorn
f798492237
Merge pull request #1608 from tridactyl/fix_find_sucking
finding.ts: fix `:find` and `:findnext` sucking hard
2019-05-28 23:07:03 +01:00
glacambre
c65477486c
finding.ts: fix :find and :findnext sucking hard
This is a complete rewrite of `:find` and `:findnext`.
2019-05-28 23:37:33 +02:00
Oliver Blanthorn
402763b41b
Fix #1303: make no_mouse_mode boring 2019-05-28 17:08:13 +01:00
Oliver Blanthorn
191d2da164
Merge pull request #1603 from tridactyl/typed_config_get
Add type checking to first arg of config.get
2019-05-28 13:20:28 +01:00
Oliver Blanthorn
f6794dbcce
Merge branch 'real_hint_mode' 2019-05-28 13:11:44 +01:00
Oliver Blanthorn
51c73d028e
Document hint mode binds 2019-05-28 13:08:48 +01:00
Oliver Blanthorn
905f0c50fe
Add unchecked gets for runtime usage.
Also make config.getAsync use the same type checking
and document a hitherto undocumented setting that it
surfaced.
2019-05-28 12:49:45 +01:00
glacambre
f050f68740
Turn hint mode into a real mode
This commit turns hint mode into a real mode. This required several
changes:
- In `src/content/hinting.ts`: create a function named getHintCommands
  which returns an object containing functions that can be used as ex
  commands.
- In `src/content/hinting.ts`: rewriting the `parser` function to have
  it check the `hintmaps` object in the config and trigger these if
  they're bound to anything. We can't use a generic parser because
  vimperator hints need to catch every single keypress, even the ones
  that aren't bound to anything and act on them.
- Creating `src/background/hinting.ts`, which just wraps ex commands
  from src/content/hintings.ts in a proxy which will forward calls to the
  content script.
2019-05-28 12:41:40 +02:00
Oliver Blanthorn
b098e760e9
Merge branch 'vlmarek-master' 2019-05-27 19:37:57 +01:00
Oliver Blanthorn
7717c18e92
Add type checking to first arg of config.get
Also document noiframeon, which I discovered was undocumented
because of the type checking.

It makes splatted config.gets rather uglier with `...args` ->
`args[0] as keyof config.default_config, args.slice(1)...`.

It has apparently also broken config completions.
2019-05-27 19:27:52 +01:00
Oliver Blanthorn
afbf4e2e50
Prevent bmark from guessing title for manually specified URLs 2019-05-27 14:47:47 +01:00
reversebreak
6a15b99c2e
Make bmark use page title if none is supplied 2019-05-27 14:13:32 +01:00
Vladimír Marek
76f7100987 Add RegExp capability to text filtered hinting 2019-05-27 14:57:07 +02:00
Oliver Blanthorn
81b5639084
Merge branch 'fix_taball_moving_to_wrong_tab' 2019-05-27 10:57:37 +01:00
glacambre
486958f7fc
excmds.ts: Fix taball moving to tab in wrong window
This commit fixes a bug reported by cmcaine. The issue was that when you
have multiple windows on multiple workspaces, taball wouldn't switch
focus to the right tab. This happened because taball relied on
browser.windows.update(id, {focused: true}) having switched to the right
window before calling idFromIndex. This didn't always work because
sometimes window managers will keep the current window focused.
2019-05-27 10:16:06 +02:00