Commit graph

5438 commits

Author SHA1 Message Date
Gregory John Casamento
9da764d217 Add ChangeLog entry. 2020-04-26 10:58:06 -04:00
Gregory John Casamento
8263947de1 Minor change in ChangeLog to force recompile 2020-04-14 21:48:21 -04:00
Gregory Casamento
bd470fa75c
Merge branch 'master' into mac_specific 2020-04-14 08:13:05 -04:00
Ivan Vučica
fb006b8992
documentation: Standardize announcement file text.
Normalize the accompanying text for the release announcement across
core packages: standardize chapter name and GPG information.
2020-04-13 23:37:10 +01:00
Gregory John Casamento
c5d56a6f87 Add changelog for new changes. 2020-04-13 18:34:46 -04:00
Ivan Vučica
5a0d731da5
release-chore: Update docs for 0.28.0 release. 2020-04-05 21:04:40 +01:00
Wolfgang Lux
9afab3aaf8 Change arguments names to reduce confusion about their intended use 2020-04-01 13:15:48 +02:00
Wolfgang Lux
b42691c160 Remove redundant calls to close method. 2020-04-01 12:57:37 +02:00
Wolfgang Lux
88e318e5e8 Restore call to delegate method which was lost a while ago. 2020-04-01 12:55:53 +02:00
fredkiefer
928e44b65c * Documentation/news.texi: Started to fill in some details for
pending release.
2020-03-26 22:23:37 +01:00
Sergii Stoian
70a001d17f * Model/GNUmakefile: do not overwrite ADDITIONAL_INCLUDE_DIRS
value to help RPM build. In spec file ADDITIONAL_INCLUDE_DIRS can be sat
  to subdirectories which are create by RPM build tool.
2020-03-12 11:55:25 +02:00
Sergii Stoian
a61aa9f68f * Source/NSWindow.m (_applyFrame:): new helper method to do actual
resizing and repositionning.
  (setFrame:display:): use _applyFrame method.
  (applicationDidChangeScreenParameters:): use _applyFrame: method.
2020-03-05 23:27:31 +02:00
Sergii Stoian
3f85f86f3b * Source/NSScreen.m: remove +screen comment - not ready yet. 2020-03-05 12:25:56 +02:00
Sergii Stoian
96a3579e98 * Source/NSWindow.m (applicationDidChangeScreenParameters:):
Call backend's `placewindow::` directly because our origin in OpenStep
  coordinates might left unchanged and `setFrame:display:` has check
  for it.
2020-03-05 02:21:26 +02:00
Sergii Stoian
6d4afe9678 Merge branch 'master' into randr
Conflicts:
	ChangeLog
2020-03-05 02:19:23 +02:00
Sergii Stoian
fcbb4d704b * Source/NSWindow.m (center): always center window on main screen -
monitor where user expects to see window.
2020-02-28 02:18:20 +02:00
Sergii Stoian
f460e3f875 * Source/NSWindow.m (sendEvent:): removed usage of extra local variables
in GSAppKitWindowMoved code block.
2020-02-26 02:05:34 +02:00
Sergii Stoian
216d1f086f Merge branch 'master' into randr
Conflicts:
	ChangeLog
2020-02-23 23:38:36 +02:00
Sergii Stoian
1bf4d59016 * Update ChangeLog 2020-02-23 23:35:27 +02:00
fredkiefer
3db981a95d Move more behaviour from the IBActionConnection5 and IBOutletConnection5
classes to the original ones.
2020-02-23 18:22:21 +01:00
fredkiefer
078d10774c * .travis.yml
* travis-deps.sh: Try to keep up with Niels' changes in base.
2020-02-23 18:17:33 +01:00
Sergii Stoian
c0c5cad292 Merge branch 'master' into randr
Conflicts:
	ChangeLog
