134 Commits

Author SHA256 Message Date
c892c2ac54 - Allow building with CMake 4.0
* Bump cmake_minumum_required to 3.10, which matches what most
    other modules in libyui use (3.5 is the minimum required to be
    supportable by CMake 4.0(
  * Remove CMP0046, as CMake 4.0 no longer supports it. The OLD
    mode in any case was a workaround for 'badly written
    CMakeLists.txt', as it just instructed cmake to ignore
    non-existing dependenices listed in add_dependencies. This
    package does not rely on non-existing dependencies and builds
    perfectly without this policy.
- 4.7.6

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=264
2025-07-17 11:15:36 +00:00
5de816384e - Do not build the qt packages (libyui-qt, libyui-qt-graph,
libyui-qt-pkg and libyui-qt-rest-api) in SLE16 since Qt5 won't
  be available there.
- 4.7.5

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=263
2025-06-25 08:22:09 +00:00
b4d78b6a09 - Integrated the graphviz API fix upstream (gh#libyui/libyui#120)
(Let CMake detect graphviz version)
- 4.7.4
D graphviz_unsigned_fix.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=262
2025-06-19 08:25:55 +00:00
de62b8b7de Accepting request 1285172 from home:trenn:branches:graphics
- graphviz API broke in a recent version update (bezier size is now
  of type size_t instead of int).
A graphviz_unsigned_fix.patch
- graphviz API broke in a recent version update (bezier size is now
  of type size_t instead of int).
A graphviz_unsigned_fix.patch

OBS-URL: https://build.opensuse.org/request/show/1285172
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=261
2025-06-16 08:23:15 +00:00
4034395dc4 - Fix build failure with gcc-15:
Prevent complaint about hidden base class method (bsc#1243732)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=260
2025-05-28 10:56:56 +00:00
f59bdeac53 - Use %make_build instead of %jobs to improve reproducible builds (boo#1237231)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=259
2025-05-23 15:18:15 +00:00
7fd5163300 - Fix build failure with gcc-15:
Don't build libyui-rest-api with -Werror to complain about
  wstring_convert that was deprecated without any replacement
  (bsc#1241933)
- 4.7.1

- Bump version to 4.7.0 to avoid conflicts with the SLE15-SP6 version

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=258
2025-05-13 13:49:54 +00:00
739958daf3 - Add gcc-fortran to build requirements as a work-around to boost
now really requiring quadmath.h. (boo#1225861)
- 4.6.3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=257
2024-08-09 09:48:34 +00:00
6d57c18d4f - Fix build failure with gcc-14 / C++20: template-id-cdtor error
(bsc#1225861)
- 4.6.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=256
2024-07-17 07:37:22 +00:00
f0813cd453 - Qt Pkg: Show patterns order column if environment variable
Y2_SHOW_PATTERNS_ORDER is set
- Qt Pkg: Show invisible patterns if environment variable
  SHOW_INVISIBLE_PATTERNS is set
- Qt Pkg: Fixed pattern categories order:
  Use first, not last pattern (bsc#1216093)
  https://github.com/libyui/libyui/pull/107
- 4.6.1

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=255
2023-10-11 11:33:55 +00:00
YaST Team Bot
d6d5ee66f9 - NCurses UI: Prevent buffer overflow when drawing very wide labels
(bsc#1211354)
- 4.6.0

- Cherry-picked BLumia's patch from community PR #97:
  CMake: use pkg-config to find and use ncurses libs
  by Wang Zichong <wangzichong@deepin.org>

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=254
2023-05-30 13:04:24 +00:00
YaST Team Bot
10a2fd878a - Qt UI: Fixed regression for icon loading (bsc#1210712)
https://github.com/libyui/libyui/pull/100
- 4.5.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=253
2023-04-26 09:59:01 +00:00
YaST Team Bot
8dfd5c0929 - Qt UI: Fixed loading icons from an absolute path (bsc#1210591)
https://github.com/libyui/libyui/pull/94
- 4.5.1

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=252
2023-04-18 16:09:06 +00:00
YaST Team Bot
b517af5833 - Bump version to 4.5.0 (bsc#1208913)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=250
2023-03-07 19:33:52 +00:00
YaST Team Bot
41fe8fcdca - Fixed build with GCC13 (-Woverloaded-virtual) (bsc#1208238)
- build-all: Don't build bindings with --small (-s)
- More docs for YShortcutManager (FAQ for our QA)
- Merged PR #88 from krai: 
  libyui-ncurses: Replace off64_t with off_t and stat64 with stat
- 4.4.9

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=249
2023-02-24 16:42:38 +00:00
YaST Team Bot
7771ba3c2f - NCurses REST API - fixed RunInTerminal behavior (bsc#1206929)
Stop the REST API server during execution of the
  RunInTerminal() call. This allows the subprocess to open
  it's own REST API server using the same port.
  This is useful for the ncurses YaST control center which
  starts other YaST modules as subprocesses.
- 4.4.8

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=248
2023-01-10 17:13:27 +00:00
YaST Team Bot
6b927ca4a9 - YQPkg: Scroll patterns list by pixels, not by item to avoid problems
caused by non-uniform item heights (bsc#1189550)
- 4.4.7

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=247
2022-12-06 14:03:21 +00:00
YaST Team Bot
9d44ada412 - Prevent antisocial focus grabbing in pkg list (bsc#1204429)
- 4.4.6

- Fixed build failure with gcc 13 (gh#libyui/libyui/#80)
- Killed YCP zombies in log output and comments
- 4.4.5

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=246
2022-11-09 15:08:13 +00:00
YaST Team Bot
47ed3f3564 - Fixed main window stacking order in YQMainWinDock to avoid
unintentional transparency when QSS-styling YQDialogs
  (bsc#1199020, bsc#1191112)
- 4.4.4

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=245
2022-08-30 15:33:11 +00:00
YaST Team Bot
4d852aaeca - *-pkg plugins: fully qualify the _1 placeholder, libzypp
will disable the global boost placeholders in the next release
  (bsc#1202058, gh#libyui/libyui#78)
- 4.4.3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=244
2022-08-02 13:13:48 +00:00
YaST Team Bot
7e30e2aa0d - libyui-ncurses: replace the "glibc-locale" dependency with
much smaller "glibc-locale-base" (bsc#1154405)
- 4.4.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=243
2022-07-21 13:04:15 +00:00
YaST Team Bot
87d948d8ff - Added a custom QTranslator for translations support for Qt Designer
.ui files (bsc#1198097)
- Renamed .ui files and toplevel classes in .ui files to conform to
  our naming standards (QY2*, YQ*) to avoid ambiguities with predefined
  Qt classes to work with our new custom QTranslator
- Added TEXTDOMAIN file to support .ui files in y2makepot (@lslezak)
- 4.4.1

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=242
2022-05-17 12:39:17 +00:00
YaST Team Bot
ff65c8ce33 - Added dynamic property first-item to YQItemSelector and
YQCustomStatusItemSelector for QSS styling (bsc#1196599)
  see also https://github.com/libyui/libyui/pull/68
- 4.4.0
  
- Reviewed and merged pending community PRs:

  - Perl bindings build error fix by Angelo Naselli <anaselli@linux.it>
  - Ruby bindings with libyui-mga by Angelo Naselli <anaselli@linux.it>
  - Typo fix in rest-api examples by George Gkioulis <ggkioulis@suse.com>
  - Missing examples header fix by James.W <jinnan.wjn@alibaba-inc.com>

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=241
2022-04-14 13:52:56 +00:00
YaST Team Bot
72c4adbe3c - Fixed release notes dialog in YQWizard clearing content on click
(bsc#1195158)
- Documented the different ways of displaying release notes in the UI
- 4.3.3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=236
2022-03-15 13:38:13 +00:00
YaST Team Bot
ddaa716aa5 - Update also the stylesheet (theme) for the RichText content when
changing the UI theme (bsc#1196296)
- 4.3.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=235
2022-03-03 09:49:46 +00:00
YaST Team Bot
a976e1c0f4 - Made widget style sheet (theme) switching discoverable in the Qt UI:
Added an icon button to YQWizard
  (jsc#SLE-20564, bsc#1195730)
  More info + screenshots: https://github.com/libyui/libyui/pull/65
- Fixed Qt warning in y2log: QFrame '' already has a layout
- 4.3.1

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=234
2022-02-10 10:14:34 +00:00
YaST Team Bot
bcf8158b78 - Added widget style sheet (theme) switching to Qt UI (jsc#SLE-20564)
with the Shift-F3 key combination
  More info + screenshots: https://github.com/libyui/libyui/pull/64
- Added UI built-in UI.AskForWidgetStyle()
- Added UI capability HasWidgetStyleSupport (for UI.GetDisplayInfo())
- Bumped SO version to 16
- Fixed gcc 12 warnings (GitHub issue #63)
  (elevated to error by -Werror)
- 4.3.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=233
2022-02-02 08:59:21 +00:00
YaST Team Bot
a5a2e52384 - Fix deprecated warning (elevated to error by -Werror)
for libmicrohttpd's MHD_HTTP_UNPROCESSABLE_ENTITY in rest-api
  (bsc#1193956)
- 4.2.24

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=232
2021-12-21 14:27:55 +00:00
YaST Team Bot
81976e4e9e - Fixed YQPkg button redraw problem in dark SLE installation theme:
Use centered button in dialogs with QSizeGrip (bsc#1193808)
- 4.2.23

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=231
2021-12-21 12:29:39 +00:00
YaST Team Bot
cb39c082c1 - Send a proper notify event from the YMultiSelectionBox widget
when checking a check box via the REST API (bsc#1192574)
- 4.2.22

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=230
2021-11-11 15:49:00 +00:00
YaST Team Bot
c58711e513 - ncurses: Fix sorting tables by strings (jsc#SLE-17782)
- 4.2.21

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=228
2021-10-26 14:08:55 +00:00
YaST Team Bot
e07a30f09f - Use the C++17 standard in the *-pkg plugins (libzypp uses that
standard by default) (related to bsc#1191829)
- 4.2.20

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=227
2021-10-21 12:13:43 +00:00
YaST Team Bot
eab2d4bf83 - Fixed crash in NCurses online update when retracted packages
are present (bsc#1191130)
- 4.2.19

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=226
2021-10-19 10:33:42 +00:00
YaST Team Bot
90ff5851b4 - Add debug_label as filter and improve error handling (bsc#1174390)
- 4.2.18

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=225
2021-10-18 11:05:47 +00:00
YaST Team Bot
2cf24c79fa - Fixed empty entries in YQPackageSelector Zypp history window
(bsc#1191430)
- Added missing textdomain (bsc#1190805)
- 4.2.17

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=224
2021-10-13 14:44:36 +00:00
1e5971c131 - Fixed using an uninitialized variable, in some situations
the patch category could be missing in the Qt UI (bsc#1174390)
- 4.2.16

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=222
2021-09-01 14:21:12 +00:00
YaST Team Bot
50c7096865 - Fixed displaying empty help text or empty release notes
in ncurses UI (the real cause of bsc#972548)
- 4.2.15

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=220
2021-08-06 17:29:59 +00:00
YaST Team Bot
1831e1d004 - rest-api: When finding table items by cell value,
ignore BiDi control chars (bsc#1128091)
- 4.2.14

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=218
2021-06-08 09:48:30 +00:00
YaST Team Bot
47f98142b9 - Fixed build failure with latest GCC 11.1:
Added operator delete as counterpart to our custom operator new
  in YWidget (bsc#1186741)
- 4.2.13

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=216
2021-06-02 12:28:50 +00:00
YaST Team Bot
506279d0b0 - Greatly improved visual appearance of tab widgets in the Qt UI
(bsc #1186705, GitHub issue #20)
- 4.2.12

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=214
2021-06-01 20:08:43 +00:00
YaST Team Bot
240360b2b2 - rest-api: fix crash when switching tabs (bsc#1185746)
- 4.2.11

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=212
2021-05-26 11:39:32 +00:00
YaST Team Bot
357d81464d - Added pkgconfig files for libyui-qt and libyui-ncurses
for writing extensions of the Qt and NCurses plug-ins
  (GitHub issue #9 / bsc#1139747)
- 4.2.10

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=211
2021-05-05 08:57:59 +00:00
YaST Team Bot
15431c6db0 - Ignore ampersand when search item in YMenuWidget and YDumbTab
with rest-api (bsc#1139747)
- 4.2.9

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=209
2021-05-03 11:34:05 +00:00
YaST Team Bot
b41c0016cb - Fixed license headers to use the correct license (LGPL) everywhere
(bsc#1185443)
- 4.2.8

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=207
2021-04-29 11:53:28 +00:00
YaST Team Bot
8245b5cb6c - Auto-publish C++ API docs (libyui base lib doxygen autodocs)
as GitHub pages when a PR to master is merged
  (part of bsc#1181653)
  Doc URL: https://libyui.github.io/libyui/api-doc/index.html
- 4.2.7

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=206
2021-04-27 07:58:27 +00:00
YaST Team Bot
8fff5731cc - Moved CI scripts into new subdir scripts/ to unclutter toplevel dir
(part of bsc#1181653)
- Renamed ambiguously named script local.sh to local-prefix.sh
- 4.2.6

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=205
2021-04-26 11:23:32 +00:00
YaST Team Bot
41aa6acbf0 - Added reference to autodocs (C++ API doc) and more docs
(part of bsc#1181653)
- 4.2.5

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=204
2021-04-22 11:08:25 +00:00
YaST Team Bot
22f5141b73 - Added support for $CMAKE_INSTALL_PREFIX for alternate installation dir
either as -D on the cmake command line or in the environment
  (gh#14, part of bsc#1181653)
- 4.2.4

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=203
2021-04-20 14:23:18 +00:00
YaST Team Bot
3bd829cc66 - Added toplevel build-all script (part of bsc#1181653)
- Revamped toplevel README.md
- Create local include dirs at cmake time to avoid root ownership
  after "make install"
- 4.2.3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=202
2021-04-14 16:07:30 +00:00
YaST Team Bot
8422dcd050 - Adjust documentation url in libyui-rest-api for the new project
structure (bsc#1184363)
- 4.2.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:libyui/libyui?expand=0&rev=201
2021-04-13 17:53:15 +00:00