TingPing
0e79664155
Minor pkgconfig module cleanups ( #748 )
...
* pkgconfig: Remove unused function
Leftover copy from modtest
* Add self to authors.txt
2016-09-02 23:11:54 +03:00
Jussi Pakkanen
c8213aaf1e
Better file existance checks.
2016-09-01 23:15:48 +03:00
Jussi Pakkanen
cdf0c4f1a9
Merge branch 'QuLogic-context-managers'
2016-09-01 23:12:06 +03:00
Elliott Sales de Andrade
389259c229
Stop "fixing" command line in CustomTargets. ( #737 )
2016-09-01 22:10:33 +03:00
Jussi Pakkanen
fa59fa55e2
Use absolute paths for dep files in Visual Studio.
2016-09-01 21:58:41 +03:00
Elliott Sales de Andrade
859c5e28df
Use context manager in scripts.
2016-08-30 04:17:47 -04:00
Elliott Sales de Andrade
aec1e88c21
Use context manager in test cases.
2016-08-30 04:17:46 -04:00
Elliott Sales de Andrade
0cf065e12b
Use argparse's builtin version printer.
2016-08-30 01:59:55 -04:00
Jussi Pakkanen
fc33f714fd
Merge pull request #725 from thiblahute/gir_subproject_deps
...
gnome: Handle internal dependencies to generate gir files
2016-08-29 23:33:54 +03:00
Saunier Thibault
e411c0b930
Honor dependency `fallback` argument even if the dependency is not required ( #735 )
...
You can potentially have a fallback subproject and if that subproject
fails, you can continue without that dependency
2016-08-29 22:31:10 +03:00
Thibault Saunier
5780c42b70
tests: framworks: 7 gnome: Stop using g_autoptr
2016-08-29 10:11:40 -03:00
Thibault Saunier
082cb075b0
Test building gir file using internal dependencies
2016-08-29 10:11:31 -03:00
Thibault Saunier
6c6c706bb8
gnome: Handle internal dependencies to generate gir files
2016-08-29 10:11:27 -03:00
Elliott Sales de Andrade
6475bdbe20
Properly handle Files used in CustomTarget commands.
2016-08-29 04:29:49 -04:00
Jussi Pakkanen
8e904aaba0
Merge pull request #731 from QuLogic/obey-DESTDIR
...
Always obey DESTDIR even with absolute install_dir
2016-08-28 21:17:14 +03:00
Elliott Sales de Andrade
cd03df4a4c
Fix CustomTargets used as input to CustomTargets. ( #727 )
2016-08-28 21:14:15 +03:00
Elliott Sales de Andrade
38a2a636b5
Refactor DESTDIR determination into a single function.
2016-08-27 23:07:59 -04:00
Elliott Sales de Andrade
3a593d0aca
Always obey DESTDIR even with absolute install_dir.
...
Passing an absolute path to `install_dir` would previously always
attempt to install there, instead of obeying DESTDIR, since os.path.join
will 'reset' on absolute paths.
2016-08-27 23:07:59 -04:00
Elliott Sales de Andrade
181d9a891d
Ensure URLs are closed with a context manager.
2016-08-27 18:29:56 -04:00
Elliott Sales de Andrade
fe0aa7daff
Convert depfixer.Elf class into a context manager.
...
This allows for automatic closing of its internal file handle.
2016-08-27 18:29:56 -04:00
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
2016-08-27 18:29:55 -04:00
Nirbheek Chauhan
7830cb61c3
Add a new compiler object method: has_members ( #723 )
...
* Add a new compiler object method: has_members
Identical to 'cc.has_member', except that this takes multiple members
and all of them must exist else it returns false.
This is useful when you want to verify that a structure has all of
a given set of fields. Individually checking each member is horrifying.
* Fix typo in exceptions for has_member(s)
2016-08-27 17:26:23 +03:00
Jussi Pakkanen
b7392bb290
Merge pull request #696 from mesonbuild/depfile
...
Add support for dependency files in custom targets.
2016-08-27 16:43:14 +03:00
Elliott Sales de Andrade
a2321b24f6
Flatten isinstance calls. ( #715 )
...
That is, isinstance(x, y) or isinstance(x, z) can be flattened with a
tuple to isinstance(x, (y, z)).
2016-08-27 15:47:29 +03:00
Jussi Pakkanen
7cd6206d9a
Check for embedded @OUTPUT@s in commands.
2016-08-27 14:41:14 +03:00
Elliott Sales de Andrade
ae12656555
Use global id instead of local for hg tag. ( #710 )
2016-08-27 13:42:35 +03:00
Jussi Pakkanen
4e050c3d9b
Merge pull request #712 from QuLogic/capturing-custom-target
...
Allow capturing command output of a custom target.
2016-08-27 13:42:13 +03:00
Elliott Sales de Andrade
b7757189e4
Echo stderr from captured command.
...
This helps with debugging if the command fails.
2016-08-26 20:46:42 -04:00
Elliott Sales de Andrade
3e09aa9f11
Don't allow @OUTPUT@ when capturing output.
2016-08-26 20:46:42 -04:00
Elliott Sales de Andrade
acdcc3ccf2
Add myself to authors.txt.
2016-08-26 20:46:42 -04:00
Elliott Sales de Andrade
70d94a5550
Allow capturing command output of a custom target.
...
For commands that always output to stdout and don't have a "-o" or
"--output" or some other similar option, this 'capture' setting allows
the build to capture the result and place it in the output file.
2016-08-26 20:46:42 -04:00
Elliott Sales de Andrade
dcaf2d7b3d
Accept string exe with Backend.serialise_executable.
...
Normally, this accepts a build.Executable, but it accept
build.BuildTarget and build.CustomTarget as well. Now it will also
accept a string path.
2016-08-26 20:46:42 -04:00
Igor Gnatenko
3ed1ff1c71
macros.meson: override all supported options ( #717 )
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-08-25 22:35:02 +03:00
Jussi Pakkanen
808451b5c7
Do not error out if git pull fails on subprojects. Closes #720 .
2016-08-25 22:29:40 +03:00
Jussi Pakkanen
d3ce0a4395
Merge pull request #700 from mesonbuild/sysconfdir
...
Added sysconfdir option. Closes #694 .
2016-08-24 22:23:59 +03:00
Igor Gnatenko
bf2ec8fd8f
Merge pull request #709 from vinszent/master
...
'name' needs to be 'self.name' in DependencyException
2016-08-24 07:38:00 +02:00
ippytraxx
9aef099bc7
'name' needs to be 'self.name' in DependencyException
2016-08-23 23:15:46 +02:00
Matthias Klumpp
d98959f2cb
Make D compilers return colored output by default
2016-08-22 21:09:27 +02:00
Matthias Klumpp
76fe77f9a8
Don't automatically override the -L flag of D compilers
...
Works around / resolves #702 .
2016-08-22 21:07:58 +02:00
Jussi Pakkanen
a52154eba5
Change default and add explanatory comment for why we do that.
2016-08-21 23:37:13 +03:00
Jussi Pakkanen
c4ade56150
Added sysconfdir option. Closes #694 .
2016-08-21 15:57:38 +03:00
Jussi Pakkanen
fae8ad90a4
Consistent kwarg popping.
2016-08-21 15:04:44 +03:00
Jussi Pakkanen
4b3414cba0
Add extra_args kwarg to glib-compile-resources. Closes #698 .
2016-08-21 15:00:02 +03:00
Nirbheek Chauhan
24aa7f300a
tests: Don't fail wxwidgets test if wxwidgets is not installed ( #639 )
...
The widgets pull in lots of deprecated libraries, so don't require it
2016-08-21 14:14:10 +03:00
Jussi Pakkanen
6ae40344e0
Merge pull request #680 from centricular/osx-dylib-soversion
...
Add a test to find libfoo.X.dylib via -lfoo
2016-08-21 14:12:19 +03:00
Jussi Pakkanen
e3783f0f59
Check input file for existance. Closes #697 .
2016-08-21 13:50:48 +03:00
Jussi Pakkanen
399d653803
Merge pull request #685 from ximion/master
...
Implement D support
2016-08-21 13:22:19 +03:00
Matthias Klumpp
309f7a1b4a
interpreter: Rename get_unittest_flag() to unittest_args()
2016-08-21 01:41:14 +02:00
Matthias Klumpp
12a01c26f3
trivial: Use stringlistify
2016-08-21 01:40:29 +02:00
Matthias Klumpp
b80bdf65df
Simplify D compiler argument translation
2016-08-21 01:39:48 +02:00