Dylan Baker
3a688dc4b7
Implement difference method for OrderedSet
...
This implementation is obvious rather than efficient, but it's efficient
enough for our uses I think. It uses `type(self)` to guarantee that it
works even in subclasses or if the name of the class changes.
8 years ago
Dylan Baker
93187797d6
Fix OrderedSet `__repr__` protocol for non-string objects
...
Prefer using `repr` on the keys to `str` since `repr` is guaranteed to
be implemented, and will return something "good enough"
8 years ago
Günther Wutz
63c4c54a64
Updated gnome module command
8 years ago
Nirbheek Chauhan
333085160d
run_command: Refactor + improve errors and test
...
Refactor to use ExternalProgram for the command instead of duplicating
that code (badly). Also improve messages to say "or not executable"
when a script/command is not found.
Also allow ExternalPrograms to be passed as arguments to
run_command(). The only thing we're doing by preventing that is
forcing people to use prog.path()
8 years ago
Nirbheek Chauhan
b1df1a2bec
run_command: accept built File objects too
...
The file will always exist by the time run_command() is invoked, so
there is no reason why we should forbid it. Also allow using File
objects as the command to run since strings are also allowed.
8 years ago
Jussi Pakkanen
69c5931a8d
Merge pull request #1657 from QuLogic/ninja-escape
...
ninja: Fix quoting newlines and $
8 years ago
Elliott Sales de Andrade
f9708cf1ba
Add release note about ninja character escaping.
8 years ago
Elliott Sales de Andrade
bbcf0c0550
Serialize CustomTargets with newlines in command.
8 years ago
Elliott Sales de Andrade
abd02b3eae
Add test case for ninja quoting.
8 years ago
Jussi Pakkanen
08d05bd82d
Merge pull request #1738 from mesonbuild/fix1726
...
Strip GCC comments from output before parsing in get_define. Closes #…
8 years ago
Mathieu Duponchelle
ae04624730
Compiler-properties.md: fix typo
8 years ago
Sven Steinbauer
130d75bee5
Fix missing backticks
8 years ago
Elliott Sales de Andrade
7d6c6fe166
Remove extra quoting in swiftc invocation.
8 years ago
Patrick Griffis
60d560b5a7
ninja: Fix quoting newlines and $
8 years ago
Jussi Pakkanen
bae7861c1c
Merge pull request #1722 from whot/doc-fixes
...
fixes for vcs_tag
8 years ago
Jussi Pakkanen
c96557c9ed
Store and print test logs of executed projects.
8 years ago
Nirbheek Chauhan
7dccf0c5ad
compilers: Don't add line comments to pre-processed output
...
We never use preprocessed output anywhere except compiler checks,
so we don't care about the debugging information that it adds.
Just always disable it.
Closes https://github.com/mesonbuild/meson/issues/1726
8 years ago
Nirbheek Chauhan
2b8196a1c8
tests/common/140: Add a test for PR #1738
...
The bug is only encountered with headers in the default compiler
search path, so use zlib.h since that is commonly available.
See: https://github.com/mesonbuild/meson/issues/1726
8 years ago
Nirbheek Chauhan
f14684c5cb
get_define: Add prefix before ifndef block
...
Otherwise the compiler will warn about macros being redefined.
8 years ago
Peter Hutterer
7a3be163cb
Default to project_version() in vcs_tag fallback
8 years ago
Peter Hutterer
4413122676
Check for input and output to exist in vcs_tag
...
Provide a proper error message, rather than the current
"Command cannot have '@INPUT0@', since no input files were specified"
which doesn't actually tell us where things are going wrong.
8 years ago
Peter Hutterer
4378655a39
docs: document additional args for vcs_tag
...
Supported as of 223596d7bf
8 years ago
Peter Hutterer
e982d5118e
docs: clarify that vcs_tag output can be used as source
...
"you should put in your main program" is confusing, "that can be used as
source" is slightly better.
8 years ago
Jussi Pakkanen
11968382a3
Merge pull request #1621 from dcbaker/llvm-dep
...
RFC: Add dependency for LLVM. Fixes #1611
8 years ago
Peter Hutterer
a576791064
Use American English - 'ise' -> 'ize' where applicable
8 years ago
Peter Hutterer
ca924451ac
Use American English: behaviour -> behavior
8 years ago
Chiu Yue Chun
fe85721e7e
Update FAQ.md: meson is not elementary particle
...
meson is a hadron, more specifically, hadrons that consists of a quark and a anti-quark. So, it is a composite particle rather than elementary one.
8 years ago
Dylan Baker
4bee51655b
Add dependency for LLVM. Fixes #1611
...
This adds a depdendncy wrapper for llvm-config based on the wxwidgets
dependency. IT handles libs, version, include dir, and the llvm unique
concept of components. These components are individual pieces of the
LLVM library that may or may not be available depending on the platform.
8 years ago
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