Commit Graph

9802 Commits

Author SHA1 Message Date
js 92a911da9b If we don't have an interpreter for them, don't make them executable! 2009-01-11 14:47:21 +00:00
Stephan Erb a757177e45 Improve code coverage of our testsuites and do some refactoring.
* resolver does not depend on GTK anymore
 * renamed a few modules for consistency
 * moved all mocks to lib/
 * let client_nb test work again. Was broken here

There are many failing tests, help appreciated :-)
2009-01-11 13:49:03 +00:00
Stephan Erb 8a19e11bee Add some FIXME statements due to open questions. Improve a two default parameters. 2009-01-11 13:42:39 +00:00
Yann Leboulanger 1383bb6a74 [shivan] improve strings in features window, make list sorted. Fixes #4571 2009-01-11 09:55:39 +00:00
js 6ede969f5f Fix missing returns, so we don't run into that assert. 2009-01-10 22:46:26 +00:00
Yann Leboulanger 15ab37043e remove duplicated STATUS_LIST variable 2009-01-10 16:45:52 +00:00
Stephan Erb c8dc8cd758 Fix a potential traceback in onreceive() of NonBlockingTransport. A few more codingstandards 2009-01-10 16:44:11 +00:00
Yann Leboulanger 6080bea672 abilty to do some exceptions to invisible rule (to send custom status). Fixes #4631 2009-01-10 16:37:57 +00:00
Brendan Taylor d9277816c7 log latex output instead of dumping it straight to stdout 2009-01-09 21:27:01 +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 02659358db better use of pickle 2009-01-09 18:40:01 +00:00
Yann Leboulanger bd759262bb Don't change sleeper state when we send a presence to a user, to not think global status has changed from invisible. see #4631 2009-01-09 18:34:56 +00:00
Yann Leboulanger 93b63ea843 don't move the "more" expander in vcard window when we expand / collapse it. Fixes #4652 2009-01-09 07:18:26 +00:00
Stephan Erb bc3445881f Rename client.py to plugin.py, as all client logic has already been moved to client_nb.py
Introduce a get_instance factory method for all plugins and other xmpp related classes. This will help us to decouple plugs in order to make them testable.
2009-01-09 00:49:58 +00:00
Stephan Erb e00f871b26 Use hashlib module in favor of sha and md5. 2009-01-08 16:51:26 +00:00
Stephan Erb cca10e6d29 A few more coding standards and readability improvements in client_nb.py. 2009-01-08 16:30:27 +00:00
Stephan Erb 10449444dd Switch to SSL version 3 as the channel encryption protocol. As of http://docs.python.org/dev/library/ssl.html this is the maximally compatible SSL variant. 2009-01-08 16:14:26 +00:00
Brendan Taylor b03483868b don't display weird image in chat window when latex fails 2009-01-08 00:47:03 +00:00
Stephan Erb a72b1ced91 Remove print statement. 2009-01-07 20:45:03 +00:00
Yann Leboulanger bb8269e051 missing file. Fixes #4641 2009-01-06 18:16:44 +00:00
Yann Leboulanger 12c54d9c17 remember which metacontacts were collapsed / expanded and restore their states. Fixes #4618 2009-01-06 11:13:10 +00:00
Yann Leboulanger 5c8c6933a0 add signification of $S and $T in autoaway status message tooltips. Fixes #4617 2009-01-06 09:43:52 +00:00
Yann Leboulanger 13e6b4e58f install gajim-history-manager to bin directory, remove shebang line in py files. Fixes #4624 2009-01-06 07:16:07 +00:00
Yann Leboulanger cb10c4e4ea set datadir to /usr/share/gajim instead of /usr/share. Fixes #4638 2009-01-05 22:22:34 +00:00
Yann Leboulanger a4132ee58b ability to use adtadir environment variable to set data directory 2009-01-05 15:12:19 +00:00
Stephan Erb ed3de38ce5 Revert r10931. Fixes #4632. See #2634 2009-01-03 16:34:58 +00:00
Stephan Erb 28112d6681 Fix indentation error. 2008-12-31 14:04:42 +00:00
Stephan Erb 8a76efb703 Proposed Fix. Make sure we read all data from our SSL socket wrappers and don't just rely on gobject.io_add_watch, select or poll.
This isn't really a clean solution, but the less intrusives fix that I can think of. Fixes #2634.
2008-12-31 14:01:53 +00:00
Yann Leboulanger be92286bed a contact can be in none group. Fixes #4627 2008-12-31 09:21:14 +00:00
Yann Leboulanger 08cd4773b0 don't try to send some XML if we are disconnected/disconnecting/ Fixes #4605 2008-12-28 22:51:39 +00:00
Yann Leboulanger ac65413376 [Sergiy Yegorov] updated ukrainian translation 2008-12-28 21:53:06 +00:00
Stephan Erb b2a5b1046c Remove print. 2008-12-28 14:55:23 +00:00
Stephan Erb d8a2d8f447 Backport a few XMPPPY upstream changes.
* Use namespace instead of attrs={} for addChild
 * Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Stephan Erb f83eb5ae95 Remove two more "from protocol import *". 2008-12-28 01:52:21 +00:00
Brendan Taylor e98a648908 added licence notice to common/xmpp/c14n.py 2008-12-28 01:39:39 +00:00
Stephan Erb 7c0b1e4ed0 Module documentation for c14n.py. 2008-12-28 01:32:34 +00:00
Stephan Erb 8b3833b443 Coding standards and documentation improvements in features_nb.py. Remove unused methods. 2008-12-28 01:29:33 +00:00
Stephan Erb d7091c74a4 Remove method that was implemented for old, blocking dispatcher but is now unused. 2008-12-28 00:01:48 +00:00
Stephan Erb aa9a85767f Move module documentation ontop, so that it will show up in epydoc correctly. 2008-12-27 12:36:28 +00:00
Stephan Erb c373f044db Append vim config to resolver.py 2008-12-27 12:28:39 +00:00
Stephan Erb 233848aec0 Random bits in xmpp. Cosmetic only. 2008-12-27 11:45:58 +00:00
Stephan Erb b7400724b7 Coding standards and documentation improvements in dispatcher_nb.py. Many open questions remain at my side. Please check FIXMEs. 2008-12-27 11:39:52 +00:00
Stephan Erb de73b76771 Coding standards and documentation improvements in auth_nb.py 2008-12-26 15:39:18 +00:00
Stephan Erb 7427399a2a More coding standards and documentation improvements in client_nb.py 2008-12-26 15:25:57 +00:00
Stephan Erb afbac3d3e6 Coding standards and documentation improvements in idlequeue.py.
Fix a potential bug of missing an alarm_callback. Separate public from internal API.
2008-12-26 13:24:37 +00:00
Yann Leboulanger 507bd7b8c6 cache os information so it's requested to system only once 2008-12-24 15:00:38 +00:00
Stephan Erb a1f346e48a Remove duplicated coded in test_client_nb.py 2008-12-24 14:53:00 +00:00
Stephan Erb 62a334b8fd Comment some prints in xmpp_mocks.py. Should be merged with test/lib/mocks.py 2008-12-24 14:50:50 +00:00
Stephan Erb 53d1fa6f66 Small cleanups to test_nonblockingtcp.py without much value. 2008-12-24 14:46:21 +00:00