Skip to content
Permalink
Browse files

fix spelling errors found by codespell

  • Loading branch information...
alexandervdm committed Nov 2, 2019
1 parent c11d61c commit 4c131d3ddb8ece8cb3cb58daad4375c9c675b347
Showing with 24 additions and 24 deletions.
  1. +5 −5 ChangeLog
  2. +1 −1 src/constants.h
  3. +1 −1 src/editor.c
  4. +1 −1 src/external.c
  5. +1 −1 src/external.h
  6. +4 −4 src/gui/gui-main.c
  7. +2 −2 src/gui/gui-menu.c
  8. +4 −4 src/gui/gui-preview.c
  9. +1 −1 src/gui/gui-project.c
  10. +1 −1 src/iofunctions.c
  11. +2 −2 src/project.c
  12. +1 −1 src/tabmanager.c
@@ -119,7 +119,7 @@ Gummi 0.5.8 (March 17th, 2011):
* PDF latency when document is scrolled fixed
* Fixed gui hanging issues in certain situations
* Fixed compatibility with Bibtex 0.99d (texlive 2010)
* Updated glade files for compability with new releases
* Updated glade files for compatibility with new releases
* Better detection for damaged or incomplete pdf files
* Replaced textit with emph for italic toolbar function
* Solved various pdf rendering problems
@@ -142,7 +142,7 @@ Gummi 0.5.4 (December 8th, 2010):
Bugs fixed:
* Fixed segfault on document statistics for filepaths with spaces
* Fixed segfault on accessing non-existing recent file
* Fixed a rare segfault that occured on opening file
* Fixed a rare segfault that occurred on opening file
* Set default search & replace options to clone gedit's
* Fixed cursor repeatedly jumping to error lines
* Fixed statusbar message when a document is loaded from template
@@ -255,7 +255,7 @@ Gummi 0.4.5 (January 27th, 2010):
* Statusbar/Toolbar can be displayed/hidden
* Correct active typesetter displayed in Preferences menu
* Templates now set the correct filename
* Miscelaneous cosmetic & spelling updates
* Miscellaneous cosmetic & spelling updates

Features added:
* Gconf replaced with ConfigParser (gconf deps dropped)
@@ -292,14 +292,14 @@ Gummi 0.4.0 (October 12th, 2009):
* Fixed cancel buttons in file chooser dialogs
* Tempdir is now detected instead of a static value
* Quick import minimalizes after succesfull import
* Quit proces is now stopped when cancel button on save is pressed
* Quit process is now stopped when cancel button on save is pressed
* Fixed tooltips for style toolbar
* Fixed a gtksourceview warning on text insertion
* Text style tags can't be nested anymore
* Numerous warnings fixed using pylint/pychecker
* Replaced a duplicate keyboard shortcut
* Added multiple missing tooltips
* Buttons in preferences and searchwindow now allign correctly
* Buttons in preferences and searchwindow now align correctly
* And numerous other small usability fixes

Features:
@@ -129,7 +129,7 @@
#define C_CD_TMPDIR g_strdup_printf ("cd \"%s\"%s%s",C_TMPDIR,C_CMDSEP,C_TEXSEC)
#define C_DIRSEP G_DIR_SEPARATOR_S

