Commit graph

493 commits

Author SHA1 Message Date
rfm
c2e2b103ca Fix parse result error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22972 72102866-910b-0410-8b05-ffd578937521
2006-05-23 09:05:50 +00:00
rfm
a1c4536b99 Bugfix byte swapping
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22970 72102866-910b-0410-8b05-ffd578937521
2006-05-22 13:01:00 +00:00
rfm
85b1050160 Avoid some gcc-4.1 compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22932 72102866-910b-0410-8b05-ffd578937521
2006-05-15 12:07:35 +00:00
rfm
245ceac303 NSString restructuring and bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22924 72102866-910b-0410-8b05-ffd578937521
2006-05-14 18:01:13 +00:00
rfm
627517b6c3 Minor tweak to complete parsing earlier if content length is zero
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22885 72102866-910b-0410-8b05-ffd578937521
2006-05-10 04:45:57 +00:00
rfm
075d73c8b8 Improve exception info if XMLRPC parse fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22836 72102866-910b-0410-8b05-ffd578937521
2006-04-28 11:06:16 +00:00
rfm
c16a063c31 Handle result of parse method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22835 72102866-910b-0410-8b05-ffd578937521
2006-04-28 10:57:47 +00:00
rfm
a9c7f6bdd1 Fix a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22748 72102866-910b-0410-8b05-ffd578937521
2006-04-04 17:21:18 +00:00
rfm
2069f945b6 Minor improvement for ease of debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22730 72102866-910b-0410-8b05-ffd578937521
2006-03-31 07:41:34 +00:00
rfm
a88c6fbd98 obscure string bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22723 72102866-910b-0410-8b05-ffd578937521
2006-03-28 06:05:04 +00:00
rfm
2fb7a5de95 Make utf8 handling stricter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22714 72102866-910b-0410-8b05-ffd578937521
2006-03-26 11:55:56 +00:00
rfm
d77062ba88 Validate data returned by dataUsingEncoding:allowLossyConversion: for unicode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22713 72102866-910b-0410-8b05-ffd578937521
2006-03-26 11:34:47 +00:00
rfm
65e8986db1 Improve string validation .. check for invalid unicode characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22712 72102866-910b-0410-8b05-ffd578937521
2006-03-26 10:59:57 +00:00
rfm
638062ccd7 Clarify documentation a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22636 72102866-910b-0410-8b05-ffd578937521
2006-03-11 06:46:35 +00:00
rfm
1da85f67df Support unescaping#x and #X entities
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22623 72102866-910b-0410-8b05-ffd578937521
2006-03-08 18:14:42 +00:00
rfm
f2398378e0 Some cleanup in preparation for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22618 72102866-910b-0410-8b05-ffd578937521
2006-03-08 11:28:59 +00:00
rfm
988a86dda1 Add attempts at thread safety as long as different parsers are kept in
different threads.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22577 72102866-910b-0410-8b05-ffd578937521
2006-02-27 16:54:36 +00:00
rfm
7d3f438da0 Various bugfixes, portability fixes, and optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22576 72102866-910b-0410-8b05-ffd578937521
2006-02-27 09:35:19 +00:00
sheldon
3d88a096b9 Fixed bug which prevented finding locally cached DTDs on Win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22561 72102866-910b-0410-8b05-ffd578937521
2006-02-23 03:02:55 +00:00
rfm
85ebad0fef Fix parsing error for base64 eleents in xmlrpc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22529 72102866-910b-0410-8b05-ffd578937521
2006-02-22 06:11:25 +00:00
rfm
3503f70fa9 Minor 64bit processor update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22484 72102866-910b-0410-8b05-ffd578937521
2006-02-13 14:28:48 +00:00
rfm
e112662ba7 Improve transliteration in lossy characterset conversion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22399 72102866-910b-0410-8b05-ffd578937521
2006-02-01 06:18:41 +00:00
CaS
fa016e1015 Removed some old debug stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22330 72102866-910b-0410-8b05-ffd578937521
2006-01-18 17:01:06 +00:00
CaS
4769078463 Improve unicode fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22329 72102866-910b-0410-8b05-ffd578937521
2006-01-18 16:51:43 +00:00
CaS
5e2d547f94 Quick unicode fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22328 72102866-910b-0410-8b05-ffd578937521
2006-01-18 14:19:47 +00:00
CaS
f57ca76cba Fixes for 64bit systems .. mostly cosmetic avoidance of compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22282 72102866-910b-0410-8b05-ffd578937521
2006-01-10 10:29:11 +00:00
CaS
9d58357ce8 Bugfix ... remove illegal chars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22167 72102866-910b-0410-8b05-ffd578937521
2005-12-13 20:56:36 +00:00
CaS
4867bc5e57 Fix date/time parsing error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22166 72102866-910b-0410-8b05-ffd578937521
2005-12-13 06:46:42 +00:00
CaS
5af2d9d0a2 Spelling fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21962 72102866-910b-0410-8b05-ffd578937521
2005-11-06 13:53:40 +00:00
CaS
e6fd4ca0d1 mingw32 unicode fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21955 72102866-910b-0410-8b05-ffd578937521
2005-11-05 16:20:19 +00:00
CaS
fee3e814a4 mingw tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21952 72102866-910b-0410-8b05-ffd578937521
2005-11-05 06:22:15 +00:00
CaS
1278387465 Fix error encoding termination markup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21934 72102866-910b-0410-8b05-ffd578937521
2005-11-01 13:51:24 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
d74a6d29a3 Added convenience methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21754 72102866-910b-0410-8b05-ffd578937521
2005-09-28 09:47:31 +00:00
CaS
34b457b881 Fix documentation error (use of ampersand)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21742 72102866-910b-0410-8b05-ffd578937521
2005-09-23 14:18:32 +00:00
CaS
b6adfd8cf9 Make mime generation slightly more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21738 72102866-910b-0410-8b05-ffd578937521
2005-09-23 11:43:23 +00:00
CaS
7dea229787 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21518 72102866-910b-0410-8b05-ffd578937521
2005-07-23 12:30:21 +00:00
CaS
9b19828e9d Fix bug in escaping entities in fault message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21475 72102866-910b-0410-8b05-ffd578937521
2005-07-14 20:20:31 +00:00
CaS
f843cb8155 Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:48:37 +00:00
CaS
6d0751af3e Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
2005-07-01 17:31:07 +00:00
CaS
9ac16024f5 Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
2005-07-01 12:29:50 +00:00
fedor
376e495dad * Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
CaS
d6d5ace3a4 Improve determination of charset for xml data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21191 72102866-910b-0410-8b05-ffd578937521
2005-05-07 08:54:57 +00:00
CaS
ad198bec78 Try to be more tolerant handling text/xml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21189 72102866-910b-0410-8b05-ffd578937521
2005-05-04 17:19:11 +00:00
CaS
d37e439f79 iAdd workaround for a mail client bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21107 72102866-910b-0410-8b05-ffd578937521
2005-04-14 04:30:38 +00:00
CaS
1e9f91f2a6 Add comments suggested by David
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20964 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:40:37 +00:00
CaS
e7d9523a85 Add a load of charset aliases to make parsing more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20963 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:00:55 +00:00
CaS
3b50ab340e Removed iso-10646 ... after chacking with IANA I find it's a latin1 variant,
but it's not an alias for iso8859-1, so I assume it's a charset which doesn't
map to any encoding we support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20962 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:45:58 +00:00
CaS
3dd6095acd More charset/encoding fixes and improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20961 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:16:22 +00:00
CaS
f623ee61ba Tweak encoding mappings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20959 72102866-910b-0410-8b05-ffd578937521
2005-03-22 06:14:55 +00:00
CaS
d8337a42c7 Simplify automatic charset selection for performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20942 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:59:49 +00:00
CaS
bc1aa70ed4 Replace lost lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20941 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:51:52 +00:00
CaS
837f4a1ba5 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20939 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:16:15 +00:00
CaS
ed0d53c973 Tweak for buggy/intolerant base64 decoders ... ensure that bas64 encoded
sections are terminated with crlf even though the RFC does not require it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20914 72102866-910b-0410-8b05-ffd578937521
2005-03-16 14:38:04 +00:00
CaS
cad70d0991 Tidied GSFindNamedFile a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20912 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:43:25 +00:00
CaS
81aaeead0c Add new files to separate extension functions from main base library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20910 72102866-910b-0410-8b05-ffd578937521
2005-03-15 08:11:04 +00:00
CaS
edb678d5fe Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20909 72102866-910b-0410-8b05-ffd578937521
2005-03-15 06:36:21 +00:00
CaS
8f2b0c8bd2 Patch to port GSXMLRPC to MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20902 72102866-910b-0410-8b05-ffd578937521
2005-03-12 17:38:18 +00:00
CaS
3e4ebaab23 Some optimisation and argument validation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20897 72102866-910b-0410-8b05-ffd578937521
2005-03-11 12:58:54 +00:00
dwetzel
fb8158c3c5 Added setDefaultEncoding:
This is needed in GSWeb if you use utf-8 and faster than using a
String as encoding name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20893 72102866-910b-0410-8b05-ffd578937521
2005-03-11 09:12:53 +00:00
CaS
41c07070c3 Tidied for win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20846 72102866-910b-0410-8b05-ffd578937521
2005-03-05 06:03:03 +00:00
CaS
2a24fbacfc Correct position of an ifdef
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20845 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:04:25 +00:00
CaS
6904951cba Only build xmlrpc if we have libxml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20844 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:01:49 +00:00
CaS
2dcfcebcda Integrated XMLRPC support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20843 72102866-910b-0410-8b05-ffd578937521
2005-03-04 15:50:06 +00:00
CaS
a4219a7c74 KVC updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20828 72102866-910b-0410-8b05-ffd578937521
2005-03-02 11:46:21 +00:00
CaS
813f640a49 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
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
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
CaS
ba01b14ce2 Add method for consistency
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18320 72102866-910b-0410-8b05-ffd578937521
2004-01-05 18:28:18 +00:00
CaS
c4119b882c Minor incremental parsing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18200 72102866-910b-0410-8b05-ffd578937521
2003-11-25 13:19:41 +00:00
fedor
e74bcf1b96 Change KoreanEUCEncoding to KoreanEUCStringEncoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18134 72102866-910b-0410-8b05-ffd578937521
2003-11-24 04:18:50 +00:00
CaS
2d8e1932e7 Fixes for lazy locking on macos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18088 72102866-910b-0410-8b05-ffd578937521
2003-11-16 10:53:40 +00:00
ayers
49728ca894 Based on patches by Philip Moetteli
<Philip.Moetteli@tele2.ch>.
	* Headers/Additions/GNUstepBase/GSCategories.h: Added
	NSKoreanEUCEncoding.
	* Headers/Additions/GNUstepBase/GSLock.h
	* Headers/Additions/GNUstepBase/GSLocale.h: Guard includes for
	NeXT_Foundation_LIBRARY.
	* Source/Additions/GSLock.m: Include GNUstepBase/GNUstep.h.
	* Headers/Additions/GNUstepBase/GSCategories.h
	* Headers/Foundation/NSString.h:
	(+[NSString stringWithFormat:arguments:]): Move declaration to
	GSCategories.
	* Source/NSString.m
	* Source/Additions/GSCategories.m:
	(+[NSString stringWithFormat:arguments:]): Move implementation
	to Additions.
	* macosx/config.h: Define HAVE_WCHAR_H.
	* macosx/gnustep.pbproj/project.pbxproj: Added GSLock files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18072 72102866-910b-0410-8b05-ffd578937521
