Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Kornel Benko
Am Freitag, 8. November 2013 um 22:55:32, schrieb Tommaso Cucinotta 
tomm...@lyx.org
 On 08/11/13 13:40, Kornel Benko wrote:
  Pidgin asks for user, domain and resource. What values to use here?
  Protocol should be XMPP, OK.
  
  I tried with
  user: kornelbenko
  domain: jabber.org
  resource: Laptop
  
  but I am unable to use it.
  *** user kornelbe...@jabber.org/Laptop deactivated, not authorized ***
 
 My best guess is that this is being a temporary problem of jabber.org, as just
 a few weeks ago I created without problems two accounts I think using Pidgin,
 checking the create new account on server checkbox when registering.
 
 Btw, I just managed to create a test account 
 
   lyxtestu...@jabber.ccc.de
   password: secret
 
 where at the first connection the server says [1]. Feel free to use this 
 account
 as much as you like.
 
 Bye,
 
   Tommaso
 
 [1]
 (22:51:20) jabber.ccc.de: Hi.
 Welcome to just another jabber server called jabber.ccc.de.
  Please keep in mind, that unused accounts will be removed after a period of 
 12 months.
  For more information about this service visit http://web.jabber.ccc.de/

This server seems to work.

Now the next step.
Selecting 'LyX Chat' there is a dialog-window for buddies.
What is meant by 'ID:' ? My id od the id of the buddy? (There is no explanation 
in the dialog)
And if I try to connect, which password to use?
That of the buddy I hardly can know, so it should be mine, but how does lyx know
my id?

I am confused.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Kornel Benko
Am Samstag, 9. November 2013 um 10:09:59, schrieb Kornel Benko kor...@lyx.org
 Am Freitag, 8. November 2013 um 22:55:32, schrieb Tommaso Cucinotta 
 tomm...@lyx.org
  On 08/11/13 13:40, Kornel Benko wrote:
   Pidgin asks for user, domain and resource. What values to use here?
   Protocol should be XMPP, OK.
   
   I tried with
 user: kornelbenko
 domain: jabber.org
 resource: Laptop
   
   but I am unable to use it.
 *** user kornelbe...@jabber.org/Laptop deactivated, not authorized ***
  
  My best guess is that this is being a temporary problem of jabber.org, as 
  just
  a few weeks ago I created without problems two accounts I think using 
  Pidgin,
  checking the create new account on server checkbox when registering.
  
  Btw, I just managed to create a test account 
  
lyxtestu...@jabber.ccc.de
password: secret
  
  where at the first connection the server says [1]. Feel free to use this 
  account
  as much as you like.
  
  Bye,
  
  Tommaso
  
  [1]
  (22:51:20) jabber.ccc.de: Hi.
  Welcome to just another jabber server called jabber.ccc.de.
   Please keep in mind, that unused accounts will be removed after a period 
  of 12 months.
   For more information about this service visit http://web.jabber.ccc.de/
 
 This server seems to work.

Correction: It does not work. Probably my xmpp implementation in pidgin is not 
actual.
I get the welcome message, but later I see the error
'bad namespace prefix'
Googling did not enlighten me. I did not found any dialog button in pidgin to 
enter
any prefix at all.

...

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 09:09, Kornel Benko wrote:
 Now the next step.
 Selecting 'LyX Chat' there is a dialog-window for buddies.
 What is meant by 'ID:' ? My id od the id of the buddy? (There is no 
 explanation in the dialog)

Rightful question, as the dialog title confuses things. The ID is your own ID, 
and it's
supposed to come in the format username@domain, that identifies both your 
username and
the XMPP server to connect to.
The Connect, Disconnect, and Availability Combo Box are used to control the 
chat and
your own presence, so they are not actually related to buddies.

I probably have to rename the dialog from LyX Buddies to LyX Chat or pls 
advise on
a proper name. It's very inspired to the Skype main window.
And perhaps adding a framebox around the actual buddies widgetlist, with a 
title like
buddies or friends.

 And if I try to connect, which password to use?

in ID, you'd use lyxtestu...@jabber.ccc.de, in password you'd use secret.

 That of the buddy I hardly can know, so it should be mine, but how does lyx 
 know
 my id?

LyX doesn't know that, you tell LyX your own ID, then LyX stores it into .lyxrc
as \user_chat_id lyxtestu...@jabber.ccc.de, and next time you use the chat it
will fill automatically the ID for you.

 I am confused.

