Commit Graph

10514 Commits

Author SHA1 Message Date
Stephan Erb 07d0811439 Merge refactoring branch back to default 2009-10-31 18:08:06 +01:00
Stephan Erb a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Stephan Erb 47700e67da Rename CacheItem.update to CacheItem.set_and_store as this seems more intense giving. 2009-10-31 09:14:55 +01:00
Stephan Erb 99e8487db9 Move compute_caps_hash from helpers to caps module. 2009-10-30 23:55:03 +01:00
Stephan Erb 47f875a4bc Move CapsCache global from gajim.capscache to caps.capscache. 2009-10-30 23:01:25 +01:00
Yann Leboulanger 1991f32a74 import Changelog file from 0.12 branch. Fixes #5380 2009-10-30 20:08:33 +01:00
Yann Leboulanger 66deb15bad fix variable name. Fixes #5379 2009-10-30 20:04:20 +01:00
Yann Leboulanger c91da54c9c remove hack I did for #5366, It was most probably due to #5375. see #5366, #5375 2009-10-30 09:51:16 +01:00
Yann Leboulanger bf9c6fb6a1 prevent traceback when changing resource of a control when there is no event for the account at all. Fixes #5375 2009-10-30 09:44:40 +01:00
Yann Leboulanger 5962494a9e connect some missing handlers in chat control context menu. Fixes #5369 2009-10-29 16:46:36 +01:00
Yann Leboulanger b682cc1791 use correct function for plural forms translation 2009-10-29 15:00:48 +01:00
Yann Leboulanger fcafab60a7 merge jingle branch to default branche 2009-10-29 11:55:05 +01:00
Yann Leboulanger f550144530 switch from gtk.Tooltips to gtk.Tooltip. Fixes #3471 2009-10-29 11:35:22 +01:00
Thibaut GIRKA 1c33d42158 Merge default to jingle 2009-10-29 10:19:58 +01:00
Thibaut GIRKA 7ae959dbba Avoid insane recursion 2009-10-29 10:08:22 +01:00
Stephan Erb bd714f66fc Move common part of Contact and GC_Contact into a new CommonContact class.
The CommonClass helps to spot easily where GC_Contacts and Contacts differ. This is just the first step a potential refactoring in this area.
2009-10-28 23:37:40 +01:00
Yann Leboulanger 3fcfedec58 update po files for translation 2009-10-28 22:18:50 +01:00
Yann Leboulanger 8e98b3954b fix traceback with bash completion 2009-10-28 22:15:46 +01:00
Yann Leboulanger d6f4241102 prevent a traceback which happen with obscure reasons. Fixes #5366 2009-10-28 20:03:45 +01:00
Yann Leboulanger 8ddd6a298b [MattJ] re-fix /join command. already done in [8116020da28c] 2009-10-28 15:43:05 +01:00
Yann Leboulanger 7ae146e0e8 don't try to add an id to all outgoing messages. It's useless. Fixes #5355 2009-10-28 13:54:58 +01:00
Stephan Erb 6f71efdc47 Add missing local variable in resource submenu builder 2009-10-28 13:46:41 +01:00
Yann Leboulanger 5716ba5fd5 remove some deprecated iconsets. Fixes #5284 2009-10-28 13:20:27 +01:00
Yann Leboulanger 3f629341f6 call some upgrade config function that were not in 0.12.5 and are needed for 0.13 2009-10-28 12:38:22 +01:00
Yann Leboulanger 90fd7f6e68 [louizatakk] better bash completion. Fixes #5353 2009-10-28 12:19:20 +01:00
Yann Leboulanger 31d2bcbe7d remove the possibility to configure systray if module is not available. Fixes #5345 2009-10-28 11:11:55 +01:00
Yann Leboulanger 52c788795a we can now drop in the middle of a metacontact. Fixes #4804 2009-10-28 10:58:43 +01:00
Yann Leboulanger ae30140df3 fix epydoc.conf 2009-10-28 08:57:53 +01:00
Stephan Erb 976175e04c Work around potential NoneType in obscure function _is_buggy_gajim()' 2009-10-27 23:30:08 +01:00
Stephan Erb 5894ce5341 Merge changes from default branch into refactoring branch 2009-10-27 23:18:21 +01:00
Yann Leboulanger 604935bb11 we depend on python-dbus >= 0.80. announce that in README.html. Fixes #5361 2009-10-27 23:00:23 +01:00
Stephan Erb 213fd5a8ed Update a few outdated comments. 2009-10-27 22:48:47 +01:00
Stephan Erb 33fe53ff7d Swtich from old to new caps API.
Now we do:

contact.supports(feauture) instead of gajim.capscache.is_supported(contact, feature)
2009-10-27 22:41:39 +01:00
Yann Leboulanger 3f6d949b6c sometimes, a girl can sign in too 2009-10-27 20:50:20 +01:00
Stephan Erb c7ff97703f Redistribute responsibility: Let contact instances check if features are supported 2009-10-27 20:31:09 +01:00
Yann Leboulanger 5698327831 [Stepan Kasal] fix italic detection with //. Fixes #4217 2009-10-27 19:36:36 +01:00
Yann Leboulanger 3bf4420ce3 rename roster_contact_context_menu.glade to contact_context_menu.glade 2009-10-27 19:02:14 +01:00
Yann Leboulanger 5a51f09491 merge roster_contact_context_menu.glade, chat_control_popup_menu.glade and zeroconf_contact_context_menu.glade 2009-10-27 18:58:27 +01:00
Yann Leboulanger 134eb7f83a move and refactore some menu function from roster_window.py to gui_menu_builder.py 2009-10-27 10:39:40 +01:00
Yann Leboulanger fea5e09200 fix name of variable (window -> dialog) Fixes #5360 2009-10-26 19:56:42 +01:00
Stephan Erb 3295b08b26 Two small caps enhancements.
* Rename EntityCapabilities to ClientCaps as this seems more intense giving.
 * Add ability to blacklist features where we cannot savely assume that a client, which did not advertise caps, supports them
2009-10-26 19:20:16 +01:00
Stephan Erb 346953fd93 Duplicate 'supports' feature for GC_CONTACTS. TODO: Unify Contacts and GC_Contacts 2009-10-25 23:58:02 +01:00
Stephan Erb 700665151c Implement 'supports' on contact instances.
Usage:

	if contact.supports(NS_E2E):
		....
2009-10-25 23:56:14 +01:00
Stephan Erb 396a2c603d Implement and test a supports_feature() method to directly test for supported featues on EntityCapabilites 2009-10-25 22:46:45 +01:00
Stephan Erb ca03f88fc3 Write tests and fix the caps preload alternative on the EntityCapabilities. 2009-10-25 22:32:18 +01:00
Stephan Erb 499f3dff61 First bits of a basic EntityCapabilities layer above of CapsCache. 2009-10-25 21:57:20 +01:00
Stephan Erb 0440aec980 Improve common/caps.py test coverage. 2009-10-25 21:17:32 +01:00
Stephan Erb 2ca65bf6da Ignore .orig files generated by 'hg revert' 2009-10-25 20:00:42 +01:00
Stephan Erb b97cd5bbf8 Remove unused imports. 2009-10-24 20:49:34 +02:00
Stephan Erb 39c3afb518 Remove unused import and apply naming convention. 2009-10-24 20:49:16 +02:00