diff --git a/Headers/headlesslib/HeadlessContext.h b/Headers/headlesslib/HeadlessContext.h
index d31a474..0d40f6e 100644
--- a/Headers/headlesslib/HeadlessContext.h
+++ b/Headers/headlesslib/HeadlessContext.h
@@ -1,6 +1,6 @@
/*
HeadlessContext.h
-
+
Copyright (C) 2003 Free Software Foundation, Inc.
August 31, 2003
@@ -20,8 +20,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
diff --git a/Headers/headlesslib/HeadlessFaceInfo.h b/Headers/headlesslib/HeadlessFaceInfo.h
index a4d24c4..3fbe1d5 100644
--- a/Headers/headlesslib/HeadlessFaceInfo.h
+++ b/Headers/headlesslib/HeadlessFaceInfo.h
@@ -8,7 +8,7 @@
Base on code by Alexander Malmberg
Rewrite: Fred Kiefer
Date: Jan 2006
-
+
This file is part of GNUstep.
This library is free software; you can redistribute it and/or
@@ -23,8 +23,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -35,7 +35,7 @@
@interface HeadlessFaceInfo : NSObject
{
- void *_fontFace;
+ void *_fontFace;
}
- (void *)fontFace;
diff --git a/Headers/headlesslib/HeadlessFontEnumerator.h b/Headers/headlesslib/HeadlessFontEnumerator.h
index 5848abd..0c8a5a2 100644
--- a/Headers/headlesslib/HeadlessFontEnumerator.h
+++ b/Headers/headlesslib/HeadlessFontEnumerator.h
@@ -19,8 +19,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
diff --git a/Headers/headlesslib/HeadlessFontInfo.h b/Headers/headlesslib/HeadlessFontInfo.h
index a85860f..25aecdd 100644
--- a/Headers/headlesslib/HeadlessFontInfo.h
+++ b/Headers/headlesslib/HeadlessFontInfo.h
@@ -20,8 +20,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -40,8 +40,8 @@ typedef void *cairo_t;
}
- (void) drawGlyphs: (const NSGlyph*)glyphs
- length: (int)length
- on: (cairo_t*)ct;
+ length: (int)length
+ on: (cairo_t*)ct;
@end
#endif
diff --git a/Headers/headlesslib/HeadlessGState.h b/Headers/headlesslib/HeadlessGState.h
index b083e9e..884a2b3 100644
--- a/Headers/headlesslib/HeadlessGState.h
+++ b/Headers/headlesslib/HeadlessGState.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
diff --git a/Headers/headlesslib/HeadlessModernSurface.h b/Headers/headlesslib/HeadlessModernSurface.h
index 174480f..61d2507 100644
--- a/Headers/headlesslib/HeadlessModernSurface.h
+++ b/Headers/headlesslib/HeadlessModernSurface.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -35,4 +35,3 @@
@end
#endif
-
diff --git a/Headers/headlesslib/HeadlessSurface.h b/Headers/headlesslib/HeadlessSurface.h
index def3e1d..68bdc26 100644
--- a/Headers/headlesslib/HeadlessSurface.h
+++ b/Headers/headlesslib/HeadlessSurface.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -50,4 +50,3 @@ typedef void *cairo_surface_t;
@end
#endif
-
diff --git a/Headers/xheadless/XGGeneric.h b/Headers/xheadless/XGGeneric.h
index 1f9564d..b0a032b 100644
--- a/Headers/xheadless/XGGeneric.h
+++ b/Headers/xheadless/XGGeneric.h
@@ -4,7 +4,7 @@
Written by: Richard Frith-Macdonald
Date: Mar 2000
-
+
This file is part of the GNUstep project
This library is free software; you can redistribute it and/or
@@ -19,8 +19,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -90,7 +90,7 @@ typedef struct {
* Structure containing ivars that are common to all X backend contexts.
*/
struct XGGeneric {
- int wm;
+ int wm;
struct {
unsigned useWindowMakerIcons:1;
unsigned appOwnsMiniwindow:1;
@@ -98,7 +98,7 @@ struct XGGeneric {
} flags;
// Time of last X event
Time lastTime;
- // Approximate local time for last X event, used to decide
+ // Approximate local time for last X event, used to decide
// if the last X event time is still valid.
NSTimeInterval lastTimeStamp;
// last reference time on X server, used to prevent time drift between
@@ -155,4 +155,3 @@ struct XGGeneric {
#define _NET_WM_STATE_TOGGLE 2 /* toggle property */
#endif
-
diff --git a/Headers/xheadless/XGInputServer.h b/Headers/xheadless/XGInputServer.h
index 7bc3b94..f6bbdb7 100644
--- a/Headers/xheadless/XGInputServer.h
+++ b/Headers/xheadless/XGInputServer.h
@@ -19,10 +19,10 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
-*/
+*/
#ifndef _GNUstep_H_XGInputServer
#define _GNUstep_H_XGInputServer
@@ -32,9 +32,9 @@
@protocol XInputFiltering
- (BOOL) filterEvent: (XEvent *)event;
-- (NSString *) lookupStringForEvent: (XKeyEvent *)event
+- (NSString *) lookupStringForEvent: (XKeyEvent *)event
window: (gswindow_device_t *)window
- keysym: (KeySym *)keysymptr;
+ keysym: (KeySym *)keysymptr;
@end
diff --git a/Headers/xheadless/XGOpenGL.h b/Headers/xheadless/XGOpenGL.h
index 3ec933e..2ec79d4 100644
--- a/Headers/xheadless/XGOpenGL.h
+++ b/Headers/xheadless/XGOpenGL.h
@@ -1,4 +1,4 @@
-/* -*-ObjC-*- */
+/* -*-ObjC-*- */
/* XGOpenGL - openGL management using glX
Copyright (C) 2002 Free Software Foundation, Inc.
@@ -20,10 +20,10 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
-*/
+*/
#ifndef _GNUstep_H_XGOpenGL_
#define _GNUstep_H_XGOpenGL_
diff --git a/Headers/xheadless/XGServer.h b/Headers/xheadless/XGServer.h
index 96bd06e..8f6f75b 100644
--- a/Headers/xheadless/XGServer.h
+++ b/Headers/xheadless/XGServer.h
@@ -6,7 +6,7 @@
Author: Adam Fedor
Date: Mar 2002
-
+
This file is part of the GNUstep Backend.
This library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -67,8 +67,8 @@ typedef enum {
- (int) depthForScreen: (int)screen_number;
- (XGDrawMechanism) drawMechanismForScreen: (int)screen_number;
-- (void) getForScreen: (int)screen_number pixelFormat: (int *)bpp_number
- masks: (int *)red_mask : (int *)green_mask : (int *)blue_mask;
+- (void) getForScreen: (int)screen_number pixelFormat: (int *)bpp_number
+ masks: (int *)red_mask : (int *)green_mask : (int *)blue_mask;
- (Window) xDisplayRootWindowForScreen: (int)screen_number;
- (XColor) xColorFromColor: (XColor)color forScreen: (int)screen_number;
@@ -90,7 +90,7 @@ typedef enum {
- (NSRect) _XFrameToXHints: (NSRect)o for: (void*)window;
@end
-// Public interface for the input methods.
+// Public interface for the input methods.
@interface XGServer (InputMethod)
- (NSString *) inputMethodStyle;
- (NSString *) fontSize: (int *)size;
diff --git a/Headers/xheadless/XGServerWindow.h b/Headers/xheadless/XGServerWindow.h
index 24440fa..0e5a39b 100644
--- a/Headers/xheadless/XGServerWindow.h
+++ b/Headers/xheadless/XGServerWindow.h
@@ -4,7 +4,7 @@
Written by: Adam Fedor
Date: Nov 1999
-
+
This file is part of the GNU Objective C User Interface library.
This library is free software; you can redistribute it and/or
@@ -19,8 +19,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -64,7 +64,7 @@ typedef struct {
#define GSDocumentEditedFlag (1<<0)
#define GSWindowWillResizeNotificationsFlag (1<<1)
-#define GSWindowWillMoveNotificationsFlag (1<<2)
+#define GSWindowWillMoveNotificationsFlag (1<<2)
#define GSNoApplicationIconFlag (1<<5)
#define WMFHideOtherApplications 10
#define WMFHideApplication 12
diff --git a/Headers/xheadless/XHeadless.h b/Headers/xheadless/XHeadless.h
index b6d6ef3..79ff922 100644
--- a/Headers/xheadless/XHeadless.h
+++ b/Headers/xheadless/XHeadless.h
@@ -35,4 +35,3 @@ typedef unsigned long long XIMStyle;
#define False 0
#endif
-
diff --git a/Headers/xheadless/XWindowBuffer.h b/Headers/xheadless/XWindowBuffer.h
index 0ce512b..48b0511 100644
--- a/Headers/xheadless/XWindowBuffer.h
+++ b/Headers/xheadless/XWindowBuffer.h
@@ -17,8 +17,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -124,7 +124,7 @@ Returns a _retained_ XWindowBuffer for the specified gswindow_device_t.
The depth info is only used if a new XWindowBuffer needs to be allocated.
*/
+ windowBufferForWindow: (gswindow_device_t *)awindow
- depthInfo: (struct XWindowBuffer_depth_info_s *)aDI;
+ depthInfo: (struct XWindowBuffer_depth_info_s *)aDI;
/*
Note that alpha is _not_ guaranteed to exist after this has been called;
@@ -147,4 +147,3 @@ created.
#endif
-
diff --git a/Source/headlesslib/HeadlessContext.m b/Source/headlesslib/HeadlessContext.m
index 4cc72de..32f86f0 100644
--- a/Source/headlesslib/HeadlessContext.m
+++ b/Source/headlesslib/HeadlessContext.m
@@ -20,8 +20,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -112,9 +112,9 @@
#endif // BUILD_SERVER = SERVER_x11
-@end
+@end
-@implementation HeadlessContext (Ops)
+@implementation HeadlessContext (Ops)
- (BOOL) isCompatibleBitmap: (NSBitmapImageRep*)bitmap
{
@@ -169,12 +169,12 @@
}
- (void) beginPrologueBBox: (NSRect)boundingBox
- creationDate: (NSString*)dateCreated
- createdBy: (NSString*)anApplication
- fonts: (NSString*)fontNames
- forWhom: (NSString*)user
- pages: (int)numPages
- title: (NSString*)aTitle
+ creationDate: (NSString*)dateCreated
+ createdBy: (NSString*)anApplication
+ fonts: (NSString*)fontNames
+ forWhom: (NSString*)user
+ pages: (int)numPages
+ title: (NSString*)aTitle
{
}
@@ -187,4 +187,3 @@
#undef _CAIRO_SURFACE_CLASSNAME
#undef _CAIRO_GSTATE_CLASSNAME
-
diff --git a/Source/headlesslib/HeadlessFaceInfo.m b/Source/headlesslib/HeadlessFaceInfo.m
index 211ee5d..b405352 100644
--- a/Source/headlesslib/HeadlessFaceInfo.m
+++ b/Source/headlesslib/HeadlessFaceInfo.m
@@ -1,6 +1,6 @@
/*
CairoFaceInfo.m
-
+
Copyright (C) 2003 Free Software Foundation, Inc.
August 31, 2003
@@ -8,7 +8,7 @@
Base on original code of Alex Malmberg
Rewrite: Fred Kiefer
Date: Jan 2006
-
+
This file is part of GNUstep.
This library is free software; you can redistribute it and/or
@@ -23,14 +23,14 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "headlesslib/HeadlessFaceInfo.h"
-@implementation HeadlessFaceInfo
+@implementation HeadlessFaceInfo
- (void) dealloc
{
diff --git a/Source/headlesslib/HeadlessFontEnumerator.m b/Source/headlesslib/HeadlessFontEnumerator.m
index 176847d..f69355d 100644
--- a/Source/headlesslib/HeadlessFontEnumerator.m
+++ b/Source/headlesslib/HeadlessFontEnumerator.m
@@ -1,6 +1,6 @@
/*
HeadlessFontEnumerator.m
-
+
Copyright (C) 2003 Free Software Foundation, Inc.
August 31, 2003
@@ -8,7 +8,7 @@
Base on original code of Alex Malmberg
Rewrite: Fred Kiefer
Date: Jan 2006
-
+
This file is part of GNUstep.
This library is free software; you can redistribute it and/or
@@ -23,15 +23,15 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "headlesslib/HeadlessFontEnumerator.h"
#include "headlesslib/HeadlessFontInfo.h"
-@implementation HeadlessFontEnumerator
+@implementation HeadlessFontEnumerator
+ (Class) faceInfoClass
{
@@ -48,4 +48,3 @@
}
@end
-
diff --git a/Source/headlesslib/HeadlessFontInfo.m b/Source/headlesslib/HeadlessFontInfo.m
index 112feb3..848aea0 100644
--- a/Source/headlesslib/HeadlessFontInfo.m
+++ b/Source/headlesslib/HeadlessFontInfo.m
@@ -1,6 +1,6 @@
/*
HeadlessFontInfo.m
-
+
Copyright (C) 2003 Free Software Foundation, Inc.
August 31, 2003
@@ -21,8 +21,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
- If not, see or write to the
- Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ If not, see or write to the
+ Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@@ -36,16 +36,16 @@
typedef void *cairo_t;
-@implementation HeadlessFontInfo
+@implementation HeadlessFontInfo
- (BOOL) setupAttributes
{
return YES;
}
-- (id) initWithFontName: (NSString *)name
- matrix: (const CGFloat *)fmatrix
- screenFont: (BOOL)p_screenFont
+- (id) initWithFontName: (NSString *)name
+ matrix: (const CGFloat *)fmatrix
+ screenFont: (BOOL)p_screenFont
{
self = [super init];
if (!self)
@@ -71,7 +71,7 @@ typedef void *cairo_t;
- (BOOL) glyphIsEncoded: (NSGlyph)glyph
{
/* FIXME: There is no proper way to determine with the toy font API,
- whether a glyph is supported or not. We will just ignore ligatures
+ whether a glyph is supported or not. We will just ignore ligatures
and report all other glyph as existing.
return !NSEqualSizes([self advancementForGlyph: glyph], NSZeroSize);
*/
@@ -96,15 +96,15 @@ typedef void *cairo_t;
return 0.0;
}
-- (void) appendBezierPathWithGlyphs: (NSGlyph *)glyphs
- count: (int)length
- toBezierPath: (NSBezierPath *)path
+- (void) appendBezierPathWithGlyphs: (NSGlyph *)glyphs
+ count: (int)length
+ toBezierPath: (NSBezierPath *)path
{
}
- (void) drawGlyphs: (const NSGlyph*)glyphs
- length: (int)length
- on: (cairo_t*)ct
+ length: (int)length
+ on: (cairo_t*)ct
{
}
diff --git a/Source/headlesslib/HeadlessGState.m b/Source/headlesslib/HeadlessGState.m
index c808df8..fb3d9bd 100644
--- a/Source/headlesslib/HeadlessGState.m
+++ b/Source/headlesslib/HeadlessGState.m
@@ -1,4 +1,3 @@
-
/*
HeadlessGState.m
@@ -8,7 +7,7 @@
Written by Banlu Kemiyatorn