Merge branch 'master' into gnustep-gui-nextspace

This commit is contained in:
Sergii Stoian 2021-08-03 12:17:06 +03:00
commit ec5e6f2894
165 changed files with 15216 additions and 3453 deletions

View file

@ -1,5 +1,5 @@
1 ANNOUNCE
**********
1 Announcement
**************
This is version 0.28.0 of the GNUstep GUI library ('gnustep-gui').
@ -76,7 +76,7 @@ Plus the usual bunch of bug fixes.
The gnustep-gui-0.28.0.tar.gz distribution file has been placed at
<ftp://ftp.gnustep.org/pub/gnustep/core>.
It is accompanied by gnustep-back-0.28.0.tar.gz.sig, a PGP signature
It is accompanied by gnustep-gui-0.28.0.tar.gz.sig, a PGP signature
which you can validate by putting both files in the same directory and
using:

View file

@ -2,4 +2,4 @@
# the repo. Unless a later match takes precedence,
# @global-owner1 and @global-owner2 will be requested for
# review when someone opens a pull request.
* @ivucica @fredkiefer
* @fredkiefer

402
ChangeLog
View file

@ -1,3 +1,405 @@
2021-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-_numRows): Take column value binding into
consideration.
* Source/NSTableColumn.m (-setValue:forKey:): Reload table data.
2021-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (GSOrderedWindows): Don't try to handle
already gone windows that may be returned from a slow window manager.
2021-01-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSHorizontalTypesetter.m: Small cleanups for nerged pull request.
* Resources: Regenerate translation files.
* Documentation/news.texi,
* Version: Updating documentation for the upcoming 0.29.0 release.
2021-01-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSControl.m: Change encoding/decoding to protect
against differences in integer size.
2021-01-08 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSComboBoxCell.h: Correct type of instance variables.
* Source/GSGuiPrivate.h: Add macros for encoding/decoding.
* Source/NSActionCell.m,
* Source/NSButtonCell.m,
* Source/NSCell.m,
* Source/NSComboBoxCell.m,
* Source/NSImageCell.m,
* Source/NSLevelIndicatorCell.m,
* Source/NSPathCell.m,
* Source/NSPopUpButtonCell.m,
* Source/NSSearchFieldCell.m,
* Source/NSSliderCell.m,
* Source/NSStepperCell.m: Change encoding/decoding to protect
against differences in integer size.
2020-12-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSearchFieldCell.m: Use GSTheme to display the popup.
2020-12-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSearchField.m,
* Source/NSSearchFieldCell.m: Small cleanups in formatting and
int types.
2020-12-11 Riccardo Mottola <rm@gnu.org>
* Source/GSToolbarView.m,
Use centerScanRect to correct Items frame and avoid flickering.
2020-12-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSToolbarFrameworkPrivate.h,
* Source/GSToolbarView.m,
* Source/NSToolbar.m: Minor changes to format code, remove unused
methods and introduce some new helper methods.
2020-11-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m (-mouseDown:): Protect against _window going
away during tracking.
2020-11-23 Riccardo Mottola <rm@gnu.org>
* Source/NSPopUpButtonCell.m (release):
Use standard setMenu: in release and avoid leaking the Menu. (Proposed by Fred)
2020-11-03 Riccardo Mottola <rm@gnu.org>
* Source/NSBitmapImageRep+JPEG.m (_JPEGRepresentationWithProperties:):
Support greyscape output colorspace in JPEG decompression, fix
Alpha output to NO, since JPEGs do not support it.
2020-10-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-validateEditing): Reset _isValidating on
intermediate return.
Patch by Andreas Höschler <ahoesch@smartsoft.de>.
2020-10-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColor.m: Protect against theme colour list missing out
on default colours.
2020-09-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSToolTips.m: Revert bogus last commit.
2020-09-12 Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSToolTips.m: Fix issue where setting the theme causes
tooltips to become all black. This is happening on windows and other
platforms.
* Source/NSCell.m: Fix for issue on Windows were contents are reset
when initWithCoder: coder is called. If the contents are set, they
determine the type. Currently investigating why this is occuring
ONLY on Windows.
2020-09-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m (-initWithCoder:): Make sure text container is
in sync with the text view resize behaviour.
* Source/NSScrollView.m (-initWithCoder:): Add scrollers as
subviews when decoded.
2020-09-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSLayoutManager.m
(-glyphRangeForCharacterRange:actualCharacterRange:): Handle zero
length charRagne at end of text correctly.
2020-09-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m
(-decodeCellPrototypeForElement:): Fix misuse of setType:.
2020-07-28 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add all new headers
* Headers/AppKit/NSTextCheckingClient.h: Protocol for
NSTextCheckingController.m
* Headers/AppKit/NSTextCheckingController.h: New controller
for text checking - spelling/grammar
* Headers/AppKit/NSTextFinder.h: Text finder, currently delegates
all functionality to GSTextFinder.
* Headers/AppKit/NSTextInputClient.h: Protocol
* Headers/AppKit/NSTextInputContext.h: Protocol
* Headers/AppKit/NSTextView.h: Implementation of methods needed
for NSTextFinder.
* Headers/AppKit/NSUserInterfaceValidation.h: Minor changes
* MISSING: Removed these from MISSING list
* Source/GNUmakefile: Add files to be compiled or copied to list.
* Source/NSTextCheckingController.m: Implementation using
NSSpellChecker
* Source/NSTextFinder.m: Implementation using GSTextFinder
* Source/NSTextInputContext.m: Skeleton implementation.
* Source/NSTextView.m: Implementation of methods
2020-08-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSStoryboardTransform.h,
* Source/NSPageController.m,
* Source/NSPersistentDocument.m,
* Source/NSSplitViewItem.m,
* Source/NSViewController.m: Fix compiler warnings mit gcc.
2020-07-31 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add header
* Headers/AppKit/NSStatusBarButton.h: Declaration
* MISSING: Remove file from list
* Source/GNUmakefile: Add to compilation
* Source/NSStatusBarButton.m: Definition of class.
2020-07-30 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSLayoutAnchor.h
* Headers/AppKit/NSLayoutConstraint.h
* Headers/AppKit/NSLayoutGuide.h
* MISSING: Remove classes from list.
* Source/GNUmakefile
* Source/GSXib5KeyedUnarchiver.m: Add code to decode constraints.
* Source/NSLayoutAnchor.m
* Source/NSLayoutConstraint.m
* Source/NSLayoutGuide.m: Add infrastructure for layouts.
This needs additional work and study. Comitting now so others
can more easily help.
2020-07-28 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add includes for splitviewcontroller,
pagecontroller and tabviewcontroller.
* Headers/AppKit/NSPageController.h: Interface for page view controller
* Headers/AppKit/NSSplitViewController.h: Interface for splitview
controller
* Headers/AppKit/NSSplitViewItem.h: Enhancements to splitview item to
add logic for controller
* Headers/AppKit/NSStoryboardSegue.h: Add methods to handle popovers
* Headers/AppKit/NSTabViewController.h: Interface for tabViewController
* Headers/AppKit/NSTabViewItem.h: methods to support NSViewController
* Headers/AppKit/NSToolbar.h: Minor changes to support tabview controller
* Headers/AppKit/NSViewController.h: Additional enum
* MISSING: Remove implemented classes from list
* Source/GNUmakefile: Add new classes
* Source/GSStoryboardTransform.h: Additional methods on proxy
* Source/GSStoryboardTransform.m: Additional methods on proxy
* Source/GSThemeDrawing.m: minor changes
* Source/GSXib5KeyedUnarchiver.m: Handle pagecontroller element,
set certain things to true if abesnt
* Source/NSPageController.m: Implementation of NSPageController
* Source/NSSplitViewController.m: Implementation of NSSplitViewController
* Source/NSSplitViewItem.m: Implementation
* Source/NSStoryboardSegue.m: New methods for segue
* Source/NSTabViewController.m: Implementation of NSTabViewController
* Source/NSTabViewItem.m: New methods implementation
* Source/NSTabView.m: Add methods to handle NSViewController changes
* Source/NSViewController.m: New methods.
* Source/NSView.m: Private methods to insert a view
* Source/NSViewPrivate.h: Private method to insert view, declaration
* Source/NSWindow.m: Minor fixes.
2020-07-19 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h: Add include files for NSSegue* and other
classes.
* Headers/AppKit/NSSeguePerforming.h: Protocol for segue performing
so that classes that conform can be queried to determine if the
segue should be performed in the first place.
* Headers/AppKit/NSStoryboard.h: Class which loads the storyboard and
loads the individual scenes and controllers.
* Headers/AppKit/NSStoryboardSegue.h: This class handles the transition
between controllers/scenes.
* Headers/AppKit/NSViewController.h: Modifications to handle segues.
* Headers/AppKit/NSWindowController.h: Modifications to handle segues.
* Headers/AppKit/NSWindow.h: New method to create window controller for
view controllers.
* MISSING: Remove the classes implemented here from the missing list.
* Source/Functions.m: Enhance NSApplicationMain() function to handle the
loading of a storyboard.
* Source/GNUmakefile: Add the new classes to the build and copy the
headers.
* Source/GSStoryboardTransform.[hm]: Class to handle the transformation
of the storyboard file into "XIB" files for loading. Also handles the
intermediate
processes of instantiation of the destination controller.
* Source/NSStoryboard.m: Implementation of the above described class.
* Source/NSStoryboardSegue.m: Implementation of the above described
class.
* Source/NSViewController.m: Implementation of private methods to
handle transitions.
* Source/NSWindowController.m: Implementation of private methods to
handle transitions.
* Source/NSWindow.m: Implementation of method to create window
controller for view controllers.
2020-07-10 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSOutlineView.h: Formalize protocols for
NSOutlineViewDelegate and NSOutlineViewDataSource.
2020-07-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m (alternateName:): Be more careful
when chopping of part of the name.
2020-07-03 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSNib.h,
* Source/NSNib.m: Add missing MacOSX methods.
* Source/GSXibLoader.m: Remove semicolon. Add debug logs.
2020-06-15 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKit.h
* Headers/AppKit/NSAccessibilityCustomAction.h
* Headers/AppKit/NSAccessibilityCustomRotor.h
* Headers/AppKit/NSAccessibilityElement.h
* Headers/AppKit/NSAccessibilityProtocols.h
* Source/GNUmakefile
* Source/NSAccessibilityCustomAction.m
* Source/NSAccessibilityCustomRotor.m
* Source/NSAccessibilityElement.m: Add skeletons for
these classes. Future support of accessibility features
will fill these in.
2020-06-12 Yavor Doganov <yavor@gnu.org>
* Headers/AppKit/NSApplication.h: Remove semicolons from the
NSAppKitVersionNumber* definitions.
2020-05-29 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/rtfGrammar.y: Correct encoding handling.
* TextConverters/RTF/rtfGrammar.tab.h,
* TextConverters/RTF/rtfGrammar.tab.m: Regenerated.
* TextConverters/RTF/RTFConsumer.m: Add code to handle code page 10000.
2020-05-18 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSColor.h,
* Source/NSColor.m: Add newer Cocoa methods.
2020-05-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (-makeFirstResponder, -sendEvent:): Correct
handling of new first responder not becoming first responder.
Patch suggested by Josh Freeman <pikopixel@twilightedge.com>.
2020-05-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSXib5KeyedUnarchiver.m: Clean up NSPathCell decoding.
2020-05-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSStringDrawing.m: Initialize all the cache entries as
not used.
2020-05-09 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSPersistentDocument.[hm]: Add implementation of abstract
class for NSPersistentDocument.
2020-05-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSHorizontalTypesetter.m (_addExtraLineFragment): Make
sure curParagraphStyle and line_height always have useful values.
2020-05-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (-initWithContentRect:...defer:): Call
setFrame:display: to ensure the minium and maximum size gets enforced.
* Source/NSFont.m (-description): Add this method.
2020-05-06 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Additions/GNUstepGUI/GSTheme.h: Add declarations
for new drawing methods.
* Headers/AppKit/AppKit.h: Add headers to main header
* Headers/AppKit/NSMenu.h: Add method to draw the popup in
the appropriate positin
* Headers/AppKit/NSPathCell.h: Implementation of path cell header
* Headers/AppKit/NSPathComponentCell.h: Component cell
* Headers/AppKit/NSPathControl.h: Control
* Headers/AppKit/NSPathControlItem.h: Control item
* MISSING: Remove NSPath* classes since they have been implemented
* Source/GNUmakefile: Add files to compile and copy
* Source/GSThemeDrawing.m: Add new drawing methods.
* Source/GSXib5KeyedUnarchiver.m: Add new decoding methods
* Source/NSMenu.m: Implement method to position popup
* Source/NSPathCell.m: Implementation path cell.
* Source/NSPathComponentCell.m: Cell representation of each
component
* Source/NSPathControlItem.m: Path items
* Source/NSPathControl.m: Path control to contain path cell and
components.
2020-04-30 Yavor Doganov <yavor@gnu.org>
* Documentation/GSSpeechRecognitionServer.1: Add simplistic
manpage for GSSpeechRecognitionServer.
* Documentation/GNUmakefile: Install it conditionally.
2020-04-26 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Additions/GNUstepGUI/GSTheme.h: Add declarations
for new drawing methods.
* Headers/AppKit/AppKit.h: Add new headers
* Headers/AppKit/NSAccessibilityProtocols.h
* Headers/AppKit/NSCell.h: Add NSControlStateValue enum
* Headers/AppKit/NSSwitch.h: Header for NSSwitch
* MISSING: Remove NSSwitch
* Source/GNUmakefile: Add .h and .m files
* Source/GSThemeDrawing.m: Add drawing code for knob and
switch basin.
* Source/GSXib5KeyedUnarchiver.m: Add decoding for
NSControlContents. Make sure enabled is YES when not
present.
* Source/NSColor.m: Minor changes
* Source/NSMatrix.m: Remove unneeded code
* Source/NSSwitch.m: Implementation of NSSwitch
* Source/NSToolbarItem.m: Remove unneeded code
2020-04-13 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/AppKitErrors.h:
* Headers/AppKit/AppKit.h:
* Headers/AppKit/NSFontAssetRequest.h:
* Headers/AppKit/NSMediaLibraryBrowserController.h:
* Headers/AppKit/NSScrubber.h:
* Headers/AppKit/NSScrubberItemView.h:
* Headers/AppKit/NSScrubberLayout.h:
* Headers/AppKit/NSSharingServicePickerToolbarItem.h:
* Headers/AppKit/NSUserInterfaceCompression.h:
* Headers/AppKit/NSUserInterfaceItemSearching.h:
* Headers/AppKit/NSWindowRestoration.h:
* MISSING: Remove mention of these classes.
* Source/GNUmakefile
* Source/NSFontAssetRequest.m:
* Source/NSMediaLibraryBrowserController.m:
* Source/NSScrubberItemView.m:
* Source/NSScrubberLayout.m:
* Source/NSScrubber.m:
* Source/NSSharingServicePickerToolbarItem.m: Add code to allow
compilation using these classes. These are Mac specific so they
can't be implemented on any other platform due to HW or
service limitations. At some point these might be able to be
implemented, but, for now, they are here to allow apps which
use them to compile.
2020-04-13 Ivan Vucica <ivan@vucica.net>
* Documentation/announce.texi:
* ANNOUNCE:
Normalize the accompanying text for the release announcement across
core packages: standardize chapter name and GPG information.
2020-04-05 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:

View file

@ -27,7 +27,7 @@ GNUSTEP_LOCAL_ADDITIONAL_MAKEFILES=../gui.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../Version
#include ../config.make
include ../config.make
# The documents to be generated
DOCUMENT_NAME = ReleaseNotes
@ -75,6 +75,10 @@ MAN1_PAGES = \
say.1 \
set_show_service.1
ifdef BUILD_SPEECH_RECOGNIZER
MAN1_PAGES += GSSpeechRecognitionServer.1
endif
ReleaseNotes_AGSDOC_FILES = ReleaseNotes.gsdoc
ReleaseNotes_DOC_INSTALL_DIR = Developer/Gui

View file

@ -0,0 +1,35 @@
.TH GSSPEECHRECOGNITIONSERVER 1 "April 2020" GNUstep "GNUstep Manual"
.SH NAME
GSSpeechRecognitionServer \- GNUstep Speech Recognition Server
.SH SYNOPSIS
.B GSSpeechRecognitionServer
.SH DESCRIPTION
The
.IR NSSpeechRecognizer
class in conjunction with the
.B GSSpeechRecognitionServer
application provide a speech recognition interface in a GNUstep
environment. It allows GNUstep apps to recognize predefined voice
commands and respond to them accordingly.
.SH OPTIONS
.B GSSpeechRecognitionServer
doesn't accept any options; it is launched automatically when needed
by the
.IR NSSpeechRecognizer
class.
.SH SEE ALSO
.BR say (1),
.BR GSSpeechServer (1),
.BR GNUstep (7).
.SH AUTHORS
.B GSSpeechRecognitionServer
was written by Gregory John Casamento <greg.casamento@gmail.com>.
This man page was written by Yavor Doganov <yavor@gnu.org>.
.SH COPYRIGHT
Copyright (C) 2020 Free Software Foundation, Inc.
.PP
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.

View file

@ -1,5 +1,5 @@
@c -*- texinfo -*-
@chapter ANNOUNCE
@chapter Announcement
@ifset TEXT-ONLY
@include version.texi
@end ifset
@ -43,9 +43,10 @@ library, you will need to install Cairo.
@ifset GNUSTEP-GUI-FTP-MACHINE
The gnustep-gui-@value{GNUSTEP-GUI-VERSION}.tar.gz distribution
file has been placed at @url{ftp://@value{GNUSTEP-GUI-FTP-MACHINE}/@value{GNUSTEP-GUI-FTP-DIRECTORY}}.
@end ifset
It is accompanied by gnustep-back-@value{GNUSTEP-GUI-VERSION}.tar.gz.sig, a PGP signature which you can validate by putting both files in the same directory and using:
It is accompanied by gnustep-gui-@value{GNUSTEP-GUI-VERSION}.tar.gz.sig, a
PGP signature which you can validate by putting both files in the same
directory and using:
@example
gpg --verify gnustep-gui-@value{GNUSTEP-GUI-VERSION}.tar.gz.sig
@ -57,6 +58,7 @@ fingerprint:
@example
83AA E47C E829 A414 6EF8 3420 CA86 8D4C 9914 9679
@end example
@end ifset
Read the INSTALL file or the GNUstep-HOWTO for installation instructions.

View file

@ -9,6 +9,40 @@
The currently released version of the library is @samp{@value{GNUSTEP-GUI-VERSION}}.
@end ifclear
@section Noteworthy changes in version @samp{0.29.0}
This version adds support for storyboard files and many new
classes. Plus the usual bunch of bug fixes.
@itemize @bullet
@item Support loading of storyboard files.
@item Add classes NSSwitch, NSFontAssetRequest,
NSMediaLibraryBrowserController, NSScrubberItemView, NSScrubberLayout,
NSScrubber, NSSharingServicePickerToolbarItem, NSPathCell,
NSPathComponentCell, NSPathControl, NSPathControlItem,
NSPersistentDocument, NSAccessibilityCustomAction,
NSAccessibilityCustomRotor, NSAccessibilityElement, NSStoryboard,
NSStoryboardSegue, NSPageController, NSSplitViewController,
NSSplitViewItem, NSTabViewController, NSLayoutAnchor,
NSLayoutConstraint, NSLayoutGuide, NSStatusBarButton,
NSTextCheckingController, NSTextFinder, NSTextInputContext.
Some of these classes are still skeletons.
@item Fix extraline fragment in text layout.
@item Better encoding handling in RTF files.
@item Add more italian translations.
@item Add MacOSX methods to NSNib, NSMenu and NSWindow.
@item Focus handling fixes for WindowMaker.
@item Fix missing colours when loading old colour lists.
@item Support JPEG export as greyscale image.
@item Fix memory leak in NSPopupButtonCell.
@item Fix toolbar flickering.
@item NSSearchFieldCell use code from GSTheme to disolay popup.
@item Fix int decoding to get it working on 64 bit big endian machines.
@item Add tab stops after last defined at default intervals.
@end itemize
@ifclear ANNOUNCE-ONLY
@section Noteworthy changes in version @samp{0.28.0}
This version adds support for modern XIB files and many new
@ -47,7 +81,6 @@ support).
menus.
@end itemize
@ifclear ANNOUNCE-ONLY
@section Noteworthy changes in version @samp{0.27.0}
This version includes numerous bugfixes, compatibility

View file

@ -252,6 +252,8 @@
@class NSProgressIndicator;
@class NSTableHeaderCell;
@class NSTabViewItem;
@class NSPathControl;
@class NSPathComponentCell;
@class GSDrawTiles;
@class GSTitleView;
@ -958,6 +960,27 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
*/
- (void) drawStepperHighlightDownButton: (NSRect)aRect;
// NSSwitch drawing methods
- (void) drawSwitchKnob: (NSRect)frame
forState: (NSControlStateValue)value
enabled: (BOOL)enabled;
- (void) drawSwitchBezel: (NSRect)frame
forState: (NSControlStateValue)v
enabled: (BOOL)enabled;
- (void) drawSwitchInRect: (NSRect)rect
forState: (NSControlStateValue)state
enabled: (BOOL)enabled;
// NSPathComponentCell
- (void) drawPathComponentCellWithFrame: (NSRect)f
inView: (NSPathControl *)pc
withCell: (NSPathComponentCell *)cell
isLastComponent: (BOOL)last;
// NSSegmentedControl drawing methods
- (void) drawSegmentedControlSegment: (NSCell *)cell

View file

@ -57,7 +57,7 @@ typedef enum {
GSToolbarClippedItemsButton *_clippedItemsMark;
unsigned int _borderMask;
NSRect _rectAvailable;
float _heightFromLayout;
CGFloat _heightFromLayout;
}
+ (NSUInteger) draggedItemIndex;

View file

@ -42,10 +42,15 @@
//
// GNUstep GUI Library functions
//
#import <AppKit/AppKitErrors.h>
#import <AppKit/NSGraphics.h>
#import <AppKit/NSAccessibility.h>
#import <AppKit/NSAccessibilityConstants.h>
#import <AppKit/NSAccessibilityCustomAction.h>
#import <AppKit/NSAccessibilityCustomRotor.h>
#import <AppKit/NSAccessibilityElement.h>
#import <AppKit/NSAccessibilityProtocols.h>
#import <AppKit/NSActionCell.h>
#import <AppKit/NSAnimationContext.h>
#import <AppKit/NSAppearance.h>
@ -117,6 +122,9 @@
#import <AppKit/NSScreen.h>
#import <AppKit/NSScroller.h>
#import <AppKit/NSScrollView.h>
#import <AppKit/NSScrubber.h>
#import <AppKit/NSScrubberItemView.h>
#import <AppKit/NSScrubberLayout.h>
#import <AppKit/NSSelection.h>
#import <AppKit/NSSharingService.h>
#import <AppKit/NSSlider.h>
@ -125,6 +133,7 @@
#import <AppKit/NSSpellProtocol.h>
#import <AppKit/NSSplitView.h>
#import <AppKit/NSStatusBar.h>
#import <AppKit/NSStatusBarButton.h>
#import <AppKit/NSStatusItem.h>
#import <AppKit/NSStringDrawing.h>
#import <AppKit/NSText.h>
@ -157,6 +166,7 @@
#import <AppKit/NSDocumentController.h>
#import <AppKit/NSDrawer.h>
#import <AppKit/NSFileWrapperExtensions.h>
#import <AppKit/NSFontAssetRequest.h>
#import <AppKit/NSFontCollection.h>
#import <AppKit/NSFontDescriptor.h>
#import <AppKit/NSGestureRecognizer.h>
@ -169,12 +179,17 @@
#import <AppKit/NSInputServer.h>
#import <AppKit/NSInterfaceStyle.h>
#import <AppKit/NSKeyValueBinding.h>
#import <AppKit/NSLayoutAnchor.h>
#import <AppKit/NSLayoutConstraint.h>
#import <AppKit/NSLayoutGuide.h>
#import <AppKit/NSLayoutManager.h>
#import <AppKit/NSLevelIndicator.h>
#import <AppKit/NSLevelIndicatorCell.h>
#import <AppKit/NSMagnificationGestureRecognizer.h>
#import <AppKit/NSMediaLibraryBrowserController.h>
#import <AppKit/NSMovie.h>
#import <AppKit/NSMovieView.h>
#import <AppKit/NSPageController.h>
#import <AppKit/NSPanGestureRecognizer.h>
#import <AppKit/NSNib.h>
#import <AppKit/NSNibControlConnector.h>
@ -185,6 +200,11 @@
#import <AppKit/NSOpenGLView.h>
#import <AppKit/NSOutlineView.h>
#import <AppKit/NSParagraphStyle.h>
#import <AppKit/NSPersistentDocument.h>
#import <AppKit/NSPathControl.h>
#import <AppKit/NSPathCell.h>
#import <AppKit/NSPathComponentCell.h>
#import <AppKit/NSPathControlItem.h>
#import <AppKit/NSPickerTouchBarItem.h>
#import <AppKit/NSPredicateEditor.h>
#import <AppKit/NSPredicateEditorRowTemplate.h>
@ -201,6 +221,7 @@
#import <AppKit/NSSegmentedCell.h>
#import <AppKit/NSSegmentedControl.h>
#import <AppKit/NSShadow.h>
#import <AppKit/NSSharingServicePickerToolbarItem.h>
#import <AppKit/NSSharingServicePickerTouchBarItem.h>
#import <AppKit/NSSliderTouchBarItem.h>
#import <AppKit/NSSound.h>
@ -209,15 +230,27 @@
#import <AppKit/NSStepperTouchBarItem.h>
#import <AppKit/NSStepper.h>
#import <AppKit/NSStepperCell.h>
#import <AppKit/NSStoryboard.h>
#import <AppKit/NSStoryboardSegue.h>
#import <AppKit/NSSeguePerforming.h>
#import <AppKit/NSSwitch.h>
#import <AppKit/NSSplitViewController.h>
#import <AppKit/NSSplitViewItem.h>
#import <AppKit/NSTableColumn.h>
#import <AppKit/NSTableHeaderCell.h>
#import <AppKit/NSTableHeaderView.h>
#import <AppKit/NSTableView.h>
#import <AppKit/NSTabView.h>
#import <AppKit/NSTabViewController.h>
#import <AppKit/NSTabViewItem.h>
#import <AppKit/NSTextAlternatives.h>
#import <AppKit/NSTextAttachment.h>
#import <AppKit/NSTextContainer.h>
#import <AppKit/NSTextCheckingClient.h>
#import <AppKit/NSTextCheckingController.h>
#import <AppKit/NSTextFinder.h>
#import <AppKit/NSTextInputClient.h>
#import <AppKit/NSTextInputContext.h>
#import <AppKit/NSTextList.h>
#import <AppKit/NSTextStorage.h>
#import <AppKit/NSTextTable.h>
@ -235,6 +268,8 @@
#import <AppKit/NSTreeNode.h>
#import <AppKit/NSUserDefaultsController.h>
#import <AppKit/NSUserInterfaceItemIdentification.h>
#import <AppKit/NSUserInterfaceCompression.h>
#import <AppKit/NSUserInterfaceItemSearching.h>
#import <AppKit/NSUserInterfaceLayout.h>
#import <AppKit/NSUserInterfaceValidation.h>
#import <AppKit/NSViewController.h>

View file

@ -0,0 +1,70 @@
/* Definition of the AppKitErrors header
Copyright (C) 2019 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tues Apr 7 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef _AppKitErrors_h_GNUSTEP_GUI_INCLUDE
#define _AppKitErrors_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_0, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
// All of the AppKit errors in the NSCocoaErrorDomain.
enum
{
NSFontAssetDownloadError = 66304,
NSFontErrorMinimum = 66304,
NSFontErrorMaximum = 66335,
NSServiceApplicationNotFoundError = 66560,
NSServiceApplicationLaunchFailedError = 66561,
NSServiceRequestTimedOutError = 66562,
NSServiceInvalidPasteboardDataError = 66563,
NSServiceMalformedServiceDictionaryError = 66564,
NSServiceMiscellaneousError = 66800,
NSServiceErrorMinimum = 66560,
NSServiceErrorMaximum = 66817,
NSSharingServiceNotConfiguredError = 67072,
NSSharingServiceErrorMinimum = 67072,
NSSharingServiceErrorMaximum = 67327,
NSTextReadInapplicableDocumentTypeError = 65806,
NSTextWriteInapplicableDocumentTypeError = 66062,
NSTextReadWriteErrorMinimum = 65792,
NSTextReadWriteErrorMaximum = 66303,
NSWorkspaceAuthorizationInvalidError = 67328,
NSWorkspaceErrorMinimum = 67328,
NSWorkspaceErrorMaximum = 67455,
};
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _AppKitErrors_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,68 @@
/* Interface of class NSAccessibilityCustomAction
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 15 Jun 2020 03:18:47 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSAccessibilityCustomAction_h_GNUSTEP_GUI_INCLUDE
#define _NSAccessibilityCustomAction_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
DEFINE_BLOCK_TYPE(GSAccessibilityCustomActionHandler, void, BOOL);
@interface NSAccessibilityCustomAction : NSObject
- (instancetype)initWithName: (NSString *)name
handler: (GSAccessibilityCustomActionHandler)handler;
- (instancetype)initWithName: (NSString *)name
target: (id)target
selector: (SEL)selector;
- (NSString *) name;
- (void) setName: (NSString *)name;
- (GSAccessibilityCustomActionHandler) handler;
- (void) setHandler: (GSAccessibilityCustomActionHandler)handler;
- (id) target;
- (void) setTarget: (id)target;
- (SEL) selector;
- (void) setSelector: (SEL)selector;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSAccessibilityCustomAction_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,143 @@
/* Interface of class NSAccessibilityCustomRotor
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 15 Jun 2020 03:18:59 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSAccessibilityCustomRotor_h_GNUSTEP_GUI_INCLUDE
#define _NSAccessibilityCustomRotor_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSGeometry.h>
#import <AppKit/NSAccessibilityProtocols.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@protocol NSAccessibilityCustomRotorItemSearchDelegate;
@protocol NSAccessibilityCustomRotorItemLoadDelegate;
@class NSAccessibilityCustomRotor;
@class NSAccessibilityCustomRotorItemResult;
@class NSAccessibilityCustomRotorSearchParameters;
@class NSString;
@class NSAccessibilityElement;
enum
{
NSAccessibilityCustomRotorSearchDirectionPrevious,
NSAccessibilityCustomRotorSearchDirectionNext,
};
typedef NSInteger NSAccessibilityCustomRotorSearchDirection;
enum
{
NSAccessibilityCustomRotorTypeCustom = 0,
NSAccessibilityCustomRotorTypeAny = 1,
NSAccessibilityCustomRotorTypeAnnotation,
NSAccessibilityCustomRotorTypeBoldText,
NSAccessibilityCustomRotorTypeHeading,
NSAccessibilityCustomRotorTypeHeadingLevel1,
NSAccessibilityCustomRotorTypeHeadingLevel2,
NSAccessibilityCustomRotorTypeHeadingLevel3,
NSAccessibilityCustomRotorTypeHeadingLevel4,
NSAccessibilityCustomRotorTypeHeadingLevel5,
NSAccessibilityCustomRotorTypeHeadingLevel6,
NSAccessibilityCustomRotorTypeImage,
NSAccessibilityCustomRotorTypeItalicText,
NSAccessibilityCustomRotorTypeLandmark,
NSAccessibilityCustomRotorTypeLink,
NSAccessibilityCustomRotorTypeList,
NSAccessibilityCustomRotorTypeMisspelledWord,
NSAccessibilityCustomRotorTypeTable,
NSAccessibilityCustomRotorTypeTextField,
NSAccessibilityCustomRotorTypeUnderlinedText,
NSAccessibilityCustomRotorTypeVisitedLink,
};
typedef NSInteger NSAccessibilityCustomRotorType;
// Rotor...
@interface NSAccessibilityCustomRotor : NSObject
- (instancetype) initWithLabel: (NSString *)label
itemSearchDelegate: (id<NSAccessibilityCustomRotorItemSearchDelegate>)delegate;
- (instancetype) initWithRotorType: (NSAccessibilityCustomRotorType)rotorType
itemSearchDelegate: (id<NSAccessibilityCustomRotorItemSearchDelegate>)delegate;
- (NSAccessibilityCustomRotorType) type;
- (void) setType: (NSAccessibilityCustomRotorType)type;
- (NSString *) label;
- (void) setLabel: (NSString *)label;
- (id<NSAccessibilityCustomRotorItemSearchDelegate>) itemSearchDelegate;
- (void) setItemSearchDelegate: (id<NSAccessibilityCustomRotorItemSearchDelegate>) delegate;
- (id<NSAccessibilityElementLoading>) itemLoadingDelegate;
- (void) setItemLoadingDelegate: (id<NSAccessibilityElementLoading>) delegate;
@end
// Results...
@interface NSAccessibilityCustomRotorItemResult : NSObject
- (instancetype)initWithTargetElement:(id<NSAccessibilityElement>)targetElement;
- (instancetype)initWithItemLoadingToken: (id<NSAccessibilityLoadingToken>)token
customLabel: (NSString *)customLabel;
- (id<NSAccessibilityElement>) targetElement;
- (id<NSAccessibilityLoadingToken>) itemLoadingToken;
- (NSRange) targetRange;
- (NSString *) customLabel;
@end
// Protocol...
@protocol NSAccessibilityCustomRotorItemSearchDelegate <NSObject>
#if GS_PROTOCOLS_HAVE_OPTIONAL
@required
#endif
- (NSAccessibilityCustomRotorItemResult *) rotor: (NSAccessibilityCustomRotor *)rotor
resultForSearchParameters: (NSAccessibilityCustomRotorSearchParameters *)parameters;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSAccessibilityCustomRotor_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,47 @@
/* Interface of class NSAccessibilityCustomElement
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 15 Jun 2020 03:19:09 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSAccessibilityElement_h_GNUSTEP_GUI_INCLUDE
#define _NSAccessibilityElement_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSAccessibilityElement : NSObject
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSAccessibilityElement_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,120 @@
/* Definition of class NSAccessibilityProtocols
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Sun Apr 19 09:56:39 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSAccessibilityProtocols_h_GNUSTEP_GUI_INCLUDE
#define _NSAccessibilityProtocols_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@protocol NSAccessibilityElement <NSObject>
- (NSRect)accessibilityFrame;
- (NSString *)accessibilityIdentifier;
- (id)accessibilityParent;
- (BOOL)isAccessibilityFocused;
@end
@protocol NSAccessibilityButton <NSAccessibilityElement>
- (NSString *)accessibilityLabel;
- (BOOL)accessibilityPerformPress;
@end
@protocol NSAccessibilitySwitch <NSAccessibilityButton>
- (BOOL) accessibilityPerformDecrement;
- (BOOL) accessibilityPerformIncrement;
- (NSString *) accessibilityValue;
@end
@protocol NSAccessibilityLoadingToken
@end
@protocol NSAccessibilityGroup <NSAccessibilityElement>
@end
@protocol NSAccessibilityRadioButton <NSAccessibilityButton>
@end
@protocol NSAccessibilityCheckBox <NSAccessibilityButton>
@end
@protocol NSAccessibilityStaticText <NSAccessibilityElement>
@end
@protocol NSAccessibilityNavigableStaticText <NSAccessibilityStaticText>
@end
@protocol NSAccessibilityProgressIndicator <NSAccessibilityGroup>
@end
@protocol NSAccessibilityStepper <NSAccessibilityElement>
@end
@protocol NSAccessibilitySlider <NSAccessibilityElement>
@end
@protocol NSAccessibilityImage <NSAccessibilityElement>
@end
@protocol NSAccessibilityContainsTransientUI <NSAccessibilityElement>
@end
@protocol NSAccessibilityRow;
@protocol NSAccessibilityTable <NSAccessibilityGroup>
@end
@protocol NSAccessibilityOutline <NSAccessibilityTable>
@end
@protocol NSAccessibilityList <NSAccessibilityTable>
@end
@protocol NSAccessibilityRow <NSAccessibilityGroup>
@end
@protocol NSAccessibilityLayoutArea <NSAccessibilityGroup>
@end
@protocol NSAccessibilityLayoutItem <NSAccessibilityGroup>
@end
@protocol NSAccessibilityElementLoading <NSObject>
@end
@protocol NSAccessibility <NSObject>
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSAccessibilityProtocols_h_GNUSTEP_GUI_INCLUDE */

View file

@ -125,34 +125,34 @@ typedef NSUInteger NSRequestUserAttentionType;
#define NSAppKitVersionNumber10_5_3 949.33
#define NSAppKitVersionNumber10_6 1038
#define NSAppKitVersionNumber10_7 1138
#define NSAppKitVersionNumber10_7_2 1138.23;
#define NSAppKitVersionNumber10_7_3 1138.32;
#define NSAppKitVersionNumber10_7_4 1138.47;
#define NSAppKitVersionNumber10_8 1187;
#define NSAppKitVersionNumber10_9 1265;
#define NSAppKitVersionNumber10_10 1343;
#define NSAppKitVersionNumber10_10_2 1344;
#define NSAppKitVersionNumber10_10_3 1347;
#define NSAppKitVersionNumber10_10_4 1348;
#define NSAppKitVersionNumber10_10_5 1348;
#define NSAppKitVersionNumber10_10_Max 1349;
#define NSAppKitVersionNumber10_11 1404;
#define NSAppKitVersionNumber10_11_1 1404.13;
#define NSAppKitVersionNumber10_11_2 1404.34;
#define NSAppKitVersionNumber10_11_3 1404.34;
#define NSAppKitVersionNumber10_12 1504;
#define NSAppKitVersionNumber10_12_1 1504.60;
#define NSAppKitVersionNumber10_12_2 1504.76;
#define NSAppKitVersionNumber10_13 1561;
#define NSAppKitVersionNumber10_13_1 1561.1;
#define NSAppKitVersionNumber10_13_2 1561.2;
#define NSAppKitVersionNumber10_13_4 1561.4;
#define NSAppKitVersionNumber10_14 1671;
#define NSAppKitVersionNumber10_14_1 1671.1;
#define NSAppKitVersionNumber10_14_2 1671.2;
#define NSAppKitVersionNumber10_14_3 1671.3;
#define NSAppKitVersionNumber10_14_4 1671.4;
#define NSAppKitVersionNumber10_14_5 1671.5;
#define NSAppKitVersionNumber10_7_2 1138.23
#define NSAppKitVersionNumber10_7_3 1138.32
#define NSAppKitVersionNumber10_7_4 1138.47
#define NSAppKitVersionNumber10_8 1187
#define NSAppKitVersionNumber10_9 1265
#define NSAppKitVersionNumber10_10 1343
#define NSAppKitVersionNumber10_10_2 1344
#define NSAppKitVersionNumber10_10_3 1347
#define NSAppKitVersionNumber10_10_4 1348
#define NSAppKitVersionNumber10_10_5 1348
#define NSAppKitVersionNumber10_10_Max 1349
#define NSAppKitVersionNumber10_11 1404
#define NSAppKitVersionNumber10_11_1 1404.13
#define NSAppKitVersionNumber10_11_2 1404.34
#define NSAppKitVersionNumber10_11_3 1404.34
#define NSAppKitVersionNumber10_12 1504
#define NSAppKitVersionNumber10_12_1 1504.60
#define NSAppKitVersionNumber10_12_2 1504.76
#define NSAppKitVersionNumber10_13 1561
#define NSAppKitVersionNumber10_13_1 1561.1
#define NSAppKitVersionNumber10_13_2 1561.2
#define NSAppKitVersionNumber10_13_4 1561.4
#define NSAppKitVersionNumber10_14 1671
#define NSAppKitVersionNumber10_14_1 1671.1
#define NSAppKitVersionNumber10_14_2 1671.2
#define NSAppKitVersionNumber10_14_3 1671.3
#define NSAppKitVersionNumber10_14_4 1671.4
#define NSAppKitVersionNumber10_14_5 1671.5
APPKIT_EXPORT const double NSAppKitVersionNumber;
#endif

