Kai Backman
b83549a7e6
cas
...
R=rsc
APPROVED=rsc
DELTA=31 (1 added, 8 deleted, 22 changed)
OCL=35752
CL=35757
2009-10-14 21:47:28 -07:00
Kai Backman
f72ea8eb76
LDREX and STREX
...
R=rsc
APPROVED=rsc
DELTA=30 (30 added, 0 deleted, 0 changed)
OCL=35751
CL=35756
2009-10-14 21:47:08 -07:00
Kai Backman
c7f837be00
disable ken/complit for arm
...
R=rsc
APPROVED=rsc
DELTA=1 (0 added, 1 deleted, 0 changed)
OCL=35753
CL=35755
2009-10-14 21:46:50 -07:00
Russ Cox
3ddb7daa97
fix build:
...
avoid infinite loop when cd fails.
TBR=r
OCL=35750
CL=35750
2009-10-14 18:29:33 -07:00
Russ Cox
2b7fde3406
move austin/eval and austin/ogle to exp/eval and exp/ogle
...
R=r
OCL=35736
CL=35746
2009-10-14 18:10:43 -07:00
Russ Cox
218a412e73
forgot to update Makefile in last CL
...
R=gri
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35737
CL=35745
2009-10-14 18:10:00 -07:00
Russ Cox
71abc4deab
delete one cgo playpen
...
R=r
DELTA=111 (0 added, 111 deleted, 0 changed)
OCL=35739
CL=35744
2009-10-14 18:08:10 -07:00
Russ Cox
e495953d2b
add CONTRIBUTORS file to record those
...
whose code can be accepted into the repository.
R=r
DELTA=44 (44 added, 0 deleted, 0 changed)
OCL=35729
CL=35742
2009-10-14 17:17:42 -07:00
Russ Cox
7d795d8c01
move native client to exp/nacl.
...
R=r
DELTA=3706 (1857 added, 1849 deleted, 0 changed)
OCL=35731
CL=35741
2009-10-14 17:16:21 -07:00
Russ Cox
c058e20a18
move draw to exp
...
R=r
DELTA=942 (471 added, 471 deleted, 0 changed)
OCL=35733
CL=35740
2009-10-14 17:15:56 -07:00
Russ Cox
17dfa682ae
move datafmt into exp
...
R=gri
DELTA=3006 (1503 added, 1503 deleted, 0 changed)
OCL=35730
CL=35735
2009-10-14 16:55:05 -07:00
Ian Lance Taylor
4262ff0553
Adjust for open source release.
...
R=go-dev
DELTA=111 (19 added, 38 deleted, 54 changed)
OCL=35722
CL=35728
2009-10-14 15:49:20 -07:00
Russ Cox
a68592a4dd
excise some internal references.
...
R=r
DELTA=209 (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
2009-10-14 13:02:05 -07:00
Rob Pike
68c921e25c
add an entry in the lang faq about reference types.
...
remove a mention of sawzall in the tutorial.
R=rsc
DELTA=36 (14 added, 4 deleted, 18 changed)
OCL=35717
CL=35719
2009-10-14 11:53:55 -07:00
Adam Langley
f554ef7816
Minor fixes and additions to the GMP wrapping.
...
R=rsc
APPROVED=rsc
DELTA=12 (11 added, 0 deleted, 1 changed)
OCL=35715
CL=35715
2009-10-14 10:56:19 -07:00
Russ Cox
b7ef541f35
toss crypto/block Digest in favor of hash.Hash
...
R=r
DELTA=30 (8 added, 15 deleted, 7 changed)
OCL=35677
CL=35713
2009-10-14 09:33:15 -07:00
Rob Pike
f6d67c9e95
write stack traces and panics to stderr
...
R=rsc
DELTA=31 (5 added, 3 deleted, 23 changed)
OCL=35700
CL=35700
2009-10-13 22:48:03 -07:00
Rob Pike
bf983a0df2
bye-bye to old makehtml.
...
go can do the job just fine.
R=rsc
DELTA=290 (209 added, 13 deleted, 68 changed)
OCL=35699
CL=35699
2009-10-13 22:10:16 -07:00
Rob Pike
327b6c637e
fix links in tutorial
...
R=rsc
DELTA=30 (0 added, 22 deleted, 8 changed)
OCL=35694
CL=35697
2009-10-13 18:01:24 -07:00
Rob Pike
cd7062ef6f
clean up the mess that copyright notices make
...
R=rsc
DELTA=555 (92 added, 38 deleted, 425 changed)
OCL=35691
CL=35693
2009-10-13 17:17:30 -07:00
Nigel Tao
cb1ad7e765
Documentation for png.Decode and png.Encode.
...
R=r,rsc
APPROVED=r
DELTA=7 (5 added, 0 deleted, 2 changed)
OCL=35651
CL=35692
2009-10-13 17:14:49 -07:00
Rob Pike
76d585e5af
delete silly TODO
...
R=rsc
DELTA=1 (0 added, 1 deleted, 0 changed)
OCL=35685
CL=35687
2009-10-13 15:55:44 -07:00
Adam Langley
c071da4a26
Add ASN.1 parser.
...
R=rsc
APPROVED=rsc
DELTA=1459 (1459 added, 0 deleted, 0 changed)
OCL=35389
CL=35681
2009-10-13 14:37:48 -07:00
Rob Pike
b95048f38d
some stuff about interfaces. not enough yet.
...
R=rsc
DELTA=209 (129 added, 24 deleted, 56 changed)
OCL=35675
CL=35680
2009-10-13 14:32:21 -07:00
Rob Pike
400fa1c893
align the tutorial with the renaming of SortInterface.
...
fix a bug in makehtml - was deleting the output!
R=rsc
DELTA=11 (2 added, 0 deleted, 9 changed)
OCL=35672
CL=35674
2009-10-13 13:05:42 -07:00
Rob Pike
8acb8fb780
reduce stutter: sort.SortInterface -> sort.Interface.
...
ditto for heap.HeapInterface
R=gri,rsc
DELTA=31 (0 added, 1 deleted, 30 changed)
OCL=35665
CL=35673
2009-10-13 13:05:16 -07:00
Rob Pike
fd4767f2c5
rename the source directory for gopack from ar to gopack.
...
remove the references to 6ar
R=rsc
DELTA=3547 (1770 added, 1775 deleted, 2 changed)
OCL=35669
CL=35671
2009-10-13 12:37:28 -07:00
Rob Pike
7839521335
Automated g4 rollback of changelist 35383.
...
*** Reason for rollback ***
roll back the changes to the tutorial programs (only) since they
break the automated processing used to create the tutorial.
*** Original change description ***
apply gofmt to the LGTM-marked files from 34501
that have not changed since I applied gofmt.
R=rsc
DELTA=139 (0 added, 44 deleted, 95 changed)
OCL=35670
CL=35670
2009-10-13 12:37:04 -07:00
Rob Pike
3139b2031c
new logo
...
R=rsc
DELTA=3 (1 added, 1 deleted, 1 changed)
OCL=35652
CL=35652
2009-10-12 22:58:32 -07:00
Rob Pike
d2228692b2
type switches
...
errors
R=rsc
DELTA=150 (74 added, 34 deleted, 42 changed)
OCL=35647
CL=35650
2009-10-12 21:18:23 -07:00
Robert Griesemer
4700ded282
bug fix: convert \v's into \t's if there's no tabwriter
...
R=rsc
DELTA=15 (12 added, 2 deleted, 1 changed)
OCL=35641
CL=35645
2009-10-12 19:08:17 -07:00
Robert Griesemer
df7efaf9e8
- improved comment intersperse heuristic:
...
comments should now be indented properly in corner cases
(at the end of statement lists, for instance)
- changed import decl. formatting as suggested by Russ (no "global"
indentation of imports if there are renames present)
- better field list handling
- better documentation
R=rsc
DELTA=534 (324 added, 35 deleted, 175 changed)
OCL=35557
CL=35630
2009-10-12 17:10:50 -07:00
Ian Lance Taylor
e2854875c5
Review and update. No major changes, lots of minor tweaks.
...
R=go-dev
DELTA=176 (39 added, 9 deleted, 128 changed)
OCL=35612
CL=35623
2009-10-12 15:43:13 -07:00
Rob Pike
9dfe40441e
printing and maps
...
R=rsc,gri
DELTA=228 (223 added, 1 deleted, 4 changed)
OCL=35617
CL=35619
2009-10-12 14:51:12 -07:00
Kai Backman
101f7cbd61
changed 5c 64 bit word ordering to little endian so it matches
...
5g. fixes to 64 bit code gen. added (finally) function to do
shifts properly.
go/test: passes 83% (287/342)
R=rsc
APPROVED=rsc
DELTA=156 (50 added, 53 deleted, 53 changed)
OCL=35589
CL=35616
2009-10-12 13:35:28 -07:00
Russ Cox
2372408189
sort errors by line number
...
turn off testdclstack and "not used" errors
when there are syntax errors.
BUG=2181825
R=ken
OCL=35606
CL=35608
2009-10-12 11:03:48 -07:00
Russ Cox
add89dd1ba
stack overflow debugging and fix.
...
* in 6l, -K already meant check for stack underflow.
add -KK to mean double-check stack overflows
even in nosplit functions.
* comment out print locks; they deadlock too easily
but are still useful to put back for special occasions.
* let runcgo assembly switch to scheduler stack
without involving scheduler directly. because runcgo
gets called from matchmg, it is too hard to keep it
from being called on other stacks.
R=r
DELTA=94 (65 added, 18 deleted, 11 changed)
OCL=35591
CL=35604
2009-10-12 10:26:38 -07:00
Russ Cox
fd76b4f385
new builtin.c.boot from arm.
...
node printing fixes.
silence incorrect redeclaration error.
R=ken
OCL=35602
CL=35602
2009-10-12 10:12:37 -07:00
Russ Cox
10c7d19e07
fix comment on strings.LastIndex.
...
add bytes.LastIndex.
add strings.Reader.
R=r
DELTA=59 (56 added, 0 deleted, 3 changed)
OCL=35585
CL=35601
2009-10-12 10:09:35 -07:00
Russ Cox
d0aac0ace1
introduce non-strict mode in xml parser,
...
good enough to parse some html.
in reader, add "comment" tag to collect
comment text.
do not allocate during Unmarshal unless pointer is nil.
R=r
DELTA=441 (416 added, 1 deleted, 24 changed)
OCL=35586
CL=35594
2009-10-11 23:51:46 -07:00
Russ Cox
fcdba72d2a
correct a design flaw: Atoi etc should not guess the base.
...
leave that for Btoi with base == 0.
R=r
DELTA=146 (101 added, 29 deleted, 16 changed)
OCL=35584
CL=35593
2009-10-11 23:46:11 -07:00
Russ Cox
867e10f241
fix build
...
TBR=r
OCL=35592
CL=35592
2009-10-11 23:38:44 -07:00
Kai Backman
6d0983ae46
64bit and float code generation. fmt compiles but
...
reflect is broken so fmt doesn't work.
go/test: passes 83% (285/342)
R=rsc
APPROVED=rsc
DELTA=415 (240 added, 29 deleted, 146 changed)
OCL=35576
CL=35588
2009-10-11 20:01:11 -07:00
Nigel Tao
64145109b3
PNG encoder now filters.
...
R=r,rsc
APPROVED=r
DELTA=122 (102 added, 0 deleted, 20 changed)
OCL=35573
CL=35587
2009-10-11 19:36:29 -07:00
Rob Pike
c0e0f82e49
better code for allocation through indirection
...
R=rsc
DELTA=11 (3 added, 5 deleted, 3 changed)
OCL=35583
CL=35583
2009-10-11 18:07:47 -07:00
Rob Pike
330ab5fddb
fix bugs in gob.
...
1) didn't handle attempts to encode non-structs properly.
2) if there were multiple indirections involving allocation, didn't allocate the
intermediate cells.
tests added.
R=rsc
DELTA=82 (65 added, 5 deleted, 12 changed)
OCL=35582
CL=35582
2009-10-11 17:37:22 -07:00
Russ Cox
e98412290e
interpreter checkpoint.
...
* generate different versions of binary operators
for each size of int and float, so that proper
truncating happens after each operation to
simulate the various sized ops.
* add slice expressions
* publish World.CompileStmtList, CompileDeclList, CompileExpr
* handle type-less expressions in CompileExpr
R=austin
DELTA=1459 (1327 added, 11 deleted, 121 changed)
OCL=34382
CL=35581
2009-10-11 02:35:53 -07:00
Kai Backman
1620023d03
fix float <-> int64 conversions
...
R=rsc
APPROVED=rsc
DELTA=25 (25 added, 0 deleted, 0 changed)
OCL=35566
CL=35574
2009-10-10 22:06:26 -07:00
Rob Pike
5743fb594f
change Title to ToTitle for consistency. (the doc comment was already right)
...
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=35572
CL=35572
2009-10-10 18:56:13 -07:00
Rob Pike
86cfaf66a7
reallocate library, libraryobj: 50 isn't nearly enough
...
R=rsc
DELTA=7 (2 added, 0 deleted, 5 changed)
OCL=35569
CL=35569
2009-10-10 12:29:06 -07:00