2003-11-10 15:34:52 +00:00
ayers
4e4df7b974 * Source/GSPrivate.h (GS_REPLACE_CONSTANT_STRING): New macro.
* Source/externs.m: Initialize constant strings statically.
	(GSBuildStrings): Replace static strings with dynamic
	versions.
	* Testing/benchmark.m: Added tests for NSString -hash and
	-copy.  Aligned ouput.
	* Testing/externs.m: New test.
	* Testing/GNUmakefile: Added externs.m test.  Activated
	ADDITIONAL_TOOLS tests excluding gstcpport tests.

	* Source/Additions/GSCategories.m: Adjust declared lock type.
	Added comment.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18058 72102866-910b-0410-8b05-ffd578937521
2003-11-06 21:11:39 +00:00
CaS
248f589502 Locking tidups/fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18016 72102866-910b-0410-8b05-ffd578937521
2003-11-01 07:09:12 +00:00
ayers
dfef5c3ecb Moved declaration of local_lock out of the #ifdef as reported by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18012 72102866-910b-0410-8b05-ffd578937521
2003-10-30 20:51:44 +00:00
ayers
e8eb4809bb Fix declarations for -baseadd and minor convention issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18011 72102866-910b-0410-8b05-ffd578937521
2003-10-30 14:29:41 +00:00
ayers
86f35c472c * Headers/Additions/GNUstepBase/GSLock.h: Added missing
forward declaration.
	* Headers/Additions/GNUstepBase/GSCategories.h: Remove
	declaraion of gnustep_global_lock.
	(GS_INITIALIZED_LOCK): New macro.
	(+[NSLock newLockAt:]): New method.
	(+[NSRecursiveLock newLockAt:]): Ditto.
	* Headers/Foundation/NSLock.h: Ditto.
	* Source/Additions/GSCategories.m: Replace global lock with
	local lock.
	(_GSLockInitializer): New class to initialize local lock
	safely.
	(newLockAt): New static function shared by +newLockAt:
	implementations to safely intialize lock variables.
	(+[NSLock newLockAt:]): Implemented and documented.
	(+[NSRecursiveLock newLockAt:]): Ditto.
	* Source/Additions/GSCompatibility.m: Remove
	gnustep_global_lock.
	* Source/Additions/GSObjCRuntime.m: Remove superfluous
	locking.
	* Source/Additions/Unicode.m: Use new GS_INITIALIZED_LOCK
	macro and replace global lock with local lock.
	* Source/NSLock.m
	(-[NSConditionLock lockWhenCondition:beforeDate:]):
	Implemented.
	* Testing/gslock.m: New test case.
	* Testing/GNUmakefile: Add new test case.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18010 72102866-910b-0410-8b05-ffd578937521
