summaryrefslogtreecommitdiff
path: root/src/cmd
AgeCommit message (Collapse)AuthorFilesLines
2010-05-24gc: bug278Russ Cox1-0/+3
Fixes issue 804. R=ken2 CC=golang-dev http://codereview.appspot.com/1224045
2010-05-24gc: fix unsafe.Sizeof on ideal constantsRuss Cox1-4/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1280041
2010-05-21roll back 1193046 - fix buildRuss Cox1-5/+0
R=dho CC=golang-dev http://codereview.appspot.com/1257043
2010-05-21cgo: better error for no C symbolsDevon H. O'Dell1-0/+5
R=rsc, iant CC=golang-dev, graeme.perrow http://codereview.appspot.com/1193046 Committer: Russ Cox <rsc@golang.org>
2010-05-20gc: handle use of builtin function outside function callRuss Cox2-1/+7
tweaks & tests of last bug fix too. R=ken2 CC=golang-dev http://codereview.appspot.com/1207044
2010-05-20gc: line number bug fixRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1243044
2010-05-20fix bug 275Ken Thompson1-5/+11
R=rsc CC=golang-dev http://codereview.appspot.com/1198046
2010-05-20gc: disallow ยท in Go programsRuss Cox1-1/+1
Fixes issue 793. R=ken2 CC=golang-dev http://codereview.appspot.com/1249043
2010-05-20fix issue 798Ken Thompson9-0/+51
cannot allocate an audomatic temp while real registers are allocated. there is a chance that the automatic will be allocated to one of the allocated registers. the fix is to not registerize such variables. R=rsc CC=golang-dev http://codereview.appspot.com/1202042
2010-05-18gc: Better error when computing remainder of non-intEvan Shaw1-1/+1
Previously the compiler would just emit "internal compiler error" when trying to compute the remainder of floats or complex types. R=rsc CC=golang-dev http://codereview.appspot.com/1243041 Committer: Russ Cox <rsc@golang.org>
2010-05-17Add Error member to yyLexer type (yyErrorRoger Peppe3-8/+11
has no access to yylex) R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/813047 Committer: Ken Thompson <ken@golang.org>
2010-05-14gofmt: exclude test w/ illegal syntax from test casesRobert Griesemer1-1/+1
R=adg CC=golang-dev http://codereview.appspot.com/1228041
2010-05-06gc: distinguish array, slice literal in error messagesRuss Cox1-1/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/1138041
2010-05-03allow data statements for simpleKen Thompson2-7/+5
external variable assignements. R=rsc CC=golang-dev http://codereview.appspot.com/1094041
2010-05-03gc: bug264Russ Cox1-1/+3
Fixes issue 692. R=ken2 CC=golang-dev http://codereview.appspot.com/1092041
2010-05-03gc: bug267Russ Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1067042
2010-05-03gc: error for nested functions, one semicolon problemRuss Cox1-1/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/1046042
2010-05-03fix nacl buildRuss Cox1-1/+1
TBR=r CC=golang-dev http://codereview.appspot.com/1063042
2010-05-01gc: be pickier about slice, chan, array, and map sizesRuss Cox5-44/+54
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1032044
2010-04-308g: bug272Russ Cox1-13/+37
Fixes issue 589. R=ken2 CC=golang-dev http://codereview.appspot.com/1043042
2010-04-30gc: bug271Russ Cox1-8/+7
Fixes issue 662. R=ken2 CC=golang-dev http://codereview.appspot.com/978043
2010-04-30gc: bug270Russ Cox1-4/+1
Fixes issue 746. R=ken2 CC=golang-dev http://codereview.appspot.com/1040042
2010-04-308l: fix absolute path detection on WindowsRuss Cox1-0/+4
Fixes issue 755. R=ken2 CC=golang-dev http://codereview.appspot.com/965047
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman1-1/+1
R=rsc, Joe Poirier CC=golang-dev http://codereview.appspot.com/1015043 Committer: Russ Cox <rsc@golang.org>
2010-04-29gc: never include ( ) on singleton func return typeRuss Cox1-8/+4
Fixes issue 749. R=ken2 CC=golang-dev http://codereview.appspot.com/963043
2010-04-29gc: bug268Russ Cox1-0/+6
Fixes issue 745. R=ken2 CC=golang-dev http://codereview.appspot.com/1008045
2010-04-275l, 6l, 8l, runtime: make -s binaries workRuss Cox15-42/+227
5l, 6l, 8l: change ELF header so that strip doesn't destroy binary Fixes issue 261. R=iant, r CC=golang-dev http://codereview.appspot.com/994044
2010-04-27gc: better windows detectionRuss Cox2-20/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/944043
2010-04-27gc: fix islocalname on windowsRuss Cox2-1/+28
Fixes issue 732. R=ken2 CC=golang-dev http://codereview.appspot.com/956050
2010-04-27godoc: use int64 for timestampsChristopher Wedgwood1-4/+3
This fixes a crash seen when viewing a directory list. Fixes issue 747. R=gri CC=golang-dev, rsc http://codereview.appspot.com/1010042 Committer: Robert Griesemer <gri@golang.org>
2010-04-26gc: more specific error for statements at top levelRuss Cox1-10/+20
R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/1006041
2010-04-26godoc: add codewalk supportRuss Cox3-2/+501
R=adg, gri CC=golang-dev, r http://codereview.appspot.com/1008042
2010-04-22runtime: closures, defer bug fix for Native ClientRuss Cox6-19/+57
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
2010-04-206l, 8l: include ELF header in PT_LOAD mapping for text segmentRuss Cox2-10/+10
Due to page boundary rounding, the header would have been loaded as part of the text segment already, but this change placates the "paxctl" tool on so-called hardened Linux distributions (as if normal distributions weren't already hard enough to use). R=r CC=golang-dev http://codereview.appspot.com/954041
2010-04-20gc: print x[y:] correctlyRuss Cox1-1/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/955041
2010-04-19gc: cmplx typecheck bug fixRuss Cox1-1/+1
Fixes issue 729. R=ken2 CC=golang-dev http://codereview.appspot.com/875048
2010-04-15"godoc -src pkg_name" excludes duplicates entriesAndrei Vieru1-1/+1
$ godoc xml | grep Copy\(\) func (c CharData) Copy() CharData func (c Comment) Copy() Comment func (d Directive) Copy() Directive func (p ProcInst) Copy() ProcInst func (e StartElement) Copy() StartElement -------------------------------------------- $ godoc -src xml | grep Copy\(\) func (c CharData) Copy() CharData -------------------------------------------- $ godoc -src xml Copy func (c CharData) Copy() CharData { return CharData(makeCopy(c)) } -------------------------------------------- The command "godoc -src pkg_name" should output the interface of the named package, but it excludes all duplicate entries. Also the command "godoc -src pkg_name method_name" will output the source code only for one method even if there are more of them with the same name in the same package. This patch set fixes this issue. R=gri CC=golang-dev http://codereview.appspot.com/883051 Committer: Robert Griesemer <gri@golang.org>
2010-04-15synchronize ARM runner environment variable with run-armKai Backman1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/912041
2010-04-138l: add DOS stub to PE binariesEvan Shaw1-2/+23
R=rsc CC=golang-dev http://codereview.appspot.com/915041 Committer: Russ Cox <rsc@golang.org>
2010-04-12gc: zero unnamed return values on entry if func has deferRuss Cox1-4/+10
R=ken2 CC=golang-dev http://codereview.appspot.com/891050
2010-04-11gc: compile s == "" as len(s) == 0Russ Cox1-0/+24
R=ken2 CC=golang-dev http://codereview.appspot.com/840043
2010-04-11gc: distinguish fatal compiler bug from error+exitRuss Cox4-23/+49
R=ken2 CC=golang-dev http://codereview.appspot.com/902044
2010-04-11gc: make sure main.main has correct typeRuss Cox1-2/+9
R=ken2 CC=golang-dev http://codereview.appspot.com/883049
2010-04-11godoc: change od.Dir -> os.FileInfo in commentsChristopher Wedgwood1-2/+2
R=gri, r CC=golang-dev, rsc http://codereview.appspot.com/819042 Committer: Rob Pike <r@golang.org>
2010-04-09runtime: delete malx, skip_depth argument to mallocRuss Cox1-0/+28
remove internal functions from traces in gopprof instead. R=r CC=golang-dev http://codereview.appspot.com/855046
2010-04-09Add //export to cgo.Ian Lance Taylor2-1/+352
The new //export comment marks a Go function as callable from C. The syntax is "//export NAME" where NAME is the name of the function as seen from C. If such a comment is seen, cgo will generate two new files: _cgo_export.h and _cgo_export.c. The _cgo_export.h file provides declarations which C code may use to call Go functions. The _cgo_export.c file contains wrappers, and is to be compiled with gcc. The changes to Make.pkg support using this from a Go Makefile, though it could probably be more convenient. R=rsc CC=golang-dev http://codereview.appspot.com/853042
2010-04-09rename os.Dir to os.FileInfoRob Pike3-20/+20
R=rsc CC=golang-dev http://codereview.appspot.com/902042
2010-04-07gotest: update URL printed by failure message.Rob Pike1-1/+1
Fixes issue 677. R=rsc CC=golang-dev http://codereview.appspot.com/834046
2010-04-06Change goyacc to be reentrant.Roger Peppe3-605/+532
Instead of calling the package scope Lex function, Parse now takes an argument which is used to do the lexing. I reverted to having the generated switch code inside Parse rather than a separate function because the function needs 7 arguments or a context structure, which seems unnecessary. I used yyrun(), not the original $A so that it's possible to run the backquoted code through gofmt. R=rsc, ken2, ken3 CC=golang-dev http://codereview.appspot.com/879041 Committer: Ken Thompson <ken@golang.org>
2010-04-06replace original float instruction with jump to make branchesKai Backman1-11/+12
to float instructions work correctly. R=rsc CC=golang-dev http://codereview.appspot.com/870044