View file

@ -123,6 +123,18 @@ enum {
};
typedef NSUInteger NSCellStateValue;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
/*
* Control state values as of 10.13
*/
enum {
NSControlStateValueMixed = -1,
NSControlStateValueOff = 0,
NSControlStateValueOn = 1
};
typedef NSUInteger NSControlStateValue;
#endif
/**
* <p>Enumeration of the ways that you can display an image in an
* NSImageCell. The available ones are:</p>

View file

@ -1,4 +1,4 @@
/*
/*
NSColor.h
The colorful color class
@ -7,7 +7,7 @@
Author: Scott Christley <scottc@net-community.com>
Date: 1996
This file is part of the GNUstep GUI Library.
This library is free software; you can redistribute it and/or
@ -22,10 +22,10 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
*/
#ifndef _GNUstep_H_NSColor
#define _GNUstep_H_NSColor
@ -56,12 +56,32 @@ enum _NSControlSize {
};
typedef NSUInteger NSControlSize;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_14, GS_API_LATEST)
enum _NSColorType {
NSColorTypeComponentBased,
NSColorTypePattern,
NSColorTypeCatalog
};
typedef NSInteger NSColorType;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_14, GS_API_LATEST)
enum _NSColorSystemEffect {
NSColorSystemEffectNone,
NSColorSystemEffectPressed,
NSColorSystemEffectDeepPressed,
NSColorSystemEffectDisabled,
NSColorSystemEffectRollover
};
typedef NSInteger NSColorSystemEffect;
#endif
/*
* NSColor is an abstract super class of the class cluster of the real colour classes.
* For each colour space exists a specific subclass that implements the behaviour for
* For each colour space exists a specific subclass that implements the behaviour for
* this colour space.
* The colour spaces NSDeviceBlackColorSpace and NSCalibratedBlackColorSpace
* are no longer supported by this class. They were not in the old OpenStep
* are no longer supported by this class. They were not in the old OpenStep
* specification, and are not used in the new Apple specification. The names are
* used as synonyms to NSDeviceWhiteColorSpace and NSCalibratedWhiteColorSpace.
*/
@ -133,7 +153,7 @@ typedef NSUInteger NSControlSize;
magenta:(CGFloat *)magenta
yellow:(CGFloat *)yellow
black:(CGFloat *)black
alpha:(CGFloat *)alpha;
alpha:(CGFloat *)alpha;
- (void)getHue:(CGFloat *)hue
saturation:(CGFloat *)saturation
brightness:(CGFloat *)brightness
@ -175,8 +195,8 @@ typedef NSUInteger NSControlSize;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
// + (NSColor *)colorWithCIColor:(CIColor *)color;
+ (NSColor *)colorWithColorSpace:(NSColorSpace *)space
components:(const CGFloat *)comp
count:(NSInteger)number;
components:(const CGFloat *)comp
count:(NSInteger)number;
- (NSColorSpace *)colorSpace;
- (NSColor *)colorUsingColorSpace:(NSColorSpace *)space;
- (void)getComponents:(CGFloat *)components;
@ -273,6 +293,67 @@ typedef NSUInteger NSControlSize;
// Tooltip colours
+ (NSColor*) toolTipColor;
+ (NSColor*) toolTipTextColor;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
+ (NSColor *)colorWithSRGBRed:(CGFloat)red
green:(CGFloat)green
blue:(CGFloat)blue
alpha:(CGFloat)alpha;
+ (NSColor *)colorWithGenericGamma22White:(CGFloat)white
alpha:(CGFloat)alpha;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_9, GS_API_LATEST)
+ (NSColor *)colorWithRed:(CGFloat)red
green:(CGFloat)green
blue:(CGFloat)blue
alpha:(CGFloat)alpha;
+ (NSColor *)colorWithHue:(CGFloat)hue
saturation:(CGFloat)saturation
brightness:(CGFloat)brightness
alpha:(CGFloat)alpha;
+ (NSColor *)colorWithWhite:(CGFloat)white
alpha:(CGFloat)alpha;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
+ (NSColor *)systemBlueColor;
+ (NSColor *)systemBrownColor;
+ (NSColor *)systemGrayColor;
+ (NSColor *)systemGreenColor;
+ (NSColor *)systemOrangeColor;
+ (NSColor *)systemPinkColor;
+ (NSColor *)systemPurpleColor;
+ (NSColor *)systemRedColor;
+ (NSColor *)systemYellowColor;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
+ (NSColor *)colorWithDisplayP3Red:(CGFloat)red
green:(CGFloat)green
blue:(CGFloat)blue
alpha:(CGFloat)alpha;
+ (NSColor *)colorWithColorSpace:(NSColorSpace *)space
hue:(CGFloat)hue
saturation:(CGFloat)saturation
brightness:(CGFloat)brightness
alpha:(CGFloat)alpha;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
- (NSColor *)colorUsingType:(NSColorType)type;
- (NSColorType)type;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_14, GS_API_LATEST)
- (NSColor *)colorWithSystemEffect:(NSColorSystemEffect)systemEffect;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
+ (NSColor *)systemIndigoColor;
+ (NSColor *)systemTealColor;
#endif
#endif
@end
@ -298,4 +379,3 @@ typedef struct CGColor *CGColorRef;
@end
#endif // _GNUstep_H_NSColor

View file

@ -45,10 +45,10 @@
BOOL _usesDataSource;
BOOL _hasVerticalScroller;
BOOL _completes;
int _visibleItems;
NSInteger _visibleItems;
NSSize _intercellSpacing;
float _itemHeight;
int _selectedItem;
NSInteger _selectedItem;
NSRect _lastValidFrame;
NSRange _prevSelectedRange;

View file

@ -0,0 +1,65 @@
/* Definition of class NSFontAssetRequest
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tue Apr 7 08:06:56 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSFontAssetRequest_h_GNUSTEP_GUI_INCLUDE
#define _NSFontAssetRequest_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSProgress.h>
#import <Foundation/NSError.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
enum {
NSFontAssetRequestOptionUsesStandardUI = 1 << 0, // Use standard system UI for downloading.
};
typedef NSUInteger NSFontAssetRequestOptions;
DEFINE_BLOCK_TYPE(GSFontAssetCompletionHandler, BOOL, NSError*);
@interface NSFontAssetRequest : NSObject <NSProgressReporting>
- (instancetype) initWithFontDescriptors: (NSArray *)fontDescriptors
options: (NSFontAssetRequestOptions)options;
- (NSArray *) downloadedFontDescriptors;
- (NSProgress *) progress;
- (void)downloadFontAssetsWithCompletionHandler: (GSFontAssetCompletionHandler)completionHandler;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSFontAssetRequest_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,101 @@
/* Interface of class NSLayoutAnchor
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento <greg.casamento@gmail.com>
Date: Sat May 9 16:30:52 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSLayoutAnchor_h_GNUSTEP_GUI_INCLUDE
#define _NSLayoutAnchor_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSLayoutConstraint, NSString, NSArray;
@interface NSLayoutAnchor : NSObject <NSCoding, NSCopying>
{
NSString *_name;
id _item;
BOOL _hasAmbiguousLayout;
NSArray *_constraintsAffectingLayout;
}
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutAnchor *)anchor;
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutAnchor *)anchor;
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutAnchor *)anchor;
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c;
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c;
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutAnchor *)anchor constant: (CGFloat)c;
- (NSString *) name;
- (id) item;
- (BOOL) hasAmbiguousLayout;
- (NSArray *) constraintsAffectingLayout;
@end
@interface NSLayoutDimension : NSLayoutAnchor
{
}
- (NSLayoutConstraint *) constraintEqualToConstant: (CGFloat)c;
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToConstant: (CGFloat)c;
- (NSLayoutConstraint *) constraintLessThanOrEqualToConstant: (CGFloat)c;
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m;
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m;
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m;
- (NSLayoutConstraint *) constraintEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m constant: (CGFloat)c;
- (NSLayoutConstraint *) constraintGreaterThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m constant: (CGFloat)c;
- (NSLayoutConstraint *) constraintLessThanOrEqualToAnchor: (NSLayoutDimension *)anchor multiplier: (CGFloat)m constant: (CGFloat)c;
@end
@interface NSLayoutXAxisAnchor : NSLayoutAnchor
- (NSLayoutDimension *) anchorWithOffsetToAnchor: (NSLayoutXAxisAnchor *)anchor;
@end
@interface NSLayoutYAxisAnchor : NSLayoutAnchor
- (NSLayoutDimension *) anchorWithOffsetToAnchor: (NSLayoutYAxisAnchor *)anchor;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSLayoutAnchor_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,170 @@
/* Interface of class NSLayoutConstraint
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento <greg.casamento@gmail.com>
Date: Sat May 9 16:30:22 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSLayoutConstraint_h_GNUSTEP_GUI_INCLUDE
#define _NSLayoutConstraint_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSKeyedArchiver.h>
#import <AppKit/NSLayoutAnchor.h>
@class NSControl, NSView, NSAnimation, NSArray, NSMutableArray, NSDictionary;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
// Priority
typedef float NSLayoutPriority;
static const NSLayoutPriority NSLayoutPriorityRequired = 1000.0;
static const NSLayoutPriority NSLayoutPriorityDefaultHigh = 750.0;
static const NSLayoutPriority NSLayoutPriorityDragThatCanResizeWindow = 510.0;
static const NSLayoutPriority NSLayoutPriorityWindowSizeStayPut = 500.0;
static const NSLayoutPriority NSLayoutPriorityDragThatCannotResizeWindow = 490.0;
static const NSLayoutPriority NSLayoutPriorityDefaultLow = 250.0;
static const NSLayoutPriority NSLayoutPriorityFittingSizeCompression = 50.0;
// Orientation
enum {
NSLayoutConstraintOrientationHorizontal = 0,
NSLayoutConstraintOrientationVertical = 1
};
typedef NSInteger NSLayoutConstraintOrientation;
// Attributes
enum {
NSLayoutAttributeLeft = 1,
NSLayoutAttributeRight,
NSLayoutAttributeTop,
NSLayoutAttributeBottom,
NSLayoutAttributeLeading,
NSLayoutAttributeTrailing,
NSLayoutAttributeWidth,
NSLayoutAttributeHeight,
NSLayoutAttributeCenterX,
NSLayoutAttributeCenterY,
NSLayoutAttributeLastBaseline,
NSLayoutAttributeBaseline = NSLayoutAttributeLastBaseline,
NSLayoutAttributeFirstBaseline,
NSLayoutAttributeNotAnAttribute = 0
};
typedef NSInteger NSLayoutAttribute;
// Relation
enum {
NSLayoutRelationLessThanOrEqual = -1,
NSLayoutRelationEqual = 0,
NSLayoutRelationGreaterThanOrEqual = 1,
};
typedef NSInteger NSLayoutRelation;
// Options
enum {
NSLayoutFormatAlignAllLeft = (1 << NSLayoutAttributeLeft),
NSLayoutFormatAlignAllRight = (1 << NSLayoutAttributeRight),
NSLayoutFormatAlignAllTop = (1 << NSLayoutAttributeTop),
NSLayoutFormatAlignAllBottom = (1 << NSLayoutAttributeBottom),
NSLayoutFormatAlignAllLeading = (1 << NSLayoutAttributeLeading),
NSLayoutFormatAlignAllTrailing = (1 << NSLayoutAttributeTrailing),
NSLayoutFormatAlignAllCenterX = (1 << NSLayoutAttributeCenterX),
NSLayoutFormatAlignAllCenterY = (1 << NSLayoutAttributeCenterY),
NSLayoutFormatAlignAllLastBaseline = (1 << NSLayoutAttributeLastBaseline),
NSLayoutFormatAlignAllFirstBaseline = (1 << NSLayoutAttributeFirstBaseline),
NSLayoutFormatAlignAllBaseline = NSLayoutFormatAlignAllLastBaseline,
NSLayoutFormatAlignmentMask = 0xFFFF,
NSLayoutFormatDirectionLeadingToTrailing = 0 << 16,
NSLayoutFormatDirectionLeftToRight = 1 << 16,
NSLayoutFormatDirectionRightToLeft = 2 << 16,
NSLayoutFormatDirectionMask = 0x3 << 16,
};
typedef NSUInteger NSLayoutFormatOptions;
@interface NSLayoutConstraint : NSObject <NSCoding, NSCopying>
{
NSLayoutAnchor *_firstAnchor;
NSLayoutAnchor *_secondAnchor;
id _firstItem;
id _secondItem;
NSLayoutAttribute _firstAttribute;
NSLayoutAttribute _secondAttribute;
NSLayoutRelation _relation;
CGFloat _multiplier;
CGFloat _constant;
NSLayoutPriority _priority;
}
+ (NSArray *)constraintsWithVisualFormat: (NSString *)fmt
options: (NSLayoutFormatOptions)opt
metrics: (NSDictionary *)metrics
views: (NSDictionary *)views;
+ (instancetype) constraintWithItem: (id)view1
attribute: (NSLayoutAttribute)attr1
relatedBy: (NSLayoutRelation)relation
toItem: (id)view2
attribute: (NSLayoutAttribute)attr2
multiplier: (CGFloat)mult
constant: (CGFloat)c;
// Active
- (BOOL) isActive;
- (void) setActive: (BOOL)flag;
+ (void) activateConstraints: (NSArray *)constraints;
+ (void) deactivateConstraints: (NSArray *)constraints;
// Items
- (id) firstItem;
- (NSLayoutAttribute) firstAttribute;
- (NSLayoutRelation) relation;
- (id) secondItem;
- (NSLayoutAttribute) secondAttribute;
- (CGFloat) multiplier;
- (CGFloat) constant;
- (NSLayoutAnchor *) firstAnchor;
- (NSLayoutAnchor *) secondAnchor;
- (NSLayoutPriority) priority;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSLayoutConstraint_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,101 @@
/* Interface of class NSLayoutGuide
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento <greg.casamento@gmail.com>
Date: Sat May 9 16:30:36 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSLayoutGuide_h_GNUSTEP_GUI_INCLUDE
#define _NSLayoutGuide_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <AppKit/NSUserInterfaceItemIdentification.h>
#import <AppKit/NSLayoutConstraint.h>
#import <AppKit/NSView.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSView, NSLayoutXAxisAnchor, NSLayoutYAxisAnchor, NSLayoutDimension;
@interface NSLayoutGuide : NSObject <NSCoding, NSUserInterfaceItemIdentification>
{
NSRect _frame;
NSView *_owningView;
NSUserInterfaceItemIdentifier _identifier;
NSLayoutXAxisAnchor *_leadingAnchor;
NSLayoutXAxisAnchor *_trailingAnchor;
NSLayoutXAxisAnchor *_leftAnchor;
NSLayoutXAxisAnchor *_rightAnchor;
NSLayoutYAxisAnchor *_topAnchor;
NSLayoutYAxisAnchor *_bottomAnchor;
NSLayoutDimension *_widthAnchor;
NSLayoutDimension *_heightAnchor;
NSLayoutXAxisAnchor *_centerXAnchor;
NSLayoutYAxisAnchor *_centerYAnchor;
BOOL _hasAmbiguousLayout;
}
- (NSRect) frame;
- (NSView *) owningView;
- (void) setOwningView: (NSView *)owningView;
- (NSUserInterfaceItemIdentifier) identifier;
- (void) setIdentifier: (NSUserInterfaceItemIdentifier)identifier;
- (NSLayoutXAxisAnchor *) leadingAnchor;
- (NSLayoutXAxisAnchor *) trailingAnchor;
- (NSLayoutXAxisAnchor *) leftAnchor;
- (NSLayoutXAxisAnchor *) rightAnchor;
- (NSLayoutYAxisAnchor *) topAnchor;
- (NSLayoutYAxisAnchor *) bottomAnchor;
- (NSLayoutDimension *) widthAnchor;
- (NSLayoutDimension *) heightAnchor;
- (NSLayoutXAxisAnchor *) centerXAnchor;
- (NSLayoutYAxisAnchor *) centerYAnchor;
- (BOOL) hasAmbiguousLayout;
- (NSArray *) constraintsAffectingLayoutForOrientation: (NSLayoutConstraintOrientation)orientation;
@end
@interface NSView (NSLayoutGuideSupport)
- (void) addLayoutGuide: (NSLayoutGuide *)guide;
- (void) removeLayoutGuide: (NSLayoutGuide *)guide;
- (NSArray *) layoutGuides;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSLayoutGuide_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,66 @@
/* Definition of class NSMediaLibraryBrowserController
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tue Apr 7 08:07:21 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSMediaLibraryBrowserController_h_GNUSTEP_GUI_INCLUDE
#define _NSMediaLibraryBrowserController_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#import "AppKit/NSNibDeclarations.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_9, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
enum {
NSMediaLibraryAudio,
NSMediaLibraryImage,
NSMediaLibraryVideo,
};
typedef NSUInteger NSMediaLibrary;
@interface NSMediaLibraryBrowserController : NSObject
+ (NSMediaLibraryBrowserController *) sharedMediaLibraryBrowserController;
- (NSRect) frame;
- (IBAction) togglePanel: (id)sender;
- (BOOL) isVisible;
- (void) setVisible: (BOOL)flag;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSMediaLibraryBrowserController_h_GNUSTEP_GUI_INCLUDE */

View file

@ -434,6 +434,12 @@
withFont: (NSFont *)font;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
- (void) popUpMenuPositionItem: (NSMenuItem *)item
atLocation: (NSPoint) point
inView: (NSView *) view;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_2, GS_API_LATEST)
+ (BOOL) menuBarVisible;
+ (void) setMenuBarVisible: (BOOL)flag;

View file

@ -60,17 +60,23 @@ APPKIT_EXPORT NSString *NSNibTopLevelObjects;
APPKIT_EXPORT NSString *NSNibOwner;
#endif
typedef NSString *NSNibName;
@interface NSNib : NSObject <NSCoding>
{
NSData *_nibData;
id _loader;
NSURL *_url;
NSBundle *_bundle;
}
// reading the data...
- (id)initWithContentsOfURL: (NSURL *)nibFileURL;
- (id)initWithNibNamed: (NSString *)nibNamed bundle: (NSBundle *)bundle;
- (instancetype)initWithNibNamed: (NSNibName)nibNamed bundle: (NSBundle *)bundle;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
- (instancetype)initWithNibData: (NSData *)nibData
bundle: (NSBundle *)bundle;
#endif
// instantiating the nib.
- (BOOL)instantiateNibWithExternalNameTable: (NSDictionary *)externalNameTable;
@ -79,7 +85,10 @@ APPKIT_EXPORT NSString *NSNibOwner;
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (BOOL)instantiateNibWithExternalNameTable: (NSDictionary *)externalNameTable withZone: (NSZone *)zone;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
- (BOOL)instantiateWithOwner: (id)owner
topLevelObjects: (NSArray **)topLevelObjects;
#endif
@end
#endif /* _GNUstep_H_NSNib */

View file

@ -86,9 +86,9 @@
@end /* interface of NSOutlineView */
/**
* Informal protocol NSOutlineViewDataSource
* protocol NSOutlineViewDataSource
*/
@interface NSObject (NSOutlineViewDataSource)
@protocol NSOutlineViewDataSource
/**
* Called to perform drop operation and returns YES if successful,
* and NO otherwise.
@ -197,7 +197,7 @@ APPKIT_EXPORT NSString *NSOutlineViewItemWillCollapseNotification;
/*
* Methods Implemented by the Delegate
*/
@interface NSObject (NSOutlineViewDelegate)
@protocol NSOutlineViewDelegate
// notification methods
/**
* Called after the column has moved.

View file

@ -55,7 +55,7 @@ extern "C" {
- (NSArray *) tagNames;
- (NSPaperOrientation) orientation;
- (void) setOrientation: (NSPaperOrientation)or;
- (void) setOrientation: (NSPaperOrientation)orientation;
- (NSSize) paperSize;
- (void) setPaperSize: (NSSize)size;

View file

@ -0,0 +1,101 @@
/* Definition of class NSPageController
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 27-07-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSPageController_h_GNUSTEP_GUI_INCLUDE
#define _NSPageController_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSGeometry.h>
#import <AppKit/NSViewController.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_8, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSView, NSArray, NSMutableArray;
@protocol NSPageControllerDelegate;
typedef NSString* NSPageControllerObjectIdentifier;
enum
{
NSPageControllerTransitionStyleStackHistory,
NSPageControllerTransitionStyleStackBook,
NSPageControllerTransitionStyleHorizontalStrip
};
typedef NSUInteger NSPageControllerTransitionStyle;
@interface NSPageController : NSViewController
{
NSPageControllerTransitionStyle _transitionStyle;
id _delegate;
NSMutableArray *_arrangedObjects;
NSInteger _selectedIndex;
NSViewController *_selectedViewController;
}
// Set/Get properties
- (NSPageControllerTransitionStyle) transitionStyle;
- (void) setTransitionStyle: (NSPageControllerTransitionStyle)style;
- (id) delegate;
- (void) setDelegate: (id)delegate;
- (NSArray *) arrangedObjects;
- (void) setArrangedObjects: (NSArray *)array;
- (NSInteger) selectedIndex;
- (void) setSelectedIndex: (NSInteger)index;
- (NSViewController *) selectedViewController;
// Handle page transitions
- (void) navigateForwardToObject: (id)object;
- (void) completeTransition;
- (IBAction) navigateBack: (id)sender;
- (IBAction) navigateForward: (id)sender;
- (IBAction) takeSelectedIndexFrom: (id)sender; // uses integerValue from sender
@end
@protocol NSPageControllerDelegate
- (NSPageControllerObjectIdentifier) pageController: (NSPageController *)pageController identifierForObject: (id)object;
- (NSViewController *) pageController: (NSPageController *)pageController viewControllerForIdentifier: (NSPageControllerObjectIdentifier)identifier;
- (NSRect) pageController: (NSPageController *)pageController frameForObject: (id)object;
- (void) pageController: (NSPageController *)pageController prepareViewController: (NSViewController *)viewController withObject: (id)object;
- (void) pageController: (NSPageController *)pageController didTransitionToObject: (id)object;
- (void) pageControllerWillStartLiveTransition: (NSPageController *)pageController;
- (void) pageControllerDidEndLiveTransition: (NSPageController *)pageController;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSPageController_h_GNUSTEP_GUI_INCLUDE */

128
Headers/AppKit/NSPathCell.h Normal file
View file

@ -0,0 +1,128 @@
/* Definition of class NSPathCell
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 22 18:19:07 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSPathCell_h_GNUSTEP_GUI_INCLUDE
#define _NSPathCell_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSActionCell.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
enum {
NSPathStyleStandard,
NSPathStyleNavigationBar, // deprecated
NSPathStylePopUp
};
typedef NSUInteger NSPathStyle;
@protocol NSPathCellDelegate;
@class NSEvent, NSView, NSArray, NSString, NSAttributeString, NSColor, NSPathComponentCell, NSOpenPanel, NSURL;
@interface NSPathCell : NSActionCell
{
NSPathStyle _pathStyle;
NSColor *_backgroundColor;
NSAttributedString *_placeholderAttributedString;
NSArray *_allowedTypes;
id<NSPathCellDelegate> _delegate;
NSURL *_url;
SEL _doubleAction;
NSArray *_pathComponentCells;
NSPathComponentCell *_clickedPathComponentCell;
id _objectValue;
}
- (void)mouseEntered:(NSEvent *)event
withFrame:(NSRect)frame
inView:(NSView *)view;
- (void)mouseExited:(NSEvent *)event
withFrame:(NSRect)frame
inView:(NSView *)view;
- (void) setAllowedTypes: (NSArray *)types;
- (NSArray *) allowedTypes;
- (NSPathStyle) pathStyle;
- (void) setPathStyle: (NSPathStyle)pathStyle;
- (NSAttributedString *) placeholderAttributedString;
- (void) setPlaceholderAttributedString: (NSAttributedString *)string;
- (NSString *) placeholderString;
- (void) setPlaceholderString: (NSString *)string;
- (NSColor *) backgroundColor;
- (void) setBackgroundColor: (NSColor *)color;
+ (Class) pathComponentCellClass;
+ (void) setPathComponentCellClass: (Class)clz;
- (NSRect)rectOfPathComponentCell:(NSPathComponentCell *)cell
withFrame:(NSRect)frame
inView:(NSView *)view;
- (NSPathComponentCell *)pathComponentCellAtPoint:(NSPoint)point
withFrame:(NSRect)frame
inView:(NSView *)view;
- (NSPathComponentCell *) clickedPathComponentCell;
- (NSArray *) pathComponentCells;
- (void) setPathComponentCells: (NSArray *)cells;
- (SEL) doubleAction;
- (void) setDoubleAction: (SEL)action;
- (NSURL *) URL;
- (void) setURL: (NSURL *)url;
- (id<NSPathCellDelegate>) delegate;
- (void) setDelegate: (id<NSPathCellDelegate>)delegate;
@end
@protocol NSPathCellDelegate
- (void)pathCell:(NSPathCell *)pathCell
willDisplayOpenPanel:(NSOpenPanel *)openPanel;
- (void)pathCell:(NSPathCell *)pathCell
willPopUpMenu:(NSMenu *)menu;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSPathCell_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,60 @@
/* Definition of class NSPathComponentCell
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 22 18:19:21 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSPathComponentCell_h_GNUSTEP_GUI_INCLUDE
#define _NSPathComponentCell_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSTextFieldCell.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSImage, NSURL;
@interface NSPathComponentCell : NSTextFieldCell
{
NSImage *_image;
NSURL *_url;
BOOL _lastComponent;
}
- (NSImage *) image;
- (void) setImage: (NSImage *)image;
- (NSURL *) URL;
- (void) setURL: (NSURL *)url;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSPathComponentCell_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,122 @@
/* Definition of class NSPathControl
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 22 18:19:40 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSPathControl_h_GNUSTEP_GUI_INCLUDE
#define _NSPathControl_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSControl.h>
#import <AppKit/NSDragging.h>
#import <AppKit/NSPathCell.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@protocol NSPathControlDelegate;
@class NSColor, NSPathComponentCell, NSArray, NSURL, NSAttributedString, NSString,
NSMenu, NSPasteboard, NSOpenPanel, NSPathControlItem;
@interface NSPathControl : NSControl
{
NSArray *_pathItems;
id<NSPathControlDelegate> _delegate;
NSDragOperation _localMask;
NSDragOperation _remoteMask;
NSTrackingRectTag _trackingTag;
}
- (void) setPathStyle: (NSPathStyle)style;
- (NSPathStyle) pathStyle;
- (NSColor *) backgroundColor;
- (void) setBackgroundColor: (NSColor *)backgroundColor;
- (NSPathComponentCell *) clickedPathComponentCell;
- (NSArray *) pathComponentCells;
- (void) setPathComponentCells: (NSArray *)cells;
- (SEL) doubleAction;
- (void) setDoubleAction: (SEL)doubleAction;
- (NSURL *) URL;
- (void) setURL: (NSURL *)url;
- (id<NSPathControlDelegate>) delegate;
- (void) setDelegate: (id<NSPathControlDelegate>) delegate;
- (void) setDraggingSourceOperationMask: (NSDragOperation)mask
forLocal: (BOOL)local;
- (NSArray *) allowedTypes;
- (void) setAllowedTypes: (NSArray *)allowedTypes;
- (NSPathControlItem *) clickedPathItem;
- (NSArray *) pathItems;
- (void) setPathItems: (NSArray *)items;
- (NSAttributedString *) placeholderAttributedString;
- (void) setPlaceholderAttributedString: (NSAttributedString *)string;
- (NSString *) placeholderString;
- (void) setPlaceholderString: (NSString *)string;
@end
@protocol NSPathControlDelegate
- (BOOL)pathControl: (NSPathControl *)pathControl
shouldDragPathComponentCell: (NSPathComponentCell *)pathComponentCell
withPasteboard: (NSPasteboard *)pasteboard;
- (NSDragOperation) pathControl: (NSPathControl *)pathControl
validateDrop: (id<NSDraggingInfo>)info;
- (BOOL) pathControl: (NSPathControl *)pathControl
acceptDrop: (id<NSDraggingInfo>)info;
- (void) pathControl: (NSPathControl *)pathControl
willDisplayOpenPanel: (NSOpenPanel *)openPanel;
- (void) pathControl: (NSPathControl *)pathControl
willPopUpMenu: (NSMenu *)menu;
- (BOOL) pathControl: (NSPathControl *)pathControl
shouldDragItem: (NSPathControlItem *)pathItem
withPasteboard: (NSPasteboard *)pasteboard;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSPathControl_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,65 @@
/* Interface of class NSPathControlItem
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 22 18:20:16 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSPathControlItem_h_GNUSTEP_GUI_INCLUDE
#define _NSPathControlItem_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSURL, NSAttributedString, NSImage, NSString;
@interface NSPathControlItem : NSObject
{
NSURL *_url;
NSAttributedString *_attributedTitle;
NSImage *_image;
}
- (NSURL *) URL;
- (void) setURL: (NSURL *)url;
- (NSAttributedString *) attributedTitle;
- (void) setAttributedTitle: (NSAttributedString *)attributedTitle;
- (NSImage *) image;
- (void) setImage: (NSImage *)image;
- (NSString *) title;
- (void) setTitle: (NSString *)title;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSPathControlItem_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,99 @@
/* Definition of class NSPersistentDocument
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Thu May 7 00:04:09 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSPersistentDocument_h_GNUSTEP_GUI_INCLUDE
#define _NSPersistentDocument_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSDocument.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSManagedObjectContext;
@class NSManagedObjectModel;
@class NSError;
@class NSURL;
@class NSString;
@class NSDictionary;
@class NSUndoManager;
@interface NSPersistentDocument : NSDocument
{
NSManagedObjectContext *_managedObjectContext;
NSManagedObjectModel *_managedObjectModel;
}
- (NSManagedObjectContext *) managedObjectContext;
- (NSManagedObjectModel *) managedObjectModel;
- (BOOL) configurePersistentStoreCoordinatorForURL: (NSURL *)url
ofType: (NSString *)fileType
modelConfiguration: (NSString *)config
storeOptions: (NSDictionary *)options
error: (NSError **)err;
- (NSString *) persistentStoreTypeForFileType: (NSString *)fileType;
- (BOOL)hasUndoManager;
- (void) setHasUndoManager: (BOOL)flag;
- (void) setUndoManager: (NSUndoManager *)manager;
- (BOOL) isDocumentEdited;
- (BOOL)readFromURL: (NSURL *)absoluteURL
ofType: (NSString *)typeName
error: (NSError **)err;
- (BOOL)revertToContentsOfURL: (NSURL *)url
ofType: (NSString *)type
error: (NSError **)outErr;
- (BOOL) writeToURL: (NSURL *)url
ofType: (NSString *)type
forSaveOperation: (NSSaveOperationType)saveOp
originalContentsURL: (NSURL *)originalContents
error: (NSError **)err;
- (BOOL)canAsynchronouslyWriteToURL: (NSURL *)url
ofType: (NSString *)type
forSaveOperation: (NSSaveOperationType)saveOp;
- (BOOL)configurePersistentStoreCoordinatorForURL: (NSURL *)url
ofType: (NSString *)fileType
error: (NSError **)err;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSPersistentDocument_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,47 @@
/* Definition of class NSScrubber
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 8 09:16:14 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSScrubber_h_GNUSTEP_GUI_INCLUDE
#define _NSScrubber_h_GNUSTEP_GUI_INCLUDE
#import "AppKit/NSView.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSScrubber : NSView
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSScrubber_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,51 @@
/* Definition of class NSScrubberItemView
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 8 09:17:27 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSScrubberItemView_h_GNUSTEP_GUI_INCLUDE
#define _NSScrubberItemView_h_GNUSTEP_GUI_INCLUDE
#import "AppKit/NSView.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSScrubberArrangedView : NSView
@end
@interface NSScrubberItemView : NSScrubberArrangedView
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSScrubberItemView_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,93 @@
/* Definition of class NSScrubberLayout
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 8 09:20:18 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSScrubberLayout_h_GNUSTEP_GUI_INCLUDE
#define _NSScrubberLayout_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSCoder.h>
#import <Foundation/NSGeometry.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSScrubber;
@interface NSScrubberLayoutAttributes : NSObject <NSCopying>
+ (NSScrubberLayoutAttributes *) layoutAttributesForItemAtIndex: (NSInteger)index;
- (CGFloat) alpha;
- (NSRect) frame;
- (NSInteger) itemIndex;
@end
@interface NSScrubberLayout : NSObject <NSCoding>
// Configuring
- (Class) layoutAttributesClass;
- (NSScrubber *) scrubber;
- (NSRect) visibleRect;
- (void) invalidateLayout;
// Subclassing layout
- (void) prepareLayout;
- (NSSize) scrubberContentSize;
- (NSScrubberLayoutAttributes *) layoutAttributesForItemAtIndex: (NSInteger)index;
- (NSScrubberLayoutAttributes *) layoutAttributesForItemsInRect: (NSRect)rect;
- (BOOL) shouldInvalidateLayoutForHighlightChange;
- (BOOL) shouldInvalidateLayoutForSelectionChange;
- (BOOL) shouldInvalidateLayoutForChangeFromVisibleRect: (NSRect)fromRect
toVisibleRect: (NSRect)toRect;
- (BOOL) automaticallyMirrorsInRightToLeftLayout;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSScrubberLayout_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,55 @@
/* Definition of class NSSeguePerforming
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 16:53:17 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSSeguePerforming_h_GNUSTEP_GUI_INCLUDE
#define _NSSeguePerforming_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <AppKit/NSStoryboardSegue.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@protocol NSSeguePerforming
- (void)performSegueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
sender: (id)sender;
- (void)prepareForSegue: (NSStoryboardSegue *)segue
sender: (id)sender;
- (BOOL)shouldPerformSegueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
sender: (id)sender;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSSeguePerforming_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,63 @@
/* Definition of class NSSharingServicePickerToolbarItem
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tue Apr 7 08:11:46 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSSharingServicePickerToolbarItem_h_GNUSTEP_GUI_INCLUDE
#define _NSSharingServicePickerToolbarItem_h_GNUSTEP_GUI_INCLUDE
#import "AppKit/NSToolbarItem.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@protocol NSSharingServicePickerToolbarItemDelegate;
@interface NSSharingServicePickerToolbarItem : NSToolbarItem
- (id) activityItemsConfiguration;
- (void) setActivityItemsConfiguration: (id)items;
- (id<NSSharingServicePickerToolbarItemDelegate>) delegate;
- (void) setDelegate: (id<NSSharingServicePickerToolbarItemDelegate>) delegate;
@end
@protocol NSSharingServicePickerToolbarItemDelegate
- (NSArray *) itemsForSharingServicePickerToolbarItem: (NSSharingServicePickerToolbarItem *)items;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSSharingServicePickerToolbarItem_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,82 @@
/* Interface of class NSSliderAccessory
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 31-07-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSSliderAccessory_h_GNUSTEP_GUI_INCLUDE
#define _NSSliderAccessory_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSSliderAccessoryBehavior;
@class NSImage;
@interface NSSliderAccessory : NSObject <NSCopying, NSCoding>
{
NSImage *_image;
NSSliderAccessoryBehavior *_behavior;
BOOL _enabled;
}
+ (NSSliderAccessory *) accessoryWithImage: (NSImage *)image;
- (NSSliderAccessoryBehavior *) behavior;
- (void) setBehavior: (NSSliderAccessoryBehavior *)behavior;
- (BOOL) isEnabled;
- (void) setEnabled: (BOOL)flag;
@end
// Behavior...
DEFINE_BLOCK_TYPE(GSSliderAccessoryBehaviorHandler, void, NSSliderAccessory*);
@interface NSSliderAccessoryBehavior : NSObject <NSCopying, NSCoding>
// Initializers
+ (NSSliderAccessoryBehavior *) behaviorWithHandler: (GSSliderAccessoryBehaviorHandler)handler;
+ (NSSliderAccessoryBehavior *) behaviorWithTarget: (id)target action: (SEL)action;
// Behaviors...
+ (NSSliderAccessoryBehavior *) automaticBehavior;
+ (NSSliderAccessoryBehavior *) valueResetBehavior;
+ (NSSliderAccessoryBehavior *) valueStepBehavior;
// Handle events...
- (void) handleAction: (NSSliderAccessory *)sender;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSSliderAccessory_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,78 @@
/* Definition of class NSSplitViewController
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 20 Jul 2020 12:55:02 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSSplitViewController_h_GNUSTEP_GUI_INCLUDE
#define _NSSplitViewController_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSGeometry.h>
#import <AppKit/NSViewController.h>
#import <AppKit/NSUserInterfaceValidation.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSSplitView, NSSplitViewItem, NSArray, NSMutableArray;
@interface NSSplitViewController : NSViewController
{
CGFloat _minimumThicknessForInlineSidebars;
NSMutableArray *_splitViewItems;
}
// return splitview...
- (NSSplitView *) splitView;
- (void) setSplitView: (NSSplitView *)splitView;
- (NSSplitViewItem *) splitViewItemForViewController: (NSViewController *)vc;
- (CGFloat) minimumThicknessForInlineSidebars;
- (void) setMinimumThicknessForInlineSidebars: (CGFloat)value;
// manage splitview items...
- (NSArray *) splitViewItems;
- (void) setSplitViewItems: (NSArray *)items;
- (void) addSplitViewItem: (NSSplitViewItem *)item;
- (void) insertSplitViewItem: (NSSplitViewItem *)item atIndex: (NSInteger)index;
- (void) removeSplitViewItem: (NSSplitViewItem *)item;
// instance methods...
- (NSRect) splitView: (NSSplitView *)splitView additionalEffectiveRectOfDividerAtIndex: (NSInteger)dividerIndex;
- (BOOL) splitView: (NSSplitView *)splitView canCollapseSubview: (NSView *)subview;
- (NSRect) splitView: (NSSplitView *)splitView effectiveRect: (NSRect)proposedEffectiveRect
forDrawnRect: (NSRect)drawnRect ofDividerAtIndex: (NSInteger)dividerIndex;
- (BOOL) splitView: (NSSplitView *)splitView shouldCollapseSubview: (NSView *)subview
forDoubleClickOnDividerAtIndex: (NSInteger)dividerIndex;
- (BOOL) splitView: (NSSplitView *)splitView shouldHideDividerAtIndex: (NSInteger)dividerIndex;
- (IBAction)toggleSidebar:(id)sender;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSSplitViewController_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,119 @@
/* Interface of class NSSplitViewItem
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 20 Jul 2020 12:56:20 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSSplitViewItem_h_GNUSTEP_GUI_INCLUDE
#define _NSSplitViewItem_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <AppKit/AppKitDefines.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
enum
{
NSSplitViewItemBehaviorDefault,
NSSplibViewItemBehaviorSidebar,
NSSplitViewItemBehaviorContentList
};
typedef NSInteger NSSplitViewItemBehavior;
enum
{
NSSplitViewItemCollapseBehaviorDefault,
NSSplitViewItemCollapseBehaviorPreferResizingSiblingsWithFixedSplitView,
NSSplitViewItemCollapseBehaviorPreferResizingSplitViewWithFixedSiblings,
NSSplitViewItemCollapseBehaviorUseConstraints
};
typedef NSInteger NSSplitViewItemCollapseBehavior;
enum
{
NSTitlebarSeparatorStyleAutomatic,
NSTitlebarSeparatorStyleLine,
NSTitlebarSeparatorStyleNone,
NSTitlebarSeparatorStyleShadow
};
typedef NSInteger NSTitlebarSeparatorStyle;
@class NSViewController;
@interface NSSplitViewItem : NSObject <NSCoding>
{
CGFloat _automaticMaximumThickness;
CGFloat _preferredThicknessFraction;
CGFloat _minimumThickness;
CGFloat _maximumThickness;
BOOL _springLoaded;
BOOL _allowsFullHeightLayout;
BOOL _canCollapse;
CGFloat /*NSLayoutPriority*/ _holdingPriority;
NSSplitViewItemCollapseBehavior _collapseBehavior;
NSViewController *_viewController;
NSTitlebarSeparatorStyle _titlebarSeparatorStyle;
}
+ (instancetype)contentListWithViewController:(NSViewController *)viewController;
+ (instancetype)sidebarWithViewController:(NSViewController *)viewController;
+ (instancetype)splitViewItemWithViewController:(NSViewController *)viewController;
- (CGFloat) automaticMaximumThickness;
- (void) setAutomaticMaximumThickness: (CGFloat)f;
- (CGFloat) preferredThicknessFraction;
- (void) setPreferredThicknessFraction: (CGFloat)f;
- (CGFloat) minimumThickness;
- (void) setMinimumThickness: (CGFloat)f;
- (CGFloat) maximumThickness;
- (void) setMaximumThickness: (CGFloat)f;
- (/* NSLayoutPriority */ CGFloat) holdingPriority;
- (BOOL) canCollapse;
- (NSSplitViewItemCollapseBehavior) collapseBehavior;
- (BOOL) isSpringLoaded;
- (void) setSpringLoaded: (BOOL)flag;
- (BOOL) allowsFullHeightLayout;
- (void) setAllowsFullHeightLayout: (BOOL)flag;
- (NSTitlebarSeparatorStyle) titlebarSeparatorStyle;
- (void) setTitlebarSeparatorStyle: (NSTitlebarSeparatorStyle)style;
- (NSViewController *) viewController;
- (void) setViewController: (NSViewController *)vc;
@end
APPKIT_EXPORT const CGFloat NSSplitViewItemUnspecifiedDimension;
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSSplitViewItem_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,53 @@
/* Definition of class NSStatusBarButton
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 31-07-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSStatusBarButton_h_GNUSTEP_GUI_INCLUDE
#define _NSStatusBarButton_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSButton.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSStatusBarButton : NSButton
{
BOOL _appearsDisabled;
}
- (BOOL) appearsDisabled;
- (void) setAppearsDisabled: (BOOL)flag;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSStatusBarButton_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,77 @@
/* Definition of class NSStoryboard
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 15:57:37 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSStoryboard_h_GNUSTEP_GUI_INCLUDE
#define _NSStoryboard_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSString, NSBundle, NSMutableDictionary;
typedef NSString *NSStoryboardName;
typedef NSString *NSStoryboardSceneIdentifier;
DEFINE_BLOCK_TYPE(NSStoryboardControllerCreator, NSCoder*, id);
@interface NSStoryboard : NSObject
{
id _transform;
}
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
+ (NSStoryboard *) mainStoryboard;
#endif
+ (instancetype) storyboardWithName: (NSStoryboardName)name
bundle: (NSBundle *)bundle;
- (id) instantiateInitialController;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
- (id) instantiateInitialControllerWithCreator: (NSStoryboardControllerCreator)block;
#endif
- (id) instantiateControllerWithIdentifier: (NSStoryboardSceneIdentifier)identifier;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
- (id) instantiateControllerWithIdentifier: (NSStoryboardSceneIdentifier)identifier
creator: (NSStoryboardControllerCreator)block;
#endif
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSStoryboard_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,79 @@
/* Definition of class NSStoryboardSegue
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory Casamento
Date: Mon Jan 20 15:57:31 EST 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSStoryboardSegue_h_GNUSTEP_GUI_INCLUDE
#define _NSStoryboardSegue_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#import <AppKit/NSPopover.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
typedef NSString *NSStoryboardSegueIdentifier;
DEFINE_BLOCK_TYPE_NO_ARGS(GSStoryboardSeguePerformHandler, void);
@interface NSStoryboardSegue : NSObject
{
id _sourceController;
id _destinationController;
NSStoryboardSegueIdentifier _identifier;
NSString *_kind;
NSString *_relationship;
id _popoverAnchorView;
NSPopoverBehavior _popoverBehavior;
NSRectEdge _preferredEdge;
GSStoryboardSeguePerformHandler _handler;
}
- (id) sourceController;
- (id) destinationController;
- (NSStoryboardSegueIdentifier) identifier;
+ (instancetype) segueWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController
performHandler: (GSStoryboardSeguePerformHandler)performHandler;
- (instancetype) initWithIdentifier: (NSStoryboardSegueIdentifier)identifier
source: (id)sourceController
destination: (id)destinationController;
- (void) perform;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSStoryboardSegue_h_GNUSTEP_GUI_INCLUDE */

