summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-01-25salvaging 183105 from dead clientKai Backman3-8/+9
a number of fixes for arm elf generation in 5l. -T now works as advertised, -D now works properly. R=rsc CC=golang-dev http://codereview.appspot.com/194076
2010-01-25in C and asm, replace pkg·name with ·nameRuss Cox64-416/+416
(eliminate assumption of package global name space, make code easier to move between packages). R=r CC=golang-dev http://codereview.appspot.com/194072
2010-01-25xml: add Escape, copied from template.HTMLEscape.Stephen Weinberg1-0/+35
R=rsc CC=golang-dev http://codereview.appspot.com/186282 Committer: Russ Cox <rsc@golang.org>
2010-01-25http: make Request.Body an io.ReadCloser, matching Response.Body.Petar Maymounkov4-16/+19
R=rsc, rsc1 CC=golang-dev http://codereview.appspot.com/194046 Committer: Russ Cox <rsc@golang.org>
2010-01-25ld: typoRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/194073
2010-01-25cc: correct handling of leading ·Russ Cox2-9/+11
R=ken2 CC=golang-dev http://codereview.appspot.com/193081 Committer: Russ Cox <rsc@golang.org>
2010-01-25eliminate package global name spaceRuss Cox3-13/+17
R=ken2 CC=golang-dev http://codereview.appspot.com/194071
2010-01-25runtime, type switch: eliminate package global name space assumptionRuss Cox10-166/+203
bonus: type switch now detects multiple uses of identical interface types. bonus: interface types are now order-independent, following the spec. R=ken2 CC=golang-dev http://codereview.appspot.com/194053
2010-01-255l, 6l, 8l: accept only one object fileRuss Cox3-14/+12
(package main; others are pulled in automatically) R=ken2 CC=golang-dev http://codereview.appspot.com/194069
2010-01-25steps towards a simplified parser interfaceRobert Griesemer2-12/+30
minor cleanups (which I did at home before but missed this morning at work) R=rsc CC=golang-dev http://codereview.appspot.com/193095
2010-01-25net: parse aliases in /etc/hosts correctlyAndrey Mirtchovski3-3/+13
Previous behaviour only picked the first entry (official hostname) but not the aliases. R=rsc CC=golang-dev http://codereview.appspot.com/193092 Committer: Russ Cox <rsc@golang.org>
2010-01-25A <- token in an expression may introduce a channel type.Robert Griesemer2-2/+17
Fixes issue 530. R=rsc CC=golang-dev http://codereview.appspot.com/193091
2010-01-25Scoping snapshot.Robert Griesemer2-74/+134
- separate parsing from declaration - setup of correct scopes R=rsc CC=golang-dev http://codereview.appspot.com/189098
2010-01-25ld: do not load the same object file multiple times.Russ Cox4-3/+27
eliminates spurious multiple initialization errors. give more information in the multiple init errors that remain. Fixes issue 87. R=r CC=golang-dev http://codereview.appspot.com/194052
2010-01-25Remove top-level (src/) Makefile.Christopher Wedgwood2-18/+7
R=rsc, dho, r CC=golang-dev http://codereview.appspot.com/194045 Committer: Russ Cox <rsc@golang.org>
2010-01-24gc: record full package paths in runtime type dataRuss Cox7-11/+67
detect compilation of special package runtime with compiler flag instead of package name. R=ken2 CC=golang-dev http://codereview.appspot.com/193080
2010-01-24gc: bug247, reported by robRuss Cox1-38/+40
R=ken2 CC=golang-dev http://codereview.appspot.com/194051
2010-01-24gc: cut some dead code, fix 6g -S outputRuss Cox4-54/+11
R=ken2 CC=golang-dev http://codereview.appspot.com/193079
2010-01-22eliminate the package global name space assumption in object filesRuss Cox37-422/+673
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2010-01-225a/6a/8a: avoid fixed-sized file name bufferDean Prichard5-3/+8
R=rsc CC=golang-dev http://codereview.appspot.com/186279 Committer: Russ Cox <rsc@golang.org>
2010-01-22gc: do not build builtin.c automatically; use golden copy instead.Russ Cox4-17/+17
R=r CC=golang-dev http://codereview.appspot.com/190104 Committer: Russ Cox <rsc@golang.org>
2010-01-22typoRuss Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/190103
2010-01-22Fix build: add new file to Makefile.Ian Lance Taylor1-0/+1
TBR=frm.adiputra CC=golang-dev http://codereview.appspot.com/193055
2010-01-22Add authentication.Firmansyah Adiputra2-32/+208
Other code fixing: - Fixed bugs in get32. - Fix code for parsing display string (as a new function). - Fix code for connecting to X server. The old code only work if the server is listening to TCP port, otherwise it doesn't work (at least in my PC). R=nigeltao_golang, rsc, jhh CC=golang-dev http://codereview.appspot.com/183111 Committer: Nigel Tao <nigeltao@golang.org>
2010-01-22Trim space on input to make searching more robust.Christopher Wedgwood1-1/+1
R=rsc, r, gri CC=golang-dev http://codereview.appspot.com/186255 Committer: Rob Pike <r@golang.org>
2010-01-20part 2 of sudoaddable optimizationKen Thompson1-17/+42
R=rsc CC=golang-dev http://codereview.appspot.com/190088
2010-01-19cleanup toward eliminating package global name spaceRuss Cox19-192/+228
* switch to real dot (.) instead of center dot (·) everywhere in object files. before it was half and half depending on where in the name it appeared. * in 6c/6a/etc identifiers, · can still be used but turns into . immediately. * in export metadata, replace package identifiers with quoted strings (still package names, not paths). R=ken2, r CC=golang-dev http://codereview.appspot.com/190076
2010-01-19runtime: wait to allocate mach semaphores backing Locks until neededRuss Cox1-12/+18
need better management of mach semaphores eventually but this avoids allocating them for uncontended Locks. R=r CC=agl1, golang-dev http://codereview.appspot.com/190079
2010-01-19start of better addressing ofKen Thompson1-8/+32
arrays/slices in structures R=rsc CC=golang-dev http://codereview.appspot.com/190077
2010-01-20first part of networked channels.Rob Pike5-0/+486
limitations: poor error handling teardown not done exporter must send, importer must receive testing is rudimentary at best R=rsc CC=golang-dev http://codereview.appspot.com/186234
2010-01-19http: handle old HTTP/1.0 unchunked "read to EOF" bodies.Russ Cox2-10/+186
Was trying to interpret raw body as chunked body. Add test for ReadResponse. Fixes issue 544. R=r, petar-m CC=golang-dev, shadowice http://codereview.appspot.com/190068
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>