- Apr 24, 2024
-
-
Kjell Ahlstedt authored
* tools/defs_gen/docextract.py: Accept underscores in property names and signal names. * tools/pm/DocsParser.pm: Accept underscores in property names and in signal names with gi-docgen syntax. Convert enumerator names with gi-docgen syntax.
-
- Apr 12, 2024
-
-
Kjell Ahlstedt authored
Ignore -Winconsistent-dllimport warning from clang in wrap_init.cc Closes #119 See merge request !63
-
Chun-wei Fan authored
One still might want to try to build or use glibmm built with NMake, so define these as appropriate for Visual Studio, in case glibmmconfig.h is not processed with Meson.
-
Chun-wei Fan authored
clang-cl also defines _MSC_VER like Visual Studio, but uses GCC-style directives for silencing warnings for inconsistent dllimport directives (that is outside of glibmm's control), so we update the previous commit to now first check for __GNUC__ and __clang__, and then _MSC_VER. Silences warnings for inconsistent dllimport directives for clang-cl as well, in addition to GCC-style CLang.
-
Chun-wei Fan authored
It's a templatized in-header implementation, so we can just leave out the GLIBMM_API decoration. Silences a warning from CLang/clang-cl.
-
- Apr 10, 2024
-
-
Kjell Ahlstedt authored
Remove unnecessary forward class declarations. Clang 18 on Windows does not like them.
-
Kjell Ahlstedt authored
Clang 18 does not consider NULL good enough in calls to g_object_get().
-
- Apr 04, 2024
-
-
Kjell Ahlstedt authored
The clang compiler on Windows warns like MSVC, when declarations in wrap_init.cc lacks __declspec(dllimport). Compare d6614725 Fixes #119
-
- Mar 22, 2024
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
clang 19.0.0 does not like the overload that takes a const std::basic_string<guchar>&. This overload should have been removed 16 years ago by commit 84135b93. It can't be removed completely now, because that would break ABI. Remove as much as possible. Fixes #118
-
- Mar 14, 2024
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
* configure.ac: * meson.build: Require glib-2.0 >= 2.79.2. * gio/src/application.hg: Add get/set/property_version(). * gio/src/applicationcommandline.[ccg|hg]: Add done(). Use g_application_command_line_print/printerr_literal() in print/printerr(). * gio/src/dbusmessage.hg: Add get_arg0_path(). * gio/src/socket.hg: Add receive_bytes() and receive_bytes_from(). * glib/glibmm/utility.h: Add convert_const_gchar_ptr_to_dbus_object_path_string(). * glib/src/datetime.hg: Add create_from_local_usec(), create_from_utc_usec() and to_unix_usec(). * tools/m4/convert_glib.m4: Add conversion for Glib::DBusObjectPathString.
-
Kjell Ahlstedt authored
using glib files from glib 2.80.0.
-
- Mar 05, 2024
-
-
Kjell Ahlstedt authored
* glib/src/convert.[ccg|hg]: Add wide_from_utf8() and wide_to_utf8(). * tests/glibmm_ustring_make_valid/main.cc: Test the new functions. Based on Chris Vine's patch in issue 9. Fixes #9
-
- Feb 02, 2024
-
-
Kjell Ahlstedt authored
-
- Jan 17, 2024
-
-
Chun-wei Fan authored
Make a note to users that Visual Studio 2019 or later is recommended if building against libsigc++-3.6.x or later as warnings are being generated as C++-17 support is not that well done in 2017 when building against libsigc++-3.6.x or later.
-
Chun-wei Fan authored
This way, one may opt to pass in a base include|libpath|tools_path, plus conrresponding paths to GLib and libsigc++ as needed to assist NMake in finding the headers, .lib's and tools from the dependencies as needed so that building things with NMake is made easier with more flexibility.
-
- Jan 15, 2024
-
-
Kjell Ahlstedt authored
-
- Dec 19, 2023
-
-
Kjell Ahlstedt authored
ustring: TODO to avoid copies from operator string + C++20 move from outstreams See merge request !62
-
- Dec 15, 2023
-
-
Daniel Boles authored
Our conversion operator to std::string always returns a copy but that is wasteful when it could be a const& reference or moved-out from an rvalue – especially bad since conversions can occur silently & harm performance without users realising. We can split to const&/&& overloads at next ABI
-
Daniel Boles authored
C++20 adds `ostream.str() &&` for rvalue `this`, which will move out the stream's owned string. We can use that once we are on C++20 to avoid the extra copy of the string (although we do then copy that AGAIN via GLib!)
-
- Dec 11, 2023
-
-
Kjell Ahlstedt authored
-
- Nov 16, 2023
-
-
Kjell Ahlstedt authored
If a signal handler deletes a Dispatcher, a DispatchNotifier can be deleted while its pipe_io_handler() method is executing. Stop its execution if this happens. Fixes #116
-
- Oct 24, 2023
-
-
Kjell Ahlstedt authored
GdkDmabufTextureBuilder contains functions that return unsigned int.
-
- Sep 12, 2023
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
using glib files from glib 2.78.0.
-
- Sep 01, 2023
-
-
Kjell Ahlstedt authored
Glib::ustring: Add a std::hash<> specialization. Closes #16 See merge request !61
-
- Aug 30, 2023
-
-
Kjell Ahlstedt authored
So people can use it as a key for std::unordered_map and std::unordered_set. Originally proposed by Murray Cumming. Add tests/glibmm_ustring_hash. Fixes #16
-
- Aug 29, 2023
-
-
Kjell Ahlstedt authored
and change Gtk::Bin to Gtk::Widget. Gtk::Bin does not exist in gtkmm4.
-
- Jul 14, 2023
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
* configure.ac: * meson.build: Require glib-2.0 >= 2.77.0. * gio/src/actionmap.hg: _IGNORE(g_action_map_remove_action_entries). * gio/src/resolver.hg: Add set/get/property_timeout(). * glib/glibmm/ustring.[cc|h]: Add ustring::truncate_middle().
-
Kjell Ahlstedt authored
using glib files from glib 2.77.0.
-
- Jul 11, 2023
-
-
Kjell Ahlstedt authored
See gtkmm#140
-
Kjell Ahlstedt authored
-
- Jun 29, 2023
-
-
Kjell Ahlstedt authored
-
- Jun 27, 2023
-
-
Chun-wei Fan authored
Convert the README.win32 file into MarkDown format so that it is easier on the eye for formatting, and convert it to UNIX line endings. Also update the info that is in there to reflect the current situation on Visual Studio better.
-
- Jun 19, 2023
-
-
Daniel Boles authored
-
- Jun 14, 2023
-
-
Kjell Ahlstedt authored
Accept "+" in GTK_ALIGN_BASELINE = GTK_ALIGN_CENTER + 1,
-
- Jun 01, 2023
-
-
Kjell Ahlstedt authored
tests: Test for /etc/passwd instead of /etc/fstab See merge request !60
-
Jeremy Bicha authored
/etc/fstab is not guaranteed to exist on modern Linux distros
-