| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GTimeVal has been deprecated in glib. Remove its wrapping in glibmm.
* examples/dbus/server_without_bus.cc:
* examples/dbus/session_bus_service.cc: Replace TimeVal by DateTime.
* gio/src/fileinfo.[ccg|hg]: Remove [set_]modification_time().
Add set/get_modification_date_time().
* glib/glibmm.h:
* glib/glibmm/filelist.am: Remove timeval.
* glib/glibmm/timeval.[cc|h]: Removed files.
* glib/src/date.[ccg|hg]: Remove set_time(const GTimeVal& timeval).
* glib/src/datetime.[ccg|hg]: Remove create_now_local/utc(const TimeVal& tv)
and to_timeval(). Add create_from_iso8601(), format_iso8601() and
operator bool().
* tools/m4/convert_glib.m4:
* tools/m4/convert_gio.m4: Remove conversions for GTimeVal.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/drive.hg: get_volumes(): Glib::OWNERSHIP_SHALLOW -> DEEP
* gio/src/mountoperation.hg: signal_ask_question(): DEEP -> NONE
A signal handler shall not deallocate its input data.
* gio/src/themedicon.hg: get_names(): DEEP -> NONE
* gio/src/tlsdatabase.[ccg|hg]: lookup_certificates_issued_by[_finish]_vfunc():
g_list_copy() -> g_list_copy_deep()
* gio/src/volumemonitor.hg: get_connected_drives(), get_volumes(),
get_mounts(): SHALLOW -> DEEP
|
|
|
|
|
| |
Add Gio::DBus::ObjectManager, Gio::DBus::ObjectManagerClient and
Gio::DBus::ObjectManagerServer. Fixes #43
|
|
|
|
|
|
| |
The previous fix of Gio::DBus::Object vfuncs added a Glib::unwrap_copy()
overload, which became a global symbol in the load module. Replace it
with a local name in an anonymous namespace.
|
|
|
|
|
| |
In preparation for adding Gio::DBus::ObjectManager, ObjectManagerClient
and ObjectManagerServer. See issue #43.
|
|
|
|
| |
and update gio_signals.defs.patch and generate_defs_gio.cc.
|
|
|
|
|
|
|
| |
Gio::DBus::Object::get_interface_vfunc() and get_interfaces_vfunc()
must add a reference to the returned DBus interfaces. The caller shall
unref them. g_dbus_object_get_interface() and g_dbus_object_get_interfaces()
are marked (transfer full).
|
|
|
|
| |
Fixes #46
|
| |
|
|
|
|
|
|
|
|
| |
* gio/src/appinfo.hg: Add launch_uris_async() and launch_uris_async().
* gio/src/asyncresult.hg: _IGNORE g_async_result_legacy_propagate_error().
* gio/src/datainputstream.hg: _IGNORE deprecated methods.
* gio/src/dbusconnection.hg: Add get/property_flags().
* tools/m4/convert_gio.m4: Add conversions for GDBusConnectionFlags.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* examples/keyfile/main.cc:
* gio/src/desktopappinfo.hg: Store KeyFile in a RefPtr.
* glib/src/keyfile.[ccg|hg]: Replace _CLASS_GENERIC by _CLASS_OPAQUE_REFCOUNTED.
Remove handcoded methods that are now generated by gmmproc.
* tools/m4/convert_glib.m4: Update conversion for KeyFile.
GKeyFile is refcounted since 2009.
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusintrospection.hg: Add _IS_REFCOUNTED_BOXEDTYPE to
Gio::DBus::InterfaceInfo which is used in _WRAP_PROPERTY in Gio::DBus::Proxy.
* gio/src/settingsschema.hg: Add _IS_REFCOUNTED_BOXEDTYPE. SettingsSchema is
used in _WRAP_PROPERTY in Gio::Settings.
* glib/src/bytearray.[ccg|hg]: Replace the hand-coded Value specialization
with _IS_REFCOUNTED_BOXEDTYPE.
|
| |
|
|
|
|
|
| |
It does not work because there is no suitable Glib::Value<T> specialization.
get_accepted_cas() can be used instead.
|
|
|
|
|
|
|
| |
And change the type of icon names to Glib::ustring in methods where it
was std::string. Gtkmm consistently uses Glib::ustring for icon names,
but Gio::ThemedIcon has been inconsistent. (The string returned by
Gio::Icon::to_string() is not an icon name. It shall remain a std::string.)
|
|
|
|
|
|
| |
* gio/src/asyncresult.ccg: Replace a TODO comment with an explanation.
* tests/giomm_asyncresult_sourceobject/main.cc: Add code that demonstrates
why Glib::wrap(GObject* object, bool take_copy) returns an empty RefPtr.
|
|
|
|
| |
Gio::SocketFamily is an enum. It shall not be stored in a Glib::RefPtr.
|
|\
| |
| |
| |
| | |
Use {} for function arguments initialisation
See merge request GNOME/glibmm!9
|
| |
| |
| |
| | |
Closes https://gitlab.gnome.org/GNOME/glibmm/issues/20.
|
|/
|
|
|
|
| |
NO_GTYPE can't be used in _WRAP_ENUM if the enum is used in _WRAP_PROPERTY.
The error is noticed only during execution of code that calls the generated
property_*() method. Fixes #37
|
|
|
|
|
|
|
| |
* gio/src/tlsconnection.hg: Remove set/get/property_rehandshake_mode()
and enum Gio::TlsRehandshakeMode. Their equivalents in glib have been
deprecated.
* tools/m4/convert_gio.m4: Remove conversions for GTlsRehandshakeMode.
|
| |
|
| |
|
|
|
|
| |
and update gio_docs_override.xml.
|
|
|
|
|
| |
This was not a grammar error before C++ification! But let’s fix it
anyway, and give the enumeration name some nice formatting as well.
|
|
|
|
|
|
|
|
|
| |
* docs/Makefile.am: Include the filelist.gmake.am files if applicable
* glib/glibmm/filelist.gmake.am:
* gio/src/filelist.gmake.am:
* gio/giomm/filelist.gmake.am: Include filelist.am relative from
$(top_srcdir) as we are including the filelist.gmake.am's from docs/
as well.
|
|
|
|
|
|
| |
This enables the filelist.am files to be shared with the NMake
Makefiles, so that any addition/removal to the sources can be reflected
in the Visual Studio build files as well.
|
|
|
|
|
|
|
| |
Without doing so, the C++ arguments take ownership of the C GObjects
passed to the handler, so both go out of scope on exiting the handler.
https://gitlab.gnome.org/GNOME/glibmm/issues/28
|
|
|
|
|
|
|
|
| |
As the GLib Threads documentation states:
“Since version 2.32, the GLib threading system is automatically
initialized at the start of your program, and all thread-creation
functions and synchronization primitives are available right away.”
|
|
|
|
|
|
| |
API which is new in the future ABI-breaking release is newin{2,58},
but this might change again in the future. glibmm-2.58 is still just a
preliminary name of this ABI. Bug 789330
|
| |
|
|
|
|
|
| |
Add set_option_context_parameter_string(), set_option_context_summary(),
set_option_context_description().
|
| |
|
| |
|
|
|
|
|
| |
g_data_input_stream_read_until(), _read_until_async() and
_read_until_finish() have been deprecated.
|
|
|
|
| |
The corresponding glib functions and property have been deprecated.
|
|
|
|
|
|
|
| |
* gio/src/inetsocketaddress.hg:
* gio/src/proxyaddress.hg: Don't use guint16 or guint32 in _WRAP_PROPERTY().
There are no Glib::Value<> specializations for those types. Use guint which
is a typedef of unsigned int.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/actionmap.ccg: Use the Glib::VariantBase::cast_dynamic<>()
syntax for calling the static member function.
* gio/src/emblemedicon.hg: Add a const version of get_emblems().
* gio/src/networkmonitor.hg: Add class documentation.
* gio/src/tlsclientconnection.hg:
* gio/src/tlsfiledatabase.hg:
* gio/src/tlsserverconnection.hg: Remove "TODO:" from some comments where
there's really nothing to do.
* glib/src/miscutils.ccg: get_system_data_dirs(), get_system_config_dirs():
Use Glib::ArrayHandler<std::string>::array_to_vector().
* glib/src/optioncontext.hg: Make it explicit that OptionContext is not
copyable.
* glib/src/varianttype.hg: Rename _get_string_length() to get_string_length().
The leading underscore looks like a mistake.
Remove the comment "Use something instead of gsize?" gsize is used in
many methods in glibmm and gtkmm.
|
| |
|
|
|
|
|
|
|
|
| |
* glib/src/glib_docs_override.xml: Add some <substitute_enumerator_name>
elements.
* tools/extra_defs_gen/generate_defs_gio.cc: Add an initial call to
get_defs(G_TYPE_APPLICATION) to make sure the first call to get_defs()
requests info on a GObject, not a GInterface.
|
| |
|
| |
|
|
|
|
|
| |
The private custom_class_init() method is still needed, but the
reason is no longer that the deprecated g_type_init() must be called.
|
|
|
|
|
|
| |
g_settings_set_int(), g_settings_set_int64() etc. return a gboolean that
shows if the operation has successed. Let Gio::Settings::set_int() etc.
return a bool.
|
|
|
|
|
|
|
| |
Hand-code the documentation of read_line_utf8() and read_line_finish_utf8().
Use Glib::convert_return_gchar_ptr_to_stdstring() to set the output
parameter. It handles the case when the char* is NULL.
Minor fixes in the documentation of several other methods.
|
|
|
|
|
|
|
| |
* gio/src/actiongroup.hg: signal_action_added(), signal_action_removed(),
signal_action_enabled_changed() and signal_action_state_changed() accept
an 'action_name' parameter.
* gio/src/settings.hg: signal_writable_changed() accepts a 'key' parameter.
|
| |
|
|
|
|
|
| |
The property_resource_base_path()'s type shall be std::string,
like the type of set/get_resource_base_path().
|