- 08 Nov, 2011 4 commits
-
-
Joel Sing authored
R=golang-dev, devon.odell CC=golang-dev https://golang.org/cl/5340058
-
Anthony Martin authored
R=rsc CC=golang-dev https://golang.org/cl/5330067
-
Andrew Balholm authored
Pass tests1.dat, test 87: <body><body><base><link><meta><title><p></title><body><p></body> | <html> | <head> | <body> | <base> | <link> | <meta> | <title> | "<p>" | <p> Handling the last <body> tag requires correcting the original insertion mode in useTheRulesFor. Also pass test 88: <textarea><p></textarea> R=nigeltao CC=golang-dev https://golang.org/cl/5364047
-
Alex Brainman authored
Just a copy of cgo callback tests from misc/cgo/test. R=rsc CC=golang-dev, hectorchu https://golang.org/cl/5331062
-
- 07 Nov, 2011 17 commits
-
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5364041
-
Nigel Tao authored
Fixes #2419. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/5352046
-
Mikio Hara authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5353045
-
Luuk van Dijk authored
gc: Clean up dostruct/stotype, detect broken fields and propagate up to structs and functions to supress spurious errors. Fixes #1556. R=rsc CC=golang-dev https://golang.org/cl/5351042
-
Russ Cox authored
Tests are in gofix, since the bugs arise in rewritten ASTs. R=golang-dev, r CC=golang-dev https://golang.org/cl/5365043
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5362045
-
Russ Cox authored
ctime differs across Unix vs Plan 9 so add to portability library R=golang-dev, r CC=golang-dev https://golang.org/cl/5363043
-
Russ Cox authored
Otherwise some OS X toolchains complain about the redeclaration of libcgo_thread_start by multiple object files. The real definition is in util.c. Fixes #2167. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5364045
-
Dave Cheney authored
This CL adds an API for handling the various SSH authenticaton methods. None and password continue to be the only supported methods. R=bradfitz, agl, n13m3y3r, rsc, cw CC=golang-dev https://golang.org/cl/5328045
-
Joel Sing authored
- Fix function prototype for thrsleep(). - Provide enums for clock identifiers. - Provide timespec structure for use with thrsleep(). R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/5360042
-
Ron Minnich authored
Use HEADER_IO macro from gopack to read archive header The HEADER_IO macro portably reads archive headers. The current arsize code fails in the case of archive headers produced on plan 9 6c and read on other systems (it's not portable). Modify lex.c to use the portable macro Build tested (including tests) on OSX. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5323072
-
Lucio De Re authored
src/cmd/gc/bits.c: corrected a mistaken format; src/cmd/gc/go.h: %E can accept uints. R=rsc CC=golang-dev https://golang.org/cl/5331041
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5339047
-
David Crawshaw authored
R=rsc, nigeltao CC=golang-dev https://golang.org/cl/5298061
-
Dmitry Chestnykh authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5341044
-
David Symonds authored
A single character typo ("\n" instead of "\r") meant that HTML data using DOS line breaks (CRLF) was not detected as HTML. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5365041
-
Alex Brainman authored
Fixes #2403. R=hectorchu CC=golang-dev https://golang.org/cl/5309071
-
- 06 Nov, 2011 3 commits
-
-
Nigel Tao authored
R=andybalholm CC=golang-dev https://golang.org/cl/5351041
-
Luuk van Dijk authored
Fixes #2354 R=rsc CC=golang-dev https://golang.org/cl/5346044
-
Luuk van Dijk authored
Fixes #2422. R=rsc CC=golang-dev https://golang.org/cl/5353046
-
- 05 Nov, 2011 2 commits
-
-
Charles L. Dorian authored
Having the compiler count the number of array elements speeds up Gamma from 63.7 to 56.6 ns/op. R=rsc, golang-dev, r CC=golang-dev https://golang.org/cl/5362043
-
David Symonds authored
R=rsc, r CC=golang-dev https://golang.org/cl/5347041
-
- 04 Nov, 2011 14 commits
-
-
Ian Lance Taylor authored
R=golang-dev, rsc, iant CC=golang-dev https://golang.org/cl/5356042
-
Charles L. Dorian authored
Maximum error for 386 is "close" (1e-14). For amd64, it's "veryclose" (4e-16). R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5340042
-
Jani Monoses authored
The permitted filename characters should include ~ to allow the names of user-owned branches in Launchpad. R=golang-dev, rsc, n13m3y3r, gustavo CC=golang-dev, gustavo.niemeyer https://golang.org/cl/5280052
-
Gustavo Niemeyer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5340046
-
Mike Samuel authored
This does escaping on first execution. template.go defines the same interface elements as package template. It requires rather more duplication of code than I'd like, but I'm not clear how to avoid that. Maybe instead of mySet.ParseGlob(...) template.ParseSetGlob(...) mySet.ParseFiles(...) mySet.ParseTemplateFiles(...) template.ParseTemplateFiles(...) we combine these into a fileset abstraction that can be wrapped var fileset template.FileSet fileset.Glob(...) // Load a few files by glob fileset.Files(...) // Load a few {{define}}d files fileset.TemplateFiles(...) // Load a few files as template bodies fileset.Funcs(...) // Make the givens func available to templates // Do the parsing. set, err := fileset.ParseSet() // or set, err := fileset.ParseInto(set) or provide an interface that can receive filenames and functions and parse messages: type Bundle interface { TemplateFile(string) File(string) Funcs(FuncMap) } and define template.Parse* to handle the file-system stuff and send messages to a bundle: func ParseFiles(b Bundle, filenames ...string) R=r, r CC=golang-dev https://golang.org/cl/5270042
-
Brad Fitzpatrick authored
Available after closing Request.Body. R=adg, rsc CC=golang-dev https://golang.org/cl/5348041
-
Luuk van Dijk authored
Fixes #873 Fixes #2162 R=rsc CC=golang-dev https://golang.org/cl/5341043
-
Gustavo Niemeyer authored
There are three classes of methods/functions called Error: a) The Error method in the just introduced error interface b) Error methods that create or report errors (http.Error, etc) c) Error methods that return errors previously associated with the receiver (Tokenizer.Error, rows.Error, etc). This CL introduces the convention that methods in case (c) should be named Err. The reasoning for the change is: - The change differentiates the two kinds of APIs based on names rather than just on signature, unloading Error a bit - Err is closer to the err variable name that is so commonly used with the intent of verifying an error - Err is shorter and thus more convenient to be used often on error verifications, such as in iterators following the convention of the sql package. R=bradfitz, rsc CC=golang-dev https://golang.org/cl/5327064
-
David Symonds authored
This is a continuation of 982d70c6d5d6. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5348042
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/5354041
-
Russ Cox authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5340043
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/5353041
-
Andrew Gerrand authored
R=bradfitz CC=golang-dev https://golang.org/cl/5340044
-
Andrew Gerrand authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5349041
-