Commit graph

238 commits

Author SHA1 Message Date
Graham Lee
ab57b33375 Remove redundant Gorm->documents collection and unused method that referenced it 2017-10-26 17:10:00 +01:00
Gregory John Casamento
14b3cc8602 Fix for bug#42782
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@38136 72102866-910b-0410-8b05-ffd578937521
2014-10-28 07:09:52 +00:00
Germán Arias
f0429f9b63 Improvements for use with menu in-window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34946 72102866-910b-0410-8b05-ffd578937521
2012-03-18 02:00:32 +00:00
Niels Grewe
77064296dc Small tweak for Objective-C 2 runtime API compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31439 72102866-910b-0410-8b05-ffd578937521
2010-09-29 09:40:22 +00:00
Gregory John Casamento
2ba2c53a79 * GormInfo.plist: Simplified copyright portion. Give a range of
years instead of each year individually.
	* Gorm.m: Implement simple mechanism for recieving notifications
	to parse a given class file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30942 72102866-910b-0410-8b05-ffd578937521
2010-07-10 05:13:40 +00:00
Gregory John Casamento
901327122b * GNUmakefile: Added Xib.plugin to resources.
* GormInfo.plist: Added xib to the list of files Gorm can load
	* Gorm.m: Change to recieve notifications to add/delete classes.
	* Plugins/GNUmakefile: Added Xib plugin to subprojects list.
	* Plugins/Xib/GNUmakefile
	* Plugins/Xib/GNUmakefile.preamble
	* Plugins/Xib/GormXibCustomResource.h
	* Plugins/Xib/GormXibCustomResource.m
	* Plugins/Xib/GormXibPlugin.m
	* Plugins/Xib/GormXibWrapperLoader.h
	* Plugins/Xib/GormXibWrapperLoader.m: Initial code for XIB plugin.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30482 72102866-910b-0410-8b05-ffd578937521
2010-05-30 06:55:26 +00:00
Gregory John Casamento
2f64f6a5a5 * English.lproj/Gorm.gorm: Remove delegate connection, since it's
manually set in the Gorm NSApplication subclass to self.
	* GormCore/GormDocumentController.[hm]: Added new method 
	buildDocumentType:
	* GormCore/GormDocument.m: Added call to touch in setName: so that
	the document would be set as modified when the user alters
	the name of an object in the document.
	* GormCore/GormDocumentWindow.m: Remove methods preventing
	document window from assuming main/key status.
	* GormCore/GormPalettesManager.m: Remove methods allowing palette
	window to assume main/key status
	* Gorm.m: Added delegate methods to handle opening a document, if
	in a mode which requires a default document to be created.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30417 72102866-910b-0410-8b05-ffd578937521
2010-05-19 00:26:34 +00:00
Gregory John Casamento
2007e57535 Separate the server methods out into a category.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29510 72102866-910b-0410-8b05-ffd578937521
2010-02-08 12:10:38 +00:00
Gregory John Casamento
e296fcf111 * GormCore/GormServer.h: Added deleteClass: method
* Gorm.m: Added implementation for deleteClass:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29509 72102866-910b-0410-8b05-ffd578937521
2010-02-08 11:43:41 +00:00
Gregory John Casamento
b1b23f9a77 * GormCore/GNUmakefile: Added GormServer.h to the headers.
* GormCore/GormCustomClassInspector.m: Change tooltip when
	a new custom class is selected from the list.
	* GormCore/GormPalettesManager.m: Set autoresizing on drag view.
	* GormCore/GormServer.h: Protocol for GormServer.
	* GormCore/GormViewEditor.m: Add the class name to the 
	tooltip.
	* Gorm.m: Vend the object so that other apps can talk 
	to Gorm via DO.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29499 72102866-910b-0410-8b05-ffd578937521
2010-02-07 10:42:42 +00:00
Gregory John Casamento
63a656b958 * Gorm.m
* Plugins/Nib/GNUmakefile: Add new class to makefile.
	* Plugins/Nib/GormNibWrapperLoader.m: Modified to use 
	GormWindowTemplate.
	* Plugins/Nib/GormWindowTemplate.[hm]: Replace flags
	used only at runtime when the template is loaded. This is
	so, for example, the released when closed flag will not cause
	issues when editing the window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29168 72102866-910b-0410-8b05-ffd578937521
