Fix Valadoc: Bug #714502

This cleans up Valadoc comments so latest Valadoc doesn't issue errors
or warnings.
This commit is contained in:
Jim Nelson 2015-03-11 18:11:48 -07:00
parent ef87b0dbc3
commit a947fc2fed
34 changed files with 95 additions and 85 deletions

View file

@ -746,7 +746,7 @@ add_custom_target(
WORKING_DIRECTORY
${CMAKE_SOURCE_DIR}/src
COMMAND
${VALADOC_EXECUTABLE} --force --no-protected -b ${CMAKE_CURRENT_SOURCE_DIR} -o ${CMAKE_SOURCE_DIR}/valadoc --package-name=geary --package-version=${VERSION} ${ENGINE_SRC} ${valadoc_pkg_opts} --vapidir=${CMAKE_SOURCE_DIR}/bindings/vapi
${VALADOC_EXECUTABLE} --force --no-protected --target-glib=${TARGET_GLIB} -b ${CMAKE_CURRENT_SOURCE_DIR} -o ${CMAKE_SOURCE_DIR}/valadoc --package-name=geary --package-version=${VERSION} ${ENGINE_SRC} ${valadoc_pkg_opts} --vapidir=${CMAKE_SOURCE_DIR}/bindings/vapi
)
## Make clean: remove copied files

View file

