Commit graph

8157 commits

Author SHA1 Message Date
fredkiefer
378bb98c12 Remove more commented out code.
Extract search button method.
2020-01-01 22:28:40 +01:00
fredkiefer
2f5e2b3c84 More renaming. 2020-01-01 16:46:18 +01:00
fredkiefer
f0b36d6ee8 Removed commented out elements from XmlTagToDecoderSelectorMap 2020-01-01 16:36:15 +01:00
fredkiefer
40a9e5f7b2 Fix description methods. 2020-01-01 16:23:03 +01:00
fredkiefer
9ba7063a45 Better handling of state attribute. 2020-01-01 16:10:36 +01:00
fredkiefer
3ce90ffd8a Minor spelling corrections 2020-01-01 14:13:59 +01:00
fredkiefer
0420155566 Clean up code for class NSCustomObject5. 2020-01-01 13:46:53 +01:00
fredkiefer
8b506e12b7 Better handling for DEBUG_XIB5 2020-01-01 13:39:38 +01:00
fredkiefer
250be5c957 Correct indentation. 2020-01-01 13:32:54 +01:00
fredkiefer
b6b28cc41c Better warning text for missing root obejects in XIB. 2020-01-01 13:32:10 +01:00
fredkiefer
d14a7d4ae8 Remove confusing comments. 2020-01-01 13:28:51 +01:00
fredkiefer
65445f6e4f Spelling correction and removal of a newline. 2020-01-01 13:24:39 +01:00
fredkiefer
781c18c0ae Rephrase comment that explains bit usages in flags. 2020-01-01 13:19:01 +01:00
fredkiefer
cc8f4e6137 Document purpose and origin of coding flags. 2019-12-31 18:33:50 +01:00
fredkiefer
930799e675 Fix leftover string from last commit 2019-12-31 18:26:54 +01:00
fredkiefer
427fba97d4 Move new window styles into a separate block. 2019-12-31 17:19:21 +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