summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-01-29optimizer bug w STOstringKen Thompson3-8/+54
R=r OCL=23820 CL=23820
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 Griesemer3-48/+153
- 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-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-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-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-26gc #0. mark and sweep collector.Russ Cox14-47/+439
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 Cox2-7/+14
R=ken OCL=23532 CL=23532
2009-01-26bug133Russ Cox3-7/+16
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 Cox5-53/+160
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 Thompson1-12/+0
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-26implement new restrictions on whatRuss Cox7-87/+88
can be compared/hashed. R=r DELTA=351 (201 added, 80 deleted, 70 changed) OCL=23423 CL=23481
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-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-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-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-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-21disallow P.t for lowercase t and not our package P.Russ Cox7-17/+19
implement hiding lowercase methods m in signatures by adding in a hash of the package name to the type hash code. remove remaining checks for internally-generated _ names: they are all gone. R=ken OCL=23236 CL=23238
2009-01-21delete unused code and data from 6.outs.Russ Cox6-10/+123
cuts simple test binary by 7%. would be more except for reflection. R=r DELTA=126 (117 added, 4 deleted, 5 changed) OCL=23163 CL=23237
2009-01-206g: better genembedtramp fatal error,Russ Cox2-1/+3
and don't put inaccessible private methods in signature. R=ken OCL=23138 CL=23140
2009-01-206l: do not link in objects from an archive just for init functions.Russ Cox4-18/+73
(makes go libraries behave more like c libraries.) R=r DELTA=85 (67 added, 12 deleted, 6 changed) OCL=23133 CL=23139
2009-01-20delete exportRuss Cox124-652/+651
TBR=r OCL=23121 CL=23127
2009-01-20* delete exportRuss Cox6-210/+123
* rename init functions R=ken OCL=23122 CL=23126
2009-01-206l: ignore undefined symbols in gotypesigs.Russ Cox2-5/+9
they end up in the symbol table with type==0 if they are in a library but not pulled in. also add a few debugging prints. R=r DELTA=11 (5 added, 1 deleted, 5 changed) OCL=23104 CL=23108
2009-01-20add a couple of helper methods to io.ByteBufferRob Pike1-0/+8
R=rsc DELTA=456 (9 added, 2 deleted, 445 changed) OCL=23107 CL=23107
2009-01-16convert tests; nothing interesting.Russ Cox1-2/+2
R=r OCL=23012 CL=23014
2009-01-16disallow other package's names in method callsRuss Cox1-0/+3
R=ken OCL=22999 CL=22999
2009-01-16casify struct fields in entire tree.Russ Cox1-6/+6
TBR=r OCL=22997 CL=22997
2009-01-16disallow other package's names in struct field dot.Russ Cox3-0/+4
R=ken OCL=22996 CL=22996
2009-01-16Change malloc.Lookup to return the size as uintptr rather thanIan Lance Taylor1-1/+1
uint64. This changes the Go code to be consistent with the C code. R=rsc DELTA=6 (0 added, 0 deleted, 6 changed) OCL=22983 CL=22987
2009-01-16Remove types from constants, since they didn't match whatIan Lance Taylor1-2/+2
Tick() expected. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=22979 CL=22986
2009-01-16casify, cleanup sysRuss Cox38-537/+313
R=r OCL=22978 CL=22984
2009-01-16casify linux syscall dependents, plus a few stragglersRob Pike6-97/+97
R=rsc DELTA=97 (0 added, 0 deleted, 97 changed) OCL=22971 CL=22973