Commit graph

1013 commits

Author SHA1 Message Date
Colin Caine
8d53fd60eb Rework messaging, key suppression, exmode parser
exmode.parser now converts strings to the types given in excmd
signatures.

Messaging now works in both directions (but I haven't made excmds.ts use
the new system yet. Exercise for the reader (see keydown_* state() for a
simple example)).

keys are now being suppressed, but in a pretty stupid way.

I got fed up of not having proper itertools, or str conversions, so I
wrote some. Others have written them in JS, but they were fun to make.
Only the ones I'm using are tested.
2017-10-23 09:42:50 +01:00
Colin Caine
5e88368802 excmd: fix clipboard paste, hide clipboard better 2017-10-23 03:19:26 +01:00
Colin Caine
e0cebf6936 perf: Load content script even earlier
Bonus: load on about:blank, about:srcdoc as well
2017-10-23 02:57:39 +01:00
Colin Caine
cb4a116b2a build: make watch mode less noisy 2017-10-23 02:11:16 +01:00
Colin Caine
f90d9e708f build: fix watch mode 2017-10-23 02:03:26 +01:00
Colin Caine
b64a03163b build: npm update 2017-10-23 01:26:24 +01:00
Colin Caine
6185805d42 tsc: move browser.sessions definitions to web-ext-types
excmds.ts had to change so that anonymous func returns bool
2017-10-22 17:03:23 +01:00
Oliver Blanthorn
0ab7decb4f
NFA 2017-10-22 16:48:35 +01:00
Oliver Blanthorn
ab9e9671a4
Merge branch 'master' of github.com:cmcaine/tridactyl into newtab 2017-10-22 16:47:55 +01:00
Oliver Blanthorn
c6d7ba068d
Make open more user-friendly; default to searching if it doesn't look like a URI 2017-10-22 16:33:43 +01:00
Oliver Blanthorn
4b4e4cb343
Merge branch 'master' of github.com:cmcaine/tridactyl into newtab 2017-10-22 15:35:23 +01:00
Oliver Blanthorn
f043e6902a
Initial new tab page. Feedback welcomed. 2017-10-22 15:34:27 +01:00
Oliver Blanthorn
7d859c041d
Merge branch 'master' of github.com:cmcaine/tridactyl 2017-10-22 15:25:10 +01:00
Oliver Blanthorn
75f960832f
Make favicons scale with em height 2017-10-22 15:24:56 +01:00
Oliver Blanthorn
3626254139
Fix font on Windows 2017-10-22 11:31:09 +01:00
Oliver Blanthorn
242fcce1c3
Change commandline and completions to look more like Vimperator 2017-10-22 11:08:43 +01:00
Andrzej Pacanowski
b78be56273 enhance :undo logic
restore most recently closed tab in this window unless the most recently closed item was a window
2017-10-22 00:38:49 +01:00
Andrzej Pacanowski
87d72863cf vim modeline 2017-10-22 00:38:49 +01:00
Oliver Blanthorn
64da7e6bc3
Move userChrome to static; add another example 2017-10-21 13:46:23 +01:00
Oliver Blanthorn
40fe8c60b1
Add example userChrome.css 2017-10-21 13:14:12 +01:00
Oliver Blanthorn
22cd3c9faf
Make side scrolling quicker 2017-10-21 11:15:31 +01:00
Oliver Blanthorn
b76921b9b6 Merge pull request #21 from Koushien/excmds
Change scrollx to scrollpx in parsing.ts
2017-10-21 11:09:41 +01:00
Oliver Blanthorn
e7c3820f39 Merge branch 'master' into excmds 2017-10-21 11:04:46 +01:00
Oliver Blanthorn
839b23f1e9
Make content scripts load slightly earlier 2017-10-21 09:42:23 +01:00
Koushien
f5cd9d4d78
Since no scrollx, horizontal scroll with scrollpx 2017-10-20 17:15:44 -07:00
Oliver Blanthorn
248147e1e7
Merge branch 'master' of github.com:cmcaine/tridactyl 2017-10-19 21:01:29 +01:00
Oliver Blanthorn
31ca72cc55
Append space to excmds again 2017-10-19 21:00:20 +01:00
Oliver Blanthorn
8a49f90353
Merge branch 'master' of github.com:cmcaine/tridactyl
I don't understand why I had to do this. Something is probably broken. I
blame Colin.
2017-10-19 20:34:16 +01:00
Oliver Blanthorn
7daff9234f
Add multiword support to google 2017-10-19 20:24:21 +01:00
Oliver Blanthorn
60fd8e4165
Add multiword support to google 2017-10-19 20:15:01 +01:00
Oliver Blanthorn
238f4c1063
Yank now works; paste to open is broken 2017-10-19 13:21:55 +01:00
Oliver Blanthorn
c76d3a6c9a
First (broken) attempt at yy to yank URLs 2017-10-19 12:42:49 +01:00
Colin Caine
4d109a7796 git: ignore generated excmds files 2017-10-19 05:17:53 +01:00
Colin Caine
41aa893cd9 build: make macros.py py3.5 compatible 2017-10-19 05:12:47 +01:00
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