[PATCH 1/2] test: remove executable permissions from test-lib.sh

2011-11-25 Thread Dmitry Kurochkin
It is not supposed to be run, only sourced. --- 0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 test/test-lib.sh diff --git a/test/test-lib.sh b/test/test-lib.sh old mode 100755 new mode 100644 -- 1.7.7.3 ___ notmuch mai

[PATCH 2/2] test: cleanup basic tests

2011-11-25 Thread Dmitry Kurochkin
Basic test 'Ensure that all available tests will be run by notmuch-test' compares all tests that are run with listing of test/ directory. There is a growing list of exceptions for files and directories which located in the test/ directory but are not tests. Moreover some (probably buggy) tests do

Re: [PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default)

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 23:03:20 +0100, Gregor Zattler wrote: > Dear David, notmuch developers, > > * David Bremner [24. Nov. 2011]: > > On Sun, 23 Oct 2011 21:38:43 +0200, Gregor Zattler > > wrote: > > The extra copy of the patch header messes up the log messages with the 3 > > test related patch

[PATCH 0/4] emacs: make message indentation width customisable (was: Re: [PATCH 2a/2] emacs: test notmuch-indent-messages-width default)

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 23:03:20 +0100, Gregor Zattler wrote: > Dear David, notmuch developers, > > * David Bremner [24. Nov. 2011]: > > On Sun, 23 Oct 2011 21:38:43 +0200, Gregor Zattler > > wrote: > > The extra copy of the patch header messes up the log messages with the 3 > > test related patch

Re: [PATCH] test: fix sed error in basic tests

2011-11-25 Thread Dmitry Kurochkin
Ping. Perhaps this is trivial enought to be pushed? Regards, Dmitry ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

compile error of current git on F15

2011-11-25 Thread Darren McGuicken
t part -- A non-text attachment was scrubbed... Name: notmuch-0.6.1-gmime.patch Type: text/x-patch Size: 9862 bytes Desc: Fedora GMime Patch URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2025/6acb206f/attachment.bin> -- next part -- A non-tex

[PATCH 3/3] emacs: do not call notmuch show for non-inlinable parts

2011-11-25 Thread Dmitry Kurochkin
Before the change, there was a workaround to avoid notmuch show calls for parts with application/* Content-Type. But non-inlinable parts are not limited to this Content-Type (e.g. mp3 files have audio/mpeg Content-Type and are not inlinable). For such parts `notmuch-show-insert-part-*/*' handler

[PATCH 2/3] test: check that Emacs UI does not call notmuch for non-inlinable parts

