Commit graph

1968 commits

Author SHA1 Message Date
Gregory John Casamento
bd2372230f Undo removal of space. 2020-04-24 03:39:28 -04:00
Gregory John Casamento
fdd51ae2df Add color for disabled state 2020-04-24 02:34:59 -04:00
Gregory John Casamento
b32eb4d37d Add initial versions of files. 2020-04-23 00:43:15 -04:00
Gregory John Casamento
5d1ec31ef2 Move color selection into the theme 2020-04-22 17:44:04 -04:00
Gregory John Casamento
f57e5184c3 Resolve theme issues, change size of knob 2020-04-22 17:34:14 -04:00
Gregory John Casamento
0df7e5f7d7 Improve colors 2020-04-20 15:13:28 -04:00
Gregory John Casamento
da0f7ded36 Better colors 2020-04-17 18:03:26 -04:00
Gregory John Casamento
dae6b91c99 Add target/action 2020-04-17 07:40:40 -04:00
Gregory John Casamento
ecc9791ecf Draw elements. 2020-04-17 06:10:04 -04:00
Gregory John Casamento
a1672a4605 Add skeleton drawing method for switch to GSThemeDrawing. 2020-04-16 12:16:30 -04:00
Gregory John Casamento
8785a1307b More initial work. 2020-04-16 11:42:21 -04:00
Gregory John Casamento
ea5dbc2236 Merge branch 'master' into NSSwitch_branch 2020-04-16 06:33:36 -04:00
Gregory John Casamento
789e89f0a2 Fix all of the issues mentioned by Fred. 2020-04-15 18:34:04 -04:00
Gregory John Casamento
8263947de1 Minor change in ChangeLog to force recompile 2020-04-14 21:48:21 -04:00
Gregory John Casamento
a47277e0f8 Fix issues fred mentioned. 2020-04-14 21:21:52 -04:00
Gregory John Casamento
64a33a3f45 Fix issue with NSSet and NSString. 2020-04-14 14:07:23 -04:00
Gregory John Casamento
2e6ca996d0 Fix compilation issue 2020-04-14 14:03:39 -04:00
Gregory John Casamento
5e1c1da8ff NSUserInterfaceItemIdentification changes. 2020-04-14 13:52:58 -04:00
Gregory John Casamento
8bdb4ffe16 Add methods for NSFontAssetRequest. 2020-04-14 13:41:27 -04:00
Gregory John Casamento
a761a01eb5 Add NSUserInterfaceItemSearching code. 2020-04-14 13:23:25 -04:00
Gregory John Casamento
e4fb12cae5 Add user interface compression 2020-04-14 11:54:02 -04:00
Gregory John Casamento
3d1da7a0b3 Skeleton for NSMediaLibraryBrowserController 2020-04-14 09:58:45 -04:00
Gregory John Casamento
63baff0b6a Skeleton out scrubber layout 2020-04-14 09:38:09 -04:00
Gregory John Casamento
f54f50600b Add method for NSWindowRestoration protocol 2020-04-14 08:32:21 -04:00
Gregory John Casamento
c5d56a6f87 Add changelog for new changes. 2020-04-13 18:34:46 -04:00
Gregory John Casamento
f989474735 Add NSwitch initial changes 2020-04-13 14:15:07 -04:00
Gregory John Casamento
66ea79f256 Fix issues pointed out by Fred. More fixes to come. 2020-04-13 14:14:14 -04:00
Gregory John Casamento
9833ef333a Add scrubber classes 2020-04-08 17:17:41 -04:00
Gregory John Casamento
b4676fa0b3 Add AppKitErrors 2020-04-07 19:23:53 -04:00
Gregory John Casamento
813aa7eefd Add NSWindowRestoration protocol 2020-04-07 15:15:31 -04:00
Gregory John Casamento
3d8c8cf01c Add some mac specific classes. 2020-04-07 08:31:18 -04:00
Gregory John Casamento
3ee2a1e85c Merge branch 'master' of github.com:gnustep/libs-gui 2020-03-26 10:20:55 -04:00
Gregory John Casamento
15889eb8b1 Change declarations to NSExceptionName 2020-03-26 10:19:32 -04:00
Gregory John Casamento
bf90621300 Merge branch 'master' of github.com:gnustep/libs-gui into NSStoryboard_branch2 2020-03-25 02:32:11 -04:00
Fred Kiefer
ba165e185b
Merge pull request #51 from gnustep/NSFontCollection_branch
Merge NSFontCollection branch as nobody replied to my last comment.
2020-03-24 08:42:32 +01:00
fredkiefer
76f84654c2 Implement font collection matching code in GSFontEnumerator.
Remove trailing white space.
2020-03-21 15:33:41 +01:00
Gregory John Casamento
f492d02e61 Storyboard seque performing protocol. 2020-03-20 05:50:56 -04:00
Gregory John Casamento
2584386fbc Add storyboard classes. 2020-03-20 05:50:56 -04:00
Gregory John Casamento
bc47973133 Merge branch 'master' of github.com:gnustep/libs-gui into NSColorSampler_branch 2020-03-19 16:43:05 -04:00
Gregory John Casamento
53f211fdda Correct license on NSSegmentedControl to reflect the LGPL as it should. 2020-03-17 00:23:04 -04:00
fredkiefer
5680d2e0fd Correct the implementation of some simple methods on NSFileCollection. 2020-03-12 16:40:04 +01:00
Gregory John Casamento
d9d5f60835 NSColorSampler initial commit 2020-03-12 04:14:09 -04:00
Gregory John Casamento
681e5c9ed9 Correct issue with encoding, use a dictionary to store everything. Create collections when initializing when appropriate 2020-03-09 04:11:56 -04:00
Gregory John Casamento
80bab3fa5a Implement encoding 2020-02-25 21:25:55 -05:00
Gregory John Casamento
bd1a349c0a Merge branch 'master' into NSFontCollection_branch 2020-02-25 09:00:17 -05:00
Gregory John Casamento
70bc1153de Font collection constants 2020-02-25 08:58:44 -05:00
fredkiefer
3db981a95d Move more behaviour from the IBActionConnection5 and IBOutletConnection5
classes to the original ones.
2020-02-23 18:22:21 +01:00
Gregory John Casamento
1b2c0aad96 Correct some indentation 2020-02-10 02:31:39 -05:00
Gregory John Casamento
33a8a8c28e Some refactoring and cleanup 2020-02-09 07:11:25 -05:00
Gregory John Casamento
031868f73e Changes to support multiple connections. 2020-02-09 05:30:35 -05:00
Gregory John Casamento
4b1d3c679f Implement both ignoring all recognizers, but the ones specified and ignoring when app is not active. 2020-02-08 15:01:31 -05:00
Gregory John Casamento
72697f699c Complete initial implementation of speech recognizer 2020-02-04 05:26:52 -05:00
Gregory John Casamento
9ee975860a Clean build for NSSpeechRecognizer 2020-02-01 04:16:48 -05:00
Gregory John Casamento
a880154841 NSSpeechRecognizer skeleton 2020-02-01 03:47:21 -05:00
Gregory John Casamento
7e9fb9ed53 Fix conflicts 2020-01-31 04:43:30 -05:00
Gregory John Casamento
d526f6f50d Initial add of all files 2020-01-30 16:28:18 -05:00
Gregory John Casamento
82f9cbb96b Add HAVE_POCKETSPHINX_H to config.h.in 2020-01-30 14:29:20 -05:00
Gregory John Casamento
f6555d14b0 Updates 2020-01-30 06:23:35 -05:00
Gregory John Casamento
57d6be305b Implement copyWithZone and mutableCopyWithZone 2020-01-26 21:53:28 -05:00
Gregory John Casamento
73bbad4059 Initial implementation of NSFontCollection methods. 2020-01-25 19:14:17 -05:00
Gregory John Casamento
d4bffaa399 Remove duplicate declaration 2020-01-25 17:36:25 -05:00
Gregory John Casamento
0cf034176d Add new AppKit numbers. 2020-01-25 17:35:36 -05:00
Gregory John Casamento
2f50bad42f Update gitignore 2020-01-25 13:19:33 -05:00
fredkiefer
8c08f0c4b3 Move XIB type detection from GSXibLoader to GSXIBKeyedUnarchiver. 2020-01-24 17:30:28 +01:00
fredkiefer
3ac76af826 Move toolbar ivar from NSWindowTemplate5 to NSWindowTemplate. 2020-01-22 20:29:19 +01:00
Gregory Casamento
22612a641c
Merge pull request #47 from gnustep/NSTouchBar_branch
NSTouchBar branch
2020-01-20 16:47:17 -05:00
Gregory John Casamento
2c3e755825 Move storyboard stuff to storyboard branch 2020-01-20 15:59:25 -05:00
Gregory John Casamento
1e2d243735 Start on storyboard 2020-01-20 15:52:31 -05:00
Gregory John Casamento
d507e88dec Add skeletons 2020-01-20 15:48:02 -05:00
fredkiefer
60fc987fb7 Fix compiler warnings 2020-01-20 20:57:32 +01:00
fredkiefer
e2c59a7bee Merge branch 'master' into xib_document 2020-01-20 19:12:15 +01:00
Gregory Casamento
08c7bbdeaf
Merge pull request #46 from gnustep/NSDataAsset_branch
NSDataAsset branch
2020-01-19 20:44:18 -05:00
Gregory John Casamento
765e9bfecd Change NSString to NSDataAssetName. 2020-01-19 20:42:40 -05:00
Gregory Casamento
25bdc6e89c
Merge pull request #45 from gnustep/NSAppearance_branch
NSAppearance branch
2020-01-19 20:19:28 -05:00
Gregory John Casamento
e79cc79402 Fix year 2020-01-19 20:15:14 -05:00
fredkiefer
bc7c0262c5 Clean up the old XIB loading code. 2020-01-19 18:52:36 +01:00
fredkiefer
46ea0fb36d Merge branch 'master' into xib_document
# Conflicts:
#	ChangeLog
2020-01-19 17:24:04 +01:00
fredkiefer
42d771d589 Get master to guild again after breakage of last commit. 2020-01-19 17:21:51 +01:00
Gregory John Casamento
c31ec536a2 NSNibOutletConnector and NSNibControlConnector classes added 2020-01-18 19:24:41 -05:00
Gregory John Casamento
a6c7d1d8fc Add NSDataAsset 2020-01-17 17:34:43 -05:00
Gregory John Casamento
0b23edea63 Add dealloc 2020-01-17 17:29:58 -05:00
Gregory John Casamento
810232cdad Correct some additional issues 2020-01-17 10:06:00 -05:00
Gregory John Casamento
d9c42f8cc8 Clean compilation 2020-01-15 08:19:59 -05:00
fredkiefer
5f147345fc Improve predicate editor decoding. 2020-01-11 19:33:24 +01:00
fredkiefer
97cb13a5ff Add some more bindings 2020-01-10 20:53:53 +01:00
fredkiefer
14f88edfe8 Merge branch 'master' into xib_document
# Conflicts:
#	ChangeLog
2020-01-07 21:27:20 +01:00
fredkiefer
c0714b0de1 Add minimal version of predicate editor copied over from mySTEP. 2020-01-07 21:25:21 +01:00
fredkiefer
9a9f32d1b5 Use a formatter in the NSDatePickerCell. 2020-01-07 17:38:03 +01:00
fredkiefer
dc955b1ce4 Add minimal version of date picker copied over from mySTEP. 2020-01-06 22:25:54 +01:00
fredkiefer
97891ed2bb Add definition of NSWindowStyleMask.
Fix some indentation.
Remove commented out code.
2020-01-03 17:49:47 +01:00
fredkiefer
781c18c0ae Rephrase comment that explains bit usages in flags. 2020-01-01 13:19:01 +01:00
fredkiefer
930799e675 Fix leftover string from last commit 2019-12-31 18:26:54 +01:00
fredkiefer
427fba97d4 Move new window styles into a separate block. 2019-12-31 17:19:21 +01:00
Gregory John Casamento
a8360c0de4 Add string constants 2019-12-22 21:38:14 -05:00
fredkiefer
e3c9e91ec1 Merge branch 'master' into xib_document 2019-12-13 16:56:09 +01:00
Sergii Stoian
063e5708e7
Merge pull request #37 from trunkmaster/master
Insertion point height fix for NSText* objects
2019-12-11 12:23:06 +02:00
Gregory John Casamento
a61f27df33 Add to AppKit.h header 2019-12-11 01:25:05 -05:00
Gregory John Casamento
2c883a428b Implement skeleton 2019-12-11 01:09:41 -05:00
Gregory John Casamento
9769e652cd Header skeleton builds 2019-12-11 00:52:27 -05:00
Gregory John Casamento
eb2815acf3 Initial add of NSFontCollection files 2019-12-10 21:18:24 -05:00
Sergii Stoian
fcee2e2c63 * Headers/Additions/GNUstepGUI/GSLayoutManager.h,
Source/GSLayoutManager.m: new method -typingAttributes returns default typing
  attributes of NSTextView.
