aboutsummaryrefslogtreecommitdiffstats
path: root/imap-send.c
AgeCommit message (Expand)AuthorFilesLines
2020-12-01imap-send: parse default git configNicolas Morey-Chaisemartin1-22/+30
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-1/+1
2020-05-11http, imap-send: stop using CURLOPT_VERBOSEJonathan Tan1-1/+1
2019-02-12Merge branch 'nd/imap-send-typofix'Junio C Hamano1-1/+1
2019-02-11imap-send.c: add a missing space in error messageNguyễn Thái Ngọc Duy1-1/+1
2018-12-10style: the opening '{' of a function is in a separate lineNguyễn Thái Ngọc Duy1-1/+2
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-02-22imap-send: rename 'new' variablesBrandon Williams1-7/+7
2017-12-18imap-send: URI encode server folderNicolas Morey-Chaisemartin1-1/+7
2017-11-15Merge branch 'tz/fsf-address-update'Junio C Hamano1-2/+1
2017-11-15Merge branch 'rs/imap-send-next-arg-fix'Junio C Hamano1-2/+13
2017-11-09Replace Free Software Foundation address in license noticesTodd Zullinger1-2/+1
2017-11-03imap-send: handle missing response codes gracefullyRené Scharfe1-1/+1
2017-11-03imap-send: handle NULL return of next_arg()René Scharfe1-1/+12
2017-09-15imap-send: use curl by default when possibleNicolas Morey-Chaisemartin1-3/+3
2017-09-15imap_send: setup_curl: retreive credentials if not set in config fileNicolas Morey-Chaisemartin1-2/+17
2017-09-15imap-send: add wrapper to get server credentials if neededNicolas Morey-Chaisemartin1-14/+20
2017-09-15imap-send: return with error if curl failedNicolas Morey-Chaisemartin1-1/+1
2017-07-12Merge branch 'rs/use-div-round-up'Junio C Hamano1-1/+1
2017-07-10use DIV_ROUND_UPRené Scharfe1-1/+1
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-2/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-03-30convert unchecked snprintf into xsnprintfJeff King1-1/+1
2016-10-26Merge branch 'jc/cocci-xstrdup-or-null'Junio C Hamano1-4/+2
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Junio C Hamano1-4/+2
2016-10-10Merge branch 'ak/curl-imap-send-explicit-scheme'Junio C Hamano1-0/+1
2016-08-17imap-send: Tell cURL to use imap:// or imaps://Anders Kaseorg1-0/+1
2016-07-26die("bug"): report bugs consistentlyJohannes Schindelin1-1/+1
2016-07-19Merge branch 'jk/common-main'Junio C Hamano1-5/+1
2016-07-06Merge branch 'ep/http-curl-trace'Junio C Hamano1-0/+1
2016-07-01common-main: call git_setup_gettext()Jeff King1-2/+0
2016-07-01common-main: call git_extract_argv0_path()Jeff King1-2/+0
2016-07-01add an extra level of indirection to main()Jeff King1-1/+1
2016-05-24imap-send.c: introduce the GIT_TRACE_CURL enviroment variableElia Pinto1-0/+1
2016-05-06Merge branch 'ky/imap-send-openssl-1.1.0' into maintJunio C Hamano1-10/+10
2016-04-22Merge branch 'ky/imap-send-openssl-1.1.0'Junio C Hamano1-10/+10
2016-04-13imap-send: fix CRAM-MD5 response calculationKazuki Yamaguchi1-1/+1
2016-04-13imap-send: check for NOLOGIN capability only when using LOGIN commandKazuki Yamaguchi1-5/+5
2016-04-08imap-send: avoid deprecated TLSv1_method()Kazuki Yamaguchi1-5/+4
2016-04-08imap-send: check NULL return of SSL_CTX_new()Kazuki Yamaguchi1-0/+4
2016-04-08imap-send: use HMAC() function provided by OpenSSLKazuki Yamaguchi1-5/+2
2016-02-22use xmallocz to avoid size arithmeticJeff King1-3/+2
2015-10-30Merge branch 'js/imap-send-curl-compilation-fix'Junio C Hamano1-0/+4
2015-10-26imap-send: only use CURLOPT_LOGIN_OPTIONS if it is actually availableJohannes Schindelin1-0/+4
2015-09-25replace trivial malloc + sprintf / strcpy calls with xstrfmtJeff King1-3/+2
2015-03-10imap-send: use cURL automatically when NO_OPENSSL definedKyle J. McKay1-2/+15
2015-01-06imap-send.c: set CURLOPT_USE_SSL to CURLUSESSL_TRYKyle J. McKay1-2/+2
2015-01-06imap-send.c: support GIT_CURL_VERBOSEKyle J. McKay1-1/+1
2014-11-10git-imap-send: use libcurl for implementationBernhard Reiter1-26/+154
2014-11-05imap-send: use parse options API to determine verbosityBernhard Reiter1-10/+18
2014-09-19Merge branch 'as/calloc-takes-nmemb-then-size'Junio C Hamano1-1/+1
2014-09-11Merge branch 'br/imap-send-simplify-tunnel-child-process'Junio C Hamano1-10/+9
2014-09-11Merge branch 'rs/child-process-init'Junio C Hamano1-1/+1
2014-09-11Merge branch 'ta/config-set-2'Junio C Hamano1-34/+26
2014-09-09Merge branch 'tf/imap-send-create'Junio C Hamano1-50/+31
2014-09-03calloc() and xcalloc() takes nmemb and then sizeArjun Sreedharan1-1/+1
2014-09-02imap-send: simplify v_issue_imap_cmd() and get_cmd_result() using starts_with()René Scharfe1-2/+2
2014-08-25imap-send: create target mailbox if it is missingTony Finch1-50/+31
2014-08-20imap-send.c: imap_folder -> imap_server_conf.folderBernhard Reiter1-5/+5
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-1/+1
2014-08-18git-imap-send: simplify tunnel constructionBernhard Reiter1-3/+2
2014-08-07imap-send.c: replace `git_config()` with `git_config_get_*()` familyTanay Abhra1-34/+26
2014-06-20imap-send: use skip_prefix instead of using magic numbersTanay Abhra1-5/+1
2014-06-16Merge branch 'bg/xcalloc-nmemb-then-size'Junio C Hamano1-1/+1
2014-05-27imap-send.c: rearrange xcalloc argumentsBrian Gesiak1-1/+1
2014-04-29imap-send: use git-credentialDan Albert1-19/+26
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-5/+5
2013-07-30imap-send: use Apple's Security framework for base64 encodingJeremy Huddleston1-14/+0
2013-05-21imap-send: eliminate HMAC deprecation warnings on Mac OS XDavid Aguilar1-0/+10
2013-03-21Merge branch 'ob/imap-send-ssl-verify'Junio C Hamano1-0/+11
2013-02-20imap-send: support Server Name Indication (RFC4366)Junio C Hamano1-0/+11
2013-02-19Sync with v1.8.1.4Junio C Hamano1-2/+65
2013-02-19Merge branch 'ob/imap-send-ssl-verify' into maintJunio C Hamano1-2/+65
2013-02-19imap-send: support subjectAltName as wellOswald Buddenhagen1-0/+19
2013-02-19imap-send: the subject of SSL certificate must match the hostOswald Buddenhagen1-0/+39
2013-02-18imap-send: move #ifdef aroundJunio C Hamano1-2/+7
2013-01-15imap-send.c: simplify logic in lf_to_crlf()Michael Haggerty1-29/+23
2013-01-15imap-send.c: fold struct store into struct imap_storeMichael Haggerty1-11/+7
2013-01-15imap-send.c: remove unused field imap_store::uidvalidityMichael Haggerty1-1/+0
2013-01-15imap-send.c: use struct imap_store instead of struct storeMichael Haggerty1-10/+9
2013-01-15imap-send.c: remove unused field imap_store::trashncMichael Haggerty1-2/+0
2013-01-15imap-send.c: remove namespace fields from struct imapMichael Haggerty1-66/+9
2013-01-15imap-send.c: remove struct imap argument to parse_imap_list_l()Michael Haggerty1-36/+3
2013-01-15imap-send.c: inline parse_imap_list() in parse_list()Michael Haggerty1-7/+2
2013-01-15imap-send.c: remove some unused fields from struct storeMichael Haggerty1-12/+13
2013-01-15imap-send.c: remove struct messageMichael Haggerty1-26/+0
2013-01-15imap-send.c: remove struct store_confMichael Haggerty1-11/+0
2013-01-15iamp-send.c: remove unused struct imap_store_confMichael Haggerty1-5/+0
2013-01-15imap-send.c: remove struct msg_dataMichael Haggerty1-11/+7
2013-01-15imap-send.c: remove msg_data::flags, which was always zeroMichael Haggerty1-37/+3
2012-12-02wrap_in_html(): process message in bulk rather than line-by-lineMichael Haggerty1-20/+13
2012-11-29wrap_in_html(): use strbuf_addstr_xml_quoted()Michael Haggerty1-19/+4
2012-11-29imap-send: change msg_data from storing (ptr, len) to storing strbufMichael Haggerty1-45/+47
2012-11-26imap-send: correctly report errors reading from stdinMichael Haggerty1-2/+7
2012-11-26imap-send: store all_msgs as a strbufMichael Haggerty1-14/+9
2012-11-26lf_to_crlf(): NUL-terminate msg_data::dataMichael Haggerty1-1/+6
2012-04-30remove superfluous newlines in error messagesPete Wyckoff1-1/+1
2012-02-05Sync with 1.7.6.6Junio C Hamano1-23/+0
2012-02-05Sync with 1.7.6.6Junio C Hamano1-23/+0
2012-02-05imap-send: remove dead codeJeff King1-23/+0
2011-12-22Merge branch 'jk/git-prompt'Junio C Hamano1-7/+5
2011-12-19Merge branch 'ab/enable-i18n'Junio C Hamano1-0/+2
2011-12-12move git_getpass to its own source fileJeff King1-0/+1
2011-12-12imap-send: don't check return value of git_getpassJeff King1-4/+0
2011-12-12imap-send: avoid buffer overflowJeff King1-3/+4
2011-12-05i18n: add infrastructure for translating Git with gettextÆvar Arnfjörð Bjarmason1-0/+2
2011-11-23Merge branch 'maint' into tj/imap-send-remove-unusedJunio C Hamano1-633/+876
2011-11-23imap-send: Remove unused 'use_namespace' variableThomas Jarosch1-1/+0
2011-04-11sparse: Fix some "Using plain integer as NULL pointer" warningsRamsay Jones1-2/+2
2011-03-22Fix sparse warningsStephen Boyd1-1/+1
2010-08-09imap-send: Fix sprintf usageÆvar Arnfjörð Bjarmason1-4/+8
2010-05-31enums: omit trailing comma for portabilityGary V. Vaughan1-1/+1
2010-04-03Merge branch 'rr/imap-send-unconfuse-from-line'Junio C Hamano1-1/+7
2010-03-28imap-send: suppress warning about cleartext password with CRAM-MD5Chris Webb1-3/+3
2010-03-24imap-send: Remove limitation on message bodyRamkumar Ramachandra1-1/+7
2010-03-20Merge branch 'fl/askpass'Junio C Hamano1-1/+1
2010-03-04git-core: Support retrieving passwords with GIT_ASKPASSFrank Li1-1/+1
2010-03-02Merge branch 'hm/maint-imap-send-crlf' into maintJunio C Hamano1-1/+39
2010-03-02Merge branch 'hm/imap-send-cram-md5'Junio C Hamano1-15/+131
2010-02-21Merge branch 'hm/maint-imap-send-crlf'Junio C Hamano1-1/+39
2010-02-17imap-send: support CRAM-MD5 authenticationHitoshi Mitake1-15/+131
2010-02-12git-imap-send: Convert LF to CRLF before storing patch to draft boxHitoshi Mitake1-1/+39
2010-02-08Merge branch 'maint'Junio C Hamano1-7/+8
2010-02-08Merge branch 'jc/maint-imap-config-parse' into maintJunio C Hamano1-7/+8
2010-02-08Fix parsing of imap.preformattedHTML and imap.sslverifyJunio C Hamano1-7/+8
2010-01-05run-command: convert simple callsites to use_shellJeff King1-6/+2
2009-11-22Merge branch 'tc/format-attribute'Junio C Hamano1-1/+7
2009-11-20Merge branch 'jn/help-everywhere'Junio C Hamano1-0/+5
2009-11-17Merge branch 'ef/msys-imap'Junio C Hamano1-177/+49
2009-11-15Check the format of more printf-type functionsTarmigan Casebolt1-1/+7
2009-11-10Show usage string for 'git imap-send -h'Jonathan Nieder1-0/+5
2009-10-31imap-send.c: fix compiler warnings for OpenSSL 1.0Vietor Liu1-0/+4
2009-10-19imap-send: fix compilation-error on WindowsErik Faye-Lund1-0/+1
2009-10-19imap-send: use run-command API for tunnelingErik Faye-Lund1-21/+16
2009-10-19imap-send: use separate read and write fdsErik Faye-Lund1-14/+23
2009-10-19imap-send: remove useless uid codeJeff King1-144/+11
2009-06-20Fix various sparse warnings in the git source codeLinus Torvalds1-1/+1
2009-05-26imap-send: add support for IPv6Benjamin Kramer1-3/+51
2009-03-14Remove unused assignmentsBenjamin Kramer1-1/+1
2009-02-15imap.preformattedHTML to tell Thunderbird to send non-flowed textJeremy White1-0/+53
2009-01-26Add calls to git_extract_argv0_path() in programs that call git_config_*Steffen Prohaska1-0/+3
2009-01-05remove trailing LF in die() messagesAlexander Potashev1-3/+3
2008-10-12Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializerBrandon Casey1-2/+1
2008-07-25imap-send.c: more style fixesJunio C Hamano1-114/+111
2008-07-25imap-send.c: style fixesRobert Shearman1-329/+300
2008-07-25git-imap-send: Support SSLRobert Shearman1-14/+146
2008-07-25git-imap-send: Allow the program to be run from subdirectories of a git treeRobert Shearman1-0/+2
2008-05-14Provide git_config with a callback-data parameterJohannes Schindelin1-2/+2
2008-04-22Don't force imap.host to be set when imap.tunnel is setJeff King1-2/+5
2008-03-26imap-send: properly error out if imap.host is not set in configGerrit Pape1-0/+4
2008-02-22Avoid unnecessary "if-before-free" tests.Jim Meyering1-3/+2
2008-02-11imap-send.c: guard config parser from value=NULLJunio C Hamano1-0/+4
2007-09-29strbuf change: be sure ->buf is never ever NULL.Pierre Habouzit1-1/+1
2007-09-20nfv?asprintf are broken without va_copy, workaround them.Pierre Habouzit1-0/+13
2007-09-18Use xmemdupz() in many places.Pierre Habouzit1-15/+5
2007-09-16Now that cache.h needs strbuf.h, remove useless includes.Pierre Habouzit1-1/+0
2007-09-10Use strbufs to in read_message (imap-send.c), custom buffer--.Pierre Habouzit1-20/+11
2007-06-07War on whitespaceJunio C Hamano1-1/+1
2007-05-15Ensure return value from xread() is always stored into an ssize_tJohan Herland1-1/+1
2007-02-20prefixcmp(): fix-up leftover strncmp().Junio C Hamano1-4/+4
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullAndy Whitcroft1-1/+1
2007-01-08short i/o: fix calls to read to use xread or read_in_fullAndy Whitcroft1-2/+2
2006-12-21Rename imap-send's internal info/warn functions.Shawn O. Pearce1-12/+12
2006-12-20simplify inclusion of system header files.Junio C Hamano1-7/+0
2006-10-30Use memmove instead of memcpy for overlapping areasEdgar Toernig1-1/+1
2006-10-18git-imap-send: Strip smtp From_ header from imap message.v1.4.3Markus Amsler1-0/+8
2006-09-02Trace into a file or an open fd and refactor tracing code.Christian Couder1-25/+0
2006-09-02Replace uses of strdup with xstrdup.Shawn Pearce1-6/+6
2006-06-28Make some strings constTimo Hirvonen1-1/+1
2006-06-18Change types used in bitfields to be `int's.Florian Forster1-1/+1
2006-06-08check for error return from fork()Paul T Darga1-1/+5
2006-04-05Avoid a crash if realloc returns a different pointer.Mike McCormack1-0/+1
2006-04-05Avoid a divide by zero if there's no messages to send.Mike McCormack1-1/+6
2006-04-02Fix sparse warnings about usage of 0 instead of NULLRene Scharfe1-20/+20
2006-03-15fix imap-send for OSXRandal L. Schwartz1-2/+2
2006-03-12imap-send: Add missing #include for macosxJohannes Schindelin1-0/+1
2006-03-11imap-send: cleanup execl() call to use NULL sentinel instead of 0Marco Roeland1-1/+1
2006-03-10Add git-imap-send, derived from isync 1.0.1.Mike McCormack1-0/+1358