We were looking up the ivar, but then not using the result, so got null
pointer dereferences later.
This should have been caught by normal compiler warnings, but apparently
Gorm turns them off.
Now that @private is enforced by the linker, we can't just bypass it
with categories. Instead, either access public interfaces or use
reflection to look up instance variables.
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
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
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
* 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
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
[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
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
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
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
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
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
* 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
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
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
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
* 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
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
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