Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes issue 729.
R=ken2
CC=golang-dev
http://codereview.appspot.com/875048
|
|
SETSID does return an errno - any reason why it has been done this
way in zsyscall_linux_* ? Otherwise it should be the same as darwin.
From SETSID(2) on my Linux box:
ERRORS
On error, -1 is returned, and errno is set.
Fixes issue 730
R=rsc
CC=golang-dev
http://codereview.appspot.com/878047
|
|
xml: add support for XML marshalling embedded structs.
R=rsc
CC=golang-dev
http://codereview.appspot.com/837042
Committer: Russ Cox <rsc@golang.org>
|
|
packStructValue was cutting off last byte of uint32
in _Dns_msg.Unpack, use packRR for rr types
R=rsc
CC=golang-dev
http://codereview.appspot.com/844048
Committer: Russ Cox <rsc@golang.org>
|
|
This is the first of probably four separate CLs
for the new implementation of the json package.
The scanner is the core of the new implementation.
The other CLs would be the new decoder,
the new encoder, and support for JSON streams.
R=r
CC=golang-dev
http://codereview.appspot.com/802051
|
|
Fixes issue 675.
R=rsc, msolo
CC=golang-dev
http://codereview.appspot.com/882049
|
|
We were letting bignum decide, which caused problems with float literals with a leading 0.
R=gri
CC=golang-dev
http://codereview.appspot.com/816047
Committer: Robert Griesemer <gri@golang.org>
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/846050
Committer: Robert Griesemer <gri@golang.org>
|
|
R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/908044
Committer: Robert Griesemer <gri@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/872045
|
|
$ godoc xml | grep Copy\(\)
func (c CharData) Copy() CharData
func (c Comment) Copy() Comment
func (d Directive) Copy() Directive
func (p ProcInst) Copy() ProcInst
func (e StartElement) Copy() StartElement
--------------------------------------------
$ godoc -src xml | grep Copy\(\)
func (c CharData) Copy() CharData
--------------------------------------------
$ godoc -src xml Copy
func (c CharData) Copy() CharData { return CharData(makeCopy(c)) }
--------------------------------------------
The command "godoc -src pkg_name" should output the interface of the named package, but it excludes all duplicate entries. Also the command "godoc -src pkg_name method_name" will output the source code only for one method even if there are more of them with the same name in the same package. This patch set fixes this issue.
R=gri
CC=golang-dev
http://codereview.appspot.com/883051
Committer: Robert Griesemer <gri@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/912041
|
|
fmt.Printf("float32 %f\n", float32(1234.56789))
fmt.Printf("float64 %f\n", float64(1234.56789))
->
float32 1234.567871
float64 1234.567890
this is a snapshot. extended instruction support, corner cases
and fixes coming in subseuent cls.
R=rsc
CC=dpx, golang-dev
http://codereview.appspot.com/876045
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/840045
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/920041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/854048
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/815044
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/851045
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/915041
Committer: Russ Cox <rsc@golang.org>
|
|
much rewriting and improving, but it's still experimental.
R=rsc
CC=golang-dev
http://codereview.appspot.com/875045
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/824049
|
|
R=gri, adg
CC=golang-dev, r, rsc
http://codereview.appspot.com/857048
Committer: Andrew Gerrand <adg@golang.org>
|
|
- don't log normal EOF
- fix ServeConn to block as documented
R=rsc, msolo
CC=golang-dev
http://codereview.appspot.com/886043
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/891050
|
|
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/891048
Committer: Rob Pike <r@golang.org>
|
|
fmt.Printf("%b", int8(-1)) prints 64 ones instead of 8.
This happens only for signed integers (int8, in16 and int32). I guess it's because of the way the conversion between integer types works. From go spec: "Conversions between integer types. If the value is a signed quantity, it is sign extended to implicit infinite precision ....". And there are several conversions to int64 and uint64 in the fmt package. This pathch solves only half of the problem. On a 32 bit system, an fmt.Printf("%b", int(-1)) should still print 64 ones.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/891049
Committer: Rob Pike <r@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/888045
Committer: Russ Cox <rsc@golang.org>
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/840043
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/902044
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/883049
|
|
R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/849049
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/901042
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/903044
Committer: Rob Pike <r@golang.org>
|
|
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/822047
Committer: Rob Pike <r@golang.org>
|
|
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/823045
Committer: Rob Pike <r@golang.org>
|
|
R=gri, r
CC=golang-dev, rsc
http://codereview.appspot.com/819042
Committer: Rob Pike <r@golang.org>
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/811044
|
|
equivalents TrimFunc, TrimLeftFunc, TrimRightFunc
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/799048
Committer: Russ Cox <rsc@golang.org>
|
|
remove internal functions from traces in gopprof instead.
R=r
CC=golang-dev
http://codereview.appspot.com/855046
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/909041
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/908041
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/831045
Committer: Russ Cox <rsc@golang.org>
|
|
This is required to make cgo export work on Darwin. Note that
this corrects the stack alignment when calling initcgo to that
required by gcc on amd64.
R=rsc
CC=golang-dev
http://codereview.appspot.com/907041
|
|
The new //export comment marks a Go function as callable from
C. The syntax is "//export NAME" where NAME is the name of
the function as seen from C. If such a comment is seen, cgo
will generate two new files: _cgo_export.h and _cgo_export.c.
The _cgo_export.h file provides declarations which C code may
use to call Go functions. The _cgo_export.c file contains
wrappers, and is to be compiled with gcc.
The changes to Make.pkg support using this from a Go Makefile,
though it could probably be more convenient.
R=rsc
CC=golang-dev
http://codereview.appspot.com/853042
|
|
These functions are used to call from a C function back to a
Go function. This only includes 386 support.
R=rsc
CC=golang-dev
http://codereview.appspot.com/834045
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/857045
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/902042
|
|
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/872043
Committer: Rob Pike <r@golang.org>
|
|
R=adg
CC=golang-dev
http://codereview.appspot.com/867046
|
|
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386.
freebsd untested; will finish in a separate CL.
for now all the panics are errorStrings.
richer structures can be added as necessary
once the mechanism is shaked out.
R=r
CC=golang-dev
http://codereview.appspot.com/906041
|