bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commited/gsgd] include GNUstep.h / update header syntax / add missing i


From: David Ayers
Subject: [Commited/gsgd] include GNUstep.h / update header syntax / add missing include
Date: Fri, 11 Jul 2003 22:02:33 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

       * *.m: Include GNUstep.h if GNUSTEP is not defined for OS X.
       * *.m: Use "" in preference to <> for local headers.
       * Headers/gsgd/GDBarChart.h: Added missing include.

Committed.

Cheers,
David

? gsgd.patch
Index: Examples/ReadFile.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Examples/ReadFile.m,v
retrieving revision 1.1
diff -u -r1.1 ReadFile.m
--- Examples/ReadFile.m 4 Jul 2002 14:31:35 -0000       1.1
+++ Examples/ReadFile.m 11 Jul 2003 20:03:14 -0000
@@ -1,7 +1,7 @@
 /* Read an image from a file in a format, and writes it into another
    file in another format
 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    Created: July 2002
@@ -20,6 +20,10 @@
    */
 
 #include <Foundation/Foundation.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 #include <gsgd/GDImage.h>
 
Index: Examples/WriteBarChart.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Examples/WriteBarChart.m,v
retrieving revision 1.1
diff -u -r1.1 WriteBarChart.m
--- Examples/WriteBarChart.m    3 Dec 2002 16:01:00 -0000       1.1
+++ Examples/WriteBarChart.m    11 Jul 2003 20:03:14 -0000
@@ -1,6 +1,6 @@
 /* Generate a plot, and write it to a file.
 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    Created: July 2002
@@ -19,6 +19,10 @@
    */
 
 #include <Foundation/Foundation.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 #include <gsgd/GDFrame.h>
 #include <gsgd/GDImage.h>
Index: Examples/WriteFile.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Examples/WriteFile.m,v
retrieving revision 1.6
diff -u -r1.6 WriteFile.m
--- Examples/WriteFile.m        3 Dec 2002 13:05:59 -0000       1.6
+++ Examples/WriteFile.m        11 Jul 2003 20:03:14 -0000
@@ -1,6 +1,6 @@
 /* Generate an image, and write it to a file.
 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    Created: July 2002
@@ -19,6 +19,10 @@
    */
 
 #include <Foundation/Foundation.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 #include <gsgd/GDImage.h>
 #include <gd.h>
Index: Examples/WritePie.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Examples/WritePie.m,v
retrieving revision 1.3
diff -u -r1.3 WritePie.m
--- Examples/WritePie.m 3 Dec 2002 13:06:25 -0000       1.3
+++ Examples/WritePie.m 11 Jul 2003 20:03:14 -0000
@@ -1,6 +1,6 @@
 /* Generate a plot, and write it to a file.
 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    Created: July 2002
@@ -19,6 +19,10 @@
    */
 
 #include <Foundation/Foundation.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 #include <gsgd/GDFrame.h>
 #include <gsgd/GDImage.h>
Index: Examples/WritePlot.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Examples/WritePlot.m,v
retrieving revision 1.5
diff -u -r1.5 WritePlot.m
--- Examples/WritePlot.m        3 Dec 2002 13:05:59 -0000       1.5
+++ Examples/WritePlot.m        11 Jul 2003 20:03:14 -0000
@@ -1,6 +1,6 @@
 /* Generate a plot, and write it to a file.
 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    Created: July 2002
@@ -19,6 +19,10 @@
    */
 
 #include <Foundation/Foundation.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 #include <gsgd/GDImage.h>
 #include <gsgd/GDLineStyle.h>
Index: Headers/gsgd/GDBarChart.h
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Headers/gsgd/GDBarChart.h,v
retrieving revision 1.2
diff -u -r1.2 GDBarChart.h
--- Headers/gsgd/GDBarChart.h   3 Dec 2002 15:45:28 -0000       1.2
+++ Headers/gsgd/GDBarChart.h   11 Jul 2003 20:03:14 -0000
@@ -25,6 +25,7 @@
 #define _gsgd_GDBarChart_h__
 
 #include <Foundation/NSObject.h>
