Moritz Bunkus
17eb6205e0
Rakefile: add task for dumping a task's dependencies
2018-01-01 11:02:38 +01:00
Moritz Bunkus
f22fc8b426
update_translation.rb: normalize po file after copying it
2016-04-10 15:22:19 +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
KonaBlend
ca686f2ff8
build system: consolidate puts_runq and $verbose
2016-03-28 05:32:00 -04: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
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
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
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
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
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
Moritz Bunkus
8b22523e55
build system: multiple sources in one line in Swedish translation file
2015-03-24 13:14:55 +01:00
Moritz Bunkus
da54691975
man page translations: fix format
...
po4a-translate requires empty lines at precisely the right places in
order to recognize entries.
Fixes #1134 .
2015-02-27 18:51:40 +01:00
Moritz Bunkus
7ce1885173
Build system: don't word-wrap Turkish .po file
2014-08-24 14:40:12 +02:00
Moritz Bunkus
f6b4a41ded
build system: adjust nl translation to translator's poedit style
2014-06-11 08:17:58 +02:00
Moritz Bunkus
aeb65b3caa
build system: adjust to poedit style for Basque translations
2014-04-28 20:33:18 +02:00
Moritz Bunkus
1ea5a2f8c9
Build system: adjust po settings for Polish translator's poedit
2014-04-18 09:16:29 +02:00
Moritz Bunkus
2f97945b15
build system: adjust Ukrainian translation files format
2014-03-22 09:25:27 +01:00
Moritz Bunkus
2d3be2275f
build system: use tighter dependencies for Qt files
2014-02-01 23:43:57 +01:00
Moritz Bunkus
4d946f05e1
Merge branch 'master' into mkvtoolnix-gui
2014-01-17 16:49:54 +01:00
Moritz Bunkus
3d015db49b
build system: convert bin2h call from Ruby executable to built-in function
2014-01-01 21:41:01 +01:00
Moritz Bunkus
1e8b9e8540
Rake: Helper method for debugging dependency issues
2013-12-30 19:35:25 +01:00
Moritz Bunkus
17562886a6
build system: reformat certain po files to match poedit's current output
2013-12-29 00:29:28 +01:00
Moritz Bunkus
06c07a0906
Rakefile: task for cleaning just the unit tests
2013-07-04 23:11:44 +02:00
Moritz Bunkus
cdc7dddb90
Avoid warning from Ruby 1.8.7
2012-04-26 15:58:35 +02:00
Moritz Bunkus
380f75df72
Fix dependency file name clashes; ignore not existing dependencies; use simpler format
2012-04-11 16:48:15 +02:00
Moritz Bunkus
f4721c599c
Don't shell out for :clean target
2012-04-09 16:32:46 +02:00
Moritz Bunkus
e1a499f3a2
Move temporary dependency files to a temporary directory
2012-03-18 10:57:43 +01:00
Moritz Bunkus
9cc37dd272
Abort drake if xsltproc finds a logical error (like wrong link targets)
2012-02-25 15:05:14 +01:00
KonaBlend
2ecf2e2f46
optimize rake deps to exclude absolute paths
...
- exclude absolute pathnames from rake.d/dependency.d/ content
- improve readability of content files: 1 file per line
- content size and dependencies reduced from 3.3MB --> 0.9MB
- time to perform rake on built tree reduced from 2200ms to 500ms
2011-12-10 17:41:24 +01:00
Moritz Bunkus
f4dcb7b33d
Translation files: always write the same style as poedit
2011-10-13 20:57:49 +02:00
Moritz Bunkus
82e37f12f4
Every object has .to_a, but it will be obsolete soon
2010-09-23 15:46:50 +02:00
Moritz Bunkus
b8b0739c00
Fix regex for dependency file analysis
...
On msys there are : in the file names, e.g. c:/msys/....
2010-08-04 22:49:27 +02:00
Moritz Bunkus
05573e2060
Use temp files and explicit invocation of /bin/sh on mingw
2010-08-02 23:06:48 +02:00
Moritz Bunkus
607cc79465
Only use Mutexes if Ruby knows about them (Ruby 1.8.6 issue)
2010-08-01 22:06:53 +02:00
Moritz Bunkus
32ac14b391
Tasks for creating HTML files from man pages
2010-08-01 11:12:44 +02:00
Moritz Bunkus
249e819eb6
manpage translation update targets
2010-08-01 11:12:44 +02:00
Moritz Bunkus
385f86228f
Install tasks
2010-08-01 11:12:44 +02:00
Moritz Bunkus
8d7fc2723b
Enable dependecies
2010-08-01 11:12:43 +02:00
Moritz Bunkus
bbf395afbd
Split up the Rakefile into smaller units
2010-08-01 11:12:43 +02:00