summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01actions: expand the comment on about dialogrbuj1-1/+1
2020-03-25Terminate the application if the resource doesn't existsrbuj12-84/+11
2020-03-25gtk-utils: Remove _gtk_count_selectedrbuj3-25/+1
2020-03-12glib-utils: remove g_ptr_array_free_fullrbuj3-17/+4
2020-03-10fr-window: duplicated coderbuj1-79/+6
2020-03-10Add ARC archive supportrbuj4-0/+382
2020-03-08glib-utils: remove n_fields functionrbuj5-20/+4
2020-03-04Add dlg-add-files.ui and dlg-add-folder.uirbuj6-193/+549
2020-02-26Update authorsrbuj1-1/+1
2020-02-24dlg-new: Adding many callbacks at oncerbuj2-33/+12
2020-02-24new.ui: Stock icons are deprecatedrbuj2-14/+32
2020-02-24dlg-new: Use GET_WIDGET macrorbuj1-9/+9
2020-02-15autoconf: get zstd mime type using libmagic if enabledrbuj2-8/+8
2020-02-08dlg-extract: GtkFileChooserDialog instead of set extra widgetrbuj5-267/+341
2020-02-07Fix mate-desktop URLrbuj1-1/+1
2020-02-06dlg-batch-add: set dialog image from icon-name instead of pixbufrbuj1-8/+5
2020-01-30Fix build using gcc 10 -fno-common flagrbuj1-2/+0
2020-01-30fr-process: do not override LC_CTYPErbuj1-4/+10
Closes #354
2020-01-10Update copyright to 2020raveit651-1/+1
2020-01-04fr-command-rpm: Use rpm2cpio binary shipped with rpm packagerbuj5-157/+9
closes #350
2019-12-05use cpio if no binary is foundraveit651-1/+1
origin commit: https://gitlab.gnome.org/GNOME/file-roller/commit/eb8a7fa
2019-12-05add a configure environment variable to select the cpio pathJasper Lievisse Adriaanse3-5/+5
on some systems (like OpenBSD), gcpio is prefered over the base cpio. origin commit: https://gitlab.gnome.org/GNOME/file-roller/commit/8a51165
2019-12-017z: Don't set the work directory, i.e. use temporary directoryrbuj1-1/+0
closes https://github.com/mate-desktop/engrampa/issues/200
2019-12-01Check if a mime-type is an alias in compute_supported_archive_typesrbuj1-1/+14
For instance, application/x-lha is an alias of application/x-lzh-compressed, mime_type_desc.mime_type should only store non duplicated primary mime-types, to avoid duplicates in the warehouse.
2019-12-01define LOCALEDIR for bindtextdomain()Wu Xiaotian1-0/+1
2019-11-24Clean file type selection in new archive dialogrbuj2-71/+60
2019-11-20Automatically sets the maximum size of static arraysrbuj1-4/+4
2019-10-20Fix localized pause UI logicoctoghost1-1/+1
2019-10-03LHA: add test for checking compressed file integrityrbuj1-1/+12
2019-10-03Set compiler debug flags using MATE_DEBUG_CHECK and update configure summaryrbuj8-19/+33
test: $ ./autogen.sh --enable-debug=profile --prefix=/usr <cut> Configuration: Source code location: . Compiler: gcc Compiler flags: -g -pg Warning flags: -Wall -Wmissing-prototypes Linker flags: -pg Caja support: yes PackageKit support: yes Run in place no Use libmagic: no JSON support: yes Now type `make' to compile engrampa $ ./autogen.sh --enable-debug --prefix=/usr <cut> Configuration: Source code location: . Compiler: gcc Compiler flags: -g -O0 Warning flags: -Wall -Wmissing-prototypes Linker flags: Caja support: yes PackageKit support: yes Run in place no Use libmagic: no JSON support: yes Now type `make' to compile engrampa $ grep MATE_ENABLE_DEBUG config.h
2019-10-03Add application/(x-compress|x-rpm|x-lzh-compressed) in local magicrbuj1-0/+4
$ file -b --mime-type ~/test.tar.Z application/x-compress $ hexdump -C -n 2 ~/test.tar.Z 00000000 1f 9d |..| 00000002 $ file -b --mime-type ~/atril-1.23.1-1.fc30.src.rpm application/x-rpm $ hexdump -C -n 4 ~/atril-1.23.1-1.fc30.src.rpm 00000000 ed ab ee db |....| 00000004 $ file -b --mime-type ~/test.lzh application/x-lzh-compressed $ hexdump -C -s 2 -n 3 ~/test.lzh 00000002 2d 6c 68 |-lh| 00000005
2019-10-03Show archive type in properties dialogrbuj2-0/+34
2019-10-03Zstandard: read .tar.zst filesrbuj2-0/+22
$ tar cafv ~/test.tar.zst ~/test $ xdg-mime query filetype ~/test.tar.zst application/x-zstd-compressed-tar Test: $ CFLAGS="-g -O0" ./autogen.sh --enable-magic --enable-packagekit --prefix=/usr && make && sudo make install $ engrampa ~/test.tar.zst
2019-10-03Zstandard: add test for checking compressed file integrityrbuj1-1/+10
2019-10-03Zstandard: Update MIME typerbuj2-7/+7
MIME type is application/x-zstd: $ lorem-ipsum-generator -p 10000 -l -f plain > lorem.txt $ zstd lorem.txt $ file -b --mime-type lorem.txt.zst application/x-zstd Test: $ CFLAGS="-g -O0" ./autogen.sh --enable-magic --enable-packagekit --prefix=/usr && make && sudo make install
2019-10-01Ar: Update MIME type and add magic numbersrbuj3-8/+10
Changes: Replace application/x-ar with application/x-archive ar magic number: "!<arch>\n" deb magic number (Debian 0.93+): "!<arch>\ndebian-binary" REF: https://en.wikipedia.org/wiki/Ar_(Unix) https://en.wikipedia.org/wiki/Deb_(file_format) Test: $ touch a && touch b && ar r test.ar a b && cp test.ar test-2.a $ xdg-mime query filetype test.ar application/x-archive $ xdg-mime query filetype dftp_2.2-1.deb application/vnd.debian.binary-package $ gio info test.ar | grep content-type standard::content-type: application/x-archive standard::fast-content-type: application/x-archive $ gio info dftp_2.2-1.deb | grep content-type standard::content-type: application/vnd.debian.binary-package standard::fast-content-type: application/vnd.debian.binary-package $ hexdump -C -n 8 test.ar 00000000 21 3c 61 72 63 68 3e 0a |!<arch>.| 00000008 $ hexdump -C -n 21 dftp_2.2-1.deb 00000000 21 3c 61 72 63 68 3e 0a 64 65 62 69 61 6e 2d 62 |!<arch>.debian-b| 00000010 69 6e 61 72 79 |inary| 00000015 $ ./autogen.sh --prefix=/usr --disable-magic && make && sudo make install
2019-10-01fr-command-ar: fetch dates with strptimerbuj1-49/+13
2019-10-01Remove internal mkdtemp and define feature test macrorbuj5-253/+3
mkdtemp(): /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* Glibc 2.19 and earlier: */ _BSD_SOURCE || /* Since glibc 2.10: */ _POSIX_C_SOURCE >= 200809L _POSIX_C_SOURCE 200809L is enabled by _XOPEN_SOURCE >= 700. Ref: http://man7.org/linux/man-pages/man7/feature_test_macros.7.html
2019-10-01fr-command-tar: fetch dates with strptimerbuj1-37/+9
2019-09-30Use mate-compiler-flags.m4 provided by mate-commonrbuj2-2/+11
USAGE: ./autogen.sh --enable-compile-warnings=no/minimum/yes/maximum/error@ If --enable-compile-warnings is not provided, the default is --enable-compile-warnings=yes
2019-09-30ar: don't remove leading whitespaces in filename fieldrbuj1-6/+6
test: $ touch " test" $ touch " test" $ ar r test.a " test" " test" $ ar tv test.a rw-rw-r-- 1000/1001 0 Sep 18 14:58 2019 test rw-rw-r-- 1000/1001 0 Sep 18 14:58 2019 test $ engrampa test.a
2019-09-30LHA: make compatible with content-type response from gio file queryrbuj1-1/+1
gio returns "application/x-lha" in get_mime_type_from_content test: $ LANG=C gio info 1.lzh | grep content-type standard::content-type: application/x-lha standard::fast-content-type: application/x-lha
2019-09-26fr-command-dpkg: fetch dates with strptimerbuj1-17/+19
2019-09-22dlg-prop: set property label in ui filerbuj2-42/+32
2019-09-22Add extract-dialog-options.uirbuj4-163/+277
2019-09-22LHA: Fix internet media typerbuj2-4/+4
LHA media type is application/x-lzh-compressed $ file --mime-type ~/test.lzh /home/robert/test.lzh: application/x-lzh-compressed
2019-09-22Use g_list_free_full and g_slist_free_fullrbuj7-22/+11
void g_list_free_full (GList *list, GDestroyNotify free_func); void g_slist_free_full (GList *list, GDestroyNotify free_func); Convenience methods, which free all the memory used by a list, and calls free_func on every element's data.
2019-09-17dlg-prop: show the exact number of bytes as part of the sizerbuj1-2/+2
2019-09-15dlg-prop: allow to open the archive's folderrbuj1-4/+12
Based on https://github.com/GNOME/file-roller/commit/9a37eb44a8ec5d0a20ea78c9a44c7c9e50bb508f#diff-41f5e2a364a93ff790f678ba58265d43
2019-09-15remove warnings: ‘gtk_image_new_from_stock’ is deprecatedrbuj3-26/+15
gtk-utils.c:171:3: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 171 | image = gtk_image_new_from_stock (text, GTK_ICON_SIZE_BUTTON); | ^~~~~ gtk-utils.c:173:3: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 173 | image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON); | ^~~~~