summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-02-15Set a real title on the desktop window (as provided to ATK)Jonathan Michalon2-7/+6
Even if we think that the desktop window title is never seen, it is used by the window selector in "all windows" mode and speech synthesis.
2020-02-15Fix build using gcc 10 -fno-common flagrbuj3-13/+29
2020-02-08Copy file and keep timestamps of original file including remotesrbuj1-1/+8
The timestamps are reset to the current time, even if the source & target folders support these GFileInfo attributes. Closes #1226
2020-01-10tx: update resource for transifexraveit651-15/+25
2020-01-10Make device ejection notifications translatableJonathan Michalon2-5/+5
2019-12-23release to 1.22.3v1.22.3raveit652-1/+8
2019-12-23editable-label: Don't hyphenate filenamesraveit651-0/+11
more fixes for https://github.com/mate-desktop/caja/issues/1284 Pango 1.44 got the ability to automatically hyphenate on line breaks, which is on by default, but can be set off by a new attribute. As a result, we now hyphenate filenames, which is confusing, because a filename may already include hyphens. To restore the previous behavior, let's not insert hyphens when breaking filenames in multiple lines. Inspired by https://gitlab.gnome.org/GNOME/nautilus/commit/9738d85
2019-12-19sync with transifexraveit65119-15425/+16077
2019-11-24travis ci: use fedora:latestraveit651-1/+1
2019-11-22canvas-item: Don't hyphenate filenamesraveit651-0/+22
fixes https://github.com/mate-desktop/caja/issues/1284 Pango 1.44 got the ability to automatically hyphenate on line breaks, which is on by default, but can be set off by a new attribute. As a result, we now hyphenate filenames, which is confusing, because a filename may already include hyphens. To restore the previous behavior, let's not insert hyphens when breaking filenames in multiple lines. Inspired by https://gitlab.gnome.org/GNOME/nautilus/commit/9738d85
2019-10-23Travis CI: use Ubuntu 19.10 instead 19.04Pablo Barciela1-1/+1
2019-10-12Travis CI: use Debian "testing" instead "sid"Pablo Barciela1-1/+1
2019-10-05travis(ci): enable notify_serversraveit651-0/+2
2019-09-17tx: update resource for transifexraveit651-112/+116
2019-09-17Fix a grammar mistake reported by translatorsrbuj1-2/+2
2019-09-17release 1.22.2v1.22.2raveit652-15/+46
2019-09-17tx: sync with transifexraveit65118-14203/+21915
2019-08-18caja-progress-info: use NotifyNotification instead of GNotificationPablo Barciela1-14/+14
Fixes https://github.com/mate-desktop/caja/issues/1285
2019-08-10Update Korean translation which prevents a segfault on file moverbuj1-146/+149
See https://github.com/mate-desktop/caja/issues/1280
2019-08-09Use the same view settings for search results as the folder being searchedAndrey Streltsov1-1/+14
Fix issue https://github.com/mate-desktop/caja/issues/704
2019-07-25Revert "tx: Fix POT path in config"raveit651-1/+1
This reverts commit 546d340eea1e6cc86f4185407915ae1aa8d39955. caja.pot will be generated in /po dir, so this is the right place to use for transifex config. see makepot script and https://github.com/mate-desktop/caja/commit/546d340eea1e6cc86f4185407915ae1aa8d39955#commitcomment-34401197 for explanation how transifex config works. Or compare it with other repos.
2019-07-24fix build error about fm-empty-viewWu Xiaotian1-1/+2
2019-07-23preferences: Render extension icons as cairo_surfacesVictor Kareh2-14/+14
2019-07-23preferences: Render media icons as cairo_surfaceVictor Kareh1-8/+9
2019-07-23Replace gdkpixbuf with cairo_surfaces in a few more placesVictor Kareh6-63/+35
2019-07-23sidebar: Render info icon as vectorVictor Kareh1-16/+17
2019-07-23caja-location-dialog: Fix 'cppcheck' and 'clang' warningsPablo Barciela1-5/+5
Fixes 'cppcheck' warnings: [src/caja-location-dialog.c:229] -> [src/caja-location-dialog.c:237]: (warning) Either the condition 'window' is redundant or there is possible null pointer dereference: window. [src/caja-location-dialog.c:224]: (style) The scope of the variable 'formatted_location' can be reduced. Fixes Clang static analyzer warning: caja-location-dialog.c:237:12: warning: Access to field 'details' results in a dereference of a null pointer (loaded from variable 'window') slot = window->details->active_pane->active_slot; ^~~~~~~~~~~~~~~
2019-07-23eel-editable-label: Use 'memmove' instead of 'memcpy'Pablo Barciela1-1/+1
Fixes 'flawfinder' warning: (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data.
2019-07-23caja-file: avoid shifting signed 32-bit value by 31 bitsPablo Barciela1-1/+1
Fixes cppcheck warnings: [libcaja-private/caja-file.c:288]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [libcaja-private/caja-file.c:334]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [libcaja-private/caja-file.c:386]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour [libcaja-private/caja-file.c:3789]: (error) Shifting signed 32-bit value by 31 bits is undefined behaviour
2019-07-23caja-icon-canvas-item: initialize variable 'scale'Pablo Barciela1-1/+1
Fixes cppcheck warning: [libcaja-private/caja-icon-canvas-item.c:517]: (error) Uninitialized variable: scale
2019-07-23caja-application: avoid NULL inside 'g_object_unref'Pablo Barciela1-3/+4
Fixes Clang static analyzer warning: caja-application.c:2221:25: warning: Array access (from variable 'files') results in a null pointer dereference g_object_unref (files[idx]); ^~~~~~~~~~
2019-07-23fm-desktop-icon-view: remove dead codePablo Barciela1-11/+1
Fixes Clang static analyzer warnings: fm-desktop-icon-view.c:331:33: warning: 1st function call argument is an uninitialized value if (pointer == NULL && (gdk_device_get_source (cur) == GDK_SOURCE_MOUSE)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ fm-desktop-icon-view.c:335:34: warning: 1st function call argument is an uninitialized value if (keyboard == NULL && (gdk_device_get_source (cur) == GDK_SOURCE_KEYBOARD)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-23caja-file-operations: make sure 'error' isn't NULLPablo Barciela1-2/+2
Fixes Clang static analyzer warnings: caja-file-operations.c:2165:7: warning: Access to field 'code' results in a dereference of a null pointer (loaded from variable 'error') if (error->code != G_IO_ERROR_FAILED_HANDLED) { ^~~~~~~~~~~ caja-file-operations.c:5448:14: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') details = error->message; ^~~~~~~~~~~~~~
2019-07-23caja-open-with-dialog: make sure there is error before showing itPablo Barciela1-2/+5
Fixes Clang static analyzer warning: caja-open-with-dialog.c:252:100: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') message = g_strdup_printf (_("Could not add application to the application database: %s"), error->message); ^~~~~~~~~~~~~~
2019-07-23caja-sidebar-title: avoid 'NULL' inside 'setup_gc_with_fg'Pablo Barciela1-1/+1
Fixes Clang static analyzer warning: caja-sidebar-title.c:233:49: warning: Dereference of null pointer (loaded from variable 'color') sidebar_title->details->label_colors[idx] = *color; ^~~~~~
2019-07-23caja-autorun: avoid NULL in 'memcpy'Pablo Barciela1-1/+4
Fixes Clang static analyzer warning: caja-autorun.c:139:5: warning: Null pointer passed as an argument to a 'nonnull' parameter memcpy (r, v, len * sizeof (char *)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-23eel-editable-label: call argument with initialized valuePablo Barciela1-2/+2
Fixes Clang static analyzer warning: eel-editable-label.c:2624:9: warning: 2nd function call argument is an uninitialized value if (pango_layout_line_x_to_index (line, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-07-23configure.ac: fix portability issue with testDavid H. Gutteridge1-1/+1
"test ... ==" isn't a portable expression, change to POSIX "=".
2019-07-23eel-canvas: Fix warning: Undefined or garbage value returned to callerPablo Barciela1-1/+1
Fixes Clang static analyzer warning: eel-canvas.c:3426:9: warning: Undefined or garbage value returned to caller return item; ^~~~~~~~~~~
2019-07-23caja-window: Fix garbage valuePablo Barciela1-1/+2
Fixes Clang static analyzer warning: caja-window.c:554:34: warning: The left operand of '<' is a garbage value MIN (default_width, ^ ~~~~~~~~~~~~~
2019-07-23Fix attempt to free released memoryrbuj1-1/+0
2019-07-22tx: Fix POT path in configClement Lefebvre1-1/+1
2019-07-22Revert "tx: sync with transifex"Clement Lefebvre117-4115/+4133
This reverts commit a1fda5f4cca0d5019428a81799bfce4c235e9ec4. That commit deleted all ngettext translations (for some reasons these must have been missing in Transifex).
2019-07-10Render file-conflict icons as cairo_surface vectorsVictor Kareh3-42/+68
2019-07-10file-conflict-dialog: don't scale icons twice on hidpi monitorslukefromdc1-4/+4
Hardcode scale factor to 1 in caja_file_get_icon_pixbuf functions in caja-file-conflict as these icons are already getting scaled elsewhere. Otherwise they get scaled twice and the whole dialog is ballooned oversize on hidpi *Based on similar change made in Nautilus as a small part of fd01842f996b7d07baf2aafb0f68308fc5ed2055 "file-conflict-dialog: separate file logic from UI management " which was a more general refactoring of the file conflict dialog and split out the frontend and backend code.
2019-07-10desktop icon view: disconnect callback from correct GSettings instancemonsta1-1/+1
taken from: https://github.com/linuxmint/nemo/commit/89090ac192638d75359876d917b6d3ce106196af
2019-07-01hidpi: ensure all icons are properly scaledlukefromdc1-2/+2
2019-05-22travis: use fedora-30 and ubuntu-19.04 for buildingraveit651-2/+2
2019-04-22release 1.22.1v1.22.1raveit652-1/+18
2019-04-22tx: sync with transifexraveit65117-4133/+4115