apps-gorm/ChangeLog

2164 lines
82 KiB
Text
Raw Normal View History

2003-05-19 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* Palettes/2Controls/GormNSButtonInspector.gorm: Added
key equivalent pulldown
* Palettes/2Controls/inspectors.m: Added code to handle
new pulldown.
2003-06-01 Gregory John Casamento <greg_casamento@yahoo.com>
* GormPreferences.[hm]: Removed. These were superceded
by the GormPrefController.
2003-06-01 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* GormDocument.m: Prevent subclassing of FirstResponder.
2003-05-24 Gregory John Casamento <greg_casamento@yahoo.com>
* 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<IB>).
2003-05-25 Fabien Vallon <fabien@tuxfamily>
* Gorm.m : fix typo
2003-05-24 Fabien Vallon <fabien@tuxfamily.org>
* Gorm.m : Add Localization
* GormDocument.m : Ditto
* GormFilesOwner.m : Ditto
* GormInspectorsManager.m : Ditto
* GormObjectInspector.m : Ditto
* GormPalettesManager.m : Ditto
2003-05-24 Fabien Vallon <fabien@tuxfamily.org>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
Applied patch submitted by Fabien Vallon <fabien@tuxfamily.org>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
Applied patch submitted by Fabien <fabien@tuxfamily.org>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
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 <fedor@gnu.org>
* Palettes/*/GNUmakefile: Set *_STANDARD_INSTALL=no to not install
the palettes.
2003-04-18 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* Version: 0.2.6
2003-03-04 Fabien <fabien@tuxfamily.org>
* Palettes/3Containers/inspectors.m: Update TabView inspector
* Palettes/4Data/inspectors.m: Update comboBox inspector.
2003-03-04 Adam Fedor <fedor@gnu.org>
* 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 <rfm@gnu.org>
* 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 <rfm@gnu.org>
* GormDocument.m: Give scrollviews bezelled border.
2003-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* GormOutlineView.m: Fix code to update view when outlet/action
images are clicked on.
2003-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <pyrivail@ens-lyon.fr>
* GormInspectorsManager.m: _internalCall:
only reload the column when needed, this was causing segfaults
with the new lockFocus code.
2003-02-02 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* Version: 0.2.5
2003-01-16 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* GModelDecoder.m: openGModel: added code to import
the headers of custom classes read from the .gmodel file.
2003-01-12 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* GormCustomView.m: Corrected problem with dummy implementation
of encodeWithCoder:. (Problem found and patch supplied by
Chris Vetter).
2003-01-09 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com
* GormDocument.m: [GormDocument remove:]: added code
to break connections when a class, action or outlet
is deleted.
2003-01-09 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* Palettes: Replaced all old .gorm/.classes files with
.gorm packages.
2003-01-03 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* Added TODO file to document interesting feature suggestions
and bugs which need to be fixed.
2002-12-27 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* GormDocument.m: -[GormDocument parseHeader:] corrected problem
pointed out be Enrico Sersale. Applied patch. Thanks!
2002-12-21 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <pyrivail@ens-lyon.fr>
* 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 <greg_casamento@yahoo.com>
* GormDocument.m: Added code to scroll to the class name
when the subclassing or changing the class name.
2002-12-05 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* Version: 0.2.0
* Gorm.m: Change font panel shortcut to t
2002-12-02 Adam Fedor <fedor@gnu.org>
* GModelDecoder.m ([GormDocument -connectionObjectForObject:]):
Return nil if object is nil.
2002-11-29 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* Gorm.m: -[GormObjectProxy classInspectorClassName]
added code to return @"GormNotApplicableInspector".
2002-11-24 Gregory John Casamento <greg_casamento@yahoo.com>
* GormFilesOwner.m: -[GormFilesOwner classInspectorClassName]
implemented to return @"GormNotApplicableInspector".
* GormDocument.m: -[GormFirstResponder classInspectorClassName]
same as above.
2002-11-23 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* 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 <greg_casamento@yahoo.com>
* ClassInformation.plist: Added entry for NSOpenGLView.
2002-11-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* GormObjectEditor.m ([GormObjectEditor +setEditor:forDocument:]):
replaced self with editor. There was an exception when instancing
any class.
2002-11-19 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Added key equivalents for operations in the Classes
menu.
2002-11-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* 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 <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* GormDocument.m ([GormDocument -parseHeader:]): Reload the class
view after adding a class (suggestion from Fabien
<fabien@tuxfamily.org>).
2002-11-13 Adam Fedor <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <greg_casamento@yahoo.com>
* GormDocument.m: +[GormDocument _replaceObjectsWithTemplates]:
needed to retain the template prevent corruption when
saving the data.
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
* GormObjectEditor.m: +[GormObjectEditor initialize]: Corrected
how the map table is created to prevent a crash.
2002-11-06 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* GormSoundEditor.m: Added missing file.
2002-11-05 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* 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 <pyrivail@ens-lyon.fr>
* 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 <greg_casamento@yahoo.com>
* 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 <fedor@gnu.org>
* GormDocument.m (-dealloc): Release tempNameTable.
Change some NSLogs to NSDebugLogs.
2002-10-23 Adam Fedor <fedor@gnu.org>
* GormDocument.m (-createClassFiles:): Set default save file
to className.
* Palettes/2Controls/inspectors.m ([GormStepperAttributesInspector
-_getValuesFromObject:]): Get increment value.
2002-10-13 Adam Fedor <fedor@gnu.org>
* Version: 0.1.9 snapshot.
* Documentation/news.texi: Update.
2002-10-13 Adam Fedor <fedor@gnu.org>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* Gorm.h : Added missing include.
* GormCustomView.h : Added missing include.
2002-10-08 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* 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 <greg_casamento@yahoo.com>
* 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 <pyrivail@ens-lyon.fr>
* 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 <pyrivail@ens-lyon.fr>
* 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 <fedor@gnu.org>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <pyrivail@ens-lyon.fr>
* 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 <pyrivail@ens-lyon.fr>
GormBoxEditor.h GormBoxEditor.m GormButtonEditor.h GormButtonEditor.m GormControlEditor.h GormControlEditor.m GormInternalViewEditor.h GormInternalViewEditor.m GormMatrixEditor.h GormPlacementInfo.h GormPosingView.h GormPosingView.m GormSplitViewEditor.h GormSplitViewEditor.m GormTabViewEditor.h GormTabViewEditor.m GormViewEditor.h GormViewEditor.m GormViewWithContentViewEditor.h GormViewWithContentViewEditor.m GormViewWithSubviewsEditor.h GormViewWithSubviewsEditor.m Palettes/3Containers/GormTableViewEditor.h Palettes/3Containers/GormTableViewEditor.m ChangeLog GNUmakefile Gorm.h Gorm.m GormClassEditor.m GormClassManager.m GormCustomClassInspector.m GormCustomView.m GormDocument.m GormMatrixEditor.m GormObjectEditor.m GormOutlineView.m GormPrivate.h GormWindowEditor.m Palettes/0Menus/GormMenuEditor.m Palettes/1Windows/main.m Palettes/2Controls/GormBoxInspector.gorm Palettes/2Controls/GormButtonInspector.gorm Palettes/2Controls/GormTextFieldInspector.gorm Palettes/2Controls/main.m Palettes/3Containers/GNUmakefile Palettes/3Containers/GormNSBrowser.m Palettes/3Containers/GormNSOutlineView.m Palettes/3Containers/GormNSTableView.h Palettes/3Containers/GormTableColumnInspector.classes Palettes/3Containers/GormTableColumnInspector.gorm Palettes/3Containers/GormTableViewInspector.gorm Palettes/3Containers/inspectors.m Palettes/3Containers/main.m Palettes/4Data/inspectors.m Palettes/4Data/main.m git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@14267 72102866-910b-0410-8b05-ffd578937521
2002-08-14 00:01:42 +00:00
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <greg_casamento@yahoo.com>
* 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 <pyrivail@ens-lyon.fr>
* 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 <pyrivail@spocky>
* GormTableViewEditor.m ([GormTableViewEditor -activate]):
Bugfix for gcc 2.??.
2002-03-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* 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 <pyrivail@ens-lyon.fr>
* 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 <pyrivail@ens-lyon.fr>
* 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 <greg_casamento@yahoo.com>
* GormDocument.m: Minor cleanup of debug statements.
2002-03-24 Gregory John Casamento <greg_casamento@yahoo.com>
* 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 <rfm@gnu.org>
* IBInspector.m: Don't release window on dealloc ... assume it
* releases itsself when closed.
* IBPalette.m: ditto
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <pyrivail@ens-lyon.fr>
* Gorm.m ([GormObjectProxy -initWithCoder:]):
typo fixing.
2002-03-04 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Gorm.m ([GormObjectProxy -initWithCoder:]):
updated to conform with GSNibItem new encoding scheme.
2002-03-01 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* 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.
* 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 <stefanurbanek@yahoo.fr> 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 <stefanurbanek@yahoo.fr>) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@12559 72102866-910b-0410-8b05-ffd578937521
2002-02-18 12:37:26 +00:00
2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* 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 <stefanurbanek@yahoo.fr>
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 <stefanurbanek@yahoo.fr>)
2002-01-30 Adam Fedor <fedor@gnu.org>
* Version: 0.1.0
* Documentation/news.texi: Update.
2002-01-29 Adam Fedor <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <greg_casamento@yahoo.com>
* 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 <laurent@moldus.org>
* 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 <laurent@julliard-online.org>
* 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 <rfm@gnu.org>
* 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 <fedor@gnu.org>
* 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 <rfm@gnu.org>
* 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 <pyrivail@ens-lyon.fr>
* GormDocument.m ([GormDocument -init]): set the NSTableView's
properties so that it benefits from [NSTableView -sizeToFit]
2001-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* GormClassManager.m: Tidy action names in browser etc.
* GormWindowEditor.m: Tidy size of matrix at end of resize.
2001-10-28 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Palettes/2Controls/main.m ([ControlsPalette -finishInstantiate]):
update NSStepper in the controls' palette (it has a new default size)
2001-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <laurent@julliard-online.org>
* 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 <pyrivail@ens-lyon.fr>
* GormObjectEditor.m: Updated [GormObjectEditor refreshCells] so that
setTitle is not called with nil anymore (but with @"").
See change <Tue Oct 23 10:32:18 2001> in gnustep/core/gui/Changelog
2001-10-17 Laurent Julliard <laurent@julliard-online.org>
* 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 <fedor@gnu.org>
* GormPalettesManager.m ([GormPalettesManager -setCurrentPalette:]):
Check for wv before getting frame (Solaris fix).
2001-10-14 Adam Fedor <fedor@gnu.org>
* ClassInformation.plist: Add IBInspector
2001-10-05 Adam Fedor <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <pyrivail@ens-lyon.fr>
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 <pyrivail@ens-lyon.fr>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* Version 0.0.3.
2001-07-10 Richard Frith-Macdonald <rfm@gnu.org>
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 <rfm@gnu.org>
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 <mirko.viviani@rccr.cremona.it>
* GormWindowEditor.m ([GormWindowEditor -_editTextView:withEvent:]):
return if mouse not on cell.
2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
Gomr.m: Fixed typo in info panel and updated a little.
2001-07-04 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
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 <mirko.viviani@rccr.cremona.it>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* 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 <fedor@gnu.org>
* GormWindowEditor.m (-_validateFrame:forViewPtr:withEvent:update:):
New method - validate and update view during resize.
2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
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 <fedor@gnu.org>
* 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 <rfm@gnu.org>
* GormInspectorsManager.m: Resize a few buttons to fit text neatly.
2001-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Palettes/2Control/main.m: Added patch to tidy up and add more
objects to the controls palette ... patch by
Jason H Clouse <jhclouse@juno.com>
Removed bogus code that selected a window when it was made key.
2001-01-27 Richard Frith-Macdonald <rfm@gnu.org>
* 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 <fedor@gnu.org>
* Documenation: Remove use of tmpl texi files
Fri Feb 25 16:31:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Gorm.m: Fix a few window deallocation problems.
* GormDocument.m: Fix error in renaming objects.
2000-02-21 Adam Fedor <fedor@gnu.org>
* 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 <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
* Palettes/0Menu/GormMenuInspectors.m: Added code for setting
key-equivalent in menu item inspector.
Thu Feb 3 16:16:59 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Gorm.m: tidied start/end testing.
* GormDocument.m: ditto
Sat Jan 15 04:35:59 2000 Nicola Pero <n.pero@mi.flashnet.it>
* GormObjectEditor.m ([GormObjectEditor -activate]),
([GormObjectEditor -orderFront]): Trivial fix to make it compile.
Fri Jan 14 16:22:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
* Palettes/OMenus/GormMenuEditor.m: ([mouseDown:]) support for
dragging menu items to rearrange their order.
Thu Jan 13 20:34:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Preliminary menu support (very limited).
Fri Jan 7 11:03:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
Added 'miniaturize', 'close', and 'revert to saved' menu items and
implemented their actions.
Tue Jan 4 12:13:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Various tidyups
Somewhat improved documentation
Added registration ddefaults stuff
Mon Jan 3 10:50:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
Added generic object inspector.
Wed Dec 22 12:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Replaced the two NeXT images for sounds and classes.
Improved drag and drop.
Tue Dec 21 15:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Added size inspector for autoresizing of views.
Tue Dec 21 8:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
Archive save/restore fixes.
Implementation of framework for interactive testing mode.
Tue Dec 14 20:13:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
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 <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
* GormViewKnobs.m: imported from IM
Mon Dec 13 14:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* 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 <richard@brainstorm.co.uk>
* Gorm.m: ([-init]) make sure that the palettes manager is loaded.
Wed Dec 8 16:33:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* GormObjecteditor.m: ([-refreshCells]) cell highlighting fixed so
that empty cells in the matrix can't be highlighted.