Commit graph

2529 commits

Author SHA1 Message Date
Colin Caine
8897d8929b excmds: Macro-ify excmds_background and content
excmds_background/content are now generated by python. New dependency,
python3!
2017-10-19 04:40:36 +01:00
Oliver Blanthorn
679724fc56
Use last link on page to reduce need for hardcoding 2017-10-18 21:29:29 +01:00
Oliver Blanthorn
6ca754dd9f
Add clicknext functionality for comics etc 2017-10-18 21:17:47 +01:00
Oliver Blanthorn
85e8b82c88
Add first steps for clicking next links eg in comics 2017-10-18 18:41:55 +01:00
Oliver Blanthorn
fa51fc2024
Add tabdetach,duplicate and undo commands; fix multi-window bugs 2017-10-16 14:42:12 +01:00
Oliver Blanthorn
0e4f606468
Only append space to non-zero excmds 2017-10-16 13:50:40 +01:00
Oliver Blanthorn
34928489dc
Revert to using Mozilla's Best URL bar for completions on new tab 2017-10-15 23:23:59 +01:00
Oliver Blanthorn
8d2b7d5e2a
Merge branch 'olie-staging' of github.com:cmcaine/tridactyl into olie-staging 2017-10-15 23:09:23 +01:00
Oliver Blanthorn
e78028b040
Initial attempt at multi-word commandline initiation 2017-10-15 23:07:08 +01:00
Oliver Blanthorn
ea9806f591
Add proof of concept for buffer filter by text on page 2017-10-15 23:05:41 +01:00
Colin Caine
86a0af78b7 build: update web-ext-types 2017-10-14 23:28:13 +01:00
Koushien
dca6694c0e
Implement minimal :buffer
* prev tab ('#') isn't always the previously
selected tab, i.e., even if you remotely close
the previously selected tab, since we determine
based on time of last access, we always have a
previous tab as long as there is more than one
tab in the window.

* related, displayed prev tab could be wrong if
user unfocuses commandline, switches tabs via
other means and returns to the already opened
:buffer. Possible solution could be to share the
variable so it is only set when tabs are listed.

* Sometimes favicons initially fail to load but
reappear in the commandline when you switch to
the tab. Appears unrelated to whether the tab
is discarded (unloaded in memory).

