Re: [rfbproto] [PATCH] ExtendedDesktopSize extension

2009-06-01 Thread Pierre Ossman
On Fri, 29 May 2009 17:35:30 +0200
Peter Rosin  wrote:

> 
> And it's of course a hell of a mess for no real gain. Loads
> easier to just have the server issue the requested pseudo-rect
> in its first update, regardless of how the request looks.
> 
> What was I thinking?
> 

Apparently the same as the rest of us as nobody else noticed it
either. ;)

Rgds
-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com


signature.asc
Description: PGP signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Describe the xvp extension

2009-06-01 Thread Pierre Ossman
On Fri, 29 May 2009 21:41:22 +0100
Colin Dean  wrote:

> 
> I suggest just stick with "xvp", which is what it's been called up to
> now.  After all, it could be applied to systems other than virtual
> machines, so having a name with "virtual machine" in it is unnecessarily
> restrictive.
> 

A very good point. So something along the lines of "Power Control
Pseudo-encoding" then. :)

I won't veto this addition based on the name, but I strongly believe
that we should make every effort to produce general extensions so that
we don't end up with multiple almost identical ones.

> +xvp Server Message
> +--
> +
> +This has the following format:
> +
> +===  == ===
> +No. of bytesType [Value]Description
> +===  == ===
> +1   ``U8``   250*message-type*
> +1   *padding*
> +1   ``U8``   1  *xvp-extension-version*
> +1   ``U8``  *xvp-message-code*
> +===  == ===

How should the client react if it sees a higher version number?

> +See http://www.dur.ac.uk/c.c.dean/xvp/ for details of the reference
> +implementation, which allows shutdown, reboot and reset of virtual
> +machines running on Citrix XenServer. 

Does this page add anything to the protocol definition? We don't have
official reference implementations for anything else, so I'm sceptical
about adding one here.

Rgds
-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com


signature.asc
Description: PGP signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Clarify DesktopSize behaviour (v2)

2009-06-01 Thread Pierre Ossman
On Fri, 29 May 2009 17:30:40 +0200
Peter Rosin  wrote:

> 
> Ok by me, if you also remove the two trailing spaces you
> added after the first paragraph under the DesktopSize
> Pseudo-encoding (line 2116) :-)

I shall be sporting a fancy new brown paper bag for the remainder of
the week.

> 
> If you want whitespace nits in a special commit there is
> also an extra line at the end of the document that may (or
> should, depending on your mood) be removed...
> 

Consider it gone.

Rgds
-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com


signature.asc
Description: PGP signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


[rfbproto] [PATCH] Add Makefile

2009-06-01 Thread Pierre Ossman
Targets for generating a PDF and a HTML page.

Signed-off-by: Pierre Ossman 
---

Index: Makefile
===
--- Makefile(revision 0)
+++ Makefile(revision 0)
@@ -0,0 +1,14 @@
+all: rfbproto.pdf rfbproto.html
+
+.SUFFIXES : .rst .pdf .html
+
+.rst.pdf:
+   mkdir -p tmp
+   rst2newlatex "$<" tmp/tmp.tex
+   (cd tmp; pdflatex tmp.tex)
+   # We need to run it twice for links and TOC to work
+   (cd tmp; pdflatex tmp.tex)
+   mv tmp/tmp.pdf "$@"
+
+.rst.html:
+   rst2html "$<" "$@"


-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com


signature.asc
Description: PGP signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Describe the xvp extension

2009-06-01 Thread Peter Rosin
Den 2009-06-01 11:37 skrev Pierre Ossman:
> On Fri, 29 May 2009 21:41:22 +0100
> Colin Dean  wrote:
> 
>> I suggest just stick with "xvp", which is what it's been called up to
>> now.  After all, it could be applied to systems other than virtual
>> machines, so having a name with "virtual machine" in it is unnecessarily
>> restrictive.
>>
> 
> A very good point. So something along the lines of "Power Control
> Pseudo-encoding" then. :)
> 
> I won't veto this addition based on the name, but I strongly believe
> that we should make every effort to produce general extensions so that
> we don't end up with multiple almost identical ones.

I think the point Colin is trying to make is that he wants to stick
to xvp as that name has already been exposed, google has indexed it
etc etc. Changing the name this late will only cause confusion.

So, instead of trying to find some (poor) expansion of xvp, we just
leave it at xvp and describe what you can do with it (and maybe
include a note about where the name originated for the curious, but
in that case state that the uses are more general than the original
name implies).

Cheers,
Peter

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Add Makefile

