Commit graph

364 commits

Author SHA1 Message Date
Sebastian Reitenbach
5cdfadcb56 * Palettes/2Controls/GormColorWellAttributesInspector.h
fix typo in header guard


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37924 72102866-910b-0410-8b05-ffd578937521
2014-05-30 12:08:28 +00:00
Gregory John Casamento
4ff11ce871 Fix for bug#28646
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37912 72102866-910b-0410-8b05-ffd578937521
2014-05-27 07:27:32 +00:00
Gregory John Casamento
4c6a4d7baf Accepted patch for 34877 by Sergei.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37909 72102866-910b-0410-8b05-ffd578937521
2014-05-26 22:33:29 +00:00
Fred Kiefer
1fb82b12ec * Palettes/2Controls/GormButtonAttributesInspector.h: Use
NSButton instead of the non-existign NSSwitch.
        * GormCore/GormViewKnobs.m: Replace DPS calls. Only realloc
        rect lists if needed.
        * Plugins/Gorm/GormGormWrapperBuilder.m,
        * Palettes/2Controls/GormPopUpButtonAttributesInspector.m,
        * Palettes/2Controls/GormButtonEditor.m: Remove compiler
        warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37618 72102866-910b-0410-8b05-ffd578937521
2014-01-19 19:25:44 +00:00
Sebastian Reitenbach
6ef0a5f06a * GormCore/GormClassEditor.m
* GormCore/GormFilePrefsManager.m
        * Palettes/3Containers/GormBrowserAttributesInspector.m
        * Palettes/3Containers/GormTabViewAttributesInspector.m
        fix format strings



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37255 72102866-910b-0410-8b05-ffd578937521
2013-10-19 16:07:04 +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
30f4e9a6ff * Palettes/3Containers/GormNSOutlineView.m
* GormCore/GormMatrixEditor.m
        * GormCore/GormClassEditor.m
          some int -> NSInteger and float -> CGFloat transitions
          spotted by libobjc2 runtime in debug mode


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36656 72102866-910b-0410-8b05-ffd578937521
2013-05-26 12:04:43 +00:00
Gregory John Casamento
d92bf3d1e1 * GormCore/GormDocument.m: Touch document when aligning views in
-alignSelectedObjects:.
	* Palettes/4Data/DataPalette.m: -depositViewResourceFromPasteboard:..
	touch document when adding formatter.
	* Palettes/4Data/GormDateFormatterAttributesInspector.m
	* Palettes/4Data/GormNumberFormatterAttributesInspector.m:
	-ok: touch document when changing formatter.
	Fixes forbug #28643.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36288 72102866-910b-0410-8b05-ffd578937521
2013-03-06 05:07:51 +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
451e84bc06 * Palettes/2Controls/GormColorWellAttributesInspector.m: NSColorWell
inspector was showing inverted settings after the last change.
	Corrected this in -ok: and -revert:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35963 72102866-910b-0410-8b05-ffd578937521
2013-01-13 21:58:40 +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
4b3e74e68e * Palettes/2Controls/GormNSPopUpButton.h
* Palettes/2Controls/GormNSPopUpButton.m: Added new files for
	Gorm subclass of NSPopUpButton.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35095 72102866-910b-0410-8b05-ffd578937521
2012-04-20 16:17:06 +00:00
Gregory John Casamento
0f780c7001 * GormCore/GormCustomView.m
* GormCore/GormFilesOwner.m
	* GormCore/GormFunctions.m
	* GormObjCHeaderParser/OCHeaderParser.m
	* Palettes/2Controls/ControlsPalette.m
	* Palettes/2Controls/GNUmakefile
	* Palettes/2Controls/GormPopUpButtonEditor.m
	* Palettes/3Containers/GormNSBrowser.m
	* Palettes/4Data/GormImageViewAttributesInspector.m: Correct
	compiler warnings found by clang.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35094 72102866-910b-0410-8b05-ffd578937521
2012-04-20 16:03:21 +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
d856f0eb5e * GormCore/GormPrivate.m: Remove poseAs: override. Fix for
compilation with ObjC2.0 compilers.
	* Palettes/3Containers/GormNSTableColumnInspector.gorm:
	Correction for tableView column identifiers.   Delegate
	wasn't connected.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34763 72102866-910b-0410-8b05-ffd578937521
