| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-13 Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com>
* glib/glibmm.h:
* glib/glibmm/Makefile.am:
* glib/src/Makefile_list_of_hg.am_fragment:
* glib/src/tree.ccg:
* glib/src/tree.hg: Added Glib::Tree, a wrapper for GNode, providing
an N-ary tree container, more or less like a standard C++ container.
* configure.in:
* tests/Makefile.am: Added some test code for this new API.
Bug #520778
svn path=/trunk/; revision=667
|
|
|
|
|
|
|
|
| |
* glib/glibmm.h: add an include for checksum.h which was added in the 2.15.x
series.
svn path=/trunk/; revision=638
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-12 Murray Cumming <murrayc@murrayc.com>
* glib/glibmm.h: Added uriutils.h
* glib/glibmm/private/Makefile.am: Renamed some variables to
avoid clashes with the build_shared/ variables, which caused
a dist failure involving wrap_init.h
svn path=/trunk/; revision=508
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-12 Murray Cumming <murrayc@murrayc.com>
* glib/src/glib_enums.defs: Regenerated with enums.pl
* glib/src/glib_functions.defs: Regenerated with h2defs.py
* glib/src/Makefile_list_of_hg.am_fragment:
* tools/m4/convert_glib.m4:
* glib/src/matchinfo.ccg:
* glib/src/matchinfo.hg:
* glib/src/regex.ccg:
* glib/src/regex.hg: Added the RegEx and MatchInfo classes.
These need some examples to test them. The MatchInfo class is
probably particularly broken at the moment. See the TODO comments.
* glib/glibmm.h: Added regex.h
svn path=/trunk/; revision=417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-02-20 Rob Page <page.rob@gmail.com>
Wraps GKeyFile (Bug #330535)
* glib/glibmm.h: Added include of keyfile.h
* glib/glibmm/Makefile.am: Added keyfile.h
* glib/glibmm/containerhandle_shared.h: Added a TypeTraits
specialization for converting between bool and gboolean*.
* glib/src/Makefile_list_of_hg.am_fragment: Added keyfile.hg
to files_general_hg.
* glib/src/keyfile.hg: KeyFile header
* glib/src/keyfile.ccg: KeyFile implementation
* tools/m4/convert_glib.m4: Added a conversion for KeyFileFlags
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-10-01 Murray Cumming <murrayc@murrayc.com>
* glib/src/option*.[hg|ccg], examples/options/main.cc: Rethought the
structure now that I see how the parts work together. Rearranged the
example to show how the parsing can fill values in member variables
of a derived OptionGroup class. However, 1. it crashes now, 2. we need
extra code to map the GOption C types to suitable C++ types, probably
by doing pre and post parsing to create temporary C types for the C++
types.
|
|
|
|
|
|
|
|
| |
2004-09-27 Murray Cumming <murrayc@murrayc.com>
* glib/src/option*.[hg|ccg]: Wrapped more methods, but I have still not
finished.
* examples/options/: Started an example.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-03-03 Murray Cumming <murrayc@murrayc.com>
* Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends
for internationalization. See the comments in the header - you must
include things in the right order.
* glib/src/spawn.[hg|ccg]: Added spawn_close_id() as wrapper for
g_spawn_close_id().
* glib/glibmm/main.[h|cc]: Added MainLoop::depth() as wrapper for
g_main_depth().
|
|
|