summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-01-15Implemented ExtendFront/Back functions to insert a list of elements into a list.Jan H. Hosang2-0/+81
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/181151 Committer: Russ Cox <rsc@golang.org>
2010-01-15math: special cases for HypotCharles L. Dorian2-24/+95
Added special case tests to all_test.go. Added tests to hypot.go, otherwise hangs. R=rsc CC=golang-dev http://codereview.appspot.com/186118 Committer: Russ Cox <rsc@golang.org>
2010-01-15math: 386 FPU functionsCharles L. Dorian17-0/+278
sin, cos, tan, asin, acos, atan, exp, log, log10, floor, ceil, and fabs R=rsc CC=golang-dev http://codereview.appspot.com/189083 Committer: Russ Cox <rsc@golang.org>
2010-01-15Fix s/Width/Height/ typo in draw.go.Nigel Tao1-2/+2
Fixes issue 531. R=r CC=golang-dev http://codereview.appspot.com/189078
2010-01-15fix +0000 time zones.Rob Pike2-4/+32
Fixes issue 527. R=rsc CC=golang-dev http://codereview.appspot.com/186159
2010-01-13runtime: add demo running Go on raw (emulated) hwRuss Cox18-12/+416
8l: add GOOS=pchw, stop spelling out all the elf numbers. R=r CC=golang-dev http://codereview.appspot.com/186144
2010-01-13runtime: GS already set up by setldt in Linux/386; remove duplicateDevon H. O'Dell1-3/+0
R=rsc CC=golang-dev http://codereview.appspot.com/186146 Committer: Russ Cox <rsc@golang.org>
2010-01-13runtime cleanup.Russ Cox12-66/+148
* move memory code into $GOOS-specific directory. * allow printing of static strings < 256 bytes. (dynamic strings will bump maxstring as they are allocated.) * use cgo2c for runtime.mal. R=r, dho CC=golang-dev http://codereview.appspot.com/186143
2010-01-14clean up handling of numeric time zonesRob Pike2-56/+88
allow formatting of ruby-style times. Fixes issue 518. R=rsc CC=golang-dev http://codereview.appspot.com/186119
2010-01-13cgo: Only allow numeric / string / character type constants for referencesDevon H. O'Dell1-1/+7
to #defined things. Fixes issue 520. R=rsc, rsaarelm CC=golang-dev http://codereview.appspot.com/186138 Committer: Russ Cox <rsc@golang.org>
2010-01-13Distinguish between html generation and html quoting in godoc formatters.Robert Griesemer1-0/+9
Replacement for CL 184084; originally by Roger Peppe (rogpeppe@gmail.com). R=rsc CC=golang-dev, rog http://codereview.appspot.com/189059
2010-01-13vector: drop rule for bench, now in Make.pkgRuss Cox1-3/+0
R=gri CC=golang-dev http://codereview.appspot.com/186139
2010-01-13godoc: skip template wrapping for complete HTML filesRuss Cox1-0/+22
demo at http://wreck:8080/doc/ click on go_talk-20100112.html R=gri CC=golang-dev http://codereview.appspot.com/186137
2010-01-13cgo: handle C99 bool typeDevon H. O'Dell1-1/+7
Fixes issue 307. R=rsc CC=golang-dev http://codereview.appspot.com/186073 Committer: Russ Cox <rsc@golang.org>
2010-01-13runtime: reset DF flag after running external code on 386Russ Cox1-0/+4
R=r CC=golang-dev http://codereview.appspot.com/186108
2010-01-13don't worry about the number of spaces when parsing.Rob Pike2-11/+48
allow an underscore to stand for a space or digit if the following number is >=10. R=rsc CC=golang-dev http://codereview.appspot.com/186115
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-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-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-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-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 Symonds3-2/+32
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-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-08gc: bug238Russ Cox2-1/+8
Fixes issue 471. R=ken2 CC=golang-dev http://codereview.appspot.com/181184
2010-01-07gc: bug219, bug239, bug240Russ Cox1-6/+22
Fixes issue 475. R=ken2 CC=golang-dev http://codereview.appspot.com/183157
2010-01-07gc: bug241Russ Cox1-1/+3
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-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-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