summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.31.182.31.18Murray Cumming2012-02-213-1/+24
|
* Gio::DBus::Connection: Add the ActionGroup export/unexport methods.José Alburquerque2012-02-203-0/+13
| | | | | | * gio/src/dbusconnection.{ccg,hg}: Add the two new methods, wrapping the two functions in the new GActionGroup exporter API: http://developer.gnome.org/gio/2.31/gio-GActionGroup-exporter.html
* giomm: Add the DBus::ActionGroup class.José Alburquerque2012-02-204-0/+91
| | | | | | * gio/src/dbusactiongroup.{ccg,hg}: Add the sources, wrapping the create() method. * gio/src/filelist.am: Include the sources in the build.
* giomm: Add the RemoteActionGroup interface.José Alburquerque2012-02-206-0/+136
| | | | | | | | | | | * gio/src/remoteactiongroup.{ccg,hg}: * gio/src/filelist.am: Add the sources, wrapping the methods and virtual functions, and include them in the list of files to be built. * gio/src/gio_vfuncs.defs: Add the GRemoteActionGroup virtual functions. * gio/src/applicationcommandline.hg: Add the class documentation block.
* h2def.py: Handle deprecated functions.José Alburquerque2012-02-163-0/+69
| | | | | | | | | | * tools/defs_gen/h2def.py: The g_application_set_action_group() and the g_volume_monitor_adopt_orphan_mount() functions are wrapped but not generated because they have been deprecated in their header files by using a GLIB_DEPRECATED macro before the function declaration. Modify this tool to strip the macro so the functions are recognized. * gio/src/gio_methods.defs: Regenerate so the missing method definitions are included.
* giomm: Add the ActionMap interface.José Alburquerque2012-02-159-39/+2727
| | | | | | | | | | | | | | | | * gio/src/actionmap.{ccg,hg}: * gio/src/filelist.am: Add the new sources. * gio/src/gio_methods.defs: Regenerate to get the new ActionMap methods. * gio/src/gio_vfuncs.defs: Add the ActionMap virtual functions. * gio/src/application.hg: * gio/src/simpleactiongroup.hg: These classes implement the new interface. * gio/src/gio_extra_objects.defs: Add new objects so that there are no missing define-object warnings from gmmproc.
* Fix reference counting of Gio::SocketConnection::get_socket().Krzesimir Nowak2012-02-151-2/+2
| | | | * gio/src/socketconnection.hg: Added refreturn.
* gmmproc: docs: Remove possible parens in gtk-doc signal references.José Alburquerque2012-02-142-2/+12
| | | | | | | | * tools/pm/DocsParser.pm: Discard possible parenthesis following a gtk-doc signal reference. This avoids a double set of parenthesis appearing in the documentation. Bug #668918.
* Gio::DBus::Proxy: Add a TODO.José Alburquerque2012-02-144-2/+15
| | | | | | | | * gio/src/dbusproxy.hg: Add a TODO. * gio/src/filemonitor.hg: Typo. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Allow <listitem> tags to not be on a line by themselves also (as was done with the <itemizedlist> tag.
* Remove unnecessary signal docs.José Alburquerque2012-02-143-23/+8
| | | | | | * gio/src/dbusserver.hg: * gio/src/drive.hg: Remove signal docs from .hg files that is now automatically included by gmmproc.
* Regenerate XML docs for glibmm and giomm.José Alburquerque2012-02-143-1938/+32527
| | | | | | | * gio/src/gio_docs.xml: * glib/src/glib_docs.xml: Regenerate these, now including the signal docs so that gmmproc can include their docs in the source generation process.
* 2.31.16.12.31.16.1Murray Cumming2012-02-143-1/+14
|
* gmmproc: docs: Convert signal and property names correctly.José Alburquerque2012-02-132-0/+30
| | | | | | | | * tools/pm/DocsParser.pm (substitute_identifiers): Search for gtk-doc property and signal references and convert them to appropriate C++ names so that they are referenced correctly in the documentation. Bug #668918.
* gmmproc: DocsParser.pm (convert_tags_to_doxygen): Correct typo.José Alburquerque2012-02-082-1/+10
| | | | | | | * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Make the newline following the <itemizedlist> tags optional when converting them to Doxygen format (in case the tags are not necessarily on a line by themselves).
* gmmproc: Translate the <itemizedlist> tags in docs correctly.José Alburquerque2012-02-082-1/+15
| | | | | | | | * tools/pm/DocsParser.pm (lookup_documentation): Typo. (convert_tags_to_doxygen): Add substitutions to convert gtk-doc <itemizedlist> tags to Doxygen format. For example, see Gtk::ToolItem's "create-menu-proxy" and "toolbar-reconfigured" signal docs.
* docextract_to_xml.py: Add some HTML entity conversions.José Alburquerque2012-02-072-0/+9
| | | | | * tools/defs_gen/docextract_to_xml.py: Add some HTML entity conversions that produce errors when processed by gmmproc.
* gmmproc: Method generation: Fix indentation of void methods.José Alburquerque2012-02-072-1/+10
| | | | | | | * tools/m4/method.m4: Make sure that the generated line in methods returning void is indented properly (by two spaces). Before, there was no indentation (see for example the Entry::set_inner_border() method).
* gmmproc: Add documentation to wrapped signals.José Alburquerque2012-02-077-15/+75
| | | | | | | | | | | | | | | | | | | | | | | | * tools/m4/signal.m4: Add docs to the on_*() default handlers referring the users to the signal_*() docs. * tools/pm/DocsParser.pm (parse_on_start): (parse_on_end): Allow the <signal></signal> tags from the generated XML docs to be processed in a similar way as the <function></function> tags are processed. The docs of the signals are stored as "Class::a_signal_name" in the hash. (append_parameter_docs): Skip the first parameter for signals also because the first parameter of signals is the object for which the signal is triggered. (lookup_documentation): Generalize the no docs warning to include signals also. * tools/pm/Function.pm (get_refdoc_comment): Modify the subroutine to accept the docs of the signal (that the DocsParser stores) and include the prototype of the slot in the docs. * tools/pm/Output.pm (output_wrap_sig_decl): Modify the subroutine to look up the documentation of the signal which it then passes to get_refdoc_comment() so that the documentation of the signal from the generated XML is included in the declaration of the signal. Bug #668918 (Mark)
* 2.31.162.31.16Murray Cumming2012-02-073-1/+11
|
* Dispatcher: Fix the build on win32.TS2012-01-302-3/+10
| | | | | * glib/glibmm/dispatcher.cc: Mention the new Threads:: namespace in the ifdefed win32 code.
* thread.h: Move calls to deprecated glib functions into thread.cc.Haikel Guemar2011-12-083-3/+36
| | | | | | | * glib/src/thread.[hg|ccg]: Move calls to deprecated glib functions from thread.h into new public helper functions, so they are only used in our .cc file. This avoids warnings in application compiles just because they happen to include this header.
* 2.31.22.31.2Murray Cumming2011-11-243-4/+35
|
* Make class Glib::Threads::Private buildable with --enable-warnings=fatal.Kjell Ahlstedt2011-11-242-6/+13
| | | | | * glib/src/threads.hg: G_PRIVATE_INIT(destructor_func) is used only in an initialization.
* Restore unintended change.Murray Cumming2011-11-231-1/+1
|
* Add Glib::Threads::* in threads.h, deprecating everything in thread.hMurray Cumming2011-11-2321-69/+1163
| | | | | | | | | | | | | | | | | | | | | | | | | | * glib/src/filelist.am: * glib/src/thread.[hg|ccg]: Deprecate the whole file, adding deprecation doxygen comments to all API. * glib/src/threads.[hg|ccg]: A new Threads namespace containing equivalents for everything in thread.h, implemented using only non-deprecated glib API. This was necessary because we had to break the ABI to do this. * glib/glibmm.h: Include threads.h * glib/glibmm/main.[h|cc]: Added a wait() method overload that takes the new types, deprecating the existing wait() method. * examples/network/resolver.cc: * examples/network/socket-client.cc: * examples/network/socket-server.cc: * examples/thread/dispatcher.cc: * examples/thread/dispatcher2.cc: * examples/thread/thread.cc: * examples/thread/threadpool.cc: * glib/glibmm/dispatcher.cc: * glib/glibmm/exceptionhandler.cc: * glib/glibmm/threadpool.[h|cc]: Use the new Glib::Threads::* types instead of thread.h.
* Avoid a deprecation warning in implelementation of deprecated API.Murray Cumming2011-11-232-0/+9
| | | | | | * glib/glibmm/main.cc: Define GLIB_DISABLE_DEPRECATION_WARNINGS to avoid a warning about g_source_get_current_time(), which we must use in our own deprecated code.
* class.cc: Avoid compiler warnings when using -std=c++0x with g++.Murray Cumming2011-11-232-4/+28
| | | | | | * glib/glibmm/class.cc: Add casts because GTypeQuery::class_size and instance_size are guint but GTypeInfo::class_size and instance_size are guint16.
* Require glibmm 2.2.10 so that make check works.Murray Cumming2011-11-182-1/+7
| | | | | | | | * configure.ac: Bug #663686 (Michael Biebl) Conflicts: ChangeLog
* Ensure template parameter has a space before to avoid trigraphs.Hub Figuiere2011-11-162-1/+9
| | | | | | | (Gtkmm bug #663303) * tools/m4/property.m4: Ensure template parameter has a space before to avoid trigraphs.
* giomm: Add some unwrapped methods and properties.José Alburquerque2011-10-269-0/+25
| | | | | | | | | | | * gio/src/drive.hg: Add get_sort_key(). * gio/src/emblemedicon.hg: Add clear_emblems(). * gio/src/fileicon.hg: Add the "file" property. * gio/src/inetaddress.hg: Add address_equal(). * gio/src/mount.hg: Add get_sort_key(). * gio/src/socket.hg: Add the "timeout" property. * gio/src/socketaddress.hg: Add the "family" property. * tools/m4/convert_gio.m4: Add a necessary conversion.
* gmmproc: Example Removal: Also remove code in </programlisting> tags.José Alburquerque2011-10-262-1/+9
| | | | | * tools/pm/DocsParser.pm (lookup_documentation): Also remove code in <programlisting>...</programlisting> tags.
* Avoid use of deprecated API in tests and examples.Murray Cumming2011-10-268-10/+21
| | | | | | | | | | | * tests/Makefile.am: * examples/Makefile.am: Disable deprecated API. * examples/network/socket-client.cc: * examples/network/socket-server.cc: * examples/thread/dispatcher.cc: * examples/thread/dispatcher2.cc: * examples/thread/thread.cc: Remove calls to Glib::thread_init(), instead calling Glib::init() where that side-effect was also intended.
* threadpool example: Use Mutex instead of StaticMutex.Murray Cumming2011-10-263-4/+13
| | | | | | | | | * examples/thread/threadpool.cc: The advantage of StaticMutex was that it would silently do nothing if threads were not initialized. That was never a useful distinction in this example anyway. Also remove the deprecated thread_init() call. * glib/src/thread.ccg: Mutex: Add a TODO about not using the deprecated API.
* 2.31.0.22.31.0.2Murray Cumming2011-10-262-1/+5
|
* Fix the deprecation ifdefs.Murray Cumming2011-10-262-7/+19
| | | | | * glib/src/thread.hg: Move the deprecation ifdefs to avoid affecting non-deprecated API.
* 2.31.0.12.31.0.1Murray Cumming2011-10-263-1/+18
|
* Avoid an unused-parameter compiler warning.Murray Cumming2011-10-262-1/+7
| | | | * glib/src/thread.ccg: thread_init(): Comment out the vtable parameter.
* thread.h: Allow use of this without causing deprecation compiler warnings.Murray Cumming2011-10-2610-9/+64
| | | | | | | | | | | | | | | | | | | | | * glib/src/thread.hg: undef and then redefine G_DISABLE_DEPRECATED, and define GLIB_DISABLE_DEPRECATION_WARNINGS, if G_DISABLE_DEPRECATED is defined, so we can use the deprecated API in this header (though only in our own deprecated API). * tools/generate_wrap_init.pl.in: Include glibmm.h instead of glib.h so we can include thread.h first (via glibmm.h) instead of only later. This seems more logical than explicitly including thread.h in all (even non-glibmm) generated wrap_init.cc files. * tools/m4/base.m4: * glib/glibmm.h: * glib/glibmm/dispatcher.cc: * glib/glibmm/exceptionhandler.cc: * glib/glibmm/main.cc: * examples/thread/thread.cc: * examples/thread/threadpool.cc: Adjust the includes to include thread.h first.
* Move IOCondition from main.h to iochannel.h and autogenerate it.Murray Cumming2011-10-265-61/+44
| | | | | | | | | | | * glib/src/iochannel.hg: Use _WRAP_ENUM() for IOCondition instead of hand-coding it in * glib/glibmm/main.h: though this requires some manual editing of * glib/src/glib_enums.defs: due to the weird defines that GioChannel uses for its values. See the comment. * glib/glibmm/streamiochannel.cc: Adjust the includes. This avoids the need to include glib.h from main.h.
* Avoid some deprecation compiler warnings.Murray Cumming2011-10-265-0/+19
| | | | | | | | | | * gio/src/file.hg: * gio/src/volumemonitor.hg: * glib/src/date.hg: Add GLIB_DISABLE_DEPRECATION_WARNINGS to SECTION_CC_PRE_INCLUDES to avoid compiler warnings with the new glib deprecation system. * glib/src/value_basictypes.cc.m4: undef them here too, because g_value_set_char() and g_value_get_char() are deprecated.
* Missing file.Murray Cumming2011-10-261-0/+50
|
* Thread: Move deprecated parts together.Murray Cumming2011-10-262-30/+31
| | | | * glib/src/thread.hg: This simplifies things a bit.
* gmmproc: Don't include C code examples found in the XML docs.José Alburquerque2011-10-262-2/+25
| | | | | | | | | | | | | * tools/pm/DocsParser.pm (lookup_documentation): Remove the C example code from the attained documentation of the specified function. Print a warning that the example code has been removed if that is the case. Include the function name in the warning so that it is known where the examples are in case it is convenient to translate them. (convert_tags_to_doxygen): No longer convert tags and symbols that signal example code to Doxygen format since they are removed with the example code. Bug #650544
* giomm/wrap_init.h: Remove the glibmm.h include from here too.Murray Cumming2011-10-253-2/+6
| | | | | * gio/giomm/wrap_init.[h|cc]: Move the #include into the .cc file. * gio/giomm.h: Add an #include glibmm.h here instead.
* giomm/wrap_init.h: Remove the glibmm.h include from here too.Murray Cumming2011-10-252-3/+7
| | | | * gio/giomm/wrap_init.h: The #include does not seem necessary at all.
* gmmproc: Include <glibmm.h> in .cc files for convenience.Murray Cumming2011-10-253-4/+15
| | | | | | | * tools/m4/base.m4: Add an include <glibmm.h> line to the .cc files. * glib/src/optioncontext.ccg: Rename a namespace to avoid a clash. It is more useful to keep the general glibmm.h include out of headers.
* gmmproc: Don't include <glibmm.h> by default in generated files.José Alburquerque2011-10-2575-3/+139
| | | | | | | | | | | | * tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h> by default in header files of generated files in modules other than glibmm. This should make compilation faster for those modules. * gio/src/*.{h,cc}g: * gio/giomm/slot_async.cc: Adjust includes according to the above change. Bug #662597
* 2.31.02.31.0Murray Cumming2011-10-253-1/+36
|
* Regenerated more defs.Murray Cumming2011-10-257-1039/+800
| | | | | | | | | * gio/src/gio_enums.defs: Regenerated with enums.pl. * gio/src/gio_methods.defs: Regenerated with h2defs.py. * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenereated with h2defs.py * glib/src/glib_deprecated_functions.defs: Added this file. * glib/src/glib.defs: Mention the new file.
* Do not use gthread-2.0.Murray Cumming2011-10-253-6/+18
| | | | | | | | | * configure.ac: Do not use gthread-2.0 at all, because it only contains empty functions so it is better to just not call them. Require the latest glib version, to avoid people using this version of glibmm with a version of glib that would need g_thread_init(). * glib/src/thread.ccg: thread_init(): Do not call g_thread_init() because it now does nothing and would require linking to gthread-2.0.