Fix misspellings

This commit is contained in:
Rafael Fontenelle 2019-05-22 20:47:08 +00:00 committed by Michael Gratton
parent d7109462f4
commit 2509c5c4f0
35 changed files with 45 additions and 45 deletions

View file

@ -15,7 +15,7 @@ Relative paths are also supported."
exit 1 # so that calling without parameters is counted as a failure exit 1 # so that calling without parameters is counted as a failure
fi fi
#we dont do file checking as geary is clever enough #we don't do file checking as geary is clever enough
ARG="mailto:?attachment=$1" #add first file ARG="mailto:?attachment=$1" #add first file
shift shift
while [ -n "$1" ]; do while [ -n "$1" ]; do

View file

@ -159,7 +159,7 @@ public class Accounts.Editor : Gtk.Dialog {
* Removes the current pane from the editor, showing the last one. * Removes the current pane from the editor, showing the last one.
*/ */
internal void pop() { internal void pop() {
// One can't simply remove old panes fro the GTK stack since // One can't simply remove old panes for the GTK stack since
// there won't be any transition between them - the old one // there won't be any transition between them - the old one
// will simply disappear. So we need to keep old, popped panes // will simply disappear. So we need to keep old, popped panes
// around until a new one is pushed on. // around until a new one is pushed on.

View file

@ -1261,7 +1261,7 @@ public class Application.Controller : Geary.BaseObject {
this.main_window.folder_list.add_folder(folder); this.main_window.folder_list.add_folder(folder);
// Since removing the folder will also remove its children // Since removing the folder will also remove its children
// from the folder list, we need to check for any and re-add // from the folder list, we need to check for any and re-add
// them. See isssue #11. // them. See issue #11.
try { try {
foreach (Geary.Folder child in foreach (Geary.Folder child in
folder.account.list_matching_folders(folder.path)) { folder.account.list_matching_folders(folder.path)) {
@ -1909,7 +1909,7 @@ public class Application.Controller : Geary.BaseObject {
private bool open_uri(string _link) { private bool open_uri(string _link) {
string link = _link; string link = _link;
// Support web URLs that ommit the protocol. // Support web URLs that omit the protocol.
if (!link.contains(":")) if (!link.contains(":"))
link = "http://" + link; link = "http://" + link;
@ -2949,7 +2949,7 @@ public class Application.Controller : Geary.BaseObject {
} }
// This is going to be either an inline image, or a remote // This is going to be either an inline image, or a remote
// image, so either treat it as an attachment ot assume we'll // image, so either treat it as an attachment to assume we'll
// have a valid filename in the URL // have a valid filename in the URL
bool handled = false; bool handled = false;
if (url.has_prefix(ClientWebView.CID_URL_PREFIX)) { if (url.has_prefix(ClientWebView.CID_URL_PREFIX)) {

View file

@ -352,7 +352,7 @@ public class GearyApplication : Gtk.Application {
/** /**
* Signal that is activated when 'exit' is called, but before the application actually exits. * Signal that is activated when 'exit' is called, but before the application actually exits.
* *
* To cancel an exit, a callback should return GearyApplication.cancel_exit(). To procede with * To cancel an exit, a callback should return GearyApplication.cancel_exit(). To proceed with
* an exit, a callback should return true. * an exit, a callback should return true.
*/ */
public virtual signal bool exiting(bool panicked) { public virtual signal bool exiting(bool panicked) {

View file

@ -502,7 +502,7 @@ public abstract class ClientWebView : WebKit.WebView, Geary.BaseInterface {
*/ */
protected inline void register_message_handler(string name, protected inline void register_message_handler(string name,
JavaScriptMessageHandler handler) { JavaScriptMessageHandler handler) {
// XXX cant use the delegate directly, see b.g.o Bug // XXX can't use the delegate directly, see b.g.o Bug
// 604781. However the workaround below creates a circular // 604781. However the workaround below creates a circular
// reference, causing ClientWebView instances to leak. So to // reference, causing ClientWebView instances to leak. So to
// work around that we need to record handler ids and // work around that we need to record handler ids and

View file

@ -160,7 +160,7 @@ public class FormattedConversationData : Geary.BaseObject {
return true; return true;
} }
// Creates an example message (used interally for styling calculations.) // Creates an example message (used internally for styling calculations.)
public FormattedConversationData.create_example() { public FormattedConversationData.create_example() {
this.is_unread = false; this.is_unread = false;
this.is_flagged = false; this.is_flagged = false;

View file

@ -729,7 +729,7 @@ public class ConversationMessage : Gtk.Grid, Geary.BaseInterface {
* Highlights user search terms in the message view. * Highlights user search terms in the message view.
* *
* Highlighting includes both in the message headers, and the * Highlighting includes both in the message headers, and the
* mesage body. returns the number of matching search terms. * message body. returns the number of matching search terms.
*/ */
public async uint highlight_search_terms(Gee.Set<string> search_matches, public async uint highlight_search_terms(Gee.Set<string> search_matches,
GLib.Cancellable cancellable) GLib.Cancellable cancellable)

View file

@ -23,7 +23,7 @@ public class InAppNotification : Gtk.Revealer {
/** /**
* Creates an in-app notification. * Creates an in-app notification.
* *
* @param message The messag that should be displayed. * @param message The message that should be displayed.
* @param keepalive The amount of seconds that the notification should stay visible. * @param keepalive The amount of seconds that the notification should stay visible.
*/ */
public InAppNotification(string message, uint keepalive = DEFAULT_KEEPALIVE) { public InAppNotification(string message, uint keepalive = DEFAULT_KEEPALIVE) {

View file

@ -24,7 +24,7 @@ public abstract class NewMessagesIndicator : Geary.BaseObject {
Configuration config) { Configuration config) {
NewMessagesIndicator? indicator = null; NewMessagesIndicator? indicator = null;
// Indicators are ordered from most to least prefered. If more than one is available, // Indicators are ordered from most to least preferred. If more than one is available,
// use the first. // use the first.
#if HAVE_LIBMESSAGINGMENU #if HAVE_LIBMESSAGINGMENU

View file

@ -43,7 +43,7 @@ public abstract class Geary.Revokable : BaseObject {
/** /**
* Fired when the {@link Revokable} has been revoked. * Fired when the {@link Revokable} has been revoked.
* *
* {@link valid} will stil be true when this is fired. * {@link valid} will still be true when this is fired.
*/ */
public signal void revoked(); public signal void revoked();
@ -52,7 +52,7 @@ public abstract class Geary.Revokable : BaseObject {
* *
* Some Revokables will offer a new Revokable to allow revoking the committed state. * Some Revokables will offer a new Revokable to allow revoking the committed state.
* *
* {@link valid} will stil be true when this is fired. * {@link valid} will still be true when this is fired.
*/ */
public signal void committed(Geary.Revokable? commit_revokable); public signal void committed(Geary.Revokable? commit_revokable);

View file

@ -27,7 +27,7 @@ private class Geary.App.ReseedOperation : ConversationOperation {
earliest_id.to_string(), this.monitor.base_folder.to_string()); earliest_id.to_string(), this.monitor.base_folder.to_string());
// Some conversations have already been loaded, so check // Some conversations have already been loaded, so check
// from the earliest known right through to the end of the // from the earliest known right through to the end of the
// vector for updated mesages // vector for updated messages
yield this.monitor.load_by_id_async( yield this.monitor.load_by_id_async(
earliest_id, earliest_id,
int.MAX, int.MAX,

View file

@ -995,7 +995,7 @@ private class Geary.ImapDB.Account : BaseObject {
// //
// Note that this uses SQLite's "standard" query syntax for MATCH, where AND is implied // Note that this uses SQLite's "standard" query syntax for MATCH, where AND is implied
// (and would be treated as search term if included), parentheses are not allowed, and // (and would be treated as search term if included), parentheses are not allowed, and
// OR has a higher precendence than AND. So the above example in standard syntax is: // OR has a higher precedence than AND. So the above example in standard syntax is:
// //
// party* OR parti* eventful* OR event* // party* OR parti* eventful* OR event*
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();

View file

@ -447,7 +447,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase {
stmt.exec(); stmt.exec();
// reuse statment, overwrite invalid_id, fields only // reuse statement, overwrite invalid_id, fields only
stmt.reset(Db.ResetScope.SAVE_BINDINGS); stmt.reset(Db.ResetScope.SAVE_BINDINGS);
} }
@ -583,7 +583,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase {
/** /**
* Rebuilds the database's FTS table index. * Rebuilds the database's FTS table index.
* *
* This can be used to recover from corrupt indexs, as indicated * This can be used to recover from corrupt indexes, as indicated
* by fts_integrity_check() returning false. * by fts_integrity_check() returning false.
*/ */
public void fts_rebuild() throws Error { public void fts_rebuild() throws Error {
@ -597,7 +597,7 @@ private class Geary.ImapDB.Database : Geary.Db.VersionedDatabase {
/** /**
* Optimises the database's FTS table index. * Optimises the database's FTS table index.
* *
* This is an expensive call, as much as performing a VACCUM. * This is an expensive call, as much as performing a VACUUM.
*/ */
public void fts_optimize() throws Error { public void fts_optimize() throws Error {
Db.Statement stmt = prepare(""" Db.Statement stmt = prepare("""

View file

@ -5,7 +5,7 @@
*/ */
/** /**
* ImapDB.Folder provides an interface for retreiving messages from the local store in methods * ImapDB.Folder provides an interface for retrieving messages from the local store in methods
* that are synonymous with Geary.Folder's interface, but with some differences that deal with * that are synonymous with Geary.Folder's interface, but with some differences that deal with
* how IMAP addresses and organizes email. * how IMAP addresses and organizes email.
* *
@ -1333,7 +1333,7 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
/** /**
* Adds a message to the folder. * Adds a message to the folder.
* *
* Note: does NOT check if message is already associated with thie * Note: does NOT check if message is already associated with this
* folder. * folder.
*/ */
private void do_associate_with_folder(Db.Connection cx, private void do_associate_with_folder(Db.Connection cx,

View file

@ -281,7 +281,7 @@ private class Geary.ImapDB.SearchFolder : Geary.SearchFolder, Geary.FolderSuppor
results.add(yield fetch_email_async(ids[i], required_fields, flags, cancellable)); results.add(yield fetch_email_async(ids[i], required_fields, flags, cancellable));
} catch (Error err) { } catch (Error err) {
// Don't let missing or incomplete messages stop the list operation, which has // Don't let missing or incomplete messages stop the list operation, which has
// different symantics from fetch // different semantics from fetch
if (!(err is EngineError.NOT_FOUND) && !(err is EngineError.INCOMPLETE_MESSAGE)) { if (!(err is EngineError.NOT_FOUND) && !(err is EngineError.INCOMPLETE_MESSAGE)) {
fetch_err = err; fetch_err = err;

View file

@ -515,7 +515,7 @@ private abstract class Geary.ImapEngine.GenericAccount : Geary.Account {
throws GLib.Error { throws GLib.Error {
check_open(); check_open();
// XXX work out what our public IP adddress is somehow and use // XXX work out what our public IP address is somehow and use
// that in preference to the sender's domain // that in preference to the sender's domain
string domain = composed.sender != null string domain = composed.sender != null
? composed.sender.domain ? composed.sender.domain

View file

@ -300,7 +300,7 @@ private class Geary.Imap.FolderSession : Geary.Imap.SessionObject {
// All commands must executed inside the cmd_mutex; returns FETCH or STORE results // All commands must executed inside the cmd_mutex; returns FETCH or STORE results
// //
// FETCH commands can generate a FolderError.RETRY. State will be updated to accomodate retry, // FETCH commands can generate a FolderError.RETRY. State will be updated to accommodate retry,
// but all Commands must be regenerated to ensure new state is reflected in requests. // but all Commands must be regenerated to ensure new state is reflected in requests.
private async Gee.Map<Command, StatusResponse>? exec_commands_async(Gee.Collection<Command> cmds, private async Gee.Map<Command, StatusResponse>? exec_commands_async(Gee.Collection<Command> cmds,
Gee.HashMap<SequenceNumber, FetchedData>? fetch_results, Gee.HashMap<SequenceNumber, FetchedData>? fetch_results,

View file

@ -5,7 +5,7 @@
*/ */
/** /**
* A represenation of an IMAP message range specifier. * A representation of an IMAP message range specifier.
* *
* A MessageSet can be for {@link SequenceNumber}s (which use positional addressing) or * A MessageSet can be for {@link SequenceNumber}s (which use positional addressing) or
* {@link UID}s. * {@link UID}s.

View file

@ -11,7 +11,7 @@
* This class does not check if quoting is required. Use {@link DataFormat.is_quoting_required} * This class does not check if quoting is required. Use {@link DataFormat.is_quoting_required}
* or {@link StringParameter.get_best_for}. * or {@link StringParameter.get_best_for}.
* *
* See {@link StringParameter} for a note about class heirarchy. In particular, note that * See {@link StringParameter} for a note about class hierarchy. In particular, note that
* [@link Deserializer} will not create this type of {@link Parameter} because it's unable to * [@link Deserializer} will not create this type of {@link Parameter} because it's unable to
* deduce if a string is an atom or a string from syntax alone. * deduce if a string is an atom or a string from syntax alone.
* *

View file

@ -155,7 +155,7 @@ public class Geary.Imap.ListParameter : Geary.Imap.Parameter {
return null; return null;
// Because Deserializer doesn't produce NilParameters, check manually if this Parameter // Because Deserializer doesn't produce NilParameters, check manually if this Parameter
// can legally be NIL according to IMAP grammer. // can legally be NIL according to IMAP grammar.
StringParameter? stringp = param as StringParameter; StringParameter? stringp = param as StringParameter;
if (stringp != null && NilParameter.is_nil(stringp)) if (stringp != null && NilParameter.is_nil(stringp))
return null; return null;
@ -417,7 +417,7 @@ public class Geary.Imap.ListParameter : Geary.Imap.Parameter {
} }
/** /**
* Returns the replaced Paramater. Throws ImapError.TYPE_ERROR if no Parameter exists at the * Returns the replaced Parameter. Throws ImapError.TYPE_ERROR if no Parameter exists at the
* index. * index.
*/ */
public Parameter replace(int index, Parameter parameter) throws ImapError { public Parameter replace(int index, Parameter parameter) throws ImapError {

View file

@ -152,7 +152,7 @@ public abstract class Geary.Imap.StringParameter : Geary.Imap.Parameter {
} }
/** /**
* Returns the string lowercased. * Returns the string in lowercase.
*/ */
public string as_lower() { public string as_lower() {
return Ascii.strdown(ascii); return Ascii.strdown(ascii);

View file

@ -70,7 +70,7 @@ public class Geary.Imap.ResponseCodeType : BaseObject, Gee.Hashable<ResponseCode
if (DataFormat.is_quoting_required(ascii) != DataFormat.Quoting.OPTIONAL) if (DataFormat.is_quoting_required(ascii) != DataFormat.Quoting.OPTIONAL)
throw new ImapError.INVALID("\"%s\" cannot be represented as a ResponseCodeType", ascii); throw new ImapError.INVALID("\"%s\" cannot be represented as a ResponseCodeType", ascii);
// store lowercased so it's easily compared with const strings above // store in lowercase so it's easily compared with const strings above
original = ascii; original = ascii;
value = Ascii.strdown(ascii); value = Ascii.strdown(ascii);
} }

View file

@ -123,7 +123,7 @@ public enum Geary.Imap.ServerDataType {
/** /**
* Examines the {@link RootParameters} looking for a ServerDataType. * Examines the {@link RootParameters} looking for a ServerDataType.
* *
* IMAP server responses don't offer a regular format for server data declations. This method * IMAP server responses don't offer a regular format for server data declaretions. This method
* parses for the common patterns and returns the ServerDataType it detects. * parses for the common patterns and returns the ServerDataType it detects.
* *
* See [[http://tools.ietf.org/html/rfc3501#section-7.2]] for more information. * See [[http://tools.ietf.org/html/rfc3501#section-7.2]] for more information.

View file

@ -923,7 +923,7 @@ public class Geary.Imap.ClientSession : BaseObject {
/** /**
* Prepares the connection and performs a login using the supplied credentials. * Prepares the connection and performs a login using the supplied credentials.
* *
* Preparing the connnection includes attempting compression and using STARTTLS if necessary. * Preparing the connection includes attempting compression and using STARTTLS if necessary.
* {@link Capabilities} are also retrieved automatically at the right time to ensure the best * {@link Capabilities} are also retrieved automatically at the right time to ensure the best
* results are available with {@link capabilities}. * results are available with {@link capabilities}.
*/ */

View file

@ -5,7 +5,7 @@
*/ */
/** /**
* A represenation of a MIME multipart Content-Type subtype. * A representation of a MIME multipart Content-Type subtype.
* *
* See [[https://tools.ietf.org/html/rfc2046#section-5.1]] * See [[https://tools.ietf.org/html/rfc2046#section-5.1]]
*/ */

View file

@ -65,7 +65,7 @@ public class Geary.Nonblocking.Concurrent : BaseObject {
// can't notify event here, Nonblocking.Event is not thread safe // can't notify event here, Nonblocking.Event is not thread safe
// //
// artificially increment the ref count of this object, schedule a completion callback // artificially increment the ref count of this object, schedule a completion callback
// on the forground thread, and signal there // on the foreground thread, and signal there
ref(); ref();
Idle.add(on_notify_completed); Idle.add(on_notify_completed);

View file

@ -5,7 +5,7 @@
*/ */
/** /**
* An abstract class describing a process for goind through an SASL authentication transaction. * An abstract class describing a process for going through an SASL authentication transaction.
* *
* Authenticators expect to use complete {@link Credentials}, i.e. user and pass must not be null. * Authenticators expect to use complete {@link Credentials}, i.e. user and pass must not be null.
*/ */

View file

@ -5,7 +5,7 @@
*/ */
/** /**
* SASL's LOGIN authentication schema impemented as an {@link Authenticator}. * SASL's LOGIN authentication schema implemented as an {@link Authenticator}.
* *
* LOGIN is obsolete but still widely in use and provided for backward compatibility. * LOGIN is obsolete but still widely in use and provided for backward compatibility.
* *

View file

@ -5,7 +5,7 @@
*/ */
/** /**
* SASL's PLAIN authentication schema impemented as an {@link Authenticator}. * SASL's PLAIN authentication schema implemented as an {@link Authenticator}.
* *
* See [[http://tools.ietf.org/html/rfc4616]] * See [[http://tools.ietf.org/html/rfc4616]]
*/ */

View file

@ -28,7 +28,7 @@ class GearyApplicationTest : TestCase {
public void paths_when_installed() throws GLib.Error { public void paths_when_installed() throws GLib.Error {
string[] args = new string[] { string[] args = new string[] {
_INSTALL_PREFIX + "/bin/geary", _INSTALL_PREFIX + "/bin/geary",
// Specifiy this so the app doesn't actually attempt // Specify this so the app doesn't actually attempt
// to start up // to start up
"-v" "-v"
}; };

View file

@ -98,7 +98,7 @@ public class ExpectedCall : Object {
* the code being tested. For example, if an object being tested * the code being tested. For example, if an object being tested
* requires certain objects to be passed in via its constructor or as * requires certain objects to be passed in via its constructor or as
* arguments of method calls and uses these to implement its * arguments of method calls and uses these to implement its
* behaviour, mock objects that fulfil these requirements can be used. * behaviour, mock objects that fulfill these requirements can be used.
* *
* Mock objects provide a means of both ensuring code being tested * Mock objects provide a means of both ensuring code being tested
* makes expected method calls with expected arguments on its * makes expected method calls with expected arguments on its

View file

@ -57,7 +57,7 @@ PageState.prototype = {
// //
// Note also that the delay introduced here by this last call // Note also that the delay introduced here by this last call
// to queuePreferredHeightUpdate when the complete document is // to queuePreferredHeightUpdate when the complete document is
// loaded seems to be important to get an acurate idea of the // loaded seems to be important to get an accurate idea of the
// final document size. // final document size.
window.addEventListener("load", function(e) { window.addEventListener("load", function(e) {
queuePreferredHeightUpdate(); queuePreferredHeightUpdate();
@ -90,7 +90,7 @@ PageState.prototype = {
}, },
loaded: function() { loaded: function() {
this.isLoaded = true; this.isLoaded = true;
// Always fire a prefered height update first so that it will // Always fire a preferred height update first so that it will
// be vaguegly correct when notifying of the HTML load // be vaguegly correct when notifying of the HTML load
// completing. // completing.
this.updatePreferredHeight(); this.updatePreferredHeight();

View file

@ -28,7 +28,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes" comments="Tooltip for inspector button">Togggle appending new log entries</property> <property name="tooltip_text" translatable="yes" comments="Tooltip for inspector button">Toggle appending new log entries</property>
<property name="action_name">win.toggle-play</property> <property name="action_name">win.toggle-play</property>
<property name="active">True</property> <property name="active">True</property>
<child> <child>

View file

@ -77,7 +77,7 @@ ComposerPageState.prototype = {
} }
}); });
// We can't use keydown for this, captured or bubbled, since // We can't use keydown for this, captured or bubbled, since
// that will also cause the line that the cursor is currenty // that will also cause the line that the cursor is currently
// positioned on when Enter is pressed to also be outdented. // positioned on when Enter is pressed to also be outdented.
document.body.addEventListener("keyup", function(e) { document.body.addEventListener("keyup", function(e) {
if (e.keyIdentifier == "Enter" && !e.shiftKey) { if (e.keyIdentifier == "Enter" && !e.shiftKey) {

View file

@ -89,7 +89,7 @@ pre {
margin: 1em 0; margin: 1em 0;
} }
/* Inline collapsable quote blocks */ /* Inline collapsible quote blocks */
.geary-quote-container { .geary-quote-container {
position: relative; position: relative;
@ -157,9 +157,9 @@ pre {
white-space: pre; white-space: pre;
-webkit-user-select: none; -webkit-user-select: none;
-webkit-user-drag: none; -webkit-user-drag: none;
/* All futher properties below are a workaround for WK Bug 166648 /* All further properties below are a workaround for WK Bug 166648
* <https://bugs.webkit.org/show_bug.cgi?id=166648>. The result is * <https://bugs.webkit.org/show_bug.cgi?id=166648>. The result is
* we need to manually style these buttons outselves. */ * we need to manually style these buttons ourselves. */
-webkit-appearance: none; -webkit-appearance: none;
box-sizing: border-box; box-sizing: border-box;
/* The following was taken from GTK+4 trunk Adwaita theme: /* The following was taken from GTK+4 trunk Adwaita theme: