NSBox [OpenStep release]

2005-11-07 Thread Fabien VALLON
Hi,

I began to document OpenStep classes.

In attachment : NSBox.

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.


Cheers
Fabien




NSBox.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


NSBrowserCell doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
In attachment : NSBrowserCell

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.

Cheers
Fabien

NSBrowserCell.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


NSCell doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
In attachment : NSCell

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.

Notes:
- All methods have wrong availability flags.
- Warnings and comments found in the code :




cellSizeForBounds: // TODO: Resize the text to fit
Sets whether the NSCell's text is word-wrapped. : Does it work ??

editWithFrame:  inView:editor: delegate: event:
/* FIXME/TODO make sure this is correct. */

selectWithFrame: inView: editor: delegate: start: length:
/* FIXME/TODO make sure this is correct. */

setEntryType:   // TODO: This should select a suitable formatter

setFloatingPointFormat: left: right:
// TODO: Pass this on to the formatter to handle

drawInteriorWithFrame: inView:
  //FIXME: Check if this is also neccessary for images,
  // Add spacing between border and inside

highlight: withFrame: inView:
/* FIXME - This looks like potentially generating an
* infinite loop!  The control asking the cell to draw
* itself in the rect, the cell asking the control to draw
* the rect, the control asking the cell to draw itself in
* the rect, the cell ...
*
* I think we should remove it.  The control is responsible
* for using the cell to draw, not vice versa.
*/

Strange / Hardcode / put it in static ?
- (void) getPeriodicDelay: (float*)delay interval: (float*)interval
{
  *delay = 0.1;
  *interval = 0.1;
}

setRepresentedObject:
/* Ahm - not nice - the RETAIN here could cause retain cycles - anyway. */


Cheers
Fabien

NSCell.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


[Gnustep-cvs] GNUstep Testfarm Results

2005-11-07 Thread Adam Fedor
Test results for GNUstep as of Mon Nov  7 06:34:12 EST 2005
If a particular system failed compilation, the logs for that system will
be placed at ftp://ftp.gnustep.org/pub/testfarm

If you would like to add your machine to this list, set up a cron job
(make sure you set up your PATH and other environment variables correctly)
to run the Startup/scripts/test-gnustep script (see the script comments 
for more info).

Success Compile i386-unknown-netbsdelf2.1.0. Mon Nov  7 03:58:46 CET 2005
Success Compile powerpc-apple-darwin7.9.0 Mon Nov  7 03:23:30 MST 2005
Success Compile sparc-sun-solaris2.7 Mon Nov  7 02:13:20 EST 2005




NSButtonCell doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
In attachment : NSButtonCell

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.

Notes:
- All methods have wrong availability flags.
- -performClick: is not implemented

Cheers
Fabien





NSButtonCell.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


NSClipView doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
In attachment : NSClipView

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.

Notes:
- All methods have wrong availability flags.
- The OpenStep code contains :



setDocumentView:
 /* TODO: Adjust the key view loop to include the new document view */

initWithCoder:
 // FIXME setCopiesOnScroll: setDrawsBackground:


Cheers
Fabien

NSClipView.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


NSControl doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
In attachment : NSControl

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.

Notes:
- All methods have wrong availability flags.

Fabien

NSControl.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


NSSavePanel doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
In attachment : NSSavePanel doc improvements

It is not yet fully documented, furthermore English is not my native
language so the expressions may not be perfect.

Notes:
- All methods have wrong availability flags.
- Code

setTitle:
// TODO: Improve the following by managing
// vertical alignment better.

- (void) selectText: (id)sender
"Invoked when users press Tab, Shift-Tab, or an arrow key." ( OpenStep
specs )

I saw only arrow keys code


Fabien


NSSavePanel.m.gz
Description: application/gzip
___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: NSSavePanel doc [OpenStep release]

2005-11-07 Thread Adrian Robert



On Nov 7, 2005, at 11:09 AM, Fabien VALLON wrote:


In attachment : NSSavePanel doc improvements


Hi,

I will look in detail later, but are these doc improvements additions  
to the GSdoc, or internal comments on the implementation, or updates  
to the documentation of which standards each method is conforming  
to?  (Or more than one of the above?)






___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: NSSavePanel doc [OpenStep release]

2005-11-07 Thread Fabien VALLON
On Lun 7 novembre 2005 17:20, Adrian Robert wrote:
>
>
> On Nov 7, 2005, at 11:09 AM, Fabien VALLON wrote:
>
>> In attachment : NSSavePanel doc improvements
>
> Hi,
>
> I will look in detail later, but are these doc improvements additions
> to the GSdoc, or internal comments on the implementation, or updates
> to the documentation of which standards each method is conforming
> to?  (Or more than one of the above?)

NSSavePanel was already quite well documented. ( not the other classes
submited ).

The gsdoc comments describe what the method should do and comment the
implementation when needed.

I added lot of links ( see Also: ) between methods for an easier
navigation between them. I also added some "TODO" comments :)

It is done only on OpenStep methods.

This is not fully documented yet and and could contains bugs.

I post them here to have feedbacks. ( I don't know if *I* should commit
them now )

Fabien






___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: NSButtonCell doc [OpenStep release]

2005-11-07 Thread Fred Kiefer
Fabien VALLON wrote:
> - -performClick: is not implemented
> 

This aint no problem, deviating from the OpenStep/Apple specification we
introduced the method performClickWithFrame:inView: on NSCell, which
gets called by performClick:. NSButtonCell now overwrites this method
instead of performClick:. You'll find an explanation for this in the
file Changelog.3 in the entry from Quentin Mathe on 2004-04-02.

Fred


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: NSSavePanel doc [OpenStep release]

2005-11-07 Thread Fred Kiefer
Fabien VALLON wrote:
> 
> I post them here to have feedbacks. ( I don't know if *I* should commit
> them now )
> 

I think you should go ahead an commit your documentation changes.

Fred


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev