summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Glib::SlotSpawnChildSetupKjell Ahlstedt2015-01-112-26/+31
| | | | | | | * glib/src/spawn.[hg|ccg]: Add typedef SlotSpawnChildSetup, and say in the documentation that the child_setup parameters can be empty slots. That should make it clear how to avoid having a child_setup slot called. Bug #528285.
* Gio::Resource docs: Suppress inappropriate doxygen linksKjell Ahlstedt2015-01-021-6/+6
| | | | | * gio/src/resource.hg: Insert '%' before 'Resource' where doxygen shall not generate a link to Gio::Resource.
* 2.43.22.43.2Murray Cumming2014-12-162-1/+18
|
* Gio: Added NetworkMonitor.Murray Cumming2014-12-154-0/+113
|
* Regenerate .docs.xmlMurray Cumming2014-12-152-7/+161
|
* Regenerate .defs.Murray Cumming2014-12-154-0/+96
|
* Gio::UnixFDList, UnixFDMessage: Fix array lengths in steal_fds()Kjell Ahlstedt2014-12-124-24/+38
| | | | | | | | | | * gio/src/unixfdlist.[hg|ccg]: Hand-code both constructors that take a Glib::ArrayHandle<int>, and call g_unix_fd_list_new_from_array() in them. * gio/src/unixfdlist.ccg: Don't subtract 1 from the length returned by g_unix_fd_list_[peek|steal]_fds(). * gio/src/unixfdmessage.hg: get_fd_list(): Add refreturn. * gio/src/unixfdmessage.ccg: Don't subtract 1 from the length returned by g_unix_fd_message_steal_fds(). Bug #741365.
* gmmproc: Don't make one very long line for the enum documentationKjell Ahlstedt2014-12-121-4/+4
| | | | | * tools/pm/DocsParser.pm: lookup_enum_documentation(): Don't replace newlines by spaces in the description of the enum constants.
* Add an empty line after @newin where it's missingKjell Ahlstedt2014-12-1111-6/+18
| | | | | | | | | | | | | | | | * gio/src/action.hg: * gio/src/cancellable.hg: * gio/src/charsetconverter.hg: * gio/src/mount.hg: * gio/src/notification.hg: * gio/src/simpleaction.hg: * gio/src/socket.hg: * glib/src/datetime.hg: * glib/src/glib_docs_override.xml: * glib/src/keyfile.hg: * glib/src/variant.hg: Add an empty line after @newin where it's needed in order to avoid bad side effects in the documentation. Doxygen assumes that @newin is followed by a paragraph that describes what is new.
* gmmproc: Improve the conversion of Since to @newinKjell Ahlstedt2014-12-113-9/+17
| | | | | | * tools/m4/enum.m4: Add a blank line in the enum documentation. * tools/pm/Output.pm: Don't always add a blank line in the enum documentation. * tools/pm/DocsParser.pm: Improve the rules for conversion of Since to @newin.
* Tiny comment spelling fix.Murray Cumming2014-12-041-1/+1
|
* 2.43.12.43.1Murray Cumming2014-12-032-2/+27
|
* tests/giomm_tls_client: Put try/catch around Socket::connect().Murray Cumming2014-12-031-1/+11
| | | | Because it's currently timing out for me.
* Regenerate .docs.xml files.Murray Cumming2014-12-032-39/+446
|
* Regnerate glib .defs.Murray Cumming2014-12-033-2/+35
|
* Regenerate gio .defs.Murray Cumming2014-12-033-8/+72
|
* gmmproc: Tidy up the generation of enum docsKjell Ahlstedt2014-12-013-27/+10
| | | | | | | | | * tools/m4/gerror.m4: Add "/** " at the start of the documentation, like enum.m4 does. * tools/pm/DocsParser.pm: lookup_enum_documentation(): Don't add "/** " which is deleted by the caller. Add "\n * " with the right indentation. * tools/pm/Output.pm: output_wrap_enum(), output_wrap_enum_docs_only(), output_wrap_gerror(): Don't delete "/** ". Don't change indentation.
* gmmproc: Change messages that MS Visual Studio can misunderstandKjell Ahlstedt2014-12-013-7/+14
| | | | | | | * tools/gmmproc.in: * tools/pm/DocsParser.pm: * tools/pm/Output.pm: Change messages that MS Visual Studio can misunderstand. https://mail.gnome.org/archives/gtkmm-list/2014-November/msg00044.html
* Glib::Checksum::ChecksumType: Remove erroneous documentationKjell Ahlstedt2014-11-211-15/+1
| | | | | | * glib/src/checksum.hg: Remove the erroneous '@class ChecksumType' comment. Should have been '@enum ChecksumType'. It's unnecessary now that gmmproc generates enum documentation.
* gmmproc: _WRAP_GERROR: Add documentation to the generated enum CodeKjell Ahlstedt2014-11-212-5/+17
| | | | | | | | | | * tools/pm/Output.pm: output_wrap_gerror(): Get the enum documentation from the docs.xml file. * tools/m4/gerror.m4: Include the documentation before 'enum Code' in the generated code. _WRAP_GERROR was overlooked when José Alburquerque implemented the documentation of other enums (bug 544694).
* Add Glib::BindingKjell Ahlstedt2014-11-2011-8/+668
| | | | | | | | | | | | | | * .gitignore: Ignore binding.[h|cc]. * glib/glibmm/objectbase.h: Add a comment. * glib/src/filelist.am: Add glib_signals.defs and binding.hg. * glib/src/glib.defs: Add glib_signals.defs. * glib/glibmm.h: Add binding.h. * tools/extra_defs_gen/generate_defs_glib.cc: Add get_defs(G_TYPE_BINDING). * tools/m4/convert_glib.m4: Add conversion for BindingFlags. * tools/generate_wrap_init.pl.in: Define GLIBMM_INCLUDED_FROM_WRAP_INIT_CC. * glib/src/binding.[hg|ccg]: New files with enum BindingFlags and class Binding. * glib/src/glib_signals.defs: New file with info about GBinding's properties. Bug #738663.
* Gio::Resource: Add get_file_exists_nothrow(). Rename some methodsKjell Ahlstedt2014-11-202-28/+66
| | | | | | | * gio/src/resource.[hg|ccg]: Add get_file_exists_nothrow() and get_file_exists_global_nothrow(). Rename the get_info() and get_info_global() methods that only check if a file exists. Use std::string for path names. Bug #739206.
* Docs: Use doxygen-extra.cssKjell Ahlstedt2014-11-143-3/+4
| | | | | | * configure.ac: Require mm-common 0.9.7. * .gitignore: Ignore doxygen-extra.css. * docs/reference/Doxyfile.in: Use doxygen-extra.css instead of doxygen.css.
* Add Gio::ResourceKjell Ahlstedt2014-11-144-7/+239
| | | | | | | | * gio/src/resource.[hg|ccg]: Add class Resource, enum ResourceFlags and enum ResourceLookupFlags. * glib/src/bytes.hg: Mention Resource in a comment. * tools/m4/convert_gio.m4: Add conversions for GResource, GResourceFlags and GResourceLookupFlags. Bug #739206.
* 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.