summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2010-02-04release.2010-02-04 step oneAndrew Gerrand1-0/+34
R=rsc CC=golang-dev http://codereview.appspot.com/202054
2010-02-05handle nils safely in Printf.Rob Pike2-2/+12
add some tests for erroneous formats. R=rsc CC=golang-dev http://codereview.appspot.com/201058
2010-02-04Added mingw specific build stubs.Joe Poirier3-0/+27
R=rsc CC=golang-dev http://codereview.appspot.com/198071 Committer: Russ Cox <rsc@golang.org>
2010-02-04time: Sleep through interruptionsChristopher Wedgwood2-2/+39
R=rsc CC=golang-dev http://codereview.appspot.com/202043 Committer: Russ Cox <rsc@golang.org>
2010-02-04FreeBSD: Kill only takes pid & signalChristopher Wedgwood3-8/+5
Cosmetic fix. The FreeBSD system call only takes two arguments. http://fxr.watson.org/fxr/source/kern/kern_sig.c?im=bigexcerpts#L1678 R=dho, rsc CC=golang-dev http://codereview.appspot.com/202051 Committer: Russ Cox <rsc@golang.org>
2010-02-04A+C: Joe Poirier (individual CLA)Russ Cox2-0/+2
R=adg, adg1 CC=golang-dev http://codereview.appspot.com/202044 Committer: Russ Cox <rsc@golang.org>
2010-02-046l: move mapped symbol table lower in memoryAndrew Gerrand4-8/+6
Allows binary to run on some Linux system. Fix for issue 365. R=rsc CC=golang-dev http://codereview.appspot.com/199096
2010-02-04Added Andrew Gerrand to CONTRIBUTORSAndrew Gerrand1-0/+1
R=golang-dev CC=golang-dev http://codereview.appspot.com/201041
2010-02-04In draw.Draw, separate the source-point and mask-point.Nigel Tao2-56/+66
This lets you draw text (i.e. with mask = a font image) with sources that aren't uniform colors. R=r, rsc CC=golang-dev http://codereview.appspot.com/193067
2010-02-04syscall: on freebsd, darwin, give Kill same signature as on linuxRuss Cox6-6/+12
R=r, cw CC=golang-dev http://codereview.appspot.com/201043
2010-02-04Add named colors (e.g. image.Blue), suitable for exp/draw.Nigel Tao2-0/+51
R=r, rsc CC=golang-dev http://codereview.appspot.com/198066
2010-02-04http: use ChunkWriter in Request.WritePetar Maymounkov1-27/+15
R=rsc CC=golang-dev http://codereview.appspot.com/196079 Committer: Russ Cox <rsc@golang.org>
2010-02-03os/signal: send SIGCHLDs to IncomingChristopher Wedgwood3-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/199082 Committer: Russ Cox <rsc@golang.org>
2010-02-03search for runtime.a in the package path instead of hardcodingKai Backman4-22/+33
the location. remove last remnants of broken -l flag. R=rsc CC=golang-dev http://codereview.appspot.com/201042
2010-02-03arm: toss make-arm.bashRuss Cox3-99/+7
R=kaib CC=golang-dev http://codereview.appspot.com/199094
2010-02-04Add RFC822 formats as named constants.Rob Pike3-5/+38
Make sure to print a time zone when formatting even if none is defined. Add a comment introducing lookupTimezone (not lookupTimeZone). Fixes isse 577. R=rsc CC=golang-dev http://codereview.appspot.com/196090
2010-02-03add apple's .DS_Store to ignored listRob Pike1-0/+1
R=rsc CC=golang-dev http://codereview.appspot.com/198102
2010-02-03debug/gosym: fix test for new 6lRuss Cox1-1/+1
TBR=r CC=golang-dev http://codereview.appspot.com/199091