]> Cypherpunks.ru repositories - gostls13.git/log
gostls13.git
14 years agorelease.2010-03-22 weekly.2010-03-22
Andrew Gerrand [Tue, 23 Mar 2010 01:56:39 +0000 (12:56 +1100)]
release.2010-03-22

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

14 years agogc: various map-related bug fixes
Russ Cox [Tue, 23 Mar 2010 01:51:14 +0000 (18:51 -0700)]
gc: various map-related bug fixes

Fixes #687.

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

14 years agoast/printer: support for printing ast.Spec nodes
Andrew Gerrand [Mon, 22 Mar 2010 22:00:47 +0000 (09:00 +1100)]
ast/printer: support for printing ast.Spec nodes

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

14 years agogoinstall: let git/hg/svn create the final directory element
Russ Cox [Sun, 21 Mar 2010 05:38:06 +0000 (22:38 -0700)]
goinstall: let git/hg/svn create the final directory element

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

14 years agoA+C: add Kyle Consalus (individual CLA)
Russ Cox [Sun, 21 Mar 2010 05:37:53 +0000 (22:37 -0700)]
A+C: add Kyle Consalus (individual CLA)

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

14 years agolibmach: more info when memory reads fail on Darwin
Russ Cox [Sun, 21 Mar 2010 05:37:23 +0000 (22:37 -0700)]
libmach: more info when memory reads fail on Darwin

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

14 years agoissue 682
Ken Thompson [Sun, 21 Mar 2010 01:50:01 +0000 (18:50 -0700)]
issue 682
complex DATA statement fo
initialization of complex variables.

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

14 years agogodoc: line numbers for all remote search results
Robert Griesemer [Sat, 20 Mar 2010 05:48:08 +0000 (22:48 -0700)]
godoc: line numbers for all remote search results

Instead of returning the index lookup result via
RPC which has to be corrected for the client,
simply render it on the server and return the
final output.

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

14 years agogodoc: revert change 5089, per gri's instructions
Russ Cox [Sat, 20 Mar 2010 00:46:18 +0000 (17:46 -0700)]
godoc: revert change 5089, per gri's instructions

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

14 years agowebsite: add Go Blog widget to frontpage,
Andrew Gerrand [Sat, 20 Mar 2010 00:42:57 +0000 (11:42 +1100)]
website: add Go Blog widget to frontpage,
add Blog and Wiki links to sideba

R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/611042

14 years agogodoc: proper file path conversion for remote search
Robert Griesemer [Sat, 20 Mar 2010 00:07:16 +0000 (17:07 -0700)]
godoc: proper file path conversion for remote search

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

14 years agoMake.cmd: make 'all' the default target (was 'clean': BUG)
Rob Pike [Fri, 19 Mar 2010 23:33:27 +0000 (16:33 -0700)]
Make.cmd: make 'all' the default target (was 'clean': BUG)

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

14 years agoos: drop File finalizer after normal Close
Russ Cox [Fri, 19 Mar 2010 23:28:32 +0000 (16:28 -0700)]
os: drop File finalizer after normal Close

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

14 years agohttp: add Error helper function
Andrew Gerrand [Fri, 19 Mar 2010 23:22:09 +0000 (10:22 +1100)]
http: add Error helper function

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

14 years agodoc/htmlgen.go: remove unnecessary semicolons
James Toy [Fri, 19 Mar 2010 23:17:18 +0000 (16:17 -0700)]
doc/htmlgen.go: remove unnecessary semicolons

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

14 years agoA+C: add James Toy (individual CLA)
Russ Cox [Fri, 19 Mar 2010 22:54:27 +0000 (15:54 -0700)]
A+C: add James Toy (individual CLA)

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

14 years agomath: add Gamma function
Charles L. Dorian [Fri, 19 Mar 2010 22:29:22 +0000 (15:29 -0700)]
math: add Gamma function

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

14 years agosyscall: mingw implemntation of Errstr()
Alex Brainman [Fri, 19 Mar 2010 22:21:37 +0000 (15:21 -0700)]
syscall: mingw implemntation of Errstr()

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

14 years agogodoc: show (some) line numbers for remote search
Robert Griesemer [Fri, 19 Mar 2010 22:20:20 +0000 (15:20 -0700)]
godoc: show (some) line numbers for remote search
- show build version
- use build goroot when possible

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

