fredkiefer
7270f8efc7
Add new backingScaleFactor method on NSScreen.
2017-12-03 22:02:06 +01:00
Daniel Ferreira
471a81ddb8
NSSpellChecker: implement stub for +isAutomaticQuoteSubstitutionEnabled
...
Implement stub for +[NSSpellChecker isAutomaticQuoteSubstitutionEnabled]
for compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
39d9105d35
NSSpellChecker: implement stub for +isAutomaticDashSubstitutionEnabled
...
Implement stub for +[NSSpellChecker isAutomaticDashSubstitutionEnabled]
for compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
9e8ef84b54
NSGestureRecognizer: implement stub for -locationInView:
...
Implement stub for -[NSGestureRecognizer locationInView:] for
compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
b09cdec727
NSWindow: define more NSWindowCollectionBehavior values
...
Define new values for the NSWindowCollectionBehavior enum for
compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
3e9cdce801
NSWindow: add stub for +windowNumberAtPoint:belowWindowWithWindowNumber:
...
Add stub for +[NSWindow windowNumberAtPoint:belowWindowWithWindowNumber:]
for compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
10d0dce115
NSSpellChecker: add stub for -checkGrammarOfString:...
...
Add a stub for the -checkGrammarOfString:... method for compatibility
purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
677572bef1
NSSpellChecker: add stub for +isAutomaticTextReplacementEnabled
...
Add stub for +[NSSpellChecker isAutomaticTextReplacementEnabled] for
compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
ac56a5aeae
NSDragging: create NSDraggingSource protocol
...
Create NSDraggingSource protocol for increased compatibility with GUI.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
9ce55e08ca
NSSpellChecker: add missing definitions
...
Add definitions for the NSCorrectionResponse enum for increased
compatibility, as well as some spell checking notification constants.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
4f4db46c87
NSWindow: add stub for -backingScaleFactor
...
Add stub for -[NSWindow backingScaleFactor] for compatibility purposes.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
07d0f2002f
NS{Application,Window}: define modal constants
...
Define constants and stubs related to modal sheets in GUI for increased
compatibility.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
5e8b278e93
NSFont: define font weight constants
...
Define font weight constants introduced in macOS 10.11.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
1560978a60
NSAttributedString: add private attribute stub
...
Add a stub for NSTextInsertionUndoableAttributeName, a private
NSAttributedString attribute.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
8321f7ee5d
NSButtonCell: define new button cell constants
...
Define new button cell constants in the NSButtonCell header. These
buttons are not yet implemented, however.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
5ce4348754
NSText: define new NSTextAlignment constants
...
Define new-style NSTextAlignment* constants on GUI for compatibility
purposes with new macOS versions.
2017-08-27 01:42:00 +01:00
fredkiefer
b713d0c023
Clean up NSPasteboardItem files.
2017-07-31 23:21:59 +02:00
Daniel Ferreira
257017c65f
NSGraphicsContext: create -CGContext methods
...
Create methods which allow a graphics context to be created with a
CGContext as an equivalent to a graphics port. The context set through
this property will be used in gnustep-back.
2017-07-31 11:41:11 +01:00
Daniel Ferreira
dc9ff85436
Quartz: Expose methods for bridge with Opal
...
Expose methods for bridging Opal types and GUI classes. The new
relations are the following:
a) NSImage -> CGImage
b) NSColor -> CGColor
c) NSImageRep -> CGImage
The actual implementation for this bridge is implemented in the Backend
library.
This significantly improves compatibility with AppKit.
2017-07-31 11:41:11 +01:00
Daniel Ferreira
6d4302cd97
NSTextList: create startingItemNumber property
...
Add the `startingItemNumber` property to NSTextList introduced in macOS
10.6.
2017-07-31 11:22:59 +01:00
Daniel Ferreira
5403e47b60
NSPasteboardItem: create base implementation
...
Implement the NSPasteboardItem class. For now, it remains relatively
useless since NSPasteboard does not yet know how to use it. However, it
should be pluggable into NSPasteboard once NSPasteboard learns about
NSPasteboardReading and NSPasteboardWriting.
2017-07-31 11:22:59 +01:00
Daniel Ferreira
34ecd57e4e
NSPasteboard: define NSPasteboard{Reading,Writing}
...
Define the NSPasteboardReading and NSPasteboardWriting protocols
introduced in OSX 10.6.
2017-07-31 11:22:59 +01:00
Daniel Ferreira
ac26b6725b
NSTextAlternatives: implement text alternatives class
...
Implement NSTextAlternatives, a class usually used for choosing
alternatives from a basic string usually for dictation purposes.
2017-07-31 11:22:59 +01:00
Daniel Ferreira
fcb11edca8
NSScroller: define scroller styles
...
As of macOS 10.7, scrollers gained two types: Legacy and Overlay. Here,
we define these styles as well as a method to determine which is the
"default" style to be used.
2017-07-31 11:22:59 +01:00
Riccardo Mottola
47c09aaedb
We can actually use retain as an equivalent property when not using ARC
2017-07-28 10:01:25 +02:00
fredkiefer
9bb07ba461
Remove property attribute "strong" as gcc does not support this.
2017-07-27 08:29:18 +02:00
Daniel Ferreira
fbdea829c0
NSAttributedString: define writing direction attribute
...
Define an (unimplemented) NSAttributedString attribute for Unicode
writing direction.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
d09106096b
NSAttributedString: define writing direction constants
...
Define constants for defining an attributed string's writing direction.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
b29d85f451
NSAttributedString: define NSTextAlternatives attribute
...
Define an (unimplemented) NSAttributedString attribute for an
NSTextAlternatives object.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
758d524547
NS{Cell,View}: implement stubs for layout direction handling
...
Implement stubs for the layout direction properties in NSCell and
NSView. Currently, they default to left-to-right layouting.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
05c58fe023
NSAccessibility: declare base Accessibility APIs
...
Declare base NSAccessibility functions and constants, which have been
implemented as stubs.
In the near future, we could begin supporting some NSAccessibility
informal protocol features (for instance, elements ignored in the
accessible view hierarchy). However, for even considering thorough
accessibility support we would require, at least:
* A proper implementation of the AX* API in gnustep-boron;
* Design integration with screen reading software and other components
for an accessible graphic environment.
which are most certainly long-term tasks.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
eca638147c
NSWindow: define missing window mask
...
Define a missing enum value for a window mask. This mask remains
unimplemented.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
e9b0367207
NSControl: create stub for -sizeThatFits:
...
Create a stub for the -[NSControl sizeThatFits:] function.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
16b0299916
NSVisualEffectView: create class stub
...
Create stub for the NSVisualEffectView class.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
62ec654335
NSScrollView: create stubs for inset properties
...
Create stubs for the content/scroller inset properties in NSScrollView.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
ecb4178417
NSGestureRecognizer: create stub for class
...
Create stub for the NSGestureRecognizer class.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
f9daf52083
NSSpellChecker: define new constants
...
Define new constants on NSSpellChecker. They are not yet handled by the
implementation.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
f1abcb313a
NSSpeechSynthesizer: define new constants
...
Define new constants in NSSpeechSynthesizer. These are not yet handled
by the implementation.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
75dd71b149
NSRunningApplication: create stub for class
...
Create a stub for the NSRunningApplication class.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
819c459f6f
NSUserInterfaceLayout: create interface layout constants
...
Define interface layout enums to be used by AppKit. This improves
compatibility with the reference platform.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
3d88922f45
NSUserInterfaceItemIdentification: introduce protocol
...
Introduce the NSUserInterfaceItemIdentification protocol, which required
an user interface class provide an unique identifier.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
4769fc8edd
NSSharingService: define class
...
Define the NSSharingService class as an unimplemented stub for
compatibility purposes.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
bb6805742d
NSView: define layer-related properties
...
Define layer-related properties in NSView for compatibility purposes,
and keep their getters and setters as stubs, since they will not have
any effect before NSView-CALayer integration is implemented.
2017-07-25 22:33:12 +01:00
Daniel Ferreira
9e80b07531
NSPasteboard: define new constants
...
Define new constants for NSPasteboard type identifiers. Most of them are
aliases to the old "Pboard"-style types, although some new ones are not
fully implemented:
* NSPasteboardTypePNG
* NSPasteboardTypeSound
* NSPasteboardTypeMultipleTextSelection
* NSPasteboardTypeTextFinderOptions
2017-07-25 22:33:12 +01:00
Daniel Ferreira
f665887c68
NSSpeechSynthesizerDelegate: define protocol properly
...
Modern applications require NSSpeechSynthesizerDelegate to be an actual
@protocol in order to conform to it. Here, we allow it to be one if we
are on an Objective-C runtime that supports it.
2017-07-25 22:33:12 +01:00
fredkiefer
6f22d6429e
Add phase method forgotten in last commit.
2017-07-22 20:38:39 +02:00
fredkiefer
a02b40a9dd
Add some enums and the method -momentumPhase to NSEvent.
2017-07-22 20:17:00 +02:00
fredkiefer
025b73ce6d
Add some newer Cocoa methods for NSEvent.
2017-07-09 22:02:40 +02:00
Ivan Vučica
d078c703a4
Fix typo introduced in commit 6304640556
.
2017-07-09 15:51:57 +00:00
TheDharc
6304640556
Update NSAttributedString.h
...
adding what is missing
2017-06-20 20:13:49 +00:00