| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* configure.ac: Require the latest version.
* doc/Makefile.am: Don't specify the mm-common .pl files to distribute
because mm-common now does this automatically.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: Rename all get() methods that return children
to get_child() to make the API clearer and to avoid ambiguity with get()
methods that return the underlying type instead.
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc:
* tests/glibmm_variant/main.cc: Adapted.
https://bugzilla.gnome.org/show_bug.cgi?id=644207#c7
(Yannick Guesnet)
|
|
|
|
|
| |
* glib/src/fileutils.ccg:
* glib/src/iochannel.ccg: Do not create a ustring instead of a std::string.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbuserrorutils.ccg:
* gio/src/dbusownname.ccg:
* gio/src/dbusutils.ccg:
* gio/src/dbuswatchname.ccg:
* glib/src/fileutils.ccg:
* glib/src/iochannel.ccg:
* glib/src/markup.ccg:
* glib/src/variant.ccg: Use convert_const_gchar_ptr_to_ustring() and
convert_const_gchar_ptr_to_stdstring(), simplifying code and sometimes
avoiding crashes with NULL const char*.
|
|
|
|
| |
* glib/src/variant.ccg: Really call g_variant_get_bytestring().
|
| |
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: The implementations of constructors for
template specializations do not need to be inline. This lets us fix them
later without requiring recompilation of applications.
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: Mention the specialization in the .h file instead
of just in the .ccg file.
Also write a custom Variant<std::string>::get() implementation because this
can be used for types other than just bytestring.
* tests/glibmm_variant/main.cc: Add tests for the new casts.
|
| |
|
|
|
|
|
|
| |
* glib/glibmm/arrayhandle.h: Put operator std::container methods
definitions inside class template definition. Also added decrementation
operators for ArrayHandleIterator for MSVC 2005.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead
of VariantTypeString. This seems more appropriate for a constant and is the
style used by gtkmm's STOCK_* items, which this is based on.
* glib/src/variant.ccg: Adapt.
|
|
|
|
|
|
|
| |
* glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead
of VariantTypeString. This seems more appropriate for a constant and is the
style used by gtkmm's STOCK_* items, which this is based on.
* glib/src/variant.ccg: Adapt.
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: Add cast_dynamic() specializations for
Vector<std::string> and Vector<Glib::ustring>, because this type seems
appropriate for multiple types. For instance, see
http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-get-string
Thanks to Povietkin Konstantin.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.hg:
* gio/src/dbusinterfacevtable.hg: Correct the documentation.
* gio/src/dbusproxy.[hg|cgg]: call(): Take a VariantContainerBase instead of
a VariantBase.
signal: Provide a VariantContainerBase instead of a VariantBase, though this
is not documented as necessarily being a tuple, though it is multiple
values.
|
| |
|
|
|
|
| |
* glib/src/balancedtree.hg: Use doxygen syntax.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.[hg|ccg]:
* gio/src/dbusproxy.ccg.[hg|ccg]: call_sync(), call(), call_finish():
Use VariantContainerBase, instead of VariantBase, for GVariants that are
documented as being tuples. Because the type is known we can also use
it as a simple return type instead of an output parameter.
* tools/m4/convert_gio.m4: Added a necessary conversion.
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc: Adapted. These already correctly assumed that
the type should be VariantContainerBase.
|
| |
|
|
|
|
|
|
|
|
| |
* gio/src/actiongroup.[hg|ccg]:
* gio/src/application.[hg|ccg]:
* gio/src/applicationcommandline.[hg|ccg]: Removed these temporarily
because we removed Gtk::Application temporarily from gtkmm.
See http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00062.html
|
|
|
|
|
| |
* gio/src/gio_docs.xml:
* glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/settingsbackend.[hg|ccg]: Remove these because we do not know yet
if implementing GSettings backends is useful or encouraged, and our wrapper
is unimplemented, requiring an ABI break to fix it when adding the virtual
methods.
* gio/src/filelist.am: Remove mention of the files.
* gio/src/settings.hg: Remove use of SettingsBackend here too. Unfortunately
this might have been slightly useful but we cannot provide this API without
freezing a SettingsBackend API.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusauthobserver.hg:
* gio/src/dbusconnection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbussubtreevtable.hg:
* glib/src/varianttype.hg: More fixes since the change from DBus* to DBus::.
|
|
|
|
|
| |
* glib/src/varianttype.hg: Use the correct name for D-Bus.
I made the same change in the C documentation.
|
|
|
|
|
| |
* glib/src/variant.hg: Also changed two methods to take std::string by
const &.
|
|
|
|
|
|
|
| |
* configure.ac: Add a call to MM_CONFIG_DOCTOOL_DIR() telling it to
copy the files locally and use them from there.
* docs/Makefile.am: Dist the copied files, so that the build does not
try to use the versions installed by mm-common.
|
| |
|
|
|
|
|
|
|
|
| |
* gio/src/dbusinterfacevtable.[hg|ccg]: SlotInterfaceMethodCall: Change
the VariantBase type to a VariantContainerBase, because this is a tuple,
so people should get the children. This makes it more obvious.
DBusInterfaceVTable_MethodCall_giomm_callback(): Adapt.
Suggested by Michael Edwards.
|
|
|
|
|
|
|
| |
* gio/src/dbusinterfacevtable.[hg|ccg]:
* gio/src/dbussubtreevtable.[hg|ccg]: Moved code here from
* gio/src/dbusconnection.[hg|ccg].
* gio/src/filelist.am: Mention the new files.
|
|
|
|
|
|
|
| |
* glib/glibmm/stringutils.cc: Glib::Ascii::strtod():
* glib/src/variant.[hg|ccg]: get(): Correct the range check. This would
previously not have caught all wrong ranges.
Thanks to Michael Edwards.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/vectorutils.[h|cc]: Don't crash in compute_array_size2, when
NULL is passed - in that case just return 0. Also, array_to_vector method
return empty vector in such case.
* glib/glibmm/arrayhandle.[h|cc]: Set array_size to zero if passed array
is NULL.
* tests/glibmm_null_vectorutils/main.cc: New test for NULL arrays and lists
for vectorutils.
* tests/glibmm_null_containerhandle/main.cc: New test for NULL arrays and lists
for containerhandles.
* tests/Makefile.am: Added new tests to build.
Spotted by Kalev Lember. Bug #645245.
|
|
|
|
|
| |
* glib/src/date.hg: Thanks to Kjell Ahlstedt:
http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00049.html
|
| |
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]
* glib/src/variantiter.hg:
* glib/src/varianttype.hg: Remove the unnecessary Glib:: namespace
qualification in the API and documentation.
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: Variant<VariantBase>: Add a get(VariantBase&)
along with the existing VariantBase get().
VariantContainerBase: Added a VariantBase get() to match the existing
get(VariantBase&). Both seem useful, particularly now that we can
cast_dynamic them.
VariantContainerBase::get() should maybe be renamed to get_child() too.
|
| |
|
|
|
|
|
| |
* gio/src/dbusproxy.[h|ccg]: Add a typedef to the .ccg file to help the
compiler so we do not need the namespace qualifiers in the API.
|
|
|
|
|
|
|
| |
* gio/src/dbusproxy.hg: Add signal properties_changed.
* gio/src/gio_signals.defs: Change the type of a parameter of
signal g-properties-changed from "GStrv" to
"const gchar * const *" to match the signal declaration.
|
| |
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: Use _WRAP_METHOD() for two hand-coded methods.
|
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[ccg|hg]: Added Variant<VariantBase>::get().
* tests/glibmm_variant/main.cc: Add some tests.
This is useful because Variant<VariantBase> can be manipulate as other
variants of type Variant<T>. This allow, for example, to define variants
of type Variant<std::map<ustring, VariantBase> >.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/glib/src/variant.[ccg|hg]: Add a VariantBase::cast_dynamic()
static method.
* tests/glibmm_variant/main.cc: Add some tests.
This is useful because VariantBase can and will be passed by value sometimes
and DBus may have actual Variant types whose underlying type will not be
known at compile time (this note was by Murray).
Bug #644146
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Remove the call to MM_CONFIG_DOCTOOL_DIR() so we do not copy
the mm-common doc utils into glibmm and do not try to use local copies of
them. This is what gtkmm and other modules do so it makes sense to do it now
for glibmm now that glibmm is not the one that supplies these for pkg-config.
This fixes bug #644829 (David Ronis) with the tarball build and
Ubuntu launchpad bug
https://bugs.launchpad.net/ubuntu/+source/glibmm2.4/+bug/735856
(Krzysztof Klimonda)
However, I can see the point of distributing copies in the tarball, which
could make the tarball build not need mm-common at all. But if we want that
then we should decide to do it for gtkmm and other modules too.
|
| |
|