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.