[gtkmm] Gtkmm-forge digest, Vol 1 #416 - 3 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #416 - 3 msgs
- Date: Tue, 29 Apr 2003 20:01:13 -0700
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.
Today's Topics:
1. [Bug 88667] Changed - TreeNodeChildren should have a reverse iterator. (bugzilla-daemon widget gnome org)
2. [Bug 111771] Changed - Mega Patch (bugzilla-daemon widget gnome org)
3. [Bug 111771] Changed - Mega Patch (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Mon, 28 Apr 2003 23:26:52 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88667] Changed - TreeNodeChildren should have a reverse iterator.
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=88667
Changed by darco deepdarc com
--- shadow/88667 Thu Oct 10 16:19:59 2002
+++ shadow/88667.tmp.20469 Mon Apr 28 23:26:52 2003
@@ -47,6 +47,30 @@
structures work -- this would violate STL principles. E.g.
std::list<> doesn't support random access iterators although it would
technically be possible.
Murray, is it OK to close this bug?
+
+------- Additional Comments From darco deepdarc com 2003-04-28 23:26 -------
+The existence of the function gtk_tree_model_iter_nth_child() seems to
+hint of the possibility of random-access iterators. If the underlying
+GtkTreeModel is using a data structure that would allow for fast
+random access, then having a random-access iterator might be desirable.
+
+For the built-in GtkTreeModels (GtkTreeStore/GtkListStore), a
+random-access call would be O(n) because (from what I understand) they
+use linked-lists internally. However, for a custom GtkTreeModel, it is
+possible to have O(1) performance with a random-access iterator.
+
+You could implement a random-access iterator by doing the following:
+
+1) Get the index of the current iterator in the parent from the path
+using gtk_tree_model_get_path()
+2) Get the parent iterator of the iterator in question using
+gtk_tree_model_iter_parent()
+3) Add the given requested index to the current index and get the
+requested iterator using gtk_tree_model_iter_nth_child()
+
+I could write this and submit a patch if you guys think it would be
+useful.
+
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mxpxfifws yahoo com
Cc:
Date: Tue, 29 Apr 2003 07:21:38 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 111771] Changed - Mega Patch
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=111771
Changed by murrayc usa net
--- shadow/111771 Mon Apr 28 14:22:33 2003
+++ shadow/111771.tmp.19515 Tue Apr 29 07:21:37 2003
@@ -25,6 +25,15 @@
add. I hope this doesn't offend anyone.
------- Additional Comments From mxpxfifws yahoo com 2003-04-28 14:22 -------
Created an attachment (id=16083)
Here it is... have fun with it :)
+
+------- Additional Comments From murrayc usa net 2003-04-29 07:21 -------
+No, this is not how we submit patches. I'm sorry that I haven't had a
+chance to apply the 3 patches yet - I will do it as soon as I fix my
+gnome-vfs build problem (in progress).
+
+re.
+> and some new stuff that I worked on today
+Please submit that as a separate patch so that it can be reviewed.
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 29 Apr 2003 11:42:54 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 111771] Changed - Mega Patch
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=111771
Changed by mxpxfifws yahoo com
--- shadow/111771 Tue Apr 29 07:21:37 2003
+++ shadow/111771.tmp.14594 Tue Apr 29 11:42:54 2003
@@ -34,6 +34,10 @@
chance to apply the 3 patches yet - I will do it as soon as I fix my
gnome-vfs build problem (in progress).
re.
> and some new stuff that I worked on today
Please submit that as a separate patch so that it can be reviewed.
+
+------- Additional Comments From mxpxfifws yahoo com 2003-04-29 11:42 -------
+Sorry, I guess I got a little over zealous. Please forgive me. I'll
+submit my "new stuff" as a separate patch.
--__--__--
_______________________________________________
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]