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

Issue 162053: A first stab at porting the XCB X11 protocol bindings to go.

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 11 months ago by tor
Modified:
1 year, 11 months ago
Reviewers:
rsc
CC:
rsc, golang-dev
Visibility:
Public.

Description

A first stab at porting the XCB X11 protocol bindings to go. The python script needs a checkout of xcb/proto to generate an xproto.go file, which together with xgb.go provide functions to access all of the core X11 protocol requests. I have included the generated file. Extensions and authentication methods are not implemented.

Patch Set 1 : code review 162053: A first stab at porting the XCB X11 protocol bindings to go. #

Total comments: 73

Patch Set 2 : code review 162053: A first stab at porting the XCB X11 protocol bindings to go. #

Total comments: 7

Patch Set 3 : code review 162053: A first stab at porting the XCB X11 protocol bindings to go. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5352 lines, -0 lines) Patch
M src/pkg/Makefile View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A src/pkg/xgb/Makefile View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A src/pkg/xgb/example.go View 2 1 chunk +67 lines, -0 lines 0 comments Download
A src/pkg/xgb/go_client.py View 1 2 1 chunk +708 lines, -0 lines 0 comments Download
A src/pkg/xgb/xgb.go View 1 2 1 chunk +398 lines, -0 lines 0 comments Download
A src/pkg/xgb/xproto.go View 1 2 1 chunk +4157 lines, -0 lines 0 comments Download

Messages

Total messages: 13
tor
Hello. I spent a few evenings last week cooking up some X11 bindings for go ...
15 years, 11 months ago (2009-11-29 22:43:16 UTC) #1
rsc
Wow! This looks great; thanks for digging into this. Adding Nigel, who was working on ...
15 years, 11 months ago (2009-11-30 02:01:11 UTC) #2
nigeltao
http://codereview.appspot.com/162053/diff/1019/1023 File src/pkg/xgb/xgb.go (right): http://codereview.appspot.com/162053/diff/1019/1023#newcode9 src/pkg/xgb/xgb.go:9: import "fmt" Russ -- is it conventional to have ...
15 years, 11 months ago (2009-11-30 13:02:33 UTC) #3
tor
In parseEvent and friends I return the struct by value, boxed into an interface. I ...
15 years, 11 months ago (2009-11-30 13:48:45 UTC) #4
rsc
couple of replies. please run hg upload 162053 at some point so we can see ...
15 years, 11 months ago (2009-11-30 17:16:21 UTC) #5
tor
Alright, I believe I have addressed most of the comments given and I added my ...
15 years, 11 months ago (2009-11-30 20:46:20 UTC) #6
rsc
looks great. please change the few nits below and then i'll submit it. thanks again ...
15 years, 11 months ago (2009-11-30 20:55:32 UTC) #7
tor
15 years, 11 months ago (2009-11-30 22:03:51 UTC) #8
rsc
LGTM thanks very much. i'm about to submit this. i made one change: removed the ...
15 years, 11 months ago (2009-11-30 22:20:12 UTC) #9
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=791149865a09 *** A first stab at porting the XCB X11 protocol bindings ...
15 years, 11 months ago (2009-11-30 22:25:54 UTC) #10
nigeltao_gnome
2009/12/1 <tor.andersson@gmail.com>: > See my darcs repo for an example program: > > http://ghostscript.com/~tor/repos/xgb/main.go I ...
15 years, 11 months ago (2009-12-01 00:00:22 UTC) #11
rsc
15 years, 11 months ago (2009-12-02 09:07:13 UTC) #12
rsc
15 years, 11 months ago (2009-12-02 09:52:43 UTC) #13
 
Sign in to reply to this message.

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