inspector panel frame if inspector taller then previous; set minimum size
accordingly.
* Palettes/2Controls/GormNSMatrixInspector.gorm: made inspector content taller
to look better and as a test case for change in GorInspectorManager.
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.
IBMenuPboardType to work around menus not being draggable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37529 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormMatrixEditor.m
* GormCore/GormClassEditor.m
some int -> NSInteger and float -> CGFloat transitions
spotted by libobjc2 runtime in debug mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36656 72102866-910b-0410-8b05-ffd578937521
when text editing is completed.
Fixes for bug #28643.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36289 72102866-910b-0410-8b05-ffd578937521
the window to see if it is the same as the _initialFirstResponder.
If it is, set it to nil as well in -unsetInitialFirstResponder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36196 72102866-910b-0410-8b05-ffd578937521
alter code so that allViews under the editor are collected
and set to not post notifications. This change prevents
a notification/setFrame cycle which was occurring when
certain controls were added as subviews to NSTabView or
NSBox.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36155 72102866-910b-0410-8b05-ffd578937521
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
change the document to edited when changing resize attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35964 72102866-910b-0410-8b05-ffd578937521
notifications when resizing a view.
* Plugins/Nib/GormNibWrapperLoader.m: Preliminary changes to support
reading nibs as files instead of packages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35882 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
these two keys are never remapped and Alt does not always exist
on european and some US keyboards. This change should address
bug#36096.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35028 72102866-910b-0410-8b05-ffd578937521
change in gui of -[NSColor getRed:green:blue:alpha:] method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34121 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormStandaloneViewEditor.m: Improve support for standalone
views. Correct issue with ungrouping. Correct issues with editing
subviews in a standalone view.
* GormCore/GormViewSizeInspector.m: Remove code which
made standalone views uneditable in the size inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@33058 72102866-910b-0410-8b05-ffd578937521
* English.lproj/Gorm.gorm: Add "Recent Documents" to menu.
* GormCore/GormClassManager.m: Post notifications when files
are created.
* GormInfo.plist: Update my email address and list of authors to
include Wolfgang and Adam.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31082 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
* GormInfo.plist: Update version
* Palettes/2Controls/GormPopUpButtonEditor.m: Override
method to prevent changes to appearance during editing.
* Version: Change to 1.2.13 for SVN version of Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30432 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
superclass of NSOwner... This bug was due to the owner class name
being released and a subsequent set failing on NSOwner in the
parseHeader: method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30300 72102866-910b-0410-8b05-ffd578937521
[GormClassInspector selectClass:] Refresh connections so that
when the class is reparented only those connections which aren't
present anymore get broken.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30299 72102866-910b-0410-8b05-ffd578937521
in the GormClassInspector without it disconnecting all connections
for that class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30293 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormClassManager.m: Remove include for GSCategories.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30276 72102866-910b-0410-8b05-ffd578937521
over the list of methods in a class when adding from a palette.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29599 72102866-910b-0410-8b05-ffd578937521
* 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
* GormCore/GormNSPanel.[hm]
* GormCore/GormNSWindow.[hm]: Move GormNSPanel.[hm] and
GormWindow.[hm] here.
* Palettes/1Windows/GNUmakefile: Remove files from being compiled
* Palettes/1Windows/GormNSPanel.h
* Palettes/1Windows/GormNSPanel.m
* Palettes/1Windows/GormNSWindow.h
* Palettes/1Windows/GormNSWindow.m: Remove these from here
* Palettes/1Windows/GormWindowAttributesInspector.m
* Palettes/1Windows/WindowsPalette.m: Change to include
GormNSPanel/GormNSWindow from the correct area.
This was done to correct compilation on windows since the Nib plugin
needs the GormNSWindow class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29220 72102866-910b-0410-8b05-ffd578937521
problem.
* GormCore/GormViewEditor.m: Added code to show id of the object
as a tooltip
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28825 72102866-910b-0410-8b05-ffd578937521
parent. Corrects issue with connecting to NSBox and
NSProgressIndicator.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28724 72102866-910b-0410-8b05-ffd578937521
This is interfering with theming in gorm since it's not pulling the
right images in this case.
* Plugins/Nib/GormNibCustomResource.[hm]: Handle custom resources
in gorm, currently just images/sounds.
* Plugins/Nib/GormNibWrapperLoader.h: Include nib resource header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28509 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormBoxEditor.m: Cleanup.
* GormCore/GormClassManager.m: Correction for when loading from a
nib and there are no custom classes in the nib file.
* GormCore/GormDocumentWindow.m: Added awakeFromNib to accept
mouse moved events.
* GormCore/GormInternalViewEditor.m: Cleanup.
* GormCore/GormStandaloneViewEditor.[hm]: Addition of new class.
* GormCore/GormViewWithContentViewEditor.[hm]: Removal of
handleMouseOnKnob:ofView:withEvent:,
handleMouseOnView:withEvent: methods
* GormCore/GormViewWithSubviewsEditor.[hm]: Addition of
handleMouseOnKnob:ofView:withEvent:,
handleMouseOnView:withEvent: methods
* Palettes/0Menus/GormNSMenu.m: Cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28444 72102866-910b-0410-8b05-ffd578937521
are not directories.
* Plugins/Gorm/GormGormWrapperLoader.m: Change logic to accommodate
previous generation of .gorm files which were not packages. Also
correct the code so that a return is not made within the NS_DURING
block.
* Plugins/Nib/GormNibWrapperLoader.m: Do not load if the
wrapper is not a directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28101 72102866-910b-0410-8b05-ffd578937521
* Plugins/Nib/GormNibWrapperBuilder.m: Remove code which adds nil
to the map if the object is a GormFirstResponder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27327 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
* GormCore/GormGenericEditor.h
* GormCore/GormGenericEditor.m
* GormCore/GormImageEditor.m
* GormCore/GormObjectEditor.m
* GormCore/GormSoundEditor.m: Observe notification IBWillCloseDocument
and remove the reference to the document when that is recieved to
avoid a crash.
* Resources/ClassInformation.plist: Add outlet for delegate to
NSSplitView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26940 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormPalettesManager.m: Reverted the previous change to the
palettes manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26890 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormCustomView.m: Reverted previous change. Need to
write a GormCustomViewEditor instead to handle this case.
* GormLib/GNUmakefile: Added GNUSTEP_INSTALLATION_DOMAIN
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26833 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
* GormCore/GormInspectorsManager.m: Show the name of the object
which is being edited in the inspector title.
* Palettes/1Windows/GormNSWindowInspector.gorm: Added support for
setting the frame save name.
* Palettes/1Windows/GormWindowAttributesInspector.h: Added ivar
* Palettes/1Windows/GormWindowAttributesInspector.m: Modified ok: and
revert:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26474 72102866-910b-0410-8b05-ffd578937521
* GormCore/GormViewWindow.m: Minor correction to view resizing for
windowless views to show contents properly. Still working on
editor issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@26081 72102866-910b-0410-8b05-ffd578937521
it was causing issues with editing text fields.
* English.lproj/GormScrollViewAttributesInspector.gorm
* GormCore/GormScrollViewAttributesInspector.h
* GormCore/GormScrollViewAttributesInspector.m: Added ruler switches
to inspector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25861 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
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
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
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
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
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