summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-10Added tests for http.Request/Response.Write()Petar Maymounkov2-0/+173
R=rsc CC=golang-dev http://codereview.appspot.com/199070 Committer: Russ Cox <rsc@golang.org>
2010-02-10arm: take out fixedbugs/bug120 - gives inconsistent errorsRuss Cox2-6/+0
R=kaib CC=golang-dev http://codereview.appspot.com/207062
2010-02-10net: use slightly less predictable dns request idRuss Cox1-1/+3
not trying to be secure, just not repetitive (sending with the same id repeatedly makes some resolvers stop replying.) eventually we'll replace this with linking against the system's native resolver. R=p CC=golang-dev http://codereview.appspot.com/207051
2010-02-10arm: fix build on androidRuss Cox11-273/+742
R=kaib CC=golang-dev http://codereview.appspot.com/206059
2010-02-10runtime: tighten garbage collectorRuss Cox3-62/+112
* specialize sweepspan as sweepspan0 and sweepspan1. * in sweepspan1, inline "free" to avoid expensive mlookup. R=iant CC=golang-dev http://codereview.appspot.com/206060
2010-02-10runtime: do not zero blocks on free (this time for sure!)Russ Cox1-1/+0
R=iant CC=golang-dev http://codereview.appspot.com/207054
2010-02-108l: pe executable building code changed to include import table for ↵Alex Brainman2-0/+99
kernel32.dll functions Fixes issue 586. R=rsc CC=golang-dev http://codereview.appspot.com/203060 Committer: Russ Cox <rsc@golang.org>
2010-02-10gc: fix mkopnames and color grep interactionRuss Cox1-0/+4
Fixes issue 406. R=adg CC=golang-dev http://codereview.appspot.com/207053
2010-02-10ld: unused variableRuss Cox1-1/+0
R=adg CC=golang-dev http://codereview.appspot.com/207050
2010-02-10A+C: add Alex Brainman (individual CLA)Russ Cox2-0/+2
R=adg CC=golang-dev http://codereview.appspot.com/207052
2010-02-10clean new garbage collector benchmark binariesRuss Cox1-1/+1
TBR=agl1 CC=golang-dev http://codereview.appspot.com/207055
2010-02-10math: add Exp2; 386 FPU versions of Exp2 and Log1pCharles L. Dorian7-0/+115
Added tests and benchmarks for Exp2 (special cases same as Exp). Log1p also enhances speed of inverse hyperbolics. R=rsc CC=golang-dev http://codereview.appspot.com/206058 Committer: Russ Cox <rsc@golang.org>
2010-02-10runtime: garbage collection + malloc performanceRuss Cox9-86/+131
* add bit tracking finalizer status, avoiding getfinalizer lookup * add ability to allocate uncleared memory R=iant CC=golang-dev http://codereview.appspot.com/207044
2010-02-09mime: new package, use in httpMichael Hoisie6-12/+132
R=rsc CC=golang-dev http://codereview.appspot.com/186160 Committer: Russ Cox <rsc@golang.org>
2010-02-09fix garbage benchmark Makefile.Russ Cox2-7/+5
apparently some versions of GNU make cannot handle the %: %.$O rule. i don't understand why and don't care enough to find out. R=agl1 CC=golang-dev http://codereview.appspot.com/206055
2010-02-09http: protect io.WriteString in Request/Response.Write with error checking,Petar Maymounkov2-4/+13
since they were causing a silent program exit (too many EPIPE's). R=rsc CC=golang-dev http://codereview.appspot.com/204062 Committer: Russ Cox <rsc@golang.org>
2010-02-09bug fix in 6c/8c/5c mis-alignedKen Thompson1-16/+17
function arguments. R=rsc CC=golang-dev http://codereview.appspot.com/206054
2010-02-09fix NaCl build for latest runtime changesRuss Cox2-0/+21
R=iant CC=golang-dev http://codereview.appspot.com/206052
2010-02-09runtime: fix FreeBSD buildRuss Cox1-0/+1
stab in the dark but plausible: the kernel does try to return time zone information. http://fxr.watson.org/fxr/source/kern/kern_time.c?v=FREEBSD8#L421 R=iant CC=golang-dev http://codereview.appspot.com/206053
2010-02-09dashboard: auto-update builder.sh.Russ Cox2-0/+4
avoid possibility of busy loop pounding on dashboard. R=agl1 CC=golang-dev http://codereview.appspot.com/206051
2010-02-09math: add functions Log2, Nextafter, Fdim, Fmax, FminCharles L. Dorian9-4/+206
Add functions, tests and benchmarks. Fix typos in comments in expm1 and hypot_386. Fix Acosh domain error in benchmark test. R=rsc CC=golang-dev http://codereview.appspot.com/204069 Committer: Russ Cox <rsc@golang.org>
2010-02-098a/8l: Added CMOVcc instructionsEvan Shaw3-0/+100
R=rsc CC=golang-dev http://codereview.appspot.com/204067 Committer: Russ Cox <rsc@golang.org>
2010-02-09add simple garbage collector benchmarks to dashboardRuss Cox6-15/+293
R=agl1 CC=golang-dev http://codereview.appspot.com/207043
2010-02-09make units compileFazlul Shahriar1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/206044 Committer: Russ Cox <rsc@golang.org>
2010-02-09.hgignore: ignore .gitignore (already ignoring .git)Russ Cox1-0/+4
R=agl1 CC=golang-dev http://codereview.appspot.com/206047
2010-02-08runtime: allow arbitrary return type in SetFinalizer.Russ Cox11-37/+102
finalize chan, to free OS X semaphore inside Lock. os: finalize File, to close fd. Fixes issue 503. R=ken2 CC=golang-dev http://codereview.appspot.com/204065
2010-02-08gc: fix method expression bugRuss Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/206043
2010-02-08Struct field ambiguity test.Ian Lance Taylor1-0/+28
gccgo gets this wrong at the moment. R=rsc CC=golang-dev http://codereview.appspot.com/205044
2010-02-08runtime: instrument malloc + garbage collector.Russ Cox14-2/+340
add simple garbage collection benchmark. R=iant CC=golang-dev http://codereview.appspot.com/204053
2010-02-08Fix *l/*c -V flag segfaultDean Prichard1-0/+1
*l/*c -V will segfault on macos without this trivial fix. R=adg CC=golang-dev http://codereview.appspot.com/205042 Committer: Andrew Gerrand <adg@golang.org>
2010-02-08*l/*c: add -V flag to display version numberAndrew Gerrand11-1/+50
R=rsc CC=golang-dev http://codereview.appspot.com/204044
2010-02-07testing: Fix comment typoEvan Shaw1-1/+1
R=iant, rsc CC=golang-dev http://codereview.appspot.com/204068 Committer: Ian Lance Taylor <iant@golang.org>
2010-02-07encoding/pem: add marshalling support.Adam Langley2-2/+168
R=rsc CC=golang-dev http://codereview.appspot.com/203043
2010-02-07runtime: introduce MemStatsTypeRuss Cox1-3/+5
R=ken2 CC=golang-dev http://codereview.appspot.com/204061
2010-02-06fix commentKai Backman1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/203053
2010-02-06draw.Draw fast paths for a nil mask (and RGBA dst).Nigel Tao1-0/+50
Averaged times (in microseconds) for drawing an 800x600 rectangle are listed below. The summary is: around a 100x improvement. draw.Draw call times were typically linear in the number of pixels touched (i.e. drawing an 800x600 rectangle took 100x as much time as drawing an 80x60 rectangle). Before this change, there was only the general-but-slow code path. When drawing any src with a 50%-opaque mask: 237300 us When drawing any src with a nil mask: 50100 us After this change, the 50%-opaque mask case is unchanged. For an *image.RGBA dst and nil mask and... ...a uniform color (i.e. an image.ColorImage) src: 282 us ...another *image.RGBA src: 615 us. For the curious, an intermediate implementation detected the special cases but used simple nested for loops instead of the built-in copy function. The respective times (compared to 282 and 615 for the final implementation, or 50100 for the original) were 3110 and 3573. Times were measured with 8g/8l on my laptop. I haven't tried gccgo or other architectures. R=r, rsc CC=golang-dev http://codereview.appspot.com/201048
2010-02-05Match gccgo error message.Ian Lance Taylor1-1/+1
bug251.go:11:2: error: invalid recursive interface R=rsc CC=golang-dev http://codereview.appspot.com/204052
2010-02-05Match gccgo error messages.Ian Lance Taylor1-2/+2
ddd1.go:16:10: error: argument 1 has incompatible type ddd1.go:17:10: error: argument 1 has incompatible type ddd1.go:15:10: error: floating point constant truncated to integer R=rsc CC=golang-dev http://codereview.appspot.com/204048
2010-02-05http: sort header keys when writing Response or Request to wirePetar Maymounkov2-11/+24
R=rsc CC=golang-dev http://codereview.appspot.com/203050 Committer: Russ Cox <rsc@golang.org>
2010-02-05bug in const float divideKen Thompson1-2/+15
R=rsc CC=golang-dev http://codereview.appspot.com/204042
2010-02-05math: Atan2 special cases and tests; atan2_386Charles L. Dorian5-3/+166
Added special cases, tests and benchmarks for Atan2; added 386 FPU version of Atan2. R=rsc CC=golang-dev http://codereview.appspot.com/201068 Committer: Russ Cox <rsc@golang.org>
2010-02-06Ugly hack to provide some mechanism for printing documentation aboutRob Pike2-2/+38
Go source outside $GOROOT. If the argument is a path starting with / or ., disregard $GOROOT. Also, disable the check for package name matching the directory, which is counterproductive in this case. Apologies for the violence to the code but we need some help documenting Go code outside the standard repository. R=gri CC=golang-dev http://codereview.appspot.com/201064 Committer: Rob Pike <r@golang.org>
2010-02-05dashboard: present benchmarksRuss Cox6-47/+422
* fix bug in benchmark collection: bad benchmark data key meant that all the builders collided when writing data. * report benchmarks even if make bench exits non-zero. * graphical and json presentations R=agl1 CC=golang-dev http://codereview.appspot.com/201065
2010-02-05asn1: Fixes and additions to marshallingAdam Langley6-47/+161
Marshalling: * Fixes several silly bugs. * Support the RawContents type. * Support the RawValue type. * Recurse into nested interface{}. Both directions: * Better handling of SETs. You can now tag an element in a structure with "set" to get the correct tag for serialisation. * For types that aren't in a structure, you can now name them with "SET" on the end. * SETs are no longer implicitly treated as SEQUENCEs. R=rsc CC=golang-dev http://codereview.appspot.com/201049
2010-02-05crypto/tls: typo fixAdam Langley1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/201047
2010-02-05path: make Join variadicStephen Weinberg2-16/+34
R=rsc, r CC=golang-dev http://codereview.appspot.com/198049 Committer: Russ Cox <rsc@golang.org>
2010-02-055a/6a/8a/5c/6c/8c: remove fixed-size arrays for -I and -D optionsDean Prichard9-32/+41
R=rsc CC=golang-dev http://codereview.appspot.com/198044 Committer: Russ Cox <rsc@golang.org>
2010-02-05math: special cases for Modf, Frexp and Ldexp; added Modf_386Charles L. Dorian6-26/+188
Also moved Modf from bits.go into modf.go and added timing tests. R=rsc CC=golang-dev http://codereview.appspot.com/202042 Committer: Russ Cox <rsc@golang.org>
2010-02-04Match gccgo error messages.Ian Lance Taylor8-13/+13
bug121.go:12:3: error: name list not allowed in interface type bug121.go:16:2: error: expected signature or type name semi1.go:10:76: error: unexpected semicolon or newline before ‘{’ semi1.go:10:5: error: reference to undefined name ‘x’ semi1.go:10:8: error: reference to undefined name ‘y’ semi1.go:12:3: error: reference to undefined name ‘z’ semi2.go:10:79: error: unexpected semicolon or newline before ‘{’ semi2.go:10:9: error: reference to undefined name ‘x’ semi3.go:10:79: error: unexpected semicolon or newline before ‘{’ semi3.go:10:6: error: reference to undefined name ‘x’ semi3.go:10:9: error: reference to undefined name ‘y’ semi3.go:10:12: error: reference to undefined name ‘z’ semi3.go:12:3: error: reference to undefined name ‘z’ semi4.go:11:2: error: unexpected semicolon or newline before ‘{’ semi4.go:10:6: error: reference to undefined name ‘x’ semi4.go:12:3: error: reference to undefined name ‘z’ semi5.go:10:1: error: unexpected semicolon or newline before ‘{’ semi7.go:11:2: error: unexpected semicolon or newline before ‘else’ semi7.go:10:5: error: reference to undefined name ‘x’ slice.go:9:11: error: missing lower bound in slice expression slice.go:9:9: error: reference to undefined name ‘y’ slice.go:9:12: error: reference to undefined name ‘z’ R=rsc CC=golang-dev http://codereview.appspot.com/201061
2010-02-04release.2010-02-04Andrew Gerrand0-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/202055