58
Headers/AppKit/NSSwitch.h Normal file
View file

@ -0,0 +1,58 @@
/* Definition of class NSSwitch
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Wed Apr 8 22:01:02 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSSwitch_h_GNUSTEP_GUI_INCLUDE
#define _NSSwitch_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSControl.h>
#import <AppKit/NSCell.h>
#import <AppKit/NSAccessibilityProtocols.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSSwitch : NSControl <NSAccessibilitySwitch>
{
NSControlStateValue _state;
id _target;
SEL _action;
BOOL _enabled;
}
- (void) setState: (NSControlStateValue)s;
- (NSControlStateValue) state;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSSwitch_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,101 @@
/* Definition of class NSTabViewController
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 23-07-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTabViewController_h_GNUSTEP_GUI_INCLUDE
#define _NSTabViewController_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSViewController.h>
#import <AppKit/NSToolbar.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray, NSTabViewItem, NSTabView, NSMutableArray;
enum
{
NSTabViewControllerTabStyleSegmentedControlOnTop,
NSTabViewControllerTabStyleSegmentedControlOnBottom,
NSTabViewControllerTabStyleToolbar,
NSTabViewControllerTabStyleUnspecified
};
typedef NSUInteger NSTabViewControllerTabStyle;
@interface NSTabViewController : NSViewController
{
NSTabViewControllerTabStyle _tabStyle;
NSViewControllerTransitionOptions _transitionOptions;
BOOL _canPropagateSelectedChildViewControllerTitle;
}
- (NSTabViewControllerTabStyle) tabStyle;
- (void) setTabStyle: (NSTabViewControllerTabStyle)ts;
- (NSTabView *) tabView;
- (void) setTabView: (NSTabView *)tv;
- (NSViewControllerTransitionOptions) transitionOptions;
- (void) setTransitionOptions: (NSViewControllerTransitionOptions)options;
- (BOOL) canPropagateSelectedChildViewControllerTitle;
- (void) setCanPropagateSelectedChildViewControllerTitle: (BOOL)flag;
// Managing tabViewItems...
- (NSArray *) tabViewItems;
- (void) setTabViewItems: (NSArray *)items;
- (NSTabViewItem *) tabViewItemForViewController: (NSViewController *)controller;
- (void) addTabViewItem: (NSTabViewItem *)item;
- (void) insertTabViewItem: (NSTabViewItem *)item
atIndex: (NSInteger)index;
- (void) removeTabViewItem: (NSTabViewItem *)item;
- (NSInteger) selectedTabViewItemIndex;
- (void) setSelectedTabViewItemIndex: (NSInteger)idx;
// Responding to tabview actions...
- (BOOL)tabView:(NSTabView *)tabView
shouldSelectTabViewItem:(NSTabViewItem *)tabViewItem;
- (void)tabView:(NSTabView *)tabView
willSelectTabViewItem:(NSTabViewItem *)tabViewItem;
- (void)tabView:(NSTabView *)tabView
didSelectTabViewItem:(NSTabViewItem *)tabViewItem;
// Responding to toolbar actions...
- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar
itemForItemIdentifier:(NSToolbarItemIdentifier)itemIdentifier
willBeInsertedIntoToolbar:(BOOL)flag;
- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar;
- (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTabViewController_h_GNUSTEP_GUI_INCLUDE */

View file

