aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* test: update documentation for test_emacs in test/READMEDmitry Kurochkin2011-09-10
| | | | | | Update test_emacs documentation in test/README according to the latest changes in emacs tests. Move the note regarding setting variables from test/emacs to test/README.
* Merge branch 'release'David Bremner2011-09-10
|\
| * update date in NEWS to better approximate real release date for 0.8David Bremner2011-09-10
| |
| * debian: update changelog for 0.8David Bremner2011-09-10
| |
| * update versions for release 0.8David Bremner2011-09-10
| | | | | | | | See commit 6979b65 for more discussion.
| * NEWS: add blurb for python bindings changesDavid Bremner2011-09-10
| |
| * add news item for rubyDavid Bremner2011-09-09
| |
| * NEWS: add item for build system fixesDavid Bremner2011-09-08
| | | | | | | | Sed was POSIXed and use of nm dumbed down, replaced by awk hackery.
* | Do not attempt to output part raw if part is not GMimePart.Jameson Graef Rollins2011-09-07
|/ | | | | | | | | | | This was a minor oversite in checking of part type when outputing content raw. This was causing gmime was to throw an exception to stderr. Unfortunately the gmime exception was not being caught by notmuch, or the test suite. I'm not sure if notmuch should have done anything in this case, but certainly the test suite should be capable of detecting that something unexpected was output to stderr.
* update versions for release candidateDavid Bremner2011-09-06
| | | | | | | | | | we now have three files to keep in sync. That seems wrong, but I guess we will live with it for now. The main problem is that the python code is distributed separately, so it can't get the version from 'version'. The choice ~rcX is for convenience with debian versioning.
* Add NEWS item output improvements to rfc822 part handling.Jameson Graef Rollins2011-09-06
|
* emacs: Improve support for message/rfc822 parts.Jameson Graef Rollins2011-09-05
| | | | | | | The insert-part-message/rfc822 function is overhauled to properly processes the new formatting of message/rfc822 parts. The json output for message parts now includes "headers" and "body" fields, which are now parsed and output appropriately.
* Improve handling of message/rfc822 parts by adding a new header_message_part ↵Jameson Graef Rollins2011-09-05
| | | | | | | | | function to the formating structure. This new function takes a GMimeMessage as input, and outputs the formatted headers. This allows for message/rfc822 parts to be formatted on output in a similar way to full messages (see previous patch that overhauls the multipart test for more info).
* test: overhaul multipart test to test for improved message/rfc822 handlingJameson Graef Rollins2011-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main goal of this overhaul is to define how message/rfc822 parts should be handled. message/rfc822 parts should be output in a similar fashion to the outer message, including some subset of the rfc822 headers. The following decisions about formatting of message/rfc822 parts were made: The format and content of message/rfc822 parts shall be as similar as possible to that of full messages. In particular, for formatted outputs, the "content" of rfc822 part output should include "headers" and "body" fields). The "body" field shall include the body of the message. The "headers" field shall include the following headers, since these are the ones available from the GMimeMessage: "From" "To" "Cc" "Subject" "Date" However, for the case of --format=raw the raw rfc822 should be output, including all headers. A subset of relevant headers shall be output in reply. The test embedded rfc822 message is also modified to be itself multipart, so we can more fully test how all sub parts of the message part are output. Note added by Committer: Currently, expect one test (--format=raw --part=3, rfc822 part) to fail.
* Merge branch 'master' of ssh://notmuchmail.org/git/notmuchSebastian Spaeth2011-09-05
|\
| * test: Fix date in test message in multipart test.Jameson Graef Rollins2011-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test message date, "Tue, 05 Jan 2001 15:43:57 -0000", is not actually a real date. 05 Jan 2001 was in fact a Friday, not a Tuesday. Date parsers (such as "date" in coreutils) will return "Fri" as the day for this string, even if "Tue" is specified. Also, the time zone "-0000" is actually always returned as "+0000", so we change that here was well. This will be relevant for later patches when we begin parsing rfc822 part headers, where gmime returns a parsed date string. If we do want to test date parsing, we should do that in a separate test.
| * test: some small fixes to multipart testJameson Graef Rollins2011-09-05
| | | | | | | | | | | | | | | | There were two "--format=text --part=0" tests. One of them was supposed to be a test for "--format=text --part=1". There were also two errant "test_expect_equal_file OUTPUT EXPECTED" lines, that are removed here.
| * build system: Check that python bindings have consistent version when releasingDavid Bremner2011-09-05
| | | | | | | | | | | | | | Thanks to Sebastian Spaeth breaking out version.py, this can be done without loading notmuch.py, or using sed. version.py is not (yet) autogenerated because it seems more important to minimize the differences between the tagged version and the tarball.
| * lib/gen-version-script.h: add getline and getdelim to notmuch.sym if neededDavid Bremner2011-09-05
| | | | | | | | | | | | | | | | If the configure script detects missing getline and/or getdelim symbols, then notmuch will use it's own versions. This patch, based on id:"87k49v12i5.fsf@pc44es141.cs.uni-magdeburg.de" by Matthias Guedemann, adds the symbols to notmuch.sym as well so they are properly exported from the library.
| * lib/gen-version-script.sh: replace --defined argument to nm with awkDavid Bremner2011-09-05
| | | | | | | | | | | | | | | | | | | | OpenBSD nm apparently doesn't support --defined. The awk condition is based on the assumption that all defined symbols have some hex number in the first column. Thanks to Matthias Guedemann reporting the problem, and an earlier version of this patch.
| * fix checking whether header is member of message-hidden-headersTomi Ollila2011-08-25
| | | | | | | | | | | | | | | | Emacs lisp function 'member' takes element and list as an argument. I.e. the second argument is list, not symbol referencing the list. On emacs 23.x the member call always returned nil (thus buggy), on emacs 22.x the call failed, making it unusable.
* | python: Make Database take unicode pathsSebastian Spaeth2011-09-05
|/ | | | | | | | Decode and Encode from/to unicode objects as required to be able to take unicode path names. Previously we would error out when an unicode object were handed it. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Have setup.py read the version number without importingSebastian Spaeth2011-08-24
| | | | | | | | | | | | | | Importing the notmuch module in setup.py is a no-no, and we want to auto-generate the version number in the release process. Outsource __VERSION__ to the new version.py which contains nothing else and which can therefor easily be autogenerated. Have setup.py read in the file via execfile and test if importing the version number actually worked. This should make all happy. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Updated development status and wording in setup.pySebastian Spaeth2011-08-24
| | | | | | | We are beyond pre-alpha, and the Requirements wording could take some tweaking. Done. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Revert "python: Simplify setup.py"Sebastian Spaeth2011-08-24
| | | | | | | | | | | | This reverts commit 8826fc2d7b4e59afdd8cea06891a0c43245340c5. It seems that importing the module in setup.py is controversial at best, as it will fail for users that don't have all dependencies installed. This was the case in e.g. the Ubuntu autobuilder, so building notmuch failed. The plan is to create an autogenerated setup.py that can be used for version information. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Merge branch 'master' of ssh://notmuchmail.org/git/notmuchSebastian Spaeth2011-08-23
|\
| * re-enable notmuch.sym generation using POSIX sedDavid Bremner2011-08-21
| | | | | | | | | | | | | | | | | | Unfortunately Robin Green's patch 52e4dedf9aa was lost when I created gen-version-script.sh. This merges his changes manually into that script. It turns out tabs seem not needed in version script files, so I simplified a bit and removed the printf. Thanks to Alexander Botero-Lowry for help and testing.
* | python: Simplify setup.pySebastian Spaeth2011-08-23
|/ | | | | | | | | We were using a template setup.py which parsed __init__.py in complex ways just to find out the version number. Simply import notmuch and use __VERSION__ directly. Also adapt some wording and setup.py values while going through. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Fix unsafe utf-8 decodingspazz2011-08-17
| | | | | | | | This prevents unsafe calls to decode for return value None in get_authors/get_subject which would current throw an Exception. Original patch modified by Sebastian Spaeth. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* decode headers from utf-8 to unicodepatrick2011-08-15
| | | | | as mail headers are stored as utf-8 in the index, it is safe to return them as unicode strings directly
* python: remove Tags().__len__() implementationSebastian Spaeth2011-08-09
| | | | | | | | | | | len() exhausts the tag iterator and e.g. list() or "".join(tags) implicitly call len() if existing and then failing. So, we remove Tags.__len__(). If you need to know the number of tags a message has, do use len(list(tags)). It would be nicer to be able to support len() directly... Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Do explicitly check if the next tag existsSebastian Spaeth2011-08-09
| | | | | | | | If we try to pull a non-existing tag, Tags._get will return None and the appended .decode() command will fail. So make sure that there is a tag to be fetched before fetching it. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: pep8 compliance for __init__.pypazz2011-08-09
|
* python: pep8 compliance for thread.pypazz2011-08-09
|
* python: pep8 compliance for tag.pypazz2011-08-09
|
* python: pep8 compliance for globals.pypazz2011-08-09
|
* python: pep8 compliance for filename.pypazz2011-08-09
|
* python: pep8 compliance for database.pypazz2011-08-09
|
* python: pep8 compliance for message.pypazz2011-08-09
|
* python: Really throw an error if search_threads() failsSebastian Spaeth2011-08-09
| | | | | | | | | | | | In case, search_threads returns an error we are supposed to throw an Exception. But we did not "raise" it, this was an oversight and this commit fixes it. There is still the problem that there is often output to stderr by libnotmuch detailing the xapian error and this is simply printed out. But this requires fixing at the libnotmuch level... Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* python: Fix copy'n paste typoCedric Cabessa2011-08-09
| | | | | | | we accessed a wrong attribute due to a copy and paste error. Thanks for catching this. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Merge branch 'release'David Bremner2011-08-01
|\
| * debian: new changelog stanza for 0.7David Bremner2011-08-01
| | | | | | | | | | No actual changes, but we need a new stanza to upload to unstable anyway.
| * update NEWS for 0.7David Bremner2011-08-01
| | | | | | | | Essentially point form from git log --oneline.
| * version: bump to 0.7David Bremner2011-08-01
| | | | | | | | No actual changes since 0.7~rc1
| * Revert "debian: Generate version from debian/changelog"David Bremner2011-07-29
| | | | | | | | | | | | | | | | This reverts commit 2b76283b52a2389a591ca055b086381c44e2a61f. Conflicts: debian/rules
| * build-system: Add pre-release targetDavid Bremner2011-07-29
| | | | | | | | | | | | | | This is a lighter weight version of the release target, intended to support uploading release candidates to Debian. As a side effect, filter ~ out of VERSION to make tag names.
| * bump upstream version to 0.7~rc1David Bremner2011-07-29
| |
| * debian: changelog stanza for release candiateDavid Bremner2011-07-29
| |
* | ruby: Fix typo in documentationAli Polatel2011-07-29
| | | | | | | | It's Notmuch::FileNames not Notmuch::Filenames