]> Cypherpunks repositories - gostls13.git/log
gostls13.git
14 years agogc: ... bug
Russ Cox [Wed, 6 Oct 2010 15:12:30 +0000 (11:12 -0400)]
gc: ... bug

Fixes #1165.

R=ken2
CC=golang-dev
https://golang.org/cl/2339042

14 years agogc: O(1) string comparison when lengths differ
Russ Cox [Wed, 6 Oct 2010 13:53:12 +0000 (09:53 -0400)]
gc: O(1) string comparison when lengths differ

R=ken2
CC=golang-dev
https://golang.org/cl/2331045

14 years agold: share asmlc
Russ Cox [Wed, 6 Oct 2010 13:52:54 +0000 (09:52 -0400)]
ld: share asmlc

R=ken2
CC=golang-dev
https://golang.org/cl/2373043

14 years agohttp: return the correct error if a header line is too long.
Stephen Ma [Wed, 6 Oct 2010 11:04:18 +0000 (22:04 +1100)]
http: return the correct error if a header line is too long.

R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/2372042

14 years agonet: fix comment
Mikio Hara [Wed, 6 Oct 2010 10:47:25 +0000 (21:47 +1100)]
net: fix comment

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/2358041

14 years agosyscall: add ucred structure for SCM_CREDENTIALS over UNIX sockets.
Albert Strasheim [Wed, 6 Oct 2010 10:32:31 +0000 (21:32 +1100)]
syscall: add ucred structure for SCM_CREDENTIALS over UNIX sockets.

Working on issue 1101.

R=golang-dev, rsc, adg
CC=golang-dev
https://golang.org/cl/2338042

14 years agoA+C: Albert Strasheim
Andrew Gerrand [Wed, 6 Oct 2010 10:30:34 +0000 (21:30 +1100)]
A+C: Albert Strasheim

R=golang-dev, r2
CC=golang-dev
https://golang.org/cl/2336042

14 years agobufio: minor documentation fix.
Stephen Ma [Wed, 6 Oct 2010 08:39:30 +0000 (19:39 +1100)]
bufio: minor documentation fix.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/2301045

14 years ago6g: set kind to KindUnsafePointer where appropriate in reflect structures.
Luuk van Dijk [Tue, 5 Oct 2010 19:17:16 +0000 (21:17 +0200)]
6g: set kind to KindUnsafePointer where appropriate in reflect structures.

R=rsc, ken2, r
CC=golang-dev
https://golang.org/cl/2355043

14 years agowebsocket: enable tests on windows
Alex Brainman [Tue, 5 Oct 2010 00:02:15 +0000 (11:02 +1100)]
websocket: enable tests on windows

Fixes #1110.

R=golang-dev, adg
CC=Joe Poirier, golang-dev
https://golang.org/cl/2367041

14 years agofmt: allow %d on []byte
Rob Pike [Mon, 4 Oct 2010 09:57:48 +0000 (11:57 +0200)]
fmt: allow %d on []byte
Fixes #1159.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/2305043

14 years agoos: make tests work on windows
Alex Brainman [Mon, 4 Oct 2010 06:31:49 +0000 (17:31 +1100)]
os: make tests work on windows

Fixes #1105.

R=golang-dev, r
CC=Joe Poirier, golang-dev
https://golang.org/cl/2343043

14 years agoadd _testmain.go to .hgignore
Alex Brainman [Mon, 4 Oct 2010 03:56:44 +0000 (14:56 +1100)]
add _testmain.go to .hgignore

R=rsc, r2
CC=golang-dev
https://golang.org/cl/2332042

14 years agogc: various bugs
Russ Cox [Sun, 3 Oct 2010 15:50:44 +0000 (11:50 -0400)]
gc: various bugs

Fixes #1016.
Fixes #1152.
Fixes #1153.

R=ken2
CC=golang-dev
https://golang.org/cl/2344042