2009-12-27 06:16:54 +00:00
Riccardo Mottola
07750a7f5f do not open untitled document on application start
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29090 72102866-910b-0410-8b05-ffd578937521
2009-12-01 22:36:28 +00:00
Gregory John Casamento
4585271703 * English.lproj/Gorm.gorm
* GormCore/GormGenericEditor.h
	* GormCore/GormViewWithContentViewEditor.h
	* GormCore/GormViewWithContentViewEditor.m
	* Gorm.m: Beginning of implementation of groupSelectionInView:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28618 72102866-910b-0410-8b05-ffd578937521
2009-09-07 03:56:08 +00:00
Gregory John Casamento
a7a6b897b0 Correction for bug #24146. Removed unhide:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26831 72102866-910b-0410-8b05-ffd578937521
2008-09-04 12:01:10 +00:00
Gregory John Casamento
027ab2363a * GNUmakefile: Added plugins as resources.
* GormCore/GNUmakefile: Remove classes from file
	* GormCore/GormGModelWrapperLoader.m
	* GormCore/GormGormWrapperBuilder.m
	* GormCore/GormGormWrapperLoader.m
	* GormCore/GormNibWrapperBuilder.m
	* GormCore/GormNibWrapperLoader.m: Removed the loaders from GormCore.
	* GormCore/GormProtocol.h: Added a new method.
	* GormLib/IBPlugin.m: Added implementations to some of the methods.
	* Gorm.m: Added a "pluginManager" method.
	* Palettes/1Windows/GNUmakefile.preamble
	* Palettes/2Controls/GNUmakefile.preamble
	* Palettes/3Containers/GNUmakefile.preamble
	* Palettes/4Data/GNUmakefile.preamble: Corrected issue with all
	of the palette makefiles pointing to the wrong name.
	* Plugins/GModel/GNUmakefile
	* Plugins/GModel/GNUmakefile.preamble
	* Plugins/GModel/GormGModelPlugin.m
	* Plugins/GModel/GormGModelWrapperLoader.h
	* Plugins/GModel/GormGModelWrapperLoader.m
	* Plugins/Gorm/GNUmakefile
	* Plugins/Gorm/GNUmakefile.preamble
	* Plugins/Gorm/GormGormPlugin.m
	* Plugins/Gorm/GormGormWrapperBuilder.m
	* Plugins/Gorm/GormGormWrapperLoader.h
	* Plugins/Gorm/GormGormWrapperLoader.m
	* Plugins/Nib/GNUmakefile
	* Plugins/Nib/GNUmakefile.preamble
	* Plugins/Nib/GormNibPlugin.m
	* Plugins/Nib/GormNibWrapperBuilder.m
	* Plugins/Nib/GormNibWrapperLoader.h
	* Plugins/Nib/GormNibWrapperLoader.m: Added new plugins for each
	supported file type.
	* Resources/Defaults.plist: Added the "BuiltinPlugins" default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26531 72102866-910b-0410-8b05-ffd578937521
2008-05-17 00:43:33 +00:00
Gregory John Casamento
6f7c3ce553 * English.lproj/Gorm.gorm: Added Print menu.
* Gorm.m: Added print: method to print the current keyWindow.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26491 72102866-910b-0410-8b05-ffd578937521
2008-05-06 00:09:10 +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
1e0950854b 2007-07-27 13:30-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Remove commented code.
        * Palettes/0Menus/GormNSMenu.m: Added private category to prevent
        compilation warning.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25361 72102866-910b-0410-8b05-ffd578937521
2007-07-27 17:31:51 +00:00
Gregory John Casamento
bde085c21f 2007-07-26 10:06-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Remove default setting
        * Palettes/0Menus/GNUmakefile: Add GormNSMenuView.m
        * Palettes/0Menus/GormNSMenu.m: Override methods to prevent changing
        style to Mac style for menu being edited.
        * Palettes/0Menus/GormNSMenuView.[mh]: New class overrides methods
        to prevent switching style to Mac style for menu being edited.
        * Palettes/0Menus/palette.table: Added substitution rule for 
        NSMenuView.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25356 72102866-910b-0410-8b05-ffd578937521
