pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/go Update to 1.4, ok bsiegert:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc054467bc6e
branches:  trunk
changeset: 643177:bc054467bc6e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 12 09:41:40 2014 +0000

description:
Update to 1.4, ok bsiegert:

Today we announce Go 1.4, the fifth major stable release of Go,
arriving six months after our previous major release Go 1.3. It
contains a small language change, support for more operating systems
and processor architectures, and improvements to the tool chain
and libraries. As always, Go 1.4 keeps the promise of compatibility,
and almost everything will continue to compile and run without
change when moved to 1.4. For the full details, see the Go 1.4
release notes.

The most notable new feature in this release is official support
for Android. Using the support in the core and the libraries in
the golang.org/x/mobile repository, it is now possible to write
simple Android apps using only Go code. At this stage, the support
libraries are still nascent and under heavy development. Early
adopters should expect a bumpy ride, but we welcome the community
to get involved.

The language change is a tweak to the syntax of for-range loops.
You may now write "for range s {" to loop over each item from s,
without having to assign the value, loop index, or map key. See
the release notes for details.

The go command has a new subcommand, go generate, to automate the
running of tools to generate source code before compilation. For
example, it can be used to automate the generation of String methods
for typed constants using the new stringer tool. For more information,
see the design document.

Most programs will run about the same speed or slightly faster in
1.4 than in 1.3; some will be slightly slower. There are many
changes, making it hard to be precise about what to expect. See
the release notes for more discussion.

And, of course, there are many more improvements and bug fixes.

In case you missed it, a few weeks ago the sub-repositories were
moved to new locations. For example, the go.tools packages are now
imported from "golang.org/x/tools". See the announcement post for
details.

This release also coincides with the project's move from Mercurial
to Git (for source control), Rietveld to Gerrit (for code review),
and Google Code to Github (for issue tracking and wiki). The move
affects the core Go repository and its sub-repositories. You can
find the canonical Git repositories at go.googlesource.com, and
the issue tracker and wiki at the golang/go GitHub repo.

diffstat:

 lang/go/Makefile                                        |    29 +-
 lang/go/PLIST                                           |  4472 +++++++-------
 lang/go/distinfo                                        |    11 +-
 lang/go/patches/patch-src_cmd_go_build.go               |    16 -
 lang/go/patches/patch-src_crypto_x509_root__unix.go     |    15 +
 lang/go/patches/patch-src_pkg_crypto_x509_root__unix.go |    14 -
 lang/go/version.mk                                      |     4 +-
 7 files changed, 2379 insertions(+), 2182 deletions(-)

diffs (truncated from 4998 to 300 lines):

diff -r ac4bb27955a5 -r bc054467bc6e lang/go/Makefile
--- a/lang/go/Makefile  Fri Dec 12 09:38:32 2014 +0000
+++ b/lang/go/Makefile  Fri Dec 12 09:41:40 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2014/11/18 20:39:11 bsiegert Exp $
+# $NetBSD: Makefile,v 1.22 2014/12/12 09:41:40 wiz Exp $
 
 .include "version.mk"
 
@@ -41,42 +41,43 @@
 REPLACE_BASH+= doc/codewalk/run
 REPLACE_BASH+= doc/progs/run
 REPLACE_BASH+= doc/progs/update.bash
+REPLACE_BASH+= lib/time/update.bash
 REPLACE_BASH+= misc/arm/a
 REPLACE_BASH+= misc/benchcmp
+REPLACE_BASH+= misc/cgo/errors/test.bash
+REPLACE_BASH+= misc/cgo/testcdefs/test.bash
+REPLACE_BASH+= misc/cgo/testgodefs/test.bash
 REPLACE_BASH+= misc/cgo/testso/test.bash
 REPLACE_BASH+= misc/makerelease/darwin/scripts/postinstall
 REPLACE_BASH+= misc/makerelease/darwin/scripts/preinstall
 REPLACE_BASH+= misc/nacl/go_nacl_386_exec
 REPLACE_BASH+= misc/nacl/go_nacl_amd64p32_exec
+REPLACE_BASH+= misc/nacl/go_nacl_arm_exec
 REPLACE_BASH+= misc/vim/ftplugin/go/test.sh
 REPLACE_BASH+= misc/xcode/4/go4xcode.sh
 REPLACE_BASH+= src/all.bash
+REPLACE_BASH+= src/androidtest.bash
 REPLACE_BASH+= src/clean.bash
