Commit graph

45 commits

Author SHA1 Message Date
Gregory John Casamento
252c5e6ccd * Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Remove
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Remove 
	* Source/GNUmakefile: Update to reference new files.
	* Source/GSGormLoader.m: Change to reference the 
	* Source/GSGormLoading.m: New gorm loading file.
	* Source/GSNibCompatibility.m: Removed.
	* Source/GSNibLoader.m: Reference the new file.
	* Source/GSNibLoading.m: New file containing the nib loading logic.
	* Source/GSNibTemplates.m: Removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27188 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:05:19 +00:00
Gregory John Casamento
cfbf81636e * Source/GSNibTemplates.m: Remove calls to designated initializers
as per documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27104 72102866-910b-0410-8b05-ffd578937521
2008-11-21 06:07:52 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Gregory John Casamento
be60d48778 * Headers/AppKit/NSWindow.h: Minor cleanup and spacing.
* Source/GSNibTemplates.m: Removed call to designated init, since
	this is handled by the initWithCOoder method in NSWindow.m.
	* Source/NSWindow.m: Correction for calling the designated initializer.
	Fix for bug#23336.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26567 72102866-910b-0410-8b05-ffd578937521
2008-05-24 15:00:12 +00:00
Gregory John Casamento
980e82dfb8 Corrected deferredWindows method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26475 72102866-910b-0410-8b05-ffd578937521
2008-04-25 22:18:34 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Gregory John Casamento
6462d48f4a Added better error message to initWithCoder in GSNibContainer and also added code in GSNibCompatibility to fix superview and window settings after a window is loaded in the nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23180 72102866-910b-0410-8b05-ffd578937521
2006-07-19 03:16:49 +00:00
Gregory John Casamento
f4032747d3 GSNibContainer version 2 changes. New method declarations for customClasses, visibleWindows and deferredWindows. Changes to init, initWithCoder: and encodeWithCoder: to handle the new data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23150 72102866-910b-0410-8b05-ffd578937521
2006-07-09 14:54:51 +00:00
Gregory John Casamento
840d700ce6 Minor reorganization, added exceptions for classes that don't implement non-keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23040 72102866-910b-0410-8b05-ffd578937521
2006-06-08 04:04:17 +00:00
Richard Frith-Macdonald
7971a89c72 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
Gregory John Casamento
07a3bffbc4 Prevent accidental deallocation of contentView in custom window subclass.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21509 72102866-910b-0410-8b05-ffd578937521
2005-07-21 12:29:24 +00:00
Gregory John Casamento
15fa68d502 Minor updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21285 72102866-910b-0410-8b05-ffd578937521
2005-06-04 19:52:40 +00:00
Gregory John Casamento
f15b1a56b7 Adds window autopositioning to Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21280 72102866-910b-0410-8b05-ffd578937521
2005-06-04 11:35:22 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Gregory John Casamento
2c274d8449 Prevent call to designated init when className and superClass are equivalent.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21180 72102866-910b-0410-8b05-ffd578937521
2005-05-03 03:45:38 +00:00
Gregory John Casamento
9e040bfe2b Correction to template. Should initilialize with the content rect, not the window rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21175 72102866-910b-0410-8b05-ffd578937521
2005-05-01 21:09:58 +00:00
Gregory John Casamento
502aa73e64 Removed assertion and cleaned up comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21158 72102866-910b-0410-8b05-ffd578937521
2005-04-25 04:08:10 +00:00
Gregory John Casamento
819869d5e3 Correction for minor leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21088 72102866-910b-0410-8b05-ffd578937521
2005-04-11 14:30:27 +00:00
Gregory John Casamento
e739e88641 Removed unneeded nibInstantiate method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20303 72102866-910b-0410-8b05-ffd578937521
2004-11-06 13:48:12 +00:00
Gregory John Casamento
b9ea1b1822 Some slight improvements. Made templates use a method called shouldSwapClass which checks for the existence of isInInterfaceBuilder and, if available, returns the value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19933 72102866-910b-0410-8b05-ffd578937521
2004-08-28 14:41:16 +00:00
Gregory John Casamento
c7d52d3fd8 Corrected spelling of "merely" in my explanation of how to correctly release nib objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19766 72102866-910b-0410-8b05-ffd578937521
2004-07-22 04:14:03 +00:00
Gregory John Casamento
5737b76c79 Added an informative comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19748 72102866-910b-0410-8b05-ffd578937521
2004-07-18 16:04:39 +00:00
Gregory John Casamento
bb09d6f82d Removed some old commented out code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19747 72102866-910b-0410-8b05-ffd578937521
2004-07-18 15:55:22 +00:00
Gregory John Casamento
7f1e3425e5 Change to GSNibContainer to allow encoding of older container version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19718 72102866-910b-0410-8b05-ffd578937521
2004-07-12 03:27:36 +00:00
Gregory John Casamento
95a20b1b16 New .gorm version updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19649 72102866-910b-0410-8b05-ffd578937521
2004-06-29 03:04:28 +00:00
Alexander Malmberg
533700c724 Replace calls to GSGetInstanceMethodNotInherited with calls to GSGetMethod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19634 72102866-910b-0410-8b05-ffd578937521
2004-06-27 21:14:04 +00:00
Gregory John Casamento
64ef0ab5fa Temporary removal of NSNib pending bugfix. :)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18568 72102866-910b-0410-8b05-ffd578937521
2004-02-09 01:50:45 +00:00
Gregory John Casamento
27ed3ba5e0 Committing implementation of NSNib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18557 72102866-910b-0410-8b05-ffd578937521
2004-02-08 06:38:37 +00:00
Gregory John Casamento
d99febaf24 Removed some commented out test code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18464 72102866-910b-0410-8b05-ffd578937521
2004-01-24 02:27:11 +00:00
Gregory John Casamento
e5ca42f61a Fix for decoding issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18368 72102866-910b-0410-8b05-ffd578937521
2004-01-10 23:46:59 +00:00
Gregory John Casamento
56532346c7 Removed some uncessary includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18307 72102866-910b-0410-8b05-ffd578937521
2004-01-04 04:29:57 +00:00
Gregory John Casamento
e8c1d1f693 Improved mechanism for retaining the top level objects represented by GSNibItems in the .gorm archive.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18286 72102866-910b-0410-8b05-ffd578937521
2003-12-30 05:45:40 +00:00
Gregory John Casamento
b1410489ee Eliminated leak in GSClassSwapper.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18284 72102866-910b-0410-8b05-ffd578937521
2003-12-30 01:52:26 +00:00
Gregory John Casamento
75d4c1baa5 Added documentation. Refined fix to GSNibTemplates.m concerning memory leak. More improvements to follow. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18281 72102866-910b-0410-8b05-ffd578937521
2003-12-29 05:38:46 +00:00
Gregory John Casamento
7a2107824b Cleanup of memory management in loadNib code. Minor formatting changes in gopen and GSspell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18264 72102866-910b-0410-8b05-ffd578937521
2003-12-23 18:45:18 +00:00
Alexander Malmberg
2b788e590f ([GSNibContainer -awakeWithContext:]): Don't release connections when enumerating them. Partial fix for bug #6354.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18102 72102866-910b-0410-8b05-ffd578937521
2003-11-22 14:12:54 +00:00
Gregory John Casamento
98a44831b1 Added back in the old templates for backwards compatibility. These will disappear in the next major release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17977 72102866-910b-0410-8b05-ffd578937521
2003-10-25 20:50:08 +00:00
Gregory John Casamento
b2caeb45dd Adding fix for report #5205. Services and Windows menus now should behave correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17741 72102866-910b-0410-8b05-ffd578937521
2003-09-28 23:25:16 +00:00
Gregory John Casamento
ee1d9197b7 Corrected mainMenu initialization problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17582 72102866-910b-0410-8b05-ffd578937521
2003-09-01 09:21:46 +00:00
Gregory John Casamento
7f15b1ab39 Correct extra retain count issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17576 72102866-910b-0410-8b05-ffd578937521
2003-08-31 03:42:03 +00:00
Gregory John Casamento
ea85bcccb7 Added code to conditionally call desig. init. if it is defined on current class (only not parents).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17572 72102866-910b-0410-8b05-ffd578937521
2003-08-30 05:01:47 +00:00
Gregory John Casamento
c071ffba8d Corrected a segfault and prevent calling designated initializer when loading into interface buidler app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17562 72102866-910b-0410-8b05-ffd578937521
2003-08-28 04:38:22 +00:00
Gregory John Casamento
e1c69fed03 Corrected a memory issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17535 72102866-910b-0410-8b05-ffd578937521
2003-08-25 04:50:09 +00:00
Gregory John Casamento
a32c4a14df Added more of the implementation for toolbar/toolbaritem. Added check in GSClassSwapper to prevent an error case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17532 72102866-910b-0410-8b05-ffd578937521
2003-08-24 17:22:11 +00:00
Gregory John Casamento
bc7f655703 Adding new templates and deprecating the old ones.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17511 72102866-910b-0410-8b05-ffd578937521
2003-08-23 01:03:40 +00:00