2003-10-30 13:44:55 +00:00
CaS
1d2a10c000 Add lazy locking classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17979 72102866-910b-0410-8b05-ffd578937521
2003-10-26 13:45:49 +00:00
CaS
0627eb75aa String encoding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17917 72102866-910b-0410-8b05-ffd578937521
2003-10-18 06:10:41 +00:00
CaS
c4b038113d Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17804 72102866-910b-0410-8b05-ffd578937521
2003-10-08 16:26:59 +00:00
CaS
bc1256b6dd Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17800 72102866-910b-0410-8b05-ffd578937521
2003-10-08 13:19:20 +00:00
CaS
9e3af86051 Added setContentType:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17790 72102866-910b-0410-8b05-ffd578937521
2003-10-07 15:49:52 +00:00
CaS
dbcea88742 Fixed minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17767 72102866-910b-0410-8b05-ffd578937521
2003-10-02 16:50:49 +00:00
CaS
88285c3596 Minor bugfix patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17756 72102866-910b-0410-8b05-ffd578937521
2003-09-30 17:47:35 +00:00
fedor
e089ba3bff Various compile fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17709 72102866-910b-0410-8b05-ffd578937521
2003-09-24 01:39:55 +00:00
ayers
cb5b1310d0 * Headers/Additions/GNUstepBase/GSCategories.h: Move
declarations
	from Source/Additions/GSCompatibility.h to here.
	([NSObject -compare:]): Deprecate.
	* Source/Additions/GSCompatibility.h: Move contents from here
	to
	Headers/Additions/GNUstepBase/GSCategories.h.

	* Source/Additions/GSCategories.m:
	([NSObject -compare:]): Deprecate.

	* Headers/Foundation/NSObject.h
	([NSObject -compare:]): Deprecate.

	* Source/Additions/GCDictionary.m: Include
	GNUstepBase/GSCategories.h rather than GSCompatibility.h.
	* Source/Additions/GCObject.m: Ditto.
	* Source/Additions/GSMime.m: Ditto.
	* Source/Additions/GSObjCRuntime.m: Ditto.
	* Source/Additions/GSXML.m: Ditto.
	* Source/Additions/Unicode.m: Ditto.

	* macosx/GNUstepBase/preface.h: Update include for new header
	structure.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17664 72102866-910b-0410-8b05-ffd578937521
