Christian Schneider
d9f61c65d6
Adjusted help for -n
...
- Making it more clear that conversion is off by default
2017-04-05 16:51:54 +02:00
Christian Schneider
dcc1c648f2
Add parameters for LZMA memory and thread count
...
- Use at least the memory for LZMA preset 1
- Added methods for memory and thread defaults to avoid code duplication
- Fix: Precomp Comfort used invalid Compression_Method as default
- Fix: Use singular if only 1 thread is used
- Fix: precomp_dll.h had use_mp3 declared twice
2017-04-05 16:49:58 +02:00
Christian Schneider
2aab7dffa5
Preparing configurable LZMA max. memory/thread count
2017-04-05 15:30:02 +02:00
Christian Schneider
ea7af5f2fd
Show LZMA block size
2017-04-05 13:44:45 +02:00
Christian Schneider
d1c9ca9f96
Add precomp_xz.h to VS project
2017-04-05 13:04:18 +02:00
Christian Schneider
725f8c381f
Fix two wrong declarations in precomp.h
2017-04-05 13:02:29 +02:00
Christian Schneider
e8e24907e0
Add precomp.h to VS project
2017-04-05 12:59:25 +02:00
Christian Schneider
2112d8be7b
Bump copyright year
2017-04-05 10:57:08 +02:00
Christian Schneider
998e690213
Merge branch 'guptaprince-zlib-1-2-11'
2017-04-05 10:39:35 +02:00
Christian Schneider
baf7d68dd8
Use old Makefile
2017-04-05 10:36:07 +02:00
Christian Schneider
5f2de4844c
Removed unnecessary files
...
Re-added commented gzguts.h modification
2017-04-05 10:23:33 +02:00
Prince Gupta
e647bf7b96
Update README.md
2017-04-03 23:36:17 +05:30
Prince Gupta
88d5081582
update to zlib-1-2-11
2017-04-03 22:06:48 +05:30
Christian Schneider
55f78fd763
Fix garbled output with -nl
...
First percentage (0.00%) is shown after LZMA thread/memory usage now,
like it is in -cl mode
2017-03-28 07:21:10 +02:00
Christian Schneider
f86c9b420e
Improve JPG parsing
...
- fixes JPG part of #52
- improves JPG parsing speed (issue #5 )
2017-03-12 11:00:38 +01:00
Christian Schneider
7d4ab6554c
Fix for MP3 part of #52
...
Incomplete MP3 frames were detected before, now they get discarded, too
2017-03-12 10:11:14 +01:00
schnaader
05a6e77880
liblzma Makefile uses std=gnu99
...
This fixes compile errors on e.g. Ubuntu
2017-02-28 06:48:37 +01:00
Christian Schneider
9ddc049521
Fix for incorrectly restored multi PNGs
...
- Using a signed int instead of an unsigned solves the issue
- Fixes #50
2017-01-02 11:32:08 +01:00
Christian Schneider
67091fcbbd
Fix for slowdown on some files
...
- identical_bytes and compressed_stream_size don't have to be the same
anymore, as for some files they differ although decompressed bytes match
- tolerance for penalty bytes (5*32 bytes)
2017-01-02 11:22:01 +01:00
Christian Schneider
d64c1c55e4
Use -DBIT64 in Makefile, too
2017-01-02 10:03:13 +01:00
Christian Schneider
64a50242d7
Compile 64 bit versions by default
2017-01-02 10:00:47 +01:00
Christian Schneider
b0e9d813b6
Some Makefile changes
...
- make.bat: Use other GCC64/GPP64 defaults
- make.bat and Makefiles: No -fsched-spec-load, older compilers don't
support it
- make.bat and Makefiles: Use -std=c99 and -std=c++11 to make sure
everything compiles correct on different compilers
2017-01-02 09:50:57 +01:00
Christian Schneider
6abf077c27
Merge pull request #47 from jasarsoft/patch-1
...
fix error code C2061
2016-12-29 18:47:29 +01:00
Christian Schneider
db61f2c8e4
Merge branch 'master' into patch-1
2016-12-29 18:47:21 +01:00
Christian Schneider
c06b250ee7
Merge pull request #48 from jasarsoft/jasarsoft-fix-dll
...
fix use_mp3 param
2016-12-29 18:46:01 +01:00
Christian Schneider
b5b971c69f
Merge branch 'master' into jasarsoft-fix-dll
2016-12-29 18:45:31 +01:00
Christian Schneider
942e417a2e
Merge with lzma2 branch
...
Support multi-threaded lzma2 as compression method
2016-12-29 18:38:49 +01:00
Christian Schneider
a7a2b78feb
Show lzma memory usage in MiB
2016-12-29 18:34:34 +01:00
Christian Schneider
28f3a72899
Use multithreaded lzma2 only
2016-12-29 18:31:47 +01:00
Christian Schneider
75c64cc1cb
Disable misleading indendation warnings for packJPG and packMP3
2016-12-29 18:22:42 +01:00
Christian Schneider
fba3d150aa
Remove old LZMA preset code
2016-12-29 18:08:57 +01:00
Christian Schneider
5568734be5
Use the LZMA preset that satisfies memory limits
2016-12-29 18:07:51 +01:00
Christian Schneider
52be43eaa4
Show OS and 32-/64-bit information
2016-12-28 16:52:45 +01:00
Christian Schneider
769bdc3a74
Autodetect number of threads for LZMA
...
- Print memory usage
- Minor changes in compress_easy_mt.cpp (indentation, comments, removing
some unnecessary code)
2016-12-28 11:14:41 +01:00
Christian Schneider
89d6bf423f
Add header files for std::thread support in MinGW
...
- MinGW lacks C++11 threading features out of the box, e.g. see
http://stackoverflow.com/questions/21211980/mingw-error-thread-is-not-a-member-of-std
- Source: https://github.com/meganz/mingw-std-threads
2016-12-25 11:14:05 +01:00
Christian Schneider
2cadccc2ac
"No debug" flag for liblzma
2016-12-21 15:14:58 +01:00
Christian
e85494d8e5
Using CRC implementation in C in Linux, too
2016-11-13 10:09:39 +01:00
Christian Schneider
c9d13408d2
Using the CRC32 implementation in C in make.bat, too
...
- 64-bit version ("make 64") doesn't work with the assembler ones
2016-11-10 13:58:04 +01:00
Christian Schneider
b581197c2b
Renaming bz2_in/out -> otf_in/out
2016-11-09 16:39:33 +01:00
Christian
b2c6919f6e
Tab instead of space
2016-10-24 06:09:53 +02:00
Christian
bb8c8598d8
Now compiles on Linux, too
2016-10-24 06:08:14 +02:00
Christian
df88fd9944
Now compiles on Linux, too
2016-10-24 06:04:32 +02:00
Christian Schneider
206b724858
Finally, a working Visual Studio 2015 solution
...
- Due to C99 used in liblzma, Visual Studio 2013 or higher is needed
(2013 untested, 2015 works)
- Using the CRC32 implementations in C instead of the assembler ones
that won't work
- msinttypes not needed anymore
- .gitignore adjusted
2016-10-19 11:30:54 +02:00
Edin Jašarević
ba4ae833d0
fix use_mp3 param
2016-10-08 20:11:32 +02:00
Edin Jašarević
b62070c4f4
fix error code C2061
...
fix error code C2061 to build dll
2016-10-08 19:43:13 +02:00
Christian Schneider
865a7c85e8
Fixed enum typo
...
Led to a compilation error in comfort version
2016-08-27 12:28:26 +02:00
Christian Schneider
acff85e316
Removing old commented code
2016-07-05 14:37:39 +02:00
Christian Schneider
a75dc543cb
Trying to get the MSVC solution running
...
- inttypes.h is used by liblzma, had to use msinttypes from
code.google.com/p/msinttypes
- There seem to be massive problems with the "inline" keyword
2016-07-02 19:52:42 +02:00
Christian Schneider
5e54296240
Removing VS 2008/2010 solution, Precomf solution
...
- I won't be able to maintain multiple Visual Studio solutions, sorry
- Precomf should be added as build config (using -DCOMFORT) instead of
seperate project
2016-07-02 18:48:46 +02:00
Christian Schneider
fab8c2b488
Enum for on-the-fly compression methods
2016-07-02 18:37:31 +02:00