fredkiefer
560f68323b
* Source/NSBundleAdditions.m (-pathForNibResource:): Report type
...
not filename while iterating.
2019-12-29 22:19:24 +01:00
fredkiefer
d25610bf6a
Merge branch 'master' into xib_document
2019-12-24 13:15:38 +01:00
fredkiefer
13c87bc9d0
"pullsDown" should not default to true.
2019-12-24 11:36:56 +01:00
fredkiefer
5c9c641113
Reenable userDefinedRuntimeAttribute handling that got lost.
...
Correct releasing of reference elements.
Add more font attributes and get the values from NSFont.
2019-12-22 13:46:50 +01:00
Sergii Stoian
490d47cd05
* ChangeLog: fixed typo.
2019-12-18 23:14:59 +02:00
Fred Kiefer
83bea742fc
Merge pull request #42 from trunkmaster/master
...
NSBrowser column positionning and size calculation fixes
2019-12-18 18:31:30 +01: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
Fred Kiefer
998d06e4ea
Merge pull request #41 from trunkmaster/master
...
More scroller drawing improvement
2019-12-17 22:28:00 +01:00
Sergii Stoian
3086184b2b
* Source/GSThemeDrawing.m (drawScrollViewRect:inView:): minor variables fixes for
...
variables usage.
2019-12-17 19:50:45 +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
Fred Kiefer
d6ef33d805
Merge pull request #40 from trunkmaster/master
...
Scroller border drawing fix in NSScrollView
2019-12-17 13:23:45 +01: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
fredkiefer
cbda1229ed
Improve string shortening for display.
2019-12-14 18:22:03 +01:00
fredkiefer
d6cfd60462
Add handling for resources. Currently only works for images.
2019-12-14 17:46:29 +01:00
fredkiefer
c542f5df99
Fix accicental copy
2019-12-14 16:35:37 +01:00
fredkiefer
6483cf5037
Handle boolean values with a default of YES once.
...
Remove duplicated code to decode specific types.
Correct handling of NSNoAutoenable.
2019-12-14 14:23:43 +01:00
fredkiefer
9977b1a921
Imporve toolbar loading.
...
Build toolbar after NIB loading it.
2019-12-13 23:58:14 +01:00
fredkiefer
bb22c61d3b
Simplifiy special code for connections.
...
Use helper method to create references.
Add toolbar support for windows template.
2019-12-13 18:21:49 +01:00
fredkiefer
e3c9e91ec1
Merge branch 'master' into xib_document
2019-12-13 16:56:09 +01:00
fredkiefer
2b701f8ba3
Add entries for toolbar item
2019-12-13 16:53:56 +01:00
Fred Kiefer
ec26b4e01b
Merge pull request #38 from trunkmaster/master
...
Miniwindow image and title fixes.
2019-12-13 10:49:18 +01: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
fredkiefer
cffa72f107
Add first keys for toolbar decoding
2019-12-12 21:18:45 +01:00
fredkiefer
d5b913c53b
Move string UTF8 handling code to super class, where there is similar code.
2019-12-12 17:18:35 +01:00
fredkiefer
83963f9d2a
More code simplifications.
2019-12-11 23:46:44 +01: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
063e5708e7
Merge pull request #37 from trunkmaster/master
...
Insertion point height fix for NSText* objects
2019-12-11 12:23:06 +02:00
Sergii Stoian
1d19c11923
* Source/GSHorizontalTypesetter.m: removed extra imports left from
...
last 2 commits.
2019-12-11 12:13:09 +02:00
fredkiefer
3b48bd6277
Simplify alternate name generation
2019-12-11 10:20:48 +01:00
fredkiefer
ed79392a09
Four outlet use source instead of target.
2019-12-10 23:38:35 +01:00
fredkiefer
4b8a25072c
Add code from Eggplant to shorten strings when displaying in a rect.
...
This code has been partially rewritten.
2019-12-10 22:23:51 +01: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
fredkiefer
f30ec504a4
Merge branch 'master' into xib_document
...
# Conflicts:
# Source/GSXibParser.m
2019-12-10 17:14:25 +01:00
fredkiefer
519d00ea99
Handle menu items with the standard mechanism.
2019-12-10 16:59:08 +01: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
Gregory John Casamento
defbd3889f
Merge branch 'master' of github.com:gnustep/libs-gui
2019-12-09 18:45:23 -05:00
Gregory John Casamento
32a5712945
Fix address and license name in all files.
2019-12-09 18:45:15 -05:00
fredkiefer
a69826e40a
Started small cleanups.
2019-12-09 16:35:29 +01:00
fredkiefer
244e7a48d7
Remove now obsolete GSXibParser.
...
Move over more Eggplant changes.
Add basic decoding for bindings.
2019-12-09 14:22:33 +01:00
fredkiefer
9032de5842
Merge branch 'master' into xib_document
2019-12-09 11:16:39 +01:00
Fred Kiefer
76d6047d56
Merge pull request #36 from trunkmaster/master
...
Incorrect string drawing fix for ART backend.
2019-12-09 08:41:53 +01: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
378c1c4077
Take over the Eggplant code for XIB document decoding,
...
with slight cleanups to get it working with gcc.
2019-12-08 23:47:53 +01: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
Fred Kiefer
147711bb12
Merge pull request #35 from gnustep/travis_update
...
Update travis scripts to match base
2019-12-06 17:47:25 +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
Gregory John Casamento
bdadefeebd
Add all files and fix compilation
2019-12-06 05:01:51 -05:00
Gregory John Casamento
b0b20cd32e
Add macOS specific class skeletons
2019-12-05 12:57:38 -05:00