Commit graph

3257 commits

Author SHA1 Message Date
Christophe Grenier
97f7083ba8 src/apfs_common.c: avoid integer overflow when checking block count. 2023-02-19 09:14:47 +01:00
Christophe Grenier
f13286f198 testdisk, photorec: report iconv usage 2023-02-19 09:11:47 +01:00
Christophe Grenier
593d540676 Merge branch 'gszy_shapefile' to add support for .shp (ESRI Shapefiles) 2023-02-03 15:36:29 +01:00
Christophe Grenier
ca8e5cab23 src/file_shp.c: fix filesize detection.
Add some frama-c annotations
2023-02-03 15:34:55 +01:00
Grzegorz Szymaszek
0151442354 Add basic shapefile (.shp, .shx) support
The shapefile support includes recognition of the magic 0x0000270a and
parsing the file length. The source code is based on the template file
and file_bmp.c.

The shapefile format is described at [1], the article links to other
resources, like the Technical Description[2].

[1]: https://en.wikipedia.org/wiki/Shapefile
[2]: https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf
2023-02-01 22:29:22 +01:00
Christophe Grenier
900207eb4e testdisk and photorec: display disk serial number when selecting source
disk
2023-01-23 21:07:02 +01:00
Christophe Grenier
00f5cff7ca update to 2023 2023-01-23 21:05:27 +01:00
Christophe Grenier
f8b86d4f66 PhotoRec: recover FX Preset .fxp files 2022-11-16 07:49:40 +01:00
Christophe Grenier
1c09ffcb6f new constant SINGLE_PARTITION_TYPE to improve code testing 2022-11-16 07:45:33 +01:00
Christophe Grenier
1c05a14387 src/file_gz.c: compilation fix when zlib is present and SINGLE_FORMAT
enabled.
2022-11-16 07:40:25 +01:00
Christophe Grenier
931421d4df configure.ac: update to November 2022
compile.sh: switch tuxera.com to https
2022-11-16 07:37:42 +01:00
Christophe Grenier
548a12d704 Replace "Select a media (use Arrow keys, then press Enter):" message by
"Select a media and choose 'Proceed' using arrow keys:"
2022-11-16 07:33:02 +01:00
Christophe Grenier
d4df329408 PhotoRec: distinguish Mathcad .mtcx files from .zip 2022-11-16 07:32:21 +01:00
Christophe Grenier
5924496e28 src/dirn.c: new function can_copy_dir() 2022-11-16 07:30:24 +01:00
Christophe Grenier
7a767a3917 Fix for 2038 compatibility 2022-09-10 10:07:50 +02:00
Christophe Grenier
0ae7969c12 src/file_ext.c: fix Array-bounds issue
See bug report: https://github.com/cgsecurity/testdisk/issues/104
Thanks to Daniil Frolov for reporting the problem.
2022-08-11 16:03:41 +02:00
Christophe Grenier
97f517280d PhotoRec: recover PowerArchiver .pa files 2022-07-14 10:17:59 +02:00
Christophe Grenier
ab631fbeff src/file_list.c: reduce number of external definition when SINGLE_FORMAT
is used
2022-07-14 10:13:37 +02:00
Christophe Grenier
4e44db2b46 Improve Frama-C annotations 2022-07-14 10:09:09 +02:00
Christophe Grenier
beaac3153e Update to July 2022 2022-07-14 10:02:36 +02:00
Christophe Grenier
3152a49873 src/file_ptf.c: relax Pro Tools ptf file signature 2022-07-14 09:56:49 +02:00
Christophe Grenier
c83e2b5d31 src/ntfs_adv.c: fix mft_lcn display by casting to "long long unsigned int" 2022-07-14 09:48:41 +02:00
Christophe Grenier
d818cc71ba src/file_exe.c: remove some useless code 2022-07-14 09:43:00 +02:00
Christophe Grenier
e9503f31f6 src/chgtype.c: remove redundant check 2022-07-14 09:32:18 +02:00
Christophe Grenier
0162c86872 src/file_skp.c: remove filesize limit 2022-07-14 09:29:51 +02:00
Christophe Grenier
2260302f98 src/file_sp3.c: rename variable time to file_time to avoid to shadow
time() function
2022-07-14 09:24:27 +02:00
Christophe Grenier
94a14b3585 src/hdaccess.c: make disk_get_sector_size variable local 2022-07-14 09:23:29 +02:00
Christophe Grenier
07a5647f89 src/ext2p.c: remove useless memory allocation 2022-07-14 09:13:18 +02:00
Christophe Grenier
305d71ea0a Use "DISABLED_FOR_FRAMAC" to disable code to facilitate verification
using frama-c
2022-04-13 09:20:45 +02:00
Christophe Grenier
952415ee99 src/partmac.[ch]: Fix mac structure to avoid using pointers 2022-04-10 11:48:51 +02:00
Christophe Grenier
2c2b9e20e7 Fix the build with rpkg-util v3+ 2022-04-08 16:17:43 +02:00
Christophe Grenier
06e053503f Merge branch 'praiskup_rpkg-v3' 2022-04-08 16:16:12 +02:00
Pavel Raiskup
936e5698d9 Fix the build with rpkg-util v3+
Per example from:
https://docs.pagure.org/copr.copr/rpkg_util_2_vs_3.html#rpkg-util-v3
2022-04-08 16:10:36 +02:00
Christophe Grenier
ad93181c16 Move spec files from copr directory to root 2022-04-08 14:35:41 +02:00
Christophe Grenier
baefe2b3e4 Drop "--enable-ncmouse" option from configure script 2022-04-08 13:49:07 +02:00
Christophe Grenier
37286661af pdiskseln.c,phrecn.c,ppartseln.c: disable some code for Frama-C 2022-04-07 20:25:04 +02:00
Christophe Grenier
3dee436027 copr: Build failed on copr.fedorainfracloud.org since rpkg-util has been
updated to v3. Update spec files to try to fix the problem.
2022-04-06 13:29:33 +02:00
Christophe Grenier
2b0a0fcde8 src/ntfs_io.c: fix ntfs_device_testdisk_io_ioctl() prototype for ntfs-3g 2022-04-06 07:43:45 +02:00
Christophe Grenier
e6c21a9bb4 Avoid field with a 0 size as Frama-C do not support them. 2022-04-06 07:42:41 +02:00
Christophe Grenier
37d1b8ce36 src/qmainrec.cpp: log "QPhotoRec exited normally" when QPhotoRec is
closed.
2022-04-05 13:40:22 +02:00
Christophe Grenier
a0ce30c162 src/qphotorec_locale.qrc: fix for f599c961a0 2022-04-05 13:39:02 +02:00
Christophe Grenier
f599c961a0 QPhotoRec: add Finnish translation from https://www.transifex.com/cgsecurity/testdisk/qphotorects/ 2022-03-26 12:03:31 +01:00
Christophe Grenier
9c1658657a Merge branch 'patch-1' of https://github.com/mb720/testdisk 2022-03-26 11:47:54 +01:00
Christophe Grenier
1b8f211d4a PhotoRec recover
- fbx: Kaydara 3D file
- hdf: Hierarchical Data Format 5
- lz: lzip compressed file
2022-03-24 13:31:17 +01:00
Christophe Grenier
4b93bbcc15 README.md: It's better to consult the documentation than starting the
try to build from source.
2022-03-24 13:26:52 +01:00
Christophe Grenier
4d988b1c2f Stops if argc <= 0 2022-01-27 09:04:41 +01:00
Matthias Braun
b48e36f841
Fix typos in README.md 2022-01-09 13:48:25 +01:00
Christophe Grenier
61f7103e0d man: fix zh_CN version 2021-12-28 16:13:36 +01:00
Christophe Grenier
6eb56cb407 Merge branch 'jwilk-forks-man' 2021-12-28 16:06:33 +01:00
Jakub Wilk
c712b39c42 man: fix formatting in SEE ALSO sections 2021-12-27 18:22:14 +01:00