2012-02-15 23:00:44 +00:00
Eric Wasylishen
5734051eb2 * Palettes/3Containers/GormTableColumnAttributesInspector.m:
Set editable state of the data cell to match editable state
of the column. (NSTableView now refuses to edit non-editable
data cells in editable columns.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34551 72102866-910b-0410-8b05-ffd578937521
2012-01-15 21:46:00 +00:00
Eric Wasylishen
fe4aa441cf * Palettes/3Containers/GormTabViewAttributesInspector.m:
Add retain/release so tab view item isn't deallocated while
being moved from one position to another.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34550 72102866-910b-0410-8b05-ffd578937521
2012-01-15 21:43:20 +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
Gregory John Casamento
b370305730 Changes to implement feature requestion in #32802. Support for sorting in table columns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34089 72102866-910b-0410-8b05-ffd578937521
2011-10-29 21:53:11 +00:00
Gregory John Casamento
4609f85bdf Changes to support sort descriptors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@34069 72102866-910b-0410-8b05-ffd578937521
2011-10-25 23:38:10 +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
7cf6d8e775 Get the formatter panel working again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@33840 72102866-910b-0410-8b05-ffd578937521
2011-09-15 08:59:22 +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
5242b29ed1 Properly read and display the state of the text field for enter/end editing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@32930 72102866-910b-0410-8b05-ffd578937521
2011-04-27 00:13:02 +00:00
Gregory John Casamento
6fb6fc17a1 Implemenation of changes for task #10799. Send action on end/enter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@32760 72102866-910b-0410-8b05-ffd578937521
2011-04-01 06:55:48 +00:00
Gregory John Casamento
8ca38fe5af Archive by name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31710 72102866-910b-0410-8b05-ffd578937521
2010-12-05 23:59:32 +00:00
Gregory John Casamento
aaf510c28a * Palettes/4Data/GormImageViewAttributesInspector.m: Remove check for
name so that images which currently do not reference a known image
	can be saved by name.
	* Palettes/4Data/GormNSImageViewInspector.gorm: Add connection
	to ok: from the text field.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31709 72102866-910b-0410-8b05-ffd578937521
2010-12-05 23:02:35 +00:00
Wolfgang Lux
bba99ed040 Complete last commit, which was missing the actual code changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31370 72102866-910b-0410-8b05-ffd578937521
2010-09-17 20:45:55 +00:00
Wolfgang Lux
e75bdaf6ef Add switches to Gorm's text view inspector to control use of an undo
manager and the find panel, respectively.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31369 72102866-910b-0410-8b05-ffd578937521
2010-09-17 20:41:36 +00:00
Wolfgang Lux
a7ba28644f Fix Gorm bug where a button's title was lost when starting editing by
double clicking into the button.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31368 72102866-910b-0410-8b05-ffd578937521
2010-09-17 20:38:14 +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
fa3445b7c7 Copy change from -gui to Gorm which swaps the meaning of NSMinYEdge
and NSMaxYEdge for attaching a pull down menu to its button.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30840 72102866-910b-0410-8b05-ffd578937521
2010-06-23 22:50:06 +00:00
Wolfgang Lux
b192a466d7 Add a form to Gorm's pop up button inspector to allow editing the
title of a pull down menu and a pop up button to allow setting its
preferred attachment edge.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30838 72102866-910b-0410-8b05-ffd578937521
2010-06-23 22:32:22 +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
87fc1464c0 * GormCore/GormFilePrefsManager.m: Update version
* GormInfo.plist: Update version
	* Palettes/2Controls/GormPopUpButtonEditor.m: Override
	method to prevent changes to appearance during editing.
	* Version: Change to 1.2.13 for SVN version of Gorm.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@30432 72102866-910b-0410-8b05-ffd578937521
2010-05-20 07:58:02 +00:00
Gregory John Casamento
84f574ff04 Remove background, replace with alpha.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29723 72102866-910b-0410-8b05-ffd578937521
2010-02-24 22:57:22 +00:00
Wolfgang Lux
5bde203cac Replace the two< orphaned radio buttons in the controls palette by a
NSMatrix as in Apple/NeXT's InterfaceBuilder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29448 72102866-910b-0410-8b05-ffd578937521
2010-01-30 11:45:19 +00:00
Wolfgang Lux
7384863826 Fix NSButton inspector to use \r as key equivalent for the Return key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29307 72102866-910b-0410-8b05-ffd578937521
2010-01-17 10:52:11 +00:00
Gregory John Casamento
8f65229b42 * GormCore/GNUmakefile: Add files here.
* GormCore/GormNSPanel.[hm]
	* GormCore/GormNSWindow.[hm]: Move GormNSPanel.[hm] and 
	GormWindow.[hm] here.
	* Palettes/1Windows/GNUmakefile: Remove files from being compiled
	* Palettes/1Windows/GormNSPanel.h
	* Palettes/1Windows/GormNSPanel.m
	* Palettes/1Windows/GormNSWindow.h
	* Palettes/1Windows/GormNSWindow.m: Remove these from here
	* Palettes/1Windows/GormWindowAttributesInspector.m
	* Palettes/1Windows/WindowsPalette.m: Change to include
	GormNSPanel/GormNSWindow from the correct area.

	This was done to correct compilation on windows since the Nib plugin
	needs the GormNSWindow class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@29220 72102866-910b-0410-8b05-ffd578937521
2010-01-06 06:05:08 +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
d495893e23 * GormCore/GormDocument.m: Remove call to deprecated method.
* GormCore/GormInternalViewEditor.m: Minor cleanup
	* GormObjCHeaderParser/OCMethod.m: Minor cleanup
	* Palettes/2Controls/GormNSTextFieldInspector.gorm: Correct issue
	with misspelled outlet name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27841 72102866-910b-0410-8b05-ffd578937521
2009-02-11 06:25:12 +00:00
Gregory John Casamento
9e5f9c8fe0 * Palettes/2Controls/GormButtonAttributesInspector.[hm]:
Added code to handle button style.
        * Palettes/2Controls/GormNSButtonInspector.gorm: Added button
        style popup to the inspector.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27761 72102866-910b-0410-8b05-ffd578937521
2009-02-02 22:05:56 +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