Commit graph

6007 commits

Author SHA1 Message Date
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
Richard Frith-Macdonald
0dee75786f Remove debug statement accidentally left in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19610 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:27:10 +00:00
Richard Frith-Macdonald
f138ea1d07 SAX2 fixes and a minor path fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19609 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:26:01 +00:00
Richard Frith-Macdonald
8db8f2791e Remove some redundant code for clarity, Implement missing method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19607 72102866-910b-0410-8b05-ffd578937521
2004-06-24 04:17:56 +00:00
Adrian Robert
f2142fbc73 some updates in Tools: mostly gsdoc comments, but also fixed option handling in autogsdoc and improved font setting for HTML output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19594 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:55:44 +00:00
Adrian Robert
4170d5d4ce small wording changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19593 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:53:20 +00:00
Adrian Robert
8fdb39913b change instanceVarsAtEnd option to default to YES as stated in help instructions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19592 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:52:59 +00:00
Adrian Robert
68a4ff53bc add/improve gsdoc comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19591 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:52:44 +00:00
Adrian Robert
08397a57cf change default font for main HTML content to include backups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19590 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:52:21 +00:00
Adrian Robert
95f2edc597 added GSdoc comments to header and source files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19589 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:41:34 +00:00