Commit graph

9273 commits

Author SHA1 Message Date
Richard Frith-MacDonald
cd3225d8c9 fix for bug #36650
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35265 72102866-910b-0410-8b05-ffd578937521
2012-07-08 15:00:21 +00:00
Richard Frith-MacDonald
3e1c3d35d4 reenable test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35264 72102866-910b-0410-8b05-ffd578937521
2012-07-08 14:43:02 +00:00
Richard Frith-MacDonald
5ac9b6a74e 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
Richard Frith-MacDonald
445b29faa4 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
Quentin Mathe
bb5d10108f 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
Richard Frith-MacDonald
1744a7c18b 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
Richard Frith-MacDonald
caf8cfcec2 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
Richard Frith-MacDonald
7bef14a326 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
Richard Frith-MacDonald
ff4697151d 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
Richard Frith-MacDonald
9147ca7e33 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
Wolfgang Lux
59df115b26 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
Richard Frith-MacDonald
6e59f141f5 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
Richard Frith-MacDonald
edebc8d4ea fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35157 72102866-910b-0410-8b05-ffd578937521
2012-05-20 05:51:02 +00:00
Riccardo Mottola
100c2e0722 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
Riccardo Mottola
956e6c7958 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
David Chisnall
6414d0ebeb 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
Richard Frith-MacDonald
f224e6286b 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
Fred Kiefer
6ebcdc0883 Use raise instead of @throw.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35108 72102866-910b-0410-8b05-ffd578937521
2012-04-23 20:24:32 +00:00
Fred Kiefer
3e8e98b4b2 Get new test to run with older compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35107 72102866-910b-0410-8b05-ffd578937521
2012-04-23 20:19:36 +00:00
David Chisnall
47969b4af6 Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35106 72102866-910b-0410-8b05-ffd578937521
2012-04-23 12:47:19 +00:00
David Chisnall
5e6e1ccde3 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
Riccardo Mottola
b02052b792 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
Fred Kiefer
ad1fdfcb62 * Tools/pl2link.m (main): Get the category from a new entry named
FreeDesktopCategories.
Patch by Philippe Roussel <p.o.roussel@free.fr>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35089 72102866-910b-0410-8b05-ffd578937521
2012-04-18 08:34:08 +00:00
Richard Frith-MacDonald
97261ea781 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
Richard Frith-MacDonald
cadd1fb46c 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
Richard Frith-MacDonald
d2522dc31c 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
Richard Frith-MacDonald
ae0494955e 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
Richard Frith-MacDonald
e1b2d9bd90 Add iconv configuration options.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35070 72102866-910b-0410-8b05-ffd578937521
2012-04-16 08:57:45 +00:00
Richard Frith-MacDonald
e2e74266e3 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
Sebastian Reitenbach
835817a415 Some NSInteger to NSUInteger changes to match return values
of methods

OK Fred Kiefer



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35051 72102866-910b-0410-8b05-ffd578937521
2012-04-10 07:12:49 +00:00
David Chisnall
66499ebd49 Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35047 72102866-910b-0410-8b05-ffd578937521
2012-04-07 13:55:01 +00:00
David Chisnall
2d40d348ae 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
David Chisnall
e783451e20 Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35045 72102866-910b-0410-8b05-ffd578937521
2012-04-07 10:45:44 +00:00
David Chisnall
e67891b2c2 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
Fred Kiefer
9629278d59 * 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
David Chisnall
4bc62f73ee Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35038 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:37:20 +00:00
David Chisnall
603f5410a8 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
David Chisnall
a3d29460d6 Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35034 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:23:26 +00:00
David Chisnall
3cb1b08b26 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
David Chisnall
099038ac58 Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35032 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:03:15 +00:00
David Chisnall
b9684ff5a7 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
David Chisnall
b1449b2cba Ensure that the limits declarations that we use are actually exposed when compiling ObjC++.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35030 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:01:34 +00:00
Fred Kiefer
337118ee64 * 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
Fred Kiefer
3086ac94e6 * 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
Niels Grewe
490dfca739 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
Fred Kiefer
a490907e32 * Headers/Foundation/NSObject.h (-error:): Declare return type.
Patch by BenoƮt Garrigues <bgarrigues@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35013 72102866-910b-0410-8b05-ffd578937521
2012-03-27 21:47:10 +00:00
Fred Kiefer
cd53cea865 * 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
Niels Grewe
fa47f6da10 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
Niels Grewe
95e88e9a7e 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
Richard Frith-MacDonald
1e5ac0ec6c 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