+#include <Foundation/NSGeometry.h>
 
 @class GDBinDataSet;
 @class GDFrame;
Index: Source/GDBarChart.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDBarChart.m,v
retrieving revision 1.8
diff -u -r1.8 GDBarChart.m
--- Source/GDBarChart.m 16 Jan 2003 17:00:51 -0000      1.8
+++ Source/GDBarChart.m 11 Jul 2003 20:03:14 -0000
@@ -1,5 +1,5 @@
 /* GDChartChart.m - A pie chart type  -*-objc-*-
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    July 2002
@@ -21,16 +21,20 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
+#include "gsgd/GDBarChart.h"
+#include "gsgd/GDImage.h"
+#include "gsgd/GDFont.h"
+#include "gsgd/GDBinDataSet.h"
+#include "gsgd/GDFrame.h"
+#include "gsgd/GDLegendBox.h"
+#include "gsgd/GDLineStyle.h"
+
 #include <Foundation/NSArray.h>
 #include <Foundation/NSValue.h>
 
-#include <gsgd/GDBarChart.h>
-#include <gsgd/GDImage.h>
-#include <gsgd/GDFont.h>
-#include <gsgd/GDBinDataSet.h>
-#include <gsgd/GDFrame.h>
-#include <gsgd/GDLegendBox.h>
-#include <gsgd/GDLineStyle.h>
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 @implementation GDBarChart
 
Index: Source/GDBinDataSet.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDBinDataSet.m,v
retrieving revision 1.2
diff -u -r1.2 GDBinDataSet.m
--- Source/GDBinDataSet.m       3 Dec 2002 17:43:56 -0000       1.2
+++ Source/GDBinDataSet.m       11 Jul 2003 20:03:14 -0000
@@ -1,5 +1,5 @@
 /* GDBinDataSet.m - Data set with non-numeric x and numeric y  -*-objc-*-
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    July 2002
@@ -21,10 +21,15 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
-#include <gsgd/GDBinDataSet.h>
+#include "gsgd/GDBinDataSet.h"
+
 #include <Foundation/NSArray.h>
 #include <Foundation/NSException.h>
 #include <Foundation/NSValue.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 @implementation GDBinDataSet
 
Index: Source/GDFont.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDFont.m,v
retrieving revision 1.3
diff -u -r1.3 GDFont.m
--- Source/GDFont.m     3 Dec 2002 15:17:39 -0000       1.3
+++ Source/GDFont.m     11 Jul 2003 20:03:14 -0000
@@ -1,5 +1,5 @@
 /* GDFont.m
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <n.pero@mi.flashnet.it>
    July 2002
@@ -21,7 +21,11 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
-#include <gsgd/GDFont.h>
+#include "gsgd/GDFont.h"
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 /* For gdFontSmall.  */
 #include <gdfonts.h>
Index: Source/GDFrame.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDFrame.m,v
retrieving revision 1.1
diff -u -r1.1 GDFrame.m
--- Source/GDFrame.m    11 Jul 2002 12:19:37 -0000      1.1
+++ Source/GDFrame.m    11 Jul 2003 20:03:14 -0000
@@ -1,5 +1,5 @@
 /* GDFrame.m - A rectangular area of a GDImage  -*-objc-*-
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    July 2002
@@ -21,8 +21,12 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
-#include <gsgd/GDFrame.h>
-#include <gsgd/GDImage.h>
+#include "gsgd/GDFrame.h"
+#include "gsgd/GDImage.h"
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 @implementation GDFrame
 
Index: Source/GDImage.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDImage.m,v
retrieving revision 1.23
diff -u -r1.23 GDImage.m
--- Source/GDImage.m    3 Dec 2002 15:16:53 -0000       1.23
+++ Source/GDImage.m    11 Jul 2003 20:03:16 -0000
@@ -1,5 +1,5 @@
 /* GDImage.m - Implementation of GDImage
-   Copyright (C) 1999, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Manuel Guesdon <mguesdon@orange-concept.com>
    Created: August 1999
@@ -23,7 +23,10 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
-#include <gsgd/GDImage.h>
+#include "gsgd/GDImage.h"
+#include "gsgd/GDLineStyle.h"
+#include "gsgd/GDFont.h"
+
 #include <Foundation/NSData.h>
 #include <Foundation/NSDebug.h>
 #include <Foundation/NSDictionary.h>
@@ -31,9 +34,10 @@
 #include <Foundation/NSString.h>
 #include <Foundation/NSValue.h>
 
-#include <gsgd/GDLineStyle.h>
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
-#include <gsgd/GDFont.h>
 
 /* For cos, sin */
 #include <math.h>