14 years agoMake.pkg: remove .so before installing new one
Russ Cox [Fri, 1 Oct 2010 20:02:18 +0000 (16:02 -0400)]
Make.pkg: remove .so before installing new one

On Linux, overwriting an mmap'ed file causes
all the MAP_PRIVATE pages to get refreshed
with the new content, even ones that have been
modified by the process that did the mmap.

One specific instance of this is that after the
dynamic linker has relocated a page from a .so,
overwriting the .so will un-relocate it, making
the next use of one of the no-longer-relocated
addresses incorrect and probably crash the
program.

Linux must go out of its way to break programs
in this way: the pages have already been copied
on write, so they're not shared with the file system
cache, and it trashes them anyway.  The manual
says the behavior when the file gets overwritten
is "undefined".  Removing before copy avoids the
undefined behavior.

R=iant
CC=golang-dev, msolo
https://golang.org/cl/2333045

14 years agoarm: enable 9 more package tests
Russ Cox [Fri, 1 Oct 2010 04:18:07 +0000 (00:18 -0400)]
arm: enable 9 more package tests

R=ken2
CC=golang-dev
https://golang.org/cl/2345041

14 years agoUse Errorf where appropriate.
Andrew Gerrand [Fri, 1 Oct 2010 04:14:18 +0000 (14:14 +1000)]
Use Errorf where appropriate.

R=r, r2
CC=golang-dev
https://golang.org/cl/2308043

14 years agofmt: add Errorf helper function
Andrew Gerrand [Fri, 1 Oct 2010 04:04:55 +0000 (14:04 +1000)]
fmt: add Errorf helper function

This crops up in a lot of places.
It's just a one-liner, but doesn't add any dependancies.
Seems worth it.

R=r, r2
CC=golang-dev
https://golang.org/cl/2344041

14 years agocode gen error for
Ken Thompson [Fri, 1 Oct 2010 01:02:38 +0000 (18:02 -0700)]
code gen error for
lv += f()
fixes asn1 and maybe more

R=rsc
CC=golang-dev
https://golang.org/cl/2341042

14 years agogc: bug308
Russ Cox [Thu, 30 Sep 2010 19:05:01 +0000 (15:05 -0400)]
gc: bug308

confused by using isddd for both ONAME and OCALL

Fixes #1136.

R=ken2
CC=golang-dev
https://golang.org/cl/2314043

14 years agogc: correct buffer size in sprint, add -L to show full paths
Russ Cox [Thu, 30 Sep 2010 19:02:43 +0000 (15:02 -0400)]
gc: correct buffer size in sprint, add -L to show full paths

R=ken2
CC=golang-dev
https://golang.org/cl/2338041

14 years agogc, spec, tests: no auto-indirect of pointer to interface value
Russ Cox [Thu, 30 Sep 2010 18:59:41 +0000 (14:59 -0400)]
gc, spec, tests: no auto-indirect of pointer to interface value

Implies no embedding of pointer to interface value either.

R=gri, iant, ken2, r, r2
CC=golang-dev
https://golang.org/cl/2289041

14 years agolibcgo: fix comment
Russ Cox [Thu, 30 Sep 2010 18:58:29 +0000 (14:58 -0400)]
libcgo: fix comment

R=r, r2
CC=golang-dev
https://golang.org/cl/2329042

14 years agofix arm build on darwin leopard
Russ Cox [Thu, 30 Sep 2010 18:48:33 +0000 (14:48 -0400)]
fix arm build on darwin leopard

TBR=r
CC=golang-dev
https://golang.org/cl/2333043

14 years agoruntime: serialize mcache allocation
Russ Cox [Thu, 30 Sep 2010 18:09:19 +0000 (14:09 -0400)]
runtime: serialize mcache allocation

Fixes racy regex-dna-parallel crashes.

R=r, r2
CC=golang-dev
https://golang.org/cl/2308042

