summaryrefslogtreecommitdiff
path: root/gio/src/actiongroup.hg
Commit message (Collapse)AuthorAgeFilesLines
* gio/src/*.hg: Mark classes and functions with GIOMM_APIChun-wei Fan2020-03-071-5/+5
| | | | | | 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.
* Put _WRAP_VFUNC in protected sectionsKjell Ahlstedt2019-03-151-0/+1
|
* Gio::ActionGroup, Settings: Add detail_name to some _WRAP_SIGNAL()sKjell Ahlstedt2017-09-121-4/+4
| | | | | | | * 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.
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-2/+1
| | | | Bug 786824
* Fix some TODO comments requiring ABI breakKjell Ahlstedt2016-12-271-3/+0
| | | | | | | | * 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.
* Remove deprecated API.Murray Cumming2016-11-141-3/+0
|
* C++11: .hg/.ccg files: Replace typedefs with using.Murray Cumming2016-03-311-2/+2
|
* Fix the build with --disable-deprecated-apiKjell Ahlstedt2015-12-051-0/+2
| | | | | | | | | | | | | | | | * 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.
* More use of nullptr instead of 0.Murray Cumming2015-11-201-2/+2
|
* C++11: Some use of the auto keyword.Murray Cumming2015-07-151-4/+4
|
* Gio::Action, ActionGroup: Fix critical messages from vfuncsKjell Ahlstedt2015-03-171-3/+2
| | | | | | | | | * 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::Action etc: Add keep_return to some _WRAP_VFUNC()Kjell Ahlstedt2015-03-171-5/+3
| | | | | | | | | | | * 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.
* Add a TODO commentMurray Cumming2014-04-031-0/+2
|
* Gio::ActionGroup: Remove a nonsensical check.Murray Cumming2013-10-141-3/+0
| | | | | | | | * 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)
* Action/ActionGroup: Make some parameter parameters optional.Murray Cumming2013-10-081-1/+1
| | | | | | | * 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.
* Docs: Add Action* and MenuItem docs.Murray Cumming2013-10-081-2/+31
|
* Gio::ActionGroup: Add templated getters.Murray Cumming2013-08-091-4/+52
| | | | | | | | * 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.
* Gio::ActionGroup: Add more TODOs about methods that should be templated.Murray Cumming2013-08-061-0/+10
| | | | Unforunately it is too late to correct this.
* ActionGroup: Add the query_action() methods.José Alburquerque2012-09-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* ActionGroup, DBusObject: Ensure vfunc callbacks return valid memory.José Alburquerque2012-03-251-0/+1
| | | | | | | | | * 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.
* ActionGroup: list_actions_vfunc(): Do not return freed memory.Murray Cumming2012-03-231-1/+1
| | | | | * gio/src/actiongroup.hg: list_actions vfunc: Correct the conversion, doing a deep copy of the array of strings.
* gmmproc: Don't include <glibmm.h> by default in generated files.José Alburquerque2011-10-251-0/+9
| | | | | | | | | | | | * 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
* Re-add Application and related class so they can be finished.José Alburquerque2011-10-091-0/+100
| | | | | | | | | | | | | | | | | * 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:
* Remove Application and friends, because they are still not ready.Murray Cumming2011-09-261-100/+0
| | | | | | | | | | | | * 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
* Action, ActionGroup: Wrap virtual functions.José Alburquerque2011-09-221-1/+17
| | | | | | | | * 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.
* ActionGroup: Wrap remaining methods.José Alburquerque2011-09-201-6/+5
| | | | | | * 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.
* Add back Gio::Application and friends so we can try to finish them.Murray Cumming2011-08-031-0/+85
| | | | This reverts commit c446268b44f3595431ba6f535dc297557c6097e0.
* Remove Gio::Application and friends for now because they are not finished.Murray Cumming2011-03-241-85/+0
| | | | | | | | * 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
* Dealt with several TODOs.Murray Cumming2011-02-151-3/+2
| | | | | * gio/src/*.[hg|ccg]: Mostly just adding hand-coded documentation, and changing some new methods to use std::vector.
* Gio: Added some methods.Murray Cumming2010-11-101-2/+4
| | | | | | | | | | | | | | | | | | | * 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().
* giomm: Wrap several unwrapped functions.José Alburquerque2010-11-041-2/+2
| | | | | | | | | | | | | | | | | * 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.
* Application, ActionGroup: Add Doxygen class documentation.José Alburquerque2010-11-031-1/+15
| | | | | | | * 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.
* giomm: Add ActionGroup interface.José Alburquerque2010-11-011-0/+70
* 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.