* Source/NSLayoutManager.m: override GSLayoutManager's -typingAttributes - primitive
  method - provides access to _typingAttributes ivar.
* Source/GSHorizontalTypesetter.m: use new GSLayoutManager's -typingAttributes method
  to get paragraph style and font of new empty text container. Normally `curLayoutManager`
  is a NSLayoutManager object so actually we get NSLayoutManager's _typingAttributes.
2019-12-10 19:23:04 +02:00
fredkiefer
f30ec504a4 Merge branch 'master' into xib_document
# Conflicts:
#	Source/GSXibParser.m
2019-12-10 17:14:25 +01:00
Gregory John Casamento
32a5712945 Fix address and license name in all files. 2019-12-09 18:45:15 -05:00
fredkiefer
244e7a48d7 Remove now obsolete GSXibParser.
Move over more Eggplant changes.
Add basic decoding for bindings.
2019-12-09 14:22:33 +01:00
fredkiefer
378c1c4077 Take over the Eggplant code for XIB document decoding,
with slight cleanups to get it working with gcc.
2019-12-08 23:47:53 +01:00
fredkiefer
451afde6a7 * Headers/AppKit/NSGestureRecognizer.h
* Source/NSGestureRecognizer.m: Restore code by Daniel Ferreira
* Headers/AppKit/NSButtonTouchBarItem.h
* Headers/AppKit/NSCandidateListTouchBarItem.h
* Headers/AppKit/NSClickGestureRecognizer.h
* Headers/AppKit/NSColorPickerTouchBarItem.h
* Headers/AppKit/NSCustomTouchBarItem.h
* Headers/AppKit/NSGroupTouchBarItem.h
* Headers/AppKit/NSMagnificationGestureRecognizer.h
* Headers/AppKit/NSPanGestureRecognizer.h
* Headers/AppKit/NSPickerTouchBarItem.h
* Headers/AppKit/NSPopoverTouchBarItem.h
* Headers/AppKit/NSPressGestureRecognizer.h
* Headers/AppKit/NSRotationGestureRecognizer.h
* Headers/AppKit/NSSharingServicePickerTouchBarItem.h
* Headers/AppKit/NSSliderTouchBarItem.h
* Headers/AppKit/NSStepperTouchBarItem.h
* Headers/AppKit/NSTouchBarItem.h
Clean up after Greg's commit.
2019-12-06 22:50:13 +01:00
Gregory John Casamento
bdadefeebd Add all files and fix compilation 2019-12-06 05:01:51 -05:00
Gregory John Casamento
b0b20cd32e Add macOS specific class skeletons 2019-12-05 12:57:38 -05:00
Gregory John Casamento
7e81e90e02 Removed all instances of include in new files. 2019-12-04 12:02:49 -05:00
Gregory John Casamento
f5026dfa97 include -> import 2019-12-04 08:40:35 -05:00
Gregory John Casamento
335e529cd5 Add NSCIImageRep added in 2019-12-03 18:47:36 -05:00
Gregory John Casamento
4c56da1c57 Remove 'heron' from headers 2019-12-03 17:26:19 -05:00
Gregory John Casamento
782a8efcbe Remove GSSVG* files since they are not needed 2019-12-03 17:19:18 -05:00
Gregory John Casamento
6adaf911b5 Complete NSPICTImageRep implementation 2019-12-03 08:30:17 -05:00
Gregory John Casamento
325dbe5ac6 Working implementation of NSEPSImageRep 2019-12-02 14:23:08 -05:00
Gregory John Casamento
208116ad08 Working NSPDFImageRep 2019-12-02 10:53:08 -05:00
Gregory John Casamento
eda8ed07eb Export GSImageMagickImageRep.h so that it can to used externally 2019-11-30 06:21:51 -05:00
Gregory John Casamento
22170a73b3 Add name to headers 2019-11-29 13:01:42 -05:00
Gregory John Casamento
2050631ca6 Base the new image reps off of GSImageMagickImageRep since both formats are supported by that image rep. The subclasses will access specific features not exposed in the GSImageMagickImageRep for those formats 2019-11-29 11:04:03 -05:00
Gregory John Casamento
a2b196b422 Spelling correction 2019-11-24 06:03:07 -05:00
Gregory John Casamento
dd2851da69 Add instance vars 2019-11-24 00:35:04 -05:00
Gregory John Casamento
fd19580d71 NSPDFInfo and NSPDFPanel skeletons 2019-11-22 07:06:39 -05:00
Gregory John Casamento
943a323002 Commit skeleton 2019-11-22 05:07:45 -05:00
Gregory John Casamento
c3bd876fa5 Add PICT skeleton 2019-11-22 02:52:31 -05:00
Gregory John Casamento
10a81f89f3 Clean build 2019-11-22 02:16:05 -05:00
Gregory John Casamento
bd8d45d9ff NSDockTile implemented 2019-11-21 01:17:14 -05:00
Gregory John Casamento
efa86f1d11 Add new files 2019-11-18 05:23:30 -05:00
Riccardo Mottola
a44a865415 Remove fake typedef for NSAppleEventDescriptor since now we have a stub in Foundation 2019-11-03 23:40:09 +01:00
Gregory John Casamento
f20991b631 Remove uneeded file. 2019-09-13 16:04:36 -04:00
Gregory John Casamento
95736faf13 Remove uneeded file. 2019-09-11 20:17:32 -04:00
Gregory John Casamento
ecea8da743 Migrate NSFileWraper to base. 2019-09-10 09:55:07 -04:00
Gregory John Casamento
311b338248 Move NSFileWrapper to Foundation. 2019-09-08 17:32:05 -04:00
fredkiefer
1e05899a0f * Header* Headers/AppKit/NSColor.h,
+	* Source/NSColor.m: Add tool tip named colours.
+	* Source/GSToolTips.m (+initialize, -_timedOut:): Get colours from NSColor.
2019-07-07 21:39:25 +02:00
Richard Frith-Macdonald
f9f88cab5e Merge branch 'master' of ssh://github.com/gnustep/libs-gui 2019-05-10 14:05:05 +01:00
Richard Frith-Macdonald
6d71a028c0 Improve documentation to say that colors should be themed via user defaults 2019-05-10 14:03:58 +01:00
Sergii
5cd059d40c
Merge pull request #1 from gnustep/master 2019-04-22 12:12:50 +03:00
Gregory John Casamento
fdbda917bd Initial implementations 2019-04-20 07:42:12 -04:00
Gregory John Casamento
20650d869c Add methods for scriptability for completeness 2019-04-20 06:37:08 -04:00
Sergii Stoian
bdd241a52d * Headers/AppKit/NSCursor.h:
* Source/NSCursor.m (greenArrowCursor):
Use getStandardCursor() to get GSGreenArrowCursor. New cursor type
GSGreeanArrowCursor was added.
2019-04-17 17:46:16 +03:00
Gregory John Casamento
ae49b8374a Merge branch 'master' of github.com:gnustep/libs-gui into bug33395_uses_single_line_mode 2019-04-10 00:31:57 -04:00
Sergii Stoian
b5e65175a3 hidewindow methods was renamed to hideApplication. 2019-04-06 22:36:56 +03:00
Sergii Stoian
f018c2087b Added support for WindowMaker's WMFHideApplication action. 2019-04-05 14:07:33 +03:00
Sergii Stoian
c0c3c5f448 Lovering down NSFloatingWindowLevel number by one to distinguish floating panels from menus. 2019-03-27 16:19:00 +02:00
Gregory John Casamento
4406c7de45 Changes for bug33395: Adds missing setter implementation. Changes to follow for behavioral and archival changes. 2019-03-09 09:47:23 -05:00
Gregory John Casamento
e833084f6d Add method setUsesSingleLineMode: and usesSingleLineMode 2019-03-09 05:43:38 -05:00
fredkiefer
d9c033d464 * Headers/Additions/GNUstepGUI/GSHorizontalTypesetter.h: Add
comment to describe cache variables.
* Source/GSHorizontalTypesetter.m: Restructure glyph attribute
cache filling and make _addExtraLineFragment saver by providing a
default for curParagraphStyle.
2019-02-10 22:17:36 +01:00
Riccardo Mottola
54fdc861a5 New getmntent structure checks 2018-11-19 01:44:24 +01:00
fredkiefer
b90d3a341e * Source/NSGraphicsContext.m (+graphicsContextWithGraphicsPort:flipped:):
Rewrite using an init method.
2018-09-14 22:18:16 +02:00
Riccardo Mottola
96fbdaa81f Check for floorf() and provide simple replacement 2018-06-11 23:46:06 +02:00
Stjepan Brkić
e1031e7198 Add 'id _coreAnimationData' variable to AppKit/Headers/NSView.h.
The variable will point to another class instance that will
contain data necessary data for future implementation of methods
regarding CA layers.
2018-06-05 12:36:42 +00:00
fredkiefer
760cfa6d62 * Headers/AppKit/NSSliderCell.h,
* Source/NSSliderCell.m: Rewrite this class to store and access
the value directly. This brings the behaviour closer to Apple's
horrible implementation.
2018-03-11 19:09:08 +01:00
fredkiefer
3ad98f9474 * Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m: Correct int/NSInteger mismatch detected
by Josh Freeman <pikopixel@twilightedge.com>.
2018-02-27 22:02:54 +01:00
fredkiefer
f2ebe775d9 * Headers/AppKit/NSKeyValueBinding.h,
* Source/NSKeyValueBinding.m: Add helper function NSIsControllerMarker.
2018-02-26 00:13:15 +01:00
fredkiefer
b3b64278e3 * config/pkg.m4: Update to serial 12.
* Headers/Additions/GNUstepGUI/config.h.in,
* configure: Regnerate
Fixes bug #52779.
Patch by Yavor Doganov <yavor@gnu.org>
2018-01-01 22:42:28 +01:00
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
Fred Kiefer
521fd071b4 Make the class GSXibKeyedUnarchiver public again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40449 72102866-910b-0410-8b05-ffd578937521
2017-04-05 21:51:43 +00:00
Fred Kiefer
db123bcd81 Merge some of the changes from the testplant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40403 72102866-910b-0410-8b05-ffd578937521
2017-03-19 19:26:04 +00:00
Fred Kiefer
2efe9de227 Merge some of the changes from the testplant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40362 72102866-910b-0410-8b05-ffd578937521
2017-03-05 22:12:15 +00:00
Fred Kiefer
ca8abf4c27 * Headers/Additions/GNUstepGUI/GSToolbarView.h
* Source/GSToolbarView.m
	Change draggedItemIndex to NSUInteger.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40270 72102866-910b-0410-8b05-ffd578937521
