Commit graph

213 commits

Author SHA1 Message Date
Nicola Pero
4ec1f9f55b Do not set GNUSTEP_INSTALLATION_DIR in makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23811 72102866-910b-0410-8b05-ffd578937521
2006-10-09 22:07:35 +00:00
Richard Frith-MacDonald
404980e059 Fix visual bugs when dragging items from pallette.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23776 72102866-910b-0410-8b05-ffd578937521
2006-10-06 13:03:51 +00:00
Gregory John Casamento
f0119f3465 Minor cleanup in handleNotification: method of GormClassEditor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23771 72102866-910b-0410-8b05-ffd578937521
2006-10-06 04:17:37 +00:00
Gregory John Casamento
9628e807f1 * English.lproj/GormClassEditor.gorm: Added new gorm file to hold
classes view contents as well as search and operations drop down.
	* English.lproj/GormDocument.gorm: Removed seatch and drop down
	* GNUmakefile: Added new gorm file.
	* GormCore/GormClassEditor.h: new outlets classesView and mainView, 
	added declarations for methods createSubclass:, createClassFiles:, 
	instantiateClass:, removeClass:
	* GormCore/GormClassEditor.m: Changes to methods to use the above.
	* GormCore/GormDocument.h: Removed duplicate declarations.
	* GormCore/GormDocument.m: Remove code for methods and replace with
	simple calls to the editor.
	* Palettes/2Controls/GormBoxAttributesInspector.m: ok: and revert:
	changed to convert to integer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23765 72102866-910b-0410-8b05-ffd578937521
2006-10-05 17:20:40 +00:00
Gregory John Casamento
97f5a14d37 * GormCore/GormCustomView.m: Minor cleanup in initWithFrame:
* GormCore/GormGormWrapperLoader.m: Added logic to _repairFile
        to correct issue with views that don't have a name in the nametable.
        * GormCore/GormViewWithContentViewEditor.m: Properly add 
        the subview back into the document in ungroup method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23763 72102866-910b-0410-8b05-ffd578937521
2006-10-05 02:39:50 +00:00
Gregory John Casamento
1e18b6b1db * English.lproj/GormDocument.gorm: Make connection to
fileType in GormFilePrefsManager.
	* GormCore/GormDocumentController.m: Move the window when 
	"New Application" is selected.
	* GormCore/GormDocument.m: Add call in awakeFromNib
	to setFileTypeName:.
	* GormCore/GormFilePrefsManager.h: add setFileTypeName: and
	fileTypeName.
	* GormCore/GormFilePrefsManager.m: add setFileTypeName: and
	fileTypeName.
	* Palettes/4Data/GormTextViewEditor.m: Remove commented out 
	windowAndRect:forObject:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23747 72102866-910b-0410-8b05-ffd578937521
2006-10-04 04:16:47 +00:00
Gregory John Casamento
b1b7c581b6 * GormCore/GormClassEditor.m: Correct issue with class selection in
deleteSelection method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23703 72102866-910b-0410-8b05-ffd578937521
2006-10-02 03:08:55 +00:00
Gregory John Casamento
3ec0137332 * English.lproj/GormDocument.gorm: Added section in file section
to show fileType.
	* GormCore/GormFilePrefsManager.m: Changed version number from 
	1,1,0 to 1,1,2.
	* GormCore/GormInspectorsManager.m: Removed kludge from 
	setCurrentInspector:.
	* GormCore/GormScrollViewEditor.m: Remove code which returns 
	the table view editor in editorClassName.  In mouseDown:
	remove check in mouseDown: for NSScroller and subclasses.
	* GormCore/GormViewEditor.h: Declare frameDidChange:
	* Palettes/3Containers/GormTableViewEditor.m: Remove redundant
	implementation of performDragOperation:.  Call draggingUpdated 
	instead.
	* Palettes/4Data/DataPalette.m: Change minimum size.
	* Palettes/4Data/GormTextViewEditor.m: Add handleNotification: 
	and add initWithObject:inDocument:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23700 72102866-910b-0410-8b05-ffd578937521
