- 02 Dec, 2011 12 commits
-
-
Russ Cox authored
The special case in the spec is that you can take the address of a composite literal using the & operator. A composite literal is not, however, generally addressable, and the slice operator requires an addressable argument, so [3]int{1,2,3}[:] is invalid. This tutorial code and one bug report are the only places in the tree where it appears. R=r, gri CC=golang-dev https://golang.org/cl/5437120
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/5451078
-
Gustav Paul authored
The SSH spec allows for the server to send a banner message to the client at any point during the authentication process. Currently the ssh client auth types all assume that the first response from the server after issuing a userAuthRequestMsg will be one of a couple of possible authentication success/failure messages. This means that client authentication breaks if the ssh server being connected to has a banner message configured. This changeset refactors the noneAuth, passwordAuth and publickeyAuth types' auth() function and allows for msgUserAuthBanner during authentication. R=golang-dev, rsc, dave, agl CC=golang-dev https://golang.org/cl/5432065
-
Robert Hencke authored
R=golang-dev CC=golang-dev https://golang.org/cl/5449063
-
Mikio Hara authored
For now a pair of socket options SOL_SOCKET and SO_BINDTODEVICE is supported on Linux only. I'd like to demote BindToDevice API to syscall level because it's Linux dependent one. In the near future, probably we may have a bit more portable API that using IPROTO_IP/IPV6 level socket options to specify, identify an inbound, outbound IP interface on incoming, outgoing UDP and raw IP packets. R=cw, golang-dev CC=golang-dev https://golang.org/cl/5447071
-
Rob Pike authored
Fixes #2517. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5440079
-
Andrew Gerrand authored
R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5451073
-
Andrew Gerrand authored
R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5437113
-
Benny Siegert authored
cmd.exe implicitly looks in "." before consulting PATH. LookPath should match this behavior. R=alex.brainman, rsc CC=golang-dev https://golang.org/cl/5434093
-
Andrew Gerrand authored
I had the wrong idea when I wrote this. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5437111
-
Rob Pike authored
tree sets. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5449062
-
Andrew Balholm authored
Also ignore <head> tag after </head>. Pass tests6.dat, test 0: <!doctype html></head> <head> | <!DOCTYPE html> | <html> | <head> | " " | <body> Also pass tests through test 6: <body> <div> R=nigeltao CC=golang-dev https://golang.org/cl/5447064
-
- 01 Dec, 2011 25 commits
-
-
Robert Griesemer authored
This is a more conservative approach to heading detection and removes 11 headings from the current repository (several in fmt). The current headscan output is: /home/gri/go3/src/cmd/goinstall (package documentation) Remote Repositories The GOPATH Environment Variable /home/gri/go3/src/pkg/exp/gotype (package documentation) Examples /home/gri/go3/src/pkg/html/template (package template) Introduction Contexts Errors A fuller picture Contexts Typed Strings Security Model /home/gri/go3/src/pkg/text/template (package template) Actions Arguments Pipelines Variables Examples Functions Associated templates Nested template definitions 18 headings found R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/5437105
-
Volker Dobler authored
Fixes #2467. Fixes #2464. R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/5447051
-
Robert Griesemer authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5451070
-
Robert Griesemer authored
- this removes extra conversions from strings to bytes and vice versa for each comment - minor cleanups R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5434096
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/5450062
-
Andrew Gerrand authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5447067
-
Robert Griesemer authored
- scan all comments not just the package documentation - declutter output so that false positives are more easily spotted - count the number of headings to quickly see differences - minor tweaks R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5450061
-
Rob Pike authored
Fixes #2512. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5449057
-
Gustavo Niemeyer authored
This covers the lack of IsRegular comfortably: if stat.Mode()&os.ModeType == 0 { ... } R=golang-dev, r, rsc, r, gustavo CC=golang-dev https://golang.org/cl/5440075
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5449056
-
Gustav Paul authored
R=dave, agl, rsc, golang-dev, n13m3y3r CC=golang-dev https://golang.org/cl/5450059
-
Russ Cox authored
R=adg, rogpeppe, r, cw CC=golang-dev https://golang.org/cl/5450050
-
Volker Dobler authored
To structure larger sections of comments in html output headings are detected in comments and formated as h3 in the generated html. A simple heuristic is used to detect headings in comments: A heading is a non-blank, non-indented line preceded by a blank line. It is followed by a blank and a non-blank, non-indented line. A heading must start with an uppercase letter and end with a letter, digit or a colon. A heading may not contain punctuation characters. R=jan.mercl, gri, adg, rsc, r CC=golang-dev https://golang.org/cl/5437056
-
Alex Brainman authored
- correct syscall.CertEnumCertificatesInStore so it returns error - remove "reflect" dependency R=hectorchu, agl, rsc CC=golang-dev, krautz https://golang.org/cl/5441052
-
Adam Langley authored
This is the result of running `gofix -r hashsum` over the tree, changing the hash function implementations by hand and then fixing a couple of instances where gofix didn't catch something. The changed implementations are as simple as possible while still working: I'm not trying to optimise in this CL. R=rsc, cw, rogpeppe CC=golang-dev https://golang.org/cl/5448065
-
Adam Langley authored
This fix adds an output argument to hash.Sum. Tree changes in https://golang.org/cl/5448065 R=rsc CC=golang-dev https://golang.org/cl/5450051
-
Rob Pike authored
Makes it clear we're adding exactly one tree and creating a new template for it. R=rsc CC=golang-dev https://golang.org/cl/5448077
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/5451050
-
Dave Cheney authored
R=gustav.paul, cw, agl, rsc, n13m3y3r CC=golang-dev https://golang.org/cl/5433080
-
David Symonds authored
R=adg CC=golang-dev https://golang.org/cl/5447060
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/5448068
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5448067
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/5440071
-
Rob Pike authored
The problem is that execution can modify the template, so it needs interlocking to have the same thread-safe guarantee as text/template. Fixes #2439. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5450056
-
Andrew Balholm authored
Pass the tests in tests4.dat. R=nigeltao CC=golang-dev https://golang.org/cl/5447055
-
- 30 Nov, 2011 3 commits
-
-
Joel Sing authored
Fixes #2509. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5451055
-
Rob Pike authored
Not quite done yet but enough is here to review. Embedding is eliminated so clients can't accidentally reach methods of text/template.Template that would break the invariants. TODO later: Add and Clone are unimplemented. TODO later: address issue 2349 R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/5434077
-
Dave Cheney authored
Remove the accidentally exported net.Listener ««« original CL description exp/ssh: remove unused forwarding methods in Server Listener R=agl, rsc CC=golang-dev https://golang.org/cl/5436056 »»» R=agl, rsc CC=golang-dev https://golang.org/cl/5437090
-