| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #106
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/signal.m4: Add an optional parameter to _SIGNAL_PH.
* tools/m4/vfunc.m4: Add an optional parameter to _VFUNC_PH.
* tools/pm/Output.pm:
output_wrap_vfunc_h(): Add $objCDefsFunc->args_names_only()
in call to _VFUNC_PH.
output_wrap_default_signal_handler_h(): Add $objCDefsFunc->args_names_only()
in call to _SIGNAL_PH.
Part of issue #1
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/glibmm/class.cc: Use glibmm_custom_[get|set]_property_callback().
* glib/glibmm/object.[cc|h]: Add set_data_with_c_callback().
Don't call g_object_set_qdata_full() with a function with C++ linkage, if
GLIBMM_CAN_ASSIGN_NON_EXTERN_C_FUNCTIONS_TO_EXTERN_C_CALLBACKS is defined.
* glib/glibmm/property.[cc|h]: Declare some local functions extern "C".
Add glibmm_custom_[get|set]_property_callback().
* glib/src/nodetree.[ccg|hg]:
Add glibmm_NodeTree_c_callback_[traverse|foreach]() and
struct NodeTreeCallback[Traverse|Foreach]Data.
Part of issue #1
|
|
|
|
|
|
| |
* glib/glibmm/value_custom.[cc|h]: Add custom_boxed_type_cpp_register().
* tests/glibmm_value/main.cc: Add test of copying custom Value.
Part of issue #1
|
|
|
|
|
| |
and use it instead of SignalProxy_async_callback().
Part of issue #1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/cancellable.ccg: Add TODO comment.
* glib/glibmm/class.cc: Call custom_class_base_finalize_function() and
custom_class_init_function() via local functions with C linkage.
* glib/glibmm/extraclassinit.h: Point out in the class documentation that
the class init and instance init functions shall have C linkage.
* glib/glibmm/main.[cc|h]: Call prepare_vfunc(), check_vfunc() and
dispatch_vfunc() via local functions with C linkage.
* glib/glibmm/objectbase.cc: Call destroy_notify_callback()
via a local function with C linkage.
* glib/glibmm/propertyproxy_base.cc: Call PropertyProxyConnectionNode::
callback() and destroy_notify_handler() via local functions with C linkage.
* glib/glibmm/signalproxy.cc: Call SignalProxyNormal::slot0_void_callback()
and SignalProxyConnectionNode::destroy_notify_handler() via local functions
with C linkage.
* glib/src/binding.ccg: Add extern "C".
* glib/src/bytearray.ccg: Add a TODO comment.
* glib/src/markup.ccg: Call functions in the vfunc table via local
functions with C linkage.
* glib/src/optioncontext.ccg: Add extern "C".
* glib/src/optiongroup.ccg: Call post_parse_callback() and
option_arg_callback() via local functions with C linkage.
Part of issue #1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm/socketsource.cc: Add extern "C".
* gio/src/application.[ccg|hg]: Call Application_Class::open_callback()
via a local function with C linkage.
* gio/src/asyncinitable.[ccg|hg]: Call
AsyncInitable_Class::init_async_vfunc_callback() and
init_finish_vfunc_callback() via local functions with C linkage.
* gio/src/dbusobjectmanagerclient.ccg: Use a local function with C linkage
instead of Glib::destroy_notify_delete<SlotProxyType>.
* gio/src/file.ccg: Add extern "C".
* gio/src/liststore.ccg: Add a TODO comment.
* gio/src/memoryinputstream.ccg: Add extern "C".
* gio/src/settings.ccg: Add extern "C".
* gio/src/socketcontrolmessage.[ccg|hg]: Call
SocketControlMessage_Class::deserialize_async_vfunc_callback()
via a local function with C linkage.
Code that mixes up C linkage and C++ linkage has undefined behavior.
Most compilers make no difference between C and C++ linkage, so it
has not been an issue so far. Part of issue #1
|
| |
|
| |
|
|
|
|
| |
using glib files from glib 2.76.0.
|
|
|
|
|
|
|
|
|
| |
Inspired by gtkmm#132.
A test case has been added at gtkmm/tests/filedialog.
It's difficult to make a meaningful test case without involving gtkmm.
A good test case shall contain a GListModel with objects of a class
which has no corresponding C++ class, and implements an interface
which is wrapped in a C++ class.
|
|
|
|
|
| |
and deprecate the non-const versions.
Fixes #103
|
|
|
|
|
| |
Don't warn when a Dispatcher is deleted while messages are pending.
Fixes #108
|
|
|
|
|
| |
Might make the inheritance diagrams less incomplete when Doxygen's
tag files are not perfect.
|
| |
|
| |
|
|
|
|
| |
using glib files from glib 2.75.2. Update gio_docs_override.xml.
|
|
|
|
| |
Add the bind() overloads with mapping functions.
|
| |
|
|
|
|
|
| |
The bind_property() overload with two transformation functions
has been wrong since commit 4ed3ff9cad836dc7b24282a112d66847292a9baa.
|
|
|
|
| |
Ubuntu 22.10 contains libsigc++-3.0-dev.
|
| |
|
|\
| |
| |
| |
| | |
liststore.hg: Rename a local variable (fix `-Dwarnings=max` on Visual Studio)
See merge request GNOME/glibmm!59
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the templatized implementation of
std::pair<bool, unsigned int> ListStore<T_item>::find, replace 'result' with
'find_result' for what g_list_store_find_with_equal_func_full() returns, to
avoid a compiler warning when building the giomm_listmodel test program when
'-Dwarnings=max' is specified, for Visual Studio builds, as we are using a
variable 'result' in a rather global scrope there[1].
This will help fix 'meson dist' on Visual Studio builds.
[1]: https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4459
|
|\ \
| |/
| |
| |
| | |
Fix builds against glib-2.75.x+ with -Dwarnings=fatal on Visual Studio
See merge request GNOME/glibmm!57
|
|/
|
|
|
|
|
|
|
|
|
|
| |
... for Visual Studio builds, as GLib 2.75.x and later applied
__declspec(dllimport) via macros to DLL builds of the GLib libraries,
meaning that when we put the GQuark and GType function prototypes into
wrap_init.cc warning C4273 will be raised as the prototypes in
wrap_init.cc does not have any dllimport decorations (and would not have
otherwise mattered).
This allows builds with '-Dwarnings=fatal' to proceed with Visual Studio
builds.
|
|\
| |
| |
| |
| | |
Fix giomm_simple test on Windows
See merge request GNOME/glibmm!58
|
|/
|
|
|
|
|
|
|
|
| |
One normally cannot attempt to remove (delete) a file on Windows if it
is still open, so we must close the resources that are tied to the file
before attempting to delete it.
Without doing so, the test program will fail on Windows as an exception
is caught as the file->remove() call failed since the associated
iostream is still open.
|
|
|
|
| |
See libsigcplusplus PR#83
|
|
|
|
| |
See gtkmm#131
|
|
|
|
|
|
| |
It's deprecated from Meson 0.64. The replacement, fs.copyfile(),
is not useful here. It only copies from the source directory to
the build directory.
|
|
|
|
| |
Should have been done in commit dc92d02f4d50851a1af59e5fbe2a753dcfd2e9df.
|
|
|
|
| |
and update the constructor's documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* gio/giomm/meson.build:
* gio/src/filelist.am: Add BytesIcon.
* glib/src/bytes.[ccg|hg]: Add Glib::Value specialization.
Required by _WRAP_PROPERTY in bytesicon.hg.
* tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_BYTES_ICON.
* gio/src/gio_signals.defs: Add BytesIcon property.
* gio/src/bytesicon.[ccg|hg]: New files.
Fixes #107
|
|
|
|
| |
Fixes #105
|
|
|
|
| |
Fixes #104
|
|
|
|
|
| |
A group (but not a 'using' alias) gets its own html file,
which can be referred to from outside glibmm.
|
|
|
|
| |
Required for Glib::Object's inheritance diagram.
|
|
|
|
| |
See gtkmm!72 (William Roy)
|
| |
|
| |
|
|
|
|
| |
using gtk files from glib 2.74.0.
|
| |
|
| |
|
|
|
|
| |
and other minor documentation fixes.
|
|
|
|
|
|
| |
* gio/src/file.[ccg|hg]: Add create_tmp().
Document create_for_parse_name().
* tests/giomm_simple/main.cc: Test File::create_tmp().
|
| |
|
|
|
|
|
|
| |
* gio/src/liststore.[ccg|hg]: Add two ListStoreBase::find() and
two ListStore::find().
* tests/giomm_listmodel/main.cc: Test ListStore::find().
|
| |
|