Oliver Blanthorn
fad7851829
Fix #394 : rename generated source .name.generated.ext
2018-04-22 17:15:40 +01:00
Oliver Blanthorn
60ce31f44c
Move CSS editing to JS
2018-04-21 23:43:12 +01:00
Oliver Blanthorn
c858a7d4e8
Add native version checker and nativeopen
...
Adds semver-compare runtime dependency: might be worth statically
linking it since it's so simple.
2018-04-20 22:58:02 +01:00
Oliver Blanthorn
98734fb3a8
Merge branch 'master' of github.com:cmcaine/tridactyl into nativemessenger
...
Merge in version 1.9.4: I wanted the about:newtab code.
2018-04-20 21:41:15 +01:00
Oliver Blanthorn
64cb7ac953
Add exemplar exclaim binding and improve docs
2018-04-20 19:47:18 +01:00
Oliver Blanthorn
0ee2b40853
Add hint -W [exstr]
to execute exstr on hint's href
2018-04-20 19:37:45 +01:00
Oliver Blanthorn
6088ebff6c
Add hint -W [exstr]
to execute exstr on hint's href
2018-04-20 19:32:09 +01:00
Oliver Blanthorn
4e77b65123
Add jumplist for inputs bound to g;
...
Currently repeated use of `g;` will only take you to the most recently
used input. Cycling through recently used inputs is a WIP.
2018-04-20 17:05:15 +01:00
Colin Caine
4c7efaaef5
Stop treating "std::map" or "Error: foo" as URIs.
...
Forbid unusual URIs in :open, etc. Fix #352 .
```
If the uri looks like it might contain a schema and a domain, try url()
test for a non-whitespace, non-colon character after the colon to avoid
false positives like "error: can't reticulate spline" and "std::map".
These heuristics mean that very unusual URIs will be coerced to
something else by this function.
if (/^[a-zA-Z0-9+.-]+:[^\s:]/.test(maybeURI)) {
```
2018-04-19 17:35:05 +01:00
Colin Caine
a11d7704a8
Special case 'about:blank' and '' in :open
2018-04-19 16:35:10 +01:00
Colin Caine
50f7f3ed07
Native messenger code review
2018-04-18 22:02:31 +01:00
Oliver Blanthorn
713a9176db
Install native messenger on build; edit text in external editor
...
Currently we only support gVim and Linux, but `winword.exe` support is
theoretically possible.
2018-04-18 21:51:40 +01:00
John Beard
962dd62c0b
Merge johnnbeard's and IsaacKhor's native messenger
...
(Credited to John, merge by Olie)
2018-04-18 21:51:05 +01:00
Oliver Blanthorn
4edd8f640b
Add support to bmark for placing bookmarks in folders
2018-04-16 23:13:12 +01:00
Oliver Blanthorn
af06c9ee91
Improve bind documentation
2018-04-16 12:45:40 +01:00
Colin Caine
c27d6d86ff
Add background flag to tabopen
...
Fix #396
2018-04-16 11:26:16 +01:00
Oliver Blanthorn
d59f890a32
Fix typo
2018-04-15 19:08:42 +01:00
Oliver Blanthorn
f138374a87
Add viewconfig
command
2018-04-15 18:21:46 +01:00
Oliver Blanthorn
dd2020913c
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#266
2018-04-15 15:32:31 +01:00
Oliver Blanthorn
2d9d4d659a
Fix sanitise help
2018-04-15 14:11:00 +01:00
Colin Caine
498dc2403d
Open a new tab for :help more predictably
2018-04-15 11:07:48 +01:00
Oliver Blanthorn
061178649e
Show tutorial on first install of Tridactyl
2018-04-14 22:37:16 +01:00
Oliver Blanthorn
252158791c
Update docstrings; hide internal function
2018-04-14 22:14:16 +01:00
glacambre
0e128b9ef8
{config,content,dom,excmds}.ts: Implement autofocus-prevention mechanism
2018-04-14 11:10:42 +02:00
Oliver Blanthorn
670c5be323
Start tutorial. Currently does not run in extension
2018-04-13 23:30:53 +01:00
Oliver Blanthorn
095ce771ea
Formatting: run all typescript through prettier
2018-04-13 19:28:03 +01:00
Oliver Blanthorn
e441acb0fe
Improve help on excmds.ts and show new tab page on first run
2018-04-12 22:33:10 +01:00
Oliver Blanthorn
cc193a4800
Merge branch 'master' of github.com:cmcaine/tridactyl into IsaacKhor-i341-fix-tabclose
2018-04-12 13:32:58 +01:00
Oliver Blanthorn
3fbad9e693
Support #/% index for tabs everywhere
2018-04-12 13:17:17 +01:00
Oliver Blanthorn
ac3accbc45
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_scrolling_again
2018-04-12 12:14:56 +01:00
glacambre
15c8c47015
excmds.ts: Make recursiveScroll take frames into account
2018-04-12 00:02:19 +02:00
glacambre
21fe018110
excmds.ts: Try to optimize recursiveScroll, fix it for some sites
2018-04-11 23:49:36 +02:00
Oliver Blanthorn
a59b824221
Fix #370 : add clipboard yanktitle|yankmd
2018-04-11 19:05:30 +01:00
Oliver Blanthorn
647ea742c1
Add fullscreen
command
...
Hold `.` after running for extra fun.
2018-04-11 18:19:29 +01:00
Oliver Blanthorn
8f5e0c0781
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_scrolling
2018-04-11 17:25:42 +01:00
glacambre
dc6543719c
excmds.ts: Make scrollline recursive, fix recursiveScroll
2018-04-11 08:23:11 +02:00
glacambre
ddc83c7c37
{excmds,hinting}.ts: use DOM.focus() instead of elem.focus()
2018-04-02 14:53:13 +02:00
Oliver Blanthorn
442e99c16e
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-impl_viewsource
2018-04-02 13:32:56 +01:00
Oliver Blanthorn
2eda9b8fb2
Stop wanton verbiage from autocmds clogging up the console
2018-03-26 14:00:26 +01:00
Oliver Blanthorn
972e69ad9c
Find mode tidied up for intrepid explorers.
2018-03-18 15:08:09 +00:00
Oliver Blanthorn
6d8fe17069
Add nascent find mode
2018-03-18 13:11:11 +00:00
Oliver Blanthorn
f2244ee554
Sketch out find command using mark.js
2018-03-18 13:10:17 +00:00
glacambre
a163eaa732
excmds.ts,viewsource.css: Make :viewsource respect color scheme
2018-03-17 12:42:13 +01:00
glacambre
b83fbfec5e
excmds.ts: Fix viewsource disregarding its argument
2018-03-17 12:42:06 +01:00
glacambre
5be209f100
Implement tridactyl-viewsource
...
The problem with the current :viewsource is that it loads a page in
which Tridactyl is not loaded. This commit fixes this by enabling a new
setting, "viewsource" which can be set to either "default" or
"tridactyl". If "tridactyl" is selected, then :viewsource will load the
source code of the HTML page in the current page instead of redirecting
the user to the view-source:// version of the page.
2018-03-17 12:42:03 +01:00
glacambre
942ecfc054
excmds.ts: Implement basic :viewsource command
2018-03-17 12:40:49 +01:00
Isaac Khor
b607d8f5bd
Fix #341 : tabclose #
now works
2018-03-14 21:34:30 +08:00
Oliver Blanthorn
b7a833fcf5
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-fix_#325
2018-03-13 12:46:43 +00:00
Oliver Blanthorn
ddbc505ca5
Rename gistyle to gimode, default to firefox, version to configversion
2018-03-13 12:46:31 +00:00
Colin Caine
6afda3b632
Rewrite tabopen and openInNewTab
...
Fixes #342 and a bug where I used id rather than index.
2018-03-12 22:42:51 +00:00