--- - branch: MAIN date: Wed Feb 7 18:23:53 UTC 2024 files: - new: '1.10' old: '1.9' path: pkgsrc/x11/gtkmm4/Makefile pathrev: pkgsrc/x11/gtkmm4/Makefile@1.10 type: modified - new: '1.2' old: '1.1' path: pkgsrc/x11/gtkmm4/PLIST pathrev: pkgsrc/x11/gtkmm4/PLIST@1.2 type: modified - new: '1.4' old: '1.3' path: pkgsrc/x11/gtkmm4/distinfo pathrev: pkgsrc/x11/gtkmm4/distinfo@1.4 type: modified - new: '0' old: '1.1' path: pkgsrc/x11/gtkmm4/patches/patch-meson.build pathrev: pkgsrc/x11/gtkmm4/patches/patch-meson.build@0 type: deleted id: 20240207T182353Z.baae640c86a22297f0015b98519c2e08ce250bdd log: | gtkmm4: update to 4.12.0. 4.12.0 (stable): Gtk: * AboutDialog: Deprecate ctor with use_header_bar. (Daniel Boles) Merge request !74 * Add SymbolicPaintable. * Add ScrollInfo and enum ListScrollFlags. * ColumnView, GridView, ListView, Viewport: Add scroll_to(). * ColumnViewRow, ListItem: Add set/get/property_accessible_description() and set/get/property_accessible_label(). * DropDown: Add set/get/property_header_factory() and set/get/property_search_match_mode(). * FileLauncher: Add set/get/property_always_ask(). * Window: Add is_suspended() and property_suspened(). (Kjell Ahlstedt) Documentation: * Remove README.SUN and other obsolete files (Kjell Ahlstedt) Issue #140 * Gtk::Widget: Describe managed and non-managed widgets (Kjell Ahlstedt) Issue #138 (Daniel Boles) Build: * recentinfo.hg: Fix Visual Studio build (Chun-wei Fan) Merge request !75 * Require gtk4 >= 4.12.0 (Kjell Ahlstedt) 4.11.3 (unstable): Gdk: * Pixbuf: Deprecate the create() method taking a Cairo::Surface. (Kjell Ahlstedt) Gtk: * Snapshot: Add some #includes. (Kjell Ahlstedt) Issue #137 (Daniel Boles) * Image: Deprecate the set() method taking a Pixbuf. * Notebook: Wrap the object returned from get_pages() in a SelectionListModelImpl (like Stack::get_pages()). * Picture: Deprecate set_pixbuf(). * ColumnView: Add set/get/property_header_factory(). * CssProvider: Deprecate load_from_data(). Add load_from_string() and load_from_bytes(). (Kjell Ahlstedt) Documentation: * Group some classes in the new ListView group and note that all classes in the TreeView group are deprecated. (Kjell Ahlstedt) Build: * Require gtk4 >= 4.11.3 (Kjell Ahlstedt) 4.11.2 (unstable): Gdk: * GLTexture: Deprecate create(). * Add GLTextureBuilder. (Kjell Ahlstedt) Gtk: * Box, BoxLayout: Add set/get/property_baseline_child(). * Button: Add set/get/property_can_shrink(). * CenterBox, CenterLayout: Add set/get/property_shrink_center_last(). * GLArea: Deprecate set/get/property_use_es(). Add set/get/property_allowed_apis(), get/property_api(). * Add ListHeader, SectionModel. * ListView: Add set/get/property_header_factory(). * MenuButton: Add set/get/property_can_shrink(). * SortListModel: Add set/get/property_section_sorter(). * Widget: Deprecate get_allocation(), get_allocated_width/height/baseline(). Add get_baseline(). (Kjell Ahlstedt) Build: * MSVC build: Mark GTKMM_API for the Entry class (Chun-wei Fan) Merge request !73 * Require gtk4 >= 4.11.2 (Kjell Ahlstedt) 4.11.1 (unstable): Gdk and Gtk: * Use callback functions with C linkage. (Kjell Ahlstedt) Issue glibmm#1 (Murray Cumming) Gdk: * Add Gdk::Graphene::Point, Rect and Size. They wrap the corresponding classes in the Graphene library. (Kjell Ahlstedt) * Add class DragSurfaceSize. * DragSurface: Add signal_compute_size(). * Surface: Add get/property_scale(). Deprecate create_similar_surface(). (Kjell Ahlstedt) Gtk: * Snapshot: Add push_repeat(), push_clip(), append_cairo(), append_texture(), append_color() with Gdk::Graphene::Rect. Deprecate other push_clip(), push_clip(), append_cairo(), append_texture(), append_color() overloads. Add translate(). * Widget: Add compute_bounds() and compute_point(). Deprecate translate_coordinates(). (Kjell Ahlstedt) * Add classes ColumnViewCell and ColumnViewRow. * ColumnView: Add set/get/property_tab_behavior() and set/get/property_row_factory(). * Add enum ListTabBehavior. * FlowBox and ListBox: Add remove_all(). * GridView and ListView: Add set/get/property_tab_behavior(). * ListItem: Add set/get/property_focusable(). (Kjell Ahlstedt) Build: * Require gtk4 >= 4.11.1 (Kjell Ahlstedt) 4.10.0 (stable): Gdk: * Add TextureDownloader * Add enum MemoryFormat, identical to MemoryTexture::Format * Texture: Add get_format() (Kjell Ahlstedt) Gtk: * VolumeButton: Deprecated * ProgressBar: Deprecate property_ellipsize() (Kjell Ahlstedt) * FileDialog: open_multiple_finish() and select_multiple_folders_finish() return std::vector> instead of Glib::RefPtr. FileChooser: Deprecate get_files() and get_shortcut_folders(). Add get_files2() and get_shortcut_folders2(). (Kjell Ahlstedt) Issue #132 * FileDialog: Make open[_finish](), select_folder[_finish](), save[_finish](), open_multiple[_finish](), select_multiple_folders[_finish]() non-const. * FontDialog: Make choose_family[_finish]() and choose_face[_finish]() non-const. * Accessible: Add set_accessible_parent(), update_next_accessible_sibling() * MenuButton: Add set/get/property_active(). * ScaleButton: Add get/property_active(). * SearchEntry: Add set/get_placeholder_text(). (Kjell Ahlstedt) Tests: * Add filedialog test (Kjell Ahlstedt) Build: * Require gtk4 >= 4.10.0 (Kjell Ahlstedt) 4.9.3 (unstable): Gdk: * Display: Deprecate get_startup_notification_id(). * Monitor: Add get/property_description(). (Kjell Ahlstedt) Gtk: * Deprecated classes: Assistant, AssistantPage, LockButton, Statusbar * Gesture: Deprecate set_sequence_state(). * Accessible: Add enum Accessible::PlatformState. Add get_at_context(), get_platform_state(), get_accessible_parent(), get_bounds(), get_first_accessible_child(), get_next_accessible_sibling(). * Add ATContext and UriLauncher. (Kjell Ahlstedt) Documentation: * Gtk::Image, Picture, StringList, StringObject: Improve class descriptions (Kjell Ahlstedt) Build: * Require gtk4 >= 4.9.3 (Kjell Ahlstedt) 4.9.2 (unstable): Gdk: * Display: Deprecate notify_startup_complete() and put_event(). (Kjell Ahlstedt) Gtk: * Widget: Deprecate show() and hide(). (Use set_visible().) * Add FileLauncher. * CenterBox: Add property_[start|center|end]_widget(). * FileDialog: Rename get/set/property_current_filter() to get/set/property_default_filter(). Rename get/set/property_current_folder() to get/set/property_initial_folder(). Add get/set/property_initial_name(), get/set/property_initial_file(), get/set/property_accept_label(). Remove current_file parameter from open(), current_folder parameter from select_folder(). Delete get/set/property_shortcut_folders(). * GestureStylus: Add get/set/property_stylus_only(). * TreeExpander: Add get/set/property_indent_for_depth() and get/set/property_hide_expander(). * ToggleButton: Deprecate toggled(). (Kjell Ahlstedt) Build: * Require gtk4 >= 4.9.2 (Kjell Ahlstedt) * Meson build: Fix the evaluation of is_git_build on Windows (Kjell Ahlstedt) Issue #131 (William Roy) 4.9.1 (unstable): Gtk: * Deprecate about 50 classes: AppChooser, AppChooserButton, AppChooserDialog, AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, CellRendererProgress, CellRendererSpin, CellRendererSpinner, CellRendererText, CellRendererToggle, CellView, ComboBox, ComboBoxText, EntryCompletion, IconView, ListStore, ListViewText, StyleContext, TreeDragDest, TreeDragSource, TreeIter and other classes in treeiter.hg, TreeModel, TreeModelFilter, TreeModelSort, TreePath, TreeRowReference, TreeSelection, TreeSortable, TreeStore, TreeView, TreeViewColumn, namespace CellRenderer_Generation, namespace TreeView_Private, ColorButton, ColorChooser, ColorChooserDialog, FileChooser, FileChooserDialog, FileChooserNative, FileChooserWidget, FontButton, FontChooser, FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, TreeModelColumnRecord, InfoBar * Deprecate Window::signal_keys_changed() * Add ColumnViewColumn::set/get/property_id(), enum Collation, StringSorter::set/get/property_collation(), Widget::get_color, StyleProvider::add/remove_provider_for_display() * StringList::create(): Add default value (empty vector) to parameter * Add classes AlertDialog, ColorDialog, ColorDialogButton, ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, enums DialogError, FontLevel (Kjell Ahlstedt) Demos: * Don't use deprecated API. Some demo programs have been renamed. (Kjell Ahlstedt) Build: * Meson build: Detect if we build from a git subtree (William Roy) Merge request !72 * Require gtk4 >= 4.9.1 (Kjell Ahlstedt) 4.8.0 (stable): Gtk: * TextView::get_tabs(): Fix a memory leak * Add enum ContentFit * Label: Add set/get/property_tabs() * Picture: Add set/get/property_content_fit() (Kjell Ahlstedt) Demos: * Dialog demo: Add a non-modal dialog (Kjell Ahlstedt) Issue #123 (PBS) Documentation: * Don't translate the preprocessor macro name GDK_MODIFIER_MASK (Kjell Ahlstedt) Issue #124 (PBS) Build: * Require gtk4 >= 4.7.2 (Kjell Ahlstedt) 4.7.1 (unstable): Gdk: * Add enum Gdk::GLApi, deprecate enum Gdk::GLAPI (Kjell Ahlstedt) Issue #113 (PBS) * Add enum ScrollUnit * Event: Add get_scroll_unit() (Kjell Ahlstedt) Gtk: * Allow managed Gtk::Window's (Kjell Ahlstedt) Issue #24 (Daniel Elstner) * Gtk::Object::_release_c_instance(): Unref orphan managed widgets (Kjell Ahlstedt) Issue #115 (PBS) * Entry: Add signal_activate() (Kjell Ahlstedt) Issue #100 (RedDocMD) * Don't derive gtkmm__GtkXxx GTypes from final types (Kjell Ahlstedt) Issue glib#2661 * Application: Only create window on first activate (Andrew Potter) Merge request !70 * CheckButton: Add set/unset/get/property_child() * EventControllerScroll: Add get_unit() * Picture: Deprecate set/get/property_keep_aspect_ratio() * SearchEntry: Add set/get/property_search_delay() * DirectoryList, FilterListModel, FlattenListModel, MultiFilter, MultiSelection, MultiSorter, NoSelection, SelectionFilterModel, ShortcutController, SingleSelection, SliceListModel, SortListModel, TreeListModel: Add property_item_type(), property_n_items() (Kjell Ahlstedt) * ApplicationWindow: Disambiguate activate_action() (Kjell Ahlstedt) Issue #122 (PBS) * Add class Inscription (Kjell Ahlstedt) * Widget: Add signal_destroy() (Baldvin Kovacs) Merge request !71 Documentation: * Gdk::Drag, Gdk::Drop, Gtk::Dialog, Gtk::Widget: Improve class descriptions (Kjell Ahlstedt) Build: * Meson build: Avoid configuration warnings (Kjell Ahlstedt) * Meson build: Fix builds with Vulkan-enabled GTK (Chun-wei Fan) Merge request !68 * Require gtk4 >= 4.7.1 (Kjell Ahlstedt) 4.6.1 (stable): Gdk: * Surface::signal_render(): Fix ref count of Cairo::Region (Baldvin Kovacs) Merge request !66 * enum GLAPI: Partially fix name clash with epoxy/gl.h A complete fix requires new API; will have to wait until gtkmm 4.8 (Kjell Ahlstedt) Issue #113 (PBS) Gtk: * Application::make_window_and_run(): Delay the deletion of Window (Kjell Ahlstedt) Issue #114 (PBS) Build with Meson: * Don't use deprecated execute(..., gui_app: ...) Require meson >= 0.56.0 (Kjell Ahlstedt) Issue #111 * Check if Perl is required for building documentation (Kjell Ahlstedt) 4.6.0 (stable): Gdk: * Deprecate Gdk::Cairo::draw_from_gl(). * Display: Add create_gl_context(). * Texture: Add create_from_filename(), create_from_bytes(), save_to_png_bytes(), save_to_tiff(), save_to_tiff_bytes(). * GLContext: Deprecate set_use_es() and unset_use_es(). Add set/get/property_allowed_apis() and get/property_api(). (Kjell Ahlstedt) Gtk: * DropDown: Add set/get/property_show_arrow(). * FlowBox: Add prepend(), append(). * Label: Add set/get/property_natural_wrap_mode(). * MenuButton: Add set/unset/get/property_child(). * Settings: Add property_gtk_hint_font_metrics(). * TextChildAnchor: Add create(replacement_character). * TextTag: Add properties line_height(), text_transform(), word(), sentence(), line_height_set(), text_transform_set(), word_set(), sentence_set(). * TreeExpander: Add set/get/property_indent_for_icon(). * Window: Add property_titlebar(). (Kjell Ahlstedt) Documentation: * Gtk::Object: Change deprecated `pack_start` to `append`. (LI Daobing) Merge request !65 Build: * MSVC build: Support Visual Studio 2022. NMake Makefiles: Fix header installation. (Chun-wei Fan) * Require pangomm-2.48 >= 2.50.0, gtk4 >= 4.6.0 (Kjell Ahlstedt) 4.4.0 (stable): Gdk: * PixbufAnimation: Add create_from_stream(), create_from_stream_async(), create_from_stream_finish(), create_from_resource(). (Kjell Ahlstedt) * ContentFormats: Add parse(). Display: Add prepare_gl(). GLContext: Deprecate get/property_shared_context(). Add is_shared(). (Kjell Ahlstedt) Gtk: * Add EventControllerLegacy. (BogDan Vatra) Merge request !64 * DropDown::get_selected_item(), ListItem::get_item(), SingleSelection::get_selected_item(), TreeExpander::get_item(), TreeListRow::get_item(): Don't try to dynamic_cast the return value to Glib::Object. It fails if the object has been constructed as an interface. (Kjell Ahlstedt) * Fixed the const versions of Assistant::get_page(), NoteBook::get_page() and Stack::get_page(). Fixed MediaControls::set_media_stream() and Video::set_media_stream(). (Kjell Ahlstedt) * Application, Window: Swap inclusions. Include window.h in application.h instead of application.h in window.h. === Note === This will affect compilation of code that uses Application without including gtkmm/application.h. (Kjell Ahlstedt) * DropTarget: Deprecate get/property_drop(). Add get/property_current_drop(). FileFilter: Add add_suffix(). MediaStream: Deprecate prepared(), unprepared() and ended(). Add stream_prepared(), stream_unprepared() and stream_ended(). MenuButton: Add set/get/property_always_show_arrow() and set/get/property_primary(). TextView: Add set/get_rtl_context() and set/get_ltr_context(). (Kjell Ahlstedt) Demos: * Images, SizeGroup, ListStore and TreeStore demos: Minor fixes. (Kjell Ahlstedt) * Add Add ColumnView demo. (Kjell Ahlstedt) Build: * Require gtk4 >= 4.4.0. (Kjell Ahlstedt) module: pkgsrc subject: 'CVS commit: pkgsrc/x11/gtkmm4' unixtime: '1707330233' user: wiz