Use NSZoneFromPointer() instead of NSZoneFromPtr().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2002 72102866-910b-0410-8b05-ffd578937521
separators longer than a single character and in other cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1998 72102866-910b-0410-8b05-ffd578937521
instead of the removed method -_cStringContents.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1995 72102866-910b-0410-8b05-ffd578937521
nameformatVersion:version]): Better commented.
([Decoder -_coderSubstituteObject:atReference:]): New method.
([Decoder -_coderPushRootObjectTable]): Better commented.
([Decoder -finishDecodingInterconnectedObjects]): Implement an
approach to root-object-based -awakeAfterUsingCoder.
([Decoder -decodeObjectAt:anObjPtr:name]): Send -awakeAfterUsingCoder:
here. First see if the object actually responds to it, then send it
and make the object substitution if necessary. Also make the
appropriate substitution in Decoder's internal tables matching
references numbers to objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1988 72102866-910b-0410-8b05-ffd578937521
for clarity with variable by the same old name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1987 72102866-910b-0410-8b05-ffd578937521
([NSString +initialize]): Don't use static variable to prevent getting
run twice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1942 72102866-910b-0410-8b05-ffd578937521
that we processed all arguments and dismissed the ConnectedCoder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1929 72102866-910b-0410-8b05-ffd578937521
unused variables MS and DS. Avoid warning by not trying to sprintf()
a zero-length string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1911 72102866-910b-0410-8b05-ffd578937521
(install): Don't install include/config.h specially, it's now done
with the rest of the HEADERS_INSTALL files.
(ALL_CPPFLAGS): Don't pass `-include include/config.h' since
include/preface.h now does that.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1907 72102866-910b-0410-8b05-ffd578937521
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
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
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
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
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
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
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
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
<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
(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
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
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
([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
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
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
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
(include/config.h): New dependancy.
(ALL_CPPFLAGS): Added -include argument to have gcc look at
include/config.h. It is no longer included in include/preface.h
because other packages that use the installed Base Library may have
their own ideas about these macro values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1768 72102866-910b-0410-8b05-ffd578937521
([NSObject -error:]): Use objc_verror(), not _objc_error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1736 72102866-910b-0410-8b05-ffd578937521
runtime change, use objc_realloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1726 72102866-910b-0410-8b05-ffd578937521
change, use objc_malloc as a function, not a function pointer.
STRING_ADD_CHAR): Likewise, with objc_realloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1725 72102866-910b-0410-8b05-ffd578937521
change, use objc_malloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1724 72102866-910b-0410-8b05-ffd578937521
change, use objc_malloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1723 72102866-910b-0410-8b05-ffd578937521
Objective C runtime change, use objc_malloc as a function, not a
function pointer.
([Storage -shallowCopy]): Likewise.
([Storage -read:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1722 72102866-910b-0410-8b05-ffd578937521
Objective C runtime change, use objc_malloc as a function, not a
function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1721 72102866-910b-0410-8b05-ffd578937521
runtime change, use objc_malloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1720 72102866-910b-0410-8b05-ffd578937521
runtime change, use objc_malloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1719 72102866-910b-0410-8b05-ffd578937521
change, use objc_malloc as a function, not a function pointer.
([NSAutoreleasePool -addObject:]): Likewise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1718 72102866-910b-0410-8b05-ffd578937521
change, use objc_malloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1717 72102866-910b-0410-8b05-ffd578937521
change, use objc_malloc as a function, not a function pointer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1716 72102866-910b-0410-8b05-ffd578937521
string class; return the same mutable/immutable string class as self.
This also simplies the code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1707 72102866-910b-0410-8b05-ffd578937521
method with more efficient implementation. (From Eric Norum.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1706 72102866-910b-0410-8b05-ffd578937521
(Changes from Eric Norum <Eric.Norum@usask.ca>.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1705 72102866-910b-0410-8b05-ffd578937521
This is needed by NSCharacterSet, so it knows where to find the char
set data files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1702 72102866-910b-0410-8b05-ffd578937521
now so we can get it working; (we'll fix everything for Unichar's in
the next release).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1690 72102866-910b-0410-8b05-ffd578937521
([NSCharacterSet +initialize]): New method.
([NSCharacterSet _bitmapForSet:number:]): Return set from cache if
available, otherwise find bitmap file and add to cache. All callers
changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1667 72102866-910b-0410-8b05-ffd578937521
`$(includedir)/objc' the same way we do for `$(includedir)/Foundation'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1665 72102866-910b-0410-8b05-ffd578937521
(Reported by Eric Norum <Eric.Norum@usask.ca>.)
([NSString -rangeOfString:aStringoptions:maskrange:aRange]):
Implemented. (By Eric Norum.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1664 72102866-910b-0410-8b05-ffd578937521
`short' return values; don't use my (possibly wrong) guesses.
(retframe_char): New nested function.
(retframe_short): New nested function.
(mframe_do_call) [_C_CHR, _C_UCHR]: Use retframe_char.
[_C_SHT, _C_USHT]: Use retframe_short.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1659 72102866-910b-0410-8b05-ffd578937521
(CFLAGS_SHAREDLIB_SOLARIS): New variable.
(CFLAGS_SHAREDLIB): New variable set from configure.
(lib$(LIBRARY_NAME).so.$(VERSION)): Use it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1615 72102866-910b-0410-8b05-ffd578937521
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
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