summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Forgot bug numbers to recent ChangeLog entries.glibmm-2-12José Alburquerque2009-03-221-0/+1
| | | | svn path=/branches/glibmm-2-12/; revision=799
* Modified _GET_TYPE_FUNC() to properly work with types like GtkFOOBarJosé Alburquerque2009-03-192-2/+14
| | | | | | | | | | 2009-03-18 José Alburquerque <jaalburqu@svn.gnome.org> * tools/m4/base.m4: Modified _GET_TYPE_FUNC() to properly work with types like GtkFOOBar producing, for example, gtk_foo_bar_get_type() instead of gtk_fo_obar_get_type(). svn path=/branches/glibmm-2-12/; revision=797
* Added a new section called SECTION_HEADER_FIRST that within the headerArmin Burgmeier2007-10-122-0/+20
| | | | | | | | | | | | | 2007-10-12 Armin Burgmeier <armin@openismus.com> * tools/m4/base.m4: Added a new section called SECTION_HEADER_FIRST that within the header file that is before any generated code (apart from the include guards) and a _CONFIGINCLUDE macro that includes a file within this section. This is intended to be used with g*mmconfig.h so the *_DISABLE_DEPRECATED define is set for deprecated classes also when included from other code. svn path=/branches/glibmm-2-12/; revision=453
* +2007-06-10 Kalle Vahlman <zuh@iki.fi>Murray Cumming2007-06-104-4/+19
| | | | | | | | | | + + * 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-12/; revision=416
* Increased versionMurray Cumming2007-05-013-1/+9
| | | | svn path=/branches/glibmm-2-12/; revision=409
* 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-12/; revision=405
* 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-12/; revision=403
* Increased versionMurray Cumming2007-04-163-1/+20
| | | | svn path=/branches/glibmm-2-12/; revision=398
* 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-12/; revision=394
* 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-12/; revision=391
* Change variable name to avoid warnings about a shadowed member. BugBradley Bell2007-03-233-5/+15
| | | | | | | | | | | | | | | | 2007-03-19 Bradley Bell <btb@debian.org> * glib/glibmm/helperlist.h: Change variable name to avoid warnings about a shadowed member. Bug #420316. 2007-03-19 Bradley Bell <btb@debian.org> * glib/glibmm/utility.h: remove g_free prototype, include gmem.h instead, to avoid a warning about a redundant declaration. Bug #420339. svn path=/branches/glibmm-2-12/; revision=387
* Use static_cast in vfuncs and signal handlers to cast the wrapper objectArmin Burgmeier2007-03-234-55/+118
| | | | | | | | | | | | | | | | | | | | | | 2007-03-17 Armin Burgmeier <armin@openismus.com> * tools/m4/signal.m4: * tools/m4/vfunc.m4: Use static_cast in vfuncs and signal handlers to cast the wrapper object to ObjectBase*. This is enough to check whether the object is from a derived type or not. A slow dynamic_cast has only to be performed if it is derived, and the C++ vfunc needs to be called. * glib/glibmm/objectbase.h: This requires ObjectBase::is_derived_ to be public, because it is called on a ObjectBase* rather than the actual type. This causes a slight speed up of vfuncs and default signal handler invokation. Also added commented-out inline versions of ObjectBase::_get_current_wrapper() and ObjectBase::is_derived(), which could be used in the generated code if we find that this has significant performance benefits. Note that these methods must be additional to the non-inline methods, because inline methods are not usually exported in the shared library. svn path=/branches/glibmm-2-12/; revision=384
* Increased versionMurray Cumming2007-03-033-1/+8
| | | | svn path=/branches/glibmm-2-12/; revision=383
* Added a test for the case that time_t is equivalent to guint32, as seemsMurray Cumming2007-03-037-3/+78
| | | | | | | | | | | | | | | | | 2007-03-03 Murray Cumming <murrayc@murrayc.com> * configure.in: * glib/glibmmconfig.h.in: * glib/src/date.ccg: * glib/src/date.hg: * scripts/Makefile.am: * scripts/c_std.m4: Added a test for the case that time_t is equivalent to guint32, as seems to be the case on NetBSD-4.99.6/amd64, so we can ifdef-out the (deprecated, anyway) Glib::Date::set_time(GTime) method when necessary, because GTime is also equivalent to guint32. Bug #386990. svn path=/branches/glibmm-2-12/; revision=382
* Increase versionMurray Cumming2007-02-133-1/+9
| | | | svn path=/branches/glibmm-2-12/; revision=381
* Use a default value, to show that it can be done. (This change, fromMurray Cumming2007-02-104-69/+179
| | | | | | | | | | | | | | | | | | 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-12/; revision=380
* Increased versionMurray Cumming2007-01-283-2/+12
| | | | svn path=/branches/glibmm-2-12/; revision=375
* Thu, 25 Jan 2007 23:13:05 +0100 Dodji SeketeliDodji Seketeli2007-01-252-1/+8
| | | | | | | | | | | * 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-12/; revision=371
* Increase versionMurray Cumming2006-12-284-3/+20
|
* 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-283-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-282-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.
* Increased version.Murray Cumming2006-11-212-1/+3
|
* Merged some stuff from HEAD.Murray Cumming2006-11-2118-60/+142
|
* 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/+11
|
* Remove sarray from list of source and header files.Cedric Gustin2006-09-282-8/+5
| | | | | | | 2006-09-28 Cedric Gustin <cedric.gustin@gmail.com> * MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray from list of source and header files.
* For win32, define GLIBMM_ARG_ENABLE_API_DEFAULT_SIGNAL_HANDLERS to 1,Murray Cumming2006-09-263-2/+14
| | | | | | | | | | | | | | 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.
* Increase versionMurray Cumming2006-09-213-1/+11
|
* Change _IMPLEMENTS_INTERFACE to _IMPLEMENTS_INTERFACE_CC so we can haveJohannes Schmid2006-09-197-71/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-09-14 Johannes Schmid <jhs@gnome.org> * tools/m4/class_shared.m4: Change _IMPLEMENTS_INTERFACE to _IMPLEMENTS_INTERFACE_CC so we can have more control over it, by generating the _IMPLEMENTS_INTERFACE_CC from the WrapParser.pm. * tools/m4/method.m4: * tools/m4/signal.m4: * tools/m4/vfunc.m4: Added optional parameters that result in #ifdefs around methods, signals, vfuncs, etc. * tools/pm/Output.pm: Addef ifdef() and endif(). output_wrap_vfunc_h(), output_wrap_vfunc_cc(), output_wrap_default_signal_handler_h(), output_wrap_default_signal_handler_cc(), output_wrap_meth(), output_wrap_create(), output_wrap_sig_decl(): Support optional ifdefs around declarations and implementations, by calling ifdef() and endif(), or by passing the extra argument to the m4 macros. * tools/pm/WrapParser.pm: parse_and_build_output(): Parse _IMPLEMENTS_INTERFACE, and call the new on_implements_interface() method, which uses the new output_implements_interface() method, so it can have an optional ifdef parameter. on_wrap_method(), on_wrap_create(), on_wrap_vfunc(), output_wrap_signal(), output_wrap_vfunc(): Handle the optional ifdef (with a parameter) option for the _WRAP*() macros. This adds support for disabling certain features by using the new ifdef argument for methods, vfuncs, signals and interfaces.
* Updated for glibmm-2.12.Cedric Gustin2006-08-1810-2307/+2319
| | | | | | 2006-08-18 Cedric Gustin <cedric.gustin@gmail.com> * MSVC_Net2003/*.vcproj: Updated for glibmm-2.12.
* Increased versionMurray Cumming2006-08-173-2/+13
|
* 2.11.3:Murray Cumming2006-07-243-1/+9
| | | | | | | | | | | | | | 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.
* Added a --enable-api-default-signal-handlers option. This definesMurray Cumming2006-07-196-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.
* 2.11.2:Murray Cumming2006-07-173-11/+32
| | | | | | 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/+11
| | | | | | | | | 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.
* fix implementation of Glib::Date::set_time_current() so that it doesn'tJonathon Jongsma2006-07-162-1/+6
| | | | | | | 2006-07-16 Jonathon Jongsma <jonathon.jongsma@gmail.com> * glib/src/date.ccg: fix implementation of Glib::Date::set_time_current() so that it doesn't set the date to Dec 31, 1969.
* Check whether DestroyNotify is defined, so we can warn about includingMurray Cumming2006-06-192-0/+12
| | | | | | | | 2006-06-19 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/object.h: Check whether DestroyNotify is defined, so we can warn about including X11/Xlib.h before this header, which will break things. Bug #316726 from Mert Tugcu and Javeed Shaikh.
* Inline the set_property and get_property methods. This is required byCedric Gustin2006-06-092-2/+8
| | | | | | | | 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-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.
* _METHOD(): When using errthrow, actually print the function call even ifMurray Cumming2006-05-182-4/+9
| | | | | | | 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.
* _METHOD(), _STATIC_METHOD(): Remove spaces before dnl statements, to avoidMurray Cumming2006-05-162-8/+13
| | | | | | | 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.
* Restored the init(GValue*) method that was lost when merging changes fromMurray Cumming2006-05-143-0/+26
| | | | | | | | 2006-05-14 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/value.cc: * glib/glibmm/value.h: Restored the init(GValue*) method that was lost when merging changes from the glibmm-2-10 branch.
* Merged changes from glibmm-2-10 branch.Murray Cumming2006-05-1249-146/+990
|
* Added init(const GValue*), so that we can copy GValue instances of anyMurray Cumming2006-05-093-0/+26
| | | | | | | | 2006-05-09 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/value.cc: * glib/glibmm/value.h: Added init(const GValue*), so that we can copy GValue instances of any type at runtime. Needed by libgdamm, which returns const GValue* instances.
* Mark the branch in the ChangeLogMurray Cumming2006-05-091-0/+2
|
* Increased versionMurray Cumming2006-04-143-2/+15
|
* Fix typo in ChangeLogMurray Cumming2006-04-141-1/+1
|