aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@src.gnome.org>2000-03-27 10:58:23 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-03-27 10:58:23 +0800
commit2589a36ea0c4bfa872dcbf866af35ed023d3605c (patch)
treee95cd8ddc24c5f9f2ef263210e466bf362b66a52 /e-util
parent480f22c1380b92ea680bad6435bc072c6d06b8ea (diff)
downloadgsoc2013-evolution-2589a36ea0c4bfa872dcbf866af35ed023d3605c.tar.gz
gsoc2013-evolution-2589a36ea0c4bfa872dcbf866af35ed023d3605c.tar.zst
gsoc2013-evolution-2589a36ea0c4bfa872dcbf866af35ed023d3605c.zip
ChangeLog shuffling.
ChangeLog shuffling. Miguel. svn path=/trunk/; revision=2174
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog70
-rw-r--r--e-util/e-canvas.c70
2 files changed, 105 insertions, 35 deletions
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));