Fred Kiefer
a070f43ca7
* Source/NSTabView.m (-minimumSize, -contentRect): Make the
...
* values
here consistent with the code in GSThemeDrawing.
* Source/GSThemeDrawing.m (-drawTabViewRect:...): Remove useless
line of code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36184 72102866-910b-0410-8b05-ffd578937521
2013-02-22 09:26:55 +00:00
Riccardo Mottola
ffa04cc800
Encode and decode lineBreakMode with NSInteger and not NSLineBreakMode
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36182 72102866-910b-0410-8b05-ffd578937521
2013-02-21 17:19:00 +00:00
Fred Kiefer
374047524a
* Source/NSBitmapImageRep+PNG.m
...
(-_PNGRepresentationWithProperties:): Revert last change and
don't use png_info_init_3() on PNG >= 1.5.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36178 72102866-910b-0410-8b05-ffd578937521
2013-02-21 08:53:31 +00:00
Riccardo Mottola
1e8942edec
Define png_sizeof() to allow compilation on 1.6.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36177 72102866-910b-0410-8b05-ffd578937521
2013-02-20 23:42:11 +00:00
Fred Kiefer
21464c08f1
Improve the last fix by using newer method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36172 72102866-910b-0410-8b05-ffd578937521
2013-02-19 20:52:08 +00:00
Quentin Mathe
478148da52
Fixed typo in comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36171 72102866-910b-0410-8b05-ffd578937521
2013-02-19 17:01:31 +00:00
Quentin Mathe
b3c302d8c4
Cleaned drop handling code a bit more in NSTableView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36170 72102866-910b-0410-8b05-ffd578937521
2013-02-19 16:59:21 +00:00
Quentin Mathe
da5449b7a8
Don't update the drop row and operation if the drop target hasn't changed (this prevents to overwrite a custom drop row and operation set by the user)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36169 72102866-910b-0410-8b05-ffd578937521
2013-02-19 16:03:28 +00:00
Quentin Mathe
f896752208
Extracted table view drop indicator drawing from -draggingUpdated: into a new method -_drawDropIndicator
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36168 72102866-910b-0410-8b05-ffd578937521
2013-02-19 15:57:04 +00:00
Quentin Mathe
fea485cea2
Modularized the first part of -draggingUpdated: into several smaller methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36167 72102866-910b-0410-8b05-ffd578937521
2013-02-19 15:18:53 +00:00
Riccardo Mottola
b263e0d435
Check Library directory before checking and attempting to create Services subdir
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36166 72102866-910b-0410-8b05-ffd578937521
2013-02-19 13:31:46 +00:00
Fred Kiefer
941afdac86
Fix compiler warnings reported by
...
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36165 72102866-910b-0410-8b05-ffd578937521
2013-02-18 20:29:10 +00:00
Germán Arias
07faddc706
Spanish translations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36164 72102866-910b-0410-8b05-ffd578937521
2013-02-18 04:50:17 +00:00
Fred Kiefer
0c95f32580
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36163 72102866-910b-0410-8b05-ffd578937521
2013-02-17 22:44:47 +00:00
Fred Kiefer
b1fc7cb066
Correct coding/decoding after type changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36160 72102866-910b-0410-8b05-ffd578937521
2013-02-17 16:53:48 +00:00
Fred Kiefer
4d953a5122
* Source/NSBezierPath.m: More keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36157 72102866-910b-0410-8b05-ffd578937521
2013-02-17 13:02:46 +00:00
Fred Kiefer
152b94069f
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36154 72102866-910b-0410-8b05-ffd578937521
2013-02-17 00:49:04 +00:00
Fred Kiefer
7ef53c8232
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36153 72102866-910b-0410-8b05-ffd578937521
2013-02-16 21:37:29 +00:00
Fred Kiefer
270baf4037
More CGFloat, NSUInteger and NSInteger changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36148 72102866-910b-0410-8b05-ffd578937521
2013-02-16 00:08:33 +00:00
Quentin Mathe
e4e5428122
Replaced -_dataCellForTableColumn:row: by -preparedCellAtColumn:row: new public method from Mac OS X 10.5
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36136 72102866-910b-0410-8b05-ffd578937521
2013-02-14 10:34:20 +00:00
Fred Kiefer
0e308561c1
* Source/GSXibLoader.m (GSXibKeyedUnarchiver -_preProcessXib:):
...
Release the document.
Patch by Doug Simons <doug.simons@testplant.com>
* Source/GSXibLoader.m: Fix a problem where owner,
* firstResponder and application
were put in the list of top-level objects, creating a
retain-cycle.
* Source/NSViewController.m: Fix a problem where view
* controllers
did not release their top-level objects as expected.
* Source/NSWindowController.m: Fix a problem where window
controllers did not release their top-level objects as expected.
Changes made in occordance with
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html
Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36134 72102866-910b-0410-8b05-ffd578937521
2013-02-14 09:22:56 +00:00
Fred Kiefer
0a4708d4d0
Resolve clang warnings about wrong format specifiers for NSLog.
...
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36133 72102866-910b-0410-8b05-ffd578937521
2013-02-14 08:58:05 +00:00
Fred Kiefer
d7fbd2f6af
Resolve memory leak for GSXibElement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36122 72102866-910b-0410-8b05-ffd578937521
2013-02-13 08:54:34 +00:00
Fred Kiefer
d4f80c2258
Change NSEvent to CGFloat, NSUInteger and NSInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36121 72102866-910b-0410-8b05-ffd578937521
2013-02-13 08:40:36 +00:00
Riccardo Mottola
5b3ec6a678
translations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36116 72102866-910b-0410-8b05-ffd578937521
2013-02-12 08:29:58 +00:00
Fred Kiefer
f078b2daaf
* Headers/AppKit/NSSplitView.h
...
* Source/NSSplitView.m: Change to CGFloat, NSUInteger and NSInteger.
Patch partly by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36109 72102866-910b-0410-8b05-ffd578937521
2013-02-10 21:32:07 +00:00
Fred Kiefer
4398fd997f
* Sound/SndfileSource.m (dataRead): Remove unused variable
...
* range.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36093 72102866-910b-0410-8b05-ffd578937521
2013-02-08 21:56:39 +00:00
Fred Kiefer
cda7dc977f
* Headers/AppKit/NSPageLayout.h
...
* Source/NSPageLayout.m: Change int to NSInteger.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36092 72102866-910b-0410-8b05-ffd578937521
2013-02-08 17:50:25 +00:00
Fred Kiefer
6c32c76a0c
Encoding correction for last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36090 72102866-910b-0410-8b05-ffd578937521
2013-02-08 12:31:12 +00:00
Fred Kiefer
4f3f4515ee
Regenerate string files. Translations are still missing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36089 72102866-910b-0410-8b05-ffd578937521
2013-02-08 12:26:26 +00:00
Riccardo Mottola
9e67500f35
Add tooltips to buttons.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36081 72102866-910b-0410-8b05-ffd578937521
2013-02-07 17:14:20 +00:00
Quentin Mathe
37311e0e04
Fixed -encodeWithCoder: in NSView to encode the superview conditionally as Cocoa
...
does (Apple discusses superview encoding as a use case for conditional encoding
in the Archiving related documentation).
Note: A view can now be archived (or copied) without having to remove the view
from its hierarchy before archiving it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36065 72102866-910b-0410-8b05-ffd578937521
2013-02-06 17:28:52 +00:00
Fred Kiefer
340c7eb879
Change DPS/PS functions to CGFloat and NSInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36063 72102866-910b-0410-8b05-ffd578937521
2013-02-05 19:18:49 +00:00
David Chisnall
9d153b9b8b
Fix the NSBrowser delegate methods in NSSavePanel to have the correct types.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36061 72102866-910b-0410-8b05-ffd578937521
2013-02-05 12:51:11 +00:00
David Chisnall
15a3aec436
When displaying the horizontal menu, set the title of the main menu to the name
...
of the application, not the name of the process, if the info bundle contains an
application name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36060 72102866-910b-0410-8b05-ffd578937521
2013-02-05 12:14:20 +00:00
Fred Kiefer
27897b75e8
* Source/NSBezierPath.m: Started the implementation of keyed
...
encoding and decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36059 72102866-910b-0410-8b05-ffd578937521
2013-02-03 22:40:14 +00:00
Fred Kiefer
e62fddeea0
Change NSBezierPath to use NSInteger and CGFloat and adjust uses to
...
this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36054 72102866-910b-0410-8b05-ffd578937521
2013-02-01 14:03:08 +00:00
David Chisnall
a2aa2001da
Fix warnings in NSForm.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36046 72102866-910b-0410-8b05-ffd578937521
2013-01-31 09:04:21 +00:00
Fred Kiefer
1aa1803744
* Headers/AppKit/NSBrowser.h
...
* Headers/AppKit/NSFontPanel.h
* Headers/AppKit/NSMatrix.h
* Headers/AppKit/NSTableView.h
* Source/NSBrowser.m
* Source/NSFontPanel.m
* Source/NSMatrix.m: Small fixes to last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36042 72102866-910b-0410-8b05-ffd578937521
2013-01-30 22:13:32 +00:00
David Chisnall
40fb48e5de
Next bit of NSInteger cleanup for -gui.
...
Fix all of the current warnings in Gorm so that it can be used to test
NSInteger things.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36039 72102866-910b-0410-8b05-ffd578937521
2013-01-30 12:43:27 +00:00
David Chisnall
4850a9feac
Fix all current compiler warnings on FreeBSD/x86-64.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36038 72102866-910b-0410-8b05-ffd578937521
2013-01-30 09:48:54 +00:00
Fred Kiefer
fe0444e231
* Source/externs.m: Change predefined colour values to CGFloat.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36037 72102866-910b-0410-8b05-ffd578937521
2013-01-30 08:43:56 +00:00
Fred Kiefer
d870275b7f
* Headers/AppKit/NSCell.h
...
* Headers/AppKit/NSColor.h
* Headers/AppKit/NSGraphics.h
* Headers/AppKit/NSView.h
* Source/Functions.m
* Source/GSThemeDrawing.m
* Source/GSTitleView.m
* Source/NSApplication.m
* Source/NSCell.m
* Source/NSView.m: More NSInteger/NSUInteger/CGFloat cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36035 72102866-910b-0410-8b05-ffd578937521
2013-01-29 21:57:41 +00:00
Fred Kiefer
3205b3037d
* Headers/AppKit/NSApplication.h
...
* Source/NSApplication.m: NSInteger/NSUInteger cleanup
* Source/externs.m: Add NSAppKitVersionNumber.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36032 72102866-910b-0410-8b05-ffd578937521
2013-01-29 08:35:49 +00:00
Fred Kiefer
a612305757
First set of NSInteger/NSUInteger cleanup in gui.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36029 72102866-910b-0410-8b05-ffd578937521
2013-01-27 20:28:35 +00:00
Fred Kiefer
ec2f64f7a9
* Source/NSTextContainer.m (lineFragmentRectForProposedRect:...):
...
Prevent negative width/height from being returned.
Bug found by unit test from Nikolaus Schaller
<hns@computer.org>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36026 72102866-910b-0410-8b05-ffd578937521
2013-01-27 14:51:26 +00:00
Gregory John Casamento
128032c291
* Source/NSPopUpButtonCell.m: Revert previous change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36019 72102866-910b-0410-8b05-ffd578937521
2013-01-25 17:59:08 +00:00
Gregory John Casamento
bb404934fb
Correct ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36018 72102866-910b-0410-8b05-ffd578937521
2013-01-25 16:15:07 +00:00
Gregory John Casamento
4f8b519eb3
Remove setAction for _popUpItemAction: from insertItem:atIndex:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36017 72102866-910b-0410-8b05-ffd578937521
2013-01-25 00:47:51 +00:00
Fred Kiefer
e370aab73b
* Headers/AppKit/NSTextContainer.h,
...
* Source/NSTextContainer.m,
* Source/GSHorizontalTypesetter.m: Correct the definition of
NSLineMovementDirection.
* Headers/AppKit/NSFont.h
* Source/NSFont.m: Add a few missing 10.4 methods.
* Header/AppKit/NSLayoutManager.h,
* Source/NSLayoutManager.m: Add one 10.5 method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35999 72102866-910b-0410-8b05-ffd578937521
2013-01-19 18:22:45 +00:00