/[gnustep]/gnustep/core/base/ChangeLog
ViewVC logotype

Contents of /gnustep/core/base/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2000 - (show annotations) (download)
Fri Sep 26 15:39:14 2003 UTC (20 years, 7 months ago) by CaS
Branch: MAIN
Changes since 1.1999: +6 -0 lines
Minor bugfix .. pathExtension

1 2003-09-26 Richard Frith-Macdonald <rfm@gnu.org>
2
3 * Source/NSString.m: Fix pathExtension bug reported by Roland
4 Schwingel. Was failing to handle the case when a dot appears
5 inside a path component properly.
6
7 2003-09-25 Richard Frith-Macdonald <rfm@gnu.org>
8
9 * Source/NSConnection.m: Fix obscure bug releasing in-progress
10 request information on connection deallocation.
11
12 2003-09-23 Adam Fedor <fedor@gnu.org>
13
14 * Source/Additions/Makefile.preamble: Add DLL build flag for cyginw
15
16 * Testing/Makefile.postamble (check): Make CHECKABLE_TOOLS only
17
18 * Tools/AGSHtml.m: Remove duplicate interface (on *-apple-*)
19 * Tools/AGSIndex.m: Idem.
20
21 2003-09-23 Adam Fedor <fedor@gnu.org>
22
23 * Source/NSTimeZone.m (+systemTimeZone): Remove tzname extern decl.
24
25 2003-09-22 Adam Fedor <fedor@gnu.org>
26
27 * configure.ac: Check for getopt
28 * Tools/gdomap.c: Use local getopt if no native getopt
29
30 2003-09-21 Adam Fedor <fedor@gnu.org>
31
32 * Tools/cvtenc.m (main): Write using local/set encoding when
33 EscapeIn=YES.
34
35 * Documentation/coding-standards.texi: Add section about object
36 persistance.
37
38 * configure.ac: Make it possible to override --enable-pass-arguments
39 when on cygwin.
40 * configure: Regenerate using 2.57
41
42 2003-09-20 yjchen <yjchenx@hotmail.com>
43
44 * Resources/Languages/TraditionalChinese: Quote escaped strings.
45
46 2003-09-13 Richard Frith-Macdonald <rfm@gnu.org>
47
48 * Source/NSConnection.m: Add a couple of checks to raise exceptions
49 when trying to use a connection from the wrong thread. Also, change
50 the code for handling multithreaded connections so that they are
51 removed from the runloops of exiting threads in response to the
52 thread exit notification.
53
54 2003-09-13 David Ayers <d.ayers@inode.at>
55
56 * Headers/Additions/GNUstepBase/GSCategories.h: Move declarations
57 from Source/Additions/GSCompatibility.h to here.
58 ([NSObject -compare:]): Deprecate.
59 * Source/Additions/GSCompatibility.h: Move contents from here to
60 Headers/Additions/GNUstepBase/GSCategories.h.
61
62 * Source/Additions/GSCategories.m:
63 ([NSObject -compare:]): Deprecate.
64
65 * Headers/Foundation/NSObject.h
66 ([NSObject -compare:]): Deprecate.
67
68 * Source/Additions/GCDictionary.m: Include
69 GNUstepBase/GSCategories.h rather than GSCompatibility.h.
70 * Source/Additions/GCObject.m: Ditto.
71 * Source/Additions/GSMime.m: Ditto.
72 * Source/Additions/GSObjCRuntime.m: Ditto.
73 * Source/Additions/GSXML.m: Ditto.
74 * Source/Additions/Unicode.m: Ditto.
75
76 * macosx/GNUstepBase/preface.h: Update include for new header
77 structure.
78
79 2003-09-11 Adam Fedor <fedor@gnu.org>
80
81 * macosx/preface.h: Removed
82 * macosx/GNUstepBase/preface.h: New
83 * macosx/gnustep.pbproj/project.pbxproj: Update
84 (from Philip Moetteli <philip.moetteli@tele2.ch>).
85
86 2003-09-11 Philip Moetteli <philip.moetteli@tele2.ch>
87
88 * Source/Additions/GSCompatibility.h
89 * Source/Additions/GSCompatibility.m
90 (NSDecimalFromComponents): Added compatibility function.
91
92 2003-09-11 Richard Frith-Macdonald <rfm@gnu.org>
93
94 * Source/Unicode.m: Fix minor errors in utf8 handling.
95 Use endian version of UTF16 to avoid iconv inserting BOM where
96 it is not wanted.
97
98 2003-09-10 David Ayers <d.ayers@inode.at>
99
100 * Headers/Additions/GNUstepBase/GSObjCRuntime.h (GSObjCSuper):
101 Added test for uninitialized superclass reference.
102
103 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
104
105 * Source/NSObject.m: Tidy use of GSObjCRuntime a little.
106
107 2003-09-10 Pete French <pete@twisted.org.uk>
108
109 * Source/Additions/Unicode.m: patch to use UTF16 rather than
110 UCS2 internally.
111
112 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
113
114 * Source/NSCalendarDate.m:
115 ([years:months:days:hours:minutes:seconds:sinceDate:]) fix to return
116 all positive values for a difference from a date in the past.
117
118 2003-09-07 Adam Fedor <fedor@gnu.org>
119
120 * Source/NSBundle.m (+_addFrameworkFromClass:): Check
121 _loadingBundle != bundle when removing classes.
122
123 2003-09-07 S.J.Chun <chunsj@embian.com>
124
125 * Source/Unicode.m: Added Korean encoding
126 * Headers/Foundation/NSString.h: Added Korean encoding
127 * Source/Additions/GSCompatibility.h: Idem.
128
129 Sun Sep 7 13:35:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
130
131 * configure.ac: Fixed GNUSTEP_HDIR when not flattened.
132 * configure: Regenerated.
133
134 2003-09-05 Adam Fedor <fedor@gnu.org>
135
136 * Headers/Additions/GNUstepBase/behavior.h: GS_EXPORT functions.
137
138 2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
139
140 * Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:
141 Change return type of -initWithPath: to id.
142
143 2003-09-02 Adam Fedor <fedor@gnu.org>
144
145 * configure.ac: Check for tzset
146 * Source/NSTimeZone.m (+systemTimeZone): Use it to find time zone
147 (as a last resort).
148
149 2003-09-02 Adam Fedor <fedor@gnu.org>
150
151 * Tools/gdnc.m (main): Don't mess with file descriptors on MinGW.
152
153 2003-09-01 Adam Fedor <fedor@gnu.org>
154
155 * Tools/gdomap.c (main): Move getuid call inside #ifndef MINGW
156 like the others.
157
158 2003-08-31 Adam Fedor <fedor@gnu.org>
159
160 * Tools/gdnc.m (main): Close any open file descriptors so we can
161 be a proper daemon.
162 Fixes #4938.
163
164 2003-08-29 Adam Fedor <fedor@gnu.org>
165
166 * config/procfs.m4: Disable procfs for solaris
167
168 2003-08-26 Adam Fedor <fedor@gnu.org>
169
170 * Source/NSMessagePort.m: For older OS comptibility, define some
171 macros if they are not already defined.
172 * Source/NSMessagePortNameServer.m: Idem.
173
174 2003-08-24 David Ayers <d.ayers@inode.at>
175
176 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
177 (GSObjCClass): Allow nil values.
178 (GSObjCIsInstance): Ditto.
179 (GSObjCIsClass): New function.
180 (GSClassNameFromObject): Ditto.
181 (GSObjCIsKindOf): Use GSObjCSuper() in favor of
182 class_get_super_class().
183
184 * Headers/Foundation/NSRange.h
185 (GS_RANGE_CHECK), (CHECK_INDEX_RANGE_ERROR):
186 Use GSNameFromSelector() in favor of sel_get_name().
187
188 * Source/GSFFCallInvocation.m
189 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
190 (-[GSFFCallInvocation invokeWithTarget:]), (GSInvocationCallback):
191 Use GSObjCIsInstance() in favor of object_is_instance,
192 GSObjCClass() in favor of object_get_class(),
193 GSObjCIsClass() in favor of object_is_class(),
194 GSNameFromSelector() in favor of sel_get_name(),
195 GSObjCSuper() in favor of class_get_super_class() and
196 GSClassNameFromObject() in favor of object_get_class_name().
197
198 * Source/GSFFIInvocation.m
199 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
200 (-[GSFFIInvocation invokeWithTarget:]), (GSFFIInvocationCallback):
201 Use GSObjCIsInstance() in favor of object_is_instance,
202 GSObjCClass() in favor of object_get_class(),
203 GSObjCIsClass() in favor of object_is_class(),
204 GSNameFromSelector() in favor of sel_get_name(),
205 GSObjCSuper() in favor of class_get_super_class() and
206 GSClassNameFromObject() in favor of object_get_class_name().
207
208 * Source/NSConnection.m
209 (-[NSConnection forwardForProxy:selector:argFrame:]),
210 (-[NSConnection forwardInvocation:forProxy:]):
211 Use GSNameFromSelector() in favor of sel_get_name().
212
213 * Source/NSDistantObject.m
214 (class_is_kind_of): Use GSObjCSuper in favor of
215 class_get_super_class().
216 (-[NSDistantObject forward::]): Use GSNameFromSelector() in favor of
217 sel_get_name().
218
219 * Source/NSInvocation.m
220 (-[NSInvocation invokeWithTarget:])
221 Use GSObjCSuper() in favor of class_get_super_class(),
222 GSObjCIsInstance() in favor of object_is_instance()
223 (-[NSInvocation description]):
224 Use GSClassNameFromObject in favor of object_get_class_name().
225 Avoid buffer overflow by using snprintf() in favor of sprintf().
226 (-[NSInvocation initWithSelector:]):
227 Use GSNameFromSelector() in favor of sel_get_name().
228
229 * Source/NSObject.m
230 (GSDescriptionForInstanceMethod), (GSDescriptionForClassMethod),
231 (+[NSObject superclass], (-[NSObject description]),
232 (-[NSObject doesNotRecognizeSelector:]),
233 (-[NSObject performSelector:]),
234 (-[NSObject performSelector:withObject:]),
235 (+[NSObject setVersion:], -[NSObject error:]),
236 (-[NSObject doesNotRecognize:], -[NSObject isClass]),
237 (-[Object description]):
238 Use GSNameFromSelector() in favor of sel_get_name(),
239 GSObjCSuper() in favor of class_get_super_class(),
240 GSClassNameFromObject() in favor of object_get_class_name() and
241 GSObjCIsClass() in favor of object_is_class().
242
243 * Source/NSProxy.m
244 (+[NSProxy description]), (-[NSProxy description]),
245 (+[NSProxy superclass]), (-[NSProxy forwardInvocation:]),
246 (-[NSProxy init], (-[NSProxy notImplemented:]),
247 (-[NSProxy performSelector:]),
248 (-[NSProxy performSelector:withObject:]),
249 (-[NSProxy performSelector:withObject:withObject:]):
250 Use GSClassNameFromObject() in favor of object_get_class_name(),
251 GSObjCSuper() in favor of class_get_super_class() and
252 GSNameFromSelector() in favor of sel_get_name().
253
254 * Source/Additions/GSCategories.m
255 (-[NSObject notImplemented:]), (-[NSObject shouldNotImplement:]),
256 (-[NSObject subclassResponsibility:]):
257 Use GSNameFromSelector() in favor of sel_get_name() and
258 GSClassNameFromObject() in favor of object_get_class_name().
259
260 * Source/Additions/GSCompatibility.h
261 (GS_RANGE_CHECK): Use GSNameFromSelector() in favor of
262 sel_get_name().
263
264 * Source/Additions/GSCompatibility.m
265 (+[NSObject notImplemented:]):
266 Use GSNameFromSelector() in favor of sel_get_name() and
267 GSClassNameFromObject() in favor of object_get_class_name().
268
269 * Source/Additions/GSObjCRuntime.m
270 (GSObjCMethodNames), (GSObjCAddMethods):
271 Use GSNameFromSelector() in favor of sel_get_name().
272
273 * Testing/nsbundle.m (main): Update to reflect filesystem change.
274 Use GSClassNameFromObject() in favor of object_get_class_name().
275
276 * Testing/nsconnection_server.m
277 Use GSNameFromSelector() in favor of sel_get_name().
278
279 * Testing/Makefile.postamble: Build before checking.
280
281 2003-08-23 Adam Fedor <fedor@gnu.org>
282
283 * Version 1.7.3
284
285 2003-08-23 Adam Fedor <fedor@gnu.org>
286
287 * configure.ac: Fix mistake in checking for ffi.
288
289 * Tools/AGSIndex.m: Add NSString compatibility interface
290 when compiling on apple-apple-apple.
291 * Tools/AGSHtml.m: idem.
292
293 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
294
295 * Source/NSObject.m: Trivial cast to avoid compiler warnings.
296
297 2003-08-20 13:59 Alexander Malmberg <alexander@malmberg.org>
298
299 Clean up code to remove warnings issued by (what will become)
300 gcc 3.4.
301
302 * Source/GSString.m, Source/NSArchiver.m, Source/NSAttributedString.m,
303 Source/NSRunLoop.m: Don't return values from methods returning void.
304
305 2003-08-19 Adam Fedor <fedor@gnu.org>
306
307 * configure.ac: Clarify ffi interface warnings and disable_do on
308 apple-apple-apple.
309 Fixes #4824
310
311 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
312
313 * Source/NSObject.m: Move hacked methods for getting protocol
314 method info into functions so we can use them without going
315 through the ObjC runtime.
316 * Source/NSDistantObject.m: When attempting to check protocols,
317 use functions from NSObject.m if the protocol has not been
318 properly initialised (its class pointer is 0x2) as is the case
319 for all but very recent versions of the compiler.
320 FIXME ... this code should be removed at some future date when
321 all common systems have shipped with a working compiler for
322 a while.
323
324 2003-08-13 David Ayers <d.ayers@inode.at>
325
326 * Headers/Additions/GNUstepBase/preface.h: Remove generated
327 file that should have been ignored by entry in .cvsignore.
328 * Source/UnixFileHandle.m: Remove obsolete file.
329
330 2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
331
332 * Tools/gdnc.1: Updated man pages, fixed typos, unified format
333 and layout. Man pages are now installed unprocessed as it should be.
334 * Tools/gdomap.8: ditto.
335
336 2003-08-12 Yen-Ju Chen <yjchenx@hotmail.com>
337
338 * Source/Additions/Unicode.m (GetAvailableEncodings): Include
339 last encoding.
340
341 2003-08-08 Richard Frith-Macdonald <rfm@gnu.org>
342
343 * Source/Additions/GSXML.m: save and restore libxml global settings
344 before/after each parse operation.
345
346 2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
347
348 * Source/NSString.m: nodeToObject() fix error in handling escape
349 sequences in strings ... only treat a backslash specially when it
350 is immediately followed by 'U' or 'u' and four hexadecimal digits.
351 ensure data ia deallocated promptly.
352 * Source/GSCompatibility.m: match changes to property list escapes
353 * Source/Additions/GSXML.m: change ownership policy so that nodes
354 are owned by theri parents, never by siblings ... prevent stack
355 overflow deallocating nodes in long documents.
356 * Tools/plist-0_9.dtd: document unicode escapes.
357
358 2003-08-02 Adam Fedor <fedor@gnu.org>
359
360 * Source/NSProxy.m: Fix limit.h -> limits.h
361
362 2003-08-02 Yen-Ju Chen <yjchenx@hotmail.com>
363
364 * Resources/Languages/TraditionalChinese,
365 Resources/TraditionalChinese.lproj: New
366 * Resources/GNUmakefile: Install them.
367
368 2003-08-01 Richard Frith-Macdonald <rfm@gnu.org>
369
370 * Source/NSProxy.m: Include limits.h for UINT_MAX
371 * Source/NSProcessInfo.m: Avoid crash when given invalid argument list
372 * Source/NSString.m: Minor cleanup for coding standards and remove
373 pointer dereferencing of object which causes problems with new
374 compiler
375 Problems reported by Alexander and Roland
376
377 2003-07-31 David Ayers <d.ayers@inode.at>
378
379 * Created tag 'pre-header-reorg-20030731'.
380
381 * Headers/Additions/GNUstepBase: New directory.
382 * Headers/Additions/GNUstepBase/unicode: Ditto.
383 * Headers/Foundation: Ditto.
384 * Headers/gnustep/base: Obsoleted.
385 * Headers/gnustep/unicode: Ditto.
386
387 * Headers/Additions/GNUstepBase/DistributedObjects.h: Moved here
388 from Headers/gnustep/base.
389 * Headers/Additions/GNUstepBase/GCObject.h: Ditto.
390 * Headers/Additions/GNUstepBase/GNUstep.h: Ditto.
391 * Headers/Additions/GNUstepBase/GSCategories.h: Ditto.
392 * Headers/Additions/GNUstepBase/GSConfig.h.in: Ditto.
393 * Headers/Additions/GNUstepBase/GSFileHandle.h: Ditto.
394 * Headers/Additions/GNUstepBase/GSIArray.h: Ditto.
395 * Headers/Additions/GNUstepBase/GSIMap.h: Ditto.
396 * Headers/Additions/GNUstepBase/GSLocale.h: Ditto.
397 * Headers/Additions/GNUstepBase/GSMime.h: Ditto.
398 * Headers/Additions/GNUstepBase/GSObjCRuntime.h: Ditto.
399 * Headers/Additions/GNUstepBase/GSUnion.h: Ditto.
400 * Headers/Additions/GNUstepBase/GSXML.h: Ditto.
401 * Headers/Additions/GNUstepBase/Unicode.h: Ditto.
402 * Headers/Additions/GNUstepBase/behavior.h: Ditto.
403 * Headers/Additions/GNUstepBase/config.h.in: Ditto.
404 * Headers/Additions/GNUstepBase/objc-gnu2next.h: Ditto.
405 * Headers/Additions/GNUstepBase/preface.h.in: Ditto.
406 * Headers/Additions/GNUstepBase/thr-mach.h: Ditto.
407 * Headers/Additions/GNUstepBase/.cvsignore: Ditto.
408
409 * Headers/Additions/GNUstepBase/unicode/caseconv.h: Moved here
410 from Headers/gnustep/unicode.
411 * Headers/Additions/GNUstepBase/unicode/cop.h: Ditto.
412 * Headers/Additions/GNUstepBase/unicode/cyrillic.h: Ditto.
413 * Headers/Additions/GNUstepBase/unicode/decomp.h: Ditto.
414 * Headers/Additions/GNUstepBase/unicode/gsm0338.h: Ditto.
415 * Headers/Additions/GNUstepBase/unicode/latin2.h: Ditto.
416 * Headers/Additions/GNUstepBase/unicode/latin9.h: Ditto.
417 * Headers/Additions/GNUstepBase/unicode/nextstep.h: Ditto.
418 * Headers/Additions/GNUstepBase/unicode/thai.h: Ditto.
419
420 * Headers/Foundation/Foundation.h: Moved here from
421 Headers/gnustep/base.
422 * Headers/Foundation/NSArchiver.h: Ditto.
423 * Headers/Foundation/NSArray.h: Ditto.
424 * Headers/Foundation/NSAttributedString.h: Ditto.
425 * Headers/Foundation/NSAutoreleasePool.h: Ditto.
426 * Headers/Foundation/NSBitmapCharSet.h: Ditto.
427 * Headers/Foundation/NSBundle.h: Ditto.
428 * Headers/Foundation/NSByteOrder.h: Ditto.
429 * Headers/Foundation/NSCalendarDate.h: Ditto.
430 * Headers/Foundation/NSCharacterSet.h: Ditto.
431 * Headers/Foundation/NSClassDescription.h: Ditto.
432 * Headers/Foundation/NSCoder.h: Ditto.
433 * Headers/Foundation/NSConcreteNumber.h: Ditto.
434 * Headers/Foundation/NSConnection.h: Ditto.
435 * Headers/Foundation/NSData.h: Ditto.
436 * Headers/Foundation/NSDate.h: Ditto.
437 * Headers/Foundation/NSDateFormatter.h: Ditto.
438 * Headers/Foundation/NSDebug.h: Ditto.
439 * Headers/Foundation/NSDecimal.h: Ditto.
440 * Headers/Foundation/NSDecimalNumber.h: Ditto.
441 * Headers/Foundation/NSDictionary.h: Ditto.
442 * Headers/Foundation/NSDistantObject.h: Ditto.
443 * Headers/Foundation/NSDistributedLock.h: Ditto.
444 * Headers/Foundation/NSDistributedNotificationCenter.h: Ditto.
445 * Headers/Foundation/NSEnumerator.h: Ditto.
446 * Headers/Foundation/NSException.h: Ditto.
447 * Headers/Foundation/NSFileHandle.h: Ditto.
448 * Headers/Foundation/NSFileManager.h: Ditto.
449 * Headers/Foundation/NSFormatter.h: Ditto.
450 * Headers/Foundation/NSGeometry.h: Ditto.
451 * Headers/Foundation/NSHashTable.h: Ditto.
452 * Headers/Foundation/NSHost.h: Ditto.
453 * Headers/Foundation/NSInvocation.h: Ditto.
454 * Headers/Foundation/NSKeyValueCoding.h: Ditto.
455 * Headers/Foundation/NSLock.h: Ditto.
456 * Headers/Foundation/NSMapTable.h: Ditto.
457 * Headers/Foundation/NSMethodSignature.h: Ditto.
458 * Headers/Foundation/NSNotification.h: Ditto.
459 * Headers/Foundation/NSNotificationQueue.h: Ditto.
460 * Headers/Foundation/NSNull.h: Ditto.
461 * Headers/Foundation/NSNumberFormatter.h: Ditto.
462 * Headers/Foundation/NSObjCRuntime.h: Ditto.
463 * Headers/Foundation/NSObject.h: Ditto.
464 * Headers/Foundation/NSPathUtilities.h: Ditto.
465 * Headers/Foundation/NSPort.h: Ditto.
466 * Headers/Foundation/NSPortCoder.h: Ditto.
467 * Headers/Foundation/NSPortMessage.h: Ditto.
468 * Headers/Foundation/NSPortNameServer.h: Ditto.
469 * Headers/Foundation/NSProcessInfo.h: Ditto.
470 * Headers/Foundation/NSProtocolChecker.h: Ditto.
471 * Headers/Foundation/NSProxy.h: Ditto.
472 * Headers/Foundation/NSRange.h: Ditto.
473 * Headers/Foundation/NSRunLoop.h: Ditto.
474 * Headers/Foundation/NSScanner.h: Ditto.
475 * Headers/Foundation/NSSerialization.h: Ditto.
476 * Headers/Foundation/NSSet.h: Ditto.
477 * Headers/Foundation/NSString.h: Ditto.
478 * Headers/Foundation/NSTask.h: Ditto.
479 * Headers/Foundation/NSThread.h: Ditto.
480 * Headers/Foundation/NSTimeZone.h: Ditto.
481 * Headers/Foundation/NSTimer.h: Ditto.
482 * Headers/Foundation/NSURL.h: Ditto.
483 * Headers/Foundation/NSURLHandle.h: Ditto.
484 * Headers/Foundation/NSUndoManager.h: Ditto.
485 * Headers/Foundation/NSUserDefaults.h: Ditto.
486 * Headers/Foundation/NSUtilities.h: Ditto.
487 * Headers/Foundation/NSValue.h: Ditto.
488 * Headers/Foundation/NSZone.h: Ditto.
489
490 * Soruce/GSFormat.h: Ditto.
491 * Source/GSInvocation.h: Moved here from Headers/gnustep/base.
492 * Source/objc-load.h: Ditto.
493
494 * configure.ac: Update to new header structure.
495 * configure: Regenerated.
496 * Makefile.postamble: Remove handling of header-links and update
497 to new header structure.
498
499 * Source/GNUmakefile: Update to new header structure.
500 Always install GSFileHandle.h, GSLocal.h, GSUnion.h, GSIArray.h,
501 GSIMap.h, preface.h as public headers.
502 Do not install DistributedObjects.h, objc-load.h and thr-mach.h.
503 Install GSMime.h and GSXML.h in GNUstepBase instead of Foundation.
504 Include CompatibilityHeaders.make makefile fragement.
505
506 * Source/Makefile.preamble: Update to new header structure.
507 Split HEADER_DIR into HEADER_DIR_BASE and HEADER_DIR_FND.
508
509 * Source/Makefile.postamble: Update to new header structure.
510 Do not install mframe.h.
511 Update for HEADER_DIR split.
512
513 * Source/CompatibilityHeaders.make: New file which installs dummy
514 headers in the place of the old headers, warning about obsoleting
515 the old location and includeing the header from its new location.
516
517 * Source/Additions/Makefile.preamble: Update to new header
518 structure. Only add -I../../Headers for *-gnu-*.
519
520 * Source/*.[hm]: Update includes for new header structure.
521 * Source/Additions/*.m: Ditto.
522 * Source/mframe/mframe.head: Ditto.
523 * Source/.cvsignore: Ignore config.h.
524
525 * Testing/Makefile.preamble: Update to new header structure. Only
526 add -I../../Headers for *-gnu-*.
527 * Testing/*.[hm]: Update includes for new header structure.
528
529 * Tools/Makefile.preamble: Update to new header structure. Only
530 add -I../../Headers for *-gnu-*.
531 * Tools/*.[hm]: Update includes for new header structure.
532
533 * Tools/make_strings/GNUmakefile.preamble: Update to new header
534 structure. Only add -I../../Headers for *-gnu-*.
535
536 * Source/DocMakefile: Update to new header structure.
537
538 * SSL/Makefile.preamble: Update to new header structure.
539 * SSL/GSSSLHandle.m: Ditto.
540
541 * Examples/Makefile.preamble: Use -I../Headers only with *-gnu-*.
542
543 * Headers/gnustep/base/UnixFileHandle.h: Removed.
544 * Headers/gnustep/base/WindowsFileHandle.h: Ditto.
545
546 2003-07-30 Richard Frith-Macdonald <rfm@gnu.org>
547
548 * Tools/gdomap.c: Some security fixes and tweaks.
549
550 2003-07-28 Richard Frith-Macdonald <rfm@gnu.org>
551
552 * Source/GSFFCALLInvocation.m: Make exception text more meaningful
553 * Source/GSFFIInvocation.m: ditto
554 * Source/Additions/GSXML.m: Add a couple of convenience methods to
555 test node type.
556 * Source/Additions/GSMime.m: Add convenience method for putting
557 a new header in a document.
558 * Source/NSCalendarDate.m: Tweak to avoid useless compiler warning.
559 * Source/NSRunLoop.m: ditto
560 * Source/NSURL.m: ditto
561 * Source/Additions/GSMime.m: ditto
562 * Source/Additions/Unicode.m: ditto
563
564
565 2003-07-27 Gregory John Casamento <greg_casamento@yahoo.com> &
566 Alexander Malmberg <alexander@malmberg.org>
567
568 * Source/Additions/GSObjCRuntime.m: GSObjCMethodNames was not
569 returning all methods for the object given.
570
571 2003-07-27 Richard Frith-Macdonald <rfm@gnu.org>
572
573 * Source/NSInvocation.m: implement methodSignatureForSelector for
574 proxy.
575
576 2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
577
578 * Source/GSFFCALLInvocation.m: Add evil hack to cope with cases
579 where type info was not available and we assumed a method returning
580 an id but the actual method returned void.
581 * config/procfs.m4: Test for procfs using 'mount'
582
583 2003-07-25 Richard Frith-Macdonald <rfm@gnu.org>
584
585 * Source/NSDistributedNotificationCenter.m: Partially reverted last
586 change ... seemed to cause problems on some systems.
587 * Tools/gdnc.m: ditto.
588 * Source/NSDebug.m: Small thread safely fix.
589 * Source/NSThread.m: Avoid multiple copies of housekeeping timer.
590 * Source/NSConnection.m: Fix thread related memory leak leaving
591 an NSRunLoop in a connection when the connection is no longer
592 using it.
593 * Source/NSURL.m: retain handle while doing background load.
594
595 2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
596
597 * Source/NSObject.m: Implement methodSignatureForSelector for zombies
598 * Source/DocMakefile: Only remove directory with stamp for 'clean'
599
600 2003-07-22 Adam Fedor <fedor@gnu.org>
601
602 * Version 1.7.2
603
604 2003-07-22 Jeremy Bettis <jeremy@deadbeef.com>
605
606 * Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
607 Fix macro to return the method list.
608
609 2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
610
611 * Tools/AGSHtml.m: Don't output authors heading if not needed.
612 * Source/NSUser.m: Use HOMEPATH in preference to USERPROFILE for
613 OPENSTEP compatibility and because USERPROFILE generally doesn't
614 work due to the presence of spaces.
615 * Headers/gnustep/base/NSDebug.h: Minor documentation fix.
616 * Headers/gnustep/base/NSHashTable.h: ditto
617 * Headers/gnustep/base/NSPort.h: ditto
618 * Headers/gnustep/base/NSPortNameServer.h: ditto
619 * Source/DocMakefile: Document serialization classes
620 * Source/NSDebug.m: Fix broken cross reference
621 * Source/NSLog.m: ditto
622 * Source/NSMessagePortNameServer.m: Tidied
623 * Source/NSPortNameServer.m: Tidied and documented.
624 * Source/NSSocketPortNameServer.m: Documented and fixed methods
625 to return NO on failure rather than raising exception.
626 * Source/NSUndoManager.m: Fix documentation markup errors.
627
628 2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
629
630 * Source/Additions/Unicode.m (GROW): Fix shifting of pointers into
631 local buffer for case where we are leaving room for a null terminator.
632 This avoids moving pointer back before start of buffer.
633
634 2003-07-21 Roland Schwingel <Roland.Schwingel@onevision.de>
635
636 * Source/libgnustep-base-entry.m: Don't create unnecessary window.
637
638 Mon Jul 21 11:03:48 2003 Nicola Pero <n.pero@mi.flashnet.it>
639
640 * Tools/HTMLLinker.m: Removed.
641 * Tools/HTMLLinker.html: Removed.
642 * Tools/GNUmakefile: Do not compile it.
643
644 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
645
646 * Source/NSProxy.m: Implement essential methods for a proxy to be
647 vended over an NSConnection.
648
649 2003-07-20 17:27 Alexander Malmberg <alexander@malmberg.org>
650
651 * Source/NSConnection.m (-invalidate): Don't kill the targetToCached
652 timer when invalidating a connection.
653
654 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
655
656 * Source/NSThread.m: Separate out sleeping into a more efficient
657 function and improve use of nanosleep
658 * Source/NSLock.m: Use new private sleeping function from NSThread.m
659 and rewrite code to be more responsive, especially for cases where
660 locks are heavily used for rapid interaction between threads.
661 * Tools/thread.m: Test lockBeforeDate
662
663 2003-07-17 Richard Frith-Macdonald <rfm@gnu.org>
664
665 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) use the
666 NSThread method to sleep rather than re-implementing it.
667 * configure.ac: Check for nanosleep()
668 * Headers/Foundation/config.h.in: Add entry for nanosleep
669 * Source/NSThread.m: Use nanosleep if available.
670 * Headers/Foundation/NSProcessInfo.h: Added new methods -
671 ([-setDebugLoggingEnabled:]) and ([-debugLoggingEnabled])
672 * Source/NSProcessInfo.m: ditto
673
674 2003-07-16 David Ayers <d.ayers@inode.at>
675
676 * config.make.in: Default to builing -baseadd on non *-gnu-*
677 configurations.
678
679 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
680
681 * Headers/gnustep/base/NSArray.h: Add methods for creating from URL
682 * Headers/gnustep/base/NSDictionary.h: ditto
683 * Source/NSArray.m: ditto
684 * Source/NSDictionary.m: ditto
685
686 2003-07-15 David Ayers <d.ayers@inode.at>
687
688 * Headers/gnustep/base/NSUndoManager.h: Add
689 NSUndoCloseGroupingRunLoopOrdering enum. Replace instance
690 variables _registeredUndo with _runLoopGroupingPending and
691 _actionName with _unused1.
692 * Source/NSUndoManager.m: Added documentation.
693 Added actionName instance variable to PrivateUndoGroup.
694 (-[PrivateUndoGroup actionName]): New method.
695 (-[PrivateUndoGroup setActionName]): Ditto.
696 (-[PrivateUndoGroup dealloc]): Release new instance variable.
697 (-[PrivateUndoGroup initWithParent:]): Initialize actionName.
698 (-[NSUndoManager forwardInvocation]): Implicitly call
699 beginUndoGrouping if group has not been setup and we are grouping
700 by events. Register _loop: invocation if none is already pending
701 and if we are grouping by event.
702 (-[NSUndoManager registerUndoWithTarget:selector:object]): Ditto.
703 (-[NSUndoManager methodSignatureForSelector:]): Overriden to
704 forward request to target supplied by
705 -prepareWithInvocationTarget: if available.
706 (-[NSUndoManager _loop:]): Set flag to determine pending _loop:
707 processing.
708 (-[NSUndoManager init]): Removed access to _actionName. Have
709 receiver default to group by event.
710 (-[NSUndoManager dealloc]): Ditto.
711 (-[NSUndoManager enableUndoRegistration]): Remove access to
712 _registeredUndo.
713 (-[NSUndoManager redo]): Simplified implementation.
714 (-[NSUndoManager redoActionName:]: Retrieve action name from first
715 grouping of the redo stack.
716 (-[NSUndoManager redoMenuTitleForUndoActionName:]): Add comment
717 about localization.
718 (-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
719 (-[NSUndoManager setActionName:]): Forward call to current
720 grouping.
721 (-[NSUndoManager undoActionName:]: Retrieve action name from first
722 grouping of the undo stack.
723 (-[NSUndoManager setRunLoopModes:]): Use correct run loop ordering
724 and set flag for pending _loop: invocation.
725 (-[NSUndoManager undoNestedGroup]): Removed special case handling
726 of _registeredUndo. Raise NSInternalInconsistencyException if
727 grouping is still in progress. Simplified implementation.
728
729 2003-07-15 Alexander Malmberg <alexander@malmberg.org>
730
731 * Source/NSConnection.m: When creating new connection with registered
732 name on host, ensure that send and receive ports are of same class.
733 * Source/NSMessagePort.m: New for private local connections.
734 * Source/NSMessagePortNameServer.m: New for private local connections.
735 * Source/NSPortNameServer.m: Made abstract
736 * Source/NSSocketPortNameServer.m: Concrete version based on original.
737 * Source/NSSocketPort.m: GSTcpPort.m renamed
738 Alexanders modifications added by RFM and altered slightly to use
739 NSSocketPort by default and to refrain from building new code under
740 windows, so this *shouldn't* break any existing code I hope.
741
742 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
743
744 * Source/NSDistributedNotificationCenter.m: Use loopback network
745 interface for local center.
746 * Tools/gdnc.m: ditto.
747
748 2003-07-11 David Ayers <d.ayers@inode.at>
749
750 * Source/GNUmakefile: Make GNUstep.h public.
751 * Source/Additions/GSXML.m: Use cached NSString class variable.
752 * Source/Additions/GSObjCRuntime.m
753 (GSCGetInstanceVariableDefinition): Make more robust.
754
755 2003-07-11 Richard Frith-Macdonald <rfm@gnu.org>
756
757 * Headers/Foundation/NSPort.h: Tweak for mingw and correct conditional
758 compilation to only include NSSocketPort for MacOS-X
759 * Source/GSFileHandle.m: Incorporate S.J.Chuns mingw fixes with huge
760 simplification to avoid lots of conditional compilation.
761 * Source/GSTcpPort.m: ditto.
762 * Source/NSSocketPort.m: ditto.
763
764 2003-07-11 02:33 Alexander Malmberg <alexander@malmberg.org>
765
766 * Source/NSAssertionHandler.m: Use the correct key to store the
767 NSAssertionHandler in the thread dictionary, and document the
768 storing and the key.
769
770 2003-07-09 15:54 Alexander Malmberg <alexander@malmberg.org>
771
772 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): Make sure
773 dst isn't set to NULL in GSToUnicode, too. Make sure it is set if
774 an allocated buffer turns out not to need resizing.
775
776 2003-07-09 02:41 Alexander Malmberg <alexander@malmberg.org>
777
778 * Source/GSString.m (getCString_u): Rewrite to correctly handle
779 all encodings, the range argument, and the leftoverRange attribute.
780
781 * Source/Additions/Unicode.m (GSToUnicode): Clarify the documentation
782 (and fix a few typos in it).
783 (GSFromUnicode): Clarify the documentation. Signal failure correctly
784 from the utf8 encoder. Make sure dst isn't set to NULL if zone is
785 NULL but *size is 0.
786
787 2003-07-08 Richard Frith-Macdonald <rfm@gnu.org>
788
789 * Source/NSString.m: Avoid using atof() in parsing plists ... we
790 don't want libc localised handling of numbers.
791
792 2003-07-08 03:44 Alexander Malmberg <alexander@malmberg.org>
793
794 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): In iconv
795 case, only try to expand the buffer when we really need extra space.
796 Correctly handle all output from flushing iconv.
797
798 2003-07-08 03:03 Alexander Malmberg <alexander@malmberg.org>
799
800 * Source/NSConnection.m (-locateLocalTarget:): The targetToCached
801 map contains CachedLocalObject:s, not GSLocalCounter:s. Extract the
802 GSLocalCounter from the CachedLocalObject.
803
804 Unlock the global_proxies_gate lock before calling
805 -proxyWithLocal:connection:.
806
807 2003-07-07 David Ayers <d.ayers@inode.at>
808
809 * Headers/gnustep/base/GSObjCRuntime.h:
810 * Source/Additions/GSObjCRuntime.m:
811 Added typedef for GSIVar.
812 (GSCGetInstanceVariableDefinition): New function.
813 (GSObjCGetInstanceVariableDefinition): Ditto.
814 * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20
815 invocations.
816
817 2003-07-07 Richard Frith-Macdonald <rfm@gnu.org>
818
819 * Source/Source/GSFFCallInvocation.m: gs_objc_msg_forward() trust the
820 selector we are given. Rather than trying to find a better one.
821 * Source/GSFFIInvocation.m: ditto
822 * Source/NSScanner.m: Add a couple of internal utility functions.
823 * Source/NSString.m: Fix floatValue and doubelValue to use non
824 localised conversions.
825 * Source/GSString.m: ditto.
826
827 2003-07-06 Adam Fedor <fedor@gnu.org>
828
829 * configure.ac: Add -R flags for netbsdelf
830
831 2003-07-06 Richard Frith-Macdonald <rfm@gnu.org>
832
833 * Tools/AGSHtml.m: Fix bug in linking to category methods from index.
834 * Tools/AGSParser.m: Improve parsing of clock comments.
835
836 2003-07-05 Adam Fedor <fedor@gnu.org>
837
838 * configure.ac: Add flags for openbsd like freebsd.
839
840 * Tools/gdnc.1, Tools/gdomap.8: Unzip
841 * Tools/GNUmakefile (MAN1_PAGES): gzip man pages.
842
843 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
844
845 * Source/NSDistributedNotificationCenter.m: Use -setProtocolForProxy:
846 and implement dummy class to work around bug in old compilers.
847 * Tools/gdnc.m: ditto
848 * Source/NSDistantObject.m: Fix for calls to remote system where we
849 can get no method signature.
850 Documented.
851
852 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
853
854 * Source/Source/GSFFCallInvocation.m: Modify to use local type
855 information if it looks like it has come from a protocol ...
856 as too much existing code is broken in that DO server objects
857 which are supposed to conform to protocols in fact do not!
858 * Source/GSFFIInvocation.m: ditto
859
860 Fri Jul 4 11:09:37 2003 Nicola Pero <n.pero@mi.flashnet.it>
861
862 * NSTimeZones/Makefile.postamble: Make the code more robust by
863 adding rule to create the installation dirs.
864
865 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
866
867 * Source/NSDistantObject.m: Avoid recursion fetching method signature.
868 * Source/NSObject.m: ([methodSignatureForSelector:]) modified to take
869 into account any protocols that the receiver conforms to, so the
870 returned signature has the fullest possible type information.
871 Category Protocol(Fixup) ... evil hack to work around runtime bug.
872 * Source/GSFFCallInvocation.m: Fetch method signature from receiver
873 in preference to using other info. Ensures we have correct info for
874 the object we are sending the message to.
875 * Source/GSFFIInvocation.m: ditto
876
877 2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
878
879 * Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
880 year to 0001 s the gregorian calendar does not go earlier.
881 ([-initWithYear:month:day:hour:minute:second:timeZone:]) don't
882 override a previously set calendar format.
883
884 2003-07-01 David Ayers <d.ayers@inode.at>
885
886 * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
887 * Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
888 * Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m to
889 GSObjCRuntime.m and declaration from NSObjCRuntime.h to
890 GSObjCRuntime.h.
891
892 2003-07-01 Richard Frith-Macdonald <rfm@gnu.org>
893
894 * Source/Additions/Unicode.m: Flush iconv buffer at end of conversion
895 to handle obscure cases where it says it has converted all the input
896 sequence, but hasn't written all the output.
897
898 2003-06-30 Richard Frith-Macdonald <rfm@gnu.org>
899
900 * Source/Additions/Unicode.m: Add 'UTF-7' so iconv can be used to
901 handle utf7 if available.
902 * Tools/AGSParser.m: Don't always strip asterisks from comments,
903 Check first line of comment to see if it has one first.
904
905 2003-06-28 15:48 Alexander Malmberg <alexander@malmberg.org>
906
907 * Tools/make_strings/StringsFile.h, Tools/make_strings/StringsFile.m,
908 Tools/make_strings/make_strings.h, Tools/make_strings/make_strings.m:
909 Clean up handling of key matching and ignoring. Add
910 --aggressive-remove option.
911
912 2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
913
914 * Source/NSBundle.m: Don't NSLog when we can't find a localizable
915 file ... log only when bundle debugging is turned on.
916
917 2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
918
919 * Source/NSPipe.m: Fix descriptor leak ... close on dealloc
920
921 2003-06-25 Adam Fedor <fedor@gnu.org>
922
923 * Tools/gdnc.1.gz: New file (from Martin Brecher).
924 * Tools/GNUmakefile (MAN1_PAGES): Install it
925
926 2003-06-24 David Ayers <d.ayers@inode.at>
927
928 * Source/GSFFCallInvocation.m
929 (gs_method_for_receiver_and_selector): Replace usage of
930 class_get_instance/class_method with GSGetInstance/ClassMethod and
931 Method_t with GSMethod.
932 (gs_find_by_receiver_best_typed_sel): Ditto.
933 (GSInvocationCallback): Ditto.
934 ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
935 * Source/GSFFIInvocation.m
936 (gs_method_for_receiver_and_selector): Ditto.
937 (gs_find_by_receiver_best_typed_sel): Ditto.
938 (GSFFIInvocationCallback): Ditto.
939 ([GSFFIInvocation -invokeWithTarget:]): Ditto.
940 * Source/NSConnection.m
941 ([NSConnection -_service_typeForSelector:]): Ditto.
942 * Source/NSInvocation.m
943 ([NSInvocation -invokeWithTarget:]): Ditto.
944 * Source/NSObject.m
945 ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
946 ([NDObject -methodSignatureForSelector:]): Ditto.
947 ([NSObject +descriptionForInstanceMethod:]): Ditto.
948 ([NSOnject -descriptionForMethod:]: Ditto.
949 * Source/NSProxy.m
950 ([NSProxy +methodSignatureForSelector:]): Ditto.
951 ([NSProxy -methodSignatureForSelector:]): Ditto.
952 * Source/NSDistantObject.m
953 ([NSObject -selectorTypeForProxy:]): Ditto.
954 ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
955 implementation to check class methods instead of instance methods.
956
957 2003-06-23 Adam Fedor <fedor@gnu.org>
958
959 * Testing/diningPhilosophers.m: Locking and output fixes (from
960 Chris Beaham).
961 * Testing/create-abbrevs, Testing/create-regions: Remove.
962
963 2003-06-23 Adam Fedor <fedor@gnu.org>
964
965 * Source/NSProcessInfo.m (+load): use the KVM library where
966 available when procfs doesn't work (FreeBSD, others?) (patch from
967 Pete French <pete@twisted.org.uk>).
968
969 2003-06-21 David Ayers <d.ayers@inode.at>
970
971 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
972 class_get_class_method they cannot work due to different
973 parameter expectations. Added mapping from NeXT->GNU runtime.
974 The other way does not work. Added simple mapping for internal
975 flush function __objc_update_dispatch_table_for_class and
976 _objc_flush_caches.
977
978 * Headers/gnustep/base/GSObjCRuntime.h/m:
979 Added typedef for GSMethod.
980 (GSGetInstanceMethod): New function.
981 (GSGetClassMethod): Ditto.
982 (GSGetInstanceMethodNotInherited): Ditto.
983 (GSGetClassMethodNotInherited): Ditto.
984 (GSFlushMethodCacheForClass): Ditto.
985 (flush_method_cache_for_class): Removed function which is replaced
986 by GSFlushMethodCacheForClass.
987 (GSObjCGetMethod): Removed function which is replaced by
988 GSGetInstanceMethod and GSGetClassMethod.
989 (GSObjCReplaceMethod): Removed function.
990
991 2003-06-21 Adam Fedor <fedor@gnu.org>
992
993 * configure.ac: Check for libkvm.
994 * configure, Headers/gnustep/base/config.h.in: Regen.
995
996 2003-06-20 Adam Fedor <fedor@gnu.org>
997
998 * Documentation/Makefile.postamble (after-clean): Remove Base
999 and BaseAdditions
1000
1001 2003-06-20 Richard Frith-Macdonald <rfm@gnu.org>
1002
1003 * Source/GSString.m: Allow more length when converting unicode
1004 string to integer.
1005 * Source/NSObject.m: ([methodSignatureForSelector:]) return nil if
1006 the receiver does not implement it.
1007
1008 2003-06-20 Adam Fedor <fedor@gnu.org>
1009
1010 * Documentation/Makefile.postamble (after-clean):
1011 * Version 1.7.1
1012
1013 * Source/DocMakefile (after-all): Check if Base exists before
1014 removing it.
1015
1016 2003-06-19 Adam Fedor <fedor@gnu.org>
1017
1018 * GNUmakefile (SUBPROJECTS): Revert last change.
1019
1020 2003-06-19 Andrew Ruder <aeruder@yahoo.com>
1021
1022 * Source/Additions/Unicode.m: Increase size of table by one to
1023 avoid error if all possible character encodings were supported.
1024 Never happens ... but might conceivably do so one day.
1025
1026 2003-06-18 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
1027
1028 * configure.ac: Add --with--ffcall-include=PATH and
1029 --with-ffcall-library=PATH options
1030
1031 2003-06-18 Richard Frith-Macdonald <rfm@gnu.org>
1032
1033 * Source/Additions/GSXML.m: Implement -description for nodes.
1034
1035 2003-06-17 Adam Fedor <fedor@gnu.org>
1036
1037 * GNUmakefile (SUBPROJECTS): Add Documentation
1038
1039 2003-06-17 Chris Vetter <chrisv@web4inc.com>
1040
1041 * Tools/AGSHtml.m: Tidy up formatting of author output.
1042
1043 2003-06-16 13:36 Alexander Malmberg <alexander@malmberg.org>
1044
1045 * Source/GSFormat.m (GSFormat()): Free malloc memory in all cases
1046 after handling %s, %S, %@ with strings longer than 8192 characters.
1047
1048 2003-06-15 Richard Frith-Macdonald <rfm@gnu.org>
1049
1050 * Source/NSAutoreleasePool.m: Documented.
1051 * Headers/gnustep/base/NSObject.h: Documented memory management macros
1052 for autogsdoc.
1053
1054 2003-06-14 Richard Frith-Macdonald <rfm@gnu.org>
1055
1056 * Source/Additions/GSMime.m: Better attempt to infer charset from
1057 string only when needed.
1058 Don't insert transer encoding header if not needed.
1059
1060 2003-06-11 Adam Fedor <fedor@gnu.org>
1061
1062 * Source/NSNumberFormatter.m
1063 (-getObjectValue:forString:errorDescription:): Simple
1064 implementation.
1065
1066 2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
1067
1068 * Source/NSString.m
1069 In [initWithContentsOfURL:] changed variable test to unichar* to
1070 keep the compiler quiet.
1071 * Source/Additions/Unicode.m
1072 In GSFromUnicode() removed type cast of *_conv_base as the
1073 gcc 3.3 compiler complained about it.
1074
1075 2003-06-07 David Ayers <d.ayers@inode.at>
1076
1077 * Headers/gnustep/base/GSObjCRuntime.h
1078 * Source/Additions/GSObjCRuntime.m : White space patch to better
1079 conform with GNU coding standards and improve readability.
1080 Wrap deprecated API in NO_DEPRICATED macro.
1081
1082 2003-06-06 David Ayers <d.ayers@inode.at>
1083
1084 * Source/GSArray.m: Change syntax of include <> to "" for
1085 local headers. Change base/ to gnustep/base/ in includes.
1086 Source/GSAttributedString.m, Source/GSCompatibility.m,
1087 Source/GSCountedSet.m, Source/GSDictionary.m,
1088 Source/GSFFCallInvocation.m, Source/GSFFIInvocation.m,
1089 Source/GSFTPURLHandle.m, Source/GSFileHandle.m,
1090 Source/GSFormat.m, Source/GSHTTPURLHandle.m,
1091 Source/GSLocale.m, Source/GSSet.m,
1092 Source/GSString.m, Source/GSTcpPort.m,
1093 Source/GSTemplateValue.m, Source/GSValue.m,
1094 Source/NSArchiver.m, Source/NSArray.m,
1095 Source/NSAssertionHandler.m, Source/NSAttributedString.m,
1096 Source/NSAutoreleasePool.m, Source/NSBitmapCharSet.m,
1097 Source/NSBundle.m, Source/NSCalendarDate.m,
1098 Source/NSCallBacks.h, Source/NSCallBacks.m,
1099 Source/NSCharacterSet.m, Source/NSClassDescription.m,
1100 Source/NSCoder.m, Source/NSConcreteNumber.m,
1101 Source/NSConnection.m, Source/NSCopyObject.m,
1102 Source/NSCountedSet.m, Source/NSData.m,
1103 Source/NSDate.m, Source/NSDateFormatter.m,
1104 Source/NSDebug.m, Source/NSDecimal.m,
1105 Source/NSDecimalNumber.m, Source/NSDictionary.m,
1106 Source/NSDistantObject.m, Source/NSDistributedLock.m,
1107 Source/NSDistributedNotificationCenter.m, Source/NSEnumerator.m,
1108 Source/NSException.m, Source/NSFileHandle.m,
1109 Source/NSFileManager.m, Source/NSFormatter.m,
1110 Source/NSGeometry.m, Source/NSHashTable.m,
1111 Source/NSHost.m, Source/NSInvocation.m,
1112 Source/NSKeyValueCoding.m, Source/NSLock.m,
1113 Source/NSLog.m, Source/NSMapTable.m,
1114 Source/NSMethodSignature.m, Source/NSNotification.m,
1115 Source/NSNotificationCenter.m, Source/NSNotificationQueue.m,
1116 Source/NSNull.m, Source/NSNumber.m,
1117 Source/NSNumberFormatter.m, Source/NSObjCRuntime.m,
1118 Source/NSObject.m, Source/NSPage.m,
1119 Source/NSPipe.m, Source/NSPort.m,
1120 Source/NSPortCoder.m, Source/NSPortMessage.m,
1121 Source/NSPortNameServer.m, Source/NSProcessInfo.m,
1122 Source/NSProtocolChecker.m, Source/NSProxy.m,
1123 Source/NSRange.m, Source/NSRunLoop.m,
1124 Source/NSScanner.m, Source/NSSerializer.m,
1125 Source/NSSet.m, Source/NSSocketPort.m,
1126 Source/NSString.m, Source/NSTask.m,
1127 Source/NSThread.m, Source/NSTimeZone.m,
1128 Source/NSTimer.m, Source/NSURL.m,
1129 Source/NSURLHandle.m, Source/NSUnarchiver.m,
1130 Source/NSUndoManager.m, Source/NSUser.m,
1131 Source/NSUserDefaults.m, Source/NSValue.m,
1132 Source/NSZone.m, Source/UnixFileHandle.m,
1133 Source/callframe.h, Source/callframe.m,
1134 Source/cifframe.h, Source/cifframe.m,
1135 Source/externs.m, Source/libgnustep-base-entry.m,
1136 Source/mframe.m, Source/objc-gnu2next.m,
1137 Source/objc-load.m, Source/preface.m,
1138 Source/thr-mach.m, Source/thr-pthread.m,
1139 Source/Additions/GCArray.m, Source/Additions/GCDictionary.m,
1140 Source/Additions/GCObject.m, Source/Additions/GSCategories.m,
1141 Source/Additions/GSCompatibility.h, Source/Additions/GSMime.m,
1142 Source/Additions/GSNextRuntime.m, Source/Additions/GSObjCRuntime.m,
1143 Source/Additions/GSXML.m, Source/Additions/Unicode.m,
1144 Source/Additions/behavior.m: Idem.
1145
1146 2003-06-03 Adam Fedor <fedor@gnu.org>
1147
1148 * Source/mframe/powerpc/darwin: New file.
1149
1150 2003-06-02 Richard Frith-Macdonald <rfm@gnu.org>
1151
1152 * Source/mframe.m: Allow for structure names in type specifications.
1153
1154 2003-05-29 Adam Fedor <fedor@gnu.org>
1155
1156 * configure.ac: Pass on original CPPFLAGS to config.mak.
1157 * config/objc-con-autoload.m4: Test for constructors directly.
1158 * config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.
1159
1160 * Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.
1161
1162 * Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
1163 around START so it will compile on GCC 2.
1164
1165 * Testing/nsbundle.m: Errors to stdout.
1166
1167 2003-05-26 Adam Fedor <fedor@gnu.org>
1168
1169 * Testing/Makefile.postamble (check): Define to run all
1170 checkable tools (ones that exit in a finite amount of time).
1171 * Testing/README: New.
1172
1173 2003-05-23 Richard Frith-Macdonald <rfm@gnu.org>
1174
1175 * Source/Additions/GSXML.m: Some work towards making it possible to
1176 subclass GSTreeSAXHandler cleanly, so you can build a tree
1177 representation of a document but still handle data incrementally.
1178
1179 2003-05-22 Richard Frith-Macdonald <rfm@gnu.org>
1180
1181 * Source/Additions/GSXML.m: ([GSXPathContext-evaluateExpression:])
1182 Test for NULL return from libxml and return nil rather than trying
1183 to dereference the null pointer.
1184 New features to record error and warning messages added.
1185 * Headers/Foundation/GSXML.h: ([GSXMLParser-messages]) returns saved
1186 messages. ([GSXMLParser-saveMessages:]) Says whether to save messages
1187 or write to stderr.
1188 * Source/Additions/GSObjCRuntime.m: Hack to fix type clash in
1189 declaration of __objc_exec_class()
1190
1191 2003-05-19 Adam Fedor <fedor@gnu.org>
1192
1193 * Version 1.7.0.
1194 * Documentation/news.texi: Updated.
1195
1196 * NSObject: Revert last change
1197
1198 2003-05-20 David Ayers <d.ayers@inode.at>
1199
1200 * Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
1201 GSObjCReplaceMethod()): Removed declarations for release as these
1202 functions will be replaced by a more consistent approach.
1203
1204 2003-05-19 Adam Fedor <fedor@gnu.org>
1205
1206 * Source/NSObject (GSAtExit): New function.
1207 (+initialize): Use it with atexit.
1208
1209 * Source/objc-load.m (objc_invalidate_dtable): Remove.
1210 (objc_load_callback): Don't call it.
1211
1212 2003-05-16 Richard Frith-Macdonald <rfm@gnu.org>
1213
1214 * Source/NSDate.m: Documented.
1215
1216 2003-05-14 Richard Frith-Macdonald <rfm@gnu.org>
1217
1218 * Source/Additions/GSMime.m: Fix occasional error unfolding
1219 headers.
1220
1221 2003-05-14 16:50 Alexander Malmberg <alexander@malmberg.org>
1222
1223 * Source/NSUser.m, Headers/gnustep/base/NSPathUtilities.h: Add
1224 GSApplicationSupportDirectory constant for
1225 NSSearchPathForDirectoriesInDomains.
1226
1227 2003-05-14 David Ayers <d.ayers@inode.at>
1228
1229 * Tools/Makefile.postamble: Added safe handling of empty
1230 MAN1_PAGES variable.
1231 * Tools/pl2link.m (main): Initialize variable to supress
1232 compiler warning.
1233
1234 2003-05-13 Richard Frith-Macdonald <rfm@gnu.org>
1235
1236 * Source/Tools/gdnc.m: Tidy termination code.
1237 * Source/Additions/GSMime.m: ([GSMimeDocument-copyWithZone:])
1238 corrected implementation to do a real copy rather than just a
1239 retain.
1240
1241 2003-05-13 15:57 Alexander Malmberg <alexander@malmberg.org>
1242
1243 * Tools/gdnc.m (ihandler): Declare variables.
1244
1245 2003-05-12 Richard Frith-Macdonald <rfm@gnu.org>
1246
1247 * Source/Additions/GSXML.m: New -escapedContent method to provide
1248 text with the five entities libxml automatically substitutes even
1249 when told not to.
1250 * Tools/AGSHtml.m: Use -escapedContent to get text suitable for
1251 output in html documents.
1252
1253 2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
1254
1255 * Tools/gdomap.8.gz: Added man page adapted from internal docs by
1256 martin@mb-itconsulting.com
1257 * Tools/GNUmakefile: Declare man pages to be installed
1258 * Tools/Makefile.postamble: Install man pages
1259
1260 2003-05-08 Richard Frith-Macdonald <rfm@gnu.org>
1261
1262 * Tools/xmlparse.m: new utility to parse/validate xml, for testing
1263 gsdoc and new style property lists etc.
1264 * Source/NSBundle.m: ([+allBundles]) Make sure the main bundle is
1265 present. Add some documentation.
1266
1267 2003-05-07 Richard Frith-Macdonald <rfm@gnu.org>
1268
1269 * Source/GSString.m: ([-initWithCStringNocopy:length:freeWhenDone:])
1270 check encodings and convert to unicode if necessary. Thanks to
1271 Alaxander for pointing out bug.
1272
1273 2003-05-06 Richard Frith-Macdonald <rfm@gnu.org>
1274
1275 * Source/GSString.m: Fix call to GSFormat() to append to a mutable
1276 string whose contents should not be freed.
1277 Removed bogus TODO comments saying code broken when defEnc!=intEnc
1278 in routines which should never be called when defEnc!=intEnc anyway.
1279 * Source/NSData.m: Remove windows specific code for simplification
1280 as the standard code actually works as well or better according to
1281 <Roland.Schwingel@onevision.de>
1282 * Tools/AGSParser.m: Ignore forward declarations of protocols.
1283
1284 2003-05-05 15:28 Alexander Malmberg <alexander@malmberg.org>
1285
1286 * Source/Unicode.m (GSFromUnicode, GSToUnicode): Make sure the
1287 internal work buffer isn't returned to the caller.
1288
1289 * Source/NSString.m: Clarify some comments, and mark code that is
1290 broken when defEnc!=intEnc.
1291
1292 (fillHole, makeHole): Remove STABLE_MEMCPY. Use memmove.
1293
1294 (transmute): Set the zone to the default zone when transmuting.
1295 Check the return value from GSToUnicode.
1296
1297 (getCharacters_c): Check the return value from GSToUnicode.
1298
1299 2003-05-02 Richard Frith-Macdonald <rfm@gnu.org>
1300
1301 * Source/GSTcpPort.m: ([dispatch]) catch exceptions handling the port
1302 message, so as to ensure that locking won't get out of sync.
1303
1304 Mon Apr 28 12:09:44 BST 2003 Nicola Pero <nicola@brainstorm.co.uk>
1305
1306 * NSCharacterSets/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR):
1307 Define using the full relative path.
1308 * Resources/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR): Idem.
1309
1310 2003-04-27 Adam Fedor <fedor@gnu.org>
1311
1312 * Updates for filesystem change.
1313 * GNUmakefile (GNUSTEP_MAKEFILES): Remove
1314 * Documentation/GNUmakefile, Examples/GNUmakefile,
1315 NSTimeZones/GNUmakefile, SSL/GNUmakefile, SSL/configure.ac,
1316 Source/DocMakefile, Source/GNUmakefile,
1317 Source/Additions/GNUmakefile, Testing/GNUmakefile,
1318 Tools/GNUmakefile: Idem.
1319 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
1320 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
1321 Replace Headers with Library/Headers.
1322 * Source/mframe/configure.ac: Idem.
1323 * NSCharacterSets/GNUmakefile: Use resource-set.make.
1324 * Resources/GNUmakefile: Idem.
1325 * Resources/GNUmakefile.postamble: Remove before/after install cmds.
1326
1327 * Source/NSBundle (+pathForLibraryResource:ofType:inDirectory:):
1328 New method.
1329 (+pathForGNUstepResource:...): Depreciate.
1330 * Source/Additions/GSXML.m: Use it to find DTDs.
1331
1332 * Source/GSLocale.m (GSLanguageFromLocale): Use +bundleForLibrary
1333 to locate resources.
1334 * Source/NSCharacterSet.m (+_bitmapForSet:number:): Idem.
1335 * Source/NSUserDefaults.m (+standardUserDefaults): Idem.
1336 * Source/Additions/Unicode.m (GSEncodingFromLocale): Idem.
1337 * Source/NSTimeZone.m (_time_zone_path): New function.
1338 (+systemTimeZone, +getAbbreviationFile, +getRegionsFile,
1339 +getTimeZoneFile): Use it.
1340
1341 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Change
1342 libsDir to "Library/Libraries", docDir to "Library/Documentation".
1343
1344 * Source/Additions/GSCompatibility.[hm]: Change
1345 +pathForGNUstepResource:... to +pathForLibraryResource:...
1346
1347 2003-04-27 Richard Frith-Macdonald <rfm@gnu.org>
1348
1349 * Source/NSUserDefaults.m: ([synchronize]) fix locking to permit
1350 recursive call to this method, ensuring the distributed lock is
1351 only obtained once.
1352 * Headers/gnustep/base/GSCategories.h: removed varargs helper macros
1353 * Headers/gnustep/base/GSObjCRuntime.h: and put them here.
1354
1355 2003-04-17 Richard Frith-Macdonald <rfm@gnu.org>
1356
1357 * Headers/gnustep/base/GSCategories.h:
1358 * Headers/gnustep/base/NSCalendarDate.h:
1359 * Headers/gnustep/base/NSData.h:
1360 * Headers/gnustep/base/NSObject.h:
1361 * Headers/gnustep/base/NSString.h:
1362 * Headers/gnustep/base/NSValue.h:
1363 * Headers/gnustep/base/Foundation.h:
1364 Tidied use of GSCategories.
1365 * Source/NSFileManager.m: ([linkPath:toPath:handler:]) implemented.
1366
1367 2003-04-16 Richard Frith-Macdonald <rfm@gnu.org>
1368
1369 * Headers/gnustep/base/NSUserDefaults.h: remove timer ivar, now unused.
1370 * Source/NSRunLoop.m: Support a housekeeping timer which is ignored
1371 for purposes of deciding whether the loop shoiuld terminate.
1372 * Source/NSThread.m: Set up housekeeping timer to trigger housekeeping
1373 notifications in the default mode of the runloop of the main thread.
1374 * Source/NSUserDefaults.m: Use housekeeping notifications to trigger
1375 synchronise rather than using timers ... avoid circular dependencies.
1376 Thanks to Derek Zhou for bug report.
1377
1378 2003-04-15 Richard Frith-Macdonald <rfm@gnu.org>
1379
1380 * Source/NSData.m: Experimantal disable ReadFile and WriteFile on MINGW
1381
1382 2003-04-14 Richard Frith-Macdonald <rfm@gnu.org>
1383
1384 * Source/NSObjCRuntime.m: NSClassFromString(), NSSelectorFromString()
1385 avoid doing an unnecessary autorelease.
1386
1387 2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
1388
1389 * Source/callframe.m:
1390 * Source/cifframe.m:
1391 Fix error in returning pointer to struct values.
1392
1393 2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
1394
1395 * Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
1396 decoded selector name ... the NSPortCoder now does it.
1397 ([typeForSelector:]) return autoreleased copy of the type string.
1398
1399 2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
1400
1401 * Source/callframe.m:
1402 * Source/cifframe.m:
1403 Fix error in returning data via pointer arguments ... was writing to
1404 wrong memory location.
1405 * Source/GSFFCallInvocation.m: minor tidy up.
1406 * Source/NSArchiver.m: Structure encoding/decoding fixes.
1407 * Source/NSData.m: Structure encoding/decoding fixes.
1408 * Source/NSPortCoder.m: Structure encoding/decoding fixes.
1409 Manage memory used by decoded pointers (including c-strings).
1410 * Source/NSUnarchiver.m: Structure encoding/decoding fixes.
1411 * Source/NSConnectiom.m: Don't try to autorelease decoded pointers.
1412 * Testing/server.h: Make large structure have tricky layout.
1413 * Testing/nsconnection_client.m: Add harder structure test.
1414 * Testing/nsconnection_server.m: Add harder structure test.
1415
1416 2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
1417
1418 * Source/GSTcpPort.m:
1419 * Source/NSData.m:
1420 * Source/NSSerializer.m:
1421 * Source/NSURL.m:
1422 Replace __alignof__() with calls to objc_alignof_type() so that if
1423 __alignof__() is broken we can hope that the objc runtime library
1424 has a workaround.
1425
1426 2003-04-08 Richard Frith-Macdonald <rfm@gnu.org>
1427
1428 * Headers/gnustep/base/Foundation.h: Include GNUstep extensions
1429 from GSCategories.h
1430
1431 2003-04-08 15:37 Alexander Malmberg <alexander@malmberg.org>
1432
1433 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
1434 Fix assignment of 'found' in %z handling.
1435
1436 2003-04-07 13:21 Alexander Malmberg <alexander@malmberg.org>
1437
1438 * configure.ac: Link directly to the foreign function interfaces
1439 section in the build guide in the error message for missing ffi
1440 library.
1441
1442 * configure: Regenerate.
1443
1444 2003-04-07 Richard Frith-Macdonald <rfm@gnu.org>
1445
1446 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST and
1447 GS_USEIDPAIRLIST): Complete implementation and testing.
1448 * Source/NSDictionary.m: Use macro.
1449
1450 2003-04-06 23:30 Alexander Malmberg <alexander@malmberg.org>
1451
1452 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST): Make the
1453 implementation match the actual use in NSArray and NSSet. Clarify
1454 documentation.
1455
1456 2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
1457
1458 * Source/NSThread.m: (GSPerformHolder) execute perform operations
1459 in the same order in which they were submitted.
1460 * Headers/GNUstep/base/GSCategories.h: Added two new macros to
1461 agressively optimise the use of varargs when initialising arrays
1462 etc by avoiding multiple allocation/reallocation of memory to hold
1463 arrays of objects taken from the varargs list.
1464 * Source/NSArray.m: Use the new macros.
1465
1466 2003-04-04 Stephane Corthesy <stephane@sente.ch>
1467
1468 * macosx/config.h, macosx/preface.h: Update.
1469 * macosx/gnustep.pbproj/project/pbxproj: Use relative paths.
1470
1471 2003-04-04 Adam Fedor <fedor@gnu.org>
1472
1473 * Source/Additions/GSCompatibility.m ([NSString(GSCompatibility)
1474 -substringFromRange:]): Add.
1475
1476 2003-04-04 Richard Frith-Macdonald <rfm@gnu.org>
1477
1478 * Headers/Foundation/NSInvocation: Added NS_INVOCATION asnd NS_MESSAGE
1479 * Source/NSInvocation.m: Support the two new macros. Documented.
1480 * Testing/nsinvocation.m: Trivial tests added.
1481 * Documentation/OpenStepCompliance.gsdoc: Updated.
1482 * Source/NSConnection.m: ([-forwardInvocation:forProxy:]) set
1483 invocation target explicitly, in case this was called as a result
1484 of a manual setup of the invocation rather than real forwarding.
1485
1486 2003-04-03 Adam Fedor <fedor@gnu.org>
1487
1488 * Documentation/OpenStepCompliance.gsdoc: New file.
1489 * Documentation/Base.gsdoc: Reference it.
1490 * Source/DocMakefile: Update.
1491
1492 2003-04-02 Stephane Corthesy <stephane@sente.ch>
1493
1494 * Source/Additions/GSCompatibility.m: Fix up incorrectly applied
1495 patch.
1496 * Source/Additions/Unicode.m (GSEncodingName): Don't define if
1497 NeXT_Foundation_Library.
1498
1499 2003-04-02 Adam Fedor <fedor@gnu.org>
1500
1501 * Headers/gnustep/base/Foundation.h: Revert previous change
1502
1503 2003-04-02 Richard Frith-Macdonald <rfm@gnu.org>
1504
1505 * Source/Additions/GSXML.m: ([-content]) fix to produce string
1506 content of elements rather than just text nodes.
1507 * Source/GSMime.m: ([-rawMimeData]) ensure that the transfer encoding
1508 of a multipart document is 8bit if any of its constituent parts are
1509 8bit or binary
1510
1511 22003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
1512
1513 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
1514 add support for %F millisecond initialisation.
1515 make trivial simplification of timezone handling.
1516 on failure to parse zone using %z, use local time zone.
1517
1518 2003-03-31 Stephane Corthesy <stephane@sente.ch>
1519
1520 * Source/Additions/GCArray.m: Replace retain/release by
1521 RETAIN/RELEASE macros.
1522 * Source/Additions/GCDictionary.m: Idem.
1523
1524 * Source/Additions/GSCompatibility.h: Add NSBundle category.
1525 * Source/Additions/GSCompatibility.m (GSEncodingName): New.
1526 Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
1527
1528 * Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
1529 (GSObjCMethodNames): Cast method_name to const char *.
1530
1531 2003-03-31 Adam Fedor <fedor@gnu.org>
1532
1533 * Headers/gnustep/base/Foundation.h: Add GSCategories.h
1534
1535 2003-03-30 Adam Fedor <fedor@gnu.org>
1536
1537 * Headers/gnustep/base/NSString.h: (stringByTrimmingLeadSpaces,
1538 stringByTrimmingTailSpaces, stringByTrimmingSpaces,
1539 stringByReplacingString:withString:, replaceString:withString:,
1540 trimLeadSpaces, trimTailSpaces, trimSpaces): Move to GSCategories.h
1541 * Headers/gnustep/base/NSValue.h (valueFromString): Idem.
1542 * Source/NSNumber.m (valueFromString:): Move to GSCategories.m
1543 * Source/NSString.m: Idem as above.
1544 * Source/Additions/GSCategories.m: Methods moved here.
1545 * Source/Additions/GSCompatibility.h: Rearrange, add
1546 NSDistantObject, NSFileHandle category, GSCurrentThreadDictionary().
1547 * Source/Additions/GSCompatibility.m: Add GSCurrentThreadDictionary
1548 NSDistantObject, and NSFileHandle methods.
1549
1550 2003-03-28 20:48 Alexander Malmberg <alexander@malmberg.org>
1551
1552 * configure.ac: Fail the configure if neither ffcall nor ffi is
1553 available unless --disable-do is passed to configure. Add a message
1554 about why a user most likely does not want to build with ffcall and
1555 ffi, and with a link to the build guide.
1556
1557 * configure: Regenerate.
1558
1559 2003-03-27 Adam Fedor <fedor@gnu.org>
1560
1561 * Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.
1562
1563 2003-03-27 Stephane Corthesy <stephane@sente.ch>
1564
1565 * Tools/autogsdoc.m, AGSHtml.m, AGSIndex.m, AGSOutput.m: Add
1566 MacOSX compatibility headers.
1567 * Tools/AGSParser.m: Idem.
1568 (-log:arguments:): Replace strinWithFormat:arguments: with
1569 initWithFormat:arguments:
1570
1571 2003-03-26 David Ayers <d.ayers@inode.at>
1572
1573 * Source/NSKeyValueCoding.m: Added documentation.
1574 * Source/NSKeyValueCoding.m ([NSObject -takeValue:forKey:]),
1575 ([NSObject -valueForKey:]): Corrected search order of instance
1576 variables.
1577
1578 2003-03-25 Stephane Corthesy <stephane@sente.ch>
1579
1580 * macosx: New directory holding MacOSX project for building
1581 Additions framework.
1582
1583 2003-03-25 Richard Frith-Macdonald <rfm@gnu.org>
1584
1585 * Source/NSURL.m: When loading a resource and attempting to notify
1586 a client, check that the client responds to the selectors before
1587 sending messages to it.
1588 Make ([-loadResourceDataNotifyingClient:usingCache:]) work in
1589 background (non-blocking).
1590
1591 2003-03-25 David Ayers <d.ayers@inode.at>
1592
1593 * Headers/gnustep/base/GSObjCRuntime.h
1594 * Source/Additions/GSObjCRuntime.m (GSObjCGetMethod),
1595 (GSObjCReplaceMethod): Added new functions.
1596 * Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
1597 Renamed static function for NeXT runtime to better reflect
1598 reality.
1599 (GSObjCAddMethods): Updated usage.
1600 (search_for_method_in_class): New static function for GNU runtime.
1601 (flush_method_cache_for_class): New static function.
1602 * Headers/gnustep/base/GSCategories.h: Included necessary headers.
1603
1604 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1605
1606 * Completed merge of changes from 1.6.0 branch.
1607
1608 2003-03-17 Adam Fedor <fedor@gnu.org>
1609
1610 * Version 1.6.0
1611
1612 2003-03-17 Adam Fedor <fedor@gnu.org>
1613
1614 * Testing/LoadMe.m (afterLoad): Use description, not name.
1615 * Testing/nsfilemanager.m: Print some output. Clean up.
1616 * Testing/scanner.m, nstimezone.m, release.m: Idem.
1617
1618 * config/config.vsprintf, config/config.vasprintf: Rewrite to
1619 properly call a variable argument function.
1620
1621 2003-03-14 Adam Fedor <fedor@Eldorado.local.>
1622
1623 * Testing/nsarray.m (compare): Un-nest function.
1624
1625 * Source/NSProcessInfo.m (-operatingSystem): Add darwin.
1626
1627 2003-03-13 Richard Frith-Macdonald <rfm@gnu.org>
1628
1629 * Source/NSFileManager.m: ([-isDeletableFileAtPath:]) Fix for the
1630 case where the path is a file in the current directory.
1631
1632 2003-03-11 Adam Fedor <fedor@gnu.org>
1633
1634 * configure.ac: Fix some typos (Reported by
1635 Alexander Malmberg <alexander@malmberg.org>).
1636
1637 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
1638
1639 * Headers/gnustep/base/NSSet.h: Added a few non-openstep declarations
1640 * Source/GSCompatibility.m: OAppend() sort dictionary keys even if
1641 locale is nil.
1642
1643 2003-03-06 Richard Frith-Macdonald <rfm@gnu.org>
1644
1645 * Source/NSData.m: Fix reference to zone of deallocated object.
1646 Bug reported by Roland Schwingel
1647 * Source/NSFileManager.m: Fix typo (using logical or rather than
1648 bitwise or) in call to access()
1649 Bug reported by Roland Schwingel
1650
1651 2003-02-17 <woudshoo@agilisys.com>
1652
1653 * GNUmakefile (GNUSTEP_TARGET_INSTALL_PREFIX)
1654 (GNUSTEP_TARGET_LOCAL_ROOT, GNUSTEP_TARGET_NETWORK_ROOT): On
1655 mingw32 replace / with \\057 to avoid the msys shell translating /
1656 with \.
1657
1658 2003-03-04 Richard Frith-Macdonald <rfm@gnu.org>
1659
1660 * config/config.vasprintf.c:
1661 * config/config.vsprintf.c: Correct the number of arguments passed
1662 so that modern compilers don't fail on these files. A compiler
1663 failure is seen by configure as the same as a runtime failure, and
1664 configure would infer incorrect runtime behavior!
1665
1666 2003-03-01 Richard Frith-Macdonald <rfm@gnu.org>
1667
1668 * Source/NSSerializer.m: Fix crash when deserializing a corrupt or
1669 truncated archive ... raise exception rather than segfaulting.
1670 Added code to recognize newer versions of the serialiser format and
1671 give up if they are encountered and cannot be handled.
1672 * Source/GSTcpPort.m: Added code to recognise newer versions of the
1673 port format and give up if they are encountered and cannot be handled.
1674 This allows for the addition of decent versioning in later formats.
1675
1676 2003-02-28 Richard Frith-Macdonald <rfm@gnu.org>
1677
1678 * Tools/AGSParser.m: Fix to understand __attribute__() in declaration.
1679
1680 2003-02-27 Richard Frith-Macdonald <rfm@gnu.org>
1681
1682 * Tools/AGSIndex.m: Convert nil content to empty strings before use.
1683 * Tools/AGSHtml.m: ditto ... prevent some crashes.
1684
1685 2003-02-24 Richard Frith-Macdonald <rfm@gnu.org>
1686
1687 * Source/NSProcessInfo.m (_gnu_process_args): Tidied patch and add
1688 code to print error and abort if argv is null under unixy systems.
1689
1690 2003-02-24 Tom Koelman <tkoelman@xs4all.nl>
1691
1692 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1693 on MingW) set executable name using module name info.
1694
1695 2003-02-23 Richard Frith-Macdonald <rfm@gnu.org>
1696
1697 * Source/NSUser.m: Don't prepend HOMEDRIVE to HOMEPATH if HOMEPATH
1698 already contains a drive letter.
1699
1700 2003-02-22 Richard Frith-Macdonald <rfm@gnu.org>
1701
1702 * Source/Additions/GSObjCRuntime.m: GSObjCSetValue() correct to call
1703 ([unableToSetNilForKey:]) when it should.
1704 * Source/NSDecimalNumber.m: Override initialisers from NSNumber to
1705 create NSDecimalNumber objects ... bug report by David Ayers.
1706
1707 2003-02-21 Richard Frith-Macdonald <rfm@gnu.org>
1708
1709 * Source/NSDistributedNotificationCenter.m: ([_connect]) make the
1710 connection to the server usable from any thread.
1711
1712 2003-02-19 Adam Fedor <fedor@gnu.org>
1713
1714 * Source/NSKeyValueCoding.m ([NSObject -handleQueryWithUnboundKey:]):
1715 Raise NSUnknownKeyException.
1716 ([NSObject -handleTakeValue:forUnboundKey:]): Idem.
1717
1718 2003-02-18 Adam Fedor <fedor@gnu.org>
1719
1720 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Cast
1721 invocation to access ivars correctly. Check validReturn.
1722
1723 2003-02-18 Tom Koelman <tkoelman@xs4all.nl>
1724
1725 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1726 on MingW) set executable name to empty string.
1727
1728 2003-02-17 Richard Frith-Macdonald <rfm@gnu.org>
1729
1730 * Source/GSString.m: (fillHole) fix memory overrun (read only) and
1731 argument order errors (in code not normally compiled) spotted by
1732 Manuel Guesdon.
1733
1734
1735 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1736
1737 * Start merged of changes from 1.6.0 branch.
1738
1739
1740 2003-03-20 Richard Frith-Macdonald <rfm@gnu.org>
1741
1742 * Source/GSMime.m: (_unfoldHeader) Check that input pointer doesn't
1743 run past end of data.
1744
1745 2003-03-05 15:50 Alexander Malmberg <alexander@malmberg.org>
1746
1747 * Source/NSBundle.m (+initialize) [PROCFS_EXE_LINK]: Make sure that
1748 the link is a path before using it.
1749
1750 2003-03-03 Richard Frith-Macdonald <rfm@gnu.org>
1751
1752 * Headers/gnustep/base/objc-gnu2next.h: Added some trivial reverse
1753 mappings to use gnu runtime from old next code.
1754
1755 2003-03-02 Richard Frith-Macdonald <rfm@gnu.org>
1756
1757 * Headers/gnustep/base/GSObjCRuntime.h:
1758 * Source/GSFFIInvocation.m:
1759 * Source/GSString.m:
1760 * Source/NSInvocation.m:
1761 * Source/NSObject.m:
1762 * Source/NSPortCoder.m:
1763 * Source/NSUnarchiver.m:
1764 * Source/Additions/GSObjCRuntime.m:
1765 * Source/Additions/Unicode.m:
1766 Rename _fastMallocBuffer() to GSAutoreleasedBuffer() for clarity
1767 and consistency. Moved implementation from NSObject.m to
1768 GSObjCRuntime.m so this is available for use withing the Additions
1769 library when built standalone.
1770 Add a couple of trivial functions to list ivars and methods.
1771
1772 2003-02-19 Mirko Viviani <mirko.viviani@rccr.cremona.it>
1773
1774 * Headers/gnustep/base/NSArray.h: fixed declarations.
1775
1776 2003-02-19 David Ayers <d.ayers@inode.at>
1777
1778 * Source/NSArray.m (compare()),
1779 ([-sortedArrayUsingFunction:context:]),
1780 ([-sortedArrayUsingFunction:context:hint:]),
1781 ([-sortUsingFunction:context:]): Changed declarations
1782 and implementation to account for 64 bit architectures.
1783 * Headers/gnustep/base/NSArray.h: Ditto.
1784 * Source/NSKeyValueCoding.m ([-takeStoredValuesFromDictionary:]):
1785 Implemented.
1786 * Headers/gnustep/base/NSKeyValueCoding.h: Ditto.
1787
1788 2003-02-18 Richard Frith-Macdonald <rfm@gnu.org>
1789
1790 * NSObject.m: ([+instancesRespondToSelector:]),([-respondsToSelector])
1791 Return NO when given a null selector unless in MacOS-X compatibility
1792 mode. rewritten from patch by Willem Rein Oudshoorn.
1793
1794 2003-02-16 Adam Fedor <fedor@gnu.org>
1795
1796 * Version 1.5.2
1797 * Documentation: Update.
1798
1799 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Autorelease
1800 and invalidate the return value object before returning.
1801
1802 2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
1803
1804 * Source/GSDictionary.m: ([-isEqualToDictionary:]) implement optimised
1805 version which does not need to create a key enumerator.
1806 * Source/GSArray.m: ditto
1807 * Source/GSSet.m: similar minor optimisations.
1808
1809 2003-02-15 15:53 Alexander Malmberg <alexander@malmberg.org>
1810
1811 * Source/NSRunLoop.m (-performSelector:target:argument:order:modes:):
1812 Order the performers correctly (lower order values first). Correct
1813 the documentation.
1814
1815 2003-02-13 Richard Frith-Macdonald <rfm@gnu.org>
1816
1817 * Source/NSTimeZone.m: Fix memory leak when making absolute
1818 timezone for offset 0.
1819
1820 2003-02-11 Tom Koelman <tkoelman@xs4all.nl>
1821
1822 * Source/NSTask.m: Make arguments into windows quoted strings for
1823 mingw. Adjustments to conform to GNUstep style and use static
1824 functions to avoid adding methods by RFM.
1825
1826 2003-02-11 Adam Fedor <fedor@gnu.org>
1827
1828 * configure (LDFLAGS): Remove extra spaces that cause problems
1829 on Darwin/gcc
1830
1831 i2003-02-11 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1832
1833 * Headers/Foundation/NSFileManager.h: Added a little bit to the
1834 * documentation of the NSFileManagerHandler protocol.
1835 (some documentation markup fixes by RFM also)
1836 * Source/NSFileManager.m ([NSFileManager -copyPath:toPath:handler:]):
1837 use new private methods to cope with handlers that do not implement
1838 the informal protocol. Pass more information to the handler in case
1839 of an error.
1840 ([NSFileManager -removeFileAtPath:handler:]): see above
1841 ([NSFileManager -movePath:toPath:handler:]): see above
1842 ([NSFileManager -_copyPath:toPath:handler:]): see above
1843 ([NSFileManager -_copyFile:toFile:handler:]): see above, also fixed
1844 leaking of file descriptors in case of error without a handler.
1845 ([NSFileManager -_sendToHandler:handlerwillProcessPath:path]):
1846 new method
1847 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1848 errorinPath:path]): new method
1849 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1850 errorinPath:pathfromPath:fromPathtoPath:toPath]): new method
1851
1852 2003-02-11 Richard Frith-Macdonald <rfm@gnu.org>
1853
1854 * Source/NSFileManager.m: ([+attributesAt:traverseLink:]) check for
1855 null pointer and return nil. Crash reported by Tom Koelman.
1856
1857 2003-02-10 13:56 Alexander Malmberg <alexander@malmberg.org>
1858
1859 * Source/NSRunLoop.m [HAVE_POLL] (-pollUntil:within:): Set fdEnd
1860 to pollfds_count instead of setting it separately (which was being
1861 done incorrectly).
1862
1863 2003-02-07 19:21 Alexander Malmberg <alexander@malmberg.org>
1864
1865 * Source/GSAttributedString (-setAttributes:range:): Fix memory
1866 leak.
1867
1868 2003-02-06 Richard Frith-Macdonald <rfm@gnu.org>
1869
1870 * Sourcewin32-def.top: Remove recently added external functions.
1871 * Source/libgnustep-base.def.in: Regenerated to just contain
1872 public classes. The manual hacks are no longer needed as the
1873 make system now handles inclusion of symbols from subprojects
1874 in dlls.
1875
1876 2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
1877
1878 * Sourcewin32-def.top: Manually added external functions.
1879 * Source/libgnustep-base.def.in: Regenerated to combine external
1880 functions and all public classes.
1881 * Source/NSConnection.m: ([-init]) creates a connection usable as
1882 a server.
1883
1884 2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
1885
1886 * Source/NSBundle.m: Implement new MacOS-X isLoaded method.
1887 * Headers/gnustep/base/NSBundle.h: ditto
1888
1889 2003-02-04 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1890
1891 * Headers/gnustep/base/GSInvocation.h (CLEAR_RETURN_VALUE_IF_OBJECT):
1892 * New macro, if invocation returns object release it.
1893 (RETAIN_RETURN_VALUE): New macro, if invocation returns object
1894 release it.
1895 * Source/NSInvocation.m ([NSInvocation -dealloc]): Implement RELEASE
1896 * return object
1897 ([NSInvocation -setReturnValue:]) Implement RETAIN/RELEASE on return
1898 object ([NSInvocation -invokeWithTarget:]): Implement RETAIN/RELEASE
1899 on return object,
1900 fixed _validReturn flag setting
1901 * Source/GSFFIInvocation.m ([GSFFIInvocation -invokeWithTarget:]):
1902 Fix _validReturn flag setting, Implement RETAIN/RELEASE on return
1903 object.
1904 * Source/GSFFCallInvocation.m ([GSFFCallInvocation
1905 * -invokeWithTarget:]):
1906 Fix _validReturn flag setting. Implement RETAIN/RELEASE on return
1907 object.
1908
1909 2003-02-04 Adam Fedor <fedor@Eldorado.local.>
1910
1911 * Headers/gnustep/base/.cvsignore: Don't include config.h.in
1912 * Documentation/.cvsignore: Don't include *texi
1913 * Source/Additions/GSXML.h: Fix up GSXLM.h include on MacOSX
1914
1915 2003-02-02 Stephane Corthesy <stephane@sente.ch>
1916 Adam Fedor <fedor@gnu.org>
1917
1918 * Headers/gnustep/base/GSObjCRuntime.h (GS_STATIC_INLINE): Rename
1919 from FOUNDATION_STATIC_INLINE
1920 * Headers/gnustep/base/GCObject.h, GSXML.h: include
1921 Foundation/Foundation.h on MacOSX.
1922 * Source/Additions/GCArray.m, GCDictionary.m, GCObject.m: Idem.
1923 * Source/Additions/GSCompatibility.[hm]: Change category names to
1924 GSCompatibility.
1925 * Source/Additions/GSNextRuntime.m (ROUND): Expand inline due to
1926 gcc 3.1 compile problems.
1927 * Source/Additions/Unicode.m: Don't define GetEncodingName on MacOSX
1928 Added #ifdef HAVE_ICONV around definition of iconv_stringforencoding().
1929
1930 2003-02-01 Richard Frith-Macdonald <rfm@gnu.org>
1931
1932 * Source/Additions/Unicode.m: Fix error in check for legality of
1933 three-byte utf-8 sequences.
1934
1935 2003-01-31 Richard Frith-Macdonald <rfm@gnu.org>
1936
1937 * Source/NSRunLoop.m: Fix memory leak with timed performs.
1938
1939 2003-01-31 Stephane Corthesy <stephane@sente.ch>
1940 Adam Fedor <fedor@gnu.org>
1941
1942 * Headers/gnustep/base/GSCategories.h: Moved
1943 NSString(GSCategories), NSMutableString(GSCategories), and copied
1944 NSObject(GSCategories) to here
1945 * Headers/gnustep/base/NSString.h, Headers/gnustep/base/NSObject:
1946 From here.
1947 * Headers/gnustep/base/GSMime.h: Include Foundation on MacOSX.
1948
1949 * Source/Additions/GSCategories.m: Fix includes.
1950 * Source/Additions/GSCompatibility.h: Defined DebugLog, WarnLog
1951 macros. Add Additional NSObject, NSInvocation, NSString and
1952 NSProcessInfo methods. Add NSStandardLibraryPaths.
1953 * Source/Additions/GSCompatibility.m: Idem.
1954
1955 2003-01-30 Richard Frith-Macdonald <rfm@gnu.org>
1956
1957 * Source/libgnustep-base.def.in: Regenerated
1958
1959 2003-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1960
1961 * Source/Additions/Unicode.m: Fixed bug in utf-8 output for three
1962 byte sequences.
1963 * Tools/AGSOutput.m: Fix loss of trailing info after a closing
1964 square bracket round a class name.
1965 * Source/Additions/GCArray.m: make mutable copy shallow for
1966 consistency with other arrays.
1967
1968 2003-01-26 Richard Frith-Macdonald <rfm@gnu.org>
1969
1970 * Source/NSString.m: Added new MacOS-X method ...
1971 ([MSMutableString-replaceOccurrencesOfString:withString:options:range:])
1972 * Source/Headers/gnustep/base/NSString.h: ditto
1973 * Source/Additions/GSCategories.m: Added
1974 ([NSData-initWithHexadecimalRepresentation:])
1975 * Source/Headers/gnustep/base/GSCategories.h: ditto
1976
1977 2003-01-26 Adam Fedor <fedor@gnu.org>
1978
1979 * Compiling gdl2 on MacOSX.
1980 * Headers/gnustep/base/NSObject.h (-notImplemented:,
1981 -subclassResponsibility:, -shouldNotImplement:, -compare:): Move
1982 to GSCategories category.
1983 * Headers/gnustep/base/NSString.h (-stringByDeletingPrefix:,
1984 -stringByDeletingSuffix:, -deleteSuffix:, -deletePrefix:): Idem.
1985 * Source/NSObject: Move methods to Additions/GSCategories.m
1986 * Source/NSString: Idem.
1987
1988 * Source/Additions/GSCompatibility.h (GetEncodingName): Add.
1989 * Source/Additions/GSCompatibility.m (GetEncodingName): Cocoa
1990 implementation.
1991
1992 2003-01-24 Richard Frith-Macdonald <rfm@gnu.org>
1993
1994 * Source/Additions/GSCategories.m: Changed name of md5 digest method
1995 and added -hexadecimalRepresentation.
1996 * Source/Additions/GSMime.m: Update for md5 change.
1997 * Documentation/GNUmakefile: Fixed error in installation location.
1998 * Documentation/Makefile.postamble: Fixed to install BaseAdditions
1999 documentation.
2000 * Source/md5.c: Tidy up ... removed ... no longer used
2001 * Source/md5.h: ditto
2002 * Source/numbers.c: ditto
2003 * Headers/gnustep/base/numbers.h: ditto
2004
2005 2003-01-23 Richard Frith-Macdonald <rfm@gnu.org>
2006
2007 * Documentation/Base.gsdoc: Refer to additions.
2008 * Documentation/BaseAdditions.gsdoc: New intorduction for additions
2009 * Headers/gnustep/base/GSCategories.h: Added MD5Digest NSData method
2010 * Source/DocMakefile: Build additions documentation separately
2011 * Source/Additions/GSCategories.m: Added MD5Digest NSData method
2012 * Source/Additions/GSMime.m: Use MD5Digest NSData method.
2013
2014 2003-01-22 Richard Frith-Macdonald <rfm@gnu.org>
2015
2016 * Source/Additions/GSMime.m: ifdefed out my last change ...not sure
2017 it was good.
2018 * Source/GSFileHandle.m: Removed bogus semicolon which was causing
2019 code to be executed repeatedly rather than just once ... trivial
2020 optimisation.
2021
2022 2003-01-21 Adam Fedor <fedor@gnu.org>
2023
2024 * Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m,
2025 GSCategories.m): Include config.h
2026 * Source/Additions/GSMime.m: Add extra arg to some NSDebugMLog to
2027 get it to compile right on OSX.
2028
2029 2003-01-20 Richard Frith-Macdonald <rfm@gnu.org>
2030
2031 * Headers/gnustep/unicode/latin9.h: Latin9 string encoding tables
2032 * Source/Additions/Unicode.m: Added built-in support for the Latin9
2033 character encoding ... contains the Euro symbol ... nice for
2034 european users.
2035 * Source/NSArray.m: Make abstract copying implementation like that
2036 of latest MacOS-X rather than OPENSTEP ... no relationship between
2037 mutability and depth.
2038 * Source/NSDictionary.m: ditto
2039 * Source/NSSet.m: ditto
2040 * Source/GSArray.m: Implement optimised copies ... copying an immutable
2041 object just retains it, and copying a mutable object is shallow.
2042 * Source/GSDictionary.m: ditto
2043 * Source/GSSet.m: ditto
2044
2045 2003-01-16 Richard Frith-Macdonald <rfm@gnu.org>
2046
2047 * Source/NSURL.m: Support MacOS-X style initialisation using a path
2048 with a leading slash.
2049
2050 2003-01-09 Richard Frith-Macdonald <rfm@gnu.org>
2051
2052 * Source/Additions/GSCategories.m: Additional ([weekOfYear]) method
2053 for NSCalendarDate.
2054 * Headers/gnustep/base/GSCategories.h: ditto
2055
2056 2003-01-07 Richard Frith-Macdonald <rfm@gnu.org>
2057
2058 * Source/NSLock.m:
2059 * Source/NSPage.m:
2060 Mingw fixes ... problems reported by Fred.
2061
2062 2003-01-04 Richard Frith-Macdonald <rfm@gnu.org>
2063
2064 * Source/NSConcreteNumber.m: ([compare:]) explicitly cast to promote
2065 values to a type where comparisons can be done without loss of
2066 precision.
2067
2068 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2069
2070 * base.make.in:
2071 * configure:
2072 * configure.ac:
2073 * Headers/gnustep/base/GSIArray.h:
2074 * Headers/gnustep/base/GSIMap.h:
2075 * Headers/gnustep/base/NSGeometry.h:
2076 * Headers/gnustep/base/NSInvocation.h:
2077 * Source/GSArray.m:
2078 * Source/GSAttributedString.m:
2079 * Source/GSCompatibility.m:
2080 * Source/GSCountedSet.m:
2081 * Source/GSDictionary.m:
2082 * Source/GSFFCallInvocation.m:
2083 * Source/GSFTPURLHandle.m:
2084 * Source/GSFileHandle.m:
2085 * Source/GSFormat.m:
2086 * Source/GSString.m:
2087 * Source/GSTcpPort.m:
2088 * Source/GSTemplateValue.m:
2089 * Source/NSArray.m:
2090 * Source/NSAutoreleasePool.m:
2091 * Source/NSBundle.m:
2092 * Source/NSCalendarDate.m:
2093 * Source/NSConcreteNumber.m:
2094 * Source/NSCountedSet.m:
2095 * Source/NSData.m:
2096 * Source/NSDebug.m:
2097 * Source/NSInvocation.m:
2098 * Source/NSLog.m:
2099 * Source/NSMethodSignature.m:
2100 * Source/NSNotificationCenter.m:
2101 * Source/NSObject.m:
2102 * Source/NSPortCoder.m:
2103 * Source/NSRunLoop.m:
2104 * Source/NSScanner.m:
2105 * Source/NSSerializer.m:
2106 * Source/NSString.m:
2107 * Source/NSTimeZone.m:
2108 * Source/NSUnarchiver.m:
2109 * Source/mframe.m:
2110 * Source/Additions/GSMime.m:
2111 * Source/Additions/GSXML.m:
2112 * Tools/AGSOutput.m:
2113 * Tools/AGSParser.m:
2114 * Tools/defaults.m:
2115 * Tools/gdomap.c:
2116 * Tools/pl2link.m:
2117 * Tools/sfparse.m:
2118 * Tools/make_strings/StringsFile.m:
2119 Tweaks for warning free compilation with gcc-3.4 ... many comparisons
2120 os signed and un signed values avoided etc.
2121
2122 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2123
2124 * Tools/AGSHtml.m: Don't try to make a type reference to the
2125 superclass of NSObject.
2126
2127 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2128
2129 * Source/NSPage.m: Document all functions.
2130
2131 2002-12-31 Kelvin <kelvin@xbar.org>
2132
2133 * Source/NSPage.m (NSRealMemoryAvailable): Add support for MINGW
2134 and BeOS.
2135
2136 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2137
2138 * Source/GSEQ.h: Optimisations for normalising sequences, especially
2139 where they contain latin1 characters.
2140 * Source/Additions/GCDictionary.m: Update map tables for macosx
2141 * Source/NSMapTable.m: Update for macosx compatibility, add some
2142 documentation and move stuff from externs.m
2143 * Source/NSHashTable.m: Update for macosx compatibility, add some
2144 documentation and move stuff from externs.m
2145 * Source/externs.m: Remove map and hash table stuff
2146 * Source/NSException.m: Fix documentation cross ref error.
2147 * Source/NSAssertion.m: Improve documentation.
2148 * Headers/gnustep/base/NSException.h: Include assertion documentation.
2149 * Headers/gnustep/base/NSMapTable.h: Update for macosx compatibility.
2150 * Headers/gnustep/base/NSHashTable.h: Ditto
2151 * Tools/AGSHtml.m: Fix typo ... excess semicolon in constant output.
2152 * Tools/AGSParser.m: Fix error failing to find comment for constants.
2153 * Source/NSObjCRuntime.m: Document functions.
2154
2155 2002-12-30 Adam Fedor <fedor@gnu.org>
2156
2157 * SSL/GNUmakefile: Don't compile if base=no
2158
2159 * Tools/AGSIndex.h: Include gnustep/base/GSXML.h.
2160 * Tools/AGSHtml.m: Include GNUstep.h
2161 * Tools/AGSInde.m, Tools/AGSOutput.m, Tools/AGSParser.m,
2162 Tools/HTMLLinker.m: Idem.
2163 * Tools/GNUmakegile: Only compile autogsdoc when add=yes
2164 * Tools/Makefile.preamble: Include -lgnustep-baseadd when add=yes
2165
2166 Mon Dec 30 18:19:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
2167
2168 * configure.ac: Recognize apple OBJC_RUNTIME_LIB.
2169 * configure: Regenerated.
2170 * Makefile.postamble: Updated check for gnu FOUNDATION_LIB.
2171 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2172 Do not add -framework Foundation on Apple, it's added automatically
2173 by gnustep-make.
2174 * Source/GNUmakefile: Updated check for OBJC_RUNTIME_LIB.
2175 * Source/Additions/GNUmakefile: Updated checks for
2176 OBJC_RUNTIME_LIB and FOUNDATION_LIB.
2177
2178 2002-12-28 Kelvin <kelvin@xbar.org>
2179
2180 * Source/NSPage.m: Add BeOS support.
2181 * Source/NSProcessInfo.m ([NSProcessInfo -operatingSystem]): Idem
2182 (Also added solaris (fedor@gnu.org)).
2183
2184 2002-12-24 Richard Frith-Macdonald <rfm@gnu.org>
2185
2186 * Source/Additions/Unicode.m: Tidied and optimised binary searches.
2187
2188 2002-12-19 Richard Frith-Macdonald <rfm@gnu.org>
2189
2190 * Tools/AGSParser.m: Fix bug handling repeated opeing braces.
2191
2192 2002-12-17 Richard Frith-Macdonald <rfm@gnu.org>
2193
2194 * Tools/AGSIndex.m: Fix error indexing vararg methods.
2195 * Source/Additions/Unicode.m: Added home-brewed support for UTF8 to
2196 avoid use of iconv where not necessary.q Hope the code is OK :-)
2197
2198 2002-12-12 Richard Frith-Macdonald <rfm@gnu.org>
2199
2200 * Headers/gnustep/base/NSDistributedNotificationCenter.h: add type
2201 for LAN-wide notifications. Add ivar to support this.
2202 * Source/NSDistributedNotificationCenter.m: Implement support for
2203 a LAN-wide notification center. Fully document class.
2204 * Tools/gdnc.m: Add new GSNetwork flag to operate as LAN-wide
2205 notification center.
2206 * Tools/AGSHtml.m: Don't output contents section if there is
2207 nothing to show (ie must have at least two sections to index).
2208 * Source/NSConnection.m: Add locks to protect proxy cache in timeout.
2209
2210 2002-12-10 Adam Fedor <fedor@gnu.org>
2211
2212 * configure.ac: Enable libffi on darwin by default.
2213
2214 2002-12-10 Richard Frith-Macdonald <rfm@gnu.org>
2215
2216 * Source/NSArray.m: ([removeObjectsFromIndices:numIndices:])
2217 bugfix for sorting by Kelvin Sherlock.
2218 * Source/NSConnection.m: Experimental code to keep local objects
2219 retained long enough to deal with most cases where the remote
2220 process may want them again.
2221 * Source/NSHost.m: Don't cache local host name ... it may change
2222 due to use of DHCP etc.
2223
2224 2002-12-08 Richard Frith-Macdonald <rfm@gnu.org>
2225
2226 * Source/NSThread.m: Fix race condition firing perform holder.
2227 Fix supplied by Philip Derrin.
2228
2229 2002-12-05 Richard Frith-Macdonald <rfm@gnu.org>
2230
2231 * Source/NSUserDefaults.m: Fix uninitialised local variable 'locale'
2232 which was causing a crash ... not 100% sure my fix is making the code
2233 work as intended. Could Adam please check it?
2234
2235 2002-12-04 Adam Fedor <fedor@gnu.org>
2236
2237 * Headers/gnustep/base/GSLocale.h: Add category arg to
2238 SetLocale functions.
2239 * Source/GSLocale.m (GSSetLocaleC, GSSetLocale): Update for change.
2240 * Source/NSObject.m (+initialize): Idem.
2241 * Source/NSUserDefaults.m ([NSUserDefaults +standardUserDefaults]):
2242 Idem.
2243
2244 2002-12-04 Richard Frith-Macdonald <rfm@gnu.org>
2245
2246 * Source/NSSerializer.m: bugfix deserialisation ... was trying to
2247 read size of date/number when these values were not being serialized.
2248
2249 2002-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2250
2251 * Source/NSBundle.m ([NSBundle +initialize]): check for linked
2252 framework in two passes, first collect all the framework classes, then
2253 add it. The previous routine failed to add all the frameworks.
2254
2255 2002-12-02 Adam Fedor <fedor@gnu.org>
2256
2257 * Port baseadd to MacOSX.
2258 * Makefile.postamble (header-links): Don't link gnustep/gui to
2259 Foundation for FOUNDATION_LIB=nx
2260 * Headers/gnustep/base/NSObjCRuntime.h (FOUNDATION_EXPORT): Define
2261 only if not defined already.
2262 * Headers/gnustep/base/objc-gnu2next.h: Define _CLS_META, _CLS_CLASS
2263 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2264 Depend on framework Foudation if FOUNDATION_LIB=nx
2265 * Source/objc-gnu2next.m: Move most functions...
2266 * Source/Additions/GSNextRuntime.m: ...to here.
2267 * Source/Additions/GSCompatibility.[hm]: New files.
2268 * Source/Additions/GCDictionary.m: Include it.
2269 * Source/Additions/GSMime.m: Idem.
2270 * Source/Additions/GSXML.m: Idem.
2271 * Source/Additions/GCObject.m: Idem. Null out mutex code
2272 on NeXT_RUNTIME (Need a better fix).
2273 * Source/Additions/GNUmakefile: Don't compile Unicode.m
2274 on FOUNDATION_LIB=nx (not ported yet).
2275 * Source/Additions/GSObjCRuntime.m (GSObjCAddClasses): Version
2276 for NeXT_RUNTIME.
2277 (GSObjCAddClassBehavior): Fixes for NeXT_RUNTIME.
2278 * Source/Additions/behavior.m (behavior_class_add_class): Idem.
2279
2280 2002-12-02 Jonathan Gapen <jagapen@wisc.edu>
2281
2282 * Headers/gnustep/base/NSPort.h: Add NSSocketPort interface.
2283 * Source/NSSocketPort.m: New file. New MacOS X class partially
2284 implemented; serves as BSD socket wrapper.
2285
2286 2002-12-02 Adam Fedor <fedor@gnu.org>
2287
2288 * base.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=no.
2289 * config.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=yes.
2290 * Source/Makefile.preamble (libgnustep-base_LIBRARIES_DEPEND_UPON):
2291 Depend on $(CONFIG_SYSTEM_LIBS) if shared=yes.
2292
2293 2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
2294
2295 * Tools/plparse.m: Stefan Urbaneks patch to return 1 on failure.
2296 * Tools/sfparse.m: Similar code for this tool.
2297 * Source/Additions/GSObjCRuntime.m: Tidied function names
2298 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2299 * Source/NSKeyValueCoding.m: Use new function names.
2300
2301 2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
2302
2303 * Tools/AGSParser.m: Fix so we document static declarations made in
2304 headers and only ignore them in implementation.
2305 * Tools/AGSOutput.m: Bugfix to output ivar type information.
2306 * Tools/AGSHtml.m: Reduce space around examples.
2307 Bugs reported by Chris B. Vetter
2308 * Source/Additions/GSObjCRuntime.m: Tidied function name conventions.
2309 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2310 * Source/NSKeyValueCoding.m: Use new function names.
2311 * Source/mframe.m: When scanning arguments, skip type information
2312 for things poionted to by a pointer - more efficient than scanning
2313 the fine structure and then throwing away the scanned information.
2314 * Source/additions/GSMime.m: Fill in 'type' field in multipart/related
2315 and fix bug in seaarch by content id. Also minor consistency change
2316 to API.
2317
2318 2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
2319
2320 * Source/Additions/GSObjCRuntime.m: fixed type call typo
2321 in GSFindInstanceVariable
2322
2323 2002-11-27 Adam Fedor <fedor@gnu.org>
2324
2325 * configure.ac (INCLUDE_FLAGS): New for holding flags needed for
2326 compiling base.
2327 * config.make.in (CONFIG_SYSTEM_INCL): Use it.
2328 * base.make (CONFIG_SYSTEM_INCL): Remove CPPFLAGS
2329 (CONFIG_SYSTEM_DEFS): Remove.
2330 * Source/Additions/GNUmakefile: include config.mak
2331
2332 2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
2333
2334 * Source/Additions/GSObjCRuntime.m: New file with GNUstep extensions
2335 from NSObjCRuntime, plus renamed behavior functions, plus a few other
2336 runtime manipulation functions. EXPERIMENTAL
2337 * Headers/gnustep/base/GSObjCRuntime.h: declarations for above.
2338 * Source/GSCompatibility.m: Don't use new format plists when writing
2339 descriptions.
2340 Also, honor NSWriteOldStylePropertyLists user default to write old
2341 style property-lists rather than new style or xml style.
2342 * Source/NSUser.m: Use USERPROFILE for default home directory on
2343 windoze.
2344 * Source/NSArray.m: Write non-xml property lists as ascii.
2345 * Source/NSDictionary.m: Write non-xml property lists as ascii.
2346 * Source/mframe.m: use objc_alignof_type() as suggested by Roland
2347 Schwingel. Long ago the objc runtime version was buggy so mframe
2348 implemented its own algorithm. Now the objc runtime one is better.
2349
2350 2002-11-26 Richard Frith-Macdonald <rfm@gnu.org>
2351
2352 * Source/Additions/GCObject.m: Attempt to make garbage collecting
2353 thread-safe.
2354 * Source/Additions/GCArray.m: Fix count initialising mutable array.
2355 * Source/Additions/GSMime.m: Provide a method to generate and return
2356 a string suitable for use as a boundary. Make tolerant of multipart
2357 messages with 'application' as the message type.
2358 Added ([-setBuggyQuotes:]) method for parsing stuff produced by
2359 microsoft ;-(
2360
2361 2002-11-25 Richard Frith-Macdonald <rfm@gnu.org>
2362
2363 * Source/NSUserDefaults.m: Treat '-' on its own as an argument
2364 rather than the start of a flag name.
2365 * Source/Additions/GSMime.m: Place angle brackets around generated
2366 content ID. Add method to generate message ID. Tidy comments a
2367 little.
2368
2369 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2370
2371 * Source/libgnustep-base.def: Add garbage collecting classes.
2372
2373 2002-11-20 Adam Fedor <fedor@gnu.org>
2374
2375 * Source/NSBundle.m (+preferredLocalizationsFromArray:forPreferences:):
2376 Check for array with no objects.
2377 ([NSBundle -localizedInfoDictionary]): Idem.
2378
2379 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2380
2381 * Source/Additions/Unicode.m: Work around bug in the redhat 8 iconv
2382 library ... was sucessfully opening the encoding "" when it shouldn't.
2383
2384 2002-11-19 Adam Fedor <fedor@gnu.org>
2385
2386 * Version: 1.5.1
2387 * Documentation/news.texi: Updated.
2388
2389 2002-11-19 Adam Fedor <fedor@gnu.org>
2390
2391 * Headers/gnustep/base/NSBundle.h: More documentation. Add missing
2392 MacOSX methods.
2393 * Source/NSBundle.m (-executablePath): New
2394 (-load): Use it.
2395 (+pathsForResourcesOfType:inDirectory:): New stub.
2396 (-pathsForResourcesOfType:inDirectory:forLocalization:): Idem.
2397 (-pathForResource:ofType:inDirectory:forLocalization:): Idem.
2398 (+preferredLocalizationsFromArray:): New method.
2399 (+preferredLocalizationsFromArray:forPreferences:): Idem.
2400 (-localizedInfoDictionary): Idem.
2401 (-localizations): Idem.
2402 (-preferredLocalizations): Idem.
2403
2404 * Source/cifframe.m (cifframe_from_info): Fix so that stucture
2405 returns get space allocated.
2406
2407 2002-11-19 Richard Frith-Macdonald <rfm@gnu.org>
2408
2409 * Source/behavior.m: Moved to Source/Additions/behavior.m
2410 * Source/Unicode.m: Moved to Source/Additions/Unicode.m
2411 * Source/Additions/GCObject.m: new experimental GC class.
2412 * Source/Additions/GCArray.m: ditto
2413 * Source/Additions/GCDictionary.m: ditto
2414 * Headers/gnustep/base/GCObject.h: Garbage collection classes intended
2415 for use by gdl2 and gsweb.
2416
2417 2002-11-18 Richard Frith-Macdonald <rfm@gnu.org>
2418
2419 * Source/GSCompatibility.m: Fix for case where a non property list
2420 object is found when outputting a description.
2421
2422 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2423
2424 * Source/NSUserDefaults.m: Fix for getting integer, float and bool
2425 values when they are stored as NSNumbers (problem reported by
2426 Ludovic Marcotte). Also optimise a little.
2427
2428 2002-11-15 Richard Frith-Macdonald <rfm@gnu.org>
2429
2430 * Source/NSThread.m: Port pipe to mingw.
2431 * Tools/gdomap.c: Fix for modern mingw interface lookup.
2432 Patch by Tom Koelman
2433
2434 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2435
2436 * Source/NSUserDefaults.m: Try again ... get
2437 ([-setVolatileDomain:forName:]) and ([-setPersistentDomain:forName:])
2438 to conform to both the OpenStep standard and the current MacOS-X
2439 documentation.
2440
2441 2002-11-11 Richard Frith-Macdonald <rfm@gnu.org>
2442
2443 * Source/NSString.m: adocument property list stuff.
2444 * Source/NSUserDefaults.m: set integers, floats and bools as NSNumber
2445 Bugfix ([-setVolatileDomain:forName:]) was checking wrong list of
2446 domains. Tidied.
2447
2448 2002-11-10 Richard Frith-Macdonald <rfm@gnu.org>
2449
2450 * Headers/gnustep/base/NSObject.h: Removed GNUstep plist extensions.
2451 * Source/NSObject.m: ditto.
2452 * Source/GSCompatibility.m: Implement new plist generator.
2453 * Source/NSArray.m: Use new plist code
2454 * Source/NSData.m: ditto
2455 * Source/NSDictionary.m: ditto
2456 * Source/NSSerializer.m: handle NSNumber and NSDate
2457 * Source/NSString.m: ditto, plus implement extensions to old plist
2458 support so we can encode NSNumber and NSDate values.
2459 Remove GNUstep property list extensions from the api ... make more
2460 like MacOS and OpenStep spec by having a central mechanism for
2461 generating property lists rather than spreading the code across the
2462 plist classes.
2463 Also ... maintain allocation debug accounting when making objects
2464 immutable.
2465
2466 2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
2467
2468 * Source/NSObject.m: use NSString implementation of
2469 ([descriptionWithLocale:indent:to:])
2470 * Source/NSUserDefaults.m: ([setObject:forKey:]) validate and raise
2471 exceptions if given bad info.
2472
2473 2002-11-07 02:21 Alexander Malmberg <alexander@malmberg.org>
2474
2475 * Source/GSString.m: (-makeImmutableCopyOnFail:): Set isa to correct
2476 class.
2477
2478 2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
2479
2480 * Source/NSArray.m: Ensured some documentation in place for almost all
2481 methods.
2482 * Source/Additions/GSMime.m: Fix broken method reference.
2483 * Source/Additions/GSXML.m: ditto
2484 * Source/NSScanner.m: ditto
2485 * Source/NSUnarchiver.m: ditto
2486 * Tools/AGSIndex.m: Minor fix for superclass reference lookup.
2487 * Tools/AGSHtml.m: ditto
2488
2489 2002-11-03 Richard Frith-Macdonald <rfm@gnu.org>
2490
2491 * Source/NSRunLoop.m: Revert to remove unneeded notification setup.
2492 * Source/NSThread.m: Rewrite pierres changes, scrapping all
2493 conditionally compiled code that would never be used, rewriting
2494 unix specific stuff (so it might run under windoze ... not yet tested)
2495 removed unnecessary code and simplified, etc etc.
2496 Fixed bugs in usage of condition locks so it actually works.
2497 * Testing/thread.m: New test to try out
2498 performSelectorOnMainThread:withObject:waitUntilDone:modes:
2499
2500 2002-11-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
2501
2502 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
2503 NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
2504 method existes.
2505 * Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
2506 class.
2507 ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
2508 lock, the socket and new run loop watcher that'll listen on the socket.
2509 [NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
2510 modified to use the previous changes.
2511
2512 2002-11-01 Richard Frith-Macdonald <rfm@gnu.org>
2513
2514 * Headers/gnustep/base/NSBundle.h: Tidied/corrected documentation
2515 markup.
2516 * Headers/gnustep/base/NSDate.h: Added NSTimeIntervalSince1970 and
2517 removed GSTimeNow() from public API.
2518 * Source/NSDate.m: Update to use NSTimeIntervalSince1970
2519 * Source/NSTimer.m: Declare GSTimeNow() locally
2520 * Source/NSprocessInfo.m: ditto
2521 * Source/Additions/GSMime.m: more tolerant parsing ... ignore excess
2522 data in multi-part document.
2523
2524 Thu Oct 31 00:46:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
2525
2526 * Headers/gnustep/base/NSBundle.h: Added more documentation.
2527
2528 Wed Oct 30 23:42:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2529
2530 * Source/NSBundle.m ([+_addFrameworkFromClass:]): New code
2531 locating linked frameworks magically - no matter where they are on
2532 disk - by using objc_get_symbol_path(). If that fails or is not
2533 available, fall back on the existing code. Fixed NSLog() message.
2534
2535 2002-10-30 Richard Frith-Macdonald <rfm@gnu.org>
2536
2537 * Source/NSThread.m: Implemented and documented new MacOS-X methods -
2538 ([-performSelectorOnMainThread:withObject:waitUntilDone:modes:])
2539 and ([-performSelectorOnMainThread:withObject:waitUntilDone:])
2540
2541 Wed Oct 30 03:14:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
2542
2543 * Headers/gnustep/base/objc-load.h: Added copyright notice.
2544 (objc_get_symbol_path): Declare to take a Category *, not a struct
2545 objc_category *, argument; documented.
2546 * Source/objc-load.m: Include config.h first. Define _GNU_SOURCE
2547 if HAVE_DLADDR is defined.
2548 (objc_get_symbol_path): Fixed crash with classes or categories
2549 with long names. Updated declaration.
2550 * config/objc-sys-dynamic.m4 (OBJC_SYS_DYNAMIC_LINKER): Print a
2551 message displaying the type of dynamic linker found. Add -ldl on
2552 the link line for linux-gnu and other systems, so that dladdr() is
2553 actually found. With the 'simple' linker, print a message saying
2554 if we found dladdr() or not.
2555 (OBJC_SYS_DYNAMIC): Historical unused macro removed.
2556 * configure: Regenerated.
2557
2558 2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
2559
2560 * Source/NSFileManager.m: include statvfs.h if available.
2561
2562 2002-10-26 Adam Fedor <fedor@gnu.org>
2563
2564 * Source/NSException.m: Document.
2565 * Source/NSFileHandle.m: Partial Documentation.
2566 * Source/NSObject.m: Fix typo in docs.
2567
2568 2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2569
2570 * Source/NSBundle.m ([NSBundle -load]): set _codeLoaded before loading
2571 the bundle.
2572
2573 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2574
2575 * Tools/AGSParser.m: Avoid duplication of method comments when
2576 parsing the same file as both header and source.
2577
2578 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2579
2580 * Tools/AGSOutput.m: ([-split:]) In links generated from class and
2581 method specifications in square brackets, place a space between the
2582 class and the method name.
2583 * Tools/gsdoc-1_0_0.dtd: Corrected minor entity errors.
2584
2585 2002-10-21 Adam Fedor <fedor@gnu.org>
2586
2587 * Headers/gnustep/unicode/thai.h: New file.
2588 * Headers/gnustep/base/NSString.h (_NSStringEncoding): Add
2589 NSISOThaiStringEncoding.
2590 * Source/NSString.m (-dataUsingEncoding:allowLossyConversion:):
2591 Handle it.
2592 * Source/Unicode.m (struct _strenc_ str_encoding_table[]): Idem.
2593 (GSEncodingForRegistry): Idem.
2594 (GSToUnicode, GSFromUnicode): Idem.
2595 (Patches, modified, from Banlu Kemiyatorn <id@project-ile.net>).
2596
2597 2002-10-21 Adam Fedor <fedor@gnu.org>
2598
2599 * Source/GSLocale.m (GSLanguageFromLocale): Implement regardless
2600 of HAVE_LOCALE_H.
2601
2602 * Source/Unicode.m (GSEncodingForRegistry): New (from
2603 [GSFontInfo +encodingForRegistry:encoding:]).
2604 (GSEncodingFromLocale): New.
2605 (GetDefEncoding): Rearrange encoding check.
2606 * Resources/Languages/Locale.encodings: New file.
2607
2608 2002-10-21 Adam Fedor <fedor@gnu.org>
2609
2610 * Documentation/coding-standards.texi: Update.
2611
2612 2002-10-14 Richard Frith-Macdonald <rfm@gnu.org>
2613
2614 Source/NSObject.m: Add ([-makeImmutableCopyOnFail:]) for use by methods
2615 wishing to return constant string/array/dictionary etc results after
2616 building them using mutable objects they created.
2617 Source/GSArray.m: Implement ([makeImmutableCopyOnFail:])
2618 Source/GSString.m: ditto
2619 Source/GSDictionary.m: ditto
2620 Source/GSSet.m: ditto
2621 Source/NSFileManager.m: Use it
2622
2623 2002-10-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2624
2625 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): remove
2626 the classes in the _loadingBundle that does not belong to it but with
2627 frameworks linked with it.
2628 ([NSBundle +bundleForClass:]): construct a list of NSFramework_*
2629 classes loaded with the bundle.
2630 ([NSBundle -load]): call _addFrameworkFromClass: for all linked
2631 frameworks with the bundle.
2632
2633 2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
2634
2635 * Tools/AGSHtml.m: Create automatic references to protocols in
2636 type specifications of the form (id<protocol1,protocol2,...>)
2637 * Tools/autogsdoc.m: Add -Files option to read names of files
2638 to process as a property list rather than using command line args.
2639 Add -Clean flag to remove generated output files and purge
2640 generated data from templates. Add -CleanTemplates to completely
2641 temove template files.
2642 * Tools/AGSParser.m: Warn about private methods and ivars.
2643
2644 2002-10-12 Richard Frith-Macdonald <rfm@gnu.org>
2645
2646 * Source/NSProcessInfo.m: Make safe to reinitialise with args.
2647 * Source/Additions/GSXML.m: Correct handling of atttribute values.
2648 * Tools/autogsdoc.m: Initialise NSProcessInfo explicitly.
2649
2650 2002-10-11 Richard Frith-Macdonald <rfm@gnu.org>
2651
2652 * Source/NSUserDefaults.m: ([-initWithContentsOfFile:]) check to see
2653 if the file is writable and the directory exists.
2654 If we can't operate properly, run in read-only ,mode where we try
2655 to read the file if possible, but never write defaults back.
2656
2657 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2658
2659 * Source/NSUserDefaults.m: ([-synchronize]) handle locking more
2660 carefully ... avoid cpu intensive busy loops and give up after
2661 a while.
2662
2663 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2664
2665 * Source/NSLog.m: Added GSPrintf()
2666 * Tools/defaults.m: Use GSPrintf()
2667 * Tools/pldes.m: ditto
2668 * Tools/plser.m: ditto
2669 * Tools/plmerge.m: ditto
2670 * Tools/plparse.m: ditto
2671 * Tools/sfparse.m: ditto
2672 * Documentation/Base.gsdoc: Bump gsdoc version to 1.0.0
2673 * Documentation/Functions.gsdoc: ditto
2674 * Documentation/TypesAndConstants.gsdoc: ditto
2675 * Source/NSLog.m: Fix typo in comment.
2676 * Tools/AGSOutput.m: Bump gsdoc version to 1.0.0
2677 * Tools/GNUmakefile: Add gsdoc 1.0.0 dtd
2678 * Tools/autogsdoc.m: Bump gsdoc version to 1.0.0
2679 * Tools/gsdoc-0_6_7.dtd: Revert to earlier version
2680 * Tools/gsdoc-1_0_0.dtd: New from latest update to 0.6.7
2681 I think the documentation dtd is pretty complete now.
2682
2683 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2684
2685 * Tools/GNUmakefile: revert ... can't build if base library isn't
2686 installed.
2687
2688 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2689
2690 * Source/NSLog.m: Lots of documentation added.
2691 * Tools/GNUmakefile: build autogsdoc documentation automatically
2692 if possible.
2693 * Tools/AGSOutput.m: Make automatic cross references for functions.
2694 * Source/Docmakefile: Use handcrafted template files. Document the
2695 path utilities file.
2696 * Documentation/Functions.gsdoc: Handcrafted template.
2697 * Documentation/TypesAndConstants.gsdoc: Handcrafted template.
2698
2699 2002-10-08 Richard Frith-Macdonald <rfm@gnu.org>
2700
2701 * Headers/Foundation/NSDebug.h: Make warn logs de-selectable at
2702 runtime by setting the NoWarn debug level. Document. Say that
2703 debug levels can be added by putting them in the GNU-Debug
2704 array in the defaults database.
2705 * Source/NSUserDefaults.m: Add contents of the GNU-Debug array to
2706 the set of active debug levels.
2707 * Tools/AGSParser.m: Updated with support for documenting macros.
2708 * Tools/AGSOutput.m: ditto
2709 * Tools/AGSHtml.m: ditto
2710
2711 2002-10-07 Richard Frith-Macdonald <rfm@gnu.org>
2712
2713 * Source/NSData.m: Update logging after checks for results of memory
2714 allocation.
2715 * Source/NSTimeZone.m: Don't abort on failure to allocate memory ...
2716 just print a log and continue returning a null pointer.
2717
2718 2002-10-06 Richard Frith-Macdonald <rfm@gnu.org>
2719
2720 * Source/NSData.m: readContentsOfFile() fix use of atomic memory
2721 on GC systems ... problem noticed by Fred.
2722
2723 Sat Oct 5 19:53:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2724
2725 * Source/NSData.m ([NSDataMappedFile
2726 -initWithContentsOfMappedFile:]): release self and return nil -
2727 rather than returning NO, if the path is bad.
2728
2729 2002-10-05 Richard Frith-Macdonald <rfm@gnu.org>
2730
2731 * Tools/AGSOutput.m: Improve warning code, support text output
2732 in chapter/section/subsection.
2733 * Tools/AGSParser.m: move concatenation of comments into a single
2734 method, make it insert a linebreak between concatenated comments,
2735 and make it refrain from appending the same comment onto itsself
2736 (which would happen if the same file was parsed twice, as both a
2737 header and as source).
2738 Treat the 'main()' function specially ... don't document it as a
2739 function but insert its comments at the end of the 'chapter' part
2740 of the output document. These modifications make it easy to
2741 document a directory containing tools, by listing the tool source
2742 files as arguments to autogsdoc.
2743 Tools/gsdoc_0_6_7.dtd: Fix bug preventing use of text in a chapter!
2744 * Source/GSString.m: Implement -UTF8String method for better
2745 performance.
2746 * Source/NSPortNameServer.m: Improve diagnostic message in exception
2747 when reporting failure to register ... try to provide all the info
2748 needed to begin diagnosing any problem.
2749 * Tools/gdomap.c: Make -M flag work with -N. Make -M flag work when
2750 used after -N or -L. Improve diagnostic messages on failure so
2751 people know what it is trying to do.
2752
2753 2002-10-04 Richard Frith-Macdonald <rfm@gnu.org>
2754
2755 * Source/NSArray.m: Tidied init from file to ensure that everything
2756 is released properly on failure, and we don't generate log messages
2757 where a lower level API should be doing it. Added some documentation.
2758 * Source/NSDictionary.m: ditto
2759 * Source/NSString.m: ditto. Also add support for understanding the
2760 unicode BOM at the start of UTF8 data and stripping it.
2761 * Source/NSData.m: Tidied read from and write to file,
2762 adding lots of logging information. Also documented quite a bit.
2763 Resolved all conflicts found with Adam's change ... generally in
2764 favor of the most informative logging.
2765 * Source/NSPortNameServer.m: On failure to register name, make
2766 exception message provide lots of detail/advice for newbies.
2767
2768 2002-10-03 Adam Fedor <fedor@gnu.org>
2769
2770 * Source/NSData.m (readContentsOfFile): Change NSDebugLog(s) to
2771 NSWarnLog or NSLog.
2772 (-writeToFile:atomically:): Idem.
2773 ([NSDataMappedFile -initWithContentsOfMappedFile:]): Idem.
2774 * Source/NSDictionary.m ([NSDictionary -initWithContentsOfFile:]):
2775 Release ourselves and return nil if file cannot be read.
2776
2777 2002-10-03 Richard Frith-Macdonald <rfm@gnu.org>
2778
2779 * Source/NSRunLoop.m: ([-runMode:beforeDate:]) permit the use of a
2780 nil date and document it. This is the behavior MacOS seems to have
2781 and seems to be more useful than prohibiting nil dates.
2782
2783 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
2784
2785 * Source/NSDistributedLock.m: Document and tidy.
2786 * Source/NSTimeZone.m: Don't set system zone prematurely.
2787 * Source/NSString.m: Don't bother to cache constant string
2788 class. Document it.
2789
2790 2002-10-01 Adam Fedor <fedor@gnu.org>
2791
2792 * config/pathxml.m4: Filter -L/usr/lib out of XML_LIBS.
2793 * configure: Regenerate.
2794
2795 2002-10-01 02:21 Alexander Malmberg <alexander@malmberg.org>
2796
2797 * Source/NSUserDefaults.m (-synchronize): Handle lockDate being nil.
2798
2799 2002-09-30 Richard Frith-Macdonald <rfm@gnu.org>
2800
2801 * NSTimeZones/NSTimeZones.tar: Updated to latest information.
2802 * Source/NSCalendarDate.m: Tidy up a little.
2803 * Source/NSTimeZone.m: Rewrite main timezone code for performance -
2804 Roughly doubles speed of most NSCalendarDate stuff.
2805 * NSThread.m: Fix for single threaded operation ... suggested by
2806 Ludovic Marcotte.
2807
2808 2002-09-29 Richard Frith-Macdonald <rfm@gnu.org>
2809
2810 * Source/GSFileHandle.m: Encapsulate read and write operations in
2811 new low level methods to ease subclassing.
2812 * SSL/GSSSLHandle.m: Use new read and write methods to simplify.
2813
2814 2002-09-28 Richard Frith-Macdonald <rfm@gnu.org>
2815
2816 * Source/NSCalendarDate.m: Fix problem with signed/unsigned type
2817 conversion when initialising a date at a daylight savings time
2818 boundary, and attempt to improve the code for adding offsets to
2819 dates.
2820 * Source/Makefile.postamble: patch to fix some warnings in
2821 uninstall (by David Ayers).
2822
2823 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
2824
2825 * Source/GSTcpPort.m: ([GSTcphandle+initialize]) ignore SIGPIPE in
2826 case a socket gets closed while we are writing.
2827
2828 2002-09-26 Richard Frith-Macdonald <rfm@gnu.org>
2829
2830 * Source/Additions/GSMime.m: Fix typo.
2831
2832 Thu Sep 26 01:28:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2833
2834 * Tools/make_strings/GNUmakefile: Do not include ctool.make.
2835
2836 2002-09-25 Richard Frith-Macdonald <rfm@gnu.org>
2837
2838 * Source/Additions/GSXML.m: Added ([-previousElement]) to match the
2839 [(-nextElement]) method.
2840
2841 Wed Sep 25 02:46:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
2842
2843 * Tools/make_strings/make_strings.m (main): Remove "" languages
2844 from the list of languages before processing.
2845
2846 2002-09-24 Richard Frith-Macdonald <rfm@gnu.org>
2847
2848 * Source/GSTcpHandle.m: ([-handleForPort:beforeDate:]) fix bug where
2849 we could end up using the last (non-matching) handle rather than
2850 creating a new one.
2851
2852 2002-09-20 Richard Frith-Macdonald <rfm@gnu.org>
2853
2854 * Source/GSTcpHandle.m: ([-connectToPort:beforeDate:]) Added more
2855 informative logging for problem condition reported by Nicila ...
2856 perhaps it will help tracking down cause.
2857
2858 2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
2859
2860 * Source/GSFormat.m: Where a %p format prints a null pointer,
2861 print the text (null).
2862 * Source/GSTcpHandle.m: Check port for invalidation while looping
2863 on write events, so we can fail if we become invalid while sending
2864 or connecting, before the port timeout expires.
2865 * Source/NSConnection.m: Check connection for invalidation while
2866 looping waiting for a reply, so we can fail if we become invalid
2867 before the timeout expires.
2868 * Source/DocMakefile: Specify template options
2869 * Tools/autogsdoc.m: Remove hack to turn templates on by default.
2870 Document the use of templates.
2871 * Tools/gsdoc-0_6_7.dtd: Hack in more types for indexing ... don't
2872 know if the software works for them though.
2873
2874 2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
2875
2876 * Source/Unicode.m: Restructure conversion from unicode slightly,
2877 to make it clearer and more readable and to include handling of
2878 lossy conversions.
2879 * Headers/gnustep/unicode/gsm0338.h: Added table for lossy conversion
2880 from unicode.
2881
2882 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2883
2884 * Tools/AGSParser.m: Bugfix ... look for source files more
2885 intelligently. Try both current directory and relative to header.
2886 * Tools/AGSOutput.m: When creating template output file for functions
2887 etc because none was supplied, take account of the -Up flag and
2888 create an up link in it.
2889 * Source/GSHTTPURLHandle.m: If response parsing fails, fail the
2890 load operation and (conditionally when debug enabled) log an error.
2891
2892 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2893
2894 * Source/NSFileManager.m: Basic/dummy implementations of new MacOS-X
2895 methods added. Attribute handling totally rewritten to work in a lazy
2896 way ... so we only set up attribute info in the dictionary when we
2897 actually need it. Account 'Number' methods and dictionary keys changed
2898 to be account 'ID' instead ... in accordance with MacOS-X usage.
2899 Documented the class.
2900 * Source/NSData.m: ([-writeToFile:atomically:]) implement workaround
2901 for bug in windoze implementation of rename()
2902 * Source/NSString.m: Remove some redundant code duplicating stuff in
2903 GSMime.m
2904
2905 2002-09-15 Richard Frith-Macdonald <rfm@gnu.org>
2906
2907 * Source/NSFileManager.m: MacOS-X ([componentsToDisplayForPath:]) and
2908 ([displayNameAtPath:]) methods implemented. Creation date added.
2909 * Source/NSString.m: More alterations to GNUstep extension methods
2910 to make their names consistent with other methods.
2911 Q. Should we deprecate/remove them entirely?
2912 * Tools/gsdoc.m: Update for changes to extension methods... though
2913 this tool has been deprecated for some time now, so perhaps we
2914 should remove it?
2915
2916 2002-09-13 Adam Fedor <fedor@gnu.org>
2917
2918 * Source/cifframe.m (cifframe_guess_struct_size): Recurse if
2919 element contains structures.
2920 (cifframe_from_info): Alloc room for return value even if caller
2921 doesn't use it.
2922
2923 Thu Sep 12 11:02:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2924
2925 * Source/NSObject.m ([+_becomeMultiThreaded:]): Fixed typo - this
2926 method was declared to take a 'NSNotification' rather than a
2927 'NSNotification *' argument.
2928
2929 2002-09-10 Richard Frith-Macdonald <rfm@gnu.org>
2930
2931 * Source/GSLocale.m: Double locking check fix
2932 * Source/NSFileManager.m: Double locking check fix
2933 Fixes contributed by David Ayers <d.ayers@inode.at>
2934
2935 2002-09-08 Richard Frith-Macdonald <rfm@gnu.org>
2936
2937 * Headers/gnustep/base/GSIArray.h: Minor optimisation
2938 * Headers/gnustep/unicode/gsm0338.h: Correct unicode to gsm table
2939 * Source/Unicode.m: Correct gsm conversion and optimise unicode to
2940 8-bit charaacter conversion for other character sets. Also correct
2941 lossy/non-lossy conversion using iconv.
2942
2943 2002-08-30 Adam Fedor <fedor@gnu.org>
2944
2945 * Version: 1.5.0
2946
2947 2002-08-30 Richard Frith-Macdonald <rfm@gnu.org>
2948
2949 * Source/NSString.m: Implemented new MacOS-X methods -
2950 ([-stringByPaddingToLength:withString:startingAtIndex:]), and
2951 ([-stringByTrimmingCharactersInSet:])
2952 Tidied a couple of extension method names for consistency and
2953 documented several methods.
2954
2955 2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
2956
2957 * Source/Additions/GSXML.m: Get libxml to put filename in error
2958 messages when it is available.
2959
2960 2002-08-28 Richard Frith-Macdonald <rfm@gnu.org>
2961
2962 * Source/Unicode.m: Rewritten the way that iconv is used to decide
2963 upon the available encodings ... lazy evaluation so that we don't
2964 try to lookup an encoding until we have to. This should improve
2965 process startup time (especially in gdb) since the iconv operations
2966 seem to be very slow.
2967
2968 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2969
2970 * Source/Additions/GSXML.m: Integrated GSXPath code by Nicola Pero
2971 provides an API to use the xpath support built into libxml from
2972 version 2.3 onwards.
2973 * Source/NSThread.m: Implement new priority methods.
2974 * Source/NSObject.m: Raise exception when passed null selector.
2975
2976 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2977
2978 * Source/NSData.m: ([-writeToFile:atomically:]) Removed bogus line
2979 which deleted files when it shouldn't.
2980 Added new MacOS-X methods supporting NSData objects where the bytes
2981 are not owned by the data object. Removed GNUstep extension which
2982 provided this functionality before.
2983 * Source/NSUserDefaults.m: Use distributed lock to ensure that there
2984 is no possible window when the defaults file is invalid ... not all
2985 systems guarantee that the rename() system call is atomic.
2986 * Source/NSArray.m: New MacOS-X methods ([-initWithArray:copyItems:])
2987 ([-exchangeObjectAtIndex:withObjectAtIndex:])
2988 * Source/NSTimer.m: Update for compatibility with latest MacOS-X
2989 * Source/NSObject.m: New ([+isSubclassOfClass:]) and perform
2990 cancellation from MacOS-X
2991 * Source/NSRunloop.m: New perform cancellation method from MacOS-X
2992 proofreading help/fixes from David Ayers.
2993
2994 2002-08-25 Richard Frith-Macdonald <rfm@gnu.org>
2995
2996 * Source/WindowsFileHandle.m: Removed ... no longer used.
2997 * Source/GSHTTPURLHandle.m: Don't use getpid() ... not portable.
2998 * Tools/gdomap.c: Don't use getuid() under windoze.
2999
3000 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3001
3002 * Source/NSURL.m: ([-initFileURLWithPath:]) check to see if path is
3003 a directory and append a trailing slash if necessary. Remove hack
3004 to refrain from stripping last patch component in file URLs.
3005
3006 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3007
3008 * Source/NSURL.m: Hacks for compatibility with MacOS-X in returning
3009 path of a file URL ... the RFC says we should only return a path
3010 for a generic URL (scheme://user:passwd@host:port/path#frag?query)
3011 which a file URL certainly isn't. However, for compatibility we
3012 now treat a file URL more like a generic one.
3013 Also when creating absolute file URLs from base plus relative,
3014 the MacOS-X code doesn't strip the last path component of the
3015 base URL as it should ... we emulate that too.
3016
3017 2002-08-22 Richard Frith-Macdonald <rfm@gnu.org>
3018
3019 * Source/NSFileManager.m: Fix typo ... missing closing brace under
3020 windoze. Reported by Alex Stockdale.
3021
3022 2002-08-21 Richard Frith-Macdonald <rfm@gnu.org>
3023
3024 * Source/NSObject.m: ([-replacementObjectForPortCoder:])
3025 Documented method and removed unused/unwanted code dealing with
3026 NSDistantObject (NSDistantObject overrides the method).
3027
3028 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3029
3030 * Source/NSObject.m: Fix silly typo.
3031
3032 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3033
3034 * Source/NSConnection.m: (-removeProxy:) Remove unbalanced release.
3035
3036 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3037
3038 * Source/GSCountedSet.m:
3039 * Source/GSFileHandle.m:
3040 * Source/NSArchiver.m:
3041 * Source/NSData.m:
3042 * Source/NSDistributedNotificationCenter.m:
3043 * Source/NSHashTable.m:
3044 * Source/NSMapTable.m:
3045 * Source/NSObjCRuntime.m:
3046 * Source/NSObject.m:
3047 * Source/NSPortCoder.m:
3048 * Source/NSScanner.m:
3049 * Source/NSString.m:
3050 * Source/Unicode.m:
3051 * Source/UnixFileHandle.m:
3052 * Source/WindowsFileHandle.m:
3053 * Source/callframe.m:
3054 * Source/cifframe.m:
3055 * Source/mframe.m:
3056 Fix trivial typos and spelling errors pointed out by David Ayers.
3057
3058 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3059
3060 * Source/GSCountedSet.m:
3061 * Source/NSAutoreleasePool.m:
3062 * Source/NSCharacterSet.m:
3063 * Source/NSCountedSet.m:
3064 * Source/NSData.m:
3065 * Source/NSDebug.m:
3066 * Source/NSDictionary.m:
3067 * Source/NSFileHandle.m:
3068 * Source/NSLock.m:
3069 * Source/NSNull.m:
3070 * Source/NSNumber.m:
3071 * Source/NSObject.m:
3072 * Source/NSPipe.m:
3073 * Source/NSScanner.m:
3074 * Source/NSSerializer.m:
3075 * Source/NSSet.m:
3076 * Source/NSString.m:
3077 * Source/NSThread.m:
3078 * Source/NSTimeZone.m:
3079 * Source/Additions/GSMime.m:
3080 * Headers/gnustep/base/NSBundle.h:
3081 * Headers/gnustep/base/NSRange.h:
3082 * Headers/gnustep/base/NSSet.h:
3083 Modify comments to include gsdoc documentation for autogsdoc.
3084 This completes the transfer of all gsdoc documentation into
3085 the source code.
3086 * Documentation/gsdoc: All obsolete files removed.
3087
3088 2002-08-19 Richard Frith-Macdonald <rfm@gnu.org>
3089
3090 * Source/NSProxy.m: Documented all methods and corrected implementation
3091 of some introspection methods.
3092
3093 2002-08-16 Richard Frith-Macdonald <rfm@gnu.org>
3094
3095 * Source/Base.gsdoc: Moved to Documentation.
3096 * Source/GNUmakefile: Removed documentation building code.
3097 * Source/DocMakefile: New file for building refetrence documentation.
3098 * Documentation/Base.gsdoc: New from source directory.
3099 * Documentation/GNUmakefile: Set up installation directory name.
3100 * Documentation/Makefile.postamble: Use ../Source/DocMakefile to build
3101 library reference documentation and deal with installation.
3102
3103 2002-08-15 Adam Fedor <fedor@gnu.org>
3104
3105 * configure.ac: Add NetBSD header/ldflag support (Patch from
3106 Peter Cooper).
3107
3108 * Headers/gnustep/base/GNUstep.h: New compatibility file.
3109
3110 2002-08-15 Richard Frith-Macdonald <rfm@gnu.org>
3111
3112 * SSL/GNUmakefile: Added -lgnustep-base and -lobjc to SSL_BUNDLE_LIBS
3113 So that bundle is linked with a dependency on these libraries ... to
3114 ensure that dynamic linkage works when the bundle is loaded in from
3115 java via jigs.
3116
3117 2002-08-15 Adam Fedor <fedor@gnu.org>
3118
3119 * SSL/configure.ac: Simplified check for libraries. Added socket
3120 lib check for Solaris.
3121
3122 * Headers/gnustep/base/NSDecimalNumber.h: Add NSNumber category
3123 for decimalValue.
3124 * Source/NSDecimalNumber.m ([NSNumber -decimalValue]): Implemented.
3125
3126 2002-08-14 Richard Frith-Macdonald <rfm@gnu.org>
3127
3128 * Source/GSString.m: Allow 'true' as boolean value
3129 * Source/NSConcreteNumber.m: Output 'YES' as boolean in description.
3130 * Source/NSNotificationCenter.m: Fix dumb memory leak.
3131 * Source/NSNumber.m: Output 'YES' as boolean in description.
3132 * Source/NSUserDefaults.m: Set 'YES' as boolean string.
3133 * Headers/Foundation/NSObject.h: Fix v dumb memory leak.
3134 * Source/GSHTTPURLHandle.m: Append crlf to separate headers from body
3135 rather than just an lf.
3136 * SSL: Renamed SSL class and source file to reflect the fact
3137 that the code is not unix specific.
3138
3139 2002-08-11 Richard Frith-Macdonald <rfm@gnu.org>
3140
3141 * configure.ac: Check for libxml version 2.3.0 or greater to ensure
3142 we have xpath support.
3143 * Source/NSDecimalNumber.m: implement ([-getValue:]) and
3144 ([-initWithBytes:objCType:])
3145
3146 2002-08-09 Richard Frith-Macdonald <rfm@gnu.org>
3147
3148 * Source/NSNotificationCenter.m: ([-postNotification:]) Correct to
3149 post the actual notification we are given rather than a notification
3150 built from that one. Bug report by Alexander Malmberg.
3151
3152 2002-08-08 Richard Frith-Macdonald <rfm@gnu.org>
3153
3154 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Ensure that the
3155 string contains no dots, so it can be used as a filename under
3156 windoze.
3157 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Documented.
3158
3159 2002-08-07 Richard Frith-Macdonald <rfm@gnu.org>
3160
3161 * Source/NSString.m: ([-boolValue]) Accept 'true' as well as 'YES'
3162 * Source/NSThread.m: Modified to avoid using non-standard notification
3163 initialisation.
3164 * Source/NSNotification.m: Rewritten as abstract/cluster class for
3165 implementation compatibility with MacOS-X
3166 * Source/NSNotificationCenter.m: Modified posting to behave like the
3167 MacOS-X implementation. Implement concrete subclass of
3168 NSNotification.
3169 * Source/NSUserDefaults.m: Try to make creation of new defaults
3170 database an atomic operation.
3171 * Source/NSObject.m: Remove dealloc notifications hack ... the
3172 dealloc method can now safely be used to refrain from deallocating
3173 objects, so I don't think the hack is needed any more.
3174 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Update to ensure
3175 uniqueness across all hosts, processes, and threads.
3176 * Tools/gdomap.c: Tidyup patch by Matthias Klose
3177
3178 2002-07-29 Adam Fedor <fedor@gnu.org>
3179
3180 * Merge changes from 1.4.0 onto main branch.
3181
3182 2002-07-09 Richard Frith-Macdonald <rfm@gnu.org>
3183
3184 * Source/GSTcpHandle.m: Always use runloop in NSConnectionReplyMode
3185 to avoid other NSDefaultRunLoopMode events being triggered while
3186 executing a DO method. **EXPERIMENTAL**
3187
3188 2002-08-06 Adam Fedor <fedor@gnu.org>
3189
3190 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:):
3191 Change location of start of end char search (Patch from Pete
3192 French).
3193
3194 2002-07-27 Adam Fedor <fedor@gnu.org>
3195
3196 * Version: 1.4.0
3197
3198 2002-07-23 Adam Fedor <fedor@gnu.org>
3199
3200 * Source/NSInvocation.m ([GSFrameInvocation
3201 -initWithMethodSignature:]): Return nil if signature is nil.
3202 * Source/GSFFCallInvocation.m (-initWithMethodSignature:): Idem.
3203 * Source/GSFFIInvocation (-initWithMethodSignature:): Idem.
3204
3205 2002-07-20 Adam Fedor <fedor@gnu.org>
3206
3207 * Source/NSDecimal.m: ifdef for compiling on Darwin (report
3208 from Carl Eugen).
3209 * Source/NSInvocation.m ([-initWithSelector:): Rewrite to use
3210 designated initializer.
3211 (-initWithTarget:selector:): Idem.
3212
3213 2002-07-18 Adam Fedor <fedor@gnu.org>
3214
3215 * Tools/gdomap.c (main): Write the pidfile before switching away
3216 from root, but only if the user is root.
3217
3218 2002-07-17 Adam Fedor <fedor@gnu.org>
3219
3220 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:): Fix
3221 lineEnd and contentEnd check for \r\n (particularly at end of
3222 string.
3223
3224 Tue Jul 16 16:43:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
3225
3226 * Headers/gnustep/base/GSXML.h ([GSXMLNode -setNamespace:]): Added
3227 missing method essential to use namespaces.
3228 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Implemented.
3229
3230 2002-07-08 Richard Frith-Macdonald <rfm@gnu.org>
3231
3232 * Source/NSFileManager.m: Don't standardise path before converting to
3233 filesystem representation.
3234 * Tools/gdomap.c: Security enhancement - call setgroups().
3235
3236 2002-07-03 Adam Fedor <fedor@gnu.org>
3237
3238 * Version: 1.3.4
3239 * configure.ac: Remove warning about libffi
3240 * Documentation/news.texi: Update.
3241
3242 2002-07-03 Richard Frith-Macdonald <rfm@gnu.org>
3243
3244 * Source/Additions/GSMime.m: Ensure mime-version header appears
3245 before other headers. Fix bug in terminatimg mime data.
3246
3247 2002-07-02 Richard Frith-Macdonald <rfm@gnu.org>
3248
3249 * Tools/gdomap.c: Don't write to pidfile until *after* setuid away
3250 from root. Bug reported by James Kehl <mkehl@gil.com.au>
3251
3252 2002-07-01 Richard Frith-Macdonald <rfm@gnu.org>
3253
3254 * Source/Additions/GSMime.m: Correct test for multipart content when
3255 generating raw data. Fix by Mark Allison <mark@brainstorm.co.uk>
3256
3257 2002-06-30 Richard Frith-Macdonald <rfm@gnu.org>
3258
3259 * Headers/gnustep/base/GSFileHandle.h: New version of UnixFileHandle
3260 for combined unix/windoze use.
3261 * Source/GSFileHandle.m: New combined unix/windows implementation.
3262 * Source/NSFileHandle.m: Use GSFileHandle.
3263 * Source/GNUMakefile: Build GSFileHandle.
3264 * SSL/GSUnixSSLHandle.m: Update for combined GSFileHandle
3265
3266 2002-06-29 Richard Frith-Macdonald <rfm@gnu.org>
3267
3268 * Source/NSObject.m: ([-respondsToSelector:]) handle nul selectors.
3269 Bug report by Andy Ruder <aeruder@yahoo.com>
3270
3271 2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
3272
3273 * Source/NSString.m: Change to quote strings in plist output
3274 aggressively (quote characters that don't really need quoting)
3275 while still parsing flexibly ... ie handle unquoted strings as
3276 long as they don't contain 'special' characters.
3277 Fix for Tom Hageman <th@xs4all.nl>
3278
3279 2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
3280
3281 * Tools/AGSParser.m: ([-parseDeclaration:]) Correct wrongly
3282 positioned autorelease pool in last change. Hope that's the only
3283 one.
3284
3285 Wed Jun 26 15:32:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
3286
3287 * base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes,
3288 now should be done by gnustep-make automatically.
3289
3290 Tue Jun 25 13:31:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
3291
3292 * Tools/AGSHtml.m: Tidy up autorelease pool macros so that it
3293 compiles with gc=yes and old compilers.
3294 * Tools/AGSParser.m: Idem.
3295 * Tools/AGSOutput.m: Idem.
3296 * Tools/HTMLLinker.m: Idem.
3297 * Tools/autogsdoc.m: Idem.
3298 * Tools/gdnc.m: Idem.
3299 * Tools/gsdoc.m: Idem.
3300 * Tools/make_strings/make_strings.m: Idem.
3301
3302 Tue Jun 25 13:13:00 2002 Nicola Pero <n.pero@mi.flashnet.it>
3303
3304 * Source/Additions/GSMime.m ([-rawMimeData:]): Create the
3305 autorelease pool after the other variables, so that it compiles
3306 with gc=yes and gcc < 3.x.
3307 * Source/NSLog.m (NSLogv): Idem.
3308
3309 2002-06-23 Richard Frith-Macdonald <rfm@gnu.org>
3310
3311 * Headers/Foundation/NSFileHandle.h: add async read of specific length.
3312 * Source/NSFileHandle.m: Make the async wconvenience methods call
3313 the core ones.
3314 * Source/UnixFileHandle.m: Remove async convenience methods and add
3315 one to read specified length of data.
3316
3317 2002-06-21 Richard Frith-Macdonald <rfm@gnu.org>
3318
3319 * Source/GSMime.m: add a few consistency checks to raise an exception
3320 if we try to unparse a GSMimeDocument with inconsistent headers and
3321 content.
3322
3323 2002-06-19 Adam Fedor <fedor@gnu.org>
3324
3325 * Source/GSLocale.m (GSSetLocaleC): Only set locale for LC_CTYPE.
3326
3327 2002-06-18 Richard Frith-Macdonald <rfm@gnu.org>
3328
3329 * Source/NSURL.m: Cope with a URL where the path is missing.
3330 Check user, password, host, port parts for illegal characters.
3331 Thanks to bug report by Marco Manfredini <mldb@gmx.org>
3332 * Source/GSMime.m: add convenience method for setting document type.
3333 Fix error in recent change to base64 encoding.
3334
3335 2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
3336
3337 * Source/NSTimer.m: Retain target and user info on initialisation
3338 Release them on invalidation. Ensure timer is invalidated on
3339 deallocation. Documented timer methods.
3340 Changes based on bug report by Andy Ruder <aeruder@yahoo.com>
3341 * Source/NSURL.m: Fixed one possible nul pointer indirection,
3342 and added some comments about the internal data structure.
3343 Handle percentage escape sequences in user, password, host and port
3344 even though MacOS-X only seems to do it for the user name and host.
3345 * Tools/plmerge.m: Fixed some crasher bugs where given bad arguments.
3346
3347 2002-06-16 Richard Frith-Macdonald <rfm@gnu.org>
3348
3349 * Source/GSFTPURLHandle.m: simple implementation added
3350 * Source/NSURLHandle.m: Register GSFTPURLHandle for ftp scheme.
3351 * Source/GSHTTPURLHandle.m: modified so that data being read is
3352 reported periodically during the read proces rather than just at end.
3353
3354 2002-06-15 Adam Fedor <fedor@gnu.org>
3355
3356 * Source/NSProcessInfo.m: Include sys/fcntl for Solaris.
3357
3358 2002-06-14 Richard Frith-Macdonald <rfm@gnu.org>
3359
3360 * config/pathxml.m4: Adjust path to headers.
3361 * Tools/gsdoc.m: Adjust path to headers. Add warning about
3362 deprecation.
3363 Patch by e.sammer <eric@linuxstep.org>
3364 * Source/NSObject.m: Added some compatibility methods in a
3365 categpory of Object.
3366 * Source/Additions/GSMime.m: Add a couple of convenience methods.
3367 * Source/GSHTTPURLHandle.m: Use one of them.
3368 * SSL/Makefile.postample: on distclean, don't need to delete
3369 bundle, but do delete config.h explicitly.
3370
3371 2002-06-13 Richard Frith-Macdonald <rfm@gnu.org>
3372
3373 * Source/Additions/GSXML.m: Include NSInvocation.h to avoid
3374 compiler warning.
3375
3376 2002-06-12 Richard Frith-Macdonald <rfm@gnu.org>
3377
3378 * Source/NSObject.m: Fix a few errors which crept in to the map
3379 table based reference counting.
3380 * Examples/GNUmakefile: Permit local makefile to be missing.
3381 * Source/UnixFileHandle.m: Added outgoing SOCKS5 support.
3382 * Source/NSFileHandle.m: Added SOCKS5 documentation.
3383 * Source/Base/gsdoc: Dopcumented SOCKS enironemnet variables and defs.
3384 * Source/NSNotification.m: Made -description more informative.
3385 * Testing/call.m: Trivial test program for tcp connections.
3386 * SSL/GSUnixSSLHandle.m: Updated for socks.
3387 * Additions/GSMime.m: Utilites to encode/decode base64
3388 * Source/GSHTTPURLHandle.m: Use encoding.
3389
3390 2002-06-10 Richard Frith-Macdonald <rfm@gnu.org>
3391
3392 * Source/UnixFileHandle.m: Avoid some unnecessary autoreleases.
3393
3394 2002-06-09 Richard Frith-Macdonald <rfm@gnu.org>
3395
3396 * Source/NSObject.m: Implemented and documented -className
3397 * Tools/AGSOutput.m: When Verbose = YES log all documentable
3398 entities for which no comment text was found.
3399 * Source/NSException.m: Added NSParseErrorException and tidied other
3400 general exceptions.
3401 * Source/extern.m: Removed generic exceptions ... now in NSException.m
3402
3403 2002-06-06 Adam Fedor <fedor@gnu.org>
3404
3405 * Source/cifframe.m (cifframe_from_info): Set value locations
3406 after prepping cifframe.
3407
3408 2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
3409
3410 * Source/NSLog.m: patch by Jeff Teunissen to avoid adding date/time
3411 info when using syslog.
3412 * Source/NSURL.m: Fix loading codde to set self as client of handle.
3413 * Tools/AGSParser.m: Fix to avoid warnings about unimplemented protocols
3414 * Headers/gnustep/base/GSXML.h:
3415 * Headers/gnustep/base/NSArchiver.h:
3416 * Headers/gnustep/base/NSAutoreleasePool.h:
3417 * Headers/gnustep/base/NSCoder.h:
3418 * Headers/gnustep/base/NSDictionary.h:
3419 * Headers/gnustep/base/NSFileHandle.h:
3420 * Headers/gnustep/base/NSNotification.h:
3421 * Headers/gnustep/base/NSRunLoop.h:
3422 * Headers/gnustep/base/NSURL.h:
3423 * Headers/gnustep/base/NSURLHandle.h:
3424 * Source/GSHTTPURLHandle.m:
3425 * Source/NSArray.m:
3426 * Source/NSCoder.m:
3427 * Source/NSFileHandle.m:
3428 * Source/NSNotification.m:
3429 * Source/NSRunLoop.m:
3430 * Source/NSURLHandle.m:
3431 * Source/NSUnarchiver.m:
3432 * Source/externs.m:
3433 * Source/Additions/GSXML.m:
3434 Tidied for documentation purposes ... no substantial code changes
3435
3436 Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
3437
3438 * Source/NSLog.m (_NSLog_standard_printf_handler): Fixed
3439 syslogging of strings: add a NULL at the end of strings before
3440 feeding them to syslog.
3441
3442 2002-06-05 Richard Frith-Macdonald <rfm@gnu.org>
3443
3444 * Headers/Foundation/NSURL.h: Added a couple of ivars and removed
3445 non-standard methods.
3446 * Source/NSURL.m: Rewrite everything apart from the code dealing
3447 with NSURLHandle objects (and change some of that) to conform to
3448 the documentation (I hope) and to try to match behavior with that
3449 of MacOS-X.
3450
3451 2002-06-04 Adam Fedor <fedor@gnu.org>
3452
3453 * Headers/gnustep/base/NSByteOrder.h: Hack for bug in gcc 3.1
3454 * Source/externs.m (_gcc3_1_hack): Idem. (modified patch from
3455 benhur@inf.ufsm.br).
3456
3457 * Source/GSFFIInvocation.m (gs_objc_msg_forward): Alloc closure
3458 with fastMallocBuffer.
3459
3460 * Documentation/coding-standards.texi: Update.
3461
3462 2002-06-02 Richard Frith-Macdonald <rfm@gnu.org>
3463
3464 * Headers/Foundation/NSObject.h: Removed ([_dealloc]),
3465 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3466 * Source/NSObject.m: Removed ([_dealloc]),
3467 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3468 as these methods are no longer necessary now that the dealloc method
3469 itsself is able to refrain from performing deallocation if if wishes
3470 (the retain count mechanism can no longer reach a zero retain count).
3471
3472 2002-06-01 Richard Frith-Macdonald <rfm@gnu.org>
3473
3474 * Source/NSObject.m: Change NSDecrementExtraRefCountWasZero() to
3475 refrain from decrementing when the count is zero. Documented
3476 the retain/release/retainCount methods (and others).
3477 * Headers/Foundation/NSObject.h: Documented extra ref count functions.
3478
3479 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3480
3481 * Source/NSObject.m: Change order of zombie initialisation for
3482 darwin port.
3483
3484 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3485
3486 * Headers/gnustep/base/GSMime.h: Make set... methods return void.
3487 * Source//GSMime.m: Make set... methods return void. Also fix
3488 parsing to use different 'specials' for HTTP and MIME
3489 * Headers/gnustep/base/GSIMap.h:
3490 * Headers/gnustep/base/NSHashTable.h:
3491 * Headers/gnustep/base/NSMapTable.h:
3492 * Source/GSArray.m:
3493 * Source/GSSet.m:
3494 * Source/GSTcpPort.m:
3495 * Source/NSBundle.m:
3496 * Source/NSConnection.m:
3497 * Source/NSData.m:
3498 * Source/NSHashTable.m:
3499 * Source/NSMapTable.m:
3500 * Source/NSObject.m:
3501 * Source/NSRunLoop.m:
3502 Applied patches by James Knight, to improve memory efficiency and
3503 insertion.deletion speed to hash and map tables. Also fixes for
3504 some GC problems.
3505 Fixed minor problem in patch, and added code to call functions to
3506 clean up after hash and map enumerations. Modified cleanup function
3507 to clear enumerator ... for memory release on GC system.
3508 Rewrote enumeration code so that it maintains the characteristic
3509 that objects can safely be removed from maps after being enumerated
3510 (this feature is used in several places).
3511 *WARNING* This introduces a binary incompatibility in that the size
3512 of the map table and hash table enumeration types has grown.
3513 If you have binaries which use the NSEnumerateHashTable() or the
3514 NSEnumeratemapTable() functions, you need to rebuild them.
3515
3516 2002-05-27 Richard Frith-Macdonald <rfm@gnu.org>
3517
3518 * Headers/Foundation/GSMime.h: Tidy up and add convenience methods.
3519 * Source/Additions/GSMime.m: Tidy up and add convenience methods.
3520 Added methods to convert content between string and data for ease
3521 of use from java. Added support for most character sets handled
3522 by GNUstep-base. Improved ContentID generation to be both unlikely
3523 to recur, and to be guaranteed unique within a process.
3524 * Source/NSBundle.m: ([+allBundles]) Don't enumeraste if map table
3525 has not been created yet.
3526 * Source/NSLog.m: Allow output descriptor to be changed.
3527 * Source/NSProcessInfo.m: Add method to change log output to go to
3528 another file for applications where stderr has been hijacked.
3529
3530 2002-05-26 Fred Kiefer <FredKiefer@gmx.de>
3531
3532 * Source/Additions/GSXML.m
3533 Define GSXMLAttribute in the case when libxml is found.
3534 Otherwise it wont compile on MS Windows.
3535
3536 2002-05-26 Richard Frith-Macdonald <rfm@gnu.org>
3537
3538 * Headers/Foundation/GSMime.h: Add GSMimeHeader class.
3539 * Source/Additions/GSMime.m: Add GSMimeHeader class.
3540 Update API to use GSMimeheaders rather than dictionaries.
3541
3542 2002-05-23 Richard Frith-Macdonald <rfm@gnu.org>
3543
3544 * Source/Additions/GSXML.m: Fix a few errors in last changes.
3545 * Source/NSString.m: Updates for GSXML changes.
3546 * Tools/AGSHtml.m: Updates for GSXML changes.
3547 * Tools/AGSIndex.m: Updates for GSXML changes.
3548
3549 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3550
3551 * Headers/gnustep/base/GSXML.h: Add _parent ivars
3552 * Source/Additions/GSXML.m: Implement memory mangement so that the
3553 underlying libxml data is not freed unless all objects derived from
3554 it have been deallocated. Remove comments warning about original
3555 memory management scheme.
3556
3557 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3558
3559 * Source/GSeq.h: Fix bug matching sequences with zero length range.
3560 * Headers/gnustep/base/GSMime.h: Tell autogsdoc where to look for source
3561 * Headers/gnustep/base/GSXML.h: Updates for consistency etc.
3562 * Source/Additions/GSXML.m: ditto
3563 * Tools/AGSHtml.m: Modified for changed GSXML
3564 * Tools/AGSIndex.m: ditto
3565 * Tools/AGSParser.m: ditto
3566 * Tools/autogsdoc.m: ditto
3567 * Tools/defaults.m: Fixed typo
3568 Mostly, changes to make methods which were intended to be private
3569 really private, and lots of modifications to make mathod names
3570 consistent with OpenStep usage ... suggestions made by many people.
3571 * configure.ac: Use better names for GMP and ZLIB flags
3572 * configure: regenerate
3573 * Headers/gnustep/base/GSConfig.h.in: GMP and ZLIB update
3574 * Headers/gnustep/base/NSDecimal.h: GMP update
3575 * Headers/gnustep/base/UnixFileHandle.h: ZLIB update
3576 * Source/NSDecimal.m: GMP update
3577 * Source/UnixFileHandle.m: ZLIB update
3578
3579 2002-05-15 Richard Frith-Macdonald <rfm@gnu.org>
3580
3581 * Source/NSLog.m: Altered logging format for compatibility with
3582 MacOS-X (and easier collating). Thanks to report by lcampbell
3583
3584 2002-05-14 Richard Frith-Macdonald <rfm@gnu.org>
3585
3586 * Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
3587 that returned memory is allocated from specified zone, rather than
3588 returning internal buffer.
3589 * Tools/AGSIndex.m: When a string missmatch is found when merging,
3590 update the output to the new string as well as warning.
3591 * Tools/autogsdoc.m: Don't automatically include refs to installed
3592 copies of the project being documented.
3593
3594 2002-05-13 Richard Frith-Macdonald <rfm@gnu.org>
3595
3596 * Source/NSFileManager.m: Don't try to release memory using free()
3597 when it was allocated using NSZoneMalloc().
3598 * Tools/autogsdoc.m: Improve dependency rule management.
3599 * Tools/AGSParser.h: ditto
3600 * Tools/AGSParser.m: ditto
3601 * Tools/AGSIndex.h: ditto
3602 * Tools/AGSIndex.m: ditto
3603 Store all dependency information in the .igsdoc file and keep it up
3604 to date. Never regenerate a file that doesn't need it.
3605 Mostly the changes are to cope with the fact that we now have
3606 common files into which all functions, constants, variables, and
3607 typedefs within a project are combined.
3608
3609 2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
3610
3611 * Source/Unicode.m: Rationalise so that all conversion operations
3612 go through the two new functions. Gets rid of a load of old code.
3613 * Source/GSString.m: ([-replaceCharactersInRange:withString:])
3614 minor performance enhancement when copying from a 16-bit string
3615 to an 8-bit string.
3616
3617 2002-05-10 Adam Fedor <fedor@gnu.org>
3618
3619 * Source/Additions/GSXML.m: Change libxml strings to UTF8
3620 (makeText:) New.
3621 Add GSXMLDummy for MinGW
3622 * Source/Additions/libgnustep-base.def: Remove GSXMLHandler.
3623 (patch from Kai Henningsen).
3624
3625 2002-05-10 Richard Frith-Macdonald <rfm@gnu.org>
3626
3627 * Tools/gdnc.m: Make gdnc log to syslog by default, and close
3628 stdin, stdout, stderr to run as daemon.
3629 * Source/NSUser.m: Restructured path generation code slightly.
3630 Added support for system-wide .GNUsteprc with force options.
3631 Removed use of FORCE_USER_ROOT and FORCE_DEFAULTS_ROOT
3632 * Source/Base/gsdoc: Document the .GNUsteprc files.
3633 * Source/NSArray.m: Fix bug with GC pointed out by James Knight
3634
3635 2002-05-09 Richard Frith-Macdonald <rfm@gnu.org>
3636
3637 * Source/GSHTTPURLHandle.m: Insert port information to URL passed
3638 to proxy.
3639
3640 2002-05-09 Fred Kiefer <FredKiefer@gmx.de>
3641
3642 * Source/NSBundle.m
3643 Use fileSystemRepresentation instead of cString to get the file
3644 name to load.
3645
3646 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3647
3648 * Source/NSTask.m: When launching under windoze, don't forget to
3649 use the fileSystemRepresentation of the program name.
3650
3651 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3652
3653 * Source/Additions/GSXML.m: Fix function prototype ... gets rid of
3654 compiler warning.
3655 * Source/GNUmakefile: remove o_vscanf.c ... unused
3656 * Source/o_vscanf.c: remove unused file.
3657 * Source/mframe.m: Fix compiler warning about unused function.
3658 * Source/GSFormat.m: Fix compiler warning about unused var.
3659 * Source/NSDebug.m: Fix compiler warning about unused var.
3660 * Source/externs.m: Fix compiler warnings ... move some exceptions
3661 to source files relating to where they are declared.
3662 * Source/NSArchiver.m: define exception.
3663 * Source/NSConnection.m: define exception.
3664 * Source/NSPort.m: define exception.
3665 * Tools/gdomap.c: Remove unused variable (log_perror).
3666
3667 2002-05-07 Adam Fedor <fedor@gnu.org>
3668
3669 * configure.ac: Make all AC_DEFINES define 1
3670 * config/objc-con-autoload.m4: Idem.
3671 * config/objc-sys-dynamic.m4: Idem.
3672
3673 2002-05-07 Richard Frith-Macdonald <rfm@gnu.org>
3674
3675 * Source/NSUser.m: mingw path fixes and debugging
3676 * Source/NSFileManager.m: ditto
3677
3678 2002-05-06 Adam Fedor <fedor@gnu.org>
3679
3680 * Source/NSMethodSignature.m (-isEqual:): Implemented (from
3681 znek@mulle-kybernetik.com).
3682
3683 2002-05-06 Richard Frith-Macdonald <rfm@gnu.org>
3684
3685 * Source/NSMapTable.m: Delete line teft over by accident ... could
3686 cause crach if passes nul table. Thanks to Lars Sonchocky-Helldorf
3687 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:]) don't
3688 supply current date information as default ... for compatibility
3689 with MacOS-X use zero date instead. Thanks to lcampbell.
3690
3691 2002-05-04 Adam Fedor <fedor@gnu.org>
3692
3693 * Testing/nsbundle.m: Update to work without installing bundle.
3694
3695 2002-05-04 Richard Frith-Macdonald <rfm@gnu.org>
3696
3697 * Source/NSUser.m: NSHomeDirectoryForUser() ... fix windoze bug ...
3698 was returning the current users home directory irrespective of the
3699 user asked for. Now returns nil for other users ... should really
3700 find some mechanism to determine home directories for other users.
3701 * Source/Additions/GSXML.m: If ([_parseChunk:]) is called with nil
3702 data, terminate parsing. Report by Alexander Malmberg.
3703
3704 2002-05-03 Richard Frith-Macdonald <rfm@gnu.org>
3705
3706 * Source/NSAssertion.m: Added comments and fixed bug in handling
3707 an assertion in a function ... was calling va_end() before the last
3708 use of the arguments. Also, release new handler after adding it to
3709 thread dictionary ... fix memory leak.
3710 * Source/NSThread.m: Add fprintf of alert message to STDERR if we
3711 are unable to determine the current thread. Don't attempt to use
3712 NSLog() or similar ... since chances are, without a thread object,
3713 that would just crash.
3714 In GSRegisterCurrentThread(), add code to handle the case where the
3715 NSThread class has not been initialised.
3716 * Source/NSObject.m: NSAllocateObject() raise exception if passed
3717 something other than a class to allocate an instance of.
3718
3719 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3720
3721 * SSL/GSUnixSSLHandle.m: Change '#if HAVE...' to '#ifdef HAVE_...'
3722 * Source/GSFormat.m: ditto
3723 * Source/GSHTTPURLHandle.m: ditto
3724 * Source/GSTcpPort.m: ditto
3725 * Source/NSBundle.m: ditto
3726 * Source/NSData.m: ditto
3727 * Source/NSDate.m: ditto
3728 * Source/NSFileManager.m: ditto
3729 * Source/NSHost.m: ditto
3730 * Source/NSLock.m: ditto
3731 * Source/NSLog.m: ditto
3732 * Source/NSPage.m: ditto
3733 * Source/NSPipe.m: ditto
3734 * Source/NSProcessInfo.m: ditto
3735 * Source/NSRunLoop.m: ditto
3736 * Source/NSString.m: ditto
3737 * Source/NSTask.m: ditto
3738 * Source/NSThread.m: ditto
3739 * Source/NSUser.m: ditto
3740 * Source/UnixFileHandle.m: ditto
3741 * Source/WindowsFileHandle.m: ditto
3742 * Tools/gsdoc.m: ditto
3743 * Tools/autogsdoc.m: ditto
3744 Fixes to handle configuration changes where AC_DEFINE is setting
3745 preprocessor constants to be empty (but defined) rather than to be 1
3746
3747 2002-05-02 Adam Fedor <fedor@gnu.org>
3748
3749 * configure.ac: Updated to autoconf 2.53 from configure.in
3750 * configure, config.h.in: Regenerate.
3751 * Source/mframe/configure.ac: Idem.
3752 * SSL/configure.ac: Idem.
3753 * acconfig.h, aclocal.m4: Remove
3754 * config/pathxml.m4: New from aclocal.m4.
3755 * config/objc-con-autoload.m4: Updated from aclocal.m4
3756 * config/procfs-exe-link.m4: Idem.
3757 * config/procfs.m4: Idem.
3758
3759 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3760
3761 * Source/NSURLHandle.m: Implement ([-hash]) and ([-isEqual:]) based on
3762 ([-absoluteString]) rather than simple pointer comparison.
3763 * Source/GSHTTPURLHandle.m: ([-bgdConnect]) check for existing
3764 headers before writing ... avoid overriding them and only set things
3765 that the programmer has not bothered to set.
3766 ([-loadInBackGround]) use URL port if available.
3767 More fixes thanks to lcampbel via savannah
3768 * Headers/Foundation/NSURLHanlde.h: include NSObject.h
3769 * Source/UnixFileHadle.h: add missing semicolon thanks to Paul Windey
3770
3771 2002-05-01 Richard Frith-Macdonald <rfm@gnu.org>
3772
3773 * Source/NSURLHandle.m: ([URLHandleClassForURL:]) Fix to return most
3774 recently registered class rather than first registered one.
3775 Bug report via savannah
3776
3777 2002-04-30 Adam Fedor <fedor@gnu.org>
3778
3779 * Version: 1.3.2
3780 * Documentation/news.texi: Update.
3781 * NEWS Regen.
3782
3783 2002-04-29 Richard Frith-Macdonald <rfm@gnu.org>
3784
3785 * Source/NSFileManager.m: Standardise handling for windoze drive
3786 specifiers in file paths.
3787 * Source/NSUser.m: Use ([-stringWithFileSystemRepresentation:length:])
3788 when importing file names.
3789 * Source/NSString.m: Update all path handling methods for windoze
3790 changes. Fix several bugs where we did not conform to documentation.
3791
3792 2002-04-28 Richard Frith-Macdonald <rfm@gnu.org>
3793
3794 * Source/NSFileManager.m: Port
3795 ([-stringWithFileSystemRepresentation:length:]) to windoze...
3796 Have it convert backslashes to slashes etc.
3797
3798 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3799
3800 * Tools/AGSParser.m: Improve handling of identifier mapping so that
3801 an identifier mapped to an empty string (or //) an any place where
3802 whitespace is permissable is treated as part of that white space.
3803
3804 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3805
3806 * Tools/AGSParser.m: Interpret a mapping to '//' in the WordMap as
3807 meaning that the rest of the line containing the mapped value
3808 should be ignored.
3809
3810 2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com>
3811
3812 * Tools/make_strings/GNUmakefile - modified to prevent build
3813 error when building from scratch
3814 * Tools/make_strings/GNUmakefile.preamble - added to provide
3815 paths to include and lib directories for linking make_strings
3816 tool when building from scratch.
3817
3818 2002-04-23 Adam Fedor <fedor@gnu.org>
3819
3820 * Source/GSFFIInvocation.m
3821 (-initWithCallback:returnp:values:frame:signature:): Simplify
3822 setting values. Structs passed by ref when MFRAME_STRUCT_BYREF.
3823 (GSFFIInvokeWithTargetAndImp): Encoding values unneedded now.
3824 (gs_objc_msg_forward): Free the closure via NSData.
3825
3826 * Source/mframe/powerpc/generic: Fix offset for structs.
3827 * Source/mframe/powerpc/linux-gnu: Idem.
3828 * Source/mframe/powerpc/darwin: Idem.
3829
3830 2002-04-22 Adam Fedor <fedor@gnu.org>
3831
3832 * Tools/gdomap.c (gdomap_log): For LOG_INFO, write to 1, not 0.
3833
3834 * Tools/make_strings: New tool from Alexander Malmberg
3835 <alexander@malmberg.org>
3836
3837 * Source/Additional/Makefile.preamble (ADDITIONAL_OBJCFLAGS):
3838 Add for building DLL on mingw32
3839
3840 2002-04-20 Richard Frith-Macdonald <rfm@gnu.org>
3841
3842 * Source/NSURL.m: ([-absoluteString]) anonymous bugfix applied.
3843
3844 2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
3845
3846 * Tools/gdnc.m: If given -NSHost specification for the current host,
3847 ignore it and use the standard name.
3848 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3849 at end ... so handles can find this port when they are destroying
3850 themselves. Reverses last change I made to this.
3851
3852 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3853
3854 * SSL/COPYING.LIB: New file ... just to make it *REALLY* obvious
3855 this code is under the LGPL
3856
3857 2002-04-18 Adam Fedor <fedor@gnu.org>
3858
3859 * Minimally working libffi support. Needs work.
3860 * configure.in: Allow libffi to be enabled.
3861 * Source/GSFFIInvocation.m: Rewrite.
3862 * Source/NSConnection.m (-forwardInvocation:forProxy:): Add libffi
3863 function.
3864 * Source/NSInvocation.m: Fixup cifframe arg functions.
3865 * Source/cifframe.m: Rewrite.
3866 * Testing/nsinvocation.m: Bug fix.
3867
3868 * Documentation/coding-standards.texi: Remove info dir tag.
3869 * Documentation/gnustep-base.texi: Idem.
3870 * Resources/Languages/Slovak: New file (from Stefan Urbanek).
3871
3872 Thu Apr 18 11:10:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
3873
3874 * Headers/gnustep/base/NSObjCRuntime.h: Updated #defines and
3875 Windows DLL export/import machinery to the new gnustep-make
3876 conventions.
3877
3878 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3879
3880 * Tools/gdomap.c: re-order headers so config.h is used on windoze
3881 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
3882 modified to handle MSYS paths with '/drive/' prefix.
3883 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3884 at start, so flag gets set to say we are not valid, and we avoid any
3885 recursive calls.
3886
3887 2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
3888
3889 * config/config.reuseaddr.c: New test for broken SO_REUSEADDR
3890 * configure.in: test for broken SO_REUSEADDR
3891 * acconfig.h: Add BROKEN_SO_REUSEADDR
3892 * configure: regenerated
3893 * Source/UnixFileHandle.m: Use reuseaddr info.
3894 * Source/GSTcpPort.m: Use reuseaddr info.
3895 * Tools/gdomap.c: Use reuseaddr info.
3896 * Source/NSPortNameServer.m: Improved warnings about launching
3897 gdomap.
3898 * Source/NSDistributedNotification.m: Improved warnings about
3899 launching gdnc.
3900 * Source/NSException.m: Log uncaught exceptions with executable name.
3901 * Source/NSProcessInfo.m: New private function for exception msg.
3902 * Source/GSString.m: Applied fix by Malexander Malmberg for
3903 transmuting strings where the default encoding is not the same as
3904 the internal 8-bit encoding.
3905 * Source/Unicode.m: Logic fix for selecting strict conversion from
3906 unicode by Alexander Malmberg.
3907
3908 2002-04-12 Richard Frith-Macdonald <rfm@gnu.org>
3909
3910 * Source/Additions/GSXML.m: New method ([-nextElement]) to traverse
3911 tree skipping non-element nodes. Also ([-childElement]) to get the
3912 first child element of a node.
3913
3914 Thu Apr 11 15:34:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
3915
3916 * Source/GSAttributedString.m ([GSMutableAttributedString
3917 -sanity]): Renamed to -_sanity, and changed so that we always
3918 compile this in so that regression testcases can use it.
3919
3920 2002-04-08 Richard Frith-Macdonald <rfm@gnu.org>
3921
3922 * Resources/GNUmakefile: install new language files.
3923 * Resources/Languages/Russion: language file added.
3924 * Resources/Languages/UkraineRussion: language file added.
3925 Added language files provided by Serg Stoyan <stoyan@on.com.ua>
3926 * Source/UnixFileHandle.m: Permit accept/connect on descriptors
3927 by default.
3928 * Source/WindowsFileHandle.m: ditto
3929 * Headers/Foundation/NSProcessInfo.h: Added MacOS-X operating system
3930 methods and enum
3931 * Source/NSProcessInfo.m: Added operating system methods and documented
3932 all methods for autogsdoc.
3933
3934 2002-04-07 Richard Frith-Macdonald <rfm@gnu.org>
3935
3936 * Source/GSString.m: Tidy initialisers for case where the default
3937 C-string encoding is not usable internally.
3938 * Source/NSLog.m: Try default cString encoding.
3939 * Tools/cvtenc.m: Add -EscapeIn and -EscapeOut flags to handle \u
3940 escapes in files.
3941 * Resources/Languages/Italian: Correct to use \u escapes
3942 * Resources/Languages/French: ditto.
3943 * Resources/Languages/German: ditto.
3944 * Resources/Languages/README: New file to tell editors that they
3945 should use \u escapes ... and suggesting use of the cvtenc tool
3946 to make the job easy.
3947
3948 2002-04-06 Richard Frith-Macdonald <rfm@gnu.org>
3949
3950 * Source/NSString.m: Fix error in unicode BOM handling
3951 Write plist unicode escapes using the conventional \u rather than \U,
3952 but read in either form.
3953 * Source/GSString.m: Fix error in length of unicode data produced.
3954 * Tools/cvtenc.m: Made easy to use and added instructions.
3955
3956 Sat Apr 6 02:42:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
3957
3958 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Fixed
3959 typo, gnustep_local_root being used instead of gnustep_user_root
3960 for developer dirs in user root.
3961
3962 2002-04-05 Richard Frith-Macdonald <rfm@gnu.org>
3963
3964 * Source/NSObject.m: Fix locking bug with NSZombie ... was not
3965 locking when adding/removing zombies.
3966 * Source/NSString.m: Fix property list parsing code to raise
3967 exceptions on failure rather than logging messages. Also check for
3968 extra data at end of parsed string.
3969 * Tools/ctvenc.m: new tool for converting string encodings.
3970
3971 2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com>
3972
3973 * Tools/gsdoc.m: corrected inversed test for missing entities
3974
3975 2002-03-27 Richard Frith-Macdonald <rfm@gnu.org>
3976
3977 * Source/GSPrivate.h: Added function to fetch boolean value from env
3978 * Source/NSException.m: Use new function.
3979 * Source/NSProcesInfo.m: Implement new function.
3980 * Source/NSObject.m: Implement NSZombie functionality.
3981 * Headers/Foundation/NSDebug.h: Document NSZombie functionality.
3982
3983 2002-03-25 Richard Frith-Macdonald <rfm@gnu.org>
3984
3985 * Source/NSTask.m: Implement code to watch for child process exit
3986 under mingw and rewrite various methods to handle process
3987 termination nicely under windoze.
3988 * Source/NSException.m: flush stderr ... under windoze stderr is
3989 not automatically flushed!
3990 * Source/GSWindowsFileHandle.m: watch for exceptional conditions
3991 so we can handle socket connection failures in mingw32.
3992 Added code to try to cope with standard files properly, not just
3993 network sockets.
3994 * Source/GSTcpPort.m: ditto.
3995 * Source/Unicode.m: GSToUnicode(), GSFromUnicode(), if terminate
3996 option is specified, always produce output with a nul terminator
3997 even for input of an empty string.
3998
3999 2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
4000
4001 * SSL/GNUmakefile: Remove -lobjc and -lgnustep-base from bundle
4002 libraries ... it should not need them.
4003
4004 2002-03-21 Richard Frith-Macdonald <rfm@gnu.org>
4005
4006 * Source/NSArray.m: Ensure property-list read/write uses UTF8
4007 * Source/NSDictionary.m: ditto
4008 * Source/NSConnection.m: Change timeouts to 300 seconds and
4009 document all methods.
4010
4011 2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
4012
4013 * Source/GSString.m: lossyCString_u() handle case where cString
4014 contains more bytes than unicode string has characters.
4015 * Tools/gdomap.c: Suppress unnecessary warnings except under debug.
4016 Implement spawning to run as daemon under windoze.
4017 * Toolds/gdnc.m: Run as daemon under windoze.
4018 * Source/GSTcpPort.m: Fix to stop multiple servers trying to use
4019 the same port under windoze.
4020 * Source/WindowsFileHandle.m: Fix to stop multiple servers trying to use
4021 the same port under windoze. Fix to return gdomap port even if
4022 getservbyname() doesn't.
4023 * Source/UnixFileHandle.m: Fix to return gdomap port even if
4024 getservbyname() doesn't.
4025 * Source/NSTask.m: Try appending .exe extension to paths under windoze.
4026 * Source/Unicode.m: GSFromUnicode() fix lossy conversion for cases
4027 where output encoding can't handle the unicode.
4028
4029 2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
4030
4031 * Source/GSString.m: lossyCString_c() fix in line with recent
4032 changes ... cope with case where internal coding is not same as
4033 external coding.
4034 lossyCString_u() fix encoding used.
4035
4036 2002-03-18 Adam Fedor <fedor@gnu.org>
4037
4038 * Tools/gdomap.c (gdomap_log): Write to stdout if prio=LOG_INFO.
4039
4040 2002-03-18 Richard Frith-Macdonald <rfm@gnu.org>
4041
4042 * Source/Unicode.m: Some boundary error fixes by Alexander Malmberg.
4043 Fixes to encoding table initialisation.
4044 * Source/NSString.m:Fix error in encoding type for initialising from
4045 data. By Alexander Malmberg.
4046 * Source/GSString.m: Correct string length when transmuting an 8-bit
4047 string to a 16-bit string - by Alexander Malmberg.
4048
4049 2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4050
4051 * Source/GSAttributedString.m
4052 ([GSMutableAttributedString -replaceCharactersInRange:withString:]):
4053 Only keep attribute #0 when removing it would remove all attributes.
4054 (patch by Alexander Malmberg)
4055
4056 2002-03-16 Adam Fedor <fedor@gnu.org>
4057
4058 * configure.in: Also configure SSL.
4059
4060 2002-03-16 Richard Frith-Macdonald <rfm@gnu.org>
4061
4062 * Headers/gnustep/base/Unicode.h: Add more options for character
4063 encoding conversion routines.
4064 * Source/GSPrivate.h: Add a couple of private functions for character
4065 encoding management.
4066 * Source/GSString.m: Convert throughoput to use new functions for
4067 converting from one string encoding to another. Make changes to
4068 handle setting of default C string encoding to be an encoding which
4069 is incompatible with internal e-bit string objects.
4070 * Source/NSString.m: ditto
4071 * Source/Unicode.m: new string encoding conversion functions extended
4072 with a few new options. Also fixed some memory allocation bugs to
4073 cure memory leaks.
4074
4075 Rewritten low level support for different character encodings ...
4076 should provide more efficient and maintainable conversion between
4077 encodings and permit use of wide character encodings and encodings
4078 with multibyte sequences as the default C string encoding.
4079 Testing ... minimal ... we could do with decent tests for this stuff.
4080 So this version must be viewed as possibly very unstable!
4081
4082 2002-03-14 Adam Fedor <fedor@gnu.org>
4083
4084 * Version: 1.3.0
4085 * Documentation/install.texi, readme.texi, ...: Updated
4086
4087 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4088
4089 * Source/NSString.m; Bug report by Manuel Guesdon prompted me to
4090 rewrite string trimming extensions. All the tail end trimming
4091 was wrong.
4092 * Source/Unicode.m: Added two new conversion functions ... untested.
4093 The intention is to replace other string conversion with these ones
4094 which should localise memory management issues.
4095
4096 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4097
4098 * Tools/gdomap.c: Tidy a little ... fix non-static declarations.
4099 * Source/NSString.m: ([-initWithData:encoding:]) Correct the length
4100 of the string produced when unicode data is missing its 2 byte
4101 prefix. Simplification of code based on suggestion by Yen-Ju Chen
4102 * Source/GSString.m: Fixes for cString infor from unicode by
4103 Yen-Ju Chen.
4104
4105 Wed Mar 13 16:55:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
4106
4107 * Source/Additions/GSXML.m ([GSSAXHandler
4108 -externalSubset:externalID:ystemID:]): Fixed typo, 'ystemID:'
4109 instead of 'systemID:'.
4110
4111 2002-03-13 Adam Fedor <fedor@gnu.org>
4112
4113 * Tools/gdomap.c (log): Redefine to gdomap_log to avoid conflict
4114 with syslog function on Darwin.
4115
4116 * Source/NSProcessInfo.m (main): Use STRINGIFY to get proper
4117 name of constant string class.
4118
4119 2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
4120
4121 * Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
4122 * Headers/gnustep/base/NSString.h: Remove private class declaration
4123 and hide internals of NXConstantString behind dummy interface while
4124 improving comments. Fix long overdue declaraction of methods in
4125 clsses rather than protocols.
4126 * Source/GSUserDefaults.h: removed
4127 * Source/GSPrivate.h: added
4128 * Source/GSCompatibility.m: fix for hidden private info.
4129 * Source/GSString.m: ditto
4130 * Source/NSArray.m: ditto
4131 * Source/NSCalendarDate.m: ditto
4132 * Source/NSDate.m: ditto
4133 * Source/NSDecimalNumber.m: ditto
4134 * Source/NSDictionary.m: ditto
4135 * Source/NSLog.m: ditto
4136 * Source/NSObjCRuntime.m: ditto
4137 * Source/NSScanner.m: ditto
4138 * Source/NSSerializer.m: ditto
4139 * Source/NSString.m: ditto
4140 * Source/NSUser.m: ditto
4141 * Source/NSUserDefaults.m: ditto
4142 General tidyups to hide some internal workings which should really
4143 not be exposed in public headers.
4144
4145 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4146
4147 * NSTimeZones/NSTimeZones.tar: regenerated with latest data.
4148
4149 2002-03-12 Adam Fedor <fedor@gnu.org>
4150
4151 * Headers/gnustep/base/NSString.h: Add extra ivars needed by Darwin
4152 to NXConstantString.
4153 * Source/GSString.m: ([NXConstantString +initialize]): Remove constant
4154 string class reference setup for Darwin.
4155 * Source/NSProcessInfo.m (main): Put it here.
4156
4157 Tue Mar 12 11:13:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
4158
4159 * Source/Additions/GSXML.m ([-isEqualTo:]): Renamed everywhere to
4160 isEqual:
4161
4162 Tue Mar 12 09:21:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
4163
4164 * Source/NSAssertionHandler.m
4165 ([-handleFailureInMethod:object:file:lineNumber:description:]): Log
4166 if the object is a class or an instance.
4167
4168 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4169
4170 * SSL/configure.in: Check GNUstep directories for headers and
4171 libraries as well as standard system directories.
4172
4173 Tue Mar 12 07:37:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
4174
4175 * Source/Additions/GSXML.m ([GSXMLNode -properties]): Fixed return
4176 type.
4177
4178 2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
4179
4180 * Headers/gnustep/base/NSInvocation.h:
4181 * Headers/gnustep/base/NSNumberFormatter.h:
4182 * Headers/gnustep/base/NSObject.h:
4183 Minor fixes to build with STRICT_OPENSTEP
4184 * Source/NSDistributedNotificationCentre.m: Attempt to start server
4185 automatically for other machines. Improve log messages.
4186
4187 Sat Mar 9 15:21:04 2002 Adam Fedor <fedor@yogi.doc.com>
4188
4189 * Source/NSDistributedNotificationCenter.m (-_connect): Move check
4190 for alternative name so we can get registered.
4191
4192 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4193
4194 * Source/NSDistributedNotificationCentre.m: Try alternative name for
4195 server if NSHost is specified ...in case it is running on another host.
4196
4197 Sat Mar 9 12:02:45 2002 Adam Fedor <fedor@yogi.doc.com>
4198
4199 * configure.in: Change constant string to FooConstantString
4200 * config/config.constant-string-class.m: Work with NeXT_RUNTIME
4201 (patch from Markus Hitter [mah@jump-ing.de]).
4202
4203 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4204
4205 * Source/NSFileManager.m: Change copy so that, if the source argument
4206 is a symbolic link, we copy the link rather than the thing it points
4207 to.
4208 * Tools/gdnc.m: Quick hack to register port with other names is NSHost
4209 is used.
4210
4211 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4212
4213 * Source/Unicode.m: Added BIG5 encoding
4214 * Headers/Foundation/NSString.h: Added BIG5 encoding
4215 * Resources/Languages/Locale.aliases: added traditional chinese
4216 Extensions for traditional chinese requested by Yen-Ju Chen
4217
4218 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4219
4220 * Source/Additions/GNUmakefile: Include ../../base.make
4221 * SSL/GNUmakefile: Include ../base.make
4222 from the makefiles directory for builting standalone.
4223 * Source/Unicode.m: Added some standard string handling for iconv.
4224 * Source/NSString.m: ([-initWithData:encoding:]) return nil on
4225 failure to handle encoding.
4226 * Source/NSMapTable.m: NSMapInsert() fixed to conform to spec.
4227 * Source/NSHashTable.m: NSHashInsert() fixed to conform to spec.
4228 Reports by Alexander Malmberg
4229
4230 2002-03-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4231
4232 * Source/NSRunLoop.m ([NSRunLoop -acceptInputForMode:]):
4233 added a _checkPerformes: call to solve minor issue.
4234 (performers would only be called after an event was received)
4235 (credits to Alexander Malmberg)
4236
4237 2002-03-07 Richard Frith-Macdonald <rfm@gnu.org>
4238
4239 * SSL/Makefile.posramble: store config.h in system specific subdir.
4240 * SSL/Makefile.preamble: Include headers from Source directory
4241 so we pick up GSConfig.h
4242
4243 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4244
4245 * Source/autogsdoc.m: store and fetch dependency info in .igsdoc
4246 so we can parse the correct source files for each header when we
4247 need to.
4248
4249 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4250
4251 * Source/Additions/GNUmakefile: build subproject.
4252 * Source/Additions/Makefile.preamble: set include flags.
4253 * Source/Additions/GSXML.m: moved implementation here.
4254 * Source/Additions/GSMime.m: moved implementation here.
4255 * Source/GNUmakefile: build subproject.
4256
4257 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4258
4259 * GNUmakefile: build SSL aggregate project
4260 * config.mak.in: Remove SSL info
4261 * configure.in: Remove SSL configuration
4262 * configure: Regenerate
4263 * SSL/GNUmakefile: Build SSL bundle
4264 * SSL/GSUnixSSLHandle.m: SSL bundle source from Source directory
4265 * SSL/Makefile.postamble: Build SSL bundle
4266 * SSL/Makefile.preamble: Build SSL bundle
4267 * SSL/config.h.in: Trivial config for SSL bundle
4268 * SSL/config.mak.in: SSL info for building bundle.
4269 * SSL/configure.in: Configuration for SSKL bundle.
4270 * Source/GNUmakefile: Don't build SSL bundle.
4271 * Source/GSUnixSSLHandle.m: Moved to SSL directory.
4272 * Source/Makefile.postamble: Don't build SSL bundle.
4273 * Source/Makefile.preamble: Don't build SSL bundle.
4274 Alterations to make the SSL bundle capable of standalone
4275 building - for use on systems where the base package has
4276 only been installed in binary form.
4277 Initial attempt!
4278
4279 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4280
4281 * Source/GSAttributedString.m: Applied fix for left-over attributes
4282 at end of string. Patch supplied by Alexander Malmberg
4283 <alexander@malmberg.org>. Reformatting to conform to GNUstep
4284 standards, and optimisation by me.
4285
4286 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
4287
4288 * Tools/autogsdoc.m: Output gsdoc as UTF8 as we should.
4289 * Tools/AGSOutput.m: ditto.
4290
4291 2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
4292
4293 * Source/NSUser.m: When reading .GNUsteprc, if a per user version is
4294 not available, use the one in the configured system root directory.
4295
4296 2002-02-28 Adam Fedor <fedor@gnu.org>
4297
4298 * Headers/gnustep/base/objc-gnu2next.h: Add objc-runtime.h
4299 * Source/Makefile.preamble: Add ..DEPEND_UPON for all darwin versions.
4300
4301 * Source/NSPortCoder.m
4302 (-initWithReceivePort:sendPort:components:): Change cast to make
4303 MacOSX compiler happy.
4304
4305 2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
4306
4307 * Source/NSUser.m: rewrite user and defaults root code to standardise
4308 and to use .GNUsteprc configuration. Also permit forcing of fixed
4309 roots at compile time.
4310
4311 Thu Feb 28 16:46:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4312
4313 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Changed
4314 'Apps' to read 'Applications'.
4315
4316 2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4317
4318 * Source/GSString.m ([GSMutableString -substringWithRange:]):
4319 create a new string which size is the range length, not the original
4320 string's length.
4321
4322 2002-02-27 Richard Frith-Macdonald <rfm@gnu.org>
4323
4324 * Tools/gdomap.c: Removed obsolete code for shrinking data structures.
4325 Added memmove() for overlapped memory moves (Alexander Malmberg) and
4326 removed a couple of obsolete functions.
4327 * Source/GSValue.m: attempt to correct encoding.
4328 * Source/NSKeyValueCoding.m: Fix termination of method names with nuls
4329 from report by Manuel Guesdon.
4330 * Source/NSDictionary.m: Implement MacOS-X compatible KVC behavior.
4331 Include webobjects/eof extension, with warnings.
4332 * Headers/Foundation/NSProtocolChecker.h: Change deprecated import to
4333 include.
4334
4335 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4336
4337 * Tools/gdomap.c: Improve fetching interface info on mingw ...
4338 ignore non-internet interfaces.
4339 NB. The mingw winsock2.h header is buggy ... to work properly
4340 you need to change the size of a struct sockaddr field from
4341 sa_data[14] to sa_data[22]
4342
4343 Tue Feb 26 18:01:26 2002 Nicola Pero <nicola@brainstorm.co.uk>
4344
4345 * Source/NSBundle.m: Removed all _releasedBundles machinery.
4346 Removed custom implementation of -release. Retain a bundle after
4347 we load it. This fixes -bundleForClass: and simplifies
4348 considerably the code.
4349
4350 * Source/NSBundle.m: Whenever possible, use [self method] rather
4351 than [NSBundle method] to invoke a class method, for efficiency.
4352
4353 * Source/NSBundle.m (objc_executable_location): Compute directly
4354 from _executable_path - using mainBundle is unsafe.
4355
4356 Tue Feb 26 17:35:03 2002 Nicola Pero <nicola@brainstorm.co.uk>
4357
4358 * Source/NSBundle.m (_bundle_load_callback): Completely ignore
4359 categories. (Suggestion by Gerrit Van Dyk
4360 <GerritVD@decillion.net>).
4361
4362 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4363
4364 * Source/GSTemplateValue.m: Implement initialize method to set the
4365 version of concrete classes to be that of the abstract class which
4366 actually performs encoding/decoding ... should correct archiving.
4367 Problem reported by Gerrit Van Dyk
4368 * Tools/GSIndex.m: tidied a little
4369 * Tools/GSParser.m: mark when things are implemented.
4370 * Tools/GSOutput.m: warn about unimplemented items.
4371
4372 2002-02-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4373
4374 * Source/NSUnarchiver.m
4375 ([NSUnarchiver +classNameDecodedForArchiveClassName:]):
4376 ([NSUnarchiver -classNameDecodedForArchiveClassName:]):
4377 return nil if the class name is not present.
4378
4379 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4380
4381 * Source/GSTcpPort.m: Fixes to work on mingw.
4382 * Source/NSHost.m: Update for current winsock on mingw.
4383 * Source/NSPortNameServer.m: Update for current winsock on mingw.
4384 * Source/WindowsFileHandle.m: Fix to work for basic socket I/O.
4385 * Tools/gdomap.c: many changes ... several fixes to work on mingw
4386 rewrite some clumsy inefficient code, make variables and functions
4387 local. etc.
4388 * Source/NSUnarchiver.m: ([versionForClassName:]) return NSNotFound
4389 if the class name was not present.
4390
4391 Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
4392
4393 * Source/NSBundle.m ([-initWithPath:]): Return nil if the path
4394 can't be read. Fixed memory leak in case of nil argument.
4395 * Headers/gnustep/base/NSBundle.h: Documented some methods.
4396
4397 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4398
4399 * Source/GNUmakefile: Move xml and mime classes into an additional
4400 library, and make base library depend on it. EXPERIMENTAL.
4401 * Tools/gdomap.c: Try to get output working again after last changes.
4402 Add first attempt at MINGW support for getting network interface info.
4403 library, and make base library depend on it.
4404 EXPERIMENTAL - activate using 'make add=yes'
4405
4406 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4407
4408 * Source/NSObject.m: Rewrote key-value coding key manipulation to use
4409 a char array for speed. Moved functions for converting between object
4410 internals in scalar types and NSNumbers etc to NSObjCRuntime.m.
4411 Re-implemented path methods to fix incorrect implementation as pointed
4412 out by Manuel Guesdon.
4413 * Headers/Foundation/NSObjCRuntime.h: New functions from NSObject
4414 * Source/NSObjCRuntime.m: New functions from NSObject
4415 * Source/NSKeyValueCoding.m: Put key value coding methods here for
4416 clarity and ease of documentation.
4417
4418 2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
4419
4420 * Source/NSTask.m: Removed NSLogs() accidantally left in after
4421 debugging. Reported by Fred Kiefer.
4422 * Tools/gdomap.c: Use syslog for logging ... patch by Matthias Klose
4423 <doko@cs.tu-berlin.de> almost entirely rewritten to be portable.
4424 * configure.in: Minor additions for time header/functions
4425 * configure: regenerated
4426
4427 2002-02-23 Richard Frith-Macdonald <rfm@gnu.org>
4428
4429 * Headers/Foundation/NSObjCRuntime.h: Fix error in last change ...
4430 GSSelectorFromName() should not create a new selector while
4431 HSSelectorFromNameAndTypes() should.
4432
4433 2002-02-22 Alexander Malmberg <alexander@malmberg.org>
4434
4435 * Headers/gnustep/base/NSArray.h: insertion position api update.
4436 * Source/NSArray.m: insertion position api update.
4437 * Source/GSArray.m: insertion position api update.
4438 Make insertion position api consistent with sorting api.
4439
4440 2002-02-21 Richard Frith-Macdonald <rfm@gnu.org>
4441
4442 * Source/NSValue.m: Fixed bug in archiving NSValue objects ... was
4443 creating faulty archives which would crash on unarchiving.
4444 * Headers/Foundation/NSObjCRuntime.h: Made GS... function names more
4445 consistent with NeXT/Apple ones. Provide new ivar handling API.
4446 Don't crash when asked for a class which does not exist.
4447 * Source/NSObject.m: partial conversion to new runtime api.
4448 * Source/NSData.m: partial conversion to new runtime api. Don't
4449 raise an exception if a class we are deserializing does not exist.
4450 Just warn and return a nul class.
4451 * Source/NSArchiver.m: better clasname handling.
4452 * Source/NSUnarchiver.m: try to gracefully handle the case where an
4453 archive contains the name of a class we don't have linked in to our
4454 code.
4455 * Source/NSPortCoder.m: ditto.
4456
4457 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4458
4459 * Source/NSUser.m: locking erro fixed by Stephen brandon
4460
4461 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4462
4463 * Headers/Foundation/NSInvocation.h: Remove _argframe ivar
4464 * Source/NSInvocation.m: Simplify by removing _argframe ivar and
4465 using _frame throughout to hold arguments. Fix checks for valid frame.
4466 * Source/callframe.m: Initialise newly created frame with zeros so
4467 that setting an object in an invocation should work when the
4468 invocation is retaining its contents.
4469 * configure.in: Disable ffi and warn about it.
4470 * configure: regenerated
4471 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) block until
4472 limit date even if no I/O is possible.
4473 * Source/NSUserDefaults.m: Patch by Alexander Malmberg to try all
4474 listed locales rather than giving up at first failure.
4475 * Headers/gnustep/base/GSUnion.h: Enclose types bitmask in brackets
4476 to avoid *all* types being included in the union! Should decrease
4477 memory footprint and increase speed of many classes.
4478 * Source/NSString.m: ([stringByStandardizingPath]) memory leak
4479 fixed and windows path check fixed ... patch by Michael Scheibler.
4480 Also commented/documented the method.
4481
4482 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4483
4484 * Source/NSUserDefaults.m: Removed some code that was doing nothing,
4485 and tidied a little.
4486
4487 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4488
4489 * Headers/Foundation/NSPathUtilities.h: GSDefaultsRootForUser()
4490 function added.
4491 * Source/NSUser.m: Many alterations to do with correcting the
4492 file paths used to use GNUSTEP_USER_ROOT, and to get them to
4493 vary nicely when GSSetUserName() is called. Added function
4494 GSDefaultsRootForUser() to get a defaults directory based on
4495 a new environment varibale, or use GNUSTEP_USER_ROOT.
4496 * Source/NSUserDefaults.m: Use GSDefaultsRootForUser()
4497 Fix a few bugs in setting up defaults database.
4498 Move defaults database to the Defaults subdirectory.
4499 * Source/Headers/GSIMap.h: Fix error in last commit.
4500
4501 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4502
4503 * Source/NSString.m: ([stringByExpandingTildeInPath]) fix bug in
4504 handling ~username/... format.
4505 * Headers/Foundation/GSIMap.h: GSIMapCleanMap() rewrote to empty
4506 the map efficiently. Added an option to refrain from calling it
4507 when emptying a map that doesn't need keys and values releasing.
4508 * Source/GSAttributedString.m: don't clean maps on emptying.
4509 * Source/GSFFCallInvocation.m: ditto
4510 * Source/NSArchiver.m: ditto
4511 * Source/NSConnection.m: ditto
4512 * Source/NSObject.m: ditto
4513 * Source/NSPortCoder.m: ditto
4514 * Source/NSSerializer.m: ditto
4515 Changes inspired by Pierre-Tves Rivaille
4516
4517 2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
4518
4519 * Tools/AGSHtml.m: support for merging types and functions etc.
4520 * Tools/AGSIndex.m: ditto
4521 * Tools/AGSOutput.h: ditto
4522 * Tools/AGSOutput.m: ditto
4523 * Tools/autogsdoc.m: ditto
4524 Put stuff in place for merging info
4525 revert key-value coding changes.
4526 * Source/NSString.m: Fix bug in datausingEncoding:allowLossyConversion:
4527 pointed out by Stephen Brandon.
4528
4529 Mon Feb 11 15:11:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4530
4531 * Source/GSString.m (NSImmutableString): Implemented copy,
4532 copyWithZone:, mutableCopy, mutableCopyWithZone:, so that the
4533 string can be copied, and the copy no longer tracks the parent.
4534
4535 2002-02-10 Michael Hanni <mhanni@sprintmail.com>
4536
4537 * Source/NSObjCRuntime.m: changed NSAssert() to NSCAssert() from
4538 last change. Also added NSException.h include to make compile
4539 correctly and quietly.
4540
4541 2002-02-10 Manuel Guesdon <mguesdon@orange-concept.com>
4542
4543 * Source/NSObject.m: changes to enable derived object KeyValueCoding
4544 process chnages (EOGenericRecord for example).
4545 o added:
4546 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4547 _getValueForKey:selector:type:size:offset:
4548 _setValueForKey:object:selector:type:size:offset:
4549 _handleQueryWithUnboundKey:
4550 _handleTakeValue:forUnboundKey:
4551 o modified:
4552 storedValueForKey:
4553 takeStoredValue:forKey:
4554 valueForKey:
4555 takeValue:forKey:
4556 To use added method.
4557 * Source/NSObjCRuntime.m:
4558 o added NSAssert in GSGetInstanceVariable() and
4559 GSSetInstanceVariable()
4560 * Headers/gnustep/base/NSKeyValueCoding:
4561 o added:
4562 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4563 _getValueForKey:selector:type:size:offset:
4564 _setValueForKey:object:selector:type:size:offset:
4565 _handleQueryWithUnboundKey:
4566 _handleTakeValue:forUnboundKey:
4567
4568 Sat Feb 9 01:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
4569
4570 * Source/NSBundle.m ([+bundleForTool:]): Removed. We switch to a
4571 better API, which is to have a tool use +mainBundle, in the same
4572 way as applications do, to retrieve the main resource bundle for
4573 itself.
4574 ([+mainBundle]): Modified to support tools as well as
4575 applications.
4576 * Headers/gnustep/base/NSBundle.h ([+bundleForTool:]): Removed.
4577
4578 2002-02-08 Richard Frith-Macdonald <rfm@gnu.org>
4579
4580 * Headers/Foundation/NSTask.h: New method -validatedLaunchPath to
4581 check that an executable exists at the specified path or any
4582 alternative version corresponding to host, OS, and library-combo
4583 directories. Returns the actual path to the binary.
4584 * Source/NSTask.m: Implemented new mathod and added autogsdoc
4585 comments.
4586 * Source/NSBundle.m: Cotrrected error in comments.
4587
4588 2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
4589
4590 * Headers/Foundation/NSString.m: Additioanl method -immutableProxy
4591 * Source/NSString.m: ditto
4592 * Source/GSString.m: New classes for immutable proxy, one generic
4593 version, and one efficient version for accessing the main GNUstep
4594 mutable striong objects.
4595 * Source/GSAttributedString: use immutable proxy.
4596 New code to provide a proxy for a mutable string which will provide
4597 read-only access to it.
4598
4599 2002-02-05 Richard Frith-Macdonald <rfm@gnu.org>
4600
4601 * Source/NSString.m: ([-rangeOfCharacterFromSet:options:range:])
4602 fix to return NSNotFound as location if character not present -
4603 bug reported by Nicola Pero.
4604
4605 2002-02-04 Richard Frith-Macdonald <rfm@gnu.org>
4606
4607 * Tools/gsdoc.m: loader() if entity id is missing, try to load url as
4608 a file.
4609 * Tools/AGSParser.m: Fixes for handling typedefs, constants, varibales
4610 and functions.
4611 * Tools/AGSOutput.[hm]: ditto
4612 * Tools/AGSHtml.m: ditto
4613 Preliminary support for C language added.
4614
4615 2002-02-03 Richard Frith-Macdonald <rfm@gnu.org>
4616
4617 * Source/GNUmakefile: use -WordMap flag with autogsdoc to cope with
4618 C-preprocessor constants that would otherwise confuse parsing.
4619 * Source/NSDictionary.m: Tidy to match interface.
4620 * Source/NSDistantObject.m: Tidy to match interface.
4621 * Source/NSPortCoder.m: Tidy to match interface.
4622 * Source/NSScanner.m: Tidy to match interface. Remove some illegal
4623 semicolons after method names.
4624 * Source/NSTimer.m: Tidy to match interface.
4625 * Tools/AGSParser.h: Handle word mappings.
4626 * Tools/AGSParser.m: Handle word mappings and deal with function
4627 attributes.
4628 * Tools/autogsdoc.m: Handle word mappings and make default logging
4629 less verbose.
4630
4631 2002-02-02 Richard Frith-Macdonald <rfm@gnu.org>
4632
4633 * Source/NSObject.m: Fix some maptable problems when using non-local
4634 reference counts.
4635 * Source/NSMapTable.m: Improve warning logging for dodgy practices.
4636 * Source/NSHashTable.m: ditto
4637 * Tools/AGSHtml.m: A couple of minor fixes for systems where the xml
4638 parser does not discard whitespace as it should.
4639
4640 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4641
4642 * Documentation/manual: New directory containing Objective-C and
4643 GNUstep-base programming manual/tutorial produced at Brainstorm.
4644 The intention was to produce a pretty complete manual and then
4645 release it, but we ran out of funding, so I'm releasing the work
4646 to date.
4647 * Source/NSObject.m: Go back to using local refcounts now that new
4648 map table code is thoroughly tested.
4649
4650 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4651
4652 * Source/Makefile.preamble: remove old GSI api support
4653 * Headers/Foundation/NSHashTable.h: ditto
4654 * Headers/Foundation/NSMapTable.h: ditto
4655
4656 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4657
4658 * Source/GSAttributedString.m: Move to assuming new GSI api.
4659 * Source/NSHashTable.m: ditto
4660 * Source/NSMapTable.m: ditto
4661 * Source/GSCountedSet.m: ditto
4662 * Source/GSDictionary.m: ditto
4663 * Source/GSFFCallInvocation.m: ditto
4664 * Source/NSArchiver.m: ditto
4665 * Source/NSConnection.m: ditto
4666 * Source/NSFileManager.m: ditto
4667 * Source/NSNotificationCenter.m: ditto
4668 * Source/NSObject.m: ditto
4669 * Source/NSPortCoder.m: ditto
4670 * Source/NSRunLoop.m: ditto
4671 * Source/NSSerializer.m: ditto
4672 * Source/NSUnarchiver.m: ditto
4673
4674 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4675
4676 * Source/NSHashTable.m: Fixed bug intorduced by last change to add
4677 error checking!!
4678 * Source/GSAttributedString.m: Make new or old GSI stuff optional.
4679 * Source/GSCountedSet.m: ditto
4680 * Source/GSDictionary.m: ditto
4681 * Source/GSFFCallInvocation.m: ditto
4682 * Source/NSArchiver.m: ditto
4683 * Source/NSConnection.m: ditto
4684 * Source/NSFileManager.m: ditto
4685 * Source/NSNotificationCenter.m: ditto
4686 * Source/NSObject.m: ditto
4687 * Source/NSPortCoder.m: ditto
4688 * Source/NSRunLoop.m: ditto
4689 * Source/NSSerializer.m: ditto
4690 * Source/NSUnarchiver.m: ditto
4691 Interim phase ... version of source which should build with new or
4692 old GSIMap and GSIArray APIs at the defination of GSI_NEW
4693
4694 2002-01-31 Adam Fedor <fedor@gnu.org>
4695
4696 * Old/*: Removed (now at
4697 ftp://ftp.gnustep.org/pub/gnustep/old/gnustep-obsolete.tar.gz).
4698
4699 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4700
4701 * Source/NSMapTable.m:
4702 * Source/NSHashTable.m: Add checks for nul tables and either log
4703 warnings and be tolerant, or raise exceptions.
4704
4705 Thu Jan 31 15:35:21 2002 Nicola Pero <nicola@brainstorm.co.uk>
4706
4707 * Source/NSObject.m ([-doesNotRecognizeSelector:]): Modified
4708 exception message to print out if we are an instance or a class
4709 object. For example, no longer 'IvarProxy does not recognize
4710 initWithClass:' but rather 'IvarProxy(class) does not recognize
4711 initWithClass:'.
4712 ([-doesNotRecognize:]): Idem.
4713 ([-subclassResponsibility:]): Similar change.
4714 ([-shouldNotImplement:]): Similar change.
4715 ([-notImplemented:]): Similar change.
4716
4717 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4718
4719 * Headers/gnustep/base/GSIArray.h: Use array as parameter to macros.
4720 * Source/GSAttributedString.m: Update for GSIArray change.
4721 * Source/GSCountedSet.m: Update for GSIArray change.
4722 * Source/GSDictionary.m: Update for GSIArray change.
4723 * Source/GSFFCallInvocation.m: Update for GSIArray change.
4724 * Source/NSArchiver.m: Update for GSIArray change.
4725 * Source/NSConnection.m: Update for GSIArray change.
4726 * Source/NSFileManager.m: Update for GSIArray change.
4727 * Source/NSNotificationCenter.m: Update for GSIArray change.
4728 * Source/NSObject.m: Update for GSIArray change.
4729 * Source/NSPortCoder.m: Update for GSIArray change.
4730 * Source/NSRunLoop.m: Update for GSIArray change.
4731 * Source/NSSerializer.m: Update for GSIArray change.
4732 * Source/NSUnarchiver.m: Update for GSIArray change.
4733
4734 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4735
4736 * Headers/Foundation/NSRunLoop.h: Go back to new version.
4737 * Source/NSRunLoop.m: Back to new (hopefully bug-free) version ...
4738 fixed a fence-post error in examining descriptors. Enabled poll()
4739 support if the O/S supports it. Converted to use standard debug
4740 logging keyed on NSRunLoop. Fixed poll code to call any available
4741 event handler when an error occurs on a descriptor.
4742 * configure.in: Improve check for sa_len
4743
4744 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4745
4746 * Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add
4747 option to specify type of enumerator structure externally.
4748 * Headers/gnustep/base/NSHashTable.h: Modify to conform to MacOS-X
4749 documentation and to work with GSIMAP stuff.
4750 * Headers/gnustep/base/NSMapTable.h: ditto
4751 * Headers/gnustep/base/o_array.h: deleted
4752 * Headers/gnustep/base/o_cbs.h: deleted
4753 * Headers/gnustep/base/o_hash.h: deleted
4754 * Headers/gnustep/base/o_list.h: deleted
4755 * Headers/gnustep/base/o_map.h: deleted
4756 * Headers/gnustep/base/o_x_bas.h.in: deleted
4757 * Headers/gnustep/base/o_x_cbs.h.in: deleted
4758 * Source/GNUmakefile: Remove o_... rules
4759 * Source/GSTcpPort.m: Remove unused include file
4760 * Source/Makefile.postamble: remove o_... rules
4761 * Source/NSCallBacks.h: Remove o_... info
4762 * Source/NSCallBacks.m: remove o_... info
4763 * Source/NSHashTable.m: Rewrite to use GSIMAP
4764 * Source/NSMapTable.m: Rewrite to use GSIMAP
4765 * Source/NSObject.m: Use GSIMAP for reference counts.
4766 * Source/NSRunLoop.m: Fix function prototypes for map table callbacks.
4767 * Source/externs.m: Remove o_... stuff and tidy callbacks.
4768 * Source/o_array.m: deleted
4769 * Source/o_cbs.m: deleted
4770 * Source/o_cbs_char_p.m: deleted
4771 * Source/o_cbs_id.m: deleted
4772 * Source/o_cbs_int.m: deleted
4773 * Source/o_cbs_int_p.m: deleted
4774 * Source/o_cbs_void_p.m: deleted
4775 * Source/o_hash.m: deleted
4776 * Source/o_list.m: deleted
4777 * Source/o_map.m: deleted
4778 * Source/o_x_bas.m.in: deleted
4779 * Source/o_x_cbs.m.in: deleted
4780 Masses of changes to simplify codebase and standardise all maptable
4781 code. Hopefully, the new NSMapTable code now conforms to the spec.
4782
4783 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4784
4785 * Headers/Foundation/NSRunLoop.h: revert
4786 * Source/NSRunLoop.m: revert
4787 Revert to earlier version temporarily, while I try to track down
4788 an obscure bug causing problems with some DO applications.
4789
4790 Tue Jan 29 13:49:23 2002 Nicola Pero <nicola@brainstorm.co.uk>
4791
4792 * configure.in: Removed garbage left over - doubled message
4793 for objc thread flags checking.
4794 * configure: Regenerated.
4795
4796 Tue Jan 29 10:57:30 2002 Nicola Pero <nicola@brainstorm.co.uk>
4797
4798 * Makefile.postamble (configure): Rule removed. It was causing
4799 problems on systems without autoconf.
4800 (base.make, config.mak): Do not depend on configure.
4801
4802 2002-01-29 Richard Frith-Macdonald <rfm@gnu.org>
4803
4804 * Headers/Foundation/NSRunLoop.h: More updates to ivars.
4805 * Headers/Foundation/NSRunLoop.m: Completed re-entrancy fixes in
4806 (I hope) a reasonably efficient manner.
4807
4808 2002-01-28 Richard Frith-Macdonald <rfm@gnu.org>
4809
4810 * Headers/Foundation/NSRunLoop.h: Removed previously deprecated methods.
4811 Completely changed ivar layout.
4812 * Headers/Foundation/NSRunLoop.m: Removed previously deprecated methods.
4813 Completely changed ivar layout. Modified most methods to work with
4814 changed ivar layout. Now stores per-mode context information in a
4815 new GSRunLoopCtxt class - one instance for each mode used in each
4816 runloop instance. Rewrite select() and poll() based mechanisms
4817 using the new class - should hopefully be more efficient and fix
4818 minor and obscure problems with re-entrancy.
4819 ### WARNING ... radical change ... may be buggy ... WARNING ###
4820
4821 2002-01-23 Kaelin Colclasure <kaelin@acm.org>
4822
4823 * configure.in: Check for poll(2) system call and header file.
4824 * configure: Regenerated.
4825 * config.h.in: Regenerated.
4826 * Source/NSRunLoop.m ([-acceptInputForMode:beforeDate:]):
4827 Refactored to put all code specific to the select(2) system call
4828 into a separate method.
4829 ([-_pollInputForMode:withTimeout:]): New private method with two
4830 implementations. If HAVE_POLL is defined, the poll version is
4831 used. Otherwise, we fall back to select.
4832
4833 2002-01-25 Richard Frith-Macdonald <rfm@gnu.org>
4834
4835 * acconfig.h: Add HAVE_SA_LEN
4836 * configure.in: Check for sa_len in sockaddr in struct ifreq
4837 * configure: regenerate
4838 * Headers/gnustep/base/config.h.in: regenerate
4839 * Tools/gdomap.c: Add patch by Pete French <pete@twisted.org.uk>
4840 to handle variable length socket addresses ... modified to work
4841 with the rest of the world where we don't have such things.
4842
4843 2002-01-24 Richard Frith-Macdonald <rfm@gnu.org>
4844
4845 * Source/NSRunLoop.m: Correct returns from within exception handler.
4846 * Source/NSUserDefaults.m: use NSDefaultRunLoopMode.
4847 * Headers/gnustep/unicode/gsm0338.h: New character set mapping.
4848 * Source/Unicode.m: Add support for the GSM default alphabet.
4849 * Headers/gnustep/base/GSIMap.h: Add support for macros update when
4850 built with GSM_NEW defined (for use with NSMapTable in future).
4851 Various source files updated to use new GSI macros.
4852
4853 Mon Jan 21 17:08:42 2002 Nicola Pero <nicola@brainstorm.co.uk>
4854
4855 * Source/Makefile.postamble (after-uninstall): Removed GSConfig.h
4856 and mframe.h when uninstalling.
4857
4858 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4859
4860 * Source/NSRunLoop.m: Wrap code in exception handlers to reset current
4861 runloop mode if an exception occurs ... may remove this again if the
4862 performance is too bad.
4863 Use initialiser for NSTimer to avoid having to put timers into the
4864 autorelease pool.
4865 * Headers/Foundation/NSTimer.h: Expose GNUstep initialiser since
4866 OpenStep and MacOS-X don't have one.
4867
4868 Wed Jan 16 13:46:24 2002 Nicola Pero <nicola@brainstorm.co.uk>
4869
4870 Fixed dynamical loading of frameworks.
4871 * Source/NSBundle.m ([-_addFrameworkForClass:]): Fixed, should never
4872 be run during dynamical loading.
4873 * Source/NSBundle.m (_bundle_load_callback): Major simplification.
4874 Most code removed. Should run faster too.
4875 ([-load]): Do not DESTROY _bundle_load_callback's related
4876 variables.
4877
4878 Wed Jan 16 12:30:20 2002 Nicola Pero <nicola@brainstorm.co.uk>
4879
4880 * Source/NSBundle.m (_addFrameworkFromClass:): Fixed third argument
4881 of strncmp to be 12, not 12*sizeof(char).
4882
4883 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4884
4885 * Source/NSRunLoop.m: Modify to have a nil current mode if the loop
4886 is not running (MacOS-X compatibility) and documented the change
4887 for autogsdoc.
4888
4889 Tue Jan 15 02:53:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
4890
4891 * Source/Makefile.postamble (after-distclean): Always remove
4892 SSL.bundle, regardless of any flags.
4893
4894 2002-01-13 Richard Frith-Macdonald <rfm@gnu.org>
4895
4896 * Tools/AGSParser.m: Mostly implemented parsing of C declarations
4897 (function, typedef, constant and variable).
4898
4899 2002-01-11 Richard Frith-Macdonald <rfm@gnu.org>
4900
4901 * Headers/Foundation/NSArchiver.h: tidyups
4902 * Source/NSDictionary.m: tidyups
4903 * Tools/AGSParser.m: a couple of declaration parsing fixes added,
4904 along with quite a bit of debugging. Function declaration parsing
4905 not yet working.
4906
4907 2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
4908
4909 * Source/NSDistributedNotificationCentre.m: Use NSHost user default
4910 to determine which server to connect to.
4911 * Tools/AGSParser.m: Minor parsing fixes ... correct GS_EXPORT
4912
4913 Wed Jan 9 11:55:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
4914
4915 * configure.in: Call AC_CONFIG_AUX_DIR with
4916 $GNUSTEP_SYSTEM_ROOT/Makefiles arg so that gnustep-make's
4917 config.guess and config.sub are used.
4918 * configure: Regenerated.
4919 * config.guess: Removed.
4920 * config.sub: Removed.
4921 * install-sh: Removed.
4922 * mkinstalldirs: Removed.
4923 * Source/mframe/configure.in: Set AC_CONFIG_AUX_DIR to
4924 $GNUSTEP_SYSTEM_ROOT/Makefiles.
4925 * Source/mframe/configure: Regenerated.
4926 * Source/mframe/config.guess: Removed.
4927 * Source/mframe/config.sub: Removed.
4928
4929 Wed Jan 9 11:08:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
4930
4931 * config.guess: Updated to latest version.
4932 * config.sub: Idem.
4933
4934 2002-01-08 Richard Frith-Macdonald <rfm@gnu.org>
4935
4936 * Tools/AGSHtml.h:
4937 * Tools/AGSHtml.m:
4938 * Tools/AGSIndex.h:
4939 * Tools/AGSIndex.m:
4940 * Tools/AGSOutput.h:
4941 * Tools/AGSOutput.m:
4942 * Tools/AGSParser.h:
4943 * Tools/AGSParser.m:
4944 * Tools/autogsdoc.m:
4945 * Tools/gsdoc-0_6_7.dtd:
4946 Updated for several changes ...
4947 Support documentation of instance variables
4948 Index class and category method names identically
4949 Extend index to have a listing of methods by unit
4950 Extend index to have a listing of ivariablese by class
4951 Use new extensions to double speed of generation of method
4952 indexes for classes.
4953
4954 2002-01-07 Adam Fedor <fedor@gnu.org>
4955
4956 * Version: 1.1.0
4957 * Documentation/news.texi: Update
4958
4959 * Source/NSObject.m (GSGetValue): Add case for void return
4960 (suggestion from ml@sbuilders.com).
4961
4962 * Resources/Languages/Dutch: Change currency to Euro.
4963 * Resources/Languages/French: Likewise.
4964 * Resources/Languages/German: Likewise.
4965 * Resources/Languages/Italian: Likewise.
4966 * Old languages files renamed to *.Old
4967
4968 2002-01-07 Richard Frith-Macdonald <rfm@gnu.org>
4969
4970 * Tools/AGSHtml.m: Minor speedup.
4971 * Tools/AGSOutput.m: Put something in place of empty descriptions.
4972 * Tools/AGSParser.m: Rewrite handling of standards information to fix
4973 bug in NO_GNUSTEP handling.
4974 * Source/GNUmakefile: Don't document concrete number stuff ... not
4975 public.
4976
4977 Sun Jan 6 22:33:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
4978
4979 * Tools/HTMLLinker.m: Rewritten to fixup links by link name rather
4980 than link file. Can now be used to link HTML files generated by
4981 autogsdoc.
4982 * Tools/HTMLLinker.html: Updated for changes.
4983 * Tools/GNUmakefile: Install HTMLLinker.html.
4984
4985 2002-01-06 Richard Frith-Macdonald <rfm@gnu.org>
4986
4987 * Tools/autogsdoc.m: Minor bugfix ... any .h file processed should
4988 also be processed as a .gsdoc file to produce indexes and html.
4989 * Tools/AGSHtml.m: List *all* methods for a class in its method
4990 summary, even if they are in categories or are documented in
4991 other files.
4992
4993 2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
4994
4995 * Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
4996 Change mechanism for handling multiple source files for one header
4997 (need capability to write dependency rules for make).
4998 * Tools/AGSParser.[hm]: Add mechanism to return list of source
4999 files on which a document depends.
5000 * Tools/gsdoc-0_6_7.dtd: Permit wider use of index element.
5001 * Tools/AGSHtml.m: ditto, and support indexing of category methods
5002 along with class methods.
5003 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Remove the SourceDirectory
5004 option ... now assumed to be the current directory for simplicity.
5005 * Source/Base.gsdoc: Add class and protocol indexes.
5006
5007 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5008
5009 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Fix to use
5010 -HeaderDirectory and -SourceDirectory to get docs to build again...
5011 hopefully with both sets of make rules.
5012
5013 Fri Jan 4 15:44:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5014
5015 * base.make.in (GNUSTEP_BASE_HAVE_LIBXML): Define.
5016 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Do not use
5017 -HeaderDirectory.
5018 (Base_HEADER_FILES_DIR): Define.
5019 * Source/GNUmakefile: Include documentation.make only if doc=yes
5020 is passed on the command line.
5021 * Tools/GNUmakefile: Idem.
5022
5023 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5024
5025 * Tools/autogsdoc.m: Rearrange code somewhat and remove auto
5026 generation of index and 'up' links ... now requires an explicit
5027 -Up if you want one. Fix to support multiple source files parsed
5028 per interface file.
5029 * Tools/GNUmakefile: Add -Up for documentation generation
5030 * Source/GNUmakefile: ditto
5031
5032 Fri Jan 4 11:42:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
5033
5034 * Tools/HTMLLinker.m: Implemented -FixupAllLinks, -PathMappings,
5035 -PathMappingsFile options. Made -CheckLinks default to YES.
5036 Added support for specifying a directory as input or destination
5037 file, meaning all html files found in the directory. Never
5038 attempt to fixup links starting with mailto: or news: or without a
5039 filename, even if running with -FixupAllLinks YES.
5040 * Tools/HTMLLinker.html: New file.
5041
5042 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5043
5044 * Source/autogsdoc.m: Fixup bug in html relocation code ... was
5045 failing to adjust string length variable correctly.
5046
5047 2002-01-03 Adam Fedor <fedor@gnu.org>
5048
5049 * Headers/gnustep/base/NSString.h: Extern constant string class
5050 reference for Darwin added.
5051 * Source/GSString.m ([NXConstantString +initialize]): Setup constant
5052 string class reference variable for Darwin.
5053 * Source/NSObject.m: Don't put reference count and zone with object
5054 on Darwin.
5055 * Source/behavior.m (NeXT_RUNTIME/behavior_class_add_class): Use NeXT
5056 runtime functions. Pass only one method_list at a time.
5057 (NeXT_RUNTIME/behavior_class_add_methods): Only look at one
5058 method_list at a time.
5059 (NeXT_RUNTIME/search_for_method_in_list): Use NeXT runtime functions.
5060
5061 Thu Jan 3 19:38:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
5062
5063 * Tools/HTMLLinker.m: New tool.
5064 * Tools/GNUmakefile: Compile the new tool.
5065 * Tools/Makefile.preamble (ADDITIONAL_OBJCFLAGS): Use -Wall.
5066
5067 2002-01-03 Adam Fedor <fedor@gnu.org>
5068
5069 * Source/GSFFCallInvocation.m (gs_method_for_receiver_and_selector):
5070 Correct test for class.
5071
5072 * Source/GNUmakefile (AUTHORS): Remove target.
5073 * AUTHORS: Remove.
5074 * Admin/: Remove.
5075 * configure.bat: Likewise.
5076
5077 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5078
5079 * Header/Foundation/GSXML.h: Correction standards complience
5080 * Source/GSXML.m: A few documentation tidyups
5081 * Tools/autogsdoc.m: Some tidyups for improved performance
5082 and added code to relocate html documents.
5083 * Source/AGSIndex.[hm]: Minor API change to ease index handling,
5084 bugfix for class index generation.
5085 * Source/AGSHtml.m: Made index handling more consistent.
5086
5087 2002-01-02 Adam Fedor <fedor@gnu.org>
5088
5089 * configure.in: Show openssl as enabled by default in help. Check for
5090 more headers.
5091 * Source/NSTask.m: Move #includes to front, remove redundancies.
5092
5093 * Source/GSXML.m ([(non-libxml)GSXMLNode +forwardInvocation]):
5094 Implement.
5095
5096 * Documentation/GNUmakefile: Remove gnustep-base.texi
5097 * Documentation/install.texi: Update.
5098 * Documentation/news.texi: Likewise.
5099
5100 * Tools/autogsdoc.m (main): When no libxml, abort with a useful error
5101 message.
5102
5103 2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
5104
5105 * Source/GSXML.m: Tidied some methods and added autogsdoc comments.
5106 * Source/NSData.[hm]: implement ([-writeToURL:atomically:])
5107 * Source/GSXML.[hm]: Tidy document API to be more consistent
5108 with other classes. Add some autogsdoc comments.
5109 * Tools/AGSIndex.m: Bugfix in setting links to superclasses.
5110 * Tools/AGSOutput.m: Infinite recursion fix.
5111
5112 2002-01-01 Richard Frith-Macdonald <rfm@gnu.org>
5113
5114 * Source/GNUmakefile: Use new -Standards flag for autogsdoc
5115 * Tools/AGSparser.[hm]: New support for standards and some tidyups
5116 * Tools/AGSHtml.[hm]: Improved output and simplified a little.
5117 * Tools/autogsdoc.m: New Standards flag to turn on support for
5118 generation of standards complience notes in documentation.
5119
5120 Tue Jan 1 11:18:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
5121
5122 * Source/NSFileManager.m (custom_strdup): New inline function
5123 to simplify code. (append_file_to_path): Use it.
5124 ([NSDirectoryEnumerator -initWithDirectoryPath:
5125 recurseIntoSubdirectories:followSymlinks:justContents:]):
5126 Idem.
5127 ([NSDirectoryEnumerator -nextObject]): Fixed memory leak (Reported
5128 by Brian Alliet <brian@brian-web.com>).
5129
5130 2001-12-31 Richard Frith-Macdonald <rfm@gnu.org>
5131
5132 * Source/behavior.m: behavior_class_add_methods() bugfix to ensure
5133 that despatch table is updated properly.
5134 search_for_method_in_list() deleted ... use version in gnu runtime.
5135 * Source/NSUserDefaults.m: Removed use of distributed lock ... we
5136 use atomic writes to file, so we don't need it. Also restructured
5137 a little to reduce file accesses when synchronising. Also tidied
5138 comments a little for autogsdoc.
5139
5140 2001-12-29 Adam Fedor <fedor@gnu.org>
5141
5142 * Source/behavior.m (class_add_behavior): Add depreciated function
5143 back.
5144
5145 2001-12-27 Adam Fedor <fedor@gnu.org>
5146
5147 * Headers/gnustep/base/objc-gnu2next.h: Disable __builtin functions
5148 for GCC < 3.x (darwin).
5149
5150 * Headers/gnustep/base/behavior.h: New defs for darwin/NeXT. Remove
5151 depreciated function.
5152 * Source/GSSet.m (+initialize): Use new behavior function in place
5153 of depreciated one.
5154 * Source/behavior.m (behavior_class_add_class): On darwin, allow
5155 NXConstantString class to increase in size.
5156 (behavior_class_add_category): New/rewrite for darwin methodLists
5157 structure.
5158 (behavior_class_add_methods): Likewise.
5159 (search_for_method_in_list): Likewise.
5160
5161 * Source/NSObject.m: Move ALIGN definition outside of #if
5162 (NSDecrementExtraRefCountWasZero): Change NSAssert to NSCAssert.
5163
5164 * Source/mframe.m (method_types_get_first_argument): Use
5165 method_types_get_next_argument.
5166
5167 * Source/Makefile.preamble: Additional flags for darwin linking.
5168
5169 * Source/libgnustep-base.def: Updated for new/removed classes.
5170
5171 2001-12-26 Richard Frith-Macdonald <rfm@gnu.org>
5172
5173 * Tools/autogsdoc.m: Add options for better control of index file and
5174 turning off dependency checking (for slightly more efficient running
5175 under make). Also added flag to enable/disable html generation.
5176 * Tools/AGSHtml.m: Fix a few errors in achnors and links to document
5177 titles.
5178
5179 2001-12-22 Richard Frith-Macdonald <rfm@gnu.org>
5180
5181 * Tools/autogsdoc.m: Fix bug in handling args introduceed by last
5182 modification. Removed next and prev linkage at Nicolas suggestion.
5183
5184 2001-12-21 Richard Frith-Macdonald <rfm@gnu.org>
5185
5186 * Tools/autogsdoc.m: Simplify file processing and cleanup so that
5187 spurious linkage and indexing is not done when run on a single file.
5188
5189 Fri Dec 21 13:50:50 2001 Nicola Pero <nicola@brainstorm.co.uk>
5190
5191 * Source/NSBundle.m ([+bundleForLibrary:]): New method.
5192 ([+bundleForTool:]): New method.
5193 * Headers/gnustep/base/NSBundle.h: Declare them.
5194
5195 Fri Dec 21 11:48:49 2001 Nicola Pero <nicola@brainstorm.co.uk>
5196
5197 * NSTimeZones/Makefile.postamble (timezonedir, before-install):
5198 Unused targets removed.
5199
5200 2001-12-19 Richard Frith-Macdonald <rfm@gnu.org>
5201
5202 * Source/GSXML.m: Check validation status at parse completion.
5203 * Source/NSUserDefaults.m: Ensure flags are initialised.
5204 * Source/GSCompatibility.m: Set GNUstep DTD for propertyLists.
5205 * Tools/plist-0_9.dtd: GNUstep property list DTD.
5206 * Source/autogsdoc.m: Improve dependency checking ... only regenerate
5207 project index when necessary, thus avoiding some gsdoc file parsing.
5208
5209 Wed Dec 19 02:17:09 2001 Nicola Pero <n.pero@mi.flashnet.it>
5210
5211 * Source/NSThread.m (GSRegisterCurrentThread): Use @defs to
5212 access protected variables of NSThread otherwise GCC 3.1 refuses to
5213 compile it.
5214 (GSUnregisterCurrentThread): Idem.
5215
5216 Tue Dec 18 18:02:07 2001 Nicola Pero <n.pero@mi.flashnet.it>
5217
5218 * Source/NSObject.m ([+conformsToProtocol:]): Fixed - it was
5219 checking that the metaclass conforms to the protocol rather than
5220 the class, which was causing it to fail for protocols implemented
5221 in categories.
5222
5223 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5224
5225 Many source files modified to contain date, version, and title info.
5226 * Tools/AGSHtml.m: Fix 'standards' output. Implement date and version.
5227 * Tools/AGSOutput.m: Add 'standards' support for class, category,
5228 and protocol. Use new standards info from parser.
5229 * Tools/AGSParser.h: New method to set current standards.
5230 * Tools/AGSParser.m: Implement simplistic parsing of preprocessor
5231 conditionals to set current standards based on STRICT_MACOS_X,
5232 STRICT_OPENSTEP, and NO_GNUSTEP. The presence of <standards>
5233 markup in the comments still takes precedence over this mechanism.
5234
5235 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5236
5237 * Source/GSXML.m: Bugfixes in setting parse behavior ... now turns
5238 on validation properly.
5239 * Tools/gsdoc-0_6_7.dtd: added 'scope' to index element and
5240 added a 'title' type to list files in a project.
5241 * Tools/AGSHtml.h:
5242 * Tools/AGSHtml.m: Output tidyups and general format improvements.
5243 Add links to other documents in project. Add support for 'index'
5244 element with both file and project scope.
5245 * Tools/autogsdoc.m: Clean up a little and handle gsdoc files
5246 listed as source files better .... now looks for them in the
5247 source directory. Added automatic generation of an 'index' file
5248 for a project where the first source file listed in the project
5249 is not a gsdoc file.
5250
5251 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5252
5253 * Headers/gnustep/base/GSMime.h: Updates for autogsdoc
5254 * Headers/gnustep/base/GSXML.h: ditto
5255 * Headers/gnustep/base/NSArray.h: ditto
5256 * Headers/gnustep/base/NSAttributedString.h: ditto
5257 * Headers/gnustep/base/NSAutoreleasePool.h: ditto
5258 * Headers/gnustep/base/NSCalendarDate.h: ditto
5259 * Headers/gnustep/base/NSCharacterSet.h: ditto
5260 * Headers/gnustep/base/NSCoder.h: ditto
5261 * Headers/gnustep/base/NSConnection.h: ditto
5262 * Headers/gnustep/base/NSData.h: ditto
5263 * Headers/gnustep/base/NSDate.h: ditto
5264 * Headers/gnustep/base/NSDistantObject.h: ditto
5265 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto
5266 * Headers/gnustep/base/NSInvocation.h: ditto
5267 * Headers/gnustep/base/NSLock.h: ditto
5268 * Headers/gnustep/base/NSMethodSignature.h: ditto
5269 * Headers/gnustep/base/NSNotification.h: ditto
5270 * Headers/gnustep/base/NSObject.h: ditto
5271 * Headers/gnustep/base/NSProxy.h: ditto
5272 * Headers/gnustep/base/NSRunLoop.h: ditto
5273 * Headers/gnustep/base/NSSet.h: ditto
5274 * Headers/gnustep/base/NSTimeZone.h: ditto
5275 * Headers/gnustep/base/NSTimer.h: ditto
5276 * Headers/gnustep/base/NSURL.h: ditto
5277 * Headers/gnustep/base/NSUndoManager.h: ditto
5278 * Headers/gnustep/base/NSUserDefaults.h: ditto
5279 * Headers/gnustep/base/NSValue.h: ditto
5280 * Source/GSArray.m: ditto
5281 * Source/GSAttributedString.m: ditto
5282 * Source/GSCompatibility.m: ditto
5283 * Source/GSCountedSet.m: ditto
5284 * Source/GSDictionary.m: ditto
5285 * Source/GSFFCallInvocation.m: ditto
5286 * Source/GSFFIInvocation.m: ditto
5287 * Source/GSFormat.m: ditto
5288 * Source/GSHTTPURLHandle.m: ditto
5289 * Source/GSLocale.m: ditto
5290 * Source/GSMime.m: ditto
5291 * Source/GSSet.m: ditto
5292 * Source/GSString.m: ditto
5293 * Source/GSTcpPort.m: ditto
5294 * Source/GSUnixSSLHandle.m: ditto
5295 * Source/GSValue.m: ditto
5296 * Source/GSXML.m: ditto
5297 * Source/NSArchiver.m: ditto
5298 * Source/NSArray.m: ditto
5299 * Source/NSAssertionHandler.m: ditto
5300 * Source/NSAttributedString.m: ditto
5301 * Source/NSAutoreleasePool.m: ditto
5302 * Source/NSBitmapCharSet.m: ditto
5303 * Source/NSBundle.m: ditto
5304 * Source/NSCalendarDate.m: ditto
5305 * Source/NSCallBacks.m: ditto
5306 * Source/NSCharacterSet.m: ditto
5307 * Source/NSClassDescription.m: ditto
5308 * Source/NSCoder.m: ditto
5309 * Source/NSConnection.m: ditto
5310 * Source/NSCopyObject.m: ditto
5311 * Source/NSCountedSet.m: ditto
5312 * Source/NSData.m: ditto
5313 * Source/NSDate.m: ditto
5314 * Source/NSDateFormatter.m: ditto
5315 * Source/NSDebug.m: ditto
5316 * Source/NSDecimal.m: ditto
5317 * Source/NSDecimalNumber.m: ditto
5318 * Source/NSDictionary.m: ditto
5319 * Source/NSDistantObject.m: ditto
5320 * Source/NSDistributedLock.m: ditto
5321 * Source/NSDistributedNotificationCenter.m: ditto
5322 * Source/NSEnumerator.m: ditto
5323 * Source/NSException.m: ditto
5324 * Source/NSFileHandle.m: ditto
5325 * Source/NSFileManager.m: ditto
5326 * Source/NSFormatter.m: ditto
5327 * Source/NSGeometry.m: ditto
5328 * Source/NSHashTable.m: ditto
5329 * Source/NSHost.m: ditto
5330 * Source/NSInvocation.m: ditto
5331 * Source/NSLock.m: ditto
5332 * Source/NSLog.m: ditto
5333 * Source/NSMapTable.m: ditto
5334 * Source/NSMethodSignature.m: ditto
5335 * Source/NSNotification.m: ditto
5336 * Source/NSNotificationCenter.m: ditto
5337 * Source/NSNotificationQueue.m: ditto
5338 * Source/NSNull.m: ditto
5339 * Source/NSNumber.m: ditto
5340 * Source/NSNumberFormatter.m: ditto
5341 * Source/NSObjCRuntime.m: ditto
5342 * Source/NSPage.m: ditto
5343 * Source/NSPipe.m: ditto
5344 * Source/NSPort.m: ditto
5345 * Source/NSPortCoder.m: ditto
5346 * Source/NSPortMessage.m: ditto
5347 * Source/NSPortNameServer.m: ditto
5348 * Source/NSProcessInfo.m: ditto
5349 * Source/NSProtocolChecker.m: ditto
5350 * Source/NSProxy.m: ditto
5351 * Source/NSRange.m: ditto
5352 * Source/NSRunLoop.m: ditto
5353 * Source/NSScanner.m: ditto
5354 * Source/NSSerializer.m: ditto
5355 * Source/NSSet.m: ditto
5356 * Source/NSString.m: ditto
5357 * Source/NSTask.m: ditto
5358 * Source/NSThread.m: ditto
5359 * Source/NSTimeZone.m: ditto
5360 * Source/NSTimer.m: ditto
5361 * Source/NSURL.m: ditto
5362 * Source/NSURLHandle.m: ditto
5363 * Source/NSUnarchiver.m: ditto
5364 * Source/NSUndoManager.m: ditto
5365 * Source/NSUser.m: ditto
5366 * Source/NSUserDefaults.m: ditto
5367 * Source/NSValue.m: ditto
5368 * Source/NSZone.m: ditto
5369 * Source/Unicode.m: ditto
5370 * Source/UnixFileHandle.m: ditto
5371 * Source/WindowsFileHandle.m: ditto
5372 * Source/behavior.m: ditto
5373 * Source/callframe.m: ditto
5374 * Source/cifframe.m: ditto
5375 * Source/externs.m: ditto
5376 * Source/libgnustep-base-entry.m: ditto
5377 * Source/mframe.m: ditto
5378 * Source/o_array.m: ditto
5379 * Tools/AGSParser.m: ditto
5380 Ensure that initial comments in source code are sutogsdoc comments
5381 so copyright and author information will be used.
5382 Fix inconsistencies between arguments in headers and source files.
5383 Fix various bugs exposed by autogsdoc ... mostly cases where there
5384 is a semicolon after a method name in a method implementation
5385 (this is illegal, but the gcc compiler currently ignores it).
5386
5387 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5388
5389 * Tools/AGSHtml.m: Provide list of methods in each class.
5390 * Tools/AGSIndex.m: New method to list methods in a unit.
5391 * Tools/AGSIndex.h: New method to list methods in a unit.
5392 * Tools/AGSOutput.m: Support (name) syntax for specifying a protocol
5393 cross reference using [(name)-method]
5394 * Tools/autogsdoc.m: Improve documentation of method references.
5395 * Tools/AGSparser.m: Handle @class statements. Improve standardisation
5396 of the format of types.
5397
5398 2001-12-16 Richard Frith-Macdonald <rfm@gnu.org>
5399
5400 * Source/NSObject.m: Make initial comment an autogsdoc comment.
5401 * Tools/gsdoc-0_6_7.dtd: Fix protocol error reported by Adam
5402 * Tools/AGSHtml.h:
5403 * Tools/AGSHtml.m:
5404 * Tools/AGSIndex.h:
5405 * Tools/AGSIndex.m:
5406 * Tools/AGSOutput.h:
5407 * Tools/AGSOutput.m:
5408 * Tools/AGSParser.h:
5409 * Tools/AGSParser.m:
5410 * Tools/autogsdoc.m: Tidied initial comments to take advantage of
5411 new code to parse author and copyright details. Fixed several
5412 minor bugs in various parts of the software. Updated documentation.
5413
5414 2001-12-15 Fred Kiefer <FredKiefer@gmx.de>
5415
5416 * Tools/pl2link.m
5417 Better handling of MIME types.
5418
5419 2001-12-15 Richard Frith-Macdonald <rfm@gnu.org>
5420
5421 Many minor cleanups and bugfixes for autogsdoc. Alpha-test support
5422 for building base library documentation using autogsdoc ... lots of
5423 work remains to be done to improve the html output from autogsdoc
5424 and to add autogsdoc comments to the base library source code.
5425 * Tools/AGSIndex.h: improve merge control
5426 * Tools/AGSIndex.m: ditto
5427 * Tools/AGSHtml.h: new methods for cleaner indexing.
5428 * Tools/AGSHtml.m: ditto
5429 * Tools/AGSParser.m: minor bugfixes.
5430 Tools/GNUmakefile: Build autogsdoc documentation using autogsdoc.
5431 * Tools/autogsdoc.m: Fix minor dependency error. Fix for indexing
5432 where a version of the project being built is already installed.
5433 * Tools/gsdoc-0_6_7.dtd: Fix ivar support
5434 * Source/GSFFCallInvocation.m: minor debug output improvement.
5435 * Source/GNUmakefile: add basic instructions to build (but not install)
5436 documentation using autogsdoc. Don't want to install yet, as this is
5437 very much alpha-test stuff.
5438
5439 2001-12-13 Adam Fedor <fedor@gnu.org>
5440
5441 * Tools/pl2link.m: New file (from FredKiefer@gmx.de).
5442
5443 2001-12-12 Adam Fedor <fedor@gnu.org>
5444
5445 * Headers/gnustep/base/NSDebug.h: Include NSDebugLog functions
5446 when GSDIAGNOSE is defined.
5447
5448 2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
5449
5450 * Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
5451 the ([writeData:]) method do nothing until the page is reloaded,
5452 so its behavior is consistent with ([writeProperty:forKey:]) and
5453 can be used in conjunction with background loading (ie all I/O
5454 is done during the load).
5455 * Source/NSURL.m: load resource data after setting it to force I/O
5456
5457 2001-12-11 Manuel Guesdon <mguesdon@orange-concept.com>
5458
5459 * Source/NSString.m: corrected bug in +stringByTrimmingSpaces
5460 (there was an exception when the string contains only spaces).
5461
5462 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5463
5464 * Documentation/gsdoc/NSDistantObjectRequest.gsdoc: note that the
5465 class does not exist (and why).
5466
5467 2001-12-08 Gregory Casamento <greg_casamento@yahoo.com>
5468 * Source/GNUmakefile added SSL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
5469 to prevent build from failing when building from scratch.
5470
5471 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5472
5473 * Source/NSAttributedString.m: ([initWithCoder:]) fix typo.
5474
5475 2001-12-07 Adam Fedor <fedor@gnu.org>
5476
5477 * Headers/gnustep/base/NSDebug.h: Add NSDebugLog functions
5478 when GSWARN is defined (not DEBUG).
5479
5480 2001-12-07 Richard Frith-Macdonald <rfm@gnu.org>
5481
5482 * Source/GSHTTPURLHandle.m: Understand GSHTPPropertyBodyKey so we
5483 can set data to be posted in background.
5484
5485 2001-12-06 Richard Frith-Macdonald <rfm@gnu.org>
5486
5487 * Source/GNUmakefile: Add library dependencies for SSL bundle ...
5488 it needs libobjc and libgnustep-base to be linked.
5489 * Source/NSFileHandle.m: Only try to load SSL bundle if asked for.
5490
5491 Mon Dec 5 16:32:31 2001 Adam Fedor <fedor@yogi.doc.com>
5492
5493 * Source/GSHTTPURLHandle.m: Include sys/fcntl.h for O_WRONLY, etc
5494 (on Solaris).
5495
5496 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5497
5498 * Source/GNUmakefile: Add flags for SSL and rules to build bundle
5499 * Source/GSHTTPURLHandle.m: use +sslClass
5500 * Source/GSUnixSSLHandle.m: Extract SSL support for bundle to this file.
5501 * Source/Makefile.preamble: Add flags for SSL
5502 * Source/NSFileHandle.m: Add +sslClass and automated loading of bundle
5503 * Source/UnixFileHandle.m: Remove SSL support.
5504 * Headers/gnustep/base/NSFileHandle.h: Add +sslClass
5505 * Headers/gnustep/base/UnixFileHandle.h: Tidy a little.
5506 * config.mak.in: Add variables needed by SSL bundle
5507 * configure.in: Update to build SSL bundle by default.
5508 * configure: regenerated
5509 The above changes made to move SSL support into a bundle and add a
5510 +sslClass to NSFileHandle to return the class from the bundle if it
5511 is available. Changed the http url handle support to use this.
5512
5513 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5514
5515 * Source/NSValue.m: polish last set of changes -
5516 Optimisation ... cut memory allocation/deallocation to a minimum.
5517 Versioning ... set NSValue version number and attempt to decode
5518 old format objects.
5519 Simplification ... remove redundant code in placeholder class.
5520 Fixes ... allocate new objects in correct memory zone, I think a few
5521 others I forgot.
5522 * Source/NSNumberFormatter.m (-initWithCoder:): Avoid unnecessary
5523 autorelease/retain sequences. (-init): Fix illegal re-initialisation
5524 of initialised values and avoid unnecessary use of autorelease.
5525
5526 2001-12-03 Laurent Julliard <laurent@moldus.org>
5527
5528 * Source/NSNumberFormatter.m (-initWithCoder:): decoded objects
5529 must be retained
5530
5531 2001-12-03 Richard Frith-Macdonald <rfm@gnu.org>
5532
5533 * Source/NSValue.m: Fix coding/decoding to use serialization code to
5534 maintain byte order and word size compatibility.
5535 * Source/GSValue.m: ditto
5536 * Testing/values.m: added encoding/decoding tests.
5537 * Source/GSMime.m: Tidied handling of continuations a little.
5538 * Source/GSHTTPURLHandle.m: Added some debug logging.
5539
5540 Sat Dec 1 10:11:18 2001 Nicola Pero <n.pero@mi.flashnet.it>
5541
5542 * Makefile.postamble (base.make): Depend on configure.
5543 (config.mak): Idem.
5544
5545 Sat Dec 1 09:29:43 2001 Nicola Pero <n.pero@mi.flashnet.it>
5546
5547 * Makefile.postamble (base.make): New target.
5548 (config.mak): New target.
5549
5550 2001-11-29 Richard Frith-Macdonald <rfm@gnu.org>
5551
5552 * Source/NSScanner.m: Fix memory leak when initialised with something
5553 other than a constant string.
5554
5555 2001-11-28 Adam Fedor <fedor@gnu.org>
5556
5557 * Documentation/gsdoc/Base.gsdoc: Add NSLanguages summary.
5558
5559 2001-11-27 Richard Frith-Macdonald <rfm@gnu.org>
5560
5561 * Source/NSConnection.m: Put a limit of around a second on how long
5562 the delay between polling for incoming packets can grow to ...
5563 improve response on heavily loaded systems.
5564 * Source/GSHTTPURLHandle.m: ditto
5565 * Tools/autogsdoc.m: Tidied structure a little and added file
5566 modification date checks to see whether files should be regenerated
5567 or not.
5568
5569 2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
5570
5571 * Headers/Foundation/NSURL.h
5572 Declare NSNumber, so that it compiles without complaining.
5573
5574 2001-11-23 Laurent Julliard <laurent@julliard-online.org>
5575
5576 * Source/NSNumberFormatter.m (-encodeWithCoder:, -initWithCode:):
5577 fixed buggy encoder and decoder and code cleanup.
5578
5579 2001-11-22 Laurent Julliard <Laurent.Julliard@xrce.xerox.com>
5580
5581 * Headers/gnustep/base/Foundation.h: Fixed NSNumberFormatter.h
5582 missing.
5583
5584 Thu Nov 22 00:52:57 2001 Nicola Pero <n.pero@mi.flashnet.it>
5585
5586 * GNUmakefile (CVS_MODULE_NAME): Define.
5587
5588 2001-11-21 Richard Frith-Macdonald <rfm@gnu.org>
5589
5590 * Tools/AGSOutput.m:
5591 * Tools/AGSOutput.h:
5592 * Tools/AGSIndex.h:
5593 * Tools/AGSIndex.m:
5594 * Tools/AGSParser.h:
5595 * Tools/AGSParser.m:
5596 * Tools/AGSHtml.h:
5597 * Tools/AGSHtml.m:
5598 * Tools/autogsdoc.m: Many bugfixes and enhancements ... generate
5599 html as well as gsdoc.
5600
5601 2001-11-19 Richard Frith-Macdonald <rfm@gnu.org>
5602
5603 * Source/GSXML.m: Implement NSCopying protocol for most classes.
5604
5605 2001-11-19 Adam Fedor <fedor@gnu.org>
5606
5607 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Fix
5608 typo.
5609
5610 * Tools/gdomap.c (nameServer): Print strerror before exiting for
5611 more helpful message.
5612
5613 2001-11-13 Richard Frith-Macdonald <rfm@gnu.org>
5614
5615 * Source/NSUser.m:
5616 * Headers/Foundation/NSUserDefaults.h:
5617 * Documentation/gsdoc/NSUserDefaults.gsdoc:
5618 * Source/NSUserDefaults.m: Changed the method name +resetUserDefaults
5619 to be +resetStandardUserDefaults for compatibility with MacOS-X, which
5620 has now implemented an equivalent for the GNUstep method.
5621 * Source/NSPortNameServer.m: When removing a port, remove from
5622 internal name tables even if gdomap reports no name to unregister.
5623 In ([-removePort:]) retain set of names for duration of operation -
5624 fix suggested by Gerrit Van Dyk
5625
5626 2001-11-12 Richard Frith-Macdonald <rfm@gnu.org>
5627
5628 * Source/NSNumber.m: describe char and unsigned char as numbers
5629 rather than ascii characters. Use g format for floats.
5630 Use 'true' and 'false' for boolean output ... for MacOS-X compatibility.
5631 * Source/NSConcreteNumber.m: ditto
5632 * Source/GSFormat.m: Fix bug in formatting short integers - was trying
5633 to treat them as full sized.
5634 * headers/Foundation/NSString.h: Fix error in initWithFormat:locale:,...
5635 * Source/NSString.m: ditto ... was missing varargs
5636 * Documentation/gsdoc/NSNumber.gsdoc: document changes.
5637 * Documentation/gsdoc/NSString.gsdoc: document changes.
5638 * Testing/values.m: Added some number output tests.
5639 * Source/NSUserDefaults.m: Locking bug fixed ... was locking before
5640 lock had been created.
5641 * Source/libgnustep-base.def: Removed defunct class
5642 * Source/NSHost.m: Support initialisation with an address for which
5643 there is no corrsponding host name.
5644
5645 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5646
5647 * Documentation/gsdoc/Base.gsdoc:
5648 * Source/GSCompatibility.m:
5649 * Source/GSMime.m:
5650 * Source/GSUserDefaults.h:
5651 * Source/NSArray.m:
5652 * Source/NSCalendarDate.m:
5653 * Source/NSDate.m:
5654 * Source/NSDecimalNumber.m:
5655 * Source/NSDictionary.m:
5656 * Source/NSFileHandle.m:
5657 * Source/NSGeometry.m:
5658 * Source/NSLog.m:
5659 * Source/NSScanner.m:
5660 * Source/NSString.m:
5661 * Source/NSUserDefaults.m: Modify user defaults usage to cache some
5662 defaults used internally and provide private accessors for speed.
5663 Add default to force logging to be done via syslog since logging
5664 to stderr within code called via JIGS from a servlet engine may
5665 cause severe problems if the servlet engine is using descriptor 2
5666 for other purposes.
5667
5668 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5669
5670 * Source/GSMime.m: modifications made to support HTTP continuation
5671 responses for buggy webservers which send them when they shouldn't.
5672
5673 2001-11-08 Richard Frith-Macdonald <rfm@gnu.org>
5674
5675 * Source/GSHTTPHURLHandle.m: handle writing of nil properties and
5676 use of empty strings as proxy settings. Minimise delays when
5677 tunneling SSL
5678 * Source/UnixFileHandle.m: Improve error logging with ssl.
5679
5680 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5681
5682 * Headers/foundation/NSUserDefaults.h: Add _lock ivar
5683 * Source/NSUserDefaults.m: initial attempt at thread-safety.
5684
5685 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5686
5687 * Headers/Foundation/NSString.h: removed stringByTrimming...Whitespace
5688 methods as they just duplicate the stringByTrimming...Spaces
5689 * Source/NSString.m: ditto
5690 Optimised the space trimming methods - avoid using character sets and
5691 creating unnecessary intermediary objects.
5692
5693 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5694
5695 * Source/NSUserDefaults.m: force defaults data to be read/write
5696 only to the user. Supplied by Ludovic Marcotte
5697
5698 Wed Nov 7 09:04:51 2001 Nicola Pero <n.pero@mi.flashnet.it>
5699
5700 After this change you need the latest gnustep-make to compile.
5701 * Source/Makefile.postamble: Removed rules to manually compile
5702 NSInvocation.m, NSConnection.m and mframe.m.
5703 (mframe.m_FILE_FILTER_OUT_FLAGS): Set to filter out optimization
5704 flags when compiling mframe.m.
5705 (NSConnection.m_FILE_FILTER_OUT_FLAGS): Idem.
5706 (NSInvocation.m_FILE_FILTER_OUT_FLAGS): Idem.
5707
5708 2001-11-01 Adam Fedor <fedor@gnu.org>
5709
5710 * Source/NSData.m: Add an include to avoid some warnings.
5711
5712 Tue Oct 30 14:33:48 2001 Nicola Pero <nicola@brainstorm.co.uk>
5713
5714 * Testing/benchmark.m (bench_object): Added test showing that a
5715 call to super in a category method - no matter if a class or an
5716 instance method - has the same big performance hit that a class
5717 method invocation has - at least with the current GNU runtime.
5718
5719 2001-10-28 Adam Fedor <fedor@gnu.org>
5720
5721 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5722 Make NSLog message into fprintf to avoid recursion.
5723
5724 * Source/NSUserDefaults.m (pathForUser): Create ~/GNUstep/Library
5725 if it doesn't exist.
5726
5727 2001-10-26 Adam Fedor <fedor@gnu.org>
5728
5729 * configure (z): Check for gzseek in zlib since older zlibs don't
5730 have it. Fix check for LLONG_MAX (check if includes exist), same
5731 with uintmax_t
5732 * Source/GSFormat.h: Include stdint.h or inttypes.h if we have it.
5733 Proper check for LONG_LONG_MAX or LLONG_MAX.
5734
5735 2001-10-25 Adam Fedor <fedor@gnu.org>
5736
5737 * aclocal.m4 (AC_SYS_PROCFS): Typo fix, use AC_ARG_ENABLE. Make
5738 sure cache var is set to no if disabled.
5739 (AC_SYS_PROCFS_EXE_LINK): Likewise.
5740
5741 * configure.in: Check for LLONG_MAX. Check for -lcipher.
5742 (Patch from chrisv@web4inc.com with modifications).
5743 * Source/GSFormat.m: If we have LLONG_MAX, define LONG_LONG_MAX
5744 to match.
5745 * Source/NSScanner.m: Likewise.
5746
5747 2001-10-24 Richard Frith-Macdonald <rfm@gnu.org>
5748
5749 * configure.in: Check for zlib
5750 * Headers/gnustep/base/GSConfig.h.in: Define HAVE_ZLIB
5751 * Headers/gnustep/base/NSFileHandle.h: Add useCompression extension
5752 * Headers/gnustep/base/UnixFileHandle.h: ditto
5753 * Source/UnixFileHandle.m: Add support for read/write with compression
5754 using zlib. Activate with -useCompression
5755
5756 2001-10-19 Richard Frith-Macdonald <rfm@gnu.org>
5757
5758 * Headers/Foundation/NSNumberFormatter.h: ivars aded and updated.
5759 * Source/NSNumberFormatter.m: implemented dealloc, copy, coding and
5760 all the ivar setting/getting methods.
5761
5762 2001-10-18 Richard Frith-Macdonald <rfm@gnu.org>
5763
5764 * Source/NSString.m: ([+stringWithCString:]) check for nul pointer.
5765
5766 2001-10-17 Adam Fedor <fedor@gnu.org>
5767
5768 * configure.in (GNUSTEP_LDIR): Look for libobjc in
5769 .../$LIBRARY_COMBO first.
5770
5771 2001-10-16 Adam Fedor <fedor@gnu.org>
5772
5773 * Source/GNUmakefile: Strip drive names from paths.
5774
5775 * Source/GSXML.m: Add dummy GSXMLParser when not using libxml.
5776 * Source/NSBundle.m (_absolutePathOfExecutable:): Check for
5777 'Path' variable also (for Windows).
5778 * Source/NSUser.m (GSStringFromWin32EnvironmentVariable): New
5779 function.
5780 (NSHomeDirectoryForUser): Use it.
5781 (setupPathNames): Prepend systemDrive to compiled in root
5782 paths.
5783 (patches from stephen@brandonitconsulting.co.uk).
5784
5785 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5786 On (sparc && DEBUG) disable the setgrent functions which cause gdb
5787 to crash.
5788
5789 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5790
5791 * Source/GNUmakefile:
5792 * Source/GSXML.m:
5793 * Headers/Foundation/GSXML.h: Build and install dummy version if
5794 libxml is not available.
5795 * Tools/GNUmakefile:
5796 * Tools/AGSIndex.h:
5797 * Tools/AGSIndex.m:
5798 * Tools/AGSOutput.h:
5799 * Tools/AGSOutput.m:
5800 * Tools/AGSParser.h:
5801 * Tools/AGSParser.m:
5802 * Tools/autogsdoc.m: Many bugfixes and additions, bew code to
5803 generate indexes.
5804
5805 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5806
5807 * Tools/AGSOutput.m: Added new 'unit' pseudo-markup to permit
5808 control over chapter layout for a chapter containing class,
5809 category, or protocol documentation.
5810
5811 2001-10-14 Fred Kiefer <FredKiefer@gmx.de>
5812
5813 * Source/Unicode.m:
5814 In iconv_cstrtoustr() and iconv_ustrtocstr() report if a iconv
5815 conversion cannot be found. Also added a type convert to the iconv
5816 call, so that the compiler wont report a type mismatch.
5817
5818 2001-10-13 Adam Fedor <fedor@gnu.org>
5819
5820 * Headers/gnustep/base/NSPathUtilities.h (GSSystemRootDirectory):
5821 New function.
5822 * Source/GNUmakefile: Define GNUSTEP_LOCAL_ROOT and
5823 GNUSTEP_NETWORK_ROOT paths on compile line.
5824 * Source/NSUser.m (setupPathNames): Use compiled in paths as backup
5825 if environment variables not found.
5826 (GSStandardPathPrefixes): Make sure a non-nil result is returned.
5827 (GSSystemRootDirectory). Implement.
5828 * Source/NSDistributedNotificationCenter.m (_connect): Use it to
5829 find gdnc.
5830 * Source/NSPortNameServer.m (initialize): Use it to find gdomap.
5831
5832 2001-10-13 Richard Frith-Macdonald <rfm@gnu.org>
5833
5834 * Source/GSFFCallInvocation.m: Change #import to #include
5835 * Source/NSProtocolChecker.m: Change #import to #include
5836 * Testing/containers.m: Change #import to #include
5837 * Tools/AGSOutput.h: Return string rather than writing to file
5838 * Tools/AGSOutput.m: Return string rather than writing to file
5839 * Tools/autogsdoc.m: Hnalde file writing.
5840 * Tools/plmerge.m: Change #import to #include
5841
5842 2001-10-11 Richard Frith-Macdonald <rfm@gnu.org>
5843
5844 * Tools/GNUmakefile: Addend new files.
5845 * Tools/AGSOutput.h: Support class for autogsdoc
5846 * Tools/AGSOutput.m: ditto
5847 * Tools/AGSParser.h: ditto
5848 * Tools/AGSParser.m: ditto
5849 * Tools/autogsdoc.m: New tool to generate gsdoc files from ObjC
5850 header and source files. Uses comments with a '/**' prefix
5851 (like javadoc) to provide nice information about classes and/or
5852 methods.
5853 This is very much an initial/alpha version but it is already
5854 quite useful.
5855
5856 2001-10-06 Richard Frith-Macdonald <rfm@gnu.org>
5857
5858 * Source/NSConnection.m: Increase default timeouts to max value.
5859 Improve algorithm for polling for messages when waiting for a reply
5860 in multithreaded mode ... use fibonacci sequence for delays rather
5861 than doubling each time.
5862 * Headers/Foundation/NSConnection.h: Remove default timeout constant.
5863 * configure.in: Check for float.h, not for values.h
5864 * Documentation/gsdoc/NSConnection.gsdoc: updated.
5865
5866 2001-10-05 Richard Frith-Macdonald <rfm@gnu.org>
5867
5868 * NSTimeZones/NSTimeZones.tar: Updated to latest info.
5869
5870 2001-10-02 Richard Frith-Macdonald <rfm@gnu.org>
5871
5872 * Source/NSLog.m: _NSLog_standard_printf_handler() modified to output
5873 message as UTF8 data if it can't be done as ASCII
5874
5875 2001-09-27 Richard Frith-Macdonald <rfm@gnu.org>
5876
5877 * Source/NSString: setupQuotables() ... add several characters to the
5878 set of those valid in an unquoted string ... so read back of NSNumber
5879 values encoded as strings works ... problem reported by Rene Cornilis.
5880
5881 2001-09-26 Richard Frith-Macdonald <rfm@gnu.org>
5882
5883 * Source/GNUmakefile: install DistributedObjects.h in gnustep/base
5884 rather than Foundation .... but it's an internal header - should
5885 it be installed at all?
5886
5887 2001-09-25 Adam Fedor <fedor@gnu.org>
5888
5889 * configure.in: Typo in saving CPPFLAGS during iconv test.
5890
5891 2001-09-21 Adam Fedor <fedor@gnu.org>
5892
5893 * configure.in: Typo in iconv cached value.
5894 * Headers/gnustep/base/NSGeometry.h: Make const values static also.
5895 * Source/NSConnection.m: Remove obsolete BROKEN_NESTED code.
5896 * Source/Unicode.m: Dynamically determine best Unicode encoding.
5897
5898 2001-09-21 Richard Frith-Macdonald <rfm@gnu.org>
5899
5900 * Headers/gnustep/base/DistributedObjects.h:
5901 * Source/GSFFCallInvocation.m:
5902 * Source/NSConnection.m:
5903 * Source/NSInvocation.m:
5904 * Source/callframe.h:
5905 * Source/callframe.m:
5906 Modifications to callframe handling to store pointers to data to
5907 be freed in order to be able to tidy up after an exception ...
5908 Appears to cure memory leak in ffcall code.
5909 No fix yest for mframe or ffi code.
5910
5911 2001-09-20 Richard Frith-Macdonald <rfm@gnu.org>
5912
5913 * Testing/nsconnection_client.m: Added simple exception tests
5914 * Testing/nsconnection_server.m: Added simple exception tests
5915 * Testing/server.h: Added simple exception tests
5916
5917 2001-09-19 Richard Frith-Macdonald <rfm@gnu.org>
5918
5919 * Source/NSConnection.m: rewrite ethod call code.
5920 * Source/callframe.h: ditto
5921 * Source/callframe.m: ditto
5922 * Source/cifframe.h: ditto
5923 * Source/cifframe.m: ditto
5924 * Source/mframe.m: ditto
5925 * Source/mframe/mframe.head: ditto
5926 * Headers/gnustep/base/DistributedObjects.h: Adde new DOContext struct.
5927 Rewrite code for moving data to/from method call stackframes and
5928 encoding/decoding it. The functions to encode/decode each data item
5929 are no longer nested, and pass a context structure around which
5930 provides for more information to be passed between the various layers
5931 of the process so that the whole thing is thread-safe and we don't
5932 get cases where code in one place tries to work with an object that
5933 was released in another place.
5934 Tested pretty extensively for libffcall stuff, with the simple test
5935 programs for maframe, and not at all for libffi.
5936
5937 2001-09-19 Adam Fedor <fedor@gnu.org>
5938
5939 * configure.in: Put CPPFLAGS in quotes
5940
5941 2001-09-14 Adam Fedor <fedor@gnu.org>
5942
5943 * configure.in: Remove redundancies in iconv checking. Remove
5944 redundant AC_SUBST(LIBS) lines.
5945
5946 2001-09-12 Adam Fedor <fedor@gnu.org>
5947
5948 * Source/thr-pthread.m (objc_yield): Replace pthread_yield with
5949 sched_yield.
5950
5951 2001-09-11 Adam Fedor <fedor@gnu.org>
5952
5953 * configure.in: Make sure to subst HAVE_PTHREAD_H into config.mak
5954
5955 2001-09-08 Richard Frith-Macdonald <rfm@gnu.org>
5956
5957 * Source/GSCompatibility.m: GSXMLPlMake() unused argument removed.
5958 * Source/NSData.m: Unused and commented out XML plist code removed.
5959 * Source/NSString.m: ditto
5960 * Source/NSArray.m: Generate XML plists only when writing to file
5961 or to URL, not for the -description... methods.
5962 This is what MacOS-X does.
5963 * Source/NSDictionary.m: ditto
5964
5965 2001-09-05 Adam Fedor <fedor@gnu.org>
5966
5967 * configure.in: Define BROKEN_NESTED_FUNCTIONS if compiler sucks.
5968 * Source/NSArray.m (-sortedArrayUsingSelector:): Remove nested
5969 function.
5970 ([NSMutableArray -sortUsingSelector:]): Likewise.
5971 * Source/NSConnection.m (-forwardForProxy:selector:argFrame:):
5972 Use external encode/decode functions if BROKEN_NESTED_FUNCTIONS.
5973 (-forwardInvocation:forProxy:): Likewise.
5974 (-_service_forwardForProxy:): Likewise.
5975 * Source/mframe.m (mframe_build_return_opts): Remove and
5976 consolidate nested functions.
5977 (mframe_handle_return): Likewise.
5978
5979 2001-08-31 Adam Fedor <fedor@gnu.org>
5980
5981 * Resources/French/Localizable.strings: Update (from
5982 Michael Scheibler <michael.scheibler@onevision.de>).
5983
5984 Fri Aug 31 11:58:42 2001 Nicola Pero <nicola@brainstorm.co.uk>
5985
5986 * Documentation/gsdoc/NSFunctions.gsdoc: Documented the
5987 localization functions/macros: NSLocalizedString,
5988 NSLocalizedStringFromTable, NSLocalizedStringFromTableInBundle,
5989 NSLocalizedStaticString, _ and __.
5990
5991 2001-08-30 Adam Fedor <fedor@gnu.org>
5992
5993 * Tools/sfparse.m: Add code to convert files to Unicode.
5994 * Resources/German/Localizable.strings: Convert to Unicode.
5995 * Resources/French/Localizable.strings: Likewise.
5996
5997 Thu Aug 30 20:03:19 2001 Nicola Pero <n.pero@mi.flashnet.it>
5998
5999 * Source/objc-load.m (objc_load_module): Reset the load callbacks
6000 to 0 when we abort loading the module because of an error
6001 (Reported by Michael Scheibler <michael.scheibler@onevision.de>).
6002
6003 Thu Aug 30 13:08:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
6004
6005 * Documentation/gsdoc/NSObject.gsdoc: Added description of the
6006 class; documented alloc, allocWithZone:, class, new, dealloc
6007 methods.
6008
6009 2001-08-29 Adam Fedor <fedor@gnu.org>
6010
6011 * Source/objc-gnu2next.m (next_objc_msg_send): Fix incorrect def.
6012
6013 Mon Aug 28 23:45:15 2001 Nicola Pero <n.pero@mi.flashnet.it>
6014
6015 * Source/NSCalendarDate.m ([+dateWithString:calendarFormat:]):
6016 Call alloc on self, rather than on the hardcoded NSCalendarDate
6017 class, so it works in subclasses.
6018 ([+dateWithString:calendarFormat:locale:]): Idem.
6019 ([+dateWithYear:month:day:hour:minute:second:timeZone:]): Idem.
6020
6021 2001-08-28 Georg Fleischmann <georg@vhf.de>
6022
6023 * base/Source/NSCalendarDate.m [NSCalendarDate
6024 descriptionWithCalendarFormat:locale:]: make milliseconds
6025 work (%F)
6026
6027 2001-08-28 Adam Fedor <fedor@gnu.org>
6028
6029 * Headers/gnustep/base/objc-gnu2next.h: More defs.
6030 * Source/NSObject.m (-methodSignatureForSelector:): Use sel_get_type.
6031
6032 * Source/mframe.m (method_types_get_first_argument): New function.
6033 (method_types_get_sizeof_arguments): Likewise.
6034 * Source/objc-gnu2next.m (next_objc_msg_sendv): Use them.
6035
6036 2001-08-21 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6037
6038 * Source/GSFFCallInvocation.m: Clearified comments
6039 (gs_method_for_receiver_and_selector) added
6040 (GSInvocationCallback): Check if forwardInvocation: is
6041 implemented to avoid infinite recursion bug.
6042
6043 Fri Aug 24 12:34:56 2001 Nicola Pero <nicola@brainstorm.co.uk>
6044
6045 * Source/NSUserDefaults.m ([-__createArgumentDictionary]): Make
6046 sure we don't crash trying to parse an argument as a property
6047 list.
6048
6049 Fri Aug 24 10:23:02 2001 Nicola Pero <nicola@brainstorm.co.uk>
6050
6051 * Resources/Italian.lproj/Localizable.strings: New file.
6052 * Resources/GNUmakefile (LANGUAGES): Added Italian.
6053
6054 2001-08-21 Adam Fedor <fedor@gnu.org>
6055
6056 * Resources/English.lproj/Localizable.strings: New file
6057 * Resources/German.lproj/Localizable.strings: Likewise.
6058 * Resources/French.lproj/Localizable.strings: Likewise.
6059 * Resources/GNUmakefile: Install them. (files from
6060 michael.scheibler@onevision.de)
6061
6062 * config/config.loadtest.m: Make Test inheret from Object
6063 (Darwin objc checks that classes implement forward::).
6064 * config/config.objc.m: Likewise.
6065
6066 2001-08-20 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6067
6068 * Documentation/gsdoc/ NSPipe.{gsdoc, html}: this class has been
6069 forgotten
6070 * Documentation/gsdoc/{Base, NSObject, NSPort}.{gsdoc, html}:
6071 updates to the links to show NSPipe
6072
6073 2001-08-16 Richard Frith-Macdonald <rfm@gnu.org>
6074
6075 * Tools/gsdoc.m: ([-initWithFileName:]) call xmlKeepBlanksDefault(0)
6076 to handle change in recent libxml whitespace handling.
6077
6078 2001-08-10 Richard Frith-Macdonald <rfm@gnu.org>
6079
6080 * Source/NSDistantObject.m: Tidy method lookup code.
6081 * Source/NSString.m: Handle nil content when parsing xml elements.
6082
6083 2001-08-06 Willem Rein Oudshoorn <wim@xs4all.nl>
6084
6085 * Source/GSFFCallInvocation.m: Forwarding:
6086 thread safe, handle missing typeinformation better,
6087 performance improvement.
6088 Minor tidyups by RFM
6089
6090 2001-08-06 Richard Frith-Macdonald <rfm@gnu.org>
6091
6092 * Source/GSMime.m: ([-decodeData:fromRange:intoData:withContext:])
6093 One line fix suggested by Stephen Brandon
6094 * Source/GSMime.m: ([-_decodeBody:]) fix parsing multipart documents
6095 as there was an error in the logic for testing to see if the sub docs
6096 had been parsed correctly.
6097
6098 2001-08-03 Adam Fedor <fedor@gnu.org>
6099
6100 * Source/NSObject.m: Don't decl __objc_responds_to on Darwin
6101 * Source/NSProxy.m: Likewise.
6102
6103 2001-08-03 Richard Frith-Macdonald <rfm@gnu.org>
6104
6105 * Headers/Foundation/Unicode.h: API Change
6106 * Source/Unicode.m: API Change ... remove old string conversion
6107 functions and replace with two functions, both of which differentiate
6108 between lengths of the source strings and sizes of destination buffers.
6109 * Source/NSString.m: Update for changes to Unicode.[hm]
6110 * Source/GSString.m: Update for changes to Unicode.[hm]
6111
6112 2001-08-02 Richard Frith-Macdonald <rfm@gnu.org>
6113
6114 * Source/NSPortNameServer.m: Log the host we are connecting to
6115 when we produce a warning for a failure of a link to gdomap.
6116 * Source/GSHTTPURLHandle.m: ([-propertyForKeyIfAvailable:]) return
6117 nil if the property is not available.
6118
6119 2001-08-01 Richard Frith-Macdonald <rfm@gnu.org>
6120
6121 * Documentation/gsdoc/Base.gsdoc: Documented all the uses of
6122 environment variables I could find.
6123 * Source/NSUserDefaults.m: __createArgumentDictionary ... handle
6124 property lists as arguments correctly.
6125 * Source/NSUser.m: Added GSTooldDirectory to listable paths.
6126
6127 2001-07-31 Richard Frith-Macdonald <rfm@gnu.org>
6128
6129 * Source/GSFFCallInvocation.m: attempt to guess type signature
6130 when compiler gives us an untyped selector.
6131 * Headers/Foundation/NSObject.h: ASSIGN(), ASSIGNCOPY(), minor
6132 reordering to make these macros thread-safe.
6133
6134 2001-07-30 Adam Fedor <fedor@gnu.org>
6135
6136 * Headers/gnustep/base/NSObjCRuntime.h: Export additional functions
6137 and variables for Windows DLLs.
6138 * Headers/gnustep/base/NSObject.h: Likewise.
6139 * Headers/gnustep/base/Unicode.h: Likewise.
6140
6141 * Headers/gnustep/base/preface.h.in: Define __WIN32__ ifndef on
6142 MINGW32.
6143
6144 * Testing/nsarray.m: Use NSCParameterAssert.
6145 * Testing/nsconnection.m: Cleanup for MinGW/Cygwin.
6146
6147 Sat Jul 21 23:25:14 2001 Wim Oudshoorn
6148 * Source/NSHost.m ([NSHost +hostWithName:]):
6149 Added forgotten argument to NSLog().
6150
6151 2001-07-19 Richard Frith-Macdonald <rfm@gnu.org>
6152
6153 * Source/UnixFileHandle.m: Don't abort aread/write attempts that
6154 fail on EAGAIN or EINTR ... retry them instead. Avoid unexpected
6155 exceptions when trying to write a large volume of data quicker
6156 then the output device can handle.
6157 * Source/WindowsFileHandle.m: ditto
6158
6159 2001-07-19 Adam Fedor <fedor@gnu.org>
6160
6161 * Documentation/readme.texi: Explain the license for GNUstep more
6162 clearly.
6163 * README: Regen.
6164
6165 Thu Jul 19 12:41:22 2001 Nicola Pero <nicola@brainstorm.co.uk>
6166
6167 * config/config.objc.m: New file.
6168 * configure.in: Added new test to check whether Objective-C really
6169 works. If it doesn't, abort immediately telling the user to fix
6170 their compiler installation first.
6171 (AC_CHECK_HEADERS): Don't check for libguile.h
6172 * configure: Regenerated.
6173
6174 2001-07-17 Richard Frith-Macdonald <rfm@gnu.org>
6175
6176 * Source/Unicode.m: Removed bogus tests for character zero in
6177 string conversion functions ... OpenStep strings are not nul
6178 terminated, so the code terminated conversions prematurely.
6179
6180 Tue Jul 17 15:00:52 2001 Nicola Pero <nicola@brainstorm.co.uk>
6181
6182 * Makefile.postamble (after-distclean): Depend on
6183 remove-header-links; do not remove links here.
6184 (remove-header-links): New target removing header links; different
6185 implementation on mingw32 and on non-migw32. Do not remove
6186 Source/Foundation.
6187 (.PHONY): Added, with header-links and remove-header-links.
6188
6189 2001-07-16 Adam Fedor <fedor@gnu.org>
6190
6191 * Headers/gnustep/base/objc-gnu2next.h: New definitions for sel
6192 functions, rearrange some things.
6193 * Headers/gnustep/base/objc-load.h: Change category type for
6194 compatibility with NeXT.
6195 * Source/objc-load.m: Likewise.
6196
6197 * Source/GSCompatibility.m (+defaultsChanged:): Typo in method name.
6198
6199 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6200
6201 * Source/NSString.m: Finish off and enable XML property list code
6202 * Source/GSCompatibility.m: ditto
6203
6204 2001-07-16 Adam Fedor <fedor@gnu.org>
6205
6206 * Source/NSUserDefaults.m ([NSUserDefaults +userLanguages]): Put
6207 MINGW languages in array (Fix from "Michael Scheibler"
6208 <michael.scheibler@onevision.de>).
6209
6210 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6211
6212 * Source/NSArray.m: Added ([writeToURL:atomically:]) for
6213 MacOS-X compatibility
6214 * Source/NSDictionary.m: ditto
6215
6216 2001-07-15 Richard Frith-Macdonald <rfm@gnu.org>
6217
6218 * Source/NSProcessInfo.m: Added -processIdentifier for compatibility
6219 with MacOS-X
6220 * Source/NSTask.m: Added -processIdentifier, -suspend, and -resume
6221 for compatibility with MacOS-X
6222 * Source/NSPortNameServer.m: Modified removal methods to return a
6223 boolean success/failure status for MacOS-X compatibility.
6224
6225 2001-07-14 Adam Fedor <fedor@gnu.org>
6226
6227 * Headers/gnustep/base/objc-gnu2next.h: More function defs.
6228 * Headers/gnustep/base/objc-load.h (objc_get_symbol_path): Correct
6229 def to match function decl.
6230 * Source/NSDistantObject.m (-selectorTypeForProxy:): Declare
6231 variable in NeXT implementation.
6232 * Source/NSInvocation.m (-invokeWithTarget:): Special def for NeXT.
6233 * Source/thr-pthread.m: Add forward decl of __objc_thread_detach.
6234
6235 2001-07-12 Richard Frith-Macdonald <rfm@gnu.org>
6236
6237 * Source/NSAttributedString.m: ([addAttributes:range:]) corrected
6238 bogus range check (report by Michael Scheibler)
6239 * Source/NSString.m: ([descriptionWithLocale:...]) as special case
6240 quote strings beginning with a slash ... property lists can
6241 otherwise confuse strings with leading slashes as comments.
6242
6243 2001-07-11 Adam Fedor <fedor@gnu.org>
6244
6245 * Source/objc-load.m: Include objc-load.h on NeXT systems.
6246
6247 2001-07-11 Richard Frith-Macdonald <rfm@gnu.org>
6248
6249 * Source/NSFileManager.m: ([fileSystemRepresentationWithPath:])
6250 MINGW fix contributed by Michael Scheibler
6251
6252 2001-07-10 Richard Frith-Macdonald <rfm@gnu.org>
6253
6254 * Source/NSUserDefaults.m: Update date/time designations to arrays
6255 * Source/NSDate.m: Update to use date/time designation arrays.
6256
6257 2001-07-09 Richard Frith-Macdonald <rfm@gnu.org>
6258
6259 * Source/objc-load.m: Remove bogus include of objc-load.h
6260 on non-NeXT systems.
6261
6262 2001-07-09 Adam Fedor <fedor@gnu.org>
6263
6264 * configure.in: Check for pthread.h - for compiling on Darwin.
6265 * Source/GNUmakefile: Compile thr-pthread.m conditionally.
6266 * Source/thr-pthread.m: New file.
6267
6268 * Source/null-load.h (__objc_dynamic_get_symbol_path): New def.
6269 * Source/objc-load.m: Use NeXT load methods on Darwin.
6270
6271 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6272
6273 * Source/NSUser.m: NSSearchPathForDirectoriesInDomains() Set up
6274 default values if environment variables are missing.
6275 Use common code for getting path prefixes and search directories.
6276
6277 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6278
6279 * Source/NSData.m: readContentsOfFile() hack added to permit reading
6280 of files like those in the /proc filesystem which don't support
6281 lengths.
6282 * Source/NSString.m: ([-initWithFormat:locale:]) use dummy local
6283 variable to try to get compilation to work on alpha ... untested
6284 as I don't have an alpha system.
6285
6286 2001-07-02 Richard Frith-Macdonald <rfm@gnu.org>
6287
6288 * Source/NSString.m: Never init nocopy with null pointer - increase
6289 chance of double initialisation being detected.
6290
6291 2001-06-27 Richard Frith-Macdonald <rfm@gnu.org>
6292
6293 * Source/callframe.m: callframe_do_call_opts(),
6294 callframe_build_return_opts() fixed memory leaks.
6295 Performance improvements -
6296 callframe_from_info() use a single malloc to allocate memory for
6297 the entire callframe. callframe_free() use a single free()
6298 * Source/NSConnection.m: Wait only 0.1 millisecond for first try
6299 checking for events ... CPUs are getting faster.
6300 * Source/NSTimer.m: Set minimum timer to 0.1 milliseconds ...
6301
6302 2001-06-26 Adam Fedor <fedor@gnu.org>
6303
6304 * Source/NSUserDefaults.m (+userLanguages): On MingW systems, check
6305 locale for language name.
6306
6307 2001-06-26 Richard Frith-Macdonald <rfm@gnu.org>
6308
6309 * Source/NSSerializer.m: While deserializing, check strings to see
6310 if they are really unicode, and create cStrings if they are not.
6311 Minor memory usage optimisation.
6312
6313 2001-06-21 Richard Frith-Macdonald <rfm@gnu.org>
6314
6315 * Source/NSConnection.m: Change some deprecated runloop methods for
6316 standard ones.
6317 * Source/NSRunLoop.m: ([runMode:beforeDate:]) Check for task
6318 completion and send out notifications if required.
6319 * Source/NSTask.m: ([waitUntilExit]) schedule a timer so that the
6320 run loop waits rather than polling as fast as the CPU allows.
6321
6322 2001-06-20 Richard Frith-Macdonald <rfm@gnu.org>
6323
6324 * Source/NSTask.m: handleSignal() ... reset signal handler for
6325 systems that don't have BSD signal semantics.
6326 Report by jan trembulak
6327 * Source/GSString.m: getCString_c(), getCString_u() reverse logic
6328 of returning remaining range ... report by Michael Scheibler
6329
6330 2001-06-15 Adam Fedor <fedor@gnu.org>
6331
6332 * Version: 1.0.2
6333
6334 2001-06-15 Richard Frith-Macdonald <rfm@gnu.org>
6335
6336 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6337 Check for illegal paths as specified in the MacOS-X documentation.
6338 * Source/Makefile.postamble: Update to rebuild files for XML and SSL
6339 support when config.h changes.
6340
6341 2001-06-14 Richard Frith-Macdonald <rfm@gnu.org>
6342
6343 * Source/NSuserDefaults.m: Fix +resetUserDefaults to retain the
6344 NSRegistrationDomain information ... was losing it when this method
6345 was called in response to the user name being initially set.
6346 ([-registerDefaults:]) fix for when no dictionary found.
6347 Use NSLanguages rather than Languages as key for the languages list.
6348 * Source/NSUser.m: GSSetUserName() ... only reset the user defaults
6349 if the name is actually changed - and not if it is being initialised.
6350 When standardUserDefaults are first obtained, the user name should be
6351 initialised as part of that process anyway.
6352 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6353 Fix this method so it *doesn't* follow symbolic links.
6354 This makes it conform to the documentation and prevents
6355 accidental removal of entire directory hierarchies!
6356
6357 Wed Jun 13 19:43:16 2001 Nicola Pero <n.pero@mi.flashnet.it>
6358
6359 * Source/NSFileManager.m
6360 ([-createSymbolicLinkAtPath:pathContent:]): Fixed - the call to
6361 symlink was using old path instead of new path and viceversa.
6362
6363 2001-06-12 Adam Fedor <fedor@gnu.org>
6364
6365 * Documentation/news.texi: Update
6366
6367 * Documentation/gsdoc/NSArray.gsdoc: Updates (from
6368 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>).
6369
6370 2001-06-11 Adam Fedor <fedor@gnu.org>
6371
6372 * configure.in (enable-openssl): New option, disabled by default.
6373 * Documentation/install.texi: document it.
6374
6375 2001-06-09 Adam Fedor <fedor@gnu.org>
6376
6377 * Source/externs.m: Change definition of exception strings and some
6378 functions to match headers.
6379
6380 2001-06-09 Richard Frith-Macdonald <rfm@gnu.org>
6381
6382 * Source/NSString.m: parseQuotedString() ... fix for parsing octal
6383 and hex escape sequences.
6384
6385 2001-06-09 Nicola Pero <n.pero@mi.flashnet.it>
6386
6387 * configure.in (VERSION): Output a message saying that we are
6388 checking for the version, and which version we find.
6389
6390 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6391
6392 * Source/NSConnection.m: Control caching of port coders by a simple
6393 boolean, and disable it by default.
6394
6395 2001-06-07 Adam Fedor <fedor@gnu.org>
6396
6397 * aclocal.m4: Add special case for cygwin in CON_AUTOLOAD.
6398
6399 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6400
6401 * Source/GSAttributedString.m: When caching attribute dictionaries
6402 we make an immutable copy of the dictionary with shallow copy.
6403
6404 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6405
6406 Configuration part of constant string support with gcc-3.0
6407 * config/config.constant-string-class.m: New config test.
6408 * configure.in: Added test for -fconstant-string-class option in
6409 compiler, by compiling and running config.constant-string-class.m.
6410 Output different NX_CONST_STRING_CLASS and
6411 NX_CONST_STRING_CPPFLAGS depending on results of this test.
6412 * base.make.in (CONFIG_SYSTEM_INCL): Added
6413 NX_CONST_STRING_CPPFLAGS.
6414 * Headers/gnustep/base/GSConfig.h.in: Renamed NXCONST to
6415 NX_CONST_STRING_CLASS.
6416 * configure: Updated.
6417
6418 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6419
6420 * Source/NSScanner.m: ([scanHexInt:]) fix for scanning number
6421 consisting just of a zero. Reported by Tom Koelman
6422
6423 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6424
6425 Changes for constant string support with gcc-3.0
6426 * configure.in: Just substitute NXCONST
6427 * Headers/gnustep/base/GSConfig.h.in: Use NXCONST to redefine
6428 NXConstantString
6429 * Headers/gnustep/base/NSString.h: new constantStringClass method.
6430 * Source/GSString.m: new constantStringClass method.
6431 * Source/NSObject.m: Use NSConstantStringClass.
6432 * Source/NSScanner.m: Use NSConstantStringClass.
6433 * Source/NSString.m: implement constantStringClass method.
6434
6435 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6436
6437 * Source/mframe.m: Reactivated inling nested functions after
6438 gcc 3.0 was fixed to compile them again.
6439
6440 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6441
6442 * GNUmakefile: If GNUSTEP_MAKEFILES is not set, tell the user it
6443 needs to source GNUstep.sh and then exit with an error.
6444
6445 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6446
6447 * Source/mframe.m: Disabled inlining of nested functions. This
6448 should allow gnustep-base to be compiled using gcc 3.0.
6449
6450 2001-06-05 Richard Frith-Macdonald <rfm@gnu.uk>
6451
6452 * Source/GSString.m: ([replaceCharactersInRange:withString:])
6453 Fix error appending unicode string to C string.
6454
6455 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6456
6457 * Source/NSString.m: Patch by David Relson applied
6458
6459 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6460
6461 Optimisations suggested by Guenther Fuerthaller
6462 * Source/NSZone.m: NSZonefromPointer() check for empty zones
6463 list before locking.
6464 * Source/NSData.m: more efficient dealloc implementation for
6465 NSMutableDataMalloc.
6466
6467 2001-06-01 Nicola Pero <nicola@brainstorm.co.uk>
6468
6469 * Source/NSCalendarDate.m
6470 ([-descriptionWithCalendarFormat:locale:]): Fixed %w (day of the
6471 week) to output a single digit number rather than a two digit one.
6472
6473 2001-05-31 Adam Fedor <fedor@gnu.org>
6474
6475 * Headers/gnustep/base/NSObjCRuntime.h (GSLastErrorStr): Define new
6476 OS-independant strerror like function.
6477 * Source/GSFormat.m: Use it.
6478 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDistributedLock.m,
6479 Source/NSFileManager.m, Source/NSPipe.m, Source/NSRunLoop.m,
6480 Source/NSTask.m, Source/UnixFileHandle.m, Source/WindowsFileHandle.m:
6481 Likewise.
6482 * Source/NSObjCRuntime.m (GSLastErrorStr): New function
6483 (suggestion from "Michael Scheibler" <michael.scheibler@onevision.de>).
6484
6485 * Headers/gnustep/base/behavior.h: Include objc-class.h on
6486 NeXT_RUNTIME.
6487 * Headers/gnustep/base/objc-gnu2next.h: New inline functions.
6488 * Source/NSDistantObject.m (-selectorTypeForProxy): Simplify
6489 NeXT_RUNTIME implementation.
6490
6491 2001-05-29 Adam Fedor <fedor@gnu.org>
6492
6493 * Version: 1.0.1
6494
6495 * Resources/Languages/Dutch: New file (from Dennis Leeuw
6496 <dleeuw@made-it.com>).
6497
6498 2001-05-28 Adam Fedor <fedor@gnu.org>
6499
6500 * Headers/gnustep/base/objc-gnu2next.h (class_is_class): New.
6501 * Source/NSAssertionHandler.m (-handleFailureInMethod...): Use
6502 OpenStep functions to get class/sel names.
6503 * Source/NSBundle.m (+initialize): NeXT_RUNTIME method to find
6504 classes.
6505
6506 2001-05-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6507
6508 * Source/NSDebug.m (_NSPrintForDebugger): new function to support print
6509 object (po) cmd of gdb.
6510
6511 2001-05-25 Adam Fedor <fedor@gnu.org>
6512
6513 * configure.in: Use -lobjc with NeXT_RUNTIME.
6514 * Headers/gnustep/base/behavior.h: Include objc.h on NeXT_RUNTIME.
6515
6516 * Source/GSFormat.m: Replace assert with NSCParameterAssert
6517
6518 2001-05-23 Adam Fedor <fedor@gnu.org>
6519
6520 * configure.in: Check for libgiconv
6521 * Unicode.m: Include giconv.h if available.
6522
6523 2001-05-22 Adam Fedor <fedor@gnu.org>
6524
6525 * configure.in: Check CPP handling of LONG_LONG_MAX
6526 * Source/GSFormat.m: Undef LONG_LONG_MAX if not handled
6527
6528 * Source/GSeq.h: Set static selectors to NULL.
6529 * Source/NSString.m (+initialize): Set selectors here instead.
6530 * Source/GSString.m (setup): ...And here.
6531
6532 2001-05-22 Richard Frith-Macdonald <rfm@gnu.org>
6533 * Headers/Foundation/NSSet.h: Added ([-setSet:])
6534 * Source/GSSet.m: Optimise ([-unionSet:])
6535 * Source/GSArray.m: Tidy NSWarnMLog macros.
6536 * Source/GSAttributedString.m: ditto
6537 * Source/GSCountedSet.m: ditto
6538 * Source/GSDictionary.m: ditto
6539 * Source/NSArray.m: ditto
6540 * Source/NSDictionary.m: ditto
6541 * Source/NSSet.m: Implement ([-setSet:])
6542
6543 2001-05-18 Richard Frith-Macdonald <rfm@gnu.org>
6544
6545 * Source/NSDate.m: check for nil dates in some init methods so
6546 we return nil on initialisation failure rather than raising an
6547 exception. I believe that init failures should deallocate their
6548 objects and return nil.
6549 * Source/NSArray.m: ([-initWithContentsOfFile:]) include filename in
6550 NSWarnMLog() message.
6551 * Source/NSDictionary.m: ([-initWithContentsOfFile:]) use NSWarnMLog
6552
6553 2001-05-14 Adam Fedor <fedor@gnu.org>
6554
6555 * Headers/gnustep/base/objc-gnu2next.h: Add apply_t prototype.
6556 * Source/objc-gnu2next.m: Include stdio.h.
6557 * Source/GSFormat.m: Don't compare LONG_LONG_MAX if not defined
6558
6559 2001-05-15 Richard Frith-Macdonald <rfm@gnu.org>
6560
6561 * Source/NSString.m: ([stringByDeletingPathExtension]) rewrite to
6562 conform to MacOS-X documentation.
6563 ([pathComponents]) ditto.
6564 * Headers/Foundation/NSInvocation.h: Added extra methods for
6565 setting an invocation to invoke super implementation of method.
6566 * Source/NSInvocation.m: Added extra methods for
6567 setting an invocation to invoke super implementation of method.
6568 * Source/GSFFCallInvocation.m: support invoke of super implementation.
6569
6570 2001-05-14 Adam Fedor <fedor@gnu.org>
6571
6572 * Headers/gnustep/base/objc-gnu2next.h: Add error prototypes.
6573 * Source/objc-gnu2next.m: Include preface.h, define error funcs.
6574
6575 2001-05-12 Richard Frith-Macdonald <rfm@gnu.org>
6576
6577 * Source/NSObject.m: Removed some unused obsolete code.
6578 * Source/NSProxy.m: Modified ([methodSignatureForSelector:]) and
6579 ([respondsToSelector:]) to work for existing methods and raise
6580 exception for non-existant methods. The MacOS-X docs says they raise
6581 exceptions, but I think it makes sense for them to work for methods
6582 that are actually implemented in the proxy.
6583
6584 2001-05-11 Adam Fedor <fedor@gnu.org>
6585
6586 * Source/NSArchiver.m ([NSArchiver -encodeValueOfObjCType:at:]): Use
6587 signed char to encode _C_CHR.
6588 * Source/NSPortCoder.m ([NSPortCoder -decodeValueOfObjCType:at:]):
6589 Be lenient about decoding [un]signed chars.
6590 * Source/NSUnarchiver.m: Likewise.
6591 * Source/GSTemplateValue.m (-encodeWithCoder:): Use signed char to
6592 encode/decode type info.
6593 * Source/GSValue.m: Likewise.
6594 * Source/NSConcreteNumber.m: Likewise.
6595 * Source/NSNumber.m: Likewise.
6596 * Source/NSValue.m: Likewise.
6597
6598 2001-05-10 Richard Frith-Macdonald <rfm@gnu.org>
6599
6600 * Source/NSConnection.m: Use respondsToSelector rather than respondsTo
6601 * Source/NSRunLoop.m: ditto ... and tidy up categories to avoid
6602 compiler warnings.
6603 * Source/NSAutoreleasePool.m: Add ([+freeCache]) method to clear out
6604 the cache of pools in the current thread.
6605 * Documentation/gsdoc/NSAutoreleasePool.gsdoc: basic class
6606 documentation inlcuding normal GNUstep extensions.
6607
6608 2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
6609
6610 * Tools/gdomap.c: Fixes to last modifications - provided by
6611 Chris B Vetter.
6612 * Source/NSString.m: Fix memory allocation of a unichar buffer to
6613 correct size.
6614 * Source/NSPipe.m: Log an error if we can't open a new pipe.
6615 * Source/NSTask.m: Slight tidyup
6616
6617 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6618
6619 * Source/NSObject.m (GSGetValue): Call handleQueryWithUnboundKey:
6620 rather than handleTakeValue:forUnboundKey: when no property
6621 binding is found.
6622
6623 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6624
6625 * configure.in: Abort if GNUSTEP_SYSTEM_ROOT is empty, printing a
6626 message saying that you must run the GNUstep configuration script
6627 before configuring the base library.
6628 * configure: Regenerated.
6629
6630 2001-05-04 Adam Fedor <fedor@gnu.org>
6631
6632 * Headers/gnustep/base/objc-gnu2next.h: Add arglist_h def. Add
6633 encoding functions defs.
6634 * Source/mframe.m: Include stdio and ctype.
6635 * Source/mframe/mframe.foot (mframe_arg_addr): Use marg_getRef if
6636 NeXT_RUNTIME.
6637
6638 2001-05-04 Richard Frith-Macdonald <rfm@gnu.org>
6639
6640 * Source/NSDate.m: GSTimeNow() remove volatile typespec and move
6641 initialisation of interval in the hope of fixing a problem with
6642 float operations. In any case, the code is tidier.
6643 * Tools/gdomap.c: If started as root, try to become user nobody
6644 before resorting to uid -2 (like NFS).
6645
6646 2001-05-03 Adam Fedor <fedor@gnu.org>
6647
6648 * configure.in: Don't use -lobjc with NeXT_RUNTIME. Check for -lm.
6649
6650 * Headers/gnustep/base/objc-gnu2next.h: Add sel_register_name
6651 * Source/behavior.m: Add define hacks for Darwin.
6652
6653 2001-05-03 Richard Frith-Macdonald <rfm@gnu.org>
6654
6655 * Source/NSObject: ([+initialize]) Move GSSetLocale() after platform
6656 specific code with conditionally compiled variable declarations.
6657 Should make this work on BSD and MINGW again.
6658
6659 2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6660
6661 * Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
6662 code bug introduced by the call of GSSetLocaleC().
6663
6664 Wed May 2 13:19:13 2001 Nicola Pero <nicola@brainstorm.co.uk>
6665
6666 * Source/UnixFileHandle.m (id): Redefine `id' when including
6667 openssl header files to avoid syntax errors from 3.x serie gcc
6668 compilers.
6669
6670 2001-05-02 Richard Frith-Macdonald <rfm@gnu.org>
6671
6672 * Source/NSTimeZone: ([-initWithName:]) fix for trivial locking bug.
6673
6674 2001-04-30 Adam Fedor <fedor@gnu.org>
6675
6676 * Source/behavior.m: Rewrite to work with NeXT runtime.
6677 * Headers/gnustep/base/objc-gnu2next.h: Add some extra translations.
6678
6679 2001-04-30 Richard Frith-Macdonald <rfm@gnu.org>
6680
6681 * Source/NSString.m: parseQuotedString() handle \U escape sequences
6682 of eight digit hex encoded unicode values.
6683 ([descriptionWithLocale:indent:to@]) handle unicode strings by using
6684 \U escape sequences in output C string.
6685
6686 2001-04-28 Fred Kiefer <FredKiefer@gmx.de>
6687
6688 * Source/NSString.m:
6689 Corrected bug in last optimization for the parsing of property
6690 list. Now the bitmap representation is retained not the
6691 characterset itself. This did cause undeterministic problems when
6692 reading in the Info.plist.
6693
6694 2001-04-28 Richard Frith-Macdonald <rfm@gnu.org>
6695
6696 * Source/NSLog.m: Use RETAIN/RELEASE
6697 * Source/GSLocale.m: Set up NSDecimalSeparator and NSThousandsSeparator
6698 from locale if possible. Fix bug dereferencing nil pointer.
6699 * Source/GSFormat.m: Hack to rewrite output from sprintf of floats and
6700 doubles to use the value in NSDecimalSeparator.
6701
6702 2001-04-27 Nicola Pero <n.pero@mi.flashnet.it>
6703
6704 * Source/NSString.m: Minor optimization for parsing property
6705 lists: cache the bitmap representation of hexdigit, quotable and
6706 whitespace character sets, and use it directly to determine
6707 whether a character is member or not of these sets.
6708
6709 2001-04-26 Richard Frith-Macdonald <rfm@gnu.org>
6710
6711 * Source/NSString.m: ([+initialize]) protect with flag so it is safe
6712 to call this method more than once.
6713 * Source/externs.m: GSBuildStrings() call +initialize method for
6714 NSString to ensure that the class is properly initialised even if
6715 this function has been called from NSObjects +initialize, which was
6716 in turn called in preparation for NSString initialisation!
6717
6718 2001-04-25 Adam Fedor <fedor@gnu.org>
6719
6720 * configure.in: Much simplified NeXT checks. Just use LIBRARY_COMBO
6721 to check runtime.
6722 * Source/o_vscanf.c: Remove objc-gnu2next.h
6723
6724 2001-04-25 Richard Frith-Macdonald <rfm@gnu.org>
6725
6726 * Headers/Foundation/GSXML.h: Many changes to restore encapsulation
6727 of libxml previously broken by someone... Partly as a matter of
6728 good OO programming practice, partly so that the library can be
6729 used effectively from Java (via JIGS).
6730 Moved libxml header includes out of this file.
6731 Removed typedefs for libxml constants and changed 'type' methods
6732 to return 'int'.
6733 Added class methods for mapping between integer type values
6734 and constant string type values.
6735 Added a typeDescription method to GSXMLAttribute for consistency.
6736 * Source/GSXML.m: include required headers and update to implement
6737 changes in API. Also fixed bug in implementation of typeDescription
6738 method for GSXMLNamespace.
6739 * Documentation/gsdoc/GSXMLNode.gsdoc: Updated to reflect current API
6740 * Documentation/gsdoc/GSXMLNamespace.gsdoc: ditto
6741 * Documentation/gsdoc/GSXMLAttribute.gsdoc: ditto
6742
6743 2001-04-25 Nicola Pero <nicola@brainstorm.co.uk>
6744
6745 * base.make.in: (GNUSTEP_BASE_VERSION),
6746 (GNUSTEP_BASE_MAJOR_VERSION), (GNUSTEP_BASE_MINOR_VERSION),
6747 (GNUSTEP_BASE_SUBMINOR_VERSION): New variables providing the
6748 gnustep-base version.
6749
6750 2001-04-24 Adam Fedor <fedor@gnu.org>
6751
6752 * Headers/gnustep/base/objc-gnu2next.h: Remove TypedStream defs
6753
6754 2001-04-24 Richard Frith-Macdonald <rfm@gnu.org>
6755
6756 * Source/NSObject.m: Fixes for string capitalisation in
6757 key-value methods.
6758
6759 2001-04-23 Adam Fedor <fedor@gnu.org>
6760
6761 * configure.in: Simplify NeXT checks.
6762 * Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
6763 * Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
6764 * Source/o_vscanf.c: include objc-gnu2next.h
6765 * Source/NSConnection.m: Fix test for NeXT_RUNTIME define.
6766 * Source/NSDistantObject.m: Likewise.
6767 * Source/callframe.m: Likewise.
6768 * Source/cifframe.m: Likewise.
6769 * Source/mframe.m: Likewise.
6770
6771 2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
6772
6773 * Testing/benchmark.m (bench_object): Use a choice of the 10 more
6774 used classes when benchmarking class method invocation, rather
6775 than always using `NSObject'. Added bench for NSClassFromString.
6776
6777 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6778
6779 * Source/GSValue.m ([-getValue:]): Fixed typo - was raising
6780 exception on non-NULL buffer rather than NULL.
6781
6782 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6783
6784 * Source/NSBundle.m ([+initialize]): Fixed segmentation fault when
6785 NSSearchPathForDirectoriesInDomains returns an empty array. This
6786 used to appear when GNUSTEP_SYSTEM_ROOT was unset.
6787 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Read
6788 GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT and
6789 GNUSTEP_USER_ROOT only once, then cache them. Do not crash if
6790 some of them are nil. If GNUSTEP_SYSTEM_ROOT is nil, fprintf a
6791 log message, and try using /usr/GNUstep/System. Use new ADD_PATH
6792 macro to simplify code. Autorelease returned array which was
6793 previously leaked.
6794
6795 2001-04-22 Georg Fleischmann
6796
6797 * Source/GSAttributedString.m:
6798 ([replaceCharactersInRange:withString:])
6799 recalculate effective range after removing attributes.
6800
6801 2001-04-23 Richard Frith-Macdonald <rfm@gnu.org>
6802
6803 * Source/GSLocale.m: Only call setlocale() in GSSetLocaleC()
6804 * Source/NSObject.m: ([+initialize]) call GSSetLocaleC() after other
6805 initialisation, to try to ensure that locale stuff is set up early
6806 before any attempt is made to use locale dependent code.
6807 * Source/NSString.m: ([-stringByExpandingTildeInPath:]) fix suggested
6808 by David Wetzel.
6809 * Source/GSValue.m: Fix abort when initialising value with illegal
6810 type. Also fix all other uses of objc_sizeof_type(), add some checks
6811 to conform to documentation, and some optimisations.
6812
6813 2001-04-22 Nicola Pero <n.pero@mi.flashnet.it>
6814
6815 * Testing/benchmark.m: Modified messages to give a better idea of
6816 the order of magnitudes involved; added benchmarks for
6817 retain/release, autorelease/retain and locking/unlocking.
6818
6819 2001-04-21 Nicola Pero <n.pero@mi.flashnet.it>
6820
6821 * Source/NSString.m ([-fileSystemRepresentation]): Cache the
6822 default file manager.
6823
6824 2001-04-21 Richard Frith-Macdonald <rfm@gnu.org>
6825
6826 * config/config.proccmd.c: New test for behavior of /proc cmdline
6827 * acconfig.h: New CMDLINE_TERMINATED constant
6828 * configure.in: Use test to set CMDLINE_TERMINATED
6829 * configure: regenerated
6830 * Headers/Foundation/config.h.in: regenerated
6831 * Source/NSProcessInfo.m : ([+load]) modified to use CMDLINE_TERMINATED
6832 to decide how to use /proc/$$/cmdline when determining process args.
6833 Should now work 100% on all linux versions I hope.
6834
6835 2001-04-20 Richard Frith-Macdonald <rfm@gnu.org>
6836
6837 * Source/NSData.m ([NSMutableDataMalloc
6838 -replaceBytesInRange:withBytes:]): Check length, not capacity!
6839 Conform to documentation, and avoid possibility of 'hole' in data.
6840 * Source/NSInvocation.m: _get_arg() indirection fix suggested by
6841 Michael Scheibler.
6842
6843 2001-04-20 Nicola Pero <n.pero@mi.flashnet.it>
6844
6845 * Source/NSFileManager.m (NSDirectoryEnumerator): Rewritten to be
6846 faster. ([NSFileManager -directoryContentsAtPath:]),
6847 ([NSFileManager -subpathsAtPath:]): Use the new init method for
6848 NSDirectoryEnumerator. ([NSFileManager
6849 -contentsEqualAtPath:andPath:]): Spare some method calls.
6850 ([NSFileManager -fileSystemRepresentationWithPath:]): Cleaned
6851 preprocessor directives.
6852 * Headers/gnustep/base/NSFileManager.h (NSDirectoryEnumerator):
6853 Changed ivars in sync.
6854
6855 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6856
6857 * Documentation/gsdoc/NSFunctions.gsdoc: Documented
6858 GSDebugAllocation* functions.
6859 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Fixed syntax error.
6860 * Documentation/gsdoc/*.html: Regenerated.
6861
6862 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6863
6864 To help with debugging memory leaks, you can now ask to the
6865 library to track all allocated instances of a certain class.
6866 * Source/NSDebug.m (table_entry): Added fields to allow recording
6867 the list of allocated instances if required.
6868 (GSDebugAllocationActiveRecordingObjects): New function.
6869 (GSDebugAllocationAdd): Modified to take an additional argument -
6870 the object being allocated -, and to record it in the list of
6871 instances for the class if recording instances of that class has
6872 been activated.
6873 (GSDebugAllocationRemote): Add a similar additional argument;
6874 remove the object from the list of instances if recording
6875 instances is activated.
6876 (GSDebugAllocationListRecordedObjects): New function.
6877 * Source/NSObject.m: Updated all occurrences of
6878 GSDebugAllocationAdd and GSDebugAllocationRemove to pass the
6879 allocated/removed object as well.
6880 * Headers/gnustep/base/NSDebug.h: Updated.
6881
6882 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6883
6884 * Source/GSTcpPort.m ([GSTcpPort -dealloc]): Fixed memory leak:
6885 release address string.
6886
6887 2001-04-19 Richard Frith-Macdonald <rfm@gnu.org>
6888
6889 * Source/NSTask.m: Tidied code a little, added safety checks for
6890 usePseudoTerminal method.
6891 * Source/NSData.m: ([writeToFile:atomically:]) create new files
6892 with permission 0644 modified by umask.
6893 Init tmppath for MINGW.
6894 * Tools/gsdoc.m: Use memory management macros and attempt to get
6895 back to something like conformance with coding standards.
6896 * Documentation/gsdoc/NSTask.gsdoc: documentation fleshed out.
6897
6898 2001-04-16 Adam Fedor <fedor@gnu.org>
6899
6900 * aclocal.m4: Detect the xm2-config script.
6901
6902 2001-04-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6903
6904 * configure.in: fixed fake main for 'new' FreeBSD targets.
6905
6906 2001-04-13 Adam Fedor <fedor@gnu.org>
6907
6908 * Source/GSFFCallInvocation.m (GSInvocationCallback): Generate
6909 an exception for an invalid selector.
6910
6911 2001-04-12 Adam Fedor <fedor@gnu.org>
6912
6913 * Headers/gnustep/base/NSObjCRuntime: Revert to using class_pointer.
6914 * Headers/gnustep/base/objc-gnu2next.h: Redefine class_pointer.
6915
6916 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6917
6918 * Source/NSProcessInfo.m ([load]): Fixed single line change somehow
6919 missed from last patch.
6920
6921 2001-04-12 Adam Fedor <fedor@gnu.org>
6922
6923 * Headers/gnustep/base/NSLock.h: Include thrmach.h if NeXT_RUNTIME.
6924 * Headers/gnustep/base/NSThread.h: Likewise.
6925 * Headers/gnustep/base/NSObjCRuntime: Include objc-gnu2next.h if
6926 NeXT_RUNTIME, use common objc functions for compatibility.
6927 * Headers/gnustep/base/objc-gnu2next.h: Update, simplify.
6928 * Headers/gnustep/base/thr-mach.h: New file
6929 * Source/thr-mach.m: New file
6930 * Source/GNUmakefile: Update to conditionally compile NeXT files
6931
6932 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Update.
6933
6934 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6935
6936 * Source/NSString.m: For efficiency, use _DefaultStringEncoding
6937 throughout, rather than calling +defaultCStringEncoding. This is
6938 safe since the documentation explicitly states that the encoding
6939 cannot be changed programmatically ... so we don't have to worry
6940 about someone adding a category to change that.
6941 When converting data to/from strings, optimise to simple cString
6942 stuff if the specified encoding is the defautl encoding.
6943 Tidied some stuff to conform better to coding standards.
6944 * Source/Unicode.m GetDefEncoding(): prohibit UTF8 from being the
6945 default cString encoding ... the default cString encoding must
6946 consist of 7 or 8 bit characters, and must contain ASCII as a
6947 subset. We really should think of a generalised test for that.
6948 Use GetDefEncoding() throughout rather than defaultCStringEncoding.
6949 * Source/GSString.m: Use GetDefEncoding() to get c string encoding.
6950
6951 2001-04-11 Nicola Pero <nicola@brainstorm.co.uk>
6952
6953 * Source/NSString.m ([-initWithData:encoding:]): When working with
6954 a generic but non-unicode encoding, do not treat a single
6955 character string with no null terminator as an empty string. This
6956 should fix passing single character strings over DO.
6957 * Source/NSThread.m ([+registerCurrentThread]),
6958 ([+unregisterCurrentThread]): Removed.
6959
6960 2001-04-11 Richard Frith-Macdonald <rfm@gnu.org>
6961
6962 * Source/GSFFCallInvocation.m: bugfix encoding ... pass correct
6963 method type information so that the other end knows whether this
6964 is a oneway message or not. Corrects major memory leak.
6965 * Source/NSConnection.m: bugfix to handle situations where the
6966 other end sends a response and we are not expecting it. Also
6967 added various bits of debugging and ensured that all NSPortCoder
6968 objects are cached.
6969
6970 2001-04-10 Adam Fedor <fedor@gnu.org>
6971
6972 * Headers/gnustep/base/preface.h.in: Correct NeXT_RUNTIME name
6973
6974 * Documentation/gsdoc/NSLock.h: Documented.
6975
6976 2001-04-10 Richard Frith-Macdonald <rfm@gnu.org>
6977
6978 * Source/NSTask.m: Bugfix to send out task termination notification
6979 and clean up correctly when a task is killed by a signal rather than
6980 exiting cleanly.
6981
6982 2001-04-09 Adam Fedor <fedor@gnu.org>
6983
6984 * 1.0 branch merged into main.
6985
6986 2001-04-06 Nicola Pero <n.pero@mi.flashnet.it>
6987
6988 * Source/NSString.m (pathSepMember): Made trivial and inlined.
6989 ([-stringsByAppendingPaths:]): Count the array only once, not for
6990 any loop in the cycle.
6991
6992 2001-04-05 Richard Frith-Macdonald <rfm@gnu.org>
6993
6994 * Source/NSUser.m: NSTemporaryDirectory() rewrite for improved
6995 security and reliability. Expect MINGW update soon.
6996
6997 2001-04-02 Richard Frith-Macdonald <rfm@gnu.org>
6998
6999 * Source/NSUser.m: Tidied some stuff to conform to coding standards.
7000 Added FIXME where unsure of code. Tidied code to get name of user.
7001 * configure.in: Added checks for a few functions needed to get user.
7002
7003 2001-03-37 Jonathan Gapen <jagapen@home.com>
7004
7005 * Source/NSString.m: New private function to compute the scalar value
7006 of a high-low surrogate pair. New surrogate range class variables.
7007 Optimize ([-hasPrefix]) and ([-hasSuffix]) by using NSAnchoredSearch.
7008 Add UTF-8 code to ([-dataUsingEncoding:allowLossyConversion:]).
7009
7010 2001-03-26 Jonathan Gapen <jagapen@home.com>
7011
7012 * Source/Makefile.preamble: No need to define HAVE_LIBXML here.
7013 * Source/NSBundle.m: ([+initialize]) and ([+pathForGNUstepResource:
7014 ofType:inDirectory:]) now use NSSearchPathForDirectoriesInDomains()
7015 to find directories, rather than use env vars directly.
7016 * Source/NSCharacterSet.m: Ditto for ([_-bitmapForSet:]).
7017 * Source/NSDictionary.m: Make NSLog() include the filename
7018 in ([-initWithContentsOfFile:]).
7019 * Source/NSUser.m: Re-implement NSStandardApplicationPaths() and
7020 NSStandardLibraryPaths() with NSSearchPathsForDirectoriesInDomains().
7021 In latter function, support $GNUSTEP_SYSTEM_ROOT/Developer/Demos.
7022
7023 2001-03-21 Jonathan Gapen <jagapen@home.com>
7024
7025 * config/nextcc.m4, config/objc-con-autoload.m4, config/procfs.m4,
7026 config/objc-sys-dynamic.m4, config/procfs-exe-link.m4: Autoconf
7027 macros used by configure.in.
7028
7029 2001-04-08 Adam Fedor <fedor@gnu.org>
7030
7031 * Version: 1.0.0
7032 * NEWS: Regenerated.
7033
7034 * Source/NSLock.m (-tryLock): Return NO if our thread has
7035 already has the lock (like OpenStep).
7036 (-lockBeforeDate:): block until date if our thread already has
7037 the lock (like OpenStep).
7038
7039 * Source/NSData.m ([NSMutableDataMalloc
7040 -replaceBytesInRange:withBytes:]): Check capacity, not length.
7041
7042 2001-04-04 Adam Fedor <fedor@gnu.org>
7043
7044 * config.guess: Update to latest version
7045 * config.sub: Likewise.
7046
7047 2001-04-01 2001 Nicola Pero <n.pero@mi.flashnet.it>
7048
7049 * Source/GSValue.m ([-description]): Bug fix - was crashing upon
7050 using %@ instead of %s for a char *.
7051
7052 2001-03-31 Adam Fedor <fedor@gnu.org>
7053
7054 * Documentation/announce.texi: Update.
7055 * Documentation/install.texi: Likewise.
7056
7057 * Testing/Makefile.preamble: Set BUNDLE_LIBS on mingw and cygwin.
7058 * Testing/nsbundle.m: add NSProcessInfo's initializeWithArguments:...
7059
7060 2001-03-28 Richard Frith-Macdonald <rfm@gnu.org>
7061
7062 * Source/NSProcessInfo.m: ([+load]) Fix in parsing of command line
7063 arguments from /proc filesystem. On newer kernels the command line
7064 arguments are terminated by a nul, on older systems they are separated
7065 by a nul. The old code would add an extra (empty) argument to all
7066 processes on newer kernels. The new code will lose a trailing empty
7067 argument on older kernels :-( I view it as the lesser of two evils
7068 since the extra empty arg confuses/breaks a lot of tools.
7069
7070 2001-03-27 Richard Frith-Macdonald <rfm@gnu.org>
7071
7072 * Source/NSFileManager.m: Fix file copying for MINGW by using
7073 windows native copy function - fix by Michael Scheibler.
7074 Also tidied to conform to coding standards, and fixed to use
7075 O_BINARY where the system defines it.
7076
7077 2001-03-26 Richard Frith-Macdonald <rfm@gnu.org>
7078
7079 * Headers/Foundation/NSObject.h: GS_EXPORT updates for MINGW
7080 * Headers/Foundation/NSObCRuntime.h: ditto
7081 * Headers/Foundation/NSRange.h: ditto
7082 * Source/NSRange.m: ditto
7083 Fixes suggested by Michael Scheibler
7084
7085 2001-03-24 Richard Frith-Macdonald <rfm@gnu.org>
7086
7087 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7088 revert to check using '>' rather than '>=' to conform to documentation
7089 and to be consistent with use of ranges in general.
7090 * Documentation/gsdoc/NSMutableData.gsdoc: documented primitive methods.
7091 * Documentation/gsdoc/NSFunctions.gsdoc: Some documentation for NSRange
7092 added.
7093
7094 2001-03-23 Adam Fedor <fedor@gnu.org>
7095
7096 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) Check location
7097 >= size.
7098
7099 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7100
7101 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7102 extend data if range has location in data, but extent beyond data.
7103
7104 2001-03-23 Adam Fedor <fedor@gnu.org>
7105
7106 * Source/NSSerializer.m (serializeToInfo): Use memcpy to serialize
7107 strings on machines that need word alignment.
7108 * Source/NSTimeZone.m (decode): For decoding, likewise.
7109
7110 * Testing/thread-except.m: Use autorelease pools.
7111
7112 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7113
7114 * Source/NSFileManager.m: MINGW fixes by Michael Scheibler.
7115 ([_attributesAtPath:traverseLink:forCopy:]) fix 'cos windows lacks
7116 symbolic links. ([-changeFileAttributes:atPath:]) workaround for
7117 windows directories not having modification times.
7118 ([-fileSystemAttributesAtPath:]) fix for large volumes (matching
7119 change for unix too ... use unsigned long long).
7120
7121 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7122
7123 * Source/NSObject.m: ([-methodSignatureForSelector:]) try to get a
7124 valid method signature any way we can ... check for a valid method
7125 first, use selector types next. Avoid crash when given nul selector
7126 as an argument.
7127 * Source/NSMethodSignature.m: ([+signatureWithObjCTypes:]) don't
7128 crash when given nul pointer as argument.
7129
7130 2001-03-19 Jonathan Gapen <jagapen@home.com>
7131
7132 * Source/NSString.m: Implement ([-localizedStringWithFormat:]).
7133 Fix ([-localizedCompare:]) and ([-localizedCaseInsensitiveCompare:]).
7134 (They will work when ([-compare:options:range:locale:]) works.)
7135 Fix ([-initWithContentsOfFile:]) and ([-initWithContentsOfURL:]) so
7136 that they deal with 1 byte of data, and clarify Unicode BOM test with
7137 new class variables byteOrderMark and byteOrderMarkSwapped.
7138 In ([-initWithData:encoding:]) and ([-initWithCoder:]), don't treat
7139 the default C string encoding the same as ASCII. GCC 3.0 supports
7140 UTF-8 as a C string encoding, so this behavior is undesirable.
7141
7142 2001-03-19 Jonathan Gapen <jagapen@home.com>
7143
7144 * Source/NSAutoreleasePool.m, Source/NSCharacterSet.m,
7145 Source/NSHashTable.m, Source/NSMapTable.m, Source/NSZone.m:
7146 Update from %s/([-cString]) to %@ for format strings.
7147 * Source/NSDecimal.m: In GSDecimalFromString(), use ([-lossyCString])
7148 instead of ([-cString]) which should (in the future) always return
7149 ASCII-range decimal digits in place of digits from other languages.
7150
7151 2001-03-19 Nicola Pero <nicola@brainstorm.co.uk>
7152
7153 * Source/NSThread.m: registerCurrentThread and
7154 unregisterCurrentThread turned into functions - called
7155 GSRegisterCurrentThread and GSUnregisterCurrentThread.
7156 * Headers/gnustep/base/NSThread.h: Updated for change.
7157
7158 * Source/NSThread.m (GSRegisterCurrentThread): Call
7159 objc_thread_add before creating the NSThread object using a method
7160 call. (GSUnregisterCurrentThread): Post the NSThreadWillExit
7161 notification.
7162
7163 2001-03-19 Jonathan Gapen <jagapen@home.com>
7164
7165 * Source/NSString.m: In ([-rangeOfComposedCharacterSequenceAtIndex:]),
7166 use the NSCharacterSet non-base character set to identify non-base
7167 characters. In ([-cStringLength]), do not allow lossy string
7168 conversion. In ([+localizedNameOfStringEncoding:]), use NSBundle's
7169 ([-gnustepBundle]) rather than looking in root path.
7170
7171 2001-03-17 Richard Frith-Macdonald <rfm@gnu.org>
7172
7173 * Headers/Foundation/NSThread.h: Remove unused ivar.
7174 * Source/NSThread.m: Revise scheme for deallocation of thread
7175 dictionary ... keep it operating to avoid problems with stuff
7176 trying to use it while deing deallocated. Log memory leaks.
7177 * Source/NSRunLoop.m: ([+currentRunLoop]) return nil if there is
7178 no thread dictionary available (shouldn't happen).
7179 * Source/NSString.m: MINGW path handling fixes by Michael Scheibler
7180 stringByAppendingPath, isAbsolurtePath, and stringByStandardizingPath.
7181
7182 2001-03-16 Nicola Pero <n.pero@mi.flashnet.it>
7183
7184 * Source/Makefile.postamble (after-install): Removed old
7185 code for creating /etc/services.add when packaging.
7186
7187 * Makefile.postamble
7188 ($(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional): New target;
7189 create the directory. (before-install): Don't create the
7190 directory, but depend on the new target.
7191 * Resources/GNUmakefile.postamble: Idem for $(languagedir).
7192 * NSCharacterSets/Makefile.postamble: Idem for $(charsetdir).
7193 * NSTimeZones/Makefile.postamble: Idem for $(timezonedir).
7194
7195 2001-03-16 Manuel Guesdon <mguesdon@orange-concept.com>
7196
7197 * Tools/pl*.m: added #include <Foundation/Foundation.h> to avoid
7198 GNUSTEP Internal Error
7199
7200 2001-03-14 Adam Fedor <fedor@gnu.org>
7201
7202 * Source/libgnustep-base.def: Remove some classes that aren't
7203 used on MinGW32.
7204
7205 2001-03-13 Adam Fedor <fedor@gnu.org>
7206
7207 * configure.in: Check and set EXEEXT needed by some tests.
7208 * aclocal.m4: Fixes for constructor test.
7209
7210 2001-03-12 Jonathan Gapen <jagapen@home.com>
7211
7212 * Headers/gnustep/base/NSString.h: Change NSCyrillicStringEncoding
7213 to NSISOCyrillicStringEncoding, and likewise for Greek, Arabic, and
7214 Hebrew, to avoid ambiguity. Add enum values for all remaining
7215 ISO-8859 character sets, plus UTF-7.
7216 * Source/GSXML.m: Update pursuant to above changes.
7217 * Source/NSString.m: Ditto.
7218 * Source/Unicode.m: Ditto.
7219
7220 2001-03-11 Adam Fedor <fedor@gnu.org>
7221
7222 * Source/NSThread.m: Remove runtime.h include since this isn't
7223 normally installed by objc, add back in extern variables.
7224
7225 2001-03-10 Adam Fedor <fedor@gnu.org>
7226
7227 * Version 0.9.2
7228 * Makefile.postamble (before-install): Remove extra '/' before
7229 GNUSTEP_MAKEFILES
7230
7231 * configure.in: Check for objc_thread_add in runtime.
7232 * Source/NSThread.m (objc_thread_add): Define only if not in runtime
7233 (objc_thread_remove): Likewise.
7234
7235 2001-03-10 Manuel Guesdon <mguesdon@orange-concept.com>
7236
7237 * GSXML.m/.h: added errer, warning and fatal error methods with
7238 line and col parameters in GSSAXHandler.
7239
7240 2001-03-08 Richard Frith-Macdonald <rfm@gnu.org>
7241
7242 * Headers/gnustep/base/NSCalendarDate.h:
7243 * Headers/gnustep/base/NSTimeZone.h: New files for MacOS-X compatibility
7244 * Headers/gnustep/base/Foundation.h: Add NSCalendarDate and NSTimeZone
7245 * Headers/gnustep/base/NSDate.h: Remove info in new files.
7246 * Source/GNUmakefile: Add new NSCalendarDate and NSTimeZone files.
7247 * Source/NSCalendarDate.m: Update for header changes.
7248 * Source/NSDate.m: ditto
7249 * Source/NSDateFormatter.m: ditto
7250 * Source/NSLog.m: ditto
7251 * Source/NSString.m: ditto
7252 * Source/NSTimeZone.m: ditto
7253
7254 2001-03-07 Adam Fedor <fedor@gnu.org>
7255
7256 * Source/NSInvocation.m (-initWithTarget:selector:): Correct copying
7257 of unhandled argument types.
7258
7259 2001-03-07 Richard Frith-Macdonald <rfm@gnu.org>
7260
7261 * Source/NSObject.m: ([methodSignatureForSelector:]) reliability
7262 fix suggested by Manuel Guesdon <ml@sbuilders.com>
7263
7264 2001-03-06 Adam Fedor <fedor@gnu.org>
7265
7266 * Source/libgnustep-base.def: Regenerate.
7267
7268 2001-03-05 Richard Frith-Macdonald <rfm@gnu.org>
7269
7270 * Source/NSUserDefaults.m: Changed ([+setUserLanguages:]) to use
7271 NSLanguages.
7272 * Documentation/gsdoc/NSUserDefaults.gsdoc: documented the
7273 ([+setUserlanguages:]) method.
7274
7275 2001-03-04 Jonathan Gapen <jagapen@home.com>
7276
7277 * Documentation/gsdoc/NSCharacterSet.gsdoc: Documented some methods.
7278 * Headers/gnustep/unicode/caseconv.h: Updated case-mapping tables.
7279 * Source/NSBitmapCharSet.m: Added sanity check to initWithBitmap:
7280 * Source/Unicode.m: Changed uni_toupper() and uni_tolower() to use
7281 direct lookup in two-level tables, rather than a linear search.
7282
7283 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7284
7285 * Source/NSBundle.m: Corrected
7286 ([-_bundleResourcePathsWithRootPath:subPath:]) to use
7287 ([NSUserDefaults +userLanguages]) to get language array again.
7288 * Documentation/gsdoc/NSUserDefaults.gsdoc: Updated and added
7289 information about +userLanguages
7290
7291 2001-03-03 Adam Fedor <fedor@gnu.org>
7292
7293 * Source/NSInvocation.m: Add missing static inline to __get_arg
7294 (patch from David Relson <relson@osagesoftware.com>).
7295
7296 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7297
7298 * Source/NSSerializer.m:
7299 * Source/NSURLHandle.m:
7300 * Source/NSUnarchiver.m:
7301 * Source/GSFormat.m:
7302 * Source/GSHTTPURLHandle.m:
7303 * Source/GSMime.m:
7304 * Source/GSString.m:
7305 * Source/NSDictionary.m:
7306 * Source/NSPortNameServer.m:
7307 Various minor changes to avoid compiler warnings.
7308 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
7309 Use CYGWIN_HOME as suggested by Michael Scheibler
7310 * Source/NSUser.m: NSHomeDirectoryForUser() fix for home path
7311 on NT by Michael Scheibler.
7312
7313 2001-03-01 Jonathan Gapen <jagapen@home.com>
7314
7315 * NSCharacterSets/whitespaceCharSet.dat,
7316 NSCharacterSets/whitespaceAndNlCharSet.dat: Add tab character.
7317
7318 2001-03-01 Nicola Pero <n.pero@mi.flashnet.it>
7319
7320 * aclocal.m4 (AC_SYS_PROCFS): Reverted last change in code to detect
7321 the /proc filesystem as it didn't work on my gnu-linux: /proc/0 does
7322 not exist, but the /proc filesystem works perfectly.
7323 * configure.in (GS_FAKE_MAIN): Fixed typo in last change which
7324 caused fake main definition to take place even when both +load and
7325 /proc worked.
7326 * configure: Regenerated.
7327
7328 2001-02-28 Jonathan Gapen <jagapen@home.com>
7329
7330 * configure.in: Begin autoconf clean-up; replace tests for NeXT
7331 compiler, /proc, and exe link with external macros; add support
7332 for FreeBSD /proc/curproc/file link.
7333 * acconfig.h: Remove definition now handled by macro.
7334 * aclocal.m4, configure, Headers/gnustep/base/config.h.in: Regen.
7335 * Source/NSBundle.m: Take exe link from PROCFS_EXE_LINK define.
7336 * Source/NSProcessInfo.m: HAVE_PROC_FS -> HAVE_PROCFS
7337
7338 2001-02-28 Adam Fedor <fedor@gnu.org>
7339
7340 * Source/win32-load.h (__objc_dynamic_get_symbol_path): New function.
7341
7342 * Source/GSHTTPURLHandle.m ([GSHTTPURLHandle -loadInBackground]): Use
7343 GSUnixSSLHandle only if not __MINGW__
7344
7345 2001-02-27 Jonathan Gapen <jagapen@home.com>
7346
7347 * NSCharacterSets/README.CharSet: Update notes.
7348 * NSCharacterSets/*.dat: Regenerate with v3.0.1 of UnicodeData.txt
7349 (ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt)
7350
7351 2001-02-27 Adam Fedor <fedor@gnu.org>
7352
7353 * configure.in: Fix openssl config so it defines HAVE_OPENSSL only
7354 if all headers and libs available.
7355 * configure, acconfig.h, Headers/gnustep/base/config.h.in: Regen.
7356 * Source/UnixFileHandle.m: Use HAVE_OPENSSL.
7357
7358 2001-02-27 Nicola Pero <nicola@brainstorm.co.uk>
7359
7360 * Source/NSLock.m: Commented out extra token after #endif
7361 directive.
7362 * Headers/gnustep/base/GSXML.h: Idem.
7363
7364 2001-02-27 Nicola Pero <n.pero@mi.flashnet.it>
7365
7366 * configure.in (Version): source it as ./Version rather than
7367 Version (suggested by Juliusz Chroboczek <jch@pps.jussieu.fr>).
7368 * configure: Regenerated.
7369
7370 2001-02-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7371
7372 * Source/NSConcreteNumber.m (NumberTemplate): added precision to float
7373 and double TYPE_FORMAT.
7374
7375 2001-02-25 Adam Fedor <fedor@gnu.org>
7376
7377 * configure.in (cppflags_temp): Corrected to save CPPFLAGS not
7378 CFLAGS>
7379
7380 2001-02-25 Richard Frith-Macdonald <rfm@gnu.org>
7381
7382 * Source/GSLocale.m: Removed YESSTR and NOSTR support for simplicity.
7383
7384 2001-02-24 Nicola Pero <n.pero@mi.flashnet.it>
7385
7386 * Resources/Languages/French: New file (contributed by Frederic De
7387 Jaeger).
7388 * Resources/GNUmakefile (LANGUAGES): Added French.
7389
7390 2001-02-23 Richard Frith-Macdonald <rfm@gnu.org>
7391
7392 * Tools/gdomap.c: Fixed bug in handling '-a' option and enhanced
7393 to support multicast probing of networks specified in '-a' file.
7394
7395 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7396
7397 * Headers/gnustep/base/NSBundle.h: Added three new localization
7398 macros: _(), __() and NSLocalizedStaticString ().
7399
7400 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7401
7402 * Resources/Languages/Italian: New file.
7403 * Resources/GNUmakefile (LANGUAGES): Added Italian.
7404
7405 2001-02-22 Richard Frith-Macdonald <rfm@gnu.org>
7406
7407 * Source/NSUserDefaults.m: Fixes to prevent problems obtaining
7408 languages array due to attempts to use partially constructed
7409 standard user defaults object.
7410
7411 2001-02-21 Adam Fedor <fedor@gnu.org>
7412
7413 * Documenation/install.texi: Update.
7414 * Documenation/news.texi: Likewise.
7415 * INSTALL, NEWS: Regen.
7416
7417 2001-02-21 Richard Frith-Macdonald <rfm@gnu.org>
7418
7419 * Source/NSString.m: Fix memory leak reported by thoran@free.fr
7420 parsePlItem()
7421
7422 2001-02-17 Nicola Pero <nicola@brainstorm.co.uk>
7423
7424 * Source/GNUmakefile (PACKAGE_NAME): Fixed typo - was gnutep-base
7425 rather than gnustep-base.
7426
7427 2001-02-20 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7428
7429 * Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.
7430
7431 2001-02-19 Richard Frith-Macdonald <rfm@gnu.org>
7432
7433 * Source/GSLocale.m: Tidy, defined __USE_GNU to get YESSTR and NOSTR
7434 on later versions of glibc.
7435 * Source/NSString.m: Log more info when parsing a property list fails.
7436
7437 2001-02-13 Adam Fedor <fedor@gnu.org>
7438
7439 * Version: 0.9.1
7440
7441 * configure.in: Fix test for stdint.h
7442
7443 2001-02-11 Manuel Guesdon <mguesdon@orange-concept.com>
7444
7445 * GSXML.m: testing lib!=NULL and string!=NULL before doing something in
7446 -GSXMLNode content
7447 -GSXMLNode name
7448 -GSXMLNode ns
7449 -GSXMLNode nsDef
7450 * NSString.m: handle NULL bytes in -initWithUTF8String:
7451 (Treat it as zero length string and NSDebugMLog a warning).
7452
7453 2001-02-09 Jonathan Gapen <jagapen@home.com>
7454
7455 More FreeBSD build fixes:
7456 * acconfig.h: Add recent definitions.
7457 * configure.in: Add test for wchar.h header.
7458 * configure: Regenerate.
7459 * Headers/gnustep/base/config.h.in: Regenerate.
7460 * Source/GSFormat.m: Typedef wint_t if wchar.h not available.
7461 * Source/NSTask.m: Change #if TIOCNOTTY to #ifdef TIOCNOTTY.
7462
7463 2001-02-08 Nicola Pero <n.pero@mi.flashnet.it>
7464
7465 * INSTALL: Updated installation instructions.
7466
7467 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7468
7469 Fixes reported by David Wetzel ...
7470 * Source/GSFormat.h: Add header for wchar
7471 * Source/NSCoder.m: Remove spurious semicolon
7472 * Source/dynamic-load.h: correct argument to dlsym()
7473
7474 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7475
7476 * Source/GSString.m: permit nil string when replacing characters
7477 in range. Treat as an empty string rather than raising exception.
7478
7479 2001-02-07 Jonathan Gapen <jagapen@home.com>
7480
7481 * Source/NSFileManager.m: Make disk space report work on FreeBSD.
7482 On all Unix platforms, report disk space available to non-root users.
7483
7484 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7485
7486 * Source/GSFormat.m: merged in some more fixes by Kai.
7487
7488 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7489
7490 * Source/GSFormat.m: Fixed error in PAD() macro - it was failing to
7491 decrement a counter - and looping forever.
7492 Fixed error in formatted output of string arguments ... was
7493 crashing with range exception.
7494
7495 2001-02-04 Richard Frith-Macdonald <rfm@gnu.org>
7496
7497 * Source/NSTask.m: Added gnustep specific feature to run task in
7498 pseudo terminal.
7499
7500 2001-02-02 Richard Frith-Macdonald <rfm@gnu.org>
7501
7502 Integrated patch for unicode support for ([-initWithFormat:]) by
7503 Kai Henningsen. Modified to support efficient append with format
7504 to a unicode string.
7505 * configure.in: Test for data type used by GSFormat
7506 * Headers/gnustep/base/GSFormat.h: file declaring GSFormat info.
7507 * Source/GSFormat.m: Source for format support.
7508 * Source/NSString.m: Use GSFormat() to implement ([-initWithFormat:])
7509 * Source/GSString.m: use GSFormat() to implement ([-appendFormat:])
7510
7511 2001-01-31 Richard Frith-Macdonald <rfm@gnu.org>
7512
7513 * Source/NSDate.m: pass dates over DO bycopy unless explicitly byref.
7514 * Source/NSTimeZone.m: pass time zones over DO bycopy unless
7515 explicitly byref.
7516 Use placeholder class for newly created objects - to improve
7517 eficiency of selection of classes in cluster.
7518 Updated to use MacOS-X initialisation methods.
7519
7520 2001-01-30 Michael Hanni <mhanni@sprintmail.com>
7521
7522 * Source/.cvsignore: tweaked to cover a few more items.
7523 * Makefile.postamble: distclean removes created file: base.make.
7524 * configure.in: patched to fix bug in libxml detection macro
7525 (reviewed by: Nicola Pero <nicola@brainstorm.co.uk>)
7526 * configure: Regenerated.
7527
7528 2001-01-30 Nicola Pero <nicola@brainstorm.co.uk>
7529
7530 * gnustep-base.script.spec.in: Fixed, tidied.
7531 * configure.in (CPPFLAGS): Added -I$GNUSTEP_HDIR so that custom
7532 libobjc headers are used - this should fix ffcall detection.
7533 * configure: Regenerated.
7534
7535 2001-01-30 Richard Frith-Macdonald <rfm@gnu.org>
7536
7537 * Headers/Foundation/NSDate.h: Partial support added for MacOS-X
7538 * Source/NSTimeZone.m: Updates to encode all time zones as the
7539 abstract class, and added MacOS-X methods.
7540 * Source/NSCalendarDate.m: Use NSTimeZone rather than NSTimeZoneDetail
7541 throughout ... provide MacOS-X compatibility.
7542 * Source/NSDate.m: Fix milliseconds error creating date on MINGW
7543
7544 2001-01-29 Adam Fedor <fedor@gnu.org>
7545
7546 * configure.in: Remove check for alternate libobjc and Headers
7547 include. Fix typo in setting cppflags_temp in GMP test.
7548 * Source/Makefile.preamble (ADDITIONAL_INSTALL_DIRS): Don't
7549 make .../gnustep/Foundation
7550 * Source/Makefile.postamble (after-install): Don't install headers
7551 in .../gnustep/Foundation
7552
7553 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7554
7555 * GNUmakefile: Include local base.make.
7556 * Admin/GNUmakefile: Idem.
7557 * Documentation/GNUmakefile: Idem.
7558 * Documentation/gsdoc/GNUmakefile: Idem.
7559 * Examples/GNUmakefile: Idem.
7560 * NSCharacterSets/GNUmakefile: Idem.
7561 * NSTimeZones/GNUmakefile: Idem.
7562 * Testing/GNUmakefile: Idem.
7563 * Tools/GNUmakefile: Idem.
7564 * Resources/GNUmakefile: Idem.
7565 * Source/GNUmakefile: Idem.
7566 * configure.in (tests for ffi): set CONFIG_SYSTEM_LIBS too
7567 (test for iconv): test taken from the make package. (AC_OUTPUT):
7568 Generate base.make.
7569 * configure: Regenerated.
7570 * base.make.in: New file.
7571 * Makefile.postamble (before-install): Install base.make.
7572
7573 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7574
7575 * NSTimeZones/NSTimeZones.tar: Updated.
7576
7577 2001-01-28 Jonathan Gapen <jagapen@home.com>
7578
7579 * Source/NSUser.m: In NSSearchPathForDirectoriesInDomains(), added
7580 support for NSDeveloperDirectory, NSAdminDirectory, and the new
7581 GSLibrariesDirectory.
7582 * Headers/gnustep/base/NSPathUtilities.h: Added new enum value
7583 GSLibrariesDirectory, to support GNUstep's Libraries dir.
7584
7585 2001-01-26 Adam Fedor <fedor@gnu.org>
7586
7587 * gnustep-base.script.spec.in: New file, rpm script for installing
7588 gdomap, updating ld.conf, etc.
7589
7590 2001-01-26 Richard Frith-Macdonald <rfm@gnu.org>
7591
7592 * Source/NSArray.m: Fix failure to assign result of init to self
7593 (similar fixes in various other files).
7594 * Tools/gsdoc.m: Fix error in parsing items containing mixed elements.
7595 * Documentation/gsdoc/NSTimeZone.gsdoc: Fix erro in markup.
7596
7597 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7598
7599 * configure.in: Add check for rexcent versions of gmp
7600
7601 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7602
7603 * Source/NSException.m: Modify default handler to permit simple
7604 exit as well as abort.
7605 * Documentation/gsdoc/Base.gsdoc: documented environmnet variable
7606 CRASH_ON_ABORT
7607
7608 2001-01-21 Richard Frith-Macdonald <rfm@gnu.org>
7609
7610 * Source/NSString.m: Fixes for OPENSTEP compatibility in string path
7611 operations - patch provided by Pierre-Yves Rivaille, plus another fix
7612 by me.
7613
7614 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7615
7616 * gnustep-base.spec.in: Updated copyright and attempt at improving
7617 description.
7618
7619 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7620
7621 * config/config.loadtest.m: Added dummy NXConstStr implementation
7622 for libobjc which do not include it.
7623 * configure.in: Simplified check for thread flags. gnustep-make
7624 already gets them - simply get them from config.make here.
7625 * configure: Regenerated.
7626 * config/config_thread.m: Removed.
7627
7628 2001-01-17 Adam Fedor <fedor@gnu.org>
7629
7630 * Version: Prerelease version 0.9.0
7631 * configure.in: Change check for installed libobjc to match gstep-make
7632
7633 2001-01-18 Nicola Pero <nicola@brainstorm.co.uk>
7634
7635 * Source/GNUmakefile: Simplified name to gnustep-base.
7636 * gnustep-base.spec.in: Changed Group to Development/Libraries.
7637 * gnustep-base-debug.spec.in: Idem.
7638 * NSTimeZones/NSTimeZones.tar: Removed hard links to avoid rpm
7639 problems with hard links.
7640
7641 2001-01-18 Richard Frith-Macdonald <rfm@gnu.org>
7642
7643 * Source/NSHost.m: New method ([-_addName:]) to add a name to a host.
7644 Use it to add the local hostname to the 127.0.0.1 host if there is
7645 no IP address set up for the local machine.
7646 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) improve
7647 handling of available descriptors - each descriptor may be available
7648 for more than one type of event.
7649
7650 2001-01-17 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7651
7652 * Source/GSXML.m|.h ([GSXMLDocument -stringValue]): dump document in a
7653 string.
7654
7655 Wed Jan 17 16:46:09 2001 Nicola Pero <nicola@brainstorm.co.uk>
7656
7657 * GNUmakefile: Added PACKAGE_NEEDS_CONFIGURE and
7658 RPM_DISABLE_RELOCATABLE.
7659 * GNUmakefile: Simplified name to gnustep-base.
7660 * gnustep-base.spec.in: New file.
7661 * gnustep-base-debug.spec.in: Idem.
7662 * gnustep-base.spec: Move to gnustep-base.spec.old.
7663
7664 2001-01-13 Richard Frith-Macdonald <rfm@gnu.org>
7665
7666 * Source/GSMime.m: ([-decodeData:fromrange:intoData:withContext:])
7667 Added destination data cpacity information to context so that
7668 correct positioning can be maintained over a sequence of calls
7669 using a chunked http context.
7670 * Source/GSAttributedString.m: Fixed bug initialising from an
7671 empty attributed string, and fixed bug replacing characters in
7672 range, when an attribute range location is the same s the location
7673 of the replaced characters.
7674
7675 2001-01-12 Richard Frith-Macdonald <rfm@gnu.org>
7676
7677 * Source/GSXML.m: ([-GSXMLDocument setRoot:]) set root node to be
7678 owned by libxml, so we don't free it's memory ourselves.
7679 * Headers/gnustep/base/NSValue.h: Added range methods.
7680 * Source/GNUmakefile: Rename value files to GS prefix and remove
7681 concrete value header.
7682 * Source/Makefile.postamble: Build GS value files. rather than NS
7683 * Source/NSValue.m: Added range methods and updated for change to
7684 naming conventions. Added abstract placeholder class. Fixed encoding
7685 to store the abstract class in the archive.
7686 * Testing/values.m: Added range check
7687 * Source/GSTemplateValue.m: Renamed for consistency.
7688 Adapted encoding/decoding for storing abstract class in archive.
7689 * Source/GSValue.m: ditto
7690 * Headers/gnustep/base/NSConcreteValue.h: private info removed
7691 * Source/NSCTemplateValue.m: Renamed for consistency
7692 * Source/NSConcreteValue.m: ditto
7693
7694 2001-01-10 Nicola Pero <n.pero@mi.flashnet.it>
7695
7696 * Source/GSAttributedString.m ([GSAttributedString -length]),
7697 ([GSMutableAttributedString -length]): Added for speed.
7698
7699 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7700
7701 * Source/Unicode.m: Fix bug in checking possible default string
7702 encodings . reported by Stefan Urbanek
7703
7704 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7705
7706 Tidyup by removing 'NonCore' categories.
7707
7708 2001-01-09 Richard Frith-Macdonald <rfm@gnu.org>
7709
7710 General tidyups to simplify code and to make class names
7711 consistent with the other libraries.
7712 * Headers/Foundation/NSGAttributedString.h: removed
7713 * Source/NSGAttributedString.m: renamed to GSAttributedString.m
7714 concrete classes renamed for consistency with other gstep libs.
7715 * Source/NSGDictionary.m: renamed to GSDictionary.m
7716 concrete classes renamed for consistency with other gstep libs.
7717 * Source/NSAttributedString.m: classes renamed
7718 * Source/NSDictionary.m: classes renamed
7719 * Source/GNUmakefile: replace NSGAttrinbutedString with and
7720 NSGDictionary with GS prefixed classes.
7721 Don't try to install old header.
7722 * Source/NSString.m: updates for class renaming.
7723 * Source/NSSerializer.m: ditto
7724
7725 2001-01-08 Adam Fedor <fedor@gnu.org>
7726
7727 * configure.in: Enable ffcall by default (unless the libraries
7728 don't exist).
7729
7730 2001-01-08 Richard Frith-Macdonald <rfm@gnu.org>
7731
7732 * Headers/Foundation/NSGArray.h: removed
7733 * Headers/Foundation/NSArray.h: merge core/non-core classes.
7734 * Source/GNUmakefile: replace NSGArray with GSArray.
7735 * Source/NSGArray.m: converted to GSArray.m
7736 * Source/NSArray.m: simplified by merging core/non-core classes.
7737 Use placeholder class when allocating constant arrays.
7738 * Source/GSArray.m: simplified version of GSArray.m
7739 Added GSPlaceholderArray.
7740 * Source/NSSerializer.m: use GSInlineArray where possible.
7741 * Source/GSSet.m: Provide decoding of NSGSet for backward compatibility.
7742 * Source/NSException.m: Avoid recursion in exception handler.
7743
7744 2001-01-04 Richard Frith-Macdonald <rfm@gnu.org>
7745
7746 * Tools/gsdoc.gsdoc: Tidied and fixed a few typos/spelling errors.
7747
7748 2001-01-04 Jonathan Gapen <jagapen@home.com>
7749
7750 * configure.in, aclocal.m4, acconfig.h: Replace libxml detection with
7751 autoconf macro from libxml 2.2.10 installation.
7752 * configure, Headers/gnustep/base/config.h.in: Regenerate.
7753 * Headers/gnustep/base/GSXML.h, base/Source/GSXML.m,
7754 base/Tools/gsdoc.m: Use proper libxml #includes.
7755
7756 2001-01-03 Adam Fedor <fedor@gnu.org>
7757
7758 * configure.in: Change test for objc forwarding hook to match gcc
7759 patch.
7760 * Source/GSFFCallInvocation.m: Use new forwarding hook.
7761
7762 2001-01-03 Richard Frith-Macdonald <rfm@gnu.org>
7763
7764 * Source/NSBundle.m: fix for checking windows executable file
7765 extensions - reported by michael.scheibler@onevision.de
7766
7767 2001-01-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7768
7769 * Source/NSObjCRuntime.m (GSInstanceVariableInfo): fixes.
7770 * Source/NSObject.m ([NSObject -handleQueryWithUnboundKey:]): raise an
7771 exception.
7772 ([NSObject -handleTakeValue:forUnboundKey:]): changed exception.
7773 ([NSObject -unableToSetNilForKey:]): likewise.
7774 ([NSObject -storedValueForKey:]),
7775 ([NSObject -valueForKey:]): check for null selector before calling
7776 respondsToSelector:
7777 ([NSObject -takeStoredValue:forKey:]),
7778 ([NSObject -takeValue:forKey:]): likewise. Call GSSetValue with correct
7779 values.
7780 (GSSetValue): fixed ivar implementation.
7781 (GSGetValue): likewise.
7782 ([NSObject -methodSignatureForSelector:]): FreeBSD fix.
7783 * Source/NSEnumerator.m|.h ([NSEnumerator -allObjects]): implemented.
7784 * Source/Unicode.m (GetDefEncoding): do not emit the warning for
7785 NSISOLatin1StringEncoding.
7786
7787 2000-12-26 Adam Fedor <fedor@gnu.org>
7788
7789 * configure.in: Look for libxml2 (patch from Kim Shrier
7790 <kim@tinker.com>).
7791 * acconfig.h: Define LIBXML2
7792 * Headers/gnustep/base/config.h.in: Regenerate
7793 * Headers/gnustep/base/GSXML.h: Include libxml2.h if found.
7794 * Source/GSXML.m: Likewise.
7795 * Tools/gsdoc.m: Likewise. (patches from Kim Shrier <kim@tinker.com>).
7796
7797 2000-12-22 Adam Fedor <fedor@gnu.org>
7798
7799 * Source/GSFFCallInvocation.m: Remove powerpc specific defs
7800
7801 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7802
7803 * Source/NSDistantObject.m: Modified DO_FORWARD_INVOCATION() macro
7804 and its uses so that they actually do what was intended :-)
7805 Also, modified implementation of methodSignatureForSelector: for
7806 ffcall library to prevent recursion.
7807
7808 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7809
7810 * Headers/Foundation/GSIMap.h: On initialisation set number of nodes
7811 to exactly equal capacity, for improved memory efficiency.
7812 * Source/Makefile.postamble: correct dependencies for GSIMap.
7813 * Source/GSCountedSet.m: Use map enumerator rather than messing with
7814 the internals of a GSIMap directly.
7815 * Source/GSSet.m: ditto
7816 * Source/NSConnection.m: ditto
7817 * Source/NSGDictionary.m: ditto
7818 * Source/NSNotificationCenter.m: ditto
7819 * Source/NSString.m: property list memory leak fixed.
7820
7821 2000-12-18 Richard Frith-Macdonald <rfm@gnu.org>
7822
7823 * Source/NSGAttributedString.m: Fix logic errors setting attributes.
7824
7825 2000-12-18 Adam Fedor <fedor@gnu.org>
7826
7827 * Source/Makefile.postamble (libgnustep.def): Rebuild manually
7828 rather than automatically.
7829
7830 2000-12-14 Richard Frith-Macdonald <rfm@gnu.org>
7831
7832 * Source/Unicode.m: Tidied to conform to coding standards and changed
7833 to use ISOLatin1 as the default cString encoding.
7834 * Source/GSString.m: Fixed bug getting cString from unicode string -
7835 raise exception when it should.
7836 * Source/NSString.m: ditto. Also use lossyCString in various
7837 places rather than cString.
7838
7839 2000-12-13 Nicola Pero <n.pero@mi.flashnet.it>
7840
7841 * Headers/gnustep/base/NSRange.h, Source/NSRange.m: Inlined
7842 NSMakeRange.
7843
7844 2000-12-12 Nicola Pero <n.pero@mi.flashnet.it>
7845
7846 * Source/NSDebug.m (table_entry): Added peak field.
7847 (GSDebugAllocationAdd): Set peak counter if needed.
7848 (GSDebugAllocationClassList), (GSDebugAllocationTotal),
7849 (GSDebugAllocationPeak): New functions.
7850 * Headers/gnustep/base/NSDebug.h: Added corresponding
7851 declarations.
7852
7853 2000-12-08 Adam Fedor <fedor@gnu.org>
7854
7855 * Set up DO and NSInvocation to use foreign-function interface
7856 library.
7857 * configure.in: Add check for --enable-ffcall
7858 * Documentation/gnustep-base.texi: Update
7859 * Documentation/install.texi: Likewise.
7860 * Documentation/readme.texi: Likewise.
7861 * Documentation/gsdoc/NSTimeZone.gsdoc: Update.
7862
7863 * Headers/gnustep/base/NSConnection.h: New forward method.
7864 * Headers/gnustep/base/NSInvocation.h: New frame ivar.
7865 * Source/GNUmakefile: Conditionally compile in FFI classes if
7866 enabled.
7867 * Source/NSConnection.m (-forwardInvocation:forProxy:): New method.
7868 (_service_forwardForProxy:): For FFCALL don't autorelease memory,
7869 call proper forwarding function.
7870 * Source/NSDistantObject.m (forwardInvocation:): Implement.
7871 (methodSignatureForSelector:): For FFCALL, forward through
7872 invocation.
7873 (conformsToProtocol:): Likewise.
7874 (respondsToSelector:): Likewise.
7875 * Source/NSInvocation.m: Convert to abstract class with subclasses
7876 based on FFI interface.
7877 (_get_arg, _set_arg, _arg_addr): New functions based on FFI interface.
7878 (+allocWithZone:): Alloc proper concrete class.
7879 (+initialize): Set proper concrete class.
7880 (-initWithCoder:): Replace self with proper concrete class.
7881 (initWithArgframe:selector:): Make subclassResponsibility.
7882 (initWithMethodSignature:): Likewise.
7883 (returnFrame:): Likewise.
7884 Implement GSFrameInvocation
7885 * Source/GSFFCallInvocation: New file.
7886 * Source/GSFFIInvocation: Likewise.
7887 * Source/cifframe.[hm]: Likewise.
7888 * Source/callframe.[hm]: Likewise.
7889
7890 2000-12-07 Richard Frith-Macdonald <rfm@gnu.org>
7891
7892 * Source/NSGSet.m: renamed to GSSet.m for consistency, tidied.
7893 * Source/NSGCountedSet.m: renamed to GSCountedSet.m for consistency.
7894 * Headers/Foundation/NSGSet.h: removed - obsolete.
7895 * Headers/Foundation/NSSet.h: si9mplified back to single class
7896 * Source/NSSet.m: Updated and tidied. Fixed coding class for
7897 mutable sets. Removed non-core classes.
7898
7899 2000-12-05 Richard Frith-Macdonald <rfm@gnu.org>
7900
7901 * Source/NSURLHandle.m: minor mods to background loading.
7902 * Source/GNUmakefile:
7903 * Source/Makefile.postamble:
7904 * Source/Makefile.preamble:
7905 * Tools/Makefile.preamble:
7906 Updated for flattened directory structure.
7907
7908 2000-12-02 Richard Frith-Macdonald <rfm@gnu.org>
7909
7910 * Source/NSDate.m: GSTime() added millisecond info.
7911 * Source/NSCalendarDate.m: GSTime() added millisecond info.
7912 * Headers/Foundation/NSDate.h: GSTime() added millisecond info.
7913 * Source/NSObject.m: key-value-coding restructured and
7914 implemented for non-object values.
7915
7916 2000-11-30 Richard Frith-Macdonald <rfm@gnu.org>
7917
7918 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
7919 Bugfixes to fill in missing information using current date/time and
7920 to implement missing format codes.
7921
7922 2000-11-27 Richard Frith-Macdonald <rfm@gnu.org>
7923
7924 * Source/NSClassDescription.m: New MacOS-X class added.
7925 * Headers/Foundation/NSClassDescription.m: New MacOS-X class added.
7926 * Headers/Foundation/NSKeyvalueCoding.m: New MacOS-X protocol added.
7927 * Source/NSObject.m: New MacOS-X key value coding methods added.
7928 Only objects currently supported - needs work to support scalar
7929 types too!
7930
7931 2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7932
7933 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
7934 autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
7935
7936 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7937
7938 * Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to
7939 prevent possible problems with two threads trying to get root object
7940 of a new connection at the same time.
7941 * Documentation/gsdoc/NSURLHandle.gsdoc: Added subclass information.
7942
7943 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7944
7945 * Headers/gnustep/base/NSAutoreleasePool.h: Changed proivate method
7946 for cleanup at end of thread.
7947 * Headers/gnustep/base/NSThead.h: New ivar to mark when we are
7948 deallocating.
7949 * Source/NSAutoreleasePool.m: Added parameter to _endThread so we
7950 can safely end a thread without it being the current one.
7951 * Source/NSThread.m: Now clean up autorelease pools *after*
7952 everything elese, while deallocating the thread. This is to cope
7953 with objects that try to access the thread dictionary while
7954 autoreleasing. -threadDictionary modified to return nil during
7955 deallocation rather than creating a new ductionary.
7956
7957 2000-11-21 Richard Frith-Macdonald <rfm@gnu.org>
7958
7959 * Source/externs.m: Removed obsolete http body key.
7960 * Source/GSHTTPURLHandle.m: Removed obsolete http body key.
7961 * Headers/Foundation/NSURLHandle.h: Removed obsolete http body key.
7962
7963 2000-11-20 Nicola Pero <n.pero@mi.flashnet.it>
7964
7965 * Source/NSConnection.m: ([NSConnection -invalidate]) Fixed typo in
7966 multi-thread support.
7967
7968 2000-11-18 Richard Frith-Macdonald <rfm@gnu.org>
7969
7970 * Source/NSURLHandle.m: Implemented setting and gettign of properties
7971 for file handles using NSFileManager.
7972 * Source/GSHTTPURLHandle.m: Implemented ([-writeData:]). Rewrote
7973 posting mechanism using new implementation. Modified so that old
7974 method of writing bodyn properties still works for the moment.
7975 * configure.in: Added tests for GMP library - needed in future.
7976 * Headers/Foundation/NSDecimal.h: include GSConfig.h for HAVE_GMP
7977 * Source/NSDecimal.m: test for truth value of HAVE_GMP
7978 * Headers/Foundation/GSConfig.h.in: add HAVE_GMP support, but
7979 override to '0' until GMP support is fully implemented.
7980
7981 2000-11-17 Richard Frith-Macdonald <rfm@gnu.org>
7982
7983 * Headers/Foundation/GSMime.h: Added GSMimeEncodingContext etc
7984 * Headers/Foundation/NSURLHandle.h: Added some more property keys.
7985 * Source/GSMime.m: Update to add method for general decoding of
7986 different transfer encoding types including chunked (for http1.1).
7987 Recognise end of data in chunked encoding or by content length.
7988 * Source/GSHTTPURLHandle.m: Added new class for http and https support.
7989 * Source/NSURLHandle.m: Register class for http and https support.
7990 * Source/externs.m: Added property keys for URL handles.
7991 * Documentation/gsdoc/GSMime.gsdoc: updated
7992 * Documentation/gsdoc/GSMimeDocument.gsdoc: updated
7993 * Documentation/gsdoc/GSMimeParser.gsdoc: updated
7994
7995 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
7996
7997 * Source/NSUserDefaults.m: ([-userLanguages]) updated to ensure we
7998 don't get empty strings in the language list.
7999 * Headers/Foundation/GSMime.h: Revised API
8000 * Source/GSMime.m: Revised API to make more sense
8001 * Documentation/gsdoc/GSMime.gsdoc: ditto
8002 * Documentation/gsdoc/GSMimeDocument.gsdoc: ditto
8003 * Documentation/gsdoc/GSMimeParser.gsdoc: ditto
8004
8005 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8006
8007 * Source/NSURL.m: ([-explode]) bugfix for parsing username/password
8008 provided by mark@brainstorm.co.uk
8009
8010 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8011
8012 * Source/GSTcpPort.m: Altered all GSTcpHandle debug output to include
8013 current thread. Added locking for read/write operations on handle.
8014 Hopefully all thread-safe now :-)
8015
8016 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8017
8018 * Source/NSConnection.m: ([-_getReplyRmc:]) added semi-busy wait
8019 for when the connection is being used from multiple threads.
8020
8021 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8022
8023 * configure.in: Added checks for OpenSSL
8024 * Headers/gnustep/base/NSFileHandle.h: Added info for SSL handles.
8025 * Source/UnixFileHandle.m: Added GSUnixSSLHandle class based on
8026 code by <mark@brainstorm.co.uk>
8027
8028 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8029
8030 * Source/NSBundle.m: Minor tidying to avoid compiler warnings.
8031 * Source/NSFileManager.m: ditto
8032
8033 Tue Nov 14 23:44:14 2000 Adam Fedor <fedor@yogi.doc.com>
8034
8035 * Source/GSString.m: Add limits.h (for Solaris)
8036
8037 2000-11-14 Adam Fedor <fedor@gnu.org>
8038
8039 * Source/GSLocale.m: Put LANGINFO_H ifdefs around include of
8040 langinfo.h.
8041
8042 2000-11-14 Richard Frith-Macdonald <rfm@gnu.org>
8043
8044 * Source/GSTcpPort.m: ([GSTcpHandle -receivedEvent:type:extra:forMode:])
8045 added locks around write operations for multi-threaded operation.
8046 newDataWithEncodedPort() modified to encode local host as an empty
8047 string, and other hosts by name rather than address.
8048 decodePort() added new parameter so that an empty string can be
8049 decoded as the host to which the GSTcpHandle is talking.
8050 Modified in various places to keep a record of the IP address of the
8051 remote end of the connection, so we can pass this to decodePort()
8052 ([-getFds:count:]) fixed error in determining set of file descriptors
8053 to listen to - resulted in two threads listening to the same descriptor
8054 at the same time!
8055
8056 2000-11-13 Richard Frith-Macdonald <rfm@gnu.org>
8057
8058 * Source/NSGAttributedString.m: partial rewrite to cache/unique
8059 dictionaries and to coalesce adjacent regions of string with the
8060 same attributes when setting attributes.
8061
8062 2000-11-12 Fred Kiefer <FredKiefer@gmx.de>
8063
8064 * Source/NSArray.m: Corrected [NSMutableArray arrayWithObject:] to
8065 return obj instead of self.
8066
8067 Fri Nov 10 12:30:27 2000 Nicola Pero <n.pero@mi.flashnet.it>
8068
8069 Added some GNUstep extensions to NSThread to allow JIGS to
8070 transparently map java threads to gnustep threads (and vice
8071 versa):
8072 * Headers/gnustep/base/NSThread.h, Source/externs.m:
8073 (NSThreadDidStartNotification): New notification.
8074 * Source/NSThread.m ([NSThread -_sendThreadMethod]): Post
8075 the NSThreadDidStartNotification.
8076 * Source/NSThread.m, Headers/gnustep/base/NSThread.h
8077 ([+registerCurrentThread]), ([+unregisterCurrentThread]): New
8078 methods.
8079
8080 2000-11-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8081
8082 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
8083 when called with Nil class.
8084
8085 2000-11-10 Richard Frith-Macdonald <rfm@gnu.org>
8086
8087 * Source/GSTcpPort.m: Added some locking tweaks for writing data.
8088 * Source/GSString.m: Fix for decoding obsolete string classes.
8089
8090 2000-11-09 Richard Frith-Macdonald <rfm@gnu.org>
8091
8092 * Source/NSPort.m: ([-setDelegate:]) corrected assertion to allow
8093 delegate to be set to nil. Bug reported by cornils@mail.desy.de
8094
8095 2000-11-08 Richard Frith-Macdonald <rfm@gnu.org>
8096
8097 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8098 initialize inline string classes correctly.
8099
8100 2000-11-06 Adam Fedor <fedor@gnu.org>
8101
8102 * Documentation: Move tmpl.texi files to texi and update GNUmakefile
8103
8104 Mon Nov 6 16:55:26 2000 Nicola Pero <n.pero@mi.flashnet.it>
8105
8106 * Documentation/GNUmakefile: Install ANNOUNCE, NEWS, INSTALL,
8107 BUGS, README, STATUS into
8108 Documentation/Developer/Base/ReleaseNotes/$(VERSION); install
8109 CODING-STANDARDS and coding-standards into
8110 Documentation/Developer/CodingStandards; install gnustep-base into
8111 Documentation/Developer/Base/Manual.
8112 * Documentation/gsdoc/GNUmakefile
8113 (Base_DOCUMENTATION_INSTALL_DIR): Install gsdoc reference in
8114 Documentation/Developer/Base/Reference.
8115
8116 2000-11-06 Richard Frith-Macdonald <rfm@gnu.org>
8117
8118 * Source/NSString.m: handle_printf_atsign() - use lossyCString to
8119 get string to print. This is a temporary *HACK* - we need a proper
8120 unicode supporting initWithFormat:
8121 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8122 allocate inline string classes for substrings.
8123
8124 2000-11-04 Richard Frith-Macdonald <rfm@gnu.org>
8125
8126 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8127 calendarFormat:locale:]): try getting timezone by name before
8128 attempting by abbreviation - thus preserving exact name isf possible.
8129
8130 2000-11-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8131
8132 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8133 calendarFormat:locale:]): assign calendar format.
8134
8135 2000-11-03 Richard Frith-Macdonald <rfm@gnu.org>
8136
8137 * Source/NSString.m: Update for placeholder class.
8138 * Source/GSString.m: Updates for optimisations using placeholder class.
8139
8140 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8141
8142 * Source/GSXML.m: External entity loader revisions completed.
8143 * Documentation/gsdoc/GSXML.gsdoc: changes to api
8144 * Documentation/gsdoc/GSXMLParser.gsdoc: ditto
8145 * Documentation/gsdoc/GSSAXHandler.gsdoc: ditto
8146
8147 2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
8148 * Headers/Foundation/GSXML.h: added GSXMLNode
8149 propertiesAsDictionaryWithKeyTransformationSel:
8150 * Source/GSXML.m: added GSXMLNode
8151 propertiesAsDictionaryWithKeyTransformationSel:
8152
8153 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8154
8155 * Source/NSUserDefaults.m: Fixed uninitialised variable bug.
8156 * Source/NSString.m: Fixed error in xml property list parsing
8157 * Source/GSXML.m: Various SAX things to use default implementation.
8158
8159 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8160
8161 * Source/NSString.m: Implemented
8162 ([-initWithCharactersNoCopy:length:freeWhenDone:]) and
8163 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSMutableString.
8164 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSString.
8165
8166 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8167
8168 Loads of files modified, fast.x removed.
8169 Found it unexpectedly easy to tidy up so that all functions for
8170 accessing the runtime are now in NSObjCRuntime.h.
8171 Now all :-) we need are Apple runtime implementations, configuration
8172 auto-detect for the apple runtime, and loads of updating of any
8173 bits of code that call the runtime directly.
8174
8175 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8176
8177 * Headers/gnustep/base/NSGString.h:
8178 * Headers/gnustep/base/NSGCString.h:
8179 * Source/NSGString.m:
8180 * Source/NSGCString.m: Removed classes - no longer used.
8181 * Headers/gnustep/base/NSObjCRuntime.h:
8182 * Headers/gnustep/base/fast.x:
8183 * Source/GSString.m:
8184 * Source/Makefile.postamble:
8185 * Source/NSArchiver.m:
8186 * Source/NSCTemplateValue.m:
8187 * Source/NSConcreteValue.m:
8188 * Source/NSCountedSet.m:
8189 * Source/NSDate.m:
8190 * Source/NSDictionary.m:
8191 * Source/NSDistantObject.m:
8192 * Source/NSGSet.m:
8193 * Source/NSNumber.m:
8194 * Source/NSObject.m:
8195 * Source/NSScanner.m:
8196 * Source/NSSerializer.m:
8197 * Source/NSSet.m:
8198 * Source/NSUnarchiver.m:
8199 Changed calls to 'fastClass()' to use 'GSObjCClassOfObject()' and
8200 added that to NSObjCRuntime.h. Removed central class and
8201 implementation caching from NSObject.m and fast.x since it was not
8202 being effectively used. New intention to do removal of fast.x and
8203 add similar functionality to NSObjCRuntime.h - intention being to
8204 combine functionality of fast access to the runtime, and hiding both
8205 GNU and Apple runtime behind a single interface.
8206
8207 2000-10-30 Richard Frith-Macdonald <rfm@gnu.org>
8208
8209 * Source/NSURLHandle.m: Wrap all locking with exception handlers to
8210 ensure that locks are released.
8211 * Headers/gnustep/base/NSInvocation.h: Removed non-standard macros
8212 * Headers/gnustep/base/behavior.h: Removed unused macro
8213 CALL_METHOD_IN_CLASS()
8214 * Source/GSString.m:
8215 * Source/GSXML.m:
8216 * Source/NSArchiver.m:
8217 * Source/NSArray.m:
8218 * Source/NSAttributedString.m:
8219 * Source/NSData.m:
8220 * Source/NSDictionary.m:
8221 * Source/NSGArray.m:
8222 * Source/NSGAttributedString.m:
8223 * Source/NSGCString.m:
8224 * Source/NSGDictionary.m:
8225 * Source/NSGeometry.m:
8226 * Source/NSObject.m:
8227 * Source/NSPortCoder.m:
8228 * Source/NSProcessInfo.m:
8229 * Source/NSRange.m:
8230 * Source/NSRunLoop.m:
8231 * Source/NSScanner.m:
8232 * Source/NSSerializer.m:
8233 * Source/NSString.m:
8234 * Source/NSUnarchiver.m:
8235 * Source/NSUserDefaults.m:
8236 Updated to move static SEL variable initialisation to +initialize
8237 methods so that it should (I think) work with the Apple runtime.
8238
8239 2000-10-29 Adam Fedor <fedor@gnu.org>
8240
8241 * configure.in: Check for langinfo.
8242 * Source/GSLocale.m (GSDomainFromDefaultLocale): Return nil
8243 dict if langinfo info not available.
8244
8245 * acconfig.h: Add HAVE_DLADDR
8246 * Headers/gnustep/base/config.h.in: Regenerate.
8247 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Return
8248 nil if not HAVE_DLADDR.
8249
8250 2000-10-29 Richard Frith-Macdonald <rfm@gnu.org>
8251
8252 * Source/GSString.m: New inline string classes added to avoid calls
8253 to malloc in some cases. Changed all deallocation methods to call
8254 NSDeallocateObject() directy for efficiency.
8255 * Source/NSString.m: Use new inline string classes for creation of
8256 strings where we know the length of the data in advaance.
8257
8258 2000-10-28 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8259
8260 * Headers/gnustep/base/NSBundle.h: added ivar.
8261 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
8262 method to parse NSFramework_* classes.
8263 (_bundle_load_callback): added framework support. Wrap classes in a
8264 NSValue to avoid implicit initialization.
8265 ([NSBundle +allBundles]): added framework support.
8266 ([NSBundle +allFrameworks]): implemented.
8267 ([NSBundle +bundleForClass:]): get classes from NSValue object.
8268 ([NSBundle -classNamed:]): likewise.
8269
8270 * Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
8271 * Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
8272 or Category.
8273 * Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
8274 lib path of a symbol.
8275 * Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
8276 * Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.
8277
8278 * Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
8279 (mframe_set_arg): idem
8280
8281 * Headers/gnustep/base/config.h.in: added HAVE_DLADDR
8282 * aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
8283 * configure.in: added --with-libxml-include and --with-libxml-library,
8284 added -I/usr/local/include and -L/usr/local/lib for FreeBSD.
8285
8286 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8287
8288 * Source/NSObject.m: Reverted last change -
8289 +new has to do alloc, init or break classes that expect to use their
8290 own allocation mechanisms. Similarly, +alloc must call the
8291 ([+allocWithZone:]) method. We can't make optimisations that
8292 break with the OpenStep spec and MacOS documentation - they would
8293 break production code. Of course, private classes can do this.
8294
8295 2000-10-27 Lyndon Tremblay <humasect@home.com>
8296
8297 * Source/NSObject.m ([NSObject +new]): No longer sends 2 messages,
8298 uses NSAllocateObject().
8299 ([NSObject +alloc]): Likewise, no message sending within the method.
8300
8301 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8302
8303 * Source/NSURLHandle.m: Make class registration thread safe.
8304 Tidy initialisation to use designated initialiser.
8305
8306 2000-10-27 Adam Fedor <fedor@gnu.org>
8307
8308 * Added localization support
8309 * configure.in: Look for locale.h
8310 * Resources: New directory, files for languages.
8311 * Headers/gnustep/base/NSUserDefaults.h: Add missing localization
8312 keys.
8313 * Source/GSLocale.m: New functions for dealing with locales.
8314 * Source/NSUserDefaults.m (-_unlocalizedDefaults): New method.
8315 (-sharedUserDefaults): Set up Language domain.
8316 (-userLanguages): Create our own defaults, if necessary, to avoid
8317 recursion with sharedUserDefaults.
8318 (__createStandardSearchList): Put NSGlobalDomain before Language
8319 domain to match MacOSX docs (wasn't specified in OpenStep docs).
8320 * Documentation/gsdoc/NSUserDefaults.m: Updated.
8321
8322 * Tools/locale_alias.m: New test-tool mostly for maintainance use.
8323
8324 2000-10-26 Richard Frith-Macdonald <rfm@gnu.org>
8325
8326 * Source/NSData.m: When deserialising selectors, register new
8327 selectors if they don't already exist - so we can unarchive a
8328 selector into a program where no objects implements it (we might
8329 still want to use it over DO or to store in another archive).
8330 Change suggested by N.Pero.
8331 * Source/GSMime.m: Mime parser classes partially written.
8332 * Headers/Foundation/GSMime.h: mime class headers
8333 * Documentation/gsdoc/GSMime.gsdoc: documentation
8334 * Documentation/gsdoc/GSMimeDocument.gsdoc: documentation
8335 * Documentation/gsdoc/GSMimeParser.gsdoc: documentation
8336 Various files partially implemented to add MIME parsing support.
8337 Intended to aid implementation of HTTP version of NSURLHandle.
8338
8339 2000-10-24 Adam Fedor <fedor@gnu.org>
8340
8341 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
8342 Set format if nil.
8343 (-addYear:month:day:hour:minute:second:): Use signed ints.
8344
8345 2000-10-24 Richard Frith-Macdonald <rfm@gnu.org>
8346
8347 * Source/GSString.m: Implement ([-substringWithRange:]) and
8348 ([-substringFromRange:]) equally. The 'from' method is the
8349 'official OpenStep' one, the 'with' method is a MacOS-X compatibility
8350 addition.
8351 * Source/NSAttributedString.m: Added ([-attributedSubstringWithRange:])
8352 in the expectation that Apple will rename the method and remove
8353 ([-attributedSubstringFromRange:])
8354 * Source/NSScanner.m: Use substringWithRange.
8355 * Source/NSProxy.m: Implement ([-forward::]) to use
8356 ([-forwardInvocation:]). Implement ([-conformsToProtocol:]) to raise
8357 exception, Implement ([-respondsToSelector:]) to raise exception.
8358 * Source/NSDistantObject.m: Implement ([-conformsToProtocol:]) to
8359 forward to remote. Implement ([-respondsToSelector:]) to forward.
8360
8361 2000-10-24 Fred Kiefer <FredKiefer@gmx.de>
8362
8363 * Source/NSAttributedString.m: Added begin/endEditing to all
8364 complex methods on NSMutableAttributedString as necessary for
8365 NSTextStorage.
8366 * Source/GSString.m: Changed all substringFromRange: to
8367 substringWithRange: as this is the basic method.
8368
8369 2000-10-23 Richard Frith-Macdonald <rfm@gnu.org>
8370
8371 * Source/NSString.m: ([-fastestEncoding]), ([-smallestEncoding])
8372 implemented to return NSUnicodeStringEncoding. Use new string
8373 classes more effectively - let GSString turn itsself into either
8374 GSCString or GSUstring when initialised.
8375 Merged in code from propList.h
8376 * Source/GSString.m: ([-dataUsingEncoding:allowLossyConversion:])
8377 bugfixes for cString reported by Freed Kiefer
8378 Removed 'ascii' flag - more trouble than a minor optimisation is
8379 worth.
8380 Fixed transmute() to be careful about freeing old string.
8381 * Source/Unicode.m: encode_ustrtostr_strict() return 0 on failure.
8382
8383 2000-10-21 Richard Frith-Macdonald <rfm@gnu.org>
8384
8385 * Headers/Foundation/NSNull.h: New placeholder class.
8386 * Source/NSNull.m: New placeholder class.
8387 * Source/GNUmakefile: Build NSNull and install header.
8388 * Documentation/gsdoc/GNUmakefile: Build NSNull documentation
8389 * Documentation/gsdoc/NSNull.gsdoc: NSNull documentation
8390
8391 2000-10-20 Richard Frith-Macdonald <rfm@gnu.org>
8392
8393 * Source/NSString.m: ([-initWithCharacters:length:]) use
8394 ([-initWithCStringNoCopy:length:freeWhenDone:]) if possible.
8395 * Source/GSString.m: Much tidying up. Added two new concrete
8396 classes for substrings.
8397 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
8398 avoid any attempt to read beyond the supplied string.
8399
8400 2000-10-16 Richard Frith-Macdonald <rfm@gnu.org>
8401
8402 Attempts to make sure that when members of a class cluster are encoded
8403 (either for archiving or for sending over DO), they are encoded as
8404 the abstract class hiding the other classes in the cluster - this
8405 should mean that (in future) changes in the private concrete classes
8406 used should not effect existing archives and running DO applications.
8407 * Source/NSDate.m: Implement -classForCoder to encode as the
8408 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8409 in abstract class.
8410 * Source/NSDictionary.m: Implement -classForCoder to encode as the
8411 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8412 in abstract class.
8413 * Source/NSArray.m: Implement -classForCoder to encode as the abstract
8414 class.
8415 * Source/NSAttributedString.m: Implement -classForCoder to encode as
8416 the abstract class. Implement ([-encodeWithCoder:]) and
8417 ([-initWithCoder:]) in abstract class.
8418 * Source/NSGAttributedString.m: Remove coding/encoding stuff - now done
8419 in abstract class.
8420 * Source/NSNumber.m: Implement -classForCoder to encode numbers as the
8421 abstract class.
8422 Modified ([-encodeWithCoder:]) and ([-initWithCoder:]) to encode objc
8423 type when encoding as abstract class.
8424 * Source/NSConcreteNumber.m: Modified encoding method to mirror
8425 abstract class method. Old ([-initWithCoder:]) method retained to
8426 decode old format records from archives.
8427
8428 2000-10-11 Adam Fedor <fedor@gnu.org>
8429
8430 * Source/NSObject.m (+initialize): Initialize Window sockets
8431 on MINGW.
8432 * Source/libgnustep-base-entry.m (gnustep_base_socket_init):
8433 New function.
8434
8435 2000-10-10 Richard Frith-Macdonald <rfm@gnu.org>
8436
8437 * Source/GSString.m: fillHole() fixed error in copying bytes.
8438
8439 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8440
8441 * Source/NSGAttributedString.m: ([-setAttributes:range:])
8442 Fixed obscure bug - use ASSIGNCOPY rather than ASSIGN to prevent
8443 mutable dictionaries being placed in attributed string.
8444
8445 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8446
8447 Major rewrite of NSString.
8448 There was a fundamental architectural problem in the old
8449 implementation ... if you had an NSGMutableCString object,
8450 and used any method that appends (or replaces) characters in
8451 that string, there was a problem in that the characters being
8452 added may not be representable in the default character set.
8453
8454 This means that we needed the concrete mutable strring class to
8455 be able to mutate itsself from an 8-bit string to a 16-bit string
8456 when necessary (we can't just allocate a new object, because we
8457 have no way of returning it to the caller).
8458
8459 We could not handle this simply by changing the class pointer in
8460 the instance (and reallocating and modifying the memory actually
8461 storing the characters of course). The problem with this is that
8462 the method implementations of the object may have been cached in
8463 the user code (quite likely if you want high performance from a
8464 mutable string) - and subsequent use of those cached implementations
8465 would still try to treat the contents of the string as 8-bit characters.
8466
8467 The solution adopted was to make the standard mutable string class
8468 contain a flag to adjust its behavior so that each method treats
8469 the char data as either 8 or 16 bit.
8470 This makes for ugly code, partially tidied by use of inline functions.
8471
8472 For most of the methods implemented for the constant strings
8473 (rather than being inherited from the abstract class) we now
8474 have two inline functions for 8-bit and 16-bit implementations.
8475 The GSUString and GSCString objects have method implementations
8476 that simply called the appropriate function. The GSMString
8477 implementation of each method tests the flag and calls the
8478 appropriate inline function.
8479
8480 * Headers/gnustep/base/NSString.h: Remove NSGCString, NSGString,
8481 NSGMutableCStrng and NSGMutableString. Add GSString interface and
8482 new version of NXConstantString interface.
8483 * Headers/gnustep/base/fast.x: Remove string caching information.
8484 * Source/GNUmakefile: Don't build old concrete strings or install
8485 their headers. Do build new concrete string (GSString.m)
8486 * Source/GSCompatibility.m: Don't use private concrete strings.
8487 * Source/GSeq.h: Various modifications for new string classes.
8488 * Source/NSArray.m: Don't use private concrete strings.
8489 * Source/NSData.m: Don't use private concrete strings.
8490 * Source/NSDictionary.m: Don't use private concrete strings.
8491 * Source/NSGAttributedString.m: Don't use private concrete strings.
8492 * Source/NSGCString.m: No longer used.
8493 * Source/NSGDictionary.m: Don't use private concrete strings.
8494 * Source/NSGString.m: No longer used.
8495 * Source/NSNotificationCenter.m: Don't use private concrete strings.
8496 * Source/NSObjCRuntime.m: Don't use private concrete strings.
8497 * Source/NSObject.m: Don't cache string information.
8498 * Source/NSScanner.m: Modified to use new concrete strings.
8499 * Source/NSSerializer.m: Modified to use new concrete strings.
8500 * Source/NSString.m: Modified to use new concrete strings. Rewrote
8501 various methods to work in terms of the primitive string methods.
8502 Implemented encoding and decoding at this level so we don't encode
8503 concrete string classes in archives.
8504 * Source/externs.m: Modified to use new concrete strings.
8505 * Source/propList.h: Modified to use new concrete strings.
8506 * Source/GSString.m: New string classes, plus decoding for old ones.
8507
8508 2000-10-05 Richard Frith-Macdonald <rfm@gnu.org>
8509
8510 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Replace
8511 DEFS (lost in last change) to set default paths for NSBundle etc.
8512 * Source/NSString.m: Minor range fixes.
8513 * Source/NSGString.m: initialisation fixes.
8514
8515 2000-10-04 Adam Fedor <fedor@gnu.org>
8516
8517 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Add
8518 CONFIG_SYSTEM_DEFS.
8519
8520 2000-10-05 Fred Kiefer <FredKiefer@gmx.de>
8521
8522 * Source/Unicode.m:
8523 Changed available encodings if HAVE_ICONV is defined. This is
8524 still a static definition.
8525
8526 2000-10-02 Adam Fedor <fedor@gnu.org>
8527
8528 * configure.in: Update required libxml version to 2.2.3
8529
8530 2000-09-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8531
8532 * Source/NSDistantObject.m ([GSDistantObjectPlaceHolder
8533 +respondsToSelector:]): implemented.
8534 * Source/NSProcessInfo.m ([NSProcessInfo +load]): bug fix for FreeBSD.
8535 * configure.in: enable_fake_main not enabled by default for FreeBSD-elf
8536
8537 2000-09-30 Fred Kiefer <FredKiefer@gmx.de>
8538
8539 * Headers/gnustep/base/Unicode.h:
8540 Merged in GetDefEncoding.h
8541 New function GetAvailableEncodings.
8542 * Source/Unicode.m:
8543 Merged in GetDefEncoding.m
8544 New function GetAvailableEncodings.
8545 Updated the encoding arrays.
8546 * Headers/gnustep/base/GetDefEncoding.h:
8547 * Source/GetDefEncoding.m:
8548 This are now obsolete and therfore removed.
8549 * Source/NSString.m:
8550 Use GetAvailableEncodings in [availableStringEncodings]
8551
8552 2000-09-30 Richard Frith-Macdonald <rfm@gnu.org>
8553
8554 * Source/NSString.m: ([-initWithUTFString:length:]),
8555 ([-initWithData:encoding]) create UTF strings as 8-bit strings if
8556 they actually only contain ascii characters.
8557 * Source/GSXML.m: Create strings from UTF8 data throughout.
8558 * Headers/gnustep/base/NSObject.h: (CREATE_AUTORELEASE_POOL) use +new
8559 to avoid a message despatch overhead (combine allocWithZone and init).
8560
8561 2000-09-29 Richard Frith-Macdonald <rfm@gnu.org>
8562
8563 * Source/GSCompatibility.m: Fix stupid error in last modification -
8564 missed part of method name.
8565 * Source/GNUmakefile: Fix to get headers installed in
8566 $(GNUSTEP_SYSTEM_ROOT)/Headers/Foundation again.
8567 * Source/Makefile.postamble: Add code to install headers in
8568 $(GNUSTEP_SYSTEM_ROOT)/Headers/gnustep/Foundation as well - is this
8569 really necessary?
8570 * Headers/Foundation/GSXML.h: Removed new methods used for HTML parser
8571 * Source/GSXML.m: Renamed internal methods for xml/html parser
8572 differentiation and declared in private interface. Tidied to conform
8573 to coding standards. Added casts to prevent compiler warnings.
8574 * Documentation/gsdoc/GSXML.gsdoc: added html parser info
8575
8576 2000-09-29 Manuel Guesdon <mguesdon@orange-concept.com>
8577 -- You'll need libxml2 v >= 2.2.3 to compile GSXML --
8578 * Headers/Foundation/GSXML.h: added GSHTMLParser and GSHTMLSAXHandler
8579 * Source/GSXML.m: added GSHTMLParser and GSHTMLSAXHandler
8580 use of _private member of parser context instead of user_data
8581 which is not a freely useable user_data in libxml
8582
8583 2000-09-27 Richard Frith-Macdonald <rfm@gnu.org>
8584
8585 * Source/GSCompatibility.m: Use OpenStep standard string initialisation.
8586 * Source/NSSerializer.m: Use OpenStep stanrd initializers.
8587 * Source/NSUnarchiver.m: ditto
8588 * Source/NSData.m: Simplify by removing memory management extensions.
8589 * Source/NSGCString.m: ditto
8590 * Source/NSGString.m: ditto
8591 * Source/NSObject.m: ditto
8592 * Source/NSString.m: ditto
8593 * Source/externs.m: Removed unused NXConstantString assignments.
8594 * Source/GSXML.m: ([-propertiesAsDictionary]) bugfix adding nil object
8595 to dictionary. ([-externalSubset:externalID:systemID:]) method added.
8596 Fixes suggested by mguesdon@oxymium.net
8597
8598 2000-09-26 Lyndon Tremblay <humasect@home.com>
8599
8600 * Headers/Foundation/NSObject.h (CREATE_AUTORELEASE_POOL): Saves 1
8601 message call.
8602 (RECREATE_AUTORELEASE_POOL): Added to reuse existing variables.
8603
8604 2000-09-25 Richard Frith-Macdonald <rfm@gnu.org>
8605
8606 * Source/NSURLHandle.m: ([-addClient:]) ensure that clients are only
8607 recorded once.
8608 * Documentation/gsdoc/NSURLHandle.gsdoc: flesh out descriptions and
8609 add type and protocol information.
8610
8611 2000-09-24 Adam Fedor <fedor@gnu.org>
8612
8613 * configure.in: Check for rint in math library...
8614
8615 2000-09-22 Richard Frith-Macdonald <rfm@gnu.org>
8616
8617 * Headers/gnustep/base/NSData.h: Added URL methods.
8618 * Headers/gnustep/base/GSXML.h: Reorganized init methods in line with
8619 Manuels ideas but with naming consistent with other classes.
8620 * Source/NSData.m: Added URL methods.
8621 * Source/NSURL.m: First attempt (untested) at code to load data.
8622 tolerate URLs where the network part is missing and the '//' left out.
8623 * Source/GSXML.m: Reorganized init methods in line with
8624 Manuels ideas but with naming consistent with other classes.
8625 Correct methods for setting parser behavior for the object concerned
8626 rather than default behavior for all parsers.
8627 Support NSURL parsing.
8628 * Source/propList.h: Update for change in GSXMLParser API.
8629 * Documentation/gsdoc/GSXMLParser.gsdoc: update for new initialisation
8630 methods.
8631 * Source/NSArray.m: Put code in place to generate XML proplists
8632 * Source/NSDictionary.m: Put code in place to generate XML proplists
8633 * Source/GSCompatibility.m: Put code in place to generate XML proplists
8634 but disable it until working entity replacement is done.
8635
8636 2000-09-21 Adam Fedor <fedor@gnu.org>
8637
8638 * configure.in: Check for rint.
8639 * Source/GSCompatibility.m: Define rint if not available.
8640
8641 * Source/NSData.m (readContentsOfFile): Remove incorrectly used
8642 variable (MINGW).
8643 * Source/NSFileManager.m (-removeFileAtPath:handler:): Use more
8644 direct check if path is a dir.
8645 (directoryContentsAtPath): Likewise.
8646 (isExecutableFileAtPath): On MINGW, Return YES if a directory.
8647 (fileSystemRepresentationWithPath:): On MINGW, fix up paths that might
8648 come from Unix-like shells, like Cygwin bash, so they can be used with
8649 Windows functions.
8650 * Source/NSRunLoop.m (-acceptInputForMode:beforeDate:): On MINGW,
8651 check for errno==0 and continue as if there was no error.
8652 * Source/NSString.m (fileSystemRepresentation): Use NSFileManager's
8653 implementation.
8654 (getFileSystemRepresentation:): Likewise.
8655 (isAbsolutePath): Check fileSystemRepresentation.
8656 * Source/NSTask.m: Use fileSystemRepresentation instead of cString.
8657 * Source/NSUser.m (NSHomeDirectoryForUser): On MINGW, return nil
8658 if no home found.
8659 * Source/NSUser.m (pathForUser): Use GNUSTEP_ROOT if no user home
8660 found.
8661
8662 * Testing/nsconnection_client.m: Use impl of getopt for MINGW.
8663 * Testing/nsconnection_server.m: Likewise.
8664 * Testing/nsscanner.m: Likewise.
8665 * Testing/nstask.m: Launch an appropriate Windows task.
8666 * Testing/nsstring.m: Catch exception during inappropriate
8667 string replacement.
8668
8669 2000-09-21 Richard Frith-Macdonald <rfm@gnu.org>
8670
8671 * Headers/gnustep/base/NSURLHandle.h: tidy up.
8672 * Source/NSURLHandle.m: Implement class and add simple implementation
8673 of a concrete subclass for handling file URLs.
8674
8675 2000-09-20 Richard Frith-Macdonald <rfm@gnu.org>
8676
8677 * Headers/gnustep/base/GSXML.h: Added ([-parser:]) and removed
8678 redundant 'length' info from callbacks.
8679 * Source/GSXML.m: Added ([-parser:]), tidied ([-parser]), fixed
8680 scope of functions, and removed redundant 'length' info from callbacks.
8681 * Documenttion/gsdoc/GSXMLParser.gsdoc: document ([-parser:])
8682 * Documentation/gsdoc/GSSAXHandler.gsdoc: update for removal of
8683 redundant 'length' info on some callbacks.
8684 * Source/externs.m: Initialise strings using NSGCString because the
8685 NSString class +initialize method may not have completed when this
8686 is done - so NSString won't have cached its cocrete and abstract
8687 classes.
8688 * Source/GSCompatibility.m: Partial write of code to generate MacOS-X
8689 compatible (XML) property-list text.
8690 * Tools/gsdoc.m: Major (3 hours) effort to get code back to something
8691 vaguely like conformance with coding standards! Hope nothing got
8692 broken.
8693
8694 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8695
8696 * Headers/gnustep/base/GSXML.h:
8697 * Source/GSXML.m: Revert to earlier version to remove
8698 formatting/coding-standards errors, broken GSSAXHandler class,
8699 and complexity adding api additions.
8700 Continued integration of Michael Pakhantsovs code.
8701 Added Manuels +xmlEncodingStringForStringEncoding with tidying.
8702 Added Manuels -typeDescription with rewrite for performance.
8703 * Documenttion/gsdoc/GSXMLParser.gsdoc:
8704 added xmlEncodingStringForStringEncoding
8705 * Documenttion/gsdoc/GSXMLNode.gsdoc:
8706 added -typeDescription
8707 * Documentation/gsdoc/GSSAXHandler.gsdoc: added -parser method.
8708
8709 2000-09-19 Manuel Guesdon <mguesdon@orange-concept.com>
8710 You'll need libxml2 v >= 2.2.3 to compile GSXML
8711 * Source/GSXML.m & Headers/Foundation/GSXML.h:
8712 corrected bugs,
8713 added added non guessing construction methods in GSXMLParser
8714 added -typeDescription in GSXMLNode
8715 added +xmlEncodingStringForStringEncoding: in GSXMLParser
8716 added inParserContext:(void*)parserContext parameter for GSSAXHandler
8717
8718 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8719
8720 * Source/NSURLHandle.m: Implemented subclass registry.
8721
8722 2000-09-19 Fred Kiefer <FredKiefer@gmx.de>
8723
8724 * Headers/gnustep/base/Unicode.h:
8725 New functions encode_ustrtostr_strict() and encode_unitochar_strict()
8726 * Source/NSString.m:
8727 Impelemented [initWithUTF8String:]
8728 * Source/NSGCString.m:
8729 * Source/NSGString.m:
8730 Implemented method [dataUsingEncoding:allowLossyConversion:]
8731 * Source/Unicode.m:
8732 New strict methods for string conversion.
8733
8734 2000-09-15 Adam Fedor <fedor@gnu.org>
8735
8736 * configure.in: Turn off enable_fake_main if on MinGW.
8737
8738 * Source/WindowsFileHandle.m: New class.
8739 * Source/NSFileHandle.m: Use it on MinGW
8740 * Source/NSTask.m: Break into concrete subclasses for
8741 Unix and Windows.
8742
8743 * Source/NSProcessInfo.m: on MinGW, don't try to redefine
8744 __argv, __argc, etc.
8745 * Source/libgnustep_base_entry.m: Renamed from win32-entry.m
8746
8747 * Tools/gdnc.m: Don't fork on MinGW
8748 * Tools/gdomap.c: Define MINGW ifdef MINGW32.
8749
8750
8751 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8752
8753 * Source/GSXML.m: made method names more consistent.
8754 * Headers/gnustep/base/GSXML.h: made method names more consistent.
8755 * Documentation/gsdoc/GNUmakefile: Added GSXML files
8756 * Documentation/gsdoc/base.gsdoc: Added link to GSXML
8757 * Documentation/gsdoc/GSXML.gsdoc: Overview of XML parsing.
8758 * Documentation/gsdoc/GSSAXHandler.gsdoc: event parsing handler class.
8759 * Documentation/gsdoc/GSXMLAttribute.gsdoc: xml attribute wrapper.
8760 * Documentation/gsdoc/GSXMLDocument.gsdoc: xml document wrapper.
8761 * Documentation/gsdoc/GSXMLNamespace.gsdoc: xml namespace wrapper.
8762 * Documentation/gsdoc/GSXMLNode.gsdoc: xml node wrapper.
8763 * Documentation/gsdoc/GSXMLParser.gsdoc: xml parser wrapper.
8764
8765 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8766
8767 * Source/UnixFileHandle.m: conform to GCFinalization protocol.
8768
8769 2000-09-14 Adam Fedor <fedor@gnu.org>
8770
8771 * configure.in: Check for windows.h
8772
8773 2000-09-14 Richard Frith-Macdonald <rfm@gnu.org>
8774
8775 * Headers/gnustep/base/NSLock.h: conform to GCFinalization protocol.
8776 * Source/NSLock.m: deallocate mutex in gcFinalize. Don't raise an
8777 exception if mutex deallocation fails.
8778
8779 2000-09-13 Adam Fedor <fedor@gnu.org>
8780
8781 * Remove dependance on Source/Foundation link, additional MINGW ports.
8782 * Makefile.postamble (header-links): Remove Source/Foundation link.
8783 * Source/Makefile.preamble (HEADER_DIR): New variable.
8784 (ADDITIONAL_INCLUDE_DIRS): Include ../Headers.
8785 * Source/GNUmakefile (GENERATED_HEADERS): Change Foundation
8786 to $(HEADER_DIR).
8787 * Source/Makefile.postamble: Likewise.
8788
8789 * Source/GSTcpPost.m: Update to handle MINGW (mostly copied from
8790 gdomap.c).
8791 * Source/NSFileManager.m (-findNextFile): Check if lstat,
8792 geteuid implemented.
8793 * Source/NSHost.m: Change includes for MINGW.
8794 * Source/NSPortNameServer.m: Likewise.
8795 * Source/NSPipe.m (init): Port to MINGW.
8796
8797 * configure.in: Do preface.h substitutions here.
8798 * Source/Makefile.postamble (preface.h): Remove target.
8799
8800 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8801
8802 * Source/GSCompatibility.m: new file for MacOSX compatibility flags
8803 * Source/GNUmakefile: add GSCompatibility.m
8804 * Source/NSGeometry.m: Use GSMacOSXCompatibleGeometry() function to
8805 decide whether to produce MacOS-X format strings.
8806 * Source/propList.h: Parse MacOS-X format property lists as well as
8807 OpenStep format ones.
8808
8809 2000-09-12 Adam Fedor <fedor@gnu.org>
8810
8811 * configure.in: Check for symlin, readlink.
8812
8813 * Source/GNUmakefile: Don't compile UnixFileHandle.m on mingw.
8814 (Will create WindowsFileHandle later...).
8815
8816 * Source/NSFileManager.m (-createDirectoryAtPath:attributes:]):
8817 Create subpaths on mingw.
8818 (isDeletableFileAtPath:): Implement for mingw.
8819 (createSymbolicLinkAtPath): Implement only if HAVE_SYMLINK
8820 (pathContentOfSymbolicLinkAtPath): Implement only if HAVE_READLINK
8821
8822 2000-09-13 Fred Kiefer <FredKiefer@gmx.de>
8823
8824 * Headers/gnustep/base/Unicode.h:
8825 Make function encode_ustrtostr public
8826 * Headers/gnustep/base/NSString.h:
8827 Added extra encodings. Added missing methods
8828 * Source/NSString.m:
8829 Added basic implementation for missing methods
8830 [stringWithUTF8String:], [initWithUTF8String:], [UTF8String],
8831 [stringWithContentsOfURL:], [initWithContentsOfURL:],
8832 [writeToURL:atomically:], [localizedCaseInsensitiveCompare:],
8833 [localizedCompare:], [compare:options:range:locale:]
8834 * Source/NSGCString.m:
8835 [getCharacters:] and [getCharacters:range:] use higher level
8836 methods for conversion.
8837 * Source/Unicode.m:
8838 Added conversion with iconv, this needs HAVE_ICONV.
8839 Made normal conversions faster by unrolling the case switch.
8840
8841 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8842
8843 * Makefile.postamble (header-links): Restore functionality on unix
8844 lost in last change, also (for MINGW) copy header files to the
8845 Source/Foundation directory in addition to Headers/Foundation.
8846 * Source/NSConnection.m: Address problems reported by georg@ist.org ...
8847 ([-connectionWithRegisteredName:host:usingNameServer:]) avoid returning
8848 local server connection - create new connection to it if necessary.
8849 ([-rootProxy]) return root object if sent to server connection.
8850 Also added some more debug statements.
8851 * Source/NSDistantObject.m: ([-methodForSelector:]) implemented to
8852 (hopefully) fix problem in pasteboard stuff.
8853
8854 2000-09-11 Adam Fedor <fedor@gnu.org>
8855
8856 * Mingw fixes.
8857 * Makefile.postamble (header-links): if MINGW, copy header files
8858 to Foundation (Mingw's gcc can't handle links).
8859
8860 * Source/mframe/configure.in: Check target, not host.
8861
8862 * Source/NSDate.m (GSTimeNow): Fix typo.
8863
8864 * Source/NSData.m (readContentsOfFile): Fix up vars for MINGW.
8865 (-writeToFile:atomically:): Likewise.
8866
8867 2000-09-11 Richard Frith-Macdonald <rfm@gnu.org>
8868
8869 * Headers/gnustep/base/GSXML.h: new classes for parsing XML
8870 * Source/GSXML.m: new classes for parsing XML
8871 * Source/Makefile.preamble: Define HAVE_LIBXML if appropriate.
8872 * Source/GNUMakefile: Build new classes if appropriate.
8873 * Tools/Makefile.preamble: Removed libxml stuff - now done globally.
8874
8875 2000-09-10 Richard Frith-Macdonald <rfm@gnu.org>
8876
8877 * Source/NSCalendarDate: ([-initWithString:calendarFormat:locale:])
8878 modify parsing to be more tolerant of numeric fields that are smaller
8879 than the expected size, but warn about unexpected format.
8880
8881 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8882
8883 * Source/NSAttributedString.m: Make -description produce output in
8884 same format as MacOS-X
8885 * Source/NSDistributedNotificationCenter.m: update method return
8886 types for macOS-X complience.
8887 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto.
8888
8889 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8890
8891 * Source/NSGString.m: Removed obsolete methods and added range checks.
8892 * Source/NSGCString.m: ditto.
8893 * Source/NSAttributedString.m: Fix fencepost error in -description.
8894
8895 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8896
8897 * Source/NSRunLoop.m: ([-_checkPerformers:]) When a loop executes the
8898 method to deal with a ([-performSelector:target:argument:order:modes]),
8899 we cancel the request rather than leaving it to be actioned again next
8900 time round the loop.
8901
8902 2000-09-07 Richard Frith-Macdonald <rfm@gnu.org>
8903
8904 * Source/NSGeometry.m: Add code to parse MacOS-X format strings.
8905 Also produce MacOS-X format strings if the GSMacOSXCompatibleGeometry
8906 or GSMacOSXCompatible default is YES (the former overrides the latter).
8907 * Source/NSException.m: ([-name]) and ([-reason]) modifide to ensure
8908 that a nil is never returned.
8909
8910 2000-09-01 Fred Kiefer <FredKiefer@gmx.de>
8911
8912 * Headers/gnustep/base/NSString.h:
8913 Added new encodings from specification
8914 * Headers/gnustep/base/NSNumberFormatter.h:
8915 * Source/NSNumberFormatter.m:
8916 Added skeleton for this class
8917 *Source/GNUmakefile:
8918 Added NSNumberFormatter.[hm]
8919
8920 2000-08-27 Manuel Guesdon <mguesdon@orange-concept.com>
8921
8922 * Tools/gsdoc-0_6_6.dtd: added elements for gnustep-db doc generator
8923 * Tools/gsdoc.m: handle gnustep-db doc generator
8924
8925 2000-08-24 Manuel Guesdon <mguesdon@orange-concept.com>
8926
8927 * Tools/gsdoc-0_6_6.dtd: added prjref element which enable explicit
8928 links between projects
8929 * Tools/gsdoc.m: handle prjref
8930 remove extensions from files in gsdocrefs
8931 (one day we'll generate other formats :-)
8932
8933 2000-08-23 Fred Kiefer <FredKiefer@gmx.de>
8934
8935 * Headers/gnustep/base/NSDecimal.h:
8936 Use signed char for exponent, as char may be unsigned on some machines
8937 * Source/NSDecimal.m:
8938 Corrected some bugs and added a basic implementation based on GMP
8939 (Still not complete)
8940
8941 2000-08-23 Adam Fedor <fedor@gnu.org>
8942
8943 * Source/NSDebug.m (NSFrameAddress): New function
8944 (NSReturnAddress): Likewise.
8945 (NSCountFrames): Likewise. (impementation from alex@orderfusion.com).
8946
8947 2000-08-16 Manuel Guesdon <mguesdon@orange-concept.com>
8948
8949 * Tools/gsdoc-0_6_6.dtd: added conform for category
8950 * Tools/gsdoc.m: correct bugs and added inter/intra-projects
8951 link generations
8952 * Tools/AutoDocTemplate.gsdoc: correct problems
8953 * Tools/indextemplate.gsdoc: correct problems
8954
8955 2000-08-16 Richard Frith-Macdonald <rfm@gnu.org>
8956
8957 * Source/NSDebug.m: Fix memory leak when adding new class to array
8958 of those being recorded - report by Frederic.De.Jaeger
8959
8960 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8961
8962 * Tools/gsdoc.gsdoc: added examples on how to use AutoDoc and GSDoc.
8963
8964 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8965
8966 * Tools/GNUmakefile: added DocTemplates
8967 * Tools/Makefile.postamble: added DocTemplates
8968 * Tools/indextemplate.gsdoc: New file. Use it as template for
8969 gsdoc index generation
8970 * Tools/AutoDocTemplate.gsdoc: New File: Use it as template for AutoDoc
8971 source-to-documentation generation.
8972
8973 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8974
8975 * Tools/gsdoc-0_6_6.dtd: added ivariable, constant and stylesheet
8976 * Tools/gsdoc.m: added ivariable, constant and stylesheet support
8977 added index generation
8978 * Tools/gsdoc.gsdoc: added parameters documentation
8979
8980 2000-08-13 Richard Frith-Macdonald <rfm@gnu.org>
8981
8982 * Documentation/gsdoc/NSString.gsdoc: add documentation for replacing
8983 strings within the reciever.
8984 * Documentation/gsdoc/NSMutableString.gsdoc: ditto
8985
8986 2000-08-08 Richard Frith-Macdonald <rfm@gnu.org>
8987
8988 * Headers/gnustep/base/all.h: Moved to Old as obsolete file.
8989 * Headers/gnustep/base/Arch: dittoiver.m
8990 * Headers/gnustep/base/Archiver.h: ditto
8991 * Headers/gnustep/base/Array.h: ditto
8992 * Headers/gnustep/base/ArrayPrivate.h: ditto
8993 * Headers/gnustep/base/Bag.h: ditto
8994 * Headers/gnustep/base/BinaryCStream.h: ditto
8995 * Headers/gnustep/base/BinaryTree.h: ditto
8996 * Headers/gnustep/base/BinaryTreeNode.h: ditto
8997 * Headers/gnustep/base/CircularArray.h: ditto
8998 * Headers/gnustep/base/CircularArrayPrivate.h: ditto
8999 * Headers/gnustep/base/Coder.h: ditto
9000 * Headers/gnustep/base/CoderPrivate.h: ditto
9001 * Headers/gnustep/base/Coding.h: ditto
9002 * Headers/gnustep/base/Collecting.h: ditto
9003 * Headers/gnustep/base/Collection.h: ditto
9004 * Headers/gnustep/base/CollectionPrivate.h: ditto
9005 * Headers/gnustep/base/CStream.h: ditto
9006 * Headers/gnustep/base/CStreaming.h: ditto
9007 * Headers/gnustep/base/DelegatePool.h: ditto
9008 * Headers/gnustep/base/Dictionary.h: ditto
9009 * Headers/gnustep/base/Enumerating.h: ditto
9010 * Headers/gnustep/base/GapArray.h: ditto
9011 * Headers/gnustep/base/GapArrayPrivate.h: ditto
9012 * Headers/gnustep/base/Heap.h: ditto
9013 * Headers/gnustep/base/IndexedCollecting.h: ditto
9014 * Headers/gnustep/base/IndexedCollection.h: ditto
9015 * Headers/gnustep/base/IndexedCollectionPrivate.h: ditto
9016 * Headers/gnustep/base/InvalidationListening.h: ditto
9017 * Headers/gnustep/base/Invocation.h: ditto
9018 * Headers/gnustep/base/Invoking.h: ditto
9019 * Headers/gnustep/base/KeyedCollecting.h: ditto
9020 * Headers/gnustep/base/KeyedCollection.h: ditto
9021 * Headers/gnustep/base/LinkedList.h: ditto
9022 * Headers/gnustep/base/LinkedListNode.h: ditto
9023 * Headers/gnustep/base/Locking.h: ditto
9024 * Headers/gnustep/base/Mach: dittoPort.m
9025 * Headers/gnustep/base/MachPort.h: ditto
9026 * Headers/gnustep/base/Magnitude.h: ditto
9027 * Headers/gnustep/base/MappedCollector.h: ditto
9028 * Headers/gnustep/base/MemoryStream.h: ditto
9029 * Headers/gnustep/base/NotificationDispatch: dittoer.m
9030 * Headers/gnustep/base/NotificationDispatcher.h: ditto
9031 * Headers/gnustep/base/OldNSConnection.h: ditto
9032 * Headers/gnustep/base/OldNSPortCoder.h: ditto
9033 * Headers/gnustep/base/OrderedCollecting.h: ditto
9034 * Headers/gnustep/base/OrderedCollection.h: ditto
9035 * Headers/gnustep/base/Ordering.h: ditto
9036 * Headers/gnustep/base/Port.h: ditto
9037 * Headers/gnustep/base/Queue.h: ditto
9038 * Headers/gnustep/base/RandomGenerating.h: ditto
9039 * Headers/gnustep/base/Random.h: ditto
9040 * Headers/gnustep/base/RawCStream.h: ditto
9041 * Headers/gnustep/base/RBTree.h: ditto
9042 * Headers/gnustep/base/RBTreeNode.h: ditto
9043 * Headers/gnustep/base/Retaining.h: ditto
9044 * Headers/gnustep/base/RNGAdditiveCongruential.h: ditto
9045 * Headers/gnustep/base/RNGBerkeley.h: ditto
9046 * Headers/gnustep/base/RunLoop.h: ditto
9047 * Headers/gnustep/base/Set.h: ditto
9048 * Headers/gnustep/base/SplayTree.h: ditto
9049 * Headers/gnustep/base/Stack.h: ditto
9050 * Headers/gnustep/base/StdioStream.h: ditto
9051 * Headers/gnustep/base/Stream.h: ditto
9052 * Headers/gnustep/base/Streaming.h: ditto
9053 * Headers/gnustep/base/TcpPort.h: ditto
9054 * Headers/gnustep/base/TextCStream.h: ditto
9055 * Headers/gnustep/base/Time.h: ditto
9056 * Headers/gnustep/base/UdpPort.h: ditto
9057 * Headers/gnustep/base/ValueHolding.h: ditto
9058 * Source/Array.m: ditto
9059 * Source/Bag.m: ditto
9060 * Source/BinaryCStream.m: ditto
9061 * Source/BinaryTree.m: ditto
9062 * Source/BinaryTreeNode.m: ditto
9063 * Source/CircularArray.m: ditto
9064 * Source/Coder.m: ditto
9065 * Source/Collection.m: ditto
9066 * Source/CStream.m: ditto
9067 * Source/Decoder.m: ditto
9068 * Source/DelegatePool.m: ditto
9069 * Source/Dictionary.m: ditto
9070 * Source/Encoder.m: ditto
9071 * Source/GapArray.m: ditto
9072 * Source/Heap.m: ditto
9073 * Source/IndexedCollection.m: ditto
9074 * Source/Invocation.m: ditto
9075 * Source/KeyedCollection.m: ditto
9076 * Source/LinkedList.m: ditto
9077 * Source/LinkedListNode.m: ditto
9078 * Source/Magnitude.m: ditto
9079 * Source/MappedCollector.m: ditto
9080 * Source/MemoryStream.m: ditto
9081 * Source/OldNSConnection.m: ditto
9082 * Source/OldNSPortCoder.m: ditto
9083 * Source/OrderedCollection.m: ditto
9084 * Source/Port.m: ditto
9085 * Source/Queue.m: ditto
9086 * Source/Random.m: ditto
9087 * Source/RawCStream.m: ditto
9088 * Source/RBTree.m: ditto
9089 * Source/RBTreeNode.m: ditto
9090 * Source/RNGAdditiveCongruential.m: ditto
9091 * Source/RNGBerkeley.m: ditto
9092 * Source/Set.m: ditto
9093 * Source/SplayTree.m: ditto
9094 * Source/Stack.m: ditto
9095 * Source/StdioStream.m: ditto
9096 * Source/Stream.m: ditto
9097 * Source/TcpPort.m: ditto
9098 * Source/TextCStream.m: ditto
9099 * Source/UdpPort.m: ditto
9100 * Testing/cstream.m: ditto
9101 * Testing/invocation_char.m: ditto
9102 * Testing/invocation_int.m: ditto
9103 * Testing/invocation_long.m: ditto
9104 * Testing/invocation.m: ditto
9105 * Testing/invocation_short.m: ditto
9106 * Testing/ostream.h: ditto
9107 * Testing/ostream.m: ditto
9108 * Testing/pipes.m: ditto
9109
9110 2000-08-07 Adam Fedor <fedor@gnu.org>
9111
9112 * Merge 0.6.6 branch into main.
9113
9114 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9115
9116 * Tools/gdomap.c: Permit dumping of internal table of known peer
9117 nameservers when sent SIGUSR1
9118
9119 2000-07-20 Richard Frith-Macdonald <rfm@gnu.org>
9120
9121 * Tools/gdomap.c: Bugfix for GDO_NAMES (patch provided by Bjoern)
9122
9123 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9124
9125 * Tools/gdomap.h: Add new GDO_NAMES command.
9126 * Tools/gdomap.c: Incorporate MINGW port by Bjoern.Giesler@gmx.de
9127 after modifications to conform to coding standards.
9128 Add GDO_NAMES support to list all registered names.
9129
9130 2000-07-16 Fred Kiefer <FredKiefer@gmx.de>
9131
9132 * Headers/gnustep/base/NSDecimal.h:
9133 * Headers/gnustep/base/NSDecimalNumber.h:
9134 Included missing functions and changed type definition.
9135 * Source/NSDecimal.m:
9136 Basic implementation of NSDecimal. An implementation using GMP
9137 will follow.
9138 * Source/NSDecimalNumber.m:
9139 Use the NSDecimal functions for this class
9140 * Source/GNUMakefile:
9141 Add NSDecimal and NSDecimalNumber
9142
9143 2000-08-06 Adam Fedor <fedor@gnu.org>
9144
9145 * Version 0.6.6 released.
9146
9147 * Source/NSTimer.m (-compare:): Add return to quiet warning.
9148
9149 2000-08-04 Richard Frith-Macdonald <rfm@gnu.org>
9150
9151 * Source/NSPortNameServer.m: include netinet/in.h as needed on
9152 FreeBSD to define values used in arpa/inet.h
9153
9154 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9155
9156 * Source/NSHost: ([_initWithHostEntry:key:]) workaround for buggy
9157 host entries with missing h_aliases
9158
9159 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9160
9161 * NSTimeZones/NSTimeZones.tar: Updated to latest (July 31st) info
9162
9163 2000-08-02 Adam Fedor <fedor@gnu.org>
9164
9165 * Version: Update version number
9166 * Documentation/announce.tmpl.texi: Update
9167 * Documentation/readme.tmpl.texi: Likewise.
9168 * Documentation/news.tmpl.texi: Likewise.
9169 * Documentation/todo.tmpl.texi: Likewise.
9170 * ANNOUNCE, BUGS, NEWS, README: Regenerate
9171
9172 2000-08-02 Adam Fedor <fedor@gnu.org>
9173
9174 * Testing/nsconnection_client.m: Rewrite, organize.
9175 * Testing/nsconnection_server.m: Likewise.
9176
9177 2000-08-02 Richard Frith-Macdonald <rfm@gnu.org>
9178
9179 * Source/GSTcpPort.m: ([-removeHandle:]) corrected logic for releasing
9180 self when port was created and retained by an incoming connection.
9181
9182 2000-08-01 Adam Fedor <fedor@gnu.org>
9183
9184 * Source/NSConcreteNumber.m (-compare:): Add return at end to quiet
9185 compiler warning.
9186
9187 * Source/NSFileHandle.m: Change +fileHandle... methods to use
9188 abstracts class's allocWithZone.
9189
9190 * Source/libgnustep-base.def: Update for new/removed classes.
9191
9192 2000-08-01 Richard Frith-Macdonald <rfm@gnu.org>
9193
9194 * Source/NSCalendarDate.m: Correct order of args to
9195 lastDayOfGregorianMonth()
9196 * Source/NSPortCoder.m: Handle classes encoded as objects specially.
9197 * Source/NSArchiver.m: ditto.
9198 * Source/NNSUnarchiver.m: ditto.
9199
9200 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9201
9202 * Source/Foundation/NSDebug.h: removed GS_IMPORT
9203 * Source/Foundation/NSObjCRuntime.h: ditto
9204 * Source/Foundation/GSConfig.h.in: ditto
9205
9206 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9207
9208 * Source/NSString.m: implement -cStringLength correctly in terms of
9209 other methods of the abstract class, rather than making the subclass
9210 do it. Cache [-characterAtIndex:] implementation for speed
9211 throughout.
9212 * Source/Unicode.m: Remove uslen() function - unused and unsafe.
9213 Tidied code and optimised a little.
9214 * Source/Foundation/Unicode.h: Remove uslen()
9215 * Source/NSNumber.m: Check for nul argument to [-compare:]
9216 * Source/NSDate.m: ditto
9217 * Source/NSObject.m: ditto
9218 * Source/NSConcreteNumber.m: ditto
9219 * Source/NSTimer.m: ditto
9220
9221 2000-07-30 Richard Frith-Macdonald <rfm@gnu.org>
9222
9223 * Tools/nconnection.m: Trivial test of basic inter-thread use of
9224 DO taken from example code in Applde documentation.
9225
9226 2000-07-29 Richard Frith-Macdonald <rfm@gnu.org>
9227
9228 Varous cluster classes - Bugfix to let allocWithZone work for
9229 new concrete subclasses in the cluster.
9230 * Source/NSPortCoder.m: Accept classes when asked to decode object.
9231 * Source/NSUnarchiver.m: ditto.
9232
9233 2000-07-28 Richard Frith-Macdonald <rfm@gnu.org>
9234
9235 * Source/NSConnection.m: Don't create/use locks until the app
9236 goes multi-threaded.
9237 * Source/GSTcpPort.m: ditto.
9238
9239 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9240
9241 * Source/GSTcpPort.m: Fix stupid error in last bugfix
9242 * Source/Foundation/GSConfig.h.in: define GS_SIZEOF_VOIDP
9243 * configure.in: provide GS_SIZEOF_VOIDP
9244
9245 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9246
9247 * Source/NSThread.m: clarify code for getting current thread.
9248
9249 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9250
9251 * Source/Foundation/NSDebug.h: Bugfix reported by Frederic.De.Jaeger
9252 to prevent incorrect processor handling of cases where logging format
9253 string has no arguments.
9254
9255 2000-07-26 Richard Frith-Macdonald <rfm@gnu.org>
9256
9257 * Source/GSTcpPort.m: When given bad data on a socket, log a message
9258 and invalidate the socket handle rather than raising an exception
9259 and crashing. Should make system more robust in the face of attacks.
9260
9261 2000-07-24 Adam Fedor <fedor@gnu.org>
9262
9263 * Source/GSTcpPort.m
9264 (-sendBeforeDate:msgid:components:from:reserved:]): Correct typo.
9265
9266 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9267
9268 Testing directory tidied to reflect removal of old classes.
9269 * Source/NSTimer.m: Tidied a little.
9270
9271 2000-07-23 Richard Frith-Macdonald <rfm@gnu.org>
9272
9273 Old DO code removed along with associated libObjects classes that it
9274 required - library slimmed down.
9275
9276 2000-07-21 Richard Frith-Macdonald <rfm@gnu.org>
9277
9278 * Source/NSGCString.m: implement methods to get numeric values.
9279 * Source/NSGString.m: implement methods to get numeric values.
9280
9281 2000-07-19 Adam Fedor <fedor@gnu.org>
9282
9283 * Documentation/news.tmpl.texi: Update.
9284 * Documentation/todo.tmpl.texi: Update.
9285
9286 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9287
9288 * Tools/Makefile.postamble: Improve warning messages for gdomap install
9289 * Source/NSProcessInfo.m: Change __MINGW32__ to __MINGW__
9290 * Source/GSTcpPort.m: improve encoding of local port for send over wire
9291
9292 2000-07-17 Adam Fedor <fedor@gnu.org>
9293
9294 * Source/NSZone.m: Remove duplicate function definitions (when
9295 GS_WITH_GC is 1) already defined in NSZone.h.
9296
9297 2000-07-17 Richard Frith-Macdonald <rfm@gnu.org>
9298
9299 * Source/externs.m: Some evil casts to avoid compiler warnings about
9300 assigning to constant variables when we initiallise them.
9301 * Source/NSGSet.m: implemented [-anyObject] and [-allObjects]
9302 * Source/NSSet.m: Fix to encode subclasses as abstract class.
9303 Remove unused methods for set/get concrete class
9304 * Source/NSCountedSet.m: ditto
9305 * Source/NSNumber.m: Use explicitly signed types for portability -
9306 particularly for systems (eg PPC) where char is not signed by default.
9307 * Source/NSConcrete.m: ditto.
9308 * Source/NSConcreteNumber.m: ditto.
9309 * Source/Foundation/NSValue.h: ditto
9310 * Source/Foundation/NSConcreteNumber.h: ditto
9311 * Source/NSArray.m: Remove unused methods for set/get concrete class
9312 * Source/NSDictionary.m: ditto.
9313 * Source/NSString.m: ditto.
9314 * Source/NSAttributedString.m: ditto.
9315 * Source/NSHost.m: store names and addresses in sets for improved
9316 performance (comparisons).
9317 Encode host as an address other than loopback if possible.
9318 Add code for a new '+localHost' method to try to get ALL
9319 names/addresses of current host.
9320 * Source/NSPortNameServer.m: Use new localHost method.
9321 * Source/GSTcpPort.m: Use new localHost method.
9322
9323 2000-07-16 Adam Fedor <fedor@gnu.org>
9324
9325 * Tools/GNUmakefile (gdomap): Make as a C-tool rather than an
9326 Objective-C program (no need for libobjc).
9327
9328 2000-07-07 Jonathan Gapen <jagapen@home.com>
9329
9330 * Source/NSString.m: (-initWithFormat:), (-initWithFormat:locale:),
9331 (-initWithFormat:arguments:) now implemented by calling
9332 (-initWithFormat:locale:arguments:)
9333 * Source/externs.m: Add strings defined in MacOS X documentation,
9334 and useful strings from OPENSTEP 4.2.
9335
9336 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9337
9338 * Source/GSTcpPort.m: set size for return buffer of getsockbyname()
9339
9340 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9341
9342 * Source/NSRunLoop.m: Minor optimisation in select(), also update
9343 servicing oorder of inputs to provide fairer allocation of processing.
9344
9345 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9346
9347 * Source/NSConnection.m: Some thread safety improvements.
9348
9349 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9350
9351 * Source/GSTcpPort.m: Add code to cope with machines requiring word
9352 alignment for memory references.
9353
9354 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9355
9356 * Tools/Makefile.postabmle: Create directory for DTDs if needed
9357
9358 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9359
9360 * Source/GSTcpHandle.m: fix error resetting size of data to be read -
9361 could cause occasional crashes!
9362
9363 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9364
9365 * Source/NSConnection.m: Update to use GSIMap rather than NSMap in
9366 order to regain performance lost by adding code to ensure that reply
9367 packets cannot be leaked. Fixed error in old connection code - due
9368 to a typing error a line had got deleted that was removing the
9369 connection from the global table on deallocation.
9370 * Source/NSPortNameServer.m: Fix to avoid errors when given bad
9371 nameserver IP address info.
9372
9373 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9374
9375 * Makefile.preamble: define GS_NEW_DO to specify whether the
9376 new or the old DO code is to be used. Change the define and
9377 rebuild the library if you need the old DO code.
9378 Advantages of new code -
9379 MacOS-X compatibly
9380 Should work between different processor architectures and word sizes
9381 Might work for inter-thread communication
9382 Approx 25% faster
9383 Permit packet authentication/encryption
9384 Disadvantages -
9385 not well tested - development version
9386 removed many old methods.
9387 * Headers/gnustep/base/GSConnection.h: removed - merged into
9388 NSConnection.h
9389 * Headers/gnustep/base/GSPortCoder.h: removed - merged into
9390 NSPortCoder.h
9391 * Source/GSConnection.m: removed - merged into NSConnection.m
9392 * Source/GSPortCoder.m: removed - merged into NSPortCoder.m
9393 * Source/NSPortNameServer.m: Use GS_NEW_DO define to determine
9394 default port class
9395 * Documentation/gsdoc/NSConnection.gsdoc: Added descriptions of
9396 all the methods in the new implementation. The class is
9397 perilously close to being fully documented!
9398 * Documentation/gsdoc/...: updated all files to use new dtd.
9399
9400 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9401
9402 * Source/GSConnection.m: Improved coder caching and added code for
9403 multiple thread support.
9404 * Source/GSPortCoder.m: Improved performance of class version
9405 lookup and tidied.
9406 * Source/GSTcpPort.m: Ensure we don't remain in the run loop any
9407 longer than necessary.
9408 * Source/NSArchiver.m: minor tidyup
9409 * Source/NSDistantObject.m: minor performance tweak
9410 * Source/NSUnarchiver.m: minor tidyup.
9411 * Source/NSPortNameServer.m: Update for MacOS-X
9412
9413 2000-07-03 Richard Frith-Macdonald <rfm@gnu.org>
9414
9415 * Source/GSConnection.m: Cache coders fro performance.
9416 * Source/GSPortCoder.m: support re-use.
9417 * Source/GSTcpPort.m: tidy locking.
9418 * Source/NSData.m: optimize +new
9419 * Source/NSGCString.m: optimize -hash
9420 * Source/NSGDictionary.m: optimize string hashing
9421 * SourceNSObject.m: Call GSBuildStrings() for global constants.
9422 * Source/NSPort.m: Create GSTcpPort by default.
9423 * Source/externs.m: GSBuildStrings() now used to make string
9424 constants that support cached hash values
9425 * Testing/client.m: Added simple benchmarking.
9426 * Testing/server.m: Added method for simple benchmarking.
9427 * Testing/server.h: Added method for simple benchmarking.
9428 * Tools/gdnc.m: String OPENSTEP use of DO
9429
9430 2000-07-02 Richard Frith-Macdonald <rfm@gnu.org>
9431
9432 * Source/GSConnection.m: Implementation almost complete
9433 * Source/GSPortCoder.m: Completed
9434 * Source/GSTcpPort.m: tidied for MacOS-X compatibility
9435 * Source/NSArchiver.m: Bugfix encoding structures containing arrays
9436 * Source/NSData.m: minor tidy
9437 * Source/NSDistantObject.m: update for new implementation
9438 * Source/NSInvocation.m: bugfix decoding
9439 * Source/NSPort.m: update for MacOS-X complience
9440 * Source/NSPortNameServer.m: tidied
9441 * Testing/client.m: Update
9442 * Testing/server.m: update
9443
9444 2000-06-30 Adam Fedor <fedor@gnu.org>
9445
9446 libgstep-base now compiles (and links) into a DLL on Cygwin.
9447 * configure.in: Typo in checking for cygwin.
9448
9449 * Headers/gnustep/base/NSHashTable.h: GS_EXPORT functions.
9450 * Headers/gnustep/base/NSMapTable.h: Likewise.
9451
9452 * Source/Makefile.postamble (libgnustep-base.def) Target to generate
9453 def file.
9454 * Source/libgnustep-base.def: Updated.
9455
9456 * Source/NSProcessInfo.m: Error message if GS_PASS_ARGUMENTS. Don't
9457 define main if GS_PASS_ARGUMENTS.
9458
9459 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9460
9461 * Headers/gnustep/base/NSDate.h: Added GSTime() function
9462 * Source/NSDate.m: More efficient MINGW date creation
9463 * Source/NSCalendarDate.m: optimised date creation from yymmddhhmmss
9464 * Source/NSData.m: MINGW file read and write operations added (untested)
9465 * Source/NSFileManager.m: MINGW file operations updated.
9466
9467 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9468
9469 Coding/decoding modifications to make system more in line with
9470 OPENSTEP/MacOS-X. Tidyup of global string constants. Advanced
9471 development of DO rewrite.
9472 * Headers/gnustep/base/DistributedObjects.h: removed obsolete info
9473 * Headers/gnustep/base/GSConnection.h: improved and tidied
9474 * Headers/gnustep/base/GSPortCoder.h: private method for connection
9475 * Headers/gnustep/base/NSArchiver.h: remove libobjects compatibility
9476 * Headers/gnustep/base/NSCoder.h: added libobjects compatibility
9477 * Headers/gnustep/base/NSException.h: tidied
9478 * Headers/gnustep/base/NSPortMessage.h: private method for connections
9479 * Headers/gnustep/base/NSRunLoop.h: tidied string constants.
9480 * Headers/gnustep/unicode/decomp.h: tidied to avoid compiler warning.
9481 * Source/GSConnection.m: largely implemented (untested)
9482 * Source/GSPortCoder.m: more efficient data coding
9483 * Source/NSArchiver.m: moved global constants to externs.m
9484 * Source/NSAttributedString.m: don't call super coding methods.
9485 * Source/NSCoder.m: add libobjects compatibility
9486 * Source/NSConnection.m: tidied a few bugs
9487 * Source/NSDistantObject.m: don't call super coding methods.
9488 * Source/NSGAttributedString.m: don't call super coding methods.
9489 * Source/NSHost.m: don't call super coding methods.
9490 * Source/NSNotification.m: don't call super coding methods.
9491 * Source/NSObject.m: tidied a little
9492 * Source/NSPort.m: moved global constants to externs.m
9493 * Source/NSPortMessage.m: new access method for connections.
9494 * Source/NSRunLoop.m: moved global constants to externs.m
9495 * Source/NSTimeZone.m: don't call super coding methods.
9496 * Source/NSURL.m: don't call super coding methods.
9497 * Source/NSUnarchiver.m: tidied.
9498 * Source/externs.m: Tdied and added new global constants.
9499
9500 2000-06-28 Adam Fedor <fedor@gnu.org>
9501
9502 Extension to force process args to be forwarded by the user.
9503 * configure.in (enable-pass-arguments): New switch that forces user
9504 to call NSProcessInfo initialization with process arguments.
9505 * Headers/gnustep/base/GSConfig.h.in (GS_PASS_ARGUMENTS): New define.
9506 * Source/NSProcessInfo.m (+initializeWithArguments:count:environment:):
9507 New method.
9508 * Tools/defaults.m (main): Update to call method if GS_PASS_ARGUMENTS.
9509 * Tools/gdnc.m: Likewise.
9510 * Tools/gsdoc.m: Likewise.
9511 * Tools/pldes.m: Likewise.
9512 * Tools/plmerge.m: Likewise.
9513 * Tools/plparse.m: Likewise.
9514 * Tools/plser.m: Likewise.
9515 * Tools/sfparse.m: Likewise.
9516
9517 * Source/behavior.m: Define __objc_uninstalled_dtable if not available
9518 from runtime.
9519
9520 2000-06-28 Richard Frith-Macdonald <rfm@gnu.org>
9521
9522 Various minor tidyups for distributed objects - and included development
9523 code for NSConnection rewrite.
9524 * Headers/gnustep/base/DistributedObjects.h: removed obsolete methods
9525 * Headers/gnustep/base/GSConnection.h: temporary (development) class
9526 * Headers/gnustep/base/GSPortCoder.h: private method for GSConnection
9527 * Headers/gnustep/base/NSConnection.h: tidied
9528 * Source/GSConnection.m: temporary (development) class
9529 * Source/GSPortCoder.m: private method for GSConnection
9530 * Source/NSConnection.m: tidied a little - retain/release fixes
9531 * Source/NSDistantObject.m: tidied a little - use OPENSTEP method
9532 for creating new connection.
9533 * Source/NSPortCoder.m: tidied to work without GNU specific code.
9534
9535 2000-06-27 Adam Fedor <fedor@gnu.org>
9536
9537 * Fixes on solaris/gcc 2.8.0
9538 * configure.in: Check for whoami location.
9539 * Source/Makefile.postamble: Use it.
9540 * Tools/Makefile.postamble: Use it.
9541
9542 * Tools/gsdoc.m: Make sure exit status is 0 when no libxml
9543
9544 * Makefile.postamble: Don't make documentation on install. Can't
9545 guarentee that library path is setup correctly yet.
9546
9547 * Source/NSData.m: Correct sense of NEEDS_WORD_ALIGN test.
9548
9549 2000-06-27 Richard Frith-Macdonald <rfm@gnu.org>
9550
9551 * Source/NSPort.m: Add default support for coding using the
9552 encodePortObject and decodePortObject methods.
9553 * Source/NSData.m: Use encodeDataObject and decodeDataObject
9554
9555 2000-06-26 Adam Fedor <fedor@gnu.org>
9556
9557 * Source/NSTimer.m (-invalidate): Remove assertion.
9558
9559 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9560
9561 * Source/GSPortCoder.m: Rewrite of NSPortCoder - under development.
9562 * Headers/gnustep/base/GSPortCoder.h: ditto
9563 * Source/GNUmakefile: Build GSPortCoder
9564
9565 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9566
9567 * Source/NSCoder.m: Use AUTORELEASE and tidy up.
9568 * Source/NSArchiver.m: Fix bug in ([-replaceObject:withObject:])
9569 * Source/NSObject.m: Optimise default replacementObjectForPortCoder
9570
9571 2000-06-23 Richard Frith-Macdonald <rfm@gnu.org>
9572
9573 * Source/NSFileHandle.m: Use AUTORELEASE and tidy up.
9574
9575 2000-06-21 Adam Fedor <fedor@gnu.org>
9576
9577 * Shared library (DLL) fixes on Windows
9578 * configure.in: Check for alternate objc (DLL) libraries.
9579 Look for objc_get_uninstalled_dtable.
9580 * Source/behavior.m (behavior_class_add_methods): Don't look for
9581 uninstalled_dtable if no objc_get_uninstalled_dtable.
9582 (check_class_methods): Remove unused.
9583 * Source/objc-load.m: Likewise.
9584
9585 * Headers/gnustep/base/NSObjCRuntime.h: Define GS_EXPORT
9586 * Headers/gnustep/base/NSZone.h: Define functions either static
9587 or extern depending on whether NSZone.m is being compiled.
9588 * Source/NSZone.m: Remove duplicate functions.
9589 * Source/Makefile.preamble (LIBRARIES_DEPEND_UPON): Add -lobjc
9590 if on windows.
9591
9592 * Source/UdpPort.m: Use NSMutableArray.
9593
9594 2000-06-19 Adam Fedor <fedor@gnu.org>
9595
9596 * Source/NSBundle.m (_bundle_name_first_match): Work even when
9597 filename has a directory component. (patch from Julian van
9598 Greunen <vangrn@lantic.co.za>).
9599
9600 2000-06-21 Richard Frith-Macdonald <rfm@gnu.org>
9601
9602 * Source/NSScanner.m: ([-scanHexInt:]) fixed to permit leading 0x or 0X
9603 * Documentation/gsdoc/NSScanner.gsdoc: fleshed out
9604 * Tools/Makefile.postamble: Added documentation target - build before
9605 install
9606 * Tools/gsdoc-0_6_6.dtd: New dtd under development - add java support,
9607 permit multiple indices at end of document, permit <br/> element.
9608 * Tools/gsdoc.m: Update to work with current dtd
9609 * Tools/gsdoc.gsdoc: Add a little more text on document body structure.
9610
9611 2000-06-20 Richard Frith-Macdonald <rfm@gnu.org>
9612
9613 * configure.in: Added check for recent libxml
9614 * config.mak.in: Added defeine for HAVE_LIBXML
9615 * Tools/gsdoc.m: Added from GSDoc and modified for standard
9616 libxml 2.0 installation
9617 * Tools/gsdoc-0_6_5.dtd: Added from GSDoc
9618 * Tools/gsdoc.gsdoc: Added from GSDoc
9619 * Tools/gnustep.gsdoc: Added from GSDoc
9620 * GSDoc: all removed
9621 * Examples: removed obsolete code.
9622
9623 2000-06-19 Richard Frith-Macdonald <rfm@gnu.org>
9624
9625 * Source/NSDate.m: Remove obsolete classForConnectedCoder method
9626 * Source/NSPort.m: ditto
9627 * Source/NSTcpPort.m: ditto
9628 * Source/NSUdpPort.m: ditto
9629 * Source/GNUmakefile: remove ConnectedCoder
9630 * Source/ConnectedCoder.m: removed
9631 * Headers/gnustep/base/ConnectedCoder.h: removed
9632
9633 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9634
9635 Removal of non-OpenStep unused classes.
9636 * Headers/gnustep/base/Archiver.h: removed
9637 * Headers/gnustep/base/Array.h: removed
9638 * Headers/gnustep/base/ArrayPrivate.h: removed
9639 * Headers/gnustep/base/Bag.h: removed
9640 * Headers/gnustep/base/BinaryTree.h: removed
9641 * Headers/gnustep/base/BinaryTreeNode.h: removed
9642 * Headers/gnustep/base/CircularArray.h: removed
9643 * Headers/gnustep/base/CircularArrayPrivate.h: removed
9644 * Headers/gnustep/base/Collecting.h: removed
9645 * Headers/gnustep/base/Collection.h: removed
9646 * Headers/gnustep/base/CollectionPrivate.h: removed
9647 * Headers/gnustep/base/DelegatePool.h: removed
9648 * Headers/gnustep/base/Dictionary.h: removed
9649 * Headers/gnustep/base/GapArray.h: removed
9650 * Headers/gnustep/base/GapArrayPrivate.h: removed
9651 * Headers/gnustep/base/Heap.h: removed
9652 * Headers/gnustep/base/IndexedCollecting.h: removed
9653 * Headers/gnustep/base/IndexedCollection.h: removed
9654 * Headers/gnustep/base/IndexedCollectionPrivate.h: removed
9655 * Headers/gnustep/base/InvalidationListening.h: removed
9656 * Headers/gnustep/base/Invocation.h: removed
9657 * Headers/gnustep/base/Invoking.h: removed
9658 * Headers/gnustep/base/KeyedCollecting.h: removed
9659 * Headers/gnustep/base/KeyedCollection.h: removed
9660 * Headers/gnustep/base/LinkedList.h: removed
9661 * Headers/gnustep/base/LinkedListNode.h: removed
9662 * Headers/gnustep/base/Magnitude.h: removed
9663 * Headers/gnustep/base/MappedCollector.h: removed
9664 * Headers/gnustep/base/NotificationDispatcher.h: removed
9665 * Headers/gnustep/base/OrderedCollecting.h: removed
9666 * Headers/gnustep/base/OrderedCollection.h: removed
9667 * Headers/gnustep/base/Queue.h: removed
9668 * Headers/gnustep/base/RBTree.h: removed
9669 * Headers/gnustep/base/RBTreeNode.h: removed
9670 * Headers/gnustep/base/RNGAdditiveCongruential.h: removed
9671 * Headers/gnustep/base/RNGBerkeley.h: removed
9672 * Headers/gnustep/base/Random.h: removed
9673 * Headers/gnustep/base/RandomGenerating.h: removed
9674 * Headers/gnustep/base/RunLoop.h: removed
9675 * Headers/gnustep/base/Set.h: removed
9676 * Headers/gnustep/base/SplayTree.h: removed
9677 * Headers/gnustep/base/Stack.h: removed
9678 * Headers/gnustep/base/Time.h: removed
9679 * Headers/gnustep/base/all.h: removed
9680 * Source/Archiver.m: removed
9681 * Source/Array.m: removed
9682 * Source/Bag.m: removed
9683 * Source/BinaryTree.m: removed
9684 * Source/BinaryTreeNode.m: removed
9685 * Source/CircularArray.m: removed
9686 * Source/Collection.m: removed
9687 * Source/DelegatePool.m: removed
9688 * Source/Dictionary.m: removed
9689 * Source/GapArray.m: removed
9690 * Source/Heap.m: removed
9691 * Source/IndexedCollection.m: removed
9692 * Source/Invocation.m: removed
9693 * Source/KeyedCollection.m: removed
9694 * Source/LinkedList.m: removed
9695 * Source/LinkedListNode.m: removed
9696 * Source/Magnitude.m: removed
9697 * Source/MappedCollector.m: removed
9698 * Source/NotificationDispatcher.m: removed
9699 * Source/OrderedCollection.m: removed
9700 * Source/Queue.m: removed
9701 * Source/RBTree.m: removed
9702 * Source/RBTreeNode.m: removed
9703 * Source/RNGAdditiveCongruential.m: removed
9704 * Source/RNGBerkeley.m: removed
9705 * Source/Random.m: removed
9706 * Source/Set.m: removed
9707 * Source/SplayTree.m: removed
9708 * Source/Stack.m: removed
9709 * Source/GNUmakefile: remove referenced to reomved classes
9710
9711 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9712
9713 * Headers/gnustep/base/NSGArchiver.h: removed obsolete file.
9714 * Source/NSGArchiver.m: removed obsolete file.
9715 * configure.in: Check for existence of NSArray.m to find source
9716 * Headers/gnustep/base/NSDictionary.h: Remove unused headers.
9717 * Headers/gnustep/base/Port.h: ditto
9718 * Headers/gnustep/base/NSConnection.h: ditto
9719 * Headers/gnustep/base/TcpPort.h: ditto
9720 * Headers/gnustep/base/NSGArray.h: ditto
9721 * Headers/gnustep/base/NSSet.h: ditto
9722 * Headers/gnustep/base/NSGSet.h: ditto
9723 * Headers/gnustep/base/NSRange.h: ditto
9724 * Source/Coder.m: Removed dependencies on some old classes
9725 * Source/Decoder.m: ditto
9726 * Source/Port.m: ditto
9727 * Source/TcpPort.m: ditto
9728 * Source/UdpPort.m: ditto
9729 * Source/NSGCString.m: ditto
9730 * Source/NSGString.m: ditto
9731 * Source/NSObject.m: ditto
9732 * Source/NSString.m: ditto
9733
9734 2000-06-15 Adam Fedor <fedor@gnu.org>
9735
9736 * Headers/gnustep/base/NSObject.h: Add base/preface include
9737
9738 2000-06-13 Adam Fedor <fedor@gnu.org>
9739
9740 * configure.in: Look for getopt.h
9741 * Source/NSBundle.m (+_absolutePathOfExecutable:): Add '.' if not
9742 already in path.
9743 * Source/NSPage.m: Use malloc if no valloc.
9744
9745 * Testing/GNUmakefile: Remove non-OpenStep tests.
9746
9747 * Tools/gdomap.c: Change WIN32 to MINGW. Check if IFF_POINTOPOINT
9748 is defined.
9749
9750 * Headers/gnustep/base/*h: Remove preface include from headers.
9751 Change extern function and var definitions to GS_EXPORT for better
9752 handling of DLLs
9753 * Headers/gnustep/base/NSObjCRuntime.h: Set definition of GS_EXPORT
9754 based on using or compiling DLL
9755
9756 2000-06-11 Adam Fedor <fedor@gnu.org>
9757
9758 * Headers/gnustep/base/preface.h.in: Define MINGW if MINW32.
9759 * Headers/gnustep/base/TcpPort.h: Change WIN32 to MINGW since
9760 CYGWIN has unix-like services.
9761 * Headers/gnustep/base/UdpPort.h: Likewise.
9762 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDate.m,
9763 Source/NSFileManager.m, Source/NSHost.m, Source/NSLog.m,
9764 Source/NSPage.m, Source/NSProcessInfo.m, Source/NSString.m,
9765 Source/NSThread.m, Source/NSUser.m, Source/UdpPort.m,
9766 Source/UnixFileHandle.m, : Likewise.
9767
9768 * Source/Makefile.postamble: touch generated h files so they aren'y
9769 re-copied every compile.
9770
9771 * Source/NSBundle.m (_absolutePathOfExecutable:): New method.
9772 (mainBundle): Use it.
9773 * Source/NSTask.m (launch): Likewise.
9774 * Source/find_exec.m: Removed.
9775
9776 2000-06-09 Richard Frith-Macdonald <rfm@gnu.org>
9777
9778 * Source/GSeq.h: Reverted bogus change.
9779
9780 2000-06-06 Adam Fedor <fedor@gnu.org>
9781
9782 * Code cleanup to help with Windows port.
9783 * configure.in: Check for some extra headers. Remove obsolete stuff.
9784 * Source/BinaryCStream.m: Fix includes for WIN32
9785 * Source/NSCalandarDate.m: Likewise.
9786 * Source/NSDate.m: Likewise.
9787 * Source/NSLog.m: Likewise.
9788 * Source/NSPipe.m: Likewise.
9789 * Source/NSProcessInfo.m: Likewise.
9790 * Source/NSRunLoop.m: Likewise.
9791 * Source/NSUserDefaults.m: Likewise.
9792 * Source/StdioStream.m: Likewise.
9793 * Source/UdpPort.m: Likewise.
9794 * Tools/gdomap.c: Likewise.
9795
9796 * Source/NSBinaryCStream: Use NSByteOrder functions.
9797 * Source/UdpPort.m: Likewise.
9798 * Source/Invocation.m (initWithTarget:selector:): Use proper cast.
9799 * Source/NSFileManager.m (-isExecutableFileAtPath): Typo.
9800 * Source/NSPage.m (getpagesize): New function for WIN32
9801 * Source/NSString.m (-indexOfString): New method.
9802
9803 * Source/NSBundle.m (bundle_directory_readable,
9804 bundle_file_readable, _bundle_name_first_match): New functions
9805 use NSFileManager instead of unix dir functions.
9806 (-initWithPath:) Use them.
9807 (-pathForResource:...): Likewise.
9808 (-pathsForResource:...): Likewise.
9809
9810 2000-06-02 Richard Frith-Macdonald <rfm@gnu.org>
9811
9812 * Headers/gnustep/base/NSConnection.h: Changed reply_depth ivar to be
9813 called request_depth instead.
9814 * Source/NSConnection.m: Changed reply_depth ivar to request_depth
9815 and modified code to make independent conversation queueing
9816 effective on the basis of incoming requests being handled rather than
9817 outgoing replies. This should make it work for oneway methods.
9818
9819 Tue May 30 19:54:25 2000 Nicola Pero <nicola@brainstorm.co.uk>
9820
9821 * Source/NSProcessInfo.m ([NSProcessInfo +load]): If environ ==
9822 NULL, abort with an informative message rather than crashing
9823 without explanations.
9824
9825 2000-05-27 Richard Frith-Macdonald <rfm@gnu.org>
9826
9827 * Source/NSBundle.m: Protect all use of map tables of bundles
9828 using lock - should make class thread-safe.
9829
9830 2000-05-25 Adam Fedor <fedor@gnu.org>
9831
9832 * Headers/gnustep/base/GSIArray.h: remove config.h
9833 * Headers/gnustep/base/GSIMap.h: Likewise.
9834
9835 2000-05-24 Richard Frith-Macdonald <rfm@gnu.org>
9836
9837 * Source/NSFileManager.m: ([-directoryContentsAtPath:])
9838 Don't follow symbolic links
9839
9840 2000-05-23 Adam Fedor <fedor@gnu.org>
9841
9842 * Source/NSBundle.m (+initialize): Check if /proc/self/exe returns
9843 a real link, otherwise get path from NSProcessInfo.
9844
9845 * NSData: Correct #ifdef NEEDS_WORD_ALIGN to #if
9846
9847 2000-05-22 Richard Frith-Macdonald <rfm@gnu.org>
9848
9849 * Source/GSeq.h: comparison with zero length range is always
9850 NSOrderdSame
9851
9852 2000-05-21 Richard Frith-Macdonald <rfm@gnu.org>
9853
9854 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9855 Re-fix attempting to handle creation of local method signature rather
9856 than returning a proxy to a remote one. Dumb error in first attempt.
9857
9858 2000-05-10 Adam Fedor <fedor@gnu.org>
9859
9860 * NSBundle.m (-classNamed:): Hacks for getting classes from
9861 _gnustep_bundle.
9862 (-principalClass): Likewise.
9863 (-load): Don't try to call load bundle if we are _gnustep_bundle.
9864
9865 2000-05-09 Richard Frith-Macdonald <rfm@gnu.org>
9866
9867 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9868 Fix attempting to handle creation of local method signature rather than
9869 returning a proxy to a remote one.
9870
9871 2000-05-07 Richard Frith-Macdonald <rfm@gnu.org>
9872
9873 * Source/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
9874 fix '%y' format for any year - bug reported by David Relson
9875
9876 2000-05-06 James Dessart <skwirl@cam.org>
9877
9878 * Documentation/gsdoc/NSString.gsdoc :
9879 * Documentation/gsdoc/NSString.html :
9880 Added some basic doc
9881
9882 2000-05-04 Richard Frith-Macdonald <rfm@gnu.org>
9883
9884 * Source/NSUser.m: NSHomeDirectoryForUser() protect with locks for
9885 thread safety.
9886
9887 2000-05-02 Adam Fedor <fedor@gnu.org>
9888
9889 * configure.in: Add check for word alignment. Also don't define
9890 HAVE_SYS_PROC_EXE on systems that need fake main.
9891 * Headers/gnustep/base/config.h.in: Add define if word-align needed.
9892 * Source/NSData.m:
9893 ([NSDataStatic -deserializeTypeTag:andCrossRef:atCursor:]): Use
9894 memcpy if word alignment needed.
9895 ([NSMutableDataMalloc -serializeTypeTag:andCrossRef:]): Likewise.
9896
9897 2000-04-28 Richard Frith-Macdonald <rfm@gnu.org>
9898
9899 * Source/NSConnection.m: ([+defaultConnection]) create receive port.
9900
9901 2000-04-26 Richard Frith-Macdonald <rfm@gnu.org>
9902
9903 * Source/NSHost.m: Improve logging of host/net configuration errors
9904 * Source/GSTcpPort.m: ditto
9905 * Source/TcpPort.m: ditto
9906
9907 2000-04-25 Adam Fedor <fedor@gnu.org>
9908
9909 * Source/NSBundle.m (+initialize): retain _executable_path.
9910
9911 2000-04-25 Richard Frith-Macdonald <rfm@gnu.org>
9912
9913 * Source/NSAttributedString.m: Optimised - cache method implementations
9914 wherever possible in order to avoid objc runtime overheads.
9915
9916 2000-04-23 Richard Frith-Macdonald <rfm@gnu.org>
9917
9918 * Source/NSAttributedString.m: Corrected code of
9919 ([-attribute:atIndex:longestEffectiveRange:inRange:]) so that it
9920 compares attributes correctly.
9921
9922 2000-04-20 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
9923
9924 * Tools/plmerge.m: New tool to merge property lists.
9925 * Tools/plser.m: Fix error message. (deserialize => serialize)
9926 * Tools/GNUmakefile: Add plmerge.
9927
9928 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9929
9930 * Tools/gdomap.c: Don't do chdir/chroot on sysv - it screws up
9931 their streams so we can't handle incoming connections.
9932
9933 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9934
9935 * Source/NSCalendarDate.m: Fix memory leak when initialising from
9936 string.
9937
9938 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9939
9940 * Source/GSTcpPort.m: define INADDR_NONE to be -1 on systems where
9941 it is not defined.
9942
9943 2000-04-19 Richard Frith-Macdonald <rfm@gnu.org>
9944
9945 * Source/NSThread.m: rewrite
9946 * Source/NSCountedSet.m: minor fix in new unique method
9947 * Source/NSGCountedSet.m: ditto
9948
9949 2000-04-18 Adam Fedor <fedor@gnu.org>
9950
9951 * base/configure.in: add a test to see whether a symlink
9952 '/proc/self/exe' exists
9953 * base/Headers/gnustep/base/config.h.in: Add a definition for the
9954 test result
9955 * base/Source/NSBundle.m: Move the discovery of the process'
9956 executable file to +initialize; add code to discover it from
9957 /proc, if possible (patches from Jonathan Gapen
9958 <jagapen@whitewater.chem.wisc.edu>)
9959
9960 2000-04-18 Richard Frith-Macdonald <rfm@gnu.org>
9961
9962 * Documentation/gsdoc/NSCountedSet.gsdoc: Method descriptions fleshed
9963 out, including GNUstep additional methods and related functions.
9964 * Documentation/gsdoc/NSDeserializer.gsdoc: GNUstep specific extension
9965 method documented.
9966 * GSDoc/gnustep.gsdoc: Fixed use of 'standards' element.
9967 * Headers/NSSerialization.h: Removed some extensions.
9968 * Headers/NSSet.h: Added some extensions for uniquing.
9969 * Source/NSCountedSet.m: Added uniquing methods and functions.
9970 * Source/NSGCountedSet.m: Added optimised uniquing methods.
9971 * Source/NSSerializer.m: Simplified uniquing code using stuff from
9972 NSCountedSet.
9973 * Testing/benchmark.m: included uniquing serialization/deserialization.
9974
9975 2000-04-14 Richard Frith-Macdonald <rfm@gnu.org>
9976
9977 * Source/mframe.m: Update to handle '-' in stack position information
9978 in type encodings.
9979 * Source/Invocation.m: ditto
9980 * Source/objc-gnu2next.m: ditto
9981 * Source/mframe/*/generic: ditto
9982
9983 2000-04-08 Adam Fedor <fedor@gnu.org>
9984
9985 * Source/NSString.m: Include NSISOLatin2StringEncoding coding.
9986 * Source/Unicode.m (encode_chartouni): Implement latin2 encoding.
9987 (encode_unitochar): Likewise. (patches from
9988 Stefan Urbanek <urbane@decef.elf.stuba.sk>).
9989
9990 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
9991
9992 * Source/NSCalendarDate.m: Bugfix intialising from string.
9993
9994 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
9995
9996 * Headers/gnustep/base/NSException.h: remove 'volatile' from function
9997 and method declarations - no longer supported in gcc.
9998 * Source/NSException.m: ditto
9999
10000 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10001
10002 * Tools/gdomap.c: init_probe() fix bug placing incorrect responder
10003 address in broadcast probe.
10004
10005 2000-04-02 Richard Frith-Macdonald <rfm@gnu.org>
10006
10007 * Source/NSAttributedString.m: Infinite loop fix by Fred Kiefer to
10008 ([replaceCharactersInRange:withAttributedString:])
10009
10010 2000-03-29 Richard Frith-Macdonald <rfm@gnu.org>
10011
10012 * Source/NSUserDefaults.m: typo reported by karl@nfox.com fixed.
10013
10014 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10015
10016 * Source/NSDictionary.m: Fix to avoid crash on being asked to init
10017 with contents of a nil dictionary.
10018
10019 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10020
10021 * Headers/gnustep/base/NSRunLoop.h: Added event type for exceptional
10022 conditions on a file descriptor and removed obsolete methods.
10023 * Source/NSRunLoop.m: Added support for monitoring for exceptional
10024 conditions on a file descriptor and removed obsolete methods for
10025 handling file descriptors.
10026
10027 2000-03-26 Richard Frith-Macdonald <rfm@gnu.org>
10028
10029 * NSTimeZones/NSTimeZones.tar: Updated to latest information
10030 available from elsie.nci.nih.gov
10031
10032 2000-03-25 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
10033
10034 * Source/NSUser.m: Added new MacOS X function,
10035 NSSearchPathForDirectoriesInDomains()
10036 * Headers/gnustep/base/NSPathUtilities.h: Added prototype and
10037 argument definitions for the above function.
10038
10039 2000-03-23 Adam Fedor <fedor@gnu.org>
10040
10041 * Source/....m: include config.h
10042 * Tools/*.m: Likewise.
10043 * Headers/gnustep/base/preface.h.in: Implement VASPRINTF_LENGTH
10044 when vasprintf does not return length.
10045
10046 2000-03-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
10047
10048 * Source/NSString.m: ([-initWithFormat:arguments:]) added
10049 implementation using vasprintf() to avoid stack problems.
10050 * Headers/gnustep/base/preface.h.in: added VASPRINT_* definitions.
10051
10052 2000-03-23 Richard Frith-Macdonald <rfm@gnu.org>
10053
10054 NSNumber - more extensive rewrite/optimisation ...
10055 * Headers/gnustep/base/NSValue.h: simplified
10056 * Source/NSNumber.m: Implemented efficient abstract methods and
10057 improved caching.
10058 * Source/NSConcreteNumber.m: More efficient implementations including
10059 some previously missing methods.
10060
10061 2000-03-23 Adam Fedor <fedor@gnu.org>
10062
10063 * configure.in: Check for vasprintf function
10064 * config/config.vasprintf.c: New file.
10065
10066 2000-03-22 Richard Frith-Macdonald <rfm@gnu.org>
10067
10068 NSNumber optimisation ...
10069 * Headers/gnustep/base/NSValue.h: Added a couple of GNUstep specific
10070 functions for obtaining cached information about methods of NSNumber
10071 subclasses and hashes of small integer values.
10072 * Source/NSNumber.m: Added caches for small integer numbers and for
10073 booleans. Also added caching mechamism for methods and order info
10074 for NSNumber concrete subclasses.
10075 * Source/NSConcreteNumber.m: Added support for much more efficient
10076 compare and fast hash for small integers.
10077
10078 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10079
10080 * Source/NSUserDefaults.m: ([-description]) implemented.
10081 * Source/NSArray.m: ([-descriptionWithLocale:indent:]) put space
10082 after comma even when doing unformatted description.
10083 * Source/NSDictionary.m: ([-descriptionWithLocale:indent:]) put space
10084 after semicolon and around equals even when doing unformatted
10085 description. Don't sort array items in unformatted description.
10086
10087 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10088
10089 * Source/NSGAttributedString.m: ([setAttributes:range:]) make sure
10090 attributes are set when old range starts at start of new range.
10091
10092 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10093
10094 * Tools/gdomap.c: Become an unpriveliged user after binding to
10095 port 538 (for which we need to be root). This should relieve
10096 some security considerations.
10097
10098 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10099
10100 * Source/NSNumber.m: Added private methods from concrete class.
10101
10102 2000-03-17 Adam Fedor <fedor@gnu.org>
10103
10104 * Documentation/coding-standards.tmpl.texi: Update
10105
10106 2000-03-17 Richard Frith-Macdonald <rfm@gnu.org>
10107
10108 Changed so that property lists are output in a compact form when
10109 no locale is supplied.
10110 * Documentation/gsdoc/NSObject.gsdoc: Added documentation of the
10111 various description methods.
10112 * GSDoc/gsdoc.m: Bugfixes for text in descriptions.
10113 * Headers/gnustep/base/NSObject.h: Updated description methods
10114 * Source/NSArray.m: Updated to be closer to MacOS description.
10115 * Source/NSDictionary.m: ditto.
10116 * Source/NSGCString.m: ditto.
10117 * Source/NSGString.m: ditto.
10118 * Source/NSObject.m: added more description methods.
10119 * Tools/defaults.m: updated to use locale.
10120 * Tools/dread.m: ditto.
10121 * Tools/pldes.m: ditto.
10122
10123 Fri Mar 17 07:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10124
10125 * Source/NSGString.m: Add checks to safely (and more efficiently)
10126 handle deletion and insertion of zero-length ranges.
10127 * Source/NSGCString.m: ditto.
10128
10129 Thu Mar 16 11:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10130
10131 * Source/NSRange.m: NSRangeFromString() bugfix by karl@nfox.com
10132 * Source/NSData.m: ([-hash]) new implementation by karl
10133
10134 Sat Mar 11 21:04:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10135
10136 * GSDoc/gsdoc.m: Updated for recent version of xml library.
10137
10138 Fri Mar 10 10:45:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10139
10140 * GSDoc/gsdoc-0_6_5.dtd: Altered to add standard conformance to
10141 individual methods and to make standards rigorous.
10142 * GSDoc/gsdoc.m: Updated for changes to dtd.
10143
10144 Thu Mar 09 18:07:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10145
10146 * Source/NSAttributedString.m: Varius bugfixes.
10147 * Source/NSGAttributedString.m: ditto.
10148
10149 2000-03-07 Adam Fedor <fedor@gnu.org>
10150
10151 * configure.in: Remove obsolete header checks for Time class.
10152
10153 Wed Mar 08 07:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10154
10155 * Source/NSAttributedString.m: Bugfix by fred Kiefer for extending
10156 attributes. Related bugfixes by me, plus tidying up.
10157
10158 2000-03-06 Adam Fedor <fedor@gnu.org>
10159
10160 * config.guess: Better guess of NetBSD systems.
10161
10162 Sat mar 04 10:08:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10163
10164 * Tools/Makefile.postamble: improved messages about gdomap installation.
10165
10166 Mon Feb 28 15:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10167
10168 * GSDoc: Added GSDoc subdirectory to contain tool for converting gsdoc
10169 documentation to HTML format.
10170 * Documentation/gsdoc: Added skeleton documentation for the
10171 OpenStep/MacOS-X foundation classes in the gsdoc subdirectory.
10172
10173 Sun Feb 27 08:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10174
10175 * Headers/gnustep/base/NSPortMessage.m: use separate ivars for ports.
10176 * Source/NSPortMessage.m: modified to use separate ivars for send and
10177 receive ports so that we can easily pass mutable array for send.
10178
10179 Fri Feb 25 12:56:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10180
10181 * Source/NSPort.m: provide default implementations for methods dealing
10182 with adding connections to run loop.
10183 * Source/NSRunLoop.m: Check to see if ports have been invalidated and
10184 remove them from run loop if they have.
10185
10186 Thu Feb 24 21:05:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10187
10188 * Source/NSBundle.m: ([-initWithPath:]) added code suggested by
10189 jagapen@whitewater.chem.wisc.edu to handle relative paths.
10190 * Source/NSObject.m: Added catagory of 'Object' so that containers
10191 can safely hold non-NSObject descended objects.
10192
10193 Thu Feb 24 15:55:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10194
10195 * Source/TcpPort.m: Removed some unused code.
10196 * Source/GSTcpPort.m: Added new port implementation - non-functional
10197 as yet, but it represents quite a bit of work so I thought I'd put
10198 it somewhare safe from my hard disk crashing.
10199
10200 Thu Feb 24 08:30:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10201
10202 * Source/NSUser.m: NSOpenStepRootDirectory() use GNUSTEP_ROOT
10203
10204 Tue Feb 22 15:03:46 2000 Nicola Pero <n.pero@mi.flashnet.it>
10205
10206 * Headers/Foundation/NSPort.h: Fixed typo: changed `@class
10207 NSArray` to `@class NSMutableArray` to make it compile.
10208
10209 Tue Feb 22 07:31:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10210
10211 * Tools/gdomap.c: Reinstated '-p' flag to disable probes and added
10212 code to do probes by broadcast to the local network rather than by
10213 probing machines individually if possible.
10214
10215 2000-02-20 Matthias Klose <doko@cs.tu-berlin.de>
10216
10217 * Tools/gdomap.c (main): Add -I <file> option to write the pid to.
10218
10219 Mon Feb 21 13:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10220
10221 * Source/NSRunLoop.m: Use sel_eq() for selector comparison so that
10222 we are guaranteed to match correctly when removing actions from the
10223 runloop.
10224
10225 Fri Feb 6 14:54:00 2000 Manuel Guesdon <mguesdon@sbuilders.com>
10226
10227 * Source/NSCalendarDate.m: handle nil and empry string in
10228 -initWithString:calendarFormat:locale:
10229 * ChangeLog: Replace 1999 by 2000 for last modifications :-)
10230
10231 Fri Feb 4 17:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10232
10233 * Source/NSPortNameServer.m: New methods for use by NSConnection
10234 * Foundation/NSPortNameServer.h: ditto
10235 * Source/NSConnection.m: Tidied a little and added ([-registerName:])
10236 * Source/NSConnection.h: ditto
10237
10238 2000-02-17 Adam Fedor <fedor@gnu.org>
10239
10240 * Version: 0.6.5 released.
10241
10242 2000-02-16 Adam Fedor <fedor@gnu.org>
10243
10244 * gnustep-base.spec: Newfile
10245
10246 Wed Feb 16 06:28:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10247
10248 * Source/NSAssertionHandler.m: Applied patch by David relson to change
10249 output format for function assertions, fixed error in format string,
10250 and made similar changes for method assertions.
10251
10252 2000-02-14 Adam Fedor <fedor@gnu.org>
10253
10254 * Version: Update version number
10255 * Documentation/announce.tmpl.texi: Update
10256 * Documentation/readme.tmpl.texi: Likewise.
10257 * Documentation/news.tmpl.texi: Likewise.
10258 * Documentation/todo.tmpl.texi: Likewise.
10259 * ANNOUNCE, BUGS, NEWS, README: Regenerate
10260
10261 Fri Feb 11 06:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10262
10263 * Source/NSZone.m: Tidied indentation etc to GNU style.
10264
10265 Thu Feb 10 23:01:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10266
10267 * Source/NSDebug.m: Patch by David Relson to change memory allocation
10268 report and add thread-safety. Modified by me to automatically use
10269 locking if necessary, to tidy up, and to fix a couple of bugs in
10270 lock/unlock sequencing. All new stuff - but since the previous
10271 version was completely unusable in a multithreaded environment I
10272 don't think we are running any risk by adding this here.
10273
10274 Thu Feb 10 15:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10275
10276 Changes to fix possible crashes where task completion notifications
10277 are sent at inappropriate times due to SIGCHLD.
10278 * Source/NSTask.m: Move signal handler code to GSChecktasks() and
10279 have the signal handler simply set a flag to say work needs doing.
10280 * Source/NSRunLoop.m: Add calls to GSCheckTasks() so that we notice
10281 the death of a child.
10282
10283 Thu Feb 10 14:13:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10284
10285 * Source/UnixFileHandle.m: ([-receivedEvent:type:extra: forMode:])
10286 fix so that incoming connections are closed when their file handle
10287 is deallocated.
10288
10289 Thu Feb 10 9:34:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10290
10291 * Headers/gnustep/base/preface.h.in: Added tests to see if _C_LNG_LNG
10292 and _C_ULNG_LNG are defined in the objc compiler headers and, if not,
10293 define them. Long long support was added in gcc 2.8 (minimum
10294 compiler version recommended for GNUstep), but the defines were
10295 missing from the headers :-(
10296 * Source/NSArchiver.m: Remove conditional compile for long long stuff.
10297 * Source/NSData.m: ditto
10298 * Source/NSUnarchiver.m: ditto
10299 * Source/mframe.m: ditto
10300
10301 2000-02-09 Adam Fedor <fedor@gnu.org>
10302
10303 * Documentation/gnustep-base.tmpl.texi: Update.
10304 * Documentation/news.tmpl.texi: Likewise.
10305 * Documentation/readme.tmpl.texi:Likewise.
10306
10307 * Headers/gnustep/base/NSObjCRuntime.h: Include preface for stdargs.
10308
10309 Wed Feb 9 17:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10310
10311 * Headers/gnustep/base/NSObjCRuntime.h: fix for header dependencies.
10312 * Headers/gnustep/base/Unicode.h: ditto
10313 * Source/NSDebug.m: ditto
10314
10315 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10316
10317 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) fix handling
10318 of notifications in idle queue.
10319
10320 2000-02-08 Adam Fedor <fedor@gnu.org>
10321
10322 * config.guess: New version
10323 * config.sub: Likewise.
10324
10325 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10326
10327 * Source/NSArray.m: Move ([writeToFile:atomically:]) from mutable
10328 array to array code.
10329
10330 Tue Feb 8 12:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10331
10332 * Source/Foundation/HSConfig.h.in: Added some GC macros
10333 * Source/NSData.m: Attempt to remove temporary file if an atomic
10334 write attempt fails.
10335
10336 Sat Feb 5 8:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10337
10338 * Source/Foundation/NSDebug.h: Add missing function prototype -
10339 Patch by David Relson <relson@expressgate.net>
10340
10341 2000-01-27 Adam Fedor <fedor@gnu.org>
10342
10343 * Tools/gdomap.c (init_iface): Check to see if an
10344 interface is up (using SIOCGIFFLAGS), and then get the address
10345 information before checking whether the address is in the AF_INET
10346 family (patch from Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>).
10347
10348 Sun Jan 16 9:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10349
10350 Moved objc-load.c to objc-load.m and filnd-exec.c to find-exec.m
10351 Added logging functions to objc-load.m so that logging can be
10352 enabled at runtime using --GNU-Debug=NSBundle
10353
10354 Sun Jan 9 15:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10355
10356 * Source/NSGAttributedString.m: ([-attributesAtIndex:effectiveRange:])
10357 fixed illegal parameter - reported by jagapen@whitewater.chem.wisc.edu
10358
10359 Wed Jan 5 16:22:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10360
10361 * Source/NSData.m: when serializing selectors, cope with untyped
10362 selectors instead of crashing.
10363
10364 Wed Jan 5 14:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10365
10366 * Source/NSTimeZone.m: Changed order of lookup to determine the local
10367 timezone:
10368 1. User defaults with key 'Local Time Zone'
10369 2. GNUSTEP_TZ environment variable
10370 3. $GNUSTEP_SYSTEM_ROOT/Libraries/Resources/NSTimeZones/localtime
10371 4. TZ environment variable
10372 5. Use UTC
10373 This means that the TZ environment variable can now safely be used for
10374 non-GNUstep timezones as long as GNUSTEP_TZ is defined (or a localtime)
10375 file exists.
10376
10377 Wed Jan 5 10:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10378
10379 * NSTimeZones/NSTimeZones.tar: Made a revised set of timezones with
10380 timezone names offset from GMT corresponding to common usage
10381 (as in OPENSTEP) rather than strict Posix interpretation.
10382 Also added detailed instructions to the README file and added a
10383 small makefile to build the abbreviations/regions tools.
10384
10385 Tue Jan 4 22:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10386
10387 * Source/NSCalendarDate.m: ([-yearOfCommonEra]) fix rounding error.
10388
10389 Tue Dec 21 13:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10390
10391 Fixes suggested by karl@nfox.com
10392 * Source/propList.h: Bugfix parsing larger lists.
10393 * Source/NSProcessInfo.m: Avoid use of freopen()
10394 * Source/GSeq.h: for ranges not found, return NSNotFound as the
10395 location rather than 0 - for compatibility with Apple.
10396 * NSDeserializer.m: Return nil if given nil data or an object that
10397 is not a data object.
10398
10399 1999-12-19 David Lazaro <khelekir@encomix.es>
10400
10401 * configure.in (objc_thread_lib): Added support for FreeBSD native
10402 POSIX threads (from the reentrant C library, libc_r). Made this the
10403 first option to test as this is the best working one.
10404 * configure: New build to support the above mentioned.
10405
10406 Fri Dec 17 17:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10407
10408 Fix error in last change.
10409
10410 Fri Dec 17 7:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10411
10412 * Source/NSGAttributedString.m: Patch (slightly modified) by Adam Fedor
10413 to permit setting attributes on an empty string (as a no-op).
10414
10415 Wed Dec 15 18:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10416
10417 * Source/NSHost.m: Update again - record current host name for duration
10418 of process and cache hosts keyed on the name under which they were
10419 created. This can result in multiple cache entries for the same host,
10420 but this seems to be necessary as DNS name <--> address mappings can
10421 be asymmetric.
10422 Thanks to dan@services.iiruc.ro for pointing this out.
10423
10424 Wed Dec 15 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10425
10426 * Source/Foundation/NSObject.h: dealloc notification stuff for Helge
10427 * Source/NSObject.m: dealloc notification stuff for Helge
10428
10429 Wed Dec 15 2:18:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10430
10431 * Source/UnixFileHandle.m: Chck to see if we are given a bad address.
10432 * Source/NSHost.m: major rewrite
10433
10434 Tue Dec 14 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10435
10436 * Source/NSTimeZone.m: ([+getTimeZoneFile:]) Removed misleading comment
10437 and hack.
10438 ([+timeZoneWithName:]) Fixed bug in loading timezone data file (unusual
10439 formats could cause a crash).
10440 * Source/NSScanner.m: ([-initWithString:]) fix to handle being passed
10441 a nil string (use an empty string and log an error).
10442 * NSTimeZones/NSTimeZones.tar: updated to latest info and made sure
10443 files are in the correct place.
10444
10445 Mon Dec 13 13:31:00 1999 Chris Ball <cball@fmco.com>
10446
10447 * Source/NSTimeZone.m: Replaced the original, correct comment and
10448 removed Richard's replacement incorrect comment.
10449
10450 Fri Dec 9 17:00:00 1999 Chris Ball <cball@fmco.com>
10451
10452 Sorry, I did a commit one directory to deep.
10453 * Source/NSArray.m: NSMutableArray's compared against a garbage pointer
10454 on removal. This causes real problems on SMP machines.
10455 * Source/NSGarray.m
10456 * Source/NSCalendarDate.m: DateByAddingYears lost timeZone info.
10457 InitWithString didn't deal with adjacent format specifiers.
10458 * Source/NSDate.m: addTimeInterval messed up timeZone if used with
10459 calendarDate
10460 * Source/NSLock.m: Trylock was broken and lockBeforeDate was
10461 unimplemented
10462 * Source/NSObject.m: The release code was broken for SMP machine use.
10463 * Source/NSTimeZone.m: The GMT+-** files are in the root directory on
10464 OpenStep and are in Etc/ on GNUstep so check both.
10465
10466 Mon Dec 13 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10467
10468 Fixes for cball's changes (who is cball?, and why didn't s/he produce
10469 a ChangeLog entry or conform to GNU indentation? It took me hours to
10470 tidy this up).
10471 * Source/NSDate.m: ([NSGDate -addTimeInterval:]) removed bogus
10472 implementation of method (inherits from NSDate).
10473 * Source/NSCalendarDate.m: Added implementation of ([-addTimeInterval:])
10474 with specific code for NSCalendarDate. Reformatted code to GNUstep
10475 style.
10476 * Source/NSGArray.m: ([-removeObjectIdenticalTo:]) and
10477 ([-removeObjectIdenticalTo:inRange:]) reverted to correct code.
10478 ([-removeObject:]) and ([-removeObjectIdenticalTo:inRange:]) removed
10479 changes and added fixes so that methods are safe where multiple objects
10480 equal to the object to be removed are present in the array.
10481 * Source/NSArray.m: Similar fixes for object removal.
10482 * Source/NSObject.m: Rewritten mutex code so that mutexes are not used
10483 for retain/release unless the app is multi-threaded.
10484
10485 Wed Dec 1 19:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10486
10487 * Source/NSArray.m: When sorting, treat illegal return values from the
10488 comparator the same way as OPENSTEP does, but log a warning.
10489 * Source/NSGArray.m: ditto
10490 * Source/NSDictionary.m ditto
10491
10492 Fri Nov 26 19:46:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10493
10494 * Headers/Foundation/NSString.h: Tidied and fixed return types for
10495 for a few methods.
10496 * Source/NSString.m: ditto.
10497 * Headers/NSRange.h: Added NSRangeFromString()
10498 * Source/NSRange.m: Implemented NSRangeFromString()
10499
10500 Sun Nov 21 6:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10501
10502 * Source/NSNotificationQueue.m: Applied patch by Dan Pascu to fix bug
10503 in removal of notificatiosn from queues. Also tidied indentation etc
10504 to conform to GNU standards.
10505 * Source/UnixFileHandle.m: ([-availableData]) fixed to block when no
10506 data is availabvle on a comms channel - as per spec. This bug was
10507 also reported by Dan <dan@services.iirux.ro>
10508 * Source/NSHost.m: Use inet_aton() if available.
10509
10510 1999-11-18 Adam Fedor <fedor@gnu.org>
10511
10512 * Source/GNUmakefile: Install unicode headers.
10513 * Source/Makefile.postamble: Script for doing unicode installation.
10514 (patches from Christopher Seawood <cls@seawood.org>).
10515
10516 Thu Nov 18 15:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10517
10518 * Headers/Foundation/NSPage.h: removed
10519 * Headers/Foundation/NSZone.h: incorporated NSPage.h
10520 * Source/GNUmakefile: Remove reference to NSPage.h
10521 * Source/NSZone.m: Remove reference to NSPage.h
10522
10523 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10524
10525 * Source/o_vscanf.c Reverted to earlier version - the last fix was
10526 causing distributed objects to fail! I don't know why, but DO seems
10527 more important than the bugfix - so, pending a rewrite of DO
10528 encoding/decoding to remove the dependency on the old stream code,
10529 we need to leave this as it is.
10530
10531 1999-11-09 Adam Fedor <fedor@gnu.org>
10532
10533 * Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.
10534
10535 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10536
10537 * Source/Foundation/NSDebug.h: Added NSWarnLog(), NSWarnFLog() and
10538 NSWarnMLog() macros to log warnings about potential programming errors.
10539 * Source/NSArray.m: Change to use NSWarnMLog() for warnings.
10540 * Source/NSGArray.m: ditto
10541 * Source/NSGCountedSet.m: ditto
10542 * Source/NSGDictionary.m: ditto
10543 * Source/NSGSet.m: ditto
10544
10545 Thu Nov 4 1999 Michael Hanni <mhanni@sprintmail.com>
10546
10547 * Source/NSObject.m: added FreeBSD specific code in
10548 initialization so that the FPU is intialized with the correct
10549 exception flag. This allows NSConnection to work on FreeBSD (gdnc,
10550 gdomap, gpbs.)
10551
10552 Thu Nov 4 10:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10553
10554 * Source/NSArray.m: use NSLog() to warn about attempts to remove nil.
10555 * Source/NSGArray.m: ditto
10556 * Source/NSGCountedSet.m: ditto
10557 * Source/NSGDictionary.m: ditto
10558 * Source/NSGSet.m: ditto
10559
10560 Fri Oct 29 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10561
10562 * Source/NSInvocation.m: ([-initWithTarget:selector:]) possible fix
10563 for structure arguments grabbed from varargs.
10564
10565 Tue Oct 19 11:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10566
10567 * Source/NSScanner.m: skipToNextField() - cope with a nil set of
10568 characters to be skipped.
10569
10570 Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com>
10571
10572 * Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed
10573 space character in a call to (-[NSString rangeOfString]).
10574
10575 Tue Sep 12 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10576
10577 * Source/NSConnection.m: Removed pointer cross-reference support as it
10578 provided little performance improvement and was responsible for a few
10579 bugs I've never been able to track down, and major problems if the maps
10580 at either end of the link get out of sync (which is unavoidable in some
10581 rare circumstances).
10582 * Headers/Foundation/NSConnection.h: Removed cross-reference maps
10583 * Source/ConnectedCoder.m: Removed pointer cross-reference support
10584 * Source/NSPortCoder.m: Removed pointer cross-reference support
10585
10586 Fri Sep 8 12:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10587
10588 * configure.in: Correct path to include file for checking thread support
10589 (bug reported by kai@cats.ms).
10590
10591 Tue Sep 5 11:21:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10592
10593 * Source/NSUserDefaults.m: Fix for crash when reading corrupt file.
10594 Also -added code to create ~/GNUstep directory if needed.
10595
10596 Mon Sep 4 11:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10597
10598 * Tools/gdomap.c: better debug output (hopefully)
10599
10600 Wed Sep 29 21:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10601
10602 * Source/NSData.m: More GC updates (atomic data buffer)
10603 * Source/NSGString.m: ditto
10604 * Source/NSGCString.m: ditto
10605 * Source/NSObject.m: More GC updates
10606 * Source/NSZone.m: ditto
10607 * Source/mframe.m: ditto
10608 * Source/objc-gnu2next.m: ditto
10609 * Headers/Foundation/GSIMap.h: ditto
10610
10611 Tue Sep 28 20:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10612
10613 * Source/NSArray.m: Tidy for GC stuff
10614 * Source/NSAttributedString.m: ditto
10615 * Source/NSCallBacks.m: ditto
10616 * Source/NSConnection.m: ditto
10617 * Source/NSData.m: ditto
10618 * Source/NSDateFormatter.m: ditto
10619 * Source/NSFileManager.m: ditto
10620 * Source/NSGArray.m: ditto
10621 * Source/NSGCountedSet.m: ditto
10622 * Source/NSGDictionary.m: ditto
10623 * Source/NSGSet.m: ditto
10624 * Source/NSInvocation.m: ditto
10625 * Source/NSNotificationCenter.m: ditto
10626 * Source/NSObject.m: ditto
10627 * Source/NSPortNameServer.m: ditto
10628 * Source/NSProcessInfo.m: ditto
10629 * Source/NSRunLoop.m: ditto
10630 * Source/NSScanner.m: ditto
10631 * Source/NSString.m: ditto
10632 * Source/NSTimeZone.m: ditto
10633 * Source/NSUnarchiver.m: ditto
10634 * Source/NSUndoManager.m: ditto
10635 * Source/NSUserDefaults.m: ditto
10636 * Source/TcpPort.m: ditto
10637 * Source/propList.h: ditto
10638
10639 Tue Sep 28 11:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10640
10641 * Source/NSArray.m: ([+allocWithZone:]) tiny optimisation.
10642 * Source/NSCountedSet.m: Some optimisation.
10643 * Source/NSTask.m: implement ([-interrupt]) to send SIGINT.
10644 * Source/NSUserDefaults.m: ([-searchList]) return constant array.
10645 Various tidying up and optimisations.
10646 ([-persistentDomainForName:]) fixed memory leak.
10647 ([-volatileDomainForName:]) return constant dictionary.
10648 ([-setPersistentDomain:forName:]) make mutable copy.
10649 ([-setVolatileDomain:forName:]) ditto
10650 * Source/NSObject.m: GC tweaks
10651 * Source/NSZone.m: added zone for atomic GC
10652 * Headers/Foundation/NSZone.h: added zone GSAtomicMallocZone()
10653 * Headers/Foundation/GSIArray.h: Remove special case for zero zone
10654 * Headers/Foundation/GSIMap.h: ditto.
10655
10656 Tue Sep 28 5:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10657
10658 * Source/NSTask.m: ([_collectChiled]) bugfix suggested by karl@nfox.com
10659
10660 Mon Sep 27 21:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10661
10662 * Source/NSScanner.m: Fix error introduced into skipToNextField() macro
10663 my my last rewrite - sorry. Thanks to N. Pero for narrowing down the
10664 problem to a level where I could locate it.
10665 * Source/NSGeometry.m: optimised.
10666
10667 1999-09-24 Adam Fedor <fedor@gnu.org>
10668
10669 * configure.in: Add check for Objective-C headers.
10670
10671 Thu Sep 23 20:09:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10672
10673 * Source/Invocation.m: VARARGS fix by ani joshi <ajoshi@wam.umd.edu>
10674
10675 Tue Sep 21 20:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10676
10677 * Headers/Foundation/NSPortNameServer.h: Tidied and removed a few ivars.
10678 * Source/NSPortNameServer.m: Rewritten to be a bit clearer and to
10679 permit parallel lookup on multiple hosts.
10680
10681 Sun Sep 19 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10682
10683 * NSString.m: Fix bug in ([+stringByStandardizingPath]) with trailing
10684 slash.
10685
10686 Thu Sep 16 19:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10687
10688 Change request from Helge
10689 * Source/externs.m: added NSNonRetainedObjectMapValueCallBacks
10690 * Headers/Foundation/NSMapTable.h: ditto.
10691
10692 Thu Sep 16 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10693
10694 Changes to minimise naming conflicts by making sure that all ivars
10695 of public classes are prefixed with a underscore.
10696 * Headers/Foundation/NSArchiver.h: prefix ivars with underscore and tidy
10697 * Headers/Foundation/NSArray.h: ditto
10698 * Headers/Foundation/NSAttributedString.h: ditto
10699 * Headers/Foundation/NSAutoreleasePool.h: ditto
10700 * Headers/Foundation/NSBitmapCharSet.h: ditto
10701 * Headers/Foundation/NSBundle.h: ditto
10702 * Headers/Foundation/NSCharacterSet.h: ditto
10703 * Headers/Foundation/NSCoder.h: ditto
10704 * Headers/Foundation/NSData.h: ditto
10705 * Headers/Foundation/NSDate.h: ditto
10706 * Headers/Foundation/NSDateFormatter.h: ditto
10707 * Headers/Foundation/NSDictionary.h: ditto
10708 * Headers/Foundation/NSDistantObject.h: ditto
10709 * Headers/Foundation/NSDistributedLock.h: ditto
10710 * Headers/Foundation/NSDistributedNotificationCenter.h: ditto
10711 * Headers/Foundation/NSException.h: ditto
10712 * Headers/Foundation/NSFileHandle.h: ditto
10713 * Headers/Foundation/NSFileManager.h: ditto
10714 * Headers/Foundation/NSGAttributedString.h: ditto
10715 * Headers/Foundation/NSHost.h: ditto
10716 * Headers/Foundation/NSInvocation.h: ditto
10717 * Headers/Foundation/NSLock.h: ditto
10718 * Headers/Foundation/NSMethodSignature.h: ditto
10719 * Headers/Foundation/NSNotification.h: ditto
10720 * Headers/Foundation/NSNotificationQueue.h: ditto
10721 * Headers/Foundation/NSPort.h: ditto
10722 * Headers/Foundation/NSPortMessage.h: ditto
10723 * Headers/Foundation/NSPortNameServer.h: ditto
10724 * Headers/Foundation/NSProtocolChecker.h: ditto
10725 * Headers/Foundation/NSScanner.h: ditto
10726 * Headers/Foundation/NSSet.h: ditto
10727 * Headers/Foundation/NSTask.h: ditto
10728 * Headers/Foundation/NSURL.h: ditto
10729 * Headers/Foundation/NSURLHandle.h: ditto
10730 * Headers/Foundation/NSUndoManager.h: ditto
10731 * Headers/Foundation/NSUserDefaults.h: ditto
10732 * Source/NSArchiver.m: ditto
10733 * Source/NSAutoreleasePool.m: ditto
10734 * Source/NSBitmapCharSet.m: ditto
10735 * Source/NSCalendarDate.m: ditto
10736 * Source/NSDate.m: ditto
10737 * Source/NSDateFormatter.m: ditto
10738 * Source/NSDistantObject.m: ditto
10739 * Source/NSDistributedLock.m: ditto
10740 * Source/NSDistributedNotificationCenter.m: ditto
10741 * Source/NSException.m: ditto
10742 * Source/NSFileManager.m: ditto
10743 * Source/NSGAttributedString.m: ditto
10744 * Source/NSGSet.m: ditto
10745 * Source/NSHost.m: ditto
10746 * Source/NSInvocation.m: ditto
10747 * Source/NSLock.m: ditto
10748 * Source/NSMethodSignature.m: ditto
10749 * Source/NSNotificationCenter.m: ditto
10750 * Source/NSNotificationQueue.m: ditto
10751 * Source/NSPort.m: ditto
10752 * Source/NSPortMessage.m: ditto
10753 * Source/NSPortNameServer.m: ditto
10754 * Source/NSProtocolChecker.m: ditto
10755 * Source/NSScanner.m: ditto
10756 * Source/NSTask.m: ditto
10757 * Source/NSURL.m: ditto
10758 * Source/NSURLHandle.m: ditto
10759 * Source/NSUndoManager.m: ditto
10760 * Source/NSUserDefaults.m: ditto
10761 * Source/Port.m: ditto
10762 * Source/TcpPort.m: ditto
10763 * Source/UdpPort.m: ditto
10764
10765 Tue Sep 14 20:44:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10766
10767 * Source/NSArray.m: Huge amounts of optimisation.
10768 Memory leak fixed in ([-initWithFile:]).
10769 * Source/NSGArray.m: Optimisations of less-used methods, including
10770 implementation of fast enumerators.
10771
10772 Tue Sep 14 15:11:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10773
10774 * Source/NSTimer.m: minor optimisations
10775 * Headers/NSRunLoop.h: modification for optimisation of performers
10776 * Source/NSRunLoop.m: minor optimisations, plus bugfix for performers
10777 (was removing performers after they had been fired - shouldn't).
10778
10779 Mon Sep 13 6:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10780
10781 Miscellaneous minor bugfixes plus,
10782 * Source/NSDate.m: Year 2001 bug fixed - had silly assertion in
10783 generation of time interval since reference date for current time.
10784 * Source/NSScanner.m: optimised (well, mostly).
10785 * Headers/Foundation/NSScanner.h: update for optimisatio).
10786
10787 Sun Sep 12 20:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10788
10789 * Source/NSDictionary.m: optimise by avoiding objc method lookup
10790 overheads wherever possible.
10791 * Source/NSGDictionary.m: likewise.
10792
10793 Fri Sep 3 11:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10794
10795 * Source/NSString.m: speed up path handling a bit by caching
10796 method for testing for path separators - also fixed appending
10797 of path extensions and components to be according to spec.
10798
10799 Sat Aug 21 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10800
10801 * Tools/gdomap.c: Fix for probing for other gdomap processes on the
10802 net.
10803
10804 1999-08-19 Michael Hanni <mhanni@sprintmail.com>
10805
10806 * Source/NSObjCRuntime.m: patch from Tim Bissell to help in
10807 debugging. (show which non-existant ivar you wanted.)
10808
10809 1999-09-07 Adam Fedor <fedor@gnu.org>
10810
10811 * Version: 0.6.0
10812
10813 * configure.in: Add test for solaris libraries, freebsd threads.
10814 * Source/mframe/config.guess: Update to latest version
10815 * Source/mframe/config.sub: Likewise.
10816
10817 Sun Sep 5 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10818
10819 * config/config_thread.m: new file
10820 * configure.in: Update to check to see if obc runtime uses threads
10821 so that we can include the thread library if necessary - and later
10822 onbjc tests won't all fail on threaded systems.
10823 Also - force use of fake-main stuff on bsd systems.
10824 * Source/NSProcessInfo.m: Remove bsd workaround - didn't work.
10825
10826 1999-08-29 Michael Hanni <mhanni@sprintmail.com>
10827
10828 * Source/NSObjCRuntime.m: added a patch from Tim Bissell
10829 <tim.bissell@dresdnerkb.com>. Adds better debugging information
10830 for non-existent ivars.
10831
10832 Sat Sep 4 6:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10833
10834 Various process-info related bugfixes.
10835 * Source/NSBundle.m: Use arguments list for argv[0] for full path.
10836 * Source/NSLog.m: use processName directly in log.
10837 * Source/NSProcessInfo.m: Fix process name to be last path component
10838 of argv[0], and add workaround for buggy /proc filesystems that
10839 append a newline to arguments.
10840 * Source/NSUserDefaults.m: use processName directly for domain name.
10841
10842 Thu Sep 2 9:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10843
10844 * Source/NSTask.m: exec process with argv[0] set to full path of
10845 the executable rather than just the program name.
10846
10847 Tue Aug 31 15:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10848
10849 * Source/NSTimer.m: Set minimum timeout to 0.01s rather than 1.0s.
10850 This seems a more reasonable value - a 1 second delay is too big.
10851
10852 1999-08-29 Adam Fedor <fedor@gnu.org>
10853
10854 * Source/NSLog.m (_NSLog_standard_printf_handler): Use
10855 cStringLength.
10856
10857 Wed Aug 25 15:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10858
10859 Fixes for memory leaks in parsing property lists.
10860 * Source/propList.h: release new strings asap
10861 * Source/NSString.m: autorelease value returned by parsing plists.
10862 * Source/NSGString.m: ditto.
10863 * Source/NSGCString.m: ditto.
10864
10865 Wed Aug 25 11:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10866
10867 * Source/Makefile.postamble: Added rules to build some files without
10868 optimisation, to avoid optimiser breaking them.
10869
10870 1999-08-23 Pedro Ivo Andrade Tavares <ptavares@iname.com>
10871
10872 * Headers/gnustep/base/NSByteOrder.h: changed the NSByteStore struct
10873 to comply to Mac OS X documentation.
10874
10875 1999-08-22 Adam Fedor <fedor@gnu.org>
10876
10877 * Documentation/gnustep-base.tmpl.texi: New with GNUstep specific
10878 documentation.
10879 * Documentation/news.tmpl.texi: update
10880
10881 Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10882
10883 * NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications
10884 even when no idle notifications are waiting.
10885
10886 Thu Aug 19 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10887
10888 * Source/NSCalendarDate.m: Various memory-leak fixes.
10889 * Source/NSTimeZone.m: Various memory leak fixes.
10890
10891 Sat Aug 7 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10892
10893 * Testing/tcpport-server.m: fixes to work with NSNotificationCenter.
10894
10895 1999-08-10 Adam Fedor <fedor@gnu.org>
10896
10897 * configure.in: Move objc_conditioned_wait test so it gets proper
10898 LIBS setup
10899 * Source/mframe/configure: Regenerate using autoconf 2.13
10900
10901 1999-08-08 Adam Fedor <fedor@gnu.org>
10902
10903 * Source/NSPort.m (-sendBeforeDate:): Change return type to BOOL
10904 as per the spec.
10905 * Source/NSPortMessage.m: Likewise. (patch from
10906 Pedro Ivo Andrade Tavares <ptavares@iname.com>).
10907
10908 * configure.in: Rewrite +load method test.
10909
10910 1999-08-08 Manuel Guesdon <mguesdon@sbuilders.com>
10911
10912 * Source/NSGString.m (stringIncrementCountAndMakeHoleAt and stringDecrementCountAndFillHoleAt):
10913 Added a test for null length/size.
10914 Added NSCAssert on index/size/count/capacity
10915
10916 1999-08-05 Adam Fedor <fedor@gnu.org>
10917
10918 * Source/NSLock.m ([NSConditionLock -lockWhenCondition:beforeDate:]):
10919 Implement (Patch from Patrick Stein <jolly@jinx.de>).
10920 * configure.in: Check for objc_condition_timewait.
10921
10922 * Source/NSString.m (-initWithFormat:arguments:): Don't advance
10923 vsprintf arguments on powerpc.
10924
10925 * Source/mframe/powerpc/linux-gnu (MFRAME_ARG_ENCODING): Fix
10926 alignment of small structures.
10927
10928 * many files: Changed FSF mailing address
10929
10930 Fri Aug 6 13:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10931
10932 Portability fixes for compilers that don't leave enough space in an
10933 NXConstantString object for the _hash ivar of NSGCString.
10934 * Source/NSGCString.m: don't use _hash ivar of NXConstantString.
10935 * Source/NSGString.m: don't use _hash ivar of NXConstantString.
10936 * Source/Foundation/NSString.h: Add warning comment about the ivar
10937 layout for NXConstantString.
10938
10939 Thu Aug 5 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10940
10941 * Tools/gdomap.c: prb_add() maintain server info in date order.
10942 prb_del() removed, bugfixes to notice when a server dies.
10943
10944 Tue Aug 3 12:36:54 1999 Adam Fedor <fedor@ultra.doc.com>
10945
10946 * Source/NSInvocation.m (-initWithTarget:selector:): Hack for
10947 sparc and ppc machines to align structs on word boundaries.
10948 * mframe/sparc/solaris2.6: New file with fix for putting small
10949 structures at correct offset.
10950
10951 Mon Aug 2 8:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10952
10953 * Source/propList.h: parseQuotedString() fix for parsing octal escape
10954 sequences - hope it's right now.
10955
10956 Sun Aug 1 7:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10957
10958 * Source/NSBundle.m: ([+localizedStringForKey:value:table:]) Fixed so
10959 that debugging behavior only takes place when NSShowNonLocalizedStrings
10960 default is 'YES'.
10961
10962 1999-07-29 Adam Fedor <fedor@gnu.org>
10963
10964 * config.guess: Updated from latest version + fix for Netwinder.
10965 * config.sub: Likewise.
10966
10967 * Headers/gnustep/base/Foundation.h: Include NSPage.h
10968 * Headers/gnustep/base/NSPortCoder.h: Remove ref to Port.h
10969
10970 Wed Jul 28 15:53:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10971
10972 * Source/NSObject.m: ([+isKindOfClass:]) Fixed to return NO except
10973 when both the argument and the receiver are NSObject - as specified
10974 in the MacOS-X documentation. Thanks to Helge for pointing this out.
10975
10976 Mon Jul 26 21:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10977
10978 Fix cStrings to use unsigned char throughout - to avoid problems
10979 with character sets other than ascii. Suggested by Kai Henningsen.
10980 * Headers/Foundation/NSGCString.h: Use unsigned chars.
10981 * Source/NSGCString.m: Use unsigned chars.
10982 * Source/GSeq.h: Use unsigned chars.
10983 * Source/propList.h: Use unsigned chars.
10984
10985 Fri Jul 23 22:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10986
10987 * Source/UnixFileHandle.m: Tidy a little and make sure that
10988 non-blocking mode is reset when a descriptor is closed.
10989 * Source/NSPortNameServer.mL Fixed error in lookup when host name
10990 is specified.
10991
10992 Thu Jul 22 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10993
10994 * Source/NSTimeZone.m: ([-initWithOffset:]) bugfix by Kai Henningsen
10995 * acconfig.h: Removed old libc method of getting NSProcessInfo stuff.
10996 * aclocal.m4: Removed old libc method of getting NSProcessInfo stuff.
10997 * configure.in: Added new '/proc' method of getting NSProcessInfo stuff
10998 by Nico Pero, with modifications and --enable-fake-main
10999 * Headers/GSConfig.h.in: New NSProcessInfo stuff
11000 * Headers/NSObject.h: Remove fake-main include - use GSConfig.h
11001 * Headers/config.h.in: Remove fake-main include - use GSConfig.h
11002 * Headers/preface.h.in: Remove fake-main include - use GSConfig.h
11003 * Source/GNUmakefile: Remove fake-main.h
11004 * Source/Makefile.postamble: NSProcessInfo.o depends on GSConfig.h
11005 * Source/NSLog.m: Bugfix - set up pointer to log function.
11006 * Source/NSProcessInfo.m: Remove old hack for getting process info
11007 and add new '/proc' method, along with improvements to the fake-main
11008 mechanism.
11009
11010 Tue Jul 20 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11011
11012 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
11013 updated to get default format and locale info.
11014
11015 Tue Jul 20 10:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11016
11017 * Source/NSString.m: Update code for standardising paths - now
11018 conforms to MacOS-X spec (more or less).
11019
11020 Thu Jul 15 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11021
11022 * Headers/Foundation/NSURL.h: Tidied
11023 * Headers/Foundation/NSURLHandle.h: Tidied
11024 * Headers/Foundation/Foundation.h: inlcude NSURL.h and NSURLHandle.h
11025
11026 Wed Jul 14 20:19:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11027
11028 * Source/NSThread.m: Make sure that a thread retains the target object
11029 and argument of the method with which it is detached.
11030 * Testing/diningPhilosophers.m: Fixed bug - was passing non NSObject
11031 argument.
11032
11033 Wed Jul 14 16:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11034
11035 * Source/NSAttributedString.m: Fixed ([allocWithZone:]) so that
11036 subclasses should work correctly.
11037
11038 Wed Jul 14 10:32:17 1999 Adam Fedor <fedor@ultra.doc.com>
11039
11040 * Testing/Makefile.preamble: Fix include path the headers.
11041 Other testing fixes
11042
11043 Tue Jul 13 17:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11044
11045 * Source/NSUser.m: Implemented NSStandardApplicationPaths(),
11046 NSStandardLibraryPaths(), and GSStandardPathPrefixes().
11047
11048 Mon Jul 12 5:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11049
11050 * Source/NSString.m: Bugfixes in ([stringByStandardizingPath:])
11051 as suggested by Pascal Bourguignon. Also fix to do substitutions
11052 throughout path, also use realpath() for resolving links if possible.
11053 * configure.in: Check for realpath()
11054
11055 Sat Jul 10 13:52:20 1999 Adam Fedor <fedor@ultra.doc.com>
11056
11057 * Makefile.postamble: Create Foundation link in Source directory
11058 * Source/Makefile.postamble: Remove link to Foundation
11059 (work around bug in make?)
11060
11061 Thu Jul 8 22:21:54 1999 Adam Fedor <fedor@ultra.doc.com>
11062
11063 * Changes for new directory layout.
11064 * Makefile.postamble: Link Foundation from gnustep/base
11065 * configure.in: Change location of generated include files.
11066 * Source/mframe/configure.in: Change mframe.h location.
11067 * Tools/Makefile.preamble: Change base header locations.
11068 * Source/Makefirl.postamble: Likewise.
11069
11070 Sat Jul 3 21:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11071
11072 * Source/NSCallBacks.m: Changes for garbage collection.
11073 * Source/NSDateFormatter.m: ditto.
11074 * Source/NSDictionary.m: ditto.
11075 * Source/NSDistributedLock.m: ditto.
11076 * Source/NSDistributedNotificationCenter.m: ditto.
11077 * Source/NSGArray.m: ditto.
11078 * Source/NSGCString.m: ditto.
11079 * Source/NSGCountedSet.m: ditto.
11080 * Source/NSGDictionary.m: ditto.
11081 * Source/NSGSet.m: ditto.
11082 * Source/NSHost.m: ditto.
11083 * Source/NSInvocation.m: ditto.
11084 * Source/NSNotification.m: ditto.
11085 * Source/NSProtocolChecker.m: ditto.
11086 * Source/NSScanner.m: ditto.
11087 * Source/NSSerializer.m: ditto.
11088 * Source/NSSet.m: ditto.
11089 * Source/NSData.m: ditto.
11090 * Source/NSPortNameServer.m: ditto.
11091 * Source/NSUndoManager.m: ditto.
11092 * Source/NSURL.m: ditto.
11093
11094 Fri Jul 2 14:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11095
11096 * Source/GSeq.h: Fix boundary error when searching for string in
11097 string.
11098 * Source/NSString.m: Don't allocate contents for string with 0 length.
11099 * Source/NSGString.m: ditto
11100 * Source/NSGCString.m: ditto
11101
11102 Fri Jul 2 8:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11103
11104 * Source/NSUnarchiver.m: In designated initialiser, catch exceptions
11105 and deallocate self before re-throwing in order to prevent memory
11106 leak.
11107
11108 Thu Jul 1 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11109
11110 Patch by Kai Henningsen to improve debug slightly.
11111 * Source/NSObject.m: improved exception messages.
11112
11113 Wed Jun 30 22:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11114
11115 * Source/NSArray.m: Tidied for garbage collection.
11116 * Source/PropList.h: Tidied for garbage collection.
11117 * Source/include/Unicode.h: Added missing prototyp.
11118
11119 Tue Jun 29 17:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11120
11121 Patches by Hai Henningsen
11122 * Source/NSString.m: Fix for stringByAppendingPathExtension
11123 * Source/Unicode.m: Several bugfixes in AND logic.
11124
11125 Mon Jun 28 11:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11126
11127 * Source/include/NSConnection.h: Fixed spelling error reported by
11128 Olivier.Saut@dptmaths.ens-cachan.fr
11129 * Source/NSConnection.m: ditto
11130
11131 Sat Jun 26 7:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11132
11133 * Source/NSRunLoop.m: Fix error in last mod.
11134 * Source/NSTask.m: Allow for bsd setpgrp()
11135 * Souyrce/configure.in: Allow for bsd setpgrp()
11136
11137 Fri Jun 25 11:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11138
11139 * Source/NSRunLoop.m: Use autorelease pools in ([limitDateForMode:])
11140 and ([acceptInputForMode:beforeDate:])
11141
11142 Thu Jun 24 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11143
11144 * Source/include/GSIMap.h: Tweaks to avoid compiler warnings.
11145 * Source/include/NSNotification.h: ditto.
11146 * Source/propList.h: ditto.
11147 * Source/Collection.m: ditto.
11148 * Source/TcpPort.m: ditto.
11149 * Source/UnixFileHandle.m: ditto.
11150 * Source/NSArchiver.m: ditto.
11151 * Source/NSArchiver.m: ditto.
11152 * Source/NSCalendarDate.m: ditto.
11153 * Source/NSCoder.m: ditto.
11154 * Source/NSConcreteValue.m: ditto.
11155 * Source/NSConnection.m: ditto.
11156 * Source/NSData.m: ditto.
11157 * Source/NSDate.m: ditto.
11158 * Source/NSDictionary.m: ditto.
11159 * Source/NSDistributedNotificationCenter.m: ditto.
11160 * Source/NSGAttributedString.m: ditto.
11161 * Source/NSGCountedSet.m: ditto.
11162 * Source/NSGCString.m: ditto.
11163 * Source/NSGDictionary.m: ditto.
11164 * Source/NSHost.m: ditto.
11165 * Source/NSLock.m: ditto.
11166 * Source/NSNotificationCenter.m: ditto.
11167 * Source/NSNotificationQueue.m: ditto.
11168 * Source/NSNumber.m: ditto.
11169 * Source/NSObjCRuntime.m: ditto.
11170 * Source/NSObject.m: ditto.
11171 * Source/NSPage.m: ditto.
11172 * Source/NSPortNameServer.m: ditto.
11173 * Source/NSScanner.m: ditto.
11174 * Source/NSSerializer.m: ditto.
11175 * Source/NSString.m: ditto.
11176 * Source/NSTask.m: ditto.
11177 * Source/NSTimeZone.m: ditto.
11178 * Source/NSThread.m: ditto.
11179 * Source/NSUnarchiver.m: ditto.
11180 * Source/NSURL.m: ditto.
11181 * Source/NSURLHandle.m: ditto.
11182 * Source/NSUserDefaults.m: ditto.
11183 * Source/NSZone.m: ditto.
11184 * Tools/gdomap.c: ditto.
11185 * Tools/gdnc.m: ditto.
11186 * Tools/plparse.m: ditto.
11187 * Tools/sfparse.m: ditto.
11188 * Tools/pldes.m: ditto.
11189 * Tools/plser.m: ditto.
11190
11191 1999-06-24 Adam Fedor <fedor@gnu.org>
11192
11193 * Source/include/GSIArray.h (GSIArrayRemoveLastItem): New function.
11194 (GSIArrayLastItem): Likewise.
11195 (GSIArrayCopyWithZone): Likewise.
11196
11197 Tue Jun 22 16:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11198
11199 * Source/NSThread.m: Various changes to tidy up notification handling
11200 to avoid warning messages and to ensure that observers get notified
11201 before the application becomes multi-threaded.
11202
11203 Mon Jun 21 20:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11204
11205 * Source/NSFileManager.m: Fixed error recursing into directory.
11206 * Source/include/NSFileManager.h: tidied.
11207
11208 Mon Jun 21 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11209
11210 Mostly updates of range checking code and change of FastArray and
11211 FastMap to use the prefix GSI (GnuStepInline) rather than Fast -
11212 less likely to conflict with other names.
11213 * Source/include/NSRange.h: Added GS_RANGE_CHECK() macro for consistent
11214 range checking.
11215 * Source/include/FastArray.x: Renamed to GSIArray.h
11216 * Source/include/FastMap.x: Renamed to GSIMap.h
11217 * Source/include/NSArchiver.h: Changed Fast to GSI
11218 * Source/NSString.m: Use GS_RANGE_CHECK()
11219 * Source/NSGString.m: ditto
11220 * Source/NSGCString.m: ditto
11221 * Source/NSAttributedString.m: ditto
11222 * Source/NSGAttributedString.m: ditto
11223 * Source/NSData.m: ditto
11224 * Source/NSArray.m: ditto
11225 * Source/NSGArray.m: ditto
11226 * Source/GNUmakefile: Renamed Fast... to GSI...
11227 * Source/Makefile.postamble: Renamed Fast... to GSI...
11228 * Source/NSArchiver.m: ditto
11229 * Source/NSGCountedSet.m: ditto
11230 * Source/NSGDictionary.m: ditto
11231 * Source/NSGSet.m: ditto
11232 * Source/NSNotificationCenter.m: ditto
11233 * Source/NSRunLoop.m: ditto
11234 * Source/NSSerializer.m: ditto
11235 * Source/NSUnarchiver.m: ditto
11236
11237 Fri Jun 18 8:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11238
11239 * Source/NSFileManager.m: Fix lookup of fileGroupOwnerAccountName
11240 Fix test for symbolic links, add diagnostic info, fix copy to produce
11241 files owned by current user.
11242 * Source/include/NSFileManager.h: tidyup
11243 * Source/include/NSObject.h: fixup for ASSIGN macro - should work for
11244 all objects.
11245
11246 Thu Jun 17 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11247
11248 * Source/include/NSNotification.h: Update to MacOS-X specs.
11249 * Source/NSNotification.m: Tidied
11250 * Source/NSNotificationCenter.m: Complete rewrite for performance
11251 (order of magnitude improvement) and GC.
11252
11253 Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11254
11255 * Tools/gdnc.m: Only use OpenStep NSNotificationCenter methods.
11256 * Source/NSConnection.m: ditto
11257 * Source/NSDistributedNotificationCenter.m: ditto
11258 * Source/NSPort.m: ditto
11259 * Source/NSPortNameServer.m: ditto
11260 * Source/NSSerializer.m: ditto
11261 * Source/Port.m: ditto
11262 * Source/TcpPort.m: ditto
11263
11264 Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11265
11266 * Source/NSConcreteValue.m: Update for MacOS-X and for GC
11267 * Source/NSCTemplateValue.m: Update for MacOS-X and for GC
11268 * Source/NSNumber.m: Update for MacOS-X and for GC, optimised
11269 * Source/NSConcreteNumber.m: Update for MacOS-X and for GCC, optimised
11270 * Source/NSValue.m: Update for MacOS-X and for GC
11271 * Source/include/NSValue.h: Update for MacOS-X and for GC
11272
11273 Sat Jun 12 15:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11274
11275 * Source/NSConcreteValue.m: Implemented [hash and isEqualToValue
11276 * Source/include/NSConcreteValue.h: Change NSString ivar to char* for
11277 performance reasons.
11278 * Source/NSCTemplateValue.m: Implemented hash and optimised.
11279
11280 Thu Jun 4 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11281
11282 * Source/NSCharacterSet.m: prepare for GC
11283 * Source/NSString.m: prepare for GC
11284 * Source/NSTimer.m: tidied and added timeInterval method
11285 * Source/include/NSTimer.h: tidied and added timeInterval method
11286 * Source/NSArchiver.m: Fixed memory leak in ([-init])
11287
11288 Tue Jun 2 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11289
11290 * Source/NSSerializer.m: Added uniquing for deserialized strings.
11291 * Source/include/NSSerialization.h: likewise.
11292
11293 Tue Jun 2 5:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11294
11295 * Source/TcpPort.m: Fixed to compile cleanly under cygwin.
11296 * Source/UnixFileHandle.m: ditto
11297 * Source/NSHost.m: ditto
11298 * Source/NSProcessInfo.m: ditto
11299 * Source/NSRunLoop.m: ditto
11300
11301 Fri May 28 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11302
11303 * Source/NSString.m: Fixed error on growing mutable strings - could
11304 cause unreasonable growth when generating property lists.
11305
11306 Thu May 27 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11307
11308 * Source/NSArchiver.m: Fix memory leak reported by
11309 frederic.chauvin@lemel.fr and ready for garbage collection.
11310 * Source/NSUnarchiver.m: Ready for garbage collection.
11311 * Source/NSTimeZone.m: Fix memory leak reported by
11312 frederic.chauvin@lemel.fr. Ready for garbage collection.
11313 * Source/NSCalendarDate.m: Fix bug in decrementing date past start
11314 of month. Ready for garbage collection.
11315
11316 Wed May 26 18:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11317
11318 * Source/include/NSSerialization.h: include NSObject.h
11319 * Source/NSSerializer.m: Deserialization optimisation (15%)
11320 * Source/NSArray.m: write descriptions to cstrings.
11321 * Source/NSDictionary.m: write descriptions to cstrings.
11322 * Source/NSGCString.m: description optimisation (15%).
11323
11324 Wed May 26 12:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11325
11326 * Source/NSUnarchiver.m: Fixed libobjects compatibility methods to
11327 use decodeObject to get the name from the archive.
11328
11329 Sun May 23 20:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11330
11331 * Source/TcpPort.m: Fixed retain/release loop causing ports occasionally
11332 to be kept in existence when they should disappear.
11333
11334 Fri May 21 19:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11335
11336 * Source/include/NSObject.h: Added NSExtraRefCount()
11337 * Source/NSObject.m: Added NSExtraRefCount()
11338
11339 Fri May 21 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11340
11341 * Source/include/NSThread.h: Update notification names to MacOS-X
11342 with defines for OpenStep compatibility.
11343 * Source/NSThread.m: Update notification names to MacOS-X
11344 * Source/externs.m: Update thread notification names to MacOS-X
11345
11346 Fri May 21 16:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11347
11348 * Source/include/NSZone.h: Added NSZoneMallocAtomic() for Helge
11349 and in anticipation of adding garbage collection support some day.
11350
11351 Fri May 21 9:56:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11352
11353 * Source/include/NSObject.h: Bracket macro definitions with #ifndef
11354 in case they are already defined.
11355
11356 Thu May 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11357
11358 * Source/NSUserDefaults.m: Don't load defaults unless we need to.
11359 * Source/include/NSUserDefaults.h: Keep modification timestamp.
11360
11361 Thu May 20 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11362
11363 * Source/GSeq.h: Add support for comparison and search.
11364 * Source/NSString.m: Use comparison and search functions from GSeq.h
11365 * Source/NSGString.m: Use comparison and search functions from GSeq.h
11366 * Source/NSGCString.m: Use comparison and search functions from GSeq.h
11367 * Source/Makefile.postamble: Make all string files depend on GSeq.h
11368 * Source/NSRunLoop.m: Don't retain receiver of runloop watcher.
11369
11370 Wed May 19 21:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11371
11372 * Source/GSeq.h: New file to replace NSGSequence stuff
11373 * Source/NSString.m: Rewrite all methods using sequences.
11374 * Source/NSGString.m: Remove reference to NSGSequence.
11375 * Source/include/NSString.h: Remove unused method (_normalize).
11376 * Source/NSGSequence.m: Removed
11377 * Source/include/NSGSequence.h: Removed
11378
11379 Tue May 18 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11380
11381 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) check that
11382 run loop watcher objects exist in map before trying to use them.
11383
11384 Fri May 14 20:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11385
11386 * Tools/pldes.m: new tool to deserialise serialised property lists.
11387 * Tools/plser.m: new tool to serialise text property lists.
11388 * Tools/GNUmakefile: add pldes and plser
11389
11390 Mon May 11 15:00:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11391
11392 * Source/NSArray.m: getObjects: (id*)aBuffer range: (NSRange)aRange
11393 corrected bug in for: replace c by e
11394
11395 Tue May 11 10:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11396
11397 * Source/include/preface.h: Attempt to standardise win32 conditional
11398 compilation by using __WIN32__ throughout.
11399 * NSDate.m: Standardize win32 stuff using __WIN32__
11400 Open files with "rb" or "wb" only for winw3.
11401 * NSFileManager.m: Standardize win32 stuff using __WIN32__
11402 * NSHost.m: Standardize win32 stuff using __WIN32__
11403 * NSLog.m: Standardize win32 stuff using __WIN32__
11404 * NSProcessInfo.m: Standardize win32 stuff using __WIN32__
11405 * NSString.m: Standardize win32 stuff using __WIN32__
11406 * NSTask.m: Standardize win32 stuff using __WIN32__
11407 * NSThread.m: Standardize win32 stuff using __WIN32__
11408 * NSUser.m: Standardize win32 stuff using __WIN32__
11409 * NSUserDefaults.m: Standardize win32 stuff using __WIN32__
11410 * Time.m: Standardize win32 stuff using __WIN32__
11411 * UnixFileHandle.m: Standardize win32 stuff using __WIN32__
11412 * NSData.m: Standardize win32 stuff using __WIN32__
11413 * NSTimeZone.m: Standardize win32 stuff using __WIN32__
11414 Open files with "rb" or "wb" only for winw3.
11415
11416 Mon May 10 8:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11417
11418 * Source/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11419 optimised.
11420 * Source/NSGString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11421 implemented.
11422 * Source/NSGCString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11423 * Source/NSGSequence.m: various parts optimised.
11424 * Source/include/NSThread.h: add gcontext ivar.
11425
11426 Fri May 7 15:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11427
11428 * Source/NSBundle.m: Modified ([-release]) to avoid unnecessary work
11429 and to refrain from caching bundles unless they have loaded code
11430 (or are the main bundle or the gnustep bundle).
11431
11432 Thu May 6 21:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11433
11434 * Source/NSUnarchiver.m: Don't retain/release unless necessary.
11435 * Source/NSUserDefaults.m: ditto
11436 * Source/NSNotification.m: ditto
11437 * Source/NSFileManager.m: ditto
11438 * Source/NSBundle.m: ditto
11439 * Source/NSRunLoop.m: ditto
11440 * Source/NSAutoreleasePool.m: Bugfix in dealloc - would leave count
11441 of retained objects set high - caused deallocs of nil objects.
11442
11443 Thu May 6 17:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11444
11445 * Source/NSString.m: Minor optimisations - use ([-allocWithZone:])
11446 * Source/NSGCString.m: ditto
11447 * Source/NSGDictionary.m: ditto
11448 * Source/NSArray.m: ditto
11449 * Source/NSDictionary.m: ditto
11450 * Source/NSSet.m: ditto
11451 * Source/NSGCountedSet.m: ditto
11452 * Source/NSData.m: ditto
11453
11454 Thu May 6 13:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11455
11456 * Source/propList.h: new file
11457 * Source/NSString.m: include propList.h for property-list parsing.
11458 * Source/NSGString.m: ditto
11459 * Source/NSGCString.m: ditto
11460 * Source/NSTask.m: Minor fixes for win32
11461 * Source/NSLog.m: ditto
11462 * Source/NSProcessInfo.m: ditto
11463 * Source/NSFileManager.m: ditto
11464
11465 1999-04-28 Adam Fedor <fedor@gnu.org>
11466
11467 * Source/NSRunLoop.m (aSort): Redefine to take FastArrayItem as
11468 arguments.
11469 * Source/include/FastArray.x (FastArrayInsertionPosition):
11470 Fully specify sorter function for better type checking.
11471 (FastArrayCheckSort): Likewise.
11472
11473 1999-04-27 Adam Fedor <fedor@gnu.org>
11474
11475 * configure.in: Check for sys/mount.h for NSFileManager functions
11476 on FreeBSD
11477
11478 Fri Apr 23 23:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11479
11480 * Source/NSCalendarDate.m: Applied bugfixes by Jeremy Bettis
11481 <jeremy@hksys.com> to better cope with month ends.
11482
11483 Fri Apr 23 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11484
11485 * Source/NSBundle.m: Improved localisation - avoid possibility of
11486 recursion problems if an error occurs reading localisation info.
11487 * Source/NSDate.m: Added classes for distant past and distant future.
11488
11489 1999-04-22 Adam Fedor <fedor@gnu.org>
11490
11491 * configure.in: Don't abort if nested functions don't work. Not
11492 sure we even have any.
11493
11494 * Source/NSBundle.m (-localizedStringForKey:value:table:): Log a
11495 message if no localized key found (per OpenStep specs).
11496 * Source/include/NSBundle.h
11497 (NSLocalizedStringFromTableInFramework): New GNUstep specific
11498 macro.
11499
11500 * NSCharacterSets/GNUmakefile: Install in Resources rather than
11501 Resources/gnustep.
11502 * NSTimeZones/GNUmakefile: Likewise.
11503 * Source/NSCharacterSet.m: Look in new location.
11504 * Source/NSTimeZone.m: Likewise.
11505
11506 Thu Apr 22 21:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11507
11508 * Source/NSBundle.m: Improved localisation - added stuff for internal
11509 use by the GNUstep system.
11510 * Source/NSBundle.h: ditto.
11511 * Source/FastArray.x: Removed assertions for performance.
11512
11513 Thu Apr 22 11:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11514
11515 * Source/NSRunLoop.m: Optimisation and tidyup.
11516 * Source/NSTimer.m: Minor bugfixes.
11517 * Source/include/FastArray.x: Bugfix for array insertion.
11518 * Source/include/NSRunLoop.h: Remove limit ivar.
11519 * Source/include/NSTimer.h: Use NSDate again.
11520
11521 Wed Apr 21 20:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11522
11523 * Source/NSAttributedString.m: Tidied.
11524 * Source/Source/NSAutoreleasePool.m: Thread exit code added
11525 * Source/NSCalendarDate.m: Tidied
11526 * Source/NSConnection.m: ditto
11527 * Source/NSException.m: Tidied and added description
11528 * Source/NSRunLoop.m: Optimisation, bugfixes, and removal of cruft.
11529 * Source/NSThread.m: Clean up autorelease pools on exit.
11530 * Source/NSTimer.m: Optimise use in runloop.
11531 * Source/include/FastArray.x: Bugfix for sorted array.
11532 * Source/include/NSAutoreleasePool.h: Mod for threads.
11533 * Source/include/NSObject.h: More retain/release macros.
11534 * Source/include/NSRunLoop.h: Optimise limit date.
11535 * Source/include/NSTimer.h: Optimise use with run loop.
11536
11537 Tue Apr 20 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11538
11539 * Source/Makefile.postamble: NSRunLoop.m uses FastArray.x
11540 * Source/NSConnection.m: Tiny performance optimisation.
11541 * Source/NSDate.m: Minor fixes to class cluster.
11542 * Source/NSGDictionary.m: fixed typo.
11543 * Source/NSNotificationQueue.m: Optimised runloop interaction.
11544 * Source/NSRunLoop.m: Optimisaed notification queue interaction.
11545 * Source/NSTimer.m: Optimisation for run loop.
11546 * Source/NSUnarchiver.m: Fixed typo.
11547 * Source/include/FastArray.x: Support sorted insertion.
11548 * Source/include/NSDate.h: Tidied.
11549 * Source/include/NSNotificationQueue.h: Change runloop interface.
11550 * Source/include/NSTimer.h: Change runloop interface.
11551
11552 Mon Apr 19 14:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11553
11554 * Source/NSThread.m: Fast thread access (GSCurrentThread()) etc.
11555 * Source/NSAssertionHandler.m: Use fast thread access.
11556 * Source/NSConnection.m: Use fast thread access.
11557 * Source/NSException.m: Use fast thread access.
11558 * Source/NSNotificationQueue.m: Use fast thread access.
11559 * Source/NSRunLoop.m: Use fast thread access plus other optimisations.
11560 * Source/NSAutoreleasePool.m: Speed up thread access.
11561 * Source/NSDate.m: Rewrite as calss cluster - MacOS-X compatibility.
11562 * Source/NSCalendarDate.m: Modifications to work with NSDate.
11563 * Source/NSGDictionary.m: Minor tidyup.
11564 * Source/NSGSequence.m: Minor optimisation - really needs a rewrite.
11565 * Source/NSDebug.m: Added function to report all allocations.
11566
11567 Fri Apr 16 20:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11568
11569 * Source/include/NSGeometry.h: Don't pollute macro name space with
11570 MAX and MIN.
11571 * Source/include/NSRange.h: ditto
11572
11573 Thu Apr 15 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11574
11575 * Source/include/NSHost.h: Use #ifdefs to prevent multiple inclusion.
11576
11577 Thu Apr 15 9:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11578
11579 * Source/UnixFileHandle.m: ([-fileDescriptor]) return a valid file
11580 descriptor (for /dev/null) for the null device.
11581 * Source/NSTask.m: ([-launch]) Add code to reset signals in subprocess
11582 and to close all file descriptors (except stdin, stdout and stderr).
11583
11584 Wed Apr 14 14:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11585
11586 * Source/NSPortNameServer.m: Don't suspend thread while waiting for
11587 gdomap to start up.
11588 * Source/NSDistributedNotificationCenter.m: Don't suspend thread while
11589 waiting for gdnc to start up.
11590
11591 Wed Apr 14 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11592
11593 * Source/NSBundle: ([+allBundles]) implemented (ignoring the frameworks
11594 issue). Extra internal GNUstep specific methods provided -
11595 ([+_gnustep_target_cpu]), ([+_gnustep_target_dir])
11596 ([+_gnustep_target_os]), ([+_library_combo])
11597 So that we can easily determine wrapper path information.
11598 * Source/NSTaks: Preparation for garbage collecting.
11599 Major work on launching - now makes intelligent use of launch path.
11600 Tries various GNUstep directories - if unable to find executable
11601 that way, resorts to using the unix PATH environment variable.
11602 * Source/NSPortNameServer.m: Removed a couple of unix specific calls.
11603 * Source/NSDistributedNotificationCenter.m: Removed a couple of unix
11604 specific calls.
11605 * Tools/Makefile.postamble: Install gdnc in non-library specific dir.
11606
11607 Tue Apr 13 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11608
11609 * Source/NSBundle.m: Updated to use Info.plist if Info-gnustep.plist
11610 is not available. Also updated to look in alternative directories
11611 for the object file to load... If not in the machine/os/lib-combo
11612 subdirectory, tries the machine/os directory and then the top-level
11613 directory. Also updated to cope with the case where the NSExecutable
11614 entry of the Info.plist specifies a path rather than a simple file name.
11615 * Source/NSUser.m: Implemented NSFullUserName()
11616
11617 Mon Apr 12 13:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11618
11619 * Source/NSCountedSet.m: Make copying behavior be same as OPENSTEP
11620 * Source/NSSet.m: Fix memory scribbling bug in ([-initWithSet:])
11621 * Source/NSGSet.m: Tidied types in fast map.
11622 * Source/NSGArray.m: Minor optimisationin copy etc.
11623 * Source/NSGDictionary.m: Tidied types in fast map.
11624 * Source/NSSerializer.m: Tidied types in fast map and array.
11625 * Source/NSArchiver.m: Tidied types in fast map and array.
11626 * Source/NSUnarchiver.m: Tidied types in fast map and array.
11627 * Source/FastArray.x: Tidied, fixed init bug, movied to include
11628 * Source/FastMap.x: Tidied, moved to include
11629 * Source/NSZone.m: Dummy zone for use with GC.
11630 * Source/include/NSZone.h: Dummy zone for use with GC.
11631 * Source/include/GSUnion.h: Unions for use with Fast...
11632 * Source/include/FastArray.x: New from Source
11633 * Source/include/FastMap.x: New from Source
11634 * Source/GNUmakefile: Added FastArray.x, FastMap.x, GSUnion.h
11635 * Source/Makefile.postamble: Added FastArray.x FastMap.x GSUnion.h.
11636 * NSCharacterSets/GNUmakefile: List all new character set names.
11637
11638 Fri Apr 9 22:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11639
11640 * Source/NSGAttributedString.m: Final optimisation - remove almost all
11641 objc runtime overhead. Combined changes should result in a factor of
11642 2 to 10 speedup (depending on operation) over original code.
11643
11644 Fri Apr 9 16:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11645
11646 * Source/NSAttributedString.m: Implement tracking of changes to
11647 string returned by [-mutableString] method. Simplified initialisation.
11648 * Source/include/NSAttributedString.h: Updated.
11649 * Source/NSGAttributedString.m: Rewrite to get rid of all known
11650 problems and to boost performance hugely.
11651 * Source/include/NSGAttributedString.h: Updated.
11652 * Source/NSString.m: ([-_baseCount]) optimised.
11653 * Source/NSGString.m: ([-_baseCount]) optimised.
11654
11655 1999-04-09 Adam Fedor <fedor@gnu.org>
11656
11657 * NSCharacterSets: Updated sets to Version 2.1.8
11658 * Souce/NSCharacterSet.m: Updated to reflect new names of character
11659 sets.
11660
11661 1999-04-08 Adam Fedor <fedor@gnu.org>
11662
11663 * configure.in: Remove test for libobjc.a
11664
11665 Thu Apr 8 12:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11666
11667 * Source/NSArray.m: Make copying behavior consistent with OPENSTEP.
11668 * Source/NSDictionary.m: Make copying behavior consistent with OPENSTEP.
11669 * Source/NSSet.m: Make copying behavior consistent with OPENSTEP.
11670
11671 Wed Apr 7 12:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11672
11673 * Source/NSCharacterSet.m: Use punctuationCharSet.dat
11674
11675 1999-04-06 Adam Fedor <fedor@gnu.org>
11676
11677 * NSCharacterSets/punctuationCharSet.dat: New file
11678
11679 Mon 5 7:33:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11680
11681 * Source/NSRange.m: Moved most functions into header file, while
11682 including header to generate linkable versions.
11683 * Source/include/NSGeometry.h: Define MIN and MAX if required.
11684 * Source/include/NSRange.h: Define MIN and MAX if required and make
11685 most range functions a efficiency.
11686
11687 Thu Mar 11 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11688
11689 * Source/NSDebug.m: Added two new functions for logging messags.
11690 * Source/include/NSDebug.h: Added four new logging macros.
11691 * Source/NSBundle.m: Updated to use new NSDebugMLLog() macro.
11692
11693 Wed Mar 10 09:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11694
11695 * Source/FastMap.x: FastMapNodeForKey() - special case for empty map
11696 return 0 immediately. Fast for empty maps, marginally slower othrwise.
11697 * Source/NSProcessInfo.m: Removed [-debugArray], Added [-debugSet],
11698 Added GSDebugSet() function for rapid debug level testing.
11699 * Source/include/NSProcessInfo.h: Remove [-debugArray], Add [-debugSet]
11700 * Source/include/NSDebug.h: Rewrite NSDebugLog() and NSDebugLLog() to
11701 be much more efficient - now minimal performance impact.
11702
11703 1999-03-09 Adam Fedor <fedor@gnu.org>
11704
11705 * Source/include/NSObjCRuntime.h: Define some OpenStep cpp vars.
11706 * Source/include/NSException.h (NS_VALUERETURN): Fix.
11707
11708 Tue Mar 9 5:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11709
11710 * configure.in: Added tests for syslog
11711 * Source/include/config.h.in: Added definitions for syslog
11712 * Source/NSLog.m: Added locking for multi-thread serialisation and
11713 added syslog support when write to stderr fails.
11714
11715 1999-03-08 Adam Fedor <fedor@gnu.org>
11716
11717 * Merged dawn branch to main.
11718
11719 Wed Mar 3 5:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11720
11721 * Source/NSUser.m: Fixed a typo reported by twhite@rogers.wave.ca
11722 * Source/TcpPort.m: Fixed typos.
11723
11724 Tue Mar 2 15:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11725
11726 * Source/TcpPort.m: If the host has no IP address, try finding the
11727 address of 'localhost' and, if that fails, use 127.0.0.1
11728
11729 Tue Mar 2 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11730
11731 * NSTimeZones/Makefile.postamble: Updated to preserve old localtime
11732 * NSTimeZones.tar: Updated to use the latest available zone info.
11733
11734 Tue Mar 2 08:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11735
11736 * Merge in 'dawn' CVS branch.
11737
11738 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11739
11740 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11741 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11742 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11743 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11744 bug, and added slight performance improvement.
11745
11746 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11747
11748 Merged in alterations from main cvs branch made to wrong place 'cos
11749 dawn branch was already created :-(
11750 * Source/NSData.m: preserve file attributes when writing atomically
11751 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11752 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11753 doesn't mess up defaults database.
11754 * Source/NSFileManager.m: Create files with correct ownership when
11755 process is setuid to root - and provide facility for NSData to do same.
11756 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11757
11758 Sun Feb 21 19:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11759
11760 * Source/NSFileManager.m: Attempt to fix problems with directory
11761 enumeration.
11762
11763 Sat Feb 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11764
11765 * Source/NSUser.m: Added GSSetUserName() and rewrote NSUserName() to
11766 work consistently - use the LOGNAME environment variable as first
11767 choice of username.
11768 * Source/include/NSPathUtilities.h: Added GSSetUserName()
11769 * Source/NSUserDefaults.m: Added GNUstep specific method -
11770 ([+resetUserDefaults]) to reset the standard defaults in the event of
11771 a change os username. Also changed to create defaults withe correct
11772 ownership, and to create a defaults file containing a valid (empty)
11773 dictionary.
11774 * Source/include/NSUserDefaults.h: Added ([+resetUserDefaults])
11775 * Source/NSData.m: Try to preserve file ownership etc with
11776 ([-writeToFile:atomically:])
11777 * Source/NSFileManager.m: ([-changeFileAttributes:atPath:]) added
11778 code to handle owner and group names if owner and group IDs are not
11779 supplied. Also added code to ensure that programs running setuid to
11780 root create new files and directories with the ownership of their
11781 actual login user by default.
11782
11783 1999-02-19 Michael Hanni <mhanni@sprintmail.com
11784
11785 * Source/NSArray.m: Added @end for NSArrayEnumeratorReverse.
11786
11787 1999-03-08 Adam Fedor <fedor@gnu.org>
11788
11789 * Version 0.5.5 Released.
11790
11791 Tue Mar 2 17:04:51 1999 Adam Fedor <fedor@ultra.doc.com>
11792
11793 * Source/TcpPort.m ([GSTcpPort
11794 +portWithNumber:onHost:beforeDate:]): Fix typo in variable.
11795 Change include <sys/errno> to <errno> (Needed on solaris).
11796
11797 1999-03-01 Adam Fedor <fedor@gnu.org>
11798
11799 * Update documentation.
11800
11801 1999-02-28 Adam Fedor <fedor@gnu.org>
11802
11803 * Source/Makefile.postamble: Don't install services if not
11804 root. (patches submitted by Christopher Seawood
11805 <cls@seawood.org>).
11806
11807 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11808
11809 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11810 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11811 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11812 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11813 bug, and added slight performance improvement.
11814
11815 1999-02-22 Adam Fedor <fedor@gnu.org>
11816
11817 * Version: update version.
11818 * Source/NSProcessInfo.m: Change missing main message.
11819
11820 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11821
11822 Merged in alterations from main cvs branch made to wrong place 'cos
11823 dawn branch was already created :-(
11824 * Source/NSData.m: preserve file attributes when writing atomically
11825 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11826 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11827 doesn't mess up defaults database.
11828 * Source/NSFileManager.m: Create files with correct ownership when
11829 process is setuid to root - and provide facility for NSData to do same.
11830 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11831
11832 1999-02-19 Adam Fedor <fedor@gnu.org>
11833
11834 * Source/NSHost.m ([NSHost +currentHost]): Check for host not found.
11835 ([NSHost +hostWithName:]): Check for nil arg.
11836 ([NSHost +hostWithAddress:]): Likewise.
11837
11838 * Testing/release.m: Make array mutable.
11839 * Testing/fref.m: Switch to NSArchiver/NSUnarchiver
11840
11841 Wed Feb 17 8:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11842
11843 * Source/NSProcessInfo.m: Include process name in arguments list as
11844 in the OPENSTEP implementation - suggested by dirk@object-factory.com
11845 * Source/NSUserDefaults.m: Adjust for change to NSProcessInfo
11846 * Source/Tools/defaults.m: ditto
11847 * Source/Tools/dread.m: ditto.
11848 * Source/Tools/dwrite.m: ditto.
11849 * Source/Tools/dremove.m: ditto.
11850 * Source/Tools/plparse.m: ditto.
11851 * Source/Tools/sfparse.m: ditto.
11852
11853 Tue Feb 16 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11854
11855 * Source/NSArray.m: ([-removeObjectsFromIndices:]) rewrite to
11856 work according to spec.
11857 * Testing/nsarray.m: Fixed check on joining strings.
11858
11859 Mon Feb 15 06:14:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11860
11861 * Source/include/NSDebug.h: Declare strerror() if not known to system
11862 * Source/NSTask.m: Include NSDebug.h and don't declare errno.
11863
11864 Thu Feb 12 00:57:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11865
11866 * Source/include/NSString.h: declaration of categories:
11867 NSString (GSString)
11868 NSString(GSTrimming)
11869 NSMutableString (GSString)
11870 NSMutableString (GSTrimming)
11871 * Source/NSString.m: implementation of these categories
11872 * Source/include/NSObject.h: added ASSIGNCOPY
11873 Same as ASSIGN but copy the value
11874 * Source/include/NSURL.h: New class
11875 * Source/include/NSURLHandle.h: New class
11876 * Source/NSURL.m: New class [see the note in the file]
11877 * Source/NSURLHandle.m: New class [see the note in the file]
11878 * GNUMakefile: added NSURL.m and NSURLHandle.m
11879
11880 Fri Feb 12 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11881
11882 * Source/NSGeometry.m: Removed most functions - into header
11883 * Source/include/NSGeometry.h: Made most functions inline for speed.
11884 * Makefile.postamble: NSGeometry.o depends on NSGeometry.h
11885
11886 Thu Feb 11 19:25:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11887
11888 * Source/NSObjCRuntime.m: Fixed error in GSGetInstanceVariable name:
11889 GSGetIinstanceVariable transformed to GSGetInstanceVariable
11890
11891 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11892
11893 * Source/NSString.m: Fixed error in property-list parsing - was not
11894 taking into account octal and hexadecimal escape sequences.
11895
11896 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11897
11898 * Source/NSUserDefaults.m: ([-dealloc]) invalidate timer so we can't
11899 get sent a timeout message after d4eallocation - fixes occasional
11900 crashes when the defaults database has been unreadable.
11901
11902 Thu Feb 11 7:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11903
11904 * Source/NSConnection.m: Tidy up with bugfixes and better distributed
11905 retain/release for triangle connections.
11906 * Source/NSDistantObject.m: ditto
11907 * Source/TcpPort.m: ditto
11908 * Source/include/DistributedObjects.h: ditto
11909 * Source/include/NSConnection.h: ditto
11910 * Source/include/NSDistantObject.h: ditto
11911
11912 1999-02-09 Adam Fedor <fedor@gnu.org>
11913
11914 * Source/HashTable.m: Moved to extensions.
11915 * Source/List.m, Source/NXStringTable*, Source/Storage.m,
11916 Source/objc/HashTable.h, Source/objc/List.h,
11917 Source/objc/NXStringTable.h, Source/objc/Storage.h:
11918 Likewise.
11919
11920 Tue Feb 9 14:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11921
11922 * Source/NSProcessInfo.m: Fixed login in #if construct so things
11923 will link again.
11924
11925 1999-02-08 Adam Fedor <fedor@gnu.org>
11926
11927 * Source/include/fake-main.h: Leave off __ELF__, only use
11928 autoload of init method if SYS_AUTOLOAD.
11929 * Source/NSProcessInfo.m: Likewise.
11930
11931 Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11932
11933 * Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
11934 inline functions for integers with known sizes.
11935 * Source/NSData.m: Corrected serialization/deserialization routines to
11936 do byte-swapping using new functions.
11937 * Source/UnixFileHandle.m: Use new byte-swapping functions rather than
11938 htonl(), htons(), ntohl(), ntohs().
11939 * Source/NSUnarchiver.m: Use new byte-swapping functions.
11940
11941 1999-02-04 Adam Fedor <fedor@gnu.org>
11942
11943 * config/config.printf.c: New file.
11944 * configure.in: Test for broken register_printf function.
11945
11946 * Source/NSLog.m (_NSLog_standard_printf_handler): Use fputs to
11947 avoid possible double expansion of format chars.
11948
11949 1999-02-04 Matthias Klose <doko@cs.tu-berlin.de>
11950
11951 * Source/include/NSObject.h: eval value in ASSIGN macro only once.
11952
11953 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11954
11955 * Source/NSString.m: ([-dataUsingEncoding:allowLossyConversion:])
11956 Removed spurious trailing nul and other spurious code having no
11957 effect - formatted to be readable.
11958
11959 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11960
11961 Deleted all the old property-list and strings-file parsing stuff.
11962 * Source/NSBitmapCharSet.m: ([-formUnionWithCharacterSet]) corrected
11963 to use bitwise or rather than logical or.
11964 ([-formIntersectionWithCharacterSet:]) corrected to use bitwise and
11965 rather than logical and.
11966 * Source/NSString.m: Implemented handwritten parser code for
11967 ([-propertyList]) and ([-propertyListFromStringsFileFormat]) which
11968 supports unicode strings, is 64-bit clean, and raises exceptions
11969 as it should when given a badly formatted string to parse.
11970 This replaces the old lex/bison code (which did none of these things)
11971 and runs just as fast! Just hope that if there are any bugs they
11972 show up in time to fix for the 0.6 release.
11973 * Tools/GNUmakefile: Added plparse and sfparse.
11974 * Tools/plparse.m: New tool to parse a property-list and report errors.
11975 * Tools/sfparse.m: New tool to parse a strings-file and report errors.
11976
11977 Wed Feb 3 12:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11978
11979 * Source/FastArray.x: Don't use value returned by RETAIN macro.
11980 * Source/FastMap.x: Don't use value returned by RETAIN macros.
11981 * Source/NSGDictionary.m: Fix to assign values in RETAIN macros
11982 as suggested by mguesdon@sbuilders.com
11983
11984 Tue Feb 2 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11985
11986 * Source/NSZone.m: nrecycle() bugfix - was persisting after memory
11987 had actually been returned to system malloc.
11988
11989 Tue Feb 2 11:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11990
11991 * Source/mframe/alpha/linux-gnu: First 'real' port to alpha.
11992 * Source/mframe/alpha/generic: ditto
11993
11994 1999-02-01 Adam Fedor <fedor@gnu.org>
11995
11996 * Source/UnixFileHandle.m: Switch include of netinet/in.h.
11997 * Source/NSObject.m: Undef ALIGN before define'ing.
11998 * Source/NSZone.m: Likewise.
11999 * Source/mframe/configure.in: Recognize any version of freebsd or
12000 openbsd.
12001 * Source/mframe/i386/freebsd: New file, copy of generic.
12002 * Source/mframe/i386/openbsd: Likewise. (Bug
12003 reports from Michael Hanni <mhanni@sprintmail.com>).
12004
12005 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12006 Patch supplied by eric@skatter.usask.ca
12007 * Testing/nsscanner.m: Explicitly include NSString.h.
12008 Cleaned up autorelease pool handling.
12009 Fixed some printf arguments that didn't match their formats.
12010 Added tests for scanHexInt:.
12011 * Source/include/NSScanner.h:
12012 Add declarations for scanInt: and scanHexInt: methods.
12013 * Source/NSScanner.m Added scanHexInt: method.
12014 Cleaned up some comments.
12015 Added conditional compile to let scanDouble: accept numbers
12016 like 1.234eFoo (as 1.234). For now, numbers like this are rejected.
12017
12018 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12019
12020 * src/NSArray.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12021 * src/NSDictionary.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12022 * src/NSData.m: Tidied indentation and 64-bit clean serialization of
12023 strings, classes, and selectors.
12024
12025 Sat Jan 30 5:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12026
12027 Tidying up brain-damaged changes I made while ill.
12028 * src/NSConnection.m: Tidied proxy handling a bit
12029 * src/NSDistantObject.m: Tidied - made closer to OpenStep spec.
12030
12031 Fri Jan 29 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12032
12033 * src/NSArchiver.m: Implemented ([-encodeDataObject:])
12034 * src/NSUnarchiver.m: Implemented ([-decodeDataObject])
12035
12036 1999-01-28 Adam Fedor <fedor@gnu.org>
12037
12038 * GNUmakefile (SUBPROJECTS): Change directory names
12039 * configure.in: Update for new directories.
12040
12041 Thu Jan 28 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12042
12043 * src/include/NSObject.h: Preliminaries for addition of GC
12044 * src/include/NSZone.h: ditto
12045 * src/NSObject.m: ditto
12046 * src/NSZone.m: ditto
12047
12048 Thu Jan 28 11:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12049
12050 * src/include/GSConfig.h.in: Added gsaddr type - integer with same
12051 size as a pointer.
12052 * configure.in: Added gsaddr type and fixed a coiuple of typos.
12053 * src/NSUnarchiver.m: include NSByteOrder.h
12054
12055 Thu Jan 28 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12056
12057 * src/Makefile.postamble: Tidied distclean stuff - suggested by
12058 jagapen@whitewater.chem.wisc.edu
12059
12060 Wed Jan 27 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12061
12062 * configure.n: More type-size stuff
12063 * src/include/GSConfig.h.in: More type-size stuff
12064 * src/include/NSData.h: Changed GNUstep extensions and added constants
12065 for coder support.
12066 * src/include/NSArchiver.h: Changes for handling systems with differing
12067 type sizes.
12068 * src/include/NSByteOrder.h: Changes and additions for handling systems
12069 with differing type sizes.
12070 * src/NSData.m: Changed GNUstep extensions for coder support in order
12071 to make handling of type-size information easier.
12072 * src/NSArchiver.m: Encode type-size info and write more efficiently.
12073 * src/NSUnarchiver.m: Decode type-size info.
12074 * src/UnixFileHanlde.m: Use localhost if given no host for connect.
12075
12076 Tue Jan 26 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12077
12078 * configure.in: More stuff for type-size info
12079 * src/include/GSConfig.h.in: More stuff for type-size info.
12080 * src/FastArray.x: Allow types with fixed sizes in array.
12081 * src/FastMap.x: Allow types with fixed sizes in map.
12082
12083 Tue Jan 26 8:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12084
12085 * src/NSThread.m: ([-sleepUntilDate:]) cast argument of usleep() to
12086 be integer rather than float - suggested by stark@easynet.fr
12087
12088 Sun Jan 24 8:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12089
12090 * src/NSConnection.m: Preliminary work for handling DO between
12091 machines wiuth different pointer sizes.
12092 * src/NSDistantObject.m: ditto
12093 * src/include/NSConnection.h: ditto
12094 * src/include/NSDistantObject.h: ditto
12095 * src/include/DistributedObjects.h: ditto
12096
12097 Tue Jan 19 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12098
12099 * src/NSUserDefaults.m: Fixed to update periodically from disk and
12100 to post notifications if the on-disk copy has changed.
12101 * src/include/NSUserDefaults.m: Changed vtimer info for update.
12102
12103 Fri Jan 15 10:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12104
12105 * src/NSObjCRuntime.m: Added GSGetInstanceVariable() and
12106 GSSetInstanceVariable() methods - extensions to gnustep.
12107 * src/NSObjCRuntime.h: ditto
12108
12109 Tue Jan 12 4:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12110
12111 * src/NSProcessInfo.m: Fix for GNU/Linux-powerpc (__PPC__) to get
12112 class initialised with argument info.
12113 * src/include/fake-main.h: ditto
12114
12115 Mon Jan 11 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12116
12117 Fixes for bugs reported by Benhur-de-Oliveira.Stein@imag.fr
12118 * src/NSDictionary.m: ([-initWithObjectsAndKeys:]) fixed test for nil.
12119 * src/NSSet.m: Added makeObjectsPerformSelector methods.
12120 * src/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:]) find
12121 range from before the index if necessary.
12122 * Tidied allocation methods in NSArray.m NSDictionary.m
12123
12124 Sat Jan 8 6:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12125
12126 * src/NSPortNameServer.m: Raise exception on failure to register name.
12127
12128 Fri Jan 8 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12129
12130 * src/NSObject.m: Cache a few more classes.
12131 * src/include/fast.x: Add a few more classes to cache.
12132 * checks/benchmark.m: Benchmark classname lookup overhead.
12133 * src/Makefile.postamble: Improve dependencies.
12134
12135 Wed Jan 6 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12136
12137 * src/UnixFileHandle.m: Fixed error in last change to ([-closeFile])
12138 which could fail to remove descriptors from runloop properly.
12139
12140 Wed Jan 6 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12141
12142 * mframe/alpha/linux-gnu: First rough attempt at making a config
12143 file for the DEC alpha.
12144 * mframe/alpha/gneric: ditto.
12145
12146 Tue Jan 5 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12147
12148 * configure.in: New stuff for making byte-order and type-size
12149 information available in GSConfig.h
12150 * src/NSTask.m: Set process group for child process and preliminary
12151 code for keeping track of active child tasks and handlign sigchld.
12152 * src/UnixFileHandle.m: Modified ([-closeFile]) to send notifications
12153 if there are any asynchronous operations in progress.
12154 * src/include/Foundation.h: include GSConfig.h
12155 * src/include/NSObject.h: include GSConfig.h
12156 * src/include/NSByteOrder.h: Use GS_WORDS_BIGENDIAN from GSConfig.h
12157 * src/include/GSConfig.h.in: Add typedefs for types with known size.
12158 * src/include/config.h.in: Added HAVE_SETPGID and HAVE_SETPGRP
12159
12160 Tue Jan 5 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12161
12162 * src/NSTask.m: Workaround for bug in linux waitpid(), general
12163 tidying, clean up descriptors in child process.
12164 * src/NSString.m: ([-dataUsingEncoding:]) fixed memory leak.
12165
12166 Mon Jan 4 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12167
12168 * src/NSInvocation.m: Fix for machines that pass structures by ref.
12169 * mframe/powerpc/linux-gnu: Machine definition added for powerpc.
12170
12171 Mon Jan 4 9:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12172
12173 * src/o_vscanf.c: Don't make local copy of va_list parameter by
12174 assignment - doesn't work on machines where a va_list is an array.
12175
12176 Sat Jan 2 12:48:51 1999 Adam Fedor <fedor@ultra.doc.com>
12177
12178 * configure.in: Configure subdir src/mframe properly using
12179 AC_CONFIG_SUBDIRS
12180
12181 Sat Dec 26 8:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12182
12183 * src/NSString.m: Make compare with range of length zero always return
12184 NSOrderedSame
12185
12186 Sat Dec 19 01:26:06 1998 Matthias Klose <doko@cs.tu-berlin.de>
12187
12188 * NSCharacterSets/Makefile.postamble: Use macro MKDIRS.
12189 * NSTimeZones/Makefile.postamble: likewise
12190 * src/Makefile.postamble: likewise
12191
12192 Sat Dec 19 10:45:58 1998 Adam Fedor <fedor@ultra.doc.com>
12193
12194 * src/mframe/configure.in: Test for empty subdir (patch from
12195 Matthias Klose <doko@cs.tu-berlin.de>).
12196
12197 Fri Dec 18 14:39:46 1998 Matthias Klose <doko@cs.tu-berlin.de>
12198
12199 * */*: include <base/*.h> instead of <gnustep/base/*.h>.
12200 * src/Makefile.postamble: reflect this change in srcdir-include.
12201
12202 Fri Dec 18 18:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12203
12204 Foundation.h: Added NSPathUtilities.h
12205 NSObject.h: Added GNUstep specific methods for describing a
12206 property-list to a stream.
12207 NSDate.h: Moved natural language methods to right place.
12208 NSObject.m: Added GNUstep specific extensions for describing a
12209 property-list to a stream, updated -description to spec.
12210 NSProxy.m: Tidied format and description method.
12211 NSArray.m: Added GNUstep specific extensions for describing a
12212 property-list to a stream.
12213 NSDictionary.m: ditto
12214 NSAttributedString.m: Tidied ([-replacementObjectForPortCoder:])
12215 NSGAttributedString.m: ditto
12216 NSGCString.m: ditto
12217 NSGString.m: ditto
12218 NSString.m: ditto
12219 NSConcreteNumber.m: Added ([-replacementObjectForPortCoder:])
12220 NSCoder.m: Cope nicely with encode/decode of nil property-list.
12221
12222 Thu Dec 17 16:12:18 1998 Matthias Klose <doko@cs.tu-berlin.de>
12223
12224 * {,*}/GNUmakefile: Include Version and GNUmakefile.local where
12225 missing.
12226 * configure: Add links to GNUmakefile.local
12227
12228 Thu Dec 17 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12229
12230 NSCoder.m: ([-decodePropertyList:]) bugfix - use NSDeserializer
12231
12232 Thu Dec 17 9:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12233
12234 NSCalendarDate.m: Try to cope gracefully when locale info is not
12235 available and we want to display a date. Use numeric month and
12236 week designations and hard-code am/pm
12237 NSUser.m: include NSProcessInfo.h
12238
12239 Wed Dec 16 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12240
12241 Various modifications suggested by <mguesdon@sbuilders.com> and
12242 <jagapen@whitewater.chem.wisc.edu>. All untested.
12243 src/include/Port.h: ([+newForReceivingFromRegisteredName:fromPort:])
12244 Additional method for DO through firewalls.
12245 src/include/NSConnection.h: Addittional method for DO through firewall
12246 ([+newRegisteringAtName:atPort:withRootObject:])
12247 Additional method for DO through firewalls.
12248 src/NSTask.h: Updated to MacOS-X spec - accepts NSPipes.
12249 src/TcpPort.m: ([+newForReceivingFromRegisteredName:fromPort:])
12250 Additional method for DO through firewalls. Removed obsolete name
12251 server code.
12252 src/NSConnection.m: Addittional method for DO through firewall
12253 ([+newRegisteringAtName:atPort:withRootObject:])
12254 src/NSTask.m: Updated to MacOS-X spec - accepts NSPipes.
12255
12256 Tue Dec 15 13:25:10 1998 Adam Fedor <fedor@doc.com>
12257
12258 * src/NSUser.m (NSFullUserName): New function (not implemented).
12259 (NSStandardApplicationPaths): Likewise.
12260 (NSStandardLibraryPaths): Likewise.
12261 (NSTemporaryDirectory): New function (implemented).
12262 (NSOpenStepRootDirectory): Likewise.
12263 * src/include/NSPathUtilities.h: Defined new functions.
12264 * src/include/NSUserDefaults.h: Removed duplicate definitions.
12265
12266 Mon Dec 14 6:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12267
12268 * src/GNUmakefile: Put mframe.h in a machine/os specific directory.
12269 * src/Makefile.postamble: Install mframe.h in machine/os specific dir
12270 * src/NSConnection.m: include mframe.h form new location.
12271 * src/NSInvocation.m: ditto
12272 * src/NSMethodSignature.m: ditto
12273 * src/NSObjCRuntime.m: ditto
12274 * src/NSSerializer.m: ditto
12275 * src/mframe.m: ditto
12276
12277 Sat Dec 12 21:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12278
12279 src/NSUserDefaults.m: ([+standardUserDefaults]) set flag to avoid
12280 infinite recursion on initialisation. Error reported by
12281 Matthias Klose <doko@cs.tu-berlin.de>
12282
12283 Sat Dec 12 17:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12284
12285 * src/include/GSConfig.h.in: Added new file for machine/os specific
12286 info that is relevent to things outside the base library.
12287 * configure.in: Build GSConfig.h
12288 * configure: Build GSConfig.h
12289 * src/GNUmakefile: Move GSConfig.h into place
12290 * src/Makefile.postamble: Install GSConfig.h
12291 * src/include/NSByteOrder.h: include GSConfig.h
12292
12293 Sat Dec 12 15:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12294
12295 * Tools/Makefile.postamble: Added check that you are installing gdomap
12296 as root and output warnign if not.
12297
12298 Mon Dec 7 10:00:34 1998 Adam Fedor <fedor@ultra.doc.com>
12299
12300 * src/NSConcreteNumber.m ([NumberTemplate
12301 -descriptionWithLocale:]): Print BOOL value as a special case.
12302
12303 * src/NSProcessInfo.m: Use fake-main if FreeBSD.
12304 * src/include/fake-main.h: Likewise.
12305
12306 Sun Dec 6 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12307
12308 * src/NSDate.m: removed +initialize - moved default locale info to
12309 NSUserDefaults.
12310 * src/NSUserDefaults.m: Added code to set up default locale info.
12311
12312 Thu Dec 3 16:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12313
12314 * src/NSDictionary.m: Removed filesystem methods - conflict with
12315 versions in NSFileManger.
12316 * src/include/NSDictionary.h: Ditto
12317 * src/NSFileManager.m: Updated dictionary access methods to MacOS spec
12318 * src/include/NSFileManager.h: Ditto.
12319 * src/include/NSUserDefaults.h: Made constant strings 'const'.
12320 * src/include/externs.m: Made constant strings 'const'.
12321
12322 Thu Dec 3 11:00:46 1998 Adam Fedor <fedor@ultra.doc.com>
12323
12324 * aclocal.m4: Add OBJC_CON_AUTOLOAD and OBJC_SYS_AUTOLOAD
12325 requirements to OBJC_SYS_DYNAMIC_LINKER test.
12326
12327 Wed Dec 2 16:11:05 1998 Adam Fedor <fedor@ultra.doc.com>
12328
12329 * src/NSDictionary.m (-fileGroupOwnerAccountName): New method.
12330 (-fileModificationDate): Likewise.
12331 (fileOwnerAccountName): Likewise.
12332 (filePosixPermissions): Likewise.
12333 (fileSize): Likewise.
12334 (fileSystemFileNumber): Likewise.
12335 (fileSystemNumber): Likewise.
12336 (fileType): Likewise.
12337 * src/include/NSDictionary.h: New methods. Contributed by Camile
12338 TROILLARD <tuscland@wanadoo.fr>.
12339
12340 Wed Dec 2 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12341
12342 * src/GNUmakefile: Added NSDateFormatter
12343 * src/Makefile.postamle: Bugfix in installation - was adding service
12344 entries when not needed.
12345 * src/NSDate.m: Added natural language support.
12346 * src/NSDateFormatter.m: Implemented this class.
12347 * src/externs.m: Added natural language support.
12348 * src/include/Foundation.h: Added missing headers.
12349 * src/include/NSDate.h: Added natural language stuff.
12350 * src/include/NSDateFormatter.h: Contributed by Camile TROILLARD
12351 <tuscland@wanadoo.fr> and updated to match implementation.
12352 * src/include/NSDecimalNumber.h: Added header (contributed by Camile) -
12353 no implementation yet.
12354 * src/include/NSDecimal.h: Added header - no implementation yet.
12355 * src/include/NSUserDefaults.h: Added natural language stuff.
12356
12357 Tue Dec 1 09:31:59 1998 Adam Fedor <fedor@ultra.doc.com>
12358
12359 * src/Makefile.postamble: new variable INSTALL_ROOT_DIR, such that
12360 /etc/services can be installed somewhere (need this for building
12361 Debian binary packages). Patch from Matthias Klose
12362 <doko@cs.tu-berlin.de>.
12363
12364 Mon Nov 30 10:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12365
12366 * src/NSTask: Minor bugfix -ignore SIGCHLD
12367 * src/NSUserDefaults: bugfix in registerDefaults: was replacing rather
12368 than addning defaults. Also changed to cache dictionaryRepresaentation.
12369 * src/include/NSUserDefaults.h: Added ivar to cache dictionary
12370 representation.
12371 * src/include/NSDate.h: Updated header for a couple of fixes.
12372 * src/NSDate.m: Initialise locale stuff.
12373 * src/NSCalendarDate.m: Use locale stuff.
12374
12375 Fri Nov 27 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12376
12377 * src/NSPortNameServer.m: ([_open]) changed to stop attempts to restart
12378 the name server when a connect to ANOTHER host fails. Also improved
12379 log messages to identify the host we failed to connect to. Also
12380 added support for overriding the default port fo the name server.
12381 * Tools/gdomap.h: updated comments to talk about NSPortNameServer.m
12382
12383 Fri Nov 27 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12384
12385 * src/NSObjCRuntime.m: minor performance improvment.
12386 * src/NSUnarchiver.m: more performance improvements.
12387 * src/NSObject.m: Fix error introduced in last mod.
12388
12389 Thu Nov 26 13:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12390
12391 * src/NSObject.m: ([+instanceRespondToSelector:]) and
12392 ([-respondsToSelector:]) changed to use __objc_responds_to() for an
12393 order of magnitude performance boost.
12394
12395 Thu Nov 26 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12396
12397 * src/NSRunLoop.m: Bugfix in ([-addEvent:type:watcher:forMode:]) to get
12398 the count of numbers of time a watcher has added a descriptor correct.
12399
12400 Wed Nov 25 16:27:52 1998 Adam Fedor <fedor@ultra.doc.com>
12401
12402 * src/include/fast.x: Add #ifndef/#define around file.
12403
12404 Wed Nov 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12405
12406 * src/NSPortNameServer.m: Made more tolerant of badly set up systems.
12407 * src/Makefile.postamble: Modified to make rule for placing gdomap in
12408 /etc/services more portable.
12409
12410 Tue Nov 24 4:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12411
12412 * src/Tools/GNUmakefile: removed make_services
12413 * src/Tools/make_services.m: Removed - moved to gui library.
12414 * src/NSBundle.m: Changed Info.plist to Info-gnustep.plist since
12415 that's what GNUstep uses instead.
12416
12417 Fri Nov 20 20:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12418
12419 * src/Makefile.postamble: Added dependencies for FastArray.x and added
12420 simple stuff to append gdomap port entries to /etc/services after
12421 install (if not already present).
12422
12423 Fri Nov 20 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12424
12425 * src/NSSerializer.m: Added GNUstep specific methods for controlling
12426 format to optimise serialisation for property lists containing
12427 repeated strings.
12428 * src/include/NSSerializer.h: ditto
12429 * src/FastArray.x: inline implementation of fast array code for stuff
12430 that doesn't need to be retained etc. Minimal functionality so far.
12431 * src/Fastmap.x: Tidied indentation etc.
12432 * src/include/NSArchiver.h: Use FastArray
12433 * src/NSUnarchiver.m: Use FastArray
12434 * src/NSAutorleasePool.m: Optimize implementation of +new
12435 * src/NSArray.m: Use ([NSAutoreleasePool +new])
12436 * src/NSDictionary.m: Use ([NSAutoreleasePool +new])
12437 * src/NSFileManager.m: Use ([NSAutoreleasePool +new])
12438 * src/NSPort.m: Use ([NSAutoreleasePool +new])
12439
12440 Thu Nov 19 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12441 * src/Archiver.m: Got rid of 'assert' - replace with 'NSAssert' etc.
12442 * src/BinaryTree.m: ditto
12443 * src/Coder.m: ditto
12444 * src/Collection.m: ditto
12445 * src/ConnectedCoder.m: ditto
12446 * src/Invocation.m: ditto
12447 * src/LinkedList.m: ditto
12448 * src/MachPort.m: ditto
12449 * src/NSAutoreleasePool.m: ditto
12450 * src/NSBundle.m: ditto
12451 * src/NSConnection.m: ditto
12452 * src/NSCountedSet.m: ditto
12453 * src/NSDate.m: ditto
12454 * src/NSDistantObject.m: ditto
12455 * src/NSGArchiver.m: ditto
12456 * src/NSGSequence.m: ditto
12457 * src/NSObject.m: ditto
12458 * src/NSPortCoder.m: ditto
12459 * src/NSRunLoop.m: ditto
12460 * src/NSSet.m: ditto
12461 * src/NSTimer.m: ditto
12462 * src/NSZone.m: ditto
12463 * src/NotificationDispatcher.m: ditto
12464 * src/OrderedCollection.m: ditto
12465 * src/Port.m: ditto
12466 * src/Random.m: ditto
12467 * src/Storage.m: ditto
12468 * src/TcpPort.m: ditto
12469 * src/UdpPort.m: ditto
12470 * src/behavior.m: ditto
12471 * src/mframe.m: ditto
12472
12473 Thu Nov 19 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12474
12475 * src/include/NSSerializer.h: Removed erroneous protocol conformance
12476 for NSSerializer and NSDeserializer.
12477 * src/NSSerializer.m: Complete rewrite - full OpenStep compatibility
12478 and huge speed increase.
12479 * doc/todo.tmpl.texi: Update todo list.
12480 * checks/benchmark.m: Added benchmarks for serializing/deserializing
12481 property lists and archiving/unarchiving them.
12482 * src/NSString.m: Fix bug returning arrya in completePathIntoString
12483
12484 Thu Nov 19 12:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12485
12486 * src/NSData.m: ([-encodeWithCoder:]) bugfix for case where data object
12487 is of length zero.
12488
12489 Wed Nov 18 9:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12490
12491 * Tools/make_services.m: New tool
12492 * Tools/GNUmakefile: Added make_services
12493 * Tools/Makefile.postamble: Tidied installation for gdnc
12494 * src/NSDistributedNotificationCenter.m: Start server with full path.
12495
12496 Mon Nov 16 14:29:35 1998 Adam Fedor <fedor@ultra.doc.com>
12497
12498 * src/NSBundle.m [+allBundles]: New method (unimplemented).
12499 [+allFrameworks]: Likewise.
12500 * src/NSCharacterSet.m [+punctuationCharacterSet]: Likewise.
12501 * src/NSLock.m [-lockBeforeDate:]: Likewise.
12502 [-lockWhenCondition:beforeDate:]: Likewise.
12503 * src/NSConnection.m: Likewise.
12504 * src/include/NSBundle.h: New methods;
12505 * src/include/NSCharacterSet.h: Likewise.
12506 * src/include/NSLock.h: Likewise.
12507 * src/include/NSConnection.h: Likewise (fixes from TROILLARD
12508 Camille <tuscland@wanadoo.fr>).
12509
12510 * src/include/fast.x: Fix /* in comment.
12511
12512 Thu Nov 12 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12513
12514 src/NSFormatter.m: New class
12515 src/include/NSFormatter.h: New class
12516 src/NSRunLoop.m: Misc optimisations
12517 src/NSGString.m: slight ([-cString]) optimisation.
12518 src/NSGCString.m: slight ([-cString]) optimisation.
12519 src/NSObject.m: fast allocation of temporary memory.
12520 src/include/fast.x: fast allocation of temporary memory.
12521
12522 Tue Nov 10 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12523
12524 * src/NSScanner.m: ([-scanString:intoString:]) bugfix to check length
12525 of the string we are looking for and simply return NO if it is longer
12526 than the data remaining in the string being scanned. Previously it
12527 would have raised an exception - which it shouldn't.
12528
12529 Mon Nov 9 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12530
12531 * src/externs.m: corrected notification name for user defaults.
12532 * src/NSUserDefaults.m: corrected notification name.
12533 * src/include/NSUserDefaults.h: corrected notification name.
12534
12535 Mon Nov 9 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12536
12537 * src/externs.m: fixed error in hashtable constants.
12538 * src/NSDistributedNotificationCenter.m: pugfix in check for
12539 posting of notification. Changed to pass selectors as strings.
12540 * Tools/gdnc.h: Pass selectors as strings. make posting oneway
12541 * Tools/gdnc.m: Pass selectors as strings, plus many bugfixes.
12542
12543 Mon Nov 2 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12544
12545 Tidied header files for NO_GNUSTEP/STRICT_OPENSTEP stuff.
12546 * src/NSDistributedNotificationCenter.m: New class (untested)
12547 * src/include/NSDistributedNotificationCenter.m: New class
12548 * src/GNUmakefile: Added NSDistributedNotificationCenter
12549 * src/Tools/gdnc.m: Server for distributed notifications (untested)
12550 * src/Tools/gdnc.h: Include for distributed notifications
12551 * src/Tools/GNUmakefile: Added gdnc
12552
12553 Fri Oct 30 09:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12554
12555 * src/include/NSPortNameServer.h: Added ([-removePort:]) method in a
12556 GNUstep catagory so that ports can unregister all their names at one
12557 go. Added maps of names and ports to keep track.
12558 * src/include/Port.h: removed [-invalidate] - inherit from NSPort
12559 * src/Port.m: removed [-invalidate] - inherit from NSPort
12560 * src/NSPort.m: made [-invalidate] method remove all the ports names
12561 from the name server and send the invalidation notification.
12562 * src/NSPortNameServer.m: Keep track of name/port mappings and, the
12563 first time a name is registered for a port, tell gdomap to remove
12564 any pre-existing names for that port (left around from a crashed
12565 server perhaps).
12566
12567 Thu Oct 29 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12568
12569 * src/UnixFileHandle.m: Improved handling of error conditions on
12570 background connection operations. Disable SIGPIPE to avoid abort
12571 when we attempt to write to a socket that's closed by the other end.
12572 * src/TCPPort.m: Modified to use NSPortNameServer, also changed to
12573 disable SIGPIPE on initialisation only, not on every write.
12574 * src/include/NSPortNameServer.h: new class.
12575 * src/NSPortNameServer.m: new class.
12576 * src/GNUmakefile: Added NSPortNameServer.
12577
12578 Wed Oct 28 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12579
12580 * Tools/gdomap.c: Added command-line options to lookup, register, and
12581 unregister a name for a port - basically for debugging purposes.
12582 * src/TcpPort.m: Modified port registration code to cope with the
12583 case where a server dies and is restarted, and tries to use the
12584 same ip port number it has before it died.
12585 * checks/nsinvocation.m: Added archiving checks.
12586 * src/NSInvocation.m: Archiver bugfixes
12587 * src/include/NSInvocation.h: Archiver bugfixes
12588 * src/NSData.m: Serialisation bugfixes
12589 * src/NSArchiver.m: Archiver bugfixes
12590 * src/NSUnarchiver.m: Archiver bugfixes
12591
12592 Tue Oct 27 08:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12593
12594 Corrected all the collection classes to return the count of objects
12595 in the collection as the ([-hash]) in conformance with the latest
12596 documentation.
12597
12598 Mon Oct 26 10:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12599
12600 * src/NSGCString.m: Implemented ([-copy]) and ([-copyWithZone:]) to
12601 work without invoking any methods uing the runtime - much faster.
12602 * src/NSObject.m: Bugfix and performance improvement to the -perform...
12603 methods. They previously threw an exception if the method referred
12604 to by the selector was not implemented (when they should have tried
12605 forwarding instead) rather than when passed a nul selector.
12606
12607 Sun Oct 25 08:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12608
12609 * src/NSObject.m: Cache implementation for adding object to autorelease
12610 pool to avoid objc runtime messaging overhead.
12611 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12612 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12613 autorelease pool to avoid objc runtime messaging overhead.
12614 * src/NSGCString.m: Implemented ([+allocWithZone:])
12615 * src/NSGString.m: Implemented ([+allocWithZone:])
12616
12617 Sat Oct 24 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12618
12619 * src/NSArchiver.m: New implementation
12620 * src/NSArchiver.m: New file
12621 * src/GNUmakefile: Added NSUnarchiver.m
12622 * src/include/NSArchiver.h: New version
12623 New Archiver/unarchiver - OPENSTEP complient (I think).
12624 Basic functionality tested fairly thoroughly, some of the more
12625 unusual bits untested so far. Mechanisms for adding other backends
12626 in place, but untested. Performance may be around four times that
12627 of the old version though there is still a little (very little)
12628 room for improvement.
12629
12630 Thu Oct 22 21:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12631
12632 * src/NSData.m: Added support for serialisation of Class and SEL types
12633 and made a more efficient version of the main deserialisation code
12634 in the NSDataStatic class.
12635
12636 Wed Oct 21 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12637
12638 * src/NSData.m: Reorganized and optimised.
12639 * src/NSGArray.m: optimised coding/decoding
12640 * src/NSGCountedSet.m: optimised coding/decoding
12641 * src/NSGDictionary.m: optimised coding/decoding
12642 * src/NSGSet.m: optimised coding/decoding
12643 * src/NSObject.m: cache data classes
12644 * src/NSString.m: Added (nonstandard) ([-boolValue]) method
12645 * src/include/NSData.h: Added ([-relinquishAllocatedBytesFromZone:])
12646 * src/include/NSString.h: Added (nonstandard) ([-boolValue]) method
12647 * src/include/NSPortMessage.h: Added (as yet unused) class.
12648 * src/NSPortMessage.m: Added (as yet unused) skeleton implementation.
12649
12650 Thu Oct 17 08:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12651
12652 * src/NSGDictionary.m: Added checks for invalid parameters.
12653 * src/NSGSet.m: Added checks for invalid parameters.
12654 * src/NSGCountedSet.m: Added checks for invalid parameters.
12655
12656 Thu Oct 15 08:13:12 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12657
12658 * src/NSString.m ([NSString
12659 -completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:]):
12660 Implement.
12661
12662 Thu Oct 15 06:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12663
12664 * src/BinaryCStream.m: Update system version number
12665 * src/NSCalendarDate.m: Implemented ([-copyWithZone:])
12666 * src/NSCountedSet.m: Rewrite ([-copyWithZone:])
12667 * src/include/NSData.h: Added GNUstep specific method for more
12668 efficient zone use.
12669 * src/NSData.m: Modified throughout to use NSZone functions for
12670 managing content memory.
12671 * src/NSGArray.m: Modified to use NSZone functions for managing
12672 content memory. Also tidied coding methods.
12673 * src/include/NSGCString.h: Modified to use NSZone for contents.
12674 * src/NSGCString.m: Modified to use NSZone for contents and fixed
12675 bug in coding (couldn't cope with embedded nuls in string).
12676 * src/NSGDictionary.m: Modified to use NSZone for contents.
12677 * src/include/NSGString.h: Modified to use NSZone for contents.
12678 * src/NSGString.m: Modified to use NSZone for contents.
12679 * src/NSObject.m: Added fastZone() function.
12680 * src/PortCoder.m: Updated system version number
12681 * src/include/NSSet.h: Added ([+setWithSet:])
12682 * src/NSSet.m: Added ([+setWithSet:]) and fixed ([-copyWithZone:])
12683 * src/include/NSString.h: Added GNUstep specific methods for faster
12684 use of zones.
12685 * src/NSString.m: Modified to use NSZone functions for contents.
12686 * src/include/NSZone.h: Removed non-existent methods and changed
12687 structure layout to support NSZoneFromPointer()
12688 * src/NSZone.m: Rewrite to support NSZoneFromPointer(),
12689 NSRecycleZone() and fix a couple of bugs. Needs more work to
12690 make simpler and more efficient.
12691 * src/include/fast.x: Added fastZone()
12692
12693 Wed Oct 14 11:29:11 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12694
12695 * src/NSString.m ([NSString -stringByResolvingSymlinksInPath]):
12696 Implement.
12697
12698 Wed Oct 14 10:27:47 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12699
12700 * src/NSString.m ([NSString +pathWithComponents:]):
12701 Use the first object of components as the base path string
12702 instead of null string([NSString string]).
12703
12704 Tue Oct 13 09:24:17 1998 Adam Fedor <fedor@doc.com>
12705
12706 * src/include/NSNotification.h: Addd placeholder in
12707 NSNotificationCenter for size of NotificationDispatcher.
12708
12709 The Oct 8 15:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12710
12711 * src/FastMap.x: Minor bugfixes and updates.
12712 * src/NSArray.m: Optimisation - don't use malloc unless really needed.
12713 * src/NSCountedSet.m: Tidied
12714 * src/NSSet.m: Tidied - core/non-core separation made.
12715 * src/NSGArray.m: Rewrite - simpler and faster.
12716 * src/NSGCountedSet.m: Rewrite to use FastMap (and work).
12717 * src/NSGDictionary.m: Tidied initialisation.
12718 * src/NSGSet.m: Rewrite to use FastMap - much faster.
12719 * src/include/NSSet.h: tidied - core/non-core stuff.
12720
12721 Tue Oct 6 16:35:48 1998 Adam Fedor <fedor@doc.com>
12722
12723 * aclocal.m4: Add win32 test
12724 * configure.in: Use DYNAMIC_LINKER test.
12725 * src/GNUmakefile: Add win32-load.h
12726 * src/win32-load.h: New file.
12727
12728 Tue Oct 6 16:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12729
12730 * src/FastMap.x: New map table for dictionaries.
12731 * src/include/fast.x: New stuff for avoiding objc message overheads.
12732 * src/NSGCString.m: Hashing and comparison performance improvments
12733 * src NSGDictionary.m: Optimisation
12734 * src NSGString.m: Optimisation
12735 * src/NSObject.m: Optimisation
12736 * src/NSString.m: Optimisation
12737
12738 Sat Oct 3 23:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12739
12740 * src/NSString.m: Moved NXConstantString stuff out to NSGCString.m
12741 * src/NSGCString.m: Added NXConstantString (inherits from NSGCString)
12742 and modified for efficient ([-isEqual:]) and ([-isEqualToString:])
12743 methods.
12744
12745 Thu Sep 30 17:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12746
12747 More performance work - huge improvement in dictionary lookup and
12748 perhaps 15 percent improvement elsewhere.
12749 * src/NSString.m: ([-hash]) changed hash generation to produce a
12750 more evenly distributed value so that dictionary lookup works
12751 better for large dictionaries full of similar keys.
12752 * src/NSDictionary.m: ([+dictionaryWithObjectsAndKeys:,...]) fixed
12753 memory leak.
12754 * src/include/NSGDictionary.h: Removed - not needed.
12755 * src/NSGDictionary.m.old: Backup added.
12756 * src/NSGDictionary.m: Complete rewrite.
12757 * src/FastMap.x: New map table stuff for NSGDictionary.
12758
12759 Thu Sep 30 7:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12760
12761 Changes to slightly more than double the speed of dictionary
12762 lookups for string keys.
12763 * src/NSGString: Added efficient -isEqual and -isEqualToString
12764 * src/NSGCString: Speeded up -isEqual and -isEqualToString
12765
12766 Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12767
12768 * src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
12769 an object is autoreleased without a pool being present.
12770 This should avoid many mistakes by newbies who don't understand
12771 the retain/release/autorelease mechanism (perhaps it'll encourage
12772 them to read up about it). It also serves as a useful reminder
12773 when you DO know what you are doing.
12774
12775 Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12776
12777 * Removed MallocAddress class -
12778 use ([NSData +dataWithBytesNoCopy:length:]) instead.
12779 * src/NSConnection.m: ([-forwardForProxy:selector:argFrame:])
12780 modifield to cope better when passed a selector without types.
12781 * src/Encoder.m: Modified to encode selector without type if needed.
12782 * Tools/dwrite.m: Removed references to cStringNoCopy
12783 * src/BinaryTree.m: Removed references to cStringNoCopy
12784 * src/Collection.m: Removed references to cStringNoCopy
12785 * src/Encoder.m: Removed references to cStringNoCopy
12786 * src/KeyedCollection.m: Removed references to cStringNoCopy
12787 * src/MemoryStream.m: Removed references to cStringNoCopy
12788 * src/NSCalendarDate.m: Removed references to cStringNoCopy
12789 * src/NSData.m: Removed references to cStringNoCopy
12790 * src/NSGCString.m: Removed references to cStringNoCopy
12791 * src/NSGString.m: Removed references to cStringNoCopy
12792 * src/NSHashTable.m: Removed references to cStringNoCopy
12793 * src/NSLog.m: Removed references to cStringNoCopy
12794 * src/NSMapTable.m: Removed references to cStringNoCopy
12795 * src/NSPortCoder.m: Removed references to cStringNoCopy
12796 * src/NSString.m: Removed references to cStringNoCopy
12797 * src/NSTimeZone.m: Removed references to cStringNoCopy
12798 * src/NSUser.m: Removed references to cStringNoCopy
12799 * src/NSZone.m: Removed references to cStringNoCopy
12800 * src/StdioStream.m: Removed references to cStringNoCopy
12801 * src/Stream.m: Removed references to cStringNoCopy
12802 * src/TextCStream.m: Removed references to cStringNoCopy
12803 * src/UdpPort.m: Removed references to cStringNoCopy
12804 * src/UnixFileHandle.m: Removed references to cStringNoCopy
12805 * src/lex.pl.m: Removed references to cStringNoCopy
12806 * src/lex.sf.m: Removed references to cStringNoCopy
12807 * src/mframe.m: Removed references to cStringNoCopy
12808 * src/o_hash.m: Removed references to cStringNoCopy
12809 * src/o_x_base.m.in: Removed references to cStringNoCopy
12810
12811 Tue Sep 29 13:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12812
12813 * src/include/Foundation.h: Added some missing files.
12814 * src/NSDistantObject.m: Fixed ([-methodSignatureForSelector:)]
12815
12816 Mon Sep 28 17:02:33 1998 Adam Fedor <fedor@ultra.doc.com>
12817
12818 * src/include/NSObject.h (-perform:, -perform:withObject:,
12819 -perform:withObject:withObject:): Remove definitions (use
12820 performSelector:... instead.
12821 (+class, +superclass, +setVersion:, +version): Add.
12822 Rearrange some other method definitions.
12823 * src/include/NSProxy.h: Likewise.
12824
12825 * src/NSObject.m (+class): Add.
12826 (-perform:, -perform:withObject:,
12827 -perform:withObject:withObject:): Depreciate these methods.
12828 * src/Proxy.m: Likewise.
12829
12830 * src/Collection.m: Use performSelector instead of perform.
12831 * src/IndexedCollection.m: Likewise.
12832 * src/NSArray.m: Likewise.
12833 * src/NSRunLoop.m: Likewise.
12834 * src/NSSet.m: Likewise.
12835 * src/NSTimer.m: Likewise.
12836 * src/NotificationDispatcher.m: Likewise.
12837
12838 * src/NSException (-initWithCoder:): Fix object decoding.
12839
12840 Fri Sep 18 10:20:55 1998 Adam Fedor <fedor@ultra.doc.com>
12841
12842 * src/include/preface.h.in (MIN, MAX): Rewrite macros (suggestion
12843 from Tom Hageman <tom@basil.icce.rug.nl>.
12844
12845 Thu Sep 10 06:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12846
12847 * src/NSFileHandle.m: Implemented [(-waitForDataInBackground])
12848 * src/UnixFileHandle.m: Implemented [(-waitForDataInBackground])
12849 * src/include/NSFileHandle.h: Added [(-waitForDataInBackground])
12850 * src/externs.m: Fixed error in hash callbacks name.
12851 * src/Set.m: Fixed error in hash callbacks name.
12852 * src/include/NSHashTable.h: Fixed error in hash callbacks name.
12853 * src/NSRunLoop.m: minor efficiency hack - don't use autoreleasing
12854 arrray construction methods when we are going to retain immediately.
12855
12856 Fri Sep 04 08:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12857
12858 * src/NSUserDefaults.m: ([-setObjectsforKey:], [-removeObjectForKey:])
12859 fixed to make domain dictionarys mutable if required.
12860 * src/externs.m: Updated notification name for defaults.
12861 * src/include/NSUserDefaults.h: Updated notification name.
12862
12863 Mon Aug 31 16:28:58 1998 Adam Fedor <fedor@ultra.doc.com>
12864
12865 * src/NSBundle.m (+mainBundle:): Remove *_obj directory to
12866 find main bundle path.
12867
12868 Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12869
12870 * src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should.
12871 * src/NSCalendarDate.m, src/NSException.m, src/NSGAttributedString.m,
12872 src/NSHost.m, src/NSLog.m, src/NSProcessInfo.m, src/NSTimeZone.m:
12873 tidied coding/decoding and logging.
12874 * src/NSString.m: Added implementation of [-zone] for constnat strings.
12875
12876 Wed Sep 02 13:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12877
12878 * src/NSRunLoop.m: ([-cancelPerformSelector:target:argument:]) bugfix
12879 supplied by masata-y@is.aist-nara.ac.jp - was incrementing loop index
12880 when should have been decrementing.
12881
12882 Mon Aug 24 09:22:17 1998 Adam Fedor <fedor@ultra.doc.com>
12883
12884 * doc/gnustep-base.tmpl.texi: Fix up doc problems.
12885 * doc/todo.tmpl.texi: Likewise.
12886
12887 Thu Aug 20 11:50:23 1998 Adam Fedor <fedor@doc.com>
12888
12889 * src/mframe.m (mframe_next_arg): Fixes from Richard
12890 Frith-Macdonald <richard@brainstorm.co.uk>.
12891
12892 Tud Aug 13 21:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12893
12894 Rewrite of maframe stuff and associated things to get DO and
12895 NSInvocations working for ALL data types. Configuration files for
12896 GNU/Linux on a PC and sunos4.1.3 on sparc provided (and tested).
12897
12898 * src/NSObject: Fixed code to local reference counts to get object
12899 alignment right on machines that have strict restrictions on the
12900 alignment of doubles (eg sparc).
12901 Also updated forwarding of invocations to work with new code.
12902 * src/NSInvocation.m: Rewrite from scratch to use new mframe code.
12903 * src/NSMethodSignature.m: Rewrite from scratch to use new mframe code.
12904 * src/mframe.m: Modified to use new information set up by config
12905 * configure.in: Run configure in src/mframe
12906 * src/mframe: New configuration directory for mframe stuff.
12907 * src/include/mframe.h: Deleted - now generated by config process.
12908
12909 Wed Aug 12 14:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12910
12911 * src/NSBundle: ([+initialize]) modified to take account of the
12912 environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
12913 GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.
12914
12915 Fri Aug 4 10:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12916
12917 * src/GNUmakefile: Removed NSAllocateObject.m and
12918 NSDeallocateObject.m (contents merged into NSObject.m).
12919 * src/NSObject.m: Modified to perform storage of retain counts local
12920 to the objects concerned in order to speed up performance - also
12921 modified to cache an objects zone with it - in order to maintain
12922 (or better) current performance when we get the NSZone code fixed
12923 to work with malloced memory.
12924 * src/include/NSObjCRuntime.h: Removed NSDebugLog()
12925 * src/include/NSDebug.h: Added new version of NSDebugLog()
12926 * src/include/NSProcessInfo.h: Added [-debugArray] method.
12927 * src/NSProcessInfo.m: Added [-debugArray] method and modified to
12928 parse arguments list and remove debug options, putting them in a
12929 mutable array (returned by [-debugArray]).
12930 * src/externs.m: Removed NSDebugLogging.
12931 * src/NSBundle.m: Modified to use new version of NSDebugLog().
12932
12933 Thu Aug 3 15:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12934
12935 * src/include/NSGCString.h: Added _hash instance variable.
12936 * src/include/NSGString.h: Added _hash instance variable.
12937 * src/NSGCString.m: Added implementation of [-hash] to handle caching
12938 of strings hash value, also added implementation of a few other
12939 methods for the sake of performance. Modified NSGMutableCString
12940 methods to reset hash cache when string is modified.
12941 * src/NSGString.m: Added implementation of [-hash] to handle caching
12942 of strings hash value. Modified NSGMutableString methods to reset
12943 hash cache when string is modified.
12944 * src/NSString.m: Misc performance hacks - use alloca() rather than
12945 malloc/free where possible etc.
12946 YMMV, but the above changes got me a 20% performance improvement in
12947 the app I was working with.
12948 * src/o_map.m: Don't use o_map_key_callbacks() - access the field
12949 in the structure directly to avoid the function-call overhead as this
12950 function was being called LOTS of times. Only a tiny performance
12951 improvement - but every little helps.
12952
12953 Thu Jul 30 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12954
12955 * src/include/NSSet.h: Corrected protocol conformance
12956 * src/NSSet.m: Added ([-encodeWithCoder:]), ([-initWithCoder:]).
12957 Fixed ([-copyWithZone:]) to remove memory and to simply retain where
12958 possible.
12959 Implemented ([-description]) and ([-descriptionWithLocale:]).
12960 * src/NSGCountedSet.m: Removed ([-initWithCapacity:]) and fixed
12961 enumerator.
12962 * src/include/NSDictionary.h: Added ([+dictionaryWithObject:forKey:])
12963 and corrected protocol conformance.
12964 * src/NSDictionary.m: Added ([+dictionaryWithObject:forKey:])
12965
12966 Wed Jul 29 15:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12967
12968 * src/Collection.m: Removed [-copy]
12969 * src/include/Collecting.h: likewise
12970 * src/NSAttributedString.m: fixed ([-copy]) and ([-isEqual:])
12971 * src/NSCharacterSet.m: implemented (inefficiently) ([-isEqual:])
12972
12973 Wed Jul 29 9:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12974
12975 * src/TcpPort.m: typecast to get rid of warning
12976 * src/NSCharacterSet.m: Added NSCoding methods.
12977 * src/NSBitmapCharSet.m: Added NSCoding methods.
12978 * src/NSHost.m: typecast to get rid of warning.
12979 * src/NSData.m: ([-copy]) removed.
12980 * src/NSDictionary.m: ([-copy]) removed.
12981 * src/NSGSequence.m: ([-copy]) removed.
12982 * src/NSScanner.m: ([-copy]) removed.
12983 * src/NSArray.m: ([-copy]) removed.
12984 * src/NSAttributedString.m: ([-copy]) removed.
12985 * src/NSString.m: ([-copy]) removed.
12986 * src/NSObject.m: ([-copyWithZone:]) modified to conform strictly
12987 to Rhapsody docs. Added ([+instanceMethodSignatureForSelector:]).
12988 * src/include/IndexedCollectionPrivate.h: fixed include for NSString.h
12989 * src/Makefile.postamble: modified rule for building srcdir-include
12990 stuff so that it works for me.
12991 * src/NSException.m: ([-copyWithZone:]) typecast to get rid of warning.
12992 * src/NSValue.m: ([-copyWithZone:]) typecast to get rid of warning.
12993 * src/NSDistantObject.m: fixed ([-classForPortCoder]) for Protocol.
12994
12995 Tue Jul 28 12:57:54 1998 Adam Fedor <fedor@ultra.doc.com>
12996
12997 * src/GNUmakefile: Remove NEXTSTEP classes.
12998
12999 * src/NSConcreteNumber [-copy]: Removed.
13000 [-copyWithZone:]: Likewise.
13001 * src/NSNumber: [-copy]: Implement
13002 [-copyWithZone:]: Likewise.
13003 * src/NSDate.m [-copyWithZone:]: Correct implementation.
13004 * src/NSException.m [-copyWithZone:]: Likewise.
13005 * src/NSPort.m: [-copyWithZone:]: Likewise.
13006 * src/NSValue.m: [-copyWithZone:]: Likewise.
13007
13008 Tue Jul 21 09:15:32 1998 Adam Fedor <fedor@ultra.doc.com>
13009
13010 * src/GNUmakefile: Removed redundant classes.
13011 * src/Connection: Removed.
13012 * src/Lock: Likewise.
13013 * src/Notification: Likewise.
13014 * src/Proxy: Likewise.
13015 * src/include/Connection.h, src/include/Lock.h,
13016 src/include/Notification.h, src/include/Proxy.h: Likewise.
13017 * src/include/RetainingNotifier.h: Removed.
13018 * src/libgnustep-base.def: Removed reference to redundant classes.
13019 * src/include/ConnectedCoder.h: Likewise
13020 * src/include/NSConnection.h: Likewise
13021 * src/include/NSNotification.h: Likewise
13022 * src/include/NSPort.h: Likewise
13023 * src/include/all.h: Likewise
13024 * src/ConnectedCoder.m: Likewise
13025 * src/Makefile.postamble: Likewise
13026 * src/MachPort.m: Likewise
13027 * src/NSConnection.m: Likewise
13028 * src/NotificationDispatcher.m: Likewise
13029 * src/NSNotification.m: Likewise
13030 * src/Port.m: Likewise
13031 * src/TcpPort.m: Likewise
13032 * src/behavior.m: Likewise
13033 * src/NSThread.m: Likewise
13034 * src/UdpPort.m: Likewise
13035 * examples/first-client.m, examples/first-server.h,
13036 examples/first-server.m, examples/second-client.h,
13037 examples/second-client.m, examples/second-server.h,
13038 examples/second-server.m: Removed.
13039
13040 * src/NSRunLoop.m: Add time.h (For GNU/Linux-2.0)
13041 * src/TcpPort.m: Likewise.
13042 * src/UdpPort.m: Likewise.
13043 * sec/UnixFileHandle.m: Likewise.
13044
13045 Wed Jul 20 21:25:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13046
13047 * src/Decoder.m: ([-decodeClass]) modified to ensure correct decoding
13048 instances of classes relying on multiple inheritance.
13049
13050 Tue Jul 14 16:26:36 1998 Adam Fedor <fedor@doc.com>
13051
13052 * src/Makefile.postamble (gnustep/base): Fixup dir creation.
13053 (Foundation): Likewise.
13054
13055 * src/externs.m: New NSDebugLogging variable.
13056 * src/include/NSObjCRuntime: Change NSDebugLog so it works when
13057 DEBUG is defined and NSDebugLogging is set.
13058 * src/NSBundle.m: Use it.
13059
13060 * src/include/Foundation.h: Include NSTimer.h
13061 * src/include/NSObject.h: Define +instanceMethodSignatureForSelector:
13062
13063 Tue Jul 14 10:06:31 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13064
13065 * checks/nsset.m : Added new testing functions.
13066 (intersects_set_test): Likewise.
13067 (is_subset_of_set_test): Likewise.
13068
13069 * src/include/NSSet.h ([NSSet -setWithObjects:]): Remove the type
13070 declaration of arguments, "NSArray *". The arguments should be
13071 declared as id.
13072
13073 * src/NSSet.m ([NSSet -isSubsetOfSet:otherSet]): Implement.
13074 ([NSSet -intersectsSet:otherSet]): Likewise.
13075
13076 Wed Jul 15 12:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13077
13078 * src/Invocation.m: Rewrote ([-invoke]) to retrieve return values
13079 correctly by using mframe_decode_return()
13080
13081 * src/NSCharacterSet.m: Fixed ([-copyWithZone:]) to avoid using the
13082 (non-existant) NSObject method.
13083
13084 * src/NSFileHandle.m: Modified method for making socket connections
13085 and added a synchronous version.
13086
13087 * src/NSObjCRuntime.m: Tidied and added NSGetSizeAndAlignment().
13088
13089 * src/NSObject.m: Removed ([-copyWithZone:]) and
13090 ([-mutableCopyWithZone:]) (which shiould not exist in NSObject).
13091
13092 * src/NSString.m: Fixed implementation of the
13093 ([-rangeOfCharacterFromSet:options:range:]) method.
13094
13095 * src/UnixFileHandle.m: Various bug fixes for synchronous operations.
13096
13097 * src/mframe.m: Added mframe_decode_return() function to get the
13098 return value out of a retframe.
13099
13100 * src/include/NSCharacterSet.h: Modified to say we conform to the
13101 NSCoding protocol (whith the spec says we should).
13102
13103 * src/include/NSFileHandle.h: Altered methods for making a network call.
13104
13105 * src/include/NSObjCRuntime.h: Added NSGetSizeAndAlignment().
13106
13107 * src/include/NSObject.h: Removed stuff saying we conform to the
13108 NSCoding and NSCopying protocols (we shouldn't) and removed the
13109 ([-copyWithZone:]) and ([-mutableCopyWithZone:]) methods - which
13110 shouldn't be there.
13111
13112 * src/include/UnixFileHandle.h: Altered methods for making a network
13113 connection.
13114
13115 * src/include/mframe.h: Added mframe_decode_return() function.
13116
13117
13118 Tue Jul 14 16:06:16 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13119
13120 * checks/invocation_*.m : New test files.
13121
13122 * checks/invocation2.m: Removed the file.
13123
13124 * src/include/NSInvocation.h (NS_INVOCATION, NS_MESSAGE):
13125 Added new arguments to the macros. These macros don't require
13126 SEL type argument to specify the method to invoke now.
13127
13128 * checks; Added invocation_char.m, invocation_short.m, invocation_int.m
13129 and invocation_long.m
13130
13131 Fri Jul 10 21:43:30 1998 Adam Fedor <fedor@ultra.doc.com>
13132
13133 * src/include/GapArrayPrivate.h (gapMoveGaptTo): Change - to +.
13134 * docs/todo.tmpl.texi: Updates
13135
13136 Fri Jun 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13137
13138 * src/TcpPort.m: Improved debug code and added method to turn it on -
13139 ([+setDebug:])
13140 * src/NSConnection.m: Changed code so that if a process sends us a
13141 'release' for an object local to us, which it vended to a third
13142 party, we retain the object for 30 seconds before releasing it in
13143 order to give the third party time to connect to us and retain it.
13144 Improved debug code and added method to turn it on - ([+setDebug:])
13145 * src/NSDistributedObject.m: Added flag to say whether an object has
13146 been vended to a third party.
13147 Improved debug code and added method to turn it on - ([+setDebug:])
13148 * src/include/NSDistantObject.h: Added flag.
13149
13150 Thu Jun 24 22:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13151
13152 * src/proplist.y: Make parser more tolerant - permit a comma after
13153 the final element in an array.
13154 * src/NSData.m: Added ([NSMutableData +data])
13155 * src/Unicode.m: Efficiency hack for conversion to/from unicode
13156 * src/include/NSArray.h: Added ([-writeToFile:Atomically:])
13157 * src/include/NSString.h: Added GSUndefinedEncoding and comment to
13158 make sure nobody deletes it - needed for efficiency hack in Unicode.m
13159
13160 Fri Jun 19 13:37:37 1998 Adam Fedor <fedor@doc.com>
13161
13162 * NSObject (+isKindOfClass:): New method (patch from Bruce Ide
13163 <greyfox@greyfox.org>).
13164 (+isMemberOfClass): Likewise.
13165
13166 Tue Jun 16 09:48:18 1998 Adam Fedor <fedor@doc.com>
13167
13168 * src/NSProtocolChecker.m, src/include/NSProtocolChecker.h: New files.
13169 (from Mike Kienenberger <mkienenb@arsc.edu>)
13170
13171 Fri May 29 10:16:09 1998 Adam Fedor <fedor@doc.com>
13172
13173 * doc/news.tmpl.texi: Fixed typo.
13174 * doc/readme.tmpl.texi: Likewise. (patch from doko@cs.tu-berlin.de
13175 (Matthias Klose)).
13176 * src/ostream.m (ostream_save_buffer): Retain stream.
13177 * src/include/MemoryStream.h: Remove outdated methods.
13178 * src/include/NSException.h (NS_VALUERETURN): New macro.
13179
13180 Thu May 28 10:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13181
13182 * Tools/gdomap.c: Added code to cope with systems where we can't
13183 determine what network interfaces are active.
13184
13185 * checks/heap.m: Portability fix for svr4 systems.
13186
13187 * configure.in: Improved portability to svr4 systems.
13188
13189 * src/NSMethodSignature.m: Changed order of includes to fix
13190 compilation on svr4 systems.
13191
13192 * src/NSPage.m: Altered to use 'sysconf(_SC_PAGESIZE)' to get page
13193 size on svr4 systems.
13194
13195 * src/NSTask.m: Altered to use 'kill()' rather than 'killpg()' on
13196 svr4
13197
13198 * src/NSThread.m: Altered to use 'sleep()' rather than 'usleep()'
13199 on svr4
13200
13201 * src/include/config.h.in: Added a couple of configuration
13202 constants for portability - HAVE_KILLPG and HAVE_USLEEP
13203
13204 Thu May 21 09:38:14 1998 Adam Fedor <fedor@doc.com>
13205
13206 * src/NSUser.m (NSUserName): Use getpwuid for BSD machines (patch
13207 provided by Stefanos Kiakas <stefanos@ringworld.uniscape.com>).
13208
13209 * src/GetDefEncoding.c (GetDefEncoding): Change binary AND to
13210 logical AND. (GetEncoding): Likewise (patch provided by
13211 David Fritzsche <david@dementia.wupper.de>).
13212
13213 Wed May 20 15:26:50 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13214
13215 * src/GNUmakefile: Added NSUndoManager.[hm]
13216
13217 * src/Invocation.m: ([-_initArgframeFrom:withType:retainArgs:]) fixed
13218 memory leak due to failing to set 'args_retained' flag.
13219
13220 * src/NSObject.m: ([-forward::]) modified to call (forwardInvocation:)
13221 method so we can conform to OpenStep spec.
13222
13223 * src/NSUndoManager.m: Implementation of new class.
13224
13225 * src/include/NSUndoManager.h: Interface for new class.
13226
13227 Wed May 13 13:18:35 1998 Adam Fedor <fedor@doc.com>
13228
13229 * src/NSArray.m ([NSArray -initWithContentsOfFile:]): Move
13230 definition from NSMutableArray.
13231 * NSBundle.m (+initialize): New method.
13232 (+mainBundle): Use recursive lock.
13233 (-initWithPath:) Likewise.
13234 * Unicode.m (encode_chartouni): Cast char to unsigned before to
13235 unichar (patch provided by David Fritzsche <david@dementia.wupper.de>).
13236
13237 Fri May 1 14:26:50 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13238
13239 * src/mframe.m(mframe_do_call): before allocating a storage for
13240 returned structure, check stack_argsize.
13241
13242 Mon Apr 27 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13243
13244 * src/include/mframe.h: Added three new functions to enable passing
13245 of pointers using the mframe routines.
13246
13247 * src/mframe.m: Added mframe_dissect_call_opts(),
13248 mframe_do_call_opts(), and mframe_build_return_opts() so that we
13249 may pass pointers to and from functions in other languages rather
13250 than using the DO behaviour which is to copy a single object when
13251 given a pointer.
13252
13253 Tue Apr 21 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13254
13255 * src/NSMethodSignature.m: ([+signatureWithObjCTypes:]) rewritten
13256 to use some macros from libFoundation (adapted from gcc) to handle
13257 creation of NSMethodSignature objects where the types string passed
13258 in does not contain the position information of the arguments.
13259
13260 Thu Apr 16 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13261
13262 * checks/client.m: enable testing of DO strucuture return.
13263
13264 * checks/server.m: fix typo in keyword
13265
13266 * src/KeyedCollection.m: ([-decodeContentsWithCoder:]) fixed a
13267 memory leak.
13268
13269 * src/mframe.m: Fixed a few bugs in returning structures - now works
13270 properly on GNU/Linux intel. Can anyone figure out how to handle
13271 all this stuff using autoconf?
13272
13273 Mon Apr 20 09:23:58 1998 Adam Fedor <fedor@ultra.doc.com>
13274
13275 * src/NSLock.m: Eliminate busy waiting from NSConditionLock
13276 * src/NSLock.h: add instance variable and rename "value" to
13277 support changes to NSConditionLock
13278 * src/NSLock.m: Raise appropriate exceptions
13279 * src/NSLock.m: Prevent NSLock and NSConditionLock from being
13280 locked recursively
13281 * src/NSThread.m: -sleepUntilDate: implemented
13282 * src/NSThread.m: remove calls to objc_get_thread_data except
13283 in currentThread message
13284 * src/BinaryCStream.m: Replace assert's with NS*Assert
13285 * src/CStream.m.orig: Likewise
13286 * src/Decoder.m: Likewise
13287 * src/Encoder.m: Likewise
13288 * src/MemoryStream.m: Likewise
13289 * src/RawCStream.m: Likewise
13290 * src/TextCStream.m: Likewise
13291 * src/ostream.m.orig: Likewise
13292 (patches from Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13293
13294 * src/NSFileManager.h: Include pwd.h if we have it
13295 * configure.in: Check for pwd.h
13296 * configure: regenerate.
13297 * src/include/config.h.in: Likewise.
13298
13299 Wed Apr 15 09:54:25 1998 Adam Fedor <fedor@doc.com>
13300
13301 * src/NSFileManager.m ([NSFileManager
13302 -fileAttributesAtPath:traverseLink:]): Add NSFileOwnerAccountName.
13303 * src/externs.m: Add NSFileOwnerAccountName definition.
13304 (patch provided by Marcus Mueller <znek@object-factory.com>)
13305
13306 * src/NSThread.m (-sleepUntilDate:): Implemented (from
13307 Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13308
13309 Sun Apr 5 20:07:28 1998 Scott Christley <scottc@net-community.com>
13310
13311 * Utilize documentation rules in Makefile Package.
13312 * doc/GNUmakefile: Rewrite to use Makefile Package.
13313 * doc/Makefile.postamble: Remove old obsolete rules.
13314
13315 * Documentation which covers GNUstep as a whole versus just
13316 gstep-base has been moved to the top level Documentation dir.
13317 * GNUstep-HOWTO: Delete.
13318 * doc/gnustep-base.tmpl.texi: GNUstep-HOWTO and FAQ removed.
13319 Add variable so that included files know they are within the
13320 main document.
13321 * doc/gnustep-howto.tmpl.texi: Delete.
13322 * doc/faq.tmpl.texi: Delete.
13323 * doc/announce.tmpl.texi: Don't include version.texi needlessly.
13324 * doc/news.tmpl.texi: Don't include version.texi needlessly.
13325 * doc/todo.tmpl.texi: Don't include version.texi needlessly.
13326
13327 * src/GNUmakefile: Don't compile Random class as the name too
13328 often conflicts with user apps.
13329
13330 * src/GetDefEncoding.m: Reformat.
13331
13332 * src/NSArray.m (-replaceObjectsInRange:withObjectsFromArray:):
13333 Fix range check. Use enumerator instead of count.
13334
13335 Wed Apr 1 18:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13336
13337 * Tools/gdomap.m: Modified code so that we make sure we have at least
13338 one valid route to any gdomap process which has probed us. This is
13339 to cope with machines which send out info about all their interfaces
13340 when one or more of the interfaces is not working.
13341
13342 * src/checks/nstask.m: added test for environment setting.
13343
13344 * src/NSCalendarDate.m: Fixed bug in initialisation where daylight
13345 savings time is in operation - was adjusting in wrong direction.
13346
13347 * src/NSRunLoop.m: Added NSObject catagory for the methods -
13348 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13349 ([NSObject -performSelector:withObject:afterDelay:]), and
13350 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13351
13352 * src/NSTask.m: Various bug fixes as a result of running the test
13353 suite. All seems to work ok now.
13354
13355 * src/NSDate.h: Changed order of declaractions so this can be included
13356 within NSObject.h
13357
13358 * src/NSObject.h: Added run-loop integration methods -
13359 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13360 ([NSObject -performSelector:withObject:afterDelay:]), and
13361 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13362
13363 * src/NSRunLoop.h: Added an instance variable to keep track of
13364 queued delayed actions to be performed on objects.
13365
13366 Tue Mar 31 11:32:03 1998 Adam Fedor <fedor@doc.com>
13367
13368 * aclocal.m4 (OBJC_CON_AUTOLOAD): Improved test. Check nm output
13369 for indicator functions.
13370 * configure: Regenerate.
13371
13372 * checks/GNUmakefile (LoadMe_RESOURCE_FILES): Changed name.
13373
13374 * doc/gnustep-howto.tmpl.texi: Update.
13375 * doc/status.tmpl.texi: Likewise.
13376
13377 Fri Mar 20 11:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13378
13379 * checks/client.m: Added some tests for passing objects byref
13380
13381 * checks/server.h: Added ([-sendByref:]) to protocol.
13382
13383 * checks/server.m: Added ([-sendByref:]) for testing 'byref'.
13384
13385 * src/Coder.m: Added ([-encodeByrefObject:])
13386
13387 * src/Encoder.m: Added ([-_doEncodeByrefObject:]) and changed the
13388 designated encoding method throughout from
13389 ([-_encodeObject:withName:isBycopy:isForwardReference:]) to
13390 ([-_encodeObject:withName:isBycopy:isByref:isForwardReference:])
13391
13392 * src/NSCoder.m: Added ([-encodeBytes:length:]),
13393 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13394
13395 * src/NSConnection.m: Modified ([-forwardForProxy:selector:argFrame:])
13396 and ([-_service_forwardForProxy:]) methods to handle byref flag.
13397
13398 * src/NSDictionary.m: Added ([+dictionaryWithDictionary:])
13399
13400 * src/NSPortCoder.m: Added ([-isByref]) and ([-_doEncodeByrefObject:])
13401 methods and modified ([-_doEncodeBycopyObject:]) to handle byref flag.
13402
13403 * src/include/Coding.h: Added ([-encodeByrefObject:])
13404
13405 * src/include/NSCoder.h: Added ([-encodeBytes:length:]),
13406 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13407
13408 * src/include/NSDictionary.h: Fixed prototype for the
13409 ([+dictionaryWithDictionary:]) method.
13410
13411 * src/include/NSPortCoder.h: Added ([-isByref])
13412
13413 * src/objc-gnu2next.m: Added _F_BYREF flag code
13414
13415 Fri Mar 13 15:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13416
13417 * src/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
13418 Fixed bug in displaying time-zone - was displaying minutes and
13419 seconds when should have been showing hours and minutes.
13420
13421 Wed Mar 11 11:56:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13422
13423 * src/NSArray.m: ([-copyWithZone:]) changed to use the
13424 NSShouldRetainWithZone() function.
13425
13426 * src/NSCalendarDate.m: ([-dealloc]) don't release the timezone -
13427 we never retain it anyway (should we?)
13428 ([-setCalendarFormat:]) make a copy of the string we are given in
13429 case it gets changed or deleted.
13430
13431 * src/NSConcreteNumber.m: ([-copyWithZone:]) fixed to use the
13432 NSShouldRetainWithZone() function.
13433
13434 * src/NSData.m: ([-copyWithZone:]) fixed to use the
13435 NSShouldRetainWithZone() function.
13436
13437 * src/NSDictionary.m: ([-copyWithZone:]) fixed to use the
13438 NSShouldRetainWithZone() function.
13439
13440 * src/NSHost.m: Added ([-awakeAfterUsingCoder:])
13441
13442 * src/NSNumber.m: Added ([-copy]) and ([-copyWithZone:])
13443
13444 * src/NSString.m: ([-copyWithZone:]) fixed to use the
13445 NSShouldRetainWithZone() function.
13446
13447 * src/TcpPort.m: Commented out unnecessary warning message.
13448
13449 * src/NSTimeZone.m: Modified ([-encodeWithCoder:]) and
13450 ([-awakeAfterUsingCoder:]) so that the local timezone is encoded
13451 specially and is restored as whatever the local timezone of the
13452 restoring application is.
13453
13454 * src/NSValue.m: Added ([-copy]) and ([-isEqualToValue:])
13455
13456 Tue Mar 10 17:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13457
13458 * src/NSArray.m: ([-copyWithZone:]) rewritten to avoid doing
13459 unnecessary copy of non-mutable objects and to fix memory leak.
13460
13461 * src/NSCTemplateValue.m: ([-isEqaul:]) and ([-isEqualToValue:])
13462 implemented.
13463
13464 * src/NSCalendarDate.m: ([-initWithCoder:]) and ([-encodeWithCoder:])
13465 implemented.
13466
13467 * src/NSConcreteNumber.m: ([-copy]) and ([-copyWithZone:])
13468 implemented to do simple retains.
13469
13470 * src/NSDictionary.m: ([-copyWithZone:]) rewritten to avoid doing
13471 unnecessary copy of non-mutable objects and to fix memory leak.
13472
13473 * src/NSGString.m: ([-cString]) fixed crash when called on empty
13474 string.
13475
13476 * src/NSTimeZone.m: ([-awakeAfterUsingCoder:]) implemented to handle
13477 decopding of archived objects correctly.
13478
13479 * src/include/NSValue.h: Added ([-isEqualToValue:])

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26