14 years agosyscall: mksyscall_mingw.sh emitting shorter calls (to Syscall or Syscall6) when...
Alex Brainman [Fri, 19 Mar 2010 22:17:18 +0000 (15:17 -0700)]
syscall: mksyscall_mingw.sh emitting shorter calls (to Syscall or Syscall6) when there are fewer arguments

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

14 years agoFactor the Makefiles to make writing outside Makefiles easier.
Rob Pike [Fri, 19 Mar 2010 22:14:46 +0000 (15:14 -0700)]
Factor the Makefiles to make writing outside Makefiles easier.

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

14 years agoissue 608
Ken Thompson [Fri, 19 Mar 2010 21:20:15 +0000 (14:20 -0700)]
issue 608
error compiling if(long long) in 6c compiler

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

14 years agowebsocket: use URL.RawPath to construct WebSocket-Location: header
Fumitoshi Ukai [Fri, 19 Mar 2010 21:18:02 +0000 (14:18 -0700)]
websocket: use URL.RawPath to construct WebSocket-Location: header

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

14 years agodeps.bash: handle Makefiles with .go filenames that include $(GOOS) and $(GOARCH)
Alex Brainman [Fri, 19 Mar 2010 21:17:07 +0000 (14:17 -0700)]
deps.bash: handle Makefiles with .go filenames that include $(GOOS) and $(GOARCH)

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

14 years agogodoc: improved comment formatting: recognize URLs
Robert Griesemer [Fri, 19 Mar 2010 20:01:45 +0000 (13:01 -0700)]
godoc: improved comment formatting: recognize URLs
and highlight special words, if provided. Also:

- related cleanups in src/pkg/go/doc/comment.go
- fix typos in src/cmd/goinstall/doc.go

Fixes #672.

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

14 years agogodoc: implemented command-line search
Robert Griesemer [Fri, 19 Mar 2010 19:46:43 +0000 (12:46 -0700)]
godoc: implemented command-line search

The command-line search is using a running webserver
as index server; i.e., the search result is reflecting
the index at the server. See the documentation for
details.

Usage: godoc -q query1 query2 ...

Known issue: Results don't show the all-important
line numbers yet due to the way the index is organized.
Next CL.

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

14 years agotemplate: fixed html formatter bug where it would turn a []byte
Andrew Gerrand [Thu, 18 Mar 2010 22:46:39 +0000 (09:46 +1100)]
template: fixed html formatter bug where it would turn a []byte
into a string of decimal numbers.

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

14 years agorpc documentation cleanup: remove ;'s from code in documentation
Robert Griesemer [Thu, 18 Mar 2010 21:10:25 +0000 (14:10 -0700)]
rpc documentation cleanup: remove ;'s from code in documentation

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

14 years agogo/doc cleanup: remove some unnecessary string conversions
Robert Griesemer [Thu, 18 Mar 2010 21:09:17 +0000 (14:09 -0700)]
go/doc cleanup: remove some unnecessary string conversions

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

14 years agoFix src/pkg/syscall/mkall.sh: don't assume that . is on PATH.
Alex Brainman [Thu, 18 Mar 2010 03:07:14 +0000 (20:07 -0700)]
Fix src/pkg/syscall/mkall.sh: don't assume that . is on PATH.

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

14 years agoFix build: don't assume that . is on PATH.
Ian Lance Taylor [Wed, 17 Mar 2010 17:08:27 +0000 (10:08 -0700)]
Fix build: don't assume that . is on PATH.

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

14 years agocrypto/rand: new package
Russ Cox [Wed, 17 Mar 2010 06:12:20 +0000 (23:12 -0700)]
crypto/rand: new package

Until proven insufficient, rely on the operating system
to give us good random bytes (/dev/urandom).

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

14 years agoruntime: add GOROOT and Version
Russ Cox [Wed, 17 Mar 2010 06:10:33 +0000 (23:10 -0700)]
runtime: add GOROOT and Version

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

14 years agosyscall: more changes to mingw version
Alex Brainman [Wed, 17 Mar 2010 06:10:07 +0000 (23:10 -0700)]
syscall: more changes to mingw version
- mkall now generates syscall stabs automatically
- we can call unicode versions of winapi now
- introduce GetErrstr function to fetch error text given errno
- general cleanup

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

