| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autogen.sh: Warn about everything during autoreconf.
* configure.ac: Replaced obsolete macros with their modern counterparts.
* build/c_std.m4: Ditto.
* build/cxx.m4: Ditto.
* build/cxx_std.m4: Ditto.
* build/sun.m4: Ditto.
* build/macros.m4: Ditto. Removed all unused macros and renamed to...
* build/debug.m4: ...this, because only macro for debugging refcount has
left.
* build/glibmm_check_perl.m4: Deleted. None of the macros there was used.
* build/dk-feature.m4: Use AS_VAR_IF.
* Makefile.am: Removed distribution of deleted m4 file.
|
|
|
|
|
|
| |
* 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().
|
|
|
|
|
|
|
|
|
|
| |
* tools/pm/DocsParser.pm (convert_tags_to_doxygen): Make the matching
of the characters of a link tag not greedy so that the first
occurrence of the final '>' is accepted in a match instead of a
possible later one pertaining to a different tag altogether. Also
translate '|[' and ']|' to '@code' and '@endcode' respectively.
Bug #650544
|
| |
|
|
|
|
|
|
|
|
| |
* glib/src/variant.ccg (Variant< std::vector<std::string> >::create):
Use g_variant_new_bytestring_array() to create the variant instead of
a builder to avoid an unknown bug.
Bug #657030 (Aurimas Černius)
|
| |
|
|
|
|
|
|
|
|
| |
* glib/src/variant.ccg: create(): Use VariantType::to_string.c_str() instead
of reinterpret_cast. I have no idea why we ever used reinterpret_cast.
* tests/glibmm_variant/main.cc: Add a simple test for this VariantType
specialization, though it still fails.
Bug #657030 (Aurimas Černius)
|
|
|
|
|
|
| |
* tools/pm/WrapParser.pm: The parameters refreturn, errthrow, and
constversion in _WRAP_METHOD was applied also to following instances
wrapping the same C function. Bug #657751, comment 5.
|
|
|
|
| |
* .gitignore: Ignore datetime.{cc,h} and timezone.{cc,h}.
|
| |
|
|
|
|
|
| |
Made the VS 2010 solution to have Windows-style EOL so that it will
function correctly
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* configure.ac: Because our tests require it.
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* tests/glibmm_refptr_sigc_bind/main.cc:
* tests/Makefile.am: Add a new test case from Kjell Ahlstedt, to test a fix
in libsigc++. See bug #564005#c14.
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/defs_gen/definitions.py:
* tools/defs_gen/defsparser.py:
* tools/defs_gen/docextract.py:
* tools/defs_gen/docextract_to_xml.py:
* tools/defs_gen/h2def.py:
* tools/defs_gen/scmexpr.py: Add h2def.py and docextract_to_xml.py,
and any .py files that they use, because they were removed from pygobject.
* tools/Makefile.am: Add these to EXTRA_DIST.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* tools/m4/class_shared.m4 (STRUCT_NOT_HIDDEN): Undefine the boolean
variable that signals that the typedefs generated by gmmproc should
not be generated once the _STRUCT_NOT_HIDDEN macro is used so that it
doesn't affect all the classes defined in a file.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* configure.ac: This seems to be popular now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/datetime.hg:
* glib/src/timezone.hg: Since these classes are immutable (like
Glib::VariantBase), remove the need to use these classes with
Glib::RefPtr<> by using the _CLASS_OPAQUE_COPYABLE macro instead of
the _CLASS_OPAQUE_REFCOUNTED macro. This should make using the
classes a little less tedious.
* tools/m4/convert_glib.m4: Modify the corresponding conversions
according to the above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/glib_functions.defs: h2def.py missed the g_date_time_add*()
functions because they were preceded by an unknown macro, namely
G_GNUC_WARN_UNUSED_RESULT, so temporarily removed the macros and
regenerated this file to get the definitions for those functions.
h2def.py will probably have to be modified to skip over those macros
properly in the future. Also corrected the
g_date_time_[compare|hash|equal] definitions so that the functions
could be wrapped as method members of DateTime.
* glib/src/glib_functions.defs.patch: Added this patch file so future
editing of the above file should not be necessary.
* glib/src/datetime.hg: Added the missing create() and the rest of the
methods.
* tools/m4/convert_glib.m4: Added necessary conversions.
|
|
|
|
|
| |
* glib/src/timezone.hg: Correct the constness of the TimeZone for some
methods.
|
|
|
|
|
|
| |
* configure.ac: The requirement was increased in the previous to the
last commit but make sure it is shown clearly in the ChangeLog and in
git.
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/datetime.{ccg,hg}:
* glib/src/timezone.{ccg,hg}:
* glib/src/filelist.am: Add the new sources and mention them in the
build structure so they are processed.
* glib/src/glib_extra_objects.defs: Include object definitions of the
new classes so there are no gmmproc warnings when parsing the docs.
* tools/m4/convert_glib.m4: Add necessary conversions.
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_enums.defs:
* glib/src/gobject_functions.defs: Regenerate with Glib 2.29.8 to get
the new functions enums and docs.
* configure.ac: Increase the Glib requirement to 2.29.8.
|
| |
|
|
|
|
|
|
| |
* glib/glibmm{,-uninstalled}.pc.in: Removed doctooldir variable now
that the scripts are in mm-common.
https://bugzilla.redhat.com/show_bug.cgi?id=712474
|
|
|
|
|
|
| |
* tools/m4/convert_base.m4 (_INITIALIZE): Changed the macro so that $1
substitutes the C++ type without the final ampersand (&) for
convenience.
|
|
|
|
|
|
| |
* tools/pm/Function.pm (parse_param): Use a '.' instead of a '-' to
signify that the C++ parameter name should be used as the C parameter
name to map the current C++ parameter to.
|
|
|
|
|
| |
* 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).
|
|
|
|
|
| |
* tools/m4/convert_base.m4 (_INITIALIZER): Rename the macro to
_INITIALIZATION to be more consistent with the _CONVERSION macro.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/pm/Output.pm (output_wrap_meth): Modified to test if there is
a parameter mapping in the current C++ function from the hypothetical
C name 'RET' to a C++ parameter index. If so, that parameter is
treated as an output parameter. This allows wrap statements such as:
_WRAP_METHOD(static void get_finish(Glib::RefPtr<Connection>&
conn{RET}, const Glib::RefPtr<AsyncResult>& res), g_bus_get_finish,
errthrow
)
Where the 'conn' parameter is an output parameter. The output
parameter name and type are passed to the _STATIC_METHOD and _METHOD
macros (along with the wrap line number).
(convert_args_cpp_to_c): Modified to process the C++ parameters
dealing with the possibility of an output parameter.
* tools/pm/Function.pm: Typo.
* tools/m4/method.m4 (_METHOD):
(_STATIC_METHOD): Both modified to accept an optional output parameter
name, type and wrap line number and if they exist to ensure that the
output parameter is correctly set to the return of the C function. To
do that it uses the new _INITIALIZE macro.
* tools/m4/convert_base.m4 (_INITIALIZER):
(_INITIALIZE): Add macros (similar to the _CONVERSION/_CONVERT
macros) used to record how to initialize a C++ type from a C type and
later to initialize an output parameter of the C++ type. The
_INITIALIZER macro has much the same syntax as the _CONVERSION macro.
For example:
_INITIALIZER(`Glib::RefPtr<Connection>&',`GDBusConnection*',
`$3 = Glib::wrap($4)')
Describes how to initialize a C++ reference to a Glib::RefPtr that
contains a Gio::DBus::Connection from its corresponding C type. $3
represents the output parameter name and $4 represents the C return.
The _INITIALIZE macro can then be appropriately used by the _METHOD
and _STATIC_METHOD macros to initialize the output parameters passed
to them by gmmproc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/pm/Function.pm (param_mappings): Add a new hash member mapping
C parameter names to C++ parameter indices. The map is specified by
appending a {name[?]} to the desired C++ parameter name in the C++
method declaration. A '-' in place of a C parameter name means to use
the C++ parameter name.
(parse_param): Modified to detect parameter mappings and set the
appropriate mapping in the above new member. No mappings occur if
none are specified.
* tools/pm/Output.pm (convert_args_cpp_to_c):
(get_ctor_properties): Modified to use the new C param names to C++
param indices mappings member above to allow reordering of parameters
in the C++ method declaration.
|
| |
|