]>
Cypherpunks repositories - gostls13.git/log
Robert Griesemer [Wed, 7 Oct 2009 17:55:45 +0000 (10:55 -0700)]
support for "hard" and "soft" tabs:
- soft-tab separated columns can be discarded if empty and DiscardEmptyColumns is set
- hard-tab separated columns are never discarded
R=rsc
DELTA=63 (42 added, 7 deleted, 14 changed)
OCL=35421
CL=35435
Russ Cox [Wed, 7 Oct 2009 07:11:59 +0000 (00:11 -0700)]
factor portable object+library bits out of 5l/6l/8l into ld
R=r
DELTA=3214 (904 added, 2260 deleted, 50 changed)
OCL=35425
CL=35427
Russ Cox [Wed, 7 Oct 2009 05:03:47 +0000 (22:03 -0700)]
make reader more useful
for lower-level clients:
* expose p.Skip
* expose p.Unmarshal
* wildcard struct field "Any"
* unmarshal into bool
* unmarshal into xml.Name
* unmarshal into pointer
R=r
DELTA=61 (50 added, 5 deleted, 6 changed)
OCL=35372
CL=35422
Russ Cox [Wed, 7 Oct 2009 02:41:51 +0000 (19:41 -0700)]
apply gofmt to go, gob, hash, http, image, io, json, log
R=gri
DELTA=1359 (138 added, 32 deleted, 1189 changed)
OCL=35408
CL=35420
Russ Cox [Wed, 7 Oct 2009 02:40:35 +0000 (19:40 -0700)]
apply gofmt to malloc math once os
R=gri
DELTA=566 (4 added, 14 deleted, 548 changed)
OCL=35410
CL=35419
Russ Cox [Wed, 7 Oct 2009 02:38:30 +0000 (19:38 -0700)]
apply gofmt to auto-generated syscall files
R=gri
DELTA=4023 (104 added, 27 deleted, 3892 changed)
OCL=35416
CL=35418
Kai Backman [Wed, 7 Oct 2009 02:00:30 +0000 (19:00 -0700)]
5l library loading, 64 bit entry points
R=rsc
APPROVED=rsc
DELTA=58 (52 added, 3 deleted, 3 changed)
OCL=35417
CL=35417
Kai Backman [Tue, 6 Oct 2009 23:39:38 +0000 (16:39 -0700)]
- moved 3 functions from syscall_linux to _386 and _amd64 (arm lacks them)
- 64 bit OMINUS
- added bunch of missing arm syscalls
R=rsc
APPROVED=rsc
DELTA=203 (189 added, 3 deleted, 11 changed)
OCL=35412
CL=35414
Russ Cox [Tue, 6 Oct 2009 23:06:34 +0000 (16:06 -0700)]
fix build - missing from 35404
TBR=gri
OCL=35411
CL=35411
Robert Griesemer [Tue, 6 Oct 2009 22:44:13 +0000 (15:44 -0700)]
- set uint type for flags
- simplified some code
R=rsc
DELTA=19 (0 added, 0 deleted, 19 changed)
OCL=35405
CL=35407
Russ Cox [Tue, 6 Oct 2009 22:38:57 +0000 (15:38 -0700)]
apply gofmt to datafmt, ebnf, exec, expvar, flag, fmt
R=gri
DELTA=456 (6 added, 3 deleted, 447 changed)
OCL=35398
CL=35406
Russ Cox [Tue, 6 Oct 2009 22:28:47 +0000 (15:28 -0700)]
more comment work.
got rid of regexps.
primary bug fix is that // inside /* */ do not get stripped anymore,
so that the text inside
/*
int a;
// int b;
int c;
*/
is
int a;
// int b;
int c;
before, the "int b;" line was being uncommented too.
R=gri
DELTA=65 (13 added, 42 deleted, 10 changed)
OCL=35334
CL=35404
Robert Griesemer [Tue, 6 Oct 2009 22:22:03 +0000 (15:22 -0700)]
- simplify "needsBlanks" logic for identifiers and strings
TBR=rsc
DELTA=16 (10 added, 4 deleted, 2 changed)
OCL=35379
CL=35403
Robert Griesemer [Tue, 6 Oct 2009 22:10:36 +0000 (15:10 -0700)]
add IgnoreEmptyColumns feature to tabwriter
R=rsc
DELTA=96 (74 added, 2 deleted, 20 changed)
OCL=35391
CL=35402
Rob Pike [Tue, 6 Oct 2009 22:08:32 +0000 (15:08 -0700)]
fix build
R=rsc
DELTA=5 (5 added, 0 deleted, 0 changed)
OCL=35387
CL=35401
Russ Cox [Tue, 6 Oct 2009 21:55:39 +0000 (14:55 -0700)]
another round of gofmt applications
R=gri
DELTA=900 (106 added, 31 deleted, 763 changed)
OCL=35384
CL=35396
Russ Cox [Tue, 6 Oct 2009 21:55:06 +0000 (14:55 -0700)]
gofmt on crypto, debug
R=gri
DELTA=2560 (127 added, 177 deleted, 2256 changed)
OCL=35388
CL=35395
Kai Backman [Tue, 6 Oct 2009 21:48:39 +0000 (14:48 -0700)]
cleaned up cgen() to be a bit more straightforward.
R=rsc
APPROVED=rsc
DELTA=104 (46 added, 56 deleted, 2 changed)
OCL=35392
CL=35394
Russ Cox [Tue, 6 Oct 2009 18:42:55 +0000 (11:42 -0700)]
apply gofmt to the LGTM-marked files from 34501
that have not changed since I applied gofmt.
R=gri
DELTA=456 (77 added, 3 deleted, 376 changed)
OCL=35378
CL=35383
Adam Langley [Tue, 6 Oct 2009 17:01:39 +0000 (10:01 -0700)]
Change description of time.Time.ZoneOffset to specify east is +ve.
Currently, the description says that +ve numbers are westwards of UTC.
Typically, timezones are specified with +ve numbers running east of Greenwich.
For example, San Francisco is specified as UTC-8. Also, when calling
time.Localtime(), the following is returned on my box in PDT:
{Year:2009 Month:10 Day:5 Hour:18 Minute:55 Second:6 Weekday:1 ZoneOffset:-25200
Zone:PDT}
Note that the ZoneOffset is negative. This leads me to suspect that the
description is mistaken.
R=rsc
APPROVED=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35356
CL=35377
Robert Griesemer [Tue, 6 Oct 2009 16:52:37 +0000 (09:52 -0700)]
change tabwidth to 8 for tests
R=rsc
DELTA=39 (0 added, 0 deleted, 39 changed)
OCL=35360
CL=35376
Kai Backman [Tue, 6 Oct 2009 16:47:46 +0000 (09:47 -0700)]
64 bit cmp and some sgen tweaks
go/test: passes 75% (256/339)
R=rsc
APPROVED=rsc
DELTA=142 (53 added, 4 deleted, 85 changed)
OCL=35367
CL=35375
Kai Backman [Tue, 6 Oct 2009 04:52:10 +0000 (21:52 -0700)]
move cas out, add dummy runcgo.
R=rsc
APPROVED=rsc
DELTA=73 (45 added, 28 deleted, 0 changed)
OCL=35363
CL=35366
Kai Backman [Tue, 6 Oct 2009 04:51:34 +0000 (21:51 -0700)]
fix arm test to actual return success/fail and expose runcgo
build breakage.
R=rsc
APPROVED=rsc
DELTA=10 (4 added, 2 deleted, 4 changed)
OCL=35362
CL=35365
Rob Pike [Tue, 6 Oct 2009 04:31:50 +0000 (21:31 -0700)]
allow multiple -L options
R=rsc
DELTA=31 (15 added, 3 deleted, 13 changed)
OCL=35364
CL=35364
Robert Griesemer [Tue, 6 Oct 2009 02:37:34 +0000 (19:37 -0700)]
various go printer fixes:
- better handling of line breaks in expression lists
- fixed line breaks around label decls
- remove ()'s around if, for, switch expressions
- simple index expressions don't require blanks
- better line breaks around declarations of different kind
R=rsc
DELTA=404 (369 added, 8 deleted, 27 changed)
OCL=35354
CL=35359
Robert Griesemer [Tue, 6 Oct 2009 02:32:10 +0000 (19:32 -0700)]
remove a file from idempotency test so that the entire suite passes
R=rsc
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=35355
CL=35358
Nigel Tao [Tue, 6 Oct 2009 00:34:15 +0000 (17:34 -0700)]
First cut at a PNG encoder.
TODOs include filtering, and a unit test.
R=rsc
APPROVED=r
DELTA=280 (249 added, 1 deleted, 30 changed)
OCL=35262
CL=35348
Russ Cox [Mon, 5 Oct 2009 23:45:24 +0000 (16:45 -0700)]
comment tweaks; implement precise name
character sets.
R=r
DELTA=339 (257 added, 1 deleted, 81 changed)
OCL=35344
CL=35346
Rob Pike [Mon, 5 Oct 2009 22:17:30 +0000 (15:17 -0700)]
add a little more saturation to the background of <pre> so it doesn't disappear on bright monitors.
verified as acceptable on my calibrated home monitor.
R=gri
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35340
CL=35342
Russ Cox [Mon, 5 Oct 2009 22:10:00 +0000 (15:10 -0700)]
XML parser
R=r
DELTA=546 (545 added, 0 deleted, 1 changed)
OCL=35318
CL=35341
Russ Cox [Mon, 5 Oct 2009 22:00:50 +0000 (15:00 -0700)]
XML lexing
The lexer is the bottom level.
Most clients will use the Unmarshal method,
not yet implemented, which will behave like
json.Unmarshal.
R=r
DELTA=1115 (766 added, 219 deleted, 130 changed)
OCL=35316
CL=35339
Rob Pike [Mon, 5 Oct 2009 21:49:51 +0000 (14:49 -0700)]
addressing gri's comments.
R=gri
DELTA=31 (7 added, 17 deleted, 7 changed)
OCL=35336
CL=35338
Rob Pike [Mon, 5 Oct 2009 21:48:57 +0000 (14:48 -0700)]
slices
methods on slices, pointers and values.
R=iant,rsc,gri
DELTA=173 (150 added, 1 deleted, 22 changed)
OCL=35333
CL=35337
Russ Cox [Mon, 5 Oct 2009 18:24:01 +0000 (11:24 -0700)]
preserve blank lines in // comments
R=gri
DELTA=32 (13 added, 12 deleted, 7 changed)
OCL=35317
CL=35332
Russ Cox [Mon, 5 Oct 2009 18:23:44 +0000 (11:23 -0700)]
update json comments
R=r
DELTA=16 (4 added, 2 deleted, 10 changed)
OCL=35320
CL=35331
Rob Pike [Mon, 5 Oct 2009 18:13:56 +0000 (11:13 -0700)]
a few fixups. delete the TODO block.
R=rsc
DELTA=23 (0 added, 20 deleted, 3 changed)
OCL=35330
CL=35330
David Symonds [Mon, 5 Oct 2009 11:08:24 +0000 (04:08 -0700)]
Add write support for the GNU tar binary numeric field extension.
R=rsc
APPROVED=rsc
DELTA=102 (89 added, 1 deleted, 12 changed)
OCL=35321
CL=35327
Russ Cox [Sat, 3 Oct 2009 22:02:11 +0000 (15:02 -0700)]
fix build
TBR=r
OCL=35308
CL=35308
Russ Cox [Sat, 3 Oct 2009 18:33:51 +0000 (11:33 -0700)]
add cgo test that doesn't depend on
non-standard libraries and add to build.
R=r
DELTA=211 (210 added, 0 deleted, 1 changed)
OCL=35293
CL=35307
Bill Neubauer [Sat, 3 Oct 2009 18:09:01 +0000 (11:09 -0700)]
Fixing HTTP POST handling to work with Chrome and Safari.
request.go does not handle Content-Type correctly for the definition of
Media Types.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7
R=rsc
APPROVED=rsc
DELTA=44 (42 added, 0 deleted, 2 changed)
OCL=35274
CL=35306
Russ Cox [Sat, 3 Oct 2009 17:38:03 +0000 (10:38 -0700)]
clean more
R=r
DELTA=40 (9 added, 3 deleted, 28 changed)
OCL=35277
CL=35305
Russ Cox [Sat, 3 Oct 2009 17:37:12 +0000 (10:37 -0700)]
8c, 8l dynamic loading support.
better mach binaries.
cgo working on darwin+linux amd64+386.
eliminated context switches - pi is 30x faster.
add libcgo to build.
on snow leopard:
- non-cgo binaries work; all tests pass.
- cgo binaries work on amd64 but not 386.
R=r
DELTA=2031 (1316 added, 626 deleted, 89 changed)
OCL=35264
CL=35304
Russ Cox [Sat, 3 Oct 2009 17:35:49 +0000 (10:35 -0700)]
expand error regexp in dns test
R=r
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=35292
CL=35303
Rob Pike [Sat, 3 Oct 2009 16:38:47 +0000 (09:38 -0700)]
garbage collections, conversions, concurrency
R=iant,rsc,gri
DELTA=106 (87 added, 8 deleted, 11 changed)
OCL=35298
CL=35302
Robert Griesemer [Sat, 3 Oct 2009 05:24:05 +0000 (22:24 -0700)]
- improved handling of white space around declarations and statements
- extra tests
R=rsc
DELTA=366 (264 added, 37 deleted, 65 changed)
OCL=35299
CL=35301
Russ Cox [Sat, 3 Oct 2009 01:07:27 +0000 (18:07 -0700)]
add comment about C API.
somehow managed not to Put this before.
R=r
DELTA=3 (3 added, 0 deleted, 0 changed)
OCL=35289
CL=35294
Russ Cox [Fri, 2 Oct 2009 20:25:26 +0000 (13:25 -0700)]
final Native Client package - av
R=r
DELTA=894 (887 added, 0 deleted, 7 changed)
OCL=35115
CL=35286
Robert Griesemer [Fri, 2 Oct 2009 17:03:25 +0000 (10:03 -0700)]
- allow parenthesized [...]T types as in: ([...]int){}
- added extra tests
R=rsc
DELTA=55 (37 added, 0 deleted, 18 changed)
OCL=35250
CL=35276
Kai Backman [Fri, 2 Oct 2009 16:06:51 +0000 (09:06 -0700)]
a few more code generation bugs and an interface alignment issue.
go/test: passes 74% (251/339)
R=rsc
APPROVED=rsc
DELTA=40 (34 added, 0 deleted, 6 changed)
OCL=35254
CL=35275
Nigel Tao [Fri, 2 Oct 2009 00:50:16 +0000 (17:50 -0700)]
Change deflate.go's default compression level from 4 to 6.
R=rsc
APPROVED=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35208
CL=35261
Robert Griesemer [Thu, 1 Oct 2009 23:58:17 +0000 (16:58 -0700)]
replace "ideal" with "untyped"
R=r
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35242
CL=35258
Robert Griesemer [Thu, 1 Oct 2009 21:12:18 +0000 (14:12 -0700)]
use the notion of "untyped constant" instead of "ideal constant"
R=iant
DELTA=13 (1 added, 0 deleted, 12 changed)
OCL=35241
CL=35246
Robert Griesemer [Thu, 1 Oct 2009 21:08:00 +0000 (14:08 -0700)]
Factored out boilerplate from all html docs in doc directory:
- the first HTML comment in those files is extracted as page
title when serving them
- lib/godoc.html is top-level template for all pages served
- experimented a bit with package documentation layout
(feedback welcome)
- various related cleanups
TODO:
- The / page (doc/root.html) content repeats links that are
in the navigation bar. It needs to be cleaned up.
R=rsc
DELTA=826 (86 added, 692 deleted, 48 changed)
OCL=35230
CL=35245
Kai Backman [Thu, 1 Oct 2009 20:52:55 +0000 (13:52 -0700)]
generate float registers correctly.
go/test: passes 71% (242/339)
R=rsc
APPROVED=rsc
DELTA=9 (5 added, 0 deleted, 4 changed)
OCL=35233
CL=35243
Kai Backman [Thu, 1 Oct 2009 13:55:01 +0000 (06:55 -0700)]
some progress on arm linux syscall interface. ztypes_linux_arm
still has problems with godefs.
R=rsc
APPROVED=rsc
DELTA=801 (134 added, 235 deleted, 432 changed)
OCL=35189
CL=35211
Kai Backman [Thu, 1 Oct 2009 13:50:59 +0000 (06:50 -0700)]
cgen_asop sudoaddable
R=rsc
APPROVED=rsc
DELTA=14 (4 added, 0 deleted, 10 changed)
OCL=35190
CL=35210
Kai Backman [Thu, 1 Oct 2009 01:56:37 +0000 (18:56 -0700)]
fixed a few calls to gcmp and some really bothched OINDEX code
(how did that happen?)
go/test: passes 70% (238/339)
R=rsc
APPROVED=rsc
DELTA=18 (10 added, 0 deleted, 8 changed)
OCL=35185
CL=35188
Russ Cox [Thu, 1 Oct 2009 00:33:39 +0000 (17:33 -0700)]
step toward darwin ffi: factor out macho code
R=r
DELTA=771 (374 added, 287 deleted, 110 changed)
OCL=35187
CL=35187
Kai Backman [Wed, 30 Sep 2009 21:28:18 +0000 (14:28 -0700)]
load binary op arguments into registers
go/test: passes 69% (237/339)
R=rsc
APPROVED=rsc
DELTA=12 (3 added, 9 deleted, 0 changed)
OCL=35178
CL=35180
Russ Cox [Wed, 30 Sep 2009 20:47:15 +0000 (13:47 -0700)]
cgo working on linux/386
R=r
DELTA=70 (47 added, 4 deleted, 19 changed)
OCL=35167
CL=35171
Rob Pike [Wed, 30 Sep 2009 20:11:33 +0000 (13:11 -0700)]
rename the public exvar package to be expvar.
R=rsc
DELTA=684 (324 added, 324 deleted, 36 changed)
OCL=35161
CL=35163
Robert Griesemer [Wed, 30 Sep 2009 19:00:25 +0000 (12:00 -0700)]
- completed section on built-in functions
- moved Conversions section out of built-in functions and into expressions
- fixed syntax of conversions (parens are not mandatory if the type is not a TypeName)
(this is the only change to the Conversions section; the rest of the text is just moved;
old line: 4043, new line: 3078)
- fixed syntax of composite literals (parens are allowed around LiteralType)
DELTA=239 (115 added, 98 deleted, 26 changed)
OCL=35118
CL=35159
Russ Cox [Wed, 30 Sep 2009 18:51:08 +0000 (11:51 -0700)]
cgo: works on amd64.
integrated into Makefiles (see misc/cgo/gmp/Makefile).
R=r
DELTA=1110 (540 added, 525 deleted, 45 changed)
OCL=35153
CL=35158
Russ Cox [Wed, 30 Sep 2009 18:06:35 +0000 (11:06 -0700)]
delete
R=r
DELTA=791 (0 added, 791 deleted, 0 changed)
OCL=35154
CL=35154
Russ Cox [Wed, 30 Sep 2009 17:25:22 +0000 (10:25 -0700)]
c compiler bug tickled by
void f(struct { int x[1]; } p) { }
the "int" was getting attached to f.
R=ken
OCL=35145
CL=35151
Rob Pike [Wed, 30 Sep 2009 16:58:19 +0000 (09:58 -0700)]
another brace of questions: types, maps, bookkeeping
DELTA=136 (120 added, 13 deleted, 3 changed)
OCL=35133
CL=35147
Russ Cox [Wed, 30 Sep 2009 15:59:56 +0000 (08:59 -0700)]
clean up error output;
do not print entire buffer on error,
since it can be very large.
instead print identifying string.
R=krasin
DELTA=14 (1 added, 3 deleted, 10 changed)
OCL=35141
CL=35143
Russ Cox [Wed, 30 Sep 2009 15:56:01 +0000 (08:56 -0700)]
fix 386 build - register allocation and shift bug
R=ken
OCL=35140
CL=35142
Russ Cox [Wed, 30 Sep 2009 04:23:34 +0000 (21:23 -0700)]
missing error checking related to ([...]int){...}
R=ken
OCL=35132
CL=35132
Russ Cox [Wed, 30 Sep 2009 04:22:25 +0000 (21:22 -0700)]
nacl system call updates
R=r
DELTA=236 (211 added, 18 deleted, 7 changed)
OCL=35084
CL=35131
Russ Cox [Wed, 30 Sep 2009 04:21:14 +0000 (21:21 -0700)]
undo 35108 (disallow parens around type in struct literal).
allow parens around [...]int in struct literal.
R=ken
OCL=35112
CL=35130
Nigel Tao [Wed, 30 Sep 2009 02:47:05 +0000 (19:47 -0700)]
ZLIB deflater.
R=rsc
APPROVED=rsc
DELTA=222 (219 added, 0 deleted, 3 changed)
OCL=35031
CL=35129
David Symonds [Wed, 30 Sep 2009 01:43:20 +0000 (18:43 -0700)]
Add a Vim syntax highlighting file for Go.
APPROVED=rsc
DELTA=190 (190 added, 0 deleted, 0 changed)
OCL=35073
CL=35128
Kai Backman [Tue, 29 Sep 2009 23:07:59 +0000 (16:07 -0700)]
fix munging of pointer.
go/test: passes 69% (235/339)
R=rsc
APPROVED=rsc
DELTA=5 (4 added, 1 deleted, 0 changed)
OCL=35107
CL=35109
Russ Cox [Tue, 29 Sep 2009 23:05:44 +0000 (16:05 -0700)]
disallow parens around type in struct literal syntax,
per discussion with gri.
R=ken
OCL=35108
CL=35108
Russ Cox [Tue, 29 Sep 2009 23:00:28 +0000 (16:00 -0700)]
Native Client SRPC (simple RPC), both server and client.
R=r
DELTA=958 (958 added, 0 deleted, 0 changed)
OCL=35096
CL=35106
Russ Cox [Tue, 29 Sep 2009 21:04:08 +0000 (14:04 -0700)]
toy draw implementation
R=r
DELTA=471 (471 added, 0 deleted, 0 changed)
OCL=35090
CL=35099
Ivan Krasin [Tue, 29 Sep 2009 20:16:21 +0000 (13:16 -0700)]
Deflate encoder
APPROVED=rsc
OCL=34514
CL=35093
Adam Langley [Tue, 29 Sep 2009 19:15:24 +0000 (12:15 -0700)]
Add crypto/rc4.
RC4 is a common stream cipher. This adds a pure-go C implementation.
R=r
APPROVED=r
DELTA=139 (138 added, 0 deleted, 1 changed)
OCL=35056
CL=35092
Rob Pike [Tue, 29 Sep 2009 18:57:28 +0000 (11:57 -0700)]
make the sidebars consistent
add Effective Go to the set of links
DELTA=166 (62 added, 57 deleted, 47 changed)
OCL=35085
CL=35089
Rob Pike [Tue, 29 Sep 2009 18:56:57 +0000 (11:56 -0700)]
more language FAQ
DELTA=79 (61 added, 3 deleted, 15 changed)
OCL=35083
CL=35088
Kai Backman [Tue, 29 Sep 2009 14:27:49 +0000 (07:27 -0700)]
fixed alignment issue resulting from confusion around the
meaning of out args.
go/test: passes 68% (231/339)
R=rsc
APPROVED=rsc
DELTA=13 (7 added, 0 deleted, 6 changed)
OCL=35072
CL=35080
Robert Griesemer [Tue, 29 Sep 2009 02:21:15 +0000 (19:21 -0700)]
- assignments to structs are only legal if all struct fields are visible
- removed section on Multiple-file packages as this seems now now covered
sufficiently elsewhere
DELTA=45 (11 added, 25 deleted, 9 changed)
OCL=35065
CL=35071
Rob Pike [Mon, 28 Sep 2009 23:40:34 +0000 (16:40 -0700)]
another bite-sized checkpoint on the language design FAQ
R=rsc,iant
DELTA=87 (54 added, 2 deleted, 31 changed)
OCL=35058
CL=35061
Kai Backman [Mon, 28 Sep 2009 22:40:13 +0000 (15:40 -0700)]
- added gcmp for proper ACMP generation, changed all call
sites plus optimized constant code a bit (one less register
used).
- changed conditional branches, might need a re-tweak later
- gave up on agen OINDEX and copied/fixed the version in 8g
go/test: passes 66% (225/339)
R=rsc
APPROVED=rsc
DELTA=148 (67 added, 32 deleted, 49 changed)
OCL=35040
CL=35055
Robert Griesemer [Mon, 28 Sep 2009 21:54:53 +0000 (14:54 -0700)]
permit only one method name per method signature in interface types
(in sync with spec CL 35047)
R=rsc
DELTA=44 (4 added, 8 deleted, 32 changed)
OCL=35048
CL=35054
Rob Pike [Mon, 28 Sep 2009 21:37:14 +0000 (14:37 -0700)]
start of a language design FAQ.
R=rsc
DELTA=224 (214 added, 10 deleted, 0 changed)
OCL=35041
CL=35050
Rob Pike [Mon, 28 Sep 2009 21:36:20 +0000 (14:36 -0700)]
might as well make 6g run faster.... go from gcc -O1 to -O2
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35023
CL=35049
Russ Cox [Mon, 28 Sep 2009 21:16:33 +0000 (14:16 -0700)]
disallow interface {x, y()}
R=gri
DELTA=8 (3 added, 0 deleted, 5 changed)
OCL=35045
CL=35047
Robert Griesemer [Mon, 28 Sep 2009 21:10:20 +0000 (14:10 -0700)]
- clarify type declaration (specifying status quo)
DELTA=68 (51 added, 8 deleted, 9 changed)
OCL=35038
CL=35046
Russ Cox [Mon, 28 Sep 2009 21:05:34 +0000 (14:05 -0700)]
disallow interface { x, y() }
R=ken
OCL=35042
CL=35044
Rob Pike [Mon, 28 Sep 2009 00:59:36 +0000 (17:59 -0700)]
add a data section and start populating it with info about allocation, arrays
R=rsc
DELTA=331 (266 added, 61 deleted, 4 changed)
OCL=35024
CL=35030
Rob Pike [Sat, 26 Sep 2009 00:00:22 +0000 (17:00 -0700)]
rewrite the section about imports
DELTA=42 (10 added, 11 deleted, 21 changed)
OCL=35017
CL=35020
Robert Griesemer [Fri, 25 Sep 2009 22:43:43 +0000 (15:43 -0700)]
delete unused file
### 3656
XXstart 3656
XXedit 3656 src/cmd/5g/ggen.c
XXedit 3656 src/pkg/runtime/arm/asm.s
XXedit 3656 test/arm-pass.txt
# submit 3656
hg ci -u 'Kai Backman <kaib@golang.org>' -d '
1253922857 25200' -l - <<'HGEOF'
support for go and defer.
go/test: passes 64% (218/339)
R=rsc
APPROVED=rsc
DELTA=60 (39 added, 0 deleted, 21 changed)
OCL=35018
CL=35018
Robert Griesemer [Fri, 25 Sep 2009 22:43:43 +0000 (15:43 -0700)]
fix to be able to run full gofmt test
TBR=r
OCL=35015
CL=35015
Robert Griesemer [Fri, 25 Sep 2009 22:36:25 +0000 (15:36 -0700)]
- reworked section on import declarations
- added missing <p> tags in various places
DELTA=62 (32 added, 4 deleted, 26 changed)
OCL=35014
CL=35014
Robert Griesemer [Fri, 25 Sep 2009 21:11:03 +0000 (14:11 -0700)]
- fixed sieve.go example (channel directions were wrong)
- cosmetic adjustments
R=r
DELTA=30 (0 added, 0 deleted, 30 changed)
OCL=35010
CL=35012
Austin Clements [Fri, 25 Sep 2009 18:36:27 +0000 (11:36 -0700)]
Add eval and ogle to the build process so they can be kept up
to date.
R=rsc
APPROVED=rsc
DELTA=8 (6 added, 0 deleted, 2 changed)
OCL=35009
CL=35011
Austin Clements [Fri, 25 Sep 2009 16:39:08 +0000 (09:39 -0700)]
Switch ogle to in-tree gosym package. Delete my private sym
package. If a Sym is a function symbol, include a reference
to the Func so it's easily accessible when you're traversing
the list of all symbols. This diff is more interesting than
the proc switch because the gosym interface differs from the
old sym interface.
R=rsc
APPROVED=rsc
DELTA=1957 (34 added, 1868 deleted, 55 changed)
OCL=34969
CL=35008