]>
Cypherpunks repositories - gostls13.git/log
Robert Griesemer [Thu, 27 Aug 2009 18:25:16 +0000 (11:25 -0700)]
Cleanups:
- remove visitor pattern interface (not used)
- added non-exported "branding" methods to enforce
node hierarchy
R=rsc
DELTA=174 (13 added, 92 deleted, 69 changed)
OCL=33838
CL=33963
Austin Clements [Thu, 27 Aug 2009 18:24:13 +0000 (11:24 -0700)]
Debugger architecture interface and definitions for AMD64.
R=rsc
APPROVED=rsc
DELTA=114 (114 added, 0 deleted, 0 changed)
OCL=33957
CL=33962
Austin Clements [Thu, 27 Aug 2009 18:21:52 +0000 (11:21 -0700)]
Make the statement compiler not use the AST visitor.
In the process, I made error handling in the statement
compiler much saner. Instead of separately tracking various
error flags with weird relations, I just track if any error
messages have been produced.
R=rsc
APPROVED=rsc
DELTA=308 (98 added, 135 deleted, 75 changed)
OCL=33870
CL=33961
Russ Cox [Thu, 27 Aug 2009 18:20:15 +0000 (11:20 -0700)]
remove Line in bufio.ReadLine(Bytes|Slice|String)
also drop bool arg from ReadString
R=r
DELTA=45 (13 added, 1 deleted, 31 changed)
OCL=33923
CL=33960
Russ Cox [Thu, 27 Aug 2009 18:17:14 +0000 (11:17 -0700)]
add and use Make.cmd
R=r
DELTA=63 (23 added, 31 deleted, 9 changed)
OCL=33932
CL=33959
Russ Cox [Thu, 27 Aug 2009 18:16:34 +0000 (11:16 -0700)]
clean up ideal handling; reject attempts
to write type descriptors for ideal types
R=ken
OCL=33958
CL=33958
Rob Pike [Thu, 27 Aug 2009 16:58:43 +0000 (09:58 -0700)]
fix build. changing var to const, which it should be anyway,
implicitly works around 6g bug.
R=rsc
OCL=33953
CL=33953
Rob Pike [Thu, 27 Aug 2009 16:14:32 +0000 (09:14 -0700)]
unicode tables for all categories
maketables now has a --test option to verify the data.
R=rsc
DELTA=3087 (1982 added, 1001 deleted, 104 changed)
OCL=33947
CL=33950
Nigel Tao [Thu, 27 Aug 2009 04:51:03 +0000 (21:51 -0700)]
Introduce the image package.
R=rsc
APPROVED=r,rsc
DELTA=244 (244 added, 0 deleted, 0 changed)
OCL=33733
CL=33940
Ken Thompson [Thu, 27 Aug 2009 02:19:07 +0000 (19:19 -0700)]
bug slicing array - cap is huge
R=rsc
OCL=33936
CL=33936
David Symonds [Thu, 27 Aug 2009 01:30:13 +0000 (18:30 -0700)]
template: Support iterables for repeated fields.
R=r,rsc
APPROVED=rsc
DELTA=194 (97 added, 32 deleted, 65 changed)
OCL=33861
CL=33933
Rob Pike [Wed, 26 Aug 2009 23:53:07 +0000 (16:53 -0700)]
change IsDecimalDigit to IsDigit because Decimal is redundant
R=rsc
DELTA=792 (398 added, 383 deleted, 11 changed)
OCL=33919
CL=33921
Ian Lance Taylor [Wed, 26 Aug 2009 23:24:51 +0000 (16:24 -0700)]
Cascading errors lead to a compiler crash.
R=rsc
DELTA=18 (18 added, 0 deleted, 0 changed)
OCL=33914
CL=33917
Russ Cox [Wed, 26 Aug 2009 23:23:54 +0000 (16:23 -0700)]
add io.LimitReader.
use it to limit data read from http.Request Body
R=r
DELTA=32 (8 added, 6 deleted, 18 changed)
OCL=33899
CL=33916
Russ Cox [Wed, 26 Aug 2009 23:23:34 +0000 (16:23 -0700)]
fix bufio bugs involving readers that return os.EOF with
the last bit of data.
add a new iotest.DataErrReader for tests
R=r
DELTA=93 (41 added, 31 deleted, 21 changed)
OCL=33897
CL=33915
Russ Cox [Wed, 26 Aug 2009 23:19:59 +0000 (16:19 -0700)]
fix codec test bug - uint -> uint8
R=r
OCL=33913
CL=33913
Ian Lance Taylor [Wed, 26 Aug 2009 23:14:17 +0000 (16:14 -0700)]
Implement divWW_g in Go.
R=gri
DELTA=105 (77 added, 23 deleted, 5 changed)
OCL=33890
CL=33910
Rob Pike [Wed, 26 Aug 2009 23:01:31 +0000 (16:01 -0700)]
generate the unicode tables directly from web database
after this CL, two more to come:
1) add an exhaustive test, probably as a variant of maketables
2) add ToUpper, ToLower, ToTitle and associated tests
R=rsc
DELTA=1578 (1007 added, 559 deleted, 12 changed)
OCL=33902
CL=33907
Russ Cox [Wed, 26 Aug 2009 22:26:09 +0000 (15:26 -0700)]
recycle G structs
R=r
DELTA=1 (1 added, 0 deleted, 0 changed)
OCL=33887
CL=33904
Ian Lance Taylor [Wed, 26 Aug 2009 21:40:34 +0000 (14:40 -0700)]
Restore comment line accidentally dropped in CL 33097.
R=rsc
DELTA=1 (1 added, 0 deleted, 0 changed)
OCL=33891
CL=33891
Robert Griesemer [Wed, 26 Aug 2009 19:55:54 +0000 (12:55 -0700)]
cleanups before making larger changes
R=rsc
DELTA=113 (10 added, 30 deleted, 73 changed)
OCL=33877
CL=33882
Russ Cox [Wed, 26 Aug 2009 19:42:22 +0000 (12:42 -0700)]
finish ChanValue: Len and Cap.
R=r
DELTA=45 (45 added, 0 deleted, 0 changed)
OCL=33873
CL=33881
Russ Cox [Wed, 26 Aug 2009 17:47:18 +0000 (10:47 -0700)]
add Close() and Closed() to ChanValue
R=r
DELTA=60 (56 added, 3 deleted, 1 changed)
OCL=33868
CL=33872
Robert Griesemer [Wed, 26 Aug 2009 16:46:12 +0000 (09:46 -0700)]
added Newton-Raphson Division as an additional bignum testcase
R=rsc
DELTA=192 (192 added, 0 deleted, 0 changed)
OCL=33853
CL=33864
Austin Clements [Wed, 26 Aug 2009 00:57:40 +0000 (17:57 -0700)]
Make the expression compiler not use the AST visitor. The
statement compiler will be fixed in a later CL.
The input and output of the expression compiler are now
clearly distinguished. In the process, I made the individual
expression compilers operate on the compiled form of their
children instead of AST nodes. As a result, there are now
fewer places where I hand-craft intermediate expression nodes.
The diff looks scarier than it is, mostly because exprCompiler
has been split into the input and output types, resulting in
lots of little renames.
R=rsc
APPROVED=rsc
DELTA=774 (204 added, 199 deleted, 371 changed)
OCL=33851
CL=33851
Rob Pike [Tue, 25 Aug 2009 22:54:25 +0000 (15:54 -0700)]
rename runtime internals to have modern names (array->slice etc)
R=rsc
DELTA=444 (179 added, 177 deleted, 88 changed)
OCL=33847
CL=33849
Russ Cox [Tue, 25 Aug 2009 22:37:22 +0000 (15:37 -0700)]
checkpoint & test (pidigits) before trying to automate.
R=r
DELTA=616 (598 added, 11 deleted, 7 changed)
OCL=33846
CL=33848
Russ Cox [Tue, 25 Aug 2009 04:16:15 +0000 (21:16 -0700)]
cgocall bug fix.
better FFI demo: compute fibonacci numbers using FFI'ed libgmp.
R=r
DELTA=281 (255 added, 19 deleted, 7 changed)
OCL=33815
CL=33820
David Symonds [Tue, 25 Aug 2009 00:31:35 +0000 (17:31 -0700)]
Wrap kludge text in HTML comments so the text/html output will remain valid HTML.
Be more conservative: only mess with text/html and text/plain output.
R=rsc
APPROVED=rsc
DELTA=20 (12 added, 5 deleted, 3 changed)
OCL=33806
CL=33812
Russ Cox [Tue, 25 Aug 2009 00:30:00 +0000 (17:30 -0700)]
start of FFI support, and a demo.
R=r
DELTA=494 (492 added, 0 deleted, 2 changed)
OCL=33784
CL=33810
Russ Cox [Tue, 25 Aug 2009 00:27:55 +0000 (17:27 -0700)]
ffi -> dynld.
move out of export data into its own section
R=r
DELTA=222 (71 added, 99 deleted, 52 changed)
OCL=33801
CL=33808
Russ Cox [Tue, 25 Aug 2009 00:06:10 +0000 (17:06 -0700)]
bug132
R=ken
OCL=33792
CL=33803
Russ Cox [Tue, 25 Aug 2009 00:04:12 +0000 (17:04 -0700)]
change reflect test to avoid bug132
R=gri
DELTA=20 (17 added, 0 deleted, 3 changed)
OCL=33793
CL=33802
Russ Cox [Mon, 24 Aug 2009 23:15:21 +0000 (16:15 -0700)]
first attempt at real FFI support.
in a .6 file, an export line
//ffi T localfib remotefib remote.so
means the dynamic linker should initialize
localfib, always a pointer, to the address of
remotefib, either text (T) or data (D) after
loading remote.so.
the C compiler will generate an export section
when given the pragmas
#pragma package fib
#pragma ffi T localfib remotefib remote.so
needing #pragma package is a bit of a kludge
and hopefully could go away later.
this is just the 6 tool chain support.
other architectures will happen once 6 settles down.
code using this to do FFI is in a later CL.
R=r
DELTA=161 (141 added, 14 deleted, 6 changed)
OCL=33783
CL=33795
Rob Pike [Mon, 24 Aug 2009 23:12:59 +0000 (16:12 -0700)]
fix duplicated word
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=33788
CL=33791
Ian Lance Taylor [Mon, 24 Aug 2009 22:56:39 +0000 (15:56 -0700)]
Match gccgo error messages.
bug192.go:11:5: error: redefinition of ‘fmt’
bug192.go:9:8: note: previous definition of ‘fmt’ was here
R=r
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=33780
CL=33790
Robert Griesemer [Mon, 24 Aug 2009 22:45:51 +0000 (15:45 -0700)]
- fix for multiple fields at same depth error
R=rsc
DELTA=9 (5 added, 0 deleted, 4 changed)
OCL=33768
CL=33785
Russ Cox [Mon, 24 Aug 2009 22:20:37 +0000 (15:20 -0700)]
gc: handle iface == nil in back end
R=ken
OCL=33778
CL=33781
Kai Backman [Mon, 24 Aug 2009 20:57:04 +0000 (13:57 -0700)]
64bit literal RSH
R=rsc
APPROVED=rsc
DELTA=85 (35 added, 0 deleted, 50 changed)
OCL=33761
CL=33767
Austin Clements [Mon, 24 Aug 2009 20:48:16 +0000 (13:48 -0700)]
Make it only necessary to exit blocks, not scopes. Allow
variables to be given initial values in some cases, to make
building global scopes more convenient.
R=rsc
APPROVED=rsc
DELTA=29 (17 added, 0 deleted, 12 changed)
OCL=33760
CL=33766
Russ Cox [Mon, 24 Aug 2009 20:41:47 +0000 (13:41 -0700)]
bug197
R=ken
OCL=33765
CL=33765
Russ Cox [Mon, 24 Aug 2009 18:03:23 +0000 (11:03 -0700)]
avoid duplicate field names, so that bug132 can be fixed
also fix echo bug that just surfaced in mkerrors.sh
R=r
DELTA=67 (11 added, 19 deleted, 37 changed)
OCL=33743
CL=33757
Russ Cox [Mon, 24 Aug 2009 17:19:31 +0000 (10:19 -0700)]
linker work
* use //ffi comments in package import data
to generate relocation entries and library loads.
* call initffi in rt0.s if present
R=r
DELTA=117 (91 added, 3 deleted, 23 changed)
OCL=33739
CL=33750
Russ Cox [Mon, 24 Aug 2009 16:23:04 +0000 (09:23 -0700)]
bug189
R=ken
OCL=33745
CL=33745
Russ Cox [Mon, 24 Aug 2009 01:09:44 +0000 (18:09 -0700)]
half of bug193
R=ken
OCL=33730
CL=33730
Russ Cox [Mon, 24 Aug 2009 01:03:14 +0000 (18:03 -0700)]
linker work
* more elf constants from FreeBSD
* simple relocation demo
R=r
DELTA=410 (354 added, 49 deleted, 7 changed)
OCL=33689
CL=33729
Rob Pike [Sun, 23 Aug 2009 21:00:28 +0000 (14:00 -0700)]
semicolons, ifs, switches
R=rsc
DELTA=196 (118 added, 24 deleted, 54 changed)
OCL=33716
CL=33727
Rob Pike [Sat, 22 Aug 2009 07:04:04 +0000 (00:04 -0700)]
allow "comma ok" in initializers
DELTA=11 (4 added, 0 deleted, 7 changed)
OCL=33698
CL=33712
Russ Cox [Sat, 22 Aug 2009 04:30:24 +0000 (21:30 -0700)]
more interface embedding tests
6g's error for I4 is not quite accurate
(it calls I4 a non-interface) but also
not a crash or infinite loop.
R=iant
DELTA=15 (15 added, 0 deleted, 0 changed)
OCL=33701
CL=33709
Austin Clements [Sat, 22 Aug 2009 01:37:38 +0000 (18:37 -0700)]
Implement map types
R=rsc
APPROVED=rsc
DELTA=329 (301 added, 2 deleted, 26 changed)
OCL=33696
CL=33706
Austin Clements [Sat, 22 Aug 2009 01:30:20 +0000 (18:30 -0700)]
Decode overlapping section names correctly.
R=rsc
APPROVED=rsc
DELTA=23 (14 added, 8 deleted, 1 changed)
OCL=33699
CL=33705
Austin Clements [Sat, 22 Aug 2009 01:13:35 +0000 (18:13 -0700)]
Implement line-to-PC mapping. Add unit tests for
PC/line/aline conversion methods.
R=rsc
APPROVED=rsc
DELTA=458 (434 added, 15 deleted, 9 changed)
OCL=33677
CL=33702
Russ Cox [Sat, 22 Aug 2009 01:07:11 +0000 (18:07 -0700)]
fix bug195
R=ken
OCL=33700
CL=33700
Russ Cox [Sat, 22 Aug 2009 00:54:07 +0000 (17:54 -0700)]
fix crash in bug194; add bug196
R=ken
OCL=33694
CL=33697
Ian Lance Taylor [Sat, 22 Aug 2009 00:42:41 +0000 (17:42 -0700)]
A test for an interface which uses a forward declared type
which turns out to be invalid.
R=rsc
DELTA=15 (15 added, 0 deleted, 0 changed)
OCL=33691
CL=33693
Ian Lance Taylor [Sat, 22 Aug 2009 00:41:18 +0000 (17:41 -0700)]
If the compiler dumps core, bash will print a useless error
message with the full path of the errchk script. Catch that
by wrapping the if statement which invokes the compiler in a
subshell. Use the $TMPOUT file as a flag to let the main
shell know whether the subshell ran. Since the compiler
stdout and stderr are redirected, if the if statement produces
any output, then the compiler crashed, and we report that.
R=r,rsc
DELTA=14 (11 added, 1 deleted, 2 changed)
OCL=33690
CL=33692
Kai Backman [Fri, 21 Aug 2009 23:29:19 +0000 (16:29 -0700)]
mostly 64 bit support.
- fixed a number of places where we tried to allocate 64bit
regs. added honeypot in regalloc to catch these in the future.
- implemented quad copying in sgen
- cgen64.c, add, mul
- clearfat done
- D_REGREG output from 5g (linker already knew about them)
- gmove done
- optoas almost done, last bit probably not needed
- D_SHIFT support in list.c
R=rsc
APPROVED=rsc
DELTA=963 (711 added, 112 deleted, 140 changed)
OCL=33619
CL=33688
Ian Lance Taylor [Fri, 21 Aug 2009 23:09:17 +0000 (16:09 -0700)]
Test composite literals with undeclared types. This crashed
gccgo in a few different places, and crashes 6g as of this
writing. Note that the index in a composite literal must be
looked up in a different namespace if the composite literal
type turns out to be a struct.
R=rsc
DELTA=36 (36 added, 0 deleted, 0 changed)
OCL=33681
CL=33685
Austin Clements [Fri, 21 Aug 2009 22:54:54 +0000 (15:54 -0700)]
Make stop causes pointers so users outside the package can
type switch on them despite their private fields. Add some
tracing stuff.
R=rsc
APPROVED=rsc
DELTA=18 (7 added, 0 deleted, 11 changed)
OCL=33678
CL=33683
Ian Lance Taylor [Fri, 21 Aug 2009 22:43:23 +0000 (15:43 -0700)]
Enable these tests. Fix divconst.go and modconst.go to
compile with the current compiler. Adjust expected error
message in method1.go to match 6g output.
R=rsc
DELTA=9 (2 added, 5 deleted, 2 changed)
OCL=33674
CL=33682
Rob Pike [Fri, 21 Aug 2009 21:18:08 +0000 (14:18 -0700)]
rewrite type rules for expressions and add shift examples
DELTA=48 (22 added, 0 deleted, 26 changed)
OCL=33657
CL=33668
Robert Griesemer [Fri, 21 Aug 2009 21:14:25 +0000 (14:14 -0700)]
unexpected shift conversion behavior
R=r
DELTA=20 (20 added, 0 deleted, 0 changed)
OCL=33646
CL=33667
Russ Cox [Fri, 21 Aug 2009 20:08:11 +0000 (13:08 -0700)]
linker work
* remove now-unused D_SBIG (was for typestrings)
* rename elf64.[ch] to elf.[ch]
* pull in elf headers from FreeBSD instead of writing our own
* emit non-header ELF data in data section
* stub out a few more ELF sections needed for dynamic loading
R=r
DELTA=1928 (1237 added, 635 deleted, 56 changed)
OCL=33642
CL=33658
Robert Griesemer [Fri, 21 Aug 2009 18:25:00 +0000 (11:25 -0700)]
- unifying rules for var decls, short var decls, and assignments
DELTA=39 (4 added, 15 deleted, 20 changed)
OCL=33639
CL=33649
Kai Backman [Fri, 21 Aug 2009 17:53:31 +0000 (10:53 -0700)]
fix 386/arm builds
R=rsc
APPROVED=rsc
DELTA=2 (2 added, 0 deleted, 0 changed)
OCL=33640
CL=33645
Russ Cox [Fri, 21 Aug 2009 00:36:21 +0000 (17:36 -0700)]
fix build
TBR=r
OCL=33623
CL=33623
Russ Cox [Fri, 21 Aug 2009 00:33:28 +0000 (17:33 -0700)]
symbol bugs.
do not emit unreachable data symbols.
R=austin
DELTA=103 (71 added, 4 deleted, 28 changed)
OCL=33325
CL=33622
Russ Cox [Thu, 20 Aug 2009 23:09:38 +0000 (16:09 -0700)]
FFI step 2: can ask for libc.so.6.
introduced explicit "data" symbol instead of etext
to mark beginning of data, so that using larger
alignment (i.e. 4MB like GNU loader) doesn't
confuse garbage collector.
split dodata into dodata and dobss in preparation
for putting the dynamic data + headers in the data
segment instead of stuffed at the beginning of the binary.
R=r
DELTA=52 (37 added, 3 deleted, 12 changed)
OCL=33610
CL=33618
Russ Cox [Thu, 20 Aug 2009 23:06:06 +0000 (16:06 -0700)]
add #include for time and ctime
R=r
DELTA=1 (1 added, 0 deleted, 0 changed)
OCL=33615
CL=33617
Nigel Tao [Thu, 20 Aug 2009 23:03:34 +0000 (16:03 -0700)]
Fix inflate.go's decompressing of a fixed Huffman block that has
length-distance pairs.
The new test data was generated by "gzip shesells.txt", which is
presumably what you (rsc) did before, for the other test cases in
gunzip_test.go.
R=rsc
APPROVED=rsc
DELTA=21 (17 added, 2 deleted, 2 changed)
OCL=33582
CL=33616
Rob Pike [Thu, 20 Aug 2009 22:39:41 +0000 (15:39 -0700)]
names
R=rsc
DELTA=96 (25 added, 5 deleted, 66 changed)
OCL=33607
CL=33612
Russ Cox [Thu, 20 Aug 2009 18:12:04 +0000 (11:12 -0700)]
len and cap on chans
R=ken
OCL=33599
CL=33599
Russ Cox [Thu, 20 Aug 2009 18:11:03 +0000 (11:11 -0700)]
introduce meaningful section names, so that
go_spec.html#Return_statements
can be used to link to spec sections. passes hlint.
renamed final section to simply "Implementation differences"
to shorten the name, but otherwise no non-formatting changes
R=gri
DELTA=230 (10 added, 0 deleted, 220 changed)
OCL=33598
CL=33598
Russ Cox [Thu, 20 Aug 2009 17:47:40 +0000 (10:47 -0700)]
clean up multifile package section.
remove ASCII digit comment that isn't true.
R=gri
DELTA=41 (1 added, 25 deleted, 15 changed)
OCL=33594
CL=33596
Russ Cox [Thu, 20 Aug 2009 17:22:52 +0000 (10:22 -0700)]
simplifications.
mark multifile section with TODO only
because that is a bigger change.
R=gri
DELTA=45 (9 added, 22 deleted, 14 changed)
OCL=33565
CL=33593
Russ Cox [Thu, 20 Aug 2009 17:18:48 +0000 (10:18 -0700)]
naming cleanup.
gzip.GzipInflater -> gzip.Inflater
gzip.NewGzipInflater -> gzip.NewInflater
zlib.NewZlibInflater -> zlib.NewInflater
io.ByteReader deleted in favor of bytes.Buffer
io.NewByteReader -> bytes.NewBuffer
R=r
DELTA=52 (3 added, 0 deleted, 49 changed)
OCL=33589
CL=33592
Russ Cox [Thu, 20 Aug 2009 16:49:05 +0000 (09:49 -0700)]
exclude _test from godoc as well as _obj.
R=gri
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=33586
CL=33590
Kai Backman [Thu, 20 Aug 2009 03:17:09 +0000 (20:17 -0700)]
more work on adding in pieces. fixed my bad assumptions about
signed and unsigned integer conversions.
R=rsc
APPROVED=rsc
DELTA=398 (40 added, 230 deleted, 128 changed)
OCL=33546
CL=33569
Kai Backman [Thu, 20 Aug 2009 02:19:57 +0000 (19:19 -0700)]
change from using /tmp to local directory
R=rsc
APPROVED=rsc
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=33534
CL=33567
Rob Pike [Thu, 20 Aug 2009 00:37:23 +0000 (17:37 -0700)]
add bug to capture double declaration of name in file and package block
R=rsc
DELTA=12 (12 added, 0 deleted, 0 changed)
OCL=33554
CL=33563
Russ Cox [Thu, 20 Aug 2009 00:27:08 +0000 (17:27 -0700)]
produce diagnostic for
import "fmt"
var fmt = 1
R=ken
OCL=33556
CL=33561
Robert Griesemer [Wed, 19 Aug 2009 23:44:04 +0000 (16:44 -0700)]
new scope rules
DELTA=137 (50 added, 24 deleted, 63 changed)
OCL=33476
CL=33553
Rob Pike [Wed, 19 Aug 2009 23:39:25 +0000 (16:39 -0700)]
section about comments
R=rsc
DELTA=125 (13 added, 62 deleted, 50 changed)
OCL=33545
CL=33550
Russ Cox [Wed, 19 Aug 2009 22:18:08 +0000 (15:18 -0700)]
try to do better line number reporting
in the presence of yacc lookahead.
better but still not perfect
R=ken
OCL=33541
CL=33541
Ian Lance Taylor [Wed, 19 Aug 2009 21:40:48 +0000 (14:40 -0700)]
With the changes to support automatic forward declarations of
type names, gccgo no longer reports redefinition errors for
:=, because it no longer knows at parse time whether the type
has changed. Adjust this test to not match "redefinition",
and to instead match gccgo's current output.
declbad.go:19:3: error: variables redeclared but no variable is new
declbad.go:34:3: error: variables redeclared but no variable is new
declbad.go:39:3: error: variables redeclared but no variable is new
declbad.go:44:3: error: variables redeclared but no variable is new
declbad.go:49:3: error: variables redeclared but no variable is new
declbad.go:24:3: error: incompatible types in assignment
declbad.go:29:3: error: incompatible types in assignment
declbad.go:39:3: error: incompatible types in assignment
R=rsc
DELTA=10 (0 added, 0 deleted, 10 changed)
OCL=33537
CL=33539
Kai Backman [Wed, 19 Aug 2009 20:57:11 +0000 (13:57 -0700)]
genembedtramp for arm
R=rsc
APPROVED=rsc
DELTA=104 (0 added, 33 deleted, 71 changed)
OCL=33531
CL=33535
Rob Pike [Wed, 19 Aug 2009 20:24:24 +0000 (13:24 -0700)]
start of a rewrite with a different tone
R=rsc
DELTA=131 (61 added, 6 deleted, 64 changed)
OCL=33488
CL=33532
Russ Cox [Wed, 19 Aug 2009 18:32:46 +0000 (11:32 -0700)]
fix import dot bug
R=ken
OCL=33526
CL=33528
Kai Backman [Wed, 19 Aug 2009 18:31:27 +0000 (11:31 -0700)]
temporarily fix linux-arm by building less
R=rsc
APPROVED=rsc
DELTA=2 (1 added, 0 deleted, 1 changed)
OCL=33518
CL=33527
Rob Pike [Wed, 19 Aug 2009 17:07:31 +0000 (10:07 -0700)]
fix spelling that is correct but bothers me anyway
R=rsc
DELTA=3 (0 added, 0 deleted, 3 changed)
OCL=33496
CL=33519
Austin Clements [Wed, 19 Aug 2009 17:05:11 +0000 (10:05 -0700)]
ELF reader and Go symbol table and PC/line table decoder.
R=rsc
APPROVED=rsc
DELTA=1425 (1425 added, 0 deleted, 0 changed)
OCL=33432
CL=33517
Kai Backman [Wed, 19 Aug 2009 02:20:33 +0000 (19:20 -0700)]
pkg/sort compiling and some progress on syscall. mostly
re-enabling and massaging code.
R=rsc
APPROVED=rsc
DELTA=2496 (1880 added, 330 deleted, 286 changed)
OCL=33487
CL=33504
David Symonds [Wed, 19 Aug 2009 00:49:44 +0000 (17:49 -0700)]
container/list: Add InsertBefore and InsertAfter methods.
R=rsc
APPROVED=rsc
DELTA=84 (68 added, 4 deleted, 12 changed)
OCL=33493
CL=33499
Austin Clements [Wed, 19 Aug 2009 00:47:03 +0000 (17:47 -0700)]
Add a standard Seeker interface.
R=rsc
APPROVED=rsc
DELTA=35 (30 added, 4 deleted, 1 changed)
OCL=33491
CL=33498
Rob Pike [Tue, 18 Aug 2009 23:19:07 +0000 (16:19 -0700)]
delete obsolete file of notes
R=rsc
DELTA=263 (0 added, 263 deleted, 0 changed)
OCL=33466
CL=33485
Robert Griesemer [Tue, 18 Aug 2009 18:48:47 +0000 (11:48 -0700)]
- fix performance bug (makeN always allocated a new vector)
- removed defs.go (moved declarations into arith.go where they belong)
R=r
DELTA=40 (16 added, 20 deleted, 4 changed)
OCL=33464
CL=33464
Robert Griesemer [Tue, 18 Aug 2009 17:41:26 +0000 (10:41 -0700)]
fix 386 build:
- implememted empty stubs for 386 assembly routines
- removed assembly code operating on single words (except for one)
- adjusted tests
R=rsc
DELTA=126 (46 added, 67 deleted, 13 changed)
OCL=33461
CL=33461
Robert Griesemer [Tue, 18 Aug 2009 17:06:15 +0000 (10:06 -0700)]
- implemented Multiplication
- changed Cmp to return -1, 0, +1
- added corresponding test cases
R=rsc
DELTA=173 (136 added, 3 deleted, 34 changed)
OCL=33431
CL=33459
Kai Backman [Tue, 18 Aug 2009 14:17:34 +0000 (07:17 -0700)]
simple arm continuous build target. will expand with time.
R=rsc
APPROVED=rsc
DELTA=61 (61 added, 0 deleted, 0 changed)
OCL=33438
CL=33454
Kai Backman [Tue, 18 Aug 2009 14:16:10 +0000 (07:16 -0700)]
slashed warnings
R=rsc
APPROVED=rsc
DELTA=35 (2 added, 1 deleted, 32 changed)
OCL=33436
CL=33453