mirror of https://git.code.sf.net/p/isync/isync
Tree:
7cd74a1179
0.9
1.0
1.1
1.2
1.3
1.4
master
wip/INBOX-patterns-prefixing
wip/better-stderr
wip/debug-various
wip/exchange-workarounds-1.2
wip/exchange-workarounds-1.4
wip/exchange-workarounds-1.5
wip/expire-new
wip/imap-client-close
wip/maildir-path-under-inbox
wip/maildir-uid-dupes-test
wip/more-autotest-subjects
wip/movedetect
wip/notifier-cmd
wip/server-refactor
wip/simplify-state-naming
wip/socket-debug
wip/ssl-fprint
wip/test-more-paranoid
wip/uidval-recovery
wip/unchecked-remove
v0.1
v0.2
v0.3
v0.4
v0.5
v0.6
v0.7
v0.8
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.5.0
${ noResults }
1 Commits (7cd74a1179405bdfa627fb016b287095f7707aa0)
Author | SHA1 | Message | Date |
---|---|---|---|
Michael Elkins | 7cd74a1179 |
Bunch 'o patches from Oswald Buddenhagen:
i implemented some cool stuff (tm). first, the long missing "create server-side missing mailboxes". -C now creates both local and remote boxes; -L and -R create only local/remote. second, i implemented a 1:1 remote:local folder mapping (-1) with an optional INBOX exception (inbox/-I). the remote folder is specified with the folder keyword (or -F switch) and takes precedence over the namespace setting. the local directory with the mailboxes can now be specified on the command line, too (-M). another patch: - made the -1 switch settable permanently (OneToOne). after all, you usually define your mailbox layout once forever. removed -A, as it is semantically -a modified by -1. - cleaned up message output a bit. still, the quiet variable should be used throughout the program. at best, create some generic output function, which obeys a global verbosity level variable. - optimized + cleaned up configuration parser slightly - minor cleanups add an (almost) unique id to every uploaded message and search for it right after. i thought about using the message-id, but a) it is not guaranteed to be unique in a mailbox (imagine you edit a mail and store the dupe in the same box) and b) some mails (e.g., postponed) don't even have one. a downside of the current implementation is, that this id-header remains in the mailbox, but given that it wastes only 27 bytes per mail and removing it would mean several roundtrips more, this seems acceptable. i changed the line-counting loop to use a mmapped file instead of reading it in chunks, as it makes things simpler and is probably even faster for big mails. the amount of goto statements in my code may be scary, but c is simply lacking a multi-level break statement. :) this is the "shut up" patch. :) it makes the -q option consequent, so to say. additionally it adds an -l option which gathers all defined/found mailboxes and just outputs the list. don't ask what i need it for. ;) |
22 years ago |