Commit Graph

5597 Commits

Author SHA1 Message Date
Jeff
edc0d1a3ed
Merge pull request #1225 from majestrate/macos-cpack-setup-and-bootstrap-2020-04-10
macos cpack installer infra
2020-04-21 14:50:16 -04:00
Jeff
dde4c4c67e
Merge pull request #1228 from despair86/win32-cleanup
Win32 cleanup
2020-04-21 07:47:04 -04:00
Stephen Shelton
0b1c57f650 Include macos uninstall script 2020-04-21 00:28:27 -03:00
Jason Rhinelander
6da26bfa43 NOTARIZE only has one O 2020-04-20 21:51:24 -03:00
Jason Rhinelander
9f208d2b6c Pass CMAKE_PREFIX_PATH through to lokinet-gui
Needed to build against the right Qt
2020-04-20 21:51:01 -03:00
Rick V
6eaaeab094
reeee 2020-04-20 19:09:35 -05:00
Rick V
337a21d6f6
ew stinki 2020-04-20 19:09:32 -05:00
Rick V
76aa0421ff
use a new read buffer every time 2020-04-20 19:09:32 -05:00
Rick V
1e51bfde2c
fix 2020-04-20 19:09:31 -05:00
Rick V
4e87e8dc08
correctly return true/false when writing 2020-04-20 19:09:28 -05:00
Rick V
c65eecf399
are we leaking data randomly 2020-04-20 19:09:27 -05:00
Rick V
46d4ab2708
this might just crash 2020-04-20 19:09:24 -05:00
Rick V
96fc3cdd55
fix pybind 2020-04-20 19:09:21 -05:00
Rick V
df634b7775
remove a ton of ded win32 code 2020-04-20 19:05:53 -05:00
Rick V
938f40efe1
probably got mangled in a patch
supposed to tick at the end
2020-04-20 19:05:36 -05:00
Jason Rhinelander
216b807cb3 Notarize has an "a" in it 2020-04-20 00:28:32 -03:00
Jason Rhinelander
f8209baf50 Move release motto string into CMakeLists.txt
Right after project() which contains the version, so that version +
motto updates are basically in one place (and so that non-Makefile cmake
invocations get it).
2020-04-19 23:18:48 -03:00
Jason Rhinelander
8d74407d11 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
2020-04-19 23:18:48 -03:00
Jason Rhinelander
0032f1fdde Add simple installer readme 2020-04-19 23:18:48 -03:00
Jason Rhinelander
daf0174e53 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
2020-04-19 23:18:48 -03:00
Jason Rhinelander
ebb1950941 Add -DBUILD_PACKAGE=ON to make cpack code opt-in 2020-04-19 23:18:41 -03:00
Jason Rhinelander
93311fbc99 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
2020-04-19 23:16:23 -03:00
Jason Rhinelander
3dd3d48fbb Consolidate cmake vars & definitions
CMake will set version variables itself if you give the version in the
project(), which is cleaner.  Also removes some (nearly) duplicate
definitions and settings added in basic_definitions.cmake for unknown
reasons.

Removes some redundant settings (name, description, version) from the
cpack settings which already default to the values from the project()
call.
2020-04-19 23:16:23 -03:00
Stephen Shelton
c20d5b186d Bundle gui in mac installer 2020-04-19 23:16:23 -03:00
Stephen Shelton
dd3121d8ac MacOS installer / runtime nonsense 2020-04-19 23:16:23 -03:00
Jeff Becker
88ae4bdd77 gut ui-* 2020-04-19 23:16:23 -03:00
Jeff Becker
b0936830d1 add plist 2020-04-19 23:16:23 -03:00
Jeff Becker
31f74b5ffb macos post install script that bootstraps, generates configs and registers plist 2020-04-19 23:16:23 -03:00
Jeff
5b1941222b
unscrew travis-ci (#1223)
* update travis ci clang-format to clang-format-9 because we use that now
add python3-dev package becuase something inside ci thinks it has python but really does not

* try using python3.6

* try working around hot garbage that is travis-ci

* add deadsnakes repo for python3.8

* prevent nullptr deference when running in unit tests

* move python3.8 to main dependancy matrix and add python3.8 to homebrew deps

* add deadsnake apt repo

* add deadsnakes and python3.8 back to previous matrix

* dev package for python

* toggle hive build in ci

* dont add pybind11 if not bulding hive

* revert setting pyenv shim for travis ci

* make native builds on by default except for windows ci

* only apply native build being off for windows release target becuase that broke macos
2020-04-18 16:58:41 -03:00
Jeff
9d9776d5ca
Merge pull request #1224 from jagerman/snode-addr-converter-reverse
hex-to-base32z.py: add -r flag to do reverse conversion
2020-04-14 11:47:10 -04:00
Jason Rhinelander
612c65f2ab hex-to-base32z.py: add -r flag to do reverse conversion 2020-04-14 12:44:09 -03:00
Jeff
6d5b9850e6
Merge pull request #1222 from jagerman/snode-addr-converter
Add ed25519 key to snode address script to contrib
2020-04-13 16:27:42 -04:00
Jason Rhinelander
5e0a8cf738 Add ed25519 key to snode address script to contrib 2020-04-13 17:23:16 -03:00
Jeff
6a645cd277
Merge pull request #1219 from jagerman/mac-fixes
Fix errors and warnings compiling on mac
2020-04-10 16:17:25 -04:00
Jason Rhinelander
3c6aa002b8 Fix errors and warnings compiling on mac 2020-04-10 14:26:50 -03:00
Jeff
30d0eb5bab
Merge pull request #1215 from notlesh/update-clang-format-rules-2020-04-02
Update clang format rules
2020-04-07 14:43:55 -04:00
Stephen Shelton
273270916e
The Great Wall of Blame
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.

Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Stephen Shelton
30e7c7f828
Bump clang-format version 8 -> 9 2020-04-07 12:36:43 -06:00
Stephen Shelton
9c68fa7316
Clang-format changes to pointer/reference positioning 2020-04-07 12:36:43 -06:00
Stephen Shelton
95ec728079
More clang-format updates to parameter/argument lists 2020-04-07 12:36:42 -06:00
Stephen Shelton
205549a1c3
Update (mostly loosen) clang-format rules 2020-04-07 12:36:42 -06:00
Stephen Shelton
dba9ffe061
Add 'clang-format-hooks' submodule
This submodule provides git hooks which invoke clang-format
in intelligent ways.
2020-04-07 12:36:40 -06:00
Jeff
d9160cc0df
Merge pull request #1197 from majestrate/code-docs-2020-03-26
infrastructure for generating docs
2020-04-07 13:35:14 -04:00
Jeff Becker
4375df2f7d
add forgotten files for generating docs 2020-04-07 13:16:22 -04:00
Jeff Becker
83b418b636
make fresh docs every time 2020-04-07 13:16:22 -04:00
Jeff Becker
08613cca0b
speed up doc generation 2020-04-07 13:16:22 -04:00
Jeff Becker
c36b6a409c
move version to cmake so docs can access it 2020-04-07 13:16:22 -04:00
Jeff Becker
3d20105646
cleanup unused files and add doc target in wrapper makefile 2020-04-07 13:16:22 -04:00
Jeff Becker
0e51289228
speed up generation 2020-04-07 13:16:22 -04:00
Jeff Becker
53f0dd49e0
move file 2020-04-07 13:16:22 -04:00