Commit graph

254 commits

Author SHA1 Message Date
Matt Rice
640612f030 * Source/NSTableView.m (_trackCellAtColumn:row:withEvent:):
Remove check for column editablity.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24152 72102866-910b-0410-8b05-ffd578937521
2006-11-23 11:57:03 +00:00
Matt Rice
4475b975b8 * Source/NSTableView.m (-noteNumberOfRowsChanged:): Post selection
is and did change notifications if changing the selected rows.
        * Source/NSSliderCell.m (-copyWithZone:): Make a little clearer.
        * Source/NSMatrix.m (-_rebuildLayoutAfterResize): Don't change the
        intercell spacing if not autosizing cells.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24080 72102866-910b-0410-8b05-ffd578937521
2006-11-13 05:23:24 +00:00
Matt Rice
84a0a59321 * Source/NSOutlineView.m: Handle rowAtPoint: returning -1.
* Source/NSTableView.m (drawRect:): Only call
        -highlightSelectionInClipRect: and -drawGridInClipRect: once.
        (-drawGridInClipRect:): Constrain the vertical grid line to the last
	 row drawn in the rect.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24071 72102866-910b-0410-8b05-ffd578937521
2006-11-10 19:12:32 +00:00
Matt Rice
86c8735342 * Source/NSTableView.m (rowAtPoint:): Return -1 if the point is under
the last row.
        (mouseDown:): Handle rowAtPoint: returning -1.
        (rectOfRows:): Ditto.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24070 72102866-910b-0410-8b05-ffd578937521
2006-11-10 17:05:20 +00:00
Matt Rice
edf055a980 * Source/NSTableView.m (mouseDown:): Rename some local variables
to be less ambiguous.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24068 72102866-910b-0410-8b05-ffd578937521
2006-11-10 14:35:31 +00:00
Matt Rice
1fcec7ffe9 * Headers/AppKit/NSTableView.h: Add ivar for
verticalMotionCanBeginDrag.
        * Source/NSTableView.m: Implement verticalMotionCanBeginDrag
        bump class version.
        * Source/NSTextView_actions.m: Fix method name from previous changes.
        * KeyBindings/DefaultKeyBindings.dict: Add new key bindings.
        * ChangeLog: Add to description of a previous change.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24067 72102866-910b-0410-8b05-ffd578937521
2006-11-10 13:40:28 +00:00
Matt Rice
affd41f5b1 * Source/NSTableView.m (selectContiguousRegion): Remove usage of
offsets.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24060 72102866-910b-0410-8b05-ffd578937521
2006-11-09 12:59:04 +00:00
Matt Rice
ab28e892bb * Source/NSTableView.m: Implement keyboard navigation/selection.
Fixes bug #11942.
        (-selectRow:byExtendingSelection:): Update _clickedRow.
        (-mouseDown:): Ditto.
        * Source/NSSlider.m (keyDown:): Call supers implementation if we don't
        use the key stroke.




git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24054 72102866-910b-0410-8b05-ffd578937521
2006-11-09 01:28:58 +00:00
Matt Rice
e2e8357e71 * Source/NSTableView.m: Whitespace changes to conform to coding
standards.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24049 72102866-910b-0410-8b05-ffd578937521
2006-11-07 10:46:10 +00:00
Matt Rice
55623d70f7 * Source/NSTableView.m (-mouseDown): Only call editWithFrame: from a
double click. Don't track cells from a mouse dragged.
        Add comments.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24048 72102866-910b-0410-8b05-ffd578937521
2006-11-07 10:26:57 +00:00
Matt Rice
a138f13d9c * Source/NSTableView (_editNextCellAfterRow:inColumn:):
Wrap around when number of rows is exceeded.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24019 72102866-910b-0410-8b05-ffd578937521
2006-11-03 09:44:05 +00:00
Matt Rice
ece0182c72 * Source/NSTableView.m:
(-editColumn:row:withEvent:select:): Raise when passed an unselected
        row.
        (-textDidEndEditing:): Handle NSReturnTextMovement.
        (_editNextCellAfterRow:inColumn:): New private method.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24008 72102866-910b-0410-8b05-ffd578937521
