- 10 Aug, 2011 6 commits
-
-
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 5 commits
-
-
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
-
Alex Brainman authored
R=golang-dev, mattn.jp, dsymonds CC=golang-dev https://golang.org/cl/4849042
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4830061
-
Rob Pike authored
R=golang-dev, dsymonds, bradfitz, kevlar, rsc, r CC=golang-dev https://golang.org/cl/4851041
-
Alex Brainman authored
Also sort SRV records before returning from LookupSRV. R=rsc CC=golang-dev https://golang.org/cl/4817049
-
- 04 Aug, 2011 10 commits
-
-
Mikio Hara authored
Fixes #2130. R=rsc, dave CC=golang-dev https://golang.org/cl/4846044
-
Rob Pike authored
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4838050
-
Marcel van Lohuizen authored
R=r, bsiegert, r, alex.brainman CC=golang-dev https://golang.org/cl/4662080
-
Dmitriy Vyukov authored
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
-
Yasuhiro Matsumoto authored
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
-
David Symonds authored
R=rsc CC=golang-dev https://golang.org/cl/4808056
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4830059
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4806049
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4808071
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4801076
-