| Age | Commit message (Collapse) | Author |
|
R=golang-dev, r
CC=golang-dev, hcwfrichter
https://golang.org/cl/5934046
|
|
do its work
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5928043
|
|
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
|
|
As discussed on golang-dev, windows will use
"\" as path separator. No escaping allowed.
R=golang-dev, r, mattn.jp, rsc, rogpeppe, bsiegert, r
CC=golang-dev
https://golang.org/cl/5825044
|
|
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
|
|
The strikes against it are:
1. It does not take path boundaries into account.
2. It assumes that Windows==case-insensitive file system
and non-Windows==case-sensitive file system, neither of
which is always true.
3. Comparing ToLower against ToLower is not a correct
implementation of a case-insensitive string comparison.
4. If it returns true on Windows you still don't know how long
the matching prefix is in bytes, so you can't compute what
the suffix is.
R=golang-dev, r, dsymonds, r
CC=golang-dev
https://golang.org/cl/5712045
|
|
R=golang-dev, r, bradfitz, gustavo
CC=golang-dev
https://golang.org/cl/5712044
|
|
/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
|
|
Fixes #2593.
R=rsc, alex.brainman, n13m3y3r
CC=golang-dev
https://golang.org/cl/5500052
|
|
R=golang-dev, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/5501052
|
|
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5476048
|
|
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=rsc
CC=golang-dev
https://golang.org/cl/5345045
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5319072
|
|
R=golang-dev, bsiegert, iant
CC=golang-dev
https://golang.org/cl/5294074
|
|
use rune
Nothing terribly interesting here.
R=golang-dev, bradfitz, gri, r
CC=golang-dev
https://golang.org/cl/5300043
|
|
R=golang-dev, rsc, gustavo, r, borman
CC=golang-dev
https://golang.org/cl/4981049
|
|
filepath.Glob is documented to return nil if no files match
and an error only if the pattern is invalid. This change
fixes it to work as documented and adds a regression test.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5040045
|
|
The go/build package already recognizes
system-specific file names like
mycode_darwin.go
mycode_darwin_386.go
mycode_386.s
However, it is also common to write files that
apply to multiple architectures, so a recent CL added
to go/build the ability to process comments
listing a set of conditions for building. For example:
// +build darwin freebsd openbsd/386
says that this file should be compiled only on
OS X, FreeBSD, or 32-bit x86 OpenBSD systems.
These conventions are not yet documented
(hence this long CL description).
This CL adds build comments to the multi-system
files in the core library, a step toward making it
possible to use go/build to build them.
With this change go/build can handle crypto/rand,
exec, net, path/filepath, os/user, and time.
os and syscall need additional adjustments.
R=golang-dev, r, gri, r, gustavo
CC=golang-dev
https://golang.org/cl/5011046
|
|
R=golang-dev, cw
CC=golang-dev
https://golang.org/cl/5004045
|
|
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
|
|
The path is not in fact relative to the root, but
joined to it.
R=golang-dev, adg, rsc, gustavo
CC=golang-dev
https://golang.org/cl/4977059
|
|
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
|
|
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4837048
|
|
R=golang-dev, mattn.jp, adg
CC=golang-dev
https://golang.org/cl/4746047
|
|
- 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=bradfitz
CC=golang-dev
https://golang.org/cl/4704047
|
|
Includes 'sorthelpers' gofix and updates to tree.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4631098
|
|
Change the signature of Split to have no count,
assuming a full split, and rename the existing
Split with a count to SplitN.
Do the same to package bytes.
Add a gofix module.
R=adg, dsymonds, alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/4661051
|
|
R=golang-dev
CC=golang-dev
https://golang.org/cl/4630066
|
|
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4517132
|