Commit Graph

5504 Commits

Author SHA1 Message Date
KonaBlend
19a62aa4b0 darwin11: support minimal boost tree
Add build support for a minimal boost tree which contains only
filesystem, regex and system dynamic libraries plus all headers.

- merge latest autoconf macros for boost from autoconf archive
- patch { filesystem, regex, system } macros to detect .dylib suffixes

- platform: Mac OS X 10.7.2
- boost versions: 1.47.0, 1.48.0
- compiler: gcc-4.6.2
2011-12-04 07:41:44 -05:00
Moritz Bunkus
6989ff48c6 Merge pull request #8 from nmaier/add_read_buffer_eof
read_buffer_io: Keep track of eof
2011-12-04 00:13:49 -08:00
Nils Maier
381367d4db read_buffer_io: Keep track of eof
Since read_buffer_io basically prevents the underlying stream from ever
reaching eof, but some consumers actually check for eof instead of
`req_bytes != read(req_bytes)`, read_buffer_io must keep track of the
eof state itself.
Fixes e.g. SSA reading.

Signed-off-by: Nils Maier <maierman@web.de>
2011-12-04 02:11:56 +01:00
Nils Maier
4795dc3b1f Windows: fix errormode
By default Windows will pop up that nasty "Send Information" dialog when
the application crashes. This will feed some information back to MS, if
the user confirms, but has no real added value. Instead, it breaks batch
processing, as that dialog requires user interactions.
Therefore disable this cruft.

Signed-off-by: Nils Maier <maierman@web.de>
2011-12-04 00:09:48 +01:00
Moritz Bunkus
30c65fbb2a Merge pull request #6 from nmaier/buffers-seeking-fix
Fix buffered seeking
2011-12-03 14:56:18 -08:00
Nils Maier
5f01919ee7 Fix buffered seeking
Signed-off-by: Nils Maier <maierman@web.de>
2011-12-03 23:49:58 +01:00
Moritz Bunkus
1b588b0d17 Cosmetics
* Rename function parameter names
* Indentation
* C-style casts
* Variable types
* Alignment
2011-12-03 21:21:21 +01:00
Moritz Bunkus
1827f2ac7e Split up mm_buffered_io.h and rename mm_[rw]buffer_io_c to mm_{read,write}buffer_io_c 2011-12-03 21:11:00 +01:00
Moritz Bunkus
f21f99f706 Merge remote-tracking branch 'refs/remotes/nmaier/buffers'
Conflicts:
	src/common/command_line.cpp
2011-12-03 21:01:11 +01:00
Moritz Bunkus
13a0d74b5f Re-add Roberto Boriotti's name to the it.po file as one of the translators 2011-12-03 20:53:51 +01:00
Moritz Bunkus
b9104f2f99 Make resource files depend on the icons 2011-12-03 20:41:38 +01:00
Moritz Bunkus
a30b419e50 Add new icons for mmg and mkvinfo's GUI 2011-12-03 20:31:32 +01:00
Nils Maier
728701a7b7 merge: fix up input file buffer sizes
* Use buffers of size 1<<17 (128KB) for reading
* Probe the first 32MB

Signed-off-by: Nils Maier <maierman@web.de>
2011-12-03 18:53:07 +01:00
Nils Maier
e89cadaf3b Rewrite IO buffered streams
* Drop *_cache and settle for (r|w)buffer
* Merge *_cache headers into mm_buffered_io.h
* Drop the probe_cache stuff in favor of rbuffer
* (Re-)Write the rbuffer to fully support reading whole streams and
  random access mode, i.e. make it an actual proxy_io that just layers
  buffering on top of a random io_c.
* Optimize large write requests in wbuffer