@ -41,6 +41,7 @@ typedef enum {
@class NSColor;
@class NSTabView;
@class NSView;
@class NSViewController;
@interface NSTabViewItem : NSObject <NSCoding>
{
@ -53,7 +54,9 @@ typedef enum {
NSTabView *_tabview;
NSRect _rect; // cached
NSString *_toolTip;
NSViewController *_viewController;
}
- (id) initWithIdentifier:(id)identifier;
- (void)setIdentifier:(id)identifier;
@ -78,6 +81,13 @@ typedef enum {
- (void)drawLabel:(BOOL)shouldTruncateLabel
inRect:(NSRect)tabRect;
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
- (NSViewController *) viewController;
- (void) setViewController: (NSViewController *)vc;
+ (instancetype) tabViewItemWithViewController: (NSViewController *)vc;
#endif
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
- (NSString *)toolTip;
- (void)setToolTip:(NSString *)newToolTip;

View file

@ -0,0 +1,117 @@
/* Definition of class NSTextCheckingClient
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 02-08-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTextCheckingClient_h_GNUSTEP_GUI_INCLUDE
#define _NSTextCheckingClient_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSAttributedString.h>
#import <Foundation/NSGeometry.h>
#import <AppKit/NSTextInputClient.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
enum
{
NSTextInputTraitTypeDefault,
NSTextInputTraitTypeNo,
NSTextInputTraitTypeYes
};
typedef NSInteger NSTextInputTraitType;
@class NSDictionary, NSCandidateListTouchBarItem;
@protocol NSTextInputTraits
#if GS_PROTOCOLS_HAVE_OPTIONAL
@optional
#endif
- (NSTextInputTraitType) autocorrectionType;
- (void) setAutocorrectionType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) spellCheckingType;
- (void) setSpellCheckingType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) grammarCheckingType;
- (void) setGrammarCheckingType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) smartQuotesType;
- (void) setSmartQuotesType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) smartDashesType;
- (void) setSmartDashesType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) smartInsertDeleteType;
- (void) setSmartInsertDeleteType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) textReplacementType;
- (void) setTextReplacementType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) dataDetectionType;
- (void) setDataDetectionType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) linkDetectionType;
- (void) setLinkDetectionType: (NSTextInputTraitType)type;
- (NSTextInputTraitType) textCompletionType;
- (void) setTextCompletionType: (NSTextInputTraitType)type;
@end
@protocol NSTextCheckingClient <NSTextInputClient, NSTextInputTraits>
#if GS_PROTOCOLS_HAVE_OPTIONAL
@required
#endif
- (void) addAnnotations: (NSDictionary *)annotations
range: (NSRange)range;
- (NSAttributedString *) annotatedSubstringForProposedRange: (NSRange)range
actualRange: (NSRangePointer)actualRange;
- (NSCandidateListTouchBarItem *) candidateListTouchBarItem;
- (void) removeAnnotation: (NSAttributedStringKey)annotationName
range: (NSRange)range;
- (void) replaceCharactersInRange: (NSRange)range
withAnnotatedString: (NSAttributedString *)annotatedString;
- (void) selectAndShowRange: (NSRange)range;
- (void) setAnnotations: (NSDictionary *)annotations
range: (NSRange)range;
- (NSView *) viewForRange: (NSRange)range
firstRect: (NSRectPointer)firstRect
actualRange: (NSRangePointer)actualRange;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTextCheckingClient_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,86 @@
/* Interface of class NSTextCheckingController
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 02-08-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTextCheckingController_h_GNUSTEP_GUI_INCLUDE
#define _NSTextCheckingController_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <AppKit/NSTextCheckingClient.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_15, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray, NSDictionary, NSMenu;
@interface NSTextCheckingController : NSObject
{
id<NSTextCheckingClient> _client;
NSInteger _spellCheckerDocumentTag;
}
// initializer
- (instancetype) initWithClient: (id<NSTextCheckingClient>)client;
// properties...
- (id<NSTextCheckingClient>) client;
- (NSInteger) spellCheckerDocumentTag;
- (void) setSpellCheckerDocumentTag: (NSInteger)tag;
// instance methods...
- (void) changeSpelling: (id)sender;
- (void) checkSpelling: (id)sender;
- (void) checkTextInRange: (NSRange)range
types: (NSTextCheckingTypes)checkingTypes
options: (NSDictionary *)options;
- (void) checkTextInSelection: (id)sender;
- (void) checkTextInDocument: (id)sender;
- (void) didChangeTextInRange: (NSRange)range;
- (void) considerTextCheckingForRange: (NSRange)range;
- (void) didChangeSelectedRange;
- (void) ignoreSpelling: (id)sender;
- (void) insertedTextInRange: (NSRange)range;
- (void) invalidate;
- (NSMenu *) menuAtIndex: (NSUInteger)location
clickedOnSelection: (BOOL)clickedOnSelection
effectiveRange: (NSRangePointer)effectiveRange;
- (void) orderFrontSubstitutionsPanel: (id)sender;
- (void) showGuessPanel: (id)sender;
- (void) updateCandidates;
- (NSArray *) validAnnotations;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTextCheckingController_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,167 @@
/* Interface of class NSTextFinder
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 02-08-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTextFinder_h_GNUSTEP_GUI_INCLUDE
#define _NSTextFinder_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSGeometry.h>
#import <AppKit/AppKitDefines.h>
#import <AppKit/NSNibDeclarations.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray, NSView;
@protocol NSTextFinderClient, NSTextFinderBarContainer;
enum
{
NSTextFinderActionShowFindInterface = 1,
NSTextFinderActionNextMatch,
NSTextFinderActionPreviousMatch,
NSTextFinderActionReplaceAll,
NSTextFinderActionReplace,
NSTextFinderActionReplaceAndFind,
NSTextFinderActionSetSearchString,
NSTextFinderActionReplaceAllInSelection,
NSTextFinderActionSelectAll,
NSTextFinderActionSelectAllInSelection,
NSTextFinderActionHideFindInterface,
NSTextFinderActionShowReplaceInterface,
NSTextFinderActionHideReplaceInterface
};
typedef NSInteger NSTextFinderAction;
enum
{
NSTextFinderMatchingTypeContains = 0,
NSTextFinderMatchingTypeStartsWith,
NSTextFinderMatchingTypeFullWord,
NSTextFinderMatchingTypeEndsWith
};
typedef NSInteger NSTextFinderMatchingType;
typedef NSString* NSPasteboardTypeTextFinderOptionKey;
APPKIT_EXPORT NSPasteboardTypeTextFinderOptionKey const NSTextFinderCaseInsensitiveKey;
APPKIT_EXPORT NSPasteboardTypeTextFinderOptionKey const NSTextFinderMatchingTypeKey;
@interface NSTextFinder : NSObject <NSCoding>
{
IBOutlet id<NSTextFinderClient> _client;
IBOutlet id<NSTextFinderBarContainer> _findBarContainer;
BOOL _findIndicatorNeedsUpdate;
BOOL _incrementalSearchingEnabled;
BOOL _incrementalSearchingShouldDimContentView;
NSArray *_incrementalMatchRanges;
id _finder;
NSInteger _tag;
}
// Validating and performing
- (void) performAction: (NSTextFinderAction)op;
- (BOOL) validateAction: (NSTextFinderAction)op;
- (void) cancelFindIndicator;
// Properties
- (id<NSTextFinderClient>) client;
- (void) setClient: (id<NSTextFinderClient>) client;
- (id<NSTextFinderBarContainer>) findBarContainer;
- (void) setFindBarContainer: (id<NSTextFinderBarContainer>) findBarContainer;
- (BOOL) findIndicatorNeedsUpdate;
- (void) setFindIndicatorNeedsUpdate: (BOOL)flag;
- (BOOL) isIncrementalSearchingEnabled;
- (void) setIncrementalSearchingEnabled: (BOOL)flag;
- (BOOL) incrementalSearchingShouldDimContentView;
- (void) setIncrementalSearchingShouldDimContentView: (BOOL)flag;
- (NSArray *) incrementalMatchRanges;
+ (void) drawIncrementalMatchHighlightInRect: (NSRect)rect;
- (void) noteClientStringWillChange;
@end
// PROTOCOLS
@protocol NSTextFinderClient <NSObject>
#if GS_PROTOCOLS_HAVE_OPTIONAL
@optional
#endif
- (BOOL) isSelectable;
- (BOOL) allowsMultipleSelection;
- (BOOL) isEditable;
- (NSString *) string;
- (NSString *) stringAtIndex: (NSUInteger)characterIndex
effectiveRange: (NSRangePointer)outRange
endsWithSearchBoundary: (BOOL *)outFlag;
- (NSUInteger) stringLength;
- (NSRange) firstSelectedRange;
- (NSArray *) selectedRanges;
- (void) setSelectedRanges: (NSArray *)ranges;
- (void) scrollRangeToVisible:(NSRange)range;
- (BOOL) shouldReplaceCharactersInRanges: (NSArray *)ranges withStrings: (NSArray *)strings;
- (void) replaceCharactersInRange: (NSRange)range withString: (NSString *)string;
- (void) didReplaceCharacters;
- (NSView *) contentViewAtIndex: (NSUInteger)index effectiveCharacterRange: (NSRangePointer)outRange;
- (NSArray *) rectsForCharacterRange: (NSRange)range;
- (NSArray *) visibleCharacterRanges;
- (void) drawCharactersInRange: (NSRange)range forContentView: (NSView *)view;
@end
@protocol NSTextFinderBarContainer <NSObject>
#if GS_PROTOCOLS_HAVE_OPTIONAL
@required
#endif
- (NSView *) findBarView;
- (void) setFindBarView: (NSView *)view;
- (BOOL) isfindBarVisible;
- (void) setFindBarVisible: (BOOL)flag;
- (void) findBarViewDidChangeHeight;
#if GS_PROTOCOLS_HAVE_OPTIONAL
@optional
#endif
- (NSView *) contentView;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTextFinder_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,89 @@
/* Definition of class NSTextInputClient
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 02-08-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTextInputClient_h_GNUSTEP_GUI_INCLUDE
#define _NSTextInputClient_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#import <AppKit/NSAttributedString.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray;
@protocol NSTextInputClient
#if GS_PROTOCOLS_HAVE_OPTIONAL
@required
#endif
// Marked text
- (BOOL) hasMarkedText;
- (NSRange) markedRange;
- (NSRange) selectedRange;
- (void) setMarkedText: (id)string
selectedRange: (NSRange)selectedRange
replacementRange: (NSRange)replacementRange;
- (void)unmarkText;
- (NSArray *)validAttributesForMarkedText;
// Storing text
- (NSAttributedString *) attributedSubstringForProposedRange: (NSRange)range
actualRange: (NSRangePointer)actualRange;
- (void) insertText: (id)string
replacementRange: (NSRange)replacementRange;
// Getting Character coordinates
- (NSUInteger) characterIndexForPoint: (NSPoint)point;
- (NSRect) firstRectForCharacterRange: (NSRange)range
actualRange: (NSRangePointer)actualRange;
// Binding keystrokes
- (void) doCommandBySelector: (SEL)selector;
#if GS_PROTOCOLS_HAVE_OPTIONAL
@optional
#endif
// Optional methods
- (NSAttributedString *) attributedString;
- (CGFloat) fractionOfDistanceThroughGlyphForPoint: (NSPoint)point;
- (CGFloat) baselineDeltaForCharacterAtIndex: (NSUInteger)anIndex;
- (NSInteger) windowLevel;
- (BOOL) drawsVerticallyForCharacterAtIndex: (NSUInteger)charIndex;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTextInputClient_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,88 @@
/* Interface of class NSTextInputContext
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 02-08-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTextInputContext_h_GNUSTEP_GUI_INCLUDE
#define _NSTextInputContext_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <AppKit/NSTextInputClient.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray, NSString;
typedef NSString* NSTextInputSourceIdentifier;
@interface NSTextInputContext : NSObject
{
id<NSTextInputClient> _client;
BOOL _acceptsGlyphInfo;
NSArray *_allowedInputSourceLocales;
NSArray *_keyboardInputSources;
NSTextInputSourceIdentifier _selectedKeyboardInputSource;
}
+ (NSTextInputContext *) currentInputContext;
- (instancetype) initWithClient: (id<NSTextInputClient>)client;
- (id<NSTextInputClient>) client;
- (BOOL) acceptsGlyphInfo;
- (void) setAcceptsGlyphInfo: (BOOL)flag;
- (NSArray *) allowedInputSourceLocales;
- (void) setAllowedInputSourceLocales: (NSArray *)locales;
- (void) activate;
- (void) deactivate;
- (BOOL) handleEvent: (NSEvent *)event;
- (void) discardMarkedText;
- (void) invalidateCharacterCoordinates;
- (NSArray *) keyboardInputSources;
- (NSTextInputSourceIdentifier) selectedKeyboardInputSource;
+ (NSString *) localizedNameForInputSource:(NSTextInputSourceIdentifier)inputSourceIdentifier;
@end
APPKIT_EXPORT NSNotificationName NSTextInputContextKeyboardSelectionDidChangeNotification;
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTextInputContext_h_GNUSTEP_GUI_INCLUDE */

View file

@ -34,6 +34,7 @@
#import <GNUstepBase/GSVersionMacros.h>
#import <AppKit/NSText.h>
#import <AppKit/NSTextFinder.h>
#import <AppKit/NSInputManager.h>
#import <AppKit/NSDragging.h>
#import <AppKit/NSTextAttachment.h>
@ -92,7 +93,7 @@ be stored in the NSTextView. Non-persistant attributes don't, and should
therefore be stored in the NSLayoutManager to avoid problems.
*/
@interface NSTextView : NSText <NSTextInput, NSUserInterfaceValidations>
@interface NSTextView : NSText <NSTextInput, NSUserInterfaceValidations, NSTextFinderClient>
{
/* These attributes are shared by all text views attached to a layout
manager. Any changes must be replicated in all those text views. */

View file

@ -0,0 +1,47 @@
/* Definition of class NSTitlebarAccessoryViewController
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: 31-07-2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSTitlebarAccessoryViewController_h_GNUSTEP_GUI_INCLUDE
#define _NSTitlebarAccessoryViewController_h_GNUSTEP_GUI_INCLUDE
#import <AppKit/NSViewController.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@interface NSTitlebarAccessoryViewController : NSViewController
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSTitlebarAccessoryViewController_h_GNUSTEP_GUI_INCLUDE */

View file

@ -72,6 +72,8 @@ typedef enum
APPKIT_EXPORT NSString *NSToolbarDidRemoveItemNotification;
APPKIT_EXPORT NSString *NSToolbarWillAddItemNotification;
typedef NSString* NSToolbarItemIdentifier;
@interface NSToolbar : NSObject
{
NSDictionary *_configurationDictionary;

View file

@ -0,0 +1,84 @@
/* Definition of class NSUserInterfaceCompression
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tue Apr 7 08:13:30 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSUserInterfaceCompression_h_GNUSTEP_GUI_INCLUDE
#define _NSUserInterfaceCompression_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_13, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSSet, NSString, NSArray;
@interface NSUserInterfaceCompressionOptions : NSObject <NSCopying, NSCoding>
- (instancetype) initWithIdentifier: (NSString *)identifier;
- (instancetype) initWithCompressionOptions: (NSSet *)opts;
- (BOOL) containsOptions: (NSUserInterfaceCompressionOptions *)opts;
- (BOOL) intersectsOptions: (NSUserInterfaceCompressionOptions *)opts;
- (BOOL) isEmpty;
- (NSUserInterfaceCompressionOptions *) optionsByAddingOptions: (NSUserInterfaceCompressionOptions *)opts;
- (NSUserInterfaceCompressionOptions *) optionsByRemovingOptions: (NSUserInterfaceCompressionOptions *)opts;
+ (NSUserInterfaceCompressionOptions *) hideImagesOption;
+ (NSUserInterfaceCompressionOptions *) hideTextOption;
+ (NSUserInterfaceCompressionOptions *) reduceMetricsOption;
+ (NSUserInterfaceCompressionOptions *) breakEqualWidthsOption;
+ (NSUserInterfaceCompressionOptions *) standardOptions;
@end
@protocol NSUserInterfaceCompression
- (void) compressWithPrioritizedCompressionOptions: (NSArray *)prioritizedOptions;
- (NSSize) minimumSizeWithPrioritizedCompressionOptions: (NSArray *)prioritizedOptions;
- (NSUserInterfaceCompressionOptions *) activeCompressionOptions;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSUserInterfaceCompression_h_GNUSTEP_GUI_INCLUDE */

View file

@ -1,44 +1,61 @@
/** NSUserInterfaceItemIdentification.h
<abstract>Associate a unique identifier with objects in your user interface</abstract>
Copyright <copy>(C) 2017 Free Software Foundation, Inc.</copy>
/* Definition of class NSUserInterfaceItemIdentification
Copyright (C) 2020 Free Software Foundation, Inc.
Author: Daniel Ferreira <dtf@stanford.edu>
Date: 2017
This file is part of the GNUstep GUI Library.
Author: Gregory John Casamento
Date: Tue Apr 14 13:46:36 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _GNUstep_H_NSUserInterfaceItemIdentification
#define _GNUstep_H_NSUserInterfaceItemIdentification
#ifndef _NSUserInterfaceItemIdentification_h_GNUSTEP_GUI_INCLUDE
#define _NSUserInterfaceItemIdentification_h_GNUSTEP_GUI_INCLUDE
@class NSString;
#import <Foundation/NSObject.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
@protocol NSUserInterfaceItemIdentification
#if GS_HAS_DECLARED_PROPERTIES
@property (copy) NSString *identifier;
#else
- (NSString *) identifier;
- (void) setIdentifier: (NSString *)identifier;
#if defined(__cplusplus)
extern "C" {
#endif
@end
@class NSString;
typedef NSString *NSUserInterfaceItemIdentifier;
@protocol NSUserInterfaceItemIdentification
#if GS_HAS_DECLARED_PROPERTIES
@property (copy) NSUserInterfaceItemIdentifier identifier;
#else
- (NSUserInterfaceItemIdentifier) identifier;
- (void) setIdentifier: (NSUserInterfaceItemIdentifier)identifier;
#endif
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSUserInterfaceItemIdentification_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,80 @@
/* Definition of class NSUserInterfaceItemSearching
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tue Apr 7 08:13:44 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSUserInterfaceItemSearching_h_GNUSTEP_GUI_INCLUDE
#define _NSUserInterfaceItemSearching_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
@class NSArray, NSString;
DEFINE_BLOCK_TYPE(GSSearchItemsMatchedItemHandler, void, NSArray*);
@protocol NSUserInterfaceItemSearching <NSObject>
// @required
- (void) searchForItemsWithSearchString: (NSString *)searchString
resultLimit: (NSInteger)resultLimit
matchedItemHandler: (GSSearchItemsMatchedItemHandler)handleMatchedItems;
- (NSArray *)localizedTitlesForItem:(id)item;
// @optional
- (void)performActionForItem:(id)item;
- (void)showAllHelpTopicsForSearchString:(NSString *)searchString;
@end
@interface NSApplication (NSUserInterfaceItemSearching)
- (void) registerUserInterfaceItemSearchHandler: (id<NSUserInterfaceItemSearching>)handler;
- (void) unregisterUserInterfaceItemSearchHandler: (id<NSUserInterfaceItemSearching>)handler;
- (BOOL) searchString:(NSString *)searchString
inUserInterfaceItemString:(NSString *)stringToSearch
searchRange:(NSRange)searchRange
foundRange:(NSRange *)foundRange;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSUserInterfaceItemSearching_h_GNUSTEP_GUI_INCLUDE */

View file

@ -41,6 +41,7 @@
@protocol NSUserInterfaceValidations
- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)anItem;
@end
#endif // _GNUstep_H_NSUserInterfaceValidation

View file

@ -28,12 +28,29 @@ Boston, MA 02110-1301, USA.
#import <AppKit/NSNibDeclarations.h>
#import <AppKit/NSResponder.h>
#import <AppKit/NSSeguePerforming.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
@class NSArray, NSBundle, NSPointerArray, NSView;
@class NSArray, NSBundle, NSPointerArray, NSView, NSMapTable, NSStoryboard;
@interface NSViewController : NSResponder
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
enum
{
NSViewControllerTransitionNone = 0x0,
NSViewControllerTransitionCrossfade = 0x1,
NSViewControllerTransitionSlideUp = 0x10,
NSViewControllerTransitionSlideDown = 0x20,
NSViewControllerTransitionSlideLeft = 0x40,
NSViewControllerTransitionSlideRight = 0x80,
NSViewControllerTransitionSlideForward = 0x140,
NSViewControllerTransitionSlideBackward = 0x180,
NSViewControllerTransitionAllowUserInteraction = 0x1000,
};
typedef NSUInteger NSViewControllerTransitionOptions;
#endif
@interface NSViewController : NSResponder <NSSeguePerforming>
{
@private
NSString *_nibName;
@ -45,6 +62,8 @@ Boston, MA 02110-1301, USA.
NSPointerArray *_editors;
id _autounbinder;
NSString *_designNibBundleIdentifier;
NSMapTable *_segueMap;
NSStoryboard *_storyboard; // a weak reference to the origin storyboard.
struct ___vcFlags
{
unsigned int nib_is_loaded:1;

View file

@ -62,6 +62,7 @@
@class NSView;
@class NSWindowController;
@class NSCachedImageRep;
@class NSViewController;
@class GSWindowDecorationView;
@ -336,6 +337,14 @@ PACKAGE_SCOPE
* Computing frame and content rectangles
*/
/**
* Returns a window with the view of the specified viewController as it's
* content view. The window is resizable, titled, closable, and miniaturizable.
*/
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
+ (instancetype) windowWithContentViewController: (NSViewController *)viewController;
#endif
/**
* Returns the rectangle which would be used for the content view of
* a window whose on-screen size and position is specified by aRect
@ -528,6 +537,7 @@ PACKAGE_SCOPE
- (void) orderWindow: (NSWindowOrderingMode)place
relativeTo: (NSInteger)otherWin;
- (BOOL) isVisible;
- (void) setIsVisible: (BOOL)flag;
- (NSInteger) level;
- (void) setLevel: (NSInteger)newLevel;

View file

@ -29,13 +29,16 @@
#import <AppKit/NSNibDeclarations.h>
#import <AppKit/NSResponder.h>
#import <AppKit/NSSeguePerforming.h>
@class NSString;
@class NSArray;
@class NSWindow;
@class NSDocument;
@class NSMapTable;
@class NSStoryboard;
@interface NSWindowController : NSResponder <NSCoding>
@interface NSWindowController : NSResponder <NSCoding, NSSeguePerforming>
{
@private
NSWindow *_window;
@ -45,6 +48,8 @@
NSDocument *_document;
NSArray *_top_level_objects;
id _owner;
NSMapTable *_segueMap;
NSStoryboard *_storyboard; // a weak reference to the origin storyboard
struct ___wcFlags
{
unsigned int should_close_document:1;

View file

@ -0,0 +1,55 @@
/* Definition of class NSWindowRestoration
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Tue Apr 7 14:35:13 EDT 2020
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _NSWindowRestoration_h_GNUSTEP_GUI_INCLUDE
#define _NSWindowRestoration_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
#import <Foundation/NSCoder.h>
#import "AppKit/NSUserInterfaceItemIdentification.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
DEFINE_BLOCK_TYPE(GSWindowRestorationHandler, void, NSWindow*, NSError*);
@protocol NSWindowRestoration
+ (void)restoreWindowWithIdentifier: (NSUserInterfaceItemIdentifier)identifier
state: (NSCoder *)state
completionHandler: (GSWindowRestorationHandler)handler;
@end
#if defined(__cplusplus)
}
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSWindowRestoration_h_GNUSTEP_GUI_INCLUDE */

131
MISSING
View file

@ -1,110 +1,27 @@
MISSING HEADERS
MISSING HEADERS ( * = difficult, - = quick, + = placeholder )
---
> AppKitErrors.h
> NSATSTypesetter.h
> NSAccessibilityCustomAction.h
> NSAccessibilityCustomRotor.h
> NSAccessibilityElement.h
> NSAccessibilityProtocols.h
> NSCollectionViewCompositionalLayout.h
> NSCollectionViewFlowLayout.h
> NSCollectionViewGridLayout.h
> NSCollectionViewLayout.h
> NSCollectionViewTransitionLayout.h
> NSDictionaryController.h
> NSDiffableDataSource.h
> NSDraggingItem.h
> NSDraggingSession.h
> NSFilePromiseProvider.h
> NSFilePromiseReceiver.h
> NSFontAssetRequest.h
> NSATSTypesetter.h +
> NSCollectionViewCompositionalLayout.h *
> NSCollectionViewFlowLayout.h *
> NSCollectionViewGridLayout.h *
> NSCollectionViewLayout.h *
> NSCollectionViewTransitionLayout.h *
> NSDictionaryController.h -
> NSDiffableDataSource.h *
> NSDraggingItem.h -
> NSDraggingSession.h -
> NSFilePromiseProvider.h -
> NSFilePromiseReceiver.h -
> NSGlyphInfo.h
> NSGridView.h
> NSItemProvider.h
> NSLayoutAnchor.h
> NSLayoutConstraint.h
> NSLayoutGuide.h
> NSMediaLibraryBrowserController.h
> NSMenuToolbarItem.h
> NSGridView.h *
> NSItemProvider.h +
> NSMenuToolbarItem.h -
> NSOpenGLLayer.h
> NSPageController.h
> NSPathCell.h
> NSPathComponentCell.h
> NSPathControl.h
> NSPathControlItem.h
> NSPersistentDocument.h
> NSRuleEditor.h
> NSScrubber.h
> NSScrubberItemView.h
> NSScrubberLayout.h
> NSSharingServicePickerToolbarItem.h
> NSSliderAccessory.h
> NSSplitViewController.h
> NSSplitViewItem.h
> NSStackView.h
> NSStatusBarButton.h
> NSStoryboard.h
> NSStoryboardSegue.h
> NSSwitch.h
> NSTabViewController.h
> NSTableCellView.h
> NSTableRowView.h
> NSTableViewRowAction.h
> NSTextCheckingClient.h
> NSTextCheckingController.h
> NSTextFinder.h
> NSTextInputClient.h
> NSTextInputContext.h
> NSTitlebarAccessoryViewController.h
> NSTypesetter.h
> NSUserActivity.h
> NSUserInterfaceCompression.h
> NSUserInterfaceItemSearching.h
> NSWindowRestoration.h
> NSWindowTab.h
> NSWindowTabGroup.h
Completed
---
> NSCIIImageRep.h
> NSPDFImageRep.h
> NSPDFInfo.h
> NSPDFPanel.h
> NSPICTImageRep.h
> NSDockTile.h
> NSAppearance.h
> NSDataAsset.h
> NSTouch.h
> NSTouchBar.h
> NSSpeechRecognizer.h
> NSColorSampler.h
Mac Specific
---
> NSButtonTouchBarItem.h
> NSCandidateListTouchBarItem.h
> NSColorPickerTouchBarItem.h
> NSCustomTouchBarItem.h
> NSGroupTouchBarItem.h
> NSPickerTouchBarItem.h
> NSPopoverTouchBarItem.h
> NSSharingServicePickerTouchBarItem.h
> NSSliderTouchBarItem.h
> NSStepperTouchBarItem.h
> NSTouchBarItem.h
> NSClickGestureRecognizer.h
> NSMagnificationGestureRecognizer.h
> NSPanGestureRecognizer.h
> NSPressGestureRecognizer.h
> NSRotationGestureRecognizer.h
> NSApplicationScripting.h
> NSDocumentScripting.h
> NSTextStorageScripting.h
> NSWindowScripting.h
> NSHapticFeedback.h
> NSAppleScriptExtensions.h
> NSAlignmentFeedbackFilter.h
> NSTouch.h
> NSTouchBar.h
> NSQuickDrawView.h
> NSPressureConfiguration.h
> NSStackView.h *
> NSTableCellView.h *
> NSTableRowView.h *
> NSTableViewRowAction.h *
> NSTypesetter.h +
> NSUserActivity.h -
> NSWindowTab.h +
> NSWindowTabGroup.h +

View file

@ -65,7 +65,16 @@ NSMutableDictionary *EnumeratePrinters(DWORD flags)
if (!EnumPrinters(flags, NULL,
2, (LPBYTE) prninfo, needed, &needed, &returned))
{
NSLog(@"Error: %s\n", GetLastError());
DWORD errorCode = GetLastError();
char *errorText = NULL;
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM||FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
errorCode,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)&errorText,
0, NULL);
NSLog(@"Error: %lu: %s\n", errorCode, errorText);
LocalFree(errorText);
}
else
{

View file

@ -1,35 +1,35 @@
/***
English.lproj/Localizable.strings
updated by make_strings 2015-05-28 23:57:53 +0200
updated by make_strings 2021-01-16 20:08:01 +0100
add comments above this one
***/
/*** Keys found in multiple places ***/
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "Info";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Quit";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "Cancel";
/* File: ../Source/NSAlert.m:389 */
@ -37,38 +37,38 @@ add comments above this one
"Don't Save" = "Don't Save";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "Save";
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "OK";
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Dismiss";
/* File: ../Source/GSPrintOperation.m:155 */
/* File: ../Source/NSFontPanel.m:706 */
"Preview" = "Preview";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "Revert";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Colors";
@ -82,21 +82,21 @@ add comments above this one
/* File: ../Source/NSHelpPanel.m:154 */
"Help" = "Help";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "File Type";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "Name";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* File: ../Source/NSFontPanel.m:738 */
"Character Panel" = "Character Panel";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
@ -104,15 +104,37 @@ add comments above this one
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:106 */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/*** Strings from ../Source/NSPathControl.m ***/
/* File: ../Source/NSPathControl.m:389 */
"Choose..." = "Choose...";
/*** Strings from ../Source/NSSearchFieldCell.m ***/
/* File: ../Source/NSSearchFieldCell.m:556 */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "Cannot load the main model file '%@'";
/*** Strings from ../Source/GSCharacterPanel.m ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
"Unicode Block" = "Unicode Block";
@ -140,13 +162,13 @@ add comments above this one
/*** Strings from ../Source/GSTextFinder.m ***/
/* File: ../Source/GSTextFinder.m:408 */
"%d replaced" = "%d replaced";
/* File: ../Source/GSTextFinder.m:381 */
/* File: ../Source/GSTextFinder.m:332 */
/* File: ../Source/GSTextFinder.m:381 */
"Not found" = "Not found";
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -159,22 +181,22 @@ add comments above this one
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "Make this the default theme";
/* File: ../Source/GSThemePanel.m:234 */
/* File: ../Source/GSThemePanel.m:193 */
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme" = "Revert default theme";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "Themes";
/*** Strings from ../Source/GSToolbarView.m ***/
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
"Customize Toolbar" = "Customize Toolbar";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "Alert";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
"No information" = "No information";
@ -194,59 +216,59 @@ add comments above this one
"Critical Error in %@" = "Critical Error in %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Debug";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
"Hide" = "Hide";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problem during launch app notification: %@";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
"Show" = "Show";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Unable to find backend %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] called more than once";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "reported exception - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL." = "Could not load data from URL.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
"Could not load data." = "Could not load data.";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
"No data specified for data loading."
= "No data specified for data loading.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
"No type specified for data." = "No type specified for data.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "CCITTFAX3 Compression";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "CCITTFAX4 Compression";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "JPEG Compression";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "LZW Compression";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "NEXT Compression";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "No Compression";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "Old JPEG Compression";
"CCITTFAX3 Compression" = "CCITTFAX3 Compression";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "CCITTFAX4 Compression";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "JPEG Compression";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "LZW Compression";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "NEXT Compression";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "No Compression";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "Old JPEG Compression";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "PackBits Compression";
/*** Strings from ../Source/NSColorPanel.m ***/
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
"Opacity" = "Opacity";
@ -272,12 +294,12 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ has been edited. Are you sure you want to undo changes?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ has changed. Save?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Can't create backup file. Save anyways?";
/* File: ../Source/NSDocument.m:483 */
@ -286,47 +308,47 @@ add comments above this one
"Could not load URL %@." = "Could not load URL %@.";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "Could not load file %@.";
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
"Could not write backup file." = "Could not write backup file.";
/* File: ../Source/NSDocument.m:1029 */
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
"Could not write file wrapper." = "Could not write file wrapper.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "File Error";
/* File: ../Source/NSDocument.m:751 */
/* Comment: Error description */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "Load failed";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "Save As";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Save To";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "Untitled-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
"Clear List" = "Clear List";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Power Off";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Quit Anyway";
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Review Unsaved";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents" = "You have unsaved documents";
@ -362,8 +384,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(none)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "Bottom Margin";
@ -406,9 +428,9 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:407 */
"Faxing of print file not implemented"
= "Faxing of print file not implemented";
/* File: ../Source/NSPrintPanel.m:781 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:643 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:781 */
"Manual" = "Manual";
/* File: ../Source/NSPrintPanel.m:145 */
"Print Panel" = "Print Panel";
@ -417,60 +439,60 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
"Home" = "Home";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
"Mount" = "Mount";
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "Name:";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "No";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Reading Directory ";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "Replace";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
"Show Hidden Files" = "Show Hidden Files";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "The directory '%@' could not be created.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "The directory '%@' does not exist, do you want to create it?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "The file '%@' in '%@' exists. Replace it?";
/* File: ../Source/NSSavePanel.m:1394 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory." = "The path '%@' is not a directory.";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:310 */
"Unmount" = "Unmount";
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* File: ../Source/NSSavePanel.m:1329 */
"Use .%@" = "Use .%@";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Yes";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "You cannot save this document with extension '.%@'.\nThe required extension is '.%@'.";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "You have used the extension '.%@'.\nThe standard extension is '.%@'.'";
/*** Strings from ../Source/NSSpellChecker.m ***/
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
"Guess" = "Guess";
/*** Strings from ../Source/NSTextView.m ***/
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
"Copy" = "Copy";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
"Cut" = "Cut";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
"No Suggestions" = "No Suggestions";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
"Paste" = "Paste";
@ -490,7 +512,7 @@ add comments above this one
/*** Strings from ../Source/NSWindow.m ***/
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
"Hide Toolbar" = "Hide Toolbar";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
"Show Toolbar" = "Show Toolbar";

View file

@ -4,7 +4,7 @@
/***
Esperanto.lproj/Localizable.strings
updated by make_strings 2015-05-29 00:13:11 +0200
updated by make_strings 2021-01-16 19:15:10 +0100
add comments above this one
***/
@ -12,14 +12,14 @@ add comments above this one
/*** Keys found in multiple places ***/
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Forĵetu";
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* Flag: untranslated */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:236 */
/* Comment: Info */
@ -31,50 +31,50 @@ add comments above this one
/* Flag: unmatched */
"Info" = "Info";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* Flag: untranslated */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Finu";
/* File: ../Source/NSAlert.m:384 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
/* Flag: untranslated */
"Cancel" = "Rezignu";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSSavePanel.m:1407 */
/* Flag: untranslated */
"Save" = "Konservu";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
/* File: ../Source/NSSavePanel.m:855 */
/* Flag: unmatched */
"Save As" = "Konservu kiel";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
/* Flag: untranslated */
"Revert" = "Malfaru";
@ -86,16 +86,16 @@ add comments above this one
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* Flag: untranslated */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* Flag: untranslated */
/* File: ../Source/NSPrintPanel.m:408 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
/* Flag: untranslated */
"OK" = "OK";
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
/* Flag: untranslated */
/* File: ../Source/NSApplication.m:951 */
/* Flag: unmatched */
@ -107,28 +107,28 @@ add comments above this one
/* File: ../Source/NSDocument.m:485 */
"Don't Save" = "Forĵetu";
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
/* Flag: untranslated */
"You have unsaved documents" = "Vi havas malkonservitajn dokumentojn";
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
/* Flag: untranslated */
"Review Unsaved" = "Rigardu ree";
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
/* Flag: untranslated */
"Quit Anyway" = "Tamen finu";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* Flag: untranslated */
/* File: ../Source/NSFontPanel.m:738 */
/* Flag: untranslated */
"Character Panel" = "Character Panel";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* Flag: untranslated */
/* File: ../Source/NSPageLayout.m:959 */
/* Flag: untranslated */
@ -164,10 +164,10 @@ add comments above this one
/* Flag: untranslated */
"Make this the default theme" = "Make this the default theme";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:646 */
@ -175,13 +175,13 @@ add comments above this one
/* Flag: untranslated */
"Could not create data for type." = "Could not create data for type.";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* Flag: untranslated */
/* File: ../Source/NSToolbarItem.m:1076 */
/* Flag: untranslated */
"Colors" = "Colors";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* Flag: untranslated */
/* File: ../Source/NSPrintPanel.m:350 */
/* Flag: untranslated */
@ -211,22 +211,22 @@ add comments above this one
/* Flag: untranslated */
"Manual" = "Manual";
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:432 */
/* Flag: untranslated */
"Name:" = "Name:";
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1329 */
/* Flag: untranslated */
"Use .%@" = "Use .%@";
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write backup file." = "Could not write backup file.";
@ -234,11 +234,11 @@ add comments above this one
/*** Unmatched/untranslated keys ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
/* Flag: untranslated */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
/* Flag: untranslated */
"Unicode Block" = "Unicode Block";
@ -263,7 +263,7 @@ add comments above this one
/* Flag: untranslated */
"%d replaced" = "%d replaced";
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
/* Flag: untranslated */
"?" = "?";
@ -275,15 +275,15 @@ add comments above this one
/* Flag: untranslated */
"Themes" = "Themes";
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
/* Flag: untranslated */
"Customize Toolbar" = "Customize Toolbar";
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
/* Flag: untranslated */
"Alert" = "Alert";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
/* Flag: untranslated */
"No information" = "No information";
@ -291,36 +291,36 @@ add comments above this one
/* Flag: unmatched */
"Can't find backend context" = "Malpovas trovi backend-kontekston";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
/* Flag: untranslated */
"Show" = "Show";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
/* Flag: untranslated */
"Hide" = "Hide";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
/* Flag: untranslated */
"No data specified for data loading."
= "No data specified for data loading.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not load data." = "Could not load data.";
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not load data from URL." = "Could not load data from URL.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
/* Flag: untranslated */
"No type specified for data." = "No type specified for data.";
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
/* Flag: untranslated */
"Opacity" = "Opacity";
@ -359,18 +359,18 @@ add comments above this one
/* Flag: untranslated */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
/* Flag: untranslated */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1029 */
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write file wrapper." = "Could not write file wrapper.";
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
/* Flag: untranslated */
"Clear List" = "Clear List";
@ -495,53 +495,53 @@ add comments above this one
"Faxing of print file not implemented"
= "Faxing of print file not implemented";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
/* Flag: untranslated */
"Show Hidden Files" = "Show Hidden Files";
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
/* Flag: untranslated */
"Home" = "Home";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
/* Flag: untranslated */
"Mount" = "Mount";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:310 */
/* Flag: untranslated */
"Unmount" = "Unmount";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
/* Flag: untranslated */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "You have used the extension '.%@'.\nThe standard extension is '.%@'.'";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
/* Flag: untranslated */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "You cannot save this document with extension '.%@'.\nThe required extension is '.%@'.";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
/* Flag: untranslated */
"Reading Directory " = "Reading Directory ";
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
/* Flag: untranslated */
"Guess" = "Guess";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
/* Flag: untranslated */
"Cut" = "Cut";
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
/* Flag: untranslated */
"Copy" = "Copy";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
/* Flag: untranslated */
"Paste" = "Paste";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
/* Flag: untranslated */
"No Suggestions" = "No Suggestions";
@ -569,14 +569,39 @@ add comments above this one
/* Flag: untranslated */
"Print..." = "Print...";
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
/* Flag: untranslated */
"Hide Toolbar" = "Hide Toolbar";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
/* Flag: untranslated */
"Show Toolbar" = "Show Toolbar";
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/GSPrintOperation.m ***/
/* File: ../Source/GSPrintOperation.m:156 */
@ -600,44 +625,44 @@ add comments above this one
"Critical Error in %@" = "Krita eraro en %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Erarserĉu";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problemo dum lanĉo de app-notifiko: %@";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Ne trovis back-end %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] vokiĝis plurfoje";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "raportis escepton - %@";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "CCITTFAX3-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "CCITTFAX4-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "JPEG-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "LZW-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "NEXT-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "Neniu kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "malnova JPEG-kunpremado";
"CCITTFAX3 Compression" = "CCITTFAX3-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "CCITTFAX4-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "JPEG-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "LZW-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "NEXT-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "Neniu kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "malnova JPEG-kunpremado";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "PackBits-kunpremado";
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ redaktiĝis. Ĉu vi certas ke vi volas malfari ŝangojn?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ ŝanĝiĝis. Konservu?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Malpovas krei savkopian dosieron. Tamen konservu?";
/* File: ../Source/NSDocument.m:483 */
@ -646,37 +671,37 @@ add comments above this one
"Could not load URL %@." = "Malpovas ŝarĝi URL %@.";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "Malpovas ŝarĝi dosieron %@.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "Dosiera eraro";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "Ŝarĝi malsukcesis";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Konservu ĉe";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "malnomita-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Malŝaltu";
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "Ne";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "Anstatauigu";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "La dosierujo '%@' ne povis kreiĝi.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "La dosierujo '%@' ne ekzistas. Ĉu vi volas krej ĝin?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "La dosiero '%@' en '%@' jam eksistas. Anstataŭiĝu?";
/* File: ../Source/NSSavePanel.m:1394 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory." = "'%@' ne estas dosierujo.";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Jes";

View file

@ -5,7 +5,7 @@
/***
French.lproj/Localizable.strings
updated by make_strings 2015-05-28 23:51:14 +0200
updated by make_strings 2021-01-16 19:14:36 +0100
add comments above this one
***/
@ -13,40 +13,40 @@ add comments above this one
/*** Keys found in multiple places ***/
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "OK";
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "Info";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Quitter";
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Abandonner";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "Annuler";
/* File: ../Source/NSAlert.m:389 */
@ -54,14 +54,14 @@ add comments above this one
"Don't Save" = "Fermer sans enregistrer";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "Enregistrer";
/* File: ../Source/GSHelpManagerPanel.m:70 */
@ -72,12 +72,12 @@ add comments above this one
/* File: ../Source/NSFontPanel.m:706 */
"Preview" = "Aper\U00E7u";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "R\U00E9tablir";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Couleurs";
@ -87,15 +87,15 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:676 */
"Unknown" = "Inconnu";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "Type de fichier";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "Nom";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* Flag: untranslated */
/* File: ../Source/NSFontPanel.m:738 */
/* Flag: untranslated */
@ -107,19 +107,19 @@ add comments above this one
/* Flag: untranslated */
"Not found" = "Not found";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
"Could not create data for type."
= "Impossible de cr\U00E9er des donn\U00E9es pour ce type.";
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write backup file." = "Could not write backup file.";
@ -127,11 +127,11 @@ add comments above this one
/*** Unmatched/untranslated keys ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
/* Flag: untranslated */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
/* Flag: untranslated */
"Unicode Block" = "Unicode Block";
@ -143,19 +143,19 @@ add comments above this one
/* Flag: untranslated */
"%d replaced" = "%d replaced";
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
/* Flag: untranslated */
"Customize Toolbar" = "Customize Toolbar";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
/* Flag: untranslated */
"No information" = "No information";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
/* Flag: untranslated */
"Show" = "Show";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
/* Flag: untranslated */
"Hide" = "Hide";
@ -164,13 +164,13 @@ add comments above this one
/* Flag: untranslated */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
/* Flag: untranslated */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1029 */
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write file wrapper." = "Could not write file wrapper.";
@ -212,49 +212,49 @@ add comments above this one
"Faxing of print file not implemented"
= "Faxing of print file not implemented";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
/* Flag: untranslated */
"Show Hidden Files" = "Show Hidden Files";
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
/* Flag: untranslated */
"Home" = "Home";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
/* Flag: untranslated */
"Mount" = "Mount";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:310 */
/* Flag: untranslated */
"Unmount" = "Unmount";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
/* Flag: untranslated */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "You have used the extension '.%@'.\nThe standard extension is '.%@'.'";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
/* Flag: untranslated */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "You cannot save this document with extension '.%@'.\nThe required extension is '.%@'.";
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
/* Flag: untranslated */
"Guess" = "Guess";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
/* Flag: untranslated */
"Cut" = "Cut";
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
/* Flag: untranslated */
"Copy" = "Copy";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
/* Flag: untranslated */
"Paste" = "Paste";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
/* Flag: untranslated */
"No Suggestions" = "No Suggestions";
@ -262,9 +262,34 @@ add comments above this one
/* Flag: untranslated */
"Separator" = "Separator";
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "Impossible de charger le fichier mod\U00E8le principal '%@'";
@ -277,8 +302,8 @@ add comments above this one
/* File: ../Source/GSInfoPanel.m:396 */
"Copyright Information Not Available"
= "Informations de Copyright Non Disponibles";
/* File: ../Source/GSInfoPanel.m:482 */
/* File: ../Source/GSInfoPanel.m:187 */
/* File: ../Source/GSInfoPanel.m:482 */
"Current theme" = "Th\U00E8me actuel";
@ -289,7 +314,7 @@ add comments above this one
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -299,18 +324,18 @@ add comments above this one
/*** Strings from ../Source/GSThemePanel.m ***/
/* File: ../Source/GSThemePanel.m:229 */
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "Utiliser ce th\U00E8me par d\U00E9fault";
/* File: ../Source/GSThemePanel.m:234 */
/* File: ../Source/GSThemePanel.m:193 */
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme" = "Revenir au th\U00E8me par d\U00E9fault";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "Th\U00E8mes";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "Attention";
@ -330,57 +355,57 @@ add comments above this one
"Critical Error in %@" = "Erreur critique dans %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "D\U00E9boguer";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Probl\U00E8me lors de la notification du lancement de l'application : %@";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Impossible de trouver le backend %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] appell\U00E9e plus d'une fois";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "Exception signal\U00E9e - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL."
= "Impossible de charger des donn\U00E9es depuis l'URL.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
"Could not load data." = "Impossible de charger les donn\U00E9es.";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
"No data specified for data loading."
= "Pas de donn\U00E9es sp\U00E9cifi\U00E9es.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
"No type specified for data."
= "Aucun type pr\U00E9cis\U00E9 pour les donn\U00E9es.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "Compression CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "Compression CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "Compression JPEG";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "Compression LZW";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "Compression NEXT";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "Pas de compression";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "Ancienne compression JPEG";
"CCITTFAX3 Compression" = "Compression CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "Compression CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "Compression JPEG";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "Compression LZW";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "Compression NEXT";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "Pas de compression";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "Ancienne compression JPEG";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "Compression PackBits";
/*** Strings from ../Source/NSColorPanel.m ***/
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
"Opacity" = "Opacit\U00E9";
@ -406,12 +431,12 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ a \U00E9t\U00E9 modifi\U00E9. Etes-vous s\U00FBr de vouloir annuler les modifications ?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ a \U00E9t\U00E9 modifi\U00E9. Enregistrer ?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Impossible de cr\U00E9er le fichier de sauvegarde. Enregistrer quand m\U006Dme ?";
/* File: ../Source/NSDocument.m:483 */
@ -420,32 +445,32 @@ add comments above this one
"Could not load URL %@." = "Impossible de charger l'URL %@.";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "Impossible de charger le fichier %@.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "Erreur fichier";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "Erreur lors du chargement";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "Enregistrer sous";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Enregistrer une copie sous";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "SansTitre-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
"Clear List" = "Vider la liste";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Eteindre";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Quitter sans enregistrer";
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Passer en revue";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents"
= "Certains documents ne sont pas sauvegard\U00E9s";
@ -476,8 +501,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(aucun)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "Marge basse";
@ -507,9 +532,9 @@ add comments above this one
/*** Strings from ../Source/NSPrintPanel.m ***/
/* File: ../Source/NSPrintPanel.m:781 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:643 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:781 */
"Manual" = "Manuel";
/* File: ../Source/NSPrintPanel.m:145 */
"Print Panel" = "Impression";
@ -518,31 +543,31 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "Nom:";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "Non";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Lecture du r\U00E9pertoire ";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "Remplacer";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "Impossible de cr\U00E9er le r\U00E9pertoire '%@'.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "Le r\U00E9pertoire '%@' n'existe pas, voulez-vous le cr\U00E9er ?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "Le fichier '%@' existe dans '%@'. Voulez-vous le remplacer ?";
/* File: ../Source/NSSavePanel.m:1394 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory."
= "Le chemin '%@' n'est pas un r\U00E9pertoire.";
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* File: ../Source/NSSavePanel.m:1329 */
"Use .%@" = "Utiliser .%@";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Oui";
@ -560,7 +585,7 @@ add comments above this one
/*** Strings from ../Source/NSWindow.m ***/
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
"Hide Toolbar" = "Cacher la barre d'outils";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
"Show Toolbar" = "Afficher la barre d'outils";

View file

@ -8,7 +8,7 @@
/***
German.lproj/Localizable.strings
updated by make_strings 2015-05-29 00:12:25 +0200
updated by make_strings 2021-01-16 20:15:43 +0100
add comments above this one
***/
@ -16,51 +16,51 @@ add comments above this one
/*** Keys found in multiple places ***/
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Verwerfen";
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "Information";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Beenden";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "Speichern";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "Abbrechen";
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "Ok";
/* File: ../Source/NSAlert.m:389 */
@ -71,12 +71,12 @@ add comments above this one
/* File: ../Source/NSFontPanel.m:706 */
"Preview" = "Vorschau";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "Zur\U00FCcksetzen";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Farben";
@ -90,21 +90,21 @@ add comments above this one
/* File: ../Source/NSHelpPanel.m:154 */
"Help" = "Hilfe";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "Dateityp";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "Name";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* File: ../Source/NSFontPanel.m:738 */
"Character Panel" = "Zeichenauswahl";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
@ -114,45 +114,64 @@ add comments above this one
/*** Unmatched/untranslated keys ***/
/* File: ../Source/NSDocument.m:751 */
/* Comment: Error description */
/* Flag: untranslated */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:935 */
/* Comment: Error description */
/* Flag: untranslated */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1029 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write file wrapper." = "Could not write file wrapper.";
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
/* Flag: untranslated */
"Home" = "Home";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
/* Flag: untranslated */
"Mount" = "Mount";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:310 */
/* Flag: untranslated */
"Unmount" = "Unmount";
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:751 */
/* Comment: Error description */
"File wrapper is no file." = "Dateiverweis ist keine Datei.";
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
"Not a writable type or no URL given."
= "Kein schreibbarer Typ oder keine URL \U00F6bergeben.";
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
"Could not write file wrapper."
= "Dateiverweis konnte nicht geschrieben werden.";
/*** Strings from ../Source/NSPathControl.m ***/
/* File: ../Source/NSPathControl.m:389 */
"Choose..." = "Ausw\U00E4hlen...";
/*** Strings from ../Source/NSSearchFieldCell.m ***/
/* File: ../Source/NSSearchFieldCell.m:556 */
"Recent searches" = "Letzte Suchwerte";
/* File: ../Source/NSSearchFieldCell.m:563 */
"Recent search item" = "Letzter Suchwert";
/* File: ../Source/NSSearchFieldCell.m:570 */
"Clear recent searches" = "Letzte Suchwerte l\U00F6schen";
/* File: ../Source/NSSearchFieldCell.m:578 */
"No recent searches" = "Keine letzten Suchwerte";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "Kann Haupt-Model-Datei \U00BB%@\U00AB nicht laden";
/*** Strings from ../Source/GSCharacterPanel.m ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
"Unicode Block" = "Unicode Block";
@ -180,13 +199,13 @@ add comments above this one
/*** Strings from ../Source/GSTextFinder.m ***/
/* File: ../Source/GSTextFinder.m:408 */
"%d replaced" = "%d ersetzt";
/* File: ../Source/GSTextFinder.m:381 */
/* File: ../Source/GSTextFinder.m:332 */
/* File: ../Source/GSTextFinder.m:381 */
"Not found" = "Nicht gefunden";
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -199,22 +218,22 @@ add comments above this one
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "Zum Standard Thema machen";
/* File: ../Source/GSThemePanel.m:234 */
/* File: ../Source/GSThemePanel.m:193 */
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme" = "Standard Thema wiederherstellen";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "Themen";
/*** Strings from ../Source/GSToolbarView.m ***/
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
"Customize Toolbar" = "Toolbar anpassen";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "Hinweis";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
"No information" = "Keine Information";
@ -234,61 +253,61 @@ add comments above this one
"Critical Error in %@" = "Kritischer Fehler in %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Debug";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
"Hide" = "Ausblenden";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problem beim Starten von App-Notifikation: %@";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
"Show" = "Anzeigen";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Backend %@ nicht gefunden";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] mehrfach aufgerufen";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "meldet Ausnahme - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL."
= "Die Daten konnten nicht vom URL geladen werden.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
"Could not load data." = "Die Daten konnten nicht geladen werden.";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
"No data specified for data loading."
= "Es wurden keine Daten zum Laden angegeben.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
"No type specified for data."
= "F\U00FCr die Daten wurde kein Typ angegeben.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "CCITTFAX3-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "CCITTFAX4-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "JPEG-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "LZW-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "NEXT-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "Keine Kompression";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "alte JPEG-Kompression";
"CCITTFAX3 Compression" = "CCITTFAX3-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "CCITTFAX4-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "JPEG-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "LZW-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "NEXT-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "Keine Kompression";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "alte JPEG-Kompression";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "PackBits-Kompression";
/*** Strings from ../Source/NSColorPanel.m ***/
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
"Opacity" = "Deckkraft";
@ -314,12 +333,12 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ wurde ge\U00E4ndert. Wollen Sie die \U00C4nderungen wirklich verwerfen?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ ge\U00E4ndert. Speichern?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Kann Backup-Datei nicht anlegen. Dennoch Speichern?";
/* File: ../Source/NSDocument.m:483 */
@ -328,38 +347,38 @@ add comments above this one
"Could not load URL %@." = "Konnte URL %@ nicht laden";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "Konnte Datei %@ nicht laden.";
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
"Could not write backup file."
= "Sicherungsdatei konnte nicht geschrieben werden.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "Dateifehler";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "Laden fehlgeschlagen";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "Speichern als";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Speichern in";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "unbenannt-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
"Clear List" = "Liste l\U00F6schen";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Aus";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Dennoch beenden";
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Ansehen";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents" = "Sie haben ungespeicherte Dokumente";
@ -395,8 +414,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(keine)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "Unterer Rand";
@ -438,9 +457,9 @@ add comments above this one
"8 up" = "8 Seiten";
/* File: ../Source/NSPrintPanel.m:407 */
"Faxing of print file not implemented" = "Faxen ist nicht implementiert";
/* File: ../Source/NSPrintPanel.m:781 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:643 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:781 */
"Manual" = "Manuell";
/* File: ../Source/NSPrintPanel.m:145 */
"Print Panel" = "Druckfenster";
@ -449,54 +468,54 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "Name:";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "Nein";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Lese Verzeichnis ";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "\U00DCberschreiben";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
"Show Hidden Files" = "Versteckte Dateien anzeigen";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "Das Verzeichnis \U00BB%@\U00AB konnte nicht erstellt werden.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "Das Verzeichnis \U00BB%@\U00AB existiert nicht. Wollen Sie es anlegen?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "Die Datei \U00BB%@\U00AB in \U00BB%@\U00AB existiert bereits. \U00DCberschreiben?";
/* File: ../Source/NSSavePanel.m:1394 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory." = "\U00BB%@\U00AB ist kein Verzeichnis.";
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* File: ../Source/NSSavePanel.m:1329 */
"Use .%@" = ".%@ verwenden";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Ja";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "Sie k\U00F6nnen das Dokument nicht mit der Erweiterung \U00BB.%@\U00AB speichern.\nDie notwendige Erweiterung ist \U00BB.%@\U00AB.";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "Sie haben die Erweiterung \U00BB.%@\U00AB benutzt.\nDie Standarderweiterung ist \U00BB.%@\U00AB.";
/*** Strings from ../Source/NSSpellChecker.m ***/
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
"Guess" = "Raten";
/*** Strings from ../Source/NSTextView.m ***/
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
"Copy" = "Kopieren";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
"Cut" = "Ausschneiden";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
"No Suggestions" = "Kein Vorschlag";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
"Paste" = "Einf\U00FCgen";
@ -516,7 +535,7 @@ add comments above this one
/*** Strings from ../Source/NSWindow.m ***/
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
"Hide Toolbar" = "Toolbar ausblenden";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
"Show Toolbar" = "Toolbar anzeigen";

View file

@ -1,4 +1,4 @@
/* Translator: Nicola Pero <nicola@brainstorm.co.uk>
/* Translator: Nicola Pero <nicola@brainstorm.co.uk>
* Date: September 2002
* Translator: Maurizio Boriani <baux@gnu.org>
* Date: April 2006
@ -7,7 +7,7 @@
/***
Italian.lproj/Localizable.strings
updated by make_strings 2015-05-28 23:51:14 +0200
updated by make_strings 2021-01-16 19:15:10 +0100
add comments above this one
***/
@ -15,44 +15,44 @@ add comments above this one
/*** Keys found in multiple places ***/
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "Salva";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "Cancella";
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "Info";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Esci";
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Dismetti";
/* File: ../Source/GSPrintOperation.m:155 */
@ -60,18 +60,18 @@ add comments above this one
"Preview" = "Anteprima";
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "OK";
/* File: ../Source/NSAlert.m:389 */
/* File: ../Source/NSDocument.m:485 */
"Don't Save" = "Non salvare";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "Ritorna a com'era prima";
@ -79,7 +79,7 @@ add comments above this one
/* File: ../Source/NSHelpPanel.m:154 */
"Help" = "Aiuto";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Colori";
@ -97,27 +97,27 @@ add comments above this one
/* Flag: untranslated */
"Manual" = "Manual";
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1329 */
/* Flag: untranslated */
"Use .%@" = "Use .%@";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "Tipo Archivio";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "Nome";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* File: ../Source/NSFontPanel.m:738 */
"Character Panel" = "Pannello Caratteri";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
@ -125,10 +125,10 @@ add comments above this one
"Could not create data for type."
= "Impossibile generare i dati per il tipo dati.";
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write backup file." = "Could not write backup file.";
@ -136,11 +136,11 @@ add comments above this one
/*** Unmatched/untranslated keys ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
/* Flag: untranslated */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
/* Flag: untranslated */
"Unicode Block" = "Unicode Block";
@ -148,23 +148,23 @@ add comments above this one
/* Flag: untranslated */
"Release: " = "Release: ";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
/* Flag: untranslated */
"No data specified for data loading."
= "No data specified for data loading.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not load data." = "Could not load data.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
/* Flag: untranslated */
"No type specified for data." = "No type specified for data.";
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
/* Flag: untranslated */
"Opacity" = "Opacity";
@ -178,18 +178,18 @@ add comments above this one
/* Flag: untranslated */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
/* Flag: untranslated */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1029 */
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write file wrapper." = "Could not write file wrapper.";
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
/* Flag: untranslated */
"Clear List" = "Clear List";
@ -239,7 +239,7 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:179 */
/* Flag: untranslated */
"1 up" = "1 up";
"4 up" = "4 up";
/* File: ../Source/NSPrintPanel.m:179 */
/* Flag: untranslated */
@ -247,7 +247,7 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:179 */
/* Flag: untranslated */
"4 up" = "4 up";
"1 up" = "1 up";
/* File: ../Source/NSPrintPanel.m:180 */
/* Flag: untranslated */
@ -257,87 +257,100 @@ add comments above this one
/* Flag: untranslated */
"Sorry" = "Sorry";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
/* Flag: untranslated */
"Show Hidden Files" = "Show Hidden Files";
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
/* Flag: untranslated */
"Home" = "Home";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
/* Flag: untranslated */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "You have used the extension '.%@'.\nThe standard extension is '.%@'.'";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
/* Flag: untranslated */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "You cannot save this document with extension '.%@'.\nThe required extension is '.%@'.";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
/* Flag: untranslated */
"No" = "No";
/* File: ../Source/NSSavePanel.m:1797 */
/* Flag: untranslated */
"Reading Directory " = "Reading Directory ";
/* File: ../Source/NSSpellChecker.m:731 */
/* Flag: untranslated */
"Guess" = "Guess";
/* File: ../Source/NSTextView.m:651 */
/* Flag: untranslated */
"Cut" = "Cut";
/* File: ../Source/NSTextView.m:652 */
/* Flag: untranslated */
"Copy" = "Copy";
/* File: ../Source/NSTextView.m:653 */
/* Flag: untranslated */
"Paste" = "Paste";
/* File: ../Source/NSTextView.m:5904 */
/* Flag: untranslated */
"No Suggestions" = "No Suggestions";
/* File: ../Source/NSToolbarItem.m:949 */
/* Flag: untranslated */
"Separator" = "Separator";
/* File: ../Source/NSToolbarItem.m:991 */
/* Flag: untranslated */
"Space" = "Space";
/* File: ../Source/NSToolbarItem.m:1021 */
/* Flag: untranslated */
"Flexible Space" = "Flexible Space";
/* File: ../Source/NSToolbarItem.m:1099 */
/* Flag: untranslated */
"Fonts" = "Fonts";
/* File: ../Source/NSToolbarItem.m:1122 */
/* Flag: untranslated */
"Customize" = "Customize";
/* File: ../Source/NSToolbarItem.m:1145 */
/* Flag: untranslated */
"Print..." = "Print...";
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
/* Flag: untranslated */
"Hide Toolbar" = "Hide Toolbar";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
/* Flag: untranslated */
"Show Toolbar" = "Show Toolbar";
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Lettura Cartella ";
/*** Strings from ../Source/NSSpellChecker.m ***/
/* File: ../Source/NSSpellChecker.m:756 */
"Guess" = "Indovina";
/*** Strings from ../Source/NSTextView.m ***/
/* File: ../Source/NSTextView.m:659 */
"Cut" = "Taglia";
/* File: ../Source/NSTextView.m:660 */
"Copy" = "Copia";
/* File: ../Source/NSTextView.m:661 */
"Paste" = "Incolla";
/* File: ../Source/NSTextView.m:5893 */
"No Suggestions" = "Nessun Suggerimento";
/*** Strings from ../Source/NSToolbarItem.m ***/
/* File: ../Source/NSToolbarItem.m:949 */
"Separator" = "Separatore";
/* File: ../Source/NSToolbarItem.m:991 */
"Space" = "Spazio";
/* File: ../Source/NSToolbarItem.m:1021 */
"Flexible Space" = "Spazio Flessibile";
/* File: ../Source/NSToolbarItem.m:1099 */
"Fonts" = "Caratteri";
/* File: ../Source/NSToolbarItem.m:1122 */
"Customize" = "Personalizza";
/* File: ../Source/NSToolbarItem.m:1145 */
"Print..." = "Stampa...";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "Non \U00E8 possibile caricare il model file principale '%@'";
@ -350,8 +363,8 @@ add comments above this one
/* File: ../Source/GSInfoPanel.m:396 */
"Copyright Information Not Available"
= "Informazioni di Copyright non disponibili";
/* File: ../Source/GSInfoPanel.m:482 */
/* File: ../Source/GSInfoPanel.m:187 */
/* File: ../Source/GSInfoPanel.m:482 */
"Current theme" = "Tema corrente";
@ -364,13 +377,13 @@ add comments above this one
/*** Strings from ../Source/GSTextFinder.m ***/
/* File: ../Source/GSTextFinder.m:408 */
"%d replaced" = "%d rimpiazzati";
/* File: ../Source/GSTextFinder.m:381 */
/* File: ../Source/GSTextFinder.m:332 */
/* File: ../Source/GSTextFinder.m:381 */
"Not found" = "Non trovato";
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -380,25 +393,25 @@ add comments above this one
/*** Strings from ../Source/GSThemePanel.m ***/
/* File: ../Source/GSThemePanel.m:229 */
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "Imposta come tema predefinito";
/* File: ../Source/GSThemePanel.m:234 */
/* File: ../Source/GSThemePanel.m:193 */
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme" = "Ripristina tema predefinito";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "Temi";
/*** Strings from ../Source/GSToolbarView.m ***/
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
"Customize Toolbar" = "Personalizza barra strumenti";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "Attenzione";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
"No information" = "Nessuna informazione";
@ -418,44 +431,44 @@ add comments above this one
"Critical Error in %@" = "Errore critico in %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Debugga";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
"Hide" = "Nascondi";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problema durante il lancio dell'applicazione: %@";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
"Show" = "Mostra";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Non si riesce a trovare il backend %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] chiamata pi\U00F9 di una volta";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "riportata una exception - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL." = "Impossibile caricare dati dall'URL.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "Compressione CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "Compressione CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "Compressione JPEG";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "Compressione LZW";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "Compressione NEXT";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "Non compresso";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "Vecchia compressione JPEG";
"CCITTFAX3 Compression" = "Compressione CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "Compressione CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "Compressione JPEG";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "Compressione LZW";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "Compressione NEXT";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "Non compresso";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "Vecchia compressione JPEG";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "Compressione PackBits";
@ -478,12 +491,12 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ \U00E8 stato modificato. Sei sicuro che vuoi annullare i cambiamenti?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ \U00E8 cambiato. Salvare?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Non si pu\U00F2 create un file di backup. Lo devo salvare lo stesso?";
/* File: ../Source/NSDocument.m:483 */
@ -493,30 +506,30 @@ add comments above this one
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@."
= "Non \U00E8 stato possibile caricare il file %@.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "Errore con un file";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "Caricamento non riuscito";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "Salva con nome";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Salva in";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "Senza-Titolo-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Spegni";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Esci comunque";
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:930 */
"Review Unsaved" = "Rivisita documenti non salvati";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Rivedi documenti non salvati";
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents" = "Ci sono documenti non salvati";
@ -533,8 +546,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(nessuno)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "Margine Inferiore";
@ -567,26 +580,26 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
"Mount" = "Monta";
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "Nome:";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "Sostituisci";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "La directory '%@' non puo' essere creata.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "La directory '%@' non esiste, la vuoi creare?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "Il file '%@' in '%@' esiste. Vuoi sostituirlo?";
/* File: ../Source/NSSavePanel.m:1394 */
= "Il file '%@' in '%@' esiste già. Sostituirlo?";
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory."
= "Il percorso non '%@' non è una directory.";
/* File: ../Source/NSSavePanel.m:309 */
= "Il percorso non '%@' non è una cartella.";
/* File: ../Source/NSSavePanel.m:310 */
"Unmount" = "Smonta";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Sì";

View file

@ -1,35 +1,35 @@
/***
English.lproj/Localizable.strings
updated by make_strings 2015-05-28 23:57:53 +0200
Japanese.lproj/Localizable.strings
updated by make_strings 2021-01-16 19:14:36 +0100
add comments above this one
***/
/*** Keys found in multiple places ***/
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "\u60c5\u5831";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "\u7d42\u4e86";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "\u30ad\u30e3\u30f3\u30bb\u30eb";
/* File: ../Source/NSAlert.m:389 */
@ -37,38 +37,38 @@ add comments above this one
"Don't Save" = "\u4fdd\u5b58\u3057\u306a\u3044";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "\u4fdd\u5b58";
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "OK";
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "\u5374\u4e0b";
/* File: ../Source/GSPrintOperation.m:155 */
/* File: ../Source/NSFontPanel.m:706 */
"Preview" = "\u30d7\u30ec\u30d3\u30e5\u30fc";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "\u5143\u306b\u623b\u3059";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Colors";
@ -82,37 +82,65 @@ add comments above this one
/* File: ../Source/NSHelpPanel.m:154 */
"Help" = "\u30d8\u30eb\u30d7";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "\u540d\u524d";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* File: ../Source/NSFontPanel.m:738 */
"Character Panel" = "Character Panel";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
"Could not create data for type." = "Could not create data for type.";
/*** Unmatched/untranslated keys ***/
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "Cannot load the main model file '%@'";
/*** Strings from ../Source/GSCharacterPanel.m ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
"Unicode Block" = "Unicode Block";
@ -140,13 +168,13 @@ add comments above this one
/*** Strings from ../Source/GSTextFinder.m ***/
/* File: ../Source/GSTextFinder.m:408 */
"%d replaced" = "%d replaced";
/* File: ../Source/GSTextFinder.m:381 */
/* File: ../Source/GSTextFinder.m:332 */
/* File: ../Source/GSTextFinder.m:381 */
"Not found" = "Not found";
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -158,23 +186,25 @@ add comments above this one
/*** Strings from ../Source/GSThemePanel.m ***/
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30fc\u30de\u306b\u8a2d\u5b9a";
/* File: ../Source/GSThemePanel.m:234 */
"Make this the default theme"
= "\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30fc\u30de\u306b\u8a2d\u5b9a";
/* File: ../Source/GSThemePanel.m:193 */
"Revert default theme" = "\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30fc\u30de\u306b\u623b\u3059";
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme"
= "\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30fc\u30de\u306b\u623b\u3059";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "\u30c6\u30fc\u30de";
/*** Strings from ../Source/GSToolbarView.m ***/
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
"Customize Toolbar" = "Customize Toolbar";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "\u8b66\u544a";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
"No information" = "\u60c5\u5831\u306a\u3057";
@ -194,59 +224,61 @@ add comments above this one
"Critical Error in %@" = "Critical Error in %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Debug";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
"Hide" = "Hide";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problem during launch app notification: %@";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
"Show" = "Show";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Unable to find backend %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] called more than once";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "reported exception - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL." = "URL\u5148\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3002";
/* File: ../Source/NSAttributedString.m:863 */
"Could not load data from URL."
= "URL\u5148\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3002";
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
"Could not load data." = "\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3002";
/* File: ../Source/NSAttributedString.m:762 */
"Could not load data."
= "\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3002";
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
"No data specified for data loading."
= "No data specified for data loading.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
"No type specified for data." = "No type specified for data.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "CCITTFAX3 Compression";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "CCITTFAX4 Compression";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "JPEG\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "LZW\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "NEXT Compression";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "\u975e\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "\u53e4\u3044JPEG\u5727\u7e2e";
"CCITTFAX3 Compression" = "CCITTFAX3 Compression";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "CCITTFAX4 Compression";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "JPEG\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "LZW\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "NEXT Compression";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "\u975e\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "\u53e4\u3044JPEG\u5727\u7e2e";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "PackBits\u5727\u7e2e";
/*** Strings from ../Source/NSColorPanel.m ***/
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
"Opacity" = "Opacity";
@ -272,62 +304,67 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ \u306f\u7de8\u96c6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5909\u66f4\u3092\u5143\u306b\u623b\u3057\u307e\u3059\u304b?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ \u306f\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059.\u4fdd\u5b58\u3057\u307e\u3059\u304b?";
/* File: ../Source/NSDocument.m:831 */
"%@ has changed. Save?"
= "%@ \u306f\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059.\u4fdd\u5b58\u3057\u307e\u3059\u304b?";
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Can't create backup file. Save anyways?";
/* File: ../Source/NSDocument.m:483 */
"Close" = "\u9589\u3058\u308b";
/* File: ../Source/NSDocument.m:153 */
"Could not load URL %@." = "URL %@ \u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f\u3002";
"Could not load URL %@."
= "URL %@ \u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f\u3002";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "\u30d5\u30a1\u30a4\u30eb %@ \u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f\u3002";
/* File: ../Source/NSDocument.m:917 */
"Could not load file %@."
= "\u30d5\u30a1\u30a4\u30eb %@ \u3092\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093\u3067\u3057\u305f\u3002";
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
"Could not write backup file." = "\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u8fbc\u3081\u307e\u305b\u3093\u3002";
/* File: ../Source/NSDocument.m:1029 */
"Could not write backup file."
= "\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u8fbc\u3081\u307e\u305b\u3093\u3002";
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
"Could not write file wrapper." = "Could not write file wrapper.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "File Error";
/* File: ../Source/NSDocument.m:751 */
/* Comment: Error description */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "\u8aad\u307f\u8fbc\u307f\u5931\u6557";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "\u540d\u524d\u3092\u3064\u3051\u3066\u4fdd\u5b58";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Save To";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "Untitled-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
"Clear List" = "Clear List";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "\u96fb\u6e90\u30aa\u30d5";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Quit Anyway";
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Review Unsaved";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
"You have unsaved documents" = "\u4fdd\u5b58\u3057\u3066\u3044\u306a\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u3042\u308a\u307e\u3059";
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents"
= "\u4fdd\u5b58\u3057\u3066\u3044\u306a\u3044\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u3042\u308a\u307e\u3059";
/*** Strings from ../Source/NSFontPanel.m ***/
@ -362,8 +399,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(none)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "\u4e0b\u30de\u30fc\u30b8\u30f3";
@ -406,9 +443,9 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:407 */
"Faxing of print file not implemented"
= "Faxing of print file not implemented";
/* File: ../Source/NSPrintPanel.m:781 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:643 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:781 */
"Manual" = "Manual";
/* File: ../Source/NSPrintPanel.m:145 */
"Print Panel" = "Print Panel";
@ -417,60 +454,62 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
"Home" = "\u30db\u30fc\u30e0";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
"Mount" = "\u30de\u30a6\u30f3\u30c8";
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "\u540d\u524d:";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "\u3044\u3044\u3048";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Reading Directory ";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "\u7f6e\u304d\u63db\u3048";
/* File: ../Source/NSSavePanel.m:242 */
"Show Hidden Files" = "\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3059\u308b";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:243 */
"Show Hidden Files"
= "\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3059\u308b";
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "The directory '%@' \u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "\u30c7\u30a3\u30ec\u30af\u30c8\u30ea '%@' \u306f\u5b58\u5728\u3057\u307e\u305b\u3093\u3002\u4f5c\u6210\u3057\u307e\u3059\u304b?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "\u30d5\u30a1\u30a4\u30eb '%@' \u306f '%@' \u306b\u5b58\u5728\u3057\u307e\u3059\u3002\u7f6e\u304d\u63db\u3048\u307e\u3059\u304b?";
/* File: ../Source/NSSavePanel.m:1394 */
"The path '%@' is not a directory." = "'%@' \u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory."
= "'%@' \u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002";
/* File: ../Source/NSSavePanel.m:310 */
"Unmount" = "\u30a2\u30f3\u30de\u30a6\u30f3\u30c8";
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* File: ../Source/NSSavePanel.m:1329 */
"Use .%@" = "Use .%@";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "\u306f\u3044";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "You cannot save this document with extension '.%@'.\nThe required extension is '.%@'.";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "You have used the extension '.%@'.\nThe standard extension is '.%@'.'";
/*** Strings from ../Source/NSSpellChecker.m ***/
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
"Guess" = "Guess";
/*** Strings from ../Source/NSTextView.m ***/
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
"Copy" = "\u30b3\u30d4\u30fc";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
"Cut" = "\u5207\u308a\u53d6\u308a";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
"No Suggestions" = "No Suggestions";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
"Paste" = "\u8cbc\u308a\u4ed8\u3051";
@ -490,7 +529,7 @@ add comments above this one
/*** Strings from ../Source/NSWindow.m ***/
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
"Hide Toolbar" = "\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u96a0\u3059";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
"Show Toolbar" = "\u30c4\u30fc\u30eb\u30d0\u30fc\u3092\u8868\u793a";

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
/***
Lojban.lproj/Localizable.strings
updated by make_strings 2015-05-29 00:13:11 +0200
updated by make_strings 2021-01-16 19:14:36 +0100
add comments above this one
***/
@ -9,30 +9,30 @@ add comments above this one
/* File: ../Source/GSPrintOperation.m:157 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1387 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1398 */
/* Flag: untranslated */
"Dismiss" = "e'i nai";
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* Flag: untranslated */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* Flag: untranslated */
/* File: ../Source/NSMenu.m:259 */
/* Flag: untranslated */
"Info" = "Info";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* Flag: untranslated */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:3511 */
/* Flag: untranslated */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSApplication.m:4305 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSDocumentController.m:1195 */
/* Flag: untranslated */
"Quit" = "fanmo";
@ -44,21 +44,21 @@ add comments above this one
/* File: ../Source/NSDocument.m:485 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:840 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSDocument.m:1219 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:433 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1333 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1372 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1385 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1396 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSSavePanel.m:1407 */
/* Flag: untranslated */
"Save" = "Save";
@ -66,25 +66,25 @@ add comments above this one
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:485 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:840 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1696 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:1093 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSDocumentController.m:1125 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:319 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1336 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
/* Flag: untranslated */
"Cancel" = "Cancel";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1694 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1696 */
/* Flag: untranslated */
/* File: ../Source/NSFontPanel.m:696 */
/* Flag: untranslated */
@ -98,13 +98,13 @@ add comments above this one
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* Flag: untranslated */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* Flag: untranslated */
/* File: ../Source/NSPrintOperation.m:678 */
/* Flag: untranslated */
/* File: ../Source/NSPrintPanel.m:408 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
/* Flag: untranslated */
"OK" = "OK";
@ -114,31 +114,31 @@ add comments above this one
/* Flag: untranslated */
"Don't Save" = "na'e ciska";
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1101 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:1151 */
/* Flag: untranslated */
"You have unsaved documents" = "You have unsaved documents";
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:1102 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:1144 */
/* Flag: untranslated */
"Review Unsaved" = "Review Unsaved";
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* Flag: untranslated */
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:1146 */
/* Flag: untranslated */
"Quit Anyway" = "Quit Anyway";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* Flag: untranslated */
/* File: ../Source/NSFontPanel.m:738 */
/* Flag: untranslated */
"Character Panel" = "Character Panel";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* Flag: untranslated */
/* File: ../Source/NSPageLayout.m:959 */
/* Flag: untranslated */
@ -174,10 +174,10 @@ add comments above this one
/* Flag: untranslated */
"Make this the default theme" = "Make this the default theme";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:646 */
@ -185,13 +185,13 @@ add comments above this one
/* Flag: untranslated */
"Could not create data for type." = "Could not create data for type.";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* Flag: untranslated */
/* File: ../Source/NSToolbarItem.m:1076 */
/* Flag: untranslated */
"Colors" = "Colors";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* Flag: untranslated */
/* File: ../Source/NSPrintPanel.m:350 */
/* Flag: untranslated */
@ -221,22 +221,22 @@ add comments above this one
/* Flag: untranslated */
"Manual" = "Manual";
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:432 */
/* Flag: untranslated */
"Name:" = "Name:";
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* Flag: untranslated */
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1329 */
/* Flag: untranslated */
"Use .%@" = "Use .%@";
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write backup file." = "Could not write backup file.";
@ -244,16 +244,16 @@ add comments above this one
/*** Unmatched/untranslated keys ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
/* Flag: untranslated */
"Cannot load the main model file '%@'"
= "Cannot load the main model file '%@'";
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
/* Flag: untranslated */
"Code Point" = "Code Point";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
/* Flag: untranslated */
"Unicode Block" = "Unicode Block";
@ -283,7 +283,7 @@ add comments above this one
/* Flag: untranslated */
"%d replaced" = "%d replaced";
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
/* Flag: untranslated */
"?" = "?";
@ -295,15 +295,15 @@ add comments above this one
/* Flag: untranslated */
"Themes" = "Themes";
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
/* Flag: untranslated */
"Customize Toolbar" = "Customize Toolbar";
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
/* Flag: untranslated */
"Alert" = "Alert";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
/* Flag: untranslated */
"No information" = "No information";
@ -338,82 +338,82 @@ add comments above this one
"Backend at path %@ doesn't contain the GSBackend class"
= "gy. backend %@ gy. kunti gy. GSBackend gy.";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
/* Flag: untranslated */
"[NSApplication -init] called more than once"
= "clacpe fe gy. [NSApplication -init] gy. du'eroi";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
/* Flag: untranslated */
"Problem during launch app notification: %@"
= "zo'e nabmi le samru'e cu notci gy. %@ gy.";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
/* Flag: untranslated */
"reported exception - %@" = "le nafmupli gy. %@ gy.";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
/* Flag: untranslated */
"Show" = "Show";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
/* Flag: untranslated */
"Hide" = "Hide";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
/* Flag: untranslated */
"No data specified for data loading."
= "No data specified for data loading.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not load data." = "Could not load data.";
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not load data from URL." = "Could not load data from URL.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
/* Flag: untranslated */
"No type specified for data." = "No type specified for data.";
/* File: ../Source/NSBitmapImageRep.m:1644 */
/* File: ../Source/NSBitmapImageRep.m:1646 */
/* Flag: untranslated */
"No Compression" = "na'e jdika";
/* File: ../Source/NSBitmapImageRep.m:1645 */
/* File: ../Source/NSBitmapImageRep.m:1647 */
/* Flag: untranslated */
"CCITTFAX3 Compression" = "le djika gy. CCITTFAX3 gy.";
/* File: ../Source/NSBitmapImageRep.m:1646 */
/* File: ../Source/NSBitmapImageRep.m:1648 */
/* Flag: untranslated */
"CCITTFAX4 Compression" = "le jdika gy. CCITTFAX4 gy.";
/* File: ../Source/NSBitmapImageRep.m:1647 */
/* File: ../Source/NSBitmapImageRep.m:1649 */
/* Flag: untranslated */
"LZW Compression" = "le jdika gy. LZW gy.";
/* File: ../Source/NSBitmapImageRep.m:1648 */
/* File: ../Source/NSBitmapImageRep.m:1650 */
/* Flag: untranslated */
"JPEG Compression" = "le jdika gy. JPEG gy.";
/* File: ../Source/NSBitmapImageRep.m:1649 */
/* File: ../Source/NSBitmapImageRep.m:1651 */
/* Flag: untranslated */
"NEXT Compression" = "le jdika gy. NEXT gy.";
/* File: ../Source/NSBitmapImageRep.m:1650 */
/* File: ../Source/NSBitmapImageRep.m:1652 */
/* Flag: untranslated */
"PackBits Compression" = "le jdika gy. PackBits gy.";
/* File: ../Source/NSBitmapImageRep.m:1651 */
/* File: ../Source/NSBitmapImageRep.m:1653 */
/* Flag: untranslated */
"Old JPEG Compression" = "le jdika le clare'i gy. JPEG gy.";
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
/* Flag: untranslated */
"Opacity" = "Opacity";
@ -472,44 +472,44 @@ add comments above this one
/* Flag: untranslated */
"File wrapper is no file." = "File wrapper is no file.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
/* Flag: untranslated */
"File Error" = "le datnyvei srera";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
/* Flag: untranslated */
"Can't create backup file. Save anyways?"
= "na'e finti fe fukdat'i .i do ciska mo";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
/* Flag: untranslated */
"Not a writable type or no URL given."
= "Not a writable type or no URL given.";
/* File: ../Source/NSDocument.m:1029 */
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write file wrapper." = "Could not write file wrapper.";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
/* Flag: untranslated */
"Save As" = "ciska fi ma";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
/* Flag: untranslated */
"Save To" = "ciska fe mo";
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
/* Flag: untranslated */
"%@ has been edited. Are you sure you want to undo changes?"
= "la gy. %@ gy. cenba .i do xruti le cenba mo?";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
/* Flag: untranslated */
"Power Off" = "ganlo";
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
/* Flag: untranslated */
"Clear List" = "Clear List";
@ -634,84 +634,84 @@ add comments above this one
"Faxing of print file not implemented"
= "Faxing of print file not implemented";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
/* Flag: untranslated */
"Show Hidden Files" = "Show Hidden Files";
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
/* Flag: untranslated */
"Home" = "Home";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
/* Flag: untranslated */
"Mount" = "Mount";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:310 */
/* Flag: untranslated */
"Unmount" = "Unmount";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
/* Flag: untranslated */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "You have used the extension '.%@'.\nThe standard extension is '.%@'.'";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
/* Flag: untranslated */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "You cannot save this document with extension '.%@'.\nThe required extension is '.%@'.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
/* Flag: untranslated */
"The directory '%@' does not exist, do you want to create it?"
= "na'e zasti le datnyvei gy. %@ gy. .i do finti mo";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
/* Flag: untranslated */
"No" = "nago'i";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
/* Flag: untranslated */
"Yes" = "go'i";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
/* Flag: untranslated */
"The directory '%@' could not be created."
= "na'e finti le datnyveiste gy. %@ gy.";
/* File: ../Source/NSSavePanel.m:1394 */
/* File: ../Source/NSSavePanel.m:1397 */
/* Flag: untranslated */
"The path '%@' is not a directory." = "ne'e datnyveiste la gy. %@ gy.";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
/* Flag: untranslated */
"The file '%@' in '%@' exists. Replace it?"
= "zasti le datnyvei gy. %@ gy. la gy. %@ gy. .i do basti mo";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
/* Flag: untranslated */
"Replace" = "basti";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
/* Flag: untranslated */
"Reading Directory " = "Reading Directory ";
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
/* Flag: untranslated */
"Guess" = "Guess";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
/* Flag: untranslated */
"Cut" = "Cut";
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
/* Flag: untranslated */
"Copy" = "Copy";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
/* Flag: untranslated */
"Paste" = "Paste";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
/* Flag: untranslated */
"No Suggestions" = "No Suggestions";
@ -739,10 +739,35 @@ add comments above this one
/* Flag: untranslated */
"Print..." = "Print...";
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
/* Flag: untranslated */
"Hide Toolbar" = "Hide Toolbar";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
/* Flag: untranslated */
"Show Toolbar" = "Show Toolbar";
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";

View file

@ -1,35 +1,35 @@
/***
Polish.lproj/Localizable.strings
updated by make_strings 2015-05-28 23:57:53 +0200
updated by make_strings 2021-01-16 19:15:10 +0100
add comments above this one
***/
/*** Keys found in multiple places ***/
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "Informacje";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Zako\u0144cz";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "Anuluj";
/* File: ../Source/NSAlert.m:389 */
@ -37,38 +37,38 @@ add comments above this one
"Don't Save" = "Nie zapisuj";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "Zapisz";
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "OK";
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Odrzu\u0107";
/* File: ../Source/GSPrintOperation.m:155 */
/* File: ../Source/NSFontPanel.m:706 */
"Preview" = "Podgl\u0105d";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "Cofnij";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Kolory";
@ -82,37 +82,66 @@ add comments above this one
/* File: ../Source/NSHelpPanel.m:154 */
"Help" = "Pomoc";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "Typ pliku";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "Nazwa";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* File: ../Source/NSFontPanel.m:738 */
"Character Panel" = "Panel znak\u00f3w";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
"Could not create data for type." = "Nie mo\u017cna utworzy\u0107 danych dla danego typu.";
"Could not create data for type."
= "Nie mo\u017cna utworzy\u0107 danych dla danego typu.";
/*** Unmatched/untranslated keys ***/
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "Nie mo\u017cna za\u0142adowa\u0107 g\u0142\u00f3wnego pliku modelu '%@'";
/*** Strings from ../Source/GSCharacterPanel.m ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
"Code Point" = "Punkt kodowy";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
"Unicode Block" = "Blok Unikodu";
@ -140,13 +169,13 @@ add comments above this one
/*** Strings from ../Source/GSTextFinder.m ***/
/* File: ../Source/GSTextFinder.m:408 */
"%d replaced" = "%d zast\u0105piono";
/* File: ../Source/GSTextFinder.m:381 */
/* File: ../Source/GSTextFinder.m:332 */
/* File: ../Source/GSTextFinder.m:381 */
"Not found" = "Nie znaleziono";
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -159,22 +188,22 @@ add comments above this one
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "Ustaw jako domy\u015blny motyw";
/* File: ../Source/GSThemePanel.m:234 */
/* File: ../Source/GSThemePanel.m:193 */
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme" = "Przywr\u00f3\u0107 domy\u015blny motyw";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "Motywy";
/*** Strings from ../Source/GSToolbarView.m ***/
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
"Customize Toolbar" = "Dostosuj pasek narz\u0119dzi";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "Alert";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
"No information" = "Brak informacji";
@ -194,59 +223,60 @@ add comments above this one
"Critical Error in %@" = "B\u0142\u0105d krytyczny w %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Debuguj";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
"Hide" = "Ukryj";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problem podczas uruchamiania powiadomienia aplikacji: %@";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
"Show" = "Poka\u017c";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Nie mo\u017cna znale\u017a\u0107 backendu %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] wywo\u0142ano wi\u0119cej ni\u017c raz";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "zg\u0142oszony wyj\u0105tek - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL." = "Nie mo\u017cna za\u0142adowa\u0107 danych z adresu URL.";
/* File: ../Source/NSAttributedString.m:863 */
"Could not load data from URL."
= "Nie mo\u017cna za\u0142adowa\u0107 danych z adresu URL.";
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
"Could not load data." = "Nie mo\u017cna za\u0142adowa\u0107 danych.";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
"No data specified for data loading."
= "Nie okre\u015blono danych do za\u0142adowania.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
"No type specified for data." = "Nie zdefiniowano typu danych.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "Kompresja CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "Kompresja CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "Kompresja JPEG";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "Kompresja LZW";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "Kompresja NEXT";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "Brak kompresji";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "Stara kompresja JPEG";
"CCITTFAX3 Compression" = "Kompresja CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "Kompresja CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "Kompresja JPEG";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "Kompresja LZW";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "Kompresja NEXT";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "Brak kompresji";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "Stara kompresja JPEG";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "Kompresja PackBits";
/*** Strings from ../Source/NSColorPanel.m ***/
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
"Opacity" = "Nieprzezroczysto\u015b\u0107";
@ -272,12 +302,12 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "Plik %@ zosta\u0142 zedytowany. Jeste\u015b pewien, \u017ce chcesz cofn\u0105\u0107 zmiany?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "Plik %@ zosta\u0142 zmieniony. Zapisa\u0107?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "Nie mo\u017cna utworzy\u0107 kopii zapasowej pliku. Zapisa\u0107 mimo to?";
/* File: ../Source/NSDocument.m:483 */
@ -286,47 +316,49 @@ add comments above this one
"Could not load URL %@." = "Nie mo\u017cna otworzy\u0107 adresu %@.";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "Nie mo\u017cna otworzy\u0107 pliku %@.";
/* File: ../Source/NSDocument.m:917 */
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:957 */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
"Could not write backup file." = "Nie mo\u017cna zapisa\u0107 kopii zapasowej pliku.";
/* File: ../Source/NSDocument.m:1029 */
"Could not write backup file."
= "Nie mo\u017cna zapisa\u0107 kopii zapasowej pliku.";
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
"Could not write file wrapper." = "Nie mo\u017cna zapisa\u0107 wrappera pliku.";
/* File: ../Source/NSDocument.m:830 */
"Could not write file wrapper."
= "Nie mo\u017cna zapisa\u0107 wrappera pliku.";
/* File: ../Source/NSDocument.m:838 */
"File Error" = "B\u0142\u0105d pliku";
/* File: ../Source/NSDocument.m:751 */
/* Comment: Error description */
"File wrapper is no file." = "wrapper pliku nie jest plikiem.";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "\u0142adowanie nieudane";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
"Not a writable type or no URL given."
= "Typ nie zapisywalny albo nie podano adresu URL.";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "Zapisz jako";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Zapisz do";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "Nieznany-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
"Clear List" = "Wyczy\u015b\u0107 list\u0119";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Wy\u0142\u0105cz";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Wyjd\u017a mimo to";
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Przejrzyj niezapisane";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents" = "Masz niezapisane dokumenty";
@ -362,8 +394,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(brak)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "Dolny margines";
@ -406,9 +438,9 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:407 */
"Faxing of print file not implemented"
= "Faksowanie pliku druku niezaimplementowane";
/* File: ../Source/NSPrintPanel.m:781 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:643 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:781 */
"Manual" = "Instrukcja";
/* File: ../Source/NSPrintPanel.m:145 */
"Print Panel" = "Panel drukowana";
@ -417,60 +449,61 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
"Home" = "Katalog domowy";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
"Mount" = "Zamontuj";
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "Nazwa:";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "Nie";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Odczytywanie katalogu ";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "Zast\u0105p";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
"Show Hidden Files" = "Poka\u017c ukryte pliki";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "Katalog '%@' nie m\u00f3g\u0142 zosta\u0107 utworzony.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "Katalog '%@' nie istnieje, czy chcesz go utworzy\u0107?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "Plik '%@' w '%@' istnieje. Zast\u0105pi\u0107 go?";
/* File: ../Source/NSSavePanel.m:1394 */
"The path '%@' is not a directory." = "\u015bcie\u017cka '%@' nie jest katalogiem.";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory."
= "\u015bcie\u017cka '%@' nie jest katalogiem.";
/* File: ../Source/NSSavePanel.m:310 */
"Unmount" = "Odmontuj";
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* File: ../Source/NSSavePanel.m:1329 */
"Use .%@" = "U\u017cyj .%@";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Tak";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "Nie mo\u017cesz zapisa\u0107 tego dokumentu z rozszerzeniem '.%@'.\nWymaganym rozszerzeniem jest '.%@'.";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "U\u017cy\u0142e\u015b rozszerzenia '.%@'.\nStandardowym rozszerzeniem '.%@'.'";
/*** Strings from ../Source/NSSpellChecker.m ***/
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
"Guess" = "Guess";
/*** Strings from ../Source/NSTextView.m ***/
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
"Copy" = "Kopiuj";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
"Cut" = "Wytnij";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
"No Suggestions" = "Brak sugestii";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
"Paste" = "Wklej";
@ -490,7 +523,7 @@ add comments above this one
/*** Strings from ../Source/NSWindow.m ***/
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
"Hide Toolbar" = "Ukryj pasek zada\u0144";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
"Show Toolbar" = "Poka\u017c pasek zada\u0144";

