summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid two logging prompts when using sudo.Christophe Grenier2019-04-291-1/+5
| | | | Close https://github.com/cgsecurity/testdisk/issues/61
* Replace http://www.cgsecurity.org by httpsChristophe Grenier2017-12-021-2/+2
|
* Use explicit function adresses for sighup_hdlr()Christophe Grenier2017-04-151-1/+1
|
* Log zlib versionChristophe Grenier2016-08-281-2/+3
|
* Fixed: disabling curses caused segfaults with /logTobias Dammers2016-06-221-2/+0
| | | | | | | | | | | | 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.
* Fix for various cppcheck warningsChristophe Grenier2016-06-141-0/+1
|
* Do not declare variable use_sudo if SUDO_BIN is undefined (code style)Christophe Grenier2016-06-101-1/+5
|
* Improve English grammar, capitalization, and punctuationAlex Henrie2016-02-221-2/+2
|
* src/phmain.c: constify a variableChristophe Grenier2015-07-091-1/+1
|
* Do not record compilation time by default, will help to get reproductible buildChristophe Grenier2015-05-151-0/+4
|
* Report pdcurses/ncurses library versionChristophe Grenier2015-04-161-4/+4
|
* rename src/pdisksel.c to src/pdiskseln.cChristophe Grenier2014-04-211-1/+1
|
* move log_disk_list() to src/fnctdsk.cChristophe Grenier2014-02-011-59/+54
| | | | return non zero error code in PhotoRec main to signal some errors
* Use the correct value of errno to display a warning when log file creation ↵Christophe Grenier2013-04-271-4/+5
| | | | failed
* If no disk is detected, the user isn't root and TestDisk/PhotoRec are ↵Christophe Grenier2013-04-111-6/+23
| | | | compiled with sudo support, restart using sudo without asking first the user.
* PhotoRec: save current progress every 5 minutesChristophe Grenier2013-03-241-0/+1
|
* Add xml_clear_command_line() functionChristophe Grenier2013-01-191-0/+3
|
* Improve default partition table selectionChristophe Grenier2012-02-251-5/+3
|
* Remove "Allow partial last cylinder" optionChristophe Grenier2011-12-081-2/+1
|
* Use "./configure --disable-dfxml" to disable DFXML featureChristophe Grenier2011-11-151-0/+2
|
* Huge code cleanup for Photorec: reduce the numbers of parameters of some ↵Christophe Grenier2011-08-201-18/+25
| | | | functions
* PhotoRec: use a single parameter to forward the options (code cleanup)Christophe Grenier2011-07-211-7/+16
|
* Log HDD serial number and firmware revisionChristophe Grenier2011-06-301-6/+8
|
* PhotoRec: generates Digital Forensics XML reportChristophe Grenier2011-04-271-0/+3
|
* Add get_compilation_date() and td_jpeg_version() functionsChristophe Grenier2011-04-231-27/+7
|
* PhotoRec: Call reset_list_file_enable() in main() instead of ↵Christophe Grenier2011-03-251-0/+1
| | | | file_options_load_aux()
* PhotoRec: when no partition table is found, default to noneChristophe Grenier2009-11-011-10/+2
|
* Code cleanupChristophe Grenier2009-10-251-5/+3
|
* PhotoRec: print an error if /cmd parameter hasn't been fully processed (work ↵Christophe Grenier2009-08-181-0/+4
| | | | still needed)
* Always include stdio.h before ncurses header and types.hChristophe Grenier2009-06-121-2/+2
|
* "photorec /?" returns the help messageChristophe Grenier2009-05-051-1/+2
|
* Handle Ctrl+CChristophe Grenier2009-04-181-5/+27
|
* code cleanup, fix signed/unsigned warningsChristophe Grenier2009-03-061-2/+2
|
* PhotoRec: Use "Disk identification, please wait..." and "Filesystem ↵Christophe Grenier2009-03-011-1/+1
| | | | analysis, please wait..." messages
* Fix some compilation warningsChristophe Grenier2009-02-031-9/+0
|
* Fix a few memory leaks found using Coccinelle, ↵Christophe Grenier2009-01-291-1/+3
| | | | http://www.emn.fr/x-info/coccinelle/
* Split ncurses text interface from functionsChristophe Grenier2009-01-141-0/+363