Gtkmm-forge Digest, Vol 22, Issue 5



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 522866] gnome-vfsmm tarball build requires	doxygen
      (gnomemm (bugzilla.gnome.org))
   2. [Bug 515135] glibmm needs the option not to abort	programs
      with different encodings (glibmm (bugzilla.gnome.org))
   3. [Bug 522928] Update to latest goocanvas API
      (gnomemm (bugzilla.gnome.org))
   4. [Bug 522928] Update to latest goocanvas API
      (gnomemm (bugzilla.gnome.org))
   5. [Bug 522928] Update to latest goocanvas API
      (gnomemm (bugzilla.gnome.org))
   6. [Bug 522928] Update to latest goocanvas API
      (gnomemm (bugzilla.gnome.org))
   7. [Bug 523043] New: Initialization of	Glib::ObjectBase for
      derived types should be mentioned (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Mon, 17 Mar 2008 12:31:29 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522866] gnome-vfsmm tarball build
	requires	doxygen
To: gtkmm-forge lists sourceforge net
Message-ID: <20080317123129 379E823F4F4 label 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=522866

  gnomemm | gnome-vfsmm | Ver: 2.22

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
            Summary|doxygen is a hard dependency|gnome-vfsmm tarball build
                   |                            |requires doxygen




------- Comment #1 from Murray Cumming  2008-03-17 12:31 UTC -------
Yes, it shouldn't be needed when building from the tarball. I'd welcome a patch
(maybe based on gtkmm, or another *mm) package to fix this.


-- 
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=522866.



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

Message: 2
Date: Mon, 17 Mar 2008 12:32:16 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 515135] glibmm needs the option not to
	abort	programs with different encodings
To: gtkmm-forge lists sourceforge net
Message-ID: <20080317123216 5E37723F50B label 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=515135

  glibmm | strings | Ver: unspecified




------- Comment #7 from Murray Cumming  2008-03-17 12:32 UTC -------
Maybe you could suggest a different locale that I am likely to have. I'd really
like to reproduce this problem.


-- 
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=515135.



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

Message: 3
Date: Mon, 17 Mar 2008 13:08:16 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522928] Update to latest goocanvas API
To: gtkmm-forge lists sourceforge net
Message-ID: <20080317130817 016F923F50B label 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=522928

  gnomemm | goocanvasmm | Ver: unspecified

Armin Burgmeier changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #107444|0                           |1
        is obsolete|                            |




------- Comment #3 from Armin Burgmeier  2008-03-17 13:08 UTC -------
Created an attachment (id=107448)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=107448&action=view)
Second patch

> 3. What is this for in the .ccg?
> 
> +++ goocanvas/src/style.ccg     (working copy)
> @@ -22,8 +22,23 @@
>  namespace Goocanvas
>  {
>
> +// These trigger an internal compiler error on my machine (g++ 4.2.2). Note
> +// we can't store these by value since in goocanvas, the ids are initialized
> +// in class_init.
> +#if 0
> +const GQuark& Style::stroke_pattern_id = goo_canvas_style_stroke_pattern_id;
> 
> Likewise this in the .hg. Don't leave #if 0 in files with no comments:
> #if 0
> +  static const GQuark& stroke_pattern_id;

These are to be used with Style::get_property or Style::set_property,
respectively. I wanted a C++ developer to type
Goocanvas::Style::stroke_pattern_id instead of
goo_canvas_style_stroke_pattern_id. But, as stated in the comment, this
produced an internal compiler error for me which is why I commented them out.
Hm. Perhaps we can use just (inline?) functions instead of const references.

> 4. I'm a little worried about vfuncs that return RefPtrs, such as 
> +  _WRAP_VFUNC(Glib::RefPtr<Item> get_parent(), get_parent)
> We need to know if the C vfunc implementations should return a reference. If
> not then we need to take a reference somehow.

I assumed the get_ vfuncs to not return a new reference in C. The only
exception is ItemModel::create_item_vfunc for which I wrote extra conversion
functions.

> This seems superfluous. Isn't _CTOR_DEFAULT() the same?
> + TableModel::TableModel()
> +:
> +  _CONSTRUCT()
> +{
> +}

I copied this from table.ccg which is why it was in. I replaced it by
_CTOR_DEFAULT in both classes.

> 8. You changed examples/table/examplewindow.cc to use the model classes. I
> would like to keep this example the same (well, without the models), but I
> would like a separate example that does use the models. Ideally it would show
> what they are good for.

Oh. That wasn't by intention. I changed it to use the TableModel to test its
functionality and forgot to revert the change. I can perhaps come up with
another example showing two views representing the same model.

I also fixed the other concerns you raised.


-- 
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=522928.



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

Message: 4
Date: Mon, 17 Mar 2008 13:14:43 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522928] Update to latest goocanvas API
To: gtkmm-forge lists sourceforge net
Message-ID: <20080317131443 D6B9123F4F4 label 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=522928

  gnomemm | goocanvasmm | Ver: unspecified




