Commit Graph

256 Commits

Author SHA1 Message Date
Yann Leboulanger 50257b6973 don't use a reserved word as variable name 2011-02-18 14:41:16 +01:00
Yann Leboulanger 5b5b2375a1 don't scroll in groupchat when window doesn't have focus. Fixes #6100 2010-12-17 12:09:56 +01:00
Denis Fomin cad01f2e56 Fix broken history 2010-11-27 13:07:58 +03:00
Denis Fomin 8a5e25f324 Fix special text parsing again 2010-11-26 22:57:32 +03:00
Denis Fomin 078758e5a6 Fix special text parsing 2010-11-26 22:10:57 +03:00
Denis Fomin e2b79249e9 Remove unused print 2010-11-26 17:55:25 +03:00
Denis Fomin 5ee92b7a3c Correct display hyperlinks in XHTML-IM content.
Fixed the ability to run htmltextview.py as separate application.
Cut long lines. Fixed # 6045
2010-11-26 17:50:20 +03:00
Yann Leboulanger 4ef341bf2e handle URI in a better way. some require ://, some only :. Fixes #5841 2010-08-15 21:51:40 +02:00
Yann Leboulanger 35bbbfe55c correctly quote urls. Fixes #5842 2010-08-11 00:20:20 +02:00
Yann Leboulanger 0fcb1f7096 correctly encode strings in URL 2010-08-10 13:10:10 +02:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger e5e5a0363f [Geobert] fix chat_merge_consecutive_nickname after textview is cleared. 2010-02-26 22:42:36 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 4fe50e9466 don't mix TextTag and tag names in buffer.insert_with_tags. Fixes #5581 2010-01-29 21:59:13 +01:00
Yann Leboulanger 3578204869 add XEP-0184 warning image in textview with an empty text so copy/past don't include a strange char. Fixes #5578 2010-01-26 15:40:56 +01:00
Yann Leboulanger 956accf010 Bye bye glade, Hi gtk builder. Fixes #4945 2010-01-22 19:57:59 +01:00
Yrogirg f9dbe1b4d6 Ability to copy LaTeX expressions. Fixes #5451 2009-12-29 00:01:55 +01:00
Yann Leboulanger 002b8a720f finish using icon theme. Fixes #2378 2009-12-01 15:50:58 +01:00
Stephan Erb b2efc9685b Always show the 'add contact to roster' menu entry in textviews.
Showing it is more consistent than hiding it from the user. (We do the same in the Groupchat roster)
2009-11-29 21:06:26 +01:00
Alexander Cherniuk 31f5e22f62 One more portion of doc-strings refactoring 2009-11-25 17:45:05 +02:00
Yann Leboulanger 750fbc844d [Urcher] ability to copy emoticons when they are selected. Fixes #2570 2009-11-18 21:32:10 +01:00
Yann Leboulanger 48c82ae7fa [Mattj] improve join groupchat behaviour. Fixes #5383 2009-10-31 19:35:46 +01:00
Yann Leboulanger b682cc1791 use correct function for plural forms translation 2009-10-29 15:00:48 +01:00
Yann Leboulanger 2f1412050c [Xytovl] ability to configure font and colors of incoming / outgoing messages. Fixes #5311 2009-10-13 13:42:44 +02:00
Yann Leboulanger b6d7cb992f remove some useless len() call 2009-10-03 09:38:13 +02:00
Yann Leboulanger 202d7861dd restore some commented code 2009-10-03 09:32:11 +02:00
Yann Leboulanger ca127b8d31 fix printing HTML messages. Fixes #5298 2009-10-02 17:57:17 +02:00
Yann Leboulanger 6781600942 add a graphics optio nto all print text function to not display emoticons and latex formulas in nicks. Fixes #4651 2009-10-02 16:28:51 +02:00
Yann Leboulanger 4db1d2738c process links and latex in HTML messages. Fixes #5053, #4539 2009-09-23 19:04:12 +02:00
Benjamin Richter c3d5c8cca2 Make fuzzyclock code more concise.
Also use % formatting instead of string replace.
Translation files updated accordingly.
2009-09-07 20:23:35 +02:00
Yann Leboulanger 682d6f838a add account combobox to join groupchat dialog when we try to join a groupchat from another chat / groupchat. Fixes #3344 2009-09-02 23:45:16 +02:00
Yann Leboulanger 3a09185cb9 [avm] limit the number of emoticons / latex formulas to 100 per message. Fixes #5129 2009-08-28 13:32:47 +02:00
Yann Leboulanger d0da7cb14e don't move selection when new text arrives and selection goes until the end of conversation textview. Fixes #5223 2009-08-28 13:23:12 +02:00
Yann Leboulanger 4917ffdbcc Fix traceback when right click on email in history viewer. Fixes #5131 2009-07-09 19:06:08 +02:00
Yann Leboulanger 4458db5d2c [Yrogirg & I] add a first quote ability. see #2943 2009-04-30 13:36:29 +00:00
Yann Leboulanger 67fb611bd3 add * when we print /me in html text 2009-04-12 10:14:27 +00:00
Yann Leboulanger be6fe24630 hide XEP-184 tooltip when needed. Fixes #4855 2009-03-01 16:59:06 +00:00
Yann Leboulanger beb32a3d1c handle error messages correctly. Fixes #4783 2009-02-09 19:38:05 +00:00
Brendan Taylor 898bc7c347 gave latex processing its own file, merged duplicate processing and
detection code
2009-01-09 19:55:26 +00:00
Brendan Taylor 9298312369 detect latex support at startup 2009-01-09 18:40:17 +00:00
Brendan Taylor b03483868b don't display weird image in chat window when latex fails 2009-01-08 00:47:03 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 60ba33eb31 [thorstenp] fix possible undefined loop variables 2008-12-03 17:38:16 +00:00
Yann Leboulanger 31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger e9b1726e99 coding standard 2008-11-30 21:32:59 +00:00
Yann Leboulanger 0c6b1a391b [nebm51] don't open a console window under windows when runnin latex. Fixes #4519 2008-11-24 09:38:28 +00:00
Yann Leboulanger f059f3948f [Florob] handle xmpp: and mailto: in a nicer way in conversations. Fixes #4245 2008-11-21 11:05:11 +00:00
js 4728a3d960 Show warning after 3 seconds - I don't want to wait 4 before I see if
my message has been received. This is a compromise between my 2 secs
and Jim's 4 sec :).
2008-11-20 16:20:19 +00:00
Yann Leboulanger bf93cb76f1 detect latex conversion error and print them in textview. Fixes #4439 2008-11-03 10:33:14 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Jean-Marie Traissard 4917e0c3df Changing receipt not received warning timeout from 2 to 4 seconds, not everybody has a
good connection.
2008-10-13 08:09:29 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Yann Leboulanger 43f2adeaf9 use dvipng instead of dvips + convert. Fixes #4351 2008-09-27 16:46:18 +00:00
Yann Leboulanger 64cc3f907e prevent a traceback when we get 2 'received' XEP-184 message for the same sent message 2008-08-28 13:04:04 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
js 3e0ed305a8 Remove useless semicolons. 2008-08-09 20:14:24 +00:00
js fa4c570a9f Linebreas ftw ;). 2008-08-09 17:16:02 +00:00
js d504aad3af The text still wasn't that good. User-friendly texts sure are hard :). 2008-08-09 16:19:39 +00:00
js 31ff68e67c Better XEP-0184 warning text.
Thanks for doing my work, roidelapluie :)
2008-08-09 16:14:07 +00:00
Julien Pivotto a6686794ac typo 2008-08-07 20:13:34 +00:00
Julien Pivotto 000b0d908b Add a tooltip to the XEP-0184 warning icon 2008-08-07 20:05:08 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
js 8abacfdb8f A few new files were added with the new Gtk+. Update NSIS. 2008-07-23 13:33:23 +00:00
js 65d5d92087 * End ESession when remote signs off.
* Fix typo.
* Better code in conversation_textview.py.

