Gtkmm-forge Digest, Vol 21, Issue 11



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 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   2. [Bug 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   3. [Bug 512717] ValueBase classes "enhancements"
      (glibmm (bugzilla.gnome.org))
   4. [Bug 515135] glibmm needs the option not to abort	programs
      with different encodings (glibmm (bugzilla.gnome.org))
   5. [Bug 437041] Add IconTheme support to the Action	classes
      (gtkmm (bugzilla.gnome.org))
   6. [Bug 511136] It's impossible to check if a	TreePath is valid
      using gtkmm functions (gtkmm (bugzilla.gnome.org))
   7. [Bug 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))
   8. [Bug 517530] additional includes for C functions	in several
      files for Solaris (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Wed, 20 Feb 2008 06:18:03 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220061803 7F8AB23F51E 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=517530

  gtkmm | build | Ver: 2.12.x

manphiz gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manphiz gmail com




------- Comment #4 from manphiz gmail com  2008-02-20 06:18 UTC -------
Including C headers such as <*.h> is not quite the C++ way.  The whole point of
namespace is to avoid name clash.  I suggest adding missing "std::" prefixes to
affected calls, or "using std::<function>;" when the former is not viable, and
avoid "using namespace std;".

OTOH, it's suspicious that gcc on Linux can circumvent "std::", which might
worth a bug on gcc side.


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



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

Message: 2
Date: Wed, 20 Feb 2008 11:54:40 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220115440 5232023F540 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=517530

  gtkmm | build | Ver: 2.12.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com




------- Comment #5 from Murray Cumming  2008-02-20 11:54 UTC -------
> I'll happily fix up the patch, if there's consensus on what direction to take.

I wouldn't object to the use of std::, but we already use C functions regularly
without prefixes so it's not worth bothering about too much. I'll take any
patch that fixes the build.


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



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

Message: 3
Date: Wed, 20 Feb 2008 13:13:10 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 512717] ValueBase classes
	"enhancements"
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220131310 9F24B23F58D 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=512717

  glibmm | general | Ver: 2.15.x




------- Comment #6 from Murray Cumming  2008-02-20 13:13 UTC -------
It's good to have this in bugzilla, but I don't think I'll apply it until
someone needs it and can therefore be a good tester of it.


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



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

Message: 4
Date: Wed, 20 Feb 2008 13:29:00 +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: <20080220132900 CEB7723F544 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 #4 from Murray Cumming  2008-02-20 13:29 UTC -------
It does not seem to abort for me:

murrayc murrayc-desktop:~$ g++ test.cc `pkg-config gtkmm-2.4 --libs --cflags`
murrayc murrayc-desktop:~$ ./a.out 
TRUE 
Character out of range for UTF-8
Character out of range for UTF-8

(Note to self: Those Character out of range strings are in the test itself.)


I am on Ubuntu. What are you using?


-- 
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: 5
Date: Wed, 20 Feb 2008 13:31:22 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 437041] Add IconTheme support to the
	Action	classes
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220133122 4AC8223F541 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=437041

  gtkmm | general | Ver: 2.10.x

Murray Cumming changed:

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




------- Comment #13 from Murray Cumming  2008-02-20 13:31 UTC -------
Christian seems to have committed this to svn trunk a while ago, but forgot to
close the bug:

2007-11-29  Christian Hammond <chipx86 chipx86 com>

        * gtk/src/action.ccg:
        * gtk/src/action.hg:
        * gtk/src/radioaction.ccg:
        * gtk/src/radioaction.hg:
        * gtk/src/toggleaction.ccg:
        * gtk/src/toggleaction.hg: Added create_with_icon_name() functions for
          the various Action classes, allowing IconTheme icon names to be used
          instead of stock IDs. This closes bug #437041.


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



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

Message: 6
Date: Wed, 20 Feb 2008 13:31:43 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 511136] It's impossible to check if a
	TreePath is valid using gtkmm functions
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220133143 4252323F58D 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=511136

  gtkmm | TreeView | Ver: 2.12.x




------- Comment #4 from Murray Cumming  2008-02-20 13:31 UTC -------
I'd still like a patch.


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



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

Message: 7
Date: Wed, 20 Feb 2008 14:39:36 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220143936 6552C23F596 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=517530

  gtkmm | build | Ver: 2.12.x




------- Comment #6 from manphiz gmail com  2008-02-20 14:39 UTC -------
Created an attachment (id=105642)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=105642&action=view)
header_fix_for_gcc4.3_and_solaris.patch

"std::" prefix version based on Tim Mooney's patch.  Some notes:

1. getc_unlocked() used in demos/gtk-demo/demowindow.cc is POSIX only we have
to use #include <stdio.h>
2. several <cmath> inclusion are based on Tim Mooney's patch, without which
doesn't fail to build with gcc4.3 on Linux, examples are
demos/gtk-demo/example_textview.cc,
demos/gtk-demo/example_treeview_editable_cells.cc,
examples/book/drawingarea/arcs/myarea.cc,
examples/book/drawingarea/clock/clock.cc
3. It's likely I was missing something.  Tim Mooney please 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=517530.



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

Message: 8
Date: Wed, 20 Feb 2008 20:51:30 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 517530] additional includes for C
	functions	in several files for Solaris
To: gtkmm-forge lists sourceforge net
Message-ID: <20080220205130 F1C1B23F59D 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=517530

  gtkmm | build | Ver: 2.12.x




------- Comment #7 from Tim Mooney  2008-02-20 20:51 UTC -------
I'll attach a patch for the stuff that was missed, but unfortunately your
changes
relating to <cmath> don't completely work on Solaris when building with
STLport4, which is what nearly everyone on Solaris will do.  Including <cmath>
gets the std::abs(), std::floor(), and other functions that didn't have
prototypes before, but unfortunately the define for M_PI is not present in
STLport4's <cmath>.

Other than defining it ourselves, it seems that the only way to get it on
Solaris when using STLport4 is to include <math.h>.

With that in mind, how do we handle M_PI?


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



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

-------------------------------------------------------------------------
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 21, Issue 11
*******************************************


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