Commit graph

5816 commits

Author SHA1 Message Date
Richard Frith-Macdonald
885883dcbe Minor optimisation of hahs and improved output for old style plists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19863 72102866-910b-0410-8b05-ffd578937521
2004-08-11 05:24:55 +00:00
Richard Frith-Macdonald
6d82d060ec Use message ports if the runtime setting is for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19842 72102866-910b-0410-8b05-ffd578937521
2004-08-08 14:50:43 +00:00
Alexander Malmberg
d4564c1581 Add default for switching between NSSocketPort and NSMessagePort as the default NSPort class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19832 72102866-910b-0410-8b05-ffd578937521
2004-08-07 00:44:15 +00:00
Richard Frith-Macdonald
303acd3d68 When parsing documents with non-standard charset, set the charset actually
used in the content type so that we can unparse the data properly too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19831 72102866-910b-0410-8b05-ffd578937521
2004-08-06 13:26:25 +00:00
Alexander Malmberg
b31c59f874 Fix forwarding of methods not in the proxies protocl if a protocol is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19826 72102866-910b-0410-8b05-ffd578937521
2004-08-05 00:03:30 +00:00
David Ayers
95ce8fe2b2 * Testing/nsmethodsignature.m: New test.
* Testing/GNUmakefile: Add new test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19825 72102866-910b-0410-8b05-ffd578937521
2004-08-04 15:06:43 +00:00
Adrian Robert
a22567ad5d Headers/Foundation/*.h: cleanups and fixes to previous documentation suggested by Alexander Malmberg; Tools/AGSHtml.m: change default content font to 'serif'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19819 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:16:01 +00:00
Adrian Robert
edd70b6c70 simpler font default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19818 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:12:19 +00:00
Adrian Robert
966b2cb0c9 some cleanups and clarifications to documentation just added, suggested by Alexander Malmberg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19817 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:10:58 +00:00
Alexander Malmberg
1e37b28748 Fix handling of plists and strings files in non-ascii encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19805 72102866-910b-0410-8b05-ffd578937521
2004-07-30 21:36:36 +00:00
Adrian Robert
416df43db1 completed gsdoc of functions, types, constants, and variables in source; added Relax-NG version of gsdoc DTD
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19799 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:36:35 +00:00
Adrian Robert
a215f315c3 adding Relax-NG version of GSDoc schema
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19798 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:31:30 +00:00
Adrian Robert
0d31eca394 documented functions, types, constants, and variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +00:00
Adrian Robert
b8a296b3df got rid of accidentally-repeated section
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19796 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:27:39 +00:00
Adrian Robert
c46e386016 NSZone is a struct not a class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19795 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:27:02 +00:00
Adrian Robert
5b3216e811 some updates to discussion of gsdoc markup in source code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19794 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:25:36 +00:00
David Ayers
d6c274320f * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m: Make ObjC++ safe.
        (GSObjCSuper, GSObjCIsKindOf, GSNameFromClass)
        (GSTypesFromSelector, GSGetMethod, GSFlushMethodCacheForClass)
        (GSCGetInstanceVariableDefinition)
        (GSObjCGetInstanceVariableDefinition)
        (GSMethodListForSelector, GSAddMethodList, GSRemoveMethodList)
        (GSObjCVersion, GSObjCName, GSObjCSelectorName)
        (GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited)
        (search_for_method_in_class, GSObjCAddMethods): Replace class
        and this with cls or sel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19790 72102866-910b-0410-8b05-ffd578937521
2004-07-29 12:55:05 +00:00
Richard Frith-Macdonald
c5849bb8dd Fix for inefficiency/leak in emptyPool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19789 72102866-910b-0410-8b05-ffd578937521
2004-07-29 10:54:55 +00:00
Wim (Willem Rein) Oudshoorn
84780b84a2 ([GSFileHandle -gcFinalize]): if __MINGW__ also
close ordinary file descriptor, not only the socket.
([GSFileHandle -closeFile]): in __MINGW__ defined block:
changed test of !isStandardFile to isSocket, and make sure that the
ordinary file descriptor is also closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19784 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:36:09 +00:00
Wim (Willem Rein) Oudshoorn
6dacaa30eb updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19783 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:35:44 +00:00
Richard Frith-Macdonald
af7d306481 Tweak old style property list output format. tab, cr, nl characters in a
quoteed string should not need escaping, thoiugh escaped versions need to
be understood on input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19768 72102866-910b-0410-8b05-ffd578937521
2004-07-22 14:27:39 +00:00
David Ayers
9bcaae0c5c * Source/Additions/GSObjCRuntime.m
(gs_revert_selector_names_in_list): New function.
	(GSRemoveMethodList): Also revert selectors for first list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19759 72102866-910b-0410-8b05-ffd578937521
2004-07-21 18:58:21 +00:00
Adrian Robert
15b47ef442 (Tools/autogsdoc.m) add 'Protocols' index to upper-left panel in HTML frames docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19753 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:56:12 +00:00
Adrian Robert
48e193e01f changed title to include GNUstep, not just objc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19752 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:53:42 +00:00
Adrian Robert
234b72504a include links to PDF documentation generated from texinfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19751 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:53:16 +00:00
Adrian Robert
34e0cb6514 add 'Protocol' to list of indices listed in upper left panel in HTML frames docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19750 72102866-910b-0410-8b05-ffd578937521
2004-07-20 16:52:40 +00:00
Richard Frith-Macdonald
d08e9b2f90 Minor locale patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19746 72102866-910b-0410-8b05-ffd578937521
2004-07-18 10:48:19 +00:00
Richard Frith-Macdonald
20f3612fce Regenerated NSTimeZones.tar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19739 72102866-910b-0410-8b05-ffd578937521
2004-07-15 09:09:33 +00:00
Adam Fedor
2feb195024 Use generic -with-ffi-{include,library} for finding ffi libraries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19735 72102866-910b-0410-8b05-ffd578937521
2004-07-15 03:09:21 +00:00
Alexander Malmberg
b7d1039ea8 Use memmove instead of memcpy for potentially overlapping moves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19730 72102866-910b-0410-8b05-ffd578937521
2004-07-13 14:11:27 +00:00
Richard Frith-Macdonald
de8c918e37 Use uppercase 'U' in unicode escape sequences.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19709 72102866-910b-0410-8b05-ffd578937521
2004-07-10 19:38:41 +00:00
Adam Fedor
668efd29c8 Remove solaris warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19703 72102866-910b-0410-8b05-ffd578937521
2004-07-10 03:19:56 +00:00
Richard Frith-Macdonald
86694004a9 Fix printf format bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19698 72102866-910b-0410-8b05-ffd578937521
2004-07-09 11:58:44 +00:00
Richard Frith-Macdonald
ae3f5259a3 Use latin1 as default encoding.
Be strict about converting ascii to unicode ... check that it really is ascii.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19685 72102866-910b-0410-8b05-ffd578937521
2004-07-05 15:42:32 +00:00
Adrian Robert
948b5dfb97 added several new texi files that I forgot to commit before with new manual update: AdvancedMessaging, BaseLibrary, Compliance, ExceptionHandling, GSDoc; removed outdated files that I forgot to remove: AdvancedTopics
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19679 72102866-910b-0410-8b05-ffd578937521
2004-07-04 14:24:17 +00:00
Richard Frith-Macdonald
49d11595cd Add a couple of MacOS-X methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19678 72102866-910b-0410-8b05-ffd578937521
2004-07-04 09:25:50 +00:00
Richard Frith-Macdonald
fe0bcb1de3 Bugfix generating unicode escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19677 72102866-910b-0410-8b05-ffd578937521
2004-07-03 17:48:35 +00:00
Richard Frith-Macdonald
bab5235a5d Document the fact that -propertyList returns mutable containers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19674 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:08:24 +00:00
Richard Frith-Macdonald
a3d7978be3 Make decoded property list containers mutable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19672 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:02:49 +00:00
Richard Frith-Macdonald
2840feeede Make mutable copy of dictionary and modify the copy rather than trying to
modify the original.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19671 72102866-910b-0410-8b05-ffd578937521
2004-07-03 08:46:16 +00:00
Richard Frith-Macdonald
943b965ef9 A lot of property list tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19669 72102866-910b-0410-8b05-ffd578937521
2004-07-02 10:37:54 +00:00
David Ayers
1e7e1572e2 * Headers/Foundation/NSMethodSignature.h
* Source/NSMethodSignature.m
        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m: Revert last mframe patch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
2004-07-02 08:04:54 +00:00
Fred Kiefer
8116e182ce Applied NSTimeZone stucture packing patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19666 72102866-910b-0410-8b05-ffd578937521
2004-07-01 23:24:35 +00:00
David Ayers
8712b7b537 * Headers/Foundation/NSMethodSignature.h
(_internalMethodTypes): New instance variable.
        * Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
        the runtime signature separately from the mframe signature.
        Document.
        ([-dealloc]): Free new instance variable.
        ([-methodInfo]): Use _internalMethodTypes to build argument
        information.

        * Source/GSFFCallInvocation.m (GSInvocationCallback)
        * Source/GSFFIInvocation.m (GSInvocationCallback): Use the
        selector registered in the runtime for the receiver instead of
        the constructed selector from the stack to avoid mismatches in the
        runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:38:19 +00:00
Richard Frith-Macdonald
a0b07ade13 Added a couple of MacOS-X compatibility methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19651 72102866-910b-0410-8b05-ffd578937521
2004-06-29 10:31:05 +00:00
Richard Frith-Macdonald
0f34bb51fc Relax check for bad characters ... not a concern if the string data is
identifiably unicode (ie file begins with unicode BOM) and will therefore
not be interpreted as data in the default encoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19629 72102866-910b-0410-8b05-ffd578937521
2004-06-27 09:54:41 +00:00
Richard Frith-Macdonald
635e5188fd Make property list validation stricter ... should be ascii data with
escape sequences for anything else, otherwise it would be non-portable
between systems with different default character encodings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19628 72102866-910b-0410-8b05-ffd578937521
2004-06-27 09:07:36 +00:00
Alexander Malmberg
587254b3f9 (read_only): Remove.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19625 72102866-910b-0410-8b05-ffd578937521
2004-06-26 15:17:16 +00:00
Richard Frith-Macdonald
d586b6f549 Add some optional sanity check code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19616 72102866-910b-0410-8b05-ffd578937521
2004-06-25 09:06:02 +00:00
Richard Frith-Macdonald
97b8ebd06a Fix bug removing from index set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19615 72102866-910b-0410-8b05-ffd578937521
2004-06-25 06:53:15 +00:00