Age | Commit message (Collapse) | Author |
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5344055
|
|
R=rsc
CC=golang-dev
https://golang.org/cl/5338043
|
|
R=rsc
CC=golang-dev
https://golang.org/cl/5345045
|
|
R=rsc
CC=golang-dev
https://golang.org/cl/5358041
|
|
This contains the files that required handiwork, mostly
Makefiles with updated TARGs, plus the two packages
with modified package names.
html/template/doc.go needs a separate edit pass.
test/fixedbugs/bug358.go is not legal go so gofix fails on it.
R=rsc
CC=golang-dev
https://golang.org/cl/5340050
|
|
This will do the package import renamings for Go 1.
R=rsc, r, dsymonds
CC=golang-dev
https://golang.org/cl/5316078
|
|
R=r
CC=golang-dev
https://golang.org/cl/5364050
|
|
R=r
CC=golang-dev
https://golang.org/cl/5351049
|
|
Pass tests1.dat, test 90:
<p><image></p>
| <html>
| <head>
| <body>
| <p>
| <img>
Also pass test 91:
<a><table><a></table><p><a><div><a>
R=nigeltao
CC=golang-dev
https://golang.org/cl/5339052
|
|
Also make it agree with the documentation. You get an error, unless you're
calling Add explicitly, in which case it panics since that's almost certainly
a bug. The discrepancy was caused by a panic that wasn't turned into
an error along one path; deleted the offending function for clarity.
R=r, rsc
CC=golang-dev
https://golang.org/cl/5354045
|
|
R=golang-dev, devon.odell
CC=golang-dev
https://golang.org/cl/5340058
|
|
R=rsc
CC=golang-dev
https://golang.org/cl/5330067
|
|
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
|
|
Just a copy of cgo callback tests from misc/cgo/test.
R=rsc
CC=golang-dev, hectorchu
https://golang.org/cl/5331062
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5364041
|
|
Fixes #2419.
R=dsymonds, rsc
CC=golang-dev
https://golang.org/cl/5352046
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5353045
|
|
structs and functions to supress spurious errors.
Fixes #1556.
R=rsc
CC=golang-dev
https://golang.org/cl/5351042
|
|
Tests are in gofix, since the bugs arise in rewritten ASTs.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5365043
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5362045
|
|
ctime differs across Unix vs Plan 9 so add to portability library
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5363043
|
|
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
|
|
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
|
|
- 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
|
|
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
|
|
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
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5339047
|
|
R=rsc, nigeltao
CC=golang-dev
https://golang.org/cl/5298061
|
|
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5341044
|
|
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
|
|
Fixes #2403.
R=hectorchu
CC=golang-dev
https://golang.org/cl/5309071
|
|
R=andybalholm
CC=golang-dev
https://golang.org/cl/5351041
|
|
Fixes #2354
R=rsc
CC=golang-dev
https://golang.org/cl/5346044
|
|
Fixes #2422.
R=rsc
CC=golang-dev
https://golang.org/cl/5353046
|
|
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
|
|
R=rsc, r
CC=golang-dev
https://golang.org/cl/5347041
|
|
R=golang-dev, rsc, iant
CC=golang-dev
https://golang.org/cl/5356042
|
|
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
|
|
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
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5340046
|
|
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
|
|
Available after closing Request.Body.
R=adg, rsc
CC=golang-dev
https://golang.org/cl/5348041
|
|
Fixes #873
Fixes #2162
R=rsc
CC=golang-dev
https://golang.org/cl/5341043
|
|
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
|
|
This is a continuation of 982d70c6d5d6.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5348042
|
|
TBR=r
CC=golang-dev
https://golang.org/cl/5354041
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5340043
|
|
TBR=r
CC=golang-dev
https://golang.org/cl/5353041
|
|
R=bradfitz
CC=golang-dev
https://golang.org/cl/5340044
|
|
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5349041
|