| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit 17e3b167900b95986babeb8fcabd335881ea4d53.
The reverted commit added new ABI. It must not be added to
the glibmm-2-58 branch.
|
|
|
|
|
|
| |
NO_GTYPE can't be used in _WRAP_ENUM if the enum is used in _WRAP_PROPERTY.
The error is noticed only during execution of code that calls the generated
property_*() method. Fixes #37
|
|
|
|
|
|
| |
The M4 macro _GET_TYPE_FUNC() does not generate correct function names for
GDBus* enums. This fix makes it possible to specify the function name in
the call to _WRAP_ENUM or _WRAP_GERROR. See issue #37
|
|
|
|
|
| |
jhbuild/modulesets/gnome-suites-core-deps-latest.modules has been changed
to allow jhbuild to build glibmm-2.4 with builddir != sourcedir.
|
|
|
|
|
| |
init_generate.sh was too quickly copied from the master branch.
glibmm-2.4 shall use its own scripts and extra_defs_gen files.
|
|
|
|
|
|
|
|
| |
* tools/defs_gen/docextract.py:
* tools/defs_gen/docextract_to_xml.py: Add -x or --exclude-file option.
Useful when generating gio_docs.xml or (in gtkmm-3) gtk_docs.xml.
Remove the -d and -o options, which have been accepted, but have done
nothing.
|
|
|
|
|
|
|
|
|
| |
Most modules (e.g. glib) can be built in a directory separated from the
source directory. Update the scripts that generate .defs and doc.xml files
to handle that. See gtkmm!11.
The environment variable JHBUILD_SOURCES is not used any more.
Instead the environment variables GMMPROC_GEN_SOURCE_DIR and
GMMPROC_GEN_BUILD_DIR are read. See comments in init_generate.sh.
|
|
|
|
|
| |
They are defined also in gio/src/filelist.gmake.am. They should have been
removed from filelist.am when filelist.gmake.am was created.
|
|
|
|
|
| |
as pointed out by Kjell:
https://gitlab.gnome.org/GNOME/gtkmm/merge_requests/9#note_389406
|
|\
| |
| |
| |
| | |
fileutils|IOChannel: Don’t use @retval on out args [stable]
See merge request GNOME/glibmm!7
|
|/
|
|
|
|
|
|
|
|
| |
as it is for documenting particular values of the return variable.
Replace @retval with @param[out], and while here, reorder some arguments
in doc comments to match the order they have in function argument lists.
See https://gitlab.gnome.org/GNOME/gtkmm/merge_requests/9 for more
disussion on the rationale for this.
|
|
|
|
|
|
| |
g_tls_connection_[set,get]_rehandshake_mode() have been deprecated in glib/gio.
They can't be deprecated in the stable glibmm-2-58 branch now.
This patch makes it possible to build glibmm-2.58.x against the newest glib.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Glibmm 2 56.nmake
See merge request GNOME/glibmm!5
|
| |
| |
| |
| | |
The Visual Studio build files are now in MSVC_NMake, not MSVC_201x.
|
| |
| |
| |
| |
| | |
Let people know how Visual Studio builds are now done via NMake
Makefiles, and the various build options available.
|
| |
| |
| |
| | |
Remove them as they have been superseded by the NMake Makefiles.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a set of NMake Makefiles that can be used to build glibmm with
Visual Studio 2015 or later (2013 is not supported as it does not have
enough C++-11 support). These NMake Makefiles are now dist'ed instead
of the Visual Studio 2015 projects as it is intended that the NMake
Makefiles will replace the Visual Studio projects, for maintenance
reasons.
Note that for the C++11 versions of glibmm, we name the DLLs and LIBs in
the form of <library>-vc140-2_4.[dll|lib] or
<library>-vc140-d-2_4.[dll|lib] since for both Visual Studio 2015 and
2017 builds as they both link to the Visual Studio v140 C/C++ runtimes.
|
| |
| |
| |
| |
| | |
This will prepare the filelist.am's to be also usable with the NMake
Makefiles, so that they can be shared with the autotools build files.
|
|/
|
|
|
| |
This is to prepare the transition the Visual Studio build files into
NMake Makefiles.
|
| |
|
|
|
|
|
| |
This was not a grammar error before C++ification! But let’s fix it
anyway, and give the enumeration name some nice formatting as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc8 -Wextra prints a warning when a single reinterpret_cast is used for
conversion between different types of function pointers. The previous fix
with a union in Glib::bitwise_equivalent_cast<>() is not standard C++.
Rename the function to Glib::function_pointer_cast<>(), and use two
reinterpret_casts as recommended in gcc's documentation.
* glib/src/optiongroup.ccg: Use a reinterpret_cast to convert from
a function pointer to void*. That's possible now. It's "conditionally
supported", starting with C++11.
See https://github.com/libsigcplusplus/libsigcplusplus/issues/8
|
|
|
|
|
| |
...this was an added source file that ought to be included. Also ensure
that the corresponding header gets "installed".
|
|
|
|
|
|
| |
It was since 2.50.1 when we actually needed C++-11 features beyond what
Visual Studio 2013 supports, so bump the required Visual Studio version
to 2015, so that things will continue to build.
|
|
|
|
|
|
| |
and update the bug report address in AC_INIT.
Fixes #29
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc8 -Wextra prints a warning when reinterpret_cast is used for conversion
between different types of function pointers. Avoid that by adding
Glib::bitwise_equivalent_cast<>() with a union with members of
the two types of function pointers.
* glib/src/optiongroup.ccg: Use Glib::bitwise_equivalent_cast<>() to convert
from a function pointer to void*.
See https://github.com/libsigcplusplus/libsigcplusplus/issues/1
|
|
|
|
|
|
| |
This reverts commit 5d953603f30f0452cb9da35e3083a3fc145c3f57.
This can be done in a better way by keeping the union in a template function.
|
|
|
|
|
|
|
|
| |
gcc8 -Wextra prints a warning when reinterpret_cast is used for conversion
between different types of function pointers. Avoid that by instead using
a union with members of the two types of function pointers.
See https://github.com/libsigcplusplus/libsigcplusplus/issues/1
|
|
|
|
|
| |
* glib/glibmm/main.cc: Add G_GNUC_[BEGIN|END]_IGNORE_DEPRECATIONS.
* glib/glibmm/main.h: Update the description of MainContext::wait().
|
|
|
|
|
|
|
| |
Without doing so, the C++ arguments take ownership of the C GObjects
passed to the handler, so both go out of scope on exiting the handler.
https://gitlab.gnome.org/GNOME/glibmm/issues/28
|
|
|
|
|
|
|
|
| |
As the GLib Threads documentation states:
“Since version 2.32, the GLib threading system is automatically
initialized at the start of your program, and all thread-creation
functions and synchronization primitives are available right away.”
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libc++ internally represents std::wstrings in UCS-4 just like libstdc++,
but does not set the __STDC_ISO_10646__ define. This caused the code to
fall back to calling iconv with the WCHAR_T source character set, which
does not correctly convert these strings and leads to errors, for
example in inkscape on startup.
See https://trac.macports.org/ticket/56214 for an instance of such
a problem.
Re-use the UCS4 to UTF8 conversion code when libc++ is detected, which
solves this. Bug 795338
|
| |
|
| |
|
|
|
|
|
| |
Add set_option_context_parameter_string(), set_option_context_summary(),
set_option_context_description().
|
|
|
|
|
|
|
| |
property_resource_base_path() has the wrong return type, bool instead of
std::string. It can't be fixed without breaking API/ABI. For now, deprecate
property_resource_base_path() and add hand-coded
property_resource_base_path_string() with the correct type. Bug 787496
|
|
|
|
| |
Analogous to std::shared_ptr::get(). Bug 495762
|
| |
|
| |
|
|
|
|
|
| |
Deprecate read_until(), read_until_async() and read_until_finish().
The corresponding glib functions have been deprecated.
|
|
|
|
| |
The corresponding glib functions have been deprecated.
|
|
|
|
|
|
| |
* tools/extra_defs_gen/generate_defs_gio.cc: Add an initial call to
get_defs(G_TYPE_APPLICATION) to make sure the first call to get_defs()
requests info on a GObject, not a GInterface.
|
|
|
|
|
| |
Introduce a macro to generate appropriate setter for a structure which
has gchar* as a member. Bug 793778
|
|
|
|
|
|
|
| |
g_data_input_stream_read_until(), _read_until_async() and _read_until_finish()
have been deprecated in glib/gio. They can't be deprecated in the stable
glibmm-2-54 branch now. This patch makes it possible to build glibmm-2.54.x
against the newest glib.
|