| Age | Commit message (Collapse) | Author |
|
Fixes #3347.
R=golang-dev, aram, r, rsc
CC=golang-dev
https://golang.org/cl/5918043
|
|
R=golang-dev, r
CC=golang-dev, mattn.jp
https://golang.org/cl/5885056
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5781058
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5756049
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5756064
|
|
SameFile has a bug.
R=golang-dev
TBR=rsc
CC=golang-dev
https://golang.org/cl/5754055
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5759051
|
|
/tmp being itself a symlink causes problems for the test, so use / as the absolute path.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5675070
|
|
Fixes #2950.
Fixes #2951.
R=golang-dev, r
CC=golang-dev, remy
https://golang.org/cl/5672044
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5645099
|
|
I hate symlinks.
Fixes #2787.
R=golang-dev, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/5638043
|
|
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5625050
|
|
This reduces the overhead necessary to work with OS-specific
file details, hides the implementation of FileStat, and
preserves the implementation-specific nature of Sys.
Expressions such as:
stat.(*os.FileInfo).Sys.(*syscall.Stat_t).Uid
fi1.(*os.FileStat).SameFile(fi2.(*os.FileStat))
Are now spelled as::
stat.Sys().(*syscall.Stat_t).Uid
os.SameFile(fi1, fi2)
R=cw, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5448079
|
|
Consequently, remove many package Makefiles,
and shorten the few that remain.
gomake becomes 'go tool make'.
Turn off test phases of run.bash that do not work,
flagged with $BROKEN. Future CLs will restore these,
but this seemed like a big enough CL already.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5601057
|
|
If there's an error, sometimes you need to stop.
Part of issue 2787.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5570068
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5501069
|
|
There was Base but not Dir, so fill in the gap.
R=n13m3y3r, r, rsc, gustavo
CC=golang-dev
https://golang.org/cl/5503067
|
|
R=golang-dev, bradfitz, gri
CC=golang-dev
https://golang.org/cl/5451079
|
|
R=golang-dev, r, r, gri, bradfitz, iant, iant, nigeltao, n13m3y3r
CC=golang-dev
https://golang.org/cl/5416060
|
|
Fixes #2493.
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5433079
|
|
R=golang-dev, bsiegert, iant
CC=golang-dev
https://golang.org/cl/5294074
|
|
R=golang-dev, rsc, gustavo, r, borman
CC=golang-dev
https://golang.org/cl/4981049
|
|
This one uses a closure than an interface, and is much simpler to use.
It also enables a called function to return an error and (possibly)
halt processing.
Fixes #2237.
R=golang-dev, gri, rsc, r, cw, n13m3y3r
CC=golang-dev
https://golang.org/cl/5014043
|
|
Fixes #2201
R=golang-dev, r, rsc, alex.brainman, robert.hencke, jp
CC=golang-dev
https://golang.org/cl/4950051
|
|
API change. Needs further reflection.
««« original CL description
path/filepath: Simplify Walk interface
The last argument of filepath.Walk was removed, and the Visitor
interface now contains an Error method that is called on errors.
Fixes #2237.
R=golang-dev, gri, r
CC=golang-dev
https://golang.org/cl/4964067
»»»
R=r
CC=golang-dev
https://golang.org/cl/4974065
|
|
The last argument of filepath.Walk was removed, and the Visitor
interface now contains an Error method that is called on errors.
Fixes #2237.
R=golang-dev, gri, r
CC=golang-dev
https://golang.org/cl/4964067
|
|
R=r
CC=golang-dev
https://golang.org/cl/4984052
|
|
- Clean and IsAbs to handle paths with drive letter properly.
- Clean to replace / with \.
R=golang-dev, adg
CC=golang-dev, mattn.jp
https://golang.org/cl/4758051
|
|
R=golang-dev
CC=golang-dev
https://golang.org/cl/4630066
|
|
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4517132
|
|
When I was first coding Abs, I wondered if people wouldn't
expect the path to be consistently clean, even if the path
passed in was already absolute.
CL 4524078 has a potential problem based on exactly that
assumption, so it feels like this behavior is indeed the
most useful and least surprising.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4548074
|
|
Fixes #1830.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4526060
|
|
We replace the current Open with:
OpenFile(name, flag, perm) // same as old Open
Open(name) // same as old Open(name, O_RDONLY, 0)
Create(name) // same as old Open(name, O_RDWR|O_TRUNC|O_CREAT, 0666)
This CL includes a gofix module and full code updates: all.bash passes.
(There may be a few comments I missed.)
The interesting packages are:
gofix
os
Everything else is automatically generated except for hand tweaks to:
src/pkg/io/ioutil/ioutil.go
src/pkg/io/ioutil/tempfile.go
src/pkg/crypto/tls/generate_cert.go
src/cmd/goyacc/goyacc.go
src/cmd/goyacc/units.y
R=golang-dev, bradfitzwork, rsc, r2
CC=golang-dev
https://golang.org/cl/4357052
|
|
R=golang-dev, rsc1, peterGo, bsiegert, r, mattn
CC=golang-dev
https://golang.org/cl/4271057
|
|
Fixes #1622.
R=rsc, bradfitzgo
CC=golang-dev
https://golang.org/cl/4287063
|
|
R=golang-dev, rsc1
CC=adg, golang-dev
https://golang.org/cl/4274069
|
|
R=rsc, niemeyer, r2, rog, iant2, r
CC=golang-dev
https://golang.org/cl/4235060
|
|
R=brainman, rsc, rsc1
CC=golang-dev
https://golang.org/cl/4249064
|
|
R=golang-dev, rsc1
CC=golang-dev
https://golang.org/cl/4235054
|
|
The path package now contains only functions which
deal with slashed paths, sensible for any OS when dealing
with network paths or URLs. OS-specific functionality
has been moved into the new path/filepath package.
This also includes fixes for godoc, goinstall and other
packages which were mixing slashed and OS-specific paths.
R=rsc, gri, mattn, brainman
CC=golang-dev
https://golang.org/cl/4252044
|