- 29 Nov, 2012 1 commit
-
-
Robert Griesemer authored
More lenient parsing with better error recovery. It's easier for the type check to pick up the slack. R=iant CC=golang-dev https://golang.org/cl/6856108
-
- 28 Nov, 2012 4 commits
-
-
Alex Brainman authored
Fixes #4444. R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/6858079
-
Alex Brainman authored
Fixes #4342. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6850080
-
Alex Brainman authored
Test creates 2 tcp connections for put and get. Make sure these are closed properly after test is over, otherwise server hangs waiting for connection to be closed. R=golang-dev, bradfitz, dave CC=golang-dev https://golang.org/cl/6842109
-
Dave Cheney authored
Update #4434. The proposal attempts to reduce the number of places where fd,{r,w}deadline is checked and updated in preparation for issue 4434. In doing so the deadline logic is simplified by letting the pollster return errTimeout from netFD.Wait{Read,Write} as part of the wakeup logic. The behaviour of setting n = 0 has been restored to match rev 2a55e349097f, which was the previous change to fd_unix.go before CL 6851096. R=jsing, bradfitz, mikioh.mikioh, rsc CC=fullung, golang-dev https://golang.org/cl/6850110
-
- 27 Nov, 2012 17 commits
-
-
Mikio Hara authored
Fixes misedit in CL 6842053. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6849115
-
Dave Cheney authored
A fix similar to CL 6859043 was effective in resolving the intermittent failure. Fixes #4423. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6854102
-
Mikio Hara authored
This CL continues with introducing IPv6 scoped addressing capability into the net package. Update #4234. R=rsc CC=golang-dev https://golang.org/cl/6842053
-
Rémy Oudompheng authored
Fixes #4448. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6855100
-
Robert Griesemer authored
Package format is a utility package that takes care of parsing, sorting of imports, and formatting of .go source using the canonical gofmt formatting parameters. Use go/format in various clients instead of the lower-level components. R=r, bradfitz, dave, rogpeppe, rsc CC=golang-dev https://golang.org/cl/6852075
-
Jan Ziak authored
Garbage collection code (to be merged later) is calling functions which have many local variables. This increases the probability that the stack capacity won't be big enough to hold the local variables. So, start gc() on a bigger stack to eliminate a potentially large number of calls to runtime·morestack(). R=rsc, remyoudompheng, dsymonds, minux.ma, iant, iant CC=golang-dev https://golang.org/cl/6846044
-
Dmitriy Vyukov authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6854103
-
Rick Arnold authored
As discussed in issue 2672 and on golang-nuts, this CL adds a Split() method to regexp. It is based on returning the "opposite" of FindAllString() so that the returned substrings are everything not matched by the expression. See: https://groups.google.com/forum/?fromgroups=#!topic/golang-nuts/xodBZh9Lh2E Fixes #2762. R=remyoudompheng, r, rsc CC=golang-dev https://golang.org/cl/6846048
-
Russ Cox authored
Fix suggested by serbaut. Fixes #4445. R=sameer CC=golang-dev, serbaut https://golang.org/cl/6842102
-
Volker Dobler authored
Update #4125 R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6847107
-
John Graham-Cumming authored
The syslog implementation was not correctly implementing the traditional syslog format because it had a confused notion of 'priority'. syslog priority is not a single number but is, in fact, the combination of a facility number and a severity. The previous Go syslog implementation had a single Priority that appeared to be the syslog severity and no way of setting the facility. That meant that all syslog messages from Go programs appeared to have a facility of 0 (LOG_KERN) which meant they all appeared to come from the kernel. Also, the 'prefix' was in fact the syslog tag (changed the internal name for clarity as the term tag is more widely used) and the timestamp and hostname values were missing from messages. With this change syslog messages are generated in the correct format with facility and severity combined into a priority, the timestamp in RFC3339 format, the hostname, the tag (with the PID in [] appened) and the message. The format is now: <PRI>1 TIMESTAMP HOSTNAME TAG[PID]: MSG The TIMESTAMP, HOSTNAME and PID fields are filled in automatically by the package. The TAG and the MSG are supplied by the user. This is what rsyslogd calls TraditionalFormat and should be compatible with multiple systems. R=rsc, jgc, 0xjnml, mikioh.mikioh, bradfitz CC=golang-dev https://golang.org/cl/6782118
-
Dmitriy Vyukov authored
R=golang-dev, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6525052
-
Dmitriy Vyukov authored
The test failed on one of the builders with: timeout_test.go:594: ln.Accept: accept tcp 127.0.0.1:19373: use of closed network connection http://build.golang.org/log/e83f4a152b37071b9d079096e15913811ad296b5 R=golang-dev, bradfitz, dave, mikioh.mikioh, remyoudompheng, rsc CC=golang-dev https://golang.org/cl/6859043
-
Nigel Tao authored
This CL defines the API. Implementation will come in follow-up CLs. Update #1960. R=bradfitz, dr.volker.dobler, rsc CC=golang-dev https://golang.org/cl/6849092
-
Brad Fitzpatrick authored
Part of merging goprotobuf's A+C into Go's. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6844096
-
Robert Griesemer authored
It's better to use IsValid() then checking a (possibly partially set up) position against NoPos directly. R=dsymonds CC=golang-dev https://golang.org/cl/6855099
-
Anthony Martin authored
R=golang-dev, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/6844088
-
- 26 Nov, 2012 18 commits
-
-
Anthony Martin authored
The API additions to syscall are in dir_plan9.go. R=seed, rsc, rminnich, mirtchovski, dave CC=golang-dev, lucio.dere https://golang.org/cl/6157045
-
Rémy Oudompheng authored
This allows 5g and 8g to benefit from the rewrite as shifts or magic multiplies. The 64-bit arithmetic is not handled there, and left in 6g. Update #2230. R=golang-dev, dave, mtj, iant, rsc CC=golang-dev https://golang.org/cl/6819123
-
Robert Griesemer authored
Fixes 386 build breakage. R=rsc CC=golang-dev https://golang.org/cl/6844091
-
Brad Fitzpatrick authored
Thanks to Dustin Sallings for exposing the most frustrating bug ever, and for providing repro cases (which formed the basis of the new tests in this CL), and to Dave Cheney and Dmitry Vyukov for help debugging and fixing. This CL depends on submited pollster CLs ffd1e075c260 (Unix) and 14b544194509 (Windows), as well as unsubmitted 6852085. Some operating systems (OpenBSD, NetBSD, ?) may still require more pollster work, fixing races (Issue 4434 and http://goo.gl/JXB6W). Tested on linux-amd64 and darwin-amd64, both with GOMAXPROCS 1 and 4 (all combinations of which previously failed differently) Fixes #4191 Update #4434 (related fallout from this bug) R=dave, bradfitz, dsallings, rsc, fullung CC=golang-dev https://golang.org/cl/6851061
-
Daniel Morsing authored
Bools from comparisons can be assigned to all bool types, but this idealness would propagate through logical operators when the result should have been lowered to a non-ideal form. Fixes #3924. R=golang-dev, remyoudompheng, r, rsc, mtj CC=golang-dev https://golang.org/cl/6855061
-
Robert Griesemer authored
Cleanups introduced originally by now abandoned https://golang.org/cl/6846078/ . Includes additional test cases for 'if' and 'for' statements. No formatting changes. R=rsc CC=golang-dev https://golang.org/cl/6855096
-
Robert Griesemer authored
Also: Can set base indentation in printer.Config: all code is going to be indented by at least that amount (except for raw string literals spanning multiple lines, since their values must not change). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6847086
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6849105
-
Rémy Oudompheng authored
The stack overflow checker in the linker uses the spadj field to determine whether stack space will be large enough or not. When spadj=0, the checker treats the function as a nosplit and emits an error although the program is correct. Also enable the stack checker in 8l. Fixes #4316. R=rsc, golang-dev CC=golang-dev https://golang.org/cl/6855088
-
Robert Griesemer authored
also: - composite literal checking close to complete - cleaned up parameter, method, field checking - don't let panics escape type checker - more TODOs eliminated R=rsc CC=golang-dev https://golang.org/cl/6816083
-
Russ Cox authored
Since p.M is rejected (must call methods), use p.M(), to keep the examples compiling. Fixes #4441. R=gri CC=golang-dev https://golang.org/cl/6854096
-
Rémy Oudompheng authored
The 8l linker automatically inserts XCHG instructions to support otherwise impossible byte registers (only available on AX, BX, CX, DX). Sometimes AX or DX is needed (for MUL and DIV) so we need to avoid clobbering them. R=golang-dev, dave, iant, iant, rsc CC=golang-dev https://golang.org/cl/6846057
-
Shenghou Ma authored
Update #4415. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6856080
-
Anthony Martin authored
This requires rebasing the block-mode test scripts. I used GnuTLS version 3.1.4. R=agl CC=golang-dev https://golang.org/cl/6844073
-
Dmitriy Vyukov authored
Currently the test exposes data races on deadline vars. R=golang-dev, dave, bradfitz, rsc CC=golang-dev https://golang.org/cl/6845091
-
Dmitriy Vyukov authored
R=golang-dev CC=golang-dev https://golang.org/cl/6856097
-
Dmitriy Vyukov authored
Fixes #4424. Fixes #4425. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6849093
-
Shenghou Ma authored
Fixes #4429. R=golang-dev, remyoudompheng, daniel.morsing, rsc CC=golang-dev https://golang.org/cl/6850097
-