- 02 Jan, 2013 8 commits
-
-
Russ Cox authored
Fixes #4510. R=ken2 CC=golang-dev https://golang.org/cl/7001054
-
Russ Cox authored
Multiple files with the same package all get compiled together. R=golang-dev, iant, dave CC=golang-dev https://golang.org/cl/7005053
-
Russ Cox authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7035045
-
Robert Griesemer authored
Also: Return first error whether an error handler is set in the context or not (bug fix). R=adonovan CC=golang-dev https://golang.org/cl/7024043
-
Dmitriy Vyukov authored
R=minux.ma, franciscossouza, rsc, adg, adg CC=golang-dev https://golang.org/cl/6948043
-
Andrew Gerrand authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7034044
-
Andrew Gerrand authored
Generated by addca. R=gobot CC=golang-dev https://golang.org/cl/7038046
-
Kamil Kisiel authored
Fixes #4211. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6970051
-
- 01 Jan, 2013 2 commits
-
-
Dave Cheney authored
sysarch requires arguments to be passed on the stack, not in registers. Credit to Shenghou Ma (minux) for the fix. R=minux.ma, devon.odell CC=golang-dev https://golang.org/cl/7037043
-
Dave Cheney authored
Under FreeBSD-CURRENT on arm, cgo enabled binaries segfault. Disable cgo support for the moment so we can have a freebsd/arm builder on the dashboard. R=minux.ma, rsc, iant CC=golang-dev https://golang.org/cl/7031044
-
- 30 Dec, 2012 3 commits
-
-
Russ Cox authored
Fixes #2443. R=ken2 CC=golang-dev https://golang.org/cl/6997048
-
Ryan Slade authored
Allows encoding and decoding of maps with key of string kind, not just string type. Fixes #3519. R=rsc, dave CC=golang-dev https://golang.org/cl/6943047
-
Russ Cox authored
Fixes #4597. R=ken2 CC=golang-dev https://golang.org/cl/7032043
-
- 29 Dec, 2012 3 commits
-
-
Dave Cheney authored
R=golang-dev, minux.ma, rsc CC=golang-dev https://golang.org/cl/7025044
-
Sébastien Paolacci authored
Used to then die on a nil pointer situation. Most Linux standard setups are rather restrictive regarding the default amount of lockable memory. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/6997049
-
Adam Langley authored
While half of all numbers don't have their most-significant bit set, this is becoming increasingly impermissible for RSA moduli. In an attempt to exclude weak keys, several bits of software either do, or will, enforce that RSA moduli are >= 1024-bits. However, Go often generates 1023-bit RSA moduli which this software would then reject. This change causes crypto/rsa to regenerate the primes in the event that the result is shorter than requested. It also alters crypto/rand in order to remove the performance impact of this: The most important change to crypto/rand is that it will now set the top two bits in a generated prime (OpenSSL does the same thing). Multiplying two n/2 bit numbers, where each have the top two bits set, will always result in an n-bit product. (The effectively makes the crypto/rsa change moot, but that seems too fragile to depend on.) Also this change adds code to crypto/rand to rapidly eliminate some obviously composite numbers and reduce the number of Miller-Rabin tests needed to generate a prime. R=rsc, minux.ma CC=golang-dev https://golang.org/cl/7002050
-
- 28 Dec, 2012 8 commits
-
-
Péter Surányi authored
CL6449105 changed godoc id attributes to ensure uniqueness. This CL updates links to godoc pages in documents that used the old id attributes. R=golang-dev, dsymonds CC=golang-dev, speter.go1 https://golang.org/cl/7015051
-
Robert Griesemer authored
- introduced type Method for methods - renamed StructField -> Field - removed ObjList - methods are not sorted anymore in interfaces (for now) R=adonovan CC=golang-dev https://golang.org/cl/7023043
-
Robert Griesemer authored
This is a just a file move with no other changes besides the manual import path adjustments in these two files: src/pkg/exp/gotype/gotype.go src/pkg/exp/gotype/gotype_test.go Note: The go/types API continues to be subject to possibly significant changes until Go 1.1. Do not rely on it being stable at this point. R=adonovan CC=golang-dev https://golang.org/cl/7013049
-
Robert Griesemer authored
The parser/resolver cannot accurately resolve composite literal keys that are identifiers; it needs type information. Instead, try to resolve them but leave final judgement to the type checker. R=adonovan CC=golang-dev https://golang.org/cl/6994047
-
Brad Fitzpatrick authored
Fixes #4589 R=golang-dev, iant, dvyukov CC=golang-dev https://golang.org/cl/7011047
-
Dmitriy Vyukov authored
Fixes #4383. R=golang-dev, minux.ma, rsc, iant CC=golang-dev https://golang.org/cl/6996060
-
Dave Cheney authored
These files are identical, so probably pre date // +build. With a little work, fd_darwin could be merged as well. R=mikioh.mikioh, jsing, devon.odell, lucio.dere, minux.ma CC=golang-dev https://golang.org/cl/7004053
-
Dave Cheney authored
Fixes #4592. Thanks to minux for the suggestion. R=minux.ma, iant CC=golang-dev https://golang.org/cl/7017048
-
- 27 Dec, 2012 2 commits
-
-
Jan Ziak authored
The new garbage collector (CL 6114046) may find the fake *[]byte value and interpret its contents as bytes rather than as potential pointers. This may lead the garbage collector to free memory blocks that shouldn't be freed. R=dvyukov, rsc, dave, minux.ma, remyoudompheng, iant CC=golang-dev https://golang.org/cl/7000059
-
Akshat Kumar authored
Proper local system log semantics still need to be created for Plan 9. In the meantime, the test suite (viz., exp/gotype) expects there to be some Go source for each import path. Thus, here is a stub, equivalent to syslog_windows, for this purpose. R=golang-dev, rsc, alex.brainman CC=golang-dev https://golang.org/cl/7000062
-
- 26 Dec, 2012 2 commits
-
-
Robert Griesemer authored
R=adonovan, bradfitz CC=golang-dev https://golang.org/cl/7018046
-
Robert Griesemer authored
- added Context type for configuration of type checker - type check all function and method bodies - (partial) fixes to shift hinting (still not complete) - revamped test harness - does not rely on specific position representation anymore, just a standard (compiler) error message - lots of bug fixes R=adonovan, rsc CC=golang-dev https://golang.org/cl/6948071
-
- 25 Dec, 2012 1 commit
-
-
Oling Cat authored
R=golang-dev, iant CC=golang-dev, minux.ma https://golang.org/cl/6998055
-
- 24 Dec, 2012 5 commits
-
-
Dmitriy Vyukov authored
Double wakeup is prohibited by the Note interface and checked in lock_sema.c. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6976054
-
Marcel van Lohuizen authored
Motivations: - Simpler UI. Previous API proved a bit awkward for practical purposes. - Iter is often used in cases where one want to be able to bail out early. The old implementaton had too much look-ahead to be efficient. Disadvantages: - ASCII performance is bad. This is unavoidable for tiny iterations. Example is included to show how to work around this. Description: Iter now iterates per boundary/segment. It returns a slice of bytes that either points to the input bytes, the internal decomposition strings, or the small internal buffer that each iterator has. In many cases, copying bytes is avoided. The method Seek was added to support jumping around the input without having to reinitialize. Details: - Table adjustments: some decompositions exist of multiple segments. Decompositions that are of this type are now marked so that Iter can handle them separately. - The old iterator had a different next function for different normal forms that was assigned to a function pointer called by Next. The new iterator uses this mechanism to switch between different modes for handling different type of input as well. This greatly improves performance for Hangul and ASCII. It is also used for multi-segment decompositions. - input is now a struct of sting and []byte, instead of an interface. This simplifies optimizing the ASCII case. R=rsc CC=golang-dev https://golang.org/cl/6873072
-
Marcel van Lohuizen authored
the need to decompose characters for the majority of cases. This considerably speeds up collation while increasing the table size minimally. To detect non-normalized strings, rather than relying on exp/norm, the table now includes CCC information. The inclusion of this information does not increase table size. DETAILS - Raw collation elements are now a struct that includes the CCC, rather than a slice of ints. - Builder now ensures that NFD and NFC counterparts are included in the table. This also fixes a bug for Korean which is responsible for most of the growth of the table size. - As there is no more normalization step, code should now handle both strings and byte slices as input. Introduced source type to facilitate this. NOTES - This change does not handle normalization correctly entirely for contractions. This causes a few failures with the regtest. table_test.go contains a few uncommented tests that can be enabled once this is fixed. The easiest is to fix this once we have the new norm.Iter. - Removed a test cases in table_test that covers cases that are now guaranteed to not exist. R=rsc, mpvl CC=golang-dev https://golang.org/cl/6971044
-
Dmitriy Vyukov authored
Currently it silently "succeeds" saying that it run 0 tests if there are compilations errors. With this change it fails and outputs the compilation error. R=golang-dev, remyoudompheng CC=golang-dev https://golang.org/cl/7002058
-
Rémy Oudompheng authored
Fixes #4578. R=dvyukov, golang-dev CC=golang-dev https://golang.org/cl/7005050
-
- 23 Dec, 2012 2 commits
-
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7000045
-
Brad Fitzpatrick authored
NO_PROXY="example.com" should match "foo.example.com", just the same as NO_PROXY=".example.com". This is what curl and Python do. Fixes #4574 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7005049
-
- 22 Dec, 2012 4 commits
-
-
Russ Cox authored
Not programming in Go anymore: have to clear fields in local variables. R=ken2 CC=golang-dev https://golang.org/cl/7002053
-
Russ Cox authored
Fixes #4070. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7004050
-
Russ Cox authored
Before this CL, defining the variable worked fine, but then when the implicit package-level init func was created, that caused a name collision and a confusing error about the redeclaration. Also add a test for issue 3705 (func init() needs body). Fixes #4517. R=ken2 CC=golang-dev https://golang.org/cl/7008045
-
Russ Cox authored
R=remyoudompheng CC=golang-dev https://golang.org/cl/7002052
-