Commit graph

134 commits

Author SHA1 Message Date
Sergii Stoian
ed710cdd1e * Palettes/0Menus/GormMenuAttributesInspector.gorm: fixed positioning and autosizing. 2019-12-23 18:17:14 +02:00
Sergii Stoian
017bead07a Palette Panel: set window title from original window title of selected palette; window titles were added/fixed for palettes. 2019-12-23 01:46:59 +02:00
Sergii Stoian
9915e575ca Menus Palette: adjust position of menu image centered in dragged view. 2019-12-23 01:15:46 +02:00
Sergii Stoian
011d0fda17 GormPalettesManager: palettes selection icons now display selection with white color of selected icon background; removed arrows from scroller; icons are replaced to make selection color visible. 2019-12-23 01:14:25 +02:00
David Chisnall
c554b72b74 Fix Gorm with the new ABI.
Now that @private is enforced by the linker, we can't just bypass it
with categories.  Instead, either access public interfaces or use
reflection to look up instance variables.
2018-12-30 17:24:56 +00:00
Eric Wasylishen
66f31dd063 * Palettes/2Controls/GormNSMatrixInspector.gorm:
*  Palettes/2Controls/GormNSSliderInspector.gorm:
*  Palettes/2Controls/GormNSBoxInspector.gorm:
*  Palettes/2Controls/GormNSTextFieldInspector.gorm:
*  Palettes/2Controls/GormNSPopUpButtonInspector.gorm:
*  Palettes/2Controls/GormNSButtonInspector.gorm:
*  Palettes/2Controls/ControlsPalette.gorm:
*  Palettes/2Controls/GormNSFormInspector.gorm:
*  Palettes/2Controls/GormNSCellInspector.gorm:
*  Palettes/0Menus/GormMenuAttributesInspector.gorm:
*  Palettes/3Containers/GormNSTableColumnSizeInspector.gorm:
*  Palettes/3Containers/GormTabViewInspector.gorm:
*  Palettes/3Containers/GormNSTableViewInspector.gorm:
*  Palettes/3Containers/GormNSBrowserInspector.gorm:
*  Palettes/1Windows/GormNSWindowSizeInspector.gorm:
*  Palettes/1Windows/GormNSWindowInspector.gorm:
*  Palettes/4Data/GormNSComboBoxInspector.gorm:
*  Palettes/4Data/GormNSImageViewInspector.gorm:
*  Palettes/4Data/GormNSTextViewInspector.gorm:
Turn off "Draws Background" on NSMatrix and NSForms; there's no need
to draw backgrounds and it may look bad with themes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37228 72102866-910b-0410-8b05-ffd578937521
2013-10-14 17:50:59 +00:00
Sebastian Reitenbach
b74dcdfa9a * GormCore/GormObjectEditor.h
* GormCore/GormObjectEditor.m 
        * GormCore/GormPalettesManager.m      
        * GormCore/GormSplitViewEditor.m      
        * GormCore/GormViewEditor.m   
        * GormCore/GormViewWithSubviewsEditor.m       
        * GormCore/GormWindowEditor.m 
        * Palettes/0Menus/GormMenuEditor.m    
        * Palettes/3Containers/GormTableViewEditor.m  
        * Palettes/4Data/GormTextViewEditor.m 
        * adapt to -gui changes for DnD

OK Fred, Gregory



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36191 72102866-910b-0410-8b05-ffd578937521
2013-02-23 08:07:56 +00:00
David Chisnall
3cd12bee73 Next bit of NSInteger cleanup for -gui.
Fix all of the current warnings in Gorm so that it can be used to test
NSInteger things.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36039 72102866-910b-0410-8b05-ffd578937521
2013-01-30 12:43:27 +00:00
Gregory John Casamento
d49d1fd71a * GormCore/GormDocument.m
* GormCore/GormFilePrefsManager.m
	* GormCore/GormStandaloneViewEditor.m
	* GormCore/GormViewWithContentViewEditor.m
	* GormCore/GormWindowTemplate.m
	* Palettes/0Menus/GormMenuEditor.m
	* Palettes/0Menus/MenusPalette.m: Eliminate as many of the remaining
	warnings in the code as possible.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35133 72102866-910b-0410-8b05-ffd578937521
