mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-14 14:20:53 +00:00
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.
349 lines
11 KiB
Text
349 lines
11 KiB
Text
2017-07-31 Ivan Vucica <ivan@vucica.net>
|
|
|
|
* Source/NSTextList.m: Add _startingItemNumber-related TODOs to
|
|
NSTextList.
|
|
* Source/NSPasteboardItem: 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 Daniel Ferreira <dtf@stanford.edu>
|
|
|
|
* Headers/AppKit/NSTextList.h
|
|
* Source/NSTextList.m:
|
|
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
|
|
* Source/NSPasteboardItem.m:
|
|
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.
|
|
|
|
* Headers/AppKit/NSPasteboard.h:
|
|
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
|
|
* Source/NSTextAlternatives.m:
|
|
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
|
|
* Source/NSScroller.m:
|
|
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 Daniel Ferreira <dtf@stanford.edu>
|
|
|
|
* Headers/AppKit/NSAttributedString.h
|
|
* Source/externs.m:
|
|
Define an (unimplemented) NSAttributedString attribute for an
|
|
NSTextAlternatives object.
|
|
|
|
Define an (unimplemented) NSAttributedString attribute for Unicode
|
|
writing direction.
|
|
|
|
* Headers/AppKit/NSParagraphStyle.h
|
|
* Headers/AppKit/NSText.h:
|
|
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:
|
|
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:
|
|
Declare base NSAccessibility functions and constants, which have been
|
|
implemented as stubs.
|
|
|
|
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
|
|
|
|
* Headers/AppKit/NSWindow.h:
|
|
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:
|
|
Create a stub for the -[NSControl sizeThatFits:] function.
|
|
|
|
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
|
|
|
|
* Headers/AppKit/NSScrollView.h
|
|
* Source/NSScrollView.m:
|
|
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:
|
|
Create a stub for the NSRunningApplication class.
|
|
|
|
* Headers/AppKit/NSGestureRecognizer.h
|
|
* Source/NSGestureRecognizer.m:
|
|
Create stub for the NSGestureRecognizer class.
|
|
|
|
* Headers/AppKit/NSVisualEffectView.h
|
|
* Source/NSVisualEffectView.m:
|
|
Create stub for the NSVisualEffectView class.
|
|
|
|
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
|
|
* Headers/AppKit/NSSpeechSynthesizer.h
|
|
* Source/NSSpeechSynthesizer.m:
|
|
Define new constants in NSSpeechSynthesizer. These are not yet handled
|
|
by the implementation.
|
|
|
|
* Headers/AppKit/NSSpellChecker.h:
|
|
Define new constants on NSSpellChecker. They are not yet handled by the
|
|
implementation.
|
|
|
|
2017-07-25 Daniel Ferreira <dtf@stanford.edu>
|
|
|
|
* Headers/AppKit/AppKit.h
|
|
* Headers/AppKit/NSUserInterfaceLayout.h
|
|
* Source/GNUmakefile:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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 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 Fred Kiefer <FredKiefer@gmx.de>
|
|
|
|
* Headers/AppKit/NSEvent.h
|
|
* Source/NSEvent.m: Add some newer Cocoa methods with dummy implementations.
|
|
|
|
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
|
|
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.
|