Gregory John Casamento
6ea82bad5f
Merge branch 'master' of github.com:gnustep/libs-gui into NSAppearance_branch
2020-01-19 20:15:47 -05:00
Gregory John Casamento
9919d63d29
Add dealloc
2020-01-19 16:11:06 -05:00
fredkiefer
42d771d589
Get master to guild again after breakage of last commit.
2020-01-19 17:21:51 +01:00
Gregory John Casamento
c31ec536a2
NSNibOutletConnector and NSNibControlConnector classes added
2020-01-18 19:24:41 -05:00
Gregory John Casamento
7ba1d5f570
ASSIGN in initWithCoder:
2020-01-17 17:45:41 -05:00
Gregory John Casamento
810232cdad
Correct some additional issues
2020-01-17 10:06:00 -05:00
Gregory John Casamento
9f2869bc82
Fix a couple of Fred's concerns.
2020-01-17 08:20:33 -05:00
Gregory John Casamento
e17c1287b3
Encoding
2020-01-15 10:39:44 -05:00
Gregory John Casamento
0a402df303
Implement copy
2020-01-15 10:02:58 -05:00
Gregory John Casamento
d9c42f8cc8
Clean compilation
2020-01-15 08:19:59 -05: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
c0714b0de1
Add minimal version of predicate editor copied over from mySTEP.
2020-01-07 21:25:21 +01:00
fredkiefer
9a9f32d1b5
Use a formatter in the NSDatePickerCell.
2020-01-07 17:38:03 +01:00
fredkiefer
dc955b1ce4
Add minimal version of date picker copied over from mySTEP.
2020-01-06 22:25:54 +01:00
fredkiefer
560f68323b
* Source/NSBundleAdditions.m (-pathForNibResource:): Report type
...
not filename while iterating.
2019-12-29 22:19:24 +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
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
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
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
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
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
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
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
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
Gregory John Casamento
7e81e90e02
Removed all instances of include in new files.
2019-12-04 12:02:49 -05:00
Gregory John Casamento
f5026dfa97
include -> import
2019-12-04 08:40:35 -05:00
Gregory John Casamento
5b8db43dd2
Delegate to the rep instead of using the lower level function
2019-12-04 08:22:43 -05:00
Gregory John Casamento
676066b94d
Fix issue with formatting
2019-12-04 08:16:26 -05:00
Gregory John Casamento
335e529cd5
Add NSCIImageRep added in
2019-12-03 18:47:36 -05:00
Gregory John Casamento
4c56da1c57
Remove 'heron' from headers
2019-12-03 17:26:19 -05:00
Gregory John Casamento
782a8efcbe
Remove GSSVG* files since they are not needed
2019-12-03 17:19:18 -05:00
Gregory John Casamento
95dbcd2b40
Merge branch 'master' into NSImageReps_branch
2019-12-03 13:11:21 -05:00
Gregory John Casamento
6adaf911b5
Complete NSPICTImageRep implementation
2019-12-03 08:30:17 -05:00
fredkiefer
7f07e4dd43
* Source/NSBitmapImageRep.m (-_convertToFormatBitsPerSample:...):
...
+ Correct division by zero bug in image conversion.
2019-12-02 22:46:44 +01:00
Gregory John Casamento
325dbe5ac6
Working implementation of NSEPSImageRep
2019-12-02 14:23:08 -05:00
Gregory John Casamento
208116ad08
Working NSPDFImageRep
2019-12-02 10:53:08 -05:00
Gregory John Casamento
eda8ed07eb
Export GSImageMagickImageRep.h so that it can to used externally
2019-11-30 06:21:51 -05:00
Gregory John Casamento
b13662baac
remove method
2019-11-29 13:12:25 -05:00
Gregory John Casamento
22170a73b3
Add name to headers
2019-11-29 13:01:42 -05:00
Gregory John Casamento
2050631ca6
Base the new image reps off of GSImageMagickImageRep since both formats are supported by that image rep. The subclasses will access specific features not exposed in the GSImageMagickImageRep for those formats
2019-11-29 11:04:03 -05:00
Gregory John Casamento
4afa52fb1e
Add PICT structure
2019-11-26 19:15:12 -05:00
Gregory John Casamento
a2b196b422
Spelling correction
2019-11-24 06:03:07 -05:00