aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-21release.2010-10-20weekly.2010-10-20Andrew Gerrand
R=r, rsc CC=golang-dev https://golang.org/cl/2629041
2010-10-21goinstall: fix documentation typoFazlul Shahriar
R=golang-dev, adg CC=golang-dev https://golang.org/cl/2585043
2010-10-21build: add gobuilder and goplay to run.bashAndrew Gerrand
gobuilder: fix build to work with new log package R=rsc CC=golang-dev https://golang.org/cl/2592041
2010-10-21os: correct Stat S_ISDIR on WindowsYasuhiro Matsumoto
R=rsc, brainman CC=golang-dev https://golang.org/cl/2598041
2010-10-205l: two stack split bugs in one dayRuss Cox
An ARM expert could probably phrase the comparison in fewer instructions, but this works. R=ken2 CC=golang-dev https://golang.org/cl/2620041
2010-10-20encoding/hex: fix typoRuss Cox
Thanks to avadh4all for spotting it. Fixes #1214. R=r, r2 CC=golang-dev https://golang.org/cl/2616041
2010-10-20gc: select receive with implicit conversionRuss Cox
Fixes #1172. R=ken2 CC=golang-dev https://golang.org/cl/2615041
2010-10-20code gen error for *(complex)++Ken Thompson
includes array[i]++ and slice[i]++ R=rsc CC=golang-dev https://golang.org/cl/2614041
2010-10-20runtime: don't let select split stackRuss Cox
Fixes #1209. R=ken2 CC=golang-dev https://golang.org/cl/2612041
2010-10-20arm: fix typo in softfloatRuss Cox
R=kaib CC=golang-dev https://golang.org/cl/2608041
2010-10-206l: correct logic for morestack choiceRuss Cox
The frame that gets allocated is for both the args and the autos. If together they exceed the default frame size, we need to tell morestack about both so that it allocates a large enough frame. Sanity check stack pointer in morestack to catch similar bugs. R=ken2 CC=golang-dev https://golang.org/cl/2609041
2010-10-20arm: more tests passRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2606041
2010-10-20syscall/arm: correct 64-bit system call argumentsRuss Cox
Thanks to kaib for the tip. R=ken2 CC=golang-dev https://golang.org/cl/2596043
2010-10-206g: avoid too-large immediate constantsRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2566042
2010-10-19reflect: add InterfaceValue.Get to enable setting of an interfaceRob Pike
value (through unsafe means) without having a reflect.Type of type *interface{} (pointer to interface). This is needed to make gob able to handle interface values by a method analogous to the way it handles maps. R=rsc CC=golang-dev https://golang.org/cl/2597041
2010-10-19gob: break documentation into a separate doc.go fileRob Pike
R=adg, r2 CC=golang-dev https://golang.org/cl/2596041
2010-10-19http: do not close connection after sending HTTP/1.0 requestRuss Cox
Fixes #671. R=adg, cw CC=golang-dev https://golang.org/cl/2431042
2010-10-208l: fix windows buildAlex Brainman
R=rsc CC=golang-dev https://golang.org/cl/2595041
2010-10-20os: change TestForkExec so it can run on windowsYasuhiro Matsumoto
R=brainman, vcc, Joe Poirier, rsc CC=golang-dev https://golang.org/cl/2530041
2010-10-20nntp: remove nntp package from the standard library.Nigel Tao
R=adg CC=golang-dev https://golang.org/cl/2470045
2010-10-198l: fix references to INITDAT in windows pe.cRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2588041
2010-10-195l, 6l, 8l: link pclntab and symtab as ordinary rodata symbolsRuss Cox
That is, move the pc/ln table and the symbol table into the read-only data segment. This eliminates the need for a special load command to map the symbol table into memory, which makes the information available on systems that couldn't handle the magic load to 0x99000000, like NaCl and ARM QEMU and Linux without config_highmem=y. It also eliminates an #ifdef and some clumsy code to find the symbol table on Windows. The bad news is that the binary appears to be bigger than it used to be. This is not actually the case, though: the same amount of data is being mapped into memory as before, and the tables are still read-only, so they're still shared across multiple instances of the binary as they were before. The difference is just that the tables aren't squirreled away in some section that "size" doesn't know to look at. This is a checkpoint. It probably breaks Windows and breaks NaCl more than it used to be broken, but those will be fixed. The logic involving -s needs to be revisited too. Fixes #871. R=ken2 CC=golang-dev https://golang.org/cl/2587041
2010-10-195l, 6l, 8l: separate pass to fix addressesRuss Cox
Lay out code before data. R=ken2 CC=golang-dev https://golang.org/cl/2490043
2010-10-19[68]l: expose genasmsym.Luuk van Dijk
R=rsc CC=golang-dev https://golang.org/cl/2512042
2010-10-19goplay: fix to run under windows.Yasuhiro Matsumoto
Fixes #1204. R=golang-dev, brainman, Joe Poirier, alex.brainman, adg CC=golang-dev, math-nuts https://golang.org/cl/2532041
2010-10-19A+C: Yasuhiro MatsumotoAndrew Gerrand
R=r, r2 CC=golang-dev https://golang.org/cl/2543044
2010-10-18fix bug in example. need to convert Value to float in Abs exampleRob Pike
R=adg CC=golang-dev https://golang.org/cl/2486043
2010-10-19gc: update usage string in doc.goAndrew Gerrand
R=rsc, r2, r CC=golang-dev https://golang.org/cl/2550041
2010-10-18netchan: add new method Hangup to terminate transmission on a channelRob Pike
Fixes #1151. R=rsc CC=golang-dev https://golang.org/cl/2469043
2010-10-18big: add random number generationFlorian Uekermann
Adds func (z *Int) RandIntn(src rand.Source,n *Int) *Int R=rsc CC=golang-dev, gri https://golang.org/cl/2315045
2010-10-18A+C: Florian Ukermann (individual CLA)Russ Cox
R=r, r2 CC=florian, golang-dev https://golang.org/cl/2554042
2010-10-185l: handle jump to middle of floating point sequenceRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2473042
2010-10-18runtime: fix arm softfloat again for R12Russ Cox
Missed a case, so now generalized. R=ken2 CC=golang-dev https://golang.org/cl/2540042
2010-10-18runtime: fix amd64 build (broke by 386 support for Plan 9)Russ Cox
TBR=r CC=golang-dev https://golang.org/cl/2556041
2010-10-188l, runtime: initial support for Plan 9Yuval Pavel Zholkover
No multiple processes/locks, managed to compile and run a hello.go (with print not fmt). Also test/sieve.go seems to run until 439 and stops with a 'throw: all goroutines are asleep - deadlock!' - just like runtime/tiny. based on Russ's suggestions at: http://groups.google.com/group/comp.os.plan9/browse_thread/thread/cfda8b82535d2d68/243777a597ec1612 Build instructions: cd src/pkg/runtime make clean && GOOS=plan9 make install this will build and install the runtime. When linking with 8l, you should pass -s to suppress symbol generation in the a.out, otherwise the generated executable will not run. This is runtime only, the porting of the toolchain has already been done: http://code.google.com/p/go-plan9/source/browse in the plan9-quanstro branch. R=rsc CC=golang-dev https://golang.org/cl/2273041
2010-10-18runtime: update arm softfloat - no more R12Russ Cox
R=ken2 CC=golang-dev https://golang.org/cl/2555041
2010-10-18A+C: Yuval Pavel Zholkover (individual CLA)Russ Cox
R=r, r2 CC=golang-dev https://golang.org/cl/2506045
2010-10-18gc: say that shift must be unsigned integerRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2519044
2010-10-185l: data-relocatable code layoutRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2479043
2010-10-17[68]l: proper end of instruction ranges in dwarf.Luuk van Dijk
R=rsc CC=golang-dev https://golang.org/cl/2542042
2010-10-17[68]l: fix off by one instruction in dwarf frame unwinding.Luuk van Dijk
R=rsc CC=golang-dev https://golang.org/cl/2543043
2010-10-17log: update the documentation to clarify the behaviorRob Pike
R=rsc, PeterGo CC=golang-dev https://golang.org/cl/2519043
2010-10-175l: stop using R12 as SBRuss Cox
Because the SB is only good for 8k and Go programs tend to have much more data than that, SB doesn't save very much. A fmt.Printf-based hello world program has 360 kB text segment. Removing SB makes the text 500 bytes (0.14%) longer. R=ken2, r2, ken3 CC=golang-dev https://golang.org/cl/2487042
2010-10-158l: fix windows build.Wei Guangjing
R=rsc, brainman CC=golang-dev https://golang.org/cl/2543042
2010-10-158l: function at a time code layoutRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/2481042
2010-10-15log: roll back the rollback of the deprecation of the old interface.Rob Pike
R=adg CC=golang-dev https://golang.org/cl/2521042
2010-10-158l: blind attempt to fix windows buildRuss Cox
or at least gather more information R=ken2 CC=golang-dev https://golang.org/cl/2515042
2010-10-15gc: keep track of real actual type of identifiers.Luuk van Dijk
R=rsc CC=golang-dev https://golang.org/cl/2519042
2010-10-156l: function at a time code layoutRuss Cox
Also change the span-dependent jump algorithm to use fewer iterations: * resolve forward jumps at their targets (comefrom list) * mark jumps as small or big and only do small->big * record whether a jump failed to be encodable These changes mean that a function with only small jumps can be laid out in a single iteration, and the vast majority of functions take just two iterations. I was seeing a maximum of 5 iterations before; the max now is 3 and there are fewer that get even that far. R=ken2 CC=golang-dev https://golang.org/cl/2537041
2010-10-156l, 8l: avoid recursion in asmandszRuss Cox
The old code said if(x) { handle a return } aa = *a rewrite aa to make x true recursivecall(&aa) The new code says params = copy out of a if(!x) { rewrite params to make x true } handle params but it's hard to see that in the Rietveld diffs because it gets confused by changes in indentation. Avoiding the recursion makes other changes easier. R=ken2 CC=golang-dev https://golang.org/cl/2533041