Commit graph

102 commits

Author SHA1 Message Date
Gregory John Casamento
3b78ac2018 Fix bug #39072
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37911 72102866-910b-0410-8b05-ffd578937521
2014-05-27 07:17:37 +00:00
Gregory John Casamento
e87fd029b4 int -> NSInteger transition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37359 72102866-910b-0410-8b05-ffd578937521
2013-11-04 15:02:25 +00:00
Gregory John Casamento
d92bf3d1e1 * GormCore/GormDocument.m: Touch document when aligning views in
-alignSelectedObjects:.
	* Palettes/4Data/DataPalette.m: -depositViewResourceFromPasteboard:..
	touch document when adding formatter.
	* Palettes/4Data/GormDateFormatterAttributesInspector.m
	* Palettes/4Data/GormNumberFormatterAttributesInspector.m:
	-ok: touch document when changing formatter.
	Fixes forbug #28643.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36288 72102866-910b-0410-8b05-ffd578937521
2013-03-06 05:07:51 +00:00
David Chisnall
3cd12bee73 Next bit of NSInteger cleanup for -gui.
Fix all of the current warnings in Gorm so that it can be used to test
NSInteger things.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36039 72102866-910b-0410-8b05-ffd578937521
2013-01-30 12:43:27 +00:00
Gregory John Casamento
2e946568b1 * GormCore/GormDocument.m: Corrected issue with adding cells to
object tree so that the can be properly addressed in connections.
	Change to -attachObject:toParent:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36024 72102866-910b-0410-8b05-ffd578937521
2013-01-27 01:43:35 +00:00
Gregory John Casamento
d7a2c8488f * GormCore/GormDocument.m: Apply patch suggested by Sebastian.
This appears to correct an issue seen by Sergey causing an out of
	memory error.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35318 72102866-910b-0410-8b05-ffd578937521
2012-07-26 02:34:50 +00:00
Gregory John Casamento
272e9c73ca Version 1.2.18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35215 72102866-910b-0410-8b05-ffd578937521
2012-06-19 04:47:30 +00:00
Gregory John Casamento
d49d1fd71a * GormCore/GormDocument.m
* GormCore/GormFilePrefsManager.m
	* GormCore/GormStandaloneViewEditor.m
	* GormCore/GormViewWithContentViewEditor.m
	* GormCore/GormWindowTemplate.m
	* Palettes/0Menus/GormMenuEditor.m
	* Palettes/0Menus/MenusPalette.m: Eliminate as many of the remaining
	warnings in the code as possible.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35133 72102866-910b-0410-8b05-ffd578937521
2012-05-02 03:26:17 +00:00
Gregory John Casamento
4671ec0870 * GormCore/GormClassInspector.m
* GormCore/GormClassManager.m
	* GormCore/GormDocument.m
	* GormCore/GormGenericEditor.m
	* GormCore/GormObjectInspector.m
	* GormCore/GormOutlineView.m
	* GormCore/GormPrivate.h
	* GormCore/GormPrivate.m
	* Palettes/0Menus/GormMenuEditor.m
	* Palettes/1Windows/GormDrawerAttributesInspector.m
	* Palettes/3Containers/GormTableColumnAttributesInspector.m
	* Palettes/3Containers/GormTableViewEditor.m
	* Palettes/4Data/DataPalette.m
	* Palettes/4Data/GormNumberFormatterAttributesInspector.m: Change int/unsigned int to NSInteger
	and NSUInteger to address 64-bit issues.  Patch by
	Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
	* Plugins/Gorm/GormGormWrapperLoader.m
	* Plugins/Nib/GormNibWrapperBuilder.m
	* Plugins/Nib/GormNibWrapperLoader.m
	* Plugins/Xib/GormXibWrapperLoader.m: Clean up warnings found by clang.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35091 72102866-910b-0410-8b05-ffd578937521
2012-04-20 06:12:32 +00:00
Wolfgang Lux
00d92dbb9a Correct declaration bug in previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31831 72102866-910b-0410-8b05-ffd578937521
2011-01-04 18:02:39 +00:00
Wolfgang Lux
ae4cfbd955 Allow making connections to individual cells of a matrix in Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31830 72102866-910b-0410-8b05-ffd578937521
2011-01-04 17:05:36 +00:00
Gregory John Casamento
c06e0663ef * English.lproj/GormFontView.gorm: Fix problem with popup showing
as Button.
	* GormCore/GormDocument.m: Add the NSMenu as a top level item only
	if it has filesOwner as it's parent.
	* GormCore/GormPalettesManager.m: remove the restriction for having
	just one instance of NSMenu in the document at the top level.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30547 72102866-910b-0410-8b05-ffd578937521
