mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:40:38 +00:00
Fixes to compile shared on Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10611 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
911b5993e8
commit
6fc3726a02
51 changed files with 527 additions and 382 deletions
|
@ -165,6 +165,7 @@ libgnustep-gui_HEADER_FILES_INSTALL_DIR = /AppKit
|
|||
libgnustep-gui_HEADER_FILES = \
|
||||
AppKit.h \
|
||||
GSVersion.h \
|
||||
AppKitDefines.h \
|
||||
AppKitExceptions.h \
|
||||
DPSOperators.h \
|
||||
GMAppKit.h \
|
||||
|
@ -290,6 +291,9 @@ NSWorkspace.h \
|
|||
PSOperators.h \
|
||||
nsimage-tiff.h
|
||||
|
||||
# Extra DLL exports file
|
||||
libgnustep-gui_DLL_DEF = libgnustep-gui.def
|
||||
|
||||
include GNUmakefile.preamble
|
||||
|
||||
-include GNUmakefile.local
|
||||
|
|
|
@ -80,3 +80,18 @@ after-distclean::
|
|||
|
||||
Parsers/rtfGrammer.tab.c: Parsers/rtfGrammer.y
|
||||
$(BISON) $(BISON_FLAGS) $<
|
||||
|
||||
#
|
||||
# Make list of class names for DLL exports. I'm not sure how to make this
|
||||
# work with the correct dependencies, so for now it should be regenerated
|
||||
# by hand when new classes get added. Then mv libgnustep-gui.def.new to
|
||||
# libgnustep-gui.def
|
||||
#
|
||||
libgnustep-gui.def.new: $(GNUSTEP_OBJ_DIR)/*o
|
||||
rm -f $@
|
||||
rm -f _tmp.def
|
||||
cat win32-def.top > $@
|
||||
nm $^ | grep '^........ [T] _' | sed 's/[^_]*_//' > _tmp.def
|
||||
cat _tmp.def | grep "_class_name_" >> $@
|
||||
rm -rf _tmp.def
|
||||
|
||||
|
|
|
@ -88,3 +88,11 @@ ADDITIONAL_INCLUDE_DIRS += -I../Headers
|
|||
# all the libraries the target library depends upon.
|
||||
|
||||
LIBRARIES_DEPEND_UPON = -l$(FOUNDATION_LIBRARY_NAME) $(ADDITIONAL_DEPENDS)
|
||||
|
||||
ifeq ($(GNUSTEP_TARGET_OS),mingw32)
|
||||
libgnustep-gui_LIBRARIES_DEPEND_UPON += -lobjc
|
||||
endif
|
||||
ifeq ($(GNUSTEP_TARGET_OS),cygwin)
|
||||
libgnustep-gui_LIBRARIES_DEPEND_UPON += -lobjc
|
||||
endif
|
||||
|
||||
|
|
|
@ -429,7 +429,7 @@ static NSAffineTransformStruct identityTransform = {
|
|||
if (rotationAngle < 0)
|
||||
{
|
||||
rotationAngle = atan2(matrix.m21, matrix.m11);
|
||||
rotationAngle *= 180.0 / M_PI;
|
||||
rotationAngle *= 180.0 / pi;
|
||||
}
|
||||
return rotationAngle;
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSData.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <AppKit/NSGraphics.h>
|
||||
#include <AppKit/NSView.h>
|
||||
#include <AppKit/NSPasteboard.h>
|
||||
|
|
|
@ -57,6 +57,13 @@ static float scrollerWidth; // == [NSScroller scrollerWidth]
|
|||
#ifndef HAVE_RINTF
|
||||
#define rintf rint
|
||||
#endif
|
||||
#ifndef HAVE_RINT
|
||||
static double rint(double a)
|
||||
{
|
||||
return (floor(a+0.5));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#define NSBR_COLUMN_SEP 6
|
||||
#define NSBR_VOFFSET 2
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <Foundation/NSNotification.h>
|
||||
#include <Foundation/NSUserDefaults.h>
|
||||
#include <Foundation/NSBundle.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
||||
#include <AppKit/NSColor.h>
|
||||
#include <AppKit/NSColorList.h>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <Foundation/NSThread.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
||||
#include <AppKit/NSEvent.h>
|
||||
#include <AppKit/NSApplication.h>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSFileManager.h>
|
||||
#include <Foundation/NSArchiver.h>
|
||||
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
||||
@implementation NSFileWrapper
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSBundle.h>
|
||||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
||||
#include <AppKit/NSImage.h>
|
||||
#include <AppKit/AppKitExceptions.h>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSNotification.h>
|
||||
#include <Foundation/NSUserDefaults.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <AppKit/NSImageRep.h>
|
||||
#include <AppKit/NSBitmapImageRep.h>
|
||||
#include <AppKit/NSEPSImageRep.h>
|
||||
|
|
|
@ -42,6 +42,8 @@
|
|||
#include <AppKit/NSPrintInfo.h>
|
||||
#include <AppKit/NSPrintOperation.h>
|
||||
|
||||
#include <gnustep/base/GSLocale.h>
|
||||
|
||||
@interface NSGraphicsContext (Printing)
|
||||
|
||||
+ (NSGraphicsContext*) postscriptContextWithInfo: (NSDictionary*)info;
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include <Foundation/NSNotificationQueue.h>
|
||||
#include <Foundation/NSDistributedNotificationCenter.h>
|
||||
#include <Foundation/NSConnection.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
||||
#define stringify_it(X) #X
|
||||
#define mkpath(X) stringify_it(X) "/Tools"
|
||||
|
|
|
@ -378,6 +378,7 @@ readNSString (StringContext *ctxt)
|
|||
|
||||
@end
|
||||
|
||||
#undef IGNORE
|
||||
#define FONTS ((RTFConsumer *)ctxt)->fonts
|
||||
#define COLOURS ((RTFConsumer *)ctxt)->colours
|
||||
#define RESULT ((RTFConsumer *)ctxt)->result
|
||||
|
|
|
@ -30,97 +30,155 @@
|
|||
;
|
||||
LIBRARY libgnustep-gui
|
||||
EXPORTS
|
||||
NSApplicationMain
|
||||
__objc_class_name_GSComboWindow
|
||||
__objc_class_name_GSFontEnumerator
|
||||
__objc_class_name_GSFontInfo
|
||||
__objc_class_name_GSHbox
|
||||
__objc_class_name_GSHelpManagerPanel
|
||||
__objc_class_name_GSInfoPanel
|
||||
__objc_class_name__GSLabelListView
|
||||
__objc_class_name_GSListener
|
||||
__objc_class_name_GSServicesManager
|
||||
__objc_class_name_GSSimpleLayoutManager
|
||||
__objc_class_name__GNULineLayoutInfo
|
||||
__objc_class_name_GSTable
|
||||
__objc_class_name_GSTransparentView
|
||||
__objc_class_name_GSTextInfo
|
||||
__objc_class_name_GSTextStorage
|
||||
__objc_class_name_GSTrackingRect
|
||||
__objc_class_name_GSVbox
|
||||
__objc_class_name_NSActionCell
|
||||
__objc_category_name_NSApplication_GNUstepBackend
|
||||
__objc_class_name_NSAffineTransform
|
||||
__objc_class_name_NSAppIconView
|
||||
__objc_class_name_NSApplication
|
||||
__objc_class_name_NSIconWindow
|
||||
__objc_class_name_GSBezierPath
|
||||
__objc_class_name_NSBezierPath
|
||||
__objc_class_name_NSBitmapImageRep
|
||||
__objc_class_name_NSBox
|
||||
__objc_class_name_GSBrowserTitleCell
|
||||
__objc_class_name_NSBrowser
|
||||
__objc_class_name_NSBrowserColumn
|
||||
__objc_class_name_NSBrowserCell
|
||||
__objc_category_name_NSBundle_NSBundleAdditions
|
||||
__objc_class_name___dummy_class_in_NSBundle
|
||||
__objc_class_name_GSNibContainer
|
||||
__objc_class_name_GSNibItem
|
||||
__objc_class_name_NSNibConnector
|
||||
__objc_class_name_NSNibControlConnector
|
||||
__objc_class_name_NSNibOutletConnector
|
||||
__objc_class_name_NSButton
|
||||
__objc_class_name_NSButtonCell
|
||||
__objc_class_name_NSCStringText
|
||||
__objc_class_name_GSCacheW
|
||||
__objc_class_name_NSCachedImageRep
|
||||
__objc_class_name_NSCell
|
||||
__objc_class_name_NSClipView
|
||||
NSBlack
|
||||
NSDarkGray
|
||||
NSGray
|
||||
NSLightGray
|
||||
NSWhite
|
||||
__objc_category_name_NSCoder_NSCoderAdditions
|
||||
__objc_category_name_NSColor_GNUstepPrivate
|
||||
__objc_class_name_GSCalibratedRGBColor
|
||||
__objc_class_name_GSCalibratedWhiteColor
|
||||
__objc_class_name_GSDeviceCMYKColor
|
||||
__objc_class_name_GSDeviceRGBColor
|
||||
__objc_class_name_GSDeviceWhiteColor
|
||||
__objc_class_name_GSNamedColor
|
||||
__objc_class_name_GSPatternColor
|
||||
__objc_class_name_GSRGBColor
|
||||
__objc_class_name_GSWhiteColor
|
||||
__objc_class_name_NSColor
|
||||
__objc_category_name_NSColorList_GNUstepPrivate
|
||||
__objc_class_name_NSColorList
|
||||
__objc_class_name_NSColorPanel
|
||||
__objc_class_name_NSColorPicker
|
||||
__objc_category_name_NSColorWell_GNUstepBackend
|
||||
__objc_class_name_NSColorWell
|
||||
__objc_class_name_NSComboBox
|
||||
__objc_class_name_NSComboBoxCell
|
||||
__objc_class_name_NSControl
|
||||
__objc_category_name_NSCursor_GNUstepBackend
|
||||
__objc_class_name_NSCursor
|
||||
__objc_class_name_NSCustomImageRep
|
||||
__objc_class_name_NSDataLink
|
||||
__objc_class_name_NSDataLinkManager
|
||||
__objc_class_name_NSDataLinkPanel
|
||||
__objc_class_name_NSDPSContext
|
||||
__objc_class_name_NSDocument
|
||||
__objc_class_name_NSDocumentController
|
||||
__objc_class_name_NSEPSImageRep
|
||||
__objc_class_name_NSEvent
|
||||
getNSFont
|
||||
setNSFont
|
||||
__objc_class_name_NSFileWrapper
|
||||
__objc_class_name_NSFont
|
||||
__objc_category_name_NSFontManager_GNUstepBackend
|
||||
__objc_class_name_NSFontManager
|
||||
__objc_class_name_NSFontPanel
|
||||
__objc_class_name_NSForm
|
||||
__objc_class_name_NSFormCell
|
||||
__objc_class_name_NSGraphicsContext
|
||||
__objc_class_name_NSHelpManager
|
||||
__objc_class_name_NSHelpPanel
|
||||
__objc_class_name_GSRepData
|
||||
__objc_class_name_NSImage
|
||||
iterate_reps_for_types
|
||||
repd_for_rep
|
||||
set_repd_for_rep
|
||||
__objc_class_name_NSImageCell
|
||||
__objc_class_name_NSImageRep
|
||||
__objc_category_name_NSMatrix_PrivateMethods
|
||||
__objc_class_name_NSImageView
|
||||
__objc_class_name_GSInterfaceStyle
|
||||
__objc_class_name_GSGlyphLocation
|
||||
__objc_class_name_GSLineLayoutInfo
|
||||
__objc_class_name_GSRunStorage
|
||||
__objc_class_name_GSTextContainerLayoutInfo
|
||||
__objc_class_name_NSLayoutManager
|
||||
__objc_class_name__GSRunSearchKey
|
||||
__objc_class_name_NSMatrix
|
||||
__objc_category_name_NSMenu_PrivateMethods2
|
||||
__objc_class_name_NSMenu
|
||||
__objc_class_name_NSMenuMatrix
|
||||
__objc_class_name_NSMenuWindow
|
||||
__objc_class_name_NSMenuWindowTitleView
|
||||
__objc_class_name_NSMenuItem
|
||||
__objc_class_name_NSMenuItemCell
|
||||
__objc_class_name_NSMenuView
|
||||
__objc_class_name_NSOpenPanel
|
||||
__objc_class_name_NSPageLayout
|
||||
__objc_class_name_GSAlertPanel
|
||||
__objc_class_name_NSPanel
|
||||
__objc_class_name_NSMutableParagraphStyle
|
||||
__objc_class_name_NSParagraphStyle
|
||||
__objc_class_name_NSTextTab
|
||||
__objc_class_name_NSPasteboard
|
||||
__objc_class_name_NSPrinter
|
||||
__objc_class_name_NSPopUpButton
|
||||
__objc_class_name_NSPopUpButtonCell
|
||||
__objc_class_name_NSPrintInfo
|
||||
__objc_class_name_GSEPSPrintOperation
|
||||
__objc_class_name_GSPDFPrintOperation
|
||||
__objc_class_name_GSPrintOperation
|
||||
__objc_class_name_NSPrintOperation
|
||||
__objc_class_name_NSPrintPanel
|
||||
__objc_class_name_NSPopUpButton
|
||||
__objc_class_name_NSPrinter
|
||||
__objc_class_name_NSProgressIndicator
|
||||
__objc_class_name_NSResponder
|
||||
__objc_class_name_NSSavePanel
|
||||
__objc_class_name_NSScreen
|
||||
__objc_class_name_NSScroller
|
||||
__objc_class_name_NSScrollView
|
||||
__objc_class_name_NSScroller
|
||||
__objc_class_name_GSSimpleSecureLayoutManager
|
||||
__objc_class_name_NSSecureTextField
|
||||
__objc_class_name_NSSecureTextFieldCell
|
||||
__objc_class_name_NSSecureTextView
|
||||
__objc_class_name_NSSelection
|
||||
__objc_class_name_NSSlider
|
||||
__objc_class_name_NSSliderCell
|
||||
__objc_class_name_NSSpellChecker
|
||||
__objc_class_name_NSSpellServer
|
||||
__objc_class_name_NSSplitView
|
||||
__objc_class_name_NSTabView
|
||||
__objc_class_name_NSTabViewItem
|
||||
__objc_class_name_NSTableColumn
|
||||
__objc_class_name_NSTableHeaderCell
|
||||
__objc_class_name_NSTableHeaderView
|
||||
__objc_class_name_GSTableCornerView
|
||||
__objc_class_name_NSTableView
|
||||
__objc_class_name_NSText
|
||||
__objc_class_name_NSTextAttachment
|
||||
__objc_class_name_NSTextAttachmentCell
|
||||
__objc_class_name_NSTextContainer
|
||||
__objc_class_name_NSTextField
|
||||
__objc_class_name_NSTextFieldCell
|
||||
__objc_class_name_NSTextStorage
|
||||
__objc_class_name_NSTextView
|
||||
__objc_class_name_NSView
|
||||
__objc_category_name_NSWindow_GNUstepBackend
|
||||
__objc_class_name_GSWindowView
|
||||
__objc_class_name_NSMiniWindow
|
||||
__objc_class_name_NSMiniWindowView
|
||||
__objc_class_name_NSWindow
|
||||
__objc_class_name_NSWindowController
|
||||
__objc_class_name_NSWorkspace
|
||||
__objc_class_name_GSTrackingRect
|
||||
NSTiffClose
|
||||
NSTiffGetColormap
|
||||
NSTiffGetInfo
|
||||
NSTiffOpenData
|
||||
NSTiffRead
|
||||
NSTiffWrite
|
||||
__objc_class_name__GSWorkspaceCenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue