Gtkmm-forge Digest, Vol 15, Issue 1



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-owner lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 459269] gtkmm 2.11.5 does not build
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 460969] New: Ignore virtual destructor	warning in
      setinterface.h (gnomemm (bugzilla.gnome.org))
   3. [Bug 460969] Ignore virtual destructor warning in
      setinterface.h (gnomemm (bugzilla.gnome.org))
   4. [Bug 406960] TypeTraits<bool> utterly broken
      (glibmm (bugzilla.gnome.org))
   5. [Bug 406960] TypeTraits<bool> utterly broken
      (glibmm (bugzilla.gnome.org))
   6. [Bug 399216] New feature: Glib::ustring::compose()
      (glibmm (bugzilla.gnome.org))
   7. [Bug 465961] New: mistake on gtkmm tutorail	Chapter 15 Page 6
      (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Sun, 22 Jul 2007 19:42:50 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 459269] gtkmm 2.11.5 does not build
To: gtkmm-forge lists sourceforge net
Message-ID: <20070722194250 A5CA36C4243 box gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=459269

  gtkmm | build | Ver: 2.11.x

G?tz Waschk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |trivial




------- Comment #1 from G?tz Waschk  2007-07-22 19:42 UTC -------
It built fine with gtk+ 2.11.6, just bump the configure check.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=459269.



------------------------------

Message: 2
Date: Fri, 27 Jul 2007 15:30:52 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 460969] New: Ignore virtual destructor
	warning in setinterface.h
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-460969-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=460969

  gnomemm | gconfmm | Ver: unspecified
           Summary: Ignore virtual destructor warning in setinterface.h
           Product: gnomemm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gconfmm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: marejde gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


"/usr/include/gconfmm-2.6/gconfmm/setinterface.h:42: warning: ?class
Gnome::Conf::SetInterface? has virtual functions but non-virtual destructor"

and

"//TODO: Add a virtual destructor, to avoid warnings, when we can break ABI."

Makes it hard for projects who want to compile with -Werror etc. Has to be
worked around by doing something like:

#ifndef MYPROJECT_GCONFMM_H
#define MYPROJECT_GCONFMM_H

#pragma GCC system_header

#include <gconfmm.h>

#endif // MYPROJECT_GCONFMM_H


Since it will probably be a while until gconfmm can break ABI, can something
like this be done in upstream gconfmm so projects using it can avoid kludges
like the above? Of course, the best thing would be to only ignore this warning
in setinterface.h. A while ago (3-4 years) I looked around for a pragma that
did this in GCC and couldn't find any. Maybe there is one now though?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=460969.



------------------------------

Message: 3
Date: Fri, 27 Jul 2007 19:27:22 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 460969] Ignore virtual destructor
	warning in	setinterface.h
To: gtkmm-forge lists sourceforge net
Message-ID: <20070727192722 DDC446C423E box gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=460969

  gnomemm | gconfmm | Ver: unspecified




------- Comment #1 from Martin Ejdestig  2007-07-27 19:27 UTC -------
Clarification. A pragma that only ignores the "no virtual destructor warning"
in setinterface.h.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=460969.



------------------------------

Message: 4
Date: Fri,  3 Aug 2007 23:11:11 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 406960] TypeTraits<bool> utterly broken
To: gtkmm-forge lists sourceforge net
Message-ID: <20070803231111 1D0236C414D box gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=406960

  glibmm | general | Ver: 2.13.x




------- Comment #6 from Daniel Elstner  2007-08-03 23:11 UTC -------
Committed, including necessary KeyFile fixes:

2007-08-04  Daniel Elstner  <daniel kitta gmail com>

        * containerhandle_shared.h (TypeTraits<bool>): Rewrite completely
        broken type adapter (bug #406960).
        * src/keyfile.{ccg,hg}: Fix the implementation to correctly use
        ArrayHandle<>.  Fix compilation with the new ArrayHandle<bool>
        code.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=406960.



------------------------------

Message: 5
Date: Fri,  3 Aug 2007 23:11:55 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 406960] TypeTraits<bool> utterly broken
To: gtkmm-forge lists sourceforge net
Message-ID: <20070803231155 E34F96C4151 box gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=406960

  glibmm | general | Ver: 2.13.x