2020-02-23 03:04:19 +02:00
Sergii Stoian
99e0f4ddda * Source/NSMenu.m (windowDidChangeScreen:): join two if statements. 2020-02-23 01:56:33 +02:00
Sergii Stoian
11ff1789e8 * Source/NSMenu.m (_setGeometry): take into account main screen
origin when calculating horizontal menu postion.
2020-02-20 01:11:33 +02:00
Sergii Stoian
fe1cf36de0 * Source/NSApplication.m (_appIconInit): take into account main screen
origin when placing application icon.
2020-02-20 00:53:44 +02:00
Sergii Stoian
533be55806 * Source/NSWindow.m (setFrame:display:): use _screeForFrame: here
to prevent `_screen` reassign -  it will be reassigned in
  sendEvent: (GSAppKitWindowMoved event) after call to [self screen].
  (setFrameFromString:): removed unused code because _screenForFrame:
  never returns `nil`. Do not reassign `_screen` here.
2020-02-13 18:30:04 +02:00
Sergii Stoian
2a1b9d4d54 * Source/NSWindow.m (sendEvent:): set current screen to ivar and
send WindowDidChangeScreen notification if window was moved to other
  screen.

* Source/NSScreen.m (mainScreen): returns screen of main menu if no
  key window exists. With this implementation default screen (screen at
  index 0 in screens array) should never be returned.

* Source/NSMenu.m (initWithTitle:): observe WindowDidBecomeKey and
  WindowDidChangeScreen notifications.
  (windowDidChangeScreen:): new method to handle observed notification
  added above. Moves menu to screen of key window for both cases: when
  key window moved to or activated on different screen.
2020-02-12 01:46:17 +02:00
fredkiefer
b4ca06582e * Source/NSFontDescriptor.m: Correct key for encoding and decoding. 2020-02-09 20:19:51 +01:00
Sergii Stoian
a7aa7d014d * Source/GSTitleView.m (mouseDown:): limit menu movement to screen
frame for top/left/right edges. Menu can be moved to the bottom until
  title is completely visible.
2020-01-31 02:31:19 +02:00
Sergii Stoian
71056e625a
Merge branch 'master' into master 2020-01-28 14:46:26 +02:00
Sergii Stoian
b1dedaeb09 * ChangeLog: consolidate latest screen parameter changes. 2020-01-28 12:16:37 +02:00
Sergii Stoian
a4174f2838 * Source/NSWindow.m (applicationDidChangeScreenParameters): take into
account screen origin change during window position recalculation.

* Source/NSScreen.m (dealloc): debug output was removed.
2020-01-27 00:47:08 +02:00
Sergii Stoian
d4ea1a490f * Source/NSWindow.m (initWithContentRect:styleMask:backing:defer:):
added observer of NSApplicationDidChangeScreenParametersNotification.
  (applicationDidChangeScreenParameters:): callback for added notification -
  updates window position, set new screen object and saves frame if
  autosave name exists.

* Source/NSScreen.m (initialize): remove observer of
  NSApplicationDidChangeScreenParametersNotification - NSScreen shouldn't
  do it. Backend explicitely calls -resetScreens before posting notification.
  (_initWithScreenNumber:): ditto.
  (_resetScreens): removed.
  (deviceDescription): removed duplicated addition of NSDeviceSize object.

* Source/NSApplication.m (finishLaunching): remove observer of
  NSApplicationDidChangeScreenParametersNotification.
2020-01-26 03:13:16 +02:00
fredkiefer
11590c680d Add changelog entry for changes. 2020-01-24 23:04:20 +01:00
Sergii Stoian
731abde796 * Source/NSScreen.m (_initWithScreenNumber:): add self as observer to
NSApplicationDidChangeScreenParametersNotification.
(frame): use `_frame` ivar since libs-back recreates screens list.
(dealloc): remove observer.
(applicationDidChangeScreenParameters:): update _frame and _depth
ivars for bad behaving objects which retain NSScreen and not observing
screen parameters changes.
2020-01-24 19:48:28 +02:00
Sergii Stoian
79b98f2903 ChangeLog was updated. 2020-01-23 12:56:09 +02:00
Sergii Stoian
e0af3bd8c9 * Source/NSMenu.m (_screenChanged): removed.
(initWithTitle:): remove observer for
  NSApplicationDidChangeScreenNotification.
2020-01-23 12:46:03 +02:00
fredkiefer
3ac76af826 Move toolbar ivar from NSWindowTemplate5 to NSWindowTemplate. 2020-01-22 20:29:19 +01:00
fredkiefer
eae3f9e991 Add proper handling of code pages in RTF parsing. 2020-01-22 16:54:25 +01:00
fredkiefer
60fc987fb7 Fix compiler warnings 2020-01-20 20:57:32 +01:00
fredkiefer
09853bffc8 Fix indentation 2020-01-20 19:10:15 +01:00
fredkiefer
bc7c0262c5 Clean up the old XIB loading code. 2020-01-19 18:52:36 +01:00
fredkiefer
46ea0fb36d Merge branch 'master' into xib_document
# Conflicts:
#	ChangeLog
2020-01-19 17:24:04 +01:00
fredkiefer
42d771d589 Get master to guild again after breakage of last commit. 2020-01-19 17:21:51 +01:00
fredkiefer
50bc834ddc Add decoding of binding options and handle bindings to arrays
with transformations correctly.
2020-01-19 13:08:58 +01:00
fredkiefer
00bb2396a6 Diverse imporvements to get my XIB5 test application running. 2020-01-18 16:03:24 +01:00
fredkiefer
aeafa9578e Add generic mechanism to decode keys that include the class name.
Also add header clip view to subviews of scroller.
2020-01-12 21:10:54 +01:00
fredkiefer
3a6176b0cf Add observable array and use it for arrangeObjects. 2020-01-12 21:02:16 +01:00
fredkiefer
d7676fb7c2 Use decodeSizeForKey:. 2020-01-12 21:00:00 +01:00
fredkiefer
eb9fd58dce Merge branch 'master' into xib_document
# Conflicts:
#	.gitignore
#	ChangeLog
2020-01-11 19:47:13 +01:00
fredkiefer
5f147345fc Improve predicate editor decoding. 2020-01-11 19:33:24 +01:00
fredkiefer
97cb13a5ff Add some more bindings 2020-01-10 20:53:53 +01:00
Sergii Stoian
9a58a93ee5 * Images/common_StepperDown.tiff,
* Images/common_StepperDownHighlighted.tiff,
* Images/common_StepperUp.tiff,
* Images/common_StepperUpHighlighted.tiff: new images with arrows
similar to scroll view buttons'.

* Source/GSThemeDrawing.m (stepperUpButtonRectWithFrame:),
(stepperDownButtonRectWithFrame:): center buttons horizontally; simplify
and cleanup.

* Source/NSStepper.m (acceptsFirstResponder): return NO. Returning
YES makes sense only if `keyDown:` is implemented.
(acceptsFirstMouse:): return YES.

* Source/NSStepperCell.m (cellSize): initial implementation. Retruns
minimum size based on up and button sizes.
2020-01-10 15:46:22 +02:00
fredkiefer
14f88edfe8 Merge branch 'master' into xib_document
# Conflicts:
#	ChangeLog
2020-01-07 21:27:20 +01:00
fredkiefer
c0714b0de1 Add minimal version of predicate editor copied over from mySTEP. 2020-01-07 21:25:21 +01:00
fredkiefer
dc955b1ce4 Add minimal version of date picker copied over from mySTEP. 2020-01-06 22:25:54 +01:00
fredkiefer
e868f47488 Add changelog entry. 2020-01-03 21:58:32 +01:00
fredkiefer
560f68323b * Source/NSBundleAdditions.m (-pathForNibResource:): Report type
not filename while iterating.
2019-12-29 22:19:24 +01:00
Sergii Stoian
490d47cd05 * ChangeLog: fixed typo. 2019-12-18 23:14:59 +02:00
Sergii Stoian
1d0d5595a0 * Source/NSBrowser.m (frameOfColumn:): shift up column only for browser
with separated sparated columns layout.
(tile): fix column height calculation; moved sanity check of column
height closer to calculation; removed code that duplicates code below.
2019-12-18 17:35:59 +02:00
Sergii Stoian
7c6a22d174 * Source/NSScrollView.m (tile): tweak location and height of vertical
scroller if header or corner view available.

* Source/GSThemeDrawing.m: (drawTableCornerView:withClip:): do not draw
black rectangle because -drawDarkButton:withClip: draws all necessary
elements.

* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): further cleanup
of method implementation. Removed all tweaks of scroller length - all
required calculations must be done in NSScrollView's -tile method. Simplified
caluclations of X and Y positions of scroller.
2019-12-17 17:30:51 +02:00
Sergii Stoian
20db33e008 * Source/GSThemeDrawing.m (drawScrollViewRect:inView:):
Use [self sizeForBorderType: borderType] to determine border width.
2019-12-17 13:29:30 +02:00
Sergii Stoian
5c96e8ba02 * Source/GSThemeDrawing.m (drawScrollViewRect:inView:): fixed scroller
border positionning and length - do not overlap border if any.
2019-12-17 02:16:05 +02:00
Sergii Stoian
5884e55419 * Source/NSFont.m (smallSystemFontSize): return 10 as default value.
Update documention comment regarding default values for NSMiniFontSize
ans NSSmallFontSize.
2019-12-12 23:20:12 +02:00
Sergii Stoian
e5a7cba164 * Source/NSWindow.m
(initialize): use MiniWindowTile image for miniwindow tile.
(drawRect:): adjusted position of title cell to fit tile image.
(setTitle:): disable drawing of title cell background;
use NSMiniControlSize font size for miniwindow title cell.

* Source/NSFont.m (systemFontSizeForControlSize:): increased default font
size for NSMiniControlSize.
2019-12-11 14:30:44 +02:00
Sergii Stoian
1d19c11923 * Source/GSHorizontalTypesetter.m: removed extra imports left from
last 2 commits.
2019-12-11 12:13:09 +02:00
Sergii Stoian
fcee2e2c63 * Headers/Additions/GNUstepGUI/GSLayoutManager.h,
Source/GSLayoutManager.m: new method -typingAttributes returns default typing
  attributes of NSTextView.
* Source/NSLayoutManager.m: override GSLayoutManager's -typingAttributes - primitive
  method - provides access to _typingAttributes ivar.
* Source/GSHorizontalTypesetter.m: use new GSLayoutManager's -typingAttributes method
  to get paragraph style and font of new empty text container. Normally `curLayoutManager`
  is a NSLayoutManager object so actually we get NSLayoutManager's _typingAttributes.
2019-12-10 19:23:04 +02:00
Sergii Stoian
5415783c56 * Source/GSHorizontalTypesetter.m: (_addExtraLineFragment) get paragraph style and
font from NSLayoutManager's typing attributes. Fixes insertion point height for empty
        text objects (NSTextView, NSTexField etc.).
