Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-12-10 | Do not warn about non-utf8 locales on Windows. | Jussi Pakkanen | 1 | -2/+2 | |
2016-11-23 | meson.py: Warn if the encoding is not UTF-8 compatible | Nirbheek Chauhan | 1 | -2/+13 | |
2016-10-12 | meson.py: Always resolve full path to meson.py | Nirbheek Chauhan | 1 | -4/+2 | |
There is no reason to not always do this. Without this, we end up with a relative path to meson.py in build.ninja files when meson.py is launched using subprocess.Popen and friends from the meson source root. This was causing the unittests to intermittently fail when regen was getting invoked by the pic test. Funnily enough, this only happened when run via ./run_tests.py because __file__ was 'run_unittests.py' in that (as opposed to './run_unittests.py') case which made os.path.dirname(__file__) be '', and the os.path.split test in meson.py thought that meson.py was invoked via PATH. | |||||
2016-10-10 | Reintroduce Python Zipapp support | Franz Zapata | 1 | -6/+9 | |
* Added `main` function as an entry point. * Created `__main__.py` to allow the creation of Zipapps without explicitly calling `meson:main`. | |||||
2016-10-08 | Use argv[0] to internally relaunch meson.py | Emanuele Aina | 1 | -8/+6 | |
When installing Meson, distutils may choose to put shim scripts in the `PATH` that only set up the egg requirements before launching the real `meson.py` contained in the egg. This means that `__file__` points to the real `meson.py` file, but launching it directly is doomed to fail as it's missing the metadata contained in the shim to set up the path egg, resulting in errors when trying to import the `mesonbuild` module. A similar issue affects Meson when installed as a zipapp, with the current code going great lengths to figure out how to relaunch itself. Using `argv[0]` avoids these issues as it gives us the way the current executable has been launched, so we are pretty much guaranteed that using it will create another instance of the same executable. We only need to resolve relative paths as the current working directory may get changed before re-launching the script, and using `realpath()` for that saves us the trouble of manually resolving links and getting caught in endless loops. This also mean that `meson_script_file` no longer necessarily point to a absolute file, so rename it to `_launcher` which hopefully would be less prone to inducing false assumptions. | |||||
2016-10-02 | Revert #823, see also #830. | Jussi Pakkanen | 1 | -15/+8 | |
2016-10-01 | Revert #830 because it broke the case when the main script is not in path. | Jussi Pakkanen | 1 | -1/+15 | |
2016-09-30 | User argv[0] to internally relaunch meson.py | Emanuele Aina | 1 | -11/+1 | |
When installing Meson distutils may choose to put shim scripts in the PATH that only set up the egg requirements before launching the real `meson.py` contained in the egg. This means that __file__ points to the real `meson.py` file, but launching it directly is doomed to fail as it's missing the metadata contained in the shim to set up the path egg, resulting in errors when trying to import the `mesonbuild` module. A similar issue affects Meson when installed as a zipapp, with the current code going great lengths to figure out how to relaunch itself. Using argv[0] avoids these issues as it gives us the way the current executable has been launched, so we are pretty much guaranteed that using it will create another instance of the same executable. | |||||
2016-09-28 | Support running Meson as a Python zip application | Franz Zapata | 1 | -4/+10 | |
2016-03-02 | Back to .py suffix in files. Closes #394. | Jussi Pakkanen | 1 | -0/+24 | |
2016-01-16 | Renamed meson package to mesonbuild so that we can have a script named meson ↵ | Jussi Pakkanen | 1 | -24/+0 | |
in the same toplevel dir. | |||||
2016-01-15 | Moved scripts in the module and started work to run them via the main meson ↵ | Jussi Pakkanen | 1 | -2/+20 | |
command. | |||||
2016-01-15 | Organise files into a module structure. | Jussi Pakkanen | 1 | -222/+3 | |
2015-12-04 | Make it working on python 3.3 | Thibault Saunier | 1 | -2/+2 | |
2015-11-28 | Added support for extended command line to overcome OS command line length ↵ | Yoav Alon | 1 | -0/+3 | |
limitation | |||||
2015-11-23 | Yet another step in the neverending saga of -Wpedantic. | Jussi Pakkanen | 1 | -1/+1 | |
2015-11-17 | Add --version to command line arguments. | Wink Saville | 1 | -1/+1 | |
2015-11-04 | Made shared the default libtype as it is faster for daily development. | Jussi Pakkanen | 1 | -1/+1 | |
2015-11-03 | Turned builtin options into proper objects. | Jussi Pakkanen | 1 | -7/+4 | |
2015-11-03 | Refactored builtin options to a dictionary and created a new default library ↵ | Jussi Pakkanen | 1 | -0/+2 | |
target type. | |||||
2015-10-26 | Now that projects can easily override defaults, return warning level to 2. | Jussi Pakkanen | 1 | -7/+1 | |
2015-10-18 | Added cpu family property to system information. | Jussi Pakkanen | 1 | -0/+3 | |
2015-09-19 | Do not use intr before it exists | Thibault Saunier | 1 | -3/+4 | |
2015-09-17 | Merged trunk changes. | Jussi Pakkanen | 1 | -0/+11 | |
2015-09-17 | Added conf option for build tree layout. | Jussi Pakkanen | 1 | -0/+3 | |
2015-09-17 | Added outdir() method to build targets so we can make output dirs togglable. | Jussi Pakkanen | 1 | -7/+7 | |
2015-09-04 | Can set default warning with an envvar. | Jussi Pakkanen | 1 | -2/+10 | |
2015-08-27 | Added multiple selectable warning levels. | Jussi Pakkanen | 1 | -0/+3 | |
2015-08-25 | More robust windows detection and more logs. | Jussi Pakkanen | 1 | -0/+3 | |
2015-08-25 | Better sanity testing. | Jussi Pakkanen | 1 | -0/+2 | |
2015-07-27 | Support target-only cross compilation properly. | Jussi Pakkanen | 1 | -2/+2 | |
2015-07-27 | Get build machine's CPU info too. | Jussi Pakkanen | 1 | -0/+1 | |
2015-07-27 | Now host_machine, build_machine and target_machine are properly separated ↵ | Jussi Pakkanen | 1 | -0/+3 | |
and return correct values. | |||||
2015-06-18 | style: fix indenting in meson.py | Igor Gnatenko | 1 | -17/+17 | |
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2015-06-18 | meson: fix undefined-variable in backends chooser | Igor Gnatenko | 1 | -1/+1 | |
E:146,57: Undefined variable 'options' (undefined-variable) Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2015-05-16 | introduce check python version in meson.py | Igor Gnatenko | 1 | -0/+5 | |
To ensure that people will not confused that something won't work. Related: https://github.com/miit-pm/RWD/pull/1#issuecomment-102607931 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> | |||||
2015-04-23 | Moved functionality from __main__ to a function to make it callable. | Jussi Pakkanen | 1 | -13/+15 | |
2015-03-13 | Add command line switch to print version number. | Jussi Pakkanen | 1 | -1/+6 | |
2015-03-08 | Added gobject-introspection to gnome module. | Jussi Pakkanen | 1 | -1/+0 | |
2015-03-06 | Fix argparse to make rebuild work again. | Jussi Pakkanen | 1 | -2/+4 | |
2015-03-02 | Use argparse in introspector. | Jussi Pakkanen | 1 | -1/+1 | |
2015-03-02 | Use argparse instead of optparse in meson.py. | Jussi Pakkanen | 1 | -42/+36 | |
2015-02-16 | Added Debian multilib support. | Jussi Pakkanen | 1 | -1/+1 | |
2014-12-03 | Extracted compiler definitions to their own file. | Jussi Pakkanen | 1 | -2/+2 | |
2014-11-16 | Harmonised copyright declarations. | Jussi Pakkanen | 1 | -1/+1 | |
2014-08-07 | Kill end of line whitespace dead. | Jussi Pakkanen | 1 | -1/+1 | |
2014-08-06 | Can specify project options on the command line and the override defaults. | Jussi Pakkanen | 1 | -0/+2 | |
2014-07-18 | Added option for werror. | Jussi Pakkanen | 1 | -0/+2 | |
2014-06-02 | OCD | Jussi Pakkanen | 1 | -1/+1 | |
2014-04-16 | Specify build flags per build type. | Jussi Pakkanen | 1 | -1/+1 | |