- 18 Feb, 2013 1 commit
-
-
Volker Dobler authored
Re-enable TestUpdateAndDelete, TestExpiration, TestChromiumDomain and TestChromiumDeletion on Windows. Sorting of cookies with same path length and same creation time is done by an additional seqNum field. This makes the order in which cookies are returned in Cookies deterministic, even if the system clock is manipulated or on systems with a low-resolution clock. The tests now use a synthetic time: This makes cookie testing reliable in case of bogus system clocks and speeds up the expiration tests. R=nigeltao, alex.brainman, dave CC=golang-dev https://golang.org/cl/7323063
-
- 17 Feb, 2013 2 commits
-
-
Joel Sing authored
Fix the sa_mask member of the sigaction struct - on FreeBSD this is declared as a sigset_t, which is an array of four unsigned ints. Replace the current int64 with Sigset from defs_freebsd_GOARCH, which has the correct definition. Unbreaks the FreeBSD builds. R=golang-dev, dave, minux.ma CC=golang-dev https://golang.org/cl/7333047
-
Rémy Oudompheng authored
The O(n+m) complexity is obtained probabilistically by using Rabin-Karp algorithm, which provides the needed complexity unless exceptional collisions occur, without memory allocation. benchmark old ns/op new ns/op delta BenchmarkIndexHard1 6532331 4045886 -38.06% BenchmarkIndexHard2 8178173 4038975 -50.61% BenchmarkIndexHard3 6973687 4042591 -42.03% BenchmarkCountHard1 6270864 4071090 -35.08% BenchmarkCountHard2 7838039 4072853 -48.04% BenchmarkCountHard3 6697828 4071964 -39.20% BenchmarkIndexTorture 2730546 28934 -98.94% BenchmarkCountTorture 2729622 29064 -98.94% Fixes #4600. R=rsc, donovanhide, remyoudompheng CC=golang-dev https://golang.org/cl/7314095
-
- 16 Feb, 2013 3 commits
-
-
Georg Reinke authored
R=golang-dev, jsing CC=golang-dev https://golang.org/cl/7312104
-
Mikio Hara authored
Also refactors mock ICMP stuff. R=dave, rsc CC=golang-dev https://golang.org/cl/7325043
-
Dave Cheney authored
R=rsc, dvyukov CC=golang-dev https://golang.org/cl/7312103
-
- 15 Feb, 2013 29 commits
-
-
Russ Cox authored
broke windows build ««« original CL description runtime: ensure forward progress of runtime.Gosched() for locked goroutines The removed code leads to the situation when M executes the same locked G again and again. Fixes #4820. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7310096 »»» TBR=dvyukov CC=golang-dev https://golang.org/cl/7343050
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7352044
-
Russ Cox authored
This works with at least one version of clang that existed at one moment in time. No guarantees about clangs past or future. To try: CC=clang all.bash It does not work with the Xcode clang, because that clang fails at printing a useful answer to: clang -print-libgcc-file-name The clang that works prints a full path name for that command, not just "libgcc.a". Fixes #4713. R=iant, minux.ma CC=golang-dev https://golang.org/cl/7323068
-
Russ Cox authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7317049
-
Russ Cox authored
Fixes #3586. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7304098
-
Russ Cox authored
Should help if stack overflows start happening again. Fixes #3582. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7311098
-
Russ Cox authored
Arguably if this happens the program is buggy anyway, but letting the panic continue looks better than interrupting it. Otherwise things like this are possible, and confusing: $ go run x.go panic: $ echo $? 0 $ Fixes #3934. R=golang-dev, r CC=golang-dev https://golang.org/cl/7322083
-
Russ Cox authored
To make sure that Go code will work when moved to a system with a case-insensitive file system, like OS X or Windows, reject any package built from files with names differing only in case, and also any package built from imported dependencies with names differing only in case. Fixes #4773. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7314104
-
Russ Cox authored
Fixes #4644. R=r, adonovan CC=golang-dev https://golang.org/cl/7307083
-
Russ Cox authored
This is the same logic used in the standard tracebacks. The caller pc is the pc after the call, so except in the fake "call" caused by a panic, back up the pc enough that the lookup will use the previous instruction. Fixes #4150. Fixes #4151. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7317047
-
Russ Cox authored
Before, the mheap structure was in the bss, but it's quite large (today, 256 MB, much of which is never actually paged in), and it makes Go binaries run afoul of exec-time bss size limits on some BSD systems. Fixes #4447. R=golang-dev, dave, minux.ma, remyoudompheng, iant CC=golang-dev https://golang.org/cl/7307122
-
Dmitriy Vyukov authored
The removed code leads to the situation when M executes the same locked G again and again. Fixes #4820. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7310096
-
Russ Cox authored
(If the mask size is wrong the system call fails.) R=golang-dev, iant CC=golang-dev https://golang.org/cl/7305097
-
Russ Cox authored
Right now it says 'invalid type S' for a struct type S. Instead, say which type inside the struct is the problem. Fixes #4825. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7301102
-
Russ Cox authored
More mysteriously broken tests. TBR=nigeltao CC=golang-dev https://golang.org/cl/7342048
-
Russ Cox authored
In addition to the compile failure fixed in signal*.c, preserving the signal mask led to very strange crashes. Testing shows that looking for SIG_IGN is all that matters to get along with nohup, so reintroduce sigset_zero instead of trying to preserve the signal mask. TBR=iant CC=golang-dev https://golang.org/cl/7323067
-
Russ Cox authored
TBR=nigeltao CC=golang-dev https://golang.org/cl/7322084
-
Russ Cox authored
There are two ways nohup(1) might be implemented: it might mask away the signal, or it might set the handler to SIG_IGN, both of which are inherited across fork+exec. So two fixes: * Make sure to preserve the inherited signal mask at minit instead of clearing it. * If the SIGHUP handler is SIG_IGN, leave it that way. Fixes #4491. R=golang-dev, mikioh.mikioh, iant CC=golang-dev https://golang.org/cl/7308102
-
Adam Langley authored
Subject Alternative Names in X.509 certificates may include IP addresses. This change adds support for marshaling, unmarshaling and verifying this form of SAN. It also causes IP addresses to only be checked against IP SANs, rather than against hostnames as was previously the case. This reflects RFC 6125. Fixes #4658. R=golang-dev, mikioh.mikioh, bradfitz CC=golang-dev https://golang.org/cl/7336046
-
Dmitriy Vyukov authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7312101
-
Alex Brainman authored
Even builders don't have that mime type R=golang-dev, dave, rsc CC=golang-dev https://golang.org/cl/7314106
-
Alex Brainman authored
Some systems do not have .bmp mime. Update #4723. R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/7326047
-
Alex Brainman authored
It is too flaky. Tried to make it more reliable, but that affects other tests (they run too long), because we do unusual things here, like attempting to connect to non-existing address and interrupt. R=golang-dev, bradfitz, mikioh.mikioh CC=golang-dev https://golang.org/cl/7314097
-
Alan Donovan authored
We call runtime.findnull dynamically to avoid exceeding the static nosplit stack limit check. (Thanks minux!) Fixes #4048. R=rsc, minux.ma, ality CC=golang-dev https://golang.org/cl/7232066
-
Cosmos Nicolaou authored
Add support for displaying the notes of the form 'MARKER(userid): comment' now collected by the go/doc package. Any two or more uppercase letters are recognised as a marker. R=gri, rsc, bradfitz CC=golang-dev https://golang.org/cl/7334044
-
Cosmos Nicolaou authored
Add support for arbitrary notes of the form // MARKER(userid): comment in the same vein as BUG(userid): A marker must be two or more upper case [A-Z] letters. R=gri, rsc, bradfitz, jscrockett01 CC=golang-dev https://golang.org/cl/7322061
-
Oling Cat authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/7327048
-
Anthony Martin authored
This fixes a regression introduced in changeset 98034d036d03 which added support for producing host object files. R=rsc, minux.ma CC=dave, golang-dev https://golang.org/cl/7307107
-
Rémy Oudompheng authored
R=golang-dev, minux.ma, iant, bradfitz, dave CC=golang-dev https://golang.org/cl/7314057
-
- 14 Feb, 2013 5 commits
-
-
Dave Cheney authored
This is part one of two changes intended to make it easier to debug builder failures. runOutput allows us to control the io.Writer passed to a subcommand. The intention is to add additional debugging information before and after the build which will then be capture and sent to the dashboard. In this proposal, the only additional information is the build status. See http://build.golang.org/log/e7b5bf435b4de1913fc61781b3295fb3f03aeb6e R=adg CC=golang-dev https://golang.org/cl/7303090
-
Carl Shapiro authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7342044
-
Robert Griesemer authored
- use the new AllErrors flag where appropriate - unless AllErrors is set, eliminate spurious errors before they are added to the errors list (it turns out that reporting spurious errors always leads to too many uninformative errors after all) R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7323065
-
Robert Griesemer authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7314103
-
Daniel Morsing authored
I suspect this is some debugging which got through the submission process. Fixes #4789. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7310079
-