Commit graph

1583 commits

Author SHA1 Message Date
Andrew McCallum
c4e3610363 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1545 72102866-910b-0410-8b05-ffd578937521
1996-05-16 00:52:17 +00:00
Andrew McCallum
eef6a79d7d *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1543 72102866-910b-0410-8b05-ffd578937521
1996-05-13 17:56:50 +00:00
Andrew McCallum
8fe65da06a (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
Andrew McCallum
724564f31f 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
Andrew McCallum
af7851fccd 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
Andrew McCallum
1afb572971 ([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
Andrew McCallum
2518e9a4fd ([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
Andrew McCallum
f8444df542 ([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
Andrew McCallum
4545689260 (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
Andrew McCallum
ea3a8e3720 ([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
Andrew McCallum
2c5ef843f2 ([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
Andrew McCallum
690cb3735b ([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
Andrew McCallum
b26c2df1c2 ([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
Andrew McCallum
febf71da58 *** 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
Andrew McCallum
80414d5ff3 (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
Andrew McCallum
99c5ae988b 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
Andrew McCallum
da57faf715 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
Andrew McCallum
94235c99ce (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
Andrew McCallum
2eca55f16b 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
Andrew McCallum
c4f492835c 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
Andrew McCallum
a78eb13bc0 (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
Andrew McCallum
ffb11e3c7b ([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
Andrew McCallum
c9ae05dadd 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
Andrew McCallum
168f431ba9 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
Andrew McCallum
b432803b9c *** 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
Andrew McCallum
d6bbf2ead6 (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
Andrew McCallum
40d6303135 (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
Andrew McCallum
889c412539 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
Andrew McCallum
63e596e70c 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
Andrew McCallum
ee7c173599 #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
Andrew McCallum
37d8cc7765 (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
Andrew McCallum
4300f0e9a2 (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
Andrew McCallum
a0dc4d2812 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
Andrew McCallum
5aaf19d4dc 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
Andrew McCallum
f32db3d692 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
Andrew McCallum
193296169f *** 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
Andrew McCallum
e96c5faa58 (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
Andrew McCallum
65464bd728 *** 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
Andrew McCallum
4ee36a544a (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
Andrew McCallum
70d3ba738a (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
Andrew McCallum
3b51fcdff1 ([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
Andrew McCallum
3f10d36cbc ([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
Andrew McCallum
404b2c5d12 (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
Andrew McCallum
5e6abf930a (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
Andrew McCallum
b4695b292a 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
Andrew McCallum
3ec0b402fa 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
Andrew McCallum
a4faded2ed 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
Andrew McCallum
d43d347684 ([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
Andrew McCallum
42b38028bd 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
Andrew McCallum
1daf82a5fe 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