Commit graph

2106 commits

Author SHA1 Message Date
glacambre
233a94cd80
config.ts: make getURL check site-specific defaults too
This makes site-specific defaults override global settings set by the
user.
2019-05-27 17:55:59 +02:00
Oliver Blanthorn
4b515ec6d3
Add default subconfig for followpagepatterns www.google.com
This doesn't currently work - it looks like only subconfigs in user config
are considered. Probably need to use mergeDeep somewhere.
2019-05-27 15:21:29 +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
26343e5a5d
Fix #930: make in-browser versions match ex-browser
Additionally, change the 'default' build to be a beta build
in the manifest, and give stable releases prettier version
numbers.
2019-05-27 12:59:25 +01:00
Oliver Blanthorn
360705704b Fix #1492 negated bool 2019-05-27 12:21:35 +01:00
Oliver Blanthorn
81b5639084
Merge branch 'fix_taball_moving_to_wrong_tab' 2019-05-27 10:57:37 +01:00
Oliver Blanthorn
b61569c167
Merge pull request #1593 from saulrh/deprecated-browser-extension-getURL
browser.extension.getURL -> browser.runtime.getURL
2019-05-27 10:48:00 +01:00
Oliver Blanthorn
03f326cf40
Merge branch 'fix_pages_autofocusing_elements' 2019-05-27 10:47:34 +01:00
Oliver Blanthorn
db7eb12ca6
Make focus prevent loop more CPU friendly; uncouple from allowautofocus 2019-05-27 10:47:04 +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
Saul Reynolds-Haertle
031883e85c browser.extension.getURL -> browser.runtime.getURL
Function is deprecated:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extension/getURL

Replacement has essentially identical functionality:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getURL

I'm sure that there's _some_ difference between the "path in install
directory" and "path relative to manifest.json", but I don't think
that we're going to be the ones running into it.
2019-05-26 22:03:34 -07:00
Oliver Blanthorn
787f519494
newtab: add dev diary 2019-05-27 00:04:14 +01:00
glacambre
fff155e142
content.ts: Fix pages autofocusing elements
Some pages manage to focus a hidden input field on page load. This puts
tridactyl in insert mode without the user being aware of it. This commit
actively protects users who set `allowautofocus` to "false" against
this.

Closes https://github.com/tridactyl/tridactyl/issues/1492
2019-05-27 00:40:58 +02:00
Oliver Blanthorn
05ca6fc68e
Fix #749: remove 'new features' from private window new tab page 2019-05-26 23:30:04 +01:00
Oliver Blanthorn
92a0dbbc2a
Merge branch 'fix_scrolling_infinite_loops' 2019-05-26 17:57:30 +01:00
glacambre
b47d3928a1
scrolling.ts: fix infinite scrolling loops
Should close https://github.com/tridactyl/tridactyl/issues/1247
2019-05-26 18:45:53 +02:00
Colin Caine
9714dd0ce2 hinting: document pipe() and pipe_elements() 2019-05-26 11:46:51 +01:00
Colin Caine
d0a0e79e35 hinting: improve hint -f help 2019-05-26 11:46:51 +01:00
Vladimír Marek
966e0d0db4 Make always select single hint
Previously even if there was only one hit left it was subject to 'shouldSelect'
and 'different' screening.
2019-05-26 11:46:51 +01:00
Vladimír Marek
b7db91c95d Support for hinting (selecting) buttons by their text 2019-05-26 11:46:51 +01:00
Vladimír Marek
11c26212d5 Implement text filtering of hints 2019-05-26 11:46:51 +01:00
Oliver Blanthorn
028ec390df
Merge pull request #1584 from vinceau/query-set
Add setting of URL queries if they don't already exist
2019-05-26 09:18:24 +01:00
Russell Cheung
908c598b3a native.ts: fix getProfileUncached when loading fallback default profile 2019-05-25 12:06:37 +08:00
Vince Au
4fd6463203
Rename addQueryValue to setQueryValue 2019-05-25 09:08:44 +10:00
Vince Au
bea1852e1a
Add url query if it does not exist 2019-05-24 22:59:12 +10:00
Oliver Blanthorn
4a5158accc
release 1.15.0 2019-05-23 23:53:24 +01:00
Oliver Blanthorn
3e5142225a
Warn people about the new userChrome pref 2019-05-23 23:51:16 +01:00
Oliver Blanthorn
6bc37a3d26
Merge branch 'numeric-prefix-repeat' 2019-05-23 22:36:22 +01:00
Oliver Blanthorn
6fe72b6e33
Merge pull request #1574 from tridactyl/fix_nativeopen
Fix nativeopen
2019-05-22 19:30:19 +01:00
glacambre
2b4bccd7be
lib/native.ts: cache getProfile() results, handle windows paths better 2019-05-22 19:16:39 +02:00
glacambre
e9236a65b6
excmds.ts: Fix :nativeopen breaking on windows 2019-05-22 18:31:29 +02:00
Oliver Blanthorn
a673bd9a62
Fix another typo 2019-05-22 17:05:00 +01:00
Marvin Ewald
c3bf459581
Fix nonewtab build links 2019-05-22 17:03:07 +01:00
Oliver Blanthorn
6d580c8907
Update donation amount 2019-05-22 14:13:08 +01:00
Colin Caine
65de30fe6c completions: fix history completions in nonewtab 2019-05-22 12:43:52 +01:00
Marvin Ewald
107657789d Add note how to migrate configs across builds 2019-05-22 11:28:05 +01:00
Marvin Ewald
79be1c6145 Mention the nonewtab build in the docs 2019-05-22 11:28:05 +01:00
Oliver Blanthorn
83ca843dd3
Expose getclip ex-command 2019-05-22 10:51:05 +01:00
PHO
10a744fa32 Workaround for browser.tabs in a content script having an explicit undefined value 2019-05-21 18:04:17 +09:00
glacambre
b50401c36a
native.ts: Make getProfile() work even without profiles.ini 2019-05-19 18:37:03 +02:00
glacambre
2dcf853340
excmds.test.ts: Add :guiset test
This test makes sure guiset has completions and actually writes
something in the user's userChrome.
Writing this test made me discover that `-profile` was a valid firefox
argument and so I added support for that in native.ts. This made me
realize that the profile detection code didn't handle profiles that
aren't described in `profile.ini` and so I fixed that.
2019-05-19 17:00:52 +02:00
glacambre
a2e0486e95
Fix dom.getLastUsedInput() not working on webextension pages 2019-05-18 18:41:13 +02:00
Oliver Blanthorn
12f1c68e5d
Merge pull request #1534 from kurnevsky/arrows-navigation
Add arrows navigation in the hint mode
2019-05-09 14:21:27 +01:00
Oliver Blanthorn
81d43fa0ab
Merge pull request #1518 from saulrh/synchronize-repeat
Make repeat wait for completion of each excmd before continuing
2019-05-09 11:06:39 +01:00
Jan Hruban
f66d8f290f Fix tridactylrc location in documentation 2019-05-08 17:41:36 +02:00
Evgeny Kurnevsky
2a48bf6a3f
Add arrows navigation in the hint mode. 2019-05-08 17:10:28 +03:00
Saul Reynolds-Haertle
4640799603 Make repeat wait for completion of each excmd before continuing 2019-05-07 23:08:29 -07:00
Saul Reynolds-Haertle
99821e0c65 Remember to actually read the spec this time 2019-05-07 22:59:54 -07:00