2012-05-02 03:26:17 +00:00
Gregory John Casamento
4671ec0870 * GormCore/GormClassInspector.m
* GormCore/GormClassManager.m
	* GormCore/GormDocument.m
	* GormCore/GormGenericEditor.m
	* GormCore/GormObjectInspector.m
	* GormCore/GormOutlineView.m
	* GormCore/GormPrivate.h
	* GormCore/GormPrivate.m
	* Palettes/0Menus/GormMenuEditor.m
	* Palettes/1Windows/GormDrawerAttributesInspector.m
	* Palettes/3Containers/GormTableColumnAttributesInspector.m
	* Palettes/3Containers/GormTableViewEditor.m
	* Palettes/4Data/DataPalette.m
	* Palettes/4Data/GormNumberFormatterAttributesInspector.m: Change int/unsigned int to NSInteger
	and NSUInteger to address 64-bit issues.  Patch by
	Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
	* Plugins/Gorm/GormGormWrapperLoader.m
	* Plugins/Nib/GormNibWrapperBuilder.m
	* Plugins/Nib/GormNibWrapperLoader.m
	* Plugins/Xib/GormXibWrapperLoader.m: Clean up warnings found by clang.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35091 72102866-910b-0410-8b05-ffd578937521
2012-04-20 06:12:32 +00:00
Gregory John Casamento
6773d49622 Add code to address bug #33457. Menu title change should not cause document to be marked as modified.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34223 72102866-910b-0410-8b05-ffd578937521
2011-11-28 03:33:49 +00:00
Fred Kiefer
0f8b9f3d20 * Palettes/0Menu/GormMenuEditor.m: Protect against the menu parent
being a popup button cell.
* Plugins/Xib/GormXibWrapperLoader.m: Move additional methods
into gui and correct handling of file owner.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34056 72102866-910b-0410-8b05-ffd578937521
2011-10-25 09:09:15 +00:00
Fred Kiefer
ae8debf43d Patch by Matt Rice <ratmice@gmail.com>
* Palettes/0Menu/GormMenuEditor.m: Change becomeMainWindow call
  to makeMainWindow.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@33839 72102866-910b-0410-8b05-ffd578937521
2011-09-15 07:54:12 +00:00
Wolfgang Lux
acbfc23850 Initialize the items of Gorm's predefined Find menu with tags and
actions suitable for using the standard NSTextView find panel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31069 72102866-910b-0410-8b05-ffd578937521
2010-08-02 19:10:17 +00:00
Wolfgang Lux
35848ad6fd Don't validate menu items in design menus in Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30466 72102866-910b-0410-8b05-ffd578937521
2010-05-28 21:46:07 +00:00
Wolfgang Lux
b8cc207f46 Add support for a recent documents menu in gorm documents.
Add a recent documents menu to the file menu and undo and redo
commands to the edit menu in Gorm's palette.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30465 72102866-910b-0410-8b05-ffd578937521
2010-05-28 21:41:25 +00:00
Gregory John Casamento
92376549f6 * GormCore/GNUmakefile: Added reference to new classes.
* GormCore/GormBoxEditor.m: Cleanup.
	* GormCore/GormClassManager.m: Correction for when loading from a
	nib and there are no custom classes in the nib file.
	* GormCore/GormDocumentWindow.m: Added awakeFromNib to accept
	mouse moved events.
	* GormCore/GormInternalViewEditor.m: Cleanup.
	* GormCore/GormStandaloneViewEditor.[hm]: Addition of new class.
	* GormCore/GormViewWithContentViewEditor.[hm]: Removal of
	handleMouseOnKnob:ofView:withEvent:,
	handleMouseOnView:withEvent: methods
	* GormCore/GormViewWithSubviewsEditor.[hm]: Addition of
	handleMouseOnKnob:ofView:withEvent:,
	handleMouseOnView:withEvent: methods
	* Palettes/0Menus/GormNSMenu.m: Cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28444 72102866-910b-0410-8b05-ffd578937521