Signed-off-by: Nils Maier <maierman@web.de>
2011-12-03 18:52:49 +01:00
Moritz Bunkus
7238252db6 ChangeLog update 2011-12-03 16:49:24 +01:00
Moritz Bunkus
9123e3d87a Convert mmg's header editor to kax_analyzer_c's smart pointer interface
Also partial bug fix for bug 679 due to partial memory leak fix
2011-12-03 16:24:22 +01:00
Moritz Bunkus
db9f0bd250 Convert mmg's chapter editor to use smart pointers 2011-12-03 16:23:06 +01:00
Moritz Bunkus
8a7979897e Change kax_analyzer_c's interface to return smart pointers 2011-12-03 16:20:48 +01:00
Moritz Bunkus
4f3c893ddc Add "operator bool()" to counted_ptr<> 2011-12-03 16:20:22 +01:00
Moritz Bunkus
119f3df121 Add several test cases for mkvpropedit 2011-12-03 16:09:55 +01:00
Moritz Bunkus
50861d42b4 Add support for "--engage no_variable_data" in all tools 2011-12-03 16:03:13 +01:00
Moritz Bunkus
2b5ec42425 Add function for running mkvpropedit in tests easily 2011-12-03 15:07:24 +01:00
Moritz Bunkus
f4e6a17a2c Re-run test 315 with the locales for uk_UA.UTF-8 available 2011-12-02 21:15:20 +01:00
Moritz Bunkus
5f02cab8f2 Fix running the tests on Mac OS 2011-12-02 21:15:06 +01:00
Moritz Bunkus
4769c129cc Merge pull request #4 from nmaier/mingw-w64-build-fixes
mingw-w64: fix missing GUID_* defines
2011-11-29 23:58:34 -08:00
Nils Maier
0ffdc8aaec mingw-w64: fix missing GUID_* defines
... by copying the definitions from mingwrt32
2011-11-29 22:59:30 +01:00
Moritz Bunkus
fec28879c0 Depend on file-devel on Fedora Core, not on file 2011-11-28 23:51:07 +01:00
Moritz Bunkus
72c5d20f8f ChangeLog update 2011-11-28 23:03:10 +01:00
Moritz Bunkus
ac245bfaad Fix timecode handling for MPEG TS with video packets without timecodes 2011-11-28 22:59:18 +01:00
Moritz Bunkus
3a6dc5b5ec Replace my own "does directory exist?" implementation with boost::filesystem::path 2011-11-28 22:24:15 +01:00
Moritz Bunkus
4c01e66dd3 Replace my own directory creation code with boost::filesystem::path 2011-11-28 22:09:56 +01:00
Moritz Bunkus
34dc95ac3f Don't require libEBML and libMatroska to be present 2011-11-27 22:49:47 +01:00
Moritz Bunkus
c123fbfe41 Set release code name, version number; add release message 2011-11-27 20:47:50 +01:00
Moritz Bunkus
c8d79c85ed Intentional update due to 00d5c1e 2011-11-27 20:42:24 +01:00
Moritz Bunkus
00d5c1e19e Fix timecode handling for MPEG TS with unexpected packet structure
If there was no start packet or a start packet without a timecode
between two calls for processing the packet then the track's stored
timecode was converted from 90Hz base to ns base more than once
resulting in huge timecodes in the output file.
2011-11-26 21:50:07 +01:00
Moritz Bunkus
58e85ca882 Fix demuxer info not showing for MPEG TS files 2011-11-26 21:13:50 +01:00
Moritz Bunkus
8f40f558a9 Update libEBML and libMatroska dependencies in spec files 2011-11-26 12:58:57 +01:00
Moritz Bunkus
f39742e521 Delete old OpenSuSE spec files; introduce spec file for OpenSuSE 12.x 2011-11-26 12:56:25 +01:00
Moritz Bunkus
25adcbf1d1 Update libebml and libmatroska to SVN revision 825 2011-11-25 23:37:10 +01:00
Moritz Bunkus
7d87d5103f Fix several gcc warnings occurring with -Wextra
Warnings fixed are:

- warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
- warning: unused parameter ... [-Wunused-parameter]
- warning: comparison is always true due to limited range of data type [-Wtype-limits]
2011-11-25 15:42:33 +01:00
Moritz Bunkus
8a329b8901 Declare required privilege levels on Windows
Fix for bug 676.
2011-11-24 00:51:51 +01:00
Moritz Bunkus
afd858a675 Declare explicit dependency on manifest.xml for resources.rc 2011-11-24 00:50:00 +01:00
Moritz Bunkus
288f68e65c Rename mmg-resources.rc to resources.rc
Now the file name matches for all executables.
2011-11-24 00:49:44 +01:00
Moritz Bunkus
abfc46fdee Make mmg and mkvinfo's GUI DPI aware on Windows 2011-11-24 00:25:33 +01:00
Moritz Bunkus
8f4d9827d0 Declare VERSIONINFO language as English in Windows resource files 2011-11-23 23:27:47 +01:00
Moritz Bunkus
36c0af2d77 Add DPI-awareness to mmg's manifest 2011-11-23 22:29:56 +01:00
Nils Maier
0ed70ebbb4 Rake: Fix missing end_if calls
Fixes mingw builds sans GUI
2011-11-23 20:44:11 +01:00
Moritz Bunkus
f6ac546fbb Fix building mkvinfo's resource file if GUIs are disabled 2011-11-23 20:30:00 +01:00
Moritz Bunkus
ed485c4b2b Fix building mkvpropedit for Windows if GUIs are disabled 2011-11-23 20:23:25 +01:00
Moritz Bunkus
502bf83d66 Fix compilation on mingw 2011-11-23 14:59:33 +01:00