rfm
977ffb20d7
prep for release
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36208 72102866-910b-0410-8b05-ffd578937521
2013-02-28 16:50:37 +00:00
rfm
60c04b53e6
fix for overrun when searching backwards (spotted by Fred using valgrind)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36204 72102866-910b-0410-8b05-ffd578937521
2013-02-28 12:51:27 +00:00
rfm
d0d9ba2eea
another bugfix attempt
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36156 72102866-910b-0410-8b05-ffd578937521
2013-02-17 06:20:22 +00:00
rfm
dcd39b2096
fix for bug #38310
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36152 72102866-910b-0410-8b05-ffd578937521
2013-02-16 08:16:25 +00:00
rfm
19d5a33c48
make data URLs ignore base URLs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36150 72102866-910b-0410-8b05-ffd578937521
2013-02-16 08:02:44 +00:00
rfm
8f881ccb99
unescape relativePath
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36146 72102866-910b-0410-8b05-ffd578937521
2013-02-15 19:56:03 +00:00
rfm
22fef07121
fix for predicate format output of binary operators
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36144 72102866-910b-0410-8b05-ffd578937521
2013-02-15 15:14:50 +00:00
rfm
abd50f30b2
preliminary commit of data: support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36105 72102866-910b-0410-8b05-ffd578937521
2013-02-10 12:59:24 +00:00
rfm
c83facd84d
tweaks to compile with mdns again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36104 72102866-910b-0410-8b05-ffd578937521
2013-02-10 10:52:44 +00:00
rfm
e3497b7121
fix for #38198 by Marcus Muller
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36103 72102866-910b-0410-8b05-ffd578937521
2013-02-10 09:58:07 +00:00
rfm
19e32fe18c
OSX compatibility when we are creating a URL relative to an incompatible base.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36102 72102866-910b-0410-8b05-ffd578937521
2013-02-10 06:24:56 +00:00
rfm
f021b1efe0
fix error checking for perform on finished thread
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36057 72102866-910b-0410-8b05-ffd578937521
2013-02-03 06:31:03 +00:00
theraven
17bfabe94d
When trying to find the types of a method, lookup the untyped slot.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36056 72102866-910b-0410-8b05-ffd578937521
2013-02-02 15:26:13 +00:00
theraven
ea5a936ae1
Add missing retainCount methods for small objects.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36034 72102866-910b-0410-8b05-ffd578937521
2013-01-29 18:42:23 +00:00
rfm
5c0d7c3693
add issing date components.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36012 72102866-910b-0410-8b05-ffd578937521
2013-01-24 09:15:53 +00:00
fredkiefer
07c9eb9713
* Source/NSPredicate.m: Fixup parsing of function expressions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36011 72102866-910b-0410-8b05-ffd578937521
2013-01-22 08:31:40 +00:00
rfm
ac8a3e0dd2
add warning about loading invalid certificates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36009 72102866-910b-0410-8b05-ffd578937521
2013-01-21 12:27:07 +00:00
rfm
8e2be7358f
Fix for buf #38043
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36008 72102866-910b-0410-8b05-ffd578937521
2013-01-21 10:38:15 +00:00
rfm
204cf12d6a
Fix for bug #38017
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36007 72102866-910b-0410-8b05-ffd578937521
2013-01-21 10:15:17 +00:00
rfm
906eb9f060
Fix bug #38118 reported by X Y <macgritsch>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36006 72102866-910b-0410-8b05-ffd578937521
2013-01-21 10:02:34 +00:00
rfm
811c14e55a
initialise with null pointers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35973 72102866-910b-0410-8b05-ffd578937521
2013-01-14 17:18:31 +00:00
rfm
4c54cfe3c2
Fix error setting length of root of path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35969 72102866-910b-0410-8b05-ffd578937521
2013-01-14 13:42:13 +00:00
rfm
fc22d6d5be
avoid buildup of large autorelease pool as suggested by Fred
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35965 72102866-910b-0410-8b05-ffd578937521
2013-01-14 06:35:23 +00:00
fredkiefer
04b9c720ba
* Headers/Foundation/NSDistributedNotificationCenter.h,
...
* Source/NSDistributedNotificationCenter.m: Correct the return
types of the factory methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35960 72102866-910b-0410-8b05-ffd578937521
2013-01-13 16:59:49 +00:00
rfm
fd9e1db26c
fix range error in last substring creation change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35940 72102866-910b-0410-8b05-ffd578937521
2013-01-08 21:59:38 +00:00
rfm
6d9d73c0b4
tiny optimisation to allow intermeidate substrings to be released earlier
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35939 72102866-910b-0410-8b05-ffd578937521
2013-01-08 08:25:18 +00:00
rfm
4f4ab32e92
tidy indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35938 72102866-910b-0410-8b05-ffd578937521
2013-01-07 21:39:35 +00:00
gcasa
8024b3a84b
* Headers/Foundation/NSMetadata.h: Add _ to delegate.
...
* Source/GNUmakefile: Remove reference to NSMetadata.m
* Source/NSMetadata.m: Remove from here and add OS specific
implementations.
* Source/unix/GNUmakefile: Add new file...
* Source/unix/NSMetadata.m: UNIX implementation...
* Source/win32/GNUmakefile: Add new file..
* Source/win32/NSMetadata.m: Windows implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35932 72102866-910b-0410-8b05-ffd578937521
2013-01-05 05:50:21 +00:00
theraven
59abbdce64
Fix the pointer functions to correctly check the flags.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35916 72102866-910b-0410-8b05-ffd578937521
2012-12-22 16:21:55 +00:00
rfm
cd97eb99b3
poatches by Marcus and Stefan
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35906 72102866-910b-0410-8b05-ffd578937521
2012-12-18 09:00:40 +00:00
rfm
9923323d24
fixup to compile again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35881 72102866-910b-0410-8b05-ffd578937521
2012-12-12 13:51:07 +00:00
rfm
4cbe3bbf38
don't waity for a CRLF at the end of the final boundary in a multipart document
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35879 72102866-910b-0410-8b05-ffd578937521
2012-12-12 09:30:19 +00:00
theraven
c727ab5333
Fix NSPointerArray so that it cleans up its array on dealloc. This is needed
...
to avoid memory leaks with strong references and heap corruption with weak
ones.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35878 72102866-910b-0410-8b05-ffd578937521
2012-12-11 18:29:49 +00:00
theraven
38c34ba6ea
Add methods from 10.8 for using zeroing weak references in collections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35877 72102866-910b-0410-8b05-ffd578937521
2012-12-11 17:49:28 +00:00
rfm
0fd06dc66f
avoid a few compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35867 72102866-910b-0410-8b05-ffd578937521
2012-12-08 22:16:20 +00:00
rfm
c486332ccf
minor performance tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35865 72102866-910b-0410-8b05-ffd578937521
2012-12-08 08:46:20 +00:00
rfm
1dfbc90769
TLS/SSL session credentials caching
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35860 72102866-910b-0410-8b05-ffd578937521
2012-12-06 09:40:11 +00:00
rfm
f48e2d038f
set into non-blocking mode
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35847 72102866-910b-0410-8b05-ffd578937521
2012-12-05 10:13:10 +00:00
fredkiefer
039f6e512f
* Source/NSXMLNode.m (-XMLStringWithOptions:): Use macros for
...
versions of libxml2.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35839 72102866-910b-0410-8b05-ffd578937521
2012-12-01 15:22:04 +00:00
rfm
6665580231
missed a line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35827 72102866-910b-0410-8b05-ffd578937521
2012-11-27 16:41:35 +00:00
rfm
1e4be4f380
add methods to control line folding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35826 72102866-910b-0410-8b05-ffd578937521
2012-11-27 16:13:25 +00:00
rfm
eba1a7be03
set content length header if not already set
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35825 72102866-910b-0410-8b05-ffd578937521
2012-11-27 11:32:32 +00:00
gcasa
86e6ebe7e7
* Headers/Foundation/NSMetadata.h
...
* Source/NSMetadata.m: Add NSMetadataQueryAttributeValueTuple and
NSMetadataQueryResultGroup classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35820 72102866-910b-0410-8b05-ffd578937521
2012-11-25 19:40:10 +00:00
gcasa
c08ff39f06
* Headers/Foundation/NSMetadata.h: Add ivars.
...
* Source/NSMetadata.m: Cleanup compilation error.
2012-11-20 12:50-EST Gregory John Casamento <greg.casamento@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35812 72102866-910b-0410-8b05-ffd578937521
2012-11-21 17:11:08 +00:00
gcasa
fd5ced2a49
* Headers/Foundation/NSMetadata.h: Declaratioins for constants and
...
NSMetadataItem.
* Source/NSMetadata.m: Implementation of NSMetadataItem and definition
of constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35809 72102866-910b-0410-8b05-ffd578937521
2012-11-20 17:58:34 +00:00
ivucica
dab6880359
Renamed GSFrameInvocation to GSDummyInvocation in header.
...
Now, the class name in header matches the class name in implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35806 72102866-910b-0410-8b05-ffd578937521
2012-11-20 11:49:18 +00:00
gcasa
93fca6e752
* Headers/Foundation/NSMetadataQuery.h: Remove old file.
...
* Source/GNUmakefile: Change name to NSMetadata.[hm].
* Source/NSMetadata.m: Add new file with correct name.
* Source/NSMetadataQuery.m: Remove old file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35804 72102866-910b-0410-8b05-ffd578937521
2012-11-18 16:54:08 +00:00
gcasa
79110c7ac7
* Headers/Foundation/Foundation.h: Add NSMetadataQuery.h to
...
include list.
* Headers/Foundation/NSMetadataQuery.h: New header for class.
* Source/GNUmakefile: Add NSMetadataQuery.[hm] to makefile.
* Source/NSMetadataQuery.m: Abstract implementation for
NSMetdataQuery. The idea is much like NSFileStream and other
classes which have operating system specific implementations.
On linux this will, most likely, interface with locate/slocate.
I'm not certain what it will talk to on Win32.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35803 72102866-910b-0410-8b05-ffd578937521
2012-11-18 16:37:57 +00:00
qmathe
496dc94164
Fixed -emptyPool ARC_RUNTIME implementation not to push a pool to the cache,
...
-dealloc does it already.
The previous implementation could result in a pool being reused while still in
use.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35795 72102866-910b-0410-8b05-ffd578937521
2012-11-15 16:34:54 +00:00
wlux
89d31db7b2
Generate useful error message when no best typed selector can be found
...
in forwarding callback.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35784 72102866-910b-0410-8b05-ffd578937521
2012-11-05 15:16:30 +00:00
wlux
9877c8af3a
Use dedicated code for glibc specific variant of strerror_r based on
...
an autoconf test instead of trying to tweak feature test macros to use
the POSIX version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35774 72102866-910b-0410-8b05-ffd578937521
2012-11-02 13:44:30 +00:00
rfm
52bc22f8be
correct declared return type
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35765 72102866-910b-0410-8b05-ffd578937521
2012-10-30 14:05:12 +00:00
rfm
cbf57cf013
improve system error messages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35764 72102866-910b-0410-8b05-ffd578937521
2012-10-30 13:35:00 +00:00
rfm
36e87ee63b
add a few more file name checks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35762 72102866-910b-0410-8b05-ffd578937521
2012-10-29 14:05:01 +00:00
rfm
e9858b7c98
update for new TLS api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35761 72102866-910b-0410-8b05-ffd578937521
2012-10-29 13:41:27 +00:00
rfm
450c55e63c
path handling tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35760 72102866-910b-0410-8b05-ffd578937521
2012-10-28 18:13:38 +00:00
rfm
3291097d21
Davie added objectsPassingTest:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35731 72102866-910b-0410-8b05-ffd578937521
2012-10-22 04:38:47 +00:00
rfm
281d40e99b
fixup for recent libxml2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35730 72102866-910b-0410-8b05-ffd578937521
2012-10-22 04:22:25 +00:00
rfm
5e967955ae
shorten logn line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35729 72102866-910b-0410-8b05-ffd578937521
2012-10-21 05:25:31 +00:00
rfm
468ff29d02
array index fix on 64bit systems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35728 72102866-910b-0410-8b05-ffd578937521
2012-10-20 21:11:26 +00:00
rfm
9c1e98e2e3
fix minor thread safety issue
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35721 72102866-910b-0410-8b05-ffd578937521
2012-10-19 14:13:13 +00:00
rfm
4d2e285422
attempt fix for bug #37596
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35716 72102866-910b-0410-8b05-ffd578937521
2012-10-18 21:44:50 +00:00
rfm
fcd6be710e
make code more robust when there's no autorelease pool.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35706 72102866-910b-0410-8b05-ffd578937521
2012-10-17 13:47:11 +00:00
ericwa
c482884889
* Source/NSPropertyList.m (-[GSBinaryPLGenerator storeString:):
...
Write unicode strings in big-endian instead of little-endian.
The resulting plists now load properly on OS X. Thanks to
rdemet for bug report.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35697 72102866-910b-0410-8b05-ffd578937521
2012-10-16 02:55:13 +00:00
rfm
11277f5a59
Remove stupid OSX compatibility hack ... no longer needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35692 72102866-910b-0410-8b05-ffd578937521
2012-10-15 14:37:31 +00:00
rfm
cfde4bdb3f
backport fix for blocking write
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35657 72102866-910b-0410-8b05-ffd578937521
2012-10-09 05:15:06 +00:00
rfm
4fc9b4d025
backward compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35652 72102866-910b-0410-8b05-ffd578937521
2012-10-08 09:50:28 +00:00
rfm
fc69a2c6c5
fix stupid error in last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35634 72102866-910b-0410-8b05-ffd578937521
2012-10-05 14:39:12 +00:00
rfm
432e96eb59
tentative/partial improvement of 'precision' of c-strings (%s format)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35625 72102866-910b-0410-8b05-ffd578937521
2012-10-03 08:40:48 +00:00
rfm
34c6afbd0c
More SSL/TLS tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35619 72102866-910b-0410-8b05-ffd578937521
2012-10-01 12:05:44 +00:00
rfm
388bb2be49
More SSL/TLS options support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35618 72102866-910b-0410-8b05-ffd578937521
2012-09-30 10:14:00 +00:00
rfm
98b5b4c973
add priority settings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35616 72102866-910b-0410-8b05-ffd578937521
2012-09-28 16:08:19 +00:00
rfm
1c0044cf8d
Add option to request cleint certificate verification.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35615 72102866-910b-0410-8b05-ffd578937521
2012-09-28 14:47:02 +00:00
rfm
2f6ed9c675
add certificate revocation list support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35614 72102866-910b-0410-8b05-ffd578937521
2012-09-28 14:20:42 +00:00
rfm
be0fd4b26e
small performance tweak ... don't create new arrays when comparing headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35611 72102866-910b-0410-8b05-ffd578937521
2012-09-27 08:29:24 +00:00
rfm
cc09004e66
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35609 72102866-910b-0410-8b05-ffd578937521
2012-09-26 17:00:26 +00:00
rfm
bbf6129275
reposition declarations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35608 72102866-910b-0410-8b05-ffd578937521
2012-09-26 17:00:15 +00:00
rfm
9661855ac5
tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35607 72102866-910b-0410-8b05-ffd578937521
2012-09-26 16:57:17 +00:00
rfm
8bbbd4a946
Add option to control hosts allowed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35606 72102866-910b-0410-8b05-ffd578937521
2012-09-26 16:05:36 +00:00
rfm
f05d94e9e3
more tls reorganisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35605 72102866-910b-0410-8b05-ffd578937521
2012-09-26 15:23:24 +00:00
rfm
c2808eb88e
synchronization fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35604 72102866-910b-0410-8b05-ffd578937521
2012-09-26 13:59:05 +00:00
rfm
e7aa62096c
Tweak DH params support to add load from file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35603 72102866-910b-0410-8b05-ffd578937521
2012-09-24 10:40:37 +00:00
rfm
8d6ac2f8ec
don't start DH unless we need it
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35601 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:55:09 +00:00
rfm
e8bc002202
use a separate thread to compute dh params
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35600 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:51:56 +00:00
rfm
10c5815622
restructure for maintainability
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35598 72102866-910b-0410-8b05-ffd578937521
2012-09-24 09:07:55 +00:00
rfm
c5c25f4c8d
variable initialisation fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35597 72102866-910b-0410-8b05-ffd578937521
2012-09-23 16:25:20 +00:00
rfm
83b4735655
cleanups for SSL/TLS support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35596 72102866-910b-0410-8b05-ffd578937521
2012-09-23 13:11:15 +00:00
rfm
f802c5ab4d
Extend use of gnutls to older APIs so we don't need both gnutls and openssl
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35595 72102866-910b-0410-8b05-ffd578937521
2012-09-23 12:26:28 +00:00
thebeing
d5fb92517a
Fix compilation with the non-fragile ABI and restore a line in
...
GSVersionMacros.h that seems to have been left commented out accidentally.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35594 72102866-910b-0410-8b05-ffd578937521
2012-09-23 08:29:17 +00:00
thebeing
c217368f95
Fix typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35593 72102866-910b-0410-8b05-ffd578937521
2012-09-23 08:06:59 +00:00
rfm
0dcb206a54
Partial TLS support for file handles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35591 72102866-910b-0410-8b05-ffd578937521
2012-09-23 07:33:47 +00:00
rfm
0138c51065
Memory management nad documentation fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35584 72102866-910b-0410-8b05-ffd578937521
2012-09-21 10:27:05 +00:00
thebeing
6891e5699d
More timsort bugfixes (seems to work much better now)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35583 72102866-910b-0410-8b05-ffd578937521
2012-09-20 18:54:15 +00:00
thebeing
1cc86b3e67
Fix bugs in the timsort implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35582 72102866-910b-0410-8b05-ffd578937521
2012-09-20 14:29:16 +00:00
rfm
d3dfb39dc9
fix quicksort implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35580 72102866-910b-0410-8b05-ffd578937521
2012-09-20 10:19:18 +00:00
rfm
31634bffde
Changes to restore sorting functiionality
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35579 72102866-910b-0410-8b05-ffd578937521
2012-09-20 09:32:00 +00:00
rfm
7c94635f24
fix goto's breaking exception handler
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35575 72102866-910b-0410-8b05-ffd578937521
2012-09-19 16:40:22 +00:00
rfm
8ec0deff44
formatting/coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35574 72102866-910b-0410-8b05-ffd578937521
2012-09-19 14:20:01 +00:00
thebeing
b9b63476ef
Completely overhaul how we do sorting in -base. GSSorting.h now defines an
...
interface that can be used for all sorting tasks in the library. The actual sort
algorithms to use are now plugable. Timsort is the new default sorting
algorithm, the existing algorithms, shellsort and quicksort, can still be
selected using a configure switch.
Also implement the new NSComparator (blocks) based sorting and insertion index
searching methods for NSMutableArray and NSArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35573 72102866-910b-0410-8b05-ffd578937521
2012-09-19 13:31:09 +00:00
gcasa
9407f87dea
* Headers/Foundation/Foundation.h
...
* Headers/Foundation/NSScriptWhoseTests.h
* Source/GNUmakefile
* Source/NSObject+NSComparisonMethods.m: Move the
comparison methods to the header for NSScriptWhoseTests.h,
but don't define the abstract class since we don't support
Apple script.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35570 72102866-910b-0410-8b05-ffd578937521
2012-09-17 16:05:06 +00:00
rfm
adc4c8d5e6
add support for data:,xxx style URL
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35568 72102866-910b-0410-8b05-ffd578937521
2012-09-16 07:39:18 +00:00
rfm
7302652db0
fix json quoting by copying from webservices library
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35559 72102866-910b-0410-8b05-ffd578937521
2012-09-10 13:18:29 +00:00
rfm
2a32245d60
improve serialisation of booleans
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35557 72102866-910b-0410-8b05-ffd578937521
2012-09-10 10:27:59 +00:00
rfm
ab65e628d3
OSX compatibility tweaks inspiered by testplant
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35555 72102866-910b-0410-8b05-ffd578937521
2012-09-10 05:18:09 +00:00
stoyan
064c5554f2
Create directories only if it doesn't exist.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35548 72102866-910b-0410-8b05-ffd578937521
2012-09-09 21:29:38 +00:00
wlux
546d35a421
Add missing variable declaration on big-endian systems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35543 72102866-910b-0410-8b05-ffd578937521
2012-09-09 10:04:22 +00:00
rfm
653076acd4
quadword number fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35538 72102866-910b-0410-8b05-ffd578937521
2012-09-07 08:21:23 +00:00
rfm
36312c2475
forgot about turning off whitespace in plist element
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35534 72102866-910b-0410-8b05-ffd578937521
2012-09-06 15:06:12 +00:00
rfm
c9a3cb53bf
tweak xml parsing to not ignore white space
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35533 72102866-910b-0410-8b05-ffd578937521
2012-09-06 12:58:25 +00:00
rfm
b9bcf33a8d
OSX compatibility fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35532 72102866-910b-0410-8b05-ffd578937521
2012-09-05 08:42:21 +00:00
rfm
0623c0c0c2
simplification, including use of strtoull() everywhere
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35503 72102866-910b-0410-8b05-ffd578937521
2012-09-03 13:36:45 +00:00
rfm
4bea97360f
fixes to conform to coding style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35477 72102866-910b-0410-8b05-ffd578937521
2012-08-29 08:54:46 +00:00
rfm
bdec3a0c48
fix bug appending path to empty string on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35462 72102866-910b-0410-8b05-ffd578937521
2012-08-27 10:26:31 +00:00
thebeing
a99a5163fd
Compatibility improvements for QNX.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35451 72102866-910b-0410-8b05-ffd578937521
2012-08-26 08:55:49 +00:00
thebeing
1e852b259e
Add support for logging to the QNX slog via NSLog().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35450 72102866-910b-0410-8b05-ffd578937521
2012-08-25 23:55:51 +00:00
theraven
785044ffb2
Conditionally compile profiling / debugging code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35448 72102866-910b-0410-8b05-ffd578937521
2012-08-25 14:01:56 +00:00
theraven
dceedfb915
Fix the build on platforms without tiny string support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35447 72102866-910b-0410-8b05-ffd578937521
2012-08-25 12:31:41 +00:00
theraven
ccaefa05e8
Use tiny strings in a few more places.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35446 72102866-910b-0410-8b05-ffd578937521
2012-08-25 12:15:11 +00:00
thebeing
d10498bd01
Changes to support clang's __attribute__((objc_root_class)).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35412 72102866-910b-0410-8b05-ffd578937521
2012-08-16 12:31:16 +00:00
rfm
218132903e
simplify directory creation code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35400 72102866-910b-0410-8b05-ffd578937521
2012-08-13 11:07:02 +00:00
rfm
78206d0b38
property list deserialisation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35395 72102866-910b-0410-8b05-ffd578937521
2012-08-10 19:09:44 +00:00
rfm
96a43795ee
check for failure to create temporary directory
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35394 72102866-910b-0410-8b05-ffd578937521
2012-08-10 15:56:45 +00:00
rfm
982982f631
temporary directory improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35393 72102866-910b-0410-8b05-ffd578937521
2012-08-10 14:31:28 +00:00
rfm
dc55974ec8
fix for bug #35672
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35392 72102866-910b-0410-8b05-ffd578937521
2012-08-10 09:25:38 +00:00
rfm
447db36958
preparation for osx compatibility fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35390 72102866-910b-0410-8b05-ffd578937521
2012-08-10 08:36:09 +00:00
rfm
133bdaea80
Another use of tolower() found and removed ... retain tolower() when the
...
internal 8bit encoding in not latin1 and uni_tolower() is therefore not
usable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35386 72102866-910b-0410-8b05-ffd578937521
2012-08-09 18:57:20 +00:00
rfm
c280ce26b5
fix bogus NSError generation when deserialising some property lists
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35382 72102866-910b-0410-8b05-ffd578937521
2012-08-09 12:58:01 +00:00
rfm
e0c4edf62b
simplify case conversion options
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35364 72102866-910b-0410-8b05-ffd578937521
2012-08-08 16:54:08 +00:00
rfm
cbc74f3800
fix bad return inside exception block.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35363 72102866-910b-0410-8b05-ffd578937521
2012-08-08 15:10:13 +00:00
rfm
c767e8a8d3
literal string handling improvments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35359 72102866-910b-0410-8b05-ffd578937521
2012-08-08 09:46:08 +00:00
rfm
23f70314d9
selector comparison fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35336 72102866-910b-0410-8b05-ffd578937521
2012-08-02 09:27:59 +00:00
rfm
b193512857
chunked encoding optimisations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35331 72102866-910b-0410-8b05-ffd578937521
2012-07-31 06:53:02 +00:00
rfm
fc4ddb3960
performance tweak for accumulating large amounts of data into a buffer.
...
eg. megabytes added in incremets of a few bytes at a time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35328 72102866-910b-0410-8b05-ffd578937521
2012-07-30 16:55:51 +00:00
rfm
407f20c518
fix for bug #36967
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35326 72102866-910b-0410-8b05-ffd578937521
2012-07-27 19:00:17 +00:00
rfm
87db54ef18
OSX compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35325 72102866-910b-0410-8b05-ffd578937521
2012-07-27 18:02:11 +00:00
rfm
e357aab701
crude KVO setter for structs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35324 72102866-910b-0410-8b05-ffd578937521
2012-07-27 16:48:49 +00:00
fredkiefer
52dbdbcf0e
* Source/NSXMLNode.m (-description): Remove trailing newline. This
...
should fix #36976 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35323 72102866-910b-0410-8b05-ffd578937521
2012-07-27 15:35:39 +00:00
rfm
0a1c92e6fd
fixup to re-enable incremental header parsing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35305 72102866-910b-0410-8b05-ffd578937521
2012-07-20 05:27:26 +00:00
rfm
1c8f36b122
Use GSSelectorTypesMatch() for types comparison where we are interested in types
...
but not qualifiers and stack layout information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35304 72102866-910b-0410-8b05-ffd578937521
2012-07-20 04:43:58 +00:00
gcasa
be9d4f89fe
Fix misspelling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35288 72102866-910b-0410-8b05-ffd578937521
2012-07-12 23:13:50 +00:00
rfm
de29619531
Check for bad data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35284 72102866-910b-0410-8b05-ffd578937521
2012-07-11 12:57:31 +00:00
rfm
c456ffd519
fix for bug #36824
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35283 72102866-910b-0410-8b05-ffd578937521
2012-07-11 04:51:42 +00:00
rfm
f03b67a59c
improvements from Niels Grewe
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35279 72102866-910b-0410-8b05-ffd578937521
2012-07-09 16:42:19 +00:00
rfm
155870ef50
fi for bug #36706
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35278 72102866-910b-0410-8b05-ffd578937521
2012-07-09 15:31:12 +00:00
rfm
817d9ee06d
add a few languages to the bootstrap maps
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35277 72102866-910b-0410-8b05-ffd578937521
2012-07-09 11:28:58 +00:00
rfm
0e22c2f86b
fix thread scheduling test (provided by Sebastian Reitenbach <buzzdee>)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35276 72102866-910b-0410-8b05-ffd578937521
2012-07-09 11:03:56 +00:00
rfm
0e756b2efd
Language lookup improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35275 72102866-910b-0410-8b05-ffd578937521
2012-07-09 10:47:48 +00:00
rfm
6741940916
Add region support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35273 72102866-910b-0410-8b05-ffd578937521
2012-07-09 07:07:25 +00:00
rfm
cefcd6ab7a
fix for bug #34815
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35272 72102866-910b-0410-8b05-ffd578937521
2012-07-09 05:22:03 +00:00
rfm
a29118d5a0
Error handling tweaks based on code/ideas by Sergey Golovin
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35266 72102866-910b-0410-8b05-ffd578937521
2012-07-08 15:50:58 +00:00
rfm
c98323b78c
attempt fix for bug #36726
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35263 72102866-910b-0410-8b05-ffd578937521
2012-07-08 12:03:09 +00:00
rfm
36b8591eb1
Tweak to avoid possible re-entrancy errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35256 72102866-910b-0410-8b05-ffd578937521
2012-07-05 10:46:39 +00:00
qmathe
286f8d6f2c
Fixed constant string comparison error reported by Clang r158230 or more recent
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35255 72102866-910b-0410-8b05-ffd578937521
2012-07-05 09:55:42 +00:00
rfm
ecdf6bb031
Attempt fix for bug #34191 by maintaining class->bundle maps for lookup and
...
re-checking for newly loaded frameworks if the lookup fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35253 72102866-910b-0410-8b05-ffd578937521
2012-07-02 09:08:14 +00:00
rfm
bdf29657e5
fix for memory leak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35242 72102866-910b-0410-8b05-ffd578937521
2012-06-27 18:12:12 +00:00
rfm
9645028191
check for nil argument and raise as per apple documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35193 72102866-910b-0410-8b05-ffd578937521
2012-06-12 05:39:31 +00:00
rfm
b193560736
Fix error in logic of populating ports array
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35187 72102866-910b-0410-8b05-ffd578937521
2012-06-08 15:48:10 +00:00
rfm
ade0036037
don't return an object if there is no error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35186 72102866-910b-0410-8b05-ffd578937521
2012-06-08 11:08:27 +00:00
wlux
52e900d07c
Fix previous change to compile again when using select() instead of poll().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35182 72102866-910b-0410-8b05-ffd578937521
2012-06-07 08:11:59 +00:00
rfm
0687a031b1
support very large numbers of DO connections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35180 72102866-910b-0410-8b05-ffd578937521
2012-06-06 06:51:26 +00:00
rmottola
149e77e500
Do not include malloc on OpenBSD to avoid warning (and include stdlib always).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35124 72102866-910b-0410-8b05-ffd578937521
2012-04-30 07:12:05 +00:00
rmottola
21c7123ff4
Extend David's hack to all known non-glibc platforms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35123 72102866-910b-0410-8b05-ffd578937521
2012-04-29 17:15:51 +00:00
theraven
9a2143b32b
Fix the build on FreeBSD.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35122 72102866-910b-0410-8b05-ffd578937521
2012-04-29 16:47:01 +00:00
rfm
f4e2de3057
Attempt to sort out versioning of archives/DO to be more tolerant/flexible.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35118 72102866-910b-0410-8b05-ffd578937521
2012-04-27 11:58:56 +00:00
theraven
121673c6d3
Fix a bug in the new autorelease pool implementation when pools are destroyed in the wrong order.
...
Test cast by Chris Armstrong!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35105 72102866-910b-0410-8b05-ffd578937521
2012-04-23 12:47:09 +00:00
rmottola
f857c2928f
Do not include malloc on OpenBSD to avoid warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35104 72102866-910b-0410-8b05-ffd578937521
2012-04-22 19:00:27 +00:00
rfm
6b7438a108
Fix problem as reported by James Cook <mokus@deepbondi.net>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35088 72102866-910b-0410-8b05-ffd578937521
2012-04-17 21:06:41 +00:00
rfm
99f4373333
tweak for correct strerror_r
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35086 72102866-910b-0410-8b05-ffd578937521
2012-04-17 05:29:28 +00:00
rfm
5213484aa5
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35072 72102866-910b-0410-8b05-ffd578937521
2012-04-16 16:37:50 +00:00
rfm
9cb1ae2629
fix missing errno.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35071 72102866-910b-0410-8b05-ffd578937521
2012-04-16 15:31:46 +00:00
rfm
e025866bd6
fix test for availability of lossy conversion in iconv library
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35066 72102866-910b-0410-8b05-ffd578937521
2012-04-15 07:21:36 +00:00
theraven
30b7333911
Fix NSMethodSignature generating nonsense values when it encounters a type encoding including blocks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35046 72102866-910b-0410-8b05-ffd578937521
2012-04-07 13:54:55 +00:00
theraven
8eb15d99d8
Fix the remaining compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35044 72102866-910b-0410-8b05-ffd578937521
2012-04-07 10:45:30 +00:00
fredkiefer
4b86775102
* Source/NSXMLDocument.m:
...
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m: Remove compiler warnings for clang
reported by David Chisnall.
* Tests/base/NSAutoreleasePool/basic.m: Get to compile again
without -C99.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35043 72102866-910b-0410-8b05-ffd578937521
2012-04-06 22:27:55 +00:00
theraven
85bb57fd18
Fix a few compiler warnings caused by type mismatches in NSLog statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35037 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:37:11 +00:00
theraven
ecfd46edb2
Support for collection subscripting (NSArray and NSDictionary).
...
Yes, the syntax is ugly, but no doubt people will start using it in June...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35033 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:23:10 +00:00
theraven
889cad62db
Use the runtime's ARC autorelease pools if available.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35031 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:02:59 +00:00
fredkiefer
7fd8c5e1ce
* Source/NSXMLNode.m (+_objectForNode:): Don't create a document
...
object for a private document.
* Tests/base/NSXMLNode/transfer.m: New code for test case
contributed by Doug Simons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35026 72102866-910b-0410-8b05-ffd578937521
2012-04-04 21:39:12 +00:00
fredkiefer
e478c41574
* Source/NSXMLElement.m,
...
* Source/NSXMLNode.m: Fix compiler error and warning for older
version of libxml2.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35024 72102866-910b-0410-8b05-ffd578937521
2012-04-03 06:25:07 +00:00
thebeing
349d2e76a8
Add special small object class for floats. Previously, NSSmallRepeatableDouble
...
would be used which resulted in the float being printed as a double when calling
-stringValue or -description.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35022 72102866-910b-0410-8b05-ffd578937521
2012-04-01 07:33:38 +00:00
fredkiefer
18e25df75a
* Source/NSXMLNode.m (execute_xpath): Clean up.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35012 72102866-910b-0410-8b05-ffd578937521
2012-03-27 21:44:01 +00:00
thebeing
a5c6cfa9f7
Detect the presence of libdispatch and, if available, use it for collection
...
enumeration methods that take blocks as arguments. This allows us to implement
the NSEnumerationConcurrent option of those methods with minimal effort.
The searching methods on NSIndexSet and all the sorting methods are still
missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35010 72102866-910b-0410-8b05-ffd578937521
2012-03-27 17:05:19 +00:00
thebeing
de00ca1cc4
Remove leftover debugging statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35008 72102866-910b-0410-8b05-ffd578937521
2012-03-27 15:37:52 +00:00
rfm
417f445a4a
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35005 72102866-910b-0410-8b05-ffd578937521
2012-03-27 13:24:04 +00:00
rfm
0ae9c7d32a
get code to compile/link again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35004 72102866-910b-0410-8b05-ffd578937521
2012-03-27 10:03:40 +00:00
fredkiefer
d7944d62d3
* Source/NSXMLElement.m,
...
* Source/NSXMLNode.m: Better support for namespaces. Corrected
-_nodeFollowingInNaturalDirection:, -setStringValue: and
-XMLStringWithOptions:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34999 72102866-910b-0410-8b05-ffd578937521
2012-03-26 23:11:52 +00:00
thebeing
849ed6b9f4
Add completion block support to NSOperation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34996 72102866-910b-0410-8b05-ffd578937521
2012-03-26 14:47:07 +00:00
rfm
45763510da
include libxml2 headers early
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34995 72102866-910b-0410-8b05-ffd578937521
2012-03-25 20:22:39 +00:00
fredkiefer
b0c27e37b1
* Source/NSXMLNode.m (-rootDocument): Better test for private document.
...
* Source/NSXMLDTDNode.m (-initWithXMLString:): Use childAtIndex:
instead of rootElement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34991 72102866-910b-0410-8b05-ffd578937521
2012-03-23 19:40:43 +00:00
fredkiefer
511ebc6580
* Source/NSXMLNode.m (-copyWithZone_): Use value 1 instead of 2
...
for deep copy. Bug found by Doug Simons <doug.simons@testplant.com>.
* Source/NSXMLNode.m (-rootDocument): Don't return the private
document.
* Source/NSXMLNode.m (-nextSibling, -previousSibling): Protect
against namspace nodes.
* Tests/base/NSXMLNode/transfer.m: New test case for problem
reported by Doug Simons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34988 72102866-910b-0410-8b05-ffd578937521
2012-03-23 09:48:24 +00:00
rfm
887362645d
tidy a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34981 72102866-910b-0410-8b05-ffd578937521
2012-03-22 20:58:27 +00:00
fredkiefer
07cd15dd72
* Source/NSXMLElement.m,
...
* Source/NSXMLNode.m: Fix memory leak for attribute private
documents found by valgrind.
* Tests/base/NSXMLNode/namespace.m: Use drain instead of
release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34976 72102866-910b-0410-8b05-ffd578937521
2012-03-22 17:33:09 +00:00
fredkiefer
e1f3c34218
Clean up FIXMEs in comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34973 72102866-910b-0410-8b05-ffd578937521
2012-03-22 09:41:16 +00:00
fredkiefer
2079071716
* Source/NSXMLDocument.m (-URI, -setURI:): Specific implementation.
...
* Source/NSXMLPrivate.h: Remove URI ivar.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Full support for namespaces.
* Tests/base/NSXMLNode/namespace.m: Test code borrowed from
Google data project.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34972 72102866-910b-0410-8b05-ffd578937521
2012-03-22 09:34:54 +00:00
fredkiefer
6bb7c00782
* Source/NSXMLDocument.m: Correct memory management.
...
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Add partial support for namespaces.
Try to bracket more libxml2 functions with version checks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34967 72102866-910b-0410-8b05-ffd578937521
2012-03-21 09:01:48 +00:00
rfm
b5181106dd
Alterations for build consistency
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34966 72102866-910b-0410-8b05-ffd578937521
2012-03-21 08:00:33 +00:00
thebeing
ecec748337
Implement a few blocks related enumeration methods on NSDictionary (with
...
unit tests).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34965 72102866-910b-0410-8b05-ffd578937521
2012-03-20 20:17:45 +00:00
rfm
02a7bf73a7
quick hack to get base to compile and link again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34963 72102866-910b-0410-8b05-ffd578937521
2012-03-20 17:45:16 +00:00
fredkiefer
eb086207bb
Add missing free of private document, forgotten in last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34948 72102866-910b-0410-8b05-ffd578937521
2012-03-18 12:29:47 +00:00
fredkiefer
1919becb37
* Source/NSXMLDTDNode.m: Correct node type, at least for entity nodes.
...
* Source/NSXMLDTD.m: Use predefined entities from libxml2.
* Source/NSXMLNode.m: Rewrite the ownership transfer to preserve
names in dictionaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34947 72102866-910b-0410-8b05-ffd578937521
2012-03-18 12:20:29 +00:00
fredkiefer
fbccdda56f
* Source/NSXMLPrivate.h: Remvoe unused ivars.
...
* Source/NSXMLDocument.m: Get DTD from node and and validation
in init methods.
* Source/NSXMLDTD.m: Implement.
* Source/NSXMLNode.m: No children for attribute nodes.
* Tests/base/NSXMLNode/basic.m: Test empty attribute children
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34943 72102866-910b-0410-8b05-ffd578937521
2012-03-17 13:57:58 +00:00
fredkiefer
87a4b8d458
* Source/NSXMLNode.m (-XMLStringWithOptions:): Protect the
...
different format constants with version checks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34935 72102866-910b-0410-8b05-ffd578937521
2012-03-16 07:56:15 +00:00
fredkiefer
be8b523df9
* Source/NSXMLDocument.m (-XMLDataWithOptions:): Correct convesion
...
to NSData. Add some comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34931 72102866-910b-0410-8b05-ffd578937521
2012-03-14 22:41:32 +00:00
fredkiefer
caa752f124
Use xmlSave for XML String creation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34929 72102866-910b-0410-8b05-ffd578937521
2012-03-14 21:12:19 +00:00
rfm
e3a0cd2cee
get the xml code to build on RedHat/CentOS
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34928 72102866-910b-0410-8b05-ffd578937521
2012-03-14 10:09:15 +00:00
fredkiefer
95c6da91e9
* Source/NSXMLNode.m (-detach): Don't handle the namespace case.
...
* Source/NSXMLElement.m (-removeNamespaceForPrefix:): Implement.
* Tests/base/NSXMLNode/basic.m: Move tests from here ...
* Tests/base/NSXMLElement/basic.m: ... to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34927 72102866-910b-0410-8b05-ffd578937521
2012-03-12 22:33:27 +00:00
fredkiefer
f2ffb6dab9
* Source/NSXMLElement.m: Correct used namespace field.
...
* Source/NSXMLNode.m: Implement special handling for namespace
nodes.
* Tests/base/NSXMLNode/basic.m: Correct method name for
namespace node.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34926 72102866-910b-0410-8b05-ffd578937521
2012-03-12 19:50:51 +00:00
rfm
d5c5a0bf87
evert/improve last changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34925 72102866-910b-0410-8b05-ffd578937521
2012-03-12 18:13:27 +00:00
rfm
41d2f1f1bf
restructure a bit to make it easier to add namespace support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34924 72102866-910b-0410-8b05-ffd578937521
2012-03-12 13:27:32 +00:00
rfm
5d7276fd43
avoid crash in testcases
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34921 72102866-910b-0410-8b05-ffd578937521
2012-03-11 15:04:36 +00:00
rfm
59866bb440
Use NSLog consistently for debug output
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34920 72102866-910b-0410-8b05-ffd578937521
2012-03-11 11:00:08 +00:00
fredkiefer
adf7878f84
* Source/NSXMLNode.m (-copyWithZone:): Don't set object value of
...
copy if it is nil.
* Source/NSXMLNode.m (+_objectForNode:): Use correct sub class
for decl nodes.
* Tests/base/NSXMLNode/basic.m: More tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34912 72102866-910b-0410-8b05-ffd578937521
2012-03-09 10:08:48 +00:00
fredkiefer
098f8fd389
* Source/NSXMLNode.m (-detach, -_insertChild:atIndex:): Maintain
...
doc pointer.
* Source/NSXMLDTD.m: Implement a few methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34908 72102866-910b-0410-8b05-ffd578937521
2012-03-08 19:59:12 +00:00
fredkiefer
0c1c5da4a8
* Source/NSXMLNode.m (+_objectForNode:): Add a few more libxml2
...
node types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34905 72102866-910b-0410-8b05-ffd578937521
2012-03-08 00:15:08 +00:00
rfm
85fc07ec45
attempt to fix event generation/handing logic for data streams
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34903 72102866-910b-0410-8b05-ffd578937521
2012-03-07 13:46:50 +00:00
rfm
bcfeafc9ae
Apply patch by Jens Alfke with minor changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34902 72102866-910b-0410-8b05-ffd578937521
2012-03-07 08:37:54 +00:00
fredkiefer
7fd24c9e94
* Source/NSXMLNode.m (+initialize): Add workaround for Windows
...
xmlFree problem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34897 72102866-910b-0410-8b05-ffd578937521
2012-03-06 22:33:54 +00:00
rfm
252100a423
attempt fix for chunked coding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34896 72102866-910b-0410-8b05-ffd578937521
2012-03-06 20:08:46 +00:00
fredkiefer
454385ff6e
Get all the XML tests to pass again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34892 72102866-910b-0410-8b05-ffd578937521
2012-03-06 09:55:36 +00:00
ericwa
4e97f9028e
* Source/NSUserDefaults.m:
...
* Source/NSConnection.m:
* Source/NSCharacterSet.m:
* Tools/make_strings/StringsFile.m:
* Tools/pl.m: Fix instances where NSNotFound is stored in or
compared to an unsigned or int variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34884 72102866-910b-0410-8b05-ffd578937521
2012-03-06 03:05:23 +00:00
ericwa
1a6c14af38
* Source/NSString.m: Factor out code for opening an ICU collator
...
into static function GSICUCollatorOpen. Support
NSDiacriticInsensitiveSearch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34883 72102866-910b-0410-8b05-ffd578937521
2012-03-06 02:25:43 +00:00
ericwa
7bd91587e4
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
...
Rename locale parameter from "dict" to "locale".
* Source/NSString.m (-compare:options:range:locale:): If locale
paramater is not nil and not an NSLocale instance, substitute
+[NSLocale currentLocale].
* Source/NSString.m: Clarify some locale related documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34882 72102866-910b-0410-8b05-ffd578937521
2012-03-06 02:08:47 +00:00
fredkiefer
06a892ed28
* Tests/base/NSXMLElement/attributes.m: Test for changed
...
exception.
* Tests/base/NSXMLNode/basic.m: More tests.
* Source/NSXMLNode.m: Rewrite object value handling.
* Source/NSXMLElement.m (-objectValue): Return @"" when the
value is nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34881 72102866-910b-0410-8b05-ffd578937521
2012-03-05 22:48:18 +00:00
ericwa
a9ae729b91
* Source/NSString.m (-rangeOfString:options:range:locale:):
...
Correct result range with ICU codepath
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34880 72102866-910b-0410-8b05-ffd578937521
2012-03-05 22:31:53 +00:00
fredkiefer
391c16f630
* Source/NSXMLElement.m (-addAttribute:): Raise correct exception.
...
* Tests/base/NSXMLNode/children.m: Add test cases for attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34879 72102866-910b-0410-8b05-ffd578937521
2012-03-05 09:41:40 +00:00
fredkiefer
a91938aac3
* Source/NSXMLPrivate.h: Move private method declarations for
...
NSXMLNode to here.
* Source/NSXMLDocument.m
* Source/NSXMLDTD.m
* Source/NSXMLDTDNode.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Clean up and add comments about missing
code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34877 72102866-910b-0410-8b05-ffd578937521
2012-03-04 21:40:39 +00:00
rfm
a4d0010baf
improve documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34875 72102866-910b-0410-8b05-ffd578937521
2012-03-03 21:04:08 +00:00
fredkiefer
81fd43b4ce
* Source/NSXMLNode.m: Remove all the extra reference handling code
...
and the special retain and release methods.
* Tests/base/NSXMLNode/basic.m,
* Tests/base/NSXMLNode/children.m: A few more test
cases. Validated on MacOSX 10.6.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34873 72102866-910b-0410-8b05-ffd578937521
2012-03-03 11:37:49 +00:00
rfm
11e6e068de
redo commit for minor bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34872 72102866-910b-0410-8b05-ffd578937521
2012-03-03 09:19:41 +00:00
ericwa
9b8f114702
* Source/NSString.m: Fix for ICU anchored backwards search
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34868 72102866-910b-0410-8b05-ffd578937521
2012-03-02 22:01:10 +00:00
fredkiefer
311cfb5b8c
* Source/GSLocale.m (GSDefaultLanguageLocale): Add missing check
...
for LC_MESSAGES definition.
This broke compilation on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34867 72102866-910b-0410-8b05-ffd578937521
2012-03-02 21:38:41 +00:00
rfm
a1748ffc60
compatibiulity fix for 35699
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34865 72102866-910b-0410-8b05-ffd578937521
2012-03-02 19:01:30 +00:00
rfm
ecaf57e6ce
add some comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34862 72102866-910b-0410-8b05-ffd578937521
2012-03-02 09:09:15 +00:00
rfm
c8225e058b
OSX compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34861 72102866-910b-0410-8b05-ffd578937521
2012-03-02 09:03:00 +00:00
rfm
edf6711cd8
fixups for ICU changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34858 72102866-910b-0410-8b05-ffd578937521
2012-03-02 07:31:47 +00:00
rfm
5f3618ee95
patch for bug 35685 by Jens Alfke <jens@mooseyard.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34857 72102866-910b-0410-8b05-ffd578937521
2012-03-02 07:07:43 +00:00
ericwa
928095d6c3
* Source/NSString.m: Implement a codepath using ICU for
...
-compare:options:range:locale: and
-rangeOfString:options:range:locale: when a non-nil locale
is provided.
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Change type of locale parameter to id; it can be NSDictionary or
NSLocale.
* configure.ac: add some ICU headers used in NSString change
* configure: regenerate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34856 72102866-910b-0410-8b05-ffd578937521
2012-03-02 06:53:16 +00:00
rfm
f00a26fa26
Apply fixes for a couple of bug reports.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34855 72102866-910b-0410-8b05-ffd578937521
2012-03-01 19:39:20 +00:00
rfm
872d1e3ff7
minor fix for output format
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34853 72102866-910b-0410-8b05-ffd578937521
2012-03-01 09:30:13 +00:00
rfm
bb610b0e30
experimental change to try to avoid non-standard extensions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34852 72102866-910b-0410-8b05-ffd578937521
2012-03-01 09:14:08 +00:00
fredkiefer
50decd4014
More XML cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34851 72102866-910b-0410-8b05-ffd578937521
2012-03-01 08:41:20 +00:00
rfm
975a59d54b
attempt to control intentation/formatting
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34850 72102866-910b-0410-8b05-ffd578937521
2012-03-01 06:33:11 +00:00
rfm
50634cb638
cleanups and comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34849 72102866-910b-0410-8b05-ffd578937521
2012-03-01 06:11:30 +00:00
gcasa
8916922c6d
* Source/NSXMLNode.m: Fix a crashing bug after an invalid xpath
...
expression is used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34848 72102866-910b-0410-8b05-ffd578937521
2012-02-29 21:13:13 +00:00
rfm
b6015d2f0a
try to ensure we get posix strerror_r
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34845 72102866-910b-0410-8b05-ffd578937521
2012-02-29 15:17:06 +00:00
rfm
2c2bfccccb
recommit with bugfix decoding array count
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34843 72102866-910b-0410-8b05-ffd578937521
2012-02-28 06:53:00 +00:00
rfm
a4f2dd506a
Partial recommit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34842 72102866-910b-0410-8b05-ffd578937521
2012-02-28 06:39:00 +00:00
ericwa
e8bc5d9a5f
* Source/GSLocale.m:
...
- Deprecate GSSetLocale and GSSetLocaleC; they now do nothing
but print a warning.
- Introduce GSDefaultLanguageLocale(), which is a
substitute for GSSetLocale(LC_MESSAGES, nil), which just returns the
current setting of LC_MESSAGES.
* Source/NSObject.m (+initialize): Remove GSSetLocaleC call,
which was changing the libc locale.
* Source/NSUserDefaults.m: Use GSDefaultLanguageLocale() instead of
GSSetLocale(LC_MESSAGES, nil)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34841 72102866-910b-0410-8b05-ffd578937521
2012-02-28 06:20:53 +00:00
ericwa
1f20f66738
* Source/NSArchiver.m (-resetArchiver): Write [self systemVersion] as
...
the archive version instead of 0, because this is what will be stored in
the archive if -encodeRootObject: is not called.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34840 72102866-910b-0410-8b05-ffd578937521
2012-02-28 03:26:46 +00:00
rfm
c15dc542ce
revert port coder changes ... not working. Tidy others
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34837 72102866-910b-0410-8b05-ffd578937521
2012-02-27 23:26:18 +00:00
rfm
38cc835fa7
bump version
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34835 72102866-910b-0410-8b05-ffd578937521
2012-02-27 21:13:16 +00:00
rfm
04cdb44613
iarray coding fixes for DO
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34834 72102866-910b-0410-8b05-ffd578937521
2012-02-27 20:35:37 +00:00
rfm
0c7046edf8
Check for overflow wile decoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34833 72102866-910b-0410-8b05-ffd578937521
2012-02-27 20:18:06 +00:00
rfm
3aee9ca4ba
revise archive format.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34832 72102866-910b-0410-8b05-ffd578937521
2012-02-27 20:07:05 +00:00
fredkiefer
3b76abbaae
Replace last change by a better one.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34829 72102866-910b-0410-8b05-ffd578937521
2012-02-27 18:35:38 +00:00
gcasa
6e4e57e690
2012-02-27 Fred Kiefer <FredKiefer@gmx.de>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34828 72102866-910b-0410-8b05-ffd578937521
2012-02-27 17:30:07 +00:00
fredkiefer
4b79143129
* Source/NSXMLNode.m (+_objectForNode:): Get the actual class from
...
the document.
* Source/NSXMLNode.m (-description): Add a simple description method.
* Source/NSXMLDocument.m: Further cleanup. Exchange the contents
of -initWithData:... and initWithXMLString:...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34826 72102866-910b-0410-8b05-ffd578937521
2012-02-27 12:53:25 +00:00
rfm
a1c047b38f
revert accidental commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34824 72102866-910b-0410-8b05-ffd578937521
2012-02-27 10:31:05 +00:00
rfm
3939e3928f
add support to encode/decode larger arrays
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34823 72102866-910b-0410-8b05-ffd578937521
2012-02-27 10:29:10 +00:00
ericwa
20b792c173
* Source/NSData.m: Various 64-bit compatibility fixes, mostly changing
...
unsgined to NSUInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34822 72102866-910b-0410-8b05-ffd578937521
2012-02-27 02:12:19 +00:00
fredkiefer
14330e67e1
* Source/NSXMLNode.m (execute_xpath): Use correct node for
...
relative paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34821 72102866-910b-0410-8b05-ffd578937521
2012-02-26 20:45:00 +00:00
fredkiefer
c9ed32af80
* Source/NSXMLNode.m (+elementWithName:stringValue:): Correct
...
recursive call.
Patch by Ivan Vučica <ivucica@gmail.com>
* Source/NSXMLElement.m: Add FIXME comments for name space
methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34820 72102866-910b-0410-8b05-ffd578937521
2012-02-26 19:58:25 +00:00
rfm
c0585bf7b2
moe consistent use of white space to match coding standard etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34809 72102866-910b-0410-8b05-ffd578937521
2012-02-23 17:57:50 +00:00
fredkiefer
2bd8c521dc
* Source/NSXMLElement.m: Implement namespace methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34808 72102866-910b-0410-8b05-ffd578937521
2012-02-23 00:01:27 +00:00
fredkiefer
e01366b184
* Source/NSXMLNode.m (-_nodeFollowingInNaturalDirection:): Correct
...
this method.
* Source/NSXMLDocument.m,
* Source/NSXMLElement.m: Clean up children methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34807 72102866-910b-0410-8b05-ffd578937521
2012-02-22 22:52:31 +00:00
fredkiefer
a2f291260f
* Source/NSXMLNode.m: Further clean up.
...
* Source/NSXMLDTDNode.m (-initWithXMLString:): Move comment
about missing code to here.
* Source/NSXMLElement.m (-initWithName:stringValue:): Move
subnode creation to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34806 72102866-910b-0410-8b05-ffd578937521
2012-02-22 10:55:12 +00:00
fredkiefer
b4b1fd5646
* Source/NSXMLNode.m: Clean up helper functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34801 72102866-910b-0410-8b05-ffd578937521
2012-02-21 08:21:12 +00:00
fredkiefer
474cfb91ed
* Source/NSAffineTransform.m (-initWithCoder:, -encodeWithCoder:):
...
Add key coding and decoding for NSAffineTransform.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34800 72102866-910b-0410-8b05-ffd578937521
2012-02-20 22:32:49 +00:00
gcasa
82e85dab93
* Source/NSXMLDocument.m
...
* Source/NSXMLDTD.m
* Source/NSXMLDTDNode.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m
* Source/NSXMLPrivate.h: Reimplementation of all DOM classes based on
libxml2. Implementation of all methods using libxml2 functions.
* Tests/base/NSXMLDocument/basic.m
* Tests/base/NSXMLElement/attributes.m
* Tests/base/NSXMLElement/children.m
* Tests/base/NSXMLNode/basic.m
* Tests/base/NSXMLNode/children.m
* Tests/base/NSXMLNode/kinds.m: Changes to test for new functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34789 72102866-910b-0410-8b05-ffd578937521
2012-02-20 03:40:15 +00:00
rfm
33819c457f
small parsing fixes suggested by Lubomir Rintel <lubo.rintel@gooddata.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34750 72102866-910b-0410-8b05-ffd578937521
2012-02-14 18:28:17 +00:00
rfm
88d0763339
Apply patches by Lubomir Rintel <lubo.rintel@gooddata.com> to enable cookies
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34746 72102866-910b-0410-8b05-ffd578937521
2012-02-08 17:01:31 +00:00
rfm
28d4991154
Fix suggested by Dag Agren in bug #35477
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34744 72102866-910b-0410-8b05-ffd578937521
2012-02-08 15:34:48 +00:00
rfm
5b47b13296
Fixup version
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34721 72102866-910b-0410-8b05-ffd578937521
2012-02-04 13:33:03 +00:00
rfm
d024ffcad9
fix for bug 35437
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34699 72102866-910b-0410-8b05-ffd578937521
2012-02-02 17:12:42 +00:00
rfm
ae9a3339fb
JSON fixups thanks to Lubomir Rintel <lubo.rintel@gooddata.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34681 72102866-910b-0410-8b05-ffd578937521
2012-01-31 16:32:40 +00:00
rfm
39da8b22e2
fix buffer overrun
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34667 72102866-910b-0410-8b05-ffd578937521
2012-01-30 15:26:09 +00:00
rfm
cf647b2a8d
avoid compiler warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34666 72102866-910b-0410-8b05-ffd578937521
2012-01-30 12:03:14 +00:00
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
rfm
da19c7df2e
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
dpsimons
0c39cf5314
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
gcasa
f2604e1d43
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
dpsimons
841b0c1ef1
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
rfm
464b7ff32f
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
wlux
5ccc63c882
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
wlux
be918f5589
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
wlux
f7afd83ded
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
wlux
42ffcb55bf
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
wlux
4c75f12273
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
rmottola
dddfc5fa7b
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
fredkiefer
233003cff2
* 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
rfm
13e98151ab
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
rfm
c471992651
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
rfm
ee3f0b14a0
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
ericwa
402a06fb2e
* 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
theraven
d24a7d619c
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
rfm
e621db5aac
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
rfm
76a74fd7ae
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
rfm
3415a59abe
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
rfm
fc8d1c8260
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
theraven
6a299cb671
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
theraven
8d00177934
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
fedor
1178aa0db0
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
rfm
059d6435c3
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
rfm
b2b57f1610
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
fredkiefer
4856432f9b
* 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
rfm
cf33bdf2e6
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
rfm
c28138f3fa
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
rfm
26f7e4b33d
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
rfm
19d0014c7c
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
rfm
40eb0f82fa
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
rfm
c46da8eb3f
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
rfm
5d7701c466
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
rfm
0575536e78
Literal string equality tests ... implement another optimisation, plus one
...
spotted by Fred, plus a fix for another bug spotted by Fred!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34102 72102866-910b-0410-8b05-ffd578937521
2011-11-01 11:43:40 +00:00
rfm
27807e706c
improve literal string optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34101 72102866-910b-0410-8b05-ffd578937521
2011-11-01 09:43:25 +00:00
rfm
84d3190d31
fix bug spotted by fred
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34094 72102866-910b-0410-8b05-ffd578937521
2011-10-31 10:00:29 +00:00
rfm
84a297282f
Implement optimisations suggested by Fred's vcachegrind profiling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34093 72102866-910b-0410-8b05-ffd578937521
2011-10-31 08:12:26 +00:00
fredkiefer
e3594c5773
* Source/GSeq.h: Replace unsigned with NSUInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34088 72102866-910b-0410-8b05-ffd578937521
2011-10-29 16:48:55 +00:00
rfm
a86fa6f9b9
fix failure to terminate loop properly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34085 72102866-910b-0410-8b05-ffd578937521
2011-10-28 18:17:36 +00:00
rfm
22289342b4
tweak for more efficient string handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34084 72102866-910b-0410-8b05-ffd578937521
2011-10-28 15:02:46 +00:00
rfm
a220e9bdf0
clean up comments a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34083 72102866-910b-0410-8b05-ffd578937521
2011-10-28 14:31:46 +00:00
rfm
b374bdb3c9
tweak last optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34082 72102866-910b-0410-8b05-ffd578937521
2011-10-28 14:30:47 +00:00
rfm
a4c7e88a11
fix error replacing strings in a string, and optimise literal strings a bit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34081 72102866-910b-0410-8b05-ffd578937521
2011-10-28 14:25:17 +00:00
rfm
1c0ad8aa26
Tweaks to avoid compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34054 72102866-910b-0410-8b05-ffd578937521
2011-10-25 08:02:38 +00:00
fredkiefer
32cd99926f
Imporve keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34049 72102866-910b-0410-8b05-ffd578937521
2011-10-24 14:33:30 +00:00
fredkiefer
6a54c84a72
* Source/NSProcessInfo.m: Add includes needed for the HAVE_PROCFS
...
case.
* Source/common.h: Correct last commit, the #endif was placed
incorrectly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34041 72102866-910b-0410-8b05-ffd578937521
2011-10-22 13:59:05 +00:00
rfm
51d3096c8b
another attempted workaround for __block issue
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34036 72102866-910b-0410-8b05-ffd578937521
2011-10-20 09:52:01 +00:00
rfm
ba1232afff
clean up and comment last fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34033 72102866-910b-0410-8b05-ffd578937521
2011-10-20 07:09:57 +00:00
rfm
142034664f
quick hack for bug 34603
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34032 72102866-910b-0410-8b05-ffd578937521
2011-10-19 21:38:52 +00:00
rfm
2934175c27
fixes for gnutls detection and objc library detection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34030 72102866-910b-0410-8b05-ffd578937521
2011-10-19 16:53:39 +00:00
rfm
a8ce28dd9f
tidyup private api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34029 72102866-910b-0410-8b05-ffd578937521
2011-10-19 15:25:38 +00:00
rfm
d074288f00
fix for failure to load global defaults
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34026 72102866-910b-0410-8b05-ffd578937521
2011-10-19 13:32:50 +00:00
rfm
62e4aa75b9
Hide user resources in .GNUstep for standalone packages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34019 72102866-910b-0410-8b05-ffd578937521
2011-10-18 05:56:03 +00:00
rfm
eca1f5a0f2
documentation cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34015 72102866-910b-0410-8b05-ffd578937521
2011-10-17 10:59:02 +00:00
qmathe
c7693fb2ba
Fixed NSXMLNode compilation when using the "pure" non-fragile ABI
...
(--disable-mixedabi was passed to Base configure).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34013 72102866-910b-0410-8b05-ffd578937521
2011-10-17 10:24:07 +00:00
rfm
c7392120d2
Allow bare "." as path name, but fix template to use "./"
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34012 72102866-910b-0410-8b05-ffd578937521
2011-10-17 09:10:18 +00:00
fredkiefer
eb3657cd58
* Source/NSString.m (-initWithCoder:): In keyed coding the key
...
"NS.bytes" may contain either an NSData or an NSString object.
Not sure about the encoding, I am using UTF8.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34010 72102866-910b-0410-8b05-ffd578937521
2011-10-17 08:28:38 +00:00
rfm
05c5405d34
fix misssing line in last mod
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34007 72102866-910b-0410-8b05-ffd578937521
2011-10-15 18:42:16 +00:00
rfm
2481f5f9f9
added Quentin's fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34006 72102866-910b-0410-8b05-ffd578937521
2011-10-15 18:41:24 +00:00
rfm
d73267f7e0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34005 72102866-910b-0410-8b05-ffd578937521
2011-10-15 18:36:51 +00:00
rfm
f5677433dd
fix copy/paste error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34000 72102866-910b-0410-8b05-ffd578937521
2011-10-15 08:15:03 +00:00
rfm
2bf86630a2
Portability tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33999 72102866-910b-0410-8b05-ffd578937521
2011-10-15 07:59:19 +00:00
rfm
2f9fdd24b8
Use _POSIX_C_SOURCE=199506L
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33998 72102866-910b-0410-8b05-ffd578937521
2011-10-15 05:02:22 +00:00
rfm
ef9bb6249e
include errno for strerror
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33997 72102866-910b-0410-8b05-ffd578937521
2011-10-14 17:53:46 +00:00
rfm
2b1ff67600
add comment about clang __block workaround
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33996 72102866-910b-0410-8b05-ffd578937521
2011-10-14 16:54:33 +00:00
rfm
3312c2634a
threading portability improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33995 72102866-910b-0410-8b05-ffd578937521
2011-10-14 16:43:03 +00:00
rfm
241155db60
tweak minor problems in last changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33994 72102866-910b-0410-8b05-ffd578937521
2011-10-14 16:19:37 +00:00
rfm
b644d057ee
internal workaround for clang namespace pollution.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33993 72102866-910b-0410-8b05-ffd578937521
2011-10-14 15:46:13 +00:00
rfm
ca4c6c8c43
fix test for lossy conversions from unicode to other character sets.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33992 72102866-910b-0410-8b05-ffd578937521
2011-10-14 14:16:11 +00:00
rfm
99ca14e878
avloid namespace collisions for preprocessor constants
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33991 72102866-910b-0410-8b05-ffd578937521
2011-10-14 14:07:34 +00:00
rfm
fecac8cc4d
imore informative logs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33990 72102866-910b-0410-8b05-ffd578937521
2011-10-14 13:59:59 +00:00
rfm
ed6078f217
fix buffer size error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33989 72102866-910b-0410-8b05-ffd578937521
2011-10-14 13:48:13 +00:00
rfm
d14298591a
tweak for fast conversion of literals to ascii or latin1
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33988 72102866-910b-0410-8b05-ffd578937521
2011-10-14 13:45:52 +00:00
rfm
0f17556fc3
tweak getting cString with specific encoding for unicode
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33987 72102866-910b-0410-8b05-ffd578937521
2011-10-14 13:19:43 +00:00
rfm
46a53d440f
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33986 72102866-910b-0410-8b05-ffd578937521
2011-10-14 13:10:52 +00:00
rfm
48bc86ddf8
define _XOPEN_SOURCE to 600 throughout
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33984 72102866-910b-0410-8b05-ffd578937521
2011-10-14 12:00:02 +00:00
rfm
3dcc2ab2ad
solaris thread-saff errrno fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33983 72102866-910b-0410-8b05-ffd578937521
2011-10-14 11:40:34 +00:00
rfm
d5088db475
fix initialisation bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33982 72102866-910b-0410-8b05-ffd578937521
2011-10-14 10:57:40 +00:00
rfm
503088a01c
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33980 72102866-910b-0410-8b05-ffd578937521
2011-10-14 09:34:35 +00:00
rfm
400f0b9e4d
implement -hash for constant strings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33979 72102866-910b-0410-8b05-ffd578937521
2011-10-14 07:07:39 +00:00
rfm
2756763d0f
tweak for reporting error code of connection failure
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33977 72102866-910b-0410-8b05-ffd578937521
2011-10-13 13:39:35 +00:00
rfm
ac2c5d6090
build new private functions on win32
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33975 72102866-910b-0410-8b05-ffd578937521
2011-10-12 16:31:30 +00:00
rfm
a019a0480c
windows compile fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33974 72102866-910b-0410-8b05-ffd578937521
2011-10-12 16:23:52 +00:00
rfm
d18a469216
Don't treat constnat string class as ascii
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33973 72102866-910b-0410-8b05-ffd578937521
2011-10-12 14:36:23 +00:00
rfm
48fa5991ab
Tweaks to support UTF-8 literal string encoding supported by more recent
...
compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33972 72102866-910b-0410-8b05-ffd578937521
2011-10-12 14:28:44 +00:00
rfm
3cc9fb2c50
Fix check for operation on nonblocking socket
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33967 72102866-910b-0410-8b05-ffd578937521
2011-10-11 21:43:00 +00:00
rfm
ccbd4060d9
minor string fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33966 72102866-910b-0410-8b05-ffd578937521
2011-10-11 21:16:28 +00:00
thebeing
44830d5fd2
In -[GSMimeParser scanToken:] return @"" instead of nil when parsing an empty
...
quoted string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33952 72102866-910b-0410-8b05-ffd578937521
2011-10-08 17:53:17 +00:00
rfm
c0ddb7f5b9
networking portability for for solaris
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33951 72102866-910b-0410-8b05-ffd578937521
2011-10-08 16:29:19 +00:00
rfm
fde1cac9d3
small tweak for lowering resource usage during very heavy use of outgoing
...
connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33950 72102866-910b-0410-8b05-ffd578937521
2011-10-07 15:15:05 +00:00
rfm
04c72fb364
fix to reture respnse for synchronous request.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33949 72102866-910b-0410-8b05-ffd578937521
2011-10-07 09:17:14 +00:00
rfm
c71ffe21e9
Make the use of nil for a file URL path raise an invalid argument exception
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33939 72102866-910b-0410-8b05-ffd578937521
2011-10-04 05:40:29 +00:00
fredkiefer
926f3ccb03
* Source/NSPropertyList.m (GSBinaryPLParser -objectAtIndex:):
...
Use long long for all integer types. Before we used signed types
which resulted wrong values for negative integers.
* Source/NSKeyedUnarchiver.m (-_decodeObject:): Handle the
string "$null" as nil all the times.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33934 72102866-910b-0410-8b05-ffd578937521
2011-10-03 19:48:30 +00:00
rfm
6b8dc7ef6c
Provisional IPv6 support added.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33933 72102866-910b-0410-8b05-ffd578937521
2011-10-03 16:03:19 +00:00
fredkiefer
bc796f4304
* Source/NSData.m (-initWithCoder:, -encodeWithCoder): Correct
...
keyed encoding/decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33932 72102866-910b-0410-8b05-ffd578937521
2011-10-03 13:22:16 +00:00
rfm
6efa3c983e
Add a few OSX compatibility methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33929 72102866-910b-0410-8b05-ffd578937521
2011-10-02 11:17:49 +00:00
thebeing
a8bcdd81c1
Started working on NSXMLNode.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33927 72102866-910b-0410-8b05-ffd578937521
2011-10-01 18:43:29 +00:00
rfm
223eb3356c
Minor fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33916 72102866-910b-0410-8b05-ffd578937521
2011-09-30 20:31:15 +00:00
ericwa
6352d91406
* Source/NSUserDefaults.m:
...
- Refactoring of the code to read the system language list
into a separate function, systemLanguages().
- Add support for the LANGUAGE environment variable, a GNU extension.
It holds a colon-separated list of locales, and is intended to let
the user specify a list of their preferred languages in order.
For example, the language settings GUI in Ubuntu modifies the
LANGUAGE variable.
More info here:
http://www.gnu.org/software/gettext/manual/gettext.html#The-LANGUAGE-variable
- When populating NSLanguages, "expand" locales into a list of
related variants, formed by stripping off region suffixes. This
ensures that if a user's environment is set to a regional version
of a language (say CanadaFrench) but an application is only
traslated into French, the plain French translation will still be used.
e.g. if the system locales are {fr_CA, en_CA}, expand the list to
{fr_CA, fr, en_CA, en}.
* Headers/GNUstepBase/GSLocale.h:
* Source/GSLocale.m:
New functions GSLocaleVariants and GSLanguagesFromLocale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33910 72102866-910b-0410-8b05-ffd578937521
2011-09-29 19:00:46 +00:00
gcasa
eebba60c4b
Shorten the error message here. Move the bulk of the explaination into README.initialize in the Documentation folder.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33909 72102866-910b-0410-8b05-ffd578937521
2011-09-29 17:04:13 +00:00
rfm
6094a0cfa6
Fixup to get correct type information when handling an incoming message as
...
suggested by Fred.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33832 72102866-910b-0410-8b05-ffd578937521
2011-09-12 16:03:07 +00:00
rfm
6cd7e3a588
Attempt workaround for runtime providing insufficient information in callback.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33814 72102866-910b-0410-8b05-ffd578937521
2011-09-07 09:42:50 +00:00
rfm
b7b4333de4
fix bug #34154
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33792 72102866-910b-0410-8b05-ffd578937521
2011-08-27 16:46:26 +00:00
rfm
f4e03baeea
build on apple
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33791 72102866-910b-0410-8b05-ffd578937521
2011-08-26 11:21:32 +00:00
fredkiefer
dff5311a0b
* Source/NSObject.m (__builtin_offsetof): Add workaround for build in missing
...
in old versions of gcc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33774 72102866-910b-0410-8b05-ffd578937521
2011-08-22 11:02:10 +00:00
fredkiefer
9e7246aa24
Temporary revert David's change to use PRIxPTR, PRIuPTR and
...
PRIdPTR. Old compilers don't handled these well. (That change
didn't have a ChangeLog entry)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33766 72102866-910b-0410-8b05-ffd578937521
2011-08-20 13:05:37 +00:00
fredkiefer
c3d229f716
* Source/Additions/GSMime.m: Use specific IMP type for method
...
returning BOOL value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33763 72102866-910b-0410-8b05-ffd578937521
2011-08-17 17:45:10 +00:00
theraven
5568644a5e
Make -base compile almost without warnings again. Fixes:
...
- Using the correct format specifier
- Remove substringFromRange: (GNUstep extension) from NSString.h and use the non-deprecated version in -base.
- Delete definitions of methods that are the same in both a class and a category on that class (NSArray and NSObject).
Two files still have warnings:
- The GNUTLS stuff is using a load of deprecated APIs.
- xmlparse.m replaces a method using a category. This method seems to always return nil. Not sure what it's meant to do, or why it isn't a delegate of some kind.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33756 72102866-910b-0410-8b05-ffd578937521
2011-08-16 16:04:43 +00:00
theraven
5d60193f9c
Use the word-size-agnostic printf specifier.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33755 72102866-910b-0410-8b05-ffd578937521
2011-08-16 14:47:35 +00:00
rfm
bc7be959e5
fix detection of excess data at end of multipart docs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33738 72102866-910b-0410-8b05-ffd578937521
2011-08-15 08:59:52 +00:00
rfm
8c2da63941
redo/correct last fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33736 72102866-910b-0410-8b05-ffd578937521
2011-08-15 06:16:51 +00:00
rfm
5b054c22e1
revert attepted bugfix ...needs more testing debugging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33735 72102866-910b-0410-8b05-ffd578937521
2011-08-14 20:49:16 +00:00
rfm
4e5360267c
tweak parsing end of headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33734 72102866-910b-0410-8b05-ffd578937521
2011-08-14 18:38:13 +00:00
theraven
209d75627d
#ifdef -> #if
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33732 72102866-910b-0410-8b05-ffd578937521
2011-08-14 08:49:33 +00:00
theraven
157da23407
Fix the build with the pure non-fragile ABI by declaring macros before using them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33724 72102866-910b-0410-8b05-ffd578937521
2011-08-13 15:28:22 +00:00
fredkiefer
67702ed4dd
* Source/NSAffineTransform.m (-appendTransform:,
...
-prependTransform:): Fix bug in optimisation code by using a local variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33716 72102866-910b-0410-8b05-ffd578937521
2011-08-11 07:27:52 +00:00
theraven
11817ed00a
Replace the implementations of NSFastEnumeration in NSConcrete{Hash,Map}Table with ones that work and don't cause people to dereference pointers that are set to random integer values.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33713 72102866-910b-0410-8b05-ffd578937521
2011-08-09 08:43:54 +00:00
theraven
68f58ffe56
In -finalize, we're pretending to be the Objective-C runtime, so we need to
...
actually use isa directly, rather than the safe version. A better solution
would be to call object_dispose(), but this only works for objects created with
class_createInstance().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33704 72102866-910b-0410-8b05-ffd578937521
2011-08-07 18:00:55 +00:00
theraven
8d699f6ff8
When calling -.cxx_dealloc, look up the superclass before calling. This method
...
may destroy the receiver's class, if it's a user-generated one, so we can't
guarantee that it is valid after the call.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33701 72102866-910b-0410-8b05-ffd578937521
2011-08-07 16:56:58 +00:00
theraven
1330e3cbfc
Bracket the runtime.h include in a check.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33696 72102866-910b-0410-8b05-ffd578937521
2011-08-05 17:34:47 +00:00
theraven
f72d31cd68
Clean up NSRegularExpression, so that it compiles without warnings with or without ICU, but we don't pretend that we support things that we don't and silently return nonsense results to make debugging difficult for GNUstep users.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33688 72102866-910b-0410-8b05-ffd578937521
2011-08-03 12:04:27 +00:00
theraven
a04ed1a9ff
Make base do unintuitive and stupid things in the name of Apple compatibility (hopefully Apple will fix their implementation in 10.7.something...).
...
Fix some tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33687 72102866-910b-0410-8b05-ffd578937521
2011-08-03 09:04:12 +00:00