Граф коммитов

2642 Коммитов

Автор SHA1 Сообщение Дата
Andrew Gerrand 71681bb7b2 [x/blog] go.blog: add "Inside the Go Playground" article
R=r, rsc, dsymonds
https://golang.org/cl/39180043
X-Blog-Commit: c7a7ecad260d219c1b693f8d76238a36ba514d71
2013-12-13 09:27:07 +11:00
ChaiShushan 1b5ac7988d [x/tour] gotour: update Chinese translation link label
"普通话" is a standard Chinese pronunciation, not include Chinese character.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/38310044
X-Tour-Commit: e386ad7d05e604a3433d10e702878f0cbc9a7cbe
2013-12-09 23:15:50 -05:00
Andrew Gerrand 60904f085c [x/blog] go.blog: fix image in stathat article
Fixes golang/go#6904.

R=minux.ma, rsc
CC=golang-dev
https://golang.org/cl/39210043
X-Blog-Commit: d67810e6e4ff1c7bcde714ff7267f9f0006e06eb
2013-12-09 11:58:28 +11:00
Andrew Gerrand b54353188b [x/tour] go-tour: add Type Conversions and Arrays pages
Also:
- small tweaks to the variables and slice examples,
- a link to image/color from the images exercise.

Fixes #168.

R=golang-dev, dominik.honnef, r
CC=golang-dev
https://golang.org/cl/16490043
X-Tour-Commit: 9086c4758e41fa3ac6ba5a1287f5a6ca3e614f1a
2013-12-06 09:13:26 +11:00
Shenghou Ma 9b2668ea7d [x/blog] go.blog/content/cover.article: fix URL
R=adg
CC=golang-dev
https://golang.org/cl/36250043
X-Blog-Commit: 1ba2842eacf74866ffe6f4b11488433d37648ca5
2013-12-03 08:40:20 +11:00
Rob Pike 64bc6d9430 [x/blog] go.blog/cover: new article about test coverage
R=adg
https://golang.org/cl/14566048
X-Blog-Commit: 1601cf2af6ed6496b7fa481b640779cf49a492ca
2013-12-03 07:58:53 +11:00
Shenghou Ma 2926b3e08d [x/blog] go.blogs/content/go12.article: OS thread limit adjustment func is in runtime/debug, not runtime
R=golang-dev, adg
https://golang.org/cl/35750043
X-Blog-Commit: df10efcca47e7360ce74f0ed32282991c8be150f
2013-12-02 10:02:38 +11:00
Andrew Gerrand 60b2114d08 [x/blog] go.blog: make december 1 blog posts cyclicly-referential
R=dsymonds
https://golang.org/cl/34640044
X-Blog-Commit: 005aafa63f16a353e775136f95cea69d07373d1f
2013-12-02 09:50:49 +11:00
Andrew Gerrand 01fa2df035 [x/blog] go.blog: fix links in Go 1.2 release article
R=dsymonds
https://golang.org/cl/35740043
X-Blog-Commit: af8f72b8d398cc3474a96398c58e7ae6a9401625
2013-12-02 08:53:08 +11:00
Andrew Gerrand d9e5685095 [x/blog] go.blog: add Go 1.2 release article
R=r, iant, rsc
https://golang.org/cl/21510045
X-Blog-Commit: d85d4d57b34f0eedee0c0490c6e4c3ff6c3bf91b
2013-12-02 08:44:36 +11:00
Andrew Gerrand 06c068fad0 [x/blog] go.blog: fix link in normalization article
R=golang-dev, iant
https://golang.org/cl/34410044
X-Blog-Commit: 818f76bcd08dc1b8fd8e1bce882dbf42122c835a
2013-11-28 10:31:57 +11:00
Volker Dobler 995c54a8d7 [x/blog] go.blog: format types in program font and break long lines.
R=mpvl, agl, r
CC=golang-dev
https://golang.org/cl/33690044
X-Blog-Commit: 81863c9b8cabe0e27161ccbfca7473a63cb37ed1
2013-11-27 10:28:54 -08:00
Andrew Gerrand c8ad6d5f82 [x/blog] go.blog: fix typo in normalization article table
R=rsc
https://golang.org/cl/33630044
X-Blog-Commit: 7ca216336188ae9a7621a34e270d120ee093fea1
2013-11-27 14:38:04 +11:00
Andrew Gerrand 1ca156c866 [x/blog] go.blog: add "Text normalization in Go" article
R=r, mpvl
CC=golang-dev
https://golang.org/cl/31780044
X-Blog-Commit: c4fbb6d4317f8647d61dbb446e3813cfa104464a
2013-11-27 14:10:09 +11:00
Francesc Campoy b07d7e0d82 [x/tour] go-tour: add Korean translation
R=adg
CC=golang-dev
https://golang.org/cl/32170043
X-Tour-Commit: 458c6d443505731649dbf0ca0ae31af44dbf7100
2013-11-26 10:04:44 +01:00
Andrew Gerrand 8092d91517 [x/blog] go.blog: remove period from strings post title
To be consistent with the other posts.