14 years agojson: add MarshalIndent (accepts user-specified indent string)
Andrew Gerrand [Wed, 17 Mar 2010 04:41:16 +0000 (15:41 +1100)]
json: add MarshalIndent (accepts user-specified indent string)

Fixes #661

R=r, rsc, skorobo
CC=golang-dev
https://golang.org/cl/576042

14 years agosyscall: add const ARCH, analogous to OS
Russ Cox [Wed, 17 Mar 2010 01:45:48 +0000 (18:45 -0700)]
syscall: add const ARCH, analogous to OS

R=r
CC=giles, golang-dev
https://golang.org/cl/600041

14 years agodoc/install: tweak port text; drop redundant list of operating systems.
Russ Cox [Wed, 17 Mar 2010 01:45:16 +0000 (18:45 -0700)]
doc/install: tweak port text; drop redundant list of operating systems.

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

14 years agoversion.bash: cope with ancient Mercurial
Russ Cox [Wed, 17 Mar 2010 01:45:06 +0000 (18:45 -0700)]
version.bash: cope with ancient Mercurial

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

14 years agohttp: change RawPath to mean raw path, not raw everything-after-scheme.
Russ Cox [Wed, 17 Mar 2010 01:44:55 +0000 (18:44 -0700)]
http: change RawPath to mean raw path, not raw everything-after-scheme.

The new meaning is more useful for both websocket and http.

R=r, petar-m, ukai
CC=golang-dev, madari
https://golang.org/cl/582043

14 years agoutf16: new package
Russ Cox [Wed, 17 Mar 2010 01:44:37 +0000 (18:44 -0700)]
utf16: new package

needed for interacting with various legacy interfaces,
like Windows and the Mac OS clipboard.

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

14 years agogoinstall doc: fix link to godashboard/package
Andrew Gerrand [Wed, 17 Mar 2010 00:40:05 +0000 (11:40 +1100)]
goinstall doc: fix link to godashboard/package

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

14 years agogofmt: more consistent formatting of const/var decls
Robert Griesemer [Tue, 16 Mar 2010 23:45:54 +0000 (16:45 -0700)]
gofmt: more consistent formatting of const/var decls
- gofmt -w src misc
- only manually modified file: src/pkg/go/printer/nodes.go

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

14 years agogodoc: initial support for showing popup information
Robert Griesemer [Tue, 16 Mar 2010 21:17:42 +0000 (14:17 -0700)]
godoc: initial support for showing popup information
for identifiers in Go source code

- at the moment just show identifier kind (var, func, etc.) and name
  (eventually should show declaration, type, etc.)
- JavaScript parts by adg

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

14 years agonet: fix IPMask.String not to crash on all-0xff mask
Russ Cox [Tue, 16 Mar 2010 21:16:33 +0000 (14:16 -0700)]
net: fix IPMask.String not to crash on all-0xff mask

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

14 years agohttp: add ParseQuery
Petar Maymounkov [Tue, 16 Mar 2010 20:57:16 +0000 (13:57 -0700)]
http: add ParseQuery

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

14 years agomisc/bbedit: support for cmplx, real, imag
Anthony Starks [Tue, 16 Mar 2010 20:26:34 +0000 (13:26 -0700)]
misc/bbedit: support for cmplx, real, imag

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

14 years agosha512: add sha384 (truncated version)
Conrad Meyer [Tue, 16 Mar 2010 20:26:21 +0000 (13:26 -0700)]
sha512: add sha384 (truncated version)

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

14 years agoimage/jpeg: fix typos
Robert Griesemer [Tue, 16 Mar 2010 05:10:47 +0000 (22:10 -0700)]
image/jpeg: fix typos

Fixes #665.

R=nigeltao, nigeltao_golang
CC=golang-dev
https://golang.org/cl/570041

14 years agoAdd new complex types, functions and literals to Vim syntax file.
David Symonds [Tue, 16 Mar 2010 03:38:24 +0000 (20:38 -0700)]
Add new complex types, functions and literals to Vim syntax file.

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

14 years agoruntime: lock finalizer table accesses
Russ Cox [Tue, 16 Mar 2010 03:29:17 +0000 (20:29 -0700)]
runtime: lock finalizer table accesses

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

14 years agorelease.2010-03-15 part two
Andrew Gerrand [Mon, 15 Mar 2010 23:54:02 +0000 (10:54 +1100)]
release.2010-03-15 part two

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

