Commit graph

2357 commits

Author SHA1 Message Date
David Baker 5e6f3b4f55
Merge pull request #28 from vector-im/dbkr/maybe_enable_subpixel_rendering
Hopefully enable subpixel font rendering
2020-02-21 11:42:10 +00:00
David Baker 6cb90add1d
Merge pull request #27 from vector-im/dbkr/copy_hak_modules
Add our native modules separately into the files
2020-02-21 11:26:14 +00:00
David Baker 0577abd885 Hopefully enable subpixel font rendering
https://github.com/vector-im/riot-web/issues/12443 points out the
electron eccentricity that the background of a BrowserWindow is
'transparent' (whatever that actually means in practice) by default
which causes subpixel font rendering to be disabled. Set an explicit
background colour as per the faq entry.

Fixes https://github.com/vector-im/riot-web/issues/12443
2020-02-21 11:17:18 +00:00
David Baker 90913256f5 Add our native modules separately into the files
And also the package.json which, for reasons I'm not going to spend
the next two hours of my life wading through the electron-builder
source to discover, is no longer automatically included after adding
the files pattern. The node_modules folder is handled automatically
though, so is redundant.

Change the output directory structure so we have one directory with
all the built native modules under that we can just add to the files,
rather than having to add each one separately.

NB. electron-builder add its own filters to node_modules so that only
runtime (ie. not devDependencies) are copied. These seem to apply
even for manually specified path within node_modules. We can copy *to*
the node_modules directory, however...
2020-02-21 10:57:52 +00:00
David Baker 0ec93e296f
Merge pull request #26 from vector-im/dbkr/fix_setversion_win
Fix setversion script's yarn call on windows
2020-02-20 17:47:15 +00:00
David Baker 52f973b5b6
Merge pull request #25 from vector-im/dbkr/split_32_64_bit_builds
Split 32/64 bit building
2020-02-20 17:47:02 +00:00
David Baker 53b7966590 Be more consistent (and match README) 2020-02-20 17:40:19 +00:00
David Baker dd6f52e2de Fix setversion script's yarn call on windows 2020-02-19 14:34:27 +00:00
David Baker 8843116357 Split 32/64 bit building
As they'll need different native deps
2020-02-19 14:21:33 +00:00
David Baker d8c8e1b133 Make README md 2020-02-19 14:17:07 +00:00
David Baker 050501b322
Merge pull request #23 from vector-im/dbkr/hak_win_x86
Build on 32 bit Windows
2020-02-19 10:16:51 +00:00
David Baker 7b8ae78038 More comment 2020-02-19 10:07:02 +00:00
David Baker dfef609a3f We need python too 2020-02-19 10:03:36 +00:00
David Baker cb96b41645 Merge remote-tracking branch 'origin/master' into dbkr/hak_win_x86 2020-02-19 10:01:18 +00:00
David Baker da5a0e63ec
Merge pull request #22 from vector-im/dbkr/hak_linux
Build seshat on Linux
2020-02-19 10:00:07 +00:00
David Baker 76e40746b0
Merge pull request #21 from vector-im/dbkr/hak
Native module builds: matrix-seshat for mac & win
2020-02-19 09:59:48 +00:00
David Baker 84aa8c10c1 Set rust toolchain appropriately 2020-02-18 11:37:27 +00:00
David Baker 69a30fb9d0 also check for patch 2020-02-18 11:05:32 +00:00
David Baker 3b642389f2 First attempt at 32 bit windows building 2020-02-18 11:01:34 +00:00
David Baker c6784f829a
Apply suggestions from code review
More fixes under, 'typing is hard'

Co-Authored-By: poljar <poljar@termina.org.uk>
2020-02-18 09:59:09 +00:00
David Baker 13c627ff64
Typing
Co-Authored-By: poljar <poljar@termina.org.uk>
2020-02-18 09:58:09 +00:00
David Baker 28b17d0ec3 More doc 2020-02-17 20:25:10 +00:00
David Baker 1405fe242a Add libsqlcipher to dependencies 2020-02-17 20:14:28 +00:00
David Baker b98bf4d302 Remove the in-docker yarn script
because for some reason it would take too long to find out, docker
does not set the PATH correctly when run from a yarn script.
2020-02-17 20:12:02 +00:00
David Baker 52032aac14 Docker powered linux building 2020-02-17 20:10:58 +00:00
David Baker 0bfc970619 Document more awfulness 2020-02-17 17:31:01 +00:00
David Baker e2280ddf0e Merge remote-tracking branch 'origin/master' into dbkr/hak 2020-02-17 17:27:42 +00:00
David Baker 161a76de46 of course nmake is special too 2020-02-17 15:59:55 +00:00
David Baker 0ccc29e504 missed the script 2020-02-17 15:52:41 +00:00
David Baker 19ee3d4aff Add some checks for the tools we need
May not be exhastive, but useful on Windows where you need to
remember to install stuff.
2020-02-17 15:44:06 +00:00
David Baker fa3925194d Lint hak scripts 2020-02-17 14:52:24 +00:00
David Baker 5fc72e8f73 Lint scripts dir 2020-02-17 14:49:26 +00:00
David Baker feace2626d
Merge pull request #20 from vector-im/port_desktop_fixes
Port desktop fixes
2020-02-17 13:09:21 +00:00
David Baker ef517ee76b Use the same one as riot-web 2020-02-17 12:00:28 +00:00
David Baker 11e75d0490 better upgrade squirrel-windows too 2020-02-17 11:40:49 +00:00
David Baker 9e59f38dfc Update electron-builder 2020-02-17 11:23:40 +00:00
David Baker c4e66af564 Port 51f2afb7b7 from riot-web 2020-02-17 09:58:55 +00:00
David Baker a13fb235c9 Port 2c0968e40e from riot-web 2020-02-17 09:57:48 +00:00
David Baker 046170e3ec Less hacky fix for yarnrc 2020-02-15 20:17:35 +00:00
David Baker a0d9359ef0 Working seshat building on Windows 2020-02-15 16:52:41 +00:00
David Baker 337ccf02aa Patch for sqlcipher makefile on windows 2020-02-14 11:32:48 +00:00
David Baker 0258d456e6 Initial commit of native dependency building. 2020-02-13 23:52:16 +00:00
David Baker 3716545085 Typo 2020-02-04 22:19:28 +00:00
David Baker 79a362b385 Fix the remainder of the cookie links
Port https://github.com/vector-im/riot-web/pull/12008
2020-02-03 16:25:50 +00:00
David Baker 0fdba02e07 ElectronPlatform: Add the indexSize method.
Port https://github.com/vector-im/riot-web/pull/11529
2020-02-03 16:23:42 +00:00
David Baker ab91a311c4 ElectronPlatform: Add the ability to load file events from the event index
Port https://github.com/vector-im/riot-web/pull/11907
2020-02-03 16:21:35 +00:00
David Baker a3021fce0a Updates URL for Electron Command Line Switches
Port https://github.com/vector-im/riot-web/pull/11810
2020-02-03 16:20:09 +00:00
David Baker b7b9779b65 electron-main: Provide a better error message if Seshat isn't installed.
Port https://github.com/vector-im/riot-web/pull/11691
2020-02-03 16:19:16 +00:00
Michael Telatynski b622cd8e35
Merge pull request #19 from vector-im/t3chguy/context_menu_accelerators
Add accelerators to context menu options like cut&paste in electron
2019-12-19 19:27:20 +00:00
Michael Telatynski 7d6ae5437a Add accelerators to context menu options like cut&paste in electron 2019-12-19 11:16:32 +00:00