View file

@ -1,39 +1,39 @@
/***
Spanish.lproj/Localizable.strings
updated by make_strings 2015-05-29 00:05:42 +0200
updated by make_strings 2021-01-16 20:17:49 +0100
add comments above this one
***/
/*** Keys found in multiple places ***/
/* File: ../Source/GSNibLoading.m:183 */
/* File: ../Source/GSNibLoading.m:185 */
/* Comment: Info */
/* File: ../Source/NSApplication.m:2891 */
/* File: ../Source/NSApplication.m:2947 */
/* Comment: Title of the Info Panel */
/* File: ../Source/NSMenu.m:259 */
"Info" = "Informaci\U00F3n";
/* File: ../Source/GSNibLoading.m:166 */
/* File: ../Source/GSNibLoading.m:168 */
/* Comment: Quit */
/* File: ../Source/NSApplication.m:3455 */
/* File: ../Source/NSApplication.m:4220 */
/* File: ../Source/NSDocumentController.m:1015 */
/* File: ../Source/NSApplication.m:3511 */
/* File: ../Source/NSApplication.m:4305 */
/* File: ../Source/NSDocumentController.m:1195 */
"Quit" = "Salir";
/* File: ../Source/GSCharacterPanel.m:173 */
/* File: ../Source/GSCharacterPanel.m:185 */
/* File: ../Source/NSPageLayout.m:959 */
"Name" = "Nombre";
/* File: ../Source/NSAlert.m:384 */
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocumentController.m:921 */
/* File: ../Source/NSDocumentController.m:953 */
/* File: ../Source/NSSavePanel.m:318 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSDocumentController.m:1093 */
/* File: ../Source/NSDocumentController.m:1125 */
/* File: ../Source/NSSavePanel.m:319 */
/* File: ../Source/NSSavePanel.m:1336 */
/* File: ../Source/NSSavePanel.m:1409 */
"Cancel" = "Cancelar";
/* File: ../Source/NSAlert.m:389 */
@ -41,35 +41,34 @@ add comments above this one
"Don't Save" = "No Guardar";
/* File: ../Source/NSDocument.m:485 */
/* File: ../Source/NSDocument.m:832 */
/* File: ../Source/NSDocument.m:1211 */
/* File: ../Source/NSSavePanel.m:435 */
/* File: ../Source/NSSavePanel.m:1330 */
/* File: ../Source/NSSavePanel.m:1369 */
/* File: ../Source/NSSavePanel.m:1382 */
/* File: ../Source/NSSavePanel.m:1393 */
/* File: ../Source/NSSavePanel.m:1404 */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:840 */
/* File: ../Source/NSDocument.m:1219 */
/* File: ../Source/NSSavePanel.m:433 */
/* File: ../Source/NSSavePanel.m:1333 */
/* File: ../Source/NSSavePanel.m:1372 */
/* File: ../Source/NSSavePanel.m:1385 */
/* File: ../Source/NSSavePanel.m:1396 */
/* File: ../Source/NSSavePanel.m:1407 */
"Save" = "Guardar";
/* File: ../Source/GSHelpManagerPanel.m:101 */
/* File: ../Source/NSAlert.m:1837 */
/* File: ../Source/NSAlert.m:1836 */
/* File: ../Source/NSPrintOperation.m:678 */
/* File: ../Source/NSPrintPanel.m:408 */
/* File: ../Source/NSSavePanel.m:334 */
/* File: ../Source/NSSavePanel.m:335 */
"OK" = "Bien";
/* File: ../Source/GSPrintOperation.m:157 */
/* File: ../Source/NSSavePanel.m:1384 */
/* File: ../Source/NSSavePanel.m:1395 */
/* File: ../Source/NSSavePanel.m:1387 */
/* File: ../Source/NSSavePanel.m:1398 */
"Dismiss" = "Despedir";
/* File: ../Source/NSColorPanel.m:245 */
/* File: ../Source/NSColorPanel.m:230 */
/* File: ../Source/NSToolbarItem.m:1076 */
"Colors" = "Colores";
/* File: ../Source/NSDocument.m:1686 */
/* File: ../Source/NSDocument.m:1688 */
/* File: ../Source/NSDocument.m:1694 */
/* File: ../Source/NSDocument.m:1696 */
/* File: ../Source/NSFontPanel.m:696 */
"Revert" = "Revertir";
@ -87,61 +86,81 @@ add comments above this one
/* File: ../Source/NSFontPanel.m:706 */
"Preview" = "Vista Previa";
/* File: ../Source/GSCharacterPanel.m:154 */
/* File: ../Source/GSCharacterPanel.m:166 */
/* File: ../Source/NSFontPanel.m:738 */
"Character Panel" = "Panel de Caracteres";
/* File: ../Source/NSDocument.m:1137 */
/* File: ../Source/NSDocument.m:1145 */
/* File: ../Source/NSPrintPanel.m:350 */
"File Type" = "Tipo de Archivo";
/* File: ../Source/NSAttributedString.m:1060 */
/* File: ../Source/NSAttributedString.m:1062 */
/* Comment: Error description */
/* File: ../Source/NSAttributedString.m:1083 */
/* File: ../Source/NSAttributedString.m:1085 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:646 */
/* Comment: Error description */
"Could not create data for type."
= "No se puede crear el dato para el tipo.";
/* File: ../Source/NSDocument.m:917 */
/* Comment: Error description */
/* Flag: untranslated */
/* File: ../Source/NSDocument.m:957 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write backup file." = "No se puede escribir el archivo de respaldo.";
/*** Unmatched/untranslated keys ***/
/* File: ../Source/Functions.m:106 */
/* Flag: untranslated */
"Cannot load the main storyboard file '%@'"
= "Cannot load the main storyboard file '%@'";
/* File: ../Source/NSPathControl.m:389 */
/* Flag: untranslated */
"Choose..." = "Choose...";
/* File: ../Source/NSSearchFieldCell.m:556 */
/* Flag: untranslated */
"Recent searches" = "Recent searches";
/* File: ../Source/NSSearchFieldCell.m:563 */
/* Flag: untranslated */
"Recent search item" = "Recent search item";
/* File: ../Source/NSSearchFieldCell.m:570 */
/* Flag: untranslated */
"Clear recent searches" = "Clear recent searches";
/* File: ../Source/NSSearchFieldCell.m:578 */
/* Flag: untranslated */
"No recent searches" = "No recent searches";
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:925 */
/* Comment: Error description */
/* File: ../Source/NSDocument.m:965 */
/* Comment: Error description */
"Could not write backup file."
= "No se puede escribir el archivo de respaldo.";
/* File: ../Source/NSDocument.m:751 */
/* Comment: Error description */
/* Flag: untranslated */
"File wrapper is no file." = "El wrapper no es un archivo.";
/* File: ../Source/NSDocument.m:935 */
/* File: ../Source/NSDocument.m:943 */
/* Comment: Error description */
/* Flag: untranslated */
"Not a writable type or no URL given."
= "No se ha especificado un tipo o URL.";
/* File: ../Source/NSDocument.m:1029 */
/* File: ../Source/NSDocument.m:1037 */
/* Comment: Error description */
/* Flag: untranslated */
"Could not write file wrapper." = "No se puede guardar el wrapper.";
/*** Strings from ../Source/Functions.m ***/
/* File: ../Source/Functions.m:85 */
/* File: ../Source/Functions.m:94 */
"Cannot load the main model file '%@'"
= "No se puede leer el archivo del m\U00F3delo principal '%@'";
/*** Strings from ../Source/GSCharacterPanel.m ***/
/* File: ../Source/GSCharacterPanel.m:182 */
/* File: ../Source/GSCharacterPanel.m:194 */
"Code Point" = "C\U00F3digo";
/* File: ../Source/GSCharacterPanel.m:191 */
/* File: ../Source/GSCharacterPanel.m:203 */
"Unicode Block" = "Bloque Unicode";
@ -152,8 +171,8 @@ add comments above this one
"Authors: " = "Autores: ";
/* File: ../Source/GSInfoPanel.m:396 */
"Copyright Information Not Available" = "Informaci\U00F3n no disponible";
/* File: ../Source/GSInfoPanel.m:482 */
/* File: ../Source/GSInfoPanel.m:187 */
/* File: ../Source/GSInfoPanel.m:482 */
"Current theme" = "Tema Actual";
/* File: ../Source/GSInfoPanel.m:339 */
"Release: " = "Versi\U00F3n: ";
@ -168,13 +187,13 @@ add comments above this one
/*** Strings from ../Source/GSTextFinder.m ***/
/* File: ../Source/GSTextFinder.m:408 */
"%d replaced" = "%d reemplazado(s)";
/* File: ../Source/GSTextFinder.m:381 */
/* File: ../Source/GSTextFinder.m:332 */
/* File: ../Source/GSTextFinder.m:381 */
"Not found" = "No se encontro";
/*** Strings from ../Source/GSThemeDrawing.m ***/
/* File: ../Source/GSThemeDrawing.m:188 */
/* File: ../Source/GSThemeDrawing.m:198 */
"?" = "?";
@ -184,25 +203,25 @@ add comments above this one
/*** Strings from ../Source/GSThemePanel.m ***/
/* File: ../Source/GSThemePanel.m:229 */
/* File: ../Source/GSThemePanel.m:197 */
/* File: ../Source/GSThemePanel.m:229 */
"Make this the default theme" = "Hacer este el tema por defecto";
/* File: ../Source/GSThemePanel.m:234 */
/* File: ../Source/GSThemePanel.m:193 */
/* File: ../Source/GSThemePanel.m:234 */
"Revert default theme" = "Regresar al tema por defecto";
/* File: ../Source/GSThemePanel.m:115 */
"Themes" = "Temas";
/*** Strings from ../Source/GSToolbarView.m ***/
/* File: ../Source/GSToolbarView.m:894 */
/* File: ../Source/GSToolbarView.m:896 */
"Customize Toolbar" = "Personalizar Barra de Herramientas";
/*** Strings from ../Source/NSAlert.m ***/
/* File: ../Source/NSAlert.m:2007 */
/* File: ../Source/NSAlert.m:2006 */
"Alert" = "Alerta";
/* File: ../Source/NSAlert.m:2008 */
/* File: ../Source/NSAlert.m:2007 */
"No information" = "No hay informaci\U00F3n";
@ -222,60 +241,60 @@ add comments above this one
"Critical Error in %@" = "Error Cr\U00EDtico en %@";
/* File: ../Source/NSApplication.m:141 */
"Debug" = "Depurar";
/* File: ../Source/NSApplication.m:4216 */
/* File: ../Source/NSApplication.m:4301 */
"Hide" = "Ocultar";
/* File: ../Source/NSApplication.m:1198 */
/* File: ../Source/NSApplication.m:1206 */
"Problem during launch app notification: %@"
= "Problema durante la notificaci\U00F3n de aplicaci\U00F3n iniciada: %@";
/* File: ../Source/NSApplication.m:4210 */
/* File: ../Source/NSApplication.m:4295 */
"Show" = "Mostrar";
/* File: ../Source/NSApplication.m:304 */
"Unable to find backend %@" = "Incapaz de encontrar el backend %@";
/* File: ../Source/NSApplication.m:972 */
/* File: ../Source/NSApplication.m:980 */
"[NSApplication -init] called more than once"
= "[NSApplication -init] llamada m\U00E1s de una vez";
/* File: ../Source/NSApplication.m:3328 */
/* File: ../Source/NSApplication.m:3384 */
"reported exception - %@" = "excepci\U00F3n reportada - %@";
/*** Strings from ../Source/NSAttributedString.m ***/
/* File: ../Source/NSAttributedString.m:927 */
/* File: ../Source/NSAttributedString.m:929 */
/* Comment: Error description */
"Could not load data from URL."
= "No se pueden leer los datos desde la URL.";
/* File: ../Source/NSAttributedString.m:863 */
/* File: ../Source/NSAttributedString.m:865 */
/* Comment: Error description */
"Could not load data." = "No se pueden leer los datos.";
/* File: ../Source/NSAttributedString.m:762 */
/* File: ../Source/NSAttributedString.m:764 */
/* Comment: Error description */
"No data specified for data loading."
= "No hay datos especificados en la informaci\U00F3n le\U00EDda.";
/* File: ../Source/NSAttributedString.m:1033 */
/* File: ../Source/NSAttributedString.m:1035 */
/* Comment: Error description */
"No type specified for data." = "No hay un tipo especificado para el dato.";
/*** Strings from ../Source/NSBitmapImageRep.m ***/
/* File: ../Source/NSBitmapImageRep.m:1645 */
"CCITTFAX3 Compression" = "Compresi\U00F3n CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"CCITTFAX4 Compression" = "Compresi\U00F3n CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"JPEG Compression" = "Compresi\U00F3n JPEG";
/* File: ../Source/NSBitmapImageRep.m:1647 */
"LZW Compression" = "Compresi\U00F3n LZW";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"NEXT Compression" = "Compresi\U00F3n NEXT";
/* File: ../Source/NSBitmapImageRep.m:1644 */
"No Compression" = "Sin Compresi\U00F3n";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"Old JPEG Compression" = "Antigua Compresi\U00F3n JPEG";
"CCITTFAX3 Compression" = "Compresi\U00F3n CCITTFAX3";
/* File: ../Source/NSBitmapImageRep.m:1648 */
"CCITTFAX4 Compression" = "Compresi\U00F3n CCITTFAX4";
/* File: ../Source/NSBitmapImageRep.m:1650 */
"JPEG Compression" = "Compresi\U00F3n JPEG";
/* File: ../Source/NSBitmapImageRep.m:1649 */
"LZW Compression" = "Compresi\U00F3n LZW";
/* File: ../Source/NSBitmapImageRep.m:1651 */
"NEXT Compression" = "Compresi\U00F3n NEXT";
/* File: ../Source/NSBitmapImageRep.m:1646 */
"No Compression" = "Sin Compresi\U00F3n";
/* File: ../Source/NSBitmapImageRep.m:1653 */
"Old JPEG Compression" = "Antigua Compresi\U00F3n JPEG";
/* File: ../Source/NSBitmapImageRep.m:1652 */
"PackBits Compression" = "Compresi\U00F3n PackBits";
/*** Strings from ../Source/NSColorPanel.m ***/
/* File: ../Source/NSColorPanel.m:309 */
/* File: ../Source/NSColorPanel.m:294 */
"Opacity" = "Opacidad";
@ -301,12 +320,12 @@ add comments above this one
/*** Strings from ../Source/NSDocument.m ***/
/* File: ../Source/NSDocument.m:1687 */
/* File: ../Source/NSDocument.m:1695 */
"%@ has been edited. Are you sure you want to undo changes?"
= "%@ ha sido editado. \U00BFEsta seguro de querer revertir los cambios?";
/* File: ../Source/NSDocument.m:484 */
"%@ has changed. Save?" = "%@ ha cambiado. \U00BFGuardar?";
/* File: ../Source/NSDocument.m:831 */
/* File: ../Source/NSDocument.m:839 */
"Can't create backup file. Save anyways?"
= "No se puede crear el archivo de respaldo. \U00BFGuardar de cualquier forma?";
/* File: ../Source/NSDocument.m:483 */
@ -315,32 +334,32 @@ add comments above this one
"Could not load URL %@." = "No se puede leer la URL %@.";
/* File: ../Source/NSDocument.m:130 */
"Could not load file %@." = "No se puede leer el archivo %@.";
/* File: ../Source/NSDocument.m:830 */
/* File: ../Source/NSDocument.m:838 */
"File Error" = "Error de Archivo";
/* File: ../Source/NSDocument.m:152 */
/* File: ../Source/NSDocument.m:129 */
/* File: ../Source/NSDocument.m:152 */
"Load failed" = "Lectura fallida";
/* File: ../Source/NSDocument.m:1207 */
/* File: ../Source/NSDocument.m:1215 */
"Save As" = "Guardar Como";
/* File: ../Source/NSDocument.m:1208 */
/* File: ../Source/NSDocument.m:1216 */
"Save To" = "Guardar Para";
/* File: ../Source/NSDocument.m:580 */
"Untitled-%d" = "Sin nombre-%d";
/*** Strings from ../Source/NSDocumentController.m ***/
/* File: ../Source/NSDocumentController.m:1671 */
/* File: ../Source/NSDocumentController.m:1852 */
"Clear List" = "Limpiar Lista";
/* File: ../Source/NSDocumentController.m:1022 */
/* File: ../Source/NSDocumentController.m:1202 */
"Power Off" = "Desconectar";
/* File: ../Source/NSDocumentController.m:974 */
/* File: ../Source/NSDocumentController.m:932 */
/* File: ../Source/NSDocumentController.m:1104 */
/* File: ../Source/NSDocumentController.m:1146 */
"Quit Anyway" = "Salir de Cualquier Forma";
/* File: ../Source/NSDocumentController.m:972 */
/* File: ../Source/NSDocumentController.m:930 */
/* File: ../Source/NSDocumentController.m:1102 */
/* File: ../Source/NSDocumentController.m:1144 */
"Review Unsaved" = "Revisi\U00F3n sin Guardar";
/* File: ../Source/NSDocumentController.m:979 */
/* File: ../Source/NSDocumentController.m:929 */
/* File: ../Source/NSDocumentController.m:1101 */
/* File: ../Source/NSDocumentController.m:1151 */
"You have unsaved documents" = "Usted tiene documentos sin guardar";
@ -376,8 +395,8 @@ add comments above this one
/*** Strings from ../Source/NSPageLayout.m ***/
/* File: ../Source/NSPageLayout.m:741 */
/* File: ../Source/NSPageLayout.m:739 */
/* File: ../Source/NSPageLayout.m:741 */
"(none)" = "(ninguno)";
/* File: ../Source/NSPageLayout.m:964 */
"Bottom Margin" = "Margen Inferior";
@ -420,9 +439,9 @@ add comments above this one
/* File: ../Source/NSPrintPanel.m:407 */
"Faxing of print file not implemented"
= "El faxeo de archivos no esta implementado";
/* File: ../Source/NSPrintPanel.m:781 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:643 */
/* File: ../Source/NSPrintPanel.m:774 */
/* File: ../Source/NSPrintPanel.m:781 */
"Manual" = "Manual";
/* File: ../Source/NSPrintPanel.m:145 */
"Print Panel" = "Panel de Impresi\U00F3n";
@ -431,60 +450,60 @@ add comments above this one
/*** Strings from ../Source/NSSavePanel.m ***/
/* File: ../Source/NSSavePanel.m:277 */
/* File: ../Source/NSSavePanel.m:278 */
"Home" = "Carpeta Personal";
/* File: ../Source/NSSavePanel.m:293 */
/* File: ../Source/NSSavePanel.m:294 */
"Mount" = "Montar";
/* File: ../Source/NSSavePanel.m:251 */
/* File: ../Source/NSSavePanel.m:434 */
/* File: ../Source/NSSavePanel.m:252 */
/* File: ../Source/NSSavePanel.m:432 */
"Name:" = "Nombre:";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"No" = "No";
/* File: ../Source/NSSavePanel.m:1797 */
/* File: ../Source/NSSavePanel.m:1799 */
"Reading Directory " = "Leyendo Directorio ";
/* File: ../Source/NSSavePanel.m:1406 */
/* File: ../Source/NSSavePanel.m:1409 */
"Replace" = "Remplazar";
/* File: ../Source/NSSavePanel.m:242 */
/* File: ../Source/NSSavePanel.m:243 */
"Show Hidden Files" = "Mostrar archivos ocultos";
/* File: ../Source/NSSavePanel.m:1383 */
/* File: ../Source/NSSavePanel.m:1386 */
"The directory '%@' could not be created."
= "El directorio '%@' no se pudo crear.";
/* File: ../Source/NSSavePanel.m:1370 */
/* File: ../Source/NSSavePanel.m:1373 */
"The directory '%@' does not exist, do you want to create it?"
= "El directorio '%@' no existe, \U00BFquiere crearlo?";
/* File: ../Source/NSSavePanel.m:1405 */
/* File: ../Source/NSSavePanel.m:1408 */
"The file '%@' in '%@' exists. Replace it?"
= "El archivo '%@' en '%@' existe. \U00BFRemplazarlo?";
/* File: ../Source/NSSavePanel.m:1394 */
/* File: ../Source/NSSavePanel.m:1397 */
"The path '%@' is not a directory." = "La ruta '%@' no es un directorio.";
/* File: ../Source/NSSavePanel.m:309 */
/* File: ../Source/NSSavePanel.m:310 */
"Unmount" = "Desmontar";
/* File: ../Source/NSSavePanel.m:1326 */
/* File: ../Source/NSSavePanel.m:1318 */
/* File: ../Source/NSSavePanel.m:1321 */
/* File: ../Source/NSSavePanel.m:1329 */
"Use .%@" = "Usar .%@";
/* File: ../Source/NSSavePanel.m:1371 */
/* File: ../Source/NSSavePanel.m:1374 */
"Yes" = "Si";
/* File: ../Source/NSSavePanel.m:1325 */
/* File: ../Source/NSSavePanel.m:1328 */
"You cannot save this document with extension '.%@'.\nThe required extension is '.%@'."
= "Usted no puede guardar este documento con la extensi\U00F3n '.%@'.\nLa extensi\U00F3n requerida es '.%@'.";
/* File: ../Source/NSSavePanel.m:1317 */
/* File: ../Source/NSSavePanel.m:1320 */
"You have used the extension '.%@'.\nThe standard extension is '.%@'.'"
= "Usted ha puesto la extensi\U00F3n '.%@'.\nLa extensi\U00F3n esperada es '.%@'.'";
/*** Strings from ../Source/NSSpellChecker.m ***/
/* File: ../Source/NSSpellChecker.m:731 */
/* File: ../Source/NSSpellChecker.m:756 */
"Guess" = "Sugerencias";
/*** Strings from ../Source/NSTextView.m ***/
/* File: ../Source/NSTextView.m:652 */
/* File: ../Source/NSTextView.m:660 */
"Copy" = "Copiar";
/* File: ../Source/NSTextView.m:651 */
/* File: ../Source/NSTextView.m:659 */
"Cut" = "Cortar";
/* File: ../Source/NSTextView.m:5904 */
/* File: ../Source/NSTextView.m:5893 */
"No Suggestions" = "No hay sugerencias";
/* File: ../Source/NSTextView.m:653 */
/* File: ../Source/NSTextView.m:661 */
"Paste" = "Pegar";
@ -504,7 +523,7 @@ add comments above this one
/*** Strings from ../Source/NSWindow.m ***/
/* File: ../Source/NSWindow.m:5322 */
/* File: ../Source/NSWindow.m:5637 */
"Hide Toolbar" = "Ocultar Barra";
/* File: ../Source/NSWindow.m:5324 */
/* File: ../Source/NSWindow.m:5641 */
"Show Toolbar" = "Mostrar Barra";

