summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-30New compiler method: check_headerNirbheek Chauhan
This checks not only for existence, but also for usability of the header, which means it does a full compilation and not just pre-processing or __has_include. Fixes https://github.com/mesonbuild/meson/issues/2246
2018-05-30Document how to set the default name_prefix and name_suffix [skip ci]Nirbheek Chauhan
Else people (like me) try to use the old behaviour where setting it to `''` would use the default. https://gitlab.gnome.org/GNOME/glib-networking/issues/33
2018-05-29Don't raise StopIteration in generators, no longer allowed with Python 3.7. ↵Christoph Reiter
Fixes #3622 Raising StopIteration from a generator has been deprecated with Python 3.5 and is now an error with Python 3.7: https://docs.python.org/3.8/library/exceptions.html#StopIteration Just use return instead.
2018-05-29Don't call getpgid() when killing a test.George Koehler
OpenBSD's getpgid(2) fails with EPERM (PermissionError) because the test is in a different session: https://man.openbsd.org/getpgid Use p.pid as the process group ID, because setsid() created a process group with the same ID as the process. See setsid(2) manuals: - FreeBSD: https://www.freebsd.org/cgi/man.cgi?query=setsid - illumos: https://illumos.org/man/setsid - Linux: http://man7.org/linux/man-pages/man2/setsid.2.html This change fixes 'manual tests/8 timeout' on OpenBSD. To verify this change, one must run the manual test. For example, $ cd 'manual tests/8 timeout' $ meson build $ ninja -C build test It should report that the test timed out, and not show PermissionError. Fixes https://github.com/mesonbuild/meson/issues/3569
2018-05-27Merge pull request #3491 from jeandet/qt_private_headersJussi Pakkanen
Qt private headers
2018-05-27Make install doc less surprising for new users [skip ci]Michael Mera
2018-05-27[Qt module] private_headers kwarg documentation reformulationAlexis Jeandet
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
2018-05-25Mark even empty confs used appropriately.Jussi Pakkanen
2018-05-24Merge pull request #3578 from MathieuDuponchelle/mkenums_gen_templatesJussi Pakkanen
gnome/mkenums: allow passing generated files as templates
2018-05-24Merge pull request #3476 from filbranden/intbase1Jussi Pakkanen
Add support for octal and binary int literals
2018-05-24Typos are fun. [skip ci]Jussi Pakkanen
2018-05-24Clarify that configuration_data()'s copy is immutableAleksey Filippov
2018-05-24backends: Also accept dylibs while finding RPATHsNirbheek Chauhan
2018-05-24backends: Simplify loop getting rpaths for bundled libsNirbheek Chauhan
No functionality changes
2018-05-24backends: Use a set while gathering RPATHsNirbheek Chauhan
2018-05-24depfixer: Run install_name_tool only once while deleting rpathsNirbheek Chauhan
2018-05-24depfixer: We no longer run this as a scriptNirbheek Chauhan
2018-05-23gnome.mkenums: test header built from generated templateMathieu Duponchelle
2018-05-23gnome/mkenums: allow passing generated files as templatesMathieu Duponchelle
2018-05-23Add a testing case for a decimal number with a leading zeroFilipe Brandenburger
That syntax is invalid, since decimal numbers should never have a leading zero and octal numbers use the `0o` prefix instead. This matches Python 3 syntax which does not accept it: $ python3 >>> 0123 File "<stdin>", line 1 0123 ^ SyntaxError: invalid token >>> Add a "failing" test case to confirm this property is preserved and no regressions are introduced in this area.
2018-05-23Document octal and binary integer literals in syntax.Filipe Brandenburger
Also add a release notes snippet for it.
2018-05-23Add support for octal and binary int literals.Filipe Brandenburger
Simplify support for alternate bases using int(..., base=0) which auto-detects it using the standard Python syntax for numbers. Octal numbers are useful to specify permission bits and umasks. Binary numbers are not super useful... But considering we get them for free, let's allow them here too. v2: Tweak the regex so it doesn't accept a decimal number with a leading zero, which is invalid for int(..., base=0) and would raise a ValueError if passed around.
2018-05-23Enable running tests that fail at 'meson test'Niklas Claesson
2018-05-23Print project versionTim-Philipp Müller
2018-05-23interpreter: fix configure_file() message on empty configuration_data() ↵Tim-Philipp Müller
[skip ci] The 'copy' kwarg will appear in the upcoming 0.47 release, not 0.46.
2018-05-22Merge pull request #3383 from mesonbuild/nirbheek/configure-file-nodataJussi Pakkanen
configure_file: Add a new action 'copy'
2018-05-22Merge pull request #3490 from MathieuDuponchelle/dict_builtinJussi Pakkanen
Add new built-in type, dict
2018-05-22Merge pull request #3523 from taisei-project/run_command_checkJussi Pakkanen
Add 'check' kwarg for run_command
2018-05-22Update Users.mdrandy408
2018-05-22Update documentation for run_command [skip ci]Andrei Alexeyev
2018-05-22Add 'check' kwarg for run_commandAndrei Alexeyev
Closes #3516
2018-05-22dict: add since annotationsMathieu Duponchelle
2018-05-22docs: Add manual entry for configure_file copy kwargNirbheek Chauhan
2018-05-22configure_file: Don't use reserved keyword 'format'Nirbheek Chauhan
Might lead to weird bugs
2018-05-22configure_file: Add a new action 'copy'Nirbheek Chauhan
This will copy the file to the build directory without trying to read it or substitute values into it. Also do this optimization if the configuration_data() object passed to the `configuration:` kwarg is empty, and print a warning about it. See also: https://github.com/mesonbuild/meson/issues/1542
2018-05-21Windows: Fix exception when windres is not foundXavier Claessens
If rescomp is not found its command is None and that make meson print backtrace instead of displaying the error message.
2018-05-21Add support for finding libraries in Fortran projectsMatthew Krupcale
* mesonbuild/compilers/c.py: Make the `find_library` method more generic by allowing the user to supply the `code` for compiling and linking. * mesonbuild/compilers/fortran.py: Use the methods inherited from `Compiler` base class where appropriate. Also reuse `CComiler` methods where applicable. This should be sufficient to get various compiler/linker arguments as well as to compile and link Fortran programs. This was tested with `gfortran` compiler, and while the other compilers ought to work for simple cases, their methods are primarily inherited from the base `FortranCompiler` class. * test cases/fortran/10 find library/gzip.f90: Fortran module with some basic Fortran wrapper interfaces to `gzopen`, `gzwrite`, and `gzclose` C `zlib` functions. * test cases/fortran/10 find library/main.f90: Fortran program using the `gzip` Fortran interface module to write some data to a gzip file. * test cases/fortran/10 find library/meson.build: Meson build file for this test case. This demonstrates the ability to link the Fortran program against an external library.
2018-05-21for_darwin: Also accept system='ios' in cross filesNirbheek Chauhan
2018-05-21dict: unit test integer keyMathieu Duponchelle
2018-05-21dict: fix CI issuesMathieu Duponchelle
2018-05-21Write coredata transactionally. Closes #3511.Jussi Pakkanen
2018-05-20dict: address review comment I missedMathieu Duponchelle
2018-05-20dict: Document, add release snippetMathieu Duponchelle
2018-05-20dict: address review commentsMathieu Duponchelle
2018-05-20dict: change test case numberingMathieu Duponchelle
2018-05-20Add methods to the dict builtinKyrylo Shpytsya
Adds "has_key" and "get". Adapted and updated by Mathieu Duponchelle <mathieu@centricular.com>
2018-05-20Add new built-in type, dictMathieu Duponchelle
For now dicts are immutable, and do not expose any methods, they however support "native" syntax such as [] lookup, and foreach iterating, and can be printed.
2018-05-18Print message when using polkitRyan Gonzalez
2018-05-18Fix #3579: Wait for a permissions failure before trying to run pkexecRyan Gonzalez
2018-05-18appveyor: update boost version used with VS 2015Jon Turney
per https://www.appveyor.com/updates/2018/05/16/, boost 1.59 has been removed from the VS 2015 image.