14 years agorelease.2010-03-15 weekly.2010-03-15
Andrew Gerrand [Mon, 15 Mar 2010 23:44:13 +0000 (10:44 +1100)]
release.2010-03-15

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

14 years agoinstall.html: elaborate on shell profile instructions
Andrew Gerrand [Mon, 15 Mar 2010 22:42:34 +0000 (09:42 +1100)]
install.html: elaborate on shell profile instructions

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

14 years agogofmt: fix for gofmt rewrite feature
Robert Griesemer [Mon, 15 Mar 2010 22:42:09 +0000 (15:42 -0700)]
gofmt: fix for gofmt rewrite feature

Fixes #643.

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

14 years ago dashboard: include package.html
Andrew Gerrand [Mon, 15 Mar 2010 22:05:09 +0000 (09:05 +1100)]
dashboard: include package.html

    This was omitted from the original commit.

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

14 years agogodoc: support for multiple packages in a directory
Robert Griesemer [Sat, 13 Mar 2010 02:16:21 +0000 (18:16 -0800)]
godoc: support for multiple packages in a directory
- smartly select the "right" package
- provide a list of other packages

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

14 years agohash/crc64: new package implementing 64-bit CRC
Russ Cox [Sat, 13 Mar 2010 01:38:18 +0000 (17:38 -0800)]
hash/crc64: new package implementing 64-bit CRC
hash/crc32: add Update function
hash: add Sum64 interface

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

