2003-12-23 23:32 Gregory John Casamento * Gorm.m: Update the minor release number. Add call to method which checks if an object is a "top level object" before allowing the user to rename it. * GormClassInspector.m: There was a bug which was preventing users from removing outlets/actions. Also added a call to the method which removes connections when an outlet or action is deleted from the document. * GormClassManager.m: Added code to correct problem removing actions/outlets. The outlets were not being properly deleted from the dictionary. * GormCustomClassInspector.m: The special case for NSSecureTextField, which allows it to replace NSTextField, was not properly replacing the cell with a secure one for archiving. A new method called _replaceCellClassForObject: className: was added to allow the cell to be replace as appropriate for the assigned class. * GormDocument.[hm]: Added code to properly notify the class inspector when something is deleted from the class it's editing. Added implementation for isTopLevelObject. * GormSetNameController.m: Removed RELEASE for outlets. RELEASE and deallocation of the toplevel panel object should release the outlets pointed to by the gorm file. * Testing/GormTest.gorm: Added. * Testing/GormTest.m: Modified to use the .gorm file. 2003-12-23 Adam Fedor * GormLib/GNUmakefile (libGorm_LIBRARIES_DEPEND_UPON): Add FOUNDATION_LIBRARY depend. * GormLib/GNUmakefile.preamble: Idem for libobjc on mingw and cygwin. 2003-11-29 00:28 Gregory John Casamento * GormDocument.m: -detachObject: extra RELEASE was causing a double release when the editor for an object was deallocating itself. This was (intermittently) causing a segfault when deleting an element from the gui. 2003-11-28 18:26 Gregory John Casamento * GormClassManager.[hm]: Slight modification allCustomSubclassesOf: previously there was a special case which added NSPanel for NSWindow. That has been taken out. * GormCustomClassInspector.m: Call method in class manager to get the subclasses. Undoes previous change for Report #6345. See that report on savannah for more information. * Palettes/2Controls/GormNSSliderInspector.gorm: Changed Disabled checkbox to "Enabled" since this is the way it was being treated in the code and this is how it's done across the rest of the app. 2003-11-24 01:37 Gregory John Casamento * Palettes/0Menus/GormMenuEditor.m: Minor change to correct assertion failure. 2003-11-23 23:00 Gregory John Casamento * Version 0.5.0 2003-11-23 15:28 Gregory John Casamento * GormClassManager.[hm]: Added method allSubclassesOf: to get all subclasses whether custom or not. * GormCustomClassInspector.m: Call new method in class manager to get the subclasses. Corrects Report #6345. 2003-11-23 10:08 Gregory John Casamento * Palettes/1Windows/GormNSPanel.m: Added flag to allow resizing of the panel in Gorm. Corrects Report #6344. 2003-11-19 01:00 Gregory John Casamento * GormDocument.m: Removed AUTORELEASE from creation of placeholders for both the image and the sound. This was causing a segfault. 2003-11-15 16:53 Gregory John Casamento * GormViewWithContectViewEditor.m: Added methods _shouldBeVertical and _sortByPosition:isVertical: and enhanced the groupSelectionInSplitView method to allow positional orientation of the splitview. The user should now expect the splitview to be built based on the relative position of the views in the window being edited. This fix addresses Report/Bug #5253. 2003-11-12 00:27 Gregory John Casamento * GormViewEditor.m: Removed extra RELEASE which was causing a segfault. 2003-11-11 17:27 Gregory John Casamento * GormNSSplitViewInspector.[hm]: Added implementation * GormNSSplitViewInspector.gorm: Added interface. * Gorm.m: Updated application:openFile: method. 2003-11-08 17:56 Gregory John Casamento * GormDocument.m: [_identifierString:] corrected issue which was causing a segmentation fault. 2003-11-01 20:35 Gregory John Casamento * GormInspectorsManager.m: -ok: method. Removed check which was preventing connection to NSFirst. 2003-10-28 12:18 Gregory John Casamento * GormBoxEditor.m: Removed commented out code. * GormControlEditor.m: same * GormCustomView.m: same * GormFontViewController.m: same * GormGenericEditor.m: same * GormImageEditor.m: same * GormSoundEditor.m: same * GormInternalViewEditor.m: same * GormObjectEditor.m: same * GormMatrixEditor.m: same * GormSplitViewEditor.m: same * GormViewEditor.m: same * GormViewWithContentViewEditor.m: same * GormViewWithSubviewsEditor.m: same * GormInspectorsManager.m: minor cleanup. * GormDocument.m: [GormDocument _selectClass:] removed extra, uneeded RETAIN. [GormDocument detachObject:] RELEASE the object when after it's detached from the document. [GormDocument _indentifierString:] removed extra RETAIN calls. [GormDocument _replaceObjectsWithTemplates:] removed extra RETAIN. * Documentation/Gorm.texi: Updated some of the documentation to reflect recent changes. More planned documentation additions in the future. 2003-10-25 17:00 Gregory John Casamento * Gorm.m: Added categories for the old templates to allow them to be loaded. The old templates are for backwards compatibility only and will be removed in future versions of both GNUstep and Gorm. 2003-10-19 23:12 Gregory John Casamento * GormOutlineView.m: Corrected issue in addAttributeToClass which was adding to the total line count before validating that the item was added successfully. 2003-10-19 01:00 Gregory John Casamento * Palettes/0Menus/GormMenuInspectors.m: setObject fix for segmentation fault. After menu is deleted, the object is not cleared from the inspector. This fix sets the old object to nil before setting the new one. * Gorm.[hm]: Added constant for new notification. Updated patch level. 2003-10-18 02:22 Gregory John Casamento * ClassInformation.plist: Added information for NSBox. * Gorm.m: Updated patch level. * GormClassManager.m: Added description method to aid in future debugging. * GormDocument.m: Added code to skip a section of the detachObject method if the object being detached doesn't have a name. Added a description method. * GormViewEditor.m: Added _allsubviews and _subviewsForView:withArray: to collect all of the views which need to be detached when a parent view is removed from the GUI. This is used the in implementation of detachSubviews. 2003-10-12 23:25 Gregory John Casamento * GormInspectorsManager.m: Corrected method of disassociating connection after exception. * GormMenuEditor.m: Added _findAll:withArray: and _findAllSubmenus: to recursively collect all objects which should be deleted from the nameTable when the user deletes a menu item. * Palettes/0Menus/GormMenuInspectors.m: Eliminated uneeded variable and corrected method being called to eliminate previous setting of services/window menu. * Palettes/0Menus/GormNSMenu.m: Beginnings of fix to prevent Gorm from loading all menus at once. 2003-10-12 01:49 Gregory John Casamento * GormDocument.m: Added code to help with copy/paste issue. * GormInspectorsManager.m: Added code to do addional checks to ensure that the user cannot make erroneous connections. 2003-10-08 01:03 Gregory John Casamento * GormDocument.m: Added include for GSNibTemplates.h removed some comments and cleaned up the code. In _replaceObjectsWithTemplates: removed which was causing some compiler warnings. Added code to set the defer flag on the template for any template which responds to setDeferFlag:. * Palettes/1Windows/main.m: Added braces. Minor code cleanup. * Palettes/1Windows/GormNSWindowInspector.gorm: Enabled defer flag. 2003-10-08 00:40 Gregory John Casamento * Version 0.4.0 2003-09-28 19:32 Gregory John Casamento * GormDocument.h: Removed some ivars which were not being used. Added declarations for methods setWindowsMenu, setServicesMenu, servicesMenu, windowsMenu. * GormDocument.m: Added implementation of above methods. * Palettes/0Menus/GormMenuInspectors.m: Added implementation of method updateMenuType which sets the menu appropriately so that when the file is unarchived the proper menu setting is reflected. * Palettes/0Menus/GormMenuAttributesInspector.m: Added connection for method updateMenuType. * Resources/Gorm.gorm: Designated services and windows menus for Gorm. 2003-09-27 21:58 Gregory John Casamento * Palettes/0Menus/GNUmakefile: Add .gorm files for new inspectors * Palettes/0Menus/GormMenuEditor.m: Re-added assertion to ensure consistency. Code cleanup: Got rid of some commented out code and some code which was for logging purposes only. * Palettes/0Menus/GormNSMenu.m: Removed some old code which was for debugging. * Palettes/0Menus/GormMenuInspectors.m: Removed hardcoded GUI and replaced it with the loading of the appropriate .gorm files for each inspector. * Palettes/0Menus/GormMenuAttributesInspector.gorm: New gui for menu inspector. Also added the beginnings of the mechanizm by which the services/windows menus will be specified. * Palettes/0Menus/GormMenuItemAttributesInspector.gorm: New gui for menu item inspector. 2003-09-08 Gregory John Casamento * GormClassManager.m: [nonCustomSuperClassOf:] if the class passed in is not custom it will return the immediate superclass of that class. This is to allow the use of the custom class mechanism to select classes which are not custom but are not offered in the palettes (i.e. NSSecureTextField). 2003-09-08 Gregory John Casamento * GormViewWindow.[hm]: Provides a holder for standalone views in Gorm. 2003-09-08 Andy Ruder comitted by Gregory Casamento * GormSetName.gorm: New gorm file for setname panel. * GormSetNameController.[hm]: Controls the actions of the panel * Gorm.m: Modified the portion of code which calls the panel 2003-09-07 Gregory John Casamento * GormInspectorsManager.m: Similar to the previous check. Modified -[ok:] such that if a connection is established and for any reason causes an exception, the connection is removed and an error message is displayed describing what caused the connection to fail. 2003-09-07 Gregory John Casamento * GormInspectorsManager.m: Added check in -[ok:] to determine if selected destination is valid. If it is nil an alert panel is shown. This will help prevent the creation of invalid connections. 2003-09-07 Andrew Ruder comitted by Gregory Casamento * Gorm.m: Added use of new sharedGormFontViewController method when setting up the font panel. * GormBoxEditor.m: Added setFont: and font to allow changing of fonts in the title of an NSBox. * GormFontViewController.[hm]: Added sharedGormFontViewController implementation and refactored selectFont into selectFont and convertFont methods. Also added code to enable/disable encoding of font with default size. * GormViewWithSubviewsEditor.m: Added sharedGormFontViewController and convertFont to properly get the new font setting. * Resources/GormFontView.gorm: Added switch to control if font is encoded with default size. 2003-09-01 Gregory John Casamento * ClassInformation.plist: Added information for NSStepper and NSStepperCell. 2003-09-01 Gregory John Casamento * Version 0.3.1 2003-09-01 Gregory John Casamento * GormViewEditor.m: Added code to allow saving of image as part of the view. This provides a fix for Report #4390 and #4852. 2003-08-30 Gregory John Casamento * GormDocument.m: Added blank implementation of awakeWithContext: since this method is only used to establish connections in a live application. This should not be done when the file is loaded into Gorm itself. 2003-08-30 Gregory John Casamento * GormImageEditor.m: Minor correction to allow compilation with gcc < 3.x. (found my Riccardo Mattola/grey_gandalf) 2003-08-28 Gregory John Casamento * GormDocument.m: Minor correction to allow compilation with gcc < 3.x. 2003-08-28 Gregory John Casamento * GormDocument.m: Cleanup some of the extra logs. * GormClassInspector.m: Add logic to prefent index out of bounds exception. 2003-08-27 Gregory John Casamento * GormDocument.m: Corrected some memory related issues. * GormCustomClassManager.m: Added to log which informs user of a nil object returned from the name map. * Gorm.m: Cleaned up some comments and updated the version of the application. 2003-08-26 Gregory John Casamento * GormDocument.m: Added some debug logs. And in _replaceObjectsWithTemplates: modified the method to use the customClassMap call instead of accessing the map directly. * GormClassManager.m: renameClassNamed: and removeClassNamed: both were failing to delete the custom class associations when a custom class is renamed or removed. Added the code to do this. * GormCustomClassInspector.m: Added check for nil return from the classManager. Code will print a warning to stdout, if this happens. 2003-08-23 Gregory John Casamento * GormDocument.m: Corrected selection problem. Moved code to select item in classes view from GormInspectorManager. * GormInspectorManager.m: Removed the code from here. 2003-08-23 Gregory John Casamento * Palettes/Containers/main.m: added height resize flag to TextView prototype to correct bug #3270 2003-08-23 Gregory John Casamento * GormDocument.[hm]: Made selectClassWithObject public. * GormInspectorManager.m: Added logic to call selectClassWithObject so that when an object is selected, the classes view focuses on it. 2003-08-22 Gregory John Casamento * GormClassManager.m: Removed extraneous release calls. In most cases only initWithCapacity and such were being called to create dictionaries. These are not retained, so they will be garbage collected. * GormDocument.m: Corrected detachObject: method to handle scroll views. The document view was not being deleted from the custom class list, so Gorm was saving a corrupted .gorm file. 2003-08-22 Gregory John Casamento * GormDocument.m: Removed refrences to old template classes. Added code to use new template classes and fixed several bugs. * Gorm.m: Removed old subclasses for deprecated template classes. * GormPrivate.h: Removed subclasses for deprecated template classes. * GormLib/IBConnectors.[hm]: added nibInstantiate method. 2003-08-16 Adam Fedor * GNUmakefile.preamble (ADDITIONAL_GUI_LIBS): Add -lGormLib 2003-08-13 Fabien Vallon * GormNSPopUpButton.goem : Add Visual help 2003-08-10 Gregory John Casamento * GormInternalViewEditor.m: Added initilization for variable r so that it is not used uninitialized if the first event is not NSLeftMouseUp. 2003-08-10 Gregory John Casamento * GormDocuments.m: -[GormDocument pasteType:fromPasteBoard:parent:] Added check to determine if frame is responded to by the object being copied. This was failing on NSMenuItem. 2003-08-09 Gregory John Casamento * GormCustomView.m: Corrected obsolete header reference. * GormInspectorsManager.m: Removed extra establishConnection call which was causing a problem when removing connections from NSOwner. 2003-08-04 Fabien Vallon * Add a good when adding Images 2003-08-04 Fabien Vallon * GormImageEditor.m : Fix dnd (Todo : accept NSTIFFPboardType) (code borrow from Terminal.app by Alexander Malmberg) 2003-08-01 Fabien Vallon * GormDocument.m : Add offset when pasting * Gorm.m : clean up & add some comment * GormPrivate.h : clean up 2003-07-31 Gregory John Casamento * GormDocument.h: Point #include at the new location for private headers. * GModelDecoder.h: Ditto. 2003-07-23 Gregory John Casamento * Version 0.3.0 2003-07-23 Gregory John Casamento * Palettes/0Menu/GormNSMenu.m: Added category to access private member of NSResponder, which is needed by the menu editor. * Palettes/0Menu/GormMenuEditor.m: same as above. 2003-07-20 Gregory John Casamento * GNUmakefile.postamble: Added to help with one-pass compile. * GNUmakefile.preamble: Added ADDITIONAL_LIB_DIR so that Gorm can be compiled in one pass. Corrects bug #3748. 2003-07-20 Gregory John Casamento * GormImageInspector.[hm]: Added. Implements image inspector. * Resources/GormImageInspector.gorm: Added interface file. 2003-07-20 Gregory John Casamento * GormDocument.m: (-[GormDocument saveGormDocument:]) added code to prevent copying of images/sounds if the source path is the same as the destination. This was causing the file to be truncated to zero and caused Gorm to lock. * (-[GormDocument parseHeader:]): removed extra characterset definition/ 2003-07-14 Gregory John Casamento * GormClassManager.[hm]: Added implementation for new methods to add an array of outlets and actions to a class. * GormDocument.[hm]: Added GPL notice to top of file .h file and made changes in the -parseHeader method to properly handle .h files with categories. * GormWindowEditor.m: Removed some very old and commented out code. 2003-06-29 Gregory John Casamento * GormClassManager.m: Added code to send notifications when a class is add/deleted. * GormPrivate.h: Added declarations for new notifications. * Gorm.m: Added actual constants for new notifications. * GormFilesOwner.m: Added code to the inspector to receive the notifications and reload the class list when a class is added/deleted. 2003-06-29 Gregory John Casamento Applied patch submitted by Matt Rice * GormDocument.m: Added code to allow multiple selection of images and sounds when adding them to a .gorm file. Thanks, Matt!! 2003-06-26 Gregory John Casamento * Palettes/2Controls/GormNSColorWellInspector.gorm: Redid the inspector for this.. * Palettes/2Controls/inspectors.m: Implemented GormColorWellInspector to allow the modification of color wells in Gorm. * GormFontViewController.m: Added stubbed versions of the methods mouseDragged and flagsChanged. 2003-06-25 Gregory John Casamento * Palettes/2Controls/GormNSProgressIndicatorInspector.gorm: Added * Palettes/2Controls/inspector.m: Added GormProgressIndicatorInspector class to handle inspection of NSProgressIndicator. * Palettes/2Controls/Makefile: added line to copy the .gorm file. 2003-06-22 Gregory John Casamento * GormDocument.m: parseHeader added logic to prevent the addition of outlets/actions with illegal characters when importing from a header. This also prevents a problem where comments were being imported into the class as outlets. 2003-06-19 Gregory John Casamento * GormDocument.m: Moved declaration of GSNibItem in instantiateClass: to the top of the method so that it will compile on gcc < 3.0. Problem found and patch submitted by Andreas Heppel. Thanks! 2003-06-09 Gregory John Casamento * GNUmakefile: Added mention of GormFontViewController.[hm] to the makefile. * Gorm.m: added header and updated orderFrontFontPanel: to install the view when the font panel is instantiated. * GormScrollViewEditor.m: Minor code cleanup. * GormFontViewController.[hm]: Added. 2003-06-08 Gregory John Casamento * GormScrollViewEditor.m: Added -[destroyAndListSubviews] method to allow views within a NSScrollView to be ungrouped. * GormViewWithContentViewEditor.m: Added GormScrollViewEditor to list of classes to test for so that the ungroup method will proceed. Addresses bug #3536. 2003-06-07 Gregory John Casamento * GormPrivate.h: Added declaration for GormDidModifyClassNotification * Gorm.m: Added definition for GormDidModifyClassNotification. Also corrected an issue which was causing Gorm to crash when testing an interface. * GormClassManager.m: Added code to post the notification when an outlet or an action is added. * GormClassInspector.m: Added code to handleNotification GormDidModifyClassNotification so that the views in the inspector can be properly updated when the class is edited in the class editor. 2003-06-07 Gregory John Casamento * GormClassInspector.m: Added post of notification in appropriate places. Now sends IBInspectorDidModifyObjectNotification when the class is updated from the inspector. * GormDocument.m: Added check in handleNotification to process the new notification sent above. 2003-06-07 Gregory John Casamento * Resources/GormClassInspector.gorm: Moved buttons into tab view. * GormClassInspector.[hm]: Added new methods and ivars for buttons in each tab view. * GormDocument.m: Added code to prevent addition of outlets to FirstResponder. * GormClassManager.m: Removed code which prevented adding actions to firstresponder. MOSX is able to add actions, but not outlets to FirstResponder. Aldo modified call made from parseHeader in the class manager to add all action to FirstResponder when importing the class. 2003-06-06 Gregory John Casamento * Resources/GormClassInspector.gorm: New inspector * GormClassInspector.[hm]: New inspector classes * GormDocument.m: added delegate method to select class in GormClassEditor when selected in the outline/classes view. * GormClassManager.m: Added "touch" to appropriate methods to fix bug which caused document to not refect that it has been edited when a outlet/action is added. 2003-06-01 Gregory John Casamento * Palettes/2Controls/GormNSButtonInspector.gorm: Added key equivalent pulldown * Palettes/2Controls/inspectors.m: Added code to handle new pulldown. 2003-06-01 Gregory John Casamento * GormPreferences.[hm]: Removed. These were superceded by the GormPrefController. 2003-06-01 Gregory John Casamento * GormTabViewInspector.gorm: Added new images to complete the tab style matrix buttons. * Images/tabtop_nib.tiff: New image * Images/tabbot_nib.tiff: New image * GNUmakefile: added images to resources 2003-05-31 Gregory John Casamento * GormScrollViewAttributesInspector.m: Added code to make changes to a scroll view. The inspector is now functional. * GormScrollViewAttributesInspector.gorm: Added connections to window. * Palettes/3Containers/inspectors.m: Commented out dummy inspector for scroll views. 2003-05-29 Gregory John Casamento * Resources/GormScrollViewAttributesInspector.gorm: new * GormScrollViewAttributesInspector.h: new * GormScrollViewAttributesInspector.m: new * Palettes/0Menu/GNUmakefile.preamble: new * Palettes/1Windows/GNUmakefile.preamble: new * Palettes/2Controls/GNUmakefile.preamble: new * Palettes/3Containers/GNUmakefile.preamble: new * Palettes/4Data/GNUmakefile.preamble: new * Gorm.m: Removed some constants and moved them to GormLib. * GormDocument.m: Removed some constants and moved them to GormLib. * Palettes/(all files): Cleaned up includes. Got rid of "../.." style of includes by using GNUmakefile settings. Also corrected the category that some of the classes are implementing to provide inspector names to Gorm. 2003-05-24 Gregory John Casamento * GormDocument.m: Prevent subclassing of FirstResponder. 2003-05-24 Gregory John Casamento * GormInspectorsManager.m: Made changes to revert inspector to "empty" when a document is closed. * GormClassManager.m: Prevent user from adding methods to FirstResponder. FirstResponder now automatically adds all action methods to it's action. * GormDocument.m: Corrected a problem which was allowing the user to instantiate FirstResponder. * Gorm.m: Cleaned up some places where I was using (Gorm *) and should have been using (id). 2003-05-25 Fabien Vallon * Gorm.m : fix typo 2003-05-24 Fabien Vallon * Gorm.m : Add Localization * GormDocument.m : Ditto * GormFilesOwner.m : Ditto * GormInspectorsManager.m : Ditto * GormObjectInspector.m : Ditto * GormPalettesManager.m : Ditto 2003-05-24 Fabien Vallon * Gorm.m : refactored newApplication, newEmpty, newPalettes, newInspector. new method : newGormDocument Add inteligent window placement (cascade) * Gorm.gorm : add tags for newApplication, newEmpty, newPalettes, newInspector 2003-05-22 Gregory John Casamento * GormDocument.m: Made the IB*RemoveConnectorNotification being sent in removeConnector: the document instead of the connector which was removed. This prevents a core dump which was occurring when loading a gorm and removing or renaming outlets/actions. 2003-05-22 Gregory John Casamento * TODO: Updated. * GNUmakefile: Added reference to GormLib as a subproject of Gorm * GModelDecoder.m: Cleaned up some code. and removed reference to IBInspector and IBPalette. * GNUmakefile.preamble: Relaxing the -Werror directive in the makefile. For now. * Gorm.m: Removed code which was moved to GormLib classes. * GormButtonEditor.m: Added #include for InterfaceBuilder. * GormClassEditor.m: Removed Gorm.h header which is no longer pertinent. * GormClassManager.m: Added include to IBEditors.h and * GormCustomClassEditor.[hm]: Removed Gorm.h header reference. * GormDocument.h: Added some headers. * GormDocument.m: General code cleanup. Removed Notifications which will be in GormLib classes. Implemented use of "awakeFromDocument:" a new method defined in GormLib which allows implemention of behavior when a class is loaded by Gorm. (see Apple's interface builder framework) * GormFilesOwner.m: Added NSNibConnector header which was previously provided by Gorm.h. This was the only include needed here. * GormInspectorsManager.m: Same as above. * GormPrivate.h: Added GPL notice and include for InterfaceBuilder.h * GormSoundInspector.h: Corrected description for GormSoundInspector class. * Palettes: Updated all palettes in the palettes directory to include the new headers. * GormLib/GNUmakefile: new file. * GormLib/GNUmakefile.postamble: new file. * GormLib/GNUmakefile.preamble: new file. * GormLib/IBApplicationAdditions.h: new file. * GormLib/IBApplicationAdditions.m: new file. * GormLib/IBConnectors.h: new file. * GormLib/IBConnectors.m: new file. * GormLib/IBDefines.h: new file. * GormLib/IBDocuments.h: new file. * GormLib/IBDocuments.m: new file. * GormLib/IBEditors.h: new file. * GormLib/IBEditors.m: new file. * GormLib/IBInspector.h: new file. * GormLib/IBInspector.m: new file. * GormLib/IBObjectAdditions.h: new file. * GormLib/IBObjectAdditions.m: new file. * GormLib/IBObjectProtocol.h: new file. * GormLib/IBPalette.h: new file. * GormLib/IBPalette.m: new file. * GormLib/IBViewAdditions.h: new file. * GormLib/InterfaceBuilder.h: new file. * GormLib/README: new file. 2003-05-19 Gregory John Casamento Applied patch submitted by Fabien Vallon * Gorm.m: Cleaned up NSRunAlertPanel call. Added methods to allow toggling of guidlines. Changed call from saveDocument to saveGormDocument. * GormDocument.[hm]: changed saveAsDocument to return BOOL. renamed saveDocument to saveGormDocument. * GormPrivate.h: Added menu item to enable/disable guidlines Added notification to indicate when the guideline is being disabled. * GormViewWithContentViewEditor.m: Added code to cause editor to force objects to follow guidelines or not based on a boolean which is set by the menu item. * Gorm.gorm: Added menu item to enable/disable guidelines NOTE: Did some minor cleanup. Thanks Fabien. 2003-05-10 Gregory John Casamento * GormDocument.m: Corrected bug#3663. There was an issue with saving which was causing Gorm to fail if a save was canceled. 2003-05-10 Gregory John Casamento Applied patch submitted by Fabien * GNUmakefile: Added .gorm files and new .h and .m files. * Gorm.m/GormPrivate.h: Removed code to automatically update the preferences values. Removed references to preferencesPanel and added the new GormController class. * GormPreferences.gorm: Updated for new preferences. * GormGeneralPref.gorm: Added. I updated this only slightly to avoid a warning against NSWindow. (GJC) * GormHeadersPref.gorm: Added. * GormGeneralPref.[hm]: Added. * GormHeafersPref.[hm]: Added. 2003-05-10 Gregory John Casamento * GormViewWithContentViewEditor.m: The copyInView method was not adding views to the document. Added a method which adds the view and it's subviews. This fix corrects bug#3490. 2003-05-10 Gregory John Casamento * GNUmakefile.preamble: Added to provide the -Werror parameter to prevent any more warnings in the future. * GModelDecoder.m: Corrected code to eliminate warnings. * Gorm.m: Corrected code to eliminate warnings. * GormControlEditor.m: Corrected code to eliminate warnings. * GormDocument.h: Added some of the methods which were being used from outside of the class, but were never actually declared. * GormDocument.m: Corrected code to eliminate warnings. * GormGenericEditor.m: Corrected code to eliminate warnings. * GormImageEditor.m: Corrected code to eliminate warnings. * GormInternalViewEditor.m: Corrected code to eliminate warnings. * GormObjectEditor.m: Corrected code to eliminate warnings. * GormPrivate.h: Moved declarations of editor class methods around to prevent warnings. * GormSoundEditor.m: Corrected code to eliminate warnings. * GormViewEditor.m: Corrected code to eliminate warnings. * GormViewWithContentViewEditor.m: Corrected code to eliminate warnings. 2003-05-10 Gregory John Casamento * GormDocument.m: Further improved the fix to the problem found yesterday. The custom class code was issuing a RELEASE call to all of the objects in the nameTable. This was not necessary unless the object is a template object and was causing some issues with gorm file corruption. 2003-05-08 Gregory John Casamento * GormDocument.m: Corrected a problem which was causing the NSVisible array in the nameTable to become corrupted when using custom classes. Also added a NSDebugLog call to help find problems in the nameTable. 2003-05-07 Gregory John Casamento Applied patch submitted by Rob Burns * GNUmakefile: Added FileIcon_gmodel.tiff. * GormInfo.plist: Added FileIcon_gmodel.tiff as default icon for gmodel files. 2003-04-30 Adam Fedor * Palettes/*/GNUmakefile: Set *_STANDARD_INSTALL=no to not install the palettes. 2003-04-18 Richard Frith-Macdonald * Gorm.m: Minor updates to compile with latest gui ... use void return for saving documents. * GormDocument.h: ditto * GormDocument.m: as above, plus a few fixes for bugs that have crept in to the toolbar due to gui changes ... tweak layout a little, make the button highlighting correct, and use a button subclass to avoid new matrix behavior of setting the buttons to do the ugly showsFirstResponder stuff. 2003-03-06 Gregory Casamento * GormFilesOwner.m: Corrected minor problem with updating class names for the file's owner inspector. It was not updating the list when reselecting the same object, so new classes were not being displayed. 2003-03-05 Adam Fedor * Version: 0.2.6 2003-03-04 Fabien * Palettes/3Containers/inspectors.m: Update TabView inspector * Palettes/4Data/inspectors.m: Update comboBox inspector. 2003-03-04 Adam Fedor * Gorm.m ([Gorm -infoPanel:sender]): Update application name. * Palettes/0Menus/main.m ([MenusPalette -finishInstantiate]): Use orderFrontStandardInfoPanel for Info menu item. 2003-03-03 Richard Frith-Macdonald * Gorm.h: * Gorm.m: * GormBoxEditor.h: * GormBoxEditor.m: * GormButtonEditor.h: * GormButtonEditor.m: * GormClassEditor.m: * GormClassManager.h: * GormClassManager.m: * GormControlEditor.h: * GormControlEditor.m: * GormCustomClassInspector.h: * GormCustomView.h: * GormCustomView.m: * GormDocument.h: * GormDocument.m: * GormFilesOwner.h: * GormGenericEditor.m: * GormInspectorsManager.h: * GormInternalViewEditor.h: * GormInternalViewEditor.m: * GormMatrixEditor.h: * GormMatrixEditor.m: * GormOutlineView.h: * GormPalettesManager.h: * GormPlacementInfo.h: * GormPosingView.h: * GormPosingView.m: * GormPreferences.h: * GormPreferences.m: * GormPrivate.h: * GormScrollViewEditor.m: * GormSoundInspector.h: * GormSplitViewEditor.h: * GormSplitViewEditor.m: * GormTabViewEditor.h: * GormTabViewEditor.m: * GormViewEditor.h: * GormViewEditor.m: * GormViewWithContentViewEditor.h: * GormViewWithContentViewEditor.m: * GormViewWithSubviewsEditor.h: * GormViewWithSubviewsEditor.m: * GormWindowEditor.m: * Palettes/0Menus/GormNSMenu.h: * Palettes/0Menus/GormNSMenu.m: * Palettes/1Windows/GormNSPanel.h: * Palettes/1Windows/GormNSPanel.m: * Palettes/1Windows/GormNSWindow.h: * Palettes/1Windows/GormNSWindow.m: * Palettes/2Controls/GormPopUpButtonEditor.m: * Palettes/3Containers/GormNSBrowser.h: * Palettes/3Containers/GormNSBrowser.m: * Palettes/3Containers/GormNSOutlineView.h: * Palettes/3Containers/GormNSOutlineView.m: * Palettes/3Containers/GormNSTableView.h: * Palettes/3Containers/GormNSTableView.m: * Palettes/3Containers/GormTableViewEditor.h: * Palettes/3Containers/GormTableViewEditor.m: * Palettes/3Containers/inspectors.m: * Palettes/4Data/inspectors.m: Corrected to avoid use of #import (which has been deprecated for years) and to protect headers using #define instead. 2003-03-02 Richard Frith-Macdonald * GormDocument.m: Give scrollviews bezelled border. 2003-02-13 Richard Frith-Macdonald * GormOutlineView.m: Fix code to update view when outlet/action images are clicked on. 2003-02-10 Richard Frith-Macdonald * GormInspectorsManager.m: in browser delegate re-ordered mechanism for establishing updates to browsers. Fixed and added to the code ensuring that highlighting of browser elements correctly indicates established connections clearly. 2003-02-10 Pierre-Yves Rivaille * GormInspectorsManager.m: _internalCall: only reload the column when needed, this was causing segfaults with the new lockFocus code. 2003-02-02 Gregory John Casamento * Palettes/3Containers/GormTableViewEditor.m: missing "else" was causing an exception to be thrown when attempting to delete a column in NSTableView when nothing is selected. 2003-01-23 Gregory John Casamento * Gorm.m: Some general cleanup. Removed the startuptime message. Indented some code to conform to guidelines. * GModelDecoder.m: Added GormNSPanel to the set of classes translated so that the window inspectors can be used to edit. * Documentation/readme.texi: Updated to show current status. 2003-01-22 Gregory John Casamento * Gorm.m: Removed reference to NSImageDoesCaching. This variable was removed in the gui library and was causing compilation to fail. Also cleaned up main() by getting rid of some old comments. 2003-01-21 Adam Fedor * Version: 0.2.5 2003-01-16 Gregory John Casamento * Gorm.m: awakeFromNib added to set the mainMenu to the new menu defined in the .gorm file. This is to correct a bug when testing the interface. * GormPrivate.h: Added new outlet to hold Gorm menu. * Resources/Gorm.gorm: Added outlet for gormMenu. 2003-01-15 Gregory John Casamento * Gorm.m: [NSWindowTemplate initWithObject:]: corrected a problem which was preventing the stylemask from being saved. * GormDocument.[hm]: Added code to support the deferred flag for windows. setObject:isDeferred: and objectIsDeferred: were added. * Palettes/main.m: Added support for deferred flag. I didn't enable the flag in the gui, since NSBundleAdditions.m needs to be changed to allow this flag to be used. Once that's done, it will be enabled. 2003-01-14 Gregory John Casamento * GormDocument.m: replaceTemplatesWithObjects: when restoring the editing object the template was not being destroyed properly. This is now fixed. 2003-01-14 Gregory John Casamento * GormDocument.m: replaceObjectsWithTemplates: added a call to a new method in the class manager which returns custom classes based on the name assigned to the object. * GormClassManager.m: Added a method to pull the custom class association by name. This corrected an issue with custom classes. 2003-01-13 Gregory John Casamento * GModelDecoder.m: openGModel: added code to import the headers of custom classes read from the .gmodel file. 2003-01-12 Gregory John Casamento * GormDocument.m: -[GormDocument parseHeader:]: Fixed a problem parsing headers with multiple variables in one declarations (e.g. "id x,y,z"). Also added code to recognize actions in the form of "(id) actionName: (id)x". * Documentation/Gorm.texi: Modified docs to show current status of Gorm. 2003-01-09 Gregory John Casamento * GormCustomView.m: Corrected problem with dummy implementation of encodeWithCoder:. (Problem found and patch supplied by Chris Vetter). 2003-01-09 Gregory John Casamento * GormDocument.m: [GormDocument remove:]: added code to check the boolean returned from the removeConnection methods. If the result is NO, dont proceed with the delete. 2003-01-09 Gregory John Casamento * ClassInformation.plist: added missing orderFrontFontPanel: method to FirstResponder. * Gorm.gorm: updated to fix font panel problem. * Gorm.m: Implemented orderFrontFontPanel: 2003-01-08 Gregory John Casamento * Palettes/3Containers/inspector.m: NSTabView was not defining a size inspector. I commented out the method which was returning nothing and now the NSTabView uses the default view size inspector. 2003-01-08 Gregory John Casamento * GormClassManager.m: -[GormClassManager customClassForObject:]: Added code to resolve the object being passed in to the name which is used in the name table. This is for lookup in the custom class map. This corrects a problem which was introduced in the previous fix. * GormInspectorsManager.m: in browser delegate. Removed code which was looking up the name seperately. Now relies on code added above. * GormCustomClassInspector.m: -[GormCustomClassInspector _setCurrentSelectionClassName:]: Removed code which looks up the name. Now uses code in GormClassManager. 2003-01-08 Gregory John Casamento * GormClassManager.m: Added some NSDebugLog statements to assist with debugging. * GormInspectorManager.m: Corrected a problem which was preventing connections being made to actions added to a subclass. 2003-01-05 Gregory John Casamento * Gorm.m: Cleaned up some NSLog statements. -[Gorm testInterface]: Added call to encode GormNSPanel as NSPanel when testing. * GormDocument.m: -[GormDocument saveDocument]: Added code to encode GormNSPanel as NSPanel. -[GormDocument loadDocument]: Added code to decode NSPanel as GormNSPanel so it can be edited. * Palettes/1Windows/GNUmakefile: Added new files GormNSPanel.[hm]. * Palettes/1Windows/GormNSPanel.[hm]: Added. * Palettes/1WIndows/main.m: Modified to use new GormNSPanel class. * Resources/GormPreferences.gorm: Modified to disallow resizing of the panel. 2003-01-04 Gregory John Casamento * Palettes: Replaced all old .gorm/.classes files with .gorm packages. 2003-01-03 Gregory John Casamento * Gorm.m: Eliminated some compilation warnings. * GormDocument.m: Eliminated some compilation warnings. * GormMenuEditor.m: same as above. * GormPopupButtonEditor.m: same as above. * GormTableViewEditor.m: same as above. * GormViewEditor.h: Added category to declare windowAndRect:forObject: to prevent compilation warnings in the editor classes. * GormCustomView.m: Created dummy implementation of encodeWithCoder: to prevent warnings. * Palettes/1Windows/main.m: Added a category to NSPanel to use the window inspector to edit an NSPanel instance. 2003-01-01 Gregory John Casamento * Defaults.plist: Added some new defaults and deleted some obsolete ones. * GNUmakefile: Added new files. * Gorm.m/GormPrivate.h: Added method to create the preferences panel called preferencesPanel: as well as a new ivar. * GormDocument.m: -[GormDocument init]: added code to preload headers into the document based on defaults. Preloading of headers is a feature suggestion from cbv (Chris) on #gnustep. -[GormDocument loadDocument:]: removed references to OpenNibs default which is obsolete. -[GormDocument saveDocument:]: removed references to SaveAsNib default which is obsolete. * TODO: added some more tasks. 2003-01-01 Gregory John Casamento * Gorm.gorm: Added to replace about 200+ lines of code in the Gorm.m file. * Gorm.m: -[Gorm finishLaunching:] removed code which sets up the menu. It has been superceded by the Gorm.gorm file. -[Gorm init] added code to load the .gorm file. -[Gorm validateMenuItem:] modified to turn certain menu items on/off when appropriate. * GormDocument.[hm]: Added MenuValidation category to allow the app to determine which view is being edited (objects, images, sounds, classes). 2003-01-01 Gregory John Casamento * GormClassManager.m: Made a minor correction to the removeAction:forClassNamed: to allow actions to be deleted from custom classes. 2003-01-01 Gregory John Casamento * Gorm.m: Updated version information to 0.2.5 due to all of the recent bug fixes and enhancements. * GormInfo.plist: Same as above. * GormMenuEditor.m: removed an NSAssert which was no longer valid and causing the application to crash. 2002-12-27 Gregory John Casamento * Added TODO file to document interesting feature suggestions and bugs which need to be fixed. 2002-12-27 Gregory John Casamento * Gorm.m: -[GormObjectProxy inspectorClassName]: returns GormNotApplicableInspector, since we shouldn't be able to directly change any of the attributes on a GormObjectProxy. 2002-12-27 Gregory John Casamento * GormDocument.m: -[GormDocument parseHeader:] added code to select the class when it is loaded in the classes view. Also modified the -[GormDocument _selectClass:] method and added a new private method -[GormDocument _selectClassWithObject:] which will select using an object which is passed in. 2002-12-27 Gregory John Casamento * GormDocument.m: -[GormDocument parseHeader:] corrected problem pointed out be Enrico Sersale. Applied patch. Thanks! 2002-12-21 Gregory John Casamento * GormDocument.m: Added code in loadDocument: to create an empty dictionary for custom classes. Corrected problem in createClassFiles: which prevented writing files when the class wasn't being edited. General cleanup. 2002-12-15 Gregory John Casamento * GormClassManager.m: Changed NSLog to NSDebugLog. * GormCustomClassInspector.m: Changed NSLog calls to NSDebugLog. * GormDocument.m: Changed NSLog calls to NSDebugLog where appropriate. * GormOutlineView.m: removed some uneeded NSLog calls. 2002-12-15 Gregory John Casamento * Gorm.m: Minor cleanup. * GormClassManager.[hm]: Added method to get all superclasses of a given class. Moved the "correctClassName" method which maps names of internal classes to thier external exquivalents. * GormCustomClassInspector.m: Made changes to call new class method in GormClassManager. * GormDocument.m: Minor cleanup. Addition of _selectClass method which will cause the classes view to show the class of the instance currently selected in the object view. 2002-12-14 Pierre-Yves Rivaille * GormViewEditor.m * GormInternalViewEditor.m * GormViewWithContentViewEditor.m Multiple selection through mouse dragging is back. When attempting to start a connection, make sure the current widget is selected. 2002-12-06 Gregory John Casamento * GormDocument.m: Added code to scroll to the class name when the subclassing or changing the class name. 2002-12-05 Gregory John Casamento * GormDocument.[mh]: Added method named -[GormDocument renameConnectionsForClassNamed:toName:] to rename the object in the object editor so that the connections stay in sync w/ the new name. * Gorm.m/GormPrivate.h: Added -[GormObjectProxy setClassName:] 2002-12-04 Adam Fedor * Version: 0.2.0 * Gorm.m: Change font panel shortcut to t 2002-12-02 Adam Fedor * GModelDecoder.m ([GormDocument -connectionObjectForObject:]): Return nil if object is nil. 2002-11-29 Gregory John Casamento * NOTE: Added a patch submitted by Fabien Vallon to add tab view inspector. Thanks. * Palettes/3Containers/GormTabViewInspector.gorm: added. * Palettes/3Containers/inspectors.m: Patched. * Palettes/3Containers/GNUmakefile: Patched. 2002-11-24 Gregory John Casamento * NOTE: Added a patch submitted by Fabien Vallon to add functionality to the combo box inspector. Thanks. * Palettes/4Data/GormNSComboBoxInspector.gorm: added. * Palettes/4Data/inspectors.m: Patched. 2002-11-24 Gregory John Casamento * Gorm.m: -[GormObjectProxy classInspectorClassName] added code to return @"GormNotApplicableInspector". 2002-11-24 Gregory John Casamento * GormFilesOwner.m: -[GormFilesOwner classInspectorClassName] implemented to return @"GormNotApplicableInspector". * GormDocument.m: -[GormFirstResponder classInspectorClassName] same as above. 2002-11-23 Gregory John Casamento * Gorm.m: -[GormClassProxy inspectorClassName]: changed to return @"GormNotApplicableInspector" so that when a user creates a new subclass in the class editor an inspector no longer appears which contains "GormClassProxy" which is an internal class. 2002-11-23 Gregory John Casamento * Gorm.m: -[GormClassProxy classInspectorClassName]: changed to return @"GormNotApplicableInspector" so that when a user creates a new subclass in the class editor an inspector no longer appears which contains "GormClassProxy" which is an internal class. 2002-11-23 Gregory John Casamento * Palettes/0Menus/main.m: removed -[NSWindow setLevel:] which sets the menu window being dragged to NSSubmenuLevel. This makes it easier to place the menu item. 2002-11-23 Gregory John Casamento * Palettes/1Windows/main.m: Added code to -[GormPanelMaker initWithCoder:] and -[GormWindowMaker initWithCoder:] to order the window/panel to the front when added. Previously, it was difficult to find the window/panel after adding it. 2002-11-23 Gregory John Casamento * GormDocument.m: Modified removeConnectionsWithLabel:.. to return a boolean to indicate if action/outlet was removed. Also modified the code so that the alert only appears if a connection actually exists. 2002-11-23 Gregory John Casamento * GormDocument.m: -[GormDocument createClassFiles:] fixed problem which was getting the classname from the currently selected row in the classesView. It now calls -[GormOutlineView itemBeingEdited] to get the class being edited. 2002-11-22 Gregory John Casamento * GormDocument.[hm]: added -[GormDocument removeConnectionsWithLabel: (NSString *)name forClassNamed: (NSString *)className isAction: (BOOL)action. This method removes the connections relavent to an action/outlet when it's name is changed. I also modified the delegate to call it and to present the user w/ an alert panel. This is consistent w/ how InterfaceBuilder behaves. 2002-11-20 Adam Fedor * GModelDecoder.m ([GormObjectProxy -initWithModelUnarchiver:]): Retain the className. ([GormDocument -defineClass:inFile:]): New. ([GormDocument -openGModel:]): Define custom classes, setup connection objects appropriatly. * GormClassManager.m (-isKnownClass:): New. * GormFilesOwner.m ([GormFilesOwnerInspector -dealloc]): Don't release superclass ivar window. 2002-11-19 Gregory John Casamento * ClassInformation.plist: Added entry for NSOpenGLView. 2002-11-19 Pierre-Yves Rivaille * GormObjectEditor.m ([GormObjectEditor +setEditor:forDocument:]): replaced self with editor. There was an exception when instancing any class. 2002-11-19 Gregory John Casamento * Gorm.m: Added key equivalents for operations in the Classes menu. 2002-11-18 Pierre-Yves Rivaille * GNUMakefile: added GormViewSizeInspector.m, GormGenericEditor.m and GormImageEditor.m. * GormGenericEditor.m: new abstract superclass of GormObjectEditor, GormImageEditor and GormSoundEditor. * GormImageEditor.m: new class to deal with Images. * GormSoundEditor.m: refactored code with GormGenericEditor, now looks like GormImageEditor.m * GomCustomClassInspector.m: rewrote parts to stop using notification and use changeObject: method instead. * Gorm.m, Gorm.h, GormPrivate.h, GormDocument.h, GormDocument.m: changes to accomodate new Image & Sound code. * GormViewSizeInspector.m: new file. Contains code moved from GormObjectEditor.m. 2002-11-18 Gregory John Casamento * Gorm.m ([Gorm -testInterface:]): Move "isTesting = YES" before the calls to [GormDocument -beginArchiving] and [GormDocument -endArchiving] so that we can testing the state in those methods. * GormClassManager.h: set return type of [GormClassManager -customClassMap] to NSMutableDictionary and set parameter of [GormClassManager -setCustomClassMap:] to NSMutableDictionary. * GormClassManager.m: [GormClassManager -setCustomClassMap:] now simply assigns the class map instead of copying it. * GormCustomClassInspector.m: Copy the name of the class from the cell using [NSString stringWithString:] instead of using the value directly which might cause memory issues. Also changed code to remove the custom class mapping if if the class is mapped back to the parent class name. * GormDocument.m: Set the version of the GormDocument class in the [GormDocument +initialize] method. Removed some commented out code in the [GormDocument -_createSoundPlaceHolder:] method. In [GormDocument -beginArchiving] and [GormDocument -endArchiving] added code to avoid template replacement, if we are in testing mode. This corrected a core dump when testing w/ a .gorm that used custom classes. Moved place where the custom classes are set in [GormDocument -loadDocument] which was causing a core dump. 2002-11-14 Adam Fedor * GormDocument.m ([GormDocument -parseHeader:]): Reload the class view after adding a class (suggestion from Fabien ). 2002-11-13 Adam Fedor * Some preliminary work on loading gmodels (not working yet). * GormDocument.m ([GormDocument -rebuildObjToNameMapping]): New. (loadDocument:): Use it. * GModelDecoder.m: New file for translating gmodel files. (openGModel:): Moved from GormDocument. 2002-11-12 Adam Fedor * ClassInformation.plist (NSDocument): Add _window outlet. * GormClassManager.m (-addClassNamed:withSuperClassNamed:withActions:withOutlets:): Fix typo - add class name not info to customClasses. * GormDocument.m ([GormDocument -parseHeader:]): Add ': back to action name. 2002-11-07 Gregory John Casamento * GormDocument.m: +[GormDocument _replaceObjectsWithTemplates]: needed to retain the template prevent corruption when saving the data. 2002-11-06 Gregory John Casamento * GormObjectEditor.m: +[GormObjectEditor initialize]: Corrected how the map table is created to prevent a crash. 2002-11-06 Gregory John Casamento * GormDocument.m: -[GormDocument createClassesFiles:] added if the simply return when no row is selected. This was causing an exception. 2002-11-06 Gregory John Casamento * GormDocument.m: -[GormDocument remove:] added if the simply return when no row is selected. This was causing an exception. 2002-11-06 Gregory John Casamento * GormSoundEditor.m: Added missing file. 2002-11-05 Gregory John Casamento * GormDocument.m: added -[GormDocument openGModel:] to allow the loading of .gmodel files for conversion into .gorm files. * GormSoundInspector.m: Corrected a problem w/ deleting sounds which was causing a core dump. 2002-11-03 Gregory John Casamento * GormDocument.m: Added methods for class support -[GormDocument openSound:], -[GormDocument _createSoundPlaceHolder:]. Modified -[GormDocument saveDocument], and -[GormDocument loadDocument] to handle copying of sounds into the gorm file package when the .gorm is saved and registering them w/ Gorm when the package is subsequently loaded. * GormPrivate.h: Added class declaration for GormSound, the sound placeholder class. This class contains the minimal information needed to handle sounds in Gorm. * GormSoundInspector.[hm]: The sound inspector. * Resources/GormSoundInspector.gorm: The beginnings of the sound inspector gui. * Resources: Replaced old gorm files w/ packages. 2002-10-31 Gregory John Casamento * GormDocument.m: -[GormDocument saveDocument:] made changes to allow saving of .gorm files as directories. -[GormDocument loadDocument:] made necessary modifications to load .gorm directory contents. Also made certain that old gorm files are loaded properly and converted when saved. * GormClassManager.m: Made modifications to allow NSSecureTextField to substitute for NSTextField and NSPanel to substitute for NSWindow. Also made changes to allow FirstResponder to modified. 2002-10-29 Adam Fedor * GormMatrixEditor.m (-_constrainedFrame:framewithEvent:andKnob:knob): Set height/width to 0 when rows/cols = 1. (-validateFrame:framewithEvent:theEventandPlacementInfo:): Idem. * GormWindowEditor.m: Remove commented out code. 2002-10-29 Pierre-Yves Rivaille * GormDocument.m: change nameTable retaining policy from NSNonRetainedObjectMapKeyCallBacks to NSObjectMapKeyCallBacks. This eliminates segfaults that happened when saving/testing multiple times. Note: this might not be the best solution, but it does work. * GormInspectorsManager.m * GormScrollViewEditor.m * Palettes/3Containers/inspectors.m * Palettes/4Data/inspectors.m Various updates to GormScrollViewEditor and to NSTextView support. (addition of GormTextViewEditor) 2002-10-25 Gregory John Casamento * GormDocument.m: Removed extraneous calls to eliminate entries in the objToName map from the endArchiving method. This has corrected the problem w/ Gorm crashing when reloading a previously saved .gorm file and saving again. 2002-10-25 Adam Fedor * GormDocument.m (-dealloc): Release tempNameTable. Change some NSLogs to NSDebugLogs. 2002-10-23 Adam Fedor * GormDocument.m (-createClassFiles:): Set default save file to className. * Palettes/2Controls/inspectors.m ([GormStepperAttributesInspector -_getValuesFromObject:]): Get increment value. 2002-10-13 Adam Fedor * Version: 0.1.9 snapshot. * Documentation/news.texi: Update. 2002-10-13 Adam Fedor * ClassInformation.plist: Added NSDocumentController and NSDocument methods to FirstResponder (openDocument, revertDocumentToSaved:, saveAllDocuments:, saveDocument:, saveDocumentAs:, saveDocumentTo:). * GormInspectorsManager.m (-setCurrentInspector:): Show empty inspector only when count = 0. If no inspector name is returned by object, show GormNotApplicableInspector. * GormMatrixEditor.m (-mouseDown:): Edit titles of forms, etc on double-click. * Palettes/0Menus/GormMenuEditor.m (-mouseDown:): Move variables to beginning of block for gcc 2.X * Palettes/0Menus/main.m (-finishInstantiate): Change actions to appropriate NSDocument methods. * Palettes/2Controls/inspectors.m ([NSStepper -sizeInspectorClassName]): Remove so normal size inspector is used. * Palettes/4Data/inspectors.m ([GormImageViewAttributesInspector -_setValuesFromControl:]): Show error panel if entered image file is not found (Needs proper image handling). 2002-10-13 Gregory John Casamento * Gorm.m: Implemented methods necessary to read the templates back from the gorm file and transform them back into the appropriate parent class. Also made modifications to the template additions for NSWindowTemplate, and all other templates so that the correct init method is called. * GormClassManager.h: Added more methods to handle custom classes and cleaned up some of the references to "NSObject". These should be "id" instead. * GormClassManager.m: Added implementations of the custom class methods. Removed the old implementation for the "GormClassInspector" from the source. * GormCustomClassInspector.m: Added license comment. Implemented methods necessary to allow the user to select a class from a list of classes presented in the inspector. * GormDocument.h: Added tempNameTable variable to hold the objects while the gorm is being persisted. This allows the templates to be substituted during the archiving process and the real objects to be saved and restored afterwards. Added deferred windows variable. * GormDocument.m: Added -[_replaceObjectsWithTemplates] and -[replaceTemplatesWithObjects] which are called from -[beginArchiving] and -[endArchiving] respectively. These methods substitute the templates into the object graph when the gorm is persisted and restore the original objects so that the gorm can continue to be edited after the save. Also made necessary modifications to -[loadDocument] and -[saveDocument] to save the custom class list. Added methods to allow windows to be deffered [setWindow:isDeffered] and -[isWindowDeferred]. * GormPrivate.h: Declared GormTemplate and added it to the categories for the template classes. Declared Gorm template classes. * GormCustomClassInspector.gorm: Made some small adjustments to the size of the view. 2002-10-08 Gregory John Casamento * Gorm.h : Added missing include. * GormCustomView.h : Added missing include. 2002-10-08 Pierre-Yves Rivaille * Gorm.m: added menu item for "group in scroll view". * GNUmakefile: added GormScrollViewEditor.m * GormScrollViewEditor.m: new file. * GormInternalViewEditor.m: added support for NSScrollView contents editing. * Palettes/3Containers/GormTableViewEditor.m: removed old support for NSScrollView. * GormViewWithContentViewEditor.m: added support for keyboard moving & resizing of elements & support for "group in scroll view". * Palettes/0Menus/GormMenuEditor.m: fixes when adding a menu item into an NSPopupButton. * Palettes/2Controls/GormBoxInspector.gorm: * Palettes/1Windows/GormWindowInspector.gorm: * Palettes/1Windows/GormWindowSizeInspector.gorm: updated for better visual aspect. * GormButtonEditor.m: fixed inline title editing. * GormDocument.m: do not save the last directory if the save/openpanel do not return NSOKButton. 2002-10-04 Gregory John Casamento * GormInternalViewEditor.m: (dragExited:) move variable up for compiling on gcc < 3. Problem found and patch submitted by Fabien Vallon. 2002-09-21 Pierre-Yves Rivaille * GormTableViewEditor.m: removed (was moved in Palettes/3Containers some time ago). * Palettes/3Containers/GormTableViewEditor.m: updated drag'n'drop support 2002-09-21 Pierre-Yves Rivaille * Gorm.m: fix segfault when leaving test mode. Save whether palettes and inspectors are opened upon exiting. Open them on startup if necessary. * GormDocument.m: fixes bad reactivating of editors. * GormBoxEditor.m: commented unused drag'n'drop code. * GormCustomView.m: added GormTestCustomView class to deal with unknown class name without raising an exception. * GormInspectorsManager.m: fix to deal with new NSBrowser behaviour. * GormObjectEditor.m: ([GormObjectEditor -rectForObject:]): Corrected returned rect. * GormInternalViewEditor.m: * GormViewEditor.m: updated drag'n'drop support. * GormWindowEditor.m: commented unused code. * GormButtonEditor.m: inline editing of button's title. * GormViewWithContentViewEditor.m: removed unused clas declaration. * Palettes/0Menus/GormMenuEditor.m * Palettes/0Menus/GormMenuInspectors.m * Palettes/0Menus/GormNSMenu.h * Palettes/0Menus/GormNSMenu.m * Palettes/0Menus/main.m Updated menu editing to support NSPopUpButton. Basic tag editing added. * Palettes/2Controls/GormPopUpButtonEditor.m * Palettes/2Controls/GNUmakefile * Palettes/2Controls/inspectors.m * Palettes/2Controls/main.m * GormDocument.m * Gorm.m Added support for NSPopUpButton. * Palettes/3Containers/GormTableViewEditor.m Updated drag'n'drop for object connectiion. * Palettes/4Data/main.m updated NSTextView initialization so that it resizes properly. 2002-09-11 Gregory John Casamento * GormOutlineView.m: Corrected minor compilation problem due to header correction done in gui lib. NSImage is now directly included. 2002-09-09 Adam Fedor * GormClassManager.m (-allActionsForObject:): Print class in error message. (-allOutletsForObject:): Idem.. (-classInfoForObject:): Idem. * GormControlEditor.m (-_displayFrameWithHint:framewithPlacementInfo:): Move variable up for compiling on gcc < 3. 2002-08-20 Gregory John Casamento * GormDocument.m: -[GormDocument setSelectionFromEditor:] added conditional to test if a given editor responds to the method window prior to calling makeFirstResponder. This was causing a problem when adding new classes. 2002-08-17 Gregory John Casamento * Palettes/3Containers/main.m: The scroll view for the table view and outline view were not being added to the window prior to the setDocumentView call. This was causing an assertion in NSView to fail. 2002-08-14 Pierre-Yves Rivaille * GormSplitViewEditor.m: removed an extra ; that was breaking gcc 2.*. * GormBoxEditor.m: removed NSLogs. * GormViewEditor.m: neater display of intelligent placement hints. * GormControlEditor.m: intelligent placement take minsize into account. * GormViewWithContentEditor.m: fixed display problem when moving selection. * GormNSTableView.m [GormNSTableView -setGormDelegate]: changed return type from id to void (this was conflicting with GormNSTableView.h). 2002-08-14 Pierre-Yves Rivaille * Major changes in editing widgets. * Basic support for NSSplitView and NSTabView. * Intelligent placement and resizing of widget. * Dropping widget into not yet opened box/tabview. * grouping into splitviews/boxes and ungrouping. * direct editing of NSButton's and NSBox's title. * Many small fixes. 2002-07-22 Gregory John Casamento * Resources/GormCustomClassInspector.[gorm,classes]: Added. * GormCustomClassInspector.[hm]: Added. Custom class support is not fully functional. I am currently working on it, but I thought it would be useful to commit the code sooner rather than later. * Gorm.m: Made some fixes to prevent core dump. * GormClassManager.m: Removed some debugging NSLog calls and added logic to prevent the addition of duplication outlets/actions to a class. * GormDocument.m: Finished up the delete functionality. Added code to show an alert panel when the user tries to add a duplicate outlet/ action to the class. * GormOutlineView.m: Added method to allow deletion of a given row directly from the outline view. * GormInspectorsManager.m: Modified to pop up button to show custom class inspector as an option. * GormObjectEditor.m: returns custom class inspector when class1InspectorClassName is called. * IBInspector.m: Removed some code which was causing core dump. 2002-07-21 Gregory John Casamento * GormClassManager.[hm]: Added some methods to support custom classes: - (NSArray*) customSubClassesOf: (NSString *)superclass; - (NSArray*) allCustomSubclassesOf: (NSString *)superclass; and also made some corrections in the replaceOutlet to correct a problem with editing in the classes view. 2002-07-16 Gregory John Casamento * GormObjectInspector.m: Removed extra RELEASE at line 93 which was causing core dump. * GormTableViewEditor.m: Removed [document detachObject: selected] since this was deleting the reference in the map to the table when a column was deleted making connections impossible. 2002-07-14 Gregory John Casamento * GormClassManager.[hm]: Added methods to support deletion of classes, outlets, and actions. * GormDocument.m: Made various bug fixes. Added methods to support deletion. * Gorm.m: Added menu item fro "Remove..." 2002-07-14 Gregory John Casamento * GormClassManager.[hm]: Added new methods: - (NSString *) addNewActionToClassNamed: (NSString *)name; - (NSString *) addNewOutletToClassNamed: (NSString *)name; - (BOOL) loadCustomClasses: (NSString*)path; - (BOOL) isCustomClass: (NSString *)className; - (BOOL) isAction: (NSString *)actionName ofClass: (NSString *)className; - (BOOL) isOutlet: (NSString *) outletName ofClass: (NSString *)className; Changed the format of the ".classes" file to store only the custom classes. This is more efficient since the full class list is already loaded when the GormClassManager is initialized. The custom class list is merged with this to create the display shown in the classes view. * GormDocument.m: modified to utilize the above routines in the method which loads the .gorm file and the data source. * GormOutlineView.m: Added new methods to add new actions/outlets with generic names so that the user can edit the actions/outlets once added. 2002-07-13 Gregory John Casamento * Gorm.m: Corrected typo in method name. Added check to prevent addition of blank action, outlet or class name. * GormClassManager.m: started on modifications for custom classes. 2002-07-12 Gregory John Casamento * Gorm.m: [-removeAttributeFromClass] added method to be used by new menu item "Delete Outlet/Action". Removed some NSLog statements. * GormClassManager.[hm]: Added methods to support adding and replacing actions and outlets. * GormDocument.m: Modified data source methods to use the methods added to the class manager to edit the contents of the class list. * GormOutlineView.[hm]: Added methods to add actions and outlets to the data source from the outline view. Also changed the drawing code so that the outlet/action being edited doesn't shift when clicked. 2002-07-11 Gregory John Casamento * GormClassManager.m: Added stubs for two new method to add actions and outlets based on classname. * GormDocument.m: Added logic set the name in the data source methods. * GormOutlineView.m: Override [-editColumn:row:withEvent:select:] to draw correcty for the outlet/actions. * GormOutlineView.h: Move GormOutletActionHolder to header so it can be used by the data source. 2002-07-09 Gregory John Casamento * Gorm.m: Added new menu item and method to add outlet/action -[Gorm addAttributeToClass:] * GormDocument.m: Added new method which gets called by the one in Gorm.m and passes control to the classesView. * GormOutlineView.m added -[GormOutlineView addAttributeToClass] to add either an outlet or an action depending on what type is currently open. Currently it only adds the name and doesn't modify the datasource. The next version will. 2002-07-08 Gregory John Casamento * GormOutlineView.m -[drawRow:] Added logic to draw inverse image of the outlet or action button to visually indicate which is being edited in the outline view. * GormOutlineView.h: Added typedef to indicate whether actions or outlets are being edited. * Images/GormActionSelected.tiff: Added * Images/GormOutletSelected.tiff: Added * GNUmakefile: Modified to copy images to the resources directory. 2002-07-08 Gregory John Casamento * GormOutlineView.[hm] : Added. This is a NSOutlineView subclass handles outlets and actions for the class view. As of this revision, you can view the actions and outlets of a class, but you can't edit them. * GormDocument.m: Modified to use new class. * GormInspectorsManager.m: Removed some code which was causing the application to dump core on exit. 2002-05-04 Gregory John Casamento * GormClassEditor.m: Added blank implementation of [GormClassEditor -makeSelectionVisible:(BOOL)] method. When creating a new class and editing it, the application was throwing an exception due to the abcense of this method. It now seems to function correctly. 2002-04-08 Gregory John Casamento * Palettes/0Menus/GormNSMenu.m [GormNSMenu -_createWindow]: removed NSLog statement before NSPanel *win declaration which was causing Gorm not to build on compilers gcc < 3.0. 2002-07-01 Pierre-Yves Rivaille * ClassInformation.plist: new outlet for NSWindowController * Gorm.m * GormWindowEditor.m * GormTableViewEditor.m * GormObjectEditor.m Bugfixes for proper drawing/updating of selection. * GormDocument.m Only the toplevel menu goes into the objectview panel. The last directory used for opening is now saved and proposed as the default for next time. * GormObjectEditor.m * Resources/GormViewSizeInspector.gorm * Resources/GormViewSizeInspector.classes The size inspector is now loaded from a gorm file. * GormDocument.m * Palettes/0Menus/GormNSMenu.m * Palettes/0Menus/GormNSMenu.h * Palettes/0Menus/main.m * Palettes/0Menus/GormMenuEditor.m * Palettes/0Menus/GNUmakefile GormNSMenu replaces NSMenu when editing interface. * GormInspectorsManager.m: fix selected item in popupbutton when using keyEquivalent (patch from Fabien Vallon). 2002-04-01 Pierre-Yves * GormTableViewEditor.m ([GormTableViewEditor -activate]): Bugfix for gcc 2.??. 2002-03-31 Pierre-Yves Rivaille * GormWindowEditor.m When resizing matrix, use integer values for setCellSize. When dropping an object from the palettes, use integer coordinates for its frame. * GNUMakefile * GormObjectEditor.m * Resources/GormViewSizeInspector.gorm * Resources/GormViewSizeInspector.classes Moved GormViewSizeInspector to gorm. * ClassInformation.plist: NSOutlineView declaration. * GormDocument.m ([GormDocument -{load, save}Document]): * GormTableViewEditor.m ([-outlineViewSelectionDidChange:]) * Palettes/3Containers/GNUMakefile * Palettes/3Containers/main.m * Palettes/3Containers/GormNSOutlineView.m * Palettes/3Containers/GormNSOutlineView.h * Palettes/3Containers/inspectors.m GormNSOutlineView replaces NSOutlineView when editing interface. GormNSOutlineView features a dummy dataSource during editing and testing. * Palettes/2Controls/main.m * Palettes/2Controls/GormBoxInspector.gorm * Palettes/2Controls/GormButtonInspector.gorm * Palettes/2Controls/GormFormInspector.gorm * Palettes/2Controls/GormSliderInspector.gorm * Palettes/2Controls/GormTextFieldInspector.gorm Cosmetic changes. 2002-03-29 Pierre-Yves Rivaille * GormDocument.m ([GormDocument -windowAndRect:forObject:]): support for NSTableColumn objects. * GormDocument.m ([GormDocument -attachObject:toParent]): when attaching a NSTableView, attach its tableColumns too. * GormWindowEditor.m ([GormWindowEditor mouseDown:]) opens GormTableViewEditor when needed. * GormWindowEditor.m bestKnownSuperview() does now take a second argument which is a point (it was needed for NSTableColumn support). * GormTableViewEditor.m new files. * GNUMakefile : add GormTableViewEditor.m * GormPrivate.h interface for GormTableViewEditor * ClassInformation.plist new version provided by Jeff Teunissen. * Palettes/3Containers/GNUMakefile * Palettes/3Containers/inspectors * Palettes/3Containers/GormTableColumnInspector.classes * Palettes/3Containers/GormTableColumnInspector.gorm * Palettes/3Containers/GormTableColumnSizeInspector.classes * Palettes/3Containers/GormTableColumnSizeInspector.gorm support for NSTableColumn inspector * Palettes/3Containers/GormNSTableView.m * Palettes/3Containers/GormNSTableView.h various update of GormNSTableView. 2002-03-26 Pierre-Yves Rivaille * GormDocument.m ([GormDocument -init]): Call setWidth instead of setMinWidth for non-resizable column. Call sizeToFit on classesView. * GormDocument.m ([GormDocument -{load, save}Document]): Add support for GormNSTableView. * Palettes/3Containers/GNUMakefile * Palettes/3Containers/main.m * Palettes/3Containers/GormNSTableView.m * Palettes/3Containers/GormNSTableView.h * Palettes/3Containers/inspectors.m GormNSTableView replaces NSTableView when editing interface. GormNSTableView features a dummy dataSource during editing and testing. 2002-03-24 Gregory John Casamento * GormDocument.m: Minor cleanup of debug statements. 2002-03-24 Gregory John Casamento * GormDocument.m: Made necessary modifications to change the classesView from an NSTableView to an NSOutlineView. * GormClassManager.m: Added method to return all subclasses for a given superclass. * GormClassManager.h: Added declaration for the method described above. 2002-03-08 Richard Frith-Macdonald * IBInspector.m: Don't release window on dealloc ... assume it * releases itsself when closed. * IBPalette.m: ditto 2002-03-06 Richard Frith-Macdonald * IBInspector.m: Release all ivars on dealloc. * IBPalette.m: ditto * Palettes/0Menus/GormMenuInspectors.m: Don't release superclass ivars in own dealloc method. * Palettes/1Windows/main.m: ditto * Palettes/2Controls/inspectors.m: ditto * Palettes/3Containers/inspectors.m: ditto * Palettes/3Containers/main.m: ditto * Palettes/4Data/inspectors.m: ditto Changes to make retain/release consistent ... subclasses must not release the ivars of a superclass in their dealloc method as the superclass dealloc method should do that. Fixes bug exposed by recent NSWindow dealloc fixes. 2002-03-04 Pierre-Yves Rivaille * Gorm.m ([GormObjectProxy -initWithCoder:]): typo fixing. 2002-03-04 Pierre-Yves Rivaille * Gorm.m ([GormObjectProxy -initWithCoder:]): updated to conform with GSNibItem new encoding scheme. 2002-03-01 Pierre-Yves Rivaille * GormCustomView.m ([GormCustomView -classForCoder]): new method. Easy way to make sure GormCustomView is always encoded as a GSCustomView. * GormCustomView.m ([GormCustomView -initWithCoder:]): ([GormCustomView -encodeWithCoder:]): new encoding (works with the new GSCustomView encoding), ability to open old documents. * GormDocument.m: ([GormDocument -pasteType:fromPasteboard:parent:]): decode GSCustomView as GormCustomView. 2002-02-18 Pierre-Yves Rivaille * Palettes/3Containers/GNUmakefile * Palettes/3Containers/main.m * Palettes/3Containers/GormNSBrowser.m * Palettes/3Containers/GormNSBrowser.h * Gorm.m * GormDocument.m Subclass of NSBrowser and NSTableView to be able to set the delegate for runtime only (there is a dummy delegate for edit-time and test-time). Those classes are encoded as NSBrowser/NSTableView and NSTableView/NSBrowser are decoded as GormNSBrowser/GormNSTableView * Palettes/1Windows/GNUmakefile * Palettes/1Windows/GormNSWindow.h * Palettes/1Windows/GormNSWindow.m * Palettes/1Windows/main.m * GormDocument.m * Gorm.m Subclass of NSWindow to be able to choose the stylemask and to still be able to resize/close/minimize the window in the editor regardless of the stylemask. This class is encoded as NSWindow and NSWindow is decoded as GormNSWindow. * GormDocument.m ([-attachObect:toParent]): NSTableView & NSTextView objects contained in NSScrollView are now added. Connections to and from those objects are now available. * GormWindowEditor.m: new bestKnownSuperview function (original patch from Stefan Urbanek modified to let the user select the NSScrollView or the NSTextView/ NSTableView contained within the NSScrollView). * Palettes/3Containers/inspectors.m * Palettes/3Containers/GormBrowserInspector.gorm * Palettes/3Containers/GormTableViewInspector.gorm NSTableView and NSBrowser inspectors updated (new tag field) (patch from Stefan Urbanek ) 2002-01-30 Adam Fedor * Version: 0.1.0 * Documentation/news.texi: Update. 2002-01-29 Adam Fedor * GormClassManager.m (-allActionsForObject:): Get actions for first responder as well. * ClassInformation.plist: Update (from stefanurbanek@yahoo.fr). Add FirstResponder actions. * Documentation/news.texi: update 2002-01-13 Adam Fedor * GormDocument.m ([GormDocument -init]): Autorelease objectsView. * GormWindowEditor.m ([GormWindowEditor -mouseDown:]): Set the arrowCursor for dragging, etc. push back the mouseUp event to make cursor tracking work correctly. 2001-12-18 Gregory John Casamento * Gorm.m: loadClass method added to call the method in GormDocument * GormDocument.m: loadClass method and parseClass method added to parse the contents of a .[hH] file to produce an entry in the classes list. * GormClassManager.[hm]: addClassNamed:... method added. 2001-12-04 Laurent Julliard * Palettes/4Data/main.m: Date and Number Formatters added * Palettes/4Data/inspectors.m: Date and Number Formatters added * Palettes/4Data/GNUmakefile: Date and Number Formatters added * GormWindowEditor.m: drag and drop logic for formatters * IBPAlette.m: drag and drop logic for formatters * GormPrivate.h: NSDateFormatter and NSNumberFormatter additions * GormPalettesManager.m: drag and drop logic for formatters * GormInspectorsManager.m: new (optional) popup button item for formatters * Gorm.h: new drag and drop type for formatters * Palettes/4Data/GormDateFormatterInspector.gorm: New Date Formatter Inspector * Palettes/4Data/GormDateFormatterInspector.gorm: New Number Formatter Inspector 2001-11-20 Laurent Julliard * GNUMakefile: data palette and new icons added * GormInspectorManager.m (-setCurrentInspector): Controls embedded in NSScrollView must be handled differently * GormWindowEditor.m (-mouseDown) : some debugging code added * Palettes/2Controls/GormBoxInspector.gorm: alignment tuning * Palettes/3Containers/GormBrowserInspector.gorm : New NSBrowser inspector * Palettes/3Containers/GormTableViewInspector.gorm: New NSTableView inspector * Palettes/4Data/main.m: new Data Palette * Palettes/4Data/inspectors.m: new Data Palette * Palettes/4Data/GormComboBoxInspector.gorm: new NSComboBox inspector (incomplete) * Palettes/4Data/GormImageViewInspector.gorm: new NSImageView inspector * Palettes/4Data/GormTextViewInspector.gorm: new NSTextView inspector * Images/Sunday_seurat.tiff: new inspector icon * Images/button_nib.tiff: new inspector icon * Images/date_formatter.tiff: new inspector icon * Images/iconBottomLeft_nib.tiff: new inspector icon * Images/iconBottomRight_nib.tiff: new inspector icon * Images/iconBottom_nib.tiff: new inspector icon * Images/iconCenterLeft_nib.tiff: new inspector icon * Images/iconCenterRight_nib.tiff: new inspector icon * Images/iconCenter_nib.tiff: new inspector icon * Images/iconTopLeft_nib.tiff: new inspector icon * Images/iconTopRight_nib.tiff: new inspector icon * Images/iconTop_nib.tiff: new inspector icon * Images/number_formatter.tiff: new inspector icon * Images/photoframe_nib.tiff: new inspector icon 2001-11-03 Richard Frith-Macdonald * GormDocument.m: Removed extra RELEASEes (reported by Ludovic Marcotte) and simplified document close code ... fixed bug which was leaving application menus in existence after clsoe. 2001-11-01 Adam Fedor * GormDocument.m ([GormDocument -openDocument:]): Open file from current dir. * Palettes/1Windows/main.m: Set action/target to ok: in NSForms in GormWindowInspector and GormWindowSizeInspector. Remove all TextDidEndEditing Notifications. * Palettes/2Controls/inspectors.m: Likewise for all control inspectors. Also make sure all setStringValue: messages get sent a non-nil string. 2001-10-30 Richard Frith-Macdonald * GormWindowEditor.m: Fixed various drawing glitches when managing resizes (of matrix views in particular). By no means perfect, but a big improvement in appearance. 2001-10-29 Pierre-Yves Rivaille * GormDocument.m ([GormDocument -init]): set the NSTableView's properties so that it benefits from [NSTableView -sizeToFit] 2001-10-29 Richard Frith-Macdonald * GormClassManager.m: Tidy action names in browser etc. * GormWindowEditor.m: Tidy size of matrix at end of resize. 2001-10-28 Pierre-Yves Rivaille * Palettes/2Controls/main.m ([ControlsPalette -finishInstantiate]): update NSStepper in the controls' palette (it has a new default size) 2001-10-26 Richard Frith-Macdonald * GormClassManager.m: Force class, action, and outlet names to be legal identifiers ... ie consist of alhpanumeric and underscore characters with a non-numeric initial character. A roundabout/fundamental fix for a problem generating output files reported by Ludovic Marcotte 2001-10-27 Laurent Julliard * ClassInformation.plist: IBInspector actions/outlets closer to OS 4.2 * Palettes/1Windows/GormMatrixInspector.gorm: new layout and new fields * Palettes/1Windows/GormWindowInspector.gorm: new layout and new fields * Palettes/1Windows/main.m: code for new Window inspector * Palettes/2Controls/GormSliderInspector.gorm: new layout and new fields * Palettes/2Controls/GormTextFieldInspector.gorm: uses icons, new layout, ok button removed * Palettes/2Controls/GormButtonInspector.gorm: uses icons, ok button removed * Palettes/2Controls/GormBoxInspector.gorm: uses icons and sliders * Palettes/2Controls/GormFormInspector.gorm: ok button removed, uses icons. * Palettes/2Controls/GormPopUpButtonInspector.gorm: ok button removed * Palettes/2Controls/GormCellInspector.gorm: ok button removed * Palettes/2Controls/GormBoxInspector.gorm: ok button removed, sliders added * Palettes/2Controls/inspectors.m: code for new/updated inspectors * Images/centeralign_nib.tiff: new inspector icon * Images/justifyalign_nib.tiff: new inspector icon * Images/leftalign_nib.tiff: new inspector icon * Images/naturalalign_nib.tiff: new inspector icon * Images/rightalign_nib.tiff: new inspector icon * Images/iconLeft_nib.tiff: new inspector icon * Images/iconOnly_nib.tiff: new inspector icon * Images/iconRight_nib.tiff: new inspector icon * Images/iconAbove_nib.tiff: new inspector icon * Images/iconBelow_nib.tiff: new inspector icon * Images/titleOnly_nib.tiff: new inspector icon * Images/line_nib.tiff: new inspector icon * Images/bezel_nib.tiff: new inspector icon * Images/noBorder_nib.tiff: new inspector icon * Images/ridge_nib.tiff: new inspector icon 2001-10-23 Pierre-Yves Rivaille * GormObjectEditor.m: Updated [GormObjectEditor refreshCells] so that setTitle is not called with nil anymore (but with @""). See change in gnustep/core/gui/Changelog 2001-10-17 Laurent Julliard * Palettes/2Controls/GormFormInspector.gorm: New Form inspector. * Palettes/2Controls/GormFormInspector.classes: likewise. * Palettes/2Controls/GormPopUpButtonInspector.gorm: New PopUp Button inspector * Palettes/2Controls/GormPopUpButtonInspector.classes: likewise * Palettes/2Controls/GormCellInspector.gorm: New Cell Inspector * Palettes/2Controls/GormCellInspector.classes: likewise * Palettes/2Controls/inspectors.m: new logic for the new inspectors * Palettes/2Controls/GNUmakefile: new inspectors in resources 2001-10-16 Adam Fedor * GormPalettesManager.m ([GormPalettesManager -setCurrentPalette:]): Check for wv before getting frame (Solaris fix). 2001-10-14 Adam Fedor * ClassInformation.plist: Add IBInspector 2001-10-05 Adam Fedor * GormDocument.m (-loadDocument:): Typo fix - don't include GormCustomView in object proxies list (fix suggested by fvallon@fr.alcove.com). 2001-10-04 Adam Fedor * GormClassManager.m (-renameClass:): Change sender method to work with fixed popupButtons. * GormWindowEditor.m (-_validateFrame:forViewPtr:withEvent:update:update): Don't compute new intercell spacing when only onw row or col. 2001-10-03 Adam Fedor * Add support for custom views * GormClassManager.m (-allActionsForObject:): Add support for GormCustomView (-allOutletsForObject:): Likewise. (-classInfoForObject:): Likewise. * GormDocument.m (-loadDocument:): Decode GSCustomView as GormCustomView. (-saveDocument:): likewise for encoding. * GormCustomView.m: New class. * Palettes/2Controls/main.m: Add customview item. 2001-10-02 Adam Fedor * Palettes/2Controls/inspectors.m: Fix NSButton and popup button logic. * Palettes/2Controls/GormButtonInspector.gorm: Update for new popup coding in gui library. 2001-09-27 Adam Fedor * GormInspectorsManager.m (-setCurrentInspector:): Gracefully handle an inspector creation error. * GormWindowEditor.m (-editTextField:withEvent:): TextField value editor method. * Palettes/2Controls/inspectors.m: New NSBox, NSButtonCell, NSMatrix, and NSTextField inspectors. 2001-09-17 Adam Fedor * GormWindowEditor.m (-_validateFrame:forViewPtr:withEvent:update:update): Allow resize if frame is already too small. * Palettes/2Controls/inspectors.m: Implement button type popup for button inspector. 2001-09-16 Adam Fedor * Fixes to handle matrixes better. Editable matrix cells. Improved editors for window size and buttons. * GormObjectEditor.m ([GormViewSizeInspector -init]): Add size form for resizing. New methods for resizing and obtaining window sizes. * GormMatrixEditor.m: New class for editing matrix cells. * GormWindowEditor.m (_editTextView:withEvent:) Moved to GormMatrixEditor.m. (-_validateFrame:forViewPtr:withEvent:update:update): When replacing view with matrix detach old view and attach matrix to document. (-mouseDown:): Open matrix subeditor on double-click of matrix. (-deleteSelection): Detach subviews of a box before deleting box. * Palettes/2Controls/inspectors.m: New button inspector. 2001-08-21 Pierre-Yves Rivaille Added the ability to change the font of the selected objects * Gorm.m: new category : NSCell (GormAdditions) (it gives us full control of the font's changes) added a menu item for the font panel added a shortcut for the palettes panel (@"p") * GormWindowEditor.m : [-acceptsFirstResponder] new method, returns YES [-initWithObject] set self as initialFirstResponder of the window [-changeFont:] new method, change the font of the selected controls [-selectObjects:] update the font in the font panel * Palettes/2Controls/GormSliderInspector.gorm: font updates 2001-08-20 Pierre-Yves Rivaille * Palettes/2Controls/main.m: Add stepper control to the controls' palette * Add stepper inspector. * Palettes/2Controls/inspectors.m: added GormSliderAttributsInspector class * Palettes/2Controls/GormSliderInspector.gorm: New file. * Palettes/2Controls/GNUmakefile: Update 2001-08-18 Adam Fedor * GormWindowEditor.m (-_editTextView:withEvent:): Size the NSForm to fit when titles are edited. * Add slider inspector. * Palettes/2Controls/inspectors.m: New file. * Palettes/2Controls/GormSliderInspector.gorm: Likewise. * Palettes/2Controls/GNUmakefile: Update 2001-07-18 Adam Fedor * Version 0.0.3. 2001-07-10 Richard Frith-Macdonald GormDocument.m: ([-detachObject:]) retain object name on entry and release on exit, or if the object is not in the name table the detach process could cause the name to be released before we try to use it to remove the object from the table. 2001-07-09 Richard Frith-Macdonald Gorm.m: Tidied code a little to conform to coding standards and avoid gcc-3.0 compiler warning. Incorporated Pierres fixes to his last patch. 2001-07-08 Mirko Viviani * GormWindowEditor.m ([GormWindowEditor -_editTextView:withEvent:]): return if mouse not on cell. 2001-07-07 Richard Frith-Macdonald Gomr.m: Fixed typo in info panel and updated a little. 2001-07-04 Pierre-Yves Rivaille Added the ability to create the .m and .h files of a class created within Gorm (it's a basic implementation but it works) Added an "application: openFile:" method in the class Gorm and a GormInfo.plist file, it is now possible to open a Gorm document from ProjectCenter (and I suppose GWorkspace but I have not checked yet) a keyEquivalent for the inspector (i was really missing this ...) no more [menu display] in the initialization of Gorm, I found out that it prevented a proper docking within WindowMaker's dock, and it does not seem to have any side effect. 2001-06-24 Mirko Viviani * GormWindowEditor.m ([GormWindowEditor -_validateFrame:forViewPtr: withEvent:update:update]): fixed checks for non-matrix control. Allow the matrix to reduce rows and columns. 2001-06-20 Adam Fedor * GormDocument.m (-beginArchiving): Add filesOwner class name to archive. (-loadDocument:): Retreive and set filesOwner class. * GormClassManager.m (-removeOutlet:forObject:): Remove from allOutlets even if not in extraOutlets. (-ok:): Implement renaming outlets. 2001-06-18 Adam Fedor * GormWindowEditor.m (-_validateFrame:forViewPtr:withEvent:update:update): Allow the frame to increase even if it's already too small. * Palettes/1Windows/main.m: Implement GormWindowSizeInspector. * Palettes/1Windows/GormWindowSizeInspector.gorm: New file. * Palettes/1Windows/GormWindowSizeInspector.class: Likewise. 2001-06-15 Adam Fedor * GormWindowEditor.m (-_editTextView:withEvent:): New method to edit text in place (handles only NSForms now). (-mouseDown:): Double-click on NSForm edits NSFormCell. 2001-06-06 Adam Fedor * Changes to allow an NSBox to be 'edited' and add subviews, move them around inside the box, etc. * GormPalettesManager.m (-mouseDown): Make sure the drag view is the proper one, not a subview of the indented item. * GormViewKnobs.m (GormDrawOpenKnobsForRect): New function. * GormWindowEditor: Add edit_view ivar to show which view accepts DnD, selections, etc. Changes to allow double-click to 'edit' an NSBox. 2001-05-09 Adam Fedor * GormWindowEditor.m (-_validateFrame:forViewPtr:withEvent:update:): New method - validate and update view during resize. 2001-05-08 Richard Frith-Macdonald Applied patch by Raphael Sebbe to add support for custom objects. Went through the code and tried to make it conform to GNUstep coding standards. * GNUmakefile: Custom class modifications * Gorm.h: ditto * Gorm.m: ditto * GormClassManager.h: ditto * GormClassManager.m: ditto * GormDocument.h: ditto * GormDocument.m: ditto * GormInspectorsManager.m: ditto * GormObjectEditor.m: ditto * GormPrivate.h: ditto * GormWindowEditor.m: ditto 2001-04-24 Adam Fedor * Version: 0.0.2 snapshot * GNUmakefile: Add rpm package info * Gorm.spec.in: New file. * Documentation/{readme,news,install}.texi: Update * README, INSTALL, NEWS: Regenerate 2001-02-07 Richard Frith-Macdonald * GormInspectorsManager.m: Resize a few buttons to fit text neatly. 2001-02-06 Richard Frith-Macdonald * Palettes/2Control/main.m: Added patch to tidy up and add more objects to the controls palette ... patch by Jason H Clouse Removed bogus code that selected a window when it was made key. 2001-01-27 Richard Frith-Macdonald * GormPalettesManager.m: Ensure that palette manager window can never become key or main. Accept first mouse events so drag start works. 2000-11-06 Adam Fedor * Documenation: Remove use of tmpl texi files Fri Feb 25 16:31:00 2000 Richard Frith-Macdonald * Gorm.m: Fix a few window deallocation problems. * GormDocument.m: Fix error in renaming objects. 2000-02-21 Adam Fedor * GNUmakefile: Don't make Documentation by default for those who don't have TeX setup. Sun Feb 14 06:56:00 2000 Richard Frith-Macdonald * Palettes/2Control/main.m: Add popup and pulldown menu controls though there is no way to edit them yet. Sun Feb 6 8:44:00 2000 Richard Frith-Macdonald Removed InfoPanel.m and updated Gorm to use standard panel now that NSApplication supports it. Fri Feb 4 11:10:59 2000 Richard Frith-Macdonald * Palettes/0Menu/GormMenuInspectors.m: Added code for setting key-equivalent in menu item inspector. Thu Feb 3 16:16:59 2000 Richard Frith-Macdonald * Gorm.m: tidied start/end testing. * GormDocument.m: ditto Sat Jan 15 04:35:59 2000 Nicola Pero * GormObjectEditor.m ([GormObjectEditor -activate]), ([GormObjectEditor -orderFront]): Trivial fix to make it compile. Fri Jan 14 16:22:00 2000 Richard Frith-Macdonald * GormDocument.m: Fix to deactivate editors while copying to pb and add support for a few more document setup types. * Gorm.m: Add Inspector, Panel and Empty documents. Fri Jan 14 9:34:00 2000 Richard Frith-Macdonald * Palettes/OMenus/GormMenuEditor.m: ([mouseDown:]) support for dragging menu items to rearrange their order. Thu Jan 13 20:34:00 2000 Richard Frith-Macdonald Preliminary menu support (very limited). Fri Jan 7 11:03:00 2000 Richard Frith-Macdonald * GNUmakefile: Set Gorm_PRINCIPAL_CLASS * Gorm.m: Do startup stuff in [-finishLaunching] and use the NSApplicationMain() function to run the app (as well-behaved apps do). Wed Jan 5 17:00:00 2000 Richard Frith-Macdonald * Palettes/0Menu/main.m: First cut at code for providing menus items on the palette. * GormWindowEditor.m: accept first mouse so we act immediately that the mouse is clicked anywhere in the window. * Palettes/1Window/main.m: Tidy attributes editor and add support for setting window title. Tue Jan 4 17:42:00 2000 Richard Frith-Macdonald Added 'miniaturize', 'close', and 'revert to saved' menu items and implemented their actions. Tue Jan 4 12:13:00 2000 Richard Frith-Macdonald Various tidyups Somewhat improved documentation Added registration ddefaults stuff Mon Jan 3 10:50:00 2000 Richard Frith-Macdonald Rewrote testing mechanism so that we test by creating an in-memory nib, and load that nib. This way, the testing process has no effect on the original objects in the document we are working on. Also changed the editor api so that we have a deactivate method. Editors are deactivated on archiving and reactivated afterwords - this means that we no longer need to destroy all editors during archiving in order to stop them being included in the archive. Thu Dec 23 16:32:00 1999 Richard Frith-Macdonald Added generic object inspector. Wed Dec 22 12:16:00 1999 Richard Frith-Macdonald Replaced the two NeXT images for sounds and classes. Improved drag and drop. Tue Dec 21 15:30:00 1999 Richard Frith-Macdonald Added size inspector for autoresizing of views. Tue Dec 21 8:10:00 1999 Richard Frith-Macdonald Added inspector for files owner so we can create connections from objects inside the nib to the files owner. Mon Dec 20 14:16:00 1999 Richard Frith-Macdonald Added connections inspector so connecting objects should work. Use information from 'ClassInformation.plist' to specify outlets and actions for a class. Added GormClassManager stuff to manage this information. Sat Dec 18 21:24:00 1999 Richard Frith-Macdonald Add partial support for draagging into object view. Fix move/resize of window subviews to make sure subviews can't be dragged outside visible area. Fri Dec 17 18:44:00 1999 Richard Frith-Macdonald Add some support for connections - handle link dragging within window editor - raise connection inspector on completion. Thu Dec 16 21:35:00 1999 Richard Frith-Macdonald Change directory structure - add palettes directory, move palettes into it, rename them, change automatic loading of palettes to do it in palette name order. Thu Dec 16 15:45:00 1999 Richard Frith-Macdonald * GormWindowEditor.m: Implemented support for moving and resizing subviews within a window. * Gorm.m: Implemented edit menu (mostly) with cut and paste. Thu Dec 16 6:54:00 1999 Richard Frith-Macdonald * GormWindowEditor.m: Implemented selection mechanism including marking subviews within a window by drawing knobs on them. Wed Dec 15 15:27:00 1999 Richard Frith-Macdonald Archive save/restore fixes. Implementation of framework for interactive testing mode. Tue Dec 14 20:13:00 1999 Richard Frith-Macdonald Enough for today. * View/View.m: Added a single button to the 'View' palette. * GormPaletteManager.m: improve DnD image ffset code. * GormWindowEditor.m: accept dropped views in window. Tue Dec 14 19:53:00 1999 Richard Frith-Macdonald Removed GormResourcesManager - merged functionality into GormDocument Loads of other minor changes too - hopefully all simplified a bit. Tue Dec 14 17:33:00 1999 Richard Frith-Macdonald * GormDocument.m: Major changes - nearly all methods implemented to including all the editor related methods. * GormWindowEditor.m: Loads of stuff fleshed out, mostly just leaving drawing code to do. Mon Dec 13 20:04:00 1999 Richard Frith-Macdonald * GormViewKnobs.m: imported from IM Mon Dec 13 14:57:00 1999 Richard Frith-Macdonald * Gorm.h: Added NSView additions * GormWindowEditor.m: new skeleton file. * GormDocument.m: handle class replacement on archiving/unarchiving. Add filesOwner and firstResponder dummy objects. * GormResourcesManager.m: tidy files owner and first responder stuff. * GormObjectEditor.m: Use neater mechanism for determining image to be displayed in matrix. Wed Dec 8 20:54:00 1999 Richard Frith-Macdonald * Gorm.m: ([-init]) make sure that the palettes manager is loaded. Wed Dec 8 16:33:00 1999 Richard Frith-Macdonald * GormObjecteditor.m: ([-refreshCells]) cell highlighting fixed so that empty cells in the matrix can't be highlighted.