Commit graph

244 commits

Author SHA1 Message Date
Gregory John Casamento
3b0658b1e9 * GormCore/GormGenericEditor.m: Reformed and applied patch provided
by Sergey Golovin.  Corrects bug#17539.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25852 72102866-910b-0410-8b05-ffd578937521
2008-01-04 01:40:18 +00:00
Gregory John Casamento
ae4cd37e77 Correction for bug#19792
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25850 72102866-910b-0410-8b05-ffd578937521
2008-01-04 01:03:54 +00:00
Gregory John Casamento
29b9223701 Changed variable name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25849 72102866-910b-0410-8b05-ffd578937521
2008-01-04 00:41:02 +00:00
Gregory John Casamento
e3a196346f Make knobs more visually apparent.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25848 72102866-910b-0410-8b05-ffd578937521
2008-01-03 22:24:14 +00:00
Gregory John Casamento
6e3b735155 Correction for invalid window level. bug#21723
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25847 72102866-910b-0410-8b05-ffd578937521
2008-01-03 19:51:16 +00:00
Gregory John Casamento
c5122085ce Touch the document if corrections were made.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25832 72102866-910b-0410-8b05-ffd578937521
2008-01-02 04:08:05 +00:00
Gregory John Casamento
674495a9cb Cleanup array after errors/warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25831 72102866-910b-0410-8b05-ffd578937521
2008-01-02 03:58:37 +00:00
Gregory John Casamento
d5f30e29c8 More corrections to repair file. Changed info to reflect SVN only status.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25814 72102866-910b-0410-8b05-ffd578937521
2008-01-01 19:04:15 +00:00
Gregory John Casamento
d047746fce Added code and gorm file to show inconsistencies in gorm files when they are detected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25813 72102866-910b-0410-8b05-ffd578937521
2008-01-01 02:24:35 +00:00
Gregory John Casamento
c1f3e4d48c Correction bug#21845, made corrections to _repairFile method to fix issues with old Gorm files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25761 72102866-910b-0410-8b05-ffd578937521
2007-12-20 00:13:14 +00:00
Gregory John Casamento
b8375677d9 Preparing for release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25584 72102866-910b-0410-8b05-ffd578937521
2007-11-11 20:39:11 +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
Gregory John Casamento
88eba73015 Added new column title field to the inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25558 72102866-910b-0410-8b05-ffd578937521
2007-11-05 23:22:02 +00:00
Gregory John Casamento
079e761dc5 Correction for bug#21478
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25552 72102866-910b-0410-8b05-ffd578937521
2007-11-05 06:58:00 +00:00
Gregory John Casamento
235f48c5ea Corrected issue found by Riccardo for version 0 gorm files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25414 72102866-910b-0410-8b05-ffd578937521
2007-08-24 04:51:53 +00:00
Gregory John Casamento
cf01cd1f26 Corrected 20274.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25294 72102866-910b-0410-8b05-ffd578937521
2007-06-27 23:33:35 +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
6826102d00 * GormCore/GormResourceManager.m: Temporarily comment out some code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24164 72102866-910b-0410-8b05-ffd578937521
2006-11-27 15:36:07 +00:00
Matt Rice
3f873b490f 2006-11-18 Matt Rice <ratmice@gmail.com>
* GormCore/GormDocumentWindow.[h,m]: Add copyright headers.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24130 72102866-910b-0410-8b05-ffd578937521
2006-11-19 01:26:27 +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
1bc8528853 Resizing correction and blank text field when object does not have a tooltip.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23948 72102866-910b-0410-8b05-ffd578937521
2006-10-23 05:24:39 +00:00
Gregory John Casamento
fc12745708 Implemented simple help inspector to set tool tips on objects in Gorm.
* English.lproj/GormHelpInspector.gorm: Help inspector .gorm file.
	* GNUmakefile: Add .gorm file.
	* GormCore/GNUmakefile: Add new class.
	* GormCore/GormConnectionInspector.m: Call [super ok:] from ok: method.
	* GormCore/GormHelpInspector.[hm]: Implemented the beginnings of
	the help inspector.
	* GormCore/GormObjectEditor.m: Add helpInspectorClassName 
	implementation to NSView category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23947 72102866-910b-0410-8b05-ffd578937521
2006-10-23 05:16:42 +00:00
Gregory John Casamento
b6bfd4b2cb * GormCore/GormConnectionInspector.m: Added awakeFromNib method
to call setDoubleAction: on the newBrowser (connection) object
	so that double click will now cause a connection to be made.
	* GormCore/GormGenericEditor.m: Initialize local variables in
	refreshCells method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23939 72102866-910b-0410-8b05-ffd578937521
2006-10-21 20:07:42 +00:00
Gregory John Casamento
e4a7db7a1c Modify GNUmakefiles to include Version to properly name .so libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23926 72102866-910b-0410-8b05-ffd578937521
2006-10-21 00:09:12 +00:00
Gregory John Casamento
e3fb4c592f * GormCore/GormClassManager.m: Retain File's Owner setting, if
class is being updated.
        Correction for bug #18035 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23918 72102866-910b-0410-8b05-ffd578937521
2006-10-20 03:13:04 +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
94708f88b1 * English.lproj/GormClassEditor.gorm: Make button momentary push
and remove the image.
        * English.lproj/GormPrefGeneral.gorm: Change box title.
        * GormCore/GormClassEditor.[hm]: Change switchView to 
        switchViewToDefault, add method toggleView:, add code to change
        image as appropriate.
        * GormPrefs/GormGeneralPref.m: Remove notification in classesAction:
        so that the default changes don't effect all class editors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23841 72102866-910b-0410-8b05-ffd578937521
2006-10-11 00:58:56 +00:00
Gregory John Casamento
d535960de1 * English.lproj/GormClassEditor.gorm: Added button and search image.
* GNUmakefile: Added new tiff files to images.
	* GormCore/GormClassEditor.m: Added toggleView: method.
	* Images/browserView.tiff: Browser image.
	* Images/outlineView.tiff: Outline image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23831 72102866-910b-0410-8b05-ffd578937521
2006-10-10 04:01:57 +00:00
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