14 years agogofmt: make sure there is a newline after
Robert Griesemer [Fri, 12 Mar 2010 22:54:06 +0000 (14:54 -0800)]
gofmt: make sure there is a newline after
a /*-style comment at the end of a file

Some minor cleanups/typo fixes along the way.

Fixes an issue where that newline was removed
after applying gofmt.

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

14 years agogo/printer: fix a couple of hidden crashes that become
Robert Griesemer [Fri, 12 Mar 2010 22:01:52 +0000 (14:01 -0800)]
go/printer: fix a couple of hidden crashes that become
visible only when enabling internal debug mode:
- in rare cases expression depth can underflow
- when printing a single labeled statement, indentation
  may underflow if not setup correctly

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

14 years agoast/filter.go: missing nil-check causes crash
Robert Griesemer [Fri, 12 Mar 2010 01:39:55 +0000 (17:39 -0800)]
ast/filter.go: missing nil-check causes crash

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

14 years agogodoc: fix formatting of -src output
Robert Griesemer [Fri, 12 Mar 2010 00:44:56 +0000 (16:44 -0800)]
godoc: fix formatting of -src output
- go/filter.go: make MergePackageFiles smarter
- go/printer.go: handle positions from multiple files

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

14 years agomath, path: minor comment fixes
Robert Griesemer [Fri, 12 Mar 2010 00:40:32 +0000 (16:40 -0800)]
math, path: minor comment fixes

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

14 years agosyslog: increase test timeout from 10ms to 100ms
Christopher Wedgwood [Thu, 11 Mar 2010 17:46:16 +0000 (09:46 -0800)]
syslog: increase test timeout from 10ms to 100ms

Problem pointed out by rsc.

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

14 years agoRevert previous change: complexN only converts to complexN.
Ian Lance Taylor [Thu, 11 Mar 2010 04:38:38 +0000 (20:38 -0800)]
Revert previous change: complexN only converts to complexN.

This was discussed with Ken and Russ.  6g has been changed,
and both compilers now work this way.  This avoids a double
type conversion--first to the float type, then to the complex
type.

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

14 years agomath package: minor documentation fix
Robert Griesemer [Thu, 11 Mar 2010 01:04:43 +0000 (17:04 -0800)]
math package: minor documentation fix

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

14 years agoinstall.html: add section on C tools
Robert Griesemer [Thu, 11 Mar 2010 00:31:09 +0000 (16:31 -0800)]
install.html: add section on C tools

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

14 years agogodoc: change -x to -src, update doc.go (missed in previous CL)
Robert Griesemer [Wed, 10 Mar 2010 23:41:36 +0000 (15:41 -0800)]
godoc: change -x to -src, update doc.go (missed in previous CL)

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

14 years agogo_spec.html: fix typo and link
Robert Griesemer [Wed, 10 Mar 2010 23:29:36 +0000 (15:29 -0800)]
go_spec.html: fix typo and link

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

14 years agogodoc: provide mode which shows exported interface in "source form"
Robert Griesemer [Wed, 10 Mar 2010 23:22:22 +0000 (15:22 -0800)]
godoc: provide mode which shows exported interface in "source form"
- on the commandline: godoc -x big
- in a webpage: provide form parameter ?m=src

Known issues:
- Positioning of comments incorrect in several cases. Separate CL.
- Need a link/menu to switch between different modes of presentation
  in the web view.

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

14 years agofix 386 a[i] = cmplx(r, j)
Russ Cox [Wed, 10 Mar 2010 21:06:35 +0000 (13:06 -0800)]
fix 386 a[i] = cmplx(r, j)

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

14 years agofix amd64 build (golden.out)
Russ Cox [Wed, 10 Mar 2010 20:42:53 +0000 (12:42 -0800)]
fix amd64 build (golden.out)

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

14 years agotemplate: add ParseFile, MustParseFile, and associated tests
Andrew Gerrand [Wed, 10 Mar 2010 09:19:20 +0000 (20:19 +1100)]
template: add ParseFile, MustParseFile, and associated tests

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

14 years ago1. decommit complex(float) conversion
Ken Thompson [Wed, 10 Mar 2010 01:51:30 +0000 (17:51 -0800)]
1. decommit complex(float) conversion
2. add complex algorithm for map/chan
3. test for use of complex in
   array, slice, field, chan, map,
   field, pointer.

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

14 years agogc: remove duplicate errors, give better error for I.(T)
Russ Cox [Tue, 9 Mar 2010 23:09:37 +0000 (15:09 -0800)]
gc: remove duplicate errors, give better error for I.(T)

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

14 years agosyscall: minimal mingw version of syscall to call windows dlls
Alex Brainman [Tue, 9 Mar 2010 23:09:09 +0000 (15:09 -0800)]
syscall: minimal mingw version of syscall to call windows dlls

lots of missing parts, but builds and can call dlls, see a sample code in syscall_mingw.go

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

14 years agoreflect: typo in comment
Dean Prichard [Tue, 9 Mar 2010 23:00:10 +0000 (10:00 +1100)]
reflect: typo in comment

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

14 years agomissing ';' renders the code snippet incorrectly on website
Andrey Mirtchovski [Tue, 9 Mar 2010 22:21:34 +0000 (14:21 -0800)]
missing ';' renders the code snippet incorrectly on website

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

14 years agofmt: enable the complex tests now that 8g supports complex
Rob Pike [Tue, 9 Mar 2010 22:17:14 +0000 (14:17 -0800)]
fmt: enable the complex tests now that 8g supports complex

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

14 years agofix bugs compiling things like
Ken Thompson [Tue, 9 Mar 2010 21:39:45 +0000 (13:39 -0800)]
fix bugs compiling things like
c = cmplx(imag(c), real(c))
without a temporary

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

14 years agoidentical complex implementation
Ken Thompson [Tue, 9 Mar 2010 20:49:24 +0000 (12:49 -0800)]
identical complex implementation
for 6g and 8g. can also be used
for 5g. 5g is still a stub.

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

14 years agoarm: cleanup build warnings
Dean Prichard [Tue, 9 Mar 2010 02:13:19 +0000 (18:13 -0800)]
arm: cleanup build warnings

trivial stuff
lex.c: these prototypes are in a.h
asm.c: unused variables
arm-pass.txt deal w/ sieve.go rename and addition of sieve2.go

R=kaib, rsc
CC=golang-dev
https://golang.org/cl/244041

14 years agocrypto/ripemd160: new package
Raif S. Naffah [Tue, 9 Mar 2010 02:12:36 +0000 (18:12 -0800)]
crypto/ripemd160: new package

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

14 years agocrypto/sha256: add SHA-224
Conrad Meyer [Tue, 9 Mar 2010 02:12:30 +0000 (18:12 -0800)]
crypto/sha256: add SHA-224

R=agl1, rsc
CC=golang-dev
https://golang.org/cl/253045

14 years agoencoding/base64: fix typo in comment
Giles Lean [Tue, 9 Mar 2010 02:12:25 +0000 (18:12 -0800)]
encoding/base64: fix typo in comment

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

14 years agogc: avoid fixed length buffer cleanbuf
Dean Prichard [Tue, 9 Mar 2010 01:00:14 +0000 (17:00 -0800)]
gc: avoid fixed length buffer cleanbuf

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

14 years agocrypto/sha512: new package
Conrad Meyer [Tue, 9 Mar 2010 01:00:04 +0000 (17:00 -0800)]
crypto/sha512: new package

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

14 years agoA+C: add Conrad Meyer (individual CLA)
Russ Cox [Tue, 9 Mar 2010 00:52:55 +0000 (16:52 -0800)]
A+C: add Conrad Meyer (individual CLA)

R=r
CC=cemeyer, golang-dev
https://golang.org/cl/313041

14 years agogc: simplify complex typecheck
Russ Cox [Mon, 8 Mar 2010 23:44:18 +0000 (15:44 -0800)]
gc: simplify complex typecheck
do not convert to float prematurely.

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

14 years ago5g/6g/8g: fix double function call in slice
Russ Cox [Mon, 8 Mar 2010 22:19:28 +0000 (14:19 -0800)]
5g/6g/8g: fix double function call in slice

Fixes #654.

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

14 years agoruntime: clock garbage collection on bytes allocated, not pages in use
Russ Cox [Mon, 8 Mar 2010 22:15:44 +0000 (14:15 -0800)]
runtime: clock garbage collection on bytes allocated, not pages in use
This keeps fragmentation from delaying
garbage collections (and causing more fragmentation).

Cuts fresh godoc (with indexes) from 261M to 166M (120M live).
Cuts toy wc program from 50M to 8M.

Fixes #647.

R=r, cw
CC=golang-dev
https://golang.org/cl/257041

14 years agoComplex values may only be compared for equality or inequality.
Ian Lance Taylor [Mon, 8 Mar 2010 22:05:46 +0000 (14:05 -0800)]
Complex values may only be compared for equality or inequality.

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

14 years agoClarify that conversions to complex are OK.
Ian Lance Taylor [Mon, 8 Mar 2010 21:45:03 +0000 (13:45 -0800)]
Clarify that conversions to complex are OK.

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

14 years agocrypto/rsa: don't use safe primes.
Adam Langley [Mon, 8 Mar 2010 14:25:24 +0000 (09:25 -0500)]
crypto/rsa: don't use safe primes.

Previously we would require safe primes for our RSA key generation.
Since this took rather a long time, this removes the requirement that
the primes be safe.

OpenSSL doesn't use safe primes for RSA key generation either
(openssl-0.9.8l/crypto/rsa/rsa_gen.c:122)

Fixes #649.

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

14 years agoregex: Remove unneeded imports from test.
Christopher Wedgwood [Sun, 7 Mar 2010 19:17:36 +0000 (11:17 -0800)]
regex: Remove unneeded imports from test.

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

14 years agoregexp: add ReplaceAllFunc and ReplaceAllStringFunc
Andrew Gerrand [Sun, 7 Mar 2010 01:41:49 +0000 (12:41 +1100)]
regexp: add ReplaceAllFunc and ReplaceAllStringFunc

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

14 years agofix bug in complex printing: imaginary didn't have same format as real.
Rob Pike [Sat, 6 Mar 2010 21:38:14 +0000 (13:38 -0800)]
fix bug in complex printing: imaginary didn't have same format as real.
add tests.

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

14 years agoPTAL
Ken Thompson [Sat, 6 Mar 2010 19:26:33 +0000 (11:26 -0800)]
PTAL

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

14 years ago6g complex type usable
Ken Thompson [Sat, 6 Mar 2010 04:16:04 +0000 (20:16 -0800)]
6g complex type usable
8g and 5g have stubs to ignore complex

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

14 years agogc: fix crash on complicated arg to make slice.
Russ Cox [Sat, 6 Mar 2010 03:29:14 +0000 (19:29 -0800)]
gc: fix crash on complicated arg to make slice.

Fixes #615.

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

14 years agomath: faster hypot
Charles L. Dorian [Sat, 6 Mar 2010 00:45:39 +0000 (16:45 -0800)]
math: faster hypot

Use hardware sqrt for faster hypot; preserve software-only
hypot as hypotGo (like sqrtGo); enable benchmarking of
hypotGo.

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