Richard Frith-Macdonald
2a9f4ec7c0
Apply modified patch to support windows native event handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20785 72102866-910b-0410-8b05-ffd578937521
2005-02-23 16:05:09 +00:00
Richard Frith-Macdonald
db7b22a4fb
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
Richard Frith-Macdonald
bfe4ac4b9c
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
Adam Fedor
4ea16407af
* 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
Dave Wetzel
ae695c0e51
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
Richard Frith-Macdonald
2ce3399dc9
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
Dave Wetzel
993acedc65
* 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
Adam Fedor
cf410d2149
* 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
Richard Frith-Macdonald
7c7c90b89c
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
Matt Rice
06a018b3db
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
Richard Frith-Macdonald
0bf0a5d5e4
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
Matt Rice
95954a9914
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
Richard Frith-Macdonald
1edd85f95f
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
Richard Frith-Macdonald
60db720863
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
Richard Frith-Macdonald
fe1c5e1890
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
Alexander Malmberg
c668c9d96a
* 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
Richard Frith-Macdonald
c11628ed31
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
Richard Frith-Macdonald
cfe2887dfc
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
David Ayers
de0c0eb2bb
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
David Ayers
e8c51e43f5
* 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
Richard Frith-Macdonald
ec2968164d
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
Richard Frith-Macdonald
6ea8d6b00d
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
Richard Frith-Macdonald
71f88092d1
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
David Ayers
af75d36e34
* 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
David Ayers
977af9c25e
* 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
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
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
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
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
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
Adrian Robert
bda35fceb3
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
David Ayers
d966e21e26
* 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
David Ayers
7f6f586bbd
(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
David Ayers
28d280e337
(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
David Ayers
4bc5a26927
(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
David Ayers
b54f0a878b
* 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
David Ayers
4734fa0a7b
(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
David Ayers
5ec2ddbd0f
* 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
David Ayers
f554633dce
(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
David Ayers
bf51bd1b9b
* 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
Richard Frith-Macdonald
f9e9f2feb6
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
Richard Frith-Macdonald
955690403e
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
Richard Frith-Macdonald
c7be1f8b37
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
Richard Frith-Macdonald
70d9256a67
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
Richard Frith-Macdonald
439dfdeeda
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
Richard Frith-Macdonald
cd488ad156
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
Richard Frith-Macdonald
6f20b2f310
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
David Ayers
3423dcf309
* 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
David Ayers
7cdd68b29e
* 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