// Platform dependant path definitions:
// Platform dependent path definitions:
#ifdef WIN32
#define C_TMPDIR utils_get_tmp_tmp_dir()
#define C_CMDSEP "&&"
@@ -369,7 +369,7 @@ void editor_fill_buffer (GuEditor* ec, const gchar* text) {
gtk_source_buffer_end_not_undoable_action (ec->buffer);
gtk_text_buffer_end_user_action (ec_buffer);

/* place cursor in the beggining of the document */
// place cursor in the beginning of the document
GtkTextIter start;
gtk_text_buffer_get_start_iter (ec_buffer, &start);
gtk_text_buffer_place_cursor (ec_buffer, &start);
@@ -1,6 +1,6 @@
/**
* @file external.c
* @brief existence and compability checks for external tools
* @brief existence and compatibility checks for external tools
*
* Copyright (C) 2009 Gummi Developers
* All Rights reserved.
@@ -1,6 +1,6 @@
/**
* @file external.h
* @brief existence and compability checks for external tools
* @brief existence and compatibility checks for external tools
*
* Copyright (C) 2009 Gummi Developers
* All Rights reserved.
@@ -648,14 +648,14 @@ void on_button_biblio_compile_clicked (GtkWidget* widget, void* user) {
if (biblio_compile_bibliography (gummi->biblio, g_active_editor,
gummi->latex)) {
statusbar_set_message (_("Compiling bibliography file.."));
// NOTE gtk3s bar doesnt place text inside the widget anymore :/
// NOTE gtk3s bar doesn't place text inside the widget anymore :/
//gtk_progress_bar_set_text (gummi->biblio->progressbar,
// _("Bibliography compiled without errors"));
motion_force_compile (gummi->motion);
} else {
statusbar_set_message
(_("Error compiling bibliography file or none detected.."));
// NOTE gtk3s bar doesnt place text inside the widget anymore :/
// NOTE gtk3s bar doesn't place text inside the widget anymore :/
//gtk_progress_bar_set_text (gummi->biblio->progressbar,
// _("Error compiling bibliography file"));
}
@@ -690,7 +690,7 @@ void on_button_biblio_detect_clicked (GtkWidget* widget, void* user) {
str = g_strdup_printf ("%d", number);
gtk_label_set_text (gummi->biblio->refnr_label, str);
g_free (str);
// NOTE gtk3s bar doesnt place text inside the widget anymore :/
// NOTE gtk3s bar doesn't place text inside the widget anymore :/
//gtk_progress_bar_set_text (gummi->biblio->progressbar, str);
g_free (basename);
}
@@ -699,7 +699,7 @@ void on_button_biblio_detect_clicked (GtkWidget* widget, void* user) {
(GTK_WIDGET(gummi->biblio->list_filter), FALSE);
statusbar_set_message
(_("No bibliography file detected in document.."));
// NOTE gtk3s bar doesnt place text inside the widget anymore :/
// NOTE gtk3s bar doesn't place text inside the widget anymore :/
//gtk_progress_bar_set_text (gummi->biblio->progressbar,
// _("no bibliography file detected"));
gtk_label_set_text (gummi->biblio->filenm_label, _("none"));
@@ -435,7 +435,7 @@ void on_menu_cleanup_activate (GtkWidget *widget, void *user) {
int result = latex_remove_auxfile (g_active_editor);

if (result == 0) {
statusbar_set_message (_("Succesfully removed build files.."));
statusbar_set_message (_("Successfully removed build files.."));
}
else {
statusbar_set_message (_("Error removing build files.."));
@@ -670,7 +670,7 @@ void on_menu_projopen_activate (GtkWidget *widget, void *user) {
projectgui_list_projfiles (gummi->project->projfile);
}
else {
statusbar_set_message (g_strdup_printf("An error ocurred while "
statusbar_set_message (g_strdup_printf("An error occurred while "
"loading project %s", filename));
}
g_free (filename);
@@ -942,7 +942,7 @@ void previewgui_set_pdffile (GuPreviewGui* pc, const gchar *uri) {
gint new_fit, new_zoom;

// TODO: build a dict like structure combining zoom fit strs with
// id (combo) so we dont have to do this verbose stuff all over the place
// id (combo) so we don't have to do this verbose stuff all over the place
if (STR_EQU (conf_zoom, "Best Fit")) new_fit = 0, new_zoom = 0;
else
if (STR_EQU (conf_zoom, "Fit Page Width")) new_fit = 1, new_zoom = 1;
@@ -992,7 +992,7 @@ void previewgui_set_pdffile (GuPreviewGui* pc, const gchar *uri) {

void previewgui_refresh (GuPreviewGui* pc, GtkTextIter *sync_to, gchar* tex_file) {
//L_F_DEBUG;
// We lock the mutex to prevent previewing imcomplete PDF file, i.e
// We lock the mutex to prevent previewing incomplete PDF file, i.e
// compiling. Also prevent PDF from changing (compiling) when previewing */
if (!g_mutex_trylock (&gummi->motion->compile_mutex)) return;

@@ -1076,7 +1076,7 @@ static gboolean synctex_run_parser(GuPreviewGui* pc, GtkTextIter *sync_to, gchar
synctex_node_p node;

// SyncTeX can return several nodes. It seems best to use the last one
// as this one rarely is below (usually slighly above) the edited line
// as this one rarely is below (usually slightly above) the edited line
while ((node = synctex_scanner_next_result(sync_scanner))) {

SyncNode *sn = g_new0(SyncNode, 1);
@@ -1933,7 +1933,7 @@ gboolean on_button_pressed (GtkWidget* w, GdkEventButton* e, void* user) {
synctex_node_p node;
/*
* SyncTeX can return several nodes. It seems best to use the last one, as
* this one rarely is below (usually slighly above) the edited line.
* this one rarely is below (usually slightly above) the edited line.
*/

if ((node = synctex_scanner_next_result(sync_scanner))) {
@@ -135,7 +135,7 @@ void projectgui_enable (GuProject* pr, GuProjectGui* prgui) {
gtk_label_set_text (prgui->proj_nroffiles,
g_strdup_printf("%d", pr->nroffiles));

// for visible information when window is shrinked, see #439 -A
// for visible information when window is shrunk, see #439 -A
gtk_widget_set_tooltip_text
(GTK_WIDGET (prgui->proj_name), projbasename);
gtk_widget_set_tooltip_text
@@ -211,7 +211,7 @@ void iofunctions_stop_autosave (void) {
return;
}
else {
slog (L_ERROR, "Error occured stopping autosaving..\n");
slog (L_ERROR, "Error occurred stopping autosaving..\n");
}
}

@@ -37,8 +37,8 @@
#include "gui/gui-project.h"
#include "utils.h"

// XXX: needs refactor, non gui classes should no directly acces gui and gummi
// structure
// TODO needs refactor, non gui classes should not
// directly access gui and gummi structure
extern GummiGui* gui;
extern Gummi* gummi;

@@ -144,7 +144,7 @@ void tabmanager_create_tab (OpenAct act, const gchar* filename, gchar* opt) {
}

void tabmanager_set_content (OpenAct act, const gchar* filename, gchar* opt) {
// Loads the appropriate content in the editor. Seperated from
// Loads the appropriate content in the editor. Separated from
// tab creation function to allow calling it from recovery mode
switch (act) {
case A_NONE:

0 comments on commit 4c131d3

Please sign in to comment.
You can’t perform that action at this time.