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
Fred Kiefer
00928ee6ea
* Headers/Additions/GNUstepGUI/GSXibLoading.h,
...
* Source/GSXibLoader.m: Fix object ID parsing in XIB loading due
to Apple moving to string ID represenatation.
Patch by Marcian Lytwyn <gna@advcsi.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38236 72102866-910b-0410-8b05-ffd578937521
2014-12-07 16:38:40 +00:00
Fred Kiefer
ffe06259ba
* Headers/AppKit/NSBrowser.h,
...
* Headers/AppKit/NSComboBoxCell.h: Add missing protocol
declarations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38174 72102866-910b-0410-8b05-ffd578937521
2014-11-16 14:19:11 +00:00
Gregory John Casamento
ea086d02cf
Change return of -drawTitle:withFrame:inView to NSRect instead of void.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38049 72102866-910b-0410-8b05-ffd578937521
2014-08-21 02:52:06 +00:00
Sebastian Reitenbach
e5ceef02b4
* Headers/AppKit/NSStatusItem.h
...
* Source/NSStatusItem.m
make return value of -sendActionOn: match apple documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37925 72102866-910b-0410-8b05-ffd578937521
2014-05-30 12:28:59 +00:00
Gregory John Casamento
1e9799efeb
Addition of XIBObject base class for handling objects parsed out of the XIB file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37799 72102866-910b-0410-8b05-ffd578937521
2014-04-16 21:29:08 +00:00
Gregory John Casamento
69244e2d98
Add object container.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37762 72102866-910b-0410-8b05-ffd578937521
2014-03-25 08:07:54 +00:00
Gregory John Casamento
3931ffd3eb
Initial code for XIB 5 support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37761 72102866-910b-0410-8b05-ffd578937521
2014-03-25 07:59:36 +00:00
Fred Kiefer
51c43eae39
* Headers/AppKit/NSTextAttachment.h
...
* Source/NSTextAttachment.m: Use NSUInteger and bring closer to
the Apple implementation.
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
For attachments use the cell origin y flipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37704 72102866-910b-0410-8b05-ffd578937521
2014-02-23 21:07:20 +00:00
Fred Kiefer
3116c1c398
* Headers/AppKit/AppKit.h: Add a few missing classes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37660 72102866-910b-0410-8b05-ffd578937521
2014-01-31 22:16:06 +00:00
Fred Kiefer
5a9e90f74f
* Headers/AppKit/NSAlert.h,
...
* Headers/AppKit/NSWindow.h: Remove usage of GNUSTEP define.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37659 72102866-910b-0410-8b05-ffd578937521
2014-01-31 21:47:34 +00:00
Fred Kiefer
37e94abc97
* Headers/AppKit/NSCell.h
...
* Source/NSCell.m: Add hitTestForEvent:inRect:ofView:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37639 72102866-910b-0410-8b05-ffd578937521
2014-01-26 22:34:56 +00:00
Niels Grewe
0725950577
Roll back addition of redundant method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37539 72102866-910b-0410-8b05-ffd578937521
2014-01-05 23:03:35 +00:00
Niels Grewe
ae97581586
Add a method to GSDisplayServer that allows you to obtain the
...
identifier used by the backend's windowing system instead of
just the GNUstep-internal window number. On X11, the identifier
is useful, among other things, to implement the D-Bus menu
protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37533 72102866-910b-0410-8b05-ffd578937521
2014-01-01 19:45:26 +00:00
Fred Kiefer
4c0f9fbc97
* Headers/AppKit/NSAnimation.h
...
* Headers/AppKit/NSApplication.h
* Headers/AppKit/NSControl.h
* Headers/AppKit/NSPopover.h
* Headers/AppKit/NSSavePanel.h
* Headers/AppKit/NSTableView.h
* Headers/AppKit/NSTextView.h
* Headers/AppKit/NSWindow.h: Use GS_PROTOCOLS_HAVE_OPTIONAL to
protect the @optional keyword in protocol definitions.
Based on base patch by Marcus Mueller <znek@mulle-kybernetik.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37530 72102866-910b-0410-8b05-ffd578937521
2013-12-31 18:30:46 +00:00
Fred Kiefer
3ad5c33813
* Headers/Additions/GNUstepGUI/GSModelLoaderFactory.h,
...
* Source/GSModelLoaderFactory.m: Add new method +supportedTypes.
* Source/NSBundleAdditions.m: Use this new method to implement
NIB resource detection on top of the base methods instead of doing
it here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37421 72102866-910b-0410-8b05-ffd578937521
2013-12-01 12:26:12 +00:00
Fred Kiefer
dddd3f5e3b
* configure.ac: Try to improve the ICU detection.
...
* configure: regenerate
* Headers/AppKit/NSTrackingArea.h
* Source/NSTrackingArea.m: Remove compiler warnings.
* Headers/AppKit/NSBrowser.h,
* Source/NSBrowser.m: Add a few new Cocoa methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37399 72102866-910b-0410-8b05-ffd578937521
2013-11-22 22:44:37 +00:00
Fred Kiefer
2c7ebd84a2
Add some OSX 10.6 methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37247 72102866-910b-0410-8b05-ffd578937521
2013-10-17 21:05:15 +00:00
Eric Wasylishen
d9da770d5b
* Source/GSThemeDrawing.m:
...
* Source/GSThemeTools.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Small refactor:
most uses of -[GSTheme fillRect:withTiles:background:] use
[NSColor clearColor], so add a version without the background:
param.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37244 72102866-910b-0410-8b05-ffd578937521
2013-10-16 07:19:45 +00:00
Eric Wasylishen
326a3d57f4
* Source/GSThemeDrawing.m:
...
* Headers/Additions/GNUstepGUI/GSTheme.h: Add methods
-menuSubmenuHorizontalOverlap and -menuSubmenuVerticalOverlap
wrapping user defaults GSMenuSubmenuHorizontalOverlap and
GSMenuSubmenuVerticalOverlap
* Source/NSMenuView.m (-locationForSubmenu:): Offset calculations
by -[GSTheme menuSubmenuHorizontalOverlap] and
-[GSTheme menuSubmenuVerticalOverlap]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37243 72102866-910b-0410-8b05-ffd578937521
2013-10-16 07:08:15 +00:00
Eric Wasylishen
c05595c8be
* Source/GSThemeDrawing.m (-drawColorWellBorder:...): Draw inner
...
border using part GSColorWellInnerBorder
* Source/GSTheme.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Add GSColorWellInnerBorder
part name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37240 72102866-910b-0410-8b05-ffd578937521
2013-10-16 04:11:41 +00:00
Eric Wasylishen
310b7d5786
* Headers/Additions/GNUstepGUI/GSTheme.h: Remove GSScrollViewBottomCorner
...
part name, instead themes should just provide a part called NSScrollView.
Add -scrollViewScrollersOverlapBorders method.
* Source/GSTheme.m: Remove GSScrollViewBottomCorner part name.
* Source/GSThemeDrawing.m: Add -scrollViewScrollersOverlapBorders.
* Source/GSThemeDrawing.m (-drawBrowserRect:...): If
-scrollViewScrollersOverlapBorders is enabled, fill the browser background
with the NSScrollView tile.
* Source/GSThemeDrawing.m (-drawScrollViewRect:...): If
-scrollViewScrollersOverlapBorders is enabled, fill the scroll view background
with the NSScrollView tile.
* Source/NSScroller.m (-rectForPart:): Change the meaning of the
GSScrollerKnobOvershoot default so the knob only overlaps the buttons
by this much (rather than both ends of the track). Turns out this is more
useful for themes.
* Source/NSScrollView.m (-tile): Add support for
-[GSTheme scrollViewScrollersOverlapBorders]
* Source/NSBrowser.m (-tile): Add support for
-[GSTheme scrollViewScrollersOverlapBorders] and
-[GSTheme scrollViewUseBottomCorner]
The overall point of these additions is to support NSScrollView and
NSBrowser looking like: http://jesseross.com/clients/gnustep/ui/concepts/
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37238 72102866-910b-0410-8b05-ffd578937521
2013-10-15 23:26:51 +00:00
Eric Wasylishen
1fdf58e506
* Headers/Additions/GNUstepGUI/GSTheme.h: Add -tabViewContentRectForBounds:
...
method.
* Source/GSThemeDrawing.m:
* Source/NSTabView.m: Move the -contentRect implementation to GSTheme
so we can delegate to GSDrawTiles, if used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37234 72102866-910b-0410-8b05-ffd578937521
2013-10-15 07:27:44 +00:00
Eric Wasylishen
6f4a16835b
* Headers/Additions/GNUstepGUI/GSTheme.h: Add three new theme
...
control state: GSThemeFirstResponderState,
GSThemeHighlightedFirstResponderState,
and GSThemeSelectedFirstResponderState. This lets themes draw
custom first responder tiles, if the desired effect can't be
accomplished by drawing on top of an existing button.
* Source/GSThemeDrawing.m (-drawFocusFrame:inRect:):
Use tiles named "NSFocusRing" if available, else draw dotted
rect.
* Source/GSTheme.m:
* Source/NSButtonCell.m: Use new GSTheme*FirstResponderState
states
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37227 72102866-910b-0410-8b05-ffd578937521
2013-10-14 17:18:38 +00:00
Eric Wasylishen
5501a5a4b7
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/GSTheme.m: Add GSProgressIndicatorBezel part name
* Source/GSThemeDrawing.m (-drawProgressIndicatorBezel:withClip:):
Use GSProgressIndicatorBezel to draw bezel if available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37222 72102866-910b-0410-8b05-ffd578937521
2013-10-14 03:31:54 +00:00
Eric Wasylishen
3e533f43b1
* Source/GSThemeDrawing.m:
...
* Source/GSTheme.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Add part names for
themeing bottom tabs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37211 72102866-910b-0410-8b05-ffd578937521
2013-10-09 01:48:50 +00:00
Eric Wasylishen
7d7cac6780
* Source/GSThemeDrawing.m: Rewrite tab drawing code to be more
...
organized, lay out the images in a straightforward way, and
allow themeing the fill part of the tab between the end images.
The output is almost pixel-identical to
the old code (only some unnoticable 1-pixel differences
in where shadows end). It's also organized so that adding support
for left and right tabs should be easy.
* Headers/Additions/GNUstepGUI/GSTheme.h: Add some part names
* Images/common_Tab*.tiff: Tweak to work with the new layout code.
All top images are now the same size, as are all bottom images.
* Images/GNUmakefile:
* Images/common_TabUnSelectToSelectedJunction.tiff: Renamed to
Images/common_TabUnSelectedToSelectedJunction.tiff
* Source/GSThemePrivate.h:
* Source/GSTheme.m: Add GSStringFromTabViewType utility function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37205 72102866-910b-0410-8b05-ffd578937521
2013-10-08 08:01:23 +00:00
Eric Wasylishen
69acbb22b1
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/GSThemeDrawing.m:
* Source/NSPopUpButtonCell.m:
Remove -[GSTheme drawBorderAndBackgroundForPopUpButtonCell:
withFrame:inView:state:] which I added recently, and just use
-[GSTheme drawButton:in:view:style:state]. This way,
NSPopUpButtonCell automatically supports all of the different
NSBezelStyles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37202 72102866-910b-0410-8b05-ffd578937521
2013-10-07 07:29:13 +00:00
Eric Wasylishen
e72fe86870
* Documentation/GuiUser/DefaultsSummary.gsdoc:
...
* Headers/Additions/GNUstepGUI/GSTheme.h:
* Source/GSThemeDrawing.m:
* Source/NSScroller.m: Add defaults GSScrollerScrollsByPage
and GSScrollerArrowsSameEnd to allow customizing scroller
behaviour beyond the combinations provided by NSInterfaceStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37200 72102866-910b-0410-8b05-ffd578937521
2013-10-07 03:29:14 +00:00
Eric Wasylishen
53dcd018ad
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/GSThemeDrawing.m:
* Source/NSBrowser.m:
* Source/NSTableHeaderCell.m: Add custom color names
tableHeaderTextColor and browserHeaderTextColor for
table and browser headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37193 72102866-910b-0410-8b05-ffd578937521
2013-10-04 02:23:16 +00:00
Eric Wasylishen
c63df23ba8
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/GSTheme.m:
* Source/GSThemeDrawing.m:
* Source/NSBox.m: Factor out -[NSBox drawRect:] to GSTheme
method -drawBoxInClipRect:boxType:borderType:inView:.
Add a tiles name GSBoxBorder for themeing the box border.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37188 72102866-910b-0410-8b05-ffd578937521
2013-10-03 19:52:05 +00:00
Eric Wasylishen
2347347cf9
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/GSTheme.m:
Declare GSSliderHorizontalTrack and GSSliderVerticalTrack
part names for themeing the background of NSSlider
* Source/GSThemeDrawing.m:
Add new drawSliderBorderAndBackground:frame:inCell:isHorizontal:
method to draw the slider border and background.
* Source/GSThemePrivate.h:
* Source/GSThemeTools.m:
Add a -size method on GSDrawTiles which returns the total
original size of the tiles, so we can easily compute a rect
that scales the tiles in only one dimension.
* Source/NSSliderCell.m:
Override _drawBorderAndBackgroundWithFrame: to call new
GSTheme method. Also, tweak the knob drawing code; the knob
is now centered and drawn at its native size. This still looks
correct with the default slider sizes create by Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37185 72102866-910b-0410-8b05-ffd578937521
2013-10-03 04:51:10 +00:00
Eric Wasylishen
dfab5c6196
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/GSTheme.m:
* Source/GSThemeDrawing.m:
* Source/NSPopUpButtonCell.m: Add a theme part GSPopUpButton
so NSPopUpButtonCell can be drawn with a different background
than NSMenuItemCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37183 72102866-910b-0410-8b05-ffd578937521
2013-10-02 23:56:16 +00:00
Eric Wasylishen
ea8ded398f
* Source/NSMenuView.m: Read the menu item/menu bar/separator
...
height from GSTheme.
* Headers/Additions/GNUstepGUI/GSTheme.h:
* Source/GSThemeDrawing.m: Add -menuBarHeight, -menuItemHeight,
-menuSeparatorHeight. Corresponding defaults are GSMenuBarHeight,
GSMenuItemHeight, GSMenuSeparatorHeight
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37182 72102866-910b-0410-8b05-ffd578937521
2013-10-02 22:06:24 +00:00
Eric Wasylishen
3bbfcbaab2
* Headers/Additions/GNUstepGUI/GSTheme.h:
...
* Source/NSScrollView.m:
* Source/GSThemeDrawing.m:
* Source/GSTheme.m: Add GSScrollViewUseBottomCorner default,
which themes can set to NO to leave a square gap in the bottom-
left (or bottom-right) corner where the horizontal and vertical
scrollers meet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37176 72102866-910b-0410-8b05-ffd578937521
2013-09-30 05:53:21 +00:00
Eric Wasylishen
67de37f017
* Source/NSBrowser.m:
...
* Source/GSThemeDrawing.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Add GSBrowserUseBezels
user default. Themes can set it to NO to prevent NSBrowser from
drawing any bezels, even if separatesColumns is set to YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37174 72102866-910b-0410-8b05-ffd578937521
2013-09-30 00:38:09 +00:00
Eric Wasylishen
8b6fffb7fc
* Source/NSBrowser.m: Change NSBR_COLUMN_SEP and NSBR_VOFFSET
...
macros to static floats. Cache the values in +initialize and
when GSThemeDidActivateNotification is sent, by calling the
new GSTheme methods.
* Source/GSThemeDrawing.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Add
-browserColumnSeparation and -browserVerticalPadding methods
which access user defaults GSBrowserColumnSeparation and
GSBrowserVerticalPadding. These determine the padding between
browser columns, and the vertical padding between the bottom
scroller, contents, and headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37171 72102866-910b-0410-8b05-ffd578937521
2013-09-29 19:36:08 +00:00
Eric Wasylishen
2fe4c2e708
* Source/GSTheme.m:
...
* Source/GSTitleView.m:
* Source/GSThemeDrawing.m:
* Headers/Additions/GNUstepGUI/GSTheme.h: Add GSMenuTitleBackground
theme tile for themeing the background of GSTitleView.
NOTE: I removed some code that was in -[GSTitleView drawRect:] for
drawing with a different style when the GSTitleView is NOT owned
by an NSMenu, but by an NSWindow/NSPanel (_ownedByMenu == NO).
If needed, this can be added back, but it doesn't appear to ever
be used in gnustep-gui - GSTitleView is only created in one place,
with NSMenu as the owner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37165 72102866-910b-0410-8b05-ffd578937521
2013-09-29 00:30:59 +00:00
Gregory John Casamento
60a1d3d511
2013-09-22 16:52-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Headers/AppKit/NSTableView.h: Add formal protocols for
NSTableViewDelegate and NSTableViewDataSource.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37138 72102866-910b-0410-8b05-ffd578937521
2013-09-22 20:51:58 +00:00
Gregory John Casamento
f875daf41b
2013-09-22 15:59-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Headers/AppKit/NSAnimation.h: Add NSAnimationDelegate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37136 72102866-910b-0410-8b05-ffd578937521
2013-09-22 19:58:31 +00:00
Gregory John Casamento
04a8a1e1a9
2013-09-18 18:17-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Headers/AppKit/AppKit.h: Add NSTrackingArea.h
* Headers/AppKit/NSTrackingArea.h: Add interface for NSTrackingArea
* Source/GNUmakefile: Add NSTrackingArea.[hm] to makefile.
* Source/NSTrackingArea.m: Add implementation for NSTrackingArea
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37112 72102866-910b-0410-8b05-ffd578937521
2013-09-18 22:19:12 +00:00
Gregory John Casamento
805aa3e3c4
Fix issue with delegate protocol as reported by Ivan.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37101 72102866-910b-0410-8b05-ffd578937521
2013-09-17 23:00:56 +00:00
Gregory John Casamento
61f497d174
Add NSWindowDelegate and NSMenuDelegate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37094 72102866-910b-0410-8b05-ffd578937521
2013-09-17 20:36:25 +00:00
Fred Kiefer
9ad339a73a
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
...
* Source/GSDisplayServer.m: Add new method -_printEventQueue.
* Source/NSWindow.m (-_checkCursorRectangles:forEvent:): Replace
hack with proper functions that handle cursor rectangles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37026 72102866-910b-0410-8b05-ffd578937521
2013-08-30 11:27:10 +00:00
Fred Kiefer
a93d126191
* Headers/AppKit/NSTreeController.h,
...
* Headers/AppKit/NSTreeNode.h: Add method declarations to these
* files.
* Headers/AppKit/AppKit.h,
* Source/GNUmakefile: Include new files.
* Source/NSObjectController.m (+initialize, -selection): Get
* basic
binding example working.
* Source/NSTreeController.m: Minimal implementation.
* Source/NSTreeNode.m: Full implementation of this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36991 72102866-910b-0410-8b05-ffd578937521
2013-08-19 19:10:22 +00:00
Fred Kiefer
ef49975949
Add code by Nikolaus Schaller <hns@computer.org>, reformatted and
...
simplified.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36982 72102866-910b-0410-8b05-ffd578937521
2013-08-17 13:39:16 +00:00
Luboš Doležel
ceb8720fb2
* Headers/AppKit/NSSavePanel.h,
...
* Source/NSSavePanel.m: beginSheetModalForWindow: and
beginWithCompletionHander: implementations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36968 72102866-910b-0410-8b05-ffd578937521
2013-08-12 18:10:38 +00:00
Gregory John Casamento
4032737cf0
Add placeholder for NSStatusItem.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36950 72102866-910b-0410-8b05-ffd578937521
2013-08-08 20:28:33 +00:00
Riccardo Mottola
28fff5bc13
Add license to the Theme properties
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36889 72102866-910b-0410-8b05-ffd578937521
2013-07-15 13:20:41 +00:00
Fred Kiefer
32299abf5b
* Headers/Additions/GNUstepGUI/GSDisplayServer.h
...
* Source/GSDisplayServer.m: Add new method -setIgnoreMouse::
* with
empty implementation.
* Source/NSWindow.m (-setIgnoresMouseEvents:): Use this new
* method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36854 72102866-910b-0410-8b05-ffd578937521
2013-07-08 20:42:49 +00:00
Germán Arias
17db14c969
Revert last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36849 72102866-910b-0410-8b05-ffd578937521
2013-07-08 01:33:25 +00:00
Germán Arias
5cfee62130
Prevent duplicate the cursor with -push.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36848 72102866-910b-0410-8b05-ffd578937521
2013-07-07 18:33:01 +00:00
Quentin Mathe
da2351d2b2
Added support for providing custom theme control images (e.g. checkbox) in the same way we support it for tiles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36836 72102866-910b-0410-8b05-ffd578937521
2013-07-04 15:46:11 +00:00
Eric Wasylishen
520993931f
Add NSDrawThreePartImage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36824 72102866-910b-0410-8b05-ffd578937521
2013-07-03 16:19:24 +00:00
Germán Arias
eb8b6c98cf
Add NSCancelTextMovement and NSOtherTextMovement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36692 72102866-910b-0410-8b05-ffd578937521
2013-06-02 17:17:12 +00:00
Gregory John Casamento
f14cc1f3bc
* Headers/AppKit/NSPopover.h: correct delegate method
...
for popoverShouldClose:
* Headers/AppKit/NSWindow.h: add convertRectToScreen: and
convertRectFromScreen: methods.
* Source/NSPopover.m: Correct delegate method for popoverShouldClose:.
Changes to align popover window with rect it is being placed relative
to.
* Source/NSWindow.m: implementation of convertRectToScreen: and
convertRectFromScreen: methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36577 72102866-910b-0410-8b05-ffd578937521
2013-04-24 09:25:56 +00:00
Fred Kiefer
4d4147aab9
* Headers/AppKit/NSPopover.h,
...
* Source/NSPopover.m: Adjust to GNUstep coding standards.
* Source/externs.m: Move new strings to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36555 72102866-910b-0410-8b05-ffd578937521
2013-04-21 21:32:36 +00:00
Fred Kiefer
a1b3e2e2f5
* Headers/AppKit/AppKit.h: Add NSCollectionView.h and
...
NSCollectionViewItem.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36554 72102866-910b-0410-8b05-ffd578937521
2013-04-21 17:22:42 +00:00
Fred Kiefer
12a29ad4d7
* Source/NSCollectionView.m (-_moveUpAndExpandSelection:):
...
* Correct
the comparision. Bug reported by Gregory John Casamento
<greg.casamento@gmail.com>
* Headers/AppKit/NSPopover.h: Add missing import.
* Source/GSXibLoader.m: Disable NSCustomView hack again.
* Headers/AppKit/NSApplication.h: Replace GSAppDelegateProtocol
with NSApplicationDelegate.
* Source/NSApplication.m: Adjust documentation to this
* replacement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36553 72102866-910b-0410-8b05-ffd578937521
2013-04-21 16:57:58 +00:00
Gregory John Casamento
eab097631c
* Headers/AppKit/AppKit.h: Add NSPopover.h to set of files
...
included.
* Headers/AppKit/NSApplication.h: Add NSApplicationDelegate.
Inherit from GSAppDelegateProtocol.
* Headers/AppKit/NSPopover.h: NSPopover header.
* Source/GNUmakefile: Added NSPopover.[hm]
* Source/GSXibLoader.m: Translate NSCustomView to NSView when
unarchiving.
* Source/NSPopover.m: Skeletal implementation of NSPopover.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36552 72102866-910b-0410-8b05-ffd578937521
2013-04-21 13:45:20 +00:00
Fred Kiefer
18d741ce80
* Source/NSTableView.m (-selectedColumnIndexes,
...
* -selectedRowIndexes): Return an
autoreleased copy of the corresponding ivar. Returning a
reference to the ivar
leads to issues (and behavior different from Cocoa) when
iterating thru the
indexsets if at a time they would be being altered.
Patch by Frank LeGrand (flegrand@testplant.com ).
* Source/GNUmakefile: Add NSCollectionViewItem.
* Headers/AppKit/NSCollectionView.h,
* Headers/AppKit/NSCollectionViewItem.h,
* Source/NSCollectionViewItem.m,
* Source/NSCollectionView.m: Bring closer to the GNUstep coding
* standard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36551 72102866-910b-0410-8b05-ffd578937521
2013-04-21 13:28:47 +00:00
Gregory John Casamento
eeffa67a4e
* Headers/AppKit/NSCollectionView.h
...
* Headers/AppKit/NSCollectionViewItem.h
* Source/GNUmakefile
* Source/NSCollectionViewItem.m
* Source/NSCollectionView.m: Added NSCollectionView and
NSCollectionViewItem classes from testplant branch. Made changes
to original patch to conform to coding standards, NSCoding for
non-keyed archiving and moved instances of float/integer to
CGFloat and NSInteger/NSUInteger as appropriate.
Patch by Doug Simons (dsimons@testplant.com ) and
Frank LeGrand (flegrand@testplant.com ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36545 72102866-910b-0410-8b05-ffd578937521
2013-04-18 03:57:49 +00:00
Fred Kiefer
3aa97e1975
* Headers/AppKit/NSKeyValueBinding.h,
...
* Source/externs.m: Additional binding name
* NSContentValuesBinding.
* Source/NSPopUpButton.m: Add KVB for NSContentValuesBinding.
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>
* Source/NSArrayController.m: Encode/decode
* clearsFilterPredicateOnInsertion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36540 72102866-910b-0410-8b05-ffd578937521
2013-04-15 20:20:38 +00:00
Fred Kiefer
12c4d6cbdb
* Source/NSEvent.m,
...
* Source/NSParagraphStyle.m: Use NSInteger instead of enumerator
type name for decoding and encoding.
* Header/AppKit/NSFontPanel.h,
* Header/AppKit/NSOpenPanel.h,
* Header/AppKit/NSDataLinkPanel.h,
* Source/NSDataLinkPanel.m,
* Header/AppKit/NSForm.h,
* Source/NSForm.m,
* Header/AppKit/NSHelpPanel.h,
* Source/NSHelpPanel.m,
* Source/NSColorPanel.m: Remove unused encoding/decoding
* methods.
* Source/NSCustomImageRep.m,
* Source/NSEPSImageRep.m,
* Source/NSMovie.m,
* Source/NSRulerMarker.m,
* Source/NSColorList.m: Flag missing keyed encoding/decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36377 72102866-910b-0410-8b05-ffd578937521
2013-03-17 19:53:50 +00:00
Fred Kiefer
c2d01aeca2
* Headers/AppKit/NSTextView.h: Make NSTextViewDelegate a formal
...
protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36306 72102866-910b-0410-8b05-ffd578937521
2013-03-08 10:45:35 +00:00
Sebastian Reitenbach
6bb67c5e40
* Headers/AppKit/NSOutlineView.h
...
int -> NSInteger transitions for NSOutlineView protocol
OK Fred
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36240 72102866-910b-0410-8b05-ffd578937521
2013-03-02 18:09:21 +00:00
Sebastian Reitenbach
1bda279897
* Source/NSMenuItemCell.m
...
* Headers/AppKit/NSMenuItemCell.h
float -> CGFloat transitions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36238 72102866-910b-0410-8b05-ffd578937521
2013-03-02 18:06:25 +00:00
Fred Kiefer
0c95f32580
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36163 72102866-910b-0410-8b05-ffd578937521
2013-02-17 22:44:47 +00:00
Fred Kiefer
b1fc7cb066
Correct coding/decoding after type changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36160 72102866-910b-0410-8b05-ffd578937521
2013-02-17 16:53:48 +00:00
Fred Kiefer
152b94069f
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36154 72102866-910b-0410-8b05-ffd578937521
2013-02-17 00:49:04 +00:00
Fred Kiefer
7ef53c8232
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36153 72102866-910b-0410-8b05-ffd578937521
2013-02-16 21:37:29 +00:00
Fred Kiefer
270baf4037
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36148 72102866-910b-0410-8b05-ffd578937521
2013-02-16 00:08:33 +00:00
Quentin Mathe
e4e5428122
Replaced -_dataCellForTableColumn:row: by -preparedCellAtColumn:row: new public method from Mac OS X 10.5
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36136 72102866-910b-0410-8b05-ffd578937521
2013-02-14 10:34:20 +00:00
Fred Kiefer
d4f80c2258
Change NSEvent to CGFloat, NSUInteger and NSInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36121 72102866-910b-0410-8b05-ffd578937521
2013-02-13 08:40:36 +00:00
Fred Kiefer
f078b2daaf
* Headers/AppKit/NSSplitView.h
...
* Source/NSSplitView.m: Change to CGFloat, NSUInteger and NSInteger.
Patch partly by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36109 72102866-910b-0410-8b05-ffd578937521
2013-02-10 21:32:07 +00:00
Fred Kiefer
cda7dc977f
* Headers/AppKit/NSPageLayout.h
...
* Source/NSPageLayout.m: Change int to NSInteger.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36092 72102866-910b-0410-8b05-ffd578937521
2013-02-08 17:50:25 +00:00
Fred Kiefer
340c7eb879
Change DPS/PS functions to CGFloat and NSInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36063 72102866-910b-0410-8b05-ffd578937521
2013-02-05 19:18:49 +00:00
Fred Kiefer
e62fddeea0
Change NSBezierPath to use NSInteger and CGFloat and adjust uses to
...
this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36054 72102866-910b-0410-8b05-ffd578937521
2013-02-01 14:03:08 +00:00
Fred Kiefer
1aa1803744
* Headers/AppKit/NSBrowser.h
...
* Headers/AppKit/NSFontPanel.h
* Headers/AppKit/NSMatrix.h
* Headers/AppKit/NSTableView.h
* Source/NSBrowser.m
* Source/NSFontPanel.m
* Source/NSMatrix.m: Small fixes to last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36042 72102866-910b-0410-8b05-ffd578937521
2013-01-30 22:13:32 +00:00
David Chisnall
40fb48e5de
Next bit of NSInteger cleanup for -gui.
...
Fix all of the current warnings in Gorm so that it can be used to test
NSInteger things.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36039 72102866-910b-0410-8b05-ffd578937521
2013-01-30 12:43:27 +00:00