------- Comment #4 from Murray Cumming  2008-03-17 13:14 UTC -------
> I wanted a C++ developer to type
> Goocanvas::Style::stroke_pattern_id instead of
> goo_canvas_style_stroke_pattern_id. But, as stated in the comment, this
> produced an internal compiler error for me which is why I commented them out.
> Hm. Perhaps we can use just (inline?) functions instead of const references.

OK. Let's leave this for later. I'll try to take a look.

> I assumed the get_ vfuncs to not return a new reference in C. The only
> exception is ItemModel::create_item_vfunc for which I wrote extra conversion
> functions.

So we still need to check that we take a reference. Othewise we will unref a
reference that we don't own.


Thanks. Please commit.


-- 
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=522928.



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

Message: 5
Date: Mon, 17 Mar 2008 14:00:17 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522928] Update to latest goocanvas API
To: gtkmm-forge lists sourceforge net
Message-ID: <20080317140017 1593D23F50B label 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=522928

  gnomemm | goocanvasmm | Ver: unspecified

Armin Burgmeier changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #107448|none                        |committed
               Flag|                            |




------- Comment #5 from Armin Burgmeier  2008-03-17 14:00 UTC -------
> > I assumed the get_ vfuncs to not return a new reference in C. The only
> > exception is ItemModel::create_item_vfunc for which I wrote extra conversion
> > functions.

> So we still need to check that we take a reference. Othewise we will unref a
> reference that we don't own.

Is there a way to check this?


-- 
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=522928.



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

Message: 6
Date: Mon, 17 Mar 2008 15:29:15 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522928] Update to latest goocanvas API
To: gtkmm-forge lists sourceforge net
Message-ID: <20080317152915 ACBE723F4EA label 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=522928

  gnomemm | goocanvasmm | Ver: unspecified




------- Comment #6 from Murray Cumming  2008-03-17 15:29 UTC -------
> Is there a way to check this?

Just by looking at the code.

But if we don't then there will be a crash at runtime when using that class.


-- 
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=522928.



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

Message: 7
Date: Mon, 17 Mar 2008 20:36:24 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 523043] New: Initialization of
	Glib::ObjectBase for derived types should be mentioned
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-523043-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=523043

  gtkmm | documentation | Ver: unspecified
           Summary: Initialization of Glib::ObjectBase for derived types
                    should be mentioned
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: thekenny123 gmail com
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I had today a hard time to find an error with a own property of an
Gtk::Cellrenderer. I got much runtime-errors.

With help from murrayc I could make it work, the call to a constructor of
Glib::ObjectBase was missing.

I think it would help if the needed call to the constructor to set a custom
type name were mentioned in the documentation or in the eBook.

A good place could be the doc for Glib::PropertyProxy.


-- 
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=523043.



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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

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

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


End of Gtkmm-forge Digest, Vol 22, Issue 5
******************************************


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