Commit graph

1994 commits

Author SHA1 Message Date
richard
2c35e21378 Fix bug in parsing args - a default name without a value should put an empty
string into the defaults dictinary, not attempt to insert a nil object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3119 72102866-910b-0410-8b05-ffd578937521
1998-10-26 15:34:57 +00:00
richard
76f51c0cc3 Performance enhancements and bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3117 72102866-910b-0410-8b05-ffd578937521
1998-10-26 12:14:12 +00:00
richard
e1a308224d port for unixware 2.3 (sysv-4.2)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3116 72102866-910b-0410-8b05-ffd578937521
1998-10-26 09:43:14 +00:00
richard
7b337f4704 Make automatically generated files match their source
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3115 72102866-910b-0410-8b05-ffd578937521
1998-10-26 08:16:44 +00:00
richard
7bb89f66e9 Implemented copy methods and fixed bug in insertion that was introduced
when I switched to using NSZoneRealloc()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3114 72102866-910b-0410-8b05-ffd578937521
1998-10-26 08:15:20 +00:00
richard
95a8d9f0c2 Use copyWithZone: rather than retain to put keys into dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3113 72102866-910b-0410-8b05-ffd578937521
1998-10-25 19:20:49 +00:00
richard
a92247edf8 Bugfix- set address before using it!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3112 72102866-910b-0410-8b05-ffd578937521
1998-10-25 15:57:51 +00:00
richard
794aa80d2c Implemented +alloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3111 72102866-910b-0410-8b05-ffd578937521
1998-10-25 08:31:37 +00:00
richard
bbabd52501 Performance enhancements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3110 72102866-910b-0410-8b05-ffd578937521
1998-10-25 07:56:22 +00:00
richard
e6d36d8e5c Archiver update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3109 72102866-910b-0410-8b05-ffd578937521
1998-10-24 09:58:16 +00:00
richard
ef32816527 bettr prop-list
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3108 72102866-910b-0410-8b05-ffd578937521
1998-10-23 18:57:27 +00:00
richard
2878831739 Additions for support of efficient NSArchiver/NSUnarchiver while permiting
ffective subclassing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3107 72102866-910b-0410-8b05-ffd578937521
1998-10-23 15:48:21 +00:00
richard
0390948384 Fixed error in DO - NXConstantString should always encode itsself as an
NSGCString


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3106 72102866-910b-0410-8b05-ffd578937521
1998-10-23 15:47:07 +00:00
richard
25cfc35dab Fix error in quoting for property lists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3104 72102866-910b-0410-8b05-ffd578937521
1998-10-23 04:34:46 +00:00
richard
7efcf04fda Improved deserialisation performance and implemented support for SEL and Class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3103 72102866-910b-0410-8b05-ffd578937521
1998-10-22 20:20:31 +00:00
richard
52c00acbaa Slight performance improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3102 72102866-910b-0410-8b05-ffd578937521
1998-10-22 10:58:37 +00:00
richard
07fa579ca3 Fixed coding/decoding error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3101 72102866-910b-0410-8b05-ffd578937521
1998-10-22 10:03:52 +00:00
richard
4568fd4427 Minor tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3100 72102866-910b-0410-8b05-ffd578937521
1998-10-22 10:02:39 +00:00
richard
6868e8ada7 Added NSPortMessage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3098 72102866-910b-0410-8b05-ffd578937521
1998-10-21 14:04:45 +00:00
richard
c59a49794b Tidied coding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3097 72102866-910b-0410-8b05-ffd578937521
1998-10-21 14:02:33 +00:00
richard
9ac1288542 Added NSPortMessage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3096 72102866-910b-0410-8b05-ffd578937521
1998-10-21 13:56:18 +00:00
richard
0a4d30b935 Performance improvmentes for coding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3093 72102866-910b-0410-8b05-ffd578937521
1998-10-21 11:56:58 +00:00
richard
5049319df5 Tidied encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3092 72102866-910b-0410-8b05-ffd578937521
1998-10-20 15:40:25 +00:00
richard
c37ffbd383 Fixe byte swapping error in double.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3091 72102866-910b-0410-8b05-ffd578937521
1998-10-20 15:33:50 +00:00
richard
fea72049bc Mods for update of FastMap.x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3088 72102866-910b-0410-8b05-ffd578937521
1998-10-20 14:42:18 +00:00
richard
43fb5c926a Minor extensions and bug fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3087 72102866-910b-0410-8b05-ffd578937521
1998-10-20 14:40:05 +00:00
richard
dcf4ac31ea Removed [+newWithCoder:inZone:] - not really OpenStep compatible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3086 72102866-910b-0410-8b05-ffd578937521
1998-10-20 09:16:49 +00:00
richard
7f01cf8753 Fix so that NXConstantStrings are encodes as NSGCStrings, avoiding memory
leaks when restoring from archive.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3085 72102866-910b-0410-8b05-ffd578937521
1998-10-20 08:50:52 +00:00
richard
8bfba742a9 Send bycopy over the wire.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3079 72102866-910b-0410-8b05-ffd578937521
1998-10-17 18:56:49 +00:00
richard
72684b745c Some error trapping code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3078 72102866-910b-0410-8b05-ffd578937521
1998-10-17 06:47:46 +00:00
richard
0554ecb6dd Added some argument checking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3075 72102866-910b-0410-8b05-ffd578937521
1998-10-17 05:38:46 +00:00
fedor
de36ed750c Implement completePathIntoString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3073 72102866-910b-0410-8b05-ffd578937521
1998-10-15 18:46:27 +00:00
fedor
a24e1c84d1 String patches
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3072 72102866-910b-0410-8b05-ffd578937521
1998-10-15 13:46:35 +00:00
richard
99129c437a Zone stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3069 72102866-910b-0410-8b05-ffd578937521
1998-10-15 05:03:16 +00:00
fedor
5e02efeb1d Add placeholder for NSNotificationCenter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3052 72102866-910b-0410-8b05-ffd578937521
1998-10-13 12:56:27 +00:00
richard
95ff15509f tidied a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3051 72102866-910b-0410-8b05-ffd578937521
1998-10-11 06:26:40 +00:00
richard
447937bb30 Optimisations - cache method implementations in loops.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3050 72102866-910b-0410-8b05-ffd578937521
1998-10-09 15:37:06 +00:00
richard
49dfee1c4b Changed notImplemented: to shouldNotImplement:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3049 72102866-910b-0410-8b05-ffd578937521
1998-10-09 14:04:04 +00:00
richard
e1dfb5b44f Don't permit negative versions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3048 72102866-910b-0410-8b05-ffd578937521
1998-10-09 13:54:54 +00:00
richard
f7c949afaa Handle property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3047 72102866-910b-0410-8b05-ffd578937521
1998-10-09 10:58:19 +00:00
richard
bd110748d4 Tiny property-list parsing optimisations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3046 72102866-910b-0410-8b05-ffd578937521
1998-10-09 08:36:37 +00:00
richard
7694a7f14e Some final tiny optimisations for testing string equality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3045 72102866-910b-0410-8b05-ffd578937521
1998-10-09 04:24:56 +00:00
richard
f57bb849fa Bugfix - indexOfObject:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3044 72102866-910b-0410-8b05-ffd578937521
1998-10-08 19:44:18 +00:00
richard
9f53836c50 Major efficieny rewrites.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3043 72102866-910b-0410-8b05-ffd578937521
1998-10-08 13:46:53 +00:00
richard
302f5972b5 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3042 72102866-910b-0410-8b05-ffd578937521
1998-10-08 03:03:25 +00:00
richard
05fdab29cb Oops - typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3041 72102866-910b-0410-8b05-ffd578937521
1998-10-07 21:13:00 +00:00
richard
39d2370fc4 Bugfix - missing increment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3040 72102866-910b-0410-8b05-ffd578937521
1998-10-07 21:10:05 +00:00
richard
50e19ff74b Check for nil passed to isEqual:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3039 72102866-910b-0410-8b05-ffd578937521
1998-10-07 20:17:16 +00:00
richard
beef7da42f Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3037 72102866-910b-0410-8b05-ffd578937521
1998-10-07 19:50:57 +00:00
richard
92ebe5a30a Tidied caching stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3035 72102866-910b-0410-8b05-ffd578937521
1998-10-07 11:26:18 +00:00
fedor
8c7267d074 Add win32 dynamic loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3034 72102866-910b-0410-8b05-ffd578937521
1998-10-06 20:06:01 +00:00
richard
39b8ff1baf Efficiency hacks - avoiding objc messaging overheads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3032 72102866-910b-0410-8b05-ffd578937521
1998-10-06 15:11:27 +00:00
richard
26e47289b1 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3031 72102866-910b-0410-8b05-ffd578937521
1998-10-03 22:38:23 +00:00
richard
dc8f8736e6 Parameterize using macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3030 72102866-910b-0410-8b05-ffd578937521
1998-10-03 22:04:14 +00:00
richard
ecee29a03b Better NSString hash and comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3028 72102866-910b-0410-8b05-ffd578937521
1998-10-03 21:23:04 +00:00
richard
e2bfcf3d68 Fix for NXConstantString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3025 72102866-910b-0410-8b05-ffd578937521
1998-10-03 07:07:32 +00:00
richard
53acdd7852 Typo fix - guess I'm too tired.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3023 72102866-910b-0410-8b05-ffd578937521
1998-10-03 05:22:09 +00:00
richard
b57786de16 Don't use 'Dictionary' methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3022 72102866-910b-0410-8b05-ffd578937521
1998-10-03 05:20:03 +00:00
richard
c87dd74d29 Use NSDictionary.h rather than Dictionary.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3021 72102866-910b-0410-8b05-ffd578937521
1998-10-03 05:16:53 +00:00
richard
8ecbb2382c Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3020 72102866-910b-0410-8b05-ffd578937521
1998-10-03 05:14:29 +00:00
richard
a768f9613b Fixed memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3011 72102866-910b-0410-8b05-ffd578937521
1998-10-01 16:07:02 +00:00
richard
11cab3d661 New implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3010 72102866-910b-0410-8b05-ffd578937521
1998-10-01 16:06:24 +00:00
richard
e63d3f7c30 Fast map code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3009 72102866-910b-0410-8b05-ffd578937521
1998-10-01 16:05:59 +00:00
richard
61a44ee2aa removed NSGDictionary.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3008 72102866-910b-0410-8b05-ffd578937521
1998-10-01 16:05:34 +00:00
richard
200eb65dff Backup of original dictionary code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3006 72102866-910b-0410-8b05-ffd578937521
1998-10-01 16:04:10 +00:00
richard
de5b067203 Improved hash algorithm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3005 72102866-910b-0410-8b05-ffd578937521
1998-10-01 15:37:14 +00:00
richard
38796b2e68 Improve dictionary lookup for strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3003 72102866-910b-0410-8b05-ffd578937521
1998-10-01 05:22:47 +00:00
richard
1f800ffbe0 Log warning if an object is autoreleased without a pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3001 72102866-910b-0410-8b05-ffd578937521
1998-10-01 03:05:27 +00:00
richard
7b4b50e9fe Removed obsolete FIXMEs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3000 72102866-910b-0410-8b05-ffd578937521
1998-09-30 19:22:11 +00:00
richard
76d7dd9022 Minor fixes for unknown selectors in DO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2998 72102866-910b-0410-8b05-ffd578937521
1998-09-30 13:01:54 +00:00
richard
b7d32a06b8 If selector types are not available, ask the NSDistantObject to get them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2997 72102866-910b-0410-8b05-ffd578937521
1998-09-30 12:34:30 +00:00
richard
484500dfab Removed obsolete class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2996 72102866-910b-0410-8b05-ffd578937521
1998-09-30 08:43:32 +00:00
richard
4dbb4fbd46 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2995 72102866-910b-0410-8b05-ffd578937521
1998-09-30 08:40:54 +00:00
richard
fe28aa25d4 Removed MallocAddress
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2994 72102866-910b-0410-8b05-ffd578937521
1998-09-30 08:39:14 +00:00
richard
b04bfafc95 Don't use MallocAddress
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2993 72102866-910b-0410-8b05-ffd578937521
1998-09-30 08:29:58 +00:00
richard
f90baf26c9 Don't use MallocAddress
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2992 72102866-910b-0410-8b05-ffd578937521
1998-09-30 08:24:05 +00:00
richard
8c4e627170 Remove automatically generated o_*_bas.m files after distclean
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2991 72102866-910b-0410-8b05-ffd578937521
1998-09-30 07:57:28 +00:00
richard
0806cb068b Removed references to cStringNoCopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2990 72102866-910b-0410-8b05-ffd578937521
1998-09-30 07:42:38 +00:00
richard
ab0d3d493b Tidied method signature stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2988 72102866-910b-0410-8b05-ffd578937521
1998-09-29 11:32:53 +00:00
fedor
fca11c379c Make NSObject conform to specs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2987 72102866-910b-0410-8b05-ffd578937521
1998-09-28 20:38:02 +00:00
richard
981358a1be Tidied method signature stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2984 72102866-910b-0410-8b05-ffd578937521
1998-09-26 05:07:02 +00:00
richard
7fdaa4dd84 Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2975 72102866-910b-0410-8b05-ffd578937521
1998-09-10 04:48:50 +00:00
richard
c36d6e4310 Tiny change to comply with docs which state that the notification name is
copied (not just retained).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2968 72102866-910b-0410-8b05-ffd578937521
1998-09-08 07:55:50 +00:00
richard
4ff01054e0 Updated notification for user defaults
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2961 72102866-910b-0410-8b05-ffd578937521
1998-09-04 06:49:59 +00:00
richard
cc6f781e05 Updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2960 72102866-910b-0410-8b05-ffd578937521
1998-09-04 06:49:38 +00:00
richard
1dd5561172 Bugfix for setting objects in persistent domains.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2959 72102866-910b-0410-8b05-ffd578937521
1998-09-04 06:33:30 +00:00
fedor
b8fca3dc09 Better configuration, gui will compile without DPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2954 72102866-910b-0410-8b05-ffd578937521
1998-09-03 14:35:49 +00:00
richard
04c9207871 Get malloc zone right
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2950 72102866-910b-0410-8b05-ffd578937521
1998-09-02 12:36:47 +00:00
richard
13ba5809c0 Fixed coding/decoding autorelease problem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2949 72102866-910b-0410-8b05-ffd578937521
1998-09-02 12:34:38 +00:00
richard
bfd5967011 Tidied.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2948 72102866-910b-0410-8b05-ffd578937521
1998-09-02 12:31:00 +00:00
richard
28c3b8c08c Bugfix in cancelPerformSelector:target:argument:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2946 72102866-910b-0410-8b05-ffd578937521
1998-09-02 10:53:09 +00:00
fedor
f44aa7af65 Better build procedure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2940 72102866-910b-0410-8b05-ffd578937521
1998-08-24 12:47:27 +00:00
fedor
5691e8cfeb configure and library-combo fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2938 72102866-910b-0410-8b05-ffd578937521
1998-08-20 17:48:46 +00:00
richard
d8f84859f0 Rewrite of invocation code with new mframe code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2930 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:45:32 +00:00
richard
30eda42217 Generic config
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2927 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:38:48 +00:00
richard
5e5ff09a75 Config files for sparc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2926 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:38:15 +00:00
richard
d396666b7e Config files for i386
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2925 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:37:37 +00:00
richard
1e65b60e4b Untested config file!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2924 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:36:42 +00:00
richard
e3eb5a2f1d mframe configuration files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2923 72102866-910b-0410-8b05-ffd578937521
1998-08-13 20:33:32 +00:00
richard
6bbcee4ede Minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2921 72102866-910b-0410-8b05-ffd578937521
1998-08-13 10:01:43 +00:00
richard
bb66bd1482 Update reading of environment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2919 72102866-910b-0410-8b05-ffd578937521
1998-08-12 15:07:03 +00:00
richard
f1377a1375 * src/NSBundle: ([+initialize]) modified to take account of the
environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
        GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2918 72102866-910b-0410-8b05-ffd578937521