Hope the above clarifies, thx for the feedback.

T.



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 09:56, Kornel Benko wrote:
 This server seems to work.
 
 Correction: It does not work. Probably my xmpp implementation in pidgin is 
 not actual.
 I get the welcome message, but later I see the error
   'bad namespace prefix'
 Googling did not enlighten me. I did not found any dialog button in pidgin to 
 enter
 any prefix at all.

Actually, I've seen this message with *other* servers, NOT jabber.ccc.de, and 
I've seen
it only when trying to *create* the new account.

In this case, if you're using the account lyxtestuser, please, ensure the bottom
create new account on server checkbox is *unchecked*, and you should login
without problems. I just checked again both with Pidgin and LyX, and they 
connect
without issues (?!?)

T.



Re: Corkboard code

2013-11-09 Thread Peter Kümmel

On 05.11.2013 01:37, Rob Oakes wrote:


On 10/26/2013 03:00 AM, Peter Kümmel wrote:

Hi Rob,

did you make any progress? What is the current status of the code,
and what is your plan? Is someone still working on it?

If current state is not too hopeless I would also work on it.

Peter


Hi Peter,

Unfortunately, I have not been able to make much progress. I've got a
couple of projects at work that are sapping nearly all of my time. Free
or otherwise. (We are several weeks over a deadline.)

The current state is actually pretty good. There is some refactoring
that needs to happen so that the code exists inside of a single cohesive
class, and that then needs to be integrated in to the LyX GUI.

On the side of the model, there is some additional work that needs to be
done so that we can support features in the corkboard, but I've got some
good ideas on how it needs to be implemented.

If you're interested, let's set up a Google chat to discuss the current
state. I can describe most everything in a half hour or so. Right now,
that is an easier commitment for me to make than trying to discuss over
email. (Which has been somewhat hard to monitor.)

Cheers,

Rob



Hi Rob,

thanks for the update. Then I start to have a look at current code and
don't wait for your changes. Maybe I come back to to you later.

Cheers,
Peter




Re: Corkboard code

2013-11-09 Thread Peter Kümmel

On 18.10.2013 03:32, Vincent van Ravesteijn wrote:


Be warned that this is an orphan branch (i.e. it is not connected to the lyx 
history).

Vincent



Is it possible to integrate an orphan branch without loosing history?

Peter



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Kornel Benko
Am Samstag, 9. November 2013 um 10:31:32, schrieb Tommaso Cucinotta 
tomm...@lyx.org
 On 09/11/13 09:56, Kornel Benko wrote:
  This server seems to work.
  
  Correction: It does not work. Probably my xmpp implementation in pidgin is 
  not actual.
  I get the welcome message, but later I see the error
  'bad namespace prefix'
  Googling did not enlighten me. I did not found any dialog button in pidgin 
  to enter
  any prefix at all.
 
 Actually, I've seen this message with *other* servers, NOT jabber.ccc.de, and 
 I've seen
 it only when trying to *create* the new account.
 
 In this case, if you're using the account lyxtestuser, please, ensure the 
 bottom
 create new account on server checkbox is *unchecked*, and you should login
 without problems. I just checked again both with Pidgin and LyX, and they 
 connect
 without issues (?!?)
 
   T.

I can see you. Also in lyx.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: LyX + Qt5 + CMake + XCode - attached files (1/1) - RTL.tiff (1/1) - testing LTR.lyx (1/1)

2013-11-09 Thread pdv
In article 525824a7.8080...@lyx.org,
 Jean-Marc Lasgouttes lasgout...@lyx.org wrote:

 05/10/2013 11:05, pdv:
  I do the same but English/Dutch marked as Farsi.
  I have attached a screenshot.
 
  Would you have a document too? I cannot reproduce.
  Yes, here it is.
 
 Strange, I do not obtain the same result as you do. I will try on a mac.
 
 JMarc

I tested the str-metrics version (the one dated 25 oct) and the cursor 
positioning is not correct on my mac, but maybe you expect this, since 
the work is not finished.

pdv



Re: LyX + Qt5 + CMake + XCode - attached files (1/1) - RTL.tiff (1/1) - testing LTR.lyx (1/1)

2013-11-09 Thread Jean-Marc Lasgouttes
Positioning is supposed to be correct at top level and in first level insets. I 
noticed problems at higher depth that I did not have time to diagnose.

If you have concrete examples, please share them with. I do not know when I 
will have time to work seriously on that though.

