Commit graph

225 commits

Author SHA1 Message Date
Yann Leboulanger
dc5d7bcf7c [thorstenp] fix undefined variables 2008-10-20 18:05:33 +00:00
Yann Leboulanger
c2c681e05c [thorstenp] remove useless import 2008-10-20 17:54:02 +00:00
Yann Leboulanger
86271b6e3c [thorstenp] string to comment 2008-10-20 15:30:52 +00:00
Yann Leboulanger
010be12d8c [thorstenp] remove duplicate function 2008-10-20 15:25:53 +00:00
Yann Leboulanger
98255a0671 [thorstenp] remove useless ; 2008-10-20 15:16:01 +00:00
Yann Leboulanger
158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger
196dd7e30a [thorstenp] use isinstance rather than type(x) == y. use sorted() 2008-10-11 09:59:52 +00:00
Yann Leboulanger
73aee40542 [thorstenp] replace none equality test with identity test 2008-10-11 09:44:12 +00:00
Yann Leboulanger
567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger
84e717c8df [thorstenp] use startswith and endswith instead of array indices on strings 2008-10-11 09:32:59 +00:00
Yann Leboulanger
6cc8204319 [thorstenp] replace if statement with dict.get() 2008-10-11 09:31:48 +00:00
Yann Leboulanger
9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
tomk
ed7dd84cfe fixed zeroconf to work with refactored dispatcher 2008-08-18 14:34:09 +00:00
tomk
2712786383 Corrected return values of zeroconf client in order to return true-evaluable values. related to #4051 2008-08-18 14:20:03 +00:00
Yann Leboulanger
e22c6e9697 fix printing of sent zeroconf messages. fixes #4051 2008-08-04 10:54:56 +00:00
Yann Leboulanger
fa2d983354 better transltion strings. see #4166 2008-08-01 09:30:36 +00:00
js
8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Yann Leboulanger
1ebe587886 fix number of parameters to session.receives in zeroconf. Fixes #4015 2008-06-13 15:59:04 +00:00
Brendan Taylor
fad6d2ef7e pass session when dispatching MSGNOTSENT 2008-05-19 00:17:39 +00:00
Brendan Taylor
517d962221 fixed link-local messaging (broken by session-centric) and removed a ton of duplicated/unused code 2008-05-17 02:23:46 +00:00
Brendan Taylor
d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
js
573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor
2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
Brendan Taylor
d15b9dea6e reuse existing chat sessions and controls 2008-05-03 16:52:27 +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
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
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
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
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
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
Brendan Taylor
0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger
17e7c02374 remove useless spaces and tabs 2008-01-30 11:01:08 +00:00
Stephan Erb
30ad68a26c Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
Be more verbose when there is a key missmatch.

Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Stephan Erb
fef742c863 Refactor the way we decide whether GPG is usable or not: Ability to change keys when no valid passphrase could be entered.
See #1210. Workaround for unavailable keys.

Remove useless except block: import of GnuPGInterface is the same on Debian and non Debian systems.
2007-12-28 18:49:28 +00:00
Yann Leboulanger
19761f081f [js & I] show pep info in account tooltip, fix a bug in create_contact() 2007-12-13 20:26:13 +00:00
Yann Leboulanger
75ee2169d7 fix the ability to choose GPG key before we connect
remove useless config option usegpg
2007-11-30 15:18:26 +00:00
James Newton
aa3932f147 do a better split that accounts for escaped .'s. 2007-11-19 15:47:17 +00:00
Stefan Bethge
50fbbe9b7d fix link-local collision detection 2007-11-19 03:34:40 +00:00
Stefan Bethge
1f818a04e9 fix link-local problems when reconnecting vie network-manager 2007-11-19 03:29:10 +00:00
Yann Leboulanger
63d0bc54ec cache incoming zeroconf connections. fixes #3561 2007-11-16 08:41:24 +00:00
Yann Leboulanger
8a021e597f [anonymous] fix dbus type when calling message.EntryGroup.AddService. fixes #3521 2007-11-13 19:05:59 +00:00
Yann Leboulanger
605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger
22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger
34f04c69b7 stoped -> stopped 2007-10-10 16:19:22 +00:00
Brendan Taylor
3c936682dc fixed ZeroConf and gave it E2E support 2007-10-09 03:46:51 +00:00