Gtkmm-forge digest, Vol 1 #1123 - 8 msgs



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-admin 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 341380] New: Optionally disable on_*() default signal handlers. (glibmm (bugzilla.gnome.org))
   2. [Bug 341380] Optionally disable on_*() default signal handlers. (glibmm (bugzilla.gnome.org))
   3. [Bug 341380] Optionally disable on_*() default signal handlers. (glibmm (bugzilla.gnome.org))
   4. [Bug 341380] Optionally disable on_*() default signal handlers. (glibmm (bugzilla.gnome.org))
   5. [Bug 341380] Optionally disable on_*() default signal handlers. (glibmm (bugzilla.gnome.org))
   6. [Bug 341380] Optionally disable on_*() default signal handlers. (glibmm (bugzilla.gnome.org))
   7. [Bug 341475] New: error compiling 2.8.6 (gtkmm (bugzilla.gnome.org))
   8. [Bug 341500] New: 2.8.6 & 2.9.1 do not compile (gtkmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 03:42:56 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341380] New: Optionally disable on_*() default signal handlers.

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341380
 glibmm | build | Ver: unspecified

           Summary: Optionally disable on_*() default signal handlers.
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: murrayc murrayc com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


There is a huge code size gain to be made by removing default signal hand=
lers,
such as Gtk::Button::on_clicked(). The problem is that they are virtual
methods, so we have to pay for them even if we don't use them. We must pa=
y for
them in=20
- code size: That's a lot of symbols in libgtkmm, and the symbols must be
listed in applications that use libgtkmm.
- load time: the symbols must be resolved by applications that use libgtk=
mm.

Gtk::Widget has about 60 signals, so that's at least 60 virtual methods f=
or
each widget. As far as I can tell, this increases the code size of each d=
erived
class, even if a derived-of-derived class, maybe due to multiple inherita=
nce.

I have not yet committed this configure option to cvs, because this is th=
e most
disruptive option. Overriding virtual methods, instead of connecting sign=
als,
is quite convenient, but I don't think it's worth the cost on an embedded=
 plat


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 2
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 03:44:11 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341380] Optionally disable on_*() default signal handlers.

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341380
 glibmm | build | Ver: unspecified





------- Comment #1 from Murray Cumming  2006-05-11 07:44 UTC -------
Created an attachment (id=3D65218)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D65218&action=3Dview)
glibmm_disable_default_signal_handlers.patch


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 3
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 03:44:35 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341380] Optionally disable on_*() default signal handlers.

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341380
 glibmm | build | Ver: unspecified





------- Comment #2 from Murray Cumming  2006-05-11 07:44 UTC -------
Created an attachment (id=3D65219)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D65219&action=3Dview)
gtkmm_disable_default_signal_handlers.patch


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 4
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 04:16:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341380] Optionally disable on_*() default signal handlers.

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341380
 glibmm | build | Ver: unspecified


dmacks netspace org changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |dmacks netspace org




--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 5
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 04:32:34 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341380] Optionally disable on_*() default signal handlers.

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341380
 glibmm | build | Ver: unspecified





------- Comment #3 from Murray Cumming  2006-05-11 08:32 UTC -------
By the way, this reduces the libgtkmm .so code size by about 500K.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 6
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 05:20:24 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341380] Optionally disable on_*() default signal handlers.

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341380
 glibmm | build | Ver: unspecified





------- Comment #4 from Murray Cumming  2006-05-11 09:20 UTC -------
One of the disadvantages of applying this would be that we'd need some ra=
ther
more intrusive #ifdefing in some examples than we need for the other
--enable-api-* optoins. That would make them confusing for beginners.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 7
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 18:14:47 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341475] New: error compiling 2.8.6

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341475
 gtkmm | build | Ver: 2.8.x

           Summary: error compiling 2.8.6
           Product: gtkmm
           Version: 2.8.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: rcook wyrms net
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


make[5]: Entering directory `/usr/src/gtkmm-2.8.6/gtk/gtkmm'
if /bin/sh ../../libtool --tag=3DCXX --mode=3Dcompile g++ -DHAVE_CONFIG_H
-DG_LOG_DOMAIN=3D\"gtkmm\"   -I../../gtk -I../../gtk -I../../pango -I../.=
./pango
-I../../atk -I../../atk -I../../gdk -I../../gdk -I../../gtk -I../../gtk
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gl=
ib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/inc=
lude
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -pth=
read
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -march=3Dathlon-=
mp -mmmx
-mfpmath=3Dsse -msse -m3dnow -pipe -DPIC -fPIC -O3 -Wall -MT uimanager.lo=
 -MD -MP
-MF ".deps/uimanager.Tpo" -c -o uimanager.lo uimanager.cc; \
        then mv -f ".deps/uimanager.Tpo" ".deps/uimanager.Plo"; else rm -=
f
".deps/uimanager.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=3D\"gtkmm\" -I../../gtk -I../../gtk
-I../../pango -I../../pango -I../../atk -I../../atk -I../../gdk -I../../g=
dk
-I../../gtk -I../../gtk -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/i=
nclude
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gl=
ib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/inc=
lude
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -pth=
read
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=3Dathlon-mp -m=
mmx
-mfpmath=3Dsse -msse -m3dnow -pipe -DPIC -fPIC -O3 -Wall -MT uimanager.lo=
 -MD -MP
-MF .deps/uimanager.Tpo -c uimanager.cc  -fPIC -DPIC -o .libs/uimanager.o
uimanager.cc: In member function 'guint
Gtk::UIManager::add_ui_from_string(const Glib::ustring&)':
uimanager.cc:45: error: 'error' was not declared in this scope
make[5]: *** [uimanager.lo] Error 1
make[5]: Leaving directory `/usr/src/gtkmm-2.8.6/gtk/gtkmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/gtkmm-2.8.6/gtk/gtkmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gtkmm-2.8.6/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/gtkmm-2.8.6/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtkmm-2.8.6'
make: *** [all] Error 2


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 8
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Thu, 11 May 2006 22:28:26 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 341500] New: 2.8.6 & 2.9.1 do not compile

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D341500
 gtkmm | build | Ver: 2.9.x

           Summary: 2.8.6 & 2.9.1 do not compile
           Product: gtkmm
           Version: 2.9.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: build
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jsacco ydl net
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.15/2.16
   GNOME milestone: Unspecified


Neither version 2.8.6 nor 2.9.1 compile.  The problem is with
gtk/gtkmm/uimanager.c:

uimanager.cc: In member function 'guint
Gtk::UIManager::add_ui_from_string(const Glib::ustring&)':
uimanager.cc:45: error: 'error' was not declared in this scope
make[6]: *** [uimanager.lo] Error 1


A quick look at the the code reveals a declaration for gerror, but not er=
ror.


-Joseph


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



--__--__--

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


End of Gtkmm-forge Digest



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