2011-11-25 Thread Dmitry Kurochkin
The patch adds two new test cases: * Do not call notmuch for non-inlinable application/mpeg parts * Do not call notmuch for non-inlinable audio/mpeg parts The application/mpeg test passes thanks to a workaround for application/* Content-Types. The audio/mpeg is currently broken. --- test/emacs

[PATCH 1/3] test: add functions to count how much times notmuch was called

2011-11-25 Thread Dmitry Kurochkin
The patch adds two auxiliary functions and a variable: notmuch_counter_reset $notmuch_counter notmuch_counter They allow to count how many times notmuch binary is called. notmuch_counter_reset() function generates a script that counts how many times it is called and resets the counter to ze

[PATCH 3/3] Whitespaces cleanup.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index ec250b2..1548ca4 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,16 +1,17 @@ #include #include #include -int main (){

[PATCH 2/3] Fix warnings for test/symbol-test.cc.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..ec250b2 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,10 +1,9 @@ #include #include #include -main (int argc, char *

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
subject for another patch. Purpose of this one is to make building out of tree working. -- Amadeusz ?o?nowski -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2025/b3af8dc4/attachment.pgp>

[PATCH 2/2] emacs: remove unused variable in `notmuch-show-insert-part-message/rfc822'

2011-11-25 Thread Dmitry Kurochkin
An obvious cleanup. I wonder why there was no warning about this during compilation. --- emacs/notmuch-show.el |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index bcc436f..66c08cc 100644 --- a/emacs/notmuch-show.el +++ b/ema

[PATCH 1/2] emacs: remove some code duplication in notmuch-show

2011-11-25 Thread Dmitry Kurochkin
Add optional props argument to `notmuch-show-get-header'. Use it to get headers in `notmuch-show-insert-part-multipart/signed' and `notmuch-show-insert-part-multipart/encrypted'. --- emacs/notmuch-show.el | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/emacs/notm

compile error of current git on F15

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 21:45:20 +, Darren McGuicken wrote: > Hi guys, I assume this is old news, although I haven't seen anything > else mentioned on list since the chain Dirk started - there's a koji > build of 0.9 for rawhide, the source rpm of which contains a gmime 2.6 > patch. I recently mo

[PATCH] test: add simple tests for online help

2011-11-25 Thread David Bremner
From: David Bremner Nothing fancy, but we can at least detect segmentation faults. --- I think Jani was just making fun of me when he suggested tests for notmuch --help, but I thought, why not. test/help-test| 12 test/notmuch-test |1 + 2 files changed, 13 insertions(+)

Re: compile error of current git on F15

2011-11-25 Thread Darren McGuicken
On Fri, 25 Nov 2011 13:43:35 -0500, David Bremner wrote: > Just confirm, all the crypto tests pass with this patch? In that case, > can we have the patch (preferably as generated by git-send-email)? Or > did I miss it somewhere in this thread? I don't believe the patch ever made it to the list, I

[PATCH 2/2] Fixed warnings for test/symbol-test.cc.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..bfbe38f 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,14 +1,13 @@ #include #include #include -main (int argc, c

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and builddir are separate directories. --- test/.gitignore |1 + test/Makefile.local |5 - test/basic |2 +- test/

[PATCH] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and builddir are separate directories. Fixed warnings in symbol-test.cc, btw. --- test/.gitignore |1 + test/Makefile.local |5 +++

[PATCH] Build symbol-test with make a not manually in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/2025/aa0f7ce0/attachment-0001.pgp>

[PATCH] Build symbol-test with make a not manually in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
Fixed warnings in symbol-test.cc, btw. --- test/.gitignore |1 + test/Makefile.local |5 - test/basic |2 +- test/symbol-hiding |3 +-- test/symbol-test.cc |9 - 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/test/.gitignore b/test/.gi

Re: compile error of current git on F15

2011-11-25 Thread David Bremner
On Thu, 24 Nov 2011 21:45:20 +, Darren McGuicken wrote: > Hi guys, I assume this is old news, although I haven't seen anything > else mentioned on list since the chain Dirk started - there's a koji > build of 0.9 for rawhide, the source rpm of which contains a gmime 2.6 > patch. I recently m

[PATCH] test: add simple tests for online help

2011-11-25 Thread David Bremner
From: David Bremner Nothing fancy, but we can at least detect segmentation faults. --- I think Jani was just making fun of me when he suggested tests for notmuch --help, but I thought, why not. test/help-test| 12 test/notmuch-test |1 + 2 files changed, 13 insertions(+)

[PATCH 2/2] Fixed warnings for test/symbol-test.cc.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:52 +0100, Amadeusz ?o?nowski wrote: > --- > + //notmuch_database_t *notmuch = > + notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); Leaving commented out code in is for people without version control ;). Shouldn't this cast to void? > >try{ > -

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz ?o?nowski wrote: > > +$(dir)/symbol-test: $(dir)/symbol-test.o > + $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian I'm a bit surprised no -I is neaded here. Is that taken care in the CC call? > .PHONY: test check > -test:all $(dir)/s

Re: python-notmuch decoding error on a message

2011-11-25 Thread Patrick Totzke
Silly question: how do i get Antoine's msg stup into notmuch? i tried using pythons mailbox lib to add this string to one of my mailboxes, which works fine. but upon `notmuch new` I get something along the lines of "skipped non-mail file $myfile".. back to the topic: I find it hichgly suprising

python-notmuch decoding error on a message

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 09:04:06 +, Patrick Totzke wrote: > Silly question: how do i get Antoine's msg stup into notmuch? i tried > using pythons mailbox lib to add this string to one of my mailboxes, > which works fine. but upon `notmuch new` I get something along the > lines of "skipped non-ma

[PATCH 3/3] Whitespaces cleanup.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index ec250b2..1548ca4 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,16 +1,17 @@ #include #include #include -int main (){

[PATCH 2/3] Fix warnings for test/symbol-test.cc.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..ec250b2 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,10 +1,9 @@ #include #include #include -main (int argc, char *

Re: [PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
Excerpts from David Bremner's message of 2011-11-25 14:04:44 +0100: > On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz Żołnowski > wrote: > > > > +$(dir)/symbol-test: $(dir)/symbol-test.o > > +$(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian > > I'm a bit surprised no -I is neaded here. Is t

Incorrect parsing of email addresses (MIME with quotes)

2011-11-25 Thread Petter Reinholdtsen
[David Bremner] > Notmuch is accepting the input, it just isn't displaying it the way > you want. Well, I guess that is mostly a question of semantics and definitions. To me it isn't really accepting the input when I try to reply to an email with the problem in question and end up with On Mon,

Re: [PATCH 2/2] Fixed warnings for test/symbol-test.cc.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:52 +0100, Amadeusz Żołnowski wrote: > --- > + //notmuch_database_t *notmuch = > + notmuch_database_open ("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); Leaving commented out code in is for people without version control ;). Shouldn't this cast to void? > >try{ >

Re: [PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz Żołnowski wrote: > > +$(dir)/symbol-test: $(dir)/symbol-test.o > + $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian I'm a bit surprised no -I is neaded here. Is that taken care in the CC call? > .PHONY: test check > -test:all $(dir)/

Re: python-notmuch decoding error on a message

2011-11-25 Thread David Bremner
On Fri, 25 Nov 2011 09:04:06 +, Patrick Totzke wrote: > Silly question: how do i get Antoine's msg stup into notmuch? i tried > using pythons mailbox lib to add this string to one of my mailboxes, > which works fine. but upon `notmuch new` I get something along the > lines of "skipped non-m

[PATCH 2/2] Fixed warnings for test/symbol-test.cc.

2011-11-25 Thread Amadeusz Żołnowski
--- test/symbol-test.cc |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1de06ea..bfbe38f 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -1,14 +1,13 @@ #include #include #include -main (int argc, c

[PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and builddir are separate directories. --- test/.gitignore |1 + test/Makefile.local |5 - test/basic |2 +- test/

[PATCH] Build symbol-test with make instead of hardcoding in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and builddir are separate directories. Fixed warnings in symbol-test.cc, btw. --- test/.gitignore |1 + test/Makefile.local |5 +++

Re: [PATCH] Build symbol-test with make a not manually in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
Excerpts from Amadeusz Żołnowski's message of 2011-11-25 10:52:16 +0100: > Fixed warnings in symbol-test.cc, btw. I forgot to add: why. If symbol-test is built in symbol-hiding with hardcoded g++ invokation, it's not so easy to pass $(srcdir) which is required to find notmuch.h when srcdir and bu

[PATCH] Build symbol-test with make a not manually in symbol-hiding.

2011-11-25 Thread Amadeusz Żołnowski
Fixed warnings in symbol-test.cc, btw. --- test/.gitignore |1 + test/Makefile.local |5 - test/basic |2 +- test/symbol-hiding |3 +-- test/symbol-test.cc |9 - 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/test/.gitignore b/test/.gi

Re: python-notmuch decoding error on a message

2011-11-25 Thread Patrick Totzke
Silly question: how do i get Antoine's msg stup into notmuch? i tried using pythons mailbox lib to add this string to one of my mailboxes, which works fine. but upon `notmuch new` I get something along the lines of "skipped non-mail file $myfile".. back to the topic: I find it hichgly suprising