Commit graph

16 commits

Author SHA1 Message Date
Jez Cope
698c46c342
Update Matrix link in contributing.md 2021-03-04 15:45:46 +00:00
Tiago Epifânio
82bc5626f5 Fixed matrix links (riot.im to element.io) 2021-02-03 09:36:50 +00:00
glacambre
a4040102f5
Remove set csp clobber
This just removes the background.ts code that detects whether the user
wants to clobber their csp and adds an error message if the user tries
to `set csp clobber`.
The `csp` setting is marked as deprecated but left untouched in case we
find a way to edit CSP in a way that complies with Mozilla's policies.
The csp-editing code in `requests.ts` is left untouched for the same
reason.
2019-10-02 10:25:03 +02:00
Colin Caine
3c618ac7a4 s/npm/yarn 2019-05-31 16:48:53 +01:00
glacambre
f050f68740
Turn hint mode into a real mode
This commit turns hint mode into a real mode. This required several
changes:
- In `src/content/hinting.ts`: create a function named getHintCommands
  which returns an object containing functions that can be used as ex
  commands.
- In `src/content/hinting.ts`: rewriting the `parser` function to have
  it check the `hintmaps` object in the config and trigger these if
  they're bound to anything. We can't use a generic parser because
  vimperator hints need to catch every single keypress, even the ones
  that aren't bound to anything and act on them.
- Creating `src/background/hinting.ts`, which just wraps ex commands
  from src/content/hintings.ts in a proxy which will forward calls to the
  content script.
2019-05-28 12:41:40 +02:00
Saul Reynolds-Haertle
53b1106b14 Move nearley_utils into lib
It doesn't actually use anything that requires it to live in the
background script, as far as I can tell.
2019-04-30 23:43:39 -07:00
glacambre
85b3e33719
Remove commandline_background
This commit removes commandline_background.ts. I believe this is useful
because the only thing it did was provide recvExStr, which just
triggered a synthetic "onLine" event the only consumer of which was the
parser. Since we already used controller_background + acceptExCmd in
some places, it made sense to me to directly use controller_background +
acceptExCmd everywhere.
2019-02-26 08:41:19 +01:00
glacambre
68a8fccb50
Mobe background/native_background.ts to lib/native.ts
All functions in native_background.ts use browserBg in order to interact
with the native messenger. This means that these functions can also be
used in the content script. This means that there's no point in keeping
these functions in the background/ folder and that there's no point in
having a native_background message type.
2019-02-20 07:09:01 +01:00
Oliver Blanthorn
9fc0799701
Fix minor typos 2019-02-03 15:43:56 +00:00
glacambre
a7336900e3
contributing.md: Fix typos/missing links 2019-02-03 07:52:05 +01:00
glacambre
4b77ff90c2
contributing.md: Explain build process 2019-02-02 14:54:25 +01:00
glacambre
d5ac90a809
contributing.md: Add architecture and macro explanation 2019-02-02 11:31:17 +01:00
glacambre
f14d3a1930
sed -i s@github.com/cmcaine/tridactyl@github.com/tridactyl/tridactyl@
Closes https://github.com/tridactyl/tridactyl/issues/228
2019-01-31 07:16:43 +01:00
Sumner Evans
1efeb70c5e
Reformat readme, contributing, changelog and src/static using prettier 2018-05-24 08:10:56 -06:00
Oliver Blanthorn
c57cfec62a
Add contribution guidelines 2018-05-20 18:12:01 +01:00
Oliver Blanthorn
be7abde328
Add contributing.md 2018-04-16 16:30:51 +01:00