Re: LyX Chat @ private git repo

2013-11-11 Thread Tommaso Cucinotta
Thanks for all explanations, some fog is clearing out slowly... Out of curiosity, I just created a seemingly polished branch http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/features/chat2 which is a rebase of the current features/chat on top of master. Does this look

Re: LyX Chat @ private git repo

2013-11-11 Thread Vincent van Ravesteijn
On Mon, Nov 11, 2013 at 10:16 AM, Tommaso Cucinotta wrote: > On 11/11/13 08:03, Vincent van Ravesteijn wrote: > > First of all, it wouldn't be necessary to merge with master over and > > over again. Chances are not that big that master is now interfering > > with your feature, so don't bother. >

Re: LyX Chat @ private git repo

2013-11-11 Thread Tommaso Cucinotta
On 11/11/13 08:03, Vincent van Ravesteijn wrote: > First of all, it wouldn't be necessary to merge with master over and > over again. Chances are not that big that master is now interfering > with your feature, so don't bother. I just realized that the features/chat branch in .git/config has "reba

Re: LyX Chat @ private git repo

2013-11-11 Thread Vincent van Ravesteijn
On Mon, Nov 11, 2013 at 1:17 AM, Tommaso Cucinotta wrote: > On 10/11/13 23:51, Tommaso Cucinotta wrote: > > Any hint as to how to restore a sane environment (branch) :-) ? > > looking at > > > http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/features/chat > > it seems to m

Re: LyX Chat @ private git repo

2013-11-11 Thread Vincent van Ravesteijn
On Mon, Nov 11, 2013 at 12:51 AM, Tommaso Cucinotta wrote: > On 10/11/13 14:37, Vincent van Ravesteijn wrote: > >> Hope it's now all ok and u can see the repo. The feature is in the > features/chat branch. > >> > >> T. > >> > > Yes, it works now. > > other question/help: now I'm co-editing wi

Re: LyX Chat @ private git repo

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 23:51, Tommaso Cucinotta wrote: > Any hint as to how to restore a sane environment (branch) :-) ? looking at http://git.lyx.org/?p=developers/tommaso/lyx.git;a=shortlog;h=refs/heads/features/chat it seems to me that 1) master on the development/tommaso repo is NOT advancing 2) pat

Re: LyX Chat @ private git repo

2013-11-10 Thread Tommaso Cucinotta
On 10/11/13 14:37, Vincent van Ravesteijn wrote: >> Hope it's now all ok and u can see the repo. The feature is in the >> features/chat branch. >> >> T. >> > Yes, it works now. other question/help: now I'm co-editing with Kornel on this repo and branch, so there's an inter-spacing of commits

Re: LyX Chat @ private git repo

2013-11-10 Thread Vincent van Ravesteijn
Tommaso Cucinotta schreef op 6-11-2013 22:50: On 04/11/13 20:44, Vincent van Ravesteijn wrote: Tommaso Cucinotta schreef op 2-11-2013 17:15: On 30/10/13 03:19, Tommaso Cucinotta wrote: I can reach the server, but the "ssh ... setperms developers/tommaso/lyx" just hangs forever. Now I'm on my

Re: LyX Chat @ private git repo

2013-11-06 Thread Tommaso Cucinotta
On 04/11/13 20:44, Vincent van Ravesteijn wrote: > Tommaso Cucinotta schreef op 2-11-2013 17:15: >> On 30/10/13 03:19, Tommaso Cucinotta wrote: >>> I can reach the server, but the "ssh ... setperms developers/tommaso/lyx" >>> just hangs forever. >> Now I'm on my usual connection, but it's still ha

Re: LyX Chat @ private git repo

2013-11-04 Thread Vincent van Ravesteijn
Tommaso Cucinotta schreef op 2-11-2013 17:15: On 30/10/13 03:19, Tommaso Cucinotta wrote: I can reach the server, but the "ssh ... setperms developers/tommaso/lyx" just hangs forever. Now I'm on my usual connection, but it's still hanging forever. Any clue of how to fix this ? Did you do e

Re: LyX Chat @ private git repo

2013-11-02 Thread Tommaso Cucinotta
On 30/10/13 03:19, Tommaso Cucinotta wrote: > I can reach the server, but the "ssh ... setperms developers/tommaso/lyx" > just hangs forever. Now I'm on my usual connection, but it's still hanging forever. Any clue of how to fix this ? Thx, T.

Re: LyX Chat @ private git repo

2013-10-29 Thread Tommaso Cucinotta
On 29/10/13 02:15, Tommaso Cucinotta wrote: > On 29/10/13 01:51, Tommaso Cucinotta wrote: >> I was sure to have done that, at least the reading allowed for anyone >> (gitweb), or perhaps >> this doesn't allow cloning yet ? I'll add "@all" then, but now ssh seems to >> be hanging, don't >> know wh