2006-10-02 02:47:22 +00:00
Gregory John Casamento
1fbfdd1200 * GormCore/GormGModelWrapperLoader.m: Cleanup NSLog()
calls.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23686 72102866-910b-0410-8b05-ffd578937521
2006-10-01 03:09:55 +00:00
Gregory John Casamento
b310241acd * GormCore/GormClassManager.h: Added declaration findByClassName:
* GormCore/GormClassManager.m: Added findClassByName: method to 
	find classes with partial text matches.
	* GormCore/GormDocument.m: Modified controlTextDidChange: to call
	findClassByName:.
	* GormCore/GormGModelWrapperLoader.m: Change className to cm
	in initWithModelUnarchiver: to avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23684 72102866-910b-0410-8b05-ffd578937521
2006-09-30 16:08:29 +00:00
Gregory John Casamento
bc0a78c47a * GormCore/GormClassManager.m: Allow addClassNamed:... to accept
arguments superClass, actions, and outlets as nil.
	* GormObjCHeaderParser/OCClass.m: Correctly recognize a category
	in [OCClass parse];  Corrects bug#17804.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23660 72102866-910b-0410-8b05-ffd578937521
2006-09-29 02:28:49 +00:00
Gregory John Casamento
d5e5de02c9 * English.lproj/GormDocument.gorm: Added search field and drop down
for loading reading and subclassing.
	* GormCore/GormClassManager.m: Removed sorting from allSuperclassesOf:
	* GormCore/GormDocument.m: Added delegate method for search field.
	Implemments suggestions in bug#17802 (Change request).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23659 72102866-910b-0410-8b05-ffd578937521
2006-09-29 00:41:30 +00:00
Gregory John Casamento
7e89a2e6c2 * GormCore/GormClassEditor.m: Correct problem which caused
class inspector to loose focus.
	* GormInfo.plist: Update version to reflect SVN.
	* GormPrefs/GormGuidelinePref.m: Eliminate warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23648 72102866-910b-0410-8b05-ffd578937521
2006-09-28 04:38:26 +00:00
Gregory John Casamento
7762f68ce4 Sort subclass names to make navigation easier when editing classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23647 72102866-910b-0410-8b05-ffd578937521
2006-09-28 02:31:06 +00:00
Gregory John Casamento
a72d9dae48 * GormCore/GormWindowEditor.m: Remove IBApplicationAdditions category.
* Palettes/1Windows/DrawerSmall.tiff: icon for NSDrawer in objects 
        view.
        * Palettes/1Windows/Drawer.tiff: Icon for drawer on palette
        * Palettes/1Windows/GNUmakefile: Added new files.
        * Palettes/1Windows/inspectors.m: Add IBApplicationAdditions category
        for NSWindow (from GormWindowEditor above) and add category for
        NSDrawer.
        * Palettes/1Windows/WindowsPalette.h: Moved interface for 
        WindowsPalette here.
        * Palettes/1Windows/WindowsPalette.m: Removed interface and added
        #include
        * Resources/ClassInformation.plist: Added ivars which were missing 
        for NSDrawer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23479 72102866-910b-0410-8b05-ffd578937521
2006-09-13 03:12:59 +00:00
Gregory John Casamento
39b213700b Correction for bug found by fabien.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23372 72102866-910b-0410-8b05-ffd578937521
2006-08-29 13:12:46 +00:00
Gregory John Casamento
a1f235be53 * GormCore/GormBoxEditor.m: Check to see if the subview responds
to destroyAndListSubviews.
	* GormCore/GormViewWithContentViewEditor.m: 
	[GormViewWithContentViewEditor ungroup] added local
	variable "v" to hold the view.
	* Gorm.m: Remove NSLog from ungroup method.
	Partial correction for bug#17538.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23341 72102866-910b-0410-8b05-ffd578937521
2006-08-27 05:39:47 +00:00
Gregory John Casamento
a1aac66d2c * GormCore/GormDocument.m: Modify outdated "upgrade" warning in
fileWrapperRepresentationOfType:.
	* GormCore/GormGormWrapperLoader.m: Set .gorms of version 1 as 
	old in buildFileWrapperDictionaryWithDocument:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23319 72102866-910b-0410-8b05-ffd578937521
