CaS
0708409c1b
Tidy up use of white space so we have it after if/for/while and not after (
...
or before ) or padding at end of line.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
CaS
c66073233b
Fix for xml on mingw32
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20736 72102866-910b-0410-8b05-ffd578937521
2005-02-16 17:40:48 +00:00
fedor
db8fe0f10f
* Source/NSTimeZone (NSInternalAbbrevDict): Remove class
...
(+abbreviationDictionary): Implement from new one-to-one plist.
* NStimeZones/NSTimeZone.tar: Added abbreviations.plist. Regenerated.
* Testing/nstimezone.m: New tests.
* Source/Additions/GNUmakefile: Remove duplicate Unicode.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20476 72102866-910b-0410-8b05-ffd578937521
2004-12-21 23:20:32 +00:00
dwetzel
efda8d7aa0
added Additions_OBJC_FILES += Unicode.m on apple
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20473 72102866-910b-0410-8b05-ffd578937521
2004-12-21 19:43:59 +00:00
CaS
b7474e3363
Fix some indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20467 72102866-910b-0410-8b05-ffd578937521
2004-12-19 05:59:47 +00:00
dwetzel
6283d20653
* Source/Additions/GSCategories.m ([NSMutableString
...
-replaceString:withString:]): Rewrite to work again.
[tmp replaceString:@"&" withString:@"&"]; Did NOT work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20466 72102866-910b-0410-8b05-ffd578937521
2004-12-18 21:31:26 +00:00
fedor
531dd954e2
* Changes so additions compiles on older Mac OS X 10.1.5
...
* Source/Additions/GCArray.m (-copyWithZone:): Use more standard
array initialization method.
(mutableCopyWithZone:, [GCMutableArray -copyWithZone:],
[GCMutableArray -mutableCopyWithZone:]): Idem.
* Source/Additions/GSCategories.m ([NSData -hexadecimalRepresentation]):
Use identically functioning, but older, standard data initialization.
* Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to use older, standard
methods.
* Tools/AGSHtml.m ([AGSHtml -outputNode:to:]): Use GNUstep addition
method to replace string.
* Tools/autogsdoc.m (main): Idem.
(Patch from Markus Hitter).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20448 72102866-910b-0410-8b05-ffd578937521
2004-12-13 04:53:01 +00:00
CaS
3294ed0aab
Slight performance improvement (better hash), plus tweaks for 64bit processors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20275 72102866-910b-0410-8b05-ffd578937521
2004-10-31 13:02:58 +00:00
ratmice
b65f2e35c7
2004-10-29 Matt Rice <ratmice@yahoo.com>
...
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass,
GSObjCDirectSubclassesOfClass): skip meta classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20268 72102866-910b-0410-8b05-ffd578937521
2004-10-29 19:31:06 +00:00
CaS
4d59f2e002
Implement abort of parsing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20255 72102866-910b-0410-8b05-ffd578937521
2004-10-24 12:29:31 +00:00
ratmice
be09199907
2004-10-17 Matt Rice <ratmice@yahoo.com
...
* Source/objc-load.m (objc_load_module): resolve class links under GNU
runtime
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
(GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
New functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
CaS
95daaf5f4c
XML parsing bughfix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20221 72102866-910b-0410-8b05-ffd578937521
2004-10-13 16:46:09 +00:00
CaS
f349c02156
Fix crsh when trimming space containing unicode character with high byte non zero.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20196 72102866-910b-0410-8b05-ffd578937521
2004-10-05 08:32:18 +00:00
CaS
4cb14033bd
Add a couple of methods for dealing with xml escape sequences
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20189 72102866-910b-0410-8b05-ffd578937521
2004-10-03 09:11:15 +00:00
alexm
cf50088545
* Source/NSDistantObject.m: Make proxyLocation an enum tag, not a
...
variable.
* Source/NSFileManager.m (custom_strdup, append_file_to_path): Make
static.
* Source/NSString.m (-isEqual:): Clarify documentation.
* Source/NSUnarchiver.m (mapClassObject, mapClassName): Make static.
* Source/Additions/Unicode.m (GetDefEncoding): Add missing void in
the prototype.
* Tools/make_strings/make_strings.m (ParseFile): Remove spurious
static on the nested function add_arg_ch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20163 72102866-910b-0410-8b05-ffd578937521
2004-09-27 21:32:45 +00:00
CaS
65b5090ee6
Fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20127 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:16:22 +00:00
CaS
318ef1cd5d
Fix memory leak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20126 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:14:26 +00:00
ayers
fa4594e1f0
Fix comments wrt runtime qualifier.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20075 72102866-910b-0410-8b05-ffd578937521
2004-09-16 16:13:16 +00:00
ayers
61bc272015
* Source/Additions/GSObjCRuntime.m
...
(GSAppendMethodToList): Copy type information for the NeXT runtime.
(GSRemoveMethodFromList): Add comment about potential minor leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20074 72102866-910b-0410-8b05-ffd578937521
2004-09-16 15:43:40 +00:00
CaS
18a4d7e1aa
Improve charset mappings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19921 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:28:27 +00:00
CaS
8c85a94561
Add a missing charset
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19920 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:23:15 +00:00
CaS
d3f69e8740
Add content location methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19903 72102866-910b-0410-8b05-ffd578937521
2004-08-23 14:29:50 +00:00
ayers
0e784f41d8
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
...
Ignore structure names.
* Testing/nsmethodsignature.m: Added test for nested
structures. Reactivated test for signatures from older gcc
versions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19891 72102866-910b-0410-8b05-ffd578937521
2004-08-20 12:58:04 +00:00
ayers
eb84dff7b8
* Headers/Additions/GNUstepBase/GSObjCRuntime.h
...
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
New Function.
(gs_skip_type_qualifier_and_layout_info): Ditto.
* Source/callframe.m (callframe_do_call): Use
GSSelectorTypesMatch instead of sel_types_match.
* Source/cifframe.m (cifframe_do_call): Ditto.
* Source/mframe.m (mframe_do_call): Ditto.
* Source/GSFFCallInvocation.m (GSInvocationCallback): Use
NSDebugFLog to NSWarnFLog.
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Ditto.
* Testing/nsmethodsignature.m: Use GSSelectorTypesMatch
instead of sel_types_match. Test it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19886 72102866-910b-0410-8b05-ffd578937521
2004-08-19 16:19:48 +00:00
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