2019-12-10 02:09:13 +02:00
Sergii Stoian
01ccd98752 * NSStringDrawing: fixed incorrect string drawing (shortened, misplaced)
in ART backend. It seems that third parameter to `cache_lookup` function
(useScreenFonts) is valuable for ART but not for Cairo backend.
2019-12-09 01:18:53 +02:00
fredkiefer
e1594a3105 * .travis.yml
* travis-deps.sh: Try to keep up with Niels' changes in base.
2019-12-07 15:51:31 +01:00
fredkiefer
451afde6a7 * Headers/AppKit/NSGestureRecognizer.h
* Source/NSGestureRecognizer.m: Restore code by Daniel Ferreira
* Headers/AppKit/NSButtonTouchBarItem.h
* Headers/AppKit/NSCandidateListTouchBarItem.h
* Headers/AppKit/NSClickGestureRecognizer.h
* Headers/AppKit/NSColorPickerTouchBarItem.h
* Headers/AppKit/NSCustomTouchBarItem.h
* Headers/AppKit/NSGroupTouchBarItem.h
* Headers/AppKit/NSMagnificationGestureRecognizer.h
* Headers/AppKit/NSPanGestureRecognizer.h
* Headers/AppKit/NSPickerTouchBarItem.h
* Headers/AppKit/NSPopoverTouchBarItem.h
* Headers/AppKit/NSPressGestureRecognizer.h
* Headers/AppKit/NSRotationGestureRecognizer.h
* Headers/AppKit/NSSharingServicePickerTouchBarItem.h
* Headers/AppKit/NSSliderTouchBarItem.h
* Headers/AppKit/NSStepperTouchBarItem.h
* Headers/AppKit/NSTouchBarItem.h
Clean up after Greg's commit.
2019-12-06 22:50:13 +01:00
fredkiefer
3627b22481 * .travis.yml
* travis-deps.sh: Update to match changes in base by Niels Grewe.
2019-12-06 17:32:25 +01:00
fredkiefer
7f07e4dd43 * Source/NSBitmapImageRep.m (-_convertToFormatBitsPerSample:...):
+	Correct division by zero bug in image conversion.
2019-12-02 22:46:44 +01:00
Riccardo Mottola
a44a865415 Remove fake typedef for NSAppleEventDescriptor since now we have a stub in Foundation 2019-11-03 23:40:09 +01:00
fredkiefer
5756e5f396 * Source/NSSliderCell.m: Fix encoding/decoding as the types don't match.
* Source/NSApplication.m (-targetForAction:to:from:): Warn only in
debug mode about the target not responding to the action.
2019-07-28 20:12:26 +02:00
fredkiefer
1e05899a0f * Header* Headers/AppKit/NSColor.h,
+	* Source/NSColor.m: Add tool tip named colours.
+	* Source/GSToolTips.m (+initialize, -_timedOut:): Get colours from NSColor.
2019-07-07 21:39:25 +02:00
fredkiefer
9657270757 Restore part of ChangeLog I removed incorrectly. 2019-05-11 17:49:04 +02:00
Fred Kiefer
b3740eee79
Remove now obsolete comment from ChangeLog 2019-05-10 13:27:07 +02:00
Sergii Stoian
dc766834f6 Old cursor images mapping was removed from nsmapping.strings. 2019-05-10 14:19:27 +03:00
Sergii Stoian
22f5fa78d4 * Images/GNUmakefile (Images_RESOURCE_FILES): Update resource
list according to cursor images addition/removal.
2019-04-17 18:54:10 +03:00
Sergii Stoian
bfaa22b3e1 ChangeLog entries were added. 2019-04-17 17:48:50 +03:00
Sergii Stoian
4da4aa142b (drawKeyEquivalentWithFrame:inView:): use NCell's textColor instead of check
if we're disabled/enabled.
2019-04-10 12:08:33 +03:00
Sergii Stoian
1b0e90686a (drawKeyEquivalentWithFrame:inView:): check if item is disabled/enabled and set
color attribute for attributed key equivalent string.
2019-04-10 00:40:20 +03:00
Sergii Stoian
9295b2311b (_keyEquivalentString): if modifier key string is not defined - set key
equivalent font trait: Italic for Alternate modifier Bold - for Control.
(_sizeKeyEquivalentText:): new method to calculate string size wrt font
set in `_keyEquivalentString:`.
(drawKeyEquivalentWithFrame:inView:): draw key equivalent as attributed
string.
2019-04-09 18:51:23 +03:00
Sergii Stoian
baf05aabf3 Cleanup in ChangeLog. 2019-04-08 12:59:43 +03:00
Sergii Stoian
7e2ce21a24 * Source/NSApplication.m: (needsPanelToBecomeKey): removed superfluous
override - superclass (NSView) already returns `NO`.
2019-04-08 12:57:43 +03:00
Sergii Stoian
e27ffe6330 * Source/NSApplication.m (becomesKeyOnlyIfNeeded),
(needsPanelToBecomeKey): override NSWindow and NSView methods
in appicon to reduce number of order front calls. The source
of the calls is NSWindow's sendEvent:.
2019-04-08 02:54:35 +03:00
Sergii Stoian
b5e65175a3 hidewindow methods was renamed to hideApplication. 2019-04-06 22:36:56 +03:00
Sergii Stoian
f5bcf3019b Change comments upon request of @fredkiefer. 2019-04-06 01:23:17 +03:00
Sergii Stoian
07dcc41ad0 (hidewindow:): fixes to return value and type. 2019-04-06 00:25:09 +03:00
Sergii Stoian
f018c2087b Added support for WindowMaker's WMFHideApplication action. 2019-04-05 14:07:33 +03:00
Sergii Stoian
f8c955acf4 Optimize -autolaunch YES checking code. 2019-04-03 02:10:37 +03:00
Sergii Stoian
2071f6acdd Do not activate application on first run of -activateIgnoringOtherApps: if commandline argument -autolaunch YES was specified. 2019-04-02 19:45:14 +03:00
Sergii Stoian
c0e4a4286c Fix typo. 2019-03-27 16:21:37 +02:00
Sergii Stoian
c0c3c5f448 Lovering down NSFloatingWindowLevel number by one to distinguish floating panels from menus. 2019-03-27 16:19:00 +02:00
fredkiefer
a7d572f744 * Source/NSBitmapImageRep+ICNS.m (_imageRepsWithICNSData:): Try to
put the best suited image first.
2019-02-26 21:31:11 +01:00
fredkiefer
d9c033d464 * Headers/Additions/GNUstepGUI/GSHorizontalTypesetter.h: Add
comment to describe cache variables.
* Source/GSHorizontalTypesetter.m: Restructure glyph attribute
cache filling and make _addExtraLineFragment saver by providing a
default for curParagraphStyle.
2019-02-10 22:17:36 +01:00
Riccardo Mottola
682aa3ccdc Do guard includes for getmntinfo and mntent separately, should help building on Debian/kFreeBSD and fix 55526, but could need more work. 2019-01-21 23:23:16 +01:00
Ivan Vučica
ae93c9e3c9
release-chore: Update for 0.27.0 release. 2019-01-06 22:00:38 +00:00
Ivan Vučica
1a90023d6c
release-chore: Regenerate configure with autoconf 2.69. 2019-01-06 21:13:33 +00:00
fredkiefer
8e57d2a127 * Documentation/news.texi: Fill in some details for pending release.
* Source/NSTableView.m (encodeWithCoder:,initWithCoder:): Use
unsigned int instead of unsigned long for flags.
2019-01-04 17:01:57 +01:00
Riccardo Mottola
b8e6de05a3 On linux, try to read /sys/block/xxx/removable information to get information about removable volumes, while continue honoring preferences. This can be a little inefficient if called for each volume. Furthermore in mountedLocalVolumePaths, enhance skipping reserved mount names by using filesystem type also if getmmntent is available. 2018-11-19 01:49:02 +01:00
fredkiefer
b90d3a341e * Source/NSGraphicsContext.m (+graphicsContextWithGraphicsPort:flipped:):
Rewrite using an init method.
2018-09-14 22:18:16 +02:00
Wolfgang Lux
397a4116cc Avoid calling iconSize method on a null pointer. 2018-08-05 11:18:32 +02:00
fredkiefer
0e1c392ff0 * Source/NSApplication.m (-applicationIconImage): Lazy load the app icon. 2018-08-03 19:37:29 +02:00
fredkiefer
9d8dc3ba55 * Source/NSView.m (-beginPageInRect:atPlacement): Remove check for
empty rect. This will now use the placement translation all the time.
2018-07-27 10:09:44 +02:00
fredkiefer
4b04426c06 * Source/NSPrinter.m (-addPPDKeyword:withScanner:withPPDPath:):
Protect against value being nil.
* Source/NSPageLayout.m (-tableView:objectValueForTableColumn:row:):
With standard papers, calculate margins taking into account factorValue.
* Source/NSPrintInfo.m (-initWithDictionary): Fix border calculation.
Idea by Yavor Doganov <yavor@gnu.org>
2018-07-14 20:21:32 +02:00
Ivan Vučica
44f8a4dccb NSOpenGLView.m: Fix docstring for -[NSOpenGLView initWithFrame:pixelFormat:].
There is no such thing as +[NSOpenGLContext defaultPixelFormat].
2018-07-08 12:43:29 +00:00
Riccardo Mottola
96fbdaa81f Check for floorf() and provide simple replacement 2018-06-11 23:46:06 +02:00
Ivan Vučica
e577192b1c
Merge branch 'master' into master 2018-06-07 22:53:58 +01:00
Stjepan Brkić
e1031e7198 Add 'id _coreAnimationData' variable to AppKit/Headers/NSView.h.
The variable will point to another class instance that will
contain data necessary data for future implementation of methods
regarding CA layers.
2018-06-05 12:36:42 +00:00
Fred Kiefer
584adbd401
Merge branch 'master' into document-nswindowcontroller 2018-05-28 02:56:25 -04:00
fredkiefer
2f9c16ad81 * Source/NSDocument.m (-revertToContentsOfURL:ofType:error:): Add
override calls for deprecated methods.
2018-03-30 17:01:12 +02:00
Graham Lee
436f5efb8f Document methods I have recently used in NSWindowController 2018-03-29 19:38:54 +01:00
fredkiefer
760cfa6d62 * Headers/AppKit/NSSliderCell.h,
* Source/NSSliderCell.m: Rewrite this class to store and access
the value directly. This brings the behaviour closer to Apple's
horrible implementation.
2018-03-11 19:09:08 +01:00
fredkiefer
5735e0775d * Source/NSSegmentedCell.m (-startTrackingAt:inView:,
-continueTracking:at:inView:): Add this methods to enable
tracking for this class.
Patch suggested by Josh Freeman <pikopixel@twilightedge.com>.
2018-02-27 23:32:11 +01:00
fredkiefer
3ad98f9474 * Headers/Additions/GNUstepGUI/GSTheme.h,
* Source/GSThemeDrawing.m: Correct int/NSInteger mismatch detected
by Josh Freeman <pikopixel@twilightedge.com>.
2018-02-27 22:02:54 +01:00
fredkiefer
f2ebe775d9 * Headers/AppKit/NSKeyValueBinding.h,
* Source/NSKeyValueBinding.m: Add helper function NSIsControllerMarker.
2018-02-26 00:13:15 +01:00
Ivan Vučica
aceb737281 Add missing changelog entry. 2018-02-20 20:11:24 +00:00
fredkiefer
41e02a5ed5 * Source/GSDisplayServer.m: Store the current display server in a
static variable and not in a thread variable.
Idea by Yavor Doganov  <yavor@gnu.org>
2018-02-09 21:31:03 +01:00
fredkiefer
caa58cf72b Tiny fix for bug found by valgrind.
Make sure nominal gets always set for a glyph.
2018-02-05 23:25:36 +01:00
fredkiefer
712e7a4e15 Close sheet before removing from parent.
* Source/NSAlert.m (NSBeginAlertSheet): Move closing the sheet from
here...
* Source/NSApplication.m (-beginSheet:...:contextInfo:): ...to here.
2018-02-04 21:18:43 +01:00
fredkiefer
b17b443266 * Tools/speech/GNUmakefile,
* configure.ac: Give up on dynamic library detecion.
* configure: Regnerate
2018-01-29 18:37:19 +01:00
fredkiefer
94289c1636 * configure.ac: Correct last commit.
* configure: Regnerate
2018-01-29 09:11:56 +01:00
fredkiefer
9a889f5c48 * configure.ac: Improve checks for flite.
* configure: Regnerate
* Tools/speech/GNUmakefile: Use variables for flite libraries.
* Tools/speech/FliteSpeechEngine.m: Switch to use register_cmu_us_kal16.
2018-01-28 21:45:16 +01:00
fredkiefer
78b330ff70 Restore -allocWithZone: method 2018-01-24 20:18:49 +01:00
fredkiefer
9451330883 * Source/NSApplication.m (-targetForAction:to:from:): Warn about
the target not responding to the action.
* Source/NSSavePanel.m (_initWithoutGModel): Don't set the OK
button as the target of the browser. Use helper method instead.
2018-01-23 20:56:52 +01:00
Gregory John Casamento
f261f1e025 Fix compilation error in connectionDied: 2018-01-22 17:45:27 -05:00
fredkiefer
57cf738c8b * Tools/speech/GNUmakefile: Remove specific OBJC flags.
Fixes bug #46939.46939
2018-01-21 14:32:43 +01:00
fredkiefer
618e31ff42 * Source/NSMenu.m (-update): Restructure by splitting up into two
helper methods.
* Source/NSMenu.m (-performKeyEquivalent:): Use new helper method
to only autoenable menu item with matching key equivalent.
2018-01-14 18:41:23 +01:00
fredkiefer
d31ae5f49b * Source/GSLayoutManager.m
(-glyphRangeForCharacterRange:actualCharacterRange:): Try to
handle attachments at the end of the file more graceful.
2018-01-14 18:17:05 +01:00
fredkiefer
85ba90244b * Source/NSView.m (-_rebuildCoordinates): Use simple path only
when both window and superview are nil. Set the visibleRect in
this case to bounds.
2018-01-07 16:47:36 +01:00
fredkiefer
0c46bc4380 * Source/NSApplication.m (-targetForAction:to:from:): Return nil
if the target is non-nil but does not respond to the action.
2018-01-07 15:09:57 +01:00
fredkiefer
4e70f096ce * Printing/GSCUPS/GSCUPSPrinter.m,
* Printing/GSCUPS/GSCUPSPrintInfo.m:
Restore -allocWithZone: methods as this is needed to override
behaviour in superclass.
2018-01-01 23:16:22 +01:00
fredkiefer
99b904ede9 * Documentation/make_services.1: Typo fix. 2018-01-01 22:47:34 +01:00
fredkiefer
b3b64278e3 * config/pkg.m4: Update to serial 12.
* Headers/Additions/GNUstepGUI/config.h.in,
* configure: Regnerate
Fixes bug #52779.
Patch by Yavor Doganov <yavor@gnu.org>
2018-01-01 22:42:28 +01:00
Ivan Vučica
58c7ef1dfe release-chore: Updating for 0.26.1 which now requires -base 1.25.1. 2017-12-31 16:43:12 +00:00
fredkiefer
d6a1c119f5 * Tests/gui/NSBezierPath/windingCountAtPoint.m
* Tests/gui/NSCell/basic.m
	* Tests/gui/NSEvent/delta.m
	* Tests/gui/NSPasteboard/lazy_copy.m
	* Tests/gui/NSSavePanel/setDelegate_reload.m
	* Tests/gui/NSSliderCell/minMax.m
	* Tests/gui/NSView/NSView_visibleRect.m
	Remove comipler warnings in test code.
	* Tests/gui/TextSystem/deallocation.m
	Move auto release pool inside of the test set to get the test
	working again.