2006-08-20 16:25:23 +00:00
Gregory John Casamento
32c3144b50 * GormCore/GormDocument.m: Simplify message in
fileRepresentationOfType:.
	* GormCore/GormNibWrapperBuilder.m: Correct test for menu which
	was causing the app to crash in openItems method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23299 72102866-910b-0410-8b05-ffd578937521
2006-08-16 04:56:24 +00:00
Gregory John Casamento
6aba750c3b * GormCore/GormWrapperLoader.m: Correct problem introduced in
previous commit in [GormWrapperLoader loadFileWrapper: 
	withDocument:];
	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23297 72102866-910b-0410-8b05-ffd578937521
2006-08-15 21:51:48 +00:00
Gregory John Casamento
1a0b921b56 * GormCore/GormFilePrefsManager.h: Add declaration for
nibDataWithOpenObjects:
	* GormCore/GormFilePrefsManager.m: Rename nibData to 
	nibDataWithOpenObjects:
	* GormCore/GormNibWrapperBuilder.m: Create the IBOpenObjects
	list in buildWrapper...
	* GormCore/GormResource.m: Properly assign the data to the ivar
	in initWithData:...
	* GormCore/GormWrapperBuilder.m: Correct image loading and saving
	issue.
	* GormCore/GormWrapperLoader.m: Correct image problem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23293 72102866-910b-0410-8b05-ffd578937521
2006-08-15 06:18:50 +00:00
Gregory John Casamento
38808c068b 2006-08-14 21:48-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperBuilder.m: Properly encode oids as
	integers in -[NSIBObjectData initWithDocument:] since bug#17426
	is corrected.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23290 72102866-910b-0410-8b05-ffd578937521