2016-12-17 00:00:19 +00:00
Fred Kiefer
0e6e771ba9 * Headers/AppKit/NSColorPanel.h: Change -alpha to CGFloat.
* Source/NSColorPanel.m: Remove left over GModel loading code.
	Set default mode to colour wheel.
	Small cleanups mostly in comments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40229 72102866-910b-0410-8b05-ffd578937521
2016-11-21 22:33:53 +00:00
Fred Kiefer
6974bf8a4f Some int -> NSInteger and float -> CGFloat transitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40138 72102866-910b-0410-8b05-ffd578937521
2016-10-08 21:17:53 +00:00
Riccardo Mottola
4d9feda044 Check explicitely for f_owner and use f_owner and f_flag if checked
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39991 72102866-910b-0410-8b05-ffd578937521
2016-07-12 23:27:31 +00:00
Fred Kiefer
28b1b39b7b * Headers/AppKit/NSDocumentController.h,
* Source/NSDocumentController.m: Add 10.7 methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39978 72102866-910b-0410-8b05-ffd578937521
2016-07-12 08:41:17 +00:00
Fred Kiefer
58fed6911f Attempt to get NSWorkspace.m to compile again. No idea whether the
resulting behaviour is as intended by the author of the last change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39974 72102866-910b-0410-8b05-ffd578937521
2016-07-11 22:26:34 +00:00
Riccardo Mottola
baa5ac40aa Explicitely check for statfs/statvfs flags member
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39896 72102866-910b-0410-8b05-ffd578937521
2016-06-21 15:43:27 +00:00
Fred Kiefer
78a695bc8e Add class NSIBUserDefinedRuntimeAttributesConnector to handle
newer NIB files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39836 72102866-910b-0410-8b05-ffd578937521
2016-06-02 21:37:03 +00:00
Richard Frith-MacDonald
a0bb18fbcc Minor documentation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39824 72102866-910b-0410-8b05-ffd578937521
2016-05-31 10:24:19 +00:00
Riccardo Mottola
dfc80058a4 tag is NSInteger* not int* in recent AppKit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39581 72102866-910b-0410-8b05-ffd578937521
2016-03-22 17:17:58 +00:00
Riccardo Mottola
cb076ad8ed Some new 10.5 and 10.6 named images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39505 72102866-910b-0410-8b05-ffd578937521
2016-03-09 15:36:59 +00:00
Riccardo Mottola
79e6bc01af Add NSImageNameColorPanel named image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39450 72102866-910b-0410-8b05-ffd578937521
2016-03-04 00:10:16 +00:00
Riccardo Mottola
14fab35abc checks for statvts headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39360 72102866-910b-0410-8b05-ffd578937521
2016-02-12 00:56:56 +00:00
Riccardo Mottola
c442abbaab Trivial implementation of new 10.9 drawInRect: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39332 72102866-910b-0410-8b05-ffd578937521
2016-02-03 00:08:23 +00:00
Riccardo Mottola
3ac59cea1d Provide NSImageNameTrashEmpty NSImageNameTrashFull NSImageNameMultipleDocuments image, both constants and actual icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39183 72102866-910b-0410-8b05-ffd578937521
2015-11-18 23:05:00 +00:00
Richard Frith-MacDonald
95a6eb6766 Document the new option to haveapp-specific named images in a theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39121 72102866-910b-0410-8b05-ffd578937521
2015-11-02 17:46:53 +00:00
Riccardo Mottola
3ff8c0a8d7 fix spelling to american English
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39101 72102866-910b-0410-8b05-ffd578937521
2015-10-28 01:49:12 +00:00
Riccardo Mottola
b4840b3c89 Primitive presentationOptions implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39100 72102866-910b-0410-8b05-ffd578937521
2015-10-28 01:39:07 +00:00
Riccardo Mottola
ef3942ac38 Stub 10.8 methods for allowsMagnification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39099 72102866-910b-0410-8b05-ffd578937521
2015-10-28 00:42:40 +00:00
Riccardo Mottola
40e0788f6d Change also internal methods and ivars to reflect NSInteger transition of rows and columns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39094 72102866-910b-0410-8b05-ffd578937521
2015-10-27 18:11:46 +00:00
Riccardo Mottola
7667180ed3 Add NSAnimationContext to umbrella header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39075 72102866-910b-0410-8b05-ffd578937521
2015-10-15 15:53:56 +00:00
Riccardo Mottola
4192e9dfe5 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39074 72102866-910b-0410-8b05-ffd578937521
2015-10-15 15:15:43 +00:00
Gregory John Casamento
20997976b9 Additional stubs for NSAnimationContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39051 72102866-910b-0410-8b05-ffd578937521
2015-10-10 22:59:12 +00:00
Riccardo Mottola
fab20ad389 Add NSTableViewSelectionHighlightStyle type and stub accessors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39019 72102866-910b-0410-8b05-ffd578937521
2015-10-02 09:47:29 +00:00
Fred Kiefer
065d45ff59 * Headers/AppKit/NSMenu.h,
* Source/externs.m: Add NSMenuDidBeginTrackingNotification.
        * Source/NSMenuView.m (-trackWithEvent:): send tracking
        notifications.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39008 72102866-910b-0410-8b05-ffd578937521