2006-11-01 10:17:55 +00:00
Matt Rice
3d20848a26 * Source/NSTableView.m: Add new private methods.
(-mouseDown:): Reorganize and don't track cells until dragging
        has been ruled out.
        * Source/NSCell.m (trackMouse:inRect:ofView:untilMouseUp:):
        Handle events no longer in the queue.
        * Source/GSDragView.m: Change NSLog to NSDebugLLog.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24007 72102866-910b-0410-8b05-ffd578937521
2006-11-01 09:50:00 +00:00
Matt Rice
d1397ca777 * Source/NSTableView.m (-setFrame:,-setFrameSize:): Use
documentVisibleRect. Shrink if table is larger than needed height.
        fixes bug #18117.
        (-drawBackgroundInClipRect:): Draw the background.
        * Source/NSClipView.m (-documentVisibleRect:): Return the clip views
        visible rect converted to the document views coordinate system.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23972 72102866-910b-0410-8b05-ffd578937521
2006-10-27 17:48:54 +00:00
Matt Rice
36e68226f8 * Source/NSTableView.m (-mouseDown:): Check for empty selection.
when adding to the current selection. Fixes bug #15261.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23945 72102866-910b-0410-8b05-ffd578937521
2006-10-22 18:26:31 +00:00
Gregory John Casamento
c687a15b00 Minor indentation cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23932 72102866-910b-0410-8b05-ffd578937521
2006-10-21 15:41:51 +00:00
Gregory John Casamento
f4cd637e0d Correction for #bug9608 and bug#18073.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23931 72102866-910b-0410-8b05-ffd578937521
2006-10-21 15:34:16 +00:00
Richard Frith-MacDonald
57435da7d5 tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
Matt Rice
07eeaa998d * Source/NSTableView.m (_shouldEditTableColumn:row:):
Dont invert delegate return value.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23629 72102866-910b-0410-8b05-ffd578937521
2006-09-26 16:03:10 +00:00
Matt Rice
c0f89a63f2 * Source/NSTableView.m (_isCellEditableColumn:row:): Allow
delegate to limit editablility of editable columns.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23599 72102866-910b-0410-8b05-ffd578937521
2006-09-23 21:53:25 +00:00
Richard Frith-MacDonald
ed5990f599 theme reorganisation/tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23586 72102866-910b-0410-8b05-ffd578937521
2006-09-22 11:53:40 +00:00
Fred Kiefer
c7839ee576 Corrected bug in latest patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23545 72102866-910b-0410-8b05-ffd578937521
2006-09-17 14:08:29 +00:00
Fred Kiefer
69a8fabe3d Allow read only table views to select the text in a cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23538 72102866-910b-0410-8b05-ffd578937521
2006-09-16 23:19:48 +00:00
Gregory John Casamento
aaa0f632ce * Source/NSTableView.m: initWithCoder: minor cleanup.
* Source/NSTextFieldCell.m: initWithCoder retain 
	text/background colors to prevent crash.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23339 72102866-910b-0410-8b05-ffd578937521
2006-08-26 22:28:47 +00:00
Gregory John Casamento
63e4a9aebd * Source/GSNibCompatibility.m: In [NSIBObjectData initWithCoder:]
clean up the buildMap calls.  In NSCustomResource retain the resource
	that is returned to prevent a crash.  Add dealloc method to 
	NSCustomObject.
	* Source/NSClipView.m: In initWithCoder: retain and release
	documentView before removing it from the view and resetting
	it as the document view.   This ensures that the view will
	not be deallocated.
	* Source/NSScrollView.m: Retain the contentView before exchanging
	it and then release to prevent the view from being deallocated in
	initWithCoder:
	* Source/NSTableView.m: Replace call to "new" with alloc/init for
	NSTableHeaderView in initWithCoder:
	* Source/NSView.m: in initWithCoder: keyed coding don't release
	the subs array since it's already autoreleased.  This was causing
	a crash.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23336 72102866-910b-0410-8b05-ffd578937521