JMarc



pdv pdvissch...@edpnet.be a écrit :
In article 525824a7.8080...@lyx.org,
 Jean-Marc Lasgouttes lasgout...@lyx.org wrote:

 05/10/2013 11:05, pdv:
  I do the same but English/Dutch marked as Farsi.
  I have attached a screenshot.
 
  Would you have a document too? I cannot reproduce.
  Yes, here it is.
 
 Strange, I do not obtain the same result as you do. I will try on a
mac.
 
 JMarc

I tested the str-metrics version (the one dated 25 oct) and the cursor 
positioning is not correct on my mac, but maybe you expect this, since 
the work is not finished.

pdv


Linking without qxmpp fails for branch features/chat

2013-11-09 Thread Kornel Benko

...
/usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4177: undefined reference to 
`lyx::frontend::createGuiBuddies(lyx::frontend::GuiView)'
/usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4183: undefined reference to 
`lyx::frontend::createGuiChat(lyx::frontend::GuiView)'
...

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Linking without qxmpp fails for branch features/chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 18:56, Kornel Benko wrote:
 /usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4177: undefined reference to 
 `lyx::frontend::createGuiBuddies(lyx::frontend::GuiView)'
 /usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4183: undefined reference to 
 `lyx::frontend::createGuiChat(lyx::frontend::GuiView)'

Fixed, just pull from

  git pull tommaso features/chat

One tiny issue, though: the LyX Chat menu in stdmenus.inc: that is going to 
be added anyway, even though the dialog-show lyx-chat is not going to be 
anyway meaningful without USE_QXMPP ?

Is there a way to get rid of the menu entry as well, in such case ?

Bye,

T.



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 13:43, Kornel Benko wrote:
 However, at least a minimum box for adding buddies seems useful in LyX as 
 well, I'll try to fix these couple of things.
 
 That would really be nice :)

try to pull, now you can handle buddies add/remove from LyX (very basic).

T.



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Kornel Benko
Am Freitag, 8. November 2013 um 22:55:32, schrieb Tommaso Cucinotta 

> On 08/11/13 13:40, Kornel Benko wrote:
> >> Pidgin asks for "user", "domain" and "resource". What values to use here?
> >> Protocol should be XMPP, OK.
> > 
> > I tried with
> > user: kornelbenko
> > domain: jabber.org
> > resource: Laptop
> > 
> > but I am unable to use it.
> > *** user kornelbe...@jabber.org/Laptop deactivated, not authorized ***
> 
> My best guess is that this is being a temporary problem of jabber.org, as just
> a few weeks ago I created without problems two accounts I think using Pidgin,
> checking the "create new account on server" checkbox when registering.
> 
> Btw, I just managed to create a test account 
> 
>   lyxtestu...@jabber.ccc.de
>   password: secret
> 
> where at the first connection the server says [1]. Feel free to use this 
> account
> as much as you like.
> 
> Bye,
> 
>   Tommaso
> 
> [1]
> (22:51:20) jabber.ccc.de: Hi.
> Welcome to just another jabber server called jabber.ccc.de.
>  Please keep in mind, that unused accounts will be removed after a period of 
> 12 months.
>  For more information about this service visit http://web.jabber.ccc.de/

This server seems to work.

Now the next step.
Selecting 'LyX Chat' there is a dialog-window for buddies.
What is meant by 'ID:' ? My id od the id of the buddy? (There is no explanation 
in the dialog)
And if I try to connect, which password to use?
That of the buddy I hardly can know, so it should be mine, but how does lyx know
my id?

I am confused.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Kornel Benko
Am Samstag, 9. November 2013 um 10:09:59, schrieb Kornel Benko 
> Am Freitag, 8. November 2013 um 22:55:32, schrieb Tommaso Cucinotta 
> 
> > On 08/11/13 13:40, Kornel Benko wrote:
> > >> Pidgin asks for "user", "domain" and "resource". What values to use here?
> > >> Protocol should be XMPP, OK.
> > > 
> > > I tried with
> > >   user: kornelbenko
> > >   domain: jabber.org
> > >   resource: Laptop
> > > 
> > > but I am unable to use it.
> > >   *** user kornelbe...@jabber.org/Laptop deactivated, not authorized ***
> > 
> > My best guess is that this is being a temporary problem of jabber.org, as 
> > just
> > a few weeks ago I created without problems two accounts I think using 
> > Pidgin,
> > checking the "create new account on server" checkbox when registering.
> > 
> > Btw, I just managed to create a test account 
> > 
> >   lyxtestu...@jabber.ccc.de
> >   password: secret
> > 
> > where at the first connection the server says [1]. Feel free to use this 
> > account
> > as much as you like.
> > 
> > Bye,
> > 
> > Tommaso
> > 
> > [1]
> > (22:51:20) jabber.ccc.de: Hi.
> > Welcome to just another jabber server called jabber.ccc.de.
> >  Please keep in mind, that unused accounts will be removed after a period 
> > of 12 months.
> >  For more information about this service visit http://web.jabber.ccc.de/
> 
> This server seems to work.

