| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Instead of just printing the message in the exception, if it's
a MesonException, also print the file and the line number. If it's an
unknown exception, print the entire traceback so that we can pin-point
what the Meson bug causing it is.
|
|
|
|
| |
Instead of constructing it manually, use a helper.
|
|
|
|
|
| |
This makes it much clearer which statements are taking a long time,
and helps in interpreting the outputted profile itself.
|
|
|
|
|
| |
This allows us to drop wonky sep='' hacks and manual addition of
spaces across the codebase.
|
|
|
|
|
|
| |
This change still relies on the older 'ANSICON' environment check as a
fallback, in the event we're on "not Windows 10". (Calling
`SetConsoleMode` with unsupported values results in a 0 being returned)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As written in PR #2856, this code isn't quite right.
An ArgumentNode object can evaluate as False (if it's arguments attribute is
an empty sequence).
If that happens, we then try to hand the location kwarg down to print(),
rather than removing it, which causes an invalid keyword argument exception.
This failure can be seen e.g. when generating for gnome-twitch (See [1])
[1] https://travis-ci.org/jon-turney/meson-corpus-test/jobs/343017109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Examples:
meson.build:2:0: ERROR: Dependency is both required and not-found
meson.build:4: WARNING: Keyword argument "link_with" defined multiple times.
These are already matched by the default compilation-error-regexp-alist in
emacs.
Also:
Don't start 'red' markup until after the \n before an error
Unabsorb full-stop at end of warning with location from mlog.warning()
Update warning_location test
|
|
|
|
|
| |
Also use .format() rather than %
Also use build.environment rather than hardcoding 'meson.build'
|
|
|
|
| |
This enables colors with ConEmu.
|
|
|
|
|
|
| |
Similar to configure
Closes https://github.com/mesonbuild/meson/issues/2316
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure a detection method, for those types of dependencies that have
more than one means of detection.
The default detection methods are unchanged if 'method' is not
specified, and all dependencies support the method 'auto', which is the
same as not specifying a method.
The dependencies which do support multiple detection methods
additionally support other values, depending on the dependency.
|
|
|
|
| |
Dumb terminal is provided e.g. by Emacs for programs run within it.
|
|
|
|
| |
stdout.
|
| |
|
| |
|
|
|
|
|
|
| |
Prepends the string with 'WARNING:' in ANSI yellow.
Closes https://github.com/mesonbuild/meson/issues/961
|
| |
|
|
in the same toplevel dir.
|