Commit Graph

131 Commits

Author SHA1 Message Date
Moritz Bunkus
1bf229372e po helpers: don't remove fuzzy flag in orig item if present in updated item, too 2016-07-23 14:20:05 +02:00
Moritz Bunkus
e0c97ab528 format string verification: ignore fuzzy entries 2016-07-11 21:53:14 +02:00
Moritz Bunkus
38b05acd3a translations: mark "0.3%" entry not to contain format strings 2016-07-11 21:52:43 +02:00
Moritz Bunkus
3c2b49200f build: extend format string verification to plurals 2016-07-11 20:59:19 +02:00
Moritz Bunkus
e1862cbc3a build system: ignore one more translatable string in c-format checks 2016-07-10 17:53:56 +02:00
Moritz Bunkus
56af6d1273 update_translations.rb: merge new entries instead of copying the file
That way changes to the source locations won't trigger huge diffs.
2016-05-23 09:31:01 +02:00
Moritz Bunkus
f22fc8b426 update_translation.rb: normalize po file after copying it 2016-04-10 15:22:19 +02:00
KonaBlend
8ae78da74e build system: fix open file leak 2016-04-08 10:39:27 -04:00
Moritz Bunkus
dd54191eba build: accept unchanged strings from Transifex if original is fuzzy 2016-04-02 10:56:06 +02:00
Moritz Bunkus
3c27ccf5d0 Rakefile: optionally include Transifex push/pull targets for languages in -T 2016-03-29 14:57:08 +02:00
Moritz Bunkus
9a2beaca81 build system: add git sub-command to action side of non-verbose output 2016-03-28 17:41:07 +02:00
Moritz Bunkus
9bbe8da474 build system: puts_runq has been refactored to puts_qaction, not puts_vaction 2016-03-28 17:40:48 +02:00
Moritz Bunkus
39f421bffb Transifex pull: use Plural-Forms meta entry from Transifex 2016-03-28 17:36:47 +02:00
Moritz Bunkus
78a561113d build system: puts_runq has been refactored to puts_vaction 2016-03-28 17:34:32 +02:00
KonaBlend
ca686f2ff8 build system: consolidate puts_runq and $verbose 2016-03-28 05:32:00 -04:00
KonaBlend
693de4f112 build system: fix moc dependencies
- fix is a combination of 95c2edd3 and cee1debe progression
- 95c2edd3 masked a cee1debe regression

When pch is enabled we must establish a .moco => .moc dependency
(regressed by cee1debe).

Other changes are cosmetic.
2016-03-27 17:21:58 -04:00
Moritz Bunkus
95c2edd329 build system: fix dependencies for pre-compiled headers
The error was that a dependency was set from the source files to the
pre-compiled header (e.g. src/mkvmerge/mkvmerge.cpp =>
src/common/common_pch.h.pch). The dependency must be for the object
file, though, otherwise the source files will always be considered to be
out of date.
2016-03-26 13:21:59 +01:00
Moritz Bunkus
98e5bda5e9 build system: fix indentation 2016-03-26 13:10:31 +01:00
Moritz Bunkus
7e600c7e70 build system: centralize runq output
That way adjusting to a uniform width is easier.
2016-03-26 12:34:52 +01:00
Moritz Bunkus
8af78d72fc build system: add targets for pushing to Transifex 2016-03-26 12:15:11 +01:00
KonaBlend
cee1debeaf add explicit pch support
- convert gcc to use -include
- add clang support for -include
- new target namespace: pch (invoke rake -T or pch:overview for details)
- move pch logic into rake.d/pch.rb
- convert a few troublesome source files from ISO-8859-1 -> UTF-8
- add persistent config: config.pch.json
- add TTY support for running commands with filters (keeps pretty
  color diagnostics even when filtering compiler stdout/stderr)
- for fun try:

        drake "pch[pretty]"
        drake -j4
        drake pch:status
2016-03-26 03:52:21 -04:00
Moritz Bunkus
9d4098f2da build system: update .po meta info when pulling from Transifex 2016-02-28 16:37:03 +01:00
Moritz Bunkus
c2eb33c261 build system: remove old suggestions when merging updates from Transifex 2016-02-28 15:56:05 +01:00
Moritz Bunkus
64d6ad3c40 build system: add targets for pulling & merging from Transifex 2016-02-28 11:47:01 +01:00
Moritz Bunkus
ede64202c9 build system: Mutex is always required 2016-02-28 11:34:53 +01:00
Moritz Bunkus
9bb97976d6 build system: add target for normalizing all .po files to one format
Pulling and integrating the translation updates from Transifex
will need automation. In order to keep the resulting diffs as
small as possible all files will have to use a unified format.

