Commit Graph

10632 Commits

Author SHA1 Message Date
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
Stephan Erb fc01d32abd Remove commented code. We have have version control for this 2009-10-24 14:22:10 +02:00
Stephan Erb dd3e9e5cd4 Create refactoring branch 2009-10-24 14:08:13 +02:00
Stephan Erb 8eae0ef506 [henning] Fix a few strings in the German translation. 2009-10-24 09:52:18 +02:00
Stephan Erb 07cb0c48a6 Merge heads. 2009-10-24 09:47:22 +02:00
Stephan Erb 76b1f54738 Backed out changeset 2ceb94d0630d
This commit does not improve overall structure in gajim in a logical way.
It seems untested (is broken) and is therefore rejected.
2009-10-24 09:46:08 +02:00
Yann Leboulanger 4305882303 [Florob] handel remote-server-not-found MUC error. Fixes #5309 2009-10-23 16:49:33 +02:00
Yann Leboulanger 503aebd919 [change window icon according to the content (muc, chat). Fixes #4300 2009-10-23 10:02:45 +02:00
Yann Leboulanger f6136a7058 [henning] fix german translation. Fixes #5356 2009-10-23 09:55:50 +02:00
Yann Leboulanger 5b5e8780d8 [Frederique W. Piccart] menuitem -> menu item. Fixes #5348 2009-10-21 20:31:23 +02:00
Yann Leboulanger 3330f7bfa5 enable music track listener only after we signed it. Fixes #5351 2009-10-21 19:39:43 +02:00
Yann Leboulanger 0aa8856b6c new TimeoutDialog class: to be derivated for dialogs that need a timeout.
Resource conflict dialog has now a timeout. Fixes #4590
2009-10-20 11:20:11 +02:00
Yann Leboulanger 7e137adfd1 Backed out changeset e1fd1ca926b4
This kind of work will come after 0.13
2009-10-18 23:56:04 +02:00
Stephan Erb d79f73a610 Move the Interface god class from gajim.py into a separate module.
This is the first commit of a long serious of cleanup commits.
Simple testcase included to test the slightly enhanced Interface dispatcher.
2009-10-18 23:25:03 +02:00
Stephan Erb 3665c99800 Wrap global gajim.handlers with a dispatch method. 2009-10-18 20:53:15 +02:00
Stephan Erb 57ed1ea8d8 Merge local changes 2009-10-18 19:47:04 +02:00
Stephan Erb 0a068bd250 Remove epydoc.conf.
Looks like I screwed up the renaming.
2009-10-18 19:43:07 +02:00
Stephan Erb f4a00623d1 Move epydoc.conf to doc/ 2009-10-18 19:41:05 +02:00
Stephan Erb 58106549a1 Use pylint instead of pychecker.
The latter one has to execute the modules and does not work all the time.
2009-10-18 19:40:09 +02:00
Stephan Erb ae5dbe0774 Add 'make doc' and 'make test' directives.
(requires you to re-run ./autogen.sh)
2009-10-18 19:38:32 +02:00
Stephan Erb 2ce45a2f0c Also run 'make check' in the build-test. 2009-10-18 18:43:25 +02:00
Stephan Erb a628fa1672 Add simple build check script 2009-10-18 18:38:13 +02:00
Yann Leboulanger ad02f1636f prevent traceback 2009-10-18 10:56:23 +02:00
Stephan Erb 2ccaf5b2b4 Rename advanced.py to advanced_configuration_window.py 2009-10-17 20:28:38 +02:00
Stephan Erb d0f1b0e746 Depend on Python 2.5. Remove workaround for older versions. 2009-10-17 20:21:32 +02:00
Yann Leboulanger c4365f7a97 [louizatakk] fix bash completion patch. Fixes #5328 2009-10-17 10:18:11 +02:00
Yann Leboulanger 760e0fb48f refactor jingle functions in chat_control.py 2009-10-16 21:48:28 +02:00
Thibaut GIRKA 313f002958 Fixes an indentation error aswell as the previous commit 2009-10-16 20:21:42 +02:00
Yann Leboulanger f2aee9e7cb add show_self_contact ACE option to show / hide self_contact row as we want. Fixes #4796 2009-10-16 19:51:29 +02:00
Thibaut GIRKA d495deaa02 Some rewriting in set_audio_state/set_video_state 2009-10-16 19:36:55 +02:00
Thibaut GIRKA bc90bc1157 Destroy session when remote signs off 2009-10-16 19:04:04 +02:00
Thibaut GIRKA ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Yann Leboulanger f8654b95b4 stop countdown in change status dialog when we past something. Fixes #5324 2009-10-16 16:20:58 +02:00