Commit graph

956 commits

Author SHA1 Message Date
Colin Caine
446bd0be21 messaging: move more modules to new sys 2017-10-28 05:11:10 +01:00
Oliver Blanthorn
444f9259f7
Merge branch 'master' of github.com:cmcaine/tridactyl into google 2017-10-24 17:45:16 +01:00
Oliver Blanthorn
36d33b8f60
Allow winopen and tabopen to take multi-word arguments 2017-10-24 17:40:00 +01:00
Oliver Blanthorn
392bb5b287
Stop fillcmdline from appending a space to empty string 2017-10-24 17:38:52 +01:00
Bzly
577b89a948 Update newtab.html
Blanthorn is bad at things
2017-10-24 14:31:53 +01:00
Oliver Blanthorn
639294c23d
Start work on {tab,win,,}open google etc.
Currently breaks t, : and probably some other things. You can't make an
omlette without breaking some legs.
2017-10-24 12:51:04 +01:00
Oliver Blanthorn
7ac70d645e
Vague attempt at docs. Run src/make_docs.sh first. 2017-10-23 23:44:07 +01:00
Oliver Blanthorn
2dc82334be
Add space between favicon and tab number in buffers 2017-10-23 14:42:44 +01:00
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
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
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
31ca72cc55
Append space to excmds again 2017-10-19 21:00:20 +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
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
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
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
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