Commit Graph

131 Commits

Author SHA1 Message Date
Yann Leboulanger 1c7b265c9c better file transfer error handling. Fixes #5064 2009-07-28 23:13:34 +02:00
Yann Leboulanger 765336b4fb when sending file, try to bind ipv6 first. see #1969 2009-07-05 11:57:12 +02:00
Stephan Erb e00f871b26 Use hashlib module in favor of sha and md5. 2009-01-08 16:51:26 +00:00
Yann Leboulanger 944a3124c1 add missing import 2008-12-07 13:23:27 +00:00
Yann Leboulanger 200a29e06c Under vista, we can listen on both ipv4 and ipv6. Fixes #4452 2008-12-04 20:44:42 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger 7701f29beb [thorstenp] fix undefined variables 2008-12-02 15:10:31 +00:00
Yann Leboulanger 04e88bab3c coding standards 2008-11-24 17:00:20 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger dc5d7bcf7c [thorstenp] fix undefined variables 2008-10-20 18:05:33 +00:00
Yann Leboulanger 464f62d580 [thorstenp] remove statements without effect 2008-10-20 15:20:51 +00:00
Yann Leboulanger 2ffad66473 [thorstenp] replace reduce instances 2008-10-11 09:49:30 +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 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Yann Leboulanger 95b6855aa3 remove test thing 2008-08-27 10:09:38 +00:00
Yann Leboulanger 1e8e0f6067 no need of GUI classes in connection_handlers.py, socks5.py and secrets.py 2008-08-27 07:53:12 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +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
js 04725e830c Fix file transfers on win32. 2008-05-10 15:40:27 +00:00
Jean-Marie Traissard 968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard 2ce13dc40e http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Jean-Marie Traissard 8be83102b7 Checker tells it's better not to use == True 2007-12-30 12:44:30 +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 9f3fe8490b [Santiago Gala] IPv6 filetransfert. see #1969 2007-06-09 07:07:05 +00:00
Jean-Marie Traissard 9c046b6e5b Removed unused imports, /common part. Correct a call. Thanks pyflakes 2006-11-15 02:19:33 +00:00
Nikos Kouremenos 9002b3d293 put my email (and jid), not one of my JIDs 2006-09-28 11:31:25 +00:00
Dimitur Kirov 470e668ea2 This remove unused keyword
--line, and those below, will be ignored--

