Richard Frith-MacDonald
bff954868b
fixup finding tools on mingw
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27238 72102866-910b-0410-8b05-ffd578937521
2008-12-07 05:39:29 +00:00
Wolfgang Lux
978d3ef1fb
NSSavePanel and NSOpenPanel now use the information provided by
...
NSWorkspace in order to identify file packages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27232 72102866-910b-0410-8b05-ffd578937521
2008-12-06 19:05:38 +00:00
Wolfgang Lux
290b38361d
Update the browser of NSSavePanel and NSOpenPanel when the list of
...
allowed file extensions is changed.
Also fix bug in NSSavePanel's _shouldShowExtension:isDir: introduced
in previous check in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27231 72102866-910b-0410-8b05-ffd578937521
2008-12-06 18:38:27 +00:00
Wolfgang Lux
02bce68800
Implement support for document types with multiple allowed file
...
extensions in NSSavePanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27228 72102866-910b-0410-8b05-ffd578937521
2008-12-06 17:06:05 +00:00
Wolfgang Lux
51ae4e18a6
Make NSOpenPanel and NSSavePanel consistently start up in the last
...
used directory by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27220 72102866-910b-0410-8b05-ffd578937521
2008-12-06 14:11:46 +00:00
Wolfgang Lux
c476e3fa6d
Fix bug where a NSDocument would appear unmodified after saving the
...
document, undoing a number of changes, and then making an equal number
of changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27219 72102866-910b-0410-8b05-ffd578937521
2008-12-06 13:24:00 +00:00
Wolfgang Lux
fe56e4959d
Implement undo: and redo: responder actions in NSWindow as on Mac OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27218 72102866-910b-0410-8b05-ffd578937521
2008-12-06 10:58:38 +00:00
Richard Frith-MacDonald
7f9939a624
clarify#
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27216 72102866-910b-0410-8b05-ffd578937521
2008-12-06 08:13:13 +00:00
Richard Frith-MacDonald
19b84c87b4
Fix failure to locate tools
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27215 72102866-910b-0410-8b05-ffd578937521
2008-12-06 08:01:09 +00:00
Gregory John Casamento
09955c2002
* Source/GSNibLoading.m: Check to make sure the menu has more than
...
0 entries in _setMain:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27206 72102866-910b-0410-8b05-ffd578937521
2008-12-04 03:33:02 +00:00
Gregory John Casamento
f74ca7e5c1
* Source/NSDocumentController.m: Fixed fileExtensionFromType:,
...
bug #24894
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27205 72102866-910b-0410-8b05-ffd578937521
2008-12-03 22:19:36 +00:00
Gregory John Casamento
ccf577f687
* Source/GSInfoPanel.m: -[GSInfoPanel initWithDictionary:]
...
don't show authors in the info panel if there are none given
in the dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27199 72102866-910b-0410-8b05-ffd578937521
2008-12-03 06:34:50 +00:00
Gregory John Casamento
0f92239a0b
* Source/NSApplication.m: Always resize icon to 48x48 so that
...
icons larger than this will display correctly. Change made in
setApplicationIconImage:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27197 72102866-910b-0410-8b05-ffd578937521
2008-12-03 06:08:12 +00:00
Gregory John Casamento
0425232826
* Source/GSNibLoading.m: Added some new methods to address
...
bug #24985 .
* Source/NSMenu.m: Removed some spaces after a close brace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27196 72102866-910b-0410-8b05-ffd578937521
2008-12-03 04:52:06 +00:00
Gregory John Casamento
03d2fc6b14
Fix for bug #24785 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27195 72102866-910b-0410-8b05-ffd578937521
2008-12-03 00:48:42 +00:00
Richard Frith-MacDonald
74aae24e15
Fix bug #24672
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27193 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:54:38 +00:00
Richard Frith-MacDonald
10fe2a1e3b
fix uninitialised variable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27191 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:39:37 +00:00
Gregory John Casamento
7e2e7607b5
* Source/GSNibLoading.m
...
* Source/NSButtonCell.m
* Source/NSNibAXAttributeConnector.m
* Source/NSNibAXRelationshipConnector.m
* Source/NSNibBindingConnector.m
* Source/NSNib.m
* Source/NSProgressIndicator.m: Change to use new headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27189 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:27:14 +00:00
Gregory John Casamento
252c5e6ccd
* Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Remove
...
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Remove
* Source/GNUmakefile: Update to reference new files.
* Source/GSGormLoader.m: Change to reference the
* Source/GSGormLoading.m: New gorm loading file.
* Source/GSNibCompatibility.m: Removed.
* Source/GSNibLoader.m: Reference the new file.
* Source/GSNibLoading.m: New file containing the nib loading logic.
* Source/GSNibTemplates.m: Removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27188 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:05:19 +00:00
Gregory John Casamento
fd6062af3b
* Source/GSNibCompatibility.m: Fix for bug #24979 . Change in
...
initWithCoder: for NSCustomView to return the real object directly
and call nibInstantiate. Change to prevent double instantiation
of NSApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27186 72102866-910b-0410-8b05-ffd578937521
2008-12-02 06:39:48 +00:00
Gregory John Casamento
5a414944de
Change so that echos bullets by default.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27184 72102866-910b-0410-8b05-ffd578937521
2008-12-01 23:57:21 +00:00
Richard Frith-MacDonald
bacf599365
Fix uninitialised variable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27177 72102866-910b-0410-8b05-ffd578937521
2008-11-30 14:06:15 +00:00
Gregory John Casamento
df0e44c0ec
* Source/GSNibCompatibility.m: Added back in _root assignment in
...
-[NSIBObjectData initWithCoder:] which was causing an issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27170 72102866-910b-0410-8b05-ffd578937521
2008-11-29 05:39:36 +00:00
Gregory John Casamento
8c5b239f5a
* Source/GSNibCompatibility.m: Correct issue when loading into
...
Gorm. NSClassSwapper should check to see if it's in the gui builder
and return the appropriate class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27169 72102866-910b-0410-8b05-ffd578937521
2008-11-28 20:16:26 +00:00
Gregory John Casamento
3bde1ce15d
* Source/GSNibCompatibility.m: Corrected issue with using generic
...
cells on some controls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27153 72102866-910b-0410-8b05-ffd578937521
2008-11-27 15:07:09 +00:00
Richard Frith-MacDonald
61ab558bf1
cope with base installed in local domain and other cases
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27151 72102866-910b-0410-8b05-ffd578937521
2008-11-27 14:38:45 +00:00
Gregory John Casamento
fc6e72192e
* Source/NSWorkspace.m: [NSWorkspace getInfoForFile:application:type:]
...
appName output parameter is set to nil if no application is found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27143 72102866-910b-0410-8b05-ffd578937521
2008-11-27 06:24:01 +00:00
Gregory John Casamento
efd8695609
Minor correction to previous change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27142 72102866-910b-0410-8b05-ffd578937521
2008-11-27 05:43:44 +00:00
Gregory John Casamento
4c043a0017
* Source/GSNibCompatibility.m: Correct bug #24780 . There was an issue
...
in NSClassSwapper when decoding classes which use cells from nib files.
* Source/NSSecureTextField.m: Encode in encodeWithCoder and
decodeWithCoder: a key for storing the bool _echosBullets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27140 72102866-910b-0410-8b05-ffd578937521
2008-11-27 02:12:55 +00:00
Wolfgang Lux
c6e08b897c
Improve implementation of undo and register redo operations for
...
NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27138 72102866-910b-0410-8b05-ffd578937521
2008-11-26 22:56:03 +00:00
Gregory John Casamento
7683c739eb
* Headers/AppKit/NSWindow.h: Declaration for attachedSheet.
...
* Source/NSWindow.m: Added skeleton implementation of attachedSheet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27137 72102866-910b-0410-8b05-ffd578937521
2008-11-26 21:29:32 +00:00
Wolfgang Lux
28b86a0bae
Double clicking on a white space character also selects the
...
surrounding white space as on OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27131 72102866-910b-0410-8b05-ffd578937521
2008-11-25 21:46:23 +00:00
Wolfgang Lux
d1514c3ce1
Simplify the new drag and drop implementation for NSTextView and fix
...
some corner cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27129 72102866-910b-0410-8b05-ffd578937521
2008-11-24 21:58:42 +00:00
Wolfgang Lux
7e739d6fa3
Fix an oversight in the previous check-in that was causing a crash
...
when moving text via drag and drop to the end of a text view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27126 72102866-910b-0410-8b05-ffd578937521
2008-11-24 10:27:10 +00:00
Wolfgang Lux
30fb47d4bb
Improve drag and drop implementation for NSTextView so that an ongoing
...
drag operation no longer changes the current selection of the target
view. Also fix an issue with dropping text into an empty text view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27125 72102866-910b-0410-8b05-ffd578937521
2008-11-24 08:24:19 +00:00
Gregory John Casamento
8b23e80c6d
* Headers/AppKit/NSLayoutManager.h: Declarations for new methods
...
to handle temporary attributes.
* Source/GSNibCompatibility.m: Corrections to nib loading logic.
* Source/NSLayoutManager.m: Skeleton implementations of new
methods to handle temporary attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27124 72102866-910b-0410-8b05-ffd578937521
2008-11-23 23:54:00 +00:00
Fred Kiefer
9045dcf521
Make sure a decoded control always has a cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27122 72102866-910b-0410-8b05-ffd578937521
2008-11-23 17:10:22 +00:00
Wolfgang Lux
2f2292f703
Complete drag and drop support for NSTextView by making them dragging
...
sources, too. In addition, support dragging text to non-rich text
NSTextViews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27117 72102866-910b-0410-8b05-ffd578937521
2008-11-23 10:02:16 +00:00
Gregory John Casamento
de552b0ce9
* Source/GSNibCompatibility.m: Further improvements to nib loading
...
logic.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27115 72102866-910b-0410-8b05-ffd578937521
2008-11-23 01:41:04 +00:00
Gregory John Casamento
a526472758
* Source/GSNibCompatibility.m: Remove calls to designated initializers
...
for nib files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27114 72102866-910b-0410-8b05-ffd578937521
2008-11-22 04:07:50 +00:00
Gregory John Casamento
cfbf81636e
* Source/GSNibTemplates.m: Remove calls to designated initializers
...
as per documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27104 72102866-910b-0410-8b05-ffd578937521
2008-11-21 06:07:52 +00:00
Wolfgang Lux
2bedbf4129
Revert the previous change to NSWindow -miniaturize: correcting bug
...
#24707 . A better fix for this is now in -back.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27102 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:57 +00:00
Fred Kiefer
c18e1e2c12
Hack to dar cached image representation on scaled context correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27097 72102866-910b-0410-8b05-ffd578937521
2008-11-19 18:57:24 +00:00
Fred Kiefer
6e3db9142d
Return a winding count of 0 when the bezier path is empty.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27086 72102866-910b-0410-8b05-ffd578937521
2008-11-17 22:19:30 +00:00
Fred Kiefer
833dedb984
Split up final notification sending into method _didFinishLaunching
...
to allow supclasses to go between these calls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27083 72102866-910b-0410-8b05-ffd578937521
2008-11-17 20:52:24 +00:00
Fred Kiefer
d39b74c4cc
Get the device description for an NSImage representation from the window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27074 72102866-910b-0410-8b05-ffd578937521
2008-11-16 23:21:58 +00:00
Fred Kiefer
1febd24809
Correction to last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27069 72102866-910b-0410-8b05-ffd578937521
2008-11-16 16:18:11 +00:00
Fred Kiefer
2e53778720
Bug fix for last changes on NSView bounds setting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27067 72102866-910b-0410-8b05-ffd578937521
2008-11-16 13:45:53 +00:00
Wolfgang Lux
db8e30700b
Fix problems where the string value of a text field control might not
...
be updated while its cell is edited and where the save panel's text
form ignores the file name passed to -runModalForDirectory:file:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27059 72102866-910b-0410-8b05-ffd578937521
2008-11-14 23:12:33 +00:00
Fred Kiefer
d71b76e768
Replaced scrollview change with one that is easier to understand.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27053 72102866-910b-0410-8b05-ffd578937521
2008-11-14 19:25:01 +00:00
Gregory John Casamento
32e9a3017a
* Source/NSScrollView.m: Correct issue with tableviews when
...
loading nib files, corrected bug #24782 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27044 72102866-910b-0410-8b05-ffd578937521
2008-11-14 05:36:20 +00:00
Fred Kiefer
ab5d2c1256
More corrections to bounds transformation, based on the new test code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27042 72102866-910b-0410-8b05-ffd578937521
2008-11-13 20:44:51 +00:00
Gregory John Casamento
93655370b0
* Source/GSNibCompatibility.m: Conditionally call setToolTip if it
...
exists when doing establishConnection on an NSIBHelpConnector.
* Source/NSDocumentController.m: Correction to prevent exception when
NSDocumentClass isn't specified. This does not cause an issue on
Mac OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27031 72102866-910b-0410-8b05-ffd578937521
2008-11-12 22:58:47 +00:00
Fred Kiefer
f0bb36dd4f
Correction to bounds translation and rotation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27023 72102866-910b-0410-8b05-ffd578937521
2008-11-11 20:13:17 +00:00
Gregory John Casamento
fc97426207
* Source/NSSecureTextField.m: Patch to make bullets output when
...
setEchosBullets is set to yes in NSSecureTextField. Corrects
bug #19761 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27020 72102866-910b-0410-8b05-ffd578937521
2008-11-09 15:19:16 +00:00
Gregory John Casamento
dc2030262a
* Source/NSDocument.m: Correction for bug#24758, add name and
...
type information to the object before reading the file so that
it is available during the readFile:ofType: method call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27017 72102866-910b-0410-8b05-ffd578937521
2008-11-08 15:17:49 +00:00
Fred Kiefer
99acf8e220
Filled with some more code. The conversion within the same colour
...
space and be between black/white and RGB should now be correct
and faster.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27013 72102866-910b-0410-8b05-ffd578937521
2008-11-06 09:23:10 +00:00
Wolfgang Lux
39f911eae7
Trigger the action of NSButton and NSPopUpButton in their keyDown
...
method only for the Space key.
Fix key view loop of NSAlert panels and NSSavePanel so that all
buttons become reachable with the Tab key.
Make Escape key equivalent of the Cancel button of NSSavePanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27011 72102866-910b-0410-8b05-ffd578937521
2008-11-05 23:01:37 +00:00
Wolfgang Lux
c1fd62315e
Pass correct arguments to the didEndSelector passed to NSAlert's
...
-beginSheetModalForWindow:delegate:didEndSelector:contextInfo: method.
Fix swapping of title and informative message text in NSAlerts. Also
supply a default title "Alert" if none is set.
Determine key equivalent of NSAlert buttons from their localized titles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27010 72102866-910b-0410-8b05-ffd578937521
2008-11-05 22:47:50 +00:00
Wolfgang Lux
edd9b4a68a
Make NSApplication's responder chain for action messages consistent
...
with Apple's documentation and the Mac OS X implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27008 72102866-910b-0410-8b05-ffd578937521
2008-11-05 22:05:58 +00:00
Wolfgang Lux
4e48499493
Provide a working implementation for -isFilePackageAtPath: in
...
NSWorkspace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27007 72102866-910b-0410-8b05-ffd578937521
2008-11-05 21:49:44 +00:00
Gregory John Casamento
9bf94dbf24
* Source/NSWindow.m: Reverted a previous change to miniaturize.
...
This should correct bug #24707 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27002 72102866-910b-0410-8b05-ffd578937521
2008-11-02 01:30:35 +00:00
Fred Kiefer
67cea92af6
Stop valgrind from complaining about invalid memory access.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26998 72102866-910b-0410-8b05-ffd578937521
2008-10-31 22:51:46 +00:00
Fred Kiefer
a6a6257800
Forgotten NSBrowser commit.
...
Fix to make ICNS loading more stable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26993 72102866-910b-0410-8b05-ffd578937521
2008-10-31 09:53:21 +00:00
Fred Kiefer
2b3ec299c9
In NSMenu compare target for identity not equality.
...
Decoding and encoding for NSWindowController.
Extend the responder chain of a window beyond itself.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26959 72102866-910b-0410-8b05-ffd578937521
2008-10-24 07:59:42 +00:00
Fred Kiefer
56388864db
Make window controller a subclass of NSResponder and manage the
...
responder chain. Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26956 72102866-910b-0410-8b05-ffd578937521
2008-10-23 08:17:23 +00:00
Adam Fedor
76b074a205
Fix broken jpeg boolean def
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26943 72102866-910b-0410-8b05-ffd578937521
2008-10-21 00:55:37 +00:00
Fred Kiefer
1b11784194
Delegate the content rect computation to the actual window decoration
...
view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26942 72102866-910b-0410-8b05-ffd578937521
2008-10-20 13:28:28 +00:00
Riccardo Mottola
b078bfc7c9
dont unreigster non existent named port
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26935 72102866-910b-0410-8b05-ffd578937521
2008-10-18 23:07:03 +00:00
Gregory John Casamento
fcb9767969
* Source/NSWindow.m: Remove code in stringWithSavedFrame which was causing a
...
crash due to issues in NSToolbar described in bug#24601.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26934 72102866-910b-0410-8b05-ffd578937521
2008-10-18 23:02:40 +00:00
Riccardo Mottola
75a92b018f
removed c99ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26932 72102866-910b-0410-8b05-ffd578937521
2008-10-18 19:28:00 +00:00
Fred Kiefer
e362e578e9
Move the initialization of windowmaps to initialize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26928 72102866-910b-0410-8b05-ffd578937521
2008-10-17 15:41:00 +00:00
Gregory John Casamento
29373b4707
* Source/GSInfoPanel.m: Minor correction in initWithDictionary to
...
display url properly, if it is not specified in the dictionary passed
or if the dictionary is nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26853 72102866-910b-0410-8b05-ffd578937521
2008-09-17 22:15:21 +00:00
Gregory John Casamento
d2901739b5
* Source/NSWorkspace.m: Exclude list of reserved mount names from
...
the results returned by -mountedLocalVolumePaths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26852 72102866-910b-0410-8b05-ffd578937521
2008-09-17 21:51:50 +00:00
Fred Kiefer
829457697a
Added functionality to copy the text content of the info panel
...
to the pasteboard.
Fixes #23831 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26838 72102866-910b-0410-8b05-ffd578937521
2008-09-09 15:58:08 +00:00
Fred Kiefer
31293f108c
Use flushWindow instead of [GSCurrentContext() flushGraphics].
...
Should fix #24200 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26837 72102866-910b-0410-8b05-ffd578937521
2008-09-08 19:28:05 +00:00
Fred Kiefer
f114baad28
Moved _sizeForBorderType() into GSTheme header and added more methods
...
for theme abstraction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26836 72102866-910b-0410-8b05-ffd578937521
2008-09-08 18:59:48 +00:00
Fred Kiefer
aa4ce2c493
Corrected last change. Sorry for that.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26835 72102866-910b-0410-8b05-ffd578937521
2008-09-07 11:16:32 +00:00
Fred Kiefer
5b04e85e90
Corrected inconsistently named constants in definition not just usage.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26834 72102866-910b-0410-8b05-ffd578937521
2008-09-06 21:30:50 +00:00
Gregory John Casamento
c4b107b4c4
Correct minor issue with constant name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26830 72102866-910b-0410-8b05-ffd578937521
2008-09-04 01:13:23 +00:00
Fred Kiefer
288bf8cfbe
Add drop in replacement code for libicns.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26829 72102866-910b-0410-8b05-ffd578937521
2008-09-03 07:02:34 +00:00
Richard Frith-MacDonald
5256dfa00e
fix for bug #24109
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26817 72102866-910b-0410-8b05-ffd578937521
2008-08-21 09:08:45 +00:00
Richard Frith-MacDonald
1894b2468e
Fix some codee which was not 64bit clean.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26816 72102866-910b-0410-8b05-ffd578937521
2008-08-21 08:42:20 +00:00
Fred Kiefer
b6e2a9c2c2
Improved mini window handling. Patch by Hubert Chathi
...
<hubert@uhoreg.ca>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26810 72102866-910b-0410-8b05-ffd578937521
2008-08-15 06:45:17 +00:00
Gregory John Casamento
118d6d20f0
* Source/NSApplication.m: Removed icns string addition to rely on
...
NSImage code to find the image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26808 72102866-910b-0410-8b05-ffd578937521
2008-08-14 02:21:15 +00:00
Gregory John Casamento
b79669d5f1
Added support for CF keys.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26807 72102866-910b-0410-8b05-ffd578937521
2008-08-13 05:17:19 +00:00
Gregory John Casamento
bfde86fcd5
* Source/NSApplication.m: Add logic to load the icns if it's specified
...
as the icon file for an application.
* Source/NSBitmapImageRep+ICNS.m: Limit the size of the representation
to the 48x48 version.
In the future I would like GNUstep to take full advantage of this format and display the representation which is most appropriate for a given size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26806 72102866-910b-0410-8b05-ffd578937521
2008-08-13 01:54:23 +00:00
Gregory John Casamento
8b4277dcdc
* configure: Regenerated file
...
* configure.ac: Added check for libicns. (http://icns.sourceforge.net/ )
* Headers/Additions/GNUstepGUI/config.h.in
* Source/GNUmakefile: Added new files
* Source/NSBitmapImageRep+ICNS.h: Header for ICNS category
* Source/NSBitmapImageRep+ICNS.m: Implementation if ICNS reading
logic.
* Source/NSBitmapImageRep.m: Add support for the ICNS file
format so that GNUstep can read Mac OS X icon files. Uses
the libicns library available from sourceforge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26805 72102866-910b-0410-8b05-ffd578937521
2008-08-12 04:58:04 +00:00
Fred Kiefer
d63f065d0a
When ending editing change first responder first to avoid recusion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26804 72102866-910b-0410-8b05-ffd578937521
2008-08-10 22:04:14 +00:00
Fred Kiefer
f88a8e3a08
Add dummy version of NSSetFocusRingStyle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26803 72102866-910b-0410-8b05-ffd578937521
2008-08-09 15:54:56 +00:00
Adam Fedor
d650fce161
Handle patched jpeg library found on CYGWIN.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26802 72102866-910b-0410-8b05-ffd578937521
2008-08-08 14:08:54 +00:00
Gregory John Casamento
fd45064a83
* Headers/AppKit/NSTokenFieldCell.h
...
* Headers/AppKit/NSTokenField.h: Headers for new class.
* Source/GNUmakefile
* Source/NSDocumentController.m: Added code to handle the
CF keys as well as the NS keys for document oriented apps.
* Source/NSTokenFieldCell.m
* Source/NSTokenField.m: Start of implementation for this class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26801 72102866-910b-0410-8b05-ffd578937521
2008-08-07 05:17:32 +00:00
Fred Kiefer
2505d01c74
Correct retain/release issues in NSScrollView and NSWindowController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26799 72102866-910b-0410-8b05-ffd578937521
2008-08-02 17:34:04 +00:00
Fred Kiefer
6b3d9536fd
Add fallback glyph when no glyph can be found for current character.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26778 72102866-910b-0410-8b05-ffd578937521
2008-07-13 09:31:00 +00:00
Fred Kiefer
11bede28df
Protect all access to the glyph arrays.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26773 72102866-910b-0410-8b05-ffd578937521
2008-07-12 23:00:37 +00:00
Fred Kiefer
1f1fb3c153
Add some more protection against inconsistent state.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26771 72102866-910b-0410-8b05-ffd578937521
2008-07-12 21:10:08 +00:00
Fred Kiefer
bcd595e826
Standardize path before checking existance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26770 72102866-910b-0410-8b05-ffd578937521
2008-07-12 18:27:41 +00:00
Gregory John Casamento
e39b7a04b4
* Source/NSMenu.m: Beginning of support for windows style menus on the
...
top of the window.
* Source/NSWindow.m: Added code in the method -setFrameFromString: to
make certain the window doesn't go out of bounds if the screen size
changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26751 72102866-910b-0410-8b05-ffd578937521
2008-07-08 20:17:44 +00:00
Fred Kiefer
001bdbc4e9
Add MacOS 10.4 method -selectItemWithTag:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26743 72102866-910b-0410-8b05-ffd578937521
2008-07-02 22:10:53 +00:00
Fred Kiefer
a280fa3721
Commit scroll adjustment patch by Benhur Stein.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26678 72102866-910b-0410-8b05-ffd578937521
2008-06-17 20:20:15 +00:00
Adam Fedor
41ec18afa4
Fix incorrect commits
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26633 72102866-910b-0410-8b05-ffd578937521
2008-06-12 14:09:48 +00:00
Adam Fedor
7afdd32ac1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
fc2c78170f
Make the implemenation of the method prepareForDragOperation:
...
non-mandatory, as on OSX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26617 72102866-910b-0410-8b05-ffd578937521
2008-06-09 18:09:09 +00:00
Fred Kiefer
1a9a9468c0
Check in the control not in the text field whether the cell is currently
...
being edited.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26613 72102866-910b-0410-8b05-ffd578937521
2008-06-09 10:04:49 +00:00
Fred Kiefer
b4d065a9bf
Better NIB loading for NSWindow.
...
Ignore missing image in NSButtonCell drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26591 72102866-910b-0410-8b05-ffd578937521
2008-06-02 10:35:42 +00:00
Fred Kiefer
ddd37df12f
Warn about incompatibility with MacOSX in NSMenuItem setKeyEquivalent:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26582 72102866-910b-0410-8b05-ffd578937521
2008-05-28 08:19:55 +00:00
Fred Kiefer
7d6490fcb9
Initialize variable "image" before using it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26579 72102866-910b-0410-8b05-ffd578937521
2008-05-27 20:31:18 +00:00
Gregory John Casamento
be60d48778
* Headers/AppKit/NSWindow.h: Minor cleanup and spacing.
...
* Source/GSNibTemplates.m: Removed call to designated init, since
this is handled by the initWithCOoder method in NSWindow.m.
* Source/NSWindow.m: Correction for calling the designated initializer.
Fix for bug#23336.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26567 72102866-910b-0410-8b05-ffd578937521
2008-05-24 15:00:12 +00:00
Fred Kiefer
45ada7b31d
Limit the amount of character sets cached by the font substitution code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26547 72102866-910b-0410-8b05-ffd578937521
2008-05-20 23:53:42 +00:00
Fred Kiefer
c609f83e8c
Handle editable flag for columns in NIB decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26546 72102866-910b-0410-8b05-ffd578937521
2008-05-20 21:49:17 +00:00
Fred Kiefer
155098ecd8
Add image position decoding and encoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26542 72102866-910b-0410-8b05-ffd578937521
2008-05-19 17:42:23 +00:00
Fred Kiefer
dc90d0fdfd
Better handling of the circular references between the graphics context
...
and the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26539 72102866-910b-0410-8b05-ffd578937521
2008-05-18 23:12:24 +00:00
Gregory John Casamento
016798f3cb
Correct a crash on 64 bit systems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26528 72102866-910b-0410-8b05-ffd578937521
2008-05-15 01:56:58 +00:00
Fred Kiefer
e137828b7e
Try to better solve the circular reference between the window and the
...
context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26527 72102866-910b-0410-8b05-ffd578937521
2008-05-14 22:56:13 +00:00
Richard Frith-MacDonald
62c268c19f
cope with bad data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26526 72102866-910b-0410-8b05-ffd578937521
2008-05-14 09:44:29 +00:00
Richard Frith-MacDonald
0b9ee6f603
fix path to drive on mingw
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26524 72102866-910b-0410-8b05-ffd578937521
2008-05-14 08:59:55 +00:00
Fred Kiefer
f59bbe5aa8
Extract glyph generation code into separate class.
...
Plus some additional cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26523 72102866-910b-0410-8b05-ffd578937521
2008-05-13 19:40:20 +00:00
Richard Frith-MacDonald
50f7974d7c
revert accidental change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26521 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:06:24 +00:00
Richard Frith-MacDonald
285dddf250
make save and open panels usable on mswindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26520 72102866-910b-0410-8b05-ffd578937521
2008-05-13 15:04:01 +00:00
Gregory John Casamento
7fe697acb2
* Source/NSWindow.m: (-(void)miniaturize: (id)sender):
...
Change to prevent miniwindow from disappearing. Apparently uneccessary
[self orderOut: self] was causing this issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26501 72102866-910b-0410-8b05-ffd578937521
2008-05-09 01:06:36 +00:00
Adam Fedor
777fed73b2
Degine HAVE_BOOLEAN on mingw to avoid jpeg conflicts
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26500 72102866-910b-0410-8b05-ffd578937521
2008-05-08 15:28:42 +00:00
Adam Fedor
487fdc6524
(-adjustSubviews): Just return when there are no subviews.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26496 72102866-910b-0410-8b05-ffd578937521
2008-05-08 03:58:59 +00:00
Fred Kiefer
ea97a86d9a
Breakretain cycle of NSWindow and its context.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26494 72102866-910b-0410-8b05-ffd578937521
2008-05-07 00:39:22 +00:00
Fred Kiefer
1988c2cef0
Add old NeXT method, no longer present, but needed for
...
backward compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26487 72102866-910b-0410-8b05-ffd578937521
2008-05-03 20:57:53 +00:00
Fred Kiefer
0cb8c36a82
Don't raise exception on invalid row or column indexes for table view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26486 72102866-910b-0410-8b05-ffd578937521
2008-05-03 18:05:07 +00:00
Fred Kiefer
0cba457027
Better check for click on table column border.
...
Allow table column identifier to be nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26482 72102866-910b-0410-8b05-ffd578937521
2008-05-01 19:48:28 +00:00
Gregory John Casamento
ddc130cae7
* Source/NSWindow.m: Change to correct issue with NSWindow placement
...
when toolbar is present.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26476 72102866-910b-0410-8b05-ffd578937521
2008-04-27 22:44:12 +00:00
Gregory John Casamento
980e82dfb8
Corrected deferredWindows method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26475 72102866-910b-0410-8b05-ffd578937521
2008-04-25 22:18:34 +00:00
Fred Kiefer
67c69e63da
Fix memory leak introduced by last patch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26441 72102866-910b-0410-8b05-ffd578937521
2008-04-08 08:02:59 +00:00
Fred Kiefer
3811a82a38
Use fill instead of stroke to draw the glyphs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26440 72102866-910b-0410-8b05-ffd578937521
2008-04-08 07:57:11 +00:00
Fred Kiefer
e87446b5cb
Implement basic appendBezierPathWithPackedGlyphs: handling to forward to
...
the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26435 72102866-910b-0410-8b05-ffd578937521
2008-04-07 13:45:41 +00:00
Fred Kiefer
14176f6a78
New NSFont method for glyph generation.
...
Ligature and decompose handling in gsLayoutManager, moved here from the
art backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26430 72102866-910b-0410-8b05-ffd578937521
2008-04-04 22:01:44 +00:00
Fred Kiefer
d05440d67c
Small cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26429 72102866-910b-0410-8b05-ffd578937521
2008-04-04 21:52:39 +00:00
Nicola Pero
4f48690360
Fixed slow drift of the divider of a splitview when doing a sequence of resizings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26424 72102866-910b-0410-8b05-ffd578937521
2008-04-01 23:14:17 +00:00
Nicola Pero
82d086b439
Implemented autosaveName for splitviews - a cool addition from a user perspective
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26420 72102866-910b-0410-8b05-ffd578937521
2008-04-01 01:37:52 +00:00
Nicola Pero
190c13dca9
Small tidyup in NSSplitView -adjustSubviews
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26419 72102866-910b-0410-8b05-ffd578937521
2008-04-01 00:39:06 +00:00
Xavier Glattard
f5c9c19113
More fix for #26414 , and makes NSOpenGLView closer to the specs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26417 72102866-910b-0410-8b05-ffd578937521
2008-03-31 21:15:00 +00:00
Fred Kiefer
c537e70555
Fix for #22706 , make NSOpenGLView usable again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26414 72102866-910b-0410-8b05-ffd578937521
2008-03-31 14:36:22 +00:00
Fred Kiefer
c439e20394
Make sure the application terminates when neither a delegate is set, nor
...
it is a document based application.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26390 72102866-910b-0410-8b05-ffd578937521
2008-03-29 13:08:35 +00:00
Xavier Glattard
33c97236b6
Small fix in KVB to allow binding to a key path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26384 72102866-910b-0410-8b05-ffd578937521
2008-03-28 18:50:52 +00:00
Richard Frith-MacDonald
1007fd1273
Hopefully clear up some confusion about NSApplicationTerminateReply
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26375 72102866-910b-0410-8b05-ffd578937521
2008-03-26 16:00:51 +00:00
Nicola Pero
b416d00ef8
Fixed problem with strings in non-editable textfields becoming bold when you click on the textfield
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26368 72102866-910b-0410-8b05-ffd578937521
2008-03-20 11:45:02 +00:00
Nicola Pero
c6c6e8f027
Indented line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26367 72102866-910b-0410-8b05-ffd578937521
2008-03-20 11:44:13 +00:00
Nicola Pero
680f0c94e4
Added back proper horizontal padding around autosized buttons that got lost with no explanations (probably a mistake) on 2007-01-23
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26366 72102866-910b-0410-8b05-ffd578937521
2008-03-20 10:06:12 +00:00
Gregory John Casamento
4c268441c9
* Source/NSView.m: Changes to beginPage:... and endPage to correct
...
issues with blank space at the top of the page when printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26336 72102866-910b-0410-8b05-ffd578937521
2008-03-18 01:01:34 +00:00
Riccardo Mottola
3d3b665f6a
changed terminate type to BOOL since it is one and the value froma delegate got wrongly cast
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26307 72102866-910b-0410-8b05-ffd578937521
2008-03-16 01:02:52 +00:00
Fred Kiefer
0d146e1c55
Small improvements on premultiplcation of alpha.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26276 72102866-910b-0410-8b05-ffd578937521
2008-03-11 20:11:53 +00:00
Fred Kiefer
8576fa60d7
Undo last hack and add a slightly better on.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26250 72102866-910b-0410-8b05-ffd578937521
2008-03-08 11:11:52 +00:00
Fred Kiefer
b76f1b348c
Add a recursion break hack. Needs to be cleaned up.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26249 72102866-910b-0410-8b05-ffd578937521
2008-03-08 10:45:08 +00:00
Fred Kiefer
5b5d5ba64a
Patch by Quentin Mathe <qmathe@club-internet.fr>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26247 72102866-910b-0410-8b05-ffd578937521
2008-03-07 23:51:55 +00:00
Richard Frith-MacDonald
d04519f4f4
Fix bug #22444
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26219 72102866-910b-0410-8b05-ffd578937521
2008-03-06 06:58:20 +00:00
Fred Kiefer
ec9f28fc05
Call sendAction:to: on control even when there is no action.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26185 72102866-910b-0410-8b05-ffd578937521
2008-03-03 22:45:23 +00:00
Fred Kiefer
c05373d580
Inore observer calls with empty change information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26168 72102866-910b-0410-8b05-ffd578937521
2008-03-01 20:34:38 +00:00
Nicola Pero
a4725a6065
Fixed NSScaleProportionally, and documented NSImageCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26159 72102866-910b-0410-8b05-ffd578937521
2008-03-01 12:34:32 +00:00
Richard Frith-MacDonald
6afdbb5209
Retain tooltip strings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26147 72102866-910b-0410-8b05-ffd578937521
2008-02-26 11:13:09 +00:00
Fred Kiefer
2dabdc3270
In _premultiply and _unpremultiply flag the format as changed.
...
Add fast path for 8 bit images.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26131 72102866-910b-0410-8b05-ffd578937521
2008-02-25 15:35:57 +00:00
Fred Kiefer
96f343878a
Better size integration between a popup and the menu view.
...
Reworked patch by Matt Rice <ratmice@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26093 72102866-910b-0410-8b05-ffd578937521
2008-02-18 20:45:24 +00:00
Fred Kiefer
4ff06d9f57
Change version for encoding. Set preferred edge and arrow
...
position when decoding old gorm files.
New helper method for Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26092 72102866-910b-0410-8b05-ffd578937521
2008-02-18 20:09:16 +00:00
Fred Kiefer
d8b13a0a6d
White space clean up.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26080 72102866-910b-0410-8b05-ffd578937521
2008-02-17 17:18:34 +00:00
Gregory John Casamento
86fdb04504
* Source/NSCell.m: Correction for bug#22332.
...
* Source/NSSegmentedCell.m:
* Source/NSSegmentedControl.m: Set up default values in init
methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26075 72102866-910b-0410-8b05-ffd578937521
2008-02-17 01:45:17 +00:00
Fred Kiefer
518e863647
Set default table column width to 100. Patch by Quentin Mathe
...
<qmathe@club-internet.fr>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26074 72102866-910b-0410-8b05-ffd578937521
2008-02-16 16:45:10 +00:00
Adam Fedor
61ee594bd6
Make sure to allocate a mutable dictionary.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26055 72102866-910b-0410-8b05-ffd578937521
2008-02-12 22:35:03 +00:00
Fred Kiefer
785ae61495
Add fallback for missing standard fonts (LucidaGrande).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26054 72102866-910b-0410-8b05-ffd578937521
2008-02-11 23:12:37 +00:00
Fred Kiefer
3ac0da9c43
New methods on NSView with code from viewWillMoveToWindow: and
...
viewWillMoveToSuperview:. The later are now empty to allow
subclasses not to call the super implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26053 72102866-910b-0410-8b05-ffd578937521
2008-02-11 11:37:29 +00:00
Fred Kiefer
5efc693137
Better support for transparent images and more image formats.
...
Add background image in info panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26043 72102866-910b-0410-8b05-ffd578937521
2008-02-08 22:40:38 +00:00
Fred Kiefer
65ceda6b9d
Patch by Matt Rice to get popup buttons that support
...
setUsesItemFromMenu: set to NO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26036 72102866-910b-0410-8b05-ffd578937521
2008-02-07 19:12:59 +00:00
Fred Kiefer
d5e445c620
Add support for popup preferred edge.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26023 72102866-910b-0410-8b05-ffd578937521
2008-02-04 14:56:15 +00:00
Fred Kiefer
deca87da4a
Treat CJK characters as words.
...
Patch by Yen-Ju Chen <yjchenx@hotmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26022 72102866-910b-0410-8b05-ffd578937521
2008-02-04 10:46:20 +00:00
Fred Kiefer
40833fa7e5
Add direct check if the mouse is inside the cellFrame.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26021 72102866-910b-0410-8b05-ffd578937521
2008-02-03 19:32:07 +00:00
Fred Kiefer
50654211f6
Propagate settings from NSBrowser to underlying matrixes.
...
Stronger typing in NSBrowser.
Clearer drawing code in different classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26020 72102866-910b-0410-8b05-ffd578937521
2008-02-02 21:01:43 +00:00
Fred Kiefer
df859abbe6
Add new X secondary selection behaviour.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26004 72102866-910b-0410-8b05-ffd578937521
2008-01-26 17:17:04 +00:00
Fred Kiefer
c0a656abd0
Avoid compiler warnings on Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25985 72102866-910b-0410-8b05-ffd578937521
2008-01-19 21:48:37 +00:00
Fred Kiefer
99e9f5a69e
New Apple methods on NSGraphicsContext and rework of window device
...
setting. Requires corresponding change in back!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25980 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:11:16 +00:00
Gregory John Casamento
af5036aeee
Moved drawing code to GSTheme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25976 72102866-910b-0410-8b05-ffd578937521
2008-01-18 19:40:24 +00:00
Fred Kiefer
186e6b0744
Correction to dragging mask computation by Abdreas Schik.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25956 72102866-910b-0410-8b05-ffd578937521
2008-01-16 16:45:12 +00:00
Gregory John Casamento
f17d86d3eb
Removed redundant variable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25948 72102866-910b-0410-8b05-ffd578937521
2008-01-14 14:37:51 +00:00
Gregory John Casamento
d4da065a2d
* Headers/AppKit/NSSegmentedControl.h
...
* Source/NSSegmentedCell.m
* Source/NSSegmentedControl.m: Correct tabbing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25947 72102866-910b-0410-8b05-ffd578937521
2008-01-14 14:19:21 +00:00
Fred Kiefer
25386c9ae8
Correct bug in last KVB change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25946 72102866-910b-0410-8b05-ffd578937521
2008-01-14 13:08:02 +00:00
Fred Kiefer
6672739afd
Add reverse value change methods for bindings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25935 72102866-910b-0410-8b05-ffd578937521
2008-01-13 18:08:35 +00:00
Gregory John Casamento
a70afb2bae
* Headers/AppKit/NSSegmentedCell.h: Added rect ivar to cache frame.
...
* Source/NSBundleAdditions.m: Minor formatting changes.
* Source/NSController.m: Added ivars to encodeWithCoder:.
* Source/NSNibBindingConnector.m: Added ivars to encodeWithCoder:.
* Source/NSSegmentedCell.m: Changes to fully implement rendering
of the cell.
* Source/NSSegmentedControl.m: Changes to fully implement
control.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25900 72102866-910b-0410-8b05-ffd578937521
2008-01-09 03:37:59 +00:00
Gregory John Casamento
5b5447d12d
Code to draw and render text in segments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25895 72102866-910b-0410-8b05-ffd578937521
2008-01-08 14:43:12 +00:00
Fred Kiefer
b9419b8387
Add a bit more code to the classes to make them usable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25886 72102866-910b-0410-8b05-ffd578937521
2008-01-07 17:22:49 +00:00
Gregory John Casamento
83a6e40893
Added initial implementations of NSSegmentedCell and NSSegmentedControl.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25884 72102866-910b-0410-8b05-ffd578937521
2008-01-07 14:33:58 +00:00
Fred Kiefer
30c6bccd90
Add MacOSX methods and ivars.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25882 72102866-910b-0410-8b05-ffd578937521
2008-01-07 11:26:13 +00:00
Gregory John Casamento
277fb220fa
* Headers/AppKit/NSDrawer.h: Added new ivars.
...
* Source/NSDrawer.m: Addition implementation of NSDrawer. Corrected
drag problem. Added border.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25873 72102866-910b-0410-8b05-ffd578937521
2008-01-05 20:27:10 +00:00
Fred Kiefer
3dc7f6d74c
Set the text container to max size, when the text view is resizable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25863 72102866-910b-0410-8b05-ffd578937521
2008-01-04 21:02:29 +00:00
Fred Kiefer
4976d1e4dc
Add new MacOSX 10.4 files used by simple web kit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25840 72102866-910b-0410-8b05-ffd578937521
2008-01-02 23:25:12 +00:00
Gregory John Casamento
16069ba835
Added warning and dummy PSWait method so that apps which use DPS calls can compile cleanly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25805 72102866-910b-0410-8b05-ffd578937521
2007-12-30 17:32:40 +00:00
Fred Kiefer
87e0d03c60
Add missing retain in keyed decoding case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25804 72102866-910b-0410-8b05-ffd578937521
2007-12-30 15:03:06 +00:00
Fred Kiefer
8557f009df
Add MacOSX methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25785 72102866-910b-0410-8b05-ffd578937521
2007-12-25 14:53:45 +00:00
Richard Frith-MacDonald
aa79c640dc
Use a button rather than a textfield to select theme panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25783 72102866-910b-0410-8b05-ffd578937521
2007-12-25 08:13:32 +00:00
Fred Kiefer
93b0fa80e9
Add KVB for menu item and popup button.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25777 72102866-910b-0410-8b05-ffd578937521
2007-12-23 22:13:24 +00:00
Fred Kiefer
2310d97434
Full support for view hiding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25775 72102866-910b-0410-8b05-ffd578937521
2007-12-22 16:11:24 +00:00
Fred Kiefer
68fc3bc403
Made data source method optional on NSTableView.
...
Add marker objects for KVB.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25751 72102866-910b-0410-8b05-ffd578937521
2007-12-17 13:35:31 +00:00
Fred Kiefer
456a4cd97f
Two small bug fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25748 72102866-910b-0410-8b05-ffd578937521
2007-12-15 14:36:28 +00:00
Fred Kiefer
f25c62f57b
Add some more KVB and move some.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25746 72102866-910b-0410-8b05-ffd578937521
2007-12-15 12:34:39 +00:00
Fred Kiefer
295b663a75
Rewrote KVB to use separate binding class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25728 72102866-910b-0410-8b05-ffd578937521
2007-12-13 01:10:09 +00:00
Fred Kiefer
311bead94e
Swap destination and source in NIB binding connector.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25727 72102866-910b-0410-8b05-ffd578937521
2007-12-12 08:39:44 +00:00
Fred Kiefer
f9bcb8cc27
Fix core dump from lst commit. Sorry!
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25726 72102866-910b-0410-8b05-ffd578937521
2007-12-12 08:16:23 +00:00
Fred Kiefer
5966ffcd3f
Key binding patch by Chris Farber <chris@chrisfarber.net>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25724 72102866-910b-0410-8b05-ffd578937521
2007-12-11 18:50:42 +00:00