diff options
author | Eygene Ryabinkin <rea@FreeBSD.org> | 2012-06-19 08:41:42 +0000 |
---|---|---|
committer | Eygene Ryabinkin <rea@FreeBSD.org> | 2012-06-19 08:41:42 +0000 |
commit | 68dba16b26408fd084e827379372a4c97a1c5c9a (patch) | |
tree | de0500f46fc648bd3325df3746f01f7a5ad855c3 /mail/offlineimap/files/patch-imaplib2-python-bug3473 | |
parent | - Update to 4.0.5589 (diff) |
mail/offlineimap: upgrade to 6.5.4
Changes since 6.5.3.1:
- Bump bundled imaplib2 library 2.29 --> 2.33
- Actually perform the SSL fingerprint check (reported by J. Cook)
- Curses UI, don't use colors after we shut down curses already
(C.H"oger)
- Document that '%' needs encoding as '%%' in *.conf
- Fix crash when IMAP.quickchanged() led to an Error
(reported by sharat87)
- Implement the createfolders setting to disable folder propagation
(see docs)
Changes since 6.5.3:
- Don't fail if no dry-run setting exists in offlineimap.conf
(introduced in 6.5.3)
Changes since 6.5.2.1:
- --dry-run mode protects us from performing any actual action.
It will not precisely give the exact information what will happen.
If e.g. it would need to create a folder, it merely outputs "Would
create folder X", but not how many and which mails it would
transfer.
- Internal code changes to prepare for Python3
- Improve user documentation of nametrans/folderfilter
- Fixed some cases where invalid nametrans rules were not caught and
we would not propagate local folders to the remote repository. (now
tested in test03)
- Revert "* Slight performance enhancement uploading mails to an IMAP
server in the common case." It might have led to instabilities.
- Revamped documentation structure. make in the docs dir or make doc
in the root dir will now create the 1) man page and 2) the user
documentation using sphinx (requiring python-doctools, and sphinx).
The resulting user docs are in docs/html. You can also only create
the man pages with make man in the docs dir.
- -f command line option only works on the untranslated remote
repository folder names now. Previously folderfilters had to match
both the local AND remote name which caused unwanted behavior in
combination with nametrans rules. Clarify in the help text.
- Some better output when using nonsensical configuration settings
Notes
Notes:
svn path=/head/; revision=299623
Diffstat (limited to 'mail/offlineimap/files/patch-imaplib2-python-bug3473')
-rw-r--r-- | mail/offlineimap/files/patch-imaplib2-python-bug3473 | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mail/offlineimap/files/patch-imaplib2-python-bug3473 b/mail/offlineimap/files/patch-imaplib2-python-bug3473 deleted file mode 100644 index 154d309176a1..000000000000 --- a/mail/offlineimap/files/patch-imaplib2-python-bug3473 +++ /dev/null @@ -1,37 +0,0 @@ -From b28b53c1367352eb9f634d4f23d13142b9bbbd4d Mon Sep 17 00:00:00 2001 -From: Eygene Ryabinkin <rea@codelabs.ru> -Date: Sun, 19 Feb 2012 17:35:28 +0400 -Subject: [PATCH] Imaplib2: work around the Python bug 3473 - -It was not possible to pass anything, but (*args, **kwargs) -before the following bug was solved, - http://bugs.python.org/issue3473 -so we can't say (*args, key1 = value1, key2 = value2), but we -should pack keys and values to the dictionary and pass it -with **kwargs. - -Python <= 2.5 have this unfixed, so we should fix this in our code. - -Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru> ---- - offlineimap/imaplib2.py | 4 +++- - 1 files changed, 3 insertions(+), 1 deletions(-) - -diff --git a/offlineimap/imaplib2.py b/offlineimap/imaplib2.py -index ffa2676..ed978be 100644 ---- a/offlineimap/imaplib2.py -+++ b/offlineimap/imaplib2.py -@@ -1591,7 +1591,9 @@ class IMAP4(object): - def _simple_command(self, name, *args, **kw): - - if 'callback' in kw: -- self._command(name, *args, callback=self._command_completer, cb_arg=kw, cb_self=True) -+ # http://bugs.python.org/issue3473 -+ kwargs = {'callback':self._command_completer, 'cb_arg':kw, 'cb_self':True} -+ self._command(name, *args, **kwargs) - return (None, None) - return self._command_complete(self._command(name, *args), kw) - --- -1.7.9 - |