Commit graph

2885 commits

Author SHA1 Message Date
Christophe Grenier
b62aab4cde Reorganize how disk geometry, size and sector size is gathered 2008-04-11 11:45:06 +02:00
Christophe Grenier
ef4cf90c94 Avoid unused variable when not using sudo 2008-04-11 11:37:43 +02:00
Christophe Grenier
6f0d64c561 Don't display harddisk geometry in the warning message about read-only device 2008-04-11 11:34:03 +02:00
Christophe Grenier
5e24817eb8 Try to better deal with partition ending near disk size limit 2008-04-11 11:33:01 +02:00
Christophe Grenier
d0bc9baeb8 PhotoRec: Fix when only txt and/or mov files are selected for recovery. 2008-04-11 11:31:57 +02:00
Christophe Grenier
9e48f58af9 FAT32 partition listing: apply bit-mask to inode number, check for "." entry before listing files 2008-04-11 11:30:21 +02:00
Christophe Grenier
3a584cb026 Allow pathname up to 1024 chars instead of 255 2008-04-11 11:29:48 +02:00
Christophe Grenier
d4691ada06 Add td_min(), td_max() functions 2008-04-11 11:29:23 +02:00
Christophe Grenier
12da0317f4 Partition type modification: only use number for Intel and Sun, otherwise select in a list. 2008-04-11 11:27:40 +02:00
Christophe Grenier
c6ffc1812d Can list by pressing 'l' in the Advanced menu (key usage not displayed) 2008-04-11 11:26:30 +02:00
Christophe Grenier
d2e73cbf26 Update header checks 2008-04-11 11:25:59 +02:00
Christophe Grenier
b4577975e4 Search for /dev/mapper/* and /dev/md? device under Linux
Under Windows, compare the device model to avoid disk duplicate
2008-04-09 08:13:13 +02:00
Christophe Grenier
6c073e21c6 Limit recovered .xcf filesize to 1GB 2008-04-09 08:12:34 +02:00
Christophe Grenier
00a58a7f13 PhotoRec: fix for zip recovery on 64-bits plateform 2008-04-07 09:04:36 +02:00
Christophe Grenier
7c1bc8c7c8 PhotoRec: fix html signature detection 2008-04-07 09:04:11 +02:00
Christophe Grenier
68f42b7846 PhotoRec: distinguish Debian Archive .deb from .a 2008-04-07 09:03:37 +02:00
Christophe Grenier
a4a280354d code cleanup: rename aff_buffer() fixup 2008-04-07 09:03:21 +02:00
Christophe Grenier
5bc721de8e code cleanup: rename aff_buffer() 2008-04-03 00:22:31 +02:00
Christophe Grenier
1739339385 PhotoRec: detect .iso filesize 2008-04-02 23:58:10 +02:00
Christophe Grenier
26cd126d3f PhotoRec: read 512k chunks instead of 128k 2008-04-02 23:54:03 +02:00
Christophe Grenier
3e43d84bdc Resize HD cache buffer when request is too big for the current buffer instead of splitting the request 2008-04-02 23:52:53 +02:00
Christophe Grenier
ec6c082a03 tab_insert() is static 2008-04-02 23:51:32 +02:00
Christophe Grenier
0278c9fb57 For text recovery only check the first 2048 bytes 2008-04-02 23:50:52 +02:00
Christophe Grenier
277aa252cd In testdisk.spec add BuildRequires: ntfsprogs-devel
Don't build static by default
2008-04-02 23:49:41 +02:00
Christophe Grenier
c8d175066c Disable crypto for ntfsprogs compilation
Fix configure --enable-sudo and --enable-missing-uuid-ok
Check io.h header for mingw
2008-04-02 23:47:50 +02:00
Christophe Grenier
87430ae765 Add .iso file support (Don't always work) 2008-03-29 09:54:25 +01:00
Christophe Grenier
a9debb8616 Add Windows RE(store) partition type for PC/Intel partition 2008-03-29 09:53:29 +01:00
Christophe Grenier
478e4b6bc8 PhotoRec: for JPEG files, fix conversion from time/date store in Exif header to Unix time 2008-03-29 09:52:48 +01:00
Christophe Grenier
924ff24783 PhotoRec: for gzip files, extract the time/date from header and set the file time 2008-03-29 09:51:51 +01:00
Christophe Grenier
aca14bd4fc Need debug>1 to display an hexdump of windows IOCTL_STORAGE_QUERY_PROPERTY buffer 2008-03-25 22:27:05 +01:00
Christophe Grenier
485fd6942c Fix TestDisk welcome message 2008-03-25 22:25:25 +01:00
Christophe Grenier
b20a03462c Fix for NTFS listing: only hides system files beginning by '$' (not . and ..) 2008-03-24 17:20:03 +01:00
Christophe Grenier
4e7502c959 Reports OS version and compiler version 2008-03-24 16:30:07 +01:00
Christophe Grenier
5f39b5f995 Move rebuild_FAT_BS, FAT_init_rootdir and repair_FAT_table headers to fat_adv.h 2008-03-24 16:26:32 +01:00
Christophe Grenier
ef4104d8ce Don't define menuNTFS/menuEXT2 if libntfs/libext2 is missing 2008-03-24 16:21:42 +01:00
Christophe Grenier
c873eb1dbb Fix preprocessor directive in partgpt.c 2008-03-24 16:02:31 +01:00
Christophe Grenier
cdfe231f21 add a cast for iconv call 2008-03-24 16:01:52 +01:00
Christophe Grenier
dc0f1fe091 add a format attribute to log_handler() 2008-03-24 16:01:05 +01:00
Christophe Grenier
cffa6d713f make vaff_txt() static 2008-03-24 16:00:31 +01:00
Christophe Grenier
75c3c983d4 fsync function may be missing, fix for mingw 2008-03-24 15:59:47 +01:00
Christophe Grenier
cb62d65a75 Search for a partition where Vista usually creates the first one even if the user don't enable Vista search 2008-03-24 15:58:26 +01:00
Christophe Grenier
b11554f611 include mingw/io.h for mkdir() 2008-03-24 15:56:18 +01:00
Christophe Grenier
f657702e89 check for cygwin/version.h, windows.h headers and fsync()
Add some compiler warning flags
2008-03-24 15:55:19 +01:00
Christophe Grenier
0d65ac9871 Links to tinfo library if available, solves "make static" under F-7 2008-03-23 16:24:11 +01:00
Christophe Grenier
cd3818d991 Fix compile.sh 2008-03-23 16:22:02 +01:00
Christophe Grenier
cac1480710 Log the partition table type autodetected 2008-03-20 22:20:42 +01:00
Christophe Grenier
9954b60f48 Don't scan too much after the end of the disk as defined by the user 2008-03-20 22:20:16 +01:00
Christophe Grenier
0bcf5eddc3 Use LIBEWF_VERSION_STRING instead of LIBEWF_VERSION if available 2008-03-20 22:19:00 +01:00
Christophe Grenier
aaf2567e74 Update compile.sh to avoid unnecessary download 2008-03-20 22:16:05 +01:00
Christophe Grenier
fe8333d690 PhotoRec: for JPEG files, extract the time/date from Exif header and set the file time 2008-03-14 09:03:52 +01:00