aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-03release.2010-11-02weekly.2010-11-02Andrew Gerrand
R=golang-dev, gri, r2, r CC=golang-dev https://golang.org/cl/2846041
2010-11-02sync: fix typo in documentationRobert Griesemer
R=rsc, adg CC=golang-dev https://golang.org/cl/2841041
2010-11-02Fix a deadlock bug in the rpc client. The panic will triggerKai Backman
regularly when client connections are flaky (probably another issue). (credits to jussi@tinkercad.com for finding the issue) R=rsc, r CC=golang-dev, jussi https://golang.org/cl/2831042
2010-11-02netchan: fix locking bug.Rob Pike
There's no need to hold the client mutex when calling encode, since encode itself uses a mutex to make the writes atomic. However, we need to keep the messages ordered, so add a mutex for that purpose alone. Fixes #1244. R=rsc CC=golang-dev https://golang.org/cl/2833041
2010-11-02go/scanner: removed scanner/internal-only uses of token.PositionRobert Griesemer
First step towards a more light-weight implementation of token.Position: - only use token.Position for reporting token and error position - use offsets only for scanner control - no interface changes yet R=rsc CC=golang-dev https://golang.org/cl/2825041
2010-11-01Effective Go: append and a few words about ...Rob Pike
R=rsc, gri, iant CC=golang-dev https://golang.org/cl/2821041
2010-11-01test/ken/convert.go: add conversion torture testRob Pike
(written by ken) R=ken2 CC=golang-dev https://golang.org/cl/2823042
2010-11-028l: pe generation fixesAlex Brainman
Restore ability to have different file and section alignment in generated pe file. Stop generating .bss pe section, it is part of .data now. Some code refactoring. R=rsc, vcc CC=golang-dev https://golang.org/cl/2731041
2010-11-01fix buildRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2820041
2010-11-01Use strings.Contains in src/cmd/...Brad Fitzpatrick
R=r CC=golang-dev, r2, rsc https://golang.org/cl/2819041
2010-11-01go/printer: do not remove parens around composite literals starting with a ↵Robert Griesemer
type name in control clauses (even when they are nested inside an expression). Fixes #1243. R=rsc CC=golang-dev https://golang.org/cl/2817041
2010-11-01go/ast: add Inspect function for easy AST inspection w/o a visitorRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2770044
2010-11-01debug/pe, cgo: add windows supportWei Guangjing
R=rsc, mattn CC=golang-dev https://golang.org/cl/1976045
2010-11-01strings: ContainsBrad Fitzpatrick
Tiny helper to avoid strings.Index(s, sub) != -1 R=rsc, r2, r CC=golang-dev https://golang.org/cl/2265044
2010-11-01gotest: if the benchmark list is empty, print it in a way thatRob Pike
gofmt will leave alone. R=rsc, bradfitz, bradfitzpatrick CC=golang-dev https://golang.org/cl/2816041
2010-11-01syscall: SIO constants for LinuxAlbert Strasheim
R=rsc CC=golang-dev https://golang.org/cl/2303043
2010-11-01codereview: fix 'hg sync' and 'hg download' in Python 2.7Fazlul Shahriar
Fixes #1218. R=rsc CC=golang-dev https://golang.org/cl/2664041
2010-11-01testing: add Benchmark to allow benchmarks to be run without gotest.Roger Peppe
R=rsc CC=golang-dev https://golang.org/cl/2506042
2010-11-01http server: don't send trailing '0' for chunked encoding when responding ↵Michael Hoisie
with 304 NotModified R=rsc, adg CC=golang-dev https://golang.org/cl/2723041
2010-11-01build: fiddle with make variablesRuss Cox
Fixes #1234. R=r, r2 CC=golang-dev https://golang.org/cl/2735043
2010-11-01libutf: update to Unicode 5.2.0 to match pkg/unicodeAnthony Martin
R=rsc, r, PeterGo, r2 CC=golang-dev https://golang.org/cl/2753045
2010-11-016a/6l: fix MOVOU encodingEvan Shaw
The andproto field was set incorrectly, causing 6a to encode illegal instructions. R=rsc CC=golang-dev https://golang.org/cl/2781042
2010-11-01go/scanner: don't accept '\x0g' character escape (bug fix)Robert Griesemer
Added more test cases. R=rsc CC=golang-dev https://golang.org/cl/2804041
2010-10-31gob: documentation. this time for sure.Rob Pike
if the interface value is nil, it sends no value, R=rsc, adg CC=golang-dev https://golang.org/cl/2801042
2010-10-31mkrunetype: install a Makefile and tweak it slightly so it can be built.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/2813041
2010-10-31gob: update documentation about wire format for interfaces.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/2814041
2010-10-31gob: several fixes.Rob Pike
1) Be sure to use the eval-time encoder/decoder rather than the compile-time decoder. In a few cases the receiver for the compiling encoder was being pickled incorrectly into a closure. (This is the fix for issue 1238). 2) Get the innermost name right when given a pointer to an unnamed type. 3) Use a count to delineate interface values, making it possible to ignore values without having a concrete type to encode into. This is a protocol change but only for the new feature, so it shouldn't affect anyone. The old test worked because, amazingly, it depended on bug #1. Fixes #1238. R=rsc, albert.strasheim CC=golang-dev https://golang.org/cl/2806041
2010-10-30kate: update for appendEvan Shaw
R=golang-dev, PeterGo, gri CC=golang-dev https://golang.org/cl/2710044
2010-10-30pidigits: Remove TODO, minor improvementsEvan Shaw
I tried adding a Scale method to big.Int and it didn't make any noticeable difference, so I'm removing my TODO. Also got rid of a few obvious allocations that I missed earlier for a modest improvement (~5%). R=golang-dev, gri CC=golang-dev https://golang.org/cl/2711043
2010-10-30syscall: fix windows buildAlex Brainman
R=golang-dev CC=golang-dev https://golang.org/cl/2713043
2010-10-30syscall: fix Stat(path) where path is directory with trailing '/' on windowsAlex Brainman
Fixes #1220. R=rsc, r CC=golang-dev https://golang.org/cl/2728043
2010-10-30misc/bbedit: support append, other builtinsAnthony Starks
R=golang-dev, PeterGo, adg CC=golang-dev https://golang.org/cl/2791042
2010-10-30misc/vim: update list of builtins.David Symonds
R=adg CC=golang-dev https://golang.org/cl/2807041
2010-10-29gob: clarify the comments about installing the debug/dumper.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/2789043
2010-10-29gob: make the debugging (dumping) code work again. Mostly rewrite it, in fact.Rob Pike
It's still not compiled in by default. R=rsc, r2 CC=golang-dev https://golang.org/cl/2754043
2010-10-29go/scanner: added another test case, clarified some codeRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2741042
2010-10-29go spec: append is now implementedRobert Griesemer
R=r, r2 CC=golang-dev https://golang.org/cl/2717043
2010-10-28ebnf: use appendRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/2799041
2010-10-28tabwriter: use appendRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2798041
2010-10-28go/doc: use appendRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2792041
2010-10-28testing: eliminate testing/regexpRob Pike
Rather than updating the stripped-down regexp implementation embedded in testing, delete it by passing the one function we need from the package main file created by gotest. R=rsc CC=golang-dev https://golang.org/cl/2761043
2010-10-28regexp: eliminate vector in favor of append.Rob Pike
R=rsc CC=golang-dev https://golang.org/cl/2795041
2010-10-28go/printer: use appendRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2793041
2010-10-28go/typechecker: use appendRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2736044
2010-10-29container/list: document iterationAndrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/2768042
2010-10-28go/parser: use appendRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/2720042
2010-10-28godoc: bug fix (bug introduced with revision 3ee58453e961)Robert Griesemer
(thanks to Chris Dollin for identifying the cause) Fixes #1237. R=rsc CC=golang-dev https://golang.org/cl/2753043
2010-10-28test for append() built-inRobert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/2777041
2010-10-27use appendRuss Cox
R=gri, r, r2 CC=golang-dev https://golang.org/cl/2743042
2010-10-27gc: implement appendRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2757042