Commit graph

2140 commits

Author SHA1 Message Date
Christophe Grenier
5e03dc19dc Windows: search for the first 64 disks instead of the first 16 2016-09-03 18:22:31 +02:00
Christophe Grenier
73b3df2bed PhotoRec: remove 200MB .flv filesize limitation 2016-09-03 18:22:07 +02:00
Christophe Grenier
3e375bfb28 Add missing src/file_gz.h file
Fix compilation since commit 17527d46be
2016-08-28 08:26:01 +02:00
Christophe Grenier
40b8417ee3 QPhotoRec: add Spanish and Portuguese translations, update the others 2016-08-28 08:19:20 +02:00
Christophe Grenier
84c325234b PhotoRec: do not recover .pct files while a .indd recovery is in progress 2016-08-28 08:17:25 +02:00
Christophe Grenier
3c8ceb852a PhotoRec: avoid some false positives with "mdat" signature in .mov files 2016-08-28 08:16:56 +02:00
Christophe Grenier
7baa3d21e6 PhotoRec: recover .qdf-backup file 2016-08-28 08:16:40 +02:00
Christophe Grenier
17527d46be Log zlib version 2016-08-28 08:08:19 +02:00
Christophe Grenier
eaaf96c14e Add copr/cygwin-testdisk.spec for building Windows binary using Fedora Copr 2016-08-20 15:32:43 +02:00
Christophe Grenier
68c9c5f000 Reuse partition UUID if possible when rewriting EFI GPT 2016-08-20 09:56:46 +02:00
Christophe Grenier
2919b0093a header_check_ibd(): use parenthesis to improve readability 2016-08-20 09:51:49 +02:00
Christophe Grenier
dee7247665 ntfs_copy(): better check for error condition 2016-08-20 09:49:46 +02:00
Christophe Grenier
d705bac84f Replace td_list_entry by td_list_(first|prev|next|last)_entry to improve readability 2016-08-20 09:26:23 +02:00
Christophe Grenier
828ec27071 src/jfs_superblock.h: rename "struct timestruc_t" to "struct jfs_timestruc_t" 2016-08-20 09:22:29 +02:00
Christophe Grenier
cbb2396692 PhotoRec: fix memory leak in file_exe_ressource()
Bug found using Coverity Scan
2016-08-16 21:14:37 +02:00
Christophe Grenier
fccb580a2d configure.ac: modify libraries order in LIBS to match the order used when detecting them 2016-08-16 20:19:18 +02:00
Christophe Grenier
f957ed1b6c Use double quote when using cpp #warning 2016-08-16 20:15:26 +02:00
Christophe Grenier
9ab4195059 PhotoRec: recover Terraria world .wld file 2016-08-16 20:13:45 +02:00
Christophe Grenier
7eaf232c1f PhotoRec: recover Terraria Player .plr file 2016-08-16 20:11:54 +02:00
Christophe Grenier
c8b71047db PhotoRec: recover NIS-Elements .nd2 files 2016-08-16 20:10:08 +02:00
Christophe Grenier
25127ad4e3 PhotoRec: recover TeX DVI .dvi files 2016-08-16 20:08:13 +02:00
Christophe Grenier
cf544d5b95 PhotoRec: recover svg file
File sample https://raw.githubusercontent.com/nbeaver/mimetype-menagerie/master/media-types/image/svg%2Bxml/Animated_pendulum.svg
2016-07-27 11:48:39 +02:00
François Revol
ca0e309843 PhotoRec: recover Gobe Productive .gp2 files 2016-07-27 11:46:54 +02:00
Christophe Grenier
d0c0bf21dd PhotoRec: recover Cinema 4d .c4d files 2016-07-25 07:26:57 +02:00
Christophe Grenier
9e2e4af2dc PhotoRec: recover Lotus Approch .apr files 2016-07-25 07:25:22 +02:00
François Revol
d143a610c6 Haiku: use native ioctls to detect geometry 2016-07-25 07:20:46 +02:00
François Revol
588fa1e76e Haiku: widen globbing on device names
We also need to match:
/dev/disk/ata/0/slave/raw
/dev/disk/usb/0/0/raw
2016-07-25 07:20:46 +02:00
Christophe Grenier
3932c37783 Fix mft_record_size - "Fix MFT" wasn't working 2016-07-10 09:14:34 +02:00
Christophe Grenier
d01e793ca4 add an assertion in search_part() 2016-07-02 09:25:28 +02:00
Christophe Grenier
b5dac5c818 constify cmd_length variable in file_options_load() 2016-07-02 09:24:55 +02:00
Christophe Grenier
bda04996bc PhotoRec: rename recovered Nintendo DS .nds files 2016-07-02 09:24:07 +02:00
Christophe Grenier
0b88e30196 PhotoRec: recover Windows prefetch .pf file
Thanks to Rob Lee from SANS Institute for the initial version
2016-06-26 17:58:47 +02:00
Christophe Grenier
6ddeb2937a PhotoRec: avoid potential out of bound read access when renaming damaged .lzh files 2016-06-26 17:55:34 +02:00
Christophe Grenier
f377e15277 Remove useless ico_dir variable initialisation in header_check_ico() 2016-06-24 21:48:57 +02:00
Christophe Grenier
7a7d191348 Fix ptf_header length in src/file_ptf.c 2016-06-24 21:46:51 +02:00
Christophe Grenier
fac553ee40 src/ext2_dir.c: Change shared_ioch type to io_channel instead of "io_channel *" to avoid to refer to a stack allocated variable 2016-06-24 21:35:52 +02:00
Christophe Grenier
b31247a049 Fix small memory leak in fewf_init() 2016-06-24 21:34:20 +02:00
Christophe Grenier
2c1ece8135 PhotoRec: fix missing break in src/file_mxf.c that may result in incorrect filesize 2016-06-22 20:25:15 +02:00
Christophe Grenier
b67219e75c Fix a few warnings 2016-06-22 19:44:20 +02:00
Christophe Grenier
6e45e14d17 PhotoRec: fix recovered .mxf filesize 2016-06-22 12:10:24 +02:00
Tobias Dammers
9de993e4d3 Fixed: disabling curses caused segfaults with /log
This is because when HAVE_CURSES is undefined, phmain.c did not include
intrf.h, which caused td_curses_version() to be undeclared and default
to return type int (but should be const char *). As a result, vprintf
receives an int argument for %s, which coredumps.

