Commit Graph

632 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 8f9bd404cf * fix infinite loop in mu-cmd-index (fixes issue #36) + some cosmetics 2011-04-24 16:03:40 +03:00
Dirk-Jan C. Binnema c8dc40dadd * mu-maildir: some micro optimizations 2011-04-16 14:26:06 +03:00
Dirk-Jan C. Binnema f49f36bede * update test_view so we don't fail with gmime 2.4.24 2011-04-16 14:25:40 +03:00
Dirk-Jan C. Binnema c6fb50b166 * fix compiler warnings for gcc 4.5 2011-04-15 08:49:04 +03:00
Dirk-Jan C. Binnema f9acc69975 * add mu-msg-data-cache.[ch], WIP for the new custom tree model 2011-03-31 23:09:14 +03:00
Dirk-Jan C. Binnema b27a9f47c4 * add 'flag:unread' as a synonym for 'flag:new OR NOT flag:seen'
- update documentation
  - update test cases
  - some cleanups in the C++-code
  - bump the database version, to trigger the --rebuild warning
2011-03-31 23:08:26 +03:00
Dirk-Jan C. Binnema 9a4ba103d2 * mu-msg-data.c: add missing #include <string.h> for memcpy 2011-03-22 23:41:12 +02:00
Dirk-Jan C. Binnema 054282dc63 * mu-str.h: improve mu_str_is_empty macro 2011-03-22 23:37:17 +02:00
Dirk-Jan C. Binnema adf45c4ee0 * mu-msg-iter.cc, mu-query.cc, mu-store.cc: use more c++ facilities 2011-03-22 23:37:01 +02:00
Dirk-Jan C. Binnema 26286e2dbb * add mu-msg-data.[ch], which is useful when one needs to cache message data
(ie., iterators are good for printing to screen, but mu-msg-data is for
   msg data that should be kept in-memory)
2011-03-22 23:36:11 +02:00
Dirk-Jan C. Binnema 9727614f41 * Makefile.am: add mu-msg-data.[ch] 2011-03-21 01:56:54 +02:00
Dirk-Jan C. Binnema 186e44ca66 * mu-query: some cleanups 2011-03-21 01:56:32 +02:00
Dirk-Jan C. Binnema 656004ee9e * mu-msg-iter: some reimplementation 2011-03-21 01:55:11 +02:00
Dirk-Jan C. Binnema 4f93f7cc05 * add mu_msg_iter_get_index, to get the sequence number of the iterator 2011-03-19 10:11:13 +02:00
Dirk-Jan C. Binnema b98af916b5 * mu-config.c: small docu update 2011-03-19 10:08:20 +02:00
Dirk-Jan C. Binnema d98f1e52ad * mu_runtime: update getting standard dirs / paths, use them 2011-03-19 10:07:32 +02:00
Dirk-Jan C. Binnema 12a992b8d2 * fix mu_msg refcounting in widgets 2011-03-15 20:38:26 +02:00
Dirk-Jan C. Binnema f8fd420215 * add support for using mu cfind as an external address book for 'mutt' + document 2011-03-06 12:40:08 +02:00
Dirk-Jan C. Binnema 3b445d9fac * mu-contacts: plug a leak + some optimization 2011-03-06 12:16:04 +02:00
Dirk-Jan C. Binnema 1a504b50a4 * mu-config: some refactoring to satisfy make line33 2011-03-06 12:15:43 +02:00
Dirk-Jan C. Binnema f1056d9ddb * mu-cmd-cfind: use the new first_name/last_name/nick functions to generate
better address book data
2011-03-06 12:15:22 +02:00
Dirk-Jan C. Binnema 9a600e71c9 * mu-str: add mu_str_guess_first_name, mu_str_guess_last_name and
mu_str_guess_nick, + unit tests

  these function do a simple guess for the first/lastname and nick, so we can
prefill	the results of 'mu cfind' with some first guesses.
2011-03-06 12:14:26 +02:00
Dirk-Jan C. Binnema 17f2e3bdf9 * WIP: add bbdb export support 2011-03-05 17:41:13 +02:00
Dirk-Jan C. Binnema 1e9ec55034 * use differerent exit codes for error, no matches as >0 matches; as per man page 2011-03-05 15:07:49 +02:00
Dirk-Jan C. Binnema 35e9e0ea8b * add mu-cmd-cfind.c to Makefile.am 2011-03-05 09:42:52 +02:00
Dirk-Jan C. Binnema b6cfe6f748 * mu-cmd-cfind: split off into separate mu-cmd- file 2011-03-05 09:42:06 +02:00
Dirk-Jan C. Binnema 86971d53d8 * WIP: basic 'mu cfind' command + start of man page 2011-03-05 00:59:35 +02:00
Dirk-Jan C. Binnema 6226754a25 * WIP: mu-contacts; add the following: return timestamp callback and add regexp filtering capabilities 2011-03-03 21:22:11 +02:00
Dirk-Jan C. Binnema b9be7f210c * WIP: rudimentary implementation of the 'cfind' command, to find contacts 2011-03-02 23:26:54 +02:00
Dirk-Jan C. Binnema 0bc10837fe * fix mu-cmd-index.c, mu-store.c to honor line33 2011-03-02 23:03:24 +02:00
Dirk-Jan C. Binnema 01c9410d0f * WIP(2): mu-contact.[ch], basic implementation 2011-03-02 22:39:32 +02:00
Dirk-Jan C. Binnema deeaf41f33 * WIP: contact listing / searching.
this is the first part, adding a cache for all the contacts in mails
  (~/.mu/cache/contacts), which is a .ini-type file.
2011-03-02 00:13:24 +02:00
Dirk-Jan C. Binnema ad5aae2c6b * mu-runtime.c: fix small memleak 2011-02-06 10:50:39 +02:00
Dirk-Jan C. Binnema d015b04c2a * mu-msg.c: convert html mail to utf-8, too. this fixes the display of
non-utf8 html with chars outside ascii
2011-02-06 10:49:36 +02:00
Dirk-Jan C. Binnema 1276b77a17 * mu-index.c: fix needless warning when msg is no longer there 2011-02-04 20:52:49 +02:00
Dirk-Jan C. Binnema b1a17a1b9b * mu_store_get_timestamp: fix memleak 2011-02-04 20:47:56 +02:00
Dirk-Jan C. Binnema 965b34fd70 * test_mu_view_01: the test depended on a MIME-decoding bug in gmime; since that bug has
been fixed in newer versions, accept the outcome of that, too.
2011-01-31 20:56:28 +02:00
Dirk-Jan C. Binnema 2473c9599c * cosmetics 2011-01-31 09:15:55 +02:00
Dirk-Jan C. Binnema 8352f6a1bf * mu-util.c: use /etc/passwd (and likewise) to determine homedir in preference
over $HOME
2011-01-31 09:15:42 +02:00
Dirk-Jan C. Binnema 96d0b4b1d4 * test-mu-cmd.c: always set a tempdir for muhome; this fixes running unit
tests as a different user, and prevents unit test logs to end up in your
  normal log
2011-01-31 09:14:54 +02:00
Dirk-Jan C. Binnema 5997973d41 * mu-cmd-extract.c: only check for writability of targetdir if we're actually
going to write something; this fixes running unit tests in a unwritable env
2011-01-31 09:13:26 +02:00
Dirk-Jan C. Binnema 354cc421ea * src/Makefile.am: use BUILD_TESTS 2011-01-31 09:12:31 +02:00
Dirk-Jan C. Binnema 77a1727237 * test-mu-util.c: remove bad test that broke the gentoo build 2011-01-30 10:38:51 +02:00
Dirk-Jan C. Binnema 6842c8c8a1 * mu_str_display_contact_s: split, so 'make cc10' is honored 2011-01-29 15:00:46 +02:00
Dirk-Jan C. Binnema 3ea01df556 * cosmetics 2011-01-29 12:45:21 +02:00
Dirk-Jan C. Binnema a2dbe365c6 * unbreak mu-str 2011-01-21 20:13:18 -05:00
Dirk-Jan C. Binnema aab3226d90 * remove '-characters, () from contact displays 2011-01-21 20:11:11 -05:00
Dirk-Jan C. Binnema 27965456ad * mu-maildir: some cleanups, shorten names for link creation 2011-01-16 13:54:32 +02:00
Dirk-Jan C. Binnema c76af05a7a * make mag-msg-store a configurable parameter; refactor the setting of the
xapian batch size
2011-01-15 13:27:41 +02:00
Dirk-Jan C. Binnema 62acc7739d * change MuMaildirWalkMsgCallback so it take a full stat buf* instead of just
the ctime; then do the checking for the file size (st_size) in mu-index

  also, update a unit test which was using an invalid MuMaildirWalkMsgCallback
2011-01-15 11:53:18 +02:00