+REPLACE_BASH+= src/cmd/go/mkdoc.sh
 REPLACE_BASH+= src/cmd/go/test.bash
 REPLACE_BASH+= src/make.bash
 REPLACE_BASH+= src/nacltest.bash
-REPLACE_BASH+= src/pkg/runtime/mknacl.sh
-REPLACE_BASH+= src/pkg/syscall/mkall.sh
-REPLACE_BASH+= src/pkg/syscall/mkerrors.sh
 REPLACE_BASH+= src/race.bash
 REPLACE_BASH+= src/run.bash
+REPLACE_BASH+= src/runtime/mknacl.sh
 REPLACE_BASH+= src/sudo.bash
+REPLACE_BASH+= src/syscall/mkall.sh
+REPLACE_BASH+= src/syscall/mkerrors.sh
+REPLACE_BASH+= src/syscall/mksysnum_plan9.sh
 REPLACE_BASH+= test/bench/shootout/timing.sh
 REPLACE_BASH+= test/run
 
 REPLACE_PERL+= misc/pprof
 REPLACE_PERL+= misc/xcode/4/go4xcode.sh
+REPLACE_PERL+= src/net/http/cgi/testdata/test.cgi
 REPLACE_PERL+= src/pkg/net/http/cgi/testdata/test.cgi
