An error occurred fetching the project authors.
- 02 Dec, 2010 1 commit
-
-
Rob Pike authored
Before one could say {field} or {field|formatter} Now one can also say {field1 field2 field3} or {field1 field2 field3|formatter} and the fields are passed as successive arguments to the formatter, analogous to fmt.Print. R=rsc, gri CC=golang-dev https://golang.org/cl/3385041
-
- 01 Dec, 2010 1 commit
-
-
Rob Pike authored
Make them more like Printf, with a ... final argument. This breaks code with existing formatters but not the templates that use them. R=rsc, gri CC=golang-dev https://golang.org/cl/3378041
-
- 27 Aug, 2010 1 commit
-
-
Rob Pike authored
Rewrite the code to express the intention more clearly. Fixes #1042. R=rsc CC=golang-dev https://golang.org/cl/2011046
-
- 17 Aug, 2010 1 commit
-
-
Roger Peppe authored
preceded by white space parse correctly. R=r CC=golang-dev https://golang.org/cl/2010041
-
- 16 Aug, 2010 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1985042
-
- 11 Aug, 2010 1 commit
-
-
Scott Lawrence authored
Fixes #971. Parse/ParseFile methods of Template now match template.Parse and .ParseFile methods. Also made tests being run on Parse and ParseFile be run on Template.ParseFile as well. R=r CC=golang-dev https://golang.org/cl/1741059
-
- 26 Apr, 2010 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/982043
-
- 21 Apr, 2010 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/953041
-
- 18 Mar, 2010 1 commit
-
-
Andrew Gerrand authored
into a string of decimal numbers. R=r, rsc CC=golang-dev https://golang.org/cl/624041
-
- 10 Mar, 2010 1 commit
-
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/391041
-
- 02 Mar, 2010 1 commit
-
-
Robert Griesemer authored
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev https://golang.org/cl/223076
-
- 26 Feb, 2010 2 commits
-
-
Micah Stetson authored
Adds tests and fixes for two cases that fail with the current release. R=golang-dev, r CC=golang-dev https://golang.org/cl/217115
-
Russ Cox authored
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev https://golang.org/cl/224062
-
- 24 Feb, 2010 1 commit
-
-
Robert Griesemer authored
- add extra test cases to go/printer tests - apply gofmt to src and misc R=rsc CC=golang-dev https://golang.org/cl/223041
-
- 15 Jan, 2010 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/186169
-
- 08 Jan, 2010 1 commit
-
-
Rob Pike authored
Fixes #501. R=rsc CC=golang-dev https://golang.org/cl/181183
-
- 23 Dec, 2009 1 commit
-
-
Rob Pike authored
Fixes #309. R=rsc CC=golang-dev https://golang.org/cl/181044
-
- 16 Dec, 2009 1 commit
-
-
Rob Pike authored
Fixes #389. R=rsc CC=golang-dev https://golang.org/cl/180061
-
- 15 Dec, 2009 1 commit
-
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 5th and last set of files. R=rsc CC=golang-dev https://golang.org/cl/180050
-
- 10 Dec, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc https://golang.org/cl/172041
-
- 30 Nov, 2009 1 commit
-
-
Russ Cox authored
* diagnose template not created with New (current code just crashes) * write []byte uninterpreted (current code writes fmt format: "[65 65 65 65]") R=r CC=golang-dev https://golang.org/cl/161075
-
- 24 Nov, 2009 1 commit
-
-
Robert Griesemer authored
- removed New(len int) in favor of new(Vector).Resize(len, cap) - removed Init(len int) in favor of Resize(len, cap) - runs all.bash Fixes #294. R=rsc, r, r1 https://golang.org/cl/157143
-
- 20 Nov, 2009 1 commit
-
-
James Meneghello authored
Allows the developer to pass a map either by itself for evaluation, or inside a struct. Access to data inside maps is identical to the current system for structs, ie. -Psuedocode- mp map[string]string = { "header" : "A fantastic header!", "footer" : "A not-so-fantastic footer!", } template.Execute(mp) ...can be accessed using {header} and {footer} in the template. Similarly, for maps inside structs: type s struct { mp map[string]string, } s1 = new s s1.mp["header"] = "A fantastic header!"; template.Execute(s1) ...is accessed using {mp.header}. Multi-maps, ie. map[string](map[string]string) and maps of structs containing more maps are unsupported, but then, I'm not even sure if that's supported by the language. Map elements can be of any type that can be written by the formatters. Keys should really only be strings. Fixes #259. R=r, rsc https://golang.org/cl/157088
-
- 10 Nov, 2009 1 commit
-
-
Robert Griesemer authored
rsc's algorithm - applied gofmt -w misc src - partial CL (last chunk) R=rsc, r http://go/go-review/1024041
-
- 09 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=rsc, r http://go/go-review/1025029
-
- 06 Nov, 2009 1 commit
-
-
Robert Griesemer authored
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
-
- 05 Nov, 2009 1 commit
-
-
Robert Griesemer authored
R=r http://go/go-review/1018064
-
- 03 Nov, 2009 1 commit
-
-
Rob Pike authored
R=gri http://go/go-review/1017014
-
- 28 Oct, 2009 1 commit
-
-
Russ Cox authored
R=gri http://go/go-review/1015011
-
- 08 Oct, 2009 1 commit
-
-
Russ Cox authored
R=gri OCL=35485 CL=35488
-
- 18 Sep, 2009 1 commit
-
-
Rob Pike authored
use strings.Buffer instead of bytes.Buffer in some places R=rsc DELTA=40 (0 added, 3 deleted, 37 changed) OCL=34770 CL=34775
-
- 17 Sep, 2009 1 commit
-
-
Russ Cox authored
R=r OCL=34731 CL=34731
-
- 16 Sep, 2009 1 commit
-
-
Rob Pike authored
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701
-
- 15 Sep, 2009 1 commit
-
-
Russ Cox authored
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
-
- 01 Sep, 2009 1 commit
-
-
Russ Cox authored
* do full lookup for {.section}, so that it is always allowed to replace {Foo} with {.section Foo}{@}{.end} * treat False as empty so that .section can be used to test bools R=r DELTA=29 (21 added, 0 deleted, 8 changed) OCL=34215 CL=34219
-
- 30 Aug, 2009 1 commit
-
-
David Symonds authored
R=r APPROVED=r DELTA=13 (11 added, 0 deleted, 2 changed) OCL=34081 CL=34081
-
- 27 Aug, 2009 1 commit
-
-
David Symonds authored
R=r,rsc APPROVED=rsc DELTA=194 (97 added, 32 deleted, 65 changed) OCL=33861 CL=33933
-
- 12 Aug, 2009 1 commit
-
-
Russ Cox authored
to whole-package compilation. R=r OCL=33070 CL=33101
-
- 31 Jul, 2009 2 commits