2003-09-13 22:42:50 +00:00
ayers
65265d2ea7 * Source/Additions/GSCompatibility.h
* Source/Additions/GSCompatibility.m
        (NSDecimalFromComponents): Added compatibility function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17656 72102866-910b-0410-8b05-ffd578937521
2003-09-11 16:59:45 +00:00
CaS
413c44d80a utf16 fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17654 72102866-910b-0410-8b05-ffd578937521
2003-09-11 05:40:55 +00:00
CaS
703a88435f Small tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17653 72102866-910b-0410-8b05-ffd578937521
2003-09-11 05:02:26 +00:00
CaS
68700f54ef Improved unicode support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17648 72102866-910b-0410-8b05-ffd578937521
2003-09-10 08:14:45 +00:00
fedor
36a8e49a1f Add Korean encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17639 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:36:49 +00:00
ayers
38143e6e56 Various GSObjCRuntime usage cleanups.
See ChangeLog for details.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17533 72102866-910b-0410-8b05-ffd578937521
2003-08-24 23:07:41 +00:00
fedor
f145ad86ce Include last encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17471 72102866-910b-0410-8b05-ffd578937521
2003-08-13 03:29:13 +00:00
CaS
8bdabb6055 Save and restore libxml global info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17457 72102866-910b-0410-8b05-ffd578937521
2003-08-08 14:55:23 +00:00
CaS
76b458f3e8 Fix stack overflow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17453 72102866-910b-0410-8b05-ffd578937521
2003-08-07 18:22:03 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
77ab6be142 Tweaks to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17383 72102866-910b-0410-8b05-ffd578937521
2003-07-28 16:44:24 +00:00
CaS
02aace51b0 Tidyups etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17380 72102866-910b-0410-8b05-ffd578937521
2003-07-28 10:53:18 +00:00
gcasa
4a92c831b2 Corrected issue with GSObjCMethodNames function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17374 72102866-910b-0410-8b05-ffd578937521
2003-07-27 14:57:47 +00:00
CaS
cb3f882517 Fix obscure crasher
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17281 72102866-910b-0410-8b05-ffd578937521
2003-07-21 19:22:41 +00:00
ayers
e1512bb666 * Source/Additions/GSObjCRuntime.m
(GSCGetInstanceVariableDefinition): Make more robust.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17195 72102866-910b-0410-8b05-ffd578937521
2003-07-12 12:44:12 +00:00
ayers
2162ad5edd * Source/Additions/GSXML.m: Use cached NSString class
variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17190 72102866-910b-0410-8b05-ffd578937521
2003-07-11 18:53:48 +00:00
alexm
eb078bc0f9 (GSToUnicode, GSFromUnicode): Fix setting of dst in some cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17176 72102866-910b-0410-8b05-ffd578937521
2003-07-09 13:57:43 +00:00
alexm
ea152c1c5e Fix issues in -getCString:...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17174 72102866-910b-0410-8b05-ffd578937521
2003-07-09 02:13:58 +00:00
alexm
86a8fd6a23 In iconv case, only expand the buffer when we really need more space. Correctly handle all output when flushing iconv.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17172 72102866-910b-0410-8b05-ffd578937521
2003-07-08 01:50:42 +00:00
ayers
7d060e1290 * Headers/gnustep/base/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
	Added typedef for GSIVar.
	(GSCGetInstanceVariableDefinition): New function.
	(GSObjCGetInstanceVariableDefinition): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17168 72102866-910b-0410-8b05-ffd578937521
