]> Cypherpunks repositories - gostls13.git/log
gostls13.git
15 years agoTest that the compiler rejects map types which should not be
Ian Lance Taylor [Thu, 29 Oct 2009 00:09:24 +0000 (17:09 -0700)]
Test that the compiler rejects map types which should not be
compatible.

R=rsc
CC=go-dev
http://go/go-review/1018001

15 years ago- added missing formatters in templates
Robert Griesemer [Wed, 28 Oct 2009 23:19:09 +0000 (16:19 -0700)]
- added missing formatters in templates
- replaced deprecated use of </font> with </span> tag
- added html escaping to godoc formatters where missing
- enabled text format for package documentation

R=rsc
http://go/go-review/1017001

15 years agomysterious bug: runtime.acid wasn't getting rebuilt
Russ Cox [Wed, 28 Oct 2009 21:03:16 +0000 (14:03 -0700)]
mysterious bug: runtime.acid wasn't getting rebuilt
when switching architectures.

fix bug twice: make sure clean removes the file,
and generate into architecture-specific file names.

R=r
http://go/go-review/1013018

15 years agohtml-escaping of fields that may be user-generated
Robert Griesemer [Wed, 28 Oct 2009 19:52:52 +0000 (12:52 -0700)]
html-escaping of fields that may be user-generated

R=rsc
http://go/go-review/1013019

15 years agofix for long label names impacting column width of previous lines
Robert Griesemer [Wed, 28 Oct 2009 17:14:59 +0000 (10:14 -0700)]
fix for long label names impacting column width of previous lines

R=rsc
http://go/go-review/1013017

15 years agofiles that are okay from the last gofmt round
Russ Cox [Wed, 28 Oct 2009 05:47:54 +0000 (22:47 -0700)]
files that are okay from the last gofmt round

R=gri
http://go/go-review/1015011

15 years agoshift for non-64 bit integers.
Kai Backman [Wed, 28 Oct 2009 05:38:45 +0000 (22:38 -0700)]
shift for non-64 bit integers.

R=rsc
http://go/go-review/1015017

15 years agogodoc search bug fixes:
Robert Griesemer [Tue, 27 Oct 2009 23:08:12 +0000 (16:08 -0700)]
godoc search bug fixes:
- sort by package name (instead of package path) for results with snippets
- sort line numbers in results without snippets
- properly characterize package clauses
- experiment with a leaner look: no underlines for top-level godoc links in the left side bar

Still using colors to distinguish results. Next step.

R=rsc
http://go/go-review/1015016

15 years agocode search for godoc:
Robert Griesemer [Tue, 27 Oct 2009 17:34:31 +0000 (10:34 -0700)]
code search for godoc:
- added goroutine to automatically index in the background
- added handler for search requests
- added search box to top-level godoc template
- added search.html template for the display of search results
- changes to spec.go because of name conflicts
- added extra styles to style.css (for shorter .html files)

R=rsc
http://go/go-review/1014011

15 years agoGet the right sigaction struct for the 386 rt_sigaction system
Ian Lance Taylor [Tue, 27 Oct 2009 05:49:08 +0000 (22:49 -0700)]
Get the right sigaction struct for the 386 rt_sigaction system
call.  This uses the header files from a 32-bit Ubuntu Hardy
system.

The use of _LOOSE_KERNEL_NAMES seems right.  The
-D__ARCH_SI_UID_T works around a bug which appears to be fixed
in later Linux versions.

R=rsc
http://go/go-review/1013015

15 years agobug162, large indices on nil references
Kai Backman [Tue, 27 Oct 2009 04:49:32 +0000 (21:49 -0700)]
bug162, large indices on nil references

R=rsc
http://go/go-review/1013016

15 years ago- gofmt-ify walk.go
Robert Griesemer [Tue, 27 Oct 2009 02:21:13 +0000 (19:21 -0700)]
- gofmt-ify walk.go
- fixed several bugs

R=rsc
http://go/go-review/1015015

