Gregory John Casamento
6a39289591
* Source/NSXMLNode.m
...
* Source/NSXMLPrivate.h: Implement XPath query.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34540 72102866-910b-0410-8b05-ffd578937521
2012-01-15 15:48:44 +00:00
Doug Simons
cedbac254f
fix stringValue for attribute nodes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34524 72102866-910b-0410-8b05-ffd578937521
2012-01-14 07:40:52 +00:00
Doug Simons
d0a8f14c4a
ignore blanks between nodes when parsing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34523 72102866-910b-0410-8b05-ffd578937521
2012-01-14 07:00:28 +00:00
Doug Simons
25ffa3ff82
fix rootElement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34522 72102866-910b-0410-8b05-ffd578937521
2012-01-14 06:51:13 +00:00
Doug Simons
70b79c28fc
support text nodes; and SET THE NODE
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34521 72102866-910b-0410-8b05-ffd578937521
2012-01-14 06:14:46 +00:00
Doug Simons
d43aa730a1
support creating PI and Comment nodes; implemented attributes method in NSXMLElement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34520 72102866-910b-0410-8b05-ffd578937521
2012-01-14 05:59:45 +00:00
Doug Simons
e395d2f42a
cleaned up a lot of things and fixed at least one crashing bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34519 72102866-910b-0410-8b05-ffd578937521
2012-01-14 05:16:39 +00:00
Doug Simons
f6289a65a1
use clearPrivatePointers() in NSXMLDocument as well as NSXMLNode when copying
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34518 72102866-910b-0410-8b05-ffd578937521
2012-01-14 02:43:18 +00:00
Doug Simons
990bd6274c
more progress
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34517 72102866-910b-0410-8b05-ffd578937521
2012-01-14 01:00:59 +00:00
Gregory John Casamento
db0fefff04
Remove uneeded ivars.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34516 72102866-910b-0410-8b05-ffd578937521
2012-01-13 22:10:41 +00:00
Doug Simons
6983dd6e31
undo change to children for documents
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34515 72102866-910b-0410-8b05-ffd578937521
2012-01-13 20:12:15 +00:00
Gregory John Casamento
3fd92857a4
Cleanup of ivars
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34514 72102866-910b-0410-8b05-ffd578937521
2012-01-13 19:44:55 +00:00
Doug Simons
f7aff866ac
added subNodes ivar to track ownership of nodes in a tree
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34513 72102866-910b-0410-8b05-ffd578937521
2012-01-13 19:24:44 +00:00
Doug Simons
3464a615f5
change _newFromNode: to _objectForNode:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34512 72102866-910b-0410-8b05-ffd578937521
2012-01-13 18:46:19 +00:00
Doug Simons
eaa49d6e39
for documents, use children of rootElement; fix XMLStringWithOptions:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34511 72102866-910b-0410-8b05-ffd578937521
2012-01-13 18:24:10 +00:00
Doug Simons
5667bb4af7
cleaned up some more things
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34509 72102866-910b-0410-8b05-ffd578937521
2012-01-13 00:44:10 +00:00
Gregory John Casamento
e9907e6d40
* Source/NSXMLElement.m
...
* Source/NSXMLNode.m: Add code to automatically instantiate
the node to fill in the _private pointer if it is not present.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34508 72102866-910b-0410-8b05-ffd578937521
2012-01-12 23:19:26 +00:00
Doug Simons
a9e3ce01aa
cleaned up some more things
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34507 72102866-910b-0410-8b05-ffd578937521
2012-01-12 22:41:55 +00:00
Doug Simons
8772885b71
added XMLStringCopy to properly copy NSStrings as xml strings; use it for setting name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34505 72102866-910b-0410-8b05-ffd578937521
2012-01-12 18:50:56 +00:00
Doug Simons
065ac2bce2
fix setRootElement:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34504 72102866-910b-0410-8b05-ffd578937521
2012-01-12 18:49:13 +00:00
Gregory John Casamento
7fc9ff45c5
Redo last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34503 72102866-910b-0410-8b05-ffd578937521
2012-01-12 17:16:31 +00:00
Gregory John Casamento
4dcda8401d
* Source/NSXMLNode.m: Get final methods implemented on NSXMLNode
...
except for XPath/XQuery methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34497 72102866-910b-0410-8b05-ffd578937521
2012-01-11 17:54:44 +00:00
Gregory John Casamento
c81e66eb31
* Source/NSXMLDocument.m: Added forward declarations for private
...
methods on NSXMLNode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34490 72102866-910b-0410-8b05-ffd578937521
2012-01-11 01:21:59 +00:00
Doug Simons
d9db64516a
defined StringFromXMLString
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34489 72102866-910b-0410-8b05-ffd578937521
2012-01-11 01:12:35 +00:00
Gregory John Casamento
8eadbe4163
* Source/NSXMLNode.m: Changes to move NSXML classes to using libxml
...
more directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34488 72102866-910b-0410-8b05-ffd578937521
2012-01-11 01:05:35 +00:00
Doug Simons
ac22f7ff4a
fixed a few little things
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34487 72102866-910b-0410-8b05-ffd578937521
2012-01-11 00:29:28 +00:00
Doug Simons
4096c0a471
NSXMLDocument is starting to compile now
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34485 72102866-910b-0410-8b05-ffd578937521
2012-01-10 22:25:22 +00:00
Gregory John Casamento
7566c5da55
Changes for NSXML (DOES NOT COMPILE)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/nsxml_using_libxml2@34484 72102866-910b-0410-8b05-ffd578937521
2012-01-10 20:42:32 +00:00
Richard Frith-MacDonald
bf2386269b
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
Richard Frith-MacDonald
fb47a4fcb7
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
Richard Frith-MacDonald
83edf4c5fc
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
Richard Frith-MacDonald
aa3b6f76c5
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
Richard Frith-MacDonald
3fcd9f7d04
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
Richard Frith-MacDonald
5e74b70bff
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
Richard Frith-MacDonald
1c23e5145d
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
Gregory John Casamento
343dbf37f7
* 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
Richard Frith-MacDonald
460b61e164
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
Richard Frith-MacDonald
42f0192c2c
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
Doug Simons
8b518f58ee
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
Gregory John Casamento
e0b543f4ac
* 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
Gregory John Casamento
98ed1c6763
* 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
Gregory John Casamento
5f1460c232
* 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
Gregory John Casamento
a3d5150a84
* 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
Richard Frith-MacDonald
dd3807023e
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
Richard Frith-MacDonald
997222976b
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
Richard Frith-MacDonald
1a85fb0780
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
Richard Frith-MacDonald
bcd94d6a14
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
Richard Frith-MacDonald
40f0d0425c
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
Richard Frith-MacDonald
dbc3a3a764
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
Richard Frith-MacDonald
ded72b8e75
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
Richard Frith-MacDonald
40f8c557c9
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
Richard Frith-MacDonald
7b7faac752
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
Gregory John Casamento
6cbe121535
* 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
Gregory John Casamento
aa8a33f26c
* 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
Gregory John Casamento
c7088ba09c
* 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
Gregory John Casamento
dd8e257dd9
* 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
Gregory John Casamento
15fee4d787
* 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
Gregory John Casamento
7dc6ad72bd
* 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
Richard Frith-MacDonald
c9e06e97fd
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
Richard Frith-MacDonald
eec9f0e452
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
Richard Frith-MacDonald
4386a7eda9
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
Fred Kiefer
bb4c52dfff
* 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
Gregory John Casamento
fa4435dec6
* 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
Fred Kiefer
7f6f33cf82
* 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
Fred Kiefer
e7d5480cd1
* 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
Gregory John Casamento
6c2cf89b6b
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
Richard Frith-MacDonald
f7b8b22bae
trivial formating tweaks ... add missing white space
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34374 72102866-910b-0410-8b05-ffd578937521
2012-01-01 07:38:53 +00:00
Doug Simons
44de775895
Set Elements to be NSXMLElementKind
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34372 72102866-910b-0410-8b05-ffd578937521
2011-12-31 02:13:19 +00:00
Gregory John Casamento
7b7b2a6f9d
First cut at NSXMLDocument changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34371 72102866-910b-0410-8b05-ffd578937521
2011-12-30 21:40:12 +00:00
Doug Simons
0babe2697b
Fix -addTimeInterval: to copy calendarFormat of original date
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34363 72102866-910b-0410-8b05-ffd578937521
2011-12-29 18:28:27 +00:00
Richard Frith-MacDonald
70bbf8ce82
fix for #35164
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34355 72102866-910b-0410-8b05-ffd578937521
2011-12-24 13:14:46 +00:00
Wolfgang Lux
3b65abba77
Implement NSTextCheckingResult -resultByAdjustingRangesWithOffset:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34350 72102866-910b-0410-8b05-ffd578937521
2011-12-23 16:49:23 +00:00
Wolfgang Lux
4e79a89139
Various fixes in NSTextCheckingResult class.
...
Add copyright notice to header and implementation files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34349 72102866-910b-0410-8b05-ffd578937521
2011-12-23 16:09:49 +00:00
Wolfgang Lux
9ed632dcdb
Correct result of NSRegularExpression -rangeOfFirstMatchInString:...
...
When no match is found location must be set to NSNotFound.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34348 72102866-910b-0410-8b05-ffd578937521
2011-12-23 14:59:14 +00:00
Wolfgang Lux
b1cb675199
Introduce NSRegularExpression support for libicu versions prior to 4.4,
...
which don't provide the UText interface to regular expressions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34345 72102866-910b-0410-8b05-ffd578937521
2011-12-22 12:52:56 +00:00
Wolfgang Lux
eeae8f5780
Fix an uninitialized variable bug, which was introduced by a careless
...
change while adding IPv6 support and would have the +port method of
NSSocketPort randomly return invalid ports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34343 72102866-910b-0410-8b05-ffd578937521
2011-12-22 08:30:39 +00:00
Riccardo Mottola
6e1bdad49f
Fix blocking compiler warning (ggc 4.5.3)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34327 72102866-910b-0410-8b05-ffd578937521
2011-12-19 23:04:04 +00:00
Fred Kiefer
ead2619299
* Source/NSPortCoder.m (-versionForClassName:): Use NSInteger for
...
version to avoid compiler warning on 64-bit system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34308 72102866-910b-0410-8b05-ffd578937521
2011-12-17 14:05:25 +00:00
Richard Frith-MacDonald
29c4116520
Try to ensure new defaults files are created as needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34307 72102866-910b-0410-8b05-ffd578937521
2011-12-17 06:32:42 +00:00
Richard Frith-MacDonald
c879760fd5
fix formatting errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34301 72102866-910b-0410-8b05-ffd578937521
2011-12-16 07:28:05 +00:00
Richard Frith-MacDonald
32fc733268
changes to support alternative header locations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34290 72102866-910b-0410-8b05-ffd578937521
2011-12-15 09:42:39 +00:00
Eric Wasylishen
a54d3f2bdd
* Source/NSFileManager.m:
...
* Headers/Foundation/NSFileManager.h: Add removeItemAtPath:error:
method, as a simple wrapper around removeFileAtPath:handler: with
no handler.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34251 72102866-910b-0410-8b05-ffd578937521
2011-12-06 06:21:33 +00:00
David Chisnall
93dd8e8f57
Fix small int -> string conversion on 64-bit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34229 72102866-910b-0410-8b05-ffd578937521
2011-11-29 18:19:37 +00:00
Richard Frith-MacDonald
af959a3747
tweak an error message
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34213 72102866-910b-0410-8b05-ffd578937521
2011-11-24 14:46:06 +00:00
Richard Frith-MacDonald
430a7eea99
Rewrite to store defaults in multiple files (one per persistent domain).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34201 72102866-910b-0410-8b05-ffd578937521
2011-11-21 11:24:26 +00:00
Richard Frith-MacDonald
f0a4e940d1
fix errors in BOM handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34187 72102866-910b-0410-8b05-ffd578937521
2011-11-18 05:19:50 +00:00
Richard Frith-MacDonald
bc4151c775
get base to compile again, and improve readability/consistency
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34184 72102866-910b-0410-8b05-ffd578937521
2011-11-17 06:11:36 +00:00
David Chisnall
d728c938b2
Store tiny strings (up to 8 ASCII characters) inside the pointer. Strings of
...
this length are fairly common, and this makes them very cheap to store / copy /
compare (pointer comparisons test for equality). 8 characters seems to be
enough for quite a lot of common uses, such as path components and tokens.
There are possibly still some things constructing tiny strings and not using
these.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34181 72102866-910b-0410-8b05-ffd578937521
2011-11-16 20:48:50 +00:00
David Chisnall
b553578663
Implement the double boxing techniques used by Smalltalk/X and Cincom Smalltalk. Now we can conceal most doubles inside a pointer. This is most useful for LanguageKit, but should save some memory / malloc overhead / heap fragmentation in any code that uses a lot of NSNumbers (e.g. anything that deals with big plists). OS X 10.7 employs a similar trick.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34179 72102866-910b-0410-8b05-ffd578937521
2011-11-16 17:29:15 +00:00
Adam Fedor
8dfb160371
Fix include location
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34173 72102866-910b-0410-8b05-ffd578937521
2011-11-15 16:17:47 +00:00
Richard Frith-MacDonald
83b80b030e
deal with old FIXME about creating library path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34169 72102866-910b-0410-8b05-ffd578937521
2011-11-14 10:01:24 +00:00
Richard Frith-MacDonald
b9d26f7a17
fix missing return
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34137 72102866-910b-0410-8b05-ffd578937521
2011-11-09 13:46:45 +00:00
Fred Kiefer
f1040a95c8
* Source/NSValueTransformer.m
...
([NSUnarchiveFromDataTransformer-reverseTransformedValue],
[NSUnarchiveFromDataTransformer-transformedValue]): Use
archiver instead of keyed archiver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34131 72102866-910b-0410-8b05-ffd578937521
2011-11-07 15:28:30 +00:00
Richard Frith-MacDonald
cd0d3a62e5
tweak length check in last change to ignore line breaks and bad characters
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34129 72102866-910b-0410-8b05-ffd578937521
2011-11-07 09:01:26 +00:00
Richard Frith-MacDonald
014c5ebc66
make base64 decoding more tolerant.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34128 72102866-910b-0410-8b05-ffd578937521
2011-11-07 08:15:00 +00:00
Richard Frith-MacDonald
43c06d6065
SX compatibility tweak ... allow nil arg for -timeIntervalSinceDate:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34117 72102866-910b-0410-8b05-ffd578937521
2011-11-04 10:38:16 +00:00
Richard Frith-MacDonald
d0807c3dec
retry after interrupts
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34111 72102866-910b-0410-8b05-ffd578937521
2011-11-02 17:19:37 +00:00
Richard Frith-MacDonald
4152d0fe77
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34110 72102866-910b-0410-8b05-ffd578937521
2011-11-02 16:40:44 +00:00
Richard Frith-MacDonald
dd6590b767
tweaks for 64bit sparc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34109 72102866-910b-0410-8b05-ffd578937521
2011-11-02 16:39:39 +00:00
Richard Frith-MacDonald
70f63cc91a
fix alignment error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34108 72102866-910b-0410-8b05-ffd578937521
2011-11-02 15:46:02 +00:00