Commit graph

186 commits

Author SHA1 Message Date
Oliver Blanthorn
3f445de847
Add script for finding number of weekly users on buildbot 2018-07-02 13:24:53 +01:00
Oliver Blanthorn
9818f8d0cb
Change changelog notification to small nag bar 2018-06-17 18:35:48 +01:00
glacambre
125759b483
Keep newtab's changelog button grey once changelog has been read 2018-06-16 15:55:33 +02:00
Colin Caine
e710296d70 Fix authors not appearing when run non-interactively
git shortlog behaves differently when it's run non-interactively.
2018-06-08 13:34:41 +01:00
Colin Caine
5458f67a69 Add debugging to author script
Trying to find issue with buildbot
2018-06-08 13:19:03 +01:00
glacambre
54faf82428
scripts/{pretty,common}: Fix pretty failing on multiple files
When trying to run scripts/pretty with multiple ugly files staged, the
for loop would treat two space-separated file names as a single file
name. This prevented pretty from working on my machine.

I fixed this issue by making cachedJS() (renamed to cachedFiles since it
returns more than js files) return file names as a newline-separated
list and using IFS=$'\n' to split the filenames on this character.
2018-06-03 16:08:45 +02:00
Oliver Blanthorn
58c3eba08c
Make pyinstaller actually test that it works 2018-05-28 15:01:26 +01:00
Colin Caine
dba79b79bd
Try to fix winpython extraction 2018-05-28 14:54:34 +01:00
Oliver Blanthorn
595a49d0fb
Merge branch 'master' of github.com:cmcaine/tridactyl into gsbabil-gsbabil/windows-compiled-native-messenger-support 2018-05-28 14:16:57 +01:00
Oliver Blanthorn
2cc5662764
Output exe in artifacts with xpis etc 2018-05-28 14:00:05 +01:00
Colin Caine
c9df9b5f14
Fix hardcoded directory dependencies 2018-05-28 13:12:07 +01:00
Oliver Blanthorn
7d6491e982
Hide pyinstaller directory 2018-05-28 11:34:13 +01:00
Oliver Blanthorn
e159a83ae1
Add more cds to fix the cds 2018-05-28 11:30:06 +01:00
Oliver Blanthorn
e407fc08fa
Fix pyinstaller testing 2018-05-28 11:14:06 +01:00
Oliver Blanthorn
352863d98d
Merge pull request #620 from gsbabil/gsbabil/add-appveyor-windows-build-support
Add build with Windows support on AppVeyor
2018-05-28 10:24:00 +01:00
Oliver Blanthorn
b8e9d4a088
Remove global dependency on nearley,typedoc,marked 2018-05-28 10:22:17 +01:00
Babil Golam Sarwar
365d2b17e1 Add script to support PyInstaller under Wine
On a vanilla invocation, `wine-pyinstaller.sh` will prepare a
Python-3.5 environment under Wine-3. The current requirements to run
the script are following:

  1. p7zip-16.xx
  2. Wine-3.xx
  3. WinPython-3.5.4

All of [1-3] are available in Debian Testing or Ubuntu Bionic
repositories.

P.S.

