Commit Graph
36 Commits
Author SHA1 Message Date
deepend cf41615cb3 - Reworked GTK window snapshotting in the main GUI to capture into cairo surfaces and convert via gdk_pixbuf_get_from_surface.
- Added a Cairo surface → RGBA pixbuf conversion helper that unpremultiplies ARGB32 data for GTK2 compatibility while keeping window snapshots Cairo-based.
- Updated window snapshotting to use the new Cairo surface conversion instead of gdk_pixbuf_get_from_surface
2026-01-17 22:25:12 -07:00
deepend c1f855c2ab - Updated main GUI color helpers and tab palette generation to use XTextColor, and simplified drag icon snapshotting to use gdk_pixbuf_get_from_window with a null guard.
- Added pixbuf-based cairo surface capture for xtext window scrolling with a fallback to full redraw when capture fails.
2026-01-17 21:56:00 -07:00
deepend 4ac836fc66 - Added a shared XTextColor definition and a palette conversion helper for Cairo-ready colors, decoupling renderer palettes from GdkColor usage in the API surface.
- Updated xtext palette APIs to accept internal color arrays directly for rendering setup.
- Wired xtext palette creation through UI entry points to use the new palette helper when constructing or refreshing text views.
2026-01-17 21:39:45 -07:00
deepend 5986e6a78b -Added the standard type attribute to the GTK file info query so file type checks no longer trigger GLib-GIO warnings.
-Replaced GtkStyle application in the channel tree view with explicit base/text/font modifications to avoid style attach/detach issues on teardown.

-Updated user list styling to apply the font directly instead of setting a shared GtkStyle instance.

-Switched color button updates to use background modifications instead of creating per-button styles, reducing detach warnings on shutdown.
2026-01-17 18:31:04 -07:00
deepend 0601be026c - Converted text background loading to build Cairo surfaces directly from pixbufs for renderer use.
- Updated the xtext renderer to accept Cairo background surfaces and dropped the GtkStyle attach during realize to keep rendering Cairo/Pango-focused.
- Switched background surface ownership and cleanup to use cairo_surface_t across the shared state and settings update path.
2026-01-17 18:19:00 -07:00
deepend 24b0a3d75f - Introduced the XTextColor struct and stored xtext palette/foreground/background colors in internal renderer state rather than GdkColor fields.
- Converted palette colors and background pixmaps into cairo-ready values/surfaces for rendering (including background tiling and separator colors).
2026-01-17 17:44:49 -07:00
deepend 2ac5234803 - Added Cairo-based window snapshot conversion (with unpremultiplication) for drag icons and updated drag rendering to use the new helper instead of drawable capture.
- Updated GtkXText to track the draw window and use a pixmap-to-surface helper for Cairo contexts, avoiding drawable references in the struct and rendering flow.
- Added a Cairo helper for capturing window-backed surfaces and used it when blitting during scrolling, fixing the build break from the removed drawable helper.
2026-01-17 17:34:38 -07:00
deepend 30e309853c Added the required gdk/gdk.h include before gdkcairo.h in maingui.c to satisfy GDK header include order requirements on Windows builds.
Added cairo surface tracking and context creation helpers for xtext rendering, including state initialization for the new draw surface field.

Replaced GdkPixmap-based offscreen text buffering with cairo surfaces and routed rendering/underline/strikethrough operations through the cairo context helper.
2026-01-17 16:56:35 -07:00
deepend 944ce69906 Added a Cairo color helper for drag highlight rendering and applied it to the drag motion drawing path.
Replaced GDK source helpers in the text rendering pipeline with Cairo surface/color helpers for lines, backgrounds, and blits.

Updated render sizing to use window dimensions and switched window copy paths to Cairo surfaces.
2026-01-17 16:46:21 -07:00
deepend 4bf5316cfa Replaced legacy GDK rectangle drawing in the drag highlight path with Cairo calls and ensured cleanup before early return 2026-01-17 16:34:38 -07:00
deepend 136e63a6cd ciaro fixes 2026-01-17 16:19:56 -07:00
deepend 5ea424d0e8 start of ciaro implementation. 2026-01-17 16:08:00 -07:00
deepend e985506737 fix windows color emojis 2026-01-16 23:18:12 -07:00
deepend f473f3d4b9 fixes for importing themes. 2026-01-16 22:42:18 -07:00
deepend 2c349deee2 theme import fixes. 2026-01-16 22:07:01 -07:00
deepend 85d0edbbed stop application from treating the theme files as server urls. 2026-01-16 20:02:37 -07:00
deepend b1fc133883 associated .hct and .zct files with ZoiteChat for easy Theme importation like there was in the Theme Manager that was removed. 2026-01-16 19:34:18 -07:00
deepend f480366c87 add button in theme preferences to open themes folder. 2026-01-16 19:26:22 -07:00
deepend 19d47c1d13 associate .hct and .zct files with ZoiteChat for theme importing. 2026-01-16 18:31:13 -07:00
deepend 46da9fe581 remove theme manager in favor of theme selector in preferences. 2026-01-16 17:54:40 -07:00
deepend e79564b501 Update to Python v3.14 2026-01-15 10:47:36 -07:00
deepend 1be65ff216 Update Python to v3.14.2 2026-01-15 10:15:48 -07:00
deepend 0bcf4bee6e Change to Python 3.14 2026-01-15 10:02:24 -07:00
deepend 78c4b474db update python to v3.14 2026-01-15 09:48:31 -07:00
deepend af12c6557a Fix SNI extension handling 2026-01-15 09:15:38 -07:00
deepend 708fb3de42 moving website to zoitechat.zoite.net 2026-01-14 12:54:25 -07:00
deepend bdee1481ed version bump for minor fix (auto replace) 2026-01-13 14:38:07 -07:00
deepend 3ffa020c2c Fixed auto replace. Now will handle auto replace no matter where or how the text is put in. 2026-01-13 14:16:40 -07:00
deepend dbc95b9121 fixed dark/light color saving. Remembers both dark mode colors and light mode colors. 2026-01-12 22:52:56 -07:00
deepend 8a4b19a8fd minor feature release 2.17.1 (dark mode) 2026-01-12 21:43:18 -07:00
deepend e265ad4454 dark mode v1 2026-01-12 21:24:09 -07:00
deepend c1cbe14871 dark mode 2026-01-11 12:02:58 -07:00
deepend 3ebd679ac8 added debian packing source 2026-01-08 18:56:01 -07:00
deepend a1ed2b1bed Zoitechat naming fixes. 2026-01-07 20:33:55 -07:00
deepend 79793f39f7 fixed icons and some web links. 2026-01-06 01:33:43 -07:00
deepend 4683ef705b new name after fork 2026-01-05 23:12:38 -07:00