-REPLACE_PERL+= src/pkg/regexp/syntax/make_perl_groups.pl
-REPLACE_PERL+= src/pkg/syscall/mksyscall.pl
-REPLACE_PERL+= src/pkg/syscall/mksyscall_solaris.pl
-REPLACE_PERL+= src/pkg/syscall/mksysctl_openbsd.pl
-REPLACE_PERL+= src/pkg/syscall/mksysnum_darwin.pl
-REPLACE_PERL+= src/pkg/syscall/mksysnum_dragonfly.pl
-REPLACE_PERL+= src/pkg/syscall/mksysnum_freebsd.pl
-REPLACE_PERL+= src/pkg/syscall/mksysnum_linux.pl
-REPLACE_PERL+= src/pkg/syscall/mksysnum_netbsd.pl
-REPLACE_PERL+= src/pkg/syscall/mksysnum_openbsd.pl
+REPLACE_PERL+= src/regexp/syntax/make_perl_groups.pl
+REPLACE_PERL+= src/syscall/*.pl
 REPLACE_PERL+= test/errchk
 
 # uses /bin/rc (for Plan 9)
diff -r ac4bb27955a5 -r bc054467bc6e lang/go/PLIST
--- a/lang/go/PLIST     Fri Dec 12 09:38:32 2014 +0000
+++ b/lang/go/PLIST     Fri Dec 12 09:41:40 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2014/09/26 13:54:28 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2014/12/12 09:41:40 wiz Exp $
 bin/go
 bin/gofmt
 go/AUTHORS
@@ -12,6 +12,7 @@
 go/api/go1.1.txt
 go/api/go1.2.txt
 go/api/go1.3.txt
+go/api/go1.4.txt
 go/api/go1.txt
 go/api/next.txt
 go/bin/go
@@ -68,6 +69,7 @@
 go/doc/go1.1.html
 go/doc/go1.2.html
 go/doc/go1.3.html
+go/doc/go1.4.html
 go/doc/go1.html
 go/doc/go1compat.html
 go/doc/go_faq.html
@@ -77,12 +79,14 @@
 go/doc/gopher/appenginegopher.jpg
 go/doc/gopher/appenginegophercolor.jpg
 go/doc/gopher/appenginelogo.gif
+go/doc/gopher/biplane.jpg
 go/doc/gopher/bumper.png
 go/doc/gopher/bumper192x108.png
 go/doc/gopher/bumper320x180.png
 go/doc/gopher/bumper480x270.png
 go/doc/gopher/bumper640x360.png
 go/doc/gopher/doc.png
+go/doc/gopher/fiveyears.jpg
 go/doc/gopher/frontpage.png
 go/doc/gopher/gopherbw.png
 go/doc/gopher/gophercolor.png
@@ -188,14 +192,15 @@
 go/lib/time/README
 go/lib/time/update.bash
 go/lib/time/zoneinfo.zip
-go/misc/IntelliJIDEA/Go.xml
+go/misc/android/README
+go/misc/android/go_android_exec.go
 go/misc/arm/a
-go/misc/bash/go
-go/misc/bbedit/Go.plist
 go/misc/benchcmp
 go/misc/cgo/errors/err1.go
 go/misc/cgo/errors/err2.go
 go/misc/cgo/errors/err3.go
+go/misc/cgo/errors/issue7757.go
+go/misc/cgo/errors/issue8442.go
 go/misc/cgo/errors/test.bash
 go/misc/cgo/gmp/fib.go
 go/misc/cgo/gmp/gmp.go
@@ -219,10 +224,10 @@
 go/misc/cgo/test/align.go
 go/misc/cgo/test/api.go
 go/misc/cgo/test/backdoor/backdoor.go
-go/misc/cgo/test/backdoor/backdoor_gccgo.go
-go/misc/cgo/test/backdoor/runtime.c
 go/misc/cgo/test/backdoor/runtime_gccgo.c
+go/misc/cgo/test/backdoor/thunk.s
 go/misc/cgo/test/basic.go
+go/misc/cgo/test/buildid_linux.go
 go/misc/cgo/test/callback.go
 go/misc/cgo/test/callback_c.c
 go/misc/cgo/test/callback_c_gc.c
@@ -263,6 +268,7 @@
 go/misc/cgo/test/issue4417.go
 go/misc/cgo/test/issue4857.go
 go/misc/cgo/test/issue5227.go
+go/misc/cgo/test/issue5242.go
 go/misc/cgo/test/issue5337.go
 go/misc/cgo/test/issue5337w.go
 go/misc/cgo/test/issue5548.go
@@ -284,14 +290,26 @@
 go/misc/cgo/test/issue7234_test.go
 go/misc/cgo/test/issue7560.go
 go/misc/cgo/test/issue7665.go
-go/misc/cgo/test/issue7695_test.go
 go/misc/cgo/test/issue7786.go
 go/misc/cgo/test/issue7978.go
+go/misc/cgo/test/issue8092.go
 go/misc/cgo/test/issue8148.go
 go/misc/cgo/test/issue8331.h
 go/misc/cgo/test/issue8331a.go
 go/misc/cgo/test/issue8331b.go
+go/misc/cgo/test/issue8428.go
 go/misc/cgo/test/issue8441.go
+go/misc/cgo/test/issue8517.go
+go/misc/cgo/test/issue8517_windows.c
+go/misc/cgo/test/issue8517_windows.go
+go/misc/cgo/test/issue8694.go
+go/misc/cgo/test/issue8811.c
+go/misc/cgo/test/issue8811.go
+go/misc/cgo/test/issue8828.go
+go/misc/cgo/test/issue8828/issue8828.c
+go/misc/cgo/test/issue8828/trivial.go
+go/misc/cgo/test/issue9026.go
+go/misc/cgo/test/issue9026/issue9026.go
 go/misc/cgo/test/setgid_linux.go
 go/misc/cgo/test/sleep_windows_386.go
 go/misc/cgo/testasan/main.go
@@ -300,6 +318,10 @@
 go/misc/cgo/testcdefs/main.c
 go/misc/cgo/testcdefs/main.go
 go/misc/cgo/testcdefs/test.bash
+go/misc/cgo/testgodefs/anonunion.go
+go/misc/cgo/testgodefs/issue8478.go
+go/misc/cgo/testgodefs/main.go
+go/misc/cgo/testgodefs/test.bash
 go/misc/cgo/testso/cgoso.c
 go/misc/cgo/testso/cgoso.go
 go/misc/cgo/testso/cgoso_c.c
@@ -329,12 +351,8 @@
 go/misc/dashboard/codereview/queue.yaml
 go/misc/dashboard/codereview/static/gopherstamp.jpg
 go/misc/dashboard/codereview/static/icon.png
-go/misc/emacs/go-mode-load.el
-go/misc/emacs/go-mode.el
-go/misc/fraise/go.plist
-go/misc/fraise/readme.txt
+go/misc/editors
 go/misc/git/pre-commit
-go/misc/kate/go.xml
 go/misc/linkcheck/linkcheck.go
 go/misc/makerelease/darwin/Distribution
 go/misc/makerelease/darwin/Resources/bg.png
@@ -352,6 +370,7 @@
 go/misc/nacl/README
 go/misc/nacl/go_nacl_386_exec
 go/misc/nacl/go_nacl_amd64p32_exec
+go/misc/nacl/go_nacl_arm_exec
 go/misc/nacl/mkzip.go
 go/misc/nacl/testdata/bin/placeholder
 go/misc/nacl/testdata/empty
@@ -359,11 +378,6 @@
 go/misc/nacl/testdata/hosts
 go/misc/nacl/testdata/mime.types
 go/misc/nacl/testzip.proto
-go/misc/notepadplus/README
-go/misc/notepadplus/functionList.xml
-go/misc/notepadplus/go.xml
-go/misc/notepadplus/userDefineLang.xml
-go/misc/pprof
 go/misc/swig/callback/callback.cc
 go/misc/swig/callback/callback.go
 go/misc/swig/callback/callback.h
@@ -371,30 +385,25 @@
 go/misc/swig/callback/callback_test.go
 go/misc/swig/stdio/file.swig
 go/misc/swig/stdio/file_test.go
-go/misc/vim/autoload/go/complete.vim
-go/misc/vim/compiler/go.vim
-go/misc/vim/ftdetect/gofiletype.vim
-go/misc/vim/ftplugin/go.vim
-go/misc/vim/ftplugin/go/fmt.vim
-go/misc/vim/ftplugin/go/import.vim
-go/misc/vim/ftplugin/go/test.sh
-go/misc/vim/indent/go.vim
-go/misc/vim/plugin/godoc.vim
-go/misc/vim/readme.txt
-go/misc/vim/syntax/go.vim
-go/misc/vim/syntax/godoc.vim
-go/misc/xcode/3/README
-go/misc/xcode/3/go.pbfilespec
-go/misc/xcode/3/go.xclangspec
-go/misc/xcode/4/README
-go/misc/xcode/4/go.xclangspec
-go/misc/xcode/4/go4xcode.sh
-go/misc/zsh/go
 go/pkg/${GO_PLATFORM}/archive/tar.a
 go/pkg/${GO_PLATFORM}/archive/zip.a
 go/pkg/${GO_PLATFORM}/bufio.a
 go/pkg/${GO_PLATFORM}/bytes.a
 go/pkg/${GO_PLATFORM}/cgocall.h
+go/pkg/${GO_PLATFORM}/cmd/internal/goobj.a
+go/pkg/${GO_PLATFORM}/cmd/internal/objfile.a
+go/pkg/${GO_PLATFORM}/cmd/internal/rsc.io/arm/armasm.a
+go/pkg/${GO_PLATFORM}/cmd/internal/rsc.io/x86/x86asm.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/commands.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/driver.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/fetch.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/plugin.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/profile.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/report.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/svg.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/symbolizer.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/symbolz.a
+go/pkg/${GO_PLATFORM}/cmd/pprof/internal/tempfile.a
 go/pkg/${GO_PLATFORM}/compress/bzip2.a
 go/pkg/${GO_PLATFORM}/compress/flate.a
 go/pkg/${GO_PLATFORM}/compress/gzip.a
@@ -446,6 +455,7 @@
 go/pkg/${GO_PLATFORM}/expvar.a
 go/pkg/${GO_PLATFORM}/flag.a
 go/pkg/${GO_PLATFORM}/fmt.a
+go/pkg/${GO_PLATFORM}/funcdata.h
 go/pkg/${GO_PLATFORM}/go/ast.a
 go/pkg/${GO_PLATFORM}/go/build.a
 go/pkg/${GO_PLATFORM}/go/doc.a
@@ -486,6 +496,7 @@
 go/pkg/${GO_PLATFORM}/net/http/fcgi.a
 go/pkg/${GO_PLATFORM}/net/http/httptest.a
 go/pkg/${GO_PLATFORM}/net/http/httputil.a
+go/pkg/${GO_PLATFORM}/net/http/internal.a
 go/pkg/${GO_PLATFORM}/net/http/pprof.a
 go/pkg/${GO_PLATFORM}/net/mail.a
 go/pkg/${GO_PLATFORM}/net/rpc.a
@@ -521,6 +532,7 @@
 go/pkg/${GO_PLATFORM}/text/tabwriter.a
 go/pkg/${GO_PLATFORM}/text/template.a
 go/pkg/${GO_PLATFORM}/text/template/parse.a
+go/pkg/${GO_PLATFORM}/textflag.h
 go/pkg/${GO_PLATFORM}/time.a
 go/pkg/${GO_PLATFORM}/unicode.a
 go/pkg/${GO_PLATFORM}/unicode/utf16.a
@@ -543,6 +555,70 @@
 go/src/all.bash
 go/src/all.bat
 go/src/all.rc
+go/src/androidtest.bash
+go/src/archive/tar/common.go
+go/src/archive/tar/example_test.go
+go/src/archive/tar/reader.go
+go/src/archive/tar/reader_test.go
+go/src/archive/tar/stat_atim.go
+go/src/archive/tar/stat_atimespec.go
+go/src/archive/tar/stat_unix.go



Home | Main Index | Thread Index | Old Index