Commit Graph

10404 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
Stephan Erb c7ff97703f Redistribute responsibility: Let contact instances check if features are supported 2009-10-27 20:31:09 +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 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
Yann Leboulanger f8654b95b4 stop countdown in change status dialog when we past something. Fixes #5324 2009-10-16 16:20:58 +02:00
Yann Leboulanger 2472a9556d support XEP-0016 (privacy lists) "block all" feature. Fixes #4552 2009-10-16 15:58:21 +02:00
Yann Leboulanger 43f87899f8 [louizatakk] shell-like completion 2009-10-16 15:20:12 +02:00
Yann Leboulanger da955fd4da [hildjj] go away under windows too when screensaver is active. Fixes #4178 2009-10-15 19:51:49 +02:00
Yann Leboulanger 384283d2a4 find_library('c') return None under Windows 2009-10-15 19:43:10 +02:00
Yann Leboulanger 50aac85e88 remove our outgoing nickname color and status message color from gc_nicknames_colors 2009-10-14 16:31:42 +02:00
Stephan Erb 8bffd77a05 Merge local changes 2009-10-14 09:39:18 +02:00
Yann Leboulanger c59f4f7d73 show incoming and outgoing style in history window too. Fixes #5321 2009-10-14 08:40:28 +02:00
Yann Leboulanger bf298d4568 prevent traceback in upgrade function 2009-10-13 21:44:14 +02:00
Yann Leboulanger 1ae8339222 typo 2009-10-13 20:27:12 +02:00
Yann Leboulanger 166a70b48e update some colors. Fixes #5321 2009-10-13 20:05:45 +02:00
Yann Leboulanger d7a780e60a fix typo 2009-10-13 19:31:07 +02:00