summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* release.2010-12-02weekly.2010-12-02Andrew Gerrand2010-12-032-1/+61
| | | | | | R=r, r2 CC=golang-dev https://golang.org/cl/3433041
* doc: add gofrontend paper to talks/ and docs.htmlAndrew Gerrand2010-12-032-0/+6
| | | | | | R=r, iant CC=golang-dev https://golang.org/cl/3434041
* doc: add Practical Go Programming to front page and docs.htmlAndrew Gerrand2010-12-034-1/+12
| | | | | | R=r CC=golang-dev https://golang.org/cl/3391042
* go_spec: fixed a couple omissions/type errorsRobert Griesemer2010-12-021-19/+20
| | | | | | | | | | | - use math.Sqrt instead of Math.sqrt - use float64 for Point fields to match math.Sqrt - distinguish between Point and Point3D for clarity - add alignment sizes for complex types R=r, rsc, iant, ken2 CC=golang-dev https://golang.org/cl/3420041
* go/printer: preserve newlines in func parameter listsJamie Gennis2010-12-023-2/+128
| | | | | | | | Fixes #1179. R=gri CC=golang-dev https://golang.org/cl/3225042
* A+C: added Jamie GennisRobert Griesemer2010-12-021-0/+1
| | | | | | R=iant, r CC=golang-dev https://golang.org/cl/3416042
* Sort: reduced stack depth to lg(n) in quickSortStefan Nilsson2010-12-021-4/+12
| | | | | | | | | | Doing the tail recursion elimination explicitly seems safer than leaving it to the compiler; the code is still clean and easy to understand. R=r, r2, gri CC=golang-dev https://golang.org/cl/3373041
* A+C: adding Stefan NilssonRobert Griesemer2010-12-022-0/+2
| | | | | | R=rsc, iant2 CC=golang-dev https://golang.org/cl/3417041
* http: consume request body before next requestBrad Fitzpatrick2010-12-012-0/+136
| | | | | | | | Fixes #1306. R=rsc CC=golang-dev https://golang.org/cl/3332043
* template: implement multi-word variable instantation for formatters.Rob Pike2010-12-012-17/+44
| | | | | | | | | | | | | | | | | Before one could say {field} or {field|formatter} Now one can also say {field1 field2 field3} or {field1 field2 field3|formatter} and the fields are passed as successive arguments to the formatter, analogous to fmt.Print. R=rsc, gri CC=golang-dev https://golang.org/cl/3385041
* roadmap: update gdb statusRob Pike2010-12-011-4/+6
| | | | | | R=golang-dev, gri CC=golang-dev https://golang.org/cl/3395041
* template: change the signature of formatters for future development.Rob Pike2010-12-015-44/+54
| | | | | | | | | Make them more like Printf, with a ... final argument. This breaks code with existing formatters but not the templates that use them. R=rsc, gri CC=golang-dev https://golang.org/cl/3378041
* Removed bytes.Add and bytes.AddByte; we now have 'append'.Kyle Consalus2010-12-0110-118/+31
| | | | | | | | | Changed all uses of bytes.Add (aside from those testing bytes.Add) to append(a, b...). Also ran "gofmt -s" and made use of copy([]byte, string) in the fasta benchmark. R=golang-dev, r, r2 CC=golang-dev https://golang.org/cl/3302042
* log: ensure writes are atomic.Roger Peppe2010-12-011-5/+12
| | | | | | | | | | This means that any Writer can be used safely even when Output is called concurrently. Fixes #1302. R=r, nigeltao_gnome CC=golang-dev https://golang.org/cl/3300042
* path: Windows support for SplitBenny Siegert2010-11-305-8/+55
| | | | | | | | | | Make Split work on backslashes as well as on slashes under Windows and support the "C:filename" special case. Also add corresponding tests. R=r, rsc, PeterGo, r2, brainman CC=golang-dev https://golang.org/cl/3008041
* runtime: fix windows breakageLuuk van Dijk2010-12-011-0/+2
| | | | | | R=iant CC=golang-dev https://golang.org/cl/3344044
* fmt: fix documentation format glitch. no content to change.Rob Pike2010-11-301-2/+1
| | | | | | | | Fixes #1313. R=gri CC=golang-dev https://golang.org/cl/3361041
* utf8: make EncodeRune's destination the first argument.Adam Langley2010-11-3014-233/+21
| | | | | | R=r CC=golang-dev https://golang.org/cl/3364041
* crypto/elliptic: use a Jacobian transformAdam Langley2010-11-302-68/+180
| | | | | | | | (Speeds up the code about 25x) R=r CC=golang-dev https://golang.org/cl/3359042
* fmt.Scan: accept Inf and NaNRob Pike2010-11-302-0/+66
| | | | | | | | Fixes #1308. R=rsc, r2 CC=golang-dev https://golang.org/cl/3280045
* strconv: Atof on Infs and NaNsRob Pike2010-11-302-0/+52
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/3359041
* sort: avoid overflow in pivot calculation.Rob Pike2010-11-301-1/+1
| | | | | | | | thanks to snilsson@nada.kth.se for the original CL. R=gri CC=golang-dev, snilsson https://golang.org/cl/3280044
* big: fix (*Rat) SetFrac64(a, b) when b < 0.Eoghan Sherry2010-11-302-2/+24
| | | | | | R=gri CC=golang-dev https://golang.org/cl/3352041
* add Eoghan Sherry as author and contributorRobert Griesemer2010-11-302-0/+2
| | | | | | R=r, r2 CC=golang-dev https://golang.org/cl/3311043
* runtime: parallel definitions in Go for all C structs.Luuk van Dijk2010-11-3016-18/+621
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/3308041
* godoc: fix doc typoPeter Mundy2010-11-291-1/+1
| | | | | | | | Consistently use 6060 as the port number. R=gri CC=golang-dev https://golang.org/cl/3287042
* [68]l: correct dwarf location for globals and ranges for arrays.Luuk van Dijk2010-11-291-16/+96
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/3306042
* doc/code.html: fix reference to "gomake build"Anschel Schaffer-Cohen2010-11-291-1/+1
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/3288042
* fmt: allow "% X" as well as "% x"Rob Pike2010-11-293-2/+6
| | | | | | R=rsc, cw, PeterGo CC=golang-dev https://golang.org/cl/3319042
* doc: fix docs typosPeter Mundy2010-11-291-2/+2
| | | | | | R=adg CC=golang-dev https://golang.org/cl/3315041
* exp/eval: build fix for parser.ParseFile API change.Anschel Schaffer-Cohen2010-11-291-1/+1
| | | | | | R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/3283042
* A+C: Add Harley Laue (individual CLA)Ian Lance Taylor2010-11-262-0/+2
| | | | | | R=rsc, adg CC=golang-dev https://golang.org/cl/3316041
* compress/flate: fix typo in comment.Mathieu Lonjaret2010-11-261-1/+1
| | | | | | R=golang-dev, nigeltao_gnome, nigeltao CC=golang-dev https://golang.org/cl/3334041
* runtime: fix SysFree to really free memory on WindowsAlex Brainman2010-11-241-2/+21
| | | | | | | | Fixes #1294. R=golang-dev, PeterGo, iant CC=golang-dev https://golang.org/cl/3271041
* tag release.2010-11-23Andrew Gerrand2010-11-241-0/+2
| | | | | | R=nigeltao CC=golang-dev https://golang.org/cl/3294041
* release.2010-11-23weekly.2010-11-23Andrew Gerrand2010-11-242-1/+32
| | | | | | R=nigeltao CC=golang-dev https://golang.org/cl/3293041
* doc: add link to codewalks.Yves Junqueira2010-11-231-0/+5
| | | | | | | | Fixes #1281. R=adg CC=golang-dev https://golang.org/cl/3150041
* Documentation: how to write Makefiles for commands.Yves Junqueira2010-11-231-0/+26
| | | | | | | | Fixes #1282. R=adg CC=golang-dev https://golang.org/cl/3152041
* net: add ReadFrom and WriteTo windows version.Wei Guangjing2010-11-223-3/+111
| | | | | | | | Fixes #1275. R=rsc, brainman CC=golang-dev https://golang.org/cl/3136042
* gc: better error message for bad type in channel sendAnthony Martin2010-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | # test program 1 package main 2 3 type C chan int 4 5 func F(c C) { 6 c <- true 7 } # old error test.go:6: cannot use true (type bool) as type int in function argument # new error test.go:6: cannot use true (type bool) as type int in channel send R=rsc, ejsherry CC=golang-dev https://golang.org/cl/3231042
* position.go: more flexible AddFile methodRobert Griesemer2010-11-202-17/+55
| | | | | | | | | | | This will make it easier to use Pos values together with suffix arrays by slightly de- coupling the mapping of Pos values to global offsets. R=rsc CC=golang-dev https://golang.org/cl/3231041
* more on dynamic hash in compound literals.Ken Thompson2010-11-201-10/+24
| | | | | | | | | thanks to vskrap, andrey mirtchovski, and Eoghan Sherry. R=rsc CC=golang-dev https://golang.org/cl/3245041
* godoc: use correct time stamp to indicate accuracy of search resultRobert Griesemer2010-11-191-6/+8
| | | | | | | | | - compare against fsModified to check if index is out of date - don't change fsModified if there are no user-mapped file systems R=rsc, iant CC=golang-dev https://golang.org/cl/3213041
* crypto/cipher: add CFB and OCFB mode.Adam Langley2010-11-195-1/+232
| | | | | | | | (Files which I left out of the initial commit to keep it small.) R=rsc CC=golang-dev https://golang.org/cl/3183043
* index/suffixarray: use sort.SearchRuss Cox2010-11-191-20/+2
| | | | | | R=gri CC=golang-dev https://golang.org/cl/3200041
* crypto/cipher: add packageAdam Langley2010-11-198-0/+481
| | | | | | | | | | cipher is intended to replace crypto/block over time. This change only adds basic parts: CBC and CTR mode and doesn't add the package to the top-level Makefile. R=r, rsc CC=golang-dev https://golang.org/cl/3069041
* godoc: compute search index for all file systems under godoc's observationRobert Griesemer2010-11-183-31/+92
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/3209041
* adjustable hash code inKen Thompson2010-11-181-5/+48
| | | | | | | | | typecheck of composit literals to get rid of n^2 behavior. R=rsc CC=golang-dev https://golang.org/cl/3208041
* Makefiles: Don't define _64BIT now that 6c does it by default.Ian Lance Taylor2010-11-182-5/+2
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/3207041
* cgo: Print required space after parameter name in wrapper function.Ian Lance Taylor2010-11-181-1/+1
| | | | | | R=rsc, gri CC=golang-dev https://golang.org/cl/3206041