Commit graph

45 commits

Author SHA1 Message Date
Oliver Blanthorn
7955daea32
Remove some console.logs 2018-05-17 21:55:14 +01:00
Colin Caine
2f40f990d8 Improve CSP clobbering
- Get csp setting asynchronously
 - Case insensitively match content-security-policy header value
 - Parse csp correctly
 - Simplify code
2018-05-17 21:43:22 +01:00
Oliver Blanthorn
e408f080d1
Allow composite to pipe return values and add js eval 2018-05-16 16:44:53 +01:00
Oliver Blanthorn
c5c9c061af
Update web-ext 2018-05-16 14:59:25 +01:00
Oliver Blanthorn
d181e0b4a5
Fix #505: add CA-Esc bind for ignore 2018-05-13 13:30:08 +01:00
Isaac Khor
5a7c786840
Add source for RC files, source_quiet at startup
Commit attributed to Isaac as he was instrumental to getting this in.
@bovine3dom added all of the bugs.
2018-05-10 21:38:52 +01:00
Oliver Blanthorn
04ae5b1322
Fix typo regarding binding of special keys 2018-05-07 12:54:53 +01:00
Oliver Blanthorn
81613c9c42
Merge branch 'master' of github.com:cmcaine/tridactyl into nativeuserchrome 2018-05-05 12:49:45 +01:00
Oliver Blanthorn
7e55762940
Update help to reflect lack of return values 2018-05-02 12:48:23 +01:00
Oliver Blanthorn
20efdea685
Add meta CSS settings 2018-04-30 14:40:56 +01:00
Oliver Blanthorn
a8cc9d454d
Add native version checker and nativeopen
Adds semver-compare runtime dependency: might be worth statically
linking it since it's so simple.
2018-04-25 20:43:42 +01:00
Oliver Blanthorn
f5d98c5085
Improve profile finding code; allow users to set their own 2018-04-22 19:59:41 +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
af06c9ee91
Improve bind documentation 2018-04-16 12:45:40 +01:00
Oliver Blanthorn
2c564f2b34
Add a handful of binds from Vimperator 2018-04-16 11:45:29 +01:00
Colin Caine
e107fa5eb1 build: add nearley 2018-04-15 22:32:34 +01:00
Colin Caine
5b444f76b7 Be less precise
Replace precise-commits with whole file prettification
2018-04-14 16:59:16 +01:00
Oliver Blanthorn
095ce771ea
Formatting: run all typescript through prettier 2018-04-13 19:28:03 +01:00
Oliver Blanthorn
647ea742c1
Add fullscreen command
Hold `.` after running for extra fun.
2018-04-11 18:19:29 +01:00
Oliver Blanthorn
f274a49bee
Improve find performance
Still very slow on some pages such as
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object.
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
Colin Caine
96e32f57e5 Fix #311 - Don't write to browser.storage so often
Turns out writing to browser.storage is expensive because state.ts and
config.ts both listen for it in every tab. I'd vaguely assumed that
Firefox would run other tabs as low priority tasks and that this would
not be an issue, but it doesn't.

I also wrote the code in a rush, and while I mused that this potential
risk exists I didn't document it or explore it.

Retrospective: Content switches are expensive - think before you do
anything that may wake many processes and don't make wild assumptions
about how Firefox handles multiprocessing.
2018-03-07 02:17:50 +00:00
Colin Caine
8d6a79ca50 Add cleanslate.css version to package-lock 2018-03-05 23:01:03 +00:00
Koushien
104e1a98f3
Unless cancelled, insert mode on select tag focus
Added case to nodeName switch; handles basic
dropdown menus.
2018-01-20 17:17:14 -08:00
Alexander Batischev
25baa7ac53 Drop dependency on typedoc-webpack-plugin
It's not required for anything. Closes #268.
2018-01-04 15:05:46 +00:00
Colin Caine
3526b1c979 chore: update package-lock.json 2018-01-04 15:05:46 +00:00
Colin Caine
ec01dadf27 completions: add fuse.js and html-tagged-template 2017-11-22 21:30:36 +00:00
Oliver Blanthorn
85d6eba2b5
Revert "Merge branch 'Koushien-completions'"
This reverts commit 0aa14bb754, reversing
changes made to eae9cd0dab.
2017-11-21 20:28:48 +00:00
Colin Caine
e55d174747 completions: add fuse.js and html-tagged-template 2017-11-21 05:15:52 +00:00
Colin Caine
1777bc9478 build: update web-ext-types 2017-11-19 01:58:59 +00:00
Colin Caine
2d3342af4b build: don't trust webpack shell plugin, exclude large images 2017-11-12 01:44:04 +00:00
Colin Caine
28bd2fcae7 build: update web-ext-types 2017-11-07 12:03:08 +00:00
Oliver Blanthorn
acf343f7b2
Add content script to help page 2017-11-03 19:04:21 +00: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
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
Colin Caine
86a0af78b7 build: update web-ext-types 2017-10-14 23:28:13 +01:00
Colin Caine
0eceb10bfb dev: fix ts-node REPL mode 2017-10-08 16:34:02 +01:00
Colin Caine
2efb614090 build: update dependencies 2017-10-06 03:30:51 +01:00
Colin Caine
94eac6223d npm: install ts-node for debugging 2017-10-05 02:23:47 +01:00
Colin Caine
dd757fbef4 tests: add jest 2017-10-05 01:53:02 +01:00
Colin Caine
496e33bd86 Share minimal git hooks 2017-10-02 01:58:09 +01:00
Colin Caine
5964430fe1 Convert to es6 modules
Motivation:

 - Most test frameworks expect modules
 - I'm told they're the future

Changes:

 - Every typescript source file is now an es6 module
 - Build system is now webpack (tho rollup makes nicer outputs)
 - Outputs of buildsystem are one js file per entry point (background,
   content, commandline_frame)
 - These bundled js files are generated by traversing the dependency
   graph of each entry point
2017-10-02 01:17:32 +01:00