Daniel Scharrer
0777efd4a7
Use fixed-size type for permission entry indices
12 years ago
Daniel Scharrer
9dd92a3a00
setup::data: Merge file_version_{ms,ls}
12 years ago
Daniel Scharrer
18581b37ad
Tweak debug output
12 years ago
Daniel Scharrer
872e0ca691
List all skipped files in encrypted chunks
12 years ago
Daniel Scharrer
6f5befccd9
loader: Add support for NE executables
...
Also add functions to get the file version number from NE, LE and PE
binaries.
12 years ago
Daniel Scharrer
bdbea8ec91
Initialize all members in the expression evaluator
12 years ago
Daniel Scharrer
3a3de6114f
Use BOOST_FOREACH in exereader
12 years ago
Daniel Scharrer
d89e97397d
Remove obsolete Windows-specific time code paths
12 years ago
Daniel Scharrer
869dc4b26d
Implement time functions using Win32 API directly
...
Fixes innoextract not being able to launch on Windows XP.
12 years ago
Daniel Scharrer
ac92d0e213
Fix typo in comment
12 years ago
Daniel Scharrer
aa444bcfb9
Fix warnings with older Boost version
...
Apparently boost::size(array) used to be signed :(
13 years ago
Daniel Scharrer
6d49eb14cc
'Fix' a style warning
...
Warning was bogus, but meh.
13 years ago
Daniel Scharrer
0102716ca4
Move alignment functions out of types.hpp
13 years ago
Daniel Scharrer
43507ffac9
Rename util.hpp to math.cpp
...
And get rid of ARRAY_SIZE completely.
13 years ago
Daniel Scharrer
26989e65bd
Replace ARRAY_SIZE with boost::size where possible
...
Remaining uses need a constexpr value.
13 years ago
Daniel Scharrer
eb82c77944
Avoid variable reassignment
...
One small commit a day keeps the static analyzers away.
13 years ago
Daniel Scharrer
193360a947
Move setup::evaluator to an anonymous namespace
...
Is only used in expression.cpp
13 years ago
Daniel Scharrer
df4c7e4e4c
Remove default_value element from flag mappings
...
Flags don't need a default value and smart compilers have started to
notice that...
13 years ago
Daniel Scharrer
bdba4788b4
Update cpplint.py to version 0.0.3
13 years ago
Daniel Scharrer
e6117a74ff
Fix MSVC warning about an unreferenced variable
13 years ago
Daniel Scharrer
cceec56548
[cppcheck] Initialize members of setup::version
13 years ago
Daniel Scharrer
6c413c1c55
[cppcheck] Prefer prefix increment for iterators
13 years ago
Daniel Scharrer
bf811a523c
[cppcheck] Catch exceptions by reference
13 years ago
Daniel Scharrer
3c6ff670a2
[cppcheck] Fix style warning
13 years ago
Daniel Scharrer
efa666711a
Fix a Clang warning (remove double negative)
13 years ago
Daniel Scharrer
446cc540e9
Fix typo in comment
13 years ago
Daniel Scharrer
0648167cad
Abort early if we could not open slice files
...
This changes some manual error checks to exceptions, allowing for better
error messages.
13 years ago
Daniel Scharrer
7d7e78d83e
Tweak error messages
13 years ago
Daniel Scharrer
b87d69182a
Fix an infinite loop with truncated LZMA streams
13 years ago
Daniel Scharrer
507f4c178f
Fix restoring original console color under Windows
13 years ago
Daniel Scharrer
a144d3fff0
Fix flickering progress bar under Windows
13 years ago
Daniel Scharrer
9e40d651cb
Don't set the background color under Windows
...
... unless the current background color is too bright.
13 years ago
Daniel Scharrer
b52c4a0699
Fix crash on startup under Windows
...
Don't assume that the runtime initializes the __wargv global variable.
13 years ago
Daniel Scharrer
2da68de0eb
Add missing <ios> #include
13 years ago
Daniel Scharrer
8096ee4791
Fix typo in comment
13 years ago
Daniel Scharrer
bda3ed4656
Output error summary to stderr for --quiet
13 years ago
Daniel Scharrer
f9d0dbe790
Support forward slashes in stored paths
...
They may not be common, but technically Windows supports them.
13 years ago
Daniel Scharrer
1c8777fece
Add more (thread-safety) documentation
13 years ago
Daniel Scharrer
d64b43a44c
Use an unordered_map for converters, add typedefs
13 years ago
Daniel Scharrer
d2cf3bd7f8
Fix documentation typos and bad references
13 years ago
Daniel Scharrer
46f052be34
Add missing <iostream> #include to debug.cpp
13 years ago
Daniel Scharrer
b55fae2770
Fix integer conversion warnings with gcc 4.3
13 years ago
Daniel Scharrer
9b6502061a
Update copyright lines in files changed this year
13 years ago
Daniel Scharrer
1de0483405
Use C++11 alignof(type) if available
13 years ago
Daniel Scharrer
f5dd857634
Fix Doxygen references
13 years ago
Daniel Scharrer
5a678b88f5
Add C++11 feature checks
13 years ago
Daniel Scharrer
ada1415927
Don't mix class and struct
13 years ago
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
02c98718de
Remove unneeded <iostream> includes
...
In some implementations of the C++ standard library just including
<iostream> in a TU can add a runtime overhead to the program startup.
13 years ago