Commit graph

77 commits

Author SHA1 Message Date
Gregory John Casamento
63126d63f7 * English.lproj/GormDocument.gorm: Correct issue with window.
* GormCore/GormDocument.m
	* GormCore/GormImageEditor.m
	* GormCore/GormObjectEditor.m
	* GormCore/GormSoundEditor.m: Fix memory leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26467 72102866-910b-0410-8b05-ffd578937521
2008-04-24 04:55:40 +00:00
Gregory John Casamento
1347eb518d Addition of code for bug#17892.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25860 72102866-910b-0410-8b05-ffd578937521
2008-01-04 17:06:44 +00:00
Gregory John Casamento
89386fd640 Changed header to reflect license change to GPLv3.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25559 72102866-910b-0410-8b05-ffd578937521
2007-11-05 23:44:36 +00:00
Matt Rice
fdb080a601 * GormCore/GormDocument.m (_real_close): New function.
(handleNotification:): Move document closing code to _real_close.
        (close:): Call _real_close.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24467 72102866-910b-0410-8b05-ffd578937521
2007-02-04 22:17:42 +00:00
Gregory John Casamento
7fa91a4e06 * GormCore/GormDocument.h: Change declaration for window member
from NSWindow to GormDocumentWindow.
	* GormCore/GormDocument.m: Move cast from call to setDocument:
	to call to _docWindow private method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24181 72102866-910b-0410-8b05-ffd578937521
2006-12-04 01:06:28 +00:00
Gregory John Casamento
c86b0ada46 * GormCore/GormDocument.m: Use setDocument: method in awakeFromNib.
* GormCore/GormDocumentWindow.h: Add setDocument: method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24180 72102866-910b-0410-8b05-ffd578937521
2006-12-04 00:35:31 +00:00
Matt Rice
4a03adccea * Palettes/0Menus/GormMenuEditor.m (-mouseDown:): Call
startConnecting.
        * GormCore/GormViewEditor.m (-startConnectingObject:withEvent:): Ditto.
        * GormCore/GormObjectEditor.m (-mouseDown:): Ditto.
        * GormCore/GormDocument.m (changeToViewWithTag:): Don't change the
        selection if connecting.
        * GormCore/GormResourceManager.m: Revert previous commit.
        * Gorm.m (-startConnecting:): Remove checks for a nil
        connectDestination.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24178 72102866-910b-0410-8b05-ffd578937521
2006-12-03 01:11:26 +00:00
Matt Rice
8b6d518d07 * GormCore/GNUmakefile: Add GormDocumentWindow.[h,m].
* GormCore/GormResourceManager.m: Add code to handle
        image/sound/header files.
        * GormCore/GormDocument.[h,m]: Add -viewWithTag: method.
        * GormCore/GormClassEditor.m: Remove dragging destination code
        for resources.
        * GormCore/GormResourceEditor.m: Ditto.
        * GormCore/GormObjectEditor.m: Ditto.
        (addObject:): Change the editor to the GormObjectEditor.
        * GormCore/GormDocument.m: Register the window for dragged types.
        Implement -viewWithTag:.
        * GormCore/GormDocumentWindow.[h,m]: New subclass of NSWindow which
        handles drag and drop to GormResourceManager.
        * GormCore/GormDocument.gorm: Set the main document  window to a
        GormDocumentWindow class.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24129 72102866-910b-0410-8b05-ffd578937521
2006-11-19 00:48:34 +00:00
Gregory John Casamento
0b54892c78 * GormCore/GormClassManager.[hm]: Added actionExists:onClassNamed: and
outletExists:onClassNamed: methods to query the existence of a
        given action/outlet on a given class.
        * GormCore/GormDocument.[hm]: Added refreshConnectionsForClassNamed:
        method.
        * Images/GormFile.tiff: Added "gorm" in the center to make it obvious
        which type this is for.
        * Images/GormNib.tiff: Added "nib" in the center to make it obvious
        which type this is for.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23917 72102866-910b-0410-8b05-ffd578937521
