New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lokinet iOS #542
Closed
Closed
Lokinet iOS #542
Changes from all commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
c3bece6
Implement basic proof of concept
nielsandriesse b434046
Move files
nielsandriesse 1cdfe9b
Update project file & add logo
nielsandriesse 413ab84
Hook up C++ core
nielsandriesse 7fbb925
Fix build
nielsandriesse be0ed9f
Fix configuration file creation
nielsandriesse a06ffbc
Hook up llarp_main_init
nielsandriesse 7288e3c
Support verbose logging
nielsandriesse 05a3047
Group files
nielsandriesse dea254f
Create LokiNetwork abstraction
nielsandriesse 594a6d3
Clean
nielsandriesse 718db77
Add bootstrap TODO
nielsandriesse b5a0e14
WIP
nielsandriesse e0d23c3
Fix key generation
nielsandriesse 1021ffb
Wrap llarp_main_run
nielsandriesse 1a7f1e2
Clean
nielsandriesse f21b11c
Rename LokiNetwork → Daemon
nielsandriesse 0544a3a
Merge branch 'master' of https://github.com/loki-project/loki-network…
nielsandriesse 888cbb8
Fix build
nielsandriesse 69e7376
Create packet tunnel provider skeleton
nielsandriesse fdfd669
WIP
nielsandriesse 7e1e8c3
Fix .gitignore
nielsandriesse 6b84466
Fix cross compilation issues
nielsandriesse a7369c8
Silence warnings
nielsandriesse 139858f
Fix permission issue
nielsandriesse 9560bfc
Clean up core changes
nielsandriesse 4f16a3c
Remove build artifacts
nielsandriesse f29b73f
Update .gitignore
nielsandriesse 7c5159f
Fix minor logging issue
nielsandriesse 19ded1e
Silence warnings attempt 2
nielsandriesse 075d0b7
Fix tuntap.h issue
nielsandriesse 527182e
WIP
nielsandriesse 08460bb
Fix ev_kqueue.cpp issue
nielsandriesse 2701f6c
Fix typo
nielsandriesse 51f2bd1
Merge branch 'master' of https://github.com/loki-project/loki-network…
nielsandriesse 91bb31d
Fix merge issue
nielsandriesse 86c5de8
Remove build artifacts
nielsandriesse 0c204e3
Remove more build artifacts
nielsandriesse e9c46f8
Remove even more build artifacts
nielsandriesse 17bbbf8
Clean
nielsandriesse 8482f52
Create Tunnel abstraction
nielsandriesse 6bc37ef
Clean
nielsandriesse dc1d7e9
Ditch build folder entirely
nielsandriesse 35cc9fc
Add README
nielsandriesse c6f7622
Remove redundant wrapper functions
nielsandriesse 5666665
Simplify build logic
nielsandriesse 2570756
Refactor LKTunnel
nielsandriesse 00e9942
Use configuration file for tunnel
nielsandriesse 6efe00a
Use Result for LKTunnel.configure(with:completionHandler:) as well
nielsandriesse 62f35cc
Implement configuration file parsing
nielsandriesse c948c29
Clean
nielsandriesse 853bdda
Fix Info.plist issue
nielsandriesse b90a2d9
Change overall approach
nielsandriesse a980ae5
Update .gitignore
nielsandriesse eb2838d
Clean
nielsandriesse ca4e090
Fix build
nielsandriesse 008fc16
Support logging from network extension
nielsandriesse 9bf59be
Debug
nielsandriesse 735ff98
Use api.bind for tunnel address & port
nielsandriesse 1a65fc3
Conform NWUDPSessionState to CustomStringConvertible
nielsandriesse 5d96ddb
Create LKMessage
nielsandriesse 868c1a4
Refactor
nielsandriesse 5121479
Clean
nielsandriesse cef33ce
Add documentation
nielsandriesse a0c8c9f
Fix display name
nielsandriesse 16e6f5d
Fix tunnel provider manager duplication issue
nielsandriesse d00085f
Ditch INIParser
nielsandriesse a705ff0
Prettify UI
nielsandriesse b99a325
Debug app group issue
nielsandriesse a62faac
Use llarp_main_run result code
nielsandriesse 13bfee7
Clean
nielsandriesse 961bbc0
Implement LKDaemon.stop() & add logging
nielsandriesse 19f985a
Update README.md
nielsandriesse 8318ed5
Merge branch 'master' of github.com:loki-project/loki-network
nielsandriesse 1b02366
WIP
nielsandriesse dbc650e
Update ios.toolchain.cmake & clean
nielsandriesse 45e95cd
Clean
nielsandriesse c2fa71f
Update README.md
nielsandriesse 936590e
Update README.md
nielsandriesse b0363d4
Fix libuv issue
nielsandriesse a4a38bc
Fix missing llarp_main_setup argument
nielsandriesse d9e069c
Update libuv to 1.30.1
nielsandriesse 650bfdc
Undo hack
nielsandriesse 46791a8
Clean
nielsandriesse b17d58d
Fix incorrect libuv install name
nielsandriesse File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
abyss-main/Images.xcassets/AppIcon.appiconset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "20x20", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "20x20", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "29x29", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "29x29", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "40x40", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "40x40", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "60x60", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "iphone", | ||
"size" : "60x60", | ||
"scale" : "3x" | ||
}, | ||
{ | ||
"idiom" : "ios-marketing", | ||
"size" : "1024x1024", | ||
"scale" : "1x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
abyss-main/Images.xcassets/LaunchImage.launchimage/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"orientation" : "portrait", | ||
"idiom" : "iphone", | ||
"minimum-system-version" : "7.0", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"orientation" : "portrait", | ||
"idiom" : "iphone", | ||
"minimum-system-version" : "7.0", | ||
"subtype" : "retina4", | ||
"scale" : "2x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github "mutualmobile/MMWormhole" ~> 2.0.0 | ||
github "mxcl/PromiseKit" ~> 6.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github "mutualmobile/MMWormhole" "2.0.10" | ||
github "mxcl/PromiseKit" "6.10.0" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are the compile-time options written in terms of PC/not PC?
The instructions this option is used to avoid are specific to x86_64; every other architecture doesn't have them. Shouldn't it be opt-in for x86_64, rather than opt-out for every other platform?
Following that logic, there's no need for an explicit compile-time flag.
Similar to as above removes the need for somewhat silly compound predicates such as
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can use AVX2 in i386 protected mode @liilac
(In fact, there's very little you can't do in protected mode beyond the increased address space per process, as PAE allows the supervisor to address extra core and slice it up into 4GB segments per process)