Commit graph

4421 commits

Author SHA1 Message Date
CaS
327e8d3dcb Hopefully clarify/simplify configuration file stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21796 72102866-910b-0410-8b05-ffd578937521
2005-10-12 06:15:15 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
9ce257fccf Notive when files have changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21794 72102866-910b-0410-8b05-ffd578937521
2005-10-10 17:42:29 +00:00
CaS
fa8206692b Fix missing underscore in _wfopen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21793 72102866-910b-0410-8b05-ffd578937521
2005-10-09 12:38:42 +00:00
CaS
5e151f100f Make usage of defines more consistent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21792 72102866-910b-0410-8b05-ffd578937521
2005-10-09 11:32:10 +00:00
CaS
e57988b685 Fix a few windows bugs with unicode strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21791 72102866-910b-0410-8b05-ffd578937521
2005-10-09 10:41:53 +00:00
CaS
8fcfa3b241 Use windows event log only if GSLogSyslog is YES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21790 72102866-910b-0410-8b05-ffd578937521
2005-10-09 09:32:54 +00:00
CaS
1ceb50725f Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
to 'fix' cast to union with an 'id' member.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
CaS
9c4017648e Remove bogus newline generated for bool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21782 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:21:51 +00:00
fedor
bf397ea7cc * Source/NSPage.m: Add include for Cygwin (patch from
Tom MacSween).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21780 72102866-910b-0410-8b05-ffd578937521
2005-10-07 02:06:48 +00:00
CaS
e72d18365b Attempted fix for systems where sizeof(int) < sizeof(void*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21770 72102866-910b-0410-8b05-ffd578937521
2005-10-04 11:54:03 +00:00
ayers
852f0519af * Source/NSString: (dataUsingEncoding:allowLossyConversion:):
Use buffer returned by NSZoneRealloc to create the data object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21763 72102866-910b-0410-8b05-ffd578937521
2005-10-01 07:48:36 +00:00
CaS
d74a6d29a3 Added convenience methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21754 72102866-910b-0410-8b05-ffd578937521
2005-09-28 09:47:31 +00:00
CaS
34b457b881 Fix documentation error (use of ampersand)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21742 72102866-910b-0410-8b05-ffd578937521
2005-09-23 14:18:32 +00:00
CaS
b6adfd8cf9 Make mime generation slightly more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21738 72102866-910b-0410-8b05-ffd578937521
2005-09-23 11:43:23 +00:00
qmathe
1c3d59ee22 Fixed NSUndoManager bug #14448 by extending NSInvocation with the possibility to retain or not the target
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21721 72102866-910b-0410-8b05-ffd578937521
2005-09-17 21:41:12 +00:00
fedor
a27efb2586 Use makeImmutableCopyOnFail:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21693 72102866-910b-0410-8b05-ffd578937521
2005-09-01 21:48:41 +00:00
fedor
b41db110dd Install NSSortDescriptor.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21692 72102866-910b-0410-8b05-ffd578937521
2005-08-31 15:32:10 +00:00
CaS
4c7e6af282 Improve performance of hash (for use as dictionary keys)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21691 72102866-910b-0410-8b05-ffd578937521
2005-08-31 09:34:33 +00:00
fedor
198dde82bd New implementation of NSSortDescriptor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21690 72102866-910b-0410-8b05-ffd578937521
2005-08-30 14:54:43 +00:00
CaS
8bb5a81e4a Fix bug subtracting minutes from date.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21677 72102866-910b-0410-8b05-ffd578937521
2005-08-25 08:05:31 +00:00
fedor
532b855870 Source/NSGeometry.m (NSStringFromPoint, NSStringFromRect,
NSStringFromSize): Add spaces around '='. (Based on suggestion
from Matthias Hengartner).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21667 72102866-910b-0410-8b05-ffd578937521
2005-08-22 22:51:02 +00:00
fedor
be9ea12573 Tweak to compile correctly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21636 72102866-910b-0410-8b05-ffd578937521
2005-08-15 04:00:22 +00:00
fedor
86c924bc0c * configure.ac: Check if we can read the psinfo struct from
/proc (Solaris).
* config/procfs.m4: Add psinfo check
* config/config.psinfo.c: New file.
* Source/NSProcessInfo.m (+load): Read from psinfo if we can.
(Based on patch #4234 from Jeremy Bettis, with some modifications).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21634 72102866-910b-0410-8b05-ffd578937521
2005-08-12 17:34:19 +00:00
CaS
6979f0d2fe Bugfix for returning paths on a non-flattened system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21577 72102866-910b-0410-8b05-ffd578937521
2005-07-31 08:18:19 +00:00
CaS
6b4e75d80e Add a bit of support for obsolete windows systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21575 72102866-910b-0410-8b05-ffd578937521
2005-07-30 15:44:45 +00:00
fedor
f6326db24a Source/Makefile.postamble (Info-gnustep.plist): Depend on ../Version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21553 72102866-910b-0410-8b05-ffd578937521
2005-07-27 16:45:53 +00:00
CaS
a1d2243547 Improve mingw logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21538 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:23:35 +00:00
CaS
790fb7aeb3 Implement objc_get_symbol_path() for mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21537 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:15:37 +00:00
CaS
6299b1f9b4 Handle empty path nicely and be more tolerant of lack of resources.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21536 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:11:44 +00:00
CaS
bec8a74a6e Fixes from Jeremy Bettis
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21535 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:00:52 +00:00
CaS
cee3dbee17 Bugfixes in returning paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21533 72102866-910b-0410-8b05-ffd578937521
2005-07-25 05:18:19 +00:00
CaS
eeadfbc615 iTweak for stanadalone additions library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21519 72102866-910b-0410-8b05-ffd578937521
2005-07-23 13:30:27 +00:00
CaS
7dea229787 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21518 72102866-910b-0410-8b05-ffd578937521
2005-07-23 12:30:21 +00:00
CaS
4035664dc8 Small NSDate fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21517 72102866-910b-0410-8b05-ffd578937521
2005-07-22 19:36:33 +00:00
CaS
dcb3070d9c Attempt to resolve decoding issues on 64bit systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21501 72102866-910b-0410-8b05-ffd578937521
2005-07-18 10:12:49 +00:00
fedor
2dc1962a6b Further copyright/license updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21481 72102866-910b-0410-8b05-ffd578937521
2005-07-15 22:51:23 +00:00
CaS
780f7e39e0 Tweak initialization order.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21479 72102866-910b-0410-8b05-ffd578937521
2005-07-15 04:46:17 +00:00
CaS
9b19828e9d Fix bug in escaping entities in fault message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21475 72102866-910b-0410-8b05-ffd578937521
2005-07-14 20:20:31 +00:00
nico
8ec2358a96 Disabled versioning support for framework on Mingw (win32)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21465 72102866-910b-0410-8b05-ffd578937521
2005-07-13 14:51:57 +00:00
nico
5abd5a81b4 Mangle/demangle framework names in NSFramework_xxx class names to support
'-' and '+' in framework names


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21455 72102866-910b-0410-8b05-ffd578937521
2005-07-12 14:11:03 +00:00
CaS
f19056c331 Print unicode filenames under mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21432 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:59:41 +00:00
CaS
f843cb8155 Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:48:37 +00:00
CaS
ed1f525f36 Trivial MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21424 72102866-910b-0410-8b05-ffd578937521
2005-07-08 05:59:26 +00:00
CaS
6ae0ba5ca5 Added partial implementation os KVO to match the accidentally comitted makefile changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21395 72102866-910b-0410-8b05-ffd578937521
2005-07-01 21:26:46 +00:00
fedor
efb94a8834 Add/fix copyright/licenses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21394 72102866-910b-0410-8b05-ffd578937521
2005-07-01 21:00:04 +00:00
CaS
6d0751af3e Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
2005-07-01 17:31:07 +00:00
CaS
9ac16024f5 Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
2005-07-01 12:29:50 +00:00
CaS
59fed7cd35 Fix buggy behavior where if the uncaught exception handler was set to a
function which returned, the -raise method could return.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21389 72102866-910b-0410-8b05-ffd578937521
2005-07-01 08:53:32 +00:00
CaS
f60e075ac5 Fix for case where cross ref array is not initialised at all.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21380 72102866-910b-0410-8b05-ffd578937521
2005-06-30 08:32:07 +00:00
CaS
233d279560 Fix to prevent crash (raise exception instead) when deserializing a corrupt file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21379 72102866-910b-0410-8b05-ffd578937521
2005-06-30 07:44:45 +00:00
fedor
2eab253156 * Source/NSInvocation.m (-getReturnValue:, -setReturnValue:): Only
muck with size of buffer if we're using (deprecated) mframe.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21377 72102866-910b-0410-8b05-ffd578937521
2005-06-29 14:40:11 +00:00
CaS
f5caa76945 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21369 72102866-910b-0410-8b05-ffd578937521
2005-06-27 08:46:08 +00:00
CaS
b9bc4951a3 Updates for compatibility with buggy http servers/apps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21359 72102866-910b-0410-8b05-ffd578937521
2005-06-25 14:03:27 +00:00
fedor
50cc142ab4 * Source/mframe.m (mframe_decode_return): Change return struct
to fixed size to avoid gcc bug.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21351 72102866-910b-0410-8b05-ffd578937521
2005-06-24 16:56:45 +00:00
CaS
ded3b6042e Fix for bug #13482
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21341 72102866-910b-0410-8b05-ffd578937521
2005-06-22 09:09:40 +00:00
CaS
e7c655ac4b Add a comment explaining last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21337 72102866-910b-0410-8b05-ffd578937521
2005-06-21 12:57:20 +00:00
CaS
b71746b96d Expand tilde in bundle path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21336 72102866-910b-0410-8b05-ffd578937521
2005-06-21 12:55:30 +00:00
CaS
b5ae635b68 Fix for last update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21329 72102866-910b-0410-8b05-ffd578937521
2005-06-18 15:45:54 +00:00
fedor
1cb435da9a * Remove objc/Protocol.h include from NSObject to avoid warnings
with conflicting method signatures.
* Headers/Foundation/NSConnection.h: Change Object categories
to NSObject.
* Source/NSConnection.m: Idem.
* Headers/Foundation/NSObject.h: Don't include objc/Protocol.h
add a few missing things.
* Source/NSDate.m ([NSDate -isEqual:]): Use isKindOfClass.
* Source/NSDistantObject.m, Source/NSProtocolChecker.m:
Include objc/Protocol.h
* Source/NSSerializer.m: Add method sig for performv::


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21322 72102866-910b-0410-8b05-ffd578937521
2005-06-17 14:51:57 +00:00
CaS
6dc002c448 Enable keepalive on socket connections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21310 72102866-910b-0410-8b05-ffd578937521
2005-06-15 03:56:13 +00:00
CaS
e4e909b06d Fix minor crash with nil pointer argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21294 72102866-910b-0410-8b05-ffd578937521
2005-06-08 05:19:29 +00:00
fedor
04c6259fee * Source/Makefile.preamble: Add objc lib on all platforms. Fixes bug #9920.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21291 72102866-910b-0410-8b05-ffd578937521
2005-06-07 04:23:20 +00:00
CaS
d4c8121cbc Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21284 72102866-910b-0410-8b05-ffd578937521
2005-06-04 19:04:56 +00:00
CaS
d8d03c33f0 Various tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21283 72102866-910b-0410-8b05-ffd578937521
2005-06-04 18:58:05 +00:00
CaS
2676653a26 Avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21278 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:54:04 +00:00
CaS
ef2f59a290 Fix file missed from commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21277 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:35:01 +00:00
CaS
3fc6c34dd5 win32 path handling simplifications (and some bug fixes).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21276 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:22:51 +00:00
CaS
987497d4b1 Fix bug in cStringUsingEncoding:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21275 72102866-910b-0410-8b05-ffd578937521
2005-06-04 05:48:40 +00:00
CaS
6e3bf6d8a1 Attempt to hanlde pipes properly under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21274 72102866-910b-0410-8b05-ffd578937521
2005-06-04 05:12:40 +00:00
CaS
655edeb705 Added large file handling support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21273 72102866-910b-0410-8b05-ffd578937521
2005-06-04 05:01:01 +00:00
fedor
376e495dad * Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
ratmice
ac8271af60 * Source/NSArray.m (NSArray -removeObject:): Fix macro conditional
so we release the object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21241 72102866-910b-0410-8b05-ffd578937521
2005-05-21 05:16:19 +00:00
gcasa
d4dd6d328c Added "limits.h".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21230 72102866-910b-0410-8b05-ffd578937521
2005-05-17 04:33:50 +00:00
CaS
db2770c382 Tweak error reporting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21225 72102866-910b-0410-8b05-ffd578937521
2005-05-13 10:48:17 +00:00
CaS
915a739931 Minor performance tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21214 72102866-910b-0410-8b05-ffd578937521
2005-05-11 08:14:32 +00:00
ayers
8fab4480c1 * Source/NSPropertyList.m (OAppend): Revert patch from
2005-02-28.  It seems to fix the issue in the wrong place.
        Further investigation is necessary.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21208 72102866-910b-0410-8b05-ffd578937521
2005-05-09 16:36:54 +00:00
gcasa
1c1bead0fd Improvement on previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21201 72102866-910b-0410-8b05-ffd578937521
2005-05-08 18:19:39 +00:00
gcasa
fe82bf08d5 Corrected compilation problem on Solaris 9.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21200 72102866-910b-0410-8b05-ffd578937521
2005-05-08 18:11:00 +00:00
CaS
04bfaf2fb5 Fix for unicode data returned as cstring.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21199 72102866-910b-0410-8b05-ffd578937521
2005-05-08 15:07:59 +00:00
FredKiefer
d5e0804ab0 Addex Apple binary property list format writing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21198 72102866-910b-0410-8b05-ffd578937521
2005-05-08 11:13:19 +00:00
CaS
f5f0e8c1fd Add a few methods from tiger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21197 72102866-910b-0410-8b05-ffd578937521
2005-05-08 07:08:28 +00:00
CaS
d6d5ace3a4 Improve determination of charset for xml data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21191 72102866-910b-0410-8b05-ffd578937521
2005-05-07 08:54:57 +00:00
CaS
ad198bec78 Try to be more tolerant handling text/xml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21189 72102866-910b-0410-8b05-ffd578937521
2005-05-04 17:19:11 +00:00
CaS
90c5c054cd Tweak last change to avoid possible crashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21169 72102866-910b-0410-8b05-ffd578937521
2005-04-29 19:10:46 +00:00
CaS
a03f16128d Fix for problems when remote host drops persistent http/https connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21166 72102866-910b-0410-8b05-ffd578937521
2005-04-28 16:34:18 +00:00
CaS
2a5a2dca5a Sync up to get retries working
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21161 72102866-910b-0410-8b05-ffd578937521
2005-04-26 16:15:55 +00:00
CaS
43bb7fe17f Memory management fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21147 72102866-910b-0410-8b05-ffd578937521
2005-04-23 07:56:26 +00:00
CaS
979de3e8ba mingw tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21130 72102866-910b-0410-8b05-ffd578937521
2005-04-20 07:37:01 +00:00
CaS
d37e439f79 iAdd workaround for a mail client bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21107 72102866-910b-0410-8b05-ffd578937521
2005-04-14 04:30:38 +00:00
CaS
5b34db2984 tidied deregistration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21101 72102866-910b-0410-8b05-ffd578937521
2005-04-12 18:30:51 +00:00
CaS
2e6a507ad5 Slight fix so that temporary directories are specific to the account which
owns them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21097 72102866-910b-0410-8b05-ffd578937521
2005-04-12 17:01:30 +00:00
CaS
96bffbd7e9 MacOS-X compatibility and security updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21096 72102866-910b-0410-8b05-ffd578937521
2005-04-12 09:48:04 +00:00
CaS
28d14ff10d remove unused variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21049 72102866-910b-0410-8b05-ffd578937521
2005-04-05 09:38:29 +00:00
CaS
0be2bbc325 Improve last fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21048 72102866-910b-0410-8b05-ffd578937521
2005-04-05 09:36:52 +00:00
CaS
e605d2704e GFix bug in new path handling code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21047 72102866-910b-0410-8b05-ffd578937521
2005-04-05 09:20:38 +00:00
CaS
55214b7bb7 Fix missing nul terminator causing occasional launch failures under win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21036 72102866-910b-0410-8b05-ffd578937521
2005-04-02 08:23:05 +00:00
CaS
304fce01db Documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21027 72102866-910b-0410-8b05-ffd578937521
2005-04-01 10:57:35 +00:00
fedor
8931774d38 * Source/NSBundle.m (_find_framework): New function.
[NSBundle +_addFrameworkFromClass:]): Use it. Based on patch
from Sheldon Gill.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21024 72102866-910b-0410-8b05-ffd578937521
2005-03-31 23:22:44 +00:00
CaS
e698f247ee More tweaks to isAbsolute
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21023 72102866-910b-0410-8b05-ffd578937521
2005-03-31 19:47:41 +00:00
CaS
866ca7ae39 Treat relative UNC path as absolute on unix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21021 72102866-910b-0410-8b05-ffd578937521
2005-03-31 08:10:24 +00:00
CaS
1e9f91f2a6 Add comments suggested by David
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20964 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:40:37 +00:00
CaS
e7d9523a85 Add a load of charset aliases to make parsing more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20963 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:00:55 +00:00
CaS
3b50ab340e Removed iso-10646 ... after chacking with IANA I find it's a latin1 variant,
but it's not an alias for iso8859-1, so I assume it's a charset which doesn't
map to any encoding we support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20962 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:45:58 +00:00
CaS
3dd6095acd More charset/encoding fixes and improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20961 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:16:22 +00:00
CaS
f623ee61ba Tweak encoding mappings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20959 72102866-910b-0410-8b05-ffd578937521
2005-03-22 06:14:55 +00:00
CaS
d8337a42c7 Simplify automatic charset selection for performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20942 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:59:49 +00:00
CaS
bc1aa70ed4 Replace lost lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20941 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:51:52 +00:00
CaS
837f4a1ba5 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20939 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:16:15 +00:00
CaS
b06580bbde Path handling updates ... basically tolerate windows paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20935 72102866-910b-0410-8b05-ffd578937521
2005-03-21 12:29:02 +00:00
CaS
fc826fc390 Fix indentation errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20925 72102866-910b-0410-8b05-ffd578937521
2005-03-18 15:26:18 +00:00
CaS
55c351cfdf Avoid recursion in NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20923 72102866-910b-0410-8b05-ffd578937521
2005-03-18 09:42:54 +00:00
CaS
51376a9b9e Tweak comments and indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20919 72102866-910b-0410-8b05-ffd578937521
2005-03-17 15:27:52 +00:00
CaS
669383fbc7 Don't log config problems repeatedly .. once is enough.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20918 72102866-910b-0410-8b05-ffd578937521
2005-03-17 15:07:57 +00:00
CaS
db9098d923 Lots of naming convention tidyups, plust a few minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20916 72102866-910b-0410-8b05-ffd578937521
2005-03-17 14:48:32 +00:00
CaS
ed0d53c973 Tweak for buggy/intolerant base64 decoders ... ensure that bas64 encoded
sections are terminated with crlf even though the RFC does not require it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20914 72102866-910b-0410-8b05-ffd578937521
2005-03-16 14:38:04 +00:00
CaS
b436ef6553 MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20913 72102866-910b-0410-8b05-ffd578937521
2005-03-15 16:40:07 +00:00
CaS
cad70d0991 Tidied GSFindNamedFile a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20912 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:43:25 +00:00
CaS
62bd7f6782 Tidyups and fix in mingw drive handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20911 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:30:56 +00:00
CaS
81aaeead0c Add new files to separate extension functions from main base library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20910 72102866-910b-0410-8b05-ffd578937521
2005-03-15 08:11:04 +00:00
CaS
edb678d5fe Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20909 72102866-910b-0410-8b05-ffd578937521
2005-03-15 06:36:21 +00:00
fedor
61aee49c82 * Continuation of NSPathUtilities patches
* configure.ac: Add config-file option
* Headers/Foundation/NSPathUtilities.h: Add GSFindNamedFile, more
NSSearchPathDirectory enums.
* Source/GNUmakefile: Don't install Win32 headers.
* Source/NSPathUtilities.m (InitializePathUtilities, ...): Add
support for reading standard path locations from a configuration
file. Various support functions added/removed to fit.
(GSFindNamedFile): New function.
(GSSetUserName): Do nothing if the user is the same.
(NSHomeDirectoryForUser): Use Windows utilities to get user name
(on Windows, of course).
(NSFullUserName): Default to NSUserName on Windows.
(GSSystemRootDirectory): Mark as deprecated.
(GSDefaultsRootForUser): Correctly return the actual defaults
directory, not the user directory.
(GSStandardPathPrefixes): Mark as deprecated.
(NSSearchPathForDirectoriesInDomains): Add platform paths and
additional search directories.
* Source/NSUserDefaults (pathForUser): Correct use of
GSDefaultsRootForUser. Remove obsolete path checking and
defaults location checking. (Patches from Sheldon Gill
with some modifications).

* Documentation/Base.gsdoc: Update documentation.
* Headers/Additions/GNUstepBase/Win32_Utilities.h,
Source/win32/Win32_Utilities.m: Fix function arguments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20908 72102866-910b-0410-8b05-ffd578937521
2005-03-15 04:24:26 +00:00
CaS
8f2b0c8bd2 Patch to port GSXMLRPC to MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20902 72102866-910b-0410-8b05-ffd578937521
2005-03-12 17:38:18 +00:00
CaS
3e4ebaab23 Some optimisation and argument validation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20897 72102866-910b-0410-8b05-ffd578937521
2005-03-11 12:58:54 +00:00
CaS
15a0ad2875 Handle nil objects in property list ... treat as strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20896 72102866-910b-0410-8b05-ffd578937521
2005-03-11 11:53:00 +00:00
dwetzel
fb8158c3c5 Added setDefaultEncoding:
This is needed in GSWeb if you use utf-8 and faster than using a
String as encoding name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20893 72102866-910b-0410-8b05-ffd578937521
2005-03-11 09:12:53 +00:00
CaS
c0a5d9657d Fix crash when forming union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20879 72102866-910b-0410-8b05-ffd578937521
2005-03-09 17:05:36 +00:00
CaS
9547275380 Simplify ISSET macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20877 72102866-910b-0410-8b05-ffd578937521
2005-03-09 06:16:32 +00:00
CaS
ac3258f493 Add support for long unicode characters (outside the base plane)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20874 72102866-910b-0410-8b05-ffd578937521
2005-03-08 11:32:24 +00:00
CaS
f92b8f24ef Tidyups to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20863 72102866-910b-0410-8b05-ffd578937521
2005-03-07 11:19:34 +00:00
CaS
13ae894cb9 More characterset tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20862 72102866-910b-0410-8b05-ffd578937521
2005-03-07 10:47:10 +00:00
CaS
e2deb5cf61 Try to handle destruction of an autorelease pool more robustly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20860 72102866-910b-0410-8b05-ffd578937521
2005-03-06 15:08:12 +00:00
CaS
71c32633c1 More characterset tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20858 72102866-910b-0410-8b05-ffd578937521
2005-03-06 10:39:10 +00:00
CaS
563b6a4282 More changes to build in standard bitmaps,
update the charset data from the latest usincode,
add 0x85 to the whitespace and newline set
add the capitalizedLetterCharacterSet


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20856 72102866-910b-0410-8b05-ffd578937521
2005-03-06 09:15:08 +00:00
CaS
41c07070c3 Tidied for win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20846 72102866-910b-0410-8b05-ffd578937521
2005-03-05 06:03:03 +00:00
CaS
2a24fbacfc Correct position of an ifdef
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20845 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:04:25 +00:00
CaS
6904951cba Only build xmlrpc if we have libxml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20844 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:01:49 +00:00
CaS
2dcfcebcda Integrated XMLRPC support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20843 72102866-910b-0410-8b05-ffd578937521
2005-03-04 15:50:06 +00:00
fedor
a504a2adde Fix some syntax errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20839 72102866-910b-0410-8b05-ffd578937521
2005-03-03 17:20:19 +00:00
fedor
a36136aa98 * Source/NSFileManager.m (-createFileAtPath:...): Define var at
beginning to work on gcc 2.x compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20838 72102866-910b-0410-8b05-ffd578937521
2005-03-03 17:01:11 +00:00
fedor
5c7a02d672 * Start on integrating Sheldon Gills NSPathUtilities patches.
* Headers/Foundation/NSPathUtilities.h: Depreciate
GSSystemRootDirectory, GSStandardPathPrefixes. Add
GSPreferencesDirectory to NSSearchPathDirectory enum. Enumerate
NSSearchPathDomainMask values.
* Headers/Additions/GNUStepBase/Win32Support.h,
Headers/Additions/GNUStepBase/Win32_Utilites.h: New files.
* Source/GNUmakefile: Add NSPathUtilities.m
* Source/NSUser.m: Move everything in here...
* Source/NSPathUtilities.m: to here.
* Source/win32/GNUmakefile: Add Win32Support.m, Win32_Utilities.m
* Source/win32Win32Support.m, Win32_Utilities.m: New files
* Testing/nspathutilites.m: New file.
(Files and patches from Sheldon Gill with minor modifications).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20837 72102866-910b-0410-8b05-ffd578937521
2005-03-03 16:04:22 +00:00
CaS
a57d77a801 Make fixes suggested by David Ayers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20829 72102866-910b-0410-8b05-ffd578937521
2005-03-02 13:39:33 +00:00
CaS
a4219a7c74 KVC updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20828 72102866-910b-0410-8b05-ffd578937521
2005-03-02 11:46:21 +00:00
fedor
0528b31e80 * Source/NSBundle.m (+gnustepBundle,
+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated
log message.
* Source/NSNotificationQueue.m, Source/null-load.h:
Fix copyright message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20823 72102866-910b-0410-8b05-ffd578937521
2005-03-01 15:50:26 +00:00
nico
2782bd24fc Linking updates for MinGW
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20819 72102866-910b-0410-8b05-ffd578937521
2005-03-01 05:00:35 +00:00
CaS
d05bb0584e Fix fosdem changes and a few bugs exposed by them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20811 72102866-910b-0410-8b05-ffd578937521
2005-02-28 17:18:54 +00:00
ayers
b2d1a0346a Acually commit the file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20810 72102866-910b-0410-8b05-ffd578937521
2005-02-28 15:46:11 +00:00
CaS
3bf7ab2863 MacOS-X compatibility update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20806 72102866-910b-0410-8b05-ffd578937521
2005-02-27 12:25:10 +00:00
CaS
d650d89cb9 Fosdem updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20805 72102866-910b-0410-8b05-ffd578937521
2005-02-27 10:46:19 +00:00
fedor
cdbd239478 * configure.ac: Add test to check for poll emulation
* Source/NSRunLoop.h: Don't use poll if we're just emulating.
* Source/unix/GSRunLoopCtxt.m: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20788 72102866-910b-0410-8b05-ffd578937521
2005-02-23 22:17:54 +00:00
CaS
813f640a49 Apply modified patch to support windows native event handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20785 72102866-910b-0410-8b05-ffd578937521
2005-02-23 16:05:09 +00:00
CaS
657e38c038 Fix typo in mingw code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20777 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:40:10 +00:00
CaS
d5f073ab12 Simplify some debug logging statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20776 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:17:22 +00:00
CaS
89dd47ec16 Minor enhancement to improve debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20775 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:06:28 +00:00
CaS
0708409c1b Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
CaS
c5f49ccbcb Attempt to fix local bug and improve performance a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20772 72102866-910b-0410-8b05-ffd578937521
2005-02-21 20:27:42 +00:00
CaS
92b3407144 Include malloc.h ... needed on some systems for declaration of alloca()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20770 72102866-910b-0410-8b05-ffd578937521
2005-02-21 14:33:43 +00:00
CaS
f82f6d1ab9 Fix infinite loop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20769 72102866-910b-0410-8b05-ffd578937521
2005-02-21 14:11:22 +00:00
CaS
4d3b95dc24 Fix environment setting on NSTask
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20743 72102866-910b-0410-8b05-ffd578937521
2005-02-18 08:15:34 +00:00
CaS
6f0bc40f4b Fax varname clashn in last modification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20741 72102866-910b-0410-8b05-ffd578937521
2005-02-18 06:17:37 +00:00
CaS
dc12f6bef9 Mingw fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20740 72102866-910b-0410-8b05-ffd578937521
2005-02-18 06:13:20 +00:00
CaS
c66073233b Fix for xml on mingw32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20736 72102866-910b-0410-8b05-ffd578937521
2005-02-16 17:40:48 +00:00
CaS
61dac0f08f Fix incorrect version comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20722 72102866-910b-0410-8b05-ffd578937521
2005-02-15 10:05:41 +00:00
CaS
6f8edb3f3a Fix correct version of NSTask I hope
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20721 72102866-910b-0410-8b05-ffd578937521
2005-02-15 09:36:13 +00:00
CaS
d31995aa0f Remove unused function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20707 72102866-910b-0410-8b05-ffd578937521
2005-02-14 11:48:36 +00:00
CaS
768f84e14a Fix bug #11378
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20706 72102866-910b-0410-8b05-ffd578937521
2005-02-14 11:22:02 +00:00
CaS
0688e628c4 Fix for bug #11360
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20705 72102866-910b-0410-8b05-ffd578937521
2005-02-14 11:03:53 +00:00
CaS
4b20910745 Rewrite -unicodeString method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20671 72102866-910b-0410-8b05-ffd578937521
2005-02-08 11:20:42 +00:00
CaS
3698291b1e Try to fix windows bug by using NSTask to create daemon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20670 72102866-910b-0410-8b05-ffd578937521
2005-02-08 10:11:18 +00:00
CaS
fca13ece15 Fix typo in windows code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20647 72102866-910b-0410-8b05-ffd578937521
2005-02-02 13:06:41 +00:00
CaS
e22f1c0d4f Expand '~' abbreviations in localFromOpenStepPath: and change lines modified
by last windows patch to conform to coding standards.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20646 72102866-910b-0410-8b05-ffd578937521
2005-02-02 09:43:29 +00:00
ratmice
eadacf7ce5 * Source/NSUndoManager.m (-registerUndoWithTarget:selector:object:):
Have the invocation to retain it's arguments. (Fixes bug #4692.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20635 72102866-910b-0410-8b05-ffd578937521
2005-01-30 11:54:07 +00:00
gcasa
566ede417f Futher improvements to NSUndoManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20593 72102866-910b-0410-8b05-ffd578937521
2005-01-22 03:07:29 +00:00
gcasa
c4a389549a Another fix for undo/redo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20563 72102866-910b-0410-8b05-ffd578937521
2005-01-16 12:58:20 +00:00
gcasa
5562ad7bf2 Make the code in undo manager slightly more efficient.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20561 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:36:30 +00:00
gcasa
c6bd63d9c7 Corrected issue with previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20560 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:16:00 +00:00
gcasa
0569bc7afb Undo improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20559 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:11:49 +00:00
gcasa
d8e7174773 Redo fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20552 72102866-910b-0410-8b05-ffd578937521
2005-01-14 11:49:46 +00:00
gcasa
b0e6b71be7 Corrected problem with undo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20550 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:45:09 +00:00
mguesdon
e7ab49ec59 Fix 2 digits timezone in NSCalendarFormat:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20528 72102866-910b-0410-8b05-ffd578937521
2005-01-08 20:40:29 +00:00
fedor
a1ee0c6aed * Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary
(Fixes bug #11516).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20526 72102866-910b-0410-8b05-ffd578937521
2005-01-07 15:33:16 +00:00
fedor
142f0b1784 * Add support for systems that support unichar file paths (e.g.
Windows).
* Headers/Foundation/NSFileManager.h (-localFromOpenStepPath:,
_openStepPathFromLocal:): New methods.
(NSDirectoryEnumerator): Updated ivars.
* Source/NSFileManager.m: Idem.
(-changeCurrentDirectoryPath, changeFileAttributes:,
currentDirectoryPath, etc): Update for Windows unichar paths.
* Headers/Foundation/NSString.h: (-unicharString,
-localFromOpenStepPath:, _openStepPathFromLocal:): New methods.
* Source/NSString.m: Idem.
* Source/GSFileHandle.m (-initForReadingAtPath:,
-initForWritingAtPath, -initForUpdatingAtPath:): Update for Windows
unichar paths.
* Source/NSData.m (readContentsOfFile, -writeToFile:,
initWithContentsOfMappedFile:): Idem.
* Source/NSTask.m (NSConcreteWindowsTask): Update for Windows
unichar paths.
(Patch from Roland Schwingle <roland.schwingel@onevision.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20502 72102866-910b-0410-8b05-ffd578937521
2004-12-29 04:21:37 +00:00
fedor
db8fe0f10f * Source/NSTimeZone (NSInternalAbbrevDict): Remove class
(+abbreviationDictionary): Implement from new one-to-one plist.
* NStimeZones/NSTimeZone.tar: Added abbreviations.plist. Regenerated.
* Testing/nstimezone.m: New tests.

* Source/Additions/GNUmakefile: Remove duplicate Unicode.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20476 72102866-910b-0410-8b05-ffd578937521
2004-12-21 23:20:32 +00:00
dwetzel
efda8d7aa0 added Additions_OBJC_FILES += Unicode.m on apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20473 72102866-910b-0410-8b05-ffd578937521
2004-12-21 19:43:59 +00:00
CaS
b7474e3363 Fix some indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20467 72102866-910b-0410-8b05-ffd578937521
2004-12-19 05:59:47 +00:00
dwetzel
6283d20653 * Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to work again.
        [tmp replaceString:@"&" withString:@"&amp;"]; Did NOT work.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20466 72102866-910b-0410-8b05-ffd578937521
2004-12-18 21:31:26 +00:00
fedor
531dd954e2 * Changes so additions compiles on older Mac OS X 10.1.5
* Source/Additions/GCArray.m (-copyWithZone:): Use more standard
array initialization method.
(mutableCopyWithZone:,	[GCMutableArray -copyWithZone:],
[GCMutableArray -mutableCopyWithZone:]): Idem.

* Source/Additions/GSCategories.m ([NSData -hexadecimalRepresentation]):
Use identically functioning, but older, standard data initialization.
* Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to use older, standard
methods.

* Tools/AGSHtml.m ([AGSHtml -outputNode:to:]): Use GNUstep addition
method to replace string.
* Tools/autogsdoc.m (main): Idem.
(Patch from Markus Hitter).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20448 72102866-910b-0410-8b05-ffd578937521
2004-12-13 04:53:01 +00:00
ratmice
3ae6ffea81 2004-12-09 Matt Rice <ratmice@yahoo.com>
* Source/NSUndoManager.m
        ([-forwardInvocation,-registerUndoWithTarget:selector:object:): Don't
        clear the redo stack if redoing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20432 72102866-910b-0410-8b05-ffd578937521
2004-12-09 09:36:00 +00:00
fedor
5a08f449a7 * configure.ac: Test for objc forwarding by compiling a program.
* config/config.forward.m: New file.
(Fixes bug #11188).

* Source/GSFormat.m (GSFormat): Assign wchar via var args from an
int (Fixes bug #10950).

* Testing/string.m: Tests for standardizing path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20427 72102866-910b-0410-8b05-ffd578937521
2004-12-08 16:22:51 +00:00
CaS
775cd4d09c Fix %b format error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20409 72102866-910b-0410-8b05-ffd578937521
2004-12-01 15:43:34 +00:00
fedor
47e1212724 * Source/GSFileHandle.m (-setNonBlocking:): Set the isNonBlocking
ivar on MingW. Fixes bug #10742.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20402 72102866-910b-0410-8b05-ffd578937521
2004-12-01 05:01:05 +00:00
ratmice
652609e55d 2004-11-30 Matt Rice <ratmice@yahoo.com>
* Source/NSBundle.m (-principalClass): If the class specified in
        NSPrincipalClass key is not found return the first class found.
        * Headers/Foundation/NSBundle.h (-principalClass): Document the above.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20401 72102866-910b-0410-8b05-ffd578937521
2004-11-30 22:16:32 +00:00
CaS
d3bbcd8394 Restructure handling of thread exit to avoid setting up separate
notification handlers for each connection.  Optimise a little.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20380 72102866-910b-0410-8b05-ffd578937521
2004-11-25 17:00:45 +00:00
CaS
24f61c4a16 Minor documentation tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20370 72102866-910b-0410-8b05-ffd578937521
2004-11-23 09:56:53 +00:00
CaS
8ab351aa1e Minor twekas to fix three bug reports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20368 72102866-910b-0410-8b05-ffd578937521
2004-11-22 11:48:50 +00:00
CaS
ddc3ee78c2 A few NSBundle bugfixes and workaround for problem with using the pth
library in gdnc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20367 72102866-910b-0410-8b05-ffd578937521
2004-11-20 20:14:24 +00:00
CaS
9111363eb3 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20361 72102866-910b-0410-8b05-ffd578937521
2004-11-19 14:34:25 +00:00
CaS
5e95fdf285 Memory leak fix and tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20360 72102866-910b-0410-8b05-ffd578937521
2004-11-19 09:41:34 +00:00
fedor
ee92fa6367 * Headers/Foundation/NSBundle.h (builtInPlugInsPath): New method.
* Source/NSBundle (builtInPlugInsPath): Imeplement (based on patch
#3483).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20341 72102866-910b-0410-8b05-ffd578937521
2004-11-11 18:51:37 +00:00
CaS
8879270729 Minor reliability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20335 72102866-910b-0410-8b05-ffd578937521
2004-11-10 11:45:08 +00:00
arobert
7b13142643 patch by Alexander Malmberg allowing event polling to time out more quickly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20296 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:52:22 +00:00
fedor
65997ec654 * Headers/Foundation/NSTimeZone.h, Source/NSTimeZone.m
(+knownTimeZoneNames:): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20295 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:47:03 +00:00
CaS
d2161f1c01 Revert an nsthread change and try to avoid memory leaks when autorelease
pools are created during the thread exit process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20287 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:20:39 +00:00
CaS
e7fd84dbae Attempted fix for long long int support in GSFormat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20276 72102866-910b-0410-8b05-ffd578937521
2004-11-01 08:25:04 +00:00
CaS
3294ed0aab Slight performance improvement (better hash), plus tweaks for 64bit processors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20275 72102866-910b-0410-8b05-ffd578937521
2004-10-31 13:02:58 +00:00
CaS
c8aae944a4 MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20274 72102866-910b-0410-8b05-ffd578937521
2004-10-31 10:08:20 +00:00
ratmice
b65f2e35c7 2004-10-29 Matt Rice <ratmice@yahoo.com>
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass,
        GSObjCDirectSubclassesOfClass): skip meta classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20268 72102866-910b-0410-8b05-ffd578937521
2004-10-29 19:31:06 +00:00
fedor
eea8598fbf Version 1.10.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20266 72102866-910b-0410-8b05-ffd578937521
2004-10-29 03:31:04 +00:00
fedor
a2f7e30285 * configure.ac: Standardize order of flags and libs
Check for proper defs in tzfile.h. Add sub-configure options
so they are listed in help. Add generic include/lib flags option.
* config.mak.in: Add load flags variable
* base.make.in: Idem.
* SSL/configure.ac: Add generic include/lib flags option.

* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install
* Source/Makefile.postamble (Info-gnustep.plist): New target.
* Testing/nsbundle.m: Additional tests.

* Source/NSTimeZone.m: Check for proper tzfile defs (Fixes #10724).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20261 72102866-910b-0410-8b05-ffd578937521
2004-10-26 19:08:17 +00:00
CaS
4d59f2e002 Implement abort of parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20255 72102866-910b-0410-8b05-ffd578937521
2004-10-24 12:29:31 +00:00
CaS
612ef8a1d5 Fix for when default nameserver is host-local.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20254 72102866-910b-0410-8b05-ffd578937521
2004-10-24 06:13:24 +00:00
FredKiefer
e81b213d74 Handle bigger numbers in binary property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20241 72102866-910b-0410-8b05-ffd578937521
2004-10-21 20:45:55 +00:00
CaS
524a852ed9 Added pre-alpha NSXMLPzarser compatibility layer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20238 72102866-910b-0410-8b05-ffd578937521
2004-10-20 10:48:04 +00:00
ratmice
be09199907 2004-10-17 Matt Rice <ratmice@yahoo.com
* Source/objc-load.m (objc_load_module): resolve class links under GNU
        runtime
        * Headers/Additions/GNUstepBase/GSObjCRuntime.h
        * Source/Additions/GSObjCRuntime.m
        (GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
        New functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
fedor
67ef77deea * Source/NSCalendarDate.m [-initWithString:] Revert to previous
code, and try to load time zone abbreviation from name first.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20227 72102866-910b-0410-8b05-ffd578937521
2004-10-16 03:05:58 +00:00
CaS
64ff173e3a Don't expect body where status is 204 or 304
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20224 72102866-910b-0410-8b05-ffd578937521
2004-10-15 13:34:11 +00:00
fedor
f67c563d8e * Source/NSBundle.m (_bundle_name_first_match): Remove path
extension when comparing name (fixes #10611)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
2004-10-14 04:08:24 +00:00
CaS
95daaf5f4c XML parsing bughfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20221 72102866-910b-0410-8b05-ffd578937521
2004-10-13 16:46:09 +00:00
fedor
3718cbfdcd * configure.ac: Check for tzfile.h
* Source/NSTimeZone.m: Include system tzfile.h if found.
(abbreviationMap): Add abbreviation from systemTimeZone if not
already there.
(systemTimeZone): Update the search list to look for time zone in TZ,
then system location, then tznam.
(getTimeZoneFile:): Look for file in system directory first.
* Source/nstzfile.h: Renamed from tzfile.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20217 72102866-910b-0410-8b05-ffd578937521
2004-10-11 03:08:54 +00:00
FredKiefer
e17a91003f Improved keydecoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20214 72102866-910b-0410-8b05-ffd578937521
2004-10-09 15:40:23 +00:00
fedor
0f373a108e * Source/Makefile.postamble (libgnustep-base.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20197 72102866-910b-0410-8b05-ffd578937521
2004-10-06 03:33:09 +00:00
CaS
f349c02156 Fix crsh when trimming space containing unicode character with high byte non zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20196 72102866-910b-0410-8b05-ffd578937521
2004-10-05 08:32:18 +00:00
CaS
560e7abd15 Fix premature end of reading a post.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20195 72102866-910b-0410-8b05-ffd578937521
2004-10-04 09:53:47 +00:00
CaS
4cb14033bd Add a couple of methods for dealing with xml escape sequences
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20189 72102866-910b-0410-8b05-ffd578937521
2004-10-03 09:11:15 +00:00
fedor
77b00150c7 * Documentation/HtmlNav/docs-web.html,
Documentation/HtmlNav/index.html: Update pointers.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.
* Tools/DocMakefile: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20183 72102866-910b-0410-8b05-ffd578937521
2004-10-01 16:05:08 +00:00
CaS
78ab0dc2b2 Thread safety fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20179 72102866-910b-0410-8b05-ffd578937521
2004-09-29 08:47:25 +00:00
alexm
cf50088545 * Source/NSDistantObject.m: Make proxyLocation an enum tag, not a
variable.
	* Source/NSFileManager.m (custom_strdup, append_file_to_path): Make
	static.
	* Source/NSString.m (-isEqual:): Clarify documentation.
	* Source/NSUnarchiver.m (mapClassObject, mapClassName): Make static.
	* Source/Additions/Unicode.m (GetDefEncoding): Add missing void in
	the prototype.
	* Tools/make_strings/make_strings.m (ParseFile): Remove spurious
	static on the nested function add_arg_ch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20163 72102866-910b-0410-8b05-ffd578937521
2004-09-27 21:32:45 +00:00
CaS
c8cb740907 Mnor documentation tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20156 72102866-910b-0410-8b05-ffd578937521
2004-09-27 10:24:02 +00:00
CaS
61fade5ef4 Minor thread tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20155 72102866-910b-0410-8b05-ffd578937521
2004-09-27 08:59:04 +00:00
CaS
485e7f8ece Tidied a little, removing redundant code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20154 72102866-910b-0410-8b05-ffd578937521
2004-09-27 06:58:23 +00:00
CaS
1975e6a285 try to re-establish a dropped connection if using keepalive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20128 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:21:57 +00:00
CaS
65b5090ee6 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20127 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:16:22 +00:00
CaS
318ef1cd5d Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20126 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:14:26 +00:00
CaS
9e4dc1c321 Fix array enumeration direction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20124 72102866-910b-0410-8b05-ffd578937521
2004-09-24 15:57:54 +00:00
CaS
7fc70e35ff Minor fixes to use of local hostname.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20112 72102866-910b-0410-8b05-ffd578937521
2004-09-23 08:19:29 +00:00
CaS
00ec0cdb02 Oops comitted wrong version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20099 72102866-910b-0410-8b05-ffd578937521
2004-09-21 14:20:34 +00:00
CaS
24f1083d2e Make timeouts work more reliably
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20098 72102866-910b-0410-8b05-ffd578937521
2004-09-21 13:43:10 +00:00
CaS
735749c30c minor optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20097 72102866-910b-0410-8b05-ffd578937521
2004-09-20 10:10:10 +00:00
arobert
9d1be23476 comment cleanups to improve documentation output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20094 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:24:36 +00:00
arobert
24c11fe90e declare constant strings as constant, and move values from source files into externs.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:19:53 +00:00
ayers
fa4594e1f0 Fix comments wrt runtime qualifier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20075 72102866-910b-0410-8b05-ffd578937521
2004-09-16 16:13:16 +00:00
ayers
61bc272015 * Source/Additions/GSObjCRuntime.m
(GSAppendMethodToList): Copy type information for the NeXT runtime.
        (GSRemoveMethodFromList): Add comment about potential minor leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20074 72102866-910b-0410-8b05-ffd578937521
2004-09-16 15:43:40 +00:00
CaS
52ef6a0c5b MacOS0X compatibility tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20073 72102866-910b-0410-8b05-ffd578937521
2004-09-16 14:33:54 +00:00
CaS
e594a48208 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20065 72102866-910b-0410-8b05-ffd578937521
2004-09-14 15:55:18 +00:00
CaS
737f6b7e57 Tolerate null pointer arguments for returning information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20063 72102866-910b-0410-8b05-ffd578937521
2004-09-14 03:34:37 +00:00
ayers
42d4e11439 * Source/NSArray.m: Consistently terminate macros with semicolons.
(arrayByAddingObjectsFromArray)
        (removeObjectsFromIndices:numIndices:): Insure all
	declarations precede statements.
        * Source/NSDictionary.m: Consistently terminate macros with
        semicolons.
        * Source/NSSet.m (initWithCoder:): Insure all declarations
	precede statements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20043 72102866-910b-0410-8b05-ffd578937521
2004-09-10 15:10:54 +00:00
CaS
d6ca992407 Implement missing init method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20041 72102866-910b-0410-8b05-ffd578937521
2004-09-09 10:39:01 +00:00
CaS
8b9685f81f Improve error logging a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20030 72102866-910b-0410-8b05-ffd578937521
2004-09-08 09:13:50 +00:00
CaS
c9eaf52038 Log exceptions when timer fires
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20025 72102866-910b-0410-8b05-ffd578937521
2004-09-07 16:54:16 +00:00
CaS
ddd167a6b1 Fix variuus minor bugs reported by Andre Levy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20020 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:27:14 +00:00
CaS
1b371d7744 Fix stack overflow problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20016 72102866-910b-0410-8b05-ffd578937521
2004-09-07 11:08:46 +00:00
CaS
420c49dd17 Override -init to use our own initialiser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20013 72102866-910b-0410-8b05-ffd578937521
2004-09-07 09:22:10 +00:00
CaS
e398188c18 MacOS-X compatibility fixes and improved documentation about class cluster
initialisers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20012 72102866-910b-0410-8b05-ffd578937521
2004-09-07 05:43:20 +00:00
fedor
6dd158e39c * Version 1.10.0
* Source/GNUmakefile: Define INTERFACE_VERSON explicitly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19993 72102866-910b-0410-8b05-ffd578937521
2004-09-05 02:31:35 +00:00
ayers
3a3f23c0e7 * Source/GSFFCallInvocation.m
* Source/GSFFIInvocation.m (gs_protocol_selector): Skip '-'
        for negative offsets to avoid issues with pre gcc 3.4 generated
        signatures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19975 72102866-910b-0410-8b05-ffd578937521
2004-09-02 16:35:44 +00:00
fedor
e369541804 * Source/NSProcessInfo.m ([NSProcessInfo +load]): Get environment
variables via environ even #ifdef HAVE_KVM (fix/based on #10113).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19928 72102866-910b-0410-8b05-ffd578937521
2004-08-26 15:04:26 +00:00
CaS
06c824b4f9 NSString mutability fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19927 72102866-910b-0410-8b05-ffd578937521
2004-08-26 13:43:34 +00:00
CaS
150d8f0a97 Fix mistake in property key names for certificate support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19926 72102866-910b-0410-8b05-ffd578937521
2004-08-26 10:41:04 +00:00
CaS
18a4d7e1aa Improve charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19921 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:28:27 +00:00
CaS
8c85a94561 Add a missing charset
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19920 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:23:15 +00:00
ayers
9316236aaf * Source/NSScanner.m: Define _GNU_SOURCE before including
other headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19915 72102866-910b-0410-8b05-ffd578937521
2004-08-24 16:18:48 +00:00
CaS
3bac74a85c Support persistent connections by reusing the underlying file handle
if the remote server is http1.1 or greater and has not explicitly
closed the connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19912 72102866-910b-0410-8b05-ffd578937521
2004-08-24 11:49:44 +00:00
CaS
b480d424c4 Certificate usage support for https
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19911 72102866-910b-0410-8b05-ffd578937521
2004-08-24 09:16:58 +00:00
CaS
71a8c69719 Fix leak of handled when using DO between threads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19910 72102866-910b-0410-8b05-ffd578937521
2004-08-24 08:08:14 +00:00
CaS
0d8ec1ee0f Implement (and document) a MacOS-X compatibility behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19909 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:20:40 +00:00
CaS
2ef86a582f Improve date handling in text representation of property list.
Make XML format consistent with MacOS-X


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19908 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:02:58 +00:00
CaS
d3f69e8740 Add content location methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19903 72102866-910b-0410-8b05-ffd578937521
2004-08-23 14:29:50 +00:00
CaS
91cbfcec05 Modest string handling optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19901 72102866-910b-0410-8b05-ffd578937521
2004-08-22 10:18:52 +00:00
ayers
b803fe27a6 * Headers/Foundation/NSMethodSignature.h:
(NSArgumentInfo): Document limitations of NSArgumentInfo's
        offset and registier information.  Match size for NO_GNUSTEP.
        (NSMethodSignature): Match ivar name with runtime information.

        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m
        * Source/NSInvocation.m
        (gs_method_for_receiver_and_selector)
        ([-invokeWithTarget:]): Use GSGetMethod instead of deprecated
        GSGetInstanceMethod and GSGetClassMethod.
        * Source/NSConnection.m ([-_service_typeForSelector]): Ditto.
        * Source/NSDistantObject.m ([+respondsToSelector]): Ditto.
        * Source/NSObject.m ([+instanceMethodSignatureForSelector:])
        ([-methodSignatureForSelector:])
        ([+descriptionForInstanceMethod], [-descriptionForMethod]): Ditto.
        * Source/NSProtocolChecker.m ([-methodSignatureForSelector]): Ditto.
        * Source/NSProxy.m ([+methodSignatureForSelector])
        ([-methodSignatureForSelector]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19896 72102866-910b-0410-8b05-ffd578937521
2004-08-20 17:53:16 +00:00
ayers
0e784f41d8 * Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
Ignore structure names.
        * Testing/nsmethodsignature.m: Added test for nested
        structures.  Reactivated test for signatures from older gcc
        versions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19891 72102866-910b-0410-8b05-ffd578937521
2004-08-20 12:58:04 +00:00
ayers
eb84dff7b8 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
        New Function.
        (gs_skip_type_qualifier_and_layout_info): Ditto.

        * Source/callframe.m (callframe_do_call): Use
	GSSelectorTypesMatch instead of sel_types_match.
        * Source/cifframe.m (cifframe_do_call): Ditto.
        * Source/mframe.m (mframe_do_call): Ditto.

        * Source/GSFFCallInvocation.m (GSInvocationCallback): Use
        NSDebugFLog to NSWarnFLog.
        * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Ditto.

        * Testing/nsmethodsignature.m: Use GSSelectorTypesMatch
	instead of sel_types_match.  Test it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19886 72102866-910b-0410-8b05-ffd578937521
2004-08-19 16:19:48 +00:00
CaS
710c84baf9 Fix minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19885 72102866-910b-0410-8b05-ffd578937521
2004-08-19 14:50:44 +00:00
CaS
4e65c1501f A couple of methods added for consistency.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19880 72102866-910b-0410-8b05-ffd578937521
2004-08-18 10:12:13 +00:00
CaS
c298ba7ef2 Fix to compile under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19876 72102866-910b-0410-8b05-ffd578937521
2004-08-17 06:33:07 +00:00
CaS
a3499f8b23 Minor optimisation of hahs and improved output for old style plists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19863 72102866-910b-0410-8b05-ffd578937521
2004-08-11 05:24:55 +00:00
CaS
0f2fc0845c Use message ports if the runtime setting is for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19842 72102866-910b-0410-8b05-ffd578937521
2004-08-08 14:50:43 +00:00
alexm
0fe7535f25 Add default for switching between NSSocketPort and NSMessagePort as the default NSPort class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19832 72102866-910b-0410-8b05-ffd578937521
2004-08-07 00:44:15 +00:00
CaS
3a56cda1ce When parsing documents with non-standard charset, set the charset actually
used in the content type so that we can unparse the data properly too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19831 72102866-910b-0410-8b05-ffd578937521
2004-08-06 13:26:25 +00:00
alexm
a9cde13d8e Fix forwarding of methods not in the proxies protocl if a protocol is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19826 72102866-910b-0410-8b05-ffd578937521
2004-08-05 00:03:30 +00:00
alexm
a943a78640 Fix handling of plists and strings files in non-ascii encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19805 72102866-910b-0410-8b05-ffd578937521
2004-07-30 21:36:36 +00:00
arobert
eca63cb414 documented functions, types, constants, and variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +00:00
ayers
cdbaa778fc * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m: Make ObjC++ safe.
        (GSObjCSuper, GSObjCIsKindOf, GSNameFromClass)
        (GSTypesFromSelector, GSGetMethod, GSFlushMethodCacheForClass)
        (GSCGetInstanceVariableDefinition)
        (GSObjCGetInstanceVariableDefinition)
        (GSMethodListForSelector, GSAddMethodList, GSRemoveMethodList)
        (GSObjCVersion, GSObjCName, GSObjCSelectorName)
        (GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited)
        (search_for_method_in_class, GSObjCAddMethods): Replace class
        and this with cls or sel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19790 72102866-910b-0410-8b05-ffd578937521
2004-07-29 12:55:05 +00:00
CaS
2c9279b422 Fix for inefficiency/leak in emptyPool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19789 72102866-910b-0410-8b05-ffd578937521
2004-07-29 10:54:55 +00:00
wim
206cc783e7 ([GSFileHandle -gcFinalize]): if __MINGW__ also
close ordinary file descriptor, not only the socket.
([GSFileHandle -closeFile]): in __MINGW__ defined block:
changed test of !isStandardFile to isSocket, and make sure that the
ordinary file descriptor is also closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19784 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:36:09 +00:00
CaS
d5f75609d4 Tweak old style property list output format. tab, cr, nl characters in a
quoteed string should not need escaping, thoiugh escaped versions need to
be understood on input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19768 72102866-910b-0410-8b05-ffd578937521
2004-07-22 14:27:39 +00:00
ayers
823657d231 * Source/Additions/GSObjCRuntime.m
(gs_revert_selector_names_in_list): New function.
	(GSRemoveMethodList): Also revert selectors for first list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19759 72102866-910b-0410-8b05-ffd578937521
2004-07-21 18:58:21 +00:00
CaS
c7b5b71690 Minor locale patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19746 72102866-910b-0410-8b05-ffd578937521
2004-07-18 10:48:19 +00:00
alexm
c79f943077 Use memmove instead of memcpy for potentially overlapping moves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19730 72102866-910b-0410-8b05-ffd578937521
2004-07-13 14:11:27 +00:00
fedor
208e2a0082 Remove solaris warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19703 72102866-910b-0410-8b05-ffd578937521
2004-07-10 03:19:56 +00:00
CaS
b596a8fc61 Use latin1 as default encoding.
Be strict about converting ascii to unicode ... check that it really is ascii.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19685 72102866-910b-0410-8b05-ffd578937521
2004-07-05 15:42:32 +00:00
CaS
1f04bbffc4 Add a couple of MacOS-X methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19678 72102866-910b-0410-8b05-ffd578937521
2004-07-04 09:25:50 +00:00
CaS
9a1ac2cb24 Bugfix generating unicode escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19677 72102866-910b-0410-8b05-ffd578937521
2004-07-03 17:48:35 +00:00
CaS
b4e64c1e10 Document the fact that -propertyList returns mutable containers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19674 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:08:24 +00:00
CaS
56cc72bec9 Make decoded property list containers mutable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19672 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:02:49 +00:00
CaS
32418a87f9 A lot of property list tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19669 72102866-910b-0410-8b05-ffd578937521
2004-07-02 10:37:54 +00:00
ayers
0fe2082695 * Headers/Foundation/NSMethodSignature.h
* Source/NSMethodSignature.m
        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m: Revert last mframe patch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
2004-07-02 08:04:54 +00:00
FredKiefer
0afa445d12 Applied NSTimeZone stucture packing patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19666 72102866-910b-0410-8b05-ffd578937521
2004-07-01 23:24:35 +00:00
ayers
dbe1800bbd * Headers/Foundation/NSMethodSignature.h
(_internalMethodTypes): New instance variable.
        * Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
        the runtime signature separately from the mframe signature.
        Document.
        ([-dealloc]): Free new instance variable.
        ([-methodInfo]): Use _internalMethodTypes to build argument
        information.

        * Source/GSFFCallInvocation.m (GSInvocationCallback)
        * Source/GSFFIInvocation.m (GSInvocationCallback): Use the
        selector registered in the runtime for the receiver instead of
        the constructed selector from the stack to avoid mismatches in the
        runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:38:19 +00:00
CaS
a843b058ca Added a couple of MacOS-X compatibility methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19651 72102866-910b-0410-8b05-ffd578937521
2004-06-29 10:31:05 +00:00
alexm
7f24762a29 (read_only): Remove.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19625 72102866-910b-0410-8b05-ffd578937521
2004-06-26 15:17:16 +00:00
CaS
9a686ff388 Add some optional sanity check code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19616 72102866-910b-0410-8b05-ffd578937521
2004-06-25 09:06:02 +00:00
CaS
8cdcd4c253 Fix bug removing from index set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19615 72102866-910b-0410-8b05-ffd578937521
2004-06-25 06:53:15 +00:00
CaS
96c30f4709 Remove debug statement accidentally left in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19610 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:27:10 +00:00
CaS
082f9a65f2 SAX2 fixes and a minor path fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19609 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:26:01 +00:00
CaS
7a6934a0db Remove some redundant code for clarity, Implement missing method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19607 72102866-910b-0410-8b05-ffd578937521
2004-06-24 04:17:56 +00:00
arobert
dbdfcfab37 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
arobert
febc42573a added NSIndexSet.h to list of files to generate gsdoc for
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19587 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:35:33 +00:00
CaS
b61c70ea6c Rewrite description code to support unicode and some additional formats
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19570 72102866-910b-0410-8b05-ffd578937521
2004-06-21 10:56:32 +00:00
FredKiefer
75793d3412 Corrected NSIndexSet index iteration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19569 72102866-910b-0410-8b05-ffd578937521
2004-06-21 09:45:13 +00:00
CaS
858255dd23 Tolerate users without home directories etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19567 72102866-910b-0410-8b05-ffd578937521
2004-06-20 19:37:19 +00:00
fedor
43ba34ba4c Fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19548 72102866-910b-0410-8b05-ffd578937521
2004-06-19 03:22:11 +00:00
mguesdon
858a5d5a90 * Source/NSKeyValueCoding.m: fix exception userInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19544 72102866-910b-0410-8b05-ffd578937521
2004-06-18 18:09:19 +00:00
fedor
4606abb715 Fix kvm test. Uninstall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19518 72102866-910b-0410-8b05-ffd578937521
2004-06-14 22:27:22 +00:00
CaS
6b1d2c2047 compatibility fix for macos-x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19514 72102866-910b-0410-8b05-ffd578937521
2004-06-14 05:27:54 +00:00
fedor
59fb483aec Version 1.9.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19493 72102866-910b-0410-8b05-ffd578937521
2004-06-10 19:39:32 +00:00
ayers
042f318374 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
        (GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
        Deprecate.
        (GSGetMethod): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19486 72102866-910b-0410-8b05-ffd578937521
2004-06-08 16:52:34 +00:00
ayers
8ddab500c2 (BDBGPrintf): Add space before last comma in macro older
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19474 72102866-910b-0410-8b05-ffd578937521
2004-06-06 20:28:57 +00:00
ayers
5c3b9d8740 (GSObjCAddClassBehavior): Add call to
GSFlushMethodCacheForClass after adding behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
2004-06-06 13:49:02 +00:00
ayers
3f3e4fa1da (GSGetClassMethodNotInherited): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19470 72102866-910b-0410-8b05-ffd578937521
2004-06-06 12:14:00 +00:00
ayers
113c981b63 * Source/Additions/GSObjCRuntime.m
(GSObjCMethodNames): Unify implementation for both runtimes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19467 72102866-910b-0410-8b05-ffd578937521
2004-06-05 22:48:40 +00:00
ayers
70e3d2d11c (GSObjCMethodNames, search_for_method_in_class, GSObjCAddMethods)
(search_for_method_in_class, GSObjCAddClassBehavior): Use
	GSMethod and GSMethodList types instead of pointers to runtime
	structures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19466 72102866-910b-0410-8b05-ffd578937521
2004-06-05 21:11:00 +00:00
ayers
a53541a76b * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
	(GSMethodList): Define new type.
	(GSAllocMethodList, GSAppendMethodToList,
	* GSRemoveMethodFromList)
	(GSMethodListForSelector, GSMethodFromList)
	(GSAddMethodList, GSRemoveMethodList): New functions.
	* Testing/GNUmakefile
	* Testing/gsbehavior.m: New tests.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19464 72102866-910b-0410-8b05-ffd578937521
2004-06-05 13:54:26 +00:00
CaS
ba29d9e2f3 Minor performance optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19462 72102866-910b-0410-8b05-ffd578937521
2004-06-05 10:06:56 +00:00
CaS
a1cc99cb2d Fix for where default encoding is not internal encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19461 72102866-910b-0410-8b05-ffd578937521
2004-06-05 09:34:41 +00:00
CaS
52a082959c Make exceptions a bit more informative.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19460 72102866-910b-0410-8b05-ffd578937521
2004-06-05 06:17:10 +00:00
ayers
adcb9c12d5 (OBJC_VERSION): Move define to where it is needed.
(Runtime documenation references): Update links.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19458 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:58:36 +00:00
ayers
cf3354b37f * Source/Additions/GSObjCRuntime.m (BDBGPrintf) New macro.
(GSObjCAddClassBehavior, GSObjCAddMethods): Use new macro.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19457 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:42:13 +00:00
ayers
a601bb2853 * Source/GSSet.m (-[GSMutableSet unionSet:]): Remove redundant
test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19456 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:19:42 +00:00
fedor
14c6a5e4d2 Move include file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19453 72102866-910b-0410-8b05-ffd578937521
2004-06-04 03:37:12 +00:00
CaS
84b18cb39f Fix for malloc of non-freeable zones
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19449 72102866-910b-0410-8b05-ffd578937521
2004-06-03 14:46:41 +00:00
CaS
b7f9e966f3 Improve debug and support of apple property keys (set them in request data
rather than as headers).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19442 72102866-910b-0410-8b05-ffd578937521
2004-06-02 11:01:57 +00:00
CaS
9b8d4597e4 Fix decoding of different classes from those encoded by suing name translation.
Was previously only working where both classes existed in the executable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19440 72102866-910b-0410-8b05-ffd578937521
2004-06-02 05:03:28 +00:00
CaS
459c2d3c89 Removed debug lines accidentally left in last modification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19433 72102866-910b-0410-8b05-ffd578937521
2004-06-01 12:19:04 +00:00
CaS
e0b14a9d4d Improve handling of character sets in multipart/form-data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19428 72102866-910b-0410-8b05-ffd578937521
2004-05-30 09:05:10 +00:00
fedor
1fa2e815b7 Add kvm config. Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19410 72102866-910b-0410-8b05-ffd578937521
2004-05-28 19:44:29 +00:00
CaS
2250683c03 Oops fix swapped arguments creating excess data log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19402 72102866-910b-0410-8b05-ffd578937521
2004-05-26 16:55:10 +00:00
CaS
6dca288a19 Fix problems defineing types on ssystems where they already exist as
typedefs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19401 72102866-910b-0410-8b05-ffd578937521
2004-05-26 13:45:37 +00:00
CaS
91f76b73a5 Index addition bugfix and avoid crash calling description on uninitialised
instance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19397 72102866-910b-0410-8b05-ffd578937521
2004-05-25 04:29:08 +00:00
CaS
110a61f7d9 Implement hash for NSDate and subclasses to return time interval since reference date (coerced to unsigned int).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19394 72102866-910b-0410-8b05-ffd578937521
2004-05-24 15:30:11 +00:00
CaS
c4efba1714 Added patch by Roland for windows timezone problems ...
Windows operation vouched for by S.J. Chun, and doesn't break unix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19382 72102866-910b-0410-8b05-ffd578937521
2004-05-21 15:39:02 +00:00
CaS
fa9ddd22c8 Fixed corruption in comment pointed out by David Ayers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19371 72102866-910b-0410-8b05-ffd578937521
2004-05-18 11:18:37 +00:00
CaS
02683f9999 Updates for recent versions of libxml2 and to add SAX2 functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19369 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:55:33 +00:00
CaS
906c6bbfad Thread fix for message ports
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19364 72102866-910b-0410-8b05-ffd578937521
2004-05-17 13:22:52 +00:00
CaS
cc7fc40092 Added NSError
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19360 72102866-910b-0410-8b05-ffd578937521
2004-05-17 09:24:29 +00:00
CaS
bc0414e6ab Correct error in parameter type for cdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19350 72102866-910b-0410-8b05-ffd578937521
2004-05-16 13:26:32 +00:00
CaS
ec4bfb2956 Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19326 72102866-910b-0410-8b05-ffd578937521
2004-05-14 16:22:49 +00:00
CaS
35b7fbf96e Restructuring and various optimisations to drastically improve appendFormat:
performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19307 72102866-910b-0410-8b05-ffd578937521
2004-05-14 10:52:30 +00:00
CaS
80741506f0 Fixup a few logic errors testing set flag bits. Moved a few bits of code
which only occasionally need to be executed ... minor performance tweak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19299 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:38:03 +00:00
CaS
306c074d6c MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19298 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:28:52 +00:00
CaS
402ceca220 Some fixes for initialising a data from a string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19297 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:10:35 +00:00
CaS
20c509536e Improve cache ahndling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19293 72102866-910b-0410-8b05-ffd578937521
2004-05-12 17:17:53 +00:00
ayers
bd51b8caea * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions//GSObjCRuntime.m
	(GSProtocolFromName): New function.
	(GSRegisterProtocol): Ditto.
	(gs_string_hash): New internal function.
	(gs_find_protocol_named_in_protocol_list): Ditto.
	(gs_find_protocol_named): Ditto.
	(gs_init_protocol_lock): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19274 72102866-910b-0410-8b05-ffd578937521
2004-05-09 19:29:16 +00:00
ayers
c415f0628a * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m:
(GSClassList): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19264 72102866-910b-0410-8b05-ffd578937521
2004-05-07 16:26:50 +00:00
ayers
30b5b57280 * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m
(GSAllocateMutexAt): New function.
        (_GSObjCRuntimeInitializer): Define local support class.

        * Headers/Additions/GNUstepBase/objc-gnu2next.h: Fixed minor
        whitespace issues.
        (objc_mutex_t, objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Declare
        for the NeXT runtime.
        * Source/Additions/GSNextRuntime.m
        (objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Implement for NeXT runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19249 72102866-910b-0410-8b05-ffd578937521
2004-05-06 15:25:01 +00:00
CaS
0407dc9e41 Applied mingw fixes by Mateu Batle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19242 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:10:03 +00:00
alexm
46e30f1fd0 Fix guard against returning a zero hash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19232 72102866-910b-0410-8b05-ffd578937521
2004-05-03 20:16:37 +00:00
alexm
4ef8c6aeb4 Fix comment typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19216 72102866-910b-0410-8b05-ffd578937521
2004-04-29 21:08:29 +00:00
fedor
46864153f0 Check time zone abbreviations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19203 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:59:03 +00:00
fedor
4e56c1c46a Use NSTemporaryDirectory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19201 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:24:47 +00:00
CaS
3ef2287830 Minor documentation and readability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19199 72102866-910b-0410-8b05-ffd578937521
2004-04-27 11:55:34 +00:00
CaS
06e9785436 Restore missing trailing characters somehow lost from lines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19198 72102866-910b-0410-8b05-ffd578937521
2004-04-27 09:39:51 +00:00
CaS
5d4a4d8fbb End hashtable enumerations cleanly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19193 72102866-910b-0410-8b05-ffd578937521
2004-04-26 14:47:54 +00:00
wim
70495f94f3 (gnustep_base_socket_init): Added braces for
if statement
(DllMain): Removed old initialization code
(gnustep_base_socket_handler): Removd this method plus declaration.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19192 72102866-910b-0410-8b05-ffd578937521
2004-04-26 08:50:41 +00:00
wim
b08f66b87a (GSInvocationCallback): Try to find type information
if not available, also changes wording of exception when no type information is found.
(Fixes #8654)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19190 72102866-910b-0410-8b05-ffd578937521
2004-04-26 07:51:35 +00:00
CaS
3828461015 Minor tidy up for methodForSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19183 72102866-910b-0410-8b05-ffd578937521
2004-04-25 11:08:52 +00:00
CaS
4d0f20077e Improved implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19182 72102866-910b-0410-8b05-ffd578937521
2004-04-25 09:48:07 +00:00
CaS
0b2f72a36f Completed rewrite with some testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19181 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:40:19 +00:00
CaS
96c253eee4 Rewrite NSProtocolChecker stuff ... seemed largely broken
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19180 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:06:41 +00:00
ayers
d8012f989f * Source/Additions/GSLock.m ([GSLazyLock -init])
([GSLazyRecursiveLock -init]): Always invoke supers init
        so dealloc does not fail on Cocoa.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19175 72102866-910b-0410-8b05-ffd578937521
2004-04-23 13:14:32 +00:00
CaS
24c74732b4 Attempt to make conformsToProtocol work for DO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19155 72102866-910b-0410-8b05-ffd578937521
2004-04-19 19:29:15 +00:00
alexm
02964e7f8c Rename 'GNU' categories to 'GNUstep'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19131 72102866-910b-0410-8b05-ffd578937521
2004-04-16 23:21:26 +00:00
CaS
367bb36d02 Restore use of flag to prevent infinite recursion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19115 72102866-910b-0410-8b05-ffd578937521
2004-04-15 14:11:12 +00:00
alexm
3f856d123d Add missing argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19114 72102866-910b-0410-8b05-ffd578937521
2004-04-15 13:26:06 +00:00
alexm
ad14f40c97 Document -getCString*. Use file system representation methods instead of cstring methods in -stringByResolvingSymlinksInPath.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19112 72102866-910b-0410-8b05-ffd578937521
2004-04-15 12:43:28 +00:00
alexm
505a890ec2 (GSToUnicode): In an utf8 sequence, check that the continuation bytes are valid continuation bytes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19105 72102866-910b-0410-8b05-ffd578937521
2004-04-14 16:23:58 +00:00
CaS
a9fd37a6b6 User language tidyups and performance enhancements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19079 72102866-910b-0410-8b05-ffd578937521
2004-04-12 04:55:43 +00:00
CaS
01b40beefb Retain/release fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19074 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:22:33 +00:00
gcasa
52548106c3 Temporary rollback of fix to NSUnarchiver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19073 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:02:45 +00:00
CaS
03a934e274 Minor initialisation fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19071 72102866-910b-0410-8b05-ffd578937521
2004-04-10 07:31:57 +00:00
CaS
ac23e1ba3c Fixed a retain/release problem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19070 72102866-910b-0410-8b05-ffd578937521
2004-04-10 05:59:40 +00:00
wim
4aba1cd33e ([NSConcreteWindowsTask -launch]): Set stdin/stdout/stderr
file to values provided by the user (Fix #8417)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19064 72102866-910b-0410-8b05-ffd578937521
2004-04-09 07:58:33 +00:00
CaS
23a8363ab1 Improve warning logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19056 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:17:52 +00:00
CaS
d0520e36a2 Improve error logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19055 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:14:33 +00:00
CaS
ca3b33d085 Trivial header inclusion fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19037 72102866-910b-0410-8b05-ffd578937521
2004-04-06 10:45:22 +00:00
CaS
3c3f04a5a1 Trivial keyed archiving fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19036 72102866-910b-0410-8b05-ffd578937521
2004-04-06 10:39:26 +00:00
CaS
2218c46426 Check for unreadable defaults database.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19035 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:47:35 +00:00
CaS
61acb585bb NSUserDefaults fix for read-only filesystem. Comment type fixes in GSXML.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19034 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:27:32 +00:00
CaS
95dde97de2 Fix error in original commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18994 72102866-910b-0410-8b05-ffd578937521
2004-03-31 21:41:28 +00:00
CaS
c85351824b Fix bug #7525
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18991 72102866-910b-0410-8b05-ffd578937521
2004-03-31 14:16:31 +00:00
CaS
a8eb2c26d8 Fix return of flag in fileExistsAtPath:isDirectory:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18990 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:56:49 +00:00
CaS
7de6d68bbe Fix for possible deadlock in notification system
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18988 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:23:38 +00:00
CaS
8063faa4c4 Encode archive version as number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18983 72102866-910b-0410-8b05-ffd578937521
2004-03-31 10:54:14 +00:00
wim
ced2196a57 ([-removeObserver:]): Do not raise an exception
when removing nil observer, jusr return.  This is WO4.5 and MacOSX behaviour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18971 72102866-910b-0410-8b05-ffd578937521
2004-03-30 14:09:03 +00:00
CaS
1a0cf15c79 Support outgoing connections bound to a specific local address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18953 72102866-910b-0410-8b05-ffd578937521
2004-03-29 14:53:37 +00:00
CaS
e845237c55 Minor documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18938 72102866-910b-0410-8b05-ffd578937521
2004-03-28 11:13:36 +00:00
CaS
1df7325dc3 Apply security fix and minor portability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18936 72102866-910b-0410-8b05-ffd578937521
2004-03-28 05:31:16 +00:00
CaS
ca3d4a1a01 Added xslt support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18935 72102866-910b-0410-8b05-ffd578937521
2004-03-28 04:42:11 +00:00
FredKiefer
dd0beb1657 Small bug fix for index sets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18928 72102866-910b-0410-8b05-ffd578937521
2004-03-26 21:56:44 +00:00
fedor
bd19ee1a68 Fix nil path handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18858 72102866-910b-0410-8b05-ffd578937521
2004-03-19 18:34:46 +00:00
CaS
bd58239a94 NSIndexSet updates finally comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18853 72102866-910b-0410-8b05-ffd578937521
2004-03-18 06:56:12 +00:00
CaS
ad4ec14310 Added a few range checks in incomplete code and changed stack usage to reduce
chances of stack overflow in dictionary operations on very large dictionaries.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18850 72102866-910b-0410-8b05-ffd578937521
2004-03-16 09:53:01 +00:00
wim
16945a1d90 ([NSNotificationCenter -removeObserver:name:object:]):
Just return if all arguments are nil instead of throwing exception.  The new
behaviour is compatible with MacOSX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18849 72102866-910b-0410-8b05-ffd578937521
2004-03-16 08:42:35 +00:00
CaS
e8c28bc71a Some DO fixes ... don;'t use the -getObjects: method with a proxy as it
can't pass back distant items into a local buffer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18847 72102866-910b-0410-8b05-ffd578937521
2004-03-15 18:01:53 +00:00
CaS
5978eda5cf Fix problem with lazy locks by setting multithreaded bool earlier
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18839 72102866-910b-0410-8b05-ffd578937521
2004-03-12 16:51:30 +00:00
CaS
bd1a02569a Moved uudecode/uuencode to category of nsdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18838 72102866-910b-0410-8b05-ffd578937521
2004-03-12 15:49:08 +00:00
CaS
a4b75cc267 fix error in uuencoding
CVr: ----------------------------------------------------------------------


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18810 72102866-910b-0410-8b05-ffd578937521
2004-03-09 12:16:16 +00:00
fedor
7762033e8d Fixup HAVE_DLADDR.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18795 72102866-910b-0410-8b05-ffd578937521
2004-03-08 04:22:03 +00:00
wim
e1527dffe1 ([NSCalendarDate -descriptionWithCalendarFormat:locale:]):
Fixed problem with repeated %b %B %b %B and the like.
Fixed problem with missing characters after unrecognixed modifiers.
Added support for %c %X and %x.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18777 72102866-910b-0410-8b05-ffd578937521
2004-03-05 11:17:03 +00:00
fedor
2eed084578 Make non-static
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18754 72102866-910b-0410-8b05-ffd578937521
2004-03-03 03:37:28 +00:00
wim
b15ca262ac ([GSPerformHolder +initialize]): #ifdef'ed out
code that does not work on MinGW.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18727 72102866-910b-0410-8b05-ffd578937521
2004-03-01 10:12:56 +00:00
fedor
df220264cc Document, add W32 retreival from registry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18722 72102866-910b-0410-8b05-ffd578937521
2004-02-29 21:17:40 +00:00
fedor
3ad411e805 Version 1.9.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18712 72102866-910b-0410-8b05-ffd578937521
2004-02-29 02:57:22 +00:00
alexm
3441ebc6bc Define GS_SINT64 properly. Don't use casts as lvalues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18707 72102866-910b-0410-8b05-ffd578937521
2004-02-28 16:55:34 +00:00
wim
59f45702c8 ([NSBundle +mainBundle]): on WIN32 strip .exe
extension from executable name when constructing mainBundle path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18689 72102866-910b-0410-8b05-ffd578937521
2004-02-27 14:08:00 +00:00
ayers
7c83bf60b3 * Headers/Additions/GNUstepBase/GSCategories.h:
* Source/Additions/GSCompatibility.m (GSCurrentThread) Implement
        and declare for non *-gnu-*.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18663 72102866-910b-0410-8b05-ffd578937521
2004-02-25 13:57:59 +00:00
CaS
a661452743 Implemented a bit more stuff and tidied some existing code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18656 72102866-910b-0410-8b05-ffd578937521
2004-02-25 05:52:34 +00:00
CaS
619e6401c9 Mostly skeletal implementation of NSIndexSet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18650 72102866-910b-0410-8b05-ffd578937521
2004-02-24 21:23:53 +00:00
FredKiefer
9bb654d68e Added renamed MacOSX methodAdded renamed MacOSX method..
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18648 72102866-910b-0410-8b05-ffd578937521
2004-02-24 19:43:34 +00:00
CaS
8584d19437 Buffer overflow fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18645 72102866-910b-0410-8b05-ffd578937521
2004-02-24 14:14:26 +00:00
CaS
795cb68a0f Fix buffer overrun
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18644 72102866-910b-0410-8b05-ffd578937521
2004-02-24 09:06:14 +00:00
fedor
fab309a4e8 Allow whitespace in home dir on windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18641 72102866-910b-0410-8b05-ffd578937521
2004-02-24 03:57:41 +00:00
FredKiefer
67e7904ae5 Extension for binary property lists to load bigger lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18635 72102866-910b-0410-8b05-ffd578937521
2004-02-21 00:49:43 +00:00
CaS
892b775251 Support x-uuencode content transfer encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18627 72102866-910b-0410-8b05-ffd578937521
2004-02-19 11:21:46 +00:00
CaS
71e24fc732 Added basic uuencoding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18626 72102866-910b-0410-8b05-ffd578937521
2004-02-19 10:20:08 +00:00
ayers
d8d76a88da * Source/Additions/Unicode.m (GetDefEncoding): Replace
NSKoreanEUCEncoding with NSKoreanEUCStringEncoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18615 72102866-910b-0410-8b05-ffd578937521
2004-02-18 11:28:14 +00:00
fedor
64e9b9289e More flexible default encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18612 72102866-910b-0410-8b05-ffd578937521
2004-02-18 04:03:24 +00:00
ayers
a48526dca9 * Headers/Foundation/NSLock.h: Make types of _mutex and
_condition opaic to avoid including private thr-mach.h header.
        * Headers/Foundation/NSThread.h: Do not include private
	thr-mach.h header.
        * Source/thr-mach.h: Moved here from
        Headers/Additions/GNUstepBase/thr-mach.h.
        * Source/NSLock.m: Include private thr-mach.h header for
        apple-gnu-gnu.  Added defines for typing opaic instance
        variables and use them in various methods.
        * Source/NSThread.m: Include private thr-mach.h header for
        apple-gnu-gnu.
        * Source/thr-mach.m: Include private thr-mach.h header from
	new location.
        * Source/thr-pthread.m: Ditto.
        * Source/GNUmakefile: Do not install private thr-mach.h
	header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18607 72102866-910b-0410-8b05-ffd578937521
2004-02-17 12:55:02 +00:00
alexm
da2c4f2325 (-initWithCoder:): Release objects outside the -addObject: loop to keep the retain count correct.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18579 72102866-910b-0410-8b05-ffd578937521
2004-02-11 16:51:00 +00:00
CaS
47ec878faf Improve code deciding when to expect body after headers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18577 72102866-910b-0410-8b05-ffd578937521
2004-02-11 09:56:15 +00:00
fedor
3dc5729371 Define __USE_GNU
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18566 72102866-910b-0410-8b05-ffd578937521
2004-02-08 22:52:50 +00:00
CaS
d04dcc7fb8 More simplification by using lazy locking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18559 72102866-910b-0410-8b05-ffd578937521
2004-02-08 09:42:38 +00:00
CaS
cf6e91f1fd Minor tidyups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18558 72102866-910b-0410-8b05-ffd578937521
2004-02-08 09:23:09 +00:00
fedor
3741a465fb Fix get_symbol_path problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18555 72102866-910b-0410-8b05-ffd578937521
2004-02-08 04:08:00 +00:00
FredKiefer
099e690650 Corrected two bugs in binary pl decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18551 72102866-910b-0410-8b05-ffd578937521
2004-02-07 18:15:34 +00:00
CaS
4022d576e8 Fix bug handling nil/NSNull and a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18550 72102866-910b-0410-8b05-ffd578937521
2004-02-07 06:30:52 +00:00
CaS
e06de1074e Fix to use '/' if there is no path in the url.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18548 72102866-910b-0410-8b05-ffd578937521
2004-02-06 18:20:06 +00:00
FredKiefer
540eb388bd Changed handling of object references for binary property list format.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18540 72102866-910b-0410-8b05-ffd578937521
2004-02-04 20:50:40 +00:00
CaS
2d897f60cb Use utf8 encoding for 8bit strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18538 72102866-910b-0410-8b05-ffd578937521
2004-02-04 09:08:26 +00:00
CaS
2317f381c0 Integrate new parser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18537 72102866-910b-0410-8b05-ffd578937521
2004-02-04 06:15:53 +00:00
alexm
7ddfe3e3df Remove uses of the 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18534 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:14:00 +00:00
CaS
d3cff19797 Partial implementation of decoding mac binary format property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18532 72102866-910b-0410-8b05-ffd578937521
2004-02-03 21:27:10 +00:00
CaS
ca36c51c9e Applied nsstring bugfix patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18529 72102866-910b-0410-8b05-ffd578937521
2004-02-02 14:46:48 +00:00
CaS
851bf042db Minor naming consistency tidyups, and a fix to let java code using property
lists work with a base library that includes the new
NSPropertyListSerialisation class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18526 72102866-910b-0410-8b05-ffd578937521
2004-02-02 12:26:59 +00:00
CaS
21494c4272 Generalise last fix to all cases where no content-length is supplied.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18522 72102866-910b-0410-8b05-ffd578937521
2004-02-01 14:43:50 +00:00
CaS
f966ecd6da Fix for delay handling status 204 in returned pages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18521 72102866-910b-0410-8b05-ffd578937521
2004-02-01 14:29:52 +00:00
CaS
768669968c Improve method naming consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18520 72102866-910b-0410-8b05-ffd578937521
2004-02-01 12:35:35 +00:00
mguesdon
83254a02f7 2004-01-31 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSNumber.m: Modified numberWithXX: methods
	to test against abstractClass. If class is not the abstract
	class, we alloc object of class instead of allocating
	NSXXNumber objects (cf [NSDecimalNumber numberWithDouble:x]
	thread)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18515 72102866-910b-0410-8b05-ffd578937521
2004-01-31 16:28:35 +00:00
CaS
418907a03d Several minor bugfixes in handling BOOL values, fix crash in shrinking
mutable data.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18507 72102866-910b-0410-8b05-ffd578937521
2004-01-30 11:30:56 +00:00
CaS
ad63dfed22 Corrected commit of wrong version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18506 72102866-910b-0410-8b05-ffd578937521
2004-01-30 11:20:07 +00:00
CaS
62eec7c826 Added a couple of new initialisers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18505 72102866-910b-0410-8b05-ffd578937521
2004-01-30 07:17:30 +00:00
FredKiefer
f6b1f9e76a Corrected keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18496 72102866-910b-0410-8b05-ffd578937521
2004-01-28 23:13:55 +00:00
CaS
5893a40526 More keyed coding updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18495 72102866-910b-0410-8b05-ffd578937521
2004-01-28 07:33:20 +00:00
CaS
811be03fe2 Fix error unarchiving self referential objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18494 72102866-910b-0410-8b05-ffd578937521
2004-01-28 06:21:33 +00:00
FredKiefer
614a2986ec Fixed bug in decoding key encoded data elements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18492 72102866-910b-0410-8b05-ffd578937521
2004-01-27 22:08:22 +00:00
FredKiefer
dea07f458d Implemented keyed decoding for this classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18491 72102866-910b-0410-8b05-ffd578937521
2004-01-27 21:51:33 +00:00
CaS
358b54ac77 Minor keyed archiving fixes, also expose a couple of internal methods ...
not sure we should do this ... perhaps they should only be exposed to
other classes within the base library?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18490 72102866-910b-0410-8b05-ffd578937521
2004-01-27 11:31:41 +00:00
fedor
6ec3db939d Doc updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18485 72102866-910b-0410-8b05-ffd578937521
2004-01-26 04:42:28 +00:00
CaS
c0ad30b74e Insist on libxml2 presence unless told not to.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18481 72102866-910b-0410-8b05-ffd578937521
2004-01-25 19:57:10 +00:00
CaS
52e0a92230 Updated keyed coding to a (hopefully) useable state
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18480 72102866-910b-0410-8b05-ffd578937521
2004-01-25 18:39:20 +00:00
CaS
4e22d00e1d Added some error checking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18473 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:49:01 +00:00
CaS
98ce6de425 Added keyed geometry encoding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18472 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:40:44 +00:00
CaS
ef6c24d415 Make default format of keyed archives be xml for now.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18470 72102866-910b-0410-8b05-ffd578937521
2004-01-24 17:50:11 +00:00
CaS
8d0f717534 Implement another decoding method ... needs error checking to manage proper
type coercion.  What if the archive is in old plist format?


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18467 72102866-910b-0410-8b05-ffd578937521
2004-01-24 07:18:24 +00:00
CaS
fb301fc9f3 Tidy xml output format.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18466 72102866-910b-0410-8b05-ffd578937521
2004-01-24 06:51:18 +00:00
CaS
325da251d2 Added a few specialised coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18465 72102866-910b-0410-8b05-ffd578937521
2004-01-24 06:39:21 +00:00
CaS
828757cf28 Turn off some debug logging accidentally left on after last bugfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18463 72102866-910b-0410-8b05-ffd578937521
2004-01-23 18:39:39 +00:00
CaS
2347f04f15 Multithreaded operation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18462 72102866-910b-0410-8b05-ffd578937521
2004-01-23 18:12:37 +00:00
CaS
9268343c0e Override method to say we support keyed coding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18459 72102866-910b-0410-8b05-ffd578937521
2004-01-22 20:43:34 +00:00
CaS
383ae3d03b Partial implementation of unarchiver code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18458 72102866-910b-0410-8b05-ffd578937521
2004-01-22 20:38:24 +00:00
CaS
f88e119c36 Inital commit of partial implementation of MacOS-X compatible keyed archiving.
Experimental ... archiving is implemented aand tested for xml format output.
Unarchiving is not yet implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18450 72102866-910b-0410-8b05-ffd578937521
2004-01-22 09:37:07 +00:00
CaS
b410ed6e5d Fix for libffi based distributed objects (tested on macos-x)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18433 72102866-910b-0410-8b05-ffd578937521
2004-01-18 12:19:43 +00:00
fedor
107b64be5e Include fixes for darwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18413 72102866-910b-0410-8b05-ffd578937521
2004-01-15 04:07:08 +00:00
CaS
c1d4c8962a Little tweak for safety .. return immutable copy rather than mutable
instance variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18404 72102866-910b-0410-8b05-ffd578937521
2004-01-13 10:02:34 +00:00
CaS
52fd51a940 Minor fix for problem reported by J.Aaron Prendergrass
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18403 72102866-910b-0410-8b05-ffd578937521
2004-01-13 09:21:45 +00:00
fedor
7927c5abea Add ifdefs to include only on MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18395 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:44:48 +00:00
fedor
d7651856b9 Minor changes for baseadd compilation and compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18394 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:42:18 +00:00
fedor
06deb92741 Fix indentation problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18371 72102866-910b-0410-8b05-ffd578937521
2004-01-11 04:49:10 +00:00
CaS
c46872f818 Fix incorrect use of a pointer to unichar as if it was a pointer to char.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18359 72102866-910b-0410-8b05-ffd578937521
2004-01-10 10:00:00 +00:00
CaS
785c2ed63c Tidy last NSArray change with minor performance tweak, apply bugfix for code
attempting to deal with minor problems in mime data being parsed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18336 72102866-910b-0410-8b05-ffd578937521
2004-01-08 08:07:29 +00:00
alexm
45b685d011 Initialize range in the aRange.length==0 case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18335 72102866-910b-0410-8b05-ffd578937521
2004-01-08 00:52:21 +00:00
mguesdon
11b53e1b9f 2004-01-06 Manuel Guesdon <mguesdon@orange-concept.com>
* Headers/Foundation/NSArray.h/.m: added -setValue:forKey:
	      and -valueForKey: to comply to Mac OS X v10.3 and
		  later documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18322 72102866-910b-0410-8b05-ffd578937521
2004-01-06 19:43:29 +00:00
CaS
ba01b14ce2 Add method for consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18320 72102866-910b-0410-8b05-ffd578937521
2004-01-05 18:28:18 +00:00
uid65715
8b5050e0a2 Corrected spelling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18273 72102866-910b-0410-8b05-ffd578937521
2003-12-25 14:59:54 +00:00
uid66829
82b785b3c5 Rename 'abstract' to 'abstractClass' and make it static. (+allocWithZone:): Allocate an instance of self if self isn't the abstract class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18265 72102866-910b-0410-8b05-ffd578937521
2003-12-23 23:19:00 +00:00
uid66829
12d2a05aa8 (+detachNewThreadSelector:toTarget:withObject:): Don't set entered_multi_threaded_state to NO if the objc_thread_detach call fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18262 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:41:38 +00:00
uid66829
62673068d0 Fix spelling errors in comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18261 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:22:06 +00:00
uid66829
4f2941499d (NSContainsRect): Return NO if the second rect is empty. (NSIntegralRect): Calculate new width and height correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18258 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:11:14 +00:00
CaS
6c250f6d53 fix for ignoring of sigpipe.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18244 72102866-910b-0410-8b05-ffd578937521
2003-12-01 06:55:40 +00:00
CaS
49e44e1010 Use current user id to get user name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18242 72102866-910b-0410-8b05-ffd578937521
2003-11-30 10:20:26 +00:00
CaS
99ac08eca9 Minor usability tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18240 72102866-910b-0410-8b05-ffd578937521
2003-11-30 09:05:31 +00:00
alexm
41479d85fb Fix typo in comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18222 72102866-910b-0410-8b05-ffd578937521
2003-11-28 22:41:07 +00:00
CaS
c4119b882c Minor incremental parsing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18200 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:19:41 +00:00
fedor
e74bcf1b96 Change KoreanEUCEncoding to KoreanEUCStringEncoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18134 72102866-910b-0410-8b05-ffd578937521
2003-11-24 04:18:50 +00:00
CaS
1d3598b341 Bugfix ... suspend should send SIGSTOP
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18107 72102866-910b-0410-8b05-ffd578937521
2003-11-23 06:23:09 +00:00
CaS
2d8e1932e7 Fixes for lazy locking on macos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18088 72102866-910b-0410-8b05-ffd578937521
2003-11-16 10:53:40 +00:00
ayers
49728ca894 Based on patches by Philip Moetteli
<Philip.Moetteli@tele2.ch>.
	* Headers/Additions/GNUstepBase/GSCategories.h: Added
	NSKoreanEUCEncoding.
	* Headers/Additions/GNUstepBase/GSLock.h
	* Headers/Additions/GNUstepBase/GSLocale.h: Guard includes for
	NeXT_Foundation_LIBRARY.
	* Source/Additions/GSLock.m: Include GNUstepBase/GNUstep.h.
	* Headers/Additions/GNUstepBase/GSCategories.h
	* Headers/Foundation/NSString.h:
	(+[NSString stringWithFormat:arguments:]): Move declaration to
	GSCategories.
	* Source/NSString.m
	* Source/Additions/GSCategories.m:
	(+[NSString stringWithFormat:arguments:]): Move implementation
	to Additions.
	* macosx/config.h: Define HAVE_WCHAR_H.
	* macosx/gnustep.pbproj/project.pbxproj: Added GSLock files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18072 72102866-910b-0410-8b05-ffd578937521
2003-11-10 15:34:52 +00:00
CaS
c3bccbefe1 Don't obtain locks unnecessarily
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18071 72102866-910b-0410-8b05-ffd578937521
2003-11-10 06:40:24 +00:00
thoran
afc5f3d31e a static declaration was missing. Fixing it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18068 72102866-910b-0410-8b05-ffd578937521
2003-11-09 12:49:15 +00:00
ayers
4e4df7b974 * Source/GSPrivate.h (GS_REPLACE_CONSTANT_STRING): New macro.
* Source/externs.m: Initialize constant strings statically.
	(GSBuildStrings): Replace static strings with dynamic
	versions.
	* Testing/benchmark.m: Added tests for NSString -hash and
	-copy.  Aligned ouput.
	* Testing/externs.m: New test.
	* Testing/GNUmakefile: Added externs.m test.  Activated
	ADDITIONAL_TOOLS tests excluding gstcpport tests.

	* Source/Additions/GSCategories.m: Adjust declared lock type.
	Added comment.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18058 72102866-910b-0410-8b05-ffd578937521
2003-11-06 21:11:39 +00:00
CaS
61cf6fa9e9 Add support for server side ssl connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18055 72102866-910b-0410-8b05-ffd578937521
2003-11-05 18:26:09 +00:00
alexm
ccf66c5058 (serializeToInfo): Only save a string as a cstring if it only contains ASCII characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18052 72102866-910b-0410-8b05-ffd578937521
2003-11-05 13:52:18 +00:00
alexm
f97029e9b2 Reorganize GSString class hierarchy. Update users.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18050 72102866-910b-0410-8b05-ffd578937521
2003-11-05 02:11:49 +00:00
CaS
b75764eba4 Use locking even when single threaded ... temporary hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18042 72102866-910b-0410-8b05-ffd578937521
2003-11-03 12:32:46 +00:00
CaS
ae99be2995 Substring creation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18040 72102866-910b-0410-8b05-ffd578937521
2003-11-03 08:35:44 +00:00
CaS
2d71ebd08f Commit file accidentally omitted earlier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18039 72102866-910b-0410-8b05-ffd578937521
2003-11-03 06:27:52 +00:00
alexm
6f9e959f46 ([GSCSubString -copy]): Add as a stopgap workaround for problemes uncovered by the previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18022 72102866-910b-0410-8b05-ffd578937521
2003-11-02 00:56:07 +00:00
CaS
82c043f108 Minor fix for strings initialised with data they don't own ... consistent
with MacOS-X implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18019 72102866-910b-0410-8b05-ffd578937521
2003-11-01 11:11:13 +00:00
CaS
009855161e Fix NSCharacterSet caching bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18017 72102866-910b-0410-8b05-ffd578937521
2003-11-01 07:30:21 +00:00
CaS
248f589502 Locking tidups/fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18016 72102866-910b-0410-8b05-ffd578937521
2003-11-01 07:09:12 +00:00
ayers
b5dd8fa367 * Source/NSCharacterSet.m
([NSCharacterSet _bitmapForSet:number:]): Insure only
        instances of NSCharacterSet a stored in the cache but return
        instances of the receivers class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18014 72102866-910b-0410-8b05-ffd578937521
2003-10-31 17:10:45 +00:00
ayers
dfef5c3ecb Moved declaration of local_lock out of the #ifdef as reported by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18012 72102866-910b-0410-8b05-ffd578937521
2003-10-30 20:51:44 +00:00
ayers
e8eb4809bb Fix declarations for -baseadd and minor convention issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18011 72102866-910b-0410-8b05-ffd578937521
2003-10-30 14:29:41 +00:00
ayers
86f35c472c * Headers/Additions/GNUstepBase/GSLock.h: Added missing
forward declaration.
	* Headers/Additions/GNUstepBase/GSCategories.h: Remove
	declaraion of gnustep_global_lock.
	(GS_INITIALIZED_LOCK): New macro.
	(+[NSLock newLockAt:]): New method.
	(+[NSRecursiveLock newLockAt:]): Ditto.
	* Headers/Foundation/NSLock.h: Ditto.
	* Source/Additions/GSCategories.m: Replace global lock with
	local lock.
	(_GSLockInitializer): New class to initialize local lock
	safely.
	(newLockAt): New static function shared by +newLockAt:
	implementations to safely intialize lock variables.
	(+[NSLock newLockAt:]): Implemented and documented.
	(+[NSRecursiveLock newLockAt:]): Ditto.
	* Source/Additions/GSCompatibility.m: Remove
	gnustep_global_lock.
	* Source/Additions/GSObjCRuntime.m: Remove superfluous
	locking.
	* Source/Additions/Unicode.m: Use new GS_INITIALIZED_LOCK
	macro and replace global lock with local lock.
	* Source/NSLock.m
	(-[NSConditionLock lockWhenCondition:beforeDate:]):
	Implemented.
	* Testing/gslock.m: New test case.
	* Testing/GNUmakefile: Add new test case.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18010 72102866-910b-0410-8b05-ffd578937521
2003-10-30 13:44:55 +00:00
CaS
12d355b077 Fixes for macosx compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17989 72102866-910b-0410-8b05-ffd578937521
2003-10-28 11:10:23 +00:00
CaS
ba1698ff9c Updates for improved reference count management over DO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17983 72102866-910b-0410-8b05-ffd578937521
2003-10-27 13:41:01 +00:00
CaS
0a746f0769 Build/document new lock classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17982 72102866-910b-0410-8b05-ffd578937521
2003-10-27 13:23:19 +00:00
CaS
1d2a10c000 Add lazy locking classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17979 72102866-910b-0410-8b05-ffd578937521
2003-10-26 13:45:49 +00:00
CaS
e2031f940d Minor comptibility fixes and documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17972 72102866-910b-0410-8b05-ffd578937521
2003-10-25 05:54:39 +00:00
ayers
20704de08d * Source/GSArray.m:
(-[GSMutableArray _raiseRangeExceptionWithIndex:from:]):
        Declare private method obtained through behavior additions.
        (-[GSArray _raiseRangeExceptionWithIndex:from:]): Use
        'unsigned' in favor of 'int' for index and count.  Move
        private method to the top of implementation context to avoid
        warnings.
        (-[GSMutableArray insertObject:atIndex:]): Use 'unsigned' in
        favor of 'int' for index.
        (-[GSMutableArray replaceObjectAtIndex:withObject:]): Correct
        selector name and parameter of method call.
        (-[GSMutableArray sortUsingFunction:context:]): Correct
        prototype.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17963 72102866-910b-0410-8b05-ffd578937521
2003-10-24 09:27:09 +00:00
CaS
034969baa0 Applied and tidied patch for more informative exceptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17962 72102866-910b-0410-8b05-ffd578937521
2003-10-24 06:53:53 +00:00
CaS
3baba2414f bugfix for setting listening port.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17961 72102866-910b-0410-8b05-ffd578937521
2003-10-23 16:46:47 +00:00
ayers
0db6d0ea2f * Source/NSConcreteNumber.h: Moved here from
Headers/Foundation/NSConcreteNumber.h.
        * Source/GNUmakefile: Make NSConcreteNumber.h private.
        * Source/NSConcreteNumber.m: Include NSConcreteNumber.h from
        new location.
        * Source/NSNumber.m: Ditto.
        * Source/NSURL.m: Include NSValue.h in favor of private
        NSConcreteNumber.h.
        * Source/NSURLHandle.m: Do not include NSConcreteNumber.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17954 72102866-910b-0410-8b05-ffd578937521
2003-10-22 16:26:02 +00:00
fedor
98cd044ac6 Generate libgnustep-base.def at compile time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17950 72102866-910b-0410-8b05-ffd578937521
2003-10-22 02:45:43 +00:00
CaS
b08343d175 Cleanups in preparation for experimental changes to retain/relase over DO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17949 72102866-910b-0410-8b05-ffd578937521
2003-10-21 17:05:36 +00:00
CaS
0627eb75aa String encoding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17917 72102866-910b-0410-8b05-ffd578937521
2003-10-18 06:10:41 +00:00
nico
ca88c8d721 Removed old obsolete variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17914 72102866-910b-0410-8b05-ffd578937521
2003-10-17 13:25:55 +00:00
nico
4f4abc1b4d Removed references to old obsolete variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17913 72102866-910b-0410-8b05-ffd578937521
2003-10-17 13:25:28 +00:00
nico
3d82b398e7 Removed old variable, tidied up usage of GNUSTEP_OBJ_DIR
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17912 72102866-910b-0410-8b05-ffd578937521
2003-10-17 13:24:58 +00:00
CaS
7f5174c76a Minor tidyp ... change a couple of macro names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17904 72102866-910b-0410-8b05-ffd578937521
2003-10-16 20:41:50 +00:00
CaS
d113f2549c New SIGPIPE behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17903 72102866-910b-0410-8b05-ffd578937521
2003-10-16 18:31:38 +00:00
CaS
0cd5b3a710 Bugfix ... don't override handler for sigpipe if one is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17902 72102866-910b-0410-8b05-ffd578937521
2003-10-16 15:48:48 +00:00
nico
bd9830583d Do not #include signal.h when compiling NSObject.m ... it seems unused
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17901 72102866-910b-0410-8b05-ffd578937521
2003-10-16 14:56:35 +00:00
nico
f979072045 Removed unused FORCE rule
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17890 72102866-910b-0410-8b05-ffd578937521
2003-10-15 11:16:42 +00:00
nico
1dce3ec58c Removed unused rules
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17889 72102866-910b-0410-8b05-ffd578937521
2003-10-15 11:16:03 +00:00
nico
8abcd75bc4 Removed rules to build object files when an included header file changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17873 72102866-910b-0410-8b05-ffd578937521
2003-10-15 10:21:59 +00:00
fedor
ced5193b8d Fix parsing of octal escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17863 72102866-910b-0410-8b05-ffd578937521
2003-10-14 15:38:31 +00:00
CaS
0d55588d8a Simplify last change a little for readability.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17861 72102866-910b-0410-8b05-ffd578937521
2003-10-14 09:09:06 +00:00
CaS
88bd37b151 Tweak to prevent stack overflow on windows, without significant loss of
performance ... use stack for smallish temporary storage, but heap for
larger storage requirements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17860 72102866-910b-0410-8b05-ffd578937521
2003-10-14 09:00:42 +00:00
CaS
f292a46b2a Fixed missing bracket
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17806 72102866-910b-0410-8b05-ffd578937521
2003-10-09 09:31:35 +00:00
CaS
f68efed229 memory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17805 72102866-910b-0410-8b05-ffd578937521
2003-10-09 09:12:23 +00:00
CaS
c4b038113d Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17804 72102866-910b-0410-8b05-ffd578937521
2003-10-08 16:26:59 +00:00
CaS
2c18a5ea43 Memory leak fixes and a little new debug functionality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17803 72102866-910b-0410-8b05-ffd578937521
2003-10-08 15:03:58 +00:00
CaS
c019ce0f9e Windows path handling fixups by Roland Schwingel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17802 72102866-910b-0410-8b05-ffd578937521
2003-10-08 14:27:11 +00:00
CaS
bc1256b6dd Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17800 72102866-910b-0410-8b05-ffd578937521
2003-10-08 13:19:20 +00:00
CaS
9e3af86051 Added setContentType:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17790 72102866-910b-0410-8b05-ffd578937521
2003-10-07 15:49:52 +00:00
fedor
a50ec2ab0f Fix documentation make. Bump version number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17782 72102866-910b-0410-8b05-ffd578937521
2003-10-06 03:32:37 +00:00
CaS
dbcea88742 Fixed minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17767 72102866-910b-0410-8b05-ffd578937521
2003-10-02 16:50:49 +00:00
CaS
c7551b0431 Improve warning messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17758 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:57:49 +00:00
CaS
5401a03dd3 Thread safety fix ... ensure notifications are sent before we become
multithrteaded.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17757 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:19:03 +00:00
CaS
88285c3596 Minor bugfix patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17756 72102866-910b-0410-8b05-ffd578937521
2003-09-30 17:47:35 +00:00