bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9955] Gorm parse outlets redundantly.


From: Gregory John Casamento
Subject: [bugs #9955] Gorm parse outlets redundantly.
Date: Fri, 13 Aug 2004 18:29:02 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #9955] Latest Modifications:

Changes by: 
                Gregory John Casamento <greg_casamento@yahoo.com>
'Date: 
                Fri 08/13/2004 at 22:24 (US/Eastern)

------------------ Additional Follow-up Comments ----------------------------
Several people have complained about the header parser causing issues.  I have, 
therefore, disabled it in current Gorm CVS.  I am currently in the process of 
re-writing the class parser.   I should be done sometime this weekend.

In the mean time, people should add classes by hand.  In case anyone is 
wondering the procedure is (and has always been):

1) create a new document (app, inspector, etc...)
2) Click on the classes toolbar item
3) Select the parent class
4) Click "Gorm->Classes->Subclass"
5) Rename the new class from NewClass to the name you want.
6) Use the class inspector or the outline view+classes menu to add 
actions/outlets to the new class.

Thanks, GJC






/**************************************************************************/
[bugs #9955] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9955>
Project: GNUstep
Submitted by: Yen-Ju Chen
On: Tue 08/10/2004 at 16:12

Category:  Gorm
Severity:  5 - Average
Item Group:  Bug
Resolution:  None
Assigned to:  gcasa
Status:  Open


Summary:  Gorm parse outlets redundantly.

Original Submission:  1. Open gorm.
2. "Document" -> "New Module" -> "New Empty"
3. Select "Classes" in main window.
4. "Classes" -> "Load Class..." to load this header:

#include <AppKit/AppKit.h>

@interface LibraryLocationPanel: NSObject
{
    IBOutlet id locationTextField;
    IBOutlet id panel;
    int buttonResult;
}

@end

5. Look at the outlet of this class in inspector.
  The "panel" outlet appears redundantly.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 08/13/2004 at 22:24       By: gcasa
Several people have complained about the header parser causing issues.  I have, 
therefore, disabled it in current Gorm CVS.  I am currently in the process of 
re-writing the class parser.   I should be done sometime this weekend.

In the mean time, people should add classes by hand.  In case anyone is 
wondering the procedure is (and has always been):

1) create a new document (app, inspector, etc...)
2) Click on the classes toolbar item
3) Select the parent class
4) Click "Gorm->Classes->Subclass"
5) Rename the new class from NewClass to the name you want.
6) Use the class inspector or the outline view+classes menu to add 
actions/outlets to the new class.

Thanks, GJC

-------------------------------------------------------
Date: Wed 08/11/2004 at 16:08       By: yjchen
I made a simple header parser (see attached file).
It uses a general code parser in CodeEditor and MyLibrary.
The idea is the same as SAX.
It only parses the outlet starting with "IBOutlet" or "id".
It handles both /* and // comment.
use 'opentool HeaderParser <header file>' to test.
It is just a demo and is not polished.
If you like this idea of parsing header,
we can make it better.

-------------------------------------------------------
Date: Wed 08/11/2004 at 02:38       By: gcasa
Thanks for the report.   The class parser currently needs some revamping.  GJC






File Attachments
-------------------

-------------------------------------------------------
Date: Wed 08/11/2004 at 16:08  Name: HeaderParser.tar.gz  Size: 4.7KB   By: 
yjchen

http://savannah.gnu.org/bugs/download.php?item_id=9955&amp;item_file_id=1576






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9955>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]