Commit graph

394 commits

Author SHA1 Message Date
fredkiefer
85247d72a3 * GormCore/GormInspectorsManager.m: Disable menu update during
bulk change.
2019-07-26 23:37:11 +02:00
fredkiefer
d587e3f195 Add .gitignore.
Fix a few compiler warnings.
2019-07-26 21:29:00 +02:00
Gregory John Casamento
6a42c50648 Commit before release 2019-02-07 02:15:01 -05:00
David Chisnall
04554d25c8 Fix accidental variable shadowing.
We were looking up the ivar, but then not using the result, so got null
pointer dereferences later.

This should have been caught by normal compiler warnings, but apparently
Gorm turns them off.
2019-02-03 09:23:14 +00:00
fredkiefer
0d3ab06c92 * GormCore/GormDocument.m: Fix wrong string type in David Chisnall
fix for the new libobjc.
2019-01-25 13:14:55 +01:00
David Chisnall
c3c93818af Fix typo in last commit. 2018-12-30 17:30:48 +00: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
Riccardo
dcbf7d7746
Merge pull request #3 from alexmyczko/patch-1
Update GormObjectEditor.m
2018-10-23 12:54:57 +02:00
Alex Myczko
cbafbd8ccb
Update GormResourceEditor.m
fix typo
2018-09-13 13:06:34 +02:00
Alex Myczko
e68486f6cc
Update GormObjectEditor.m
fix typo
2018-09-13 13:05:48 +02:00
Gregory John Casamento
8cdfc782d8 Fix bug#52494: Loading translations should now handle exceptions. 2018-01-24 21:11:39 -05:00
Graham Lee
ab57b33375 Remove redundant Gorm->documents collection and unused method that referenced it 2017-10-26 17:10:00 +01:00
Gregory John Casamento
2ef9a6d656 Update version numbers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@40026 72102866-910b-0410-8b05-ffd578937521
2016-07-19 17:08:46 +00:00
Gregory John Casamento
cb0e765961 Fix issue found by Riccardo and Fred when reading in a nib, a panel will get decoded as a NSWindow instead of an NSPanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@39156 72102866-910b-0410-8b05-ffd578937521
2015-11-06 01:42:51 +00:00
Riccardo Mottola
4a816635df argument is float, so use fabs() and cast to int
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@39012 72102866-910b-0410-8b05-ffd578937521
2015-09-22 16:01:51 +00:00
Gregory John Casamento
122fa03d06 Disabling repairFile: pending further development. Update version files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@38513 72102866-910b-0410-8b05-ffd578937521
2015-05-20 10:18:40 +00:00
Riccardo Mottola
c7651517ef Use cast to larger type for string formatting to allow compilation on Solaris
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@38459 72102866-910b-0410-8b05-ffd578937521
2015-04-17 17:52:51 +00:00
Gregory John Casamento
14b3cc8602 Fix for bug#42782
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@38136 72102866-910b-0410-8b05-ffd578937521
2014-10-28 07:09:52 +00:00
Fred Kiefer
9c9af61d37 * GormCore/GormDocument.m: Rewrite fix for bug #39072 to stop
leaking memory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@38052 72102866-910b-0410-8b05-ffd578937521
2014-08-31 19:47:45 +00:00
Fred Kiefer
abce1603c7 * GormCore/GormImage.m: Fix the init issue for the second
method as well. Small cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@38002 72102866-910b-0410-8b05-ffd578937521
2014-07-21 07:21:48 +00:00
Gregory John Casamento
2af7de1105 Fix bug #28644
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37931 72102866-910b-0410-8b05-ffd578937521
2014-05-31 15:00:47 +00:00
Riccardo Mottola
7d0d96a1bc Explicitely cast NSIntegers to avoid warning and problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37916 72102866-910b-0410-8b05-ffd578937521
2014-05-28 07:02:41 +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
3b78ac2018 Fix bug #39072
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37911 72102866-910b-0410-8b05-ffd578937521
2014-05-27 07:17:37 +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
Fred Kiefer
facac34b47 Remove compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37617 72102866-910b-0410-8b05-ffd578937521
2014-01-19 11:19:59 +00:00
Fred Kiefer
311fe1003b * GormCore/GormResourceManager.m (-resourcePasteboardTypes): Add
IBMenuPboardType to work around menus not being draggable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37529 72102866-910b-0410-8b05-ffd578937521
2013-12-31 13:46:08 +00:00
Riccardo Mottola
1e7c9315b6 cast to fix warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37366 72102866-910b-0410-8b05-ffd578937521
2013-11-06 08:53:04 +00:00
Gregory John Casamento
e87fd029b4 int -> NSInteger transition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37359 72102866-910b-0410-8b05-ffd578937521
2013-11-04 15:02:25 +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
Riccardo Mottola
681db60988 Make runModal return NSInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36696 72102866-910b-0410-8b05-ffd578937521
2013-06-05 13:26:08 +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
50545e8f5a Update file manager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36529 72102866-910b-0410-8b05-ffd578937521
2013-04-14 17:20:55 +00:00
Gregory John Casamento
62eacb0443 * GormCore/GormViewEditor.m: -handleNotification: touch document
when text editing is completed.
	Fixes for bug #28643.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36289 72102866-910b-0410-8b05-ffd578937521