14 years agotag release.2010-09-29
Andrew Gerrand [Thu, 30 Sep 2010 07:48:16 +0000 (17:48 +1000)]
tag release.2010-09-29

R=nigeltao, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/2330041

14 years agorelease.2010-09-29 weekly.2010-09-29
Andrew Gerrand [Thu, 30 Sep 2010 07:33:07 +0000 (17:33 +1000)]
release.2010-09-29

R=golang-dev, nigeltao_gnome
CC=golang-dev
https://golang.org/cl/2329041

14 years agodoc: add to and consolidate non-english doc references
Andrew Gerrand [Thu, 30 Sep 2010 03:43:09 +0000 (13:43 +1000)]
doc: add to and consolidate non-english doc references

R=r, r2
CC=golang-dev
https://golang.org/cl/2315042

14 years agohttp: fix http handler signature changes previously missed
Stephen Ma [Thu, 30 Sep 2010 03:22:28 +0000 (13:22 +1000)]
http: fix http handler signature changes previously missed

R=adg, rsc
CC=golang-dev
https://golang.org/cl/2303041

14 years agodoc: update http handler usage for new signature
Stephen Ma [Thu, 30 Sep 2010 03:19:33 +0000 (13:19 +1000)]
doc: update http handler usage for new signature

R=adg, r2
CC=golang-dev
https://golang.org/cl/2302041

14 years ago6prof: more accurate usage message.
David Symonds [Thu, 30 Sep 2010 03:17:18 +0000 (20:17 -0700)]
6prof: more accurate usage message.

R=r, r2
CC=golang-dev
https://golang.org/cl/2323042

14 years agobuild: disable archive/zip on arm
Russ Cox [Thu, 30 Sep 2010 03:11:00 +0000 (23:11 -0400)]
build: disable archive/zip on arm

R=adg
TBR=adg
CC=golang-dev
https://golang.org/cl/2326041

14 years agoarchive/zip: new package for reading ZIP files
Andrew Gerrand [Thu, 30 Sep 2010 01:59:46 +0000 (11:59 +1000)]
archive/zip: new package for reading ZIP files

R=rsc
CC=golang-dev
https://golang.org/cl/2125042

14 years agomisc/dashboard/builder: remove build files after benchmarking
Andrew Gerrand [Thu, 30 Sep 2010 01:59:36 +0000 (11:59 +1000)]
misc/dashboard/builder: remove build files after benchmarking

R=r
CC=golang-dev
https://golang.org/cl/2270041

14 years agodoc: faq updates part one
Andrew Gerrand [Thu, 30 Sep 2010 01:23:39 +0000 (11:23 +1000)]
doc: faq updates part one

R=r, r2
CC=golang-dev
https://golang.org/cl/2301041

14 years agoinstall.html: minor sentence fix
Robert Griesemer [Wed, 29 Sep 2010 19:34:24 +0000 (12:34 -0700)]
install.html: minor sentence fix

R=r, r2
CC=golang-dev
https://golang.org/cl/2312041

14 years ago6l, 8l: fix -K implementation
Russ Cox [Wed, 29 Sep 2010 19:10:14 +0000 (15:10 -0400)]
6l, 8l: fix -K implementation

R=ken2
CC=golang-dev
https://golang.org/cl/2313041

14 years agoEffective Go: update for new http interface.
Rob Pike [Wed, 29 Sep 2010 18:12:52 +0000 (11:12 -0700)]
Effective Go: update for new http interface.

R=rsc, stephenm
CC=golang-dev
https://golang.org/cl/2310041

14 years agodoc: consolidate FAQs into a single file, go_faq.html
Andrew Gerrand [Wed, 29 Sep 2010 06:52:22 +0000 (16:52 +1000)]
doc: consolidate FAQs into a single file, go_faq.html

An entirely mechanical change, with these exceptions:
- removed 'stub questions' that reference the other FAQs
- removed "Why doesn't Go run on Windows yet?" - out of date

