summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Glib::Property: Add some documentationglibmm-2-42Kjell Ahlstedt2014-10-012-6/+31
| | | | | | | * glib/glibmm/propertyproxy.h: * glib/glibmm/property.h: Move the documentation about registering properties from PropertyProxy to Property, which is the class that registers custom properties. Add a code snippet to the documentation. Bug #523043.
* gmmproc: added warning when ignored method or signal doesn't existsMarcin Kolny2014-09-301-2/+12
| | | | | | | | (bgo#737212) * tools/pm/WrapParser.pm: when method used in _IGNORE or signal used in _IGNORE_SIGNAL doesn't exists, there is a message posted on stderr and also proper comment in a generated header.
* 2.42.02.42.0Murray Cumming2014-09-222-2/+34
|
* Notification: Deprecate set_urgent().Murray Cumming2014-09-221-1/+1
| | | | Using the same uninformative deprecation message that the C API has.
* Regenerate *_docs.xml files.Murray Cumming2014-09-222-13/+62
|
* Regenerate .defs files.Murray Cumming2014-09-223-69/+186
|
* Fix MSVC 2010 "Installation"Chun-wei Fan2014-09-221-2/+2
| | | | | * MSVC_Net2010/glibmm-install.props: Fix Typo in creating path for the *mmconfig.h headers.
* ustring.h: Comment On Last Commit for SpecializationChun-wei Fan2014-09-201-1/+2
| | | | | | | | | | | Mention that the new specialization for Stringify for const char[N] is to avoid ambiguous constructor overloads for later versions of Visual C++. * glib/glibmm/ustring.h: Mention in the comments for the specialization on Stringify for const char[N] is for later versions of Visual C++, to avoid ambiguous contructor overloads. https://bugzilla.gnome.org/show_bug.cgi?id=736778
* ustring.h: Add Specialization for Stringify<const char[N]>Chun-wei Fan2014-09-191-0/+18
| | | | | | | | | | | | This adds a specialization for string literals in the form of const char[N] as some compilers would take such things to have ambiguous constructor overloads, such as Visual Studio, which take string literals in this form. * glib/glibmm/ustring.h: Add a specialization for Stringify for const char[N] so that ambiguous constructor overloads can be avoided for string literals in this form. https://bugzilla.gnome.org/show_bug.cgi?id=736778
* Make giomm tests Run Under WindowsChun-wei Fan2014-09-172-2/+14
| | | | | | | | | | | | | | | /etc/fstab is a *nix only file, which would not normally exist under Windows unless one is under Cygwin. Use the path for the Wordpad application on Windows, which is a standard part of Windows; and use /etc/fstab otherwise. * tests/giomm_ioerror/main.cc: * tests/giomm_simple/main.cc: Test for c:/windows/write.exe (Wordpad application) on Windows, and use /etc/fstab otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=736778 https://bugzilla.gnome.org/show_bug.cgi?id=736778
* Visual Studio 2008 Builds: Further TweaksChun-wei Fan2014-09-172-0/+4
| | | | | | | | | Don't generate .ilk files (incremental link files) for release builds. * MSVC_Net2008/glibmm.vcproj: * MSVC_Net2008/giomm.vcproj: Use optimize references for release builds so that we don't link incrementally for release builds. It is mainly a debug build option.
* Cleanup and Tweak Visual Studio 2010 ProjectsChun-wei Fan2014-09-172-8/+20
| | | | | | | | | | | | Remove the /vd2 compilation option, as it is no longer necessary[1], and generate debug info (.pdb files, with little to no performance deficit), to ease debugging release builds. * MSVC_Net2010/glibmm.vcxproj: * MSVC_Net2010/giomm.vcxproj: Remove /vd2 build option from the builds, and generate .pdb files for release builds as well. [1]: http://msdn.microsoft.com/en-us/library/7sf3txa8%28v=vs.100%29.aspx
* Visual Studio 2008 Projects: More Cleanups and TweaksChun-wei Fan2014-09-1718-26/+4
| | | | | | | | | | | | | | | Remove items from the projects that are no longer necessary to build glibmm[1], and generate debug info (.pdb files, with little to no performance defecit) for release builds as well. These changes also fixes the builds of glibmm and gtkmm as the glibmm_interface_implementation test now runs successfully, and the gtkmm demo program now starts without crashing (although it still does crash when a window is being closed). * MSVC_Net2008/*.vproj: Remove the build of blank.cpp and the /vd2 build options, as they are no longer needed. * MSVC_Net2008/giomm.vcproj: * MSVC_Net2008/glibmm.vcproj: Generate Debug Info for the Release builds as well.
* MSVC Builds: Fix Missed Headers for "Install"Chun-wei Fan2014-09-162-0/+9
| | | | | | | | | There were some more m4-generated headers that need to be installed. Make up for that. * MSVC_Net2008/glibmm-install.vsprops: * MSVC_Net2010/glibmm-install.props: "Install" the generated headers indicated by glibmm_files_h_m4.
* Visual Studio Builds: Add "install" projectChun-wei Fan2014-09-168-2/+1326
| | | | | | | | | | | | | | | | | | | This adds an install project to the Visual Studio 2008 and 2010 projects, which is used to install the built .dll and .lib, along with the headers needed for glibmm and giomm, to make it easier to deploy amd use after compilation. * MSVC_Net2008/glibmm-install.vsprops: * MSVC_Net2010/glibmm-install.props: New property sheets to "install" built DLLs, LIBs and headers. * MSVC_Net2008/install.vcproj: * MSVC_Net2010/install.vcxproj: New projects to carry out the "installation" process. * MSVC_Net2008/glibmm.sln: * MSVC_Net2010/glibmm.sln: Build the new install project * MSVC_Net2008/filelist.am: * MSVC_Net2010/filelist.am: Add the newly-added files for distribution
* Bug 736720: Fix ustring for Visual Studio BuildsChun-wei Fan2014-09-163-3/+3
| | | | | | | | | | | | | Update the property sheets so that SIZEOF_WCHAR_T is defined as 2 when the glibmm library is built. This ensures that the correct code path in the ustring class is taken for Visual Studio builds, which avoids an unhandled GLib::ConvertError exception. * MSVC_Net2005/glibmm-build-defines.vsprops: * MSVC_Net2008/glibmm-build-defines.vsprops: * MSVC_Net2010/glibmm-build-defines.props: Define SIZEOF_WCHAR_T when building glibmm so that ustring will use the correct code path on Visual Studio builds.
* Fix Previous Commit On Visual Studio 2010 ProjectsChun-wei Fan2014-09-161-0/+2
| | | | | * MSVC_Net2010/filelist.am: Include the newly-added property sheets.
* h2def.py: fixed generator in case of inline functions (bgo#736427)Marcin Kolny2014-09-161-0/+37
| | | | | | | * tools/gen_scripts/h2def.py: removing inline methods body, removing 'static' and 'inline' keywords in function declaration, avoiding double entries of the same method in generated *.def file by storing method's names in a Set collection.
* Update and Overhaul Visual Studio 2005 ProjectsChun-wei Fan2014-09-1530-2317/+2083
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Give the Visual Studio 2005 projects, like the Visual Studio 2008 projects in the previous commits, a much-needed overhaul and cleanup, so to ease future maintenance, by consolidating commonly-used items into property sheets. * MSVC_Net2005/glibmm-build-defines.vsprops: * MSVC_Net2005/glibmm-version-paths.vsprops: New property sheets to consolidate commonly-used items, so that they can be referred to from the projects and changes to them will only have to be done here, which will greatly simplify maintenace of the projects. * MSVC_Net2005/glibmm/glibmm.vcproj: * MSVC_Net2005/giomm/giomm.vcproj: and clean up by making use of the newly-added property sheets. Update the paths accordingly. Remove unwanted/unneeded items in them as well. * MSVC_Net2005/examples/*/*.vcproj: * MSVC_Net2005/tests/*/*.vcproj: MSVC_Net2005/, and adjust the file paths in them accordingly. Clean up by using the property sheets, and remove unwanted/ unneeded items. Remove the example_ and test_ prefixes from the project names, and correct the source file names for the socket-client and socket-server projects * MSVC_Net2005/glibmm.sln: Update project names and paths accordingly. * MSVC_Net2005/filelist.am: Update file names and paths accordingly
* 2.41.42.41.4Murray Cumming2014-09-152-2/+18
|
* Update and Overhaul Visual Studio 2010 ProjectsChun-wei Fan2014-09-1359-3269/+3092
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give the Visual Studio 2010 projects, like the Visual Studio 2008 projects in the previous commits, a much-needed overhaul and cleanup, so to ease future maintenance, by consolidating commonly-used items into property sheets. * MSVC_Net2010/glibmm-build-defines.props: * MSVC_Net2010/glibmm-version-paths.props: New property sheets to consolidate commonly-used items, so that they can be referred to from the projects and changes to them will only have to be done here, which will greatly simplify maintenace of the projects. * MSVC_Net2010/glibmm/glibmm.vcxproj: * MSVC_Net2010/glibmm/glibmm.vcxproj.filters: * MSVC_Net2010/giomm/giomm.vcxproj: * MSVC_Net2010/giomm/giomm.vcxproj.filters: Move to MSVC_Net2010/, and clean up by making use of the newly-added property sheets. Update the paths accordingly. Remove unwanted/unneeded items in them as well. * MSVC_Net2010/examples/*/*.vcxproj: * MSVC_Net2010/examples/*/*.vcxproj.filters: * MSVC_Net2010/tests/*/*.vcxproj * MSVC_Net2010/tests/*/*.vcxproj.filters: Move all the projects to MSVC_Net2010/, and adjust the file paths in them accordingly. Clean up by using the property sheets, and remove unwanted/ unneeded items. Remove the example_ and test_ prefixes from the project names, and correct the source file names for the socket-client and socket-server projects * MSVC_Net2010/glibmm.sln: Update project names and paths accordingly. * MSVC_Net2010/filelist.am: Update file names and paths accordingly
* Visual Studio 2008 Projects: Further CleanupsChun-wei Fan2014-09-132-8/+4
| | | | | | * MSVC_Net2008/glibmm-version-paths.vsprops: * MSVC_Net2008/glibmm-build-defines.vsprops: Remove unneeded items and move path-related item into glibmm-version-paths.vsprops
* MSVC_Net2008/filelist.am: Fix up Dist'ed FilesChun-wei Fan2014-09-131-1/+1
| | | | | * MSVC_Net2008/filelist.am: Change thread_pool.vcproj to threadpool.vcproj, as that project file has been renamed.
* Visual Studio 2008 Projects: Update and OverhaulChun-wei Fan2014-09-1230-2426/+2149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the Visual Studio 2008 projects, and give them a cleanup, by moving many repeated parts into property sheets. Similar changes to the Visual Studio 2005 and 2010 project files will follow in the next few days. * MSVC_Net2008/glibmm-version-paths.vsprops: * MSVC_Net2008/glibmm-build-defines.vsprops: Add property sheets to group together commonly-used items in the Visual Studio 2008 projects, like what is done in GLib. * MSVC_Net2008/giomm/giomm.vcproj: Move to MSVC_Net2008, clean up by using the property sheets and adjust the paths accordingly. Also add the sources that are added to the giomm sources. Simplify project names a bit. * MSVC_Net2008/gendef/gendef.vcproj: * MSVC_Net2008/glibmm/glibmm.vcproj: * MSVC_Net2008/examples/compose/compose.vcproj: * MSVC_Net2008/examples/dispatcher/dispatcher.vcproj: * MSVC_Net2008/examples/dispatcher2/dispatcher2.vcproj: * MSVC_Net2008/examples/keyfile/keyfile.vcproj: * MSVC_Net2008/examples/markup/markup.vcproj: * MSVC_Net2008/examples/options/options.vcproj: * MSVC_Net2008/examples/properties/properties.vcproj: * MSVC_Net2008/examples/regex/regex.vcproj: * MSVC_Net2008/examples/resolver/resolver.vcproj: * MSVC_Net2008/examples/thread/thread.vcproj: * MSVC_Net2008/tests/glibmm_simple/glibmm_simple.vcproj: * MSVC_Net2008/tests/giomm_simple/giomm_simple.vcproj: Move to MSVC_Net2008/, and clean up by using the property sheets. Update paths accordingly and simplify propject names a bit. * MSVC_Net2008/examples/socket-client/socket-client.vcproj: * MSVC_Net2008/examples/socket-server/socket-server.vcproj: Move to MSVC_Net2008/, clean up by using the property sheets, and correct the sources that are being built. Update paths accordingly too, and simplify project names a bit. * MSVC_Net2008/examples: * MSVC_Net2008/tests: Remove directories as projects have been moved to MSVC_Net2008/. * MSVC_Net2008/filelist.am: Reflect on the movement of the project files and also the added property sheets.
* gmmproc: Added parameter exception_handler in _WRAP_VFUNC (bgo#735132)Marcin Kolny2014-09-084-43/+115
| | | | | | | | | | | | | | This change allows developer to use custom exception handler, instead of using Glib::exception_handlers_invoke() method. It might be useful, if developer can't get access to a thread, where exception might appear, or it is very difficult to register handler in this thread. * tools/m4/signal.m4: * tools/m4/vfunc.m4: * tools/pm/Output.pm: * tools/pm/WrapParser.pm: added additional parameter to a _WRAP_VFUNC and _WRAP_SIGNAL, allowing write custom exception handlers
* gmmproc: Better error checks in some _WRAP_* macrosKjell Ahlstedt2014-09-011-4/+42
| | | | | | | * tools/pm/Output.pm: When reordering parameters (cpp_type cpp_name{c_name}), check that there really are C parameters with the given names. A missing check together with a mis-spelt C parameter name can cause an infinite loop in _WRAP_SIGNAL and _WRAP_VFUNC.
* Gio::DBus: Don't use parameter name 'interface'Kjell Ahlstedt2014-08-272-8/+10
| | | | | | * gio/src/dbusmessage.hg: * gio/src/dbusobject.hg: Change parameter name 'interface' to 'iface', to avoid compilation errors with MinGW. Bug #735137.
* Updated NEWS2.41.3reallyMurray Cumming2014-08-221-0/+6
|
* 2.41.32.41.3Murray Cumming2014-08-222-2/+5
|
* Regenerated *_docs.xml.Murray Cumming2014-08-222-214/+988
|
* Regenerated *_signals.defs.Murray Cumming2014-08-221-9/+20
|
* Regenerate *_methods.defs.Murray Cumming2014-08-223-9/+114
|
* Regenerate *_enums.defs.Murray Cumming2014-08-223-5/+86
|
* Network example: Use Glib::OptionEntry and friendsKjell Ahlstedt2014-08-062-93/+142
| | | | | | * examples/network/socket-client.cc: * examples/network/socket-server.cc: Use Glib::OptionEntry, OptionGroup, OptionContext instead of the glib equivalents.
* Network example: Add --use-ipv6 command line optionShashank2014-08-062-3/+30
| | | | | | * examples/network/socket-client.cc: * examples/network/socket-server.cc: Add --use-ipv6 command line option. Bug #734094.
* doap: add <programming-language>Andre Klapper2014-07-311-0/+1
|
* doap category coreOlav Vitters2014-07-301-1/+1
|
* 2.41.22.41.2Murray Cumming2014-07-282-1/+22
|
* Gio::Menu: Allow detailed_action == nullKjell Ahlstedt2014-07-251-4/+6
| | | | | * gio/src/menu.hg: insert/prepend/append(): Make it possible to pass detailed_action == 0 to the glib/gio functions. Bug #733203.
* Make custom interface properties instance dataKjell Ahlstedt2014-07-212-2/+46
| | | | | | | | | * glib/glibmm/class.cc: Copy the default values of the interface properties to the class's iface_properties_quark. * glib/glibmm/property.cc: custom_set_property_callback(): Copy the default values to object-specific data. custom_get_property_callback(): Get object-specific value if it exists, else class-specific default value. Bug #732746.
* Add Gio::SimplePermissionJuan R. García Blanco2014-07-195-0/+76
| | | | | | | | | | * gio/giomm.h: Add giomm/simplepermission.h. * gio/src/simplepermission.[hg|ccg]: New files. * gio/src/filelist.am: Add simplepermission.hg. * tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_SIMPLE_PERMISSION (although SimplePermission has no signals nor properties). * See https://bugzilla.gnome.org/show_bug.cgi?id=732436
* Add Gio::PermissionJuan R. García Blanco2014-07-197-0/+205
| | | | | | | | | | | | * gio/giomm.h: Add giomm/permission.h. * gio/src/filelist.am: Add permission.hg. * gio/src/gio_signals.defs: Add allowed, can-acquire, and can-acquire properties. * gio/src/gio_vfuncs.defs: Add vfuncs. * gio/src/permission.[hg|ccg]: New files. * tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_PERMISSION. * See https://bugzilla.gnome.org/show_bug.cgi?id=732436
* PropertyBase: Use g_object_notify_by_pspec() instead of g_object_notify()Povilas Kanapickas2014-07-071-3/+3
| | | | This approach is faster and recommended by GLib. Bug #731484.
* Rename ambiguously named overridden property variable and typePovilas Kanapickas2014-07-074-35/+42
| | | | | | | | | | | * glib/glibmm/class.[cc|h]: * glib/glibmm/interface.cc: * glib/glibmm/property.cc: Rename properties_quark and properties_type to iface_properties_quark and iface_properties_type. As custom_[set|get]_property_callback() in property.cc also sets and gets user-defined properties, this naming choice may be confusing. These names are intended for use by glibmm only. Renaming is not an ABI/API break. Bug #731484.
* Add support for GtkContainer child propertiesJuan R. García Blanco2014-07-056-96/+185
|
* gmmproc: _WRAP_METHOD: Allow multi-word parameter types (unsigned int)Kjell Ahlstedt2014-06-281-11/+14
| | | | | | | * tools/pm/Function.pm: parse_param(): Allow multi-word parameter types, as in _WRAP_METHOD(void set_button(unsigned int button = 0), gtk_gesture_single_set_button). Affects _WRAP_METHOD, _WRAP_SIGNAL, _WRAP_CTOR, _WRAP_CREATE, _WRAP_VFUNC.
* 2.41.12.41.1Murray Cumming2014-06-262-2/+33
|
* Deprecate API which is deprecated in glibKjell Ahlstedt2014-06-1312-31/+98
| | | | | | | | | | | | | | | | | | | | * gio/src/application.hg: Deprecate set_action_group(). * gio/src/desktopappinfo.hg: Deprecate set_desktop_env(). * gio/src/settings.[hg|ccg]: Deprecate list_schemas(), range_check() and property_schema(). * gio/src/simpleactiongroup.hg: Define GLIB_DISABLE_DEPRECATION_WARNINGS in the .cc file. * gio/src/tlsconnection.hg: Deprecate [set|get]_use_system_certdb() and property_use_system_certdb(). * gio/src/volumemonitor.hg: Deprecate adopt_orphan_mount() also in the .cc file. * glib/glibmm/filelist.am: Build only the glibmm_files_used. * glib/src/filelist.am: Add glibmm_files_deprecated_hg. Move thread.hg and valuearray.hg to it. * glib/src/keyfile.hg: Deprecate one of the load_from_dirs() methods also in the .cc file. * glib/src/valuearray.hg: Deprecate the whole class Glib::ValueArray. * tests/glibmm_valuearray/main.cc: Undefine GLIBMM_DISABLE_DEPRECATED.
* tests/glibmm_interface_implementation: Use the new base class orderJosé Alburquerque2014-06-101-15/+38
| | | | | | | * tests/glibmm_interface_implementation/main.cc: Interface before Glib::Object in the list of base classes. Test a custom property and an interface with properties. This patch is almost identical to the attachment in bug 697229 comment 14.
* gmmproc: Add a blank line after @deprecated and @newinKjell Ahlstedt2014-06-021-1/+4
| | | | | * tools/pm/DocsParser.pm: A blank line after @deprecated and @newin tells Doxygen where the accompanying text paragraph ends.