remove vendor/nim-nat-traversal

and fix/hide some warnings
This commit is contained in:
Ștefan Talpalaru 2020-06-23 02:50:51 +02:00 committed by Iuri Matias
parent c6a1e3d453
commit 150f38b87d
9 changed files with 19 additions and 20 deletions

3
.gitmodules vendored
View File

@ -4,9 +4,6 @@
[submodule "vendor/nimbus-build-system"]
path = vendor/nimbus-build-system
url = https://github.com/status-im/nimbus-build-system.git
[submodule "vendor/nim-nat-traversal"]
path = vendor/nim-nat-traversal
url = https://github.com/status-im/nim-nat-traversal.git
[submodule "vendor/nim-stew"]
path = vendor/nim-stew
url = https://github.com/status-im/nim-stew.git

View File

@ -33,3 +33,11 @@ else:
switch("passL", "-Wl,-as-needed")
--define:chronicles_line_numbers # useful when debugging
# The compiler doth protest too much, methinks, about all these cases where it can't
# do its (N)RVO pass: https://github.com/nim-lang/RFCs/issues/230
switch("warning", "ObservableStores:off")
# Too many false positives for "Warning: method has lock level <unknown>, but another method has 0 [LockLevel]"
switch("warning", "LockLevel:off")

View File

@ -1,8 +1,5 @@
import NimQml, Tables
import ../../../status/chat/[chat, message]
import ../../../status/chat as status_chat
import ../../../status/status
import ../../../status/ens
import NimQml, Tables,
../../../status/[chat/chat, status, ens]
type
ChatMemberRoles {.pure.} = enum

View File

@ -1,6 +1,5 @@
import NimQml
import Tables
import strformat
import ../../../status/profile/profile
from ../../../status/ens import nil

View File

@ -1,6 +1,6 @@
import NimQml
import Tables
import ../../../status/profile/[profile, mailserver]
import ../../../status/profile/mailserver
type
MailServerRoles {.pure.} = enum

View File

@ -1,5 +1,4 @@
import sequtils, strformat, sugar, chronicles, typeinfo, macros, tables
import ./utils as status_utils
import sequtils, strformat, sugar, macros, tables
import eth/common/eth_types, stew/byteutils, nimcrypto
from eth/common/utils import parseAddress

View File

@ -74,7 +74,7 @@ type AccountArgs* = ref object of Args
account*: Account
type
StatusGoException* = object of Exception
StatusGoException* = object of CatchableError
type
Transaction* = ref object

@ -1 +0,0 @@
Subproject commit 2403c33929c74f2d150f50dc8bc3a598af70661a

@ -1 +1 @@
Subproject commit ae49e03af6f36393eb7e0fc02c1c47df42efd2de
Subproject commit 767c8e0fb433da5276c4ac3e61b3360e003536a7