| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/branches/glibmm-2-12/; revision=799
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
+
+ * 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
|
|
|
|
| |
svn path=/branches/glibmm-2-12/; revision=409
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/branches/glibmm-2-12/; revision=398
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/branches/glibmm-2-12/; revision=383
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/branches/glibmm-2-12/; revision=381
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/branches/glibmm-2-12/; revision=375
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
2006-09-28 Cedric Gustin <cedric.gustin@gmail.com>
* MSVC_Net2003/glibmm/glibmm.vcproj: Remove sarray from list of
source and header files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2006-08-18 Cedric Gustin <cedric.gustin@gmail.com>
* MSVC_Net2003/*.vcproj: Updated for glibmm-2.12.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2006-07-17 Murray Cumming <murrayc@murrayc.com>
* configure.in: Reverted the previous patch slightly to unbreak glibmmconfig.h.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|