Skip to content

Commit 02a5e6b

Browse files
luzpazTurboGit
authored andcommitted
Fix various typos
Found via `codespell -q 3 -S "./.git,*.patch,*.po,*.pot,*.svg,./src/external,./src/common,./data/pswp,./tools/lua_doc/old_api" -L ba,bloc,blocs,bu,childrens,childs,colorin,detailled,dinamic,eacg,fpt,hav,hava,histindx,indx,initiales,inout,isnt,ist,liquify,nd,nin,mye,residental,rin,ro,te,uint,ue,webp,wirth`
1 parent 99ddba1 commit 02a5e6b

17 files changed

+28
-28
lines changed

Diff for: RELEASE_NOTES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ changes (where available).
6262
- Added a high-contrast theme with bright white text on a dark gray
6363
background.
6464

65-
- Enhanced tooltips for utiltity module headers to provide more
65+
- Enhanced tooltips for utility module headers to provide more
6666
information about the module.
6767

6868
- Added more hints on an empty lighttable.

Diff for: cmake/modules/NSIS.template.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Function un.RemoveFromPath
385385
FunctionEnd
386386

387387
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
388-
; Uninstall sutff
388+
; Uninstall stuff
389389
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
390390

391391
###########################################

Diff for: packaging/macosx/3_make_hb_darktable_package.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ function install_dependencies {
5656
dynDepOrigFile=$(basename "$hbDependency")
5757
dynDepTargetFile="$dtResourcesDir/lib/$dynDepOrigFile"
5858

59-
# Install dependency if not yet existant
59+
# Install dependency if not yet existent
6060
if [[ ! -f "$dynDepTargetFile" ]]; then
6161
echo "Installing dependency $hbDependency of $1"
6262

63-
# Copy dependency as not yet existant
63+
# Copy dependency as not yet existent
6464
cp -L "$hbDependency" "$dynDepTargetFile"
6565

6666
# Handle transitive dependencies

Diff for: src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ endif(USE_LUA)
772772

773773
if(USE_LUA)
774774
if(NOT Lua54_FOUND)
775-
list(APPEND LIB_DEPS lua) # 2nd half of the uglyness :/
775+
list(APPEND LIB_DEPS lua) # 2nd half of the ugliness :/
776776
endif(NOT Lua54_FOUND)
777777
# liblautoc for lua automated interface generation
778778
add_library(lautoc_static STATIC IMPORTED)

Diff for: src/control/jobs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ typedef enum dt_job_queue_t
4949
DT_JOB_QUEUE_USER_EXPORT = 3, // exports. only one of these jobs will ever be scheduled at a time
5050
DT_JOB_QUEUE_SYSTEM_BG = 4, // some lua stuff that may not be pushed out of the queue, ...
5151
DT_JOB_QUEUE_MAX = 5,
52-
DT_JOB_QUEUE_SYNCHRONOUS = 1000 // don't queue, run immeidately and don't return until done
52+
DT_JOB_QUEUE_SYNCHRONOUS = 1000 // don't queue, run immediately and don't return until done
5353
} dt_job_queue_t;
5454

5555
typedef struct _dt_job_t dt_job_t;

Diff for: src/control/signal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ typedef enum dt_debug_signal_action_t
293293
DT_DEBUG_SIGNAL_ACT_PRINT_TRACE = 1 << 3,
294294
} dt_debug_signal_action_t;
295295

296-
/* inititialize the signal framework */
296+
/* initialize the signal framework */
297297
struct dt_control_signal_t *dt_control_signal_init();
298298
/* raises a signal */
299299
void dt_control_signal_raise(const struct dt_control_signal_t *ctlsig, const dt_signal_t signal, ...);

