summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-01-19time: make tick.Stop a little more robustRuss Cox1-6/+30
R=r CC=golang-dev, jackpal http://codereview.appspot.com/186228
2010-01-19gc: const debug bool = falseRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/186232
2010-01-19compress/zlib: add example to doc commentRuss Cox1-2/+19
Fixes issue 548. R=r CC=golang-dev, graycardinalster http://codereview.appspot.com/190062
2010-01-19ld: unused variableRuss Cox1-2/+0
R=r CC=golang-dev http://codereview.appspot.com/186229
2010-01-19hash: document that Sum does not change hash stateRuss Cox9-23/+66
crypto/*: implement and test proper Sum Fixes issue 216. R=agl1 CC=golang-dev http://codereview.appspot.com/186210 Committer: Russ Cox <rsc@golang.org>
2010-01-18Significant extension to http.Response, which now adheres to thePetar Maymounkov7-96/+550
usage pattern of http.Request and paves the way to persistent connection handling. R=rsc CC=golang-dev http://codereview.appspot.com/185043 Committer: Russ Cox <rsc@golang.org>
2010-01-18build: move GOOS, GOARCH, GOROOT lookup into central library.Russ Cox4-16/+43
bake default values in during build. R=r CC=golang-dev http://codereview.appspot.com/186173
2010-01-18gc: bug245Russ Cox2-1/+3
Fixes issue 529. R=ken2 CC=golang-dev http://codereview.appspot.com/186215
2010-01-18gc: multiple return value at top-level invoked multiple timesRuss Cox1-0/+6
Fixes issue 402. R=ken2 CC=golang-dev http://codereview.appspot.com/186214
2010-01-18gc: bug243Russ Cox1-1/+3
Fixes issue 481. R=ken2 CC=golang-dev http://codereview.appspot.com/186213
2010-01-18gc: more precise handling of import .Russ Cox3-6/+12
Fixes issue 455. R=ken2 CC=golang-dev http://codereview.appspot.com/186212
2010-01-18gc: be more specific about copy type errorsRuss Cox1-2/+9
Fixes issue 539. R=ken2 CC=golang-dev http://codereview.appspot.com/190043
2010-01-18reflect: fix garbage collection bug in Call.Russ Cox1-5/+9
Fixes issue 476. R=r CC=golang-dev http://codereview.appspot.com/190041
2010-01-18net: enable UDP broadcast before it is needed (instead of after)Russ Cox2-5/+4
Fixes issue 526. R=r CC=golang-dev http://codereview.appspot.com/186211
2010-01-15Urgent parser/gofmt fix.Robert Griesemer1-1/+1
Wrong position information for identifier could lead to destructive reformatting of source via hg gofmt. R=rsc CC=golang-dev http://codereview.appspot.com/189100
2010-01-16give bufio.Writer.WriteString the same signature asRob Pike1-5/+11
bytes.Buffer.WriteString Fixes issue 535. R=rsc CC=golang-dev http://codereview.appspot.com/189096
2010-01-15Don't check array bounds if we have been told not to.Ian Lance Taylor2-2/+2
Fixes range.go test for 6g. R=rsc CC=golang-dev http://codereview.appspot.com/189093
2010-01-15template: look inside interface valuesRuss Cox2-0/+23
R=r CC=golang-dev http://codereview.appspot.com/186169
2010-01-15Use /etc/hosts when resolving names.Yves Junqueira6-2/+148
http://code.google.com/p/go/issues/detail?id=313 This conflics with Chris' patch at: http://codereview.appspot.com/181063 But I believe this is more complete since it has a simple caching and proper tests. R=cw, rsc CC=golang-dev http://codereview.appspot.com/183066 Committer: Russ Cox <rsc@golang.org>
2010-01-15 Steps towards tracking scopes for identifiers.Robert Griesemer23-247/+245
- Identifiers refer now to the language entity (Object) that they denote. At the moment this is at best an approximation. - Initial data structures for language entities (Objects) and expression types (Type) independent of the actual type notations. - Initial support for declaring and looking up identifiers. - Updated various dependent files and added support functions. - Extensively tested to avoid breakage. This is an AST change. R=rsc CC=golang-dev, rog http://codereview.appspot.com/189080
2010-01-15Implemented ExtendFront/Back functions to insert a list of elements into a list.Jan H. Hosang2-0/+81
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/181151 Committer: Russ Cox <rsc@golang.org>
2010-01-15math: special cases for HypotCharles L. Dorian2-24/+95
Added special case tests to all_test.go. Added tests to hypot.go, otherwise hangs. R=rsc CC=golang-dev http://codereview.appspot.com/186118 Committer: Russ Cox <rsc@golang.org>
2010-01-15math: 386 FPU functionsCharles L. Dorian17-0/+278
sin, cos, tan, asin, acos, atan, exp, log, log10, floor, ceil, and fabs R=rsc CC=golang-dev http://codereview.appspot.com/189083 Committer: Russ Cox <rsc@golang.org>
2010-01-15Fix s/Width/Height/ typo in draw.go.Nigel Tao1-2/+2
Fixes issue 531. R=r CC=golang-dev http://codereview.appspot.com/189078
2010-01-15fix +0000 time zones.Rob Pike2-4/+32
Fixes issue 527. R=rsc CC=golang-dev http://codereview.appspot.com/186159
2010-01-13runtime: add demo running Go on raw (emulated) hwRuss Cox18-12/+416
8l: add GOOS=pchw, stop spelling out all the elf numbers. R=r CC=golang-dev http://codereview.appspot.com/186144
2010-01-13runtime: GS already set up by setldt in Linux/386; remove duplicateDevon H. O'Dell1-3/+0
R=rsc CC=golang-dev http://codereview.appspot.com/186146 Committer: Russ Cox <rsc@golang.org>
2010-01-13runtime cleanup.Russ Cox12-66/+148
* move memory code into $GOOS-specific directory. * allow printing of static strings < 256 bytes. (dynamic strings will bump maxstring as they are allocated.) * use cgo2c for runtime.mal. R=r, dho CC=golang-dev http://codereview.appspot.com/186143
2010-01-14clean up handling of numeric time zonesRob Pike2-56/+88
allow formatting of ruby-style times. Fixes issue 518. R=rsc CC=golang-dev http://codereview.appspot.com/186119
2010-01-13cgo: Only allow numeric / string / character type constants for referencesDevon H. O'Dell1-1/+7
to #defined things. Fixes issue 520. R=rsc, rsaarelm CC=golang-dev http://codereview.appspot.com/186138 Committer: Russ Cox <rsc@golang.org>
2010-01-13Distinguish between html generation and html quoting in godoc formatters.Robert Griesemer1-0/+9
Replacement for CL 184084; originally by Roger Peppe (rogpeppe@gmail.com). R=rsc CC=golang-dev, rog http://codereview.appspot.com/189059
2010-01-13vector: drop rule for bench, now in Make.pkgRuss Cox1-3/+0
R=gri CC=golang-dev http://codereview.appspot.com/186139
2010-01-13godoc: skip template wrapping for complete HTML filesRuss Cox1-0/+22
demo at http://wreck:8080/doc/ click on go_talk-20100112.html R=gri CC=golang-dev http://codereview.appspot.com/186137
2010-01-13cgo: handle C99 bool typeDevon H. O'Dell1-1/+7
Fixes issue 307. R=rsc CC=golang-dev http://codereview.appspot.com/186073 Committer: Russ Cox <rsc@golang.org>
2010-01-13runtime: reset DF flag after running external code on 386Russ Cox1-0/+4
R=r CC=golang-dev http://codereview.appspot.com/186108
2010-01-13don't worry about the number of spaces when parsing.Rob Pike2-11/+48
allow an underscore to stand for a space or digit if the following number is >=10. R=rsc CC=golang-dev http://codereview.appspot.com/186115
2010-01-13ignore $GOARCH inside the compiler and linker.Rob Pike3-5/+3
by definition, they know what they are building for. makes it easier to switch architectures when testing. % 6g x.go % 6l x.6 % 6.out "Wed Jan 13 10:57:46 EST 2010" % 8g x.go % 8l x.8 % 8.out "Wed Jan 13 10:57:46 EST 2010" % echo $GOARCH % R=rsc CC=golang-dev http://codereview.appspot.com/186116
2010-01-13to improve the chances for compatibility, open a window of unused idsRob Pike1-0/+8
and specify a lowest id granted to users. R=rsc CC=golang-dev http://codereview.appspot.com/186081
2010-01-12Light-weight scanner for general use.Robert Griesemer4-0/+1120
Emphasis on minimal interface and fast scanning. Recognizes all Go literals by default. Easily configurable to recognize different whitespace characters and tokens. Provides detailed position information for each token. R=rsc, r CC=golang-dev http://codereview.appspot.com/181160
2010-01-12Add 'bench' target to makefiles.Adam Langley2-0/+15
R=rsc, agl, r CC=golang-dev http://codereview.appspot.com/188043
2010-01-12runtime: fix bug in preemption checks; was causing "lock count" panicsRuss Cox2-1/+3
R=r CC=golang-dev http://codereview.appspot.com/186078
2010-01-12Fix bug that prevented the gofmt test script being run on moreRoger Peppe1-2/+2
than one explicitly named file. R=rsc, gri CC=golang-dev http://codereview.appspot.com/186095 Committer: Robert Griesemer <gri@golang.org>
2010-01-11math: special cases for Ceil, Exp, Floor, Log, Log10Charles L. Dorian4-10/+108
Added special case tests to all_test.go. Added tests to Floor, in-lined tests in Exp and Log. R=rsc CC=golang-dev http://codereview.appspot.com/184081 Committer: Russ Cox <rsc@golang.org>
2010-01-11asn1: fix marshaling of structures with >1 elements.Adam Langley2-2/+13
Fixes issue 515. R=rsc CC=golang-dev http://codereview.appspot.com/184079
2010-01-11asn1: fix parsing of elements after a string in a structure.Adam Langley2-9/+8
Fixes issue 516. R=rsc CC=golang-dev, golang-dev http://codereview.appspot.com/184080
2010-01-11delete debugging printsRob Pike1-1/+0
R=rsc CC=golang-dev http://codereview.appspot.com/186079
2010-01-11delete debugging printsRob Pike1-16/+0
R=rsc CC=golang-dev http://codereview.appspot.com/186079
2010-01-11add pprof output format to prof.Rob Pike2-19/+280
amd64 linux only. R=rsc CC=golang-dev http://codereview.appspot.com/186077
2010-01-11math: special cases for FmodCharles L. Dorian2-5/+124
Added special case tests to all_test.go for Fmod. Fixed Fmod [hung for Fmod(+/-Inf, <finite>)]. Also added test for Ceil in all_test.go. R=rsc CC=golang-dev http://codereview.appspot.com/186076 Committer: Russ Cox <rsc@golang.org>
2010-01-11 cgo: Make constants #define'd in C available to Go (as consts)Devon H. O'Dell4-3/+77
Fixes issue 435 R=rsc CC=golang-dev http://codereview.appspot.com/181161 Committer: Russ Cox <rsc@golang.org>