Commit Graph

6768 Commits

Author SHA1 Message Date
Stephan Erb bbb07caa0a Coding standards. 2008-05-08 21:18:39 +00:00
Stephan Erb 5b5412621e Fix assertion message. 2008-05-07 18:07:31 +00:00
Stephan Erb 09b3af3367 Allow to have several SelfContact jids in merged accounts mode. Previously only one was shown. 2008-05-07 17:42:42 +00:00
js dbdf6a135e Improve the last commit, popup is shown under the button now. 2008-05-07 16:36:45 +00:00
js 4c29f03d6c Make Alt-A work again. 2008-05-07 16:24:15 +00:00
js 99a8c05bb8 * Converted GC to new GUI as well.
* Moved some code so we can get rid of a few ifs.

What still needs to be done for the GUI redesign to be complete:
Don't show entries in the actions menu that have buttons.
2008-05-07 15:34:00 +00:00
Yann Leboulanger e31324f740 string prep nickname before joining. Fixes #3770 2008-05-07 10:23:29 +00:00
Stephan Erb d6b95daa8b Add transports to roster only once. Fixes #3911, #3923. 2008-05-06 22:25:27 +00:00
Stephan Erb 1e68eb3de9 Sync groups of metacontacts to fix a potential bug. Contact iters of brothers might not be found, though they are in roster. 2008-05-06 17:43:03 +00:00
Stephan Erb b1a2951634 Make "invite to" menuitem sensitive when possible. Regression introduced in r9524. 2008-05-06 16:46:33 +00:00
Yann Leboulanger 3193a8e8cf [Florob] Send and handle nicknames reveices through PEP. Fixes #3651 2008-05-05 21:55:59 +00:00
js ab1f59c433 Same for groupchat. 2008-05-05 18:43:44 +00:00
js b42a89d269 Why enforce /say if we can just imply /say when it's a not implemented
command? This is far more userfriendly. If you have any objections,
feel free to revert and I'll think of something else that's not as
annoying as /say.
2008-05-05 18:37:15 +00:00
Yann Leboulanger 2f225c2b22 enable keepalives as soon as account is created. Fixes #3769 2008-05-05 09:18:46 +00:00
Yann Leboulanger da3e8a7328 remove a connect_failure callback when we are connected. Fixes #3914 2008-05-05 08:50:07 +00:00
Yann Leboulanger 2560f844c1 [Florob] ability to retract pubsub events. fixes #3913 2008-05-05 07:48:13 +00:00
Jean-Marie Traissard 75ffe12157 Change very bad var names 2008-05-05 03:18:09 +00:00
Jean-Marie Traissard 5742d2e1e7 We do not need to check that, it's already done in conn_handlers._MucAdminCB() 2008-05-05 00:44:08 +00:00
Jean-Marie Traissard 5689daf66b In configure room, works even if we receive an affiliation list with more than one affiliation inside.
More logical, more secure and example 90 in xep-0045 says it can happen. Deal also with affiliation 'none' (don't show it)
2008-05-05 00:38:52 +00:00
Stephan Erb f217ae91f5 Fix indentation. Please test patches before commiting... 2008-05-05 00:05:20 +00:00
Yann Leboulanger ea8af84886 [mrk] remove an old gnomekeyring workarround. Fixes #3920 2008-05-04 21:44:05 +00:00
js eb468c5d4a Redesign the chat window GUI. Should be more userfriendly now. 2008-05-04 20:47:51 +00:00
Brendan Taylor 1962b231e6 pm bugfix 2008-05-04 00:24:27 +00:00
Brendan Taylor be0af1a56b couple of quick bugfixes 2008-05-03 23:19:02 +00:00
Brendan Taylor d15b9dea6e reuse existing chat sessions and controls 2008-05-03 16:52:27 +00:00
Brendan Taylor f3b154e429 made compatible with python 2.4 2008-05-03 16:50:16 +00:00
Jean-Marie Traissard 9c8c5a924c Even load the pixbuf only once. 2008-05-03 10:59:18 +00:00
Stephan Erb d95c087ffa Remove debug remains. 2008-05-03 10:20:56 +00:00
Stephan Erb 8c963e2de0 Load icons for history window only once. 2008-05-03 10:15:47 +00:00
Jean-Marie Traissard bd812b8f26 [elghinn] Specify exception we want to catch so we see if there are others
problems.
2008-05-03 01:30:05 +00:00
Brendan Taylor 99f2997d27 pm fixes 2008-05-03 00:10:17 +00:00
Jean-Marie Traissard d77b4feb9f Search function in good module. Fixes #3915. 2008-05-02 23:25:31 +00:00
Jean-Marie Traissard f3fec5c791 oups, syntax error 2008-05-02 16:15:39 +00:00
Jean-Marie Traissard 7ce16668fb Remove 2 generalization in dialogs, we are not generalizing here. 2008-05-02 14:36:28 +00:00
Brendan Taylor 20beea4b49 fixed groupchat 2008-05-02 02:32:28 +00:00
Jean-Marie Traissard b6c10c31d4 Remove useless import 2008-05-02 02:12:16 +00:00
Jean-Marie Traissard cb9d2a3ca0 Revert "when removing last metacontact little brother, remove meta tag for big brother" from [9553],
that breaks meta over multiple accounts. Thanks steve-e
2008-05-01 18:24:31 +00:00
Jean-Marie Traissard 7144520bc0 Fix edit group problems :
-redraw group expand state
-when removing last metacontact little brother, remove meta tag for big brother. Else that confuse when
moving via edit group.

Note that edit group is broken by http://trac.gajim.org/changeset/9551
2008-05-01 14:27:53 +00:00
Stephan Erb 79f4d22fa4 Fix inconsisten indentation. 2008-05-01 08:40:20 +00:00
Stephan Erb df5a4c2281 Reimplement _get_contact_iter to be faster in bigger rosters. 2008-05-01 08:38:08 +00:00
Jean-Marie Traissard 299f560749 This is needed finally, reverting from previous changeset 2008-05-01 02:32:57 +00:00
Jean-Marie Traissard 6c8d196383 [modelfilter]
-fix row not expanded when contact connected in group with no one online yet
-fix WHEN filter is done when contact disconnect/connect
-fix number of connected contacts not showed for new groups
-fix General created when moving a contact to another group
2008-05-01 02:13:00 +00:00
Brendan Taylor d4a766963f multiple chat session windows per contact. groupchat and pms broken. 2008-04-30 02:55:13 +00:00
Jean-Marie Traissard 60bb033a90 Cleaner way to check for account line expand state. Fixes #3884. 2008-04-30 00:51:36 +00:00
Jean-Marie Traissard 6b465a4218 Some little on_model_row_has_child_toggled() speedups 2008-04-30 00:28:34 +00:00
Jean-Marie Traissard d555954ee5 [modelfilter]
-restore call to _adjust_group_expand_collapse_state() even if not filtering in
on_model_row_has_child_toggled(). Is used.
-restore "# Draw the contact and its groups contact" removed in last changeset but
-change way to toogle self.starting so it works when add_account_contacts() is called from gajim.py too. One
useless call to draw_account() added, maybe.
-If showingOfflines, all contacts are visible, set visibility True FAST
2008-04-29 23:50:44 +00:00
Jean-Marie Traissard cc97c3ce7b [modelfilter]
-Always use self.modelfilter instead of self.tree.get_model()
-filter twice to show groups with no contacts inside in the correct expand state when showingOfflines. ( We
can't expand the group before we filter, and we need to filter to effectively show tree expand state in model )
-UNSURE : call _adjust_group_expand_collapse_state() only if filtering in on_model_row_has_child_toggled(). That
seems sufficient and when not filtering, it works better with :
-when contact change status, don't refilter, only adjust group row state. Steve-e, do we need to filter in a
case I don't see ?
-in visible_func : Don't initialize 'accounts' var if not needed
-Don't draw anything in add_contact(), that seems to be done somewhere else anyway
2008-04-29 22:07:59 +00:00
Jean-Marie Traissard ab8d2f6320 Add missing call to adjust_group_expand_collapse_state() 2008-04-28 22:49:19 +00:00
Jean-Marie Traissard 2056ee8886 [steve-e only]modelfilter fixes about group and account collapse
little bug, fix follow
2008-04-28 22:46:49 +00:00
Yann Leboulanger ec08797805 [js] fix nick completion in groupchats 2008-04-28 21:13:13 +00:00
Jean-Marie Traissard f0c4bef25d Wrap text in change subject dialog and use a bigger width. Subjects are usually long and on one line. 2008-04-28 18:19:25 +00:00
Yann Leboulanger 96a50f6c07 don't depend on python2.5 Fixes #3888 2008-04-27 18:11:34 +00:00
Yann Leboulanger a9e25aa98a fix arguments of on_open_chat_window functions. It is called from callbacks, so first argument is widget. 2008-04-26 23:36:03 +00:00
Stephan Erb 8929f4e630 Fixing a few modelfilter bugs.
* Show all groups in merged accounts view that have online contacts. Fixes #3890
 * Allow metacontacts over several accounts. Fixes #3889
 * Fix on_drop_in_group when two accounts in merged view have the same contact
 * Fix potential traceback when receiving a message
2008-04-26 10:18:33 +00:00
Brendan Taylor 2648aa4a9f tictactoe: notify user of when won/lost 2008-04-26 02:06:08 +00:00
Brendan Taylor 051bd6e1b7 fixed e2ee traceback 2008-04-26 01:52:03 +00:00
Yann Leboulanger 613753f308 [elghinn] codding standards 2008-04-24 13:47:37 +00:00
Yann Leboulanger 07a8d9d948 category is mendatory 2008-04-24 13:44:09 +00:00
Yann Leboulanger 6990b23bcc fix groupchat addition to roster 2008-04-24 07:52:11 +00:00
Stephan Erb 75e44510a1 Add parameter checks to public API. Remove boiler code. 2008-04-23 22:52:22 +00:00
Stephan Erb 29d2e00803 Small roster API cleanups. 2008-04-23 22:34:10 +00:00
Yann Leboulanger f4f38e3738 type in identities is not mendatory 2008-04-22 23:52:04 +00:00
Jean-Marie Traissard a43e6d2cfa Oops, *I* made an error in last changeset 2008-04-22 18:48:41 +00:00
Jean-Marie Traissard ea3f446d8a [elghinn] Fix logic 2008-04-22 18:43:50 +00:00
Stephan Erb 465aab8200 Fix Modelfilter regression: disconnecting a minimized groupchat was broken. 2008-04-21 22:34:32 +00:00
Stephan Erb fb12c17fb9 In obvious cased, don't compare boolean values to True or False. 2008-04-21 20:52:35 +00:00
Stephan Erb 92b596a698 Use startswith() instead of string slicing to check for prefixes or suffixes.
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Stephan Erb f877fbea13 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."


Apply do roster_window. See r9488.
2008-04-21 20:23:03 +00:00
Stephan Erb e504cee6fb Revert r9519. It was breaking DND. 2008-04-21 20:07:08 +00:00
Stephan Erb 7d8f72d663 Show correct color of status_messages in roster in more cases.
This is only a simple port of the old non-modelfilter method. Functionality not restored yet: Custom colors are lost when refiltering the model.
2008-04-21 19:57:48 +00:00
Stephan Erb b56c0c94af Connect drag'n'drop signals in glade. 2008-04-21 19:02:24 +00:00
Stephan Erb dc266592b7 Remove unused variables. 2008-04-21 18:52:15 +00:00
Jean-Marie Traissard 68fdb002df Use good message time 2008-04-21 16:35:39 +00:00
Jean-Marie Traissard 94580b3019 Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Yann Leboulanger f2f0c7aba0 use tuple instead of dict in __name: dict are not hashable 2008-04-21 14:44:19 +00:00
Yann Leboulanger dc48eeea96 fix static variable usage 2008-04-21 14:18:19 +00:00
Yann Leboulanger f593c5c2ac fix property definition 2008-04-21 14:16:20 +00:00
Yann Leboulanger 0527b7e0ea move __name to static attribute of CacheItem class 2008-04-21 13:16:41 +00:00
Yann Leboulanger 67bd94dd55 fix property code in caps.py 2008-04-21 12:57:34 +00:00
Jean-Marie Traissard 30f1a15efb Don't log room description at each gc connection 2008-04-21 00:00:52 +00:00
Yann Leboulanger a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Jean-Marie Traissard 7ad796a34a Use a file for artists credits instead of hardcoded. Added helper func to get credits files paths 2008-04-20 20:51:05 +00:00
Jean-Marie Traissard 2c891b5b87 Translatable (desync'ed) 2008-04-20 20:06:16 +00:00
Jean-Marie Traissard 47bc1d61b4 Added one unique function to src/gajim.py to add a GC bookmark.
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +00:00
Jean-Marie Traissard 0ca9610680 [elghinn] Cleaner way to check if we have gpg 2008-04-20 18:40:59 +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 1846cfefc6 Remove global temp vars after use 2008-04-20 15:24:34 +00:00
Yann Leboulanger e54d749eec add a new dbus signal when a contact changes his status. fixes #3655 2008-04-20 14:39:08 +00:00
Yann Leboulanger 9f8af02c74 no need of unread events in dbus informations. see #3655 2008-04-20 14:29:39 +00:00
Stephan Erb 4e6bd4ee8f Port roster_window to gtk.TreeModelFilter.
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.

See #1201
2008-04-20 14:01:04 +00:00
Jean-Marie Traissard 0374e72b28 Use one function to join bookmarks automatically only. Fix bug "all bookmarks joined minimized when going back
from invisible". Not sure it's right place for this function.
2008-04-19 23:39:09 +00:00
Yann Leboulanger 54608822a3 always say we want to receive pep notifications even if server don't support it. 2008-04-19 22:08:40 +00:00
Yann Leboulanger ffbc0c65bc use a textview to change subject of a room. Fixes #3858 2008-04-18 19:15:03 +00:00
Yann Leboulanger 0158db6001 show better error message when sending message to a room where we are no more connected. fixes #3870 2008-04-18 18:35:53 +00:00
Yann Leboulanger ef97e91a1d put namespace name in protocol.py 2008-04-18 18:19:33 +00:00
Yann Leboulanger 041969309d add many supported features to disco#info reply. fixes #3872 2008-04-18 18:10:12 +00:00
Jean-Marie Traissard a095a3249e [elghinn] Set default icon before creating roster so it's done for roster too 2008-04-18 09:43:26 +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
Jean-Marie Traissard 2ce13dc40e 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
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger b35b2f9ad0 fix function call. fixes #3875 2008-04-17 19:26:09 +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 278d63ca35 indentation 2008-04-17 06:55:12 +00:00
Yann Leboulanger 2d04fc6ae6 don't hide roster on startup if no systray module is available 2008-04-17 06:34:32 +00:00
Jean-Marie Traissard fbc1ae9b5c fix possible TB (can be None) 2008-04-16 21:39:58 +00:00
Yann Leboulanger fdf46e5430 one more typo 2008-04-16 19:52:47 +00:00
Yann Leboulanger 18c8500f9b really fix SQL query 2008-04-16 19:41:36 +00:00
Yann Leboulanger 4bfd971415 fix sql query 2008-04-16 19:22:16 +00:00
Yann Leboulanger 158231493a remove useless print 2008-04-16 14:52:43 +00:00
Jean-Marie Traissard df257baef5 Added helpers to commit in logger.py
Trying to ignore line for #3865
2008-04-16 13:46:44 +00:00
Yann Leboulanger 3aefee4700 try all IPs of a given host in case first one fails. Fixes #2958 2008-04-16 11:02:01 +00:00
Yann Leboulanger b936fa4bfe coding standards 2008-04-15 22:51:41 +00:00
Yann Leboulanger b7fcb776b9 try to auto-convert emoticons.py files to the new format. Fixes #3696 2008-04-15 22:04:39 +00:00
Yann Leboulanger 6d8dd51db0 show/hide ipython window instead of create/destroy 2008-04-15 18:09:04 +00:00
Jean-Marie Traissard 88f7abd795 Fix "You are already in this GC" bugging at reconnection. Happened if we receive
bookmarks after we already reconnected to opened GC
2008-04-15 17:25:59 +00:00
Yann Leboulanger f6f6f9fe5c add BSD copyright to ipython_view.py file 2008-04-15 16:19:06 +00:00
Yann Leboulanger 0568a4b32b typo 2008-04-15 15:59:13 +00:00
Yann Leboulanger 1a2f60186a Don't fail on windows if bonjour is not installed. fixes #3861
socket module doesn't have AI_ADDRCONFIG attribute under windows
2008-04-15 15:58:07 +00:00
Jean-Marie Traissard edb5910c1d prevent traceback when ping reply arrives after we close the control; without
error too. Fixes #3859.
2008-04-15 12:36:10 +00:00
Yann Leboulanger 5348c3a37f add ACE option to configure interval between 2 idlness checks. default to 2 seconds. fixes #3004 2008-04-15 09:35:36 +00:00
Yann Leboulanger e7f88e6dd6 prevent traceback when ping reply arrives after we close the control. fixes #3859 2008-04-15 09:02:36 +00:00
Brendan Taylor 76808901eb check tic-tac-toe win conditions, slimmed down _messageCB some more 2008-04-15 05:32:45 +00:00
Jean-Marie Traissard 2c4e901b8f Fix table creation typo.
Btw thanks elghinn for idea of this table :)
2008-04-15 02:05:08 +00:00
Jean-Marie Traissard 8f84ff29f5 fix indent 2008-04-15 01:54:31 +00:00
Jean-Marie Traissard f32901d243 Create a new small table in DB to remember rooms last_history_line at next
launch. This is necessary because with a big history get_last_date_that_has_logs
can take about 5 seconds on first launch.
Created new gajim subversion.
2008-04-15 01:52:11 +00:00
Yann Leboulanger 29dd9d2576 added ipython for SVN users only. 2008-04-14 15:19:09 +00:00
Brendan Taylor b170e77cdb functioning tic-tac-toe :D 2008-04-11 03:52:45 +00:00
Yann Leboulanger bdac12d789 don't go autoaway when screensaver is activated is user disabled the autoaway option. Fixes #3824 2008-04-10 14:47:12 +00:00
Yann Leboulanger b04d6aea63 correctly detect vcard error from groupchat participants (with fake jid) 2008-04-09 21:30:12 +00:00
Yann Leboulanger db59de9397 fix argument in a menu.popup() call 2008-04-07 12:58:34 +00:00
Stephan Erb 7e6431fcea Small fixes for activity dialog. 2008-04-07 11:44:35 +00:00
Yann Leboulanger 05218db68a [rOOt & Asterix] use get_uf_activity/mood to translate them. store subactivities according to selected activity. fixes #3809 2008-04-07 11:17:33 +00:00
Stephan Erb 855a72855d Add get_uf_* functions to make mood and activity translatable. 2008-04-07 11:14:23 +00:00
Brendan Taylor d034078c03 rearranged _messageCB and split it into multiple methods 2008-04-06 22:21:46 +00:00
Yann Leboulanger da966efaa7 use getaddrinfo to know if we should use ipv4 or v6 for zeroconf 2008-04-06 21:33:40 +00:00
Yann Leboulanger 067d9dbf2b make zeroconf work correctly on both ipv4 and ipv6. Bind on an ipv6 socket if possible. 2008-04-06 16:51:31 +00:00
Jean-Marie Traissard eb22930361 do a little less loops 2008-04-06 13:23:10 +00:00
Jean-Marie Traissard 06fdc8367b Auto sort bookmarked rooms list (when opening manage dialog and when adding
new one). Fixes #3739.
2008-04-06 13:14:00 +00:00
Jean-Marie Traissard 59cc0a4aa8 Correct indent 2008-04-05 12:53:01 +00:00
Jean-Marie Traissard df13948d87 Make nick cycle works with spaces in nicks, fix a possible bug if gc_refer_to_nick_char is not ",". Fixes #3810. 2008-04-05 12:48:39 +00:00
Yann Leboulanger e341548d25 really ignore GTK warnings under windows 2008-04-04 21:31:27 +00:00
Yann Leboulanger 163b680200 don't translate user_mood and user_activity 2008-04-04 20:24:55 +00:00
Stephan Erb b991b32886 Add missing tooltip and markup in vcard window. See #1069. Make string a doc string. 2008-04-04 15:10:50 +00:00
Stephan Erb e95a9fa5ef Fix indentation. 2008-04-04 09:51:49 +00:00
Stephan Erb bea91baeaa Remove useless group redrawing. Remove unused variable. 2008-04-04 09:44:47 +00:00
Stephan Erb 611a53422e A few small PEP GUI and code changes. No new functionality. 2008-04-03 22:50:03 +00:00
Stephan Erb 573ae48a43 History Window:
* Make usage of history_window (hopefully) more straight forward. (widget placement, focus, shown nicks, completion...)
* Kill two bugs where wrong nicknames were shown in chathistory and results window.
* Rename functions to make clear that their are intended for private usage only.
2008-04-03 17:48:55 +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 f3665cd689 don't remove metacontact when we reconnect. fixes #3771 2008-04-01 23:13:10 +00:00
Jean-Marie Traissard c497087115 Continue to check message for HL words after we found one that could be only the beginning of another real word. 2008-04-01 19:57:27 +00:00
Jean-Marie Traissard d10e203255 Cleaner version to check if char after a highlight is an alphanum or not 2008-03-30 21:45:51 +00:00
Jean-Marie Traissard 39d18c893d Fix logic, fix char code 2008-03-30 21:16:35 +00:00
Jean-Marie Traissard 75983ff571 Some "jep" -> "xep" 2008-03-30 20:35:02 +00:00
Yann Leboulanger 61be183c8e don't stop autoconnect after first account 2008-03-30 12:05:04 +00:00
Yann Leboulanger a6e06b3bca add autoconnect_as feature to autoconnect as away or invisible 2008-03-30 11:50:59 +00:00
Yann Leboulanger 1c313ed242 update string printed when running gajim -h to show --config-path option 2008-03-27 13:59:03 +00:00
Yann Leboulanger 849a235263 [Nico Gulden] typo in some strings 2008-03-24 21:59:39 +00:00
Yann Leboulanger 6de493fbb5 update GC_Contact instance when we change our nickname in a room. fixes #3784 2008-03-24 09:16:03 +00:00
Jean-Marie Traissard 11e4945158 Use appropriate function to remove a line in unread_message table. See #3793. 2008-03-24 00:45:53 +00:00
Yann Leboulanger 4e15d0f0d6 remove lines from unread_messages if messages are no more in logs table. Fixes #3793 2008-03-23 22:52:29 +00:00
Jean-Marie Traissard a0d8aea90b chat_control : fix possible var name confusion
roster : Fix resource problem, gajim.contacts.get_contact() can return first contact instead of specified resource. Fixes #3789.
2008-03-23 17:44:47 +00:00
Yann Leboulanger 8aa1573e78 make About dialog not use run() function. fixes #3788 2008-03-23 11:14:50 +00:00
Travis Shirk 4b0ab39716 bumped (C) 2008-03-22 21:02:19 +00:00
Travis Shirk 8db2a68632 More sizing fixes. Along with [9408] closes #3713 2008-03-22 20:51:19 +00:00
Travis Shirk 00fe194744 Single window mode to any other resulted in the roster being the size of the roster + any chats that were in the orignal window. This fixes that. (#3713) 2008-03-22 18:19:56 +00:00
Yann Leboulanger d1a685c4a7 typo in a string 2008-03-22 08:52:46 +00:00
Yann Leboulanger 45211c43f5 coding standards 2008-03-21 17:17:12 +00:00
Yann Leboulanger 92690da36b fix zeroconf to be ablt to use IPv6. Fixes #3683 2008-03-21 16:55:39 +00:00
Yann Leboulanger 5b55264c92 fix call to correct function when inviting to room in roster 2008-03-21 12:46:54 +00:00
Yann Leboulanger 1008d162f4 show invitation from anonymous room in roster from a groupchat rather than from a normal Contact. fixes #3448 2008-03-21 12:30:23 +00:00
Jean-Marie Traissard ccb23a9e0c Fix TB introduced in [9400] if using minimized muc 2008-03-20 20:39:51 +00:00
Jean-Marie Traissard ff32d0ccb3 roster.on_quit_request() cleanups :
-Check if there are pending events and send offline even if we don't ask a status message (was a indentation
mistake I think)
- Really make unread and recent working according to 'notify_on_all_muc_messages' value
- be faster, hopefully
2008-03-20 20:26:58 +00:00
Jean-Marie Traissard 9e15e4bcab do not redraw_tab too much if not needed 2008-03-20 19:37:20 +00:00
Jean-Marie Traissard d7a6734601 Clarify how roster.quit_on_next_offline works with comments.
Use only one function when user wants to quit. Bad dup code !
Maybe see #3643.
2008-03-20 16:31:21 +00:00
Jean-Marie Traissard e07ce48240 Restore single click behaviour. Function was called 2 times by mistake. 2008-03-19 23:53:40 +00:00
Jean-Marie Traissard 88db86bb99 Make jid_is_from_pm works with not-full jid 2008-03-19 23:14:58 +00:00
Jean-Marie Traissard 624a16034e Fix small TBs about last changeset that could happen if some history were manually removed. 2008-03-19 22:01:21 +00:00
Jean-Marie Traissard f9ca40ff1b - Change the way roster.fire_up_unread_messages_events()/logger.get_unread_msgs() work, so it's
faster
- Stop adding pm chat messages received to unread messages. This is in addition to [8311], but
works also when chat win is already opened now.
- Automatically remove unread_message lines for messages older than a month, so we will clear this
table for everybody, and keep it quite clear. Specially because messages can still be blocked here
if it's from someone not in the roster and we don't open it during the session. This can be long
at first connection with this version, because we delete a lot of lines (nearly one per PMs you
received since a long time). Could also be a very little longer during one month.
2008-03-19 21:43:01 +00:00
Jean-Marie Traissard 7dca69467e Stop loading all transport iconsets at launch. Load them on the fly, if and when needed. Speedup gajim start and
use less mem :)
2008-03-19 00:25:28 +00:00
Yann Leboulanger 80aeea1bd0 draw pixbuf at the corect place in cell_renderer_image. Fixes #3775 2008-03-18 12:26:32 +00:00
Jean-Marie Traissard d32e1ae0ed Fix another place where database could be malformed, using Asterix work in [9390]. Fixes #3342. 2008-03-17 19:30:38 +00:00
Yann Leboulanger 0d427eff3b Warn user when database is corrupted and unreadable. Fixes #3761 2008-03-17 07:22:43 +00:00
Yann Leboulanger f3e6a4a120 fix indentation in gajim_remote.py. Fixes #3655 2008-03-16 12:59:04 +00:00
Yann Leboulanger 39c2e612b9 fix group listing in gajim-remote list_contacts and add number of unread events. Fixes #3655 2008-03-16 09:49:41 +00:00
Stephan Erb 8d4a0dd203 Indentation error. Fixes #3768 2008-03-14 12:37:02 +00:00
Yann Leboulanger e572a0cd65 warn user when emoticon theme can't be loaded. fixed #3696 2008-03-14 08:46:10 +00:00
Yann Leboulanger 323c50ec44 coding standards 2008-03-13 09:07:58 +00:00
Yann Leboulanger cc1c4457c3 don't lower jids in DB. They are already stringprep'ed. Fixes #3766 2008-03-13 09:04:43 +00:00
Jean-Marie Traissard 49dcc089a7 Make history window work even if we don't have roster. 2008-03-13 02:12:25 +00:00
Jean-Marie Traissard 67f69fe688 History log checkbutton cleanings :
* Fix a bug when accessing by nickname
* Restore usability for rooms (opened ones) and offlines contacts (but if in roster)
* Don't search account of contact if we already have it
* Disable checkbutton if we don't log for the whole account
2008-03-13 01:15:57 +00:00
Jean-Marie Traissard 801c31e537 Correctly remove highlighted messages events when scrolling at end of textview.
Fixes #3717.
2008-03-12 01:34:41 +00:00
Jean-Marie Traissard 4199789612 Fix sent history (ctrl+up) browse. There was a bug when history was full and we browsed history. 2008-03-11 23:05:56 +00:00
Yann Leboulanger 64c2fb1667 fix some strings 2008-03-11 16:50:35 +00:00
Yann Leboulanger d17b5b7bad new way to create emoticons.py file. fixes #3696 2008-03-10 23:26:04 +00:00
Jean-Marie Traissard 6e84de1fbe Fix indentation error in [9348]. 2008-03-10 22:40:46 +00:00
Yann Leboulanger 1fd13ae4fa fix call to Popen() 2008-03-10 22:11:43 +00:00
Yann Leboulanger d26080a3dd missing space in a string 2008-03-10 21:41:21 +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 3f98f9c53b prevent traceback when there is a row in roster without an associated Contact instance. see #3718 2008-03-10 15:41:06 +00:00
Yann Leboulanger 244d222b82 remove blocked transport from roster when we go offline. see #3718 2008-03-10 15:38:21 +00:00
Yann Leboulanger 866d3c27ca don't hide roster when we press Escape if a chat is opened. Fixes #3751 2008-03-10 15:11:57 +00:00
Yann Leboulanger 7f639f145d Use subprocess instead of Popen2. fixes #3369 2008-03-10 13:27:31 +00:00
Yann Leboulanger 545eb1ec33 Don't fully clean contact list on reconnect. Fixes #3733 2008-03-10 11:20:22 +00:00
Yann Leboulanger 7f73f0418d add the handler on ANC button 2008-03-08 19:34:43 +00:00
Yann Leboulanger 95bf9c4f74 send xml:lang in groupchat presences and configuration request. fixes #3743 2008-03-03 23:00:01 +00:00
Yann Leboulanger cdb31a2b55 remove use_pep option, always PEP it to send played song. fixes #3053 2008-03-03 22:42:04 +00:00
Yann Leboulanger 1b90552446 ability to remove a PEP node 2008-03-02 23:56:39 +00:00
Yann Leboulanger c1ed365521 bigger DataFormWindow 2008-03-02 21:44:43 +00:00
Yann Leboulanger 102ff630fb highlight us when we are mentioned in a /me sentence. fixes #3753 2008-03-02 14:23:52 +00:00
Yann Leboulanger d42f46db4c make password entry sensitive when we check save password checkbutton 2008-03-02 13:08:21 +00:00
Yann Leboulanger 93f76ce6ee make configure button sensitive only when a service is selected in pep window. fixes #3750 2008-03-01 13:26:23 +00:00
Yann Leboulanger d0aa21eb24 commit back MSN transport workaround 2008-03-01 09:56:00 +00:00
Yann Leboulanger 10af723f81 move configuration of pubsub menuitem to account context menu 2008-02-29 22:23:39 +00:00
Stephan Erb b973c4c2bc Alignement and bold typing changes in vcard and profile window. Nothing as usual. 2008-02-28 18:53:49 +00:00
Yann Leboulanger b3f3a812a9 don't always show events in systray when notify_on_all_muc_mesages is False 2008-02-27 21:33:50 +00:00
Yann Leboulanger b5c19e0884 don't always show events in systray when notify_on_all_muc_messages is on and trayicon_notification_on_event is off 2008-02-27 18:25:42 +00:00
Yann Leboulanger c6660b875f handle ascii_formatting option in htmltextview 2008-02-27 16:12:09 +00:00
Yann Leboulanger aa3c02efcd search lowercase in roster. see #3749 2008-02-27 10:18:56 +00:00
Yann Leboulanger e0a4ab05b4 remove useless else 2008-02-26 09:46:27 +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 62f8937fae no need to draw muc in roster each time we get a presence or each time we get a message. 2008-02-25 20:41:41 +00:00
Yann Leboulanger 0f4aa21587 don't grab focus on message textview when we select a tab. fixes #3740 2008-02-25 14:42:53 +00:00
Yann Leboulanger c8b25f37a5 [shtrom] $S and $T in autoaway status message. fixes $3741 2008-02-25 14:09:47 +00:00
Yann Leboulanger b0d3e1f123 [shtrom] Disable CTRL+W when GTK has Emacs-like key mappings. Fixes #3738 2008-02-17 20:57:47 +00:00
Yann Leboulanger de20191e72 no need to escape strings that go to notification daemon 2008-02-17 20:44:38 +00:00
Yann Leboulanger 19e594f919 [Merwok] use os.pathsep to know the PATH environment separator 2008-02-17 16:01:44 +00:00
Yann Leboulanger 13541c0425 ability to configure pubsub nodes. see #3053 2008-02-15 22:55:21 +00:00
Yann Leboulanger ecfde88bac Make some strings translatable in adhoc commands, Warn user when session id changes in the middle of a session. fixes #3432 2008-02-15 10:38:52 +00:00
Yann Leboulanger 494ae444b6 ability to ignore SSL errors until certificate changes. Fixes #3710 2008-02-15 10:11:17 +00:00
Yann Leboulanger 7c49600135 use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734, #3736 2008-02-14 19:18:07 +00:00
Brendan Taylor c8cae71099 merged trunk 2008-02-14 02:20:07 +00:00
Jean-Marie Traissard 894e752292 Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
Reverting [9324]. Reopen #3734.
2008-02-13 18:03:29 +00:00
Yann Leboulanger ad3935d9e9 [Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734 2008-02-13 07:14:06 +00:00
Yann Leboulanger fd9d901173 [TuX] remove spaces in room jids when they are entered in manage bookmarks window. Fixes #3730 2008-02-10 20:02:32 +00:00
Yann Leboulanger cc6b2dd7a1 don't request vcard to full_jid when we know the real jid in MUC. fixes #3723 2008-02-09 10:08:44 +00:00
Brendan Taylor 867955155f groupchat sessions fix 2008-02-09 06:57:07 +00:00
Stephan Erb 4974773895 Remove workaround old, non xep-complient MSN transports. 2008-02-08 22:15:03 +00:00
Yann Leboulanger 597096ce81 don't show us online automatically when we are in error state and we try to go online 2008-02-08 22:04:42 +00:00
Stephan Erb f74bf28a55 Remove Player option from preference window. Fixes #3330 2008-02-08 21:58:13 +00:00
Yann Leboulanger 436c75a244 show in GUI that we are offline when we don't get XMPP ping in time 2008-02-08 21:48:20 +00:00
Yann Leboulanger 419652d61f correctly detect XEP-0199 answer from server. 2008-02-08 07:58:23 +00:00
Yann Leboulanger 0727ebd940 wrong syntax, missing ) 2008-02-08 07:53:09 +00:00
Yann Leboulanger a9e0ce5a0e add advanced option to configure the time we wait XMPP Ping answer 2008-02-08 07:47:35 +00:00
Yann Leboulanger 85cc4889ec use XMPP ping (XEP-0199) to detect connection lost at applicatin level. fixes #2767 2008-02-07 23:53:02 +00:00
Nikos Kouremenos 059ed3dd27 2008 in about dialog 2008-02-06 16:33:46 +00:00
Nikos Kouremenos 15acf57f5f cosmetic changes 2008-02-06 14:59:28 +00:00
Yann Leboulanger 7e6bcdc6ed always show tabs in one_window mode so that we can close latest tab in GUI. fixes #3720 2008-02-06 09:45:15 +00:00
Brendan Taylor 381ba838b9 post-refactor traceback fixing 2008-02-06 05:24:07 +00:00
Brendan Taylor 0b574d2360 move message handling into ChatControlSession 2008-02-06 01:40:51 +00:00
Yann Leboulanger 0ac8ce3c6e Prevent traceback when gajim-remote is used while gajim is not running. Add a check_gajim_running command to gajim-remote 2008-02-05 22:13:16 +00:00
Yann Leboulanger 36438f44b6 fix the draw avatar calls 2008-02-05 21:24:48 +00:00
Jean-Marie Traissard 37ea4052e1 Cleaner way to check for 'show_avatars_in_roster' 2008-02-05 17:48:25 +00:00
Jean-Marie Traissard 4d675c42b1 Never load avatars for roster and gc-roster if we don't want them.
See #3718. See also [9287].
2008-02-05 17:02:05 +00:00
Nikos Kouremenos dea4d9f745 Merwok complained about left and right arrow on tab in chats couldn't allow him to do traversing. This patch is a almost there fix. What is missing after the new tab is focused, it steals focus [couldn't find how to fix that atm], hopefully Yann remembers nicfit's code better.. 2008-02-05 16:46:05 +00:00
Yann Leboulanger e8b7778521 detect jabber:iq:last and jabber:iq:version errors by IDs. fixes #3711 2008-02-05 14:50:21 +00:00
Yann Leboulanger e409a04789 fix traceback when opening features window. fixes #3714 2008-02-05 09:34:56 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger 594313ed94 fix creation of new accounts 2008-02-04 22:17:35 +00:00
Yann Leboulanger 853d06bcaa fix args retured by on_connect_failure 2008-02-04 22:15:00 +00:00
Stephan Erb 84fcc6e8ce Do not redraw roster when opening the accounts window. Rework preference window. Fixes #3330, #1621, #2113 2008-02-04 22:04:33 +00:00
Yann Leboulanger 848c492926 add checkbutton to YesNoDialog. Ability to fall back from tls to ssl and then plain. Warn user when using insecure connection. fixes #1923 2008-02-04 21:38:36 +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 24d6f11bab fix wrong commit. see #3718 2008-02-03 21:22:30 +00:00
Yann Leboulanger 167aff1fdb don't remove / readd timeout, just lt it run. It's a bit faster. see #3718 2008-02-03 21:19:24 +00:00
Yann Leboulanger 4d55bbf842 re-draw groups and accounts after 0.5s so to not call them too often. see #3718 2008-02-03 21:00:27 +00:00
Yann Leboulanger dc12930253 [sgala] nicer code. No need to change contact's status to offline when we go offline if contact is already offline. see #3718 2008-02-03 19:31:01 +00:00
Jean-Marie Traissard 7448dab437 Do not load avatar in roster if we don't want to show it there 2008-02-02 15:19:12 +00:00
Yann Leboulanger e695dddf24 better text when fingerprint change. fixes #3712 2008-02-01 16:22:32 +00:00
Yann Leboulanger dbaac78ef5 the on_yes handler of YesNoDialog don't take any argument. fixes #3712 2008-02-01 07:56:16 +00:00
Yann Leboulanger 7e88b7608a fix roster sorting whith user that just became offline and are still in roster. Fixes #3531 2008-01-31 20:39:03 +00:00
Yann Leboulanger e93d287c5b [TuX] better uname call 2008-01-30 21:31:19 +00:00
Yann Leboulanger 58210daf44 arch linux file /etc/arch-release doesn't contain version number 2008-01-30 21:29:55 +00:00
Yann Leboulanger 17e7c02374 remove useless spaces and tabs 2008-01-30 11:01:08 +00:00
Yann Leboulanger 6951442efb re-compute big brother when a contact of a metacontact goes offline. fixes #3464 2008-01-30 10:46:12 +00:00
Yann Leboulanger d85e0fdc75 prevent a GTK warning 2008-01-30 08:12:59 +00:00
Yann Leboulanger 4fcddb6738 [nijel] unescape non-ascii chars in the output of GnuPG. fixes #3709 2008-01-30 07:56:02 +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 67b9f1cdae We may not add ourself to roster. Make entry in occupants menu insensitive. 2008-01-28 21:22:38 +00:00
Yann Leboulanger 7e2b371861 compile .py to .pyc and .pyo and install those files too. 2008-01-28 18:40:26 +00:00
Yann Leboulanger 7d5602c4b1 add a new event to allow not playing sound when chat window is focused. fixes #2907 2008-01-27 20:15:17 +00:00
Stephan Erb 623aba4f94 Do not log gpg encrypted chats when log_encrypted_session is false. See #3095. 2008-01-25 21:16:22 +00:00
Stephan Erb 40da75e119 Fix regression introduced in #9256. 2008-01-25 18:12:56 +00:00
Yann Leboulanger d7dd4c6396 send custom presence to self contact with the resource. fixes #3359 2008-01-24 21:14:11 +00:00
Yann Leboulanger 831511b2cb use correct function to open a groupchat from gajim-remote. fixes #3705 2008-01-24 12:16:17 +00:00
Yann Leboulanger 3c2a220c65 handle all PyopenSSL errors. fixes #3686 2008-01-23 19:04:35 +00:00
Stephan Erb 4bb29675a8 padlock icon in merged accounts mode: show when all connected accounts are connected securely, don't show it when one is not secured, do no care about offline accounts. 2008-01-23 16:10:28 +00:00
Jean-Marie Traissard 39fe7fc4c0 Remove saveposition. Now we always save and restore positions and sizes. See #3638. steve-e, this bug
is still opened for what you told ;)
2008-01-22 21:08:24 +00:00
Yann Leboulanger b3bafa75ff never move a window outside the screen. fixes #3501 2008-01-22 17:47:56 +00:00
Yann Leboulanger d27f9a9c85 * YesNo dialog now destroy itself when we click on a button
* yes YesNo dialog when a contact removes us to as if user wants to remove it too
 * fix some coding standards