View file

@ -44,9 +44,18 @@
#import "AppKit/NSView.h"
#import "AppKit/NSWindow.h"
#import "AppKit/DPSOperators.h"
#import "AppKit/NSStoryboard.h"
char **NSArgv = NULL;
@interface NSStoryboard (Private)
+ (void) _setMainStoryboard: (NSStoryboard *)storyboard;
- (void) _instantiateApplicationScene;
@end
/*
* Main initialization routine for the GNUstep GUI Library Apps
*/
@ -85,6 +94,29 @@ NSApplicationMain(int argc, const char **argv)
NSLog (_(@"Cannot load the main model file '%@'"), mainModelFile);
}
}
else
{
mainModelFile = [infoDict objectForKey: @"NSMainStoryboardFile"];
if (mainModelFile != nil && [mainModelFile isEqual: @""] == NO)
{
NSStoryboard *storyboard = [NSStoryboard storyboardWithName: mainModelFile
bundle: [NSBundle mainBundle]];
if (storyboard == nil)
{
NSLog (_(@"Cannot load the main storyboard file '%@'"), mainModelFile);
}
else
{
[NSStoryboard _setMainStoryboard: storyboard];
[storyboard _instantiateApplicationScene];
[storyboard instantiateInitialController];
}
}
else
{
NSLog(@"Storyboard is blank or nil, unable to load.");
}
}
RECREATE_AUTORELEASE_POOL(pool);

View file

@ -45,6 +45,9 @@ libgnustep-gui_C_FILES =
# The Objective-C source files to be compiled
libgnustep-gui_OBJC_FILES = Functions.m \
NSAccessibility.m \
NSAccessibilityCustomAction.m \
NSAccessibilityCustomRotor.m \
NSAccessibilityElement.m \
NSActionCell.m \
NSAffineTransform.m \
NSAlert.m \
@ -105,6 +108,7 @@ NSEPSImageRep.m \
NSEvent.m \
NSFileWrapperExtensions.m \
NSFont.m \
NSFontAssetRequest.m \
NSFontCollection.m \
NSFontDescriptor.m \
NSFontManager.m \
@ -114,13 +118,22 @@ NSFormCell.m \
NSGroupTouchBarItem.m \
NSMagnificationGestureRecognizer.m \
NSPanGestureRecognizer.m \
NSPathCell.m \
NSPathComponentCell.m \
NSPathControl.m \
NSPathControlItem.m \
NSPickerTouchBarItem.m \
NSPopoverTouchBarItem.m \
NSPressGestureRecognizer.m \
NSRotationGestureRecognizer.m \
NSSharingServicePickerTouchBarItem.m \
NSSlider.m \
NSSliderCell.m \
NSSliderAccessory.m \
NSSliderTouchBarItem.m \
NSStepperTouchBarItem.m \
NSSwitch.m \
NSTitlebarAccessoryViewController.m \
NSTouch.m \
NSTouchBar.m \
NSTouchBarItem.m \
@ -139,18 +152,24 @@ NSInputManager.m \
NSInputServer.m \
NSInterfaceStyle.m \
NSKeyValueBinding.m \
NSLayoutAnchor.m \
NSLayoutConstraint.m \
NSLayoutGuide.m \
NSLayoutManager.m \
NSLevelIndicator.m \
NSLevelIndicatorCell.m \
NSMagnificationGestureRecognizer.m \
NSMediaLibraryBrowserController.m \
NSPanGestureRecognizer.m \
NSPickerTouchBarItem.m \
NSPopoverTouchBarItem.m \
NSPressGestureRecognizer.m \
NSRotationGestureRecognizer.m \
NSSharingServicePickerToolbarItem.m \
NSSharingServicePickerTouchBarItem.m \
NSSliderTouchBarItem.m \
NSStepperTouchBarItem.m \
NSStoryboard.m \
NSStoryboardSegue.m \
NSMagnificationGestureRecognizer.m \
NSMatrix.m \
NSMenu.m \
@ -172,6 +191,7 @@ NSOpenGLPixelFormat.m \
NSOpenGLView.m \
NSOpenPanel.m \
NSOutlineView.m \
NSPageController.m \
NSPageLayout.m \
NSPanel.m \
NSPanGestureRecognizer.m \
@ -182,6 +202,7 @@ NSPasteboardItem.m \
NSPDFInfo.m \
NSPDFImageRep.m \
NSPDFPanel.m \
NSPersistentDocument.m \
NSPICTImageRep.m \
NSPopover.m \
NSPopUpButton.m \
@ -208,26 +229,30 @@ NSSegmentedControl.m \
NSScreen.m \
NSScroller.m \
NSScrollView.m \
NSScrubber.m \
NSScrubberItemView.m \
NSScrubberLayout.m \
NSSecureTextField.m \
NSSelection.m \
NSShadow.m \
NSSharingService.m \
NSSharingServicePickerTouchBarItem.m \
NSSliderTouchBarItem.m \
NSSlider.m \
NSSliderCell.m \
NSSound.m \
NSSpeechRecognizer.m \
NSSpeechSynthesizer.m \
NSStepperTouchBarItem.m \
NSSpellChecker.m \
NSSplitView.m \
NSSplitViewController.m \
NSSplitViewItem.m \
NSStepper.m \
NSStepperCell.m \
NSStringDrawing.m \
NSStatusBar.m \
NSStatusBarButton.m \
NSStatusItem.m \
NSTabView.m \
NSTabViewController.m \
NSTabViewItem.m \
NSTableColumn.m \
NSTableHeaderView.m \
@ -238,8 +263,11 @@ NSTextAlternatives.m \
NSTextAttachment.m \
NSTextBlock.m \
NSTextContainer.m \
NSTextCheckingController.m \
NSTextField.m \
NSTextFieldCell.m \
NSTextFinder.m \
NSTextInputContext.m \
NSTextList.m \
NSTextStorage.m \
NSTextTable.m \
@ -255,6 +283,8 @@ NSTrackingArea.m \
NSTreeController.m \
NSTreeNode.m \
NSUserDefaultsController.m \
NSUserInterfaceCompression.m \
NSUserInterfaceItemSearching.m \
NSView.m \
NSViewController.m \
NSVisualEffectView.m \
@ -304,6 +334,7 @@ GSToolTips.m \
GSToolbarView.m \
GSToolbarCustomizationPalette.m \
GSStandardWindowDecorationView.m \
GSStoryboardTransform.m \
GSWindowDecorationView.m \
GSPrinting.m \
GSPrintOperation.m \
@ -339,9 +370,14 @@ Cocoa.h
APPKIT_HEADERS = \
AppKit.h \
AppKitDefines.h \
AppKitErrors.h \
AppKitExceptions.h \
NSAccessibility.h \
NSAccessibilityConstants.h \
NSAccessibilityCustomAction.h \
NSAccessibilityCustomRotor.h \
NSAccessibilityElement.h \
NSAccessibilityProtocols.h \
NSActionCell.h \
NSAffineTransform.h \
NSAlert.h \
@ -397,6 +433,7 @@ NSEvent.h \
NSFileWrapper.h \
NSFileWrapperExtensions.h \
NSFont.h \
NSFontAssetRequest.h \
NSFontCollection.h \
NSFontDescriptor.h \
NSFontManager.h \
@ -418,11 +455,15 @@ NSInputManager.h \
NSInputServer.h \
NSInterfaceStyle.h \
NSKeyValueBinding.h \
NSLayoutAnchor.h \
NSLayoutConstraint.h \
NSLayoutGuide.h \
NSLayoutManager.h \
NSLevelIndicator.h \
NSLevelIndicatorCell.h \
NSMagnificationGestureRecognizer.h \
NSMatrix.h \
NSMediaLibraryBrowserController.h \
NSMenu.h \
NSMenuItem.h \
NSMenuItemCell.h \
@ -434,15 +475,21 @@ NSOpenPanel.h \
NSOpenGL.h \
NSOpenGLView.h \
NSOutlineView.h \
NSPageController.h \
NSPageLayout.h \
NSPanel.h \
NSPanGestureRecognizer.h \
NSPathCell.h \
NSPathComponentCell.h \
NSPathControl.h \
NSPathControlItem.h \
NSParagraphStyle.h \
NSPasteboard.h \
NSPasteboardItem.h \
NSPDFInfo.h \
NSPDFImageRep.h \
NSPDFPanel.h \
NSPersistentDocument.h \
NSPICTImageRep.h \
NSPickerTouchBarItem.h \
NSPopoverTouchBarItem.h \
@ -467,6 +514,9 @@ NSSavePanel.h \
NSScreen.h \
NSScrollView.h \
NSScroller.h \
NSScrubber.h \
NSScrubberItemView.h \
NSScrubberLayout.h \
NSSearchField.h \
NSSearchFieldCell.h \
NSSecureTextField.h \
@ -475,9 +525,11 @@ NSSegmentedControl.h \
NSSelection.h \
NSShadow.h \
NSSharingService.h \
NSSharingServicePickerToolbarItem.h \
NSSharingServicePickerTouchBarItem.h \
NSSlider.h \
NSSliderCell.h \
NSSliderAccessory.h \
NSSliderTouchBarItem.h \
NSSound.h \
NSSpeechRecognizer.h \
@ -485,13 +537,21 @@ NSSpeechSynthesizer.h \
NSSpellChecker.h \
NSSpellServer.h \
NSSplitView.h \
NSSplitViewController.h \
NSSplitViewItem.h \
NSStepper.h \
NSStepperCell.h \
NSStepperTouchBarItem.h \
NSStoryboard.h \
NSStoryboardSegue.h \
NSSeguePerforming.h \
NSStringDrawing.h \
NSStatusBar.h \
NSStatusBarButton.h \
NSStatusItem.h \
NSSwitch.h \
NSTabView.h \
NSTabViewController.h \
NSTabViewItem.h \
NSTableColumn.h \
NSTableHeaderCell.h \
@ -501,12 +561,18 @@ NSText.h \
NSTextAlternatives.h \
NSTextAttachment.h \
NSTextContainer.h \
NSTextCheckingClient.h \
NSTextCheckingController.h \
NSTextField.h \
NSTextFieldCell.h \
NSTextFinder.h \
NSTextInputClient.h \
NSTextInputContext.h \
NSTextList.h \
NSTextStorage.h \
NSTextTable.h \
NSTextView.h \
NSTitlebarAccessoryViewController.h \
NSToolbar.h \
NSToolbarItem.h \
NSToolbarItemGroup.h \
@ -525,6 +591,7 @@ NSViewController.h \
NSVisualEffectView.h \
NSWindow.h \
NSWindowController.h \
NSWindowRestoration.h \
NSWorkspace.h \
NSAttributedString.h \
NSColorPicking.h \
@ -537,6 +604,8 @@ NSNibDeclarations.h \
NSNibLoading.h \
NSNib.h \
NSSpellProtocol.h \
NSUserInterfaceCompression.h \
NSUserInterfaceItemSearching.h \
NSUserInterfaceItemIdentification.h \
NSUserInterfaceValidation.h \
DPSOperators.h \

View file

@ -55,6 +55,18 @@
#include <unicode/uchar.h>
#include <unicode/ustring.h>
/*
* Define TRUE/FALSE to be used with UBool parameters, as these are no longer
* defined in ICU as of ICU 68.
*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
@interface GSVerticallyCenteredTextFieldCell : NSTextFieldCell
{
}

View file

@ -31,6 +31,7 @@
#define _GNUstep_H_GSGuiPrivate
#import <Foundation/NSBundle.h>
#import <Foundation/NSCoder.h>
#include "GNUstepBase/GSConfig.h"
#include <math.h>
@ -103,5 +104,24 @@ static inline CGFloat GSRoundTowardsNegativeInfinity(CGFloat x)
return ceil(x - 0.5);
}
#if !defined(GS_DECODER)
#define GS_DECODER(type) \
static inline void decode_##type(NSCoder *coder, type *value) \
{ \
[coder decodeValueOfObjCType: @encode(type) at: value]; \
}
#define GS_ENCODER(type) \
static inline void encode_##type(NSCoder *coder, type *value) \
{ \
[coder encodeValueOfObjCType: @encode(type) at: value]; \
}
#endif
GS_ENCODER(NSUInteger)
GS_DECODER(NSUInteger)
GS_ENCODER(NSInteger)
GS_DECODER(NSInteger)
#endif /* _GNUstep_H_GSGuiPrivate */

View file

@ -537,10 +537,22 @@ For bigger values the width gets ignored.
NSDictionary *typingAttributes = [curLayoutManager typingAttributes];
curParagraphStyle = [typingAttributes
objectForKey: NSParagraphStyleAttributeName];
if (curParagraphStyle == nil)
{
curParagraphStyle = [NSParagraphStyle defaultParagraphStyle];
}
curFont = [typingAttributes objectForKey: NSFontAttributeName];
}
line_height = [curFont defaultLineHeightForFont];
if (curFont)
{
line_height = [curFont defaultLineHeightForFont];
}
else
{
line_height = 15.0;
}
r = [self _getProposedRectFor: YES
withLineHeight: line_height];
r = [curTextContainer lineFragmentRectForProposedRect: r
@ -858,6 +870,11 @@ restart: ;
*/
NSArray *tabs = [curParagraphStyle tabStops];
NSTextTab *tab = nil;
CGFloat defaultInterval = [curParagraphStyle defaultTabInterval];
/* Set it to something reasonable if unset */
if (defaultInterval == 0.0) {
defaultInterval = 100.0;
}
int i, c = [tabs count];
/* Find first tab beyond our current position. */
for (i = 0; i < c; i++)
@ -872,16 +889,17 @@ restart: ;
tab, thus having no effect.
*/
if ([tab location] > p.x + lf->rect.origin.x)
break;
{
break;
}
}
if (i == c)
{
/* TODO: we're already past all the tab stops. what
should we do?
Pretend that we have tabs every 100 points.
/*
Tabs after the last value in tabStops should use the
defaultTabInterval provided by NSParagraphStyle.
*/
p.x = (floor(p.x / 100.0) + 1.0) * 100.0;
p.x = (floor(p.x / defaultInterval) + 1.0) * defaultInterval;
}
else
{

View file

@ -1134,16 +1134,16 @@ Fills in all glyph holes up to last. only looking at levels below level
*actualCharRange = charRange;
return NSMakeRange(0, 0);
}
target = charRange.location;
pos = NSMaxRange(charRange) - 1;
[self _generateGlyphsUpToCharacter: pos];
if (glyphs->char_length <= pos)
if (glyphs->char_length <= pos || glyphs->char_length <= target)
{
if (actualCharRange)
*actualCharRange = NSMakeRange([[_textStorage string] length], 0);
return NSMakeRange([self numberOfGlyphs], 0);
}
target = charRange.location;
r = [self _glyphForCharacter: target
index: &i
positions: &pos : &cpos];

View file

@ -0,0 +1,121 @@
/* Interface of class GSStoryboardTransform
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Sat 04 Jul 2020 03:48:15 PM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#ifndef _GSStoryboardTransform_h_GNUSTEP_GUI_INCLUDE
#define _GSStoryboardTransform_h_GNUSTEP_GUI_INCLUDE
#import <Foundation/NSObject.h>
@class NSString;
@class NSMutableDictionary;
@class NSDictionary;
@class NSData;
@class NSMapTable;
@class NSXMLDocument;
#if defined(__cplusplus)
extern "C" {
#endif
@interface GSStoryboardTransform : NSObject
{
NSMutableDictionary *_scenesMap;
NSMutableDictionary *_controllerMap;
NSMutableDictionary *_identifierToSegueMap;
NSString *_initialViewControllerId;
NSString *_applicationSceneId;
}
- (instancetype) initWithData: (NSData *)data;
- (NSString *) initialViewControllerId;
- (NSString *) applicationSceneId;
- (NSData *) dataForIdentifier: (NSString *)identifier;
- (NSMapTable *) segueMapForIdentifier: (NSString *)identifier;
- (void) processStoryboard: (NSXMLDocument *)storyboardXml;
- (void) processSegues: (NSXMLDocument *)xml
forControllerId: (NSString *)identifier;
@end
// Private classes used when parsing the XIB generated by the transformer...
@interface NSStoryboardSeguePerformAction : NSObject <NSCoding, NSCopying>
{
id _target;
SEL _action;
id _sender;
NSString *_identifier;
NSString *_kind;
id _popoverAnchorView;
NSStoryboardSegue *_storyboardSegue;
NSStoryboard *_storyboard;
}
- (id) target;
- (void) setTarget: (id)target;
- (NSString *) selector;
- (void) setSelector: (NSString *)s;
- (SEL) action;
- (void) setAction: (SEL)action;
- (id) sender;
- (void) setSender: (id)sender;
- (NSString *) identifier;
- (void) setIdentifier: (NSString *)identifier;
- (NSString *) kind;
- (void) setKind: (NSString *)kind;
- (void) setPopoverAnchorView: (id)view;
- (id) popoverAnchorView;
- (NSStoryboard *) storyboard;
- (void) setStoryboard: (NSStoryboard *)storyboard;
- (NSStoryboardSegue *) storyboardSegue;
- (void) setStoryboardSegue: (NSStoryboardSegue *)ss;
- (IBAction) doAction: (id)sender;
@end
@interface NSControllerPlaceholder : NSObject <NSCoding, NSCopying>
{
NSString *_storyboardName;
}
- (NSString *) storyboardName;
- (void) setStoryboardName: (NSString *)name;
- (id) instantiate;
@end
#if defined(__cplusplus)
}
#endif
#endif /* _GSStoryboardTransform_h_GNUSTEP_GUI_INCLUDE */

View file

