Commit Graph

5948 Commits

Author SHA1 Message Date
Jeff Becker
cf1cb3d304 allow fail 2020-04-21 16:11:39 -03:00
Jeff Becker
6c3fab84ec update ci for windows installers 2020-04-21 16:11:39 -03:00
Jeff Becker
a0b6357e0a make installer pull in tuntap driver 2020-04-21 16:11:39 -03:00
Jeff Becker
eb7ddae863 initial lokinet-bootstrap in powershell for windows 2020-04-21 16:11:39 -03:00
Jeff Becker
7f59cce443 set license 2020-04-21 16:11:39 -03:00
Jeff Becker
7406dbc964 cpack win32 2020-04-21 16:11:39 -03:00
Jeff Becker
8c84eac718 strict check of bounds 2020-04-21 16:07:06 -03:00
Jeff Becker
dd9c8c91a3 add bounds check 2020-04-21 16:07:06 -03:00
Jeff Becker
91aa488024 remove un needed check 2020-04-21 16:07:06 -03:00
Jeff Becker
9933dadb20 fix use after move 2020-04-21 16:07:06 -03:00
Jeff Becker
0b66441e07 disable accedental fec in iwp outbound messages 2020-04-21 16:07:06 -03:00
Jeff Becker
9ae743a65b when we have an inbound session and we do a forward dns lookup
we should not look up the descriptor on the network as we
already have a session with them
2020-04-21 16:07:06 -03:00
Ryan Tharp
cbb08c762e fix make static when TOOLCHAIN isn't set 2020-04-21 16:06:45 -03:00
Jeff
e685d1fcf9
Merge pull request #1232 from jagerman/stapling
Add stapling after notarization
2020-04-21 14:55:37 -04:00
Jason Rhinelander
4a0ee5c66f Add stapling after notarization 2020-04-21 15:53:46 -03:00
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