| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Fixes #89
|
|
|
|
|
|
|
| |
So we can use the 2.66 version numbers for stable releases in the
glibmm-2.4 ABI series.
We've done similar ABI name changes several times before.
|
| |
|
|
|
|
| |
Use std::map or std::unordered_map instead.
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.64 version numbers for stable releases in the
glibmm-2.4 ABI series.
We don't need to release a stable ABI-parallel glibmm until we need
to release gtkmm 4.0, and that won't happen until GTK 4.0.0 happens.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
| |
Glib::Error::what() returns const char* (was Glib::ustring). It overrides
std::exception::what() that returns const char* and is noexcept.
Fixes #23
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.62 version numbers for stable releases in the
glibmm-2.4 ABI series.
We don't need to release a stable ABI-parallel glibmm until we need
to release gtkmm 4.0, and that won't happen until GTK 4.0.0 happens.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GTimeVal has been deprecated in glib. Remove its wrapping in glibmm.
* examples/dbus/server_without_bus.cc:
* examples/dbus/session_bus_service.cc: Replace TimeVal by DateTime.
* gio/src/fileinfo.[ccg|hg]: Remove [set_]modification_time().
Add set/get_modification_date_time().
* glib/glibmm.h:
* glib/glibmm/filelist.am: Remove timeval.
* glib/glibmm/timeval.[cc|h]: Removed files.
* glib/src/date.[ccg|hg]: Remove set_time(const GTimeVal& timeval).
* glib/src/datetime.[ccg|hg]: Remove create_now_local/utc(const TimeVal& tv)
and to_timeval(). Add create_from_iso8601(), format_iso8601() and
operator bool().
* tools/m4/convert_glib.m4:
* tools/m4/convert_gio.m4: Remove conversions for GTimeVal.
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.60 version numbers for stable releases in the
glibmm-2.4 ABI series.
We don't need to release a stable ABI-parallel glibmm until we need
to release gtkmm 4.0, and that won't happen until GTK 4.0.0 happens.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.58 version numbers for stable releases in the
glibmm-2.4 ABI series.
We don't need to release a stable ABI-parallel glibmm until
we need to release gtkmm 4.0, and that won't happen until GTK+ 4.0.0
happens, and we don't know when that might be.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.55/56 version numbers for more stable releases.
We don't need to release a stable ABI-parallel glibmm until
we need to release gtkmm 4.0, and that won't happen until GTK+ 4.0.0
happens, and we don't know when that might be.
We did this twice before:
https://git.gnome.org/browse/glibmm/commit/?id=dee483b29bdaaabc587f3f8b6bff05663e7dccdc
https://git.gnome.org/browse/glibmm/commit/?id=9f89221b024b028286bea35f7a4d9b873bfb3266
|
|
|
|
| |
Bug 786824
|
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.53/54 version numbers for more stable releases.
We don't need to release a stable ABI-parallel glibmm until
we need to release gtkmm 4.0, and that won't happen until GTK+ 4.0.0
happens, and we don't know when that might be.
We did this once before:
https://git.gnome.org/browse/glibmm/commit/?id=dee483b29bdaaabc587f3f8b6bff05663e7dccdc
|
|
|
|
|
|
|
|
|
|
|
| |
Now that RefPtr is really a std::shared_ptr<>, we should use
std::weak_ref<> instead.
Note that a std::weak_ptr<> tells you nothing about whether
the underlying GObject is still alive, which Glib::RefPtr did.
It just tells you whether our std::shared_ptr<> still holds
a reference to it. That's why I removed one of the checks in
tests/giomm_listmodel/main.cc.
|
|
|
|
|
|
|
| |
So we can use the 2.51/52 version numbers for more stable releases.
We don't need to release a stable ABI-parallel glibmm until
we need to release gtkmm 4.0, and that won't happen until GTK+ 4.0.0
happens, and we don't know when that might be.
|
| |
|
|
|
|
|
|
| |
Using Glib::ListHandler<>::list_to_array() and
Glib::ListHandler<>::list_to_vector() instead, and only in the
implementation instead of in the API.
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm.h: Remove streamiochannel.h.
* glib/glibmm/filelist.am: Remove streamiochannel.[cc|h].
* glib/glibmm/streamiochannel.[cc|h]: Removed files.
* glib/src/iochannel.[ccg|hg]: Remove the default constructor and the
deprecated virtual functions. In .ccg, remove the local GlibmmIOChannel
class. It's useless without the virtual functions, as is the default ctor.
|
|
|
|
|
|
| |
Using Glib::ArrayHandler<>::vector_to_array() and
Glib::ArrayHandler<>::array_to_vector() instead, and only in the
implementatoin instead of in the API.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This installs in parallel with glibmm-2.4.
There is now corresponding ABI-breaking glib version,
but there is for gtk+ (and therefore gtkmm), so this seems like a
good time to do this for glibmm too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .gitignore: add paramflags generated files to ignore list.
* glib/glibmm.h: add paramflags header to include list.
* glib/glibmm/property.{cc|}h: add constructors allowing set nick,
blurb. Add getters for this values.
and flags of property.
* glib/glibmm/value.{cc|h}:
* glib/src/filelist.am: add paramflags to a build.
* glib/src/enums.{ccg|hg}: add GParamFlags enum wrapper.
* glib/glibmm/value_basictypes.{cc|h}.m4: add
overloaded create_param_spec() for setting additional property
parameters.
This patch fixes bug #755256
|
| |
|
|
|
|
|
|
|
| |
* glib/glibmm/weakref.h: Add noexcept.
* glib/glibmm.h: Add weakref.h.
* tests/glibmm_weakref/main.cc: Remove #include <glibmm/weakref.h>.
Bug #583399.
|
|
|
|
|
|
| |
I didn't mean to push this yet. Maybe we will never deprecate this
if it offers better UTF-8 support than std::regex.
This reverts commit a1f0b1a06095d81b6a5b8255b818b1c35c92df29.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .gitignore: Ignore binding.[h|cc].
* glib/glibmm/objectbase.h: Add a comment.
* glib/src/filelist.am: Add glib_signals.defs and binding.hg.
* glib/src/glib.defs: Add glib_signals.defs.
* glib/glibmm.h: Add binding.h.
* tools/extra_defs_gen/generate_defs_glib.cc: Add get_defs(G_TYPE_BINDING).
* tools/m4/convert_glib.m4: Add conversion for BindingFlags.
* tools/generate_wrap_init.pl.in: Define GLIBMM_INCLUDED_FROM_WRAP_INIT_CC.
* glib/src/binding.[hg|ccg]: New files with enum BindingFlags and class Binding.
* glib/src/glib_signals.defs: New file with info about GBinding's properties.
Bug #738663.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/filelist.am:
* glib/src/variantdict.[hg|ccg]: Add it as a generic refcounted
type, with templated lookup_value() and insert_value() methods,
though these are completely untested so far.
* glib/src/variant.hg: Ignore a g_variant_dict_* function that
gmmproc thinks is part of Variant.
* tools/m4/convert_gio.m4:
* tools/m4/convert_glib.m4: Move all Variant* conversion to the
glib conversions and add a necessary one.
* glib/glibmm.h: Include variantdict.h.
|
|
|
|
|
| |
* glib/glibmm.h:
* glib/src/bytearray.hg: Add missing includes.
|
|
|
|
|
|
|
|
| |
encoding and decoding are wrapped.
step by step and in-place decoding are not wrapped.
(they're too low level for C++, and they're available from the C library.)
Bug #611589.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/tlscertificate.{ccg,hg}: Wrap the "certificate" property.
* gio/src/tlsclientconnection.hg: Add the get_accepted_cas() methods
and the "accepted-cas" property.
* gio/src/tlsdatabase.hg: Add the lookup_certificates_issued_by*()
methods and virtual functions. Correct a TlsCertificate conversion
for the virtual functions so that the underlying GObject is properly
copied from the C++ wrapper.
* tools/m4/convert_gio.m4: Add a ByteArray conversion.
* gio/src/tlspassword.hg: Clarify a TODO.
* glib/glibmm.h: Add bytes.h and bytearray.h to the includes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/proxy.hg:
* gio/src/proxyaddress.hg:
* gio/src/proxyresolver.hg:
* gio/src/socketcontrolmessage.hg:
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg: Added these to NetworkIO doxygen group.
* glib/glibmm.h: Mention Gio::Settings.
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/vectorutils.[h|cc]: New files implementing an array, list,
slist <-> std::vector convertions. It implements also a specialization
for bool types.
* glib/glibmm.h: Include vectorutils.h.
* glib/glibmm/filelist.am: Added vectorutils to build.
* tests/glibmm_vector/main.cc: New test for general vectorutils check.
* tests/glibmm_bool_vector/main.cc: New test checking bool specializations.
* tests/Makefile.am: Added above tests to build system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.hg: Add a DBus Doxygen group in which to
include all the D-Bus docs.
* gio/src/dbusaddress.hg:
* gio/src/dbusauthobserver.hg:
* gio/src/dbuserror.hg:
* gio/src/dbusintrospection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusownname.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbusutils.hg:
* gio/src/dbuswatchname.hg: Include all the D-Bus classes, functions
and slots in the new group.
* glib/glibmm.h: Mention the new group in the list of giomm features.
* gio/src/dbusproxy.ccg: Typos.
|
|
|
|
|
| |
* glib/glibmm.h:
* glib/src/variant.hg: Add an _IGNORE() too.
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* glib/glibmm.h: Include the headers of newly added API in the main
header files so the API is included automatically with the general
includes.
|
|
|
|
|
|
|
| |
* glib/glibmm.h: Add more doxggen links to groups and classes, based on
http://www.gtkmm.org/documentation.shtml and a look at the classes list.
Mention giomm features and add giomm to the pkg-config calls and mention
giomm.h
|
|
|
|
| |
* glib/glibmm.h: Some minor changes to the main page documentation.
|
|
|
|
| |
* glib/glibmm.h: Add external links and compilation example.
|
|
|
|
|
| |
* docs/Makefile.am: Parse glib/glibmm.h for documentation.
* glib/glibmm.h: Add main page to Doxygen documentation.
|
|
|
|
|
| |
This follows the standard glibmm conventions better, even though it's a bit of a
pain to type.
|
|
|
|
| |
Also add some tests for the new class
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2009-01-20 Deng Xiyue <manphiz@gmail.com>
* Change license header to mention Lesser General Public License
version 2.1 instead of Library General Public License, to be
consistent with COPYING.
svn path=/trunk/; revision=779
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-29 Murray Cumming <murrayc@murrayc.com>
* configure.in:
* glib/glibmm.h:
* glib/src/Makefile_list_of_hg.am_fragment:
* glib/src/nodetree.hg:
* glib/src/tree.hg: Renamed to nodetree.hg
* tests/Makefile.am:
* tests/glibmm_tree/Makefile.am:
* tests/glibmm_tree/main.cc: Renamed to glibmm_nodetree/
svn path=/trunk/; revision=700
|