aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-09release.2010-06-09weekly.2010-06-09Andrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/1644041
2010-06-09gc: more cleanupRuss Cox
* disallow surrogate pair runes. * diagnose impossible type assertions * eliminate another static buffer. * do not overflow lexbuf. * add -u flag to disable package unsafe. R=ken2 CC=golang-dev https://golang.org/cl/1619042
2010-06-08fix build: invalid character literalsRuss Cox
R=r CC=golang-dev https://golang.org/cl/1631041
2010-06-08gc: new typechecking rulesRuss Cox
* Code for assignment, conversions now mirrors spec. * Changed some snprint -> smprint. * Renamed runtime functions to separate interface conversions from type assertions: convT2I, assertI2T, etc. * Correct checking of \U sequences. Fixes #840. Fixes #830. Fixes #778. R=ken2 CC=golang-dev https://golang.org/cl/1303042
2010-06-08misc cleanup: gofmt + &x -> x[0:] conversionRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1620042
2010-06-08go/printer: deleted dead codeRobert Griesemer
(remains of the semicolon conversion) R=rsc CC=golang-dev https://golang.org/cl/1623041
2010-06-08gofmt: update test script so it can run to completion againRobert Griesemer
R=rsc CC=golang-dev https://golang.org/cl/1621041
2010-06-08go/parser: correct position of empty statement ';'Robert Griesemer
(caused certain files to not be idempotent under gofmt) - corrected golden files for go/printer - slightly simplified some code in nodes.go (no impact on formatting) - these changes have no impact on gofmt output of .go files under src, misc fallthrough statement considered harmful! R=rsc CC=golang-dev https://golang.org/cl/1593042
2010-06-08fix buildRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1616041
2010-06-08doc: add Google I/O talk and programsRuss Cox
R=r CC=golang-dev https://golang.org/cl/1614041
2010-06-08bug284: make conversion legal, fix error patternsRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1612041
2010-06-08bug285: delete invalid map assignmentRuss Cox
*T2 implements I2, but T2 does not. R=gri CC=golang-dev https://golang.org/cl/1613041
2010-06-07gc: better error message when ~ operator is foundRobert Griesemer
Fixes #844. R=ken2, rsc, ken3 CC=golang-dev https://golang.org/cl/1593041
2010-06-07gc: backslash newline is not a legal escape sequence in stringsRobert Griesemer
Fixes #827. R=ken2 CC=golang-dev, rsc https://golang.org/cl/1592041
2010-06-07go spec: rename "assignment compatible" -> "assignable"Robert Griesemer
R=r, rsc CC=golang-dev https://golang.org/cl/1590041
2010-06-08http: add Head function for making HTTP HEAD requestsAndrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/1581041
2010-06-07go spec: clean-up and consolidation of spec with implementationRobert Griesemer
Specifically: - introduced notion of "underlying type" - removed notion of type compatibility - consolidated rules about assignment compatibility in assignment compatibility section - be consistent with specyfing that nil is the value for uninitialized variables that can be nil (this was not specified clearly for pointers, functions, interfaces) - added/fixed various related links throughout - clarify language on conversions R=rsc, r, iant, ken2 CC=golang-dev https://golang.org/cl/1536041
2010-06-07runtime: finish pchw -> tiny, added gettime for tinyDaniel Theophanes
R=rsc CC=golang-dev https://golang.org/cl/1514041
2010-06-07A+C: add Daniel Theophanes (individual CLA)Russ Cox
R=r CC=golang-dev https://golang.org/cl/1535041
2010-06-06http: fix erroneous commentAndrew Gerrand
R=r CC=golang-dev https://golang.org/cl/1539042
2010-06-05tutorial: fix one-word mistake in echo exampleRob Pike
R=rsc, iant CC=golang-dev https://golang.org/cl/1567041
2010-06-04HTML5 parser test data from WebKit.Nigel Tao
R=rsc CC=golang-dev https://golang.org/cl/1559041
2010-06-04Fixes #836.Nigel Tao
R=gri CC=golang-dev https://golang.org/cl/1548042
2010-06-03draw.Draw fast paths for the Over operator.Nigel Tao
Time (us) to draw a 200x200 src onto an image.RGBA dst with the Over operator. Each case was measured three separate times, and the sorted times are reported. Fill case (where src is an image.ColorImage): Before: 7438, 7511, 7526 After: 3073, 3087, 3102 Copy case (where src is an image.RGBA): Before: 9506, 9510, 9563 After: 5262, 5300, 5344 R=rsc CC=golang-dev https://golang.org/cl/1532041
2010-06-03Add Opaque method to the image types.Nigel Tao
R=rsc CC=golang-dev https://golang.org/cl/1533041
2010-06-03fmt.Scan: %cRob Pike
R=rsc CC=golang-dev https://golang.org/cl/1518042
2010-06-03go spec: Base comparison compatibility on assignment compatibility.Robert Griesemer
Specifically: - Simplified definition of comparison compatibility and folded into section on comparison operators since it's only used there. This is a small language change/cleanup. As a consequence: - An interface value may now be compared against a non-interface value. - Channels with opposite directions cannot be compared directly anymore (per discussion with rsc). R=rsc, r, iant, ken2 CC=golang-dev https://golang.org/cl/1462041
2010-06-03io/ioutil: add TempFileRuss Cox
R=r CC=golang-dev https://golang.org/cl/1472042
2010-06-03Added regex-dna-parallel.go, a pretty trivial parallelization.Kyle Consalus
R=rsc, r CC=golang-dev https://golang.org/cl/972046
2010-06-03http: handle status 304 correctlyRuss Cox
- cannot send body - should not send body-related headers R=r CC=golang-dev https://golang.org/cl/1499041
2010-06-03fmt.Scan: field widthsRob Pike
Also fix an interface bug: white-space-delimited doesn't work well for cases like "%d, %d" on "23, 23") R=rsc CC=golang-dev https://golang.org/cl/1502041
2010-06-03math: fix typo in Exp2 benchmarkCharles L. Dorian
Was timing Exp, not Exp2. R=rsc, r CC=golang-dev https://golang.org/cl/1521042
2010-06-03bug285: assignment compatible map keys must be acceptedRobert Griesemer
R=r CC=golang-dev https://golang.org/cl/1473042
2010-06-03netchan: fix typo in testRob Pike
R=rsc CC=golang-dev https://golang.org/cl/1522041
2010-06-03Fix typo in xml comments.Nigel Tao
R=rsc CC=golang-dev https://golang.org/cl/1503041
2010-06-02 Optimization to regexp _CharClass: keep track of overall range ofKyle Consalus
charclass to avoid unnecessarily iterating over ranges. Also, use the fact that IntVector is an []int to avoid method calls. On my machine, this brings us from ~27500 ns/op to ~17500 ns/op in the benchmark I've added (it is also faster in the case where a range check doesn't help, added a benchmark for this too.) I'd also like to propose that "[]", and "[^]" be disallowed. They aren't useful as far as I can tell, they aren't widely supported, and they make reasoning about character classes a bit more complicated. R=r CC=golang-dev https://golang.org/cl/1495041
2010-06-02math: Pow special cases (signed zero, IEEE 754-2008)Charles L. Dorian
Also added more tests for acosh, hypot, log, log10, log2 in all_test.go. R=rsc CC=golang-dev https://golang.org/cl/1417041
2010-06-02doc: codereview + Mercurial QueuesPeter Williams
R=rsc, r CC=golang-dev https://golang.org/cl/1238044
2010-06-02fmt.Scan: scan []byte argumentsRob Pike
R=rsc CC=golang-dev https://golang.org/cl/1486041
2010-06-02bufio: change ReadSlice to match descriptionRuss Cox
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 https://golang.org/cl/1480041
2010-06-02fmt.Scanf: implement formats, provide Sscanf (strings)Rob Pike
- provide convenience functions for scanning strings - enable Scanf etc. - update doc comments R=rsc CC=golang-dev https://golang.org/cl/1451044
2010-06-02big: fix spelling of EuclideanRuss Cox
R=gri CC=golang-dev https://golang.org/cl/1372042
2010-06-02bug284: additional conversion test caseRobert Griesemer
R=r, iant CC=golang-dev https://golang.org/cl/1433042
2010-06-02bug284: test cases for new conversion rulesRobert Griesemer
R=rsc, r, iant CC=golang-dev https://golang.org/cl/1465041
2010-06-02A+C: added Daniel FleischmanAndrew Gerrand
R=rsc CC=golang-dev https://golang.org/cl/1475041
2010-06-01fmt.Scan: renamings, strings, errorsRob Pike
- 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 https://golang.org/cl/1458041
2010-06-01fmt.Scan: renamings, strings, errorsRob Pike
- 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 https://golang.org/cl/1458041
2010-06-01gc: fix export of complex typesRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/1442042
2010-06-01big: bug fix for Quo aliasing problemRobert Griesemer
Fixes #820. R=rsc CC=golang-dev https://golang.org/cl/1453041
2010-06-01goinstall: Use 'git pull' instead of 'git checkout' when updating a git repo.Michael Hoisie
R=rsc CC=golang-dev https://golang.org/cl/1395041