Commit graph

2900 commits

Author SHA1 Message Date
Fred Kiefer
7630d53c8a Added aditional methods for text completion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9541 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:24:53 +00:00
Nicola Pero
503a6b6715 Use the NSFileManager public API in NSSavePanel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9533 72102866-910b-0410-8b05-ffd578937521
2001-04-06 22:43:06 +00:00
Nicola Pero
29e5e5ea83 Use the public NSFileManager API to enumerate the contents of a directory,
so that the library is not broken when the internals of NSFileManager are
changed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9532 72102866-910b-0410-8b05-ffd578937521
2001-04-06 22:41:55 +00:00
Jonathan Gapen
69277bd2e0 Path-finding update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9498 72102866-910b-0410-8b05-ffd578937521
2001-03-26 23:14:15 +00:00
Mirko Viviani
afec355a80 * Source/NSCell.m ([NSCell -drawInteriorWithFrame:inView:]): do not
check if the control that owns the cell is the first responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9485 72102866-910b-0410-8b05-ffd578937521
2001-03-23 21:06:42 +00:00
Nicola Pero
142baecf94 Added NSDottedRect to Tools/Functions.m to make the tools compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9478 72102866-910b-0410-8b05-ffd578937521
2001-03-22 22:14:01 +00:00
Nicola Pero
630ee9a923 Added void implementation of NSDottedFrameRect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9477 72102866-910b-0410-8b05-ffd578937521
2001-03-22 22:12:51 +00:00
Adam Fedor
f8da2295c7 Use version file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9476 72102866-910b-0410-8b05-ffd578937521
2001-03-22 21:57:48 +00:00
Adam Fedor
9d5267194b Version 0.6.8
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9475 72102866-910b-0410-8b05-ffd578937521
2001-03-22 21:54:33 +00:00
Mirko Viviani
631fba3e97 * Source/NSBrowser.m ([NSBrowser -_unloadFromColumn:]): fix index out
of bound (patch by Enrico Sersale <enrico@imago.ro>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9474 72102866-910b-0410-8b05-ffd578937521
2001-03-22 16:38:24 +00:00
Mirko Viviani
60b8f20ce4 * Source/NSButtonCell.m ([NSButtonCell -setCellAttribute:to:]):
implemented.
([NSButtonCell -cellAttribute:]): implemented.

* Source/NSPopUpButton.m ([NSPopUpButton -keyDown:]): implemented
keyboard selection.
([NSPopUpButton -resignFirstResponder]): implemented.
([NSPopUpButton -resignKeyWindow]): implemented.

* Source/NSPopUpButtonCell.m ([NSPopUpButtonCell
-drawInteriorWithFrame:inView:]): from -drawWithFrame:inView:

* Source/NSButton.m ([NSButton -becomeFirstResponder]): set cell first
responder.
([NSButton -resignFirstResponder]): likewise.
([NSButton -becomeKeyWindow]): likewise.
([NSButton -resignKeyWindow]): likewise.

* Source/NSBrowserCell.m ([NSBrowserCell -drawInteriorWithFrame:
inView:]): draw correct dotted box.

* Source/NSBrowser.m ([NSBrowser -becomeFirstResponder]): make first
responder the latest column.
([NSBrowser -acceptsFirstResponder]): accepts first responder status.
([NSBrowser -keyDown:]): handle tabs to select next/previous key view.
([NSBrowser -moveRight:]): make browser column the first responder.
([NSBrowser -moveUp:]): likewise.
([NSBrowser -moveDown:]): likewise.
([NSBrowser -moveLeft:]): likewise.
([NSBrowser -_unloadFromColumn:]): remove columns from superview and
array.
([NSBrowser -_remapColumnSubviews:]): set the correct first responder.

* Source/NSWindow.m ([NSWindow -sendEvent:]): retain/release first
responder for keyUp/keyDown events. Discard NSLeftMouseDown for closed
windows.
([NSWindow -dealloc]): release _originalResponder

* Source/NSView.m ([NSView -removeSubview:]): remove next responder.

* Source/NSCell.m ([NSCell -setUpFieldEditorAttributes:]): clear
selected range.
([NSCell -editWithFrame:inView:editor:delegate:event:]): redisplay
textObject after invoking mouseDown:
([NSCell -drawInteriorWithFrame:inView:]): draw dotted-line outline
when first responder.
([NSCell -setCellAttribute:to:]): implemented.

* Source/NSTextView.m ([NSTextView -moveUp:]): don't call
_illegalMovement: for the text field editor.
([NSTextView -moveDown:]): likewise.
([NSTextView -moveLeft:]): likewise.
([NSTextView -moveRight:]): likewise.

* Source/NSTextField.m ([NSTextField -textDidEndEditing:]): fixed
return/tab/backtab text movement code.

* Headers/gnustep/gui/NSGraphics.h: added NSDottedFrameRect prototype.

* Headers/gnustep/gui/NSMatrix.h: added ivars for dotted frame rect.
* Source/NSMatrix.m ([NSMatrix -selectCell:]): implemented.
([NSMatrix -_selectCell:atRow:column:]): new method.
([NSMatrix -selectCellAtRow:column:]): call _selectCell:atRow:column:
([NSMatrix -selectCellWithTag:]): likewise.
([NSMatrix -selectAll:]): Do not select disabled or editable cells.
([NSMatrix -textDidEndEditing:]): fixed return/tab/backtab text
movement code.
([NSMatrix -_selectNextSelectableCellAfterRow:column:]): don't select
disabled cells.
([NSMatrix -_selectPreviousSelectableCellBeforeRow:column:]): likewise.
([NSMatrix -_privateFrame:mode:numberOfRows:numberOfColumns:]): set
dottedRow and dottedColumn.
([NSMatrix -insertRow:withCells:]): likewise.
([NSMatrix -removeColumn:]): likewise.
([NSMatrix -removeRow:]): likewise.
([NSMatrix -mouseDown:]): likewise and discard disabled cells.
([NSMatrix -drawRect:]): set shows cell first responder.
([NSMatrix -becomeFirstResponder]): draw dotted box for cell.
([NSMatrix -resignFirstResponder]): likewise.
([NSMatrix -becomeKeyWindow]): likewise.
([NSMatrix -resignKeyWindow]): likewise.
([NSMatrix -_setNeedsDisplayDottedCell]): likewise.
([NSMatrix -selectTextAtRow:column:]): set shows cell first responder.
([NSMatrix -setState:atRow:column:]): likewise. Deselect previous
selected cell in radio mode.

* Source/NSSavePanel.m (createRowsForColumn:): use _gsSavePanelCompare:
and check extension against _requiredFileType and not "app", "bundle",
etc.
([NSString -_gsSavePanelCompare:]): filename compare.
([NSSavePanel -_initWithoutGModel]): set key view for keyboard
interaction.
([NSSavePanel -keyDown:]): removed.
([NSSavePanel -controlTextDidEndEditing:]): removed.

* Source/NSOpenPanel.m ([NSOpenPanel -_shouldShowExtension:isDir:]):
added isDir argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9473 72102866-910b-0410-8b05-ffd578937521
2001-03-22 00:27:37 +00:00
Richard Frith-Macdonald
2bbfbf1bb5 Coding/decoding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9469 72102866-910b-0410-8b05-ffd578937521
2001-03-21 08:09:58 +00:00
Fred Kiefer
9e20f65fb0 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9468 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:12:54 +00:00
Fred Kiefer
86fd9af034 Made NSColor an abstract class, without ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9467 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:11:57 +00:00
Fred Kiefer
c465e1eb7b Define concret subclasses of NSColor and moved code into this
subclasses.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9466 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:11:15 +00:00
Fred Kiefer
95acf3e0cc Corrected two errors in [writeToFile:] introduced by the last
changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9465 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:10:29 +00:00
Fred Kiefer
1e529a1d34 [containsPoint:] corrected and simplified a bit, but this still
needs a complete rework.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9464 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:09:29 +00:00
Jonathan Gapen
47e27604ad Instance var updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9460 72102866-910b-0410-8b05-ffd578937521
2001-03-20 00:05:56 +00:00
Jonathan Gapen
5aaa58693c Modernize NSPrinter code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9458 72102866-910b-0410-8b05-ffd578937521
2001-03-19 23:34:36 +00:00
Nicola Pero
75d3d7dbef New solution to the make_services problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9434 72102866-910b-0410-8b05-ffd578937521
2001-03-18 16:01:04 +00:00
Nicola Pero
c329757a88 New nice way to tell gnustep-make to use the local make_services rather
than the installed one


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9433 72102866-910b-0410-8b05-ffd578937521
2001-03-18 15:59:00 +00:00
Nicola Pero
4f04c4c078 Updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9424 72102866-910b-0410-8b05-ffd578937521
2001-03-17 10:16:48 +00:00
Nicola Pero
d32c118cf3 Commented out all empty assignments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9410 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:50:11 +00:00
Nicola Pero
1d729472c6 Changes to GNUmakefiles, tidied, updated, simplified, speeded up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9409 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:47:20 +00:00
Nicola Pero
40b3c49785 Only create the ./$(GNUSTEP_OBJ_DIR)/Parsers directory if it doesnt exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9408 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:44:00 +00:00
Nicola Pero
f372a3a0c2 Standardized installation of headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9407 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:43:17 +00:00
Nicola Pero
d71f8763c1 Commented out all empty settings of variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9406 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:32:19 +00:00
Nicola Pero
c66d0946aa Commented out unused rule
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9405 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:31:35 +00:00
Nicola Pero
23d31670b8 Abort if GNUmakefile.preamble or GNUmakefile.postamble is not found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9404 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:30:47 +00:00
Nicola Pero
524750ae00 Merged rules to be quicker
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9403 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:28:59 +00:00
Nicola Pero
dc040ce06b Abort if GNUmakefile.postamble is not found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9402 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:27:36 +00:00
Nicola Pero
eedb3359fa Imported targets and rules from GNUmakefile; replaced prefix with
GNUSTEP_INSTALLATION_DIR; do not create install dir if it exists


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9401 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:26:37 +00:00
Nicola Pero
56d99ca10f Moved targets and rules to GNUmakefile.postamble; removed prefix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9400 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:25:52 +00:00
Nicola Pero
17bbf3d17e Create imagedir only if it doesnt exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9399 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:21:57 +00:00
Nicola Pero
870aa320c9 Create the Additional makefiles directory only if it doesnt exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9398 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:20:18 +00:00
Nicola Pero
6bc5304a05 Updated string encoding names to match the change in the base library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9348 72102866-910b-0410-8b05-ffd578937521
2001-03-13 20:43:32 +00:00
Nicola Pero
281cfbd030 Updated encoding names for change in the base library names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9347 72102866-910b-0410-8b05-ffd578937521
2001-03-13 20:42:10 +00:00
Gregory John Casamento
1d22a9665e Added lines to describe my changes to AppKit.h, GMAppKit.h and GMAppKit.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9319 72102866-910b-0410-8b05-ffd578937521
2001-03-10 15:20:35 +00:00
Nicola Pero
d702b19bc9 Recommitted commenting out the token after #endif
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9318 72102866-910b-0410-8b05-ffd578937521
2001-03-10 09:03:18 +00:00
Gregory John Casamento
72fafebc94 Added forward delarations to AppKit.h for NSSecureTextField and NSSecureTextFieldCell.
Also added category for NSSecureTextFieldCell to GMAppKit.h and .m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9316 72102866-910b-0410-8b05-ffd578937521
2001-03-10 01:31:19 +00:00
Nicola Pero
f0b3b42e8e Fixed the way angles are managed in NSBezierPath when drawing arcs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9309 72102866-910b-0410-8b05-ffd578937521
2001-03-07 13:22:50 +00:00
Nicola Pero
f7bc69d85c Fixed how angles are managed when drawing arcs: do it postscript-like
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9308 72102866-910b-0410-8b05-ffd578937521
2001-03-07 13:09:22 +00:00
Adam Fedor
77aed0db2b Fix declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9304 72102866-910b-0410-8b05-ffd578937521
2001-03-06 03:29:55 +00:00
Richard Frith-Macdonald
b784ca705b Regenerate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9283 72102866-910b-0410-8b05-ffd578937521
2001-03-03 10:07:01 +00:00
Richard Frith-Macdonald
ef308ef9ca Use CVS to provide version and date info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9282 72102866-910b-0410-8b05-ffd578937521
2001-03-03 10:04:05 +00:00
Adam Fedor
39daab7bef Re-add untrasnfered files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9273 72102866-910b-0410-8b05-ffd578937521
2001-03-02 15:37:20 +00:00
Nicola Pero
625350a6af Fixes to NSBezierPath when appending an arc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9253 72102866-910b-0410-8b05-ffd578937521
2001-03-01 01:50:41 +00:00
Nicola Pero
c76c32bc0f Fixes to appending an arc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9252 72102866-910b-0410-8b05-ffd578937521
2001-03-01 01:47:32 +00:00
Adam Fedor
94fe65783b Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9215 72102866-910b-0410-8b05-ffd578937521
2001-02-23 04:13:00 +00:00
Nicola Pero
9f69e63cb3 Tiny syntax fix in AppKit/AppKit.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9195 72102866-910b-0410-8b05-ffd578937521
2001-02-21 12:17:49 +00:00