summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.38.02.38.0Murray Cumming2013-10-112-2/+198
|
* Gio::Settings: Add create_action().Murray Cumming2013-10-111-0/+3
|
* Gio::MenuItem: Add set_action(), unset_target() and unset_action_and_target().Murray Cumming2013-10-082-2/+41
| | | | | * gio/src/menuitem.[hg|ccg]: set_action() and unset_target() replace set_action_and_target(action), which is now deprecated.
* Action/ActionGroup: Make some parameter parameters optional.Murray Cumming2013-10-083-1/+10
| | | | | | | * 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.
* Action: print_detailed_name(): Remove the action_name parameter.Murray Cumming2013-10-081-7/+4
| | | | | | * 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.
* Docs: Add Action* and MenuItem docs.Murray Cumming2013-10-085-13/+125
|
* Updated a commentMurray Cumming2013-10-011-1/+1
|
* Updated a commentMurray Cumming2013-10-011-1/+2
|
* Menu: Add a TODOMurray Cumming2013-09-271-1/+2
|
* Gio::MenuItem: get/set_attribute(): Deprecated for *_value() methods.Murray Cumming2013-09-271-6/+12
| | | | | | | | | | | * 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.
* Add a commentMurray Cumming2013-09-261-0/+1
|
* Gio::ActionMap: Fix a reference-counting problem.Murray Cumming2013-09-261-0/+1
| | | | | | | | * 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: Update.Krzesimir Nowak2013-09-231-0/+4
| | | | | * .gitignore: Ignore the files generated by Automake testing infrastructure.
* ByteArray: Fix refcount problems.Krzesimir Nowak2013-09-231-6/+6
| | | | * glib/src/bytearray.hg: Add refreturn to methods returning self.
* ByteArray: Add some tests for methods returning self.Krzesimir Nowak2013-09-232-3/+43
| | | | | | * tests/Makefile.am: * tests/glibmm_bytearray/main.cc: New file with tests. These are failing now.
* 2.37.932.37.93Murray Cumming2013-09-202-2/+21
|
* Regenerated methods .defs filesMurray Cumming2013-09-202-0/+69
|
* tools: h2def.py: Handle *_DEPRECATED_IN_*_FOR (*)Murray Cumming2013-09-201-0/+4
|
* Spawn: Use the new SPAWN_DEFAULT instead of 0.Murray Cumming2013-09-201-6/+6
| | | | * glib/src/spawn.hg: The value is the same, however.
* Gio::File: Add measure_disk_usage() and measure_disk_usage_async().Murray Cumming2013-09-203-5/+183
| | | | | | | | * 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::Settings: Add get/set_uint().Murray Cumming2013-09-201-0/+2
|
* Regenerated docs .xml filesMurray Cumming2013-09-202-14973/+460
|
* Regenerated extra .defs filesMurray Cumming2013-09-201-1/+1
|
* Regenerated methods .defs filesMurray Cumming2013-09-203-38/+115
|
* Regenerated enums .defs filesMurray Cumming2013-09-202-1/+26
|
* Fix the build after previous commitMurray Cumming2013-09-171-0/+13
|
* Remove obsolete comment.Murray Cumming2013-09-171-3/+0
|
* giomm: Add VariantParseError.Murray Cumming2013-09-171-0/+8
|
* ActionMap: lookup_action(): Fix the reference counting.Murray Cumming2013-09-161-2/+3
| | | | * gio/src/actionmap.hg: Use refreturn.
* Port tools/defs_gen to Python 3.Kjell Ahlstedt2013-09-127-93/+91
| | | | | | | * .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.
* 2.37.72.37.7Murray Cumming2013-09-102-3/+19
|
* gmmproc: Pass NULL to C function calls for optional empty strings.José Alburquerque2013-09-081-7/+15
| | | | | | | | | | * 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.
* Revert "gmmproc: Pass 0 (NULL) instead of to C functions."Murray Cumming2013-09-081-4/+4
| | | | This reverts commit 5acce15576a91aec89c04b8fe5f8532b192acb71.
* Revert "Pass 0 (NULL) instead of for C properties."Murray Cumming2013-09-082-26/+1
| | | | This reverts commit db1668a39d9646882d5aa6b7386a3b7ea70f99af.
* Revert "Fix the build"Murray Cumming2013-09-081-2/+5
| | | | This reverts commit 5d4342dd14bb7ca79b63c1341fdfa420164b35e4.
* Update Visual Studio ProjectsChun-wei Fan2013-09-0672-11171/+1762
| | | | | | | | | | | | * 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: Menu: Add insert/append/prepend_section() with no label parameter.Murray Cumming2013-09-031-3/+3
| | | | | | | * 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 .
* Fix the buildMurray Cumming2013-09-031-5/+2
|
* Pass 0 (NULL) instead of for C properties.Murray Cumming2013-09-032-1/+26
| | | | | | | | * 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
* gmmproc: Pass 0 (NULL) instead of to C functions.Murray Cumming2013-09-031-4/+4
| | | | | | | | | | * 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 .
* Link to a bug from a TODO commentMurray Cumming2013-09-031-3/+3
|
* gmmproc: Add parameter return_value in _WRAP_VFUNC.Marcin Kolny2013-08-313-13/+34
| | | | | | | * tools/m4/vfunc.m4: * tools/pm/Output.pm: * tools/pm/WrapParser.pm: Add parameter return_value in _WRAP_VFUNC. Bug #705699.
* 2.37.62.37.6Murray Cumming2013-08-282-1/+37
|
* Remove a comment about a fixed bug.Murray Cumming2013-08-281-2/+0
|
* Threads: Add a new doc line from the C docs.Murray Cumming2013-08-281-0/+1
|
* gmmproc: Fix _WRAP_SIGNAL with 'ifdef' and 'deprecated'.Kjell Ahlstedt2013-08-152-51/+53
| | | | | | | | | * 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::Action: Add templated change_state() and activate().Murray Cumming2013-08-092-27/+45
| | | | | | | | | | * 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<>.
* Link to a bug reportMurray Cumming2013-08-091-0/+2
|
* Gio::SimpleAction: Make set_state() protected.Murray Cumming2013-08-091-3/+7
|
* 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.