463 Commits (8310cf78ace0242f0492692f55beebf340e06305)
 

Author SHA1 Message Date
Oswald Buddenhagen 256a147945 compile with -ansi -pedantic on gcc 12 years ago
Oswald Buddenhagen 96eaeb428d define _GNU_SOURCE on the command line 12 years ago
Oswald Buddenhagen faeb9b5bf7 centralize imap_cmd_refcounted_state refcount decrementing 12 years ago
Oswald Buddenhagen f5086f735c get rid of redundant literal_pending state flag 12 years ago
Oswald Buddenhagen bd93d689db fully asynchronous IMAP operation 12 years ago
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 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