I will follow this CL with another that updates many of the
answers to make them more current.

R=r
CC=golang-dev
https://golang.org/cl/2300041

14 years agohttp: revised http Handler interface
Stephen Ma [Wed, 29 Sep 2010 04:30:12 +0000 (14:30 +1000)]
http: revised http Handler interface

R=rsc
CC=golang-dev
https://golang.org/cl/1993043

14 years agobuild: clear custom variables like GREP_OPTIONS
Russ Cox [Wed, 29 Sep 2010 03:51:55 +0000 (23:51 -0400)]
build: clear custom variables like GREP_OPTIONS

Fixes #946.

R=r, r2
CC=golang-dev
https://golang.org/cl/2137048

14 years agoarm: 10 more package tests pass
Russ Cox [Wed, 29 Sep 2010 03:46:36 +0000 (23:46 -0400)]
arm: 10 more package tests pass

R=ken2
CC=golang-dev
https://golang.org/cl/2298041

14 years agogotest: leave _testmain.go for "make clean" to clean up
Russ Cox [Wed, 29 Sep 2010 02:59:16 +0000 (22:59 -0400)]
gotest: leave _testmain.go for "make clean" to clean up

R=r, brainman
CC=golang-dev
https://golang.org/cl/2297041

14 years agolibcgo: don't build for NaCl
Russ Cox [Wed, 29 Sep 2010 01:53:06 +0000 (21:53 -0400)]
libcgo: don't build for NaCl

R=nigeltao
CC=golang-dev
https://golang.org/cl/2290041

14 years agoruntime: fix freebsd build
Russ Cox [Wed, 29 Sep 2010 01:37:12 +0000 (21:37 -0400)]
runtime: fix freebsd build

TBR=r
CC=golang-dev
https://golang.org/cl/2296041

14 years agoarm code gen error in unsign extend
Ken Thompson [Wed, 29 Sep 2010 01:12:46 +0000 (18:12 -0700)]
arm code gen error in unsign extend

R=rsc
CC=golang-dev
https://golang.org/cl/2295041

14 years agoruntime: fix build
Russ Cox [Wed, 29 Sep 2010 00:50:00 +0000 (20:50 -0400)]
runtime: fix build

On systems where the mmap succeeds
(e.g., sysctl -w vm.mmap_min_addr=0)
it changes the signal code delivered for a
nil fault from ``page not mapped'' to
``invalid permissions for page.''

TBR=r
CC=golang-dev
https://golang.org/cl/2294041

14 years agoruntime: add mmap of null page just in case
Russ Cox [Wed, 29 Sep 2010 00:30:01 +0000 (20:30 -0400)]
runtime: add mmap of null page just in case

R=r, iant, robert.swiecki, rsc1
CC=golang-dev
https://golang.org/cl/1904044

14 years agocodereview: fix upload of hg copied file
Russ Cox [Wed, 29 Sep 2010 00:29:20 +0000 (20:29 -0400)]
codereview: fix upload of hg copied file

Fixes #1134.

R=r, r2
CC=golang-dev
https://golang.org/cl/2264043

14 years agogo spec: clarifications for range clause
Robert Griesemer [Tue, 28 Sep 2010 21:44:19 +0000 (14:44 -0700)]
go spec: clarifications for range clause

R=iant, r, rsc, rog
CC=golang-dev
https://golang.org/cl/2226047

14 years ago6l, 8l: elfsetstring is only for .shstrtab
Russ Cox [Tue, 28 Sep 2010 19:18:02 +0000 (15:18 -0400)]
6l, 8l: elfsetstring is only for .shstrtab

Was also recording for .dynstrtab which made the
table run out of space and would have caused confusion
if the ELF code tried to refer to any of the strings.

R=r
CC=golang-dev
https://golang.org/cl/2288041

