Commit graph

3848 commits

Author SHA1 Message Date
Gregory John Casamento
142eee89f4 Another fix for undo/redo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20563 72102866-910b-0410-8b05-ffd578937521
2005-01-16 12:58:20 +00:00
Gregory John Casamento
3931c99308 Make the code in undo manager slightly more efficient.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20561 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:36:30 +00:00
Gregory John Casamento
9b9802a2f7 Corrected issue with previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20560 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:16:00 +00:00
Gregory John Casamento
1e70a67c30 Undo improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20559 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:11:49 +00:00
Gregory John Casamento
aef3b74a59 Redo fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20552 72102866-910b-0410-8b05-ffd578937521
2005-01-14 11:49:46 +00:00
Gregory John Casamento
38bd9809e8 Corrected problem with undo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20550 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:45:09 +00:00
Manuel Guesdon
00e4fbc778 Fix 2 digits timezone in NSCalendarFormat:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20528 72102866-910b-0410-8b05-ffd578937521
2005-01-08 20:40:29 +00:00
Adam Fedor
c79954e5c4 * Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary
(Fixes bug #11516).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20526 72102866-910b-0410-8b05-ffd578937521
2005-01-07 15:33:16 +00:00
Adam Fedor
a861c353bd * Add support for systems that support unichar file paths (e.g.
Windows).
* Headers/Foundation/NSFileManager.h (-localFromOpenStepPath:,
_openStepPathFromLocal:): New methods.
(NSDirectoryEnumerator): Updated ivars.
* Source/NSFileManager.m: Idem.
(-changeCurrentDirectoryPath, changeFileAttributes:,
currentDirectoryPath, etc): Update for Windows unichar paths.
* Headers/Foundation/NSString.h: (-unicharString,
-localFromOpenStepPath:, _openStepPathFromLocal:): New methods.
* Source/NSString.m: Idem.
* Source/GSFileHandle.m (-initForReadingAtPath:,
-initForWritingAtPath, -initForUpdatingAtPath:): Update for Windows
unichar paths.
* Source/NSData.m (readContentsOfFile, -writeToFile:,
initWithContentsOfMappedFile:): Idem.
* Source/NSTask.m (NSConcreteWindowsTask): Update for Windows
unichar paths.
(Patch from Roland Schwingle <roland.schwingel@onevision.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20502 72102866-910b-0410-8b05-ffd578937521
2004-12-29 04:21:37 +00:00
Adam Fedor
4ea16407af * Source/NSTimeZone (NSInternalAbbrevDict): Remove class
(+abbreviationDictionary): Implement from new one-to-one plist.
* NStimeZones/NSTimeZone.tar: Added abbreviations.plist. Regenerated.
* Testing/nstimezone.m: New tests.

* Source/Additions/GNUmakefile: Remove duplicate Unicode.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20476 72102866-910b-0410-8b05-ffd578937521
2004-12-21 23:20:32 +00:00
Dave Wetzel
ae695c0e51 added Additions_OBJC_FILES += Unicode.m on apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20473 72102866-910b-0410-8b05-ffd578937521
2004-12-21 19:43:59 +00:00
Richard Frith-Macdonald
2ce3399dc9 Fix some indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20467 72102866-910b-0410-8b05-ffd578937521
2004-12-19 05:59:47 +00:00
Dave Wetzel
993acedc65 * Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to work again.
        [tmp replaceString:@"&" withString:@"&amp;"]; Did NOT work.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20466 72102866-910b-0410-8b05-ffd578937521
2004-12-18 21:31:26 +00:00
Adam Fedor
cf410d2149 * Changes so additions compiles on older Mac OS X 10.1.5
* Source/Additions/GCArray.m (-copyWithZone:): Use more standard
array initialization method.
(mutableCopyWithZone:,	[GCMutableArray -copyWithZone:],
[GCMutableArray -mutableCopyWithZone:]): Idem.

* Source/Additions/GSCategories.m ([NSData -hexadecimalRepresentation]):
Use identically functioning, but older, standard data initialization.
* Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to use older, standard
methods.

* Tools/AGSHtml.m ([AGSHtml -outputNode:to:]): Use GNUstep addition
method to replace string.
* Tools/autogsdoc.m (main): Idem.
(Patch from Markus Hitter).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20448 72102866-910b-0410-8b05-ffd578937521
2004-12-13 04:53:01 +00:00
Matt Rice
b83d4ae778 2004-12-09 Matt Rice <ratmice@yahoo.com>
* Source/NSUndoManager.m
        ([-forwardInvocation,-registerUndoWithTarget:selector:object:): Don't
        clear the redo stack if redoing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20432 72102866-910b-0410-8b05-ffd578937521
2004-12-09 09:36:00 +00:00
Adam Fedor
830807a27f * configure.ac: Test for objc forwarding by compiling a program.
* config/config.forward.m: New file.
(Fixes bug #11188).

* Source/GSFormat.m (GSFormat): Assign wchar via var args from an
int (Fixes bug #10950).

* Testing/string.m: Tests for standardizing path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20427 72102866-910b-0410-8b05-ffd578937521
2004-12-08 16:22:51 +00:00
Richard Frith-Macdonald
10815039a2 Fix %b format error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20409 72102866-910b-0410-8b05-ffd578937521
2004-12-01 15:43:34 +00:00
Adam Fedor
aeeb74e616 * Source/GSFileHandle.m (-setNonBlocking:): Set the isNonBlocking
ivar on MingW. Fixes bug #10742.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20402 72102866-910b-0410-8b05-ffd578937521
2004-12-01 05:01:05 +00:00
Matt Rice
e91474be65 2004-11-30 Matt Rice <ratmice@yahoo.com>
* Source/NSBundle.m (-principalClass): If the class specified in
        NSPrincipalClass key is not found return the first class found.
        * Headers/Foundation/NSBundle.h (-principalClass): Document the above.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20401 72102866-910b-0410-8b05-ffd578937521
2004-11-30 22:16:32 +00:00
Richard Frith-Macdonald
2c65d630c4 Restructure handling of thread exit to avoid setting up separate
notification handlers for each connection.  Optimise a little.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20380 72102866-910b-0410-8b05-ffd578937521
2004-11-25 17:00:45 +00:00
Richard Frith-Macdonald
c13cbbee15 Minor documentation tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20370 72102866-910b-0410-8b05-ffd578937521
2004-11-23 09:56:53 +00:00
Richard Frith-Macdonald
94a96ae889 Minor twekas to fix three bug reports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20368 72102866-910b-0410-8b05-ffd578937521
2004-11-22 11:48:50 +00:00
Richard Frith-Macdonald
02f54e6dd7 A few NSBundle bugfixes and workaround for problem with using the pth
library in gdnc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20367 72102866-910b-0410-8b05-ffd578937521
2004-11-20 20:14:24 +00:00
Richard Frith-Macdonald
dcb4f8802f Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20361 72102866-910b-0410-8b05-ffd578937521
2004-11-19 14:34:25 +00:00
Richard Frith-Macdonald
c6ac02ff60 Memory leak fix and tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20360 72102866-910b-0410-8b05-ffd578937521
2004-11-19 09:41:34 +00:00
Adam Fedor
1e96b65ae7 * Headers/Foundation/NSBundle.h (builtInPlugInsPath): New method.
* Source/NSBundle (builtInPlugInsPath): Imeplement (based on patch
#3483).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20341 72102866-910b-0410-8b05-ffd578937521
2004-11-11 18:51:37 +00:00
Richard Frith-Macdonald
fb3563bc50 Minor reliability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20335 72102866-910b-0410-8b05-ffd578937521
2004-11-10 11:45:08 +00:00
Adrian Robert
ffd050523d patch by Alexander Malmberg allowing event polling to time out more quickly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20296 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:52:22 +00:00
Adam Fedor
e5674b2966 * Headers/Foundation/NSTimeZone.h, Source/NSTimeZone.m
(+knownTimeZoneNames:): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20295 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:47:03 +00:00
Richard Frith-Macdonald
a2a82f6a37 Revert an nsthread change and try to avoid memory leaks when autorelease
pools are created during the thread exit process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20287 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:20:39 +00:00
Richard Frith-Macdonald
91e050c58a Attempted fix for long long int support in GSFormat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20276 72102866-910b-0410-8b05-ffd578937521
2004-11-01 08:25:04 +00:00
Richard Frith-Macdonald
7c7c90b89c Slight performance improvement (better hash), plus tweaks for 64bit processors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20275 72102866-910b-0410-8b05-ffd578937521
2004-10-31 13:02:58 +00:00
Richard Frith-Macdonald
178c64a8a5 MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20274 72102866-910b-0410-8b05-ffd578937521
2004-10-31 10:08:20 +00:00
Matt Rice
06a018b3db 2004-10-29 Matt Rice <ratmice@yahoo.com>
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass,
        GSObjCDirectSubclassesOfClass): skip meta classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20268 72102866-910b-0410-8b05-ffd578937521
2004-10-29 19:31:06 +00:00
Adam Fedor
7c672d6487 Version 1.10.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20266 72102866-910b-0410-8b05-ffd578937521
2004-10-29 03:31:04 +00:00
Adam Fedor
c1f9bd362f * configure.ac: Standardize order of flags and libs
Check for proper defs in tzfile.h. Add sub-configure options
so they are listed in help. Add generic include/lib flags option.
* config.mak.in: Add load flags variable
* base.make.in: Idem.
* SSL/configure.ac: Add generic include/lib flags option.

* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install
* Source/Makefile.postamble (Info-gnustep.plist): New target.
* Testing/nsbundle.m: Additional tests.

* Source/NSTimeZone.m: Check for proper tzfile defs (Fixes #10724).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20261 72102866-910b-0410-8b05-ffd578937521
2004-10-26 19:08:17 +00:00
Richard Frith-Macdonald
0bf0a5d5e4 Implement abort of parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20255 72102866-910b-0410-8b05-ffd578937521
2004-10-24 12:29:31 +00:00
Richard Frith-Macdonald
fb676b3d9a Fix for when default nameserver is host-local.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20254 72102866-910b-0410-8b05-ffd578937521
2004-10-24 06:13:24 +00:00
Fred Kiefer
b2733f403a Handle bigger numbers in binary property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20241 72102866-910b-0410-8b05-ffd578937521
2004-10-21 20:45:55 +00:00
Richard Frith-Macdonald
8e9075305e Added pre-alpha NSXMLPzarser compatibility layer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20238 72102866-910b-0410-8b05-ffd578937521
2004-10-20 10:48:04 +00:00
Matt Rice
95954a9914 2004-10-17 Matt Rice <ratmice@yahoo.com
* Source/objc-load.m (objc_load_module): resolve class links under GNU
        runtime
        * Headers/Additions/GNUstepBase/GSObjCRuntime.h
        * Source/Additions/GSObjCRuntime.m
        (GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
        New functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
Adam Fedor
bc5194f45f * Source/NSCalendarDate.m [-initWithString:] Revert to previous
code, and try to load time zone abbreviation from name first.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20227 72102866-910b-0410-8b05-ffd578937521
2004-10-16 03:05:58 +00:00
Richard Frith-Macdonald
904b153302 Don't expect body where status is 204 or 304
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20224 72102866-910b-0410-8b05-ffd578937521
2004-10-15 13:34:11 +00:00
Adam Fedor
c2ed783573 * Source/NSBundle.m (_bundle_name_first_match): Remove path
extension when comparing name (fixes #10611)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
2004-10-14 04:08:24 +00:00
Richard Frith-Macdonald
1edd85f95f XML parsing bughfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20221 72102866-910b-0410-8b05-ffd578937521
2004-10-13 16:46:09 +00:00
Adam Fedor
42b269b0fc * configure.ac: Check for tzfile.h
* Source/NSTimeZone.m: Include system tzfile.h if found.
(abbreviationMap): Add abbreviation from systemTimeZone if not
already there.
(systemTimeZone): Update the search list to look for time zone in TZ,
then system location, then tznam.
(getTimeZoneFile:): Look for file in system directory first.
* Source/nstzfile.h: Renamed from tzfile.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20217 72102866-910b-0410-8b05-ffd578937521
2004-10-11 03:08:54 +00:00
Fred Kiefer
dbd3e77bae Improved keydecoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20214 72102866-910b-0410-8b05-ffd578937521
2004-10-09 15:40:23 +00:00
Adam Fedor
f60daee123 * Source/Makefile.postamble (libgnustep-base.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20197 72102866-910b-0410-8b05-ffd578937521
2004-10-06 03:33:09 +00:00
Richard Frith-Macdonald
60db720863 Fix crsh when trimming space containing unicode character with high byte non zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20196 72102866-910b-0410-8b05-ffd578937521
2004-10-05 08:32:18 +00:00
Richard Frith-Macdonald
d8105cddf1 Fix premature end of reading a post.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20195 72102866-910b-0410-8b05-ffd578937521
2004-10-04 09:53:47 +00:00
Richard Frith-Macdonald
fe1c5e1890 Add a couple of methods for dealing with xml escape sequences
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20189 72102866-910b-0410-8b05-ffd578937521
2004-10-03 09:11:15 +00:00
Adam Fedor
144da83d24 * Documentation/HtmlNav/docs-web.html,
Documentation/HtmlNav/index.html: Update pointers.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.
* Tools/DocMakefile: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20183 72102866-910b-0410-8b05-ffd578937521
2004-10-01 16:05:08 +00:00
Richard Frith-Macdonald
3819dc6661 Thread safety fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20179 72102866-910b-0410-8b05-ffd578937521
2004-09-29 08:47:25 +00:00
Alexander Malmberg
c668c9d96a * Source/NSDistantObject.m: Make proxyLocation an enum tag, not a
variable.
	* Source/NSFileManager.m (custom_strdup, append_file_to_path): Make
	static.
	* Source/NSString.m (-isEqual:): Clarify documentation.
	* Source/NSUnarchiver.m (mapClassObject, mapClassName): Make static.
	* Source/Additions/Unicode.m (GetDefEncoding): Add missing void in
	the prototype.
	* Tools/make_strings/make_strings.m (ParseFile): Remove spurious
	static on the nested function add_arg_ch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20163 72102866-910b-0410-8b05-ffd578937521
2004-09-27 21:32:45 +00:00
Richard Frith-Macdonald
b910e3ce65 Mnor documentation tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20156 72102866-910b-0410-8b05-ffd578937521
2004-09-27 10:24:02 +00:00
Richard Frith-Macdonald
3cebdbadf3 Minor thread tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20155 72102866-910b-0410-8b05-ffd578937521
2004-09-27 08:59:04 +00:00
Richard Frith-Macdonald
d5460c236d Tidied a little, removing redundant code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20154 72102866-910b-0410-8b05-ffd578937521
2004-09-27 06:58:23 +00:00
Richard Frith-Macdonald
2a49f09265 try to re-establish a dropped connection if using keepalive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20128 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:21:57 +00:00
Richard Frith-Macdonald
c11628ed31 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20127 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:16:22 +00:00
Richard Frith-Macdonald
cfe2887dfc Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20126 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:14:26 +00:00
Richard Frith-Macdonald
d59b661481 Fix array enumeration direction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20124 72102866-910b-0410-8b05-ffd578937521
2004-09-24 15:57:54 +00:00
Richard Frith-Macdonald
a2c67aa163 Minor fixes to use of local hostname.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20112 72102866-910b-0410-8b05-ffd578937521
2004-09-23 08:19:29 +00:00
Richard Frith-Macdonald
11c33e2edb Oops comitted wrong version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20099 72102866-910b-0410-8b05-ffd578937521
2004-09-21 14:20:34 +00:00
Richard Frith-Macdonald
cc6f31ceb4 Make timeouts work more reliably
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20098 72102866-910b-0410-8b05-ffd578937521
2004-09-21 13:43:10 +00:00
Richard Frith-Macdonald
7de873c1d6 minor optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20097 72102866-910b-0410-8b05-ffd578937521
2004-09-20 10:10:10 +00:00
Adrian Robert
7d6e6c476c comment cleanups to improve documentation output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20094 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:24:36 +00:00
Adrian Robert
20cf63779e declare constant strings as constant, and move values from source files into externs.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:19:53 +00:00
David Ayers
de0c0eb2bb Fix comments wrt runtime qualifier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20075 72102866-910b-0410-8b05-ffd578937521
2004-09-16 16:13:16 +00:00
David Ayers
e8c51e43f5 * Source/Additions/GSObjCRuntime.m
(GSAppendMethodToList): Copy type information for the NeXT runtime.
        (GSRemoveMethodFromList): Add comment about potential minor leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20074 72102866-910b-0410-8b05-ffd578937521
2004-09-16 15:43:40 +00:00
Richard Frith-Macdonald
2ff6f4fbf1 MacOS0X compatibility tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20073 72102866-910b-0410-8b05-ffd578937521
2004-09-16 14:33:54 +00:00
Richard Frith-Macdonald
8ff9b21f8d Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20065 72102866-910b-0410-8b05-ffd578937521
2004-09-14 15:55:18 +00:00
Richard Frith-Macdonald
d427f1afd3 Tolerate null pointer arguments for returning information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20063 72102866-910b-0410-8b05-ffd578937521
2004-09-14 03:34:37 +00:00
David Ayers
af4a020d02 * Source/NSArray.m: Consistently terminate macros with semicolons.
(arrayByAddingObjectsFromArray)
        (removeObjectsFromIndices:numIndices:): Insure all
	declarations precede statements.
        * Source/NSDictionary.m: Consistently terminate macros with
        semicolons.
        * Source/NSSet.m (initWithCoder:): Insure all declarations
	precede statements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20043 72102866-910b-0410-8b05-ffd578937521
2004-09-10 15:10:54 +00:00
Richard Frith-Macdonald
80e3f9b87a Implement missing init method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20041 72102866-910b-0410-8b05-ffd578937521
2004-09-09 10:39:01 +00:00
Richard Frith-Macdonald
dc6b3fb628 Improve error logging a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20030 72102866-910b-0410-8b05-ffd578937521
2004-09-08 09:13:50 +00:00
Richard Frith-Macdonald
199542334a Log exceptions when timer fires
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20025 72102866-910b-0410-8b05-ffd578937521
2004-09-07 16:54:16 +00:00
Richard Frith-Macdonald
5f8b76348f Fix variuus minor bugs reported by Andre Levy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20020 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:27:14 +00:00
Richard Frith-Macdonald
d82674f3d8 Fix stack overflow problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20016 72102866-910b-0410-8b05-ffd578937521
2004-09-07 11:08:46 +00:00
Richard Frith-Macdonald
59decd99ff Override -init to use our own initialiser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20013 72102866-910b-0410-8b05-ffd578937521
2004-09-07 09:22:10 +00:00
Richard Frith-Macdonald
90a810065d MacOS-X compatibility fixes and improved documentation about class cluster
initialisers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20012 72102866-910b-0410-8b05-ffd578937521
2004-09-07 05:43:20 +00:00
Adam Fedor
d617292eaa * Version 1.10.0
* Source/GNUmakefile: Define INTERFACE_VERSON explicitly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19993 72102866-910b-0410-8b05-ffd578937521
2004-09-05 02:31:35 +00:00
David Ayers
d5e6b59325 * Source/GSFFCallInvocation.m
* Source/GSFFIInvocation.m (gs_protocol_selector): Skip '-'
        for negative offsets to avoid issues with pre gcc 3.4 generated
        signatures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19975 72102866-910b-0410-8b05-ffd578937521
2004-09-02 16:35:44 +00:00
Adam Fedor
4318301eb4 * Source/NSProcessInfo.m ([NSProcessInfo +load]): Get environment
variables via environ even #ifdef HAVE_KVM (fix/based on #10113).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19928 72102866-910b-0410-8b05-ffd578937521
2004-08-26 15:04:26 +00:00
Richard Frith-Macdonald
c1f55ee760 NSString mutability fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19927 72102866-910b-0410-8b05-ffd578937521
2004-08-26 13:43:34 +00:00
Richard Frith-Macdonald
e448a790ed Fix mistake in property key names for certificate support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19926 72102866-910b-0410-8b05-ffd578937521
2004-08-26 10:41:04 +00:00
Richard Frith-Macdonald
ec2968164d Improve charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19921 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:28:27 +00:00
Richard Frith-Macdonald
6ea8d6b00d Add a missing charset
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19920 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:23:15 +00:00
David Ayers
5d6f918817 * Source/NSScanner.m: Define _GNU_SOURCE before including
other headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19915 72102866-910b-0410-8b05-ffd578937521
2004-08-24 16:18:48 +00:00
Richard Frith-Macdonald
5e309b7ebe Support persistent connections by reusing the underlying file handle
if the remote server is http1.1 or greater and has not explicitly
closed the connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19912 72102866-910b-0410-8b05-ffd578937521
2004-08-24 11:49:44 +00:00
Richard Frith-Macdonald
9ecde501c6 Certificate usage support for https
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19911 72102866-910b-0410-8b05-ffd578937521
2004-08-24 09:16:58 +00:00
Richard Frith-Macdonald
ec6bac6449 Fix leak of handled when using DO between threads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19910 72102866-910b-0410-8b05-ffd578937521
2004-08-24 08:08:14 +00:00
Richard Frith-Macdonald
e22620003a Implement (and document) a MacOS-X compatibility behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19909 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:20:40 +00:00
Richard Frith-Macdonald
8cecc97b87 Improve date handling in text representation of property list.
Make XML format consistent with MacOS-X


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19908 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:02:58 +00:00
Richard Frith-Macdonald
71f88092d1 Add content location methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19903 72102866-910b-0410-8b05-ffd578937521
2004-08-23 14:29:50 +00:00
Richard Frith-Macdonald
9d463e9e59 Modest string handling optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19901 72102866-910b-0410-8b05-ffd578937521
2004-08-22 10:18:52 +00:00
David Ayers
8cd30609bf * Headers/Foundation/NSMethodSignature.h:
(NSArgumentInfo): Document limitations of NSArgumentInfo's
        offset and registier information.  Match size for NO_GNUSTEP.
        (NSMethodSignature): Match ivar name with runtime information.

        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m
        * Source/NSInvocation.m
        (gs_method_for_receiver_and_selector)
        ([-invokeWithTarget:]): Use GSGetMethod instead of deprecated
        GSGetInstanceMethod and GSGetClassMethod.
        * Source/NSConnection.m ([-_service_typeForSelector]): Ditto.
        * Source/NSDistantObject.m ([+respondsToSelector]): Ditto.
        * Source/NSObject.m ([+instanceMethodSignatureForSelector:])
        ([-methodSignatureForSelector:])
        ([+descriptionForInstanceMethod], [-descriptionForMethod]): Ditto.
        * Source/NSProtocolChecker.m ([-methodSignatureForSelector]): Ditto.
        * Source/NSProxy.m ([+methodSignatureForSelector])
        ([-methodSignatureForSelector]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19896 72102866-910b-0410-8b05-ffd578937521
2004-08-20 17:53:16 +00:00
David Ayers
af75d36e34 * Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
Ignore structure names.
        * Testing/nsmethodsignature.m: Added test for nested
        structures.  Reactivated test for signatures from older gcc
        versions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19891 72102866-910b-0410-8b05-ffd578937521
2004-08-20 12:58:04 +00:00
David Ayers
977af9c25e * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
        New Function.
        (gs_skip_type_qualifier_and_layout_info): Ditto.

        * Source/callframe.m (callframe_do_call): Use
	GSSelectorTypesMatch instead of sel_types_match.
        * Source/cifframe.m (cifframe_do_call): Ditto.
        * Source/mframe.m (mframe_do_call): Ditto.

        * Source/GSFFCallInvocation.m (GSInvocationCallback): Use
        NSDebugFLog to NSWarnFLog.
        * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Ditto.

        * Testing/nsmethodsignature.m: Use GSSelectorTypesMatch
	instead of sel_types_match.  Test it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19886 72102866-910b-0410-8b05-ffd578937521
2004-08-19 16:19:48 +00:00
Richard Frith-Macdonald
c55cfbd9c6 Fix minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19885 72102866-910b-0410-8b05-ffd578937521
2004-08-19 14:50:44 +00:00
Richard Frith-Macdonald
284ce516b8 A couple of methods added for consistency.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19880 72102866-910b-0410-8b05-ffd578937521
2004-08-18 10:12:13 +00:00
Richard Frith-Macdonald
83d6c451f2 Fix to compile under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19876 72102866-910b-0410-8b05-ffd578937521
2004-08-17 06:33:07 +00:00
Richard Frith-Macdonald
885883dcbe Minor optimisation of hahs and improved output for old style plists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19863 72102866-910b-0410-8b05-ffd578937521
2004-08-11 05:24:55 +00:00
Richard Frith-Macdonald
6d82d060ec Use message ports if the runtime setting is for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19842 72102866-910b-0410-8b05-ffd578937521
2004-08-08 14:50:43 +00:00
Alexander Malmberg
d4564c1581 Add default for switching between NSSocketPort and NSMessagePort as the default NSPort class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19832 72102866-910b-0410-8b05-ffd578937521
2004-08-07 00:44:15 +00:00
Richard Frith-Macdonald
303acd3d68 When parsing documents with non-standard charset, set the charset actually
used in the content type so that we can unparse the data properly too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19831 72102866-910b-0410-8b05-ffd578937521
2004-08-06 13:26:25 +00:00
Alexander Malmberg
b31c59f874 Fix forwarding of methods not in the proxies protocl if a protocol is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19826 72102866-910b-0410-8b05-ffd578937521
2004-08-05 00:03:30 +00:00
Alexander Malmberg
1e37b28748 Fix handling of plists and strings files in non-ascii encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19805 72102866-910b-0410-8b05-ffd578937521
2004-07-30 21:36:36 +00:00
Adrian Robert
0d31eca394 documented functions, types, constants, and variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +00:00
David Ayers
d6c274320f * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m: Make ObjC++ safe.
        (GSObjCSuper, GSObjCIsKindOf, GSNameFromClass)
        (GSTypesFromSelector, GSGetMethod, GSFlushMethodCacheForClass)
        (GSCGetInstanceVariableDefinition)
        (GSObjCGetInstanceVariableDefinition)
        (GSMethodListForSelector, GSAddMethodList, GSRemoveMethodList)
        (GSObjCVersion, GSObjCName, GSObjCSelectorName)
        (GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited)
        (search_for_method_in_class, GSObjCAddMethods): Replace class
        and this with cls or sel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19790 72102866-910b-0410-8b05-ffd578937521
2004-07-29 12:55:05 +00:00
Richard Frith-Macdonald
c5849bb8dd Fix for inefficiency/leak in emptyPool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19789 72102866-910b-0410-8b05-ffd578937521
2004-07-29 10:54:55 +00:00
Wim (Willem Rein) Oudshoorn
84780b84a2 ([GSFileHandle -gcFinalize]): if __MINGW__ also
close ordinary file descriptor, not only the socket.
([GSFileHandle -closeFile]): in __MINGW__ defined block:
changed test of !isStandardFile to isSocket, and make sure that the
ordinary file descriptor is also closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19784 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:36:09 +00:00
Richard Frith-Macdonald
af7d306481 Tweak old style property list output format. tab, cr, nl characters in a
quoteed string should not need escaping, thoiugh escaped versions need to
be understood on input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19768 72102866-910b-0410-8b05-ffd578937521
2004-07-22 14:27:39 +00:00
David Ayers
9bcaae0c5c * Source/Additions/GSObjCRuntime.m
(gs_revert_selector_names_in_list): New function.
	(GSRemoveMethodList): Also revert selectors for first list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19759 72102866-910b-0410-8b05-ffd578937521
2004-07-21 18:58:21 +00:00
Richard Frith-Macdonald
d08e9b2f90 Minor locale patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19746 72102866-910b-0410-8b05-ffd578937521
2004-07-18 10:48:19 +00:00
Alexander Malmberg
b7d1039ea8 Use memmove instead of memcpy for potentially overlapping moves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19730 72102866-910b-0410-8b05-ffd578937521
2004-07-13 14:11:27 +00:00
Adam Fedor
668efd29c8 Remove solaris warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19703 72102866-910b-0410-8b05-ffd578937521
2004-07-10 03:19:56 +00:00
Richard Frith-Macdonald
ae3f5259a3 Use latin1 as default encoding.
Be strict about converting ascii to unicode ... check that it really is ascii.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19685 72102866-910b-0410-8b05-ffd578937521
2004-07-05 15:42:32 +00:00
Richard Frith-Macdonald
49d11595cd Add a couple of MacOS-X methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19678 72102866-910b-0410-8b05-ffd578937521
2004-07-04 09:25:50 +00:00
Richard Frith-Macdonald
fe0bcb1de3 Bugfix generating unicode escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19677 72102866-910b-0410-8b05-ffd578937521
2004-07-03 17:48:35 +00:00
Richard Frith-Macdonald
bab5235a5d Document the fact that -propertyList returns mutable containers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19674 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:08:24 +00:00
Richard Frith-Macdonald
a3d7978be3 Make decoded property list containers mutable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19672 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:02:49 +00:00
Richard Frith-Macdonald
943b965ef9 A lot of property list tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19669 72102866-910b-0410-8b05-ffd578937521
2004-07-02 10:37:54 +00:00
David Ayers
1e7e1572e2 * Headers/Foundation/NSMethodSignature.h
* Source/NSMethodSignature.m
        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m: Revert last mframe patch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
2004-07-02 08:04:54 +00:00
Fred Kiefer
8116e182ce Applied NSTimeZone stucture packing patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19666 72102866-910b-0410-8b05-ffd578937521
2004-07-01 23:24:35 +00:00
David Ayers
8712b7b537 * Headers/Foundation/NSMethodSignature.h
(_internalMethodTypes): New instance variable.
        * Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
        the runtime signature separately from the mframe signature.
        Document.
        ([-dealloc]): Free new instance variable.
        ([-methodInfo]): Use _internalMethodTypes to build argument
        information.

        * Source/GSFFCallInvocation.m (GSInvocationCallback)
        * Source/GSFFIInvocation.m (GSInvocationCallback): Use the
        selector registered in the runtime for the receiver instead of
        the constructed selector from the stack to avoid mismatches in the
        runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:38:19 +00:00
Richard Frith-Macdonald
a0b07ade13 Added a couple of MacOS-X compatibility methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19651 72102866-910b-0410-8b05-ffd578937521
2004-06-29 10:31:05 +00:00
Alexander Malmberg
587254b3f9 (read_only): Remove.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19625 72102866-910b-0410-8b05-ffd578937521
2004-06-26 15:17:16 +00:00
Richard Frith-Macdonald
d586b6f549 Add some optional sanity check code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19616 72102866-910b-0410-8b05-ffd578937521
2004-06-25 09:06:02 +00:00
Richard Frith-Macdonald
97b8ebd06a Fix bug removing from index set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19615 72102866-910b-0410-8b05-ffd578937521
2004-06-25 06:53:15 +00:00
Richard Frith-Macdonald
0dee75786f Remove debug statement accidentally left in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19610 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:27:10 +00:00
Richard Frith-Macdonald
f138ea1d07 SAX2 fixes and a minor path fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19609 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:26:01 +00:00
Richard Frith-Macdonald
8db8f2791e Remove some redundant code for clarity, Implement missing method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19607 72102866-910b-0410-8b05-ffd578937521
2004-06-24 04:17:56 +00:00
Adrian Robert
bda35fceb3 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
Adrian Robert
ca454833b6 added NSIndexSet.h to list of files to generate gsdoc for
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19587 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:35:33 +00:00
Richard Frith-Macdonald
95b359969c Rewrite description code to support unicode and some additional formats
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19570 72102866-910b-0410-8b05-ffd578937521
2004-06-21 10:56:32 +00:00
Fred Kiefer
8396a85bea Corrected NSIndexSet index iteration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19569 72102866-910b-0410-8b05-ffd578937521
2004-06-21 09:45:13 +00:00
Richard Frith-Macdonald
ba1b0e613b Tolerate users without home directories etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19567 72102866-910b-0410-8b05-ffd578937521
2004-06-20 19:37:19 +00:00
Adam Fedor
32c4f3905a Fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19548 72102866-910b-0410-8b05-ffd578937521
2004-06-19 03:22:11 +00:00
Manuel Guesdon
d670561aaf * Source/NSKeyValueCoding.m: fix exception userInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19544 72102866-910b-0410-8b05-ffd578937521
2004-06-18 18:09:19 +00:00
Adam Fedor
1282b5a5f2 Fix kvm test. Uninstall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19518 72102866-910b-0410-8b05-ffd578937521
2004-06-14 22:27:22 +00:00
Richard Frith-Macdonald
d1daf27fd2 compatibility fix for macos-x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19514 72102866-910b-0410-8b05-ffd578937521
2004-06-14 05:27:54 +00:00
Adam Fedor
c2c10187fe Version 1.9.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19493 72102866-910b-0410-8b05-ffd578937521
2004-06-10 19:39:32 +00:00
David Ayers
d966e21e26 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
        (GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
        Deprecate.
        (GSGetMethod): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19486 72102866-910b-0410-8b05-ffd578937521
2004-06-08 16:52:34 +00:00
David Ayers
7f6f586bbd (BDBGPrintf): Add space before last comma in macro older
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19474 72102866-910b-0410-8b05-ffd578937521
2004-06-06 20:28:57 +00:00
David Ayers
28d280e337 (GSObjCAddClassBehavior): Add call to
GSFlushMethodCacheForClass after adding behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
2004-06-06 13:49:02 +00:00
David Ayers
4bc5a26927 (GSGetClassMethodNotInherited): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19470 72102866-910b-0410-8b05-ffd578937521
2004-06-06 12:14:00 +00:00
David Ayers
b54f0a878b * Source/Additions/GSObjCRuntime.m
(GSObjCMethodNames): Unify implementation for both runtimes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19467 72102866-910b-0410-8b05-ffd578937521
2004-06-05 22:48:40 +00:00
David Ayers
4734fa0a7b (GSObjCMethodNames, search_for_method_in_class, GSObjCAddMethods)
(search_for_method_in_class, GSObjCAddClassBehavior): Use
	GSMethod and GSMethodList types instead of pointers to runtime
	structures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19466 72102866-910b-0410-8b05-ffd578937521
2004-06-05 21:11:00 +00:00
David Ayers
5ec2ddbd0f * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
	(GSMethodList): Define new type.
	(GSAllocMethodList, GSAppendMethodToList,
	* GSRemoveMethodFromList)
	(GSMethodListForSelector, GSMethodFromList)
	(GSAddMethodList, GSRemoveMethodList): New functions.
	* Testing/GNUmakefile
	* Testing/gsbehavior.m: New tests.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19464 72102866-910b-0410-8b05-ffd578937521
2004-06-05 13:54:26 +00:00
Richard Frith-Macdonald
ffa9b78a57 Minor performance optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19462 72102866-910b-0410-8b05-ffd578937521
2004-06-05 10:06:56 +00:00