1998-08-12 14:41:20 +00:00
fedor
4bdce11b38 Remove uneeded files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2909 72102866-910b-0410-8b05-ffd578937521
1998-08-06 17:27:25 +00:00
richard
81a4225f90 Oops - comment out two methods that we can't have until we get forwardInvocation
workign properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2906 72102866-910b-0410-8b05-ffd578937521
1998-08-04 15:41:31 +00:00
richard
34bd8a65e8 Have NSDebugLog() and NSDebugLLog()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2901 72102866-910b-0410-8b05-ffd578937521
1998-08-04 12:27:57 +00:00
richard
8f4c118317 Merged into NSObject.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2900 72102866-910b-0410-8b05-ffd578937521
1998-08-04 12:04:04 +00:00
richard
7e5d16ae78 Revised NSDebugLog() stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2899 72102866-910b-0410-8b05-ffd578937521
1998-08-04 10:45:43 +00:00
richard
7fad1ff16e Performance improvements - 10% or thereabouts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2898 72102866-910b-0410-8b05-ffd578937521
1998-08-04 09:22:51 +00:00
richard
24cf296541 Performance hacks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2895 72102866-910b-0410-8b05-ffd578937521
1998-08-03 15:31:33 +00:00
richard
986d48c896 Change exception raised by a couple of methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2894 72102866-910b-0410-8b05-ffd578937521
1998-08-01 21:40:50 +00:00
richard
66f5d6348e Moved some essentials into core
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2893 72102866-910b-0410-8b05-ffd578937521
1998-08-01 21:34:58 +00:00
richard
ad3a6150bc Fix dealloc problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2892 72102866-910b-0410-8b05-ffd578937521
1998-08-01 21:30:06 +00:00
richard
69d2892292 Bugfix update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2885 72102866-910b-0410-8b05-ffd578937521
1998-07-30 16:34:32 +00:00
richard
e8ccb8c656 Support archiving of mutable character sets
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2884 72102866-910b-0410-8b05-ffd578937521
1998-07-29 14:52:50 +00:00
richard
72a92f58cc Implemented [-isEqual:] for NSCharacterSet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2883 72102866-910b-0410-8b05-ffd578937521
1998-07-29 14:46:16 +00:00
richard
b9770f3d03 Fixed -copy and -isEqual:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2881 72102866-910b-0410-8b05-ffd578937521
1998-07-29 14:04:17 +00:00
richard
3da652510e Removed [-copy] method - inherit from NSObject instead, and use [-copyAs:]
to get the old behaviour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2878 72102866-910b-0410-8b05-ffd578937521
1998-07-29 13:33:43 +00:00
richard
19e723a0d7 Reinstated -respondsToSelector: and -conformsToProtocol:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2876 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:47:26 +00:00
richard
0f015c2722 Added [+instanceMethodSignatureForSelector:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2874 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:36:16 +00:00
richard
4b86e79bb6 Fix 'classForPortCoder' for Protocol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2873 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:31:39 +00:00
richard
fa0f1a19ca Housekeeping - typecasts to avoid warnings and removal of redundant methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2870 72102866-910b-0410-8b05-ffd578937521
1998-07-29 09:22:18 +00:00
fedor
86dbd2aa63 New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
richard
8b141999ba Attempt to make this class do what it should :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2868 72102866-910b-0410-8b05-ffd578937521
1998-07-28 09:45:09 +00:00
richard
5b633b46ff Don't try to copy connections - they no longer inherit any copy behaviour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2863 72102866-910b-0410-8b05-ffd578937521
1998-07-24 10:01:29 +00:00
fedor
3246db28c8 Remove redundant classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2861 72102866-910b-0410-8b05-ffd578937521
1998-07-21 17:56:48 +00:00
richard
512d3d7fbb Update to correctly decode classes that rely on multiple inheritance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2859 72102866-910b-0410-8b05-ffd578937521
1998-07-20 21:13:15 +00:00
fedor
46cae73262 Improved making.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2858 72102866-910b-0410-8b05-ffd578937521
1998-07-20 15:25:47 +00:00
fedor
94fddfef4d NSSet additions, better NSDebugLog, added defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2854 72102866-910b-0410-8b05-ffd578937521
1998-07-15 16:33:33 +00:00
richard
fffbd7af7b Added mframe_decode_return() function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2850 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:50:16 +00:00
richard
ceaccc8dc5 Various bug fixes for synchronous operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2849 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:49:35 +00:00
richard
9e0d9c7405 Fixed implementation of the ([-rangeOfCharacterFromSet:options:range:]) method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2848 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:48:57 +00:00
richard
d7e57c3a47 Removed ([-copyWithZone:]) and ([-mutableCopyWithZone:])
(which shiould not exist in NSObject).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2847 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:48:14 +00:00
richard
6ae3584351 Tidied and added NSGetSizeAndAlignment().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2846 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:47:38 +00:00
richard
c48d8ba808 Modified method for making socket connections and added a synchronous version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2845 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:47:13 +00:00
richard
95bae23856 Fixed ([-copyWithZone:]) to avoid using the (non-existant) NSObject method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2844 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:46:46 +00:00
richard
cb50c403d0 Rewrote ([-invoke]) to retrieve return values correctly by using
mframe_decode_return()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2843 72102866-910b-0410-8b05-ffd578937521
1998-07-15 12:46:01 +00:00
richard
be6c14f6b8 Fixed stupid typo error in timeout code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2828 72102866-910b-0410-8b05-ffd578937521
1998-06-29 17:44:03 +00:00
richard
018f8728ec Added code to invalidate an out port if a write to it fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2827 72102866-910b-0410-8b05-ffd578937521
1998-06-29 15:04:32 +00:00
richard
1f32c855b8 Fixed error in timeout of cached proxies.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2826 72102866-910b-0410-8b05-ffd578937521
1998-06-29 14:28:19 +00:00
richard
fe8b8fa3d4 Updated distributed objects code to cope with triangular relationships -
Process A vends object to B which vends object to C.
There was a problem where B could give the object to C and release it in A
before C could get a proxy to the original in A.  Now we give it 30 seconds
to establish the connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2824 72102866-910b-0410-8b05-ffd578937521
1998-06-26 20:39:50 +00:00
richard
2ac9414aab Make more tolerant - permit comma after final array element
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2821 72102866-910b-0410-8b05-ffd578937521
1998-06-24 22:13:15 +00:00
richard
b06def3114 Efficiency hack in conversion to/from unicode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2817 72102866-910b-0410-8b05-ffd578937521
1998-06-24 22:01:03 +00:00
richard
7d888dfdb5 Added [NSMutableData +data]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2815 72102866-910b-0410-8b05-ffd578937521
1998-06-24 21:53:49 +00:00
fedor
7b47d05fe7 New class methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2814 72102866-910b-0410-8b05-ffd578937521
1998-06-24 17:22:34 +00:00
fedor
2c5ffb0448 New class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2811 72102866-910b-0410-8b05-ffd578937521
1998-06-16 13:52:57 +00:00
fedor
4fa6aaea41 Various fixes, Frith-MacDonald, others.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2805 72102866-910b-0410-8b05-ffd578937521
1998-05-29 15:25:41 +00:00
fedor
bc4aeb0fcc Frith-MacDonald and other patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2801 72102866-910b-0410-8b05-ffd578937521
1998-05-21 13:41:55 +00:00
fedor
09326f7e16 Minor change name variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2799 72102866-910b-0410-8b05-ffd578937521
1998-05-15 21:01:11 +00:00
fedor
6176ccb7c4 Various fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2796 72102866-910b-0410-8b05-ffd578937521
1998-05-13 19:25:38 +00:00
fedor
d9bce2e3ce Fixes from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2794 72102866-910b-0410-8b05-ffd578937521
1998-04-30 20:11:42 +00:00
fedor
7e6f9f5a71 Changes from Frith-Macdonald, NSLock fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2791 72102866-910b-0410-8b05-ffd578937521
1998-04-20 14:13:19 +00:00
fedor
de87122917 Implementation of sleepUntilDate:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2790 72102866-910b-0410-8b05-ffd578937521
1998-04-15 14:26:44 +00:00
fedor
f9113204c0 Add more keys to fileAttributes dict.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2788 72102866-910b-0410-8b05-ffd578937521
1998-04-15 13:58:47 +00:00
netc
8a67770732 * Utilize documentation rules in Makefile Package.
* doc/GNUmakefile: Rewrite to use Makefile Package.
	* doc/Makefile.postamble: Remove old obsolete rules.

	* Documentation which covers GNUstep as a whole versus just
	gstep-base has been moved to the top level Documentation dir.
	* GNUstep-HOWTO: Delete.
	* doc/gnustep-base.tmpl.texi: GNUstep-HOWTO and FAQ removed.
	Add variable so that included files know they are within the
	main document.
	* doc/gnustep-howto.tmpl.texi: Delete.
	* doc/faq.tmpl.texi: Delete.
	* doc/announce.tmpl.texi: Don't include version.texi needlessly.
	* doc/news.tmpl.texi: Don't include version.texi needlessly.
	* doc/todo.tmpl.texi: Don't include version.texi needlessly.

	* src/GNUmakefile: Don't compile Random class as the name too
	often conflicts with user apps.

	* src/GetDefEncoding.m: Reformat.

	* src/NSArray.m (-replaceObjectsInRange:withObjectsFromArray:):
 	Fix range check.  Use enumerator instead of count.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2783 72102866-910b-0410-8b05-ffd578937521
1998-04-06 02:09:44 +00:00
fedor
06be886653 Fixes from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2781 72102866-910b-0410-8b05-ffd578937521
1998-04-02 14:27:40 +00:00
fedor
877463ffe0 Byref patches from Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2777 72102866-910b-0410-8b05-ffd578937521
1998-03-23 20:49:54 +00:00
fedor
a0993c655f Memory leak and other fixes from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2775 72102866-910b-0410-8b05-ffd578937521
1998-03-12 14:21:20 +00:00
fedor
6f9ec5253a Fix from Frith-MacDonald - customize gdomap port.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2771 72102866-910b-0410-8b05-ffd578937521
1998-03-10 19:01:24 +00:00
fedor
fadaa99d50 New NSByteOrder from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2769 72102866-910b-0410-8b05-ffd578937521
1998-03-06 18:13:53 +00:00
fedor
90311682e7 Fixes from Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2768 72102866-910b-0410-8b05-ffd578937521
1998-03-05 00:37:44 +00:00
fedor
fae1e76e35 Generate o_x_ files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2765 72102866-910b-0410-8b05-ffd578937521
1998-03-03 16:00:21 +00:00
fedor
967c4944e2 Patches from Frith-MacDonald, Other misc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2759 72102866-910b-0410-8b05-ffd578937521
1998-02-26 17:55:42 +00:00
netc
7dfa15674f * configure.in: Check for sys/statvfs.h header file.
* configure: Regenerate.
* std/include/config.h.in: Regenerate.
* src/NSFileManager.m: Include header files only if available.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2752 72102866-910b-0410-8b05-ffd578937521
1998-02-14 23:36:06 +00:00
fedor
86fecb7cc7 Add regen files to repository.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2750 72102866-910b-0410-8b05-ffd578937521
1998-02-14 20:52:00 +00:00
fedor
93a31bb614 Add copy method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2747 72102866-910b-0410-8b05-ffd578937521
1998-02-12 18:31:59 +00:00
fedor
49a609f53b Use cvs export to make snapshots/dists. Minor patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2742 72102866-910b-0410-8b05-ffd578937521
1998-02-09 19:06:40 +00:00
fedor
e2a0cb1b97 Change GNUSTEP_MAKEFILE_DIR to GNUSTEP_MAKEFILES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2737 72102866-910b-0410-8b05-ffd578937521
1998-02-06 17:22:46 +00:00
fedor
5732e71692 Patches from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2734 72102866-910b-0410-8b05-ffd578937521
1998-02-05 22:06:20 +00:00
fedor
955bd04d2b Define GNUSTEP_MAKEFILE_DIR for compiling in large package.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2730 72102866-910b-0410-8b05-ffd578937521
1998-02-05 15:51:18 +00:00
fedor
b1862cea5d Patches from Kienenberger, Yamato, Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2719 72102866-910b-0410-8b05-ffd578937521
1998-02-03 14:20:00 +00:00
fedor
b40bdf7957 Minor syntax changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2711 72102866-910b-0410-8b05-ffd578937521
1998-01-26 14:33:08 +00:00
fedor
a15b2ef62f Pathces from Frith-MacDonald, Yamato, Jenkins.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2709 72102866-910b-0410-8b05-ffd578937521
1998-01-26 14:18:18 +00:00
fedor
4959cde7e5 More patches from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2708 72102866-910b-0410-8b05-ffd578937521
1998-01-21 20:08:58 +00:00
fedor
db2c79f9bc Strings patch from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2706 72102866-910b-0410-8b05-ffd578937521
1998-01-21 15:09:22 +00:00
fedor
baf22d947f Updated patch from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2704 72102866-910b-0410-8b05-ffd578937521
1998-01-21 14:56:24 +00:00
fedor
78524cf7a9 Fixes from Frith-MacDonald.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2701 72102866-910b-0410-8b05-ffd578937521
1998-01-19 15:20:15 +00:00
fedor
65b4ee42ff String fixes from stevo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2685 72102866-910b-0410-8b05-ffd578937521
1998-01-08 15:25:59 +00:00
netc
5c9a97f30d Add global Foundation header file.
Fix some missed memory allocation function usage.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2682 72102866-910b-0410-8b05-ffd578937521
1998-01-03 21:27:44 +00:00
fedor
6e78fcd8fd Update of docs. Fixes from Frith-MacDonald, others.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2679 72102866-910b-0410-8b05-ffd578937521
1998-01-02 18:09:52 +00:00
fedor
04e60bbb16 New string functions, patches from Richard and Wacko.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2676 72102866-910b-0410-8b05-ffd578937521
1997-12-19 18:13:52 +00:00
fedor
762daf9441 Simplify configure, quiet warnings (from Wacko).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2674 72102866-910b-0410-8b05-ffd578937521
1997-12-11 19:09:56 +00:00
fedor
5fd6374c07 NSString fixes from Stevo Crvenkovski
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2672 72102866-910b-0410-8b05-ffd578937521
1997-12-08 20:04:16 +00:00
netc
29ce1ddd8a Install headers in gnustep not gnustep/base.
Minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2662 72102866-910b-0410-8b05-ffd578937521
1997-11-28 20:13:58 +00:00
fedor
291fe068aa DO patch from Frith-Macdonald. Makefile changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2659 72102866-910b-0410-8b05-ffd578937521
1997-11-26 21:15:12 +00:00
fedor
4345bf7ce0 Fixes from ANOQ.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2657 72102866-910b-0410-8b05-ffd578937521
1997-11-21 18:19:29 +00:00
fedor
658a1947fb Memory Leeks from Richard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2625 72102866-910b-0410-8b05-ffd578937521
1997-11-12 15:37:27 +00:00
fedor
f345d5670d Patch from Richard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2623 72102866-910b-0410-8b05-ffd578937521
1997-11-07 18:46:30 +00:00
fedor
514b1ee838 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2620 72102866-910b-0410-8b05-ffd578937521
1997-11-06 18:26:51 +00:00
netc
5f7871270a Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent, used just for compiling the source, and should
not be installed.
Some minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2619 72102866-910b-0410-8b05-ffd578937521
1997-11-06 00:51:23 +00:00
fedor
ad42cb42e0 TimeZone patch from wacko
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2615 72102866-910b-0410-8b05-ffd578937521
1997-11-03 14:30:13 +00:00
fedor
2b1d0b3d15 NSDistributedLock from Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2613 72102866-910b-0410-8b05-ffd578937521
1997-11-03 01:40:03 +00:00
fedor
1e85219e08 Update DIST_FILES for making snapshots
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2607 72102866-910b-0410-8b05-ffd578937521
1997-10-31 22:04:49 +00:00
fedor
827436f054 Renamed Makefiles. Added Frith-MacDonald patch fixing NSUserDefaults.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2603 72102866-910b-0410-8b05-ffd578937521
1997-10-31 16:26:44 +00:00
netc
d168026dab Make the system root be the default installation root.
Use test.make for test programs so that they do not get installed.
Fix NSBundle so that it removes the library combo, target os, and
target cpu when determining the bundle's dir path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2592 72102866-910b-0410-8b05-ffd578937521
1997-10-30 22:23:50 +00:00
fedor
a707242d50 Conform to new makefile package changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2590 72102866-910b-0410-8b05-ffd578937521
1997-10-30 19:37:24 +00:00
fedor
d065fb6dd7 DO patches from Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2573 72102866-910b-0410-8b05-ffd578937521
1997-10-28 14:37:53 +00:00
fedor
d88b91f6bb Retain/Release and DO patches from Richard Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2571 72102866-910b-0410-8b05-ffd578937521
1997-10-28 14:34:49 +00:00
fedor
6a21926d00 Removed unused files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2547 72102866-910b-0410-8b05-ffd578937521
1997-10-24 18:53:00 +00:00
fedor
08467501bc Patches from Yoo C. Chung
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2546 72102866-910b-0410-8b05-ffd578937521
1997-10-24 16:58:20 +00:00
netc
86a7ea4aeb Get NSTimeZone to work in GNUstep directory structure.
Add GNUstep specific method to NSBundle which will search the GNUstep
directory structure for resource files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2528 72102866-910b-0410-8b05-ffd578937521
1997-10-18 19:49:50 +00:00
fedor
120673e03a Changes from richard and wacko.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2521 72102866-910b-0410-8b05-ffd578937521
1997-10-17 13:35:52 +00:00
netc
a02a4e9e88 Fix NSDictionary and NSMutableDictionary implementation.
NSCharacterSet searches in appropriate places for resources.
NSBundle no longer supports GNUSTEP_LIBRARY_PATH variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2519 72102866-910b-0410-8b05-ffd578937521
1997-10-16 23:56:27 +00:00
fedor
3e026fdcd0 New TimeZone files/directory. Removed redundent methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2466 72102866-910b-0410-8b05-ffd578937521
1997-10-01 18:53:50 +00:00
fedor
9689f82f51 Cleanup from rewrite of NSData.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2460 72102866-910b-0410-8b05-ffd578937521
1997-09-30 13:00:45 +00:00
fedor
f88a65db7e Rewrite of NSData from Richard Frith-Macdonald <richard@brainstorm.co.uk>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2459 72102866-910b-0410-8b05-ffd578937521
1997-09-29 14:39:53 +00:00
fedor
6107b6a5c0 Snapshots and releases work again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2457 72102866-910b-0410-8b05-ffd578937521
1997-09-27 15:26:51 +00:00
netc
c30836a60c Convert to the GNUstep makefile package.
The installation of the header files was modified slightly
to correspond with the GNUstep makefile package.  All OpenStep
headers go into Foundation while the gnustep-base specific
headers go into gnustep/base.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2437 72102866-910b-0410-8b05-ffd578937521
1997-09-23 21:00:33 +00:00
fedor
c836f35259 Bug fixes to get checks programs to work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2436 72102866-910b-0410-8b05-ffd578937521
1997-09-23 14:03:36 +00:00
netc
4f0f8b9a0d Fix NSArray bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2432 72102866-910b-0410-8b05-ffd578937521
1997-09-22 17:31:34 +00:00
fedor
b6e22efb49 Improved -description writing/reading. Bug fixes to NSString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2429 72102866-910b-0410-8b05-ffd578937521
1997-09-18 14:56:47 +00:00
fedor
21039e770f Dealloc of shared memory patches to NSHData (Richard Frith-Macdonald, Sep 16)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2427 72102866-910b-0410-8b05-ffd578937521
1997-09-16 15:47:15 +00:00
netc
2b06ef4c58 Merge in changes from NET-Community.
Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
1997-09-13 17:52:31 +00:00
fedor
aa0e1c2375 DO patches (Sep 12 from Richard Frith-MacDonald)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2419 72102866-910b-0410-8b05-ffd578937521
1997-09-12 17:54:10 +00:00
netc
499701e1c1 Update config.guess and config.sub
Minor bug fix in NSArray.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2412 72102866-910b-0410-8b05-ffd578937521
1997-09-11 01:19:24 +00:00
fedor
c34b6ac390 DO patch from Richard Frith-MacDonald <richard@brainstorm.co.uk>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2410 72102866-910b-0410-8b05-ffd578937521
1997-09-09 15:30:24 +00:00
fedor
0bcb15c30f Add description methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2408 72102866-910b-0410-8b05-ffd578937521
1997-09-01 22:12:12 +00:00
fedor
a57d791f91 Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
mccallum
2a0901040e (GNUSTEP_OTHER_SRCFILES): Add gdomap.c and gdomap.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2338 72102866-910b-0410-8b05-ffd578937521
1997-05-03 21:13:08 +00:00
mccallum
561e653b4d (GNUSTEP_HEADERS): Add include/NSConnection.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2337 72102866-910b-0410-8b05-ffd578937521
1997-05-03 21:11:09 +00:00
mccallum
6b264197fd Temporarily comment out some code with #if 0/1 so it will compile.
Get Adam Fedor or someone to fix it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2331 72102866-910b-0410-8b05-ffd578937521
1997-05-03 21:04:39 +00:00
mccallum
78e274d315 (GNUSTEP_HEADERS): Add NSDistantObject.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2328 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:43:26 +00:00
mccallum
30121e3221 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2327 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:42:53 +00:00
mccallum
956d54537b Delete duplicate copy inside file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2326 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:42:32 +00:00
mccallum
ec593d5428 #include <signal.h>.
Define GDOMAP to be 0 for now; have Richard Frith-Macdonald verify
that it works for me.
(tryWrite): Change type of IFUN to match declaration of signal().
Cast second argument to signal() to avoid warning.
([TcpInPort +newForReceivingFromPortNumber:]): Use P->_PORT_SOCKET not
P->_SOCKET, which doesn't exist.  Likewise in several other methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2325 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:42:04 +00:00
mccallum
84e793a061 Remove some duplicate methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2324 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:39:07 +00:00
mccallum
66001e3e2d Don't include <libc.h>. Include <Foundation/NSDictionary.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2323 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:38:42 +00:00
mccallum
d6db7b756e ([Connection +newForInPort:outPort:ancestorConnection:]): Cast NEWCONN
to avoid warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2322 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:37:13 +00:00
mccallum
1250b929e7 (GNUSTEP_OTHER_SRCFILES): Move NSHost.m temporarily here until its debugged.
(GNUSTEP_MFILES): Temporarily remove NSHost.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2321 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:23:42 +00:00
mccallum
944b3d3ccf ([NSDate -timeIntervalSince1970]): Remove duplicate method definition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2320 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:21:48 +00:00
mccallum
ce8bc929ab ([NSArchiver -init]): New method. (Need for it reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2318 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:16:26 +00:00
mccallum
7f15358a13 ([NSArchiver -encodeClassName:intoClassName:]): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2317 72102866-910b-0410-8b05-ffd578937521
1997-05-03 20:10:45 +00:00
mccallum
002fe9bf23 (nameServer): Remove the ntohs() conversion of NUM. (Reported by
Richard Frith-Macdonald <richard@brainstorm.co.uk>>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2315 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:26:55 +00:00
mccallum
657ca5f8ac ([NSCharacterSet_PATH]): Value of global variable changed to absolute
path.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2314 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:25:23 +00:00
mccallum
9e5219ee32 Changes from Richard Frith-Macdonald. See ChangeLog Apr 25 01:30:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2313 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:22:17 +00:00
mccallum
7a544f5957 Changes from Richard Frith-Macdonald. See ChangeLog Apr 24 10:30:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2312 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:18:55 +00:00
mccallum
9741450810 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2311 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:18:21 +00:00
mccallum
d7c9e5146b ([Decoder -decodeObjectAt:anObjPtr:name]) [CODER_OBJECT_REPEATED]:
Retain the object before returning it by reference.  (Reported by
Richard Frith-Macdonald <richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2307 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:20:16 +00:00
mccallum
74beb1d348 (NSNonRetainedObjectHashCallBacks): Renamed from
NSNonRetainedObjectsHashCallBacks to conform to spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2306 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:17:23 +00:00
mccallum
e52800f26a Changes from Yoo C. Chung. See ChangeLog Mar 29 00:43:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2305 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:15:44 +00:00
mccallum
8587a2d6ee Changes from Mark Kettenis. See ChangeLog Mar 23
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2304 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:13:17 +00:00
mccallum
ef23424eac (UNICODE_HEADERS): New variable.
(DIST_FILES): Add UNICODE_HEADERS.
(copy-dist): Create directory for unicode.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2303 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:09:26 +00:00
mccallum
e22ff194a4 Changes from Stevo Crvenkovski. See ChangeLog Mar 23 22:14:21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2302 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:05:21 +00:00
mccallum
d0edc9a79c New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2301 72102866-910b-0410-8b05-ffd578937521
1997-05-03 18:04:21 +00:00
mccallum
da20c76bca Changes from Yoo C. Chung <wacko@power1.snu.ac.kr>. See ChangeLog Feb 9 20:28:00 to Feb 14 08:51:39
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2297 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:28:54 +00:00
mccallum
5d1aca1c8a Changes from Scott Christley. See ChangeLog Mar 6 08:57:29
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2296 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:26:16 +00:00
mccallum
ec967cff6b Changes from Scott Christley. See ChangeLog Mar 4 10:47:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2295 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:25:25 +00:00
mccallum
47f8cb6098 Changes from Scott Christley. See ChangeLog Feb 27 13:46:10
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2294 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:24:31 +00:00
mccallum
84011b8649 ([NSBundle +pathForResource:ofType:inDirectory:]): Change it from an
instance method to a class method, in order to conform to spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2292 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:17:08 +00:00
mccallum
521e6be868 ([NSCharacterSet +_bitmapForSet:number:]): Revert last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2291 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:16:10 +00:00
mccallum
1b0b2e5f30 Changes from Jeremy Bettis. See ChangeLog Jan 21 17:09:09
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2290 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:05:57 +00:00
mccallum
d59383256a (GNUSTEP_HEADERS): Added include/NSHost.h.
(GNUSTEP_MFILES): Added NSHost.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2288 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:04:11 +00:00
mccallum
319487ad23 ([NSCharacterSet +_bitmapForSet:number:]): Use NSBundle's
pathForResource:ofType:inDirectory method properly.  (Reported by
Stevo Crvenkovski <stevoc@lotus.mpt.com.mk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2287 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:01:57 +00:00
mccallum
086d804143 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2285 72102866-910b-0410-8b05-ffd578937521
1997-05-03 16:31:40 +00:00
mccallum
9e46e0e4a1 ([Connection -registerName:]): New method.
([Connection +newForInPort:outPort:ancestorConnection:]): Ask the
delegate for permission to create the new connection.  We were already
doing it GNUstep-style.  Do it OpenStep-style also.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2283 72102866-910b-0410-8b05-ffd578937521
1997-05-03 16:30:07 +00:00
mccallum
dd57f3567a ([NSGArchiver -archiverData]): New method. No implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2282 72102866-910b-0410-8b05-ffd578937521
1997-05-03 16:28:47 +00:00
mccallum
e9d5d003d7 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2223 72102866-910b-0410-8b05-ffd578937521
1997-03-04 16:05:29 +00:00
mccallum
0d0c3ea496 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2222 72102866-910b-0410-8b05-ffd578937521
1997-03-04 16:04:17 +00:00
mccallum
06040ad95f ([Connection -forwardForProxy:selector:argFrame:]): In nested function
decoder(), always set IP to -1 after sending it -dismiss, i.e. in both
cases.  Fix the assertion at the bottom so that IP is allowed to be
nil, which will be the case when mframe_build_return() never calls
decoder(), which will happen when we are returning void.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2220 72102866-910b-0410-8b05-ffd578937521
1997-03-04 15:53:52 +00:00
mccallum
edfbd1df97 ([Decoder -finishDecodingInterconnectedObjects]): Comment fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2219 72102866-910b-0410-8b05-ffd578937521
1997-03-04 15:51:57 +00:00
mccallum
3c56f6583d ([Proxy -awakeAfterUsingCoder:]): New method. Needed otherwise we get
an infinite loop with Decoder trying to send this message to a Proxy.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2218 72102866-910b-0410-8b05-ffd578937521
1997-03-04 15:51:20 +00:00
mccallum
c02426d692 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2210 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:10:10 +00:00
mccallum
83fc572410 Changes by Scott Christley. See ChangeLog Feb 25
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2209 72102866-910b-0410-8b05-ffd578937521
1997-03-03 20:07:35 +00:00
mccallum
9806790d47 Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Feb 6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2206 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:58:17 +00:00
mccallum
9cd3003d2c Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Feb 4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2205 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:56:37 +00:00
mccallum
5483034afc Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20,21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2203 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:51:04 +00:00
mccallum
5a579198a6 Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog Jan 20
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2202 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:46:52 +00:00
mccallum
6aa057e1d8 Changes by wacko@power1.snu.ac.kr (Yoo C. Chung). See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2201 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:43:25 +00:00
mccallum
b37766bcfb New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2200 72102866-910b-0410-8b05-ffd578937521
1997-03-03 19:40:50 +00:00
mccallum
10809f3222 (PRE_SIZEOF_PREFIX_FORMAT_VERSION): New macro for old version number.
(CURRENT_FORMAT_VERSION): New macro.
(DEFAULT_FORMAT_VERSION): Changed from 0 to 1.
([BinaryCStream -_initForReadingFromPostSignatureStream:
withFormatVersion:]): New method.
([BinaryCStream -initForWritingToStream:swithFormatVersion:]): New
method.
(WRITE_SIGNED_TYPE0): Renamed from WRITE_SIGNED_TYPE.
(WRITE_SIGNED_TYPE1): New macro.
(WRITE_SIGNED_TYPE): New macro for choosing between them.
(READ_SIGNED_TYPE0): Renamed from READ_SIGNED_TYPE.
(READ_SIGNED_TYPE1): New macro.
(READ_SIGNED_TYPE): New macro for choosing between them.
(WRITE_UNSIGNED_TYPE0, WRITE_UNSIGNED_TYPE1, WRITE_SIGNED_UNTYPE,
READ_UNSIGNED_TYPE0, READ_UNSIGNED_TYPE1, READ_UNSIGNED_TYPE):
Likewise.
([BinaryCStream -encodeValueOfCType:at:withName:name]): Don't use
`unsigned' as part of the argument to the *_UNSIGNED_TYPE macros,
because the macros now include that themselves.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2047 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:59:14 +00:00
mccallum
716944318c ([CStream -_initForReadingFromPostSignatureStream:
withFormatVersion:]): New method.
([CStream +cStreamReadingFromStream:s]): Use it.
([CStream -initForReadingFromStream:swithFormatVersion:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2046 72102866-910b-0410-8b05-ffd578937521
1997-01-12 18:49:08 +00:00
mccallum
4487b20f10 (NSCreateZone): Call initialize(), so that we won't crash if someone
tries to create an object before main() and before initialize() gets
called as a constructor.
(NSDefaultMallocZone): Likewise.
(initialize): Use a static variable to return immediately if we've
been run already.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2042 72102866-910b-0410-8b05-ffd578937521
1997-01-11 21:39:38 +00:00
mccallum
51ec9677bd ([NSTimer -compare:]): New method, so they get properly sorted in a
Heap in RunLoop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2041 72102866-910b-0410-8b05-ffd578937521
1997-01-11 21:35:35 +00:00
mccallum
1af4190861 (STRVAL): Make it a macro instead of an inline function to avoid
warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2037 72102866-910b-0410-8b05-ffd578937521
1997-01-09 21:49:58 +00:00
mccallum
00f3e36143 (NSLogPageSize): Use NSPageSize() instead of ns_page_size().
(NSRoundDownToMultipleOfPageSize): Likewise.
(NSRoundUpToMultipleOfPageSize): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2036 72102866-910b-0410-8b05-ffd578937521
1997-01-09 19:13:50 +00:00
mccallum
3825155a98 ([NSString -copy]): Use NSDefaultMallocZone() instead of NS_NO_ZONE.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2035 72102866-910b-0410-8b05-ffd578937521
1997-01-09 19:12:56 +00:00
mccallum
40e4d68474 ([NSCharacterSet +_bitmapForSet:number:]): Remove last parameter from
calls to [NSBundle pathForResource...].  The method doesn't exist.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2034 72102866-910b-0410-8b05-ffd578937521
1997-01-09 17:02:56 +00:00
mccallum
460aa41820 Rearrange #include's a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2033 72102866-910b-0410-8b05-ffd578937521
1997-01-09 17:01:14 +00:00
mccallum
67869fb4e0 Changes from Scott Christley. See ChangeLog Dec 04 and Nov 21
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2032 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:24:07 +00:00
mccallum
c14b5e539b ([Connection -_getReceivedReplyRmcWithSequenceNumber:]): Break if the
RunLoop returns NO.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2031 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:20:35 +00:00
mccallum
8586953444 ([NSDictionary +dictionaryWithContentsOfFile:]): Method implemented.
(From Scott Christley.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2030 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:05:09 +00:00
mccallum
6d33811e4a ([NSString -initWithFormat:arguments:]): Increase BUFFER_EXTRA by a
factor of 500.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2029 72102866-910b-0410-8b05-ffd578937521
1997-01-09 16:01:52 +00:00
mccallum
330386bee2 (mframe_build_return): Change the way values of type smaller than
(int) are returned---don't offset into the int.  (Recommended by
Richard Frith-Macdonald <richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2027 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:45:08 +00:00
mccallum
056e3d4cad (-dealloc): Added call to NSDeallocateObject() to ensure that the
memory used by the enumerator is released.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2026 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:39:41 +00:00
mccallum
d925b12d82 (-initForWritingToStream:withFormatVersion:cStreamClass:cStreamFormatVersion:):
Release stream after invoking initialisation method of super which
retains it.  To fix memory leaks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2025 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:38:54 +00:00
mccallum
0bd07c5ee6 Release packet after invoking initialisation method of super which
retains it.  To fix memory leaks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2024 72102866-910b-0410-8b05-ffd578937521
1997-01-09 15:38:28 +00:00
mccallum
5c5bd427dc ([NSDictionary -initWithContentsOfFile:]): Implemented. (By David
Wetzel <dave@turbocat.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2022 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:43:08 +00:00
mccallum
cd0f233c55 [NSAssertionHandler -handleFailureInMethod:object:file:
lineNumber:description:]: Use the FORMAT argument!  (Reported by
Wolfgang Baron <wbaron@ixpoint.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2021 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:40:16 +00:00
mccallum
f66456b319 ([NSString -hasPrefix:]): Fix logic to return correct value.
(Reported by David Wetzel <dave@turbocat.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2020 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:36:21 +00:00
mccallum
d0e79b54c9 (NSLogPageSize): Fix logic to return correct value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2019 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:34:37 +00:00
mccallum
5b8ea53689 Changes by Adam Fedor. See Nov 13 ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2018 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:30:33 +00:00
mccallum
f25cb10514 * src/mframe.m (mframe_build_return()):
Cooperate with [Connection forwardForProxy:selector:argFrame:] so
	that it's callback function is called to tell it dismiss the
	ConnectedDecoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2017 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:22:30 +00:00
mccallum
b5f8117ecf * src/Connection.m ([Connection +rootProxyAtName:onHost:]):
Return nil if we fail to create a port for talking to a remote server.
        ([Connection forwardForProxy:selector:argFrame:]):
        Changes to ensure that ConnectedDecoder is correctly dismissed in the
	case where a DO method returns an object but does not have any
	parameter values returned.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2016 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:22:11 +00:00
mccallum
4a657ff30c * src/RunLoop.m ([RunLoop -limitDateForMode:]):
Various changes to get timeouts working reliably.
	Ensure that _current_mode is restored correctly on exit.

        * src/RunLoop.m ([RunLoop -acceptInputForMode:beforeDate:]):
	Ensure that _current_mode is restored correctly on exit.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2015 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:21:02 +00:00
mccallum
bd119c71f6 ([NSString -description]): Free DEST to prevent memory leak!
(Reported by Wolfgang Baron <wbaron@ixpoint.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2014 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:14:35 +00:00
mccallum
d9a8faf644 (_NSUncaughtExceptionHandler): Don't declare it static. (Reported by
John Hethcox <johnhe@vnet.net>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2013 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:11:02 +00:00
mccallum
15d5f586d9 (BITSPERBYTE): If it hasn't been defined after #include's guess that
it's 8.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2012 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:09:19 +00:00
mccallum
bf5c3ebfd4 (GNUSTEP_MFILES): Added NSLog.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2011 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:06:06 +00:00
mccallum
b5b84194f3 Completely rewritten by Adam Fedor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2009 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:04:07 +00:00
mccallum
0051a4adcb Include <gnustep/base/config.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2008 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:00:31 +00:00
mccallum
526914ba8a Use NSDefaultMallocZone() instead of 0. And cosmetic changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2007 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:44:55 +00:00
mccallum
9047ffbd44 Use constructor attribute with initialize().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2006 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:38:10 +00:00
mccallum
0d4b1db0e4 Complete rewrite by Yoo C. Chung.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2005 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:35:52 +00:00
mccallum
6abe3e01ec Use valloc() in NSAllocateMemoryPages().
Cosmetic style changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2004 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:35:19 +00:00
mccallum
e1a87cc04b Use NSDefaultMallocZone() instead of 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2003 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:35:01 +00:00
mccallum
56c962b4a3 Use NSDefaultMallocZone() instead of NS_NOZONE.
Use NSZoneFromPointer() instead of NSZoneFromPtr().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2002 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:34:06 +00:00
mccallum
84088a8468 * src/DelegatePool.m:
Use NSDefaultMallocZone() instead of NS_NOZONE.
	* src/NSProcessInfo.m: Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2001 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:33:32 +00:00
mccallum
965ff7e9f2 The definition of LABEL needed expanding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1999 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:02:08 +00:00
mccallum
279445c32e ([NSString -componentsSeparatedByString:]): Didn't handle strings with
separators longer than a single character and in other cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1998 72102866-910b-0410-8b05-ffd578937521
1997-01-06 21:01:32 +00:00
mccallum
cec7d4bb60 ([NSGMutableCString -insertString:atIndex:]): Use -cStringNoCopy
instead of the removed method -_cStringContents.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1995 72102866-910b-0410-8b05-ffd578937521
1997-01-05 23:17:52 +00:00
mccallum
9bcfb8509d ([Decoder +readSignatureFromCStream:csgetClassname:
nameformatVersion:version]): Better commented.
([Decoder -_coderSubstituteObject:atReference:]): New method.
([Decoder -_coderPushRootObjectTable]): Better commented.
([Decoder -finishDecodingInterconnectedObjects]): Implement an
approach to root-object-based -awakeAfterUsingCoder.
([Decoder -decodeObjectAt:anObjPtr:name]): Send -awakeAfterUsingCoder:
here.  First see if the object actually responds to it, then send it
and make the object substitution if necessary.  Also make the
appropriate substitution in Decoder's internal tables matching
references numbers to objects.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1988 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:47:45 +00:00
mccallum
93c73b7124 (DEFAULT_DEFAULT_FORMAT_VERSION): Renamed from DEFAULT_FORMAT_VERSION,
for clarity with variable by the same old name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1987 72102866-910b-0410-8b05-ffd578937521
1997-01-05 22:43:48 +00:00
mccallum
9c1198ff9f Fixed `Caveats' comment.
([NSString -commonPrefixWithString:options:]): Method implemeneted.
([NSString -capitalizedString]): Method implemented.
([NSString -lowercaseString]): Method implemented.
([NSString -uppercaseString]): Method implemented.
([NSString -stringByExpandingTildeInPath]): Method implemented.
([NSString -stringByAbbreviatingWithTildeInPath]): Method implemented.
([NSString -stringByStandardizingPath]): Method implemented.
([NSString -_cStringContents]): Method removed.  All callers changed
to use -cStringNoCopy.
([NSString -objectAtIndex:]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1955 72102866-910b-0410-8b05-ffd578937521
1996-11-24 21:04:24 +00:00
mccallum
630e258c7a Don't use old String methods; use NSString methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1953 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:31:13 +00:00
mccallum
d862849914 Don't include <gnustep/base/String.h>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1951 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:29:25 +00:00
mccallum
8d6d910056 ([TextCStream -decodeName:name]): Don't use the non-existant
+stringWithCStringNoCopy:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1950 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:29:09 +00:00
mccallum
93ef8014a1 ([Stream -readLine]): Don't use the non-existant
+stringWithCStringNoCopy:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1949 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:28:47 +00:00
mccallum
d6e386bc54 ([NSString -cStringNoCopy]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1948 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:28:15 +00:00
mccallum
1429025e5d ([NSGCString -emptyCopy]): Method removed. It was part of the
Collecting protocol.
([NSGMutableCString -emptyCopy:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1947 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:27:58 +00:00
mccallum
898ed24d5f ([MemoryStream -readLine]): Don't use +stringWithCStringNoCopy:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1946 72102866-910b-0410-8b05-ffd578937521
1996-11-24 18:27:01 +00:00
mccallum
7202be0561 Substitute (NSString*) for (id <String>)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1945 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:30:39 +00:00
mccallum
182592f4a1 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1944 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:24:24 +00:00
mccallum
88cc9b584a (GNU_MFILES): Remove CString.m, ConstantString.m, MutableString.m,
MutableCString.m, String.m.
(GNU_HEADERS): Remove include/String.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1943 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:21:45 +00:00
mccallum
74a42c0111 Don't include <gnustep/base/String.h>.
([NSString +initialize]): Don't use static variable to prevent getting
run twice.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1942 72102866-910b-0410-8b05-ffd578937521
1996-11-24 17:20:45 +00:00
mccallum
21f68135ac ([Decoder -_coderCreateReferenceForInterconnectedObject:]):
Autorelease the placeholder object to prevent memory leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1930 72102866-910b-0410-8b05-ffd578937521
1996-11-02 20:40:28 +00:00
mccallum
8799c5c79d ([Connection -forwardForProxy:selector:argFrame:]): Add an assertion
that we processed all arguments and dismissed the ConnectedCoder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1929 72102866-910b-0410-8b05-ffd578937521
1996-11-02 20:39:47 +00:00
mccallum
3489581c8b (DIST_FILES): Remove include/config-win32.sed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1926 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:29:55 +00:00
mccallum
f84022e180 (HAVE_REGISTER_PRINTF_FUNCTION): Move definition below #include's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1923 72102866-910b-0410-8b05-ffd578937521
1996-10-31 21:24:43 +00:00
mccallum
a449b8c087 ([BinaryCStream -encodeValueOfCType:at:withName:name]): Use
intermediate float value.
([BinaryCStream -decodeValueOfCType:at:withName:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1920 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:47:42 +00:00
mccallum
5c7a09275b Added stringsfile files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1918 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:40:40 +00:00
mccallum
7171085c19 Remove duplicated content.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1916 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:39:29 +00:00
mccallum
da7162794b Fix typo. That's HAVE_STRERROR, not HAS_STRERROR.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1915 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:39:02 +00:00
mccallum
07a1e26de2 ([BinaryCStream -decodeValueOfCType:at:withName:]): Don't make float
and double `volatile'.
([BinaryCStream -encodeValueOfCType:at:withName:name]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1914 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:38:00 +00:00
mccallum
297904426b (DEFS): Add comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1913 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:11:18 +00:00
mccallum
6846b44ffe Include Foundation/NSException.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1912 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:06:15 +00:00
mccallum
f5d9592554 ([NSCalendarDate -descriptionWithCalendarFormat:locale:]): Remove
unused variables MS and DS.  Avoid warning by not trying to sprintf()
a zero-length string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1911 72102866-910b-0410-8b05-ffd578937521
1996-10-31 20:05:02 +00:00
mccallum
bcde49ee60 Include gnustep/base/preface.h first.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1909 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:59:15 +00:00
mccallum
fa685f6548 (HEADERS_INSTALL): Added include/config.h.
(install): Don't install include/config.h specially, it's now done
with the rest of the HEADERS_INSTALL files.
(ALL_CPPFLAGS): Don't pass `-include include/config.h' since
include/preface.h now does that.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1907 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:13:20 +00:00
mccallum
ce608bb99a (NSUserName): Make is work for SOLARIS.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1905 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:05:14 +00:00
mccallum
3490aab20e ([NSUserDefaults -initWithUser:]): Don't try to append to a immutable
string!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1904 72102866-910b-0410-8b05-ffd578937521
1996-10-31 19:04:41 +00:00
mccallum
25e416ece3 ([NSUserDefautls +standardUserDefaults]): When creating a new
defaults, return it, not nil!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1903 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:54:23 +00:00
mccallum
ea23788183 ([BinaryCStream -encodeValueOfCType:at:withName:name]): Use memcpy()
instead of assignment to get the floats and doubles from the `at:'
argument.
([BinaryCStream -decodeValueOfCType:at:withName:]): Likewise, for
setting the values.  (Reported by M. Decugis
<mds@sepgifbr.sep.de.edf.fr>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1902 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:46:02 +00:00
mccallum
fb7db67bd1 (getpagesize) [__SOLARIS__]: Define as macro making proper sysconf
call.
(NSPageSize): Remove the dependancy on __mach__ to a #define above.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1901 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:34:51 +00:00
mccallum
d0c5e632cd ([MemoryStream -writeFormat:arguments:]): Use VSPRINTF_LENGTH.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1900 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:27:22 +00:00
mccallum
7ace9421da ([NSString -initWithFormat:arguments:]): Use VSPRINTF_LENGTH.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1899 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:27:04 +00:00
mccallum
f4e558af65 ([String -initWithFormat:arguments:]): Use VSPRINTF_LENGTH.
([String -initWithCFormat:arguments:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1898 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:26:39 +00:00
mccallum
5e164ac2a5 Changes from Richard Frith-Macdonald. See Oct 31 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1894 72102866-910b-0410-8b05-ffd578937521
1996-10-31 18:02:23 +00:00
mccallum
1fb5ff28ae ([RunLoop -limitDateForMode:]): Bracket timer firing with a
retain/release of the MIN_TIMER.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1892 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:59:25 +00:00
mccallum
1c3b575999 Added implementation of new methods for notification of readiness of
file descriptors for reading and writing.  Done by Richard
Frith-Macdonald <richard@brainstorm.co.uk>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1890 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:54:57 +00:00
mccallum
d6a7c91bf9 Changes from Scott Christley. See Oct 23 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1888 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:28:15 +00:00
mccallum
d1eacbcc7e Changes from Scott Christley. See Oct 18 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1887 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:22:04 +00:00
mccallum
ac8727dedb Changes from Adam Fedor. See Oct 15 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1886 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:17:59 +00:00
mccallum
a1e578ebc0 Changes from Scott Christley. See Oct 16 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1885 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:14:00 +00:00
mccallum
785831bde1 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1884 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:13:12 +00:00
mccallum
c732d498e5 (method_types_get_next_argument): Do weird argframe workaround not
just on m68k, but on all NeXT systems.  (Reported by
Richard Frith-Macdonald <richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1883 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:09:27 +00:00
mccallum
602e61ad33 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1882 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:05:21 +00:00
mccallum
748ceaa25d Change from Nick Christopher. See Oct 1 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1881 72102866-910b-0410-8b05-ffd578937521
1996-10-31 17:03:44 +00:00
mccallum
0a6befa928 ([RunLoop -acceptInputForMode:beforeDate:]): Fix assignment of
TIMEOUT.TV_USEC.  (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1880 72102866-910b-0410-8b05-ffd578937521
1996-10-31 16:54:41 +00:00
mccallum
abb3e764f0 (strerror) [!HAS_STRERROR]: New function from Richard Frith-Macdonald
<richard@brainstorm.co.uk>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1877 72102866-910b-0410-8b05-ffd578937521
1996-10-26 00:22:35 +00:00
mccallum
6cdd07d487 Change from Fedor. See Sep 26 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1875 72102866-910b-0410-8b05-ffd578937521
1996-10-26 00:10:22 +00:00
mccallum
7fa5497672 Changes from Christley. See Sep 25 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1873 72102866-910b-0410-8b05-ffd578937521
1996-10-25 23:54:08 +00:00
mccallum
9d4d75db0d ([NSSet -anyObject]): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1872 72102866-910b-0410-8b05-ffd578937521
1996-10-25 23:50:37 +00:00
mccallum
3753eb8153 ([NSDictionary +dictionaryWithObjectsAndKeys:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1871 72102866-910b-0410-8b05-ffd578937521
1996-10-25 23:43:00 +00:00
mccallum
f6517dc403 ([NSString -initWithFormat:arguments:]): Fix bug whereby multiple %@'s
in the same format string created incorrect output.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1836 72102866-910b-0410-8b05-ffd578937521
1996-09-25 13:45:31 +00:00
mccallum
d23ce8498e ([NSString -copy]): New method. Now -copy sent to strings should
work.  (Added temporarily until this problem is fixed by me overhaul
of the string classes to separate Core and NonCore methods.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1827 72102866-910b-0410-8b05-ffd578937521
1996-09-24 17:41:03 +00:00
mccallum
dd786e48c9 (ostream_open_memory): Cast (const char*) to (char*) when passing to
MemoryStream -init... method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1826 72102866-910b-0410-8b05-ffd578937521
1996-09-24 17:31:29 +00:00
mccallum
a3577056d4 Check HAVE_VALUES_H before trying to include <values.h>; use
<sys/types.h> if we don't.  (Reported by Gregor Hoffleit
<flight@mathi.uni-heidelberg.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1819 72102866-910b-0410-8b05-ffd578937521
1996-09-24 15:46:11 +00:00
mccallum
1e0842bce2 Don't try to include NeXT's headers; just include GNUstep headers.
(Reported by Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1817 72102866-910b-0410-8b05-ffd578937521
1996-09-24 15:42:08 +00:00
mccallum
2e24199b93 ([MemoryStream -setFreeWhenDone:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1815 72102866-910b-0410-8b05-ffd578937521
1996-09-24 15:37:25 +00:00
mccallum
65661628a3 (ostream_close_memory): Send -setFreeWhenDone: to the MemoryStream,
not -release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1814 72102866-910b-0410-8b05-ffd578937521
1996-09-24 15:36:45 +00:00
mccallum
cd6d72538e ([NSMutableSet -addObjectsFromArray:]): Implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1811 72102866-910b-0410-8b05-ffd578937521
1996-09-24 15:20:05 +00:00
mccallum
ce8c1d86ed Use new ivar name eof_position, not old eofPosition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1803 72102866-910b-0410-8b05-ffd578937521
1996-09-18 13:31:17 +00:00
mccallum
b599321dbb (HAVE_REGISTER_PRINTF_FUNCTION): Temporarily set this to 0 until I
figure out when register_printf_function's output handler function
takes `va_list' and when it takes `void**'.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1802 72102866-910b-0410-8b05-ffd578937521
1996-09-18 13:15:33 +00:00
mccallum
72621c30d3 Fix typo in last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1800 72102866-910b-0410-8b05-ffd578937521
1996-09-17 21:09:41 +00:00
mccallum
33473a39b5 (ostream_open_memory): Use new MemoryStream method to specify that
buffer should not be deallocated when MemoryStream is deallocated.
Don't do the extra retain that was the previous workaround.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1798 72102866-910b-0410-8b05-ffd578937521
1996-09-17 21:07:17 +00:00
mccallum
85070e08f3 Rename all uses of ivar eof_position.
([MemoryStream -_initOnMallocBuffer:freeWhenDone:size:
eofPosition:prefix:position:]): Method name changed to include
freeWhenDone:.  Set new ivar.
([MemoryStream -_initOnMallocBuffer:size:
eofPosition:prefix:position:]): New method (with old name) that calls
above method with `YES' for freeWhenDone:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1797 72102866-910b-0410-8b05-ffd578937521
1996-09-17 21:06:08 +00:00
mccallum
f4cc946004 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1794 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:54:52 +00:00
mccallum
371f8ba0bf (GNU_MFILES): Rename objc_streams.m to ostream.h.
(GNU_HEADERS): Rename objc_streams.h to ostream.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1793 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:52:51 +00:00
mccallum
96f048c9a2 Fix copyright date, and make minor formatting changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1792 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:51:44 +00:00
mccallum
9dee60b7f5 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1791 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:47:55 +00:00
mccallum
fb130bf261 (MEMORY_CHECK): Macro deleted. objc_malloc() and friends take care of
raising the correct exception.  All calls removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1790 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:44:13 +00:00
mccallum
ca43d69ed2 Patch from Adam Fedor. See ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1789 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:41:37 +00:00
mccallum
e02d9fc9d6 (DIST_FILES): Add space before backslash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1787 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:39:22 +00:00
mccallum
e8bfee10c4 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1786 72102866-910b-0410-8b05-ffd578937521
1996-09-17 20:17:40 +00:00
mccallum
af5d609f11 Don't include config.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1785 72102866-910b-0410-8b05-ffd578937521
1996-09-17 16:05:04 +00:00
mccallum
2a01942773 ([NSScanner -scanRadixUnsignedInt:]): New method.
([NSScanner -_scanInt:]): Deal with overflow better.  (?)
([NSScanner -scanLongLong:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1777 72102866-910b-0410-8b05-ffd578937521
1996-09-17 15:02:31 +00:00
mccallum
c1fb4e8088 ([NSObject -doesNotRecognizeSelector:]): Raise
NSInvalidArgumentException, not NSGenericException.  (Reported by
Jeremy Bettis <jeremy@tddi.inetnebr.com>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1776 72102866-910b-0410-8b05-ffd578937521
1996-09-17 14:33:30 +00:00
mccallum
7d6c23c297 ([HashTable -isKey]): Updated isKey to use the new hash_value_for_key
function in the runtime, and thereby allow for nulls in HashTables.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1775 72102866-910b-0410-8b05-ffd578937521
1996-09-17 14:20:23 +00:00
mccallum
41c3b31702 Include <objc/objc-api.h>. (Reported by Richard Frith-Macdonald
<richard@brainstorm.co.uk>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1772 72102866-910b-0410-8b05-ffd578937521
1996-09-16 20:55:02 +00:00
mccallum
b650e02702 Don't include no-longer-existant gnustep/base/objc-malloc.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1771 72102866-910b-0410-8b05-ffd578937521
1996-09-16 20:46:03 +00:00
mccallum
699ca2a010 (include/config.h.in): New dependancy.
(include/config.h): New dependancy.
(ALL_CPPFLAGS): Added -include argument to have gcc look at
include/config.h.  It is no longer included in include/preface.h
because other packages that use the installed Base Library may have
their own ideas about these macro values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1768 72102866-910b-0410-8b05-ffd578937521
1996-09-16 20:41:04 +00:00
mccallum
52dbe67f7b *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1740 72102866-910b-0410-8b05-ffd578937521
1996-09-07 21:09:35 +00:00
mccallum
42d2388f96 Remove underscores from front of objc_mutex types.
([NSObject -error:]): Use objc_verror(), not _objc_error.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1736 72102866-910b-0410-8b05-ffd578937521
1996-09-07 21:07:27 +00:00
mccallum
de748f5045 Don't include objc-malloc.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1729 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:17:46 +00:00
mccallum
9c46a8fc38 (GNU_MFILES): Remove objc-malloc.m.
(GNU_HEADERS): Remove include/objc-malloc.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1728 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:13:55 +00:00
mccallum
50706f1be6 In accordance with Objective C runtime change, use objc_realloc as a
function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1727 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:08:43 +00:00
mccallum
ff62ff2d40 ([MemoryStream -writeBytes:length:]): In accordance with Objective C
runtime change, use objc_realloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1726 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:07:01 +00:00
mccallum
b93881d83f (STRING_ARG): In accordance with Objective C runtime
change, use objc_malloc as a function, not a function pointer.
STRING_ADD_CHAR): Likewise, with objc_realloc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1725 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:05:25 +00:00
mccallum
a22a1fc4b8 (mframe_build_return): In accordance with Objective C runtime
change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1724 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:04:13 +00:00
mccallum
6136f85175 (behavior_class_add_methods): In accordance with Objective C runtime
change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1723 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:03:33 +00:00
mccallum
c6071d8497 ([Storage -initCount:elementSize:description:]): In accordance with
Objective C runtime change, use objc_malloc as a function, not a
function pointer.
([Storage -shallowCopy]): Likewise.
([Storage -read:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1722 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:02:14 +00:00
mccallum
06dc514aa1 ([Storage -initCount:elementSize:description:]): In accordance with
Objective C runtime change, use objc_malloc as a function, not a
function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1721 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:01:38 +00:00
mccallum
610b68f9df ([NSMutableData -initWithCapacity:]): In accordance with Objective C
runtime change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1720 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:00:37 +00:00
mccallum
a5c1633e12 ([NSGMutableData -initWithCapacity:]): In accordance with Objective C
runtime change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1719 72102866-910b-0410-8b05-ffd578937521
1996-09-07 20:00:12 +00:00
mccallum
af85fabbe0 ([NSAutoreleasePool -init]): In accordance with Objective C runtime
change, use objc_malloc as a function, not a function pointer.
([NSAutoreleasePool -addObject:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1718 72102866-910b-0410-8b05-ffd578937521
1996-09-07 19:57:33 +00:00
mccallum
a9caed6149 ([MemoryStream -readLine]): In accordance with Objective C runtime
change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1717 72102866-910b-0410-8b05-ffd578937521
1996-09-07 19:56:42 +00:00
mccallum
7b79f8c611 ([Invocation -initWithCoder:]): In accordance with Objective C runtime
change, use objc_malloc as a function, not a function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1716 72102866-910b-0410-8b05-ffd578937521
1996-09-07 19:56:16 +00:00
mccallum
a9b5777c5d ([NSCharacterSet +_bitmapForSet:number:]): Retain cached set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1708 72102866-910b-0410-8b05-ffd578937521
1996-09-07 17:56:16 +00:00
mccallum
8bce6ffe5d ([NSGCString -substringFromRange:]): Don't always return a mutable
string class; return the same mutable/immutable string class as self.
This also simplies the code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1707 72102866-910b-0410-8b05-ffd578937521
1996-09-07 17:54:08 +00:00
mccallum
d8fb0d2318 ([NSGCString -substringFromRange:]): New method, overrides superclass
method with more efficient implementation.  (From Eric Norum.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1706 72102866-910b-0410-8b05-ffd578937521
1996-09-07 17:47:24 +00:00
mccallum
7f7b75786e Now that NSCharacterSet's does its own caching, simplify this code.
(Changes from Eric Norum <Eric.Norum@usask.ca>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1705 72102866-910b-0410-8b05-ffd578937521
1996-09-07 17:46:10 +00:00
mccallum
6a259fe224 (NSCharacterSet_PATH): New macro, replacing BITMAP_PATH. Value
partially determined by GNUSTEP_INSTALL_PREFIX.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1704 72102866-910b-0410-8b05-ffd578937521
1996-09-07 17:45:08 +00:00
mccallum
5abc3f56b8 (DEFS): Add definition of GNUSTEP_INSTALL_PREFIX, equal to $(prefix).
This is needed by NSCharacterSet, so it knows where to find the char
set data files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1702 72102866-910b-0410-8b05-ffd578937521
1996-09-07 17:37:30 +00:00
mccallum
f9e121c2f5 ([NSString -substringFromRange:]): Implement it using CString's for
now so we can get it working; (we'll fix everything for Unichar's in
the next release).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1690 72102866-910b-0410-8b05-ffd578937521
1996-09-02 19:31:44 +00:00
mccallum
fbb1b130bd ([NSString -substringFromRange:]): Fix bug in references to string
length.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1677 72102866-910b-0410-8b05-ffd578937521
1996-09-02 15:53:47 +00:00
mccallum
a771445ded ([NSGArray +initialize]): Declare NonCore classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1676 72102866-910b-0410-8b05-ffd578937521
1996-09-02 15:53:07 +00:00
mccallum
daf48e7cef ([NSCharacterSet +_bitmapForSet:number:]): Add an abort() after
raising the exception, to avoid gcc warning.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1675 72102866-910b-0410-8b05-ffd578937521
1996-09-02 15:52:46 +00:00
mccallum
83d5dac394 ([NSCharacterSet +_bitmapForSet:number:]): Use new exception variable
name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1670 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:58:02 +00:00
mccallum
c504ef7153 ([Connection -_service_forwardForProxy:]): Use new exception variable
name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1669 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:57:39 +00:00
mccallum
e73d8edcfe Cache standard character sets.
([NSCharacterSet +initialize]): New method.
([NSCharacterSet _bitmapForSet:number:]): Return set from cache if
available, otherwise find bitmap file and add to cache.  All callers
changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1667 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:53:26 +00:00
mccallum
96a8d87d32 ([NSString -substringFromRange:]): Raise correct exceptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1666 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:43:45 +00:00
mccallum
f6e8b6edcc (install): Make a soft link from `$(includedir)/gnustep/base' to
`$(includedir)/objc' the same way we do for `$(includedir)/Foundation'.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1665 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:40:50 +00:00
mccallum
744dd86b90 ([NSString -getCharacters:range:]): Fix bug in buffer index.
(Reported by Eric Norum <Eric.Norum@usask.ca>.)
([NSString -rangeOfString:aStringoptions:maskrange:aRange]):
Implemented.  (By Eric Norum.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1664 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:38:19 +00:00
mccallum
e8e52570b5 Include <Foundation/NSPathUtilities.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1663 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:23:43 +00:00
mccallum
960c6fa4c6 Changes from home. See ChangeLog Aug 5 through Aug 25
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1662 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:20:20 +00:00
mccallum
f165e6f7c6 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1660 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:16:35 +00:00
mccallum
62d6118413 Use gcc's __builtin_return smarts to find location of `char' and
`short' return values; don't use my (possibly wrong) guesses.
(retframe_char): New nested function.
(retframe_short): New nested function.
(mframe_do_call) [_C_CHR, _C_UCHR]: Use retframe_char.
[_C_SHT, _C_USHT]: Use retframe_short.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1659 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:14:50 +00:00
mccallum
c7d6e52d9f ([NSObject -isKindOfClass:]): Fix formatting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1658 72102866-910b-0410-8b05-ffd578937521
1996-09-02 13:11:32 +00:00
mccallum
a91c85f5c8 ([Dictionary -removeObject:]): Add comment about efficiency.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1657 72102866-910b-0410-8b05-ffd578937521
1996-08-30 21:11:15 +00:00
mccallum
8f4c89653a ([Dictionary -removeObject:]): Implemented method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1656 72102866-910b-0410-8b05-ffd578937521
1996-08-30 21:00:25 +00:00
mccallum
428bf48844 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1651 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:42:52 +00:00
mccallum
fe624212e5 Changes made in Rochester. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
mccallum
b2fbbbd8c7 (install): Create a soft link for objc' in addition to Foundation'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1641 72102866-910b-0410-8b05-ffd578937521
1996-06-27 00:45:23 +00:00
mccallum
3bbccc9bf0 Rename callbacks to o_cbs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1636 72102866-910b-0410-8b05-ffd578937521
1996-06-18 00:48:54 +00:00
mccallum
7108c9147f (gnustep/base): Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1628 72102866-910b-0410-8b05-ffd578937521
1996-05-31 18:56:16 +00:00
mccallum
6344664bf0 (gnustep/base): Make a link for `Foundation' when building in a
separate directory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1627 72102866-910b-0410-8b05-ffd578937521
1996-05-31 18:16:40 +00:00
mccallum
b6646ab4f6 ([StdioStream -readBytes:length:]): Don't assert that we get as many
bytes as we asked for.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1620 72102866-910b-0410-8b05-ffd578937521
1996-05-31 17:34:17 +00:00
mccallum
17def236ab Include <Foundation/NSException.h>. Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1618 72102866-910b-0410-8b05-ffd578937521
1996-05-31 17:27:45 +00:00
mccallum
558eda111b Insert header with description and c-mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1617 72102866-910b-0410-8b05-ffd578937521
1996-05-31 17:19:09 +00:00
mccallum
49d11fbd02 (CFLAGS_SHAREDLIB_GNU): New variable.
(CFLAGS_SHAREDLIB_SOLARIS): New variable.
(CFLAGS_SHAREDLIB): New variable set from configure.
(lib$(LIBRARY_NAME).so.$(VERSION)): Use it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1615 72102866-910b-0410-8b05-ffd578937521
1996-05-31 16:52:10 +00:00
mccallum
f4c61f0dc8 Rename all o- files to o_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1613 72102866-910b-0410-8b05-ffd578937521
1996-05-31 16:12:24 +00:00
mccallum
8021e98e21 (unescstr): Bug fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1612 72102866-910b-0410-8b05-ffd578937521
1996-05-31 16:10:45 +00:00
mccallum
396bca913b (maintainer-clean): Remove *_bas and *_cbs files.
(GNU_MFILES): Fix typo.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1611 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:49:10 +00:00
mccallum
8161e66be9 (__gnustep_base_subinit_args__): No longer declared static.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1610 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:46:57 +00:00
mccallum
85605c6855 Rename all o-*' files to o_*'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1609 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:27:09 +00:00
mccallum
c84730c3f6 Rename all o- files to o_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1608 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:13:58 +00:00
mccallum
4d9c16130b Rename all o-*' files to o_*', and prepend `o_' to some related files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1607 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:12:22 +00:00
mccallum
ce049ea252 ([NSString -initWithFormat:arguments:]): Increase bsprintf buffer
size, and assert that we haven't overrun the buffer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1606 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:10:53 +00:00
mccallum
ac13a2bde7 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1605 72102866-910b-0410-8b05-ffd578937521
1996-05-31 15:05:51 +00:00
mccallum
581c6c47fe (GNU_OTHER_SRCFILES): Added win32-entry.c and win32-def.top.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1600 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:27:33 +00:00
mccallum
febac27a9a New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1599 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:25:27 +00:00
mccallum
50bc8363a2 Comment change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1598 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:23:46 +00:00
mccallum
9b02acd141 Don't declare ERRNO.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1597 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:23:23 +00:00
mccallum
b508d29be2 Don't include <gnustep/base/Array.h>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1596 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:23:02 +00:00
mccallum
fc7fc81af4 (WRITE_SIGNED_TYPE): Avoid alignment errors by using memcpy() instead
of trying to assign to (_TYPE*)(BUFFER+1).
(WRITE_UNSIGNED_TYPE): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1595 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:22:25 +00:00
mccallum
5ef5993c3c (main): Pass ENV variable to gnustep_base_user_main.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1594 72102866-910b-0410-8b05-ffd578937521
1996-05-31 14:06:03 +00:00
mccallum
f9f395a848 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1578 72102866-910b-0410-8b05-ffd578937521
1996-05-28 21:25:46 +00:00
mccallum
be4ef2cb44 (GNUSTEP_HEADERS): Added include/NSPathUtilities.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1576 72102866-910b-0410-8b05-ffd578937521
1996-05-28 21:21:15 +00:00
mccallum
46061f4865 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1575 72102866-910b-0410-8b05-ffd578937521
1996-05-28 21:18:31 +00:00
mccallum
2cc16cea2f (GNUSTEP_MFILES): Added NSUser.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1574 72102866-910b-0410-8b05-ffd578937521
1996-05-28 21:17:29 +00:00
mccallum
3f09b04a9f New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1573 72102866-910b-0410-8b05-ffd578937521
1996-05-28 20:53:06 +00:00
mccallum
a7dcd3beed (ALL_INCLUDE_FLAGS): Undo last change, except use name
`srcdir-include' instead of `include'.  This should allow building is
a separate directory than the source, yet still avoid confusion
between <string.h> and <String.h> on win32 systems.
(gnustep/base:): Use `srcdir-include' instead of `include' for extra
links needed when building in a separate directory than the source.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1570 72102866-910b-0410-8b05-ffd578937521
1996-05-28 18:45:37 +00:00
mccallum
5fe8705653 (_NSAddHandler): When creating E_QUEUE, don't autorelease and then
retain; instead just allocate it un-autoreleased.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1568 72102866-910b-0410-8b05-ffd578937521
1996-05-28 18:27:40 +00:00
mccallum
28d87a29cd Include <gnustep/base/preface.h> first! Fix indentation.
([NSLock +initialize]): Method removed.
([NSLock -init]): Assert return value from objc_mutex_allocate(),
don't just return nil.
([NSConditionLock -initWithCondition:]): Likewise.
([NSRecursiveLock -init]): Likewise.
([NSConditionLock +initialize]): Method removed.
([NSRecursiveLock +initialize]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1566 72102866-910b-0410-8b05-ffd578937521
1996-05-28 13:37:17 +00:00
mccallum
2c465ee343 ([ConstantKeyedCollection -description]): Instead of @%, use %s and [s
cStringNoCopy].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1559 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:04:04 +00:00
mccallum
55cffe50fd ([NSDictionary -descriptionWithIndent:]): Use -cStringNoCopy instead
of -cString.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1558 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:03:26 +00:00
mccallum
fe8cc21412 (NSStringFromHashTable): Instead of @%, use %s and [s cStringNoCopy].
(NSHashInsertKnownAbsent): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1557 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:02:48 +00:00
mccallum
3d7bb17748 (NSStringFromMapTable): Instead of @%, use %s and [s cStringNoCopy].
(NSMapInsertKnownAbsent): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1556 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:02:32 +00:00
mccallum
e498c30b3b Change comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1555 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:01:58 +00:00
mccallum
36fea41a3e ([TextCStream -encodeValueOfCType:at:withName:]): Instead of @%, use
%s and [s cStringNoCopy].
([TextCStream -encodeName:n]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1554 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:01:44 +00:00
mccallum
09caef3a6a (o_hash_description): Instead of @%, use %s and [s cStringNoCopy].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1553 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:00:54 +00:00
mccallum
a3c554ffdc (_o_@XX@_description): Instead of "@%", use %s and [s cStringNoCopy].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1552 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:00:24 +00:00
mccallum
f1c58719fa Patch from Scott Christley.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1551 72102866-910b-0410-8b05-ffd578937521
1996-05-27 14:26:41 +00:00
mccallum
0680b8255e Prepend missing `o-' in #include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1550 72102866-910b-0410-8b05-ffd578937521
1996-05-27 13:57:48 +00:00
mccallum
bc8ae66e97 (FILE_AUTHORS): Added "Scott Christley".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1542 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:43:45 +00:00
mccallum
6246b00f0b Add proplist and lex.pl files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1541 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:33:14 +00:00
mccallum
e42761b355 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1540 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:32:56 +00:00
mccallum
169cb14712 ([NSString -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1539 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:30:01 +00:00
mccallum
ac34a1cc86 ([NSDictionary -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1538 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:29:49 +00:00
mccallum
2b7d80a77c ([NSDictionary -description]): Fix warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1537 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:28:00 +00:00
mccallum
74c318c8e7 (GNU_OTHER_SRCFILES): Added proplist.l and proplist.y.
(GNU_MFILES): Added lex.pl.m and proplist.tab.m.
(YACC): New variable.
(GNU_OTHER_SRCFILES): Added proplist., proplist.tab.h and proplist.y.
(proplist.tab.m proplist.tab.h): New target.
(lex.pl.m): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1536 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:27:34 +00:00
mccallum
97bc3324ea ([NSData -description]): Implemented by Nathan Urban.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1535 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:43:29 +00:00
mccallum
18f389e663 ([NSArrayNonCore -description]): Implemented by Nathan Urban.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1534 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:42:08 +00:00
mccallum
e3b3ecf55d ([NSDictionary -description]): Implemented by Nathan Urban.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1533 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:39:21 +00:00
mccallum
615187e5df ([NSString -description]): Implemented by Nathan Urban.
([NSString -propertyList]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1532 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:37:10 +00:00
mccallum
8791694a84 (NSBecomingMultiThreaded, NSThreadExiting): Initialize the
notification strings as static strings, not in +initialize.
(thread_id_2_nsthread): Renamed from THREAD_LIST.  Keep the collection
of NSThread's as a maptable, not a NSArray that takes linear time to
search!
(thread_lock): Renamed from THREAD_LIST_LOCK.
(entered_multi_threaded_state): Renamed from ENTERED_MULTI-THREADED_STATE.
([NSThread +initialize]): Don't initialize notification strings here.
Don't autorelease the lock!
([NSThread -init]): Initialize _thread_autorelease_pool.  Set our
thread data to self, for easy, efficient access to this NSThread
object later.  Put ourselves in the thread collection here, not in
+detach...
([NSThread +currentThread]): This will be called often and needs to be
fast.  Reimplemented so we don't have to acquire a lock and step
through an NSArray of threads; instead, just look ourselves up with
the objc_thread_get_data(), and furthermore, no lock required.
([NSThread +detachNewThreadSelector:toTarget:withObject:]): Avoid race
condition, don't create new NSThread object here.
([NSThread +sleepUntilDate:]): Call -notImplemented:.
([NSThread +exit]): Properly post NSThreadExiting notification, making
sure not to hold the lock while we do so.  Get the NSThread object
efficiently.
([NSThread -threadId]): Removed unnecessary private method.
([NSThread -setThreadId]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1530 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:53:36 +00:00
mccallum
0f3ceb7793 (gnustep/base): Use -r test for file existance, not -e.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1527 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:40:57 +00:00
mccallum
3c04eee2c9 Include <netinet/in.h> for byte-conversion; needed on Solaris.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1526 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:39:21 +00:00
mccallum
6dc1517180 (AUTHORS): Also search for "Rewritten by" string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1524 72102866-910b-0410-8b05-ffd578937521
1996-05-13 13:03:40 +00:00
mccallum
fb05cbcb97 ([Coder -encodeConditionalObject:]): Comment additions.
([Coder -decodeObject]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1523 72102866-910b-0410-8b05-ffd578937521
1996-05-13 00:14:51 +00:00
mccallum
e9aff2a6ef Remove many methods from (Coder NSCoderCompatibility), they are now
included by adding the behavior from NSCoderNonCore.
([Coder +initialize]): Add behavior from NSCoderNonCore.
([Coder -encodeArrayOfObjCType:count:at:]): Method removed.
([Coder -decodeArrayOfObjCType:count:at:]): Method removed.
([Coder -encodeProperyList:]): Method removed.
([Coder -decodeProperyList:]): Method removed.
([Coder -encodePoint:]): Method removed.
([Coder -decodePoint:]): Method removed.
([Coder -encodeSize:]): Method removed.
([Coder -decodeSize:]): Method removed.
([Coder -encodeRect:]): Method removed.
([Coder -decodeRect:]): Method removed.
([Coder -encodeValuesOfObjCTypes:]): Method removed.
([Coder -decodeValuesOfObjCTypes:]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1522 72102866-910b-0410-8b05-ffd578937521
1996-05-12 23:57:50 +00:00
mccallum
49d43a44aa Change "Gnustep" to "GNUstep"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1521 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:56:10 +00:00
mccallum
43874eeb94 Preparation for thread-safety.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1517 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:38:45 +00:00
mccallum
75421a4b21 Comment changes, and preparation for thread-safety.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1516 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:38:07 +00:00
mccallum
73bb127d62 #include <values.h> to get BITSPERBYTE on Solaris. (Reported by
M. Decugis <mds@sepgifbr.sep.de.edf.fr>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1515 72102866-910b-0410-8b05-ffd578937521
1996-05-10 13:55:35 +00:00
mccallum
0602107afe (objc_load_module): Uncomment local vars when needed. (Provided by
Bill Bumgarner <bbum@friday.com>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1514 72102866-910b-0410-8b05-ffd578937521
1996-05-08 14:56:44 +00:00
mccallum
59201feebe (BITSPERBYTE): Define if not defined and on NeXT.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1513 72102866-910b-0410-8b05-ffd578937521
1996-05-08 14:53:02 +00:00
mccallum
6ee022a2cf Separate implemented, non-core methods into separate class, in
preparation for avoiding the duplication of these methods in Coder.m.
([NSCoder +initialize]): New method.
(NSCoderNonCore): New class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1510 72102866-910b-0410-8b05-ffd578937521
1996-05-07 18:08:01 +00:00
mccallum
227a40404e ([NSGArchiver -encodeObjectReference:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1503 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:20:22 +00:00
mccallum
76d3ea2f41 ([Decoder -decodeObjectAt:anObjPtr:name]): Move CREATE_REF_BEFORE_INIT
assertion to inside conditional for FREF being true.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1502 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:16:34 +00:00
mccallum
07530e41bd (PRINTF_ATSIGN_VA_LIST): New macro, when 1, undoes previous changes.
Previous changes cause crashes with my libc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1501 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:14:54 +00:00
mccallum
617572fc34 It should now work again to build in a separate directory.
Use ${OEXT}, not $(OEXT).
(ALL_INCLUDE_FLAGS): Look in ./include, not $(srcdir).
(GNU_HEADERS): Remove duplicate NS*.h files.
(gnustep/base): Make soft links to the $(srcdir) include files inside
./include.
(include/preface.h): Get preface.h.in from the $(srcdir)!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1499 72102866-910b-0410-8b05-ffd578937521
1996-05-06 21:24:04 +00:00
mccallum
5307f03436 ([NSMutableArray +initialize]): Add the NSArrayNonCore methods also.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1496 72102866-910b-0410-8b05-ffd578937521
1996-05-06 19:57:29 +00:00
mccallum
901b7e7761 Add o- prefix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1495 72102866-910b-0410-8b05-ffd578937521
1996-05-06 19:40:26 +00:00
mccallum
ab46d0c9c9 Add `o-' prefix to object collection function files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1494 72102866-910b-0410-8b05-ffd578937521
1996-05-06 19:22:54 +00:00
mccallum
df76a73a48 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1493 72102866-910b-0410-8b05-ffd578937521
1996-05-06 19:10:52 +00:00
mccallum
2a513e2117 All uses of @"" were crashing in Linux libc-5.3.9.
(arginfo_func): New function.
(handle_printf_atsign): Get the string object without va_arg().
([NSString +initialize]): Use new function.
(Reported and fixed by Kai-Uwe Sattler
<sattler@volker.cs.Uni-Magdeburg.DE>.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1492 72102866-910b-0410-8b05-ffd578937521
1996-05-06 18:59:01 +00:00
mccallum
9d1d627729 ([NSMutableArrayNonCore -removeObject:]): Replace with version that
removes all objects equal to argument.
([NSMutableArrayNonCore -removeObjectIdenticalTo:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1491 72102866-910b-0410-8b05-ffd578937521
1996-04-30 14:25:22 +00:00
mccallum
a7aa62d7db ([TextCStream -encodeValueOfCType:at:withName:]): If name is nil or
zero-length, make it "Anonymous".


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1485 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:16:59 +00:00
mccallum
cf5278b6d9 Add todo comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1484 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:16:24 +00:00
mccallum
4c0c21dc34 (USE_OPENSTEP_STYLE_FORWARD_REFERENCES): New macro.
(NSGArchiverNullCStream): New class, interface and implementation.
([NSGArchiverNullCStream -decodeValueOfCType:at:withName:]): New method.
([NSGArchiverNullCStream -decodeValueOfCType:at:withName:]): New method.
([NSGArchiver -encodeRootObject:withName:]): New method.
([NSGArchiver -encodeConditionalObject:]): New method.
([NSGArchiver -_coderCreateReferenceForObject:]): New method.
([NSGArchiver -_coderCreateForwardReferenceForObject:]): New method.
([NSGArchiver -_coderForwardReferenceForObject:]): New method.
([NSGArchiver -_objectWillBeInProgress:]): New method.
([NSGArchiver -_objectNoLongerInProgress:]): New method.
([NSGArchiver -defaultDecoderClassname]): New method.
([NSGUnarchiver -_createReferenceBeforeInit]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1483 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:15:30 +00:00
mccallum
32b5f18ba1 ([NSUnarchiver +initialize]): Test self against NSUnarchiver class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1482 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:13:51 +00:00
mccallum
6687fc397a (debug_coder): Make it a static var instead of a #define.
([Encoder -_objectWillBeInProgress:]): New method.
([Encoder -_objectNoLongerInProgress:]): New method.  Depending on
whether we are doing GNU or OpenStep style forward references one of
these two methods will create a backward reference to the object by
calling -_coderInternalCreateReferenceForObject:.  This will effect
whether encoding make forward or backward references to objects in
progress.  GNU uses forward references, which is robust even when the
object's -initWithCoder substitutes another object for self.
([Encoder -_encodeObject:withName:isBycopy:isForwardReference:]): Use
new methods.  Don't call -_coderInternalCreateReferenceForObject here,
let one of the ...InProgress methods do it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1481 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:12:59 +00:00
mccallum
1e171d13a7 (debug_coder): Make it a static var instead of a #define.
([Decoder -_coderCreateReferenceForObject:]): Add a debugging message.
([Decoder -_coderCreateReferenceForInterconnectedObject:]):
Autorelease the placeholder object.
([Decoder -_createReferenceBeforeInit]): New method.  By default
return NO, for the GNU-style forward references.
([Decoder -decodeObjectAt:anObjPtr:name]): [CODER_OBJECT]: Use new
method; if it returns true, then we are using non-GNU, OpenStep-style
forward references.  In this case: (1) don't try to decode the object by
sending +newWithCoder:, in fact, raise an error if the object wanted
to be decoded that way; (2) call _coderInternalCreateReferenceForObject
before sending -initWithCoder, not after; unfortunately this means
that -initWithCoder methods cannot substitute another object for self.
If it returns false, use the more robust GNU style forward references.
The NSGUnarchiver overrides this method to use the OpenStep style.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1480 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:05:57 +00:00
mccallum
e16a142cde Include gnustep/base/Archiver.h.
([Coder +archivedDataWithRootObject:]): Use Archiver class, not
NSArchiver, it matters because now the two classes handle forward
references differently.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1479 72102866-910b-0410-8b05-ffd578937521
1996-04-19 22:59:11 +00:00
mccallum
26d90fec56 (Foundation): Fix dependancy to force proper handling after a cvs
checkout.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1476 72102866-910b-0410-8b05-ffd578937521
1996-04-18 12:31:52 +00:00
mccallum
986b9760cf ([Decoder -decodeObjectAt:anObjPtr:name]): Decode the Unindent
*before* decoding the fref; as does Encoder!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1466 72102866-910b-0410-8b05-ffd578937521
1996-04-18 01:47:52 +00:00
mccallum
3228ed0477 Change R. Andrew McCallum to post-marriage name: Andrew Kachites McCallum
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1456 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:17:45 +00:00
mccallum
c9390386a4 Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1454 72102866-910b-0410-8b05-ffd578937521
1996-04-17 20:01:09 +00:00
mccallum
dbe4613ced Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
mccallum
2361a6f94f Rename all objects_* to o_*.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1445 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:26:04 +00:00
mccallum
e819b08f9c ([NSGSet -isEqual:]): Call isEqualToSet: (in superclass).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1444 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:21:57 +00:00
mccallum
db3c8a5a51 Use preface.h instead of stdobjects.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1439 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:04:15 +00:00
mccallum
e667c9e3fa Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1438 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:02:37 +00:00
mccallum
82d3aa098e File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1437 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:01:47 +00:00
mccallum
2e03d0fb4d Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1436 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:01:22 +00:00
mccallum
27129f6452 ([CStream -writeSignature]): Use new version macro names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1435 72102866-910b-0410-8b05-ffd578937521
1996-04-17 18:59:34 +00:00
mccallum
8d708fb335 (__gnustep_base_subinit_args__): Renamed from libobjects...
(main): Use gnustep_base_user_main, not LibobjectsMain.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1431 72102866-910b-0410-8b05-ffd578937521
1996-04-17 17:37:22 +00:00
mccallum
b6640ad777 Include objc-malloc.h from gnustep/base.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1429 72102866-910b-0410-8b05-ffd578937521
1996-04-17 17:31:02 +00:00
mccallum
a937ffc633 (Foundation): Add step to get rid of old Foundation directory that
would come from a CVS checkout.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1428 72102866-910b-0410-8b05-ffd578937521
1996-04-17 17:10:43 +00:00
mccallum
3bfd520e88 Adjust comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1427 72102866-910b-0410-8b05-ffd578937521
1996-04-17 16:58:44 +00:00
mccallum
7b0fbbd162 (include/preface.h): Make substitutions for macro name, as well as value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1421 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:40:18 +00:00
mccallum
89d67bb808 Fix typo; it is preface.h, not prefix.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1420 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:34:35 +00:00
mccallum
d4b12b4053 Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1419 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:23:00 +00:00
mccallum
6cc570eca1 (all): Add dependancy on `Foundation'.
(Foundation): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1418 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:17:52 +00:00
mccallum
54a1fed9d9 Update names of global const char's.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1417 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:08:10 +00:00
mccallum
6fe53d1e3c Don't assume the `lib' prefix is included in $(LIBRARY_NAME).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1413 72102866-910b-0410-8b05-ffd578937521
1996-04-17 14:52:22 +00:00
mccallum
2ad329bbc6 Rename all occurrences of objects/' to include/'.
Rename all occurrences of `Foundation/' to `include/'.
Rename all occurrences of `libobjects' to `$(LIBRARY_NAME)'.
Rename all occurrences of `OBJECTS_*VERSION' to `*VERSION'.
(GNU_NEXT_INCLUDES): Renamed from OBJECTS_NEXT_INCLUDES.
(gnustep/base): New target; make symbolic link to `include'.
(all): Added dependancy on gnustep/base.
(install): Put the include files in gnustep/base.  Make a link from
$(includedir)/Foundation to $(includedir)/gnustep/base.
(installdirs): Make $(includedir)/gnustep/base, not objects and
Foundation include directories.
(GNU_MFILES): stdobjects.m renamed to preface.m.
(GNU_HEADERS): LibobjectsMain.h renamed to fake-main.h.  objects.h
renamed to all.h.
(HEADERS_INSTALL): stdobjects.h renamed to preface.h.
(maintainer-clean): Likewise.
(DIST_FILES): stdobjects.h.in renamed to preface.h.in.
(RCS_FILES): Likewise.
(include/preface.h): Target renamed from stdobjects.h.
(preface$(OEXT)): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1409 72102866-910b-0410-8b05-ffd578937521
1996-04-17 14:41:15 +00:00
mccallum
643ad61075 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1408 72102866-910b-0410-8b05-ffd578937521
1996-04-17 14:33:00 +00:00
mccallum
46a2a3d9f3 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1406 72102866-910b-0410-8b05-ffd578937521
1996-04-17 13:34:36 +00:00
mccallum
46d78ca8f1 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1404 72102866-910b-0410-8b05-ffd578937521
1996-04-17 13:14:40 +00:00
mccallum
9a8e1a650b ([NotificationDispatcher
-_addObserver:notificationRequest:name:object:]): Don't release NR here.
([NotificationDispatcher -addInvocation:name:object:]): Release it here.
([NotificationDispatcher -addObserver:selector:name:object:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1388 72102866-910b-0410-8b05-ffd578937521
1996-04-17 00:29:24 +00:00
mccallum
4836bf8c2e (debug_tcpport): Changed from 1 to 0; don't print debugging messages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1386 72102866-910b-0410-8b05-ffd578937521
1996-04-16 23:28:35 +00:00
mccallum
8f242feadf (debug_proxy): Changed from 1 to 0; don't print debugging messages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1385 72102866-910b-0410-8b05-ffd578937521
1996-04-16 23:28:14 +00:00
mccallum
4544d06b79 (debug_connection): Changed from 1 to 0; don't print debugging
messages.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1384 72102866-910b-0410-8b05-ffd578937521
1996-04-16 23:27:53 +00:00
mccallum
aff8870c71 ([NSArrayNonCore -arrayByAddingObject:]): Autorelease the returned
array.
([NSArrayNonCore -arrayByAddingObjectsFromArray:]): Likewise.
([NSArrayNonCore -subarrayWithRange:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1383 72102866-910b-0410-8b05-ffd578937521
1996-04-16 23:22:08 +00:00
mccallum
3ecc0f9d4d (GNU_MFILES): Re-added Time.m.
(o_vscanf$(OEXT), o_vscanf_pic$(OEXT)): New rules that turn off
warnings for o_vscanf.c, it generates a bunch of unimportant ones.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1381 72102866-910b-0410-8b05-ffd578937521
1996-04-16 22:38:28 +00:00
mccallum
eebe43a13b Only declare "id MemoryExchaustedException" #ifdef __OBJC__. This
allows <objects/objc-malloc.h> to be include in non-ObjC files, i.e. C
files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1380 72102866-910b-0410-8b05-ffd578937521
1996-04-16 22:18:32 +00:00
mccallum
1ba2a634c9 Include <objects/stdobjects.h> first.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1379 72102866-910b-0410-8b05-ffd578937521
1996-04-16 22:17:34 +00:00
mccallum
5b483ea611 ([Time +initialize]): Comment out day/month name handling that depends
on old Collection heirarchy.
([Time +indexOfDayName:]): un-implemented.
([Time +nameOfDayIndex:]): Likewise.
([Time +indexOfMonthName:]): Likewise.
([Time +nameOfMonthIndex:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1375 72102866-910b-0410-8b05-ffd578937521
1996-04-16 22:01:18 +00:00
mccallum
313ef47ba4 ([Heap -heapifyFromIndex:]): Swap -compare: receiver and argument, so
firstObject is minimum instead of maximum object.
([Heap -addObject:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1371 72102866-910b-0410-8b05-ffd578937521
1996-04-16 21:29:00 +00:00
mccallum
062a995fe7 ([NSGDictionaryObjectEnumerator -nextObject]): Return the key, not the
object.
([NSGDictionary -objectForKey:]): Method moved from
NSGMutableDictionary.
([NSGMutableDictionary +initialize]): Don't use static variable in
test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1370 72102866-910b-0410-8b05-ffd578937521
1996-04-16 02:52:13 +00:00
mccallum
6ae9416376 ([KeyEnumerator -initWithCollection:]): New method.
([KeyEnumerator -nextObject]): New method.
([KeyEnumerator -dealloc]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1369 72102866-910b-0410-8b05-ffd578937521
1996-04-16 02:50:42 +00:00
mccallum
811ad24881 ([LinkedList -encodeWithCoder:]): New method.
([LinkedList -initWithCoder:]): New method.
([LinkedList -_initCollectionWithCoder:]): Method removed.
([LinkedList -_encodeContentsWithCoder:]): Method removed.
([LinkedList -_decodeContentsWithCoder:]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1366 72102866-910b-0410-8b05-ffd578937521
1996-04-14 16:00:07 +00:00
mccallum
fc619424b7 ([Coder -encodeConditionalObject:]): Don't use old, removed method
name to see if object has already been encoded.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1365 72102866-910b-0410-8b05-ffd578937521
1996-04-14 15:58:03 +00:00
mccallum
f64eb0baae (debug_binary_coder): Explicitly set to zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1364 72102866-910b-0410-8b05-ffd578937521
1996-04-14 00:59:58 +00:00
mccallum
a692b70a7a Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1363 72102866-910b-0410-8b05-ffd578937521
1996-04-13 19:57:11 +00:00
mccallum
918e1fcfd3 ([Coder (Private) -_coderReferenceForObject:): Renamed from
old-xref-scheme "_coderHasObjectReference:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1362 72102866-910b-0410-8b05-ffd578937521
1996-04-13 19:55:26 +00:00
mccallum
192ff064ea Add comments to CONNECTION_WIDE_OBJECT_REFERENCES section.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1361 72102866-910b-0410-8b05-ffd578937521
1996-04-13 19:54:19 +00:00
mccallum
d544aacf47 ([Decoder -decodeObjectAt:withName:]): Allow for the case in which
ANOBJPTR is NULL, and deal with it using a DUMMY_OBJECT local variable.
Remove CODER_OBJECT_FORWARD_SATISFIER case.  In the CODER_OBJECT case,
decode the forward reference number, and deal with it appropriately.
See the ChangeLog comments for the Encoder changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1359 72102866-910b-0410-8b05-ffd578937521
1996-04-13 19:29:39 +00:00
mccallum
12a9901113 ([Encoder -_encodeObject:withName:isBycopy:isForwardReference:]): See
if object satisfies a forward reference *after* encoding it.  This is
necessary because the encoding of subobjects may generate forward
references.  (In a sense, this undoes the last change, but it is
significantly different in that we test whether the object is in the
object_2_fref table *after* encoding the object; before we looked in
the table before encoding the object.)  As a consequence,
the CODER_OBJECT_FORWARD_SATISFIER tag is no longer necessary; this
was used to tag an object before it was encoded, but now we understand
that we cannot know whether this object satisfies a forward reference
until after it has been encoded.  Thus, for all objects we encode an
unsigned int after encoding the object itself.  This unsigned int is
either the forward reference number of zero, depending on whether this
object satisfies any forward references.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1358 72102866-910b-0410-8b05-ffd578937521
1996-04-13 19:27:23 +00:00
mccallum
9f5a3aa82c (CODER_OBJECT_FORWARD_SATISFIER): Enum constant removed; it is no
longer needed.  Note: decoders built after this change will not be
able to read data files encoded before this change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1357 72102866-910b-0410-8b05-ffd578937521
1996-04-13 19:21:07 +00:00
mccallum
0ebd08872c ([ConstantCollection -_decodeContentsWithCoder:]): Use alloca(), not
objc_malloc(), plugging memory leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1356 72102866-910b-0410-8b05-ffd578937521
1996-04-13 18:37:57 +00:00
mccallum
eba65f78eb ([Encode -_encodeObject:withName:isBycopy:isForwardReference:]): If
this object satisfies a forward reference, remove it from the
object_2_fref table before encoding the object, since, in the process
of encoding the object, we may generate more references to this
object, and we don't want to interpret this as another forward
reference satisfier; previously an object could get encoded as a
forward reference satisfier more than once.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1355 72102866-910b-0410-8b05-ffd578937521
1996-04-13 17:49:22 +00:00
mccallum
94ed47bd55 (Encoder fref_counter): New ivar for guaranteeing that forward
references have unique names.  Previous use of the MapTable count
for this purpose didn't work because we occasionally removed elements
from the table, and thus had aliased forward reference numbers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1354 72102866-910b-0410-8b05-ffd578937521
1996-04-12 21:13:12 +00:00
mccallum
82098fd24f ([StdioStream -writeBytes:length:]): Check for error condition, and
report.  Reporting scheme needs fixing.
([StdioStream -readBytes:length:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1353 72102866-910b-0410-8b05-ffd578937521
1996-04-12 21:11:11 +00:00
mccallum
2332831d4f ([LinkedList -_decodeContentsWithCoder:]): Step through the new list,
and send -setLinkedList:, otherwise the links don't properly know
about their parent LinkedList.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1352 72102866-910b-0410-8b05-ffd578937521
1996-04-12 21:10:15 +00:00
mccallum
7e4f9c510e ([Encoder -initForWritingToStream:withFormatVersion:cStreamClass
:cStreamFormatVersion:]): Initialize new ivar.
([Encoder -_coderCreateForwardReferenceForObject:]): Use new ivar to
`gensym' a new forward reference.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1351 72102866-910b-0410-8b05-ffd578937521
1996-04-12 21:09:24 +00:00
mccallum
38b8b74f50 ([Decoder -_coderSatisfyForwardReference:withObject:]): Create
fref_2_object with NSNonOwnedPointerMapValueCallBacks, not
NSObjectMapValueCallBacks.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1350 72102866-910b-0410-8b05-ffd578937521
1996-04-12 21:08:06 +00:00
mccallum
caf331e0e6 ([Encoder -_coderCreateForwardReferenceForObject:]): Initialize the
OBJECT_2_FREF ivar, if it hasn't been already.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1349 72102866-910b-0410-8b05-ffd578937521
1996-04-10 21:30:10 +00:00
mccallum
03d62d7e71 (MemoryExhaustedException): Declare this global variable; note that
now objc-malloc.h cannot be included in .c files, only .m files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1348 72102866-910b-0410-8b05-ffd578937521
1996-04-10 20:47:02 +00:00
mccallum
dce5dfe236 Changed from objc-malloc.c. Raise a MemoryExhaustedException with
NSException instead of calling objc_fatal.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1347 72102866-910b-0410-8b05-ffd578937521
1996-04-10 20:46:03 +00:00
mccallum
daea1ad502 File deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1346 72102866-910b-0410-8b05-ffd578937521
1996-04-10 20:30:35 +00:00
mccallum
a12d8aba24 (GNU_CFILES): Removed objc-malloc.c.
(GNU_MFILES): Added objc-malloc.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1344 72102866-910b-0410-8b05-ffd578937521
1996-04-10 20:21:46 +00:00
mccallum
724e71f960 (GNUSTEP_MFILES): Added NSRunLoop.m.
(GNUSTEP_HEADERS): Added Foundation/NSRunLoop.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1343 72102866-910b-0410-8b05-ffd578937521
1996-04-10 18:21:47 +00:00
mccallum
3c5f1b1640 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1341 72102866-910b-0410-8b05-ffd578937521
1996-04-10 18:20:36 +00:00
mccallum
7df9cb9436 ([NSAutoreleasePool -dealloc]): When unintalling ourselves at the
current pool, and setting our parent to be the current pool, be sure
to set our parent's _CHILD ivar to nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1340 72102866-910b-0410-8b05-ffd578937521
1996-04-10 16:40:25 +00:00
mccallum
272a2c30fd (mframe_do_call): Use sel_get_type() instead of
class_get_instance_method() to get the selector type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1339 72102866-910b-0410-8b05-ffd578937521
1996-04-10 16:37:30 +00:00
mccallum
ea181197c4 (mframe_do_call): When getting the instance method, just use
object->class_pointer, not object_get_class(), because
object_get_class() of a class will return the argument, not the
metaclass---we want the metaclass.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1337 72102866-910b-0410-8b05-ffd578937521
1996-04-09 23:55:42 +00:00
mccallum
a2f9fe90a6 ([TcpInPort +newForReceivingFromPortNumber:]): Bind the socket with
INADDR_ANY, (not the host's address), so that others can connect using
any of the host's interfaces, including localhost.  Add the host's
address to _LISTENING_ADDRESS after the bind().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1336 72102866-910b-0410-8b05-ffd578937521
1996-04-09 03:02:20 +00:00
mccallum
2cff25e764 ([NSDictionary -allKeysForObject:]): Ask SELF for objectForKey:, not K.
(Reported by Robert Quillen <rquillen@csugrad.cs.vt.edu>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1335 72102866-910b-0410-8b05-ffd578937521
1996-04-08 17:19:16 +00:00
mccallum
b6064633dc (ABS): Remove macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1333 72102866-910b-0410-8b05-ffd578937521
1996-04-01 02:52:12 +00:00
mccallum
49d377aca8 ([MappedCollector -nextObjectAndKey:withEnumState:]): Add comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1331 72102866-910b-0410-8b05-ffd578937521
1996-04-01 02:50:55 +00:00
mccallum
e31f91035b ([MappedCollector -newEnumState]): New method.
([MappedCollector -freeEnumState:]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1329 72102866-910b-0410-8b05-ffd578937521
1996-04-01 02:41:44 +00:00
mccallum
fa05569ce8 (ABS): Remove macro; now defined in objects/stdobjects.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1328 72102866-910b-0410-8b05-ffd578937521
1996-03-31 23:15:12 +00:00
mccallum
9a4abde655 Declare new function names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1327 72102866-910b-0410-8b05-ffd578937521
1996-03-31 22:46:59 +00:00
mccallum
5b640895e7 Add #ifndef/#endif wrapper around header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1326 72102866-910b-0410-8b05-ffd578937521
1996-03-31 22:46:44 +00:00
mccallum
c20c905fe0 (behavior_class_add_class): Function renamed from class_add_behavior.
Add more explanation to NSCAssert().
(class_add_behavior): New function, calling above function.
(behavior_class_add_category): New function.
(behavior_class_add_methods): Function renamed from
class_add_methods_if_not_there.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1325 72102866-910b-0410-8b05-ffd578937521
1996-03-31 22:46:14 +00:00
mccallum
ff771f9d6b ([NSGArray +initialize]): Add the NSArrayNonCore behavior, so we can,
once and for all, avoid the need for those odd [super ...] calls, and
can remove many methods.
([NSGArray -initWithObjects:count:]): Method removed.
([NSGArray -indexOfObject:]): Method removed.
([NSGArray -objectAtIndex:]): Method removed.
([NSGMutableArray +initialize]): Add the NSMutableArrayNonCore
behavior, as above.
([NSGMutableArray -replaceObjectAtIndex:withObject:]): Method removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1324 72102866-910b-0410-8b05-ffd578937521
1996-03-31 22:34:27 +00:00
mccallum
048f55528d Divide methods between NSArray and NSArrayNonCore classes. Add
NSArrayNonCore behavior to NSArray.
Divide methods between NSMutableArray and NSMutableArrayNonCore
classes.  Add NSArrayNonCore behavior to NSArray.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1323 72102866-910b-0410-8b05-ffd578937521
1996-03-31 22:23:37 +00:00
mccallum
e5e9e8c0e8 Include <objects/stdobjects.h>.
(class_add_behavior): Use NSCAssert() to make sure that we don't try
to increase the instance size of a class that has been subclassed;
(hopeless ivar layout confusion would result).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1319 72102866-910b-0410-8b05-ffd578937521
1996-03-31 21:54:02 +00:00
mccallum
a4e8ca1af5 (GNU_CFILES): Removed behavior.c.
(GNU_MFILES): Added behavior.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1318 72102866-910b-0410-8b05-ffd578937521
1996-03-31 21:43:41 +00:00
mccallum
af64387855 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1317 72102866-910b-0410-8b05-ffd578937521
1996-03-31 21:41:02 +00:00
mccallum
00e53dbf51 ([NSArray -lastObject]): Don't assert count; just return nil if it's
empty.
([NSMutableArray -removeLastObject]): Don't assert count; raise
NSRangeError if it's empty.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1314 72102866-910b-0410-8b05-ffd578937521
1996-03-30 23:00:27 +00:00
mccallum
b5e1608e0c Make NSAutoreleasePools co-exist with exceptions, safely and without
leaks.  Also improve efficiency by using a linked list of arrays
instead of realloc when more space is needed, and by using a cache of
pools that helps avoid the allocation/deallocation of pools.
(push_pool_to_cache): New function.
(pop_pool_from_cache): New function.
([NSAutoreleasePool +initialize]): New method.
([NSAutoreleasePool +allocWithZone:]): New method.
([NSAutoreleasePool -init]): Method overhauled to initialize new ivar
for handling exceptions, _child; also use pool cache.
(total_autoreleased_objects_count): New static variable.
(BEGINNING_POOL_SIZE): Macro renamed from DEFAULT_SIZE.
(autorelease_pool_cache, autorelease_pool_cache_size,
autorelease_pool_cache_count): New static variables.
([NSAutoreleasePool -_setChildPool:]): New method, handling stack and
dealing with exceptions.
([NSAutoreleasePool -addObject:]): Deal with linked list of arrays.
([NSAutoreleasePool -dealloc]): Deal with exceptions by releasing
child pools.  Place self into the pool cache instead of deallocating.
([NSAutoreleasePool +resetTotalAutoreleasedObjects]): New method.
([NSAutoreleasePool +totalAutoreleasedObjects]): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1311 72102866-910b-0410-8b05-ffd578937521
1996-03-30 22:39:48 +00:00
mccallum
48f6007abf Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1310 72102866-910b-0410-8b05-ffd578937521
1996-03-30 22:22:20 +00:00
mccallum
007a6058c4 Change return types of "grow factor" methods from unsigned to int.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1309 72102866-910b-0410-8b05-ffd578937521
1996-03-30 22:21:48 +00:00
mccallum
7fec33d756 ([IndexedCollection -removeObject:]): Use unsigned for index, not int.
([IndexedCollection -replaceObject:withObject:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1308 72102866-910b-0410-8b05-ffd578937521
1996-03-30 22:21:11 +00:00
mccallum
21ac08e531 (NO_INDEX): Change from UINT_MAX to NSNotFound, so that Array and
NSArray can coexist.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1305 72102866-910b-0410-8b05-ffd578937521
1996-03-30 22:07:46 +00:00
mccallum
7c3fd4aafc ([NSArray -isEqualToArray:]): Fix typo; reverse test before returning no.
([NSArray -arrayByAddingObject:]): New function, from Scott
Christley.
([NSArray -arrayByAddingObjectsFromArray:]): Likewise.
([NSArray -subarrayWithRange:]): Implemented by Scott Christely.
([NSMutableArray -removeObjectIdenticalTo:]): Don't fail if the object
is not present.
([NSMutableArray -removeObject:]): Likewise.
([NSMutableArray -removeAllObjects]): Implemented by Scott Christley.
([NSMutableArray -setArray:]): New function, from Scott Christley.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1304 72102866-910b-0410-8b05-ffd578937521
1996-03-30 19:14:43 +00:00
mccallum
674f7c6e4c ([IndexedCollection -removeObject:]): Now removes *all* instances of
ANOBJECT, not just one.
([IndexedCollection -replaceObject:withObject:]): Now replaces *all*
instances of OLDOBJECT, not just one.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1303 72102866-910b-0410-8b05-ffd578937521
1996-03-30 19:04:35 +00:00