summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tag release.2010-10-27weekly.2010-10-27Andrew Gerrand2010-10-280-0/+0
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2778042
* release.2010-10-27Andrew Gerrand2010-10-281-0/+69
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2747044
* rpc: expose Server type to allow multiple RPC Server instancesAndrew Gerrand2010-10-284-63/+152
| | | | | | | | R=r, rsc, msolo, sougou CC=golang-dev http://codereview.appspot.com/2696041 Committer: Andrew Gerrand <adg@golang.org>
* go spec: clarify return type of append, argument type for ...T parametersRobert Griesemer2010-10-271-7/+8
| | | | | | R=iant, ken2, r, rsc CC=golang-dev http://codereview.appspot.com/2774041
* image/png: speed up paletted encoding ~25%Brad Fitzpatrick2010-10-272-3/+18
| | | | | | | | | | Avoids a lot of redundant bounds checks. R=nigeltao, rsc CC=golang-dev http://codereview.appspot.com/2678041 Committer: Nigel Tao <nigeltao@golang.org>
* use copyRuss Cox2010-10-2645-199/+68
| | | | | | R=gri CC=golang-dev http://codereview.appspot.com/2763041
* 5g, 6g, 8g: generate code for string indexRuss Cox2010-10-2614-69/+117
| | | | | | | | instead of calling function. R=ken2 CC=golang-dev http://codereview.appspot.com/2762041
* big: arm assembly, faster software mulWW, divWWRuss Cox2010-10-263-189/+326
| | | | | | | | | | Reduces time spent running crypto/rsa test by 65%. Fixes issue 1227. R=gri, PeterGo CC=golang-dev http://codereview.appspot.com/2743041
* go spec: note re: append() not being implemented yetRobert Griesemer2010-10-261-1/+6
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2761041
* builder: pass GOHOSTOS and GOHOSTARCH to buildAndrew Gerrand2010-10-271-0/+2
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2759041
* gob: must register basic types to store them in interfaces.Rob Pike2010-10-262-0/+68
| | | | | | | | Fixes issue 1230. R=rsc CC=golang-dev http://codereview.appspot.com/2750041
* gob: package doc fixes.Nigel Tao2010-10-271-38/+38
| | | | | | R=r, r2, nigeltao_gnome CC=golang-dev http://codereview.appspot.com/2748041
* test copy([]byte, string)Russ Cox2010-10-261-4/+57
| | | | | | R=r, r2 CC=golang-dev http://codereview.appspot.com/2740041
* gc, runtime: copy([]byte, string)Russ Cox2010-10-265-2/+30
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/2741041
* install doc: arm is a little betterRuss Cox2010-10-261-2/+5
| | | | | | R=adg, r, r2 CC=golang-dev http://codereview.appspot.com/2749041
* doc: update roadmapAndrew Gerrand2010-10-261-1/+1
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2735042
* doc: update roadmapAndrew Gerrand2010-10-261-10/+37
| | | | | | R=r, rsc, iant CC=golang-dev http://codereview.appspot.com/2312042
* arm: enable all testsRuss Cox2010-10-2515-1037/+169
| | | | | | | | | ARM functionality is now completely working. (Or if it's not, we'll fix it.) R=ken2 CC=golang-dev http://codereview.appspot.com/2738041
* godoc: show page title in browser title barRobert Griesemer2010-10-251-1/+5
| | | | | | | | Fixes issue 1158. R=adg CC=golang-dev http://codereview.appspot.com/2736041
* debug/gosym: do not run when cross-compilingRuss Cox2010-10-251-1/+1
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/2737041
* arm: precise float64 software floating pointRuss Cox2010-10-257-275/+787
| | | | | | | | | | | | | | | | | | | | Adds softfloat64 to generic runtime (will be discarded by linker when unused) and adds test for it. I used the test to check the software code against amd64 hardware and then check the software code against the arm and its simulation of hardware. The latter should have been a no-op (testing against itself) but turned up a bug in 5c causing the vlrt.c routines to miscompile. These changes make the cmath, math, and strconv tests pass without any special accommodations for arm. R=ken2 CC=golang-dev http://codereview.appspot.com/2713042
* big: delete unnecessary type declsRobert Griesemer2010-10-254-97/+44
| | | | | | R=rsc, r CC=golang-dev http://codereview.appspot.com/2732041
* tabwriter: delete unnecessary type declarationRobert Griesemer2010-10-251-5/+2
| | | | | | R=rsc, r2 CC=golang-dev http://codereview.appspot.com/2733041
* go/scanner: delete unnecessary type declarationsRobert Griesemer2010-10-251-9/+4
| | | | | | R=rsc, r2 CC=golang-dev http://codereview.appspot.com/2735041
* gotest: generate correct gofmt-formatted _testmain.goRob Pike2010-10-251-5/+5
| | | | | | | | Fixes issue 1225. R=adg CC=golang-dev http://codereview.appspot.com/2729041
* goinstall: display helpful message when encountering a cgo package.Andrew Gerrand2010-10-261-0/+5
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2701042
* runtime: remove .c generated from .goc during make cleanRuss Cox2010-10-251-1/+1
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/2704042
* go spec: append built-inRobert Griesemer2010-10-251-4/+32
| | | | | | R=iant, ken2, r, rsc CC=golang-dev http://codereview.appspot.com/2627043
* go_spec: allow copy() to copy bytes from a string into a []byteRobert Griesemer2010-10-251-5/+11
| | | | | | | | (language change as discussed a while ago) R=iant, ken2, r, rsc CC=golang-dev http://codereview.appspot.com/2716041
* arm: fix signal handlerRuss Cox2010-10-264-35/+28
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/2670042
* 5g: complex "regalloc"Russ Cox2010-10-261-0/+7
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/2727041
* 5c: implement uint32 -> floatRuss Cox2010-10-251-11/+40
| | | | | | | | | | | | There are other missing conversion cases still but they do not show up in my tests. This one is needed for vlrt.c's _v2d (int64, uint64 -> float). Thankfully, VFP has a single instruction to do this. R=ken2 CC=golang-dev http://codereview.appspot.com/2726041
* build: only print "You need to add foo to PATH" when neededAndrew Gerrand2010-10-251-1/+1
| | | | | | | | Fixes issue 1223. R=bradfitz CC=golang-dev http://codereview.appspot.com/2701041
* container/list: elide redundant tests and fix comment typoAndrew Gerrand2010-10-251-8/+2
| | | | | | R=dsymonds CC=golang-dev http://codereview.appspot.com/2700041
* container/list: fix Remove bug and use pointer to self as identifierAndrew Gerrand2010-10-252-19/+38
| | | | | | | | | | | | | | | Remove wasn't nil'ing the *Element.id. This property was exploited by MoveToFront and MoveToBack internally, so I renamed the existing Remove to "remove", and created an exported wrapper "Remove" that does the right thing for the user's sake. Also, saved an allocation by using *List as the id rather than *byte. Fixes issue 1224. R=rsc, dsymonds CC=golang-dev http://codereview.appspot.com/2685042
* goinstall: don't wrongly error out with "multiple package names"Fazlul Shahriar2010-10-251-1/+1
| | | | | | | | | | Fixes issue 1215. R=adg, rsc CC=golang-dev http://codereview.appspot.com/2695042 Committer: Andrew Gerrand <adg@golang.org>
* 6l/8l: global and local variables and type info.Luuk van Dijk2010-10-245-86/+1040
| | | | | | R=rsc CC=golang-dev http://codereview.appspot.com/2201044
* gob: error cleanup 2Rob Pike2010-10-222-122/+63
| | | | | | | | Simplify error handling during the compilation phase. R=rsc CC=golang-dev http://codereview.appspot.com/2652042
* gobs: error cleanup part 1.Rob Pike2010-10-228-214/+229
| | | | | | | | | | | | Remove err from the encoderState and decoderState types, so we're not always copying to and from various copies of the error, and then use panic/recover to eliminate lots of error checking. another pass might take a crack at the same thing for the compilation phase. R=rsc CC=golang-dev http://codereview.appspot.com/2660042
* runtime: print unknown types in panicRuss Cox2010-10-222-1/+11
| | | | | | R=r CC=golang-dev http://codereview.appspot.com/2683041
* 5l, 6l, 8l: introduce sub-symbolsRuss Cox2010-10-227-48/+67
| | | | | | | | | | | | | | | Sub-symbols are laid out inside a larger symbol but can be addressed directly. Use to make Mach-O pointer array not a special case. Will use later to describe ELF sections. Glimpses of the beginning of ELF loading. R=ken2 CC=golang-dev http://codereview.appspot.com/2623043
* gob: allow exchange of interface valuesRob Pike2010-10-228-158/+531
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implemetation describes each value as a string identifying the concrete type of the value, followed by the usual encoding of that value. All types to be exchanged as contents of interface values must be registered ahead of time with the new Register function. Although this would not seem strictly necessary, the linker garbage collects unused types so without some mechanism to guarantee the type exists in the binary, there could be unpleasant surprises. Moreover, the receiver needs a reflect.Type of the value to be written in order to be able to save the data. A Register function seems necessary. The implementation may require defining types in the middle of of sending a value. The old code never did this. Therefore there has been some refactoring to make the encoder and decoder work recursively. This change changes the internal type IDs. Existing gob archives will break with this change. Apologies for that. If this is a deal breaker it should be possible to create a conversion tool. Error handling is too complicated in this code. A subsequent change should clean it up. R=rsc CC=golang-dev http://codereview.appspot.com/2618042
* gofmt -s -w src miscRobert Griesemer2010-10-22121-8466/+8466
| | | | | | R=r, rsc CC=golang-dev http://codereview.appspot.com/2662041
* go ast/parser/printer: permit elision of composite literal types for ↵Robert Griesemer2010-10-2214-25/+438
| | | | | | | | | | composite literal elements gofmt: added -s flag to simplify composite literal expressions through type elision where possible R=rsc CC=golang-dev http://codereview.appspot.com/2319041
* go spec: relaxed syntax for array, slice, and map composite literalsRobert Griesemer2010-10-221-3/+15
| | | | | | | | | | For elements which are themselves composite literals, the type may be omitted if it is identical to the element type of the containing composite literal. R=r, rsc, iant, ken2 CC=golang-dev http://codereview.appspot.com/2661041
* arm: 3 more tests passRuss Cox2010-10-221-3/+0
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/2666041
* 5g: missed one case last nightRuss Cox2010-10-221-8/+8
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/2658042
* gc: implement new composite literal specRuss Cox2010-10-212-33/+72
| | | | | | R=ken2 CC=golang-dev http://codereview.appspot.com/2350041
* bug right shifting 64 bitsKen Thompson2010-10-211-3/+3
| | | | | | | | by a variable that equals 32 R=rsc CC=golang-dev http://codereview.appspot.com/2645042
* playground: s/it/this/Andrew Gerrand2010-10-221-1/+1
| | | | | | R=r, r2 CC=golang-dev http://codereview.appspot.com/2663041