summaryrefslogtreecommitdiff
path: root/x11/gtk3/patches
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12gtk3: updated to 3.24.31adam1-4/+4
Overview of Changes in GTK+ 3.24.31, 20-12-2021 =============================================== * input: - Fix a crash with touch on GtkScale * clipboard: - Avoid a double-free * css: - Avoid a crash with radial gradients * GtkFileChooser: - Don't leak search results * GtkTextView: - Support css letterspacing * Wayland: - Reset position when hiding popups - Ignore globals we did not bind ourselves - Avoid infinite loops when hiding surfaces - Avoid clipboard-related lockups * X11: - Trap errors while doing XRANDR calls - Support touchpad gestures with XI 2.4 * win32: - Some OpenGL setup fixes - Fall back to GLES for OpenGL - Fix MinGW autotools build - Fix building on Windows 11 - Support building with Visual Studio 2022 - Improve DND across monitors - Rewrite keymap handling code * macOS: - Accept NSPasteboardTypeFileURL drops - Build on macOS 12 - Fix display on macOS 12 - Fix keyboard layout notifications - Fix a crash - Improve performance on Big Sur * Translation updates: Basque Brazilian Portuguese Chinese (China) Chinese (Taiwan) Croatian Czech Danish Dutch Finnish French Friulian Galician German Hungarian Icelandic Italian Kazakh Korean Latvian Occitan Persian Russian Serbian Spanish Swedish
2021-06-18gtk3: remove unnecessary patch, fix PLIST for Darwin with Quartzadam1-57/+0
2020-08-14gtk3: updated to 3.24.22adam1-4/+4
Overview of Changes in GTK+ 3.24.22 =================================== * GtkTextView: - Fix some corner cases of pixelcache invalidation - Make select-all work on touch * Fix print portal support * Adwaita: - Tweak title style class - Add a public color for text view background * Windows: - Limit the size of the corner mask cache - Use native API for keycode conversion - Use GLES on arm64 * Wayland: Add a way to change the application id * Quartz: Add axes to master devices * Add --enable-tracker3 option to configure * Translation updates: Catalan German Indonesian Italian Kazakh Spanish Turkish
2020-07-23gtk3: note that the patch shouldn't be upstreamed.maya1-1/+5
the glade fix requires some work to adapt to the released version, leaving in this note in the meantime.
2020-07-20gtk3: avoid crash when using glade. repro mentioned in patch comment.maya1-0/+26
bump PKGREVISION
2020-03-04gtk3+: update to 3.24.14.wiz2-28/+0
Overview of Changes in GTK+ 3.24.14 =================================== * Fix the opaque region for windows on X11 * theme: - Fix flat buttons in backdrop - Make popovers look more similar to menus - Tweak checkbox & radiobutton appearance - Add general typography classes (heading, title-1, etc) * language bindings: - Fix annotations for gtk_tree_model_sort_new_with_model * switch: Fix touch support * infobar: Make clickable for default action * emojichooser: - respect a no-emoji input hint * fontchooser: - Fix an oversight with hiding the size label * filechooser: - Disable recursive search without a system indexer * modelbutton: - Fix a11y support to reflect button state * input: - Fix touchpad gesture center calculation * x11: - Fix root window scaling - Support _GTK_WORKAREAS_Dn property * wayland: - Support a terminal purpose in input methods - Fix preedit cursor positioning - Fix enabling/disabling of text inputs - Support simultaneous selection requests - Require Wayland 1.14.91 * OS X: - Fix fullscreen state - Fix an Inkscape crash at startup - Fix OpenGL extension detection * Printing: - Fix a crash with Avahi * Translation updates: Basque British English Catalan Finnish French Galician Japanese Kurdish Sorani Malay Russian Slovak Spanish Turkish
2020-01-08gtk3: fix building on macOS with Quartz backendadam3-0/+85
2019-10-29*: fix manual definition of evdev mouse button idsnia1-6/+6
2019-08-18gtk3: Add Wayland support to options.mk.nia1-0/+21
This patch also allows multiple GDK backends to be selected (e.g. for compiling with both X11 and Wayland support). Previously only one backend could be enabled at a time, but the only configuration where using multiple would be possible would be Quartz+X11 on macOS. I haven't tested this configuration on a macOS system, but it would be interesting to know whether it works. Builds with Wayland support on NetBSD...
2019-01-16gtk3: updated to 3.24.3adam2-51/+0
Overview of Changes in GTK+ 3.24.3 * Bugs fixed: wayland: Respect length limits in text protocol wayland: Support key themes wayland: Fix hi-dpi cursor scaling quartz: Make point-to-pixel conversions work on all versions quartz: Re-add support for hidpi scaling quartz: Fix search engine integration win32: Fix ime change hangling placessidebar: Insert drops in the right place x11: Fix problems gdk_x11_get_parent_relative x11: Fix Wacom tool types icons: Recolor polygons as well in symbolic icons switch: Use Unicode symbols for I/O instead of translations * Translation updates: Japanese
2019-01-04gtk3: Backport patch for upstream issue #1280leot1-0/+36
At least with wm/awesome this was particularly problematic and easily lead to crash of gtk3 applications. PKGREVISION++ Patch and analysis from Zach McGrew, thank you Zach!
2019-01-01gtk3: Update to 3.24.2leot4-89/+15
pkgsrc changes: - Remove patch-gdk_quartz_gdkmonitor-quartz.c, patch-gdk_quartz_gdkmonitor-quartz.h, patch-gdk_quartz_gdkscreen-quartz.c, applied upstream. Changes: Overview of Changes in GTK+ 3.24.2 ================================== * new api: gdk_x11_display_get_parent_relative pattern * wayland: Use the settings portal when sandboxed * Bugs fixed: - widget-factory: Move app menu contents to primary menu - Make dashed border-style work correctly - gtkstack: fix null pointer dereference - GDK W32: Support switching input modules at runtime - Tooltip: Fix the used cursor size if 0 in Settings - quartz: Fix crash when realizing GtkOffscreenWindow - win32 dnd: Fix setting icon on drag-begin - Fix race in GtkPlug window creation - widget-factory: Add Keyboard Shortcuts menu item - quartz: do not cache the screen in the gdkmonitor - Trash in side bar sometimes contains a home icon - wayland: Avoid crashes inside wl_proxy_marshal - gtkimcontextime.c: Fix Korean input - entry: Handle no-window events in gtk_entry_event - Tooltip: Fix the used cursor size if 0 in Setting - Notebook: Ensure menu_label updates with tab_label - Adwaita: Improve headerbar theming - win32: Make scroll behavior similar to Linux - fix symbolic icon rendering with new librsvg - emoji selector: force Emoji presentation - a11y: fix a crash under wayland * Translation updates: - Africaans - Basque - Brazilian Portuguese - Chinese (Taiwan) - Esperanto - Lithuanian - Slovak - Slovenian - Spanish - Turkish
2018-11-20gtk3: backport upstream commit to fix crashes on macOSmaya3-0/+89
From Jonathan Schleifer in PR pkg/53729
2018-10-30gtk3: Add reference to upstream issue regarding freetype headers include-sleot1-1/+5
2018-10-29gtk3: Correctly include freetype2 headersleot1-0/+19
Only <ft2build.h> should be included, all the other header files should be included via FT_*_H macros. Fixes PR pkg/53690.
2018-10-23gtk3: Update x11/gtk to 3.24.1leot1-6/+6
Changes: Overview of Changes in GTK+ 3.24.1 ================================== * Adwaita: - Improvements to headerbar styling * Wayland: - Fix handling of preedit text * Windows: - Implement smooth scrolling * Fix critical warnings on shutdown * Translation updates: - Czech - Friulian - Russian - Spanish Overview of Changes in GTK+ 3.24.0 ================================== * GtkApplication can now track screensaver state * Translation updates: - Brazilian Portuguese - Croatian - Czech - Danish - French - Galician - German - Greek - Hungarian - Indonesian - Italian - Latvian - Lithuanian - Polish - Swedish - Turkish Overview of Changes in GTK+ 3.23.3 ================================== * Deprecate a few APIs that are gone in GTK+ 4: - focus chains in GtkContainer - stepper sensitivity in GtkRange * Allow picking colors under kwin * Bug fixes: #404 window: Fallback to CSD titlebar in focus-chain #770 scrolledwindow: Fix horizontal decleration #1263 win32: Implement smooth scrolling #134 #432 #574 #579 #878 tooltip: Position using move-to-rect #844 wayland: avoid idempotent wl_subsurface_set_position #2393 Fix a typo #125 combobox: Fix a critical warning !290 fontchooser: Add missing build flags !172 filechooser: Don't show private recent items * Translation updates: - Brazilian Portuguese - British English - Catalan - Chinese (Taiwan) - French - German - Indonesian - Italian - Kazakh - Korean - Lithuanian - Polish - Turkish Overview of Changes in GTK+ 3.23.2 ================================== * Emoji chooser improvements - Try harder to avoid fallback rendering - Avoid hex boxes - Use icons for sections * Color chooser improvements - Allow picking colors from the screen again. The current implementation can use either the screnshot portal or a recent gnome-shell API * GtkPlacesSidebar now shows a spinner during mount operations * Wayland - Support both gtk-text-input and text-input-unstable-v3 as input protocol * Bug fixes: #628 TextView: spaces acting as non-breaking whitespace... !248 win32: Correct handling of transient state changes !272 Replace gtk_text_input with text_input_unstable_v3 support * Translation updates: - German - Lithuanian - Polish - Spanish - Turkish Overview of Changes in GTK+ 3.23.1 ================================== * Backported event controllers from GTK+ 4: - GtkEventControllerScroll - GtkEventControllerMotion - GtkEventControllerKey - GtkGestureStylus * Support markup in GtkModelButtons * Themes - The Raleigh theme has been removed - Expander size in HighContrast has been increased * Wayland - Update cursor scale when needed - Decoration negotiation protocol fixes * Windows - Add an EGL renderer based on ANGLE * Translation updates: - Brazilian Portuguese - German - Hungarian Overview of Changes in GTK+ 3.23.0 ================================== * Dependency bumps: - Require libepoxy 1.4 - Require pango 1.41 * New font chooser features: - Allow setting OpenType font features - Show examples for OpenType font features - Allow selecting OpenType font variations - Support levels of details for selection * New Emoji features: - Support a completion popup for Emoji - Drop Ctrl-Shift-e shortcut * Other new apis: - gdk_window_move_to_rect * Wayland: - Use anonymous shared memory on FreeBSD * Bugs fixed: #85 widgetDragDestFindTarget introspection data does not show nullable... #154 Documentation: Lifecycle of Editables inside GtkCellRenderers is no... #193 Document that GtkUIManager is deprecated by GtkBuilder #199 MenuButton not notified when its Popover is destroyed, still access... #292 GtkRanges should send ::change-value even if not realized #450 Menu navigation triangle doesn't work anymore #792 Focus events are not always matched #898 emoji-chooser: search for flags doesn't work #997 gdk: Make gdk_window_move_to_rect public #1053 Scroll cursor gets left behind if a child widget steals the scroll #1059 -Wparentheses warnings in GTK+ headers when compiling C++ code with... #1065 GtkScrollbar horizontal mouse wheel scroll direction is wrong #1069 Thread 1 "glade" received signal SIGFPE, Arithmetic exception. #1088 CssGadget: Round px values up for min-width|height #1115 gtk icon theme searches system dirs before user dirs #1134 x11: Always set None pixmap for no background #1160 a11y/entry: Fix copy-pasteo re 2ndary icon tooltip #1165 InfoBar: Fix wrong type in copy-pasted param doc #1166 EmojiCompletion: Use Box:spacing instead of CSS !125 HC: Avoid same BG/FG colors in flat treeview entry !157 wayland: Implement 'gtk-fontconfig-timestamp' & 'gtk-modules' !181 W32: Don't forget to check VK_MENU and set MK_ALT !206 searchenginetracker: Don't leak the hits' GFiles 407242 GtkScale: Up/Down keys decrease/increase value, which is opposite... 686109 gtk_print_context_get_hard_margins should return page size specif... 765327 GtkPlug scaled to half the expected size on HiDPI screens 772817 File Chooser: Path arrow button frames are reversed and detached ... 773299 gtk/language-names.c: Fix build on non-GCC/CLang 775279 early calls to libepoxy cause all gtk3 programs to abort when the... 786524 ocument GTK_OVERLAY_SCROLLING environment variable 787867 OSX macports pango text size appears to vary between version 1.40... 789215 GtkScrolledWindow and GtkIconView atk objects can cause a segfaul... 791542 GDK 3 Selections documentation makes references to X 791802 Fix direction value moves on scroll/keypress over RTL/inverted ra... * Translation updates: Catalan Finnish Polish Russian Spanish
2017-11-07gtk3: updated to 3.22.25adam1-89/+0
GTK+ 3.22.25 * The HighContrast theme has received numerous improvements * Middle-click on scrollbars jumps to the position again * Wayland: - Terminal sizing problems are fixed - The Wayland backend now implemented the KDE server-side decorations protocol * X11: - Problems with menus on several X servers are fixed * Bugs fixed: 701296 gtkfixed accepts toplevel windows into its children list after gtk_w... 728452 gtk_tree_view_column_create_button creates button which is leaked 738387 ComboBox in appears-as-list-mode: popup is not hidden when focus is ... 763517 Selected then unselected Label in ListBox gets wrong colour until ho... 769877 [HighContrast(|Inverse)] dual-headerbars broken 769879 [HighContrast(|Inverse)] tooltips problems 771279 Segfault due to gtk_event_controller_get_widget() returning NULL but... 775217 Warning message "gdkcursor-wayland.c:170: Unable to load blank_curso... 776793 GtkComboBox with appears-as-list doesn't receive mouse events from a... 777072 window shrinks when restored from maximized 778811 Enter submenus when activating their parent item 778930 gtk3-icon-browser: Add scalable icons to icon detail modal window 780101 Menus do not display over remote X11 781909 Implement KDE's server-decoration protocol 782396 Inconsistent deprecation documentation for gtk_paint_spinner 783995 Monitor API inconsistencies across X11 & Wayland 784314 entry completion regression on wayland 784509 wrong coordinates given to at-spi layer from GTK3 entries 786220 Sometimes the volume icon is replaced with image-missing 786794 Print dialogue has a printer called "printer" 787274 ComboBox in appears-as-list-mode: Gtk-CRITICAL when popping down wit... 787669 Middle mouse click on scrollbar is ignored 787866 Untranslated key labels in the Keyboard panel of Settings 788053 Window position wrong in HiDPI mode 788458 (style) Array index 'i' is used before limits check. 788496 HighContrast/win32: CSD Windows have missing border and shadows floa... 788505 ComboBox in appears-as-list mode: Clicking a TreeView expander also ... 788516 dialogs in gtk+ 3.22.24 have square borders. 788573 HighContrast: titlebar separator is too wide and joined to buttons, ... 788574 HighContrast: Ugly solid black corners at bottom of MessageDialog 788575 HighContrastInverse: Windows lack visible borders, merge into each o... 788577 Global -GtkComboBox-appears-as-list breaks opening menu-mode CBs by ... 788580 HighContrast: .flat buttons become non-flat when their window is :ba... 788614 Trying to reuse a TreeViewColumn causes criticals and a segfault (e.... 788841 Fix gtk_actionable_set_detailed_action_name API inconsistency 788905 GtkRange horizontal scrolling causes movement in the wrong direction 789141 Segmentation fault when adding Google online account 789149 GtkGestureZoom leaks the list of sequences while calculating the dis... 789327 appchooserwidget: Don't limit application list unconditionally 789357 Regression in 3.22.23: GDK_WINDOW_STATE_TILED flag is never set * Translation updates: Brazilian Portuguese Catalan (Valencian) Croatian Czech German Hungarian Italian Indonesian Lithuanian Polish Slovak Slovenian Swedish
2017-11-06gtk3: apply upstream fix for remote X11 rendering issuetnn2-5/+96
This fixes context menus not appearing correctly in packages such as emacs and firefox when using Xnest, Xephyr or tunneled X11. while here, regen patch-gtk_fallback-c89.c with more diff context.
2017-08-07Changes in GTK+ 3.22.17adam1-30/+0
* Add native file chooser support for OS X * Bug fixes: 766517 GtkAboutDialog should use https:// license URLs 781583 gtk_image_new_from_resource does not work 781935 Add nullable return annotation to gtk_notebook_get_tab_label 781936 Add nullable return annotation to gtk_text_mark_get_name 782040 Wacom pen calibration application responds to mouse input 782325 wayland: Add possibility to get the exported handle multiple times 784323 Quartz backend: gtk_clipboard_get_default not implemented 784723 macOS: native file chooser dialog 784888 gtkapplication: Mark gtk_application_get_active_window() as nullable * Translation updates: Friulian Kazakh
2017-07-04Changes in GTK+ 3.22.16adam1-0/+30
* GtkEntryBuffer no longer emits changed events when input is truncated * gtk3-icon-browser now offers to copy the icon name to the clipboard * Bugs fixed: 745289 wayland: do not use g_error() on connection errors 759308 Instant apply in printing dialog (number of copies) 770513 MainToolbar in full-screen mode has rounded corners, which show video pixel... 778853 propagate-natural-width/height request too much with !overlay-scrolling && ... 779078 Adwaita: last treeview header button adds border on hover 781285 Key repeat cancel under Wayland should depend on which key is repeating 781945 SIGSEGV dragging window on Wayland when toplevel window set_transient_for i... 782117 If a window was initially shown undecorated and set_decorated(True) is call... 782283 Wayland: Crash when dismissing a menu when a tooltip is visible 782325 wayland: Add possibility to get the exported handle multiple times 783047 Many apps crash in gdk_event_source_prepare when logging out of GNOME 783347 gtkfilechoosernativewin32: Fix support for non-ASCII paths 783397 Remove unused code in gtktextdisplay.c 783587 Crash when NULL is passed to GtkActionHelper to unset action-name * Translation updates Czech Lithuanian Norwegian bokmål Serbian Spanish
2017-01-23gtk3: avoid redefining GdkX11Monitor. should help centos builds whichmaya1-0/+18
are currently failing.
2016-11-25Update gtk3 to 3.22.4prlw11-5/+5
Some highlights: * Deprecations have been added for APIs that will be removed in GTK+ 4 * GtkHeaderBar supports expanding children * GtkApplication supports registering with the Xfce session manager * Keep firefox working after the introduction of GdkDrawingContext * New APIs: - gtk_show_uri_on_window - gtk_file_filter_to/from_gvariant - gtk_file_chooser_add/remove/set/get_choice - gtk_print_settings_to/from_gvariant - gtk_paper_size_to/from_gvariant - gtk_page_setup_to/from_gvariant * GDK has a new GdkMonitor api that offers richer information about connected outputs * GdkSeat and GdkDevice gained API for device tools, to support drawing tablets * 773180 Don't second-guess whether our GDK GL context is GLES * 743746 Add GLES 2.0 (and/or 3.0) profile * Translation updates Full list of changes available at: https://git.gnome.org/browse/gtk+/tree/NEWS?h=3.22.4
2015-11-07Note upstream bug report URL.wiz1-1/+2
2015-11-07Improve compatibility with systems which lack either round(), rint()he1-0/+49
or nearbyint(), but might still have them declared in <math.h>. Bump PKGREVISION.
2015-06-14Update gtk3 to 3.16.3prlw11-3/+4
It now has a hard dependency on libepoxy, and provides gtk-icon-update-cache. Highlights from release notes: * Improve client-side decorations without a compositor * Theming: Fixes for the HighContrast theme * GtkMenuButton: - Improve accessible names * GtkCellRendererPixbuf: - Always follow state changes, the ::follow-state property is now ignored. This is necessary to make HighContrast and symbolic icons remain visible e.g. in selected rows. * GtkEntry: - Rework the size allocation code to be less arcane. This changed the semantics of the get_frame_size() vfunc. GtkEntry subclasses that override this vfunc may need adjustment. * Go back to requiring GTK_FRAME_EXTENTS support for CSD, to fix shadow problems in KDE. * GtkFileChooser: - Don't start search too eagerly - Use fts with tracker - Make tracker queries more similar to nautilus * GtkWindow: - Improve window dragging on header bars * Printing: - Make avahi-browsed printers work - Set printer state correctly * Wayland - Support hi-dpi cursors - Exit cleanly if the compositor goes away - Don't ignore early maximization/fullscreening - Make subsurface popovers work under Weston - DND fixes * GL - Port GdkGears example to modern OpenGL * GtkScrolledWindow - Avoid 'jumping' when zoom scrolling kicks in - Make zoom scrolling less easy to trigger - Make steppers use smooth autoscrolling - Ensure indicators appear in the correct place * Input methods can now be turned off entirely, which can be useful to free up the Ctrl-Shift-u shortcut * Add some DND support to gtk3-icon-browser * CSS - Support animated font weight changes * GtkPopover: - has a map/unmap animation now * GtkListBox now supports models with gtk_list_box_bind_model * GtkNotebook has a new function to support tab dnd * GtkSidebar was renamed to GtkStackSidebar to better convey what it does * GtkFileChooser now has a location column for search * GdkGLProfile has been removed * GTK+ types now support the GLib g_autoptr() facility for automatic cleanup of automatic variables. GTK+ itself does not use g_autoptr() internally. * GtkSearchEntry has gained ::next-match, ::previous-match and ::stop-search signals and a gtk_search_entry_handle_event() function, which help in providing a richer search experience and make search entries usable outside of GtkSearchBar. * GtkFileChooser: - The search has been reintegrated in the UI, there is now a toggle button on the header bar to go to search mode, in addition to the Alt-S shortcut. - The file chooser button now accepts files by drag-and-drop properly. * GtkScrolledWindow has gained a new ::edge-reached signal, which triggers when the edge of the scrollable area is reached. * CSS: - Performance improvements * OpenGL: - It is now possible to specify the required GL version, as well as some other options (debug, forward compatible) when creating a GdkGLContext - Support for the OpenGL legacy profile has been dropped. Most examples have been updated, with the exception of gdkgears, which will be fixed in the next snapshot - Use shader version 1.50 * GtkTextView - Allow to customize multi-click behaviors, using the new ::extend-selection signal - Selection can now be extended by scrolling - Better behavior and appearance for text selection with touch * GtkApplication: - Use app menu fallback with ssh connections - Provide a mechanism to hide unnecessary app menu items on OS X, so a single menu file can be used across platforms * GtkCalendar: - Show other months in a different color under Adwaita again - Ensure we always show a bit of the other month on both ends * GtkScrolledWindow - Make overlay scrollbars more dynamic * GtkFileChooser: - Make bookmark DND insert at the right location - Make '~' and '/' work in recent mode - Make Ctrl-L work in recent mode - Re-integrate search * CSS: - Introduce immutable style nodes - Performance improvements - Reduced memory consumption * GtkInspector: - Add a magnifier for the selected widget - Show more display information - Show memory address of objects * Wayland: - Use subsurfaces for popovers, so popovers can extend beyond the window boundaries - Prefer the Wayland backend over X11 if both are available * GL: - Fix interaction with hi-dpi - Add OpenGL support to the Windows backend * GtkTextView: - Font fallback and letter spacing can be controlled with tags now - Pango markup can be inserted in text buffers * GtkEntry now has API to grab focus without selecting the contents * GtkWindow now starts from the focused widget when looking for actions that are activated by accelerators * GtkScrolledWindow draws an indication where an edge if hiding some content that can be scrolled in * GtkStack has gained GtkNotebook-like focus handling * Theming: - Support :not() in CSS - GtkRange now supports :hover for the whole widget - The HighContrast theme has caught up with some never GTK+ features - Avoid excessive shadow redraws * Build: - gtk3-update-icon-cache is no longer used at build time, and the --enable-gtk2-dependency configure option has been removed - The examples that are used in the documentation can now be built standalone * Inspector: - Allow extension with loadable modules, the first use for this is gjs-inspector, which adds a JavaScript prompt - Allow testing cursor theme changes * GtkPopoverMenu: A GtkPopover subclass that makes it easy to manually build menu-like popovers which can include arbitrary controls. * GtkModelButton: A button widget that is optimized for use inside popovers with a GAction as 'model'. * GL support: - Try harder to pick good visuals - Rework the way GL rendering is done in GtkGLArea - Support input events in GtkGLArea - Use shaders - The GDK_GL environment variable can be used for debugging * Inspector: - Make picking widgets work in Wayland - Rework search in all pages - Improve space use - Support GL information and debug flags - Shield the inspector window from more debug settings - Hide empty tabs * Theming: - Include the HighContrast theme - Add borders to menus in non-composited environments - Load themes from versioned directories like .../themes/Emerald/gtk-3-14/. * Wayland: - Make window opacity work - Propagate clipboard owner changes * Mir: - Improved event handling - Support cursors - Enable CSD - Better monitor support - Add OpenGL support * Deprecations: - gdk_cursor_new - gdk_device_grab_info_libgtk_only - gdk_display_open_default_libgtk_only - gdk_add_option_entries_libgtk_only - gdk_pre_parse_libgtk_only * An experimental mir backend has been added. Use --enable-mir-backend to build it. * Inspector: - Show more information - Use a separate display connection * Deprecations: - GtkStyleProperties * GDK supports rendering windows using OpenGL; currently this is implemented for X11 and Wayland using libepoxy * GtkGLArea: A new widget for rendering with OpenGL * GtkSidebar: A new switcher for GtkStack that looks like a sidebar * Better typography: In many places, we now use proper Unicode characters for dashes, quotes, multiplication signs and the like, instead of ASCII approximations * Theming: - Context menus use the default font instead of inheriting from the widget they are attached to - Theming engines are no longer used - Backdrop style has been fine-tuned to make the difference to the active window more evident without affecting readability * Inspector: - Show nested tree models - Add a checkbox to disable the warning dialog - Rearrange the UI to gain space - Show object counts * GtkTextView has a monospace property * GtkPaned has a wide-handle property * GtkPrintUnixDialog - Has improved appearance without headerbars - Better rendering of sheet icons - No more missing icons * GtkScrolledWindow - A new policy, GTK_POLICY_EXTERNAL, which allows scrolling without showing a scrollbar - Scroll events can now overshoot as well - The new signal ::edge-overshot is emitted when the scrolled window is fully overshot - Scrollbars will be overlayed as narrow indicators when there is no mouse * Deprecations: - gdk_window_set_static_gravities - gdk_window_set_composited - gtk_style_context_get_background_color - gtk_style_context_get_border_color - gtk_settings_set_string/long/double_property - gtk_settings_install_property Plus many bug fixes and translation updates. For full details see: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.16.3
2014-10-07Update gtk3 to 3.14.1prlw11-3/+3
Highlights from release notes: * GtkMisc::xalign has been undeprecated for now, it is still needed * GtkIconView - Always draw cell background - Fix handling of prelight items * GtkWindow - Fix growing nautilus windows * Theming: - Use sass functions more - Theme .app-notification instead of .app-notification.frame - Lots of button fine-tuning - Avoid double background rendering in tooltips - Much faster blur implementation for shadows - Support symbolic, recolorable pngs - Many improvements in details - Style .needs-attention in GtkStackSwitcher - Adwaita is much more complete - Shadows, reliefs and frames in GtkScrolledWindow, GtkViewport, GtkButton, GtkEntry, GtkFrame, etc are now translated to style classes and themed - Use client-side shadows for menus and tooltips - Include the Adwaita theme - The default theme is now Adwaita - Icon loading now respects limits specified in the icon theme, unless GTK_ICON_LOOKUP_FORCE_SIZE is set - Don't include image content in icon caches, to avoid huge caches - GtkSwitch gained a hover state - Use outlines to render focus rings - Use icons to render spinners, expanders and arrows - GtkIconTheme can force symbolic or regular icon variants - GtkIconTheme will automatically load rtl icon variants * Inspector: - Show widget allocations - Show hidden windows - Fix initial state of dark switch - Show some widget states and buildable ids - Add GtkTreeSelection to object tree - Add an easy way to change the font - Can change hi-dpi scale on the fly - Can simulate touchscreen at runtime - Shows style properties - Ctrl-Shift-I selects the widget under the pointer - Property editors show property and settings bindings - Support saving custom CSS - Show GMenus and GActions - Show combobox menus and submenus - Lower the inspector window when picking - Misc. navigation improvements * Show widget state and other misc. info * Wayland: - Implement Drag-and-Drop - Use subsurfaces for entry completion popups - Use subsurfaces for tooltips - Support newer protocol versions - Fix repaint artifacts - Update xdg-shell - Always use CSD under Wayland - Avoid a crash on pointer-less systems - Context menus work now - Support GNOME classic mode - Update to the latest xdg-shell protocol - Updates for xdg_shell protocol changes - Touch support * To align better with css, button and menuitem subclasses now use a :checked state to indicate their checkedness, instead of :active or :selected. * Deprecations, removals: - GtkStatusIcon, GtkThemingEngine - GtkWindow no longer supports resize grips - builtin icons have been deprecated in favor of loading icons from resources - Style regions - Support for .icon files - gdk_window_flush, drawing outside of begin/end paint - GdkColor - GtkMisc - GtkArrow - focus-line-width style property - GtkNumerableIcon - GtkButton::x/yalign - gtk_widget_reparent - gtk_widget_region_intersect - gtk_container_set_reallocate_redraws * GtkFileChooser - Fix editing of bookmarks - Use symbolic icons in the path bar - received some design improvements * GtkTextView - Add a vfunc to allow subclasses to draw above/below text * GtkImage - Support scale factor when loading from resources * Windows: - Fix handling of input shapes - Support font scaling - Dialog theming fixes - Several crash fixes - Fix icon theme loading - *Many* theme improvements - Add popover theming - Enable introspection - Theme improvements * CSS: - Selectors can now match state pseudo classes on all elements - Support outline-radius in CSS - Implement 'unset' and 'all' - Support -gtk-icontheme - Support -gtk-icon-source - Add -gtk-icon-transform, supporting the 2D parts of CSS transforms - Support -gtk-icon-style * GtkListBox: - Rows now have a selectable property and will be styled accordingly - GtkListBox can now do multi-selection * GtkApplication: - gtk_application_prefers_app_menu is a new function to facility adapting UIs to platform expectations - GtkApplication now tries to load menus from resources in the resource path that is defined by GApplication - GtkApplication set up a resource path for loading icons as well * GtkScrolledWindow: - Scrolling in response to user input (scrollbar clicks, keynav) is now animated - The displacement animation has been replaced edge gradients * GtkScaleButton: - The orientation is now changed on the fly to make the popup fit into small windows * GtkEntry: - Activity mode progress is now smooth * Client-side decorations - The default button layout includes minimize and maximize again - Dialogs are no longer using client-side decorations when use-header-bar is unset * GTK+ now ships a simple icon theme browser, gtk3-icon-browser * Gestures: - Convert most widgets to use gestures internally * Widget factory: - Improve coverage of GTK+ features * Interactive debugging support. The GtkInspector window can be triggered with the Ctrl-Shift-I or Ctrl-Shift-D keyboard shortcuts, or via the GTK_DEBUG environment variable. * Gesture support has landed. New classes include GtkGestureLongPress, GtkGestureMultiPress, GtkGestureSwipe, GtkGesturePan, GtkGestureRotate, GtkGestureZoom. Many GTK+ widgets already use gestures internally. Gestures also show up in GtkInspector. The gesture-related APIs are still subject to change. * GTK+ widgets can now draw outside their allocation, by setting a clip with gtk_widget_set_clip(). The clip-related APIs are still subject to change. * GtkStack has added a few more transition types * GtkProgressBar is now narrower * GtkSwitch has a way to delay state changes * GtkMenuButton is using a popover for menu models by default * GtkPopover can have horizontal sections * GtkBuilder - Supports property binding - Supports dialog actions * Client-side decorations - The requirement for _GTK_FRAME_EXTENTS has been dropped to avoid 'double headers' with most window managers - Drawing of DND highlights around the entire window works * Broadway backend - Now builds on OpenBSD * Many bug fixes * Translation updates For full details see: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.14.1
2014-09-08Add another comment.wiz1-1/+3
2014-09-08Add comments to patches.wiz4-5/+11
2014-09-08Update gtk3 to 3.12.2prlw12-21/+6
Highlights from changes: * GtkPopover: A new widget that is can be used for transient views, as an alternative to menus or dialogs. - GtkMenuButton can use popovers instead of menus * Client-side decorations: - Make F10 move focus to the header bar - Make header bars draggable on touch systems - Make shadows unclickable * Printing: Google cloud print support * GtkActionBar is a new widget that is meant to be used for actions at the bottom of a window. * GtkAppChooserDialog has been redesigned * GtkBox can now place a widget centered, regardless of the sizes of children on either side, similar to GtkHeaderBar. * Dialogs: - Dialogs have been modernized, can use a header bar now - Built-in dialogs react to a setting, gtk-dialogs-use-header for this, dialogs derived from GtkDialog: default to no headerbar - GtkAssistant also respects the setting * OS X: - Better menu integration. Items such as 'Hide', 'Hide Others' and 'Show All' are now handled specially - GTK+ provides a default application menu now * Theming: - GTK+ now uses RGBA visuals by default - Notebook tabs now support a prelight state - Reorderable notebook tabs can be themed differently * GtkActionBar: A new container, which has a centered child like GtkHeaderBar. It can be used in places where header bar theming is not suitable * GtkAppChooser: The online support has been simplified and modernized * GtkHeaderBar button theming has been changed to be more flexible. There is now a gtk-decoraton-layout setting and a decoration-layout property. * Accessibility: - Links in labels are now accessible - Model-based menus are accessible - Accessible roles of several widgets have been fixed - GtkColorChooser accessibility is improved * Theming: The Raleigh theme has been updated for several new features, including client-side decorations * Model-based menus now support a hidden-when attribute on items that allows them to be hidden on various conditions * New notebook tab styling: GtkNotebook now offers a way for themes to opt out of the tab rendering, with the 'has-tab-gap' style property. The Adwaita theme is using this to achieve a more modern tab appearance. * GtkFlowBox: A container that its children in a reflowing grid, which can be oriented horizontally or vertically. It is similar to GtkListBox in that the children can be sorted and filtered, and by requiring a dedicated child widget type, GtkFlowBoxChild. It is similar to GtkTreeView in that is supports a full set of selection modes, including rubberband selection. * GtkStack: children can now indicate that they require attention by setting the needs-attention child property. * Broadway now requires binary array buffers and modern WebSocket protocol support * Autoscrolling in range widgets has been improved to work more reliably in maximized windows. * GtkSpinner has been changed to render in in a limited set of sizes. * GtkApplication now stores and handles accelerators for GActions itself. * GtkIconTheme now falls back to the gnome icontheme to fix problems with the availability of symbolic icons in other icon themes. * GTK+ respects the deprecated gtk-button-images and gtk-menu-images settings again. For full details see: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.12.2
2014-03-31buildlink3.mk: gtk3-atk-bridge is only valid for x11adam1-2/+2
2014-02-13Add missing return value. Fixes compilation with clang.wiz1-0/+15
2013-12-08Update gtk3 to 3.10.6prlw12-19/+8
This is causing problems (3.9.6 to 3.9.8): * We've started deprecating GtkStock apis. These apis will continue working until GTK+ 4, so there is no need to rush to replace them. For more information, see https://mail.gnome.org/archives/gtk-devel-list/2013-July/msg00000.html Wholly deprecated as part of this effort: GtkIconFactory, GtkIconSet, GtkIconSource, GtkImageMenuItem, GtkAction, GtkUIManager Other highlights: * Theme support - Always fall back to 'gnome' icon theme in addition to 'hicolor' - Respect deprecated gtk-button-images setting - Respect deprecated gtk-menu-images setting * Accessibility improvements - Add accessible names to csd window buttons - Mark GtkLinkButton as visited when appropriate - Add a GtkListBoxRow accessible * GtkLabel can now ellipsize just the last line, ellipsized in multi-line labels. * GtkInfoBar now uses a GtkRevealer internally to slide in place. It is no longer necessary to do that manually. * GtkHeaderBar can now add a window close button * The fine adjustment mode for scrolling has been revamped to be easier discoverable, and visual feedback and autoscrolling has been added. * GtkIconTheme now supports 2x scaled icons for hi-dpi displays. * The Wayland and X11 clipboard implementations can now coexist * GtkInfoBar updates - Turn action area horizontal - Fix spacing - Add an easy way to add a close button * Documentation - Modernize many screenshots - Redo the widget gallery - Improve 'Getting Started' tutorial - Add new application examples to tutorial * Deprecations: tear-off menuitems, gtk-button-images, gtk-show-unicode-menu, gtk-show-input-method-menu, gtk-enable-mnemonics, gtk-auto-mnemonics, gtk-color-palette, gtk-can-change-accels, cursor blink settings, gtk-fallback-icon-theme, gtk-scrolled-window-placement, menu popup delay settings, gtk-menu-bar-accel, keynav tweaks, gtk-touchscreen-mode, gtk-icon-sizes, im style tweaks, gtk-file-chooser-backend, gtk-enable-tooltips, gtk-visible-focus, tooltip timeout tweaks, toolbar style tweaks * Initial support for scaled output (on high-dpi screens) has been added. While this can be built with cairo 1.12, it needs a cairo branch to work. Support for this has been added to the Wayland, OS X and Windows backends. * GtkListBox: - handle double-clicks properly - add an example in gtk3-demo * GtkSearchBar: a toolbar that will popup automatically when searches should be started, and dismissed when they are finished * GtkListBox a vertical container that can sort and filter its children * GtkStack has gained position dependent transitions (left-right and up-down) * The Broadway GDK backend can be built on Windows now * The GDK initialization code has been refactored. GdkDisplayManager is no longer backend-specific. * The symbol exporting functionality has been refactored. We no longer use .symbols files, and instead rely on explicit header annotations for every exported symbol. the abicheck scripts are no longer used. * The GDK drawing and scrolling has been simplified. We no longer use XCopyArea for scrolling, instead an offscreen cache is used. There is a new debug flag, GTK_DEBUG=pixel-cache for this. * Window sizing issues have been addressed. * Implement height-for-width for GtkEventBox and GtkCheckButton * Custom titlebars can now be set from GtkBuilder files * Optionally install tests, when configured with --enable-installed-tests. To run these tests, gnome-desktop-testing-runner can be used. * Native input methods are supported on OS X now. Many bug fixes and translation updates. For full details see: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.10.6
2013-05-18Update gtk3 to version 3.8.2prlw12-37/+39
Rename patch-gtk_a11y_gail.c to patch-gtk_a11y_gtkaccessibility.c Many improvements, bug fixes and translation updates: https://git.gnome.org/browse/gtk+/tree/NEWS?id=3.8.2 Highlights: * Deprecations and removals: - Custom CSS properties have been deprecated - Support for color schemes has been removed - gtk_style_provider_get_style, gtk_style_provider_get_icon_factory - GtkGradient and GtkSymbolicColor - All the padding style properties in menus * CSS improvements: - Add cycle detection to color resolving * A lot of filechooser button fixes * The print dialog now shows printers that are discovered using avahi, if configured with --enable-avahi-browsing * We now support the Window Manager frame synchronization protocol draft (when running under a WM that supports it). This means applications will throttle their drawing cycle to what the compositor is drawing, and the compositor will never render half-updated windows, for seamless resizing and improved smoothness in drawing. See https://mail.gnome.org/archives/wm-spec-list/2013-January/msg00000.html and the articles at http://blog.fishsoup.net/ for more details. * We now support setting an opacity to any GtkWidget, not just toplevels: gtk_window_set_opacity has been deprecated in favor of gtk_widget_set_opacity. * GtkIconTheme gained asynchronous loaders for GtkIconInfo objects * GtkIconInfo has changed from being a boxed type to a GObject. This is technically an ABI change, but basically all existing code will keep working if its used as a boxed type, and its not possible to instantiate GtkIconInfos outside Gtk, so this is not expected to be a big problem. * GtkTreeView and GtkIconView allow single-click activation * GtkImage can be set from a resource * GdkWaylandDisplay is now public * gdk_window_set_fullscreen_mode: new function to let windows be fullscreened across multiple monitors * We now use state flags for text direction: GTK_STATE_FLAG_LTR/RTL. gtk_style_context_set_direction() has been deprecated. * We install headers for accessible implementations of GTK+ widgets. This makes it possible to implement accessibility for third-party widgets by subclassing the proper GTK+ implementation. To do this, include gtk/gtk-a11y.h. * Invisible widgets now return a size of 0x0. This is an experimental change that makes GtkWidget::visible essentially behave the same way that "display: none" does in CSS. If you want the effect of CSS's "visibility: hidden", you can use a GtkNotebook with an empty page. * GtkFrame now draws a background. * The Broadway backend now installs a separate server: broadwayd. * GtkBuilder now lets you refer to external objects from a ui file if the objects have been exported with the new function gtk_builder_expose_object() * Font handling has been improved: - The default font is no longer handled like a custom style sheet that overrides everything, but as the initial value. This is the same behavior as in web browsers. - It is now possible to set font-family and font-size like other CSS properties, and relative font sizes are supported. Font sizes in CSS can be specified as numbers or with keywords like xx-small, medium, smaller, larger,... * GTK+ now uses proper Unicode ellipses in strings.
2013-05-11Make atk-bridge an option (default enabled) for x11/gtk3.riastradh4-0/+112
2013-03-12Since libXi-1.7 there are header problems between it and Xfixes-5.0.wiz1-0/+15
This is hacky workaround.
2012-10-18Update gtk3 to 3.6.1prlw14-78/+0
* The accessibility bridge code that exports accessible objects on the bus is now used by default; atk-bridge has been converted into a library that GTK+ links against. To void the linking, pass --without-atk-bridge when configuring GTK+. * GDK threading support has been deprecated. It is recommended to use g_idle_add(), g_main_context_invoke() and similar funtions to make all GTK+ calls from the main thread. * GTK+ now follows the XDG Base Directory specification for user configuration and data files. In detail, * $XDG_CONFIG_HOME/gtk-3.0/custom-papers is the new location for $HOME/.gtk-custom-papers * $XDG_CONFIG_HOME/gtk-3.0/bookmarks is the new location for $HOME/.gtk-bookmarks * $XDG_DATA_HOME/themes is preferred over $HOME/.themes * $XDG_DATA_HOME/icons is preferred over $HOME/.icons. Existing files from the old location will still be read if the new location does not exist. * $HOME/.gtk-3.0 is no longer in the default module load path. If you want to load modules from there, add it to the GTK_PATH environment variable.
2012-07-24update to 3.4.4drochner1-6/+6
changes: -bugfixes -translation updates
2012-04-30update to 3.4.1drochner1-0/+13
This is a new major release.
2012-03-21Don't override an existing _XOPEN_SOURCE definition. Define it on SunOShans1-0/+14
to make this build with std=gnu99.
2012-02-03update to 3.2.3drochner2-8/+26
This switches to the 3.2 release branch. Thanks to Patrick Welche for testing.
2011-04-08update to 3.0.8drochner1-47/+2
changes: -theming related improvements -bugfixes -translation updates
2011-03-18first cut on a pkg for gtk3, the successor of the gtk2 toolkit:drochner3-0/+91
add gtk3-3.0.3