Commit graph

1503 commits

Author SHA1 Message Date
Christophe Grenier
b7a3d0755f Fix various warning reported by gcc 2013-05-25 13:09:02 +02:00
Christophe Grenier
cf15e5dcd2 PhotoRec: fix regression (crash) in header_check_txt 2013-05-25 12:41:42 +02:00
Christophe Grenier
1ec19820a5 Fix regression introduced in eb3b555b50 2013-05-25 12:40:46 +02:00
Christophe Grenier
8a42ee35cd remove always enabled "interface" parameter from search_part() prototype 2013-05-25 11:20:02 +02:00
Christophe Grenier
08c2109273 TestDisk: Also search for backup boot sector/backup superblock during Quick Search 2013-05-25 10:47:46 +02:00
Christophe Grenier
4a26cd4a96 Fix criteria for FAT backup and ext2/3/4 backup superblock search 2013-05-25 10:45:43 +02:00
Christophe Grenier
2e5855ddd4 New function search_add_hints()
Add hints for NTFS backup
2013-05-25 10:35:04 +02:00
Christophe Grenier
47d35cc076 Remove some dead code in search_part() 2013-05-25 10:31:06 +02:00
Christophe Grenier
f361dc27c9 New function get_min_location() to get the minimal offset of a partition 2013-05-25 09:55:48 +02:00
Christophe Grenier
cc78dbeb38 New function get_location_boundary() 2013-05-25 09:48:48 +02:00
Christophe Grenier
54d9013f6b edit.c: Constify another variable 2013-05-25 09:44:45 +02:00
Christophe Grenier
7bc36ba905 "FAT found using backup sector!" message should be set by recover_FAT(), not by search_FAT_backup() 2013-05-24 08:53:38 +02:00
Christophe Grenier
4553df104b Fix dir_partition_exfat_init() return value 2013-05-24 08:51:48 +02:00
Christophe Grenier
eb3b555b50 Get rid of pread_fast(), it's too error prone 2013-05-24 08:51:29 +02:00
Christophe Grenier
91c4475734 replace tab_insert() by hint_insert() 2013-05-23 09:18:47 +02:00
Christophe Grenier
4985b1d532 Makefile.am: Fix typo 2013-05-22 08:56:29 +02:00
Christophe Grenier
8e83a5bbb3 qphotorec: configure the text when asking for a directory destination 2013-05-22 08:10:24 +02:00
Christophe Grenier
509b3f7136 Compare dir_partition_ntfs_init() return value with enum constant instead of direct value 2013-05-22 08:09:01 +02:00
Christophe Grenier
32962a658c Declare as const some static variables 2013-05-22 08:08:24 +02:00
Christophe Grenier
98d6fb5d1f Enable Qphotorec compilation under cygwin 2013-05-22 08:07:19 +02:00
Christophe Grenier
cdf4608c0f Merge branch 'master' of ssh://git.cgsecurity.org/home/gitcg/public_html/testdisk 2013-05-19 19:38:24 +02:00
Christophe Grenier
52a3073519 QPhotoRec: functional version 2013-05-19 19:36:32 +02:00
Christophe Grenier
eb755fce2d Add graphical ressources for QPhotoRec 2013-05-19 19:33:26 +02:00
Christophe Grenier
767ae08639 photorec(): fix logic when ncurses is missing for an hypotical user stop request 2013-05-19 19:27:55 +02:00
Christophe Grenier
26bdf36adb Fix windows compilation regression introduced in 1471f47a5c 2013-05-19 19:26:20 +02:00
Christophe Grenier
2542701f2e Fix compilation when using mingw c++ 2013-05-19 19:25:43 +02:00
Christophe Grenier
bf83ac2662 Fix memory leak when freeing device 2013-05-19 19:25:18 +02:00
Christophe Grenier
4bf758700f Fix memory leak when freeing device 2013-05-19 16:19:05 +02:00
Christophe Grenier
4699591268 TestDisk, Advanced, List will now always display files or a warning message 2013-05-19 16:13:20 +02:00
Christophe Grenier
ea952b0cc9 ppartsel.c: use init_mode_t instead of int type 2013-05-19 11:11:21 +02:00
Christophe Grenier
68509cae8f fat_dir.c: use fat_method_t instead of int type 2013-05-19 11:08:14 +02:00
Christophe Grenier
64a278f1de fat_adv.c: use fat_status_t and fat_repair_t instead of int type 2013-05-19 11:07:39 +02:00
Christophe Grenier
c52e5e4d6c exfat_dir.c: use exfat_method_t instead of int type 2013-05-19 11:06:47 +02:00
Christophe Grenier
17b7947223 configure.ac: use "gcc -Wunreachable-code" if available 2013-05-19 11:05:58 +02:00
Christophe Grenier
f81999f220 interface_load(): use log_all_partitions() 2013-05-17 17:07:34 +02:00
Christophe Grenier
eb7e36f2e6 menu_disk_cli(): make some variables more local 2013-05-17 17:06:55 +02:00
Christophe Grenier
5d02ff88bb reiser_copy(): remove unread "offset" variable 2013-05-17 17:06:13 +02:00
Christophe Grenier
9bdce047d0 Remove unused function write_stats_stdout() 2013-05-17 17:05:23 +02:00
Christophe Grenier
d34efb0a16 Add missing filesystem check for non partionned media 2013-05-17 17:04:19 +02:00
Christophe Grenier
7681beb13c init_structure_i386(): make some variables more local 2013-05-17 17:03:39 +02:00
Christophe Grenier
96e72ea0e9 get_parent_name(), calc_percentage(): make some variables more local 2013-05-17 17:03:05 +02:00
Christophe Grenier
a0f0f7e9de ntfs_get_attr_aux(): make "attr_type" variable more local 2013-05-17 17:02:39 +02:00
Christophe Grenier
1e548f115b menu_write_ntfs_boot_sector_ncurses(): make "command" variable more local 2013-05-17 17:01:25 +02:00
Christophe Grenier
8a1a00406d Disable menu_to_command() compilation if ENABLE_MOUSE is undefined.
Remove ask_confirmation_with_default() function
wmenuSimple(): make some variables more local
2013-05-17 16:59:23 +02:00
Christophe Grenier
c0613313cb remove screen_buffer_to_stdout() function 2013-05-17 16:57:47 +02:00
Christophe Grenier
c92ae23d4a ask_mbr_order_i386(): make some variables more local 2013-05-17 16:53:27 +02:00
Christophe Grenier
4a47332941 change_geometry_ncurses(): make some variables more local 2013-05-17 16:52:42 +02:00
Christophe Grenier
15526c4410 get_geometry_from_list_part: make "score" variable more local 2013-05-17 16:52:13 +02:00
Christophe Grenier
26b107a08d file_swf.c: disable compilation of some unused code 2013-05-17 16:50:35 +02:00
Christophe Grenier
5debcdc019 file_mov.c: remove unused variable 2013-05-17 16:50:03 +02:00