Daniel Elstner changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=406960.



------------------------------

Message: 6
Date: Sun, 12 Aug 2007 02:52:27 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 399216] New feature:
	Glib::ustring::compose()
To: gtkmm-forge lists sourceforge net
Message-ID: <20070812025227 3C5E86C42F4 box gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=399216

  glibmm | strings | Ver: 2.13.x




------- Comment #9 from Daniel Elstner  2007-08-12 02:52 UTC -------
OK, I went ahead and committed a preliminary implementation of the message
compose and format API in order to give people something to play with. The API
is of course still open to discussion; I'm going to ask for opinions on the
mailing list later today. The necessary configure checks for wide stream
support are included with this commit, as well as an implementation optimized
for UTF-16 on Windows.

2007-08-12  Daniel Elstner  <danielk openismus com>

        * glib/glibmm/ustring.{cc,h}: Add preliminary implementation of
        a message compose and format API (bug #399216).  The API design
        is not final and still open for discussion.
        (ustring::compose): New set of static methods for composing
        internationalized text messages by substituting placeholders
        in a template string.
        (ustring::format): New set of static methods for locale-dependent
        formatting of numbers and other streamable objects to strings.
        (ustring::compose_argv): New static method which implements the
        common functionality of the compose() overloads.
        (ustring::FormatStream): New helper class which implements the
        type-independent functionality of the format() templates.
        (operator>>): New operator overload for std::wistream.
        (operator<<): New operator overload for std::wostream.

2007-08-12  Daniel Elstner  <danielk openismus com>

        * scripts/dk-feature.m4: New file, defining M4 utility macros for
        feature testing.  These macros are part of my personal autoconf
        library and are not specific to glibmm, as indicated by the "DK_"
        namespace prefix.

        * configure.in (AC_INIT): Switch to the non-deprecated usage of
        AC_INIT() by passing project name and version number as arguments.
        This is necessary to define a couple of auxiliary macros.
        (AC_PREREQ): Bump Autoconf version requirement to 2.58.
        (AC_CONFIG_SRCDIR): Point to project-specific source file.
        (AC_CONFIG_MACRO_DIR): Declare scripts/ as M4 directory.
        (AM_INIT_AUTOMAKE): Switch to non-deprecated usage.
        (AC_CHECK_SIZEOF): Use to determine the size of wchar_t.
        (DK_CHECK_FEATURE): Use new feature test macro to check for
        support of wide-character streams.

        * config.h.in (SIZEOF_WCHAR_T): Add #undef template.
        * glib/glibmmconfig.h.in (GLIBMM_HAVE_WIDE_STREAM): Likewise.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=399216.



------------------------------

Message: 7
Date: Sun, 12 Aug 2007 14:29:24 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 465961] New: mistake on gtkmm tutorail
	Chapter 15 Page 6
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-465961-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=465961

  gtkmm | documentation | Ver: unspecified
           Summary: mistake on gtkmm tutorail Chapter 15 Page 6
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jonathon jongsma gmail com
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I found a small mistake in your example on the page
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch15s06.html

bool myarea::on_expose_event(GdkEventExpose* ev)
{
Glib::RefPtr<Gdk::PixBuf> image =
Gdk::PixBuf::create_from_file("myimage.png");
image->render_to_drawable(get_window(),
get_style()->get_black_gc(),
0, 0, 100, 80, image->get_width(),
image->get_height(), // draw the whole image (from 0,0
to the full width,height) at 100,80 in the window
Gdk::RGB_DITHER_NONE, 0, 0);
return true;
}

The name of the class is Pixbuf not PixBuf. Being used
to CamelCaps, it took mea while to figure out what
went wrong ;-)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=465961.



------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 15, Issue 1
******************************************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]