Gregory John Casamento
b95a2a5f7b
Add changelog entry
2021-05-20 23:14:42 -04:00
Gregory Casamento
91fe895197
Merge branch 'master' into xib_gorm_integration
2021-05-02 12:17:13 -04:00
Gregory Casamento
7f34757ce1
Merge branch 'master' into nib_loading_improvements
2021-04-30 23:42:39 -04:00
Gregory John Casamento
9534755dbb
Add logic to build an array which contains information to recreate custom class associations in GSXib5KeyedUnarchiver
2021-04-28 19:04:04 -04:00
Ivan Vučica
cc6c371730
release-chore: Release 0.29.0.
2021-04-26 23:06:48 +01:00
Gregory John Casamento
79fa1b68cd
Changes to facilitate XIB loading in IB/Gorm. Added customClassNames to IBObjectContainer and skipped instantiation of custom classes in GSXib5KeyedUnarchiver if we are currently loading as a model in IB/Gorm.
2021-04-25 10:04:34 -04:00
Gregory John Casamento
d9921efd8e
Use [GSModelLoaderFactory modelLoaderForData:] to generically implement methods that unarchive a model purely from data since we cannot use the file extension to determine which loader to instantiate.
2021-04-24 08:51:32 -04:00
Gregory John Casamento
b5ecb4e490
Quick fix. Remove unecessary warning about storyboard in NSApplicationMain function
2021-04-23 07:04:47 -04:00
Gregory John Casamento
7991213f3c
Update changelog
2021-03-29 14:38:42 -04:00
Fred Kiefer
0576f2736b
* Source/NSControl.m (-textDidChange:): If there is a binding with
...
continious update, pass on the changed text.
* Source/GSXibElement.m: Correct the handling of boolean values in attributes.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Prevent recursion when
reverseSetValue: is used.
* Source/NSTextField.m (-textDidChange:): Remove empty code line.
2021-03-27 21:20:28 +01:00
Fred Kiefer
a07d68551f
* Source/NSMenu.m (-_setOwnedByPopUp:): Only update the menu if
...
there is a new popup.
2021-03-12 18:36:38 +01:00
Fred Kiefer
48a03d8b8f
* Source/NSPasteboard.m (-_pasteboardWithTarget:name:): Correct
...
wrong order of arguments to NSMapInsert.
* Source/NSPasteboard.m (-generalPasteboard): Simplify
implementation.
2021-02-21 20:45:56 +01:00
Fred Kiefer
1c972d2892
* Source/NSSearchFieldCell.m: Correct encoding/decoding that was
...
broken in last commit of this file.
2021-02-12 19:47:50 +01:00
Fred Kiefer
f16f268467
* Resources/Italian.lproj/Localizable.strings,
...
* Resources/Esperanto.lproj/Localizable.strings: Readd BOM which
was lost when regenerating these files.
2021-02-05 16:41:40 +01:00
Fred Kiefer
a4ec02e613
* Source/NSTableView.m (-_numRows): Take column value binding into
...
consideration.
* Source/NSTableColumn.m (-setValue:forKey:): Reload table data.
2021-01-22 22:48:13 +01:00
Fred Kiefer
efff658f82
* Source/NSWindow.m (GSOrderedWindows): Don't try to handle
...
already gone windows that may be returned from a slow window manager.
2021-01-22 14:53:15 +01:00
fredkiefer
5e4ab88aa7
Updating documentation for the upcoming 0.29.0 release.
2021-01-16 20:37:24 +01:00
fredkiefer
e34e28e4c7
* Source/NSControl.m: Change encoding/decoding to protect
...
against differences in integer size.
2021-01-15 22:48:11 +01:00
fredkiefer
5294a34911
Add macros for encoding/decoding.
2021-01-10 22:40:29 +01:00
fredkiefer
35698d41b6
Change encoding/decoding to protect against differences in integer size.
2021-01-08 17:18:36 +01:00
fredkiefer
d899741be4
* Source/NSSearchFieldCell.m: Use GSTheme to display the popup.
2020-12-13 20:38:35 +01:00
fredkiefer
a0f0b8b147
* Source/NSSearchField.m,
...
* Source/NSSearchFieldCell.m: Small cleanups in formatting and int types.
2020-12-12 19:18:29 +01:00
Riccardo Mottola
9db97cd047
Use centerScanRect to correct Items frame and avoid flickering.
2020-12-12 23:32:01 +01:00
fredkiefer
5cee71869b
* Source/NSToolbarFrameworkPrivate.h,
...
* Source/GSToolbarView.m,
* Source/NSToolbar.m: Minor changes to format code, remove unused
methods and introduce some new helper methods.
2020-12-06 22:10:13 +01:00
fredkiefer
59b4b15f7e
Merge branch 'master' of github.com:gnustep/libs-gui
...
# Conflicts:
# ChangeLog
2020-11-29 23:08:15 +01:00
fredkiefer
6e417da18e
* Source/NSMenuView.m (-mouseDown:): Protect against _window going
...
away during tracking.
2020-11-29 23:04:50 +01:00
Riccardo Mottola
b7f5fb2edf
Use standard setMenu: in release and avoid leaking the Menu.
2020-11-24 00:29:10 +01:00
Riccardo Mottola
7b819af623
Support greyscape output colorspace in JPEG decompression, fix Alpha output do NO, since JPEGs do not support it.
2020-11-03 01:57:34 +01:00
fredkiefer
36772d25a1
* Source/NSTableView.m (-validateEditing): Reset _isValidating on
...
intermediate return.
Patch by Andreas Höschler <ahoesch@smartsoft.de>.
2020-10-18 23:52:19 +02:00
fredkiefer
4b42583379
* Source/NSColor.m: Protect against theme colour list missing out
...
on default colours.
2020-10-04 22:39:39 +02:00
fredkiefer
8f46157e16
* Source/GSToolTips.m: Revert bogus last commit.
2020-09-14 23:21:52 +02:00
Gregory John Casamento
351712efb2
Add changelog
2020-09-12 20:10:33 -04:00
fredkiefer
4cb2b0693f
* 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-12 21:59:16 +02:00
fredkiefer
c39b49c0d2
* Source/GSLayoutManager.m
...
+ (-glyphRangeForCharacterRange:actualCharacterRange:): Handle zero
+ length charRagne at end of text correctly.
2020-09-11 22:11:31 +02:00
fredkiefer
6832eaf1c4
* Source/GSXib5KeyedUnarchiver.m (-decodeCellPrototypeForElement:): Fix misuse of setType:.
2020-09-07 17:38:21 +02:00
Gregory John Casamento
25d186af6b
Add changelog
2020-08-21 15:31:28 -04:00
fredkiefer
16071b1b10
Fix compiler warnings mit gcc.
2020-08-07 19:44:13 +02:00
Gregory John Casamento
3322db37c2
NSStatusBarButton implementation
2020-07-31 02:40:41 -04:00
Gregory John Casamento
bf9513411d
Reformat changelog a little. Remove nc to fix warning.
2020-07-30 05:10:37 -04:00
Gregory John Casamento
81e4aea6df
Update changelog
2020-07-28 10:31:22 -04:00
Gregory John Casamento
80e6ad1758
Add changelog
2020-07-20 23:12:50 -04:00
Gregory John Casamento
191b9e3f00
Add changelog entry
2020-07-19 05:45:10 -04:00
Gregory John Casamento
d11cb1b7ca
Formalize protocols for NSOutlineDataSource/Delegate.
2020-07-10 07:51:45 -04:00
fredkiefer
c66019024f
* Source/GSXib5KeyedUnarchiver.m (alternateName:): Be more careful
...
when chopping of part of the name.
2020-07-03 19:37:45 +02:00
fredkiefer
56047d27e6
Add missing MacOSX methods.
2020-07-03 16:50:20 +02:00
Gregory John Casamento
b4edb607f8
Add changelog.
2020-06-15 05:26:30 -04:00
fredkiefer
488f7096fb
* Headers/AppKit/NSApplication.h: Remove semicolons from the
...
NSAppKitVersionNumber* definitions.
2020-06-12 10:16:49 +02:00
fredkiefer
d9134d657f
Add code to handle code page 10000 in RTF.
2020-05-29 15:18:37 +02:00
fredkiefer
385fb7d204
* Headers/AppKit/NSColor.h,
...
* Source/NSColor.m: Add newer Cocoa methods.
2020-05-18 22:55:59 +02:00
fredkiefer
be12d7bd1e
* 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-14 23:10:43 +02:00
fredkiefer
981227145e
* Source/GSXib5KeyedUnarchiver.m: Clean up NSPathCell decoding.
2020-05-10 21:52:13 +02:00
fredkiefer
8162d07536
* Source/NSStringDrawing.m: Initialize all the cache entries as
...
not used.
2020-05-09 21:22:41 +02:00
Gregory John Casamento
2cca7e44aa
Add changelog
2020-05-09 14:45:34 -04:00
fredkiefer
da3298bad4
Commit patch by Yavor Doganov <yavor@gnu.org> to provide a man page for
...
GSSpeechRecognitionServer.
2020-05-09 17:24:31 +02:00
fredkiefer
66ca536acc
* Source/GSHorizontalTypesetter.m (_addExtraLineFragment): Make
...
sure curParagraphStyle and line_height always have useful values.
2020-05-09 17:16:47 +02:00
fredkiefer
cad8383e62
* 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-08 22:41:09 +02:00
Gregory John Casamento
ba79894dfd
Add changelog entry
2020-05-06 17:06:55 -04:00
Gregory John Casamento
c8c312351a
Fix spelling and extra include.
2020-04-26 15:04:25 -04:00
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