* Unsuccessfully adding rules for <a> tags.
Beside incompetence, Firefox might be overriding?
2017-10-14 11:01:32 -07:00
Oliver Blanthorn
01fe616cb8
Initial attempt at multi-word commandline initiation 2017-10-13 22:04:29 +01:00
Oliver Blanthorn
88cc72af20
Add web-ext to dev-dependencies 2017-10-13 08:43:49 +01:00
Colin Caine
a2986a6e9d cmd: example dynamic function call 2017-10-12 04:43:56 +01:00
Koushien
765a1f749f
Merge remote-tracking branch 'origin/master' into buffer 2017-10-11 17:43:55 -07:00
Colin Caine
735c56a151 cmd: workaround firefox Esc issue 2017-10-09 23:55:24 +01:00
Koushien
82736c99ef
<ESC> in cmdline to null input and exit 2017-10-09 12:40:23 -07:00
Koushien
49d26dd33d
[WIP] Implement :buffer
Current issue: why is changecompletion writing to
the input field?
2017-10-09 12:09:23 -07:00
Jorge
ac28b348d5 Remove missing marks from vimium
Looks like they do have them: https://github.com/philc/vimium
2017-10-09 18:38:14 +01:00
Oliver Blanthorn
3147a49082
Add rudimentary $web_search_provider support
Currently only does single words. Multi-word support coming once
@cmcaine fixes commandline parser.
2017-10-08 16:46:29 +01:00
Oliver Blanthorn
7d27755307
Add rudimentary $web_search_provider support
Currently only does single words. Multi-word support coming once
@cmcaine fixes commandline parser.
2017-10-08 16:46:29 +01:00
Colin Caine
0eceb10bfb dev: fix ts-node REPL mode 2017-10-08 16:34:02 +01:00
Colin Caine
24c7dd9c40 src: Clamp percentage to 0-100 2017-10-08 16:31:15 +01:00
Colin Caine
eb06c64be3 src: Fix scrollto. 2017-10-08 16:24:29 +01:00
Koushien
9b42a437d9
Compress scrolls, scrollto accept %
Implement Number.clamp to help scrollto
2017-10-06 19:31:10 -07:00
Colin Caine
8b13b3e7a7 src: revert bad change to msgFilteredTabs() 2017-10-06 18:03:45 +01:00
Oliver Blanthorn
09135dcada Merge pull request #14 from Koushien/tabmove
Expose scrollto, add winopen, pin and tabmove
2017-10-06 09:20:16 +01:00
Koushien
633231d381
Append space to value changecommand fills
Quick hack.
2017-10-05 22:30:09 -07:00
Koushien
cff8d774f4
Expose scrollto, add winopen, pin and tabmove
The tabmove function could be made more concise,
I'm sure, but initializing m to -1 did not have
the desired effect of no arguments being passed
-> moving tab to last in index.
2017-10-05 22:29:30 -07:00
Colin Caine
df3ca534ed src: fix commandline_frame/background messaging
The commandline iframe needs to be messaged with the tabs API, as if
it's a content script.
2017-10-06 04:16:02 +01:00
Oliver Blanthorn
07c3688f8d Bonus late night commit
All the mistakes are Colin's fault
- Generic listener
- Send messages to command line
- ^ doesn't work unless frame is opened in new tab
2017-10-06 03:40:17 +01:00
Oliver Blanthorn
4dc218084d Add open excmd 2017-10-06 03:40:17 +01:00
Colin Caine
f990bd0134 src: stop insertmode parser throwing 2017-10-06 03:30:51 +01:00
Colin Caine
bed1109cc9 types: extend type checking 2017-10-06 03:30:51 +01:00
Colin Caine
2efb614090 build: update dependencies 2017-10-06 03:30:51 +01:00
Colin Caine
b37743adaf src: normalize indentation 2017-10-06 03:30:51 +01:00
Oliver Blanthorn
61d24e918f
Ensure commandline hides even if command deactivates page 2017-10-05 21:38:16 +01:00
Colin Caine
7736042ea3 src: fix tsc -d; use insert mode for inputs
The input detection is very naive at the moment. Fix soon.
2017-10-05 18:15:27 +01:00
Colin Caine
09b5fcd795 tests: add travis-riot integration 2017-10-05 15:52:01 +01:00
Colin Caine
50241c91d2 src: hide commandline after exec 2017-10-05 15:27:45 +01:00
Colin Caine
24fbd85a75 src: log errors from exmode.parser to browser console 2017-10-05 13:26:28 +01:00
Oliver Blanthorn
dca17270ed
Merge branch 'master' of github.com:cmcaine/tridactyl 2017-10-05 12:34:18 +01:00
Oliver Blanthorn
75a33eb654
Include some extra files to stop Colin whining 2017-10-05 12:24:53 +01:00
Colin Caine
b7402afb17 docs: note URI related firefox bugs 2017-10-05 11:47:50 +01:00
Oliver Blanthorn
22109a5f9a Merge pull request #13 from hdhoang/patch-1
update doc links
2017-10-05 09:22:03 +01:00
Hoàng Đức Hiếu
ddb08ed07f update doc links 2017-10-05 15:18:15 +07:00
Colin Caine
e2ccd3da4a tests: Update package.json, shorten test runtime 2017-10-05 03:55:42 +01:00
Colin Caine
07bcf762d0 tests: Update and fix example tests 2017-10-05 03:42:55 +01:00
Colin Caine
67a4d2440d legal: add license
fix #12
2017-10-05 02:25:11 +01:00