| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/drive.hg: Add get_sort_key().
* gio/src/emblemedicon.hg: Add clear_emblems().
* gio/src/fileicon.hg: Add the "file" property.
* gio/src/inetaddress.hg: Add address_equal().
* gio/src/mount.hg: Add get_sort_key().
* gio/src/socket.hg: Add the "timeout" property.
* gio/src/socketaddress.hg: Add the "family" property.
* tools/m4/convert_gio.m4: Add a necessary conversion.
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/file.hg:
* gio/src/volumemonitor.hg:
* glib/src/date.hg: Add GLIB_DISABLE_DEPRECATION_WARNINGS to
SECTION_CC_PRE_INCLUDES to avoid compiler warnings with the new glib
deprecation system.
* glib/src/value_basictypes.cc.m4: undef them here too, because
g_value_set_char() and g_value_get_char() are deprecated.
|
|
|
|
|
| |
* gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file.
* gio/giomm.h: Add an #include glibmm.h here instead.
|
|
|
|
| |
* gio/giomm/wrap_init.h: The #include does not seem necessary at all.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
by default in header files of generated files in modules other than
glibmm. This should make compilation faster for those modules.
* gio/src/*.{h,cc}g:
* gio/giomm/slot_async.cc: Adjust includes according to the above
change.
Bug #662597
|
|
|
|
|
|
|
|
|
| |
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenereated with h2defs.py
* glib/src/glib_deprecated_functions.defs: Added this file.
* glib/src/glib.defs: Mention the new file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Always use gthread-2.0 because there is now no advantage to
not doing that, because threading is now always enabled in glib.
Remove the separate GTHREAD* variables.
* glib/glibmm/Makefile.am:
* gio/giomm/Makefile.am:
* tests/Makefile.am:
* tools/Makefile.am:
* examples/Makefile.am: Remove use of the GTHREAD* variables..
* examples/network/resolver.cc: Remove the non-threading option and code that
uses it.
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Remove the newly added call()
methods with a UnixFDList parameter until the call_finish() method
with a UnixFDList parameter is added also.
* gio/src/credentials.hg:
* gio/src/dbusmessage.ccg:
* gio/src/dbusmessage.hg: Typos.
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.hg: Place the class declaration in the Gio
namespace and not in the Gio::DBus namespace which is incorrect to fix
the build. There was a '-Werror' option in the CXXFLAGS variable of
my ~/.jhbuildrc file which was causing deprecation warnings to break
the build so I did not verify the previous to last commit, sorry.
|
|
|
|
|
| |
* gio/src/dbusmethodinvocation.hg: Add the method overload.
* gio/src/dbusmessage.hg: Add an _IGNORE.
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Add cancellable and
non-cancellable UnixFDList call() methods.
|
|
|
|
|
|
|
|
|
| |
* gio/src/datainputstream.hg: Add the two methods and their overloads
using the new gmmproc parameter reordering, optional parameter
signaling and output parameter signaling functionality. It's not
difficult to write the _INITIALIZATION and _WRAP_METHOD macros but
they may not be readily understandable. I think they are, but I could
be wrong.
|
|
|
|
| |
* gio/src/applicationcommandline.hg:
|
|
|
|
|
|
|
| |
* gio/src/simpleaction.hg: Wrap the signals using the
no_default_handler option because there are no signal members exposed
in the GSimpleActionClass struct (in fact, there is no
GSimpleActionClass struct). Also wrap the properties.
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.hg:
* gio/src/application.hg:
* gio/src/simpleaction.hg:
* gio/src/simpleactiongroup.hg:
* gio/src/applicationcommandline.hg: Add bug URL to a TODO.
|
|
|
|
| |
* gio/src/applicationcommandline.hg:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* gio/src/action.ccg:
* gio/src/action.hg:
* gio/src/actiongroup.ccg:
* gio/src/actiongroup.hg:
* gio/src/application.ccg:
* gio/src/application.hg:
* gio/src/applicationcommandline.ccg:
* gio/src/applicationcommandline.hg:
* gio/src/filelist.am:
* gio/src/simpleaction.ccg:
* gio/src/simpleaction.hg:
* gio/src/simpleactiongroup.ccg:
* gio/src/simpleactiongroup.hg:
|
| |
|
|
|
|
|
| |
* gio/src/dbusserver.[hg|ccg]: Uncomment the constructors now that bug #639478
has been fixed, though nobody has tried to use this yet.
|
|
|
|
|
|
|
|
|
| |
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs:
* glib/src/gmodule_functions.defs:
* gio/src/gio_functions.defs: Regenerated with h2defs.py, though see
bug #660225 .
* glib/src/datetime.hg: Added an m4 conversion that is now necessary.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.[hg|ccg]:
* gio/src/actiongroup..[hg|ccg]:
* gio/src/application.[hg|ccg]:
* gio/src/applicationcommandline..[hg|ccg]:
* gio/src/simpleaction..[hg|ccg]:
* gio/src/simpleactiongroup.[hg|ccg]: Removed.
* gio/src/filelist.am:
* goi/giomm.h: Do not mention them.
See bug #637445#c29
|
|
|
|
|
|
|
|
| |
* gio/src/gio_vfuncs.defs: Add virtual function definitions for the
Action and ActionGroup classes.
* gio/src/action.hg:
* gio/src/actiongroup.hg: Wrap the virtual functions.
* tools/m4/convert_gio.m4: Correct a VariantType return conversion.
|
|
|
|
|
|
|
|
| |
* gio/src/simpleactiongroup.{ccg,hg}:
* gio/src/filelist.am: Add sources and include them in the build file
list.
* tools/m4/convert_gio.m4: Add necessary conversions.
* gio/src/simpleaction.hg: Added class doc title.
|
|
|
|
|
|
| |
* gio/src/simpleaction.hg: Add two forgotten create methods for the
class. Also filed bug #659783 about not being able to wrap the
signals.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/simpleaction.{ccg,hg}:
* gio/src/filelist.am: Add the sources and include them in the list of
files that should be processed.
* tools/extra_defs_gen/generate_defs_gio.cc: Add G_SIMPLE_ACTION_TYPE
to the list of types for which properties and signals should be
generated.
* gio/src/gio_signals.defs: Regenerate with above to get the
properties and signals of new class.
|
|
|
|
|
|
| |
* gio/src/actiongroup.hg: Add the get_action_parameter_type(),
get_action_state_type(), get_action_state_hint(), and
get_action_state() methods which were TODO's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.{ccg,hg}:
* gio/src/filelist.am: Add the new sources wrapping the methods and
signals of GAction and include them in the list of files to be built.
* tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_ACTION to
the list of types for which signals and properties should be
generated.
* gio/src/gio_signals.defs:
* gio/src/gio_methods.defs: Regenerate to get the new methods and
properties being wrapped.
* gio/src/gio_extra_objects.defs: Add Action to the list of extra
objects so gmmproc's documentation generation does not produce
warnings because of it. Also added DBusNodeInfo and Proxy.
* tools/m4/convert_gio.m4: Alphabetized the conversion by groups
pertaining to types. Removed the Variant return conversions which
take copies.
* glib/src/variant.hg: Moved the conversions here because they are
specific to the methods in this class, specifically get_child() and
get().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/filelist.am:
* gio/src/timezonemonitor.{ccg,hg}: Remove sources and the mention
from the build.
* glib/src/timezone.hg (refresh_local): Remove this method as the
function that it wraps was also removed from glib.
* tools/extra_defs_gen/generate_defs_gio.cc
(G_TYPE_TIME_ZONE_MONITOR): Remove this GType from the list of types
for which properties and signals are generated.
See the glib commit:
http://git.gnome.org/browse/glib/commit/?id=5b68b49b2072c371c72ee96175e3d6a727eb5e8b
|
|
|
|
|
| |
* gio/src/application.hg: Use references instead of pointers, now that
we know how these paramters are actually used. See bug #643478.
|
|
|
|
| |
This reverts commit c446268b44f3595431ba6f535dc297557c6097e0.
|
|
|
|
|
|
| |
* gio/src/appinfo.[hg|ccg]: Add launch() overloads that take a single
Gio::File, for convenience.
Also add launch_uri() to take a single URI.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/appinfo.hg: g_app_info_launch() takes a GList of GFile, not of
strings. Also use a vector instead of a ListHandle, as per our new convention.
It is acceptable to change this API/ABI because this method could never
possibly have been used by any application without crashes, so this can't
make anything worse.
Also add an overload without the launch_context parameter, using the new {?}
syntax.
Luckily we did not implement the vfuncs, or maybe we disabled them because of
the crashes.
|
|
|
|
|
|
| |
* gio/src/appinfo.[hg|ccg]: Deprecate the existing method and add one that
takes a C++ AppLaunchContext instead of a GAppLaunchContext*.
Also add an overload with no AppLaunchContext, using the new {?} syntax.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/extra_defs_gen/generate_defs_gio.cc: Add the
G_TYPE_TIME_ZONE_MONITOR type to the list of types for which signals
and properties should be generated.
* gio/src/gio_signals.defs:
* gio/src/gio_signals.defs.patch: Regenerate the signal and properties
defs file and add a patch file so it does not have to be edited
manually.
* gio/src/gio_methods.defs:
* gio/src/gio_methods.defs.patch: Regenerate the methods defs file and
add a patch file as above.
* gio/src/filelist.am:
* gio/src/timezonemonitor.{ccg,hg}: Add the sources and mention them
in the build so they are processed.
* tools/m4/convert_gio.m4: Add a necessary conversion.
|
|
|
|
|
| |
* gio/src/dbusconnection.ccg (emit_signal): Explain why empty strings
are converted to NULL when passed to the C API.
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.ccg (emit_signal): Pass NULL to the C
function call where strings are empty allowing emitting signals to all
listeners.
Bug #645072 (Yannick Guesnet).
|
|
|
|
|
| |
* gio/src/dbusmessage.hg: Added G_OS_UNIX guards around unixfdlist.h
include. Bug #649168
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/proxy.hg:
* gio/src/proxyaddress.hg:
* gio/src/proxyresolver.hg:
* gio/src/socketcontrolmessage.hg:
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg: Added these to NetworkIO doxygen group.
* glib/glibmm.h: Mention Gio::Settings.
|
|
|
|
| |
* gio/src/dbusconnection.hg: Expand the defgroup doxygen comment block.
|
|
|
|
|
| |
* gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer
in bug #646425.
|
|
|
|
|
|
| |
* gio/src/themedicon.hg: The name property is write-only and construct-only
so we should not have any API for it.
Noticed by Kjell Ahlstedt.
|
|
|
|
|
|
|
|
| |
* gio/src/gio_others.defs: Add g_settings_list_schemas(), though we do not
actually use this defnition yet. See below. This must be hand-written
because h2defs.py gets confused by the return type.
* gio/src/settings.[hg|ccg]: list_schemas(): Make this static and hand-code
it because gmmproc is confused by the declaration when it is static.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusintrospection.[hg|ccg]: Add a lookup_interface() method overload
that just returns the first interface, avoiding the need to specify the name
when there is only one interface. The C API will not do this itself:
See bug #646417.
* examples/dbus/peer.cc:
* examples/dbus/server.cc:
* examples/dbus/session_bus_service.cc: Use the new method to simplify the
code slightly.
|
|
|
|
|
| |
* gio/src/dbusconnection.[hg|ccg]: This makes sense now that the C API's
documentation was improved in bug #646419.
|
|
|
|
|
|
|
| |
* examples/dbus/session_bus_service.cc: This uses Gio::DBus::own_name().
* examples/Makefile.am: Mention the new test.
* examples/dbus/server.cc: Mention the return (out) value for the GetTime
method here too, and catch an exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.[hg|ccg]: register_object(), register_subtree():
Take the VTable by reference, not pointer. register_object() can take a NULL
but that needs documentation (see the bug mentioned) and a future method
overload.
* gio/src/dbusmethodinvocation.ccg: get_parameters(): Return a
VariantContainerBase instead of taking a VariantBase output parameter,
because this is always a tuple. Well, I think so: See the bug mentioned.
* gio/src/dbusmethodinvocation.hg: return_value(): Take a VariantContainerBase
instead of a VariantBase, because this is always a tuple.
return_gerror(), return_error_literal(): Rename them both to return_error().
* glib/src/variant.hg: VariantContainerBase::create_tuple(): Add a method
overload that takes a single VariantBase, for convenience, so that applications
don't need to create a single-item vector.
* examples/dbus/busserver.cc: Adapted.
* examples/dbus/busserver.cc: Rename to server.cc and actually implement it,
though I am currently confused about whether this server's object should be
available on an existing bus. Maybe we should use Gio::DBus::own_name()
instead of Gio::DBus::Server.
|
|
|
|
|
| |
* gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container
typedefs.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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*.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|