summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-02bufio: change ReadSlice to match descriptionRuss Cox2-15/+17
On error, ReadSlice is defined to return the available data and advance past that data, but it was not behaving that way for err == ErrBufferFull, making it harder for callers to handle well. R=r CC=golang-dev http://codereview.appspot.com/1480041
2010-06-02fmt.Scanf: implement formats, provide Sscanf (strings)Rob Pike3-56/+173
- provide convenience functions for scanning strings - enable Scanf etc. - update doc comments R=rsc CC=golang-dev http://codereview.appspot.com/1451044
2010-06-02big: fix spelling of EuclideanRuss Cox1-2/+2
R=gri CC=golang-dev http://codereview.appspot.com/1372042
2010-06-02bug284: additional conversion test caseRobert Griesemer2-4/+13
R=r, iant CC=golang-dev http://codereview.appspot.com/1433042
2010-06-02bug284: test cases for new conversion rulesRobert Griesemer2-0/+218
R=rsc, r, iant CC=golang-dev http://codereview.appspot.com/1465041
2010-06-02A+C: added Daniel FleischmanAndrew Gerrand2-0/+2
R=rsc CC=golang-dev http://codereview.appspot.com/1475041
2010-06-01fmt.Scan: renamings, strings, errorsRob Pike1-1/+1
- implement scanning for all renamed types (compiler bug stops complex from being renamable, so it can't be tested but the code is there) - %q %x for strings - error handling now done with panic/recover R=rsc CC=golang-dev http://codereview.appspot.com/1458041
2010-06-01fmt.Scan: renamings, strings, errorsRob Pike2-192/+409
- implement scanning for all renamed types (compiler bug stops complex from being renamable, so it can't be tested but the code is there) - %q %x for strings - error handling now done with panic/recover R=rsc CC=golang-dev http://codereview.appspot.com/1458041
2010-06-01gc: fix export of complex typesRuss Cox1-0/+3
R=ken2 CC=golang-dev http://codereview.appspot.com/1442042
2010-06-01big: bug fix for Quo aliasing problemRobert Griesemer2-3/+31
Fixes issue 820. R=rsc CC=golang-dev http://codereview.appspot.com/1453041
2010-06-01goinstall: Use 'git pull' instead of 'git checkout' when updating a git repo.Michael Hoisie1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1395041 Committer: Russ Cox <rsc@golang.org>
2010-06-01runtime: Fix printing -InfEvan Shaw1-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/1258044 Committer: Russ Cox <rsc@golang.org>
2010-06-01 Correct the regexp for finding unix signal names.Vinu Rajashekhar1-1/+1
For example, earlier, the regexp would accept SIGQUEUE_MAX as a unix signal with name SIGQUEUE. Now it is ignored. R=iant CC=golang-dev, golang-nuts, joel.sherrill http://codereview.appspot.com/1452041 Committer: Ian Lance Taylor <iant@golang.org>
2010-06-01Add Vinu Rajashekhar <vinutheraj@gmail.com> as a contributor.Ian Lance Taylor2-0/+2
R=adg CC=golang-dev http://codereview.appspot.com/1454041
2010-06-01doc/code.html: fix error string formatAndrew Gerrand1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1444041
2010-06-01edit simple typosJoe Poirier2-6/+6
R=golang-dev, adg CC=golang-dev, rsc http://codereview.appspot.com/1426042 Committer: Andrew Gerrand <adg@golang.org>
2010-05-31Fix typo in gob docs. They were introduced in revision 3199778bafNigel Tao1-5/+5
"change the encoding of uints...". R=r CC=golang-dev http://codereview.appspot.com/1436041
2010-05-31vector: undo changes to autogenerated filesFazlul Shahriar7-42/+50
Also, move Do() to vector.go, so that Do() for IntVector and StringVector is autogenerated. The only files edited are Makefile, defs.go, and vector.go. The rest are autogenerated with "make generate". R=r CC=golang-dev, hoisie http://codereview.appspot.com/1435041 Committer: Rob Pike <r@golang.org>
2010-05-31fmt: fix end-of-array error in parsenum.Rob Pike2-8/+5
Fixes issue 821. R=rsc CC=golang-dev http://codereview.appspot.com/1434041
2010-05-31IntVector.Do now takes an f(int), and StringVector.Do now takes an f(string).Michael Hoisie3-23/+17
R=r CC=golang-dev http://codereview.appspot.com/1433041 Committer: Rob Pike <r@golang.org>
2010-05-31fmt.Scan: refactor the implementation so format-driven and normal scanning ↵Rob Pike2-160/+100
use the same function. simplifies the code significantly. Still TODO: - proper format handling - strings R=rsc CC=golang-dev http://codereview.appspot.com/1432041
2010-05-31fmt.Scan:Rob Pike2-154/+436
- reimplement integer scanning to handle renamed basic integer types - start implementation of Fscanf and Scanf; not yet ready for general use. This intermediate CL is a useful checkpoint. A similar change needs to be done for float and complex, but it seemed worth getting the approach reviewed before making those changes. R=rsc CC=golang-dev http://codereview.appspot.com/1418041
2010-05-31implement os.FileInfo.*time_ns for windowsAlex Brainman4-13/+17
R=golang-dev, adg CC=golang-dev http://codereview.appspot.com/1145044 Committer: Andrew Gerrand <adg@golang.org>
2010-05-30Correct _cgo_free when C ABI does not pass first arg on stack.Ian Lance Taylor2-2/+13
It turns out that _cgo_malloc is used, via cmalloc in runtime/cgocall.c, which is called by code generated by out.go for the ·_C_CString function. I can't find a call to _cgo_free, but given _cgo_malloc we might as well keep _cgo_free. This patch fixes it so that it should work on amd64. R=rsc CC=golang-dev http://codereview.appspot.com/1399041
2010-05-31net: fix typoAndrew Gerrand1-1/+1
Fixes issue 819. R=rsc CC=golang-dev http://codereview.appspot.com/1421041
2010-05-30doc/code: example package with testsAndrew Gerrand1-0/+85
R=r CC=golang-dev http://codereview.appspot.com/1404041
2010-05-28netchan: improve closing and shutdown. there's still more to do.Rob Pike3-7/+45
Fixes issue 805. R=rsc CC=golang-dev http://codereview.appspot.com/1400041
2010-05-28go spec: change def. of "type compatibility" to be non-recursiveRobert Griesemer1-28/+38
and adjust conversion rules. Also: - clarification of type identity (no language change) - adjust special rules for channel assignment/comparison to require identical element types (in correspondence to non- recursiveness of type compatibility) R=rsc, iant, ken2, r CC=golang-dev http://codereview.appspot.com/1376042
2010-05-28Make image.Color.RGBA return 16 bit color instead of 32 bit color.Nigel Tao8-108/+41
R=rsc CC=golang-dev http://codereview.appspot.com/1388041
2010-05-28syscall: windows SysAlloc should use stdcall_raw not syscallAlex Brainman1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1382041 Committer: Russ Cox <rsc@golang.org>
2010-05-28syscall: windows syscall trace to assist debuggingAlex Brainman1-0/+7
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/1383041 Committer: Russ Cox <rsc@golang.org>
2010-05-28fmt.Scan: add Fscan and Fscanln and make Scan and ScanlnRob Pike3-12/+48
read from standard input. Add description of scanning to the package comment. R=rsc CC=golang-dev http://codereview.appspot.com/1390041
2010-05-27go spec: Disallow &a notation to obtain a sliceRobert Griesemer1-7/+1
from an array; one needs to write a[0:] instead. R=rsc, r, iant, ken2 CC=golang-dev http://codereview.appspot.com/1365041
2010-05-27Add Rectangle.Eq and Point.In.Roger Peppe1-0/+14
Fix Rectangle.Clip. It could return a non-canonical rectangle if its arguments did not overlap. e.g. Rect(0, 0, 10, 10).Clip(Rect(0, 20, 10, 30)) -> Rect(0, 20, 10, 10) R=rsc, r CC=golang-dev, golang-dev http://codereview.appspot.com/1290041 Committer: Rob Pike <r@golang.org>
2010-05-27release.2010-05-27 tagAndrew Gerrand0-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1363041
2010-05-27release.2010-05-27Andrew Gerrand1-0/+68
R=r, rsc CC=golang-dev http://codereview.appspot.com/1354041
2010-05-27golang.org: added Resources page, re-organized left hand panel.Andrew Gerrand2-10/+156
R=r CC=golang-dev http://codereview.appspot.com/1309045
2010-05-27changes &x -> x[0:] for array to slice conversionRuss Cox46-95/+95
R=gri CC=golang-dev http://codereview.appspot.com/1326042
2010-05-26fmt.Scan: custom formattersRob Pike1-11/+11
R=rsc CC=golang-dev http://codereview.appspot.com/1315042
2010-05-26fmt.Scan: custom formattersRob Pike2-16/+76
R=rsc CC=golang-dev http://codereview.appspot.com/1315042
2010-05-26godoc: collect package comments from all package files, not just the first ↵Robert Griesemer1-6/+23
one found R=r CC=golang-dev http://codereview.appspot.com/1331041
2010-05-26big: add ModInverse.Adam Langley2-0/+41
ModInverse is just a small wrapper around GcdInt, but it's nice to have in order to be clear about what one is doing in other code. R=gri, agl1 CC=golang-dev http://codereview.appspot.com/1244045
2010-05-26fmt: fix 386 build. error strings differ for overflow on 386.Rob Pike1-1/+3
R=gri CC=golang-dev http://codereview.appspot.com/1316042
2010-05-25fmt.Scan, fmt.Scanln: Start of a simple scanning API in the fmt package.Rob Pike3-0/+595
Still to do: - composite types - user-defined scanners - format-driven scanning The package comment will be updated when more of the functionality is in place. R=rsc CC=golang-dev http://codereview.appspot.com/1252045
2010-05-25spec: Fix link to fallthrough statementsEvan Shaw1-1/+1
R=golang-dev, gri CC=golang-dev http://codereview.appspot.com/1303041 Committer: Robert Griesemer <gri@golang.org>
2010-05-25godashboard: change behaviour of top buttonAndrew Gerrand1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/1253046
2010-05-24go spec: minor fix, to match conversion rules 4 and 5Robert Griesemer1-1/+2
R=rsc CC=golang-dev http://codereview.appspot.com/1270042 Committer: Robert Griesemer <gri@golang.org>
2010-05-24Optimize exp/draw/x11 flusher inner loop.Nigel Tao1-6/+6
On my laptop, time to prepare and write 800x600 pixels over the socket falls from 125-ish ms to 80-ish ms. Thanks to Roger Peppe for the suggestion. R=r CC=golang-dev http://codereview.appspot.com/1228044
2010-05-248g: out of register bugRuss Cox2-4/+27
Fixes issue 806. R=ken2 CC=golang-dev http://codereview.appspot.com/1281042
2010-05-24gc: more accurate error descriptionRuss Cox3-4/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/1284041