Daniel Scharrer
8071f5135a
Improve input/output file error message
13 years ago
Daniel Scharrer
08f5036ec7
Cleanup loading functions
...
- Remove configure-time endianness check
(replaced by run-time check to be optimized out by the compiler)
- Move loading functions into the util namespace
- Only keep the setup header entries we actually need
13 years ago
Daniel Scharrer
29e409fd97
Skip encrypted chunks and print a warning
13 years ago
Daniel Scharrer
fbc214843d
Add a command-line option for the output directory
13 years ago
Daniel Scharrer
09842bcd79
Improve file path conversions
...
Canonicalize paths and strip leading '..' segments so we don't write
anything outside the target directory.
13 years ago
Daniel Scharrer
f6f8fe46e9
Fix extracting large installers with 32-bit builds
...
Or more precisely, installers with compressed chunks or output files
larger than std::streamsize.
13 years ago
Daniel Scharrer
41a61dc0fe
Add support for combining --version with -s and -q
13 years ago
Daniel Scharrer
a795d473db
Fix issues with Unicode filenames under Windows
...
Also, only open the main setup file once.
13 years ago
Daniel Scharrer
a8a228aac7
Improve SYNOPSYS in the man page
13 years ago
Daniel Scharrer
47a2b54f15
Allow --list to be combined with --test/--extract
...
Also, list the files on one line each if --list is combined with
--silent.
13 years ago
Daniel Scharrer
e43155657c
Add support for overwriting argv0 with an env var
...
This is useful for wrapper scripts that want to hide the full path
to the program while only relying on POSIX scripting functionality.
(`exec -a` is a bashism)
13 years ago
Daniel Scharrer
fda922635c
Flush list output after each line if extracting
13 years ago
Daniel Scharrer
1f36d0f2e3
Remove using std:: statements
13 years ago
Daniel Scharrer
24b71da46f
Fix MSVC 9.0 warnings
13 years ago
Daniel Scharrer
70f4cd37ea
Improve error message if input file is a directory
13 years ago
Daniel Scharrer
6e1f4e0388
Always use 64-bit time values internally
...
And warn if a truncating conversion is performed.
13 years ago
Daniel Scharrer
1a986a8709
Fix MSVC 9 build
13 years ago
Daniel Scharrer
a4280c5289
Add an option to set a timezone for timestamps
...
... and to disable setting the timestamps.
See: enhancement #5
13 years ago
Daniel Scharrer
05cac27c11
Set timestamps for extracted files
...
Implements: enhancement #5
13 years ago
Daniel Scharrer
f41d567e32
Use symbolic names for exit codes
13 years ago
Daniel Scharrer
5d9596bea4
Use different exit values for user and data errors
13 years ago
Daniel Scharrer
e656af214e
Mark size_t -> std::streamsize conversions
13 years ago
Daniel Scharrer
1b2a62b714
Update copyright lines for files changed this year
13 years ago
Daniel Scharrer
bb50bffde2
Don't hard-code the license string in the source
...
Read it at compile-time from the LICENSE file.
13 years ago
Daniel Scharrer
a54b579cc3
Add CMake options to disable custom compiler flags
...
* SET_WARNING_FLAGS for warning options (don't affect binaries)
* SET_OPTIMIZATION_FLAGS for compiler & linker optimization options
Also, re-enable some warnings that were disabled and instead suppress
them for the individual occurences.
14 years ago
Daniel Scharrer
f96d8d2311
Rename src/{version => release}.*
...
Otherwise Doxygen cannot differentiate between src/version.hpp and
src/setup/version/hpp.
14 years ago
Daniel Scharrer
7439daba3d
Always use innoextract, never Inno Extract
14 years ago
Daniel Scharrer
1ad13dc19a
Point to -h when no arguments are specified
14 years ago
Daniel Scharrer
5d29acb66e
Avoid unnecessary shell commands with --list
...
While the main --progress output was already hidden with the --list
action, the line was still cleared after every file.
This commit completely disables the progress bar when the --list option
is used.
14 years ago
Daniel Scharrer
78fd5b73fe
Don't say 'Extracting' for --test and --list
14 years ago
Daniel Scharrer
6f2dcefd43
Improve doxygen documentation
14 years ago
Daniel Scharrer
39c4ac9d2e
Remove periods from option lines in --help output
14 years ago
Daniel Scharrer
e486557558
Fix singular/plural logic for the warnings total
14 years ago
Daniel Scharrer
0f0d8e19c5
Don't print opened slices for --quiet and --silent
14 years ago
Daniel Scharrer
fe77ebd2eb
Consistently prefix warning messages
14 years ago
Daniel Scharrer
d50d5da5f7
Improve std::ios_base::failure error messages
14 years ago
Daniel Scharrer
24e8fb45ef
Add singular variants for the error/warning totals
14 years ago
Daniel Scharrer
b8b4f9dd2a
Don't SHOUT.
14 years ago
Daniel Scharrer
4be0e5b159
Allow to only extract files for a specific language.
14 years ago
Daniel Scharrer
e051e13b5e
Include the languages for language-specific files in file listings.
14 years ago
Daniel Scharrer
314885c8c0
Adjust the program return code if there were errors.
14 years ago
Daniel Scharrer
6b50f017fc
Add a man page for the innoextract command.
14 years ago
Daniel Scharrer
8c909b62f3
Add a --license command-line option.
14 years ago
Daniel Scharrer
2e7c94893a
Add copyright information to the help output.
14 years ago
Daniel Scharrer
207763e2ff
Update README.md.
14 years ago
Daniel Scharrer
9e3ef58cbc
Suppress annoying style warnings.
14 years ago
Daniel Scharrer
2dcd8763af
Remove newline output from debug build.
14 years ago
Daniel Scharrer
04a6217f71
Fix style warnings.
14 years ago
Daniel Scharrer
b813ecbe16
Properly handle escape sequences and nested constants in filenames.
14 years ago
Daniel Scharrer
554409ae93
More boost::filesystem fixes.
14 years ago