Commit graph

7963 commits

Author SHA1 Message Date
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
b9b0b3b56f Add missing semicolon. 2018-01-22 18:03:14 -05:00
Gregory John Casamento
d6e4a2fdab Merge branch 'master' of github.com:gnustep/libs-gui 2018-01-22 17:45:39 -05:00
Gregory John Casamento
f261f1e025 Fix compilation error in connectionDied: 2018-01-22 17:45:27 -05:00
Gregory John Casamento
f61d60b7b2 Fix compilation error in connectionDied: 2018-01-22 17:44:35 -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
Ivan Vučica
6edb104634
release-chore: Updating documentation for the 0.26.2 release. 2018-01-02 19:01:40 +00: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
b86a2fe359
Use GNUSTEP-GUI-VERSION instead of the (undefined) GNUSTEP-BACK-VERSION. 2017-12-07 22:32:28 +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
350ba62d7d
Cleanup: Replace tabs with spaces in NSImage.m. 2017-10-29 14:25:47 +00:00
Graham Lee
aff13d41bb correct decoding of named images from keyed archivers
As @tedge noted on the original pull request for this work, I didn't return the correct object in the keyed archiver case.
2017-10-29 14:23:35 +00:00
Ivan Vučica
93218f7fc1
Update ChangeLog.
This is to complement PR #12.
2017-10-28 17:10:23 +00:00
Gregory Casamento
9af91b0334
Merge pull request #12 from iamleeg/named-image-unarchiving
Named image unarchiving
2017-10-28 12:16:25 -04:00
Graham Lee
2c34ae8fe5 revert spurious whitespace change 2017-10-28 08:48:36 +01:00
Graham Lee
5e3ed6dff7 If an unknown named image is unarchived, keep the name 2017-10-28 08:45:05 +01:00
fredkiefer
e3d51643ca Protect against [window screen] returning nil. 2017-10-05 23:05:28 +02:00
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
Daniel Ferreira
b2fa5c5de2 Update ChangeLog 2017-08-27 01:42:00 +01:00
Daniel Ferreira
3a1bec5d1f Externs: add private string attribute definitions
Define some private NSAttributedString attribute name definitions. Their
functionality is not yet implemented.
2017-08-27 01:42:00 +01:00
Daniel Ferreira
471a81ddb8 NSSpellChecker: implement stub for +isAutomaticQuoteSubstitutionEnabled
Implement stub for +[NSSpellChecker isAutomaticQuoteSubstitutionEnabled]
for compatibility purposes.
2017-08-27 01:42:00 +01:00