summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-03-04reject invalid map key types at compile timeRuss Cox3-12/+24
R=ken OCL=25720 CL=25720
2009-03-04- missing makefileRobert Griesemer1-0/+66
R=r OCL=25714 CL=25714
2009-03-04Created new directory lib/lang:Robert Griesemer5-0/+976
- 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 Cox2-1/+5
R=ken OCL=25705 CL=25705
2009-03-03enable pretty in run.bashRob Pike1-5/+5
R=rsc DELTA=5 (0 added, 0 deleted, 5 changed) OCL=25651 CL=25655
2009-03-03back to T{x}, stricter handling of T(x) vs x.(T)Russ Cox4-68/+87
R=ken DELTA=131 (60 added, 41 deleted, 30 changed) OCL=25617 CL=25633
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox62-1555/+1555
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-23bug 130 (go/defer) interface.method()Ken Thompson1-0/+1
R=r OCL=25356 CL=25356
2009-02-21bug with select :=Ken Thompson1-1/+1
R=r OCL=25278 CL=25278
2009-02-18allow parens to disambiguate types.Russ Cox1-1/+12
examples: chan <- (chan int) chan (<- chan int) (map[string]func())("a": main) R=ken OCL=25151 CL=25151
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-17fix unsafe.Sizeof("abc")Ken Thompson1-5/+13
R=rsc OCL=25105 CL=25105
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-16bug123Russ Cox2-1/+9
R=ken OCL=25075 CL=25075
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-16embedded interface types in interfaces.Russ Cox2-6/+44
R=ken OCL=25072 CL=25072
2009-02-16io.PipeRuss Cox9-67/+476
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 Cox2-5/+11
command-line comment. R=r DELTA=11 (6 added, 0 deleted, 5 changed) OCL=25051 CL=25051
2009-02-15cleanups:Russ Cox13-242/+274
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-15build nitsRuss Cox2-8/+2
R=r DELTA=8 (0 added, 6 deleted, 2 changed) OCL=25045 CL=25045
2009-02-15bug fix for &x[0] when x is sliceRuss Cox1-4/+7
R=ken OCL=25044 CL=25044
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 Cox55-1457/+1457
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-13add composite literal ( ) syntax.Russ Cox4-149/+193
warn about composite literal { } syntax. R=ken OCL=25018 CL=25023
2009-02-13fix buildRuss Cox1-1/+1
TBR=r OCL=25021 CL=25021
2009-02-11require type assertions when narrowing.Russ Cox3-27/+72
R=ken OCL=24350 CL=24914
2009-02-11insert type assertions when narrowing.Russ Cox6-26/+164
R=r OCL=24349 CL=24913
2009-02-11fix gc bug. i think this is tgs's second bug.Russ Cox2-3/+8
i stumbled across it in all.bash. TBR=r OCL=24912 CL=24912
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-10fix export bug Rob tripped over.Russ Cox1-8/+0
the lexer is already hiding names, so this clumsy hack is no longer necessary. R=ken OCL=24783 CL=24783
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-10Implement unsafe.Alignof.Ian Lance Taylor3-1/+20
R=ken DELTA=20 (19 added, 0 deleted, 1 changed) OCL=24719 CL=24771
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