2006-08-26 14:10:18 +00:00
Gregory John Casamento
baf3f68d20 encoding improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23285 72102866-910b-0410-8b05-ffd578937521
2006-08-13 20:21:46 +00:00
Gregory John Casamento
74049ce6bc Added NSPSMatrix private class, added GS specific keys to NSProgressIndicator for info that GS encodes, but Cocoa doesn't. All GS specific keys shall have GS* as the prefix. Implemented encodeWithCoder: in NSTableColumn and corrected NSTable encoding to correct problems during IB loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23265 72102866-910b-0410-8b05-ffd578937521
2006-08-12 22:44:56 +00:00
Fred Kiefer
f2beece4f3 Small clean ups in NSView, NSTableView and the headers included in
AppKit.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23257 72102866-910b-0410-8b05-ffd578937521
2006-08-11 20:04:53 +00:00
Gregory John Casamento
48db9c7614 Correction for window size in -[NSWindowTemplate nibInstantiate]. Implemented encoding in encodeWithCoder: for some classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23207 72102866-910b-0410-8b05-ffd578937521
2006-08-06 04:32:16 +00:00
Gregory John Casamento
53ca2a14c2 Prevent initWithCoder: from calling initWithFrame: in NSView. According to the documentation, initWithFrame: should not be called when the view is unarchiving itself. Similar changes were needed in other classes since they depended on this call to initialize themselves, so some init code was added to initWithCoder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23143 72102866-910b-0410-8b05-ffd578937521
2006-07-07 01:39:16 +00:00
Gregory John Casamento
d68950d71a Nib compatibility code merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
Fred Kiefer
43537498de Adopted dragging destination method return values to MacOSX 10.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22893 72102866-910b-0410-8b05-ffd578937521
2006-05-10 22:11:28 +00:00
Fred Kiefer
d346b59f9f Small patches by Andreas Höschler to NSTableView and NSComboBoxCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22861 72102866-910b-0410-8b05-ffd578937521
2006-05-05 22:41:40 +00:00
Fred Kiefer
fb2b9aa03e Intercell spacing change for NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22264 72102866-910b-0410-8b05-ffd578937521
2006-01-08 17:48:34 +00:00
Matt Rice
9bb51c5a9d * Source/NSTableView.m (-mouseDown:): Copy the selected cell before
tracking mouse, add comment. (patch previously reverted 2005-05-30)
(-mouseDown:): Check for pointer equality in addition to isEqual:
        which doesn't work with nil. (fix for bug #15316)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22230 72102866-910b-0410-8b05-ffd578937521
2005-12-31 13:50:30 +00:00
Richard Frith-Macdonald
7971a89c72 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
Fred Kiefer
162d86266e Applyed patch by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21269 72102866-910b-0410-8b05-ffd578937521
2005-05-30 17:01:21 +00:00
Fred Kiefer
eb7eaa1654 Improved mouseDown call handling for table view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21262 72102866-910b-0410-8b05-ffd578937521
2005-05-26 13:38:11 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Richard Frith-Macdonald
508987f93b Fix last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21035 72102866-910b-0410-8b05-ffd578937521
2005-04-02 04:11:43 +00:00
Richard Frith-Macdonald
4fbf9733d1 Minor tweak suggested by Enrico
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21033 72102866-910b-0410-8b05-ffd578937521
2005-04-02 04:09:39 +00:00
Richard Frith-Macdonald
d2bb38a102 DnD cleanups and fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
Fred Kiefer
90952ec827 Ensure the NSTableView rowAtPoint: method always returns a valid row number.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20584 72102866-910b-0410-8b05-ffd578937521
2005-01-20 09:44:52 +00:00
Alexander Malmberg
f282f87e88 2005-01-18 16:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-setUpFieldEditorAttributes:): Clear the
	text object's string.
	* Source/NSControl.m (-setDoubleValue:, -setFloatValue:)
	(-setIntValue:, -setStringValue:, -setObjectValue:): If the receiver
	was being edited when the method was called, make it the first
	responder after changing the value.
	(-abortEditing): Don't clear the text object's string.
	* Source/NSMatrix.m (-abortEditing): Don't clear the text object's
	string.
	* Source/NSTableView.m (-abortEditing): Ditto.
	* Source/NSTextField.m (-abortEditing): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20580 72102866-910b-0410-8b05-ffd578937521
