Gajim - 2013-08-08


  1. bot RSS: Feeds for Gajim • Ticket #7401 (Apply table to all tooltip titles) updated Thank you. I have three questions: Do you think it would be better to move Idle since and Idle for above Mood? This way the Client string of Clients icons plugin would be displayed nicely with the rest of the Pep information strings. Do you think that this string: Activity: Exercising: Jogging (message) would be better than what we currently have? Activity: Exercising: Joggin[…] https://trac.gajim.org/ticket/7401#comment:[…]
  2. dicson Darlan, if we move space to stings - we need wait translation update for all language or use untranslated tooltip in 0.16
  3. dicson except Russian and Hebrew
  4. Darlan and French
  5. dicson not sure
  6. Darlan Yet these strings would be marked as #fuzzy with original translation attached, so what a translator, and even us, can do is to erase marks such as "%s" and " " (space).
  7. Darlan #7268
  8. bot Darlan: http://trac.gajim.org/ticket/7268 (Disable use_smooth_scrolling does not apply to command list)
  9. Darlan Is it possible to disable smooth scrolling when changing font and when resizing chat window?
  10. dicson Darlan, I agree. but first you need to find translators who will do it. Or are you ready to do this for all languages​​?
  11. dicson Darlan, I do not know
  12. Darlan This is difficult after looking at the French translation - I do not know how it is intended to be. Original: Location: Fuzzy: Localisation : %s
  13. Darlan Do you want to send to mailing list a request for strings updates prior to string freeze?
  14. dicson I do not know. wait Asterix. maybe it is will be after 0.16
  15. bot RSS: Feeds for Gajim • Ticket #7268 (Disable use_smooth_scrolling does not apply when changing font and when …) reopened https://trac.gajim.org/ticket/7268#comment:5
  16. bot RSS: Feeds for Gajim • Ticket #7268 (Disable use_smooth_scrolling does not apply when changing font and when …) updated Is it possible to disable smooth scrolling when changing font and when resizing chat? https://trac.gajim.org/ticket/7268#comment:6
  17. Darlan Maranda: May you assist me with Gajim related coding?
  18. Maranda Depends how you want me to "assist" :)
  19. Maranda has about 0 knowledge of the PyGTK API.
  20. Darlan It is Python only, I guess.
  21. Darlan Actually, you do the whole thing; I hope it is something you would be willing to dedicate time for it. The problem is as follows: When I write RTL text, text appear from right עברית When I write LTR text, text appear from left as you can see.
  22. Maranda Yes and you want RTL text to be aligned to the left I suppose?
  23. Darlan Yes, indeed.
  24. Darlan When I write an LTR message which is starting with RTL nickname, message will appear from right, when, it really should start from the left, e.g. if I call to someone by the name العربية (al-ʻarabīyah)
  25. Darlan العربية: Dear Sir, This is a Gajim message
  26. Darlan Gajim should detect that the العربية is a nickname in chat, and ignore it.
  27. Darlan When it does, Gajim puts, while still in input box, an LRM character, if message is LTR, or RLM character, if message is RTL.
  28. Darlan ‎العربية: Dear Sir, This is a Gajim message
  29. Maranda [17:03:52] ‎Darlan‎: ‎العربية: Dear Sir, This is a Gajim message
  30. Darlan >[18:10:38] Maranda: Yes and you want RTL text to be aligned to the left I suppose? It depends, if a message start with a nickname, no matter if RTL or LTR, I want Gajim to ignore it when it aligning a message when it send it
  31. Darlan Maranda: That second message has an LRM before the nickname so it will be ordered properly; It was a realisation.
  32. Darlan Do you have the time to be bothered for this? If not I will try bothering Asterix or mrDoctorWho.
  33. Maranda I suppose Gajim does some pattern matching for ^.*[,-\:] or similar to detect nickname completion?
  34. Darlan Yes, I think this algorithm is available in groupchat_control.py
  35. Maranda This evening I can look into it maybe, but be warned I'm rather rusty python wise ^^
  36. Maranda I was about to go out run for a while, so can't right now :)
  37. Darlan Since BiDi support is already comprehensive and better advanced than Pidgin, all is needed to be done is to: (1) detect a nickname (2) ignore nickname and consider only what comes after (3) put a relevant direction_mark before nickname.
  38. Darlan Maranda: This can be wait for another day. Doing jogging is more important.
  39. Darlan (4) all the rest is done automatically by Gajim (conversation_textview.py).
  40. pierreghz The certificate for gajim.org has expired yesterday.
  41. Darlan Gajim is now included at <https://prism-break.org/>. Thank you, kcchouette!
  42. Darlan It seems that Manage Contact > Subscription does not work.
  43. Darlan html correction test
  44. Darlan html correction test 2
  45. Darlan html correction test 2
  46. mrDoctorWho its looks as new line for you?
  47. mrDoctorWho or just for me
  48. Darlan mrDoctorWho: It is a new line, but I posted another correction that was plain text and is not seem to be presented.
  49. dicson mrDoctorWho, http://dicson.no-ip.info/apache2-default/screenshots/2013-08-08_21:42:33.png
  50. mrDoctorWho i mean, new line. like: %(nick)s\n%(text)s
  51. kcchouette Darlan, no problem, I'm happy too ;-)
  52. Darlan :-)
  53. Darlan Plain text to HTML test (correction is to be as HTML)
  54. Darlan Not working
  55. mrDoctorWho this: http://u.to/eTwrBA
  56. Darlan mrDoctorWho: What is displayed for dicson is the same in my display.
  57. Darlan mrDoctorWho: I have had only 2 lines of "html correction test"
  58. mrDoctorWho
  59. mrDoctorWho its looks ok in gajim?
  60. mrDoctorWho Darlan: it's because psi+ doesn't support last message correction
  61. mrDoctorWho Darlan: but you writing answer to nick from new line
  62. Darlan I see an image :-)
  63. mrDoctorWho its unicode symbol.
  64. kcchouette it's ok, it's a beautiful picture :-)
  65. Darlan I think this is because of HTML format of Gajim, I always see an extra line below HTML messages, if I recall correctly.
  66. Darlan I thought it is an HTML image </img>.
  67. kcchouette
  68. kcchouette it's not an image, it's a unicode char
  69. kcchouette with front I think
  70. kcchouette with font* I think
  71. Darlan dicson has made a patch to use HTML images from http links instead of base64 https://dl.dropboxusercontent.com/u/732002/out.sgv-2.ogv
  72. Darlan #7205
  73. bot Darlan: http://trac.gajim.org/ticket/7205 (Send image in the XHTML.)
  74. Darlan Last time I checked, Psi could not read XHTML images, only based64 images.
  75. mrDoctorWho what do you mean by xhtml?
  76. Zash You leak the users IP to the http server.
  77. Zash You don't want to do that.
  78. mrDoctorWho insert a link to another host?
  79. Link Mauve I should really finish my 231 patch, I cringe each time I receive a base64 image.
  80. mathieui Yeah, you should also finish the xhtml-im parser in poezio
  81. mathieui Zash, you don’t want a conference room to forward a base64’ed image to all participants of a room
  82. Zash mathieui: BOB
  83. mathieui the best thing would be a mod_mitm that downloads the image and rehosts it on the local server (and changes the link)
  84. Zash mathieui: prosody plugin! do it! :D
  85. mathieui ETOOMANYTHINGSTODO
  86. dicson mrDoctorWho, yes http://xmpp.org/extensions/xep-0071.html
  87. Zash mathieui: Wouldn't be far from what mod_pastebin does
  88. mathieui well, instead of just trimming a message it would be moving around in the DOM and do stuff
  89. mathieui (and download something, which might induce a latency)
  90. bot RSS: Feeds for Gajim • Ticket #7419 (Message correction does not work for HTML messages) created Bug description No ability to correct HTML messages or to correct messages to HTML. Steps to reproduce Send a plain text message. Correct to an HTML message. Send an HTML message. Correct to a plain text message. Send an HTML message. Correct to an HTML message. Software versions […] https://trac.gajim.org/ticket/7419
  91. Link Mauve mathieui, use last message correction to fix latency issues.
  92. Link Mauve I’d like to see a plugin that would replace the URLs in a message with XHTML-IM <a/>s, containing the title of the page like so many bots do.
  93. Link Mauve But using last message correction instead, so it’d be actually useful instead of being annoying.
  94. Zash Link Mauve: Prosody plugin ;)
  95. Link Mauve I know, but I have so many other things to do. ^^'
  96. Darlan mrDoctorWho: Why do you use Ubuntu, if I may ask?
  97. mrDoctorWho Darlan: why not?
  98. Darlan I used it 6 years ago and did not like it due to its inflexibility. Today, I use Salix OS.
  99. mrDoctorWho never heard about it
  100. Darlan A Slackware based distro + tools for inexperienced users.
  101. mrDoctorWho Darlan: what do you mean under inflexibility?
  102. mrDoctorWho what you can do on Salix that you can't do on ubuntu?
  103. Darlan I could not made updates of certain software that, sometimes, did not work as expected.
  104. Maranda Slackware!
  105. Maranda cringes.
  106. mrDoctorWho exits ppa's for apt that helps to update software
  107. Darlan I have build tools that let me to easily make packages that can be uninstalled easily.
  108. Darlan ppa was not prevalent at that time
  109. Darlan Salix has a package builder that is forked from ArchLinux project <http://SLKBUILD.sf.net> I use this script to build Gajim from the available daily snapshot http://paste.gajim.org/view/60419d80
  110. Maranda Darlan, there doesn't seem to be a special case for nickname prefixed sentences btw.
  111. Darlan Salix OS • View topic - Salix: The ubuntu of Slackware? http://forum.salixos.org/viewtopic.php?f=24&t=1381
  112. Darlan Not really, but it implies on how easy Salix is
  113. Maranda hm
  114. Darlan Maranda: What do you mean? @special case for nickname prefixed sentences
  115. Maranda That the code currently doesn't do any view filtering on that (looking at conversation_textview.py)
  116. Darlan conversation_textview.py is not relevant; By referring to this file, I meant to say that no other intervention is needed since this part of of Gajim does the rest of the work.
  117. Darlan I guess we can get clues from file groupchat_control.py https://trac.gajim.org/ticket/7398
  118. Darlan #7398
  119. bot Darlan: http://trac.gajim.org/ticket/7398 (Feature request: skip nicknames of ignored users when tab completing them in conferences)
  120. Maranda so I'm not sure what do you want to do, you want the input to be altered directly?
  121. Darlan Yes, input box, only.
  122. Darlan also known as "edit buffer" in Psi
  123. Darlan User is writing, and while writing, Gajim segregate nickname from actual message. I will show you an animation, please stand by.
  124. Darlan https://trac.gajim.org/attachment/ticket/7392/gajim_nick_bidi_animation.gif
  125. Maranda Urm I think that rather then altering the input while it's being written just pre-processing it before constructing the stanza is better.
  126. Darlan I will add this description to ticket.
  127. kcchouette how is made the nighty build for debian ?
  128. Maranda gajim won't show it before the message stanza is reflected back by the muc service so it's really best to do that before the stanza construction.
  129. Maranda ok brb, gonna make dinner :)
  130. Darlan Bon Appetit
  131. Darlan Why not? Gajim does auto-completion of nickname while in edit buffer, so why can't it insert a direction_mark before nickname while writing?
  132. Maranda Because in that state the data in the buffer is volatile, nick tab completion is more doable but if you start to have to insert arbitrary control characters it may end being messy.
  133. Maranda that's just my opinion btw.
  134. Darlan The only control character is either LRM or RLM (depends on message itself),so we need to erase direction_marks in input box every time user decides to delete/change nickname.
  135. Darlan The only control character is either LRM or RLM (depends on message itself),so we need to erase direction_marks in input box every time user decides to delete/change message (what comes after nickname).
  136. Darlan We only put one control character at the start of a line.
  137. Darlan So we need to detect if line already contain LRM or RLM character and replace it if message was LTR (i.e. an LRM is at the beginning of a line) and now is RTL, we replace LRM with RLM and vice versa.
  138. Darlan So we need to detect if line already contain LRM or RLM character, at its start (the first character at a line), and replace it if message was LTR (i.e. an LRM is at the beginning of a line) and now is RTL, we replace LRM with RLM and vice versa.
  139. Darlan So we need to detect if line already contain LRM or RLM character, at its start (the first character at a line), and replace it if message was LTR (i.e. an LRM is at the beginning of a line) and now is RTL, with RLM and vice versa.
  140. Maranda [21:15:12] ‎Darlan‎: The only control character is either LRM or RLM (depends on message itself),so we need to erase direction_marks in input box every time user decides to delete/change message (what comes after nickname). --> that's more expensive then just doing that check as a pre-process, that'll void you the hassle of having to alter the buffer each time the message gets edited/wiped.
  141. Darlan True
  142. Darlan :-)
  143. bot RSS: Feeds for Gajim • Changeset [14723:8ed6ed15be38]: Fix Send Custom Status menuitem (roster contact menu) Fix Send Custom Status menuitem (roster contact menu) https://trac.gajim.org/changeset/8ed6ed15be38574d05932dd66bfdd5336a9a5853
  144. Darlan Maranda: https://trac.gajim.org/ticket/7392#comment:4
  145. Maranda is trying to find where text input boxes are handled.
  146. Darlan I _guess_ chat_control.py
  147. Maranda no it's groupchat_control.py but it contains only the underlying methods not ui controls
  148. Maranda it's message_window.py, but I'm not sure I understand what calls what (yet) :\
  149. bot RSS: Feeds for Gajim • Ticket #7392 (Better BiDi support for LTR/RTL chatters who use Semitic/Latin) updated Better solution: pre-processing a message. Maranda has suggested to describe this case as: pre-processing it (a message) before constructing the stanza. I somewhat disagree with this approach because, visually, text with mixed nickname (RTL) message (LTR), while writing the message in input field, will be displayed incorrectly due to false intended dire[…] https://trac.gajim.org/ticket/7392#co[…]
  150. Darlan Maybe this would help (first commit of BiDi support) https://trac.gajim.org/changeset/001d4e759427 correct message is: improve BiDi behaviour
  151. ofaurax hello
  152. ofaurax I am currently trying to user gajim on mageia but... it crashes at startup
  153. ofaurax I need some help to fix the package
  154. ofaurax File "/usr/share/gajim/src/common/gajim.py", line 183, in <module> conference = gst.element_factory_make('fsrtpconference') gst.ElementNotFoundError: fsrtpconference
  155. ofaurax I tried with 0.15.4