summaryrefslogtreecommitdiff
path: root/glib/glibmm/filelist.am
Commit message (Collapse)AuthorAgeFilesLines
* Add the GLIBMM_CHECK_VERSION() preprocessor macroKjell Ahlstedt2023-01-161-0/+1
|
* Add Glib::Environ and tests/glibmm_environKjell Ahlstedt2021-05-231-0/+2
| | | | Fixes #89
* Derive Glib::Error from std::exception, remove Glib::ExceptionKjell Ahlstedt2019-12-141-2/+0
| | | | | | Glib::Error::what() returns const char* (was Glib::ustring). It overrides std::exception::what() that returns const char* and is noexcept. Fixes #23
* Remove Glib::TimeValKjell Ahlstedt2019-08-131-2/+0
| | | | | | | | | | | | | | | | | | 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.
* glibmm, giomm: Split out GNU automake items from filelist.amChun-wei Fan2018-09-071-1/+0
| | | | | | This enables the filelist.am files to be shared with the NMake Makefiles, so that any addition/removal to the sources can be reflected in the Visual Studio build files as well.
* Glib::Variant: Improved support for D-Bus object paths and signaturesKjell Ahlstedt2017-08-161-0/+2
| | | | | | | | | | | | | | * glib/glibmm/filelist.am: Add variantdbusstring.h and variantdbusstring.cc. * glib/glibmm/variantdbusstring.[cc|h]: New files. String classes meant only for Variants with D-Bus object paths or D-Bus signatures. * glib/src/variant.[ccg|hg]: Add specializations for Variant<Glib::DBusObjectPathString>, Variant<Glib::DBusSignatureString> and Variant<std::vector<Glib::DBusObjectPathString>>. * glib/src/varianttype.[ccg|hg]: Add VARIANT_TYPE_OBJECT_PATH_ARRAY. * tests/glibmm_variant/main.cc: Add test_object_path(). Make it possible to create a composite Variant containing variant type o (D-Bus object path) or g (D-Bus signature). Bug 785700
* 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.
* Remove unused containers.[h||cc].Murray Cumming2017-03-201-2/+0
|
* 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-2/+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-2/+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 unused Glib::SArrayMurray Cumming2017-03-171-2/+0
|
* Object construction: Add custom class init and instance init functionsKjell Ahlstedt2017-02-151-0/+2
| | | | | | | Make it possible for named custom types to register additions to the class init function and to register an instance init function. An extra class init function is useful in Gtk::WidgetCustomDraw and Gtk::WidgetCustomSnapshot. Bug 775348
* Remove deprecated Thread and Threads API.Murray Cumming2016-11-141-2/+0
|
* Glib::SignalProxy: use variadic templatesMarcin Kolny2016-01-211-0/+1
| | | | | | | | | | | | | | | * .gitignore: signalproxy.h file is no more generated, so it has been removed from ignored list. * gio/src/application.{ccg|hg}: don't use old-style SignalProxy class. * glib/glibmm/filelist.am: add signalproxy.h file to distributed files list. * gio/glibmm/signalproxy.h: add implementation of SignalProxy and SignalProxyDetailedAnyType. * glib/src/filelist.am: * glib/src/signalproxy.h.m4: signalproxy.h is not generated, thus remove m4 file. * tools/m4/signal.m4: use new SignalProxy class instead of SignalProxy*.
* Add Glib::WeakRef<>Kjell Ahlstedt2015-09-151-0/+1
| | | | | | | | | | * glib/glibmm/filelist.am: Add weakref.h. * glib/glibmm/weakref.h: New file. * glib/glibmm.h: Add weakref.h. (Not yet. I'll do it before I push weakref.h.) * tests/Makefile.am: Add test case glibmm_weakref. * tests/glibmm_weakref/main.cc: New test case. Bug #583399. Thanks to worknesday, who attached a first version of WeakRef to the bug report. Bug #583399
* docs: Include unused headers in reference documentationDaniel Elstner2015-08-261-1/+3
| | | | | | | | | | | * glib/glibmm/filelist.am (glibmm_files_all_h): New variable that holds all header files, even those which are not included in the build. * gio/giomm/filelist.am (giomm_files_all_h): ditto. * docs/Makefile.am (doc_input): Make Doxygen parse all public header files, including those which are unused in the current build configuration. This ensures that the documentation covers all platforms.
* Add Glib::format_size()Kjell Ahlstedt2015-04-151-2/+0
| | | | | | | | | | * .gitignore: Ignore glib/glibmm/miscutils.[h|cc]. * glib/src/filelist.am: Add miscutils.hg. * glib/glibmm/filelist.am: Remove miscutils.[h|cc]. * glib/glibmm/miscutils.[h|cc]: Move to glib/src and rename to miscutils.[hg|ccg]. * glib/src/miscutils.[hg|ccg]: New files. Move from glib/glibmm and rename. Add _WRAP_ENUM(FormatSizeFlags,...). Add Glib::format_size(). Bug #747311.
* Deprecate API which is deprecated in glibKjell Ahlstedt2014-06-131-2/+2
| | | | | | | | | | | | | | | | | | | | * gio/src/application.hg: Deprecate set_action_group(). * gio/src/desktopappinfo.hg: Deprecate set_desktop_env(). * gio/src/settings.[hg|ccg]: Deprecate list_schemas(), range_check() and property_schema(). * gio/src/simpleactiongroup.hg: Define GLIB_DISABLE_DEPRECATION_WARNINGS in the .cc file. * gio/src/tlsconnection.hg: Deprecate [set|get]_use_system_certdb() and property_use_system_certdb(). * gio/src/volumemonitor.hg: Deprecate adopt_orphan_mount() also in the .cc file. * glib/glibmm/filelist.am: Build only the glibmm_files_used. * glib/src/filelist.am: Add glibmm_files_deprecated_hg. Move thread.hg and valuearray.hg to it. * glib/src/keyfile.hg: Deprecate one of the load_from_dirs() methods also in the .cc file. * glib/src/valuearray.hg: Deprecate the whole class Glib::ValueArray. * tests/glibmm_valuearray/main.cc: Undefine GLIBMM_DISABLE_DEPRECATED.
* glibmm: Wrapped Base64 functionality from glibMichael Kruglos2013-05-071-0/+2
| | | | | | | | 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.
* Added bool specialization for Glib::ArrayHandle.Krzesimir Nowak2011-02-211-0/+1
| | | | | | | | | | | * glib/glibmm/arrayhandle.h: Added specialization for bool ArrayHandle. This is needed because std::vector<bool> is a specialization for which iterators does not return a reference to actual value it holds. * glib/glibmm/arrayhandle.cc: New file implementing destructor of bool ArrayHandle - the only method that is not inlined. * tests/glibmm_bool_arrayhandle/main.cc: New file implementing test checking if bool ArrayHandle actually works. * tests/Makefile.am: Added new test to build.
* Added vectorutils.h.Krzesimir Nowak2011-01-271-0/+2
| | | | | | | | | | | * 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.
* Glib::Variant<>: Use gmmproc files so wrapping is not done manually.José Alburquerque2010-06-191-2/+0
| | | | | | | | | | | | | | | * glib/src/glib_functions.defs: Regenerate to get the GVariant functions. * glib/src/variant.ccg: * glib/src/variant.hg: * glib/src/filelist.am: Add the new .hg and .ccg files and mention them. Wrapping is now done using gmmproc instead of handwriting the methods. * glib/glibmm/variant.cc: * glib/glibmm/variant.h: * glib/glibmm/filelist.am: Remove these files and their mentions because now they are written as .hg and .ccg files. * glib/src/variant_basictypes.h.m4: Add docs.
* Preliminary implementation of Glib::Variant<> classes.José Alburquerque2010-06-181-0/+2
| | | | | | | | * glib/glibmm/variant.cc: * glib/glibmm/variant.h: * glib/src/variant_basictypes.cc.m4: * glib/src/variant_basictypes.h.m4: Add an initial implementation of of the Glib::Variant<> classes which wrap glib's GVariant API.
* Work around Automake cleverness failureDaniel Elstner2009-08-091-1/+1
| | | | | | | | | | | | | | * gio/giomm/filelist.am (giomm_files_built_ph): Use the GNU make $(patsubst ...) function instead of $(var:%=foo%bar) if a simple $(var:.a=.b) is not sufficient. Apparently Automake is able to expand some of these constructs statically, but in some cases it will actually produce the wrong result. Using $(patsubst ...) helps to avoid the problem because Automake does not attempt to expand it. * glib/glibmm/filelist.am (glibmm_files_built_ph): Use the $(patsubst ...) function here, too. * gio/src/filelist.am (giomm_files_used_hg): Define another intermediate variable to avoid repetition.
* Bring back the giomm reference documentationDaniel Elstner2009-08-091-6/+6
| | | | | | | | | | | | | | * glib/{src,glibmm}/filelist.am: Add namespace prefix glibmm_ to variable names, so that the file lists of glibmm and giomm can be included together without conflicts. * gio/{src,giomm}/filelist.am: Add namespace prefix giomm_ to variable names. * glib/{src,glibmm}/Makefile.am: Copy the namespace-prefixed make variables to non-prefixed variables, so that the Automake include files from mm-common will pick up the values. * gio/{src,giomm}/Makefile.am: ditto. * docs/Makefile.am: Include file lists of giomm. (doc_input): List the header files of both glibmm and giomm.
* Convert glib/ sub-tree to new build systemDaniel Elstner2009-08-091-0/+86
* glib/src/filelist.am: New file for defining the lists of gmmproc input files and M4 template files. * glib/src/Makefile.am: Clean up and modernize. Integrate with the new generate-binding.am build file from mm-common. * glib/glibmm/filelist.am: New file for the lists of source code files, both generated and static. Also list files from the private/ subdirectory here. * glib/glibmm/Makefile.am: Clean up and modernize. Integrate with the new compile-binding.am build file from mm-common. * configure.ac (AC_CONFIG_FILES): Remove the output file glib/glibmm/private/Makefile from the list. * glib/glibmm/private/Makefile.am: Delete file. * glib/src/Makefile_list_of_hg.am_fragment: Delete file.