summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Variant: Slightly elaborate Variant<Variant> docsglibmm-2-52Daniel Boles2018-01-151-1/+8
| | | | | | | Point out get_n_children() for checking nullable status, and copy the doc for Variant<VariantBase> to Variant< Variant<T> >. https://bugzilla.gnome.org/show_bug.cgi?id=778219
* Variant: Fix typo: unclosed monospace tagDaniel Boles2017-10-231-1/+1
|
* 2.52.12.52.1Murray Cumming2017-09-042-1/+15
|
* Glib::VariantIter: Fix typos in copyright noticeKjell Ahlstedt2017-09-011-2/+2
|
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-30445-1249/+460
| | | | Bug 786824
* gio/src/filelist.am: Really include all .hg files in giomm_files_hgKjell Ahlstedt2017-08-301-1/+1
| | | | Due to an extra blank some files were not processed by gmmproc.
* Gio: Exclude DesktopAppInfo from wrap_init.cc on MacOSKjell Ahlstedt2017-08-154-7/+20
| | | | | | | Modify the conditional inclusion of desktopappinfo.h in giomm.h and wrap_init.cc. It shall not be included when running under MacOS. This should have been fixed by commit fe99895f8d3b61409c416f1244a29f2aa3478f96. Bug 781947
* gio/src/filelist.am: Always include all .hg files in giomm_files_hgKjell Ahlstedt2017-08-151-1/+4
| | | | | | Commit 0bc35fb4fa28ee8564fecab4e21011dc42e74ed1 fixed giomm_files_hg, but in the wrong way. giomm_files_hg shall always include all .hg files, regardless of which ones are used on the present platform.
* miscutils: Update docs of get_*_name() from GLibDaniel Boles2017-07-301-5/+22
| | | | | | plus some minor tweaks that don't quite seem worth changing upstream. This adds some useful extra context for get_(prg|user|real)name().
* Gio::TlsDatabase: Fix memory leak in a vfuncKjell Ahlstedt2017-06-271-0/+2
| | | | | | create_certificate_handle_vfunc() shall delete the returned character array after it has been copied to a Glib::ustring, or else it leaks memory. Bug 783360
* 2.52.02.52.0Murray Cumming2017-06-232-1/+16
|
* RefPtr: Clarify comment about undefined behaviourDaniel Boles2017-05-311-1/+1
| | | | | | Dereferencing a null pointer does not necessarily cause a segfault: it is undefined behaviour, which means anything, or nothing, may happen. Avoid setting an expectation that a segfault will reliably occur here.
* ActionMap: Revert accidental changes to Slot declsDaniel Boles2017-05-311-2/+2
| | | | | | I cherry-picked a commit from master that should only have updated documentation, but because the way of declaring slots has been changed in libsigc++, it ended up changing them here too. That was unintentional
* Variant: Use own get_n_children() instead of C APIDaniel Boles2017-05-292-13/+7
| | | | This looks much less ugly.
* Gio::UnixSocketAddress::create(): Remove a default valueKjell Ahlstedt2017-05-181-2/+1
| | | | | | Remove the default value of the 'type' parameter. As there is another create() with one parameter, the default value makes a call to create("pathname") ambiguous. Bug 782592
* Gio::DBus::Proxy: Wrap call() and call_sync() methods. Bug 781818Vyacheslav Yurkov2017-05-123-189/+117
|
* 2.51.72.51.7Murray Cumming2017-05-082-2/+28
|
* gio/src/filelist.am: Really use desktopappinfo.hg to fix the build.Murray Cumming2017-05-082-2/+2
| | | | | This fixes a build breakage, when building from a fresh checkout, introduced by commit dd671f29ff9a005776ebd9e7cf20fdc5e44c14b8 .
* Glib::VariantType: Deprecate first() and next(). Add get_item_types()Kjell Ahlstedt2017-05-052-3/+33
| | | | Bug 775741
* ActionMap: Improve add_action_with_parameter docsDaniel Boles2017-05-051-4/+6
| | | | | | | | | • Clarify why the old overload has been deprecated: it simply does not work for the desired result because the parameter_type was not passed • Elaborate on the purpose of the parameter_type in the new overload. https://bugzilla.gnome.org/show_bug.cgi?id=774444
* ActionMap: Really fix add_action_with_parameter()Daniel Boles2017-05-041-0/+1
| | | | | | | | I replaced the old line that both created an Action without a parameter and added it, only with a line that creates an Action with a parameter... but did not add it. Of course, we need to do that, too. https://bugzilla.gnome.org/show_bug.cgi?id=774444
* Gio::SimpleAction: Move set_state to original posU-eagle\daniel.boles2017-05-041-3/+3
| | | | | | | | | | If I’d realised there was a specific commit that protected this, I would have reverted it, rather than doing it manually in my previous commit. Completes reversion of commit b7431bca6ccbd9f918b5ef73bae65a1c7828e7e0 – “Gio::SimpleAction: Make set_state() protected.” https://bugzilla.gnome.org/show_bug.cgi?id=777953
* Gio::SimpleAction: Make set_state() publicDaniel Boles2017-05-041-4/+0
| | | | | | | | | | | | | | This is needed to apply the requested state in a custom handler for signal_change_state(). It was protected on an assumption that when the C doc for g_simple_action_set_state() said “This should only be called by the implementor of the action”, it meant the implementor of a subclass. But the C docs for signal change-state are clear that it means the implementor of the signal handler. Without such a user being able to call set_state(), they can’t apply the new state, unless they subclass SimpleAction, which is a lot to require for such a simple case as this. https://bugzilla.gnome.org/show_bug.cgi?id=777953
* ActionMap: Add back add_action_with_parameter() without parameter_type.Murray Cumming2017-05-042-0/+25
| | | | | | To avoid breaking ABI due to this commit that added a parameter: https://git.gnome.org/browse/glibmm/commit/?h=glibmm-2-52&id=19ea8885ef17743c7c6e436e770b3b3835ca5016 Bug #774444
* ActionMap—Reorder add_action_with_parameter’s argsDaniel Boles2017-05-042-3/+3
| | | | | | This matches e.g. simpleaction.hg and is what I originally intended. https://bugzilla.gnome.org/show_bug.cgi?id=774444
* Gio::ActionMap: trivially move an _IGNOREDaniel Boles2017-05-041-4/+3
|
* Gio::ActionMap: Improve declaration order/spacingDaniel Boles2017-05-042-27/+30
| | | | | | | This puts several things in more logical places and adds a couple of line breaks that make it easier to see the key sections in the header. https://bugzilla.gnome.org/show_bug.cgi?id=774444
* Gio::ActionMap: Fix add_action_with_parameter()Daniel Boles2017-05-042-3/+4
| | | | | | | | | It was not registering the parameter type for the action on create, so when activating the action later and passing a parameter, an assertion failed about the expected and passed parameter types/counts not matching and the parameter was not usable. https://bugzilla.gnome.org/show_bug.cgi?id=774444
* SettingsSchemaKey: Add missing value/range methodsDaniel Boles2017-05-041-5/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=774903
* Bug 781947 - Build fails on MacOS because glib doesn't have gdesktopinfo.John Ralls2017-04-302-1/+19
| | | | Disable building desktopapinfo.cpp with the same test used in glib.
* Glib::Object: Suppress deprecation warning for g_object_newv()Kjell Ahlstedt2017-04-291-1/+6
| | | | | g_object_newv() is deprecated in favor of g_object_new_with_properties(), which is new in glib 2.54.
* C++11: Variant: Replace more throw(std::bad_cast) with noexcept(false).Murray Cumming2017-04-042-6/+6
| | | | | | This is necessary for C++17 which completely removes dynamic exception specifications. See https://bugzilla.redhat.com/show_bug.cgi?id=1438766
* C++11: Variant: Replace throw(std::bad_cast) with noexcept(false).Murray Cumming2017-04-042-2/+2
| | | | | | This is necessary for C++17 which completely removes dynamic exception specifications. See https://bugzilla.redhat.com/show_bug.cgi?id=1438766
* 2.51.62.51.6Murray Cumming2017-03-222-1/+44
| | | | | | | | This is the first 2.51.* version of glibmm-2.4. There were previously some 2.51 versions of glibmm-2.52, which installed in parallel with glibmm-2.4, but there will not be any stable version of glibmm-2.52. There might instead be a stable version of glibmm-2.54 eventually.
* Gio::Application::get_default(): Add refreturnKjell Ahlstedt2017-03-131-1/+1
| | | | Bug 779936
* SimpleAction—doc—Erase wrong line & duplicate wordDaniel Boles2017-02-141-3/+1
| | | | | | In case anyone is as easily confused as me… https://bugzilla.gnome.org/show_bug.cgi?id=778575
* Glib::Variant—Improve documentation of get_maybe()Daniel Boles2017-02-131-4/+5
| | | | | | | Clarify what is set and returned, and use lower case “nothing” to match how that must be written in GVariant text format, à la GSettings, etc. https://bugzilla.gnome.org/show_bug.cgi?id=778219
* Glib::Variant—Explain how to create “maybe” typesDaniel Boles2017-02-131-2/+5
| | | | | | | | It’s not exactly intuitive why the *_maybe() methods are kept in ContainerBase, nor that Variant<VariantBase> inherits from the former and is the way to get a maybe-typed Variant in glibmm. Let’s fix that! https://bugzilla.gnome.org/show_bug.cgi?id=778219
* Glib::Variant—Cosmetically tweak braces & newlinesDaniel Boles2017-02-131-16/+4
| | | | | | | Donʼt use braces for single-line blocks, and do if the other side of an if/else already did. Also, get rid of a couple of extraneous newlines. https://bugzilla.gnome.org/show_bug.cgi?id=778219
* Glib::Variant: Fix a copy-pasted typo in func docsDaniel Boles2017-02-051-4/+4
|
* Gio::Action: Remove unneeded #includes in ccgDaniel Boles2017-02-021-2/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=777953
* Gio::Action: #include <glibmm/variant.h> in hgDaniel Boles2017-02-021-7/+1
| | | | | | | | | | | | | Currently, it is included indirectly, via 3 other headers. This is brittle. Without that, users of action.h would have to manually include variant.h to use methods returning the forward-declared VariantBase, which isn’t very helpful. Plus, the header uses types like Variant<> templates and VariantContainerBase, which were never forward-declared. Including it directly makes the dependency more obvious and less brittle and spares us from having to write a bunch more forward-declarations. https://bugzilla.gnome.org/show_bug.cgi?id=777953
* Visual Studio builds: "Install" the .pdb filesChun-wei Fan2017-01-041-0/+2
| | | | | Since we generate the .pdb files during the build, we should copy them to make debugging glibmm on Windows easier.
* Gio::ActionMap: Fix some trivial documentation bugsKjell Ahlstedt2016-12-271-3/+3
|
* Gio::ActionMap: Add function to ActivateSlot docDaniel Boles2016-12-261-1/+1
| | | | It's used in add_action_with_bool() too.
* Gio::ActionMap: Clarify doc of ActivateWithParameterSlotDaniel Boles2016-12-261-1/+2
| | | | This brings it in line with the existing doc comment for ActivateSlot.
* Glib::Dispatcher: Don't cast a HANDLE to an int on WindowsKjell Ahlstedt2016-12-121-5/+5
| | | | | * glib/glibmm/dispatcher.cc: When a Windows HANDLE must be cast, cast it to Glib::PollFD::fd_t instead of int. Bug 772074
* PollFD: autodeduce type of fd fieldMarcin Kolny2016-12-122-12/+14
| | | | | | | | * glib/glibmm/main.[h|cc]: file descriptor to poll can be either of gint, or gint64 type, depending on the platform. glibmm should follow this rule as well. https://bugzilla.gnome.org/show_bug.cgi?id=772074
* Gio::DBus::Proxy: Fix memory leak in get_cached_property_names()Kjell Ahlstedt2016-12-051-3/+1
| | | | Bug 775210
* Gio::Settings: Make set_enum() + set_flags() usabledjb2016-11-301-3/+7
| | | | | | | The _WRAP_METHOD calls had the names typo'd as get_enum() + get_flags(). Keep and deprecate the misnamed methods. https://bugzilla.gnome.org/show_bug.cgi?id=774647