712 Commits (1de3ecd8830e98754721fd3f0267f9890aed2d2a)
 

Author SHA1 Message Date
Oswald Buddenhagen 96eaeb428d define _GNU_SOURCE on the command line 13 years ago
Oswald Buddenhagen faeb9b5bf7 centralize imap_cmd_refcounted_state refcount decrementing 13 years ago
Oswald Buddenhagen f5086f735c get rid of redundant literal_pending state flag 13 years ago
Oswald Buddenhagen bd93d689db fully asynchronous IMAP operation 13 years ago
Oswald Buddenhagen 7867eb9009 add simple mainloop implementation 13 years ago
Oswald Buddenhagen a55354516b move responsibility for closing sockets on error to user 13 years ago
Oswald Buddenhagen 802c99edcf make socket read/write error reporting callback-based 13 years ago
Oswald Buddenhagen f1df2f40d1 decouple the filling of the read buffer from consuming it 13 years ago
Oswald Buddenhagen 886cd03e37 centralize imap_cmd disposal 13 years ago
Oswald Buddenhagen f8d73ac346 make socket_write() capable of taking ownership of the buffer 13 years ago
Oswald Buddenhagen 8a72d204c9 change socket_write() return code semantics 13 years ago
Oswald Buddenhagen a85013d6ff make IMAP pipeline depth configurable 13 years ago
Oswald Buddenhagen a266f28f1c cancel submitted commands when canceling store 13 years ago
Oswald Buddenhagen 171f7d6cd3 Socket_t + buffer_t => conn_t 13 years ago
Oswald Buddenhagen 3447694c2b security fix: failure to load the certificate file is *not* OK ... 13 years ago
Oswald Buddenhagen ef41349035 move socket code to a separate file 13 years ago
Oswald Buddenhagen d1ee94f02c move greeting response handling into get_cmd_result() 13 years ago
Oswald Buddenhagen 584e51ed7d docs 13 years ago
Oswald Buddenhagen 2ab689b3df make imap_exec() result reporting callback-based 13 years ago
Oswald Buddenhagen e5d323cc47 rely on the maildir's existence with "SyncState *" 13 years ago
Oswald Buddenhagen 3169c59e10 validate maildirs more strictly 13 years ago
Oswald Buddenhagen 05fd0b9970 split out drv->load() from drv->select() 13 years ago
Oswald Buddenhagen c741d5ffb5 make creation of trash folder independent from -C option 13 years ago
Oswald Buddenhagen 7addc3bea8 minor cleanup: use ctx->gen instead of gctx for consistency 13 years ago
Oswald Buddenhagen 424e0e7221 make callbacks return early when canceling 13 years ago
Oswald Buddenhagen ea951a697f fix error paths wrt sync drivers, take 2 13 years ago
Oswald Buddenhagen ec8f440383 don't call cancel() repeatedly on a store 13 years ago
Oswald Buddenhagen b0bbd23512 replace DRV_STORE_BAD with a separate bad_callback() 13 years ago
Oswald Buddenhagen 6d86e5347e don't access free'd memory in cancel_sync() 13 years ago
Oswald Buddenhagen 9554026443 make drv->cancel()'s callback have no status code 13 years ago
Oswald Buddenhagen 57444e9df9 don't decode aux pointer on DRV_CANCELED 13 years ago
Oswald Buddenhagen 06ccac1fdd always use return value from get_cmd_result() 13 years ago
Oswald Buddenhagen 121ce76e46 make response code parse failure of untagged OK/NO/BYE/BAD non-fatal 13 years ago
Oswald Buddenhagen d2e13f147c de-duplicate code a bit 13 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