aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-10weekly.2011-08-10weekly.2011-08-10Nigel Tao
R=r CC=golang-dev https://golang.org/cl/4830069
2011-08-10timing.log: significant improvements after custom algorithmsRob Pike
See https://golang.org/cl/4815087 R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4849050
2011-08-10html: parse malformed tags missing a '>', such as `<p id=0</p>`.Nigel Tao
The additional token_test.go cases matches html5lib behavior. Fixes #2124. R=gri CC=golang-dev https://golang.org/cl/4844055
2011-08-10ld: add one empty symbol into pe to make dumpbin works.Wei Guangjing
Fixes #2139. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/4838056
2011-08-09http: configurable and default request header size limitBrad Fitzpatrick
This addresses the biggest DoS in issue 2093 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4841050
2011-08-09http: add test to serve content in index.htmlYasuhiro Matsumoto
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4798071
2011-08-09exp/template: do not take address of interface variable to find methods.Rob Pike
Also allow struct values as "with" targets. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4809086
2011-08-09exp/template: remove reflect from the APIRob Pike
It means keeping two sets of maps, but things look cleaner from the outside. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4839056
2011-08-09exp/template: split the parse tree into a separate package exp/template/parseRob Pike
Mostly a mechanical change, with a few cleanups to make the split easier. The external interface to exp/template is unaffected. In another round I will play with the function map setup to see if I can avoid exposing reflect across the boundary, but that will require some structural changes I did not want to mix into this CL. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4849049
2011-08-08crypto/x509, go/scanner, index/suffixarray: Removed []interface{}/vector uses.Kyle Consalus
Changed some []interface{} uses to slices of the concrete types; removed use of IntVector. R=gri, rsc CC=golang-dev https://golang.org/cl/4810085
2011-08-08scanner: correct error position for illegal UTF-8 encodingsRobert Griesemer
- added corresponding test cases - re-grouped tests for better readability Fixes #2138. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4815091
2011-08-08container/vector: removed last instances of vector outside of ↵John Asmuth
container/vector itself from the core libs R=gri CC=golang-dev https://golang.org/cl/4810078
2011-08-08syscall: move bsd mmap syscallJoel Sing
The mmap system call varies across BSDs. Move mmap and munmap into the operating system dependent files. This will be needed to add syscall support for OpenBSD. R=rsc CC=golang-dev https://golang.org/cl/4822056
2011-08-08net: add support for openbsdJoel Sing
R=rsc CC=golang-dev https://golang.org/cl/4816060
2011-08-08runtime: openbsd amd64 runtime supportJoel Sing
Add support for the go runtime on openbsd/amd64. This is based on the existing freebsd runtime. Threads are implemented using OpenBSD's rthreads, which are currently disabled by default, however can be enabled via the kern.rthreads sysctl. For now, cgo is disabled. R=rsc CC=golang-dev https://golang.org/cl/4815067
2011-08-08os: add support for openbsdJoel Sing
R=rsc CC=golang-dev https://golang.org/cl/4798061
2011-08-08exp/template: document that comments may span newlines.Rob Pike
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4855045
2011-08-08runtime: add more specialized type algorithmsDmitriy Vyukov
The change adds specialized type algorithms for slices and types of size 8/16/32/64/128. It significantly accelerates chan and map operations for most builtin types as well as user structs. benchmark old,ns/op new,ns/op BenchmarkChanUncontended 226 94 (on Intel Xeon E5620, 2.4GHz, Linux 64 bit) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4815087
2011-08-08exp/template: url filter.David Symonds
R=r CC=golang-dev https://golang.org/cl/4837063
2011-08-08exp/template: fix Must example.David Symonds
R=r CC=golang-dev https://golang.org/cl/4839052
2011-08-08time: parse and format fractional secondsRob Pike
R=golang-dev, rogpeppe, r, dsymonds, bradfitz, fvbommel CC=golang-dev https://golang.org/cl/4830065
2011-08-06gofmt: update test script so 'make test' succeedsRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/4832055
2011-08-06FAQ: variant types, unionsRob Pike
Fixes #1935. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4850044
2011-08-06FAQ: lots of small tweaks plus a couple of new discussions.Rob Pike
Expand the conversations about pointers, memory, and garbage collection. Describe the lack of co/contravariant typing. Fixes #1929. Fixes #1930. R=dsymonds, r, mirtchovski, edsrzf, hanwen, rsc CC=golang-dev https://golang.org/cl/4852041
2011-08-05time: fix windows buildAlex Brainman
R=golang-dev, mattn.jp, dsymonds CC=golang-dev https://golang.org/cl/4849042
2011-08-05asn1: fix buildRob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4830061
2011-08-05time: add nanoseconds to the Time structure.Rob Pike
R=golang-dev, dsymonds, bradfitz, kevlar, rsc, r CC=golang-dev https://golang.org/cl/4851041
2011-08-05net: implement windows LookupMX and LookupAddrAlex Brainman
Also sort SRV records before returning from LookupSRV. R=rsc CC=golang-dev https://golang.org/cl/4817049
2011-08-05net: fix /proc/net/igmp,igmp6 reading bug on linuxMikio Hara
Fixes #2130. R=rsc, dave CC=golang-dev https://golang.org/cl/4846044
2011-08-05exp/norm: fix build by adding a test placeholderRob Pike
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4838050
2011-08-04exp/norm: maketables tool for generating tables for normalization.Marcel van Lohuizen
R=r, bsiegert, r, alex.brainman CC=golang-dev https://golang.org/cl/4662080
2011-08-04runtime: faster chan creation on Linux/FreeBSD/Plan9Dmitriy Vyukov
The change removes chan finalizer (Lock destructor) if it is not required on the platform. benchmark old ns/op new ns/op delta BenchmarkChanCreation 1132.00 381.00 -66.34% BenchmarkChanCreation-2 1215.00 243.00 -80.00% BenchmarkChanCreation-4 1084.00 186.00 -82.84% BenchmarkChanCreation-8 1415.00 154.00 -89.12% BenchmarkChanCreation-16 1386.00 144.00 -89.61% (on 2 x Intel Xeon E5620, 8 HT cores, 2.4 GHz, Linux) R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4841041
2011-08-04http: correct path to serve index.html.Yasuhiro Matsumoto
calling filepath.FromSlash(x) make invalid character to serve file. Fixes #2128 R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/4810064
2011-08-04http: add more MPEG-4 MIME types to sniffer, and disable MP4 sniffing.David Symonds
R=rsc CC=golang-dev https://golang.org/cl/4808056
2011-08-04fmt: call UpdateMemStats in malloc counterRob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4830059
2011-08-04gob: avoid a couple of init-time allocations.David Symonds
R=r CC=golang-dev https://golang.org/cl/4806049
2011-08-04gob: add UpdateMemStats calls to malloc counterRob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4808071
2011-08-04gob: don't invoke GobEncoder on zero values.Rob Pike
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4801076
2011-08-04net: joined group addresses for a specific interface for darwin, freebsd, linuxMikio Hara
This CL enables to list the multicast, joined group addresses for a specific interface by using Interface.MulticastAddrs method. R=rsc CC=golang-dev https://golang.org/cl/4808062
2011-08-04syscall: update routing message support for BSD variantsMikio Hara
R=rsc CC=golang-dev https://golang.org/cl/4826056
2011-08-04runtime: remove unnecessary lockingHector Chu
R=rsc, dvyukov CC=golang-dev https://golang.org/cl/4819051
2011-08-04test/bench: note changes after recent improvements to locking and runtimeRob Pike
Some tests are significantly faster (50%), a few are slower (up to 30%). Fannkuch is confusing: parallel code is a little slower for gc, non-parallel and all gccgo runs are faster. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4830058
2011-08-03runtime: correct Note documentationDmitriy Vyukov
Reflect the fact that notesleep() can be called by exactly one thread. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4816064
2011-08-03misc/vim: Godoc command.Yasuhiro Matsumoto
vim command 'Godoc' to see godoc. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4815071
2011-08-02errchk: add -0 flagRuss Cox
R=lvd CC=golang-dev https://golang.org/cl/4837049
2011-08-02ld: fail linking if the top-level package is not main.David Symonds
This makes {5,6,8}l conform to the spec more tightly. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4826063
2011-08-01exp/template: return nil value from helpers on error, even methods.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/4835046
2011-08-01go/build: use GOBIN as binary path for GOROOTAndrew Gerrand
Fixes #2106. R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/4836047
2011-08-01tag release.r59Andrew Gerrand
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4841044
2011-08-01exp/template: make index function on maps return zero value when key not ↵Roger Peppe
present. R=r CC=golang-dev https://golang.org/cl/4808065