2009-08-08 07:18:33 +00:00
Gregory John Casamento
094065690d * Palettes/0Menus/GormMenuEditor.m: -(void)deleteSelection, remove
arbitrary limitation which prevents removing all items in a menu.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@28130 72102866-910b-0410-8b05-ffd578937521
2009-03-24 22:02:41 +00:00
Gregory John Casamento
b6da98f29d * Palettes/0Menus/GormMenuEditor.m: Revert some changes from
previous modification.  Corrects issue with submenus showing up
	when they shouldn't.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27847 72102866-910b-0410-8b05-ffd578937521
2009-02-11 14:14:26 +00:00
Gregory John Casamento
1e20d5cf3d * Palettes/0Menus/GormNSMenu.m: Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27683 72102866-910b-0410-8b05-ffd578937521
2009-01-25 12:46:27 +00:00
Gregory John Casamento
2135f76a59 * Palettes/0Menus/GormMenuEditor.m: Display the in certain situations.
* Palettes/0Menus/GormNSMenu.m: Remove call to setMenu: in 
	_createWindow since it's not needed and was causing display issues.
	* Palettes/0Menus/GormNSMenuView.m: Use new method in NSMenuView
	to reduce code duplication.  Corrections for bug #25401.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27681 72102866-910b-0410-8b05-ffd578937521
2009-01-25 11:45:09 +00:00
Nicola Pero
131c05030e Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gorm
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27350 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:09:11 +00:00
Nicola Pero
86137d3fa7 Set GNUSTEP_CORE_SOFTWARE to YES so that gorm is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27337 72102866-910b-0410-8b05-ffd578937521
2008-12-18 19:06:27 +00:00
Gregory John Casamento
d5556cc6b0 Moved variables to class to fix linking issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25894 72102866-910b-0410-8b05-ffd578937521
2008-01-08 01:06:03 +00:00
Gregory John Casamento
3ca936cbef Call itemChanged to update the item so that changes are seen in the item immediately.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25579 72102866-910b-0410-8b05-ffd578937521
2007-11-11 05:19:43 +00:00
Gregory John Casamento
6ecd3e5341 Updated docs and added key dropdown for menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25578 72102866-910b-0410-8b05-ffd578937521
2007-11-11 02:47:42 +00:00
Gregory John Casamento
89386fd640 Changed header to reflect license change to GPLv3.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25559 72102866-910b-0410-8b05-ffd578937521
2007-11-05 23:44:36 +00:00
Gregory John Casamento
f6dc7bc66a Correct exception regarding locationKey.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25464 72102866-910b-0410-8b05-ffd578937521
2007-09-07 23:58:16 +00:00
Gregory John Casamento
aed6296957 Corrected compilation issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25433 72102866-910b-0410-8b05-ffd578937521
2007-09-01 20:25:19 +00:00
Gregory John Casamento
1e0950854b 2007-07-27 13:30-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Remove commented code.
        * Palettes/0Menus/GormNSMenu.m: Added private category to prevent
        compilation warning.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25361 72102866-910b-0410-8b05-ffd578937521
2007-07-27 17:31:51 +00:00
Gregory John Casamento
4bfb8f8101 2007-07-26 10:25-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/0Menus/GormNSMenuView.m: Remove commented out code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25357 72102866-910b-0410-8b05-ffd578937521
2007-07-26 14:26:10 +00:00
Gregory John Casamento
bde085c21f 2007-07-26 10:06-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Remove default setting
        * Palettes/0Menus/GNUmakefile: Add GormNSMenuView.m
        * Palettes/0Menus/GormNSMenu.m: Override methods to prevent changing
        style to Mac style for menu being edited.
        * Palettes/0Menus/GormNSMenuView.[mh]: New class overrides methods
        to prevent switching style to Mac style for menu being edited.
        * Palettes/0Menus/palette.table: Added substitution rule for 
        NSMenuView.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@25356 72102866-910b-0410-8b05-ffd578937521
