| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
* gio/src/menuitem.[hg|ccg]: set_action() and unset_target()
replace set_action_and_target(action), which is now deprecated.
|
|
|
|
|
|
|
| |
* 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/action.hg: This is a non-static version of the method,
so we can just use get_name(). We already use the instance to
get the state type.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/menuitem.hg: set_attribute(): Deprecate this in favour of
set_attribute_value() though it was previously the other way around.
Add get_attribute_value() and deprecate get_attribute() in favour
of it.
This lets us, one day, remove those set_attribute() and
get_attribute() methods and replace them with more pleaseant
templated set/get_attribute() methods that just call the
*_value() methods, as in Gio::Action.
|
| |
|
|
|
|
|
|
|
|
| |
* gio/src/actionmap.hg: add_action_vfunc(): Add a custom _CONVERSION()
that takes a reference, just for this vfunc. We would have
seen the need for this before if it had used a const & instead
of passing the RefPtr by value, which we probaby cannot change
now without breaking ABI.
|
|
|
|
|
| |
* .gitignore: Ignore the files generated by Automake testing
infrastructure.
|
|
|
|
| |
* glib/src/bytearray.hg: Add refreturn to methods returning self.
|
|
|
|
|
|
| |
* tests/Makefile.am:
* tests/glibmm_bytearray/main.cc: New file with tests. These are
failing now.
|
| |
|
| |
|
| |
|
|
|
|
| |
* glib/src/spawn.hg: The value is the same, however.
|
|
|
|
|
|
|
|
| |
* gio/src/file.[hg|ccg]: Wrap g_file_measure_disk_usage(),
g_file_measure_disk_usage_async() and
g_file_measure_disk_usage_finish(), based on the copy() and
copy_async() methods, which also have 2 slots.
* tools/m4/convert_glib.m4: Add a conversion for guint64&.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* gio/src/actionmap.hg: Use refreturn.
|
|
|
|
|
|
|
| |
* .gitignore: Ignore /tools/defs_gen/__pycache__/.
* tools/defs_gen/*.py: Port to Python 3. These Python sources now run with
both Python 2 and Python 3. Tested with 2.7.3 and 3.2.3.
Bug #690969.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* tools/pm/Output.pm (convert_args_cpp_to_c): When generating
conversions for the C++ arguments, if the argument is optional
and it is a std::string or a Glib::ustring, prepend a check for
the empty string to the standard conversion, passing NULL to the
C function if the string is empty.
Bug #686909.
|
|
|
|
| |
This reverts commit 5acce15576a91aec89c04b8fe5f8532b192acb71.
|
|
|
|
| |
This reverts commit db1668a39d9646882d5aa6b7386a3b7ea70f99af.
|
|
|
|
| |
This reverts commit 5d4342dd14bb7ca79b63c1341fdfa420164b35e4.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Purge some of the unecessary entries form the project files, notably the
empty items in the Visual Studio 2005/2008 projects and linking to
gthread-2.0.lib, as the gthread library is considered deprecated and it
is no longer necessary to link to it since quite some time ago.
* Clean up the formatting of the Project Files.
* Fix the include paths on including the libsigc++ headers, notably
sigc++config.h.
* Update the glibmm and giomm projects as newer sources were added so that
these libraries will build properly.
|
|
|
|
|
|
|
| |
* gio/src/menu.hg: Because the label may be NULL in C,
meaning that the sections will just be separated by spaces
instead of having titles in the menu.
Bug #702456 .
|
| |
|
|
|
|
|
|
|
|
| |
* glib/glibmm/objectbase.cc: set_property_value():
* glib/glibmm/propertyproxy_base.cc: set_property():
If the value is a G_TYPE_STRING (a gchar*), and is "",
then pass 0 instead.
Bug #686909
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/convert_glib.m4: Avoid passing "" to C functions
because some C developers insist on treating "" and NULL
differently even when there is no meaningful distinction
and when that means obviously unwanted behaviour in response
to the "".
Bug #686909
And this should help with bug #702456 .
|
| |
|
|
|
|
|
|
|
| |
* tools/m4/vfunc.m4:
* tools/pm/Output.pm:
* tools/pm/WrapParser.pm: Add parameter return_value in _WRAP_VFUNC.
Bug #705699.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* tools/pm/Output.pm: Since 2012-09-18 convert_args_cpp_to_c() returns an
array. Use only the first array element ($conversions) when _SIGNAL_CC is
written.
* tools/pm/WrapParser.pm: _WRAP_SIGNAL: Fix the merge of a doxygen comment
in a .hg file with a comment from the .defs file. Write #if[n]def directives
before the merged comment. (Was in the middle of the comment.)
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/action.hg: Also adding change_state_variant() and
activate_variant() for them to call, and deprecating the
change_state() and activate() methods that take VariantBase.
Also added change_state() and activate() templated methods
that take Variant<T_Value> to preserve API for application
code that previously called change_state(VariantBase) with
a Variant<>.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|