15 years ago- indexing component for godoc
Robert Griesemer [Tue, 27 Oct 2009 01:32:51 +0000 (18:32 -0700)]
- indexing component for godoc

R=rsc
http://go/go-review/1015014

15 years agoAdd encoding/hex
Adam Langley [Mon, 26 Oct 2009 23:34:36 +0000 (16:34 -0700)]
Add encoding/hex

R=rsc
http://go/go-review/1015012

15 years agoRecognize gccgo error messages.
Ian Lance Taylor [Mon, 26 Oct 2009 23:06:46 +0000 (16:06 -0700)]
Recognize gccgo error messages.

rename1.go:10:8: error: expected type
rename1.go:11:10: error: expected function
rename1.go:13:8: error: incompatible types in binary expression

R=rsc
http://go/go-review/1015013

15 years agosnippet generator for godoc search results
Robert Griesemer [Mon, 26 Oct 2009 22:47:56 +0000 (15:47 -0700)]
snippet generator for godoc search results

R=rsc
http://go/go-review/1013014

15 years agoadd a favicon plus a couple of hi-res versions of gordon
Rob Pike [Mon, 26 Oct 2009 17:13:07 +0000 (10:13 -0700)]
add a favicon plus a couple of hi-res versions of gordon

R=rsc
CC=go-dev
http://go/go-review/1013013

15 years agofix defer. gave up on unified code for defer and go for now.
Kai Backman [Mon, 26 Oct 2009 15:02:19 +0000 (08:02 -0700)]
fix defer. gave up on unified code for defer and go for now.

R=rsc
http://go/go-review/1014010

15 years ago make 5l ignore multiple defs, remove use of multiple
Kai Backman [Sun, 25 Oct 2009 18:59:58 +0000 (11:59 -0700)]
make 5l ignore multiple defs, remove use of multiple
        defs from embed1 and gotest

R=rsc
http://go/go-review/1014009

15 years agoframe size > StackBig support
Kai Backman [Sun, 25 Oct 2009 18:51:48 +0000 (11:51 -0700)]
frame size > StackBig support

R=rsc
http://go/go-review/1015010

15 years agoproper syscall convention for arm
Kai Backman [Sun, 25 Oct 2009 18:51:16 +0000 (11:51 -0700)]
proper syscall convention for arm

R=rsc
http://go/go-review/1015009

15 years ago fix conditional branch instructions for unsigned ints and
Kai Backman [Sun, 25 Oct 2009 05:47:25 +0000 (22:47 -0700)]
fix conditional branch instructions for unsigned ints and
float. fix sgen endianess in sgen character copying.

        go/test: passes 97% (336/345)

R=rsc
http://go/go-review/1015007

15 years agoremove reference to p4 in comment.
Rob Pike [Sat, 24 Oct 2009 21:27:49 +0000 (14:27 -0700)]
remove reference to p4 in comment.

R=gri
CC=rsc
http://go/go-review/1014008

15 years ago fixed len/cap for chan. disable gc for now.
Kai Backman [Sat, 24 Oct 2009 03:31:03 +0000 (20:31 -0700)]
fixed len/cap for chan. disable gc for now.

        go/test: passes 93% (323/345)

R=rsc
http://go/go-review/1015006

15 years agowrite install docs
Russ Cox [Fri, 23 Oct 2009 22:24:08 +0000 (15:24 -0700)]
write install docs

R=r
CC=go-dev
http://go/go-review/1015004

15 years agopublish Request.Write (rename from Request.write)
Rob Pike [Fri, 23 Oct 2009 21:19:47 +0000 (14:19 -0700)]
publish Request.Write (rename from Request.write)

R=rsc
CC=go-dev
http://go/go-review/1015003

15 years agofix build issue cause by transition to hg
Kai Backman [Fri, 23 Oct 2009 19:43:01 +0000 (12:43 -0700)]
fix build issue cause by transition to hg

R=rsc
http://go/go-review/1013012