14 years agojson: do not write to unexported fields
Russ Cox [Tue, 28 Sep 2010 18:40:23 +0000 (14:40 -0400)]
json: do not write to unexported fields

Fixes #977.
Fixes #451.

R=r, r2
CC=golang-dev
https://golang.org/cl/2246049

14 years agogc: fix reflect table method receiver
Russ Cox [Tue, 28 Sep 2010 17:43:50 +0000 (13:43 -0400)]
gc: fix reflect table method receiver

Fixes #451.
Fixes #770.

R=ken2
CC=golang-dev
https://golang.org/cl/2207045

14 years agovarious: appease the ubuntu gcc monster
Russ Cox [Tue, 28 Sep 2010 17:00:13 +0000 (13:00 -0400)]
various: appease the ubuntu gcc monster

Silence warnings about not checking
return values from read and write system calls.

R=r, r2
CC=golang-dev
https://golang.org/cl/2258045

14 years agogc: insert semicolon at EOF if needed
Russ Cox [Tue, 28 Sep 2010 14:35:02 +0000 (10:35 -0400)]
gc: insert semicolon at EOF if needed

R=ken2, gri
CC=golang-dev
https://golang.org/cl/2208053

14 years agomath: Fix off-by-one error in Ilogb and Logb.
Charles L. Dorian [Tue, 28 Sep 2010 14:15:21 +0000 (10:15 -0400)]
math: Fix off-by-one error in Ilogb and Logb.

Fixes #1141.

R=rsc
CC=adg, golang-dev
https://golang.org/cl/2194047

14 years agogo_spec: EOF may insert a semicolon
Robert Griesemer [Tue, 28 Sep 2010 01:59:11 +0000 (18:59 -0700)]
go_spec: EOF may insert a semicolon

R=rsc, r, iant
CC=golang-dev
https://golang.org/cl/2266043

14 years agohttp: support HTTP/1.0 Keep-Alive
Brad Fitzpatrick [Tue, 28 Sep 2010 01:55:04 +0000 (21:55 -0400)]
http: support HTTP/1.0 Keep-Alive

R=rsc, bradfitz1
CC=golang-dev
https://golang.org/cl/2261042

14 years agohttp: correct escaping of different parts of URL
Russ Cox [Tue, 28 Sep 2010 01:54:04 +0000 (21:54 -0400)]
http: correct escaping of different parts of URL

Fixes #1076.

R=adg
CC=golang-dev
https://golang.org/cl/2248045

14 years agogofmt: stability improvement
Robert Griesemer [Mon, 27 Sep 2010 22:03:15 +0000 (15:03 -0700)]
gofmt: stability improvement

There are a variety of token pairs that if printed
without separating blank may combine into a different
token sequence. Most of these (except for INT + .)
don't happen at the moment due to the spacing
introduced between expression operands. However, this
will prevent errors should the expression spacing
change.

R=rsc
CC=golang-dev
https://golang.org/cl/2207044

14 years agogo/scanner: treat EOF like a newline for purposes of semicolon insertion
Robert Griesemer [Mon, 27 Sep 2010 19:39:55 +0000 (12:39 -0700)]
go/scanner: treat EOF like a newline for purposes of semicolon insertion

R=rsc
CC=golang-dev
https://golang.org/cl/2216054

14 years agoutf8.String: provide an Init method to avoid unnecessary allocation
Rob Pike [Mon, 27 Sep 2010 19:06:29 +0000 (12:06 -0700)]
utf8.String: provide an Init method to avoid unnecessary allocation
when creating an array of Strings.

R=rsc
CC=golang-dev
https://golang.org/cl/2267046

14 years agogc: eliminate duplicates in method table
Russ Cox [Mon, 27 Sep 2010 18:09:10 +0000 (14:09 -0400)]
gc: eliminate duplicates in method table

Fixes #906.

R=ken2
CC=golang-dev
https://golang.org/cl/2279042

