Commit graph

164 commits

Author SHA1 Message Date
Richard Frith-Macdonald
d79f9a1d56 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
David Ayers
2b6fccdf85 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
David Ayers
f1fb026bb9 * 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
Richard Frith-Macdonald
a8fd582a87 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
Richard Frith-Macdonald
1a87e96517 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
David Ayers
15e69d06b5 * 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
Richard Frith-Macdonald
ff510aaedb 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
Richard Frith-Macdonald
66f2f34e60 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
Richard Frith-Macdonald
ca3b6b592f 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
Richard Frith-Macdonald
83add29ddf 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
Richard Frith-Macdonald
afbf20bc33 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
Richard Frith-Macdonald
04c2ed4343 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
Fred Kiefer
0bde9c0b94 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
David Ayers
68aaf34eb1 * 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
Adam Fedor
d228cba99b 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
Adam Fedor
8217aaae40 * 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
Richard Frith-Macdonald
9490e8afcb 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
Richard Frith-Macdonald
53fac7d9f0 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
Richard Frith-Macdonald
cb7d493886 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
Richard Frith-Macdonald
1bf65cf3cf 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
Richard Frith-Macdonald
7b02141f24 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
Richard Frith-Macdonald
b292b8f30e Rewrite header unfolding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16731 72102866-910b-0410-8b05-ffd578937521
2003-05-15 09:38:27 +00:00
Richard Frith-Macdonald
a9049897de Fix error in handling header unfolding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16727 72102866-910b-0410-8b05-ffd578937521
2003-05-14 21:22:51 +00:00
Richard Frith-Macdonald
5318b808c6 Tidyups and minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16713 72102866-910b-0410-8b05-ffd578937521
2003-05-13 16:00:21 +00:00
Richard Frith-Macdonald
1d6f162285 Fixups for libxml bug/feature
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16702 72102866-910b-0410-8b05-ffd578937521
2003-05-12 19:23:02 +00:00
Richard Frith-Macdonald
3cff27ca8e install man pages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16690 72102866-910b-0410-8b05-ffd578937521
2003-05-11 07:42:16 +00:00
Richard Frith-Macdonald
eb5c548496 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16641 72102866-910b-0410-8b05-ffd578937521
2003-05-06 06:54:22 +00:00
Alexander Malmberg
6c7f43d46d Fix a bunch of NSString bugs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16636 72102866-910b-0410-8b05-ffd578937521
2003-05-05 13:36:25 +00:00
Adam Fedor
9ca631d7e0 Filesystem change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16565 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:29:49 +00:00
Adam Fedor
753648ff42 Add substringFromRange:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16363 72102866-910b-0410-8b05-ffd578937521
2003-04-04 19:28:57 +00:00
Adam Fedor
c91cd5da12 Fix up previously applied patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16331 72102866-910b-0410-8b05-ffd578937521
2003-04-02 17:09:52 +00:00
Richard Frith-Macdonald
18dbed39ca Fix error in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16328 72102866-910b-0410-8b05-ffd578937521
2003-04-02 08:49:57 +00:00
Richard Frith-Macdonald
7bd1a0abc0 Minor multipart generation fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16327 72102866-910b-0410-8b05-ffd578937521
2003-04-02 08:44:46 +00:00
Richard Frith-Macdonald
6ffdcc0e32 Content output fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16326 72102866-910b-0410-8b05-ffd578937521
2003-04-02 04:51:54 +00:00
Adam Fedor
2f182f82b2 * Source/Additions/GCArray.m: Replace retain/release by
RETAIN/RELEASE macros.
* Source/Additions/GCDictionary.m: Idem.
* Source/Additions/GSCompatibility.h: Add NSBundle category.
* Source/Additions/GSCompatibility.m (GSEncodingName): New.
Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
* Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
(GSObjCMethodNames): Cast method_name to const char *.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16309 72102866-910b-0410-8b05-ffd578937521
2003-04-01 04:27:18 +00:00
Adam Fedor
e596a161f2 Move more additional methods to the Additions libtrary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16299 72102866-910b-0410-8b05-ffd578937521
2003-03-31 02:59:56 +00:00
David Ayers
ffcac98789 * Rename GSObjCReplaceImplementation to GSObjCReplaceMethod.
* Added GSObjCGetMethod.
* Added sanity checks in GSObjCRuntime.m
* Added includes to GSCategories.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16257 72102866-910b-0410-8b05-ffd578937521
2003-03-25 14:57:08 +00:00
David Ayers
4de07c1156 Fixed typo for NeXT runtime of last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16254 72102866-910b-0410-8b05-ffd578937521
2003-03-25 10:03:19 +00:00
David Ayers
79462200b5 * Headers/gnustep/base/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m (GSObjCReplaceImplementation):
        Added new function.
        * Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
        Renamed static function for NeXT runtime to better reflect
        reality.
        (GSObjCAddMethods): Updated usage.
        (search_for_method_in_class): New static function for GNU runtime.
        (flush_method_cache_for_class): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16252 72102866-910b-0410-8b05-ffd578937521
2003-03-25 09:49:39 +00:00
Richard Frith-Macdonald
5c49ef401a Merged in 1.6.0 branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16228 72102866-910b-0410-8b05-ffd578937521
2003-03-23 07:06:27 +00:00
Richard Frith-Macdonald
c4b26f8afa Fix possible pointer past end of data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16213 72102866-910b-0410-8b05-ffd578937521
2003-03-20 11:38:16 +00:00
Richard Frith-Macdonald
58629e4f18 Trivial functions added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16106 72102866-910b-0410-8b05-ffd578937521
2003-03-02 10:17:24 +00:00
Richard Frith-Macdonald
3a344ae100 MInor tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16105 72102866-910b-0410-8b05-ffd578937521
2003-03-02 07:47:18 +00:00
Richard Frith-Macdonald
98db676835 Improve comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15949 72102866-910b-0410-8b05-ffd578937521
2003-02-12 09:32:19 +00:00
Adam Fedor
391078933d Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15871 72102866-910b-0410-8b05-ffd578937521
2003-02-04 15:40:31 +00:00
Adam Fedor
8b385db9d3 Fix include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15866 72102866-910b-0410-8b05-ffd578937521
2003-02-03 15:59:58 +00:00
Adam Fedor
9d78b79dce Header fixups for MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15864 72102866-910b-0410-8b05-ffd578937521
2003-02-03 04:15:27 +00:00
Richard Frith-Macdonald
c6559096e0 Add more utf8 checks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15842 72102866-910b-0410-8b05-ffd578937521
2003-02-01 06:49:44 +00:00
Richard Frith-Macdonald
11cb628f81 utf8 decoding fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15841 72102866-910b-0410-8b05-ffd578937521
2003-02-01 06:39:37 +00:00
Adam Fedor
17d906ff14 Fix up additions compatibility with MacOSX and add additional methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15821 72102866-910b-0410-8b05-ffd578937521
2003-01-31 18:25:41 +00:00