Correction: It does not work. Probably my xmpp implementation in pidgin is not 
actual.
I get the welcome message, but later I see the error
'bad namespace prefix'
Googling did not enlighten me. I did not found any dialog button in pidgin to 
enter
any prefix at all.

...

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 09:09, Kornel Benko wrote:
> Now the next step.
> Selecting 'LyX Chat' there is a dialog-window for buddies.
> What is meant by 'ID:' ? My id od the id of the buddy? (There is no 
> explanation in the dialog)

Rightful question, as the dialog title confuses things. The ID is your own ID, 
and it's
supposed to come in the format username@domain, that identifies both your 
username and
the XMPP server to connect to.
The Connect, Disconnect, and Availability Combo Box are used to control the 
chat and
your own presence, so they are not actually related to buddies.

I probably have to rename the dialog from "LyX Buddies" to "LyX Chat" or pls 
advise on
a proper name. It's very inspired to the Skype main window.
And perhaps adding a framebox around the actual buddies widgetlist, with a 
title like
buddies or friends.

> And if I try to connect, which password to use?

in ID, you'd use "lyxtestu...@jabber.ccc.de", in password you'd use "secret".

> That of the buddy I hardly can know, so it should be mine, but how does lyx 
> know
> my id?

LyX doesn't know that, you tell LyX your own ID, then LyX stores it into .lyxrc
as "\user_chat_id lyxtestu...@jabber.ccc.de", and next time you use the chat it
will fill automatically the ID for you.

> I am confused.

Hope the above clarifies, thx for the feedback.

T.



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 09:56, Kornel Benko wrote:
>> This server seems to work.
> 
> Correction: It does not work. Probably my xmpp implementation in pidgin is 
> not actual.
> I get the welcome message, but later I see the error
>   'bad namespace prefix'
> Googling did not enlighten me. I did not found any dialog button in pidgin to 
> enter
> any prefix at all.

Actually, I've seen this message with *other* servers, NOT jabber.ccc.de, and 
I've seen
it only when trying to *create* the new account.

In this case, if you're using the account lyxtestuser, please, ensure the bottom
"create new account on server" checkbox is *unchecked*, and you should login
without problems. I just checked again both with Pidgin and LyX, and they 
connect
without issues (?!?)

T.



Re: Corkboard code

2013-11-09 Thread Peter Kümmel

On 05.11.2013 01:37, Rob Oakes wrote:


On 10/26/2013 03:00 AM, Peter Kümmel wrote:

Hi Rob,

did you make any progress? What is the current status of the code,
and what is your plan? Is someone still working on it?

If current state is not too "hopeless" I would also work on it.

Peter


Hi Peter,

Unfortunately, I have not been able to make much progress. I've got a
couple of projects at work that are sapping nearly all of my time. Free
or otherwise. (We are several weeks over a deadline.)

The current state is actually pretty good. There is some refactoring
that needs to happen so that the code exists inside of a single cohesive
class, and that then needs to be integrated in to the LyX GUI.

On the side of the model, there is some additional work that needs to be
done so that we can support features in the corkboard, but I've got some
good ideas on how it needs to be implemented.

If you're interested, let's set up a Google chat to discuss the current
state. I can describe most everything in a half hour or so. Right now,
that is an easier commitment for me to make than trying to discuss over
email. (Which has been somewhat hard to monitor.)

Cheers,

Rob



Hi Rob,

thanks for the update. Then I start to have a look at current code and
don't wait for your changes. Maybe I come back to to you later.

Cheers,
Peter




Re: Corkboard code

2013-11-09 Thread Peter Kümmel

On 18.10.2013 03:32, Vincent van Ravesteijn wrote:


Be warned that this is an orphan branch (i.e. it is not connected to the lyx 
history).

