Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
c2f3737c
Commit
c2f3737c
authored
Mar 31, 2010
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 2010-03-30
R=rsc, gri CC=golang-dev
https://golang.org/cl/821045
parent
e8e4987b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
1 deletion
+62
-1
.hgtags
.hgtags
+0
-1
release.html
doc/devel/release.html
+62
-0
No files found.
.hgtags
View file @
c2f3737c
...
@@ -15,4 +15,3 @@ db4262ce882d8445764312d41547ee8f11a7f7a9 release.2010-02-04
...
@@ -15,4 +15,3 @@ db4262ce882d8445764312d41547ee8f11a7f7a9 release.2010-02-04
a215d03e7ee1013b2abe3f1e2c84457ec51c68e4 release.2010-03-04
a215d03e7ee1013b2abe3f1e2c84457ec51c68e4 release.2010-03-04
194d473264c1a015803d07bed200e0c312aca43e release.2010-03-15
194d473264c1a015803d07bed200e0c312aca43e release.2010-03-15
9482fde11a02ffd57ba0561dc8a4ac338061a3ae release.2010-03-22
9482fde11a02ffd57ba0561dc8a4ac338061a3ae release.2010-03-22
9482fde11a02ffd57ba0561dc8a4ac338061a3ae release
doc/devel/release.html
View file @
c2f3737c
...
@@ -5,6 +5,68 @@
...
@@ -5,6 +5,68 @@
<p>
This page summarizes the changes between tagged releases of Go.
<p>
This page summarizes the changes between tagged releases of Go.
For full details, see the
<a
href=
"http://code.google.com/p/go/source/list"
>
Mercurial change log
</a>
.
</p>
For full details, see the
<a
href=
"http://code.google.com/p/go/source/list"
>
Mercurial change log
</a>
.
</p>
<h3
id=
"2010-03-30"
>
2010-03-30
</h3>
<pre>
This release contains three language changes:
1. Accessing a non-existent key in a map is no longer a run-time error.
It now evaluates to the zero value for that type. For example:
x := myMap[i] is now equivalent to: x, _ := myMap[i]
2. It is now legal to take the address of a function's return value.
The return values are copied back to the caller only after deferred
functions have run.
3. The functions panic and recover, intended for reporting and recovering from
failure, have been added to the spec:
http://golang.org/doc/go_spec.html#Handling_panics
In a related change, panicln is gone, and panic is now a single-argument
function. Panic and recover are recognized by the gc compilers but the new
behavior is not yet implemented.
The ARM build is broken in this release; ARM users should stay at release.2010-03-22.
Other changes:
* bytes, strings: add IndexAny.
* cc/ld: Add support for #pragma dynexport,
Rename dynld to dynimport throughout. Cgo users will need to rerun cgo.
* expvar: default publishings for cmdline, memstats
* flag: add user-defined flag types.
* gc: usual bug fixes
* go/ast: generalized ast filtering.
* go/printer: avoid reflect in print.
* godefs: fix handling of negative constants.
* godoc: export pprof debug information, exported variables,
support for filtering of command-line output in -src mode,
use http GET for remote search instead of rpc.
* gofmt: don't convert multi-line functions into one-liners,
preserve newlines in multiline selector expressions (thanks Risto Jaakko Saarelma).
* goinstall: include command name in error reporting (thanks Andrey Mirtchovski)
* http: add HandleFunc as shortcut to Handle(path, HandlerFunc(func))
* make: use actual dependency for install
* math: add J1, Y1, Jn, Yn, J0, Y0 (Bessel functions) (thanks Charles L. Dorian)
* prof: add pprof from google-perftools
* regexp: don't return non-nil *Regexp if there is an error.
* runtime: add Callers,
add malloc sampling, pprof interface,
add memory profiling, more statistics to runtime.MemStats,
implement missing destroylock() (thanks Alex Brainman),
more malloc statistics,
run all finalizers in a single goroutine,
Goexit runs deferred calls.
* strconv: add Atob and Btoa,
Unquote could wrongly return a nil error on error (thanks Roger Peppe).
* syscall: add IPV6 constants,
add syscall_bsd.go for Darwin and other *BSDs (thanks Giles Lean),
implement SetsockoptString (thanks Christopher Wedgwood).
* websocket: implement new protocol (thanks Fumitoshi Ukai).
* xgb: fix request length and request size (thanks Firmansyah Adiputra).
* xml: add CopyToken (thanks Kyle Consalus),
add line numbers to syntax errors (thanks Kyle Consalus),
use io.ReadByter in place of local readByter (thanks Raif S. Naffah).
</pre>
<h3
id=
"2010-03-22"
>
2010-03-22
</h3>
<h3
id=
"2010-03-22"
>
2010-03-22
</h3>
<pre>
<pre>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment