summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2022-07-20caja-places-sidebar: add icon to "empty trash"Pablo Barciela1-1/+1
2022-07-20add git.mk to generate .gitignoreWu Xiaotian2-0/+4
2022-07-20spatial-window: replace geprecated gtk_menu_popupraveit651-27/+6
2022-07-20property-browser: replace deprecated gtk_drag_beginraveit651-5/+7
use gtk_drag_begin_with_coordinates instead
2022-07-20fm-list-view: replace deprecated gtk_drag_beginraveit651-6/+7
use gtk_drag_begin_with_coordinates instead
2022-07-20Show thumbnails in list viewWu Xiaotian1-1/+8
2022-07-20fix build error about fm-empty-viewWu Xiaotian1-1/+2
2022-07-20src / file-manager: reduce the scope of some variablesPablo Barciela10-229/+408
2022-07-20preferences: Render extension icons as cairo_surfacesVictor Kareh2-14/+14
2022-07-20preferences: Render media icons as cairo_surfaceVictor Kareh1-8/+9
2022-07-20Replace gdkpixbuf with cairo_surfaces in a few more placesVictor Kareh2-31/+30
2022-07-20sidebar: Render info icon as vectorVictor Kareh1-16/+16
2022-07-20Add support for loading theme-specific caja-desktop CSSColomban Wendling1-5/+40
Add support for loading a specific CSS named after the theme for theming the desktop, "caja-desktop-$THEME.css". This allows specific overrides for themes with specific needs, like HighContrast and such.
2022-07-20Refactor custom CSS loading into a separate functionColomban Wendling1-23/+18
2022-07-20desktop icon view: disconnect callback from correct GSettings instancemonsta1-1/+1
taken from: https://github.com/linuxmint/nemo/commit/89090ac192638d75359876d917b6d3ce106196af
2022-07-20Add scroll tabs with mouse wheelLaurent Napias2-0/+15
- File's properties and caja's preferences windows
2022-07-20migrate intltool to gettextWu Xiaotian2-6/+6
2022-07-20caja-zoom-action: suppress GtkAction warningsraveit651-0/+8
2022-07-20caja-window: suppress GtkAction warningsraveit651-0/+30
2022-07-20caja-window-toolbars: suppress GtkAction warningsraveit651-2/+9
2022-07-20caja-spartial-window: suppress GtkAction warningsraveit651-0/+4
2022-07-20caja-window-menus: suppress GtkAction warningsraveit651-4/+30
2022-07-20window-manage-views: suppress GtkAction warningsraveit651-0/+2
2022-07-20caja-window-bookmarks: suppress GtkAction warningsraveit651-0/+2
2022-07-20view-as-action: suppress GtkAction warningsraveit651-0/+8
2022-07-20caja-navigation-window-menus: suppress GtkAction warningsraveit651-1/+32
2022-07-20caja-navigation-action: suppress GtkAction warningsraveit651-0/+8
2022-07-20caja-desktop-window: suppress GtkAction warningsraveit651-0/+2
2022-07-20fm-list-view: suppress GtkAction warningsraveit651-0/+2
2022-07-20fm-icon-view: suppress GtkAction warningsraveit651-0/+16
2022-07-20fm-directory-view: change G_GNUC_END_IGNORE_DEPRECATIONS placePablo Barciela1-2/+2
Fixes cppcheck warnings: [src/file-manager/fm-directory-view.c:1007]: (style) Statements following return, break, continue, goto or throw will never be executed. [src/file-manager/fm-directory-view.c:1080]: (style) Statements following return, break, continue, goto or throw will never be executed.
2022-07-20Fix cppcheck warningsPablo Barciela2-110/+110
appeared since the silence of deprecated gtkaction warnings
2022-07-20Revert "fm-directory-view: free var action_name"raveit651-2/+0
This reverts commit f13416d256ede64396c3c6bb26fadb9b5e527bd3. This was wrong.
2022-07-20fm-directory-view: free var action_nameraveit651-0/+2
2022-07-20fm-directory-view: fix previous GtkAction commitraveit651-9/+12
2022-07-20fm-directory-view: suppress GtkAction warningsraveit651-3/+107
2022-07-20fm-desktop-icon-view: suppress GtkAction warningsraveit651-0/+9
2022-07-20Remove trailing whitespacesrbuj15-75/+75
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2022-07-20src: reduce the scope of some variablesPablo Barciela32-208/+331
2022-07-20Change URL prefixes from http to httpsrbuj2-2/+2
2022-07-20Change url projet's websiteLaurent Napias1-1/+1
2022-07-19eel: remove date & time functionsrbuj3-10/+10
Do not need to extend glib library, since it now incorporates these functions. Extended date format modifiers are available on glib v2.56. eel-glib-extensions.h/c: GDate * eel_g_date_new_tm (struct tm *time_pieces); char * eel_strdup_strftime (const char *format, struct tm *time_pieces); gint64 eel_get_system_time (void); Do not need to test the extensions in eel_self_check_glib_extensions (void). eel-glib-extensions.c: static void check_tm_to_g_date (time_t time) static char * test_strftime (...) Do not need to check if strftime implements extended date format modifiers on the system (available on glibc v2.27). configure.ac
2022-07-19caja-spatial-window: Unused variable irbuj1-1/+0
2022-07-19caja-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; ^~~~~~~~~~~~~~~
2022-07-19caja-property-browser: Fix cast from non-struct type to struct typePablo Barciela1-4/+4
Fixes Clang static analyzer warnings: caja-property-browser.c:1242:45: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption CajaPropertyBrowser *property_browser = CAJA_PROPERTY_BROWSER (data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ caja-property-browser.c:1414:45: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption CajaPropertyBrowser *property_browser = CAJA_PROPERTY_BROWSER (data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ caja-property-browser.c:1450:45: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption CajaPropertyBrowser *property_browser = CAJA_PROPERTY_BROWSER(data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-07-19drop functions defined but not usedPablo Barciela6-463/+0
2022-07-19local #include files inside "" instead <>Pablo Barciela80-753/+902
2022-07-19Fix invocation with --geometry from the command linelukefromdc1-7/+14
Due to changes somewhere else windows called with --geometry must now be opened before splitedOptions is freed or the geometry passed to later functions gets corrrupted Note that setting a width smaller than 654 px will generate GTK warnings (negative content width and similar) but will still mostly work.
2022-07-19Pass "NULL" for keyboard eventlukefromdc2-2/+10
Fix #1198 "Context menu with menu key broken" Pass "NULL" for event which is passed ultimately to gtk_menu_popup_at_pointer as an invalid event was being passed when the menu key was used to open the icon views context menu
2022-07-19caja-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]); ^~~~~~~~~~