Oswald Buddenhagen
e205eb62f5
remove superfluous temporary rflags from sync_boxes
19 years ago
Oswald Buddenhagen
c7d938f965
now that messages know their sync records, M_SYNCES is superfluous.
19 years ago
Oswald Buddenhagen
2277ecefb6
establish bi-directional mapping between mails and sync records. use it
...
to merge the --renew case into the --new case.
19 years ago
Oswald Buddenhagen
24910e2cdf
declaring ex[M] instead of ex[2] is, indeed, no good. long live watchpoints.
19 years ago
Oswald Buddenhagen
a41ea8f9f1
whoops - 'isync -w' would write .mbsyncrc to a wrong directory
19 years ago
Oswald Buddenhagen
c1c7cb6d8e
move fetching new messages in front of syncing old entries. this alone
...
does not buy us a whole lot ...
19 years ago
Oswald Buddenhagen
635b2d7b76
test for journalling and journal replay.
19 years ago
Oswald Buddenhagen
9c6c158ef3
undocumented flag -J to skip committing the new sync state.
19 years ago
Oswald Buddenhagen
a1a5a817bb
merge Quiet, Verbose & Debug into DFlags
19 years ago
Oswald Buddenhagen
185769640b
M_NOT_SYNCED => M_SYNCED. now that sync records know their messages, it
...
is simpler to track the positive case.
19 years ago
Oswald Buddenhagen
f4ce961bab
move driver options composition below journal replay - it might make
...
additional actions necessary (it doesn't, yet).
19 years ago
Oswald Buddenhagen
a1c402678c
split driver->prepare into ->prepare_opts and ->prepare_paths
19 years ago
Oswald Buddenhagen
4e983506d3
#include limits.h (for INT_MAX)
...
REF: <a8e45e1b0601241753j1e14cc1cm3fc3c65c7acb0c1b@mail.gmail.com>
19 years ago
Oswald Buddenhagen
1a6ee00d86
less confusing uid ranges in debug
19 years ago
Oswald Buddenhagen
d414d0aae2
solaris 10 fix: use sys/filio.h for FIONREAD. untested.
...
REF: <20060111215014.GA601@49.180.97-84.rev.gaoland.net>
19 years ago
Oswald Buddenhagen
8b6ac97fe4
adjust to: omit flags other than "deleted" when expunging target.
19 years ago
Oswald Buddenhagen
3c8ee66bfc
collect stderr as well.
19 years ago
Oswald Buddenhagen
f6ed69a8d3
don't record we synced flags if we didn't.
19 years ago
Oswald Buddenhagen
2fa54425e7
have to flush debug as well ...
19 years ago
Oswald Buddenhagen
76de0182a2
of course F_DELETED will have been added to expired slave messages, so
...
don't complain about it.
19 years ago
Oswald Buddenhagen
8c30ec4a25
put message references into the sync records. match up the uids after
...
opening the boxes instead of "sort-of-on-demand" - this is much simpler.
match from messages to sync records, not the other way round - makes the
debug output shorter, as the separate dump_box() is gone now.
19 years ago
Oswald Buddenhagen
61dfbea617
"reformat" S_EXP_S setting logic for understandability.
19 years ago
Oswald Buddenhagen
808001c0a9
whoops
19 years ago
Oswald Buddenhagen
4ec56f8cf6
- instead of having {m,s}foo, we have foo[2] now, so we can do
...
everything with loops instead of symmetric function calls
- added some const
19 years ago
Oswald Buddenhagen
f070f3cd72
show debug output on error.
19 years ago
Oswald Buddenhagen
d68dd7369e
make the error case output more useful by dumping the entire data set.
19 years ago
Oswald Buddenhagen
549c1cf13e
fix error message
19 years ago
Oswald Buddenhagen
716ff82540
add expiration tests
19 years ago
Oswald Buddenhagen
ad5f5aa2b2
add MaxSize tests
19 years ago
Oswald Buddenhagen
ab898f2f5c
when dumping mailboxes, sort by uid 1st.
19 years ago
Oswald Buddenhagen
d3faf0d27f
detect excess messages after sync
19 years ago
Oswald Buddenhagen
924e1a7f04
sync state reader:
...
- grok negative uids
- more robust
19 years ago
Oswald Buddenhagen
963f607c81
don't eat array lead-in on empty arrays
19 years ago
Oswald Buddenhagen
4dc23fee7b
why would somebody manipulate an expired message? right, he wouldn't:
...
he would either expunge the mailbox or configure his MUA to hide trashed
messages. consequently don't sync expired message flags, let alone
interpret them in a special way.
one special feature remains, though: if a non-expunged expired message
is flagged on the master, it will be unexpired on the slave. i'm not
sure whether i should remove or document this feature.
19 years ago
Oswald Buddenhagen
9740e7e852
message tweaks
19 years ago
Oswald Buddenhagen
d5a1f5876d
more logical order
19 years ago
Oswald Buddenhagen
044d8dfb73
add some regression testing.
19 years ago
Oswald Buddenhagen
5633236ed2
fix sync entries not being purged due to c&p error.
19 years ago
Oswald Buddenhagen
8db5ec1e5e
less confusing error message on invalid mailbox.
19 years ago
Oswald Buddenhagen
6d229848a5
it's beyond me what this memset was supposed to do ...
19 years ago
Oswald Buddenhagen
633869d040
trailing whitespace
19 years ago
Oswald Buddenhagen
25db6a3c31
revert 1.8 - what was i smoking?! the CREATE argument is already quoted;
...
we just extracted it from the previous command.
19 years ago
Oswald Buddenhagen
7710b3dcb5
make flag changes unset "new" status - unless a ghost is acting in the
...
background, a flag change indicates that the message was at least
noticed.
20 years ago
Oswald Buddenhagen
bf26a663da
don't call the driver's set_flags() if the flags did not change at all.
20 years ago
Oswald Buddenhagen
d2753c4188
64-bit cleanness
20 years ago
Oswald Buddenhagen
1a77d2e650
re-gen
20 years ago
Oswald Buddenhagen
bf4266eadc
quote CREATE argument
20 years ago
Oswald Buddenhagen
7e31f95470
re-gen
20 years ago
Oswald Buddenhagen
7f26ca3c0a
bump version
20 years ago
Oswald Buddenhagen
02babb0651
fix inverted condition leading to endless loop when message is changed
...
while isync is running.
20 years ago