[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-265-g01a5440)
The branch, master has been updated
via 01a544083a1161bfae9a976962823488e09b0ed7 (commit)
via 3741fec77dde128ad41921926a1f5c26f8b32d9f (commit)
from cee5dea44626c4e442fc02841c26c8f3951817b7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
libgeda/include/Makefile.am | 3 +-
libgeda/include/globals.h | 4 ---
libgeda/include/libgeda_priv.h | 1 +
libgeda/include/struct.h | 6 -----
libgeda/include/{libgeda.h => struct_priv.h} | 29 +++++++++-----------------
5 files changed, 13 insertions(+), 30 deletions(-)
copy libgeda/include/{libgeda.h => struct_priv.h} (63%)
=================
Commit Messages
=================
commit 01a544083a1161bfae9a976962823488e09b0ed7
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date: Mon Oct 27 00:19:19 2008 +0000
libgeda: Split sPOINT definition into new struct_priv.h.
sPOINT is unused outside libgeda itself, and is not a member of the
public API, so hide its definition in a private header file. There are
probably many other structure definitions which are also candidates
for being moved into the newly-added struct_priv.h.
:100644 100644 d3546bd... 93f9f44... M libgeda/include/Makefile.am
:100644 100644 11c2dbd... dbcd7ab... M libgeda/include/libgeda_priv.h
:100644 100644 ea46ddb... 2348f40... M libgeda/include/struct.h
:000000 100644 0000000... 1170dc3... A libgeda/include/struct_priv.h
commit 3741fec77dde128ad41921926a1f5c26f8b32d9f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date: Mon Oct 27 00:19:16 2008 +0000
libgeda: Get rid of more unused color stuff.
There are some completely unused externed declarations in libgeda
relating to colors. Remove them.
:100644 100644 401f97e... 8af4c47... M libgeda/include/globals.h
=========
Changes
=========
commit 01a544083a1161bfae9a976962823488e09b0ed7
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date: Mon Oct 27 00:19:19 2008 +0000
libgeda: Split sPOINT definition into new struct_priv.h.
sPOINT is unused outside libgeda itself, and is not a member of the
public API, so hide its definition in a private header file. There are
probably many other structure definitions which are also candidates
for being moved into the newly-added struct_priv.h.
diff --git a/libgeda/include/Makefile.am b/libgeda/include/Makefile.am
index d3546bd..93f9f44 100644
--- a/libgeda/include/Makefile.am
+++ b/libgeda/include/Makefile.am
@@ -11,7 +11,8 @@ noinst_HEADERS = \
prototype_priv.h \
gettext_priv.h \
guile_compat_1.6.h \
- i_vars_priv.h
+ i_vars_priv.h \
+ struct_priv.h
MOSTLYCLEANFILES = *.log core FILE *~
CLEANFILES = *.log core FILE *~
diff --git a/libgeda/include/libgeda_priv.h b/libgeda/include/libgeda_priv.h
index 11c2dbd..dbcd7ab 100644
--- a/libgeda/include/libgeda_priv.h
+++ b/libgeda/include/libgeda_priv.h
@@ -18,6 +18,7 @@
#include "geda_list.h"
/* Private libgeda headers */
+#include "struct_priv.h"
#include "prototype_priv.h"
#include "i_vars_priv.h"
diff --git a/libgeda/include/struct.h b/libgeda/include/struct.h
index ea46ddb..2348f40 100644
--- a/libgeda/include/struct.h
+++ b/libgeda/include/struct.h
@@ -36,7 +36,6 @@ typedef struct st_arc ARC;
typedef struct st_box BOX;
typedef struct st_picture PICTURE;
typedef struct st_text TEXT;
-typedef struct st_point sPOINT;
typedef struct st_transform TRANSFORM;
typedef struct st_object OBJECT;
@@ -97,11 +96,6 @@ struct st_line {
};
-struct st_point {
- gint x;
- gint y;
-};
-
/* pb20011014 - name the grips */
#define LINE_END1 0
#define LINE_END2 1
diff --git a/libgeda/include/struct_priv.h b/libgeda/include/struct_priv.h
new file mode 100644
index 0000000..1170dc3
--- /dev/null
+++ b/libgeda/include/struct_priv.h
@@ -0,0 +1,32 @@
+/* gEDA - GPL Electronic Design Automation
+ * libgeda - gEDA's Library
+ * Copyright (C) 1998-2007 Ales Hvezda
+ * Copyright (C) 1998-2007 gEDA Contributors (see ChangeLog for details)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef STRUCT_PRIV_H
+#define STRUCT_PRIV_H
+
+
+typedef struct st_point sPOINT;
+
+struct st_point {
+ gint x;
+ gint y;
+};
+
+#endif /* !STRUCT_PRIV_H */
commit 3741fec77dde128ad41921926a1f5c26f8b32d9f
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date: Mon Oct 27 00:19:16 2008 +0000
libgeda: Get rid of more unused color stuff.
There are some completely unused externed declarations in libgeda
relating to colors. Remove them.
diff --git a/libgeda/include/globals.h b/libgeda/include/globals.h
index 401f97e..8af4c47 100644
--- a/libgeda/include/globals.h
+++ b/libgeda/include/globals.h
@@ -56,10 +56,6 @@ extern char rc_filename[256]; /* size is hack */
extern int do_logging;
extern int logging_dest;
-/* colors which are used in o_image */
-extern int image_black;
-extern int image_white;
-
/* Size of a tab in characters */
extern int tab_in_chars;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs