Nirbheek Chauhan
1223872513
tests/common/167: Port test interpreter to Windows
...
Which means using fgets, unfortunately.
7 years ago
Dylan Baker
c9351ce30c
Add new array type option
...
This exposes the already existing UserStringArrayOption class through
the meson_options.txt. The intention is to provide a way for projects to
take list/array type arguments and validate that all of the elements in
that array are valid without using complex looping constructrs.
7 years ago
Dylan Baker
7c779a76df
run_unittests.py: remove newline at top of file
...
So that the shbang is ther rist line and ./run_unittests.py works.
7 years ago
Joergen Ibsen
1db319737d
Enable ANSI colors on Windows when ANSICON is set
...
This enables colors with ConEmu.
7 years ago
Jussi Pakkanen
5208e6524c
Merge pull request #2701 from dcbaker/submit/better-llvm-docs
...
Minor LLVM dependency cleanups for the next release
7 years ago
Solomon Choina
2fdfb50da8
adding C++98 to versions that meson can support
7 years ago
Zbigniew Jędrzejewski-Szmek
01ab4acf7f
docs: note when warning() was added
...
Followup for 1540e615f1
.
7 years ago
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