Commit Graph

288 Commits

Author SHA1 Message Date
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
Yann Leboulanger 0a10659b07 [B.Steinbrink & me] improve perfrmences when using animated emoticons. see #2933 2007-02-07 08:59:40 +00:00
Jean-Marie Traissard d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Yann Leboulanger cac2832701 revert bad change from [7807]. focus_out_line in gc are now not moved on each message. 2007-01-22 21:08:54 +00:00
Yann Leboulanger 2403239695 use get_time_to_show in conversation_textview that print "yesterday" or "X days ago". fixes #2797 2007-01-15 18:37:19 +00:00
Yann Leboulanger dc4f4922af [Brice Maron & I] add option to configure the way time is printed. fixes #2797 2007-01-12 19:27:00 +00:00
Jean-Marie Traissard 6b0edad24d Memory usage : Don't store some vars in self when not necessary 2007-01-09 23:09:14 +00:00
Nikos Kouremenos 239d2308c8 fix logic allover 2007-01-06 10:20:13 +00:00
Nikos Kouremenos 5099ae35bb fix logic 2007-01-06 10:17:55 +00:00
Nikos Kouremenos 978068378d if span with no id, we have an anonymous tag. make sure we do not TB. fix #2856 2007-01-06 10:14:05 +00:00
Yann Leboulanger 2bbebe11c6 update URL and Mail colors in chat windows instantly. 2006-12-03 12:23:44 +00:00
Jean-Marie Traissard 689372d9ae Use new groupchat icon in conv_textview too.
Remove some evil dup code
2006-11-27 13:14:29 +00:00
Nikos Kouremenos eed1a0c75e show time correctly [it was failing at least in Windows]. see #2514 2006-11-25 14:34:53 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 9347fe10e1 Remove lot of useless imports
Fix gajim-remote contact_info
Fix profile_win right click on avatar
Fix a call and a comment
Thanks pyflakes (a program, not a person) for the whole.
2006-11-15 01:59:21 +00:00
Yann Leboulanger 3e18b3b7fc don't ensure_utf8_string() when prefferedencoding is not 'UTF-8'. fixes #2514 2006-11-08 08:09:42 +00:00
Nikos Kouremenos 7bcc6dd246 no need for [7252]. it is already done by GTK. we do not hide, nobody hides. std context menu with 2 or menuitems is baaaad. user eyes are used to finding paste under cut copy etc 2006-10-15 17:13:55 +00:00
Nikos Kouremenos 06ef2a1a24 Cut Paste and Delete menuitem from conversation popupmenu become INSENSITIVE (not removed!) 2006-10-15 16:40:42 +00:00
Nikos Kouremenos 467f4d8aa1 actions for string can be max 2 lines 2006-10-15 12:59:23 +00:00
Yann Leboulanger e8151ed1d2 remove Cut Paste and Delete menuitem from conversation popupmenu. fixes #2567 2006-10-14 14:54:54 +00:00
Nikos Kouremenos 627469e5e0 from common.exceptions import GajimGeneralException as GajimGeneralException -> from common.exceptions import GajimGeneralException 2006-10-10 15:29:10 +00:00
Jean-Marie Traissard ca238eb828 lower jid/email in right click in conv_textview 2006-10-08 21:43:07 +00:00
Nikos Kouremenos 8d74950f42 use GajimGeneralException instead of RuntimeError everywhere we meant to use that 2006-10-08 12:07:33 +00:00
Nikos Kouremenos ac225d4954 do not do utf-8 twice; make sure before_/after_time/name possible newlines are taken into account in history window too 2006-10-08 00:28:33 +00:00
Nikos Kouremenos fe586078c9 hig 2006-10-07 15:05:22 +00:00
Nikos Kouremenos 607f473cc8 do not show Clear menuitem in TextView in History Window 2006-10-07 13:23:20 +00:00
Nikos Kouremenos db177b7f8f right click on selected phrase now also has Open as link 2006-10-07 12:50:34 +00:00
Nikos Kouremenos 8dfb1a5a66 unite room and server name resulting in a room jid interface [so it aligns with add new contact]. fixes #2504 2006-10-07 12:18:51 +00:00
Yann Leboulanger 6b40b5ad32 [Santiago Gala] we can now see XHTML (JEP 0071). See #316 2006-10-03 14:12:42 +00:00
Nikos Kouremenos 9002b3d293 put my email (and jid), not one of my JIDs 2006-09-28 11:31:25 +00:00
Nikos Kouremenos c17b18a70c add a FIXME 2006-09-25 12:04:30 +00:00
Nikos Kouremenos 1347aa1de6 a gtk req that will never be done. rm the FIXME 2006-09-23 14:47:05 +00:00
Yann Leboulanger 229d86ae9d before/after_time/nickname are now textviews in pref window. So that they can contacin \n and \t chars. Fixes #2206 2006-09-20 20:00:20 +00:00
Nikos Kouremenos 3420ddaffa fix a FIXME (do not reload muc_separator.png everytime) 2006-09-17 14:33:18 +00:00
Nikos Kouremenos 7c325b1e7c make a comment more accurate 2006-09-06 13:31:12 +00:00
Nikos Kouremenos bd01e5719b INTRODUCING ensure_utf8_string, use it to fix BLOCKER bug for Gajim/Windows (#2392) 2006-09-06 13:28:38 +00:00
Jean-Marie Traissard cb555a148c Set right color for /me whith gc_nickname_color* 2006-09-02 09:56:52 +00:00
Yann Leboulanger 2785639d52 [Christoph Neuroth] Fix fuzzyclock times for old conversations. Fixes #2227 2006-08-21 10:20:33 +00:00
Yann Leboulanger 2d876923d9 move the draw og the focus out line to conversation_textview.py
reset focus_out_end_iter_offset var when we clear the textview. Fixes #2175
2006-07-27 10:54:12 +00:00
Jean-Marie Traissard 169a69cca9 Do not print time for type info lines in GC 2006-07-01 18:35:57 +00:00
Jean-Marie Traissard 1a9d4690b0 [ roidelapluie ] Use differents colors for nickname in gc for each occupiant. Fixes #2084. 2006-06-22 14:44:06 +00:00
Yann Leboulanger 7ec7acbb27 [delmonico] fuzzyclock 2006-06-15 07:14:39 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov d3338ad9c4 prevent TB 2006-06-05 21:02:19 +00:00
Dimitur Kirov d4b6cb7aa6 set wrap WORD_CHAR and skip horizontal scrlbar 2006-05-27 09:18:30 +00:00
Dimitur Kirov d0bb4b3f53 prevent TB 2006-05-20 19:06:16 +00:00
Yann Leboulanger 5942399214 [Geobert] ability to remove nickname in chat when consecutive message from same person. Fixes #1942 2006-05-08 08:19:20 +00:00
Yann Leboulanger 2e06ec6d7e new ACE option: print_status_in_muc. Fixes #1502 2006-05-03 13:22:05 +00:00
Dimitur Kirov 690e3a5d3a fix TB 2006-05-02 16:25:59 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Dimitur Kirov 482ea2fed0 suppress warning for not registered signal 2006-04-19 12:21:06 +00:00
Dimitur Kirov 84e7b2926b better way of doing #1872 2006-04-19 09:08:27 +00:00
Dimitur Kirov 27f1461abe get timeformat in utf-8 2006-04-19 07:51:11 +00:00
Dimitur Kirov 5c9613db65 break more circular references that keep
objects alive (the other 1/2 of #1829)
context menu for groupchat banner
2006-04-18 15:36:16 +00:00
Yann Leboulanger 01a9da1e35 typo 2006-04-11 11:41:02 +00:00
Nikos Kouremenos 2eb1759a7f now we can launch history manager via Roster Window (under advanced) fixes #1616 2006-03-21 14:26:01 +00:00
Dimitur Kirov 4abd0a9d42 use emoticons_theme, instead of useemoticons
( #1715 )
2006-03-17 11:11:45 +00:00
Yann Leboulanger 15a1451f7f missing import 2006-03-05 22:13:37 +00:00
Yann Leboulanger 743d514997 strftime returns local-encoded string. decode it. Fixes #1662 2006-03-05 22:09:39 +00:00
Dimitur Kirov 2efb4c2837 show_tooltip with the new arguments
(widget_height, widget_y_position)
2006-03-01 17:36:44 +00:00
Yann Leboulanger fff4cccb7d remove debug print 2006-02-21 23:00:37 +00:00
Yann Leboulanger 60a4b3cf20 print_conversation can now have contact = 'info' to print information strings. Fixes #1531 2006-02-21 20:24:18 +00:00
Yann Leboulanger 882555b538 recognize sip as an URL before email 2006-01-20 13:18:48 +00:00
Yann Leboulanger 2dc4eb3f21 [campey] not in the roster -> Not in Roster. Fixes #1054 2006-01-19 21:55:01 +00:00
Nikos Kouremenos da1226df62 gain in readability and speed [extra care as we call this method every time we print a msg] 2006-01-18 21:24:57 +00:00
Nikos Kouremenos b22bf5b404 [dakilla] fix a typo 2006-01-18 14:09:02 +00:00
Yann Leboulanger 575a97cc67 keep translation comment as it is 2006-01-18 12:22:26 +00:00
Nikos Kouremenos 1f1e5c29c9 fix campey's patch readbility and enrich with comments so it is understandable by first look and so maintainable 2006-01-18 10:26:59 +00:00
Alex Mauer 21ae29924b Patch from campey@informationlogistics.co.za: Use a simpler/cleaner
method to show the timestamp date difference of chat messages
2006-01-17 22:36:54 +00:00