Re: LyX Chat @ private git repo

2013-10-28 Thread Tommaso Cucinotta
On 29/10/13 01:51, Tommaso Cucinotta wrote: > I was sure to have done that, at least the reading allowed for anyone > (gitweb), or perhaps > this doesn't allow cloning yet ? I'll add "@all" then, but now ssh seems to > be hanging, don't > know why. Just while we find a way to fix that perms issu

Re: LyX Chat @ private git repo

2013-10-28 Thread Tommaso Cucinotta
On 28/10/13 20:40, Vincent van Ravesteijn wrote: > Tommaso Cucinotta schreef op 26-10-2013 19:26: >> Perhaps this way others may more easily contribute to the patch/feature, if >> interested, by committing to this particular repo and branch ? > > If you want us to actually try the feature, you nee

Re: LyX Chat @ private git repo

2013-10-28 Thread Vincent van Ravesteijn
Tommaso Cucinotta schreef op 26-10-2013 19:26: Perhaps this way others may more easily contribute to the patch/feature, if interested, by committing to this particular repo and branch ? If you want us to actually try the feature, you need to give read access to your fellow developers (at least

Re: LyX Chat @ private git repo

2013-10-28 Thread Vincent van Ravesteijn
Tommaso Cucinotta schreef op 26-10-2013 19:26: I'm trying to fight my laziness in learning git. Good. Apparently, I managed to fetch, push and also a bit of hist rewrite (push -f), however it seems I get seemingly harmless messages like this on git ops: remote: Traceback (most recent call

Re: LyX Chat

2012-01-11 Thread Tommaso Cucinotta
Il 11/01/2012 13:08, Pavel Sanda ha scritto: if you intend to work seriously on this what about creating new branch in http://www.lyx.org/trac/browser/lyx-devel/branches/personal ? That's not a bad idea, I'm only refrained from the fact that all developers would be flooded by the non-sense comm

Re: LyX Chat

2012-01-11 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Just dropped the patch at: > > http://www.lyx.org/trac/attachment/ticket/7964/ if you intend to work seriously on this what about creating new branch in http://www.lyx.org/trac/browser/lyx-devel/branches/personal ? pavel

Re: LyX Chat

2012-01-10 Thread Tommaso Cucinotta
Il 02/01/2012 16:00, Abdelrazak Younes ha scritto: 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 boost::serialize::archive & related). That may be us

Re: LyX Chat

2012-01-08 Thread Tommaso Cucinotta
Il 03/01/2012 08:07, Liviu Andronic ha scritto: On Tue, Jan 3, 2012 at 2:18 AM, Tommaso Cucinotta wrote: I wanted to share a video, but xvidcap crashes deterministically, so I can't :-(. Try [1] instead. Liviu [1] http://alternativeto.net/software/gtk-recordmydesktop/ It worked, thanks. Pl

Re: LyX Chat

2012-01-04 Thread Tommaso Cucinotta
Il 04/01/2012 16:03, Pavel Sanda ha scritto: Tommaso Cucinotta wrote: Back to the dark part of the feature, i.e., collisions: if 2 users try to edit the same paragraph, what would you do ? (note that, as of now, you may what about some locking for not-read-only lfuns? I guess you mean "distri

Re: LyX Chat

2012-01-04 Thread Pavel Sanda
Tommaso Cucinotta wrote: > Back to the dark part of the feature, i.e., collisions: if 2 users try to > edit the same paragraph, what would you do ? (note that, as of now, you may what about some locking for not-read-only lfuns? pavel

Re: LyX Chat

2012-01-03 Thread Tommaso Cucinotta
Il 03/01/2012 10:08, Abdelrazak Younes ha scritto: One general comment: IMO we should have a dedicated proxy server program for this stuff, i.e. remove all server related code from your patch and put that in a new daemon tool. This means that this tool could be launched anywhere on the intern

Re: LyX Chat

2012-01-03 Thread Abdelrazak Younes
On Tue, Jan 3, 2012 at 2:18 AM, Tommaso Cucinotta wrote: > 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. Cha

Re: LyX Chat

2012-01-03 Thread Liviu Andronic
On Tue, Jan 3, 2012 at 2:18 AM, Tommaso Cucinotta wrote: > I wanted to share a video, but xvidcap crashes deterministically, so I can't > :-(. > Try [1] instead. Liviu [1] http://alternativeto.net/software/gtk-recordmydesktop/

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 are

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 lik

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

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 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: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 boost::ser

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 boost::ser

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, an

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 wi

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 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 somewher

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 instan

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 u

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 collabora

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 collaborativ

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 src/su

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

2011-12-28 Thread Tommaso Cucinotta
Il 28/12/2011 19:31, Pavel Sanda ha scritto: 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. how hard would it be to e

Re: LyX Chat

2011-12-28 Thread Pavel Sanda
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. how hard would it be to enhance your patch so collaborate ed