- 11 Jul, 2011 11 commits
-
-
Brad Fitzpatrick authored
R=dsymonds, rsc CC=golang-dev https://golang.org/cl/4689043
-
Brad Fitzpatrick authored
Wasn't actually eager closing the fds as a result of the copy/paste bug. (GC was doing it instead) R=rsc CC=golang-dev https://golang.org/cl/4671057
-
Evan Martin authored
This is allowed by the JSON spec and is shorter/easier to read. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4678046
-
Brad Fitzpatrick authored
This is the form as returned by Postgres, as well as JavaScript. I've tried and failed to find authorative docs online about the proper string serialization, if any. R=golang-dev, gri, r, r, rsc CC=golang-dev https://golang.org/cl/4650077
-
Rob Pike authored
Must keep dot and the receiver separate - variables broke that symmetry. Also clean up function invocation and rename "data" to "dot" for clarity. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4678048
-
Alex Brainman authored
Replaces "mkdir -p ..." command, as Windows mkdir command does not support -p flag. Also, is simpler and faster then launching new process. R=golang-dev, mattn.jp, adg, bradfitz, rsc CC=golang-dev https://golang.org/cl/4626087
-
Rob Pike authored
Not strictly necessary (you could achieve the same, clumsily, via with blocks) but great to have: $x.Field, $y.Method. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4678047
-
Rob Pike authored
Also explain that len(v)==0 makes v a 'zero value' in template execution. R=golang-dev, dsymonds, adg, r CC=golang-dev https://golang.org/cl/4691041
-
Rob Pike authored
We can avoid the check against empty constants (''), which UnquoteChar doesn't handle well, by leaving on the trailing quote and seeing that's all we have left at the end. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4657090
-
Rob Pike authored
Easier to implement than to justify leaving them out. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4662089
-
Rob Pike authored
Worth catching at parse time rather than execution. Plus it's really easy. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4641100
-
- 10 Jul, 2011 6 commits
-
-
Rob Pike authored
Mistakenly checked in. Fixes #2058. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4670057
-
Rob Pike authored
- suppress the print that -help is not defined. - return a special error code if -help is set - do not change behavior if an explict "help" flag is defined. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4641099
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4687041
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4675072
-
Nigel Tao authored
of the origin. image/png and image/jpeg benchmarks show no significant changes. The image/draw changes suggest to me that making a gofix for this is not feasible. People are just going to have to make manual fixes. R=r CC=golang-dev https://golang.org/cl/4681044
-
Andrew Gerrand authored
R=bradfitz, dchest, r, rsc CC=golang-dev https://golang.org/cl/4523077
-
- 09 Jul, 2011 8 commits
-
-
Evan Martin authored
R=bradfitz CC=golang-dev https://golang.org/cl/4686044
-
Brad Fitzpatrick authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4657089
-
Andrew Balholm authored
Sample code in triv.go wouldn't compile because it didn't use the new FileSystem interface. This was discussed on golang-nuts on July 7. https://groups.google.com/forum/#!topic/golang-nuts/NMhZk3Ft_Vc R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/4684044
-
Rob Pike authored
1) Make the value optional ({{template "foo"}}) 2) Allow the template identifier to be a thing of type *Template. The second makes it easy to drop templates in to a set dynamically during invocation. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4671056
-
Rob Pike authored
R=golang-dev, mikioh.mikioh, dsymonds CC=golang-dev https://golang.org/cl/4675070
-
Mikio Hara authored
R=r, gri, r CC=golang-dev https://golang.org/cl/4662085
-
Rob Pike authored
That should be it, bugs aside. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4671055
-
Rob Pike authored
Still need to do static checking of declarations during parse. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4667070
-
- 08 Jul, 2011 12 commits
-
-
Rob Pike authored
It was an ill-advised carryover from the previous template package. Also clean up function evaluation. Also add a Name method to Template. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4657088
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4671053
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4631099
-
Rob Pike authored
Variables start with'$' and are declared with ':='. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4662084
-
Rob Pike authored
Also fix a comment formatting glitch. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4672054
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4641096
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4657085
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/4664066
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/4668061
-
Andrew Gerrand authored
Includes 'sorthelpers' gofix and updates to tree. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4631098
-
David Symonds authored
R=r CC=golang-dev https://golang.org/cl/4648075
-
Brad Fitzpatrick authored
CGI.pm used to be part of the Perl core, but some distros now bundle perl-core and perl-modules separately. It's not worth depending on. R=golang-dev, mattn.jp CC=golang-dev https://golang.org/cl/4675063
-
- 07 Jul, 2011 3 commits
-
-
Nigel Tao authored
at (0, 0). Also refactor the test to use the SubImage method rather than monkeying with an image's Pix and Rect fields. R=r CC=golang-dev https://golang.org/cl/4678045
-
Adam Langley authored
It's possible to include a self-signed root certificate as an intermediate and push Verify into a loop. I already had a test for this so I thought that it was ok, but it turns out that the test was void because the Verisign root certificate doesn't contain the "IsCA" flag and so it wasn't an acceptable intermediate certificate for that reason. R=bradfitz CC=golang-dev https://golang.org/cl/4657080
-
Brad Fitzpatrick authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4672052
-