summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* glibmm_weakref: fix get()refptr_as_sharedptrMarcin Kolny2016-04-101-1/+1
|
* glibmm_weakref: Don't try to use moved-from RefPtrs.Murray Cumming2016-04-101-15/+6
|
* Use RefPtr<>::get() instead of RefPtr<>::operator->().Murray Cumming2016-04-103-6/+6
| | | | This is possible now that we RefPtr<> is an alias for std::shared_ptr<>.
* RefPtr: Make this an alias for shared_ptr<> instead.Murray Cumming2016-04-104-476/+48
| | | | | | | | Specifying a Deleter in make_refptr_for_instance(). And changing RefPtr::cast_dynamic<>() to std::dynamic_pointer_cast<>(). The glibmm_refptr test then becomes rather silly, and should maybe just be removed.
* Add and use make_refptr_for_instance().Murray Cumming2016-04-1023-51/+58
|
* Gio::DBus::Proxy: allow using GDBusProxy* conversion outside DBus namespaceMarcin Kolny2016-04-052-3/+3
| | | | | | * gio/src/dbusproxy.hg: fix _WRAP_METHOD usage * tools/m4/convert_gio.m4: update converstion definition - use Gio::DBus::Proxy instead of Proxy.
* h2def.py: strip G_DECLARE_FINAL_TYPE macro callMarcin Kolny2016-04-051-0/+4
|
* gmmproc: Add 'deprecated' option in _WRAP_ENUM and _WRAP_GERRORKjell Ahlstedt2016-04-036-116/+176
| | | | | | | | | | | | | * tools/m4/enum.m4: * tools/m4/gerror.m4: Surround code and documentation by #ifndef xxx_DISABLE_DEPRECATED, if it's deprecated. * tools/pm/DocsParser.pm: lookup_enum_documentation(): Move the parsing of options to WrapParser. Add deprecation docs, if any. * tools/pm/Enum.pm: build_element_list(): Move the parsing of options to WrapParser. * tools/pm/Output.pm: output_wrap_enum(), output_wrap_enum_docs_only(), output_wrap_gerror(): Handle deprecation docs. * tools/pm/WrapParser.pm: Parse options in the new on_wrap_any_enum() function.
* Fix some Doxygen warningsKjell Ahlstedt2016-04-033-7/+8
| | | | | | | | * glib/glibmm/property.h: More code within #ifndef DOXYGEN_SHOULD_SKIP_THIS. * glib/src/bytearray.hg: Change parameter name index_ to index. * tools/pm/DocsParser.pm: When the C parameter name does not coincide with the C++ name, change to the C++ name in the documentation also when the C name ends with an underscore.
* gmmproc: _CLASS_GOBJECT(): allow provide custom moveMarcin Kolny2016-04-011-0/+15
| | | | | | | | | | operations. If class contains movable fields, custom move constructor and move assignment operator should be provided. Use macro _CUSTOM_MOVE_OPERATIONS for NOT generating default move operations. https://bugzilla.gnome.org/show_bug.cgi?id=756593
* Glib::Property: allow to set property nick, blurb and flags.Marcin Kolny2016-04-0111-21/+415
| | | | | | | | | | | | | | | | * .gitignore: add paramflags generated files to ignore list. * glib/glibmm.h: add paramflags header to include list. * glib/glibmm/property.{cc|}h: add constructors allowing set nick, blurb. Add getters for this values. and flags of property. * glib/glibmm/value.{cc|h}: * glib/src/filelist.am: add paramflags to a build. * glib/src/enums.{ccg|hg}: add GParamFlags enum wrapper. * glib/glibmm/value_basictypes.{cc|h}.m4: add overloaded create_param_spec() for setting additional property parameters. This patch fixes bug #755256
* C++11: .hg\.ccg files: Replace more typedefs with using.Murray Cumming2016-03-316-12/+12
|
* Examples: Use libsigc++ 2.9/10 and its slot/signal<R(Args...)> syntax.Murray Cumming2016-03-316-12/+12
| | | | The older libsigc++ syntax is deprecated.
* 2.48.12.48.1Murray Cumming2016-03-312-1/+9
|
* C++11: gmmproc: Use using instead of typedef.Murray Cumming2016-03-3112-41/+41
|
* C++11: .h/.cc files: Replace typedefs with using.Murray Cumming2016-03-3142-309/+309
|
* C++11: .hg/.ccg files: Replace typedefs with using.Murray Cumming2016-03-3141-122/+122
|
* NEWS: Actually mention 2.48.0Murray Cumming2016-03-311-0/+4
|
* Move thread_local check into a GLIBMM_CXX_* macro, like other checks.Murray Cumming2016-03-284-18/+34
| | | | Bug #759791
* Build: Use Threads::Private hen thread_local keyword is not supported.Tom Schoonjans2016-03-283-0/+54
| | | | | | This fix is necessary for compilation of glibmm on OS X, as the clang compiler that currently ships with XCode currently does not support this keyword. Bug #759791
* 2.48.02.48.0Murray Cumming2016-03-281-2/+2
|
* Regenerate docs.xml files.Murray Cumming2016-03-282-5/+6
|
* Regenerate gio .defs.Murray Cumming2016-03-281-0/+3
|
* 2.47.922.47.92Murray Cumming2016-03-182-3/+24
|
* Require the latest libsigc++-2.0.Murray Cumming2016-03-111-1/+1
| | | | In case we really need the std::ref() support in libsigc++ 2.7.2.
* Fix "make check" after sigc::mem_fun(pointer,func) was deprecatedKjell Ahlstedt2016-03-101-2/+2
|
* generate_extra_defs: Check for deprecated signals and propertiesKjell Ahlstedt2016-03-101-2/+6
| | | | | tools/extra_defs_gen/generate_extra_defs.cc: Mark deprecated signals and properties as such in the generated .defs file.
* gmmproc: Check if signals and properties are deprecated appropriatelyKjell Ahlstedt2016-03-104-12/+68
| | | | | | | | | * tools/pm/GtkDefs.pm: * tools/pm/Property.pm: Search for (deprecated #t) in the *_signals.defs file. * tools/pm/Output.pm: * tools/pm/WrapParser.pm: Warn if a signal, property or child property is deprecated in the .defs file, but not in the _WRAP_* macro, and the whole file is not deprecated (no _IS_DEPRECATED).
* Use std::ref instead of sigc::ref.Murray Cumming2016-03-081-9/+9
| | | | As required by the latest (not yet released) libsigc++.
* Fix a tiny typo in a comment.Murray Cumming2016-03-081-1/+1
|
* Correct bad uses of sigc::bind<1>.Murray Cumming2016-03-082-2/+2
| | | | | | | | | sigc::bind<1>() is meant to bind a value for the second argument, which makes no sense for a method with 1 parameter. sigc::bind() seems fine. I found this while working in the sigc3 branch, using libsigc++-3.0, which is less forgiving of this error.
* MSVC builds: Look for includes in include/gio-win32-2.0Chun-wei Fan2016-03-071-1/+1
| | | | | At some point gio.h is going to include headers from this location, so make sure we look for headers from here.
* 2.47.62.47.6Murray Cumming2016-03-012-2/+56
|
* Regenerate docs.xml files.Murray Cumming2016-02-292-15/+1124
|
* Regenerate gio .defs.Murray Cumming2016-02-292-1/+305
|
* manual refactor target: Error if clang-format is not available.Murray Cumming2016-02-272-1/+6
|
* Rearrange some multiline comments.Murray Cumming2016-02-274-9/+12
| | | | | | Putting the comment before the code, instead of to the right, because clang-format can not (and could not) know which comments are meant to be aligned. I prefer this anyway.
* Run clang-format on the .ccg files.Murray Cumming2016-02-26116-5113/+4451
| | | | This seems to work.
* Run clang-format on the include-all headers.Murray Cumming2016-02-262-12/+14
|
* Re-run clang-format on some files.Murray Cumming2016-02-2615-38/+39
| | | | | I need to make a subsequent commit to fix the now-unaligned trailing comments.
* clang-format: unset AlignTrailingComments.Murray Cumming2016-02-261-0/+1
| | | | | | | | Because it sometimes wrongly things that comments on two lines are related. This now wrongly unaligns some blocks of trailing comments, but I would rather just not have them.
* Run clang-format on glib .cc files.Murray Cumming2016-02-2634-1591/+1833
|
* Run clang-format on glib .h files.Murray Cumming2016-02-2644-2261/+2316
|
* Run clang-format on gio .cc files.Murray Cumming2016-02-264-66/+84
|
* Run clang-format on gio .h files.Murray Cumming2016-02-265-22/+16
|
* clang-format: Disable SortIncludes.Murray Cumming2016-02-261-0/+1
| | | | Because this can break builds.
* Run clang-format on gendef.ccMurray Cumming2016-02-261-35/+45
|
* Run clang-format on tools/Murray Cumming2016-02-264-214/+166
|
* Run clang-format on tests.Murray Cumming2016-02-2631-833/+810
|
* Run clang-format on the examples.Murray Cumming2016-02-2621-1305/+1276
|