- Aug 02, 2017
-
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
-
In C++11 default values of function arguments can contain curly braces, such as const Glib::RefPtr<SomeClass>& x = {}. Bug 783216 comment 13
-
plus some minor tweaks that don't quite seem worth changing upstream. This adds some useful extra context for get_(prg|user|real)name().
-
- Jul 30, 2017
-
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
-
Marcin Kolny authored
Value_Pointer class takes only one template argument
-
- Jul 25, 2017
-
-
Kjell Ahlstedt authored
* gio/src/dbusactiongroup.hg: Implement ActionGroup. * gio/src/fileicon.hg: Implement Icon. * gio/src/loadableicon.[ccg|hg]: * gio/src/networkmonitor.hg: * gio/src/remoteactiongroup.hg: Derive directly from Glib::Interface. * gio/src/pollableinputstream.hg: * gio/src/pollableoutputstream.hg: Fix a comment. A subclass of GInterface can't be derived from another subclass of GInterface. Correspondingly, an interface in glibmm shall be derived directly from Glib::Interface, and not from a subclass of Glib::Interface. Bug 776537
-
Kjell Ahlstedt authored
_WRAP macros have accepted unpaired quotes, such as _WRAP_PROPERTY("text_column, int), but has therefore not been able to accept unpaired parentheses in quoted strings, such as deprecated "Because 1) Blah, 2) Blah". Change that to accepting almost anything in quoted strings, but dying with an error code on unpaired quotes or unpaired parentheses outside quotes.
-
Kjell Ahlstedt authored
-
- Jul 04, 2017
-
-
Kjell Ahlstedt authored
* gio/src/bufferedinputstream.hg: * gio/src/bufferedoutputstream.hg: Implement Seekable. * gio/src/dataoutputstream.hg: Implement Seekable. Change the base class from BufferedOutputStream to FilterOutputStream. GSeekable was implemented in the underlying glib classes with glib bug 673034. The base class of Gio::DataOutputStream has problably been wrong from the beginning. GDataInputStream has base class GBufferedInputStream, but GDataOutputStream has base class GFilterOutputStream.
-
- Jul 03, 2017
-
-
Kjell Ahlstedt authored
Probably overlooked in commit 696685ee
-
Kjell Ahlstedt authored
to avoid some warnings when Makefile is generated from Makefile.am.
-
- Jun 26, 2017
-
-
Kjell Ahlstedt authored
This vfunc shall delete the returned character array after it has been copied to a Glib::ustring, or else it leaks memory. It shall also convert an empty Glib::ustring to a null gchar*. Bug 783360
-
Kjell Ahlstedt authored
Converting from a non-const gchar* to Glib::ustring or std::string without calling g_free() has caused memory leaks in several signals and vfuncs. Remove these conversions from convert_glib.m4. Correct conversions can be added in .hg files where they are needed, and where it's known what is correct. Bug 783360
-
- Jun 23, 2017
-
-
Kjell Ahlstedt authored
* gio/src/memoryinputstream.hg: Implement PollableInputStream. * gio/src/memoryoutputstream.hg: Implement PollableOutputStream. * gio/src/unixinputstream.hg: Implement PollableInputStream and FileDescriptorBased. * gio/src/unixoutputstream.hg: Implement PollableOutputStream and FileDescriptorBased.
-
Kjell Ahlstedt authored
GUnixInputStream and GUnixOutputStream implement GFileDescriptorBased.
-
- Jun 20, 2017
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
The member data name shall be take_ownership_ (with an underscore suffix) and the function argument name take_ownership.
-
- Jun 18, 2017
-
-
Kjell Ahlstedt authored
Make it clear that Pollable[In|Out]putStream can't be derived from [In|Out]putStream even though GPollable[In|Out]putStream requires G[In|Out]putStream. Bug 776537
-
Kjell Ahlstedt authored
and call Initable::init() from CharsetConverter's constructor. Bug 776537
-
- Jun 16, 2017
-
-
Kjell Ahlstedt authored
ExtraApplicationData is not necessary, if g_application_add_main_option() is used for options without a callback slot, and some data is added to the local class OptionArgCallbackData.
-
- Jun 15, 2017
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
Cast to the correct type in the call to ValueBase_Flags::set_flags(). It takes an unsigned int.
-
- Jun 13, 2017
-
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
* tools/enum.pl: Handle enumerator values like 'B', 1u << 2, (gint)(1u << 31). Suppress repeated long warnings. * tools/pm/Output.pm: Handle enumerator values like 'B'. (1u << 2 and (gint)(1u << 31) require no fix.)
-
- Jun 12, 2017
-
-
Kjell Ahlstedt authored
It's changed from a plain enum to a scoped enum.
-
Kjell Ahlstedt authored
-
Kjell Ahlstedt authored
* glib/src/iochannel.hg: The code snippet needs a fix when IOCondition is a scoped enum (enum class). Doxygen needs "@enum IOCondition" before the extra documentation.
-
Kjell Ahlstedt authored
* glib/src/fileutils.hg: Remove documentation of FileError::Code that duplicates documentation generated by _WRAP_GERROR.
-
- Jun 11, 2017
-
-
Kjell Ahlstedt authored
CONV_TO_INT "Convertible to int": Generate a plain enum (not an enum class) within a class. Such an enum is scoped like an enum class, and it can be implicitly converted to int like a plain enum. Bug 86864
-
- May 29, 2017
-
-
Daniel Boles authored
This looks much less ugly.
-
- May 26, 2017
-
-
Murray Cumming authored
-