14 years agogc: fix non-canonical import error message
Russ Cox [Mon, 27 Sep 2010 16:59:26 +0000 (12:59 -0400)]
gc: fix non-canonical import error message

Fixes #1142.

R=ken2
CC=golang-dev
https://golang.org/cl/2218046

14 years agoruntime: correct stats in SysFree
Russ Cox [Mon, 27 Sep 2010 16:50:01 +0000 (12:50 -0400)]
runtime: correct stats in SysFree

R=r
CC=golang-dev
https://golang.org/cl/2254047

14 years agogc: allow select case expr = <-c
Russ Cox [Mon, 27 Sep 2010 16:04:21 +0000 (12:04 -0400)]
gc: allow select case expr = <-c

Fixes #1139.

R=ken2
CC=golang-dev
https://golang.org/cl/2194046

14 years agosyscall: add inotify on Linux
Balazs Lecz [Mon, 27 Sep 2010 15:44:26 +0000 (11:44 -0400)]
syscall: add inotify on Linux

R=rsc
CC=golang-dev
https://golang.org/cl/2241045

14 years agoCONTRIBUTORS: add Balazs Lecz (Google CLA)
Russ Cox [Mon, 27 Sep 2010 15:43:53 +0000 (11:43 -0400)]
CONTRIBUTORS: add Balazs Lecz (Google CLA)

R=r, r2
CC=golang-dev
https://golang.org/cl/2216053

14 years agolibcgo: set g, m in thread local storage for windows 386.
Wei Guangjing [Mon, 27 Sep 2010 13:44:56 +0000 (09:44 -0400)]
libcgo: set g, m in thread local storage for windows 386.

R=rsc
CC=golang-dev, vcc
https://golang.org/cl/2216051

14 years agosyscall: fix windows value of IPV6_V6ONLY
Alex Brainman [Mon, 27 Sep 2010 01:42:58 +0000 (11:42 +1000)]
syscall: fix windows value of IPV6_V6ONLY

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/2213048

14 years agobytes: fix typo in AddByte comment
Andrew Gerrand [Mon, 27 Sep 2010 01:41:43 +0000 (11:41 +1000)]
bytes: fix typo in AddByte comment

Fixes #1140.

R=golang-dev
CC=golang-dev
https://golang.org/cl/2240043

14 years agosyscall: add IPPROTO_IPV6 and IPV6_V6ONLY const to fix nacl and windows build
Alex Brainman [Sat, 25 Sep 2010 11:24:12 +0000 (21:24 +1000)]
syscall: add IPPROTO_IPV6 and IPV6_V6ONLY const to fix nacl and windows build

R=golang-dev
CC=golang-dev
https://golang.org/cl/2204050

14 years agotest: Add test which causes incorrect error from gccgo.
Ian Lance Taylor [Sat, 25 Sep 2010 00:07:42 +0000 (17:07 -0700)]
test: Add test which causes incorrect error from gccgo.

R=gri
CC=golang-dev
https://golang.org/cl/2220048

14 years agoutf8.String: Slice(i,j)
Rob Pike [Fri, 24 Sep 2010 22:52:29 +0000 (08:52 +1000)]
utf8.String: Slice(i,j)

R=rsc
CC=golang-dev
https://golang.org/cl/2225048

14 years agogc: improve error message for x \= 0
Russ Cox [Fri, 24 Sep 2010 21:09:31 +0000 (17:09 -0400)]
gc: improve error message for x \= 0

was
x.go:2: syntax error: unexpected $undefined

now
x.go:2: syntax error: unexpected \

R=ken2
CC=golang-dev
https://golang.org/cl/2267044

14 years agogo spec: ... changes
Robert Griesemer [Fri, 24 Sep 2010 21:08:28 +0000 (14:08 -0700)]
go spec: ... changes

Also: Fixed a bug in the BuiltinCall production.

