darktable is an open source photography workflow application and raw developer
941 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/macosx/3_make_hb_darktable_package.sh | 1 | #!/bin/bash |
| LOW | tools/memory_leaks.py | 1 | # |
| LOW | tools/rawspeed-diff-cameras-xml.rb | 1 | #!/usr/bin/env ruby |
| LOW | tools/create_control_svg.sh | 1 | #!/bin/bash |
| LOW | tools/purge_from_cache.sh | 1 | #!/bin/bash |
| LOW | tools/dngmeta.rb | 1 | #!/usr/bin/env ruby |
| LOW | tools/rawspeed-check-canon.rb | 1 | #!/usr/bin/env ruby |
| LOW | tools/rawspeed-check-canon.rb | 61 | |
| LOW | tools/appimage-build-script.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/appimage-build-script.sh | 21 | mkdir {build,AppDir} |
| LOW | tools/appimage-build-script.sh | 41 | # AppImage, for the nightly builds we did this in the GitHub Action. |
| LOW | tools/generate_styles_string.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/rawspeed-check-nikon-modes.rb | 1 | #!/usr/bin/env ruby |
| LOW | tools/tiling.py | 1 | # |
| LOW | tools/watch_folder.sh | 1 | #!/bin/bash |
| LOW | tools/dngmeta.sh | 1 | #!/bin/bash |
| LOW | tools/authors_h.sh | 1 | #!/bin/bash |
| LOW | tools/authors_h.sh | 81 | # kate: tab-width: 2; replace-tabs on; indent-width 2; tab-indents: off; |
| LOW | tools/basecurve/darktable-curve-tool.c | 21 | #include <stdint.h> |
| LOW | tools/release/devel-stats.sh | 1 | #!/bin/bash |
| LOW | tools/release/generate-translation.sh | 1 | #!/bin/bash |
| LOW | tools/release/generate-authors.sh | 1 | #!/bin/bash |
| LOW | tools/introspection/scanner.pm | 1 | # This file is part of darktable, |
| LOW | tools/introspection/code_gen.pm | 1 | # This file is part of darktable, |
| LOW | tools/introspection/parser.pl | 1 | #!/usr/bin/perl |
| LOW | tools/introspection/parser.pm | 1 | # This file is part of darktable, |
| LOW | tools/introspection/ast.pm | 1 | # This file is part of darktable, |
| LOW | tools/introspection/ast.pm | 1141 | # modelines: These editor modelines have been set for all relevant files by tools/update_modelines.sh |
| LOW | tools/ai/install-ort-amd-build.sh | 1 | #!/bin/bash |
| LOW | tools/noise/graph2.sh | 21 | # only canon mark 2+3 |
| LOW | .ci/ci-script.sh | 1 | #!/bin/bash |
| LOW | dev-doc/README.md | 41 | |
| LOW | data/kernels/common.h | 41 | #ifndef M_PI_2f |
| LOW | data/kernels/common.h | 61 | |
| LOW | data/kernels/common.h | 81 | #pragma OPENCL FP_CONTRACT ON |
| LOW | data/style/lightbox.css | 1 | #lightbox{ position: absolute; left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;} |
| LOW | data/style/lightbox.css | 21 | #imageData{ padding:0 10px; color: #666; } |
| LOW | data/styles/CMakeLists.txt | 1 | # |
| LOW | data/themes/darktable.css | 1921 | #thumb-main (GtkOverlay -- thumbnail widget) |
| LOW | src/is_supported_platform.h | 21 | // WARNING: do not #include anything in here! |
| LOW | src/is_supported_platform.h | 41 | #else |
| LOW | src/is_supported_platform.h | 61 | #if !DT_SUPPORTED_X86 && !DT_SUPPORTED_ARMv8A && !DT_SUPPORTED_PPC64 && !DT_SUPPORTED_RISCV64 && !DT_SUPPORTED_LOONGARCH |
| LOW | src/is_supported_platform.h | 81 | // modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py |
| LOW | src/main.c | 21 | #include "develop/develop.h" |
| LOW | src/main.c | 181 | // vim: shiftwidth=2 expandtab tabstop=2 cindent |
| LOW | src/config.cmake.h | 21 | |
| LOW | src/config.cmake.h | 41 | #define __GNUC_PREREQ(maj, min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) |
| LOW | src/config.cmake.h | 61 | |
| LOW | src/config.cmake.h | 81 | * OpenCL 1.2 is the version supported by Apple, otherwise we use 3.0 |
| LOW | src/develop/blend.h | 521 | const dt_iop_roi_t *roi_out); |
| LOW | src/develop/pixelpipe_cache.h | 101 | // vim: shiftwidth=2 expandtab tabstop=2 cindent |
| LOW | src/develop/blend_gui.c | 21 | #include "common/debug.h" |
| LOW | src/develop/imageop.c | 21 | #include "common/collection.h" |
| LOW | src/develop/imageop.c | 41 | #include "dtgtk/gradientslider.h" |
| LOW | src/develop/imageop_math.c | 961 | |
| LOW | src/develop/lightroom.c | 21 | #include "common/colorspaces.h" |
| LOW | src/develop/develop.c | 21 | #include <math.h> |
| LOW | src/develop/develop.c | 41 | #include "develop/imageop.h" |
| LOW | src/develop/develop.c | 1841 | // Next section is to recover old edits where all modules with |
| LOW | src/develop/tiling.h | 81 | const int max_bpp); |
| 775 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | build.sh | 12 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 14 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 44 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 46 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 137 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 139 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 194 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 196 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 299 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 301 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 323 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 325 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 338 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 340 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 361 | # --------------------------------------------------------------------------- |
| MEDIUM | build.sh | 363 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/noise/subr.sh | 1 | # -------------------------------------------------------------------- |
| MEDIUM | tools/noise/subr.sh | 3 | # -------------------------------------------------------------------- |
| MEDIUM | tools/noise/subr.sh | 251 | # -------------------------------------------------------------------- |
| MEDIUM | tools/noise/subr.sh | 253 | # -------------------------------------------------------------------- |
| MEDIUM | tools/noise/subr.sh | 508 | # -------------------------------------------------------------------- |
| MEDIUM | tools/noise/subr.sh | 510 | # -------------------------------------------------------------------- |
| MEDIUM | src/gui/welcome.c | 31 | // ── internal types ──────────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 85 | // ── helpers ─────────────────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 118 | // ── logo ────────────────────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 145 | // ── checkbox callback ───────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 154 | // ── dirchooser callbacks ────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 194 | // ── combobox callback ───────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 213 | // ── navigation state ────────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 272 | // ── page widget builder ─────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 472 | // ── public API ──────────────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 686 | // ── static header (logo + app name) – never moves between pages ────────── |
| MEDIUM | src/gui/welcome.c | 698 | // ── stack of pages ──────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 717 | // ── footer ──────────────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 751 | // ── navigation state ────────────────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 786 | // ── content definition & entry point ───────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 792 | // ── Page 0: intro (hardcoded) ───────────────────────────────────────────── |
| MEDIUM | src/gui/welcome.c | 807 | // ── Dynamic conf pages (driven from darktableconfig.xml.in) ────────────── |
| MEDIUM | src/gui/welcome.c | 833 | // ── Last page: outro (hardcoded) ────────────────────────────────────────── |
| MEDIUM | src/external/LibRaw-cmake/CMakeLists.txt | 1 | # =========================================================== |
| MEDIUM | src/external/LibRaw-cmake/CMakeLists.txt | 23 | # ============================================================ |
| MEDIUM | src/external/LibRaw-cmake/CMakeLists.txt | 44 | # ================================================================================================== |
| MEDIUM | src/external/LibRaw-cmake/CMakeLists.txt | 81 | # ================================================================================================== |
| MEDIUM | src/external/LibRaw-cmake/CMakeLists.txt | 100 | # ================================================================================================== |
| MEDIUM | src/control/conf.c | 942 | // ── welcome-screen metadata ─────────────────────────────────────────────────── |
| MEDIUM | src/iop/overlay.c | 366 | // ── Acquire / refresh the scaled overlay buffer ────────────────────────── |
| MEDIUM | src/iop/overlay.c | 393 | // ── Allocate the Cairo output canvas ───────────────────────────────────── |
| MEDIUM | src/iop/overlay.c | 428 | // ── Cairo rendering ─────────────────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/memory_leaks.py | 2 | # This file is part of darktable, |
| MEDIUM | tools/create_control_svg.sh | 3 | # This file is part of darktable, |
| MEDIUM | tools/dtstyle_to_xmp.py | 30 | # Create a new xml structure. |
| MEDIUM | tools/tiling.py | 2 | # This file is part of darktable, |
| MEDIUM | tools/release/devel-stats.sh | 3 | # This file is part of darktable, |
| MEDIUM | tools/release/generate-authors.sh | 3 | # This file is part of darktable, |
| MEDIUM | tools/introspection/scanner.pm | 1 | # This file is part of darktable, |
| MEDIUM | tools/introspection/code_gen.pm | 1 | # This file is part of darktable, |
| MEDIUM | tools/introspection/parser.pl | 2 | # This file is part of darktable, |
| MEDIUM | tools/introspection/parser.pm | 1 | # This file is part of darktable, |
| MEDIUM | tools/introspection/ast.pm | 1 | # This file is part of darktable, |
| MEDIUM | .ci/ci-script.sh | 3 | # This file is part of darktable. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/noise/noiseprofile.c | 298 | // estimate noise by robust statistic (assumes zero mean of HH band): |
| MEDIUM | src/common/camera_control.c | 1225 | // TODO: find a more robust way for this, once we find out how to do it with non-EOS cameras |
| MEDIUM | src/common/ai/restore_raw_bayer.h | 62 | // tile postprocess so tile boundaries stay seamless. |
| MEDIUM | src/views/lighttable.c | 1228 | // we are not using the int value directly so it's robust against |
| MEDIUM | src/views/lighttable.c | 1263 | // we are not using the int value directly so it's robust against |
| MEDIUM | src/views/darkroom.c | 1952 | // we are not using the int value directly so it's robust against changes on lcms' side |
| MEDIUM | src/views/darkroom.c | 1984 | // we are not using the int value directly so it's robust against changes on lcms' side |
| MEDIUM | src/dtgtk/culling.c | 647 | // feels seamless rather than stepped. This must come before the integer- |
| MEDIUM | src/iop/blurs.c | 238 | // so we don't shift pixels. This is meant to allow seamless connection |
| MEDIUM | src/iop/useless.c | 179 | // version. This is robust even if reordered. If only new fields were |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/libs/import.c | 432 | // Step 1: try to check whether the image contains embedded thumbnail |
| LOW | src/libs/import.c | 464 | // Step 2: if we were not able to get a thumbnail at step 1, |
| LOW | src/iop/ashift.c | 811 | // Step 1: flip x and y coordinates (see above) |
| LOW | src/iop/ashift.c | 818 | // Step 2: rotation of image around its center |
| LOW | src/iop/ashift.c | 832 | // Step 3: apply shearing |
| LOW | src/iop/ashift.c | 846 | // Step 4: apply vertical lens shift effect |
| LOW | src/iop/ashift.c | 861 | // Step 5: horizontal compression |
| LOW | src/iop/ashift.c | 874 | // Step 6: flip x and y back again |
| LOW | src/iop/ashift.c | 888 | // Step 7: now we can apply horizontal lens shift with the same matrix format as above |
| LOW | src/iop/ashift.c | 903 | // Step 8: vertical compression |
| LOW | src/iop/ashift.c | 916 | // Step 9: apply aspect ratio scaling |
| LOW | src/iop/ashift.c | 928 | // Step 10: find x/y offsets and apply according correction so that |
| LOW | src/iop/colorharmonizer.c | 641 | // Step 1: compute per-pixel correction maps + cache JCH. |
| LOW | src/iop/colorharmonizer.c | 654 | // Step 2: Gaussian-blur corrections spatially. |
| LOW | src/iop/colorharmonizer.c | 662 | // Step 3: apply smoothed corrections from cached JCH → output. |
| LOW | src/iop/demosaicing/rcd.c | 171 | // Step 0: fill data and make sure data are not negative. |
| LOW | src/iop/demosaicing/rcd.c | 506 | // Step 2: Low pass filter incorporating green, red and blue local samples from the raw data |
| LOW | src/iop/demosaicing/rcd.c | 511 | // Step 3: populate the green channel at blue and red CFA positions |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | src/common/mipmap_cache.c | 972 | // we're write locked here, as requested by the alloc callback. |
| HIGH | src/common/darktable.c | 1454 | // Set directories as requested or default. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/discordrpc.py | 69 | except Exception as e: |
| MEDIUM | tools/discordrpc.py | 70 | print(f"Error connecting to Discord: {e}") |
| LOW | tools/discordrpc.py | 81 | except Exception as e: |
| MEDIUM | tools/discordrpc.py | 82 | print(f"Error closing Discord connection: {e}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/macosx/1_install_hb_dependencies.sh | 13 | # Check if brew exists |
| LOW | tools/dtstyle_to_xmp.py | 12 | # Check if the input file exists. |
| LOW | tools/dtstyle_to_xmp.py | 17 | # Check if the requested output file already exist |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/libs/metadata_view.c | 130 | // list, don't forget to make changes to the SQL query as well. |
| LOW | src/gui/gtk.c | 3675 | // NOTE: When changing the default theme, don't forget to change it here! |
| LOW | src/control/progress.h | 44 | /** cancel the job linked to with dt_control_progress_attach_job(). don't forget to call |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/update_modelines.py | 3 | |
| LOW | tools/derive_filmic_v6_gamut_mapping.py | 5 | |
| LOW | tools/extract_wb.py | 4 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/update_modelines.py | 33 | |
| LOW | tools/discordrpc.py | 36 | |
| LOW | tools/tiling.py | 46 |