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
1945724c09
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1531 72102866-910b-0410-8b05-ffd578937521
1996-05-13 16:31:59 +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
51ab932c25
Include renamed <objc/thr.h>, not <objc/thread.h>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1529 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:44:09 +00:00
mccallum
9089aa8fe5
Include renamed <objc/thr.h>, not <objc/thread.h>. Prepend ivars with
...
underscore. Formatting cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1528 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:43:49 +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
6cd1434cb8
New file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1525 72102866-910b-0410-8b05-ffd578937521
1996-05-13 15:32:48 +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
5e2cc81652
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1520 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:40:24 +00:00
mccallum
d16aa6f109
(struct autorelease_cache): New data type.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1519 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:39:49 +00:00
mccallum
5e12b6834e
(NSThread _thread_autorelease_pool): New ivar.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1518 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:39:14 +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
caeb6db5ad
Prepend `o-' in #include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1512 72102866-910b-0410-8b05-ffd578937521
1996-05-07 23:02:14 +00:00
mccallum
f82634b0b3
Declare new NSCoderNonCore class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1511 72102866-910b-0410-8b05-ffd578937521
1996-05-07 18:08:30 +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
0a0cf5a0c3
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1509 72102866-910b-0410-8b05-ffd578937521
1996-05-07 14:55:16 +00:00
mccallum
eece34bf1d
(snapshot-rtag): New target.
...
(dist-rtag): New target.
(rdiff): New target.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1508 72102866-910b-0410-8b05-ffd578937521
1996-05-07 14:55:10 +00:00
mccallum
9550e4440e
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1506 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:23:14 +00:00
mccallum
2a2f3b240c
(ALL_CPPFLAGS): Look for source include files in new place.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1505 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:21:42 +00:00
mccallum
d9881f491e
(main): Comment added.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1504 72102866-910b-0410-8b05-ffd578937521
1996-05-07 01:20:44 +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
e34ea49747
(shared): Prepend missing `lib'. (Reported by Randy Chapman
...
<chapman@cs.washington.edu>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1500 72102866-910b-0410-8b05-ffd578937521
1996-05-06 21:53:03 +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
c4d01b1990
use #include instead of #import.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1498 72102866-910b-0410-8b05-ffd578937521
1996-05-06 20:13:18 +00:00
mccallum
8f0f730c70
Added "On what platforms will it run?"
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1497 72102866-910b-0410-8b05-ffd578937521
1996-05-06 20:12:53 +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
718a535d98
(main): Patched from Scott Christley.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1490 72102866-910b-0410-8b05-ffd578937521
1996-04-30 14:19:39 +00:00
mccallum
39953b45dd
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1489 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:50:38 +00:00
mccallum
843f36a72c
GNU Archiver on OpenStep methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1488 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:50:13 +00:00
mccallum
3c5e8f5064
Use Archiver, not NSArchiver, if GNU_ARCHIVING is true.
...
(SELF_REF_DECODE_SUBSTITUTES): New macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1487 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:49:54 +00:00
mccallum
253120b8c5
(Coder): Make ivars public, so NSGArchiver can get at them.
...
(Encoder): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1486 72102866-910b-0410-8b05-ffd578937521
1996-04-19 23:17:52 +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