Commit graph

6571 commits

Author SHA1 Message Date
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