408 Commits (7867eb9009791b670e085655bcc1b6be924299c4)
 

Author SHA1 Message Date
Oswald Buddenhagen 7867eb9009 add simple mainloop implementation 12 years ago
Oswald Buddenhagen a55354516b move responsibility for closing sockets on error to user 12 years ago
Oswald Buddenhagen 802c99edcf make socket read/write error reporting callback-based 12 years ago
Oswald Buddenhagen f1df2f40d1 decouple the filling of the read buffer from consuming it 12 years ago
Oswald Buddenhagen 886cd03e37 centralize imap_cmd disposal 12 years ago
Oswald Buddenhagen f8d73ac346 make socket_write() capable of taking ownership of the buffer 12 years ago
Oswald Buddenhagen 8a72d204c9 change socket_write() return code semantics 12 years ago
Oswald Buddenhagen a85013d6ff make IMAP pipeline depth configurable 12 years ago
Oswald Buddenhagen a266f28f1c cancel submitted commands when canceling store 12 years ago
Oswald Buddenhagen 171f7d6cd3 Socket_t + buffer_t => conn_t 12 years ago
Oswald Buddenhagen 3447694c2b security fix: failure to load the certificate file is *not* OK ... 12 years ago
Oswald Buddenhagen ef41349035 move socket code to a separate file 12 years ago
Oswald Buddenhagen d1ee94f02c move greeting response handling into get_cmd_result() 12 years ago
Oswald Buddenhagen 584e51ed7d docs 12 years ago
Oswald Buddenhagen 2ab689b3df make imap_exec() result reporting callback-based 12 years ago
Oswald Buddenhagen e5d323cc47 rely on the maildir's existence with "SyncState *" 12 years ago
Oswald Buddenhagen 3169c59e10 validate maildirs more strictly 12 years ago
Oswald Buddenhagen 05fd0b9970 split out drv->load() from drv->select() 12 years ago
Oswald Buddenhagen c741d5ffb5 make creation of trash folder independent from -C option 12 years ago
Oswald Buddenhagen 7addc3bea8 minor cleanup: use ctx->gen instead of gctx for consistency 12 years ago
Oswald Buddenhagen 424e0e7221 make callbacks return early when canceling 12 years ago
Oswald Buddenhagen ea951a697f fix error paths wrt sync drivers, take 2 12 years ago
Oswald Buddenhagen ec8f440383 don't call cancel() repeatedly on a store 12 years ago
Oswald Buddenhagen b0bbd23512 replace DRV_STORE_BAD with a separate bad_callback() 12 years ago
Oswald Buddenhagen 6d86e5347e don't access free'd memory in cancel_sync() 12 years ago
Oswald Buddenhagen 9554026443 make drv->cancel()'s callback have no status code 12 years ago
Oswald Buddenhagen 57444e9df9 don't decode aux pointer on DRV_CANCELED 12 years ago
Oswald Buddenhagen 06ccac1fdd always use return value from get_cmd_result() 12 years ago
Oswald Buddenhagen 121ce76e46 make response code parse failure of untagged OK/NO/BYE/BAD non-fatal 12 years ago
Oswald Buddenhagen d2e13f147c de-duplicate code a bit 12 years ago
Oswald Buddenhagen 4d4de6e275 remove redundant use_ssl variables 13 years ago
Oswald Buddenhagen fd229040d8 DRV_SERVER_BAD is and will probably stay unused => trash 13 years ago
Oswald Buddenhagen 17dc64b414 after [TRYCREATE], just resend the same command instead of cloning it 13 years ago
Oswald Buddenhagen 83efbe327d use return values from correct set in get_cmd_result() 13 years ago
Oswald Buddenhagen 99cc328f17 do away with the dreaded rcaps hack 13 years ago
Oswald Buddenhagen 1545ed90a0 purge imap_store_t::currentnc vestiges 13 years ago
Oswald Buddenhagen c66afdc0a8 move setting of ctx->listed outside the drivers 13 years ago
Oswald Buddenhagen 7bab2d6d94 de-duplicate error paths 13 years ago
Oswald Buddenhagen f6a25b331f check return value from close() after write() 13 years ago
Oswald Buddenhagen 61d98c5a1d fix a bunch of warnings 13 years ago
Oswald Buddenhagen 4afd31a457 avoid preprocessor warnings on missing features: #if => #ifdef 14 years ago
Oswald Buddenhagen cf6a7b4d18 less bizarre code 14 years ago
Oswald Buddenhagen 7e1c16ae02 make cram() sane 14 years ago
Oswald Buddenhagen 058d01f179 don't compare find_old_done with find_new_total 14 years ago
Oswald Buddenhagen 9e10e871fd don't hang if store cannot be opened asynchronously 14 years ago
Oswald Buddenhagen 2c729bf9e6 don't leak SSL objects 14 years ago
Oswald Buddenhagen 296ac0364c add CR after TUID during LF => CRLF conversion 14 years ago
Oswald Buddenhagen 8df1ebaf40 fix (another) out-of-bounds access in CRLF conversion 14 years ago
Oswald Buddenhagen 39006d7f24 document some breakage 14 years ago
Oswald Buddenhagen d637772339 turns out, free(NULL) is just fine ... 14 years ago