summaryrefslogtreecommitdiff
path: root/glib/glibmm.h
Commit message (Collapse)AuthorAgeFilesLines
* Add the GLIBMM_CHECK_VERSION() preprocessor macroKjell Ahlstedt2023-01-161-0/+1
|
* glib/glibmm.h: Update the link to the gtkmm tutorialKjell Ahlstedt2022-09-191-1/+1
|
* Add Glib::Environ and tests/glibmm_environKjell Ahlstedt2021-05-231-0/+1
| | | | Fixes #89
* Change the ABI to glibmm-2.68Kjell Ahlstedt2020-12-111-4/+4
| | | | | | | 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.
* glib/glibmm.h: Describe how to use glibmm with mesonKjell Ahlstedt2020-10-121-3/+18
|
* Remove Glib::BalancedTreeKjell Ahlstedt2020-09-071-1/+0
| | | | Use std::map or std::unordered_map instead.
* Change the ABI to glibmm-2.66Kjell Ahlstedt2020-03-171-2/+2
| | | | | | | | | 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.
* Derive Glib::Error from std::exception, remove Glib::ExceptionKjell Ahlstedt2019-12-141-1/+0
| | | | | | Glib::Error::what() returns const char* (was Glib::ustring). It overrides std::exception::what() that returns const char* and is noexcept. Fixes #23
* Change the ABI to glibmm-2.64Kjell Ahlstedt2019-09-181-2/+2
| | | | | | | | | 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.
* Remove Glib::TimeValKjell Ahlstedt2019-08-131-3/+1
| | | | | | | | | | | | | | | | | | 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.
* Change the ABI to glibmm-2.62Kjell Ahlstedt2019-03-171-2/+2
| | | | | | | | | 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.
* Change the ABI to glibmm-2.60Kjell Ahlstedt2018-10-311-2/+2
| | | | | | | | | | 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.
* Change the ABI to glibmm-2.58Kjell Ahlstedt2018-03-261-2/+2
| | | | | | | | | | | 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
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-2/+1
| | | | Bug 786824
* Change the ABI to glibmm-2.54Murray Cumming2017-08-251-2/+2
| | | | | | | | | | 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
* 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