- 20 Apr, 2009 10 commits
-
-
Robert Griesemer authored
- removed closed, resolved, or off-the-table items - consolidated remaining items - no changes to the spec R=r DELTA=116 (1 added, 102 deleted, 13 changed) OCL=27596 CL=27640
-
Robert Griesemer authored
R=r DELTA=1 (1 added, 0 deleted, 0 changed) OCL=27633 CL=27639
-
David Symonds authored
R=r APPROVED=r DELTA=3 (1 added, 0 deleted, 2 changed) OCL=27624 CL=27626
-
David Symonds authored
Imagine your var has a value of zero. If you have a goroutine calling Set(5), and another calling Increment(+1), then you only want one of these outcomes: - Set completes first, and then Increment occurs => 6 - Increment completes first, and then Set occurs => 5 However, you could get a sequence: - read (for Increment) 0 - set (for Set) 5 - write (for Increment) 1 This results in a value of 1, which is undesirable. Kudos to dnadasi for catching this. R=r APPROVED=r DELTA=3 (3 added, 0 deleted, 0 changed) OCL=27625 CL=27625
-
David Symonds authored
Fix a couple of style mistakes. R=r,rsc APPROVED=r DELTA=34 (30 added, 1 deleted, 3 changed) OCL=27623 CL=27623
-
David Symonds authored
This handles integer-valued vars in a singleton struct, and exports functions for incrementing, setting and getting those vars, as well as rendering all the vars in a standard format. Demonstrate the use of the exvar package in the http/triv server. R=dcross,r APPROVED=r DELTA=122 (122 added, 0 deleted, 0 changed) OCL=27617 CL=27622
-
Rob Pike authored
R=ken OCL=27621 CL=27621
-
Rob Pike authored
R=ken OCL=27620 CL=27620
-
Rob Pike authored
R=gri DELTA=15 (0 added, 0 deleted, 15 changed) OCL=27619 CL=27619
-
Rob Pike authored
R=iant,gri DELTA=14 (14 added, 0 deleted, 0 changed) OCL=27615 CL=27618
-
- 19 Apr, 2009 1 commit
-
-
Rob Pike authored
R=ken DELTA=71 (71 added, 0 deleted, 0 changed) OCL=27616 CL=27616
-
- 18 Apr, 2009 3 commits
-
-
Rob Pike authored
R=gri DELTA=22 (5 added, 0 deleted, 17 changed) OCL=27608 CL=27614
-
Ken Thompson authored
exact spec: a) must be a multi-assignment w := b) a proper subset of the lhs can be declared in same block with the same type with no "redeclaration" error R=r OCL=27610 CL=27610
-
Rob Pike authored
this allows gotest to find the locally built package when doing make gotest without this option, one would have to say make install gotest which kinda defeats the purpose based on discussions with rsc. R=ken,rsc DELTA=12 (10 added, 1 deleted, 1 changed) OCL=27606 CL=27606
-
- 17 Apr, 2009 10 commits
-
-
Rob Pike authored
Change the representation of errors in "os" to be cleaner. (But they are not really representative of the power of the new scheme.) Step 3 will be to remove all references to os.NewError. Step 4 will be to delete the second half of lib/os/error.go. R=rsc OCL=27587 CL=27587
-
Rob Pike authored
lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
-
Russ Cox authored
R=ken OCL=27581 CL=27585
-
Russ Cox authored
R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=27578 CL=27584
-
Russ Cox authored
R=r DELTA=23 (8 added, 0 deleted, 15 changed) OCL=27577 CL=27583
-
Russ Cox authored
R=r DELTA=6 (0 added, 2 deleted, 4 changed) OCL=27532 CL=27582
-
Rob Pike authored
R=rsc OCL=27579 CL=27579
-
Russ Cox authored
import ( "vector" -> "container/vector" "ast" -> "go/ast" "sha1" -> "hash/sha1" etc. ) and update Makefiles. Because I did the conversion semi-automatically, I sorted all the import blocks as a post-processing. Some files have therefore changed that didn't strictly need to. Rename local packages to lower case. The upper/lower distinction doesn't work on OS X and complicates the "single-package directories with the same package name as directory name" heuristic used by gobuild and godoc to create the correlation between source and binary locations. Now that we have a plan to avoid globally unique names, the upper/lower is unnecessary. The renamings will cause trouble for a few users, but so will the change in import paths. This way, the two maintenance fixes are rolled into one inconvenience. R=r OCL=27573 CL=27575
-
Russ Cox authored
for example, if building in src/lib/container, objects go in obj/container/, so that 6g -Iobj will find "container/vector". install packages in hierarchy in $GOROOT. this change only updates gobuild. another change will have to update all the sources to refer to "container/vector" etc and regenerate all the Makefiles. there are some pretty lame functions here (e.g., Mkdir, Remove, the Getenv("PWD")) but i will implement better ones in another CL. R=r DELTA=117 (99 added, 2 deleted, 16 changed) OCL=27550 CL=27574
-
Rob Pike authored
R=rsc DELTA=92 (73 added, 0 deleted, 19 changed) OCL=27566 CL=27572
-
- 16 Apr, 2009 16 commits
-
-
Russ Cox authored
fix bug in RPC.go (import "RPC" not "rpc.pb") R=r DELTA=483 (261 added, 64 deleted, 158 changed) OCL=27547 CL=27549
-
Russ Cox authored
R=r DELTA=1305 (704 added, 590 deleted, 11 changed) OCL=27546 CL=27548
-
Russ Cox authored
R=ken OCL=27537 CL=27545
-
Rob Pike authored
as the .6 file is read. now tests will be run in file order. R=rsc DELTA=9 (6 added, 1 deleted, 2 changed) OCL=27542 CL=27544
-
Rob Pike authored
R=gri OCL=27543 CL=27543
-
Rob Pike authored
R=rsc DELTA=13 (6 added, 0 deleted, 7 changed) OCL=27539 CL=27541
-
Rob Pike authored
R=rsc DELTA=5 (3 added, 0 deleted, 2 changed) OCL=27536 CL=27540
-
Rob Pike authored
R=rsc,iant DELTA=17 (11 added, 0 deleted, 6 changed) OCL=27529 CL=27535
-
Russ Cox authored
as a reminder, the old conversion was that you could write var arr [10]byte; var slice []byte; slice = arr; but now you have to write slice = &arr; the change eliminates an implicit &, so that the only implicit &s left are in the . operator and in string(arr). also, removed utf8.EncodeRuneToString in favor of string(rune). R=r DELTA=83 (1 added, 23 deleted, 59 changed) OCL=27531 CL=27534
-
Russ Cox authored
R=ken OCL=27533 CL=27533
-
Russ Cox authored
R=r DELTA=24 (21 added, 0 deleted, 3 changed) OCL=27527 CL=27527
-
Russ Cox authored
R=gri DELTA=1341 (668 added, 282 deleted, 391 changed) OCL=27485 CL=27526
-
Russ Cox authored
R=r DELTA=6 (5 added, 1 deleted, 0 changed) OCL=27500 CL=27525
-
Russ Cox authored
(HTTP requires absolute in protocol). add URL tests R=r DELTA=243 (242 added, 0 deleted, 1 changed) OCL=27472 CL=27523
-
Russ Cox authored
R=r DELTA=36 (1 added, 0 deleted, 35 changed) OCL=27484 CL=27522
-
Russ Cox authored
R=gri DELTA=252 (240 added, 3 deleted, 9 changed) OCL=27482 CL=27521
-