This code re-writes all po files in that format.
2016-02-28 11:08:00 +01:00
Moritz Bunkus
5d38913181 build system: helper target for pulling from Transifex 2016-02-21 15:19:28 +01:00
Moritz Bunkus
01e6695b8c build system: remove superfluous bin2h functions
This function and the associated rules are leftovers from the
mmg/wxWidgets days.
2016-01-18 21:12:49 +01:00
Moritz Bunkus
d867a79d97 build system: use {EBML,MATROSKA}_{CFLAGS,LIBS} from pkg-config if not internal 2015-11-21 11:56:27 +01:00
Moritz Bunkus
5dde8524e3 Merge branch 'master' of github.com:mbunkus/mkvtoolnix 2015-08-28 19:26:18 +02:00
Moritz Bunkus
6e7d212a45 build system: don't use u flag for ar
Newer ar seem to be built with --enable-dterministic-archives. In that
mode u has no effect, and ar emits a warning. Since u is not really a
speed gain nowadays let's just not use it at all.
2015-08-28 17:49:57 +02:00
Moritz Bunkus
50c600ef84 add_po.rb: move to build/development-tools directory 2015-08-27 22:38:10 +02:00
Moritz Bunkus
f1b2032c79 add_po.rb: add support for tar files 2015-08-23 21:47:04 +02:00
Moritz Bunkus
84c65b1ee6 add_po.rb: support for 7zipRAR archives 2015-08-16 17:32:27 +02:00
Moritz Bunkus
64465ce72b all: remove support for wxWidgets; remove mmg 2015-08-15 20:33:46 +02:00
Moritz Bunkus
ca24089eb4 add_po.rb: support for RAR archives 2015-08-15 08:05:08 +02:00
Moritz Bunkus
58414b1f4f add_po.rb: unlink archive after extraction 2015-07-24 15:36:08 +02:00
Moritz Bunkus
58b79f1c98 add a script for adding po files automatically 2015-07-24 15:19:12 +02:00
Moritz Bunkus
c9fed48fdb build system: function »error« does not existt 2015-07-18 20:21:26 +02:00
Moritz Bunkus
dedcb6455c build system: fix unit test executable names for Windows
Fixes #1318.
2015-06-29 22:20:29 +02:00
Moritz Bunkus
ba3fbeaa14 build system: fix po style adjustment with very long file names
If a path + file name exceeds the wrap length then the translation
update mechanism went into an endless loop. So always output at least
one file, even if the line length limit is violated.
2015-06-26 21:04:15 +02:00
Moritz Bunkus
b4dbc2d5d0 build system: add .exe for unit tests run on Windows
Fixes #1232.
2015-06-04 20:14:07 +02:00
Moritz Bunkus
2bcd1aec8d build system: output tarball file name 2015-05-12 19:23:56 +02:00
Moritz Bunkus
8221f3453c build system: force UTF-8 string encoding when reading source files
The files are encoded in UTF-8. Unfortunately there are situations in
which the environment either has no locale set at all or one that
doesn't use an encoding of UTF-8 (e.g. LC_ALL=C). In such cases Ruby's
default string encoding is set to US-ASCII.

Fixes #1189.
2015-05-11 18:20:50 +02:00
Moritz Bunkus
131b693bca build system: don't rename debian-upstream to debian for dev:tarball* targets 2015-05-09 17:18:37 +02:00
Moritz Bunkus
afb6472d6d build system: use correct order for linker flags for internal libEBML/libMatroska
Should fix #1177.
2015-04-28 13:55:10 +02:00
Moritz Bunkus
1e567156b5 build system: fix version number variable in dev:tarball* targets 2015-04-26 11:31:11 +02:00
Moritz Bunkus
728fb0a307 GUI, mkvinfo GUI: link against Cocoa platform plugin on Mac OS 2015-04-19 19:53:12 +02:00
Moritz Bunkus
577cc0f7cc build system: build pre-compiled headers before MKVToolNix GUI sources 2015-03-31 21:47:11 +02:00
Moritz Bunkus
0bad8270cb build system: fix Ruby warnings
These include:

- assigned but unused local variable
- & interpreted as argument prefix
- ambiguous first argument
- shadowed variables
2015-03-24 13:20:18 +01:00