Commit graph

170 commits

Author SHA1 Message Date
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
CaS
5088285126 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
CaS
eae4993fed 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
CaS
7771c7a940 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
CaS
cd13d283b2 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
CaS
6909094183 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
CaS
73f0682793 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
alexm
20f4243581 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
fedor
32ae9a0f45 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
fedor
a613c70d89 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
fedor
569970e845 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
CaS
d0a84dbf86 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
CaS
767fca7914 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
CaS
375795ad52 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
fedor
8017719129 * 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
fedor
0bfcabe78e 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
ayers
c6868d601e * 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
ayers
3aef47de94 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
ayers
39ff957127 * 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
CaS
cc098b74c2 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
CaS
04e888af0a 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
CaS
2df37435d0 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
CaS
57c0ece231 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
CaS
a74e8ad4b7 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