Commit graph

1003 commits

Author SHA1 Message Date
Andrew McCallum
57d133074e (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
Andrew McCallum
dffee4588d (__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
Andrew McCallum
29729f4102 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
Andrew McCallum
e1d2073668 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
Andrew McCallum
ea2d0648f4 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
Andrew McCallum
e73a7fe9bc ([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
Andrew McCallum
7dc236f936 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
Andrew McCallum
429ac1baaf (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
Andrew McCallum
bda0dd9814 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
Andrew McCallum
274b0940cd 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
Andrew McCallum
07a9fa0752 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
Andrew McCallum
6531e2ead0 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
Andrew McCallum
feccda75ec (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
Andrew McCallum
606e7dbd04 (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
Andrew McCallum
c50f476e1b 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
Andrew McCallum
344f350d9b (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
Andrew McCallum
30e0953778 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
Andrew McCallum
fa29c3cd8f (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
Andrew McCallum
b84f4e6bfa 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
Andrew McCallum
ee86b8a746 (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
Andrew McCallum
584559b8bf (_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
Andrew McCallum
8468250930 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
Andrew McCallum
a0861df80f ([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
Andrew McCallum
f7fae0cbd9 ([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
Andrew McCallum
e481a533b9 (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
Andrew McCallum
7c3556c054 (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
Andrew McCallum
8c30b02f94 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
Andrew McCallum
73e18dc6ce ([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
Andrew McCallum
ad0df9ad1d (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
Andrew McCallum
2c22c1f4fc (_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
Andrew McCallum
56f57a6657 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
Andrew McCallum
8aeaa8b2a6 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
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
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
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
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