2004-07-20 20:04 Gregory John Casamento * GormDocument.m: Leak fixes and general clean up. * GormGenericEditor.m: Same. * GormImageEditor.m: Same. * GormViewEditor.h: Same. * GormWindowEditor.m: Same. * Palettes/0Menus/GormMenuEditor.m: Same. * Palettes/0Menus/GormNSMenu.m: Same. * Palettes/1Windows/GormNSPanel.h: Added new method so that the window setting "is released when closed" is saved, but doesn't effect the window displayed in Gorm. This presents some tricky memory management problems. * Palettes/1Windows/GormNSPanel.m: Same. * Palettes/1Windows/GormNSWindow.h: Same. * Palettes/1Windows/GormNSWindow.m: Same. * Palettes/1Windows/main.m: Added code necessary in the inspector to use the new method. 2004-07-17 17:54 Gregory John Casamento * GormFilePrefsManager.m: Removed reference to math.h and values.h in includes. They were there temporarily for something which I ended up not doing anyway. Causing compilation problem on FreeBSD. 2004-07-15 21:43 Gregory John Casamento * Gorm.m: Added a check in applicationDidFinishLaunching: to make certain the user is using the right version of GNUstep by checking for a recent signature change in GSNibContainer. * ClassInformation.plist: Added redo: and undo: to the list of methods on the first responder. * GormFilePrefsManager.m: Changed a lot of the NSLogs to NSDebugLog. 2004-07-12 23:08 Gregory John Casamento * GormImageEditor.m: [GormImageEditor initWithObject:inDocument:] added call to [GormPalettesManager importedImages] to return the images imported by any custom palettes. * GormSoundEditor.m: [GormSoundEditor initWithObject:inDocument:] added call to [GormPalettesManager importedSounds] to return the sounds imported by any custom palettes. * GormPalettesManager.m: Changed the return of [GormPalettesManager importClasses:withDictionary:], added [GormPalettesManager importImages:withBundle:], [GormPalettesManager importSounds:withBundle:], [GormPalettesManager importedImages], and [GormPalettesManager importedImages]. These methods are used to get the images and sounds from a palette so that they can be used from Gorm by the user. * GormPalettesManager.h: Added banner. 2004-07-11 23:40 Gregory John Casamento * GormDocument.m: saveGormDocument.m: Changes to prevent a new gorm from being saved twice. This was an innocuous problem as it would simply overwrite the same .gorm with itself. Added code to set isOlderArchive in loadDocument: method. Added code to call [GormFilePrefsManager setClassVersions] and [GormFilePrefsManager restoreClassVersions] in beginArchiving and endArchiving respectively to set and reset the versions of classes which need to be used for each .gorm file version to be saved. Updated changeView: method to switch to the filePrefsView when clicking on the button. Added code to the toolbar delegate to add the "File" button to the document toolbar. Added code to loadDocument to load the data.info file if it's present, if not we simply use the defaults. * GormDocument.h: Added new ivars for isOlderArchive, filePrefsView, and filePrefsManager. * GormFilePrefsManager.[hm]: New files. * GormPalettesPref.[hm]: New files. * GormPrefsPalette.gorm: new interface for palette loading. * GormDocument.gorm: Updated with new window to view incompatibilities and controller for new "file" document button. * GormPreferences.gorm: Addition of palettes in pulldown. * GormClassManager.[hm]: Added - (BOOL) addClassNamed: (NSString*)class_name withSuperClassNamed: (NSString*)super_class_name withActions: (NSArray*)_actions withOutlets: (NSArray*)_outlets isCustom: (BOOL) isCustom; So that classes can be added with out adding them to the custom list. Added logic in "init" to get the list of classes imported by the palettes manager and add them into the master list of classes. This allows the user to work with the classes added by the palette. * GormFunctions.[hm]: appVersion function to calculate a useful value which can be used to compare against easily when reading. This will allow gorm to tell if this file was created with an older or newer version of Gorm.app and take appropriate action. * GormObjectEditor.m: Added capability to place non-UI instances in the objects view directly. This will allow the user to place arbitrary non-ui objects in a Gorm file. It will be useful for adding DB objects or other things which a .gorm file might need. * GormPalettesManager.[hm]: Added [GormPalettesManager importedClasses] and [GormPalettesManager importClasses:withDictionary:] adds the classes from the list in the palette.table. * GormLib/IBPalette.h: Changed name of ivar. This ivar wasn't properly named. It should have been originalWindow. This issue was causing the .gorm load to not make a needed connection. * GormLib/IBPalette.m: Change to read palette.table as a property list instead of strings file format. This was needed to facilitate the reading of all of the classes, sounds and images a palette might import. Also modified to correctly load the nib file. * Palettes/0Menus/main.m: Corrected window to originalWindow as detailed above. It was referred to in a few places by the old name. * Palettes/1Windows/main.m: same. * Palettes/2Controls/main.m: same. * Palettes/3Containers/main.m: same. * Palettes/4Data/main.m: same. * Palettes/2Controls/inspectors.m: Change to clarify the autoenable switch on pulldown buttons. * Palettes/2Controls/GormNSPopUpButtonInspector.gorm: Corresponding .gorm file change for the above. Added new outlet and made new connection. 2004-07-09 16:24 Gregory John Casamento * Palettes/3Containers/GormNSTableViewInspector.gorm: Missing connection to ok: from the tag form was causing the table not to save the value. 2004-06-30 20:14 Gregory John Casamento * GormDocument.m: Added "Compatibility Warning" alert panel to [GormDocument saveGormDocument:]. If the user loads a version 0 file and saves it will give a warning telling the user that the new version isn't compatible with older releases of GNUstep. * GormDocument.h: Added ivar to keep track of whether we are going to upgrade the version of the .gorm file or not. 2004-06-30 01:45 Gregory John Casamento * GormDocument.m: [GormDocument loadDocument:] the application was not picking up subclasses of GSNibItem (GormObjectProxy) properly from version 0 files. I needed to add a loop which iterates through the objects, since the GormObjectProxy doesn't call the super class's initWithCoder: method. 2004-06-28 23:14 Gregory John Casamento * Gorm.m: -[Gorm testInterface:] changed awakeWithContext: call to use new signature. * GormDocument.m: [GormDocument rebuildObjToNameMapping] added logic to add all of the objects in the topLevelObjects set to the objects view. Modified [GormDocument attachObject:toParent:] so that any top level object which is attached, such as a window, the main, menu, or a controller is automatically added to the topLevelObjects set. Modified [GormDocument loadDocument:] so that the topLevelObjects set is properly merged into the current document's data structures. [GormDocument setupDefaults:] removed explicit call to [GormDocument setName:forObject:] since the attachObject:toParent: method automatically makes the new menu in a .gorm which doesn't have any menus the main menu and adds it to the topLevelItems array. * GormPalettesManager.m: Removed some of the palette prefs code for now so I could concentrate on the version update. * GormSoundView.m: Commented out currently unused function. * Resources/Gorm.gorm: Updated to a version 1 gorm file. This prevent someone from running the new Gorm with the old gnustep which doesn't contain the recent changes. 2004-06-27 08:45 Gregory John Casamento * Gorm.m: -[Gorm testInterface:] removed NSWindowsMenu and NSServicesMenu from the nameTable of the .gorm being tested. This prevents an exception because of problems re-setting these on the fly. * GormPalettesManager.m: The beginnings of getting the palettes from a default rather than being hardcoded. This allows greater flexibility in adding custom palettes to Gorm later on. 2004-06-26 18:10 Gregory John Casamento * GormPalettesManager.m: Removed line in -init which observes IBDidDeleteConnectionNotification in GormConnectionInspector. It was causing a number of bugs since it could potentially modify the connection prior to adding it to the connections list. Added method _selectAction: which is used to select the action without going through all of the other code in _internalCall:. * GormDocument.m: Added code in NSNibConnector category to let isEqual immediately return true if the object and self are precisely the same object. * GormClassInspector.m: Added code to change the color of the textfield to grey if the class isn't editable and to white if the class name is editable. 2004-06-26 08:25 Gregory John Casamento * GormPalettesManager.m: There was problem which crops up when the user has many connections to the same object both action/outlet in the same list. When disconnecting it the inspector, because of a memory leak, was deleting the outlet & the action following it. This was happening inconsistently and would cause a blank line to appear in the connections inspector when the user would click on the object. This was reported as Bug #9461. 2004-06-25 01:33 Gregory John Casamento * GormDocument.m: [GormDocument(GormOutlineDataSource) outlineView:setObjectValue:forTableColumn:byItem:] added code to ignore the value which comes if it is nil. This corrects a recent problem caused by a "fix" in gui's NSTableView. * GormClassInspector.m: Changes to allow the user to change the class name when it's a custom class that's being edited. * GormClassInspector.gorm: Changes to facilitate the above modification. 2004-06-24 01:33 Gregory John Casamento * Gorm.m: [Gorm close:] the window is already released when the document is released and the code had an "setReleasedWhenClosed" which was call which was causing an extra release and subsequently a core dump when selecting the "Close" item from the document menu. 2004-06-24 01:33 Gregory John Casamento * GormDocument.m: Additions to [GormDocument attachObject: withParent:], [GormDocument loadDocument:], [GormDocument setupDefaults:] to move the main menu appropriately when it is either added to the documnent, loaded, or added when the user selects the "Application" type from the New menu. This helps alleviate confusion when editing the menu. 2004-06-22 23:33 Gregory John Casamento * GormDocument.m: A fix in -[GormDocument pasteType: fromPasteboard: parent:] to retain objects unarchived from the pasteboard to prevent a recently discovered segfault. 2004-06-21 23:33 Gregory John Casamento * GModelDecoder.m: Added code to openGModel: to more automatically detect what actions should be added to FirstResponder. This facilitates importing the .gmodel without even needing the header file. All of the information necessary to convert the interface can be gleaned from the .gmodel information. 2004-06-18 23:40 Gregory John Casamento * Version 0.7.7 2004-06-15 01:28 Gregory John Casamento * GormPalettesManager.m: [GormPalettesManager mouseDown:] a call to convertRect:toView: was added to correctly translate the view being dragged in all cases. This will show no real benefit until Alex M. adds the window decoration patches. 2004-06-10 01:28 Gregory John Casamento * Gorm.m: [Gorm testInterface] added code in the exception handler to show an alert panel when an exception occurs along with a warning (and the actual exception, of course). This allows users to see what the issue was when trying to test the interface. 2004-06-07 23:59 Gregory John Casamento * GormInspectorsManager.m: [GormConnectionInspector setObject:] corrected code to call "isConnecting" before blindly causing the inspector to show the connection on the selected object. This was interfering with the user making connections in some cases. 2004-06-06 21:57 Gregory John Casamento * Palettes/3Containers/GormNSOutlineView.h: added ivar _savedColor. This is used to save the color during selection. * Palettes/3Containers/GormNSTableView.h: same as above. * Palettes/3Containers/GormNSTableView.m: implemented select and unselect methods to allow the color to be saved when the object is selected. * Palettes/3Containers/GormNSOutlineView.m: same as above. 2004-06-06 08:39 Gregory John Casamento * GormImageEditor.m: Corrected comments. 2004-06-04 23:53 Gregory John Casamento * GormImageEditor.m: Added some code to correct a problem found by Riccardo Mattolla and Sungjin Chun. The code is as suggested by Sujin, to return when the superview is not available. * GormSoundEditor.m: same as above. NOTE: This was due to a recent change to load all images for easy access by the user. Apparently, Linux is a little more forgiving that some other OSes. :) 2004-06-03 00:43 Gregory John Casamento * GormDocument.h: Added "lastEditor" ivar to hold the last editor selected by the document. * GormDocument.m: In [GormDocument setDocumentActive:] used lastEditor to reset the selection to the current one for the document selected. This causes the inspector to switch to the appropriate inspector for the object currently being edited in that document. 2004-06-03 00:43 Gregory John Casamento * Gorm.m: Removed code in the testInterface: method to allow NSBrowser, NSTableView, and NSOutlineView display correctly in testing mode. * GormDocument.m: Moved the code in loadDocument: into a NS_DURING block to catch any exceptions thrown during loading of a .gorm file. This will facilitate recovery of the application when a problem is encountered while loading the file and will allow the user to continue using the application despite the issue. 2004-05-30 22:37 Gregory John Casamento * GormDocument.m: [GormFirstResponder connectInspectorClassName] made it return the "not applicable" inspector instead of the connections inspector for this. The FirstResponder shouldn't be able to make outlet connections. 2004-05-29 23:10 Gregory John Casamento * GormInspectorsManager.m: [GormConnectionsInspector _internalCall:] The search for an existing control connection was leaving the con variable set to a outlet connection (occasionally) which caused later logic to not properly set the action list and prevented the user from selecting an action. 2004-05-29 23:10 Gregory John Casamento * Gorm.m: [Gorm testInterface:] removed conditional. The services menu is always set to nil when testing. [Gorm endTesting:] added a NS_DURING block to catch any issues with resetting the services menu. This prevents Gorm from crashing, if there's a problem. Since the menu is set to nil and then reset there shouldn't be an issue. 2004-05-29 16:00 Gregory John Casamento * GormDocument.m: [GormDocument attachObject:] added code to automatically mark a menu being attached as the windows/services menu if it has the appropriate title. Also changed [GormDocument detachObject:] added code to remove the menu as the services/windows menu if it's detached from the document. 2004-05-29 08:56 Gregory John Casamento * Palettes/2Controls/main.m: Had some DOS formatted lines. Simply converted to UNIX format. * Palettes/3Containers/main.m: Changed the default border type for both NSTableView and NSOutlineView to NSBezelBorder in -finishInstantiate. * Palettes/4Data/main.m: Changed the default border type for the NSTextView to NSBezelBorder in -finishInstantiate. 2004-05-29 07:30 Gregory John Casamento * Palettes/4Data/GormNSComboBoxInspector.gorm: Improved the layout a little. 2004-05-28 21:48 Gregory John Casamento * GormClassManager.m: Corrected a problem the the renameClassNamed: newName: method. It was releasing the classInformation and causing a crash. 2004-05-25 07:01 Gregory John Casamento * Gorm.m: [Gorm testInterface:] added code to save the services menu and set the current one to nil, if one is not defined in the .gorm file. This prevents the annoying "Services Menu not in main menu" warning. * GormPrivate.h: Added servicesMenu ivar. 2004-05-24 10:22 Gregory John Casamento * GormDocument.m: [GormDocument awakeFromNib] added call to [NSToolbar setUsesStandardBackgroundColor:] to make the background light-grey instead of clear. 2004-05-22 12:31 Gregory John Casamento * Gorm.m: [Gorm validateMenuItem:] removed code which greys out the add/remove for first responder. This was preventing people from adding in the classes view. 2004-05-21 07:20 Gregory John Casamento * Gorm.m: Removed the infoPanel method. * GormInfo.plist: Added all of the information to this file to produce an identical info panel as before. * Gorm.gorm: Changed info menu so that "orderFrontStandardInfoPanel:" is called. 2004-05-19 07:20 Gregory John Casamento * GormDocument.gorm: Added. This replaces much of the code which was once in [GormDocument init]. * Gorm.m: Missing definition for GormLinkPboardType added. * GormDocument.h: Removed selectionView, added toolbar. * GormDocument.m: Added include for NSNibLoading and NSToolbar and removed some of the old rect declarations for creating the GUI. Portions of this will stay hard-coded, since the editors all need to be initialized with the document. Moved some of the initialization around. Added awakeFromNib method to load the toolbar and the toolbar delegate methods. 2004-05-18 07:20 Gregory John Casamento * GModelDecoder.m: Changed reference to the class loader. * Gorm.m: Added code to inactivate menu items when a class isn't selected. Moved some code to decide what is instantiable to the GormClassManager. * GormDocument.m: Moved the parseHeader: method to GormClassManager where it belongs. All methods dealing with loading classes into Gorm or creating class files from data within the application belong in GormClassManager. Changed references to the call where appropriate in the code. Added document as observer when a class is added. This is to help factilitate the move of the parseHeader method. Moved the init method near the top of the file. * GormClassManager.m: added parseHeader method to process headers into data usable by Gorm. Added an instance variable to cache the document when a class manager is instantiated. The class manager needs to communicate with the document it belongs to frequently. * GormSoundInspector.m: Backed out previous change. * GormSoundInspector.h: Removed _currentSound ivar. 2004-05-16 07:20 Gregory John Casamento * Gorm.m: in testInterface: bring the temporary menu to the front. There has been an issue with it sometimes not displaying. In endTesting bring the normal menu to the front. In unhide, bring the menu to the front. * GormLib/IBPalette.[hm]: Added paletteDocument method as per specs. Currently this method will return nil unless the ivar is set to something conforming to IBDocuments. 2004-05-16 07:20 Gregory John Casamento * GormSoundEditor.m: Added methods to GormSound class to show the "not applicable" inspector on all options but the attributes inspector. * GormImageEditor.m: same as above for GormImage. * GormInspectorsManager.m: Added code to show "Sound Inspector" or "Image Inspector" when appropriate for either GormSound or GormImage respectively. 2004-05-15 23:14 Gregory John Casamento * GormImageInspector.gorm: Repositioned fields. 2004-05-15 16:19 Gregory John Casamento * GormDocument.m: [GormDocument init] changed initialization of scrollviews to allow horizontal scroller to be used. * GormImageInspector.gorm: resized some of the fields which were too short. 2004-05-15 12:42 Gregory John Casamento * GormFunctions.[hm]: added function to get all system sounds. NOTE: Current there aren't any, but why wait? I'm assuming that they'll go into $GNUSTEP_SYSTEM_ROOT/Library/Sounds. * GormSoundEditor.m: Added call to add all system sounds to the editor. 2004-05-15 11:14 Gregory John Casamento * Gorm.m: Add call to [GormDocument closeAllEditors] to avoid a crash when the user attempts to open a document, then cancels. The document wasn't properly released. * GormDocument.h: Removed the images and sounds arrays. This information is kept in the editor and these arrays are redundant. Also exposed the closeAllEditors method. * GormDocument.m: Removed references to the images and sounds array. Changed load/save logic to use the list from the editors themselves. * GormFunctions.[hm]: Added function to retrieve the names of the images from the system directory named systemImagesList(). * GormImageEditor.m: Modified to call the new function and add the images to the editor when it is first instantiated. * GormPrivate.h: Added objects method to GormGenericEditor's interface. * GormSoundInspector.h: Changed _currentSound to id. * GormSoundInspector.m: Uses _currentSound to make certain that the same GormSound object isn't reinspected, thus wasting time loading it over and over. 2004-05-14 22:11 Gregory John Casamento * GormDocument.m: [GormDocument _closeAllEditors] mocified to use secondary array. The close method causes the editor to call editor:didCloseForObject: which modifies the openEditors array while the "close" message is being sent to all of the objects. To avoid any issues with the array potentially being changed while this is happening I add all of the objects to another array execute the method on all objects of that and empty both the original and the copy. * GormSoundInspector.m: Corrected an issue where the sound wasn't immediately being set into the inspector. 2004-05-14 17:46 Gregory John Casamento * GormButtonEditor.[hm]: Moved to the Controls palette, removed from the main directory. In general, inspectors and editors should appear in the palette which provides those things. * GormTabViewEditor.[hm]: Moved to Containers palette. 2004-05-14 11:36 Gregory John Casamento * GormButtonEditor.m: Added a line between some methods to improve readability. * GormDocument.m: [GormDocument instantiateClass:] removed extra release for an object being added to the objectsView which is already autoreleased (in setName:forObject:). * GormInspectorsManager.m: [GormNotApplicableInspector setObject:] method removed. This was a temporary hack until the memory leak was located. 2004-05-14 02:39 Gregory John Casamento * GormClassManager.m: Moved the call to _touch to the bottom of all of the methods. This should be called only after all changes have been made to the class. * GormImageInspector.m: setObject: wasn't calling [super setObject:] * GormInspectorsManager.m: [GormNotApplicableInspector setObject:] added code to prevent crash. * GormObjectEditor.m: Removed some commented-out code. * GormSoundInspector.m: Added code to set the _currentSound to nil if the selection sent is empty. * GormPreferences.gorm: Added line. 2004-05-13 18:47 Gregory John Casamento * Gorm.m: Removed some commented out code. Removed commented out RELEASE statements, now that AUTORELEASE is used. * GormDocument.m: [GormDocument dealloc] added openEditors to the set of things released. [GormDocument editorForObject:create:] when a new editor is created, add it to the master list of editors. This makes it easier to send the close message to all of the editors upon shutdown. [GormDocument editor:dicCloseForObject:] removes the editor from the list of editors. [GormDocument _closeAllEditors] closes all of the editors in the document using the new list. * GormDocument.h: Added member variable openEditors. * Palettes/GormMenuEditor.m: Added category to allow testing when a menu is visible so that we can avoid sending the close message to it. This prevents the harmless message "Invalidparm: ordered invalid window 0" from appearing when the document is being closed. 2004-05-13 01:03 Gregory John Casamento NOTE: These changes might unstabilize things a bit. * Gorm.m: The document is now autoreleased when it is instantiated. This change was made in [Gorm application:openFile:],[Gorm open:], [Gorm newGormDocument:]. * GormDocument.m: Addition of a method called [GormDocument _closeAllEditors] this closes all of the editors from the handleNotification method before the any objects are ultimately released. Removal of old, commented out GormFontManager implementation. Streamlined the dealloc method to make certain everything is released. Also changed the window in the init method so that it doesn't release itself when it's closed by the user. This allows for a more controlled shutdown. * GormDocument.h: Minor code cleanup. * GormGenericEditor.[hm]: Added activate, closed ivars. Also added code in close and activate to make use of them. Added code in dealloc to call [GormGenericEditor close] if there the flag indicates the editor is open. Also moved some common, trivial, operations to the parent class implementation of initWithObject:inDocument:. * GormObjectEditor.m: Added code in close to remove the document from the map. This eliminates a crash which was occurring. * GormSoundEditor.m: Same. * GormImageEditor.m: Same. * GormViewEditor.m: Re-arranged the initWithObject:inDocument:. * GormWindowEditor.m: Same. * GormMenuEditor.m: Same. 2004-05-10 21:45 Gregory John Casamento * GormDocument.m: [GormDocument handleNotification:] was failing to remove the document as an observer in the notification center. This was causing the old document to be retained and was, also causing "Test Interface" to fail randomly because the notifcation cetner was still attempting to reach the old document. 2004-05-10 11:58 Gregory John Casamento * Gorm.m: Update version to 0.7.7 (Alpha) to avoid confusion between users using the release and users using CVS. 2004-05-10 09:55 Gregory John Casamento * Version 0.7.6 2004-05-10 09:08 Gregory John Casamento * GormDocument.m: Corrected an issue when creating an "Inspector" or "Palette" in [GormDocument setupDefaults:]. The method was creating an NSWindow which doesn't respond to one of the methods the inspector needs it to. * GormSetName.gorm: Reduced the line to 2 pixels high to make it look a little better. 2004-05-09 10:16 Gregory John Casamento * GModelDecoder.m: defineClass:inFile: changed signature to take the object and get the classname from it. This allows a call to add the class under an assumed superclass, if the user says no to the query. Also in loadGModel: added code to pull the outlet/action from the connections and add them to the class if they are not present on the imported header. This also allows, in the above case, for Gorm to automatically get all outlets/actions from the gmodel. 2004-05-08 08:53 Gregory John Casamento * GormDocument.m: [GormDocument loadDocument:] added code to prevent users from invoking "open objects.gorm" or opening "objects.gorm" directly when in GWorkspace. This caused Gorm to convert the objects.gorm file as if it were an old-style file before gorm packages. It now issues a warning. Also added code to [GormDocument openDocument:] to check for a duplicate open of a model which is already opened. This can cause confusion. * Gorm.m: Added a new method [Gorm documentNameIsUnique:] which checks all existing open documents for a duplicate name and returns NO, if it's not unique. * GormPrivate.h: Added declaration of the method mentioned above to the Gorm class interface. 2004-05-08 08:53 Gregory John Casamento * GModelDecoder.m: [GModelDecoder openGModel:] Corrected issue which was causing a crash. * GormDocument.m: Cleaned up a memory leak. Commented/Documented the location / justification for all memory operations. * Gorm.m: same as above. Also added code to [Gorm unhide:] to prevent bringing forward the document window when clicking on the app icon in test mode. 2004-05-06 21:21 Gregory John Casamento * GormDocument.m: [GormDocument selectClass:] do not switch if the class is one of GormSound or GormImage. This prevents a harmless, but annoying message. 2004-05-05 22:18 Gregory John Casamento * Gorm.m: [Gorm unhide:] improvement over previous fix to bring all things to front. The code now toggles the active status of the document to cause all of the windows of the document to come to the front when the icon is clicked. 2004-05-02 18:35 Gregory John Casamento * GormImageEditor.m: Added code to allow it to resize the cells in the matrix according to the setting in preferences. * GormSoundEditor.m: Added code to allow it to resize the cells in the matrix according to the setting in preferences. * GormSoundView.m: Commented out some of the sound drawing code. I'm planning on getting this working later. * GormSoundInspector.gorm: Added images in buttons, rw.tiff, rec.tiff, play.tiff, pause.tiff, and ff.tiff. 2004-05-02 23:40 Gregory John Casamento * GormDocument.m: [GormDocument openEditorForObject:] Do not bring the editor to the front if it's for an NSMenu. This prevents the "flash" bug which was apparent after the most recent fix for menu editing in Gorm. * GormNSMenu.m: Added #ifdef in GormNSMenu to conditionally compile [GormNSMenu display] so that it becomes easier to debug issues with NSMenu editing. 2004-05-01 17:40 Gregory John Casamento * Documentation/Gorm.texi: Correction of itemize bullet, error found by Christopher Culver. 2004-05-01 11:46 Gregory John Casamento * GormSoundView.[hm]: New class to visualize the sound being inspected. * GormSoundInspector.m: Modifications so that it can now use a GormSoundView. * GormSoundInspector.gorm: Added soundView to .gorm file and made appropriate connections. 2004-05-01 11:18 Gregory John Casamento * GormClassInspector.m: Corrected a problem with the wrong name being sent to the class manager. This was causing an error to be printed by the class manager. This problem had no effect, but was annoying. 2004-05-01 09:44 Gregory John Casamento * Gorm.m: Added implementation for unhide: to bring forward the document window as well as any other windows. This corrects Report #3269. 2004-05-01 09:03 Gregory John Casamento * GormNSMenu.m: [GormNSMenu _createWindow] added call to setExcludedFromWindowsMenu: to make certain that the menu windows are not displayed in the Windows menu under Gorm's main menu. 2004-05-01 07:10 Gregory John Casamento * GormClassManager.m: Removed some NSLog messages. 2004-04-30 20:04 Gregory John Casamento * Gorm.m: Removed code which calls "awakeFromDocument:" on objects loaded in palettes. * GormDocument.m: [GormDocument loadGormDocument:] added back code which calls awakeFromDocument:. Also in [GormDocument setDocumentActive:] removed code which was causing all menus to display instead of just the main menu when loading a .gorm. * GormMenuEditor.m: [GormMenuEditor activate] removed code which was causing all submenus to be displayed when the editor for a menu was activated. * GormMenuInspectors.m: Removed awakeFromDocument: method. * GormNSMenu.m: Commented out some old code. 2004-04-30 19:15 Gregory John Casamento * GormDocument.m: Modified _repairFile so that it works. :) * Gorm.gorm: Removed some extraneous menu items/submenus. 2004-04-27 22:15 Gregory John Casamento * Palettes/0Menus/GormMenuEditor.m: [GormMenuEditor deleteSelection] added code to re-display and resize after an item is deleted. This corrects the problem where the menu item doesn't immediately disappear from the screen when deleted. 2004-04-27 21:50 Gregory John Casamento * GormClassInspector.m: Added code to properly collapse the item if the class is being edited in the class inspector. * GormClassManager.m: some improvements on the previous fix. 2004-04-27 01:28 Gregory John Casamento * GormClassManager.m: Modified [GormClassManager addAction:forClassNamed:], [GormClassManager addOutlet:forClassNamed:], [GormClassManager removeAction:fromClassNamed:], [GormClassManager removeOutlet:fromClassNamed:], [GormClassManager replaceAction:withAction:forClassNamed:], [GormClassManager replaceOutlet:withOutlet:forClassNamed:], to allow synchronization in the class list. When a outlet/action is added/removed/replaced the subclasses of that action stay in sync. 2004-04-26 01:04 Gregory John Casamento * GormClassInspector.m: Modifications to addAction: removeAction: addOutlet: & removeOutlet to syncronize with the classes outline view. * GormDocument.[hm]: exposed selectClass: method. * GormOutlineView.[hm]: Simplified some code and added a method called "reset" which stops the editing process on a class. 2004-04-25 23:24 Gregory John Casamento * GormClassInspector.m: removeOutlet: and removeAction: check for i >= 0 to allow deletion of last element. This was an issue introduced in the previous commit. Also made the tables deselect the previous selection so that it would allow deselection of all rows. * GormClassInspector.gorm: Made both tables capable of having an empty selection. This corrected an issue with deleting the last element. * GormDocument.m: Added back, in handleNotification:, handling of GormDidModifyClassNotification. Previously this was removed since there were no other places where the classes were being modified. This is no longer the case. 2004-04-25 06:34 Gregory John Casamento * GormClassInspector.m: removeOutlet: and removeAction: check for i > 0 to prevent and out of range exception if nothing is selected. 2004-04-18 08:30 Gregory John Casamento * GormPrefsController.m: Added dealloc to prevent any memory leaks. 2004-04-17 23:55 Gregory John Casamento * Resources/GormPrefColors.gorm: New gorm file for color preferences. * GormColorsPref.[hm]: new class to implement color preferences. * GormViewEditor.m: Added code to allow the color of guidelines to be changed in preferences. * Defaults.plist: Added entry for GuideColor. The default is red. 2004-04-17 13:11 Gregory John Casamento * Palettes/3Containers/inspectors.m: Added code to the GormTableViewInspector update the background color when the user changes it in the inspector. * Palettes/3Containers/GormNSTableViewInspector.gorm: added color well to allow changing of the background color. 2004-04-17 12:52 Gregory John Casamento * GormObjectEditor.m: [GormObjectEditor mouseDown:] check that "name" is not nil before proceeding into the code to do the drag & drop. This was causing an exception. 2004-04-17 10:58 Gregory John Casamento * Palettes/3Containers/GormNSOutlineView.m: Changed some of the default data source's elements to be closer to the actual class hierarchy. * Palettes/3Containers/inspectors.m: Added code to the GormTableViewInspector to add or delete columns based on the new field which specifies the number of columns in the table/outline. * Palettes/3Containers/main.m: removed some old code and added code to expand the outline view so it looks better in the palette. * Palettes/3Containers/GormNSTableViewInspector.gorm: added "#Columns" field to allow the user to modify the columns in the table without cutting/pasting. 2004-04-13 20:57 Gregory John Casamento * Version 0.7.5 2004-04-11 21:26 Gregory John Casamento * GormBoxEditor.m: Cleaned up warnings. * GormImageEditor.m: same.. * GormInternalViewEditor.m: same.. * GormTabViewEditor.m: same.. * GormViewEditor.m: same.. * GormViewWithContentViewEditor.m: same.. * Palettes/0Menus/main.m: same.. * Palettes/3Containers/GormTableViewEditor.m: same.. * Palettes/3Containers/inspectors.m: same.. * Palettes/4Data/inspectors.m: same.. * Palettes/4Data/main.m: same.. * GormViewKnobs.m: Added reference to new header... * GormViewKnobs.h: New header which declares the knob related functions. 2004-04-06 20:16 Gregory John Casamento * GormClassManager.m: Correction to how actions are added to FirstResponder. Previously it was adding *all* actions to this entry, but it shouldn't do this. It now adds only those methods added to subclasses of NSResponder. 2004-04-06 00:16 Gregory John Casamento * Palettes/2Controls/inspectors.m: added defaultItemForm attribute. Added code in [GormPopUpButtonAttributesInspector _setValuesFromControl:] to select the appropriate item, when the value is changed in the inspector. * Palettes/2Controls/GormNSPopUpButtonInspector.gorm: corresponding changes to above code modifications. 2004-04-05 00:06 Gregory John Casamento * GormDocument.m: [GormDocument rebuildObjToNameMapping] some additional debugging information. Also in [GormDocument loadDocument:] unarchiver is now explicitly using RELEASE instead of AUTORELEASE. 2004-04-04 22:09 Gregory John Casamento * GormDocument.m: [GormDocument rebuildObjToNameMapping] use [[nameTable allKeys] objectEnumerator] instead of keyEnumerator. (slightly more efficient). 2004-04-04 12:30 Gregory John Casamento * GormInspectorsManager.m: Corrected some warnings and streamlined the GormConnectionMananger. Also added code in [GormConnectionManager updateButtons] to grey out the "ok" button when the connection isn't a valid one. * GormWindowEditor.m: Corrected some warnings. 2004-04-03 13:13 Gregory John Casamento * GormClassManager.m: Corrected a problem with renaming a class in [GormClassManager renameClassName:toClassName:]. The direct subclasses of the class whose name is being changed must be modified to have their superclass name set to the new name. * GormCustomView.m: Set the custom view to use the bold font to display the view name at the default size set by the user. * GormDocument.m: Corrected an issue with redisplay of the changed class name. Also made some changes to correct some compiler warnings. * GormFontViewController.m: The default action of the font controller is now to set the "encodes default" to off, since this is what the user most often means when selecting a preset font. * GormInternalViewEditor.[hm]: [GormInternalViewEditor changeFont:]. This allows the font to be modified on NSForms. * GormMatrixEditor.[hm]: same as above, except we're changing forms in a matrix. These two classes don't derive from one another so the method had to, unfortunately, be duplicated. 2004-03-30 15:36 Gregory John Casamento * GormPalettesManager.m: [GormPaletteView draggedImage:endedAt: deposited:] added code to refresh the palette view after the drag is done. This is a harmless, temporary fix for users of the art backend. 2004-03-24 15:36 Gregory John Casamento * Palettes/GormMenuEditor.m: Minor cleanup which prevents menu from being dragged into a menu. * GormDocument.[hm]: Cleanup of reference to class GormProxyObject. Should have been GormObjectProxy. Minor issue. 2004-03-24 01:00 Gregory John Casamento * GormDocument.m: [GormDocument attachObject:toParent:] changes to improve adding a new menu, if the main menu has been removed. * GormPalettesManager.m: [GormPaletteView draggedImage:endedAt: deposited:] added code to allow copying of menus in a similar fashion to windows. 2004-03-23 22:01 Gregory John Casamento * Palettes/0Menus/GormMenuEditor.m: Added code to recursivly add all of the items and submenus to the document. * Palettes/0Menus/main.m: Added code to allow user to drag a new menu to the document. * Palettes/0Menus/GormMenuDrag.tiff: Image for menu to drag * Images/GormMenu.tiff: New image. 2004-03-21 23:15 Gregory John Casamento * GormDocument.[hm]: added [GormDocument _instantiateFontManager] method to create the font manager when something requiring one is added. Other additions to the header to add the font manager functionality. Removed declaration and references to old GormFontManager class. Modified attachObject:toParent: to properly detect when a menu item is being added which needs the font manager. * GormObjectProxy.m: Added implementation of imageForViewer to show a font manager icon, if the object is a NSFontManager or some subclass. * GormObjectEditor.m: Minor cleanup. 2004-03-21 10:27 Gregory John Casamento * GormDocument.[hm]: Initial code changes for new FontManager. Added code in [GormDocument attachObject:] to update the connection correctly. Previously the connection were not being created correctly which require the user to disconnect the existing connection and reconnect. * GormObjectEditor.m: Removed the check for NSFont as an object which can't be removed. It will be possible to remove it once it has no connections. * Palettes/0Menus/main.m: Updated some of the connections here so that they are made properly when added to the document. More work to come for the new FontManager implementation in Gorm. 2004-03-20 12:07 Gregory John Casamento * ClassInformation.plist: Removed some methods which should not have been in FirstResponder. * Gorm.m: Added back in the ability to instantiate a NSFontManager. Currently, IB adds a font manager for you when you add a NSMenu which has connections to the font manager. Gorm, for the time being, will simply allow the user to instantiate it directly. * GormViewEditor.m: Removed _allsubviews: and associated fuctions. * GormFunctions.m: Added allSubviews and associated functions here so that they can be used application wide. * GormObjectEditor.m: [GormObjectEditor deleteSelection]: Added code to query the user before deletion of the main menu, so that this doesn't happen by accident. Added code to delete the subviews of a window from the document. 2004-03-13 07:45 Gregory John Casamento * GormDocument.m: [GormDocument loadDocument:] added call to [GormDocument _repairFile] if a given default is true. This gives the user the ability to repair older files which might have issues. * GormFilesOwner.m: [GormFilesOwnerInspector setObject:] only return NSView subclasses if the object passed in is a GormCustomView. This was causing an issue when users were simply arbitrarily setting the object without regard to this. * GormPalettesManager.m: Minor cleanup. 2004-03-05 01:45 Gregory John Casamento * GormViewWithSubviewsEditor.m: Removed call in [GormViewWithSubviewsEditor setOpened:] to setSelectionFromEditor: on GormDocument. This was causing the object to be reset to NSWindow on save as well as some other issues. 2004-03-05 00:54 Gregory John Casamento * GormCustomClassInspector.m: Added an "if" in setObject: to prevent any problems if the object passed in is nil. * GormDocument.m: minor cleanup. * GormFilesOwner.m: minor cleanup. 2004-03-04 22:54 Gregory John Casamento * GormFilesOwner.m: -[GormFilesOwner init] changed the dimensions of browser. Also made it so that the inspector shows up in both the attributes and the custom class slots as expected. This is like in IB under OS4.2. 2004-03-04 01:08 Gregory John Casamento * GormDocument.m: [GormDocument setName:forObject:] added code to remap the name of an object if it is in the custom class map. 2004-03-03 11:00 Gregory John Casamento * GormCustomClassInspector.[hm]: Removed _currentSelection as it was redundant with the "object" ivar. Rearranged the call for setObject:. it was sligtly out of sync. The user needed to click on the object twice to make certain everything is set properly. Removed references to "correctClassName". * GormClassManager.[hm]: Removed the class method "correctClassName" the function is now done by overriding the "className" method when necessary to return the name of the class the Gorm* equivalent is standing in for. This is a cleaner solution. * GormDocument.m: Removed all references to "correctClassName" in the _selectClass: method. * GormFilesOwner.m: Changed some NSLogs to NSDebugLog so that the selection of classes for the File's Owner wont display on the console what class was chosen. * Palettes/GormNSMenu.m: Added className. * Palettes/GormNSPanel.m: same. * Palettes/GormNSWindow.m: same. * Palettes/GormPopUpButtonEditor.m: Added className to implementation of GormNSPopUpButton and GormNSPopUpButtonCell. * Palettes/GormNSOutlineView: added className. * Palettes/GormNSTableView: same. 2004-02-29 11:56 Gregory John Casamento * GormCustomClassInspector.m: -[GormCustomClassInspector setObject:] corrected Report #7938. Inspector now properly selects the subclass of the object when the .gorm is initially loaded. * GormInspectorsManager.m: Removed some uneeded calls to "establishConnection". 2004-02-23 23:56 Gregory John Casamento * ClassInformation.plist: reformatted and added/removed some methods as needed. These were pointed out be Deek/Jeff. 2004-02-21 13:48 Gregory John Casamento * Defaults.plist: Add new default for "Archive Compatibility" section in preferences. * GormGeneralPref.[mh]: Added code for new section * GormDocument.m: Remove NSLogs, make NSDebugLog * GormInspectorsManager.m: Same * GormMatrixEditor.m: Same * GormSoundInspector.m: Same * GormSplitViewEditor.m: Same * GormViewWithSubviewsEditor.m: Same * GormWindowEditor.m: Same * Palettes/0Menus/GormMenuEditor.m: Same * Palettes/1Windows/main.m: Same * Palettes/2Controls/GormPopUpButtonEditor.m: Same * Resources/GormPrefGeneral.gorm: New section for "Archive Compatibility." This currently doesn't work since the keyed archiving capability is not fully implemented. 2004-02-21 01:41 Gregory John Casamento * GormHeaderPref.m: Fixed header pre-loading. * GormHeaderPref.gorm: Added table instead of browser. * Palettes/3Containers/GormTableViewEditor.m: Removed some debugging information. * GormPrefGeneral.gorm: Added section for archive type preferences. 2004-02-19 00:50 Gregory John Casamento * GormDocument.m: -[GormDocument handleNotification:] added code to set inspector back to empty if the document is closed. 2004-02-15 13:11 Gregory John Casamento * GormClassInspector.m: -[GormClassInspector _refreshView] Corrected an issue when user clicked on NSObject. 2004-02-14 19:55 Gregory John Casamento * GormShelfPref.[hm]: Added controller class for new preferences module. * GormShelfPref.gorm: Added interface for new preferences module. Thanks to Enrico Sersale. This preferences module for Gorm is based heavily on code that he wrote for GWorkspace. * Gorm.m: Definitions for notification. * GormPrivate.h: Declaractions for notification. 2004-02-12 22:42 Gregory John Casamento * GormClassInspector.m: Added category to allow direct manipulation of the classes view from the class inspector. The new method is - (void) collapseClass: (NSString *)className. Modified [GormClassInspector selectClass:] to notify the user when the change has been made and only proceed on confirmation. Added code to delegate to prevent selection of a subclass of the current class. * GormDocument.m: Cleaned up some of the code formatting in [GormDocument handleNotification:]. 2004-02-12 02:02 Gregory John Casamento * GormClassInspector.m: Added new ivars/methods to support the new table for the feature mentioned in Report #7579. Basically it allows the user to change the parent class of of the currently selected class. This is similar to feature which existed a while back, but was removed because it was very buggy. Thanks to Stefan for suggesting this. GJC 2004-02-09 22:24 Gregory John Casamento * Version 0.6.0 2004-02-08 11:43 Gregory John Casamento * ClassInformation.plist: Added change to NSWindow entry suggested by Stefan Urbanek. The windowController outlet was missing from the list of outlets for this class. 2004-02-04 23:13 Gregory John Casamento * GormDocument.m: -[GormDocument attachObject:toParent:] added code to reset the target/action of an object after it's connection has been added to the connections list. Since the connections are restored when the .gorm is loaded, this prevents the target/action from being persisted when it's not going to get used anyway. * Palettes/1Windows/GormNSWindow.m: Added -(BOOL)canBecomeMainWindow implementation to return NO. (suggested by Jeff Tuniessen) 2004-02-01 18:21 Gregory John Casamento * GormDocument.m: -[GormDocument attachObject:toParent:] Added code to prevent menu actions from being re-added when clicking on menu items. 2004-01-31 21:21 Gregory John Casamento * Palettes/0Menus/GormMenuEditor.m: -[GormMenuEditor activate] removed call to -[NSMenu display]. This corrects Report#3439. 2004-01-29 23:20 Gregory John Casamento * GormFunctions.[hm]: Factored out some common functions into this file. 2004-01-29 01:22 Gregory John Casamento * GormInternalViewEditor.m: Added code to -destroyAndListSubviews to remove the view from the document as appropriate. * GormSplitViewEditor.m: Same as above. * GormViewEditor.m: Added methods to handle view when inside the scroll view directly as opposed to being contained in the NSView. * GormScrollViewEditor.m: Same as above. Also added code to handle removal of single view from the scroll view. * GormViewWithContentViewEditor.m: Removed some debug code and added code in -groupSelectionInScrollView to add the view itself if there is only one view selected. 2004-01-25 17:59 Gregory John Casamento * GormInternalViewEditor.m: Change to remove dependency on internals of NSWindow: GSWindowView, in particular. 2004-01-20 08:53 Gregory John Casamento * GormViewWithContentViewEditor.m: Backing out previous change. 2004-01-17 23:07 Gregory John Casamento * GormViewEditor.[hm]: Addition of selection and makeSelectionVisible methods to allow views to exist within a scrollview without a containing NSView. * GormViewWithContentViewEditor.m: Changed code in groupSelectionInScrollView to not insert a NSView to contain the subview being grouped in the case where there is only one view selected. These fixes correct Report#6890. 2004-01-14 10:26 Gregory John Casamento * ClassInformation.plist: Added submenuAction: to the NSMenu class. 2004-01-14 01:42 Gregory John Casamento * GormDocument.m: attachObject:toParent: when the connection contained in the object which is attached is nil, use the parent. This corrects a minor issue with greyed out menu entries. 2004-01-11 13:08 Gregory John Casamento * GormDocument.m: Removed awakeFromDocument code and moved it to Gorm.m so that awakeFromDocument is called after all initialization is done. * Gorm.m: Added loop in open: to awake all objects in the nametable after loading. * Palettes/0Menus/GSMenuInspectors.m: Added code to close all of the uneeded menus upon loading. This corrects Report #6467. 2004-01-06 01:12 Gregory John Casamento * GormDocument.m: [GormDocument attachObject:] added logic to automatically add predefined connections to the connectors array so that they can be manipulated in Gorm. If a palette defines the destination to be the First Responder, and the label to be "orderFrontStandardInfoPanel:" then this will be reflected in the connections inspector. * GormLib/IBConnectors.h: Made the comments into documentation style comments so, if/when I start using gsdoc to document the innerworkings of Gorm, it will be ready. 2004-01-04 22:39 Gregory John Casamento * GormDocument.m: Made -[GormDocument _identifierString:], -[GormDocument _formatAction:], and -[GormDocument _formatAction:] into +[GormDocument identifierString:], +[GormDocument formatAction:], and +[GormDocument formatAction:] so that they can be used in other classes which need to format actions/outlets. * GormDocument.h: Added declarations for the new class methods. * GormInspectorsManager.m: Use the new methods to prevent user from entering a bad name for an outlet or action. 2004-01-04 20:32 Gregory John Casamento * GormInspectorsManager.m: Added back some code to make the display of the title of the inspector more informative when editing a class. The title now reads: "Class Edit Inspector: {className}". This code had been commented out a while back. 2004-01-03 02:08 Gregory John Casamento * GormClassInspector.m: Minor correction to -removeAction: and -removeOutlet: to prevent an exception being raised when performing remove when there are not outlets/actions in the list. 2004-01-01 00:13 Gregory John Casamento * Gorm.m: More usability changes to grey out menu items which can't/shouldn't be invoked. 2003-12-31 20:33 Gregory John Casamento * Gorm.m: Corrected an issue with testInterface because of the new signature for awakeWithContext:. Also added an alert to anyone loading bundles using GSAppKitUserBundles. Bundles that replace classes of AppKit can cause issues in Gorm since they might interfere with encoding. 2003-12-30 00:41 Gregory John Casamento * GormDocument.m: Removed uneeded method which was overriding awakeWithContext:. This method is called from loadNibNamed: and, since the GormDocument is a subclass, but is never loaded by that method overriding the other implementation is uncessary. * ClassInformation.plist: Some of the parent information was wrong, this was corrected. * Gorm.m: Added code in -validateMenuItem: to grey out certain menu items under given conditions. This improves usability and prevents the user from corrupting the .gorm file by doing something that's not supported. 2003-12-25 00:55 Gregory John Casamento * Gorm.m: -validateMenuItem: added code to grey out the "set name" menu item, if the object selected cannot be renamed. 2003-12-24 23:17 Gregory John Casamento * Gorm.m: Added a NS_DURING block around the main portions of the testInterface method and also added some of the classes to the list of classes which need to be translated from their "GormNS*" equivalents. 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.