Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
7f1b064f
Commit
7f1b064f
authored
Dec 03, 2010
by
Andrew Gerrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release.2010-12-02
R=r, r2 CC=golang-dev
https://golang.org/cl/3433041
parent
bddc699b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
1 deletion
+61
-1
.hgtags
.hgtags
+0
-1
doc/devel/release.html
doc/devel/release.html
+61
-0
No files found.
.hgtags
View file @
7f1b064f
...
...
@@ -39,4 +39,3 @@ ca4f9687cec0b9c4732afd57b8c2786c7fe242de release.2010-10-13.1
c627e23260c7ddf4a1fcda6ef3197c98fa22551d release.2010-11-02
a7800e20064a39585aa3ee339c2b7454ae1ce6d5 release.2010-11-10
c5287468fcff0f8a7bb9ffaece2a4863e7e5d83e release.2010-11-23
c5287468fcff0f8a7bb9ffaece2a4863e7e5d83e release
doc/devel/release.html
View file @
7f1b064f
...
...
@@ -5,6 +5,67 @@
<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>
<h3
id=
"2010-12-02"
>
2010-12-02
</h3>
<pre>
Several package changes in this release may require you to update your code if
you use the bytes, template, or utf8 packages. In all cases, any outdated code
will fail to compile rather than behave erroneously.
The bytes package has changed. Its Add and AddByte functions have been removed,
as their functionality is provided by the recently-introduced built-in function
“append”. Any code that uses them will need to be changed:
s = bytes.Add(s, b) -> s = append(s, b...)
s = bytes.AddByte(b, c) -> s = append(s, b)
s = bytes.Add(nil, c) -> append([]byte(nil), c)
The template package has changed. Your code will need to be updated if it calls
the HTMLFormatter or StringFormatter functions, or implements its own formatter
functions. The function signature for formatter types has changed to:
func(wr io.Writer, formatter string, data ...interface{})
to allow multiple arguments to the formatter. No templates will need updating.
See the change for examples:
http://code.google.com/p/go/source/detail?r=2c2be793120e
The template change permits the implementation of multi-word variable
instantiation for formatters. Before one could say
{field}
or
{field|formatter}
Now one can also say
{field1 field2 field3}
or
{field1 field2 field3|formatter}
and the fields are passed as successive arguments to the formatter,
by analogy to fmt.Print.
The utf8 package has changed. The order of EncodeRune’s arguments has been
reversed to satisfy the convention of “destination first”.
Any code that uses EncodeRune will need to be updated.
Other changes:
* [68]l: correct dwarf location for globals and ranges for arrays.
* big: fix (*Rat) SetFrac64(a, b) when b
<
0
(
thanks
Eoghan
Sherry
).
*
compress
/
flate:
fix
typo
in
comment
(
thanks
Mathieu
Lonjaret
).
*
crypto
/
elliptic:
use
a
Jacobian
transform
for
better
performance
.
*
doc
/
code
.
html:
fix
reference
to
"
gomake
build
"
(
thanks
Anschel
Schaffer-Cohen
).
*
doc
/
roadmap:
update
gdb
status
.
*
doc
/
spec:
fixed
some
omissions
and
type
errors
.
*
doc:
some
typo
fixes
(
thanks
Peter
Mundy
).
*
exp
/
eval:
build
fix
for
parser
.
ParseFile
API
change
(
thanks
Anschel
Schaffer-Cohen
).
*
fmt:
Scan
accepts
Inf
and
NaN
,
allow
"%
X
"
as
well
as
"%
x
".
*
go
/
printer:
preserve
newlines
in
func
parameter
lists
(
thanks
Jamie
Gennis
).
*
http:
consume
request
body
before
next
request
.
*
log:
ensure
writes
are
atomic
(
thanks
Roger
Peppe
).
*
path:
Windows
support
for
Split
(
thanks
Benny
Siegert
).
*
runtime:
fix
SysFree
to
really
free
memory
on
Windows
(
thanks
Alex
Brainman
),
parallel
definitions
in
Go
for
all
C
structs
.
*
sort:
avoid
overflow
in
pivot
calculation
,
reduced
stack
depth
to
lg
(
n
)
in
quickSort
(
thanks
Stefan
Nilsson
).
*
strconv:
Atof
on
Infs
and
NaNs
.
</
pre
>
<h3
id=
"2010-11-23"
>
2010-11-23
</h3>
<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