Commit graph

493 commits

Author SHA1 Message Date
rfm
a7f86a2a91 Fix logic error in recent change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25163 72102866-910b-0410-8b05-ffd578937521
2007-05-15 12:37:13 +00:00
rfm
428ed5fd0d Tweka header parsing for http response.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25158 72102866-910b-0410-8b05-ffd578937521
2007-05-15 08:36:23 +00:00
rfm
d75478e8bd Various URL handling improvments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25154 72102866-910b-0410-8b05-ffd578937521
2007-05-14 16:55:16 +00:00
rfm
6f5cfff5a5 Avoid recursion initialising NSString on systems with iconv problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25149 72102866-910b-0410-8b05-ffd578937521
2007-05-14 05:11:07 +00:00
rfm
2b76f1ca08 tweaks for url loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25142 72102866-910b-0410-8b05-ffd578937521
2007-05-11 15:47:06 +00:00
rfm
9d18cfbcfa macos-x portability fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24980 72102866-910b-0410-8b05-ffd578937521
2007-04-11 04:45:49 +00:00
rfm
3f7e68d6fc header fixups for macosx porting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24960 72102866-910b-0410-8b05-ffd578937521
2007-04-01 11:12:12 +00:00
rfm
4b841c4468 Revert mingw locale change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24904 72102866-910b-0410-8b05-ffd578937521
2007-03-20 11:59:07 +00:00
rfm
09d19a7f59 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24876 72102866-910b-0410-8b05-ffd578937521
2007-03-15 16:20:36 +00:00
rfm
2aa7b2026c Improve native locale integration and mswindows usability.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24871 72102866-910b-0410-8b05-ffd578937521
2007-03-14 16:04:13 +00:00
rfm
f5bb569071 Fix memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24868 72102866-910b-0410-8b05-ffd578937521
2007-03-14 08:57:20 +00:00
rfm
4b79fb7d69 Fix minor memory management bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24853 72102866-910b-0410-8b05-ffd578937521
2007-03-12 16:47:42 +00:00
rfm
c6fb5029cf Fixup for handling cancelled URL loads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24819 72102866-910b-0410-8b05-ffd578937521
2007-03-08 08:57:58 +00:00
rfm
db4ea4f632 Add missing newline
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24591 72102866-910b-0410-8b05-ffd578937521
2007-02-15 14:21:59 +00:00
rfm
b8209430fd improve error checking and reporting when making a tcp/ip connection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24168 72102866-910b-0410-8b05-ffd578937521
2006-11-29 19:57:38 +00:00
rfm
52a473a8cc check argument to setRootNode: and avoid unnecessary read on http connection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24125 72102866-910b-0410-8b05-ffd578937521
2006-11-18 08:03:05 +00:00
fedor
74f3b0ec71 Include GSOnce macros so the baseadd library can see them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24087 72102866-910b-0410-8b05-ffd578937521
2006-11-14 15:43:19 +00:00
rfm
db244b80bd Fix bug escaping XML
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24051 72102866-910b-0410-8b05-ffd578937521
2006-11-08 08:22:04 +00:00
rfm
bd2793a0c6 Applied Davids SAX handler fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24050 72102866-910b-0410-8b05-ffd578937521
2006-11-07 18:37:36 +00:00
rfm
1cf3f4c8e2 Add more charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24027 72102866-910b-0410-8b05-ffd578937521
2006-11-03 15:19:45 +00:00
rfm
dde730bf9b Fix uninitialised variable compiler failed to warn about.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23995 72102866-910b-0410-8b05-ffd578937521
2006-10-29 19:44:31 +00:00
rfm
805514db3e Use faster and more comprehensive list of charsets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23993 72102866-910b-0410-8b05-ffd578937521
2006-10-29 09:43:14 +00:00
rfm
04cc39ee88 Remove some redundant code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23990 72102866-910b-0410-8b05-ffd578937521
2006-10-29 09:30:07 +00:00
rfm
f305543c4c add some more cset encoding support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23989 72102866-910b-0410-8b05-ffd578937521
2006-10-29 09:17:05 +00:00
rfm
9e7b96ab0e More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
rfm
6ba4584136 More tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23914 72102866-910b-0410-8b05-ffd578937521
2006-10-19 13:51:19 +00:00
rfm
799955caff Experiment with function visibility ... try caching locale dictionary to be
accessed from a function yet invisible outside the base library even when
caching is done in the Additions subproject.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23903 72102866-910b-0410-8b05-ffd578937521
2006-10-18 15:36:52 +00:00
rfm
ded19f3ec1 more work on hding external symbols and simplifying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23890 72102866-910b-0410-8b05-ffd578937521
2006-10-16 09:30:18 +00:00
rfm
f1157a07c6 more reduction of externals symbols pollution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23846 72102866-910b-0410-8b05-ffd578937521
2006-10-11 05:26:14 +00:00
nicola
f891de38b1 Fixed compiler flags with non-flattened layout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23840 72102866-910b-0410-8b05-ffd578937521
2006-10-11 00:45:54 +00:00
rfm
598d359601 Version/availability corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23804 72102866-910b-0410-8b05-ffd578937521
2006-10-09 18:32:11 +00:00
rfm
8f865db684 Update/improve version/deprecation reporting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23797 72102866-910b-0410-8b05-ffd578937521
2006-10-09 15:13:44 +00:00
rfm
31342aef09 Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
2006-10-09 14:00:01 +00:00
fredkiefer
70c388cd8c Corrected bug in last change that prevented all GNUstep programs from
running.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23769 72102866-910b-0410-8b05-ffd578937521
2006-10-05 22:40:18 +00:00
rfm
6ce9e7743d Add a couple more charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23767 72102866-910b-0410-8b05-ffd578937521
2006-10-05 18:28:32 +00:00
rfm
7e9449710e try to cope with apple plists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23489 72102866-910b-0410-8b05-ffd578937521
2006-09-13 15:53:58 +00:00
rfm
a087adce29 better error case decoding corrupt encoded word in header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23485 72102866-910b-0410-8b05-ffd578937521
2006-09-13 05:32:53 +00:00
rfm
35bb423994 Fix check for missing iconv name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23332 72102866-910b-0410-8b05-ffd578937521
2006-08-26 06:46:15 +00:00
rfm
88184cfd08 revert last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23309 72102866-910b-0410-8b05-ffd578937521
2006-08-16 16:43:11 +00:00
rfm
2f6592c658 Make support of non-ascii header text for when parsing http
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23308 72102866-910b-0410-8b05-ffd578937521
2006-08-16 16:30:49 +00:00
rfm
5cb69e8307 fix missing allocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23305 72102866-910b-0410-8b05-ffd578937521
2006-08-16 13:57:38 +00:00
rfm
d877bd187a improve fault tolerance
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23304 72102866-910b-0410-8b05-ffd578937521
2006-08-16 13:45:38 +00:00
rfm
b3ce89a609 fix bug 17069
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23210 72102866-910b-0410-8b05-ffd578937521
2006-08-06 05:27:44 +00:00
rfm
5ffe2250da Small documentation improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23187 72102866-910b-0410-8b05-ffd578937521
2006-07-26 11:14:53 +00:00
rfm
c1d77f551b Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23064 72102866-910b-0410-8b05-ffd578937521
2006-06-15 14:05:22 +00:00
rfm
9a704d7118 Some XMLRPC improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23060 72102866-910b-0410-8b05-ffd578937521
2006-06-15 08:23:49 +00:00
rfm
e7962cfb4d avoid spurious compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23027 72102866-910b-0410-8b05-ffd578937521
2006-06-04 06:42:10 +00:00
rfm
7a07d80acc improve comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23008 72102866-910b-0410-8b05-ffd578937521
2006-05-30 06:30:09 +00:00
rfm
3b23826480 Fix for bug when conversion fails due to lack of buffer space.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23007 72102866-910b-0410-8b05-ffd578937521
2006-05-30 05:52:51 +00:00
rfm
6d7eae6095 Tidied up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
2006-05-24 08:27:39 +00:00
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