Commit graph

42 commits

Author SHA1 Message Date
Marcian Lytwyn
c6a5c9a81e Initial merge with r38582 of gui main trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38614 72102866-910b-0410-8b05-ffd578937521
2015-06-11 17:48:41 +00:00
Marcian Lytwyn
34bcb2c7c4 Fix object ID parsing in XIB loading due to Apple moving to string ID represenatation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38224 72102866-910b-0410-8b05-ffd578937521
2014-12-02 20:36:00 +00:00
Marcian Lytwyn
0176b9a65d Fix NSApplication check from rootObjects during XIB loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37827 72102866-910b-0410-8b05-ffd578937521
2014-05-01 15:16:01 +00:00
Marcian Lytwyn
a02122130c Update GSXibLoader for 4.6 XIBs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37462 72102866-910b-0410-8b05-ffd578937521
2013-12-13 16:10:32 +00:00
Frank Le Grand
4b27157a46 Merged Trunk changes from rev 35219 to TestPlant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36953 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:24:48 +00:00
Jonathan Gillaspie
b40571e9c5 Fix a problem where owner, firstResponder and application
were put in the list of top-level objects, creating a retain-cycle.  Fix a problem where view and window controllers did not release
their top-level objects as expected.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36127 72102866-910b-0410-8b05-ffd578937521
2013-02-13 20:18:52 +00:00
Doug Simons
562a722ac1 fix leak of NSXMLDocument during xib loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36126 72102866-910b-0410-8b05-ffd578937521
2013-02-13 18:41:24 +00:00
Doug Simons
8bfbc45fae get Fred's memory fix from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36125 72102866-910b-0410-8b05-ffd578937521
2013-02-13 16:59:29 +00:00
Marcian Lytwyn
36e77b95f7 Merge from revision 35723 from main branch plus NSCell allowsUndo flag extract from xib
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35724 72102866-910b-0410-8b05-ffd578937521
2012-10-19 22:51:20 +00:00
Marcian Lytwyn
894510e18d XBI load retain cycle should ignore file's owner, first responder and NSApplication
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35628 72102866-910b-0410-8b05-ffd578937521
2012-10-03 17:09:59 +00:00
Gregory John Casamento
bed52af8c3 Merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35515 72102866-910b-0410-8b05-ffd578937521
2012-09-04 02:36:01 +00:00
Gregory John Casamento
34ea78114d Merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35513 72102866-910b-0410-8b05-ffd578937521
2012-09-04 02:06:51 +00:00
Marcian Lytwyn
040da4f332 Patch fix for custom class substition - TEMPORARY
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35507 72102866-910b-0410-8b05-ffd578937521
2012-09-03 20:48:10 +00:00
Gregory John Casamento
3761e33981 change to id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35498 72102866-910b-0410-8b05-ffd578937521
2012-09-02 19:20:47 +00:00
Gregory John Casamento
85a9492d22 Merge
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35497 72102866-910b-0410-8b05-ffd578937521
2012-09-02 19:18:21 +00:00
Gregory John Casamento
7fdbf3c5d0 Merge to branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35495 72102866-910b-0410-8b05-ffd578937521
2012-09-02 18:07:52 +00:00
Gregory John Casamento
7e684669ed * Source/GSXibLoader.m: Merge from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35486 72102866-910b-0410-8b05-ffd578937521
2012-08-31 20:34:35 +00:00
Gregory John Casamento
7b1a15cd96 * Source/GSXibLoader.m
* Source/GSXibLoading.m: Merge from trunk of new XIB fixes.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35483 72102866-910b-0410-8b05-ffd578937521
2012-08-31 16:57:39 +00:00
Gregory John Casamento
f8c5c4673d * Source/GSXibLoader.m:
Added NSMenu (XibCompatibility) category with method: _isMainMenu
	Added NSMenu (XibCompatibility) category implementation.
        Modified setting main menu in awake:inContainer:withContext:
	Fixes bug #36427
	Committed by: gcasa



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35159 72102866-910b-0410-8b05-ffd578937521
2012-05-21 17:56:05 +00:00
Fred Kiefer
023f0030e2 * Source/GSXibLoader.m: Add some (currently unused) helper code
for class substitution in flattenedProperties.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35138 72102866-910b-0410-8b05-ffd578937521
2012-05-05 16:49:43 +00:00
Fred Kiefer
d570812401 Fix clang compiler warnings as reported by Sebastian Reitenbach
<sebastia@l00-bugdead-prods.de>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34608 72102866-910b-0410-8b05-ffd578937521
2012-01-23 14:27:58 +00:00
Fred Kiefer
8ad4aa86c4 Replace some occurences of int with NSInteger
and unsigned with NSUInteger. This allows to recompile gui on 
64 bit systems after the change to NSNotFound in base.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34312 72102866-910b-0410-8b05-ffd578937521
2011-12-17 17:16:09 +00:00
Fred Kiefer
45d5c38825 * Source/GSXibLoader.m: Better handling for flattened properties
to set the tool tips of an object. Should fix bug report #34783


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34155 72102866-910b-0410-8b05-ffd578937521
2011-11-11 00:03:11 +00:00
Fred Kiefer
407da1b829 Add decoding of class IBInitialTabViewItemAttribute.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34124 72102866-910b-0410-8b05-ffd578937521
2011-11-05 17:45:09 +00:00
Fred Kiefer
16e01f25a1 Correct the instantiation of NIB bindings. Should fix bug #34644.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34098 72102866-910b-0410-8b05-ffd578937521
2011-10-31 17:52:33 +00:00
Fred Kiefer
6aafb3c0e6 Integrate XIB loading methods used in Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34055 72102866-910b-0410-8b05-ffd578937521
2011-10-25 09:06:01 +00:00
Fred Kiefer
a47199291f Big improvement of XIB loading. Now all XIB files from the bug reports
get loaded.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34050 72102866-910b-0410-8b05-ffd578937521
2011-10-24 14:44:29 +00:00
Fred Kiefer
5d85ea1040 * Source/GSXibLoader.m (-objectForXib:): Add type "real" and
handle empty strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34011 72102866-910b-0410-8b05-ffd578937521
2011-10-17 08:34:02 +00:00
Fred Kiefer
23b1ff3f36 Fix XIB loading bug reported by Julian Mayer as bug #34454.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33931 72102866-910b-0410-8b05-ffd578937521
2011-10-03 12:48:15 +00:00
Fred Kiefer
dfa18a81da * Source/GSXibLoader.m: Add support for the "array" and
"dictionary" elements found in newer XIB files (Version >= 8).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33022 72102866-910b-0410-8b05-ffd578937521
2011-05-11 08:53:31 +00:00
Fred Kiefer
e1e89d3818 Fix XIB loading bug #33042
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32884 72102866-910b-0410-8b05-ffd578937521
2011-04-18 08:44:25 +00:00
Fred Kiefer
6daffd89d7 Fix memory leaks found by analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32255 72102866-910b-0410-8b05-ffd578937521
2011-02-20 22:36:49 +00:00
Gregory John Casamento
dae9464580 Add Xib loading header so that the classes in the GSXibLoader can be used by applications.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30467 72102866-910b-0410-8b05-ffd578937521
2010-05-29 05:27:04 +00:00
Wolfgang Lux
cfb8299e07 Fix bug where some objects loaded from a .xib file were not sent an
-awakeFromNib message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30365 72102866-910b-0410-8b05-ffd578937521
2010-05-12 09:51:45 +00:00
Fred Kiefer
121be97eb5 Avoid compiler warnings from old compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30089 72102866-910b-0410-8b05-ffd578937521
2010-04-05 18:20:24 +00:00
Fred Kiefer
504a5c2064 Rewrite of top level object handling in NIB/Gorm/Xib loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30070 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:33:08 +00:00
Riccardo Mottola
1f6a5b28c2 removed c99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30041 72102866-910b-0410-8b05-ffd578937521
2010-03-26 00:10:45 +00:00
Fred Kiefer
42b91d0695 Small improvements on XIB loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30023 72102866-910b-0410-8b05-ffd578937521
2010-03-23 07:15:17 +00:00
Fred Kiefer
d205cd7f9e Get the class NSNib to work and use it in NSBundleAdditions.
Restructure top level object handling for NIB loading.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30018 72102866-910b-0410-8b05-ffd578937521
2010-03-22 09:08:50 +00:00
Fred Kiefer
1399765d96 Clean up includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30009 72102866-910b-0410-8b05-ffd578937521
2010-03-20 14:09:02 +00:00
Fred Kiefer
6ccf4dc7e6 Correct the decoding of the <bytes> element. Now colour are correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29964 72102866-910b-0410-8b05-ffd578937521
2010-03-15 13:10:05 +00:00
Fred Kiefer
4c75baa42b Add file for basic XIB loading. This is only partly working and will
need some more polishing and testing. Feel free to help with that.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29955 72102866-910b-0410-8b05-ffd578937521
2010-03-14 23:07:53 +00:00