summaryrefslogtreecommitdiff
path: root/glib/glibmm.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove Glib::WeakRefMurray Cumming2017-04-071-1/+0
| | | | | | | | | | | 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.
* Change the ABI to glibmm-2.54Murray Cumming2017-03-221-2/+2
| | | | | | | 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.
* Remove unused helperlist.hMurray Cumming2017-03-201-1/+0
|
* Replace remaining uses of Glib::ListHandle<> with std::vector.Murray Cumming2017-03-201-2/+0
| | | | | | Using Glib::ListHandler<>::list_to_array() and Glib::ListHandler<>::list_to_vector() instead, and only in the implementation instead of in the API.
* Glib::IOChannel, StreamIOChannel: Remove deprecated partsKjell Ahlstedt2017-03-191-1/+0
| | | | | | | | | * 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.
* Replace remaining uses of Glib::ArrayHandle<> with std::vector.Murray Cumming2017-03-171-1/+0
| | | | | | Using Glib::ArrayHandler<>::vector_to_array() and Glib::ArrayHandler<>::array_to_vector() instead, and only in the implementatoin instead of in the API.
* Remove deprecated API.Murray Cumming2016-11-141-1/+0
|
* Remove deprecated Thread and Threads API.Murray Cumming2016-11-141-7/+0
|
* Change the ABI to glibmm-2.52.Murray Cumming2016-11-111-2/+2
| | | | | | | | 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.
* Glib::Property: allow to set property nick, blurb and flags.Marcin Kolny2016-04-011-0/+1
| | | | | | | | | | | | | | | | * .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
* Run clang-format on the include-all headers.Murray Cumming2016-02-261-4/+6
|
* Glib::WeakRef: Add noexceptKjell Ahlstedt2015-09-151-0/+1
| | | | | | | * glib/glibmm/weakref.h: Add noexcept. * glib/glibmm.h: Add weakref.h. * tests/glibmm_weakref/main.cc: Remove #include <glibmm/weakref.h>. Bug #583399.
* Revert "Deprecate Regex now that we have std::regex."Murray Cumming2015-09-011-0/+1
| | | | | | 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.
* Deprecate Regex now that we have std::regex.Murray Cumming2015-09-011-1/+0
|
* Add Glib::BindingKjell Ahlstedt2014-11-201-2/+6
| | | | | | | | | | | | | | * .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.
* Add Glib::VariantDict, needed for GApplication.Murray Cumming2014-04-031-0/+1
| | | | | | | | | | | | | * 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.
* Add missing includes in glibmm.h and bytearray.hg.Kjell Ahlstedt2013-05-211-0/+2
| | | | | * glib/glibmm.h: * glib/src/bytearray.hg: Add missing includes.
* glibmm: Wrapped Base64 functionality from glibMichael Kruglos2013-05-071-0/+1
| | | | | | | | 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.
* Tls*: Add the rest of the (unwrapped) properties, methods and vfuncs.José Alburquerque2013-02-261-0/+2
| | | | | | | | | | | | | | | * 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.
* Add Glib::Threads::* in threads.h, deprecating everything in thread.hMurray Cumming2011-11-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* thread.h: Allow use of this without causing deprecation compiler warnings.Murray Cumming2011-10-261-1/+5
| | | | | | | | | | | | | | | | | | | | | * 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.
* Minor documentation improvements.Murray Cumming2011-04-061-0/+1
| | | | | | | | | | | * 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.
* Added vectorutils.h.Krzesimir Nowak2011-01-271-0/+1
| | | | | | | | | | | * 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.
* Add a DBus Doxygen group.José Alburquerque2010-12-131-0/+1
| | | | | | | | | | | | | | | | | | | | * 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.
* Add VariantIter include to glibmm.h.Murray Cumming2010-09-131-2/+3
| | | | | * glib/glibmm.h: * glib/src/variant.hg: Add an _IGNORE() too.
* Include header files of newly added API in main include files.José Alburquerque2010-08-301-0/+2
| | | | | | | * 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.
* Documentation: Add more links to main page, and mention giomm.Murray Cumming2010-05-031-8/+25
| | | | | | | * 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
* Further changes to main page documentationDavid King2010-05-031-6/+8
| | | | * glib/glibmm.h: Some minor changes to the main page documentation.
* Improvements to main page documentationDavid King2010-05-031-14/+24
| | | | * glib/glibmm.h: Add external links and compilation example.
* Add main page to Doxygen documentationDavid King2010-04-161-0/+25
| | | | | * docs/Makefile.am: Parse glib/glibmm.h for documentation. * glib/glibmm.h: Add main page to Doxygen documentation.
* Rename btree.* to balancedtree.*Jonathon Jongsma2010-01-051-1/+1
| | | | | This follows the standard glibmm conventions better, even though it's a bit of a pain to type.
* Implement GTree wrapperSzilárd Pfeiffer2010-01-051-0/+1
| | | | Also add some tests for the new class
* Add Glib::ValueArray with usage test.José Alburquerque2009-06-221-0/+1
|
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 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
* Renamed to nodetree.hgMurray Cumming2008-07-291-1/+1
| | | | | | | | | | | | | | | 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
* Added Glib::Tree, a wrapper for GNode, providing an N-ary tree container,Levi Bard2008-06-131-0/+1
| | | | | | | | | | | | | | | | 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
* add an include for checksum.h which was added in the 2.15.x series.Jonathon Jongsma2008-03-071-0/+1
| | | | | | | | * glib/glibmm.h: add an include for checksum.h which was added in the 2.15.x series. svn path=/trunk/; revision=638
* 1.5.1:Murray Cumming2008-01-121-0/+1
| | | | | | | | | | | 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
* Regenerated with enums.pl Regenerated with h2defs.pyMurray Cumming2007-06-121-0/+1
| | | | | | | | | | | | | | | | | | | | 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
* Wraps GKeyFile (Bug #330535) Added include of keyfile.h Added keyfile.hRob Page2006-09-191-0/+1
| | | | | | | | | | | | | | | 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
* Rethought the structure now that I see how the parts work together.Murray Cumming2004-10-101-0/+1
| | | | | | | | | | | | 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.
* Wrapped more methods, but I have still not finished. Started an example.Murray Cumming2004-09-271-0/+1
| | | | | | | | 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.
* Added glib/glibmm/i18n.h and i18n-lib.h which defines _() and friends forMurray Cumming2004-03-021-0/+1
| | | | | | | | | | | | 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().
* Initial revisionMurray Cumming2003-01-071-0/+69