Commit graph

1107 commits

Author SHA1 Message Date
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