summaryrefslogtreecommitdiff
path: root/src/pkg
AgeCommit message (Collapse)AuthorFilesLines
2009-11-02use the new routine regexp.MustCompile to clean up some code that uses ↵Rob Pike2-33/+14
global regexps. R=rsc, gri CC=go-dev http://go/go-review/1016025
2009-11-02eliminate goroutine from testing/regexp too.Rob Pike2-77/+79
R=rsc CC=go-dev http://go/go-review/1018021
2009-11-02Split constant time functions into crypto/subtle.Adam Langley8-216/+249
R=rsc CC=go-dev http://go/go-review/1018020
2009-11-02take goroutines out of regexp so they can be createdRob Pike1-53/+77
during initialization. R=rsc CC=go-dev http://go/go-review/1016023
2009-11-02- collect line comments for methods in interfacesRobert Griesemer2-12/+11
(previously not shown in godoc) - simplify parsing of struct types (match code structure for parsing interface types) R=rsc, r http://go/go-review/1016019
2009-11-01reverse the arguments to io.Copy so the destination is on theRob Pike18-37/+37
left, like an assignment, like strcpy, etc. R=rsc CC=go-dev http://go/go-review/1016011
2009-11-01These files were moved to encoding/base64. The directory wasIan Lance Taylor3-546/+0
already removed from the Makefile. R=rsc http://go/go-review/1017006
2009-11-01split ipsock.go, sock.go, and unixsock.go out of net.goRuss Cox9-819/+874
prior to cleanup. no changes, only moving. remove dependencies on strconv and strings R=r http://go/go-review/1017010
2009-11-01syscall cleanup.Russ Cox25-1413/+2490
* rename PORT.sh -> mkall.sh (hopefully more obvious), change behavior: run commands by default. * pull more constants out of #defines automatically, instead of editing large lists by hand. * add Recvfrom, Sendto add os.O_EXCL. R=r http://go/go-review/1017009
2009-11-01os cleanup.Russ Cox14-392/+14
dir_* and stat_* are just os specific, not os+arch-specific. R=r http://go/go-review/1018010
2009-11-01misc cleanupRuss Cox6-51/+42
R=r http://go/go-review/1016017
2009-11-01allow unpacking of json map into Go map,Russ Cox4-47/+111
now that reflection supports it. R=r http://go/go-review/1015008
2009-10-31return "<nil>" when calling String() on a nil bytes.Buffer.Rob Pike2-1/+13
R=rsc CC=go-dev http://go/go-review/1016005
2009-10-30Don't use fallthrough in a type switch.Ian Lance Taylor1-4/+2
R=rsc http://go/go-review/1018005
2009-10-30improved comment formatting:Robert Griesemer8-168/+637
- print comments line by line, strip common prefix but do not modify comment contents otherwise - align comments with subsequent keyword if indicated (e.g. case labels) - terminate "column section" after multi-line expressions for better alignment R=rsc http://go/go-review/1017002
2009-10-29clone and futexKai Backman2-11/+95
go/test: passes 99% (343/347) R=rsc http://go/go-review/1016004
2009-10-29Forgot to change quickcheck to quick in the Makefile.Adam Langley2-8/+9
TBR=rsc R=rsc http://go/go-review/1017004
2009-10-29Add RSA PKCS#1 v1.5 support.Adam Langley5-7/+407
R=go-dev APPROVED=rsc DELTA=407 (400 added, 0 deleted, 7 changed) OCL=36007 CL=36146
2009-10-28Add a quickcheck package which is a little like the Haskell one of the sameAdam Langley5-7/+571
name. R=rsc APPROVED=rsc DELTA=566 (566 added, 0 deleted, 0 changed) OCL=35974 CL=36111
2009-10-29Change Stat to Lstat in Readdir so we don't recur when someone symlinks "."Rob Pike1-1/+1
R=rsc CC=go-dev http://go/go-review/1018003
2009-10-28Fix bug when sending via select.Adam Langley1-32/+19
selfree maintains a cache of Select structures for several sizes. In newselect, we'll use an entry from the cache if one is found. However, the Scase structures corresponding to a send may have been allocated for the wrong size. In this case we'll write off the end of the Scase into random memory and, generally, read some amount of junk in the receive. This patch fixes the issue by removing the cache, on the advice of rsc. R=rsc CC=go-dev http://go/go-review/1016002
2009-10-28mysterious bug: runtime.acid wasn't getting rebuiltRuss Cox2-5/+5
when switching architectures. fix bug twice: make sure clean removes the file, and generate into architecture-specific file names. R=r http://go/go-review/1013018
2009-10-28fix for long label names impacting column width of previous linesRobert Griesemer3-1/+40
R=rsc http://go/go-review/1013017
2009-10-27files that are okay from the last gofmt roundRuss Cox16-68/+53
R=gri http://go/go-review/1015011
2009-10-26Get the right sigaction struct for the 386 rt_sigaction systemIan Lance Taylor3-9/+20
call. This uses the header files from a 32-bit Ubuntu Hardy system. The use of _LOOSE_KERNEL_NAMES seems right. The -D__ARCH_SI_UID_T works around a bug which appears to be fixed in later Linux versions. R=rsc http://go/go-review/1013015
2009-10-26- gofmt-ify walk.goRobert Griesemer1-44/+67
- fixed several bugs R=rsc http://go/go-review/1015015
2009-10-26Add encoding/hexAdam Langley5-5/+273
R=rsc http://go/go-review/1015012
2009-10-25proper syscall convention for armKai Backman3-11/+6
R=rsc http://go/go-review/1015009
2009-10-23publish Request.Write (rename from Request.write)Rob Pike2-3/+3
R=rsc CC=go-dev http://go/go-review/1015003
2009-10-23all of pkg now compiles, fixes a few more testsKai Backman3-0/+83
go/test: passes 90% (313/345) R=rsc APPROVED=rsc DELTA=90 (83 added, 3 deleted, 4 changed) OCL=36011 CL=36023
2009-10-23fix off by 4 bug in morestack (lr again). remove storing of r0Kai Backman2-14/+2
now that all arguments are passed on the stack. go/test: passes 89% (310/345) R=rsc APPROVED=rsc DELTA=33 (13 added, 14 deleted, 6 changed) OCL=36009 CL=36022
2009-10-22fix off by 4 in newproc arg copying.Kai Backman1-2/+2
R=rsc APPROVED=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=36001 CL=36004
2009-10-22Fix the sigaction declaration to match the system for Linux.Ian Lance Taylor1-1/+1
I don't know whether Darwin needs a change here. R=rsc http://go/go-review/1013010
2009-10-22s/pc/PC/ in traceback output to match amd64.Ian Lance Taylor1-1/+1
test/run expects to see "PC". R=rsc http://go/go-review/1015002
2009-10-22Fix printer_test.go to invoke Fprint as a method of cfg.Ian Lance Taylor1-1/+1
This matches the change to printer.go in revision 3632. R=gri http://go/go-review/1015001
2009-10-22- make printer interface easily extensible w/o breaking clients (in the future)Robert Griesemer2-64/+73
- replacement for p4 CL 35999 (abandoned) R=rsc http://go/go-review/1012010
2009-10-22minor changes to walkRobert Griesemer1-59/+52
R=rsc http://go/go-review/1012008
2009-10-22simple AST walking supportRobert Griesemer2-0/+310
R=rsc http://go/go-review/1014006
2009-10-22fix build: no acidRob Pike1-2/+4
R=rsc http://go/go-review/1014005
2009-10-22fix build after Mercurial move.Russ Cox1-17/+2
various missing or incorrect files. R=r CC=go-dev http://go/go-review/1014004
2009-10-22go/printer:Robert Griesemer2-57/+83
- handle HTML tagging via (client-installable) Stylers go/doc: - basic styler support - some factoring - ready to contain the search code (but for now excluded) doc/style.css: - updated doc/go_spec.css: - cleanup: replace deprecated uses of <font> tag with <span> tag R=rsc DELTA=302 (160 added, 62 deleted, 80 changed) OCL=35973 CL=35996
2009-10-22Interface types, values, and type compiler. This does not yetAustin Clements4-13/+292
implement any type checking or semantics for interfaces. R=rsc APPROVED=rsc DELTA=305 (289 added, 10 deleted, 6 changed) OCL=35889 CL=35995
2009-10-21have http server in-line PDF files.Rob Pike1-0/+1
add go course pdf files to doc/ for godoc to serve. fix links to point to those files. R=rsc DELTA=7 (4 added, 0 deleted, 3 changed) OCL=35972 CL=35981
2009-10-21Add SetValue(Value) to the Value interface.Adam Langley2-2/+172
R=rsc APPROVED=rsc DELTA=172 (170 added, 0 deleted, 2 changed) OCL=35969 CL=35980
2009-10-21fix typo/oversight: s/Title/ToTitle/. the comment was already correctRob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35964 CL=35979
2009-10-21Replace SliceReader with bytes.Buffer.Adam Langley1-16/+1
R=r APPROVED=r DELTA=16 (0 added, 15 deleted, 1 changed) OCL=35976 CL=35978
2009-10-21Fix typo in documentation.Adam Langley1-1/+2
R=r APPROVED=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=35977 CL=35977
2009-10-21Add initial x509 code.Adam Langley9-0/+659
R=rsc APPROVED=rsc DELTA=659 (659 added, 0 deleted, 0 changed) OCL=35932 CL=35975
2009-10-20Move usr/dsymonds/iterable to src/pkg/exp/iterable.David Symonds5-0/+275
Remove remainder of usr/dsymonds. R=rsc,r APPROVED=r DELTA=685 (275 added, 409 deleted, 1 changed) OCL=35810 CL=35933
2009-10-20base64 -> encoding/base64Russ Cox21-89/+676
base85 -> encoding/ascii85, encoding/git85 debug/binary -> encoding/binary R=r DELTA=3190 (1884 added, 1297 deleted, 9 changed) OCL=35923 CL=35929