R=r
CC=golang-dev
https://golang.org/cl/31820043
X-Blog-Commit: bfe6bbe92abf856b1bdcc85f78097eb42e7602cb
2013-11-25 12:04:00 +11:00
Andrew Gerrand 42f3129f03 [x/blog] go.blog/blog: add -reload flag to reload content on each page load
R=r
CC=golang-dev
https://golang.org/cl/30040043
X-Blog-Commit: eef2f2949f872c30802b1daed8d4770bd92a607d
2013-11-21 09:54:10 +11:00
Andrew Gerrand 6e33a0421e [x/blog] go.blog: fix Go Twitter link
R=golang-dev, dave
https://golang.org/cl/30000043
X-Blog-Commit: dbdc6c111ff558d964c7fc7d17eb538aa323809b
2013-11-21 08:36:06 +11:00
Andrew Gerrand 169cfc5938 [x/blog] go.blog: fix typo in "4 years" article
R=dsymonds
https://golang.org/cl/24330043
X-Blog-Commit: cae8a7139a6f4182432f1426d06b746851bbccd0
2013-11-11 11:43:31 +11:00
Andrew Gerrand eb6c8ad47d [x/blog] go.blog: correct Andy's title
He's an engineer, damnit.

R=andybons
https://golang.org/cl/24320043
X-Blog-Commit: af18f05d0e48b685e28a95c853c5d8f9dedaa901
2013-11-11 11:03:47 +11:00
Andrew Gerrand 35c4b50be0 [x/blog] go.blog: add 4-year anniversary post
R=r, iant, rsc
https://golang.org/cl/23460043
X-Blog-Commit: 78b5361bbacb43f82f035203edf11e04fc205849
2013-11-11 09:38:15 +11:00
Brian Gitonga Marete 171fd82e7b [x/blog] blog.go: Set the AtomFieldTitle field in blog.Config.
CL 16830043 removes the hard-coding of the atom feed title and replaces
it with a configuration field in the Config structure in the
go.tools/blog package. This CL sets that structure field.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/16850043
X-Blog-Commit: b13afd14052fa1a689e122a4c588fd9db015e1e7
2013-10-28 10:22:22 +02:00
Andrew Gerrand 6964bfdcca [x/tour] go-tour: add Turkish translation
R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/18300043
X-Tour-Commit: 776b7a2f93eabdf459417043973678f920fc9663
2013-10-28 08:33:00 +02:00
Rob Pike 1089d681ed [x/blog] go.blog/strings: blog post about strings
R=golang-dev, dan.kortschak, iant
CC=golang-dev
https://golang.org/cl/15460049
X-Blog-Commit: e81e54f7e23b828c2b42d5cf277251dda7511be1
2013-10-22 23:05:47 -07:00
Matthew Dempsky 1e3fa09c89 [x/blog] content: Remove outdated comment about "package documentation"
godoc was changed a while back to look for command documentation in
"package main" rather than "package documentation" to be consistent
with library package conventions:
https://code.google.com/p/go/source/detail?r=3633a89bb56d

