aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'rust-fixes-6.17-2' of ↵Linus Torvalds2025-09-061-2/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux Pull rust fixes from Miguel Ojeda: - Two changes to prepare for the future Rust 1.91.0 release (expected 2025-10-30, currently in nightly): a target specification format change and a renamed, soon-to-be-stabilized 'core' function. * tag 'rust-fixes-6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux: rust: support Rust >= 1.91.0 target spec rust: use the new name Location::file_as_c_str() in Rust >= 1.91.0
| * rust: support Rust >= 1.91.0 target specMiguel Ojeda2025-08-311-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Starting with Rust 1.91.0 (expected 2025-10-30), the target spec format has changed the type of the `target-pointer-width` key from string to integer [1]. Thus conditionally use one or the other depending on the version. Cc: Waffle Maybe <[email protected]> Link: https://github.com/rust-lang/rust/pull/144443 [1] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
* | kasan: fix GCC mem-intrinsic prefix with sw tagsAda Couprie Diaz2025-08-281-4/+8
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC doesn't support "hwasan-kernel-mem-intrinsic-prefix", only "asan-kernel-mem-intrinsic-prefix"[0], while LLVM supports both. This is already taken into account when checking "CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX", but not in the KASAN Makefile adding those parameters when "CONFIG_KASAN_SW_TAGS" is enabled. Replace the version check with "CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX", which already validates that mem-intrinsic prefix parameter can be used, and choose the correct name depending on compiler. GCC 13 and above trigger "CONFIG_CC_HAS_KASAN_MEMINTRINSIC_PREFIX" which prevents `mem{cpy,move,set}()` being redefined in "mm/kasan/shadow.c" since commit 36be5cba99f6 ("kasan: treat meminstrinsic as builtins in uninstrumented files"), as we expect the compiler to prefix those calls with `__(hw)asan_` instead. But as the option passed to GCC has been incorrect, the compiler has not been emitting those prefixes, effectively never calling the instrumented versions of `mem{cpy,move,set}()` with "CONFIG_KASAN_SW_TAGS" enabled. If "CONFIG_FORTIFY_SOURCES" is enabled, this issue would be mitigated as it redefines `mem{cpy,move,set}()` and properly aliases the `__underlying_mem*()` that will be called to the instrumented versions. Link: https://lkml.kernel.org/r/[email protected] Link: https://gcc.gnu.org/onlinedocs/gcc-13.4.0/gcc/Optimize-Options.html [0] Signed-off-by: Ada Couprie Diaz <[email protected]> Fixes: 36be5cba99f6 ("kasan: treat meminstrinsic as builtins in uninstrumented files") Reviewed-by: Yeoreum Yun <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Andrey Konovalov <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Dmitriy Vyukov <[email protected]> Cc: Marco Elver <[email protected]> Cc: Marc Rutland <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Vincenzo Frascino <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
* Merge tag 'kbuild-v6.17-2' of ↵Linus Torvalds2025-08-0622-1180/+1072
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kbuild updates from Masahiro Yamada: "This is the last pull request from me. I'm grateful to have been able to continue as a maintainer for eight years. From the next cycle, Nathan and Nicolas will maintain Kbuild. - Fix a shortcut key issue in menuconfig - Fix missing rebuild of kheaders - Sort the symbol dump generated by gendwarfsyms - Support zboot extraction in scripts/extract-vmlinux - Migrate gconfig to GTK 3 - Add TAR variable to allow overriding the default tar command - Hand over Kbuild maintainership" * tag 'kbuild-v6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (92 commits) MAINTAINERS: hand over Kbuild maintenance kheaders: make it possible to override TAR kbuild: userprogs: use correct linker when mixing clang and GNU ld kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.c kconfig: lxdialog: replace strcpy with snprintf in print_autowrap kconfig: gconf: refactor text_insert_help() kconfig: gconf: remove unneeded variable in text_insert_msg kconfig: gconf: use hyphens in signals kconfig: gconf: replace GtkImageMenuItem with GtkMenuItem kconfig: gconf: Fix Back button behavior kconfig: gconf: fix single view to display dependent symbols correctly scripts: add zboot support to extract-vmlinux gendwarfksyms: order -T symtypes output by name gendwarfksyms: use preferred form of sizeof for allocation kconfig: qconf: confine {begin,end}Group to constructor and destructor kconfig: qconf: fix ConfigList::updateListAllforAll() kconfig: add a function to dump all menu entries in a tree-like format kconfig: gconf: show GTK version in About dialog kconfig: gconf: replace GtkHPaned and GtkVPaned with GtkPaned kconfig: gconf: replace GdkColor with GdkRGBA ...
| * kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.cSuchit Karunakaran2025-08-061-2/+4
| | | | | | | | | | | | | | | | | | | | strcpy() performs no bounds checking and can lead to buffer overflows if the input string exceeds the destination buffer size. This patch replaces it with strncpy(), and null terminates the input string. Signed-off-by: Suchit Karunakaran <[email protected]> Reviewed-by: Nicolas Schier <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: lxdialog: replace strcpy with snprintf in print_autowrapSuchit Karunakaran2025-08-061-2/+1
| | | | | | | | | | | | | | | | | | | | strcpy() does not perform bounds checking and can lead to buffer overflows if the source string exceeds the destination buffer size. In print_autowrap(), replace strcpy() with snprintf() to safely copy the prompt string into the fixed-size tempstr buffer. Signed-off-by: Suchit Karunakaran <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: refactor text_insert_help()Masahiro Yamada2025-07-261-25/+8
| | | | | | | | | | | | | | text_insert_help() and text_insert_msg() share similar code. Refactor text_insert_help() to eliminate the code duplication. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove unneeded variable in text_insert_msgMasahiro Yamada2025-07-261-2/+1
| | | | | | | | | | | | The 'msg' and 'message' refer to the same pointer. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: use hyphens in signalsMasahiro Yamada2025-07-261-7/+7
| | | | | | | | | | | | | | Using hyphens in signal names is the official convention, even though underscores also work. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: replace GtkImageMenuItem with GtkMenuItemMasahiro Yamada2025-07-261-7/+7
| | | | | | | | | | | | | | | | | | | | GtkImageMenuItem is deprecated with GTK 3.10. [1] Use GtkMenuItem instead. [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.10.0/gtk/deprecated/gtkimagemenuitem.c#L797 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: Fix Back button behaviorMasahiro Yamada2025-07-261-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clicking the Back button may navigate to a non-menu hierarchy level. [Example] menu "menu1" config A bool "A" default y config B bool "B" depends on A default y menu "menu2" depends on B config C bool "C" default y endmenu endmenu After being re-parented by menu_finalize(), the menu tree is structured like follows: menu "menu1" \-- A \-- B \-- menu "menu2" \-- C In Single view, visit "menu2" and click the Back button. It should go up to "menu1" and show A, B and "menu2", but instead goes up to A and show only B and "menu2". This is a bug in on_back_clicked(). Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: fix single view to display dependent symbols correctlyMasahiro Yamada2025-07-261-15/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the following example, the symbol C was never displayed in Single view. Fix the recursion logic so that all symbols are shown. menu "menu" config A bool "A" config B bool "B" depends on A config C bool "C" depends on B endmenu Signed-off-by: Masahiro Yamada <[email protected]>
| * scripts: add zboot support to extract-vmlinuxJeremy Linton2025-07-261-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zboot compressed kernel images are used for arm64 kernels on various distros. extract-vmlinux fails with those kernels because the wrapped image is another PE. While this could be a bit confusing, the tools primary purpose of unwrapping and decompressing the contained kernel image makes it the obvious place for this functionality. Add a 'file' check in check_vmlinux() that detects a contained PE image before trying readelf. Recent (FILES_39, Jun/2020) file implementations output something like: "Linux kernel ARM64 boot executable Image, little-endian, 4K pages" Which is also a stronger statement than readelf provides so drop that part of the comment. At the same time this means that kernel images which don't appear to contain a compressed image will be returned rather than reporting an error. Which matches the behavior for existing ELF files. The extracted PE image can then be inspected, or used as would any other kernel PE. Signed-off-by: Jeremy Linton <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
| * gendwarfksyms: order -T symtypes output by nameGiuliano Procida2025-07-261-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When writing symtypes information, we iterate through the entire hash table containing type expansions. The key order varies unpredictably as new entries are added, making it harder to compare symtypes between builds. Resolve this by sorting the type expansions by name before output. Signed-off-by: Giuliano Procida <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
| * gendwarfksyms: use preferred form of sizeof for allocationGiuliano Procida2025-07-266-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | The preferred form is to use the variable being allocated to, rather than explicitly supplying a type name which might become stale. Also do this for memset. Suggested-by: Masahiro Yamada <[email protected]> Signed-off-by: Giuliano Procida <[email protected]> Reviewed-by: Sami Tolvanen <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: qconf: confine {begin,end}Group to constructor and destructorMasahiro Yamada2025-07-262-2/+7
| | | | | | | | | | | | | | Call beginGroup() in the the constructor and endGroup() in the destructor. This looks cleaner. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: qconf: fix ConfigList::updateListAllforAll()Masahiro Yamada2025-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | ConfigList::updateListForAll() and ConfigList::updateListAllforAll() are identical. Commit f9b918fae678 ("kconfig: qconf: move ConfigView::updateList(All) to ConfigList class") was a misconversion. Fixes: f9b918fae678 ("kconfig: qconf: move ConfigView::updateList(All) to ConfigList class") Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: add a function to dump all menu entries in a tree-like formatMasahiro Yamada2025-07-262-0/+75
| | | | | | | | | | | | | | | | This is useful for debugging purposes. menu_finalize() re-parents menu entries, and this function can be used to dump the final structure of the menu tree. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: show GTK version in About dialogMasahiro Yamada2025-07-261-1/+5
| | | | | | | | | | | | | | | | | | Likewise xconfig, it is useful to display the GTK version in the About dialog. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: replace GtkHPaned and GtkVPaned with GtkPanedMasahiro Yamada2025-07-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | GtkHPaned and GtkVPaned are deprecated with GTK 3.2. [1] [2] Use GtkPaned instead. [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.2.0/gtk/gtkhpaned.c#L44 [2]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.2.0/gtk/gtkvpaned.c#L44 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: replace GdkColor with GdkRGBAMasahiro Yamada2025-07-261-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GdkColor is deprecated with GTK 3.14. [1] Use GdkRGBA instead. This fixes warnings such as: scripts/kconfig/gconf.c: In function ‘set_node’: scripts/kconfig/gconf.c:138:9: warning: ‘gdk_color_parse’ is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations] 138 | gdk_color_parse(menu_is_visible(menu) ? "Black" : "DarkGray", &color); | ^~~~~~~~~~~~~~~ [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.14.0/gdk/deprecated/gdkcolor.h#L52 Signed-off-by: Masahiro Yamada <[email protected]> Tested-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: replace GtkVbox with GtkBoxMasahiro Yamada2025-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | GtkVBox is deprecated with GTK 3.2. [1] Use GtkBox instead. [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.2.0/gtk/gtkvbox.c#L47 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: migrate to GTK 3Masahiro Yamada2025-07-263-146/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit switches from GTK 2.x to GTK 3, applying the following necessary changes: - Do not include individual headers - GtkObject is gone - Convert Glade to GtkBuilder Link: https://docs.gtk.org/gtk3/migrating-2to3.html Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: rename gconf.glade to gconf.uiMasahiro Yamada2025-07-262-3/+3
| | | | | | | | | | | | | | | | | | The next commit will convert this file to GtkBuilder format. Rename it in advance to reflect the intended format. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: rename display_tree_part()Masahiro Yamada2025-07-261-7/+7
| | | | | | | | | | | | | | This function recreates the tree store to update the menu content. Rename it to recreate_tree() to better reflect its purpose. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: use configure-event handler to adjust pane separatorMasahiro Yamada2025-07-261-18/+7
| | | | | | | | | | | | | | | | | | | | | | The size-request event handler is currently used to adjust the position of the horizontal separator in the right pane. However, the size-request signal is not available in GTK 3. Use the configure-event signal instead. Signed-off-by: Masahiro Yamada <[email protected]> Tested-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: fix behavior of a menu under a symbol in split viewMasahiro Yamada2025-07-261-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A menu can be created under a symbol. [Example] menu "outer menu" config A bool "A" menu "inner menu" depends on A config B bool "B" endmenu endmenu After being re-parented by menu_finalize(), the menu tree is structured like follows: menu "outer menu" \-- A \-- menu "inner menu" \-- B In split view, the symbol A is shown in the right pane, so all of its descendants must also be shown there. This has never worked correctly. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: nconf: Ensure null termination where strncpy is usedShankari Anand2025-07-262-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | strncpy() does not guarantee null-termination if the source string is longer than the destination buffer. Ensure the buffer is explicitly null-terminated to prevent potential string overflows or undefined behavior. Signed-off-by: Shankari Anand <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> Tested-by: Nicolas Schier <[email protected]> Acked-by: Nicolas Schier <[email protected]>
| * kconfig: gconf: remove GtkHandleBox from gladeMasahiro Yamada2025-07-021-9/+0
| | | | | | | | | | | | | | | | GtkHandleBox is deprecated with GTK 3.4. [1] [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.4.0/gtk/deprecated/gtkhandlebox.c#L426 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: use gtk_dialog_get_content_area() accessorMasahiro Yamada2025-07-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | GTK 3 removes many implementation details and struct members from its public headers. Use the gtk_check_menu_item_get_active() accessor. [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/docs/reference/gtk/compiling.sgml#L85 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: use gtk_check_menu_item_get_active() accessorMasahiro Yamada2025-07-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | GTK 3 removes many implementation details and struct members from its public headers. Use the gtk_check_menu_item_get_active() accessor. [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/docs/reference/gtk/compiling.sgml#L85 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove unnecessary default message in text viewMasahiro Yamada2025-07-021-1/+0
| | | | | | | | | | | | This message looks odd because it is displayed when nothing is selected. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: replace "tooltip" property with "tooltip-text"Masahiro Yamada2025-07-021-17/+17
| | | | | | | | | | | | | | | | | | This is no longer available in GTK 3. Use "tooltip-text" instead. Also reword "Goes up of one level" to "Goes up one level" while I am here. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove "tooltips" property from gladeMasahiro Yamada2025-07-021-1/+0
| | | | | | | | | | | | | | | | The tips are still displayed without this. This property does not exist in GtkBuilder with GTK 3. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: replace GTK_STOCK_{OK,NO,CANCEL}Masahiro Yamada2025-07-021-3/+3
| | | | | | | | | | | | | | | | | | | | These are deprecated with GTK 3.10. [1] Use "_OK", "_no", "_Cancel". [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/3.10.0/gtk/deprecated/gtkstock.h#L827 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: replace GDK_space with GDK_KEY_spaceMasahiro Yamada2025-07-021-1/+1
| | | | | | | | | | | | | | | | In GTK3, keysyms changed to have a KEY_ prefix. [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/gdk/gdkkeysyms-compat.h#L24 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove dead code in display_tree_part()Masahiro Yamada2025-07-021-4/+1
| | | | | | | | | | | | | | This function is no longer called in the FULL_VIEW mode, so remove the dead code. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: inline display_list() into set_view_mode()Masahiro Yamada2025-07-021-11/+3
| | | | | | | | | | | | | | This function is now only called by set_view_mode(), so inline it for simplicity. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: do not reconstruct tree store when a symbol is changedMasahiro Yamada2025-07-021-18/+11
| | | | | | | | | | | | | | | | | | There is no need to reconstruct the entire tree store when a symbol's value changes. Simply call gtk_tree_store_set() to update the row data. Introduce update_trees() to factor out the common update logic. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: inline fill_row() into set_node()Masahiro Yamada2025-07-021-166/+106
| | | | | | | | | | | | | | | | | | | | | | | | The row[] array is used to prepare data passed to set_node(), but this indirection is unnecessary. Squash fill_row() into set_node() and call gtk_tree_store_set() directly. Also, calling gdk_pixbuf_new_from_xpm_data() for every row is inefficient. Call it once and store the resulting pixbuf in a global variable. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove init_tree_model()Masahiro Yamada2025-07-021-20/+16
| | | | | | | | | | | | Move the relevant code into init_left_tree() or init_right_tree(). Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove global 'model1' and 'model2' variablesMasahiro Yamada2025-07-021-5/+2
| | | | | | | | | | | | | | | | These variables are unnecessary because the current model can be retrieved using gtk_tree_view_get_model(). Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: use GtkTreeModelFilter to control row visibilityMasahiro Yamada2025-07-021-137/+80
| | | | | | | | | | | | | | | | | | | | | | | | Currently, update_tree() adds/removes entries to show/hide rows. This approach is extremely complicated. Use the tree model filter to control row visibility instead. Do not toggle the MENU_CHANGED flag, as it is hard to control this correctly. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: preserve menu selection when switching view modeMasahiro Yamada2025-07-021-8/+79
| | | | | | | | | | | | | | Preserve the current menu selection when switching to a different view mode, as it improves usability. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: merge 'current' and 'browsed' global variablesMasahiro Yamada2025-07-021-19/+13
| | | | | | | | | | | | | | The 'current' (SINGLE view) and 'browsed' (SPLIT_VIEW) variables serve similar purposes and are not needed at the same time. Merge them. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: remove global 'tree' variableMasahiro Yamada2025-07-021-21/+21
| | | | | | | | | | | | | | Pass the tree store as a function parameter to make it clearer which tree is being updated. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: make introduction, about, license dialogs modalMasahiro Yamada2025-07-021-12/+6
| | | | | | | | | | | | | | | | These are modal dialogs in xconfig. Make them modal in gconfig as well. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]>
| * kconfig: gconf: refactor replace_button_icon()Masahiro Yamada2025-07-021-15/+5
| | | | | | | | | | | | | | The "window" and "style" arguments for replace_button_icon() are now unused. Remove them and refactor the function accordingly. Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: use GdkPixbuf in replace_button_icon()Masahiro Yamada2025-07-021-7/+6
| | | | | | | | | | | | | | | | | | | | gdk_pixmap_create_from_xpm_d has been deprecated since version 2.22. Use a GdkPixbuf instead. You can use gdk_pixbuf_new_from_xpm_data() to create it. [1] [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/gdk/gdkpixmap.c#L742 Signed-off-by: Masahiro Yamada <[email protected]>
| * kconfig: gconf: use GtkFileChooser in on_save_as1_activate()Masahiro Yamada2025-07-021-26/+24
| | | | | | | | | | | | | | | | | | | | | | gtk_file_selection_new() is deprecated, and gtk_file_chooser_dialog_new() should be used instead. [1] [1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/docs/reference/gtk/tmpl/gtkfilesel.sgml?ref_type=tags#L156 Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]>