Commit graph

62 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
db6fe33741 Merge from branch: build_reorg_branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21012 72102866-910b-0410-8b05-ffd578937521
2005-03-31 03:01:36 +00:00
Gregory John Casamento
cbffe63197 Improvement on previous correction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20497 72102866-910b-0410-8b05-ffd578937521
2004-12-28 13:35:52 +00:00
Gregory John Casamento
027c7540a0 Correction for bug#11410.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20494 72102866-910b-0410-8b05-ffd578937521
2004-12-28 03:00:32 +00:00
Gregory John Casamento
0d3289f6c3 Correction for a number of issues found today.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@20492 72102866-910b-0410-8b05-ffd578937521
2004-12-28 02:25:18 +00:00
Gregory John Casamento
41ac255873 Some fixes including one for bug #10026.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19878 72102866-910b-0410-8b05-ffd578937521
2004-08-18 04:19:45 +00:00
Gregory John Casamento
a7e80c4de1 Quick fix for Bug#9827.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19829 72102866-910b-0410-8b05-ffd578937521
2004-08-06 11:17:45 +00:00
Gregory John Casamento
47d5d55cc6 Some memory leak fixes and some minor improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19754 72102866-910b-0410-8b05-ffd578937521
2004-07-21 01:49:07 +00:00
Gregory John Casamento
3a6b0cfd40 Correction to window inspector spacing. Improvment to how services/windows menus are handled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19425 72102866-910b-0410-8b05-ffd578937521
2004-05-29 19:18:22 +00:00
Gregory John Casamento
e58da6f7b8 Some additional memory management improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19302 72102866-910b-0410-8b05-ffd578937521
2004-05-13 22:48:14 +00:00
Gregory John Casamento
a840e3a7ee Rearrangement, refactoring and a memory leak fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19296 72102866-910b-0410-8b05-ffd578937521
2004-05-13 05:13:36 +00:00
Gregory John Casamento
0db2a1bb38 Fix for longstanding Menu display bug in Gorm. Thank goodness. ;)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19220 72102866-910b-0410-8b05-ffd578937521
2004-05-01 00:05:53 +00:00
Gregory John Casamento
16caf8e697 Corrected an issue with menu editing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19207 72102866-910b-0410-8b05-ffd578937521
2004-04-28 02:13:57 +00:00
Gregory John Casamento
772c73fc2c Correction for bug which was allowing an entire menu to be dragged into an existing one. This caused an issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18885 72102866-910b-0410-8b05-ffd578937521
2004-03-24 20:22:39 +00:00
Gregory John Casamento
28946211c7 Additional improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18876 72102866-910b-0410-8b05-ffd578937521
2004-03-24 05:00:08 +00:00
Gregory John Casamento
8861f4f3c7 Improvements in menu handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18875 72102866-910b-0410-8b05-ffd578937521
2004-03-24 03:08:02 +00:00
Gregory John Casamento
52db475527 Several important fixes. Document cleanup, menu management.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18859 72102866-910b-0410-8b05-ffd578937521
2004-03-21 05:12:27 +00:00
Gregory John Casamento
a7bd9866f3 Cleanup of logging and new prefs section for archives.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18637 72102866-910b-0410-8b05-ffd578937521
2004-02-21 18:48:48 +00:00
Gregory John Casamento
055582406c Correction for bug #3439.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18517 72102866-910b-0410-8b05-ffd578937521
2004-02-01 02:16:45 +00:00
Gregory John Casamento
04a1e1aa59 Moved some common utility/convenience methods into functions. Improved cleanup of objects in the document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18503 72102866-910b-0410-8b05-ffd578937521
2004-01-30 04:19:11 +00:00
Gregory John Casamento
7914bf834d Minor correction to the code which attaches objects to the document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18411 72102866-910b-0410-8b05-ffd578937521
2004-01-14 06:37:54 +00:00
Gregory John Casamento
3414504517 Corrected issue #6467.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18374 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:03:45 +00:00
Gregory John Casamento
efce7b72f9 Removed assertion which is no longer needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18135 72102866-910b-0410-8b05-ffd578937521
2003-11-24 06:32:01 +00:00
Gregory John Casamento
7b2f9f74b4 Correcting some menu difficulties with Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17827 72102866-910b-0410-8b05-ffd578937521
2003-10-13 03:32:51 +00:00
Gregory John Casamento
15253a9462 New .gorm based inspectors for menus and menu items. Also some general code cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17737 72102866-910b-0410-8b05-ffd578937521
2003-09-28 01:58:57 +00:00
Gregory John Casamento
b747859b74 Correction for Gorm to correspond with change in gui to make _menu private in NSResponder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17328 72102866-910b-0410-8b05-ffd578937521
2003-07-24 04:40:55 +00:00
Gregory John Casamento
8fef77ed94 General clean up. Moved some constants. added the beginnings of a new
inspector.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@16829 72102866-910b-0410-8b05-ffd578937521
2003-05-29 05:40:28 +00:00
Gregory John Casamento
314ea111d8 Various fixes to compilation warnings and an NSPanel fix which allows the NSWindow inspector to be used on a panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15477 72102866-910b-0410-8b05-ffd578937521
2003-01-04 00:17:43 +00:00
Gregory John Casamento
e150b5b43b Adding new interface file and enhancing Gorm.m to validate menu correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15439 72102866-910b-0410-8b05-ffd578937521
2003-01-01 17:50:17 +00:00
Gregory John Casamento
4a7b6df80a Bug fixes and updates. Corrected problem with menu editor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15437 72102866-910b-0410-8b05-ffd578937521
2003-01-01 05:37:02 +00:00
Adam Fedor
5dd4796de5 Don't allow all items to be removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15367 72102866-910b-0410-8b05-ffd578937521
2002-12-29 03:43:19 +00:00