From: Rob Pike Date: Thu, 9 Jul 2015 00:10:12 +0000 (+1000) Subject: doc: add -test.count and get -insecure to go1.5.html X-Git-Tag: go1.5beta2~114 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e71276c7417fcaed566478b37b0f68031a7fc157;p=gostls13.git doc: add -test.count and get -insecure to go1.5.html Change-Id: Ie3d603a95826b9b6a7acd4825991f24c3c61408b Reviewed-on: https://go-review.googlesource.com/11956 Reviewed-by: Russ Cox --- diff --git a/doc/go1.5.html b/doc/go1.5.html index 6337e8afa1..14b1938994 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -355,25 +355,18 @@ manual verification may be required.

-Perhaps more important is that some discrepancies between the -architectures in how the PC and SP are handled have been -eliminated. -Sometimes these registers represented hardware -registers, and sometimes pseudo-registers. -As of Go 1.5, the names PC and SP -are always pseudo-registers. -To refer to the hardware register, use the alternate representation such -as R13 for the stack pointer and -R15 for the hardware program counter on x86. -(The names are different on other architectures.) -To help enforce this change, references to the -SP and PC -pseudo-registers now always require an identifier: -f+4(SP) not 4(SP); -it is a syntax error to omit the identifier. -Uses of SP (say) as a hardware register -tend to omit the name, and they will now be flagged by -the assembler. +Perhaps more important is that on machines where +SP or PC is only an alias +for a numbered register, +such as R13 for the stack pointer and +R15 for the hardware program counter +on x86, +a reference to such a register that does not include a symbol +is now illegal. +For example, SP and 4(SP) are +illegal but sym+4(SP) is fine. +On such machines, to refer to the hardware register use its +true R name.

@@ -487,11 +480,15 @@ as described above. An -asmflags build option has been added to provide flags to the assembler. However, -the -ccflags build option has been dropped. TODO: why? +the -ccflags build option has been dropped; +it was specific to the old, now deleted C compiler .

  • -cmd/go, testing: add go test -count (https://golang.org/cl/10669) +The test subcommand now has a -count +flag to specify how many times to run each test and benchmark. +testing package +does the work here, through by the -test.count flag.
  • @@ -503,6 +500,12 @@ The executing pattern now has access to two new environment variables: and $DOLLAR expands to a dollar sign.
  • +
  • +The get subcommand now has a -insecure +flag that must be enabled if fetching from an insecure repository, one that +does not encrypt the connection. +
  • +

    Go vet command

    @@ -800,7 +803,7 @@ The server serves them if they are listed in the Certificate struct, and the client requests them and exposes them, if present, in its ConnectionState struct. -The crytpo/tls server implementation +The crytpo/tls server implementation will also now always call the GetCertificate function in the Config struct @@ -1039,13 +1042,6 @@ Also, starting with Go 1.5 the package sets the REMOTE_PORT variable. -
  • -The net/http package's -Request type adds a -Cancel field, a channel to signal that the request has been -canceled. -
  • -
  • The net/mail package adds a AddressParser