Russ Cox
f2a520f48d
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
2009-09-30 08:59:56 -07:00
Russ Cox
b71c484c91
fix 386 build - register allocation and shift bug
...
R=ken
OCL=35140
CL=35142
2009-09-30 08:56:01 -07:00
Russ Cox
e7f9452da5
missing error checking related to ([...]int){...}
...
R=ken
OCL=35132
CL=35132
2009-09-29 21:23:34 -07:00
Russ Cox
08eefec9d6
nacl system call updates
...
R=r
DELTA=236 (211 added, 18 deleted, 7 changed)
OCL=35084
CL=35131
2009-09-29 21:22:25 -07:00
Russ Cox
6f1698774d
undo 35108 (disallow parens around type in struct literal).
...
allow parens around [...]int in struct literal.
R=ken
OCL=35112
CL=35130
2009-09-29 21:21:14 -07:00
Nigel Tao
c51e184538
ZLIB deflater.
...
R=rsc
APPROVED=rsc
DELTA=222 (219 added, 0 deleted, 3 changed)
OCL=35031
CL=35129
2009-09-29 19:47:05 -07:00
David Symonds
0ba28329e4
Add a Vim syntax highlighting file for Go.
...
APPROVED=rsc
DELTA=190 (190 added, 0 deleted, 0 changed)
OCL=35073
CL=35128
2009-09-29 18:43:20 -07:00
Kai Backman
187cc1eb49
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
2009-09-29 16:07:59 -07:00
Russ Cox
9c3c140984
disallow parens around type in struct literal syntax,
...
per discussion with gri.
R=ken
OCL=35108
CL=35108
2009-09-29 16:05:44 -07:00
Russ Cox
8f8b735295
Native Client SRPC (simple RPC), both server and client.
...
R=r
DELTA=958 (958 added, 0 deleted, 0 changed)
OCL=35096
CL=35106
2009-09-29 16:00:28 -07:00
Russ Cox
5c2c57e5db
toy draw implementation
...
R=r
DELTA=471 (471 added, 0 deleted, 0 changed)
OCL=35090
CL=35099
2009-09-29 14:04:08 -07:00
Ivan Krasin
c59a965133
Deflate encoder
...
APPROVED=rsc
OCL=34514
CL=35093
2009-09-29 13:16:21 -07:00
Adam Langley
5a69935a3c
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
2009-09-29 12:15:24 -07:00
Rob Pike
69d13b2332
make the sidebars consistent
...
add Effective Go to the set of links
DELTA=166 (62 added, 57 deleted, 47 changed)
OCL=35085
CL=35089
2009-09-29 11:57:28 -07:00
Rob Pike
8796e8ce1e
more language FAQ
...
DELTA=79 (61 added, 3 deleted, 15 changed)
OCL=35083
CL=35088
2009-09-29 11:56:57 -07:00
Kai Backman
8ccf8240f4
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
2009-09-29 07:27:49 -07:00
Robert Griesemer
326ef13976
- 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
2009-09-28 19:21:15 -07:00
Rob Pike
dd64f86e08
another bite-sized checkpoint on the language design FAQ
...
R=rsc,iant
DELTA=87 (54 added, 2 deleted, 31 changed)
OCL=35058
CL=35061
2009-09-28 16:40:34 -07:00
Kai Backman
24bfaaf07a
- 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
2009-09-28 15:40:13 -07:00
Robert Griesemer
ec10bf8f43
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
2009-09-28 14:54:53 -07:00
Rob Pike
320406d155
start of a language design FAQ.
...
R=rsc
DELTA=224 (214 added, 10 deleted, 0 changed)
OCL=35041
CL=35050
2009-09-28 14:37:14 -07:00
Rob Pike
7fed6527e1
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
2009-09-28 14:36:20 -07:00
Russ Cox
13dac655cb
disallow interface {x, y()}
...
R=gri
DELTA=8 (3 added, 0 deleted, 5 changed)
OCL=35045
CL=35047
2009-09-28 14:16:33 -07:00
Robert Griesemer
fc61b77754
- clarify type declaration (specifying status quo)
...
DELTA=68 (51 added, 8 deleted, 9 changed)
OCL=35038
CL=35046
2009-09-28 14:10:20 -07:00
Russ Cox
7743ffead4
disallow interface { x, y() }
...
R=ken
OCL=35042
CL=35044
2009-09-28 14:05:34 -07:00
Rob Pike
2e5a136e45
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
2009-09-27 17:59:36 -07:00
Rob Pike
3aec2e46de
rewrite the section about imports
...
DELTA=42 (10 added, 11 deleted, 21 changed)
OCL=35017
CL=35020
2009-09-25 17:00:22 -07:00
Robert Griesemer
0c18d1387d
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
2009-09-25 15:43:43 -07:00
Robert Griesemer
908c8f909e
fix to be able to run full gofmt test
...
TBR=r
OCL=35015
CL=35015
2009-09-25 15:43:43 -07:00
Robert Griesemer
997851e681
- reworked section on import declarations
...
- added missing <p> tags in various places
DELTA=62 (32 added, 4 deleted, 26 changed)
OCL=35014
CL=35014
2009-09-25 15:36:25 -07:00
Robert Griesemer
e1e7619f01
- fixed sieve.go example (channel directions were wrong)
...
- cosmetic adjustments
R=r
DELTA=30 (0 added, 0 deleted, 30 changed)
OCL=35010
CL=35012
2009-09-25 14:11:03 -07:00
Austin Clements
3c8a1de720
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
2009-09-25 11:36:27 -07:00
Austin Clements
4211384976
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
2009-09-25 09:39:08 -07:00
Austin Clements
60098a41fb
Fix unused imports
...
R=rsc
APPROVED=rsc
DELTA=3 (0 added, 3 deleted, 0 changed)
OCL=34970
CL=35007
2009-09-25 09:38:10 -07:00
Austin Clements
cbcd146f5d
s/switch _ :=/switch/
...
R=rsc
APPROVED=rsc
DELTA=36 (0 added, 0 deleted, 36 changed)
OCL=34971
CL=35006
2009-09-25 09:37:35 -07:00
Robert Griesemer
19b1d35d4c
rewording around ideal and basic types
...
DELTA=355 (93 added, 85 deleted, 177 changed)
OCL=34904
CL=34998
2009-09-24 19:36:48 -07:00
Russ Cox
ed6de5af4c
comparisons have type bool
...
R=ken
OCL=34995
CL=34997
2009-09-24 17:55:22 -07:00
Russ Cox
78ebe2b392
test: comparisons have type bool
...
R=r
DELTA=81 (57 added, 24 deleted, 0 changed)
OCL=34991
CL=34996
2009-09-24 17:54:47 -07:00
Robert Griesemer
f6faa9de1f
more cleanup
2009-09-24 17:25:25 -07:00
Robert Griesemer
0d17ebde1c
cleanup in personal dir:
...
- delete some unused files (copies archived elsewhere)
TBR=r
OCL=34994
CL=34994
2009-09-24 17:25:24 -07:00
Rob Pike
f448057b8a
Sqrt in assembler is worth 3-4X for nbody
...
R=rsc
DELTA=10 (10 added, 0 deleted, 0 changed)
OCL=34987
CL=34987
2009-09-24 14:47:34 -07:00
Russ Cox
86b119f765
install assembly math.Sqrt on amd64
...
R=r
DELTA=33 (32 added, 0 deleted, 1 changed)
OCL=34983
CL=34986
2009-09-24 14:27:52 -07:00
Russ Cox
285b6021e9
missing files; cleaned up g4 nothave output.
...
fixes 386 build.
R=r
DELTA=56 (56 added, 0 deleted, 0 changed)
OCL=34979
CL=34981
2009-09-24 13:38:18 -07:00
Robert Griesemer
89a881dce4
delete obsolete Makefile
...
TBR=rsc
OCL=34978
CL=34978
2009-09-24 13:17:09 -07:00
Russ Cox
0c71ead9e6
convert 8l to new ELF code.
...
mostly cut and paste from 6l.
R=r
DELTA=930 (525 added, 182 deleted, 223 changed)
OCL=34976
CL=34976
2009-09-24 12:53:35 -07:00
Russ Cox
5de6096415
allow runes >= 0x80 in symbols in #pragmas
...
R=ken
OCL=34975
CL=34975
2009-09-24 11:45:08 -07:00
Russ Cox
a4d09c2aa3
add Size method to dwarf.Type
...
R=r
DELTA=30 (24 added, 3 deleted, 3 changed)
OCL=34950
CL=34974
2009-09-24 11:43:38 -07:00
Russ Cox
12fc217336
cgo checkpoint.
...
can write all 3 output files and then compile them by hand.
R=r
DELTA=919 (841 added, 16 deleted, 62 changed)
OCL=34954
CL=34973
2009-09-24 11:43:19 -07:00
Austin Clements
ffe83e582e
Switch ogle over to the in-tree debug/proc package. Fix
...
debug/proc to install to the right place. Delete the old
ptrace package. The diff looks huge, but it's mostly
s/ptrace/proc/.
R=rsc
APPROVED=rsc
DELTA=1940 (10 added, 1835 deleted, 95 changed)
OCL=34966
CL=34968
2009-09-24 09:07:47 -07:00
Austin Clements
495b3db88b
Fix declared and not used errors in ogle.
...
R=rsc
APPROVED=rsc
DELTA=8 (0 added, 2 deleted, 6 changed)
OCL=34854
CL=34965
2009-09-24 08:32:59 -07:00