2.10.7: 2007-01-25 Murray Cumming * gtk/src/main.ccg: Destructor: Call the cleanup functions, instead of calling init again. This seems to be a copy/paste error from April 2003. Bug #383340 from Christopher Raine. 2007-01-20 Murray Cumming * docs/index.html: Add a Google search, restricted to the gtkmm documentation. 2007-01-12 Marko Anastasov * gtk/src/printoperation.ccg: Specify a template specialization for Glib::unwrap() to avoid ambiguities detected and reported as errors in Sun Workshop on OpenSolaris. Bug #395572 from Tim Mooney. 2006-12-21 Murray Cumming * docs/tutorial/gtkmm-tut.xml: libglade with derived widgets: Add more explanation about the BaseObjectType typedef. Patch from Martin Nordholts in bug #387708. 2006-12-11 Murray Cumming * gtk/src/sizegroup.hg: Added class documentation. 2.10.6: 2006-11-28 Murray Cumming * gdk/src/drawable.hg: create_cairo_context(): Specify true to the Cairo::Context constructor because we have a starting reference. This should prevent a leak an extra reference. * gtk/src/printcontext.hg: get_cairo_context(): * gtk/src/printjob.hg: get_surface(): Pass false to the Cairo constructor, because we do not receive a reference, and do not use refreturn(). Previously we did two references were one was needed. 2.10.5: 2006-11-24 Johannes Schmid * gtk/src/uimanager.ccg: Fixed a crasher in error handling when exceptions are disabled 2006-11-24 Murray Cumming * docs/tutorial/gtkmm-tut.xml: UIManager: Added notes about which parts are human-readable and which parts are just IDs, with a suggestion about what part to mark for translation. 2006-11-23 Nate Nielsen * gtk/src/style.ccg: * gtk/src/style.hg: lookup_icon_set(): Hand-code this method, so we can copy the result of gtk_style_lookup_icon_set(), because it does not give us a new instance. Bug #374094 2006-11-22 Cedric Gustin * configure.in: Do not pkgconfig check gtk+-unix-print-2.0 on win32, as gtk+-unix-print-2.0.pc is not always included in GTK+ installers and/or binary archives (like in Tor's binaries). Bug #371882 from Alexis Wilke. 2.10.4: 2006-11-21 Rémi Cardona * configure.in: * gtk/gtkmm-2.4.pc.in: Define a GTKMM_PC_ATKMM_DEP conditional and use it so that atkmm is only required when it is built, and not when disbaled via --enable-api-atkmm=no. Bug #366930 from John N. Laliberte. 2006-11-14 Murray Cumming * configure.in: * gtk/gtkmmconfig.h.in: * scripts/reduced.m4: Added --enable-api-maemo-extensions configure option, default to false, defining the GTKMM_MAEMO_EXTENSIONS_ENABLED macro. * gtk/src/textbuffer.hg: * gtk/src/textbuffer.ccg: Put the Maemo-specific API in ifdefs, using the optional _WRAP_METHOD() parameter. 2006-11-20 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Optional API appendix: Use the tag. 2006-11-14 Daniel Elstner * autogen.sh: Wholly replace this script with a critter from one of my personal projects, with slight modifications. This one does some sophisticated stuff like probing version numbers of available automake and aclocal executables, in order to choose the right one accordingly. All this is necessary to make the build system work robustly in custom environments such as Maemo where automake-1.9 doesn't come preinstalled. While we're at it, kill some old cruft such as the check for GNU make. This test was kind of pointless as the $MAKE variable was never exported. Also get rid of the --enable-warnings=hardcore magic; this just doesn't belong here and could cause unnecessary trouble to non-developers. 2006-11-13 Murray Cumming * docs/reference/Doxyfile.in: Add missing PREDEFINES so that we build documentation only for the normal API. 2006-11-12 Ralf Stephan * gdk/src/drawable.hg: Add comment paragraph about using cairo. 2006-11-10 Murray Cumming * configure.in: * tests/Makefile.am: * tests/main.cc: Add new test, with commented-out test for an alternative API that I will add to glibmm. 2.10.3: 2006-11-08 Murray Cumming * gtk/src/adjustment.ccg: * gtk/src/adjustment.hg: Hand-code the constructor so that we can provide the g_object_new() properties in a non-standard order, so that the value is not ignored. This is what gtk_adjustment_new() does too. Bug #369335 from Daniel Holbach, via Vincent Levesque in the Ubuntu Launchpad bug-tracker. 2006-10-11 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Added an appendix describing the optional API for reduced resources devices, and the corresponding ifdefable macros. 2006-10-11 Murray Cumming * gdk/src/gdk_docs_override.xml: Provide a corrected version of the Drawable::get_image() method, to avoid mentioning a function that does not exist in gtkmm. Bug #358268 from Evgeny Rippi. 2006-10-10 Murray Cumming * gtk/src/gtk_docs_override.xml: Correct the documentation for gtk_container_remove() and gtk_widget_add_mnemonic_label() to avoid mention of non-existant destroy signal and destroy() method. Thanks to Nickolai Dobrynin for pointing this out. 2006-10-10 Murray Cumming * docs/index.html: Correct the links to the Memory Management and libglademm chapters. 2006-10-02 Murray Cumming * gtk/gtkmm/listviewtext.cc: get_column_title(): Use "" instead of Glib::ustring() in g_return_val_if_fail() to fix an odd build problem with gcc 3.3.6. Bug #352226. (Thomas Zajic) 2006-10-01 Murray Cumming * Makefile.am: * docs/FAQ/Makefile.am: * docs/Makefile.am: * docs/Makefile_web.am_fragment: * docs/images/Makefile.am: * docs/reference/Makefile.am: * docs/tutorial/Makefile.am: * examples/Makefile.am: Upload to the new hoster instead of to sourceforge. Abstracted the host and path names into docs/Makefile_web.am_fragment to avoid duplication. 2.10.2: 2006-09-21 Jonathon Jongsma * examples/book/socket/Makefile.am: remove source file dependency on a non-existent file. This was part of an earlier example, but I simplified the example and removed this file so that it would be easier to understand, but forgot to remove it from the Makefile.am 2006-09-19 Johannes Schmid * scripts/reduced.m4: Added GTKMM_ARG_ENABLE_API_ATKMM() to add the --enable-api-atkmm configure option. * configure.in: Use GTKMM_ARG_ENABLE_API_ATKMM, and optionally use the atkmm subdirectory (and its children). * gtk/gtkmmconfig.h.in: undef GTKMM_ATKMM_ENABLED so that it will be defined (or not) in gtkmmconfig.h. * Makefile.am: Optinally build in the atkmm directory.. * demos/Makefile.am: * demos/gtk-demo/Makefile.am: * examples/Makefile.am_fragment: * tests/Makefile.am_fragment: * gtk/gtkmm/Makefile.am: Make linking and including of atkmm optional. * gtk/src/main.ccg: Only call Atk::wrap_init() if atkmm is enabled. * gtk/src/widget.hg: Only derive from (and implement) Atk::Implementor if atkmm is enabled. get_accessible(): * gtk/src/combobox.hg: get_popup_accessible(): Use the extra ifdef GTKMM_ATKMM_ENABLED option to put ifdefs around this API, so that it will not be built if we do not have atkmm. Note that this needs the latest glibmm. 2006-09-19 Jonathon Jongsma * configure.in, docs/tutorial/figures/Makefile.am, docs/tutorial/figures/socket-fail.png, docs/tutorial/figures/socket.png, docs/tutorial/gtkmm-tut.xml, examples/book/Makefile.am, examples/book/socket/.cvsignore, examples/book/socket/Makefile.am, examples/book/socket/plug.cc, examples/book/socket/socket.cc: added new chapter to the tutorial on Gtk::Plug and Gtk::Socket, including a simple example program and a couple of screenshots. 2006-08-23 Jonathon Jongsma * configure.in: re-enabled --disable-demos configure option. It was disabled due to a bit of stupidity on my part. 2.10.1: 2006-08-21 Jonathon Jongsma * NEWS: update for 2.10.1 release 2006-08-21 Jonathon Jongsma * gtk/src/button.hg: fix a typo in the new API for Gtk::Button::get_image_position() (was set_image_position()). Fixes bug number 352088. * configure.in: bumped revision to 2.10.1 for new release, disabled configuration switch for disabling demos because it was breaking 'make distcheck' and I couldn't get it figured out in time for a release. For now it will just always build the demos. 2006-08-21 Cedric Gustin * MSVC_Net2003/*.vcproj, MSVC_Net2003/gtkmm.sln: Updated for gtkmm-2.10. * MSVC_Net2003/examples/printing/*: Added printing example. * gtk/src/Makefile_list_of_hg.am_fragment: Moved pagesetupunixdialog.hg, printer.hg, printjob.hg and printunixdialog.hg to files_posix_hg. * gtk/src/pagesetupunixdialog.hg, gtk/src/printer.hg, gtk/src/printjob.hg, gtk/src/printunixdialog.hg: Tag classes with _GTKMMPROC_WIN32_NO_WRAP as they are not supported on win32. * configure.in: Added MSVC project file for printing example to AC_CONFIG_FILES list. Added pangocairo to the list of packages checked by PKG_CHECK_MODULES (required for building DLLs on win32). 2.10.0: 2006-08-17 Murray Cumming * configure.in: Correct the needed cairomm version. * gdk/gdkmm/general.h: Add documentation for Cairo::rectangle() and Cairo::region(). * gtk/src/scrolledwindow.hg: get_[v|h]scrollbar(): Do not use refreturn, because they are widgets, not just refcountable objects. 2006-08-17 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: Fix tutorial to include code for the simple printing example 2006-08-16 Marko Anastasov * examples/book/printing/advanced/examplewindow.cc: * examples/book/printing/advanced/examplewindow.h: Bind pointers to RefPtrs of PrintFormOperation. This solves the issue of PFOs having unnecessarily increased refcount and makes them deleted as soon as they're completed. Removed on_printoperation_preview_done() as the settings stay in the print dialog anyway. * examples/book/printing/advanced/main.cc: Deleted a commented line. * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Explained the use of m_SpinAdjustment. * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: Uncommented the code for custom tab in print dialog. Within on_create_custom_widget(), use Gtk::manage() for the main vbox too. Removed signal_preview_done. Also removed the g_debugs and reformatted some lines in all files. 2006-08-15 Murray Cumming * configure.in: Require the latest cairomm (0.7.0), which we apparently need. 2006-08-11 Marko Anastasov * gtk/src/pagesetup.hg * gtk/src/pagesetupunixdialog.hg * gtk/src/printcontext.hg: * gtk/src/printer.hg: * gtk/src/printoperation.hg: * gtk/src/printunixdialog.hg: * gtk/src/recentchooser.hg: * gtk/src/recentchooserdialog.hg: * gtk/src/recentchoosermenu.hg: * gtk/src/recentchooserwidget.hg: * gtk/src/recentfilter.hg: * gtk/src/recentinfo.hg: * gtk/src/recentmanager.hg: Added or updated from C docs. * gtk/src/printoperationpreview.hg: Removed a TODO about ready and got_page_size signals. 2006-08-11 Marko Anastasov * docs/tutorial/figures/Makefile.am: * docs/tutorial/figures/printing.png: Added a screenshot of the main window of the printing example(s). * docs/tutorial/gtkmm-tut.xml: Minor changes to the printing chapter: fixed end_print() explanation, mentioning of the advanced example and the title of the example figure. 2.9.10: 2006-08-05 Johannes Schmid * docs/tutorial/gtkmm-tut.xml: Utility is called enum.pl not enums.pl (#350028) 2006-08-03 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Store the print context as a member variable instead of using sigc::bind to use it in on_drawing_area_realized(). Null the print context and preview refptrs when we call end_preview(), because we have stopped using them, and maybe we should not be keeping their objects alive. 2006-08-03 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: * examples/book/printing/advanced/printformoperation.cc: Don't pass page_count as a ctor parameter but access it directly via m_pOperation when needed. It's also incorrect the first way because it has not yet been determined at the point of PreviewDialog's construction. Added an Adjustment to use it with the spin button in PreviewDialog so that spinning within multiple pages actually works. 2006-08-03 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: Added forgotten call to hide() in on_close_clicked(). 2006-08-03 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Added on_hide(), so that we call PrintOperationPreview's end_preview() on window manager's close action too. 2006-08-02 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: Constructor: Improve the packing of the widgets. on_popreview_got_page_size(): Add a comment to explain. 2006-08-02 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: Constructor: Initialize m_DpiX and m_DpiY, as noticed by valgrind. Connect to signals here instead of later, so we do not risk connecting more than once. on_drawing_area_realized(): Check gdk_window is not null before using it. on_popreview_got_page_size(): Check that drawing_area is realized before trying to get its allocation. Possibly not necessary. Check the pango layout is not null before using it. * examples/book/printing/advanced/printformoperation.cc: on_draw_page(): Check that the print context and pango layout are not null before using them. * examples/book/printing/advanced/printformoperation.h: Connect to the hide signal of the dialog instead of delete_event(). 2006-08-02 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Rename the signal handlers so it is is bit clearer. Use show_all_children() instead of show_all() so that the caller can decided when to show the window. * examples/book/printing/advanced/printformoperation.cc: Use show(), and set the dialog pointer to 0 after deleting it. 2006-08-02 Armin Burgmeier * gtk/src/fontbutton.hg: Renamed constructor argument to font_name for gmmproc to produce the correct property name. 2006-08-02 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: Further efforts to fix #347857. See comment #14. * gtk/src/pagesetup.hg: Removed some commented conversions for PaperSize which haven't been used ever since convert_gtk.m4 contains the necessary. * gtk/src/printoperationpreview.hg: Fixed the conversion for PrintContext which takes a reference and fixes some of the problems in the bug. Uncommented ready and got_page_size signals. * tools/m4/convert_gtk.m4: Made both conversions for PaperSize (C to Cpp) take a reference. Removed two unnecessary conversions for PrintContext. 2006-08-01 Jonathon Jongsma * docs/tutorial/figures/Makefile.am: * docs/tutorial/figures/recentchooserdialog.png: * docs/tutorial/gtkmm-tut.xml: added a screenshot of the RecentChooserDialog and a bit of additional explanation to the example 2006-08-01 Murray Cumming * gtk/src/recentchooser.ccg: * gtk/src/recentchooser.hg: * gtk/src/recentinfo.ccg: * gtk/src/recentinfo.hg: * gtk/src/recentmanager.ccg: * gtk/src/recentmanager.hg: Move RecentInfoTraits into recentinfo.hg, and use it for RecentManager::get_items() as well as the existing RecentChooser::get_items(). 2006-07-30 Murray Cumming * gtk/src/recentchooser.ccg: * gtk/src/recentchooser.hg: * gtk/src/recentinfo.hg: * gtk/src/recentmanager.hg: Use RecentInfo via RefPtr always. * tools/m4/convert_gtk.m4: 2006-07-27 Murray Cumming * docs/index.html: Linked to the wiki page. 20c06-07-26 Murray Cumming * gtk/src/recentinfo.hg: Use _CLASS_OPAQUE_REFCOUNTED instead of _CLASS_OPAQUE_COPYABLE(), because this struct has ref/unref instead of copy/free. This causes the reference() and unreference() methods to generated. * examples/book/printing/advanced/printformoperation.cc: Wrapping C libraries section: Correct the _CLASS_OPAQUE_COPYABLE section and mention _CLASS_OPAQUE_REFCOUNTED. 2006-07-25 Jonathon Jongsma * examples/book/recent_files/examplewindow.cc: * examples/book/recent_files/examplewindow.h: Fix recent files example so that it actually pops up a dialog when you select the recent files menu item. Also added _mnemonics to menu items for easy keyboard navigation :) 2006-07-25 Murray Cumming * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: Uncomment out the on_preview() override again, and add an if that shows that m_refLayout is null, because on on_begin_print() has never been called. 2006-07-25 Murray Cumming * examples/book/printing/advanced/examplewindow.cc: * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: * examples/book/printing/simple/examplewindow.cc: Made the two examples more like each other, so that it is more obvious what is causing the crash, though I commented out the crashing override, with a comment. 2006-07-24 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: Added preliminary chapter on using the new recent files API (RecentManager, RecentChooser, etc). I really think that the recent_files example could use some simplification, but I haven't tackled that at all yet. I'm going to leave out any UIManager / Recent files integration for now since it seems like it will be a big manual hack until GtkRecentAction gets introduced in GTK+ 2.12 * examples/book/recent_files/Makefile.am: renamed the executable name that seemed to be a copy-paste error and was rather confusing 2.9.9: 2006-07-24 Murray Cumming * configure.in: Depend on glibmm 2.11.3 so that the new defines are available for the (default) --enable-api-default-signal-handlers=yes case. * gtk/src/printcontext.hg: * gtk/src/printer.hg: * gtk/src/printjob.hg: * gtk/src/printoperation.hg: * gtk/src/printoperationpreview.hg: * gtk/src/printsettings.hg: * gtk/src/printunixdialog.hg: Use our special newin2p10 doxygen keyword. 2006-07-24 Murray Cumming * gtk/src/widget.hg: Moved the new composited_changed signal to the bottom because that is where I like them, and because adding virtual methods in the middle of other virtual methods changes the offsets of existing virtual methods, breaking ABI. Also, used no_default_signal, to avoid even having a virtual method, which would increase the object size, breaking ABI. I have made this mistake before. This should fix bug #348241. 2006-07-23 Jonathon Jongsma * gtk/src/recentmanager.hg: change API to use overloaded functions instead of different function names. RecentManager::add_full() was changed to RecentManager::add_item() per discussion on mailing list. 2006-07-20 Marko Anastasov * gtk/src/printoperation.hg: Added the forgotten refreturn for get_print_settings(), which fixes a part of #347857. 2006-07-20 Marko Anastasov * examples/book/printing/advanced/examplewindow.h: * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/simple/printformoperation.cc: Replaced calls to pango_cairo_* functions with their wrappers; removed some unnecessary comments. 2006-07-20 Marko Anastasov * gtk/src/widget.hg: Fixed a typo for input_shape_combine_mask(), to wrap the right GTK method. 2006-07-19 Murray Cumming * gtk/src/container.ccg: * gtk/src/entrycompletion.ccg: * gtk/src/entrycompletion.hg: * gtk/src/widget.ccg: Put custom default signal handlers in #ifdefs so that gtkmm builds when --enable-api-default-signal-handlers was used with glibmm. 2006-07-19 Murray Cumming * gtk/src/spinbutton.hg: Wrap the new wrapped signal, without a default handler because that would break ABI. 2006-07-18 Jonathon Jongsma * examples/*: reverted changes to includes in example programs 2.9.8: 2006-07-18 Murray Cumming * gtk/src/textbuffer.ccg: * gtk/src/textbuffer.hg: Wrapped some of the functions from gtktextbufferrichtext.h, but left some of it commented-out while I discover how it should work, to avoid creating a bad API that we can not change later. 2006-07-10 Jonathon Jongsma * gtk/src/widget.ccg: * gtk/src/widget.hg: wrapped is_composited(), composited_changed signal, input_shape_combine_mask(), unset_input_shape_combine_mask() 2006-07-16 Murray Cumming * docs/index.html: Update links, because inserting the printing chapter increased subsequent chapter numbers. * docs/tutorial/gtkmm-tut.xml: Wrapping C libraries: Mentioned _WRAP_ENUM(). * gtk/src/togglebutton.ccg: * gtk/src/togglebutton.hg: Added a constructor that takes a stock item, like Button already has. 2006-07-13 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Minor corrections to the language in the new printing chapter. 2006-07-13 Murray Cumming * docs/tutorial/gtkmm-tut.xml: gmmproc appendix: Corrected the description of the _DEFS() macro, and mention not to include C headers in C++ headers. 2006-07-12 Marko Anastasov * docs/tutorial/gtkmm-tut.xml: Added a chapter about printing. 2006-07-12 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Added an appendix about wrapping C libraries with gmmproc, including the various things you need to change when copying an existing project. 2006-07-10 Jonathon Jongsma * docs/index.html: update to match the style of the new website a bit * docs/tutorial/style.css: change the style of the tutorial slightly to match the website style. These are just minor tweaks. Ideally I think they should both get a bit more of an overhaul. 2006-07-09 Jonathon Jongsma * .cvsignore: add a whole bunch of files to .cvsignore 2006-07-09 Jonathon Jongsma * examples/*: Don't include if possible. Modified all examples to only include the headers that they absolutely need. Hopefully this speeds up compilation at least slightly and reduces the amount of recompilation needed for examples due to unrelated changes. 2006-07-08 Marko Anastasov * examples/book/printing/simple/examplewindow.cc: * examples/book/printing/simple/main.cc: * examples/book/printing/simple/printformoperation.cc: Minor code cleanup to fit the tutorial. 2006-07-08 Murray Cumming * gtk/src/entrycompletion.hg: * gtk/src/iconview.hg: * gtk/src/treeviewcolumn.hg: Added TODOs to mention new bases clases (interfaces that these GTypes now implement) that we may not add as base classes without breaking C++ ABI. 2006-07-08 Murray Cumming * gtk/src/printoperationpreview.hg: Commented-out the signals, with a TODO, for now because they seem to cause a crash when viewing the preview. 2006-07-08 Murray Cumming * gtk/src/printoperation.hg: Derive from, and implement, PrintOperationPreview, so that the dynamic_cast in the Glib::wrap() in on_preview() can succeed. * examples/book/printing/advanced/examplewindow.cc: * examples/book/printing/simple/examplewindow.cc: Do not set a window border width. It looks odd, and it is not normal to have a border around the menu. 2006-07-08 Murray Cumming * examples/book/printing/advanced/Makefile.am: * examples/book/printing/simple/Makefile.am: Rename the executable to example, to match the other examples. 2006-07-07 Marko Anastasov * configure.in * examples/book/printing/Makefile.am: Split the printing example into "simple" and "advanced". * examples/book/printing/advanced/: * examples/book/printing/advanced/Makefile.am: * examples/book/printing/advanced/examplewindow.cc: * examples/book/printing/advanced/examplewindow.h: * examples/book/printing/advanced/main.cc: * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: Advanced example meant to demonstrate how to extend the print dialog and create a custom preview dialog. * examples/book/printing/simple: * examples/book/printing/simple/Makefile.am: * examples/book/printing/simple/examplewindow.cc: * examples/book/printing/simple/examplewindow.h: * examples/book/printing/simple/main.cc: * examples/book/printing/simple/printformoperation.cc: * examples/book/printing/simple/printformoperation.h: Printing API example showing the essential work, relying on the external viewer program (previewing still needs more work). 2006-07-07 Murray Cumming * gtk/src/pagesetup.hg: * gtk/src/papersize.hg: * gtk/src/printer.hg: * gtk/src/printjob.hg: * gtk/src/printoperationpreview.hg: * gtk/src/printsettings.hg: Added class documentation, based on the C documentation. * gtk/src/printoperation.ccg: * gtk/src/printoperation.hg: custom_widget_appl signal: Pass the widget by pointer, in case the C developers ever decide that it may be null. SlotPrintSetupDone: Pass a _const_ RefPtr. run_page_setup_dialog_async(), run_page_setup_dialog(): Pass _const_ PageSetup and PrintSettings, because I think the function does not change them. * examples/book/printing/examplewindow.cc: * examples/book/printing/examplewindow.h: * examples/book/printing/previewdialog.cc: * examples/book/printing/previewdialog.h: * examples/book/printing/printformoperation.cc: * examples/book/printing/printformoperation.h: Some renaming and comments and TODOs. 2006-07-07 Murray Cumming * configure.in: Remove the mention of examples/printing, because it is in examples/book/printing instead. 2006-07-06 Marko Anastasov * configure.in * examples/book/Makefile.am: Include the printing example. * examples/book/printing/ * examples/book/printing/Makefile.am: * examples/book/printing/examplewindow.cc: * examples/book/printing/examplewindow.h: * examples/book/printing/main.cc: * examples/book/printing/previewdialog.cc: * examples/book/printing/previewdialog.h: * examples/book/printing/printformoperation.cc: * examples/book/printing/printformoperation.h: New files - example of the printing API. Previewing is not finished. 2.9.7: 2006-07-05 Marko Anastasov * demos/gtk-demo/example_change_display.cc: * pango/src/tabarray.ccg: Fix the build by preventing warnings with small workarounds. * gtk/src/gtk_signals.defs: Restored defs for PrintOperationPreview. * gtk/src/printcontext.hg: Removed a TODO for ctor - it's always exposed through PrintOperation's signals. 2006-07-05 Murray Cumming * gtk/src/gtk_signals.defs: Restored Printer and PrintJob defs. 2006-07-05 Murray Cumming * gtk/src/gtk_signals.defs: Restored the Print*Unix stuff. 2006-07-05 Murray Cumming * gtk/src/scrolledwindow.hg: Reimplemented get_h/vscrollbar() with the new methods in GTK+. * gtk/src/selectiondata.ccg: * gtk/src/selectiondata.hg: Added targets_include_rich_text(). * gtk/src/sizegroup.hg: Added get/set_ignore_hidden(). * gtk/src/statusicon.hg: Added size_changed signal. * gtk/src/gtk_signals.defs: Regenerated. * gtk/src/notebook.hg: Added page_reordered, page_removed, and page_added signals. 2006-07-05 Murray Cumming * gtk/src/printoperation.hg: Wrap the preview signal, using PrintOperationPreview via RefPtr, which might be appropriate. The refcounting might need examination. 2006-07-05 Murray Cumming * gtk/src/printoperation.hg: Commented-out the preview signal for now, because the conversion is bad/wrong, and it is difficult to do, because gmmproc assumes that we want to deal with the interface via RefPtr. 2006-06-30 Marko Anastasov * gtk/src/printoperation.hg: Added a default value of PRINT_OPERATION_ACTION_PRINT_DIALOG to the version of run() without std::auto_ptr. 2006-06-25 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: add links to gtkmm_hello and gnomemm_hello programs. Patch from Gezim Hoxha (fixes #345894) 2006-06-25 Marko Anastasov * docs/tutorial/gtkmm-tut.xml: Fixed the sentence explaining disconnect() in the Timeouts chapter. #345848 from Gezim Hoxha. 2006-06-24 Marko Anastasov * gtk/src/printcontext.hg: Renamed the const function get_cairo() to get_cairo_context(), to match the original. 2006-06-24 Marko Anastasov * docs/tutorial/gtkmm-tut.xml: Typo correction in the Clipboard chapter by Gezim Hoxha. 2.9.6: 2006-06-21 Murray Cumming * gtk/src/printjob.ccg: * gtk/src/printjob.hg: send_job(): This no longer throws an exception, because the C function no longer takes a GError*. * gtk/src/statusicon.ccg: * gtk/src/statusicon.hg: get_geometry(): Compilation fixes. 2006-06-21 Murray Cumming * gtk/src/label.hg: Added get/set_line_wrap_mode() and property. * gtk/src/menushell.hg: Added get/set_take_focus() and property. * gtk/src/printsettings.ccg: * gtk/src/printsettings.hg: Put the standard settings in a member class as static const Glib::ustrings, initialized in the .cpp file. * gtk/src/statusicon.ccg: * gtk/src/statusicon.hg: Added get_geometry(). 2006-06-21 Marko Anastasov * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/printer.ccg: * gtk/src/printer.hg: Wrapped get_job_count() which was accidentaly in the ignore list. New function: enumerate_printers(). 2006-06-21 Murray Cumming * gtk/src/printunixdialog.ccg: Add the Gtk:: prefix for Label, to fix the build, and include the label.h header. 2006-06-20 Murray Cumming * gtk/src/printoperation.hg: Include the C header in the private/*.h file, so that it can use the enum. * gtk/src/printsettings.hg: Remove PRINT_SETTINGS_PRINT_TO_FILE. We really need to make this more like the Stock IDs. 2006-06-20 Murray Cumming * gtk/src/gtk_enums.defs: Updated with enums.pl * gtk/src/messagedialog.hg: Added set_image() and property. * gtk/src/printoperation.hg: Do not include gtkprintoperation.h. preview signal: Pass parent window as pointer, in case it is null. * gtk/src/printoperationpreview.hg: Signals: Do not use no_default_handler, because this class is new so we do not need to preserver ABI. * gtk/src/printunixdialog.ccg: * gtk/src/printunixdialog.hg: Added add_custom_tab() overload that takes a ustring. * gtk/src/printsettings.hg: Remove get/set_print_to_file(), because the C function was removed from GTK+. * gtk/src/treeview.hg: Correct return type of get_grid_lines(). * tools/m4/convert_gtk.m4: Add conversion for TreeViewGridLines enum. 2006-06-20 Marko Anastasov * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/gtk_signals.defs: Updated the whole section for PrintOperation. Added defs for PrintOperationPreview: ready and got_page_size. Added accepts_pdf ans accepts_ps properties for Printer. * gtk/src/gtk_vfuncs.defs: Added a section for PrintOperationPreview with render_page, end_preview and is_selected. * gtk/src/printer.hg: New functions (properties likewise): accepts_pdf() and accepts_ps(). * gtk/src/printjob.ccg: Include gtktypebuiltins.h. * gtk/src/printjob.hg: New enum: PrintCapabilities. * gtk/src/printoperation.ccg: * gtk/src/printoperation.hg: Added a version of run() without the Window parameter. New signals: done, create_custom_widget, custom_widget_apply, and preview. Renamed properties: number_of_pages and pdf_target. Added n_pages and export_filename instead, and custom_tab_label. * gtk/src/printoperationpreview.ccg: * gtk/src/printoperationpreview.hg: New files. * gtk/gtkmm.h: * gtk/src/Makefile_list_of_hg.am_fragment: Include the new files. * gtk/src/printunixdialog.hg: New functions: add_custom_tab and set_manual_capabilities. * tools/m4/convert_gtk.m4: Added new conversions. 2006-06-19 Murray Cumming * gtk/src/treeview.hg: Added get/set_rubber_banding(), get/set_grid_lines(), get/set_enable_tree_lines(). Added properties for show-expanders, level-indentation, rubber-banding, enable-grid-lines, and enable-tree-lines. 2.9.5: 2006-06-19 Murray Cumming * gtk/src/treeview.ccg: Provide implementation for set_search_position_func(). Bug #344787 from Elijah Newren. 2006-06-19 Elijah Newren * autogen.sh: Turn on -Werror for gcc-4.x too. #345245 2006-06-17 Jonathon Jongsma * gtk/gtkmm/accelmap.cc: add missing initializer (fixes #344788) 2006-06-16 Elijah Newren * gtk/src/recentchooser.hg: release_c_type: fix an unused variable warning. #344786 2006-06-16 Murray Cumming * gtk/src/notebook.ccg: SignalProxy_WindowCreation_gtk_callback: Comment-out unused source parameter and return a value when an exception is caught, to prevent compiler warnings. Bug #344771 from Elijah Newren. 2006-06-13 Jonathon Jongsma * pango/pangomm-1.4.pc.in: add pangocairo dependency (fixes #344802). Thanks to Elijah Newren. 2006-06-13 Jonathon Jongsma * examples/book/treeview/listviewtext/examplewindow.cc: * examples/book/treeview/listviewtext/examplewindow.h: fixed an initialization order error when compiling with -Werror (fixes #344789) 2006-06-13 Murray Cumming * gtk/src/aboutdialog.ccg: set_url_hook(): Pass the slot pointer instead of a pointer to the slot pointer, so that this works again. 2006-06-11 Murray Cumming * gtk/src/assistant.hg: Added update_buttons_state(). * gtk/src/button.hg: Added get/set_image_position() and property. * gtk/src/clipboard.ccg: * gtk/src/clipboard.hg: Added request_rich_text(), wait_for_rich_text(), and wait_rich_text_is_available(). util_convert_atoms_to_strings(): Prevent memory leak of the result of gdk_atom_name(). * gtk/src/entry.hg: Added get/set_inner_border(). 2006-06-10 Murray Cumming * gdk/src/screen.hg: Added get_rgba_visual(), get_rgba_colormap(). * pango/src/context.ccg: * pango/src/context.hg: Added get_matrix(). * pango/src/renderer.ccg: * pango/src/renderer.hg: Added get_matrix(). 2006-06-08 Murray Cumming * examples/book/custom/custom_widget/custom_gtkrc: * examples/book/custom/custom_widget/mywidget.cc: * examples/book/custom/custom_widget/mywidget.h: Make the RC file stuff work - the secret is that the style value is only available when the widget has been realized. However, this only works at the moment when hacking glibmm to change the gtkmm_ prefix to Gtkmm_, due to bug #343012. * gtk/src/notebook.ccg: set_window_creation_hook(): Adapt to the changed GTK+ C API, supplying the destroy notification. * gtk/src/printoperation.hg: Removed set_show_dialog(), set_pdf_target(), set_track_print_status(), run_async(). Added set_export_filename(), set_track_print_status(), set_show_progress(), set_allow_async(), set_custom_tab_label(). This is to match the C API. * pango/src/font.ccg: * pango/src/font.hg: Added describe_with_absolute_size(), get_font_map(). * pango/src/fontdescription.hg: Added set_absolute_size(), get_size_is_absolute(). * pango/src/layout.hg: Added get_font_description(), index_to_line_x(). * tools/m4/convert_pango.m4: Added necessary conversion. 2006-06-07 Murray Cumming * gtk/src/gtk_enums.defs: Updated with enumpl. * gtk/src/gtk_methods.defs: Updated with h2defs.pyt * gtk/src/notebook.ccg: * gtk/src/notebook.hg: Added set_group_id(), get_group_id(), get_tab_reorderable(), set_tab_reorderable(), get_tab_detachable(), set_tab_detachable(). * gtk/src/printcontext.hg: Added set_cairo_context(). * gtk/src/printoperation.hg: run(): Added PrintOperationAction parameter. * tools/m4/convert_gtk.m4: Added necessary conversion. 2.9.4: 2006-06-06 Murray Cumming * gtk/src/gtk_methods.defs: Updated with h2defs.py. 2006-06-05 Murray Cumming * gtk/src/printcontext.hg: get_cairo() renamed to get_cairo_context(), get_fontmap() renamed to get_pango_fontmap(), create_context() renamed to create_pango_context(), create_layout() renamed to create_pango_layout(), to match the changes in GTK+. * gtk/src/printjob.ccg: * gtk/src/printjob.hg: send(): Handle the exception and add the ifdefed alternative for --enable-api-exceptions=no. Comment out get_surface() const, because it does not seem to build with --enable-api-exceptions at the moment. Added a TODO for that. 2006-05-29 Murray Cumming * pango/src/Makefile_list_of_hg.am_fragment: * pango/src/cairofontmap.ccg: * pango/src/cairofontmap.hg: Added wrapper of the CairoFontMap interface. * pango/src/context.ccg: * pango/src/context.hg: Added update_from_cairo_context(), set_cairo_font_options(), set_cairo_font_options(), get_font_options(), set_resolution(), get_resolution(). * pango/src/glyphstring.ccg: * pango/src/glyphstring.hg: Added TODO for pango_cairo_glyph_string_path(). * pango/src/layout.ccg: * pango/src/layout.hg: Added create(Cairo::Context), update_from_cairo_context(), add_to_cairo_context() * pango/src/layoutline.ccg: * pango/src/layoutline.hg: Added show_in_cairo_context(), add_to_cairo_context(). * pango/src/pango_methods.defs: Updated with h2defs.py. * tools/m4/convert_pango.m4: Added necessary conversions. 2006-05-26 Jonathon Jongsma * examples/treemodelcustom/exampletreemodel.cc: remove interface registration statements from constructor of the example custom treemodel which were causing runtime warnings. 2006-05-26 Murray Cumming * examples/book/custom/custom_widget/custom_gtkrc: Add the type prefix in the style block, which is apparently needed, though it still says it is an invalid identifier. * examples/book/custom/custom_widget/mywidget.cc: Use _ instead of - for the style name, in case that is a problem. 2006-05-26 Murray Cumming * docs/reference/Doxyfile.in: In PREDEFINED, set GLIBMM_VFUNCS_ENABLED, GLIBMM_PROPERTIES_ENABLED, and GLIBMM_EXCEPTIONS_ENABLED so that those parts of the API show up in the documentation. * examples/book/custom/custom_widget/custom_gtkrc: * examples/book/custom/custom_widget/mywidget.cc: Attempt (so far unsuccessfully) to show how to make an aspect of a custom widget themable. 2006-05-22 Marko Anastasov * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/gtk_signals.defs: Added paginate signal for PrintOperation. * gtk/src/printer.hg: Ignore gtk_printer_compare. * gtk/src/printjob.hg: Added set/get_track_print_status(). * gtk/src/printoperation.hg: Added set_track_print_status() and cancel() methods, paginate signal. 2006-05-19 Murray Cumming * docs/tutorial/gtkmm-tut.xml: RefPtr appendix: Reword the bit about using an official shared_ptr<>. It would not be that easy. * gtk/src/gtk_docs_override.xml: gtk_table_get_homogenous(). Override because gtk_table_get_homogenous() is for some reason not being automatically changed to get_homongenous(). 2.9.3: 2006-05-18 Murray Cumming * gdk/src/pixbufloader.hg: Add _CONVERSION() needed by write(), now that glibmm actually does the conversion. * gtk/src/editable.hg: Use _VFUNC_H() as we did before the big #ifdef changes. There is no need to stop using it, and it keeps the vfunc order the same as before. 2006-05-16 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: update the appendix of the tutorial about building with jhbuild 2006-05-16 Jonathon Jongsma * docs/tutorial/Makefile.am: fix tutorial stylesheet location so that locally installed documentation can find the stylesheet. Now the locally installed documentation and the published website documentation both install the stylesheet in the same relative location. 2006-05-16 Marko Anastasov * gtk/src/pagesetupunixdialog.ccg: * gtk/src/pagesetupunixdialog.hg: Changed constructor to make parent be the first parameter, and added an overload without it. * gtk/src/printjob.hg: * gtk/src/printoperation.hg: Fix some property wrappers to take RefPtrs when a property is a Glib object. * gtk/src/printunixdialog.ccg: * gtk/src/printunixdialog.hg: Constructor and property changes as above. 2006-05-16 Murray Cumming * gtk/src/actiongroup.ccg: add(): Pass char** instead of char*. 2006-05-16 Murray Cumming * gtk/src/actiongroup.ccg: add(): Use NULL instead of 0 with g_object_get(), to avoid the warning about a missing sentinel. 2006-05-16 Murray Cumming * gtk/src/actiongroup.ccg: add(): Use g_object_get(), not g_object_get_data() to get property data. Fixes a memory corruption crash. This was another regression introduced by the optional API changes. Bug #341895 from Philip Langdale. 2006-05-16 Murray Cumming * gtk/src/pagesetupunixdialog.hg: * gtk/src/printunixdialog.hg: Added TODO comments. * gtk/src/printer.hg: * gtk/src/printjob.hg: set_source_file(): Changed filename parameter from ustring to std::string. * tools/m4/convert_gtk.m4: Remove an unnecessary conversion. 2006-05-16 Marko Anastasov * gtk/src/pagesetupunixdialog.ccg: * gtk/src/pagesetupunixdialog.hg: * gtk/src/printer.ccg: * gtk/src/printer.hg: * gtk/src/printjob.ccg: * gtk/src/printjob.hg: * gtk/src/printunixdialog.ccg: * gtk/src/printunixdialog.hg: New files - Unix printing API. * gtk/src/gtk_signals.defs: Added signal and property defs for new files. * gtk/src/printcontext.hg : Fixed typo for get_cairo() and brought back create_layout(). * gtk/src/Makefile_list_of_hg.am_fragment: * gtk/gtkmm.h: Include new files. * tools/extra_defs_gen/generate_defs_gtk.cc: Added get_defs() calls for new types, but commented because the current gtk.h doesn't include their headers. * tools/m4/convert_gtk.m4: Added conversions for GtkPrinter. 2006-05-16 Paul Davis * gtk/src/table.hg: fix error when trying to remove a widget from a table using Table_Helpers::TableList.erase() (fixes bug #341962) 2006-05-15 Murray Cumming ("name", value) alternatives, so gtkmm still builds when using this. * examples/Makefile.am: Disable build of cellrenderercustom because it needs properties (or too much #ifdefing) 2006-05-10 Murray Cumming * gtk/src/printcontext.hg: Use an #m4 conversion and _WRAP_METHOD() to generate get_cairo() instead of hand-coding it. get_page_setup(), get_fontmap(): Return a const instance from the const overloads. Removed the const overload of create_layout(). If you are creating it then you probably want to change it. * gtk/src/printoperation.hg: Moved signals to the bottom, where we usually put them. set_pdf_target(): Make the filename parameter a std::string, because the encoding of filenames is unknown. 2006-05-08 Marko Anastasov * gtk/src/pagesetup.hg * gtk/src/pagesetup.ccg * gtk/src/papersize.hg * gtk/src/papersize.ccg * gtk/src/printcontext.hg * gtk/src/printcontext.ccg * gtk/src/printoperation.hg * gtk/src/printoperation.ccg * gtk/src/printsettings.hg * gtk/src/printsettings.ccg: New files - the platform-independent part of the printing API. * gtk/src/enums.hg: Added PageOrientation. * gtk/src/Makefile_list_of_hg.am_fragment * gtk/gtkmm.h: Include new files. * tools/m4/convert_pango.m4 * tools/m4/convert_gtk.m4: Added new conversions. * tools/extra_defs_gen/generate_defs_gtk.cc: Added GTK_TYPE_PRINT_OPERATION. * gtk/src/gtk_enums.defs: Regenerated with enums.pl. * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/gtk_signals.defs: Added new properties. * configure.in: Added gtk+-unix-print dependency for upcoming updates. 2006-04-26 Murray Cumming * gtk/src/widget.hg: Added doxygen documentation, marking signal_get_accessible as deprecated, because it is useless. Bug #338437. 2006-04-24 Armin Burgmeier * gtk/src/statusicon.ccg: Return value of StatusIcon::create_from_file was undefined, return created StatusIcon instead. 2006-04-21 Murray Cumming * examples/book/recent_files/.cvsignore: * examples/book/recent_files/Makefile.am: * examples/book/recent_files/examplewindow.cc: * examples/book/recent_files/examplewindow.h: * examples/book/recent_files/main.cc: Added these missing files, to fix the build. * gtk/src/widget.hg: Use deprecated option with the get_accessible keyword, because it should not exist, because it is actually a vfunc, but a quirk of gmmproc means that it was generated even though it is in the .defs file as a vfunc. 2006-04-21 Murray Cumming * gtk/src/treesortable.hg: Correct the documentation for SlotCompare. Bug #339129 from Kevin Daughtridge. 2006-04-20 Murray Cumming * gtk/src/treeview.ccg: Mark treeview_target_row as static, to slightly reduce code size by preventing it from being exported in the ABI. 2006-04-20 Murray Cumming * pango/src/fontset.ccg: Remove unnecessary anonymous namespace. 2006-04-18 Marko Anastasov * gtk/src/cellrendererspin.[hg|ccg]: New file. * gtk/src/Makefile_list_of_hg.am_fragment: Include new hg file. * gtk/gtkmm.h: Include the new header. * gtk/src/recentchooser.ccg: * gtk/src/recentchooser.hg: Fix some typos. 2006-04-18 Armin Burgmeier * gtk/src/cellrenderertext.hg: Change type for ellipsize property from bool to Pango::EllipsizeMode. Also added some new properties. (Note: This is technically a small API break, but a break of something that could not have worked before, and I don't think it's an ABI break Murray.) * gtk/src/gtk_signals.defs: Regenerated to contain the new properties. 2006-04-18 Murray Cumming * gtk/src/filechooser.hg: Correct the signature of the confirm_overwrite signature. This is technically a small API/ABI break, but any use of the signal as it was would have caused crashes and memory corruption, so that's not something that anyone could complain about us not preserving. Bug #338439 from Maxim Udushlivy. 2006-04-14 Murray Cumming * tools/m4/convert_base.m4: Remove this unused file. It is in glibmm already. 2006-04-13 Murray Cumming * gtk/src/recentchooser.ccg: Convert the SignalProxy to the new style that uses static functions instead. 2006-04-12 Armin Burgmeier * gtk/src/recentchooser.hg: * gtk/src/recentchooser.ccg: * gtk/src/recentchooserwidget.hg: * gtk/src/recentchooserwidget.ccg: * gtk/src/recentchoosermenu.hg: * gtk/src/recentchoosermenu.ccg: * gtk/src/recentchooserdialog.hg: * gtk/src/recentchooserdialog.ccg: Wrapped GtkRecentChooser, GtkRecentChooserDialog, GtkRecentChooserMenu and GtkRecentChooserWidget. * tools/m4/convert_gtk.m4: Added new needed conversions. * gtk/gtkmm.h: Include the new headers. * examples/book/recent_files/: The beginning of an example. To complete this we need to be able to use RecentFilesMenu with UIManager. The GTK+ developer is working on this. 2006-04-12 Marko Anastasov * gtk/src/recentinfo.[ccg|hg]: Added new get_applications() and get_groups() functions that don't take length as a parameter but pass NULL to the underlaying GTK+ functions. * tools/m4/convert_gtk.m4: Removed now unnecessary gsize* to unsigned& conversion. 2006-04-12 Murray Cumming * gtk/src/recentfilter.ccg: Fix some typos to fix the build. Use the new non-class SignalProxy callbacks idea. (See below) * atk/src/hyperlink.hg: * atk/src/hypertext.hg: * atk/src/objectaccessible.hg: * atk/src/table.hg: * gdk/src/colormap.hg: * gdk/src/cursor.hg: * gdk/src/display.hg: * gdk/src/displaymanager.hg: * gdk/src/drawable.hg: * gdk/src/event.hg: * gdk/src/gc.hg: * gdk/src/image.hg: * gdk/src/screen.hg: * gdk/src/visual.hg: * gdk/src/window.hg: * gtk/src/aboutdialog.hg: * gtk/src/accellabel.hg: * gtk/src/actiongroup.hg: * gtk/src/assistant.hg: * gtk/src/button.hg: * gtk/src/clipboard.hg: * gtk/src/combobox.hg: * gtk/src/container.hg: * gtk/src/entry.hg: * gtk/src/entrycompletion.hg: * gtk/src/expander.hg: * gtk/src/filechooser.hg: * gtk/src/frame.hg: * gtk/src/iconinfo.hg: * gtk/src/iconsource.hg: * gtk/src/iconview.hg: * gtk/src/image.hg: * gtk/src/imagemenuitem.hg: * gtk/src/invisible.hg: * gtk/src/label.hg: * gtk/src/layout.hg: * gtk/src/menu.hg: * gtk/src/menuitem.hg: * gtk/src/menutoolbutton.hg: * gtk/src/notebook.hg: * gtk/src/optionmenu.hg: * gtk/src/paned.hg: * gtk/src/range.hg: * gtk/src/scale.hg: * gtk/src/scrolledwindow.hg: * gtk/src/selectiondata.hg: * gtk/src/spinbutton.hg: * gtk/src/statusicon.hg: * gtk/src/textbuffer.hg: * gtk/src/textmark.hg: * gtk/src/texttagtable.hg: * gtk/src/textview.hg: * gtk/src/toolbar.hg: * gtk/src/toolbutton.hg: * gtk/src/toolitem.hg: * gtk/src/treemodelfilter.hg: * gtk/src/treemodelsort.hg: * gtk/src/treerowreference.hg: * gtk/src/treeselection.ccg: * gtk/src/treeselection.hg: * gtk/src/treeview.hg: * gtk/src/uimanager.hg: * gtk/src/viewport.hg: * gtk/src/widget.hg: * gtk/src/window.hg: Use the new constversion option with _WRAP_METHOD() to reduce code size a little. 2006-04-07 Murray Cumming * gtk/gtkmm/treeview_private.cc: * gtk/gtkmm/treeview_private.h: * gtk/src/aboutdialog.ccg: * gtk/src/assistant.ccg: * gtk/src/celllayout.ccg: * gtk/src/clipboard.ccg: * gtk/src/combobox.ccg: * gtk/src/entrycompletion.ccg: * gtk/src/filefilter.ccg: * gtk/src/menu.ccg: * gtk/src/texttagtable.ccg: * gtk/src/treemodelfilter.ccg: * gtk/src/treeselection.ccg: * gtk/src/treesortable.ccg: * gtk/src/treeview.ccg: * gtk/src/treeviewcolumn.ccg: For most hand-coded SignalProxy classes, used for set_*func() methods, remove them and just pass a copy of the slot around. The extra indirection is not necessary. Use standalone callback functions, so that they can be static, saving a few bytes on the library size. 2006-04-12 Murray Cumming * gdk/src/pixbuf.ccg: * gdk/src/pixbufloader.ccg: * gtk/src/colorselection.ccg: * gtk/src/container.ccg: * gtk/src/entrycompletion.ccg: * gtk/src/iconview.ccg: * gtk/src/treeiter.ccg: * gtk/src/treemodel.ccg: * gtk/src/treeselection.ccg: * gtk/src/widget.ccg: * pango/src/fontset.ccg: Mark private functions as static, to stop them being exported in the library, to reduce code size slightly. 2006-04-11 Jonathon Jongsma * gtk/src/icontheme.ccg: (IconTheme::get_search_path) fixed a segfault caused by de-referencing a NULL pointer, and also fixed a memory leak by freeing the list of search paths whose storage was allocated by GTK+. Closes bug #337874 and #337875 2006-04-11 Murray Cumming * gtk/src/recentfilter.ccg: * gtk/src/recentfilter.hg: Added constructor for the Info inner class, so that the member variables are initialized. * gtk/src/recentinfo.hg: Split get_icon() into const and non-const overloads. * gtk/src/recentmanager.hg: Added TODO comment for documentation. 2006-04-11 Marko Anastasov * gtk/src/recentfilter.[hg|ccg]: * gtk/src/recentinfo.[hg|ccg]: * gtk/src/recentmanager.[hg|ccg]: * gtk/src/Makefile_list_of_hg.am_fragment: Added new files. * tools/m4/convert_gtk.m4: Add new needed conversions. * gtk/gtkmm.h: include the new headers. 2006-04-11 Murray Cumming * configure.in: * examples/book/treeview/Makefile.am: * examples/book/treeview/modelsort/.cvsignore: * examples/book/treeview/modelsort/Makefile.am: * examples/book/treeview/modelsort/examplewindow.cc: * examples/book/treeview/modelsort/examplewindow.h: * examples/book/treeview/modelsort/main.cc: Added example of independently sorted model, with the TreeModelSort parent model. 2006-04-11 Murray Cumming * gtk/gtkmm/listviewtext.cc: Constructor: Use sprintf() instead of std::stringstream because it is smaller (code size) and faster. 2006-04-07 Cedric Gustin * README.win32: Updated for gtkmm-2.8 (MS Visual Studio 2005). * MSVC_Net2003/*.vcproj: Updated for Visual Studio 2005. Added the /vd2 compiler flag (Bug #158040). * MSVC_Net2003/gtkmm.sln: Updated for Visual Studio 2005. * MSVC_Net2003/gendef/gendef.cc: Redirect output of dumpbin to a file. * build_shared/Makefile_build.am_fragment: Add -DGTKMM_BUILD to the extra_defines compiler flags (switch between dllexport/dllimport on win32). * gtk/src/treeviewcolumn.hg: Tag the TreeViewColumn class with GTKMM_API to avoid auto-import errors with gcc on mingw32/cygwin. Also inline some TreeViewColumn methods. Bug #309030 (Toralf Lund). * gtk/src/object.hg: Tag the Object class with GTKMM_API to make Visual Studio happy. 2006-04-04 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: fixed a few broken links in the jhbuild appendix 2006-03-31 Murray Cumming * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * tools/extra_defs_gen/generate_defs_gtk.cc: Added GTK_TYPE_CELL_RENDERER_SPIN, GTK_TYPE_RECENT_CHOOSER, GTK_TYPE_RECENT_CHOOSER_MENU, GTK_TYPE_RECENT_CHOOSER_WIDGET, GTK_TYPE_RECENT_FILTER, GTK_TYPE_RECENT_MANAGER ) * gtk/src/gtk_signals.defs: Added sections for the new types. 2006-03-28 Murray Cumming * gtk/src/gtk_docs_override.xml: Added override for gtk_widget_render_icon(), because it mentioned unrefing the result. 2006-03-26 Murray Cumming * gdk/src/gdk_docs_override.xml: Override the documentation for create_cairo_context because it mentions destroying the result, and says that it is since 2.8 instead of 2.10. 2006-03-23 Murray Cumming * gdk/src/pixbufloader.hg: create(): Add documentation, based on new C documentation. 2006-03-22 Murray Cumming * docs/tutorial/Makefile.am: Add style.css to EXTRA_DIST. * docs/tutorial/gtkmm-tut.xml: TreeView chapter: Add a sub-section about sorting, mentioning the simple set_sort_column() functions and TreeModelSort for independent sorting. Based on code from the example from R. Douglas Barbieri in bug #334791. 2006-03-22 Murray Cumming * gdk/src/dragcontext.hg: Added set_icon_name(). * gtk/src/toolbutton.hg: Added set_icon_name() and get_icon_name(). * gdk/src/pixbuf.hg: * gdk/src/pixbufloader.ccg: * gdk/src/pixbufloader.hg: * gtk/src/aboutdialog.hg: * gtk/src/dialog.hg: * gtk/src/iconview.hg: * gtk/src/linkbutton.hg: * gtk/src/textbuffer.hg: * gtk/src/textchildanchor.hg: * gtk/src/treemodelsort.hg: Added documentation, based on the C documentation. 2006-03-22 Murray Cumming * configure.in: * examples/book/Makefile.am: * examples/book/iconview/Makefile.am: * examples/book/iconview/examplewindow.cc: * examples/book/iconview/examplewindow.h: * examples/book/iconview/main.cc: Added example from R. Douglas Barbieri in bug #335388. * examples/book/iconview/gnome-dice-1.svg: * examples/book/iconview/gnome-dice-2.svg: * examples/book/iconview/gnome-dice-3.svg: * examples/book/iconview/gnome-dice-4.svg: * examples/book/iconview/gnome-dice-5.svg: * examples/book/iconview/gnome-dice-6.svg: * examples/book/iconview/mozilla-firefox.png: * examples/book/iconview/xmms.xpm: Sample images for the example. 2006-03-22 Murray Cumming * docs/index.html: Corrected links to chapters, now that we added a chapter in the middle. Bug #334989 from Rob Page. * gtk/gtkmm/listviewtext.h: Added groups and newin doxygen tags. 2006-03-22 Murray Cumming * gtk/gtkmm/listviewtext.cc: * gtk/gtkmm/listviewtext.h: Renamed some member variables, and used ModelColumns via member instance instead of pointer, to simplify code. * configure.in: * examples/book/treeview/Makefile.am: * examples/book/treeview/listviewtext/Makefile.am: * examples/book/treeview/listviewtext/examplewindow.cc: * examples/book/treeview/listviewtext/examplewindow.h: * examples/book/treeview/listviewtext/main.cc: Added example, based on treeview/list example. * gtk/gtkmm.h: Include listviewtext.h 2006-03-22 Murray Cumming * gtk/gtkmm/Makefile.am: * gtk/gtkmm/listviewtext.cc: * gtk/gtkmm/listviewtext.h: Added ListViewText, a very simple TreeView convenience class, from J. Baltasar García Perez-Schofield in bug #329333, with formatting and constness corrections. 2006-03-10 Murray Cumming * examples/book/drawingarea/clock/clock.cc: * examples/book/drawingarea/joins/myarea.cc: Update the cairomm enum values for the latest cairomm API. 2006-03-08 Murray Cumming * gtk/src/combobox.hg: Added get/set_title() and corresponding tearoff-title property. * gtk/src/iconview.ccg: * gtk/src/iconview.hg: Added drag and drop methods. * gtk/src/treeview.hg: Corrected a typo in the documentation. * tools/m4/convert_gtk.m4: Added new enum conversion. 2006-02-25 Murray Cumming * gtk/src/treeview.hg: Remove an extra : after a @deprecated. 2006-02-25 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Signals appendix: Remove vague uninteresting stuff about different functor types, and mention sigc::ptr_fun, mem_fun distinction earlier. o2006-02-25 Murray Cumming * gtk/src/gtk_docs.xml: Regenerate from the C files. * gtk/src/gtk_docs_override.xml: Update the override for gtk_icon_theme_list_icons(), so that it shows the correct subset examples. Fixes bug #330966 from John Spray 2006-02-25 Murray Cumming * gtk/gtkmm.h: Include layout.h, cellview.h, and icontheme.h. Bug #332447 from Maxim Udushlivy. 2006-02-24 Rob Page * gtk/src/icontheme.ccg: Change int* to int to fix segfault. Bug #332437. 2006-02-25 Murray Cumming * gtk/src/calendar.hg: * gtk/src/cellrenderer.hg: * gtk/src/messagedialog.hg: * gtk/src/textview.hg: * gtk/src/treemodelfilter.hg: * gtk/src/treepath.hg: * gtk/src/treeview.hg: * gtk/src/widget.hg: Move the deprecated comment into the _WRAP_METHOD() call, using the new feature in glibmm, so that it really shows up in the doxygen documentation. 2006-02-22 Jonathon Jongsma * configure.in: only generate Makefiles for specific features if those features are enabled (e.g. docs, examples, etc) 2006-02-22 Murray Cumming * gtk/src/gtk_docs_override.xml: Added an override for gtk_icon_theme_list_icons() because it mentions GList, memory management of the items, and providing a NULL parameter. * gtk/src/icontheme.ccg: * gtk/src/icontheme.hg: Added override of list_icons() that returns all icons, regardless of context, to match the NULL context case. Bug #330945 from John Spray. 2006-02-18 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: synchronized the list of widgets without windows with the documentation from the Gtk+ tutorial (see http://gtk.org/tutorial/x502.html) 2006-02-18 Jonathon Jongsma * docs/tutorial/style.css: Fixed a couple of tutorial style issues * docs/tutorial/gtkmm-tut.xml: updated and re-organized the installation section of the tutorial a bit more -- added dependency on cairomm / cairo, reworded a few things, etc. Added a new appendix explaining how to build and install gtkmm from CVS using jhbuild. 2006-02-17 Murray Cumming * gdk/src/pixbuf.ccg: save_to_buffer(): Use a terminating NULL when calling gdk_pixbuf_save_to_buffer() to avoid a warning about the sentinel. 2006-02-13 Rob Page * docs/tutorial/gtkmm-tut.xml: minor fixes to gettext chapter, a typo and a broken link (Bug #331077) 2006-02-10 Murray Cumming * gtk/src/assistant.hg: Wrap the prepared signal, now that it is fixed in GTK+. * gtk/src/entry.hg: Add a link to the email that says it is OK to wrap the activate signal. 2006-02-10 Murray Cumming * gtk/src/clipboard.hg: Wrap the owner-changed signal, which was new in GTK+ 2.8, I think. Use no_default_handler to avoid an ABI break. * gtk/src/gtk_signals.defs: Added defs for GtkClipboard. * tools/extra_defs_gen/generate_defs_gtk.cc: Generate .defs for GtkClipboard. Bug #330139 from Jonathan Jongsma. 2006-01-30 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: fixed a minor typo in the clipboard section of the tutorial that referred to get_data_as_text() instead of get_data_as_string() 2006-01-29 Murray Cumming * docs/tutorial/Makefile.am: Remove unnecessary icons installation line - it happens in the sub-directory. * docs/tutorial/figures/Makefile.am: * docs/tutorial/figures/comboboxentry_complex.png: * docs/tutorial/figures/comboboxentry_text.png: Added screenshots. * docs/tutorial/gtkmm-tut.xml: Write basic Combo Boxes chapter, replacing the text about the deprecated Combo widget, and moving it after the TreeView chapter, because it needs knowledge of the TreeView. * examples/book/combobox/complex/examplewindow.cc: * examples/book/combobox/text/examplewindow.cc: * examples/book/comboboxentry/complex/examplewindow.cc: * examples/book/comboboxentry/text/examplewindow.cc: Removed useless commented-out code. 2006-01-29 Murray Cumming * gtk/src/treeview.hg: Added get_search_entry() and get_headers_clickable(). * tools/m4/convert_gtk.m4: Correct the Entry conversion. 2006-01-29 Murray Cumming * gtk/src/widget.ccg: * gtk/src/widget.hg: Added get_action(). 2006-01-29 Murray Cumming * gdk/gdkmm/general.cc: * gdk/gdkmm/general.h: Added set_source_pixmap(). * gtk/src/Makefile_list_of_hg.am_fragment: * gtk/src/action.ccg: * gtk/src/assistant.ccg: * gtk/src/assistant.hg: Added Assistant. * gtk/src/linkbutton.ccg: * gtk/src/linkbutton.hg: Added LinkButton * gtk/gtkmm.h: include the new headers. * gtk/src/cellrenderertoggle.hg: Added indicator-size property. * gtk/src/messagedialog.hg: Added properties. * gtk/src/radioaction.hg: Added set_current_value(). * gtk/src/sizegroup.hg: Added get_widgets(). * gtk/src/toolbutton.hg: Deprecated the clicked signal, because it has become a keybinding/action signal. * gtk/src/treeview.ccg: * gtk/src/treeview.hg: Added set_search_position_func(). * gtk/src/window.hg: Added get_group(). * tools/extra_defs_gen/generate_defs_gtk.cc: Add the new GTK+ GTypes. * tools/m4/convert_gtk.m4: Add new needed conversions. * gtk/src/gtk_enums.defs: Regenerated with enums.pl * gtk/src/gtk_methods.defs: Regenerated with h2defs.py * gtk/src/gtk_signals.defs: Added parts with extra_defs. 2006-01-28 Pierre Thierry * examples/book/buttons/radiobutton/radiobuttons.cc: add comments and reorganize the example so that it's a bit more understandable for beginners * gtk/src/box.hg: add brief clarification of where widgets end up when packed with a variety of pack_start() and pack_end() calls 2006-01-24 Murray Cumming * docs/tutorial/Makefile.am: Restore html upload line. * docs/tutorial/gtkmm-tut.xml: Contributing: Added links to bugs page. * gtk/src/radiobutton.hg: Added documentation for get/set/reset_group(). 2006-01-24 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Installation: Move section about packages before the section about installing from source, so people see the easiest/best way first. Add warning about installing source-built stuff in /usr. 2006-01-24 Murray Cumming * docs/tutorial/Makefile.am: Upload the style.css file when doing post-html. * docs/tutorial/gtkmm-tut.xml: Add para tags to tip and note tags, as noticed by the validate-original make target. Remove some of the initial paragraph about it being a draft. 2006-01-24 Murray Cumming * docs/tutorial/Makefile.am: * docs/tutorial/icons/Makefile.am: Restored some files I messed up by copying stuff into the wrong place. 2006-01-24 Murray Cumming * docs/tutorial/Makefile.am: * docs/tutorial/icons/Makefile.am: * docs/tutorial/icons/caution.png: * docs/tutorial/icons/home.png: * docs/tutorial/icons/important.png: * docs/tutorial/icons/next.png: * docs/tutorial/icons/note.png: * docs/tutorial/icons/prev.png: * docs/tutorial/icons/tip.png: * docs/tutorial/icons/up.png: * docs/tutorial/icons/warning.png: Added missing files. 2006-01-23 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: improve the markup of the tutorial by replacing a lot of the generic 'literal' tags with more specific ones like 'classname' or 'function'. Also marked up a bunch of things that weren't marked up at all. 2006-01-18 Murray Cumming * docs/tutorial/figures/Makefile.am: * docs/tutorial/figures/*.png: Several updated screenshots from Jonathon Jongsma. Bug #327142. 2006-01-18 Murray Cumming * gtk/src/gtk_docs_override.xml: Added some new overrides for functions that mention free() or NULL. 2006-01-15 Jonathon Jongsma * docs/tutorial/Makefile.am: Modified makefile to pass some XSL parameters to the xsltproc. For example, where to find icon images, what filename to use as a CSS stylesheet, etc. * docs/tutorial/insert_example_code.pl: Modified script to mark up the filename with a docbook 'filename' element so that it can be styled more easily * docs/tutorial/style.css: add a new CSS stylesheet for styling the tutorial. The CSS is based on the GNOME stylesheets used for yelp but a also designed to fit the theme of the gtkmm website. * docs/tutorial/icons/*.png: add a bunch of images from the tango theme to be used for informational and navigational icons. 2005-12-31 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: Add screenshot for the aspectframe example. The screenshot was already in CVS, just not linked from the tutorial. 2005-12-31 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: updated section on prepackaged gtkmm binaries for linux distributions 2006-01-07 Michael J M Thomson * gtk/gtkmm.h: Include menutoolbutton.h and tearoffmenuitem.h 2005-12-24 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: quick fix for source code location of cairo simple line drawing example 2006-01-04 Cedric Gustin * gtk/src/Makefile_list_of_hg.am_fragment: Moved plug.hg and socket.hg from files_posix_hg to files_general_hg as both GtkPlug and GtkSocket are now supported on win32. 2005-12-20 Murray Cumming * gtk/src/container.ccg: * gtk/src/container.hg: Use custom_c_callback option with _WRAP_SIGNAL for the remove signal, so we can provide a custom signal callback (as well as the existing custom default signal callback). This allows us to check for already-deleted children in connected signal handler callbacks as well as the default signal handler. This should be a partial fix for bug #315874 from Philip Langdale. 2005-12-23 Murray Cumming * docs/tutorial/gtkmm-tut.xml: DrawingArea chapter: Move GDK stuff into an appendix, and remove reference to X, because it is not always running on X. 2005-12-23 Murray Cumming * docs/tutorial/figures/Makefile.am: Mention the new screenshots so they are disted and uploaded. * docs/tutorial/gtkmm-tut.xml: Fix a source code path. 2005-12-21 Jonathon Jongsma * configure.in: added makefiles for new example directories * docs/tutorial/Makefile.am: * docs/tutorial/figures/drawingarea_lines.png: * docs/tutorial/gtkmm-tut.xml: * examples/book/Makefile.am: * examples/book/drawingarea/main.cc: * examples/book/drawingarea/myarea.cc: * examples/book/drawingarea/myarea.h: complete rework of the drawing area chapter of the gtkmm tutorial to use Cairomm for drawing instead of old Gdk functions. Updated text and examples, and added several new examles. 2005-12-21 Murray Cumming * gtk/src/texttagtable.ccg: Put a private class in a anonymous namespace, theoretically to prevent it being exported as ABI. 2005-12-20 Murray Cumming * gtk/src/entry.hg: Added xalign and truncate-multiline properties. 2005-12-20 Murray Cumming * examples/book/drawingarea/myarea.cc: * gdk/gdkmm/general.cc: * gdk/gdkmm/general.h: * gdk/src/drawable.hg: Use Cairo objects via Cairo::RefPtr. 2005-12-15 Murray Cumming * gtk/src/adjustment.ccg: * gtk/src/adjustment.hg: Generate the constructor, instead of hand coding it, because it now uses properties. 2005-12-15 Murray Cumming * configure.in: * examples/book/Makefile.am: * examples/book/statusicon/.cvsignore: * examples/book/statusicon/main.cc: Add example. * gtk/gtkmm.h: #include statusicon.h and cellrendereraccel.h. * gtk/src/statusicon.hg: Rename parameter name for stock constructor, so it uses the correct property name. 2005-12-15 Murray Cumming * gtk/src/object.hg: Add class documentation, based on the C documentation. Add documentation for manage(). 2005-12-14 Murray Cumming * gdk/src/types.hg: Hide traits from Doxygen. 2005-12-14 Philip Langdale * gdk/src/window.hg: * tools/m4/convert_gdk.m4: Correct the Cursor conversion - it does not need to be copied/leaked. Bug #323920. 2005-12-12 Murray Cumming * configure.in: Depend on gtk+ 2.9. * gtk/src/Makefile_list_of_hg.am_fragment: * gtk/src/cellrendereraccel.ccg: * gtk/src/cellrendereraccel.hg: New CellRenderer. * gtk/gtkmm/cellrenderer_generation.cc: * gtk/gtkmm/cellrenderer_generation.h: Add a template specialization for AccelKey model columns. * gtk/src/filechooserbutton.hg: Add set/get_focus_on_click() and property. * gtk/src/menu.ccg: * gtk/src/menu.hg: Add attach_to_widget() overload without a destroy callback. * gtk/src/range.hg: Added get/set_lower_stepper_sensitivity(), get/set_upper_stepper_sensitivity() and properties. * gtk/src/selectiondata.hg: Added targets_include_uri(). * gtk/src/statusicon.ccg: * gtk/src/statusicon.hg: New class. * gtk/src/style.hg: Added lookup_color(). * gtk/src/textbuffer.hg: Added get_has_selection() and property. Added text property. * gtk/src/window.hg: Added get/set_deletable() and property. * tools/extra_defs_gen/generate_defs_gtk.cc: Add new types. * tools/m4/convert_gtk.m4: Add new conversions. * gtk/src/gtk_docs.xml: Update. * gtk/src/gtk_enums.defs: Update * gtk/src/gtk_methods.defs: Update * gtk/src/gtk_signals.defs: Update 2005-12-10 Murray Cumming * gtk/src/expander.hg: Add documentation, base on the C documentation, mentioning property_expanded().signal_changed(). 2005-12-10 Murray Cumming * gtk/src/object.ccg: Use g_object_sink_ref() and friends instead of now-deprecated gtk_object_sink(). Maybe it works. 2005-12-06 Jonathon Jongsma * Makefile.am: * configure.in: add configure option for enabling / disabling building of documentation (--enable-docs / --disable-docs) 2005-12-06 Jonathon Jongsma * configure.in: Look for gmmproc in generic libdir directory, because that is not always lib/. This fixes the build on some 64-bit systems. 2005-12-06 Jonathon Jongsma * gdk/gdkmm-2.4.pc.in: Add cairomm to dependencies. Bug #323347. 2005-12-02 Murray Cumming * docs/reference/Doxyfile.in: Reword the title of the since pages, to make it clear that they do not include new API in subsequent versions. 2005-12-01 Murray Cumming * gdk/gdkmm/general.h: Mark cairo API as new in 2.10. 2005-12-01 Murray Cumming * gtk/src/treemodel.ccg: * gtk/src/treemodel.hg: Added a method overload of rows_reordered() without the iter, because the GTK+ docs now say that it can be 0. Added documentation, based on the C documentation. 2005-12-01 Murray Cumming * configure.in: Depend on cairomm. * gdk/gdkmm/general.cc: * gdk/gdkmm/general.h: * gdk/src/drawable.hg: Use C++ Cairo:: types instead of C cairo_* types. 2005-12-01 Murray Cumming * docs/reference/Doxyfile.in: Add a newline after the newin xrefitem, to stop doxgygen associating the following text with the xrefitem, so properties and returns do not show up in the list of new API. 2005-12-01 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Remove link to non-existing drawing_area_text example. Bug #311176 from Jonathon Jongsma. 2005-11-30 Murray Cumming * docs/index.html: Change deprecated link to link to deprecated and new pages page. * gdk/src/gdk_docs_override.xml: * gtk/src/gtk_docs_override.xml: Change Since: to our @newin tags. 2005-11-30 Murray Cumming * docs/reference/Doxyfile.in: Added ALIASES for @newin2p2, @newin2p4, @newin2p6, @newin2p8, and @newin2p10. API marked with these tags will then be listed together on a page. Doxygen already has @since, but that does not list them on one page. * gdk/src/displaymanager.hg: * gtk/gtkmm/accelmap.h: * gtk/src/cellrenderer.hg: * gtk/src/clipboard.hg: * gtk/src/colorbutton.hg: * gtk/src/entrycompletion.hg: * gtk/src/expander.hg: * gtk/src/filechooserwidget.hg: * gtk/src/messagedialog.hg: * gtk/src/radiotoolbutton.hg: * gtk/src/rc.hg: * gtk/src/uimanager.hg: * pango/src/fontset.hg: Replace any Since: text with the new tags. 2005-11-30 Murray Cumming * configure.in: * gtk/gtkmmconfig.h.in: Check for the mkifofs() function (not available in windows, apparently), and define HAVE_MKIFOFS. * examples/book/input/main.cc: Do not use mkifofs if it is not present, to fix build on Windows. Bug #309031 from haleykd. 2005-11-30 Murray Cumming * gtk/gtkmm/accelmap.cc: * gtk/gtkmm/accelmap.h: Added lookup_entry(), wrapping gtk_accel_map_lookup_entry, based on code provided by Paul Davis in bug #318407. 2005-11-30 Murray Cumming * gtk/src/style.ccg: Fix the cast, to fix the build 2005-11-29 Murray Cumming * build_shared/Makefile_build.am_fragment: * configure.in: Added --enable-deprecated-api option: Set it to yes to remove deprecated API from the library, for instance for embedded devices. * gdk/src/color.ccg: * gdk/src/color.hg: * gdk/src/colormap.ccg: * gdk/src/colormap.hg: * gdk/src/image.hg: * gdk/src/window.hg: * gtk/src/calendar.hg: * gtk/src/cellrenderer.hg: * gtk/src/combo.hg: * gtk/src/fileselection.hg: * gtk/src/inputdialog.hg: * gtk/src/messagedialog.hg: * gtk/src/optionmenu.hg: * gtk/src/progress.hg: * gtk/src/textbuffer.ccg: * gtk/src/textbuffer.hg: * gtk/src/textview.ccg: * gtk/src/textview.hg: * gtk/src/toolbar.hg: * gtk/src/treemodel.hg: * gtk/src/treemodelfilter.hg: * gtk/src/treepath.ccg: * gtk/src/treepath.hg: * gtk/src/treesortable.ccg: * gtk/src/treesortable.hg: * gtk/src/treeview.ccg: * gtk/src/treeview.hg: * gtk/src/treeviewcolumn.ccg: * gtk/src/treeviewcolumn.hg: * gtk/src/widget.hg: Use the new gmmproc features to ifdef-out the deprecated API. * tests/menu_destruction/main.cc: * demos/gtk-demo/example_iconview.cc: * demos/gtk-demo/example_menus.cc: * demos/gtk-demo/example_sizegroup.cc: * demos/gtk-demo/example_textview.cc: * examples/Makefile.am_fragment: * examples/book/custom/custom_container/mycontainer.cc: * examples/book/dialogs/fileselection/examplewindow.cc: * examples/book/range_widgets/labeledoptionmenu.cc: * examples/book/range_widgets/labeledoptionmenu.h: * examples/cellrenderercustom/popupentry.cc: * examples/stock/stock.cc: Do not use deprecated API. 2005-11-29 Murray Cumming * gtk/src/style.ccg: * gtk/src/style.hg: Added an overload of set_bg_pixmap() that takes a const Pixmap, and deprecated the non-const one, because the pixmap contents are not changed by the method. Bug #313309 from Michael Hofmann. 2005-11-29 Murray Cumming * docs/index.html: Added a link to the generated list of deprecated API. 2005-11-29 Murray Cumming * gdk/src/window.hg: Added set_urgency_hint(). 2005-11-28 Murray Cumming * gtk/src/textbuffer.hg: Added const overloads of get_text() and get_slice(), deprecating the non-const versions. Bug #322338 from Ami Tavory. 2005-11-22 Murray Cumming * configure.in: * examples/book/Makefile.am: * examples/book/update_ui/Makefile.am: * examples/book/update_ui/examplewindow.cc: * examples/book/update_ui/examplewindow.h: * examples/book/update_ui/main.cc: Add an example that uses events_pending() to update the UI, loosely based on bug #317424 from Gareth Foster. 2005-11-22 Murray Cumming * pango/src/attrlist.ccg: * pango/src/attrlist.hg: Add operator(), because some methods return null PangoAttrList*s. 2005-11-21 Murray Cumming * gdk/gdkmm/general.cc: * gdk/gdkmm/general.h: Added wrappers for gdk cairo functions, though we need a real cairo Context class, from a real cairo C++ API. * gdk/src/drawable.hg: Add TODO about a gdk cairo function. * gtk/src/treeview.hg: Do not use g_asssert in a header, to avoid a warning about a useless command. 2005-11-16 Michael J M Thomson * gdk/src/gc.hg: GC::set_clip_rectangle(): Add a method overload that takes a const argument, and deprecate the non-const version. Bug #320631. 2005-11-16 Murray Cumming * gtk/src/widget.hg: Made map() public, because custom containers sometimes (e.g. GtkNotebook) need to call it on their child widgets, though we are not sure when. Bug #320631. This is the HEAD branch, for new API. 2.8.1: 2005-08-02 Marco Scholten * docs/tutorial/gtkmm-tut.xml: changed square to Penrose triangle and added the missing screenshot in the custom widget chapter. Bug #311176. 2005-10-19 Murray Cumming * gtk/src/uimanager.hg: Use OWNERSHIP_NONE with get_action_groups(), because the GList should not be freed. Bug #31865 from Colin Law. 2005-10-19 Murray Cumming * configure.in: Check for gtk+ 2.8. Bug #317913. 2005-09-28 Murray Cumming * gtk/src/scrolledwindow.hg: get_*scrollbar_visible(): get_hscrollbar_visible() returned vscrollbar_visible() and vice-versa. Fixed. Bug #317309 by Bartek Kostrzewa. 2.8.0: Updated NEWS and increased version. 2.7.4: 2005-08-17 Murray Cumming * gdk/src/dragcontext.hg: Corrected commented-out set_icon_name() signature so we get it right when we can add it. * gdk/src/gdk_extra.defs: Added gtk_drag_set_icon_name, copied from gtk_methods.defs. * gtk/src/gtk_signals.defs.patch: Added this patch to help us modify the file after regenerating it in future. * gtk/src/toolbutton.hg: Added commented-out set/get_icon_name() for use during 2.9. 2005-08-17 Murray Cumming * gdk/src/dragcontext.hg: Comment-out set_icon_name() with a TODO comment because it is not getting the defs defintion for some reason. * gdk/src/gdk_signals.defs: Regenerated with generate_extra_defs. * gtk/src/entrycompletion.hg: Properties: Correct key_length to minimum_key_length, and popup_set_widgth to popup_set_width. * gtk/src/gtk_enums.defs: Removed broken gtktreeprivate.h stuff. * gtk/src/gtk_other.defs: Added new FileChooser signals and properties. * gtk/src/gtk_signals.defs: Regenerated with generate_extra_defs. * tools/m4/convert_gtk.m4: Added GtkFileChooserConfirmation. 2005-08-17 Murray Cumming * gdk/src/gdk_docs.xml: Regenerated with docextract_to_xml.py. * gdk/src/gdk_enums.defs: Regenerated with enums.pl. * gdk/src/gdk_methods.defs: Regenerated with h2defs.py * gdk/src/gdk_pixbuf.defs: Regenerated with h2defs.py * gtk/src/gtk_docs.xml: Regenerated with docextract_to_xml.py. * gtk/src/gtk_enums.defs: Regenerated with enums.pl. * gtk/src/gtk_methods.defs: Regenerated with h2defs.py 2005-08-01 Murray Cumming * gtk/src/treeview.ccg: unset_model(): Removed extra ; that was breaking the build. 2005-08-01 Murray Cumming * config.h.in: Added missing undefs, needed by SUN and Tru64 compilers. Patch from The Written Word. 2005-08-01 Jonner * docs/tutorial/gtkmm-tut.xml: Fix the link to the Gtk::Combo reference docs, though this should talk about Gtk::ComboBox instead anyway. 2005-08-01 Murray Cumming * gtk/src/settings.ccg: * gtk/src/settings.hg: Autogenerate get_default(): to stop it creating a second wrapper object. Bug #311311. 2005-07-31 Murray Cumming * gtk/src/treeview.ccg: * gtk/src/treeview.hg: Added unset_model(). 2.7.3: 2005-07-16 Murray Cumming * gdk/src/pixbufloader.ccg: create_with_type(): Really return the created GdkPixbufLoader. 2005-07-16 Ishmal * gtk/src/treeviewcolumn.hg: TreeViewColumn: Use GTKMM_API to add dllspec_export and dllspec_import for MSVC++ 7.1 because it needs the extra help, even when using --export-all and auto-import. See bug #309030. 2005-07-16 Murray Cumming * atk/src/atk_docs.xml: * gdk/src/gdk_docs.xml: * gtk/src/gtk_docs.xml: * gtk/src/gtk_enums.defs: * gtk/src/gtk_methods.defs: * pango/src/pango_docs.xml: Regenerated. * gdk/src/display.hg: Added warp_pointer(). 2005-07-15 Murray Cumming * atk/src/atk_enums.defs: * gdk/src/gdk_enums.defs: * pango/src/pango_enums.defs: * gtk/src/gtk_enums.defs: Regenerated with glibmm/tools/enums.pl * gtk/src/filechooser.hg: Added get/set_do_overwrite_confirmation() and property and signal. * gtk/src/treerowreference.hg: Added get_model(). * gtk/src/treeview.ccg: * gtk/src/treeview.hg: Added const versions of get_path_at_pos(), get_cell_area(), get_background_area(), get_visible_rect(), widget_to_tree_coords(), tree_to_widget_coords(). Added get_visible_range(). * gtk/src/treeviewcolumn.hg: Added queue_resize() 2.7.2: 2005-07-12 Murray Cumming * docs/index.html: Remove links to useless bonobo stuff. Correct the name of the canvas link, instead of having duplicate libglademm links. * gdk/src/pixbuf.ccg: * gdk/src/pixbuf.hg: Add a save_to_buffer() overload without the options parameters. Added reference documentation. * gtk/src/entrycompletion.hg: Remove extra ;. 2.7.1: 2005-07-11 Murray Cumming * gtk/src/textiter.hg: Added move_forward/backward_visible_line(s). 2005-07-10 Murray Cumming * gdk/src/dragcontext.hg: Added set_icon(const Glib::ustring& name) * gtk/src/aboutdialog.hg: Added set/get_wrap_license() and property. * gtk/src/dialog.hg: Added get_response_for_widget(). * gtk/src/widget.hg: Added drag_source_set_icon(const Glib::ustring& icon_name). * gtk/src/entrycompletion.hg: Added properties, get/set_popup_set_width(), get/set_popup_single_width(). * gtk/src/iconview.hg: Added get_item_at_pos(), get_visible_range(), get/set_cursor(), scroll_to_path(). 2005-07-10 Murray Cumming * gdk/src/gdk_methods.defs: Regenerated with h2defs.py * gdk/src/cursor.ccg: * gdk/src/cursor.hg: Added get_image() and a Cursor(name) constructor. * gdk/src/window.hg: Added move_region() * gtk/gtkmm/stock.cc: * gtk/gtkmm/stock.h: Added FULLSCREEN, LEAVE_FULLSCREEN, and INFO stock items. * gtk/src/gtk_methods.defs: Regenerated with h2defs.py * gtk/src/image.ccg: * gtk/src/image.hg: Reimplemented clear() with the new gtk_image_clear() function. * gtk/src/sizegroup.hg: Added ignore_hidden property. * gtk/src/window.hg: Added urgency_hint property, and get/set_urgency_hint(). Added present(timestamp) overload. 2005-07-06 Claudio Saavedra * docs/tutorial/gtkmm-tut.xml: Fixed typo in title of chapter about constructors. 2005-07-04 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Signals appendix: Correct ptr_fun/mem_fun typo. 2005-06-09 Daniel Glöckner * tools/m4/convert_gdk.m4: Use OWNERSHIP_NONE with Glib::ListHandle< Glib::RefPtr instead of OWNERSHIP_DEEP, to avoid memory problems with Gdk::Display::list_devices(). 2005-05-26 Murray Cumming * docs/Makefile_web.am_fragment: Use different rsync args to fix recent problem with sourceforge. * docs/tutorial/gtkmm-tut.xml: Fix URL prefix for glibmm reference links. * gtk/src/comboboxentry.hg: get_entry() docs: Mention Bin::get_child() instead of get_entry(). 2005-04-21 Alexander Nedotsukov * gdk/gdkmm/Makefile.am: * gtk/gtkmm/Makefile.am: Add inter-library dependencies, which might be needed with some versions of pkg-config. 2005-05-06 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Signals apendix, X Event signals section: Added explanation of connect(slot, false); 2005-05-03 Murray Cumming * gtk/gtkmm/comboboxentrytext.cc: * gtk/gtkmm/comboboxentrytext.h: * gtk/gtkmm/comboboxtext.cc: * gtk/gtkmm/comboboxtext.h: Deprecated clear() in favour of new clear_items() method, because clear() exists in the base CellLayout class and is very different. Added remove_text() to remove items one at a time. Added doxygen documentation comments. 2005-05-03 Murray Cumming * gtk/src/cellrenderer.hg: Added the sensitive property, which was maybe new in GTK+ 2.6. 2005-05-01 Murray Cumming * gdk/src/colormap.ccg: * gdk/src/colormap.hg: Deprecated alloc_colors() and free_colors(). Add free_color() for use with alloc_color(). Bug #157744 2005-04-27 Philip Langdale * gtk/src/action.hg: Override default wrap behaviour for get_proxies to use the correct ownership semantics. (bug #172892) 2005-04-24 Murray Cumming * gtk/src/button.hg: * gtk/src/gtk_docs_override.xml: * gtk/src/image.hg: * gtk/src/toolbutton.hg: Documentation: Change mentions of new_from_stock() to mention the C++ constructors, and document those constructors. 2005-04-22 Murray Cumming * gtk/src/cellrenderer.hg: Add documentation saying that signal_editing_started() does not work, so use the C API. * gtk/src/combobox.hg: Added TODO comment for a future ABI break. 2005-04-19 Murray Cumming * configure.in: * examples/book/Makefile.am: * examples/book/comboboxentry/.cvsignore: * examples/book/comboboxentry/Makefile.am: * examples/book/comboboxentry/complex/.cvsignore: * examples/book/comboboxentry/complex/Makefile.am: * examples/book/comboboxentry/complex/examplewindow.cc: * examples/book/comboboxentry/complex/examplewindow.h: * examples/book/comboboxentry/complex/main.cc: * examples/book/comboboxentry/text/.cvsignore: * examples/book/comboboxentry/text/Makefile.am: * examples/book/comboboxentry/text/examplewindow.cc: * examples/book/comboboxentry/text/examplewindow.h: * examples/book/comboboxentry/text/main.cc: Added ComboBoxEntry and ComboBoxEntryText examples, based on the existing ComboBox and ComboBoxText examples. 2005-04-15 Murray Cumming * examples/book/menus_and_toolbars/Makefile.am: * examples/book/menus_and_toolbars/rain.png: Add missing rain.png file and distribute it. * examples/book/menus_and_toolbars/examplewindow.cc: Catch the exception if the pixbuf file is not found. 2005-04-07 Murray Cumming * gdk/src/display.hg: * gdk/src/displaymanager.hg: * gdk/src/pixbufloader.hg: * gdk/src/screen.hg: * gtk/src/accelgroup.hg: * gtk/src/action.hg: * gtk/src/actiongroup.hg: * gtk/src/cellrenderer.hg: * gtk/src/cellrenderertoggle.hg: * gtk/src/colorbutton.hg: * gtk/src/combobox.hg: * gtk/src/entrycompletion.hg: * gtk/src/filechooser.hg: * gtk/src/fontbutton.hg: * gtk/src/radioaction.hg: * gtk/src/radiomenuitem.hg: * gtk/src/range.hg: * gtk/src/textbuffer.hg: * gtk/src/togglebutton.hg: * gtk/src/toolbar.hg: * gtk/src/toolbutton.hg: * gtk/src/toolitem.hg: * gtk/src/treeiter.hg: * gtk/src/uimanager.hg: * gtk/src/widget.hg: Added doxygen documentation for signals, based on the C documentation (in the .c files) where that documentation exists. 2005-04-07 Murray Cumming * gtk/src/treeview.ccg: * gtk/src/treeview.hg: Rename TreeView::_auto_store_on_cellrenderer_toggle_edited() to TreeView::_auto_store_on_cellrenderer_toggle_edited_with_model() and add back the old _auto_store_on_cellrenderer_toggle_edited(), so that it still exists for apps built with the old templates. This is the only non-template code that was changed in the previous commit. 2005-04-06 Murray Cumming * gtk/src/treeview.[hg|ccg]: append_*_(): Pass the model to the private helper template functions, instead of the treeview, to prevent the warning when closing the window while editing a cell. Bug #170855. This is the HEAD branch. The stable branch is gtkmm-2-6. 2005-03-19 Murray Cumming * demos/gtk-demo/example_treeview_editable_cells.cc: * gtk/src/treeview.ccg: * gtk/src/treeview.hg: Test the result of _get_model_base() for a null refptr, to help avoid a crash when closing a window while the cell renderer is in edit mode. Bug #170855. 2005-03-17 Claudio Saavedra * docs/tutorial/gtkmm-tut.xml: Fixes typo in #170730. Pointed out by Jacek Wotka. 2.6.1: 2005-03-12 Claudio Saavedra * docs/tutorial/gtkmm-tut.xml: Fixing inconsistences in documentation. Bug #170131. 2005-03-13 Murray Cumming * gtk/src/cellrenderercombo.hg: * gtk/src/combo.hg: * gtk/src/fileselection.hg: * gtk/src/optionmenu.hg: * gtk/src/treemodel.hg: Doxygen comments: Remove deprecated widgets from the Widgets and Dialogs groups, so they don't show up in the lists. 2005-03-11 Murray Cumming * gtk/src/cellrenderer.ccg: property_renderable_(): Call the base class method, not the method itself, to avoid an infinite loop. 2005-03-10 Cedric Gustin * MSVC_Net2003/Makefile.am: Add blank.cpp to EXTRA_DIST. * MSVC_Net2003/atkmm/atkmm.rc.in, MSVC_Net2003/pangomm/pangomm.rc.in: Use gtkmm @VERSION@ as version string. 2.6.0: 2005-03-04 Murray Cumming * examples/book/menus_and_toolbars/main_menu/examplewindow.[h|cc]: Demonstrate radio action items. 2005-03-04 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Fixed a duplication section id. * docs/tutorial/Makefile: Make the phpwebnotes version build in a separate directory, to make things simpler. 2005-03-03 Murray Cumming * gtk/src/scale.hg: format_value signal: Modify the custom conversion so that this never sends an empty string to GTK+, so we do not stop C callbacks from using the special meaning that format_value gives to a null string. This needs an extra signal parameter in C++ in future - see the comment. Bug #154004 from Lars Luthman, who did the detective work. 2005-03-03 * gtk/src/treeview.ccg: insert_column(): Used (void*)0 instead of 0 for the terminating vararg, to avoid g++ 4.0 warning about missing sentinel in function call. 2005-03-03 Albert Chin * configure.in: Check whether funlockfile(), flockfile(), and getc_unlocked() are really available to the compiler, rather than just present in a library. * demos/gtk-demo/demo-window.c: Use the new tests. 2005-02-28 Roel Vanhout * docs/tutorial/gtkmm-tut.xml: Add more section ids so that phpwebnotes would have permanent ids to use. 2.5.7: 2005-02-23 Roel Vanhout * docs/tutorial/: Experimental generation of the html with phpWebNotes code, to allow online comments. Not used yet. 2005-02-18 Murray Cumming * gtk/src/gtk_signals.defs: Removed some more quotes from inside the properties docs strings, because gmmproc can not handle those yet. 2005-02-18 Murray Cumming * gtk/src/cellrenderer.hg: start_editing(): Add a default value of 0 for the last flags parameter, because this is a valid value. * examples/book/treeview/editable_cells: Added a number_validated column, which shows how to handle edited cells without the convenience functions, and how to validate date. 2005-02-15 Murray Cumming * gtk/src/messagedialog.hg: Deprecate set_markup in favour of set_message(string, false), which now uses the new gtk_message_dialog_set_markup() function. We should not have added this, but we are past API freeze now. Added documentation for set_message() and set_secondary_text(). * examples/book/dialogs/messagedialog/examplewindow.cc: Used set_secondary_text(). 2005-02-13 Murray Cumming * gtk/src/cellview.hg, comboboxentry.hg, image.hg, main.hg, gkd/src/pixbuf.hg: Corrected some minor doxygen documenation errors. 2005-02-13 Murray Cumming * atk/src/atk_signals.defs, gdk/src/gdk_signals.defs, gtk/gtk_signals.defs: Regenerate with latest extra_defs_gen, to get the property documentation. * docs/reference: Added widget_hierarchy html image map and .dia original from Marco Scholten in bug 88610. * docs/index.html: Added link to hierarchy. * docs/reference/Makefile.am: Add extra commands to install and upload the widget_hierarchy files. 2005-02-13 Murray Cumming * gtk/src/cellrenderertext.hg: Added documentation for the edited() method. Bug found by Antonio Coralles. 2005-02-13 Murray Cumming * gdk/src/dragtarget.ccg: get_targets(): Fixed typo to fix the build. 2005-02-07 Ronald Lembcke * gdk/src/dragcontext.ccg: get_targets(): Actually step through the list, instead of looping infinitely. Bug #166412. 2005-02-03 Murray Cumming * gtk/src/targetlist.ccg: Add TargetList:: prefix to the create method, so that it is actually defined. Bug found by Ronald Lembcke. 2005-02-02 Murray Cumming * examples/cellrenderercustom/cellrenderertoggle.cc: AppWindow: Move the inner ModelColumns class outside of the AppWindow class, because the IRIX MipsPro compiler (wrongly) says that its destructor it was referenced but not defined. * examples/gdk/radar.cc: Added #include of math.h, needed by IRIX MipsPro compiler. 2005-02-02 Murray Cumming * gtk/src/treeview.hg: append_column_numeric(), _connect_auto_store_editable_signal(): Use an intermediate function pointer, because the IRIX MipsPro compiler needs that. 2005-02-01 Murray Cumming * examples/book/clipboard/ideal/examplewindow.cc: on_clipboard_received_targets(). Use targets = targets_array instead of targets(targets_array). The IRIX MipsPro compiler needs this, maybe because of the ustring-std::string conversion. We should maybe use ustring anyway. 2005-02-01 Murray Cumming * gtk/gtkmm/comboboxtext.h: Class documentation: Warn about using this with Glade. Bug #165411, 2005-02-01 Murray Cumming * configure.in: Check for atk version 1.9 at configure time, because that is what we use, because it follows the same schedule as gtkmm. 2005-02-01 Murray Cumming * gtk/src/treeview.hg, colorselection.ccg: Remove the #ifdefs for AIX, because sigc::bind now works on AIX. 2.5.6: 2005-01-26 Cedric Gustin * Makefile.am: Added MSVC_Net2003 directory. * configure.in: Added MSVC_Net2003 entries. AC_SUBST GTKMM_*_VERSION macros (for the MSVC resource files) * gtk/gtkmmconfig.h.in: Added dllimport/dllexport rules. Moved HAVE_FLOCKFILE and HAVE_FUNLOCKFILE #undef's to GLIBMM_CONFIGURE section, as it is not relevant to platforms that do not run configure (MSVC for example). * examples/stock/stock.cc, examples/tictactoe/tictactoe.cc: Added Gtk namespace to "manage" calls (Gtk::manage) as required by MSVC. * demos/gtk-demo/demo-common.cc: Fixed typo in #ifdef/#endif structure. Uncommented get_democodedir function. * demos/gtk-demo/textwidget.cc: Use default system font on win32. * MSVC_Net2003/*: Initial commit, imported from gtkmm-2-4 branch. * MSVC_Net2003/gtkmm/Makefile.am, MSVC_Net2003/gdkmm/Makefile.am: Rewrote rule for local copy of g[d|t]kmmconfig.h (required for 'make distcheck'). 2005-01-25 Bryan Forbes * gtk/src/plug.[hg|ccg]: Add a default constructor. 2005-01-25 Murray Cumming * gtk/src/colorselection.hg: set_change_pallete_hook(): On AIX, #ifdef out the part that uses sigc::bind, which does not work with the AIX xlC compiler. This method will be broken of that platform, but it is rarely used anyway. * demos/gtk-demo/demowindow.cc: SUN Forte, AIX, and Tru64 have the problem with flockfile and funlockfile - configure finds it but the compiler can not find it while compiling demowindow.cc. #undef HAVE_FLOCKFILE and HAVE_FUNLOCKFILE for now, so that it builds on those platforms. 2005-01-25 Murray Cumming * configure.in, Makefile.am: Add --disable-demos configure option, by plors in bug #160756. This is needed because AIX does not support sigc::bind at all and the demos would be quite unreadable if we worked around that. This way, at least gtkmm can be installed on AIX. 2005-01-25 Murray Cumming * examples/book/input/main.cc: Do not use O_NONBLOCK, because the example is meant to be blocking. As advised by Chris Vine. 2005-01-25 Murray Cumming * gtk/src/treeview.hg: Use nested sigc::bind<-1>s instead of sigc::bind(), because the Tru64 compiler needs the extra hint. Added #ifdef GTKMM_HAVE_SIGC_BIND() around some templated convenience methods, so we can disable these on AIX. * gtk/src/treemodel.[hg|ccg]: Use Gtk::TreeModel::iterator instead of just iterator, because the Tru64 compiler finds it ambiguous. * demos/example_treeview_editable_cells.cc: Replace use of TreeView::append_column_editable() with the long-winded workaround, so that the IRIX MipsPro and Tru64 compilers can build this 2005-01-18 Marco Scholten * examples/book/custom/custom_widget/examplewindow.cc: Removed #include because it is not used. * examples/book/custom/custom_widget/mywidget.cc: Removed #include because it is not used. In on_realize() removed: -set_flags(Gtk::REALIZED); -set_window( get_parent_window() ); -GtkWidget* cWidget = (GtkWidget*)gobj(); -cWidget->style = gtk_style_attach(cWidget->style, get_window()->gobj()); Added attributes.event_mask = get_events () | Gdk::EXPOSURE_MASK; to make the widget receive expose events. Create GdkWindow and set this as the widgets window Set colors in on_realize() instead of on_expose_event() because this needs to be done only once. Removed colormap in on_expose_event() because of problem with get_default_colormap() (see Bug 163992). I decided not to wait for a fix on that bug because how we set the color is not essential to this example. Made it draw something nice. 2005-01-18 Murray Cumming * demos/gtk-demo/demos.h: Use sigc::ptr_fun() instead of the bare function pointer, because that does not work with the SUN Forte compiler. on_treeview_row_activated(): Use a const reference of the slot with operator[] to avoid ambiguity with the SUN Forte compiler - see the comment in the code. 2005-01-18 Murray Cumming * examples/book/input/main.cc: Add extra #includes, needed by the SUN Forte compiler. 2005-01-18 Murray Cumming * demos/demowindow.cc: #ifdef on __SUNPRO_CC instead of GLIBMM_COMPILER_SUN_FORTE, though we should really find out why GLIBMM_COMPILER_SUN_FORTE is not defined with the SUN compiler. * demos/example_stockbrowser.cc: Remove some consts that the SUN compiler does not allow. * gtk/src/radiobutton.hg: Remove duplicate Group typedef, which SUN Forte complains about. * This should fix the remaining issues in bug #154973. Joel Fredrikson helped with these fixes. 2005-01-11 Murray Cumming * examples/book/custom/custom_widget/mywidget.cc: Fix from Marco (mshcoltn) to make this widget actually draw something: on_realize(): Use get_window() instead of creating our own Gdk::Window. I am not sure why this works, but it is simpler. 2.5.5: 2005-01-10 Murray Cumming * gtk/src/main.[hg|ccg]: Added Main constructor that takes a Glib::OptionContext(), and added Main::add_gtk_option_group(option_context) to wrap functionality in gtk_init_with_args() and gtk_get_option_group(), hopefully. * tests/: Added main_with_option_group to show that it works. 2005-01-10 Murray Cumming * gtk/src/combobox.hg, comboboxentry.hg, clipboard.hg, cellview.hg, celllayout.hg, celleditable.hg, cellrenderer*.hg: Added class documentation, based on the C documentation. * gtk/src/clipboard.hg: Added set_can_store() overload that takes no arguments. * gtk/src/combobox.hg: Added unset_row_separator_func(). 2005-01-09 Murray Cumming * gtk/src/filechooserbutton.[hg|ccg]: Inherit from the FileChooser interface. Add constructor which takes no title. Add documentation, based on the C documentation. 2005-01-09 Murray Cumming * gtk/examples/book/buttons/: Added filechooserbutton example, though I see g_warnings. 2005-01-09 Murray Cumming * gtk/examples/book/treeview/list/examplewindow.[h|cc]: Add an extra model column, rendered with a CellRendererProgress, to show that it works. 2005-01-08 Murray Cumming * gtk/src/aboutdialog.hg: Add logo_icon_name proeprty. * gtk/src/iconview.hg: Wrap the properties. 2005-01-07 Murray Cumming * Makefile.am: Offline documentation tarball: Do not try to tar up non existant docs/internals directory. Put 2-4 in the tarball name to avoid confusion. * docs/index.html: Correct the offline documentation link, so that people do not download the tarball for the 2.0 documentation instead. Bug #163122. 2005-01-07 Murray Cumming * gtk/src/modelfilter.hg: Added documentation for set_modify_func(). * pango/src/renderer.hg: Added get_color(), * pango/src/color.hg: Added operator bool() so that people can check for a null Color returned by Renderer::get_color(). 2005-01-07 Murray Cumming * gtk/src/entrycompletion.hg, toolitem.hg: Added //TODO comments to tell us to add default signal handlers when we can break ABI. Also remove an extra ; to avoid a warning and fix the build. 2005-01-06 Bryan Forbes * updated .cvsignore files. * gtk/gtkmm/stock.[h|cc]: Added new stock items. * gtk/src/entrycompletion.hg: Changed to use no_default_handler on insert_prefix signal. * gtk/src/filechooserdialog.[hg|ccg]: * gtk/src/filechooserwidget.[hg|ccg]: Added constructors to choose the backend used. * gtk/src/main.[hg|ccg]: Added commented constructors for gtk_init_with_args so we can take a look at it. * gtk/src/toolitem.hg: Changed to use no_default_handler on set_tooltip signal. 2005-01-06 Murray Cumming * gdk/src/pixbufloader.hg, gtk/src/cellrenderer.hg, gtk/src/range.hg: For the signals that are new in gtkmm 2.5, use the extra no_default_handler argument with _WRAP_SIGNAL(), to avoid adding new virtual functions which would break the ABI by increasing the size of base class objects. 2005-01-06 Murray Cumming * gtk/src/treeiter.[hg|ccg]: Add forward_search() and backward_search() overloads without the limit argument. * gtk/src/gtk_docs_override.xml: Correct the documentation for the full forward_search() and backward_search() methods, so that it does not suggest 0 for references. Bug found by Rob Page. 2005-01-06 Murray Cumming * examples/book/dialog/: Added aboutdialog example. 2.5.4: 2005-01-05 Murray Cumming * atk/src/atk_enums.defs: Regenerated. * atk/src/relation.hg: Added add_target(). * atk/src/relationset.hg: Added add_relation_by_type(). * atk/src/text.hg: Added get_range_extents(), get_bounded_ranges(). 2005-01-05 Murray Cumming * gdk/src/gdk_pixbuf.defs: Updated with h2defs.py * gdk/src/display.[hg|ccg]: Added supports_selection_notification(), request_selection_notification(), supports_clipboard_persistance(), store_clipboard(). * gdk/src/pixbuf.[hg|ccg]: Added rotate_simple(), flip(), save_to_buffer(). * gdk/src/pixbuf_format.hg: Added is_scalable(), is_disabled(), set_disabled(), get_license(). * gdk/src/window.hg: Added enable_synchronized_configure(), configure_finished(), set_focus_on_map(). 2005-01-05 Murray Cumming * gdk/src/gdk_methods.defs: Updated with h2defs.py. 2005-01-04 Murray Cumming * gdk/src/gdk_enums.defs, gtk/src/gtk_enums.defs, gtk/src/gtk_signals.defs: Regenerated. * gtk/src/gtk_others.defs: Added get_authors, get_documentors and get_artists because h2defs.py does not add them to gtk_methods.defs, for some reason. * gtk/src/action.hg: Added get_accel_path(). 2005-01-04 Murray Cumming * gtk/src/treeview.hg: Added hover_expand and hover_selection properties. 2005-01-03 Bryan Forbes * gtk/src/cellrenderertext.hg: added properties "language", "ellipsize", and "ellipsize-set". 2.5.3: 2004-12-19 Murray Cumming * gdk/pixbuf.hg: Added create_from_file() overload that takes height and width, wrapping gdk_pixbuf_create_from_file_at_scale(). Bug #157894. 2004-12-19 Claudio Saavedra * example/book/input/main.cc: Improved example to use a Glib::IOChannel. References bug #138259. 2004-12-19 Murray Cumming * gtk/src/cellrenderer.hg: Added stop_editing() which replaces the now-deprecated editing_cancelled(). * gtk/src/iconview.hg: Added get/set_columns(), get/set_item_width(), get/set_spacing(), get/set_row_spacing(), get/set_column_spacing(), get/set_margin(). * gtk/src/label.hg: Added get/set_max_chars_width(), and property. * gtk/src/textview.hg: Added get_iter_at_position(). * gdk/src/gdk_docs.xml, pango/src/pango_docs.xml, gtk/src/gtk_docs.xml: Regenerated with docextract_to_xm.py, to get new GTK+ documentation. 2004-12-19 Murray Cumming * gtk/src/filechooserbutton.hg: Constructors: Added action parameters, because they have been added to the GTK+ API. * gtk/src/gtk_methods.defs: Regenerated with h2defs.py 2004-12-16 Murray Cumming * examples/book/dialogs/messagedialog/examplewindow.cc: The ButtonsType enum is not an ORable flag. * docs/tutorial/gtkmm-tut.xml: Fix the text where it says that it is. 2004-12-16 Murray Cumming * gtk/src/cellview.hg: Remove set_value(), because it has been removed from GTK+. This fixes the build. Now inherits from the CellLayout interface. Added text and pixbuf constructors, to match the C _new conveience functions. 2.5.2: 2004-12-04 Roger Leigh * configure.in: Bug #160244: Ask automake to use the utar format, to fix the problems with the long filenames of our documentation in the tarballs. 2004-12-03 Murray Cumming * gtk/src/treeview.hg: Added append_column_numeric() which allows you to specify a printf-style format string for the View column, and append_column_numeric_editable() which does the same, and auto-stores decimal input. Updated the append_column() documentation to improve the explanation of supported types, and to suggest use of append_column_numeric(). * examples/book/treeview/list/, editable_cells/: Demonstrate these new convenience methods. 2004-12-01 Murray Cumming * gtk/src/label.hg: Added get/set_angle(). 2004-12-01 Murray Cumming * gtk/src/filechooserbutton.hg: GtkFileChooser inherits from HBox, not Button. 2004-12-01 Murray Cumming * gtk/src/filechooserbutton.hg: Removed get/set_active(), because they have been removed from GTK+. 2004-12-01 Murray Cumming * gtk/src/cellview.hg: Removed set_cell_data() because it has been removed from GTK+. 2004-12-01 Murray Cumming * pango/pangomm/: Added types.h, for typedefs of simple structs. * pango/src/: Added renderer.[hg|ccg]. * pango/src/context.hg: Add get/set_matrix(). * pango/src/fontmetrics.hg: Added get_underline_position(), get_underline_thickness(), get_strikethrough_position(), get_strikethrough_thickness(). * pango/src/pango_enums.defs: Regenerated. * tools/m4/convert_pango.m4: Added Matrix and Layout conversions. 2004-11-30 Murray Cumming * tools/m4/convert_gtk.m4: Use _CONVERT_CONST_REFPTR_TO_P_SUN() instead of _CONVERT_CONST_REFPTR_TO_P(), to hopefully fix the SUN Forte build problems in bug #154973. 2004-11-30 Murray Cumming * examples/book/menus_and_toolbars: Applied Fredrik Arnerup's patch to add a non-stock icon, with some changes. 2004-11-30 Murray Cumming * atk/src/hyperlink.hg: get_object(), * atk/src/object.hg: get_relation_set(), * gdk/src/cursor.hg: get_display(), * gdk/src/display.hg: get_default_group(), * gdk/src/displaymanager.hg: get_default_display(), * gdk/src/drawable.hg: get_screen(), get_display(), * gdk/src/event.hg: get_screen(), * gdk/src/visual.hg: get_system(), get_best(), get_screen(), * gtk/src/widget.hg: get_default_style() 2004-11-25 Chris Vine * example/book/input/: This now works. 2004-11-25 Murray Cumming * docs/tut/gtkmm-tut.xml: TreeView selection: Use selected_foreach_iter() instead of selected_foreach(). Error found by Teus Benschop. 2004-11-24 Murray Cumming * demos/gtk-demo/: Added missing demo-common.[h|cc] files. * gtk/src/treeview.hg, gdk/src/pixbuf.hg, : Removed extra ; and unused parameter to fix build for g++ 3.4. 2004-11-21 Murray Cumming * gtk/src/dialog.[hg|ccg]: Added set_alternative_button_order(). * gtk/src/button.[hg|ccg]: Added set/get_image() and property. 2004-11-17 Murray Cumming * gtk/src/iconinfo.[hg|ccg]: Added operator bool(), needed to check the result of IconTheme::lookup_icon(). Bug #143018. 2004-11-16 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Mention Gtk::manage() in the Basics/ Widgets section, with a link to the Memory Management chapter, so that people have an explanation of manage() before it is used in examples. Bug #138248. 2004-11-16 Claudio Saavedra * docs/tutorial/gtkmm-tut.xml: Fixed two typos in Chapter 19 and Appendix A. * examples/book/helloworld/helloworld.cc: Fixed wrong reference to a inexistent method in a comment. 2.5.1: 2004-11-11 Murray Cumming * gtk/src/filechooser.hg: Wrap GTK_FILE_CHOOSER_ERROR as exception. Still need to investigate whether GTK_FILE_SYSTEM_ERROR is public API. * gtk/src/icontheme.hg: Wrap GTK_ICON_THEME_ERROR as exception instead of enum. Luckily, the enum was not used in the API anywhere so nobody can be using it. * examples/book/: Added input example, based on code that was in the tutorial inline. This needs to be updated properly - see TODO in the code. * docs/tutorial/gtkmm-tut.xml: Some minor corrections to the Idle/Timeout chapter, but it needs to be reviewed properly after we have finished the example. Get the example from the source, instead of pasting it inline. * gdk/src/pixbufloader.hg: Wrap size_prepared signal. I am not sure why this was not wrapped in 2.4. * gtk/src/filefilter.hg: Add add_pixbuf_formats(). 2004-11-11 Murray Cumming * gtk/src/textbuffer.hg: Added ; to fix build. 2004-11-10 Murray Cumming * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/selectiondata.hg: Added targets_include_image(). * gtk/src/progressbar.hg: Added set/get_ellipsize() and property. * gtk/src/label.hg: Added set/get_single_line_mode() and property. * gtk/src/clipboard.hg: Added set_image(), wait_is_image_available(), wait_for_image(), request_image(). * gtk/src/toolitem: Added rebuild_menu(). 2004-11-08 Murray Cumming * examples/book/treeview/combo_renderer/examplewindow.[h|cc]: Use a combo model from the treeview model, now that it works in GTK+. 2004-11-07 Murray Cumming * gtk/src/combocellrenderer.hg: The model is a TreeModel, not a Pixbuf. * gtk/gtkmm/cellrenderer_generation.[h|cc]: Remove the TreeModel/Combo specialization, because the Combo is not for representing or editing a TreeModel - it's just to use a TreeModel to present choices for a text column. * examples/book/treeview/combo_renderer/examplewindow.[h|cc]: This now works. 2004-11-04 Murray Cumming * gtk/src/messagedialog.hg: Reverted set_message() implementation change and added set_secondary_text(). * gtk/src/dialog.hg: Added alternative_button_order(). * gtk/src/: Added cellrenderercombo.[hg|ccg] and cellrendererprogress.[hg|ccg]. * gtk/gtkmm/cellrenderer_generation.[h|cc]: Add template specializations to create a CellRendererCombo when the model is of type TreeModel. * pango/src/context.hg: Added get_font_map(). * examples/book/treeview/: Added combo_renderer example - does not actually work yet. 2004-11-03 Murray Cumming * examples/book/menus/popup/examplewindow.[h|cc]: Use the popup UIManager node type, so that this example works. * docs/tutorial/gtkmm-tut.xml: Update the popup menu section. 2004-11-03 Murray Cumming * Removed gtkmm.spec.in and mention of it in configure.in and Makefile.am, yet again. There is no point in having a broken spec file that nobody is maintaining. spec files are distro-specific and belong with distros. 2004-10-31 Murray Cumming * gtk/src/treemodelfilter.ccg: SignalProxy_Modify::gtk_callback(): Do not return before actually copying the value. * examples/book/treeview/: Added filter_modify example, to show the use of set_modify_func(). 2004-10-30 Murray Cumming * gtk/src/gtk_methods.hg: Regenerated with h2defs.py. * gtk/src/window.hg: Added drag_dest_add_text_targets(), drag_dest_add_uri_targets(), drag_dest_add_image_targets(), drag_source_add_text_targets(), drag_source_add_uri_targets(), drag_source_add_image_targets(). * gtk/src/aboutdialog: Added get_logo_icon_name(), and set_logo_icon_name(). * gtk/src/clipboard.hg: Added wait_is_target_available(), set_can_store(), store() * gtk/src/filechooserbutton: Added get/set_width_chars() * gtk/src/image.hg: Added set_from_icon_name(), get/set_pixel_size(), get_icon_name() * gtk/src/label.hg: Added get/set_width_chars(). * gtk/src/messagedialog.[hg|ccg]: Made set_message() public and reimplemented it with gtk_message_dialog_format_secondary_text() and gtk_message_dialog_format_secondary_markup() instead of the private label field. * gtk/src/selectiondata.hg: Added get/set_pixbuf(), get/set_uris(). 2004-10-30 Murray Cumming * gtk/src/treemodelfilter.[hg|ccg]: Added implementations of set_value_impl() to ouput a warning when it is used instead of the child model. Added const versions of patch convert methods. * gtk/src/treeview.[hg|ccg]: Added _get_base_model() non-public API member method to get the child model, if necessary. Used it in the cell renderer signal handlers instead of get_model(). * Added examples/book/treeview/filter, from the gtkmm-2-4 branch. 2004-10-16 Gene Ruebsamen * docs/tutorial/gtkmm-tut.xml: Added a chapter for the new gtk-2.4 FileChooserDialog. * docs/tutorial/figures/dialogs_filechooser.png: Added a PNG image of the new FileChooserDialog. 2004-10-25 Roger Leigh * build_shared/Makefile_build.am_fragment: Use PLATFORM_WIN32 rather than OS_WIN32 so that -no-undefined is used on Cygwin as well as MinGW toolchains. 2004-10-25 Murray Cumming * gtk/gtkmm.h: #include filechooserwidget.h, as suggested in bug #156170 from Arjan Timmerman. 2004-10-24 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Updated the menus and toolbars section about UIManager, though the popup example does not work yet, and I should mention ui merging and toggle items. 2004-10-22 Murray Cumming * gtk/src/treemodelfilter.hg: _WRAP_CTOR: Rename root parameter to virual_root so that it sets the correct property. 2004-10-22 Murray Cumming * gtk/src/treeiter.hg: In ifdef, use SUN-Forte-style reverse_iterator. Patch from TODO in bug #154973. 2004-10-22 Murray Cumming * gtk/src/aboutdialog.hg: Wrap the get and set methods that deal with char** arrays, using Glib::SArrayHandle. Wrap the callback set methods with a SignalProxy. * gtk/src/gtk_signals.defs: Add signals and properties for AboutDialog and MenuToolButton. * tools/extra_defs_gen/generate_defs_gtk.cc: Get defs for GtkAboutDialog and GtkMenuToolButton. * gtk/src/action_group.hg: Add translate_string(). We probably need to use iit in the .ccg file. * gtk/src/icontheme.hg: Added get_icon_sizes(). * gtk/src/iconview.hg: Added get_selected_items(). * tools/m4/convert_gtk.m4: Added conversion for SArrayHandle to char**, and GList* to SListHandle 2004-10-17 Gene Ruebsamen * docs/tutorial/gtkmm-tut.xml: Updated the Windows installation appendix by providing a link to the latest Gtk+ Win32 installer, and updating the installation instructions. 2004-10-12 Murray Cumming * examples/book/custom/custom_container.cc: Use only C++ methods instead of the C functions, now that they are public. * docs/tutorial/figures/: Added custom_container.png. 2004-10-10 Murray Cumming * docs/tutorial/gtkmm-tut.xml: Added Custom Widgets chapter, so far with a Custom Container section and example. 2004-10-10 Murray Cumming * gtk/src/widget.hg: Made set_parent(), and unparent() public instead of protected, because they are need by custom Containers. Added size_request() which is const and actually returns a value, also needed by custom Containers. * gtk/src/accelgroup,hg: Wrap the new gtk_accelerator_get_label() function. * gtk/src/comboboxentry.[hg|ccg]: Hand-code get_entry() to fix the build. * gtk/src/: Added menutoolbutton.[hg|ccg]. * gtk/gtkmm/comboboxtext.[h|cc], comboboxentrytext.[h||cc]: Added set_active_text(), clear(). Reimplemented append() and prepend() without using the C functions, because they might not work with our model. 2004-10-09 Murray Cumming * docs/index.html: Changed cvs links to viewcvs, because lxr and bonsai are still broken. 2004-10-09 Murray Cumming * gtk/src/style.hg: Add create() method, as per bug #148012. 2004-10-09 Murray Cumming * gtk/src/comboboxentry.hg: Added get_entry(), as per bug #142758. 2004-09-04 Jonathan Brandmeyer * gdk/src/screen.hg: get_default(): Take an extra reference so that the Screen is not deleted too early. 2004-09-17 Murray Cumming * iconview.hg: Added overrides of set_text_column(), and set_pixbuf_column() that take ModelColumns instead of ints. Wrapped signals. Added foreach() * cellview.hg: Make get_size_of_row() const. * tools/extra_defs_gen/gtk_extra_defs_gen: Added new types. * gtk/src/gtk_signals.defs: Regenerated (making the usual corrections for Event* and gpointer parameters. * combobox.[hg|ccg], treeview.[hg|ccg]: Add set_row_separator_func(), with common implementation in treeview-private.[h|cc]. * range.hg: Wrapped change_value signal. * demos/gtk-demo/: Added example_iconview.cc, which demonstrates the IconView and is a C++ version of the C original.. 2.5.0: 2004-09-12 Murray Cumming * gtk/src/: Added cellview.[hg|ccg]. 2004-09-10 Murray Cumming * pango/src/layout: Added set_ellipsize(), get_ellipsize(), and EllipsizeMode enum. * pango/src/pango_enums.defs: Regenerated. * pango/src/pango_methods.defs: Regenerated. * gtk/src/: Added iconview.[hg|ccg|, filechooserbutton.[hg|ccg]. * gtk/src/entry.hg: Added layout_index_to_text_index() and text_index_to_layout_index() * gtk/src/entrycompletion.hg: Added insert_prefix(), set_inline_completion(), get_inline_completion(), set_popup_completion(), get_popup_completion(), get_text_column() * gtk/src/combobox.hg: Added get_wrap_width(), get_row_span_column(), get_column_span_column(), get_add_tearoffs(), set_add_tearoffs(), get_focus_on_click(), set_focus_on_click(), get_popup_accessible(). Wrapped new properties. * gtk/src/action.hg: Wrap new gtk_action_set_sensitive() instead of writing our own method. Add set_visible() too. * gtk/src/label.hg: Added set_ellipsize(), get_ellipsize(). * gtk/src/cellrenderer.hg: Added editing_started signal. * gtk/src/filechooser.hg: Added set_show_hidden(), get_show_hidden(). * gtk/src/gtk_methods.defs: Regenerated. * gtk/src/treesortable.hg: Added DEFAULT_UNSORTED_COLUMN_ID constant. * gtk/src/treeview.hg: Added set_fixed_height_mode(), get_fixed_height_mode(), set_hover_selection(), get_hover_selection(), set_hover_expand(), get_hover_expand() 2004-09-02 Murray Cumming * This is the HEAD branch, which should wrap new API in GTK+ 2.5/2.6. 2004-08-30 Murray Cumming * examples/book/dialogs/fileselection/examplewindow.cc: Removed a misleading include. 2.4.5: 2004-08-07 Murray Cumming * gtk/src/toolbar.hg: Class documentation: remove mention of tools() which no longer exists. * examples/book/treeview/drag_and_drop: Correct the implementation of the vfuncs so that they actually work. In particular they are const in gtkmm 2.4. 2004-07-16 Murray Cumming * gtk/src/settings.ccg: get_default(): Use reference() instead of an extra parameter, to fix the build. 2004-07-15 Murray Cumming * gtk/src/settings.ccg: get_default(): Take an extra reference so that the Settings is not deleted too early. Bug #147592. 2004-07-15 Murray Cumming * examples/book/treeview/: Added popup example, which was already in gtkmm 2.0/2.2. 2004-07-08 Murray Cumming * docs/tutorial/gtk_tut.xml: libglademm chapter: Mention memory management. 2004-07-08 Murray Cumming * Patch from Christopher Palm in bug #145594, to change ActionGroup and EntryCompletion constructors from private to protected. Lets hope there are no more of these, because this is technically API change in the stable branch. However, the methods already exist and are tested by the create() methods, and are simple and generated, and therefore unlikely to have errors. Also, this change will only be useful to a very small number of people, so it does not confuse the API versions. 2004-07-04 Murray Cumming * docs/tutorial/gtkmm_tut.xml: Tell people to pkg-config for 2.4 instead of 2.0. 2004-07-02 Murray Cumming * gtk/src/uimanager.hg: Made constructor protected, like in the previous change. * gtk/src/treesortable.hg: Added docs explaining the return values for the sort func. 2.4.4: 2004-07-01 Murray Cumming * gtk/src/action.hg, toggleaction.hg, radioaction.hg, icontheme.hg: Added protected keyword at start of class so that the constructors can be used by derived classes. This is addition of API in the stable branch, but it should not affect many people and it is a little too embarassing to leave as it is. 2004-06-30 Murray Cumming * gtk/src/container.hg: Add code to the GClass init() function to null the remove callback if the type is actually GtkContainer rather than a derived class. The default implementation in GtkContainer complains about it not being implemented, but that is useless and annoying to us when deriving directly from Gtk::Container. 2004-06-20 Daniel Elstner * gtk/src/stockitem.ccg (StockItem::StockItem): Pass a 0 pointer to GTK+ if translation_domain is the empty string, so that the application's global translation domain will be used by default. 2004-06-20 Daniel Elstner * gtk/src/widget.ccg (Widget::unset_fg): First cast Gtk::StateType to int and then to GtkStateType, because direct static_cast<> from one enum type to another is invalid C++. Why g++ 3.3 accepts this is a mystery to me though... (Widget::unset_bg): ditto (Widget::unset_text): ditto (Widget::unset_base): ditto. 2.4.3: 2004-06-16 Daniel Elstner * gtk/src/treeiter.ccg (TreeIter::operator--): Correctly decrement the end iterator. Also assert that the iterator is not already at the begin of the sequence. * gtk/src/treeiter.hg (TreeIter::operator--): s/slow/very slow/ 2004-06-15 Murray Cumming * gtk/gtkmm/comboboxentrytext.h: Correct the header guard so that it can be used at the same time as comboboxentry.h. * gtk/gtkmm/comboboxentrytext.cc, comboboxtext.cc: Implement the GObject* castitem constructors. 2004-06-08 Cedric Gustin * gdk/gdkmm/Makefile.am: link against libpangomm-1.4 instead of 1.6 on win32 (sublib_win32_dlls_libs variable). 2.4.2: 2004-06-04 Daniel Elstner * gtk/src/filechooser.hg (FileChooser): Copy the class docs from GTK+. Also explain the fact that the API is broken and how to use it correctly despite this problem (bug #142138). 2004-06-03 Murray Cumming * gtk/src/treeview.ccg: get_path_at_pos(): Correct memory management of the path. Bug #142970 from david@thepriorities.com. 2004-05-28 Murray Cumming * docs/FAQ/gtkmm_faq.xml: Mentioned gtkmm 2.4. 2004-05-28 Murray Cumming * gtk/src/combobox.ccg: get_active(): Instantiate a Gtk::TreeModel::iterator instead of the GtkTreeIter, so that the underlying GtkTreeIter is properly initialized. 2004-05-25 Daniel Elstner * demos/pixbuf-demo.cc: More micro tweaking. 2004-05-25 Daniel Elstner * demos/pixbuf-demo.cc: Minor cleanups: use const double rather than a macro for pi, no need to explicitly maintain the timeout signal connection, and some other stuff. 2004-05-23 Murray Cumming * gtk/gtkmm/comboboxentrytext.cc: Patch from Teemu Tervo to prevent the text column from being added twice, in bug #142956. 2004-05-22 Daniel Elstner * configure.in: Check for gthread-2.0 and if it exists, substitute the required compiler flags into GTHREAD_CFLAGS. This is necessary to make the library code work correctly in a threaded application. For instance, on glibc systems errno is replaced by a macro which expands into a function call. Actually this stuff was already in place, but apparently got lost when glibmm was split off. * build_shared/Makefile_build.am_fragment (all_includes): Append $(GTHREAD_CFLAGS). 2004-05-19 Daniel Elstner * gtk/gtkmm.h: Remove duplicated combobox.h include. Add missing includes of comboboxentry.h and comboboxentrytext.h. 2004-05-18 Daniel Elstner * gtk/src/treeiter.ccg (TreeIter::operator bool): Put the original test for gobject_.stamp != 0 back in place. The iter_is_valid() method provided by model implementations is intended for debugging purposes only, and thus should not be used here (bug #142599). * gtk/src/treemodel.hg (TreeModel::iter_is_valid): Document that the usage of this method as abstract interface is deprecated, and that the implementation's iter_is_valid() should be used directly. 2004-05-14 Murray Cumming * gtk/gtkmm/comboboxtext.cc, comboboxentrytext.cc: get_active_text(): The iterator was being used in ways that probably should not compile. This leads to strange results in other situations, so it is best to fix it. 2.4.1: 2004-04-25 Murray Cumming * gdk/Makefile.am: install gdkmmconfig.h in a gdkmm-2.6 directory, instead of a gtkmm-2.6 directory. Bug #141045. 2004-04-23 Murray Cumming * gtk/src/uimanager.[hg|ccg]: add_ui_from_string now returns a ui_merge_id instead of a guint, to make the API clearer. This is technically an API change, but it's not a breaking one, and it's not an ABI change. 2004-04-22 Alexander Nedotsukov * atk/atkmm: Fixed private/ includes installation directory. 2004-04-17 Murray Cumming * gtk/src/optionmenu.hg, fileselection.hg, combo.hg: Mark them as deprecated in the docs, by using the Doxygen @deprecated command. 2004-04-17 Murray Cumming * Removed some extra semi-colons detected by gcc 3.4 from cvs. 2.4.0: 2004-04-11 Murray Cumming * atk/src/: Added implementor.[hg|ccg] to wrap the AtkImplementorIface. * gtk/src/widget.hg: Widget inherits from the Implementor interface as well as Gtk::Object. 2004-04-10 Murray Cumming * gtk/gtkmm.h: #include treemodelsort.h and treemodelfilter.h * gtk/src/menu.hg: popup(): Wrap the C callback as a Slot, so we do not need to include gtkmenu.h. * gtk/src/iconinfo.hg: Do not include gtkiconinfo.h. * gtk/src/notebook.hg: Do not include gtknotebook.h * gtk/src/stockitem.hg: Do not include gtkstockitem.h * gtk/src/texttag.hg: Do not include gtktexttag.h 2004-04-09 Murray Cumming * toolbar.hg: Added get_tooltips_object() accessor, which should let us set tooltips on toolbar objects. 2004-04-09 Murray Cumming * filefilter.hg: Create a FileFilter::Info class to use in place of GtkFileFilterInfo, in the add_custom() callbak . Removed filter(), because it is not needed and because it is difficult to wrap. 2004-04-08 Bryan Forbes * gtk/gtkmm.h: include gtkmm/settings.h. 2.3.8 2004-04-09 Murray Cumming * gtk/src/action.hg: Added set_tooltip(). 2004-04-07 Bryan Forbes * gtk/src/icontheme.hg: added refreturns for get_default and get_for_screen. * gtk/src/settings.hg: added unwrapped properties. * gtk/src/targetlist.[hg|ccg]: added a create method that wraps gtk_target_list_new. 2004-04-07 Murray Cumming * Removed some TODO comments that are no longer relevant. 2004-04-03 Murray Cumming * gtk/src/treemodel.[hg|ccg]: Rename 2 of the 3 foreach() overloads to foreach_iter() and foreach_path(), because they are ambiguous with libsigc++ 2. 2004-04-03 Murray Cumming * gtk/src/liststore.[hg|ccg], treestore.[hg|ccg]: Added insert_after(), because it is apparently faster with many rows. Bug #131019. 2004-04-01 Murray Cumming * gtk/src/action.[hg|ccg]: Added set_sensitive(), even though it does not exist in GTK+ itself yet. Spotted by Matthew Walton. 2.3.7: 2004-03-28 Bryan Forbes * gtk/src/action.[hg|ccg]: * tools/m4/convert_gtk.m4: changed Action::create_menu_item(), create_tool_item(), and create_icon() to return Gtk::MenuItem*, Gtk::ToolItem*, and Gtk::Image respectively, rather than Gtk::Widget*. 2004-03-28 Murray Cumming * gtk/src/uimanager.ccg: Fix typo to fix the build. * */src/*_methods.defs: Regenerated with h2defs.py. 2004-03-28 Murray Cumming * *_docs_override.xml: Added several overrides to remove references to 0 parameters and freeing of strings. * atk/src/table.hg: Added const versions of some get_*() methods. 2004-03-25 Andrew E. Makeev * gtk/src/treeview.hg, gtk/src/treeview.ccg: Added move_column_to_start(), which uses gtk_tree_view_move_column_after() with a 0 parameter. 2004-03-26 Elijah Newren * docs/tutorial/gtkmm-tut.xml: Several simple fixes. 2004-03-27 Murray Cumming * example/book/: Added menus_and_toolbars example that uses UIManager. The book should probably stop using the other menu and toolbar examples and they should be moved away. 2004-03-27 Murray Cumming * gtk/src/action.ccg, toggleaction.ccg, radioaction.ccg: Constructor: Give GTK+ 0 instead of "" for default labels and tooltips, so that the stock ones are used. 2004-03-25 Murray Cumming * gtk/src/filefilter.[hg|ccg]: Wrapped filefilter as a GtkObject instead of a GObject, because it is a GtkObject. * examples/book/dialogs/filechooserdialog/: Used filefilter. 2004-03-25 Bryan Forbes * gtk/src/messagedialog.[hg|ccg]: removed use_separator parameter from constructor as GtkMessageDialog gets its separator setting from the style now. 2004-03-24 Bryan Forbes * gtk/src/uimanager.hg: fixed typo in disconnect_proxy signal. 2004-03-21 Elijah Newren * doc/FAQ/gtkmm-faq.xml: Updated to mention gtkmm2 more than gtkmm 1.2. 2004-03-20 Murray Cumming * demos/gtk-demo/demowindow.cc: Use sigc::ptr_fun() instead of giving the set_select_function function pointer directly to connect. 2004-03-20 Murray Cumming * ActionGroup::get_action(), Clipboard::get_owner(), ComboBox::get_model(), Entry::get_layout(), get_completion(), EntryCompletion::get_model(), FileChooser::get_filter(), IconInfo::get_builtin_pixbuf(), IconSource::get_pixbuf(), Image::get_pixbuf(), get_animation(), Menu::get_accel_group(), Scale::get_layout(), TreeModelFilter::get_model(), UIManager::get_accel_group(), get_action(), Widget::drag_begin(): Use refreturn. * Entry::get_layout(), IconInfo::get_builtin_pixbuf(): IconSource::get_pixbuf(), Image::get_pixbuf(), Menu::get_accel_group(): Added const versions. (Thanks to Bryan Forbes for finding the missing refreturns.) 2004-03-18 Murray Cumming * gtk/src/icontheme.hg: Wrapped changed signal. 2004-03-14 Murray Cumming * gtk/src/bin.ccg remove(), gtk/src/container.[hg|ccg]: If the child widget is managed, do a reference on the child widget before removing it, so that it is not destroyed, and is ready for a new container, just like when it was first instantiated. 2.3.6: 2004-03-14 Murray Cumming * demos/demowindow.cc: Do not use flockfile if we are using the SUN compiler, even though it passes the configure test, because it does not seem to work here. 2004-03-13 Murray Cumming * gtk/src/toolbar, treestore: Removed extra semicolon to remove g++ 3.4 warning. 2004-03-13 Murray Cumming * atk/src/hypertext.hg, Removed extra semicolon to remove g++ 3.4 warning. 2004-03-12 Cedric Gustin * README.win32: Updated file for upcoming gtkmm-2.4. * atk/src/action.hg, atk/src/component.hg, atk/src/object.hg, gtk/gtkmm/accelmap.cc, gtk/gtkmm/accelmap.h, gtk/gtkmm/comboboxtext.cc, gtk/gtkmm/comboboxtext.h, gtk/src/main.ccg : Removed many #ifndef WIN32 as all methods are now available/dllexported on win32, with the exceptions og Plug and Socket. * atk/atkmm/Makefile.am, atk/atkmm/private/Makefile.am, atk/src/Makefile_list_of_hg.am_fragment, build_shared/Makefile_build.am_fragment, build_shared/Makefile_build_gensrc.am_fragment, build_shared/Makefile_conditional.am_fragment, build_shared/Makefile_gensrc.am_fragment, gdk/gdkmm/Makefile.am, gdk/gdkmm/private/Makefile.am, gdk/src/Makefile_list_of_hg.am_fragment, gtk/gtkmm/Makefile.am, gtk/gtkmm/private/Makefile.am, gtk/src/Makefile_list_of_hg.am_fragment, pango/pangomm/Makefile.am, pango/pangomm/private/Makefile.am, pango/src/Makefile_list_of_hg.am_fragment: Revamped the Makefile.am helpers to accomodate multiple platforms (general, posix, win32) and files sections (regular and deprecated files). 2004-03-12 Murray Cumming * docs/reference/Makefile.am: remove the make dependency of html/index.html on the generated installed beautify_docs.pl script, so that docs are not rebuilt when building from a tarball. Bug #136597 from dalgoda. 2004-03-12 Murray Cumming * examples/cellrenderercustom/cellrendererpopup.cc: Removed some accidentally pasted text that breaks the build. 2004-03-11 Murray Cumming * demos/gtk-demo/demowindow.cc: Added #ifdef GLIBMM_COMPILER_SUN_FORTE around the strange flockfile and funlockfile function prototypes, to avoid problems on platforms which declare them differently. 2004-03-09 Murray Cumming * Some, but not all, SUN Forte build fixes: * demos/gtk-demo/demowindow.cc: Added prototypes for flockfile() and funlockfile() because it does not seem to get them from stdio.h - very strange. Commented-out the g_assert() lines that it says as badly formed. * demos/gtk-demo/textwidget.cc: Made the next_token char* const. * examples/book/clipboard/ideal/examplewindow.cc: on_clipboard_received_targets: Remove the useless const from the std::list variable because it confused the compiler. * examples/cellrenderercustom/cellrendererpopup.cc: on_show_popup(): Use namespaced class name when specifying a particular version of gobj(). * gdk/src/display.hg: Removed lots of extra ;s that caused warnings. * gdk/src/pixmap.ccg: Use unwrap instead of unwrap - this is the same as the sun-specific stuff in tools/m4/convert_*.m4. * gdk/src/pixmap.hg: Removed extra ;s that cause warnings. * gtk/src/textbuffer.ccg: insert_(): Some const changes - see the comments. * tools/m4/convert_gdk.m4, convert_glib.m4: Use existing sun-specific conversion when converting from any RefPtr to *Something. 2004-03-09 Murray Cumming * Regenerated gtk/src/gtk_docs.xml, and gdk/src/gdk_docs.xml with docextract_to_xml.py. * docs/reference/Makefile.am: Upload doxygen-warnings.txt and doxygen-output.txt every time, so everybody sees them. 2004-03-09 Hagen Moebius * Recent efforts cumulated in a massive documentation patch, which eliminates almost all doxygen warnings/errors. Files: atk/atkmm/init.h, gdk/src/display.hg, drawable.hg, gdk_docs_override.xml, pixbuf.hg, window.ccg, window.hg, gtk/gtkmm/accelkey.h, gtk/src/accellabel.hg, alignment.hg, box.hg button.hg, cellrenderer.hg, filechooser.hg, gtk_docs_override.xml, image.hg, layout.hg, main.hg, notebook.hg, rc.hg, textbuffer.hg, treedragdest.hg, treemodelfilter.hg, treemodel.hg, treepath.hg, treeview.hg, widget.hg, window.hg, pango/src/attributes.hg, pango_docs_override.xml 2004-03-07 Murray Cumming * Regenerated *_docs.xml files for atk, gdk, pango, and gtkmm, because Hagen Moebius improved the docextract_to_xml.py script. 2004-04-07 Hagen Moebius * added documentation to gtk/src/viewport.hg, gtk/src/toolbutton.hg, gtk/src/toggletoolbutton.hg, gtk/src/separatortoolitem.hg and gtk/src/range.hg. Fixed a spelling error in gtk/src/radiotoolbutton.hg. All documentation copy/pasted from Gtk+, so still room for imrovement. 2004-04-06 Hagen Moebius * modified docs/reference/Makefile.am to support a more general output of doxygen warnings/errors. 2004-03-06 Murray Cumming * gtk/src/gtk_signals.defs: Added the new RadioMenuItem::group_changed signal. 2004-03-06 Murray Cumming * gtk/src/filechooser.hg: set_current_folder(), set_current_folder_uri(), select_filename(), select_uri(), set_filename(), and set_uri() now return bools, because GTK+ now does this. 2004-03-06 Murray Cumming * gtk/src/gtk_methods.defs: regenerated. * gtk/src/gtk_docs.xml: regenerated. 2004-03-05 Hagen Moebius * added missing documentation to gtk/src/expander.hg, gtk/src/filechooserwidget.hg, gtk/src/fontbutton.hg, gtk/src/imagemenuitem.hg, gtk/src/radiotoolbutton.hg. Mainly class documentation, some non-Gtk+ function and some constructors. 2004-03-05 Hagen Moebius * gtk/src/colorbutton.hg: added missing documentation to some functions. 2004-03-05 Murray Cumming * gtk/src/radiobutton.hg, radiomenuitem.hg: Wrap the group_changed signals now that they are corrected in GTK+. * gtk/src/filechooser.hg: Correct the set_local_only() parameter name to match the one in GTK+, as spotted by Matthew Walton. 2.3.5: 2004-03-03 Bryan Forbes * gtk/src/toolbar.[hg|ccg]: added methods to append, prepend, and insert with a sigc::slot. * examples/stock/stock.cc: use new append method to append with a slot; added a toggle button to prove that there are no ambiguity problems with the new methods. 2004-03-02 Bryan Forbes * gtk/src/toolbar.[hg|ccg]: removed old STL-stlye API (deprecated and can't co-exist with new API). * gtk/gtkmm/toolbar_elements.[h|cc]: removed these files to get rid of all old API for Gtk::Toolbar. * gtk/gtkmm/Makefile.am: removed toolbar_elements.[h|cc] from list of files to build, because it is only needed by the old STL-style Toolbar API. 2004-03-03 Murray Cumming * gtk/src/radiobutton.hg, radiomenuitem.hg: Commented-out the new group_changed signals until their declarations are fixed in GTK+ - patch submitted. 2004-03-03 Murray Cumming * pango/src/pango_methods.defs: Updated with h2defs.py. * pango/fontface.[hg|ccg]: Added list_sizes(). * pango/attriter.[hg|ccg]: Added get_attrs(). * pango/fontfamily.hg: Added is_monospace(). * pango/fontset.[hg|ccg]: Added foreach(). * pango/language.hg: Added includes_script(). * pango/layout: Added set/get_auto_dir(). 2004-03-02 Murray Cumming * Updated gtk/src/gtk_signals.defs with tools/extra_defs_gen. * gtk/src/cellrendererpixbuf.hg: Wrapped several new properties. 2004-03-02 Murray Cumming * New GTK+ API wrapped: * FileChooser: Added set/get_use_preview_label() and use_preview_label property. * Entry: Added set/get_alignment(). * ComboBox: Added popup() and popdown(). * Scale: Added get_layout() and get_layout_offsets(). * Widget: Added add_mnemonic_labels(), remove_mnemonic_label(), and list_mnemonic_labels(). * ComboBoxEntry: Added a set_text_column() overload that takes a ModelColumnBase instead of an int. * Added ComboBoxEntryText, like ComboBoxText, as an equivalent for gtk_combo_box_entry_new_text(). * RadioButton, RadioMenuItem: Added group_changed signals. * Widget: Added draw_insertion_cursor() as wrapper for gtk_draw_insertion_cursor, which has a GtkWidget as the first parameter. * Updated gtk/src/gtk_methods.defs with h2defs.py 2004-03-01 Murray Cumming * gtk/src/treeview.ccg: Corrected the implementation of unset_expander_column() to reset_expander_column(), to fix the build. 2004-02-29 Billy O'Connor * gtk/src/treeview.hg: Added documentation for Gtk::TreeView. 2004-02-29 Murray Cumming * gtk/src/treeiter.[hg|ccg]: begins_tag(), ends_tag(), toggles_tag(), has_tag(): Use a const parameter, and added method overloads with no parameter, because the C functions can take a NULL. * gtk/src/treemodel.[hg|ccg]: rows_reordered() now takes a Glib::ArrayHandle instead of a int* array of unknown size. * gtk/src/entrycompletion.hg: Added prepend_*() methods instead of using a default arg for insert(). * examples/book/entry: Moved the existing example into a simple sub-directory, and added a completion sub-directory, demonstrating Gtk::EntryCompletion. 2004-02-29 Murray Cumming * gtk/src/treeselection.[hg|ccg]: Made selected_foreach() methods const, because the slots are not allowed to change the model. But we really need a TreeModel::const_iterator for this, and other things. 2004-02-27 Bryan Forbes * gtk/src/filechooser.hg: removed the inclusion of gtk/gtkfilechooser.h since it's included in the ccg. 2004-02-27 Bryan Forbes * gtk/src/gtk_methods.defs: removed the set_folder_mode and get_folder_mode methods as they are no longer in gtk+. 2004-02-27 Murray Cumming * gtk/src/gtk_enums.defs: Added new FileChooser enum values, so that set_action() is now a real replacement for set_folder_mode(). * examples/book/dialogs/filechooser/: Updated to use set_action() instead of set_folder_mode(), really fixin build. 2004-02-27 Murray Cumming * gtk/src/filechooser.hg: Removed set_folder_mode() and get_folder_mode() because they have been removed from GTK+. This fixes the cvs build. 2004-02-27 Murray Cumming * gtk/src/treepath.hg: append<>(): Corrected a typo that is detected by gtk++ 3.4 prereleases and would have been detected before if this template method had been used. Bug #131928 by Matthew Tuck. 2004-02-26 Martin Schulze * More libsigc++ 2 changes: Some documentation fixes, updates in the tutorial and tries to solve some issues in GtkMainConnectionNode. With fixes from Bryan Forbes. 2004-02-26 Bryan Forbes * configure.in: * Makefile.am: added --enable-examples to configure to enable/disable the building of the examples. 2004-02-26 Murray Cumming * examples/book/treeview/tree/examplewindow.[h|cc]: Handle the TreeView row_activated signal. * gdk/src/display.hg: Add const overloads get_screen(), get_default_screen(), list_devices(), get_event(), and peek_event(). * gdk/src/iconinfo.ccg: Actually implement get_attach_points(), though the implementation is incomplete - see the TODO in the code. * gdk/src/iconinfo.hg: Add default parameter values for set_raw_coordinates(). Make get_embedded_rect() and get_attach_points() const. * gdk/src/icontheme.hg: Add parameter names in get_for_screen() and set_screen(). Made load_icon() and list_icons() const. * gtk/src/widget.[hg|ccg]: Made drag_dest_find_target() const. * gdk/src/treeiter: Added reverse_iterator and const_reverse_iterator, though const_iterator and const_reverse_iterator are not really const yet. Added suitable overloads of begin() and end(), and added rbegin() and rend(). * tools/m4/convert_gtk.m4: Added conversion needed by the above. 2004-02-26 Bryan Forbes * examples/stock/stock.cc: fixed to use the new Toolbar API. 2.5.4: 2004-02-14 Murray Cumming * gtk/src/gtk_methods.defs: Updated with h2defs.py * gtk/src/gtk_signals.defs: Updated with generate_extra_defs, keeping hand-coded changes for the Widget _event signals. * gtk/src/gtk_enums.defs: Updated with glibmm/tools/enums.pl. * gdk/src/pixbufloader.hg: Added set_size() as wrapper for gdk_pixbuf_loader_set_size(). * gtk/src/cellrenderer.hg: Wrapped editing_cancelled() and the editing_cancelled signal, for use by CellRenderer implementations. * gtk/src/action.hg: Added get_visible(), get_sensitive(), is_visible(), is_sensitive(). * gtk/src/actiongroup.hg: Added set_sensitive(), set_visible(), get_visible(), get_sensitive(). * gtk/src/uimanager.hg: Wrapped the proxy_connected, proxy_disconnected, pre_activate, and post_activate signals. * gtk/src/widget.hg: Wrapped event_after signal. 2004-02-11 Bryan Forbes * examples/cellrenderercustom/popupentry.cc: change to use Gtk::Requisition. * examples/dnd/dndwindow.cc: change to use Gtk::AtomString::to_cpp_type. * gdk/src/drawable.hg: changed the PangoGlyphString* arg to Pango::GlyphString& since that argument is not an array. closes bug #97036 * gdk/src/window.[ccg|hg]: changed methods that use GList* to a Glib::ListHandle<>; wrote get_internal_paint_info by hand because we need a temporary variable. * gtk/gtkmm/stock.[cc|h]: added the new Authentication dialog stock icon. * gtk/src/Makefile_list_of_hg.am_fragment: added new iconinfo.hg. * gtk/src/filechooser.hg: changed the GSList* returned by get_uris() to a Glib::SListHandle. * gtk/src/iconinfo.[ccg|hg]: added new class to deal with GtkIconInfo. * gtk/src/icontheme.[ccg|hg]: changed to use new IconInfo class; hand coded get|set_search_path. * gtk/src/window.hg: added property "role". * tools/m4/convert_gtk.m4: added conversion for GtkIconInfo*->IconInfo. 2.3.4: 2004-02-13 Murray Cumming * examples/cellrendercustom/popup.cc: Get and use a string for the target, to fix the build. * gdk/src/dragcontext.hg: get_selection() is now const. 2004-02-11 Matthew Walton * examples/book/dialogs/filechooserdialog/examplewindow.cc: Add buttons, as you would need in a real example. 2004-02-10 Bryan Forbes * tools/m4/convert_gtk.m4: added TargetFlags<->GtkTargetFlags, IconLookupFlags<->GtkIconLookupFlags, and IconThemeError<->GtkIconThemeError; added conversions for IconTheme<->GtkIconTheme and TargetList<->GtkTargetList. * gtk/gtkmm/targetentry.[cc|h]: use the TargetFlags enum. * gtk/src/Makefile_list_of_hg.am_fragment: added icontheme.hg and targetlist.hg. * gtk/src/enums.hg: added TargetFlags enum. * gtk/src/frame.hg: use Allocation instead of GtkAllocation. * gtk/src/icontheme.[ccg|hg]: added IconTheme class. * gtk/src/socket.hg: use Gdk::NativeWindow instead of GdkNativeWindow. * gtk/src/targetlist.[ccg|hg]: added TargetList class. * gtk/src/widget.[ccg|hg]: use the new TargetList class; typedef Requisition and Allocation and convert methods to use them; use Glib::ustring instead of GdkAtom where necessary; * demos/gtk-demo/example_drawingarea.cc: * examples/cellrenderercustom/cellrendererpopup.cc: changed to use new Allocation API. * examples/dnd/dndwindow.c: changed to use the new TargetFlag enum. * fixed up as per murrayc's requests; closes bug #133936. 2004-02-10 Bryan Forbes * tools/m4/convert_gdk.m4: added InputSource<->GdkInputSource, Glib::ustring<->GdkAtom, and NativeWindow<->GdkNativeWindow. * gdk/src/colormap.hg: Used Gdk::Color instead of GdkColor. * gdk/src/device.hg: Wrapped GdkInputSource and used the new enum in corresponding methods. * gdk/src/display.[hg|ccg]: Used Glib::ustring instead of GdkAtom and NativeWindow instead of GdkNativeWindow. * gdk/src/dragcontext.[ccg|hg]: Used DragProtocol instead of GdkDragProtocol; GdkAtom->Glib::ustring. * gdk/src/event.[ccg|hg]: * gdk/src/pixmap.[ccg|hg]: GdkNativeWindow->NativeWindow. * gdk/src/types.[ccg|hg]: Added Gdk::AtomStringTraits struct back and typedef'd it as AtomString; typedef'd GdkNativeWindow as Gdk::NativeWindow. * gdk/src/window.hg: GdkGeometry->Geometry. * fixed up as per murrayc's requests; closes bug #133933. 2004-02-10 Murray Cumming * gtkmm now uses libsigc++ 2 as like glibmm, with slightly different API. See bug #125061. We need to update CHANGES later. 2.3.3: 2004-01-31 Murray Cumming * gdk/src/window.hg, gtk/src/widget.hg: Used C++ Region type instead of GdkRegion. Make Region& args const where appropriate. * gtk/src/treedragsource.[hg|ccg]: Hand-coded the drag_get_data vfunc so that it can use a C++ SelectionData& output parameter. * gtk/src/selectiondata.[hg|ccg]: Added set() method with fewer parameters, that calls get_target() to get the type(), like the examples do. Hopefully that is sensible. * gtk/src/celllayout.hg: Use C++ CellRenderer* instead of C GtkCellRenderer for vfunc paramters. * gtk/src/treeiter.[hg|ccg]: Added TreeIter::operator--(), which is slow and which has no direct equivalent in GTK+ itself yet. * Added lots of const ListHandle and SListHandle get methods, with const elements. Fixes bug 126721. 2004-01-29 Murray Cumming * gtk/src/widget: The drag_data_get and selection_get signals now have Gtk::SelectionData& return parameters instead of GtkSelectionData*. This requires the latest glibmm, which has added the optional custom_c_callback parameter for _WRAP_SIGNAL(). This required some copy/paste/changed code in the .ccg files. 2.3.2: 2004-01-21 Murray Cumming * examples/book/treemodelcustom/exampletreemodel.[h|cc]: Wrote and used some GlueItem and GlueList classes to better manage the GtkTreeIter data. But at the moment, the old iters are never invalidatated so this concept is not fully tested. * gtk/src/treemodelfilter: Wrapped set_modify_func() after talking to Kris about what it does. 2004-01-19 Murray Cumming * gtk/src/liststore.[hg|ccg], gtk/src/treestore.[hg|ccg]: Added set_model_columns() methods, as wrappers for gtk_list_store_set_model_columns() and gtk_tree_store_set_model_columns(). * examples/book/treeview/drag_and_drop/dnd_treemodel.[h|cc]: Used these methods with a non-static member ModelColumnRecord, so that the ModelColumnRecord can be instantiated after the gtkmm type system. Thanks to Bryan Forbes for pointing this out. 2004-01-19 Takashi Takekawa * atk/src/text.hg, gtk/src/enums.hg: deleted unnecessary namespace qualification, for the Intel compiler. Bug #131172. 2004-01-19 Murray Cumming * gdk/src/drawable.[hg|ccg]: Added copy_to_image() as wrapper for gdk_drawable_copy_to_image(). * gtk/src/cellrenderertext.hg: Add a custom m4 conversion for the Gdk::Drawable paramter of the render() vfunc, so that it takes an extra reference. 2004-01-16 Murray Cumming * */*.hg: All _WRAP_VFUNCS are now in protected sections, because gmmproc no longer puts them in a separated protected section automatically. Note also, that gmmproc now generates correct const _vfuncs, so some of your overrides might no longer be overrides. Also, you can add doxygen documentation before the _WRAP_VFUNC() macro now, and it will be read by doxygen. 2004-01-14 Murray Cumming * gtk/src/treeiter.[hg}ccg]: Added TreeIter::set_stamp() and get_stamp(), with documentation, for use when implementing a custom TreeModel. * gtk/src/treemodel.[hg|ccg]: - Hand-coded several vfuncs and their C callbacks, so that we can have C++ iterators instead of GtkTreeIter*s in the API, and to reorder some parameters. - Added 2 extra vfuncs for information about root nodes. The C versions of these vfuncs provide root node information when the iter is NULL, but it is nicer in C++ to just have an extra vfunc without that parameter. This requires an extra if() in the _vfunc_callback() implementation. - Added documentation for the vfuncs but gmmproc does not yet put the documentation in the right place for the generated vfuncs. * gtk/src/cellrenderer.hg: Added docuemntation for the vfuncs, but gmmproc does not put this documentation in the right place yet. * examples/: Added treemodelcustom to show a derived TreeModel, which overrides those vfuncs, based on the example by Christof Pettig. 2004-01-12 Murray Cumming * demos/gtk-demo/example_uimanager.cc: Removed extra comma to fix build - patch by Billy O'Connor. 2004-01-09 Murray Cumming * gtk/src/main.[hg|ccg]: Added docs, based on the C docs. Added bool return value to iteration(). * gtk/src/uimanager.hg: Added wrapper for get_toplevels(), as wrapper for gtk_ui_manager_get_toplevels(). * gtk/src/action.hg: add(): Use the new gtk_action_group_add_action_with_accels() instead of gtk_action_group_add_action() so that it tries to use the stock accelerator if the action has a stock_id. 2004-01-05 Murray Cumming * gdk/src/image.hg: Added accessors for public struct fields. 2003-01-05 Eric Bourque * gtkmm.spec.in: added an unpackaged file (.devhelp) to the %files section. 2004-01-03 Murray Cumming * gdk/src/*.[hg|ccg]: Added class documentation, by copying it from the C documentation. * gdk/gdkmm/: Added rgb.[h|cc] with some global functions, wrapping gdk_rgb_get_colormap(), gdk_rgb_get_visual() and gdk_rgb_ditherable(). * gdk/src/color.hg: Documented all methods, apart from the hsv and hsl stuff that is a mystery to me. * gdk/src/colormap.hg: Added get_system() as a wrapper for gdk_colormap_get_system(). * gdk/src/device.hg: Added get_name(), get_source(), get_mode() and get_has_cursor() as accessors for read-only struct fields. * gdk/src/dragcontext.[hg|ccg]: Added get_targets() and documented it and other accessors. * gtk/src/liststore.hg, treestore.hg: Documented all methods. * gtk/src/tree*.hg: Added lots of class and method documentation. 2003-12-31 Murray Cumming * docs/reference/Makefile.am: Corrected generated .devhelp filename so that it matches the pattern that devhelp looks for. * docs/reference/doxygen_to_devhelp.xsl: Correct link prefix, so that it links to the installed html documentation. * gtk/gtkmm/accelmap.[h|cc]: Added lock_path() and unlock_path() as wrappers for new GTK+ functions. Added documentation for all AccelMap methods, based on the GTK+ docs. * gtk/src/clipboard.[hg|ccg]: Added documentation, based on the C docs. Added wait_for_targets(), as a wrapper for gtk_clipboard_wait_for_targets(). Added a version of request_targets() with a callback that takes a list of strings, as a wrapper for gtk_clipboard_request_targets(), and deprecated the hacky one with a callback that takes a SelectionData. * atk/src/: Added Hyperlink, Hypertext, Document, and StreamableContent * atk/src/atkobject.hg: Now inherits from the Hypertext interfaces as well as the others. * gtk/src/gtk_methods.defs: Updated from gtk+ with h2defs.py 2003-12-30 Murray Cumming * docs/reference/Makefile.am: Use installed beautify_docs, instead of a copy. * configure.in: Use installed glibmm_check_perl() instead of a copy. 2003-12-21 Murray Cumming * gtk/src/menushell.hg: Added cancel() as wrapper for gtk_menu_shell_cancel(). 2003-12-20 Murray Cumming * gtk/src/celllayout.hg: Wrapped reorder() method and vfunc. * gtk/src/gtk_methods.defs and gdk/src/gdk_methods.defs: regenerated with h2defs.pyt. 2003-12-18 Murray Cumming * gdk/src/display.hg: Added set_double_click_distance() as wrapper for gdk_display_set_double_click_distance(), though the .defs for it are not there yet. * gtk/src/settings.hg: Added double-click-distance property. * gtk/src/button.hg: Added get/set_alignment() as wrapper for gtk_button_get/set_alignment(), though the .defs are not there yet. * pango/src/pangoline.hg: Added get_length(), get_start_index(), and get_layout() as accessors for the public struct fields. * gtk/src/cellrenderertext.hg: Wrapped the new single-paragraph-mode property. 2003-12-13 Murray Cumming * docs/reference/Makefile.am: Make sure that gtkmm2.devhelp is generated before trying to install it. Added a doxygen-warnings target that outputs the doxygen log to doyxgen_warnings.txt. * gdk/src/window.hg: Added get_group(), as a wrapper for gdk_window_get_group(), and set_accept_focus() as wrapper for gdk_window_set_accept_focus(). * gdk/src/display.hg: Added get_default_group(), as wrapper for gdk_display_get_default_group(). 2.3.1: 2003-12-08 Murray Cumming * gtk/src/gtk_methods.defs: Regenerated with h2defs.py. * gtk/src/combobox.hg: Corrected C function name in _WRAP_CONSTRUCT, so that the constructor is actually generated. * gtk/src/comboboxentry.hg: Added set_text_column() as wrapper for gtk_combo_box_entry_set_text_column(). * gtk/src/entrycompletion.[hg|ccg]: Wrapped match_selected signal, unpleasantly, by hand-coding everything. * gtk/src/filefilter.[hg|ccg]: Added add_custom() as wrapper for gtk_file_filter_add_custom(), using a SignalProxy. * gtk/src/menu: Added set_monitor() as wrapper for gtk_menu_set_monitor(). * gtk/src/treeviewcolumn.hg: Added get_cell_position() as a wrapper for gtk_tree_view_column_cell_get_position(). 2003-12-08 Murray Cumming * atk/atkmm/, pango/pangomm: Added init.[h|cc] so you can use these libraries without using all of gtkmm. 2003-12-06 Murray Cumming * gtk/src/radiotoolbutton.[hg|ccg]: Removed the constructor that takes a RadioToolButton& group, because it looks like a copy constructor. Added a constructor that takes a Widget& icon_group, for consistency with the other ToolButton classes. Bug 128484 (Billy O'Connor). 2003-12-03 Murray Cumming * gtk/src/widget.hg: Wrapped get_accessible, screen_changed, and can_activate_accel signals, though the .defs are not there for them yet. 2003-11-27 Murray Cumming * gtk/src/treemodel.hg: Added iter_is_valid(). Use the old TreeIter:: operator bool() as a default implementation, but this is already reimplemented in ListStore and TreeStore, using GTK+ functions. * gtk/src/treeiter.hg: operator bool(): Use iter_is_valid() instead of our hack. 2003-11-23 Murray Cumming * gtk/src/radiotoolbutton.[hg|ccg]: Manually-implement constructors, because the group is not a property. * examples/book/toolbar: Use the new Toolbar API, to test it, though this example should probably use the UIManager in future. * gtk/gtkmm.h: Added the toolitem headers. 2003-11-22 Murray Cumming * gtk/src/toolbar.[hg|ccg]: Deprecated ToolList. * examples/Makefile.am_fragment: Added GTKMM_DISABLE_DEPRECATED to examples build. * gdk/src/pixbuf.[hg|ccg]: Wrapped get_formats(). 2003-11-19 Murray Cumming * docs/reference/Makefile.am: Fix the distcheck for the .devhelp file. * gtk/src/expander.hg: Add the get/set_markup methods, though there are no .defs for them yet. 2003-11-17 Murray Cumming * gtk/src/combobox.hg: Changed constructors, and added set_model(), because the model is now a non-construct-only property in GTK+. * gtk/gtkmm/comboboxtext.[h|cc]: Used changed API to implement this. examples/book/combobox/text now works. 2003-11-16 Murray Cumming * gtk/src/toolbar.[hg|cc]: Wrapped new functions, including the ToolItem-based insert, append, and prepend, and deprecated our equivalents of the deprecated C functions. Moved deprecated Elements API into toolbar_elements.[h|cc]. * gtk/src/gtk_docs.xml: Replaced with freshly generated output from docextract_to_xml.py from pygtk. * Added gdk/src/pixbufformat.[hg|ccg] as wrapper for GdkPixbufFormat. 2003-11-14 Murray Cumming * gdk/src/gdk_docs_override.xml, gtk/src/gtk_docs_override.xm, pango/src/pango_docs_override.xml. Added overrides for 4 or 5 methods that mention Glib::Free, though I feel sure that I did this once before. Bug #126870. 2003-11-05 Murray Cumming * gtk/src/widget.hg, gdk/src/window.hg: Fixed typos to fix build. 2003-11-03 Murray Cumming * gtk/src/action.[hg|ccg]: Renamed add_action() to add(), to reduce the amount of client code slightly. * gtk/src/celllayout.[hg|ccg]: Added set_cell_data_func(), using SignalProxy. * gtk/src/treemodelfilter.[hg|ccg]: Added set_visible_func(), using SignalProxy. Added convert methods. 2003-11-02 Murray Cumming * gtk/src/*action.[hg|ccg]: renamed create_from_stock() to create() because I think we can overload the methods, because the parameters are distinguishable. * examples/book/dialogs/: Added filechooserdialog, by copying and modifying the fileselectiondialog example. * gtk/src/entrycompletion.[hg|ccg]: wrap set_match_func() using SignalProxy. 2003-11-01 Murray Cumming * gtk/src/: Added wrappers for FileChooser, FileChooserWidget, FileChooserDialog and FileFilter. FileChooser is an interface but I see no way to override it. * Wrapped some more signals and vfuncs. 2003-10-31 Murray Cumming * docs/index.html: Corrected links to glibmm docs, using relative links. 2003-10-30 Murray Cumming * gtk/src/toolitem.hg: Removed get/set_pack_end() now that they are removed from GTK+, to fix the CVS build. * docs/Makefile.am_fragment: Install docs to gtkmm-2.4 directory instead of gtkmm-2.3. * docs/reference/Makefile.am: Add installdox rule to make the reference html link to the glibmm docs when they are installed. 2003-10-26 Murray Cumming * Dealt with several //TODO comments, adding several unset_*() methods * *Action: Changed create() to create_from_stock() and create. * ToggleAction: create() methods: Added bool is_active parameter. * RadioAction: create() methods: Added group parameter. * Added gtk/gtkmm/radiobuttongroup.[h|cc] containing Gtk::RadioButtonGroup. This was previously in the Gtk::Menu_Helpers namespace. It now works with RadioActions as well as the 3 other Radio item classes. * Added examples/combobox/complex, showing a custom tree model, 2.3.0: 2003-10-24 Murray Cumming * gtk/src/gtk_signals.defs: regenerated, keeping hand-coded changes, after adding some extra GTypes to tools/extra_defs_gen. * gkt/gtkmm: Added cellrenderer_generation.[h|cc], with some of the templates and template specialisations previously in treeviewcolumn.[hg|ccg]. This allowed them to be reused in gtk/src/celllayout.hg for a pack_start(model column) template. * demos/gtk-demo/: Added example_ui_manager.cc - a C++ version of the C one. 2003-10-22 Murray Cumming * Added wrappers for GtkToolItem, ToolButton, ToggleButton, RadioToolButton. 2003-10-17 Murray Cumming * gtk/src/combobox.hg: Updated for latest API. * Added gtk/gtkmm/comboboxtext.[h|cc], putting text-based stuff in a sub class. * gtk/src/treemodel.[hg|ccg]: Added const overload of children(), but it's a bad hack that needs more attention. * Added examples/book/combobox, which uses ComboBoxText and should use ComboBox also in future. It segfaults at the moment. * Added gtk/src/toggleaction.[hg|ccg] and gtk/src/radioaction.hg. * Wrapped GList* and GSList*-using methods. * UIManager: Wrapped Error-using methods, with optional errthrow parameter of _WRAP_METHOD(). * gtk/src/gtk_signals.defs: Updated with newly-generated defs from extra_defs_gen, redoing the by-hand corrections. * examples/book/dialogs/colorselection, fontselection: Used the buttons instead. This will be moved into the buttons folder later. * examples/book/dialogs/messagedialog: Updated for new constructor API. 2003-10-12 Murray Cumming * gtk/src/treemodel.hg: Comment-out wrapper for row-inserted signal, until gtk+ bug 123923 has been dealt with, to prevent treeview crash with GTK+ 2.3 2003-10-12 Murray Cumming * Added wrappers for new GTK+ classes: Action, ActionGroup, CellLayout, ComboBox, ComboBoxEntry, ColorButton, EntryCompletion, Expander, FontButton, UIManager, and a few extra methods and properties. More API details in NEWS. 2003-10-01 Murray Cumming * tools/m4/convert_gdk.m4: Correct the GdkDrawable conversion to fix the build. 2003-09-30 Murray Cumming * gtk/src/cellrenderer.hg, gtk/src/gtk_vfuncs.defs, tools/m4/convert_gdk.m4: The CellRenderer render vfunc now takes a Gdk::Drawable instead of a Gdk::Window, as per my recent change in GTK+ in CVS. See bug #102405. 2003-09-30 Murray Cumming * gtk/src/gtk_methods.defs: Updated with h2defs.py from GTK+ in cvs. 2003-09-30 Murray Cumming * gtk/src/cellrenderer.hg, gtk/src/gtk_signals.defs: Wrapped the CellRenderer::background-cell-* properties that seem to have been added in GTK+ 2.2, but that we had not wrapped yet. Bug #116803. 2003-09-30 Murray Cumming * gtk/src/textbuffer.hg: get_selection_bounds() returns a bool to say whether anything is selected. Bug #118459 * gtk/src/widget.hg: get_style_property(): Parameter renamed to avoid rare warning. Part of bug #117740. 2003-09-28 Bradley Bell * gtk/src/notebook.hg, gtk/src/treeiter.ccg, gtk/src/treeiter.hg: workarounds for inaccessible base bugs with latest gcc. 2003-09-11 Cedric Gustin * atk/src/text.hg, gdk/src/display.hg, gdk/src/displaymanager.hg, gdk/src/screen.hg, glib/glibmm/threadpool.cc, gtk/src/clipboard.hg, gtk/src/treerowreference.hg, gtk/src/widget.hg, gtk/src/window.hg : Removed a bunch of _GTKMMPROC_SIGNAL_H_AND_CC(#ifndef G_OS_WIN32) restrictions. These functions are now implemented in the latest (2.2.4) GTK+ on win32. * gdk/src/Makefile_list_of_hg.am_fragment, gtk/src/Makefile_list_of_hg.am_fragment : Adapted Makefile.am's accordingly. In particular, Gtk::Clipboard is now supported on win32. * README.win32 : Updated list of unsupported functions. 2003-09-04 Bradley Bell * docs/reference/Makefile.am: Distribute doxygen tags 2003-08-20 Murray Cumming * gdk/src/display.hg: Add refreturn WRAP_METHOD() parameter to open() and open_default_libgtk_only(), because these seem to return an existing instance rather than a new one. Should fix bug #119049. 2003-08-20 Frank Naumann * demos/gtk-demo/example_treeview_editable_cells.cc, examples/book/treeview/editable_cells/examplewindow.cc, gtk/src/treeview.hg: Added workaround for MSVC++. The MSVC++ now compile Gtk::TreeView::append_column_editable and the result work as expected. An exact description can be found in the treeview.h as comment. Removed the no longer required MSVC++ workarounds from the examples too. 2003-08-11 Martin Schulze * gtk/src/treeview.hg, docs/tutorial/gtkmm-tut.xml: Add information about what to do when the column type is not supported and TreeView::append_column() sets up the CellRenderer incompletely (bug #118922). 2003-07-21 Murray Cumming * src/gtk/buttonbox.hg: Documentation: Corrected the switched vertical/horizonal descriptions of VButtonBox and HButtonBox. Bug #117883. 2003-07-05 Murray Cumming * gtk/src/object.ccg Object::_init_unmanage(): Don't g_object_ref() objects that are already not managed, such as stuff used with Glib::Wrap() which is already in a container (Containers sink (unfloat) child widgets after they are added). Also, don't mark it as not manage()d, (!referenced_) of course. This was doing one-too-many refs, so sometimes the objects would not be finalized even if they were destroyed. Daniel Elstner found this potential problem months ago and I should have listened to him. This seems to fix the lifetime bug shown in tests/wrap_existing. I think this fixes the get_toplevel_windows() leak shown in tests/refcount_dialog also. Thanks to Harold Hopfes for doing _lots_ of investigation work on this bug. * gtk/src/window.ccg: Window::_destroy_c_instance(): Remove the g_object_unref() that was a window-specific fix for the extra g_object_ref() in gtk/src/object.ccg above. 2003-07-12 Murray Cumming * pango/src/pango_docs_override.xml, gdk/src/gdk_docs_override.xml, gtk/src/gtk_docs_override.xml: Added overrides for documentation that talks about null pointer values where we use references. Added TODOs in the .hg files to add unset() methods in 2.4 to support this functionality. 2003-07-03 Murray Cumming * Used %p and (void*) cast to various g_warning()s used when --enable-debug-refcounting is used, avoiding compiler warnings. * Added tests/wrap_existing, which shows a memory leak that we are currently working on. 2003-06-17 Murray Cumming * docs/FAQ/gtkmm_faq.xml: Applied patch from Andreas Rottman mentioning libsigcx extension library. 2003-06-13 Cedric Gustin * gtk/src/treeviewcolumn.hg: Added declaration of generate_cellrenderer full class specialization for types bool and Gdk::Pixbuf. This solves a long-standing bug with treeviews on win32. Hopefully, it will also solve bug #113688 on Debian. * demos/gtk-demo/example_stockbrowser.cc: Removed GTKMM_WIN32 compiler directive. On win32, stock icons are not displayed as expected in the first column of the treeview. 2003-05-31 Murray Cumming * configure.in: Depends on GTK+ 2.3.0 now that GTK+ has branched, with GTK+ 2.4 in HEAD. * configure.in: gmmproc is now installed in a glibmm-2.3 folder rather than a glibmm-2.4 folder. * gtk/src/alignment.hg: Wrapped new padding functions and properties. Wrote New in GTK+ 2.4 next to them. They need regenerated .defs files, but we can do that later. 2003-05-18 Murray Cumming * docs/tutorial/gtkmm-tut.xml: TreeView chapter: Replaced some TODOs with short paragraphs. Added copies of the example screenshots to show the list and tree models. 2003-05-14 Murray Cumming * Applied some of MSVC++ .NET 2003 changes from jburris. For instance, use of Gtk:: prefix with manage, because MSVC++ can not guess it. Also corrected the out-of-sync protected/private modifiers in the private gtype classes and their prototypes. 2003-05-09 Murray Cumming * gtk/src/menushell.[hg|ccg] replace GP_LIST_CONTAINER_REMOVE() with custom-written remove() and erase() MenuList methods, to ensure that we unset the accel widget that we might have set in the MenuItem() constructor. This avoids a memory leak due to the extra reference. * gtk/src/accel_label.[hg|ccg]: Added unset_accel_widget(). 2003-05-06 Enrico Costanza * gtk/src/image.hg: Added "refreturn" to _METHOD_WRAP for get_pixbuf This fixes a bug that caused "(g_object_unref): assertion `G_IS_OBJECT (object)' failed" 2003-05-06 Murray Cumming * gtk/src/optionmenu.[hg|ccg]: Implemented a custom destructor which calls remove_menu(), to prevent the menu (set with set_menu()), from remembering a dead OptionMenu. See the comment in the destructor for more details. 2003-05-02 Murray Cumming * *.hg: Added namespace prefix to all StateType parameter types, because there is one in Atk and in Gtk and that confuses Doxygen. * demos/gtk-demo/example_change_display.cc: Commented-out some unused method parameters, to avoid warnings. 2003-04-26 Gene Ruebsamen * docs/tutorial/gtkmm-tut.xml: Added a new appendix for win32 with the cygwin/command-line portion contributed by Cedric Gustin. Created a new link from the Installation section to point to the new appendix. Also fixed the filename of the tutorial in the "Contributing" section. * docs/tutorial/figures/devcpp_project_options.png: Added new image for the new win32 appendix described above. 2003-04-22 Murray Cumming * Install headers in x.3 directories instead of .4 because I noticed that some are already there so it needed to be fixed, and, given the current build files, it was easier to choose .3 than .4 (it is based on the library names), and because it does not seem like such a bad idea. 2003-04-21 Murray Cumming * gtk/src/menushell.ccg: Added GP_LIST_ITER(Glib::List_Cpp_Iterator because the standard GP_LIST iterator seems to be useless. See bug #110206. 2003-04-21 Murray Cumming * examples/book/Makefile.am: Added idle directory. * configure.in: Added examples/book/idle/Makefile. 2003-03-30 Gene Ruebsamen * examples/book/timeout/timerexample.[cc,h]: update examples to work with Gtkmm2. * examples/book/idle/idleexample.[cc,h]: create new idle directory and examples for Gtkmm2. * docs/tutorial/gtkmm-tut.xml: update the idle/timeout chapter for Gtkmm2 and modify to use the program listings in the examples/book/ directories. 2003-04-21 Oli Kessler * gtk/gtk_docs_override.xml, fixed docu bug in the function gtk_window_set_default 2003-04-15 Ole Laursen * gtk/src/widget.{cc,h}g: Added unset_fg/bg/font/text/base to support unwrapped null pointer parameter to modify_fg/bg/.... 2003-04-13 Ole Laursen * examples/cellrenderercustom/cellrendererpopup.cc: Switched to using wrappers of grab_add and friends instead of using the C functions. * gtk/src/main.ccg, gtk/src/main.hg: Removed commented wrapper of grab_add and friends. * gtk/src/widget.ccg, gtk/src/widget.hg: Wrapped gtk_grab_add()/remove()/get_current(). 2003-03-30 Murray Cumming * gtk/gtk_docs_override.xml, likewise atk, pango: Added overrides for docs that mention *_free() functions. 2003-03-26 Martin Schulze * pango/src/attrlist.{ccg,hg}: AttrList::insert, AttrList::insert_before, AttrList::change must pass a copy of the attribute parameter into the c functions (should fix #109334). 2003-03-22 Enrico Scholz * examples/Makefile.am_fragment: Added DESTDIR-support. 2003-03-20 Ole Laursen * gtk/src/widget.hg: Applied patch from Detlef Reichl to add protected set_window and set_allocation (#108484). 2003-03-18 Cedric Gustin * Makefile.am : removed examples from DIST_SUBDIRS. 2003-03-13 Sebastian Rittau * gdk/src/gc.hg: Added refreturn flag to both GC::get_screen() flavors. Closes bug #108233. (With help by Sven Grottke.) 2003-02-14 Bryan Forbes * gtk/src/accelgroup.hg: * gtk/src/accellabel.hg: * gtk/src/adjustment.hg: * gtk/src/alignment.hg: * gtk/src/arrow.hg: * gtk/src/aspectframe.hg: * gtk/src/bin.hg: Added documentation for constructors and _MEMBER_GET() wrappers. * gtk/src/box.hg: Added the PackOptions enum into the gtkmmEnums group so it is now on the correct documentation page. * gtk/src/enums.hg: Allow Doxygen to grab Gtk::AlignmentEnum (used in alignment.hg and others) and added it to the gtkmmEnums group. * gtk/src/gtk_docs_override.xml: Added documentation for methods in accelgroup.hg, accellabel.hg, adjusment.hg, and arrow.hg. 2003-01-27 Murray Cumming * gdk/src/display.hg: Used refreturn on get_default() and get_core_pointer(), preventing segfaults. 2003-01-27 Murray Cumming * Replaced use of RefPtr::is_null() with use of operator bool(). 2003-01-24 Murray Cumming * gtk/gtkmm/menu_elems.cc: Element::Element(MenuItem): Use the Glib::RefPtr<> constructor explicitly, for clarity, and do the necessary extra ref - fixes lifetime bug 104194 2003-01-23 Murray Cumming * More TODOs: - Gtk::Container: Removed const set_focus_chain(), added const get_focus_chain(). - Gtk::TreeDragSource::drag_data_get() and Gtk::TreeDragDest::row_drag_possible() now use SelectionData instead of GtkSelectionData. 2003-01-23 Murray Cumming * Updated dnd examples for new signal signatures. 2003-01-23 Murray Cumming * More use of Gdk::Device and Gtk::SelectionData. 2003-01-22 Murray Cumming * Used _IGNORE_SIGNAL() on keybinding signals, though gmmproc still complains about them. I founds these signals by grepping for binding_entry_add_signal in the gtk+ source code. * Dealt with various minor TODOs, adding const and using C++ types. 2003-01-22 Murray Cumming * Rename GTKMM_ macros to GLIBMM_. 2003-01-22 Murray Cumming * build_shared: Used the general/win32/posix variables used in the gtkmm Makefile.ams, so that the libraries actually build. * gtk/src/treepath.[hg|ccg]: Removed the TreePath(bool) override, as suggested, because it broke the build, because we don't seem to set gtkmm_COMPILATION. * gtk/gtkmm/menu_elem.[h|cc]: It used the RefPtr::operator=() that we removed because that operator=() shouldn't be used. Faked the behaviour with an explict use of the constructor and a reference() for now, with a TODO. 2003-01-21 Murray Cumming * Changed library names: 1.4 -> 1.3 and 2.4 -> 2.3 so that they can be unstable. 2003-01-21 Murray Cumming * Copied and modified slightly the build_shared files from libgdamm, to use the gmmproc from glibmm-2.4. 2003-01-21 Murray Cumming * Changed library names: 1.0 -> 1.4 and 2.0 -> 2.4 See gtkmm 2.2 for previous ChangeLog entries.