summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-01-13ignore $GOARCH inside the compiler and linker.Rob Pike3-5/+3
by definition, they know what they are building for. makes it easier to switch architectures when testing. % 6g x.go % 6l x.6 % 6.out "Wed Jan 13 10:57:46 EST 2010" % 8g x.go % 8l x.8 % 8.out "Wed Jan 13 10:57:46 EST 2010" % echo $GOARCH % R=rsc CC=golang-dev http://codereview.appspot.com/186116
2010-01-13 Fix minor issues with updating go-mode in an empty bufferKevin Ballard1-8/+10
Sometimes during editing, when the buffer is emptied (for example, as part of a call to M-x gofmt), an error is raised when remove-text-properties is called. Ensure that these calls use point-max instead of buffer-size to determine their end point. R=golang-dev, r CC=golang-dev http://codereview.appspot.com/189042 Committer: Rob Pike <r@golang.org>
2010-01-13to improve the chances for compatibility, open a window of unused idsRob Pike1-0/+8
and specify a lowest id granted to users. R=rsc CC=golang-dev http://codereview.appspot.com/186081
2010-01-13fix typo found by kevin ballardRob Pike1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/186113
2010-01-12Light-weight scanner for general use.Robert Griesemer4-0/+1120
Emphasis on minimal interface and fast scanning. Recognizes all Go literals by default. Easily configurable to recognize different whitespace characters and tokens. Provides detailed position information for each token. R=rsc, r CC=golang-dev http://codereview.appspot.com/181160
2010-01-12Add 'bench' target to makefiles.Adam Langley2-0/+15
R=rsc, agl, r CC=golang-dev http://codereview.appspot.com/188043
2010-01-12kate: Highlighting improvementsEvan Shaw1-4/+14
* Highlight built in functions * Add copy built in function * Handle multi-line strings R=rsc CC=golang-dev http://codereview.appspot.com/184059 Committer: Russ Cox <rsc@golang.org>
2010-01-12runtime: fix bug in preemption checks; was causing "lock count" panicsRuss Cox2-1/+3
R=r CC=golang-dev http://codereview.appspot.com/186078
2010-01-12Fix bug that prevented the gofmt test script being run on moreRoger Peppe1-2/+2
than one explicitly named file. R=rsc, gri CC=golang-dev http://codereview.appspot.com/186095 Committer: Robert Griesemer <gri@golang.org>
2010-01-11math: special cases for Ceil, Exp, Floor, Log, Log10Charles L. Dorian4-10/+108
Added special case tests to all_test.go. Added tests to Floor, in-lined tests in Exp and Log. R=rsc CC=golang-dev http://codereview.appspot.com/184081 Committer: Russ Cox <rsc@golang.org>
2010-01-11asn1: fix marshaling of structures with >1 elements.Adam Langley2-2/+13
Fixes issue 515. R=rsc CC=golang-dev http://codereview.appspot.com/184079
2010-01-11asn1: fix parsing of elements after a string in a structure.Adam Langley2-9/+8
Fixes issue 516. R=rsc CC=golang-dev, golang-dev http://codereview.appspot.com/184080
2010-01-11delete debugging printsRob Pike1-1/+0
R=rsc CC=golang-dev http://codereview.appspot.com/186079
2010-01-11delete debugging printsRob Pike1-16/+0
R=rsc CC=golang-dev http://codereview.appspot.com/186079
2010-01-11add pprof output format to prof.Rob Pike2-19/+280
amd64 linux only. R=rsc CC=golang-dev http://codereview.appspot.com/186077
2010-01-11math: special cases for FmodCharles L. Dorian2-5/+124
Added special case tests to all_test.go for Fmod. Fixed Fmod [hung for Fmod(+/-Inf, <finite>)]. Also added test for Ceil in all_test.go. R=rsc CC=golang-dev http://codereview.appspot.com/186076 Committer: Russ Cox <rsc@golang.org>
2010-01-11doc/contribute.html: change copyright yearBill Neubauer1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/184055 Committer: Russ Cox <rsc@golang.org>
2010-01-11 cgo: Make constants #define'd in C available to Go (as consts)Devon H. O'Dell4-3/+77
Fixes issue 435 R=rsc CC=golang-dev http://codereview.appspot.com/181161 Committer: Russ Cox <rsc@golang.org>
2010-01-11gc: clean opnames.hYongjian Xu1-1/+1
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/181186 Committer: Russ Cox <rsc@golang.org>
2010-01-11Remove -oldprinter flag from gofmt; all code isRobert Griesemer11-727/+684
now printed using the semicolon-free style. Removed NoSemis flag and mechanism dealing with optional semicolons from go/printer. Updated all go/printer output files using the semi-colon free style. Changes have no formatting impact on checked in go code under src and misc. R=rsc, r CC=golang-dev http://codereview.appspot.com/184068
2010-01-12Clean up and make consistent the comments in the math package.Rob Pike11-64/+60
R=rsc CC=golang-dev http://codereview.appspot.com/186042
2010-01-11math: fix pow10 comment, test portable SqrtRuss Cox3-5/+17
R=r CC= golang-dev, Charlie Dorian, golang-dev http://codereview.appspot.com/184058
2010-01-11Replicate signal names from syscall in os/signal.David Symonds4-2/+33
R=rsc CC=golang-dev http://codereview.appspot.com/183142 Committer: Russ Cox <rsc@golang.org>
2010-01-11Partial work-around for gofmt bug.Robert Griesemer5-26/+109
Addresses some cases and respects position of closing parenthesis; but doesn't work yet in all cases. Heuristic; will need to be replaced by a real solution eventually. Does not cause existing code to be reformatted. R=r CC=golang-dev, rsc http://codereview.appspot.com/186043
2010-01-10math: Sqrt using 386 FPU.Charles L. Dorian5-129/+162
Note: sqrt_decl.go already in src/pkg/math/. R=rsc CC=golang-dev http://codereview.appspot.com/183155 Committer: Russ Cox <rsc@golang.org>
2010-01-09runtime: check for preemption due to garbage collectionRuss Cox6-2/+29
in various already expensive routines. helps keep cpu utilization up when GOMAXPROCS > 1, but not a full solution. http://groups.google.com/group/golang-nuts/t/7a9535c4136d3e2 R=r CC=golang-dev http://codereview.appspot.com/184043
2010-01-09codereview: do not send mail when submitting for othersRuss Cox1-20/+20
rename original_author to copied_from so that it reads better when used as a condition. R=r CC=golang-dev http://codereview.appspot.com/185045
2010-01-08math: special cases for Atan, Asin and AcosCharles L. Dorian4-86/+198
Added tests for NaN and out-of-range values. Combined asin.go and atan.go into atan.go. R=rsc CC=golang-dev http://codereview.appspot.com/180065 Committer: Russ Cox <rsc@golang.org>
2010-01-09fix typoRob Pike1-1/+1
R=gri, iant CC=golang-dev http://codereview.appspot.com/183160
2010-01-08gc: bug238Russ Cox5-35/+27
Fixes issue 471. R=ken2 CC=golang-dev http://codereview.appspot.com/181184
2010-01-07gc: bug219, bug239, bug240Russ Cox4-7/+26
Fixes issue 475. R=ken2 CC=golang-dev http://codereview.appspot.com/183157
2010-01-07gc: bug241Russ Cox2-1/+14
Fixes issue 495. R=ken2 CC=golang-dev http://codereview.appspot.com/183156
2010-01-08Rewrite tokenizer to clean up and fix a bug with spaces before delimited block.Rob Pike2-45/+73
Fixes issue 501. R=rsc CC=golang-dev http://codereview.appspot.com/181183
2010-01-07Add builder scripts.Adam Langley9-0/+697
These are the scripts behind godashboard.appspot.com. Nothing is particularly beautiful about it, but it does run. I still need to add support for per-builder keys and for running the benchmarks. R=rsc CC=golang-dev http://codereview.appspot.com/183153
2010-01-07add doc/devel/index.html, linked from nav barRuss Cox2-6/+10
R=r CC=golang-dev http://codereview.appspot.com/181156
2010-01-07codereview: repeated hg mail sends "PTAL"Russ Cox1-9/+29
also send out hg mail for TBR submits R=r CC=golang-dev http://codereview.appspot.com/183137
2010-01-07http: most of a URL shouldn't use URL-escapingRuss Cox3-18/+41
Fixes issue 502. R=r, hoisie CC=golang-dev http://codereview.appspot.com/181179
2010-01-08Add a parser to the time package, the inverse of time.FormatRob Pike2-1/+345
R=rsc CC=golang-dev http://codereview.appspot.com/183141
2010-01-07added some missing periodsRobert Griesemer1-4/+4
R=rsc CC=golang-dev http://codereview.appspot.com/181171
2010-01-07make Format about twice as fast by removing allocations, using a bytes.BufferRob Pike2-31/+28
add a benchmark R=rsc CC=golang-dev http://codereview.appspot.com/181164
2010-01-06update timing logs for benchmarks.Rob Pike1-0/+84
some significant improvements: reverse-complement nbody (gccgo only) regex-dna pidigits one mysterious drop: binary-tree.go (gccgo only) R=rsc CC=golang-dev http://codereview.appspot.com/181158
2010-01-068g: float->uint64 conversion optimizationEvan Shaw1-9/+3
Using FUCOMIP instead of the FUCOMP-FSTSW-SAHF sequence gives better performance and saves code space. R=rsc CC=golang-dev http://codereview.appspot.com/183139 Committer: Russ Cox <rsc@golang.org>
2010-01-06libmach: Add disassembly for newly implemented opcodesEvan Shaw1-0/+4
R=rsc CC=golang-dev http://codereview.appspot.com/183140 Committer: Russ Cox <rsc@golang.org>
2010-01-06runtime: close TODO now that 8c bug is fixedRuss Cox2-23/+5
R=r CC=golang-dev http://codereview.appspot.com/183138
2010-01-07add a standard interface that wraps ReadByte, io.ReadByterRob Pike1-0/+8
R=rsc CC=golang-dev http://codereview.appspot.com/181163
2010-01-06sync make-arm.bash with make.bashRuss Cox1-3/+6
R=r CC=golang-dev http://codereview.appspot.com/183135
2010-01-068c: only refer to extern register variables in MOVL instructionsRuss Cox2-1/+8
R=ken2 http://codereview.appspot.com/183136
2010-01-06deps.bash: handle space between .go and \ in GOFILES=Russ Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/181157
2010-01-06Ported runtime to Windows.Hector Chu20-60/+600
R=rsc CC=golang-dev http://codereview.appspot.com/176066 Committer: Russ Cox <rsc@golang.org>
2010-01-06time: fix Makefile so deps.bash is happy (fixes build)Russ Cox1-1/+1
TBR=r http://codereview.appspot.com/183133