summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 Cox17-167/+423
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 Cox4-15/+13
(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-25Add an explicit patent grant to the Go license.Ian Lance Taylor1-0/+15
R=rsc CC=golang-dev http://codereview.appspot.com/194066
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 Wedgwood3-20/+9
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 Cox2-38/+60
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-25list awk in the dependencies needed for installationRob Pike1-2/+2
(it is installed by apt-get install gawk, I believe) Fixes issue 557. R=rsc CC=golang-dev http://codereview.appspot.com/194050
2010-01-25log.Fatal does not exist. Use log.Crash.Rob Pike1-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/193075
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-22A+C: Dean Prichard (individual CLA)Russ Cox2-0/+2
R=r CC=golang-dev http://codereview.appspot.com/186283
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-22A+C: add Firmansyah Adiputra (individual CLA)Nigel Tao2-0/+2
R=r CC=frm, golang-dev http://codereview.appspot.com/186276
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-20codereview: accommodate recent change to ui.promptRuss Cox1-2/+11
Fixes issue 525. R=r CC=golang-dev http://codereview.appspot.com/190044
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-19Add explicit locking.Ian Lance Taylor1-7/+29
Since gcco runs goroutines in independent threads, it needs locking for the global variables. This shows up when I use ordinary increments rather than locked increments for var++. R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/190074
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 Cox2-1/+4
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-19libc: add goos, goarch, goroot. fixes buildRuss Cox1-0/+4
TBR=r CC=golang-dev http://codereview.appspot.com/190059
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-18A+C: add Petar Maymounkov (individual CLA)Russ Cox2-0/+2
R=iant CC=golang-dev, petar-m http://codereview.appspot.com/189095
2010-01-18add bug246 (issue 492)Russ Cox2-0/+23
R=r CC=golang-dev http://codereview.appspot.com/186216
2010-01-18gc: bug245Russ Cox3-1/+19
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 Cox2-0/+36
Fixes issue 402. R=ken2 CC=golang-dev http://codereview.appspot.com/186214
2010-01-18gc: bug243Russ Cox2-1/+31
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-18spec: mention Inf and NaN are supported at run time.Russ Cox1-1/+11
add hyperlink at mention of package reflect. Fixes issue 438. R=r CC=golang-dev http://codereview.appspot.com/190042