- 20 Jan, 2012 7 commits
-
-
Shenghou Ma authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5553049
-
Dmitriy Vyukov authored
BenchmarkChanSem old=127ns new=78.6ns R=golang-dev, bradfitz, sameer, rsc CC=golang-dev https://golang.org/cl/5558049
-
Nigel Tao authored
R=dsymonds CC=golang-dev https://golang.org/cl/5558059
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/5557067
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5558056
-
Alex Brainman authored
- use proper Win64 gcc calling convention when calling initcgo on amd64 - increase g0 stack size to 64K on amd64 to make it the same as 386 - implement C.sleep - do not use C.stat, since it is renamed to C._stat by mingw - use fopen to implement TestErrno, since C.strtol always succeeds on windows - skip TestSetEnv on windows, because os.Setenv sets windows process environment, while C.getenv inspects internal C runtime variable instead R=golang-dev, vcc.163, rsc CC=golang-dev https://golang.org/cl/5500094
-
Brad Fitzpatrick authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5536076
-
- 19 Jan, 2012 33 commits
-
-
Gustavo Niemeyer authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5528109
-
Brad Fitzpatrick authored
Fixes #2733 R=chickencha, ality, rsc CC=golang-dev https://golang.org/cl/5553064
-
Nigel Tao authored
instead of the origin. This makes YCbCr match the other image types (e.g. RGBA, Gray) in that an image's bounds is not restricted to the positive quadrant. Also optimize the YCbCr draw code by hoisting some computation outside of the loop. benchmark old ns/op new ns/op delta draw.BenchmarkYCbCr 2544418 2373558 -6.72% Like https://golang.org/cl/4681044/ I don't think a gofix is feasible. People will have to make manual changes. On the other hand, directly manipulating YCbCr images is relatively rare, compared to RGBA images, and if other code just uses the jpeg and draw packages instead of messing directly with a YCbCr's []byte representations, then things should just continue to work. R=r CC=golang-dev https://golang.org/cl/5558048
-
Mikio Hara authored
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/5532102
-
Mikio Hara authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5536068
-
Luit van Drongelen authored
Remove NewMD5, NewSHA1 and NewSHA256 in favor of using New and explicitly importing the used hash-function. This way when using, for example, HMAC with RIPEMD there's no md5, sha1 and sha256 linked in through the hmac package. A gofix rule is included, and applied to the standard library (3 files altered). This change is the result of a discussion at https://golang.org/cl/5550043/ to pull the discussion about deprecating these functions out of that issue. R=golang-dev, agl CC=golang-dev, r, rsc https://golang.org/cl/5556058
-
David Symonds authored
Fixes #2660. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5557060
-
Brad Fitzpatrick authored
Fix originally from rogpeppe in 5414048 but was rolled back due to test breakage. This CL makes the test more robust to order of operations. Fixes #2480 again. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5536072
-
Gustavo Niemeyer authored
R=golang-dev, bsiegert, r CC=golang-dev https://golang.org/cl/5549043
-
Gustavo Niemeyer authored
R=rsc CC=golang-dev https://golang.org/cl/5542052
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5532100
-
Robert Griesemer authored
Thanks to 0xE2.0x9A.0x9B for the patch suggestion. Fixes #2739. R=r CC=golang-dev https://golang.org/cl/5536071
-
Rob Pike authored
The previous version of all the node.String methods printed the parse tree and was useful for developing the parse tree code. Now that that's done, we might as well print the nodes using the standard template syntax. It's much easier to read and makes error reporting look more natural. Helps issue 2644. R=rsc, n13m3y3r CC=golang-dev https://golang.org/cl/5553066
-
Dave Cheney authored
SysUnused is a direct call to madvise MADV_FREE. R=sebastien.paolacci, rsc, minux.ma CC=golang-dev https://golang.org/cl/5531073
-
Andrew Gerrand authored
Redirect to the canonical path when the old path is accessed. R=gri CC=golang-dev https://golang.org/cl/5536061
-
Evan Shaw authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5539063
-
Shenghou Ma authored
So as to give out stack trace for panic in examples. This behavior also matches the tests'. Fixes #2691. R=golang-dev CC=golang-dev https://golang.org/cl/5554061
-
Olivier Duperray authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5554064
-
Brad Fitzpatrick authored
Prep for Issue 2699 R=rsc CC=golang-dev https://golang.org/cl/5536045
-
Robert Griesemer authored
Fixes #2737. R=bradfitz CC=golang-dev https://golang.org/cl/5553062
-
Christoph Hack authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5554063
-
Adam Langley authored
(Sending to r because of the API change.) Over time we might want to add support for other key types. While I was in the code, I also made the use of RawSubject the same between Subject and Issuer when creating certificates. R=r, rsc CC=golang-dev https://golang.org/cl/5554049
-
Adam Langley authored
(Sending to r because of the API change.) This change alters the API for crypto/elliptic to permit different implementations in the future. This will allow us to add faster, constant-time implementations of the standard curves without any more API changes. As a demonstration, it also adds a constant-time implementation of P224. Since it's only 32-bit, it's actually only about 40% the speed of the generic code on a 64-bit system. R=r, rsc CC=golang-dev https://golang.org/cl/5528088
-
Dmitriy Vyukov authored
TestNonStandardNormalValues runs 1.5s, the change reduces it to 0.2s in short mode. The problem is with slow machines, emulators and dynamic tools. R=golang-dev, r CC=golang-dev https://golang.org/cl/5540065
-
Andrew Gerrand authored
Also, disable server-side generation of TOC for commands as they would only ever show Overview. The JS does a better job (for now). Fixes #2732. R=gri, dsymonds CC=golang-dev https://golang.org/cl/5558046
-
Nigel Tao authored
elements. Pass tests10.dat, test 33: <!DOCTYPE html><svg><desc><svg><ul>a | <!DOCTYPE html> | <html> | <head> | <body> | <svg svg> | <svg desc> | <svg svg> | <ul> | "a" Also pass test 34: <!DOCTYPE html><p><svg><desc><p> R=andybalholm, dsymonds CC=golang-dev https://golang.org/cl/5536048
-
Mikio Hara authored
R=bradfitz CC=golang-dev https://golang.org/cl/5558047
-
Russ Cox authored
Fixes #2440. R=r, dsymonds CC=golang-dev https://golang.org/cl/5559043
-
Mikio Hara authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5532097
-
Andrew Gerrand authored
Its need will be addressed in another way by the redesign. Fixes #2719. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5536062
-
Stefan Nilsson authored
R=adg CC=golang-dev https://golang.org/cl/5545061
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5541064
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/5556051
-