This repository has been archived by the owner on Jun 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Make sockets work on non-Linux Unix systems #1395
Open
thiagomacieira
wants to merge
2
commits into
solettaproject:master
Choose a base branch
from
thiagomacieira:fixes/Bring-the-socket-implementation-to-generic-Unix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
config FLOW_METATYPE_JAVASCRIPT | ||
tristate "JavaScript flow metatype" | ||
depends on FLOW_SUPPORT && PLATFORM_LINUX && HAVE_DUKTAPE_SRC | ||
depends on FLOW_SUPPORT && UNIX && HAVE_DUKTAPE_SRC | ||
default m if MODULES=y | ||
help | ||
Allow creating node types using JavaScript |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
config FLOW_NODE_TYPE_GTK | ||
tristate "Node type: gtk" | ||
depends on LINUX && HAVE_GTK && HAVE_GLIB | ||
depends on UNIX && HAVE_GTK && HAVE_GLIB | ||
default m |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
config FLOW_NODE_TYPE_OIC | ||
tristate "Node type: oic" | ||
depends on OIC && PLATFORM_LINUX | ||
depends on OIC && UNIX | ||
default m |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
config FLOW_NODE_TYPE_PLATFORM | ||
tristate "Node type: platform" | ||
depends on PLATFORM_RIOTOS || PLATFORM_CONTIKI || PLATFORM_LINUX | ||
default y |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
config FLOW_NODE_TYPE_PROCESS | ||
tristate "Node type: process" | ||
depends on PLATFORM_LINUX | ||
depends on UNIX | ||
default m |
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 |
---|---|---|
@@ -1,20 +1,11 @@ | ||
source "tools/build/Kconfig.unix" | ||
|
||
config LINUX | ||
def_bool y | ||
select FEATURE_DYNAMIC_LINKER | ||
select FEATURE_HW_AIO | ||
select FEATURE_HW_PWM | ||
select FEATURE_HW_SPI | ||
select FEATURE_HW_GPIO | ||
select FEATURE_HW_UART | ||
select FEATURE_HW_I2C | ||
select FEATURE_RUNNABLE_PROGRAMS | ||
select FEATURE_WORKER_THREADS | ||
select FEATURE_UNIX_SOCKETS | ||
select FEATURE_CRYPTO_MESSAGE_DIGEST | ||
select FEATURE_NETWORK | ||
select FEATURE_COAP | ||
select FEATURE_HTTP_CLIENT if HAVE_LIBCURL | ||
select FEATURE_HTTP_SERVER if HAVE_LIBMICROHTTPD | ||
select FEATURE_FLOW | ||
select FEATURE_FILESYSTEM | ||
select FEATURE_CC_SANITIZE |
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,13 @@ | ||
config UNIX | ||
def_bool y | ||
select FEATURE_DYNAMIC_LINKER | ||
select FEATURE_RUNNABLE_PROGRAMS | ||
select FEATURE_WORKER_THREADS | ||
select FEATURE_UNIX_SOCKETS | ||
select FEATURE_CRYPTO_MESSAGE_DIGEST | ||
select FEATURE_NETWORK | ||
select FEATURE_COAP | ||
select FEATURE_HTTP_CLIENT if HAVE_LIBCURL | ||
select FEATURE_HTTP_SERVER if HAVE_LIBMICROHTTPD | ||
select FEATURE_FLOW | ||
select FEATURE_FILESYSTEM |
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.
different indentation with line above
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.
Damn. It didn't show because of 8-space tabs. My OS X's Emacs isn't properly configured for space mode.