Commit graph

253 commits

Author SHA1 Message Date
CaS
3a56cda1ce 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
ayers
cdbaa778fc * 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
ayers
823657d231 * 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
CaS
b596a8fc61 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
CaS
96c30f4709 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
CaS
082f9a65f2 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
arobert
dbdfcfab37 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
ayers
042f318374 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
        (GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
        Deprecate.
        (GSGetMethod): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19486 72102866-910b-0410-8b05-ffd578937521
2004-06-08 16:52:34 +00:00
ayers
8ddab500c2 (BDBGPrintf): Add space before last comma in macro older
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19474 72102866-910b-0410-8b05-ffd578937521
2004-06-06 20:28:57 +00:00
ayers
5c3b9d8740 (GSObjCAddClassBehavior): Add call to
GSFlushMethodCacheForClass after adding behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
2004-06-06 13:49:02 +00:00
ayers
3f3e4fa1da (GSGetClassMethodNotInherited): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19470 72102866-910b-0410-8b05-ffd578937521
2004-06-06 12:14:00 +00:00
ayers
113c981b63 * Source/Additions/GSObjCRuntime.m
(GSObjCMethodNames): Unify implementation for both runtimes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19467 72102866-910b-0410-8b05-ffd578937521
2004-06-05 22:48:40 +00:00
ayers
70e3d2d11c (GSObjCMethodNames, search_for_method_in_class, GSObjCAddMethods)
(search_for_method_in_class, GSObjCAddClassBehavior): Use
	GSMethod and GSMethodList types instead of pointers to runtime
	structures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19466 72102866-910b-0410-8b05-ffd578937521
2004-06-05 21:11:00 +00:00
ayers
a53541a76b * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
	(GSMethodList): Define new type.
	(GSAllocMethodList, GSAppendMethodToList,
	* GSRemoveMethodFromList)
	(GSMethodListForSelector, GSMethodFromList)
	(GSAddMethodList, GSRemoveMethodList): New functions.
	* Testing/GNUmakefile
	* Testing/gsbehavior.m: New tests.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19464 72102866-910b-0410-8b05-ffd578937521
2004-06-05 13:54:26 +00:00
ayers
adcb9c12d5 (OBJC_VERSION): Move define to where it is needed.
(Runtime documenation references): Update links.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19458 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:58:36 +00:00
ayers
cf3354b37f * Source/Additions/GSObjCRuntime.m (BDBGPrintf) New macro.
(GSObjCAddClassBehavior, GSObjCAddMethods): Use new macro.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19457 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:42:13 +00:00
CaS
459c2d3c89 Removed debug lines accidentally left in last modification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19433 72102866-910b-0410-8b05-ffd578937521
2004-06-01 12:19:04 +00:00
CaS
e0b14a9d4d Improve handling of character sets in multipart/form-data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19428 72102866-910b-0410-8b05-ffd578937521
2004-05-30 09:05:10 +00:00
CaS
2250683c03 Oops fix swapped arguments creating excess data log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19402 72102866-910b-0410-8b05-ffd578937521
2004-05-26 16:55:10 +00:00
CaS
6dca288a19 Fix problems defineing types on ssystems where they already exist as
typedefs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19401 72102866-910b-0410-8b05-ffd578937521
2004-05-26 13:45:37 +00:00
CaS
fa9ddd22c8 Fixed corruption in comment pointed out by David Ayers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19371 72102866-910b-0410-8b05-ffd578937521
2004-05-18 11:18:37 +00:00
CaS
02683f9999 Updates for recent versions of libxml2 and to add SAX2 functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19369 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:55:33 +00:00
CaS
bc0414e6ab Correct error in parameter type for cdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19350 72102866-910b-0410-8b05-ffd578937521
2004-05-16 13:26:32 +00:00
ayers
bd51b8caea * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions//GSObjCRuntime.m
	(GSProtocolFromName): New function.
	(GSRegisterProtocol): Ditto.
	(gs_string_hash): New internal function.
	(gs_find_protocol_named_in_protocol_list): Ditto.
	(gs_find_protocol_named): Ditto.
	(gs_init_protocol_lock): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19274 72102866-910b-0410-8b05-ffd578937521
2004-05-09 19:29:16 +00:00
ayers
c415f0628a * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m:
(GSClassList): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19264 72102866-910b-0410-8b05-ffd578937521
2004-05-07 16:26:50 +00:00
ayers
30b5b57280 * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m
(GSAllocateMutexAt): New function.
        (_GSObjCRuntimeInitializer): Define local support class.

        * Headers/Additions/GNUstepBase/objc-gnu2next.h: Fixed minor
        whitespace issues.
        (objc_mutex_t, objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Declare
        for the NeXT runtime.
        * Source/Additions/GSNextRuntime.m
        (objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Implement for NeXT runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19249 72102866-910b-0410-8b05-ffd578937521
2004-05-06 15:25:01 +00:00
CaS
3ef2287830 Minor documentation and readability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19199 72102866-910b-0410-8b05-ffd578937521
2004-04-27 11:55:34 +00:00
ayers
d8012f989f * Source/Additions/GSLock.m ([GSLazyLock -init])
([GSLazyRecursiveLock -init]): Always invoke supers init
        so dealloc does not fail on Cocoa.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19175 72102866-910b-0410-8b05-ffd578937521
2004-04-23 13:14:32 +00:00
alexm
505a890ec2 (GSToUnicode): In an utf8 sequence, check that the continuation bytes are valid continuation bytes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19105 72102866-910b-0410-8b05-ffd578937521
2004-04-14 16:23:58 +00:00
CaS
23a8363ab1 Improve warning logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19056 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:17:52 +00:00
CaS
d0520e36a2 Improve error logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19055 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:14:33 +00:00
CaS
61acb585bb NSUserDefaults fix for read-only filesystem. Comment type fixes in GSXML.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19034 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:27:32 +00:00
CaS
1a0cf15c79 Support outgoing connections bound to a specific local address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18953 72102866-910b-0410-8b05-ffd578937521
2004-03-29 14:53:37 +00:00
CaS
e845237c55 Minor documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18938 72102866-910b-0410-8b05-ffd578937521
2004-03-28 11:13:36 +00:00
CaS
ca3d4a1a01 Added xslt support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18935 72102866-910b-0410-8b05-ffd578937521
2004-03-28 04:42:11 +00:00
CaS
bd1a02569a Moved uudecode/uuencode to category of nsdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18838 72102866-910b-0410-8b05-ffd578937521
2004-03-12 15:49:08 +00:00
CaS
a4b75cc267 fix error in uuencoding
CVr: ----------------------------------------------------------------------


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18810 72102866-910b-0410-8b05-ffd578937521
2004-03-09 12:16:16 +00:00
ayers
7c83bf60b3 * Headers/Additions/GNUstepBase/GSCategories.h:
* Source/Additions/GSCompatibility.m (GSCurrentThread) Implement
        and declare for non *-gnu-*.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18663 72102866-910b-0410-8b05-ffd578937521
2004-02-25 13:57:59 +00:00
CaS
8584d19437 Buffer overflow fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18645 72102866-910b-0410-8b05-ffd578937521
2004-02-24 14:14:26 +00:00
CaS
892b775251 Support x-uuencode content transfer encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18627 72102866-910b-0410-8b05-ffd578937521
2004-02-19 11:21:46 +00:00
CaS
71e24fc732 Added basic uuencoding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18626 72102866-910b-0410-8b05-ffd578937521
2004-02-19 10:20:08 +00:00
ayers
d8d76a88da * Source/Additions/Unicode.m (GetDefEncoding): Replace
NSKoreanEUCEncoding with NSKoreanEUCStringEncoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18615 72102866-910b-0410-8b05-ffd578937521
2004-02-18 11:28:14 +00:00
fedor
64e9b9289e More flexible default encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18612 72102866-910b-0410-8b05-ffd578937521
2004-02-18 04:03:24 +00:00
alexm
7ddfe3e3df Remove uses of the 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18534 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:14:00 +00:00
CaS
768669968c Improve method naming consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18520 72102866-910b-0410-8b05-ffd578937521
2004-02-01 12:35:35 +00:00
CaS
f88e119c36 Inital commit of partial implementation of MacOS-X compatible keyed archiving.
Experimental ... archiving is implemented aand tested for xml format output.
Unarchiving is not yet implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18450 72102866-910b-0410-8b05-ffd578937521
2004-01-22 09:37:07 +00:00
fedor
107b64be5e Include fixes for darwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18413 72102866-910b-0410-8b05-ffd578937521
2004-01-15 04:07:08 +00:00
fedor
7927c5abea Add ifdefs to include only on MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18395 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:44:48 +00:00
fedor
d7651856b9 Minor changes for baseadd compilation and compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18394 72102866-910b-0410-8b05-ffd578937521
2004-01-12 19:42:18 +00:00
CaS
785c2ed63c Tidy last NSArray change with minor performance tweak, apply bugfix for code
attempting to deal with minor problems in mime data being parsed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18336 72102866-910b-0410-8b05-ffd578937521
2004-01-08 08:07:29 +00:00