R=adg
CC=golang-dev
https://golang.org/cl/15450044
X-Blog-Commit: 88eb9799109ea8009377f18e86be137ec64b3ac4
2013-10-22 11:10:10 +04:00
Rob Pike 104c3fa082 [x/blog] go.blog/laws-of-reflection: fix spurious asterisks
Probably a relic of semi-automatic conversion.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/14573045
X-Blog-Commit: 77f8cda9c08f658819c199b485cfb7f542b20adf
2013-10-16 12:42:07 -07:00
Rob Pike 37c44a3ca0 [x/blog] go.blog/content/slices: rewrite an ambiguous sentence
Someone was confused by the sentence introducing the relationship
between slice headers and the arrays they describe. Rewrite to eliminate
the ambiguity.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/14680043
X-Blog-Commit: a28f38c30686b995e8853dedb5e295c43c2c2d3d
2013-10-14 14:19:36 -07:00
Rob Pike 182fadeec0 [x/blog] go.blog/slices: make slice-header-modifying example actually modify it
Fixes golang/go#6570.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/14614043
X-Blog-Commit: 190a69e0573a68c27a4cbda968fadf4eec3c1d60
2013-10-11 16:39:05 -07:00
Andrew Gerrand 521e39f223 [x/tour] go-tour: use scripts from go.tools/godoc/static package
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/14185043
X-Tour-Commit: b759eecbcd2bc1f0917454a56abbde0c0e9acfbd
2013-10-01 12:31:27 +10:00
Rob Pike 1ee6a4863d [x/blog] g.blog/slices: trivial fix to PtrSubtractOneFromLength example
There should be a := not an = in the body of the function.
Another broken example working by accident.

R=adg
CC=golang-dev
https://golang.org/cl/14059044
X-Blog-Commit: 4f303a1af2796bdcdf14fea5d4974f6c3b26c407
2013-09-28 06:51:08 +10:00
Rob Pike 17bd7046c4 [x/blog] go.blog/slices: fix bug in Append
The code didn't work but the blog runs the previous simple version, which does,
so when you hit Run it looks like it's working.
It only had two bugs (so far).

Thanks to shelah.kell@gmail.com for noticing.

R=adg
CC=golang-dev
https://golang.org/cl/14036043
X-Blog-Commit: d4c23261dc940eb2cb841a1a84832174e6bac0c4
2013-09-27 22:12:31 +10:00
Rob Pike 35f822c532 [x/blog] go.blog/slices: fix mistake in length of slice2.
R=adg
CC=golang-dev
https://golang.org/cl/14013045
X-Blog-Commit: 357626c292524e07a7994137d63324f2e193becf
2013-09-27 16:31:30 +10:00
Andrew Gerrand 6254939e2a [x/blog] go.blog: set correct date on slices article
R=r
https://golang.org/cl/14007045
X-Blog-Commit: 0058d30a98501e7772614a4525f889d4d3ec58a3
2013-09-27 12:04:41 +10:00
Rob Pike ee8dfb797b [x/blog] go.blog/slices: first draft of slices blog post
It's an exposition of append.
Still pretty rough but the programs run.

Fixes golang/go#4055.

R=golang-dev, adg, dan.kortschak, 0xjnml, mirtchovski, bradfitz
CC=golang-dev
https://golang.org/cl/13899043
X-Blog-Commit: 7175b3b62a7900cd56284ae04af85a0a076bec3c
2013-09-27 11:36:35 +10:00
Andrew Gerrand fe5b914278 [x/blog] go.blog/cmd/html2article: remove tool
It has been moved to code.google.com/p/go.tools/cmd/html2article.

R=golang-dev, minux.ma
https://golang.org/cl/14010043
X-Blog-Commit: 814dd9b6733bc217e01ba8de53e19efbd395d578
2013-09-27 11:22:29 +10:00
Andrew Gerrand 13aa4c4f82 [x/blog] go.blog/template: only show line numbers when specified
R=golang-dev, r
https://golang.org/cl/13947043
X-Blog-Commit: 78ea2d7bc77f5b9e8e9fe4f61f431e6941db32cd
2013-09-27 09:58:06 +10:00
Andrew Gerrand c1a8d59285 [x/blog] go.blog: resize images to fit inside new design
600 pixels is the new max width.

R=r
CC=golang-dev
https://golang.org/cl/13872044
X-Blog-Commit: c026ab656e38a85739e3599cbbeaca188a05cd54
2013-09-25 10:58:42 +10:00
Andrew Gerrand cc8ce8cb92 [x/blog] go.blog: add heading, fix menu link, tweak styles
R=r
CC=golang-dev
https://golang.org/cl/13458046
X-Blog-Commit: e0d1e2fc72f2407d54a88bbb037f76b0bedd83bb
2013-09-19 15:20:22 +10:00
Andrew Gerrand 8ad4222c4b [x/blog] go.blog: move cmd/blog to repo root
To be consistent with go.talks/present and go-tour/gotour.

