summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-31kate: Update for recent language changesEvan Shaw1-2/+7
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/849045 Committer: Russ Cox <rsc@golang.org>
2010-03-31build script tweaksRuss Cox4-49/+84
factor out environment variable checks. infer $GOROOT etc during build if not set. it's still necessary to set them for yourself to use the standard Makefiles. when running all.bash, don't recompile all the go packages in run.bash, since make.bash already did. R=r CC=golang-dev http://codereview.appspot.com/609042
2010-03-31testing/regexp: use recover.Rob Pike2-61/+32
R=rsc CC=golang-dev http://codereview.appspot.com/816042 Committer: Rob Pike <r@golang.org>
2010-04-01json: use panic/recover to handle errors in MarshalAndrew Gerrand1-36/+21
R=r, gri CC=golang-dev http://codereview.appspot.com/872041
2010-03-31go spec: clarification of type declarationsRobert Griesemer1-2/+8
R=r, rsc CC=golang-dev http://codereview.appspot.com/849044
2010-04-01Delete xgb from the main repository. It has moved toNigel Tao7-5521/+0
http://code.google.com/p/x-go-binding/ R=rsc CC=golang-dev http://codereview.appspot.com/846043
2010-03-31gc: fix alignment on non-amd64Russ Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/870041
2010-03-31tabwriter: use panic/recover to handle errorsRobert Griesemer1-50/+47
R=rsc, r CC=golang-dev http://codereview.appspot.com/864042
2010-03-31regexp: use panic/recover to handle errorsRob Pike1-72/+50
R=rsc, gri CC=golang-dev http://codereview.appspot.com/821046
2010-03-31runtime: make type assertion a runtime.Error, the first of manyRuss Cox10-135/+166
R=r CC=golang-dev http://codereview.appspot.com/805043
2010-03-31test for panic and recoverRuss Cox2-0/+387
R=r, adg CC=golang-dev http://codereview.appspot.com/869041
2010-03-31gc: implement panic and recoverRuss Cox16-30/+239
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/831042
2010-03-31godashboard: new stylesheet, build status paginationAndrew Gerrand5-120/+148
R=rsc, gri, r CC=golang-dev http://codereview.appspot.com/822044
2010-03-31release.2010-03-30 part twoAndrew Gerrand0-0/+0
R=rsc CC=golang-dev http://codereview.appspot.com/859042
2010-03-30Unicode: fix stupid typo in comment.Rob Pike1-2/+2
R=rsc CC=golang-dev http://codereview.appspot.com/864041
2010-03-30Unicode: provide an ability to supplement the case-mapping tablesRob Pike6-5/+133
in character and string case mapping routines. Add a custom mapper for Turkish and Azeri. A more general solution for deriving the case information from Unicode's SpecialCasing.txt will require more work. Fixes issue 703. R=rsc, rsc1 CC=golang-dev, mdakin http://codereview.appspot.com/824043
2010-03-31release 2010-03-30Andrew Gerrand1-0/+62
R=rsc, gri CC=golang-dev http://codereview.appspot.com/821045
2010-03-30godoc: support for title and subtitle headers when serving .html docsRobert Griesemer5-19/+42
and use it to show version (date) of go spec Fixes issue 68. R=rsc CC=golang-dev, r http://codereview.appspot.com/848042
2010-03-30runtime: fix arm build, slightly.Russ Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/842042
2010-03-30go/printer: follow-up on CL 802043Robert Griesemer5-23/+87
- more test cases - comment fixes - minor unrelated changes as part of investigation of issue 702 R=rsc CC=golang-dev http://codereview.appspot.com/860041
2010-03-30time: do not segment time strings by character class.Russ Cox3-173/+212
instead use pure substring matching to find template values. this makes stdZulu unnecessary and allows formats like "20060102 030405" (used in some internet protocols). this makes Parse not handle years < 0000 or > 9999 anymore. that seems like an okay price to pay, trading hypothetical functionality for real functionality. also changed the comments on the Time struct to use the same reference date as the format and parse routines. R=r CC=golang-dev http://codereview.appspot.com/833045
2010-03-30syscall: add IPV6 constantsRuss Cox6-1108/+1255
R=r CC=golang-dev http://codereview.appspot.com/848041
2010-03-30single argument panic on non-darwin and in commentsRuss Cox6-12/+12
R=r CC=golang-dev http://codereview.appspot.com/800042
2010-03-30Gofmt preserves newlines in multiline selector expressions.Risto Jaakko Saarelma4-6/+298
This is for making the fluent interface idiom usable with gofmt. R=gri CC=golang-dev http://codereview.appspot.com/802043 Committer: Robert Griesemer <gri@golang.org>
2010-03-30contributors, authors: add Risto SaarelmaRobert Griesemer2-0/+2
R=rsc CC=golang-dev http://codereview.appspot.com/836043
2010-03-30Effective Go: update maps description regarding lookup of nonexistent entry.Rob Pike1-5/+20
R=rsc, gri, iant CC=golang-dev http://codereview.appspot.com/821044
2010-03-30godoc: don't print package clause in -src command-line mode with filteringRobert Griesemer1-1/+12
R=rsc CC=golang-dev http://codereview.appspot.com/844041
2010-03-30gc: add panic and recover (still unimplemented in runtime)Russ Cox13-25/+173
main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one. R=ken2, r CC=golang-dev http://codereview.appspot.com/812043
2010-03-30simplify various code using new map index ruleRuss Cox27-194/+96
R=r CC=golang-dev http://codereview.appspot.com/833044
2010-03-30make: use actual dependency for installRuss Cox1-1/+1
otherwise "make install" runs cp unconditionally R=r CC=golang-dev http://codereview.appspot.com/802044
2010-03-30godefs: fix handling of negative constantsRuss Cox1-2/+8
R=r CC=golang-dev http://codereview.appspot.com/849041
2010-03-30single argument panicRuss Cox60-830/+946
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-03-29gc: flush warnings, if anyRuss Cox1-0/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/811042
2010-03-29runtime: Remove unused runtime.write from linux/amd64Christopher Wedgwood1-17/+9
Also minor reformatting. R=rsc CC=golang-dev http://codereview.appspot.com/845041 Committer: Russ Cox <rsc@golang.org>
2010-03-29runtime: run deferred calls at GoexitRuss Cox6-52/+110
baby step toward panic+recover. Fixes issue 349. R=r CC=golang-dev http://codereview.appspot.com/825043
2010-03-29go/printer: fix a commentRobert Griesemer1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/826042
2010-03-29godoc: support for filtering of command-line output in -src modeRobert Griesemer4-67/+111
+ various minor cleanups Usage: godoc -src math Sin R=rsc CC=golang-dev http://codereview.appspot.com/791041
2010-03-29Flags: add user-defined flag types. The change is really no code; it's just ↵Rob Pike2-45/+64
publishing the set() method and add() functions. But we rename add() to Var() for consistency. Also rename FlagValue to Value for simplicity. Also, delete the check for multiple settings for a flag. This makes it possible to define a flag that collects values, such as into a slice of strings. type flagVar []string func (f *flagVar) String() string { return fmt.Sprint(v) } func (f *flagVar) Set(value string) bool { if v == nil { v = make(flagVar, 1) } else { nv := make(flagVar, len(v)+1) copy(nv, v) v = nv } v[len(v)-1] = value return true } var v flagVar func main() { flag.Var(&v, "testV", "multiple values build []string") flag.Parse() fmt.Printf("v = %v\n", v) } R=rsc CC=golang-dev http://codereview.appspot.com/842041
2010-03-29runtime: a couple more memory stats.Russ Cox7-1/+14
now runtime.MemStats.Sys really is the sum of all the other Sys fields. R=r CC=golang-dev http://codereview.appspot.com/843041
2010-03-29gc: bug265Russ Cox3-8/+20
Fixes issue 700. R=ken2 CC=golang-dev http://codereview.appspot.com/839041
2010-03-29go/ast: generalized ast filteringRobert Griesemer2-26/+129
R=rsc CC=golang-dev http://codereview.appspot.com/788041
2010-03-29strings.FIelds: slight simplification.Rob Pike1-4/+5
R=rsc CC=golang-dev http://codereview.appspot.com/833042
2010-03-29fix buildRuss Cox1-2/+2
R=gri CC=golang-dev http://codereview.appspot.com/837041
2010-03-29runtime: more malloc statisticsRuss Cox8-33/+145
expvar: default publishings for cmdline, memstats godoc: import expvar R=r CC=golang-dev http://codereview.appspot.com/815041
2010-03-29bug265: test case for issue 700Robert Griesemer2-0/+25
( http://code.google.com/p/go/issues/detail?id=700 ) R=r CC=golang-dev http://codereview.appspot.com/827042
2010-03-29strconv.Unquote could wrongly return a nil error on error.Roger Peppe1-1/+1
R=rsc, gri CC=golang-dev http://codereview.appspot.com/773041 Committer: Robert Griesemer <gri@golang.org>
2010-03-29comment typosAndrew Gerrand1-3/+3
Fixes issue 698. Fixes issue 699. R=rsc CC=golang-dev http://codereview.appspot.com/824041
2010-03-29comment typo in crypto/rsa/rsa.goAndrew Gerrand1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/823041
2010-03-29spec: typo in switch sample code, missing semicolonAndrew Gerrand1-1/+1
Fixes issue 697 R=r CC=golang-dev http://codereview.appspot.com/804042
2010-03-29http: add HandleFunc as shortcut to Handle(path, HandlerFunc(func))Andrew Gerrand1-0/+11
R=rsc CC=golang-dev http://codereview.appspot.com/763042