Tobias Gläßer
b2ade39223
Fixed bug in key event handling between vim modes, where the same key event could get interpreted repeatedly. Also some rewrites/improvements of the code. Key mappings can now contain control characters and meta keys with a vim-like notation. There's a hard insert mode, which disables all of browsh's shortcuts and requires 4 hits on ESC to leave. There's a new multiple link opening feature analogous to vimium, that's still incomplete.
2019-06-24 09:12:20 +03:00
Tobias Gläßer
935983725c
Added vim feature for editing URL in new tab
2019-06-24 09:12:20 +03:00
Thomas Buckley-Houston
b780a79f2e
Gofmt: some minor capitalisation
2019-06-24 09:12:20 +03:00
Thomas Buckley-Houston
714cad8615
Travis: upload logs to text host
...
This is because Travis' logs had 2 problems.
1. it doesn't capture the entire log output
2. it doesn't show logs when there's a timeout
2019-06-24 09:12:20 +03:00
Tobias Gläßer
7a622b230b
Fixed bug where keyEvents variable was initialized wrongly. This led to key combinations only working after a certain number of key strokes.
2019-06-24 09:12:20 +03:00
Thomas Buckley-Houston
ed79db0510
Vim mode: Small updates from PR review
2019-06-24 09:12:11 +03:00
Thomas Buckley-Houston
8161ea34e6
Vim mode: convert unexported symbols to lowercase
2019-06-24 09:12:11 +03:00
Thomas Buckley-Houston
59d2c31acf
Fixes tests for Vim mode
...
Vim mode still needs a lot more tests
2019-06-24 09:12:11 +03:00
Thomas Buckley-Houston
eae72e94a6
Adds some Vim-specific integration tests
2019-06-24 09:12:11 +03:00
Thomas Buckley-Houston
e03923394c
Refactors Vim code from tty.go into its own file
2019-06-24 09:12:11 +03:00
Tobias Gläßer
49eebee0c9
Fixed typo
2019-06-24 09:09:58 +03:00
Tobias Gläßer
d3fff67c61
Prettified js files
2019-06-24 09:09:58 +03:00
Tobias Gläßer
bd5c30640d
Instead of adding 1 to Y coord, add 1 to height. This fixes an issues
...
with activating input boxes using link hinting.
2019-06-24 09:09:58 +03:00
Tobias Gläßer
0b7d1dc7ef
Added vim like navigation. This is still in an early stage.
2019-06-24 09:09:58 +03:00
Tobias Gläßer
15c7b45b6f
Added features needed for vim like navigation to the webextension.
2019-06-24 09:09:58 +03:00
Tobias Gläßer
7b7e6bc308
Refactored code using switchToTab and added new features.
...
Added moveTabLeft and moveTabRight functions, which take
a tab ID and try to move the tab as far right or left
in the tabOrder as possible.
Added previouslyVisitedTab function that switches to the
previously selected tab.
2019-06-24 09:09:58 +03:00
Tobias Gläßer
86acac617b
Added duplicate_tab, restore_tab commands.
2019-06-24 09:09:58 +03:00
Tobias Gläßer
631483bbd9
Added initial configuration for vim like keybindings.
...
The keybindings are hardcoded for now, but this is going to change.
2019-06-24 09:09:58 +03:00
Tobias Gläßer
c794f10287
Added sessions permission
2019-06-24 09:09:58 +03:00
Tobias Gläßer
fac1af7f2a
Fixed typo in comment
2019-06-24 09:09:58 +03:00
Tobias Gläßer
8fc15f3301
ignore debug log in interfacer/ directory
2019-06-24 09:09:58 +03:00
Tobias Gläßer
ebc8de95b9
ignore manifest.json backup file
2019-06-24 09:09:58 +03:00
Tobias Gläßer
dc9533969f
Set default DISPLAY environment variable for xclipboard functionality
2019-06-24 09:09:58 +03:00
Tobias Gläßer
ca30b7722b
added command for links hints
2019-06-24 09:09:58 +03:00
Tobias Gläßer
baf808f35d
gofmt code
2019-06-24 09:09:58 +03:00
Tobias Gläßer
3b246ff796
Created overlayVimMode function for displaying vim navigation state
2019-06-24 09:09:58 +03:00
Tobias Gläßer
ee1291b41a
Added new vimium.js with code taken from vimium
2019-06-24 09:09:58 +03:00
Thomas Buckley-Houston
08c5ee8770
CLI: Actual locally tested fix to race condition
...
Sorry for making new releases like this. It's that the live Browsh
services will only pull in officially released versions. But also that
this bug could affect a lot of people installing Browsh themselves.
2019-06-19 16:54:32 +03:00
Thomas Buckley-Houston
4ca05b9236
Browsh CLI: fix for Marionette race condition
2019-06-19 14:47:51 +03:00
Thomas Buckley-Houston
1d4723f3b0
injectCustomCSS() fix, don't error of no body
2019-06-19 13:29:09 +03:00
Thomas Buckley-Houston
e85455880a
HTTP server: timeout for page loading
2019-06-19 13:23:42 +03:00
Thomas Buckley-Houston
759e8a125a
HTTP server return <html> instead of just <body>
2019-06-19 13:22:38 +03:00
Thomas Buckley-Houston
95562aa129
HTTP server: fixes that were causing page hangs
2019-06-19 13:21:41 +03:00
Thomas Buckley-Houston
d6b5951059
HTTP server: add experimental DOM-dump mode
...
Simply dumps the contents of the DOM
2019-06-19 09:03:20 +03:00
Thomas Buckley-Houston
81f41b7b4c
Fix for Viper's lowercasing of config keys :/
...
See spf13/viper#635
2019-06-19 08:12:37 +03:00
Thomas Buckley-Houston
fc92642a4c
Version 1.6.0
2019-06-18 17:26:05 +03:00
Thomas Buckley-Houston
931cc1ca38
Allow Firefox prefs to be set in config.toml
2019-06-18 17:17:01 +03:00
Thomas Buckley-Houston
2b97b29d91
HTTP server: fix for stale DOM dimensions
2019-06-18 13:41:23 +03:00
Thomas Buckley-Houston
554f7f393a
Fix JS tests
2019-06-18 13:30:38 +03:00
Thomas Buckley-Houston
31def7cc30
Config to set custom global CSS
2019-06-18 12:54:29 +03:00
Thomas Buckley-Houston
c7ddd91d25
Add Patreon to Github's sponsor button
2019-06-18 12:51:23 +03:00
Thomas Buckley-Houston
d079f9a353
JS prettier fixes
2019-06-18 12:51:06 +03:00
Thomas Buckley-Houston
f8b0e5592b
Text rendering: fixes and improvements
...
Introduces a new option to disable the pixel comparison text visibility
detecting code. There are some situations in which it helps and some in
which it hinders. So for now it is disable by default and can be
enabled through the config file or my pressing F6 in the TTY client.
Also includes a couple of fixes to the HTTP server's text rendering.
2019-06-18 12:31:45 +03:00
Thomas Buckley-Houston
d93c084dcd
Update dependencies. Bump to v1.5.2
2019-06-11 13:21:56 +03:00
Thomas Buckley-Houston
534c0adcae
Merge pull request #263 from browsh-org/restart-firefox-for-every-spec
...
Various improvements to integration tests
2019-06-11 12:43:15 +03:00
Thomas Buckley-Houston
27826b34e2
Various improvements to integration tests
...
This has been a long time coming, but it's still not perfect. Basically
I'm trying to reset the entire environment as much as possible so that
each spec runs in a clean room. Mostly in this commit Firefox is being
killed and restarted for every spec, which has made a lot of
improvements.
2019-06-11 12:21:39 +03:00
Thomas Buckley-Houston
8ab587d5a6
Update to Firefox 66.0.4 to fix addon cert
2019-05-06 09:38:30 +02:00
Thomas Buckley-Houston
883cd9cef9
Update JS and Go deps. Bump Browsh to v1.5.0
2018-11-06 21:14:49 +09:00
Thomas Buckley-Houston
aedcdb388f
Update FF Marionette commands
...
In Firefox 63 an old syntax for Marionette commands was deprecated.
Updating mostly just meant prepending `WebDriver` to existing commands.
This should fix most problems in #232
2018-11-06 21:14:42 +09:00
Thomas Buckley-Houston
2afe57b02f
Newer NVM formats package.lock differently
2018-11-06 21:14:37 +09:00