Ethereal-dev: [ethereal-dev] GTK+ and GLib 1.2.8 release - includes our CList speedup change

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Thu, 25 May 2000 22:03:49 -0700
It appears that the GTK+ 1.2.8 "gtkclist.c" includes our changes to
avoid scanning all the way through the list of entries in a CList in
order to find the last entry in the list.

Unfortunately, not everybody necessarily has 1.2.8 installed, so there
may still be some performance benefit for most users to keep our
"gtkclist.c" around on platforms where we can override the standard one.

I'm also contemplating turning it into a widget with a different name,
which doesn't keep a list of text strings for all columns, but instead
calls back to a callback routine to get the strings; Ethereal would then
perhaps keep around the COL_INFO strings (as they may be expensive to
generate on the fly, which might be a problem given that the CList rows
scroll as the scrollbar is dragged), but would generate the other
columns on the fly, keeping, for example, the addresses associated with
the frames associated with the frames, etc..

That would get rid of the problem of being unable to include a
"gtkclist.c" with function names identical to those in a GTK+ shared
library; I think it could also

	1) reduce the per-frame memory requirements (fewer strings
	   allocated);

	2) reduce the time required to read in a capture and construct
	   the CList (fewer strings generated and allocated);

	3) substantially speed up some operations, e.g. changing the
	   displayed date format (as the date column is generated on the
	   fly; all that would be involved would be changing a variable
	   that indicates the format to use, and getting the "virtual
	   CList" to redisplay all rows);

	4) let us add, delete, and move columns in the display on the
	   fly (i.e., if you click "OK" in the "Preferences" dialog
	   after changing the "Columns" tab, the display would update to
	   reflect the change).

----- Forwarded message from Tim Janik <timj@xxxxxxx> -----

From: Tim Janik <timj@xxxxxxx>
Date: Thu, 25 May 2000 04:30:53 +0200 (CEST)
To: Gtk+ MList <gtk-list@xxxxxxxxx>
Cc: Gtk+ Developers <gtk-devel-list@xxxxxxxxx>,
	gnome-announce-list@xxxxxxxxx
Subject: ANNOUNCE: GTK+ and GLib 1.2.8 Released

GTK+ and GLib 1.2.8 are now at: ftp://ftp.gtk.org/pub/gtk/v1.2/.

The 1.2.x series is a stable series and is binary compatible
within the series.  That means you can install this new version
of GLib and GTK+ and applications can use it without being
recompiled if they were already compiled against 1.2.0.

The release announcement for the GTK+ 1.2 series can be found at:
http://www.gtk.org/announce.html.

Overview of Changes in GTK+ 1.2.8:

* GNU Make 3.79 bug workaround
* FAQ and tutorial updates and improvements
* Miscellaneous bug fixes: CList, Calendar, rc-files, FontSelection

Overview of Changes in GLib 1.2.8:

* GArray zero initialization bug fixed
* Fix for upper bound calculation of formatted strings
* Improved GCC detection
* AIX dynamic modules fix to retrive symbols from shared libraries
  for the main program.
* Miscellaneous other minor bug fixes

--
The GTK+ Team
http://www.gtk.org/


---
ciaoTJ


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


----- End forwarded message -----