Commit graph

8901 commits

Author SHA1 Message Date
Gregory John Casamento
14464dc864 NSRunningApplication implementation 2021-03-20 08:22:47 -04:00
Fred Kiefer
b8b4d7c2f0
Merge pull request #100 from iamleeg/frontmost_app_stub
Add stub for -[NSWorkspace frontmostApplication]
2021-03-17 23:25:01 +01:00
Graham Lee
f3dd2fa451 Add stub for -[NSWorkspace frontmostApplication] 2021-03-17 21:18:24 +00: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
Gregory Casamento
b962d60473
Merge pull request #92 from gnustep/NSCollectionView_initWithCoder_fix
Fix issue #91, add non-keyed encoding to initWithCoder:/encodeWithCoder
2021-02-07 12:57:17 -05:00
Gregory John Casamento
cb135584c7 Use new macros 2021-02-06 20:04:54 -05:00
Gregory John Casamento
d0dd3331fb Fix issue #91, add non-keyed encoding to initWithCoder:/encodeWithCoder 2021-02-06 15:53:20 -05: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
0d94a0bd91 Fix German translation file to use Unicode escapes. 2021-01-22 22:10:12 +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
Fred Kiefer
d28fe15d03
Merge pull request #88 from anthonyc-r/master
Make GSHorizontalTypesetter use defaultTabInterval if it has run out …
2021-01-16 17:33:39 +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
Fred Kiefer
4dff9af8e6
Merge pull request #90 from gnustep/coding_fixes
Change encoding/decoding to protect against differences in integer size.
2021-01-15 20:26:35 +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
Riccardo Mottola
05572b2d01 fix compilation with ICU 68 2020-12-21 16:35:10 +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
4004f549d7 height is CGFloat 2020-12-12 02:20:01 +01:00
Riccardo Mottola
0ff4adfd42 minor code style updates, transition to CGFloat and correct signedness too 2020-12-12 01:54:37 +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
anthonyc
186f2da812 Make GSHorizontalTypesetter use defaultTabInterval if it has run out of defined tabstops 2020-10-15 17:57:20 +01:00
rmottola
2858654976 include hack for interface in Win headers so that no patch of MinGW is needed, also try to refine bool redefinition which changes among jpeg library versions - although not foolproof solution 2020-10-15 16:58:11 +02:00
Gregory John Casamento
410388b938 Quickfix. Add #ifdef around @required to prevent compilation error 2020-10-06 08:49:42 -04:00
Fred Kiefer
411b2c91a6
Merge pull request #85 from gnustep/theme_colour_list
Protect against theme colour list missing out on default colours
2020-10-05 19:16:05 +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
Gregory John Casamento
1889812055 Fix comment 2020-09-12 20:02:13 -04:00
Gregory John Casamento
faf57dd7a5 Merge branch 'master' into windows_corrections 2020-09-12 19:57:44 -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
Gregory John Casamento
2f0a22357c Merge branch 'master' into windows_corrections 2020-09-11 18:59:52 -04:00
Fred Kiefer
1f35fc1916
Merge pull request #82 from gnustep/nextspace-backports
NSWindow input focus switch fix
2020-09-11 22:59:04 +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
Sergii Stoian
f7f80ecf8a * Source/NSWindow.m (makeKeyAndOrderFront:): unhide/activate
application after ordering and making it key. This prevents
  focus flickering between current key window and this window
  during application activation.
  Do not try to set key and main if window can't be set as key.
2020-09-11 12:52:09 +03:00
Gregory John Casamento
79374c6670 Update tooltips so that they display properly no matter what the theme is set to 2020-09-08 01:09:15 -04:00
fredkiefer
6832eaf1c4 * Source/GSXib5KeyedUnarchiver.m (-decodeCellPrototypeForElement:): Fix misuse of setType:. 2020-09-07 17:38:21 +02:00
Gregory John Casamento
cfd16f5afe Fix strange behavior of NSCell when running on windows. When a XIB or Storyboard is loaded setType is called and resets the value of the cell to 'title' for an unknown reason. 2020-09-01 04:53:13 -04:00
Gregory John Casamento
817374c50c Rollback last quickfix 2020-08-30 03:26:21 -04:00
Gregory John Casamento
ffee2f9560 Merge branch 'master' of github.com:gnustep/libs-gui 2020-08-27 19:52:28 -04:00