2017-12-28 17:18:03 +01:00
fredkiefer
441af148b2 Undefine __BLOCKS__ before the cups.h import as some versions of this
header file expect unconditional that libdispatch is present when that
variable is defined.
Remove duplicated -allocWithZone: methods.
2017-12-28 14:01:30 +01:00
Richard Frith-Macdonald
ec19a2de9a Workaround for apparent clang bug calculating ivar offset into NSThread object. 2017-12-27 12:15:31 +00:00
Ivan Vučica
492fdeb968
Regenerated NEWS file for the 0.26.0 release. 2017-12-10 15:59:15 +00:00
Ivan Vučica
e2f3923e13
Updated various release note documents with notable changes for 0.26.0.
Also regenerated the ANNOUNCE file from announce.texi and news.texi.
2017-12-07 22:31:56 +00:00
Ivan Vučica
280c3e0095 Clean up -[NSImage initWithCoder:], reduce amount of releases of self.
Some context available in PR #12 and  PR #13.
2017-12-07 19:07:43 +00:00
fredkiefer
7270f8efc7 Add new backingScaleFactor method on NSScreen. 2017-12-03 22:02:06 +01:00
Ivan Vučica
93218f7fc1
Update ChangeLog.
This is to complement PR #12.
2017-10-28 17:10:23 +00:00
fredkiefer
e3d51643ca Protect against [window screen] returning nil. 2017-10-05 23:05:28 +02:00
Ivan Vučica
020d3fa183 release-chore: Preparations for 0.26.0. Backfill of ReleaseNotes.
Bumping version to 0.26.0. Adding stub news entries related to the
release into news.texi and ReleaseNotes.gsdoc.

Also, this commit backfills ReleaseNotes for releases 0.24.1, 0.25.0
and 0.25.1.
2017-10-01 22:20:13 +01:00
fredkiefer
3ac7a369c5 * Source/NSStepperCell.m (-trackMouse:...untilMouseUp:): Adjust
to changes in super class.
2017-08-31 23:57:41 +02:00
fredkiefer
c72d2df3ff * Source/NSButtonCell.m (-setButtonType:): Warn about unsupported
button types.
* Source/NSCell.m (-performClickWithFrame:inView:): Highlight the
cell only if drawing is possible.
2017-08-27 11:23:43 +02:00
fredkiefer
e853f4fdbf Rewrote mouse tracking logic to be closer to the Cocoa definition. 2017-08-27 11:13:17 +02:00