2003-07-07 10:31:59 +00:00
CaS
2443774853 Tiny fix ... copy content using correct zone
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17164 72102866-910b-0410-8b05-ffd578937521
2003-07-07 05:25:44 +00:00
ayers
dfcc68b0d0 include GSCompatibility.h in GSObjCRuntime.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17085 72102866-910b-0410-8b05-ffd578937521
2003-07-01 19:54:37 +00:00
ayers
584c139a1b * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
* Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
        * Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m
        * to
        GSObjCRuntime.m and declaration from NSObjCRuntime.h to
        GSObjCRuntime.h.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17084 72102866-910b-0410-8b05-ffd578937521
2003-07-01 17:00:14 +00:00
CaS
54a9e66dc5 Fix rare bug in iconv conversion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17080 72102866-910b-0410-8b05-ffd578937521
2003-07-01 08:33:22 +00:00
CaS
b86d12e184 Allow iconv to handle utf-7
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17071 72102866-910b-0410-8b05-ffd578937521
2003-06-30 04:53:54 +00:00
ayers
5e5ce83a86 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
class_get_class_method they cannot work due to different
	parameter expectations.  Added mapping from NeXT->GNU runtime.
	The other way does not work.  Added simple mapping for internal
	flush function __objc_update_dispatch_table_for_class and
	_objc_flush_caches.

	* Headers/gnustep/base/GSObjCRuntime.h/m:
	Added typedef for GSMethod.
	(GSGetInstanceMethod): New function.
	(GSGetClassMethod): Ditto.
	(GSGetInstanceMethodNotInherited): Ditto.
	(GSGetClassMethodNotInherited): Ditto.
	(GSFlushMethodCacheForClass): Ditto.
	(flush_method_cache_for_class): Removed function which is replaced
	by GSFlushMethodCacheForClass.
	(GSObjCGetMethod): Removed function which is replaced by
	GSGetInstanceMethod and GSGetClassMethod.
	(GSObjCReplaceMethod): Removed function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16997 72102866-910b-0410-8b05-ffd578937521