2008-01-22 16:06:16 +00:00
Stephan Erb 55eed6bda6 Revert r9252 for now. E2E was affected and task is shifted to next releas anyway. See #3694 2008-01-20 23:24:03 +00:00
Yann Leboulanger 347e8e1e5f strip username and server is account creation wizard 2008-01-20 18:10:58 +00:00
Stephan Erb 9e74881ed6 Merge xmpp.py 4.1 simplexml.py
See #3694


 * WARNING! Incompartible change! Now newtag=n.T.newtag do not creates new tag
but only returns existing one (if possible). If you need to create tag use
either .NT. method or attribute set (i.e. n.T.newtag=something).

 * Added CDATA extracting method to xml node.

 * added xmlns safety check

 * Fixed node attribute deletion with "del node[attr]" syntax.

 * Ordering fix for when addChild and addData are used on the same node (may increase memory usage, might need to watch for that)

 * Fixes for children node fetching, still not perfect, but much better
2008-01-18 20:55:18 +00:00
Yann Leboulanger 12fc03ecdc define a search function that escapes text as it's escaped in treemodel. fixes #3668 2008-01-17 22:48:34 +00:00
Stephan Erb 79fb241153 Replace the broken gpg-togglebutton by an insensitve status image. See #3196 2008-01-11 17:45:20 +00:00
Stephan Erb 40af7bfc1c Do not mess up vcard window when there is no user avatar or when it is resized. Fixes #3674 2008-01-11 17:23:26 +00:00
Stephan Erb ce3fe8da97 Do not enable GPG when we just want to assign a speller language. 2008-01-10 22:45:53 +00:00
Yann Leboulanger 68324dd104 fix XEP-0126 (invisibility) support. see #3666 2008-01-09 19:32:09 +00:00
Yann Leboulanger 62924fcf38 fix traceback when we get a presence with no fram attribute. see #3666 2008-01-09 19:05:38 +00:00
Yann Leboulanger 6138b914ea one more typo 2008-01-06 20:50:30 +00:00
Yann Leboulanger f2aef5f9f2 [pk] fix 2 typo in strings 2008-01-06 20:48:25 +00:00