aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog59
-rw-r--r--e-util/ChangeLog70
-rw-r--r--e-util/e-canvas.c70
-rw-r--r--widgets/misc/e-canvas.c70
4 files changed, 140 insertions, 129 deletions
diff --git a/ChangeLog b/ChangeLog
index 02ae6656e9..e124f18f83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -75,13 +75,6 @@
for name, full name, birthday, telephone, email, and street
address properties.
-2000-03-22 NotZed <NotZed@HelixCode.com>
-
- * e-util/e-sexp.h: Formatting cleanup.
-
-2000-03-07 NotZed <NotZed@HelixCode.com>
-
- * e-util/Makefile.am (libeutil_la_SOURCES): s-sexp.h -> e-sexp.h.
2000-03-22 Christopher James Lahey <clahey@helixcode.com>
@@ -294,9 +287,6 @@
* widgets/e-minicard/Makefile.am: Added e-table since e-minicard
is now dependent on an e-table-model for its data.
- * e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to
- speed up reflow and to make it fail less often.
-
* addressbook/demo, addressbook/demo/.cvsignore,
addressbook/demo/Makefile.am, addressbook/demo/demo.c,
addressbook/demo/spec: A new program to test ETable and EMinicard
@@ -321,10 +311,6 @@
2000-03-10 Christopher James Lahey <clahey@helixcode.com>
- * e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for
- doing hierarchical displays in the canvas. Adds an extra idle
- loop to the canvas system.
-
* widgets/e-minicard/e-minicard.c,
widgets/e-minicard/e-minicard-label.c,
widgets/e-minicard/e-minicard-label.h,
@@ -358,10 +344,6 @@
"y" to set the children's position to using
e_canvas_item_move_absolute.
-2000-03-05 Christopher James Lahey <clahey@helixcode.com>
-
- * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name.
-
2000-03-05 Matt Loper <matt.loper@splashtech.com>
* tests/ui-tests/message-browser.c: Commenting added.
@@ -371,11 +353,6 @@
(camel_stream_to_gstring): New function.
(on_object_requested): Cleaned up.
-2000-03-04 Christopher James Lahey <clahey@helixcode.com>
-
- * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added
- e_xml_set_integer_prop_by_name.
-
2000-03-04 bertrand <bertrand@helixcode.com>
* tests/ui-tests/Makefile.am: add bonobo to the build
@@ -438,11 +415,6 @@
* widgets/e-minicard/Makefile.am (INCLUDES): Fixed references to
eutil.
- * e-util/e-sexp.[ch]: Added. moved from filter-sexp.[ch]
-
- * e-util/Makefile.am (libeutil_a_SOURCES): Add e-sexp.
- (noinst_LTLIBRARIES): Changed to a libtool library.
-
* Makefile.am (SUBDIRS): Build e-util before other stuff.
(SUBDIRS): Build filter after camel.
@@ -455,17 +427,6 @@
* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Updated these
to use the canvas ::update system properly.
-2000-02-24 Christopher James Lahey <clahey@helixcode.com>
-
- * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added
- e_xml_get_integer_prop_by_name.
-
- * e-util/Makefile.am: Added e-util.c.
-
- * e-util/e-util.h: Added e-util.c functions.
-
- * e-util/e-util.c: New file for compare functions
-
2000-02-24 Dan Winship <danw@helixcode.com>
* acconfig.h:
@@ -498,24 +459,6 @@
an EFocus for its "has_focus" argument. Made the font that
e-minicard-label uses only be allocated once.
- * e-util/e-canvas-utils.h: Fixed the comment at the top and added
- #ifndef __E_CANVAS_UTILS__.
-
- * e-util/Makefile.am: Added e-xml-utils.c and
- e-xml-utils.h.
-
- * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some
- xml utilities.
-
- * e-util/e-util.h: Added type EFocus which describes which
- direction the focus will be coming from.
-
-2000-02-23 Dan Winship <danw@helixcode.com>
-
- * e-util/e-setup.c (e_setup_base_dir): Make ~/evolution mode 700
- rather than mode 600 (and use the symbolic name rather than the
- number).
-
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* shell/Makefile.am (evolution_LDADD):
@@ -885,8 +828,6 @@
* configure.in: Add new Makefiles to Makefile list.
- * e-util/Makefile.am: Add canvas utilities to libeutil.
-
* widgets/e-text/Makefile.am: Build libetext.
* widgets/e-minicard/Makefile.am: Build libeminicard and test
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
new file mode 100644
index 0000000000..58bc5fb82b
--- /dev/null
+++ b/e-util/ChangeLog
@@ -0,0 +1,70 @@
+2000-03-22 NotZed <NotZed@HelixCode.com>
+
+ * e-util/e-sexp.h: Formatting cleanup.
+
+2000-03-07 NotZed <NotZed@HelixCode.com>
+
+ * e-util/Makefile.am (libeutil_la_SOURCES): s-sexp.h -> e-sexp.h.
+
+2000-03-12 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-canvas.c, e-util/e-canvas.h: Fixed some bugs here to
+ speed up reflow and to make it fail less often.
+
+2000-03-10 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-canvas.c, e-util/e-canvas.h: Designed a new system for
+ doing hierarchical displays in the canvas. Adds an extra idle
+ loop to the canvas system.
+
+2000-03-05 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name.
+
+2000-03-04 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added
+ e_xml_set_integer_prop_by_name.
+
+2000-02-28 NotZed <NotZed@HelixCode.com>
+
+ * e-util/e-sexp.[ch]: Added. moved from filter-sexp.[ch]
+
+ * e-util/Makefile.am (libeutil_a_SOURCES): Add e-sexp.
+ (noinst_LTLIBRARIES): Changed to a libtool library.
+
+2000-02-24 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-xml-utils.c, e-util/e-xml-utils.h: Added
+ e_xml_get_integer_prop_by_name.
+
+ * e-util/Makefile.am: Added e-util.c.
+
+ * e-util/e-util.h: Added e-util.c functions.
+
+ * e-util/e-util.c: New file for compare functions
+
+2000-02-24 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-canvas-utils.h: Fixed the comment at the top and added
+ #ifndef __E_CANVAS_UTILS__.
+
+ * e-util/Makefile.am: Added e-xml-utils.c and
+ e-xml-utils.h.
+
+ * e-util/e-xml-utils.h, e-util/e-xml-utils.c: Added files for some
+ xml utilities.
+
+ * e-util/e-util.h: Added type EFocus which describes which
+ direction the focus will be coming from.
+
+2000-02-23 Dan Winship <danw@helixcode.com>
+
+ * e-util/e-setup.c (e_setup_base_dir): Make ~/evolution mode 700
+ rather than mode 600 (and use the symbolic name rather than the
+ number).
+
+2000-02-09 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/Makefile.am: Add canvas utilities to libeutil.
+
diff --git a/e-util/e-canvas.c b/e-util/e-canvas.c
index 76b9286156..029f6f7908 100644
--- a/e-util/e-canvas.c
+++ b/e-util/e-canvas.c
@@ -22,8 +22,8 @@
#include <gnome.h>
#include "e-canvas.h"
-static void e_canvas_init (ECanvas *card);
-static void e_canvas_class_init (ECanvasClass *klass);
+static void e_canvas_init (ECanvas *card);
+static void e_canvas_class_init (ECanvasClass *klass);
static gint e_canvas_key (GtkWidget *widget,
GdkEventKey *event);
@@ -46,26 +46,26 @@ static guint e_canvas_signals [LAST_SIGNAL] = { 0, };
GtkType
e_canvas_get_type (void)
{
- static GtkType canvas_type = 0;
-
- if (!canvas_type)
- {
- static const GtkTypeInfo canvas_info =
- {
- "ECanvas",
- sizeof (ECanvas),
- sizeof (ECanvasClass),
- (GtkClassInitFunc) e_canvas_class_init,
- (GtkObjectInitFunc) e_canvas_init,
- /* reserved_1 */ NULL,
- /* reserved_2 */ NULL,
- (GtkClassInitFunc) NULL,
- };
-
- canvas_type = gtk_type_unique (gnome_canvas_get_type (), &canvas_info);
- }
-
- return canvas_type;
+ static GtkType canvas_type = 0;
+
+ if (!canvas_type)
+ {
+ static const GtkTypeInfo canvas_info =
+ {
+ "ECanvas",
+ sizeof (ECanvas),
+ sizeof (ECanvasClass),
+ (GtkClassInitFunc) e_canvas_class_init,
+ (GtkObjectInitFunc) e_canvas_init,
+ /* reserved_1 */ NULL,
+ /* reserved_2 */ NULL,
+ (GtkClassInitFunc) NULL,
+ };
+
+ canvas_type = gtk_type_unique (gnome_canvas_get_type (), &canvas_info);
+ }
+
+ return canvas_type;
}
static void
@@ -105,7 +105,7 @@ e_canvas_init (ECanvas *canvas)
}
GtkWidget *
-e_canvas_new()
+e_canvas_new ()
{
return GTK_WIDGET (gtk_type_new (e_canvas_get_type ()));
}
@@ -327,18 +327,18 @@ e_canvas_item_invoke_reflow (GnomeCanvasItem *item, int flags)
GList *list;
GnomeCanvasItem *child;
- if ( GNOME_IS_CANVAS_GROUP( item ) ) {
- group = GNOME_CANVAS_GROUP( item );
- for ( list = group->item_list; list; list = list->next ) {
+ if (GNOME_IS_CANVAS_GROUP (item)) {
+ group = GNOME_CANVAS_GROUP(item);
+ for (list = group->item_list; list; list = list->next) {
child = GNOME_CANVAS_ITEM(list->data);
- if ( child->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW )
+ if (child->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW)
e_canvas_item_invoke_reflow(child, flags);
}
}
- if ( item->object.flags & E_CANVAS_ITEM_NEEDS_REFLOW ) {
+ if (item->object.flags & E_CANVAS_ITEM_NEEDS_REFLOW) {
ECanvasItemReflowFunc func = gtk_object_get_data(GTK_OBJECT(item), "ECanvasItem::reflow_callback");
- if ( func )
+ if (func)
func(item, flags);
}
@@ -349,7 +349,7 @@ e_canvas_item_invoke_reflow (GnomeCanvasItem *item, int flags)
static void
do_reflow (ECanvas *canvas)
{
- if ( GNOME_CANVAS(canvas)->root->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW )
+ if (GNOME_CANVAS(canvas)->root->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW)
e_canvas_item_invoke_reflow (GNOME_CANVAS(canvas)->root, 0);
}
@@ -359,7 +359,7 @@ idle_handler (gpointer data)
{
ECanvas *canvas;
- GDK_THREADS_ENTER ();
+ GDK_THREADS_ENTER();
canvas = E_CANVAS (data);
do_reflow (canvas);
@@ -370,7 +370,7 @@ idle_handler (gpointer data)
gtk_signal_emit (GTK_OBJECT (canvas),
e_canvas_signals [REFLOW]);
- GDK_THREADS_LEAVE ();
+ GDK_THREADS_LEAVE();
return FALSE;
}
@@ -388,18 +388,18 @@ add_idle (ECanvas *canvas)
static void
e_canvas_item_descendent_needs_reflow (GnomeCanvasItem *item)
{
- if ( item->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW )
+ if (item->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW)
return;
item->object.flags |= E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW;
- if ( item->parent )
+ if (item->parent)
e_canvas_item_descendent_needs_reflow(item->parent);
}
void
e_canvas_item_request_reflow (GnomeCanvasItem *item)
{
- if ( item->object.flags & GNOME_CANVAS_ITEM_REALIZED ) {
+ if (item->object.flags & GNOME_CANVAS_ITEM_REALIZED) {
item->object.flags |= E_CANVAS_ITEM_NEEDS_REFLOW;
e_canvas_item_descendent_needs_reflow(item);
add_idle(E_CANVAS(item->canvas));
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index 76b9286156..029f6f7908 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -22,8 +22,8 @@
#include <gnome.h>
#include "e-canvas.h"
-static void e_canvas_init (ECanvas *card);
-static void e_canvas_class_init (ECanvasClass *klass);
+static void e_canvas_init (ECanvas *card);
+static void e_canvas_class_init (ECanvasClass *klass);
static gint e_canvas_key (GtkWidget *widget,
GdkEventKey *event);
@@ -46,26 +46,26 @@ static guint e_canvas_signals [LAST_SIGNAL] = { 0, };
GtkType
e_canvas_get_type (void)
{
- static GtkType canvas_type = 0;
-
- if (!canvas_type)
- {
- static const GtkTypeInfo canvas_info =
- {
- "ECanvas",
- sizeof (ECanvas),
- sizeof (ECanvasClass),
- (GtkClassInitFunc) e_canvas_class_init,
- (GtkObjectInitFunc) e_canvas_init,
- /* reserved_1 */ NULL,
- /* reserved_2 */ NULL,
- (GtkClassInitFunc) NULL,
- };
-
- canvas_type = gtk_type_unique (gnome_canvas_get_type (), &canvas_info);
- }
-
- return canvas_type;
+ static GtkType canvas_type = 0;
+
+ if (!canvas_type)
+ {
+ static const GtkTypeInfo canvas_info =
+ {
+ "ECanvas",
+ sizeof (ECanvas),
+ sizeof (ECanvasClass),
+ (GtkClassInitFunc) e_canvas_class_init,
+ (GtkObjectInitFunc) e_canvas_init,
+ /* reserved_1 */ NULL,
+ /* reserved_2 */ NULL,
+ (GtkClassInitFunc) NULL,
+ };
+
+ canvas_type = gtk_type_unique (gnome_canvas_get_type (), &canvas_info);
+ }
+
+ return canvas_type;
}
static void
@@ -105,7 +105,7 @@ e_canvas_init (ECanvas *canvas)
}
GtkWidget *
-e_canvas_new()
+e_canvas_new ()
{
return GTK_WIDGET (gtk_type_new (e_canvas_get_type ()));
}
@@ -327,18 +327,18 @@ e_canvas_item_invoke_reflow (GnomeCanvasItem *item, int flags)
GList *list;
GnomeCanvasItem *child;
- if ( GNOME_IS_CANVAS_GROUP( item ) ) {
- group = GNOME_CANVAS_GROUP( item );
- for ( list = group->item_list; list; list = list->next ) {
+ if (GNOME_IS_CANVAS_GROUP (item)) {
+ group = GNOME_CANVAS_GROUP(item);
+ for (list = group->item_list; list; list = list->next) {
child = GNOME_CANVAS_ITEM(list->data);
- if ( child->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW )
+ if (child->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW)
e_canvas_item_invoke_reflow(child, flags);
}
}
- if ( item->object.flags & E_CANVAS_ITEM_NEEDS_REFLOW ) {
+ if (item->object.flags & E_CANVAS_ITEM_NEEDS_REFLOW) {
ECanvasItemReflowFunc func = gtk_object_get_data(GTK_OBJECT(item), "ECanvasItem::reflow_callback");
- if ( func )
+ if (func)
func(item, flags);
}
@@ -349,7 +349,7 @@ e_canvas_item_invoke_reflow (GnomeCanvasItem *item, int flags)
static void
do_reflow (ECanvas *canvas)
{
- if ( GNOME_CANVAS(canvas)->root->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW )
+ if (GNOME_CANVAS(canvas)->root->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW)
e_canvas_item_invoke_reflow (GNOME_CANVAS(canvas)->root, 0);
}
@@ -359,7 +359,7 @@ idle_handler (gpointer data)
{
ECanvas *canvas;
- GDK_THREADS_ENTER ();
+ GDK_THREADS_ENTER();
canvas = E_CANVAS (data);
do_reflow (canvas);
@@ -370,7 +370,7 @@ idle_handler (gpointer data)
gtk_signal_emit (GTK_OBJECT (canvas),
e_canvas_signals [REFLOW]);
- GDK_THREADS_LEAVE ();
+ GDK_THREADS_LEAVE();
return FALSE;
}
@@ -388,18 +388,18 @@ add_idle (ECanvas *canvas)
static void
e_canvas_item_descendent_needs_reflow (GnomeCanvasItem *item)
{
- if ( item->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW )
+ if (item->object.flags & E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW)
return;
item->object.flags |= E_CANVAS_ITEM_DESCENDENT_NEEDS_REFLOW;
- if ( item->parent )
+ if (item->parent)
e_canvas_item_descendent_needs_reflow(item->parent);
}
void
e_canvas_item_request_reflow (GnomeCanvasItem *item)
{
- if ( item->object.flags & GNOME_CANVAS_ITEM_REALIZED ) {
+ if (item->object.flags & GNOME_CANVAS_ITEM_REALIZED) {
item->object.flags |= E_CANVAS_ITEM_NEEDS_REFLOW;
e_canvas_item_descendent_needs_reflow(item);
add_idle(E_CANVAS(item->canvas));