R=iant, r, rsc
CC=golang-dev
https://golang.org/cl/2278041

14 years agoutf8: Add new type String to automate string indexing by code point.
Rob Pike [Fri, 24 Sep 2010 20:58:34 +0000 (06:58 +1000)]
utf8: Add new type String to automate string indexing by code point.

R=rsc, rog
CC=golang-dev
https://golang.org/cl/2275041

14 years agonet: enable v4-over-v6 on ip sockets
Russ Cox [Fri, 24 Sep 2010 20:52:06 +0000 (16:52 -0400)]
net: enable v4-over-v6 on ip sockets

Not all OS make that the default.
Can finally do this now that the syscall package
has the right definitions.

Fixes #679.

R=r
CC=golang-dev
https://golang.org/cl/2204048

14 years agonet: fix crash in DialIP
Russ Cox [Fri, 24 Sep 2010 20:50:50 +0000 (16:50 -0400)]
net: fix crash in DialIP

Reported by jan.newmarch.

Fixes #1130.

R=r
CC=golang-dev
https://golang.org/cl/2212043

14 years agogofmt: don't substitute invalid positions with valid ones in rewrites
Robert Griesemer [Fri, 24 Sep 2010 19:58:08 +0000 (12:58 -0700)]
gofmt: don't substitute invalid positions with valid ones in rewrites

Fixes rewrite bug: 'f(x) -> f(0)' where functions "picked up" ... arguments.

R=rsc
CC=golang-dev
https://golang.org/cl/2279041

14 years agosyscall: rebuild z files
Russ Cox [Fri, 24 Sep 2010 19:17:20 +0000 (15:17 -0400)]
syscall: rebuild z files

darwin/386
darwin/amd64
freebsd/386
freebsd/amd64
linux/386
linux/amd64
nacl/386

TBR=adg
CC=golang-dev
https://golang.org/cl/2198047

14 years agosyscall: fix socketpair in syscall_bsd
Russ Cox [Fri, 24 Sep 2010 18:59:34 +0000 (14:59 -0400)]
syscall: fix socketpair in syscall_bsd

THIS WILL BREAK THE BUILD.

The z files have socketpair code in them that was
written by hand; breaking the build with this is the first
step in getting rid of that hand-written code.

R=adg
TBR=adg
CC=golang-dev
https://golang.org/cl/2197050

14 years agosyscall: work harder to avoid doing this ever again
Russ Cox [Fri, 24 Sep 2010 18:52:10 +0000 (14:52 -0400)]
syscall: work harder to avoid doing this ever again

TBR=adg
CC=golang-dev
https://golang.org/cl/2218044

14 years agosyscall: fix mkall.sh for nacl
Russ Cox [Fri, 24 Sep 2010 18:38:17 +0000 (14:38 -0400)]
syscall: fix mkall.sh for nacl

TBR=adg
CC=golang-dev
https://golang.org/cl/2208050

14 years agosyscall: fix permissions on mksysnum_nacl.sh
Russ Cox [Fri, 24 Sep 2010 18:03:54 +0000 (11:03 -0700)]
syscall: fix permissions on mksysnum_nacl.sh

TBR=adg
CC=golang-dev
https://golang.org/cl/2208049

14 years agomkall.sh, mkerrors.sh: work more broadly
Russ Cox [Fri, 24 Sep 2010 17:37:02 +0000 (13:37 -0400)]
mkall.sh, mkerrors.sh: work more broadly

work on FreeBSD even without /usr/src/sys.
work on systems where gcc -static is broken.

TBR so I can test my semi-automated z builder.

TBR=adg
CC=golang-dev
https://golang.org/cl/2215046

14 years agodebug/proc: ... changes (fix build)
Russ Cox [Fri, 24 Sep 2010 17:12:50 +0000 (13:12 -0400)]
debug/proc: ... changes (fix build)

TBR=gri
CC=golang-dev
https://golang.org/cl/2229047

