Dylan Baker
4334c96062
Provide a helpful message when a language is required but not included
...
This happens when building a C project with LLVM, which requires the C++
linker.
8 years ago
Dylan Baker
ad79db8f0a
Add some FIXME comments to wxwidgets dependency.
8 years ago
Dylan Baker
5f1b96a076
docs: Update SharedLibrary vs_module_defs accepts a File object
8 years ago
Jussi Pakkanen
8cb15d728b
Merge pull request #1723 from QuLogic/doc-updates
...
Minor documentation updates
8 years ago
Jussi Pakkanen
108dac5c16
Store extra_files as file objects. Helps with #1686 .
8 years ago
Elliott Sales de Andrade
f9de195d7c
doc: Replace kwarg with keyword argument.
...
This abbreviation is a Python-ism that is not really clear to those out
of the loop.
8 years ago
Elliott Sales de Andrade
40d7704cd5
doc: Use https links wherever possible.
8 years ago
Elliott Sales de Andrade
ac74b76c33
doc: Fix broken Linux binary page.
...
All the dashes were replaced by spaces.
8 years ago
Elliott Sales de Andrade
4ba298613d
doc: Don't use root-prompt in wraptool examples.
...
A `#` is the root-prompt, whereas `$` is the user-prompt.
8 years ago
Elliott Sales de Andrade
f3ad633f55
doc: Fix several minor typos.
8 years ago
Elliott Sales de Andrade
b80d40c287
doc: Capitalize things more consistently.
...
Upper or lower case depending on the official spelling, or the more
consistent usage.
8 years ago
Elliott Sales de Andrade
492e281c0e
doc: Remove duplicate design rationale page.
8 years ago
Jussi Pakkanen
8f49764896
Merge pull request #1717 from valum-framework/fix-descriptions-for-ninja-backend
...
ninjabackend: Use more consistent descriptions
8 years ago
Jussi Pakkanen
0e3aa5a348
Merge pull request #1587 from mesonbuild/tingping/msgfmt-datadir
...
i18n: Improve data_dirs support
8 years ago
Jussi Pakkanen
2bb03f19fd
Merge pull request #1725 from whot/master
...
documentation fixes
8 years ago
Jussi Pakkanen
33b79dcf25
Kill RawFile dead!
8 years ago
Peter Hutterer
276d342eba
docs: replace 'meson build' with 'meson builddir'
...
Clarifies that this is really just a directory, not a command.
https://github.com/mesonbuild/meson/issues/1560
8 years ago
Peter Hutterer
7ec6e6df20
docs: add a short description for all top pages in the Manual
8 years ago
Peter Hutterer
71f0a63fb2
docs: fix link to file a new issue
8 years ago
Peter Hutterer
ea127d5594
docs: fix missing build directory
8 years ago
Peter Hutterer
aed341f7e5
docs: fix links to the meson repos
8 years ago
Elliott Sales de Andrade
a96d79cc00
ninjabackend: Don't pluralize twice custom target cleaning description
8 years ago
Guillaume Poirier-Morency
820fc8ee24
ninjabackend: Fix implicit comment for 'C#' rule description
8 years ago
Guillaume Poirier-Morency
253201d9bf
ninjabackend: Add a set of raw names
8 years ago
Patrick Griffis
a6775233c7
docs: Document missing gnome.compile_resources() kwargs
8 years ago
Jussi Pakkanen
9d69c934d6
Expand input paths so they do not contain symlinks.
8 years ago
Dylan Baker
a8173630ea
Don't use len() to test emptiness vs not emptiness
...
Meson has a common pattern of using 'if len(foo) == 0:' or
'if len(foo) != 0:', however, this is a common anti-pattern in python.
Instead tests for emptiness/non-emptiness should be done with a simple
'if foo:' or 'if not foo:'
Consider the following:
>>> import timeit
>>> timeit.timeit('if len([]) == 0: pass')
0.10730923599840025
>>> timeit.timeit('if not []: pass')
0.030033907998586074
>>> timeit.timeit('if len(['a', 'b', 'c', 'd']) == 0: pass')
0.1154778649979562
>>> timeit.timeit("if not ['a', 'b', 'c', 'd']: pass")
0.08259823200205574
>>> timeit.timeit('if len("") == 0: pass')
0.089759664999292
>>> timeit.timeit('if not "": pass')
0.02340641999762738
>>> timeit.timeit('if len("foo") == 0: pass')
0.08848102600313723
>>> timeit.timeit('if not "foo": pass')
0.04032287199879647
And for the one additional case of 'if len(foo.strip()) == 0', which can
be replaced with 'if not foo.isspace()'
>>> timeit.timeit('if len(" ".strip()) == 0: pass')
0.15294511600222904
>>> timeit.timeit('if " ".isspace(): pass')
0.09413968399894657
>>> timeit.timeit('if len(" abc".strip()) == 0: pass')
0.2023209120015963
>>> timeit.timeit('if " abc".isspace(): pass')
0.09571301700270851
In other words, it's always a win to not use len(), when you don't
actually want to check the length.
8 years ago
Guillaume Poirier-Morency
ce2e36fd6e
ninjabackend: Fix typography for JAR and C# in descriptions
8 years ago
Guillaume Poirier-Morency
f16232856e
ninjabackend: Use 'custom targets' instead of 'CustomTarget' in description
...
The build definition is basically cleaning all the directories of all
custom targets.
8 years ago
Guillaume Poirier-Morency
91dc6a60df
ninjabackend: Don't quote descriptions
8 years ago
Guillaume Poirier-Morency
3afc44973d
ninjabackend: Use more consistent descriptions
...
Use a titlecase for arbitrary language, this was we don't have 'C' in
lowercase.
Rename 'Static linking library $out' for 'Linking static target $out.'.
Add missing punctuation.
8 years ago
Gabríel Arthúr Pétursson
ae924b01a0
docs: s/no tbe/not be/
8 years ago
John Gallagher
de762feb87
Fix typo in Generating-sources.md
...
First `custom_target` example was missing a closing `'`.
8 years ago
Corey Ashford
d6dfc94188
Update Overview.md
...
fix typo
8 years ago
Jussi Pakkanen
b65b9fe271
More strict eval.
8 years ago
Jussi Pakkanen
6d1ba44396
Merge pull request #1661 from QuLogic/test-cases
...
Test case unique-ification
8 years ago
Ernestas Kulik
1c8ac8fd6d
docs: replace occurences of set_install_script()
...
The method has been replaced with add_install_script().
Signed-off-by: Ernestas Kulik <ernestas.kulik@gmail.com>
8 years ago
Elliott Sales de Andrade
8706d7d098
Warn when directory numbers are non-unique.
8 years ago
Elliott Sales de Andrade
faf0ce96e2
Rename tests with duplicate numbers.
8 years ago
Elliott Sales de Andrade
59c5955169
Shorten detect_tests_to_run.
...
Remove some duplication with a list comprehension, and invert conditions
instead of long ternary statements.
8 years ago
Mike Gilbert
76d0b833e3
Add myself to authors.txt
8 years ago
Mike Gilbert
69e20735d5
setup.py: install scripts from build_dir
...
This ensures the installed scripts will have updated shebangs.
Fixes: https://github.com/mesonbuild/meson/issues/1677
8 years ago
Jon Turney
5d24d16abd
Don't prefix appveyor build number with a meaningless '1.0'
8 years ago
Paolo Borelli
83c5c738dd
Try to be locale-independent when we match VS output
...
Different locales have a different number of ':' in the string
we want to match. Closes #1639 .
8 years ago
Wade Berrier
d542b2c0cc
deps: boost: add some documentation about environment variables
8 years ago
Wade Berrier
f2465e6545
dependencies: qt: qmake method: prefer QT_HOST_BINS over QT_INSTALL_BINS
...
When cross compiling and looking for moc/uic/rcc you really want the
host binary.
Still fall back to QT_INSTALL_BINS as it appears that's the only
variable available with qt4.
8 years ago
Patrick Griffis
78edc58153
docs: Add data_dirs to i18n.merge_file()
8 years ago
Patrick Griffis
12504b2385
i18n: Fix handling relative data_dirs
8 years ago
Patrick Griffis
82492f5d76
i18n: Add data_dirs kwarg to merge_file()
...
For parity with gettext()
Fixes #1565
8 years ago
Thibault Saunier
3e2c3c9ff0
docs: Fix link to QT5 in the navbar
8 years ago