Robert Griesemer
27be2915f3
Distinguish between html generation and html quoting in godoc formatters.
...
Replacement for CL 184084; originally by Roger Peppe (rogpeppe@gmail.com ).
R=rsc
CC=golang-dev, rog
https://golang.org/cl/189059
2010-01-13 15:18:56 -08:00
Russ Cox
6ae763a727
vector: drop rule for bench, now in Make.pkg
...
R=gri
CC=golang-dev
https://golang.org/cl/186139
2010-01-13 13:29:49 -08:00
Russ Cox
1c6c0eee20
godoc: skip template wrapping for complete HTML files
...
demo at http://wreck:8080/doc/
click on go_talk-20100112.html
R=gri
CC=golang-dev
https://golang.org/cl/186137
2010-01-13 13:09:33 -08:00
Ian Lance Taylor
ae13f43810
Clarify when expressions are evaluated for a range clause.
...
R=gri, rsc
CC=golang-dev
https://golang.org/cl/189057
2010-01-13 12:50:45 -08:00
Devon H. O'Dell
14a74378f4
cgo: handle C99 bool type
...
Fixes #307 .
R=rsc
CC=golang-dev
https://golang.org/cl/186073
2010-01-13 10:25:28 -08:00
Russ Cox
84ac357c79
codereview: split name list only on commas; some user names have spaces
...
R=r
CC=golang-dev
https://golang.org/cl/184069
2010-01-13 09:09:06 -08:00
Russ Cox
f85abf01bc
runtime: reset DF flag after running external code on 386
...
R=r
CC=golang-dev
https://golang.org/cl/186108
2010-01-13 09:08:39 -08:00
Rob Pike
63d639295c
don't worry about the number of spaces when parsing.
...
allow an underscore to stand for a space or digit if the following number is >=10.
R=rsc
CC=golang-dev
https://golang.org/cl/186115
2010-01-13 14:39:30 +11:00
Rob Pike
ccbcefe2b6
ignore $GOARCH inside the compiler and linker.
...
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
https://golang.org/cl/186116
2010-01-13 14:39:16 +11:00
Kevin Ballard
ea1a36efcd
Fix minor issues with updating go-mode in an empty buffer
...
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
https://golang.org/cl/189042
2010-01-13 13:32:19 +11:00
Rob Pike
24dafbaa37
to improve the chances for compatibility, open a window of unused ids
...
and specify a lowest id granted to users.
R=rsc
CC=golang-dev
https://golang.org/cl/186081
2010-01-13 12:06:43 +11:00
Rob Pike
632a98592d
fix typo found by kevin ballard
...
R=gri
CC=golang-dev
https://golang.org/cl/186113
2010-01-13 12:06:33 +11:00
Robert Griesemer
abda9e6f89
Light-weight scanner for general use.
...
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
https://golang.org/cl/181160
2010-01-12 17:04:45 -08:00
Adam Langley
cbd3b2e8d5
Add 'bench' target to makefiles.
...
R=rsc, agl, r
CC=golang-dev
https://golang.org/cl/188043
2010-01-12 15:43:20 -08:00
Evan Shaw
3daf133f35
kate: Highlighting improvements
...
* Highlight built in functions
* Add copy built in function
* Handle multi-line strings
R=rsc
CC=golang-dev
https://golang.org/cl/184059
2010-01-12 14:33:28 -08:00
Russ Cox
711088106e
runtime: fix bug in preemption checks; was causing "lock count" panics
...
R=r
CC=golang-dev
https://golang.org/cl/186078
2010-01-12 10:03:02 -08:00
Roger Peppe
9d4d7d8f99
Fix bug that prevented the gofmt test script being run on more
...
than one explicitly named file.
R=rsc, gri
CC=golang-dev
https://golang.org/cl/186095
2010-01-12 09:45:11 -08:00
Charles L. Dorian
46206c52e3
math: special cases for Ceil, Exp, Floor, Log, Log10
...
Added special case tests to all_test.go. Added tests to Floor,
in-lined tests in Exp and Log.
R=rsc
CC=golang-dev
https://golang.org/cl/184081
2010-01-11 21:28:02 -08:00
Adam Langley
e7cceb85e4
asn1: fix marshaling of structures with >1 elements.
...
Fixes #515 .
R=rsc
CC=golang-dev
https://golang.org/cl/184079
2010-01-11 18:54:13 -08:00
Adam Langley
72b97e46a3
asn1: fix parsing of elements after a string in a structure.
...
Fixes #516 .
R=rsc
CC=golang-dev, golang-dev
https://golang.org/cl/184080
2010-01-11 18:53:58 -08:00
Rob Pike
2f63eb243c
delete debugging prints
...
R=rsc
CC=golang-dev
https://golang.org/cl/186079
2010-01-11 17:35:51 -08:00
Rob Pike
ba5d0f2098
delete debugging prints
...
R=rsc
CC=golang-dev
https://golang.org/cl/186079
2010-01-11 17:35:06 -08:00
Rob Pike
937caef8fa
add pprof output format to prof.
...
amd64 linux only.
R=rsc
CC=golang-dev
https://golang.org/cl/186077
2010-01-11 16:53:45 -08:00
Charles L. Dorian
3c7534104a
math: special cases for Fmod
...
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
https://golang.org/cl/186076
2010-01-11 16:20:51 -08:00
Bill Neubauer
14992a4e4b
doc/contribute.html: change copyright year
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/184055
2010-01-11 13:06:58 -08:00
Devon H. O'Dell
bc82aaddb6
cgo: Make constants #define'd in C available to Go (as consts)
...
Fixes #435
R=rsc
CC=golang-dev
https://golang.org/cl/181161
2010-01-11 13:05:26 -08:00
Yongjian Xu
d668d4fbbd
gc: clean opnames.h
...
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/181186
2010-01-11 13:03:01 -08:00
Robert Griesemer
5dee91001b
Remove -oldprinter flag from gofmt; all code is
...
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
https://golang.org/cl/184068
2010-01-11 12:58:13 -08:00
Rob Pike
00e2cda624
Clean up and make consistent the comments in the math package.
...
R=rsc
CC=golang-dev
https://golang.org/cl/186042
2010-01-12 07:38:31 +11:00
Russ Cox
093146b920
math: fix pow10 comment, test portable Sqrt
...
R=r
CC= golang-dev, Charlie Dorian, golang-dev
https://golang.org/cl/184058
2010-01-11 11:25:37 -08:00
David Symonds
0ed728c48a
Replicate signal names from syscall in os/signal.
...
R=rsc
CC=golang-dev
https://golang.org/cl/183142
2010-01-11 11:23:46 -08:00
Robert Griesemer
93d81fb747
Partial work-around for gofmt bug.
...
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
https://golang.org/cl/186043
2010-01-11 10:38:06 -08:00
Charles L. Dorian
5336cd8f91
math: Sqrt using 386 FPU.
...
Note: sqrt_decl.go already in src/pkg/math/.
R=rsc
CC=golang-dev
https://golang.org/cl/183155
2010-01-10 15:41:07 -08:00
Russ Cox
5328df6534
runtime: check for preemption due to garbage collection
...
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
https://golang.org/cl/184043
2010-01-09 09:47:45 -08:00
Russ Cox
752b1702d0
codereview: do not send mail when submitting for others
...
rename original_author to copied_from so that it reads
better when used as a condition.
R=r
CC=golang-dev
https://golang.org/cl/185045
2010-01-09 09:47:14 -08:00
Charles L. Dorian
fd1db67e87
math: special cases for Atan, Asin and Acos
...
Added tests for NaN and out-of-range values.
Combined asin.go and atan.go into atan.go.
R=rsc
CC=golang-dev
https://golang.org/cl/180065
2010-01-08 14:12:10 -08:00
Rob Pike
7ec0856f01
fix typo
...
R=gri, iant
CC=golang-dev
https://golang.org/cl/183160
2010-01-09 07:32:26 +11:00
Russ Cox
307a899d5b
gc: bug238
...
Fixes #471 .
R=ken2
CC=golang-dev
https://golang.org/cl/181184
2010-01-08 00:01:03 -08:00
Russ Cox
1b1f39eb86
gc: bug219, bug239, bug240
...
Fixes #475 .
R=ken2
CC=golang-dev
https://golang.org/cl/183157
2010-01-07 23:24:48 -08:00
Russ Cox
c6f4d68667
gc: bug241
...
Fixes #495 .
R=ken2
CC=golang-dev
https://golang.org/cl/183156
2010-01-07 23:20:00 -08:00
Rob Pike
f3e7ddc2fb
Rewrite tokenizer to clean up and fix a bug with spaces before delimited block.
...
Fixes #501 .
R=rsc
CC=golang-dev
https://golang.org/cl/181183
2010-01-08 17:49:55 +11:00
Adam Langley
d635d846f4
Add builder scripts.
...
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
https://golang.org/cl/183153
2010-01-07 18:45:45 -08:00
Russ Cox
c918c41c58
add doc/devel/index.html, linked from nav bar
...
R=r
CC=golang-dev
https://golang.org/cl/181156
2010-01-07 18:23:41 -08:00
Russ Cox
1594730461
codereview: repeated hg mail sends "PTAL"
...
also send out hg mail for TBR submits
R=r
CC=golang-dev
https://golang.org/cl/183137
2010-01-07 18:23:30 -08:00
Russ Cox
fe56e2cc35
http: most of a URL shouldn't use URL-escaping
...
Fixes #502 .
R=r, hoisie
CC=golang-dev
https://golang.org/cl/181179
2010-01-07 18:10:29 -08:00
Rob Pike
448aa49cfe
Add a parser to the time package, the inverse of time.Format
...
R=rsc
CC=golang-dev
https://golang.org/cl/183141
2010-01-08 12:59:20 +11:00
Robert Griesemer
35403e4cf2
added some missing periods
...
R=rsc
CC=golang-dev
https://golang.org/cl/181171
2010-01-07 09:27:24 -08:00
Rob Pike
676f9dfa06
make Format about twice as fast by removing allocations, using a bytes.Buffer
...
add a benchmark
R=rsc
CC=golang-dev
https://golang.org/cl/181164
2010-01-07 14:36:54 +11:00
Rob Pike
7a5852b50e
update timing logs for benchmarks.
...
some significant improvements:
reverse-complement
nbody (gccgo only)
regex-dna
pidigits
one mysterious drop:
binary-tree.go (gccgo only)
R=rsc
CC=golang-dev
https://golang.org/cl/181158
2010-01-06 19:36:28 -08:00
Evan Shaw
a551ffe809
8g: float->uint64 conversion optimization
...
Using FUCOMIP instead of the FUCOMP-FSTSW-SAHF sequence gives better performance and saves code space.
R=rsc
CC=golang-dev
https://golang.org/cl/183139
2010-01-06 19:28:19 -08:00