WinPython was used since official Python-3.5.4 from Python.org wont
run under Wine. Python-3.6 is not supported yet under Wine-3.xx.
2018-05-28 14:17:55 +10:00
Babil Golam Sarwar
8cfdbfa7dd Allow build under both MSYS or MINGW 2018-05-28 14:07:46 +10:00
Oliver Blanthorn
a8995d5f62
Merge branch 'master' of github.com:cmcaine/tridactyl into sumnerevans-css-prettier-compliance 2018-05-25 09:34:18 +01:00
Oliver Blanthorn
6128ea5a80 Include .git directory in archive for reviewers 2018-05-24 20:02:34 +01:00
Sumner Evans
de9d1f237e
Ran prettier on all CSS files 2018-05-24 08:53:51 -06:00
Sumner Evans
5164160375
#606 added .md files to list of files that need to be checked by prettier 2018-05-24 08:10:56 -06:00
Oliver Blanthorn
98ad63cfc8
Improve discoverability of contributors 2018-05-23 15:39:40 +01:00
Colin Caine
d35e0c3411 Clarify movement message 2018-05-21 16:34:39 +01:00
Colin Caine
0d7fdb1abf Save one intermediate file 2018-05-21 16:31:50 +01:00
Colin Caine
6e44bef6bd Teach lint,pretty to operate on staged copy
Gets a bit crazy.
2018-05-21 16:24:52 +01:00
Colin Caine
ad261b2e4f Fix {pretty,lint} when staging more than one file 2018-05-21 15:30:57 +01:00
Colin Caine
9951830d53 /bin/env -> /usr/bin/env 2018-05-21 03:39:32 +01:00
Colin Caine
e6c2da19d5 Quote * in bodgecss 2018-05-21 01:22:43 +01:00
Babil Golam Sarwar
6fe643cb75 Conditionally add pyinstaller as a prerequisite 2018-05-21 09:07:43 +10:00
Babil Golam Sarwar
7026647e11 Fix shebang path to env in bodgecss.sh 2018-05-21 09:06:50 +10:00
Babil Golam Sarwar
dd21250b5d Merge branch 'master' of https://github.com/cmcaine/tridactyl into 'gsbabil/windows-compiled-native-messenger-support' 2018-05-21 08:53:14 +10:00
Babil Golam Sarwar
ad3e2d51f7 Disable GPG signing of the EXE for now 2018-05-21 08:32:28 +10:00
Babil Golam Sarwar
edbc97eec2 Require PYINSTALLER=1 to build and sign EXE
A default `npm run build` or a `scripts/build.sh` invocation would
not compile or sign `native_main.exe` anymore. This is a departure
from the previous logic where `PYINSTALLER=0` was needed to prevent
compile+signing of `native_main.exe`.

The following is achieved with this commit:

```
  $ ## following does _not_ compile/sign `native_main.exe`
  $ npm run build
  $ PYINSTALLER=0 npm run build

  $ ## following _does_ compile/sign `native_main.exe`
  $ PYINSTALLER=1 npm run build
```
2018-05-21 06:07:29 +10:00
Oliver Blanthorn
535dd5bb67
Make injection of theme scripts automatic 2018-05-20 16:22:45 +01:00
Bruno Oliveira
0feaa3d2ca
Improve Tridactyl theming capabilities 2018-05-20 16:22:46 +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
2f8689cf3d Add OpenPGP signature support for native_main.exe 2018-05-19 14:14:32 +10: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
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
Jeff King
2533dbe75f build.sh: prefer "=" to "==" for comparisons
The double-equals introduced by de39d704a5 and 19e3363c92
are bash-isms, and cause the script to complain when run
with another POSIX shell (e.g. dash, which is the default
/bin/sh on Debian).

We can just use "=" here, as the two are equivalent.
2018-05-17 07:04:03 -07:00
Babil Golam Sarwar
e21c20e383
Add PowerShell ExecutionPolicy in build.sh 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
32e74a0e76
Fix some minor typo and lint errors 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
de39d704a5
Fix Python 3 invocation during build on Windows 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
01d103a6ab
Adjust build.sh to use local files 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
19e3363c92
Add MinGW build support and minor refactoring 2018-05-17 12:18:52 +01:00
glacambre
fb2d36884a
Create typedoc theme 2018-05-01 10:56:15 +02:00
chocolateboy
3dbef9f8b1 Changelog: use standard case: changelog.md -> CHANGELOG.md 2018-04-26 09:29:41 +01:00
chocolateboy
3625da651f Changelog: move to the standard location
e.g. "Your changelog file MUST be at the root of your project"

-- https://github.com/tech-angels/vandamme/#format
2018-04-26 09:29:41 +01:00
chocolateboy
92410d06c0 Changelog: add dates
"The release date of each version is displayed."

-- https://keepachangelog.com/en/1.0.0/
2018-04-26 09:29:41 +01:00