@bct: Your diff didn't work, I had to move it + add an if. Seems to
work now.
2008-07-22 14:32:37 +00:00
js f5d92c296b Nicer XEP-0184 warning image. 2008-07-19 14:45:04 +00:00
js 053a1be708 Use timeout_add_seconds - that easier on the resources. 2008-07-19 12:08:01 +00:00
js ed48bffa08 Only show the XEP-0184 warning if the message has not been received
in 2 seconds.
2008-07-19 11:57:03 +00:00
js f704701ba4 Support for displaying XEP-0184 receipts. 2008-07-18 20:24:34 +00:00
Stephan Erb fca6bdbbc4 [Florob] Improved URL matching.
We don't match all valid URIs like blub:blaa but include common used (non)-urls like www.google.de
2008-07-08 18:49:51 +00:00
Yann Leboulanger d764cc26be when we right click on a word in conversation textview, even if it's not selected, show actions menuitem to look in dictionary and so on. see #2874 2008-06-20 09:31:15 +00:00
Yann Leboulanger 8f9c097343 [Yrogirg] configurable latex formulas font size. Fixes #3986 2008-06-02 08:10:36 +00:00
Jean-Marie Traissard 8b8f139f79 Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643.
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Jean-Marie Traissard 968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Yann Leboulanger 5dd0d4fce8 move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873 2008-04-17 14:17:14 +00:00
Yann Leboulanger e40cb0d4b3 use -alpha option only with recent version of imagemagick. fixes #3755 2008-04-01 23:33:23 +00:00
Yann Leboulanger f0b2ee4027 stop automatic scroll when user manually scroll conversation textview. Fixes #3716 2008-03-10 16:21:26 +00:00
Yann Leboulanger cb51401903 [shivan] don't trat emoticons created with parenthesis arround status message. fixes #3368 2008-02-26 08:31:48 +00:00
Yann Leboulanger 8bb9df92d4 fix syntax 2008-02-04 15:29:33 +00:00
Yann Leboulanger 5951ea5d86 fix coding standards 2008-02-04 15:22:36 +00:00
Yann Leboulanger e0e86b8f91 don't generate transparent png file when rendering latex expressions. 2008-01-29 18:24:22 +00:00
Stephan Erb 1b5b9138a4 Kill risk of double color usage when color pool is not exhausted.
Make code a bit more pythonic.
2008-01-05 22:07:53 +00:00
Jean-Marie Traissard 314a52708e CodingStandards : No space in indentation 2007-12-27 18:58:07 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger 968ebff481 [thopi] improve emoticons in textview. fixes #2933 2007-10-21 13:05:12 +00:00
Yann Leboulanger 3b26020775 don't show both normal and hyperlink menu when we right click on a link. fixes #3430 2007-09-07 07:13:48 +00:00
Yann Leboulanger e556c1084d fix TB when scrolling is too long 2007-09-04 21:36:35 +00:00
Yann Leboulanger 7bd952d691 [Geobert] Smooth scrolling of conversation textview. see #3358 2007-08-22 22:08:04 +00:00
Yann Leboulanger ea015ac5e2 fix the removal of focus_out_line in groupchat since we remove old lines in textview 2007-08-07 13:13:49 +00:00
Yann Leboulanger fb3eeb4a40 add a limit to the number of lines displayed in conversation textview. 2007-07-21 14:58:56 +00:00
Yann Leboulanger 1114b4c946 [thecurse] blacklist of latex commands. fixes #2796 2007-04-26 17:06:05 +00:00
Yann Leboulanger 798fd0e25a [thecurse] add latex support (run dvips and convert externaly) through use_latex ACE option. fixes #2796 2007-04-25 21:51:08 +00:00
Jean-Marie Traissard 578fd59361 Use one focus_out_line pixbuf for all conv_textview instances 2007-02-08 23:00:27 +00:00