2007-07-26 14:09:13 +00:00
Matt Rice
4a03adccea * Palettes/0Menus/GormMenuEditor.m (-mouseDown:): Call
startConnecting.
        * GormCore/GormViewEditor.m (-startConnectingObject:withEvent:): Ditto.
        * GormCore/GormObjectEditor.m (-mouseDown:): Ditto.
        * GormCore/GormDocument.m (changeToViewWithTag:): Don't change the
        selection if connecting.
        * GormCore/GormResourceManager.m: Revert previous commit.
        * Gorm.m (-startConnecting:): Remove checks for a nil
        connectDestination.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24178 72102866-910b-0410-8b05-ffd578937521
2006-12-03 01:11:26 +00:00
Gregory John Casamento
966d2b8409 Merge from NibCompatibility branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23033 72102866-910b-0410-8b05-ffd578937521
2006-06-05 02:12:00 +00:00
Gregory John Casamento
ec0d95b96f Corrected minor compilation warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21993 72102866-910b-0410-8b05-ffd578937521
2005-11-12 21:33:26 +00:00
Gregory John Casamento
0a4eb9ce3a Move all IBObjectAdditions definitions from various files into one file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21616 72102866-910b-0410-8b05-ffd578937521
2005-08-06 19:32:38 +00:00
Gregory John Casamento
2cbb6a93ed Copied main.m files to files with meaningful names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21615 72102866-910b-0410-8b05-ffd578937521
2005-08-06 19:17:05 +00:00
Gregory John Casamento
a2bd3f3fda Merged post 1.0 branch. Gorm 1.0 development will continue on a new gorm_1_0 branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21614 72102866-910b-0410-8b05-ffd578937521
2005-08-06 17:59:08 +00:00
Gregory John Casamento
a568609f3c 2005-07-23 18:02 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormInspectorsManager.m: Remove extra revert: call.
	* GormLib/IBInspector.m: Touch changes the inspector X to the broken
	X, per specs.
	* Gorm.m:
	* Palettes/0Menus/main.m: Added to authors list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21524 72102866-910b-0410-8b05-ffd578937521
2005-07-24 01:17:16 +00:00
Fabien Vallon
fc6913b7ff Fixed bug #13872
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21507 72102866-910b-0410-8b05-ffd578937521
2005-07-21 11:41:04 +00:00
Fabien Vallon
a8b16e954b set firstInitialFirstResponder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21450 72102866-910b-0410-8b05-ffd578937521
2005-07-11 14:01:07 +00:00
Fabien Vallon
9bb2454f1f improve ui : set setNextView: / initialFirstResponder & delegate method for textfield
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21413 72102866-910b-0410-8b05-ffd578937521
2005-07-07 12:43:21 +00:00
Gregory John Casamento
0471cd39bf Removed +new from use in some classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21325 72102866-910b-0410-8b05-ffd578937521
2005-06-17 21:28:50 +00:00
Gregory John Casamento
f05bc9d063 Code cleanup. Removal of "new" call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21319 72102866-910b-0410-8b05-ffd578937521
2005-06-17 11:52:30 +00:00
Gregory John Casamento
4d39d97c82 Updated gorm file version to handle window autopositioning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21281 72102866-910b-0410-8b05-ffd578937521
2005-06-04 11:46:43 +00:00
Gregory John Casamento
f5d58d88ac Change of address change for FSF.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21261 72102866-910b-0410-8b05-ffd578937521
2005-05-26 03:37:38 +00:00
Gregory John Casamento
2c832d7795 Refactored code out of GormPrivate and into separate headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21149 72102866-910b-0410-8b05-ffd578937521
2005-04-23 18:43:36 +00:00
Gregory John Casamento
e2bd7a4fc5 Removed extra attach.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21142 72102866-910b-0410-8b05-ffd578937521
2005-04-22 16:41:17 +00:00
Gregory John Casamento
9e92da8d1b Corrected a problem with pasting menu items/menus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21141 72102866-910b-0410-8b05-ffd578937521
2005-04-22 16:27:35 +00:00
Gregory John Casamento
aef0f307df improvments to palette loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21115 72102866-910b-0410-8b05-ffd578937521
2005-04-16 21:25:33 +00:00