New API in gtkmm 2.24:
Gtk:
* ComboBox and ComboBoxText now have a has-entry property, so
ComboBoxEntry and ComboBoxEntryText are deprecated.
* Range: Added get/set_round_digits()
Gdk:
* DragContext: Added drag_begin().
* Window: Added get_visual(), get_screen() and get_display().
This switches to the gnome-2.32 release branch.
(recursive PKGREV bump needed due to the new atkmm dependency -- we
ride on the revbump due to png which covers everything depending on gtk2)
* Documentation: Added main page text at index.html.
Changes 2.20.2:
* Documentation: Strip out the gobject-introspection annotations, and use
other improvements made to docextract_to_xml.py
Changes 2.20.1:
Gtk:
* RecentAction: Fix the constructor that takes a RecentManager.
* TreeRowReference::get_model(): Correct the reference counting.
checking for GDKMM... configure: error: Package requirements (giomm-2.4 >= 2.22 pangomm-1.4 >= 2.26 gtk+-2.0 >= 2.18) were not met:
Requested 'pangomm-1.4 >= 2.26' but version of Pangomm is 2.24.0
(2.24.0 doesn't provide needed pangommconfig.h.)
While here remove now-irrelevant comment from buildlink3.mk.
* Reintroduce accidentally removed API methods Gtk::Widget::can_default()
and Gtk::Widget::can_focus().
* Include infobar.h from main gtkmm.h header.
Changes 2.18.1:
* RecentManager: Undeprecate get_default().
Changes 2.18.0:
* Clipboard: wait_for_targets): Fix a crash.
Build:
* Require a recent pangomm.
* Style: Fix a compiler error with the Intel C++ compiler.
* Fix recently-introduced problems with disable-deprecated options.
But if pangomm is already installed and good enough then
newer glibmm wouldn't be brought in. So also explicitly
include the glibmm buildlink here too.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2.16.0 (stable):
Gtk:
* Builder:
- get_widget_derived(): Reference-counting correction.
- create_from_file(), add_from_file(), create_from_string(),
add_from_string(): Add method overloads that take a char* for the object
ID, to avoid ambiguity with the two other overloads that take ustring or
StringArrayHandle.
* Entry:
- *_icon_* methods(): Rearrange parameters to make these consistent and
so we can have more default parameter values.
- Added icon_press and icon_release signals.
* FileChooserButton: Added the file_set signal, noticed by Damon Register.
* Stock: Added CAPS_LOCK_WARNING.
* Style: Added get_style_property_value() and templated get_style_property().
* Added Orientable and Activatable interfaces, though they cannot be used yet
because that would break ABI of existing classes.
(Murray Cumming)
Gdk:
* PixbufAnimation: create_from_file(): Throw an exception when the GError is
not null. (Murray Cumming)
Maemo-specific API:
* TextBuffer: get/set_rich_text_format(), set_rich_text_format_all(),
get/set_can_paste_rich_text(): Remove these Maemo-specific methods which have
been superseded by the generic TextBuffer serialization functions.
(Daniel Elstner, Openismus)
* Enums
- Added Maemo-specific Gtk::HildonSizeType, wrapping HildonSizeType,
which was inexplicably added to GTK+ in Maemo 5.
- Likewise added Gtk::Hildon::InputMode, wrapping HildonGtkInputMode.
(Daniel Elstner, Openismus)
2.15.5 (unstable):
(2.15.4 was skipped)
* Activatable: reset_vfunc() renamed to sync_action_properties_vfunc().
(Murray Cumming)
* Builder:
- create_from_file(), add_from_file(), create_from_string(): Add method
overloads that take char* to avoid ambiguity.
- get_widget_derived(): Correct reference-counting.
(Murray Cumming)
* FileChooserButton: Add file_set signal.
(Murray Cumming)
* Stock: Added CAPS_LOCK_WARNING.
* Added interfaces, but we can't use them yet without breaking ABI:
Activatable, Orientation.
2.15.3 (unstable):
(2.15.2 was skipped)
Gtk:
* Action: Reimplemented set_tooltip() with the new C
gtk_action_set_tooltip() function. Added get/set_label(),
get/set_short_label(), get_tooltip(), get/set_stock_id(),
get/set_gicon(), get/set_icon_name(), get/set_visible_horizontal(),
get/set_visible_vertical(), get/set_is_important(), which are new
accessors for the properties. Added the gicon property.
Added block_activate() and unblock_activate().
* ImageMenuItem: Added get/set_always_show_image() and property.
* Scale: Added add_mark() and clear_marks().
* TreeView: Added a get_path_at_pos() overload that takes less parameters.
(Murray Cumming)
Build:
* Allow pangomm to build outside the source tree.
(Theppitak Karoonboonyanan) Bug #570325
* MSVC++: Disabled compiler warning 4250 also for MSVC2005.
(Armin Burgmeier) Bug #568083 (Tao Wang).
* Documentation:
Reference documetnation: Unescape some < and > characters.
(Daniel Elstner, Murray Cumming) #568485 (Mihai Niculescu)
2.15.1 (unstable):
Gtk:
* CellView: Added get_model() and some new properties.
* Entry: Added unset_invisible_char(), get_invisible_char().
Added the new progress and icon methods and the properties,
including the new im-module property.
* ImageMenuItem: Added get/set_use_stock(), set_accel_group().
* MenuItem: Added get/set_label(), get/set_use_underline() and properties.
* PaperSize: Constructor: Remove the default value for the name parameter,
because there is already a default constructor,
This caused MSVC++ warning C4520 with Visual Studio 2008.
(Tao Wang) Bug #568074.
* PrintOperation: Added draw_page_finish(), set_defer_drawing().
* PrintSettings: Added get_resolution_x(), get_resolution_y(),
set_resolution_xy(), get/set_printer_lpi().
* SelectionData: Reimplement get_selection() using the new C getter method.
* StatusIcon: Added button_press_event, button_release_event and scroll_event
signals. Added get/set_has_tooltip(), get/set_tooltip_text(),
get/set_tooltip_markup().
* Stock: ORIENTATION_PORTRAIT, ORIENTATION_LANDSCAPE,
ORIENTATION_REVERSE_LANDSCAPE, and ORIENTATION_REVERSE_PORTRAIT,
avoiding undefined reference errors when trying to use these.
(Murray Cumming) Bug #568416 (Tao Wang).
* TextBuffer: Added the paste_done signal.
* TextView: Added im-module property.
* TreeModel::Path::empty(): Also check for a null underlying
GtkTreePath. Added operator bool() to do the same, just calling !empty().
(Murray Cumming)
Gdk:
* Drawable::draw_pixbuf(): Add an override without a GC parameter, becauase it
can be NULL in C.
* Screen: Added get_monitor_width_mm(), get_monitor_height_mm(),
get_monitor_plug_name().
* Windows build:
- Disabled MSVC++ compiler warning 4250
(Armin Burgmeier) Bug #568083 (Tao Wang).
- Installer: Added Simplified Chinese translation. (Tao Wang)
2.15.0 (unstable):
* CellRendererPixbuf: Added the icon-name and follow-state
properties, noticed by Mathias Hasselmann.
(Murray Cumming)
* Printer::enumerate_printers(): Fix a refcounting problem found by Tor Krill.
(Armin Burgmeier)
* Gdk::Window: Added an invalidate() that takes no rect
parameter because it can be NULL in C.
(Murray Cumming)
* Cleaned up gtk includes to use only toplevel headers, as may be required by
a future GTK+ version.
(Przemysław Grzegorczyk) Bug #564006
* Container: Use GType instead of GtkType for the child_type_vfunc() return type
This should allow soure code to use gtkmm if it declares GTK_DISABLE_DEPRECATED.
(Murray Cumming) Bug #562893 (Dénes Faluvégi)
* Documentation:
TreeModel: set_value_impl() documentation: Mention row_changed(),
not set_row_changed(). Bug #562505 (Bohumir Zamecnik)
* HandleBox: Restore the child-attached property, which was lost at some point
during 2.14.
* LinkButton: Resore the visited property definition, which was lost at some
point during 2.14.
(Murray Cumming)
* CellView, ComboBox, EntryCompletion, IconView: Added unset_model().
(Alexander Shaduri) Bug #555268
2.14.3 (stable):
* Restored Gtk::HandleBox::signal_child_attached() and
Gtk::LinkButton::property_visited() to the API, which were lost
sometime during the gtkmm 2.14.x series.
2.14.2 (stable):
* Remove some ;s to avoid warnings.
Ubuntu Bug: https://bugs.launchpad.net/bugs/275397 (William)
(Murray Cumming)
* Windows build:
- Use the new naming convention, similar to boost.
- installer-creation script improvements.
(Armin Burgmeier)
* Documentation:
- EntryCompletion: signal_match_selected: Mention that custom signal handlers
should connect before the default one.
(Marko Anastasov)
- TreeView reference documentation corrections.
(Murray Cumming) Bug #547787 (John Hobbs)
- Corrected the index page for DevHelp.
(Deng Xiyue) Bug #559900
* UIManager: add_ui_from_string():
Fix a problem with use of non-ASCII text in UI markup.
* TreeModel::Path (TreePath):
TreePath(In pbegin, In pend) constructor:
Initialize gobject_ to avoid a crash.
Changes 2.12.6:
* Container: Avoid a useless warning about remove() with custom containers.
* Build: Fixed a warning from g++ 4.3.
* Documentation: Correct the debian/Ubuntu package name.
* Documentation:
- Show stock icon images in the API reference again.
- Show some pictures of widgets in the API reference.
* Build:
- Fix header inclusion and use using directive for C functions to
fix build on gcc-4.3 (pre-releases) and Solaris.
- Install and find all needed files for gtkmm-demo, and correct the
executable name.
* Gtk::RecentAction: Derive from RecentChooser - this class was
unusable before and we didn't want to wait for the next
major GTK+ and gtkmm versions to fix it.
* Build fix with gcc 4.3 pre-releases.
* Documentation: Improved the devhelp file to
- show the full method name, including the class name.
- really jump to the method's anchor on the page.
* Build: Fix the win32 build.
Changes 2.12.2:
* IconView: set_cursor(): Actually implement this.
* LinkButton: Correct the implementation of the
constructor that takes just the URI. Bug 492200
* Build: Fix the build on MacOS X. Bug 493057.
* PrintOperation: Corrected a reference-counting problem that caused
crashes.
Changes 2.12:
* New classes: Builder, RecentAction, Tooltip, VolumeButton.
* Deprecated the Tooltips class.
* More...
* TextBuffer: Removed the maemo-specific methods
get_can_paste_rich_text(), set_can_paste_rich_text(),
set_rich_text_format(), and set_rich_text_format_all(), because they have
been removed from the maemo GTK+ 2.10, in favour of the new regular GTK+ 2.10
methods.
* Build: Fix the tests when properties are disabled.
* Documentation:
- FileChooser API reference improvements.
- Improved cflags/libs section.
* RadioAction: Correct a reference-counting error in the "changed" signal.
* RecentManager: Allow Gtk::RecentManager::Data to be instantiated, for use with
the full version of add_item().
* Menu: Fix memory problems during destruction by handling attached widgets as
we already handle child widgets.
* Correctly ifdef-out initialization of deprecated classes.
* Build: Cope with newer m4 versions.
* Documentation:
FAQ: Emphasize that libglademm is preferred to glademm.
* ActionGroup::add(): Avoid a problem on 64-bit systems due to 0/NULL confusion.
* Documentation:
- Updated the Internationalization chapter.
- Added appendix about Visual Studio 2005.
* Main: Cleanup data structures in the destructor, preventing leaks, and allowing
a second instantiation.
* Build: Fix build with SUN Workshop 11
* Documentation:
- glade/libglade tutorial section: Clarification.
- Added SizeGroup documentation.
* Gdk::Drawable::create_cairo_context(),
Gtk::PrintContext::get_cairo_context(),
Gtk::PrintJob::get_surface(): Fix memory leak caused by doing
an extra reference.
* UIManager: Fix crash when built without exceptions support.
* Style: lookup_icon_set(): Memory-management correction.
* Build:
- Windows: Do not check for gtk+-unix-print-2.0 on as it is not
always included in GTK installers and/or binary archives (like in Tor's binaries).
* Adjustment: Preventing the value from being ignored.
* Build:
- ListViewText:
Fix an odd build problem with gcc 3.3.6.
* Documentation:
- Explain the optional (at build-time) API for
reduced resources environments.
- Correct the links to the Memory Management and libglademm chapters.
- Drawable::get_image(), Container::remove(), Widget::add_mnemonic_label:
avoid mentioning a functions that do not exist in gtkmm.
* Added --enable-atk=no option, to disable the build and use
of the atkmm API, for use in embedded environments.
* Documentation:
- Book: Added Plug and Socket chapter to book, with example.
Changes 2.10.1:
* Button: fix typo in get_image_position()
* Added MSVC support for 2.10
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
* Fixed regressions from 2.9.1 and 2.8.6:
- Regenerated with latest glibmm to fix several empty methods.
- ActionGroup:add(): Fix crash in alternate property get.
- Gdk::PixbufLoader: Correct the vfunc sequence to avoid the ABI break.
* Table: Fix crash in Table_Helpers::TableList.erase().