diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2013-03-31 23:22:54 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2013-03-31 23:25:51 -0400 |
commit | e4aaf9bc2f9cff25d93e5de2db39a4649c4321d1 (patch) | |
tree | 9f8a23b56e7a6aaf2cb7ac2a5cf0fd471541ce6b /ChangeLog | |
parent | 393fbe5382e3e4e93593542082ceb97ab4eeba5a (diff) | |
download | glibmm-e4aaf9bc2f9cff25d93e5de2db39a4649c4321d1.tar.gz |
TlsCertificate: Use std::string for data instead of char*.
* gio/src/tlscertificate.{ccg,hg} (TlsCertificate): Use a std::string
in the data constructor instead of a char* because it is more C++
like. Remove the default value for the length argument so there is no
ambiguity with the file constructor (which also uses std::string for
the filename).
(create_from_pem): Renamed from create() so that there is no ambiguity
with the other file create() methods (one with a filename argument and
the other with a filename and key file arguments). Handwrote the
method in the .ccg file (_WRAP_CREATE does not allow a custom method
name).
(property_certificate_pem): Use a std::string instead of a char* for
the property type in keeping with the use of std::string for pem data.
These changes are for when the Tls* classes are re-added to the build.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,5 +1,24 @@ 2013-03-31 José Alburquerque <jaalburquerque@gmail.com> + TlsCertificate: Use std::string for data instead of char*. + + * gio/src/tlscertificate.{ccg,hg} (TlsCertificate): Use a std::string + in the data constructor instead of a char* because it is more C++ + like. Remove the default value for the length argument so there is no + ambiguity with the file constructor (which also uses std::string for + the filename). + (create_from_pem): Renamed from create() so that there is no ambiguity + with the other file create() methods (one with a filename argument and + the other with a filename and key file arguments). Handwrote the + method in the .ccg file (_WRAP_CREATE does not allow a custom method + name). + (property_certificate_pem): Use a std::string instead of a char* for + the property type in keeping with the use of std::string for pem data. + + These changes are for when the Tls* classes are re-added to the build. + +2013-03-31 José Alburquerque <jaalburquerque@gmail.com> + Credentials: Add the get_unix_pid() method. * gio/src/credentials.hg: Add the new method wrapping the |