2015-09-21 20:37:56 +00:00
Fred Kiefer
1d2c5d5ebd First set of changes based on pathces by Josh Freeman
<pikopixel@twilightedge.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39004 72102866-910b-0410-8b05-ffd578937521
2015-09-19 16:45:36 +00:00
Riccardo Mottola
7a251b66ec Constants and methods for Expose and other features we don't have and perhaps never will
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38942 72102866-910b-0410-8b05-ffd578937521
2015-08-28 22:39:48 +00:00
Riccardo Mottola
dbcaec319a Add more (dummy) layer property stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38940 72102866-910b-0410-8b05-ffd578937521
2015-08-28 20:26:30 +00:00
Riccardo Mottola
fe491f33da Define NSFullScreenWindowMask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38924 72102866-910b-0410-8b05-ffd578937521
2015-08-24 12:50:07 +00:00
Riccardo Mottola
c919c925f9 Add horiz and vert elastiticty properties and constants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38920 72102866-910b-0410-8b05-ffd578937521
2015-08-23 21:44:40 +00:00
Fred Kiefer
fd098d8eda * Source/NSButtonCell.m (-initWithCoder:):
Fix image scaling value extract from XIB.
        * Headers/Additions/GNUstepGUI/GSXibLoading.h
        * Source/GSXibLoading.m
        * Source/GSXibLoader.m
        Add IB defined runtime attribute processing for XIB
        Patch by Marcian Lytwyn <gna@advcsi.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38882 72102866-910b-0410-8b05-ffd578937521
