- 03 Feb, 2012 23 commits
-
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5620053
-
Russ Cox authored
This enables builds on systems without Bison/yacc. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5622050
-
Russ Cox authored
This enables builds on systems without Bison/yacc. R=golang-dev, iant CC=golang-dev https://golang.org/cl/5622051
-
Russ Cox authored
Fixes #2870. R=golang-dev, agl, lvd CC=golang-dev https://golang.org/cl/5618050
-
Ian Lance Taylor authored
Was miscompiled by gccgo. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5622054
-
Ian Lance Taylor authored
When slicing a slice, the bounds may be > len as long as they are <= cap. Interestingly, gccgo got that wrong and still passed the testsuite and all the library tests. R=golang-dev, rsc, iant CC=golang-dev https://golang.org/cl/5622053
-
Alex Brainman authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5604051
-
Gustavo Niemeyer authored
R=rsc, remyoudompheng, gustavo, dsymonds CC=golang-dev https://golang.org/cl/5617057
-
Russ Cox authored
The go- is redundant now that the directory is required to be inside $GOROOT. Rob LGTMed the idea. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5618044
-
Nigel Tao authored
R=rsc, dsymonds CC=golang-dev, gri https://golang.org/cl/5622045
-
Robert Griesemer authored
Fixes #2824. R=rsc, r CC=golang-dev https://golang.org/cl/5615043
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/5615054
-
Robert Griesemer authored
Fixes #2863. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5620058
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5608044
-
David Symonds authored
This is the analogue to the encoding/base64 change, https://golang.org/cl/5610045. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5617056
-
David Symonds authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5617055
-
Gustavo Niemeyer authored
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
-
Gary Burd authored
Fixes issue: 2832 R=rsc, gri CC=golang-dev https://golang.org/cl/5616060
-
David Symonds authored
This makes encoding/base32 be consistent with encoding/base64. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5615053
-
Robert Griesemer authored
R=rsc CC=golang-dev https://golang.org/cl/5606057
-
Russ Cox authored
I fixed types_linux.go yesterday but missed the others. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5620054
-
Russ Cox authored
dist is short for distribution. This is the new Go distribution tool. The plan is to replace the Makefiles with what amounts to 'go tool dist bootstrap', although it cannot be invoked like that since it is in charge of getting us to the point where we can build the go command. It will also add additional commands to replace bash scripts like test/run (go tool dist testrun), eventually eliminating our dependence on not just bash but all the Unix tools and all of cygwin. This is strong enough to build (cc *.c) and run (a.out bootstrap) to build not just the C libraries and tools but also the basic Go packages up to the bootstrap form of the go command (go_bootstrap). I've run it successfully on both Linux and Windows. This means that once we've switched to this tool in the build, we can delete the buildscripts. This tool is not nearly as nice as the go tool. There are many special cases that turn into simple if statements or tables in the code. Please forgive that. C does not enjoy the benefits that we designed into Go. I was planning to wait to do this until after Go 1, but the Windows builders are both broken due to a bug in either make or bash or both involving the parsing of quoted command arguments. Make thinks it is invoking quietgcc -fno-common -I"c:/go/include" -ggdb -O2 -c foo.c but bash (quietgcc is a bash script) thinks it is being invoked as quietgcc -fno-common '-Ic:/go/include -ggdb' -O2 -c foo.c which obviously does not have the desired effect. Rather than fight these clumsy ports, I accelerated the schedule for the new tool. We should be completely off cygwin (using just the mingw gcc port, which is much more standalone) before Go 1. It is big for a single CL, and for that I apologize. I can cut it into separate CLs along file boundaries if people would prefer that. R=golang-dev, adg, gri, bradfitz, alex.brainman, dsymonds, iant, ality, hcwfrichter CC=golang-dev https://golang.org/cl/5620045
-
David Symonds authored
Fixes #2170. R=golang-dev, cw, adg CC=golang-dev https://golang.org/cl/5618045
-
- 02 Feb, 2012 17 commits
-
-
Nigel Tao authored
R=rsc, dsymonds, bsiegert, rogpeppe CC=golang-dev https://golang.org/cl/5619052
-
Rémy Oudompheng authored
R=golang-dev, rsc CC=golang-dev, remy https://golang.org/cl/5617053
-
Robert Griesemer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5615050
-
Mikio Hara authored
R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/5617050
-
Anthony Martin authored
The change to -m is the only one necessary to close the issue. The others are useful to know about when debugging but shouldn't be in the usage message since they may go away or change at any time. Fixes #2802. R=lvd, rsc CC=golang-dev https://golang.org/cl/5606046
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5623045
-
Brad Fitzpatrick authored
take 2 R=rsc CC=golang-dev https://golang.org/cl/5617045
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5622043
-
Damian Gryski authored
This patch adds a function to get the current cpu ticks. This is deemed to be 'sufficiently random' to use to seed fastrand to mitigate the algorithmic complexity attacks on the hash table implementation. On AMD64 we use the RDTSC instruction. For 386, this instruction, while valid, is not recognized by 8a so I've inserted the opcode by hand. For ARM, this routine is currently stubbed to return a constant 0 value. Future work: update 8a to recognize RDTSC. Fixes #2630. R=rsc CC=golang-dev https://golang.org/cl/5606048
-
Wei Guangjing authored
R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/5605050
-
Ian Lance Taylor authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5622048
-
Marcel van Lohuizen authored
- Unified bounary conditions for NFC and NFD and removed some indirections. This enforces boundaries at the character level, which is typically what the user expects. (NFD allows a boundary between 'a' and '`', for example, which may give unexpected results for collation. The current implementation is already stricter than the standard, so nothing much changes. This change just formalizes it. - Moved methods of qcflags to runeInfo. - Swapped YesC and YesMaybe bits in qcFlags. This is to aid future changes. - runeInfo return values use named fields in preperation for struct change. - Replaced some left-over uint32s with rune. R=r CC=golang-dev https://golang.org/cl/5607050
-
Marcel van Lohuizen authored
R=r CC=golang-dev https://golang.org/cl/5605051
-
Nigel Tao authored
R=rsc, gri CC=golang-dev https://golang.org/cl/5620049
-
Jongmin Kim authored
R=golang-dev CC=bradfitz, golang-dev https://golang.org/cl/5606050
-
Andrew Gerrand authored
R=golang-dev, dsymonds, bradfitz CC=golang-dev https://golang.org/cl/5619050
-
Ian Lance Taylor authored
Without this change, fd3 can be collected by the garbage collector and finalized, which causes the file descriptor to be closed, which causes the call to os.Open to return 3 rather than the expected descriptor number. R=golang-dev, gri, bradfitz, bradfitz, iant CC=golang-dev https://golang.org/cl/5607056
-