- 11 Aug, 2011 6 commits
-
-
Nigel Tao authored
This continues the work in revision 914a659b44ff, now passing more test cases. As before, the new tokenization tests match html5lib's behavior. Fixes #2124. R=dsymonds, r CC=golang-dev https://golang.org/cl/4867042
-
Rob Pike authored
Also simplify nil handling in printing. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4869042
-
Gustavo Niemeyer authored
IMPORTANT: Previous usage of *Files will continue to compile fine but misbehave since the interface is compatible. The following functions have been renamed: ParseFiles => ParseGlob ParseFile => ParseFiles ParseSetFiles => ParseSetGlob ParseSetFile => ParseSetFiles ParseTemplateFiles => ParseTemplateGlob ParseTemplateFile => ParseTemplateFiles R=golang-dev, r CC=golang-dev https://golang.org/cl/4867041
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4859042
-
Russ Cox authored
Not sure how to detect read-only but at least this pins the blame on the hg server. R=r, bradfitz CC=golang-dev https://golang.org/cl/4847053
-
Russ Cox authored
R=bradfitz, dsymonds, fshahriar CC=golang-dev https://golang.org/cl/4859043
-
- 10 Aug, 2011 14 commits
-
-
Rob Pike authored
Also protect against invalid (zero Value) reflect.Values. R=rsc, gri CC=golang-dev https://golang.org/cl/4810094
-
Dave Grijalva authored
Fixes #2140. The http.DefaultTransport's RoundTrip method leaves the http.Request object in an altered state after performing the round trip. This patch removes the header from the Request before returning to the client. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4857041
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/4855051
-
Brad Fitzpatrick authored
Addresses part of issue 2093 Thanks to espians....@ R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4808087
-
Marcel van Lohuizen authored
- triegen.go: Factored out trie generation code from maketables.go (only renamed printTrieTables to printTables and made it a method). - maketesttables.go: new tool to generate data for the trie unit test. - Makefile: changed accordingly. - trie.go: trie lookup code. - trietest_data.go: generated by maketesttables.go. - trie_test.go: unit test for trie.go. R=r CC=golang-dev https://golang.org/cl/4844053
-
Marcel van Lohuizen authored
- triegen.go: Factored out trie generation code from maketables.go (only renamed printTrieTables to printTables and made it a method). - maketesttables.go: new tool to generate data for the trie unit test. - Makefile: changed accordingly. - trie.go: trie lookup code. - trietest_data.go: generated by maketesttables.go. - trie_test.go: unit test for trie.go. R=r CC=golang-dev https://golang.org/cl/4844053
-
Russ Cox authored
Now that reflect has v.Addr(), we can use it. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4860041
-
Rob Pike authored
the format string does not specify its presence. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4839059
-
Alex Brainman authored
Every time we enter callback from Windows, it is possible that go exception handler is not at the top of per-thread exception handlers chain. So it needs to be installed again. At this moment this is done by replacing top SEH frame with SEH frame as at time of syscall for the time of callback. This is incorrect, because, if exception strike, we won't be able to call any exception handlers installed inside syscall, because they are not in the chain. This changes procedure to add new SEH frame on top of existing chain instead. I also removed m sehframe field, because I don't think it is needed. We use single global exception handler everywhere. R=golang-dev, r CC=golang-dev, hectorchu https://golang.org/cl/4832060
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4808088
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/4830069
-
Rob Pike authored
See https://golang.org/cl/4815087 R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4849050
-
Nigel Tao authored
The additional token_test.go cases matches html5lib behavior. Fixes #2124. R=gri CC=golang-dev https://golang.org/cl/4844055
-
Wei Guangjing authored
Fixes #2139. R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/4838056
-
- 09 Aug, 2011 5 commits
-
-
Brad Fitzpatrick authored
This addresses the biggest DoS in issue 2093 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4841050
-
Yasuhiro Matsumoto authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4798071
-
Rob Pike authored
Also allow struct values as "with" targets. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4809086
-
Rob Pike authored
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
-
Rob Pike authored
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
-
- 08 Aug, 2011 11 commits
-
-
Kyle Consalus authored
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
-
Robert Griesemer authored
- added corresponding test cases - re-grouped tests for better readability Fixes #2138. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4815091
-
John Asmuth authored
container/vector: removed last instances of vector outside of container/vector itself from the core libs R=gri CC=golang-dev https://golang.org/cl/4810078
-
Joel Sing authored
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
-
Joel Sing authored
R=rsc CC=golang-dev https://golang.org/cl/4816060
-
Joel Sing authored
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
-
Joel Sing authored
R=rsc CC=golang-dev https://golang.org/cl/4798061
-
Rob Pike authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4855045
-
Dmitriy Vyukov authored
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
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4837063
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4839052
-
- 07 Aug, 2011 1 commit
-
-
Rob Pike authored
R=golang-dev, rogpeppe, r, dsymonds, bradfitz, fvbommel CC=golang-dev https://golang.org/cl/4830065
-
- 06 Aug, 2011 2 commits
-
-
Robert Griesemer authored
R=r, rsc CC=golang-dev https://golang.org/cl/4832055
-
Rob Pike authored
Fixes #1935. R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4850044
-
- 05 Aug, 2011 1 commit
-
-
Rob Pike authored
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
-