Commit Graph

  • 1b9b5f8bfd backport: put pointers to bdb open() into parentheses, so they won't be macro-expanded as libc open. Oswald Buddenhagen 2008-02-23 09:03:22 +0000
  • a365e20660 put pointers to bdb open() into parentheses, so they won't be macro-expanded as libc open. patch by fedora -REF: <1197916586.13945.120.camel@localhost.localdomain> Oswald Buddenhagen 2008-02-23 09:01:51 +0000
  • 1f7b81fb8b reshuffle for "contact priority's" sake Oswald Buddenhagen 2008-02-23 08:53:39 +0000
  • 5d03247bec backport: don't use #ifdef inside htons() arguments - it can be a macro. Oswald Buddenhagen 2007-09-22 08:49:05 +0000
  • 2b37288e8d don't use #ifdef inside htons() arguments - it can be a macro. -REF: <lyy7ezyjah.fsf@gfn.org> CCMAIL: Scott Gifford <sgifford@suspectclass.com> Oswald Buddenhagen 2007-09-22 08:45:41 +0000
  • 0d27c5f4cb avoid crash in case of a rather weird (==misconfigured?) sync state location. Oswald Buddenhagen 2007-04-04 17:55:13 +0000
  • 5b857b3b19 forward port (finally ...): add target for creating signed package Oswald Buddenhagen 2007-04-04 17:03:45 +0000
  • 42ca262e39 #ifdef __linux__ for the crash handler. it compiles on other platforms, but the functionality is bound to linux' /proc structure. Oswald Buddenhagen 2007-04-04 16:19:47 +0000
  • 0eb399c672 accept empty SEARCH IMAP responses - reasonable servers omit them alltogether, but this is allowed, too. patch by CCMAIL: Alexander Gerasiov <gq@cs.msu.su> fixes debian bug #413336 Oswald Buddenhagen 2007-04-04 13:27:24 +0000
  • 9a0539868a backport: fix crash due to uninited var when parsing IMAPServer. -REF: <E1HFuIM-00041h-Nn@sc8-pr-cvs2.sourceforge.net> Oswald Buddenhagen 2007-02-10 15:41:32 +0000
  • 625f592fb7 fix crash due to uninited var when parsing IMAPServer. Thanks to CCMAIL: Antoine Reilles <tonio@NetBSD.org> REF: <20070118182534.GA22288@arcelot.loria.fr> Oswald Buddenhagen 2007-02-10 15:37:46 +0000
  • 023d3ee577 fix error paths wrt sync drivers Oswald Buddenhagen 2006-12-09 10:39:30 +0000
  • 9056504483 handle abnormal program exit during regtest Oswald Buddenhagen 2006-12-09 10:38:11 +0000
  • 6800f1636e initialize mvars->t[1] to 1. helps enormously ... :} Oswald Buddenhagen 2006-12-04 17:47:55 +0000
  • 43f23fb180 backport: reverse-map <Inbox> to INBOX when encountered during listing. Oswald Buddenhagen 2006-11-18 13:17:31 +0000
  • e0d72cd5e3 reverse-map <Inbox> to INBOX when encountered during listing. usually this will be a no-op (when putting INBOX in Path, people generally call it INBOX), but better safe than sorry. Oswald Buddenhagen 2006-11-18 13:17:13 +0000
  • d51a91aeba backport: make compat wrapper default to current user for imap login Oswald Buddenhagen 2006-11-09 18:01:27 +0000
  • 6985da5848 make compat wrapper default to current user for imap login Oswald Buddenhagen 2006-11-09 17:57:38 +0000
  • f7ba199d35 re-gen v1.0.3 Oswald Buddenhagen 2006-11-03 13:06:01 +0000
  • a54459af1c add target for creating signed package Oswald Buddenhagen 2006-11-03 13:05:34 +0000
  • 3759f0c802 backport: - un-document "Host imaps:[...]" syntax and introduce new option UseIMAPS instead - apply ted's patch to support UseIMAPS in conjunction with Tunnel - document that SSLv2 is No Good (TM) Oswald Buddenhagen 2006-11-01 07:19:26 +0000
  • 6494cfc438 backport: move assigning default port to the place of use Oswald Buddenhagen 2006-11-01 07:14:50 +0000
  • afc48600fa bump version Oswald Buddenhagen 2006-11-01 06:33:37 +0000
  • 4b70d9b96c backport: put INBOX in Maildir Oswald Buddenhagen 2006-11-01 06:20:56 +0000
  • 0e8a8d120d put INBOX in Maildir Oswald Buddenhagen 2006-11-01 06:19:52 +0000
  • 41c4e0d681 backport: don't crash on truncating db Oswald Buddenhagen 2006-10-24 17:39:24 +0000
  • 2a9b0bd763 don't crash on truncating database. seems to affect only some bdb versions (e.g., 4.2). Oswald Buddenhagen 2006-10-24 17:37:57 +0000
  • 9b657a46a0 fix bug in newline conversion causing buffer overflows. this leads to segfaults and has some security impact. Oswald Buddenhagen 2006-08-10 07:01:02 +0000
  • 617d1a6e49 memmove for overlapping mem copies. Oswald Buddenhagen 2006-08-10 06:33:18 +0000
  • b6c6299ea6 another attempt at working around glibc breakage. Oswald Buddenhagen 2006-07-31 05:31:17 +0000
  • 1b9f8b4c69 glibc seems to be *really* fucked up. Oswald Buddenhagen 2006-07-31 05:30:46 +0000
  • 2e39fa9930 work around glibc bug: printf("%.*s", INT_MAX, s) tries to allocate 2G. Oswald Buddenhagen 2006-07-29 11:53:47 +0000
  • d2463a4cd8 work around glibc bug: printf("%.*s", INT_MAX, s) tries to allocate 2G. Oswald Buddenhagen 2006-07-29 11:52:54 +0000
  • 9b7c09e4b6 enable the old account naming scheme to deal with duplicated ip addresses. this is not incompatible - previously, it would just create garbage. Oswald Buddenhagen 2006-06-05 11:59:51 +0000
  • aea4be19e3 create more descriptive account names, so password prompts look sane. the channel names follow the old scheme, though - they are used to compose sync state file names, and i don't feel like writing a migrator for this. Oswald Buddenhagen 2006-06-05 11:55:23 +0000
  • 4bf58c3e97 don't crash in imap driver when Host is not specified. Oswald Buddenhagen 2006-05-28 16:03:52 +0000
  • c8275e2aa7 be *slightly* more explicit about which options Tunnel makes superfluous. Oswald Buddenhagen 2006-05-28 16:02:56 +0000
  • dbbab78881 un-document "Host imaps:[...]" syntax and introduce new option UseIMAPS instead. apply ted's patch to support UseIMAPS in conjunction with Tunnel. document that SSLv2 is No Good (TM). Oswald Buddenhagen 2006-05-28 15:43:58 +0000
  • 67b714ee0e move assigning default port to the place of use Oswald Buddenhagen 2006-05-28 13:38:14 +0000
  • f6f2d2461c add comment Oswald Buddenhagen 2006-05-27 12:44:13 +0000
  • 21abb22c98 seen messages are eligible for expiration even if they are recent in the mailbox. Oswald Buddenhagen 2006-05-27 12:43:03 +0000
  • 8a748d046d no/empty mailbox name means INBOX Oswald Buddenhagen 2006-03-21 20:05:48 +0000
  • 168e5f3282 make the driver model, sync_chans() and sync_boxes() fully async. async drivers to follow ... Oswald Buddenhagen 2006-03-21 20:03:21 +0000
  • bdcc285403 unscrew lf=>crlf conversion and tuid insertion Oswald Buddenhagen 2006-03-21 17:50:57 +0000
  • 16eaf903db ok, mismerging and not running the reg-tests is lame. unscrew expunging again. Oswald Buddenhagen 2006-03-21 17:40:31 +0000
  • c7903f8003 don't enter trash loop if not trashing at all. also, move expunge message where it belongs. not adding info("trashing"), as it will be replaced in a moment anyway. Oswald Buddenhagen 2006-03-21 16:03:09 +0000
  • b5d70aa596 async merge: aggregate most variables of main() & sync_boxes() in main_vars_t resp. sync_vars_t. also some minor var renames, whitespace, comments. Oswald Buddenhagen 2006-03-21 15:53:43 +0000
  • f90b290650 split box list preparation from "consumption". Oswald Buddenhagen 2006-03-21 10:38:30 +0000
  • 72a2d4b690 info() about opening of stores Oswald Buddenhagen 2006-03-21 10:30:45 +0000
  • b7389cb36f do not repeatedly get namespace from server. Oswald Buddenhagen 2006-03-20 20:39:06 +0000
  • 340bfcc4a8 handle socket() failure and correctly report gethostbyname() failure. Oswald Buddenhagen 2006-03-20 20:34:32 +0000
  • 3e3cf3ac9a update copyrights Oswald Buddenhagen 2006-03-20 20:16:22 +0000
  • 7f9ece8e7e move whole responsibility for recycling open stores/server connections to the drivers. Oswald Buddenhagen 2006-03-20 19:38:20 +0000
  • 47e592b603 keep the result of driver->list() and a flag whether it is valid in the store. Oswald Buddenhagen 2006-03-20 19:27:38 +0000
  • 861dd7468e aggregate all (two ...) drivers in an array instead of naming them in each (one ...) location explicitly. Oswald Buddenhagen 2006-03-20 18:36:49 +0000
  • 492ca8d332 whitespace and code verbosity Oswald Buddenhagen 2006-03-20 17:21:07 +0000
  • 31fc41a32c merge imap_t into imap_store_t - there is really no point in having them separated. Oswald Buddenhagen 2006-03-20 15:01:48 +0000
  • d7126dca5e "fprintf( stderr," => "error(". new functions debugn() and infon() for messages with missing newline; warn() and error() act upon this. Oswald Buddenhagen 2006-03-19 11:29:12 +0000
  • 927feae988 make config parsing more robust against bogus input and report errors more clearly. Oswald Buddenhagen 2006-03-19 10:46:33 +0000
  • bb7bbcf5b1 make config parsing more robust against bogus input and report errors more clearly. Oswald Buddenhagen 2006-03-19 10:44:53 +0000
  • fbbb86738b factor out box selection from sync_boxes to avoid code dupe Oswald Buddenhagen 2006-02-12 11:42:46 +0000
  • bc39f10a1e lock the sync state open the journal before opening the master. this is a bit ugly for the "SyncState *" case, as we have to create a directory without making it a maildir right away. however, this makes the code quite a bit simpler to understand and simpler to parallelize. Oswald Buddenhagen 2006-02-11 20:28:45 +0000
  • 7726ce3e0f don't barf at directories with none of {tmp,new,cur}/ and turn them into maildirs instead. see next commit. Oswald Buddenhagen 2006-02-11 20:14:31 +0000
  • 5224b5bc9f don't commit state file when a fatal error occurs Oswald Buddenhagen 2006-02-11 20:02:06 +0000
  • 630a04ad3e unbelieveable, but close() can actually fail Oswald Buddenhagen 2006-02-11 19:52:53 +0000
  • d7b8621f05 add copyright + license Oswald Buddenhagen 2006-02-11 19:48:44 +0000
  • 1453e61840 update fsf's postal address. i think it's sort of useless nowadays anyway, but heck ... Oswald Buddenhagen 2006-02-09 17:44:22 +0000
  • 4e8fabf7e5 typos Oswald Buddenhagen 2006-02-05 17:42:22 +0000
  • 8174bdcbd4 bump version. no, i'm not releasing yet ... :) Oswald Buddenhagen 2006-02-05 17:39:42 +0000
  • d76c827a45 include run-tests.pl in distribution Oswald Buddenhagen 2006-02-05 17:38:31 +0000
  • e567cc6919 and now don't clobber the mails ... Oswald Buddenhagen 2006-02-03 23:43:52 +0000
  • 850addecd5 wrap message storing into transactions. nice side effect: drivers don't need to deal with line end conversion any move. Oswald Buddenhagen 2006-02-03 21:33:43 +0000
  • 19128f1587 major overhaul of flag change propagation and MaxMessages handling: - wrap message (un)expirations into transactions - no redundand flag propagations in conjunction with expirations - better prepared for the upcoming async operation Oswald Buddenhagen 2006-02-02 17:03:01 +0000
  • ab11737b33 crash handler that launches gdb. activated when started with -D option. simplifies debugging crashes during the reg-tests. Oswald Buddenhagen 2006-02-02 13:48:02 +0000
  • bbc0a877c8 less cluttered debug output Oswald Buddenhagen 2006-02-02 11:23:57 +0000
  • 58db1d05ac cosmetics: move around variable declarations and remove obsolete comment Oswald Buddenhagen 2006-02-02 11:12:30 +0000
  • 905ded175f versioned journal. the commands and their meanings change all the time, so better handle that case. ps: yes, i think not upgrading mbsync between interrupting and resuming a run is a reasonable requirement. Oswald Buddenhagen 2006-02-02 11:07:54 +0000
  • 8728dfdf21 make the sync entry search in the journal replay wrap around at the end of the list. the "always forward" assumption is violated in some cases. Oswald Buddenhagen 2006-02-02 10:44:19 +0000
  • 5e01034aee much improved journal replay testing. some clenup. Oswald Buddenhagen 2006-02-02 10:25:07 +0000
  • d1c4f8a069 orphan/kill all affected entries after expunge Oswald Buddenhagen 2006-02-02 10:04:05 +0000
  • 3f1009a839 regen v1.0.2 Oswald Buddenhagen 2006-01-31 16:17:18 +0000
  • fd3f4f33ff bump version Oswald Buddenhagen 2006-01-31 15:45:15 +0000
  • 314287cbb4 backport: deal with branches in "make log" Oswald Buddenhagen 2006-01-31 15:21:35 +0000
  • b40fb7f281 backport: fix 'isync -w' writing .mbsyncrc to a wrong directory Oswald Buddenhagen 2006-01-31 15:17:43 +0000
  • 534ccb326a backport: less confusing uid ranges in debug Oswald Buddenhagen 2006-01-31 15:16:27 +0000
  • 63c065a127 backport: compile fixes Oswald Buddenhagen 2006-01-31 15:15:00 +0000
  • 161a4b1159 backport: - sanitize flag handling of expired messages - don't record we synced flags if we didn't - remove now superfluous temporary rflags Oswald Buddenhagen 2006-01-31 15:12:34 +0000
  • 9a5920c028 backport: flush debug output Oswald Buddenhagen 2006-01-31 14:25:18 +0000
  • 97f48f56ed deal with branches in "make log" Oswald Buddenhagen 2006-01-31 13:57:48 +0000
  • 1a536a3415 M_EXPIRED -> M_EXPIRE Oswald Buddenhagen 2006-01-30 13:49:46 +0000
  • 40fc6a6ac8 sanitize S_DEL Oswald Buddenhagen 2006-01-30 13:11:33 +0000
  • e205eb62f5 remove superfluous temporary rflags from sync_boxes Oswald Buddenhagen 2006-01-30 13:01:35 +0000
  • c7d938f965 now that messages know their sync records, M_SYNCES is superfluous. Oswald Buddenhagen 2006-01-30 11:12:14 +0000
  • 2277ecefb6 establish bi-directional mapping between mails and sync records. use it to merge the --renew case into the --new case. Oswald Buddenhagen 2006-01-30 10:26:04 +0000
  • 24910e2cdf declaring ex[M] instead of ex[2] is, indeed, no good. long live watchpoints. Oswald Buddenhagen 2006-01-30 09:33:29 +0000
  • a41ea8f9f1 whoops - 'isync -w' would write .mbsyncrc to a wrong directory Oswald Buddenhagen 2006-01-29 18:40:27 +0000
  • c1c7cb6d8e move fetching new messages in front of syncing old entries. this alone does not buy us a whole lot ... Oswald Buddenhagen 2006-01-29 15:52:49 +0000
  • 635b2d7b76 test for journalling and journal replay. Oswald Buddenhagen 2006-01-29 15:48:24 +0000
  • 9c6c158ef3 undocumented flag -J to skip committing the new sync state. Oswald Buddenhagen 2006-01-29 15:46:09 +0000
  • a1a5a817bb merge Quiet, Verbose & Debug into DFlags Oswald Buddenhagen 2006-01-29 14:46:16 +0000