summaryrefslogtreecommitdiff
path: root/caja
AgeCommit message (Collapse)AuthorFilesLines
2023-03-22zstd: support both old and new mime typeĐoàn Trần Công Danh1-1/+2
As of it's now, we're supporting zstd {,de}compression with specific mime type that was reported by libmagic as configure time. Thus, the built binaries is not correct after upgrading file-devel after configure. In addition, this configure's time hard-coded value prevent our users from partial upgrade. Let's accept both mime types reported by both old and new file-devel. For the mapping between file extensions and mime types, let's choose the new mime value.
2021-12-11Use a blank line at mostrbuj2-18/+0
2021-02-09build: allow users to disable gettext support (--disable-nls)rbuj1-1/+5
2021-02-05build: Use PACKAGE_URL variablerbuj2-3/+6
2021-01-16Update copyright to 2021rbuj1-1/+1
2021-01-07Remove cppcheck warnings about the variable scope can be reducedrbuj1-7/+9
2020-10-17Add Electronic Publication (EPUB) supportrbuj1-0/+1
$ file -b --mime-type don-quijoti-epub3.epub application/epub+zip
2020-03-10Add ARC archive supportrbuj1-0/+1
2020-02-15autoconf: get zstd mime type using libmagic if enabledrbuj1-1/+1
2020-01-10Update copyright to 2020raveit651-1/+1
2019-12-01migrate from intltool to gettextWu Xiaotian3-11/+13
2019-10-03Set compiler debug flags using MATE_DEBUG_CHECK and update configure summaryrbuj1-2/+2
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-03Zstandard: read .tar.zst filesrbuj1-0/+1
$ 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: Update MIME typerbuj1-1/+1
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 numbersrbuj1-1/+1
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-09-30Use mate-compiler-flags.m4 provided by mate-commonrbuj1-0/+1
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-30i18n caja extension copyrightrbuj1-1/+1
2019-09-22LHA: Fix internet media typerbuj1-1/+1
LHA media type is application/x-lzh-compressed $ file --mime-type ~/test.lzh /home/robert/test.lzh: application/x-lzh-compressed
2019-09-08Initialization discards ‘const’ qualifier from pointer target typerbuj1-2/+2
Remove 317 warnings [-Wdiscarded-qualifiers].
2019-09-03Missing initializer for struct fieldrbuj1-0/+1
caja-engrampa.c:439:2: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} [-Wmissing-field-initializers] eggtreemultidnd.c:70:2: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command.c:98:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-7z.c:750:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-ace.c:334:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-alz.c:397:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-ar.c:383:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-arj.c:429:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command.c:98:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-cfile.c:692:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-cpio.c:319:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-dpkg.c:305:17: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-iso.c:308:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-jar.c:234:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-lha.c:408:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-lrzip.c:262:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-rar.c:832:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-rpm.c:319:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-tar.c:1267:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-unarchiver.c:361:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-unstuff.c:381:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-zip.c:513:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-zoo.c:419:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-window.c:839:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-list-model.c:148:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} [-Wmissing-field-initializers] fr-process.c:248:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] ui.h:32:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:33:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:34:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:35:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:36:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers]
2019-09-03remove build warning: local variable shadows another variablerbuj1-15/+5
actions.c:245:24: warning: declaration of ‘dialog’ shadows a previous local [-Wshadow] caja-engrampa.c:137:17: warning: declaration of ‘file’ shadows a previous local [-Wshadow] caja-engrampa.c:58:17: warning: declaration of ‘file’ shadows a previous local [-Wshadow] dlg-add-files.c:120:9: warning: declaration of ‘uri’ shadows a previous local [-Wshadow] fr-window.c:4935:11: warning: declaration of ‘value’ shadows a previous local [-Wshadow]
2019-07-30Add zcompress supportSergey Ponomarev1-0/+1
2019-07-23caja extension: fix icon name for compress menu itemmonsta1-1/+1
it was using non-existing icon name
2019-07-01Remove trailing whitespacesLaurent Napias2-6/+6
2019-03-06Support .udeb package formatVictor Kareh1-1/+1
This enables support for udeb (micro-deb) files, which are a package format used during bootstrapping a Debian installation. They have the same mimetype as regular deb files.
2019-03-06Clean-up archive list and descriptionsVictor Kareh1-3/+3
2019-01-08update copyright year to 2019Pablo Barciela1-1/+1
2018-11-10Added support for brotli (*.tar.br) compressed tar archivesSergey Ponomarev1-0/+1
2018-10-30Add brotli supportSergey Ponomarev1-0/+1
2018-01-09update copyright year to 2018monsta1-1/+1
2017-12-25add our copyright to About dialog and Caja extensionmonsta1-1/+1
2017-04-18build: use variable instead of hardcoded file name when cleaningmonsta1-1/+1
2017-02-10build: remove option that disables deprecated stuffmonsta1-1/+0
it's also named incorrectly - it doesn't enable anything but makes the build break on the first deprecated item
2016-05-25caja extension: don't use *_CFLAGS that depend on GTK+monsta1-3/+1
this makes it possible to build engrampa with GTK+3 while building caja extension with the current GTK+ that libcaja-extension uses
2015-10-04Update caja-engrampa.cZenWalker1-11/+15
2015-02-02Add copyright information in caja extension about windowStefano Karapetsas2-4/+8
Closes https://github.com/mate-desktop/engrampa/issues/77
2014-11-23caja-engrampa: fix indentation, add missing unrefmonsta1-1/+2
see https://git.gnome.org/browse/file-roller/commit/?id=cfffd064e19ca1af3cb331bd11605764424eab47
2014-11-23caja-engrampa: fixed memleaks, removed useless codeMonsta1-16/+21
2014-11-19allow to compress iso images and tar archives from the caja menuinfirit1-56/+67
disable the compress command only for already compressed archives Based on FR commit: 8e3f98a6924fbb7b6582367430a21d5f22c9e96f From: Paolo Bacchilega <[email protected]> Gnome bug: http://bugzilla.gnome.org/show_bug.cgi?id=651930
2014-11-09Fix make distcheckinfirit1-0/+3
2014-10-27Add ini file for caja extensionStefano Karapetsas2-0/+9
2014-01-27Show always the "extract to" actionStefano Karapetsas1-1/+1
As suggested in forum (http://forums.mate-desktop.org/viewtopic.php?f=17&t=812)
2013-10-28adds Windows Imaging Format (.wim, .swm) supportraveit651-0/+1
2013-08-01Merge pull request #21 from infirit/unarchiverStefano Karapetsas1-1/+2
Add unarchiver support
2013-07-30automake fixes: INCLUDES -> AM_CPPFLAGSinfirit1-1/+1
2013-06-30Add unachiver supportinfirit1-1/+2
Based on the following commits from file-roller, https://git.gnome.org/browse/file-roller/commit/?id=2575177ac037d2a8d8f3056b10685928d80d6275 https://git.gnome.org/browse/file-roller/commit/?id=f26caa6d5b76d406976ea78630fbaae4c8126a2e
2012-10-09Fixed fsf addresses. Closes #4.Steve Zesch3-3/+3
2011-11-30many renames from file-roller to engrampaStefano Karapetsas3-3/+3
2011-11-09renaming fileroller to engrampaPerberos4-16/+16
2011-11-09initialPerberos4-0/+560