summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-20draft of memory model.Russ Cox1-0/+457
R=tgs DELTA=545 (545 added, 0 deleted, 0 changed) OCL=25212 CL=25268
2009-02-20Rewrite lexical section.Rob Pike1-243/+320
Put grammar productions into a box with a separate background color. R=gri DELTA=397 (132 added, 49 deleted, 216 changed) OCL=25235 CL=25258
2009-02-19autogenerate the table of contentsRob Pike1-146/+2
R=rsc DELTA=149 (1 added, 145 deleted, 3 changed) OCL=25231 CL=25234
2009-02-19Fix most HTML errors.Rob Pike1-166/+67
Cut introduction. Start rewrite. R=gri DELTA=201 (20 added, 118 deleted, 63 changed) OCL=25226 CL=25229
2009-02-19go_spec.txt formatted in html.Robert Griesemer1-1416/+1844
No textual changes except for html formatting. Seems like a fine intermediate step. R=r DELTA=7638 (4079 added, 3559 deleted, 0 changed) OCL=25211 CL=25224
2009-02-19- permit ()'s in types (TODO: update spec)Robert Griesemer1-11/+24
- accept embedded interfaces in interfaces - missing: output incorrect, but at least all source code is accepted again R=r OCL=25223 CL=25223
2009-02-19Finish the lexical section.Rob Pike1-1/+173
DELTA=176 (172 added, 0 deleted, 4 changed) OCL=25182 CL=25222
2009-02-18First piece of Go reference manual.Rob Pike1-0/+93
R=ken,gri,rsc DELTA=185 (185 added, 0 deleted, 0 changed) OCL=25133 CL=25169
2009-02-18allow parens to disambiguate types.Russ Cox2-1/+29
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 Cox4-5/+10
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- accept new composite literal syntaxRobert Griesemer3-148/+33
- remove all parsing heuristics - as a result, accept a wider syntax, but parser is simpler R=r OCL=25029 CL=25029
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 Griesemer13-47/+536
- 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 Cox92-1616/+1614
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-13label declarations not handled properlyRobert Griesemer2-0/+31
R=rsc DELTA=27 (27 added, 0 deleted, 0 changed) OCL=25015 CL=25015
2009-02-12- fixed bugs related to the empty statementRobert Griesemer4-19/+28
(now in sync with the spec and with 6g) - fixed incorrect logging statement in gds R=r OCL=24970 CL=24970
2009-02-11- syntax for composite literals use () instead of {}Robert Griesemer1-33/+29
- do not permit + for array concatenation anymore (not implemented and not a good idea) - document that unsafe function results are compile time constants - fixed minor typos DELTA=41 (7 added, 11 deleted, 23 changed) OCL=24899 CL=24927
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 Cox17-62/+208
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-11- language for embedded interfaces (as discussed this morning)Robert Griesemer1-2/+17
- fixed a syntax error R=r DELTA=17 (15 added, 0 deleted, 2 changed) OCL=24876 CL=24889
2009-02-11Added section on package unsafe:Robert Griesemer1-3/+96
- contains a (proposed) constant Maxalign - contains some text re" alignment guarantees R=ken,r DELTA=97 (94 added, 1 deleted, 2 changed) OCL=24791 CL=24871
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