Commit Graph

277 Commits

Author SHA1 Message Date
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
Yann Leboulanger cb0b669b45 detect URL before email. Fixes #1261 2006-01-15 13:55:19 +00:00
Travis Shirk 733549f3b0 Groupchat hacking 2006-01-06 01:54:33 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Nikos Kouremenos 9385f1074f [greblus] preferences window now can control the color of URLs 2005-12-25 23:48:08 +00:00
Nikos Kouremenos 17f28f9388 add catching for links and emots in history window 2005-12-12 13:00:46 +00:00
Yann Leboulanger 180911e563 split print_conversation_line into sevral functions 2005-12-12 09:12:06 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Norman Rasmussen 425023e05c Closes #1231 2005-12-08 18:28:35 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Nikos Kouremenos da66495f36 remove trailing whitespaces 2005-12-07 18:00:29 +00:00