15 years agoone more argsize fix. we were copying with the correct
Kai Backman [Fri, 23 Oct 2009 18:03:16 +0000 (11:03 -0700)]
one more argsize fix. we were copying with the correct
alignment but not enough (duh).

R=rsc
APPROVED=rsc
DELTA=16  (13 added, 0 deleted, 3 changed)
OCL=36020
CL=36024

15 years agoall of pkg now compiles, fixes a few more tests
Kai Backman [Fri, 23 Oct 2009 18:00:59 +0000 (11:00 -0700)]
all of pkg now compiles, fixes a few more tests

go/test: passes 90% (313/345)

R=rsc
APPROVED=rsc
DELTA=90  (83 added, 3 deleted, 4 changed)
OCL=36011
CL=36023

15 years agofix off by 4 bug in morestack (lr again). remove storing of r0
Kai Backman [Fri, 23 Oct 2009 17:59:31 +0000 (10:59 -0700)]
fix off by 4 bug in morestack (lr again). remove storing of r0
now that all arguments are passed on the stack.

go/test: passes 89% (310/345)

R=rsc
APPROVED=rsc
DELTA=33  (13 added, 14 deleted, 6 changed)
OCL=36009
CL=36022

15 years agofix broken code produced for ominus
Kai Backman [Fri, 23 Oct 2009 17:58:29 +0000 (10:58 -0700)]
fix broken code produced for ominus

go/test: passes 89% (308/345)

R=rsc
APPROVED=rsc
DELTA=10  (5 added, 0 deleted, 5 changed)
OCL=36005
CL=36021

15 years agofix off by 4 in newproc arg copying.
Kai Backman [Thu, 22 Oct 2009 20:31:52 +0000 (13:31 -0700)]
fix off by 4 in newproc arg copying.

R=rsc
APPROVED=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=36001
CL=36004

15 years agofix computation of sync delay
Robert Griesemer [Fri, 23 Oct 2009 18:35:40 +0000 (11:35 -0700)]
fix computation of sync delay

R=rsc
http://go/go-review/1013011

15 years agoFix the sigaction declaration to match the system for Linux.
Ian Lance Taylor [Fri, 23 Oct 2009 06:51:54 +0000 (23:51 -0700)]
Fix the sigaction declaration to match the system for Linux.
I don't know whether Darwin needs a change here.

R=rsc
http://go/go-review/1013010

15 years agos/pc/PC/ in traceback output to match amd64.
Ian Lance Taylor [Fri, 23 Oct 2009 06:38:34 +0000 (23:38 -0700)]
s/pc/PC/ in traceback output to match amd64.
test/run expects to see "PC".

R=rsc
http://go/go-review/1015002

15 years agoFix printer_test.go to invoke Fprint as a method of cfg.
Ian Lance Taylor [Fri, 23 Oct 2009 05:19:22 +0000 (22:19 -0700)]
Fix printer_test.go to invoke Fprint as a method of cfg.
This matches the change to printer.go in revision 3632.

R=gri
http://go/go-review/1015001

15 years ago- make printer interface easily extensible w/o breaking clients (in the future)
Robert Griesemer [Fri, 23 Oct 2009 01:19:49 +0000 (18:19 -0700)]
- make printer interface easily extensible w/o breaking clients (in the future)
- replacement for p4 CL 35999 (abandoned)

R=rsc
http://go/go-review/1012010

15 years agominor changes to walk
Robert Griesemer [Fri, 23 Oct 2009 01:04:21 +0000 (18:04 -0700)]
minor changes to walk

R=rsc
http://go/go-review/1012008

15 years agosimple AST walking support
Robert Griesemer [Thu, 22 Oct 2009 23:35:53 +0000 (16:35 -0700)]
simple AST walking support

R=rsc
http://go/go-review/1014006

15 years agosilly change to test the code review process
Rob Pike [Thu, 22 Oct 2009 21:30:56 +0000 (14:30 -0700)]
silly change to test the code review process

R=rsc
http://go/go-review/1013009

