Commit graph

81 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
ceba92a265 Lots of little fixes to make -base compile with -Werror (now builds without warnings).
Richard: I'm unsure about three of these, which were fixes in memset() calls in:
- NSConcreteMapTable.m
- NSConcreteHashTable.m
- Additions/NSData+GNUstepBase.m

Please can you check them?  I think they are intended to zero the entire object
(rather than the first word), but the lack of comments makes me unsure.

Most changes were just tweaks to variable types.  I've also removed some dead code from NSInvocation.  This was small group of things that were marked for internal use only, but not actually referenced in the code anywhere.

Other improvements:

- NSArray / NSDictionary fixed up to use the 10.7 (ARC-friendly) prototypes.
- getObjects:andKeys: implemented for NSDictionary (10.5 method)
- NSPointerArray and NSHashTable now properly support weak objects.
- Tests for weak objects in collections.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33621 72102866-910b-0410-8b05-ffd578937521
2011-07-24 13:09:22 +00:00
rfm
cc524f2704 For the avoidance of confusion, remove references to obsolete header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33562 72102866-910b-0410-8b05-ffd578937521
2011-07-15 13:53:45 +00:00
rfm
a3d6ab0806 minor map/hash table compatibility tweaks and simplify notification center
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33210 72102866-910b-0410-8b05-ffd578937521
2011-05-31 06:46:17 +00:00
rfm
b1a7add38e GC fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32765 72102866-910b-0410-8b05-ffd578937521
2011-04-03 08:20:57 +00:00
rfm
c688f6d764 Cleanup and fix to build additipns library on apple systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32737 72102866-910b-0410-8b05-ffd578937521
2011-03-29 11:18:10 +00:00
rfm
3b9be31642 add last night's changes based on static analyser results.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32507 72102866-910b-0410-8b05-ffd578937521
2011-03-09 10:24:18 +00:00
rfm
5cd8a0e5cc cleanup getting descriptors/handles for ports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31288 72102866-910b-0410-8b05-ffd578937521
2010-09-10 08:56:55 +00:00
rfm
60c9ffa1ef tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31286 72102866-910b-0410-8b05-ffd578937521
2010-09-10 07:11:49 +00:00
rmottola
b8540a4bcb only access array if port responds to selector, or it is not initialized
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31276 72102866-910b-0410-8b05-ffd578937521
2010-09-09 21:22:31 +00:00
rfm
720d08e996 improve setting of warning flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29899 72102866-910b-0410-8b05-ffd578937521
2010-03-11 08:08:08 +00:00
rfm
9500a92a7e add -Wdeclaration-after-statement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29822 72102866-910b-0410-8b05-ffd578937521
2010-03-03 09:56:34 +00:00
rfm
7ff4d4c9c7 fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
2010-02-25 18:49:31 +00:00
rfm
d605c6f7b5 Simplify header inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
rfm
f13d56d8ec merge back reorganisation branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
rfm
fb3ff1f085 pass more info to notification functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29068 72102866-910b-0410-8b05-ffd578937521
2009-11-27 07:53:38 +00:00
rfm
5cab993ed1 More moves towards OSX 10.5 GC compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28054 72102866-910b-0410-8b05-ffd578937521
2009-03-09 15:11:51 +00:00
rfm
30cf8bf35b Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
2009-02-23 20:42:32 +00:00
rfm
50811ad964 use scanned memory for arrays
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27849 72102866-910b-0410-8b05-ffd578937521
2009-02-11 18:14:46 +00:00
wlux
8a5a8ba8eb Fix typo in GSRunLoopCtxt.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27619 72102866-910b-0410-8b05-ffd578937521
2009-01-17 13:36:22 +00:00
rfm
e26f4054b0 Small optimisation and cleanup when getting methods to perform in loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27603 72102866-910b-0410-8b05-ffd578937521
2009-01-15 15:06:04 +00:00
rfm
49dfed3d80 Improve perform in other threads
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27520 72102866-910b-0410-8b05-ffd578937521
2009-01-05 11:26:25 +00:00
nicola
c2ee21b98b Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27346 72102866-910b-0410-8b05-ffd578937521
2008-12-19 12:53:30 +00:00
nicola
0b340cc465 Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-base is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27333 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:37:45 +00:00
wlux
d4529c9a65 Fix select based implementation of GSRunLoopCtxt.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27269 72102866-910b-0410-8b05-ffd578937521
2008-12-09 22:01:17 +00:00
rfm
e0711a3b8d allow developers more time to adapt to LGPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
rfm
7c710cfbcb Complete update of NSThread for MacOS-X 10.5 compatibility. Needs testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26332 72102866-910b-0410-8b05-ffd578937521
2008-03-17 15:23:11 +00:00
rfm
324c57b1ed More socket improvments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25906 72102866-910b-0410-8b05-ffd578937521
2008-01-09 16:11:10 +00:00
rfm
529896231d fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25888 72102866-910b-0410-8b05-ffd578937521
2008-01-07 17:52:01 +00:00
rfm
14b54a6b44 networking improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25887 72102866-910b-0410-8b05-ffd578937521
2008-01-07 17:51:02 +00:00
rfm
2243657e33 Simplify
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25855 72102866-910b-0410-8b05-ffd578937521
2008-01-04 10:28:27 +00:00
rfm
d15ec8ba01 Restructuring of socket streams for maintainability and consistency between windows and unix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25854 72102866-910b-0410-8b05-ffd578937521
2008-01-04 06:59:49 +00:00
rfm
3aa7189ddb Improve MacOS-X compatibility of headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25638 72102866-910b-0410-8b05-ffd578937521
2007-11-29 20:53:26 +00:00
rfm
cd46236028 Update to GPL3 and LGPL3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
rfm
ef7a025c3f stream and runloop fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25147 72102866-910b-0410-8b05-ffd578937521
2007-05-12 17:11:35 +00:00
rfm
37f9a1410b memory problem fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25145 72102866-910b-0410-8b05-ffd578937521
2007-05-12 06:29:57 +00:00
rfm
2b76f1ca08 tweaks for url loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25142 72102866-910b-0410-8b05-ffd578937521
2007-05-11 15:47:06 +00:00
rfm
aa685d6550 Some tweaks for invocations and for networking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25140 72102866-910b-0410-8b05-ffd578937521
2007-05-11 08:26:59 +00:00
rfm
4e2e9e93e3 Avoid possibility of stream deallocation while sending events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25004 72102866-910b-0410-8b05-ffd578937521
2007-04-12 19:39:23 +00:00
rfm
a6420322d0 Fix memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24947 72102866-910b-0410-8b05-ffd578937521
2007-03-30 05:19:06 +00:00