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
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
Riccardo Mottola
78be5ef0ea
Initialize density to 0, so that in case it is unset (72dpi) it is not a random value in case the struct is not zeroed
2017-08-25 14:20:58 +02: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
Ivan Vučica
1cb15c2735
Remove RETAIN() when returning -[NSPasteboardItem types].
...
Objective-C memory management policy specifies that methods named with
alloc, new, copy and mutableCopy are the ones that return objects with
refcount 1.
Additionally, `@property (..., copy, ...)` only modifies the setter; the getter
still returns the object as-is. While it should be correct to create
a new immutable object every time, we should not create an object
with refcount 1, but an autoreleased object.
2017-07-31 11:36:15 +01:00
Ivan Vučica
4026fbc2be
Add _startingItemNumber-related TODOs to NSTextList.
2017-07-31 11:26:43 +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
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
fredkiefer
e85a1a0664
* Source/NSMenuView.m (-attachSubmenuForItemAtIndex:): We should
...
not use [NSMenu display] for NSWindows95InterfaceStyle as there we
have two NSMenuViews for the NSMenu.
2017-07-28 19:24:45 +02:00
Riccardo Mottola
5627b69f1a
Do not initialize a string constant with another string constant or it breaks GCC build as is. Better proposals to ensure the exact same string pointer is used welcome.
2017-07-26 14:23:00 +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
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
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
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
fredkiefer
fd6e7f2e42
Fix small bug found by compiler.
2017-07-22 20:44:45 +02: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
Riccardo Mottola
4ba0fa25cc
Save resolution information if it is different from 72 dpi
2017-06-20 20:14:50 +00:00
fredkiefer
fc8c034aca
* Source/externs.m: Added semicolons missing in last commit.
...
* Source/NSSavePanel.m: Fix return type of sorting function.
2017-06-20 20:14:40 +00:00
TheDharc
2f4343438a
Update externs.m
...
adding what lacks
2017-06-20 20:13:36 +00:00
Riccardo Mottola
9c7eeb9c20
Support for writing resolution
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40491 72102866-910b-0410-8b05-ffd578937521
2017-04-24 10:42:32 +00:00
Fred Kiefer
099257dac9
Fix some clang static analyser warnings reported by
...
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40484 72102866-910b-0410-8b05-ffd578937521
2017-04-16 11:54:21 +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
753415895b
2017-04-01 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSMenu.m (-displayTransient): Update menu before displaying.
* Source/NSMenuView.m (-attachSubmenuForItemAtIndex:): Use NSMenu
display method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40431 72102866-910b-0410-8b05-ffd578937521
2017-03-31 22:14:50 +00:00
Fred Kiefer
34bbb5e95d
2017-03-31 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSAttributedString.m: Check for surrogate UTF16
characters to prevent nil strings when trying to attempt fonst
substitution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40430 72102866-910b-0410-8b05-ffd578937521
2017-03-31 21:49:09 +00:00
Riccardo Mottola
90d793695b
Ignore density if unit is 0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40429 72102866-910b-0410-8b05-ffd578937521
2017-03-31 15:35:46 +00:00
Riccardo Mottola
c774fd75c3
use double and better math to avoid rounding errors especially with cm->inch conversion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40427 72102866-910b-0410-8b05-ffd578937521
2017-03-28 15:35:38 +00:00
Riccardo Mottola
28b15bce9f
Parse density data and set size accordingly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40425 72102866-910b-0410-8b05-ffd578937521
2017-03-28 13:51:12 +00:00
Fred Kiefer
083b34fe1c
* Source/NSBitmapImageRep+JPEG.m(-_JPEGRepresentationWithProperties:errorMessage:):
...
Correct JPEG export which was using size instead of pixelsWide and pixelsHigh.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40415 72102866-910b-0410-8b05-ffd578937521
2017-03-24 23:06:31 +00:00
Fred Kiefer
19dc4dbb94
* Source/GSXibKeyedUnarchiver.m:
...
Merge some of the changes from the testplant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40406 72102866-910b-0410-8b05-ffd578937521
2017-03-20 23:04:27 +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
Riccardo Mottola
3d777c81fe
log the event itself (by Fred)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40365 72102866-910b-0410-8b05-ffd578937521
2017-03-06 09:40:01 +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
1323c50d6e
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Add
...
extra line fragment for empty string here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40350 72102866-910b-0410-8b05-ffd578937521
2017-02-20 22:32:13 +00:00
Fred Kiefer
a33b4c5073
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Add extra
...
line rect when needed.
* Source/NSTextView.m (sizeToFit): Don't add extra line rect, as
it is now already included.
* Source/NSStringDrawing.m (cache_lookup): Remove hack for empty string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40346 72102866-910b-0410-8b05-ffd578937521
2017-02-17 19:44:25 +00:00
Fred Kiefer
f5ce3badde
* Source/NSStringDrawing.m: Use shared drawing code.
...
* Source/NSStringDrawing.m (cache_lookup): Try to handle case of
empty string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40342 72102866-910b-0410-8b05-ffd578937521
2017-02-12 21:08:51 +00:00
Fred Kiefer
31cb9914d1
* Source/NSStringDrawing.m: Clean up string drawing cache code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40334 72102866-910b-0410-8b05-ffd578937521
2017-02-12 15:47:17 +00:00
Fred Kiefer
3a89e9e7c5
* Source/NSMenu.m (-_isVisible, -_isMain): Add two helper
...
methods. And make sure we update the menu items before display and
keyEquivalent processing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40285 72102866-910b-0410-8b05-ffd578937521
2017-01-08 19:33:32 +00:00
Fred Kiefer
baee6ec03b
* Source/NSMenu.m (-update): Update only visible submenus.
...
* Source/NSMenu.m: Complete switch to NSUInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40283 72102866-910b-0410-8b05-ffd578937521
2016-12-31 16:03:01 +00:00
Fred Kiefer
2b401268fc
Don't try to get the advancement for GSAttachmentGlyph.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40272 72102866-910b-0410-8b05-ffd578937521
2016-12-18 11:58:31 +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
Wolfgang Lux
bc9b909528
Change mlock in NSWorkspace into a private variable to avoid name
...
conflict with a libc function on Linux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40264 72102866-910b-0410-8b05-ffd578937521
2016-12-15 10:59:09 +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
0772d452fb
* Source/NSColorPanel.m (-_initWithoutGModel): Correct target for
...
bottom wells.
* Source/NSColorWell.m (-performClick:): Add this method and use
it in -mouseUp:.
Patch by Josh Freeman <pikopixel@twilightedge.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40228 72102866-910b-0410-8b05-ffd578937521
2016-11-21 20:54:13 +00:00
Riccardo Mottola
a944200159
minor type fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40191 72102866-910b-0410-8b05-ffd578937521
2016-11-03 16:04:34 +00:00
Fred Kiefer
a3d9637182
2016-10-29 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSBitmapImageRep.m: Set the TIFF subfield type to 0
instead of 255.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40185 72102866-910b-0410-8b05-ffd578937521
2016-10-29 12:29:26 +00:00
Fred Kiefer
83c7444c8a
* Source/NSBitmapImageRep+JPEG.m: Try to handle images with alpha
...
or planar images correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40175 72102866-910b-0410-8b05-ffd578937521
2016-10-24 21:06:23 +00:00
Richard Frith-MacDonald
b8d286ba7e
Create lock in +initialize so it can safely be used to prevent threads in the
...
same process from trying to obtain the distributed lock concurrently.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40174 72102866-910b-0410-8b05-ffd578937521
2016-10-24 13:45:56 +00:00
Gregory John Casamento
7ea5efb7eb
Fix for lock issue in gui when starting applications on some platforms. Please try and give feedback as this issue is not consistent. Tested by myself and rmottola.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40170 72102866-910b-0410-8b05-ffd578937521
2016-10-24 08:07:49 +00:00
Fred Kiefer
2f2bda5aa4
* Source/NSWindow.m (NSMiniWindowView -setImage:): Try to handle
...
an image value of nil. This is needed for Emacs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40168 72102866-910b-0410-8b05-ffd578937521
2016-10-23 20:36:14 +00:00
Fred Kiefer
2572daeff4
* Source/GSLayoutManager.m (-advancementForGlyphAtIndex:):
...
Simplify this method and move it in the file.
* Source/NSLayoutManager.m: Use the pre-computed advancement
instead of calculating it every time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40167 72102866-910b-0410-8b05-ffd578937521
2016-10-23 20:13:37 +00:00
Fred Kiefer
d0d119d365
* Source/GSLayoutManager.m: Don't try to get the advancement for NSControlGlyph.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40166 72102866-910b-0410-8b05-ffd578937521
2016-10-21 22:42:38 +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
Fred Kiefer
20feeb7212
* Source/GSFontInfo.m (-fontDescriptor): Simplify creation of font
...
descriptor. Use only the minimal attributes.
* Source/NSFontDescriptor.m (-postscriptName): Generate PS name
from font name itself.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40092 72102866-910b-0410-8b05-ffd578937521
2016-09-19 20:53:34 +00:00
Fred Kiefer
bee385f514
* Source/NSDocumentController.m: Add missing semicolon.
...
Patch by Galen Rhodes <galenrhodes@me.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40048 72102866-910b-0410-8b05-ffd578937521
2016-08-02 20:53:55 +00:00
Riccardo Mottola
c3ab82b30e
If we have no face set, don't append null
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40028 72102866-910b-0410-8b05-ffd578937521
2016-07-19 23:03:08 +00:00
Gregory John Casamento
564ea8d330
Revert change to NSView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40017 72102866-910b-0410-8b05-ffd578937521
2016-07-19 14:48:12 +00:00
Riccardo Mottola
c990c0152e
fix again\!
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40012 72102866-910b-0410-8b05-ffd578937521
2016-07-19 10:43:12 +00:00
Gregory John Casamento
6541c05a04
Move changes to new branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40011 72102866-910b-0410-8b05-ffd578937521
2016-07-18 15:59:44 +00:00
Gregory John Casamento
cd216f8e32
Reverted previous changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40009 72102866-910b-0410-8b05-ffd578937521
2016-07-18 15:47:56 +00:00
Riccardo Mottola
dae84d53ea
Use CGFloat as original structures do and double for scale instead of CGFloat -> double -> float
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40006 72102866-910b-0410-8b05-ffd578937521
2016-07-18 09:01:51 +00:00
Riccardo Mottola
d0a064e93c
use classic syntax
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40005 72102866-910b-0410-8b05-ffd578937521
2016-07-18 08:56:15 +00:00
Gregory John Casamento
15763766e5
Minor change. Properly initialize float xoff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40004 72102866-910b-0410-8b05-ffd578937521
2016-07-16 22:47:35 +00:00
Gregory John Casamento
d391a290ff
Remove 'margin'
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40003 72102866-910b-0410-8b05-ffd578937521
2016-07-16 22:22:32 +00:00
Gregory John Casamento
dd398ac140
2016-07-16 18:12-EDT Gregory John Casamento <greg.casamento@gmail.com>
...
* Source/NSPrintInfo.m: Add a comment so it's clear what
this method is meant for.
* Source/NSView.m: In beginPage🏷️ bBox:fonts: align top level
view with current page dimensions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40002 72102866-910b-0410-8b05-ffd578937521
2016-07-16 22:18:43 +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
Riccardo Mottola
d49cafad71
cast HINSTANCE to int, which is correct since MSDN docs suggest that, it is not a true HINSTANCE
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39985 72102866-910b-0410-8b05-ffd578937521
2016-07-12 12:54:33 +00:00
Riccardo Mottola
e6856ee469
clean up comments and code a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39984 72102866-910b-0410-8b05-ffd578937521
2016-07-12 12:39:54 +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
Riccardo Mottola
2b2964043a
Prefer statvfs() over statfs(), use both on linux, disable fs name on unknown systems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39975 72102866-910b-0410-8b05-ffd578937521
2016-07-11 23:41:48 +00:00
Riccardo Mottola
76ba8b1c9e
tweak redefine condition
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39973 72102866-910b-0410-8b05-ffd578937521
2016-07-11 13:58:46 +00:00
Richard Frith-MacDonald
3a4e6d5be1
apply patch to fix spelling error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39952 72102866-910b-0410-8b05-ffd578937521
2016-07-01 07:30:43 +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
c3f90683a6
Extract protocol into private header file and use it from both places.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39838 72102866-910b-0410-8b05-ffd578937521
2016-06-04 20:36:46 +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
08910fb913
lintian spelling correctes provided by Eric Heintzmann
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39816 72102866-910b-0410-8b05-ffd578937521
2016-05-28 09:49:15 +00:00
Riccardo Mottola
4770b7d6ea
Optimize case for nil label and thus fix crasher on SPARCs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39795 72102866-910b-0410-8b05-ffd578937521
2016-05-20 06:42:28 +00:00
Richard Frith-MacDonald
1b8dd0b36b
Regression test improvments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39755 72102866-910b-0410-8b05-ffd578937521
2016-05-13 15:41:27 +00:00
Riccardo Mottola
a26b5a6b25
Add Application folder (patch by Bertrand Dekoninck)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39627 72102866-910b-0410-8b05-ffd578937521
2016-04-06 01:01:58 +00:00
Richard Frith-MacDonald
1943fbd75c
GC fixups by Josh Freeman
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39613 72102866-910b-0410-8b05-ffd578937521
2016-03-28 06:17:35 +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
4368207db7
Actually allocate a NSMutableArray, since that is the expected return type
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39577 72102866-910b-0410-8b05-ffd578937521
2016-03-21 10:01:25 +00:00
Riccardo Mottola
cc675e4f3c
revert last erroneous commit mixed with debug code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39534 72102866-910b-0410-8b05-ffd578937521
2016-03-12 22:56:34 +00:00
Riccardo Mottola
e0fedc5692
fix warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39533 72102866-910b-0410-8b05-ffd578937521
2016-03-12 22:48:24 +00:00
Riccardo Mottola
93018cffb2
Always traverse links explicitely and get the original path to do icon lookup, not just for Symliks. The symlink may be infact in the middle of the path, not just the last one
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39525 72102866-910b-0410-8b05-ffd578937521
2016-03-10 22:59:46 +00:00
Riccardo Mottola
e00f1870c6
Simplify code by using stringByDeletingLastPathComponent
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39521 72102866-910b-0410-8b05-ffd578937521
2016-03-10 17:42:21 +00:00
Riccardo Mottola
7ff3dd081b
Add fall-back that if a folder image is not found, the generic folde ricon is picked up. Also add Movies special folders
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39513 72102866-910b-0410-8b05-ffd578937521
2016-03-09 23:39:52 +00:00
Riccardo Mottola
bc3ead8d69
use NSOpenStepRootDirectory instead of hard-coded /
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39512 72102866-910b-0410-8b05-ffd578937521
2016-03-09 23:19:54 +00:00
Riccardo Mottola
fe8bcb804b
cleaner way of retrieving Images and Music paths
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39511 72102866-910b-0410-8b05-ffd578937521
2016-03-09 23:11:29 +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
3dc638d6b6
When looking for an icon, check if it is a symbolic link and get the icon of its destination. Behaviour verified on Apple
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39480 72102866-910b-0410-8b05-ffd578937521
2016-03-08 14:19:07 +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
279193b644
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39430 72102866-910b-0410-8b05-ffd578937521
2016-02-29 21:14:57 +00:00
Riccardo Mottola
10b3c0ff94
quick workaround for GNU HURD, full configure test would be needed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39427 72102866-910b-0410-8b05-ffd578937521
2016-02-29 13:27:09 +00:00
Riccardo Mottola
2031571d37
add solaris special case
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39384 72102866-910b-0410-8b05-ffd578937521
2016-02-16 22:42:59 +00:00
Riccardo Mottola
31535ac6eb
we need those headers for getuid() too not just getmntent
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39383 72102866-910b-0410-8b05-ffd578937521
2016-02-16 22:41:31 +00:00
Riccardo Mottola
30047756ef
Add missing implementation, by mounting exclusively the path specified in GSRemovableMediaPaths
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39378 72102866-910b-0410-8b05-ffd578937521
2016-02-16 17:23:45 +00:00
Riccardo Mottola
01e71d106c
Use standard setmntent to open file and remember to close it with endmntent! Try better guess to use system defines to get mttab path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39377 72102866-910b-0410-8b05-ffd578937521
2016-02-16 13:56:01 +00:00
Riccardo Mottola
2589ad3e7d
Enhance unmount with eject support on certain platforms, generate NSWorkspaceWillUnmountNotification notification.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39370 72102866-910b-0410-8b05-ffd578937521
2016-02-13 22:20:20 +00:00
Riccardo Mottola
572d15360e
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39369 72102866-910b-0410-8b05-ffd578937521
2016-02-13 15:18:59 +00:00
Riccardo Mottola
7d7cf59383
Try to support volume information on Linux better as well as using GSRemovableMediaPaths defaults for removable information (compared to nothing at all).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39363 72102866-910b-0410-8b05-ffd578937521
2016-02-12 12:09:23 +00:00
Riccardo Mottola
4e07058985
minor cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39359 72102866-910b-0410-8b05-ffd578937521
2016-02-10 23:18:00 +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
Ivan Vučica
0dd7fa30d1
Opted to undo the -[NSBezierPath setLineDash:] patch's check for
...
count > _dash_count, as NSZoneRealloc() should be allowed to
reduce the allocated block's size.
Additionally, updated ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39287 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:14 +00:00
Ivan Vučica
d2760ebc1f
Fix setLineDash: NSZoneRealloc called without saving the return value
...
Cherrypicking mlytwyn's r39277 (Testplant branch).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39286 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:12 +00:00
Ivan Vučica
ba42ad0333
Use controlShadowColor when the color for NSBoxSeparator is not set. Xcode is not setting colors for these types of boxes in xibs.
...
Cherrypicking paullanders' r39276 (Testplant branch).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39285 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:11 +00:00
Ivan Vučica
d5be414105
Show toolbar before customizing.
...
Cherrypicking paullanders' r39256 (Testplant branch).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39284 72102866-910b-0410-8b05-ffd578937521
2016-01-17 21:36:09 +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
79e04b545a
Try Fred's idea for theme image lookup improvement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39168 72102866-910b-0410-8b05-ffd578937521
2015-11-12 08:33:35 +00:00
Fred Kiefer
e61577a98f
* Source/GSToolTips.m (-_timedOut:): Break long tool tips into
...
multiple lines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39130 72102866-910b-0410-8b05-ffd578937521
2015-11-03 08:33:31 +00:00
Fred Kiefer
810192f7e5
Small correction of last change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39129 72102866-910b-0410-8b05-ffd578937521
2015-11-03 08:15:02 +00:00
Fred Kiefer
b76a7b9593
* Source/NSWindow.m (-constrainFrameRect:toScreen:) Handle
...
screen being nil and resize only if moving is not enough.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39126 72102866-910b-0410-8b05-ffd578937521
2015-11-02 21:14:11 +00:00
Richard Frith-MacDonald
1efddfc0c6
and a couple more equality tests
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39125 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:48:36 +00:00
Richard Frith-MacDonald
603322467c
another small tweak with map callbacks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39124 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:37:00 +00:00
Richard Frith-MacDonald
77bfc5d864
another tweak for using pointer identity rather than object equality
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39123 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:31:04 +00:00
Richard Frith-MacDonald
716eb9fe5e
More cleanup for item identity rather than equality checks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39119 72102866-910b-0410-8b05-ffd578937521
2015-11-02 16:35:02 +00:00
Richard Frith-MacDonald
ff8d56fd1b
possible fix for ivan's StepOPML editor problem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39118 72102866-910b-0410-8b05-ffd578937521
2015-11-02 16:02:27 +00:00
Richard Frith-MacDonald
23533e0570
Allow GUI to build when base has been configured without libxml2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39113 72102866-910b-0410-8b05-ffd578937521
2015-11-01 23:09:40 +00:00
Richard Frith-MacDonald
1501023c3b
Theme alteration for Riccardo, plus some formatting tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39110 72102866-910b-0410-8b05-ffd578937521
2015-11-01 15:38:47 +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
Fred Kiefer
0dda8778b9
* Source/NSPasteboard.m (-_pbs): Fix waiting forever if gpbs
...
crashes within a certain window.
Patch by Marcian Lytwyn <gna@advcsi.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39098 72102866-910b-0410-8b05-ffd578937521
2015-10-27 22:24:32 +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
Fred Kiefer
7272bf329b
* Source/NSBitmapImageRep.m
...
(TIFFRepresentationOfImageRepsInArray:): Only return a non-null
NSData object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39090 72102866-910b-0410-8b05-ffd578937521
2015-10-24 21:16:46 +00:00
Fred Kiefer
106014c439
* Source/NSWindowController.m (-_windowWillClose:): Don't unset
...
the delegate and the controller of the window, this gets done in
setWindow: a bit later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39087 72102866-910b-0410-8b05-ffd578937521
2015-10-22 21:27:31 +00:00
Fred Kiefer
f059d346a6
* Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:):
...
Use centerScanRect: to position the image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39080 72102866-910b-0410-8b05-ffd578937521
2015-10-18 16:25:53 +00:00
Fred Kiefer
bbac2bf53c
* Source/NSAttributedString.m (-_substituteFontFor:font:): Use
...
font descriptors for faster replacement font detection.
* Source/GSFontInfo.m
(GSFontEnumerator-matchingFontDescriptorsFor:): Special handling
for NSFontCharacterSetAttribute.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39079 72102866-910b-0410-8b05-ffd578937521
2015-10-17 19:49:15 +00:00
Fred Kiefer
0ea4141ac0
* Source/NSCell.m (-trackMouse:...untilMouseUp:): Check enabled
...
and use isContinuous method.
* Source/NSSliderCell.m: Replace specific implementation of
-trackMouse:...untilMouseUp: with super class one and move
specific code into helper methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39077 72102866-910b-0410-8b05-ffd578937521
2015-10-16 22:01:41 +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
Fred Kiefer
4d5254c74a
2015-10-13 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSBitmapImageRep.m: Correct bug in fast path for image
premultiply/unpremultiply.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39062 72102866-910b-0410-8b05-ffd578937521
2015-10-13 22:04:35 +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
Fred Kiefer
8e8a1af817
* Source/nsimage-tiff.h: Correct field types.
...
* Source/NSImage.m (-TIFFRepresentation)
(TIFFRepresentationUsingCompression:factor:): Pass on bitmaps
only.
* Source/NSBitmapImageRep.m: Implement methods to generate tiff
for multiple bitmaps.
* Source/tiff.m: Fix long standing bug in TiffHandleSeek.
In NSTiffWrite write image tiff directory to allow for multiple
images.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39050 72102866-910b-0410-8b05-ffd578937521
2015-10-10 19:18:33 +00:00
Fred Kiefer
9e7ea1d911
* Source/NSGraphicsContext.m (-initWithContextInfo:): Move the
...
default setting into back.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39045 72102866-910b-0410-8b05-ffd578937521
2015-10-09 00:12:47 +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
c6ff85bf23
* Source/NSGraphicsContext.m (-initWithContextInfo:): Set some
...
default values for the graphics context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39017 72102866-910b-0410-8b05-ffd578937521
2015-09-25 08:34:25 +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
be98a77769
* Source/GSThemeDrawing.m (-drawTableViewRect:inView:): Use
...
correct imp type.
* Source/NSButtonCell.m (-setBackgroundColor:): Update the
control view.
* Source/NSSegmentedCell.m (-drawSegment:inFrame:withView:):
* Draw
image if available.
* Source/NSPopUpButtonCell.m (-initWithCoder:): Add work around
for NSClassSwapper cell replacement.
Patches based on changes by Josh Freeman
<pikopixel@twilightedge.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39006 72102866-910b-0410-8b05-ffd578937521
2015-09-20 21:16:33 +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
Fred Kiefer
ff61d4c642
2015-09-13 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSTextView.m: Invalidate insertion point timer in
dealloc.
* Source/NSToolbarItem.m: Check for drawing rect within bounds
before drawing toolbar item.
Patch by Marcian Lytwyn <gna@advcsi.com>.
2015-09-10 Doug Simons <doug.simons@testplant.com> and Paul Landers
<paul.landers@testplant.com>
* Source/NSLayoutManager.m: Fix a bug that would try to adjust
the length of the selected range to a negative number, leading
to an exception and eventual crashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38986 72102866-910b-0410-8b05-ffd578937521
2015-09-13 21:36:40 +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