2015-08-13 22:03:03 +00:00
Riccardo Mottola
5568c3f60e add alphaValue property... although we don't use it anyway it helps to compile stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38840 72102866-910b-0410-8b05-ffd578937521
2015-07-26 21:04:57 +00:00
Gregory John Casamento
971a573445 Add drawing methods for theming NSBrowserCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38690 72102866-910b-0410-8b05-ffd578937521
2015-06-26 05:27:12 +00:00
Gregory John Casamento
4213323979 Add more theme methods for theming windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38687 72102866-910b-0410-8b05-ffd578937521
2015-06-26 00:13:05 +00:00
Gregory John Casamento
0ff0a07742 Added methods to retrieve dimensions for titlebar buttons and padding dimensions in a theme specific way rather than having them hard-coded.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38681 72102866-910b-0410-8b05-ffd578937521
2015-06-25 18:18:41 +00:00
Gregory John Casamento
8031e43fbc Add skeleton for NSAnimationContext.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38637 72102866-910b-0410-8b05-ffd578937521
2015-06-14 21:47:43 +00:00
Fred Kiefer
41d42922c2 * Source/NSBitmapImageRep+GIF.m: Handle EGifOpen similar to
other version specific functions.
        * Headers/Additions/GNUstepGUI/GSXibElement.h
        * Headers/Additions/GNUstepGUI/GSXibLoading.h
        * Headers/Additions/GNUstepGUI/GSXibObjectContainer.h
        * Headers/Additions/GNUstepGUI/GSXibParser.h
        Correct FSF address.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38581 72102866-910b-0410-8b05-ffd578937521
