Commit graph

8026 commits

Author SHA1 Message Date
Gregory John Casamento
dd8a79f0df Add code to trim newlines if cell is in single line mode. Add code to encode single line mode 2019-04-13 23:43:27 -04:00
Gregory John Casamento
20b9c44626 Add code to read flag from nib file for usesSingleLineMode 2019-04-13 21:29:29 -04:00
Gregory John Casamento
9b248d7b64 Merge branch 'master' of github.com:gnustep/libs-gui into bug33395_uses_single_line_mode 2019-04-12 08:21:37 -04:00
Fred Kiefer
0c0b77fc9a
Merge pull request #28 from trunkmaster/master
Attributed key equivalents in menu
2019-04-10 18:04:15 +02:00
Sergii Stoian
4da4aa142b (drawKeyEquivalentWithFrame:inView:): use NCell's textColor instead of check
if we're disabled/enabled.
2019-04-10 12:08:33 +03:00
Gregory John Casamento
ae49b8374a Merge branch 'master' of github.com:gnustep/libs-gui into bug33395_uses_single_line_mode 2019-04-10 00:31:57 -04:00
Sergii Stoian
1b0e90686a (drawKeyEquivalentWithFrame:inView:): check if item is disabled/enabled and set
color attribute for attributed key equivalent string.
2019-04-10 00:40:20 +03:00
Sergii Stoian
9295b2311b (_keyEquivalentString): if modifier key string is not defined - set key
equivalent font trait: Italic for Alternate modifier Bold - for Control.
(_sizeKeyEquivalentText:): new method to calculate string size wrt font
set in `_keyEquivalentString:`.
(drawKeyEquivalentWithFrame:inView:): draw key equivalent as attributed
string.
2019-04-09 18:51:23 +03:00
Fred Kiefer
09576eb231
Merge pull request #27 from trunkmaster/master
Reduce number of appicon flickering cases
2019-04-08 18:48:52 +02:00
Sergii Stoian
baf05aabf3 Cleanup in ChangeLog. 2019-04-08 12:59:43 +03:00
Sergii Stoian
7e2ce21a24 * Source/NSApplication.m: (needsPanelToBecomeKey): removed superfluous
override - superclass (NSView) already returns `NO`.
2019-04-08 12:57:43 +03:00
Sergii Stoian
e27ffe6330 * Source/NSApplication.m (becomesKeyOnlyIfNeeded),
(needsPanelToBecomeKey): override NSWindow and NSView methods
in appicon to reduce number of order front calls. The source
of the calls is NSWindow's sendEvent:.
2019-04-08 02:54:35 +03:00
Fred Kiefer
67bc99516b
Merge pull request #26 from trunkmaster/master
Added support for WindowMaker's WMFHideApplication action.
2019-04-06 23:31:39 +02:00
Sergii Stoian
b5e65175a3 hidewindow methods was renamed to hideApplication. 2019-04-06 22:36:56 +03:00
Sergii Stoian
f5bcf3019b Change comments upon request of @fredkiefer. 2019-04-06 01:23:17 +03:00
Sergii Stoian
07dcc41ad0 (hidewindow:): fixes to return value and type. 2019-04-06 00:25:09 +03:00
Sergii Stoian
f018c2087b Added support for WindowMaker's WMFHideApplication action. 2019-04-05 14:07:33 +03:00
Fred Kiefer
7fa72c547e
Merge pull request #25 from trunkmaster/master
Handle `-autolaunch YES` application argument (GUI part)
2019-04-03 08:38:41 +02:00
Sergii Stoian
aa56eb3b82 Revert changes to Headers/Additions/GNUstepGUI/GSWindowDecorationView.h. 2019-04-03 02:17:29 +03:00
Sergii Stoian
f8c955acf4 Optimize -autolaunch YES checking code. 2019-04-03 02:10:37 +03:00
Sergii Stoian
215eb89e27 Merge branch 'master' of https://github.com/trunkmaster/libs-gui 2019-04-03 01:30:02 +03:00
Sergii Stoian
df5a79d769 Removed temporary debug output. 2019-04-03 00:53:08 +03:00
Sergii Stoian
2071f6acdd Do not activate application on first run of -activateIgnoringOtherApps: if commandline argument -autolaunch YES was specified. 2019-04-02 19:45:14 +03:00
Fred Kiefer
bb4f13ad29
Merge pull request #24 from trunkmaster/master
Lowering down NSFloatingWindowLevel number by one
2019-04-01 09:07:54 +02:00
Sergii Stoian
c0e4a4286c Fix typo. 2019-03-27 16:21:37 +02:00
Sergii Stoian
c0c3c5f448 Lovering down NSFloatingWindowLevel number by one to distinguish floating panels from menus. 2019-03-27 16:19:00 +02:00
Gregory John Casamento
9fba22c582 Fix issue with new attribute 2019-03-27 00:53:43 -04:00
Sergii Stoian
a541255fa2 Revert "Prevent blinking of appicon double-clicking on it."
This reverts commit 5385fd3191.
2019-03-26 16:46:07 +02:00
Sergii Stoian
5385fd3191 Prevent blinking of appicon double-clicking on it.
Additional NSWindow and NSView overrides prevent redaundant call to makeKeyAndOrderFront.
Checks for [NSIconWindow becomesKeyOnlyIfNeeded] and [NSIconView needsPanelToBecomeKey]
are performed in NSWindow.m line 3871.
2019-03-26 16:33:59 +02:00
Sergii Stoian
7bcf5b7fbd Moving BOOl ivars definitions down in GSStandardWindowDecorationView fixes applications segfaults on trying to access BOOL ivars. 2019-03-26 12:05:16 +02:00
Gregory John Casamento
4406c7de45 Changes for bug33395: Adds missing setter implementation. Changes to follow for behavioral and archival changes. 2019-03-09 09:47:23 -05:00
Gregory John Casamento
e833084f6d Add method setUsesSingleLineMode: and usesSingleLineMode 2019-03-09 05:43:38 -05:00
fredkiefer
a7d572f744 * Source/NSBitmapImageRep+ICNS.m (_imageRepsWithICNSData:): Try to
put the best suited image first.
2019-02-26 21:31:11 +01:00
fredkiefer
d9c033d464 * Headers/Additions/GNUstepGUI/GSHorizontalTypesetter.h: Add
comment to describe cache variables.
* Source/GSHorizontalTypesetter.m: Restructure glyph attribute
cache filling and make _addExtraLineFragment saver by providing a
default for curParagraphStyle.
2019-02-10 22:17:36 +01:00
Riccardo Mottola
682aa3ccdc Do guard includes for getmntinfo and mntent separately, should help building on Debian/kFreeBSD and fix 55526, but could need more work. 2019-01-21 23:23:16 +01:00
Ivan Vučica
ae93c9e3c9
release-chore: Update for 0.27.0 release. 2019-01-06 22:00:38 +00:00
Ivan Vučica
1a90023d6c
release-chore: Regenerate configure with autoconf 2.69. 2019-01-06 21:13:33 +00:00
fredkiefer
8e57d2a127 * Documentation/news.texi: Fill in some details for pending release.
* Source/NSTableView.m (encodeWithCoder:,initWithCoder:): Use
unsigned int instead of unsigned long for flags.
2019-01-04 17:01:57 +01:00
Riccardo Mottola
b8e6de05a3 On linux, try to read /sys/block/xxx/removable information to get information about removable volumes, while continue honoring preferences. This can be a little inefficient if called for each volume. Furthermore in mountedLocalVolumePaths, enhance skipping reserved mount names by using filesystem type also if getmmntent is available. 2018-11-19 01:49:02 +01:00
Riccardo Mottola
54fdc861a5 New getmntent structure checks 2018-11-19 01:44:24 +01:00
Fred Kiefer
c2d7973df4
Merge pull request #22 from BluRaf/master
Add Polish translation
2018-10-20 23:43:14 +02:00
Rafał Kołucki
af0c085f9d Translate more strings to Polish 2018-10-19 23:05:07 +02:00
Rafał Kołucki
047ea5c742 Add Polish translation 2018-10-15 20:18:32 +02:00
fredkiefer
b90d3a341e * Source/NSGraphicsContext.m (+graphicsContextWithGraphicsPort:flipped:):
Rewrite using an init method.
2018-09-14 22:18:16 +02:00
Wolfgang Lux
397a4116cc Avoid calling iconSize method on a null pointer. 2018-08-05 11:18:32 +02:00
fredkiefer
0e1c392ff0 * Source/NSApplication.m (-applicationIconImage): Lazy load the app icon. 2018-08-03 19:37:29 +02:00
fredkiefer
9d8dc3ba55 * Source/NSView.m (-beginPageInRect:atPlacement): Remove check for
empty rect. This will now use the placement translation all the time.
2018-07-27 10:09:44 +02:00
fredkiefer
d1683876fa Switch of tests for libobjc2 in travis file. 2018-07-20 20:03:18 +02:00
Gregory John Casamento
b60901f4d3 Merge branch 'master' of github.com:gnustep/libs-gui 2018-07-20 09:16:03 -04:00
Gregory John Casamento
d4bfdd5580 Fix issue with app icon. 2018-07-20 09:15:26 -04:00