Permalink
Commits on Feb 24, 2013
  1. darwinssl: fix undefined $ssllib warning in runtests.pl

    nickzman committed Feb 24, 2013
    I also added --with-darwinssl to the list of SSL options in configure.
  2. imap: Changed the order of the response types in imap_endofresp()

    captain-caveman2k committed Feb 24, 2013
    From a maintenance point of view the code reads better to view tagged
    responses, then untagged followed by continuation responses.
    
    Additionally, this matches the order of responses in POP3.
  3. imap: Added stricter parsing of continuation responses

    yirkha committed with captain-caveman2k Feb 24, 2013
    Enhanced the parsing to only allow continuation responses in some
    states.
  4. imap: Added stricter parsing of tagged command responses

    yirkha committed with captain-caveman2k Feb 24, 2013
    Enhanced the parsing of tagged responses which must start with "OK",
    "NO" or "BAD"
  5. DOCS: Corrected layout of POP3 and IMAP URL examples

    captain-caveman2k committed Feb 24, 2013
    Corrected layout issues with the POP3 and IMAP URL examples introduced
    in commit cb3ae68.
Commits on Feb 23, 2013
  1. DOCS: Updated CURLOPT_URL section following recent POP3 and IMAP changes

    captain-caveman2k committed Feb 23, 2013
    Updated the POP3 sub-section to refer to message ID rather than mailbox.
    
    Added an IMAP sub-section with example URLs depicting the specification
    of mailbox, uid and section.
  2. pop3: Refactored the mailbox variable as it didn't reflect it's purpose

    captain-caveman2k committed Feb 23, 2013
    Updated the mailbox variable to correctly reflect it's purpose. The
    name mailbox was a leftover from when IMAP and POP3 support was
    initially added to curl.
  3. imap: Added the ability to FETCH a specific UID and SECTION

    yirkha committed with captain-caveman2k Feb 23, 2013
    Updated the FETCH command to send the UID and SECTION parsed from the
    URL. By default the BODY specifier doesn't include a section, BODY[] is
    now sent whereas BODY[TEXT] was previously sent. In my opinion
    retrieving just the message text is rarely useful when dealing with
    emails, as the headers are required for example, so that functionality
    is not retained. In can however be simulated by adding SECTION=TEXT to
    the URL.
    
    Also updated test801 and test1321 due to the BODY change.
  4. smtp: Removed some FTP heritage leftovers

    captain-caveman2k committed Feb 23, 2013
    Removed user and passwd from the SMTP struct as these cannot be set on
    a per-request basis and are leftover from legacy FTP code.
    
    Changed some comments still using FTP terminology.
  5. smtp: Moved the per-request variables to the per-request data structure

    captain-caveman2k committed Feb 23, 2013
    Moved the rcpt variable from the per-connection struct smtp_conn to the
    new per-request struct and fixed references accordingly.
  6. pop3: Introduced a custom SMTP structure for per-request data

    captain-caveman2k committed Feb 23, 2013
    Created a new SMTP structure and changed the type of the smtp proto
    variable in connectdata from FTP* to SMTP*.
  7. pop3: fix compiler warning

    bagder committed Feb 23, 2013
    error: declaration of 'pop3' shadows a previous local
  8. imap: Added URL parsing of new variables

    yirkha committed with captain-caveman2k Feb 23, 2013
    Updated the imap_parse_url_path() function to parse uidvalidity, uid and
    section parameters based on RFC-5092.
  9. imap: Introduced imap_is_bchar() function

    yirkha committed with captain-caveman2k Feb 23, 2013
    Added imap_is_bchar() for testing if a given character is a valid bchar
    or not.
  10. imap: Introduced new per-request veriables

    yirkha committed with captain-caveman2k Feb 23, 2013
    Added uidvalidity, uid and section variables to the per-request IMAP
    structure in preparation for upcoming URL parsing.
  11. pop3: Removed some FTP heritage leftovers

    captain-caveman2k committed Feb 23, 2013
    Removed user and passwd from the POP3 struct as these cannot be set on
    a per-request basis and are leftover from legacy FTP code.
    
    Changed some comments still using FTP terminology.
  12. pop3: Moved the per-request variables to the per-request data structure

    captain-caveman2k committed Feb 23, 2013
    Moved the mailbox and custom request variables from the per-connection
    struct pop3_conn to the new per-request struct and fixed references
    accordingly.
  13. pop3: Introduced a custom POP3 structure for per-request data

    captain-caveman2k committed Feb 23, 2013
    Created a new POP3 structure and changed the type of the pop3 proto
    variable in connectdata from FTP* to POP*.
  14. imap: Fixed escaping of mailbox names

    yirkha committed with captain-caveman2k Feb 12, 2013
    Used imap_atom() to escape mailbox names in imap_select().
  15. pingpong: Moved curl_ftptransfer definition to pingpong.h

    captain-caveman2k committed Feb 23, 2013
    Moved the ftp transfer structure into pingpong.h so other protocols that
    require it don't have to include ftp.h.
  16. urldata.h: Fixed comment for opt_no_body variable

    captain-caveman2k committed Feb 23, 2013
    Corrected comment for opt_no_body variable to CURLOPT_NOBODY.
  17. imap: Removed more FTP leftovers

    yirkha committed with captain-caveman2k Feb 23, 2013
    Changed some variables and comments still using FTP terminology.
  18. imap: Removed some FTP heritage leftovers

    yirkha committed with captain-caveman2k Feb 23, 2013
    Removed user and passwd from the IMAP struct as these cannot be set on
    a per-request basis and are leftover from legacy FTP code.