15 years agoadd codereview-login command
Russ Cox [Thu, 22 Oct 2009 21:14:17 +0000 (14:14 -0700)]
add codereview-login command

R=r
CC=go-dev
http://go/go-review/1012007

15 years agofix build: no acid
Rob Pike [Thu, 22 Oct 2009 18:52:35 +0000 (11:52 -0700)]
fix build: no acid

R=rsc
http://go/go-review/1014005

15 years agofix handling of escaped characters like ' " & < >
Russ Cox [Thu, 22 Oct 2009 18:21:13 +0000 (11:21 -0700)]
fix handling of escaped characters like ' " & < >

R=r
http://go/go-review/1013007

15 years agoInitial checkin of codereview plugin.
Russ Cox [Thu, 22 Oct 2009 18:12:39 +0000 (11:12 -0700)]
Initial checkin of codereview plugin.
The master copy is going to live elsewhere,
but weAPOSTROPHEll keep a copy in the Go tree so that
developers donAPOSTROPHEt have to check out two
different repositories.

R=r
CC=go-dev
http://go/go-review/1012006

15 years agotell Mercurial which files to ignore
Russ Cox [Thu, 22 Oct 2009 18:07:39 +0000 (11:07 -0700)]
tell Mercurial which files to ignore

R=r
CC=go-dev
http://go/go-review/1012005

15 years agofix build after Mercurial move.
Russ Cox [Thu, 22 Oct 2009 17:59:27 +0000 (10:59 -0700)]
fix build after Mercurial move.
various missing or incorrect files.

R=r
CC=go-dev
http://go/go-review/1014004

15 years agogo/printer:
Robert Griesemer [Thu, 22 Oct 2009 16:41:38 +0000 (09:41 -0700)]
go/printer:
- handle HTML tagging via (client-installable) Stylers

go/doc:
- basic styler support
- some factoring
- ready to contain the search code (but for now excluded)

doc/style.css:
- updated

doc/go_spec.css:
- cleanup: replace deprecated uses of <font> tag with <span> tag

R=rsc
DELTA=302  (160 added, 62 deleted, 80 changed)
OCL=35973
CL=35996

15 years agoInterface types, values, and type compiler. This does not yet
Austin Clements [Thu, 22 Oct 2009 15:59:18 +0000 (08:59 -0700)]
Interface types, values, and type compiler.  This does not yet
implement any type checking or semantics for interfaces.

R=rsc
APPROVED=rsc
DELTA=305  (289 added, 10 deleted, 6 changed)
OCL=35889
CL=35995

15 years agogo-mode for Emacs. This provides basic syntax highlighting
Austin Clements [Thu, 22 Oct 2009 15:54:26 +0000 (08:54 -0700)]
go-mode for Emacs.  This provides basic syntax highlighting
for keywords, built-ins, functions, and some types.  It also
provides indentation that is (almost) identical to gofmt.

R=rsc
APPROVED=rsc
DELTA=509  (509 added, 0 deleted, 0 changed)
OCL=35951
CL=35994

15 years agoadd FAQ
Russ Cox [Thu, 22 Oct 2009 07:13:51 +0000 (00:13 -0700)]
add FAQ

R=r
DELTA=13  (0 added, 8 deleted, 5 changed)
OCL=35985
CL=35987

15 years agomain landing pages
Russ Cox [Thu, 22 Oct 2009 07:13:36 +0000 (00:13 -0700)]
main landing pages

R=r
DELTA=55  (7 added, 34 deleted, 14 changed)
OCL=35984
CL=35986

15 years agodrop a couple of semicolons for consistency
Rob Pike [Thu, 22 Oct 2009 06:05:56 +0000 (23:05 -0700)]
drop a couple of semicolons for consistency

R=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=35983
CL=35983

15 years agohave http server in-line PDF files.
Rob Pike [Thu, 22 Oct 2009 02:52:11 +0000 (19:52 -0700)]
have http server in-line PDF files.
add go course pdf files to doc/ for godoc to serve.
fix links to point to those files.

