Commit graph

15 commits

Author SHA1 Message Date
Sebastian Spaeth
21538d18af message.py: Don't use ctypes.c_bool as that does not exist in python 2.5 2010-03-30 11:42:52 +02:00
Jesse Rosenthal
3c8ba0f18f message.py: fix indentation 2010-03-30 11:00:27 +02:00
Sebastian Spaeth
3d6590be02 Need to do capitalization changes in dict keys from rev 45d2012fcf51 for all usages 2010-03-30 09:54:41 +02:00
Sebastian Spaeth
bac66abdd2 message.py: small doc changes and unused code removal 2010-03-30 09:34:40 +02:00
Sebastian Spaeth
ad597b153c Revert some unneeded white space changes 2010-03-30 09:04:48 +02:00
Jesse Rosenthal
c0db88a95c [REV2] adding part, simplifying Message.get_parts(), and fixing json to work with dme's json ui
Sebastian:

This replaces the patch it responds to. With this patch, we can now use
the cnotmuch with David's json ui. There are still issues, but this
allows interaction with emacs.

---
2010-03-30 08:59:40 +02:00
Jesse Rosenthal
61a547bd3e implement sort order for notmuch show 2010-03-28 00:02:44 +01:00
Sebastian Spaeth
62a73f7eb0 rename show_messages to print_messages and fix up the arg parsing for notmuch show a bit 2010-03-25 16:22:59 +01:00
Sebastian Spaeth
5c4af8ce39 Message(): add 'match' result in text output. Fix is_match to use class, not instance, attributes. 2010-03-25 15:55:23 +01:00
Sebastian Spaeth
ff7756184d message.yp: add GPL v3 boilerplate and add Jesse as copyright holder 2010-03-25 15:36:20 +01:00
Jesse Rosenthal
48ec49f05d Message(): Implement show message as text or json 2010-03-25 15:29:01 +01:00
Sebastian Spaeth
e80daac293 Implement Message().get|set_flag()
These were the last 2 missing methods from the Message object, which should be feature complete now.
2010-03-25 08:39:21 +01:00
Sebastian Spaeth
81a041d4cb try c_long rather c_int64 for time_t 2010-03-24 11:51:12 +01:00
Sebastian Spaeth
6efd3c8201 time_t is a signed int, not an unsigned one... 2010-03-24 11:45:31 +01:00
Sebastian Spaeth
898341f7f7 Factor Messages() and Message() out into their own file. rename tags.py to tag.py for consistency.
--HG--
rename : cnotmuch/tags.py => cnotmuch/tag.py
2010-03-24 11:32:30 +01:00