Commits

Show all
Author Commit Message Labels Comments Date
Andrew Gerrand
release.2011-03-07 R=r, rsc, dfc CC=golang-dev http://codereview.appspot.com/4240081
Tags
weekly.2011-03-07
Russ Cox
io/ioutil: use filepath.Join, handle trailing / in $TMPDIR R=niemeyer CC=golang-dev http://codereview.appspot.com/4256057
brainman
path/filepath: disable test on windows to fix build R=golang-dev, rsc1 CC=golang-dev http://codereview.appspot.com/4235054
Brad Fitzpatrick
mime/multipart: switch from map to MIMEHeader R=rsc CC=golang-dev http://codereview.appspot.com/4253058
Gustavo Niemeyer
cgo: fix dwarf type parsing The recursive algorithm used to parse types in cgo has a bug related to building the C type representation. As an example, when the recursion starts at a type *T, the C type representation won't be known until type T itself is parsed. But then, it is possible that type T references the type **T internally. The latter representation is built based on the one of *T, which started the recursion, s…
Gustavo Niemeyer
path/filepath: new OS-specific path support The path package now contains only functions which deal with slashed paths, sensible for any OS when dealing with network paths or URLs. OS-specific functionality has been moved into the new path/filepath package. This also includes fixes for godoc, goinstall and other packages which were mixing slashed and OS-specific paths. R=rsc, gri, mattn, brainman CC=golang-dev http://codereview.appspot.c…
Robert Hencke
websocket: use httptest.Server for tests R=rsc CC=golang-dev http://codereview.appspot.com/4266044 Committer: Russ Cox <rsc@golang.org>
Russ Cox
build: remove old cgo files Cgo changed to write these files into _obj, but some trees may still have the old ones in the source directory. They need to be removed during make clean so that a subsequent build will use the ones in _obj. R=r, r2 CC=golang-dev http://codereview.appspot.com/4254056
Petar Maymounkov
http: add cookie support R=rsc1, mattn, bradfitzwork, pascal, bradfitzgo CC=golang-dev http://codereview.appspot.com/4214042 Committer: Russ Cox <rsc@golang.org>
Devon O'Dell
syscall: work around FreeBSD execve kernel bug FreeBSD's execve implementation has an integer underflow in a bounds test which causes it to erroneously think the argument list is too long when argv[0] is longer than interpreter + path. R=rsc, bradfitz, rsc1 CC=golang-dev http://codereview.appspot.com/4259056 Committer: Russ Cox <rsc@golang.org>
Rob Pike
gob: clean up getTypeInfo (address a TODO) also fix a caching bug. R=rsc CC=golang-dev http://codereview.appspot.com/4261049
Russ Cox
http/cgi: skip test if perl or CGI.pm not available R=bradfitzgo, bradfitzwork CC=golang-dev http://codereview.appspot.com/4264047
Robert Hencke
fmt: trivial cleanup R=golang-dev, bradfitzgo CC=golang-dev http://codereview.appspot.com/4235052 Committer: Brad Fitzpatrick <bradfitz@golang.org>
Brad Fitzpatrick
A+C: Robert Hencke (individual CLA) R=dsymonds CC=golang-dev http://codereview.appspot.com/4256053
Rob Pike
gob: don't send type information about unexported fields. A change a while back stop sending data for unexported fields but due to an oversight the type info was being sent also. It's inconsequential but wrong to do that. R=rsc, rh CC=golang-dev http://codereview.appspot.com/4252058
Brad Fitzpatrick
httptest: fix docs out-of-sync from earlier renaming R=rh CC=golang-dev http://codereview.appspot.com/4239060
Brad Fitzpatrick
httptest: introduce TempServer, clean up tests This also breaks fs_test into two parts as the range tests test http's private httpRange and I had to change the fs_test package from "http" to "http_test" to use httptest which otherwise has a cyclic depedency back on http. Aside: we should start exposing the Range stuff in the future. R=rsc CC=golang-dev http://codereview.appspot.com/4261047
Dave Cheney
build: avoid calling gomake wrapper in recursive make R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/4243058 Committer: Russ Cox <rsc@golang.org>
Petar Maymounkov
http: fixed race condition in persist.go R=rsc, bradfitzgo, bradfitzwork CC=golang-dev http://codereview.appspot.com/4266042 Committer: Russ Cox <rsc@golang.org>
Russ Cox
http: fix, use WriteProxy Fixes issue 53. R=bradfitzgo, bradfitzwork CC=golang-dev http://codereview.appspot.com/4240075
Russ Cox
compress/flate: fix test The test was checking for a buffer to be empty but actually racing with the background goroutine that was emptying it. Left a comment so that the check is not reintroduced later. Fixes issue 1557. R=golang-dev, dsymonds CC=golang-dev http://codereview.appspot.com/4248063
Russ Cox
cgo: use correct frame size for 0 arguments Passing a frame size of 1 was causing the cgo callback to push 1 byte of arguments onto the stack, making the stack pointer misaligned, which had the effect of hiding all the pointers on the stack from the garbage collector. SWIG only wraps calls to C++ virtual methods, so it always has at least 1 argument, so SWIG does not need to be fixed too. Fixes issue 1328. R=iant CC=golang-dev http://cod…
Russ Cox
A+C: Pascal S. de Kloe (individual CLA) R=r CC=golang-dev http://codereview.appspot.com/4266041
dsymonds
gc, gopack: add some missing flags to the docs. R=rsc, r CC=golang-dev http://codereview.appspot.com/4260051
dsymonds
time: split os-dependent part into sys.go. R=rsc CC=golang-dev http://codereview.appspot.com/4259051
Rob Pike
gob: enable the GobEncoder and GobDecoder interfaces. These allow data items to control their own representation. For now, the implementation requires that the value passed to Encode and Decode must be exactly the type of the methods' receiver; it cannot be, for instance, T if the receiver is of type *T. This will be fixed in a later CL. R=rsc CC=golang-dev http://codereview.appspot.com/4235051
Brad Fitzpatrick
http/cgi: skip tests on Windows The tests require Perl, not commonly installed on Windows. R=rsc, brainman CC=golang-dev http://codereview.appspot.com/4239057
Russ Cox
runtime: make printf work on misaligned stack (Shouldn't happen, but if it does, it's useful to be able to use printf to debug it.) R=r CC=golang-dev http://codereview.appspot.com/4250057
Rob Pike
gob: beginning of support for GobEncoder/GobDecoder interfaces. This allows a data item that can marshal itself to be transmitted by its own encoding, enabling some types to be handled that cannot be normally, plus providing a way to use gobs on data with unexported fields. In this CL, the necessary methods are protected by leading _, so only package gob can use the facilities (in its tests, of course); this code is not ready for real use yet. I could be tal…
Brad Fitzpatrick
http: rename ClientTransport to Transport http.Transport looks nicer, and ServerTransport doesn't make much sense anyway. R=rsc CC=golang-dev http://codereview.appspot.com/4239056
  1. Prev
  2. Next