R=rsc
DELTA=7  (4 added, 0 deleted, 3 changed)
OCL=35972
CL=35981

15 years agoAdd SetValue(Value) to the Value interface.
Adam Langley [Thu, 22 Oct 2009 02:51:27 +0000 (19:51 -0700)]
Add SetValue(Value) to the Value interface.

R=rsc
APPROVED=rsc
DELTA=172  (170 added, 0 deleted, 2 changed)
OCL=35969
CL=35980

15 years agofix typo/oversight: s/Title/ToTitle/. the comment was already correct
Rob Pike [Thu, 22 Oct 2009 02:51:05 +0000 (19:51 -0700)]
fix typo/oversight: s/Title/ToTitle/.  the comment was already correct

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=35964
CL=35979

15 years agoReplace SliceReader with bytes.Buffer.
Adam Langley [Thu, 22 Oct 2009 02:49:01 +0000 (19:49 -0700)]
Replace SliceReader with bytes.Buffer.

R=r
APPROVED=r
DELTA=16  (0 added, 15 deleted, 1 changed)
OCL=35976
CL=35978

15 years agoFix typo in documentation.
Adam Langley [Thu, 22 Oct 2009 02:47:52 +0000 (19:47 -0700)]
Fix typo in documentation.

R=r
APPROVED=r
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=35977
CL=35977

15 years agoAdd initial x509 code.
Adam Langley [Thu, 22 Oct 2009 00:53:50 +0000 (17:53 -0700)]
Add initial x509 code.

R=rsc
APPROVED=rsc
DELTA=659  (659 added, 0 deleted, 0 changed)
OCL=35932
CL=35975

15 years agoMatch gccgo error messages.
Ian Lance Taylor [Wed, 21 Oct 2009 18:42:09 +0000 (11:42 -0700)]
Match gccgo error messages.

bug205.go:14:12: error: index must be integer
bug205.go:15:12: error: index must be integer
bug205.go:16:12: error: incompatible type for map index

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=35957
CL=35960

15 years agochange stack splitting comparisons from signed to unsigned (oversight)
Kai Backman [Wed, 21 Oct 2009 16:44:23 +0000 (09:44 -0700)]
change stack splitting comparisons from signed to unsigned (oversight)

R=rsc
APPROVED=rsc
DELTA=9  (0 added, 0 deleted, 9 changed)
OCL=35911
CL=35952

15 years agogccgo does not distinguish "use" and "assign" in these error
Ian Lance Taylor [Wed, 21 Oct 2009 06:11:00 +0000 (23:11 -0700)]
gccgo does not distinguish "use" and "assign" in these error
messages.  Match gccgo output.

named1.go:32:2: error: argument 0 has wrong type (cannot use type bool as type Bool)
named1.go:33:2: error: argument 0 has wrong type (cannot use type bool as type Bool)
named1.go:35:5: error: incompatible type for map index (cannot use type bool as type Bool)
named1.go:36:12: error: incompatible type for map assignment (cannot use type Bool as type bool)
named1.go:38:5: error: incompatible types in assignment (cannot use type bool as type Bool)
named1.go:40:2: error: argument 0 has wrong type (cannot use type bool as type Bool)
named1.go:42:5: error: incompatible type for receive (cannot use type bool as type Bool)
named1.go:46:5: error: incompatible type for type guard (cannot use type bool as type Bool)
named1.go:50:5: error: incompatible type for type guard (cannot use type bool as type Bool)
named1.go:53:2: error: argument 0 has wrong type (cannot use type bool as type Bool)
named1.go:54:5: error: incompatible types in assignment (cannot use type bool as type Bool)

R=rsc
DELTA=4  (0 added, 0 deleted, 4 changed)
OCL=35943
CL=35943

15 years agoinitialization
Rob Pike [Wed, 21 Oct 2009 00:32:16 +0000 (17:32 -0700)]
initialization

R=rsc
DELTA=292  (124 added, 165 deleted, 3 changed)
OCL=35936
CL=35939

