Commit graph

61 commits

Author SHA1 Message Date
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
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
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
Oliver Blanthorn
5f68f9428d
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-25 20:43:13 +01:00
Oliver Blanthorn
fad7851829
Fix #394: rename generated source .name.generated.ext 2018-04-22 17:15:40 +01:00
Oliver Blanthorn
7b1000f9d3
Improve build process
Source is now automatically zipped up and put on the webserver's beta/
directory. Protip: don't remove AMOKEYS from .gitignore.
2018-04-20 21:21:37 +01:00
Oliver Blanthorn
8edc9205dc
release 1.9.4 2018-04-20 20:59:24 +01:00
Oliver Blanthorn
5ef46f194e
Add changelogs to new tab page. 2018-04-19 12:16:34 +01:00
Colin Caine
35bcde6627 Update keyseq
- Add and build grammars
 - Add to content.ts for interactive use
 - Add tests
 - Change bracketExpr parser
 - Improve comments
 - Apply prettier
2018-04-15 22:34:07 +01:00
Oliver Blanthorn
13932f94a2
Fix tutorial build process and alias 2018-04-14 14:03:54 +01:00
Oliver Blanthorn
670c5be323
Start tutorial. Currently does not run in extension 2018-04-13 23:30:53 +01:00
Oliver Blanthorn
7d3fb87d5e
Add automatic updates for betas 2018-04-13 12:17:02 +01:00
Oliver Blanthorn
f10a3a02de
Add small script for generation of AMO text 2018-04-11 17:12:06 +01:00
Colin Caine
db5dae64cd Update beta signing script
Script now leaves an xpi in web-ext-artifacts that some other script needs to work with.

We'll need to cp the xpi into public_html and update update.json.
2018-03-23 00:25:00 +00:00
Oliver Blanthorn
f1dcea1ed1
Release 1.8.1
Changes summarised in doc/changelog.md. Additionally, change version
excmd to stop copying to clipboard as it was causing the command line to
be hidden, and add version number to the new tab page.
2018-03-07 14:50:50 +00:00
glacambre
7750609e6a
build.sh: Fix script copying cleanslate.css to potentially non-existing dir 2018-03-04 14:42:35 +01:00
glacambre
119758454f
Add cleanslate.css 2018-03-04 14:15:26 +01:00
Colin Caine
4a271805bb build: BSD compatibility for git_version.sh 2017-11-28 17:36:40 +00:00
Colin Caine
3cae9a5334 Revert "excmd: fix :version"
This reverts commit baa5a9b861.
2017-11-28 17:23:16 +00:00
Colin Caine
baa5a9b861 excmd: fix :version 2017-11-28 16:05:08 +00:00
Oliver Blanthorn
c255d1a2e9
Fix #151: version is now Colin-proof and does not rely on tags 2017-11-28 14:17:51 +00:00
Colin Caine
4e9355e5ce build: Helper for stable releases 2017-11-28 02:52:10 +00:00
Colin Caine
7dda663a47 excmd: Simplify IPC for geturlsforlinks
This is more about maybe expanding the macro system in the future. Need
to look at how other projects do it.
2017-11-28 00:20:49 +00:00
Colin Caine
56da023ee6 build: Fix make_docs on some shells 2017-11-27 19:59:43 +00:00
Robbie McMichael
6f244162ab Fix builds when using BSD sed 2017-11-27 18:54:39 +00:00
Oliver Blanthorn
d65acf9f64
Fix #117: add :version command
:version currently fills the command line with the version number in
order to display it to the user (hacky) and copies it to the clipboard.
2017-11-26 00:06:02 +00:00
Colin Caine
07d94d5906 build: fail build if scripts fail 2017-11-20 18:13:26 +00:00
Colin Caine
71484e9873 excmds: documentation and minor changes 2017-11-19 06:16:33 +00:00