/usr/share/gtk-doc/html/gmime-2.6/gmime-changes-2-4.html is in libgmime-2.6-doc 2.6.20-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GMime 2.6 Reference Manual: Changes from 2.2 to 2.4</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GMime 2.6 Reference Manual">
<link rel="up" href="gmime.html" title="Part I. GMime Overview">
<link rel="prev" href="gmime-changes-2-2.html" title="Changes from 2.0 to 2.2">
<link rel="next" href="gmime-changes-2-6.html" title="Changes from 2.4 to 2.6">
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="gmime.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gmime-changes-2-2.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gmime-changes-2-6.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gmime-changes-2-4"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">Changes from 2.2 to 2.4</span></h2>
<p>Changes from 2.2 to 2.4 — Changes made between version 2.2 and version 2.4</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="id-1.2.7.3"></a><h2>Changes from 2.2 to 2.4</h2>
<p>GMime 2.4 has had a number of API changes since GMime
2.2. To start, ALL public APIs that used to use off_t in GMime 2.2 now
use gint64 so that the API and ABI do not change based on whether or
not large file support is enabled.</p>
<p>In addition, all of the functions marked as deprecated in
2.0 and 2.2 were removed (usually they had equivalent functionality in
a parent class).</p>
<p>Many functions have also been renamed for better clarity
and/or consistency. For convenience, GMime 2.4 source packages include
a shell-script to aid in porting applications using GMime 2.2 (should
work for most GMime 2.0 applications as well) to the 2.4 API. You can
find this script under the tools/ directory, named
`gmime-port-2-2-to-2-4.sh'.</p>
<p>This script won't fix everything, but it should help quite a
bit.</p>
<p>Beyond that, a few methods have changed in other ways:</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p><code class="function">g_mime_cipher_context_sign()</code>
still returns int, but if the value isn't -1 (failure), then it will
represent a GMimeCipherHash that it used for signing. This is
useful, for example, when the requested hash was
GMIME_CIPHER_HASH_DEFAULT.</p></li>
<li class="listitem"><p><code class="function">g_mime_cipher_context_decrypt()</code>
now returns a GMimeSignatureValidty on success and NULL on
failure. This is needed in case the encrypted stream was also
signed.</p></li>
<li class="listitem"><p><code class="function">g_mime_multipart_encrypted_encrypt()</code>
now takes a boolean 'sign' argument to allow the caller to request
encrypting and signing in a single pass.</p></li>
</ul></div>
<p>Several structs have also been rewritten to subclass GObject like
GMimeContentType and GMimeContentDisposition as well as
InternetAddress and InternetAddressList.</p>
<p>Not only have InternetAddress and InternetAddressList been ported to
GObject, but they have also undergone other design
changes. InternetAddress is now a base class for
InternetAddressMailbox and InternetAddressGroup, meaning that
InternetAddress no longer contains a union for group/addr fields.</p>
<p>All functions that return a GObject have been changed to not add a ref
to the object returned, meaning that it is no longer necessary to call
g_object_unref() on MIME parts returned from functions like
g_mime_message_get_mime_part() or g_mime_multipart_get_part(). This
was done to be more consistent with the Gtk+ API.</p>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
</body>
</html>
|