2009-06-01 Thread Peter Rosin
Den 2009-06-01 12:55 skrev Pierre Ossman:
> Targets for generating a PDF and a HTML page.
> 
> Signed-off-by: Pierre Ossman 
> ---
> 
> Index: Makefile
> ===
> --- Makefile  (revision 0)
> +++ Makefile  (revision 0)
> @@ -0,0 +1,14 @@
> +all: rfbproto.pdf rfbproto.html
> +
> +.SUFFIXES : .rst .pdf .html
> +
> +.rst.pdf:
> + mkdir -p tmp
> + rst2newlatex "$<" tmp/tmp.tex
> + (cd tmp; pdflatex tmp.tex)
> + # We need to run it twice for links and TOC to work
> + (cd tmp; pdflatex tmp.tex)
> + mv tmp/tmp.pdf "$@"
> +
> +.rst.html:
> + rst2html "$<" "$@"

Those are spelled rst2newlatex.py and rst2html.py on my system.
What are their canonical names?

Cheers,
Peter

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Describe the xvp extension

2009-06-01 Thread Daniel P. Berrange
On Mon, Jun 01, 2009 at 01:09:44PM +0200, Peter Rosin wrote:
> Den 2009-06-01 11:37 skrev Pierre Ossman:
> > On Fri, 29 May 2009 21:41:22 +0100
> > Colin Dean  wrote:
> > 
> >> I suggest just stick with "xvp", which is what it's been called up to
> >> now.  After all, it could be applied to systems other than virtual
> >> machines, so having a name with "virtual machine" in it is unnecessarily
> >> restrictive.
> >>
> > 
> > A very good point. So something along the lines of "Power Control
> > Pseudo-encoding" then. :)
> > 
> > I won't veto this addition based on the name, but I strongly believe
> > that we should make every effort to produce general extensions so that
> > we don't end up with multiple almost identical ones.
> 
> I think the point Colin is trying to make is that he wants to stick
> to xvp as that name has already been exposed, google has indexed it
> etc etc. Changing the name this late will only cause confusion.
> 
> So, instead of trying to find some (poor) expansion of xvp, we just
> leave it at xvp and describe what you can do with it (and maybe
> include a note about where the name originated for the curious, but
> in that case state that the uses are more general than the original
> name implies).

I'm sorry for starting this thread now. I think keeping the existing
xvp name is the right answer. Many of the existing extensions are simply
named after the product initiially defining the extension. We shouldn't
try to rename them now. I merely wanted the descriptive text in the spec
of the extension to be generic, leaving "xvp" as the name.

Regards,
Daniel
-- 
|: http://berrange.com/ -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://freshmeat.net/~danielpb/-o-   http://gtk-vnc.sourceforge.net :|


signature.asc
Description: Digital signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Describe the xvp extension

2009-06-01 Thread Colin Dean
Hi all,

>> I think the point Colin is trying to make is that he wants to stick
>> to xvp as that name has already been exposed, google has indexed it
>> etc etc. Changing the name this late will only cause confusion.
>> 
>> So, instead of trying to find some (poor) expansion of xvp, we just
>> leave it at xvp and describe what you can do with it (and maybe
>> include a note about where the name originated for the curious, but
>> in that case state that the uses are more general than the original
>> name implies).

Peter has got my point: there's already been discussion on the Citrix
mailing lists, and I made public a self-contained spec for the
extension, in a style to match the RealVNC spec:

  http://www.dur.ac.uk/c.c.dean/xvp/rfb-extensions.html

both using the "xvp" name.

Re Pierre's point ...

>> +See http://www.dur.ac.uk/c.c.dean/xvp/ for details of the reference
>> +implementation, which allows shutdown, reboot and reset of virtual
>> +machines running on Citrix XenServer. 
> 
> Does this page add anything to the protocol definition? We don't have
> official reference implementations for anything else, so I'm sceptical
> about adding one here.

... I put this wording in at Daniel's suggestion.

Can I suggest we probably have spent enough time on this thread (!) and
ask somebody to sign off and apply my most recent patch (from Friday
evening)?

Thanks,

Colin



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto


Re: [rfbproto] [PATCH] Add Makefile

2009-06-01 Thread Pierre Ossman
On Mon, 01 Jun 2009 13:17:17 +0200
Peter Rosin  wrote:

> 
> Those are spelled rst2newlatex.py and rst2html.py on my system.
> What are their canonical names?
> 

Upstream uses the .py suffix. Annoying...

I guess we need to do something clever here.

Rgds
-- 
Pierre OssmanOpenSource-based Thin Client Technology
System Developer Telephone: +46-13-21 46 00
Cendio ABWeb: http://www.cendio.com


signature.asc
Description: PGP signature
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto