aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-23weekly.2011-05-22weekly.2011-05-22Andrew Gerrand
R=golang-dev, r CC=golang-dev https://golang.org/cl/4523090
2011-05-22http: add docs/warning on incorrect use of NewChunkedWriterBrad Fitzpatrick
R=golang-dev, adg, r CC=golang-dev https://golang.org/cl/4536075
2011-05-22syscall: add IPv6 scope zone ID supportMikio Hara
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4515124
2011-05-22net: re-enable wildcard listeningMikio Hara
Fixes #1854. R=bradfitz, golang-dev CC=golang-dev https://golang.org/cl/4550062
2011-05-22runtime: fix function args not checked warning on armDave Cheney
This tiny nit was driving me nuts R=rsc, ken, r CC=golang-dev https://golang.org/cl/4550069
2011-05-22doc: close paragraph tags in FAQEvan Shaw
R=golang-dev, r CC=golang-dev https://golang.org/cl/4532076
2011-05-22flag: fix buildAndrew Gerrand
R=r CC=golang-dev https://golang.org/cl/4543064
2011-05-22crypto/x509: fix incorrect prints found by govetRobert Hencke
R=golang-dev, r CC=golang-dev https://golang.org/cl/4526073
2011-05-22flags: allow distinct sets of flags.Rob Pike
A FlagSet is an independent set of flags that may be used, for example, to provide flag processing for subcommands in a CLI. The standard, os.Args-derived set of flags is a global but non-exported FlagSet and the standard functions are wrappers for methods of that FlagSet. Allow the programmer to control whether the program exits if there is a parse error. For the default set, the behavior remains to exit on error. The handling of Usage is odd due to backward compatibility. R=golang-dev, bradfitz, r, bradfitz CC=golang-dev https://golang.org/cl/4517092
2011-05-215l: fix set but not used warningsDave Cheney
R=rsc, iant CC=golang-dev https://golang.org/cl/4538083
2011-05-20http: include Host header in requests, even with proxiesBrad Fitzpatrick
A user pointed out that Go didn't work with their corp proxy, always throwing 400 Bad Request errors. Looking at the RFC 2616, Host is always required, even with proxies. The old code assumed that writing an absolute URL in the first line of an HTTP request implied that the Host header was no longer necessary. Double-checked behavior with curl. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4539075
2011-05-21fmt: scanning doc fixEvan Shaw
R=r CC=golang-dev https://golang.org/cl/4539073
2011-05-20syscall: sendfileBrad Fitzpatrick
R=iant CC=golang-dev https://golang.org/cl/4553051
2011-05-20misc: syntax highlighting support on IntelliJ IDEAAlexander Orlov
Go keywords from Vim's syntax configuration file were used. Issue Tracker Reference: http://code.google.com/p/go/issues/detail?id=1850 Fixes #1850. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4547054
2011-05-20asn1: add big support.Adam Langley
Initially I wanted to minimise dependencies but it's become clear that big int support in ASN.1 is a common need and that it should be part of the core. R=bradfitz CC=golang-dev https://golang.org/cl/4550063
2011-05-20crypto/openpgp: add key generation support.Adam Langley
This change adds a function for generating new Entities and inchoate support for reserialising Entities. R=bradfitz, r, bradfitz CC=golang-dev https://golang.org/cl/4551044
2011-05-20mime/multipart: add a multipart WriterBrad Fitzpatrick
Fixes #1823 R=golang-dev, adg, robert.hencke CC=golang-dev https://golang.org/cl/4530054
2011-05-20godoc: remove paragraph tags around navigation divAndrew Gerrand
R=golang-dev, iant CC=golang-dev https://golang.org/cl/4551051
2011-05-20godoc: don't display navigation list with only 1 elementAndrew Gerrand
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4547056
2011-05-19go/printer, gofmt: fix formatting of expression lists (missing blank)Robert Griesemer
This appears to have been a long-standing formatting bug. The test cases has misformatted golden files. Applied gofmt -w src misc . Fixes #1839. R=iant CC=golang-dev https://golang.org/cl/4515113
2011-05-19A+C: Alexander Orlov (individual CLA)Robert Griesemer
R=iant, iant2 CC=golang-dev https://golang.org/cl/4515114
2011-05-19template: support string, int and float literalsGustavo Niemeyer
This enables customizing the behavior of formatters with logic such as {"template"|import} or even {Field1 Field2 "%.2f 0x%X"|printf} Thanks to Roger Peppe for some debate on this. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/4536059
2011-05-19flag: fix docs on flag.Var.David Symonds
R=golang-dev, r CC=golang-dev https://golang.org/cl/4539067
2011-05-18crypto/rand: add utility functions for number generationAnthony Martin
This code is extracted from crypto/rsa with a few variables renamed and a comment fixed. R=agl, rsc, agl CC=golang-dev https://golang.org/cl/4446068
2011-05-18http: Client.Do should follow redirects for GET and HEADBrad Fitzpatrick
It's documented as such, but it was never wired up after Transport went in and Head was fixed. If people don't want redirects, that's what RoundTripper/ Transport are for. Or a custom redirect policy. R=golang-dev, kevlar CC=golang-dev https://golang.org/cl/4526065
2011-05-18syscall: add netlink support for linux/386, linux/amd64, linux/armMikio Hara
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4535078
2011-05-18image/jpeg: small memory layout optimization for encoding.Nigel Tao
Before: jpeg.BenchmarkEncodeRGBOpaque ... 23.29 MB/s jpeg.BenchmarkEncodeRGBOpaque ... 23.27 MB/s jpeg.BenchmarkEncodeRGBOpaque ... 23.17 MB/s After: jpeg.BenchmarkEncodeRGBOpaque ... 23.42 MB/s jpeg.BenchmarkEncodeRGBOpaque ... 23.34 MB/s jpeg.BenchmarkEncodeRGBOpaque ... 23.33 MB/s R=rsc CC=golang-dev https://golang.org/cl/4538077
2011-05-18 crypto/x509: add support for parsing and verifying DSA signaturesJonathan Allie
(DSA with SHA1, DSA with SHA256). Cleanup getSignatureFromOID function. R=agl, agl, rsc CC=golang-dev https://golang.org/cl/4530055
2011-05-18fmt: fix minor documentation nitsRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/4556041
2011-05-18cgo: use packed struct to fix Windows behaviorRuss Cox
R=golang-dev, mattn.jp, jcowgar, iant CC=golang-dev https://golang.org/cl/4535080
2011-05-18big: support %v and # modifier, better handling of unknown formatsRobert Griesemer
R=r CC=golang-dev https://golang.org/cl/4536065
2011-05-18image/jpeg: make writeDQT do fewer array copies.Nigel Tao
R=rsc, r CC=golang-dev https://golang.org/cl/4536069
2011-05-18syscall: adjust freebsd syscalls.master URL properlyMikio Hara
R=golang-dev, devon.odell CC=golang-dev https://golang.org/cl/4552051
2011-05-18pkg: spelling tweaks, A-HRobert Hencke
R=ality, bradfitz, rsc, dsymonds, adg, qyzhai, dchest CC=golang-dev https://golang.org/cl/4536063
2011-05-186l: fix emit windows dwarf sectionsWei Guangjing
R=alex.brainman, rsc CC=golang-dev, vcc.163 https://golang.org/cl/4532069
2011-05-18http: add Transport.ProxySelectorBrad Fitzpatrick
R=mattn.jp, rsc CC=golang-dev https://golang.org/cl/4528077
2011-05-18syscall: add TODO about required manual correctionsMikio Hara
R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/4553042
2011-05-17image/jpeg: fix bounds calculation for grayscale JPEG images.Nigel Tao
Also add grayscale test cases for image/decode_test. R=r CC=golang-dev https://golang.org/cl/4526063
2011-05-17big: better support for string conversionsRobert Griesemer
Fixes #1842. R=r CC=golang-dev https://golang.org/cl/4517081
2011-05-17http: add http.SetCookie(ResponseWriter, *Cookie)Brad Fitzpatrick
R=golang-dev, gary.burd, rsc CC=golang-dev https://golang.org/cl/4526062
2011-05-17big: add Int methods to act on numbered bits.Roger Peppe
Speeds up setting individual bits by ~75%, useful when using big.Int as a bit set. R=gri, rsc CC=golang-dev https://golang.org/cl/4538053
2011-05-17go/ast resolver: properly maintain map of package global importsRobert Griesemer
- add Data field to ast.Object - for package objects, the Data field holds the package scope - resolve several TODOs R=rsc CC=golang-dev https://golang.org/cl/4538069
2011-05-17reflect: make allocation test less fragile.Rob Pike
When GOMAXPROCS>1, the testing framework runs in parallel with the test itself and may do a small number of allocations, so allow the "noAllocs" condition to admit just a few. Fixes #1782. R=rsc CC=golang-dev, rsc https://golang.org/cl/4533041
2011-05-17doc: add Korean Go siteAndrew Gerrand
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4515092
2011-05-16pkg: fix new incorrect prints found by govetRobert Hencke
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4539063
2011-05-17doc: add I/O 2011 talks to talks/, docs.html, and front page.Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/4516057
2011-05-16net, http: add and make use of IP address scope identification APIMikio Hara
Add seven methods to IP struct: IsUnspecified, IsLoopback, IsMulticast, IsInterfaceLocalMulticast, IsLinkLocalMulticast, IsLinkLocalUnicast and IsGlobalUnicast. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/4515083
2011-05-17filepath: make EvalSymlinks work on WindowsAlex Brainman
Fixes #1830. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4526060
2011-05-168g: fix conversion from float to uint64Anthony Martin
The code for converting negative floats was incorrectly loading an FP control word from the stack without ever having stored it there. Thanks to Lars Pensjö for reporting this bug. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4515091
2011-05-16image/gif: enable images with <8 bits per pixel.Rob Pike
R=nigeltao CC=golang-dev https://golang.org/cl/4552042