Vincent



Is it possible to integrate an orphan branch without loosing history?

Peter



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Kornel Benko
Am Samstag, 9. November 2013 um 10:31:32, schrieb Tommaso Cucinotta 

> On 09/11/13 09:56, Kornel Benko wrote:
> >> This server seems to work.
> > 
> > Correction: It does not work. Probably my xmpp implementation in pidgin is 
> > not actual.
> > I get the welcome message, but later I see the error
> > 'bad namespace prefix'
> > Googling did not enlighten me. I did not found any dialog button in pidgin 
> > to enter
> > any prefix at all.
> 
> Actually, I've seen this message with *other* servers, NOT jabber.ccc.de, and 
> I've seen
> it only when trying to *create* the new account.
> 
> In this case, if you're using the account lyxtestuser, please, ensure the 
> bottom
> "create new account on server" checkbox is *unchecked*, and you should login
> without problems. I just checked again both with Pidgin and LyX, and they 
> connect
> without issues (?!?)
> 
>   T.

I can see you. Also in lyx.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: LyX + Qt5 + CMake + XCode - attached files (1/1) - RTL.tiff (1/1) - testing LTR.lyx (1/1)

2013-11-09 Thread pdv
In article <525824a7.8080...@lyx.org>,
 Jean-Marc Lasgouttes  wrote:

> 05/10/2013 11:05, pdv:
> >>> I do the same but English/Dutch marked as Farsi.
> >>> I have attached a screenshot.
> >>
> >> Would you have a document too? I cannot reproduce.
> > Yes, here it is.
> 
> Strange, I do not obtain the same result as you do. I will try on a mac.
> 
> JMarc

I tested the str-metrics version (the one dated 25 oct) and the cursor 
positioning is not correct on my mac, but maybe you expect this, since 
the work is not finished.

pdv



Re: LyX + Qt5 + CMake + XCode - attached files (1/1) - RTL.tiff (1/1) - testing LTR.lyx (1/1)

2013-11-09 Thread Jean-Marc Lasgouttes
Positioning is supposed to be correct at top level and in first level insets. I 
noticed problems at higher depth that I did not have time to diagnose.

If you have concrete examples, please share them with. I do not know when I 
will have time to work seriously on that though.

JMarc



pdv  a écrit :
>In article <525824a7.8080...@lyx.org>,
> Jean-Marc Lasgouttes  wrote:
>
>> 05/10/2013 11:05, pdv:
>> >>> I do the same but English/Dutch marked as Farsi.
>> >>> I have attached a screenshot.
>> >>
>> >> Would you have a document too? I cannot reproduce.
>> > Yes, here it is.
>> 
>> Strange, I do not obtain the same result as you do. I will try on a
>mac.
>> 
>> JMarc
>
>I tested the str-metrics version (the one dated 25 oct) and the cursor 
>positioning is not correct on my mac, but maybe you expect this, since 
>the work is not finished.
>
>pdv


Linking without qxmpp fails for branch features/chat

2013-11-09 Thread Kornel Benko

...
/usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4177: undefined reference to 
`lyx::frontend::createGuiBuddies(lyx::frontend::GuiView&)'
/usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4183: undefined reference to 
`lyx::frontend::createGuiChat(lyx::frontend::GuiView&)'
...

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Linking without qxmpp fails for branch features/chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 18:56, Kornel Benko wrote:
> /usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4177: undefined reference to 
> `lyx::frontend::createGuiBuddies(lyx::frontend::GuiView&)'
> /usr/src/lyx/lyx/src/frontends/qt4/GuiView.cpp:4183: undefined reference to 
> `lyx::frontend::createGuiChat(lyx::frontend::GuiView&)'

Fixed, just pull from

  git pull tommaso features/chat

One tiny issue, though: the "LyX Chat" menu in stdmenus.inc: that is going to 
be added anyway, even though the "dialog-show lyx-chat" is not going to be 
anyway meaningful without USE_QXMPP ?

Is there a way to get rid of the menu entry as well, in such case ?

Bye,

T.



Re: QXMPP dependency for LyX Chat

2013-11-09 Thread Tommaso Cucinotta
On 09/11/13 13:43, Kornel Benko wrote:
>> However, at least a minimum box for adding buddies seems useful in LyX as 
>> well, I'll try to fix these couple of things.
> 
> That would really be nice :)

try to pull, now you can handle buddies add/remove from LyX (very basic).

T.