summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Increased versionglibmm-2-10Murray Cumming2007-06-103-1/+8
| | | | svn path=/branches/glibmm-2-10/; revision=415
* Move PropertyProxyConnectionNode out of the ifdef to avoid a linker errorKalle Vahlman2007-06-102-2/+11
| | | | | | | | | | | 2007-06-10 Kalle Vahlman <zuh@iki.fi> * glib/glibmm/propertyproxy_base.cc: Move PropertyProxyConnectionNode out of the ifdef to avoid a linker error when disabling properties. The other branches already had this fix. Bug #441766. svn path=/branches/glibmm-2-10/; revision=414
* increased versionMurray Cumming2007-05-013-1/+9
| | | | svn path=/branches/glibmm-2-10/; revision=410
* Use _IS_DEPRECATED instead of _CLASS_DEPRECATED because the latterJohannes Schmid2007-04-303-2/+12
| | | | | | | | | | | | | | | 2007-04-30 Johannes Schmid <johannes.schmid@openismus.com> * tools/generate_wrap_init.pl.in: * tools/m4/class_gtkobject.m4: Use _IS_DEPRECATED instead of _CLASS_DEPRECATED because the latter confuses gmmproc. We cannot just use _DEPRECATED because it will result in incorrect handling of for example #ifndef GTKMM_DISABLE_DEPRECATED svn path=/branches/glibmm-2-10/; revision=406
* Check for both m4 and M4 in the GNU m4 output, to fix the build on someYselkowitz2007-04-242-1/+7
| | | | | | | | | | 2007-04-24 Yselkowitz <yselkowitz@users.sourceforge.net> * scripts/macros.m4: Check for both m4 and M4 in the GNU m4 output, to fix the build on some platforms. Bug #423990 svn path=/branches/glibmm-2-10/; revision=402
* Increased versionMurray Cumming2007-04-163-2/+18
| | | | svn path=/branches/glibmm-2-10/; revision=397
* Ident refcomment with three spaces which is more adequate that noArmin Burgmeier2007-04-164-12/+151
| | | | | | | | | | | | | | | | | | | | | | 2007-04-11 Armin Burgmeier <armin@openismus.com> * tools/m4/signal.m4: Ident refcomment with three spaces which is more adequate that no identation at all for most situations. * tools/pm/WrapParser.pm: Added peek_token() function which only returns the next token without removing it from the tokens array. Parse '/**' as a separate token and handle it in a special way so that when the final '*/' is encountered and _WRAP_SIGNAL follows, the comment is not terminated but continued by that automatically generated doxygen comment. * tools/pm/Output.pm: Added a merge_doxygen_comment_with_previous parameter in output_wrap_sig_decl(). If it is nonzero, the function assumes that there is already a comment open and continues to use it instead of opening a new comment by removing the leading '/**' from what get_refdoc_comment() returns. Bug #378810. svn path=/branches/glibmm-2-10/; revision=396
* Use _CLASS_DEPRECATE instead of just _DEPRECATE to known whether a wholeJohannes Schmid2007-04-092-1/+9
| | | | | | | | | | | | 2007-04-06 Johannes Schmid <johannes.schmid@openismus.com> * tools/generate_wrap_init.pl.in: Use _CLASS_DEPRECATE instead of just _DEPRECATE to known whether a whole class should be avoided in wrap_init. Otherwise every .hg file containing deprecated methods might get ignored. (Fixes Gtk::TextBuffer bug in maemo) svn path=/branches/glibmm-2-10/; revision=389
* Use a default value, to show that it can be done. (This change, fromMurray Cumming2007-02-104-69/+193
| | | | | | | | | | | | | | | | | | 2007-02-10 Murray Cumming <murrayc@murrayc.com> * examples/options/main.cc: Use a default value, to show that it can be done. (This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006) 2007-02-10 Armin Burgmeier <armin@arbur.net> * glib/src/optiongroup.ccg: default_c_arg(): Set the initial value of the C argument to the value the C++ argument has, to avoid that glibmm resets arguments to zero that were not given on the command line. (This change, from 2006-03-30 was restored after being accidentally lost on Apr 12 2006) svn path=/branches/glibmm-2-10/; revision=379
* Thu, 25 Jan 2007 23:13:05 +0100 Dodji SeketeliDodji Seketeli2007-01-262-2/+9
| | | | | | | | | | | * tools/m4/base.m4: prefix the builting mkstemp with 'm4' because otherwise, m4 1.4.8 recognizes it as a builtin macro and expands it, leading to compilation errors on some distros. This should fix #397167. Thanks to Daniel Elstner for spotting this. svn path=/branches/glibmm-2-10/; revision=374
* Increase versionMurray Cumming2006-12-284-2/+19
|
* Allow an empty pair of parentheses in the innermost match. This fixes theDaniel Elstner2006-11-284-4/+20
| | | | | | | | | | | | | | | | | * tools/pm/GtkDefs.pm (read_defs): Allow an empty pair of parentheses in the innermost match. This fixes the problem of gmmproc choking on "()" in the documentation strings. This would still break on unmatched parentheses, though. Of course the parser should just skip over quoted strings, but I wasn't able to get that to work. * glib/src/glib_enums.defs (GNormalizeMode): Manually fix the improperly parsed value of G_NORMALIZE_NFD. Fortunately this doesn't change anything since the "#error" token was interpreted as zero, which happens to be the right value. * glib/src/glib_functions.defs (g_iconv): Manually convert to a function definition, as it was improperly parsed as a method with a zero-length name (!) of object GIConv. This fixes the annoying gmmproc warning about an allegedly unwrapped method.
* Ignore whitespace in front of an enum typedef. This fixes parsing ofDaniel Elstner2006-11-273-5/+37
| | | | | | | | | | * tools/enum.pl (parse): Ignore whitespace in front of an enum typedef. This fixes parsing of HildonTelephoneEditorFormat in hildon-libs. * tools/pm/Enum.pm (parse_values): Check whether the enumeration constants actually have a common module prefix before attempting to remove it. This fixes the incorrect parsing of inconsistently named enums in hildon-libs.
* Break the loop if the length of the common prefix reaches zero. This fixesDaniel Elstner2006-11-272-1/+11
| | | | | | | * tools/enum.pl (form_names): Break the loop if the length of the common prefix reaches zero. This fixes the infinite loop when processing the inconsistently named enumeration constants of the Hildon libraries.
* When registering float parameters, use -G_MAXFLOAT instead of G_MINFLOAT.Oliver Nittka2006-11-222-2/+10
| | | | | | | | | | 2006-11-22 Oliver Nittka <oly@nittka.com> * glib/src/value_basictypes.cc.m4: When registering float parameters, use -G_MAXFLOAT instead of G_MINFLOAT. Since we first implemented this, the glib documentation has been updated to make it cleare that this is the real minimum and G_MINFLOAT is the minimum positive value. Do the same for doubles too.
* Increase versionMurray Cumming2006-11-213-1/+10
|
* Remove generated file.Murray Cumming2006-11-101-81/+0
|
* Added connect_property_changed(), as an alternative to use when theMurray Cumming2006-11-106-45/+77
| | | | | | | | | | | | | | | 2006-11-10 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/objectbase.cc: * glib/glibmm/objectbase.h: Added connect_property_changed(), as an alternative to use when the property proxies are not available because GLIBMM_PROPERTIES_ENABLED is not defined. SignalProxyProperty::connect(): Use notify::propertyname instead of just notify, so do not have to check the property name later. This should be more efficient (when this is used, rarely). * glib/glibmm/propertyproxy_base.cc: * glib/glibmm/propertyproxy_base.h: Move PropertyProxyConnectionNode into the header, so we can reuse it for connect_property_changed().
* Add PREDEFINES for the optional API, so that the documentation shows theMurray Cumming2006-11-102-1/+11
| | | | | | | 2006-11-10 Murray Cumming <murrayc@murrayc.com> * docs/reference/Doxyfile.in: Add PREDEFINES for the optional API, so that the documentation shows the regular API.
* Add a silly line to avoid unused parameters when GLIBMM_EXCEPTION_ENABLEDMurray Cumming2006-10-046-4/+30
| | | | | | | | | | | 2006-10-04 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/class.cc: * glib/src/iochannel.ccg: * glib/src/markup.ccg: Add a silly line to avoid unused parameters when GLIBMM_EXCEPTION_ENABLED is not set. * glib/glibmm/error.h: Do not use G_GNU_NO_RETURN on the version of throw_exception() that returns, to avoid a warning.
* Increased versionMurray Cumming2006-09-283-1/+9
|
* For win32, define GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS to 1,Murray Cumming2006-09-263-2/+15
| | | | | | | | | | | | | | 2006-09-26 Murray Cumming <murrayc@murrayc.com> * glib/glibmmconfig.h.in: For win32, define GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS to 1, instead of just defining it to nothing. * scripts/reduced.m4: In the AC_ARG_ENABLE() to define (or not) GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS, use api-default-signal-handlers as the first parameter instead of api-exceptions (a copy/paste error), though it does not seem to make any difference. Bug #357830.
* Increased version.Murray Cumming2006-09-219-72/+273
|
* Increased versionMurray Cumming2006-07-313-1/+9
|
* Added a --enable-api-default-signal-handlers option. This definesMurray Cumming2006-07-206-0/+54
| | | | | | | | | | | | | | 2006-04-25 Murray Cumming <murrayc@murrayc.com> * configure.in: * glib/glibmmconfig.h.in: * scripts/reduced.m4: Added a --enable-api-default-signal-handlers option. This defines GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED, which is used to #ifdef default signal handlers. This saves on library code size (less code and API symbols) and application code size and loading time (less virtual methods, which must be imported and resolved at load time) and per-object memory size (smaller object sizes because of less virtual methods.) * tools/m4/class_interface.m4: * tools/m4/class_shared.m4: Put default signal handler code in #ifdefs.
* Reverted the previous patch slightly to unbreak glibmmconfig.h.Murray Cumming2006-07-182-3/+7
| | | | | | 2006-07-17 Murray Cumming <murrayc@murrayc.com> * configure.in: Reverted the previous patch slightly to unbreak glibmmconfig.h.
* Quote GLIBMM_*_VERSION to avoid m4 warnings. Patch from Bug #347076 fromMurray Cumming2006-07-163-4/+10
| | | | | | | | | 2006-07-16 Murray Cumming <murrayc@murrayc.com> * configure.in: Quote GLIBMM_*_VERSION to avoid m4 warnings. Patch from Bug #347076 from Kevin McBride. * scripts/sun.m4: Quote GLIBMM_PROG_CXX_SUN to avoid an m4 warning. Patch from Bug #347077 from Kevin McBride.
* Inline the set_property and get_property methods. This is required byCedric Gustin2006-06-092-2/+9
| | | | | | | | 2006-06-09 Cedric Gustin <cedric.gustin@gmail.com> * glib/glibmm/objectbase.h : Inline the set_property and get_property methods. This is required by mingw32-gcc as ObjectBase is explicitly dllexported.
* When using --enable-api-exception=no, only try to get the Glib::Error whenMurray Cumming2006-06-053-1/+9
| | | | | | | 2006-06-05 Murray Cumming <murrayc@murrayc.com> * glib/src/convert.ccg: When using --enable-api-exception=no, only try to get the Glib::Error when the GError is not null.
* When using --enable-api-exception=no, only try to get the Glib::Error whenMurray Cumming2006-06-052-12/+17
| | | | | | | 2006-06-05 Murray Cumming <murrayc@murrayc.com> * glib/src/convert.ccg: When using --enable-api-exception=no, only try to get the Glib::Error when the GError is not null.
* 2.10.3:Murray Cumming2006-05-184-13/+31
| | | | | | | | | | | | 2006-05-18 Murray Cumming <murrayc@murrayc.com> * tools/m4/method.m4: _METHOD(): When using errthrow, actually print the function call even if the return type is 0. 2006-05-16 Murray Cumming <murrayc@murrayc.com> * tools/m4/method.m4: _METHOD(), _STATIC_METHOD(): Remove spaces before dnl statements, to avoid unwanted indentation in .cc files.
* _CONVERT(): If the return type is void, use the unconverted statement, notMurray Cumming2006-05-163-7/+20
| | | | | | | | | | | 2006-05-16 Murray Cumming <murrayc@murrayc.com> * tools/m4/convert_base.m4: _CONVERT(): If the return type is void, use the unconverted statement, not no statement. This prevents some void methods from being totally empty. This was a (very bad) regression introduced by the optional API changed. Bug #341895 from Philip Langdale. * tools/m4/method.m4: _METHOD(), _STATIC_METHOD(): Attempt to remove unnecessary newlines, though some indenting spaces slipped in instead. Must fix that.
* Fix typo.Murray Cumming2006-05-111-1/+1
|
* Remove extra crap from a mispatch.Murray Cumming2006-05-111-4/+0
|
* Added #ifdefed versions for the case that exceptions are disabled.Murray Cumming2006-05-116-53/+246
| | | | | | | | | | 2006-05-11 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/ustring.cc: * glib/src/date.ccg: * glib/src/convert.ccg: * glib/src/convert.hg: Added #ifdefed versions for the case that exceptions are disabled.
* Increased versionMurray Cumming2006-05-103-2/+13
|
* Moved --enable-deprecated-api macro into scripts/reduced.m4. Added theMurray Cumming2006-05-103-15/+55
| | | | | | | | 2006-05-10 Murray Cumming <murrayc@murrayc.com> * configure.in: * scripts/reduced.m4: Moved --enable-deprecated-api macro into scripts/reduced.m4. Added the --enable-api-exceptions macro that was missing from my last commit.
* Added --enable-api-exceptions option. When this is used, methods thatMurray Cumming2006-05-1042-58/+687
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-04-05 Murray Cumming <murrayc@murrayc.com> * configure.in: * scripts/reduced.m4: Added --enable-api-exceptions option. When this is used, methods that would normally throw an exception will now take an extra std::auto_ptr<Glib::Error> argument that should be checked with auto_ptr::get(). * glib/glibmmconfig.h.in: Undef the GLIBMM_EXCEPTIONS_ENABLED, so it will be defined. * tools/m4/gerror.m4: throw_func() returns an auto_ptr of a Glib::Error when exceptions are disabled. * tools/m4/method.m4: * tools/pm/Output.pm: on_wrap_method(): Added alternative API with #ifdefs * tools/m4/signal.m4: * tools/m4/signalproxy_custom.m4: * tools/m4/vfunc.m4: Put #ifdefs around the exception re-throwing try/catch blocks. * glib/glibmm/dispatcher.cc: * glib/glibmm/dispatcher.h: * glib/glibmm/error.cc: * glib/glibmm/error.h: * glib/glibmm/exceptionhandler.cc: * glib/glibmm/exceptionhandler.h: * glib/glibmm/main.cc: * glib/glibmm/signalproxy.cc: * glib/glibmm/streamiochannel.cc: * glib/glibmm/stringutils.cc: * glib/glibmm/threadpool.cc: * glib/src/iochannel.ccg: * glib/src/iochannel.hg: * glib/src/markup.ccg: * glib/src/spawn.ccg: * glib/src/thread.ccg: Put #ifdefs around try/catch blocks, and use alternative API when appropriate. * examples/iochannel_stream/fdstream.cc: * examples/markup/parser.cc: * examples/options/main.cc: Adapted examples to the alternative API, with #ifdefs * tools/m4/convert_base.m4: Avoid any conversion if the result is void, to allow _WRAP_METHOD() to ignore bool results, so we can generate some methods that are currently hand-coded.
* Increased versionMurray Cumming2006-04-143-2/+15
|
* Fix typo in ChangeLogMurray Cumming2006-04-141-1/+1
|
* Remove this file because it is not installed and does not seem to be used.Murray Cumming2006-04-122-97/+5
| | | | | | | 2006-04-12 Murray Cumming <murrayc@murrayc.com> * tools/m4/signalproxy_custom.m4: Remove this file because it is not installed and does not seem to be used.
* Mark the (private) signal info callback functions as static, to save onMurray Cumming2006-04-122-9/+9
| | | | | | | 2006-04-12 Murray Cumming <murrayc@murrayc.com> * tools/m4/signal.m4: Mark the (private) signal info callback functions as static, to save on code size.
* Parse a new optional constversion parameter for _WRAP_METHOD(), to save onMurray Cumming2006-04-125-5/+34
| | | | | | | | | | | 2006-04-12 Murray Cumming <murrayc@murrayc.com> * tools/pm/WrapParser.pm: Parse a new optional constversion parameter for _WRAP_METHOD(), to save on code size by just calling the non-const overload instead of generating almost identical code. * tools/m4/method.m4: _METHOD(): Take extra parameters for use when constversion is used. * tools/pm/Output.pm: Send the extra parameters to _METHOD(). * docs/internal/using_gmmproc.txt: Documented the new constversion option.
* Mark the (private) signal info callback functions as static, to save onMurray Cumming2006-04-122-4/+9
| | | | | | | 2006-04-12 Murray Cumming <murrayc@murrayc.com> * tools/m4/signal.m4: Mark the (private) signal info callback functions as static, to save on code size.
* Mark private functions as static, to stop them being exported in the API,Murray Cumming2006-04-129-13/+26
| | | | | | | | | | | | | | | 2006-04-12 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/main.cc: * glib/glibmm/objectbase.cc: * glib/glibmm/property.cc: * glib/glibmm/ustring.cc: * glib/glibmm/value_custom.cc: * glib/src/spawn.ccg: Mark private functions as static, to stop them being exported in the API, to reduce the library code size slightly. * tools/m4/signal.m4: Make generated callback functions static, for the same reasons.
* Updated for Mingw-4.1.Cedric Gustin2006-04-072-38/+6
| | | | | | 2006-04-07 Cedric Gustin <cedric.gustin@gmail.com> * README.win32: Updated for Mingw-4.1.
* Embed the manifest file into executables in the case of the Debug target.Cedric Gustin2006-04-0615-21/+36
| | | | | | | | | | | | | | | | | 2006-04-06 Cedric Gustin <cedric.gustin@gmail.com> * MSVC_Net2003/*.vcproj: Embed the manifest file into executables in the case of the Debug target. * README.win32: Fixed a few typos. * build_shared/Makefile_build.am_fragment: Add -DGLIBMM_BUILD to the extra_defines compiler flags (switch between dllexport/dllimport on win32). * glib/glibmmconfig.h.in: Define GLIBMM_DLL when building with mingw32/cygwin. This makes the GLIBMM_API tag (and GTKMM_API for gtkmm) active with these two platforms, as required by bug #309030. * glib/glibmm/object.h, glib/glibmm/objectbase.h : Tag the Object and ObjectBase classes with GLIBMM_API to make Visual Studio happy.
* file maemo_ignore_doxygen_tags.patch was initially added on branch glibmm-2-8.Murray Cumming2006-03-310-0/+0
|
* looklookup_documentation(): Put the @deprecated text immediately after theMurray Cumming2006-03-086-27/+73
| | | | | | | | | | | | | | | | | | | | 2006-02-25 Murray Cumming <murrayc@murrayc.com> * tools/pm/DocsParser.pm: looklookup_documentation(): Put the @deprecated text immediately after the main description, before the parameters, so that Doxygen actually uses it. 2006-02-25 Murray Cumming <murrayc@murrayc.com> * tools/pm/DocsParser.pm: looklookup_documentation(): Accept an extra deprecated_documentation parameter, to be appended to the Doxygen documentation. * tools/pm/Output.pm: output_wrap_meth(): Put the documentation inside the deprecation #ifdef, for neatness. * tools/pm/WrapParser.pm: on_wrap_method(): Read an optional string after the optional deprecated parameter, used to say why the method is deprecated, in case it was not deprecated by the C API, in which case it would already have documentation for this.
* Merge in changes from glibmm 2.8 branch. These are documentation and build ↵Murray Cumming2006-03-0816-1673/+2467
| | | | fixes, allowed during the hard code freeze.