@ -0,0 +1,888 @@
/* Implementation of class GSStoryboardTransform
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Sat 04 Jul 2020 03:48:15 PM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <Foundation/NSMapTable.h>
#import <Foundation/NSXMLDocument.h>
#import <Foundation/NSXMLNode.h>
#import <Foundation/NSXMLElement.h>
#import <Foundation/NSUUID.h>
#import <Foundation/NSBundle.h>
#import <Foundation/NSKeyedArchiver.h>
#import <Foundation/NSException.h>
#import "AppKit/NSSeguePerforming.h"
#import "AppKit/NSStoryboard.h"
#import "AppKit/NSStoryboardSegue.h"
#import "AppKit/NSNibDeclarations.h"
#import "AppKit/NSViewController.h"
#import "AppKit/NSWindowController.h"
#import "GSStoryboardTransform.h"
#import "GSFastEnumeration.h"
#define APPLICATION @"application"
@interface NSStoryboardSegue (__private__)
- (void) _setDestinationController: (id)controller;
- (void) _setSourceController: (id)controller;
@end
@interface NSStoryboardSegue (__StoryboardPrivate__)
// Private to this class...
- (void) _setKind: (NSString *)k;
- (NSString *) _kind;
- (void) _setRelationship: (NSString *)r;
- (NSString *) _relationship;
- (void) _setPopoverAnchorView: (id)view;
- (id) _popoverAnchorView;
- (void) _setPopoverBehavior: (NSPopoverBehavior)behavior;
- (NSPopoverBehavior) _popoverBehavior;
- (void) _setPreferredEdge: (NSRectEdge)edge;
- (NSRectEdge) _preferredEdge;
@end
// this needs to be set on segues
@implementation NSStoryboardSegue (__StoryboardPrivate__)
- (void) _setKind: (NSString *)k
{
ASSIGN(_kind, k);
}
- (NSString *) _kind
{
return _kind;
}
- (void) _setRelationship: (NSString *)r
{
ASSIGN(_relationship, r);
}
- (NSString *) _relationship
{
return _relationship;
}
- (void) _setPopoverAnchorView: (id)view
{
ASSIGN(_popoverAnchorView, view);
}
- (id) _popoverAnchorView
{
return _popoverAnchorView;
}
- (void) _setPopoverBehavior: (NSPopoverBehavior)behavior
{
_popoverBehavior = behavior;
}
- (NSPopoverBehavior) _popoverBehavior
{
return _popoverBehavior;
}
- (void) _setPreferredEdge: (NSRectEdge)edge
{
_preferredEdge = edge;
}
- (NSRectEdge) _preferredEdge
{
return _preferredEdge;
}
@end
@implementation NSStoryboardSeguePerformAction
- (id) target
{
return _target;
}
- (void) setTarget: (id)target
{
ASSIGN(_target, target);
}
- (SEL) action
{
return _action;
}
- (void) setAction: (SEL)action
{
_action = action;
}
- (NSString *) selector
{
return NSStringFromSelector(_action);
}
- (void) setSelector: (NSString *)s
{
_action = NSSelectorFromString(s);
}
- (id) sender
{
return _sender;
}
- (void) setSender: (id)sender
{
ASSIGN(_sender, sender);
}
- (NSString *) identifier
{
return _identifier;
}
- (void) setIdentifier: (NSString *)identifier
{
ASSIGN(_identifier, identifier);
}
- (NSString *) kind
{
return _kind;
}
- (void) setKind: (NSString *)kind
{
ASSIGN(_kind, kind);
}
- (void) setPopoverAnchorView: (id)view
{
ASSIGN(_popoverAnchorView, view);
}
- (id) popoverAnchorView
{
return _popoverAnchorView;
}
- (NSStoryboard *) storyboard
{
return _storyboard;
}
- (void) setStoryboard: (NSStoryboard *)storyboard
{
ASSIGN(_storyboard, storyboard);
}
- (NSStoryboardSegue *) storyboardSegue
{
return _storyboardSegue;
}
- (void) setStoryboardSegue: (NSStoryboardSegue *)ss
{
ASSIGN(_storyboardSegue, ss);
}
- (void) dealloc
{
RELEASE(_storyboard);
RELEASE(_kind);
RELEASE(_identifier);
RELEASE(_popoverAnchorView);
RELEASE(_sender);
RELEASE(_storyboardSegue);
[super dealloc];
}
- (IBAction) doAction: (id)sender
{
BOOL should = YES;
// If the instance we are testing is a controller, then the value of should is set by this method....
// if it is not, as it is possible to initiate a segue from an NSMenuItem, then we don't, but should
// remains set to YES so that the logic to replace the destination controller is still called.
if ([_sender respondsToSelector: @selector(shouldPerformSegueWithIdentifier:sender:)])
{
should = [_sender shouldPerformSegueWithIdentifier: _identifier
sender: _sender];
}
if (should)
{
id destCon = [_storyboardSegue destinationController];
if ([destCon isKindOfClass: [NSString class]])
{
// resolve the destination controller
destCon = [_storyboard instantiateControllerWithIdentifier: destCon];
[_storyboardSegue _setDestinationController: destCon]; // replace with actual controller...
}
[_storyboardSegue _setSourceController: _sender];
if (_sender != nil &&
[_sender respondsToSelector: @selector(performSegueWithIdentifier:sender:)])
{
[_sender performSegueWithIdentifier: _identifier
sender: _sender];
}
else
{
[_storyboardSegue perform];
}
}
}
- (id) copyWithZone: (NSZone *)z
{
NSStoryboardSeguePerformAction *pa = [[NSStoryboardSeguePerformAction allocWithZone: z] init];
[pa setTarget: _target];
[pa setSelector: [self selector]];
[pa setSender: _sender];
[pa setIdentifier: _identifier];
[pa setPopoverAnchorView: _popoverAnchorView];
[pa setStoryboardSegue: _storyboardSegue];
[pa setStoryboard: _storyboard];
return pa;
}
- (instancetype) initWithCoder: (NSCoder *)coder
{
self = [super init];
if ([coder allowsKeyedCoding])
{
if ([coder containsValueForKey: @"NSTarget"])
{
[self setTarget: [coder decodeObjectForKey: @"NSTarget"]];
}
if ([coder containsValueForKey: @"NSSelector"])
{
[self setSelector: [coder decodeObjectForKey: @"NSSelector"]];
}
if ([coder containsValueForKey: @"NSSender"])
{
[self setSender: [coder decodeObjectForKey: @"NSSender"]];
}
if ([coder containsValueForKey: @"NSIdentifier"])
{
[self setIdentifier: [coder decodeObjectForKey: @"NSIdentifier"]];
}
if ([coder containsValueForKey: @"NSKind"])
{
[self setKind: [coder decodeObjectForKey: @"NSKind"]];
}
if ([coder containsValueForKey: @"NSPopoverAnchorView"])
{
[self setPopoverAnchorView: [coder decodeObjectForKey: @"NSPopoverAnchorView"]];
}
}
return self;
}
- (void) encodeWithCoder: (NSCoder *)coder
{
// this is never encoded directly...
}
@end
@implementation NSControllerPlaceholder
- (NSString *) storyboardName
{
return _storyboardName;
}
- (void) setStoryboardName: (NSString *)name
{
ASSIGNCOPY(_storyboardName, name);
}
- (id) copyWithZone: (NSZone *)z
{
NSControllerPlaceholder *c = [[NSControllerPlaceholder allocWithZone: z] init];
[c setStoryboardName: _storyboardName];
return c;
}
- (instancetype) initWithCoder: (NSCoder *)coder
{
self = [super init];
if ([coder allowsKeyedCoding])
{
if ([coder containsValueForKey: @"NSStoryboardName"])
{
[self setStoryboardName: [coder decodeObjectForKey: @"NSStoryboardName"]];
}
}
return self;
}
- (void) encodeWithCoder: (NSCoder *)coder
{
// this is never encoded directly...
}
- (id) instantiate
{
NSStoryboard *sb = [NSStoryboard storyboardWithName: _storyboardName
bundle: [NSBundle mainBundle]];
return [sb instantiateInitialController];
}
@end
@implementation GSStoryboardTransform
- (instancetype) initWithData: (NSData *)data
{
self = [super init];
if (self != nil)
{
NSXMLDocument *xml = [[NSXMLDocument alloc] initWithData: data
options: 0
error: NULL];
_scenesMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
_controllerMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
_identifierToSegueMap = [[NSMutableDictionary alloc] initWithCapacity: 10];
[self processStoryboard: xml];
RELEASE(xml);
}
return self;
}
- (void) dealloc
{
RELEASE(_initialViewControllerId);
RELEASE(_applicationSceneId);
RELEASE(_scenesMap);
RELEASE(_controllerMap);
RELEASE(_identifierToSegueMap);
[super dealloc];
}
- (NSString *) initialViewControllerId
{
return _initialViewControllerId;
}
- (NSString *) applicationSceneId
{
return _applicationSceneId;
}
- (NSMapTable *) segueMapForIdentifier: (NSString *)identifier
{
return [_identifierToSegueMap objectForKey: identifier];
}
- (NSXMLElement *) createCustomObjectWithId: (NSString *)ident
userLabel: (NSString *)userLabel
customClass: (NSString *)className
{
NSXMLElement *customObject =
[[NSXMLElement alloc] initWithName: @"customObject"];
NSXMLNode *idValue =
[NSXMLNode attributeWithName: @"id"
stringValue: ident];
NSXMLNode *usrLabel =
[NSXMLNode attributeWithName: @"userLabel"
stringValue: userLabel];
NSXMLNode *customCls =
[NSXMLNode attributeWithName: @"customClass"
stringValue: className];
[customObject addAttribute: idValue];
[customObject addAttribute: usrLabel];
[customObject addAttribute: customCls];
AUTORELEASE(customObject);
return customObject;
}
- (NSData *) dataForIdentifier: (NSString *)identifier
{
NSString *sceneId = [_controllerMap objectForKey: identifier];
NSXMLDocument *xml = [_scenesMap objectForKey: sceneId];
return [xml XMLData];
}
- (void) addStandardObjects: (NSXMLElement *)objects
classString: (NSString *) customClassString
connections: (NSXMLNode *)appCons
firstResponderId: (NSString *)firstResponderId
{
NSXMLElement *customObject = nil;
customObject =
[self createCustomObjectWithId: @"-3"
userLabel: @"Application"
customClass: @"NSObject"];
[objects insertChild: customObject
atIndex: 0];
customObject =
[self createCustomObjectWithId: firstResponderId
userLabel: @"First Responder"
customClass: @"FirstResponder"];
[objects insertChild: customObject
atIndex: 0];
customObject =
[self createCustomObjectWithId: @"-2"
userLabel: @"File's Owner"
customClass: customClassString];
if (appCons != nil)
{
[customObject addChild: appCons];
}
[objects insertChild: customObject
atIndex: 0];
}
- (void) processChild: (NSXMLElement *)objects
withDoc: (NSXMLElement *)doc
withAppNode: (NSXMLNode *)appNode
sceneId: (NSString *)sceneId
firstResponderId: (NSString *)firstResponderId
{
NSString *customClassString = nil;
NSXMLNode *appCons = nil;
if (appNode != nil)
{
NSArray *appConsArr = [appNode nodesForXPath: @"connections" error: NULL];
appCons = [appConsArr objectAtIndex: 0];
if (appCons != nil)
{
[appCons detach];
}
// Assign application scene...
ASSIGN(_applicationSceneId, sceneId);
[_controllerMap setObject: _applicationSceneId
forKey: APPLICATION];
// Move all application children to objects...
NSArray *appChildren = [appNode children];
FOR_IN(NSXMLElement*, ae, appChildren)
[ae detach];
[objects addChild: ae];
END_FOR_IN(appChildren);
// Remove the appNode
[appNode detach];
// create a customObject entry for NSApplication reference...
NSXMLNode *appCustomClass = [(NSXMLElement *)appNode
attributeForName: @"customClass"];
customClassString = ([appCustomClass stringValue] == nil) ?
@"NSApplication" : [appCustomClass stringValue];
}
[self addStandardObjects: objects
classString: customClassString
connections: appCons
firstResponderId: firstResponderId];
// Add it to the document
[objects detach];
[doc addChild: objects];
}
- (NSArray *) subclassesOfClass: (Class)clz
{
NSMutableArray *subclasses = [GSObjCAllSubclassesOfClass(clz) mutableCopy];
NSMutableArray *result = [NSMutableArray arrayWithCapacity: [subclasses count]];
[subclasses insertObject: clz atIndex: 0];
FOR_IN(Class, cls, subclasses)
{
NSString *className = NSStringFromClass(cls);
NSString *classNameNoNamespace = [className substringFromIndex: 2];
NSString *xmlClassName = [NSString stringWithFormat: @"%@%@",
[[classNameNoNamespace substringToIndex: 1] lowercaseString],
[classNameNoNamespace substringFromIndex: 1]];
NSString *lowerCaseName = [xmlClassName lowercaseString];
[result addObject: xmlClassName];
[result addObject: lowerCaseName];
}
END_FOR_IN(subclasses);
return result;
}
- (NSArray *) findSubclassesOf: (Class)clz
inDocument: (NSXMLDocument *)document
{
NSArray *result = nil;
NSArray *xmlClassNames = [self subclassesOfClass: clz];
FOR_IN(NSString*, xmlClassName, xmlClassNames)
{
NSString *xpath = [NSString stringWithFormat: @"//%@",xmlClassName];
result = [document nodesForXPath: xpath error: NULL];
if ([result count] > 0)
{
break;
}
}
END_FOR_IN(xmlClassNames);
return result;
}
- (NSString *) controllerIdWithDocument: (NSXMLDocument *)document
{
NSString *controllerId = nil;
NSArray *windowControllers = [self findSubclassesOf: [NSWindowController class]
inDocument: document];
NSArray *viewControllers = [self findSubclassesOf: [NSViewController class]
inDocument: document];
NSArray *controllerPlaceholders = [document nodesForXPath: @"//controllerPlaceholder"
error: NULL];
if ([windowControllers count] > 0)
{
NSXMLElement *ce = [windowControllers objectAtIndex: 0];
NSXMLNode *attr = [ce attributeForName: @"id"];
controllerId = [attr stringValue];
FOR_IN(NSXMLElement*, o, windowControllers)
{
NSXMLElement *objects = (NSXMLElement *)[o parent];
NSArray *windows = [o nodesForXPath: @"//window" error: NULL];
FOR_IN(NSXMLNode*, w, windows)
{
[w detach];
[objects addChild: w];
}
END_FOR_IN(windows);
}
END_FOR_IN(windowControllers);
}
if ([viewControllers count] > 0)
{
NSXMLElement *ce = [viewControllers objectAtIndex: 0];
NSXMLNode *attr = [ce attributeForName: @"id"];
controllerId = [attr stringValue];
}
if ([controllerPlaceholders count] > 0)
{
NSXMLElement *ce = [controllerPlaceholders objectAtIndex: 0];
NSXMLNode *attr = [ce attributeForName: @"id"];
controllerId = [attr stringValue];
}
return controllerId;
}
- (void) processStoryboard: (NSXMLDocument *)xml
{
NSArray *docNodes = [xml nodesForXPath: @"document" error: NULL];
if ([docNodes count] > 0)
{
NSXMLElement *docNode = [docNodes objectAtIndex: 0];
NSArray *array = [docNode nodesForXPath: @"//scene" error: NULL];
NSArray *firstResponderIdNodes = [docNode nodesForXPath: @"//objects/customObject[@sceneMemberID =\"firstResponder\"]/@id"
error: NULL];
NSString *firstResponderId = @"-1";
if([firstResponderIdNodes count] > 0)
{
firstResponderId = [[firstResponderIdNodes objectAtIndex: 0] stringValue];
}
// Set initial view controller...
ASSIGN(_initialViewControllerId, [[docNode attributeForName: @"initialViewController"] stringValue]);
FOR_IN(NSXMLElement*, e, array)
{
NSXMLElement *doc = [[NSXMLElement alloc] initWithName: @"document"];
NSArray *children = [e children];
NSXMLDocument *document = nil;
NSString *sceneId = [[e attributeForName: @"sceneID"] stringValue];
NSString *controllerId = nil;
// Move children...
FOR_IN(NSXMLElement*, child, children)
{
if ([[child name] isEqualToString: @"point"] == YES)
continue; // go on if it's a point element, we don't use that in the app...
NSArray *subnodes = [child nodesForXPath: @"//application" error: NULL];
NSXMLNode *appNode = [subnodes objectAtIndex: 0];
[self processChild: child
withDoc: doc
withAppNode: appNode
sceneId: sceneId
firstResponderId: firstResponderId];
// fix other custom objects
document = [[NSXMLDocument alloc] initWithRootElement: doc];
controllerId = [self controllerIdWithDocument: document];
controllerId = (controllerId != nil) ? controllerId : APPLICATION;
RELEASE(doc);
// Create document...
[_scenesMap setObject: document
forKey: sceneId];
// Map controllerId's to scenes...
if (controllerId != nil)
{
[_controllerMap setObject: sceneId
forKey: controllerId];
[self processSegues: document
forControllerId: controllerId];
}
RELEASE(document);
}
END_FOR_IN(children);
}
END_FOR_IN(array);
}
else
{
[NSException raise: NSInternalInconsistencyException
format: @"No document element found in storyboard file"];
}
}
- (BOOL) isProcessedDocument: (NSXMLDocument *)xmlIn
{
NSArray *docArray = [xmlIn nodesForXPath: @"document" error: NULL];
if ([docArray count] > 0)
{
NSXMLElement *docElem = (NSXMLElement *)[docArray objectAtIndex: 0];
NSXMLNode *a = [docElem attributeForName: @"processed"];
NSString *value = [a stringValue];
if (value != nil)
{
return YES;
}
else
{
NSXMLNode *new_attr = [NSXMLNode attributeWithName: @"processed"
stringValue: @"true"];
[docElem addAttribute: new_attr];
}
}
return NO;
}
- (NSXMLElement *) createStoryboardProxyElementWithSelector: (NSString *)selector
target: (NSString *)dst
segueIdentifier: (NSString *)ident
sender: (NSString *)src
kind: (NSString *)kind
anchorView: (NSString *)anchorView
{
NSXMLElement *sbproxy = [NSXMLElement elementWithName: @"storyboardSeguePerformAction"];
NSXMLNode *pselector
= [NSXMLNode attributeWithName: @"selector"
stringValue: selector];
NSXMLNode *ptarget
= [NSXMLNode attributeWithName: @"target"
stringValue: dst];
NSString *pident_value = [[NSUUID UUID] UUIDString];
NSXMLNode *pident
= [NSXMLNode attributeWithName: @"id"
stringValue: pident_value];
NSXMLNode *psegueIdent
= [NSXMLNode attributeWithName: @"identifier"
stringValue: ident];
NSXMLNode *psender
= [NSXMLNode attributeWithName: @"sender"
stringValue: src];
NSXMLNode *pkind
= [NSXMLNode attributeWithName: @"kind"
stringValue: kind];
NSXMLNode *panchorview
= [NSXMLNode attributeWithName: @"popoverAnchorView"
stringValue: anchorView];
[sbproxy addAttribute: pselector];
[sbproxy addAttribute: ptarget];
[sbproxy addAttribute: pident];
[sbproxy addAttribute: psegueIdent];
[sbproxy addAttribute: psender];
[sbproxy addAttribute: pkind];
[sbproxy addAttribute: panchorview];
return sbproxy;
}
- (NSMapTable *) processConnections: (NSArray *)connectionsArray
withObjects: (NSXMLElement *)objects
controllerId: (NSString *)src
{
NSMapTable *mapTable = [NSMapTable strongToWeakObjectsMapTable];
FOR_IN (NSXMLElement*, connections, connectionsArray)
{
NSArray *children = [connections children]; // there should be only one per set.
FOR_IN (NSXMLElement*, obj, children)
if ([[obj name] isEqualToString: @"segue"])
{
// get the information from the segue.
id connections_parent = [[obj parent] parent];
id segue_parent = connections; // [obj parent];
NSString *connections_parent_name = [connections_parent name];
NSXMLNode *attr = [obj attributeForName: @"destination"];
NSString *dst = [attr stringValue];
attr = [obj attributeForName: @"kind"];
NSString *kind = [attr stringValue];
attr = [obj attributeForName: @"relationship"];
NSString *rel = [attr stringValue];
attr = [obj attributeForName: @"id"];
NSString *uid = [attr stringValue];
attr = [obj attributeForName: @"identifier"];
NSString *ident = [attr stringValue];
if (ident == nil)
{
ident = [[NSUUID UUID] UUIDString];
}
attr = [obj attributeForName: @"popoverAnchorView"];
NSString *av = [attr stringValue];
attr = [obj attributeForName: @"popoverBehavior"];
NSString *pb = [attr stringValue];
NSPopoverBehavior behavior = NSPopoverBehaviorApplicationDefined;
if ([pb isEqualToString: @"a"])
{
behavior = NSPopoverBehaviorApplicationDefined;
}
else if ([pb isEqualToString: @"t"])
{
behavior = NSPopoverBehaviorTransient;
}
else if ([pb isEqualToString: @"s"])
{
behavior = NSPopoverBehaviorSemitransient;
}
attr = [obj attributeForName: @"preferredEdge"];
NSString *pe = [attr stringValue];
NSRectEdge edge = NSMinXEdge;
if ([pe isEqualToString: @"maxY"])
{
edge = NSMaxYEdge;
}
else if ([pe isEqualToString: @"minY"])
{
edge = NSMinYEdge;
}
else if ([pe isEqualToString: @"maxX"])
{
edge = NSMaxXEdge;
}
else if ([pe isEqualToString: @"minX"])
{
edge = NSMinXEdge;
}
[obj detach]; // segue can't be in the archive since it doesn't conform to NSCoding
// Create proxy object to invoke methods on the window controller
NSXMLElement *sbproxy = [self createStoryboardProxyElementWithSelector: @"doAction:"
target: dst
segueIdentifier: ident
sender: src
kind: kind
anchorView: av];
NSUInteger count = [[objects children] count];
[objects insertChild: sbproxy
atIndex: count - 1];
// add action to parent ONLY if it is NOT a controller..
if (![[self subclassesOfClass: [NSWindowController class]] containsObject: connections_parent_name] &&
![[self subclassesOfClass: [NSViewController class]] containsObject: connections_parent_name])
{
// Create action...
NSXMLElement *action = [NSXMLElement elementWithName: @"action"];
NSXMLNode *selector
= [NSXMLNode attributeWithName: @"selector"
stringValue: @"doAction:"];
NSXMLNode *target
= [NSXMLNode attributeWithName: @"target"
stringValue: [[sbproxy attributeForName: @"id"] stringValue]];
NSXMLNode *controller_ident
= [NSXMLNode attributeWithName: @"id"
stringValue: uid];
[action addAttribute: selector];
[action addAttribute: target];
[action addAttribute: controller_ident];
[segue_parent addChild: action];
}
// Create the segue...
NSStoryboardSegue *ss = [[NSStoryboardSegue alloc] initWithIdentifier: ident
source: src
destination: dst];
[ss _setKind: kind];
[ss _setRelationship: rel];
[ss _setPopoverBehavior: behavior];
[ss _setPreferredEdge: edge];
// Add to maptable...
[mapTable setObject: ss
forKey: ident];
} // only process segue objects...
END_FOR_IN(children);
} // iterate over connection objs
END_FOR_IN(connectionsArray);
return mapTable;
}
- (void) processSegues: (NSXMLDocument *)xml
forControllerId: (NSString *)identifier
{
BOOL processed = [self isProcessedDocument: xml];
if (!processed)
{
NSArray *array = [xml nodesForXPath: @"//objects[1]"
error: NULL];
NSXMLElement *objects = [array objectAtIndex: 0]; // get the "objects" section
NSArray *connectionsArray = [xml nodesForXPath: @"//connections"
error: NULL];
NSMapTable *mapTable = [self processConnections: connectionsArray
withObjects: objects
controllerId: identifier];
[_identifierToSegueMap setObject: mapTable
forKey: identifier];
}
}
@end

View file

@ -59,7 +59,9 @@
#import "AppKit/NSTabViewItem.h"
#import "AppKit/PSOperators.h"
#import "AppKit/NSSliderCell.h"
#import "AppKit/NSPathCell.h"
#import "AppKit/NSPathControl.h"
#import "AppKit/NSPathComponentCell.h"
#import "GNUstepGUI/GSToolbarView.h"
#import "GNUstepGUI/GSTitleView.h"
@ -816,6 +818,222 @@
[self drawStepperDownButton: downRect];
}
// NSSwitch drawing methods
- (void) drawSwitchBezel: (NSRect)frame
forState: (NSControlStateValue)v
enabled: (BOOL)enabled
{
NSBezierPath *p;
NSPoint point;
CGFloat radius;
NSColor *backgroundColor;
if (enabled == NO)
{
backgroundColor = [NSColor disabledControlTextColor];
}
else if (NSControlStateValueOn != v)
{
backgroundColor = [NSColor windowBackgroundColor]; // offColor
}
else
{
backgroundColor = [NSColor selectedControlColor]; // onColor
}
// make smaller than enclosing frame
frame = NSInsetRect(frame, 4, 4);
radius = frame.size.height / 2.0;
point = frame.origin;
point.x += radius;
point.y += radius - 0.5;
// Draw initial path to enclose the button...
// left half-circle
p = [NSBezierPath bezierPath];
[p appendBezierPathWithArcWithCenter: point
radius: radius
startAngle: 90.0
endAngle: 270.0];
// line to first point and right halfcircle
point.x += frame.size.width - frame.size.height;
[p appendBezierPathWithArcWithCenter: point
radius: radius
startAngle: 270.0
endAngle: 90.0];
[p closePath];
// fill with background color
[backgroundColor set];
[p fill];
// and stroke rounded button
[[NSColor shadowColor] set];
[p stroke];
// Add highlights...
point = frame.origin;
point.x += radius - 0.5;
point.y += radius - 0.5;
p = [NSBezierPath bezierPath];
[p setLineWidth: 1.0];
[p appendBezierPathWithArcWithCenter: point
radius: radius
startAngle: 135.0
endAngle: 270.0];
// line to first point and right halfcircle
point.x += frame.size.width - frame.size.height;
[p appendBezierPathWithArcWithCenter: point
radius: radius
startAngle: 270.0
endAngle: 315.0];
[[NSColor controlLightHighlightColor] set];
[p stroke];
}
- (void) drawSwitchKnob: (NSRect)frame
forState: (NSControlStateValue)value
enabled: (BOOL)enabled
{
NSColor *backgroundColor = enabled ? [NSColor windowBackgroundColor] : [NSColor disabledControlTextColor];
NSBezierPath *oval;
NSRect rect = NSZeroRect;
CGFloat w = (frame.size.width / 2) - 2;
CGFloat h = frame.size.height - 6;
CGFloat y = frame.origin.y + 2;
CGFloat radius = frame.size.height / 2.0;
[backgroundColor set];
if (value == NSControlStateValueOff)
{
rect = NSMakeRect(frame.origin.x + 4,
y,
w,
h);
}
else
{
rect = NSMakeRect(frame.origin.x + ((frame.size.width - 2 * radius) + 2), // ((frame.size.width - w) - 2)
y,
w,
h);
}
oval = [NSBezierPath bezierPathWithOvalInRect: NSInsetRect(rect, 1, 1)];
// fill oval with background color
[backgroundColor set];
[oval fill];
// and stroke rounded button
[[NSColor shadowColor] set];
[oval stroke];
}
- (void) drawSwitchInRect: (NSRect)rect
forState: (NSControlStateValue)state
enabled: (BOOL)enabled
{
// Draw the well bezel
[self drawSwitchBezel: rect
forState: state
enabled: enabled];
// Draw the knob
[self drawSwitchKnob: rect
forState: state
enabled: enabled];
}
// NSPathComponentCell
- (void) drawPathComponentCellWithFrame: (NSRect)frame
inView: (NSPathControl *)pc
withCell: (NSPathComponentCell *)cell
isLastComponent: (BOOL)last
{
NSImage *img = [cell image];
NSURL *url = [cell URL];
NSString *string = [[url path] lastPathComponent];
NSRect textFrame = frame;
NSRect imgFrame = frame;
NSRect arrowFrame = frame;
NSImage *arrowImage = [NSImage imageNamed: @"NSMenuArrow"];
NSPathStyle style= [pc pathStyle];
NSRect newFrame = frame;
if (style == NSPathStylePopUp)
{
newFrame = [pc frame];
// Reset coodinates.
newFrame.origin.x = 0.0;
newFrame.origin.y = 0.0;
// Use control frame...
textFrame = newFrame;
imgFrame = newFrame;
arrowFrame = newFrame;
}
// Modify positions...
imgFrame.size.width = 17.0;
imgFrame.size.height = 17.0;
imgFrame.origin.x += 2.0;
imgFrame.origin.y += 2.0;
textFrame.origin.x += imgFrame.size.width + 5.0; // the width of the image plus a few pixels.
textFrame.origin.y += 5.0; // center with the image...
arrowFrame.origin.x += newFrame.size.width - 17.0;
arrowFrame.size.width = 8.0;
arrowFrame.size.height = 8.0;
arrowFrame.origin.y += 5.0;
if (style== NSPathStyleStandard || style== NSPathStyleNavigationBar)
{
// Draw the image...
[img drawInRect: imgFrame];
// Draw the text...
[[NSColor textColor] set];
[string drawAtPoint: textFrame.origin
withAttributes: nil];
// Draw the arrow...
if (last == NO)
{
[arrowImage drawInRect: arrowFrame];
}
}
else if (style == NSPathStylePopUp)
{
if (last == YES)
{
arrowImage = [NSImage imageNamed: @"common_ArrowDown"];
// Draw border...
[[NSColor controlShadowColor] set];
NSFrameRectWithWidth(newFrame, 1.0);
// Draw the image...
[img drawInRect: imgFrame];
// Draw the text...
[[NSColor textColor] set];
[string drawAtPoint: textFrame.origin
withAttributes: nil];
// Draw the arrow...
[arrowImage drawInRect: arrowFrame];
}
}
}
// NSSegmentedControl drawing methods
- (void) drawSegmentedControlSegment: (NSCell *)cell
@ -2241,7 +2459,7 @@ typedef enum {
[self drawTabViewBezelRect: aRect
tabViewType: type
inView: view];
if (type == NSBottomTabsBezelBorder
|| type == NSTopTabsBezelBorder)
{

View file

@ -3,7 +3,7 @@
<abstract>The toolbar view class.</abstract>
Copyright (C) 2004-2015 Free Software Foundation, Inc.
Copyright (C) 2004-2020 Free Software Foundation, Inc.
Author: Quentin Mathe <qmathe@club-internet.fr>
Date: January 2004
@ -546,8 +546,8 @@ static NSUInteger draggedItemIndex = NSNotFound;
- (void) _handleBackViewsFrame
{
float x = 0;
float newHeight = 0;
CGFloat x = 0;
CGFloat newHeight = 0;
NSArray *subviews = [_clipView subviews];
NSEnumerator *e = [[_toolbar items] objectEnumerator];
NSToolbarItem *item;
@ -592,13 +592,14 @@ static NSUInteger draggedItemIndex = NSNotFound;
BOOL mustAdjustNext = NO;
CGFloat x = 0, visibleItemsMinWidth = 0, backViewsWidth = 0;
NSMutableArray *variableWidthItems = [NSMutableArray array];
int flexibleItemsCount = 0, maxWidthItemsCount = 0;
unsigned flexibleItemsCount = 0, maxWidthItemsCount = 0;
CGFloat spacePerFlexItem, extraSpace = 0;
CGFloat toolbarWidth = [self frame].size.width;
int i, n = [items count];
NSUInteger i, n;
NSMutableArray *visibleItems = [NSMutableArray array];
static const int FlexItemWeight = 4; // non-space flexible item counts as much as 4 flexible spaces
n = [items count];
if (n == 0)
return;
@ -686,10 +687,10 @@ static NSUInteger draggedItemIndex = NSNotFound;
if ([item _isFlexibleSpace])
{
NSRect backViewFrame = [backView frame];
[backView setFrame: NSMakeRect(x, backViewFrame.origin.y,
spacePerFlexItem,
backViewFrame.size.height)];
NSRect newFrameRect = NSMakeRect(x, backViewFrame.origin.y,
spacePerFlexItem,
backViewFrame.size.height);
[backView setFrame: [self centerScanRect:newFrameRect]];
mustAdjustNext = YES;
}
else if ([variableWidthItems indexOfObjectIdenticalTo:item] != NSNotFound)
@ -698,17 +699,19 @@ static NSUInteger draggedItemIndex = NSNotFound;
CGFloat maxFlex = [item maxSize].width - [item minSize].width;
CGFloat flexAmount = MIN(maxFlex, spacePerFlexItem * FlexItemWeight);
CGFloat newWidth = [item minSize].width + flexAmount + 2 * InsetItemViewX;
[backView setFrame: NSMakeRect(x, backViewFrame.origin.y,
newWidth,
backViewFrame.size.height)];
NSRect newFrameRect = NSMakeRect(x, backViewFrame.origin.y,
newWidth,
backViewFrame.size.height);
[backView setFrame: [self centerScanRect: newFrameRect]];
mustAdjustNext = YES;
}
else if (mustAdjustNext)
{
NSRect backViewFrame = [backView frame];
[backView setFrame: NSMakeRect(x, backViewFrame.origin.y,
backViewFrame.size.width, backViewFrame.size.height)];
NSRect newFrameRect = NSMakeRect(x, backViewFrame.origin.y,
backViewFrame.size.width,
backViewFrame.size.height);
[backView setFrame: [self centerScanRect: newFrameRect]];
}
view = [item view];
if (view != nil)
@ -760,7 +763,7 @@ static NSUInteger draggedItemIndex = NSNotFound;
- (void) _manageClipView
{
NSRect clipViewFrame = [_clipView frame];
int count = [[_toolbar items] count];
NSUInteger count = [[_toolbar items] count];
// Retrieve the back views which should be visible now that the resize
// process has been taken in account
NSArray *visibleBackViews = [self _visibleBackViews];
@ -802,8 +805,8 @@ static NSUInteger draggedItemIndex = NSNotFound;
}
}
- (void) _reload
{
- (void) _reload
{
// First, we resize
[self _handleBackViewsFrame];
[self _takeInAccountFlexibleSpaces];
@ -818,9 +821,9 @@ static NSUInteger draggedItemIndex = NSNotFound;
// Accessors private methods
- (float) _heightFromLayout
- (CGFloat) _heightFromLayout
{
float height = _heightFromLayout;
CGFloat height = _heightFromLayout;
if (_borderMask & GSToolbarViewBottomBorder)
{
@ -844,11 +847,12 @@ static NSUInteger draggedItemIndex = NSNotFound;
{
NSArray *items = [_toolbar items];
NSView *backView, *view;
int i, n = [items count];
NSUInteger i, n;
float backViewsWidth = 0, toolbarWidth = [self frame].size.width;
NSMutableArray *visibleBackViews = [NSMutableArray array];
n = [items count];
for (i = 0; i < n; i++)
{
NSToolbarItem *item = [items objectAtIndex:i];
@ -888,12 +892,13 @@ static NSUInteger draggedItemIndex = NSNotFound;
- (NSMenu *) menuForEvent: (NSEvent *)event
{
NSMenu *menu = [[[NSMenu alloc] initWithTitle: @""] autorelease];
id <NSMenuItem> customize = [menu insertItemWithTitle: _(@"Customize Toolbar") action:@selector(runCustomizationPalette:) keyEquivalent:@"" atIndex:0];
NSMenu *menu = [[NSMenu alloc] initWithTitle: @""];
id <NSMenuItem> customize = [menu insertItemWithTitle: _(@"Customize Toolbar")
action: @selector(runCustomizationPalette:)
keyEquivalent: @""
atIndex: 0];
[customize setTarget: _toolbar];
return menu;
return AUTORELEASE(menu);
}
@end

View file

@ -47,6 +47,7 @@
#import "AppKit/NSMenuItem.h"
#import "AppKit/NSNib.h"
#import "AppKit/NSParagraphStyle.h"
#import "AppKit/NSPathCell.h"
#import "AppKit/NSPopUpButton.h"
#import "AppKit/NSPopUpButtonCell.h"
#import "AppKit/NSScroller.h"
@ -59,6 +60,8 @@
#import "AppKit/NSTabView.h"
#import "AppKit/NSToolbarItem.h"
#import "AppKit/NSView.h"
#import "AppKit/NSLayoutConstraint.h"
#import "AppKit/NSPageController.h"
#import "GSCodingFlags.h"
#define DEBUG_XIB5 0
@ -155,7 +158,6 @@ static NSString *ApplicationClass = nil;
@end
@implementation GSXib5KeyedUnarchiver
static NSDictionary *XmlTagToObjectClassMap = nil;
@ -168,6 +170,7 @@ static NSDictionary *XmlKeyToDecoderSelectorMap = nil;
static NSArray *XmlKeysDefined = nil;
static NSArray *XmlReferenceAttributes = nil;
static NSArray *XmlConnectionRecordTags = nil;
static NSArray *XmlConstraintRecordTags = nil;
static NSArray *XmlBoolDefaultYes = nil;
+ (void) initialize
@ -198,6 +201,7 @@ static NSArray *XmlBoolDefaultYes = nil;
@"NSMutableArray", @"allowedToolbarItems",
@"NSMutableArray", @"defaultToolbarItems",
@"NSMutableArray", @"rowTemplates",
@"NSMutableArray", @"constraints",
@"NSSegmentItem", @"segment",
@"NSCell", @"customCell",
@"NSCustomObject5", @"customObject",
@ -207,6 +211,9 @@ static NSArray *XmlBoolDefaultYes = nil;
@"NSWindowTemplate", @"window",
@"NSView", @"tableCellView",
@"IBUserDefinedRuntimeAttribute5", @"userDefinedRuntimeAttribute",
@"NSURL", @"url",
@"NSLayoutConstraint", @"constraint",
@"NSPageController", @"pagecontroller", // why is pagecontroller capitalized this way?
nil];
RETAIN(XmlTagToObjectClassMap);
@ -220,12 +227,15 @@ static NSArray *XmlBoolDefaultYes = nil;
RETAIN(ClassNamePrefixes);
XmlReferenceAttributes = [NSArray arrayWithObjects: @"headerView", @"initialItem",
@"selectedItem", nil];
@"selectedItem", @"firstItem", @"secondItem", nil];
RETAIN(XmlReferenceAttributes);
XmlConnectionRecordTags = [NSArray arrayWithObjects: @"action", @"outlet", @"binding", nil];
RETAIN(XmlConnectionRecordTags);
XmlConstraintRecordTags = [NSArray arrayWithObject: @"constraint"];
RETAIN(XmlConstraintRecordTags);
// These cross-reference from the OLD key to the NEW key that can be referenced and its value
// or object returned verbatim. If an OLD XIB key does not exist and contains the 'NS' prefix
// the key processing will strip the 'NS' prefix, make the first letter lowercase then check
@ -274,6 +284,9 @@ static NSArray *XmlBoolDefaultYes = nil;
@"implicitItemIdentifier", @"NSToolbarItemIdentifier",
@"bordered", @"NSIsBordered",
@"altersStateOfSelectedItem", @"NSAltersState",
@"string", @"NS.relative",
@"canPropagateSelectedChildViewControllerTitle",
@"NSTabViewControllerCanPropagateSelectedChildViewControllerTitle",
nil];
RETAIN(XmlKeyMapTable);
@ -381,7 +394,13 @@ static NSArray *XmlBoolDefaultYes = nil;
@"decodeDividerStyleForElement:", @"NSDividerStyle",
@"decodeToolbarIdentifiedItemsForElement:", @"NSToolbarIBIdentifiedItems",
@"decodeToolbarImageForElement:", @"NSToolbarItemImage",
nil];
@"decodeControlContentsForElement:", @"NSControlContents",
@"decodePathStyle:", @"NSPathStyle",
@"decodeFirstAttribute:", @"NSFirstAttribute",
@"decodeSecondAttribute:", @"NSSecondAttribute",
@"decodeRelation:", @"NSRelation",
@"decodeTransitionStyle:", @"NSTransitionStyle",
nil];
RETAIN(XmlKeyToDecoderSelectorMap);
// boolean fields that should be treated as YES when missing.
@ -390,6 +409,8 @@ static NSArray *XmlBoolDefaultYes = nil;
@"bordered",
@"prefersToBeShown",
@"editable",
@"enabled",
@"canPropagateSelectedChildViewControllerTitle",
nil];
}
}
@ -444,7 +465,8 @@ static NSArray *XmlBoolDefaultYes = nil;
NSString *postfix = [self alternateName: name startIndex: 2];
NSString *typeName = [currentElement attributeForKey: @"key"];
if ((typeName != nil) && [postfix hasPrefix: typeName])
if ((typeName != nil) && [postfix hasPrefix: typeName] &&
([XmlTagToObjectClassMap objectForKey: postfix] == nil))
{
return [self alternateName: name startIndex: [typeName length] + 2];
}
@ -501,7 +523,7 @@ static NSArray *XmlBoolDefaultYes = nil;
forKey: @"destination"];
}
// Build a connection recort
// Build a connection record
connectionRecord = [[GSXibElement alloc] initWithType: @"object"
andAttributes:
[NSDictionary dictionaryWithObjectsAndKeys:
@ -783,6 +805,10 @@ didStartElement: (NSString*)elementName
// Need to store element for making the connections...
[self addConnection: element];
}
else if ([XmlConstraintRecordTags containsObject: elementName])
{
[self objectForXib: element]; // decode the constraint...
}
}
else
{
@ -1426,6 +1452,8 @@ didStartElement: (NSString*)elementName
size = [NSFont labelFontSize];
else if ([metaFont containsString: @"system"])
size = [NSFont systemFontSize];
else if ([metaFont containsString: @"toolTip"])
size = [NSFont smallSystemFontSize];
else if (metaFont)
NSWarnMLog(@"unknown meta font value: %@", metaFont);
}
@ -2110,7 +2138,7 @@ didStartElement: (NSString*)elementName
{
id object = [[NSBrowserCell alloc] initTextCell: @"BrowserItem"];
[object setType: NSPushInCell];
[object setCellAttribute: NSPushInCell to: YES];
[object setWraps: NO];
[object sendActionOn: NSLeftMouseUpMask];
[object setEnabled: YES];
@ -2190,6 +2218,10 @@ didStartElement: (NSString*)elementName
{
object = [element attributeForKey: @"stringValue"];
}
else if ([class isSubclassOfClass: [NSPathCell class]])
{
object = [self decodeObjectForKey: @"url"];
}
else
{
// Try the title attribute first as it is the more common encoding...
@ -2725,6 +2757,166 @@ didStartElement: (NSString*)elementName
return [self findResourceWithName: name];
}
- (id) decodeControlContentsForElement: (GSXibElement *)element
{
NSNumber *num = [NSNumber numberWithInteger: 0];
id obj = [element attributeForKey: @"state"];
if ([obj isEqualToString: @"on"])
{
num = [NSNumber numberWithInteger: 1];
}
return num;
}
- (id) decodePathStyle: (GSXibElement *)element
{
NSNumber *num = [NSNumber numberWithInteger: 0];
id obj = [element attributeForKey: @"pathStyle"];
if ([obj isEqualToString: @"standard"])
{
num = [NSNumber numberWithInteger: NSPathStyleStandard];
}
else if ([obj isEqualToString: @"popUp"])
{
num = [NSNumber numberWithInteger: NSPathStylePopUp];
}
else if ([obj isEqualToString: @"navigationBar"])
{
num = [NSNumber numberWithInteger: NSPathStyleNavigationBar];
}
else // if not specified then assume standard...
{
num = [NSNumber numberWithInteger: NSPathStyleStandard];
}
return num;
}
- (id) decodeConstraintAttribute: (id)obj
{
NSNumber *num = [NSNumber numberWithInteger: 0];
if ([obj isEqualToString: @"left"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeLeft];
}
else if ([obj isEqualToString: @"right"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeRight];
}
else if ([obj isEqualToString: @"top"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeTop];
}
else if ([obj isEqualToString: @"bottom"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeBottom];
}
else if ([obj isEqualToString: @"leading"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeLeading];
}
else if ([obj isEqualToString: @"trailing"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeTrailing];
}
else if ([obj isEqualToString: @"width"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeWidth];
}
else if ([obj isEqualToString: @"height"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeHeight];
}
else if ([obj isEqualToString: @"centerX"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeCenterX];
}
else if ([obj isEqualToString: @"centerY"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeCenterY];
}
else if ([obj isEqualToString: @"lastBaseline"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeLastBaseline];
}
else if ([obj isEqualToString: @"baseline"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeBaseline];
}
else if ([obj isEqualToString: @"firstBaseline"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeFirstBaseline];
}
else if ([obj isEqualToString: @"notAnAttribute"])
{
num = [NSNumber numberWithInteger: NSLayoutAttributeNotAnAttribute];
}
return num;
}
- (id) decodeFirstAttribute: (GSXibElement *)element
{
id obj = [element attributeForKey: @"firstAttribute"];
return [self decodeConstraintAttribute: obj];
}
- (id) decodeSecondAttribute: (GSXibElement *)element
{
id obj = [element attributeForKey: @"secondAttribute"];
return [self decodeConstraintAttribute: obj];
}
- (id) decodeRelation: (GSXibElement *)element
{
NSNumber *num = [NSNumber numberWithInteger: 0];
id obj = [element attributeForKey: @"relation"];
if ([obj isEqualToString: @"lessThanOrEqual"])
{
num = [NSNumber numberWithInteger: NSLayoutRelationLessThanOrEqual];
}
else if ([obj isEqualToString: @"equal"])
{
num = [NSNumber numberWithInteger: NSLayoutRelationEqual];
}
else if ([obj isEqualToString: @"greaterThanOrEqual"])
{
num = [NSNumber numberWithInteger: NSLayoutRelationGreaterThanOrEqual];
}
return num;
}
- (id) decodeTransitionStyle: (GSXibElement *)element
{
NSNumber *num = [NSNumber numberWithInteger: 0];
id obj = [element attributeForKey: @"transitionStyle"];
if ([obj isEqualToString: @"stackHistory"])
{
num = [NSNumber numberWithInteger: NSPageControllerTransitionStyleStackHistory];
}
else if ([obj isEqualToString: @"stackBook"])
{
num = [NSNumber numberWithInteger: NSPageControllerTransitionStyleStackBook];
}
else if ([obj isEqualToString: @"horizontalStrip"])
{
num = [NSNumber numberWithInteger: NSPageControllerTransitionStyleHorizontalStrip];
}
else // if not specified then assume standard...
{
num = [NSNumber numberWithInteger: NSPageControllerTransitionStyleStackHistory];
}
return num;
}
- (id) objectForXib: (GSXibElement*)element
{
id object = [super objectForXib: element];
@ -2788,7 +2980,6 @@ didStartElement: (NSString*)elementName
else if ([object respondsToSelector: @selector(setHeaderToolTip:)])
[object setHeaderToolTip: [element attributeForKey: @"toolTip"]];
}
// Process IB runtime attributes for element...
// Ensure we don't process the placeholders...
if ([element elementForKey: @"userDefinedRuntimeAttributes"] &&
@ -3153,6 +3344,10 @@ didStartElement: (NSString*)elementName
hasValue = [currentElement attributeForKey: @"title"] != nil;
hasValue |= [currentElement attributeForKey: @"image"] != nil;
}
else if ([@"NSControlContents" isEqualToString: key])
{
hasValue = [currentElement attributeForKey: @"state"] != nil;
}
else if ([@"NSAlternateContents" isEqualToString: key])
{
hasValue = [currentElement attributeForKey: @"alternateTitle"] != nil;

View file

@ -95,6 +95,9 @@
return;
}
NSDebugLLog(@"XIB", @"First object %@", [rootObjects objectAtIndex: 0]);
NSDebugLLog(@"XIB", @"Second object %@", [rootObjects objectAtIndex: 1]);
NSDebugLLog(@"XIB", @"Third object %@", [rootObjects objectAtIndex: 2]);
// Use the owner as first root object
[(NSCustomObject*)[rootObjects objectAtIndex: 0] setRealObject: owner];
@ -142,7 +145,7 @@
- (BOOL) loadModelData: (NSData *)data
externalNameTable: (NSDictionary *)context
withZone: (NSZone *)zone;
withZone: (NSZone *)zone
{
BOOL loaded = NO;

View file

@ -0,0 +1,79 @@
/* Implementation of class NSAccessibilityCustomAction
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 15 Jun 2020 03:18:47 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#import "AppKit/NSAccessibilityCustomAction.h"
@implementation NSAccessibilityCustomAction
- (instancetype)initWithName: (NSString *)name
handler: (GSAccessibilityCustomActionHandler)handler
{
return nil;
}
- (instancetype)initWithName: (NSString *)name
target: (id)target
selector: (SEL)selector
{
return nil;
}
- (NSString *) name
{
return nil;
}
- (void) setName: (NSString *)name
{
}
- (GSAccessibilityCustomActionHandler) handler
{
return nil;
}
- (void) setHandler: (GSAccessibilityCustomActionHandler)handler
{
}
- (id) target
{
return nil;
}
- (void) setTarget: (id)target
{
}
- (SEL) selector
{
return NULL;
}
- (void) setSelector: (SEL)selector
{
}
@end

View file

@ -0,0 +1,114 @@
/* Implementation of class NSAccessibilityCustomRotor
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 15 Jun 2020 03:18:59 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#import "AppKit/NSAccessibilityCustomRotor.h"
@implementation NSAccessibilityCustomRotor
- (instancetype) initWithLabel: (NSString *)label
itemSearchDelegate: (id<NSAccessibilityCustomRotorItemSearchDelegate>)delegate
{
return nil;
}
- (instancetype) initWithRotorType: (NSAccessibilityCustomRotorType)rotorType
itemSearchDelegate: (id<NSAccessibilityCustomRotorItemSearchDelegate>)delegate
{
return nil;
}
- (NSAccessibilityCustomRotorType) type
{
return 0;
}
- (void) setType: (NSAccessibilityCustomRotorType)type
{
}
- (NSString *) label
{
return nil;
}
- (void) setLabel: (NSString *)label
{
}
- (id<NSAccessibilityCustomRotorItemSearchDelegate>) itemSearchDelegate
{
return nil;
}
- (void) setItemSearchDelegate: (id<NSAccessibilityCustomRotorItemSearchDelegate>) delegate
{
}
- (id<NSAccessibilityElementLoading>) itemLoadingDelegate
{
return nil;
}
- (void) setItemLoadingDelegate: (id<NSAccessibilityElementLoading>) delegate
{
}
@end
// Results...
@implementation NSAccessibilityCustomRotorItemResult : NSObject
- (instancetype)initWithTargetElement:(id<NSAccessibilityElement>)targetElement
{
return nil;
}
- (instancetype)initWithItemLoadingToken: (id<NSAccessibilityLoadingToken>)token
customLabel: (NSString *)customLabel
{
return nil;
}
- (id<NSAccessibilityElement>) targetElement;
{
return nil;
}
- (id<NSAccessibilityLoadingToken>) itemLoadingToken
{
return nil;
}
- (NSRange) targetRange
{
return NSMakeRange(0,NSNotFound);
}
- (NSString *) customLabel
{
return nil;
}
@end

View file

@ -0,0 +1,30 @@
/* Implementation of class NSAccessibilityCustomElement
Copyright (C) 2020 Free Software Foundation, Inc.
By: Gregory John Casamento
Date: Mon 15 Jun 2020 03:19:09 AM EDT
This file is part of the GNUstep Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110 USA.
*/
#import "AppKit/NSAccessibilityElement.h"
@implementation NSAccessibilityElement
@end

