summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into glibmm-gir-gmmprocglibmm-gir-gmmprocMarcin Kolny2015-08-08293-19479/+23024
|\
| * Glib::RefPtr: minor release() improvements.Marcin Kolny2015-08-071-1/+6
| | | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=752812 * glib/glibmm/refptr.h: add warning in a comment, replace warn_unused_result attribute with corresponding GLib macro.
| * Visual Studio Projects: Update to 2013Chun-wei Fan2015-08-0523-79/+91
| | | | | | | | | | | | | | | | | | The latest glibmm requires enough C++11 to be supported so that it can be built, which is Visual Studio 2013 for the Visual Studio compilers. This updates the 2010 projects (and their settings) to 2013. The folder in which the projects reside in need to be updated, and we would preferably need to make the projects compatible with Visual Studio 2015, from the 2013 projects, which is not too different from the 2010 ones.
| * RefPtr: move assignment operator: Use swap().Murray Cumming2015-08-011-9/+3
| | | | | | | | | | This is not actually less efficient - the code is inline anyway. Bug #752876
| * Remove unnecessary _IGNORE()Kjell Ahlstedt2015-07-305-18/+0
| | | | | | | | | | | | | | | | | | | | * gio/src/inputstream.hg: * gio/src/notification.hg: * gio/src/outputstream.hg: * gio/src/resolver.hg: * gio/src/socketconnection.hg: Remove _IGNORE() directives that have become unnecessary when the .defs files don't contain information from private.h files. gmmproc warns about unnecessary _IGNORE().
| * Regenerate gio_methods.defs, glib_functions.defs, gobject_functions.defsKjell Ahlstedt2015-07-303-316/+6
| | | | | | | | Regenerated without information from private.h files.
| * tools/gen_scripts: Don't read private.h filesKjell Ahlstedt2015-07-304-8/+16
| | | | | | | | | | | | | | | | * tools/gen_scripts/gio_generate_enums.sh: * tools/gen_scripts/gio_generate_methods.sh: * tools/gen_scripts/glib_generate_enums.sh: * tools/gen_scripts/glib_generate_methods.sh: Don't collect information from header files with names ending in private.h.
| * Remove gio/src/gio_unix_functions.defsKjell Ahlstedt2015-07-303-727/+0
| | | | | | | | | | | | | | * gio/src/gio.defs: * gio/src/filelist.am: Remove gio_unix_functions.defs. * gio/src/gio_unix_functions.defs: Remove the whole file. All data in this file is also included in gio_methods.defs.
| * generate_wrap_init.pl: Allow to use nested namespaces for whole module.Marcin Kolny2015-07-301-1/+1
| | | | | | | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=753013 * tools/generate_wrap_init.pl.in: add support for nested namespaces in --namespace parameter, i.e. --namespace=Gst::Bad. It requires to store all classes from module at least in Gst::Bad namespace, but allows to use this namespace in wrap_init.h class.
| * tests/glibmm_refptr: Add simpler tests for move constructor/operator=.Murray Cumming2015-07-281-1/+28
| | | | | | | | | | | | The *with_parent* tests test much the same thing, but these ones are simpler, based on Marcin Kolny's simpler tests for the universal reference versions.
| * tests/glibmm_refptr: Slight improvement.Murray Cumming2015-07-281-1/+1
| | | | | | | | | | test_refptr_universal_reference_move_constructor(): Make even more sure that its the copy constructor that the compiler uses.
| * Glib::RefPtr: add missing constructor and assignment operatorMarcin Kolny2015-07-272-0/+63
| | | | | | | | | | | | | | | | * glib/glibmm/refptr.h: add move constructor and move assignment operator which allow to set underlying object to castable type. * tests/glibmm_refptr/main.cc: add tests for move constructor and move assignment operator containing universal reference as an argument.
| * Glib::RefPtr: add "release()" methodMarcin Kolny2015-07-271-0/+15
| | | | | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=752812 * glib/glibmm/refptr.h: "release" method gives an access to managed underlying object, releasing RefPtr's ownership. Method is useful e.g. in wrappers of functions containing transfer-full arguments.
| * tests/glibmm_refptr: Correct the move constructor test.Murray Cumming2015-07-271-2/+2
| | | | | | | | | | The && was const, which was a silly typo. Thanks to Marcin Kolny for noticing.
| * Add tests/glibmm_refptr.Murray Cumming2015-07-272-0/+217
| | | | | | | | | | To test refcounting, though I'm not sure that the test for the move constructor is quite right.
| * tls_client test: Use gnome.org instead of google.orgMurray Cumming2015-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | Because I recently find that the connection often, but not always, times out. Maybe Google has changed something about its servers. I was seeing this output when running the test: $ ./giomm_tls_client/test Successfully resolved address of test host 'www.google.com'. First address of test host is 2a00:1450:4016:802::1011. Could not connect socket to 2a00:1450:4016:802::1011:443. Exception: Connection timed out
| * Correct a comment.Murray Cumming2015-07-271-1/+0
| |
| * Update glib_enums.defs.patch, add gio_enums.defs.patchKjell Ahlstedt2015-07-242-21/+20
| | | | | | | | | | | | | | * glib/src/glib_enums.defs.patch: G_IO_FLAG_IS_WRITEABLE is an enum constant since 2013-02-04. No patch needed for that any more. * gio/src/gio_enums.defs.patch: New file. Such a file has been useful for a long time. It should have been stored in git long ago.
| * Update scripts that generate .defs filesKjell Ahlstedt2015-07-244-18/+122
| | | | | | | | | | | | | | | | | | * tools/gen_scripts/gio_generate_enums.sh: * tools/gen_scripts/gio_generate_extra_defs.sh: * tools/gen_scripts/glib_generate_enums.sh: * tools/gen_scripts/glib_generate_methods.sh: These scripts patch the generated .defs files. Update them like gtkmm's gtk_generate_extra_defs.sh, i.e. more comments and an option to regenerate the patch file.
| * 2.45.412.45.41Murray Cumming2015-07-242-1/+10
| |
| * Revert "Glib::List_Iterator (and similar): Deprecate via ifdef."Murray Cumming2015-07-241-4/+0
| | | | | | | | | | | | | | This reverts commit 05610cec2ccbc54f20fcc3e995e41649f21c5714. See the commit in the previous commit about gtkmm-2.24. This is a temporary act of kindness to Inkscape.
| * HelperList: Don't use ifndef GLIBMM_DISABLE_DEPRECATED around this.Murray Cumming2015-07-241-2/+6
| | | | | | | | | | | | | | | | To avoid breaking the gtkmm-2.24 build with --enable-warnings=fatal, and the build of apps that do this too. However, those apps (Inkscape) need to stop using that ancient deprecated version of gtkmm. Bug #752797
| * test_scripts/testheaders.sh: Add -std=c++11 in the g++ commandsKjell Ahlstedt2015-07-231-2/+2
| |
| * gmmproc: Improve processing of documentationKjell Ahlstedt2015-07-232-28/+127
| | | | | | | | | | | | | | | | * tools/pm/Output.pm: * tools/pm/DocsParser.pm: When a C++ parameter name differs from the corresponding C parameter name, change the name in the documentation. The translation of argument names works for _WRAP_METHOD() and _WRAP_SIGNAL(). Bug #752469
| * 2.45.402.45.40Murray Cumming2015-07-222-2/+2
| | | | | | | | | | | | I named the previous version 2.45.31 instead of 2.45.3.1, so we have to use a number bigger than 31. Let's say that 40 is like 4 and we'll use 50 for the next one instead of 5. Sorry.
| * 2.45.4Murray Cumming2015-07-222-2/+22
| |
| * Gio::Application: Add the shutdown signal.Murray Cumming2015-07-191-0/+4
| | | | | | | | | | For some reason, gmmproc didn't warn about this unwrapped signal. Bug #752600 (Ben)
| * C++11: Replace throw() with noexcept.Murray Cumming2015-07-196-6/+6
| |
| * Glib::RefPtr: Move assignment operator: Unref the previous object.Murray Cumming2015-07-191-0/+9
| |
| * RefPtr: Add move constructor and move assignment operator.Murray Cumming2015-07-181-0/+23
| |
| * RefPtr<>: Don't mention RefPtr<T_CppObject> when just RefPtr is allowed.Murray Cumming2015-07-181-22/+22
| | | | | | | | This seems to be correct and allowed. It makes the code clearer.
| * C++11: Use = delete instead of private to make classes noncopyable.Murray Cumming2015-07-1815-84/+89
| |
| * Glib::List_Iterator (and similar): Deprecate via ifdef.Murray Cumming2015-07-171-0/+4
| | | | | | | | | | I don't think these have been used since before gtkmm 3.0. They were already hidden from the documentation.
| * IOChannel: Documentation: Mark vfuncs as deprecated.Murray Cumming2015-07-171-9/+31
| | | | | | | | Though we cannot hide them via GIOMM_DISABLE_DEPRECATED.
| * C++11: Use of the override keyword.Murray Cumming2015-07-173-8/+8
| |
| * C++11: Use nullptr.Murray Cumming2015-07-1678-394/+394
| |
| * 2.45.312.45.31Murray Cumming2015-07-152-3/+3
| |
| * 2.45.31Murray Cumming2015-07-152-1/+22
| |
| * Regenerated glib _docs.xmlMurray Cumming2015-07-151-0/+117
| |
| * Regenerate glib_functions.defs.Murray Cumming2015-07-151-0/+45
| |
| * Regenerate gio _docs.xmlMurray Cumming2015-07-151-18/+1067
| |
| * C++11: examples/tests: More use of auto.Murray Cumming2015-07-1524-75/+75
| |
| * C++11: More use of auto.Murray Cumming2015-07-158-44/+44
| |
| * C++11: More uses of range-based for.Murray Cumming2015-07-155-27/+19
| |
| * Examples: OptionGroup: Make the args public again to fix the build.Murray Cumming2015-07-151-0/+1
| |
| * examples: Avoid more shadowed variables.Murray Cumming2015-07-154-9/+9
| |
| * C++11: gmmproc: Use of auto in generated files.Murray Cumming2015-07-159-31/+31
| |
| * C++11: Some use of the auto keyword.Murray Cumming2015-07-1554-287/+287
| |
| * Avoid shadowed variables.Murray Cumming2015-07-1513-54/+51
| | | | | | | | | | | | | | | | | | | | Because this generally invites programming errors, though I am less concerned about shadowing of method names by parameter or variable names, which requires some tedious parameter renaming. In MatchInfo::set_gobject() the confusion between take_ownership and this.take_ownership does seem to have caused a programming error, hopefully now corrected.
| * configure.ac: Use -Wsuggest-override and -Wshadow with --enable-warnings=fatal.Murray Cumming2015-07-151-1/+1
| | | | | | | | | | Although -Wsuggest-override isn't actually available yet in my version of g++ (4.9.2).