Commit Graph
28 Commits
Author SHA1 Message Date
BlackAngelTV f355c97940 feat(providers): add flatpak provider
Implement IPackageManager over the flatpak CLI: search, installed list,
updates, install/remove/update and appstream refresh. Runs per-user so it
needs no sudo. Parsing is exposed as statics so it can be unit-tested
without the flatpak binary.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:34:36 +02:00
BlackAngelTV a2cef3d256 feat(providers): add provider plugin system
Introduce a registry (PluginManager) that owns package managers and can
load additional providers at runtime from shared-library plugins dropped
in a plugins directory. Providers declare their metadata and a factory
through a C ABI (provider-plugin.h); requiresPassword() tells the UI
whether a provider needs sudo. Ships a sample external plugin as a
template for adding new backends.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-29 13:34:29 +02:00
BlackAngelTV a4a345984b style(ui): remove card frames for a flat design
Cards and tables no longer draw a border or background so content sits
directly on the page background, matching the requested flat look.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-28 17:55:00 +02:00
BlackAngelTV ad31e5c597 fix(crashes): stop destroying QThread workers while still running
Deleting SearchWorker/ListWorker/InstallWorker from the `finished` ->
`deleteLater` connection aborted the app with
"QThread: Destroyed while thread is still running" (SIGABRT) whenever a
list loaded or a package op finished. The deferred delete raced the
thread teardown because these workers have no event loop to process it
after run() returns.

Wait for the thread to complete (wait() clears the running flag, and by
then run() already emitted finished) before scheduling deleteLater, and
bind every cross-thread signal to the MainWindow context object so the
handlers run queued on the GUI thread instead of inside the worker.

Also drop the intrusive popups (removal confirmation, pacman/sudo
unavailable, empty-search notice) in favour of status bar messages, and
let sudo take the password via -S so no per-op polkit dialog is shown.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-28 15:13:15 +02:00
BlackAngelTV 5df9f2c22a feat(ui): use SVG icons and open package details from dashboard
Adopt the embedded SVG icon set across the interface: sidebar links,
action buttons, stat cards, search/filter fields, table status cells
and badges, replacing the inline emoji glyphs. Inline emoji inside
status-bar and history text are dropped since an SVG cannot be embedded
mid-sentence.

Also let a click on a package in the dashboard's recent activity open
its details on the Installed page with remove/update actions available,
by auto-selecting the package after the list loads.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 21:45:56 +02:00
BlackAngelTV ca49ad5e63 feat(ui): add embedded SVG icon set
Emoji were used as icons across the interface. Add a self-contained
set of monochrome SVG icons under resources/icons plus a Qt resource
file so the GUI can reference them through :/icons instead of font
glyphs, and register the resource in the build.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 21:45:48 +02:00
BlackAngelTV f525d52ab2 feat(pacman): report install origin and size for installed packages
listInstalled only returned name and version, leaving the size and the
origin repository empty for installed packages. Enrich each entry with
its installed size (parsed from pacman -Qi) and the repository it was
installed from (parsed from pacman -Sl), defaulting foreign/AUR
packages to "AUR" so the origin is always visible.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 21:45:38 +02:00
BlackAngelTV 9043632ba9 feat(ui): rebuild interface from scratch with dashboard page
Redesign the whole UI around a dashboard with stat cards, quick
actions and recent activity, a header bar with contextual page
titles, and a denser table-based package listing with an instant
local filter on the installed page and a filterable history table.
Register the std::vector<PackageInfo> metatype so worker results
actually reach the UI thread instead of being dropped silently.
2026-08-27 20:39:22 +02:00
BlackAngelTV bd3b3e48b3 docs: add agent guidelines and english readme
Document the project conventions for AI agents and provide an English
translation of the README. Update the interface description to match
the new sidebar layout and the listUpdates/refresh manager methods.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 19:29:39 +02:00
BlackAngelTV e538ed619e test: add unit tests for pacman manager parsing
Cover the pacman -Q output parser: simple lines, hyphenated names,
empty lines and empty input.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 19:29:35 +02:00
BlackAngelTV 0f7c3a6c2b feat(ui): redesign main window with sidebar navigation
Replace the single-screen layout with a sidebar and stacked pages:
Search, Installed, Updates, History and Logs. Also fix the update-all
and refresh actions, which previously called install with an empty
package name instead of running the proper pacman commands.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 19:29:31 +02:00
BlackAngelTV 5054f04c54 refactor: replace plugin system with native pacman manager
Remove the dynamic plugin loader (pacman/apt/pkg/universal) and drive
the UI directly through PacmanManager. Rename sources and headers to
kebab-case to match the project's file naming convention.

Generated with Codebuff 🤖
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-08-27 19:29:24 +02:00
BlackAngelTV 4a773c63ce fix(build): cmake 2026-08-26 20:49:05 +02:00
BlackAngelTV 1242753962 Merge branch 'main' of https://gitea.nocode-var.tech/FWS/FWS---PacManage 2026-08-24 21:57:48 +02:00
BlackAngelTV ad67daa3ee build: add Windows build script and clean gitignore 2026-08-24 21:56:34 +02:00
BlackAngelTV a7f8893bf2 fix: make PluginManager compatible with Windows and Linux 2026-08-24 21:56:29 +02:00
BlackAngelTV de9fbdc7c3 refactor: add abstraction layer for dynamic libraries 2026-08-24 21:56:24 +02:00
BlackAngelTV bbe29962e4 docs: update README 2026-08-24 19:23:41 +00:00
BlackAngelTV efd0df5019 style(readme): align formatting 2026-08-24 19:20:46 +00:00
BlackAngelTV cb4c68638a build: add build scripts and documentation 2026-08-24 21:13:51 +02:00
BlackAngelTV bd0c9bf37c feat(plugin): add universal multi-source plugin 2026-08-24 21:13:51 +02:00
BlackAngelTV 29abaf3189 feat(plugin): add apt and pkg plugins 2026-08-24 21:13:51 +02:00
BlackAngelTV f2704527b0 feat(plugin): add pacman plugin for Arch Linux 2026-08-24 21:13:51 +02:00
BlackAngelTV 7541b29996 feat(ui): add Qt6 graphical interface 2026-08-24 21:13:50 +02:00
BlackAngelTV 6dd3bc7b8f feat: add action history management 2026-08-24 21:13:50 +02:00
BlackAngelTV 829e30750b feat: add dynamic plugin loading via dlopen 2026-08-24 21:13:50 +02:00
BlackAngelTV 776662c9ab feat: add plugin interface and data model 2026-08-24 21:13:50 +02:00
BlackAngelTV 6743d0b5e7 chore: initialize project structure with CMake 2026-08-24 21:13:41 +02:00