15 years agoMove usr/dsymonds/iterable to src/pkg/exp/iterable.
David Symonds [Tue, 20 Oct 2009 21:10:22 +0000 (14:10 -0700)]
Move usr/dsymonds/iterable to src/pkg/exp/iterable.
Remove remainder of usr/dsymonds.

R=rsc,r
APPROVED=r
DELTA=685  (275 added, 409 deleted, 1 changed)
OCL=35810
CL=35933

15 years agoremove superfluous tracing support
Robert Griesemer [Tue, 20 Oct 2009 20:30:32 +0000 (13:30 -0700)]
remove superfluous tracing support

R=rsc
DELTA=5  (0 added, 4 deleted, 1 changed)
OCL=35930
CL=35930

15 years agobase64 -> encoding/base64
Russ Cox [Tue, 20 Oct 2009 20:00:16 +0000 (13:00 -0700)]
base64 -> encoding/base64
base85 -> encoding/ascii85, encoding/git85
debug/binary -> encoding/binary

R=r
DELTA=3190  (1884 added, 1297 deleted, 9 changed)
OCL=35923
CL=35929

15 years agostart the concurrency discussion. work from the outside in because this is a toughie.
Rob Pike [Tue, 20 Oct 2009 19:30:39 +0000 (12:30 -0700)]
start the concurrency discussion. work from the outside in because this is a toughie.
also fix a pedantry in the language design faq.

R=rsc
DELTA=113  (94 added, 16 deleted, 3 changed)
OCL=35922
CL=35928

15 years agoUpdated and simplified gofmt.
Robert Griesemer [Tue, 20 Oct 2009 19:07:31 +0000 (12:07 -0700)]
Updated and simplified gofmt.
- operates on stdin, a single file, or all files in a file tree
- setting -w flag writes to (source) file instead of stdout
- setting -l flag lists files whose formatting has changed

R=rsc
DELTA=201  (102 added, 71 deleted, 28 changed)
OCL=35890
CL=35926

15 years agoAdd base85, based on base64.
Russ Cox [Tue, 20 Oct 2009 16:04:09 +0000 (09:04 -0700)]
Add base85, based on base64.

Also add git version of base85,
which is what I really wanted but
didn't recognize as different until it
was too late.

R=austin
DELTA=980  (972 added, 4 deleted, 4 changed)
OCL=35580
CL=35921

15 years agoaddress bug193 and add note to spec about it.
Russ Cox [Tue, 20 Oct 2009 15:27:14 +0000 (08:27 -0700)]
address bug193 and add note to spec about it.

R=ken
OCL=35920
CL=35920

15 years agobug162, over and over
Russ Cox [Tue, 20 Oct 2009 15:03:43 +0000 (08:03 -0700)]
bug162, over and over

R=ken
OCL=35919
CL=35919

15 years agoforgot to include in 35898.
Russ Cox [Tue, 20 Oct 2009 13:44:50 +0000 (06:44 -0700)]
forgot to include in 35898.

R=ken
OCL=35917
CL=35917

15 years agoremoved tempalloc/tempfree and replaced with tempname
Kai Backman [Tue, 20 Oct 2009 05:47:25 +0000 (22:47 -0700)]
removed tempalloc/tempfree and replaced with tempname

go/test: passes 88% (304/345)

R=rsc
APPROVED=rsc
DELTA=67  (3 added, 54 deleted, 10 changed)
OCL=35910
CL=35910

15 years agosupport for 5.out files
Russ Cox [Tue, 20 Oct 2009 05:33:56 +0000 (22:33 -0700)]
support for 5.out files

R=kaib
DELTA=1262  (1247 added, 7 deleted, 8 changed)
OCL=35907
CL=35909

15 years agogetcallerpc and setcallerpc
Kai Backman [Tue, 20 Oct 2009 04:58:16 +0000 (21:58 -0700)]
getcallerpc and setcallerpc

go/test: passes 87% (303/345)

