Commit Graph

46 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 21cbf42d27 * fix cc10 check 2011-05-19 20:50:16 +03:00
Dirk-Jan C. Binnema 49858a6fc1 * fix line33 check 2011-05-19 20:22:55 +03:00
Dirk-Jan C. Binnema 3223892e24 * mu-maildir: also ignore .#evolution, update comments a bit 2011-05-06 08:33:37 +03:00
Dirk-Jan C. Binnema 0758ab6645 * refactoring: merge mu-msg-file with mu-maildir 2011-05-06 08:11:47 +03:00
Dirk-Jan C. Binnema c8dc40dadd * mu-maildir: some micro optimizations 2011-04-16 14:26:06 +03: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 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
Dirk-Jan C. Binnema aa22e5e90d * some further cleanups 2011-01-05 20:38:33 +02:00
Dirk-Jan C. Binnema 2950d29ca7 * mu-maildir: use GError, not g_warning 2010-12-17 08:33:48 +02:00
Dirk-Jan C. Binnema d14727c7a8 * dont't require direntry->d_type; this should help the Solaris build.
also, some cleanups
2010-12-11 13:52:03 +02:00
Dirk-Jan C. Binnema 68af173246 * use GError in various mu_maildir function to return error info 2010-12-05 16:29:53 +02:00
Dirk-Jan C. Binnema 8321f6718a * mu_maildir_mkmdir => mu_maildir_mkdir 2010-12-05 15:40:40 +02:00
Dirk-Jan C. Binnema ba2918ca41 * unify error printing a bit (starting with lowercase) 2010-11-30 22:20:27 +02:00
Dirk-Jan C. Binnema bbfe1cbd2d * mu-maildir.c: some micro-optimizations 2010-11-14 21:53:24 +02:00
Dirk-Jan C. Binnema fe68f403f8 * mu-maildir.c: update comment 2010-11-12 22:35:21 +02:00
Dirk-Jan C. Binnema 2861e622c9 * mu-maildir.c: cosmetics 2010-11-08 08:46:24 +02:00
Dirk-Jan C. Binnema fb46b4fddc * mu-maildir.c: use lstat, not stat in readdir_with_stat_fallback; this fixes
issue #28.
2010-11-07 19:14:01 +02:00
Dirk-Jan C. Binnema fb1651e184 * <many> fix small conversion errors (-Wconversion) 2010-09-26 17:29:54 +03:00
Dirk-Jan C. Binnema 1a8de6e1db * mu-maildir: return right MuResult from callback 2010-09-12 21:39:15 +03:00
Dirk-Jan C. Binnema b4d7ea5a36 * mu-maildir.c: minor, cosmetic 2010-09-09 08:19:00 +03:00
Dirk-Jan C. Binnema 89f2182f03 * some minor cleanups 2010-08-27 00:25:07 +03:00
Dirk-Jan C. Binnema 451be4394d * mu-maildir: start maildirs (for the maildir: search param) with a slash
(well, G_DIR_SEPARATOR); thus, we can find mails in the 'root' maildir as
  well. When indexing under (say) ~/Maildir, a mail in cur will have maildir
  '/', and in foo/cur will have '/foo'
2010-02-15 20:24:00 +02:00
Dirk-Jan C. Binnema a4471e6bdd * mu-maildir.c: small refactoring to satisfy 'make line33' 2010-02-09 21:53:12 +02:00
Dirk-Jan C. Binnema b2c8f38c0c * mu-maildir: feed the maildir name to message callback
(ie., when the full path is ~/Maildir/foo/bar/cur/msg, the maildir is foo/bar)
2010-02-08 21:18:46 +02:00
Dirk-Jan C. Binnema 933245928f * mu-index.c, mu-maildir.c, test-mu-query.c: some refactoring to get max line
len <= 35
2010-02-02 08:46:01 +02:00
Dirk-Jan C. Binnema fb7e358912 * implement signal handler for mu index, and document it 2010-01-25 09:28:08 +02:00
Dirk-Jan C. Binnema 9ba4b29bba * mu-maildir: some refactoring, fix clearlinks issue 2010-01-24 14:55:22 +02:00
Dirk-Jan C. Binnema 501ce008d3 * <many>: (WIP) use ~/mu/xapian as the database with an embedded version tag
- add checks in the code to make sure the database is up to date,
    if not, warn the user.
2010-01-23 20:50:06 +02:00
Dirk-Jan C. Binnema fc64926c63 * mu_maildir_mkdir: add logging 2010-01-21 20:04:30 +02:00
Dirk-Jan C. Binnema fdb69a85a4 * cosmetics 2010-01-16 15:28:17 +02:00
Dirk-Jan C. Binnema 6f48dbed79 * configure.ac, mu-maildir.c: some compatibility updates 2010-01-16 11:32:07 +02:00
Dirk-Jan C. Binnema da1e9a3841 * *.c: rename _prefixed function into non-prefixed ones (violates ISO) 2010-01-15 22:11:51 +02:00
Dirk-Jan C. Binnema 223e3f95b0 * mu-maildir: tentative support for filesystems without d_type in dirent
(untested)
2010-01-15 08:45:39 +02:00
Dirk-Jan C. Binnema 5fb08c66d1 * cosmetic 2010-01-11 20:47:01 +02:00
Dirk-Jan C. Binnema b502353017 * mu-maildir.[ch]: cosmetics 2010-01-08 20:53:21 +02:00
Dirk-Jan C. Binnema 979887a36e * mu-maildir: use ctime instead of mtime, some cosmetics 2010-01-07 09:00:48 +02:00
Dirk-Jan C. Binnema 498c6418df * mu-maildir: better logging 2010-01-06 01:26:41 +02:00
Dirk-Jan C. Binnema c45cf39fd2 * mu-maildir: make max file size 32Mb; ignore too big files, but do not raise an error 2010-01-04 20:17:12 +02:00
Dirk-Jan C. Binnema 340dd1f94e * add mu_maildir_clear_links to remove symlinks from a maildir 2010-01-03 13:40:40 +02:00
Dirk-Jan C. Binnema ae5c92fc7a * mu_maildir_walk: skip the final / from dirnames 2010-01-02 16:05:23 +02:00
Dirk-Jan C. Binnema 1bfdc73547 * small cleanups 2010-01-01 21:00:09 +02:00
Dirk-Jan C. Binnema 144fffc4be * mu-maildir: represent srcpath in symlink target, so things work if there are copies 2010-01-01 16:34:40 +02:00
Dirk-Jan C. Binnema 05400c83d8 * mu-maildir: use warnings instead of GErrors 2010-01-01 16:15:41 +02:00
Dirk-Jan C. Binnema 4890ad0216 * update copyright year => 2010 2010-01-01 15:56:45 +02:00
Dirk-Jan C. Binnema 5b0fb90230 * move all Maildir funcs to mu-maildir.[ch] 2010-01-01 15:51:50 +02:00
Dirk-Jan C. Binnema 366c1ea44f * add symlink support, code refactoring 2009-12-31 19:27:41 +02:00