2013-03-06 06:45:57 +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
Gregory John Casamento
187ceaf5e7 * GormInternalViewEditor.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36286 72102866-910b-0410-8b05-ffd578937521
2013-03-06 01:22:16 +00:00
Gregory John Casamento
2acd3d425a * GormCore/GormWindowEditor.m: Second try to fix the previous
issue.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36198 72102866-910b-0410-8b05-ffd578937521
2013-02-25 20:07:57 +00:00
Gregory John Casamento
4523eaca35 * GormCore/GormWindowEditor.m: Check the _firstResponder on
the window to see if it is the same as the _initialFirstResponder.
	If it is, set it to nil as well in -unsetInitialFirstResponder:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36196 72102866-910b-0410-8b05-ffd578937521
2013-02-25 09:15:52 +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
Gregory John Casamento
c92bf0ebfb * GormCore/GormViewEditor.m: -editedObjectFrameDidChange:
alter code so that allViews under the editor are collected
	and set to not post notifications.  This change prevents
	a notification/setFrame cycle which was occurring when
	certain controls were added as subviews to NSTabView or
	NSBox.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36155 72102866-910b-0410-8b05-ffd578937521
2013-02-17 01:11:32 +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
David Chisnall
b259b857d0 Fix NSUInteger / unsigned mismatch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36031 72102866-910b-0410-8b05-ffd578937521
2013-01-28 14:04:38 +00:00
Gregory John Casamento
2e946568b1 * GormCore/GormDocument.m: Corrected issue with adding cells to
object tree so that the can be properly addressed in connections.
	Change to -attachObject:toParent:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@36024 72102866-910b-0410-8b05-ffd578937521
2013-01-27 01:43:35 +00:00
Gregory John Casamento
2ca9057318 * GormCore/GormViewSizeInspector.m: Correct bug#30886: Gorm should
change the document to edited when changing resize attributes.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35964 72102866-910b-0410-8b05-ffd578937521
2013-01-13 22:48:22 +00:00
Gregory John Casamento
1c60f26d3a * GormCore/GormViewEditor.m: Prevent recursive frame/bounds
notifications when resizing a view.
	* Plugins/Nib/GormNibWrapperLoader.m: Preliminary changes to support
	reading nibs as files instead of packages.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35882 72102866-910b-0410-8b05-ffd578937521
2012-12-12 17:35:27 +00:00
Gregory John Casamento
d7a2c8488f * GormCore/GormDocument.m: Apply patch suggested by Sebastian.
This appears to correct an issue seen by Sergey causing an out of
	memory error.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35318 72102866-910b-0410-8b05-ffd578937521
2012-07-26 02:34:50 +00:00
Gregory John Casamento
272e9c73ca Version 1.2.18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35215 72102866-910b-0410-8b05-ffd578937521
2012-06-19 04:47:30 +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
95434c6620 Fix compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@35096 72102866-910b-0410-8b05-ffd578937521
2012-04-20 22:55:27 +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