R=rsc
APPROVED=rsc
DELTA=19  (5 added, 6 deleted, 8 changed)
OCL=35903
CL=35906

15 years agobug196
Russ Cox [Tue, 20 Oct 2009 04:10:29 +0000 (21:10 -0700)]
bug196

R=ken
OCL=35905
CL=35905

15 years agobug136
Russ Cox [Tue, 20 Oct 2009 03:39:18 +0000 (20:39 -0700)]
bug136

R=ken
OCL=35902
CL=35904

15 years agofirst version of closures. test/closure doesn't yet pass.
Kai Backman [Tue, 20 Oct 2009 02:59:39 +0000 (19:59 -0700)]
first version of closures. test/closure doesn't yet pass.

go/test: passes 87% (300/343)

R=rsc
APPROVED=rsc
DELTA=125  (125 added, 0 deleted, 0 changed)
OCL=35893
CL=35900

15 years agobug169
Russ Cox [Tue, 20 Oct 2009 02:55:17 +0000 (19:55 -0700)]
bug169

R=ken
OCL=35899
CL=35899

15 years ago6g bug fixes:
Russ Cox [Tue, 20 Oct 2009 02:27:40 +0000 (19:27 -0700)]
6g bug fixes:
 * bug211
 * embedded interfaces with lowercase methods
 * var _ = f() at top level

R=ken
OCL=35898
CL=35898

15 years agobug190.
Russ Cox [Tue, 20 Oct 2009 01:47:37 +0000 (18:47 -0700)]
bug190.

also eliminate float80 dregs

R=ken
OCL=35894
CL=35896

15 years agoduplicate of bug190
Russ Cox [Tue, 20 Oct 2009 01:46:46 +0000 (18:46 -0700)]
duplicate of bug190

R=gri
DELTA=16  (0 added, 16 deleted, 0 changed)
OCL=35892
CL=35895

15 years agosupport one-line functions
Robert Griesemer [Mon, 19 Oct 2009 20:57:51 +0000 (13:57 -0700)]
support one-line functions

R=rsc
DELTA=207  (160 added, 42 deleted, 5 changed)
OCL=35854
CL=35887

15 years ago- method names in method sets/interfaces must be all different
Robert Griesemer [Mon, 19 Oct 2009 20:13:59 +0000 (13:13 -0700)]
- method names in method sets/interfaces must be all different
- specify evaluation order of floating-point expressions as
  discussed
- specify floating point conversion rounding as discussed
- slightly reformatted section on conversions to make it
  more readable (hopefully)
