- 02 Mar, 2015 7 commits
-
-
Russ Cox authored
The conversion accidentally dropped the +4 here. Change-Id: Ic6181a759565c261bc1b084317f693ae249fd036 Reviewed-on: https://go-review.googlesource.com/6451Reviewed-by: Russ Cox <rsc@golang.org>
-
Hyang-Ah (Hana) Kim authored
Change-Id: Ie4d8bedb9408372dff64e9a7fd857e1be4ee59e1 Reviewed-on: https://go-review.googlesource.com/6401Reviewed-by: David Crawshaw <crawshaw@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
Lloyd Dewolf authored
- Fixed term in preceding section: submitted -> merged. - Clear transitions between web sites. - Clarify "types" of G Accounts. - Less verbose "Configure Git" instructions. [l10n] - Google uses the term "sign in". - Mention .gitcookie file created. Update "Register with Gerrit". - Link directly to gerrit /login/ . HTML - Removed non-ascii "hidden characters". - Encoded some & and >. Change-Id: I0d99102def6b32e09b8e42fa40e20227ad5e7568 Reviewed-on: https://go-review.googlesource.com/5892Reviewed-by: Andrew Gerrand <adg@golang.org>
-
Alex Brainman authored
Change-Id: I9b38b3a384722cf000eab18b62f73f90bcb56c5c Reviewed-on: https://go-review.googlesource.com/6070Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Nigel Tao authored
encountering unknown markers. Change-Id: Ica86013308d69da2f5b486119235ff693135b2f1 Reviewed-on: https://go-review.googlesource.com/6393Reviewed-by: David Symonds <dsymonds@golang.org> Run-TryBot: David Symonds <dsymonds@golang.org>
-
Russ Cox authored
Looks like c2go and gcc disagree about the exact meaning of the usual arithmetic conversions, in a way that broke 9l's archreloc. Fix it. It's very hard for me to see why the original C code did not say what c2go interpreted it to say, but apparently it did not. This is why Go has explicit numerical conversions. Change-Id: I75bd73afd1fa4ce9a53c887e1bd7d1e26ff43ae4 Reviewed-on: https://go-review.googlesource.com/6405Reviewed-by: Russ Cox <rsc@golang.org>
-
Russ Cox authored
This CL will break any uses of 'go tool 5a' etc. That is intentional. Code that invokes an assembler directly should be updated to use go tool asm. We plan to keep the old5a around for bit-for-bit verification during the release testing phase, but we plan to remove those tools for the actual release. Renaming the directory now makes sure that lingering references to 'go tool 5a' will be caught, changed to use asm, and tested during the release evaluation. Change-Id: I98748a7ddb34cc7f1b151c2ef421d3656821f5c2 Reviewed-on: https://go-review.googlesource.com/6366Reviewed-by: Rob Pike <r@golang.org>
-
- 01 Mar, 2015 20 commits
-
-
Brad Fitzpatrick authored
Tests sometimes failed with: ok mime/internal/quotedprintable 0.606s ok mime/multipart 0.819s --- FAIL: TestPacketConn (0.10s) packetconn_test.go:96: PacketConn.ReadFrom failed: WSARecvFrom udp 127.0.0.1:64156: i/o timeout FAIL FAIL net 3.602s ok net/http 4.618s ok net/http/cgi 0.576s Theory: 100 ms is too short. Small timer granularity on Wnidows, or an allocation in the middle causing a GC sometimes? In any case, increase it to 500 ms. Change-Id: I48cc4d600eb168db9f85c0fd05335dd630254c3c Reviewed-on: https://go-review.googlesource.com/4922Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
Brad Fitzpatrick authored
Update #8859 Update #10042 Change-Id: Idc7eadb447b73563ce9085e50c2042652442c2d9 Reviewed-on: https://go-review.googlesource.com/6412Reviewed-by: Minux Ma <minux@golang.org>
-
David Crawshaw authored
Change-Id: Ic44d7837aaec58601e5d9cad8da5b958a809f4a0 Reviewed-on: https://go-review.googlesource.com/6400Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
David du Colombier authored
Plan 9 provides a /dev/random device to return a stream of random numbers. However, the method used to generate random numbers on Plan 9 is slow and reading from /dev/random may block. We don't want our Go programs to be significantly slowed down just to slightly improve the distribution of hash values. So, we do the same thing as NaCl and rely exclusively on extendRandom to generate pseudo-random numbers. Fixes #10028. Change-Id: I7e11a9b109c22f23608eb09c406b7c3dba31f26a Reviewed-on: https://go-review.googlesource.com/6386Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
David du Colombier authored
In CL 6350, Brad fixed the following system calls to use the program-wide workding directory: - bind - chdir - create - open - remove - stat - umount - wstat However, Russ Cox pointed out that the mount system call should be fixed as well. Change-Id: I6139ed11ba449f18c46e95269f4d0e51be7cec48 Reviewed-on: https://go-review.googlesource.com/6385Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Rob Pike authored
If a method called by fmt triggers a panic, the output usually says so. However, there is heretofore undocumented special treatment for a panic caused by formatting a nil value with an Error or String method: the output is simply "<nil>". Document that behavior. Change-Id: Id0f79dd0b3487f9d1c74a0856727bba5cc342be4 Reviewed-on: https://go-review.googlesource.com/6410Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
David Crawshaw authored
The go_darwin_arm_exec script now tells lldb to move the working directory into <bundle>/src/os on startup. Change-Id: I0ada4969e9ea374f08c84ab736aab2097ac73dd8 Reviewed-on: https://go-review.googlesource.com/6369Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
-
Jan Kratochvil authored
issue #10017: TestGdbPython 'print mapvar' is reported to fail on ppc64. issue #10002: TestGdbPython 'print mapvar' is reported to fail on arm hardfloat. The testcase now uses plain line number in main. Unwinding issues are unrelated to the GDB map prettyprinter feature. Remove arch-specific t.Skip()s from those two issues. Fixes #10017 Fixes #10002 Change-Id: I9d50ffe2f3eb7bf65dd17c8c76a2677571de68ba Reviewed-on: https://go-review.googlesource.com/6267Reviewed-by: Minux Ma <minux@golang.org>
-
David Crawshaw authored
Change-Id: I65b50d2501fe822bc9044a851ac0b3467feadd9f Reviewed-on: https://go-review.googlesource.com/6330Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Russ Cox authored
These files were left behind for the C implementation of the assemblers. They're no longer needed. This is the last of the cmd/cc directory. Change-Id: I9231b23c27fead5695000097aeb694824747677d Reviewed-on: https://go-review.googlesource.com/6367Reviewed-by: Minux Ma <minux@golang.org>
-
Russ Cox authored
Change-Id: Ic66243674ac1dbf829c7523005e33611cc89ac83 Reviewed-on: https://go-review.googlesource.com/6362Reviewed-by: Rob Pike <r@golang.org>
-
Russ Cox authored
mv cmd/new5l cmd/5l and so on. Minimal changes to cmd/dist and cmd/go to keep things building. More can be deleted in followup CLs. Change-Id: I1449eca7654ce2580d1f413a56dc4a75f3d4618b Reviewed-on: https://go-review.googlesource.com/6361Reviewed-by: Rob Pike <r@golang.org>
-
Russ Cox authored
Change-Id: I783df66d762b52ad3d74340ad5692790cd0ab544 Reviewed-on: https://go-review.googlesource.com/6360Reviewed-by: Rob Pike <r@golang.org>
-
Russ Cox authored
Change-Id: Ia36fa5e617ceacbbca9f30f4e109d94e515b38ef Reviewed-on: https://go-review.googlesource.com/6336Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Dave Cheney <dave@cheney.net>
-
Russ Cox authored
Using rsc.io/c2go rev fc8cbfa's run.ld script. Change-Id: I4d4d14fce96f8ce7a934bf8b9701b84fa9cf772d Reviewed-on: https://go-review.googlesource.com/6335Reviewed-by: Rob Pike <r@golang.org>
-
Russ Cox authored
Change-Id: I77ab2bed5884b0763147703fd976d462d036336d Reviewed-on: https://go-review.googlesource.com/6334Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Dave Cheney <dave@cheney.net>
-
Russ Cox authored
Today it's only recorded for C, but the Go version of the linker will need it. Change-Id: I0de56d98e8f3f1b7feb830458c0934af367fd29a Reviewed-on: https://go-review.googlesource.com/6333Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
-
Russ Cox authored
Change-Id: Iaab2be9a1919f2fa9dbc61a5b7fbf99bcd0712a9 Reviewed-on: https://go-review.googlesource.com/6332Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
-
Russ Cox authored
In the tests, the runtime test fails after 2 minutes. On an unloaded VM it only takes 45 seconds. I think the difference is all the other build work going on simultaneously with the running of the runtime test. Change-Id: I41e95d2e4daea44ceaa8505f81aa7b5bcfa9ec77 Reviewed-on: https://go-review.googlesource.com/6364Reviewed-by: David Crawshaw <crawshaw@golang.org> Reviewed-by: Minux Ma <minux@golang.org> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
-
Russ Cox authored
(Issue #10041.) Change-Id: Ia894ab60ac6b09926c684f99aacca79275cbced4 Reviewed-on: https://go-review.googlesource.com/6365Reviewed-by: Russ Cox <rsc@golang.org>
-
- 28 Feb, 2015 11 commits
-
-
Dmitry Vyukov authored
We used to not call traceback from goexit1. But now tracer does it and crashes on amd64p32: runtime: unexpected return pc for runtime.getg called from 0x108a4240 goroutine 18 [runnable, locked to thread]: runtime.traceGoEnd() src/runtime/trace.go:758 fp=0x10818fe0 sp=0x10818fdc runtime.goexit1() src/runtime/proc1.go:1540 +0x20 fp=0x10818fe8 sp=0x10818fe0 runtime.getg(0x0) src/runtime/asm_386.s:2414 fp=0x10818fec sp=0x10818fe8 created by runtime/pprof_test.TestTraceStress src/runtime/pprof/trace_test.go:123 +0x500 Return PC from goexit1 points right after goexit (+0x6). It happens to work most of the time somehow. This change fixes traceback from goexit1 by adding an additional NOP to goexit. Fixes #9931 Change-Id: Ied25240a181b0a2d7bc98127b3ed9068e9a1a13e Reviewed-on: https://go-review.googlesource.com/5460Reviewed-by: Russ Cox <rsc@golang.org>
-
David Crawshaw authored
This is to be used by an lldb script inside go_darwin_arm_exec to pause the execution of tests on iOS so the working directory can be adjusted into something resembling a GOROOT. Change-Id: I69ea2d4d871800ae56634b23ffa48583559ddbc6 Reviewed-on: https://go-review.googlesource.com/6363Reviewed-by: Minux Ma <minux@golang.org>
-
Nigel Tao authored
Grayscale PNG and JPEG images are not uncommon. We should have a fast path. Also add a benchmark for the recently added CMYK fast path. benchmark old ns/op new ns/op delta BenchmarkGray 13960348 324152 -97.68% Change-Id: I72b5838c8c3d1f2d0a4536a848e020e80b10c0f7 Reviewed-on: https://go-review.googlesource.com/6237Reviewed-by: Rob Pike <r@golang.org>
-
Josh Bleecher Snyder authored
This is a follow-up to CL 6265. No behavior changes. The diff was generated with eg, using template: package p import "fmt" func before(a string) string { return fmt.Sprintf(a) } func after(a string) string { return a } Change-Id: I7b3bebf31be5cd1ae2233da06cb4502a3d73f092 Reviewed-on: https://go-review.googlesource.com/6269Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Josh Bleecher Snyder authored
Having this test fail, as it does reliably for me, makes working frustrating. Disable it for now, until we can diagnose the issue. Update issue #8859. Change-Id: I9dda30d60793e7a51f48f445c78ccb158068cc25 Reviewed-on: https://go-review.googlesource.com/6381Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Rob Pike authored
ARM operands for MOVM have lists of registers: [R1,R2,R5-R8]. Handle them cleanly. It was TYPE_CONST with special handling, which meant operand printing didn't work right and the special handling was ugly. Add a new TYPE_REGLIST for this case and it all gets cleaner. Change-Id: I4a64f70fb9765e63cb636619a7a8553611bfe970 Reviewed-on: https://go-review.googlesource.com/6300 Run-TryBot: Rob Pike <r@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
-
Brad Fitzpatrick authored
On Plan 9, the pwd is apparently per-thread not per process. That means different goroutines saw different current directories, even changing within a goroutine as they were scheduled. Instead, track the the process-wide pwd protected by a mutex in the syscall package and set the current goroutine thread's pwd to the correct once at critical points. Fixes #9428 Change-Id: I928e90886355be4a95c2be834f5883e2b50fc0cf Reviewed-on: https://go-review.googlesource.com/6350Reviewed-by: David du Colombier <0intro@gmail.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-
David Crawshaw authored
This reverts commit 87a0d395. Looks like introducing file_darwin_arm.go is confusing something in the API checker (probably go/types) into ignoring file.go, so the O_SYNC symbol is being lost. No actual bug in this CL AFAIK, but I'll fix the other bug later and then roll this forward. Change-Id: Ic132fb101e4b5f2716f7a0d15872bf35bdf42139 Reviewed-on: https://go-review.googlesource.com/6331Reviewed-by: David Crawshaw <crawshaw@golang.org>
-
Nigel Tao authored
benchmark old ns/op new ns/op delta BenchmarkFillSrc 46781 46000 -1.67% Change-Id: I0ab25d42d5763f1a0fe5a67ee00b83f0aa55f1f6 Reviewed-on: https://go-review.googlesource.com/6235Reviewed-by: Rob Pike <r@golang.org>
-
David Crawshaw authored
Tests that fork are skipped. Tests that create files do so in a temporary directory, as the initial PWD is read-only. And darwin/arm returns a strange mkdir error when trying to write to /. Change-Id: I2de661a85524300bbac226693d72142992dc188d Reviewed-on: https://go-review.googlesource.com/6312Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
David Crawshaw authored
Change-Id: Iee25f4b0a31ece0aae79c68aec809e1e4308f865 Reviewed-on: https://go-review.googlesource.com/6311Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
- 27 Feb, 2015 2 commits
-
-
Josh Bleecher Snyder authored
An artifact of the c2go translation was a handful of instances of code like: var s string s += "foo" return s This CL converts those to simply 'return "foo"'. The conversion was done mechanically with the quick-and-dirty cleanup script at https://gist.github.com/josharian/1fa4408044c163983e62. I then manually moved a couple of comments in fmt.go. toolstash -cmp thinks that there are no functional changes. Change-Id: Ic0ebdd10f0fb8de0360a1041ce5cd10ae1168be9 Reviewed-on: https://go-review.googlesource.com/6265Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-
Hyang-Ah (Hana) Kim authored
Not only carrying invalid info but also this caused Error to crash with null pointer exception. Change-Id: Ibfe63d20eb9b9178ea618e59c74111e9245a6779 Reviewed-on: https://go-review.googlesource.com/6270 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-