| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* tools/pm/WrapParser.pm: output_wrap_signal(): Pass $deprecated to
output_wrap_default_signal_handler_[h|cc]().
* tools/pm/Output.pm: output_wrap_default_signal_handler_[h|cc]():
Take a 'deprecated' bool parameter and pass it to _SIGNAL_P[H|CC]().
* tools/m4/signal.m4: _SIGNAL_PROXY(): Add deprecation info to the .cc file.
_SIGNAL_PH(), _SIGNAL_PCC(): Take a 'deprecated' bool parameter.
|
|
|
|
|
|
| |
* tools/pm/Output.pm: Add $deprecated in the first call to _PROPERTY_PROXY().
* tools/m4/property.m4: Correct comments in .cc files by swapping #endif's
in _PROPERTY_PROXY().
|
|
|
|
|
|
|
| |
* gio/src/appinfo.[hg|ccg]: Move the AppLaunchContext class into:
* gio/src/applaunchcontext.[hg|ccg]:
This helps gmmproc, for instance when deriving from it for
Gdk::AppLaunchContext.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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/pm/WrapParser.pm: on_wrap_signal(): Parse an optional
deprecated "the explanation" parameter.
* tools/pm/Output.pm: output_wrap_signal_decl(): Take a deprecated bool
and deprecated_docs, passing them to the m4 macro.
* tools/m4/signal.m4: _SIGNAL_PROXY(): Take a deprecated bool parameter
and use it to ifdef-out the signal declaration.
However, we cannot put the ifdef around the default signal handler,
because that would break ABI.
|
| |
|
|
|
|
|
|
| |
* gio/src/menuitem.[hg|ccg]: set_action_and_target(): Rename to
set_action() and add a set_action() with just the action name,
because the GVariant* is optional.
|
|
|
|
| |
* gio/src/simpleaction.[hg|ccg]: The GVariantType* is optional.
|
|
|
|
|
|
| |
* gio/src/menu.hg:
* gio/src/menuitem.hg: Let the detailed_description parameters be
empty.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/extra_defs_gen/generate_defs_gio.cc: Mention the new GTypes here,
though they do not seem to have any properties or signals.
* gio/src/filelist.am:
* gio/src/menu.[hg|ccg]:
* gio/src/menuitem.[hg|ccg]: Add these classes, as a way to create
the Gio::MenuModel for Gtk::Application::set_app_menu() and set_menubar().
* tools/m4/convert_gio.m4: Add MenuItem conversion.
* gio/giomm.h: Mention the new headers here.
|
|
|
|
|
|
| |
* examples/thread/dispatcher.cc: Use Glib::signal_idle().connect_once().
* examples/thread/dispatcher2.cc: Use Glib::signal_idle().connect_once().
Rename class Dispatcher to ThreadDispatcher. Bug #396963
|
|
|
|
|
| |
* glib/glibmm/class.cc: registered_derived_type(): Use (void*)0 instead
of NULL to avoid a missing sentintel warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusobject.hg: Add the signal_interface_[added|removed]()
signals of the interface.
* tools/extra_defs_gen/generate_defs_gio.cc: Add the GDBusObject GType
to the signal and properties generation utility.
* gio/src/gio_signals.defs: Regenerate the defs file to get the
signals of the interface.
* tools/m4/convert_gio.m4: Add a necessary conversion for wrapping the
signals.
* gio/src/dbusinterface.hg: Whitespace corrections.
|
|
|
|
|
|
| |
* glib/src/datetime.hg: It was declared as a class but is in fact a
struct. I also built the jhbuild c++ sources (as gtkmm was) using
clang++ out of curiosity which discovered this.
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusinterface.{ccg,hg}:
* gio/src/dbusobject.{ccg,hg}:
* gio/src/filelist.am: Add the new sources and include them in the
list of files to be built.
* gio/src/gio_vfuncs.defs: Add the virtual function definitions for
the new interfaces.
* tools/m4/convert_gio.m4: Add conversions for the new interfaces.
|
|
|
|
|
|
|
| |
* glib/src/thread.hg: Add missing @deprecated.
* glib/src/threads.hg: Add Private::replace(). Add documentation to Private.
* glib/glibmm/dispatcher.cc: Use Private::replace() instead of set().
Bug #671587.
|
| |
|
|
|
|
| |
* gio/src/application.hg: Wrap g_application_quit().
|
|
|
|
|
|
| |
* glib/glibmm/main.h: Mention that returning false from a bool-returning
handler disconnects the handler. Other minor changes of the descriptions.
Bug #669906.
|
|
|
|
|
| |
* tools/defs_gen/h2def.py: Strip these macros so we can actually
parse the latest headers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4 (SECTION_DTOR_DOCUMENTATION): Add a new section in
which to store a destructor's documentation.
* tools/m4/class_shared.m4 (_DOCUMENT_DTOR): Add a new macro which
takes text and places it in a Doxygen comment block sending the
comment block to the new section above. The text can be multiline.
The macro assumes that any lines below the first, if any, have at
least one space preceding them. If the text is a single line, it can
be double quoted (the double quotes are removed).
* tools/m4/class_boxedtype.m4:
* tools/m4/class_gobject.m4:
* tools/m4/class_interface.m4:
* tools/m4/class_opaque_copyable.m4: Modify these so that any Doxygen
comment block sent to the new section above is inserted in the
generated declaration of the destructor.
Bug #668918.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gen_scripts/gio_generate_docs.sh:
* tools/gen_scripts/gio_generate_enums.sh:
* tools/gen_scripts/gio_generate_extra_defs.sh:
* tools/gen_scripts/gio_generate_methods.sh:
* tools/gen_scripts/glib_generate_docs.sh:
* tools/gen_scripts/glib_generate_enums.sh:
* tools/gen_scripts/glib_generate_extra_defs.sh:
* tools/gen_scripts/glib_generate_methods.sh: Modify them so that they
assume that they reside in the tools/gen_scripts directory and find
the root of glibmm based on that instead of assuming that the name of
the root directory is glibmm.
* gio/src/gio_enums.defs.patch: Add this patch file to streamline the
enum generation so that keeping the custom Gio::HOST_WAS_NOT_FOUND
enum value is easier.
|
|
|
|
|
| |
* gio/src/gio_enums.defs: This is easy to lose, but we always
notice during make check.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/gen_scripts/gio_generate_docs.sh:
* tools/gen_scripts/gio_generate_enums.sh:
* tools/gen_scripts/gio_generate_extra_defs.sh:
* tools/gen_scripts/gio_generate_methods.sh:
* tools/gen_scripts/glib_generate_docs.sh:
* tools/gen_scripts/glib_generate_enums.sh:
* tools/gen_scripts/glib_generate_extra_defs.sh:
* tools/gen_scripts/glib_generate_methods.sh: Add these scripts to
generate the XML docs and defs files for glibmm and giomm. A
'JHBUILD_SOURCES' variable pointing to the jhbuild root source
directory needs to be defined and the various tools (like h2def.py,
enum.pl, etc.) need to be in the command path for these scripts to run
successfully. They generate the appropriate files, patch them if
necessary, and place them in the correct place. All that's needed is
to run the scripts.
* gio/src/gio_docs.xml:
* gio/src/gio_enums.defs:
* gio/src/gio_methods.defs:
* gio/src/gio_signals.defs:
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gmodule_functions.defs:
* glib/src/gobject_enums.defs:
* glib/src/gobject_functions.defs: Regenerate all the XML and defs
files to ensure that the scripts work.
* glib/src/glib_enums.defs.patch: Add this patch file so that it isn't
necessary to manually edit the defs file.
* gio/src/gio_signals.defs.patch:
* glib/src/glib_functions.defs.patch: Update these patch files so the
defs files patch successfully.
Bug #668918.
|
|
|
|
|
|
|
|
|
| |
* tools/defs_gen/docextract_to_xml.py: Change the --with-signals
option to --no-signals and assume that signal documentation should be
generated by default. The --no-signals option requests that the docs
not be generated.
Bug #668918.
|
|
|
|
|
|
| |
* gio/src/dbuserror.hg: Remove now unnecessary declaration of friend
Gio::wrap_init().
* gio/src/dbusproxy.hg: Add _GMMPROC_EXTRA_NAMESPACE(DBus). Bug #640029.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/thread.ccg: create(): Call g_thread_try_new() instead of
g_thread_new(). Throw a Glib::ThreadError when appropriate, instead of calling
Glib::Error::throw_exception(), which would throw Glib::Threads::ThreadError.
* glib/src/threads.ccg:create(): Call g_thread_try_new() instead of
g_thread_new(). Remove parameter 'joinable'.
* glib/src/threads.hg: Remove parameter 'joinable'. Remove comments about
non-joinable threads and thread priorities.
* examples/network/resolver.cc:
* examples/network/socket-client.cc:
* examples/network/socket-server.cc:
* examples/thread/dispatcher.cc:
* examples/thread/dispatcher2.cc:
* examples/thread/thread.cc: Remove parameter 'joinable' in calls to
Glib::Threads::Thread::create(). Bug #640029.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/main.cc: Call get_time() instead of the deprecated
get_current_time(), when GLIBMM_DISABLE_DEPRECATED is defined.
* glib/src/thread.[hg|ccg]: Use _IS_DEPRECATED instead of
_DEPRECATE_IFDEF_{START|END}. _DEPRECATE_IFDEF_{START|END} does not include
code generated by gmmproc within #ifndef/#endif.
* glib/src/threads.ccg: Change catch(Glib::Thread::Exit&) to
catch(Glib::Threads::Thread::Exit&).
* glib/src/threads.hg: Add _GMMPROC_EXTRA_NAMESPACE(Threads).
* glib/src/valuearray.hg:
* gio/src/application.hg: #undef G_DISABLE_DEPRECATED in the .cc file.
* tools/m4/class_shared.m4: Define _IS_DEPRECATED. Bug #640029.
|
|
|
|
|
|
|
|
| |
* tools/generate_wrap_init.pl.in: When there are exception classes in sub-
namespaces, create extra wrap_init() functions in those namespaces, and
register the exception classes from there. wrap_init() is a friend that makes
a pointer to the private throw_func(), and that's easier if wrap_init() is
declared in the same namespace as the exception class. Bug #640029.
|
|
|
|
|
|
|
| |
* tools/generate_wrap_init.pl.in: Note that _IS_DEPRECATED deprecates a
whole file. Keep track of sub-namespaces for _CLASS_GOBJECT and
_CLASS_GTKOBJECT (not just for _WRAP_GERROR). Ignore macros in comments.
Bug #640029.
|
| |
|
|
|
|
|
|
|
|
|
| |
* tools/defs_gen/h2def.py (clean_func): Make deprecated handling more
general so that macros such as GDK_DEPRECATED and GDK_DEPRECATED_FOR()
are also stripped. Also replace '* const' with '*-const' in the
constants processing section so that types such as 'const gchar*
const*' (which are now used in the declaration of functions such as
gtk_about_dialog_get_authors()) are correctly processed.
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusactiongroup.hg:
* gio/src/dbusmenumodel.hg: Have get() methods to get instances of
theses classes and not create() methods as is done in
Gio::Application.
Bug #637445.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/property.m4: get_docs(): Take optional documentation_docs
too, like DocsParser::lookup_documentation().
* tools/pm/Output.pm: output_wrap_property(): Take a deprecated bool
and deprecated_docs, adding the ifdef if necessary and passing
it to the _PROPERTY_PROXY() m4 macro, with the amended documentation.
* tools/pm/Property.pm: _PROPERTY_PROXY(): Take a deprecated bool
parameter and add the ifndef if necessary.
* tools/pm/WrapParser.pm: on_wrap_property(): Parse an optional
deprecated "the explanation" parameter.
|
|
|
|
|
| |
* gio/src/application.hg:
* gio/src/dbusauthobserver.hg:
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/application.{ccg,hg}: Add the rest of the virtual functions
-- all except the one with a GVariantBuilder parameter because that
type is not wrapped yet. Also add the [set|get]_default() methods
wrapping the respective C functions.
* gio/src/gio_vfuncs.defs: Add the rest of GApplication's virtual
function definitions so they can be wrapped.
* tools/m4/convert_gio.m4: Add GApplication conversions.
|
|
|
|
|
|
|
|
|
| |
* gio/src/actionmap.hg:
* gio/src/dbusactiongroup.hg:
* gio/src/dbusmenumodel.hg:
* gio/src/menuattributeiter.hg:
* gio/src/menulinkiter.hg:
* gio/src/remoteactiongroup.hg:
|
|
|
|
|
|
|
| |
* gio/src/dbusmenumodel.hg:
* gio/src/menumodel.ccg: Add the class documentation. Also add the
attribute and link constants from the C API in enums and re-wrap the
existing methods to use the enums (this was adapted from gstreamermm).
|
|
|
|
|
|
|
| |
* gio/src/dbusmenumodel.{ccg,hg}: Add the sources wrapping a single
create() method.
* gio/src/filelist.am: Add the sources to the list of files to be
built.
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
the two functions in the GMenuModel exporter API:
http://developer.gnome.org/gio/2.31/gio-GMenuModel-exporter.html
* tools/m4/convert_gio.m4: Add necessary conversions.
|
|
|
|
|
|
| |
* gio/src/menuattributeiter.hg (get_next): Remove extra (unneeded)
parameter to the _WRAP_METHOD_DOCS_ONLY macro.
* gio/src/menumodel.ccg: Whitespace.
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/menuattributeiter.{ccg,hg}:
* gio/src/menulinkiter.{ccg,hg}:
* gio/src/menumodel.{ccg,hg}:
* gio/src/filelist.am: Add the sources for the classes and include
them in the list of source files to build.
* tools/m4/convert_gio.m4:
* tools/m4/convert_glib.m4: Add the necessary conversions.
|
|
|
|
| |
* gio/src/application.hg: As is done in the C API.
|
| |
|
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping
the two functions in the new GActionGroup exporter API:
http://developer.gnome.org/gio/2.31/gio-GActionGroup-exporter.html
|
|
|
|
|
|
| |
* gio/src/dbusactiongroup.{ccg,hg}: Add the sources, wrapping the
create() method.
* gio/src/filelist.am: Include the sources in the build.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/remoteactiongroup.{ccg,hg}:
* gio/src/filelist.am: Add the sources, wrapping the methods and
virtual functions, and include them in the list of files to be built.
* gio/src/gio_vfuncs.defs: Add the GRemoteActionGroup virtual
functions.
* gio/src/applicationcommandline.hg: Add the class documentation
block.
|
|
|
|
|
|
|
|
|
|
| |
* tools/defs_gen/h2def.py: The g_application_set_action_group() and
the g_volume_monitor_adopt_orphan_mount() functions are wrapped but
not generated because they have been deprecated in their header files
by using a GLIB_DEPRECATED macro before the function declaration.
Modify this tool to strip the macro so the functions are recognized.
* gio/src/gio_methods.defs: Regenerate so the missing method
definitions are included.
|