R=r
CC=golang-dev
https://golang.org/cl/13751044
X-Blog-Commit: 271841ab79d5163e1520e5b8eee5cf170bfe4aab
2013-09-19 11:11:31 +10:00
Andrew Gerrand 6429b44b81 [x/blog] go.blog/pkg/atom: remove package
It has been moved code.google.com/p/go.tools/godoc/blog/atom.

R=golang-dev, dsymonds
https://golang.org/cl/13760043
X-Blog-Commit: 2f455468b9de0f58fa8098177b1806589b537c4b
2013-09-19 11:00:11 +10:00
Andrew Gerrand 4b532213cb [x/blog] go.blog/cmd/blog: update blog package import
R=golang-dev, r
https://golang.org/cl/13769043
X-Blog-Commit: 1b47fc1b7d9ca8e0fcd202fe5f5245a7812e07c4
2013-09-19 10:59:48 +10:00
Andrew Gerrand e0b8f53fb4 [x/tour] go-tour: update playground/socket/present import paths
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13311044
X-Tour-Commit: 9e3081c3851f12db4a2f2a106de9ad27804fc7cc
2013-09-19 10:59:04 +10:00
Andrew Gerrand be2b2a9065 [x/blog] go.blog: update import paths
Accidentally missed these files in the previous CL.

R=dsymonds
CC=golang-dev
https://golang.org/cl/13457055
X-Blog-Commit: 3f1d67c2456dab686e4e83873ed145ffb81fc6a7
2013-09-18 15:18:37 +10:00
Andrew Gerrand a595e72bc0 [x/blog] go.blog: simpler nobuild_files rule
R=golang-dev, dsymonds
https://golang.org/cl/13662045
X-Blog-Commit: 8e64d516f92c26527f85937a9c0d4b653b33c4f0
2013-09-18 15:17:09 +10:00
Andrew Gerrand ae8dc04163 [x/blog] go.blog: use godoc design, use blog package from go.tools
Also delete go.blog/pkg/blog and unused static files.

R=golang-dev, dsymonds
https://golang.org/cl/13754043
X-Blog-Commit: a7251a3023bb3d78672ef1620be8de4151b3b41b
2013-09-18 15:16:48 +10:00
Andrew Gerrand 4d4e41fa2d [x/blog] go.blog: move blog-specific JavaScript into root template
Also update playground JavaScripts to the latest version.

This will make it easier for us to switch to godoc's static assets down
the line.

R=r, dsymonds
CC=golang-dev
https://golang.org/cl/13412049
X-Blog-Commit: 7b08321066f219dca44c9447fd63d32cf05ff733
2013-09-17 17:14:57 +10:00
Andrew Gerrand 8c05c59e45 [x/blog] go.blog: split blog server into a package and a command
Also add a "BasePath" configuration option, so that the blog
may be served under "/blog", for instance.

This is preparation to include the blog server in the binary
distributions of godoc.

R=r, dsymonds
CC=golang-dev
https://golang.org/cl/13737043
X-Blog-Commit: 18e34e7ae7fa717b074f7fad0fed540222faf43c
2013-09-17 15:57:13 +10:00
Rob Pike a58b7350b3 [x/tour] go-tour: don't use a pointer to a map in web crawl exercise
It's unnecessary and misleading.
Fixes #6322.

R=adg, dsymonds
CC=golang-dev
https://golang.org/cl/13361050
X-Tour-Commit: 6e0eacd0170251a353129adf30b63f9070707e5d
2013-09-13 16:51:35 +10:00
Andrew Gerrand c71031ce38 [x/tour] go-tour: show lines highlighted with present's "// HLfoo" feature
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13253051
X-Tour-Commit: a77b609bb84a8d86ff1de4b02736e1013a336360
2013-09-13 12:57:50 +10:00
Rob Pike 64593671cd [x/tour] go-tour: explain how to navigate
The extant instructions mention the Next button, which doesn't exist,
but not the table of contents menu, which does.

R=adg
CC=golang-dev
https://golang.org/cl/13673043
X-Tour-Commit: cbe3d607b688dde610f7147be2e4c129db70e763
2013-09-12 11:10:02 +10:00