Skip to content

Commit

Permalink
[libc] refs skycoin#7 - Remove splitCliArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
olemis committed May 1, 2019
1 parent aaa837b commit f89926a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions lib/cgo/libsky_mem.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,30 +134,3 @@ func copyToGoSlice(src reflect.Value, dest *C.GoSlice_) {
func copyToStringMap(gomap map[string]string, dest *C.GoStringMap_) {
*dest = (C.GoStringMap_)(registerHandle(gomap))
}

// It is not being used.
// func splitCliArgs(args string) (result []string) {
// prevSep := -1
// quoted := false
// var i int
// for i = 0; i < len(args); i++ {
// if args[i] == '"' {
// quoted = !quoted
// if !quoted {
// result = append(result, args[prevSep+1:i])
// }
// prevSep = i
// } else if !quoted && args[i] == ' ' {
// if prevSep+1 < i {
// result = append(result, args[prevSep+1:i])
// }
// prevSep = i
// }
// }
// if len(args) > 0 {
// if prevSep+1 < i {
// result = append(result, args[prevSep+1:i])
// }
// }
// return
// }
2 changes: 1 addition & 1 deletion vendor/github.com/skycoin/skycoin
Submodule skycoin updated 57 files
+15 −0 CHANGELOG.md
+3 −4 Makefile
+0 −1 README.md
+4 −4 cmd/cli/README.md
+4 −4 cmd/cli/autocomplete/bash_autocomplete
+1 −1 cmd/skycoin/skycoin.go
+7 −3 docker/images/mainnet/Dockerfile
+1 −1 docker/images/mainnet/hooks/build
+1 −1 electron/package-lock.json
+1 −1 electron/package.json
+1 −1 electron/skycoin/current-skycoin.json
+15 −2 electron/src/electron-main.js
+1 −1 electron/src/hardware-wallet.js
+0 −1 src/api/gateway.go
+5 −3 src/api/middleware.go
+11 −0 src/api/transaction.go
+4 −4 src/api/transaction_test.go
+150 −116 src/cipher/encoder/encoder.go
+1 −1 src/cli/checkdb.go
+1 −1 src/cli/cli.go
+8 −4 src/cli/create_rawtx.go
+5 −6 src/cli/integration/integration_test.go
+1 −1 src/cli/integration/testdata/status-csrf-enabled-no-unconfirmed.golden
+1 −1 src/cli/integration/testdata/status-csrf-enabled.golden
+1 −1 src/cli/integration/testdata/status-no-unconfirmed.golden
+1 −1 src/cli/integration/testdata/status.golden
+1 −1 src/cli/send.go
+0 −1 src/daemon/daemon.go
+2 −1 src/gui/static/.angular-cli.json
+0 −1 src/gui/static/dist/1.5f2ac40c1b87b641ef62.chunk.js
+1 −0 src/gui/static/dist/1.9aacbfda11142b6a47e5.chunk.js
+47 −0 src/gui/static/dist/3rdpartylicenses.txt
+10 −2 src/gui/static/dist/assets/i18n/en.json
+1 −1 src/gui/static/dist/index.html
+1 −1 src/gui/static/dist/inline.8dacab5e863ca8bfdb7b.bundle.js
+1 −0 src/gui/static/dist/main.514dbca30f3aa8a6af60.bundle.js
+0 −1 src/gui/static/dist/main.5734a5a19f331b23a72f.bundle.js
+1 −0 src/gui/static/package.json
+5 −2 src/gui/static/src/app/components/layout/header/header.component.html
+17 −1 src/gui/static/src/app/components/layout/header/header.component.ts
+3 −3 ...i/static/src/app/components/pages/onboarding/onboarding-create-wallet/onboarding-create-wallet.component.ts
+31 −2 src/gui/static/src/app/components/pages/send-skycoin/send-form-advanced/send-form-advanced.component.ts
+31 −3 src/gui/static/src/app/components/pages/send-skycoin/send-form/send-form.component.ts
+1 −1 .../static/src/app/components/pages/send-skycoin/send-preview/transaction-info/transaction-info.component.html
+40 −4 src/gui/static/src/app/components/pages/transaction-list/transaction-list.component.html
+78 −0 src/gui/static/src/app/components/pages/transaction-list/transaction-list.component.scss
+152 −2 src/gui/static/src/app/components/pages/transaction-list/transaction-list.component.ts
+3 −0 src/gui/static/src/app/components/pages/wallets/wallet-detail/wallet-detail.component.html
+1 −3 src/gui/static/src/app/components/pages/wallets/wallets.component.ts
+6 −0 src/gui/static/src/app/services/blockchain.service.ts
+6 −1 src/gui/static/src/app/services/hw-wallet.service.ts
+70 −8 src/gui/static/src/app/services/wallet.service.ts
+10 −2 src/gui/static/src/assets/i18n/en.json
+3 −3 src/util/useragent/useragent_test.go
+0 −1 src/visor/blockdb/blockchain.go
+0 −1 src/visor/visor.go
+1 −1 template/coin.template

0 comments on commit f89926a

Please sign in to comment.