- 22 Aug, 2011 11 commits
-
-
Marcel van Lohuizen authored
maketables.go/tables.go - Properly set combinesForward flag for JamoL and JamoV. - Fixed Printf bug. composition.go - Make insertString use the same control flow as insert. - Better Hangul and non-Hangul mixing. forminfo.go - Fixed bug in compBoundaryBefore that affected a few esoteric cases. - Buffer overflow now tested in normalize_test.go (other CL). R=r CC=golang-dev https://golang.org/cl/4924041
-
Rob Pike authored
No external changes. R=nigeltao CC=golang-dev https://golang.org/cl/4940042
-
Tarmigan Casebolt authored
R=rsc, r CC=golang-dev https://golang.org/cl/4921047
-
Jeff Hodges authored
Fixes #2171 This is the real change. R=adg CC=golang-dev, r, rsc https://golang.org/cl/4943041
-
Rob Pike authored
It was ill-conceived and can be resurrected if needed. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4930043
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4921045
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4921044
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4919044
-
Rob Pike authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4918043
-
Rob Pike authored
It's not even using vectors - the references are just examples. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4938043
-
Fazlul Shahriar authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4921041
-
- 21 Aug, 2011 3 commits
-
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4932044
-
Tarmigan Casebolt authored
R=rsc, gri CC=golang-dev https://golang.org/cl/4935046
-
Tarmigan Casebolt authored
R=adg, rsc, tarmigan+golang CC=golang-dev https://golang.org/cl/4807048
-
- 20 Aug, 2011 4 commits
-
-
Rob Pike authored
Also update the big example to the new template system. There are a number of other examples that should be extracted; this CL serves as an introduction to the approach. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4923043
-
Rob Pike authored
Trivial change: just fix the import. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4937043
-
Robert Griesemer authored
- templates should be read before any handlers are started - for app engine use, must use underlying file system to read templates R=r CC=golang-dev https://golang.org/cl/4928042
-
Robert Griesemer authored
In the process, rewrite index.go to use slices instead of vectors, rewrite for-loops into range loops, and generally simplify code (this code was written before the launch of go and showed its age). Also, fix a wrong import in appinit.go. No significant performance changes (improvements); most of time is spent elsewhere (measured on an stand- alone MacBook Pro with SSD disk, running standard godoc settings: godoc -v -http=:7777 -index). R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4875056
-
- 19 Aug, 2011 3 commits
-
-
Robert Griesemer authored
R=rsc, r CC=golang-dev https://golang.org/cl/4894057
-
Rob Pike authored
R=golang-dev, dsymonds, r CC=golang-dev, mikesamuel https://golang.org/cl/4918041
-
Alex Brainman authored
R=golang-dev CC=golang-dev https://golang.org/cl/4873058
-
- 18 Aug, 2011 15 commits
-
-
Brad Fitzpatrick authored
ParseMediaType previously documented that it always returned a non-nil map, but also documented that it returned a nil map to signal an error. That is confusing, contradictory and not Go-like. Now it returns (mediatype string, params map, os.Error). R=golang-dev, r CC=golang-dev https://golang.org/cl/4867054
-
Robert Griesemer authored
The subtle AST changes introduced with CL 4896053 broke type checking of type switches in gofix. Coming up with a correct fix will take some time. Undoing this change for now. ««« original CL description go/parser: fix type switch scoping The variable declared by a TypeSwitchGuard must be visible in each TypeCaseClause and must not conflict with other variables declared by the initial SimpleStmt of a type switch. Also: - explicitly detect type switches (as opposed to detecting regular (expression switches) and then do extra testing for type switches - fix all outstanding TODOs in parser.go R=rsc CC=golang-dev https://golang.org/cl/4896053 »»» R=rsc CC=golang-dev https://golang.org/cl/4902052
-
Robert Griesemer authored
The variable declared by a TypeSwitchGuard must be visible in each TypeCaseClause and must not conflict with other variables declared by the initial SimpleStmt of a type switch. Also: - explicitly detect type switches (as opposed to detecting regular (expression switches) and then do extra testing for type switches - fix all outstanding TODOs in parser.go R=rsc CC=golang-dev https://golang.org/cl/4896053
-
Wei Guangjing authored
R=rsc CC=golang-dev https://golang.org/cl/4825047
-
Mikio Hara authored
This CL changes both JoinGroup and LeaveGroup methods to take an interface as an argument for enabling IPv6 group address join/leave, join a group address on a specific interface. R=rsc, dave CC=golang-dev https://golang.org/cl/4815074
-
Alex Brainman authored
Allocate Defer on stack during cgo calls, as suggested by dvyukov. Also includes some comment corrections. benchmark old,ns/op new,ns/op BenchmarkCgoCall 669 330 (Intel Xeon CPU 1.80GHz * 4, Linux 386) R=dvyukov, rsc CC=golang-dev https://golang.org/cl/4910041
-
Rob Pike authored
They are used internally and do not appear in the final parse tree. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4905052
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4867060
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4914042
-
Rob Pike authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4887048
-
Rob Pike authored
I converted this program yesterday and the output is the same as it used to be, ignoring space, but the result is not the best expression of the algorithm. The old {.section Maybe} pieces are now {{with .Maybe}}, as a direct translation, but I they should be {{if .Maybe}} as the output is just a bool and there is no cascading. I have verified that the output of the program is unaffected. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4889053
-
Yasuhiro Matsumoto authored
R=golang-dev, dsymonds, jnwhiteh, n13m3y3r, gustavo CC=golang-dev https://golang.org/cl/4837051
-
Rob Pike authored
R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4907049
-
Mike Samuel authored
This defines just enough context to distinguish HTML URI attributes from parsed character data. It does not affect any public module API as I thought I would get early comment on style for defining enumerations and tables. R=rsc, r, nigeltao, r CC=golang-dev https://golang.org/cl/4906043
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/4897048
-
- 17 Aug, 2011 4 commits
-
-
Robert Griesemer authored
Use naming convention for template variables to indicate "escaped-ness" for easier reviewing. (per suggestion from bradfitz) R=bradfitz CC=golang-dev https://golang.org/cl/4914041
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/4644052
-
Russ Cox authored
The spec has defined nil chans this way for months. I'm behind. R=ken2 CC=golang-dev https://golang.org/cl/4897050
-
Russ Cox authored
The spec has defined nil maps this way for months. I'm behind. R=ken2 CC=golang-dev https://golang.org/cl/4901052
-