Posted Mar 14, 2013 17:33 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
[Link]
Actually, Wayland is also the name of the implementation.
And I was answering to this:
>Second: on X you don't have to patch X server to add the support for your new hint, wayland protocol is not so flexible.
You CAN use Wayland protocol to pass private messages just fine. No recompilation required.
Yet another Wayland thread
Posted Mar 15, 2013 7:17 UTC (Fri) by Serge (guest, #84957)
[Link]
> Actually, Wayland is also the name of the implementation.
Then what're Weston and QTWayland?
> You CAN use Wayland protocol to pass private messages just fine. No recompilation required.
I still don't understand what you mean. Protocol is a document, messages that are not in scope of that document are not part of the protocol. So you cannot send your private messages unless your "private messages" are part of the protocol. Technically you can send them through the same socket, but it won't make them part of Wayland protocol.
It's like saying that you can use GIF to store MP3 data just because you can put mp3-file to the directory with gif-files.
Yet another Wayland thread
Posted Mar 15, 2013 7:44 UTC (Fri) by micka (subscriber, #38720)
[Link]
> It's like saying [...]
More like saying you can use TCP to send HTTP request.
Yet another Wayland thread
Posted Mar 15, 2013 9:09 UTC (Fri) by Serge (guest, #84957)
[Link]
> More like saying you can use TCP to send HTTP request.
TCP has "data" section that is designed to carry another protocol. But you won't find a placeholder for another protocol in wayland.xml.
Yet another Wayland thread
Posted Mar 15, 2013 16:08 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)
[Link]
> Then what're Weston and QTWayland?
Weston is a _compositor_. I.e. it's something like a WM in X world. And QTWayland is simply a name of QT integration with Wayland.
> I still don't understand what you mean.
Basically, Wayland provides a way for processes to communicate using a special form of IPC. Applications can use this IPC to exchange any type of data they want. Wayland itself also provides some services (described in wayland.xml) using this IPC.
> It's like saying that you can use GIF to store MP3 data just because you can put mp3-file to the directory with gif-files.
No. I'm saying that I can use Dropbox to synchronize not only Dropbox user manual but also GIFs and MP3.
Yet another Wayland thread
Posted Mar 16, 2013 7:46 UTC (Sat) by Serge (guest, #84957)
[Link]
> Basically, Wayland provides a way for processes to communicate using a special form of IPC. Applications can use this IPC to exchange any type of data they want. Wayland itself also provides some services (described in wayland.xml) using this IPC.
Looks like you have your own understanding of the word "Wayland". Can you give me a link to the specification of THAT Wayland?
Yet another Wayland thread
Posted Mar 16, 2013 9:06 UTC (Sat) by Cyberax (✭ supporter ✭, #52523)
[Link]
What exactly do you not understand? That Wayland is both the name of a protocol AND its default implementation (i.e. Wayland)? Or that Wayland protocol can be used to carry app- and shell-specific data?
Yet another Wayland thread
Posted Mar 16, 2013 14:33 UTC (Sat) by cortana (subscriber, #24596)
[Link]
I don't mean to sound thick, but I thought the reference implementation was called Weston?
Yet another Wayland thread
Posted Mar 16, 2013 20:24 UTC (Sat) by HelloWorld (guest, #56129)
[Link]
Wayland is both a protocol and a library implementing that protocol. Weston is a compositor based on the Wayland library.
Yet another Wayland thread
Posted Mar 17, 2013 9:45 UTC (Sun) by Serge (guest, #84957)
[Link]
"Wayland is a protocol for a new display server", "The wayland protocol is an asynchronous object oriented protocol", "The interfaces, requests and events are defined in protocol/wayland.xml". I don't see anything about "IPC" or applications that "can use this IPC to exchange any type of data".
> That Wayland is both the name of a protocol AND its default implementation (i.e. Wayland)? Or that Wayland protocol can be used to carry app- and shell-specific data?
The link you posted states that Wayland is a protocol and Weston is implementation. Have you read it yourself? ;-)
Yet another Wayland thread
Posted Mar 17, 2013 10:04 UTC (Sun) by Cyberax (✭ supporter ✭, #52523)
[Link]
> "Wayland is a protocol for a new display server", "The wayland protocol is an asynchronous object oriented protocol", "The interfaces, requests and events are defined in protocol/wayland.xml".
This makes it an IPC, by definition.
> I don't see anything about "IPC" or applications that "can use this IPC to exchange any type of data".
Check the source code. There are no restrictions on message content.
Yet another Wayland thread
Posted Mar 17, 2013 11:11 UTC (Sun) by Serge (guest, #84957)
[Link]
> This makes it an IPC, by definition.
Hm. But it allows you to communicate with compositor only, and using protocol/wayland.xml messages only. Among others you also have a weird definition for "IPC"...
> Check the source code. There are no restrictions on message content.
protocol/wayland.xml is the source code of the protocol.
> Weston is a reference implementation of the Wayland compositor. Which is a separate piece from Wayland protocol or library. What do you not understand?
Ah! So what you called "Wayland" was libwayland-client (or was it libwayland-server?) I wonder, when you said "X" were you talking about libX11?
Anyway, I understand you now. Yes, libwayland allows you to send messages that are not part of the Wayland protocol, and you don't have to rebuild libwayland to send custom messages.
But that does not change much. In X world if you want your app displayed in some special way in your dockbar you need to patch you app and your dockbar, but you don't have to patch WM or X-server. In Wayland world you need to patch your app, dockbar and compositor. And it will work on your compositor only.
Yet another Wayland thread
Posted Mar 17, 2013 10:05 UTC (Sun) by Cyberax (✭ supporter ✭, #52523)
[Link]
> The link you posted states that Wayland is a protocol and Weston is implementation. Have you read it yourself? ;-)
Weston is a reference implementation of the Wayland compositor. Which is a separate piece from Wayland protocol or library. What do you not understand?