summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-07-02Add scroll tabs with mouse wheelLaurent Napias2-0/+15
File's properties and caja's preferences windows
2019-07-01migrate intltool to gettextWu Xiaotian2-6/+6
2019-06-29caja-zoom-action: suppress GtkAction warningsraveit651-0/+8
2019-06-29caja-window: suppress GtkAction warningsraveit651-0/+30
2019-06-29caja-window-toolbars: suppress GtkAction warningsraveit651-2/+9
2019-06-29caja-spartial-window: suppress GtkAction warningsraveit651-0/+4
2019-06-29caja-window-menus: suppress GtkAction warningsraveit651-4/+30
2019-06-29window-manage-views: suppress GtkAction warningsraveit651-0/+2
2019-06-29caja-window-bookmarks: suppress GtkAction warningsraveit651-0/+2
2019-06-29view-as-action: suppress GtkAction warningsraveit651-0/+8
2019-06-29navigation-window: suppress GtkAction warningsraveit651-0/+10
2019-06-29caja-navigation-window-menus: suppress GtkAction warningsraveit651-1/+32
2019-06-29caja-navigation-action: suppress GtkAction warningsraveit651-0/+8
2019-06-29caja-desktop-window: suppress GtkAction warningsraveit651-0/+2
2019-06-29fm-list-view: suppress GtkAction warningsraveit651-0/+2
2019-06-29fm-icon-view: suppress GtkAction warningsraveit651-0/+16
2019-06-29fm-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.
2019-06-28Fix cppcheck warningsPablo Barciela2-110/+110
appeared since the silence of deprecated gtkaction warnings
2019-06-27Revert "fm-directory-view: free var action_name"raveit651-2/+0
This reverts commit f13416d256ede64396c3c6bb26fadb9b5e527bd3. This was wrong.
2019-06-27fm-directory-view: free var action_nameraveit651-0/+2
2019-06-27fm-directory-view: fix previous GtkAction commitraveit651-9/+12
2019-06-25fm-directory-view: suppress GtkAction warningsraveit651-3/+107
2019-06-25fm-desktop-icon-view: suppress GtkAction warningsraveit651-0/+9
2019-06-18Remove trailing whitespacesrbuj15-75/+75
find . -regextype posix-extended -regex '.*\.(c|h|ac|txt|xml)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2019-06-17src: reduce the scope of some variablesPablo Barciela32-208/+331
2019-06-11Change URL prefixes from http to httpsrbuj2-2/+2
2019-06-10Change url projet's websiteLaurent Napias1-1/+1
2019-05-04eel: 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
2019-04-30caja-spatial-window: Unused variable irbuj1-1/+0
2019-04-16caja-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-04-14caja-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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-04-12local #include files who are libraries inside <> instead ""Pablo Barciela80-559/+559
2019-04-10drop functions defined but not usedPablo Barciela6-463/+0
2019-04-10local #include files inside "" instead <>Pablo Barciela80-753/+902
2019-04-09Fix 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.
2019-04-08Pass "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
2019-04-07caja-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-04-05fm-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-03-29eel: remove g_object_list_copyrbuj3-4/+4
GNOME/nautilus@7af24a8 Replace GList * eel_g_object_list_copy (GList *list) with g_list_copy_deep (list, (GCopyFunc) g_object_ref, NULL)
2019-03-28caja-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-03-07avoid variables set but not usedPablo Barciela9-46/+7
2019-03-06caja-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-03-05Fix attempt to free released memoryrbuj1-1/+0
2019-03-04fm-tree-model: Fix use of memory after it is freedPablo Barciela1-2/+6
to avoid warning with Clang Analyzer
2019-03-04caja-information-panel: Fix use of memory after it is freedPablo Barciela1-1/+4
to avoid warning with Clang Analyzer
2019-03-04fm-directory-view: Fix use of memory after it is freedPablo Barciela1-1/+1
to avoid warning with Clang Analyzer
2019-03-04[Security] Use 'g_strlcpy' instead of 'strcpy'Pablo Barciela1-1/+1
to avoid warnings with Clang Analyzer
2019-03-04drop unused variablesPablo Barciela5-5/+0
2019-02-18Read authors and documenters fom caja.about filerbuj3-109/+37
2019-02-17Ensure proper translation of the about dialog titlerbuj1-0/+1
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html