summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-09-18more helpful messages for name-related syntax errors.Russ Cox2-1/+56
R=ken OCL=15477 CL=15479
2008-09-17time & date.Russ Cox14-29/+515
rename AddrToInt, StatToInt, etc -> BytePtr, StatPtr, ... R=r OCL=15450 CL=15456
2008-09-17Linux bison rejects // comments outside { code snippets }Russ Cox1-1/+1
R=ken DELTA=1 (0 added, 0 deleted, 1 changed) OCL=15444 CL=15446
2008-09-17fix printing of -(1<<63)Russ Cox1-4/+8
R=r OCL=15441 CL=15445
2008-09-17add network listening & testsRuss Cox8-43/+186
R=r,presotto OCL=15410 CL=15440
2008-09-16assignment in selectKen Thompson3-1/+37
with new select operator R=r OCL=15418 CL=15418
2008-09-16new grammar:Rob Pike2-31/+58
binary <- is send unary <- is recv -< is gone case a := <-ch: works in select case a = <-ch: works in select support for new cases is not yet in the compiler but all non-select code works second CL will update affected go source R=ken OCL=15414 CL=15414
2008-09-16fix / work around bugs in bufio testRuss Cox1-2/+10
R=r DELTA=11 (8 added, 0 deleted, 3 changed) OCL=15405 CL=15405
2008-09-16preliminary network - just Dial for nowRuss Cox9-0/+1517
R=r,presotto OCL=15393 CL=15399
2008-09-16acid fixes etc. still not perfect.Russ Cox2-39/+715
R=r DELTA=764 (694 added, 38 deleted, 32 changed) OCL=15285 CL=15395
2008-09-15redeclaring methodsKen Thompson1-0/+1
R=r OCL=15375 CL=15375
2008-09-15bug - divide and mod of a byteKen Thompson1-7/+15
R=r OCL=15370 CL=15370
2008-09-14robs wednesday bugKen Thompson3-8/+14
R=r OCL=15327 CL=15327
2008-09-14methods on any typeKen Thompson9-177/+169
-- but only *struct tested R=r OCL=15326 CL=15326
2008-09-13package name on signatures thru renameKen Thompson1-1/+1
R=r OCL=15314 CL=15314
2008-09-13Automated g4 rollback of changelist 15312.Ken Thompson6-133/+166
*** Reason for rollback *** <enter reason for rollback> *** Original change description *** correct signal name thru package rename R=r OCL=15313 CL=15313
2008-09-13correct signal name thru package renameKen Thompson6-166/+133
R=r OCL=15312 CL=15312
2008-09-13snprints for safetyKen Thompson1-15/+15
R=r OCL=15311 CL=15311
2008-09-13remove special trap-handling code for array out of bounds -Rob Pike2-76/+11
compiler doesn't generate them any more R=ken OCL=15309 CL=15309
2008-09-121 got rid if static 'fn wo return' testKen Thompson7-296/+346
2 added dynamic calls to throw for array bounds and 'fn wo return' 3 small optimization on index[constant] R=r OCL=15281 CL=15281
2008-09-12buffered input & outputRuss Cox4-9/+447
R=r DELTA=812 (803 added, 0 deleted, 9 changed) OCL=15225 CL=15280
2008-09-12change rand names to match type namesRuss Cox1-34/+44
R=r DELTA=66 (19 added, 9 deleted, 38 changed) OCL=15232 CL=15265
2008-09-12rudimentary string utilities.Russ Cox2-8/+206
R=r DELTA=314 (306 added, 8 deleted, 0 changed) OCL=15074 CL=15263
2008-09-12fix up linux trap handling - INTB 5 gives SEGVRob Pike4-38/+60
R=rsc OCL=15244 CL=15244
2008-09-12fix silly portability bugRob Pike4-2/+8
R=gri OCL=15238 CL=15238
2008-09-12- catch trace trapsRob Pike6-15/+58
- disassemble the instructions in a trace trap to see if it's a run-time trap - if so, print relevant info - avoid double-printing traceback on panic R=ken,rsc DELTA=66 (50 added, 7 deleted, 9 changed) OCL=15199 CL=15224
2008-09-11bug075Ken Thompson2-0/+2
R=r OCL=15192 CL=15192
2008-09-11fixes for funcs without returnsRob Pike4-5/+4
R=ken OCL=15170 CL=15170
2008-09-11function wo return is an error - not warningKen Thompson1-1/+1
R=r OCL=15169 CL=15169
2008-09-11- fixed missing return issuesRobert Griesemer1-1/+1
R=r OCL=15168 CL=15168
2008-09-11implement discussed function wo return statementKen Thompson2-5/+42
R=r OCL=15166 CL=15166
2008-09-11pull O_RDONLY etc. up to os libraryRob Pike3-2/+16
R=rsc DELTA=16 (14 added, 0 deleted, 2 changed) OCL=15156 CL=15163
2008-09-11make syscall use strings for file namesRob Pike9-212/+87
tweak os to adjust move StringToBytes into syscall, at least for now this program still works: package main import os "os" func main() { os.Stdout.WriteString("hello, world\n"); a, b := os.NewFD(77).WriteString("no way"); os.Stdout.WriteString(b.String() + "\n"); } R=rsc DELTA=263 (59 added, 176 deleted, 28 changed) OCL=15153 CL=15153
2008-09-11add lib/os to standard buildRob Pike7-11/+197
break lib/os into multiple source files R=rsc DELTA=189 (178 added, 4 deleted, 7 changed) OCL=15149 CL=15152
2008-09-10bug generating duplicate interface signaturesKen Thompson5-8/+49
R=r OCL=15119 CL=15119
2008-09-10bug in type of first argument to sliceKen Thompson1-3/+3
R=r OCL=15113 CL=15113
2008-09-10make FD a struct with Read, Write, etc.Rob Pike1-38/+63
as methods R=gri,rsc DELTA=99 (56 added, 31 deleted, 12 changed) OCL=15103 CL=15103
2008-09-10add an Error type to be used as a singleton pointerRob Pike3-52/+127
put all the code in one file for now to work around compiler bug R=gri,rsc DELTA=168 (120 added, 41 deleted, 7 changed) OCL=15100 CL=15100
2008-09-10rudimentary beginnings of soon-to-be-real os libraryRob Pike3-0/+88
R=gri DELTA=76 (76 added, 0 deleted, 0 changed) OCL=15086 CL=15088
2008-09-09- added convenience wrappers for sortRobert Griesemer1-2/+12
(work now with Ken's latest compiler fix) - exoanded test cases accordingly - fixed a type in the spec (thx r) R=r DELTA=65 (62 added, 2 deleted, 1 changed) OCL=15050 CL=15050
2008-09-09fixed bug in certainKen Thompson3-24/+58
evaluation of complex literals R=r OCL=15036 CL=15036
2008-09-09go threads for OS XRuss Cox10-68/+666
R=r OCL=14944 CL=15013
2008-09-08fix bug in stack limit calculation - was setting limit reg in wrong place.Rob Pike2-9/+5
R=ken OCL=14981 CL=14981
2008-09-08- added sort package and test caseRobert Griesemer2-1/+96
R=r OCL=14975 CL=14975
2008-09-08go linux x86-64 kernel fixes:Russ Cox2-4/+4
* change .gosymtab and .gopclntab to section 7 (note) * start INITTEXT at 4MB, not 4KB R=r OCL=14953 CL=14959
2008-09-08bug with struct literal with metodsKen Thompson1-2/+10
R=r OCL=14937 CL=14937
2008-09-05T{} syntax for constructorsKen Thompson1-92/+92
T(expression) for conversion FUNC keyword no longer a type R=r OCL=14887 CL=14887
2008-09-05use a makefile to build mathRob Pike4-5/+52
fix a typo in syscall/Makefile R=ken OCL=14863 CL=14863
2008-09-04bugs 29, 61, 62, 74Ken Thompson5-58/+60
fixedbugs 49 now (correctly) fails bugs 32, 41, 68, 77 shouldnt be bugs R=r OCL=14842 CL=14842
2008-09-04include math in standard buildRob Pike4-0/+27
R=ken OCL=14811 CL=14811