| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* glib/glibmm/dispatcher.cc: Mention the new Threads:: namespace in the
ifdefed win32 code.
|
|
|
|
|
|
|
| |
* glib/src/thread.[hg|ccg]: Move calls to deprecated glib functions
from thread.h into new public helper functions, so they are only
used in our .cc file. This avoids warnings in application compiles
just because they happen to include this header.
|
| |
|
|
|
|
|
| |
* glib/src/threads.hg: G_PRIVATE_INIT(destructor_func) is used only in an
initialization.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/filelist.am:
* glib/src/thread.[hg|ccg]: Deprecate the whole file, adding
deprecation doxygen comments to all API.
* glib/src/threads.[hg|ccg]: A new Threads namespace containing
equivalents for everything in thread.h, implemented using
only non-deprecated glib API. This was necessary because we had
to break the ABI to do this.
* glib/glibmm.h: Include threads.h
* glib/glibmm/main.[h|cc]: Added a wait() method overload that
takes the new types, deprecating the existing wait() method.
* 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:
* examples/thread/threadpool.cc:
* glib/glibmm/dispatcher.cc:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/threadpool.[h|cc]: Use the new Glib::Threads::* types
instead of thread.h.
|
|
|
|
|
|
| |
* glib/glibmm/main.cc: Define GLIB_DISABLE_DEPRECATION_WARNINGS
to avoid a warning about g_source_get_current_time(),
which we must use in our own deprecated code.
|
|
|
|
|
|
| |
* glib/glibmm/class.cc: Add casts because GTypeQuery::class_size
and instance_size are guint but GTypeInfo::class_size and
instance_size are guint16.
|
|
|
|
|
|
|
|
| |
* configure.ac: Bug #663686 (Michael Biebl)
Conflicts:
ChangeLog
|
|
|
|
|
|
|
| |
(Gtkmm bug #663303)
* tools/m4/property.m4: Ensure template parameter has a space
before to avoid trigraphs.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/drive.hg: Add get_sort_key().
* gio/src/emblemedicon.hg: Add clear_emblems().
* gio/src/fileicon.hg: Add the "file" property.
* gio/src/inetaddress.hg: Add address_equal().
* gio/src/mount.hg: Add get_sort_key().
* gio/src/socket.hg: Add the "timeout" property.
* gio/src/socketaddress.hg: Add the "family" property.
* tools/m4/convert_gio.m4: Add a necessary conversion.
|
|
|
|
|
| |
* tools/pm/DocsParser.pm (lookup_documentation): Also remove code in
<programlisting>...</programlisting> tags.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am:
* examples/Makefile.am: Disable deprecated API.
* examples/network/socket-client.cc:
* examples/network/socket-server.cc:
* examples/thread/dispatcher.cc:
* examples/thread/dispatcher2.cc:
* examples/thread/thread.cc: Remove calls to Glib::thread_init(), instead
calling Glib::init() where that side-effect was also intended.
|
|
|
|
|
|
|
|
|
| |
* examples/thread/threadpool.cc: The advantage of StaticMutex was that
it would silently do nothing if threads were not initialized. That
was never a useful distinction in this example anyway.
Also remove the deprecated thread_init() call.
* glib/src/thread.ccg: Mutex: Add a TODO about not using the deprecated
API.
|
| |
|
|
|
|
|
| |
* glib/src/thread.hg: Move the deprecation ifdefs to avoid affecting
non-deprecated API.
|
| |
|
|
|
|
| |
* glib/src/thread.ccg: thread_init(): Comment out the vtable parameter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/thread.hg: undef and then redefine G_DISABLE_DEPRECATED, and
define GLIB_DISABLE_DEPRECATION_WARNINGS, if G_DISABLE_DEPRECATED is
defined, so we can use the deprecated API in this header (though only in
our own deprecated API).
* tools/generate_wrap_init.pl.in: Include glibmm.h instead of glib.h so
we can include thread.h first (via glibmm.h) instead of only later.
This seems more logical than explicitly including thread.h in all
(even non-glibmm) generated wrap_init.cc files.
* tools/m4/base.m4:
* glib/glibmm.h:
* glib/glibmm/dispatcher.cc:
* glib/glibmm/exceptionhandler.cc:
* glib/glibmm/main.cc:
* examples/thread/thread.cc:
* examples/thread/threadpool.cc: Adjust the includes to include thread.h
first.
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/iochannel.hg: Use _WRAP_ENUM() for IOCondition instead of
hand-coding it in
* glib/glibmm/main.h:
though this requires some manual editing of
* glib/src/glib_enums.defs: due to the weird defines that GioChannel uses for
its values. See the comment.
* glib/glibmm/streamiochannel.cc: Adjust the includes.
This avoids the need to include glib.h from main.h.
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/file.hg:
* gio/src/volumemonitor.hg:
* glib/src/date.hg: Add GLIB_DISABLE_DEPRECATION_WARNINGS to
SECTION_CC_PRE_INCLUDES to avoid compiler warnings with the new glib
deprecation system.
* glib/src/value_basictypes.cc.m4: undef them here too, because
g_value_set_char() and g_value_get_char() are deprecated.
|
| |
|
|
|
|
| |
* glib/src/thread.hg: This simplifies things a bit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/pm/DocsParser.pm (lookup_documentation): Remove the C example
code from the attained documentation of the specified function. Print
a warning that the example code has been removed if that is the
case. Include the function name in the warning so that it is known
where the examples are in case it is convenient to translate them.
(convert_tags_to_doxygen): No longer convert tags and symbols that
signal example code to Doxygen format since they are removed with the
example code.
Bug #650544
|
|
|
|
|
| |
* gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file.
* gio/giomm.h: Add an #include glibmm.h here instead.
|
|
|
|
| |
* gio/giomm/wrap_init.h: The #include does not seem necessary at all.
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Add an include <glibmm.h> line to the .cc files.
* glib/src/optioncontext.ccg: Rename a namespace to avoid a clash.
It is more useful to keep the general glibmm.h include out of headers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
by default in header files of generated files in modules other than
glibmm. This should make compilation faster for those modules.
* gio/src/*.{h,cc}g:
* gio/giomm/slot_async.cc: Adjust includes according to the above
change.
Bug #662597
|
| |
|
|
|
|
|
|
|
|
|
| |
* gio/src/gio_enums.defs: Regenerated with enums.pl.
* gio/src/gio_methods.defs: Regenerated with h2defs.py.
* glib/src/glib_functions.defs:
* glib/src/gobject_functions.defs: Regenereated with h2defs.py
* glib/src/glib_deprecated_functions.defs: Added this file.
* glib/src/glib.defs: Mention the new file.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Do not use gthread-2.0 at all, because it only contains
empty functions so it is better to just not call them.
Require the latest glib version, to avoid people using this version of
glibmm with a version of glib that would need g_thread_init().
* glib/src/thread.ccg: thread_init(): Do not call g_thread_init() because
it now does nothing and would require linking to gthread-2.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Always use gthread-2.0 because there is now no advantage to
not doing that, because threading is now always enabled in glib.
Remove the separate GTHREAD* variables.
* glib/glibmm/Makefile.am:
* gio/giomm/Makefile.am:
* tests/Makefile.am:
* tools/Makefile.am:
* examples/Makefile.am: Remove use of the GTHREAD* variables..
* examples/network/resolver.cc: Remove the non-threading option and code that
uses it.
|
|
|
|
|
|
|
|
| |
* glib/src/glib_enums.defs, gobject_enums.defs: Regenerated with enums.pl.
* glib/src/glib_deprecated_enums.defs: Added this file.
* glib/src/filelist.am: Mention the new file.
* glib/src/glib.defs: Mention the new file and actually mention
gobject_enums.defs.
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Remove the newly added call()
methods with a UnixFDList parameter until the call_finish() method
with a UnixFDList parameter is added also.
* gio/src/credentials.hg:
* gio/src/dbusmessage.ccg:
* gio/src/dbusmessage.hg: Typos.
|
|
|
|
|
|
|
| |
* glib/src/thread.[hg|ccg]: create(): Replace use of (deprecated)
g_thread_create() with g_thread_new(), ignoring the joinable parameter.
create(lots of parameters): Deprecate this, because the parameters are
ignored by g_thread_create_full() now.
|
|
|
|
|
|
| |
* glib/src/thread.[hg|ccg]: Deprecate thread_init(), thread_supported,
Thread::joinable(), Thread::set_priority(), Thread::get_priority() and
ThreadPriority.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/convert_base.m4 (__HASH2): Appropriately quote the
pushdef() arguments and the m4_ifelse() arguments due to some warnings
generated because of the newly wrapped method in the
ApplicationCommandLine class (get_platform_data()) which has a comma
in the return type. The wrapping was successful even with the warning
but the return type was still being split when passed to this macro.
Document what the macro does.
(_CONVERT): Typos.
(_CONVERSION):
(_INITIALIZATION): Document what parameters are allowed for these
macros.
|
|
|
|
| |
This reverts commit 570314de2e0ff7635847695ec546d501817fb878.
|
|
|
|
|
|
|
|
|
| |
* tools/m4/convert_base.m4 (__HASH2): Appropriately quote the
pushdef() arguments and the m4_ifelse() arguments due to some warnings
generated because of the newly wrapped method in the
ApplicationCommandLine class (get_platform_data()) which has a comma
in the return type. The wrapping was successful even with the warning
but the return type was still being split when passed to this macro.
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.hg: Place the class declaration in the Gio
namespace and not in the Gio::DBus namespace which is incorrect to fix
the build. There was a '-Werror' option in the CXXFLAGS variable of
my ~/.jhbuildrc file which was causing deprecation warnings to break
the build so I did not verify the previous to last commit, sorry.
|
|
|
|
|
|
|
| |
* glib/src/date.ccg: The latter function is deprecated. This fixes
the build with the master branch of glib with deprecations disabled
though there's one small error related to the Threads discussion on
the mailing list that will still have to be looked at.
|
|
|
|
|
| |
* gio/src/dbusmethodinvocation.hg: Add the method overload.
* gio/src/dbusmessage.hg: Add an _IGNORE.
|
|
|
|
|
| |
* glib/src/thread.hg: Include glib.h instead. The recent glib version
has a pragma that complains about this.
|
| |
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Add cancellable and
non-cancellable UnixFDList call() methods.
|
|
|
|
|
|
|
| |
* glib/src/variant.{ccg,hg}: Add a create_maybe() method because it
was discussed on the mailing list. Clearly the variant classes are
not intended for general use. However, this method is added just
so that the API is more complete.
|
|
|
|
|
|
|
|
|
| |
* gio/src/datainputstream.hg: Add the two methods and their overloads
using the new gmmproc parameter reordering, optional parameter
signaling and output parameter signaling functionality. It's not
difficult to write the _INITIALIZATION and _WRAP_METHOD macros but
they may not be readily understandable. I think they are, but I could
be wrong.
|
|
|
|
|
|
|
|
|
|
| |
* tools/pm/Output.pm: Use {OUT} instead of {RET} to signify that a
parameter is an output parameter because it is probably more
intuitive.
* tools/m4/convert_base.m4 (_INITIALIZE): Don't quote the C return
because otherwise the macros in it aren't expanded when the macro is
used. This could be because of the recent M4 changes in the previous
to the last commit.
|
|
|
|
| |
* gio/src/applicationcommandline.hg:
|