This commit changes things so that intrf.h is included unconditionally
(that header has appropriate guards in place already), and moves the
declaration of td_curses_version() outside the guard so that it is
always declared.
2016-06-22 12:08:24 +02:00
Виктор
7db2d008de QPhotoRec: add Russian translation 2016-06-14 20:21:50 +02:00
Виктор
58ee94788a Mark some strings as translatable 2016-06-14 19:14:19 +02:00
Christophe Grenier
5e31eb5715 Linux: scan /dev/sd[a-z][a-z] devices. 2016-06-14 19:05:25 +02:00
Christophe Grenier
2d2292caed Fix for various cppcheck warnings 2016-06-14 19:04:44 +02:00
Christophe Grenier
d576a81e1f assert(current_element != NULL) in menu_photorec() 2016-06-10 10:18:51 +02:00
Christophe Grenier
f83b37d3df Fix minor sign warning in partition_save 2016-06-10 10:16:44 +02:00
Christophe Grenier
fc8fb6b6b4 Do not declare variable use_sudo if SUDO_BIN is undefined (code style) 2016-06-10 10:15:01 +02:00
Christophe Grenier
f1a17e9f5a QPhotoRec: add Chinese (Taiwan) (zh_TW) and Italian (it) translations 2016-06-05 10:23:52 +02:00
Christophe Grenier
abec683e0b PhotoRec: recover Zortrax 3D printing .zcode files 2016-06-05 10:12:30 +02:00