2007-07-26 14:09:13 +00:00
Gregory John Casamento
bbc211c363 * Gorm.m: [Gorm init] added code to force menu interface style
to NSNextStepInterfaceStyle.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24275 72102866-910b-0410-8b05-ffd578937521
2006-12-28 04:03:05 +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
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
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
040a0850dc Use the menu items with "terminate:" call deferredEndTesting: instead of terminate. This prevents the test mode from being able to quit the application.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23158 72102866-910b-0410-8b05-ffd578937521
2006-07-12 04:33:25 +00:00
Gregory John Casamento
e3ac238603 Assign testContainer top level objects to topObjects in testInterface method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23135 72102866-910b-0410-8b05-ffd578937521
2006-07-06 00:18:34 +00:00
Gregory John Casamento
fb005e339f Correct problem with testInterface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23134 72102866-910b-0410-8b05-ffd578937521
2006-07-05 23:58:14 +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
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
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
b434b37722 Corrected minor issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22562 72102866-910b-0410-8b05-ffd578937521
2006-02-23 03:53:26 +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
9b6e2984bd New inspector gorm for GormObjectInspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21624 72102866-910b-0410-8b05-ffd578937521
2005-08-08 01:07:35 +00:00
Gregory John Casamento
d0ab85ac95 Corrected crash when changing class hierarchy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21576 72102866-910b-0410-8b05-ffd578937521
2005-07-30 19:53:09 +00:00
Gregory John Casamento
e012b61325 Removed user bundle check. The code will issue a warning in the log if poseAs: is called. Also corrected the implementation of IBObjectAdditions in GormImage and GormSound.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21563 72102866-910b-0410-8b05-ffd578937521
2005-07-28 04:01:24 +00:00
Gregory John Casamento
b1b9a402d5 Correction for bug #13780.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21528 72102866-910b-0410-8b05-ffd578937521
2005-07-24 16:26:46 +00:00
Gregory John Casamento
b3e06f2c19 Reverted back to the change previously used for window inspection in Gorm. It seems as though using sendEvent: was causing too many problems. Overriding orderWindow:relativeTo: is an acceptable fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21527 72102866-910b-0410-8b05-ffd578937521
2005-07-24 15:15:52 +00:00
Gregory John Casamento
a568609f3c 2005-07-23 18:02 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormInspectorsManager.m: Remove extra revert: call.
	* GormLib/IBInspector.m: Touch changes the inspector X to the broken
	X, per specs.
	* Gorm.m:
	* Palettes/0Menus/main.m: Added to authors list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21524 72102866-910b-0410-8b05-ffd578937521
2005-07-24 01:17:16 +00:00
Gregory John Casamento
b3bdb1606c Corrected issue with testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21433 72102866-910b-0410-8b05-ffd578937521
2005-07-08 17:32:06 +00:00
Gregory John Casamento
f9f27fa0ae Correction for crash when connected to NSOwner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21407 72102866-910b-0410-8b05-ffd578937521
2005-07-05 01:17:58 +00:00
Gregory John Casamento
58f3adfdec Added new alignment and layout menus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21405 72102866-910b-0410-8b05-ffd578937521
2005-07-04 21:53:33 +00:00
Gregory John Casamento
b742588aea Implemented view resource delegate functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21402 72102866-910b-0410-8b05-ffd578937521
2005-07-03 16:27:52 +00:00
Gregory John Casamento
f5c1bcf9e0 Updated code in -[Gorm applicationWillTerminate:] to save the state of the inspector/palette when closing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21378 72102866-910b-0410-8b05-ffd578937521
2005-06-30 04:45:40 +00:00
Gregory John Casamento
c1c8b949d8 Added demo opengl view as well as corrected a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21333 72102866-910b-0410-8b05-ffd578937521
2005-06-20 23:44:20 +00:00
Gregory John Casamento
7f8251ed59 Code cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21316 72102866-910b-0410-8b05-ffd578937521
2005-06-17 04:17:39 +00:00
Gregory John Casamento
5a8506b4fb Prevent a call to "stop:" from the test session from killing the app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21314 72102866-910b-0410-8b05-ffd578937521
2005-06-17 03:43:43 +00:00
Gregory John Casamento
3d9eb1203b More translation code to allow for the user to translate from one language to another.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21300 72102866-910b-0410-8b05-ffd578937521
2005-06-11 18:06:43 +00:00
Gregory John Casamento
d6989fa187 Added logic to translate method to assist in user translation from one language to another.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21299 72102866-910b-0410-8b05-ffd578937521
2005-06-11 09:08:47 +00:00