Ivan Vučica
280c3e0095
Clean up -[NSImage initWithCoder:], reduce amount of releases of self.
...
Some context available in PR #12 and PR #13 .
2017-12-07 19:07:43 +00:00
fredkiefer
7270f8efc7
Add new backingScaleFactor method on NSScreen.
2017-12-03 22:02:06 +01:00
Ivan Vučica
93218f7fc1
Update ChangeLog.
...
This is to complement PR #12 .
2017-10-28 17:10:23 +00:00
fredkiefer
e3d51643ca
Protect against [window screen] returning nil.
2017-10-05 23:05:28 +02:00
Ivan Vučica
020d3fa183
release-chore: Preparations for 0.26.0. Backfill of ReleaseNotes.
...
Bumping version to 0.26.0. Adding stub news entries related to the
release into news.texi and ReleaseNotes.gsdoc.
Also, this commit backfills ReleaseNotes for releases 0.24.1, 0.25.0
and 0.25.1.
2017-10-01 22:20:13 +01:00
fredkiefer
3ac7a369c5
* Source/NSStepperCell.m (-trackMouse:...untilMouseUp:): Adjust
...
to changes in super class.
2017-08-31 23:57:41 +02:00
fredkiefer
c72d2df3ff
* Source/NSButtonCell.m (-setButtonType:): Warn about unsupported
...
button types.
* Source/NSCell.m (-performClickWithFrame:inView:): Highlight the
cell only if drawing is possible.
2017-08-27 11:23:43 +02:00
fredkiefer
e853f4fdbf
Rewrote mouse tracking logic to be closer to the Cocoa definition.
2017-08-27 11:13:17 +02:00
Daniel Ferreira
b2fa5c5de2
Update ChangeLog
2017-08-27 01:42:00 +01:00
Riccardo Mottola
78be5ef0ea
Initialize density to 0, so that in case it is unset (72dpi) it is not a random value in case the struct is not zeroed
2017-08-25 14:20:58 +02:00
Riccardo Mottola
02af4bbcd9
Add russian translation
2017-08-09 01:45:05 +02:00
Daniel Ferreira
83e505c8a8
chore: add Travis CI build to GUI
...
Add a Travis CI build to gnustep-gui to check if everything is really
okay before accepting patches.
Recent events have shown that bad patches have passed through the review
process, specially when it comes to breaking compatibility with GCC. A
CI routine would distinctly avoid these cases.
2017-08-06 18:48:26 +00:00
Alex
fa2fabb5b7
Add Polish translation.
2017-08-06 18:41:16 +00:00
Alex
b0b5e51a1e
Add German translation for ColorPickers's StandardPicker.strings
2017-08-04 12:41:07 +01:00
fredkiefer
b713d0c023
Clean up NSPasteboardItem files.
2017-07-31 23:21:59 +02:00
Ivan Vučica
1cb15c2735
Remove RETAIN() when returning -[NSPasteboardItem types].
...
Objective-C memory management policy specifies that methods named with
alloc, new, copy and mutableCopy are the ones that return objects with
refcount 1.
Additionally, `@property (..., copy, ...)` only modifies the setter; the getter
still returns the object as-is. While it should be correct to create
a new immutable object every time, we should not create an object
with refcount 1, but an autoreleased object.
2017-07-31 11:36:15 +01:00
Daniel Ferreira
13724679d9
Update ChangeLog
2017-07-31 11:22:59 +01:00
fredkiefer
e85a1a0664
* Source/NSMenuView.m (-attachSubmenuForItemAtIndex:): We should
...
not use [NSMenu display] for NSWindows95InterfaceStyle as there we
have two NSMenuViews for the NSMenu.
2017-07-28 19:24:45 +02:00
Riccardo Mottola
47c09aaedb
We can actually use retain as an equivalent property when not using ARC
2017-07-28 10:01:25 +02:00
fredkiefer
9bb07ba461
Remove property attribute "strong" as gcc does not support this.
2017-07-27 08:29:18 +02:00
Riccardo Mottola
5627b69f1a
Do not initialize a string constant with another string constant or it breaks GCC build as is. Better proposals to ensure the exact same string pointer is used welcome.
2017-07-26 14:23:00 +02:00
Daniel Ferreira
78e6ea6b8a
Update ChangeLog
2017-07-25 22:33:12 +01:00
Daniel Ferreira
0a6f8c0152
Update ChangeLog
2017-07-25 22:33:12 +01:00
fredkiefer
fd6e7f2e42
Fix small bug found by compiler.
2017-07-22 20:44:45 +02:00
fredkiefer
a02b40a9dd
Add some enums and the method -momentumPhase to NSEvent.
2017-07-22 20:17:00 +02:00
fredkiefer
79d6582884
Add ChangeLog for last change.
2017-07-09 22:35:42 +02:00
fredkiefer
3776e17d59
Add a .gitignore file
2017-07-09 15:47:23 +00:00
Riccardo Mottola
4ba0fa25cc
Save resolution information if it is different from 72 dpi
2017-06-20 20:14:50 +00:00
fredkiefer
fc8c034aca
* Source/externs.m: Added semicolons missing in last commit.
...
* Source/NSSavePanel.m: Fix return type of sorting function.
2017-06-20 20:14:40 +00:00
fredkiefer
759ff8fecf
Split ChangeLog file.
2017-06-20 20:14:09 +00:00
Fred Kiefer
86c2fd5391
Added missing change log for merged pull request.
2017-06-20 20:14:00 +00:00
Riccardo Mottola
9c7eeb9c20
Support for writing resolution
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40491 72102866-910b-0410-8b05-ffd578937521
2017-04-24 10:42:32 +00:00
Fred Kiefer
2b747e4809
* Version: Correct required base version that has been off for a year.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40489 72102866-910b-0410-8b05-ffd578937521
2017-04-22 13:14:55 +00:00
Fred Kiefer
c8f9e50b85
* Printing/GSCUPS/GSCUPSPrinter.m: Add include to get deprecated
...
function cupsGetPPD() on newer CUPS systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40486 72102866-910b-0410-8b05-ffd578937521
2017-04-16 18:24:16 +00:00
Fred Kiefer
099257dac9
Fix some clang static analyser warnings reported by
...
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40484 72102866-910b-0410-8b05-ffd578937521
2017-04-16 11:54:21 +00:00
Fred Kiefer
521fd071b4
Make the class GSXibKeyedUnarchiver public again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40449 72102866-910b-0410-8b05-ffd578937521
2017-04-05 21:51:43 +00:00
Ivan Vučica
f2e26995e2
Update changelog for 0.25.1.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40439 72102866-910b-0410-8b05-ffd578937521
2017-04-03 23:44:56 +00:00
Fred Kiefer
753415895b
2017-04-01 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSMenu.m (-displayTransient): Update menu before displaying.
* Source/NSMenuView.m (-attachSubmenuForItemAtIndex:): Use NSMenu
display method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40431 72102866-910b-0410-8b05-ffd578937521
2017-03-31 22:14:50 +00:00
Fred Kiefer
34bbb5e95d
2017-03-31 Fred Kiefer <FredKiefer@gmx.de>
...
* Source/NSAttributedString.m: Check for surrogate UTF16
characters to prevent nil strings when trying to attempt fonst
substitution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40430 72102866-910b-0410-8b05-ffd578937521
2017-03-31 21:49:09 +00:00
Riccardo Mottola
90d793695b
Ignore density if unit is 0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40429 72102866-910b-0410-8b05-ffd578937521
2017-03-31 15:35:46 +00:00
Riccardo Mottola
28b15bce9f
Parse density data and set size accordingly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40425 72102866-910b-0410-8b05-ffd578937521
2017-03-28 13:51:12 +00:00
Fred Kiefer
083b34fe1c
* Source/NSBitmapImageRep+JPEG.m(-_JPEGRepresentationWithProperties:errorMessage:):
...
Correct JPEG export which was using size instead of pixelsWide and pixelsHigh.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40415 72102866-910b-0410-8b05-ffd578937521
2017-03-24 23:06:31 +00:00
Fred Kiefer
19dc4dbb94
* Source/GSXibKeyedUnarchiver.m:
...
Merge some of the changes from the testplant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40406 72102866-910b-0410-8b05-ffd578937521
2017-03-20 23:04:27 +00:00
Fred Kiefer
db123bcd81
Merge some of the changes from the testplant branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40403 72102866-910b-0410-8b05-ffd578937521
2017-03-19 19:26:04 +00:00
Fred Kiefer
2efe9de227
Merge some of the changes from the testplant branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40362 72102866-910b-0410-8b05-ffd578937521
2017-03-05 22:12:15 +00:00
Fred Kiefer
1323c50d6e
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Add
...
extra line fragment for empty string here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40350 72102866-910b-0410-8b05-ffd578937521
2017-02-20 22:32:13 +00:00
Fred Kiefer
a33b4c5073
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Add extra
...
line rect when needed.
* Source/NSTextView.m (sizeToFit): Don't add extra line rect, as
it is now already included.
* Source/NSStringDrawing.m (cache_lookup): Remove hack for empty string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40346 72102866-910b-0410-8b05-ffd578937521
2017-02-17 19:44:25 +00:00
Fred Kiefer
f5ce3badde
* Source/NSStringDrawing.m: Use shared drawing code.
...
* Source/NSStringDrawing.m (cache_lookup): Try to handle case of
empty string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40342 72102866-910b-0410-8b05-ffd578937521
2017-02-12 21:08:51 +00:00
Fred Kiefer
31cb9914d1
* Source/NSStringDrawing.m: Clean up string drawing cache code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40334 72102866-910b-0410-8b05-ffd578937521
2017-02-12 15:47:17 +00:00
Fred Kiefer
3a89e9e7c5
* Source/NSMenu.m (-_isVisible, -_isMain): Add two helper
...
methods. And make sure we update the menu items before display and
keyEquivalent processing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40285 72102866-910b-0410-8b05-ffd578937521
2017-01-08 19:33:32 +00:00