summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)AuthorFilesLines
2022-04-21core: don't pass the ui back into commit.applyDylan Baker1-1/+1
2022-04-21bin/auto-pick: Add a script that automates applying commitsDylan Baker1-0/+151
This attempts to apply each commit, one-by-one, and then pushes it to gitlab for CI results, then if the CI succeeds it considers the commit a success, otherwise it reverts it and continues.
2022-04-21pick/core: have update_commits return the commit listDylan Baker1-2/+4
2022-03-23core: don't pass the ui back into commit.applyDylan Baker2-6/+5
2022-03-23pick/ui: correctly handle MANUAL_RESOLUTIONDylan Baker1-1/+1
2022-03-23pick/core: Add a MANUAL_RESOLUTION resolutionDylan Baker1-0/+1
This status is given by the auto-picker when it cannot successfully auto-pick
2022-03-23pick/core: Add a method for updating commitsDylan Baker1-0/+20
This is almost the same as the one in the ui, but without the UI elements. It would be nice to share code between them, but I'm not sure how to do that yet.
2022-03-23pick/core: Add proper type annotation for update_commits callbackDylan Baker1-3/+6
2022-03-23pick/core: drop the main_sha fieldDylan Baker1-3/+1
It isn't actually used, so we don't need it.
2022-03-23pick/ui: Fix mypy issueDylan Baker1-0/+1
2022-01-16bin/gen_calendar_entries: fix newlines on windowsErik Faye-Lund1-3/+3
The documentation[1] for the csv module specifies that we should specify newline='' when opening the output file. Without that, the module garbles the newlines, writing them as \r\r\n on Windows instead of \r\n. So let's do what the documentation says, and specify newline='' [1]: https://docs.python.org/3/library/csv.html#id3 Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12405>
2021-11-09vulkan/include: import the video codec headers.Dave Airlie1-0/+7
I'd like to allow mesa builds with beta headers enabled, this requires importing these. v2: add video headers to khronos update Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13685>
2021-10-09android_stub: update platform headers to include atraceYiwei Zhang1-10/+13
1. Add tracing headers 2. Update to reflect relocated headers 3. Remove redundant apex/window.h Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13255>
2021-09-19bin/khronos-update.py: add upstream for vulkan_directfb.h & vulkan_screen.hEric Engestrom1-0/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12877>
2021-09-19bin/khronos-update.py: update the branch name (s/master/main/)Eric Engestrom1-40/+40
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12877>
2021-09-16symbols-check: Fix symbol demangling for WindowsJesse Natalie1-1/+1
Only strip leading underscores if there's also a trailing @ Fixes shared-glapi symbol check for x64 Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12881>
2021-08-14python: drop python2 supportEric Engestrom2-2/+0
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
2021-08-14python: explicitly require python3Eric Engestrom2-2/+2
Ubuntu has dropped the `python` symlink to `python2` [1] instead of redirecting it to `python3` like other distros are doing, which means that if we want to build Mesa on Ubuntu we need the `python3` shebang. [1] https://lists.ubuntu.com/archives/ubuntu-devel/2020-January/040882.html Reported-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Eric Engestrom <eric@engestrom.ch> Acked-by: Jose Fonseca <jfonseca@vmware.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3674>
2021-08-10pick-ui: show commit dateEric Engestrom2-1/+9
With our ff-only merge setup, the commit date ends up being when the commit actually landed (as opposed to when it was first written). Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
2021-08-10pick-ui: show nomination type in the UIEric Engestrom1-1/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
2021-08-10pick-ui: drop assert that optional argument is passedEric Engestrom1-2/+1
Let's just make it not-optional instead. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12289>
2021-08-04bin/gen_release_notes: Fix commits with multiple Closes:Dylan Baker2-10/+39
Currently we'd only handle the last one, not all of them. Which is clearely not correct. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12201>
2021-08-04bin/gen_release_notes: Don't consider issues for other projectsDylan Baker2-2/+25
We have enough commits in mesa that have external dependencies that we need to be sure that a Closes: https://... is actually for mesa and not for another project. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12201>
2021-08-04bin/gen_release_notes: Add basic tests for parsing issuesDylan Baker2-4/+58
Since test coverage here is pretty important for a heuristic like this. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12201>
2021-07-21pass egl-symbols-check test on mips64elsuijingfeng1-0/+3
Without this patch the egl symbols check test fail on mips platform: 72/87 mesa:egl / egl-symbols-check FAIL 0.20s (exit status 1) src/egl/libEGL.so.1.0.0: unknown symbol exported: _fbss src/egl/libEGL.so.1.0.0: unknown symbol exported: _fdata src/egl/libEGL.so.1.0.0: unknown symbol exported: _ftext See Mips Run say thoes special symbols are automatically defined by the linker to allow programs to discover the start and end of their various section. They are descended from conventions that grew up in UNIX-like OSs, and are peculiar to the MIPS environment. _fbss : Start of uninitialized data segment _fdata : Start of initialized data segment _ftext : Start of text segment Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: suijingfeng <suijingfeng@loongson.cn> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955>
2021-06-11egl/android: add aosp_nougat system/window.h back for back compatYiwei Zhang1-0/+4
Also layer ANativeWindow_* APIs on top of legacy APIs for api level less than 26 in a new platform_android.h header. v2: persist frozen system/window.h header Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Rob Clark <robdclark@chromium.org> (v1) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11286>
2021-06-09egl/android: refactor to use the legit vndk/window.h headerYiwei Zhang1-1/+0
Using the system/window.h header can potentially cause AHB breakage because the system header is reserved for platform internal use. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11206>
2021-05-05bin/pick: Rename master branch to mainJordan Justen3-10/+10
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
2021-05-05commit_in_branch_test.py: Rename branch master to mainJordan Justen1-9/+9
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
2021-04-08anv: Remove vkCreateDmaBufINTEL (v4)Chad Versace1-1/+0
Superceded by VK_EXT_image_drm_format_modifier. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v1) Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v4) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1466>
2021-04-01bin/gen_release_notes.py: more robust rST escapingErik Faye-Lund1-11/+71
This copies code from the xml2rst to escape rST strings. Hopefully this will be more robust than what we've done so far. I really wish docutils would have utils for this directly, seems kinda essential. Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9917>
2021-01-21bin/post_version: convert the csv.reader into a concrete listDylan Baker1-1/+1
which is necessary to be able to index into it. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8477>
2021-01-07bin/gen_calendar_entries: Add support for making a releaseDylan Baker2-1/+179
Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-07bin/gen_calendar_entries: Add support for extending a releaseDylan Baker2-10/+167
Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-07bin: Add script for manipulating the release calendarDylan Baker2-0/+237
Currently it only handles creating entries for a new rc. Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-07docs: store the release-calendar information in csv (and fix tests)Dylan Baker2-150/+54
Restructured text (and markdown) is painful to programatically manipulate, most python parsers are geared towards writing markdown and generating html. I'd like to move the calendar updates to being scripted, as such using csv to store them will be convenient. This also allows us to simplify our scripting that manipulates the table considerably. Acked-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8341>
2021-01-06bin/remove get-pick-list.sh filesDylan Baker2-195/+0
These haven't been used for a long time, they've been supersceeded by pick-ui Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7863>
2021-01-06pick-ui: don't handle the mouseDylan Baker1-1/+1
It's annoying, since it prevents linux "midle click" copy-n-paste Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7863>
2020-12-15mapi: Fix symbols check with ASan enabled.Eric Anholt1-0/+2
ASan apparently introduces public symbols with __odr_asan as the prefix. Fixes unit tests when building with ASan. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7936>
2020-10-19android_stub: Update platform headers to include gralloc1.h.Eric Anholt1-1/+2
This header is used in anv and radv, and soon turnip. Since the script just checks out master, this also bumps the headers to upstream 02dfcc7c1562 ("Merge "Merge Android R"") Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6821>
2020-10-14symbols-check: Add __cxa_guard_* to the list of approved symbols.Eric Anholt1-1/+3
These are introduced by the compiler during static local initialization in c++ for thread safety. This seems to end up being public in the driver with --static-libc++ on android. Reviewed-by: <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6700>
2020-09-30bin/gen_release_notes.py: escape special rST charactersEric Engestrom1-4/+18
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6869>
2020-08-08pick-ui: specify git commands in "resolve cherry pick" messageEric Engestrom1-2/+2
Cc: mesa-stable Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6134>
2020-08-05ci: Include enough Android headers to let us compile test EGLKristian H. Kristensen1-0/+53
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
2020-07-24bin/khronos-update: add workaround for python bug 9625Eric Engestrom1-1/+4
The bug causes `choices` to break `nargs='*'`. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6057>
2020-07-24bin/khronos-update: add support for the SPIRV filesEric Engestrom1-0/+11
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6004>
2020-07-24bin/khronos-update: having a folder in include/ is not a requirementEric Engestrom1-3/+4
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6004>
2020-07-22bin/gen_release_notes: automatically commit release notesEric Engestrom1-0/+5
Cc: mesa-stable Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5833>
2020-07-22post_version.py: fix relnotes linksEric Engestrom1-1/+5
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>
2020-07-22post_version.py: update the files in the current worktree, not the one with ↵Eric Engestrom1-2/+2
the script that we run Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5928>