@ -66,7 +66,7 @@ public class Geary.AccountInformation : BaseObject {
//
/**
* User's name for the {@link primary_mailbox}.
* User's name for the {@link get_primary_mailbox_address}.
*/
public string real_name { get; set; }

View file

@ -232,11 +232,14 @@ public abstract class Geary.Account : BaseObject {
/**
* Rebuild the local data stores for this {@link Account}.
*
* This should only be used if {@link open_async} throws {@link EngineError.CORRUPTION},
* indicating that the local data store is corrupted and cannot be used. ''rebuild_async()
* will delete all local data''. If the Account is backed by a synchronized copy on the
* network, it will rebuild its local mail store. If not, the data is forever deleted.
* Hence, it's best to query the user before calling this method.
* This should only be used if {@link open_async} throws {@link EngineError.CORRUPT},
* indicating that the local data store is corrupted and cannot be used.
*
* ''rebuild_async() will delete all local data''.
*
* If the Account is backed by a synchronized copy on the network, it will rebuild its local
* mail store. If not, the data is forever deleted. Hence, it's best to query the user before
* calling this method.
*
* Unlike most methods in Account, this should only be called when the Account is closed.
*/

View file

@ -43,7 +43,7 @@ public abstract class Geary.Attachment : BaseObject {
public int64 filesize { get; private set; }
/**
* The {@link Disposition} of the attachment, as specified by the {@link Email}.
* The {@link Mime.ContentDisposition} of the attachment, as specified by the {@link Email}.
*
* See [[https://tools.ietf.org/html/rfc2183]]
*/

View file

@ -364,7 +364,7 @@ public abstract class Geary.FolderRoot : Geary.FolderPath {
* The default case sensitivity of each element in the {@link FolderPath}.
*
* @see FolderRoot.case_sensitive
* @see FolderRoot.get_child
* @see FolderPath.get_child
*/
public bool default_case_sensitivity { get; private set; }

View file

@ -14,29 +14,32 @@ public abstract class Geary.FolderProperties : BaseObject {
public const string PROP_NAME_IS_VIRTUAL = "is-virtual";
/**
* The total count of email in the Folder.
* The total count of email in the {@link Folder}.
*/
public int email_total { get; protected set; }
/**
* The total count of unread email in the Folder.
* The total count of unread email in the {@link Folder}.
*/
public int email_unread { get; protected set; }
/**
* Returns a Trillian indicating if this Folder has children. has_children == Trillian.TRUE
* implies supports_children == Trilian.TRUE.
* Returns a {@link Trillian} indicating if this {@link Folder} has children.
*
* has_children == {@link Trillian.TRUE} implies {@link supports_children} == Trilian.TRUE.
*/
public Trillian has_children { get; protected set; }
/**
* Returns a Trillian indicating if this Folder can parent new children Folders. This does
* *not* mean creating a sub-folder is guaranteed to succeed.
* Returns a {@link Trillian} indicating if this {@link Folder} can parent new children
* {@link Folder}s.
*
* This does ''not'' mean creating a sub-folder is guaranteed to succeed.
*/
public Trillian supports_children { get; protected set; }
/**
* Returns a Trillian indicating if Folder.open_async() *can* succeed remotely.
* Returns a {@link Trillian} indicating if {@link Folder.open_async} can succeed remotely.
*/
public Trillian is_openable { get; protected set; }
@ -60,9 +63,12 @@ public abstract class Geary.FolderProperties : BaseObject {
public bool is_virtual { get; private set; }
/**
* True if APPEND on the folder will never return the created UID. This is
* for servers that don't support UIDPLUS. Most servers support UIDPLUS,
* so this will usually be false.
* True if the {@link Folder} offers the {@link FolderSupport.Create} interface but is
* guaranteed not to return a {@link EmailIdentifier}, even if
* {@link FolderSupport.Create.create_email_async} succeeds.
*
* This is for IMAP servers that don't support UIDPLUS. Most servers support UIDPLUS, so this
* will usually be false.
*/
public bool create_never_returns_id { get; protected set; }

View file

@ -20,7 +20,7 @@ public interface Geary.FolderSupport.Archive : Geary.Folder {
*
* The {@link Geary.Folder} must be opened prior to attempting this operation.
*
* @returns A {@link Geary.Revokable} that may be used to revoke (undo) this operation later.
* @return A {@link Geary.Revokable} that may be used to revoke (undo) this operation later.
*/
public abstract async Geary.Revokable? archive_email_async(Gee.List<Geary.EmailIdentifier> email_ids,
Cancellable? cancellable = null) throws Error;

View file

@ -28,6 +28,8 @@ public interface Geary.FolderSupport.Create : Geary.Folder {
*
* If an id is passed, this will replace the existing message by deleting it after the new
* message is created. The new message's ID is returned.
*
* @see FolderProperties.create_never_returns_id
*/
public abstract async Geary.EmailIdentifier? create_email_async(Geary.RFC822.Message rfc822, EmailFlags? flags,
DateTime? date_received, Geary.EmailIdentifier? id, Cancellable? cancellable = null) throws Error;

View file

@ -21,7 +21,7 @@ public interface Geary.FolderSupport.Move : Geary.Folder {
*
* The {@link Geary.Folder} must be opened prior to attempting this operation.
*
* @returns A {@link Geary.Revokable} that may be used to revoke (undo) this operation later.
* @return A {@link Geary.Revokable} that may be used to revoke (undo) this operation later.
*/
public abstract async Geary.Revokable? move_email_async(Gee.List<Geary.EmailIdentifier> to_move,
Geary.FolderPath destination, Cancellable? cancellable = null) throws Error;

View file

@ -83,7 +83,7 @@ public class Geary.ReentrantProgressMonitor : Geary.ProgressMonitor {
}
/**
* @inheritDoc
* {@inheritDoc}
*
* Unlike the base class implementation, this may be called multiple times successively without
* a problem, but each must be matched by a {@link notify_finish} to completely stop the
@ -97,7 +97,7 @@ public class Geary.ReentrantProgressMonitor : Geary.ProgressMonitor {
}
/**
* @inheritDoc
* {@inheritDoc}
*
* Unlike the base class implementation, this may be called multiple times successively as
* long as they were matched by a prior {@link notify_start}.

View file

@ -21,7 +21,7 @@ public class Geary.App.Conversation : BaseObject {
/**
* Specify the location of the {@link Email} in relation to the {@link Folder} being monitored
* by the {@link Converation}'s {@link ConversationMonitor}.
* by the {@link Conversation}'s {@link ConversationMonitor}.
*
* IN_FOLDER represents Email that is found in the Folder the ConversationMonitor is
* monitoring. OUT_OF_FOLDER means the Email is located elsewhere in the {@link Account}.

View file

@ -80,7 +80,7 @@ public class Geary.App.DraftManager : BaseObject {
}
/**
* Indicates the {@link DraftsManager} is open and ready for service.
* Indicates the {@link DraftManager} is open and ready for service.
*
* Although this property can be monitored, the object is considered "open" when
* {@link open_async} completes, not when this property changes to true.
@ -255,7 +255,7 @@ public class Geary.App.DraftManager : BaseObject {
}
/**
* Flush pending operations and close the {@link DraftsManager}.
* Flush pending operations and close the {@link DraftManager}.
*
* Once closed, the object cannot be opened again. Create a new object in that case.
*
@ -316,8 +316,8 @@ public class Geary.App.DraftManager : BaseObject {
* See {@link FolderSupport.Create.create_email_async} for more information on the flags and
* date_received arguments.
*
* @returns A {@link Semaphore} that is notified when the operation completes (with or without
* error)
* @return A {@link Nonblocking.Semaphore} that is notified when the operation completes (with
* or without error)
*/
public Geary.Nonblocking.Semaphore? update(Geary.RFC822.Message draft, Geary.EmailFlags? flags,
DateTime? date_received) throws Error {
@ -335,8 +335,8 @@ public class Geary.App.DraftManager : BaseObject {
* Note: Replaced drafts are deleted, but on some services (i.e. Gmail) those deleted messages
* are actually moved to the Trash. This call does not currently solve that problem.
*
* @returns A {@link Semaphore} that is notified when the operation completes (with or without
* error)
* @return A {@link Nonblocking.Semaphore} that is notified when the operation completes (with
* or without error)
*/
public Geary.Nonblocking.Semaphore? discard() throws Error {
check_open();

View file

@ -257,7 +257,7 @@ public class Geary.Db.Connection : Geary.Db.Context {
*
* A new database has a user version number of zero.
*
* @see set_user_version_number().
* @see set_user_version_number
*/
public int get_user_version_number() throws Error {
return get_pragma_int(PRAGMA_USER_VERSION);

View file

@ -172,7 +172,8 @@ public class Geary.Imap.FolderProperties : Geary.FolderProperties {
/**
* Update an existing {@link FolderProperties} with fresh {@link StatusData}.
*
* This will force the {@link email_total} property to match the {@link status_messages} value.
* This will force the {@link Geary.FolderProperties.email_total} property to match the
* {@link status_messages} value.
*/
public void update_status(StatusData status) {
set_status_message_count(status.messages, true);

View file

@ -31,7 +31,7 @@ public class Geary.Imap.ListCommand : Command {
* LIST "" % -> "Spam"
* LIST "" "Spam" -> "~spam"
*
* See http://redmine.yorba.org/issues/7624 for more information.
* See [[http://redmine.yorba.org/issues/7624]] for more information.
*/
public ListCommand(MailboxSpecifier mailbox, bool use_xlist, ListReturnParameter? return_param) {
base (use_xlist ? XLIST_NAME : NAME, { "" });

View file

@ -17,7 +17,7 @@
public class Geary.Imap.ListReturnParameter : ListParameter {
/**
* See https://tools.ietf.org/html/rfc6154
* See [[https://tools.ietf.org/html/rfc6154]]
*/
public const string SPECIAL_USE = "special-use";

View file

@ -113,7 +113,7 @@ public class Geary.Imap.MessageSet : BaseObject {
/**
* Parses a string representing a {@link MessageSet} into a List of {@link SequenceNumber}s.
*
* See the note at {@link parse_uid} about limitations of this method.
* See the note at {@link uid_parse} about limitations of this method.
*
* Returns null if the string or parsed set is empty.
*

View file

@ -8,7 +8,7 @@
* A symbolic representation of IMAP FETCH's BODY section parameter.
*
* This is only used with {@link FetchCommand}. Most IMAP FETCH calls can be achieved with
* plain {@link FetchDataType} specifiers. Some cannot, however, and this more complicated
* plain {@link FetchDataSpecifier}s. Some cannot, however, and this more complicated
* specifier must be used.
*
* A fully-qualified specifier looks something like this for requests:
@ -34,7 +34,7 @@
* BODY[<section>]<<partial>>, and [[http://tools.ietf.org/html/rfc3501#section-7.4.2]],
* specifically section on BODY[<section>]<<origin octet>>.
*
* @see FetchDataType
* @see FetchDataSpecifier
*/
public class Geary.Imap.FetchBodyDataSpecifier : BaseObject, Gee.Hashable<FetchBodyDataSpecifier> {
@ -196,7 +196,7 @@ public class Geary.Imap.FetchBodyDataSpecifier : BaseObject, Gee.Hashable<FetchB
}
/**
* Returns the {@link FetchBodyDataType} in a string ready for a {@link Command}.
* Returns the {@link FetchBodyDataSpecifier} in a string ready for a {@link Command}.
*
* The serialized field names are returned in a case-insensitive casefolded order.
* (Some servers return field names in arbitrary order.)
@ -210,7 +210,7 @@ public class Geary.Imap.FetchBodyDataSpecifier : BaseObject, Gee.Hashable<FetchB
}
/**
* Returns the {@link FetchBodyDataType} in a string as it might appear in a
* Returns the {@link FetchBodyDataSpecifier} in a string as it might appear in a
* {@link ServerResponse}.
*
* The FetchBodyDataType server response does not include the peek modifier or the span
@ -280,10 +280,12 @@ public class Geary.Imap.FetchBodyDataSpecifier : BaseObject, Gee.Hashable<FetchB
}
/**
* Returns true if the {@link StringParameter} is formatted like a {@link FetchBodyDataType}.
* Returns true if the {@link StringParameter} is formatted like a
* {@link FetchBodyDataSpecifier}.
*
* This method doesn't do a full test. It's possible for {@link deserialize_response} to
* throw an exception if this method returns true.
* This method doesn't do a //full// test. It's possible for {@link deserialize_response} to
* throw an exception if this method returns true. This method should be used for simple
* identification when parsing and then catch the exception as the final word on validity.
*
* @see deserialize_response
*/

View file

@ -9,11 +9,11 @@
*
* Most FETCH requests can use this simple specifier to return various parts of the message.
* More complicated requests (and requests for partial header or body sections) must use a
* {@link FetchBodyDataType} specifier.
* {@link FetchBodyDataSpecifier} specifier.
*
* See [[http://tools.ietf.org/html/rfc3501#section-6.4.5]]
*
* @see FetchBodyDataType
* @see FetchBodyDataSpecifier
*/
public enum Geary.Imap.FetchDataSpecifier {
@ -78,9 +78,7 @@ public enum Geary.Imap.FetchDataSpecifier {
}
/**
* Decoders a {@link StringParameter} into a {@link FetchDataType} using {@link decode}.
*
* @see decode
* Decodes a {@link StringParameter} into a {@link FetchDataSpecifier}.
*/
public static FetchDataSpecifier from_parameter(StringParameter strparam) throws ImapError {
switch (strparam.as_lower()) {
@ -130,14 +128,14 @@ public enum Geary.Imap.FetchDataSpecifier {
}
/**
* Turns this {@link FetchDataType} into a {@link StringParameter} for transmission.
* Turns this {@link FetchDataSpecifier} into a {@link StringParameter} for transmission.
*/
public StringParameter to_parameter() {
return new AtomParameter(to_string());
}
/**
* Returns the appropriate {@link FetchDataDecoder} for this {@link FetchDataType}.
* Returns the appropriate {@link FetchDataDecoder} for this {@link FetchDataSpecifier}.
*
* The FetchDataDecoder can then be used to convert the associated {@link Parameter}s into
* {@link Imap.MessageData}.

View file

@ -32,7 +32,7 @@ public class Geary.Imap.SequenceNumber : Geary.MessageData.Int64MessageData, Gea
* This does not check if the value is valid.
*
* @see is_value_valid
* @see SequenceNumber.checked
* @see SequenceNumber.SequenceNumber.checked
*/
public SequenceNumber(int64 value) {
base (value);
@ -53,14 +53,14 @@ public class Geary.Imap.SequenceNumber : Geary.MessageData.Int64MessageData, Gea
}
/**
* Defined as {@link value} >= {@link MIN} and <= {@link MAX}.
* Defined as {@link MessageData.Int64MessageData.value} >= {@link MIN} and <= {@link MAX}.
*/
public static bool is_value_valid(int64 value) {
return value >= MIN && value <= MAX;
}
/**
* Defined as {@link value} >= {@link MIN} and <= {@link MAX}.
* Defined as {@link MessageData.Int64MessageData.value} >= {@link MIN} and <= {@link MAX}.
*/
public bool is_valid() {
return is_value_valid(value);
@ -69,7 +69,7 @@ public class Geary.Imap.SequenceNumber : Geary.MessageData.Int64MessageData, Gea
/**
* Returns a new {@link SequenceNumber} that is one lower than this value.
*
* Returns null if the decremented value is less than {@link MIN_VALUE}.
* Returns null if the decremented value is less than {@link MIN}.
*/
public SequenceNumber? dec() {
return (value > MIN) ? new SequenceNumber(value - 1) : null;

View file

@ -31,7 +31,7 @@ public class Geary.Imap.UIDValidity : Geary.MessageData.Int64MessageData, Geary.
/**
* Creates a new {@link UIDValidity} without checking for valid values.
*
* @see UIDValidity.checked
* @see UIDValidity.UIDValidity.checked
*/
public UIDValidity(int64 value) {
base (value);

View file

@ -32,7 +32,7 @@ public class Geary.Imap.UID : Geary.MessageData.Int64MessageData, Geary.Imap.Mes
/**
* Creates a new {@link UID} without checking for validity.
*
* @see UID.checked
* @see UID.UID.checked
* @see is_value_valid
*/
public UID(int64 value) {

View file

@ -135,7 +135,7 @@ public class Geary.Imap.ListParameter : Geary.Imap.Parameter {
/**
* Clears the {@link ListParameter} of all its children.
*
* This also clears (sets to null) the parents of all {@link ListParamater} children.
* This also clears (sets to null) the parents of all ListParameter's children.
*/
public void clear() {
// sever ties to ListParameter children

View file

@ -40,7 +40,7 @@ public class Geary.Imap.NumberParameter : UnquotedStringParameter {
* Creates a {@link NumberParameter} for a string representation of a number.
*
* No checking is performed to verify that the string is only composed of numeric characters.
* Use {@link is_numeric}.
* Use {@link is_ascii_numeric}.
*/
public NumberParameter.from_ascii(string ascii) {
base (ascii);

View file

@ -26,7 +26,7 @@ public abstract class Geary.Imap.StringParameter : Geary.Imap.Parameter {
public string ascii { get; private set; }
/**
* Returns {@link value} or null if value is empty (zero-length).
* Returns {@link ascii} or null if value is empty (zero-length).
*/
public string? nullable_ascii {
get {
@ -164,9 +164,10 @@ public abstract class Geary.Imap.StringParameter : Geary.Imap.Parameter {
}
/**
* Converts the {@link value} to a signed 32-bit integer, clamped between clamp_min and clamp_max.
* Converts the {@link ascii} to a signed 32-bit integer, clamped between clamp_min and
* clamp_max.
*
* ImapError.INVALID is thrown if the {@link StringParameter} contains non-numeric values. No
* @throws ImapError.INVALID if the {@link StringParameter} contains non-numeric values. No
* error is thrown if the numeric value is outside the clamped range.
*/
public int32 as_int32(int32 clamp_min = int32.MIN, int32 clamp_max = int32.MAX) throws ImapError {
@ -177,9 +178,10 @@ public abstract class Geary.Imap.StringParameter : Geary.Imap.Parameter {
}
/**
* Converts the {@link value} to a signed 64-bit integer, clamped between clamp_min and clamp_max.
* Converts the {@link ascii} to a signed 64-bit integer, clamped between clamp_min and
* clamp_max.
*
* ImapError.INVALID is thrown if the {@link StringParameter} contains non-numeric values. No
* @throws ImapError.INVALID if the {@link StringParameter} contains non-numeric values. No
* error is thrown if the numeric value is outside the clamped range.
*/
public int64 as_int64(int64 clamp_min = int64.MIN, int64 clamp_max = int64.MAX) throws ImapError {
@ -194,7 +196,7 @@ public abstract class Geary.Imap.StringParameter : Geary.Imap.Parameter {
*
* Returns null if unsuitable for a NumberParameter.
*
* @see NumberParameter.is_ascii_number
* @see NumberParameter.is_ascii_numeric
*/
public NumberParameter? coerce_to_number_parameter() {
NumberParameter? numberp = this as NumberParameter;

View file

@ -56,7 +56,7 @@ public class Geary.Imap.Capabilities : Geary.GenericCapabilities {
}
/**
* Indicates the {@link ClientSession{ reported support for SPECIAL-USE.
* Indicates the {@link ClientSession} reported support for SPECIAL-USE.
*
* See [[https://tools.ietf.org/html/rfc6154]]
*/

View file

@ -95,10 +95,10 @@ public class Geary.Imap.FetchedData : Object {
/**
* Returns the merge of this {@link FetchedData} and the supplied one.
*
* The results are undefined if both FetchData objects contain the same {@link FetchDataType}
* or {@link FetchBodyDataType}s.
* The results are undefined if both FetchData objects contain the same
* {@link FetchDataSpecifier} or {@link FetchBodyDataSpecifier}s.
*
* See warnings at {@link body_data_map} for dealing with multiple FetchBodyDataTypes.
* See warnings at {@link body_data_map} for dealing with multiple FetchBodyDataSpecifiers.
*
* @return null if the FetchedData do not have the same {@link seq_num}.
*/

View file

@ -47,7 +47,7 @@ public class Geary.Mime.ContentDisposition : Geary.BaseObject {
public const string SIZE = "size";
/**
* The {@link DispositionType}, which is {@link DispositionType.NONE} if not specified.
* The {@link DispositionType}, which is {@link DispositionType.UNSPECIFIED} if not specified.
*/
public DispositionType disposition_type { get; private set; }

View file

@ -52,8 +52,8 @@ public class Geary.Mime.ContentParameters : BaseObject {
* for some parameter values to be case-sensitive and so they are stored as such. It is up
* to the caller to use the right comparison method.
*
* @see is_parameter_ci
* @see is_parameter_cs
* @see has_value_ci
* @see has_value_cs
*/
public Gee.Map<string, string> get_parameters() {
return params.read_only_view;
@ -71,7 +71,7 @@ public class Geary.Mime.ContentParameters : BaseObject {
/**
* Returns true if the attribute has the supplied value (case-insensitive comparison).
*
* @see has_value_ci
* @see has_value_cs
*/
public bool has_value_ci(string attribute, string value) {
string? stored = params.get(attribute);
@ -82,7 +82,7 @@ public class Geary.Mime.ContentParameters : BaseObject {
/**
* Returns true if the attribute has the supplied value (case-sensitive comparison).
*
* @see has_value_cs
* @see has_value_ci
*/
public bool has_value_cs(string attribute, string value) {
string? stored = params.get(attribute);

View file

@ -85,7 +85,7 @@ public class Geary.Mime.ContentType : Geary.BaseObject {
/**
* Compares the {@link media_type} with the supplied type.
*
* An asterisk ("*") or {@link WILDCARD) are accepted, which will always return true.
* An asterisk ("*") or {@link WILDCARD} are accepted, which will always return true.
*
* @see is_type
*/
@ -96,7 +96,7 @@ public class Geary.Mime.ContentType : Geary.BaseObject {
/**
* Compares the {@link media_subtype} with the supplied subtype.
*
* An asterisk ("*") or {@link WILDCARD) are accepted, which will always return true.
* An asterisk ("*") or {@link WILDCARD} are accepted, which will always return true.
*
* @see is_type
*/

View file

@ -5,7 +5,7 @@
*/
/**
* A Semaphore is a broadcasting, manually-resetting {@link AbstractSempahore}.
* A Semaphore is a broadcasting, manually-resetting {@link AbstractSemaphore}.
*/
public class Geary.Nonblocking.Semaphore : Geary.Nonblocking.AbstractSemaphore {
@ -15,7 +15,7 @@ public class Geary.Nonblocking.Semaphore : Geary.Nonblocking.AbstractSemaphore {
}
/**
* An Event is a broadcasting, auto-resetting {@link AbstractSempahore}.
* An Event is a broadcasting, auto-resetting {@link AbstractSemaphore}.
*/
public class Geary.Nonblocking.Event : Geary.Nonblocking.AbstractSemaphore {
@ -25,7 +25,7 @@ public class Geary.Nonblocking.Event : Geary.Nonblocking.AbstractSemaphore {
}
/**
* A Spinlock is a single-notifying, auto-resetting {@link AbstractSempahore}.
* A Spinlock is a single-notifying, auto-resetting {@link AbstractSemaphore}.
*/
public class Geary.Nonblocking.Spinlock : Geary.Nonblocking.AbstractSemaphore {

View file

@ -78,7 +78,7 @@ public class Geary.RFC822.MailboxAddresses : Geary.MessageData.AbstractMessageDa
* Returns the addresses suitable for insertion into an RFC822 message. RFC822 quoting is
* performed if required.
*
* @see RFC822.to_rfc822_string
* @see MailboxAddress.to_rfc822_string
*/
public string to_rfc822_string() {
return MailboxAddress.list_to_string(addrs, "", (a) => a.to_rfc822_string());

View file

@ -560,7 +560,7 @@ public class Geary.RFC822.Message : BaseObject {
* See {@link get_body} for more details on how the body is assembled from the message's MIME
* structure and the role of the {@link InlinePartReplacer}.
*
* @throws {@link RFC822Error.NOT_FOUND} if an HTML body is not present.
* @throws RFC822Error.NOT_FOUND if an HTML body is not present.
*/
public string? get_html_body(InlinePartReplacer? replacer) throws RFC822Error {
return internal_get_body("html", false, replacer);

View file

@ -38,7 +38,7 @@ public class SpinWaiter : BaseObject {
* Spins waiting for a completion state to be reached.
*
* There's two ways the completion state can be reached: (1) PollService returns false,
* indicating an abort state, (2) {@link stop} is called, indicating a success state, or
* indicating an abort state, (2) {@link notify} is called, indicating a success state, or
* (3) the Cancellable was cancelled, causing an IOError.CANCELLED exception to be thrown.
*
* {@link PollService} will be called from within the calling thread context.
@ -46,8 +46,6 @@ public class SpinWaiter : BaseObject {
* Although this is thread-safe, it's not designed to be invoked by multiple callers. That
* could cause the PollService callback to be called more often than specified in the
* constructor.
*
* @see stop
*/
public bool wait(Cancellable? cancellable = null) throws Error {
// normalize poll_msec; negative values are zeroed
@ -86,12 +84,10 @@ public class SpinWaiter : BaseObject {
}
/**
* Signals a completion state to a thread calling {@link spin}.
* Signals a completion state to a thread calling {@link wait}.
*
* This call is thread-safe. However, once a {@link SpinWaiter} has been signalled to stop,
* it cannot be restarted.
*
* @see spin
*/
public new void notify() {
mutex.lock();