View file

@ -31,6 +31,7 @@
#import "AppKit/NSActionCell.h"
#import "AppKit/NSControl.h"
#import "GSGuiPrivate.h"
@implementation NSActionCell
@ -386,7 +387,7 @@ static Class controlClass;
}
else
{
[aCoder encodeValueOfObjCType: @encode(NSInteger) at: &_tag];
encode_NSInteger(aCoder, &_tag);
[aCoder encodeConditionalObject: _target];
[aCoder encodeValueOfObjCType: @encode(SEL) at: &_action];
// This is only encoded for backward compatibility and won't be decoded.
@ -420,11 +421,12 @@ static Class controlClass;
{
id dummy;
[aDecoder decodeValueOfObjCType: @encode(NSInteger) at: &_tag];
decode_NSInteger(aDecoder, &_tag);
_target = [aDecoder decodeObject];
[aDecoder decodeValueOfObjCType: @encode(SEL) at: &_action];
// Don't decode _control_view, as this may no longer be valid.
dummy = [aDecoder decodeObject];
[aDecoder decodeValueOfObjCType: @encode(id) at: &dummy];
RELEASE(dummy);
}
return self;

View file

@ -2005,6 +2005,10 @@ void NSBeginInformationalAlertSheet(NSString *title,
icon: _icon
title: _message_text != nil ? _message_text : _(@"Alert")
message: _informative_text != nil ? _informative_text : _(@"No information")];
if ([_buttons count] == 0)
{
[self addButtonWithTitle: @"OK"];
}
[panel setButtons: _buttons];
}
}

View file

@ -46,15 +46,30 @@
#ifndef XMD_H
#define XMD_H
#endif
/* And another so that boolean is not redefined in jmorecfg.h. */
#ifndef HAVE_BOOLEAN
#define HAVE_BOOLEAN
/* This MUST match the jpeg definition of boolean */
/* we don't redefine boolean any longer, there is an inconsistency in certain JPEG versions - this is heuristic, in case JPEG load files comment out as not needed */
#if defined(__MINGW32_VERSION)
typedef int jpeg_boolean;
#define boolean jpeg_boolean
#endif
#endif
/* Hide interface on MinGW not to interfere with MSYS2 base stuff */
#pragma push_macro("interface")
#undef interface
#define interface struct
#endif // __MINGW32__
#include <jpeglib.h>
#if defined(__MINGW32__)
#pragma pop_macro("interface")
#endif // __MINGW32__
#include <setjmp.h>
@ -398,6 +413,7 @@ static void gs_jpeg_memory_dest_destroy (j_compress_ptr cinfo)
unsigned char *imgbuffer = NULL;
BOOL isProgressive;
double x_density, y_density;
NSString *outColorSpace;
if (!(self = [super init]))
return nil;
@ -435,9 +451,17 @@ static void gs_jpeg_memory_dest_destroy (j_compress_ptr cinfo)
jpeg_read_header(&cinfo, TRUE);
/* we use RGB as target color space; others are not yet supported */
cinfo.out_color_space = JCS_RGB;
if (cinfo.jpeg_color_space == JCS_GRAYSCALE)
{
cinfo.out_color_space = JCS_GRAYSCALE;
outColorSpace = NSCalibratedWhiteColorSpace;
}
else
{
/* In all other cases we use RGB as target color space; others are not yet supported */
cinfo.out_color_space = JCS_RGB;
outColorSpace = NSCalibratedRGBColorSpace;
}
/* decompress */
jpeg_start_decompress(&cinfo);
@ -502,9 +526,9 @@ static void gs_jpeg_memory_dest_destroy (j_compress_ptr cinfo)
pixelsHigh: cinfo.output_height
bitsPerSample: BITS_IN_JSAMPLE
samplesPerPixel: cinfo.output_components
hasAlpha: (cinfo.output_components == 3 ? NO : YES)
hasAlpha: NO // JPEG has no Alpha support
isPlanar: NO
colorSpaceName: NSCalibratedRGBColorSpace
colorSpaceName: outColorSpace
bytesPerRow: rowSize
bitsPerPixel: BITS_IN_JSAMPLE * cinfo.output_components];

View file

@ -1579,9 +1579,8 @@
*/
- (void) encodeWithCoder: (NSCoder*)aCoder
{
BOOL tmp;
[super encodeWithCoder: aCoder];
if ([aCoder allowsKeyedCoding])
{
GSButtonCellFlags buttonCellFlags;
@ -1695,6 +1694,9 @@
}
else
{
BOOL tmp;
NSUInteger tmp2;
[aCoder encodeObject: _keyEquivalent];
[aCoder encodeObject: _keyEquivalentFont];
[aCoder encodeObject: _altContents];
@ -1703,42 +1705,28 @@
[aCoder encodeValueOfObjCType: @encode(BOOL)
at: &tmp];
if([NSButtonCell version] <= 2)
{
unsigned int ke = _keyEquivalentModifierMask << 16;
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &ke];
}
else
{
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &_keyEquivalentModifierMask];
}
encode_NSUInteger(aCoder, &_keyEquivalentModifierMask);
tmp2 = _highlightsByMask;
encode_NSUInteger(aCoder, &tmp2);
tmp2 = _showAltStateMask;
encode_NSUInteger(aCoder, &tmp2);
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &_highlightsByMask];
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &_showAltStateMask];
if([NSButtonCell version] >= 2)
{
[aCoder encodeObject: _sound];
[aCoder encodeObject: _backgroundColor];
[aCoder encodeValueOfObjCType: @encode(float)
at: &_delayInterval];
[aCoder encodeValueOfObjCType: @encode(float)
at: &_repeatInterval];
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &_bezel_style];
[aCoder encodeValueOfObjCType: @encode(unsigned int)
at: &_gradient_type];
tmp = _image_dims_when_disabled;
[aCoder encodeValueOfObjCType: @encode(BOOL)
at: &tmp];
tmp = _shows_border_only_while_mouse_inside;
[aCoder encodeValueOfObjCType: @encode(BOOL)
at: &tmp];
}
[aCoder encodeObject: _sound];
[aCoder encodeObject: _backgroundColor];
[aCoder encodeValueOfObjCType: @encode(float)
at: &_delayInterval];
[aCoder encodeValueOfObjCType: @encode(float)
at: &_repeatInterval];
tmp2 = _bezel_style;
encode_NSUInteger(aCoder, &tmp2);
tmp2 = _gradient_type;
encode_NSUInteger(aCoder, &tmp2);
tmp = _image_dims_when_disabled;
[aCoder encodeValueOfObjCType: @encode(BOOL)
at: &tmp];
tmp = _shows_border_only_while_mouse_inside;
[aCoder encodeValueOfObjCType: @encode(BOOL)
at: &tmp];
}
}
@ -1885,27 +1873,32 @@
else
{
BOOL tmp;
NSUInteger tmp2;
int version = [aDecoder versionForClassName: @"NSButtonCell"];
NSString *key = nil;
[aDecoder decodeValueOfObjCType: @encode(id) at: &key];
[self setKeyEquivalent: key]; // Set the key equivalent...
// Hack to correct a Gorm problem, there "\n" is used instead of "\r".
if ([key isEqualToString: @"\n" ])
{
key = @"\r";
}
[self setKeyEquivalent: key];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_keyEquivalentFont];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_altContents];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_altImage];
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &tmp];
_buttoncell_is_transparent = tmp;
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &_keyEquivalentModifierMask];
decode_NSUInteger(aDecoder, &_keyEquivalentModifierMask);
if (version <= 2)
{
_keyEquivalentModifierMask = _keyEquivalentModifierMask << 16;
}
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &_highlightsByMask];
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &_showAltStateMask];
decode_NSUInteger(aDecoder, &tmp2);
_highlightsByMask = (NSInteger)tmp2;
decode_NSUInteger(aDecoder, &tmp2);
_showAltStateMask = (NSInteger)tmp2;
if (version >= 2)
{
@ -1913,10 +1906,10 @@
[aDecoder decodeValueOfObjCType: @encode(id) at: &_backgroundColor];
[aDecoder decodeValueOfObjCType: @encode(float) at: &_delayInterval];
[aDecoder decodeValueOfObjCType: @encode(float) at: &_repeatInterval];
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &_bezel_style];
[aDecoder decodeValueOfObjCType: @encode(unsigned int)
at: &_gradient_type];
decode_NSUInteger(aDecoder, &tmp2);
_bezel_style = (NSBezelStyle)tmp2;
decode_NSUInteger(aDecoder, &tmp2);
_gradient_type = (NSGradientType)tmp2;
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &tmp];
_image_dims_when_disabled = tmp;
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &tmp];
@ -1926,12 +1919,6 @@
_imageScaling = NSImageScaleNone;
}
// Hack to correct a Gorm problem, there "\n" is used instead of "\r".
if ([_keyEquivalent isEqualToString: @"\n" ])
{
[self setKeyEquivalent: @"\r"];
}
return self;
}

View file

@ -2524,7 +2524,7 @@ static NSColor *dtxtCol;
else
{
BOOL flag;
unsigned int tmp_int;
NSUInteger tmp_uint;
[aCoder encodeObject: _contents];
[aCoder encodeObject: _cell_image];
@ -2566,39 +2566,39 @@ static NSColor *dtxtCol;
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag];
flag = [self wraps];
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag];
tmp_int = _cell.text_align;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.type;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.image_position;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.entry_type;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_uint = _cell.text_align;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.type;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.image_position;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.entry_type;
encode_NSUInteger(aCoder, &tmp_uint);
// FIXME: State may be -1, why do we encode it as unsigned?
tmp_int = _cell.state;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.mnemonic_location;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
[aCoder encodeValueOfObjCType: @encode(NSUInteger) at: &_mouse_down_flags];
[aCoder encodeValueOfObjCType: @encode(NSUInteger) at: &_action_mask];
tmp_uint = _cell.state;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.mnemonic_location;
encode_NSUInteger(aCoder, &tmp_uint);
encode_NSUInteger(aCoder, &_mouse_down_flags);
encode_NSUInteger(aCoder, &_action_mask);
[aCoder encodeValueOfObjCType: @encode(id) at: &_formatter];
[aCoder encodeValueOfObjCType: @encode(id) at: &_menu];
[aCoder encodeValueOfObjCType: @encode(id) at: &_represented_object];
tmp_int = _cell.allows_undo;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.line_break_mode;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.control_tint;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.control_size;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.focus_ring_type;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.base_writing_direction;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_int = _cell.uses_single_line_mode;
[aCoder encodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
tmp_uint = _cell.allows_undo;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.line_break_mode;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.control_tint;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.control_size;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.focus_ring_type;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.base_writing_direction;
encode_NSUInteger(aCoder, &tmp_uint);
tmp_uint = _cell.uses_single_line_mode;
encode_NSUInteger(aCoder, &tmp_uint);
}
}
@ -2647,7 +2647,16 @@ static NSColor *dtxtCol;
[self setSelectable: ((cFlags & 0x200000) == 0x200000)];
[self setBezeled: ((cFlags & 0x400000) == 0x400000)];
[self setBordered: ((cFlags & 0x800000) == 0x800000)];
[self setType: ((cFlags & 0xC000000) >> 26)];
if (contents == nil)
{
//
// If the contents aren't set (the contents determine the type),
// get it from the flags. This prevents the type from being
// accidentally reset on some platforms (mainly WIN32) after
// the contents are set.
//
[self setType: ((cFlags & 0xC000000) >> 26)];
}
[self setEditable: ((cFlags & 0x10000000) == 0x10000000)];
// This bit flag is the other way around!
[self setEnabled: ((cFlags & 0x20000000) != 0x20000000)];
@ -2693,7 +2702,7 @@ static NSColor *dtxtCol;
else
{
BOOL flag, wraps;
unsigned int tmp_int;
NSUInteger tmp_uint;
id formatter, menu;
int version = [aDecoder versionForClassName: @"NSCell"];
@ -2736,21 +2745,20 @@ static NSColor *dtxtCol;
/* The wraps attribute has been superseded by lineBreakMode. However,
we may need it to set lineBreakMode when reading old archives. */
wraps = flag;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.text_align = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.type = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.image_position = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.entry_type = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.state = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.mnemonic_location = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(NSUInteger)
at: &_mouse_down_flags];
[aDecoder decodeValueOfObjCType: @encode(NSUInteger) at: &_action_mask];
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.text_align = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.type = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.image_position = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.entry_type = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.state = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.mnemonic_location = tmp_uint;
decode_NSUInteger(aDecoder, &_mouse_down_flags);
decode_NSUInteger(aDecoder, &_action_mask);
if (version < 3)
{
unsigned int mask = 0;
@ -2864,18 +2872,18 @@ static NSColor *dtxtCol;
if (version >= 2)
{
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.allows_undo = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.line_break_mode = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.control_tint = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.control_size = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.focus_ring_type = tmp_int;
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.base_writing_direction = tmp_int;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.allows_undo = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.line_break_mode = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.control_tint = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.control_size = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.focus_ring_type = tmp_uint;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.base_writing_direction = tmp_uint;
}
else
{
@ -2886,8 +2894,8 @@ static NSColor *dtxtCol;
if (version >= 4)
{
[aDecoder decodeValueOfObjCType: @encode(unsigned int) at: &tmp_int];
_cell.uses_single_line_mode = tmp_int;
decode_NSUInteger(aDecoder, &tmp_uint);
_cell.uses_single_line_mode = tmp_uint;
}
}

View file

@ -23,8 +23,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; see the file COPYING.LIB.
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
If not, see <http://www.gnu.org/licenses/> or write to the
Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
@ -248,7 +248,7 @@ void initSystemColors(void)
black, @"toolTipTextColor",
nil];
systemColors = RETAIN([NSColorList colorListNamed: @"System"]);
defaultSystemColors = [[NSColorList alloc] initWithName: @"System"];
[NSColorList _setDefaultSystemColorList: defaultSystemColors];
@ -264,8 +264,8 @@ void initSystemColors(void)
// Set up default system colors
enumerator = [colorStrings keyEnumerator];
while ((key = (NSString *)[enumerator nextObject]))
while ((key = (NSString *)[enumerator nextObject]))
{
NSColor *color;
@ -343,7 +343,7 @@ systemColorWithName(NSString *name)
}
}
/**<p>Creates and returns a new NSColor in a NSCalibratedRGBColorSpace space
/**<p>Creates and returns a new NSColor in a NSCalibratedRGBColorSpace space
name, with hue, saturation, brightness and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -363,8 +363,18 @@ systemColorWithName(NSString *name)
return AUTORELEASE(color);
}
+ (NSColor *)colorWithHue:(CGFloat)hue
saturation:(CGFloat)saturation
brightness:(CGFloat)brightness
alpha:(CGFloat)alpha
{
return [self colorWithCalibratedHue: hue
saturation: saturation
brightness: brightness
alpha: alpha];
}
/**<p>Creates and returns a new NSColor in a NSCalibratedRGBColorSpace space
/**<p>Creates and returns a new NSColor in a NSCalibratedRGBColorSpace space
name, with red, green, blue and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -384,7 +394,7 @@ systemColorWithName(NSString *name)
}
/**<p>Creates and returns a new NSColor in a NSCalibratedWhiteColorSpace space
/**<p>Creates and returns a new NSColor in a NSCalibratedWhiteColorSpace space
name, with red, green, blue and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -400,6 +410,21 @@ systemColorWithName(NSString *name)
return AUTORELEASE(color);
}
+ (NSColor *)colorWithWhite:(CGFloat)white
alpha:(CGFloat)alpha
{
return [self colorWithCalibratedWhite: white
alpha: alpha];
}
+ (NSColor *)colorWithGenericGamma22White:(CGFloat)white
alpha:(CGFloat)alpha
{
// FIXME
return [self colorWithCalibratedWhite: white
alpha: alpha];
}
/**
* <p> TODO </p>
*/
@ -415,7 +440,7 @@ systemColorWithName(NSString *name)
return AUTORELEASE(color);
}
/**<p>Creates and returns a new NSColor in a NSDeviceCMYKColorSpace space
/**<p>Creates and returns a new NSColor in a NSDeviceCMYKColorSpace space
name, with cyan, magenta, yellow, black and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -438,7 +463,7 @@ systemColorWithName(NSString *name)
}
/**<p>Creates and returns a new NSColor in a NSDeviceCMYKColorSpace space
/**<p>Creates and returns a new NSColor in a NSDeviceCMYKColorSpace space
name, with hue, saturation, brightness and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -458,7 +483,7 @@ systemColorWithName(NSString *name)
return AUTORELEASE(color);
}
/**<p>Creates and returns a new NSColor in a NSDeviceCMYKColorSpace space
/**<p>Creates and returns a new NSColor in a NSDeviceCMYKColorSpace space
name, with red, green, blue and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -478,7 +503,52 @@ systemColorWithName(NSString *name)
return AUTORELEASE(color);
}
/**<p>Creates and returns a new NSColor in a NSDeviceWhiteColorSpace space
+ (NSColor *) colorWithSRGBRed: (CGFloat)red
green: (CGFloat)green
blue: (CGFloat)blue
alpha: (CGFloat)alpha
{
// FIXME
return [self colorWithCalibratedRed: red
green: green
blue: blue
alpha: alpha];
}
+ (NSColor *)colorWithDisplayP3Red:(CGFloat)red
green:(CGFloat)green
blue:(CGFloat)blue
alpha:(CGFloat)alpha
{
// FIXME
return [self colorWithCalibratedRed: red
green: green
blue: blue
alpha: alpha];
}
+ (NSColor *) colorWithRed: (CGFloat)red
green: (CGFloat)green
blue: (CGFloat)blue
alpha: (CGFloat)alpha
{
if (red < 0.0 || red > 1.0 || green < 0.0 || green > 1.0 || blue < 0.0 || blue > 1.0)
{
return [self colorWithSRGBRed: red
green: green
blue: blue
alpha: alpha];
}
else
{
return [self colorWithCalibratedRed: red
green: green
blue: blue
alpha: alpha];
}
}
/**<p>Creates and returns a new NSColor in a NSDeviceWhiteColorSpace space
name, with red, green, blue and alpha as specified. Valid values
are the range 0.0 to 1.0. Out of range values will be clipped.</p>
*/
@ -499,7 +569,7 @@ systemColorWithName(NSString *name)
switch (controlTint)
{
default:
case NSDefaultControlTint:
case NSDefaultControlTint:
return [self colorForControlTint: [self currentControlTint]];
case NSGraphiteControlTint:
// FIXME
@ -526,6 +596,19 @@ systemColorWithName(NSString *name)
return AUTORELEASE(color);
}
+ (NSColor *)colorWithColorSpace:(NSColorSpace *)space
hue:(CGFloat)hue
saturation:(CGFloat)saturation
brightness:(CGFloat)brightness
alpha:(CGFloat)alpha
{
// FIXME
return [self colorWithCalibratedHue: hue
saturation: saturation
brightness: brightness
alpha: alpha];
}
/**<p>Returns a NSColor in a NSCalibratedWhiteColorSpace space name.
with white and alpha values set as NSBlack and 1.0 respectively.</p>
@ -695,6 +778,54 @@ systemColorWithName(NSString *name)
alpha: 1.0];
}
+ (NSColor *)systemBlueColor
{
return [self blueColor];
}
+ (NSColor *)systemBrownColor
{
return [self brownColor];
}
+ (NSColor *)systemGrayColor
{
return [self grayColor];
}
+ (NSColor *)systemGreenColor
{
return [self greenColor];
}
+ (NSColor *)systemOrangeColor
{
return [self orangeColor];
}
+ (NSColor *)systemPinkColor
{
return [self colorWithCalibratedRed: 1.0
green: 0.8
blue: 0.8
alpha: 1.0];
}
+ (NSColor *)systemPurpleColor
{
return [self purpleColor];
}
+ (NSColor *)systemRedColor
{
return [self redColor];
}
+ (NSColor *)systemYellowColor
{
return [self yellowColor];
}
/** Returns whether TODO
*<p>See Also: +setIgnoresAlpha:</p>
@ -899,7 +1030,7 @@ systemColorWithName(NSString *name)
return systemColorWithName(@"toolTipTextColor");
}
+ (NSColor *)windowBackgroundColor
+ (NSColor *) windowBackgroundColor
{
return systemColorWithName(@"windowBackgroundColor");
}
@ -916,10 +1047,20 @@ systemColorWithName(NSString *name)
+ (NSArray*) controlAlternatingRowBackgroundColors
{
return [NSArray arrayWithObjects: systemColorWithName(@"rowBackgroundColor"),
return [NSArray arrayWithObjects: systemColorWithName(@"rowBackgroundColor"),
systemColorWithName(@"alternateRowBackgroundColor"), nil];
}
+ (NSColor *)systemIndigoColor
{
return nil;
}
+ (NSColor *)systemTealColor
{
return nil;
}
////////////////////////////////////////////////////////////
//
// Instance methods
@ -984,7 +1125,7 @@ systemColorWithName(NSString *name)
}
/**<p>Gets the white alpha values from the NSColor.
Raises a NSInternalInconsistencyException if the NSColor is not a
Raises a NSInternalInconsistencyException if the NSColor is not a
greyscale color</p>
*/
- (void) getWhite: (CGFloat*)white
@ -1034,7 +1175,7 @@ systemColorWithName(NSString *name)
return 0.0;
}
/** <p>Returns the brightness component. Raises a
/** <p>Returns the brightness component. Raises a
NSInternalInconsistencyException if NSColor space is not a RGB color</p>
*/
- (CGFloat) brightnessComponent
@ -1058,7 +1199,7 @@ systemColorWithName(NSString *name)
return nil;
}
/** <p>Returns the cyan component. Raises a NSInternalInconsistencyException
/** <p>Returns the cyan component. Raises a NSInternalInconsistencyException
if NSColor is not a CYMK color</p>
*/
- (CGFloat) cyanComponent
@ -1068,7 +1209,7 @@ systemColorWithName(NSString *name)
return 0.0;
}
/** <p>Returns the green component. Raises a NSInternalInconsistencyException
/** <p>Returns the green component. Raises a NSInternalInconsistencyException
if NSColor is not a RGB color</p>
*/
- (CGFloat) greenComponent
@ -1078,7 +1219,7 @@ systemColorWithName(NSString *name)
return 0.0;
}
/** <p>Returns the hue component. Raises a NSInternalInconsistencyException
/** <p>Returns the hue component. Raises a NSInternalInconsistencyException
if NSColor is not a RGB color</p>
*/
- (CGFloat) hueComponent
@ -1102,7 +1243,7 @@ systemColorWithName(NSString *name)
return nil;
}
/** <p>Returns the magenta component. Raises a
/** <p>Returns the magenta component. Raises a
NSInternalInconsistencyException if NSColor is not a CMYK color</p>
*/
- (CGFloat) magentaComponent
@ -1112,7 +1253,7 @@ systemColorWithName(NSString *name)
return 0.0;
}
/** <p>Returns the red component. Raises a NSInternalInconsistencyException
/** <p>Returns the red component. Raises a NSInternalInconsistencyException
if NSColor is not a RGB color</p>
*/
- (CGFloat) redComponent
@ -1132,7 +1273,7 @@ systemColorWithName(NSString *name)
return 0.0;
}
/** <p>Returns the white component. Raises a NSInternalInconsistencyException
/** <p>Returns the white component. Raises a NSInternalInconsistencyException
if NSColor is not a grayscale color</p>
*/
- (CGFloat) whiteComponent
@ -1205,48 +1346,48 @@ systemColorWithName(NSString *name)
count: (NSInteger)number
{
// FIXME
if (space == [NSColorSpace genericRGBColorSpace] && (number == 4))
if (space == [NSColorSpace genericRGBColorSpace] && (number == 4))
{
return [self colorWithCalibratedRed: comp[0]
green: comp[1]
blue: comp[2]
alpha: comp[3]];
}
if (space == [NSColorSpace deviceRGBColorSpace] && (number == 4))
if (space == [NSColorSpace deviceRGBColorSpace] && (number == 4))
{
return [self colorWithDeviceRed: comp[0]
green: comp[1]
blue: comp[2]
alpha: comp[3]];
}
if (space == [NSColorSpace genericGrayColorSpace] && (number == 2))
if (space == [NSColorSpace genericGrayColorSpace] && (number == 2))
{
return [NSColor colorWithCalibratedWhite: comp[0] alpha: comp[1]];
}
if (space == [NSColorSpace deviceGrayColorSpace] && (number == 2))
if (space == [NSColorSpace deviceGrayColorSpace] && (number == 2))
{
return [NSColor colorWithDeviceWhite: comp[0] alpha: comp[1]];
}
if (space == [NSColorSpace genericCMYKColorSpace] && (number == 5))
if (space == [NSColorSpace genericCMYKColorSpace] && (number == 5))
{
return [NSColor colorWithDeviceCyan: comp[0]
return [NSColor colorWithDeviceCyan: comp[0]
magenta: comp[1]
yellow: comp[2]
black: comp[3]
yellow: comp[2]
black: comp[3]
alpha: comp[4]];
}
if (space == [NSColorSpace deviceCMYKColorSpace] && (number == 5))
if (space == [NSColorSpace deviceCMYKColorSpace] && (number == 5))
{
return [NSColor colorWithDeviceCyan: comp[0]
return [NSColor colorWithDeviceCyan: comp[0]
magenta: comp[1]
yellow: comp[2]
black: comp[3]
yellow: comp[2]
black: comp[3]
alpha: comp[4]];
}
return nil;
}
/*
FIXME: This method does it the wrong way around. We should store the
actual colour space and get the colour space name from there.
@ -1284,7 +1425,7 @@ systemColorWithName(NSString *name)
switch ([space colorSpaceModel])
{
default:
case NSUnknownColorSpaceModel:
case NSUnknownColorSpaceModel:
return nil;
case NSGrayColorSpaceModel:
colorSpaceName = NSDeviceWhiteColorSpace;
@ -1304,6 +1445,25 @@ systemColorWithName(NSString *name)
device: nil];
}
- (NSColorType)type
{
return NSColorTypeComponentBased;
}
- (NSColor *)colorUsingType:(NSColorType)type
{
if (type == [self type])
{
return self;
}
return nil;
}
- (NSColor *)colorWithSystemEffect:(NSColorSystemEffect)systemEffect
{
return nil;
}
- (NSUInteger) hash
{
int nums = [self numberOfComponents];
@ -1413,7 +1573,7 @@ systemColorWithName(NSString *name)
[triangle moveToPoint: NSMakePoint(rect.origin.x,
rect.origin.y + rect.size.height)];
[triangle lineToPoint: NSMakePoint(rect.origin.x + rect.size.width,
[triangle lineToPoint: NSMakePoint(rect.origin.x + rect.size.width,
rect.origin.y + rect.size.height)];
[triangle lineToPoint: rect.origin];
[triangle closePath];
@ -1472,12 +1632,12 @@ systemColorWithName(NSString *name)
double alpha = 1.0;
NSString *str;
NSScanner *scanner;
if ([aDecoder containsValueForKey: @"NSRGB"])
{
data = [aDecoder decodeBytesForKey: @"NSRGB"
returnedLength: &length];
str = [[NSString alloc] initWithCString: (const char*)data
returnedLength: &length];
str = [[NSString alloc] initWithCString: (const char*)data
length: length];
scanner = [[NSScanner alloc] initWithString: str];
[scanner scanDouble: &red];
@ -1511,12 +1671,12 @@ systemColorWithName(NSString *name)
double alpha = 1.0;
NSString *str;
NSScanner *scanner;
if ([aDecoder containsValueForKey: @"NSWhite"])
{
data = [aDecoder decodeBytesForKey: @"NSWhite"
returnedLength: &length];
str = [[NSString alloc] initWithCString: (const char*)data
returnedLength: &length];
str = [[NSString alloc] initWithCString: (const char*)data
length: length];
scanner = [[NSScanner alloc] initWithString: str];
[scanner scanDouble: &white];
@ -1524,7 +1684,7 @@ systemColorWithName(NSString *name)
RELEASE(scanner);
RELEASE(str);
}
if (colorSpace == 3)
{
self = RETAIN([NSColor colorWithCalibratedWhite: white
@ -1547,12 +1707,12 @@ systemColorWithName(NSString *name)
double alpha = 1.0;
NSString *str;
NSScanner *scanner;
if ([aDecoder containsValueForKey: @"NSCYMK"])
{
data = [aDecoder decodeBytesForKey: @"NSCYMK"
returnedLength: &length];
str = [[NSString alloc] initWithCString: (const char*)data
returnedLength: &length];
str = [[NSString alloc] initWithCString: (const char*)data
length: length];
scanner = [[NSScanner alloc] initWithString: str];
[scanner scanDouble: &cyan];
@ -1575,17 +1735,17 @@ systemColorWithName(NSString *name)
NSString *catalog = [aDecoder decodeObjectForKey: @"NSCatalogName"];
NSString *name = [aDecoder decodeObjectForKey: @"NSColorName"];
//NSColor *color = [aDecoder decodeObjectForKey: @"NSColor"];
self = RETAIN([NSColor colorWithCatalogName: catalog
colorName: name]);
}
else if (colorSpace == 10)
{
NSImage *image = [aDecoder decodeObjectForKey: @"NSImage"];
self = RETAIN([NSColor colorWithPatternImage: image]);
}
return self;
}
else if ([aDecoder versionForClassName: @"NSColor"] < 3)
@ -1886,6 +2046,7 @@ systemColorWithName(NSString *name)
NSColorList *list = [theme colors];
NSEnumerator *enumerator;
NSString *name;
NSString *key;
if (list == nil)
{
@ -1905,6 +2066,22 @@ systemColorWithName(NSString *name)
{
[[systemDict objectForKey: name] recache];
}
if (list != defaultSystemColors)
{
// Check that all default colours are definied in the theme
enumerator = [colorStrings keyEnumerator];
while ((key = [enumerator nextObject]) != nil)
{
if ([list colorWithKey: key] == nil)
{
// Add missing colours from the default system colour list
NSColor *color = [defaultSystemColors colorWithKey: key];
[list setColor: color forKey: key];
}
}
}
[[NSNotificationCenter defaultCenter]
postNotificationName: NSSystemColorsDidChangeNotification object: nil];
}
@ -2011,6 +2188,11 @@ static NSRecursiveLock *namedColorLock = nil;
return NSLocalizedString(_color_name, @"colour name");
}
- (NSColorType)type
{
return NSColorTypeCatalog;
}
- (NSUInteger) hash
{
return [_catalog_name hash] + [_color_name hash];
@ -2057,6 +2239,10 @@ static NSRecursiveLock *namedColorLock = nil;
{
list = [NSColorList colorListNamed: _catalog_name];
real = [list colorWithKey: _color_name];
if (real == nil)
{
NSLog(@"Missing colour '%@' in colour list '%@'", _color_name, _catalog_name);
}
ASSIGN(_cached_color, [real colorUsingColorSpaceName: colorSpace
device: deviceDescription]);
ASSIGN(_cached_name_space, colorSpace);
@ -2086,7 +2272,7 @@ static NSRecursiveLock *namedColorLock = nil;
[aCoder encodeObject: _catalog_name forKey: @"NSCatalogName"];
[aCoder encodeObject: _color_name forKey: @"NSColorName"];
}
else
else
{
[aCoder encodeObject: [self colorSpaceName]];
[aCoder encodeObject: _catalog_name];
@ -2098,7 +2284,7 @@ static NSRecursiveLock *namedColorLock = nil;
{
NSString *listName;
NSString *colorName;
listName = [aDecoder decodeObject];
colorName = [aDecoder decodeObject];
return [self initWithCatalogName: listName
@ -2288,12 +2474,12 @@ static NSRecursiveLock *namedColorLock = nil;
{
str = [[NSString alloc] initWithFormat: @"%g %g", (double)_white_component, (double)_alpha_component];
}
[aCoder encodeBytes: (const uint8_t*)[str cString]
length: [str cStringLength]
[aCoder encodeBytes: (const uint8_t*)[str cString]
length: [str cStringLength]
forKey: @"NSWhite"];
RELEASE(str);
}
else
else
{
float white = _white_component;
float alpha = _alpha_component;
@ -2600,22 +2786,22 @@ static NSRecursiveLock *namedColorLock = nil;
[aCoder encodeInt: 5 forKey: @"NSColorSpace"];
if (_alpha_component == 1.0)
{
str = [[NSString alloc] initWithFormat: @"%g %g %g %g", (double)_cyan_component,
str = [[NSString alloc] initWithFormat: @"%g %g %g %g", (double)_cyan_component,
(double)_magenta_component, (double)_yellow_component,
(double)_black_component];
}
else
{
str = [[NSString alloc] initWithFormat: @"%g %g %g %g %g", (double)_cyan_component,
str = [[NSString alloc] initWithFormat: @"%g %g %g %g %g", (double)_cyan_component,
(double)_magenta_component, (double)_yellow_component,
(double)_black_component, (double)_alpha_component];
}
[aCoder encodeBytes: (const uint8_t*)[str cString]
length: [str cStringLength]
[aCoder encodeBytes: (const uint8_t*)[str cString]
length: [str cStringLength]
forKey: @"NSCYMK"];
RELEASE(str);
}
else
else
{
float c = _cyan_component;
float m = _magenta_component;
@ -2878,7 +3064,7 @@ static NSRecursiveLock *namedColorLock = nil;
int num = [self numberOfComponents];
CGFloat values[num];
NSGraphicsContext *ctxt = GSCurrentContext();
[ctxt GSSetFillColorspace: [self colorSpace]];
[self getComponents: values];
[ctxt GSSetFillColor: values];
@ -2889,7 +3075,7 @@ static NSRecursiveLock *namedColorLock = nil;
int num = [self numberOfComponents];
CGFloat values[num];
NSGraphicsContext *ctxt = GSCurrentContext();
[ctxt GSSetStrokeColorspace: [self colorSpace]];
[self getComponents: values];
[ctxt GSSetStrokeColor: values];
@ -2915,21 +3101,21 @@ static NSRecursiveLock *namedColorLock = nil;
if (_alpha_component == 1.0)
{
str = [[NSString alloc] initWithFormat: @"%g %g %g", (double)_red_component,
str = [[NSString alloc] initWithFormat: @"%g %g %g", (double)_red_component,
(double)_green_component, (double)_blue_component];
}
else
{
str = [[NSString alloc] initWithFormat: @"%g %g %g %g", (double)_red_component,
str = [[NSString alloc] initWithFormat: @"%g %g %g %g", (double)_red_component,
(double)_green_component, (double)_blue_component,
(double)_alpha_component];
}
[aCoder encodeBytes: (const uint8_t*)[str cString]
length: [str cStringLength]
[aCoder encodeBytes: (const uint8_t*)[str cString]
length: [str cStringLength]
forKey: @"NSRGB"];
RELEASE(str);
}
else
else
{
float red = _red_component;
float green = _green_component;
@ -3248,6 +3434,11 @@ static NSRecursiveLock *namedColorLock = nil;
return _pattern;
}
- (NSColorType)type
{
return NSColorTypePattern;
}
- (NSString*) description
{
NSMutableString *desc;
@ -3310,7 +3501,7 @@ static NSRecursiveLock *namedColorLock = nil;
[aCoder encodeInt: 10 forKey: @"NSColorSpace"];
[aCoder encodeObject: _pattern forKey: @"NSImage"];
}
else
else
{
[aCoder encodeObject: [self colorSpaceName]];
[aCoder encodeObject: _pattern];

View file

@ -1546,7 +1546,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
if ([coder allowsKeyedCoding])
{
[coder encodeBool: [self hasVerticalScroller] forKey: @"NSHasVerticalScroller"];
[coder encodeInt: [self numberOfVisibleItems] forKey: @"NSVisibleItemCount"];
[coder encodeInteger: [self numberOfVisibleItems] forKey: @"NSVisibleItemCount"];
[coder encodeBool: [self completes] forKey: @"NSCompletes"];
[coder encodeDouble: _intercellSpacing.width forKey: @"NSIntercellSpacingWidth"];
[coder encodeDouble: _intercellSpacing.height forKey: @"NSIntercellSpacingHeight"];
@ -1562,10 +1562,10 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
[coder encodeValueOfObjCType: @encode(BOOL) at: &_hasVerticalScroller];
[coder encodeValueOfObjCType: @encode(BOOL) at: &_completes];
[coder encodeValueOfObjCType: @encode(BOOL) at: &_usesDataSource];
[coder encodeValueOfObjCType: @encode(int) at: &_visibleItems];
encode_NSInteger(coder, &_visibleItems);
[coder encodeValueOfObjCType: @encode(NSSize) at: &_intercellSpacing];
[coder encodeValueOfObjCType: @encode(float) at: &_itemHeight];
[coder encodeValueOfObjCType: @encode(int) at: &_selectedItem];
encode_NSInteger(coder, &_selectedItem);
if (_usesDataSource == YES)
[coder encodeConditionalObject: _dataSource];
@ -1596,7 +1596,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
}
if ([aDecoder containsValueForKey: @"NSVisibleItemCount"])
{
[self setNumberOfVisibleItems: [aDecoder decodeIntForKey:
[self setNumberOfVisibleItems: [aDecoder decodeIntegerForKey:
@"NSVisibleItemCount"]];
}
if ([aDecoder containsValueForKey: @"NSCompletes"])
@ -1649,10 +1649,10 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_hasVerticalScroller];
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_completes];
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &dummy];
[aDecoder decodeValueOfObjCType: @encode(int) at: &_visibleItems];
decode_NSInteger(aDecoder, &_visibleItems);
[aDecoder decodeValueOfObjCType: @encode(NSSize) at: &_intercellSpacing];
[aDecoder decodeValueOfObjCType: @encode(float) at: &_itemHeight];
[aDecoder decodeValueOfObjCType: @encode(int) at: &_selectedItem];
decode_NSInteger(aDecoder, &_selectedItem);
if (_usesDataSource == YES)
[self setDataSource: [aDecoder decodeObject]];

View file

@ -50,6 +50,7 @@
#import "AppKit/NSWindow.h"
#import "GSBindingHelpers.h"
#import "NSViewPrivate.h"
#import "GSGuiPrivate.h"
/*
* Class variables
@ -993,7 +994,7 @@ static NSNotificationCenter *nc;
}
else
{
[aCoder encodeValueOfObjCType: @encode(int) at: &_tag];
encode_NSInteger(aCoder, &_tag);
[aCoder encodeObject: _cell];
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &_ignoresMultiClick];
}
@ -1038,7 +1039,7 @@ static NSNotificationCenter *nc;
}
else
{
[aDecoder decodeValueOfObjCType: @encode(int) at: &_tag];
decode_NSInteger(aDecoder, &_tag);
[aDecoder decodeValueOfObjCType: @encode(id) at: &_cell];
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_ignoresMultiClick];
}

View file

@ -955,7 +955,9 @@ TypeInfoForHumanReadableName (NSArray *types, NSString *typeName)
- (IBAction) openDocument: (id)sender
{
#if !__has_feature(blocks)
NSError *err = nil;
#endif
NSEnumerator *urlEnum;
NSURL *url;

Some files were not shown because too many files have changed in this diff Show more