Index: Source/GDLegendBox.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDLegendBox.m,v
retrieving revision 1.2
diff -u -r1.2 GDLegendBox.m
--- Source/GDLegendBox.m        3 Dec 2002 13:01:38 -0000       1.2
+++ Source/GDLegendBox.m        11 Jul 2003 20:03:16 -0000
@@ -1,5 +1,5 @@
 /* GDLegendBox.m - Draws a legend box  -*-objc-*-
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    July 2002
@@ -21,12 +21,17 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
-#include <gsgd/GDLegendBox.h>
-#include <gsgd/GDImage.h>
-#include <gsgd/GDFrame.h>
-#include <gsgd/GDFont.h>
-#include <gsgd/GDLineStyle.h>
+#include "gsgd/GDLegendBox.h"
+#include "gsgd/GDImage.h"
+#include "gsgd/GDFrame.h"
+#include "gsgd/GDFont.h"
+#include "gsgd/GDLineStyle.h"
+
 #include <Foundation/NSArray.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 @implementation GDLegendBox
 
Index: Source/GDLineStyle.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDLineStyle.m,v
retrieving revision 1.3
diff -u -r1.3 GDLineStyle.m
--- Source/GDLineStyle.m        3 Dec 2002 13:02:29 -0000       1.3
+++ Source/GDLineStyle.m        11 Jul 2003 20:03:16 -0000
@@ -1,5 +1,5 @@
 /* GDLineStyle.m
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    July 2002
@@ -21,12 +21,17 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
+#include "gsgd/GDLineStyle.h"
+#include "gsgd/GDFrame.h"
+#include "gsgd/GDImage.h"
+
 #include <gd.h>
-#include <gsgd/GDLineStyle.h>
-#include <gsgd/GDFrame.h>
-#include <gsgd/GDImage.h>
 #include <Foundation/NSException.h>
 #include <Foundation/NSGeometry.h>
+
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
 
 @implementation GDLineStyle
 
Index: Source/GDPieChart.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/dev-libs/gsgd/Source/GDPieChart.m,v
retrieving revision 1.2
diff -u -r1.2 GDPieChart.m
--- Source/GDPieChart.m 3 Dec 2002 13:03:50 -0000       1.2
+++ Source/GDPieChart.m 11 Jul 2003 20:03:16 -0000
@@ -1,5 +1,5 @@
 /* GDPieChart.m - A pie chart type  -*-objc-*-
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    
    Written by: Nicola Pero <nicola@brainstorm.co.uk>
    July 2002
@@ -21,16 +21,21 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
 */ 
 
+#include "gsgd/GDPieChart.h"
+#include "gsgd/GDImage.h"
+#include "gsgd/GDFont.h"
+#include "gsgd/GDBinDataSet.h"
+#include "gsgd/GDFrame.h"
+#include "gsgd/GDLegendBox.h"
+#include "gsgd/GDLineStyle.h"
+
 #include <Foundation/NSArray.h>
 #include <Foundation/NSValue.h>
 
-#include <gsgd/GDPieChart.h>
-#include <gsgd/GDImage.h>
-#include <gsgd/GDFont.h>
-#include <gsgd/GDBinDataSet.h>
-#include <gsgd/GDFrame.h>
-#include <gsgd/GDLegendBox.h>
-#include <gsgd/GDLineStyle.h>
+#ifndef GNUSTEP
+#include <gnustep/base/GNUstep.h>
+#endif
+
 
 @implementation GDPieChart
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]