aboutsummaryrefslogtreecommitdiff
path: root/api
AgeCommit message (Collapse)Author
2016-06-02api: promote next.txt to go1.7.txt and update api toolgo1.7beta1Andrew Gerrand
Change-Id: Idb348be00f949da553aa6aab62836f59dfee298d Reviewed-on: https://go-review.googlesource.com/23671 Reviewed-by: Chris Broadfoot <cbro@golang.org> Run-TryBot: Andrew Gerrand <adg@golang.org>
2016-06-02api: remove os.File.Size and http.Transport.DialerAndrew Gerrand
This method and field were added and then later removed during the 1.7 development cycle. Change-Id: I0482a6356b91d2be67880b44ef5d8a1daab49ec8 Reviewed-on: https://go-review.googlesource.com/23670 Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-06-01api: update next.txtAndrew Gerrand
Change-Id: I04da6a56382d3bd96e3c849a022618553039b2db Reviewed-on: https://go-review.googlesource.com/23651 Reviewed-by: Chris Broadfoot <cbro@golang.org>
2016-05-24io: remove SizedReaderAtRuss Cox
It's not clear we want to enshrine an io interface in which Size cannot return an error. Because this requires more thought before committing to the API, remove from Go 1.7. Fixes #15818. Change-Id: Ic4138ffb0e033030145a12d33f78078350a8381f Reviewed-on: https://go-review.googlesource.com/23392 Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Russ Cox <rsc@golang.org>
2016-05-24api: update next.txtRuss Cox
Change-Id: I7b38309d927409a92f68f5d26f491b0166eba838 Reviewed-on: https://go-review.googlesource.com/23378 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Russ Cox <rsc@golang.org>
2016-05-04cmd/api: remove debug/pe replated changes from next.txtAlex Brainman
See CL 22720 for details. Updates #15345 Change-Id: If93ddbb8137d57da9846b671160b4cebe1992570 Reviewed-on: https://go-review.googlesource.com/22752 Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-04-22api: update next.txtBrad Fitzpatrick
Change-Id: I12d5e5d0e74b354f26898bab4ea30eb27ac45cd7 Reviewed-on: https://go-review.googlesource.com/22387 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-21api: update next.txtBrad Fitzpatrick
Change-Id: I0ea74dc1b11fad8ded9e649a3c1e4213ea6639b8 Reviewed-on: https://go-review.googlesource.com/20974 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-01-13go/types: rename Importer2 to ImporterFromgo1.6beta2Brad Fitzpatrick
Per https://groups.google.com/forum/#!topic/golang-dev/javNmryAh0I Change-Id: I08d7cbc94da4fc61c848f3dbee4637bf8fcfeb01 Reviewed-on: https://go-review.googlesource.com/18630 Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Chris Broadfoot <cbro@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
2016-01-08api: more go1.6 API additionsBrad Fitzpatrick
Change-Id: Ib838d2b98e3f84ffd240849817cafc69415ba74e Reviewed-on: https://go-review.googlesource.com/18376 Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-01-08api: fix build for go/build changeRuss Cox
Fixes build. Change-Id: I5235deed7b93157854acb79c15e2e99cc28d300a Reviewed-on: https://go-review.googlesource.com/18456 Reviewed-by: Russ Cox <rsc@golang.org>
2015-12-29api/go1.6.txt: add debug.SetTraceback, build.Package.InvalidGoFilesRuss Cox
Change-Id: Ib00e866e29681631f6fa3a14e7d81c25fc3c8500 Reviewed-on: https://go-review.googlesource.com/18052 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-12-19api: fix typo in READMEShenghou Ma
Fixes #13690. Change-Id: I3b9b993a2e7ecf07bab7d1935d4c83a86bc6ba3a Reviewed-on: https://go-review.googlesource.com/18054 Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2015-12-18debug/elf: rename Chdr64.Reserved to _Austin Clements
This future-proofs the Chdr64 structure against later versions of ELF defining this field and declutters the documentation without changing the layout of the struct. This structure does not exist in the current release, so this change is safe. Change-Id: I239aad7243ddaf063a1f8cd521d8a50b30413281 Reviewed-on: https://go-review.googlesource.com/18028 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2015-12-17api: create go1.6.txtgo1.6beta1Brad Fitzpatrick
Change-Id: If2b30ab412d6799c8be01eb007462d6b58660ece Reviewed-on: https://go-review.googlesource.com/18014 Reviewed-by: Chris Broadfoot <cbro@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-12-14go/constant: switch to floating-point representation when fractions become ↵Robert Griesemer
too large Use two internal representations for Float values (similar to what is done for Int values). Transparently switch to a big.Float representation when big.Rat values become unwieldy. This is almost never needed for real-world programs but it is trivial to create test cases that cannot be handled with rational arithmetic alone. As a consequence, the go/constant API semantics changes slightly: Until now, a value could always be represented in its "smallest" form (e.g., float values that happened to be integers would be represented as integers). Now, constant Kind depends on how the value was created, rather than its actual value. (The reason why we cannot automatically "normalize" values to their smallest form anymore is because floating-point numbers are not exact in general; and thus normalization is often not possible in the first place, or would throw away precision when it is not desired.) This has repercussions as to how constant Values are used go/types and required corresponding adjustments. Details of the changes: go/constant package: - use big.Rat and big.Float values to represent floating-point values (internal change) - changed semantic of Value.Kind accordingly - String now returns a short, human-readable form of a value (this leads to better error messages in go/types) - added ToInt, ToFloat, and ToComplex conversion functions - added ExactString to obtain an exact string form of a value go/types: - adjusted and simplified implementation of representableConst - adjusted various places where Value.Kind was expected to be "smallest" by calling the respective ToInt/Float/Complex conversion functions - enabled 5 disabled tests in stdlib_test.go that now work api checker: - print all constant values in a short human-readable form (floats are printed in floating-point form), but also print an exact form if it is different from the short form - adjusted test golden file and go.1.1.text reference file Fixes #11327. Change-Id: I492b704aae5b0238e5b7cee13e18ffce61193587 Reviewed-on: https://go-review.googlesource.com/17360 Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-11-13api: update next.txtShenghou Ma
Change-Id: I4903014f2883d3f52a75a3500dc9e01a5cad8611 Reviewed-on: https://go-review.googlesource.com/16904 Run-TryBot: Minux Ma <minux@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-10-12api: update next.txtBrad Fitzpatrick
Change-Id: I536d55f784bb042a2dee94b2878aff42bc182eed Reviewed-on: https://go-review.googlesource.com/15734 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2015-07-30api: update go1.5.txtBrad Fitzpatrick
Fixes #11935 Change-Id: Ife00c246345f7d3f96aa95349a35e76671ca7160 Reviewed-on: https://go-review.googlesource.com/12769 Reviewed-by: Dave Cheney <dave@cheney.net> Reviewed-by: Russ Cox <rsc@golang.org>
2015-07-22runtime/trace: add new packageDmitry Vyukov
Move tracing functions from runtime/pprof to the new runtime/trace package. Fixes #9710 Change-Id: I718bcb2ae3e5959d9f72cab5e6708289e5c8ebd5 Reviewed-on: https://go-review.googlesource.com/12511 Reviewed-by: Russ Cox <rsc@golang.org>
2015-07-21go/types: make types.Typ a slice, unexport UniverseByte/RuneRobert Griesemer
In lieu of the more invasive https://go-review.googlesource.com/#/c/12373/ . Change-Id: I0221783fcaa8af04520c80cd2993d7d542d2c431 Reviewed-on: https://go-review.googlesource.com/12486 Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-07-21api: add go1.5.txt API file, reset next.txtBrad Fitzpatrick
Fixes #11752 Change-Id: If4196b4bbba4f1485608bfafa98fa54781177273 Reviewed-on: https://go-review.googlesource.com/12325 Reviewed-by: Andrew Gerrand <adg@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
2015-06-26unicode: upgrade to 8.0.0Marcel van Lohuizen
Not sure if I'm on time for 1.5; Unicode 8 just got released. Straighforward upgrade. Only changed maketables.go to prevent it from adding the Cherokee upper and lower case mappings. This change causes the caseOrbit table to NOT change. Added tests to verify that the relevant functions still produce the correct result, even for Cherokee. Fixes #11309 Change-Id: I42850f5b3399bde125b002efc78eff96dbd86a08 Reviewed-on: https://go-review.googlesource.com/11286 Reviewed-by: Russ Cox <rsc@golang.org>
2015-05-14api: refresh next.txtRuss Cox
Change-Id: I5e902bb3a3a51620b21840783087ed3cc410dbc5 Reviewed-on: https://go-review.googlesource.com/10048 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-05-06runtime: remove unused GC times from api.nextRick Hudson
Updates api boilerplate in seperate CL see commit 1845314 for code changes. Fixes #10462 Change-Id: I4e28dbdcdd693688835bcd1d4b0224454aa7154d Reviewed-on: https://go-review.googlesource.com/9784 Reviewed-by: Austin Clements <austin@google.com>
2015-04-11api: update next.txtShenghou Ma
Change-Id: Ibfb5a96995a954c8c1dc563c33bdddbdb4866425 Reviewed-on: https://go-review.googlesource.com/8765 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-03-03api: update next.txtMikio Hara
This change removes wrongly added API entries for OpenBSD from the candidate list. Change-Id: Ibadfb9003ced6d3338794e4f3072054e65211e4a Reviewed-on: https://go-review.googlesource.com/6550 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-12runtime: add GODEBUG=gccheckmark=0/1Austin Clements
Previously, gccheckmark could only be enabled or disabled by calling runtime.GCcheckmarkenable/GCcheckmarkdisable. This was a necessary hack because GODEBUG was broken. Now that GODEBUG works again, move control over gccheckmark to a GODEBUG variable and remove these runtime functions. Currently, gccheckmark is enabled by default (and will probably remain so for much of the 1.5 development cycle). Change-Id: I2bc6f30c21b795264edf7dbb6bd7354b050673ab Reviewed-on: https://go-review.googlesource.com/2603 Reviewed-by: Rick Hudson <rlh@golang.org>
2014-12-18api: update next.txtShenghou Ma
Change-Id: I9eac8b23eb9e6b6940069811177365b4772c2fb1 Reviewed-on: https://go-review.googlesource.com/1513 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2014-12-12[release-branch.go1.4] api: create go1.4.txtRuss Cox
I read through and vetted these but others should look too. LGTM=bradfitz, adg R=r, minux, bradfitz, adg CC=adg, golang-codereviews, gri, iant https://golang.org/cl/182560043
2014-08-18unicode: strconv: regexp: Upgrade to Unicode 7.0.0.Marcel van Lohuizen
LGTM=r, bradfitz R=r, bradfitz CC=golang-codereviews https://golang.org/cl/127470043
2014-07-30undo CL 102610045 / 7244ce3ae9dbMikio Hara
preparing for the syscall package freeze. ««« original CL description syscall: regenerate z-files for darwin Updates z-files from 10.7 kernel-based to 10.9 kernel-based. LGTM=iant R=golang-codereviews, bradfitz, iant CC=golang-codereviews https://golang.org/cl/102610045 »»» LGTM=r R=r CC=golang-codereviews https://golang.org/cl/114530044
2014-06-24syscall: regenerate z-files for darwinMikio Hara
Updates z-files from 10.7 kernel-based to 10.9 kernel-based. LGTM=iant R=golang-codereviews, bradfitz, iant CC=golang-codereviews https://golang.org/cl/102610045
2014-06-02api: add go1.3.txtBrad Fitzpatrick
Update #8112 LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/104790045
2014-05-28regexp: hide one-pass code from exported APIRuss Cox
Update #8112 Hide one-pass regexp API. This means moving the code from regexp/syntax to regexp, but it avoids being locked into the specific API chosen for the implementation. It also removes a slice field from the syntax.Inst, which should avoid bloating the memory footprint of a non-one-pass regexp unnecessarily. LGTM=r R=golang-codereviews, r CC=golang-codereviews, iant https://golang.org/cl/98610046
2014-05-27api: update next.txtBrad Fitzpatrick
LGTM=rsc R=golang-codereviews, rsc CC=adg, golang-codereviews https://golang.org/cl/99530044
2014-05-15api: update next.txtShenghou Ma
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/95490043
2014-05-16api: update openbsd exceptionsMikio Hara
This CL restores dropped constants not supported in OpenBSD 5.5 and tris to keep the promise of API compatibility. Update #7049 LGTM=jsing, bradfitz R=rsc, jsing, bradfitz CC=golang-codereviews https://golang.org/cl/94950043
2014-04-01api: update next.txtShenghou Ma
LGTM=bradfitz R=golang-codereviews, gobot, bradfitz CC=golang-codereviews https://golang.org/cl/81890044
2014-03-06api: update next.txtShenghou Ma
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/71950043
2014-03-06api: add NetBSD/ARM EABI exceptions.Shenghou Ma
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/71940043
2014-03-04api: add FreeBSD 10 exceptionsMikio Hara
Update #7193 LGTM=minux.ma R=golang-codereviews, rsc, minux.ma, iant CC=golang-codereviews https://golang.org/cl/57210043
2014-02-19api: update next.txtRuss Cox
LGTM=bradfitz R=bradfitz CC=golang-codereviews https://golang.org/cl/66160043
2014-02-18api: whitelist change to unicode.VersionBrad Fitzpatrick
Unbreaks the build. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/65650043
2014-02-11api: update next.txtShenghou Ma
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/54830045
2014-01-22api: update next.txtBrad Fitzpatrick
Linux Flock_t, Unix FcntlFlock, and various BSD Termios. R=golang-codereviews, dsymonds CC=golang-codereviews https://golang.org/cl/55460043
2014-01-22api: add Fchflags exception to more platformsBrad Fitzpatrick
Unbreaks the build. R=golang-codereviews, dsymonds CC=golang-codereviews https://golang.org/cl/53820045
2014-01-14api: update next.txtBrad Fitzpatrick
Now with more syscall! R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/52150043
2014-01-11api: update except.txt and next.txt to reflect openbsd system ABI breakJoel Sing
Update #7049 R=golang-codereviews, minux.ma, mikioh.mikioh CC=golang-codereviews https://golang.org/cl/49470052
2014-01-09api: update next.txtBrad Fitzpatrick
R=golang-codereviews, minux.ma CC=golang-codereviews https://golang.org/cl/50190043