2006-10-20 02:59:11 +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
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
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
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
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
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
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
c221647c27 New GModel loader.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23058 72102866-910b-0410-8b05-ffd578937521
2006-06-15 04:51:33 +00:00
Gregory John Casamento
da0073d8c8 Gorm/nib support fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23057 72102866-910b-0410-8b05-ffd578937521
2006-06-15 02:47:27 +00:00
Gregory John Casamento
09fbac4ce3 Nib changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23052 72102866-910b-0410-8b05-ffd578937521
2006-06-14 05:47:54 +00:00
Gregory John Casamento
3abcd4b201 Improvements to gorm encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23044 72102866-910b-0410-8b05-ffd578937521
2006-06-10 14:30:33 +00:00
Gregory John Casamento
145a8afd69 Nib support changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23043 72102866-910b-0410-8b05-ffd578937521
2006-06-10 13:34:44 +00:00
Gregory John Casamento
5fa3ae3247 Improved automatic name generation in the name table.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23035 72102866-910b-0410-8b05-ffd578937521
2006-06-06 01:25:51 +00:00
Gregory John Casamento
8cf554d371 Nib compatibility work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23034 72102866-910b-0410-8b05-ffd578937521
2006-06-05 05:48:10 +00:00
Gregory John Casamento
966d2b8409 Merge from NibCompatibility branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23033 72102866-910b-0410-8b05-ffd578937521
2006-06-05 02:12:00 +00:00
Gregory John Casamento
95abbaf5b4 Further correction for bug#16587.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22937 72102866-910b-0410-8b05-ffd578937521
2006-05-16 05:00:20 +00:00
Gregory John Casamento
5c7c120367 Correction for bug #16587
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22936 72102866-910b-0410-8b05-ffd578937521
2006-05-16 02:59:45 +00:00
Gregory John Casamento
5a923726a1 Correction for problem found by Riccardo Mattolla. Cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22676 72102866-910b-0410-8b05-ffd578937521
2006-03-19 01:16:18 +00:00
Gregory John Casamento
56d153ffc4 Correction for bug#15178
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22171 72102866-910b-0410-8b05-ffd578937521
2005-12-16 00:10:23 +00:00
Gregory John Casamento
0c96d0e0af Correction for bug#15178
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22168 72102866-910b-0410-8b05-ffd578937521
2005-12-15 03:12:26 +00:00
Gregory John Casamento
ca69dba62e Correction for inspector resizing issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21743 72102866-910b-0410-8b05-ffd578937521
2005-09-25 16:57:11 +00:00
Gregory John Casamento
b12a81f134 Updated version and added logic to add menu items from a popup button to the document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21662 72102866-910b-0410-8b05-ffd578937521
2005-08-19 04:25:52 +00:00
Gregory John Casamento
81ef7c4c41 Fixed problem with retrieval of objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21661 72102866-910b-0410-8b05-ffd578937521
2005-08-19 03:24:23 +00:00
Gregory John Casamento
4258edcf1c Attach menu items and menus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21660 72102866-910b-0410-8b05-ffd578937521
2005-08-19 02:22:30 +00:00
Gregory John Casamento
05a4b62108 Further improvements to attachObject:toParent:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21659 72102866-910b-0410-8b05-ffd578937521
2005-08-19 01:33:16 +00:00
Gregory John Casamento
08f846d1df parent->child connection fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21658 72102866-910b-0410-8b05-ffd578937521
2005-08-19 01:05:46 +00:00
Gregory John Casamento
831d3256d2 Removed some commented out code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21657 72102866-910b-0410-8b05-ffd578937521
2005-08-19 00:22:23 +00:00
Gregory John Casamento
ddc332ae3a remove openEditors code in begin/end archiving methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21656 72102866-910b-0410-8b05-ffd578937521
2005-08-18 03:33:02 +00:00
Gregory John Casamento
47ddce6e20 Corrected bug#14004
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21655 72102866-910b-0410-8b05-ffd578937521
2005-08-18 03:32:21 +00:00
Gregory John Casamento
8647cb211f Possible correction for #14004. Also, improvement in the table view inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21628 72102866-910b-0410-8b05-ffd578937521
2005-08-10 06:28:55 +00:00
Gregory John Casamento
4ae3c45cd5 Enabled copy/paste in the objects editor, corrected a problem with the browser, expanded the capabilities of the resource manager and gormified the connection inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21620 72102866-910b-0410-8b05-ffd578937521
2005-08-07 02:24:49 +00:00
Gregory John Casamento
e5abeefe0d Removed uneeded class and corrected default creation of inspectors and palettes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21586 72102866-910b-0410-8b05-ffd578937521
2005-07-31 22:53:05 +00:00
Gregory John Casamento
71f668b9f2 Saves w/ window template when appropriate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21566 72102866-910b-0410-8b05-ffd578937521
2005-07-30 08:10:01 +00:00
Gregory John Casamento
5bf31114f7 Added documentation. Corrected a minor issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21547 72102866-910b-0410-8b05-ffd578937521
2005-07-27 05:42:04 +00:00
Gregory John Casamento
428716326e Corrected a crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21541 72102866-910b-0410-8b05-ffd578937521
2005-07-26 03:23:04 +00:00
Gregory John Casamento
5c90039127 Usability change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21473 72102866-910b-0410-8b05-ffd578937521
2005-07-14 16:36:48 +00:00
Gregory John Casamento
0e4671f628 Updated toolbar delegate.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21470 72102866-910b-0410-8b05-ffd578937521
2005-07-14 13:00:28 +00:00
Gregory John Casamento
7aac9ffaa4 Removal of some old code and correction for table data source.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21419 72102866-910b-0410-8b05-ffd578937521
2005-07-07 17:23:56 +00:00
Gregory John Casamento
f55c5147da Set selection based on top level editor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21411 72102866-910b-0410-8b05-ffd578937521
2005-07-06 14:47:33 +00:00
Gregory John Casamento
9d116f0f2a Corrected bug where gorm incorrectly claims to update a file. Added documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21409 72102866-910b-0410-8b05-ffd578937521
2005-07-05 14:58:42 +00:00