Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-01 | style: fix E226 violations | Igor Gnatenko | 17 | -52/+52 | |
E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2017-01-01 | style: fix E225 violations | Igor Gnatenko | 13 | -99/+99 | |
E225: missing whitespace around operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2017-01-01 | backends/ninja: remove unused variables | Igor Gnatenko | 1 | -2/+0 | |
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2016-12-31 | Fix space before :. | Jussi Pakkanen | 22 | -455/+456 | |
2016-12-31 | Pass project's user options to scan-build temporary project. | Hemmo Nieminen | 1 | -1/+7 | |
This allows (among other things) scan-build to process a project's optional components that will not get built unless a (user) option has been set. | |||||
2016-12-31 | Do not run arm cross compilation tests on arm. | Jussi Pakkanen | 1 | -1/+3 | |
2016-12-31 | Add simple uninstall target. Closes #753. | Jussi Pakkanen | 5 | -0/+69 | |
2016-12-31 | Merge pull request #1258 from QuLogic/compile_resource-includes | Jussi Pakkanen | 6 | -40/+60 | |
Add include_directories to windows.compile_resources. | |||||
2016-12-31 | Use the correct directory for scan-build command. | Hemmo Nieminen | 1 | -1/+2 | |
2016-12-29 | setup.cfg: fix syntax | Igor Gnatenko | 1 | -2/+2 | |
2016-12-28 | Add include_directories to windows.compile_resources. | Elliott Sales de Andrade | 4 | -2/+17 | |
2016-12-28 | Move _get_include_args from gnome to modules. | Elliott Sales de Andrade | 2 | -38/+43 | |
2016-12-28 | Just say no. | Jussi Pakkanen | 1 | -0/+2 | |
2016-12-23 | setup.cfg: ignore couple of PEP8 errors | Igor Gnatenko | 1 | -1/+6 | |
We don't care about E261 and temporarily ignore E501. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2016-12-23 | Can specify include directories to compiler tests. | Jussi Pakkanen | 3 | -0/+32 | |
2016-12-23 | Add get_version() method to all dependencies | Nirbheek Chauhan | 2 | -13/+76 | |
We unconditionally check the version of all dependencies, so without this regen will fail if you use that dependency. | |||||
2016-12-23 | Force a Ninja regeneration before each project test | Nirbheek Chauhan | 1 | -0/+5 | |
We have no test coverage for regeneration at all, which is why issues like #1246 slide by without us noticing. With this, we will run a regen on every test during `ninja test` after it has been compiled. This will not affect test times too much since the regen will not rebuild anything at all since there have been no source changes. | |||||
2016-12-23 | gdc: Make dependency check work | Matthias Klumpp | 1 | -3/+1 | |
The -fmake-deps command does not segfault anymore, and if it is used with "=" there will also be no "file not found" error. | |||||
2016-12-23 | Merge pull request #1247 from centricular/fix-installed-soname-aliases | Jussi Pakkanen | 6 | -40/+60 | |
Fix soname symlinking after installation | |||||
2016-12-23 | Do not automatically set warning flags if buildtype is 'plain' | Matthias Klumpp | 1 | -1/+1 | |
2016-12-22 | Add Generator.process_files to reduce code duplication. | Elliott Sales de Andrade | 5 | -19/+19 | |
2016-12-22 | Vim syntax highlighting fixes. Closes #1241. | Jussi Pakkanen | 2 | -4/+4 | |
2016-12-22 | Add myself to authors.txt | Kseniia Vasilchuk | 1 | -0/+1 | |
2016-12-22 | configure_file: Use utf-8 to write configured file | Kseniia Vasilchuk | 1 | -1/+1 | |
as a second part of https://github.com/mesonbuild/meson/issues/1085 | |||||
2016-12-22 | Share code between installed and non-installed soname tests | Nirbheek Chauhan | 1 | -46/+12 | |
2016-12-22 | Fix shared library symlink aliasing on install | Nirbheek Chauhan | 4 | -29/+27 | |
Set the rules for the symlinking on the target itself, and then reuse that information while generating aliases during the build, and then pass it to the install script too. | |||||
2016-12-21 | Fix installation of statically linked executable for ELF binary. | Matthieu Gautier | 2 | -0/+8 | |
At installation, if the executable is a ELF file, we try to fix the dependencies in the binary section. If a executable has been compiled with the --static flag, there is no .dynamic section in the ELF binary and so we need to handle this case. | |||||
2016-12-22 | Add an installed soname unit test | Nirbheek Chauhan | 2 | -5/+61 | |
We also need to test that the sonames are correct after installation. | |||||
2016-12-21 | Store pkg-config path on the instance too | Nirbheek Chauhan | 1 | -4/+13 | |
We were storing the pkg-config path on the class as a static variable -- PkgConfigDependency.pkgbin. When we regenerate via Ninja, the found-deps are all cached in a pickled coredata, so if you have a statement that does dep.get_pkgconfig_variable(), it will raise the following exception because the static class variables are per-meson-invocation. To fix this, we store the pkg-config binary as both a class variable and an instance variable. Traceback (most recent call last): File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/mesonmain.py", line 289, in run app.generate() File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/mesonmain.py", line 177, in generate intr.run() File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreter.py", line 2215, in run super().run() File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 124, in run self.evaluate_codeblock(self.ast, start=1) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 145, in evaluate_codeblock raise e File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 139, in evaluate_codeblock self.evaluate_statement(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 150, in evaluate_statement return self.function_call(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 371, in function_call return self.funcs[func_name](node, self.flatten(posargs), kwargs) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 47, in wrapped return f(self, node, args, kwargs) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreter.py", line 2035, in func_subdir self.evaluate_codeblock(codeblock) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 145, in evaluate_codeblock raise e File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 139, in evaluate_codeblock self.evaluate_statement(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 160, in evaluate_statement return self.evaluate_if(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 213, in evaluate_if self.evaluate_codeblock(i.block) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 145, in evaluate_codeblock raise e File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 139, in evaluate_codeblock self.evaluate_statement(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 160, in evaluate_statement return self.evaluate_if(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 213, in evaluate_if self.evaluate_codeblock(i.block) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 145, in evaluate_codeblock raise e File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 139, in evaluate_codeblock self.evaluate_statement(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 182, in evaluate_statement return self.evaluate_plusassign(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 333, in evaluate_plusassign addition = self.evaluate_statement(node.value) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 166, in evaluate_statement return self.evaluate_arraystatement(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 193, in evaluate_arraystatement (arguments, kwargs) = self.reduce_arguments(cur.args) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 515, in reduce_arguments reduced_pos = [self.evaluate_statement(arg) for arg in args.arguments] File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 515, in <listcomp> reduced_pos = [self.evaluate_statement(arg) for arg in args.arguments] File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 154, in evaluate_statement return self.method_call(cur) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreterbase.py", line 399, in method_call return obj.method_call(method_name, self.flatten(args), kwargs) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/interpreter.py", line 982, in method_call value = fn(state, args, kwargs) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/modules/gnome.py", line 499, in generate_gir girdir = dep.get_pkgconfig_variable("girdir") File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/dependencies.py", line 219, in get_pkgconfig_variable ret, out = self._call_pkgbin(['--variable=' + variable_name, self.name]) File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/dependencies.py", line 184, in _call_pkgbin p, out = Popen_safe([PkgConfigDependency.pkgbin] + args, env=os.environ)[0:2] File "/home/nirbheek/projects/repositories/github/meson.git/mesonbuild/mesonlib.py", line 392, in Popen_safe stderr=stderr, **kwargs) File "/usr/lib64/python3.5/subprocess.py", line 947, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.5/subprocess.py", line 1474, in _execute_child executable = os.fsencode(executable) File "/usr/lib64/python3.5/os.py", line 862, in fsencode raise TypeError("expect bytes or str, not %s" % type(filename).__name__) TypeError: expect bytes or str, not NoneType FAILED: build.ninja '/usr/bin/python3' '/home/nirbheek/projects/repositories/github/meson.git/meson.py' --internal regenerate '/home/nirbheek/projects/repositories/gst/gstreamer' '/home/nirbheek/projects/repositories/gst/gstreamer/build' --backend ninja ninja: error: rebuilding 'build.ninja': subcommand failed | |||||
2016-12-21 | Raise clearer error if -Doption is invalid. | Elliott Sales de Andrade | 1 | -1/+4 | |
2016-12-21 | Merge pull request #1218 from ximion/master | Jussi Pakkanen | 2 | -6/+10 | |
Do not automatically set warning flags if buildtype is 'plain' | |||||
2016-12-21 | Shut down the noise. | Jussi Pakkanen | 1 | -1/+1 | |
2016-12-21 | d: Correctly set SONAME on D shared libraries | Matthias Klumpp | 1 | -1/+2 | |
All D compilers use the system linker, which is very convenient here. | |||||
2016-12-21 | ldc: Protect linker flags from deduplication | Matthias Klumpp | 1 | -1/+1 | |
This is the better way to pass arguments through to the linker when compiling D code with LDC. | |||||
2016-12-21 | ldc/dmd: Properly set warning arguments | Matthias Klumpp | 1 | -4/+7 | |
2016-12-21 | Some merge conflicts are logical. Such as this one was. | Jussi Pakkanen | 1 | -1/+1 | |
2016-12-21 | Fix exception when linking with invalid object. | Elliott Sales de Andrade | 1 | -1/+1 | |
If you declare_dependency(link_with : 'string'), an exception is supposed to be raised, but instead of a proper message, it's an exception about a missing attribute. | |||||
2016-12-21 | Merge pull request #1233 from mesonbuild/wip/ignatenko/code-style | Jussi Pakkanen | 36 | -73/+51 | |
Trivial cleanups in code | |||||
2016-12-21 | add sideci.yml | Igor Gnatenko | 1 | -0/+3 | |
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2016-12-21 | add flake8 configuration | Igor Gnatenko | 1 | -0/+2 | |
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2016-12-20 | Add per target argument for Fortran. | Jussi Pakkanen | 2 | -1/+9 | |
2016-12-20 | Version number bump for new development (again). | Jussi Pakkanen | 1 | -1/+1 | |
2016-12-20 | Update version number for 0.37.1.0.37.1 | Jussi Pakkanen | 5 | -5/+5 | |
2016-12-20 | Merge pull request #1228 from mesonbuild/runcross | Jussi Pakkanen | 9 | -83/+62 | |
Fix cross test and run them if a cross compiler is available. | |||||
2016-12-20 | Make cross tests use same framework as regular tests. | Jussi Pakkanen | 5 | -73/+36 | |
2016-12-20 | Minimal fixes to make tests pass when cross compiling. | Jussi Pakkanen | 6 | -15/+28 | |
2016-12-20 | Fix cross test and run them if a cross compiler is available. | Jussi Pakkanen | 4 | -4/+7 | |
2016-12-20 | Merge pull request #1227 from centricular/ninja-clean-recursive-dir-delete | Jussi Pakkanen | 6 | -36/+120 | |
run_project_tests.py: Also do ninja clean on tests | |||||
2016-12-20 | Cache the scripts used for postconf and install phases | Nirbheek Chauhan | 9 | -19/+45 | |
Cache the absolute dir that the script is searched in and the name of the script. These are the only two things that change. Update the test to test for both #1235 and the case when a script of the same name is in a different directory (which also covers the subproject case). Closes #1235 | |||||
2016-12-20 | Fix several more lint errors | Nirbheek Chauhan | 6 | -24/+18 | |
Found by Igor Gnatenko ************* Module mesonbuild.interpreter E:1232,33: No value for argument 'interp' in constructor call (no-value-for-parameter) ************* Module mesonbuild.dependencies E: 68, 4: An attribute defined in mesonbuild.dependencies line 39 hides this method (method-hidden) ************* Module mesonbuild.environment E: 26, 0: class already defined line 19 (function-redefined) E: 68,18: Undefined variable 'InterpreterException' (undefined-variable) E:641,39: Undefined variable 'want_cross' (undefined-variable) E:850,94: Undefined variable 'varname' (undefined-variable) E:854,94: Undefined variable 'varname' (undefined-variable) E:860,102: Undefined variable 'varname' (undefined-variable) E:863,94: Undefined variable 'varname' (undefined-variable) ************* Module mesonbuild.modules.gnome E:438,26: Undefined variable 'compilers' (undefined-variable) |