| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The previous code (removed here) depended on an implementation
detail of GStaticRecMutex, which was changed in this glib commit:
http://git.gnome.org/browse/glib/commit/?id=2b281e40f32b7916d856dcc95e6f8fe625fcff03
This change avoids a deadlock with that version of glib.
Note that Thread::* is deprecated anyway, which is lucky because we do not
know for sure that this fix is enough.
Bug #677291
|
|
|
|
|
| |
* glib/glibmm/exceptionhandler.h: Fix a misplaced endif, which has made
Doxygen exclude add_exception_handler() from the documentation.
|
|
|
|
|
| |
* gio/src/application.ccg: It is annoying that GApplication (and other
C code) distinguishes, of course.
|
|
|
|
|
|
|
| |
* configure.ac: Depend on the latest unstable glib release (2.33.1).
* gio/src/application.hg: constructor, create(): Add a default
(empty string) parameter for the application ID, because this may
now be empty if you do not need the full GApplication functionality.
|
|
|
|
|
|
|
|
| |
* gio/src/resource.[hg|ccg]: Add Gio::ResourceError so that the
resource handling functions in gtkmm could use it. The rest of the
GResource API is unwrapped.
* gio/src/filelist.am: List new resource.hg file.
Bug #674545.
|
|
|
|
|
| |
* glib/glibmm/miscutils.cc: Return early from get_system_data_dirs()
and get_system_config_dirs() when C function returns NULL.
|
| |
|
|
|
|
|
| |
* tools/m4/class_boxedtype.m4: Add macro _CUSTOM_CTOR_CAST.
Bug #511136, comment 20.
|
|
|
|
|
|
| |
* Fix Visual C++ projects for glibmm and giomm as numerous
sources have been added for the addition of APIs so that
these libraries can be properly built
|
|
|
|
|
|
|
| |
* glib/glibmm/dispatcher.h: Add missing usage rules.
* glib/glibmm/dispatcher.cc: Avoid delivering messages to deleted Dispatchers.
Don't block message delivery while a second main loop is running.
Bug #651942.
|
|
|
|
|
| |
* glib/glibmm/main.cc: Call SourceConnectionNode::install() before
g_source_attach(). Suggested by Chris Vine. Bug #396963 comments 15-18.
|
|
|
|
| |
* glib/glibmm/property.h:
|
|
|
|
|
| |
* glib/glibmm/property.h:
Bug #673291
|
|
|
|
| |
* tools/m4/class_interface.m4:
|
|
|
|
|
|
| |
classes.
Bug #673213
|
|
|
|
|
| |
* glib/glibmm/main.cc: Don't create a sigc::connection in the connect_once()
methods. Bug #396963.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/gio_docs.xml:
* gio/src/gio_enums.defs:
* gio/src/gio_signals.defs:
* glib/src/glib_docs.xml:
* glib/src/glib_enums.defs:
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenereated using
the scripts.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|