2006-08-15 01:49:18 +00:00
Gregory John Casamento
94afd25de3 Temporary workaround in -[NSIBObjectData initWithDocument] until bug#17426 is resolved.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23288 72102866-910b-0410-8b05-ffd578937521
2006-08-14 05:05:56 +00:00
Gregory John Casamento
c7ce49dca4 Remove old method, correct oid issue, correct image issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23286 72102866-910b-0410-8b05-ffd578937521
2006-08-14 01:52:20 +00:00
Gregory John Casamento
92933fd3a5 Changed default backing store type to "Buffered".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23256 72102866-910b-0410-8b05-ffd578937521
2006-08-11 15:14:35 +00:00
Gregory John Casamento
91a2a62ea0 Correct issues encoding as a NSCustomView. Now loads properly in IB.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23250 72102866-910b-0410-8b05-ffd578937521
2006-08-11 05:55:16 +00:00
Gregory John Casamento
7a60003663 Corrections to prevent errors when loading nibs created by Gorm into IB.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23229 72102866-910b-0410-8b05-ffd578937521
2006-08-09 06:31:12 +00:00
Gregory John Casamento
3a12289000 Remove initWithCoder: in GormFilesOwner, add code in -[NSIBObjectData initWithDocument:] to set NSFramework value to IBCocoaFramework as it is in nib files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23208 72102866-910b-0410-8b05-ffd578937521
2006-08-06 04:39:29 +00:00
Gregory John Casamento
5f803300ed Nib changes to properly generate oids and names, encoding of info.nib and changes to properly encode classes.nib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23205 72102866-910b-0410-8b05-ffd578937521
2006-08-05 12:48:45 +00:00
Gregory John Casamento
2128d1bc13 Add nib wrapper builder class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23196 72102866-910b-0410-8b05-ffd578937521
2006-08-01 04:17:18 +00:00
Gregory John Casamento
e46f1a4cbf Changes to write nib files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23195 72102866-910b-0410-8b05-ffd578937521
2006-08-01 04:16:34 +00:00
Gregory John Casamento
e26b4303fd Changes for encoding GormObjectProxy as NSCustomObject also some minor cleanup of the minimalContainerFrame() function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23179 72102866-910b-0410-8b05-ffd578937521
2006-07-19 03:09:16 +00:00
Gregory John Casamento
a73cd2aaa2 Improved placement of standalone views and automatically determine the minimum size for the view based on the positions of it's subviews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23172 72102866-910b-0410-8b05-ffd578937521
2006-07-17 03:14:57 +00:00
Gregory John Casamento
4025566690 In loadFileWrapper:withDocument: removed the check for the info file. Some earlier versions of the .gorm wrapper don't have this file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23156 72102866-910b-0410-8b05-ffd578937521
2006-07-10 05:34:43 +00:00
Gregory John Casamento
7d5e68a2c0 Resolve connection dest/src when pointing to a NSWindowTemplate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23154 72102866-910b-0410-8b05-ffd578937521
2006-07-10 03:28:10 +00:00
Gregory John Casamento
d77a7fa239 Correction for issue which was causing size inspector not to update when a view was moved or changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23153 72102866-910b-0410-8b05-ffd578937521
2006-07-09 22:01:08 +00:00
Gregory John Casamento
9674692ac1 Correct test for custom class in loadFileWrapper:withDocument:. The NSLog was indicating a problem when there wasn't one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23152 72102866-910b-0410-8b05-ffd578937521
2006-07-09 17:05:45 +00:00
Gregory John Casamento
43fd188678 Removal of dead code and correction of custom view problem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23151 72102866-910b-0410-8b05-ffd578937521
2006-07-09 15:19:44 +00:00
Gregory John Casamento
defb7ce217 Gorm version 2 changes and nib file reading improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23149 72102866-910b-0410-8b05-ffd578937521
2006-07-09 14:50:34 +00:00
Gregory John Casamento
fc17434efb Added warning if custom class or name comes back nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23128 72102866-910b-0410-8b05-ffd578937521
2006-07-05 04:03:58 +00:00
Gregory John Casamento
6c4dab7c20 Remove category which declared/implemented setSuperview:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23121 72102866-910b-0410-8b05-ffd578937521
2006-07-03 21:19:40 +00:00
Gregory John Casamento
ebab43f63f Use best possible non-custom superclass when loading a nib that has a custom view with subviews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23118 72102866-910b-0410-8b05-ffd578937521
2006-07-02 04:55:30 +00:00
Gregory John Casamento
fd10b886b4 Remove "_" from _isTopLevelObject:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23105 72102866-910b-0410-8b05-ffd578937521
2006-06-25 00:50:34 +00:00
Gregory John Casamento
7dcc22a791 Improve message window when there is a problem while testing interface. Also use the "objects" map to determine what is a top level object, since a top level object will always return either a nil, or the file's owner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23104 72102866-910b-0410-8b05-ffd578937521
2006-06-25 00:45:18 +00:00
Gregory John Casamento
1039379c21 Remove swappedObjects ivar and references in init and dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23103 72102866-910b-0410-8b05-ffd578937521
2006-06-24 14:37:41 +00:00
Gregory John Casamento
cbba5cb5c7 Use the "classes" map from the nib instead of the "swappedObjects" dictionary. Remove the (now unecessary) delegate code which was building it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23102 72102866-910b-0410-8b05-ffd578937521
2006-06-24 14:26:32 +00:00
Gregory John Casamento
7d9741531c Clear changes after gmodel load and use key objects from map returned by -names to populate the Gorm data structures. The "names" objects in the nib are analogous to the Gorm name table and should easily translate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23099 72102866-910b-0410-8b05-ffd578937521
2006-06-23 05:03:36 +00:00
Gregory John Casamento
f112aa80be Code to remove NSIBHelpConnector instances from the connections array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23081 72102866-910b-0410-8b05-ffd578937521
2006-06-18 18:41:28 +00:00
Gregory John Casamento
5298a0ee49 Move resizing change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23079 72102866-910b-0410-8b05-ffd578937521
2006-06-18 00:41:02 +00:00
Gregory John Casamento
2ab6ac351b Properly resize window after loading .nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23076 72102866-910b-0410-8b05-ffd578937521
2006-06-17 16:46:24 +00:00