![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "control/jobs/control_jobs.h"
#include "common/collection.h"
#include "common/darktable.h"
#include "common/debug.h"
#include "common/exif.h"
#include "common/film.h"
#include "common/gpx.h"
#include "common/history.h"
#include "common/image.h"
#include "common/image_cache.h"
#include "common/imageio.h"
#include "common/imageio_dng.h"
#include "common/imageio_module.h"
#include "common/mipmap_cache.h"
#include "common/tags.h"
#include "common/undo.h"
#include "common/grouping.h"
#include "common/utility.h"
#include "common/datetime.h"
#include "control/conf.h"
#include "develop/imageop_math.h"
#include "develop/develop.h"
#include "common/selection.h"
#include "gui/gtk.h"
#include <gio/gio.h>
#include <glib.h>
#include <glib/gstdio.h>
#include <glob.h>
Data Structures | |
struct | dt_control_datetime_t |
struct | dt_control_gpx_apply_t |
struct | dt_control_export_t |
struct | dt_control_merge_hdr_t |
struct | dt_control_merge_hdr_format_t |
struct | _dt_delete_modal_dialog_t |
Macros | |
#define | INIT_UPDATE_INTERVAL 2 |
#define | MAX_UPDATE_INTERVAL 3.0 |
#define | PROGRESS_UPDATE_INTERVAL 1 |
Typedefs | |
typedef struct dt_control_datetime_t | dt_control_datetime_t |
typedef struct dt_control_gpx_apply_t | dt_control_gpx_apply_t |
typedef struct dt_control_export_t | dt_control_export_t |
typedef struct dt_control_merge_hdr_t | dt_control_merge_hdr_t |
typedef struct dt_control_merge_hdr_format_t | dt_control_merge_hdr_format_t |
typedef struct _dt_delete_modal_dialog_t | _dt_delete_modal_dialog_t |
Enumerations | |
enum | progress_type_t { PROGRESS_NONE , PROGRESS_SIMPLE , PROGRESS_CANCELLABLE } |
enum | _dt_delete_status { _DT_DELETE_STATUS_UNKNOWN = 0 , _DT_DELETE_STATUS_OK_TO_REMOVE = 1 , _DT_DELETE_STATUS_SKIP_FILE = 2 , _DT_DELETE_STATUS_STOP_PROCESSING = 3 } |
enum | _dt_delete_dialog_choice { _DT_DELETE_DIALOG_CHOICE_DELETE = 1 , _DT_DELETE_DIALOG_CHOICE_DELETE_ALL = 2 , _DT_DELETE_DIALOG_CHOICE_REMOVE = 3 , _DT_DELETE_DIALOG_CHOICE_CONTINUE = 4 , _DT_DELETE_DIALOG_CHOICE_STOP = 5 } |
#define INIT_UPDATE_INTERVAL 2 |
#define MAX_UPDATE_INTERVAL 3.0 |
#define PROGRESS_UPDATE_INTERVAL 1 |
typedef struct _dt_delete_modal_dialog_t _dt_delete_modal_dialog_t |
typedef struct dt_control_datetime_t dt_control_datetime_t |
typedef struct dt_control_export_t dt_control_export_t |
typedef struct dt_control_gpx_apply_t dt_control_gpx_apply_t |
typedef struct dt_control_merge_hdr_format_t dt_control_merge_hdr_format_t |
typedef struct dt_control_merge_hdr_t dt_control_merge_hdr_t |
enum _dt_delete_status |
enum progress_type_t |
|
static |
References darktable, dt_datetime_exif_to_gdatetime(), DT_DATETIME_LENGTH, and darktable_t::utc_tz.
Referenced by dt_control_datetime_job_run().
|
static |
References dt_act_on_get_images(), dt_control_gpx_apply_alloc(), dt_control_gpx_apply_job_cleanup(), dt_control_gpx_apply_job_run(), dt_control_image_enumerator_job_film_init(), dt_control_job_create(), dt_control_job_dispose(), dt_control_job_set_params(), dt_control_gpx_apply_t::filename, and dt_control_gpx_apply_t::tz.
Referenced by dt_control_gpx_apply().
|
static |
References _DT_DELETE_DIALOG_CHOICE_CONTINUE, _DT_DELETE_DIALOG_CHOICE_DELETE, _DT_DELETE_DIALOG_CHOICE_DELETE_ALL, _DT_DELETE_DIALOG_CHOICE_REMOVE, _DT_DELETE_DIALOG_CHOICE_STOP, _dt_delete_modal_dialog_t::cond, darktable, _dt_delete_modal_dialog_t::dialog_result, dt_osx_disallow_fullscreen(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_ui_main_window(), _dt_delete_modal_dialog_t::error_message, FALSE, _dt_delete_modal_dialog_t::filename, darktable_t::gui, _dt_delete_modal_dialog_t::mutex, _dt_delete_modal_dialog_t::send_to_trash, and dt_gui_gtk_t::ui.
Referenced by _dt_delete_file_display_modal_dialog().
|
static |
References _dt_delete_dialog_main_thread(), _dt_delete_modal_dialog_t::cond, _dt_delete_modal_dialog_t::dialog_result, dt_pthread_cond_wait(), dt_pthread_mutex_destroy(), dt_pthread_mutex_init(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), _dt_delete_modal_dialog_t::error_message, _dt_delete_modal_dialog_t::filename, _dt_delete_modal_dialog_t::mutex, and _dt_delete_modal_dialog_t::send_to_trash.
Referenced by delete_file_from_disk().
|
static |
References darktable_t::collection, darktable, dt_film_t::dirname, DT_COLLECTION_CHANGE_RELOAD, dt_collection_deserialize(), DT_COLLECTION_PROP_UNDEF, dt_collection_update_query(), dt_control_job_get_params(), dt_control_job_get_state(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_log(), dt_control_queue_redraw_center(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_film_new(), dt_film_remove_empty(), DT_JOB_STATE_CANCELLED, DT_SIGNAL_FILMROLLS_CHANGED, darktable_t::signals, and TRUE.
Referenced by dt_control_copy_images_job_run(), and dt_control_move_images_job_run().
|
static |
References darktable, darktable_t::db, dt_database_get(), DT_DEBUG_SQLITE3_BIND_TEXT, and DT_DEBUG_SQLITE3_PREPARE_V2.
Referenced by dt_control_delete_images_job_run(), and dt_control_remove_images_job_run().
|
static |
References FALSE, size, and TRUE.
Referenced by dt_control_delete_images_job_run(), and dt_control_remove_images_job_run().
|
static |
|
static |
References _DT_DELETE_DIALOG_CHOICE_CONTINUE, _DT_DELETE_DIALOG_CHOICE_DELETE, _DT_DELETE_DIALOG_CHOICE_DELETE_ALL, _DT_DELETE_DIALOG_CHOICE_REMOVE, _dt_delete_file_display_modal_dialog(), _DT_DELETE_STATUS_OK_TO_REMOVE, _DT_DELETE_STATUS_SKIP_FILE, _DT_DELETE_STATUS_STOP_PROCESSING, _DT_DELETE_STATUS_UNKNOWN, dt_conf_get_bool(), dt_osx_file_trash(), dt_win_file_trash(), FALSE, and TRUE.
Referenced by dt_control_delete_images_job_run().
void dt_control_copy_images | ( | ) |
References darktable_t::control, darktable, dt_conf_get_bool(), dt_conf_get_folder_to_file_chooser(), dt_conf_set_folder_from_file_chooser(), dt_control_add_job(), dt_control_copy_images_job_run(), dt_control_generic_images_job_create(), dt_control_job_dispose(), dt_control_job_get_params(), DT_JOB_QUEUE_USER_FG, dt_osx_disallow_fullscreen(), dt_ui_main_window(), FALSE, darktable_t::gui, dt_control_image_enumerator_t::index, PROGRESS_CANCELLABLE, and dt_gui_gtk_t::ui.
Referenced by append_file().
|
static |
References _generic_dt_control_fileop_images_job_run(), and dt_image_copy().
Referenced by dt_control_copy_images().
void dt_control_datetime | ( | const GTimeSpan | offset, |
const char * | datetime, | ||
GList * | imgs | ||
) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_datetime_job_create(), and DT_JOB_QUEUE_USER_FG.
Referenced by _apply_datetime_callback(), and _apply_offset_callback().
|
static |
References dt_control_image_enumerator_alloc(), and dt_control_image_enumerator_cleanup().
Referenced by dt_control_datetime_job_create().
References dt_control_image_enumerator_cleanup().
Referenced by dt_control_datetime_job_create().
|
static |
References dt_control_datetime_t::datetime, dt_act_on_get_images(), dt_control_datetime_alloc(), dt_control_datetime_job_cleanup(), dt_control_datetime_job_run(), dt_control_job_add_progress(), dt_control_job_create(), dt_control_job_dispose(), dt_control_job_set_params(), FALSE, and dt_control_datetime_t::offset.
Referenced by dt_control_datetime().
|
static |
References _add_datetime_offset(), darktable, dt_control_job_get_params(), dt_control_job_set_progress_message(), dt_control_log(), DT_DATETIME_LENGTH, DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_grouping_add_grouped_images(), dt_grouping_get_group_images(), dt_image_get_datetime(), dt_image_set_datetime(), dt_image_set_datetimes(), DT_SIGNAL_IMAGE_INFO_CHANGED, FALSE, darktable_t::signals, and TRUE.
Referenced by dt_control_datetime_job_create().
void dt_control_delete_image | ( | int32_t | imgid | ) |
References darktable_t::control, darktable, dt_conf_get_bool(), dt_control_add_job(), dt_control_delete_images_job_run(), dt_control_generic_image_job_create(), dt_control_job_dispose(), DT_JOB_QUEUE_USER_FG, dt_osx_disallow_fullscreen(), dt_ui_main_window(), darktable_t::gui, PROGRESS_SIMPLE, and dt_gui_gtk_t::ui.
Referenced by _lib_duplicate_delete().
void dt_control_delete_images | ( | ) |
References darktable_t::control, darktable, dt_conf_get_bool(), dt_control_add_job(), dt_control_delete_images_job_run(), dt_control_generic_images_job_create(), dt_control_job_dispose(), dt_control_job_get_params(), DT_JOB_QUEUE_USER_FG, dt_osx_disallow_fullscreen(), dt_ui_main_window(), FALSE, darktable_t::gui, dt_control_image_enumerator_t::index, PROGRESS_SIMPLE, and dt_gui_gtk_t::ui.
Referenced by append_file().
|
static |
References _DT_DELETE_STATUS_OK_TO_REMOVE, _DT_DELETE_STATUS_STOP_PROCESSING, _DT_DELETE_STATUS_UNKNOWN, _get_full_pathname(), _get_image_list(), _set_remove_flag(), darktable_t::collection, darktable, darktable_t::db, delete_file_from_disk(), DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update(), dt_collection_update_query(), dt_conf_get_bool(), dt_control_job_get_params(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_queue_redraw_center(), dt_database_get(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_PREPARE_V2, dt_film_remove_empty(), dt_image_find_xmps(), dt_image_full_path(), dt_image_local_copy_reset(), dt_image_path_append_version(), dt_image_remove(), dt_image_synch_all_xmp(), DT_SIGNAL_FILMROLLS_CHANGED, FALSE, PATH_MAX, and darktable_t::signals.
Referenced by dt_control_delete_image(), and dt_control_delete_images().
void dt_control_duplicate_images | ( | gboolean | virgin | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_duplicate_images_job_run(), dt_control_generic_images_job_create(), DT_JOB_QUEUE_USER_FG, PROGRESS_SIMPLE, and TRUE.
Referenced by duplicate_callback(), and new_history_callback().
|
static |
References darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update_query(), dt_control_job_get_params(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_queue_redraw_center(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_history_copy_and_paste_on_image(), dt_history_delete_on_image(), dt_image_cache_set_change_timestamp_from_image(), dt_image_duplicate(), DT_SIGNAL_FILMROLLS_CHANGED, DT_UNDO_DUPLICATE, dt_undo_end_group(), dt_undo_start_group(), darktable_t::image_cache, darktable_t::signals, TRUE, darktable_t::undo, and UNKNOWN_IMAGE.
Referenced by dt_control_duplicate_images().
void dt_control_export | ( | GList * | imgid_list, |
int | max_width, | ||
int | max_height, | ||
int | format_index, | ||
int | storage_index, | ||
gboolean | high_quality, | ||
gboolean | export_masks, | ||
char * | style, | ||
dt_colorspaces_color_profile_type_t | icc_type, | ||
const gchar * | icc_filename, | ||
dt_iop_color_intent_t | icc_intent, | ||
const gchar * | metadata_export | ||
) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_export_alloc(), dt_control_export_cleanup(), dt_control_export_job_run(), dt_control_job_add_progress(), dt_control_job_create(), dt_control_job_dispose(), dt_control_job_set_params(), dt_control_log(), dt_imageio_get_storage_by_index(), DT_JOB_QUEUE_USER_EXPORT, dt_control_export_t::export_masks, dt_control_export_t::format_index, dt_control_export_t::icc_filename, dt_control_export_t::icc_intent, dt_control_export_t::icc_type, dt_control_export_t::max_height, dt_control_export_t::max_width, dt_control_export_t::metadata_export, dt_control_export_t::sdata, dt_control_export_t::storage_index, dt_control_export_t::style, and TRUE.
Referenced by _export_button_clicked().
|
static |
References dt_control_image_enumerator_alloc(), and dt_control_image_enumerator_cleanup().
Referenced by dt_control_export().
|
static |
References darktable, dt_control_job_cancel(), dt_control_job_get_params(), dt_control_job_get_state(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_log(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_image_cache_get(), dt_image_cache_read_release(), dt_image_cache_set_export_timestamp(), dt_image_full_path(), dt_imageio_get_format_by_index(), dt_imageio_get_storage_by_index(), DT_JOB_STATE_CANCELLED, DT_SIGNAL_TAG_CHANGED, dt_tag_attach(), dt_tag_detach(), dt_tag_new(), dt_ui_notify_user(), dt_util_str_to_glist(), dt_control_export_t::export_masks, FALSE, dt_image_t::filename, dt_export_metadata_t::flags, dt_control_export_t::format_index, dt_control_export_t::icc_filename, dt_control_export_t::icc_intent, dt_control_export_t::icc_type, dt_image_t::id, darktable_t::image_cache, dt_export_metadata_t::list, MAX, dt_imageio_module_data_t::max_height, dt_control_export_t::max_height, dt_imageio_module_data_t::max_width, dt_control_export_t::max_width, dt_control_export_t::metadata_export, MIN, PATH_MAX, dt_control_export_t::sdata, darktable_t::signals, dt_control_export_t::storage_index, dt_imageio_module_data_t::style, dt_control_export_t::style, and TRUE.
Referenced by dt_control_export().
void dt_control_flip_images | ( | const int32_t | cw | ) |
|
static |
|
static |
|
static |
References dt_act_on_get_images(), dt_control_image_enumerator_alloc(), dt_control_image_enumerator_cleanup(), dt_control_job_add_progress(), dt_control_job_create(), dt_control_job_dispose(), dt_control_job_set_params(), flag, PROGRESS_CANCELLABLE, and PROGRESS_NONE.
Referenced by dt_control_copy_images(), dt_control_delete_images(), dt_control_duplicate_images(), dt_control_flip_images(), dt_control_merge_hdr(), dt_control_monochrome_images(), dt_control_move_images(), dt_control_refresh_exif(), dt_control_remove_images(), dt_control_reset_local_copy_images(), dt_control_save_xmp(), dt_control_set_local_copy_images(), and dt_control_write_sidecar_files().
void dt_control_gpx_apply | ( | const gchar * | filename, |
int32_t | filmid, | ||
const gchar * | tz, | ||
GList * | imgs | ||
) |
References _control_gpx_apply_job_create(), darktable_t::control, darktable, dt_control_add_job(), and DT_JOB_QUEUE_USER_FG.
Referenced by _apply_filmroll_gpx(), and _choose_gpx_callback().
|
static |
References dt_control_image_enumerator_alloc(), and dt_control_image_enumerator_cleanup().
Referenced by _control_gpx_apply_job_create().
References dt_control_image_enumerator_cleanup(), dt_control_gpx_apply_t::filename, and dt_control_gpx_apply_t::tz.
Referenced by _control_gpx_apply_job_create().
|
static |
References darktable, dt_control_job_get_params(), dt_control_log(), dt_datetime_img_to_gdatetime(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_gpx_destroy(), dt_gpx_get_location(), dt_gpx_new(), dt_grouping_get_group_images(), dt_image_cache_get(), dt_image_cache_read_release(), dt_image_set_images_locations(), DT_SIGNAL_GEOTAG_CHANGED, FALSE, dt_control_gpx_apply_t::filename, darktable_t::image_cache, darktable_t::signals, TRUE, dt_control_gpx_apply_t::tz, and darktable_t::utc_tz.
Referenced by _control_gpx_apply_job_create().
void * dt_control_image_enumerator_alloc | ( | ) |
Referenced by _control_import_job_cleanup(), _discarded_files_popup(), dt_control_datetime_alloc(), dt_control_datetime_job_cleanup(), dt_control_export_alloc(), dt_control_export_cleanup(), dt_control_generic_image_job_create(), dt_control_generic_images_job_create(), dt_control_gpx_apply_alloc(), and dt_control_gpx_apply_job_cleanup().
|
static |
References darktable, darktable_t::db, dt_database_get(), DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_PREPARE_V2, and dt_control_image_enumerator_t::index.
Referenced by _control_gpx_apply_job_create().
|
static |
References darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_LOCAL_COPY, dt_collection_update_query(), dt_control_job_get_params(), dt_control_job_get_state(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_log(), dt_control_queue_redraw_center(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_image_local_copy_reset(), dt_image_local_copy_set(), DT_JOB_STATE_CANCELLED, DT_SIGNAL_FILMROLLS_CHANGED, DT_SIGNAL_TAG_CHANGED, dt_tag_attach(), dt_tag_detach(), dt_tag_new(), FALSE, darktable_t::signals, and TRUE.
Referenced by dt_control_reset_local_copy_images(), and dt_control_set_local_copy_images().
void dt_control_merge_hdr | ( | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_merge_hdr_job_run(), DT_JOB_QUEUE_USER_FG, PROGRESS_CANCELLABLE, and TRUE.
Referenced by append_file().
|
static |
Referenced by dt_control_merge_hdr_job_run().
|
static |
References dt_control_merge_hdr_t::abort, dt_control_merge_hdr_t::adobe_XYZ_to_CAM, darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update_query(), DT_COLORSPACE_NONE, dt_conf_is_equal(), dt_control_job_get_params(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_log(), dt_control_merge_hdr_bpp(), dt_control_merge_hdr_levels(), dt_control_merge_hdr_mime(), dt_control_merge_hdr_process(), dt_control_queue_redraw_center(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_exif_read_blob(), dt_film_new(), dt_image_full_path(), dt_image_import(), dt_imageio_export_with_flags(), dt_imageio_write_dng(), DT_INTENT_LAST, DT_SIGNAL_FILMROLLS_CHANGED, dt_control_merge_hdr_t::epsw, FALSE, dt_control_merge_hdr_t::first_filter, dt_control_merge_hdr_t::first_imgid, dt_control_merge_hdr_t::first_xtrans, dt_control_merge_hdr_t::ht, dt_control_merge_hdr_format_t::parent, PATH_MAX, dt_control_merge_hdr_t::pixels, safe_strlen(), darktable_t::signals, TRUE, dt_control_merge_hdr_t::wb_coeffs, dt_control_merge_hdr_t::wd, dt_control_merge_hdr_t::weight, and dt_control_merge_hdr_t::whitelevel.
Referenced by dt_control_merge_hdr().
|
static |
References IMAGEIO_FLOAT, and IMAGEIO_RGB.
Referenced by dt_control_merge_hdr_job_run().
|
static |
Referenced by dt_control_merge_hdr_job_run().
|
static |
References dt_control_merge_hdr_t::abort, dt_image_t::adobe_XYZ_to_CAM, dt_control_merge_hdr_t::adobe_XYZ_to_CAM, dt_image_t::buf_dsc, dt_iop_buffer_dsc_t::channels, dt_image_t::crop_x, dt_image_t::crop_y, dt_control_merge_hdr_format_t::d, darktable, dt_iop_buffer_dsc_t::datatype, dt_control_log(), dt_image_cache_get(), dt_image_cache_read_release(), envelope(), dt_control_merge_hdr_t::epsw, dt_image_t::exif_aperture, dt_image_t::exif_exposure, dt_image_t::exif_focal_length, dt_image_t::exif_iso, FCxtrans(), dt_iop_buffer_dsc_t::filters, dt_control_merge_hdr_t::first_filter, dt_control_merge_hdr_t::first_imgid, dt_control_merge_hdr_t::first_xtrans, dt_imageio_module_data_t::height, dt_control_merge_hdr_t::ht, darktable_t::image_cache, m, M_PI, MAX, MIN, dt_image_t::orientation, dt_control_merge_hdr_t::orientation, dt_control_merge_hdr_t::pixels, TRUE, TYPE_UINT16, dt_image_t::wb_coeffs, dt_control_merge_hdr_t::wb_coeffs, dt_control_merge_hdr_t::wd, weight(), dt_control_merge_hdr_t::weight, dt_control_merge_hdr_t::whitelevel, dt_imageio_module_data_t::width, dt_iop_roi_t::x, dt_iop_buffer_dsc_t::xtrans, and dt_iop_roi_t::y.
Referenced by dt_control_merge_hdr_job_run().
void dt_control_monochrome_images | ( | const int32_t | mode | ) |
|
static |
References darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update_query(), dt_control_job_get_params(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_queue_redraw_center(), dt_image_set_monochrome_flag(), dt_undo_end_group(), DT_UNDO_FLAGS, dt_undo_start_group(), and darktable_t::undo.
Referenced by dt_control_monochrome_images().
void dt_control_move_images | ( | ) |
References darktable_t::control, darktable, dt_conf_get_bool(), dt_conf_get_folder_to_file_chooser(), dt_conf_set_folder_from_file_chooser(), dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_job_dispose(), dt_control_job_get_params(), dt_control_move_images_job_run(), DT_JOB_QUEUE_USER_FG, dt_osx_disallow_fullscreen(), dt_ui_main_window(), FALSE, darktable_t::gui, dt_control_image_enumerator_t::index, PROGRESS_CANCELLABLE, and dt_gui_gtk_t::ui.
Referenced by append_file().
|
static |
References _generic_dt_control_fileop_images_job_run(), and dt_image_move().
Referenced by dt_control_move_images().
void dt_control_refresh_exif | ( | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_refresh_exif_run(), DT_JOB_QUEUE_USER_FG, FALSE, and PROGRESS_CANCELLABLE.
Referenced by append_image().
|
static |
References darktable_t::collection, darktable, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update_query(), dt_control_job_get_params(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_queue_redraw_center(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_exif_read(), dt_image_cache_get(), DT_IMAGE_CACHE_SAFE, dt_image_cache_write_release(), dt_image_full_path(), DT_SIGNAL_DEVELOP_IMAGE_CHANGED, DT_SIGNAL_IMAGE_INFO_CHANGED, DT_SIGNAL_TAG_CHANGED, dt_image_t::flags, flags, darktable_t::image_cache, PATH_MAX, darktable_t::signals, and TRUE.
Referenced by dt_control_refresh_exif().
gboolean dt_control_remove_images | ( | ) |
References darktable_t::control, darktable, dt_conf_get_bool(), dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_job_dispose(), dt_control_job_get_params(), dt_control_remove_images_job_run(), DT_JOB_QUEUE_USER_FG, dt_osx_disallow_fullscreen(), dt_ui_main_window(), FALSE, darktable_t::gui, dt_control_image_enumerator_t::index, PROGRESS_SIMPLE, TRUE, and dt_gui_gtk_t::ui.
Referenced by append_file(), and view_popup_menu_onRemove().
|
static |
References _get_full_pathname(), _get_image_list(), _set_remove_flag(), darktable_t::collection, darktable, darktable_t::db, DT_COLLECTION_CHANGE_RELOAD, DT_COLLECTION_PROP_UNDEF, dt_collection_update(), dt_collection_update_query(), dt_control_job_get_params(), dt_control_job_set_progress(), dt_control_job_set_progress_message(), dt_control_log(), dt_control_queue_redraw_center(), dt_database_get(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_BIND_TEXT, DT_DEBUG_SQLITE3_PREPARE_V2, dt_film_remove_empty(), DT_IMAGE_LOCAL_COPY, dt_image_remove(), dt_image_safe_remove(), dt_image_synch_all_xmp(), DT_SIGNAL_FILMROLLS_CHANGED, FALSE, darktable_t::signals, and TRUE.
Referenced by dt_control_remove_images().
void dt_control_reset_local_copy_images | ( | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_local_copy_images_job_run(), DT_JOB_QUEUE_USER_FG, FALSE, and PROGRESS_CANCELLABLE.
Referenced by append_file().
void dt_control_save_xmp | ( | const int32_t | imgid | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_generic_images_job_create(), dt_dev_save_xmp_job_run(), DT_JOB_QUEUE_USER_FG, FALSE, and PROGRESS_SIMPLE.
Referenced by _image_import_internal(), _lib_duplicate_caption_out_callback(), dt_dev_history_auto_save(), dt_history_compress_on_list(), dt_history_copy_and_paste_on_image(), dt_image_copy_rename(), dt_image_local_copy_reset(), dt_image_set_flip(), and dt_styles_apply_to_image().
void dt_control_set_local_copy_images | ( | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_local_copy_images_job_run(), DT_JOB_QUEUE_USER_FG, FALSE, and PROGRESS_CANCELLABLE.
Referenced by append_file().
void dt_control_write_sidecar_files | ( | ) |
References darktable_t::control, darktable, dt_control_add_job(), dt_control_generic_images_job_create(), dt_control_write_sidecar_files_job_run(), DT_JOB_QUEUE_USER_FG, FALSE, and PROGRESS_NONE.
Referenced by append_run().
|
static |
References darktable, darktable_t::db, dt_control_job_get_params(), dt_database_get(), DT_DEBUG_SQLITE3_BIND_INT, DT_DEBUG_SQLITE3_PREPARE_V2, dt_exif_xmp_write(), dt_image_cache_get(), dt_image_cache_read_release(), dt_image_full_path(), dt_image_path_append_version(), FALSE, dt_image_t::id, darktable_t::image_cache, and PATH_MAX.
Referenced by dt_control_write_sidecar_files().
|
static |
References dt_control_job_get_params(), and dt_image_write_sidecar_file().
Referenced by dt_control_save_xmp().
|
static |
References CLAMPS.
Referenced by dt_control_merge_hdr_process().