| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This prepares the code to use __declspec(dllexport) to export all symbols, so
that we can eventually bid farewell to gendf.exe
|
|
|
|
| |
Bug 786824
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Destructors are already noexcept, but this makes that even clearer.
This might be foolish.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/gio_docs_override.xml:
* glib/src/glib_docs_override.xml: Move "Since: n.m" from the <return> to the
<description> entries. gmmproc adds a period at the end of the @return
Doxygen command, and Doxygen warns for "@newin{n,m}.".
* glib/glibmm/interface.h:
* glib/glibmm/stringutils.h:
* glib/glibmm/vectorutils.h:
* gio/src/*.hg:
* glib/src/*.hg: (Here "*" means "many", not "all") Examples of changes:
Add missing @param. Change names of parameters, to make them equal in
function declaration and @param command. Change "@name" to "@a name".
Change "<ulink url=" to "<a href=".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/arrayhandle.h:
* glib/glibmm/containers.h:
* glib/glibmm/listhandle.h:
* glib/glibmm/slisthandle.h:
* glib/glibmm/vectorutils.h: Use std::size_t and std::ptrdiff_t instead
of ::size_t and ::ptrdiff_t. Only the std versions are required to be
declared in <cstddef>.
* examples/network/resolver.cc:
* glib/glibmm/containerhandle_shared.h:
* glib/glibmm/helperlist.h:
* glib/glibmm/main.h:
* glib/glibmm/vectorutils.cc: Use std::size_t instead of ::size_t.
* glib/src/convert.hg: Use std::size_t instead of ::size_t in a comment.
* glib/glibmm/property.cc:
* glib/glibmm/ustring.h: Use std::ptrdiff_t instead of ::ptrdiff_t.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/vectorutils.[h|cc]: Don't crash in compute_array_size2, when
NULL is passed - in that case just return 0. Also, array_to_vector method
return empty vector in such case.
* glib/glibmm/arrayhandle.[h|cc]: Set array_size to zero if passed array
is NULL.
* tests/glibmm_null_vectorutils/main.cc: New test for NULL arrays and lists
for vectorutils.
* tests/glibmm_null_containerhandle/main.cc: New test for NULL arrays and lists
for containerhandles.
* tests/Makefile.am: Added new tests to build.
Spotted by Kalev Lember. Bug #645245.
|
|
|
|
|
|
| |
* glib/glibmm/vectorutils.h: Documented important parts of *Keeper classes
and corrected examples in *Handler classes. The documentation mostly tries
to explain memory management.
|
|
|
|
|
|
| |
* glib/glibmm/vectorutils.h: Some simple documentation about the *Handler
utility classes, though I need to correct the example code and explain the
memory mangement when that is clear to me.
|
| |
|
|
* 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.
|