- 21 Jul, 2011 4 commits
-
-
Rob Pike authored
This simplifies the API and makes it easier to make the template invocation statically secure, at the cost of some minor flexibility. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4794045
-
Nigel Tao authored
As $GOROOT/src/pkg/html/testdata/webkit/README says, we're pulling from $WEBKITROOT/LayoutTests/html5lib/resources. R=r CC=golang-dev https://golang.org/cl/4810043
-
Nigel Tao authored
This is the "adoption agency" algorithm. The test case input is "<a><p>X<a>Y</a>Z</p></a>". The correct parse is: | <html> | <head> | <body> | <a> | <p> | <a> | "X" | <a> | "Y" | "Z" R=gri CC=golang-dev https://golang.org/cl/4771042
-
Rob Pike authored
Fixes #2082. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4798042
-
- 20 Jul, 2011 16 commits
-
-
Robert Griesemer authored
Also: remove left-over println calls. R=bradfitz CC=golang-dev https://golang.org/cl/4807042
-
Andrew Balholm authored
Fix the TODO: unescape("¬it;") should be "¬it;" Also accept digits in entity names. R=nigeltao CC=golang-dev, rsc https://golang.org/cl/4781042
-
David Symonds authored
This follows draft-ietf-websec-mime-sniff-03 in its intent, though not its algorithmic specification. R=rsc CC=golang-dev https://golang.org/cl/4746042
-
Mike Solomon authored
Fixes #2084. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/4817041
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4818041
-
Brad Fitzpatrick authored
R=golang-dev, evan, rsc CC=golang-dev https://golang.org/cl/4802046
-
Dmitriy Vyukov authored
Remove complicated PRNG algorithm (argument is limited by uint16 and can't be <= 1). Do not require chansend/chanrecv selgen to be bumped with CAS. R=rsc, ken CC=golang-dev https://golang.org/cl/4816041
-
Dmitriy Vyukov authored
1. SudoG always contains a pointer to the element (thus no variable size, and less copying). 2. chansend/chanrecv allocate SudoG on the stack. 3. Copying of elements and gorotuine notifications are moved out of critical sections. benchmark old ns/op new ns/op delta BenchmarkSelectUncontended 515.00 514.00 -0.19% BenchmarkSelectUncontended-2 291.00 281.00 -3.44% BenchmarkSelectUncontended-4 213.00 189.00 -11.27% BenchmarkSelectUncontended-8 78.30 79.00 +0.89% BenchmarkSelectContended 518.00 514.00 -0.77% BenchmarkSelectContended-2 655.00 631.00 -3.66% BenchmarkSelectContended-4 1026.00 1051.00 +2.44% BenchmarkSelectContended-8 2026.00 2128.00 +5.03% BenchmarkSelectNonblock 175.00 173.00 -1.14% BenchmarkSelectNonblock-2 85.10 87.70 +3.06% BenchmarkSelectNonblock-4 60.10 43.30 -27.95% BenchmarkSelectNonblock-8 37.60 25.50 -32.18% BenchmarkChanUncontended 109.00 114.00 +4.59% BenchmarkChanUncontended-2 54.60 57.20 +4.76% BenchmarkChanUncontended-4 27.40 28.70 +4.74% BenchmarkChanUncontended-8 14.60 15.10 +3.42% BenchmarkChanContended 108.00 114.00 +5.56% BenchmarkChanContended-2 621.00 617.00 -0.64% BenchmarkChanContended-4 759.00 677.00 -10.80% BenchmarkChanContended-8 1635.00 1517.00 -7.22% BenchmarkChanSync 299.00 256.00 -14.38% BenchmarkChanSync-2 5055.00 4624.00 -8.53% BenchmarkChanSync-4 4998.00 4680.00 -6.36% BenchmarkChanSync-8 5019.00 4760.00 -5.16% BenchmarkChanProdCons0 316.00 274.00 -13.29% BenchmarkChanProdCons0-2 1280.00 617.00 -51.80% BenchmarkChanProdCons0-4 2433.00 1332.00 -45.25% BenchmarkChanProdCons0-8 3651.00 1934.00 -47.03% BenchmarkChanProdCons10 153.00 152.00 -0.65% BenchmarkChanProdCons10-2 626.00 581.00 -7.19% BenchmarkChanProdCons10-4 1440.00 1323.00 -8.12% BenchmarkChanProdCons10-8 2036.00 2017.00 -0.93% R=rsc, ken CC=golang-dev https://golang.org/cl/4790042
-
Gustavo Niemeyer authored
The dynamic ELF sections were pointing to the proper data, but that data was already owned by the rodata and text sections. Some ELF references explicitly prohibit multiple sections from owning the same data, and strip behaves accordingly. The data for these sections was moved out and their ranges are now owned by their respective sections. This change makes strip happy both with and without -s being provided at link time. A test was added in debug/elf to ensure there are no regressions on this area in the future. Fixes #1242. Fixes #2022. NOTE: Tested on Linux amd64/386/arm only. R=rsc CC=golang-dev https://golang.org/cl/4808043
-
Russ Cox authored
R=bradfitz CC=golang-dev https://golang.org/cl/4815041
-
Russ Cox authored
Fixes #2083. R=msolo, bradfitz CC=golang-dev https://golang.org/cl/4812042
-
Marcel van Lohuizen authored
R=r, r, mpvl, rsc CC=golang-dev https://golang.org/cl/4678041
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4801043
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4802043
-
Andrew Gerrand authored
R=golang-dev, nigeltao, dsymonds, r CC=golang-dev https://golang.org/cl/4801042
-
Andrew Gerrand authored
R=rsc, dsymonds CC=golang-dev https://golang.org/cl/4806041
-
- 19 Jul, 2011 16 commits
-
-
Rob Pike authored
Load seems to work on arm now. R=dsymonds CC=golang-dev https://golang.org/cl/4795042
-
Robert Griesemer authored
R=rsc, adg, bradfitz CC=golang-dev https://golang.org/cl/4750047
-
Lucio De Re authored
pkg/runtime/Makefile: . Adjusted so "goc2c.c" is built using the Plan 9 libraries. pkg/runtime/goc2c.c: . Added/subtracted #include headers to correspond to Plan 9 toolkit. . Changed fprintf(stderr,...)/exit() combinations to sysfatal() calls, adjusted the "%u" format to "%ud". . Added exits(0) at the end of main(). . Made main() a void-returning function and removed the "return 0" at the end of it. Tested on UBUNTU and Plan 9 only. R=r, rsc CC=golang-dev https://golang.org/cl/4626093
-
Russ Cox authored
Uses atomic memory accesses to avoid the need to acquire and release schedlock on fast paths. benchmark old ns/op new ns/op delta runtime_test.BenchmarkSyscall 73 31 -56.63% runtime_test.BenchmarkSyscall-2 538 74 -86.23% runtime_test.BenchmarkSyscall-3 508 103 -79.72% runtime_test.BenchmarkSyscall-4 721 97 -86.52% runtime_test.BenchmarkSyscallWork 920 873 -5.11% runtime_test.BenchmarkSyscallWork-2 516 481 -6.78% runtime_test.BenchmarkSyscallWork-3 550 343 -37.64% runtime_test.BenchmarkSyscallWork-4 632 263 -58.39% (Intel Core i7 L640 2.13 GHz-based Lenovo X201s) Reduced a less artificial server benchmark from 11.5r 12.0u 8.0s to 8.3r 9.1u 1.0s. R=dvyukov, r, bradfitz, r, iant, iant CC=golang-dev https://golang.org/cl/4723042
-
Wei Guangjing authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4725041
-
Dmitriy Vyukov authored
R0 is clobbered after cas, while R1 preserves its value. R=golang-dev CC=golang-dev https://golang.org/cl/4782042
-
Rob Pike authored
Disable the LoadInt32 and LoadUint32 tests, since they fail. These should be fixed but we want to get through the rest of the build to see if something else unrelated is broken. The arm build has been bad for a long time. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4780041
-
Tarmigan Casebolt authored
R=golang-dev, adg, rsc, tarmigan+golang CC=golang-dev https://golang.org/cl/4760055
-
Rob Pike authored
Should fix the arm build. R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4777041
-
Andrew Gerrand authored
R=golang-dev, dsymonds, dsymonds, r CC=golang-dev https://golang.org/cl/4771041
-
Alex Brainman authored
R=golang-dev, mattn.jp, adg CC=golang-dev https://golang.org/cl/4746047
-
Robert Griesemer authored
R=rsc, r, bradfitz, r, adg CC=golang-dev https://golang.org/cl/4748056
-
Alex Brainman authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4770041
-
Rob Pike authored
R=nigeltao CC=golang-dev https://golang.org/cl/4759051
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4631085
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4763048
-
- 18 Jul, 2011 4 commits
-
-
Hector Chu authored
Fixes #2075 R=rsc, ken, r CC=golang-dev https://golang.org/cl/4748045
-
Russ Cox authored
Used to use mcpu+msyscall but that's problematic for packing into a single atomic word. The running goroutine count (where running == Go code or syscall) can be maintained separately, always manipulated under lock. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4767041
-
Dmitriy Vyukov authored
Avoid touching centralized state during memory manager operations. R=mirtchovski CC=golang-dev, rsc https://golang.org/cl/4766042
-
Dmitriy Vyukov authored
Avoid touching centralized state during memory manager opreations. R=rsc CC=golang-dev https://golang.org/cl/4766042
-