2015-06-04 Kjell Ahlstedt docextract_to_xml.py: Minor fix in internal data * tools/defs_gen/docextract.py: * tools/defs_gen/docextract_to_xml.py: Keep 'SECTION:' in section names when data is stored in a dictionary (map, hash table). As before, don't write it to the 'section' elements in the generated xml file. 2015-06-02 Kjell Ahlstedt Regenerate docs.xml files, excluding some subdirectories * tools/gen_scripts/gio_generate_docs.sh: * tools/gen_scripts/glib_generate_docs.sh: Add the --no-recursion option to the call to docextract_to_xml.py. * gio/src/gio_docs.xml: Regenerate without traversing uninteresting subdirectories. 2015-06-02 Kjell Ahlstedt docextract_to_xml.py: Add support for the --no-recursion option * tools/defs_gen/docextract.py: * tools/defs_gen/docextract_to_xml.py: Add support for the --no-recursion command-line option, meaning that only the specified directories shall be traversed, but not their subdirectories. 2015-06-02 Kjell Ahlstedt Fix the version numbers in some @newin Doxygen commands * gio/src/appinfo.hg: Change @newin{3,2} to @newin{2,30}. * gio/src/application.hg: * gio/src/networkmonitor.hg: * gio/src/simpleiostream.hg: * gio/src/tcpwrapperconnection.hg: * glib/src/binding.hg: Add 'newin 2,n"' to some _WRAP_PROPERTY(). 2015-06-02 Kjell Ahlstedt Regenerate docs.xml files, including property documentation * tools/gen_scripts/gio_generate_docs.sh: * tools/gen_scripts/glib_generate_docs.sh: Add the --with-properties option to the call to docextract_to_xml.py. * gio/src/gio_docs.xml: * gio/src/glib_docs.xml: Regenerate with property documentation. 2015-06-02 Kjell Ahlstedt gmmproc: Fetch property docs from the docs.xml file, if available there * tools/pm/DocsParser.pm: Read info from tags. * tools/pm/Output.pm: output_wrap_any_property(): Handle 'newin' option. Read documentation from DocsParser, if available there, else (like before) from the Property object. * tools/pm/Property.pm: get_docs(): Handle 'newin' option. * tools/pm/WrapParser.pm: on_wrap_any_property(): Add support for the 'newin "m,n"' option in _WRAP_PROPERTY and _WRAP_CHILD_PROPERTY. 2015-06-02 Kjell Ahlstedt docextract_to_xml.py: Distinguish sections from properties * tools/defs_gen/docextract.py: * tools/defs_gen/docextract_to_xml.py: Don't treat sections as properties. Add the --with-sections command-line option. Generate
tags. 2015-05-23 Kjell Ahlstedt Gio::Settings: Don't use the deprecated "schema" property * gio/src/settings.[hg|ccg]: Replace the deprecated "schema" property by "schema_id" in constructors. 2015-05-23 Kjell Ahlstedt Gio::Settings: Replace connect_changed() by signal_changed(key) * gio/src/settings.[hg|ccg]: Add signal_changed(key). Remove connect_changed(). * examples/settings/settings.cc: Test signal_changed(key). Bug #749034. 2015-05-23 Kjell Ahlstedt gmmproc: _WRAP_SIGNAL: Add support for detail_name * tools/m4/signal.m4: * tools/pm/Output.pm: * tools/pm/WrapParser.pm: Add support for optional 'detail_name $name' and 'two_signal_methods' parameter in _WRAP_SIGNAL. Bug #749034. 2015-05-23 Kjell Ahlstedt Add Glib::SignalProxyDetailed * glib/glibmm/signalproxy.cc: * glib/src/signalproxy.h.m4: Add SignalProxyDetailed and SignalProxyDetailed[0-6]. Bug #749034. 2015-05-21 Kjell Ahlstedt gmmproc: _WRAP_SIGNAL: Fix the exception_handler parameter * tools/m4/signal.m4: Fix the exception_handler parameter. It was added as a result of bug #735132, but the code was enough changed after it was copied from vfunc.m4. 2015-05-08 Kjell Ahlstedt Fix the version numbers in some @newin Doxygen commands * gio/src/application.hg: * gio/src/dbusintrospection.hg: * gio/src/memoryinputstream.hg: * gio/src/networkmonitor.hg: * gio/src/notification.hg: * gio/src/resource.hg: * gio/src/tcpwrapperconnection.hg: * glib/src/binding.hg: * glib/src/variant.hg: Correct the version numbers in some @newin commands by adding 'newin "2,n"' parameters to _WRAP_xxx macros. Bug #748856. 2015-05-08 Kjell Ahlstedt gmmproc: Add support for 'newin "n,m"' in some _WRAP macros * tools/pm/DocsParser.pm: * tools/pm/Enum.pm: * tools/pm/Output.pm: * tools/pm/WrapParser.pm: Add support for the optional 'newin "n,m"' parameter in _WRAP_METHOD, _WRAP_METHOD_DOCS_ONLY, _WRAP_SIGNAL, _WRAP_ENUM, _WRAP_ENUM_DOCS_ONLY and _WRAP_GERRROR. Bug #748856. 2015-05-06 Mikhail Titov Missing GLIBMM_API for Interface It is used by Gtk::CellLayout and Gtk::TreeViewColumn. Bug #748719. 2015-05-06 Murray Cumming Gio::Settings: Add connect_changed(). This wraps the strange "somekeyname::changed" signal in GSettings, so we can get notification when a specific key has changed. I would welcome any suggestion to improve this API. 2015-05-03 Kjell Ahlstedt Glib::ObjectBase: Don't use std::auto_ptr * glib/glibmm/objectbase.[h|cc]: Use a plain pointer instead of std::auto_ptr. auto_ptr is deprecated in C++11, and can cause compilation warnings. Bug #748630. 2015-04-29 Kjell Ahlstedt Glib::Threads::Thread: Don't use GThread, only GThread pointer * glib/src/threads.[hg|ccg]: Skip the member data GThread gobject_ in Thread. Use the same technique as in classes wrapped with _CLASS_OPAQUE_REFCOUNTED, i.e. let Glib::Threads::Thread be a class without member data and convert both ways between GThread* and Thread* with reinterpret_cast. Bug #746533. 2015-04-27 Kjell Ahlstedt Glib::Variant: Wrap handles, add get_data_as_bytes() * glib/src/variant.[hg|ccg]: VariantBase::is_castable_to(): Accept casts of handles to Variant. Add VariantBase::get_data_as_bytes(). Deprecate the non-const get_data() and add a const one. * glib/src/variant_basictypes.[h|cc].m4: Add Variant::create_handle(). 2015-04-27 Kjell Ahlstedt Gio::InetAddress, MemoryOutputStream: Add some _IGNORE * gio/src/inetaddress.hg: Ignore g_inet_address_mask_new(). gmmproc does not understand that it belongs to GInetAddressMask. * gio/src/memoryoutputstream.hg: Ignore the destroy-function and realloc-function properties. 2015-04-21 Kjell Ahlstedt gmmproc: Add _IGNORE_PROPERTY() and _IGNORE_CHILD_PROPERTY() macros tools/pm/WrapParser.pm: Add code for _IGNORE_PROPERTY() and _IGNORE_CHILD_PROPERTY(), similar to _IGNORE_SIGNAL(). 2015-04-15 Kjell Ahlstedt Add Glib::get_user_special_dir(UserDirectory) * glib/src/miscutils.[hg|ccg]: Add _WRAP_ENUM(UserDirectory,...) and Glib::get_user_special_dir(UserDirectory directory). Deprecate get_user_special_dir(GUserDirectory directory). Bug #747311. 2015-04-15 Kjell Ahlstedt Add Glib::format_size() * .gitignore: Ignore glib/glibmm/miscutils.[h|cc]. * glib/src/filelist.am: Add miscutils.hg. * glib/glibmm/filelist.am: Remove miscutils.[h|cc]. * glib/glibmm/miscutils.[h|cc]: Move to glib/src and rename to miscutils.[hg|ccg]. * glib/src/miscutils.[hg|ccg]: New files. Move from glib/glibmm and rename. Add _WRAP_ENUM(FormatSizeFlags,...). Add Glib::format_size(). Bug #747311. 2015-04-13 Kjell Ahlstedt Glib::Variant: Improve handling of object paths and signatures * glib/src/variant.[ccg|hg]: Add VariantBase::is_castable_to() and VariantContainerBase::get_iter(). Accept casts of complicated types containing object paths and DBus type signatures to Variant<> types containing Glib::ustring and std::string. Change some get(), get_child() and get_iter() methods similarly. * tests/glibmm_variant/main.cc: Add test_dynamic_cast_composite_types(). Bug #747508. 2015-04-13 Kjell Ahlstedt gmmproc: _WRAP_PROPERTY: Remove a line from the generated docs * tools/m4/property.m4: Remove the line "You rarely need to use properties..." It's becoming less true. Some new glib and gtk+ classes (GSimpleIOStream, GtkModelButton, GtkPopoverMenu) have no public set/get methods corresponding to their properties. 2015-04-10 Kjell Ahlstedt Add Gio::SimpleIOStream * gio/giomm.h: Add simpleiostream.h. * gio/src/filelist.am: Add simpleiostream.hg. * gio/src/gio_signals.defs: Regenerated. * tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_SIMPLE_IO_STREAM. * gio/src/simpleiostream.[hg|ccg]: New files. 2015-03-25 Murray Cumming NEWS: Mention API Additions since 2.42