2003-06-22 08:45:48 +00:00
CaS
80700dd286 Minor fencepost fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16958 72102866-910b-0410-8b05-ffd578937521
2003-06-19 08:27:51 +00:00
CaS
8fc2e74432 Improve coercing of encoding types
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16956 72102866-910b-0410-8b05-ffd578937521
2003-06-18 15:48:13 +00:00
CaS
bdc39efa59 Implement description for GSXMLNode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16954 72102866-910b-0410-8b05-ffd578937521
2003-06-18 10:08:02 +00:00
CaS
8331e53453 Make checks of 8bit and 7bit content more rigorous
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16920 72102866-910b-0410-8b05-ffd578937521
2003-06-14 09:40:17 +00:00
CaS
94ea53aae9 Avoid unnecessary changes to headers which were set manually by automatic
mime generation


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16919 72102866-910b-0410-8b05-ffd578937521
2003-06-14 07:41:29 +00:00
CaS
af62a9bf84 If a charset is specified which does not match the string contents,
override it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16901 72102866-910b-0410-8b05-ffd578937521
2003-06-11 13:10:19 +00:00
FredKiefer
692833df3b In GSFromUnicode() removed type cast of *_conv_base as the
gcc 3.3 compiler complained about it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16885 72102866-910b-0410-8b05-ffd578937521
2003-06-07 23:33:58 +00:00
ayers
2fd808651a * Headers/gnustep/base/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m : White space patch to better
	conform with GNU coding standards and improve readability.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16878 72102866-910b-0410-8b05-ffd578937521
2003-06-07 09:45:51 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
fedor
a82cf5c84b * configure.ac: Pass on original CPPFLAGS to config.mak.
* config/objc-con-autoload.m4: Test for constructors directly.
* config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.

* Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.

* Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
around START so it will compile on GCC 2.

* Testing/nsbundle.m: Errors to stdout.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16836 72102866-910b-0410-8b05-ffd578937521
2003-05-30 02:50:28 +00:00
CaS
fbf3bb6fd9 Rewrite low level sax routines to move towards better support for subclassing
of sax handlers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16778 72102866-910b-0410-8b05-ffd578937521
2003-05-23 08:58:52 +00:00
CaS
83f5979a69 Tidied last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16774 72102866-910b-0410-8b05-ffd578937521
2003-05-22 19:02:38 +00:00
CaS
8ab113e4b6 New message handling features for libxml wrapper
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16773 72102866-910b-0410-8b05-ffd578937521
2003-05-22 17:00:03 +00:00
CaS
594324c1dc Minor xmpath fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16768 72102866-910b-0410-8b05-ffd578937521
2003-05-22 13:22:42 +00:00
CaS
d67a7b57bd Don't wait for more data to unfold header when we don't need to.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16735 72102866-910b-0410-8b05-ffd578937521
2003-05-16 09:56:15 +00:00