pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Dec 12 09:41:41 UTC 2014

Modified Files:
        pkgsrc/lang/go: Makefile PLIST distinfo version.mk
Added Files:
        pkgsrc/lang/go/patches: patch-src_crypto_x509_root__unix.go
Removed Files:
        pkgsrc/lang/go/patches: patch-src_cmd_go_build.go
            patch-src_pkg_crypto_x509_root__unix.go

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/go/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/go/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/go/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/go/patches/patch-src_cmd_go_build.go \
    pkgsrc/lang/go/patches/patch-src_pkg_crypto_x509_root__unix.go
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/go/patches/patch-src_crypto_x509_root__unix.go

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index