| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This prepares the build to export symbols using compiler directives, in
our bid to drop gendef.exe. We will also mark pre-declarations of usage
of glibmm class items with GLIBMM_API as well.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
Bug 786824
|
|
|
|
|
|
|
|
| |
* gio/src/gio_vfuncs.defs: Add GAsyncResult::is_tagged():
* gio/src/action.hg: get_state_hint_variant() returns VariantContainerBase.
* gio/src/actiongroup.hg: Remove the deprecated get_action_state_hint().
* gio/src/asyncresult.hg: Add is_tagged_vfunc().
* glib/src/checksum.hg: update(): The length parameter is a gssize.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/thread/threadpool.cc: If --disable-deprecated-api, just print a
message and exit.
* gio/src/<several>.hg: Add _CONFIGINCLUDE(giommconfig.h).
* gio/src/menuitem.ccg: Add a missing _DEPRECATE_IFDEF_START/_END pair.
* glib/glibmm/sarray.h:
* glib/glibmm/threadpool.[cc|h]: #include <glibmmconfig.h> before
ifndef GLIBMM_DISABLE_DEPRECATED.
* glib/src/filelist.am: Remove glibmm_files_deprecated_hg. List deprecated
files in glibmm_files_any_hg.
The config file must be included before #ifndef xxx_DISABLE_DEPRECATED both
in the .h file and in the .cc file, or else deprecated API is not properly
disabled by --disable-deprecated-api.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/wrap.h: Add unwrap_copy(const T& obj).
* gio/src/action.hg:
* gio/src/actiongroup.hg: Make vfuncs that return a GVariant* use the
new Glib::unwrap_copy() overload by adding the _WRAP_VFUNC parameter
refreturn_ctype. It avoids a critical message if Glib::VariantBase::
gobj() == 0, which is not an error in these functions. Bug #705124.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.hg: Add keep_return to get_name_vfunc(),
get_parameter_type_vfunc() and get_state_type_vfunc().
* gio/src/actiongroup.hg: Add keep_return to get_action_parameter_type_vfunc()
and get_action_state_type_vfunc().
* gio/src/dbusobject.hg: Add keep_return to get_object_path_vfunc().
* gio/src/tlspassword.hg: Add keep_return to get_default_warning_vfunc().
The C code that calls these functions does not get its own copy of the
returned object. The called function must store a copy. Bug #705124.
|
| |
|
|
|
|
|
|
|
|
| |
* gio/src/actiongroup.hg: get_action_state_hint():
Remove a wrongly copy/pasted g_return_if_fail() line that
causes a compiler error when the template is actually used.
Ideally we would have tests for uses of templated methods.
Bug #709963 (Johannes Meng, David Evans)
|
|
|
|
|
|
|
| |
* gio/src/action.[hg|ccg]: Add an activate() method that takes no
parameter.
* gio/src/actiongroup.hg: activate_action(): Add a method overload
that takes no parameter parameter.
|
| |
|
|
|
|
|
|
|
|
| |
* gio/src/actiongroup.hg: Add templated get_action_state()
and get_action_state_hint() methods, adding
*_variant() methods that they call, and deprecating the
existing methods that have no output parameters.
Thanks to Kjell for the suggestion.
|
|
|
|
| |
Unforunately it is too late to correct this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4:
* tools/m4/convert_base.m4:
* tools/m4/filelist.am:
* tools/m4/initialize.m4:
* tools/m4/initialize_base.m4:
* tools/m4/initialize_gio.m4:
* tools/m4/initialize_glib.m4:
* tools/m4/initialize_glibmm.m4: Move the _INITIALIZE macros into
their own files as is done for the _CONVERT macros so that some basic
types that are common (like initializing a bool& from a gboolean) can
be defined once and used in other circumstances.
* gio/src/dbusconnection.hg: Move an _INITIALIZATION macro to the
general files above (the gio initialize file).
* gio/src/actiongroup.hg: Add the query_action() methods (the needed
_INITIALIZATION macros are in the glib initialize file).
* tools/pm/Output.pm (convert_args_cpp_to_c): Correct the indentation
of the declarations of the C output variables and the setting of the
C++ output parameters from the C variables for methods that use the
output parameter feature of gmmproc.
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.hg (get_name_vfunc_callback):
* gio/src/dbusobject.hg (get_object_path_vfunc_callback):
(get_interfaces_vfunc_callback): Ensure that the return values of the
virtual functions of these callbacks are properly copied by correcting
the appropriate conversions so that the callbacks don't return empty
memory.
|
|
|
|
|
| |
* gio/src/actiongroup.hg: list_actions vfunc: Correct the conversion,
doing a deep copy of the array of strings.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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/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/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.
|
|
|
|
| |
This reverts commit c446268b44f3595431ba6f535dc297557c6097e0.
|
|
|
|
|
|
|
|
| |
* 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/*.[hg|ccg]: Mostly just adding hand-coded documentation,
and changing some new methods to use std::vector.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/gio_methods.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenerated with h2defs.py.
* gio/src/application.hg: Added open(). Notice that I have used std::vector
instead of ArrayHandle, because that is what we should use for all new API,
after we decided that the intermediate types are too awkward for people to
understand.
* gio/src/actiongroup.[hg|ccg]: Added list_actions, though we need to
use a std::vector here instead.
* gio/src/datainputstream.[hg|ccg]: Added read_upto(), read_upto_async()
and read_upto_finish(). Updated the read_until*() documentation to
discourage their use (apparently they will be properly deprecated eventually).
* gio/src/settings.hg: Added range_check().
* gio/src/socketclient.[hg|ccg]: Addef connect_to_uri(), connect_to_uri_async()
and connect_to_uri_finish().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/memoryoutputstream.hg: Added stream_steal_data(), and a
get_data() constant version.
* gio/src/networkservice.hg: Added get_scheme(), set_scheme().
Wrapped the "scheme" property.
* gio/src/socket.{ccg,hg}: Added get_timeout(), set_timeout(),
receive_with_blocking() and send_with_blocking().
* gio/src/socketclient.hg: Add get_enable_proxy(), set_enable_proxy(),
get_timeout(), set_timeout() and add_application_proxy().
* gio/src/socketconnectable.hg: Added proxy_enumerate() and an
enumerate() constant version.
* gio/src/socketaddressenumerator.hg: Added TODO's.
* gio/src/actiongroup.hg: Small class docs correction.
|
|
|
|
|
|
|
| |
* gio/src/application.hg: Add class docs.
(is_valid): Renamed to id_is_valid().
* gio/src/actiongroup.hg: Added class docs.
* gio/src/dbuserror.hg: Typos.
|
|
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GActionGroup type to the extra
defs generation tool and regenerate the signal defs file to get the
signals of GActionGroup.
* gio/src/actiongroup.{ccg, hg}:
* gio/src/filelist.am: Add new ActionGroup interface sources and
mention them so they are build.
|