| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fixes #89
|
|
|
|
|
|
| |
Glib::Error::what() returns const char* (was Glib::ustring). It overrides
std::exception::what() that returns const char* and is noexcept.
Fixes #23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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/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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .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*.
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* .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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
* 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.
|