M    socks5.py
M    connection_handlers.py
2006-09-15 11:57:03 +00:00
Dimitur Kirov 5764374e5d set proxy as invalid if hostname cannot be
resolved
2006-09-14 08:40:09 +00:00
Jean-Marie Traissard 9ed43cf6d1 Show a real error box when unable to bind to port
Fixes #1941.
2006-06-05 17:07:48 +00:00
Dimitur Kirov 927b6d09bc destroy dialogs on delete event
don't send streamhosts if they have been
already sent
2006-04-13 18:00:04 +00:00
Dimitur Kirov 14c5213a58 Jim: typo 2006-04-06 10:58:19 +00:00
Dimitur Kirov b42bd75a25 EISCONN error is raised in FreeBSD to indicate
that connection is already established
2006-03-27 15:28:29 +00:00
Dimitur Kirov 8448be52f5 paused and stalled states now work 2006-02-12 02:25:21 +00:00
Dimitur Kirov 29ab60eaa7 add connect timeout and reconnect to
some other streamhosts when already
established connection has failed
2006-02-11 21:32:48 +00:00
Dimitur Kirov 7815fe8219 use glib current time instead of time.time() 2006-02-06 00:36:33 +00:00
Dimitur Kirov f52144c803 socks5 classes now use Gajim idlequeue
still there are several TODOs
2006-02-06 00:11:45 +00:00
Dimitur Kirov f62db4acfe Switched to non-blocking connections.
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00
Travis Shirk f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Nikos Kouremenos b66862d27e minor 2005-11-21 10:34:10 +00:00
Nikos Kouremenos 1c9f70638d fix major tb 2005-11-07 13:26:22 +00:00
Nikos Kouremenos bf4a1b28ac xrange and tupple instead of range and list in common/ 2005-10-27 13:22:42 +00:00
Dimitur Kirov 8be85027f0 read nl after auth (if sender is 0.8.2) 2005-09-10 13:43:43 +00:00
Dimitur Kirov 676b7600cf catch file read errors 2005-09-10 11:56:25 +00:00
Nikos Kouremenos e34f99cd30 more pythonic 2005-09-09 17:35:07 +00:00
Dimitur Kirov d9e95eceeb removed useless check. Faster sender speed 2005-09-09 14:53:19 +00:00
Dimitur Kirov 9c35bcd78a don't send/read nl after auth 2005-09-08 23:14:09 +00:00
Dimitur Kirov ba4fadc5cc add estimated time and speed to FT 2005-09-08 22:12:14 +00:00
Dimitur Kirov 9f91b28e12 FT works on win32 2005-08-25 20:31:58 +00:00
Dimitur Kirov 9e044cbd4c removed not-in-the-right-place line,
replaced os.path.slpit with basename when only
file_name is needed
2005-08-25 11:12:37 +00:00
Dimitur Kirov a51c320245 prevent transfer to offline contact, remove
listener when last there are no more senders
2005-08-23 21:52:56 +00:00
Dimitur Kirov ec20af6941 open file only once on sending 2005-08-17 15:38:57 +00:00
Dimitur Kirov 2f0f52e49f checks for 2 more socket exceptions..
open/close file on each read
2005-08-17 15:10:37 +00:00
Dimitur Kirov 5f0b36004d TB on connection timeout 2005-08-14 22:29:16 +00:00
Dimitur Kirov 8eb530b91c send error to stderr if another instance of
gajim is running on the same ft port
2005-08-12 19:09:20 +00:00
Dimitur Kirov 4c24be16ed added ft_custom_host for translated/forwarded
ports
2005-08-12 09:34:30 +00:00
Dimitur Kirov 5d3f81a9c3 removed the fast extention 2005-08-11 20:26:17 +00:00
Dimitur Kirov 73c5eb3dd2 proper disconnect routines 2005-08-10 15:59:55 +00:00
Dimitur Kirov 016d70d7da show correct status in toooltip, display name,
instead of jid in popup notification
2005-08-09 17:15:45 +00:00
Dimitur Kirov 2bc8bcf482 fixed logic errors in FT and proxies 2005-08-09 11:38:11 +00:00
Dimitur Kirov e9d28c9703 show error message on proxy timeout 2005-08-07 18:43:53 +00:00
Dimitur Kirov f82af54d0c don;t try to refresh the cache during FT 2005-08-07 12:05:36 +00:00
Dimitur Kirov d23bb1ffee possible TB on active reply 2005-08-06 21:40:01 +00:00
Dimitur Kirov e8c27c036d added proxies65_cache for faster work of FT
set file_transfers_proxy to proxy.jabber.org
2005-08-06 20:18:44 +00:00
Dimitur Kirov 650440fc1d rewritten socks5.py, added support for proxy65
connect to host don;t block, FT in both
directions if only one real ip, or proxy
2005-08-06 16:31:41 +00:00
Dimitur Kirov 3ab41b7e87 removed prints, reformated code,
decreased write intencity
2005-08-04 11:16:28 +00:00
Dimitur Kirov d56ba58149 added debug messages 2005-08-04 08:59:03 +00:00
Dimitur Kirov 284160c5b2 use non blocking sockets everywhere in FT 2005-08-04 07:23:14 +00:00
Dimitur Kirov fb512e63be bind to any 2005-08-03 16:53:29 +00:00
Dimitur Kirov e7536c0679 show disconnected, when recipient rejects
transfer
2005-08-03 16:21:23 +00:00
Dimitur Kirov e9daf09fe5 send file is now functional 2005-08-03 14:04:54 +00:00
Dimitur Kirov b936f2db52 moved file outside xmpp 2005-08-01 22:50:46 +00:00
Dimitur Kirov 8cb824adc5 moved to xmpp 2005-07-30 10:59:31 +00:00
Dimitur Kirov 651acf5797 removed useless prints, __main__ and added
license
2005-07-30 10:58:11 +00:00
Dimitur Kirov 5dd434c249 socks5 connection classes 2005-07-30 10:33:20 +00:00