Commit Graph

  • f676aa56e6 Merge pull request #103 from ZoiteChat/theme-features-fixes master deepend-tildeclub 2026-03-09 10:50:12 -06:00
  • a53802cfef fix(win): tolerate tar/PS nonzero if files extracted; add path_tree_has_entries() to verify real output theme-features-fixes deepend 2026-03-08 10:40:20 -06:00
  • b47c45d4cc feat: merge GTK3 Theme into Appearance (new Advanced section); fix+scale chat bg image + use FileChooserNative picker deepend 2026-03-08 10:10:59 -06:00
  • f2354a7fa2 refactor: unify tree/xtext/input colors via ThemeWidgetStyleValues (canonical widget-style path) deepend 2026-03-07 22:11:09 -07:00
  • ca043be197 fix: KDE Wayland alert flash—detect Plasma+Wayland, present() before urgency hint deepend 2026-03-07 19:21:37 -07:00
  • 50346683a1 feat: GTK3-only theming overhaul—new theme service (discover/import/inherits), layered CSS+settings.ini apply w/ safe rollback + caching; widget/xtext palette mapping + all-colors editor; lots of win32/CI libarchive plumbing + installer assets; deepend 2026-03-04 23:28:01 -07:00
  • 43374f4fae Merge pull request #4 from deepend-tildeclub/theme-module deepend-tildeclub 2026-03-02 20:44:49 -07:00
  • 5e86f363ed Merge pull request #100 from ZoiteChat/theme-module deepend-tildeclub 2026-03-02 19:59:43 -07:00
  • d9be0a7b1c feat: centralize theming in theme-manager (palette/tokens, CSS, dark-mode, setup UI), add tests + win32/meson wiring deepend 2026-03-02 19:42:48 -07:00
  • f3086fa389 Merge pull request #2 from deepend-tildeclub/consistent-icons deepend-tildeclub 2026-03-01 15:01:19 -07:00
  • 0523b0639b Merge pull request #99 from ZoiteChat/consistent-icons deepend-tildeclub 2026-03-01 14:55:32 -07:00
  • 1a32bff274 win32 icons: actually copy hicolor subdirs. deepend 2026-03-01 13:16:52 -07:00
  • 349d7f4c55 win32: install hicolor icons + CI now pulls real hicolor-icon-theme deepend 2026-03-01 11:09:19 -07:00
  • 734d194cb0 win32: stage hicolor icon theme into rel share/icons deepend 2026-03-01 10:58:17 -07:00
  • 5983befd5b icons: add system_icon_name API, make gtkutil fall back via resolver registry deepend 2026-03-01 10:14:41 -07:00
  • e63e68dfde icons: dedupe resolver tables, add unified menu-action API, route gtkutil/pixmaps through one registry + fallback chain deepend 2026-03-01 09:58:04 -07:00
  • 1ef81951b7 win32: wire icon-resolver into VS build, kill old menu icon payload (copy + installer) deepend 2026-02-28 23:39:08 -07:00
  • 395ccb0706 gtk: centralize icon lookup (new icon-resolver), move mappings out of gtkutil/pixmaps, add sane fallback chain + meson hookup deepend 2026-02-28 23:17:27 -07:00
  • b3f692f00c Update server addresses for Zoite deepend-tildeclub 2026-02-28 23:02:02 -07:00
  • 64c2fd4e51 Merge pull request #96 from ZoiteChat/win-dependencies-cleanup deepend-tildeclub 2026-02-28 10:44:44 -07:00
  • dd698ecab4 Merge pull request #95 from ZoiteChat/userlist-highlight deepend-tildeclub 2026-02-28 10:23:23 -07:00
  • b93bad9859 windows x64-only purge: kill Win32 configs, simplify installer. deepend 2026-02-28 09:53:37 -07:00
  • 733f932b78 squash: win32 packaging detox (no comsupp/VC2013, trim payload, gate lua/python) deepend 2026-02-28 09:36:50 -07:00
  • 50d99e1314 userlist highlight: focusable treeview + palette CSS gets real :selected theme colors deepend 2026-02-27 09:19:44 -07:00
  • 69985913b8 win32 argv: stop trusting GLib, add “zoitechat” lifesaver gtk3-theming deepend 2026-02-26 13:35:09 -07:00
  • df45cc996d Fix Windows theme imports with uppercase .TAR.GZ/etc (case-insensitive archive check) deepend 2026-02-26 13:15:49 -07:00
  • 90b7d7c5a1 Delete packaging/solus directory deepend-tildeclub 2026-02-26 12:51:51 -07:00
  • 7e422e10a6 Delete .github/workflows/solus-eopkg-build.yml deepend-tildeclub 2026-02-26 12:51:11 -07:00
  • 5763653672 I fixed a Windows theming regression path in fe_apply_windows_theme() by changing the fallback-disable condition from “a GTK3 theme name is configured” to “a GTK3 theme provider is actually active.” This ensures fallback dark/light palette CSS is still applied when a configured imported GTK3 theme fails to load, preserving Windows release theming behavior instead of leaving mismatched visuals. deepend 2026-02-26 12:10:59 -07:00
  • 2ece544792 Updated the Windows Inno Setup installer template to explicitly show the install-directory step by setting DisableDirPage=no, so users are asked where to install ZoiteChat. deepend 2026-02-26 11:56:01 -07:00
  • 8e0958fd19 Added a Windows-specific startup path in main() to reconstruct argc/argv from g_win32_get_command_line() before any argument parsing, so GLib option parsing no longer depends on potentially malformed CRT argv in subsystem/protocol-handler launches (a likely source of your launch crash stack through glib-2.0-0.dll). deepend 2026-02-26 11:54:42 -07:00
  • 324aeab8c9 Fixed the Win32 startup path initialization in fe_args to avoid blindly calling g_path_get_dirname(argv[0]) when argv may be missing/invalid in subsystem:windows launch contexts (like URL handler launches). deepend 2026-02-26 11:38:08 -07:00
  • e8dbe06f01 Added a Win32-only forward declaration for fe_apply_windows_theme(gboolean dark) before its first use so MSVC sees the correct signature and no longer infers an int return type. This addresses the C4013 + C2371 sequence from your build log. deepend 2026-02-26 11:10:33 -07:00
  • f3213c56eb I implemented a broader, platform-agnostic theme application path so chat-area surfaces and controls actually follow the selected ZoiteChat dark/light mode, instead of relying on a narrow fallback path. This adds a dedicated app CSS provider (theme_surface_provider) and applies palette-based foreground/background rules for core widgets (box, grid, frame, viewport, paned, notebook, eventbox, scrolledwindow, treeview, button, entry) scoped by .zoitechat-light / .zoitechat-dark. deepend 2026-02-26 11:03:18 -07:00
  • 9ef607f44a Fixed GTK3 theme switching on Win32 so fallback window CSS is synchronized immediately when switching back to the system theme (theme_name == NULL) by calling fe_apply_windows_theme(dark) in that path before provider cleanup. Fixed GTK3 theme activation on Win32 so fallback window CSS is disabled immediately after loading an imported GTK3 theme, preventing mixed styling (like unthemed buttons/chat areas) during runtime theme changes deepend 2026-02-26 08:58:38 -07:00
  • a93bed2c41 Adjusted the Windows theme fallback path so it does not apply ZoiteChat’s fallback window-color CSS when a GTK3 theme is selected, preventing the mixed-theme effect you reported (e.g., mismatched button/chat window colors). Added cleanup for previously-added fallback CSS providers (with widget style reset) when a GTK3 theme is active, so the imported theme can fully control styling consistently. Kept the original Windows fallback CSS behavior for cases where no imported GTK3 theme is set, so non-GTK3-theme behavior remains unchanged. deepend 2026-02-26 08:41:52 -07:00
  • d10c9654fa Added a GTK3 theme directory resolver that supports versioned theme folders (gtk-3.x) and selects the best match for the running GTK minor version, instead of assuming only gtk-3.0. This improves compatibility with real-world GTK3 themes that split selectors/styles by GTK minor versions. deepend 2026-02-26 08:35:37 -07:00
  • a823047104 Fixed imported GTK3 theme precedence so theme CSS can override ZoiteChat app-level CSS (including button background rules) by changing the provider priority from GTK_STYLE_PROVIDER_PRIORITY_APPLICATION to GTK_STYLE_PROVIDER_PRIORITY_USER. deepend 2026-02-26 08:26:03 -07:00
  • bf349a27b1 Updated GTK3 theme provider registration to use GTK_STYLE_PROVIDER_PRIORITY_APPLICATION (instead of GTK_STYLE_PROVIDER_PRIORITY_THEME) when applying imported themes, so the selected GTK3 theme consistently overrides the system theme for ZoiteChat widgets. deepend 2026-02-26 08:21:15 -07:00
  • 90ada474a0 Added GTK3 theme resource lifecycle management so ZoiteChat now unregisters prior theme resources and can register a theme’s gtk.gresource bundle when available (gtk-3.0/gtk.gresource). This improves compatibility with full GTK3 themes that depend on bundled resource URIs, not just plain CSS files. deepend 2026-02-26 08:04:27 -07:00
  • 4a996c9135 Added a reload-capable GTK3 theme apply API (fe_apply_gtk3_theme_with_reload) and kept fe_apply_gtk3_theme as the default fast-path wrapper (force_reload = FALSE). deepend 2026-02-26 02:38:12 -07:00
  • c9682d98f3 Updated setup_theme_gtk3_import_cb so the GTK3 theme import file chooser dialog now calls fe_apply_theme_to_toplevel(dialog) immediately after gtk_file_chooser_dialog_new, ensuring it receives app-level theme classes like other dialogs. deepend 2026-02-26 02:33:52 -07:00
  • 8a4ecf8649 Fixed the GTK3 theme persistence bug in Preferences by syncing the in-dialog working copy (setup_prefs.hex_gui_gtk3_theme_name) whenever a GTK3 theme is applied, so pressing OK no longer overwrites the newly selected theme with stale state. deepend 2026-02-26 02:30:34 -07:00
  • 252f4a3c07 Fixed GTK3 theme teardown to force a full widget style refresh after removing ZoiteChat’s GTK3 theme provider, so switching back to system theme updates existing windows/widgets immediately. deepend 2026-02-26 02:22:00 -07:00
  • d21a5c1b60 Removed the legacy .hct/.zct theme-path behavior and made theme argument detection GTK3-archive-only (.zip, .tar, .tar.gz, .tgz, .tar.xz, .txz). deepend 2026-02-26 02:18:22 -07:00
  • a1ba30865a Kept legacy .zct/.hct import flow untouched while improving GTK3 archive validation logic: GTK3 import now explicitly distinguishes between archives that include gtk-3.0 but miss gtk.css, versus archives that are not GTK3 theme layouts at all. This is implemented in the GTK3 archive scan/import path only (zoitechat_find_gtk3_theme_root + zoitechat_import_gtk3_theme_archive). deepend 2026-02-26 01:01:09 -07:00
  • 607faa80ca Fixed the GTK3 dropdown regression by switching from combo-box ID/path behavior to an explicit internal index→full-path mapping (gtk3_theme_paths) while keeping user-facing theme names in the dropdown text. This preserves internal full path mapping without relying on active-id lookups. deepend 2026-02-26 00:56:17 -07:00
  • 1c1110847c Fixed the GTK3 theme dropdown population to include all expected sources again (ZoiteChat local store, user local themes, and system theme dirs), which resolves the “messed up selector” behavior from the previous change. deepend 2026-02-26 00:47:04 -07:00
  • a796f78884 Fixed the GTK3 theme import crash by replacing the dark-variant notification call from the signal macro path to fe_message(..., FE_MSG_INFO), avoiding the segfaulting path during import completion while preserving user feedback. deepend 2026-02-26 00:35:42 -07:00
  • 4354aaa57a Added a new backend API, zoitechat_import_gtk3_theme_archive(const char *archive_path, GError **error), and exposed it in the common header so GTK setup code can call a shared import path instead of inlining extraction logic. deepend 2026-02-26 00:16:05 -07:00
  • 4aeb5b5697 Split the theme setup page into two explicit framed sections: “ZoiteChat Theme” (legacy colors.conf / pevents.conf flow) and “GTK3 Theme” (GTK theme import/select/apply flow), with distinct button labels like “Apply ZoiteChat Theme” and “Apply GTK3 Theme.” deepend 2026-02-26 00:11:05 -07:00
  • 30609ba6db Updated Win32 theme CSS generation in fe_apply_windows_theme to build .zoitechat-dark and .zoitechat-light styles dynamically from palette values (COL_FG/COL_BG) instead of fixed hex literals, via a new helper that serializes PaletteColor with gdk_rgba_to_string. Kept native titlebar dark-mode behavior intact by leaving the existing Win32 titlebar flow untouched and continuing to call theme preference updates in fe_apply_windows_theme. Ensured theme/palette apply paths refresh CSS by routing both FE_GUI_APPLY and setup theme apply through fe_apply_theme_for_mode(...), which re-runs Win32 CSS application and re-applies classes to toplevel windows. deepend 2026-02-25 23:53:31 -07:00
  • 6b8e41b4c6 Updated mg_create_tabmenu to remove the hardcoded inline foreground="#3344cc" color from the top menu title and keep only bold emphasis (<b>…</b>), so GTK theme colors are used naturally. deepend 2026-02-25 23:47:42 -07:00
  • 0edab77fac Removed the local menu_icon_exists_in_resource probe from menu.c, so this file no longer carries a hardcoded /icons/menu/light resource check path. menu_icon_widget_new now calls gtkutil_menu_icon_exists for the zc-menu-* candidate check. This keeps the same fallback flow for custom icons: direct readable path first, then config-dir path, then stock/themed lookup. Added gtkutil_menu_icon_exists to gtkutil.c and declared it in gtkutil.h. The implementation uses a shared helper that resolves menu icon resources with theme-variant-aware lookup (variant first, then light fallback) for both png and svg, so probing behavior now lives in the same subsystem as gtkutil_image_new_from_stock. deepend 2026-02-25 23:40:38 -07:00
  • c8ae4f3b18 Removed the unused gtkutil_menu_icon_pixbuf_new helper from src/fe-gtk/gtkutil.c (it no longer appears between the surrounding menu icon helper and stock-icon mapping functions). Kept gtkutil_menu_icon_image_new as the single menu-icon loading path, which already contains the requested theme variant selection and light-variant fallback behavior for both PNG and SVG assets. deepend 2026-02-25 23:36:01 -07:00
  • 578a417804 Added theming to menu_about() immediately after gtk_about_dialog_new() by calling fe_apply_theme_to_toplevel (GTK_WIDGET (dialog));, with the requested short CSS-selector comment style. Added theming to setup_browsefont_cb() immediately after gtk_font_chooser_dialog_new(...) by calling fe_apply_theme_to_toplevel (dialog);, plus the same short comment for consistency/discoverability. Added theming to setup_color_cb() immediately after gtk_color_chooser_dialog_new(...) by calling fe_apply_theme_to_toplevel (dialog);, again with the matching comment. deepend 2026-02-25 23:30:35 -07:00
  • 440e9ecf5a Updated fe_ctrl_gui()’s FE_GUI_APPLY branch to match the Preferences → Theme apply sequence by loading palette data first, then re-applying current dark-mode state, and only then calling setup_apply_real(TRUE, TRUE, TRUE, FALSE);. deepend 2026-02-25 23:27:21 -07:00
  • ac2ab1443c Added fe_apply_theme_to_toplevel() for: deepend 2026-02-25 23:18:19 -07:00
  • ce5128e4fb Added a theme_name null guard in the Adwaita/Yaru workaround condition inside create_input_style() so g_str_has_prefix() is only called when theme_name is non-null, while preserving existing behavior for non-null theme names. Left allocation/free flow unchanged; theme_name is still freed exactly once at the existing cleanup point after the reload block. deepend 2026-02-25 22:52:40 -07:00
  • c37faa1492 Refactored the Preferences color-page edit-source model to use an explicit snapshot pointer (setup_color_edit_source_colors) and a helper that selects light vs dark snapshot palettes, so the page preview is decoupled from the runtime colors[] palette. This affects selector refresh, page initialization, and cleanup lifecycle. Updated edit-target and dark-mode combo callbacks on the color page to stop applying global palette mode directly; they now only switch/refresh the Preferences page source palette. Changed color-chooser behavior so setup_color_response_cb() writes edits to the selected target snapshot via palette_user_set_color / palette_dark_set_color, then refreshes only page widgets (no runtime palette apply). Also updated dialog initialization to read from the current edit-source snapshot. Added palette snapshot accessors (palette_user_colors, palette_dark_colors) in the palette API and implementation so Preferences can render from light/dark snapshots safely without mutating runtime palette state. Runtime palette changes remain on the real apply paths (theme/dark-mode application), not edit-target toggles. deepend 2026-02-25 22:48:55 -07:00
  • 685989fa25 Updated fe_system_prefers_dark() to remove the old !has_theme_name gate and always read gtk-application-prefer-dark-theme whenever that property exists. Theme-name matching is still kept as an additional signal. Added deterministic dark-mode precedence by combining explicit signals (theme_name_prefers_dark || property_prefers_dark), while preserving Windows system preference as another dark-enabling signal when available. This ensures “dark if any explicit dark signal is true.” Re-checked the relevant callers (fe_auto_dark_mode_changed() and fe_apply_theme_for_mode()): they consume fe_system_prefers_dark() output and do not depend on the removed !has_theme_name conditional behavior. deepend 2026-02-25 22:42:43 -07:00
  • cbc474477b Updated gtkutil_menu_icon_theme_variant() to select the menu icon theme variant from the app’s effective dark-mode state first (fe_dark_mode_state_is_initialized() + fe_dark_mode_is_enabled()), and only use GTK/theme-name heuristics as fallback before app state is initialized. This preserves the existing light-asset fallback behavior in menu icon loading logic. Added a new frontend helper declaration fe_dark_mode_state_is_initialized() in the GTK frontend header so callers can check whether dark-mode state is ready. Implemented dark-mode initialization tracking in fe-gtk.c via a new static flag, set when auto mode state is externally set and during fe_init(), and exposed it through fe_dark_mode_state_is_initialized(). deepend 2026-02-25 22:31:52 -07:00
  • 51f8795d1a Updated create_input_style() so input selection CSS now prefers palette-derived COL_MARK_FG / COL_MARK_BG colors directly (as #RRGGBB from sel_* values), instead of defaulting to @theme_selected_*. Added a guarded fallback path that only uses theme lookup/string conversion when palette selection components are invalid (isfinite checks fail), with palette values as secondary fallback there too. This keeps theme colors out of the primary path while preserving robustness for malformed data. Kept needs_reload dependent on last_sel_* tracking, so changing selection colors in Preferences still triggers immediate CSS regeneration (including across light/dark mode). deepend 2026-02-25 22:25:35 -07:00
  • faacd95dfc Added setup-local state for palette editing target (setup_color_edit_dark_palette) plus Light/Dark option strings, so palette editing is no longer coupled to runtime AUTO dark-mode detection. This keeps the choice in Preferences state only. Added a new Editing: combo control near the dark-mode selector in setup_create_color_page, with a callback that switches between Light/Dark palette targets and refreshes swatches immediately using the same refresh path as dark-mode UI updates. Updated the dark-mode combo callback to refresh color swatches based on the explicit editing target (not runtime dark-mode detection), preserving existing runtime theme behavior while editing persisted overrides. Updated setup_color_response_cb to write color changes to palette_dark_set_color vs palette_user_set_color based on the new edit-target state. Initialized the editing target in setup_create_color_page from explicit Dark mode selection only (hex_gui_dark_mode == ZOITECHAT_DARK_MODE_DARK), avoiding AUTO runtime detection for editing context. deepend 2026-02-25 21:28:08 -07:00
  • ed02b21228 Extended setup_dark_mode_menu_cb so after setup_menu_cb it now computes the selected dark-mode state via fe_dark_mode_is_enabled_for(setup_prefs.hex_gui_dark_mode), swaps the in-memory editor palette with palette_apply_dark_mode(...), and immediately refreshes color swatches. This keeps the editor model synchronized with the dark-mode combo selection. Added setup_refresh_color_selector_widgets() to iterate color_selector_widgets, resolve each button’s stored color index, and re-run setup_color_button_apply against colors[] so all selectors repaint to the active palette. Updated setup_create_color_button to register each widget’s palette index (zoitechat-color-index), enabling correct per-button repaint during mode switches. Preserved existing persistence behavior in setup_color_response_cb (palette_dark_set_color vs palette_user_set_color) so changes remain non-destructive until existing OK/Save flow persists them. deepend 2026-02-25 21:22:56 -07:00
  • d321717da8 Hardened create_input_style() so selection-color CSS no longer hard-depends on @theme_selected_*: it now first tries symbolic theme colors via gtk_style_context_lookup_color(), and only falls back when unavailable. Added a fallback path that derives selection colors from palette values (COL_MARK_FG/COL_MARK_BG) and then samples selected-state colors from a GTK style context when possible, emitting explicit color strings for CSS. Ensured fallback regeneration is tied to the same reload flow by extending needs_reload tracking with selection palette channels and persisting those last-seen values. Kept Preferences > Colors foreground/background behavior intact for normal input rendering; only selection-specific CSS is conditionally overridden. Base text/background/caret rules remain unchanged while only text selection uses the new selection logic. deepend 2026-02-25 20:59:07 -07:00
  • 6310ab245c Updated fe_apply_theme_for_mode() to immediately reapply fe_apply_theme_to_toplevel() across all currently-open GTK toplevel windows (gtk_window_list_toplevels()), so mode switches update existing windows without reopening them. Added/kept lifecycle call sites for main and detached/channel windows, with comments explaining that .zoitechat-dark / .zoitechat-light classes are required for GTK CSS selectors. This includes top/tab windows and server list/edit windows. Wired dialog/toplevel creation paths in src/fe-gtk/ to call fe_apply_theme_to_toplevel() (without duplicating platform logic), including common prompt/message dialogs and feature-specific dialogs (join, notify, setup, ignore/ban, etc.), each with the requested brief comment near the new call site. deepend 2026-02-25 20:39:48 -07:00
  • 5952006662 Refactored fe_system_prefers_dark() to always allow gtk-application-prefer-dark-theme to be read as a fallback (when no explicit theme name is set), removing the previous suppression tied to app-written state. This preserves priority for explicit dark theme names and platform-native preference checks before the GTK property fallback. Added a short in-code comment explaining why app-written GTK property state must not permanently block future reads in AUTO mode. Removed the now-unneeded app_set_prefer_dark tracking behavior from fe_set_gtk_prefer_dark_theme(), so writes no longer disable later fallback reads. Confirmed fe_auto_dark_mode_changed() still prevents reapply loops by early-returning when enabled == auto_dark_mode_enabled before calling theme/apply logic. deepend 2026-02-25 20:32:44 -07:00
  • e4cb453915 Added a centralized theme-class application in gtkutil_window_new() so any toplevel created through this helper gets fe_apply_theme_to_toplevel() during construction. This covers most non-session windows consistently at creation time. Updated Preferences window creation to explicitly apply the toplevel theme after gtk_widget_show_all() in setup_window_open(), matching your requested timing there. Added explicit theme application for non-session windows that bypass gtkutil_window_new() and use direct gtk_window_new() in server list UI (editserv and servlist). Extended mg_apply_setup() to iterate all current GTK toplevels (gtk_window_list_toplevels()) and reapply fe_apply_theme_to_toplevel() during setup/theme reapply flows, ensuring existing windows stay consistent after theme changes. Palette override widgets were not touched. deepend 2026-02-25 20:27:15 -07:00
  • 361e35de7f Updated chanview_apply_theme() in src/fe-gtk/chanview.c to apply the palette colors unconditionally (for tree view chanview), instead of branching on raw dark-mode enum checks. This keys behavior off the already-resolved palette output, which matches how setup_apply_to_sess() / palette_apply_dark_mode() flows are intended to work. Preserved font handling exactly as before (input_style->font_desc when available). Added inline rationale comment clarifying that AUTO/light should continue using palette-managed colors and should not revert to GTK theme defaults in a way that clears custom colors. deepend 2026-02-25 20:23:01 -07:00
  • bbde2e5578 Added a new internal state flag, app_set_prefer_dark, and now set it whenever fe_set_gtk_prefer_dark_theme() writes gtk-application-prefer-dark-theme, so AUTO detection can distinguish app-authored writes from system/user signals. deepend 2026-02-25 20:03:20 -07:00
  • 97c6f36b20 Adjusted create_input_style so it no longer globally forces color on #zoitechat-inputbox, reducing over-constraining while still applying the user-selected background and caret color where intended. This keeps non-text-node state rendering more theme-driven. Kept user override support for baseline text color and caret color on the input’s text node (#zoitechat-inputbox text). Added targeted state-aware text rules for :focus and :backdrop (to preserve readability when theme state styling changes), plus a softened :disabled text rule instead of broad global color forcing. Added explicit selection-node handling (#zoitechat-inputbox text selection) using theme selection tokens so selected text remains readable and aligned with Adwaita/Yaru-style theme behavior. Preserved the existing Adwaita/Yaru background-image workaround logic, so fallback behavior remains compatible with those themes. deepend 2026-02-25 19:43:19 -07:00
  • 2bf32fc770 Merge pull request #90 from ZoiteChat/code-cleanup deepend-tildeclub 2026-02-25 18:16:54 -07:00
  • 3e095c3c33 Removed two redundant inline comments in the file dialog response/done handlers, leaving the behavior unchanged and the control flow cleaner. Removed an old commented-out helper function block (gtkutil_treeview_get_selected_iter) that was dead/commented code. deepend 2026-02-25 18:07:26 -07:00
  • 3445d946bc Removed a redundant inline comment in icon loading/scaling logic, leaving behavior unchanged. Removed a redundant inline comment in the Windows sysinfo volume-name guard path, with no functional impact. Removed a redundant inline comment in WinRT toast setup while keeping the same notification/audio attribute behavior. deepend 2026-02-25 18:05:21 -07:00
  • 7578928199 Cleaned up redundant/outdated inline comments in the text frontend argument/config and GUI control paths while leaving behavior unchanged (comment-only cleanup). deepend 2026-02-25 16:22:46 -07:00
  • 428127ef40 Merge pull request #91 from ZoiteChat/fix-application-focus deepend-tildeclub 2026-02-25 16:20:47 -07:00
  • e3f932aa6b Updated the Win32 window-state handling to include shellapi.h and query taskbar auto-hide/taskbar edge state via SHAppBarMessage, so maximized windows can leave a 1px reveal edge for the auto-hidden taskbar. Added monitor-aware work-area adjustment when maximized (MonitorFromWindow + GetMonitorInfo) and shrink by 1px on the detected taskbar edge (including bottom edge), then apply that rectangle with SetWindowPos. This addresses the “mouse at bottom edge should unhide taskbar” behavior. Kept the existing HWND_NOTOPMOST safeguard in place after the adjustment, preserving prior not-topmost behavior. deepend 2026-02-25 14:48:18 -07:00
  • 7cfa3b3513 Added a Windows-only helper (mg_win32_allow_autohide_taskbar) that gets the native HWND and calls SetWindowPos(..., HWND_NOTOPMOST, ...) for non-fullscreen window-state transitions, so a maximized ZoiteChat window no longer blocks the taskbar auto-hide reveal edge. Hooked that helper into mg_windowstate_cb so it runs whenever the main window state changes (while preserving existing maximize/fullscreen preference handling). deepend 2026-02-25 14:18:23 -07:00
  • 81c691491c Removed three redundant inline comments in joind_ok_cb that duplicated obvious control flow, leaving behavior unchanged and improving readability. deepend 2026-02-25 13:55:44 -07:00
  • c361602b1a Removed four unneeded section comments in src/common/notify.h (WATCH/MONITOR/general/old ISON labels), leaving only the function declarations for a cleaner header interface. deepend 2026-02-25 13:51:22 -07:00
  • 99b969067e Removed one stale, commented-out debug/error line in the PCI device-name lookup path (pci_find_fullname), leaving behavior unchanged and making the function cleaner. deepend 2026-02-25 13:29:20 -07:00
  • 6e8b750c68 Removed an obsolete commented-out hdiutil line from the macOS bundling script, leaving only the active packaging path (zip) to keep the script cleaner and easier to scan. deepend 2026-02-25 13:04:05 -07:00
  • df37b44cc8 Cleaned up unneeded comment noise in the Solus eopkg workflow by replacing an 11-line explanatory block with a concise 2-line comment while preserving the key rationale for --ignore-file-conflicts and required Meson tooling install. deepend 2026-02-25 13:01:21 -07:00
  • 9548be0cec Removed redundant inline comments in the Winamp plugin by simplifying the plugin handle declaration and cleanup comments around initialization/return values, while keeping functional comments intact. Removed the redundant return 1 inline comment in the Exec plugin init function. deepend 2026-02-25 12:57:42 -07:00
  • 588e27b456 Remove Debian Build badge from README deepend-tildeclub 2026-02-25 10:32:21 -07:00
  • 7032d0c6b7 Update contact email in appdata XML file deepend-tildeclub 2026-02-25 10:23:59 -07:00
  • 72e9a99315 Update developer information and homepage URL deepend-tildeclub 2026-02-25 10:17:14 -07:00
  • 3cff6742f5 Removed unneeded inline comments around the Win32 error-formatting fallback in errorstring() and simplified matching block-closing lines, without changing behavior. deepend 2026-02-25 02:37:08 -07:00
  • 6a02f578b6 Removed obsolete commented-out lines from fe_cleanup() so the function no longer contains dead commented code. deepend 2026-02-25 02:34:50 -07:00
  • e62769b361 Cleaned up unneeded comments in DCC receive/connect code by removing: deepend 2026-02-25 02:30:46 -07:00
  • 9df9776238 Removed a stale multi-line # TODO note block from the common Meson build file to clean up unneeded comments without changing build logic. deepend 2026-02-25 02:28:10 -07:00
  • 4beabb6bf5 Removed a stale commented-out debug function block from the fishlim plugin source to reduce dead/commented code. Removed the corresponding commented-out RAW LINE hook entry so only active handlers remain in plugin initialization. deepend 2026-02-25 02:24:11 -07:00
  • 10d5bb91ab Cleaned up unneeded, commented-out debug logging lines in Perl plugin callback handlers (server_cb, command_cb, and print_cb) without changing runtime behavior. deepend 2026-02-25 02:14:38 -07:00
  • 7c9c615aed Removed redundant inline comments from the fishlim IRC parsing helpers where the comments only repeated obvious code behavior, while preserving all function docblocks and logic. deepend 2026-02-25 02:12:10 -07:00
  • fd48c97209 Removed four redundant inline comments in src/fe-gtk/urlgrab.c to clean up readability without changing behavior (treeview enum declaration area, right-click selection block, headers visibility call, and URL list overflow trimming block). deepend 2026-02-25 02:09:35 -07:00
  • e58bf2be22 Cleaned up redundant comments in dcc_listen_init by removing obvious/explanatory noise and an obsolete commented-out debug printf, while leaving logic unchanged. deepend 2026-02-25 02:07:38 -07:00
  • dc6453e230 Removed redundant inline comments in lastact_update and lastact_getfirst where the code was already self-explanatory, without changing behavior. Simplified away_check by removing comment clutter and keeping only the logic flow, including the WHO batching behavior. Removed unneeded commentary around lag-check helpers and timer reinitialization to keep the core timer code cleaner and easier to scan. deepend 2026-02-25 02:04:31 -07:00
  • b3a0288fd9 Cleaned up stale inline comments in the tab scrolling handlers by removing outdated explanatory text while keeping behavior unchanged (tab_left_is_moving / tab_right_is_moving reset paths). Removed an old commented-out gtk_container_set_border_width(...) line that was dead/commented code in cv_tabs_init. Simplified the tab-switch condition by removing a legacy commented expression from if (is_switching). deepend 2026-02-25 02:01:11 -07:00
  • 9c86f18982 Cleaned up unneeded inline comments in plugins/python/python.py while keeping runtime behavior unchanged (comment-only cleanup around version declaration, compile helpers, wordlist/timer handling, and autoload path handling). deepend 2026-02-25 01:58:19 -07:00