summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-29- removed obsolete files from repositoryRobert Griesemer19-5618/+0
(most of this has been integrated into pretty, the rest has been archived). R=r OCL=23842 CL=23842
2009-01-29- make test work with 6gRobert Griesemer1-1/+1
R=r OCL=23821 CL=23823
2009-01-29optimizer bug w STOstringKen Thompson3-8/+54
R=r OCL=23820 CL=23820
2009-01-28add stack testRuss Cox1-0/+52
R=r DELTA=48 (48 added, 0 deleted, 0 changed) OCL=23715 CL=23732
2009-01-28fix possible infinite recursion in eqtype.Russ Cox2-3/+5
don't use intermediate register to move 32-or-fewer-bit immediate constants into memory. R=ken OCL=23726 CL=23726
2009-01-28clean up range grammarRuss Cox1-17/+10
R=ken OCL=23712 CL=23714
2009-01-28Use explicit allspan list instead ofRuss Cox7-40/+43
trying to find all the places where spans might be recorded. Free can cascade into complicated span manipulations that move them from list to list; the old code had the possibility of accidentally processing a span twice or jumping to a different list, causing an infinite loop. R=r DELTA=70 (28 added, 25 deleted, 17 changed) OCL=23704 CL=23710
2009-01-28additions to array container:Robert Griesemer4-49/+154
- added Slice, Cut, InsertArray, AppendArray - renamed Remove -> Delete (so we have: Insert, Delete, Cut) - more factoring of code - extra tests (could use some more) R=r,rsc DELTA=179 (127 added, 22 deleted, 30 changed) OCL=23648 CL=23685
2009-01-27bug135 is fixedRob Pike2-4/+0
TBR=ken OCL=23650 CL=23650
2009-01-27bug 135Ken Thompson2-7/+25
R=r OCL=23646 CL=23646
2009-01-27make "size 6.out" work on mac.Russ Cox1-5/+11
R=r DELTA=11 (6 added, 0 deleted, 5 changed) OCL=23629 CL=23631
2009-01-27test for deferRob Pike1-0/+52
R=rsc DELTA=48 (48 added, 0 deleted, 0 changed) OCL=23624 CL=23626
2009-01-27change dotdotdot interfaces to be structs,Russ Cox4-18/+20
not pointers to structs. fix defered dotdotdot. R=r,ken DELTA=25 (7 added, 5 deleted, 13 changed) OCL=23620 CL=23625
2009-01-27- added missing sections on comparisons for some typesRobert Griesemer1-40/+60
- clarified legal map key types (must support comparison) - updated open issues/todo list R=r DELTA=81 (48 added, 19 deleted, 14 changed) OCL=23580 CL=23621
2009-01-27pragma textflagKen Thompson8-19/+27
fixes latent bugs in go and defer R=r OCL=23613 CL=23613
2009-01-27various race conditions.Russ Cox3-14/+38
R=r DELTA=43 (29 added, 5 deleted, 9 changed) OCL=23608 CL=23611
2009-01-27spellingKen Thompson2-6/+5
R=r OCL=23602 CL=23602
2009-01-27deferKen Thompson10-30/+141
R=r OCL=23592 CL=23592
2009-01-27 defer statementRobert Griesemer1-4/+30
R=r DELTA=30 (26 added, 0 deleted, 4 changed) OCL=23533 CL=23569
2009-01-26f, ok := i.(Foo) does not compile if i already is equivalent to FooRob Pike2-0/+22
R=rsc DELTA=18 (18 added, 0 deleted, 0 changed) OCL=23544 CL=23547
2009-01-26defer statementRobert Griesemer5-9/+13
R=r OCL=23542 CL=23542
2009-01-26gc #0. mark and sweep collector.Russ Cox16-47/+477
R=r,gri DELTA=472 (423 added, 2 deleted, 47 changed) OCL=23522 CL=23541
2009-01-26assignment count mismatch: 2 = 1.Russ Cox2-3/+9
R=ken OCL=23534 CL=23534
2009-01-26bug134Russ Cox3-7/+25
R=ken OCL=23532 CL=23532
2009-01-26bug133Russ Cox8-10/+21
R=ken OCL=23528 CL=23528
2009-01-26in hash implementation, if data >= 8, align to 8.Russ Cox1-7/+16
R=ken OCL=23519 CL=23521
2009-01-26print(map) and print(chan) as pointers.Russ Cox3-5/+5
R=ken OCL=23520 CL=23520
2009-01-26improved logging formats.Rob Pike2-84/+142
R=rsc DELTA=210 (118 added, 60 deleted, 32 changed) OCL=23508 CL=23518
2009-01-26interface speedups and fixes.Russ Cox6-54/+168
more caching, better hash functions, proper locking. fixed a bug in interface comparison too. R=ken DELTA=177 (124 added, 10 deleted, 43 changed) OCL=23491 CL=23493
2009-01-26removed a:b in range syntaxKen Thompson3-16/+60
added another channel test R=r OCL=23488 CL=23488
2009-01-26make time fields publicRuss Cox3-49/+49
R=r DELTA=49 (0 added, 0 deleted, 49 changed) OCL=23480 CL=23487
2009-01-26Add an accessor function os.FD.Fd() to get the fileIan Lance Taylor2-10/+10
descriptor. Use it in the PollServer code. 6g currently accepts this code without this change, but it should not. Test case for the bug is bug133.go. R=rsc DELTA=10 (0 added, 0 deleted, 10 changed) OCL=23451 CL=23486
2009-01-26Add a test for a case where 6g thinks that a field is visibleIan Lance Taylor5-0/+42
when it should not be. I couldn't get this any simpler; the error seems to have to do with the order of the imports in bug2.go. R=rsc DELTA=26 (26 added, 0 deleted, 0 changed) OCL=23450 CL=23482
2009-01-26implement new restrictions on whatRuss Cox15-141/+282
can be compared/hashed. R=r DELTA=351 (201 added, 80 deleted, 70 changed) OCL=23423 CL=23481
2009-01-26- clarified slice index bounds rulesRobert Griesemer1-32/+58
- clarified comparisons of interfaces, slices, maps, channels - removed respective TODO's R=r DELTA=76 (42 added, 16 deleted, 18 changed) OCL=23132 CL=23479
2009-01-26add start to a logging package.Rob Pike3-0/+207
R=rsc DELTA=205 (205 added, 0 deleted, 0 changed) OCL=23448 CL=23478
2009-01-24bug in async select readKen Thompson1-19/+22
buganizer 1589219 channel is returning same values multiple times R=r OCL=23447 CL=23447
2009-01-23make test/chan/nonblock work even with real os threadsRuss Cox1-33/+62
R=ken OCL=23422 CL=23422
2009-01-23fix typo in comment. s/put/Put/Rob Pike1-1/+1
R=ken OCL=23419 CL=23419
2009-01-23remove the "open" concept from reflect and go with slices and arrays.Rob Pike5-56/+49
the two still share an interface and Kind; that's probably ok but might be worth revisiting. R=rsc DELTA=74 (1 added, 8 deleted, 65 changed) OCL=23416 CL=23418
2009-01-23- snapshot before making larger changeRobert Griesemer2-41/+103
R=r OCL=23403 CL=23403
2009-01-23change the representation of arrays in protobufs from *[]item to []item.Rob Pike1-0/+16
for simplicity of user's code, optional arrays of bytes also don't have a pointer. requires adding a "Set()" method to arrays in reflect. still to do: protocol compilers, google/net/rpc. R=rsc DELTA=227 (36 added, 95 deleted, 96 changed) OCL=23387 CL=23389
2009-01-23snapshot before making more changes:Robert Griesemer5-162/+222
- fine-tuning of ast - more accurate block pos info (improved printing in some cases) - collecting local variables and fields - more work on type checking - lots of minor tweaks R=r OCL=23375 CL=23375
2009-01-22fix build - missed this fileRuss Cox1-0/+20
TBR=r OCL=23335 CL=23335
2009-01-22move math routines from package sys to package math,Russ Cox28-434/+433
though they still build in src/runtime. use cgo instead of hand-written wrappers. R=r DELTA=740 (289 added, 300 deleted, 151 changed) OCL=23326 CL=23331
2009-01-22use $GC, $GL in gotest, to match gccgo's gotest.Russ Cox1-6/+18
use $GC in all_test.go for portability. R=r DELTA=19 (12 added, 0 deleted, 7 changed) OCL=23305 CL=23325
2009-01-22cosmetic change only:Robert Griesemer1-5/+5
- slightly simplified a couple of productions (CommClause, SwitchClause) by reordering R=r DELTA=5 (0 added, 0 deleted, 5 changed) OCL=23304 CL=23323
2009-01-22let test sources specify commands to runRuss Cox1-0/+5
before their compilation. R=r OCL=23300 CL=23300
2009-01-21change reflect.CopyArray into a method on ArrayValue called CopyFromRob Pike3-3/+15
R=rsc DELTA=16 (12 added, 0 deleted, 4 changed) OCL=23242 CL=23242
2009-01-21- added comment with various viewpoints so we have whole storyRobert Griesemer1-0/+63
once we close this R=r OCL=23239 CL=23239