Patrick Griffis
643d3a4976
gnome.gtkdoc: Fix missing permitted kwargs
...
Found by https://bugzilla.gnome.org/show_bug.cgi?id=790998
7 years ago
Nirbheek Chauhan
abcace7ee1
dependencies: Fix parsing of shebangs with spaces
...
While finding an external program, we should only split the shebang
once since that is what Linux and BSD also do. This is also why
everyone uses #!/usr/bin/env in their shebangs since that allows
you to run an interpreter in a path with spaces in it.
See `man execve` for more details, specifically the sections for
interpreter scripts.
7 years ago
Dylan Baker
549e5928fb
docs: Add better documentation of the LLVM dependency
7 years ago
Dylan Baker
f260a42216
Don't warn for optional_modules
...
LLVM can have optional modules, modules that will make the code faster
but are not required.
7 years ago
Alexis Jeandet
120f7a4c40
[Qt module] Added workaround for qt tools version detection
...
Depending on the tool (moc, uic, rcc, lrelease), the Qt version
(4.8, 5.7, 5.9) and the distribution (Fedora, debian,...) it seems you
cannot predict which of -v or -version will be supported.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Jussi Pakkanen
746e70c0da
Merge pull request #2512 from dcbaker/wip/config-tool-variables
...
Add method to get values from config tool based dependency
7 years ago
Dylan Baker
8a1a866c68
Don't print traceback when options are invalid
...
Currently passing a bad combo or array option, providing a non-boolean
to a bool arg, or a host of other things can cause an traceback from a
MesonException, don't do that.
Fixes #2683
7 years ago
Jussi Pakkanen
5bc1009109
Add if_found kwarg to subdir().
7 years ago
Joergen Ibsen
dad5779d3c
Add test for five escapes before n
7 years ago
Joergen Ibsen
b9a0589067
Fix escaping of newlines in string literals
...
Replace '\n' escape sequence before '\\' to allow a literal backslash
to be inserted before the character 'n'.
Fixes #2682
7 years ago
Eric Engestrom
da2343fb5e
mconf: print choices of base options
...
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
7 years ago
Nirbheek Chauhan
91d8784a04
configure_file: Compare difference in binary mode
...
Otherwise Python will try to use string decode on the configured file
and fail if it contains characters that can't be mapped to the current
encoding.
7 years ago
Jussi Pakkanen
11f1fc913d
Merge pull request #2690 from jsoref/spelling
...
Spelling
7 years ago
Jussi Pakkanen
4ca1e8638c
Fix running tests when there is a period in PATH.
7 years ago
Jussi Pakkanen
ab1f49f400
Specify build_rpath manually to targets linked by hand.
7 years ago
Josh Soref
9775e2b40d
useless: youtu.be reference
7 years ago
Josh Soref
4a572434a0
spelling: when
7 years ago
Josh Soref
eb2a148218
spelling: verifier
7 years ago
Jussi Pakkanen
fdca526c23
Fix rpath tests on Linux.
7 years ago
Jussi Pakkanen
f70760a510
Use new style dependencies in subproject documentation.
7 years ago
Jussi Pakkanen
3cb7205e46
Update CMake reference file.
7 years ago
Jussi Pakkanen
fa6f01d096
Use absolute paths for rpaths on OSX.
7 years ago
Jussi Pakkanen
655137a74b
Add headerpad linker argument on OSX.
7 years ago
Iñigo Martínez
3d0a9b7911
interpreter: Reduce to_sring method to base 10
...
The int's to_string method implementation has been reduced to base
10.
7 years ago
Iñigo Martínez
30f2c4857c
interpreter: Support to_string method for int values
...
Although some other base types like boolean objects can be expresed
as strings, this is not possible with int objects.
This patch adds support to express int values as strings as hex,
decimal or octal values.
7 years ago
Jussi Pakkanen
2dab7c37df
Merge pull request #2676 from jeandet/add_qt_translations
...
Add qt translations
7 years ago
Joergen Ibsen
91a0126590
Improve escaping in configuration files
...
Replace pairs of backslashes before '@' or '\@' with singles (allows
escaping the escape character). Do not consume next '@' after '\@'.
7 years ago
Josh Soref
2b0505f222
spelling: targeting
7 years ago
Josh Soref
72ba9302aa
spelling: target
7 years ago
Josh Soref
7d1a1fd5b0
spelling: programming
7 years ago
Josh Soref
7771d267f5
spelling: precedence
7 years ago
Josh Soref
05f684b4fc
spelling: overwrite
7 years ago
Josh Soref
49f8d28ef5
spelling: overridden
7 years ago
Josh Soref
9dd4f047af
spelling: occurrence
7 years ago
Josh Soref
8dfc9bf1f5
spelling: nonexistent
7 years ago
Josh Soref
f2835004ea
spelling: necessary
7 years ago
Josh Soref
dbf7c7edf8
spelling: existence
7 years ago
Josh Soref
8aab7fea5a
spelling: executable
7 years ago
Josh Soref
791494e143
spelling: dependency
7 years ago
Josh Soref
47bacd40e0
spelling: attempt
7 years ago
Josh Soref
1d708d14f7
spelling: arithmetic
7 years ago
Josh Soref
8a66cfb2af
spelling: arbitrary
7 years ago
Joergen Ibsen
80157a5ea3
Make prefix substitution test uppercase
7 years ago
Dylan Baker
a52c22dc06
docs: add documentation for config_tool variable method
7 years ago
Dylan Baker
e95628306d
docs: consolidate config-tool based dependencies
...
There are currently entries for cups and pcap; but not LLVM, GnuStep, or
WxWidgets. Instead of having an entry for each of these just have a
single entry for all of them, since the majority of the information is
duplicated between them anyway.
7 years ago
Dylan Baker
f818e9df58
Add a configtool_variable method to dependency
...
This mirrors the get_pkgconfig_variable but for config tool based
dependencies.
7 years ago
Dylan Baker
df3c006456
Use ConfigToolDependency for libwmf
7 years ago
Dylan Baker
11fbc982d3
Use ConfigToolDependency for pcap
7 years ago
Dylan Baker
a2f3182172
Use ConfigToolDependency for cups
7 years ago
Dylan Baker
8e53dec314
Use ConfigToolDependency for SDL2
7 years ago