librelist archives

« back to archive

[MailCore/mailcore2] 6280c6: Allows for custom headers to be set in message

[MailCore/mailcore2] 6280c6: Allows for custom headers to be set in message

From:
Hoà V. Dinh
Date:
2013-07-12 @ 02:38
  Branch: refs/heads/master
  Home:   https://github.com/MailCore/mailcore2
  Commit: 6280c6a3d1daad83b8054730d430edbc91bc6d2d
      
https://github.com/MailCore/mailcore2/commit/6280c6a3d1daad83b8054730d430edbc91bc6d2d
  Author: Ryan Johnson <ryan@iambismark.net>
  Date:   2013-06-28 (Fri, 28 Jun 2013)

  Changed paths:
    M src/core/abstract/MCMessageHeader.cc
    M src/core/abstract/MCMessageHeader.h
    M src/core/basetypes/MCHashMap.cc
    M src/core/basetypes/MCHashMap.h
    M src/objc/abstract/MCOMessageHeader.h
    M src/objc/abstract/MCOMessageHeader.mm
    M tests/test-all.mm

  Log Message:
  -----------
  Allows for custom headers to be set in message

* Adds setHeaders, addHeader, getHeader to {MCO,MC}MessageHeader
* Exposes MCHashMap iterator for more effecient iteration


  Commit: 08d731fc900a40142d6d5d2b2e62ec0fb46e2eea
      
https://github.com/MailCore/mailcore2/commit/08d731fc900a40142d6d5d2b2e62ec0fb46e2eea
  Author: Ryan Johnson <ryan@iambismark.net>
  Date:   2013-07-01 (Mon, 01 Jul 2013)

  Changed paths:
    M src/core/abstract/MCMessageHeader.cc
    M src/core/abstract/MCMessageHeader.h
    M src/core/basetypes/MCHashMap.cc
    M src/core/basetypes/MCHashMap.h
    M src/objc/abstract/MCOMessageHeader.h
    M src/objc/abstract/MCOMessageHeader.mm

  Log Message:
  -----------
  Fixes for PR feedback

* Reverts MCHashMap changes, uses mc_foreachdictionaryKeyAndValue
* Adds getter for mExtraHeaders to MessageHeader
* Adds removeHeader
* Tweaks method names


  Commit: 398e820c4ce6047712effaba5f1c08d095b7c68c
      
https://github.com/MailCore/mailcore2/commit/398e820c4ce6047712effaba5f1c08d095b7c68c
  Author: Ryan Johnson <ryan@iambismark.net>
  Date:   2013-07-03 (Wed, 03 Jul 2013)

  Changed paths:
    M src/core/abstract/MCMessageHeader.cc
    M src/core/abstract/MCMessageHeader.h

  Log Message:
  -----------
  Whitespace cleanup


  Commit: 31762d8a7434268f08ae7dfbf06edc95754efb25
      
https://github.com/MailCore/mailcore2/commit/31762d8a7434268f08ae7dfbf06edc95754efb25
  Author: Ryan Johnson <ryan@iambismark.net>
  Date:   2013-07-10 (Wed, 10 Jul 2013)

  Changed paths:
    M src/core/abstract/MCMessageHeader.cc
    M src/core/abstract/MCMessageHeader.h
    M src/objc/abstract/MCOMessageHeader.h
    M src/objc/abstract/MCOMessageHeader.mm

  Log Message:
  -----------
  Fixes for PR feedback

* headerForName -> headerValueForName
* setExtraHeaders made private, removed extraHeaders
* added removeHeaderForName


  Commit: 6594f1527f9392ed74201d726b0c6aa6897e372b
      
https://github.com/MailCore/mailcore2/commit/6594f1527f9392ed74201d726b0c6aa6897e372b
  Author: Ryan Johnson <ryan@iambismark.net>
  Date:   2013-07-11 (Thu, 11 Jul 2013)

  Changed paths:
    M src/core/abstract/MCMessageHeader.cc
    M tests/test-all.mm

  Log Message:
  -----------
  Adds NULL check and style cleanup

* Adds check for mExtraHeaders == NULL to all allExtraHeadersNames()
* Makes mExtraHeaders == NULL checks more consistent
* Cleans up code formatting to be more consistent


  Commit: 3b37fa0450e691af93dac0621a0bc964cffa0c2b
      
https://github.com/MailCore/mailcore2/commit/3b37fa0450e691af93dac0621a0bc964cffa0c2b
  Author: Hoà V. DINH <dinh.viet.hoa@gmail.com>
  Date:   2013-07-11 (Thu, 11 Jul 2013)

  Changed paths:
    M src/core/abstract/MCMessageHeader.cc
    M src/core/abstract/MCMessageHeader.h
    M src/objc/abstract/MCOMessageHeader.h
    M src/objc/abstract/MCOMessageHeader.mm
    M tests/test-all.mm

  Log Message:
  -----------
  Merge pull request #161 from thusfresh/CustomHeaders

Allows for custom headers to be set for message builder.


Compare: https://github.com/MailCore/mailcore2/compare/c6a4ffd8dc6a...3b37fa0450e6