Commit Graph

  • f6613cbad1 Added GtkAdjustment helper accessors for value/upper/lower/page size/page increment to encapsulate GTK3 accessors and GTK2 struct fields. Updated xtext adjustment logic to use the helpers in adjustment updates and rendering paths, eliminating direct field access in scroll/render flows. deepend 2026-01-30 07:15:06 -07:00
  • 3806b33aab Split GTK3 vs GTK2 setup in gtk_xtext_realize so GTK2-only parent window/colormap access is guarded under #if !HAVE_GTK3. deepend 2026-01-30 06:57:14 -07:00
  • fa3c7c9059 Consolidated GTK3 realization setup to use parent window/visual and keep GTK2-only colormap/parent window under the GTK2 branch in gtk_xtext_realize. deepend 2026-01-30 06:20:21 -07:00
  • c0c0b2ec4c Moved GTK2-only parent window and colormap handling into the GTK2 code path while keeping GTK3 setup relying on gtk_widget_get_parent_window and visual-only attributes in gtk_xtext_realize. deepend 2026-01-29 23:06:21 -07:00
  • d553862e52 Guarded the GtkXText double-buffering toggle behind a GTK3 compile check and added a GTK3 render pipeline note in gtk_xtext_new deepend 2026-01-29 23:01:02 -07:00
  • 7cbd905fae Guarded GTK2-only GtkObjectClass declaration/assignment with explicit #if !HAVE_GTK3 checks in gtk_xtext_class_init. deepend 2026-01-29 22:57:13 -07:00
  • 49e23b7df5 Added a GTK3 finalize handler for GtkXText that chains to the parent class alongside the existing dispose cleanup path. Registered the GTK3 finalize handler in gtk_xtext_class_init while keeping GTK2 destroy registration intact. deepend 2026-01-29 22:49:13 -07:00
  • bf529ba1ff Guarded GTK2-only GtkObject includes in the xtext header for GTK2 builds only. Added a shared cleanup helper plus GTK2 destroy/GTK3 dispose handlers with correct parent chaining for cleanup parity across GTK versions. Updated class initialization to register GTK3 dispose or GTK2 destroy handlers with appropriate object class setup. deepend 2026-01-29 22:44:54 -07:00
  • aa0b271aa9 Made GTK2 window access explicitly guarded in scroll/selection update code paths to keep GTK3 using gtk_widget_get_window. Applied the same explicit GTK3/GTK2 window guards in render paths to keep direct GTK2 field access isolated. deepend 2026-01-29 22:07:58 -07:00
  • 1584764809 Consolidated gtk_xtext_size_allocate to use a guarded window pointer before resizing, preserving GTK3 gtk_widget_get_window and GTK2 direct access paths. Aligned GTK3/GTK2 window selection blocks in scrolling/selection and render routines (including gtk_xtext_render_page) to use #else guards for GTK2 direct access. deepend 2026-01-29 21:57:50 -07:00
  • 31130197eb Routed window access in scroll/selection helpers through guarded GTK3 window lookups while retaining GTK2 field access under #if !HAVE_GTK3. Consolidated window handling in layout, render, visibility, and buffer display paths to avoid direct GTK2 window fields in GTK3 builds. deepend 2026-01-29 21:45:57 -07:00
  • 723d8759ff Wrapped size allocation and window resize handling with explicit GTK3/GTK2 guards for allocation/window access while preserving GTK2 field usage under !HAVE_GTK3. Applied explicit GTK3/GTK2 window access guards across render/scroll/buffer sizing paths, including gtk_xtext_render_page and gdk_window_get_width/height callsites. deepend 2026-01-29 21:35:06 -07:00
  • 667a56ca6c Added GTK3 window guard handling for scrolling/selection height calculations while keeping GTK2 direct window access for those paths. Switched sizing/visibility calculations and buffer show sizing to use GTK3 window retrieval with GTK2 fallbacks in layout/rendering paths. deepend 2026-01-29 21:21:40 -07:00
  • c009c30211 Updated size allocation and draw/paint paths to use GTK3 allocation accessors while preserving GTK2 direct field access under guards. Switched render-page and input/cursor handling to use gtk_widget_get_window on GTK3 with guarded window usage, keeping GTK2 behavior intact. deepend 2026-01-29 21:14:09 -07:00
  • b6094244ac Merge pull request #47 from ZoiteChat/c17 deepend-tildeclub 2026-01-29 21:01:45 -07:00
  • 2741c40580 Merge pull request #46 from ZoiteChat/master deepend-tildeclub 2026-01-29 21:00:38 -07:00
  • c90f3c659a Fix include directive for glib.h deepend-tildeclub 2026-01-27 12:13:47 -07:00
  • e78251ee29 fix(win32): replace netdb.h with ws2tcpip.h for addrinfo APIs deepend 2026-01-26 18:19:14 -07:00
  • b960f62d2a fix(fe-text): replace strdup with g_strdup for C17 builds deepend 2026-01-26 18:12:49 -07:00
  • dc76c2ea37 Change C standard from C17 to c17 deepend-tildeclub 2026-01-26 18:08:01 -07:00
  • 6e5149fbe6 add C17 to meson.build deepend 2026-01-26 16:01:47 -07:00
  • 4008d94571 fix(portability): replace POSIX-only string funcs and legacy hostent fields deepend 2026-01-26 15:56:52 -07:00
  • 4ad5df0370 Update documentation links in README deepend-tildeclub 2026-01-26 14:15:31 -07:00
  • 887d891541 Merge pull request #44 from ZoiteChat/glib-dependency-cleanup deepend-tildeclub 2026-01-26 01:36:54 -07:00
  • 041288cdad Removed the GLib dependency from the Windows 8 spellcheck provider by swapping in Windows/stdlib UTF-8/UTF-16 conversions and standard allocation/free routines. deepend 2026-01-25 23:52:52 -07:00
  • c8ee118f00 Replaced GLib allocation helpers in history management with standard free/strdup to reduce unnecessary GLib coupling. Updated the network helper API to use uint32_t and standard allocation/duplication routines, dropping the GLib include from the implementation and adding <stdint.h> to the header. deepend 2026-01-25 23:37:09 -07:00
  • d4134c94b3 Swapped glib integer types in the sysinfo interface for standard stdint types to remove glib coupling in the header. Replaced glib string/util usage in the win32 sysinfo backend with local helpers, a small string builder, and Windows UTF-8 conversion, removing the glib dependency there. deepend 2026-01-25 23:32:33 -07:00
  • 5ca3e835a7 Replaced GLib allocation helpers in history management with standard free/strdup to reduce unnecessary GLib coupling. Updated the network helper API to use uint32_t and standard allocation/duplication routines, dropping the GLib include from the implementation and adding <stdint.h> to the header. deepend 2026-01-25 23:00:20 -07:00
  • 6c85c796d3 Merge branch 'master' of https://github.com/ZoiteChat/zoitechat sync with master deepend 2026-01-25 19:09:54 -07:00
  • 992215ee91 Fix invalid call to g_io_channel_set_buffered deepend 2026-01-25 19:09:17 -07:00
  • 1729cfcb3f Merge pull request #43 from ZoiteChat/master deepend-tildeclub 2026-01-25 18:49:25 -07:00
  • 4cf1b52982 Merge pull request #42 from ZoiteChat/zoite-sts deepend-tildeclub 2026-01-25 18:48:26 -07:00
  • 1226224858 Merge branch 'zoite-sts' into gtk3-prep deepend 2026-01-25 18:31:03 -07:00
  • bc1d2e5f7a Updated STS upgrade handling to fall back to the current connection port when servers omit a port in the STS capability, enabling TLS upgrades for non-TLS connections in that case. deepend 2026-01-25 18:26:20 -07:00
  • a0f0c48bc5 Added STS profile persistence and policy parsing/enforcement (including load/save, upgrades, and expiry rescheduling) to the STS module. Integrated STS capability handling and connection lifecycle hooks (ignore CAP DEL, trigger upgrades, reschedule on disconnect, new server fields). Initialized and cleaned up STS state during startup/shutdown to persist policies across sessions. deepend 2026-01-25 17:20:53 -07:00
  • 4d6c77704c Added STS profile data structures plus serialize/deserialize helpers for storing profile state in a compact string form. Registered the new STS source file in the Meson and Visual Studio build definitions. deepend 2026-01-25 16:51:43 -07:00
  • f3855583dd Merge pull request #41 from ZoiteChat/master deepend-tildeclub 2026-01-25 16:15:37 -07:00
  • 2b98ebc544 HEXCHAT -> ZOITECHAT deepend 2026-01-25 16:13:47 -07:00
  • 8b5358fbcc Merge pull request #40 from ZoiteChat/master deepend-tildeclub 2026-01-25 16:09:41 -07:00
  • 4ed7032fd5 Update lua.c deepend-tildeclub 2026-01-25 16:02:58 -07:00
  • d4d2483161 Updated the GTK3 adjustment update path in gtk_xtext_buffer_show to explicitly set adjustment bounds/page sizing and emit value-changed, while keeping GTK2 behavior unchanged. deepend 2026-01-25 15:16:37 -07:00
  • 4e01192979 Add badge references to README deepend-tildeclub 2026-01-25 14:52:49 -07:00
  • 2127820ae0 Enhance README with build badges and links deepend-tildeclub 2026-01-25 14:47:08 -07:00
  • 361308962e Routed GTK3 render-time adjustment updates through gtk_xtext_adjustment_set to apply setter updates and emit value-changed, while keeping the GTK2 path on gtk_adjustment_changed deepend 2026-01-25 13:58:11 -07:00
  • e0c8409971 Updated GTK3 adjustment updates in gtk_xtext_adjustment_set to use GtkAdjustment setters and gtk_adjustment_value_changed, preserving the GTK2 path with gtk_adjustment_changed. Adjusted GTK3 buffer-show scroll value updates and change signaling to rely on adjustment accessors while keeping the GTK2 flow intact. deepend 2026-01-25 13:07:55 -07:00
  • 6f31e33094 Refactored gtkutil_icon_name_from_stock() to use a lookup table with explicit GTK stock icon aliases (including GTK3 mappings) while keeping the stock-name fallback intact. Spot-checked GTK stock icon usage in chanlist.c, menu.c, and sexy-spell-entry.c to confirm expected GTK3 icon mapping coverage at the call sites you flagged. deepend 2026-01-25 12:53:15 -07:00
  • bad5eab21c Expanded the GTK3 stock-to-themed icon mapping to cover additional stock IDs (add, yes/no, navigation, dialog error, media play, network, spell check) while keeping the stock fallback unchanged. Spot-checked GTK3 callers in chanlist, menu, and spell-entry code paths that rely on stock icon mappings for menu items and spelling UI icons. deepend 2026-01-25 12:29:00 -07:00
  • c9ec0527dd Avoided re-adding the same GTK3 palette CSS provider by tracking when the provider is first created before attaching it to the style context. deepend 2026-01-25 12:19:44 -07:00
  • ac3ce1ceac Updated gtkutil_apply_palette declarations to use GTK-specific Gdk color types for GTK3 vs GTK2 builds. Adjusted the gtkutil_apply_palette definition to match GTK3/GTK2 Gdk color signatures while preserving existing behavior. deepend 2026-01-25 11:37:04 -07:00
  • 6fffdba876 Merge branch 'gtk3-prep' of https://github.com/ZoiteChat/zoitechat into gtk3-prep deepend 2026-01-25 11:32:06 -07:00
  • 94789a9100 Added gtkutil_apply_palette declaration and implementation to apply palette colors/fonts via GTK3 CSS providers with GTK2 fallbacks preserved. Switched channel tree and theme application logic to use the new palette helper. Updated entry and user list styling to route palette/font application through the helper. deepend 2026-01-25 11:30:21 -07:00
  • 1475d02be0 Merge pull request #39 from ZoiteChat/master deepend-tildeclub 2026-01-25 11:16:51 -07:00
  • a40f53a1f3 Add 'standard-replies' to inbound.c deepend-tildeclub 2026-01-25 11:09:31 -07:00
  • 08d357dc98 Added explicit GTK3-only branches in gtk_xtext_unrealize() so gtk_widget_get_window() is used without GTK2 struct access leaking into the GTK3 path. Split the GTK3 and GTK2 initialization paths in gtk_xtext_realize() so the GTK3 branch uses gtk_widget_get_allocation()/gtk_widget_get_parent_window() and the GTK2 branch keeps the direct struct access under #if !HAVE_GTK3. deepend 2026-01-23 22:08:17 -07:00
  • 0df299acf5 Updated gtk_xtext_unrealize() to use GTK3 accessors (gtk_widget_get_window(), gtk_widget_set_window(), and gtk_widget_set_realized()) while keeping the GTK2 struct access in the #if !HAVE_GTK3 branch. Consolidated the GTK3 vs GTK2 branching in gtk_xtext_realize() so GTK3 uses gtk_widget_get_allocation(), gtk_widget_get_parent_window(), and gtk_widget_set_window(), with the existing GTK2 direct struct access preserved under #if !HAVE_GTK3. deepend 2026-01-23 22:00:36 -07:00
  • 00eb2de4c8 Split the GTK3 and GTK2 branches in gtk_xtext_unrealize() so GTK3 uses gtk_widget_get_window() while the GTK2 path remains under #if !HAVE_GTK3 with direct struct access. Split the GTK3 and GTK2 branches in gtk_xtext_realize() so GTK3 uses gtk_widget_get_allocation(), gtk_widget_get_parent_window(), and gtk_widget_set_window(), while keeping the existing GTK2 struct access under #if !HAVE_GTK3. deepend 2026-01-23 21:55:46 -07:00
  • f65f350965 Moved gtk_widget_set_realized() into the GTK3 branch and used GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED) for GTK2, keeping allocation/parent-window access split by #if HAVE_GTK3 deepend 2026-01-23 21:52:40 -07:00
  • 1d32aed8dc Added a GTK3-specific branch in gtk_xtext_unrealize() that clears user data via gtk_widget_get_window() while preserving the GTK2 struct access under #if !HAVE_GTK3. Updated gtk_xtext_realize() to use gtk_widget_get_allocation(), gtk_widget_get_parent_window(), and gtk_widget_set_window() on GTK3, and routed all subsequent window usage through the local window variable instead of direct struct access; the GTK2 path remains intact under #if !HAVE_GTK3. Adjusted gtk_xtext_clear_background() to use gtk_widget_get_window() on GTK3 rather than widget->window. deepend 2026-01-23 21:40:22 -07:00
  • ab3bdf219f Added #if HAVE_GTK3 / #elif !HAVE_GTK3 branches around gtk_hbox_new / gtk_vbox_new call sites in the GTK front-end, using gtk_box_new(GTK_ORIENTATION_*, spacing) for GTK3 while keeping the GTK2 constructors explicitly gated under !HAVE_GTK3. Applied gtk_box_set_homogeneous() in GTK3 branches where the GTK2 code requested homogeneous layout (e.g., dialog hboxes). Updated remaining helpers and setup/preferences UI box constructors (including the shared mg_box_new helper) to follow the same GTK3/GTK2 branching approach consistently across src/fe-gtk/ deepend 2026-01-23 21:28:32 -07:00
  • 5b1a58195e Verified the requested #if HAVE_GTK3 / #if !HAVE_GTK3 alignment branches are already present across the noted src/fe-gtk/ files, then refined the GTK3 join dialog icon alignment by adding a small top margin to better approximate the legacy y = 0.06 alignment behavior. Removed a lingering commented-out gtk_misc_set_alignment call in servlistgui.c so the remaining legacy alignment calls surfaced by search are all active and guarded. deepend 2026-01-23 21:16:43 -07:00
  • 7f5d92addb Searched the requested GTK alignment usages across src/fe-gtk/ and found the #if HAVE_GTK3 branches were already in place for the gtk_misc_set_alignment() call sites; the remaining gap was an implicit #else around gtk_alignment_new() in setup_create_spin, which I made explicit as #elif !HAVE_GTK3 while keeping the GTK3 halign/valign branch intact. deepend 2026-01-23 21:09:21 -07:00
  • 7a37918ec7 Replaced #else with #elif !HAVE_GTK3 anywhere the legacy alignment calls appear, so the GTK2/legacy path is now explicitly scoped to non-GTK3 builds while preserving the existing GTK3 halign/valign behavior across the requested files (maingui.c, chanlist.c, dccgui.c, joind.c, servlistgui.c). Applied the same explicit !HAVE_GTK3 guard style in setup.c, including the gtk_alignment_* block and the padding/margin section you called out. deepend 2026-01-23 20:34:48 -07:00
  • 31e198f772 Added GTK3 halign/valign handling (and GTK3 label margins) across setup UI elements, including spin widgets, color buttons, sound labels, and page headers while keeping GTK2 fallbacks intact. Applied GTK3 alignment updates to DCC detail labels in the DCC GUI. Updated join dialog widgets to use GTK3 alignment calls for the image and labels, retaining legacy alignment for GTK2. Added GTK3 alignment handling for server list dialogs and labels in the server list UI. deepend 2026-01-23 20:18:49 -07:00
  • 366039eb2b Adjusted GTK3 menu item icon-name fallbacks for quick items and stock icon menus in the menu helpers. Updated channel list icon menu items to convert stock icon IDs to GTK3 icon names with a fallback path. Added a GTK3 icon-name fallback for spell entry menu items when building the icon/label box layout. deepend 2026-01-23 18:08:39 -07:00
  • fd83f3636d Consolidated the GTK3/GTK2 branching for icon menu items in menu_quick_item and create_icon_menu to use the GtkMenuItem + GtkBox path under GTK3 and GtkImageMenuItem under GTK2. Unified the GTK3/GTK2 icon menu item construction branches in the channel list menu helper to match the GtkBox + GtkImage + GtkLabel pattern for GTK3 while preserving GTK2 behavior. Aligned the spelling menu icon item helper with the same GTK3/GTK2 branching structure, keeping GTK2 GtkImageMenuItem intact. deepend 2026-01-23 18:01:07 -07:00
  • c2e8507402 Guarded GTK3 chanlist menu item image creation on a non-null icon name before packing into the menu item box. Updated GTK3 create_icon_menu to build menu items with explicit image/label composition using icon names or pixbufs before packing into the box. Adjusted GTK3 spell entry icon menu item to create the image only when an icon name is available. deepend 2026-01-23 17:35:01 -07:00
  • 3923bd915c Updated GTK3 menu quick items to build a GtkMenuItem with a box, icon-name image, and mnemonic label before packing into the menu item. Ensured chanlist GTK3 icon menu items always create images from icon names before packing with the mnemonic label. Adjusted spell entry GTK3 icon menu items to create icon-name images for the boxed menu item layout. deepend 2026-01-23 17:26:59 -07:00
  • d1163a4ee8 Updated create_icon_menu to build GTK3 menu items with a boxed image + mnemonic label and icon-name-based images. deepend 2026-01-23 17:17:17 -07:00
  • 5538e738a8 Expanded GTK3 icon-menu construction in menu.c to build menu items with a GtkBox, GtkImage, and mnemonic label when using icon names. Updated channel list icon menu items to build GTK3 menu items with GtkBox/GtkImage/GtkLabel while preserving GTK2 GtkImageMenuItem paths. Updated sexy spell entry icon menu items to build GTK3 menu items with GtkBox/GtkImage/GtkLabel while preserving GTK2 GtkImageMenuItem paths deepend 2026-01-23 16:00:02 -07:00
  • b0a9f34dc4 Added GTK3 icon-name menu item helper and used it when building icon-based menu items in the main menu paths, while keeping the GtkImageMenuItem fallback for GTK2 intact. Guarded GTK3 chanlist icon menu item creation to handle missing icon names safely while still creating the boxed menu layout. Applied the same GTK3 icon-name guard for the sexy-spell-entry menu items while preserving GTK2 code paths. deepend 2026-01-23 14:46:19 -07:00
  • 65ca665e25 Added a GTK3 helper to build menu items with image + mnemonic label and reused it for icon menu item creation in the main menu helpers. Added GTK3 helper builders for icon menu items in the channel list and spell entry menus, reusing them in the GTK3 branches while keeping GTK2 paths intact. deepend 2026-01-23 14:33:11 -07:00
  • 72b9560c32 Made the GTK3 vs GTK2 icon menu item paths explicit in menu_quick_item, keeping the GTK3 boxed menu item and guarding the GtkImageMenuItem path under #if !HAVE_GTK3. Updated the chanlist icon menu item to keep the GTK2 GtkImageMenuItem logic under #if !HAVE_GTK3. Updated the spelling menu icon item to keep the GTK2 GtkImageMenuItem logic under #if !HAVE_GTK3. deepend 2026-01-23 14:18:37 -07:00
  • 7694d4dd18 Restructured icon menu item creation in menu_quick_item to use explicit GTK3 GtkMenuItem + GtkBox + GtkImage/GtkLabel handling with a GTK2 GtkImageMenuItem fallback. Added GTK3 image null checks and explicit GTK3/GTK2 branching for chanlist icon menu items. Added GTK3 image null checks and explicit GTK3/GTK2 branching for sexy spell entry icon menu items. deepend 2026-01-23 14:09:50 -07:00
  • 853c16a9bc Updated create_icon_menu to build GTK3 icon menu items by packing an image and mnemonic label into a box while keeping GTK2 GtkImageMenuItem handling intact. Expanded channel list icon menu items to handle GTK3 box-based layout and GTK2 image menu items in one helper, and used that helper for the context menu entries. Unified sexy spell entry icon menu item creation across GTK versions, using stock IDs for both and centralizing the GTK3 box-based layout with GTK2 image menu items preserved. deepend 2026-01-23 13:58:53 -07:00
  • 905cc2f22e Added a GTK3 helper to build icon+label menu items for the channel list context menu entries. Added a GTK3 helper for icon-name menu items and reused it when building stock icon menu entries. Added a GTK3 helper for spelling-related menu items and reused it for add/ignore/suggestions entries. deepend 2026-01-23 13:42:11 -07:00
  • edbe5c405c Updated GTK3 menu item creation in menu_quick_item and create_icon_menu to use GtkBox with GtkImage and GtkLabel while keeping GTK2 image menu items intact. Reworked GTK3 channel list context menu items to use GtkBox-packed images and mnemonic labels, preserving GTK2 behavior under !HAVE_GTK3. Added GTK3 menu item layouts for spell entry actions and suggestion menu with icon-name images and mnemonic labels, while retaining GTK2 image menu items. deepend 2026-01-23 13:27:40 -07:00
  • 07bd2d4c13 Split GTK entry icon updates into explicit HAVE_GTK3 and !HAVE_GTK3 guards in the server list callbacks to keep GTK3 icon-name usage separate from stock icons. Applied the same explicit GTK3 vs non-GTK3 guard structure for search entry icon handling in the main GUI search flow deepend 2026-01-23 13:16:45 -07:00
  • d57f66ef75 Updated server list entry icon handling to use GTK3 icon names with stock fallbacks for GTK2. Switched main search entry error/clear icons to GTK3 icon-name API while preserving GTK2 stock icons. deepend 2026-01-23 13:09:02 -07:00
  • 19ecc6a284 Updated GTK3 entry icon handling in the server list UI to use icon names (and NULL clears) while keeping GTK2 stock calls under #if !HAVE_GTK3. Updated GTK3 entry icon handling in the main search UI to use icon names (and NULL clears) while keeping GTK2 stock calls under #if !HAVE_GTK3. deepend 2026-01-23 13:04:19 -07:00
  • 2b6fc7dbe5 Added GTK3 icon-name handling around entry error icon updates in the server list UI while keeping stock icon calls for non-GTK3 builds. Updated search UI entry icon handling to use GTK3 icon-name APIs with GTK2 fallbacks for stock icons. deepend 2026-01-23 12:57:52 -07:00
  • 8d76d94131 Added a GTK3-only helper to build button images from stock IDs via icon-name mapping, and refactored gtkutil_button to use it while keeping GTK2 stock handling intact. Verified gtkutil_button(...) callers with rg -n "gtkutil_button\\s*\\(" src/fe-gtk. deepend 2026-01-23 11:17:28 -07:00
  • 246bcd06a2 Updated gtkutil_button() to build button images via GTK3 icon names (with stock mapping) and to skip image creation when no stock name is provided, while keeping GTK2 stock usage intact. deepend 2026-01-23 10:52:17 -07:00
  • e4f1b20211 Added a helper to create button images from stock names using GTK3 icon mapping, and used it in gtkutil_button for consistent GTK2/GTK3 handling. deepend 2026-01-23 10:48:01 -07:00
  • ef5d8c482a Extended the GTK3 stock-to-icon mapping to cover apply/remove so GTK stock buttons continue to map to themed icon names in GTK3 builds. deepend 2026-01-23 10:41:18 -07:00
  • c346055b42 Added a shared GTK3 stock-to-icon-name helper in gtkutil and exposed it for reuse. Updated gtkutil_button() to use icon-name images on GTK3 while preserving stock image usage on GTK2. Switched menu icon creation to the shared GTK3 mapping helper. deepend 2026-01-23 10:32:17 -07:00
  • 63fd0dc103 Mapped stock icon identifiers to GTK3 named icons when creating stock menu items so GTK3 always uses gtk_image_new_from_icon_name. deepend 2026-01-23 10:12:47 -07:00
  • 7f05fda41a Added GTK3 named icon mappings for cancel/ok stock identifiers to align menu imagery with icon-name usage. Clarified GTK3 vs GTK2 popup menu handling with an explicit conditional split while preserving GTK2 fallback behavior deepend 2026-01-23 09:23:34 -07:00
  • 9c691db910 Added a GTK3 helper to map legacy GTK stock icon IDs to themed icon names for menu items, improving GTK3 icon lookups for legacy strings. Routed GTK3 menu icon creation through the new stock-to-name mapping before calling gtk_image_new_from_icon_name. deepend 2026-01-23 09:17:36 -07:00
  • d7966a7234 Clarified GTK3 vs. GTK2 icon macro guards in the channel list and plugin UI sources to keep named icons for GTK3 and stock icons for GTK2 builds. Split GTK3/GTK2 popup handling into explicit conditional blocks and made GTK3/GTK2 menu icon definitions explicit in the menu implementation. deepend 2026-01-23 09:07:23 -07:00
  • e70c50ab1a Consolidated GTK3 vs GTK2 icon macro guards in the channel list UI to keep named icons on GTK3 and stock icons on GTK2 behind a single conditional block. Aligned plugin UI icon macros with the same GTK3/GTK2 conditional pattern for named icons vs stock icons. Ensured GTK3 popup helper usage and clarified GTK3/GTK2 icon macro selection in the main menu handling code. deepend 2026-01-23 08:56:27 -07:00
  • 74c16fabe6 Defined shared GTK2/GTK3 icon constants for the channel list and reused them for menu items and action buttons to keep GTK3 named icons centralized. Added plugin manager icon constants for GTK2/GTK3 and applied them to the load/unload/reload buttons deepend 2026-01-23 08:33:48 -07:00
  • 70d5113180 Added a GTK3 icon-button helper for the channel list and reused it for the action buttons, plus guarded the GTK2 popup timestamp handling. Added a GTK3 icon-button helper for the plugin list controls and used it for the load/unload/reload buttons. Added a GTK3 help icon to the join-channel dialog button configuration. deepend 2026-01-23 08:17:22 -07:00
  • 6b089d3fba Added a GTK3 fallback to anchor the chanlist context menu at the tree widget when no event is available, while keeping the GTK2 popup path unchanged. deepend 2026-01-23 08:05:16 -07:00
  • 03ab236b67 Anchored GTK3 menu popups to the parent window when no pointer event is available, while preserving the GTK2 popup path. deepend 2026-01-23 07:58:26 -07:00
  • 8ba068041d Made GTK2-only chanlist menu popup and button icon paths explicit with #if !HAVE_GTK3, keeping GTK3 named-icon usage separate from stock icons. Applied the same GTK2-guarded stock icon usage in plugingui and menu handling, including menu popups and icon helpers, to isolate GTK2-only calls. deepend 2026-01-23 07:47:16 -07:00
  • fae83a34bc Updated GTK3 menu icon fallback to use icon names instead of stock IDs while preserving GTK2 behavior. deepend 2026-01-23 07:38:43 -07:00
  • b934b1b940 Updated the channel list context menu, buttons, and popup handling to use GTK3 icon names and gtk_menu_popup_at_pointer while keeping GTK2 stock fallbacks. Switched the plugin GUI action buttons to GTK3 icon-name images with GTK2 stock fallbacks. Added GTK3 icon-name mappings for menu entries, updated menu popups to gtk_menu_popup_at_pointer, and set GTK3 dialog button icons while preserving GTK2 stock behavior. deepend 2026-01-23 07:32:38 -07:00
  • 7f7fd71fe4 Guarded the Win32 GDK header include with GDK_WINDOWING_WIN32 while keeping the Win32 system header include intact. deepend 2026-01-23 00:48:15 -07:00
  • d65cef176e Guarded the tray icon X11 code path with GDK_WINDOWING_X11 while preserving the non-X11 fallback behavior in gtkutil_tray_icon_supported. Switched Win32 window handle retrieval to gdk_win32_window_get_handle and wrapped the usage in GDK_WINDOWING_WIN32 in fe_gui_info_ptr. deepend 2026-01-23 00:43:30 -07:00
  • 5715245080 Updated the GTK3 pointer position query to use gdk_device_get_position without a temporary screen variable while keeping GTK2/GTK3 code paths split by HAVE_GTK3. deepend 2026-01-23 00:38:14 -07:00