]>
Cypherpunks repositories - gostls13.git/log
Rob Pike [Fri, 20 Feb 2009 21:36:14 +0000 (13:36 -0800)]
Rewrite lexical section.
Put grammar productions into a box with a separate background color.
R=gri
DELTA=397 (132 added, 49 deleted, 216 changed)
OCL=25235
CL=25258
Rob Pike [Fri, 20 Feb 2009 03:49:56 +0000 (19:49 -0800)]
autogenerate the table of contents
R=rsc
DELTA=149 (1 added, 145 deleted, 3 changed)
OCL=25231
CL=25234
Rob Pike [Fri, 20 Feb 2009 01:31:36 +0000 (17:31 -0800)]
Fix most HTML errors.
Cut introduction.
Start rewrite.
R=gri
DELTA=201 (20 added, 118 deleted, 63 changed)
OCL=25226
CL=25229
Robert Griesemer [Fri, 20 Feb 2009 00:49:10 +0000 (16:49 -0800)]
go_spec.txt formatted in html.
No textual changes except for html formatting.
Seems like a fine intermediate step.
R=r
DELTA=7638 (4079 added, 3559 deleted, 0 changed)
OCL=25211
CL=25224
Robert Griesemer [Fri, 20 Feb 2009 00:47:58 +0000 (16:47 -0800)]
- permit ()'s in types (TODO: update spec)
- accept embedded interfaces in interfaces
- missing: output incorrect, but at least all source code is accepted again
R=r
OCL=25223
CL=25223
Rob Pike [Fri, 20 Feb 2009 00:20:00 +0000 (16:20 -0800)]
Finish the lexical section.
DELTA=176 (172 added, 0 deleted, 4 changed)
OCL=25182
CL=25222
Rob Pike [Wed, 18 Feb 2009 23:39:51 +0000 (15:39 -0800)]
First piece of Go reference manual.
R=ken,gri,rsc
DELTA=185 (185 added, 0 deleted, 0 changed)
OCL=25133
CL=25169
Russ Cox [Wed, 18 Feb 2009 18:07:46 +0000 (10:07 -0800)]
allow parens to disambiguate types.
examples:
chan <- (chan int)
chan (<- chan int)
(map[string]func())("a": main)
R=ken
OCL=25151
CL=25151
Rob Pike [Wed, 18 Feb 2009 03:59:23 +0000 (19:59 -0800)]
drop trailing slashes - missed comment from last review
TBR=rsc
OCL=25135
CL=25135
Rob Pike [Wed, 18 Feb 2009 03:35:01 +0000 (19:35 -0800)]
more fun with triv.go: flags and arguments
R=rsc
DELTA=23 (23 added, 0 deleted, 0 changed)
OCL=25088
CL=25134
Russ Cox [Tue, 17 Feb 2009 21:40:28 +0000 (13:40 -0800)]
few more Sizeof.
R=r
DELTA=3 (0 added, 1 deleted, 2 changed)
OCL=25106
CL=25106
Ken Thompson [Tue, 17 Feb 2009 21:10:57 +0000 (13:10 -0800)]
fix unsafe.Sizeof("abc")
R=rsc
OCL=25105
CL=25105
Rob Pike [Tue, 17 Feb 2009 05:55:37 +0000 (21:55 -0800)]
use proper strconv in string values.
make test a little stronger.
R=rsc
DELTA=94 (27 added, 39 deleted, 28 changed)
OCL=25085
CL=25087
Russ Cox [Tue, 17 Feb 2009 04:44:29 +0000 (20:44 -0800)]
comment nit
R=r
DELTA=2 (0 added, 2 deleted, 0 changed)
OCL=25081
CL=25084
Russ Cox [Tue, 17 Feb 2009 04:44:21 +0000 (20:44 -0800)]
allow hex, octal in Atoi, etc.
R=r
DELTA=169 (79 added, 23 deleted, 67 changed)
OCL=25079
CL=25083
Russ Cox [Tue, 17 Feb 2009 04:14:21 +0000 (20:14 -0800)]
proposed XML parser design.
inspired by expat's callback interface,
but a bit simpler thanks to go interfaces.
also serves as reference notes about XML.
the parser itself is unimplemented.
not in Makefiles, though it does build.
R=r
DELTA=425 (425 added, 0 deleted, 0 changed)
OCL=25077
CL=25080
Rob Pike [Tue, 17 Feb 2009 03:43:15 +0000 (19:43 -0800)]
make interface to the flags themselves more public.
add visitor functions to scan the flags.
add a way to set a flag.
add a flag test.
R=rsc
DELTA=169 (99 added, 19 deleted, 51 changed)
OCL=25076
CL=25078
Russ Cox [Tue, 17 Feb 2009 01:44:05 +0000 (17:44 -0800)]
bug123
R=ken
OCL=25075
CL=25075
Russ Cox [Tue, 17 Feb 2009 01:07:11 +0000 (17:07 -0800)]
fix build - missed this file before
TBR=r
OCL=25074
CL=25074
Russ Cox [Tue, 17 Feb 2009 00:37:49 +0000 (16:37 -0800)]
use embedded interface types
R=r
DELTA=205 (1 added, 157 deleted, 47 changed)
OCL=25071
CL=25073
Russ Cox [Tue, 17 Feb 2009 00:36:18 +0000 (16:36 -0800)]
embedded interface types in interfaces.
R=ken
OCL=25072
CL=25072
Russ Cox [Tue, 17 Feb 2009 00:32:30 +0000 (16:32 -0800)]
io.Pipe
assorted underscore cleanup
R=r
DELTA=488 (410 added, 3 deleted, 75 changed)
OCL=25070
CL=25070
Russ Cox [Mon, 16 Feb 2009 06:12:35 +0000 (22:12 -0800)]
assorted changes:
- use a lock instead of a thread in once
avoids deadlock in recursive once calls
- implement os.Setenv
- remove "export" from some scripts
- remove _ from names in time package
- fix time test for non-MTV machines
R=r
DELTA=265 (87 added, 58 deleted, 120 changed)
OCL=25057
CL=25057
Rob Pike [Mon, 16 Feb 2009 03:58:00 +0000 (19:58 -0800)]
change the URL in the test to avoid a redirection that breaks it in sydney.
R=rsc
OCL=25054
CL=25054
Russ Cox [Mon, 16 Feb 2009 03:35:52 +0000 (19:35 -0800)]
add os.ForkExec, os.Exec, os.Wait, exec.OpenCmd.
as thread-safe as possible, given the surrounding system.
add stub RWLock implementation.
R=r
DELTA=852 (834 added, 6 deleted, 12 changed)
OCL=25046
CL=25053
Russ Cox [Mon, 16 Feb 2009 03:20:35 +0000 (19:20 -0800)]
insert ${GOOS} and ${GOARCH} in
command-line comment.
R=r
DELTA=11 (6 added, 0 deleted, 5 changed)
OCL=25051
CL=25051
Russ Cox [Sun, 15 Feb 2009 22:18:39 +0000 (14:18 -0800)]
cleanups:
get rid of _ on private names in net.
fix os_test file name list.
newline not needed on Errorf.
R=r
DELTA=305 (34 added, 2 deleted, 269 changed)
OCL=25047
CL=25047
Russ Cox [Sun, 15 Feb 2009 21:41:48 +0000 (13:41 -0800)]
build nits
R=r
DELTA=8 (0 added, 6 deleted, 2 changed)
OCL=25045
CL=25045
Russ Cox [Sun, 15 Feb 2009 21:15:46 +0000 (13:15 -0800)]
bug fix for &x[0] when x is slice
R=ken
OCL=25044
CL=25044
Robert Griesemer [Sat, 14 Feb 2009 00:27:53 +0000 (16:27 -0800)]
- accept new composite literal syntax
- remove all parsing heuristics
- as a result, accept a wider syntax, but parser is simpler
R=r
OCL=25029
CL=25029
Robert Griesemer [Fri, 13 Feb 2009 23:10:35 +0000 (15:10 -0800)]
- added Makefile change again (lost due to to p4 misuse)
R=rsc
OCL=25026
CL=25026
Robert Griesemer [Fri, 13 Feb 2009 23:07:56 +0000 (15:07 -0800)]
- vector package (identical to array except for names)
- updated some file (but not all - left array package in place for now)
R=rsc
DELTA=530 (483 added, 0 deleted, 47 changed)
OCL=25025
CL=25025
Russ Cox [Fri, 13 Feb 2009 22:48:32 +0000 (14:48 -0800)]
convert composite literals from { } to ( ).
only non-trivial changes are in
convlit1.go
golden.out
R=gri
OCL=25019
CL=25024
Russ Cox [Fri, 13 Feb 2009 22:48:16 +0000 (14:48 -0800)]
add composite literal ( ) syntax.
warn about composite literal { } syntax.
R=ken
OCL=25018
CL=25023
Russ Cox [Fri, 13 Feb 2009 22:35:36 +0000 (14:35 -0800)]
fix build
TBR=r
OCL=25021
CL=25021
Robert Griesemer [Fri, 13 Feb 2009 21:42:43 +0000 (13:42 -0800)]
label declarations not handled properly
R=rsc
DELTA=27 (27 added, 0 deleted, 0 changed)
OCL=25015
CL=25015
Robert Griesemer [Fri, 13 Feb 2009 00:06:21 +0000 (16:06 -0800)]
- fixed bugs related to the empty statement
(now in sync with the spec and with 6g)
- fixed incorrect logging statement in gds
R=r
OCL=24970
CL=24970
Robert Griesemer [Thu, 12 Feb 2009 05:57:15 +0000 (21:57 -0800)]
- syntax for composite literals use () instead of {}
- do not permit + for array concatenation anymore
(not implemented and not a good idea)
- document that unsafe function results are compile time constants
- fixed minor typos
DELTA=41 (7 added, 11 deleted, 23 changed)
OCL=24899
CL=24927
Russ Cox [Thu, 12 Feb 2009 01:57:29 +0000 (17:57 -0800)]
require type assertions when narrowing.
R=ken
OCL=24350
CL=24914
Russ Cox [Thu, 12 Feb 2009 01:55:16 +0000 (17:55 -0800)]
insert type assertions when narrowing.
R=r
OCL=24349
CL=24913
Russ Cox [Thu, 12 Feb 2009 01:54:03 +0000 (17:54 -0800)]
fix gc bug. i think this is tgs's second bug.
i stumbled across it in all.bash.
TBR=r
OCL=24912
CL=24912
Robert Griesemer [Wed, 11 Feb 2009 23:09:15 +0000 (15:09 -0800)]
- language for embedded interfaces (as discussed this morning)
- fixed a syntax error
R=r
DELTA=17 (15 added, 0 deleted, 2 changed)
OCL=24876
CL=24889
Robert Griesemer [Wed, 11 Feb 2009 21:46:30 +0000 (13:46 -0800)]
Added section on package unsafe:
- contains a (proposed) constant Maxalign
- contains some text re" alignment guarantees
R=ken,r
DELTA=97 (94 added, 1 deleted, 2 changed)
OCL=24791
CL=24871
Rob Pike [Wed, 11 Feb 2009 00:44:04 +0000 (16:44 -0800)]
change DirInfo->dirInfo now that 6g export bug is fixed
R=rsc
DELTA=4 (0 added, 0 deleted, 4 changed)
OCL=24788
CL=24805
Rob Pike [Wed, 11 Feb 2009 00:40:06 +0000 (16:40 -0800)]
drop the os_ prefix on the file names in os. os_test.go can stay.
R=rsc
DELTA=793 (392 added, 392 deleted, 9 changed)
OCL=24777
CL=24804
Russ Cox [Tue, 10 Feb 2009 21:57:31 +0000 (13:57 -0800)]
fix export bug Rob tripped over.
the lexer is already hiding names,
so this clumsy hack is no longer necessary.
R=ken
OCL=24783
CL=24783
Rob Pike [Tue, 10 Feb 2009 19:55:48 +0000 (11:55 -0800)]
Make Readdirnames work properly on Linux.
Refactor so Readdir is portable code.
R=rsc
DELTA=192 (50 added, 130 deleted, 12 changed)
OCL=24770
CL=24772
Ian Lance Taylor [Tue, 10 Feb 2009 19:46:26 +0000 (11:46 -0800)]
Implement unsafe.Alignof.
R=ken
DELTA=20 (19 added, 0 deleted, 1 changed)
OCL=24719
CL=24771
Rob Pike [Tue, 10 Feb 2009 19:27:45 +0000 (11:27 -0800)]
Fix Readdirnames to behave properly if reading in little pieces. Requires storing some
state in the FD.
This is Darwin only. Next CL will make Readdir use Readdirnames to generate its files
and move Readdir into portable code, as well as fix Readdirnames for Linux.
R=rsc
DELTA=116 (79 added, 12 deleted, 25 changed)
OCL=24756
CL=24768
Robert Griesemer [Tue, 10 Feb 2009 18:37:11 +0000 (10:37 -0800)]
- removed obsolete comments
R=r
DELTA=2 (0 added, 1 deleted, 1 changed)
OCL=24755
CL=24760
Robert Griesemer [Tue, 10 Feb 2009 05:05:14 +0000 (21:05 -0800)]
Some real GDS functionality:
- directory listings w/ working links
- some links working in source code (most don't do the right thing yet)
- use of logging
R=r
OCL=24728
CL=24728
Rob Pike [Tue, 10 Feb 2009 04:04:36 +0000 (20:04 -0800)]
fix Getdirentries: base comes back in r2.
R=rsc
DELTA=3 (3 added, 0 deleted, 0 changed)
OCL=24727
CL=24727
Rob Pike [Mon, 9 Feb 2009 20:50:54 +0000 (12:50 -0800)]
simple accessors for Dir mode bits
R=rsc
DELTA=71 (71 added, 0 deleted, 0 changed)
OCL=24687
CL=24694
Rob Pike [Mon, 9 Feb 2009 19:25:47 +0000 (11:25 -0800)]
typo. this split-os building thing is frustrating.
R=rsc
OCL=24681
CL=24681
Rob Pike [Mon, 9 Feb 2009 19:24:35 +0000 (11:24 -0800)]
add Readdir: returns an array of Dir structures
R=rsc
DELTA=200 (176 added, 12 deleted, 12 changed)
OCL=24680
CL=24680
Rob Pike [Mon, 9 Feb 2009 18:20:15 +0000 (10:20 -0800)]
fix int64/int error - build broken
R=gri
OCL=24678
CL=24678
Russ Cox [Sun, 8 Feb 2009 19:19:45 +0000 (11:19 -0800)]
add error to catch 6g alignment bug.
the fix appears to be to align the
out struct on an 8 boundary, but that
is a bit involved.
R=ken
OCL=24657
CL=24657
Russ Cox [Sun, 8 Feb 2009 19:01:52 +0000 (11:01 -0800)]
gc funarg return fix.
change type (to satisfy OAS) after nodarg:
nodarg uses offset from type too,
and must use correct offset.
R=ken
OCL=24656
CL=24656
Rob Pike [Sun, 8 Feb 2009 18:18:50 +0000 (10:18 -0800)]
First pass at reading directories.
Syscall support.
Readdirnames returns array of strings of contents of directory.
R=rsc
DELTA=216 (201 added, 0 deleted, 15 changed)
OCL=24642
CL=24655
Rob Pike [Sun, 8 Feb 2009 18:17:23 +0000 (10:17 -0800)]
a few small cleanups
R=rsc
DELTA=21 (2 added, 2 deleted, 17 changed)
OCL=24638
CL=24654
Rob Pike [Sun, 8 Feb 2009 18:16:32 +0000 (10:16 -0800)]
use unsafe.Sizeof
R=rsc
DELTA=9 (3 added, 3 deleted, 3 changed)
OCL=24640
CL=24653
Rob Pike [Sat, 7 Feb 2009 22:48:32 +0000 (14:48 -0800)]
update sysimport.c for unsafe.Offset and Sizeof
R=ken
DELTA=2 (2 added, 0 deleted, 0 changed)
OCL=24643
CL=24643
Ken Thompson [Sat, 7 Feb 2009 21:31:34 +0000 (13:31 -0800)]
change array padding in structures
to pad to size of element rather
than size of array.
R=r
OCL=24641
CL=24641
Ken Thompson [Sat, 7 Feb 2009 20:34:45 +0000 (12:34 -0800)]
unsafe.Sizeof and unsafe.Offsetof
R=r
OCL=24639
CL=24639
Rob Pike [Sat, 7 Feb 2009 02:03:13 +0000 (18:03 -0800)]
fix up syscall for darwin after StringToBytes change
R=rsc
DELTA=30 (0 added, 18 deleted, 12 changed)
OCL=24628
CL=24628
Rob Pike [Sat, 7 Feb 2009 01:54:26 +0000 (17:54 -0800)]
portable stat for os
add name to os.FD
clean up some interfaces
R=rsc
DELTA=318 (231 added, 44 deleted, 43 changed)
OCL=24624
CL=24627
Rob Pike [Sat, 7 Feb 2009 01:10:30 +0000 (17:10 -0800)]
fstat used wrong system call, lstat used wrong type of name
R=rsc
DELTA=7 (4 added, 0 deleted, 3 changed)
OCL=24617
CL=24617
Robert Griesemer [Sat, 7 Feb 2009 01:01:10 +0000 (17:01 -0800)]
- removed todo and restriction from spec (closures)
- fixed typos, added a reminder for a todo
R=r
DELTA=23 (6 added, 4 deleted, 13 changed)
OCL=24611
CL=24615
Robert Griesemer [Sat, 7 Feb 2009 00:45:37 +0000 (16:45 -0800)]
bug: empty statement not properly recognized in conjunction w/ labels
R=r
DELTA=14 (14 added, 0 deleted, 0 changed)
OCL=24610
CL=24610
Ian Lance Taylor [Fri, 6 Feb 2009 23:57:02 +0000 (15:57 -0800)]
Recognize gccgo error messages:
func4.go:8:11: error: invalid operand for unary '&'
func4.go:9:8: error: invalid left hand side of assignment
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=24294
CL=24603
Robert Griesemer [Fri, 6 Feb 2009 23:26:30 +0000 (15:26 -0800)]
snapshot:
- first stab at a Go Documentation Server (gds)
- various fixes to make initial version of gds work
R=r
OCL=24588
CL=24588
Rob Pike [Fri, 6 Feb 2009 23:03:14 +0000 (15:03 -0800)]
powser cleanup.
- don't need *struct
- don't need item/rat both
- closures make the inner slaves easier
- delete some old BUG comments
powser2 is left mostly alone, for variety.
R=rsc
DELTA=134 (2 added, 20 deleted, 112 changed)
OCL=24579
CL=24581
Russ Cox [Fri, 6 Feb 2009 22:41:21 +0000 (14:41 -0800)]
tgs's gc bug.
R=r
DELTA=10 (7 added, 0 deleted, 3 changed)
OCL=24577
CL=24577
Rob Pike [Fri, 6 Feb 2009 22:32:09 +0000 (14:32 -0800)]
add a trivial visitor method, just for fun
R=gri
DELTA=31 (30 added, 1 deleted, 0 changed)
OCL=24568
CL=24575
Russ Cox [Fri, 6 Feb 2009 21:47:10 +0000 (13:47 -0800)]
closures - 6g support
R=ken
OCL=24501
CL=24566
Russ Cox [Fri, 6 Feb 2009 21:46:56 +0000 (13:46 -0800)]
closures - runtime and debugger support, test case
R=r
DELTA=257 (250 added, 1 deleted, 6 changed)
OCL=24509
CL=24565
Robert Griesemer [Fri, 6 Feb 2009 19:10:25 +0000 (11:10 -0800)]
- preparation for setting up types
- moved Object, Type, Scope out of AST into symboltable
- moved universe into symboltable
- removed dead code
- fixed dependency computation (pretty -d filename.go)
- lots of cleanups
- removed tocken channel connection between parser and scanner
(was cute, but not really needed)
R=r
OCL=24545
CL=24545
Russ Cox [Fri, 6 Feb 2009 03:09:04 +0000 (19:09 -0800)]
6c: byte* - byte* should be int64, not int32.
R=ken
OCL=24507
CL=24507
Robert Griesemer [Fri, 6 Feb 2009 00:11:14 +0000 (16:11 -0800)]
making go-spec conform with 6g:
- equality of struct types requires equality of field names
DELTA=4 (0 added, 1 deleted, 3 changed)
OCL=24478
CL=24487
Rob Pike [Thu, 5 Feb 2009 23:56:31 +0000 (15:56 -0800)]
further pedagogy: a channel that satisfies the HTTP server interface
R=rsc
DELTA=18 (18 added, 0 deleted, 0 changed)
OCL=24482
CL=24484
Russ Cox [Thu, 5 Feb 2009 23:22:49 +0000 (15:22 -0800)]
bug064
make f(g()) work when g returns multiple
args with names different than f expects.
func swap(a, b int) (c, d int) {
return b, a
}
swap(swap(1,2))
R=ken
OCL=24474
CL=24476
Russ Cox [Thu, 5 Feb 2009 23:09:08 +0000 (15:09 -0800)]
take advantage of methods on funcs
R=r
DELTA=14 (0 added, 13 deleted, 1 changed)
OCL=24458
CL=24470
Russ Cox [Thu, 5 Feb 2009 22:49:53 +0000 (14:49 -0800)]
do not generate Init proto for sys and unsafe.
R=ken
OCL=24455
CL=24455
Robert Griesemer [Thu, 5 Feb 2009 22:22:09 +0000 (14:22 -0800)]
- caseify parser functions (all but a few should not be exported)
- more elegant tracing code
- removed some dead code, cleanups
R=r
OCL=24452
CL=24452
Russ Cox [Thu, 5 Feb 2009 21:58:43 +0000 (13:58 -0800)]
heuristic to stop pulling .6 in from .a
is not right if the .6 is only for data and
the init function.
instead of that, pick up everything and
let the dead code/data eliminator throw
away the parts that weren't useful.
R=r
DELTA=25 (0 added, 22 deleted, 3 changed)
OCL=24446
CL=24446
Russ Cox [Thu, 5 Feb 2009 21:33:07 +0000 (13:33 -0800)]
allow methods on funcs.
R=ken
OCL=24442
CL=24442
Russ Cox [Thu, 5 Feb 2009 21:00:12 +0000 (13:00 -0800)]
fix build on thresher - missing constants
TBR=r
OCL=24439
CL=24439
Ian Lance Taylor [Thu, 5 Feb 2009 20:54:15 +0000 (12:54 -0800)]
Rename function to avoid function redefinition error. Remove
.* from regexp since it confuses DejaGNU which runs gcc's
testsuite.
R=rsc
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=24435
CL=24438
Robert Griesemer [Thu, 5 Feb 2009 19:05:02 +0000 (11:05 -0800)]
snapshot:
- ast statements now use interfaces
- deleted old (now unused) code
R=r
OCL=24422
CL=24422
Robert Griesemer [Thu, 5 Feb 2009 02:28:41 +0000 (18:28 -0800)]
today's snapshot: steps towards using interfaces for statements in ast
R=r
OCL=24380
CL=24380
Rob Pike [Wed, 4 Feb 2009 23:13:07 +0000 (15:13 -0800)]
a few tweaks triggered by tgs's comments
DELTA=46 (25 added, 1 deleted, 20 changed)
OCL=24342
CL=24354
Rob Pike [Wed, 4 Feb 2009 19:46:39 +0000 (11:46 -0800)]
clean up flags package a bit.
fix a bug in Usage message - would print current value instead of default.
R=rsc
DELTA=53 (7 added, 4 deleted, 42 changed)
OCL=24323
CL=24323
Russ Cox [Wed, 4 Feb 2009 18:37:11 +0000 (10:37 -0800)]
fix interface not satisifed message:
x.go:13: T is not I - missing M()
NOT
x.go:13: T is not I - missing Mfunc()
R=ken
OCL=24316
CL=24316
Robert Griesemer [Wed, 4 Feb 2009 01:44:01 +0000 (17:44 -0800)]
- converted expr representation of ast into a new representation
using interfaces properly => much cleaner code
- converted tracing code to use 'defer' statement
- next steps: convert rest of ast as well
R=r
OCL=24277
CL=24277
Rob Pike [Wed, 4 Feb 2009 00:59:26 +0000 (16:59 -0800)]
bugs cleanup, including deleting one near-identical duplicate bug
R=rsc
DELTA=52 (15 added, 37 deleted, 0 changed)
OCL=24274
CL=24274
Russ Cox [Tue, 3 Feb 2009 23:58:13 +0000 (15:58 -0800)]
fix build. missed this file
TBR=r
OCL=24269
CL=24269
Russ Cox [Tue, 3 Feb 2009 23:00:09 +0000 (15:00 -0800)]
libmach:
* heuristic to go farther during stack traces.
* significantly improved Linux thread handing.
acid:
* update to new libmach interface.
prof:
* use new libmach interface.
* multiple thread support (derived from Rob's copy).
* first steps toward pprof-like graphs:
keep counters indexed by pc,callerpc pairs.
R=r
DELTA=909 (576 added, 123 deleted, 210 changed)
OCL=24240
CL=24259
Russ Cox [Tue, 3 Feb 2009 22:16:22 +0000 (14:16 -0800)]
bufio:
* avoid large copies
* NewBufRead, NewBufWrite never fail
* add BufReadWrite
io:
* add io.Close
http, google/net/rpc:
* add, use http.Conn.Hijack
R=r
DELTA=416 (202 added, 123 deleted, 91 changed)
OCL=24153
CL=24238
Russ Cox [Tue, 3 Feb 2009 02:59:20 +0000 (18:59 -0800)]
minor tweaks
R=r
DELTA=9 (2 added, 5 deleted, 2 changed)
OCL=24107
CL=24152
Russ Cox [Tue, 3 Feb 2009 02:01:32 +0000 (18:01 -0800)]
flesh out http server.
convert to uppercase names.
R=r
DELTA=613 (460 added, 61 deleted, 92 changed)
OCL=24139
CL=24145