]>
Cypherpunks repositories - gostls13.git/log
Russ Cox [Thu, 25 Jun 2009 23:32:33 +0000 (16:32 -0700)]
better error; clean up lineno in a few places
wreck.mtv=; cat x.go
package main
var x = string.Split()
wreck.mtv=; 6g x.go
x.go:2: type string used as expression
x.go:2: undefined DOT Split on string
x.go:3: illegal types for operand: AS
undefined
wreck.mtv=;
BUG=
1938751
R=ken
OCL=30766
CL=30766
Russ Cox [Thu, 25 Jun 2009 23:25:06 +0000 (16:25 -0700)]
package main
func foo(y) { }
was:
x.go:2: NONAME-y G0 u(1) a(1) l(77) x(-
1000000000 ) is not a type
now:
x.go:2: y is not a type
R=ken
OCL=30764
CL=30764
Russ Cox [Thu, 25 Jun 2009 23:22:46 +0000 (16:22 -0700)]
disable "any" except during canned imports.
new flag -A enables it during mkbuiltin.
avoids mysterious errors in programs
that refer to any accidentally.
R=ken
OCL=30763
CL=30763
Russ Cox [Thu, 25 Jun 2009 22:15:44 +0000 (15:15 -0700)]
fix build
TBR=r
OCL=30757
CL=30757
Russ Cox [Thu, 25 Jun 2009 21:44:45 +0000 (14:44 -0700)]
6g: update for spec change CL 30586
R=ken
OCL=30593
CL=30756
Russ Cox [Thu, 25 Jun 2009 21:44:09 +0000 (14:44 -0700)]
update tests for CL 30586.
won't submit unless 30586 goes in.
R=r
DELTA=94 (65 added, 16 deleted, 13 changed)
OCL=30592
CL=30755
Russ Cox [Thu, 25 Jun 2009 21:43:55 +0000 (14:43 -0700)]
Allow indexing of slice types, but not pointer to slice type.
Allow indexing of string type, but not pointer to string type.
Do not allow indexing of pointer to map type.
R=r
DELTA=18 (14 added, 0 deleted, 4 changed)
OCL=30586
CL=30754
Russ Cox [Thu, 25 Jun 2009 21:25:38 +0000 (14:25 -0700)]
add reflect.Typeof; test for and fix nil interface bug in DeepEqual
R=r
DELTA=40 (30 added, 2 deleted, 8 changed)
OCL=30742
CL=30753
Russ Cox [Thu, 25 Jun 2009 21:25:11 +0000 (14:25 -0700)]
dreg
R=r
DELTA=19 (0 added, 19 deleted, 0 changed)
OCL=30739
CL=30751
Kai Backman [Thu, 25 Jun 2009 18:26:10 +0000 (11:26 -0700)]
Add Gobuf.r0 that stores arg0 or return value of
goroutine. arm only.
R=rsc
APPROVED=rsc
DELTA=5 (3 added, 2 deleted, 0 changed)
OCL=30644
CL=30746
Kai Backman [Thu, 25 Jun 2009 18:01:17 +0000 (11:01 -0700)]
fixes to 5g object file generation. arm specific regalloc.
R=rsc
APPROVED=rsc
DELTA=976 (164 added, 237 deleted, 575 changed)
OCL=30705
CL=30743
Russ Cox [Thu, 25 Jun 2009 16:38:35 +0000 (09:38 -0700)]
Effective Go; draft
TBR=r
OCL=30741
CL=30741
Russ Cox [Thu, 25 Jun 2009 03:12:50 +0000 (20:12 -0700)]
style police: parens in if, for, switch, range
R=r
DELTA=32 (0 added, 3 deleted, 29 changed)
OCL=30718
CL=30725
David Symonds [Thu, 25 Jun 2009 02:02:29 +0000 (19:02 -0700)]
Change strings.Split, bytes.Split to take a maximum substring count argument.
R=rsc
APPROVED=r
DELTA=131 (39 added, 10 deleted, 82 changed)
OCL=30669
CL=30723
Ken Thompson [Thu, 25 Jun 2009 00:50:25 +0000 (17:50 -0700)]
6g crash re mail from gri jun 18.
R=r
OCL=30719
CL=30719
Russ Cox [Wed, 24 Jun 2009 22:52:31 +0000 (15:52 -0700)]
base64: cut out some middle layers
R=austin
DELTA=352 (67 added, 196 deleted, 89 changed)
OCL=30694
CL=30713
Russ Cox [Wed, 24 Jun 2009 22:35:35 +0000 (15:35 -0700)]
make bytes.Copy both src- and dst- limited
and return the number of bytes copied.
R=r
DELTA=18 (6 added, 0 deleted, 12 changed)
OCL=30693
CL=30712
Kai Backman [Wed, 24 Jun 2009 18:44:06 +0000 (11:44 -0700)]
Fix compile warnings in 5l.
R=rsc
APPROVED=rsc
DELTA=8 (0 added, 0 deleted, 8 changed)
OCL=30692
CL=30695
Austin Clements [Wed, 24 Jun 2009 18:09:43 +0000 (11:09 -0700)]
Base64 encoder/decoder package.
R=rsc
APPROVED=rsc
DELTA=722 (722 added, 0 deleted, 0 changed)
OCL=30660
CL=30691
David Symonds [Wed, 24 Jun 2009 01:49:47 +0000 (18:49 -0700)]
Fix http client handling of status messages with spaces (e.g. "HTTP/1.1 400 Bad
Request".
Use chunked Transfer-Encoding for all POSTs.
Implement chunked reading.
Change http.Request.write to be HTTP/1.1 only.
R=rsc
APPROVED=rsc
DELTA=178 (123 added, 26 deleted, 29 changed)
OCL=30563
CL=30673
Russ Cox [Tue, 23 Jun 2009 23:44:01 +0000 (16:44 -0700)]
publish strconv.UnquoteChar
R=r
DELTA=69 (37 added, 3 deleted, 29 changed)
OCL=30661
CL=30667
Russ Cox [Tue, 23 Jun 2009 23:21:05 +0000 (16:21 -0700)]
fix gobuild.
errors introduced in CL 30601
R=austin
DELTA=6 (3 added, 0 deleted, 3 changed)
OCL=30663
CL=30665
Russ Cox [Tue, 23 Jun 2009 22:30:59 +0000 (15:30 -0700)]
fix a 6g crash after type errors.
do not bother warning about marks left
on stack after syntax errors.
leave OCONV nodes in tree to avoid type errors
arising from multiple walks.
R=ken
OCL=30639
CL=30662
Rob Pike [Tue, 23 Jun 2009 22:20:40 +0000 (15:20 -0700)]
fix io.Bytebuffer.Read for new EOF semantics
R=rsc
DELTA=7 (5 added, 0 deleted, 2 changed)
OCL=30657
CL=30659
Rob Pike [Tue, 23 Jun 2009 22:20:30 +0000 (15:20 -0700)]
rename Formatter to State and Format to Formatter, for nomenclatural consistency
R=rsc
DELTA=9 (0 added, 0 deleted, 9 changed)
OCL=30658
CL=30658
Kai Backman [Tue, 23 Jun 2009 18:54:23 +0000 (11:54 -0700)]
Runtime is now starting up with a dummy c program as target:
- morestack and gosave/gogo/gocall support
- memclr and memset from inferno
- bugfixes in _rt0_arm
R=rsc
APPROVED=rsc
DELTA=304 (174 added, 36 deleted, 94 changed)
OCL=30636
CL=30642
Rob Pike [Tue, 23 Jun 2009 01:09:40 +0000 (18:09 -0700)]
document the verbs for Printf
R=rsc
DELTA=61 (48 added, 0 deleted, 13 changed)
OCL=30616
CL=30619
Russ Cox [Mon, 22 Jun 2009 22:43:50 +0000 (15:43 -0700)]
set -e does not apply to ( ) blocks,
so implement the check manually.
sigh.
R=r
DELTA=17 (6 added, 0 deleted, 11 changed)
OCL=30606
CL=30612
David Symonds [Mon, 22 Jun 2009 21:50:12 +0000 (14:50 -0700)]
Don't prefix Url.Path with a slash in Request.write,
because Url.Path already starts with one.
Avoid crashing in Request.ParseForm if there is no body.
R=rsc
APPROVED=rsc
DELTA=5 (4 added, 0 deleted, 1 changed)
OCL=30552
CL=30607
Russ Cox [Mon, 22 Jun 2009 21:44:07 +0000 (14:44 -0700)]
document requirements on Write method
R=r
DELTA=7 (6 added, 0 deleted, 1 changed)
OCL=30596
CL=30605
Rob Pike [Mon, 22 Jun 2009 21:40:08 +0000 (14:40 -0700)]
canonicalize bug122.go
R=rsc
DELTA=6 (1 added, 3 deleted, 2 changed)
OCL=30604
CL=30604
Rob Pike [Mon, 22 Jun 2009 21:26:07 +0000 (14:26 -0700)]
a couple of cosmetic tweaks.
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=30599
CL=30602
Russ Cox [Mon, 22 Jun 2009 21:24:32 +0000 (14:24 -0700)]
avoid pointer-to-slice operations in gobuild
R=r
DELTA=19 (3 added, 1 deleted, 15 changed)
OCL=30591
CL=30601
Rob Pike [Mon, 22 Jun 2009 21:18:23 +0000 (14:18 -0700)]
tweak the newlines so the headers stand out better.
old:
CONSTANTS
const (
MissingKind = iota;
)
new:
CONSTANTS
const (
MissingKind = iota;
)
R=gri,rsc
DELTA=4 (4 added, 0 deleted, 0 changed)
OCL=30362
CL=30598
Kai Backman [Mon, 22 Jun 2009 21:08:00 +0000 (14:08 -0700)]
add arm support to mkasmh
R=rsc
APPROVED=rsc
DELTA=5 (5 added, 0 deleted, 0 changed)
OCL=30587
CL=30595
Russ Cox [Mon, 22 Jun 2009 20:34:21 +0000 (13:34 -0700)]
changes required if we disallow the implicit *
in cap, len, [], and range on maps, strings, and slices.
R=r
DELTA=57 (2 added, 12 deleted, 43 changed)
OCL=30549
CL=30590
Russ Cox [Mon, 22 Jun 2009 20:26:13 +0000 (13:26 -0700)]
introduce os.EOF and io.ErrUnexpectedEOF.
remove io.ErrEOF.
rename io.FullRead to io.ReadFull, to match
ReadAtLeast and ReadAll.
remove io.FullReader, because it is now unused.
R=r
DELTA=295 (88 added, 105 deleted, 102 changed)
OCL=30544
CL=30588
David Symonds [Sat, 20 Jun 2009 01:02:15 +0000 (18:02 -0700)]
Add form body parsing to http.Request.
better error handling throughout.
R=r,rsc
APPROVED=r
DELTA=254 (201 added, 3 deleted, 50 changed)
OCL=30515
CL=30545
Rob Pike [Fri, 19 Jun 2009 23:45:04 +0000 (16:45 -0700)]
fix build
R=rsc
OCL=30542
CL=30542
Scott Schwartz [Fri, 19 Jun 2009 23:29:30 +0000 (16:29 -0700)]
Add ReadByte to bytebuffer
R=rsc
APPROVED=rsc
DELTA=24 (24 added, 0 deleted, 0 changed)
OCL=30459
CL=30540
Rob Pike [Fri, 19 Jun 2009 23:03:59 +0000 (16:03 -0700)]
make IP address available
R=rsc
DELTA=30 (30 added, 0 deleted, 0 changed)
OCL=30536
CL=30536
Russ Cox [Fri, 19 Jun 2009 21:00:53 +0000 (14:00 -0700)]
implement new spec language regarding conversions
R=ken
OCL=30519
CL=30534
Russ Cox [Fri, 19 Jun 2009 21:00:39 +0000 (14:00 -0700)]
test non-trivial conversions and assignments,
named and unnamed.
R=r
DELTA=21 (21 added, 0 deleted, 0 changed)
OCL=30518
CL=30533
Robert Griesemer [Fri, 19 Jun 2009 20:03:01 +0000 (13:03 -0700)]
fix for conversion rule
R=rsc
DELTA=25 (10 added, 7 deleted, 8 changed)
OCL=30516
CL=30531
Steve Newman [Fri, 19 Jun 2009 00:55:47 +0000 (17:55 -0700)]
Add a ReplaceAll method to Regexp.
APPROVED=r,rsc
DELTA=189 (187 added, 0 deleted, 2 changed)
OCL=30205
CL=30517
Robert Griesemer [Fri, 19 Jun 2009 00:06:08 +0000 (17:06 -0700)]
1) Fix a problem with tabwriter.Flush: any pending text not yet
in a cell makes a final cell in that line
(this showed up as occasionally missing single spaces in
godoc-formatted declarations that fit on a single line)
2) Cleaned up tabwriter implementation a bit:
- replaced local unicodeLen() with utf8.RuneCount()
- instead of having 2 parallel arrays for line widths and sizes,
have a single array of cells containing a width and size
- factored code a bit better
- added more comments
- added testnames to tabwriter tests
- added more test cases and fixed a broken test case that
now works correctly
R=r
DELTA=279 (133 added, 62 deleted, 84 changed)
OCL=30509
CL=30514
Robert Griesemer [Fri, 19 Jun 2009 00:04:39 +0000 (17:04 -0700)]
`` strings may span multiple lines
R=rsc
DELTA=3 (2 added, 0 deleted, 1 changed)
OCL=30511
CL=30513
Russ Cox [Thu, 18 Jun 2009 23:32:26 +0000 (16:32 -0700)]
use multiline string literal in gobuild
R=r
DELTA=76 (1 added, 0 deleted, 75 changed)
OCL=30497
CL=30510
Ken Thompson [Thu, 18 Jun 2009 22:49:41 +0000 (15:49 -0700)]
better diagnostics for eof in a string.
this assumes that embedded newlines are
legal in back-quote strings.
R=r
OCL=30502
CL=30502
Robert Griesemer [Thu, 18 Jun 2009 20:51:14 +0000 (13:51 -0700)]
raw strings may span multiple lines
R=r
DELTA=7 (2 added, 0 deleted, 5 changed)
OCL=30492
CL=30494
Russ Cox [Thu, 18 Jun 2009 20:33:28 +0000 (13:33 -0700)]
make pkg/runtime/Makefile behave like the others:
make builds; make install installs.
R=r
DELTA=2 (2 added, 0 deleted, 0 changed)
OCL=30489
CL=30491
Robert Griesemer [Thu, 18 Jun 2009 20:29:40 +0000 (13:29 -0700)]
- removed duplicate definition of StringLit
- fixed nonsense sentence in numeric basic type section
- hlinted
R=r,rsc
DELTA=50 (10 added, 22 deleted, 18 changed)
OCL=30484
CL=30490
Russ Cox [Thu, 18 Jun 2009 04:44:26 +0000 (21:44 -0700)]
add Addr() string to net.Listener interface.
use it to avoid use of fixed ports in tests.
convert google/net/rpc to gotest
R=r
DELTA=523 (275 added, 229 deleted, 19 changed)
OCL=30458
CL=30460
Russ Cox [Wed, 17 Jun 2009 23:34:13 +0000 (16:34 -0700)]
fix 386 build.
some day...
TBR=r
OCL=30453
CL=30453
Russ Cox [Wed, 17 Jun 2009 23:31:02 +0000 (16:31 -0700)]
Forgot to check in 386/asm.h.
Rather than do that, fix build by
generating asm.h automatically.
R=r
DELTA=97 (48 added, 36 deleted, 13 changed)
OCL=30449
CL=30452
Russ Cox [Wed, 17 Jun 2009 22:16:06 +0000 (15:16 -0700)]
shuffle some Linux system calls around for 386
R=r
DELTA=37 (17 added, 15 deleted, 5 changed)
OCL=30428
CL=30444
Russ Cox [Wed, 17 Jun 2009 22:15:55 +0000 (15:15 -0700)]
update 386 to new runtime (CL 30381)
R=r
DELTA=298 (119 added, 81 deleted, 98 changed)
OCL=30427
CL=30443
Russ Cox [Wed, 17 Jun 2009 22:12:16 +0000 (15:12 -0700)]
runtime: stack growth adjustments, cleanup
* keep coherent SP/PC in gobuf
(i.e., SP that would be in use at that PC)
* gogocall replaces setspgoto,
should work better in presence of link registers
* delete unused system calls
only amd64; 386 is now broken
R=r
DELTA=548 (183 added, 183 deleted, 182 changed)
OCL=30381
CL=30442
Robert Griesemer [Wed, 17 Jun 2009 21:31:33 +0000 (14:31 -0700)]
fix for incorrect type switch clause:
- nil is not a keyword
- type -> Type
R=rsc
DELTA=10 (4 added, 0 deleted, 6 changed)
OCL=30433
CL=30435
Russ Cox [Wed, 17 Jun 2009 20:21:01 +0000 (13:21 -0700)]
do use $$ in path names, so that multiple
runs on the same machine don't collide.
R=r
DELTA=4 (0 added, 1 deleted, 3 changed)
OCL=30426
CL=30429
Robert Griesemer [Wed, 17 Jun 2009 18:44:51 +0000 (11:44 -0700)]
`` strings should not accept newlines as characters
R=r
DELTA=17 (17 added, 0 deleted, 0 changed)
OCL=30417
CL=30422
Russ Cox [Wed, 17 Jun 2009 00:17:02 +0000 (17:17 -0700)]
386 system call fixes:
* use 64-bit file system calls (Linux, Darwin)
* use 32-bit [sic] uid/gid calls (Linux)
* fix sockets on Linux
Darwin/386 works again.
Linux/386 is better but must never have worked;
there are still bugs surrounding the creation of new
threads in the runtime package.
R=austin
DELTA=1332 (673 added, 614 deleted, 45 changed)
OCL=30327
CL=30380
Robert Griesemer [Tue, 16 Jun 2009 21:39:19 +0000 (14:39 -0700)]
fix nesting level for parameters
R=rsc
DELTA=8 (4 added, 2 deleted, 2 changed)
OCL=30365
CL=30368
Rob Pike [Tue, 16 Jun 2009 21:03:13 +0000 (14:03 -0700)]
clean gofmt
R=rsc
OCL=30363
CL=30363
Rob Pike [Tue, 16 Jun 2009 20:57:08 +0000 (13:57 -0700)]
add godoc to clean.bash
R=rsc
OCL=30361
CL=30361
Rob Pike [Tue, 16 Jun 2009 20:49:40 +0000 (13:49 -0700)]
delete dreg comment
R=rsc
OCL=30359
CL=30359
Robert Griesemer [Tue, 16 Jun 2009 20:44:15 +0000 (13:44 -0700)]
- some fine-tuning of godoc templates per r's suggestion
- removed gratuitous newline in go/printer
R=r
DELTA=15 (2 added, 13 deleted, 0 changed)
OCL=30358
CL=30358
Jacob Baskin [Tue, 16 Jun 2009 20:23:42 +0000 (13:23 -0700)]
URL should have an empty Scheme if there is an invalid character (i.e.
not [a-zA-Z0-9+-.]) before there is a ":".
This is particularly helpful in the erroneous-but-relatively-common
case of relative URLs containing an unescaped colon in the query
string--see the added test for an example.
R=rsc
APPROVED=rsc
DELTA=15 (15 added, 0 deleted, 0 changed)
OCL=30354
CL=30356
Robert Griesemer [Tue, 16 Jun 2009 19:03:32 +0000 (12:03 -0700)]
- install gofmt in src/cmd/gofmt
- remove some left-over files
R=rsc
DELTA=1465 (281 added, 1181 deleted, 3 changed)
OCL=30350
CL=30353
Kai Backman [Tue, 16 Jun 2009 18:25:58 +0000 (11:25 -0700)]
grab bag of changes aimed at getting stack splitting to work:
- morestack support for 5l and arm runtime
- argsize support in 5c, 5l, ar and nm. assembly code from 5a
will break in interesting ways unless NOSPLIT is specified
- explicit cond execution constants
- fix 5l output to use %d instead of %ld so that negative
values show.
- added a lot of code to arm/asm.s. runtime entry code almost
working currently aborts at gogo not implemented
R=rsc
APPROVED=rsc
DELTA=305 (125 added, 29 deleted, 151 changed)
OCL=30246
CL=30347
Robert Griesemer [Tue, 16 Jun 2009 16:39:57 +0000 (09:39 -0700)]
fix build
R=rsc
DELTA=5 (0 added, 1 deleted, 4 changed)
OCL=30343
CL=30343
Robert Griesemer [Tue, 16 Jun 2009 16:30:16 +0000 (09:30 -0700)]
forgot to adjust tmproot
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=30342
CL=30342
Robert Griesemer [Tue, 16 Jun 2009 16:14:06 +0000 (09:14 -0700)]
move godoc to src/cmd/godoc
R=rsc
DELTA=945 (944 added, 0 deleted, 1 changed)
OCL=30315
CL=30341
Russ Cox [Tue, 16 Jun 2009 04:31:56 +0000 (21:31 -0700)]
fix another gc bug, one that i have only imagined,
not observed: do not use malloc to allocate stacks
during garbage collection, because it would make the
malloc data structures change underfoot.
R=r
DELTA=6 (3 added, 0 deleted, 3 changed)
OCL=30323
CL=30326
Russ Cox [Tue, 16 Jun 2009 04:30:53 +0000 (21:30 -0700)]
fix garbage collection race: save stack trace
when changing process state to Gsyscall, not after.
R=r
DELTA=8 (4 added, 3 deleted, 1 changed)
OCL=30320
CL=30325
Rob Pike [Tue, 16 Jun 2009 04:13:28 +0000 (21:13 -0700)]
bug163: ideographs are not letters
also update golden.out from bug162
R=rsc
DELTA=16 (16 added, 0 deleted, 0 changed)
OCL=30298
CL=30324
Russ Cox [Tue, 16 Jun 2009 03:15:59 +0000 (20:15 -0700)]
b/
1909731
package main
func f(a *c.b) {}
func main() {}
BUG=
1909731
R=ken
OCL=30322
CL=30322
David Symonds [Tue, 16 Jun 2009 01:35:04 +0000 (18:35 -0700)]
Fix a proto encoding crasher whereby a nil in a repeated group field would crash the server.
Also fix the reflect bug that was exposed by this bug.
R=r
APPROVED=rsc
DELTA=162 (103 added, 32 deleted, 27 changed)
OCL=30125
CL=30319
Robert Griesemer [Mon, 15 Jun 2009 23:23:16 +0000 (16:23 -0700)]
gofmt (final resting place TBD):
- replacement for pretty; app to format a single .go file
printer.go (pkg/go/printer):
- replacement for astprinter.go; implements AST printing
- also replaces pkg/go/ast/format.go for now
cleanups:
- removed/saved away old code
R=r,rsc,iant
DELTA=2833 (1183 added, 1628 deleted, 22 changed)
OCL=30226
CL=30306
Robert Griesemer [Mon, 15 Jun 2009 22:47:15 +0000 (15:47 -0700)]
fixed typo (slipped in with previous submit)
TBR=rsc
OCL=30300
CL=30300
Robert Griesemer [Mon, 15 Jun 2009 22:43:11 +0000 (15:43 -0700)]
Support for line comments trailing a field or declaration:
- ast: added extra fields
- parser: extended comment parsing to capture potential trailing comments
Cleanups:
- parser: more documentation, changed various identifiers from _-style to camelCase
R=r,rsc
DELTA=214 (84 added, 13 deleted, 117 changed)
OCL=30259
CL=30299
Robert Griesemer [Fri, 12 Jun 2009 22:17:39 +0000 (15:17 -0700)]
removed bogus if-statement
R=iant
DELTA=3 (0 added, 3 deleted, 0 changed)
OCL=30251
CL=30251
David Symonds [Thu, 11 Jun 2009 22:55:03 +0000 (15:55 -0700)]
Switch http client_test to use google.com/robots.txt to avoid redirect loop.
www.google.com seems to be redirecting requests in an infinite loop. I haven't tracked down whether it's their code or this code that is causing it. This is just a quick fix so that this test passes.
APPROVED=r
DELTA=4 (0 added, 0 deleted, 4 changed)
OCL=30178
CL=30210
David Symonds [Thu, 11 Jun 2009 04:32:36 +0000 (21:32 -0700)]
Add support for the basic extension done by Schilling's star.
Compute checksums in both ways (unsigned and signed).
R=rsc
APPROVED=rsc
DELTA=188 (145 added, 21 deleted, 22 changed)
OCL=30126
CL=30179
Robert Griesemer [Wed, 10 Jun 2009 22:40:19 +0000 (15:40 -0700)]
- parser bug: return keyword may be followed by case or default keyword as well
- fixed unrelated typo
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=30175
CL=30175
Kai Backman [Wed, 10 Jun 2009 18:53:07 +0000 (11:53 -0700)]
Adding a batch of missing system calls.
R=rsc
APPROVED=rsc
DELTA=1329 (1264 added, 1 deleted, 64 changed)
OCL=30040
CL=30158
Kai Backman [Wed, 10 Jun 2009 03:51:53 +0000 (20:51 -0700)]
Added ld/go.c functionality into 5l, primarily dead code
removal and typesigs and strings.
Also added new header support to 5c/5a/5l.
R=rsc
APPROVED=rsc
DELTA=98 (66 added, 10 deleted, 22 changed)
OCL=30103
CL=30123
Kai Backman [Tue, 9 Jun 2009 18:34:35 +0000 (11:34 -0700)]
make 5g use 1 byte per binary asm statement.
R=rsc
APPROVED=rsc
DELTA=4 (0 added, 4 deleted, 0 changed)
OCL=30110
CL=30112
Steve Newman [Tue, 9 Jun 2009 17:58:58 +0000 (10:58 -0700)]
Basic HTTP client.
R=rsc
APPROVED=rsc
DELTA=392 (386 added, 2 deleted, 4 changed)
OCL=29963
CL=30107
Russ Cox [Tue, 9 Jun 2009 17:47:13 +0000 (10:47 -0700)]
bring over deps.bash
TBR=r
OCL=30106
CL=30106
Rob Pike [Tue, 9 Jun 2009 16:53:44 +0000 (09:53 -0700)]
mv src/lib to src/pkg
tests: all.bash passes, gobuild still works, godoc still works.
R=rsc
OCL=30096
CL=30102
Russ Cox [Tue, 9 Jun 2009 16:45:30 +0000 (09:45 -0700)]
bug: pointer arithmetic involving large offsets
needs to dereference the base pointer to make
sure it catches nil.
R=r,ken
DELTA=21 (21 added, 0 deleted, 0 changed)
OCL=30083
CL=30101
David Symonds [Tue, 9 Jun 2009 06:22:56 +0000 (23:22 -0700)]
A basic tar package.
R=rsc
APPROVED=rsc
DELTA=371 (370 added, 0 deleted, 1 changed)
OCL=30029
CL=30084
Russ Cox [Tue, 9 Jun 2009 05:10:48 +0000 (22:10 -0700)]
mksyscall was treating 64-bit systems as 32-bit,
so 64-bit args like the offset in Seek were being
mishandled. fix.
R=dsymonds
DELTA=1269 (645 added, 611 deleted, 13 changed)
OCL=30082
CL=30082
Kai Backman [Tue, 9 Jun 2009 03:20:35 +0000 (20:20 -0700)]
initial morestack support for 5l. still disabled, doesn't work.
R=rsc
APPROVED=rsc
DELTA=245 (167 added, 63 deleted, 15 changed)
OCL=30039
CL=30081
Robert Griesemer [Tue, 9 Jun 2009 02:25:26 +0000 (19:25 -0700)]
bug fix: literals can be empty
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=30080
CL=30080
Robert Griesemer [Tue, 9 Jun 2009 01:09:33 +0000 (18:09 -0700)]
- godoc periodic sync for Linux and Darwin
- support debug/sync (if automatic sync is enabled in the first place)
- removed debug/restart feature
R=rsc
DELTA=97 (37 added, 27 deleted, 33 changed)
OCL=30068
CL=30079
Russ Cox [Tue, 9 Jun 2009 00:22:28 +0000 (17:22 -0700)]
add new function io.ReadAll
R=gri
DELTA=14 (6 added, 4 deleted, 4 changed)
OCL=30072
CL=30074
Russ Cox [Mon, 8 Jun 2009 21:15:13 +0000 (14:15 -0700)]
Pad error text for browsers that are too smart.
404 page not found
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
Chrome would ignore this error page if this text weren't here.
R=presotto
APPROVED=p
DELTA=50 (50 added, 0 deleted, 0 changed)
OCL=30056
CL=30061
Russ Cox [Mon, 8 Jun 2009 21:09:04 +0000 (14:09 -0700)]
Add comment.
R=gri
DELTA=2 (2 added, 0 deleted, 0 changed)
OCL=30058
CL=30060