Commit graph

6239 commits

Author SHA1 Message Date
rfm
ad0ba98491 avoid a few warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34665 72102866-910b-0410-8b05-ffd578937521
2012-01-30 11:31:40 +00:00
rfm
92ae73861f try to work round selinux restrictions on invocations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34660 72102866-910b-0410-8b05-ffd578937521
2012-01-29 16:57:06 +00:00
rfm
e59d5e782d Add warning about state of DOM classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34657 72102866-910b-0410-8b05-ffd578937521
2012-01-29 15:39:19 +00:00
rfm
45bbc24caa try to allow iso language names in languages array
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34654 72102866-910b-0410-8b05-ffd578937521
2012-01-29 11:10:05 +00:00
rfm
af6ec26508 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34653 72102866-910b-0410-8b05-ffd578937521
2012-01-29 07:21:57 +00:00
rfm
7d8312982c fix copying large files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34637 72102866-910b-0410-8b05-ffd578937521
2012-01-26 19:59:58 +00:00
stefanbidi
1c6a149a32 Do not call unum_format* more than once.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34634 72102866-910b-0410-8b05-ffd578937521
2012-01-26 01:40:12 +00:00
rfm
c4f47d50c7 small host lokup fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34629 72102866-910b-0410-8b05-ffd578937521
2012-01-25 19:52:34 +00:00
rfm
ca98447111 OSX compat tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34621 72102866-910b-0410-8b05-ffd578937521
2012-01-24 09:43:15 +00:00
rfm
9850140128 fix for incorrect types comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34591 72102866-910b-0410-8b05-ffd578937521
2012-01-19 10:12:03 +00:00
ericwa
7426ec00ed * Source/NSBundle.m (addBundlePath): Handle nested subdirectories
(e.g.
[NSBundle pathForLibraryResource: @"Generic-PostScript_Printer-Postscript"
ofType: @"ppd"
inDirectory: @"PostScript/PPD"] was previously failing.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34555 72102866-910b-0410-8b05-ffd578937521
2012-01-16 08:15:07 +00:00
rfm
9795eb747e fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34526 72102866-910b-0410-8b05-ffd578937521
2012-01-14 14:36:31 +00:00
rfm
de0f3b4b39 small efficiency fixes from last caching change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34478 72102866-910b-0410-8b05-ffd578937521
2012-01-10 09:56:57 +00:00
rfm
209e988009 improve caching of bundle content paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34477 72102866-910b-0410-8b05-ffd578937521
2012-01-10 09:38:23 +00:00
rfm
27418ac04f fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34472 72102866-910b-0410-8b05-ffd578937521
2012-01-09 22:57:10 +00:00
rfm
01355eaf39 crude caching of directory contents
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34471 72102866-910b-0410-8b05-ffd578937521
2012-01-09 20:49:01 +00:00
rfm
b143b3fabf word size fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34468 72102866-910b-0410-8b05-ffd578937521
2012-01-09 08:28:27 +00:00
rfm
3970d58fdc Try to tidy/simplify objc2 header support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34459 72102866-910b-0410-8b05-ffd578937521
2012-01-08 14:25:56 +00:00
rfm
fd96ccd439 Make sure code passes testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34456 72102866-910b-0410-8b05-ffd578937521
2012-01-07 13:08:03 +00:00
gcasa
a31620793c * Source/NSXMLElement.m: Removing assertion that
parent must not be nil per Cocoa documentation for
	-(id)parent method in NSXMLNode.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34450 72102866-910b-0410-8b05-ffd578937521
2012-01-06 23:00:03 +00:00
rfm
711f7f21de remove useless comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34442 72102866-910b-0410-8b05-ffd578937521
2012-01-06 12:48:49 +00:00
rfm
5a53ea0d64 Rewrite hierarchy handling to match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34441 72102866-910b-0410-8b05-ffd578937521
2012-01-06 12:22:30 +00:00
dpsimons
e9380ba351 only include the header when version, encoding, or standalone has been set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34433 72102866-910b-0410-8b05-ffd578937521
2012-01-06 04:53:59 +00:00
gcasa
ce6ccc0662 * Source/NSXMLElement.m: in setChildren: set the childCount.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34432 72102866-910b-0410-8b05-ffd578937521
2012-01-06 03:21:10 +00:00
gcasa
774cd36acb * Source/NSXMLElement.m: Correct warning in copyWithZone: added
return.  Correct issue with childCount being out of sync.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34431 72102866-910b-0410-8b05-ffd578937521
2012-01-06 03:11:14 +00:00
gcasa
cadb2ab9c8 * Source/NSXMLElement.m: Correct warning in copyWithZone: added
return.  Correct issue with childCount being out of sync.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34430 72102866-910b-0410-8b05-ffd578937521
2012-01-06 03:09:14 +00:00
gcasa
0d998a3394 * ChangeLog
* Source/NSXMLDocument.m
	* Source/NSXMLElement.m
	* Source/NSXMLNode.m: Implement copyWithZone:, correct issues
	with previous revert.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34428 72102866-910b-0410-8b05-ffd578937521
2012-01-06 02:43:26 +00:00
rfm
fa365da6de corrected exception type t match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34427 72102866-910b-0410-8b05-ffd578937521
2012-01-05 20:49:29 +00:00
rfm
1780a56fb4 Little tweak to ease debugging ... get compiler to know the class of the
_internal pointer and generate information so gdb can access the internal
cass without needing a cast.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34425 72102866-910b-0410-8b05-ffd578937521
2012-01-05 20:40:12 +00:00
rfm
b4c0707ab6 Minor intiialisation tweaks to match OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34423 72102866-910b-0410-8b05-ffd578937521
2012-01-05 18:55:17 +00:00
rfm
7620644234 replace a few lost lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34415 72102866-910b-0410-8b05-ffd578937521
2012-01-05 15:44:45 +00:00
rfm
edf5a1afc1 add a feew comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34414 72102866-910b-0410-8b05-ffd578937521
2012-01-04 13:00:04 +00:00
rfm
81262af7e6 fix missing comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34413 72102866-910b-0410-8b05-ffd578937521
2012-01-04 12:44:29 +00:00
rfm
a2a14fcb8d Fix NSXML ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34412 72102866-910b-0410-8b05-ffd578937521
2012-01-04 12:41:45 +00:00
rfm
34f183865b whitespace tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34411 72102866-910b-0410-8b05-ffd578937521
2012-01-04 12:38:18 +00:00
rfm
3f6bf1fbba Revert ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34410 72102866-910b-0410-8b05-ffd578937521
2012-01-04 09:20:32 +00:00
gcasa
9a24dd2985 * Headers/Foundation/NSXMLDocument.h
* Headers/Foundation/NSXMLElement.h
	* Headers/Foundation/NSXMLNode.h: Move declarations.
	* Source/NSXMLDocument.m: Correct parsing issues.
	* Source/NSXMLElement.m: Remove local declaration of _children
	* Source/NSXMLNode.m: Remove internal.  Move all declarations here
	directly.
	
2012-01-03 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34408 72102866-910b-0410-8b05-ffd578937521
2012-01-03 21:42:33 +00:00
gcasa
0b7ae8929b * Source/NSXMLDocument.m: Implement XMLStringWithOptions:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34407 72102866-910b-0410-8b05-ffd578937521
2012-01-03 19:30:03 +00:00
gcasa
5193c6fe20 * Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h
	* Source/NSXMLElement.m
	* Source/NSXMLNode.m: Move _URI to NSXMLNode.
	change dealloc accordingly.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34406 72102866-910b-0410-8b05-ffd578937521
2012-01-03 18:10:45 +00:00
gcasa
44399b36f4 * Source/NSXMLNode.m: Implement copyWithZone:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34405 72102866-910b-0410-8b05-ffd578937521
2012-01-03 17:49:09 +00:00
gcasa
f83149b549 * Headers/Foundation/NSXMLNode.h: Add _stringValue
* Source/NSXMLNode.m: Change stringValue and setStringValue:
	resolvingEntities: to assign to _stringValue instead of _objectValue.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34404 72102866-910b-0410-8b05-ffd578937521
2012-01-03 17:23:44 +00:00
gcasa
8f97e14738 * Source/NSXMLDocument.m: Change stack implementation to
use lastObject/removeLastObject to implement the stack instead
	of inserting and deleting at index 0.
	* Source/NSXMLElement.m: Implemented XMLStringWithOptions:
	* Source/NSXMLNode.m: Implemented XMLStringWithOptions:,
	skeletal implementation of setStringValue:resolvingEntities:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34403 72102866-910b-0410-8b05-ffd578937521
2012-01-03 17:15:29 +00:00
rfm
9a5f196bf1 fix format string error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34402 72102866-910b-0410-8b05-ffd578937521
2012-01-03 14:49:11 +00:00
rfm
5b0ed744eb 64bit printf tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34401 72102866-910b-0410-8b05-ffd578937521
2012-01-03 14:48:04 +00:00
rfm
5c38f0b4c9 add missing cast on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34399 72102866-910b-0410-8b05-ffd578937521
2012-01-03 10:31:41 +00:00
fredkiefer
b27e0e32db * Source/NSException.m (-raise): Only set the stack when the
exception gets first raised. This fixes bug #35192
Patch by Larry Campbell <lcampbel@akamai.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34398 72102866-910b-0410-8b05-ffd578937521
2012-01-03 09:34:10 +00:00
gcasa
3014907a3a * Headers/Foundation/NSXMLElement.h: Change _attributes to be
a NSMutableDictionary instead of an NSMutableArray.
	* Source/NSXMLElement.m: Change implementation of some methods
	to use an NSMutableDictionary instead of arrays.  Initialize
	ivars in initializer.
	* Source/NSXMLPrivate.h: Remove redundant method.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34394 72102866-910b-0410-8b05-ffd578937521
2012-01-03 03:28:25 +00:00
fredkiefer
6f2aee3252 * Source/GSSocketStream.m (-initWithInput:output:): Attempt to
replace deprecated GNUTLS functions with newer ones for GNUTLS >= 2.12.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34390 72102866-910b-0410-8b05-ffd578937521
2012-01-02 15:50:15 +00:00
fredkiefer
eaed3df26b * Source/NSArray.m (-objectsAtIndexes:): Fix comparision of
unsigned variable with NSNotFound.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34389 72102866-910b-0410-8b05-ffd578937521
2012-01-02 15:07:32 +00:00
gcasa
73273b7e75 2012-01-02 02:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m>: Minor correction. Move setName out of 
	private category.
	* Tests/base/NSXMLNode/children.m: Update test.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34385 72102866-910b-0410-8b05-ffd578937521
2012-01-02 07:27:56 +00:00