libs-gui/ChangeLog

514 lines
16 KiB
Text
Raw Permalink Normal View History

2017-12-07 Ivan Vucica <ivan@vucica.net>
* Source/NSImage.m (-initWithCoder:): Clean up and reduce amount
of releases of self.
2017-12-03 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSScreen.h
* Source/NSScreen.m (-backingScaleFactor): Add new method. Change
return value of -userSpaceScaleFactor to CGFloat.
* Source/NSWindow.m (-backingScaleFactor): Return 1 instead of 0.
2017-10-28 Graham Lee <graham@iamleeg.com>
* Source/NSImage.m (initWithCoder:): restore image name when
loading an archived image with a name that can't be resolved at
load time. Fixes Gorm bug #46317.
2017-10-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-isPartlyOffScreen): Protect agains window or
screen being nil.
* Source/NSWindow.m (-_screenForFrame:): Try not to return nil, as
other code uses the result without checks.
2017-10-01 Ivan Vucica <ivan@vucica.net>
* Documentation/ReleaseNotes.gsdoc:
Backfill 0.24.1 through 0.25.1. Add stub 0.26.0 entry.
* Documentation/news.texi:
Add stub 0.26.0 entry.
* Version:
Bump to 0.26.0.
2017-08-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSStepperCell.m (-trackMouse:...untilMouseUp:): Adjust
to changes in super class.
2017-08-27 Fred Kiefer <FredKiefer@gmx.de>
* 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 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m (-trackMouse:...untilMouseUp:): Rewrote mouse
tracking logic to be closer to the Cocoa definition.
2017-08-25 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep.m
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-15 02:42:37 +00:00
2017-08-24 Daniel Ferreira <dtf@stanford.edu>
* Source/externs.m:
2017-08-15 02:42:37 +00:00
Define some private NSAttributedString attribute name definitions. Their
functionality is not yet implemented.
2017-08-24 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSWindow.h:
2017-08-15 02:42:37 +00:00
Define new values for the NSWindowCollectionBehavior enum for
compatibility purposes.
2017-08-24 Daniel Ferreira <dtf@stanford.edu>
2017-08-15 02:42:37 +00:00
* Headers/AppKit/NSGestureRecognizer.h
* Source/NSGestureRecognizer.m:
2017-08-15 02:42:37 +00:00
Implement stub for -[NSGestureRecognizer locationInView:] for
compatibility purposes.
* Headers/AppKit/NSWindow.h
* Source/NSWindow.m:
2017-08-15 02:42:37 +00:00
Add stub for +[NSWindow windowNumberAtPoint:belowWindowWithWindowNumber:]
for compatibility purposes.
* Headers/AppKit/NSSpellChecker.h
* Source/NSSpellChecker.m:
2017-08-15 02:42:37 +00:00
Add a stub for the -checkGrammarOfString:... method for compatibility
purposes.
* Headers/AppKit/NSSpellChecker.h
* Source/NSSpellChecker.m:
2017-08-15 02:42:37 +00:00
Add stubs for:
- +[NSSpellChecker isAutomaticTextReplacementEnabled],
- +[NSSpellChecker isAutomaticDashSubstitutionEnabled]
- +[NSSpellChecker isAutomaticQuoteSubstitutionEnabled]
for compatibility purposes.
2017-08-15 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSDragging.h:
2017-08-15 02:42:37 +00:00
Create NSDraggingSource protocol for increased compatibility with GUI.
* Headers/AppKit/NSSpellChecker.h:
2017-08-15 02:42:37 +00:00
Add definitions for the NSCorrectionResponse for increased
compatibility.
* Headers/AppKit/NSWindow.h
* Source/NSWindow.m:
2017-08-15 02:42:37 +00:00
Add stub for -[NSWindow backingScaleFactor] for compatibility purposes.
* Headers/AppKit/NSApplication.h
* Headers/AppKit/NSWindow.h
* Source/NSWindow.m:
2017-08-15 02:42:37 +00:00
Define constants and stubs related to modal sheets in GUI for increased
compatibility.
* Headers/AppKit/NSFont.h
* Source/externs.m:
2017-08-15 02:42:37 +00:00
Define font weight constants introduced in macOS 10.11.
* Source/externs.m:
2017-08-15 02:42:37 +00:00
Export the private _NXSmartPaste constant for compatibility purposes.
* Headers/AppKit/NSAttributedString.h
* Source/externs.m:
2017-08-15 02:42:37 +00:00
Add a stub for NSTextInsertionUndoableAttributeName, a private
NSAttributedString attribute.
* Headers/AppKit/NSButtonCell.h:
2017-08-15 02:42:37 +00:00
Define new button cell constants in the NSButtonCell header. These
buttons are not yet implemented, however.
* Headers/AppKit/NSText.h:
2017-08-15 02:42:37 +00:00
Define new-style NSTextAlignment* constants on GUI for compatibility
purposes with new macOS versions.
2017-08-08 23:45:05 +00:00
2017-08-09 Svetlana Tkachenko
* ColorPickers/Russian.lproj/StandardPicker.strings
Add translation.
2017-08-04 Daniel Ferreira <dtf@stanford.edu>
* .travis.yml
* travis-deps.sh:
Add a Travis CI build to gnustep-gui to check if everything is really
okay before accepting patches.
Recent events have shown that bad patches have passed through the review
process, specially when it comes to breaking compatibility with GCC. A
CI routine would distinctly avoid these cases.
2017-08-04 09:53:12 +00:00
2017-08-04 Alex Myczko <alex@aiei.ch>
* ColorPickers/Polish.lproj: Added translation.
2017-08-02 Alex Myczko <alex@aiei.ch>
* ColorPickers/German.lproj: Added translation.
2017-08-04 09:53:12 +00:00
2017-07-31 21:21:59 +00:00
2017-07-31 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSPasteboardItem.h
* Source/NSPasteboardItem.m: Clean up these files.
2017-07-31 Ivan Vucica <ivan@vucica.net>
* Source/NSTextList.m: Add _startingItemNumber-related TODOs to
NSTextList.
2017-07-31 21:21:59 +00:00
* Source/NSPasteboardItem.m: Remove RETAIN() when returning
-[NSPasteboardItem types].
2017-07-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m (-attachSubmenuForItemAtIndex:): We should
not use [NSMenu display] for NSWindows95InterfaceStyle as there we
have two NSMenuViews for the NSMenu.
2017-07-28 Riccardo Mottola <rm@gnu.org>
* Headers/AppKit/NSRunningApplication.h: We can actually use retain
as an equivalent property when not using ARC.
2017-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSRunningApplication.h: Remove property attribute
"strong" as gcc does not support this.
2017-07-26 11:49:28 +00:00
2017-07-26 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSTextList.h
2017-07-31 21:21:59 +00:00
* Source/NSTextList.m:
2017-07-26 11:49:28 +00:00
Add the `startingItemNumber` property to NSTextList introduced in macOS
10.6.
2017-07-26 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSPasteboardItem.h
* Source/GNUmakefile
2017-07-31 21:21:59 +00:00
* Source/NSPasteboardItem.m:
2017-07-26 11:49:28 +00:00
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 21:21:59 +00:00
* Headers/AppKit/NSPasteboard.h:
2017-07-26 11:49:28 +00:00
Define the NSPasteboardReading and NSPasteboardWriting protocols
introduced in OSX 10.6, which remain unimplemented in NSPasteboard.
2017-07-26 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSTextAlternatives.h
* Source/GNUmakefile
2017-07-31 21:21:59 +00:00
* Source/NSTextAlternatives.m:
2017-07-26 11:49:28 +00:00
Implement NSTextAlternatives, a class usually used for choosing
alternatives from a basic string usually for dictation purposes.
2017-07-26 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSScroller.h
2017-07-31 21:21:59 +00:00
* Source/NSScroller.m:
2017-07-26 11:49:28 +00:00
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-25 Riccardo Mottola <rm@gnu.org>
* Source/externs.m
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-25 01:43:06 +00:00
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSAttributedString.h
* Source/externs.m:
2017-07-25 01:43:06 +00:00
Define an (unimplemented) NSAttributedString attribute for an
NSTextAlternatives object.
2017-07-25 01:43:06 +00:00
Define an (unimplemented) NSAttributedString attribute for Unicode
writing direction.
2017-07-25 01:43:06 +00:00
* Headers/AppKit/NSParagraphStyle.h
* Headers/AppKit/NSText.h:
2017-07-25 01:43:06 +00:00
Define constants for defining an attributed string's writing direction.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSCell.h
* Headers/AppKit/NSView.h
* Source/NSCell.m
* Source/NSView.m:
2017-07-25 01:43:06 +00:00
Implement stubs for the layout direction properties in NSCell and
NSView. Currently, they default to left-to-right layouting.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSAccessibility.h
* Headers/AppKit/NSAccessibilityConstants.h
* Source/GNUmakefile
* Source/NSAccessibility.m:
2017-07-25 01:43:06 +00:00
Declare base NSAccessibility functions and constants, which have been
implemented as stubs.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSWindow.h:
2017-07-25 01:43:06 +00:00
Define a missing enum value for a window mask. This mask remains
unimplemented.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSControl.h
* Source/NSControl.m:
2017-07-25 01:43:06 +00:00
Create a stub for the -[NSControl sizeThatFits:] function.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
2017-07-25 01:43:06 +00:00
* Headers/AppKit/NSScrollView.h
* Source/NSScrollView.m:
2017-07-25 01:43:06 +00:00
Create stubs for the content/scroller inset properties in NSScrollView.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Source/GNUmakefile:
Create new classes in the GUI library.
* Headers/AppKit/NSRunningApplication.h
* Source/NSRunningApplication.m:
2017-07-25 01:43:06 +00:00
Create a stub for the NSRunningApplication class.
2017-07-25 01:43:06 +00:00
* Headers/AppKit/NSGestureRecognizer.h
* Source/NSGestureRecognizer.m:
2017-07-25 01:43:06 +00:00
Create stub for the NSGestureRecognizer class.
2017-07-25 01:43:06 +00:00
* Headers/AppKit/NSVisualEffectView.h
* Source/NSVisualEffectView.m:
2017-07-25 01:43:06 +00:00
Create stub for the NSVisualEffectView class.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSSpeechSynthesizer.h
* Source/NSSpeechSynthesizer.m:
2017-07-25 01:43:06 +00:00
Define new constants in NSSpeechSynthesizer. These are not yet handled
by the implementation.
* Headers/AppKit/NSSpellChecker.h:
2017-07-25 01:43:06 +00:00
Define new constants on NSSpellChecker. They are not yet handled by the
implementation.
2017-07-25 01:38:22 +00:00
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSUserInterfaceLayout.h
* Source/GNUmakefile:
2017-07-25 01:38:22 +00:00
Define interface layout enums to be used by AppKit. This improves
compatibility with the reference platform.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSUserInterfaceItemIdentification.h
* Source/GNUmakefile:
2017-07-25 01:38:22 +00:00
Introduce the NSUserInterfaceItemIdentification protocol, which required
an user interface class provide an unique identifier.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSSharingService.h
* Source/GNUmakefile
* Source/NSSharingService.m:
2017-07-25 01:38:22 +00:00
Define the NSSharingService class as an unimplemented stub for
compatibility purposes.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSView.h
* Source/NSView.m:
2017-07-25 01:38:22 +00:00
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 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSPasteboard.h
* Source/NSPasteboard.m
* Source/externs.m:
2017-07-25 01:38:22 +00:00
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.
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
* Headers/AppKit/NSSpeechSynthesizer.h:
2017-07-25 01:38:22 +00:00
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-22 18:44:45 +00:00
2017-07-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSModelLoaderFactory.m (-supportedModelFileAtPath:): Fix
bug found by compiler.
2017-07-22 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSEvent.h
* Source/NSEvent.m: Add some newer Cocoa enums and one method with
dummy implementation.
2017-07-09 20:35:42 +00:00
2017-07-09 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSEvent.h
* Source/NSEvent.m: Add some newer Cocoa methods with dummy implementations.
2017-07-09 10:43:45 +00:00
2017-07-09 Fred Kiefer <FredKiefer@gmx.de>
* .gitignore: Add a .gitignore file.
2017-06-17 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep+JPEG.m
Save resolution information if it is different from 72 dpi.
2017-06-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/externs.m: Added semicolons missing in last commit.
* Source/NSSavePanel.m: Fix return type of sorting function.
2017-06-12 Ivan Vucica <ivan@vucica.net>
* Source/NSAttributedString.m,
* Source/externs.m:
Merge pull request from TheDharc <brunosonic@gmail.com>.
2017-04-24 Riccardo Mottola <rm@gnu.org>
* Source/tiff.m
* Source/NSBitmapImageRep.m
Support for writing resolution.
2017-04-22 Fred Kiefer <FredKiefer@gmx.de>
* Version: Correct required base version that has been off for a year.
2017-04-16 Fred Kiefer <FredKiefer@gmx.de>
* Printing/GSCUPS/GSCUPSPrinter.m: Add include to get deprecated
function cupsGetPPD() on newer CUPS systems.
2017-04-16 Fred Kiefer <FredKiefer@gmx.de>
* Model/IMLoading.m
* Source/GSTextStorage.m
* Source/GSToolbarView.m
* Source/NSLayoutManager.m
* Source/NSTableView.m
Fix some clang static analyser warnings reported by
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.
2017-04-06 Ivan Vucica <ivan@vucica.net>
* Releasing 0.25.1.
2017-04-05 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSXibKeyedUnarchiver.h: Moved from Source.
* Headers/Additions/GNUstepGUI/GSXibLoading.h,
* Source/GSXibLoader.m,
* Source/GSXibKeyedUnarchiver.m,
* Source/GNUmakefile: Use and install moved header file.
2017-04-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-displayTransient): Update menu before displaying.
* Source/NSMenuView.m (-attachSubmenuForItemAtIndex:): Use NSMenu
display method.
2017-03-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAttributedString.m: Check for surrogate UTF16
2017-06-12 21:16:19 +00:00
characters to prevent nil strings when trying to attempt font
substitution.
2017-03-31 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep+JPEG.m (-_initBitmapFromJPEG:errorMessage:)
Ignore density if unit is 0
2017-03-28 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep+JPEG.m (-_initBitmapFromJPEG:errorMessage:)
Parse density data and set size accordingly.
2017-03-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep+JPEG.m(-_JPEGRepresentationWithProperties:errorMessage:):
Correct JPEG export which was using size instead of pixelsWide and pixelsHigh.
2017-03-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXibKeyedUnarchiver.m:
Merge some of the changes from the testplant branch.
2017-03-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowser.m: Add encoding of NSColumnsAutosaveName.
* Headers/Additions/GNUstepGUI/GSXibLoading.h,
* Source/GSXibLoader.m,
* Source/GSXibKeyedUnarchiver.h,
* Source/GSXibKeyedUnarchiver.m,
* Source/GNUmakefile: Split of GSXibKeyedUnarchiver in separate file.
* Source/GSXibLoading.m: Add description method for IBUserDefinedRuntimeAttribute.
Merge some of the changes from the testplant branch.
2017-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSImage.h
* Headers/AppKit/NSSplitView.h
* Source/NSImage.m
* Source/NSProgressIndicator.m
* Source/NSTableHeaderView.m
Merge some of the changes from the testplant branch.
2017-02-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Add
extra line fragment for empty string here.
2017-02-17 Fred Kiefer <FredKiefer@gmx.de>
* 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.
2017-02-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSStringDrawing.m: Use shared drawing code.
* Source/NSStringDrawing.m (cache_lookup): Try to handle case of
empty string.
2017-02-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSStringDrawing.m: Clean up string drawing cache code.
2017-01-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-_isVisible, -_isMain): Add two helper
methods. And make sure we update the menu items before display and
keyEquivalent processing.