Git transition

2012-01-02 Thread Vincent van Ravesteijn
Hi Lars, Are we ready to move to Git in 2012 yet ? It seems you converted the svn repo to Git successfully, or are there still issues to be addressed. What is the next step in the process ? Kind regards, Vincent Best wishes to all of you!

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 28/12/2011 23:23, Tommaso Cucinotta ha scritto: Il 28/12/2011 19:31, Pavel Sanda ha scritto: how hard would it be to enhance your patch so collaborate editing of lyx document is possible? I thought to this just a little: from my patch, we can merely reuse the socket set-up and non-blocking

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 10:18, Tommaso Cucinotta ha scritto: If you want to see just a preliminary hack that kind of works, please, find it attached. I forgot to mention: the files in qt4/ are still part of the Chat capability patch. For the collaborative editing, all the affected files are in

PATCH: for 6760 and 7884

2012-01-02 Thread Stephan Witt
I've attached patches for two tickets: http://www.lyx.org/trac/ticket/6760 and http://www.lyx.org/trac/ticket/7884 If nobody objects I'd like to commit them. Best wishes and a happy new year to all of you. Stephan

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 10:36, Tommaso Cucinotta wrote: Il 02/01/2012 10:18, Tommaso Cucinotta ha scritto: If you want to see just a preliminary hack that kind of works, please, find it attached. I forgot to mention: the files in qt4/ are still part of the Chat capability patch. For the

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 27/12/2011 23:06, Tommaso Cucinotta wrote: Hi all, I've just realized a small chat feature within LyX. If anyone is interested, have a look at its description and patch here: http://www.lyx.org/trac/ticket/7964 Any comment is welcome. This is interesting (but less than you

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 14:54, Abdelrazak Younes ha scritto: This is interesting (but less than you collaboration patch). nice to hear :-) Btw, in both cases, what is really missing, is a LyX collaboration server, i.e., a simple server to be hosted somewhere (e.g., lyx.org ?) through which registered

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 14:47, Abdelrazak Younes ha scritto: No, not if you create a new BufferView. In this case all mouse related action needs to be forwarded as well. what I mean, is that locally I can have no clue (and I should not have it) about the window and view geometry of the remote LyX

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 16:53, Tommaso Cucinotta wrote: Il 02/01/2012 14:54, Abdelrazak Younes ha scritto: This is interesting (but less than you collaboration patch). nice to hear :-) Btw, in both cases, what is really missing, is a LyX collaboration server, i.e., a simple server to be hosted

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 17:00, Abdelrazak Younes ha scritto: I have a pending patch that introduces Qt signals in Buffer and BufferView, I'll try to cleanup and commit that one. Ok, I don't know what changes will be introduced by this patch of yours, anyway, please, drop a message on the list about

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:04, Tommaso Cucinotta wrote: Il 02/01/2012 14:47, Abdelrazak Younes ha scritto: No, not if you create a new BufferView. In this case all mouse related action needs to be forwarded as well. what I mean, is that locally I can have no clue (and I should not have it) about the

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:17, Tommaso Cucinotta wrote: Il 02/01/2012 17:00, Abdelrazak Younes ha scritto: I have a pending patch that introduces Qt signals in Buffer and BufferView, I'll try to cleanup and commit that one. Ok, I don't know what changes will be introduced by this patch of yours,

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:00, Abdelrazak Younes wrote: On 02/01/2012 16:53, Tommaso Cucinotta wrote: I'll have a look, thanks. Another immediate question is whether there's any portable serialization framework already at reach for LyX (i.e., in terms of dependencies -- e.g., I could identify

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:00, Abdelrazak Younes wrote: On 02/01/2012 16:53, Tommaso Cucinotta wrote: I'll have a look, thanks. Another immediate question is whether there's any portable serialization framework already at reach for LyX (i.e., in terms of dependencies -- e.g., I could identify

Re: LyX Chat

2012-01-02 Thread Vincent van Ravesteijn
But, instead of that, I would use Json format for the LFUN serialisation/deserialisation and the packet transmission. You would use JSON format for everything Vincent

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:51, Vincent van Ravesteijn wrote: But, instead of that, I would use Json format for the LFUN serialisation/deserialisation and the packet transmission. You would use JSON format for everything Indeed, including the .lyx file format :-) Abdel.

Re: LyX Chat

2012-01-02 Thread Rob Oakes
On 1/2/2012 9:00 AM, Abdelrazak Younes wrote: On 02/01/2012 16:53, Tommaso Cucinotta wrote: Unless we buy some server I don't think this will be possible. Maybe someone wants to deliver this kind of services for free or not... it does not have to be a LyX.org service I guess. If we're just

question about Inset-Info

2012-01-02 Thread Uwe Stöhr
Hello everybody, a happy new year to you all! I want to reference in the UserGuide the shortcut for a protected space Ctrl+Space. Its definition is command-alternatives space-insert protected But when I use this in an Inset-Info I get an empty shortcut. What can I do or is this a bug?

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 18:05, Rob Oakes ha scritto: To that end, I'd prefer any collaborative writing features to: 1.) Use an existing open source messaging protocol like Jabber (which means that any XMPP server could be used for collaboration). Passing information about geometry, actions, etc. seems

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 14:54, Abdelrazak Younes ha scritto: First comment: please use QTcpSocket and signal/slot connections. Still pending, I'll convert to QTcpSocket soon. Please, find attached the 2nd draft/skeleton of this. Changes: 1) a new BufferView is created for each new connection, all'em

Git transition

2012-01-02 Thread Vincent van Ravesteijn
Hi Lars, Are we ready to move to Git in 2012 yet ? It seems you converted the svn repo to Git successfully, or are there still issues to be addressed. What is the next step in the process ? Kind regards, Vincent Best wishes to all of you!

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 28/12/2011 23:23, Tommaso Cucinotta ha scritto: Il 28/12/2011 19:31, Pavel Sanda ha scritto: how hard would it be to enhance your patch so collaborate editing of lyx document is possible? I thought to this just a little: from my patch, we can merely reuse the socket set-up and non-blocking

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 10:18, Tommaso Cucinotta ha scritto: If you want to see just a preliminary hack that kind of works, please, find it attached. I forgot to mention: the files in qt4/ are still part of the Chat capability patch. For the collaborative editing, all the affected files are in

PATCH: for 6760 and 7884

2012-01-02 Thread Stephan Witt
I've attached patches for two tickets: http://www.lyx.org/trac/ticket/6760 and http://www.lyx.org/trac/ticket/7884 If nobody objects I'd like to commit them. Best wishes and a happy new year to all of you. Stephan

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 10:36, Tommaso Cucinotta wrote: Il 02/01/2012 10:18, Tommaso Cucinotta ha scritto: If you want to see just a preliminary hack that kind of works, please, find it attached. I forgot to mention: the files in qt4/ are still part of the Chat capability patch. For the

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 27/12/2011 23:06, Tommaso Cucinotta wrote: Hi all, I've just realized a small "chat" feature within LyX. If anyone is interested, have a look at its description and patch here: http://www.lyx.org/trac/ticket/7964 Any comment is welcome. This is interesting (but less than you

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 14:54, Abdelrazak Younes ha scritto: This is interesting (but less than you collaboration patch). nice to hear :-) Btw, in both cases, what is really missing, is a LyX collaboration server, i.e., a simple server to be hosted somewhere (e.g., lyx.org ?) through which registered

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 14:47, Abdelrazak Younes ha scritto: No, not if you create a new BufferView. In this case all mouse related action needs to be forwarded as well. what I mean, is that locally I can have no clue (and I should not have it) about the window and view geometry of the remote LyX

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 16:53, Tommaso Cucinotta wrote: Il 02/01/2012 14:54, Abdelrazak Younes ha scritto: This is interesting (but less than you collaboration patch). nice to hear :-) Btw, in both cases, what is really missing, is a LyX collaboration server, i.e., a simple server to be hosted

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 17:00, Abdelrazak Younes ha scritto: I have a pending patch that introduces Qt signals in Buffer and BufferView, I'll try to cleanup and commit that one. Ok, I don't know what changes will be introduced by this patch of yours, anyway, please, drop a message on the list about

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:04, Tommaso Cucinotta wrote: Il 02/01/2012 14:47, Abdelrazak Younes ha scritto: No, not if you create a new BufferView. In this case all mouse related action needs to be forwarded as well. what I mean, is that locally I can have no clue (and I should not have it) about the

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:17, Tommaso Cucinotta wrote: Il 02/01/2012 17:00, Abdelrazak Younes ha scritto: I have a pending patch that introduces Qt signals in Buffer and BufferView, I'll try to cleanup and commit that one. Ok, I don't know what changes will be introduced by this patch of yours,

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:00, Abdelrazak Younes wrote: On 02/01/2012 16:53, Tommaso Cucinotta wrote: I'll have a look, thanks. Another immediate question is whether there's any portable serialization framework already at reach for LyX (i.e., in terms of dependencies -- e.g., I could identify

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:00, Abdelrazak Younes wrote: On 02/01/2012 16:53, Tommaso Cucinotta wrote: I'll have a look, thanks. Another immediate question is whether there's any portable serialization framework already at reach for LyX (i.e., in terms of dependencies -- e.g., I could identify

Re: LyX Chat

2012-01-02 Thread Vincent van Ravesteijn
But, instead of that, I would use Json format for the LFUN serialisation/deserialisation and the packet transmission. You would use JSON format for everything Vincent

Re: LyX Chat

2012-01-02 Thread Abdelrazak Younes
On 02/01/2012 17:51, Vincent van Ravesteijn wrote: But, instead of that, I would use Json format for the LFUN serialisation/deserialisation and the packet transmission. You would use JSON format for everything Indeed, including the .lyx file format :-) Abdel.

Re: LyX Chat

2012-01-02 Thread Rob Oakes
On 1/2/2012 9:00 AM, Abdelrazak Younes wrote: > On 02/01/2012 16:53, Tommaso Cucinotta wrote: > Unless we buy some server I don't think this will be possible. Maybe > someone wants to deliver this kind of services for free or not... it > does not have to be a LyX.org service I guess. If we're

question about Inset-Info

2012-01-02 Thread Uwe Stöhr
Hello everybody, a happy new year to you all! I want to reference in the UserGuide the shortcut for a protected space "Ctrl+Space". Its definition is command-alternatives space-insert protected But when I use this in an Inset-Info I get an empty shortcut. What can I do or is this a bug?

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 18:05, Rob Oakes ha scritto: To that end, I'd prefer any collaborative writing features to: 1.) Use an existing open source messaging protocol like Jabber (which means that any XMPP server could be used for collaboration). Passing information about geometry, actions, etc. seems

Re: LyX Chat

2012-01-02 Thread Tommaso Cucinotta
Il 02/01/2012 14:54, Abdelrazak Younes ha scritto: First comment: please use QTcpSocket and signal/slot connections. Still pending, I'll convert to QTcpSocket soon. Please, find attached the 2nd draft/skeleton of this. Changes: 1) a new BufferView is created for each new connection, all'em