fredkiefer
560f68323b
* Source/NSBundleAdditions.m (-pathForNibResource:): Report type
...
not filename while iterating.
2019-12-29 22:19:24 +01:00
fredkiefer
d25610bf6a
Merge branch 'master' into xib_document
2019-12-24 13:15:38 +01:00
fredkiefer
13c87bc9d0
"pullsDown" should not default to true.
2019-12-24 11:36:56 +01:00
fredkiefer
5c9c641113
Reenable userDefinedRuntimeAttribute handling that got lost.
...
Correct releasing of reference elements.
Add more font attributes and get the values from NSFont.
2019-12-22 13:46:50 +01:00
Sergii Stoian
1d0d5595a0
* Source/NSBrowser.m (frameOfColumn:): shift up column only for browser
...
with separated sparated columns layout.
(tile): fix column height calculation; moved sanity check of column
height closer to calculation; removed code that duplicates code below.
2019-12-18 17:35:59 +02:00
Sergii Stoian
3086184b2b
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): minor variables fixes for
...
variables usage.
2019-12-17 19:50:45 +02:00
Sergii Stoian
7c6a22d174
* Source/NSScrollView.m (tile): tweak location and height of vertical
...
scroller if header or corner view available.
* Source/GSThemeDrawing.m: (drawTableCornerView:withClip:): do not draw
black rectangle because -drawDarkButton:withClip: draws all necessary
elements.
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): further cleanup
of method implementation. Removed all tweaks of scroller length - all
required calculations must be done in NSScrollView's -tile method. Simplified
caluclations of X and Y positions of scroller.
2019-12-17 17:30:51 +02:00
Sergii Stoian
20db33e008
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:):
...
Use [self sizeForBorderType: borderType] to determine border width.
2019-12-17 13:29:30 +02:00
Sergii Stoian
5c96e8ba02
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): fixed scroller
...
border positionning and length - do not overlap border if any.
2019-12-17 02:16:05 +02:00
fredkiefer
cbda1229ed
Improve string shortening for display.
2019-12-14 18:22:03 +01:00
fredkiefer
d6cfd60462
Add handling for resources. Currently only works for images.
2019-12-14 17:46:29 +01:00
fredkiefer
c542f5df99
Fix accicental copy
2019-12-14 16:35:37 +01:00
fredkiefer
6483cf5037
Handle boolean values with a default of YES once.
...
Remove duplicated code to decode specific types.
Correct handling of NSNoAutoenable.
2019-12-14 14:23:43 +01:00
fredkiefer
9977b1a921
Imporve toolbar loading.
...
Build toolbar after NIB loading it.
2019-12-13 23:58:14 +01:00
fredkiefer
bb22c61d3b
Simplifiy special code for connections.
...
Use helper method to create references.
Add toolbar support for windows template.
2019-12-13 18:21:49 +01:00
fredkiefer
e3c9e91ec1
Merge branch 'master' into xib_document
2019-12-13 16:56:09 +01:00
fredkiefer
2b701f8ba3
Add entries for toolbar item
2019-12-13 16:53:56 +01:00
Sergii Stoian
5884e55419
* Source/NSFont.m (smallSystemFontSize): return 10 as default value.
...
Update documention comment regarding default values for NSMiniFontSize
ans NSSmallFontSize.
2019-12-12 23:20:12 +02:00
fredkiefer
cffa72f107
Add first keys for toolbar decoding
2019-12-12 21:18:45 +01:00
fredkiefer
d5b913c53b
Move string UTF8 handling code to super class, where there is similar code.
2019-12-12 17:18:35 +01:00
fredkiefer
83963f9d2a
More code simplifications.
2019-12-11 23:46:44 +01:00
Sergii Stoian
e5a7cba164
* Source/NSWindow.m
...
(initialize): use MiniWindowTile image for miniwindow tile.
(drawRect:): adjusted position of title cell to fit tile image.
(setTitle:): disable drawing of title cell background;
use NSMiniControlSize font size for miniwindow title cell.
* Source/NSFont.m (systemFontSizeForControlSize:): increased default font
size for NSMiniControlSize.
2019-12-11 14:30:44 +02: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
Sergii Stoian
1d19c11923
* Source/GSHorizontalTypesetter.m: removed extra imports left from
...
last 2 commits.
2019-12-11 12:13:09 +02:00
fredkiefer
3b48bd6277
Simplify alternate name generation
2019-12-11 10:20:48 +01:00
fredkiefer
ed79392a09
Four outlet use source instead of target.
2019-12-10 23:38:35 +01:00
fredkiefer
4b8a25072c
Add code from Eggplant to shorten strings when displaying in a rect.
...
This code has been partially rewritten.
2019-12-10 22:23:51 +01: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
fredkiefer
519d00ea99
Handle menu items with the standard mechanism.
2019-12-10 16:59:08 +01:00
Sergii Stoian
5415783c56
* Source/GSHorizontalTypesetter.m: (_addExtraLineFragment) get paragraph style and
...
font from NSLayoutManager's typing attributes. Fixes insertion point height for empty
text objects (NSTextView, NSTexField etc.).
2019-12-10 02:09:13 +02:00
Gregory John Casamento
defbd3889f
Merge branch 'master' of github.com:gnustep/libs-gui
2019-12-09 18:45:23 -05:00
Gregory John Casamento
32a5712945
Fix address and license name in all files.
2019-12-09 18:45:15 -05:00
fredkiefer
a69826e40a
Started small cleanups.
2019-12-09 16:35:29 +01: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
9032de5842
Merge branch 'master' into xib_document
2019-12-09 11:16:39 +01:00
Sergii Stoian
01ccd98752
* NSStringDrawing: fixed incorrect string drawing (shortened, misplaced)
...
in ART backend. It seems that third parameter to `cache_lookup` function
(useScreenFonts) is valuable for ART but not for Cairo backend.
2019-12-09 01:18:53 +02: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
5b8db43dd2
Delegate to the rep instead of using the lower level function
2019-12-04 08:22:43 -05:00
Gregory John Casamento
676066b94d
Fix issue with formatting
2019-12-04 08:16:26 -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
95dbcd2b40
Merge branch 'master' into NSImageReps_branch
2019-12-03 13:11:21 -05:00
Gregory John Casamento
6adaf911b5
Complete NSPICTImageRep implementation
2019-12-03 08:30:17 -05:00
fredkiefer
7f07e4dd43
* Source/NSBitmapImageRep.m (-_convertToFormatBitsPerSample:...):
...
+ Correct division by zero bug in image conversion.
2019-12-02 22:46:44 +01: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
b13662baac
remove method
2019-11-29 13:12:25 -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
4afa52fb1e
Add PICT structure
2019-11-26 19:15:12 -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
Gregory John Casamento
8977cd7a76
Add missing file.
2019-09-14 09:31:22 -04:00
Gregory John Casamento
95736faf13
Remove uneeded file.
2019-09-11 20:17:32 -04:00
Gregory John Casamento
b69ffad1f9
Fix minor issues with move of NSFileWrapper
2019-09-11 12:31:38 -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
5756e5f396
* Source/NSSliderCell.m: Fix encoding/decoding as the types don't match.
...
* Source/NSApplication.m (-targetForAction:to:from:): Warn only in
debug mode about the target not responding to the action.
2019-07-28 20:12:26 +02: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
Sergii
5cd059d40c
Merge pull request #1 from gnustep/master
2019-04-22 12:12:50 +03:00
Gregory John Casamento
f6f36041b3
Initial implementations
2019-04-20 08:00:23 -04: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
Sergii Stoian
73d3aec68f
* Source/GSDragView.m (_setCursor): Do not hold cursors
array -
...
use NSCursor's methods. Do not recolor cursor and just use
[NSCursor greenArrowCursor].
2019-04-17 17:44:54 +03:00
Gregory John Casamento
dd8a79f0df
Add code to trim newlines if cell is in single line mode. Add code to encode single line mode
2019-04-13 23:43:27 -04:00
Gregory John Casamento
20b9c44626
Add code to read flag from nib file for usesSingleLineMode
2019-04-13 21:29:29 -04:00
Gregory John Casamento
9b248d7b64
Merge branch 'master' of github.com:gnustep/libs-gui into bug33395_uses_single_line_mode
2019-04-12 08:21:37 -04:00
Sergii Stoian
4da4aa142b
(drawKeyEquivalentWithFrame:inView:): use NCell's textColor instead of check
...
if we're disabled/enabled.
2019-04-10 12:08:33 +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
1b0e90686a
(drawKeyEquivalentWithFrame:inView:): check if item is disabled/enabled and set
...
color attribute for attributed key equivalent string.
2019-04-10 00:40:20 +03:00
Sergii Stoian
9295b2311b
(_keyEquivalentString): if modifier key string is not defined - set key
...
equivalent font trait: Italic for Alternate modifier Bold - for Control.
(_sizeKeyEquivalentText:): new method to calculate string size wrt font
set in `_keyEquivalentString:`.
(drawKeyEquivalentWithFrame:inView:): draw key equivalent as attributed
string.
2019-04-09 18:51:23 +03:00
Sergii Stoian
7e2ce21a24
* Source/NSApplication.m: (needsPanelToBecomeKey): removed superfluous
...
override - superclass (NSView) already returns `NO`.
2019-04-08 12:57:43 +03:00
Sergii Stoian
e27ffe6330
* Source/NSApplication.m (becomesKeyOnlyIfNeeded),
...
(needsPanelToBecomeKey): override NSWindow and NSView methods
in appicon to reduce number of order front calls. The source
of the calls is NSWindow's sendEvent:.
2019-04-08 02:54:35 +03:00
Sergii Stoian
b5e65175a3
hidewindow
methods was renamed to hideApplication
.
2019-04-06 22:36:56 +03:00
Sergii Stoian
f5bcf3019b
Change comments upon request of @fredkiefer.
2019-04-06 01:23:17 +03:00
Sergii Stoian
07dcc41ad0
(hidewindow:): fixes to return value and type.
2019-04-06 00:25:09 +03:00
Sergii Stoian
f018c2087b
Added support for WindowMaker's WMFHideApplication action.
2019-04-05 14:07:33 +03:00
Sergii Stoian
f8c955acf4
Optimize -autolaunch YES
checking code.
2019-04-03 02:10:37 +03:00
Sergii Stoian
df5a79d769
Removed temporary debug output.
2019-04-03 00:53:08 +03:00
Sergii Stoian
2071f6acdd
Do not activate application on first run of -activateIgnoringOtherApps:
if commandline argument -autolaunch YES
was specified.
2019-04-02 19:45:14 +03:00
Gregory John Casamento
9fba22c582
Fix issue with new attribute
2019-03-27 00:53:43 -04: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
a7d572f744
* Source/NSBitmapImageRep+ICNS.m (_imageRepsWithICNSData:): Try to
...
put the best suited image first.
2019-02-26 21:31:11 +01: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
682aa3ccdc
Do guard includes for getmntinfo and mntent separately, should help building on Debian/kFreeBSD and fix 55526, but could need more work.
2019-01-21 23:23:16 +01:00
fredkiefer
8e57d2a127
* Documentation/news.texi: Fill in some details for pending release.
...
* Source/NSTableView.m (encodeWithCoder:,initWithCoder:): Use
unsigned int instead of unsigned long for flags.
2019-01-04 17:01:57 +01:00
Riccardo Mottola
b8e6de05a3
On linux, try to read /sys/block/xxx/removable information to get information about removable volumes, while continue honoring preferences. This can be a little inefficient if called for each volume. Furthermore in mountedLocalVolumePaths, enhance skipping reserved mount names by using filesystem type also if getmmntent is available.
2018-11-19 01:49:02 +01:00
fredkiefer
b90d3a341e
* Source/NSGraphicsContext.m (+graphicsContextWithGraphicsPort:flipped:):
...
Rewrite using an init method.
2018-09-14 22:18:16 +02:00
Wolfgang Lux
397a4116cc
Avoid calling iconSize method on a null pointer.
2018-08-05 11:18:32 +02:00
fredkiefer
0e1c392ff0
* Source/NSApplication.m (-applicationIconImage): Lazy load the app icon.
2018-08-03 19:37:29 +02:00
fredkiefer
9d8dc3ba55
* Source/NSView.m (-beginPageInRect:atPlacement): Remove check for
...
empty rect. This will now use the placement translation all the time.
2018-07-27 10:09:44 +02:00
Gregory John Casamento
d4bfdd5580
Fix issue with app icon.
2018-07-20 09:15:26 -04:00
Gregory John Casamento
c9ae46c7ce
Fix app icon in dock
2018-07-20 04:08:26 -04:00
fredkiefer
4b04426c06
* Source/NSPrinter.m (-addPPDKeyword:withScanner:withPPDPath:):
...
Protect against value being nil.
* Source/NSPageLayout.m (-tableView:objectValueForTableColumn:row:):
With standard papers, calculate margins taking into account factorValue.
* Source/NSPrintInfo.m (-initWithDictionary): Fix border calculation.
Idea by Yavor Doganov <yavor@gnu.org>
2018-07-14 20:21:32 +02:00
Ivan Vučica
44f8a4dccb
NSOpenGLView.m: Fix docstring for -[NSOpenGLView initWithFrame:pixelFormat:].
...
There is no such thing as +[NSOpenGLContext defaultPixelFormat].
2018-07-08 12:43:29 +00:00
Riccardo Mottola
96fbdaa81f
Check for floorf() and provide simple replacement
2018-06-11 23:46:06 +02:00
Fred Kiefer
584adbd401
Merge branch 'master' into document-nswindowcontroller
2018-05-28 02:56:25 -04:00
fredkiefer
2f9c16ad81
* Source/NSDocument.m (-revertToContentsOfURL:ofType:error:): Add
...
override calls for deprecated methods.
2018-03-30 17:01:12 +02:00
Graham Lee
436f5efb8f
Document methods I have recently used in NSWindowController
2018-03-29 19:38:54 +01: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
5735e0775d
* Source/NSSegmentedCell.m (-startTrackingAt:inView:,
...
-continueTracking:at:inView:): Add this methods to enable
tracking for this class.
Patch suggested by Josh Freeman <pikopixel@twilightedge.com>.
2018-02-27 23:32:11 +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
41e02a5ed5
* Source/GSDisplayServer.m: Store the current display server in a
...
static variable and not in a thread variable.
Idea by Yavor Doganov <yavor@gnu.org>
2018-02-09 21:31:03 +01:00
fredkiefer
caa58cf72b
Tiny fix for bug found by valgrind.
...
Make sure nominal gets always set for a glyph.
2018-02-05 23:25:36 +01:00
fredkiefer
712e7a4e15
Close sheet before removing from parent.
...
* Source/NSAlert.m (NSBeginAlertSheet): Move closing the sheet from
here...
* Source/NSApplication.m (-beginSheet:...:contextInfo:): ...to here.
2018-02-04 21:18:43 +01:00
fredkiefer
9451330883
* Source/NSApplication.m (-targetForAction:to:from:): Warn about
...
the target not responding to the action.
* Source/NSSavePanel.m (_initWithoutGModel): Don't set the OK
button as the target of the browser. Use helper method instead.
2018-01-23 20:56:52 +01:00
fredkiefer
618e31ff42
* Source/NSMenu.m (-update): Restructure by splitting up into two
...
helper methods.
* Source/NSMenu.m (-performKeyEquivalent:): Use new helper method
to only autoenable menu item with matching key equivalent.
2018-01-14 18:41:23 +01:00
fredkiefer
d31ae5f49b
* Source/GSLayoutManager.m
...
(-glyphRangeForCharacterRange:actualCharacterRange:): Try to
handle attachments at the end of the file more graceful.
2018-01-14 18:17:05 +01:00
fredkiefer
85ba90244b
* Source/NSView.m (-_rebuildCoordinates): Use simple path only
...
when both window and superview are nil. Set the visibleRect in
this case to bounds.
2018-01-07 16:47:36 +01:00
fredkiefer
0c46bc4380
* Source/NSApplication.m (-targetForAction:to:from:): Return nil
...
if the target is non-nil but does not respond to the action.
2018-01-07 15:09:57 +01:00
Richard Frith-Macdonald
ec19a2de9a
Workaround for apparent clang bug calculating ivar offset into NSThread object.
2017-12-27 12:15:31 +00:00
Ivan Vučica
280c3e0095
Clean up -[NSImage initWithCoder:], reduce amount of releases of self.
...
Some context available in PR #12 and PR #13 .
2017-12-07 19:07:43 +00:00
fredkiefer
7270f8efc7
Add new backingScaleFactor method on NSScreen.
2017-12-03 22:02:06 +01:00
Ivan Vučica
350ba62d7d
Cleanup: Replace tabs with spaces in NSImage.m.
2017-10-29 14:25:47 +00:00
Graham Lee
aff13d41bb
correct decoding of named images from keyed archivers
...
As @tedge noted on the original pull request for this work, I didn't return the correct object in the keyed archiver case.
2017-10-29 14:23:35 +00:00
Graham Lee
2c34ae8fe5
revert spurious whitespace change
2017-10-28 08:48:36 +01:00
Graham Lee
5e3ed6dff7
If an unknown named image is unarchived, keep the name
2017-10-28 08:45:05 +01:00
fredkiefer
e3d51643ca
Protect against [window screen] returning nil.
2017-10-05 23:05:28 +02:00
fredkiefer
3ac7a369c5
* Source/NSStepperCell.m (-trackMouse:...untilMouseUp:): Adjust
...
to changes in super class.
2017-08-31 23:57:41 +02:00
fredkiefer
c72d2df3ff
* Source/NSButtonCell.m (-setButtonType:): Warn about unsupported
...
button types.
* Source/NSCell.m (-performClickWithFrame:inView:): Highlight the
cell only if drawing is possible.
2017-08-27 11:23:43 +02:00
fredkiefer
e853f4fdbf
Rewrote mouse tracking logic to be closer to the Cocoa definition.
2017-08-27 11:13:17 +02:00
Daniel Ferreira
3a1bec5d1f
Externs: add private string attribute definitions
...
Define some private NSAttributedString attribute name definitions. Their
functionality is not yet implemented.
2017-08-27 01:42:00 +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
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
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
5a66de7139
Externs: export the _NXSmartPaste constant
...
Export the private _NXSmartPaste constant for compatibility purposes.
2017-08-27 01:42:00 +01:00