13
0
Go to file
Mads Kiilerich 27acda4ccd wscript: the i18n class names do not define the i18n waf command names
Try to make it a bit more clear what is going on with class and def for
i18n commands.

It was confusing that we first defined i18n classes in the beginning of
the wscript file, and then replaced them with "plain" functions with the
same name at the end. pyflakes also didn't like it.

It seemed magic. The i18n functionality easily broke if trying to touch
that. It deserves an explanation to make it maintainable ... and some
cleanup.

Simple functions in the top level wscript file are generally exposed as
custom waf commands. The command will have the same name as the function
and will get a plain Context. But that simple method doesn't work for
these i18n commands. They have to be declared in a different way with a
custom BuildContext, as seen and described in the comment.

The name of the BuildContext classes doesn't matter, so we change the
name to avoid the name collision and to give a hint how they actually
just are contexts for the commands - they are not the command itself. We
also place the classes next to the corresponding functions so it is more
obvious that they are related.
2024-10-20 19:52:14 -06:00
doc Doxygen: disable collaboration diagrams 2024-09-04 01:22:37 +02:00
gtk2_ardour wscript: fix whitespace formatting 2024-10-20 19:52:14 -06:00
headless Reduce reliance on boost - the hard part 2024-10-19 03:47:21 +02:00
libs wscript: fix whitespace formatting 2024-10-20 19:52:14 -06:00
luasession Reduce reliance on boost - the hard part 2024-10-19 03:47:21 +02:00
msvc_extra_headers
MSVCardour3 Drop some unused files - avoid trying to maintain stuff that can't be tested 2024-10-20 03:11:53 +02:00
MSVCMixbus3
MSVCvst_scan
session_utils Reduce reliance on boost - the hard part 2024-10-19 03:47:21 +02:00
share fix yet more cases where SMF are imported and named incorrectly 2024-10-15 22:35:04 -06:00
tools Add tool to reduce relince on boost 2024-10-19 03:40:01 +02:00
.dir-locals.el
.gitattributes
.gitignore Ignore files generated by macOS packaging 2024-07-23 17:01:16 +02:00
ardour.1
COPYING
nutempo-todo
PACKAGER_README
README
README-GITHUB.txt
system_config
TRANSLATORS Update translation howto 2023-09-24 19:58:25 +02:00
waf upgrade waf to 2.0.26 (includes new autowaf.py version) 2023-09-23 12:09:52 -06:00
wscript wscript: the i18n class names do not define the i18n waf command names 2024-10-20 19:52:14 -06:00

Please see the Ardour web site at https://ardour.org/ for all documentation..

For information on building ardour: 
      
     https://ardour.org/development.html