summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-15more casifying fixupsRob Pike2-193/+193
R=rsc DELTA=213 (0 added, 0 deleted, 213 changed) OCL=22878 CL=22882
2009-01-15casify fmt and its dependents.Rob Pike2-155/+153
R=rsc DELTA=224 (0 added, 2 deleted, 222 changed) OCL=22875 CL=22875
2009-01-15diagnose missing symbols instead ofRob Pike3-1/+4
silently miscompiling. R=rsc OCL=22872 CL=22872
2009-01-15- fixed untab.go to compile againRobert Griesemer1-7/+7
R=r OCL=22871 CL=22871
2009-01-15- converted tabwriter to new naming schemeRobert Griesemer2-96/+96
R=r OCL=22870 CL=22870
2009-01-15- missed a few identifiersRobert Griesemer1-13/+13
R=r OCL=22864 CL=22864
2009-01-15- lowercase non-exported functions in bignumRobert Griesemer1-96/+97
R=r DELTA=117 (1 added, 0 deleted, 116 changed) OCL=22764 CL=22863
2009-01-15- added mechanism to detect capitalization issuesRobert Griesemer4-6/+56
Use: pretty -naming files R=r OCL=22859 CL=22859
2009-01-15printf->Printf etc.Rob Pike20-154/+154
the raw fmt routines will be another, smaller but subtler pass. R=rsc DELTA=157 (0 added, 0 deleted, 157 changed) OCL=22851 CL=22851
2009-01-15Test that a const with an explicit type is not treated asIan Lance Taylor2-0/+15
having an abstract type. R=gri DELTA=11 (11 added, 0 deleted, 0 changed) OCL=22829 CL=22832
2009-01-15Test that interfaces are correctly handled by pointer and byIan Lance Taylor2-0/+154
value for large and small objects. Currently one case fails with 6g. R=rsc DELTA=150 (150 added, 0 deleted, 0 changed) OCL=22823 CL=22827
2009-01-15Recognize gccgo error messages:Ian Lance Taylor1-2/+2
interface5.go:15:5: error: incompatible types in assignment interface5.go:16:5: error: incompatible types in assignment (Yes, these could be better). R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22821 CL=22826
2009-01-14- use new letter definition for prettyRobert Griesemer4-18/+32
- fixed a bug with error column reporting in the presence of utf-8 chars - fixed an assertion failure R=r OCL=22762 CL=22762
2009-01-14add unicode library stub with justRuss Cox4-0/+754
IsUpper and IsLetter. R=r DELTA=746 (746 added, 0 deleted, 0 changed) OCL=22743 CL=22750
2009-01-14restore "os" identifier to keep consistent with text.Rob Pike1-1/+1
R=presotto OCL=22733 CL=22733
2009-01-14Add cgo2c program to translate mixed Go/C code into C. ThisIan Lance Taylor5-36/+619
lets us use a single source file for both 6c and gcc, handling the incompatible handling of return values. R=rsc DELTA=649 (613 added, 35 deleted, 1 changed) OCL=22682 CL=22730
2009-01-13change another yacc reference to bison.Russ Cox1-1/+1
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=22662 CL=22691
2009-01-13delete playpen copy of mallocRuss Cox10-921/+0
R=r DELTA=905 (0 added, 905 deleted, 0 changed) OCL=22663 CL=22690
2009-01-13in 6g -r (the rsc flag),Russ Cox3-2/+71
rewrite heap pointer moves as xchg. R=ken OCL=22665 CL=22665
2009-01-13Add USED declarations for SysUnused parameters.Ian Lance Taylor1-0/+2
R=rsc DELTA=2 (2 added, 0 deleted, 0 changed) OCL=22640 CL=22642
2009-01-13Tweak code to make it easier to compile with gcc.Ian Lance Taylor7-49/+90
+ Use macros to name symbols with non-ASCII characters. + Make some variables unsigned, because they are compared against unsigned values. + Fix a few void* pointers to be MLink*. R=rsc DELTA=94 (44 added, 3 deleted, 47 changed) OCL=22303 CL=22638
2009-01-12- removed an unnecessary field from AST.Expr nodesRobert Griesemer3-38/+38
R=r OCL=22601 CL=22601
2009-01-09- remove obsolete files (missed before)Robert Griesemer3-491/+0
R=r OCL=22475 CL=22475
2009-01-09- preparation to add type info to astRobert Griesemer8-144/+361
- consolidation of files, cleanup - more success producing idempotent output for some files with comments containing tabs - snapshot of the day R=r OCL=22474 CL=22474
2009-01-09free(nil)Russ Cox1-0/+3
R=iant DELTA=3 (3 added, 0 deleted, 0 changed) OCL=22467 CL=22471
2009-01-09add sys.callerRuss Cox3-38/+101
R=r DELTA=139 (101 added, 38 deleted, 0 changed) OCL=22462 CL=22466
2009-01-09test of automatic indirectRuss Cox1-0/+97
R=r DELTA=93 (93 added, 0 deleted, 0 changed) OCL=22458 CL=22461
2009-01-09clean up automatic indirect, delete some dead code.Russ Cox5-204/+71
R=ken OCL=22454 CL=22457
2009-01-09update tutorial to new language.Rob Pike16-215/+490
add a section on printing add a section on allocation R=rsc DELTA=500 (278 added, 15 deleted, 207 changed) OCL=22381 CL=22456
2009-01-09Use make instead of new to allocate a channel.Ian Lance Taylor1-2/+2
R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22452 CL=22455
2009-01-09now that TCHAN, TMAP, and TSTRING are real types,Russ Cox1-1/+3
can do methods on them without pointer worries. R=ken OCL=22434 CL=22436
2009-01-09simplify flag interface. no more BVal etc. you just get a pointer.Rob Pike10-259/+217
fixed everything except the tutorial. R=rsc DELTA=404 (94 added, 139 deleted, 171 changed) OCL=22414 CL=22422
2009-01-09typoRuss Cox1-1/+1
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=22411 CL=22411
2009-01-09silence gcc warnings.Russ Cox2-2/+2
not sure if the warning in reg.c was a real bug. R=ken OCL=22408 CL=22410
2009-01-096g cleanup suggested by ken.Russ Cox12-179/+87
remove TPTR wrapper around TMAP, TCHAN, TSTRING. R=ken OCL=22406 CL=22409
2009-01-09update sys.reflect and sys.unreflect to accomodateRuss Cox7-63/+138
the possibility of large objects in interface values. R=r DELTA=171 (97 added, 22 deleted, 52 changed) OCL=22382 CL=22382
2009-01-08bug046 and bug080 are fixedRuss Cox3-12/+0
R=r DELTA=72 (30 added, 42 deleted, 0 changed) OCL=22373 CL=22378
2009-01-08second pass on interface fixes and tests.Russ Cox11-141/+359
R=ken OCL=22370 CL=22372
2009-01-08- removed temporary work-arounds from bignum_test, not needed anymoreRobert Griesemer1-89/+28
R=r DELTA=93 (0 added, 61 deleted, 32 changed) OCL=22348 CL=22366
2009-01-08new sort interface - no structs, just slices.Rob Pike2-37/+30
R=rsc DELTA=37 (0 added, 7 deleted, 30 changed) OCL=22330 CL=22342
2009-01-08fix:Russ Cox2-1/+9
type T []int var a []int var t = T(a) R=ken OCL=22341 CL=22341
2009-01-08- first (global) idents with proper links to declarations in html outputRobert Griesemer4-29/+68
(e.g. pretty -html source.go > source.html; then look at the html.file in a browser) R=r OCL=22331 CL=22331
2009-01-08typoRuss Cox1-1/+1
R=ken OCL=22327 CL=22327
2009-01-08many interface bug fixes.Russ Cox9-97/+323
also, after func g() (int, int) func f(int, int) allow f(g()) and func h() (int, int) { return g() } R=ken DELTA=356 (252 added, 26 deleted, 78 changed) OCL=22319 CL=22325
2009-01-08- fixed a bug with building right-recursive trees iterativelyRobert Griesemer3-127/+149
- moving scope handling into parser (simpler) - snapshot of work today so far R=r OCL=22301 CL=22301
2009-01-08Remove duplicate typedef declarations.Ian Lance Taylor1-7/+0
R=rsc DELTA=7 (0 added, 7 deleted, 0 changed) OCL=22267 CL=22281
2009-01-07- more steps towards tracking idents in scopesRobert Griesemer9-57/+56
- snapshot of today R=r OCL=22247 CL=22247
2009-01-07Cache *os.Error values across all users.Rob Pike1-4/+27
R=rsc DELTA=27 (23 added, 0 deleted, 4 changed) OCL=22245 CL=22245
2009-01-07moreKen Thompson1-1/+2
R=r OCL=22240 CL=22240
2009-01-07conversion from closed array to sliceKen Thompson1-51/+30
R=r OCL=22236 CL=22236