2010-06-02 21:38:53 +00:00
Gregory John Casamento
87a0e31e32 * GormCore/GormDocument.m: In
[GormDocument loadFileWrapperRepresentation:ofType:] call
	updateChangeCount: to clear changes so that the document
	doesn't show as modified on load.	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30483 72102866-910b-0410-8b05-ffd578937521
2010-05-30 07:00:29 +00:00
Wolfgang Lux
b8cc207f46 Add support for a recent documents menu in gorm documents.
Add a recent documents menu to the file menu and undo and redo
commands to the edit menu in Gorm's palette.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30465 72102866-910b-0410-8b05-ffd578937521
2010-05-28 21:41:25 +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
3846644d89 Correction for bug #28643
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30416 72102866-910b-0410-8b05-ffd578937521
2010-05-18 23:35:30 +00:00
Germán Arias
183b008816 Changes to prevent menus placed off screen on screens with low resolution
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29089 72102866-910b-0410-8b05-ffd578937521
2009-12-01 19:08:28 +00:00
Gregory John Casamento
d495893e23 * GormCore/GormDocument.m: Remove call to deprecated method.
* GormCore/GormInternalViewEditor.m: Minor cleanup
	* GormObjCHeaderParser/OCMethod.m: Minor cleanup
	* Palettes/2Controls/GormNSTextFieldInspector.gorm: Correct issue
	with misspelled outlet name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27841 72102866-910b-0410-8b05-ffd578937521
2009-02-11 06:25:12 +00:00
Gregory John Casamento
c1baf0ea52 * GormCore/GormCustomView.m
* GormCore/GormDocument.m
	* GormCore/GormFilePrefsManager.m
	* GormCore/GormHelpInspector.m
	* GormCore/GormPrivate.h
	* GormCore/GormPrivate.m
	* Palettes/1Windows/GormNSPanel.m
	* Palettes/1Windows/GormNSWindow.m
	* Palettes/1Windows/GormWindowSizeInspector.m
	* Palettes/1Windows/WindowsPalette.m
	* Plugins/Gorm/GormGormWrapperBuilder.m
	* Plugins/Nib/GormNibWrapperBuilder.m
	* Plugins/Nib/GormNibWrapperLoader.h: Use new header files for 
	nib/gorm loading.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27190 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:54:31 +00:00
Gregory John Casamento
248a59ef7c * GormCore/GormDocument.m: Change to apply labels in the document
to cells in a matrix.
	* GormCore/GormFilePrefsManager.m: Update version to 1.2.7
	* GormInfo.plist: Same
	* Version: Same


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27043 72102866-910b-0410-8b05-ffd578937521
2008-11-14 04:31:29 +00:00
Gregory John Casamento
adefb08ae6 Fixing standalone view handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26818 72102866-910b-0410-8b05-ffd578937521
2008-08-24 17:20:16 +00:00
Gregory John Casamento
b908ca07b1 Correction for segfault.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26540 72102866-910b-0410-8b05-ffd578937521
2008-05-18 23:17:31 +00:00
Gregory John Casamento
5ad1715061 Change back to large toolbar on document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26478 72102866-910b-0410-8b05-ffd578937521
2008-04-28 21:33:05 +00:00
Gregory John Casamento
c51b7b4e4b * English.lproj/GormPalettePanel.gorm: Moved palette window to
gorm file.
	* GNUmakefile: Added new gorm here.
	* GormCore/GormDocument.m: Made toolbar items smaller
	* GormCore/GormPalettesManager.[hm]: Added toolbar implementation
	to this class to allow the user to switch palettes using the toolbar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26477 72102866-910b-0410-8b05-ffd578937521
2008-04-27 23:34:38 +00:00
Gregory John Casamento
605ca74210 * GormCore/GormDocument.m: change to log to debug instead.
* GormCore/GormImageEditor.m: properly dealloc the image code.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26468 72102866-910b-0410-8b05-ffd578937521
2008-04-24 05:22:44 +00:00
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