2005-01-18 15:48:34 +00:00
Alexander Malmberg
d3f517e16b * Source/NSTableView.m (-mouseDown:): Fix the check that detects
when an unselected row is being dragged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20115 72102866-910b-0410-8b05-ffd578937521
2004-09-23 20:36:10 +00:00
Alexander Malmberg
767334b501 * Source/NSCursor.m (_getStandardCursor): Rename to
getStandardCursor and make static and non-inlined. Update callers.
	* Source/NSTableView.m (computePeriod): Make static.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20102 72102866-910b-0410-8b05-ffd578937521
2004-09-21 22:00:26 +00:00
Matt Rice
8b3d930318 2004-09-13 Matt Rice <ratmice@yahoo.com>
* NSScrollView.h: Declare new ivar _cornerView and private method
        -_synchronizeCornerAndHeaderView
        * NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
        from here. Replace local cornerView variable with _cornerView.
        (-setDocumentView:): Remove code to set the corner and header views.
        (-_synchronizeCornerAndHeaderView): Implement new method.
        * NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
        scroll view we're in. Remove comments and warnings for cases which are
        now implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20049 72102866-910b-0410-8b05-ffd578937521
2004-09-13 19:57:44 +00:00
Matt Rice
afaa68f9d5 2004-09-12 Matt Rice <ratmice@yahoo.com>
* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
        * Source/NSCell.m (-_sendsActionOn:): Implement it.
        * Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
        key press.
        * Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify        the object value and send the event to the cell if the cell works on
        mouse events. (Fixes #9609).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20046 72102866-910b-0410-8b05-ffd578937521
2004-09-12 16:58:32 +00:00
Gregory John Casamento
f981e6343f Corrected issue with NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19999 72102866-910b-0410-8b05-ffd578937521
2004-09-05 14:32:25 +00:00
Alexander Malmberg
53b27348a7 (-draggingUpdated:): Return currentDragOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19936 72102866-910b-0410-8b05-ffd578937521
2004-08-29 00:55:54 +00:00
Adam Fedor
783f69bbd6 Doc updates and minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19736 72102866-910b-0410-8b05-ffd578937521
2004-07-15 03:28:25 +00:00
Fred Kiefer
e26d3866b5 Corrected removal from table view to fall over corrupted selection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19611 72102866-910b-0410-8b05-ffd578937521
2004-06-24 20:49:43 +00:00
Fred Kiefer
786f3ffe66 Made mouse down changes of table view work with outline view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19571 72102866-910b-0410-8b05-ffd578937521
2004-06-21 11:41:26 +00:00
Fred Kiefer
130440495b Made selecting values from a combo box in a table view work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19568 72102866-910b-0410-8b05-ffd578937521
2004-06-20 22:25:17 +00:00
Fred Kiefer
a9031e5bfc Made ComoboxCells usable in TableViews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19540 72102866-910b-0410-8b05-ffd578937521
2004-06-17 21:38:33 +00:00
Fred Kiefer
a6c243332f Started to clean up mouse down handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19531 72102866-910b-0410-8b05-ffd578937521
2004-06-16 00:30:43 +00:00
Fred Kiefer
f962706ef0 Use GSDrawingFunctions instead of Function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19483 72102866-910b-0410-8b05-ffd578937521
2004-06-07 23:54:25 +00:00
Fred Kiefer
cac2d857fa Prevent errors from NSTableView number of rows changing, when there were no rows selected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19400 72102866-910b-0410-8b05-ffd578937521
2004-05-25 17:47:12 +00:00
Fred Kiefer
6b78af5ade Added missing Cocoa methods and a Cocoa header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19269 72102866-910b-0410-8b05-ffd578937521
2004-05-08 13:40:40 +00:00
Alexander Malmberg
f126976fd5 Autorelease the new image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19130 72102866-910b-0410-8b05-ffd578937521
2004-04-16 13:39:00 +00:00
Fred Kiefer
97692a624e Ivar type change on NSTableView and selection cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18929 72102866-910b-0410-8b05-ffd578937521
2004-03-27 17:48:00 +00:00
Alexander Malmberg
c3ec6bb834 (-mouseDown:): Send the action for simple clicks even if the selection changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18844 72102866-910b-0410-8b05-ffd578937521
2004-03-14 18:31:56 +00:00
Alexander Malmberg
e1984fe072 (-mouseDown:): Send our action if we get a single, simple (no drag) click.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18837 72102866-910b-0410-8b05-ffd578937521
2004-03-12 14:32:57 +00:00
Fred Kiefer
17e9214321 Some more (empty) Cocoa methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18751 72102866-910b-0410-8b05-ffd578937521
2004-03-02 22:20:36 +00:00
Alexander Malmberg
084d3b083f (-initWithCoder:): Remove an erroneous 'else' from the previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18549 72102866-910b-0410-8b05-ffd578937521
2004-02-07 02:57:56 +00:00
Fred Kiefer
93b7e7acf8 Menu reference handlin patch and further keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18547 72102866-910b-0410-8b05-ffd578937521
2004-02-06 00:16:54 +00:00
Adam Fedor
bbeec6b247 Better error checking and documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17638 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:07:53 +00:00
Fred Kiefer
4a0281b9c4 Removed new GCC 3.4 warnings from Alexander Malmbergs list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:52 +00:00
Adam Fedor
db304032af Fix leak of dictionary object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17488 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:47:42 +00:00
Fred Kiefer
7ada97ed5d Implemented methods [action] and [setAction:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17367 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:45:01 +00:00
Fred Kiefer
bb384bcd99 In [sizeToFit] free isResizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17343 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:59 +00:00
Fred Kiefer
26c82d8aef Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17005 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:50:46 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Alexander Malmberg
2bd5b9f6b6 (mouseDown:) Wrap each iteration of the mouse tracking loop in an autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16289 72102866-910b-0410-8b05-ffd578937521
2003-03-29 20:12:07 +00:00
Nicola Pero
33a0a5ea29 Fixed compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
Alexander Malmberg
6a2f9200b9 Allow nil data source in -setDataSource:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14982 72102866-910b-0410-8b05-ffd578937521
2002-11-12 19:41:26 +00:00
Adam Fedor
930b47d1cc Remove NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14946 72102866-910b-0410-8b05-ffd578937521
2002-11-06 20:07:40 +00:00
Adam Fedor
862214a9ab Dragging fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14945 72102866-910b-0410-8b05-ffd578937521
2002-11-06 20:04:59 +00:00
Adam Fedor
5e12263244 Warning and if check fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14944 72102866-910b-0410-8b05-ffd578937521
2002-11-06 15:44:36 +00:00
Richard Frith-Macdonald
c6cf00fc56 Mmory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14856 72102866-910b-0410-8b05-ffd578937521
2002-10-28 09:09:14 +00:00
Richard Frith-Macdonald
af70a6521a Tidied method argument naming.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
Nicola Pero
3c735f0c53 Remove the delegate from the notification center in -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14531 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:33:09 +00:00
Gregory John Casamento
68d111e0de Corrections to the outline view and the table view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14148 72102866-910b-0410-8b05-ffd578937521
2002-07-14 23:44:48 +00:00
Gregory John Casamento
411804ebd7 Correcting editing behviour of NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14102 72102866-910b-0410-8b05-ffd578937521
2002-07-11 04:52:33 +00:00
Nicola Pero
d024336615 Post the NSControlTextDidEndEditingNotification *after* actually ending
editing :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13979 72102866-910b-0410-8b05-ffd578937521
2002-06-26 17:00:33 +00:00
Nicola Pero
92e98af780 Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13678 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:51:26 +00:00
Nicola Pero
be371e47d7 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
Pierre-Yves Rivaille
54c0fcdde7 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13326 72102866-910b-0410-8b05-ffd578937521
2002-04-02 19:13:46 +00:00
Pierre-Yves Rivaille
4e04ce6a1a Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13325 72102866-910b-0410-8b05-ffd578937521
2002-04-02 19:05:48 +00:00
Nicola Pero
927c279a1e Abort editing on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13305 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:32:33 +00:00
Pierre-Yves Rivaille
558b911361 Source/NSMatrix.m
Source/NSBox.m
Source/NSClipView.m
Source/NSTableView.m
Source/NSOutlineView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13276 72102866-910b-0410-8b05-ffd578937521
2002-03-31 15:46:19 +00:00
Pierre-Yves Rivaille
ec12ecf723 Source/NSTableView.m
Source/NSTableColumn.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13269 72102866-910b-0410-8b05-ffd578937521
2002-03-29 16:04:24 +00:00
Pierre-Yves Rivaille
ebf72dfb73 Source/NSBundleAdditions.m
Source/NSTableView.m
Source/NSScrollView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13240 72102866-910b-0410-8b05-ffd578937521
2002-03-26 16:24:42 +00:00
Pierre-Yves Rivaille
db97da50e2 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13191 72102866-910b-0410-8b05-ffd578937521
2002-03-21 23:50:07 +00:00
Nicola Pero
3d5d1e31f7 Made it compile again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13146 72102866-910b-0410-8b05-ffd578937521
2002-03-18 16:19:07 +00:00
Pierre-Yves Rivaille
843cbe9845 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13135 72102866-910b-0410-8b05-ffd578937521
2002-03-17 19:19:35 +00:00
Gregory John Casamento
af60389269 Changed image to lighten it. Added code to NSOutlineView to take advantage of Pierre's modifications to NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12980 72102866-910b-0410-8b05-ffd578937521
2002-03-04 23:53:27 +00:00
Pierre-Yves Rivaille
f3c167b917 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12971 72102866-910b-0410-8b05-ffd578937521
2002-03-04 17:37:35 +00:00
Nicola Pero
cc8bc67405 Tidied - standardized including headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12892 72102866-910b-0410-8b05-ffd578937521
2002-02-28 16:07:47 +00:00
Nicola Pero
e13f23caeb Fixed a couple of very technical bugs ... pressing TAB between cells while
editing would copy the string, and _editedCells wouldn't get released properly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12694 72102866-910b-0410-8b05-ffd578937521
2002-02-23 01:12:26 +00:00
Pierre-Yves Rivaille
3d7f962a3b Source/NSTableView.m (see changelog)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12565 72102866-910b-0410-8b05-ffd578937521
2002-02-19 18:49:50 +00:00
Pierre-Yves Rivaille
c85735d0ca correction to remove warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12524 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:38:57 +00:00
Pierre-Yves Rivaille
a359ad7c09 Source/NSTableView.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12523 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:25:55 +00:00
Pierre-Yves Rivaille
7269d0c8eb * Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
  column, support for NSTableView mouseDownInHeaderOfTableColumn:
  and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
  rewrite of selection handling to fully support the specs
  new tableView:didClickTableColumn: and
  tableView:mouseDownInHeaderOfTableColumn delegate messages
  [NSTableView -setHighlightedTableColumn:]
  [NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
  new _highlightedTableColumn ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12521 72102866-910b-0410-8b05-ffd578937521
2002-02-13 16:34:40 +00:00
Nicola Pero
9dfbbceaf2 Updated for changes in semantics of NSMutableAttributedString -string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:13 +00:00
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Pierre-Yves Rivaille
4a5f98e0e7 Source/NSTableView.m: [setDelegate:], [setDataSource:] and
[validateEditing] changed to conform to previous change
(quick_sort_internal()) : fixed typo


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11651 72102866-910b-0410-8b05-ffd578937521
2001-12-07 17:05:57 +00:00
Gregory John Casamento
43ae836014 Changed superviewFrameChanged to prevent crash when the number of columns
in an NSTableView is reduced to zero.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11603 72102866-910b-0410-8b05-ffd578937521
2001-12-03 01:51:45 +00:00
Fred Kiefer
3b725d32e0 Added some additional MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11487 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:27:04 +00:00
Pierre-Yves Rivaille
a342cf5aae [NSTableView -sizeToFit]: replace floorf with floor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11314 72102866-910b-0410-8b05-ffd578937521
2001-11-05 23:14:44 +00:00
Pierre-Yves Rivaille
62f5b9a819 sizeLastColumnToFit, sizeToFit, setAutoresizesAllColumnToFit,
autoresizesAllColumnsToFit implementation
sizeToFit now behaves like OS4.2
Various changes for speed improvements (drawRect, updateCell)
New internal method (superviewFrameChanged:) called by NSClipView
(conforms to OS4.2)
initWithCoder: support for previously archived NSTableView


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11275 72102866-910b-0410-8b05-ffd578937521
2001-10-29 11:10:16 +00:00
Nicola Pero
449ae8ff09 Do not retain/release the data source; it's like a delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11171 72102866-910b-0410-8b05-ffd578937521
2001-10-17 17:25:25 +00:00
Pierre-Yves Rivaille
2ad9cdfca2 ([selectColumn:byExtendingSelection]):
Do not send NSTableViewSelectionDidChangeNotification when selection
	is not changed (was not always working with flag=NO)
([selectRow:byExtendingSelection]): Likewise


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11163 72102866-910b-0410-8b05-ffd578937521
2001-10-16 21:01:28 +00:00
Nicola Pero
5c66b95c6d Indentation tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10805 72102866-910b-0410-8b05-ffd578937521
2001-08-30 09:30:13 +00:00
Nicola Pero
a34fb690e9 Changed the key used in the user defaults to store a table columns so
that it is consistent with the key used by a window to store the frame


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10771 72102866-910b-0410-8b05-ffd578937521
2001-08-22 09:20:39 +00:00
Nicola Pero
52940b9bdd Implemented autosaving table columns (position and width)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10760 72102866-910b-0410-8b05-ffd578937521
2001-08-21 19:08:48 +00:00
Nicola Pero
93ad02b1b4 Use the cached notification center
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10758 72102866-910b-0410-8b05-ffd578937521
2001-08-21 18:13:32 +00:00
Pierre-Yves Rivaille
e3d2afb3c3 modifications to take [NSTableColumn -dataCellForRow:] into account
[-updateCell:]: only redraws the what's needed

[-setFrame:]: added a call to [self sizeToFit]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10749 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:25:29 +00:00
Pierre-Yves Rivaille
679debe40c Changed [-_userResizedTableColumn: leftWidth: rightWidth:] to
[-_userResizedTableColumn: width] for better resizing
Added [-_columnOrigins] for column reordering


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10705 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:06:53 +00:00
Adam Fedor
82fff1ebf0 Encoding implementations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10511 72102866-910b-0410-8b05-ffd578937521
2001-07-18 03:25:37 +00:00
Nicola Pero
8e481799f9 Fixed bug occurring when some rows were removed and some of them were
selected.  New code checks for it and deals with it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9703 72102866-910b-0410-8b05-ffd578937521
2001-04-25 20:40:46 +00:00
Nicola Pero
c8a8a98dab Fix for nil superview on solaris
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9120 72102866-910b-0410-8b05-ffd578937521
2001-02-09 18:52:29 +00:00
Nicola Pero
10b6a795ae Fixed selection in table with a single row
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8965 72102866-910b-0410-8b05-ffd578937521
2001-02-02 22:41:57 +00:00
Nicola Pero
3cba3915cc Fixed selected the only column in a single column table
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8952 72102866-910b-0410-8b05-ffd578937521
2001-01-31 01:42:31 +00:00
Nicola Pero
494e75a247 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8912 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:54:14 +00:00
Nicola Pero
7db396b77a Fixed column for point when point lies on the column boundary;
unselect an already selected row on click only if shift is pressed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8910 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:47:27 +00:00
Nicola Pero
10ad22071d Don't edit columns which are not editable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7459 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:01:15 +00:00
Nicola Pero
abab28e393 Bug fixings, implemented moving of columns programmatically.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7442 72102866-910b-0410-8b05-ffd578937521
2000-09-07 20:38:39 +00:00
Nicola Pero
3874966236 Added column resizing code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7436 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:35:05 +00:00
Nicola Pero
81ca86ec71 Little speedup of drawing table background
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7354 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:23:28 +00:00
Nicola Pero
ef00b8e1ed Implemented TAB / Shift + TAB during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7319 72102866-910b-0410-8b05-ffd578937521
2000-09-01 11:10:54 +00:00
Nicola Pero
a9f4a28379 Implemented object value/formatter support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7284 72102866-910b-0410-8b05-ffd578937521
2000-08-29 18:44:33 +00:00
Nicola Pero
a32e8348be Fixed bug in initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7255 72102866-910b-0410-8b05-ffd578937521
2000-08-27 16:59:50 +00:00
Nicola Pero
1afe863826 Implemented selection of columns and rows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7249 72102866-910b-0410-8b05-ffd578937521
2000-08-26 20:16:07 +00:00
Nicola Pero
36a80f494e Added editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6764 72102866-910b-0410-8b05-ffd578937521
2000-06-21 17:41:45 +00:00
Nicola Pero
4769a17666 Implemented double click on not editable cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6704 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:35:10 +00:00
Nicola Pero
93096a641b Tiny simplification of scrolling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6698 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:00:43 +00:00
Nicola Pero
69214d4cbe Indented a line at 80
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6696 72102866-910b-0410-8b05-ffd578937521
2000-06-16 16:48:45 +00:00
Nicola Pero
14384bd668 Updated for last changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6689 72102866-910b-0410-8b05-ffd578937521
2000-06-16 09:38:30 +00:00
Nicola Pero
d0ea8d9369 Fixed fatal typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6680 72102866-910b-0410-8b05-ffd578937521
2000-06-15 13:20:47 +00:00
Nicola Pero
4d6dd97c36 Implemented -scrollRowToVisible: and -scrollColumnToVisible:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6677 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:35:40 +00:00
Nicola Pero
74e75a2cb1 Indented a long comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6630 72102866-910b-0410-8b05-ffd578937521
2000-06-01 20:03:17 +00:00
Nicola Pero
744aa1f8ad Access ivar _frame directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6387 72102866-910b-0410-8b05-ffd578937521
2000-03-27 11:44:20 +00:00
Nicola Pero
eea1460276 Implemented noteNumberOfRowsChanged
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6340 72102866-910b-0410-8b05-ffd578937521
2000-03-19 23:27:35 +00:00
Nicola Pero
5628505c5a Include AppKit/PSOperators.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6317 72102866-910b-0410-8b05-ffd578937521
2000-03-18 01:14:52 +00:00
Nicola Pero
457c3527f4 Rewritten from scratch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6305 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:25:15 +00:00
Nicola Pero
600cd3e60b Updated for change in NSView ivar names; some other new code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5733 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:34:06 +00:00
Richard Frith-MacDonald
738bb09559 Access superclass ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4786 72102866-910b-0410-8b05-ffd578937521
1999-09-01 08:35:16 +00:00
Richard Frith-MacDonald
a3c6189002 Fixes for system colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4777 72102866-910b-0410-8b05-ffd578937521
1999-08-31 09:19:39 +00:00
Michael Silva
a73d9b885a A load of changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4724 72102866-910b-0410-8b05-ffd578937521
1999-08-19 23:18:25 +00:00