Commit graph

1564 commits

Author SHA1 Message Date
mccallum
d8c762000f Added NS* functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1577 72102866-910b-0410-8b05-ffd578937521
1996-05-28 21:24:57 +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
ecf3fd8373 (NSPageSize, NSLogPageSize, NSRoundUpToMultipleOfPageSize,
NSRoundDownToMultipleOfPageSize, NSRealMemoryAvailable,
NSAllocateMemoryPages, NSDeallocateMemoryPages, NSCopyMemoryPages):
New functions declared.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1572 72102866-910b-0410-8b05-ffd578937521
1996-05-28 20:47:33 +00:00
mccallum
04bedab012 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1571 72102866-910b-0410-8b05-ffd578937521
1996-05-28 18:49:44 +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
b4cbd76ea3 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1569 72102866-910b-0410-8b05-ffd578937521
1996-05-28 18:33:00 +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
bca24d5f42 (SRCS): Added basic.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1567 72102866-910b-0410-8b05-ffd578937521
1996-05-28 18:21:09 +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
9f4e247b78 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1564 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:23:10 +00:00
mccallum
75ff5d3626 (dir): Make it an absolute path, instead of relative.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1563 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:22:41 +00:00
mccallum
457656b580 New file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1562 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:13:18 +00:00
mccallum
68e8439a46 (DIST_FILES): Added README.ucblib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1561 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:13:05 +00:00
mccallum
ab24649a50 Remove "Object (GNUExtentions)" Category. We no longer use Object; we
use NSObject.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1560 72102866-910b-0410-8b05-ffd578937521
1996-05-27 15:10:24 +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
ac67f4f20b Include NSString functions only if compiling in Objective-C mode
(using "#ifdef __OBJC__").


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1549 72102866-910b-0410-8b05-ffd578937521
1996-05-27 13:53:05 +00:00
mccallum
d08bfbd2ec Say that the objc patch will be part of gcc 2.8.0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1548 72102866-910b-0410-8b05-ffd578937521
1996-05-22 10:56:47 +00:00
mccallum
1cf7ea46af Make diffs of the Makefile-generated snapshot files, not the CVS repository.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1547 72102866-910b-0410-8b05-ffd578937521
1996-05-16 02:11:23 +00:00
mccallum
10c0067161 Changed from roland's version to something that makes sense for gstep-base.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1546 72102866-910b-0410-8b05-ffd578937521
1996-05-16 01:49:42 +00:00
mccallum
c78c650c7c 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
mccallum
d58a9ba29f *** 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
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
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