| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* glib/glibmm/refptr.h: Make it possible to stop use of RefPtr with
certain classes. Bug #755048.
|
|
|
|
|
|
|
| |
* glib/glibmm/weakref.h: Add noexcept.
* glib/glibmm.h: Add weakref.h.
* tests/glibmm_weakref/main.cc: Remove #include <glibmm/weakref.h>.
Bug #583399.
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
If glib.h is included, it must be included after glibmm.h, to give thread.h a
chance to include glib.h with G_DISABLE_DEPRECATED undefined. Bug #753271.
|
|
|
|
|
|
|
| |
timer.cc and random.cc will need to include more of glibmm's headers so
that they will be able to use _NOEXCEPT during the build of glibmm.
https://bugzilla.gnome.org/show_bug.cgi?id=753271
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Visual Studio 2013 supports enough of C++-11 to support the build of
glibmm, except that it does not support noexcept (which is something
that Visual Studio 2015 supports). Define noexcept as _NOEXCEPT on
Visual Studio 2013, so that one can build glibmm on it.
Note that since later Visual Studio versions do not allow one to
define known keywords like noexcet as macros, we need to define
_ALLOW_KEYWORD_MACROS to workaround this limitation.
https://bugzilla.gnome.org/show_bug.cgi?id=753271
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Destructors are already noexcept, but this makes that even clearer.
This might be foolish.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
These don't have much in common with each other.
Like most of our move operations, they are completely untested,
though they could be.
|
|
|
|
| |
There were still some left in the .hg/.ccg files.
|
|
|
|
|
| |
I am not entirely sure that this is the right thing to do.
See my comment in the next commit about the test.
|
|
|
|
|
| |
Because the call to the ObjectBase move constructor will not
actually happen. See the comment for the previous commit.
|
|
|
|
|
|
|
|
|
|
|
| |
And _move_current_wrapper() for it to use.
Object and Interface can use initialize_move() in their move
constructors. They need to do this because their calls to the
ObjectBase move constructors will not actually run, at least
when in a derived class, because ObjectBase is a virtual base
class (for use in virtual inheritance).
We have initialize() for much the same reason, for the regular
constructors.
|
|
|
|
|
|
|
|
|
|
| |
Because _CLASS_OPAQUE_REFCOUNTED already generates a comment
telling us not to derive from them, presumably because they can
only be instantiated by reinterpret_cast<>ing a base C struct.
Ideally, _CLASS_OPAQUE_REFCOUNTED would add the final keyword,
but the class line is is not generated, so that would be a little
difficult.
|
|
|
|
|
| |
Add move constructors and move assignment operators so that derived
classes can have these too.
|
| |
|
| |
|
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=752812
* glib/glibmm/refptr.h: add warning in a comment, replace
warn_unused_result attribute with corresponding GLib macro.
|
|
|
|
|
| |
This is not actually less efficient - the code is inline anyway.
Bug #752876
|
|
|
|
| |
Regenerated without information from private.h files.
|
|
|
|
|
|
|
|
| |
* glib/glibmm/refptr.h: add move constructor and move assignment
operator which allow to set underlying object to castable type.
* tests/glibmm_refptr/main.cc: add tests for move constructor and
move assignment operator containing universal reference as an
argument.
|
|
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=752812
* glib/glibmm/refptr.h: "release" method gives an access to managed
underlying object, releasing RefPtr's ownership. Method is useful
e.g. in wrappers of functions containing transfer-full arguments.
|
|
|
|
|
|
|
| |
* glib/src/glib_enums.defs.patch: G_IO_FLAG_IS_WRITEABLE is an enum constant
since 2013-02-04. No patch needed for that any more.
* gio/src/gio_enums.defs.patch: New file. Such a file has been useful for a
long time. It should have been stored in git long ago.
|
|
|
|
|
|
|
| |
This reverts commit 05610cec2ccbc54f20fcc3e995e41649f21c5714.
See the commit in the previous commit about gtkmm-2.24. This is a
temporary act of kindness to Inkscape.
|
|
|
|
|
|
|
|
| |
To avoid breaking the gtkmm-2.24 build with --enable-warnings=fatal,
and the build of apps that do this too.
However, those apps (Inkscape) need to stop using that ancient
deprecated version of gtkmm.
Bug #752797
|
| |
|
| |
|
| |
|
|
|
|
| |
This seems to be correct and allowed. It makes the code clearer.
|
| |
|
|
|
|
|
| |
I don't think these have been used since before gtkmm 3.0.
They were already hidden from the documentation.
|
|
|
|
| |
Though we cannot hide them via GIOMM_DISABLE_DEPRECATED.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|