2015-05-28 21:44:19 +00:00
Sebastian Reitenbach
18910829e4 return value for NSMenu itemAtIndex change from
id<NSMenuItem> to NSMenuitem* as it is done by Apple too
          fixes warnings in NSApplication.m and NSTextView.m

OK Fred Kiefer



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38568 72102866-910b-0410-8b05-ffd578937521
2015-05-26 17:11:17 +00:00
Fred Kiefer
1a8e5a320b * Headers/AppKit/NSColor.h,
* Source/NSColor.m: Add OSX 10 named colours.
        * Source/NSColorList.m: Add keyed coding/decoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38449 72102866-910b-0410-8b05-ffd578937521
2015-04-02 22:54:42 +00:00
Germán Arias
0bdd4d0ae6 Add class method +count in NSCursor to handle cursors on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38403 72102866-910b-0410-8b05-ffd578937521
2015-03-12 05:34:08 +00:00
Gregory John Casamento
5d9a261362 Move declarations of GSPrintPanel and GSPageLayout to theme and remove uneeded classes since they are not used and only override allocWithZone:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38324 72102866-910b-0410-8b05-ffd578937521
2015-02-03 20:26:10 +00:00
Gregory John Casamento
e53b5e2e46 Add print panels to theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38318 72102866-910b-0410-8b05-ffd578937521
2015-02-01 20:46:37 +00:00
Fred Kiefer
903a37dd68 * Headers/AppKit/NSTableView.h,
* Source/NSTableView.m:
        Create working stubs for table view batch insertions/removals of
rows
        Patch by Marcian Lytwyn <gna@advcsi.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38240 72102866-910b-0410-8b05-ffd578937521
2014-12-08 15:08:53 +00:00