Yasuhiro Matsumoto
a54cbcec88
syscall: implement chmod() for win32.
...
R=golang-dev, rsc, brainman
CC=golang-dev
https://golang.org/cl/4175049
2011-02-16 16:24:59 +11:00
Alex Brainman
074354c2ea
8l,6l: allow for more os threads to be created on Windows
...
Program listed http://code.google.com/p/go/issues/detail?id=1495
(with nRequester set to 10000) will crash with
runtime: failed to create new OS thread (have 4526 already; errno=8)
instead of
runtime: failed to create new OS thread (have 618 already; errno=8).
R=golang-dev, rsc, vcc
CC=golang-dev
https://golang.org/cl/4172046
2011-02-16 16:08:42 +11:00
Yasuhiro Matsumoto
186b07afff
syscall: fix inverse checking of result code on windows.
...
R=golang-dev, brainman, rsc
CC=golang-dev
https://golang.org/cl/4179049
2011-02-16 16:07:04 +11:00
Nigel Tao
1c5ed263ae
compress: move zlib/testdata to testdata so it can be shared by all
...
compression algorithms.
R=rsc, r2, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/4188054
2011-02-16 11:41:29 +11:00
Andrew Gerrand
cf994def95
doc: fix release notes anchor tag
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4178055
2011-02-16 09:41:34 +11:00
Adam Langley
a0c3b96065
crypto/tls: make protocol negotiation failure fatal
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4178054
2011-02-15 16:38:45 -05:00
Robert Griesemer
f14c29a311
go spec: minor clarification on channel types
...
No language change.
R=r, rsc, iant, ken2, r2
CC=golang-dev
https://golang.org/cl/4168050
2011-02-15 11:33:12 -08:00
Andrew Gerrand
ec487e3d75
tag release.2011-02-15
...
R=rsc
CC=golang-dev
https://golang.org/cl/4184046
2011-02-16 03:02:55 +11:00
Andrew Gerrand
d8ba9a440c
release.2011-02-15
...
R=rsc
CC=golang-dev
https://golang.org/cl/4191041
2011-02-16 02:58:08 +11:00
Adam Langley
5311d915f4
encoding/line: fix line returned after EOF
...
Fixes #1509 .
R=r
CC=golang-dev
https://golang.org/cl/4167045
2011-02-15 09:52:20 -05:00
Robert Griesemer
e6ee0d2492
godoc: don't hide package lookup error if there's no command with the same name
...
Fixes #1514 .
R=r, r2
CC=golang-dev
https://golang.org/cl/4173050
2011-02-14 17:41:47 -08:00
Roger Peppe
34dd450fb8
rpc: properly discard values.
...
R=r, rsc, r2
CC=golang-dev
https://golang.org/cl/4171050
2011-02-14 14:51:08 -08:00
Alex Brainman
ff7d7b271f
runtime: detect failed thread creation on Windows
...
Fixes #1495 .
R=rsc
CC=golang-dev
https://golang.org/cl/4182047
2011-02-15 09:42:25 +11:00
Rob Pike
29ae8e9a98
makehtml: use append
...
The program is old and missed its opportunity.
R=gri, adg
CC=golang-dev
https://golang.org/cl/4178050
2011-02-14 11:47:19 -08:00
Rob Pike
7115eef6be
tutorial: rework the introduction to give "Effective Go"
...
prominence and downplay the course notes.
R=golang-dev, gri, rsc
CC=golang-dev
https://golang.org/cl/4190041
2011-02-14 11:25:00 -08:00
Andrew Gerrand
858972c3f9
archive/zip: handle files with data descriptors
...
Fixes #1471 .
R=rsc
CC=golang-dev
https://golang.org/cl/4183048
2011-02-15 05:42:16 +11:00
Rob Pike
1778f50da3
gob: decode into nil, this time for sure.
...
Yesterday's change was too simple-minded and failed if an
interface value was being discarded. We need to parse the
data stream and remember any type information that arrives.
Also fix a minor bug when ignoring an interface: toss only what
we know about, not everything.
R=rsc
CC=golang-dev
https://golang.org/cl/4179045
2011-02-14 10:17:30 -08:00
Hector Chu
1723fbe13e
windows: runtime: implemented console ctrl handler (SIGINT).
...
R=rsc, brainman, iant2
CC=golang-dev
https://golang.org/cl/4129049
2011-02-14 12:15:13 -05:00
Russ Cox
b9f94768f9
build: run test/ directory first
...
R=adg, r
CC=golang-dev
https://golang.org/cl/4183047
2011-02-14 09:27:02 -05:00
Robert Griesemer
6b526eb300
go/printer: line comments must always end in a newline
...
Fixes #1503 .
R=rsc
CC=golang-dev
https://golang.org/cl/4170045
2011-02-13 19:27:02 -08:00
Rob Pike
ea46bda72b
gob: allow Decode(nil) and have it just discard the next value.
...
Fixes #1489 .
R=rsc
CC=golang-dev
https://golang.org/cl/4187046
2011-02-12 18:03:54 -08:00
Rob Pike
bab5536af6
code.html: update to reflect that package names need not be unique
...
Fixes #1507 .
R=golang-dev, ehog.hedge, rsc
CC=golang-dev
https://golang.org/cl/4160049
2011-02-12 18:03:16 -08:00
Ken Thompson
888ab02228
5ld: part of 64bit eor - forgot to check in.
...
R=r, rsc
CC=golang-dev
https://golang.org/cl/4176046
2011-02-11 20:13:57 -08:00
Robert Griesemer
7e3d98bc9c
gofmt: exclude testcase with incorrect syntax
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4160047
2011-02-11 16:24:35 -08:00
Rob Pike
a67292f20f
strconv/ftoa: avoid a double shift. (shifts by variables are expensive.)
...
R=rsc, gri, r2
CC=golang-dev
https://golang.org/cl/4169048
2011-02-11 16:06:04 -08:00
Russ Cox
a93c994bcf
testing: include elapsed time in output
...
R=r
CC=golang-dev
https://golang.org/cl/4180045
2011-02-11 18:00:58 -05:00
Lorenzo Stoakes
b57ac97c27
gc: correct receiver in method missing error
...
Fixes #1324 .
R=rsc1, r, rsc
CC=golang-dev
https://golang.org/cl/3435042
2011-02-11 17:47:58 -05:00
Russ Cox
26880d7e03
sync: check Unlock of unlocked Mutex
...
R=r, adg
CC=golang-dev
https://golang.org/cl/4180044
2011-02-11 17:47:17 -05:00
Ken Thompson
ca5179d3f6
5ld: stoped generating 64-bit eor
...
R=rsc
CC=golang-dev
https://golang.org/cl/4182049
2011-02-11 13:22:35 -08:00
Mikio Hara
9b85d499af
syscall: remove obsolete socket IO control
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4183046
2011-02-11 16:20:31 -05:00
Petar Maymounkov
3de98466c8
http: add pipelining to ClientConn, ServerConn
...
R=rsc, bradfitzwork
CC=golang-dev
https://golang.org/cl/4082044
2011-02-11 15:05:47 -05:00
Mikio Hara
9c97af99bc
syscall: add sockaddr_dl, sysctl with routing message support for darwin, freebsd
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4171043
2011-02-11 14:34:00 -05:00
Russ Cox
48535ae3f1
runtime: check that SysReserve returns aligned memory
...
R=iant, iant2
CC=golang-dev
https://golang.org/cl/4180043
2011-02-11 14:32:34 -05:00
Yuval Pavel Zholkover
7e77623120
8l, runtime: place G and M pointers relative to _tos on Plan 9, instead of hardcoded values for USTKTOP.
...
This should allow executing both on native Plan 9 and inside 9vx.
R=rsc
CC=golang-dev
https://golang.org/cl/3993044
2011-02-11 13:39:05 -05:00
Evan Shaw
bbfad5f1cc
bytes: fix bugs in buffer.ReadBytes
...
Fixes #1498 .
R=golang-dev, mattn, r, rsc
CC=golang-dev
https://golang.org/cl/4140041
2011-02-11 12:39:18 -05:00
Adam Langley
4ee90b764e
crypto/openpgp: minor updates to subpackages
...
Now that packet/ is checked in, we can add its Makefile. Also, a couple
of updates to error/ and s2k/ for bugfixes and to use the new crypto
package.
R=bradfitzgo
CC=golang-dev
https://golang.org/cl/4179043
2011-02-11 08:34:19 -05:00
Mathieu Lonjaret
047b023119
fix example in inotify
...
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4174045
2011-02-11 08:30:34 -05:00
Luuk van Dijk
37b1787392
flag: allow hexadecimal and octal input for integer flags.
...
R=r
CC=golang-dev
https://golang.org/cl/4182043
2011-02-11 12:23:54 +01:00
Adam Langley
28a2369414
crypto/openpgp/packet: add remainder of packet types.
...
(The unittest for Signature may seem a little small, but it's tested by
the higher level code.)
R=bradfitzgo
CC=golang-dev
https://golang.org/cl/4173043
2011-02-10 19:59:12 -05:00
Robert Griesemer
a75e5fc670
godoc: godoc: Use IsAbs to test for absolute paths (fix for win32).
...
One more case.
R=r, r2
CC=golang-dev
https://golang.org/cl/4170044
2011-02-10 16:32:51 -08:00
Yasuhiro Matsumoto
3b3568ba49
godoc: Use IsAbs to test for absolute paths (fix for win32).
...
R=gri
CC=golang-dev
https://golang.org/cl/4129046
2011-02-10 16:00:24 -08:00
Alex Brainman
cf75c86cdf
syscall: change windows apis with bool return value to return errno instead
...
This change is to make these apis similar to their unix counterparts.
R=rsc
CC=golang-dev
https://golang.org/cl/4185042
2011-02-11 10:15:51 +11:00
Brad Fitzpatrick
876e9d1b89
http: add Server type supporting timeouts
...
R=rsc
CC=golang-dev
https://golang.org/cl/4172041
2011-02-10 14:36:22 -08:00
Russ Cox
12bdb29bdf
runtime: complete windows SysReserve
...
Should fix windows/386 build.
R=brainman
CC=golang-dev
https://golang.org/cl/4170041
2011-02-10 15:39:08 -05:00
Andrew Gerrand
4774a19530
encoding/binary: update package doc string to be more comprehensive
...
R=r
CC=golang-dev
https://golang.org/cl/4128060
2011-02-11 06:56:31 +11:00
Roger Peppe
b935728a17
fmt: fix minor typo
...
R=r, r2
CC=golang-dev
https://golang.org/cl/4187041
2011-02-10 11:01:05 -08:00
Andrew Gerrand
047cf3161e
json: correct Marshal documentation
...
Fixes #1488 .
R=r, rsc, rog
CC=golang-dev
https://golang.org/cl/4168043
2011-02-10 13:48:14 -05:00
Wei Guangjing
44bcc1fcd9
debug/pe: ImportedSymbols fixes
...
R=golang-dev, brainman, mattn, rsc
CC=golang-dev
https://golang.org/cl/4001058
2011-02-10 10:22:32 -05:00
Adam Langley
9fe490ee38
crypto/openpgp/packet: four more packet types.
...
R=bradfitzgo
CC=golang-dev
https://golang.org/cl/4156044
2011-02-10 07:56:30 -05:00
Hector Chu
239ef63bf2
runtime: take the callback return value from the stack
...
R=brainman, lxn, rsc
CC=golang-dev
https://golang.org/cl/4126056
2011-02-10 23:02:27 +11:00