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
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
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
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
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
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
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
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
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
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
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
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
ce32c10f45
Don't delete the global lock - we may still need it!
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33630 72102866-910b-0410-8b05-ffd578937521
2011-07-25 14:32:44 +00:00
theraven
6af87a82cd
Removed debugging NSLog() that was accidentally committed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33629 72102866-910b-0410-8b05-ffd578937521
2011-07-25 12:51:24 +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
theraven
9dbeddeeae
Missing part of the NSArray update.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33609 72102866-910b-0410-8b05-ffd578937521
2011-07-23 12:02:04 +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
50b71cb1bc
locking fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33356 72102866-910b-0410-8b05-ffd578937521
2011-06-20 07:47:47 +00:00
rfm
33843644e1
Add some flexibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33355 72102866-910b-0410-8b05-ffd578937521
2011-06-20 07:33:27 +00:00
rfm
e78ceb4c96
more leak cleanup stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33349 72102866-910b-0410-8b05-ffd578937521
2011-06-19 13:34:17 +00:00
rfm
8b2ffba3d9
Start stuff for handling cleanup on process exit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33344 72102866-910b-0410-8b05-ffd578937521
2011-06-19 09:26:03 +00:00
rfm
3d1656a7bd
fix uninitialised variable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33342 72102866-910b-0410-8b05-ffd578937521
2011-06-18 18:11:57 +00:00
rfm
074a57a018
Add some requests 10.6 methods ... untested.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33326 72102866-910b-0410-8b05-ffd578937521
2011-06-17 11:45:28 +00:00
rfm
2e8445ffdc
remove observer on dealloc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33257 72102866-910b-0410-8b05-ffd578937521
2011-06-07 18:34:39 +00:00
rfm
09f50b3388
fix boundary
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33219 72102866-910b-0410-8b05-ffd578937521
2011-06-01 11:44:48 +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
theraven
e50e12129e
Make -drain and -release in NSAutoreleasePool do the same thing (rather than one calling the other) in non-GC mode.
...
Replace all -release messages sent to autorelease pools with -drain. In non-GC mode, these are equivalent. In GC mode, these trigger a collection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33143 72102866-910b-0410-8b05-ffd578937521
2011-05-27 11:48:44 +00:00
theraven
ba6f3867a8
More GC fixes. Most notably, mark the thread object as not collectable, since it's hidden away in TLS where the GC can't find it.
...
GC now works well enough for LanguageKit to run.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33123 72102866-910b-0410-8b05-ffd578937521
2011-05-26 13:24:13 +00:00
rfm
6fb9b78161
quoted-printable fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33082 72102866-910b-0410-8b05-ffd578937521
2011-05-22 06:22:05 +00:00
rfm
79383c613d
fix includes for gcc-4.6
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33069 72102866-910b-0410-8b05-ffd578937521
2011-05-19 08:19:24 +00:00
ericwa
02682c63b1
* Source/Additions/GSObjCRuntime.m (GSSelectorFromNameAndTypes):
...
With gcc 4.6 libobjc, GSSelectorFromNameAndTypes was calling some
functions like sel_get_any_typed_uid that were not declared (they're
declared in objc/objc-api.h which cannot be imported). I had to copy
over these function declarations, otherwise incorrect function calls
are generated which corrupt selectors (at least on x86-64).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32968 72102866-910b-0410-8b05-ffd578937521
2011-05-02 20:10:54 +00:00
rfm
bf055f4e56
Minor fixups for release ... mostly avoid failed testcases.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32837 72102866-910b-0410-8b05-ffd578937521
2011-04-12 05:41:53 +00:00
nicola
88621c104a
Improved checks for native ObjC exceptions. We now check the runtime support here, and disable them from here regardless of what gnustep-make did (this makes it easier to change the runtime without reconfiguring gnustep-make). Small update to ObjC runtime code for GCC 4.6
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32820 72102866-910b-0410-8b05-ffd578937521
2011-04-09 13:47:37 +00:00
rfm
5750a59f45
fix bug opening connection to mail server
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32797 72102866-910b-0410-8b05-ffd578937521
2011-04-07 10:58:07 +00:00
rfm
1533014594
fix character mapping error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32748 72102866-910b-0410-8b05-ffd578937521
2011-03-31 20:16:53 +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
b3e917014c
fixup for apple
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32736 72102866-910b-0410-8b05-ffd578937521
2011-03-29 11:07:14 +00:00
rfm
8df64eca07
fix bug registering typed selectors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32641 72102866-910b-0410-8b05-ffd578937521
2011-03-18 06:18:24 +00:00