aboutsummaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2021-05-06syntax-highlighting: vim: add myself as a maintainerLiam Beguin3-0/+3
Add myself as a maintainer of these files since I'll be keeping them in sync with the Vim repository. Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2021-05-06syntax-highlighting: vim: fix setting cpoLiam Beguin1-1/+1
Since 'cpo' is global, use `set` instead of `setlocal`. See: b66f0372cc11 Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2021-03-16Add range() functionXavier Claessens1-0/+1
Fixes: #5026.
2021-01-13Fix misspellsAntonin DĂ©cimo1-3/+3
Signed-off-by: Antonin DĂ©cimo <antonin.decimo@gmail.com>
2020-11-03vim: Drop backwards compatibility with Vim 5.Aman Verma1-30/+15
2020-09-23zsh: Add completions for meson compileDylan Baker1-0/+16
2020-09-23zsh: add completions for subprojectsDylan Baker1-3/+77
2020-09-23zsh: add wrap completionsDylan Baker1-1/+54
This is still missing completions for promote, but I can't figure out how to find the wraps in subprojects that are not in the parent project when those projects haven't been fetched yet.
2020-09-23zsh: add missing arguments to meson test completionsDylan Baker1-5/+6
This also reorders the options internally to match the output of meson test --help, which makes it easier to diff
2020-09-23zsh: Add completions for meson initDylan Baker1-2/+22
2020-09-23zsh: Add completions for meson installDylan Baker1-2/+17
2020-09-22zsh: add meson dist completionsDylan Baker1-2/+18
2020-09-22zsh: Add ability to complete depedency pathsDylan Baker1-4/+4
using , separated syntax
2020-09-22zsh: add missing options for meson introspectDylan Baker1-5/+7
2020-09-22zsh: share common options between meson configure and meson setupDylan Baker1-36/+38
2020-09-22zsh: Add missing options for meson setupDylan Baker1-12/+26
2020-09-22zsh: remove binaries that are not longer installedDylan Baker1-1/+1
2020-08-27test: Add 'dir' support for installed files in test.jsonDaniel Mensinger1-0/+1
This is useful for automatically generated docs (doxygen, hotdoc) with a lot of generated files that may differ with different versions of the generator.
2020-08-08completions/zsh: Add --native-fileDylan Baker1-0/+1
Which is missing
2020-07-22vim: Syntax-highlight continue and break statementsNirbheek Chauhan1-1/+2
2020-06-21mcompile: Add --verbose modeIgor Raits1-0/+1
Closes: https://github.com/mesonbuild/meson/issues/7352 Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-15macros.meson: Switch to meson compile / installIgor Raits1-3/+9
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-06-15macros.meson: Switch to %{_smp_build_ncpus}Igor Raits1-9/+3
It is available since RPM 4.15 which has been around 1 year by now. Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-04-30Update test.json schema to add stdoutJon Turney1-0/+25
Update the test.json schema, adding the 'stdout' property. Also amend the test.json schema so the presence of an unexpected property on the root object causes a validation error. v2: Also add 'tools' property to json schema. Amend the documentation not to use the word 'list' to describe a dict.
2020-04-23mtest: Generate a JUnit xml result fileDylan Baker1-0/+96
JUnit is pretty ubiquitous, lots of services and results viewers understand it, in particular gitlab and jenkins know how to consume JUnit xml. This means projects using CI services can have their test results consumed automatically. Fixes: #6972
2020-04-17Add a json schema for the test.json used in testsDylan Baker1-0/+105
This does a couple of nice things, one is that editors like vscode can be configured to use this schema to provide auto completion and error highlighting if invalid values are added or required values are missing. It also allows us test that the format of the test matrix work in a unit test, which I've added. It does require that the python jsonschema package is installed.
2020-03-12syntax-highlighting/vim: Add `in` as an operatorNirbheek Chauhan1-1/+1
This was missed. Ages ago.
2020-01-14Add .wrap file syntax detection for vimLuke Drummond1-0/+1
wrap files are ini syntax, and vim has support for this via the `dosini` syntax type [skip ci]
2019-12-12Add a summary() function for configuration summarizationXavier Claessens1-0/+1
Based on patch from Dylan Baker. Fixes #757
2019-11-07syntax-highlighting: vim: fix setting cpo [skip ci]Liam Beguin1-1/+1
since 'cpo' is global, use `set` instead of `setlocal`. Reported-By: Bram Moolenaar <Bram@vim.org> Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2019-10-18syntax-highlighting: vim: add license header [skip ci]Liam Beguin3-0/+3
Add a license header before getting them in the Vim runtime.
2019-10-14syntax-highlighting: vim: set comment stringLiam Beguin1-0/+3
Vim can automatically comment and format comments. Set the necessary variable to enable that feature. See `:help format-comments` for more information.
2019-08-12Add is_disabler functionJames Hilliard1-0/+1
This is useful if one needs to check if a variable is a disabler. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
2019-07-10Add alias_target() functionXavier Claessens1-0/+1
2019-04-28RPM Macros: Use `meson test` for %meson_testStephen Gallagher1-1/+11
Previously, this called out to the %ninja_test macro to run the tests, but that limits us to only the arguments that ninja can understand. In particular, it is not possible to add a test timeout multiplier (such as is sometimes needed when building for slow architectures such as armv7hl). With this patch, it will be possible to specify `%meson_test -t 5` in the RPM spec file without needing to patch the sources to extend the timeouts, making life easier for packagers. Related: https://github.com/mesonbuild/meson/issues/2037 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-04-08Revert "rpm: Always set b_ndebug to true"Igor Gnatenko1-1/+0
It turned out that it is not really good idea. This reverts commit da1bb49787b2f65ca3a4c3c3fb0d9eda822f3275. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2019-03-26rpm: Always set b_ndebug to trueIgor Gnatenko1-0/+1
'if-release' does not catch buildtype=plain, so we need to do this. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2019-03-08bash/zsh: drop completion for deprecated commandEric Engestrom2-42/+1
2019-02-20zsh: complete targetsEric Engestrom1-2/+16
2019-02-20add Bash completion scriptEric Engestrom1-0/+441
2019-01-15Remove argv2, which is not supported by polkit. Closes #4758.Jussi Pakkanen1-1/+0
2019-01-04rpm: remove manual printing of error logs on failureZbigniew Jędrzejewski-Szmek1-6/+1
This effectively reverts 92219a2739ea69fa617cca74517b68ed5e1bcb7d. Back in the day, meson test would not print the logs on failure. But it now does that automatically, for the failed test. Printing all logs is annoying because it results in exteremely long output in some packages. Example output: + /usr/bin/ninja test -v -j4 -C x86_64-redhat-linux-gnu ninja: Entering directory `x86_64-redhat-linux-gnu' [0/1] /usr/bin/meson test --no-rebuild --print-errorlogs 1/16 test-script.sh OK 46.23 s ... 14/16 test-casync FAIL 1.17 s (exit status 1) 15/16 test-cautil OK 0.00 s 16/16 test-util OK 0.01 s Ok: 15 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 The output from the failed tests: 14/16 test-casync FAIL 1.17 s (exit status 1) --- command --- /home/zbyszek/fedora/casync/casync-2/x86_64-redhat-linux-gnu/test-casync --- stdout --- error -------
2018-11-30syntax-highlighting: vim: Allow overriding shiftwidth and softtabstopLaurent Pinchart3-5/+17
The vim syntax indentation rules stored in indent/meson.vim set the local shiftwidth and softtabstop variables. As the file is loaded last, after ~/.vim/after/ftplugin/meson.vim (when present), this prevents overriding the default values for shiftwidth and softtabstop in a local configuration. Fix this by setting shiftwidth and softtabstop in ftplugin/meson.vim instead (as done by the python indentiation rules in upstream vim for instance) to allow local overrides. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2018-08-07Test that vim syntax highlighting is up-to-dateNirbheek Chauhan1-0/+3
Needs a `mock` kwarg to Interpreter to not do any parsing of build files, but only setup the builtins and functions. Also consolidate the documentation and data tests into one class.
2018-07-25rpm: pass --auto-features=enabled [skip ci]Igor Gnatenko1-0/+2
We really want to be explicit. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25rpm: use %{shrink
} [skip ci]Igor Gnatenko1-18/+18
Make logs look better! Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-25rpm: use %set_build_flags [skip ci]Igor Gnatenko1-5/+1
It has better name and should do the trick. Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-02meson.vim: Add missing disabler() entry [skip ci]Nirbheek Chauhan1-0/+1
2018-06-30Add feature footerJuergen Hoetzel1-0/+2
2018-06-30Setup mode-specific `comment-start' and `'comment-end'Juergen Hoetzel1-15/+2
Get rid of meson.comment-dwim workaround.