Permalink
Browse files

Update camlistore and gopherjs to go1.9

Vendoring:
- update gopherjs to rev: b40cd48c38f9a18eb3db20d163bad78de12cf0b7
- as usual, replace the fsnotify import statements with our dummy
  pkg/misc/fakefsnotify, as described in
https://camlistore-review.googlesource.com/c/9409
- add vendor/golang.org/x/tools/go/gcimporter15 dependency from
  rev: e531a2a1c15f94033f6fa87666caeb19a688175f

- make.go + .travis.yml: make go1.9 the required version
- Update comments on doc/environments-vars.md for CAMLI_GOPHERJS_GOROOT

Fixes #948
Fixes #949

Change-Id: I9285aebadad1502708d164a9dc69e044a325cb3a
  • Loading branch information...
sterchelen committed Sep 18, 2017
1 parent 9ab1799 commit 2e46fca5cc1179dbd90bec49fec3870e6eca6c45
Showing with 4,841 additions and 1,256 deletions.
  1. +1 −1 .travis.yml
  2. +2 −2 doc/environment-vars.md
  3. +2 −2 make.go
  4. +1 −1 vendor/github.com/gopherjs/gopherjs/README.md
  5. +35 −12 vendor/github.com/gopherjs/gopherjs/build/build.go
  6. +7 −2 vendor/github.com/gopherjs/gopherjs/circle.yml
  7. +3 −3 vendor/github.com/gopherjs/gopherjs/compiler/compiler.go
  8. +170 −111 vendor/github.com/gopherjs/gopherjs/compiler/natives/fs_vfsdata.go
  9. +2 −7 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/crypto/x509/x509.go
  10. +8 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/crypto/x509/x509_test.go
  11. +100 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/encoding/gob/gob_test.go
  12. +57 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/internal/poll/fd_poll_js.go
  13. +3 −36 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/big/big.go
  14. +24 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/math/math.go
  15. +28 −4 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/net/net.go
  16. +12 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/os/signal/signal.go
  17. +12 −7 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/reflect/reflect.go
  18. +4 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/reflect/reflect_test.go
  19. +22 −3 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/runtime/runtime.go
  20. +7 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/export_test.go
  21. +15 −3 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/sync.go
  22. +9 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/sync_test.go
  23. +2 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/sync/waitgroup.go
  24. +8 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/testing/testing.go
  25. +2 −0 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/text/template/template.go
  26. +2 −2 vendor/github.com/gopherjs/gopherjs/compiler/natives/src/time/time.go
  27. +38 −33 vendor/github.com/gopherjs/gopherjs/compiler/package.go
  28. +3 −3 vendor/github.com/gopherjs/gopherjs/compiler/prelude/types.go
  29. +3 −1 vendor/github.com/gopherjs/gopherjs/compiler/statements.go
  30. +6 −15 vendor/github.com/gopherjs/gopherjs/compiler/utils.go
  31. +4 −4 vendor/github.com/gopherjs/gopherjs/compiler/version_check.go
  32. +1 −0 vendor/github.com/gopherjs/gopherjs/doc/packages.md
  33. +13 −0 vendor/github.com/gopherjs/gopherjs/internal/sysutil/sysutil.go
  34. +7 −0 vendor/github.com/gopherjs/gopherjs/internal/sysutil/sysutil_windows.go
  35. +26 −0 vendor/github.com/gopherjs/gopherjs/js/js_test.go
  36. +67 −0 vendor/github.com/gopherjs/gopherjs/nosync/map.go
  37. +20 −5 vendor/github.com/gopherjs/gopherjs/tests/run.go
  38. +0 −461 vendor/github.com/gopherjs/gopherjs/third_party/importer/export.go
  39. +0 −453 vendor/github.com/gopherjs/gopherjs/third_party/importer/import.go
  40. +0 −84 vendor/github.com/gopherjs/gopherjs/third_party/importer/predefined.go
  41. +22 −1 vendor/github.com/gopherjs/gopherjs/tool.go
  42. +828 −0 vendor/golang.org/x/tools/go/gcimporter15/bexport.go
  43. +93 −0 vendor/golang.org/x/tools/go/gcimporter15/bexport19_test.go
  44. +326 −0 vendor/golang.org/x/tools/go/gcimporter15/bexport_test.go
  45. +993 −0 vendor/golang.org/x/tools/go/gcimporter15/bimport.go
  46. +93 −0 vendor/golang.org/x/tools/go/gcimporter15/exportdata.go
  47. +1,041 −0 vendor/golang.org/x/tools/go/gcimporter15/gcimporter.go
  48. +521 −0 vendor/golang.org/x/tools/go/gcimporter15/gcimporter_test.go
  49. +13 −0 vendor/golang.org/x/tools/go/gcimporter15/isAlias18.go
  50. +13 −0 vendor/golang.org/x/tools/go/gcimporter15/isAlias19.go
  51. +14 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/a.go
  52. +11 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/b.go
  53. +89 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/exports.go
  54. +11 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/issue15920.go
  55. +9 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/issue20046.go
  56. +13 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/p.go
  57. +25 −0 vendor/golang.org/x/tools/go/gcimporter15/testdata/versions/test.go
  58. BIN vendor/golang.org/x/tools/go/gcimporter15/testdata/versions/test_go1.7_0.a
  59. BIN vendor/golang.org/x/tools/go/gcimporter15/testdata/versions/test_go1.7_1.a
@@ -3,7 +3,7 @@ dist: trusty
go_import_path: camlistore.org
language: go
go:
- 1.8
- 1.9
before_install:
- sudo apt-get install -qq pkg-config fuse
- sudo modprobe fuse
@@ -122,8 +122,8 @@ valid.
`CAMLI_GOPHERJS_GOROOT` (string)
: As gopherjs does not build with go tip, when make.go is run with go devel,
CAMLI_GOPHERJS_GOROOT should be set to a Go 1.8 root so that gopherjs can be
built with Go 1.8. Otherwise it defaults to $HOME/go1.8.
CAMLI_GOPHERJS_GOROOT should be set to a Go 1.9 root so that gopherjs can be
built with Go 1.9. Otherwise it defaults to $HOME/go1.9.
`CAMLI_HTTP_DEBUG` (bool)
: Enable per-request logging in [pkg/webserver](/pkg/webserver).
@@ -1015,8 +1015,8 @@ func verifyCamlistoreRoot(dir string) {
}
const (
goVersionMinor = '8'
gopherJSGoMinor = '8'
goVersionMinor = '9'
gopherJSGoMinor = '9'
)
func verifyGoVersion() {

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 2e46fca

Please sign in to comment.