Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8734)

Issue 7312072: code review 7312072: go.talks/pkg/present: replace direct file system access...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by gburd
Modified:
10 years, 9 months ago
Reviewers:
adg
CC:
adg, golang-dev
Visibility:
Public.

Description

go.talks/pkg/present: replace direct file system access with access through a ParserContext.

Patch Set 1 #

Patch Set 2 : diff -r 2e320f363bb2 https://code.google.com/p/go.talks #

Patch Set 3 : diff -r 2e320f363bb2 https://code.google.com/p/go.talks #

Total comments: 4

Patch Set 4 : diff -r 2e320f363bb2 https://code.google.com/p/go.talks #

Total comments: 3

Patch Set 5 : diff -r 2e320f363bb2 https://code.google.com/p/go.talks #

Total comments: 2

Patch Set 6 : diff -r 2e320f363bb2 https://code.google.com/p/go.talks #

Patch Set 7 : diff -r 2e320f363bb2 https://code.google.com/p/go.talks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -21 lines) Patch
M pkg/present/code.go View 1 2 3 5 chunks +6 lines, -7 lines 0 comments Download
M pkg/present/html.go View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/present/iframe.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/present/image.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/present/link.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/present/parse.go View 1 2 3 4 5 8 chunks +21 lines, -8 lines 0 comments Download

Messages

Total messages: 14
gburd
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.talks
11 years, 2 months ago (2013-02-10 22:45:30 UTC) #1
adg
https://codereview.appspot.com/7312072/diff/5001/pkg/present/parse.go File pkg/present/parse.go (right): https://codereview.appspot.com/7312072/diff/5001/pkg/present/parse.go#newcode216 pkg/present/parse.go:216: type ParseContext struct { I would prefer the name ...
11 years, 2 months ago (2013-02-11 00:51:41 UTC) #2
gburd
I chose the name ParseContext because I think a rendering context is also needed. I ...
11 years, 2 months ago (2013-02-11 01:59:20 UTC) #3
adg
On 11 February 2013 12:59, <gary.burd@gmail.com> wrote: > I chose the name ParseContext because I ...
11 years, 2 months ago (2013-02-11 02:00:48 UTC) #4
gburd
Hello adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 2 months ago (2013-02-11 20:28:42 UTC) #5
adg
https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go File pkg/present/parse.go (right): https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go#newcode254 pkg/present/parse.go:254: func Parse(r io.Reader, name string, mode ParseMode) (*Doc, error) ...
11 years, 2 months ago (2013-02-12 04:01:22 UTC) #6
gburd
Hello adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 2 months ago (2013-02-12 16:34:36 UTC) #7
adg
https://codereview.appspot.com/7312072/diff/7008/pkg/present/parse.go File pkg/present/parse.go (right): https://codereview.appspot.com/7312072/diff/7008/pkg/present/parse.go#newcode254 pkg/present/parse.go:254: // DefaultContext is the Context used by Parse. These ...
11 years, 2 months ago (2013-02-12 21:32:48 UTC) #8
gburd
https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go File pkg/present/parse.go (right): https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go#newcode255 pkg/present/parse.go:255: ctx := Context{ReadFile: ioutil.ReadFile} On 2013/02/12 04:01:22, adg wrote: ...
11 years, 2 months ago (2013-02-12 22:59:03 UTC) #9
adg
On 2013/02/12 22:59:03, gburd wrote: > https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go > File pkg/present/parse.go (right): > > https://codereview.appspot.com/7312072/diff/5009/pkg/present/parse.go#newcode255 > ...
11 years, 2 months ago (2013-02-12 23:46:03 UTC) #10
gburd
Hello adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 2 months ago (2013-02-13 02:53:31 UTC) #11
adg
LGTM
11 years, 2 months ago (2013-02-13 03:44:24 UTC) #12
adg
*** Submitted as https://code.google.com/p/go/source/detail?r=2202e5a97fc5&repo=talks *** go.talks/pkg/present: access files through new Context type R=adg CC=golang-dev https://codereview.appspot.com/7312072 ...
11 years, 2 months ago (2013-02-13 03:45:48 UTC) #13
remyoudompheng
10 years, 9 months ago (2013-07-20 20:02:00 UTC) #14
R=close
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b