summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-05-15StringVector specialization of VectorRob Pike4-3/+197
R=gri,rsc DELTA=197 (194 added, 0 deleted, 3 changed) OCL=28900 CL=28911
2009-05-15make Stat indicate whether it followed a symlink.Russ Cox5-23/+57
R=r DELTA=61 (34 added, 0 deleted, 27 changed) OCL=28904 CL=28906
2009-05-15Return error from WriteByte, to match bufio.Writer.Russ Cox1-3/+4
R=gri DELTA=4 (1 added, 0 deleted, 3 changed) OCL=28868 CL=28899
2009-05-15- Remove IntVector methods that are "inherited" with correct typeRobert Griesemer3-34/+10
- Faster vector.Delete, removed result value (easy to get via At(i)) R=r DELTA=40 (6 added, 30 deleted, 4 changed) OCL=28866 CL=28897
2009-05-15add directory argument to os.ForkExecRuss Cox4-6/+41
R=iant DELTA=41 (35 added, 0 deleted, 6 changed) OCL=28892 CL=28895
2009-05-14AES key setup and block ciphers.Russ Cox6-0/+926
AES mode wrappers not implemented, so no public interface yet. R=r DELTA=918 (918 added, 0 deleted, 0 changed) OCL=28848 CL=28863
2009-05-14ByteBuffer.WriteByteRobert Griesemer2-7/+17
R=r DELTA=17 (10 added, 0 deleted, 7 changed) OCL=28860 CL=28862
2009-05-14Getuid etc.Rob Pike2-2/+52
R=rsc DELTA=51 (49 added, 0 deleted, 2 changed) OCL=28859 CL=28859
2009-05-14Hyphens are allowed in filenames. This allows this test to pass for me.David Symonds1-2/+2
R=r APPROVED=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=28847 CL=28851
2009-05-14fix abstract unix domain socketsRob Pike3-2/+5
R=rsc DELTA=5 (3 added, 0 deleted, 2 changed) OCL=28845 CL=28849
2009-05-14fix Truncate comment:Russ Cox1-2/+1
* make a complete sentence. * eliminate reference to byte positions, which are not a concept exposed by the interface. R=gri DELTA=2 (0 added, 1 deleted, 1 changed) OCL=28838 CL=28838
2009-05-14ByteBuffer.Truncate(n int)Robert Griesemer2-5/+22
R=r DELTA=22 (17 added, 0 deleted, 5 changed) OCL=28781 CL=28815
2009-05-13reflect: update comment (there is no BoolType)Russ Cox1-2/+2
R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=28756 CL=28784
2009-05-13Unix domain socket support, Linux and Darwin.Russ Cox7-82/+336
R=r DELTA=534 (353 added, 99 deleted, 82 changed) OCL=28783 CL=28783
2009-05-13Simplified AST:Robert Griesemer2-39/+13
- one node for array and slice types - one node for index and slice expressions - simplified parser, astprinter, and ast.txt R=r DELTA=71 (0 added, 43 deleted, 28 changed) OCL=28768 CL=28768
2009-05-13fix indentationRob Pike1-3/+3
R=rsc OCL=28752 CL=28752
2009-05-13Add os.Link, os.Symlink, os.Readlink.Ian Lance Taylor4-0/+161
R=r,rsc DELTA=161 (161 added, 0 deleted, 0 changed) OCL=28745 CL=28747
2009-05-13Rename ParseError to ErrorRob Pike1-6/+11
R=rsc DELTA=13 (6 added, 1 deleted, 6 changed) OCL=28743 CL=28746
2009-05-12change name of reflect.NewInitValue to the more descriptive NewZeroValue.Rob Pike3-7/+7
R=rsc DELTA=10 (0 added, 0 deleted, 10 changed) OCL=28717 CL=28720
2009-05-12no need for compiler to hard-code definition of runtime.Russ Cox3-4/+74
use the actual go source instead. R=r DELTA=90 (66 added, 18 deleted, 6 changed) OCL=28708 CL=28719
2009-05-12update reflect for upcoming interface representation change.Russ Cox1-1/+10
test case for new change. both work with the current compiler too. R=r DELTA=150 (145 added, 2 deleted, 3 changed) OCL=28703 CL=28715
2009-05-12fix build: proto depends on fmt nowRuss Cox1-1/+2
TBR=r,dsymonds OCL=28711 CL=28711
2009-05-12Allow http.Redirect to do both temporary (307) and permanent (301) redirects.David Symonds2-16/+27
This also adds a missing 'return' when a malformed URL is passed to it. R=rsc APPROVED=rsc DELTA=30 (13 added, 2 deleted, 15 changed) OCL=28598 CL=28710
2009-05-12implement IsNil() bool for those types that can be nil. most of them, anyway.Rob Pike2-1/+97
R=rsc DELTA=97 (96 added, 0 deleted, 1 changed) OCL=28596 CL=28702
2009-05-11A couple of godoc improvements:Robert Griesemer1-8/+17
- sort directories before printing - apply filtering to factory functions and methods - remove a couple of unused files R=r DELTA=84 (34 added, 40 deleted, 10 changed) OCL=28657 CL=28657
2009-05-11change utf8.FullRuneInString and utf8.DecodeRuneInStringRuss Cox9-117/+119
to use single string argument instead of string, index. R=r DELTA=136 (9 added, 7 deleted, 120 changed) OCL=28642 CL=28644
2009-05-08use exitgroup on linux to exit whole process.Russ Cox3-3/+23
R=r DELTA=60 (38 added, 19 deleted, 3 changed) OCL=28589 CL=28589
2009-05-08Package unsafe is undocumented. By installing (but not compiling) this file,Rob Pike1-0/+44
which contains only declarations, we can have godoc present documentation for the package. R=gri,rsc DELTA=44 (43 added, 0 deleted, 1 changed) OCL=28555 CL=28588
2009-05-08Document runtime functions.Rob Pike1-0/+26
R=rsc DELTA=25 (25 added, 0 deleted, 0 changed) OCL=28574 CL=28580
2009-05-08implications of stricter type equality:Russ Cox5-8/+8
if both types are named, they must be the same type (arising from the same declaration). R=r,gri DELTA=44 (21 added, 4 deleted, 19 changed) OCL=28436 CL=28577
2009-05-08fix commentRuss Cox1-1/+0
R=r DELTA=1 (0 added, 1 deleted, 0 changed) OCL=28576 CL=28576
2009-05-08fix build - missing fileRuss Cox1-0/+21
TBR=r OCL=28575 CL=28575
2009-05-08move things out of sys into os and runtimeRuss Cox9-26/+32
R=r OCL=28569 CL=28573
2009-05-08Move sys.Reflect and sys.Unreflect into unsafe.Rob Pike2-4/+4
R=rsc DELTA=19 (4 added, 5 deleted, 10 changed) OCL=28563 CL=28566
2009-05-08throw away os._Error.Russ Cox11-85/+64
make some error types in a few packages R=r DELTA=110 (25 added, 46 deleted, 39 changed) OCL=28382 CL=28561
2009-05-08embeddability: change bufio.BufRead to bufio.Reader etc.Rob Pike7-101/+99
R=rsc DELTA=112 (0 added, 4 deleted, 108 changed) OCL=28537 CL=28543
2009-05-08Name change to improve embeddability:Rob Pike14-86/+86
io.Read->io.Reader io.Write,Close,etc.->io.Writer,Closer etc. R=rsc DELTA=190 (0 added, 0 deleted, 190 changed) OCL=28525 CL=28535
2009-05-08minor cleanup, not required by compiler changesRuss Cox2-12/+9
R=r DELTA=14 (1 added, 4 deleted, 9 changed) OCL=28447 CL=28509
2009-05-07another attempt at avoiding IPv6 when it's not supported.Russ Cox2-27/+33
dsymonds confirms that this one works. R=r DELTA=50 (23 added, 17 deleted, 10 changed) OCL=28433 CL=28444
2009-05-07make go/src/lib/hash one directory per packageRob Pike15-28/+234
(slipped through the cracks last time) R=rsc DELTA=2436 (1337 added, 1090 deleted, 9 changed) OCL=28427 CL=28443
2009-05-07Define Len() for JSON Map.David Symonds2-1/+6
R=rsc APPROVED=rsc DELTA=6 (5 added, 0 deleted, 1 changed) OCL=28398 CL=28430
2009-05-07next step for 6.out on Borg: fix and testRuss Cox4-2/+27
net code on IPv4-only machines. R=r DELTA=27 (25 added, 0 deleted, 2 changed) OCL=28404 CL=28411
2009-05-06fix a few type errors, make ErrorString a valueRuss Cox1-2/+2
will submit with fixed compiler R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=28371 CL=28379
2009-05-06makefile fixesRuss Cox2-76/+41
R=r OCL=28369 CL=28369
2009-05-06error handling had a bug in execute: the error channel was being shared.Rob Pike1-23/+33
fix that and clean up state handling a little. R=rsc DELTA=44 (18 added, 8 deleted, 18 changed) OCL=28359 CL=28359
2009-05-05add missing Makefile to repair buildRob Pike1-0/+45
TBR=gri OCL=28320 CL=28320
2009-05-05new dir structure for lib/goRobert Griesemer14-102/+342
R=r DELTA=9298 (4760 added, 4536 deleted, 2 changed) OCL=28317 CL=28317
2009-05-05mv container/vector down one level for new rules.Rob Pike5-4/+4
simplify run.bash now that lib has make test that recurs. R=rsc DELTA=1179 (578 added, 596 deleted, 5 changed) OCL=28313 CL=28313
2009-05-05directory-per-package step 1: move files from lib/X.go to lib/X/X.goRob Pike41-82/+1037
no substantive changes except: - new Makefiles, all auto-generated - go/src/lib/Makefile has been extensively edited R=rsc OCL=28310 CL=28310
2009-05-05better io.ByteBuffer implementation:Robert Griesemer2-59/+191
- more light-weight - better buffer management - added test cases R=r DELTA=227 (167 added, 35 deleted, 25 changed) OCL=28252 CL=28289