Diff for: src/develop/blend_gui.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,7 @@ static void _blendop_blendif_channel_mask_view(GtkWidget *widget,
21242124
dt_dev_pixelpipe_display_mask_t new_request_mask_display =
21252125
module->request_mask_display | mode;
21262126

2127-
// in case user requests channel display: get the cannel
2127+
// in case user requests channel display: get the channel
21282128
if(new_request_mask_display & DT_DEV_PIXELPIPE_DISPLAY_CHANNEL)
21292129
{
21302130
dt_dev_pixelpipe_display_mask_t channel = data->channel[data->tab].display_channel;
@@ -2170,7 +2170,7 @@ static void _blendop_blendif_channel_mask_view_toggle
21702170

21712171
new_request_mask_display &= ~DT_DEV_PIXELPIPE_DISPLAY_ANY;
21722172

2173-
// in case user requests channel display: get the cannel
2173+
// in case user requests channel display: get the channel
21742174
if(new_request_mask_display & DT_DEV_PIXELPIPE_DISPLAY_CHANNEL)
21752175
{
21762176
dt_dev_pixelpipe_display_mask_t channel = data->channel[data->tab].display_channel;
@@ -2583,7 +2583,7 @@ void dt_iop_gui_init_blendif(GtkWidget *blendw, dt_iop_module_t *module)
25832583
gtk_notebook_set_scrollable(bd->channel_tabs, TRUE);
25842584
gtk_box_pack_start(GTK_BOX(header), GTK_WIDGET(bd->channel_tabs), TRUE, TRUE, 0);
25852585

2586-
// a little padding between the notbook with all channels and the icons for pickers.
2586+
// a little padding between the notebook with all channels and the icons for pickers.
25872587
gtk_box_pack_start(GTK_BOX(header), gtk_label_new(""),
25882588
FALSE, FALSE, DT_PIXEL_APPLY_DPI(10));
25892589

Diff for: src/develop/pixelpipe_cache.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ void dt_dev_pixelpipe_cache_checkmem(struct dt_dev_pixelpipe_t *pipe)
441441
// alternating buffers so no cleanup
442442
if(cache->entries == DT_PIPECACHE_MIN) return;
443443

444-
// We always free cachelines maked as not valid
444+
// We always free cachelines marked as not valid
445445
size_t freed = 0;
446446

447447
for(int k = DT_PIPECACHE_MIN; k < cache->entries; k++)

Diff for: src/dtgtk/culling.c

+8-8
Original file line numberDiff line numberDiff line change
@@ -1394,14 +1394,14 @@ static gboolean _thumbs_compute_positions(dt_culling_t *table)
13941394
}
13951395

13961396
// Vertical image stacking:
1397-
// Vertical stacking is only allowed if the heigth of the biggest thumbnail is more than the height
1397+
// Vertical stacking is only allowed if the height of the biggest thumbnail is more than the height
13981398
// of 2 or more thumbs combined.
13991399
// for example: we have three images and image 2 is higher than heights of image 1 and 3 combined
14001400
// [ 1 ] | 2 | | 2 |
14011401
// [ 3 ] | 2 | instead of this placement --> [ 1 ] | 2 | [ 3 ]
14021402
// | 2 | | 2 |
14031403
// in this case, images 1 and 3 would be stacked in one slot and image 2 will be placed in a new slot alone.
1404-
// if all images have similar heigths, they will not be stacked and placed in separate slots.
1404+
// if all images have similar heights, they will not be stacked and placed in separate slots.
14051405

14061406
// Note: Stacking only make sense for images in the same row as the portrait image.
14071407
// The algorithm does not check for this so unnecessary stacking can occur.
@@ -1457,8 +1457,8 @@ static gboolean _thumbs_compute_positions(dt_culling_t *table)
14571457
const int number_of_slots = g_list_length(slots);
14581458

14591459
// finished assigning thumbnails to slots
1460-
// we also know max slot height, so we can now scale all slots to this heigth
1461-
// and then calculate average slot heigth and width
1460+
// we also know max slot height, so we can now scale all slots to this height
1461+
// and then calculate average slot height and width
14621462
int slot_counter = 0;
14631463
float avg_slot_aspect_r = 0.0f;
14641464
int total_slot_width = 0;
@@ -1475,7 +1475,7 @@ static gboolean _thumbs_compute_positions(dt_culling_t *table)
14751475
int scaled_slot_height = 0;
14761476
int scaled_slot_width = 0;
14771477

1478-
// calculate current slot heigth for upscaling
1478+
// calculate current slot height for upscaling
14791479
for(GList *slot_thumb_iter = slot;
14801480
slot_thumb_iter;
14811481
slot_thumb_iter = g_list_next(slot_thumb_iter))
@@ -1631,7 +1631,7 @@ static gboolean _thumbs_compute_positions(dt_culling_t *table)
16311631
dt_thumbnail_t *thumb = (dt_thumbnail_t *)slot_thumb_iter->data;
16321632
thumb->x = thumb_x + (slot_max_thumb_width - thumb->width) / 2; // x position should be horizontally centered within the slot
16331633
thumb->y = thumb_y; // y position starts at 0
1634-
thumb_y += thumb->height + spacing; // and is increased by the heigth of the thumb + spacing of spacing for placing the next image of the slot
1634+
thumb_y += thumb->height + spacing; // and is increased by the height of the thumb + spacing of spacing for placing the next image of the slot
16351635
}
16361636
rows->data = g_list_append(rows->data, slot); // append slot to row
16371637
row_heigth = MAX(row_heigth, thumb_y - row_y);
@@ -1669,7 +1669,7 @@ static gboolean _thumbs_compute_positions(dt_culling_t *table)
16691669
int slot_heigth = 0;
16701670

16711671
// loop through thumbs of the slot
1672-
// to calculate slot heigth and update row width and heigth
1672+
// to calculate slot height and update row width and height
16731673
// which is used for xoffset of row and yoffset of individual thumbs
16741674
for(GList *slot_thumb_iter = slot;
16751675
slot_thumb_iter;
@@ -1734,7 +1734,7 @@ static gboolean _thumbs_compute_positions(dt_culling_t *table)
17341734
thumb->y = thumb->y * factor + yoff;
17351735

17361736
dt_print(DT_DEBUG_LIGHTTABLE,
1737-
"[culling_placement] thumb_id=%d, x=%d, y=%d, width=%d, heigth=%d"
1737+
"[culling_placement] thumb_id=%d, x=%d, y=%d, width=%d, height=%d"
17381738
" - table_width=%d, table_height=%d\n",
17391739
thumb->imgid, thumb->x, thumb->y, thumb->width, thumb->height,
17401740
table->view_width, table->view_height);

Diff for: src/dtgtk/thumbtable.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1934,7 +1934,7 @@ static void _dt_collection_changed_callback(gpointer instance,
19341934
GList *actual = NULL;
19351935
if(nrow <= 0)
19361936
{
1937-
// we retrive the entry with id == newid
1937+
// we retrieve the entry with id == newid
19381938
for(GList *l = table->list; l; l = g_list_next(l))
19391939
{
19401940
dt_thumbnail_t *thumb = (dt_thumbnail_t *)l->data;

Diff for: src/iop/channelmixerrgb.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ void init_presets(dt_iop_module_so_t *self)
469469

470470
// film emulations
471471

472-
/* These emulations are built using spectral sensitivies provided by
473-
* film manufacturers for tungsten light, corrected in spectral
472+
/* These emulations are built using spectral sensitivities provided
473+
* by film manufacturers for tungsten light, corrected in spectral
474474
* domain for D50 illuminant, and integrated in spectral space
475475
* against CIE 2° 1931 XYZ color matching functions in the Python lib
476476
* Colour, with the following code :

Diff for: src/iop/graduatednd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ int mouse_moved(dt_iop_module_t *self,
620620
{
621621
g->selected = 0;
622622
const float ext = DT_PIXEL_APPLY_DPI(0.02f) / zoom_scale;
623-
// are we near extermity ?
623+
// are we near extremity ?
624624
if(pzy > g->ya - ext && pzy < g->ya + ext && pzx > g->xa - ext && pzx < g->xa + ext)
625625
{
626626
g->selected = 1;

Diff for: src/iop/liquify.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ static void _draw_paths(dt_iop_module_t *module,
18071807
cairo_set_line_cap(cr, CAIRO_LINE_CAP_ROUND);
18081808

18091809
const gboolean showhandle = dt_iop_canvas_not_sensitive(darktable.develop) == FALSE;
1810-
// do not display any iterpolated items as slow when:
1810+
// do not display any interpolated items as slow when:
18111811
// - we are dragging (pan)
18121812
// - the button one is pressed
18131813
// - exception for DT_LIQUIFY_LAYER_STRENGTHPOINT where we want to see the

Diff for: src/iop/rawprepare.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ static gboolean _image_set_rawcrops(
632632
else
633633
dt_iop_set_module_trouble_message(self, NULL, NULL, NULL);
634634

635-
// we update p_width & height both in the image_storage for fast access withing the pipeline
635+
// we update p_width & height both in the image_storage for fast access within the pipeline
636636
// and the database so we can access that also via dt_image_cache_get()
637637
dt_image_t *image = dt_image_cache_get(darktable.image_cache, imgid, 'w');
638638
image->p_width = img->p_width = img->width - (cropvalid ? left + right : 0);

Diff for: src/iop/temperature.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ static void _temp2mul(dt_iop_module_t *self,
465465
xyz.Y /= tint; // TODO: This is baaad!
466466
/**
467467
* TODO:
468-
* problem here is that tint as it is is just a nasty hack modyfying Y component
468+
* problem here is that tint as it is is just a nasty hack modifying Y component
469469
* and therefore changing RGB coefficients in wrong way,
470470
* because modifying only Y in that way doesn’t move XYZ point orthogonally
471471
* to planckian locus. That means it actually changes temperature and thus it lies!

Diff for: src/win/scandir.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
The original implementation of scandir has been made by Richard Salz.
2323
The original author put this code in the public domain.
2424
25-
It has been modified to simplify slightly and increae readability.
25+
It has been modified to simplify slightly and increase readability.
2626
*/
2727

2828
#include <sys/types.h>

Diff for: src/win/scandir.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
The original implementation of scandir has been made by Richard Salz.
2323
The original author put this code in the public domain.
2424
25-
It has been modified to simplify slightly and increae readability.
25+
It has been modified to simplify slightly and increase readability.
2626
*/
2727

2828
#pragma once

0 commit comments

Comments
 (0)