Commit graph

1388 commits

Author SHA1 Message Date
Oliver Blanthorn
2b2d30edb6
Consolidate default 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
84d53f000f
Consolidate greenmat 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
4918454959
Consolidate dark theme 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
535dd5bb67
Make injection of theme scripts automatic 2018-05-20 16:22:45 +01:00
Oliver Blanthorn
c2803b0927
Add more generic variables 2018-05-20 16:22:45 +01:00
Bruno Oliveira
0feaa3d2ca
Improve Tridactyl theming capabilities 2018-05-20 16:22:46 +01:00
jcrowgey
bb5a82ae31
Call get when there's no value to set: fix #573
This is simple, but untested (I didn't see any test code in this repo).
2018-05-20 16:21:58 +01:00
Chandan Singh
fa8c0e0759
readme.md: Fix markdown syntax for hyperlink
Previously it was of the form `(text)[link]`, but should be of the form
`[text](link)`.
2018-05-20 16:21:58 +01:00
Thomas Broadley
634ac54260
Fix path to docs in :help command 2018-05-20 16:21:58 +01:00
jcrowgey
71e1ed76e9
Call get when there's no value to set: fix #573
This is simple, but untested (I didn't see any test code in this repo).
2018-05-20 12:25:04 +01:00
Oliver Blanthorn
ff8949c972
Merge pull request #576 from cs-shadow/readme-fix-markdown
readme.md: Fix markdown syntax for hyperlink
2018-05-20 12:22:36 +01:00
Chandan Singh
29f86d9b26 readme.md: Fix markdown syntax for hyperlink
Previously it was of the form `(text)[link]`, but should be of the form
`[text](link)`.
2018-05-20 11:30:40 +01:00
Babil Golam Sarwar
2f4ddc033e Add minor Windows specific revises to build.sh 2018-05-20 09:32:31 +10:00
Babil Golam Sarwar
a940453958 Add -NoPython flag support to win_install.ps1
This patch replaces the previous `-UsePython` flag with `-NoPython`.
Essentially this flag replaces the native messenger installation
behavior with the following new strategy on Windows:

  * Look for Python-3 in user's Windows environment

    - If Python-3 is found, install `native_main.py` as the native
      messenger binary

    - If Python-3 is _not_ found, install `native_main.exe` as the
      native messenger binary
2018-05-20 06:21:35 +10:00
Oliver Blanthorn
0933e05de3
Merge pull request #571 from tbroadley/help-path-to-docs
Fix path to docs in :help command
2018-05-19 15:06:29 +01:00
Oliver Blanthorn
89a2085743
Make DocStart URL matching use search 2018-05-19 14:55:11 +01:00
Oliver Blanthorn
65279b4263
Reduce number of web-ext insta-crashes from 75% to about 30% 2018-05-19 14:52:20 +01:00
Thomas Broadley
155bcfc131 Fix path to docs in :help command 2018-05-19 09:36:55 -04:00
Oliver Blanthorn
2692d55f9c
Correct colours sp and add man alias 2018-05-19 14:10:58 +01:00
Oliver Blanthorn
a3a9011dad
Fix w quickmark 2018-05-19 13:42:57 +01:00
Oliver Blanthorn
9372964d0d
Add "w" quickmark for cmcaine 👑👰💒🔔 2018-05-19 10:18:17 +01:00
Babil Golam Sarwar
2f8689cf3d Add OpenPGP signature support for native_main.exe 2018-05-19 14:14:32 +10:00
Oliver Blanthorn
bf03e7ed6c
Merge branch 'master' of github.com:cmcaine/tridactyl into MoSal-master 2018-05-18 17:31:06 +01:00
Colin Caine
8f67be2d17 Improve CSP clobbering (commit lost last time)
- Get csp setting asynchronously
 - Case insensitively match content-security-policy header value
 - Parse csp correctly
 - Simplify code

(When I rebased last time I lost the content of this commit somehow...)
2018-05-18 17:10:12 +01:00
Mohammad AlSaleh
36667348f1 Add a hint option for copying 'title' or 'alt' text
Similar to Vimperator's `;x`.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2018-05-18 18:47:31 +03:00
Colin Caine
d28fc7f0f6 Add npm run {lint,pretty}
Lint is an alias to hooks/pre-commit. Code shared in scripts/common.
2018-05-18 16:03:11 +01:00
Oliver Blanthorn
e1a2bb10ea
Merge pull request #561 from glacambre/improve_precommit_hook
pre-commit: Fix hook asking to prettify pretty files, warn on console.log
2018-05-18 15:29:38 +01:00
Oliver Blanthorn
14919b7e2f
Make hint -; accept selectors 2018-05-18 15:25:11 +01:00
Oliver Blanthorn
9b72e4d761
Fix #536 2018-05-18 14:09:12 +01:00
Oliver Blanthorn
7add35714d
Show : in commmand line: fix half of #559 2018-05-18 13:56:04 +01:00
Oliver Blanthorn
ea2956ea14
Update AMO.md: fix #285 2018-05-18 12:49:51 +01:00
Oliver Blanthorn
f026c0daf7
Update readme: fix #558 2018-05-18 12:32:19 +01:00
Babil Golam Sarwar
f31184fb2e Add test script for native_main.py
An example usage of `test_native_main.py` is added below:

```
  $ ./test_native_main.py "version" | ./native_main.py

  {"version": "0.1.5"}
```
2018-05-18 18:32:56 +10:00
glacambre
dbdba26f9b
pre-commit: Fix hook asking to prettify pretty files, warn on console.log 2018-05-18 07:21:13 +02:00
Babil Golam Sarwar
42f5c3d3ca Refactor download URI location in win_install.ps1 2018-05-18 13:37:30 +10:00
Babil Golam Sarwar
bf9ccc1807 Fix URLs for :nativeinstall and :nativeupdate 2018-05-18 11:52:15 +10:00
Babil Golam Sarwar
bf920989f3 Add compiled native_main.exe support on Windows
This commit adds support for comiling `native_main.py` into
`native_main.exe` using [PyInstaller][0].

By default, the Powershell installer script would use the compiled
EXE version for Windows. However, the old behaviour can achieved by
using the `-UsePython` flag to `win_install.ps1`.

Currently, the `native_main.exe` is built every time
`scripts/build.sh` is invoked. However, this behavior can be
adjusted by invoking the build script as shown below:

```
  PYINSTALLER="0" npm run build
```

[0]: https://www.pyinstaller.org
2018-05-18 11:44:01 +10:00
Colin Caine
268301c848 Don't add ugly files in pre-commit; warn instead
As mentioned in #559.
2018-05-18 00:24:31 +01:00
Babil Golam Sarwar
93e62ba777 Merge branch 'master' of https://github.com/cmcaine/tridactyl 2018-05-18 08:03:13 +10:00
Oliver Blanthorn
13e7bf4e2e
Update readme 2018-05-17 22:45:10 +01:00
Oliver Blanthorn
ec5376f803
Add fixamo to dogfood 2018-05-17 22:16:55 +01:00
Oliver Blanthorn
862fa8b9b2
Update changelog 2018-05-17 22:16:16 +01:00
maxigaz
002b7aae6c
Add fixamo to enable Tridactyl on addons.mozilla.org
No, it's not April Fools' Day.
2018-05-17 22:08:45 +01:00
Oliver Blanthorn
7955daea32
Remove some console.logs 2018-05-17 21:55:14 +01:00
glacambre
771888599e
native_background.ts: implement writePref() 2018-05-17 21:44:29 +01:00
glacambre
b8b1470c86
native_background.ts: implement getPref() 2018-05-17 21:44:29 +01:00
Colin Caine
665f4429db Add more fun functions to itertools 2018-05-17 21:43:22 +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
Colin Caine
d36757cbc8 Fix <C-i> on contenteditable elements 2018-05-17 21:42:47 +01:00
Colin Caine
f4a9fdfc64 Never throw when opening commandline
This is a hack to stop logger.error loops on pages
that cannot open the commandline (e.g. svgs).
2018-05-17 21:42:47 +01:00