summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-05net: doc, doc-inspired cleanupRuss Cox15-271/+344
R=r DELTA=368 (87 added, 14 deleted, 267 changed) OCL=25773 CL=25786
2009-03-05strconv: docRuss Cox5-36/+81
R=r DELTA=110 (64 added, 19 deleted, 27 changed) OCL=25761 CL=25782
2009-03-05misc docRuss Cox3-22/+50
R=r DELTA=50 (28 added, 0 deleted, 22 changed) OCL=25763 CL=25770
2009-03-05delete deprecated files.Rob Pike8-506/+12
deletion beats documentation for deprecation. R=rsc,gri DELTA=509 (2 added, 490 deleted, 17 changed) OCL=25737 CL=25768
2009-03-05math: docRuss Cox18-110/+170
R=r DELTA=173 (74 added, 14 deleted, 85 changed) OCL=25753 CL=25767
2009-03-05document vectorRob Pike1-6/+36
R=rsc DELTA=36 (30 added, 0 deleted, 6 changed) OCL=25740 CL=25766
2009-03-04log: documentRob Pike1-9/+25
R=rsc DELTA=26 (17 added, 1 deleted, 8 changed) OCL=25731 CL=25734
2009-03-04flag: documentRob Pike2-10/+46
also write to stderr not stdout R=rsc DELTA=48 (38 added, 2 deleted, 8 changed) OCL=25729 CL=25733
2009-03-04delete bogus vestigeRob Pike1-3/+0
R=rsc OCL=25730 CL=25730
2009-03-04typosRob Pike1-3/+2
R=gri DELTA=3 (0 added, 1 deleted, 2 changed) OCL=25728 CL=25728
2009-03-04sync: add documentationRuss Cox1-6/+62
R=r DELTA=63 (57 added, 1 deleted, 5 changed) OCL=25727 CL=25727
2009-03-04remove some incorrect capitalizations.Rob Pike2-176/+193
add commentary. R=rsc DELTA=231 (41 added, 24 deleted, 166 changed) OCL=25724 CL=25726
2009-03-04- missing makefileRobert Griesemer1-0/+66
R=r OCL=25714 CL=25714
2009-03-04Created new directory lib/lang:Robert Griesemer4-0/+975
- move scanner to into lib/lang - added test - adjusted various make and build files R=r DELTA=1731 (973 added, 753 deleted, 5 changed) OCL=25668 CL=25713
2009-03-04disallow ordinary-type.(T), as in spec.Russ Cox1-1/+2
R=ken OCL=25705 CL=25705
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox60-1547/+1547
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-03-02- itobRobert Griesemer2-44/+92
- more test cases R=rsc DELTA=97 (52 added, 4 deleted, 41 changed) OCL=25585 CL=25607
2009-03-02fix names: s/fd/r/Russ Cox1-9/+9
R=r DELTA=9 (0 added, 0 deleted, 9 changed) OCL=25593 CL=25593
2009-02-17drop trailing slashes - missed comment from last reviewRob Pike1-2/+2
TBR=rsc OCL=25135 CL=25135
2009-02-17more fun with triv.go: flags and argumentsRob Pike1-0/+23
R=rsc DELTA=23 (23 added, 0 deleted, 0 changed) OCL=25088 CL=25134
2009-02-17few more Sizeof.Russ Cox1-3/+2
R=r DELTA=3 (0 added, 1 deleted, 2 changed) OCL=25106 CL=25106
2009-02-16use proper strconv in string values.Rob Pike2-66/+54
make test a little stronger. R=rsc DELTA=94 (27 added, 39 deleted, 28 changed) OCL=25085 CL=25087
2009-02-16comment nitRuss Cox1-2/+0
R=r DELTA=2 (0 added, 2 deleted, 0 changed) OCL=25081 CL=25084
2009-02-16allow hex, octal in Atoi, etc.Russ Cox2-86/+142
R=r DELTA=169 (79 added, 23 deleted, 67 changed) OCL=25079 CL=25083
2009-02-16proposed XML parser design.Russ Cox1-0/+426
inspired by expat's callback interface, but a bit simpler thanks to go interfaces. also serves as reference notes about XML. the parser itself is unimplemented. not in Makefiles, though it does build. R=r DELTA=425 (425 added, 0 deleted, 0 changed) OCL=25077 CL=25080
2009-02-16make interface to the flags themselves more public.Rob Pike2-55/+139
add visitor functions to scan the flags. add a way to set a flag. add a flag test. R=rsc DELTA=169 (99 added, 19 deleted, 51 changed) OCL=25076 CL=25078
2009-02-16fix build - missed this file beforeRuss Cox1-0/+20
TBR=r OCL=25074 CL=25074
2009-02-16use embedded interface typesRuss Cox3-204/+48
R=r DELTA=205 (1 added, 157 deleted, 47 changed) OCL=25071 CL=25073
2009-02-16io.PipeRuss Cox8-67/+475
assorted underscore cleanup R=r DELTA=488 (410 added, 3 deleted, 75 changed) OCL=25070 CL=25070
2009-02-15assorted changes:Russ Cox10-163/+192
- use a lock instead of a thread in once avoids deadlock in recursive once calls - implement os.Setenv - remove "export" from some scripts - remove _ from names in time package - fix time test for non-MTV machines R=r DELTA=265 (87 added, 58 deleted, 120 changed) OCL=25057 CL=25057
2009-02-15change the URL in the test to avoid a redirection that breaks it in sydney.Rob Pike1-3/+3
R=rsc OCL=25054 CL=25054
2009-02-15add os.ForkExec, os.Exec, os.Wait, exec.OpenCmd.Russ Cox13-16/+848
as thread-safe as possible, given the surrounding system. add stub RWLock implementation. R=r DELTA=852 (834 added, 6 deleted, 12 changed) OCL=25046 CL=25053
2009-02-15insert ${GOOS} and ${GOARCH} inRuss Cox1-2/+2
command-line comment. R=r DELTA=11 (6 added, 0 deleted, 5 changed) OCL=25051 CL=25051
2009-02-15cleanups:Russ Cox12-242/+273
get rid of _ on private names in net. fix os_test file name list. newline not needed on Errorf. R=r DELTA=305 (34 added, 2 deleted, 269 changed) OCL=25047 CL=25047
2009-02-13- added Makefile change again (lost due to to p4 misuse)Robert Griesemer1-0/+1
R=rsc OCL=25026 CL=25026
2009-02-13- vector package (identical to array except for names)Robert Griesemer7-9/+498
- updated some file (but not all - left array package in place for now) R=rsc DELTA=530 (483 added, 0 deleted, 47 changed) OCL=25025 CL=25025
2009-02-13convert composite literals from { } to ( ).Russ Cox54-1454/+1454
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-13fix buildRuss Cox1-1/+1
TBR=r OCL=25021 CL=25021
2009-02-11insert type assertions when narrowing.Russ Cox6-26/+164
R=r OCL=24349 CL=24913
2009-02-10change DirInfo->dirInfo now that 6g export bug is fixedRob Pike3-4/+4
R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=24788 CL=24805
2009-02-10drop the os_ prefix on the file names in os. os_test.go can stay.Rob Pike6-10/+10
R=rsc DELTA=793 (392 added, 392 deleted, 9 changed) OCL=24777 CL=24804
2009-02-10Make Readdirnames work properly on Linux.Rob Pike3-142/+62
Refactor so Readdir is portable code. R=rsc DELTA=192 (50 added, 130 deleted, 12 changed) OCL=24770 CL=24772
2009-02-10Fix Readdirnames to behave properly if reading in little pieces. Requires ↵Rob Pike4-37/+104
storing some state in the FD. This is Darwin only. Next CL will make Readdir use Readdirnames to generate its files and move Readdir into portable code, as well as fix Readdirnames for Linux. R=rsc DELTA=116 (79 added, 12 deleted, 25 changed) OCL=24756 CL=24768
2009-02-10- removed obsolete commentsRobert Griesemer1-2/+1
R=r DELTA=2 (0 added, 1 deleted, 1 changed) OCL=24755 CL=24760
2009-02-09fix Getdirentries: base comes back in r2.Rob Pike1-0/+3
R=rsc DELTA=3 (3 added, 0 deleted, 0 changed) OCL=24727 CL=24727
2009-02-09simple accessors for Dir mode bitsRob Pike3-0/+71
R=rsc DELTA=71 (71 added, 0 deleted, 0 changed) OCL=24687 CL=24694
2009-02-09typo. this split-os building thing is frustrating.Rob Pike1-1/+1
R=rsc OCL=24681 CL=24681
2009-02-09add Readdir: returns an array of Dir structuresRob Pike3-24/+188
R=rsc DELTA=200 (176 added, 12 deleted, 12 changed) OCL=24680 CL=24680
2009-02-09fix int64/int error - build brokenRob Pike1-1/+1
R=gri OCL=24678 CL=24678
2009-02-08First pass at reading directories.Rob Pike8-13/+216
Syscall support. Readdirnames returns array of strings of contents of directory. R=rsc DELTA=216 (201 added, 0 deleted, 15 changed) OCL=24642 CL=24655