- fixed production for interpreted_string_lit - components
  were not properly tagged before because of """ instead of `"`

R=go-dev
DELTA=83  (41 added, 11 deleted, 31 changed)
OCL=35864
CL=35885

15 years agofunction literals
Kai Backman [Mon, 19 Oct 2009 19:44:08 +0000 (12:44 -0700)]
function literals

go/test: passes 86% (297/343)

R=rsc
APPROVED=rsc
DELTA=14  (10 added, 1 deleted, 3 changed)
OCL=35881
CL=35884

15 years agotest and fix http redirect handling
Russ Cox [Mon, 19 Oct 2009 19:10:14 +0000 (12:10 -0700)]
test and fix http redirect handling

BUG=2197242
R=r
DELTA=16  (16 added, 0 deleted, 0 changed)
OCL=35878
CL=35882

15 years agofiddling while rome burns: explain why tests are commented out
Rob Pike [Mon, 19 Oct 2009 18:54:59 +0000 (11:54 -0700)]
fiddling while rome burns: explain why tests are commented out

R=rsc
DELTA=2  (2 added, 0 deleted, 0 changed)
OCL=35874
CL=35880

15 years agoAdd an RSA-OAEP implementation.
Adam Langley [Mon, 19 Oct 2009 18:52:44 +0000 (11:52 -0700)]
Add an RSA-OAEP implementation.

R=rsc
APPROVED=rsc
DELTA=734  (734 added, 0 deleted, 0 changed)
OCL=35738
CL=35879

15 years agodirectory tree walk w/ visitor per rsc's suggestion
Robert Griesemer [Mon, 19 Oct 2009 18:48:04 +0000 (11:48 -0700)]
directory tree walk w/ visitor per rsc's suggestion

R=rsc,r
DELTA=193  (191 added, 0 deleted, 2 changed)
OCL=35849
CL=35877

15 years agobug 211: duplicate interface methods not caught by 6g
Rob Pike [Mon, 19 Oct 2009 18:47:42 +0000 (11:47 -0700)]
bug 211: duplicate interface methods not caught by 6g

R=gri
DELTA=17  (17 added, 0 deleted, 0 changed)
OCL=35852
CL=35876

15 years agoaddress leftover post-submit comments about embedding
Rob Pike [Mon, 19 Oct 2009 17:34:00 +0000 (10:34 -0700)]
address leftover post-submit comments about embedding

R=rsc
DELTA=11  (9 added, 0 deleted, 2 changed)
OCL=35872
CL=35872

15 years agomore embedding. enough for now?
Rob Pike [Fri, 16 Oct 2009 23:16:02 +0000 (16:16 -0700)]
more embedding. enough for now?

R=rsc
DELTA=51  (48 added, 0 deleted, 3 changed)
OCL=35846
CL=35853

15 years agobug210
Robert Griesemer [Fri, 16 Oct 2009 20:31:35 +0000 (13:31 -0700)]
bug210

R=rsc
DELTA=20  (20 added, 0 deleted, 0 changed)
OCL=35847
CL=35847

15 years agofix arm build, add 64 bit cgen_asop
Kai Backman [Fri, 16 Oct 2009 19:02:14 +0000 (12:02 -0700)]
fix arm build, add 64 bit cgen_asop

R=rsc
APPROVED=rsc
DELTA=21  (21 added, 0 deleted, 0 changed)
OCL=35845
CL=35845

15 years agofix pre-submit editing typo; text is garbled.
Rob Pike [Fri, 16 Oct 2009 18:23:45 +0000 (11:23 -0700)]
fix pre-submit editing typo; text is garbled.

R=rsc
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=35841
CL=35841

15 years agoembedding part 1.
Rob Pike [Fri, 16 Oct 2009 18:13:40 +0000 (11:13 -0700)]
embedding part 1.

R=rsc
DELTA=128  (104 added, 0 deleted, 24 changed)
OCL=35835
CL=35839

15 years agofix linux build:
Russ Cox [Fri, 16 Oct 2009 06:57:04 +0000 (23:57 -0700)]
fix linux build:
i renamed sys to runtime but didn't remember this file.
(and the darwin build doesn't use it.)

TBR=r
OCL=35826
CL=35826

15 years agorename sys functions to runtime,
Russ Cox [Fri, 16 Oct 2009 06:10:49 +0000 (23:10 -0700)]
rename sys functions to runtime,
because they are in package runtime.

another step to enforcing package boundaries.

R=r
DELTA=732  (114 added, 93 deleted, 525 changed)
OCL=35811
CL=35824

15 years agomove math out of runtime.
Russ Cox [Fri, 16 Oct 2009 06:09:22 +0000 (23:09 -0700)]
move math out of runtime.

a step toward enforcing package boundaries,
necessary to eliminate global package name space.

R=r
DELTA=581  (310 added, 271 deleted, 0 changed)
OCL=35805
CL=35823

15 years agomore description
Russ Cox [Fri, 16 Oct 2009 06:08:46 +0000 (23:08 -0700)]
more description

R=r
DELTA=4  (2 added, 0 deleted, 2 changed)
OCL=35809
CL=35822

15 years agoimproved handling of expression lists
Robert Griesemer [Fri, 16 Oct 2009 05:52:11 +0000 (22:52 -0700)]
improved handling of expression lists

R=rsc
DELTA=189  (118 added, 9 deleted, 62 changed)
OCL=35816
CL=35821