14 years agocrypto/ocsp: update for asn1 change (fix build)
Russ Cox [Fri, 24 Sep 2010 17:08:35 +0000 (13:08 -0400)]
crypto/ocsp: update for asn1 change (fix build)

TBR=gri
CC=golang-dev
https://golang.org/cl/2221044

14 years agoasn1: make interface consistent with json
Russ Cox [Fri, 24 Sep 2010 16:34:18 +0000 (12:34 -0400)]
asn1: make interface consistent with json

Replace Marshal with MarshalToMemory
(no one was using old Marshal anyway).

Swap arguments to Unmarshal.

Fixes #1133.

R=agl1
CC=golang-dev
https://golang.org/cl/2249045

14 years agogc: printing of ...
Russ Cox [Fri, 24 Sep 2010 16:29:20 +0000 (12:29 -0400)]
gc: printing of ...

R=ken2
CC=golang-dev
https://golang.org/cl/2218043

14 years agoxml: Allow entities inside CDATA tags
Dan Sinclair [Fri, 24 Sep 2010 16:23:01 +0000 (12:23 -0400)]
xml: Allow entities inside CDATA tags

Fixes #1112.

R=rsc
CC=golang-dev
https://golang.org/cl/2255042

14 years ago... changes
Russ Cox [Fri, 24 Sep 2010 15:55:48 +0000 (11:55 -0400)]
... changes

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/2273042

14 years agogc: ... changes
Russ Cox [Fri, 24 Sep 2010 15:55:30 +0000 (11:55 -0400)]
gc: ... changes

R=ken2, ken3
CC=golang-dev
https://golang.org/cl/2208047

14 years agobuild: use full path when compiling libraries
Russ Cox [Fri, 24 Sep 2010 15:55:16 +0000 (11:55 -0400)]
build: use full path when compiling libraries

Makes gdb display full paths in backtrace.
Dropped during the most recent reorg.

R=r
CC=golang-dev
https://golang.org/cl/2216047

14 years agoruntime: fix unwindstack crash
Russ Cox [Fri, 24 Sep 2010 03:04:32 +0000 (23:04 -0400)]
runtime: fix unwindstack crash

Bug and fix identified by Alexey Gokhberg.
Fixes #1135.

R=r, brainman
CC=golang-dev
https://golang.org/cl/2198046

14 years agobufio.UnreadRune: fix bug at EOF
Rob Pike [Fri, 24 Sep 2010 02:28:14 +0000 (12:28 +1000)]
bufio.UnreadRune: fix bug at EOF
Fixes #1132.

R=rsc
CC=golang-dev
https://golang.org/cl/2215045

14 years agoexp/draw: remove "this isn't ready yet" comments.
Nigel Tao [Fri, 24 Sep 2010 02:15:49 +0000 (12:15 +1000)]
exp/draw: remove "this isn't ready yet" comments.

R=rsc, r2
CC=golang-dev
https://golang.org/cl/2248046

14 years agoos: check for valid arguments in windows Readdir
Peter Mundy [Fri, 24 Sep 2010 02:06:59 +0000 (22:06 -0400)]
os: check for valid arguments in windows Readdir

Fixes #1129.

R=rsc, brainman
CC=Joe Poirier, golang-dev
https://golang.org/cl/2211045

14 years agohtml: disable print
Russ Cox [Fri, 24 Sep 2010 02:05:42 +0000 (22:05 -0400)]
html: disable print

Everything is incomplete.
Let's not make noise like this a habit.

R=nigeltao_gnome
CC=golang-dev
https://golang.org/cl/2272041

14 years agonacl: update instructions for new SDK
Russ Cox [Fri, 24 Sep 2010 02:05:20 +0000 (22:05 -0400)]
nacl: update instructions for new SDK

R=nigeltao_gnome, nigeltao
CC=golang-dev
https://golang.org/cl/2253042