Commit graph

65 commits

Author SHA1 Message Date
Gregory John Casamento
555fc13e2e * Source/GSNibLoading.m: Read objects/accessibility and oids
maps if we are in a gui builder so that data is accessible.
        * Source/NSActionCell.m: Don't archive target/action if they
        have no values.
        * Source/NSMenu.m: Only archive as "_NSMainMenu" if it has
        no parent and is not owner by a popup.
        * Source/NSPopUpButtonCell.m: Archive the default menu item
        which will show when this popup is displayed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27363 72102866-910b-0410-8b05-ffd578937521
2008-12-21 03:11:08 +00:00
Gregory John Casamento
c6ba3b8f8b * Source/GSNibLoading.m: Remove change which resets the bounds
in NSCustomView as it was not needed and caused issues in some 
	cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27326 72102866-910b-0410-8b05-ffd578937521
2008-12-18 02:14:02 +00:00
Gregory John Casamento
69d27431a9 * Source/GSNibLoading.m: Correct issue with setting next key view and
previous key view.
	* Source/NSView.m: Comment out frame/bounds matrix calculation since they
	are done when needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27317 72102866-910b-0410-8b05-ffd578937521
2008-12-17 00:36:12 +00:00
Gregory John Casamento
941c0684cb * Source/GSNibLoading.m: Changes to initialize bounds in
NSCustomView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27316 72102866-910b-0410-8b05-ffd578937521
2008-12-16 22:17:27 +00:00
Gregory John Casamento
21cf915c13 * Source/GSNibLoading.m: Make the log ino debug in awakeFromNib
* Source/NSApplication.m: Allow modal to end multiple times, per spec
        there is no exception for doing this.
        * Source/NSPasteboard.m: Allow multiple threads in pasteboard
        communication.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27306 72102866-910b-0410-8b05-ffd578937521
2008-12-16 18:59:26 +00:00
Gregory John Casamento
b10f360ccb * Source/GSNibLoading.m: remove extraneous awakeFromNib call in
nibInstantiateWithOwner:topLevelObjects:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27299 72102866-910b-0410-8b05-ffd578937521
2008-12-16 00:43:42 +00:00
Gregory John Casamento
214c745d1c * Headers/Additions/GNUstepGUI/GSNibLoading.h: Added methods to header
which were added during refactoring.
        * Source/GSNibLoading.m: Corrections to NSCustomView, refactoring.
        Changes to initialization logic to call awakeFromNib.
        * Source/NSBundleAdditions.m: Cleanup to move code to the nib loading
        code.
        * Source/NSClipView.m: Added assertion to guarantee that no
        NSCustomView is unarchived at time of initWithCoder: being called.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27298 72102866-910b-0410-8b05-ffd578937521
2008-12-15 23:34:09 +00:00
Gregory John Casamento
05bec8c892 * Headers/Additions/GNUstepGUI/GSNibLoading.h: Added new method
nibInstantiateWithCoder: to do the initialization normally done
        in NSView when not in IB/Gorm.
        * Source/GSNibLoading.m: Added implementation of new method and
        also re-wrote part of NSCustomView.
        * Source/NSView.m: Added an NSAssert to assure that no subview
        ever decoded is an NSCustomView.
---
Moved decoding of custom view attributes here so that it can cleanly initialize everything to ensure that the view works properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27281 72102866-910b-0410-8b05-ffd578937521
2008-12-12 07:03:48 +00:00
Gregory John Casamento
ec503ee59d * Source/GSNibLoading.m: Change code which adds subviews to use
an enumerator.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27273 72102866-910b-0410-8b05-ffd578937521
2008-12-10 07:26:06 +00:00
Gregory John Casamento
8068661f12 * Source/GSNibLoading.m: Add back code with adds in subviews from
the custom view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27272 72102866-910b-0410-8b05-ffd578937521
2008-12-10 06:48:43 +00:00
Gregory John Casamento
2e585bc667 * Source/GSNibLoading.m: (-[NSCustomView initWithCoder:]) replace
with real object and also replace in the coder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27271 72102866-910b-0410-8b05-ffd578937521
2008-12-10 06:32:08 +00:00
Gregory John Casamento
09955c2002 * Source/GSNibLoading.m: Check to make sure the menu has more than
0 entries in _setMain:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27206 72102866-910b-0410-8b05-ffd578937521
2008-12-04 03:33:02 +00:00
Gregory John Casamento
0425232826 * Source/GSNibLoading.m: Added some new methods to address
bug #24985.
	* Source/NSMenu.m: Removed some spaces after a close brace.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27196 72102866-910b-0410-8b05-ffd578937521
2008-12-03 04:52:06 +00:00
Gregory John Casamento
7e2e7607b5 * Source/GSNibLoading.m
* Source/NSButtonCell.m
	* Source/NSNibAXAttributeConnector.m
	* Source/NSNibAXRelationshipConnector.m
	* Source/NSNibBindingConnector.m
	* Source/NSNib.m
	* Source/NSProgressIndicator.m: Change to use new headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27189 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:27:14 +00:00
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
Renamed from Source/GSNibCompatibility.m (Browse further)