| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* gio/src/applicationcommandline.hg: Fix the documentation of get_arguments(),
now that g_option_context_parse_strv() has been wrapped.
* glib/src/optioncontext.hg: Wrap g_option_context_parse_strv() as
parse(char**& argv). Fix the documentation of get_help(bool).
|
|
|
|
| |
Doesn't change the generated code, but some gmmproc warnings are avoided.
|
|
|
|
|
|
|
| |
* gio/src/socketservice.hg: The documentation of GSocketService has been
slightly modified. Modify the documentation of Gio::SocketService accordingly.
Fix the indentation.
Noticed in connection with bug #766151, but not a bug fix.
|
|
|
|
|
|
| |
* gio/src/inputstream.hg: is_closed() and has_pending() shall be const.
* gio/src/outputstream.hg: is_closed(), is_closing() and has_pending()
shall be const. Bug #572471
|
|
|
|
|
|
|
| |
Change return type from RefPtr<InputStream> to the correct RefPtr<OutputStream>.
This change does not break ABI, but it breaks API. That should be acceptable.
The property has probably been useless with the wrong declared return type.
Part of a large patch, split by Kjell Ahlstedt. Bug #572471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, add TODO comments about adding vfuncs at ABI break.
* gio/src/bufferedinputstream.hg: TODO: Add fill_vfunc().
* gio/src/filterinputstream.[hg|ccg]: Add ctor.
* gio/src/filteroutputstream.[hg|ccg]: Add ctor.
* gio/src/inputstream.hg: Add ctor, is_closed(), has_pending(),
set_pending(), clear_pending(). TODO: Add read_vfunc(), skip_vfunc(),
close_vfunc().
* gio/src/memoryoutputstream.[hg|ccg]: Add ctor and create().
* gio/src/outputstream.hg: Add ctor, is_closed(), is_closing(), has_pending(),
set_pending(), clear_pending(). TODO: Add write_vfunc(), splice_vfunc(),
flush_vfunc(), close_vfunc().
An updated version of a patch by Krzysztof Kosiński <tweenk.pl@gmail.com>
Bug #572471
|
|
|
|
|
|
|
| |
Add vfuncs for GFileInputStream, GFileOutputStream, GInputStream,
GOutputStream. Move the vfuncs for GPermission and GListModel to their correct
position in alphabetic order.
Part of a large patch, split by Kjell Ahlstedt. Bug #572471
|
|
|
|
|
|
|
|
|
| |
* gio/src/pollableinputstream.hg: read_nonblocking_vfunc_callback():
Return -1 if the C++ vfunc throws an exception.
* gio/src/pollableoutputstream.hg: write_nonblocking_vfunc_callback():
Return -1 if the C++ vfunc throws an exception.
This is what the glib/gio functions expect, and the behaviour suggested in
bug 572471 for similar vfuncs in other stream classes.
|
| |
|
|
|
|
|
|
|
|
| |
We can only genereate constructors (that are then called by generated
create() methods) when the C function just sets its properties, as per
the convention with GObject APIs. This C function does far more.
Bug #766150 (Vladimir)
|
|
|
|
|
|
| |
Based on work by Murray Cumming <murrayc@murrayc.com>
and Marcin Kolny <marcin.kolny@gmail.com>
Bug #755307
|
| |
|
|
|
|
|
|
| |
* gio/src/dbusproxy.hg: fix _WRAP_METHOD usage
* tools/m4/convert_gio.m4: update converstion definition - use
Gio::DBus::Proxy instead of Proxy.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This seems to work.
|
| |
|
|
|
|
|
| |
I need to make a subsequent commit to fix the now-unaligned
trailing comments.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Because I noticed that this has just been documented as being allowed
to be null:
https://git.gnome.org/browse/glib/commit/?id=a4ed89bf75190631087596be22f9eb10dc6e53ef
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.[hg|ccg]: Some string parameters in some C functions
accept nullptr, others don't.
call(), call_sync(): bus_name: Pass nullptr for an empty string.
emit_signal(): Only destination_bus_name can be nullptr.
Other string parameters: Pass c_str().
The bug in call() and call_sync() was noticed by Gerlof Fokkema on gtkmm-list.
The bug in emit_signal() is an overreaction to bug 645072. All string
parameters were changed to pass nullptr, but only destination_bus_name
should have been changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .gitignore: signalproxy.h file is no more generated, so it has been
removed from ignored list.
* gio/src/application.{ccg|hg}: don't use old-style SignalProxy class.
* glib/glibmm/filelist.am: add signalproxy.h file to distributed files
list.
* gio/glibmm/signalproxy.h: add implementation of SignalProxy and
SignalProxyDetailedAnyType.
* glib/src/filelist.am:
* glib/src/signalproxy.h.m4: signalproxy.h is not generated, thus
remove m4 file.
* tools/m4/signal.m4: use new SignalProxy class instead of
SignalProxy*.
|
|
|
|
| |
Use Glib::c_str_or_nullptr(s) instead of s.empty() ? nullptr : s.c_str().
|
| |
|
|
|
|
| |
This ensures that the base class is really virtual.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/thread/threadpool.cc: If --disable-deprecated-api, just print a
message and exit.
* gio/src/<several>.hg: Add _CONFIGINCLUDE(giommconfig.h).
* gio/src/menuitem.ccg: Add a missing _DEPRECATE_IFDEF_START/_END pair.
* glib/glibmm/sarray.h:
* glib/glibmm/threadpool.[cc|h]: #include <glibmmconfig.h> before
ifndef GLIBMM_DISABLE_DEPRECATED.
* glib/src/filelist.am: Remove glibmm_files_deprecated_hg. List deprecated
files in glibmm_files_any_hg.
The config file must be included before #ifndef xxx_DISABLE_DEPRECATED both
in the .h file and in the .cc file, or else deprecated API is not properly
disabled by --disable-deprecated-api.
|
|
|
|
|
| |
* gio/src/actionmap.hg: Add refreturn in _WRAP_VFUNC(lookup_action).
Bug #758813.
|
|
|
|
| |
Bug #758798 (Émeric MASCHINO)
|
|
|
|
|
|
|
| |
* glib/blibmm/main.cc:
* gio/src/application.ccg: Glib::Threads::Mutex::Lock::release() should have
been replaced by std::unique_lock::unlock(). std::unique_lock::release() does
not unlock the mutex. Bug #757674.
|
| |
|
|
|
|
|
|
|
| |
And std::unique_lock instead of Glib::Threads::Mutex::Lock.
Some of these could probably be replaced by std::lock_guard, in
a smaller scope, instead of using release(), but this is a simpler
replacement.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|