From b51123001f76d67df07fca304b16664344ba6800 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 22 Oct 2014 20:41:13 -0700 Subject: gccgo_install.html: the 4.9 release series supports Go 1.2 LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/163760043 --- doc/gccgo_install.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index 4c1a8c2f57..acb315a0ac 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -42,6 +42,10 @@ identical to Go 1.1. The GCC 4.8.2 release includes a complete Go 1.1.2 implementation.

+

+The GCC 4.9 releases include a complete Go 1.2 implementation. +

+

Source code

-- cgit v1.3 From 5361b747b732cf6cf183591b7a66b83fb6fab29f Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 23 Oct 2014 09:45:11 -0700 Subject: spec: minimal documention of unsafe.Pointer conversions Per suggestion from rsc as a result of the dicussion of (abandoned) CL 153110044. Fixes #7192. LGTM=r, rsc, iant R=r, rsc, iant, ken CC=golang-codereviews https://golang.org/cl/163050043 --- doc/go_spec.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/go_spec.html b/doc/go_spec.html index 97effeaa4a..ad645c1ffc 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -6207,8 +6207,8 @@ type Error interface { The built-in package unsafe, known to the compiler, provides facilities for low-level programming including operations that violate the type system. A package using unsafe -must be vetted manually for type safety. The package provides the -following interface: +must be vetted manually for type safety and may not be portable. +The package provides the following interface:

@@ -6223,10 +6223,11 @@ func Sizeof(variable ArbitraryType) uintptr
 

-Any pointer or value of underlying type uintptr can be converted to -a Pointer type and vice versa. A Pointer is a pointer type but a Pointer value may not be dereferenced. +Any pointer or value of underlying type uintptr can be converted to +a Pointer type and vice versa. +The effect of converting between Pointer and uintptr is implementation-defined.

-- 
cgit v1.3


From 737a9e0da87da05f8655c5a2ab258a679cc3f641 Mon Sep 17 00:00:00 2001
From: Russ Cox 
Date: Fri, 24 Oct 2014 00:48:34 -0400
Subject: doc/go1.4: encoding/csv

CC=golang-codereviews
https://golang.org/cl/162140043
---
 doc/go1.4.txt | 1 +
 1 file changed, 1 insertion(+)

(limited to 'doc')

diff --git a/doc/go1.4.txt b/doc/go1.4.txt
index ae52562df9..78f46a3296 100644
--- a/doc/go1.4.txt
+++ b/doc/go1.4.txt
@@ -26,6 +26,7 @@ crypto/tls: add support for ALPN (RFC 7301) (CL 108710046)
 crypto/tls: support programmatic selection of server certificates (CL 107400043)
 flag: it is now an error to set a flag multiple times (CL 156390043)
 fmt: print type *map[T]T as &map[k:v] (CL 154870043)
+encoding/csv: do not quote empty strings, quote \. (CL 164760043)
 encoding/gob: remove unsafe (CL 102680045)
 misc: deleted editor support; refer to https://code.google.com/p/go-wiki/wiki/IDEsAndTextEditorPlugins instead (CL 105470043)
 net/http: add Request.BasicAuth method (CL 76540043)
-- 
cgit v1.3


From 1415a53b75fe3dc4fa53208e82839533bb2f1a30 Mon Sep 17 00:00:00 2001
From: Rob Pike 
Date: Fri, 24 Oct 2014 09:37:25 -0700
Subject: unsafe: document that unsafe programs are not protected The
 compatibility guideline needs to be clear about this even though it means
 adding a clause that was not there from the beginning. It has always been
 understood, so this isn't really a change in policy, just in its expression.

LGTM=bradfitz, gri, rsc
R=golang-codereviews, bradfitz, gri, rsc
CC=golang-codereviews
https://golang.org/cl/162060043
---
 doc/go1compat.html   | 8 ++++++++
 src/unsafe/unsafe.go | 3 +++
 2 files changed, 11 insertions(+)

(limited to 'doc')

diff --git a/doc/go1compat.html b/doc/go1compat.html
index 04a6c1124b..94c48d2ce3 100644
--- a/doc/go1compat.html
+++ b/doc/go1compat.html
@@ -104,6 +104,14 @@ outside of tests, and using it may cause a program to fail
 to compile in future releases.
 
 
+
  • +Use of package unsafe. Packages that import +unsafe +may depend on internal properties of the Go implementation. +We reserve the right to make changes to the implementation +that may break such programs. +
  • +

    diff --git a/src/unsafe/unsafe.go b/src/unsafe/unsafe.go index 83b2e14052..79499b2955 100644 --- a/src/unsafe/unsafe.go +++ b/src/unsafe/unsafe.go @@ -4,6 +4,9 @@ /* Package unsafe contains operations that step around the type safety of Go programs. + + Packages that import unsafe may be non-portable and are not protected by the + Go 1 compatibility guidelines. */ package unsafe -- cgit v1.3 From c2b7b6d5da9768cf35c91947157901b623778fa6 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 24 Oct 2014 09:52:11 -0700 Subject: doc/go1.4.txt: unsafe is outside go1 compatibility guarantees CC=golang-codereviews https://golang.org/cl/164770043 --- doc/go1.4.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/go1.4.txt b/doc/go1.4.txt index 78f46a3296..b9d8ade245 100644 --- a/doc/go1.4.txt +++ b/doc/go1.4.txt @@ -24,6 +24,7 @@ bufio: handling of empty tokens at EOF changed, may require scanner change (CL 1 compress/flate, compress/gzip, compress/zlib: Reset support (https://codereview.appspot.com/97140043) crypto/tls: add support for ALPN (RFC 7301) (CL 108710046) crypto/tls: support programmatic selection of server certificates (CL 107400043) +encoding/asn1: optional elements with a default value will now only be omitted if they have that value (CL 86960045) flag: it is now an error to set a flag multiple times (CL 156390043) fmt: print type *map[T]T as &map[k:v] (CL 154870043) encoding/csv: do not quote empty strings, quote \. (CL 164760043) @@ -47,6 +48,6 @@ testing: add TestMain support (CL 148770043) text/scanner: add IsIdentRune field of Scanner. (CL 108030044) text/template: allow comparison of signed and unsigned integers (CL 149780043) time: use the micro symbol (ยต (U+00B5)) to print microsecond duration (CL 105030046) -encoding/asn1: optional elements with a default value will now only be omitted if they have that value (CL 86960045) +unsafe: document the existing situation that unsafe programs are not go1-guaranteed (CL 162060043) go.sys subrepo created: http://golang.org/s/go1.4-syscall -- cgit v1.3 From a9422651f9600c38b3f31f08f1be5a96cb338306 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sun, 26 Oct 2014 11:27:55 -0700 Subject: doc/go_faq.html: fix a couple of nits Wrong article, one stylistic point that bothers someone (but not me). LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/156680043 --- doc/go_faq.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/go_faq.html b/doc/go_faq.html index ec3689aeb0..9aac058388 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1115,7 +1115,7 @@ error but the situation can still be confusing, because sometimes a pointer is necessary to satisfy an interface. The insight is that although a pointer to a concrete type can satisfy -an interface, with one exception a pointer to an interface can never satisfy a interface. +an interface, with one exception a pointer to an interface can never satisfy an interface.

    @@ -1356,7 +1356,7 @@ to speed it up.

    -Go's goroutine scheduler is not as good as it needs to be. In future, it +Go's goroutine scheduler is not as good as it needs to be. In the future, it should recognize such cases and optimize its use of OS threads. For now, GOMAXPROCS should be set on a per-application basis.

    -- cgit v1.3