Commit Graph
2334 Commits
Author SHA1 Message Date
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-tildeclub 4c13b96bd9 Merge pull request #26 from ZoiteChat/win-emoji-fix
fix windows color emojis
2026-01-16 23:40:43 -07:00
deepend e985506737 fix windows color emojis 2026-01-16 23:18:12 -07:00
deepend-tildeclub e97937f82c Merge branch 'theme-integration-in-preferences' into merge-with-theme-update 2026-01-16 23:09:44 -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 f480366c87 add button in theme preferences to open themes folder. 2026-01-16 19:26:22 -07:00
deepend-tildeclub 51bd5376aa Merge pull request #21 from ZoiteChat/master
sync branch to master
2026-01-16 19:09:49 -07:00
deepend 46da9fe581 remove theme manager in favor of theme selector in preferences. 2026-01-16 17:54:40 -07:00
deepend-tildeclub 33efa85ac9 fix theme option in preferences 2026-01-16 17:52:57 -07:00
deepend-tildeclub 93cd47de5c Merge pull request #15 from ZoiteChat/Fix-channel-config-line-endings
Refactor newline handling in servlist.c
2026-01-16 15:59:55 -07:00
deepend-tildeclub 44f6fc357e Refactor emoji widget application to use child handling 2026-01-15 20:21:30 -07:00
deepend-tildeclub 20dca7dc2f Enhance emoji widget handling in menu items 2026-01-15 20:10:58 -07:00
deepend-tildeclub 81b2325aa1 Refactor emoji font handling in mg_update_xtext
Removed the emoji fallback font function and related code.
2026-01-15 19:58:12 -07:00
deepend-tildeclub fa1912bb5d Update maingui.c 2026-01-15 18:35:27 -07:00
deepend-tildeclub 7df9b08313 Refactor newline handling in servlist.c
Remove redundant newline character handling in fgets buffer.
2026-01-15 11:12:56 -07:00
deepend af12c6557a Fix SNI extension handling 2026-01-15 09:15:38 -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-tildeclub 2d8a61b704 Change default network from 'Libera.Chat' to 'Zoite' 2026-01-12 22:26:27 -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-tildeclub 288d0e5751 Change menu entry from 'He_xChat' to '_ZoiteChat' 2026-01-09 00:01:59 -07:00
deepend-tildeclub ded8119e41 Update copyright information in about dialog 2026-01-06 19:05:50 -07:00
deepend-tildeclub bf9dcfe0fe Update IRC server address for Newnet 2026-01-06 18:56:48 -07:00
deepend-tildeclub 6b41e843fc Update documentation URL in outbound.c 2026-01-06 01:24:39 -07:00
deepend-tildeclub bd501b3c93 Update issue link in text.c comments 2026-01-06 01:23:57 -07:00
deepend-tildeclub f287ee97d8 Update URLs in menu.c for documentation and website 2026-01-06 01:21:58 -07:00
deepend 4683ef705b new name after fork 2026-01-05 23:12:38 -07:00
deepend-tildeclub ca43595430 Rename HexChat to ZoiteChat in dbus-client.h 2026-01-05 18:04:34 -07:00
deepend-tildeclub 975f4c8d66 Rename HexChat to ZoiteChat in dbus-client.c 2026-01-05 18:03:58 -07:00
deepend-tildeclub a276b08cc0 Replace hexchat exports with zoitechat exports 2026-01-05 18:03:01 -07:00
deepend-tildeclub 29cda2e626 Add new networks and remove TechNet from servlist 2026-01-05 17:59:07 -07:00
Collin Funk 180ce9f4fd Change various types to the correct signedness to avoid warnings.
Also cast the check of "inet_addr" to guint32. The POSIX declaration
of this function returns in_addr_t which is the same as uint32_t.
Windows does not define this type and instead uses unsigned long.
2024-01-29 09:06:29 -06:00
Patrick Okraku 0c48785543 SASL SCRAM: create_nonce: changed data type 2024-01-04 16:17:14 -06:00
Patrick Okraku 00b297524d SASL SCRAM: create_nonce: changed data type 2024-01-04 16:17:14 -06:00
Patrick Okraku 681a88d6df SASL SCRAM: renamed scram_free_session to scram_session_free 2024-01-04 16:17:14 -06:00
Patrick Okraku c82ad32171 SASL SCRAM: Apply changes from code review 2024-01-04 16:17:14 -06:00
Patrick Okraku 9b76b557ec Added support for SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA-512 2023-11-05 07:12:01 -06:00