spelling fixes

This commit is contained in:
klemens
2017-01-23 12:06:58 +01:00
committed by Geert Janssens
parent 695065a0aa
commit cb3dd4318d
16 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
# #
# Test for the Boost C++ libraries of a particular version (or newer) # Test for the Boost C++ libraries of a particular version (or newer)
# #
# If no path to the installed boost library is given the macro searchs # If no path to the installed boost library is given the macro searches
# under /usr, /usr/local, /opt and /opt/local and evaluates the # under /usr, /usr/local, /opt and /opt/local and evaluates the
# $BOOST_ROOT environment variable. Further documentation is available at # $BOOST_ROOT environment variable. Further documentation is available at
# <http://randspringer.de/boost/index.html>. # <http://randspringer.de/boost/index.html>.
+1 -1
View File
@@ -216,7 +216,7 @@ set_options(dbi_conn conn, const PairVec& options)
* Sets standard db options in a dbi_conn. * Sets standard db options in a dbi_conn.
* *
* @param conn dbi_conn connection * @param conn dbi_conn connection
* @param uri UriStrings containing the needed paramters. * @param uri UriStrings containing the needed parameters.
* @return TRUE if successful, FALSE if error * @return TRUE if successful, FALSE if error
*/ */
template <DbType Type> bool template <DbType Type> bool
+2 -2
View File
@@ -86,7 +86,7 @@ public:
*/ */
void begin(QofInstance*) override; void begin(QofInstance*) override;
/** /**
* Object editting is complete and the object should be saved. * Object editing is complete and the object should be saved.
* *
* @param inst Object being edited * @param inst Object being edited
*/ */
@@ -118,7 +118,7 @@ public:
* to qof and nullptr is returned. * to qof and nullptr is returned.
* *
* @param statement Statement * @param statement Statement
* @return Results, or nullptr if an error has occured * @return Results, or nullptr if an error has occurred
*/ */
GncSqlResultPtr execute_select_statement(const GncSqlStatementPtr& stmt) const noexcept; GncSqlResultPtr execute_select_statement(const GncSqlStatementPtr& stmt) const noexcept;
int execute_nonselect_statement(const GncSqlStatementPtr& stmt) const noexcept; int execute_nonselect_statement(const GncSqlStatementPtr& stmt) const noexcept;
@@ -449,7 +449,7 @@ inline bool operator!=(const GncSqlColumnInfo& l,
* @param setter The function to set the property. * @param setter The function to set the property.
* The void* is an obvious wart occasioned by the fact that we're using GLists * The void* is an obvious wart occasioned by the fact that we're using GLists
* to hold objects. As the rewrite progresses we'll replace that with another * to hold objects. As the rewrite progresses we'll replace that with another
* template paramter. * template parameter.
*/ */
template <typename T, typename P, typename F> template <typename T, typename P, typename F>
void set_parameter(T object, P item, F& setter) void set_parameter(T object, P item, F& setter)
+1 -1
View File
@@ -56,7 +56,7 @@ using GncSqlStatementPtr = std::unique_ptr<GncSqlStatement>;
/** /**
* Encapsulate the connection to the database. This is an abstract class; the * Encapsulate the connection to the database. This is an abstract class; the
* implmentation is database-specific. * implementation is database-specific.
*/ */
class GncSqlConnection class GncSqlConnection
{ {
+1 -1
View File
@@ -45,7 +45,7 @@ using EntryVec = std::vector<GncSqlColumnTableEntryPtr>;
* commit a changed front-end object (note that database transaction semantics * commit a changed front-end object (note that database transaction semantics
* are not yet implemented; edit/commit applies to the front-end object!) and * are not yet implemented; edit/commit applies to the front-end object!) and
* write all front-end objects of the type to the database. Additional functions * write all front-end objects of the type to the database. Additional functions
* for creating and runing queries existed but were unused and untested. They've * for creating and running queries existed but were unused and untested. They've
* been temporarily removed until the front end is ready to use them. * been temporarily removed until the front end is ready to use them.
*/ */
class GncSqlObjectBackend class GncSqlObjectBackend
+2 -2
View File
@@ -232,7 +232,7 @@ add_account_local (sixtp_gdv2* data, Account* act)
xaccAccountScrubCommodity (act); xaccAccountScrubCommodity (act);
xaccAccountScrubKvp (act); xaccAccountScrubKvp (act);
/* Backwards compatability. If there's no parent, see if this /* Backwards compatibility. If there's no parent, see if this
* account is of type ROOT. If not, find or create a ROOT * account is of type ROOT. If not, find or create a ROOT
* account and make that the parent. */ * account and make that the parent. */
type = xaccAccountGetType (act); type = xaccAccountGetType (act);
@@ -1138,7 +1138,7 @@ write_pricedb (FILE* out, QofBook* book, sixtp_gdv2* gd)
return FALSE; return FALSE;
/* We create our own output buffer so we can call xmlNodeDumpOutput to get /* We create our own output buffer so we can call xmlNodeDumpOutput to get
the indendation correct. */ the indentation correct. */
outbuf = xmlOutputBufferCreateFile (out, NULL); outbuf = xmlOutputBufferCreateFile (out, NULL);
if (outbuf == NULL) if (outbuf == NULL)
{ {
+1 -1
View File
@@ -5143,7 +5143,7 @@ gnc_account_imap_delete_account (GncImportMatchMap *imap,
struct account_token_count struct account_token_count
{ {
char* account_guid; char* account_guid;
gint64 token_count; /**< occurances of a given token for this account_guid */ gint64 token_count; /**< occurrences of a given token for this account_guid */
}; };
/** total_count and the token_count for a given account let us calculate the /** total_count and the token_count for a given account let us calculate the
+1 -1
View File
@@ -407,7 +407,7 @@ GNCPrice * gnc_pricedb_lookup_latest(GNCPriceDB *db,
PriceList * gnc_pricedb_lookup_latest_any_currency(GNCPriceDB *db, PriceList * gnc_pricedb_lookup_latest_any_currency(GNCPriceDB *db,
const gnc_commodity *commodity); const gnc_commodity *commodity);
/** @brief Report wether the pricedb contains prices for one commodity in /** @brief Report whether the pricedb contains prices for one commodity in
* another. * another.
* *
* Does *not* check the reverse direction. * Does *not* check the reverse direction.
+4 -4
View File
@@ -128,7 +128,7 @@ TEST_F(ImapPlainTest, FindAccount)
TEST_F(ImapPlainTest, AddAccount) TEST_F(ImapPlainTest, AddAccount)
{ {
// prevent the embedded beginedit/commitedit from doing anything // prevent the embedded beginedit/committedit from doing anything
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account)); qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account)); qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
gnc_account_imap_add_account(t_imap, "foo", "bar", t_expense_account1); gnc_account_imap_add_account(t_imap, "foo", "bar", t_expense_account1);
@@ -165,7 +165,7 @@ TEST_F(ImapPlainTest, DeleteAccount)
Path path2 {IMAP_FRAME, "foo"}; Path path2 {IMAP_FRAME, "foo"};
Path path3 {IMAP_FRAME}; Path path3 {IMAP_FRAME};
// prevent the embedded beginedit/commitedit from doing anything // prevent the embedded beginedit/committedit from doing anything
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account)); qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account)); qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
gnc_account_imap_add_account(t_imap, "foo", "bar", t_expense_account1); gnc_account_imap_add_account(t_imap, "foo", "bar", t_expense_account1);
@@ -272,7 +272,7 @@ TEST_F(ImapBayesTest, FindAccountBayes)
TEST_F(ImapBayesTest, AddAccountBayes) TEST_F(ImapBayesTest, AddAccountBayes)
{ {
// prevent the embedded beginedit/commitedit from doing anything // prevent the embedded beginedit/committedit from doing anything
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account)); qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account)); qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
gnc_account_imap_add_account_bayes(t_imap, t_list1, t_expense_account1); gnc_account_imap_add_account_bayes(t_imap, t_list1, t_expense_account1);
@@ -318,7 +318,7 @@ TEST_F(ImapBayesTest, AddAccountBayes)
TEST_F(ImapBayesTest, ConvertAccountBayes) TEST_F(ImapBayesTest, ConvertAccountBayes)
{ {
// prevent the embedded beginedit/commitedit from doing anything // prevent the embedded beginedit/committedit from doing anything
qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account)); qof_instance_increase_editlevel(QOF_INSTANCE(t_bank_account));
qof_instance_mark_clean(QOF_INSTANCE(t_bank_account)); qof_instance_mark_clean(QOF_INSTANCE(t_bank_account));
gnc_account_imap_add_account_bayes(t_imap, t_list1, t_expense_account1); //Food gnc_account_imap_add_account_bayes(t_imap, t_list1, t_expense_account1); //Food
+1 -1
View File
@@ -555,7 +555,7 @@ gnc_plugin_page_account_tree_open (Account *account, GtkWindow *win)
g_hash_table_insert (priv->fd.filter_override, account, account); g_hash_table_insert (priv->fd.filter_override, account, account);
// make sure we overide all the parent accounts to root // make sure we override all the parent accounts to root
while (parent_account != root_account) while (parent_account != root_account)
{ {
parent_account = gnc_account_get_parent (temp_account); parent_account = gnc_account_get_parent (temp_account);
@@ -81,7 +81,7 @@ fill_model_with_match (GMatchInfo *match_info,
/******************************************************* /*******************************************************
* csv_fixed_trans_import_read_file * csv_fixed_trans_import_read_file
* *
* Parse the file for a correctly formated file * Parse the file for a correctly formatted file
*******************************************************/ *******************************************************/
csv_fixed_trans_import_result csv_fixed_trans_import_result
csv_fixed_trans_import_read_file (const gchar *filename, const gchar *parser_regexp, csv_fixed_trans_import_read_file (const gchar *filename, const gchar *parser_regexp,
@@ -45,7 +45,7 @@ typedef struct
const gchar *encoding; // File encoding const gchar *encoding; // File encoding
gboolean separator[SEP_NUM_OF_TYPES]; // The seperators gboolean separator[SEP_NUM_OF_TYPES]; // The separators
gboolean custom; // Custom entry set gboolean custom; // Custom entry set
const gchar *custom_entry; // Custom Entry const gchar *custom_entry; // Custom Entry
+1 -1
View File
@@ -69,7 +69,7 @@ struct QofBackendProvider
using QofBackendProvider_ptr = std::unique_ptr<QofBackendProvider>; using QofBackendProvider_ptr = std::unique_ptr<QofBackendProvider>;
/** Let the sytem know about a new provider of backends. This function /** Let the system know about a new provider of backends. This function
* is typically called by the provider library at library load time. * is typically called by the provider library at library load time.
* This function allows the backend library to tell the QOF infrastructure * This function allows the backend library to tell the QOF infrastructure
* that it can handle URL's of a certain type. Note that a single * that it can handle URL's of a certain type. Note that a single
+2 -2
View File
@@ -140,7 +140,7 @@ enum // Values for m_flags
int cmp (const GncInt128& b) const noexcept; int cmp (const GncInt128& b) const noexcept;
/** /**
* Computes the Greatest Common Divisor between the object and paramter * Computes the Greatest Common Divisor between the object and parameter
* *
* @return A GncInt128 having the GCD. * @return A GncInt128 having the GCD.
*/ */
@@ -203,7 +203,7 @@ enum // Values for m_flags
*/ */
bool isOverflow () const noexcept; bool isOverflow () const noexcept;
/** /**
* @return true if an illegal calculation has occured. * @return true if an illegal calculation has occurred.
*/ */
bool isNan () const noexcept; bool isNan () const noexcept;
/** /**
+2 -2
View File
@@ -607,7 +607,7 @@
(begin (begin
(gnc:html-table-set-cell/tag! (gnc:html-table-set-cell/tag!
html-table 1 current-col "centered-label-cell" html-table 1 current-col "centered-label-cell"
(_ "Diff")) ;; Translators: Abbrevation for "Difference" (_ "Diff")) ;; Translators: Abbreviation for "Difference"
(set! current-col (+ current-col 1)) (set! current-col (+ current-col 1))
) )
) )
@@ -622,7 +622,7 @@
;; When period is found it's passed to adjuster that is responsible for final calculation of period. ;; When period is found it's passed to adjuster that is responsible for final calculation of period.
;; ;;
;; If budget in future then first period of bundget is returned, if it in past, then the last period is returned ;; If budget in future then first period of bundget is returned, if it in past, then the last period is returned
;; if adjuster produced period number that is less then first period or greater then last period, the same rules apply. ;; if adjuster produced period number that is less then first period or greater than last period, the same rules apply.
;; ;;
;; Parameters: ;; Parameters:
;; budget - budget to use ;; budget - budget to use