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

Contents of /gnustep/core/base/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2005 - (show annotations) (download)
Fri Oct 3 21:25:30 2003 UTC (20 years, 7 months ago) by fedor
Branch: MAIN
Changes since 1.2004: +4 -0 lines
Use -Wl for netbsd linker options.

1 2003-10-03 Adam Fedor <fedor@gnu.org>
2
3 * configure.ac: Use -Wl for netbsd linker options.
4
5 2003-10-02 Richard Frith-Macdonald <rfm@gnu.org>
6
7 * Source/Additions/GSMime.m: ([GSMimeDocument-makeBoundary])
8 fixed memory leak.
9
10 2003-09-30 Adam Fedor <fedor@gnu.org>
11
12 * config/procfs.m4: Force disable /proc on Irix. Force enable
13 on cygwin.
14
15 2003-09-30 Richard Frith-Macdonald <rfm@gnu.org>
16
17 * Source/NSThread.m: Protect the function handling notification
18 of the process becoming multi-threaded with a recursive lock.
19 This protection ensures that there is no race condition where
20 two threads can start using GNUstep simultaneously and both
21 end up sending out notifications etc. Not a problem in normal
22 ObjC applications, but a possibility where other non-gnustep
23 code starts multiple threads which want to access gnustep.
24
25 2003-09-30 Derek Zhou <dzhou@chrontel.com>
26
27 * Source/NSCharacterSet.m: patch to ensure lock is created as
28 soon as the process goes multi-threaded, therefore avoiding
29 a race condition causing a rare exception.
30
31 2003-09-26 Richard Frith-Macdonald <rfm@gnu.org>
32
33 * Source/NSString.m: Fix pathExtension bug reported by Roland
34 Schwingel. Was failing to handle the case when a dot appears
35 inside a path component properly.
36
37 2003-09-25 Richard Frith-Macdonald <rfm@gnu.org>
38
39 * Source/NSConnection.m: Fix obscure bug releasing in-progress
40 request information on connection deallocation.
41
42 2003-09-23 Adam Fedor <fedor@gnu.org>
43
44 * Source/Additions/Makefile.preamble: Add DLL build flag for cyginw
45
46 * Testing/Makefile.postamble (check): Make CHECKABLE_TOOLS only
47
48 * Tools/AGSHtml.m: Remove duplicate interface (on *-apple-*)
49 * Tools/AGSIndex.m: Idem.
50
51 2003-09-23 Adam Fedor <fedor@gnu.org>
52
53 * Source/NSTimeZone.m (+systemTimeZone): Remove tzname extern decl.
54
55 2003-09-22 Adam Fedor <fedor@gnu.org>
56
57 * configure.ac: Check for getopt
58 * Tools/gdomap.c: Use local getopt if no native getopt
59
60 2003-09-21 Adam Fedor <fedor@gnu.org>
61
62 * Tools/cvtenc.m (main): Write using local/set encoding when
63 EscapeIn=YES.
64
65 * Documentation/coding-standards.texi: Add section about object
66 persistance.
67
68 * configure.ac: Make it possible to override --enable-pass-arguments
69 when on cygwin.
70 * configure: Regenerate using 2.57
71
72 2003-09-20 yjchen <yjchenx@hotmail.com>
73
74 * Resources/Languages/TraditionalChinese: Quote escaped strings.
75
76 2003-09-13 Richard Frith-Macdonald <rfm@gnu.org>
77
78 * Source/NSConnection.m: Add a couple of checks to raise exceptions
79 when trying to use a connection from the wrong thread. Also, change
80 the code for handling multithreaded connections so that they are
81 removed from the runloops of exiting threads in response to the
82 thread exit notification.
83
84 2003-09-13 David Ayers <d.ayers@inode.at>
85
86 * Headers/Additions/GNUstepBase/GSCategories.h: Move declarations
87 from Source/Additions/GSCompatibility.h to here.
88 ([NSObject -compare:]): Deprecate.
89 * Source/Additions/GSCompatibility.h: Move contents from here to
90 Headers/Additions/GNUstepBase/GSCategories.h.
91
92 * Source/Additions/GSCategories.m:
93 ([NSObject -compare:]): Deprecate.
94
95 * Headers/Foundation/NSObject.h
96 ([NSObject -compare:]): Deprecate.
97
98 * Source/Additions/GCDictionary.m: Include
99 GNUstepBase/GSCategories.h rather than GSCompatibility.h.
100 * Source/Additions/GCObject.m: Ditto.
101 * Source/Additions/GSMime.m: Ditto.
102 * Source/Additions/GSObjCRuntime.m: Ditto.
103 * Source/Additions/GSXML.m: Ditto.
104 * Source/Additions/Unicode.m: Ditto.
105
106 * macosx/GNUstepBase/preface.h: Update include for new header
107 structure.
108
109 2003-09-11 Adam Fedor <fedor@gnu.org>
110
111 * macosx/preface.h: Removed
112 * macosx/GNUstepBase/preface.h: New
113 * macosx/gnustep.pbproj/project.pbxproj: Update
114 (from Philip Moetteli <philip.moetteli@tele2.ch>).
115
116 2003-09-11 Philip Moetteli <philip.moetteli@tele2.ch>
117
118 * Source/Additions/GSCompatibility.h
119 * Source/Additions/GSCompatibility.m
120 (NSDecimalFromComponents): Added compatibility function.
121
122 2003-09-11 Richard Frith-Macdonald <rfm@gnu.org>
123
124 * Source/Unicode.m: Fix minor errors in utf8 handling.
125 Use endian version of UTF16 to avoid iconv inserting BOM where
126 it is not wanted.
127
128 2003-09-10 David Ayers <d.ayers@inode.at>
129
130 * Headers/Additions/GNUstepBase/GSObjCRuntime.h (GSObjCSuper):
131 Added test for uninitialized superclass reference.
132
133 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
134
135 * Source/NSObject.m: Tidy use of GSObjCRuntime a little.
136
137 2003-09-10 Pete French <pete@twisted.org.uk>
138
139 * Source/Additions/Unicode.m: patch to use UTF16 rather than
140 UCS2 internally.
141
142 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
143
144 * Source/NSCalendarDate.m:
145 ([years:months:days:hours:minutes:seconds:sinceDate:]) fix to return
146 all positive values for a difference from a date in the past.
147
148 2003-09-07 Adam Fedor <fedor@gnu.org>
149
150 * Source/NSBundle.m (+_addFrameworkFromClass:): Check
151 _loadingBundle != bundle when removing classes.
152
153 2003-09-07 S.J.Chun <chunsj@embian.com>
154
155 * Source/Unicode.m: Added Korean encoding
156 * Headers/Foundation/NSString.h: Added Korean encoding
157 * Source/Additions/GSCompatibility.h: Idem.
158
159 Sun Sep 7 13:35:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
160
161 * configure.ac: Fixed GNUSTEP_HDIR when not flattened.
162 * configure: Regenerated.
163
164 2003-09-05 Adam Fedor <fedor@gnu.org>
165
166 * Headers/Additions/GNUstepBase/behavior.h: GS_EXPORT functions.
167
168 2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
169
170 * Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:
171 Change return type of -initWithPath: to id.
172
173 2003-09-02 Adam Fedor <fedor@gnu.org>
174
175 * configure.ac: Check for tzset
176 * Source/NSTimeZone.m (+systemTimeZone): Use it to find time zone
177 (as a last resort).
178
179 2003-09-02 Adam Fedor <fedor@gnu.org>
180
181 * Tools/gdnc.m (main): Don't mess with file descriptors on MinGW.
182
183 2003-09-01 Adam Fedor <fedor@gnu.org>
184
185 * Tools/gdomap.c (main): Move getuid call inside #ifndef MINGW
186 like the others.
187
188 2003-08-31 Adam Fedor <fedor@gnu.org>
189
190 * Tools/gdnc.m (main): Close any open file descriptors so we can
191 be a proper daemon.
192 Fixes #4938.
193
194 2003-08-29 Adam Fedor <fedor@gnu.org>
195
196 * config/procfs.m4: Disable procfs for solaris
197
198 2003-08-26 Adam Fedor <fedor@gnu.org>
199
200 * Source/NSMessagePort.m: For older OS comptibility, define some
201 macros if they are not already defined.
202 * Source/NSMessagePortNameServer.m: Idem.
203
204 2003-08-24 David Ayers <d.ayers@inode.at>
205
206 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
207 (GSObjCClass): Allow nil values.
208 (GSObjCIsInstance): Ditto.
209 (GSObjCIsClass): New function.
210 (GSClassNameFromObject): Ditto.
211 (GSObjCIsKindOf): Use GSObjCSuper() in favor of
212 class_get_super_class().
213
214 * Headers/Foundation/NSRange.h
215 (GS_RANGE_CHECK), (CHECK_INDEX_RANGE_ERROR):
216 Use GSNameFromSelector() in favor of sel_get_name().
217
218 * Source/GSFFCallInvocation.m
219 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
220 (-[GSFFCallInvocation invokeWithTarget:]), (GSInvocationCallback):
221 Use GSObjCIsInstance() in favor of object_is_instance,
222 GSObjCClass() in favor of object_get_class(),
223 GSObjCIsClass() in favor of object_is_class(),
224 GSNameFromSelector() in favor of sel_get_name(),
225 GSObjCSuper() in favor of class_get_super_class() and
226 GSClassNameFromObject() in favor of object_get_class_name().
227
228 * Source/GSFFIInvocation.m
229 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
230 (-[GSFFIInvocation invokeWithTarget:]), (GSFFIInvocationCallback):
231 Use GSObjCIsInstance() in favor of object_is_instance,
232 GSObjCClass() in favor of object_get_class(),
233 GSObjCIsClass() in favor of object_is_class(),
234 GSNameFromSelector() in favor of sel_get_name(),
235 GSObjCSuper() in favor of class_get_super_class() and
236 GSClassNameFromObject() in favor of object_get_class_name().
237
238 * Source/NSConnection.m
239 (-[NSConnection forwardForProxy:selector:argFrame:]),
240 (-[NSConnection forwardInvocation:forProxy:]):
241 Use GSNameFromSelector() in favor of sel_get_name().
242
243 * Source/NSDistantObject.m
244 (class_is_kind_of): Use GSObjCSuper in favor of
245 class_get_super_class().
246 (-[NSDistantObject forward::]): Use GSNameFromSelector() in favor of
247 sel_get_name().
248
249 * Source/NSInvocation.m
250 (-[NSInvocation invokeWithTarget:])
251 Use GSObjCSuper() in favor of class_get_super_class(),
252 GSObjCIsInstance() in favor of object_is_instance()
253 (-[NSInvocation description]):
254 Use GSClassNameFromObject in favor of object_get_class_name().
255 Avoid buffer overflow by using snprintf() in favor of sprintf().
256 (-[NSInvocation initWithSelector:]):
257 Use GSNameFromSelector() in favor of sel_get_name().
258
259 * Source/NSObject.m
260 (GSDescriptionForInstanceMethod), (GSDescriptionForClassMethod),
261 (+[NSObject superclass], (-[NSObject description]),
262 (-[NSObject doesNotRecognizeSelector:]),
263 (-[NSObject performSelector:]),
264 (-[NSObject performSelector:withObject:]),
265 (+[NSObject setVersion:], -[NSObject error:]),
266 (-[NSObject doesNotRecognize:], -[NSObject isClass]),
267 (-[Object description]):
268 Use GSNameFromSelector() in favor of sel_get_name(),
269 GSObjCSuper() in favor of class_get_super_class(),
270 GSClassNameFromObject() in favor of object_get_class_name() and
271 GSObjCIsClass() in favor of object_is_class().
272
273 * Source/NSProxy.m
274 (+[NSProxy description]), (-[NSProxy description]),
275 (+[NSProxy superclass]), (-[NSProxy forwardInvocation:]),
276 (-[NSProxy init], (-[NSProxy notImplemented:]),
277 (-[NSProxy performSelector:]),
278 (-[NSProxy performSelector:withObject:]),
279 (-[NSProxy performSelector:withObject:withObject:]):
280 Use GSClassNameFromObject() in favor of object_get_class_name(),
281 GSObjCSuper() in favor of class_get_super_class() and
282 GSNameFromSelector() in favor of sel_get_name().
283
284 * Source/Additions/GSCategories.m
285 (-[NSObject notImplemented:]), (-[NSObject shouldNotImplement:]),
286 (-[NSObject subclassResponsibility:]):
287 Use GSNameFromSelector() in favor of sel_get_name() and
288 GSClassNameFromObject() in favor of object_get_class_name().
289
290 * Source/Additions/GSCompatibility.h
291 (GS_RANGE_CHECK): Use GSNameFromSelector() in favor of
292 sel_get_name().
293
294 * Source/Additions/GSCompatibility.m
295 (+[NSObject notImplemented:]):
296 Use GSNameFromSelector() in favor of sel_get_name() and
297 GSClassNameFromObject() in favor of object_get_class_name().
298
299 * Source/Additions/GSObjCRuntime.m
300 (GSObjCMethodNames), (GSObjCAddMethods):
301 Use GSNameFromSelector() in favor of sel_get_name().
302
303 * Testing/nsbundle.m (main): Update to reflect filesystem change.
304 Use GSClassNameFromObject() in favor of object_get_class_name().
305
306 * Testing/nsconnection_server.m
307 Use GSNameFromSelector() in favor of sel_get_name().
308
309 * Testing/Makefile.postamble: Build before checking.
310
311 2003-08-23 Adam Fedor <fedor@gnu.org>
312
313 * Version 1.7.3
314
315 2003-08-23 Adam Fedor <fedor@gnu.org>
316
317 * configure.ac: Fix mistake in checking for ffi.
318
319 * Tools/AGSIndex.m: Add NSString compatibility interface
320 when compiling on apple-apple-apple.
321 * Tools/AGSHtml.m: idem.
322
323 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
324
325 * Source/NSObject.m: Trivial cast to avoid compiler warnings.
326
327 2003-08-20 13:59 Alexander Malmberg <alexander@malmberg.org>
328
329 Clean up code to remove warnings issued by (what will become)
330 gcc 3.4.
331
332 * Source/GSString.m, Source/NSArchiver.m, Source/NSAttributedString.m,
333 Source/NSRunLoop.m: Don't return values from methods returning void.
334
335 2003-08-19 Adam Fedor <fedor@gnu.org>
336
337 * configure.ac: Clarify ffi interface warnings and disable_do on
338 apple-apple-apple.
339 Fixes #4824
340
341 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
342
343 * Source/NSObject.m: Move hacked methods for getting protocol
344 method info into functions so we can use them without going
345 through the ObjC runtime.
346 * Source/NSDistantObject.m: When attempting to check protocols,
347 use functions from NSObject.m if the protocol has not been
348 properly initialised (its class pointer is 0x2) as is the case
349 for all but very recent versions of the compiler.
350 FIXME ... this code should be removed at some future date when
351 all common systems have shipped with a working compiler for
352 a while.
353
354 2003-08-13 David Ayers <d.ayers@inode.at>
355
356 * Headers/Additions/GNUstepBase/preface.h: Remove generated
357 file that should have been ignored by entry in .cvsignore.
358 * Source/UnixFileHandle.m: Remove obsolete file.
359
360 2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
361
362 * Tools/gdnc.1: Updated man pages, fixed typos, unified format
363 and layout. Man pages are now installed unprocessed as it should be.
364 * Tools/gdomap.8: ditto.
365
366 2003-08-12 Yen-Ju Chen <yjchenx@hotmail.com>
367
368 * Source/Additions/Unicode.m (GetAvailableEncodings): Include
369 last encoding.
370
371 2003-08-08 Richard Frith-Macdonald <rfm@gnu.org>
372
373 * Source/Additions/GSXML.m: save and restore libxml global settings
374 before/after each parse operation.
375
376 2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
377
378 * Source/NSString.m: nodeToObject() fix error in handling escape
379 sequences in strings ... only treat a backslash specially when it
380 is immediately followed by 'U' or 'u' and four hexadecimal digits.
381 ensure data ia deallocated promptly.
382 * Source/GSCompatibility.m: match changes to property list escapes
383 * Source/Additions/GSXML.m: change ownership policy so that nodes
384 are owned by theri parents, never by siblings ... prevent stack
385 overflow deallocating nodes in long documents.
386 * Tools/plist-0_9.dtd: document unicode escapes.
387
388 2003-08-02 Adam Fedor <fedor@gnu.org>
389
390 * Source/NSProxy.m: Fix limit.h -> limits.h
391
392 2003-08-02 Yen-Ju Chen <yjchenx@hotmail.com>
393
394 * Resources/Languages/TraditionalChinese,
395 Resources/TraditionalChinese.lproj: New
396 * Resources/GNUmakefile: Install them.
397
398 2003-08-01 Richard Frith-Macdonald <rfm@gnu.org>
399
400 * Source/NSProxy.m: Include limits.h for UINT_MAX
401 * Source/NSProcessInfo.m: Avoid crash when given invalid argument list
402 * Source/NSString.m: Minor cleanup for coding standards and remove
403 pointer dereferencing of object which causes problems with new
404 compiler
405 Problems reported by Alexander and Roland
406
407 2003-07-31 David Ayers <d.ayers@inode.at>
408
409 * Created tag 'pre-header-reorg-20030731'.
410
411 * Headers/Additions/GNUstepBase: New directory.
412 * Headers/Additions/GNUstepBase/unicode: Ditto.
413 * Headers/Foundation: Ditto.
414 * Headers/gnustep/base: Obsoleted.
415 * Headers/gnustep/unicode: Ditto.
416
417 * Headers/Additions/GNUstepBase/DistributedObjects.h: Moved here
418 from Headers/gnustep/base.
419 * Headers/Additions/GNUstepBase/GCObject.h: Ditto.
420 * Headers/Additions/GNUstepBase/GNUstep.h: Ditto.
421 * Headers/Additions/GNUstepBase/GSCategories.h: Ditto.
422 * Headers/Additions/GNUstepBase/GSConfig.h.in: Ditto.
423 * Headers/Additions/GNUstepBase/GSFileHandle.h: Ditto.
424 * Headers/Additions/GNUstepBase/GSIArray.h: Ditto.
425 * Headers/Additions/GNUstepBase/GSIMap.h: Ditto.
426 * Headers/Additions/GNUstepBase/GSLocale.h: Ditto.
427 * Headers/Additions/GNUstepBase/GSMime.h: Ditto.
428 * Headers/Additions/GNUstepBase/GSObjCRuntime.h: Ditto.
429 * Headers/Additions/GNUstepBase/GSUnion.h: Ditto.
430 * Headers/Additions/GNUstepBase/GSXML.h: Ditto.
431 * Headers/Additions/GNUstepBase/Unicode.h: Ditto.
432 * Headers/Additions/GNUstepBase/behavior.h: Ditto.
433 * Headers/Additions/GNUstepBase/config.h.in: Ditto.
434 * Headers/Additions/GNUstepBase/objc-gnu2next.h: Ditto.
435 * Headers/Additions/GNUstepBase/preface.h.in: Ditto.
436 * Headers/Additions/GNUstepBase/thr-mach.h: Ditto.
437 * Headers/Additions/GNUstepBase/.cvsignore: Ditto.
438
439 * Headers/Additions/GNUstepBase/unicode/caseconv.h: Moved here
440 from Headers/gnustep/unicode.
441 * Headers/Additions/GNUstepBase/unicode/cop.h: Ditto.
442 * Headers/Additions/GNUstepBase/unicode/cyrillic.h: Ditto.
443 * Headers/Additions/GNUstepBase/unicode/decomp.h: Ditto.
444 * Headers/Additions/GNUstepBase/unicode/gsm0338.h: Ditto.
445 * Headers/Additions/GNUstepBase/unicode/latin2.h: Ditto.
446 * Headers/Additions/GNUstepBase/unicode/latin9.h: Ditto.
447 * Headers/Additions/GNUstepBase/unicode/nextstep.h: Ditto.
448 * Headers/Additions/GNUstepBase/unicode/thai.h: Ditto.
449
450 * Headers/Foundation/Foundation.h: Moved here from
451 Headers/gnustep/base.
452 * Headers/Foundation/NSArchiver.h: Ditto.
453 * Headers/Foundation/NSArray.h: Ditto.
454 * Headers/Foundation/NSAttributedString.h: Ditto.
455 * Headers/Foundation/NSAutoreleasePool.h: Ditto.
456 * Headers/Foundation/NSBitmapCharSet.h: Ditto.
457 * Headers/Foundation/NSBundle.h: Ditto.
458 * Headers/Foundation/NSByteOrder.h: Ditto.
459 * Headers/Foundation/NSCalendarDate.h: Ditto.
460 * Headers/Foundation/NSCharacterSet.h: Ditto.
461 * Headers/Foundation/NSClassDescription.h: Ditto.
462 * Headers/Foundation/NSCoder.h: Ditto.
463 * Headers/Foundation/NSConcreteNumber.h: Ditto.
464 * Headers/Foundation/NSConnection.h: Ditto.
465 * Headers/Foundation/NSData.h: Ditto.
466 * Headers/Foundation/NSDate.h: Ditto.
467 * Headers/Foundation/NSDateFormatter.h: Ditto.
468 * Headers/Foundation/NSDebug.h: Ditto.
469 * Headers/Foundation/NSDecimal.h: Ditto.
470 * Headers/Foundation/NSDecimalNumber.h: Ditto.
471 * Headers/Foundation/NSDictionary.h: Ditto.
472 * Headers/Foundation/NSDistantObject.h: Ditto.
473 * Headers/Foundation/NSDistributedLock.h: Ditto.
474 * Headers/Foundation/NSDistributedNotificationCenter.h: Ditto.
475 * Headers/Foundation/NSEnumerator.h: Ditto.
476 * Headers/Foundation/NSException.h: Ditto.
477 * Headers/Foundation/NSFileHandle.h: Ditto.
478 * Headers/Foundation/NSFileManager.h: Ditto.
479 * Headers/Foundation/NSFormatter.h: Ditto.
480 * Headers/Foundation/NSGeometry.h: Ditto.
481 * Headers/Foundation/NSHashTable.h: Ditto.
482 * Headers/Foundation/NSHost.h: Ditto.
483 * Headers/Foundation/NSInvocation.h: Ditto.
484 * Headers/Foundation/NSKeyValueCoding.h: Ditto.
485 * Headers/Foundation/NSLock.h: Ditto.
486 * Headers/Foundation/NSMapTable.h: Ditto.
487 * Headers/Foundation/NSMethodSignature.h: Ditto.
488 * Headers/Foundation/NSNotification.h: Ditto.
489 * Headers/Foundation/NSNotificationQueue.h: Ditto.
490 * Headers/Foundation/NSNull.h: Ditto.
491 * Headers/Foundation/NSNumberFormatter.h: Ditto.
492 * Headers/Foundation/NSObjCRuntime.h: Ditto.
493 * Headers/Foundation/NSObject.h: Ditto.
494 * Headers/Foundation/NSPathUtilities.h: Ditto.
495 * Headers/Foundation/NSPort.h: Ditto.
496 * Headers/Foundation/NSPortCoder.h: Ditto.
497 * Headers/Foundation/NSPortMessage.h: Ditto.
498 * Headers/Foundation/NSPortNameServer.h: Ditto.
499 * Headers/Foundation/NSProcessInfo.h: Ditto.
500 * Headers/Foundation/NSProtocolChecker.h: Ditto.
501 * Headers/Foundation/NSProxy.h: Ditto.
502 * Headers/Foundation/NSRange.h: Ditto.
503 * Headers/Foundation/NSRunLoop.h: Ditto.
504 * Headers/Foundation/NSScanner.h: Ditto.
505 * Headers/Foundation/NSSerialization.h: Ditto.
506 * Headers/Foundation/NSSet.h: Ditto.
507 * Headers/Foundation/NSString.h: Ditto.
508 * Headers/Foundation/NSTask.h: Ditto.
509 * Headers/Foundation/NSThread.h: Ditto.
510 * Headers/Foundation/NSTimeZone.h: Ditto.
511 * Headers/Foundation/NSTimer.h: Ditto.
512 * Headers/Foundation/NSURL.h: Ditto.
513 * Headers/Foundation/NSURLHandle.h: Ditto.
514 * Headers/Foundation/NSUndoManager.h: Ditto.
515 * Headers/Foundation/NSUserDefaults.h: Ditto.
516 * Headers/Foundation/NSUtilities.h: Ditto.
517 * Headers/Foundation/NSValue.h: Ditto.
518 * Headers/Foundation/NSZone.h: Ditto.
519
520 * Soruce/GSFormat.h: Ditto.
521 * Source/GSInvocation.h: Moved here from Headers/gnustep/base.
522 * Source/objc-load.h: Ditto.
523
524 * configure.ac: Update to new header structure.
525 * configure: Regenerated.
526 * Makefile.postamble: Remove handling of header-links and update
527 to new header structure.
528
529 * Source/GNUmakefile: Update to new header structure.
530 Always install GSFileHandle.h, GSLocal.h, GSUnion.h, GSIArray.h,
531 GSIMap.h, preface.h as public headers.
532 Do not install DistributedObjects.h, objc-load.h and thr-mach.h.
533 Install GSMime.h and GSXML.h in GNUstepBase instead of Foundation.
534 Include CompatibilityHeaders.make makefile fragement.
535
536 * Source/Makefile.preamble: Update to new header structure.
537 Split HEADER_DIR into HEADER_DIR_BASE and HEADER_DIR_FND.
538
539 * Source/Makefile.postamble: Update to new header structure.
540 Do not install mframe.h.
541 Update for HEADER_DIR split.
542
543 * Source/CompatibilityHeaders.make: New file which installs dummy
544 headers in the place of the old headers, warning about obsoleting
545 the old location and includeing the header from its new location.
546
547 * Source/Additions/Makefile.preamble: Update to new header
548 structure. Only add -I../../Headers for *-gnu-*.
549
550 * Source/*.[hm]: Update includes for new header structure.
551 * Source/Additions/*.m: Ditto.
552 * Source/mframe/mframe.head: Ditto.
553 * Source/.cvsignore: Ignore config.h.
554
555 * Testing/Makefile.preamble: Update to new header structure. Only
556 add -I../../Headers for *-gnu-*.
557 * Testing/*.[hm]: Update includes for new header structure.
558
559 * Tools/Makefile.preamble: Update to new header structure. Only
560 add -I../../Headers for *-gnu-*.
561 * Tools/*.[hm]: Update includes for new header structure.
562
563 * Tools/make_strings/GNUmakefile.preamble: Update to new header
564 structure. Only add -I../../Headers for *-gnu-*.
565
566 * Source/DocMakefile: Update to new header structure.
567
568 * SSL/Makefile.preamble: Update to new header structure.
569 * SSL/GSSSLHandle.m: Ditto.
570
571 * Examples/Makefile.preamble: Use -I../Headers only with *-gnu-*.
572
573 * Headers/gnustep/base/UnixFileHandle.h: Removed.
574 * Headers/gnustep/base/WindowsFileHandle.h: Ditto.
575
576 2003-07-30 Richard Frith-Macdonald <rfm@gnu.org>
577
578 * Tools/gdomap.c: Some security fixes and tweaks.
579
580 2003-07-28 Richard Frith-Macdonald <rfm@gnu.org>
581
582 * Source/GSFFCALLInvocation.m: Make exception text more meaningful
583 * Source/GSFFIInvocation.m: ditto
584 * Source/Additions/GSXML.m: Add a couple of convenience methods to
585 test node type.
586 * Source/Additions/GSMime.m: Add convenience method for putting
587 a new header in a document.
588 * Source/NSCalendarDate.m: Tweak to avoid useless compiler warning.
589 * Source/NSRunLoop.m: ditto
590 * Source/NSURL.m: ditto
591 * Source/Additions/GSMime.m: ditto
592 * Source/Additions/Unicode.m: ditto
593
594
595 2003-07-27 Gregory John Casamento <greg_casamento@yahoo.com> &
596 Alexander Malmberg <alexander@malmberg.org>
597
598 * Source/Additions/GSObjCRuntime.m: GSObjCMethodNames was not
599 returning all methods for the object given.
600
601 2003-07-27 Richard Frith-Macdonald <rfm@gnu.org>
602
603 * Source/NSInvocation.m: implement methodSignatureForSelector for
604 proxy.
605
606 2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
607
608 * Source/GSFFCALLInvocation.m: Add evil hack to cope with cases
609 where type info was not available and we assumed a method returning
610 an id but the actual method returned void.
611 * config/procfs.m4: Test for procfs using 'mount'
612
613 2003-07-25 Richard Frith-Macdonald <rfm@gnu.org>
614
615 * Source/NSDistributedNotificationCenter.m: Partially reverted last
616 change ... seemed to cause problems on some systems.
617 * Tools/gdnc.m: ditto.
618 * Source/NSDebug.m: Small thread safely fix.
619 * Source/NSThread.m: Avoid multiple copies of housekeeping timer.
620 * Source/NSConnection.m: Fix thread related memory leak leaving
621 an NSRunLoop in a connection when the connection is no longer
622 using it.
623 * Source/NSURL.m: retain handle while doing background load.
624
625 2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
626
627 * Source/NSObject.m: Implement methodSignatureForSelector for zombies
628 * Source/DocMakefile: Only remove directory with stamp for 'clean'
629
630 2003-07-22 Adam Fedor <fedor@gnu.org>
631
632 * Version 1.7.2
633
634 2003-07-22 Jeremy Bettis <jeremy@deadbeef.com>
635
636 * Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
637 Fix macro to return the method list.
638
639 2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
640
641 * Tools/AGSHtml.m: Don't output authors heading if not needed.
642 * Source/NSUser.m: Use HOMEPATH in preference to USERPROFILE for
643 OPENSTEP compatibility and because USERPROFILE generally doesn't
644 work due to the presence of spaces.
645 * Headers/gnustep/base/NSDebug.h: Minor documentation fix.
646 * Headers/gnustep/base/NSHashTable.h: ditto
647 * Headers/gnustep/base/NSPort.h: ditto
648 * Headers/gnustep/base/NSPortNameServer.h: ditto
649 * Source/DocMakefile: Document serialization classes
650 * Source/NSDebug.m: Fix broken cross reference
651 * Source/NSLog.m: ditto
652 * Source/NSMessagePortNameServer.m: Tidied
653 * Source/NSPortNameServer.m: Tidied and documented.
654 * Source/NSSocketPortNameServer.m: Documented and fixed methods
655 to return NO on failure rather than raising exception.
656 * Source/NSUndoManager.m: Fix documentation markup errors.
657
658 2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
659
660 * Source/Additions/Unicode.m (GROW): Fix shifting of pointers into
661 local buffer for case where we are leaving room for a null terminator.
662 This avoids moving pointer back before start of buffer.
663
664 2003-07-21 Roland Schwingel <Roland.Schwingel@onevision.de>
665
666 * Source/libgnustep-base-entry.m: Don't create unnecessary window.
667
668 Mon Jul 21 11:03:48 2003 Nicola Pero <n.pero@mi.flashnet.it>
669
670 * Tools/HTMLLinker.m: Removed.
671 * Tools/HTMLLinker.html: Removed.
672 * Tools/GNUmakefile: Do not compile it.
673
674 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
675
676 * Source/NSProxy.m: Implement essential methods for a proxy to be
677 vended over an NSConnection.
678
679 2003-07-20 17:27 Alexander Malmberg <alexander@malmberg.org>
680
681 * Source/NSConnection.m (-invalidate): Don't kill the targetToCached
682 timer when invalidating a connection.
683
684 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
685
686 * Source/NSThread.m: Separate out sleeping into a more efficient
687 function and improve use of nanosleep
688 * Source/NSLock.m: Use new private sleeping function from NSThread.m
689 and rewrite code to be more responsive, especially for cases where
690 locks are heavily used for rapid interaction between threads.
691 * Tools/thread.m: Test lockBeforeDate
692
693 2003-07-17 Richard Frith-Macdonald <rfm@gnu.org>
694
695 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) use the
696 NSThread method to sleep rather than re-implementing it.
697 * configure.ac: Check for nanosleep()
698 * Headers/Foundation/config.h.in: Add entry for nanosleep
699 * Source/NSThread.m: Use nanosleep if available.
700 * Headers/Foundation/NSProcessInfo.h: Added new methods -
701 ([-setDebugLoggingEnabled:]) and ([-debugLoggingEnabled])
702 * Source/NSProcessInfo.m: ditto
703
704 2003-07-16 David Ayers <d.ayers@inode.at>
705
706 * config.make.in: Default to builing -baseadd on non *-gnu-*
707 configurations.
708
709 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
710
711 * Headers/gnustep/base/NSArray.h: Add methods for creating from URL
712 * Headers/gnustep/base/NSDictionary.h: ditto
713 * Source/NSArray.m: ditto
714 * Source/NSDictionary.m: ditto
715
716 2003-07-15 David Ayers <d.ayers@inode.at>
717
718 * Headers/gnustep/base/NSUndoManager.h: Add
719 NSUndoCloseGroupingRunLoopOrdering enum. Replace instance
720 variables _registeredUndo with _runLoopGroupingPending and
721 _actionName with _unused1.
722 * Source/NSUndoManager.m: Added documentation.
723 Added actionName instance variable to PrivateUndoGroup.
724 (-[PrivateUndoGroup actionName]): New method.
725 (-[PrivateUndoGroup setActionName]): Ditto.
726 (-[PrivateUndoGroup dealloc]): Release new instance variable.
727 (-[PrivateUndoGroup initWithParent:]): Initialize actionName.
728 (-[NSUndoManager forwardInvocation]): Implicitly call
729 beginUndoGrouping if group has not been setup and we are grouping
730 by events. Register _loop: invocation if none is already pending
731 and if we are grouping by event.
732 (-[NSUndoManager registerUndoWithTarget:selector:object]): Ditto.
733 (-[NSUndoManager methodSignatureForSelector:]): Overriden to
734 forward request to target supplied by
735 -prepareWithInvocationTarget: if available.
736 (-[NSUndoManager _loop:]): Set flag to determine pending _loop:
737 processing.
738 (-[NSUndoManager init]): Removed access to _actionName. Have
739 receiver default to group by event.
740 (-[NSUndoManager dealloc]): Ditto.
741 (-[NSUndoManager enableUndoRegistration]): Remove access to
742 _registeredUndo.
743 (-[NSUndoManager redo]): Simplified implementation.
744 (-[NSUndoManager redoActionName:]: Retrieve action name from first
745 grouping of the redo stack.
746 (-[NSUndoManager redoMenuTitleForUndoActionName:]): Add comment
747 about localization.
748 (-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
749 (-[NSUndoManager setActionName:]): Forward call to current
750 grouping.
751 (-[NSUndoManager undoActionName:]: Retrieve action name from first
752 grouping of the undo stack.
753 (-[NSUndoManager setRunLoopModes:]): Use correct run loop ordering
754 and set flag for pending _loop: invocation.
755 (-[NSUndoManager undoNestedGroup]): Removed special case handling
756 of _registeredUndo. Raise NSInternalInconsistencyException if
757 grouping is still in progress. Simplified implementation.
758
759 2003-07-15 Alexander Malmberg <alexander@malmberg.org>
760
761 * Source/NSConnection.m: When creating new connection with registered
762 name on host, ensure that send and receive ports are of same class.
763 * Source/NSMessagePort.m: New for private local connections.
764 * Source/NSMessagePortNameServer.m: New for private local connections.
765 * Source/NSPortNameServer.m: Made abstract
766 * Source/NSSocketPortNameServer.m: Concrete version based on original.
767 * Source/NSSocketPort.m: GSTcpPort.m renamed
768 Alexanders modifications added by RFM and altered slightly to use
769 NSSocketPort by default and to refrain from building new code under
770 windows, so this *shouldn't* break any existing code I hope.
771
772 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
773
774 * Source/NSDistributedNotificationCenter.m: Use loopback network
775 interface for local center.
776 * Tools/gdnc.m: ditto.
777
778 2003-07-11 David Ayers <d.ayers@inode.at>
779
780 * Source/GNUmakefile: Make GNUstep.h public.
781 * Source/Additions/GSXML.m: Use cached NSString class variable.
782 * Source/Additions/GSObjCRuntime.m
783 (GSCGetInstanceVariableDefinition): Make more robust.
784
785 2003-07-11 Richard Frith-Macdonald <rfm@gnu.org>
786
787 * Headers/Foundation/NSPort.h: Tweak for mingw and correct conditional
788 compilation to only include NSSocketPort for MacOS-X
789 * Source/GSFileHandle.m: Incorporate S.J.Chuns mingw fixes with huge
790 simplification to avoid lots of conditional compilation.
791 * Source/GSTcpPort.m: ditto.
792 * Source/NSSocketPort.m: ditto.
793
794 2003-07-11 02:33 Alexander Malmberg <alexander@malmberg.org>
795
796 * Source/NSAssertionHandler.m: Use the correct key to store the
797 NSAssertionHandler in the thread dictionary, and document the
798 storing and the key.
799
800 2003-07-09 15:54 Alexander Malmberg <alexander@malmberg.org>
801
802 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): Make sure
803 dst isn't set to NULL in GSToUnicode, too. Make sure it is set if
804 an allocated buffer turns out not to need resizing.
805
806 2003-07-09 02:41 Alexander Malmberg <alexander@malmberg.org>
807
808 * Source/GSString.m (getCString_u): Rewrite to correctly handle
809 all encodings, the range argument, and the leftoverRange attribute.
810
811 * Source/Additions/Unicode.m (GSToUnicode): Clarify the documentation
812 (and fix a few typos in it).
813 (GSFromUnicode): Clarify the documentation. Signal failure correctly
814 from the utf8 encoder. Make sure dst isn't set to NULL if zone is
815 NULL but *size is 0.
816
817 2003-07-08 Richard Frith-Macdonald <rfm@gnu.org>
818
819 * Source/NSString.m: Avoid using atof() in parsing plists ... we
820 don't want libc localised handling of numbers.
821
822 2003-07-08 03:44 Alexander Malmberg <alexander@malmberg.org>
823
824 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): In iconv
825 case, only try to expand the buffer when we really need extra space.
826 Correctly handle all output from flushing iconv.
827
828 2003-07-08 03:03 Alexander Malmberg <alexander@malmberg.org>
829
830 * Source/NSConnection.m (-locateLocalTarget:): The targetToCached
831 map contains CachedLocalObject:s, not GSLocalCounter:s. Extract the
832 GSLocalCounter from the CachedLocalObject.
833
834 Unlock the global_proxies_gate lock before calling
835 -proxyWithLocal:connection:.
836
837 2003-07-07 David Ayers <d.ayers@inode.at>
838
839 * Headers/gnustep/base/GSObjCRuntime.h:
840 * Source/Additions/GSObjCRuntime.m:
841 Added typedef for GSIVar.
842 (GSCGetInstanceVariableDefinition): New function.
843 (GSObjCGetInstanceVariableDefinition): Ditto.
844 * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20
845 invocations.
846
847 2003-07-07 Richard Frith-Macdonald <rfm@gnu.org>
848
849 * Source/Source/GSFFCallInvocation.m: gs_objc_msg_forward() trust the
850 selector we are given. Rather than trying to find a better one.
851 * Source/GSFFIInvocation.m: ditto
852 * Source/NSScanner.m: Add a couple of internal utility functions.
853 * Source/NSString.m: Fix floatValue and doubelValue to use non
854 localised conversions.
855 * Source/GSString.m: ditto.
856
857 2003-07-06 Adam Fedor <fedor@gnu.org>
858
859 * configure.ac: Add -R flags for netbsdelf
860
861 2003-07-06 Richard Frith-Macdonald <rfm@gnu.org>
862
863 * Tools/AGSHtml.m: Fix bug in linking to category methods from index.
864 * Tools/AGSParser.m: Improve parsing of clock comments.
865
866 2003-07-05 Adam Fedor <fedor@gnu.org>
867
868 * configure.ac: Add flags for openbsd like freebsd.
869
870 * Tools/gdnc.1, Tools/gdomap.8: Unzip
871 * Tools/GNUmakefile (MAN1_PAGES): gzip man pages.
872
873 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
874
875 * Source/NSDistributedNotificationCenter.m: Use -setProtocolForProxy:
876 and implement dummy class to work around bug in old compilers.
877 * Tools/gdnc.m: ditto
878 * Source/NSDistantObject.m: Fix for calls to remote system where we
879 can get no method signature.
880 Documented.
881
882 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
883
884 * Source/Source/GSFFCallInvocation.m: Modify to use local type
885 information if it looks like it has come from a protocol ...
886 as too much existing code is broken in that DO server objects
887 which are supposed to conform to protocols in fact do not!
888 * Source/GSFFIInvocation.m: ditto
889
890 Fri Jul 4 11:09:37 2003 Nicola Pero <n.pero@mi.flashnet.it>
891
892 * NSTimeZones/Makefile.postamble: Make the code more robust by
893 adding rule to create the installation dirs.
894
895 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
896
897 * Source/NSDistantObject.m: Avoid recursion fetching method signature.
898 * Source/NSObject.m: ([methodSignatureForSelector:]) modified to take
899 into account any protocols that the receiver conforms to, so the
900 returned signature has the fullest possible type information.
901 Category Protocol(Fixup) ... evil hack to work around runtime bug.
902 * Source/GSFFCallInvocation.m: Fetch method signature from receiver
903 in preference to using other info. Ensures we have correct info for
904 the object we are sending the message to.
905 * Source/GSFFIInvocation.m: ditto
906
907 2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
908
909 * Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
910 year to 0001 s the gregorian calendar does not go earlier.
911 ([-initWithYear:month:day:hour:minute:second:timeZone:]) don't
912 override a previously set calendar format.
913
914 2003-07-01 David Ayers <d.ayers@inode.at>
915
916 * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
917 * Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
918 * Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m to
919 GSObjCRuntime.m and declaration from NSObjCRuntime.h to
920 GSObjCRuntime.h.
921
922 2003-07-01 Richard Frith-Macdonald <rfm@gnu.org>
923
924 * Source/Additions/Unicode.m: Flush iconv buffer at end of conversion
925 to handle obscure cases where it says it has converted all the input
926 sequence, but hasn't written all the output.
927
928 2003-06-30 Richard Frith-Macdonald <rfm@gnu.org>
929
930 * Source/Additions/Unicode.m: Add 'UTF-7' so iconv can be used to
931 handle utf7 if available.
932 * Tools/AGSParser.m: Don't always strip asterisks from comments,
933 Check first line of comment to see if it has one first.
934
935 2003-06-28 15:48 Alexander Malmberg <alexander@malmberg.org>
936
937 * Tools/make_strings/StringsFile.h, Tools/make_strings/StringsFile.m,
938 Tools/make_strings/make_strings.h, Tools/make_strings/make_strings.m:
939 Clean up handling of key matching and ignoring. Add
940 --aggressive-remove option.
941
942 2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
943
944 * Source/NSBundle.m: Don't NSLog when we can't find a localizable
945 file ... log only when bundle debugging is turned on.
946
947 2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
948
949 * Source/NSPipe.m: Fix descriptor leak ... close on dealloc
950
951 2003-06-25 Adam Fedor <fedor@gnu.org>
952
953 * Tools/gdnc.1.gz: New file (from Martin Brecher).
954 * Tools/GNUmakefile (MAN1_PAGES): Install it
955
956 2003-06-24 David Ayers <d.ayers@inode.at>
957
958 * Source/GSFFCallInvocation.m
959 (gs_method_for_receiver_and_selector): Replace usage of
960 class_get_instance/class_method with GSGetInstance/ClassMethod and
961 Method_t with GSMethod.
962 (gs_find_by_receiver_best_typed_sel): Ditto.
963 (GSInvocationCallback): Ditto.
964 ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
965 * Source/GSFFIInvocation.m
966 (gs_method_for_receiver_and_selector): Ditto.
967 (gs_find_by_receiver_best_typed_sel): Ditto.
968 (GSFFIInvocationCallback): Ditto.
969 ([GSFFIInvocation -invokeWithTarget:]): Ditto.
970 * Source/NSConnection.m
971 ([NSConnection -_service_typeForSelector:]): Ditto.
972 * Source/NSInvocation.m
973 ([NSInvocation -invokeWithTarget:]): Ditto.
974 * Source/NSObject.m
975 ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
976 ([NDObject -methodSignatureForSelector:]): Ditto.
977 ([NSObject +descriptionForInstanceMethod:]): Ditto.
978 ([NSOnject -descriptionForMethod:]: Ditto.
979 * Source/NSProxy.m
980 ([NSProxy +methodSignatureForSelector:]): Ditto.
981 ([NSProxy -methodSignatureForSelector:]): Ditto.
982 * Source/NSDistantObject.m
983 ([NSObject -selectorTypeForProxy:]): Ditto.
984 ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
985 implementation to check class methods instead of instance methods.
986
987 2003-06-23 Adam Fedor <fedor@gnu.org>
988
989 * Testing/diningPhilosophers.m: Locking and output fixes (from
990 Chris Beaham).
991 * Testing/create-abbrevs, Testing/create-regions: Remove.
992
993 2003-06-23 Adam Fedor <fedor@gnu.org>
994
995 * Source/NSProcessInfo.m (+load): use the KVM library where
996 available when procfs doesn't work (FreeBSD, others?) (patch from
997 Pete French <pete@twisted.org.uk>).
998
999 2003-06-21 David Ayers <d.ayers@inode.at>
1000
1001 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
1002 class_get_class_method they cannot work due to different
1003 parameter expectations. Added mapping from NeXT->GNU runtime.
1004 The other way does not work. Added simple mapping for internal
1005 flush function __objc_update_dispatch_table_for_class and
1006 _objc_flush_caches.
1007
1008 * Headers/gnustep/base/GSObjCRuntime.h/m:
1009 Added typedef for GSMethod.
1010 (GSGetInstanceMethod): New function.
1011 (GSGetClassMethod): Ditto.
1012 (GSGetInstanceMethodNotInherited): Ditto.
1013 (GSGetClassMethodNotInherited): Ditto.
1014 (GSFlushMethodCacheForClass): Ditto.
1015 (flush_method_cache_for_class): Removed function which is replaced
1016 by GSFlushMethodCacheForClass.
1017 (GSObjCGetMethod): Removed function which is replaced by
1018 GSGetInstanceMethod and GSGetClassMethod.
1019 (GSObjCReplaceMethod): Removed function.
1020
1021 2003-06-21 Adam Fedor <fedor@gnu.org>
1022
1023 * configure.ac: Check for libkvm.
1024 * configure, Headers/gnustep/base/config.h.in: Regen.
1025
1026 2003-06-20 Adam Fedor <fedor@gnu.org>
1027
1028 * Documentation/Makefile.postamble (after-clean): Remove Base
1029 and BaseAdditions
1030
1031 2003-06-20 Richard Frith-Macdonald <rfm@gnu.org>
1032
1033 * Source/GSString.m: Allow more length when converting unicode
1034 string to integer.
1035 * Source/NSObject.m: ([methodSignatureForSelector:]) return nil if
1036 the receiver does not implement it.
1037
1038 2003-06-20 Adam Fedor <fedor@gnu.org>
1039
1040 * Documentation/Makefile.postamble (after-clean):
1041 * Version 1.7.1
1042
1043 * Source/DocMakefile (after-all): Check if Base exists before
1044 removing it.
1045
1046 2003-06-19 Adam Fedor <fedor@gnu.org>
1047
1048 * GNUmakefile (SUBPROJECTS): Revert last change.
1049
1050 2003-06-19 Andrew Ruder <aeruder@yahoo.com>
1051
1052 * Source/Additions/Unicode.m: Increase size of table by one to
1053 avoid error if all possible character encodings were supported.
1054 Never happens ... but might conceivably do so one day.
1055
1056 2003-06-18 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
1057
1058 * configure.ac: Add --with--ffcall-include=PATH and
1059 --with-ffcall-library=PATH options
1060
1061 2003-06-18 Richard Frith-Macdonald <rfm@gnu.org>
1062
1063 * Source/Additions/GSXML.m: Implement -description for nodes.
1064
1065 2003-06-17 Adam Fedor <fedor@gnu.org>
1066
1067 * GNUmakefile (SUBPROJECTS): Add Documentation
1068
1069 2003-06-17 Chris Vetter <chrisv@web4inc.com>
1070
1071 * Tools/AGSHtml.m: Tidy up formatting of author output.
1072
1073 2003-06-16 13:36 Alexander Malmberg <alexander@malmberg.org>
1074
1075 * Source/GSFormat.m (GSFormat()): Free malloc memory in all cases
1076 after handling %s, %S, %@ with strings longer than 8192 characters.
1077
1078 2003-06-15 Richard Frith-Macdonald <rfm@gnu.org>
1079
1080 * Source/NSAutoreleasePool.m: Documented.
1081 * Headers/gnustep/base/NSObject.h: Documented memory management macros
1082 for autogsdoc.
1083
1084 2003-06-14 Richard Frith-Macdonald <rfm@gnu.org>
1085
1086 * Source/Additions/GSMime.m: Better attempt to infer charset from
1087 string only when needed.
1088 Don't insert transer encoding header if not needed.
1089
1090 2003-06-11 Adam Fedor <fedor@gnu.org>
1091
1092 * Source/NSNumberFormatter.m
1093 (-getObjectValue:forString:errorDescription:): Simple
1094 implementation.
1095
1096 2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
1097
1098 * Source/NSString.m
1099 In [initWithContentsOfURL:] changed variable test to unichar* to
1100 keep the compiler quiet.
1101 * Source/Additions/Unicode.m
1102 In GSFromUnicode() removed type cast of *_conv_base as the
1103 gcc 3.3 compiler complained about it.
1104
1105 2003-06-07 David Ayers <d.ayers@inode.at>
1106
1107 * Headers/gnustep/base/GSObjCRuntime.h
1108 * Source/Additions/GSObjCRuntime.m : White space patch to better
1109 conform with GNU coding standards and improve readability.
1110 Wrap deprecated API in NO_DEPRICATED macro.
1111
1112 2003-06-06 David Ayers <d.ayers@inode.at>
1113
1114 * Source/GSArray.m: Change syntax of include <> to "" for
1115 local headers. Change base/ to gnustep/base/ in includes.
1116 Source/GSAttributedString.m, Source/GSCompatibility.m,
1117 Source/GSCountedSet.m, Source/GSDictionary.m,
1118 Source/GSFFCallInvocation.m, Source/GSFFIInvocation.m,
1119 Source/GSFTPURLHandle.m, Source/GSFileHandle.m,
1120 Source/GSFormat.m, Source/GSHTTPURLHandle.m,
1121 Source/GSLocale.m, Source/GSSet.m,
1122 Source/GSString.m, Source/GSTcpPort.m,
1123 Source/GSTemplateValue.m, Source/GSValue.m,
1124 Source/NSArchiver.m, Source/NSArray.m,
1125 Source/NSAssertionHandler.m, Source/NSAttributedString.m,
1126 Source/NSAutoreleasePool.m, Source/NSBitmapCharSet.m,
1127 Source/NSBundle.m, Source/NSCalendarDate.m,
1128 Source/NSCallBacks.h, Source/NSCallBacks.m,
1129 Source/NSCharacterSet.m, Source/NSClassDescription.m,
1130 Source/NSCoder.m, Source/NSConcreteNumber.m,
1131 Source/NSConnection.m, Source/NSCopyObject.m,
1132 Source/NSCountedSet.m, Source/NSData.m,
1133 Source/NSDate.m, Source/NSDateFormatter.m,
1134 Source/NSDebug.m, Source/NSDecimal.m,
1135 Source/NSDecimalNumber.m, Source/NSDictionary.m,
1136 Source/NSDistantObject.m, Source/NSDistributedLock.m,
1137 Source/NSDistributedNotificationCenter.m, Source/NSEnumerator.m,
1138 Source/NSException.m, Source/NSFileHandle.m,
1139 Source/NSFileManager.m, Source/NSFormatter.m,
1140 Source/NSGeometry.m, Source/NSHashTable.m,
1141 Source/NSHost.m, Source/NSInvocation.m,
1142 Source/NSKeyValueCoding.m, Source/NSLock.m,
1143 Source/NSLog.m, Source/NSMapTable.m,
1144 Source/NSMethodSignature.m, Source/NSNotification.m,
1145 Source/NSNotificationCenter.m, Source/NSNotificationQueue.m,
1146 Source/NSNull.m, Source/NSNumber.m,
1147 Source/NSNumberFormatter.m, Source/NSObjCRuntime.m,
1148 Source/NSObject.m, Source/NSPage.m,
1149 Source/NSPipe.m, Source/NSPort.m,
1150 Source/NSPortCoder.m, Source/NSPortMessage.m,
1151 Source/NSPortNameServer.m, Source/NSProcessInfo.m,
1152 Source/NSProtocolChecker.m, Source/NSProxy.m,
1153 Source/NSRange.m, Source/NSRunLoop.m,
1154 Source/NSScanner.m, Source/NSSerializer.m,
1155 Source/NSSet.m, Source/NSSocketPort.m,
1156 Source/NSString.m, Source/NSTask.m,
1157 Source/NSThread.m, Source/NSTimeZone.m,
1158 Source/NSTimer.m, Source/NSURL.m,
1159 Source/NSURLHandle.m, Source/NSUnarchiver.m,
1160 Source/NSUndoManager.m, Source/NSUser.m,
1161 Source/NSUserDefaults.m, Source/NSValue.m,
1162 Source/NSZone.m, Source/UnixFileHandle.m,
1163 Source/callframe.h, Source/callframe.m,
1164 Source/cifframe.h, Source/cifframe.m,
1165 Source/externs.m, Source/libgnustep-base-entry.m,
1166 Source/mframe.m, Source/objc-gnu2next.m,
1167 Source/objc-load.m, Source/preface.m,
1168 Source/thr-mach.m, Source/thr-pthread.m,
1169 Source/Additions/GCArray.m, Source/Additions/GCDictionary.m,
1170 Source/Additions/GCObject.m, Source/Additions/GSCategories.m,
1171 Source/Additions/GSCompatibility.h, Source/Additions/GSMime.m,
1172 Source/Additions/GSNextRuntime.m, Source/Additions/GSObjCRuntime.m,
1173 Source/Additions/GSXML.m, Source/Additions/Unicode.m,
1174 Source/Additions/behavior.m: Idem.
1175
1176 2003-06-03 Adam Fedor <fedor@gnu.org>
1177
1178 * Source/mframe/powerpc/darwin: New file.
1179
1180 2003-06-02 Richard Frith-Macdonald <rfm@gnu.org>
1181
1182 * Source/mframe.m: Allow for structure names in type specifications.
1183
1184 2003-05-29 Adam Fedor <fedor@gnu.org>
1185
1186 * configure.ac: Pass on original CPPFLAGS to config.mak.
1187 * config/objc-con-autoload.m4: Test for constructors directly.
1188 * config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.
1189
1190 * Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.
1191
1192 * Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
1193 around START so it will compile on GCC 2.
1194
1195 * Testing/nsbundle.m: Errors to stdout.
1196
1197 2003-05-26 Adam Fedor <fedor@gnu.org>
1198
1199 * Testing/Makefile.postamble (check): Define to run all
1200 checkable tools (ones that exit in a finite amount of time).
1201 * Testing/README: New.
1202
1203 2003-05-23 Richard Frith-Macdonald <rfm@gnu.org>
1204
1205 * Source/Additions/GSXML.m: Some work towards making it possible to
1206 subclass GSTreeSAXHandler cleanly, so you can build a tree
1207 representation of a document but still handle data incrementally.
1208
1209 2003-05-22 Richard Frith-Macdonald <rfm@gnu.org>
1210
1211 * Source/Additions/GSXML.m: ([GSXPathContext-evaluateExpression:])
1212 Test for NULL return from libxml and return nil rather than trying
1213 to dereference the null pointer.
1214 New features to record error and warning messages added.
1215 * Headers/Foundation/GSXML.h: ([GSXMLParser-messages]) returns saved
1216 messages. ([GSXMLParser-saveMessages:]) Says whether to save messages
1217 or write to stderr.
1218 * Source/Additions/GSObjCRuntime.m: Hack to fix type clash in
1219 declaration of __objc_exec_class()
1220
1221 2003-05-19 Adam Fedor <fedor@gnu.org>
1222
1223 * Version 1.7.0.
1224 * Documentation/news.texi: Updated.
1225
1226 * NSObject: Revert last change
1227
1228 2003-05-20 David Ayers <d.ayers@inode.at>
1229
1230 * Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
1231 GSObjCReplaceMethod()): Removed declarations for release as these
1232 functions will be replaced by a more consistent approach.
1233
1234 2003-05-19 Adam Fedor <fedor@gnu.org>
1235
1236 * Source/NSObject (GSAtExit): New function.
1237 (+initialize): Use it with atexit.
1238
1239 * Source/objc-load.m (objc_invalidate_dtable): Remove.
1240 (objc_load_callback): Don't call it.
1241
1242 2003-05-16 Richard Frith-Macdonald <rfm@gnu.org>
1243
1244 * Source/NSDate.m: Documented.
1245
1246 2003-05-14 Richard Frith-Macdonald <rfm@gnu.org>
1247
1248 * Source/Additions/GSMime.m: Fix occasional error unfolding
1249 headers.
1250
1251 2003-05-14 16:50 Alexander Malmberg <alexander@malmberg.org>
1252
1253 * Source/NSUser.m, Headers/gnustep/base/NSPathUtilities.h: Add
1254 GSApplicationSupportDirectory constant for
1255 NSSearchPathForDirectoriesInDomains.
1256
1257 2003-05-14 David Ayers <d.ayers@inode.at>
1258
1259 * Tools/Makefile.postamble: Added safe handling of empty
1260 MAN1_PAGES variable.
1261 * Tools/pl2link.m (main): Initialize variable to supress
1262 compiler warning.
1263
1264 2003-05-13 Richard Frith-Macdonald <rfm@gnu.org>
1265
1266 * Source/Tools/gdnc.m: Tidy termination code.
1267 * Source/Additions/GSMime.m: ([GSMimeDocument-copyWithZone:])
1268 corrected implementation to do a real copy rather than just a
1269 retain.
1270
1271 2003-05-13 15:57 Alexander Malmberg <alexander@malmberg.org>
1272
1273 * Tools/gdnc.m (ihandler): Declare variables.
1274
1275 2003-05-12 Richard Frith-Macdonald <rfm@gnu.org>
1276
1277 * Source/Additions/GSXML.m: New -escapedContent method to provide
1278 text with the five entities libxml automatically substitutes even
1279 when told not to.
1280 * Tools/AGSHtml.m: Use -escapedContent to get text suitable for
1281 output in html documents.
1282
1283 2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
1284
1285 * Tools/gdomap.8.gz: Added man page adapted from internal docs by
1286 martin@mb-itconsulting.com
1287 * Tools/GNUmakefile: Declare man pages to be installed
1288 * Tools/Makefile.postamble: Install man pages
1289
1290 2003-05-08 Richard Frith-Macdonald <rfm@gnu.org>
1291
1292 * Tools/xmlparse.m: new utility to parse/validate xml, for testing
1293 gsdoc and new style property lists etc.
1294 * Source/NSBundle.m: ([+allBundles]) Make sure the main bundle is
1295 present. Add some documentation.
1296
1297 2003-05-07 Richard Frith-Macdonald <rfm@gnu.org>
1298
1299 * Source/GSString.m: ([-initWithCStringNocopy:length:freeWhenDone:])
1300 check encodings and convert to unicode if necessary. Thanks to
1301 Alaxander for pointing out bug.
1302
1303 2003-05-06 Richard Frith-Macdonald <rfm@gnu.org>
1304
1305 * Source/GSString.m: Fix call to GSFormat() to append to a mutable
1306 string whose contents should not be freed.
1307 Removed bogus TODO comments saying code broken when defEnc!=intEnc
1308 in routines which should never be called when defEnc!=intEnc anyway.
1309 * Source/NSData.m: Remove windows specific code for simplification
1310 as the standard code actually works as well or better according to
1311 <Roland.Schwingel@onevision.de>
1312 * Tools/AGSParser.m: Ignore forward declarations of protocols.
1313
1314 2003-05-05 15:28 Alexander Malmberg <alexander@malmberg.org>
1315
1316 * Source/Unicode.m (GSFromUnicode, GSToUnicode): Make sure the
1317 internal work buffer isn't returned to the caller.
1318
1319 * Source/NSString.m: Clarify some comments, and mark code that is
1320 broken when defEnc!=intEnc.
1321
1322 (fillHole, makeHole): Remove STABLE_MEMCPY. Use memmove.
1323
1324 (transmute): Set the zone to the default zone when transmuting.
1325 Check the return value from GSToUnicode.
1326
1327 (getCharacters_c): Check the return value from GSToUnicode.
1328
1329 2003-05-02 Richard Frith-Macdonald <rfm@gnu.org>
1330
1331 * Source/GSTcpPort.m: ([dispatch]) catch exceptions handling the port
1332 message, so as to ensure that locking won't get out of sync.
1333
1334 Mon Apr 28 12:09:44 BST 2003 Nicola Pero <nicola@brainstorm.co.uk>
1335
1336 * NSCharacterSets/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR):
1337 Define using the full relative path.
1338 * Resources/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR): Idem.
1339
1340 2003-04-27 Adam Fedor <fedor@gnu.org>
1341
1342 * Updates for filesystem change.
1343 * GNUmakefile (GNUSTEP_MAKEFILES): Remove
1344 * Documentation/GNUmakefile, Examples/GNUmakefile,
1345 NSTimeZones/GNUmakefile, SSL/GNUmakefile, SSL/configure.ac,
1346 Source/DocMakefile, Source/GNUmakefile,
1347 Source/Additions/GNUmakefile, Testing/GNUmakefile,
1348 Tools/GNUmakefile: Idem.
1349 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
1350 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
1351 Replace Headers with Library/Headers.
1352 * Source/mframe/configure.ac: Idem.
1353 * NSCharacterSets/GNUmakefile: Use resource-set.make.
1354 * Resources/GNUmakefile: Idem.
1355 * Resources/GNUmakefile.postamble: Remove before/after install cmds.
1356
1357 * Source/NSBundle (+pathForLibraryResource:ofType:inDirectory:):
1358 New method.
1359 (+pathForGNUstepResource:...): Depreciate.
1360 * Source/Additions/GSXML.m: Use it to find DTDs.
1361
1362 * Source/GSLocale.m (GSLanguageFromLocale): Use +bundleForLibrary
1363 to locate resources.
1364 * Source/NSCharacterSet.m (+_bitmapForSet:number:): Idem.
1365 * Source/NSUserDefaults.m (+standardUserDefaults): Idem.
1366 * Source/Additions/Unicode.m (GSEncodingFromLocale): Idem.
1367 * Source/NSTimeZone.m (_time_zone_path): New function.
1368 (+systemTimeZone, +getAbbreviationFile, +getRegionsFile,
1369 +getTimeZoneFile): Use it.
1370
1371 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Change
1372 libsDir to "Library/Libraries", docDir to "Library/Documentation".
1373
1374 * Source/Additions/GSCompatibility.[hm]: Change
1375 +pathForGNUstepResource:... to +pathForLibraryResource:...
1376
1377 2003-04-27 Richard Frith-Macdonald <rfm@gnu.org>
1378
1379 * Source/NSUserDefaults.m: ([synchronize]) fix locking to permit
1380 recursive call to this method, ensuring the distributed lock is
1381 only obtained once.
1382 * Headers/gnustep/base/GSCategories.h: removed varargs helper macros
1383 * Headers/gnustep/base/GSObjCRuntime.h: and put them here.
1384
1385 2003-04-17 Richard Frith-Macdonald <rfm@gnu.org>
1386
1387 * Headers/gnustep/base/GSCategories.h:
1388 * Headers/gnustep/base/NSCalendarDate.h:
1389 * Headers/gnustep/base/NSData.h:
1390 * Headers/gnustep/base/NSObject.h:
1391 * Headers/gnustep/base/NSString.h:
1392 * Headers/gnustep/base/NSValue.h:
1393 * Headers/gnustep/base/Foundation.h:
1394 Tidied use of GSCategories.
1395 * Source/NSFileManager.m: ([linkPath:toPath:handler:]) implemented.
1396
1397 2003-04-16 Richard Frith-Macdonald <rfm@gnu.org>
1398
1399 * Headers/gnustep/base/NSUserDefaults.h: remove timer ivar, now unused.
1400 * Source/NSRunLoop.m: Support a housekeeping timer which is ignored
1401 for purposes of deciding whether the loop shoiuld terminate.
1402 * Source/NSThread.m: Set up housekeeping timer to trigger housekeeping
1403 notifications in the default mode of the runloop of the main thread.
1404 * Source/NSUserDefaults.m: Use housekeeping notifications to trigger
1405 synchronise rather than using timers ... avoid circular dependencies.
1406 Thanks to Derek Zhou for bug report.
1407
1408 2003-04-15 Richard Frith-Macdonald <rfm@gnu.org>
1409
1410 * Source/NSData.m: Experimantal disable ReadFile and WriteFile on MINGW
1411
1412 2003-04-14 Richard Frith-Macdonald <rfm@gnu.org>
1413
1414 * Source/NSObjCRuntime.m: NSClassFromString(), NSSelectorFromString()
1415 avoid doing an unnecessary autorelease.
1416
1417 2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
1418
1419 * Source/callframe.m:
1420 * Source/cifframe.m:
1421 Fix error in returning pointer to struct values.
1422
1423 2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
1424
1425 * Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
1426 decoded selector name ... the NSPortCoder now does it.
1427 ([typeForSelector:]) return autoreleased copy of the type string.
1428
1429 2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
1430
1431 * Source/callframe.m:
1432 * Source/cifframe.m:
1433 Fix error in returning data via pointer arguments ... was writing to
1434 wrong memory location.
1435 * Source/GSFFCallInvocation.m: minor tidy up.
1436 * Source/NSArchiver.m: Structure encoding/decoding fixes.
1437 * Source/NSData.m: Structure encoding/decoding fixes.
1438 * Source/NSPortCoder.m: Structure encoding/decoding fixes.
1439 Manage memory used by decoded pointers (including c-strings).
1440 * Source/NSUnarchiver.m: Structure encoding/decoding fixes.
1441 * Source/NSConnectiom.m: Don't try to autorelease decoded pointers.
1442 * Testing/server.h: Make large structure have tricky layout.
1443 * Testing/nsconnection_client.m: Add harder structure test.
1444 * Testing/nsconnection_server.m: Add harder structure test.
1445
1446 2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
1447
1448 * Source/GSTcpPort.m:
1449 * Source/NSData.m:
1450 * Source/NSSerializer.m:
1451 * Source/NSURL.m:
1452 Replace __alignof__() with calls to objc_alignof_type() so that if
1453 __alignof__() is broken we can hope that the objc runtime library
1454 has a workaround.
1455
1456 2003-04-08 Richard Frith-Macdonald <rfm@gnu.org>
1457
1458 * Headers/gnustep/base/Foundation.h: Include GNUstep extensions
1459 from GSCategories.h
1460
1461 2003-04-08 15:37 Alexander Malmberg <alexander@malmberg.org>
1462
1463 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
1464 Fix assignment of 'found' in %z handling.
1465
1466 2003-04-07 13:21 Alexander Malmberg <alexander@malmberg.org>
1467
1468 * configure.ac: Link directly to the foreign function interfaces
1469 section in the build guide in the error message for missing ffi
1470 library.
1471
1472 * configure: Regenerate.
1473
1474 2003-04-07 Richard Frith-Macdonald <rfm@gnu.org>
1475
1476 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST and
1477 GS_USEIDPAIRLIST): Complete implementation and testing.
1478 * Source/NSDictionary.m: Use macro.
1479
1480 2003-04-06 23:30 Alexander Malmberg <alexander@malmberg.org>
1481
1482 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST): Make the
1483 implementation match the actual use in NSArray and NSSet. Clarify
1484 documentation.
1485
1486 2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
1487
1488 * Source/NSThread.m: (GSPerformHolder) execute perform operations
1489 in the same order in which they were submitted.
1490 * Headers/GNUstep/base/GSCategories.h: Added two new macros to
1491 agressively optimise the use of varargs when initialising arrays
1492 etc by avoiding multiple allocation/reallocation of memory to hold
1493 arrays of objects taken from the varargs list.
1494 * Source/NSArray.m: Use the new macros.
1495
1496 2003-04-04 Stephane Corthesy <stephane@sente.ch>
1497
1498 * macosx/config.h, macosx/preface.h: Update.
1499 * macosx/gnustep.pbproj/project/pbxproj: Use relative paths.
1500
1501 2003-04-04 Adam Fedor <fedor@gnu.org>
1502
1503 * Source/Additions/GSCompatibility.m ([NSString(GSCompatibility)
1504 -substringFromRange:]): Add.
1505
1506 2003-04-04 Richard Frith-Macdonald <rfm@gnu.org>
1507
1508 * Headers/Foundation/NSInvocation: Added NS_INVOCATION asnd NS_MESSAGE
1509 * Source/NSInvocation.m: Support the two new macros. Documented.
1510 * Testing/nsinvocation.m: Trivial tests added.
1511 * Documentation/OpenStepCompliance.gsdoc: Updated.
1512 * Source/NSConnection.m: ([-forwardInvocation:forProxy:]) set
1513 invocation target explicitly, in case this was called as a result
1514 of a manual setup of the invocation rather than real forwarding.
1515
1516 2003-04-03 Adam Fedor <fedor@gnu.org>
1517
1518 * Documentation/OpenStepCompliance.gsdoc: New file.
1519 * Documentation/Base.gsdoc: Reference it.
1520 * Source/DocMakefile: Update.
1521
1522 2003-04-02 Stephane Corthesy <stephane@sente.ch>
1523
1524 * Source/Additions/GSCompatibility.m: Fix up incorrectly applied
1525 patch.
1526 * Source/Additions/Unicode.m (GSEncodingName): Don't define if
1527 NeXT_Foundation_Library.
1528
1529 2003-04-02 Adam Fedor <fedor@gnu.org>
1530
1531 * Headers/gnustep/base/Foundation.h: Revert previous change
1532
1533 2003-04-02 Richard Frith-Macdonald <rfm@gnu.org>
1534
1535 * Source/Additions/GSXML.m: ([-content]) fix to produce string
1536 content of elements rather than just text nodes.
1537 * Source/GSMime.m: ([-rawMimeData]) ensure that the transfer encoding
1538 of a multipart document is 8bit if any of its constituent parts are
1539 8bit or binary
1540
1541 22003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
1542
1543 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
1544 add support for %F millisecond initialisation.
1545 make trivial simplification of timezone handling.
1546 on failure to parse zone using %z, use local time zone.
1547
1548 2003-03-31 Stephane Corthesy <stephane@sente.ch>
1549
1550 * Source/Additions/GCArray.m: Replace retain/release by
1551 RETAIN/RELEASE macros.
1552 * Source/Additions/GCDictionary.m: Idem.
1553
1554 * Source/Additions/GSCompatibility.h: Add NSBundle category.
1555 * Source/Additions/GSCompatibility.m (GSEncodingName): New.
1556 Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
1557
1558 * Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
1559 (GSObjCMethodNames): Cast method_name to const char *.
1560
1561 2003-03-31 Adam Fedor <fedor@gnu.org>
1562
1563 * Headers/gnustep/base/Foundation.h: Add GSCategories.h
1564
1565 2003-03-30 Adam Fedor <fedor@gnu.org>
1566
1567 * Headers/gnustep/base/NSString.h: (stringByTrimmingLeadSpaces,
1568 stringByTrimmingTailSpaces, stringByTrimmingSpaces,
1569 stringByReplacingString:withString:, replaceString:withString:,
1570 trimLeadSpaces, trimTailSpaces, trimSpaces): Move to GSCategories.h
1571 * Headers/gnustep/base/NSValue.h (valueFromString): Idem.
1572 * Source/NSNumber.m (valueFromString:): Move to GSCategories.m
1573 * Source/NSString.m: Idem as above.
1574 * Source/Additions/GSCategories.m: Methods moved here.
1575 * Source/Additions/GSCompatibility.h: Rearrange, add
1576 NSDistantObject, NSFileHandle category, GSCurrentThreadDictionary().
1577 * Source/Additions/GSCompatibility.m: Add GSCurrentThreadDictionary
1578 NSDistantObject, and NSFileHandle methods.
1579
1580 2003-03-28 20:48 Alexander Malmberg <alexander@malmberg.org>
1581
1582 * configure.ac: Fail the configure if neither ffcall nor ffi is
1583 available unless --disable-do is passed to configure. Add a message
1584 about why a user most likely does not want to build with ffcall and
1585 ffi, and with a link to the build guide.
1586
1587 * configure: Regenerate.
1588
1589 2003-03-27 Adam Fedor <fedor@gnu.org>
1590
1591 * Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.
1592
1593 2003-03-27 Stephane Corthesy <stephane@sente.ch>
1594
1595 * Tools/autogsdoc.m, AGSHtml.m, AGSIndex.m, AGSOutput.m: Add
1596 MacOSX compatibility headers.
1597 * Tools/AGSParser.m: Idem.
1598 (-log:arguments:): Replace strinWithFormat:arguments: with
1599 initWithFormat:arguments:
1600
1601 2003-03-26 David Ayers <d.ayers@inode.at>
1602
1603 * Source/NSKeyValueCoding.m: Added documentation.
1604 * Source/NSKeyValueCoding.m ([NSObject -takeValue:forKey:]),
1605 ([NSObject -valueForKey:]): Corrected search order of instance
1606 variables.
1607
1608 2003-03-25 Stephane Corthesy <stephane@sente.ch>
1609
1610 * macosx: New directory holding MacOSX project for building
1611 Additions framework.
1612
1613 2003-03-25 Richard Frith-Macdonald <rfm@gnu.org>
1614
1615 * Source/NSURL.m: When loading a resource and attempting to notify
1616 a client, check that the client responds to the selectors before
1617 sending messages to it.
1618 Make ([-loadResourceDataNotifyingClient:usingCache:]) work in
1619 background (non-blocking).
1620
1621 2003-03-25 David Ayers <d.ayers@inode.at>
1622
1623 * Headers/gnustep/base/GSObjCRuntime.h
1624 * Source/Additions/GSObjCRuntime.m (GSObjCGetMethod),
1625 (GSObjCReplaceMethod): Added new functions.
1626 * Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
1627 Renamed static function for NeXT runtime to better reflect
1628 reality.
1629 (GSObjCAddMethods): Updated usage.
1630 (search_for_method_in_class): New static function for GNU runtime.
1631 (flush_method_cache_for_class): New static function.
1632 * Headers/gnustep/base/GSCategories.h: Included necessary headers.
1633
1634 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1635
1636 * Completed merge of changes from 1.6.0 branch.
1637
1638 2003-03-17 Adam Fedor <fedor@gnu.org>
1639
1640 * Version 1.6.0
1641
1642 2003-03-17 Adam Fedor <fedor@gnu.org>
1643
1644 * Testing/LoadMe.m (afterLoad): Use description, not name.
1645 * Testing/nsfilemanager.m: Print some output. Clean up.
1646 * Testing/scanner.m, nstimezone.m, release.m: Idem.
1647
1648 * config/config.vsprintf, config/config.vasprintf: Rewrite to
1649 properly call a variable argument function.
1650
1651 2003-03-14 Adam Fedor <fedor@Eldorado.local.>
1652
1653 * Testing/nsarray.m (compare): Un-nest function.
1654
1655 * Source/NSProcessInfo.m (-operatingSystem): Add darwin.
1656
1657 2003-03-13 Richard Frith-Macdonald <rfm@gnu.org>
1658
1659 * Source/NSFileManager.m: ([-isDeletableFileAtPath:]) Fix for the
1660 case where the path is a file in the current directory.
1661
1662 2003-03-11 Adam Fedor <fedor@gnu.org>
1663
1664 * configure.ac: Fix some typos (Reported by
1665 Alexander Malmberg <alexander@malmberg.org>).
1666
1667 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
1668
1669 * Headers/gnustep/base/NSSet.h: Added a few non-openstep declarations
1670 * Source/GSCompatibility.m: OAppend() sort dictionary keys even if
1671 locale is nil.
1672
1673 2003-03-06 Richard Frith-Macdonald <rfm@gnu.org>
1674
1675 * Source/NSData.m: Fix reference to zone of deallocated object.
1676 Bug reported by Roland Schwingel
1677 * Source/NSFileManager.m: Fix typo (using logical or rather than
1678 bitwise or) in call to access()
1679 Bug reported by Roland Schwingel
1680
1681 2003-02-17 <woudshoo@agilisys.com>
1682
1683 * GNUmakefile (GNUSTEP_TARGET_INSTALL_PREFIX)
1684 (GNUSTEP_TARGET_LOCAL_ROOT, GNUSTEP_TARGET_NETWORK_ROOT): On
1685 mingw32 replace / with \\057 to avoid the msys shell translating /
1686 with \.
1687
1688 2003-03-04 Richard Frith-Macdonald <rfm@gnu.org>
1689
1690 * config/config.vasprintf.c:
1691 * config/config.vsprintf.c: Correct the number of arguments passed
1692 so that modern compilers don't fail on these files. A compiler
1693 failure is seen by configure as the same as a runtime failure, and
1694 configure would infer incorrect runtime behavior!
1695
1696 2003-03-01 Richard Frith-Macdonald <rfm@gnu.org>
1697
1698 * Source/NSSerializer.m: Fix crash when deserializing a corrupt or
1699 truncated archive ... raise exception rather than segfaulting.
1700 Added code to recognize newer versions of the serialiser format and
1701 give up if they are encountered and cannot be handled.
1702 * Source/GSTcpPort.m: Added code to recognise newer versions of the
1703 port format and give up if they are encountered and cannot be handled.
1704 This allows for the addition of decent versioning in later formats.
1705
1706 2003-02-28 Richard Frith-Macdonald <rfm@gnu.org>
1707
1708 * Tools/AGSParser.m: Fix to understand __attribute__() in declaration.
1709
1710 2003-02-27 Richard Frith-Macdonald <rfm@gnu.org>
1711
1712 * Tools/AGSIndex.m: Convert nil content to empty strings before use.
1713 * Tools/AGSHtml.m: ditto ... prevent some crashes.
1714
1715 2003-02-24 Richard Frith-Macdonald <rfm@gnu.org>
1716
1717 * Source/NSProcessInfo.m (_gnu_process_args): Tidied patch and add
1718 code to print error and abort if argv is null under unixy systems.
1719
1720 2003-02-24 Tom Koelman <tkoelman@xs4all.nl>
1721
1722 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1723 on MingW) set executable name using module name info.
1724
1725 2003-02-23 Richard Frith-Macdonald <rfm@gnu.org>
1726
1727 * Source/NSUser.m: Don't prepend HOMEDRIVE to HOMEPATH if HOMEPATH
1728 already contains a drive letter.
1729
1730 2003-02-22 Richard Frith-Macdonald <rfm@gnu.org>
1731
1732 * Source/Additions/GSObjCRuntime.m: GSObjCSetValue() correct to call
1733 ([unableToSetNilForKey:]) when it should.
1734 * Source/NSDecimalNumber.m: Override initialisers from NSNumber to
1735 create NSDecimalNumber objects ... bug report by David Ayers.
1736
1737 2003-02-21 Richard Frith-Macdonald <rfm@gnu.org>
1738
1739 * Source/NSDistributedNotificationCenter.m: ([_connect]) make the
1740 connection to the server usable from any thread.
1741
1742 2003-02-19 Adam Fedor <fedor@gnu.org>
1743
1744 * Source/NSKeyValueCoding.m ([NSObject -handleQueryWithUnboundKey:]):
1745 Raise NSUnknownKeyException.
1746 ([NSObject -handleTakeValue:forUnboundKey:]): Idem.
1747
1748 2003-02-18 Adam Fedor <fedor@gnu.org>
1749
1750 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Cast
1751 invocation to access ivars correctly. Check validReturn.
1752
1753 2003-02-18 Tom Koelman <tkoelman@xs4all.nl>
1754
1755 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1756 on MingW) set executable name to empty string.
1757
1758 2003-02-17 Richard Frith-Macdonald <rfm@gnu.org>
1759
1760 * Source/GSString.m: (fillHole) fix memory overrun (read only) and
1761 argument order errors (in code not normally compiled) spotted by
1762 Manuel Guesdon.
1763
1764
1765 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1766
1767 * Start merged of changes from 1.6.0 branch.
1768
1769
1770 2003-03-20 Richard Frith-Macdonald <rfm@gnu.org>
1771
1772 * Source/GSMime.m: (_unfoldHeader) Check that input pointer doesn't
1773 run past end of data.
1774
1775 2003-03-05 15:50 Alexander Malmberg <alexander@malmberg.org>
1776
1777 * Source/NSBundle.m (+initialize) [PROCFS_EXE_LINK]: Make sure that
1778 the link is a path before using it.
1779
1780 2003-03-03 Richard Frith-Macdonald <rfm@gnu.org>
1781
1782 * Headers/gnustep/base/objc-gnu2next.h: Added some trivial reverse
1783 mappings to use gnu runtime from old next code.
1784
1785 2003-03-02 Richard Frith-Macdonald <rfm@gnu.org>
1786
1787 * Headers/gnustep/base/GSObjCRuntime.h:
1788 * Source/GSFFIInvocation.m:
1789 * Source/GSString.m:
1790 * Source/NSInvocation.m:
1791 * Source/NSObject.m:
1792 * Source/NSPortCoder.m:
1793 * Source/NSUnarchiver.m:
1794 * Source/Additions/GSObjCRuntime.m:
1795 * Source/Additions/Unicode.m:
1796 Rename _fastMallocBuffer() to GSAutoreleasedBuffer() for clarity
1797 and consistency. Moved implementation from NSObject.m to
1798 GSObjCRuntime.m so this is available for use withing the Additions
1799 library when built standalone.
1800 Add a couple of trivial functions to list ivars and methods.
1801
1802 2003-02-19 Mirko Viviani <mirko.viviani@rccr.cremona.it>
1803
1804 * Headers/gnustep/base/NSArray.h: fixed declarations.
1805
1806 2003-02-19 David Ayers <d.ayers@inode.at>
1807
1808 * Source/NSArray.m (compare()),
1809 ([-sortedArrayUsingFunction:context:]),
1810 ([-sortedArrayUsingFunction:context:hint:]),
1811 ([-sortUsingFunction:context:]): Changed declarations
1812 and implementation to account for 64 bit architectures.
1813 * Headers/gnustep/base/NSArray.h: Ditto.
1814 * Source/NSKeyValueCoding.m ([-takeStoredValuesFromDictionary:]):
1815 Implemented.
1816 * Headers/gnustep/base/NSKeyValueCoding.h: Ditto.
1817
1818 2003-02-18 Richard Frith-Macdonald <rfm@gnu.org>
1819
1820 * NSObject.m: ([+instancesRespondToSelector:]),([-respondsToSelector])
1821 Return NO when given a null selector unless in MacOS-X compatibility
1822 mode. rewritten from patch by Willem Rein Oudshoorn.
1823
1824 2003-02-16 Adam Fedor <fedor@gnu.org>
1825
1826 * Version 1.5.2
1827 * Documentation: Update.
1828
1829 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Autorelease
1830 and invalidate the return value object before returning.
1831
1832 2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
1833
1834 * Source/GSDictionary.m: ([-isEqualToDictionary:]) implement optimised
1835 version which does not need to create a key enumerator.
1836 * Source/GSArray.m: ditto
1837 * Source/GSSet.m: similar minor optimisations.
1838
1839 2003-02-15 15:53 Alexander Malmberg <alexander@malmberg.org>
1840
1841 * Source/NSRunLoop.m (-performSelector:target:argument:order:modes:):
1842 Order the performers correctly (lower order values first). Correct
1843 the documentation.
1844
1845 2003-02-13 Richard Frith-Macdonald <rfm@gnu.org>
1846
1847 * Source/NSTimeZone.m: Fix memory leak when making absolute
1848 timezone for offset 0.
1849
1850 2003-02-11 Tom Koelman <tkoelman@xs4all.nl>
1851
1852 * Source/NSTask.m: Make arguments into windows quoted strings for
1853 mingw. Adjustments to conform to GNUstep style and use static
1854 functions to avoid adding methods by RFM.
1855
1856 2003-02-11 Adam Fedor <fedor@gnu.org>
1857
1858 * configure (LDFLAGS): Remove extra spaces that cause problems
1859 on Darwin/gcc
1860
1861 i2003-02-11 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1862
1863 * Headers/Foundation/NSFileManager.h: Added a little bit to the
1864 * documentation of the NSFileManagerHandler protocol.
1865 (some documentation markup fixes by RFM also)
1866 * Source/NSFileManager.m ([NSFileManager -copyPath:toPath:handler:]):
1867 use new private methods to cope with handlers that do not implement
1868 the informal protocol. Pass more information to the handler in case
1869 of an error.
1870 ([NSFileManager -removeFileAtPath:handler:]): see above
1871 ([NSFileManager -movePath:toPath:handler:]): see above
1872 ([NSFileManager -_copyPath:toPath:handler:]): see above
1873 ([NSFileManager -_copyFile:toFile:handler:]): see above, also fixed
1874 leaking of file descriptors in case of error without a handler.
1875 ([NSFileManager -_sendToHandler:handlerwillProcessPath:path]):
1876 new method
1877 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1878 errorinPath:path]): new method
1879 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1880 errorinPath:pathfromPath:fromPathtoPath:toPath]): new method
1881
1882 2003-02-11 Richard Frith-Macdonald <rfm@gnu.org>
1883
1884 * Source/NSFileManager.m: ([+attributesAt:traverseLink:]) check for
1885 null pointer and return nil. Crash reported by Tom Koelman.
1886
1887 2003-02-10 13:56 Alexander Malmberg <alexander@malmberg.org>
1888
1889 * Source/NSRunLoop.m [HAVE_POLL] (-pollUntil:within:): Set fdEnd
1890 to pollfds_count instead of setting it separately (which was being
1891 done incorrectly).
1892
1893 2003-02-07 19:21 Alexander Malmberg <alexander@malmberg.org>
1894
1895 * Source/GSAttributedString (-setAttributes:range:): Fix memory
1896 leak.
1897
1898 2003-02-06 Richard Frith-Macdonald <rfm@gnu.org>
1899
1900 * Sourcewin32-def.top: Remove recently added external functions.
1901 * Source/libgnustep-base.def.in: Regenerated to just contain
1902 public classes. The manual hacks are no longer needed as the
1903 make system now handles inclusion of symbols from subprojects
1904 in dlls.
1905
1906 2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
1907
1908 * Sourcewin32-def.top: Manually added external functions.
1909 * Source/libgnustep-base.def.in: Regenerated to combine external
1910 functions and all public classes.
1911 * Source/NSConnection.m: ([-init]) creates a connection usable as
1912 a server.
1913
1914 2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
1915
1916 * Source/NSBundle.m: Implement new MacOS-X isLoaded method.
1917 * Headers/gnustep/base/NSBundle.h: ditto
1918
1919 2003-02-04 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1920
1921 * Headers/gnustep/base/GSInvocation.h (CLEAR_RETURN_VALUE_IF_OBJECT):
1922 * New macro, if invocation returns object release it.
1923 (RETAIN_RETURN_VALUE): New macro, if invocation returns object
1924 release it.
1925 * Source/NSInvocation.m ([NSInvocation -dealloc]): Implement RELEASE
1926 * return object
1927 ([NSInvocation -setReturnValue:]) Implement RETAIN/RELEASE on return
1928 object ([NSInvocation -invokeWithTarget:]): Implement RETAIN/RELEASE
1929 on return object,
1930 fixed _validReturn flag setting
1931 * Source/GSFFIInvocation.m ([GSFFIInvocation -invokeWithTarget:]):
1932 Fix _validReturn flag setting, Implement RETAIN/RELEASE on return
1933 object.
1934 * Source/GSFFCallInvocation.m ([GSFFCallInvocation
1935 * -invokeWithTarget:]):
1936 Fix _validReturn flag setting. Implement RETAIN/RELEASE on return
1937 object.
1938
1939 2003-02-04 Adam Fedor <fedor@Eldorado.local.>
1940
1941 * Headers/gnustep/base/.cvsignore: Don't include config.h.in
1942 * Documentation/.cvsignore: Don't include *texi
1943 * Source/Additions/GSXML.h: Fix up GSXLM.h include on MacOSX
1944
1945 2003-02-02 Stephane Corthesy <stephane@sente.ch>
1946 Adam Fedor <fedor@gnu.org>
1947
1948 * Headers/gnustep/base/GSObjCRuntime.h (GS_STATIC_INLINE): Rename
1949 from FOUNDATION_STATIC_INLINE
1950 * Headers/gnustep/base/GCObject.h, GSXML.h: include
1951 Foundation/Foundation.h on MacOSX.
1952 * Source/Additions/GCArray.m, GCDictionary.m, GCObject.m: Idem.
1953 * Source/Additions/GSCompatibility.[hm]: Change category names to
1954 GSCompatibility.
1955 * Source/Additions/GSNextRuntime.m (ROUND): Expand inline due to
1956 gcc 3.1 compile problems.
1957 * Source/Additions/Unicode.m: Don't define GetEncodingName on MacOSX
1958 Added #ifdef HAVE_ICONV around definition of iconv_stringforencoding().
1959
1960 2003-02-01 Richard Frith-Macdonald <rfm@gnu.org>
1961
1962 * Source/Additions/Unicode.m: Fix error in check for legality of
1963 three-byte utf-8 sequences.
1964
1965 2003-01-31 Richard Frith-Macdonald <rfm@gnu.org>
1966
1967 * Source/NSRunLoop.m: Fix memory leak with timed performs.
1968
1969 2003-01-31 Stephane Corthesy <stephane@sente.ch>
1970 Adam Fedor <fedor@gnu.org>
1971
1972 * Headers/gnustep/base/GSCategories.h: Moved
1973 NSString(GSCategories), NSMutableString(GSCategories), and copied
1974 NSObject(GSCategories) to here
1975 * Headers/gnustep/base/NSString.h, Headers/gnustep/base/NSObject:
1976 From here.
1977 * Headers/gnustep/base/GSMime.h: Include Foundation on MacOSX.
1978
1979 * Source/Additions/GSCategories.m: Fix includes.
1980 * Source/Additions/GSCompatibility.h: Defined DebugLog, WarnLog
1981 macros. Add Additional NSObject, NSInvocation, NSString and
1982 NSProcessInfo methods. Add NSStandardLibraryPaths.
1983 * Source/Additions/GSCompatibility.m: Idem.
1984
1985 2003-01-30 Richard Frith-Macdonald <rfm@gnu.org>
1986
1987 * Source/libgnustep-base.def.in: Regenerated
1988
1989 2003-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1990
1991 * Source/Additions/Unicode.m: Fixed bug in utf-8 output for three
1992 byte sequences.
1993 * Tools/AGSOutput.m: Fix loss of trailing info after a closing
1994 square bracket round a class name.
1995 * Source/Additions/GCArray.m: make mutable copy shallow for
1996 consistency with other arrays.
1997
1998 2003-01-26 Richard Frith-Macdonald <rfm@gnu.org>
1999
2000 * Source/NSString.m: Added new MacOS-X method ...
2001 ([MSMutableString-replaceOccurrencesOfString:withString:options:range:])
2002 * Source/Headers/gnustep/base/NSString.h: ditto
2003 * Source/Additions/GSCategories.m: Added
2004 ([NSData-initWithHexadecimalRepresentation:])
2005 * Source/Headers/gnustep/base/GSCategories.h: ditto
2006
2007 2003-01-26 Adam Fedor <fedor@gnu.org>
2008
2009 * Compiling gdl2 on MacOSX.
2010 * Headers/gnustep/base/NSObject.h (-notImplemented:,
2011 -subclassResponsibility:, -shouldNotImplement:, -compare:): Move
2012 to GSCategories category.
2013 * Headers/gnustep/base/NSString.h (-stringByDeletingPrefix:,
2014 -stringByDeletingSuffix:, -deleteSuffix:, -deletePrefix:): Idem.
2015 * Source/NSObject: Move methods to Additions/GSCategories.m
2016 * Source/NSString: Idem.
2017
2018 * Source/Additions/GSCompatibility.h (GetEncodingName): Add.
2019 * Source/Additions/GSCompatibility.m (GetEncodingName): Cocoa
2020 implementation.
2021
2022 2003-01-24 Richard Frith-Macdonald <rfm@gnu.org>
2023
2024 * Source/Additions/GSCategories.m: Changed name of md5 digest method
2025 and added -hexadecimalRepresentation.
2026 * Source/Additions/GSMime.m: Update for md5 change.
2027 * Documentation/GNUmakefile: Fixed error in installation location.
2028 * Documentation/Makefile.postamble: Fixed to install BaseAdditions
2029 documentation.
2030 * Source/md5.c: Tidy up ... removed ... no longer used
2031 * Source/md5.h: ditto
2032 * Source/numbers.c: ditto
2033 * Headers/gnustep/base/numbers.h: ditto
2034
2035 2003-01-23 Richard Frith-Macdonald <rfm@gnu.org>
2036
2037 * Documentation/Base.gsdoc: Refer to additions.
2038 * Documentation/BaseAdditions.gsdoc: New intorduction for additions
2039 * Headers/gnustep/base/GSCategories.h: Added MD5Digest NSData method
2040 * Source/DocMakefile: Build additions documentation separately
2041 * Source/Additions/GSCategories.m: Added MD5Digest NSData method
2042 * Source/Additions/GSMime.m: Use MD5Digest NSData method.
2043
2044 2003-01-22 Richard Frith-Macdonald <rfm@gnu.org>
2045
2046 * Source/Additions/GSMime.m: ifdefed out my last change ...not sure
2047 it was good.
2048 * Source/GSFileHandle.m: Removed bogus semicolon which was causing
2049 code to be executed repeatedly rather than just once ... trivial
2050 optimisation.
2051
2052 2003-01-21 Adam Fedor <fedor@gnu.org>
2053
2054 * Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m,
2055 GSCategories.m): Include config.h
2056 * Source/Additions/GSMime.m: Add extra arg to some NSDebugMLog to
2057 get it to compile right on OSX.
2058
2059 2003-01-20 Richard Frith-Macdonald <rfm@gnu.org>
2060
2061 * Headers/gnustep/unicode/latin9.h: Latin9 string encoding tables
2062 * Source/Additions/Unicode.m: Added built-in support for the Latin9
2063 character encoding ... contains the Euro symbol ... nice for
2064 european users.
2065 * Source/NSArray.m: Make abstract copying implementation like that
2066 of latest MacOS-X rather than OPENSTEP ... no relationship between
2067 mutability and depth.
2068 * Source/NSDictionary.m: ditto
2069 * Source/NSSet.m: ditto
2070 * Source/GSArray.m: Implement optimised copies ... copying an immutable
2071 object just retains it, and copying a mutable object is shallow.
2072 * Source/GSDictionary.m: ditto
2073 * Source/GSSet.m: ditto
2074
2075 2003-01-16 Richard Frith-Macdonald <rfm@gnu.org>
2076
2077 * Source/NSURL.m: Support MacOS-X style initialisation using a path
2078 with a leading slash.
2079
2080 2003-01-09 Richard Frith-Macdonald <rfm@gnu.org>
2081
2082 * Source/Additions/GSCategories.m: Additional ([weekOfYear]) method
2083 for NSCalendarDate.
2084 * Headers/gnustep/base/GSCategories.h: ditto
2085
2086 2003-01-07 Richard Frith-Macdonald <rfm@gnu.org>
2087
2088 * Source/NSLock.m:
2089 * Source/NSPage.m:
2090 Mingw fixes ... problems reported by Fred.
2091
2092 2003-01-04 Richard Frith-Macdonald <rfm@gnu.org>
2093
2094 * Source/NSConcreteNumber.m: ([compare:]) explicitly cast to promote
2095 values to a type where comparisons can be done without loss of
2096 precision.
2097
2098 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2099
2100 * base.make.in:
2101 * configure:
2102 * configure.ac:
2103 * Headers/gnustep/base/GSIArray.h:
2104 * Headers/gnustep/base/GSIMap.h:
2105 * Headers/gnustep/base/NSGeometry.h:
2106 * Headers/gnustep/base/NSInvocation.h:
2107 * Source/GSArray.m:
2108 * Source/GSAttributedString.m:
2109 * Source/GSCompatibility.m:
2110 * Source/GSCountedSet.m:
2111 * Source/GSDictionary.m:
2112 * Source/GSFFCallInvocation.m:
2113 * Source/GSFTPURLHandle.m:
2114 * Source/GSFileHandle.m:
2115 * Source/GSFormat.m:
2116 * Source/GSString.m:
2117 * Source/GSTcpPort.m:
2118 * Source/GSTemplateValue.m:
2119 * Source/NSArray.m:
2120 * Source/NSAutoreleasePool.m:
2121 * Source/NSBundle.m:
2122 * Source/NSCalendarDate.m:
2123 * Source/NSConcreteNumber.m:
2124 * Source/NSCountedSet.m:
2125 * Source/NSData.m:
2126 * Source/NSDebug.m:
2127 * Source/NSInvocation.m:
2128 * Source/NSLog.m:
2129 * Source/NSMethodSignature.m:
2130 * Source/NSNotificationCenter.m:
2131 * Source/NSObject.m:
2132 * Source/NSPortCoder.m:
2133 * Source/NSRunLoop.m:
2134 * Source/NSScanner.m:
2135 * Source/NSSerializer.m:
2136 * Source/NSString.m:
2137 * Source/NSTimeZone.m:
2138 * Source/NSUnarchiver.m:
2139 * Source/mframe.m:
2140 * Source/Additions/GSMime.m:
2141 * Source/Additions/GSXML.m:
2142 * Tools/AGSOutput.m:
2143 * Tools/AGSParser.m:
2144 * Tools/defaults.m:
2145 * Tools/gdomap.c:
2146 * Tools/pl2link.m:
2147 * Tools/sfparse.m:
2148 * Tools/make_strings/StringsFile.m:
2149 Tweaks for warning free compilation with gcc-3.4 ... many comparisons
2150 os signed and un signed values avoided etc.
2151
2152 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2153
2154 * Tools/AGSHtml.m: Don't try to make a type reference to the
2155 superclass of NSObject.
2156
2157 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2158
2159 * Source/NSPage.m: Document all functions.
2160
2161 2002-12-31 Kelvin <kelvin@xbar.org>
2162
2163 * Source/NSPage.m (NSRealMemoryAvailable): Add support for MINGW
2164 and BeOS.
2165
2166 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2167
2168 * Source/GSEQ.h: Optimisations for normalising sequences, especially
2169 where they contain latin1 characters.
2170 * Source/Additions/GCDictionary.m: Update map tables for macosx
2171 * Source/NSMapTable.m: Update for macosx compatibility, add some
2172 documentation and move stuff from externs.m
2173 * Source/NSHashTable.m: Update for macosx compatibility, add some
2174 documentation and move stuff from externs.m
2175 * Source/externs.m: Remove map and hash table stuff
2176 * Source/NSException.m: Fix documentation cross ref error.
2177 * Source/NSAssertion.m: Improve documentation.
2178 * Headers/gnustep/base/NSException.h: Include assertion documentation.
2179 * Headers/gnustep/base/NSMapTable.h: Update for macosx compatibility.
2180 * Headers/gnustep/base/NSHashTable.h: Ditto
2181 * Tools/AGSHtml.m: Fix typo ... excess semicolon in constant output.
2182 * Tools/AGSParser.m: Fix error failing to find comment for constants.
2183 * Source/NSObjCRuntime.m: Document functions.
2184
2185 2002-12-30 Adam Fedor <fedor@gnu.org>
2186
2187 * SSL/GNUmakefile: Don't compile if base=no
2188
2189 * Tools/AGSIndex.h: Include gnustep/base/GSXML.h.
2190 * Tools/AGSHtml.m: Include GNUstep.h
2191 * Tools/AGSInde.m, Tools/AGSOutput.m, Tools/AGSParser.m,
2192 Tools/HTMLLinker.m: Idem.
2193 * Tools/GNUmakegile: Only compile autogsdoc when add=yes
2194 * Tools/Makefile.preamble: Include -lgnustep-baseadd when add=yes
2195
2196 Mon Dec 30 18:19:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
2197
2198 * configure.ac: Recognize apple OBJC_RUNTIME_LIB.
2199 * configure: Regenerated.
2200 * Makefile.postamble: Updated check for gnu FOUNDATION_LIB.
2201 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2202 Do not add -framework Foundation on Apple, it's added automatically
2203 by gnustep-make.
2204 * Source/GNUmakefile: Updated check for OBJC_RUNTIME_LIB.
2205 * Source/Additions/GNUmakefile: Updated checks for
2206 OBJC_RUNTIME_LIB and FOUNDATION_LIB.
2207
2208 2002-12-28 Kelvin <kelvin@xbar.org>
2209
2210 * Source/NSPage.m: Add BeOS support.
2211 * Source/NSProcessInfo.m ([NSProcessInfo -operatingSystem]): Idem
2212 (Also added solaris (fedor@gnu.org)).
2213
2214 2002-12-24 Richard Frith-Macdonald <rfm@gnu.org>
2215
2216 * Source/Additions/Unicode.m: Tidied and optimised binary searches.
2217
2218 2002-12-19 Richard Frith-Macdonald <rfm@gnu.org>
2219
2220 * Tools/AGSParser.m: Fix bug handling repeated opeing braces.
2221
2222 2002-12-17 Richard Frith-Macdonald <rfm@gnu.org>
2223
2224 * Tools/AGSIndex.m: Fix error indexing vararg methods.
2225 * Source/Additions/Unicode.m: Added home-brewed support for UTF8 to
2226 avoid use of iconv where not necessary.q Hope the code is OK :-)
2227
2228 2002-12-12 Richard Frith-Macdonald <rfm@gnu.org>
2229
2230 * Headers/gnustep/base/NSDistributedNotificationCenter.h: add type
2231 for LAN-wide notifications. Add ivar to support this.
2232 * Source/NSDistributedNotificationCenter.m: Implement support for
2233 a LAN-wide notification center. Fully document class.
2234 * Tools/gdnc.m: Add new GSNetwork flag to operate as LAN-wide
2235 notification center.
2236 * Tools/AGSHtml.m: Don't output contents section if there is
2237 nothing to show (ie must have at least two sections to index).
2238 * Source/NSConnection.m: Add locks to protect proxy cache in timeout.
2239
2240 2002-12-10 Adam Fedor <fedor@gnu.org>
2241
2242 * configure.ac: Enable libffi on darwin by default.
2243
2244 2002-12-10 Richard Frith-Macdonald <rfm@gnu.org>
2245
2246 * Source/NSArray.m: ([removeObjectsFromIndices:numIndices:])
2247 bugfix for sorting by Kelvin Sherlock.
2248 * Source/NSConnection.m: Experimental code to keep local objects
2249 retained long enough to deal with most cases where the remote
2250 process may want them again.
2251 * Source/NSHost.m: Don't cache local host name ... it may change
2252 due to use of DHCP etc.
2253
2254 2002-12-08 Richard Frith-Macdonald <rfm@gnu.org>
2255
2256 * Source/NSThread.m: Fix race condition firing perform holder.
2257 Fix supplied by Philip Derrin.
2258
2259 2002-12-05 Richard Frith-Macdonald <rfm@gnu.org>
2260
2261 * Source/NSUserDefaults.m: Fix uninitialised local variable 'locale'
2262 which was causing a crash ... not 100% sure my fix is making the code
2263 work as intended. Could Adam please check it?
2264
2265 2002-12-04 Adam Fedor <fedor@gnu.org>
2266
2267 * Headers/gnustep/base/GSLocale.h: Add category arg to
2268 SetLocale functions.
2269 * Source/GSLocale.m (GSSetLocaleC, GSSetLocale): Update for change.
2270 * Source/NSObject.m (+initialize): Idem.
2271 * Source/NSUserDefaults.m ([NSUserDefaults +standardUserDefaults]):
2272 Idem.
2273
2274 2002-12-04 Richard Frith-Macdonald <rfm@gnu.org>
2275
2276 * Source/NSSerializer.m: bugfix deserialisation ... was trying to
2277 read size of date/number when these values were not being serialized.
2278
2279 2002-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2280
2281 * Source/NSBundle.m ([NSBundle +initialize]): check for linked
2282 framework in two passes, first collect all the framework classes, then
2283 add it. The previous routine failed to add all the frameworks.
2284
2285 2002-12-02 Adam Fedor <fedor@gnu.org>
2286
2287 * Port baseadd to MacOSX.
2288 * Makefile.postamble (header-links): Don't link gnustep/gui to
2289 Foundation for FOUNDATION_LIB=nx
2290 * Headers/gnustep/base/NSObjCRuntime.h (FOUNDATION_EXPORT): Define
2291 only if not defined already.
2292 * Headers/gnustep/base/objc-gnu2next.h: Define _CLS_META, _CLS_CLASS
2293 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2294 Depend on framework Foudation if FOUNDATION_LIB=nx
2295 * Source/objc-gnu2next.m: Move most functions...
2296 * Source/Additions/GSNextRuntime.m: ...to here.
2297 * Source/Additions/GSCompatibility.[hm]: New files.
2298 * Source/Additions/GCDictionary.m: Include it.
2299 * Source/Additions/GSMime.m: Idem.
2300 * Source/Additions/GSXML.m: Idem.
2301 * Source/Additions/GCObject.m: Idem. Null out mutex code
2302 on NeXT_RUNTIME (Need a better fix).
2303 * Source/Additions/GNUmakefile: Don't compile Unicode.m
2304 on FOUNDATION_LIB=nx (not ported yet).
2305 * Source/Additions/GSObjCRuntime.m (GSObjCAddClasses): Version
2306 for NeXT_RUNTIME.
2307 (GSObjCAddClassBehavior): Fixes for NeXT_RUNTIME.
2308 * Source/Additions/behavior.m (behavior_class_add_class): Idem.
2309
2310 2002-12-02 Jonathan Gapen <jagapen@wisc.edu>
2311
2312 * Headers/gnustep/base/NSPort.h: Add NSSocketPort interface.
2313 * Source/NSSocketPort.m: New file. New MacOS X class partially
2314 implemented; serves as BSD socket wrapper.
2315
2316 2002-12-02 Adam Fedor <fedor@gnu.org>
2317
2318 * base.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=no.
2319 * config.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=yes.
2320 * Source/Makefile.preamble (libgnustep-base_LIBRARIES_DEPEND_UPON):
2321 Depend on $(CONFIG_SYSTEM_LIBS) if shared=yes.
2322
2323 2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
2324
2325 * Tools/plparse.m: Stefan Urbaneks patch to return 1 on failure.
2326 * Tools/sfparse.m: Similar code for this tool.
2327 * Source/Additions/GSObjCRuntime.m: Tidied function names
2328 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2329 * Source/NSKeyValueCoding.m: Use new function names.
2330
2331 2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
2332
2333 * Tools/AGSParser.m: Fix so we document static declarations made in
2334 headers and only ignore them in implementation.
2335 * Tools/AGSOutput.m: Bugfix to output ivar type information.
2336 * Tools/AGSHtml.m: Reduce space around examples.
2337 Bugs reported by Chris B. Vetter
2338 * Source/Additions/GSObjCRuntime.m: Tidied function name conventions.
2339 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2340 * Source/NSKeyValueCoding.m: Use new function names.
2341 * Source/mframe.m: When scanning arguments, skip type information
2342 for things poionted to by a pointer - more efficient than scanning
2343 the fine structure and then throwing away the scanned information.
2344 * Source/additions/GSMime.m: Fill in 'type' field in multipart/related
2345 and fix bug in seaarch by content id. Also minor consistency change
2346 to API.
2347
2348 2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
2349
2350 * Source/Additions/GSObjCRuntime.m: fixed type call typo
2351 in GSFindInstanceVariable
2352
2353 2002-11-27 Adam Fedor <fedor@gnu.org>
2354
2355 * configure.ac (INCLUDE_FLAGS): New for holding flags needed for
2356 compiling base.
2357 * config.make.in (CONFIG_SYSTEM_INCL): Use it.
2358 * base.make (CONFIG_SYSTEM_INCL): Remove CPPFLAGS
2359 (CONFIG_SYSTEM_DEFS): Remove.
2360 * Source/Additions/GNUmakefile: include config.mak
2361
2362 2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
2363
2364 * Source/Additions/GSObjCRuntime.m: New file with GNUstep extensions
2365 from NSObjCRuntime, plus renamed behavior functions, plus a few other
2366 runtime manipulation functions. EXPERIMENTAL
2367 * Headers/gnustep/base/GSObjCRuntime.h: declarations for above.
2368 * Source/GSCompatibility.m: Don't use new format plists when writing
2369 descriptions.
2370 Also, honor NSWriteOldStylePropertyLists user default to write old
2371 style property-lists rather than new style or xml style.
2372 * Source/NSUser.m: Use USERPROFILE for default home directory on
2373 windoze.
2374 * Source/NSArray.m: Write non-xml property lists as ascii.
2375 * Source/NSDictionary.m: Write non-xml property lists as ascii.
2376 * Source/mframe.m: use objc_alignof_type() as suggested by Roland
2377 Schwingel. Long ago the objc runtime version was buggy so mframe
2378 implemented its own algorithm. Now the objc runtime one is better.
2379
2380 2002-11-26 Richard Frith-Macdonald <rfm@gnu.org>
2381
2382 * Source/Additions/GCObject.m: Attempt to make garbage collecting
2383 thread-safe.
2384 * Source/Additions/GCArray.m: Fix count initialising mutable array.
2385 * Source/Additions/GSMime.m: Provide a method to generate and return
2386 a string suitable for use as a boundary. Make tolerant of multipart
2387 messages with 'application' as the message type.
2388 Added ([-setBuggyQuotes:]) method for parsing stuff produced by
2389 microsoft ;-(
2390
2391 2002-11-25 Richard Frith-Macdonald <rfm@gnu.org>
2392
2393 * Source/NSUserDefaults.m: Treat '-' on its own as an argument
2394 rather than the start of a flag name.
2395 * Source/Additions/GSMime.m: Place angle brackets around generated
2396 content ID. Add method to generate message ID. Tidy comments a
2397 little.
2398
2399 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2400
2401 * Source/libgnustep-base.def: Add garbage collecting classes.
2402
2403 2002-11-20 Adam Fedor <fedor@gnu.org>
2404
2405 * Source/NSBundle.m (+preferredLocalizationsFromArray:forPreferences:):
2406 Check for array with no objects.
2407 ([NSBundle -localizedInfoDictionary]): Idem.
2408
2409 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2410
2411 * Source/Additions/Unicode.m: Work around bug in the redhat 8 iconv
2412 library ... was sucessfully opening the encoding "" when it shouldn't.
2413
2414 2002-11-19 Adam Fedor <fedor@gnu.org>
2415
2416 * Version: 1.5.1
2417 * Documentation/news.texi: Updated.
2418
2419 2002-11-19 Adam Fedor <fedor@gnu.org>
2420
2421 * Headers/gnustep/base/NSBundle.h: More documentation. Add missing
2422 MacOSX methods.
2423 * Source/NSBundle.m (-executablePath): New
2424 (-load): Use it.
2425 (+pathsForResourcesOfType:inDirectory:): New stub.
2426 (-pathsForResourcesOfType:inDirectory:forLocalization:): Idem.
2427 (-pathForResource:ofType:inDirectory:forLocalization:): Idem.
2428 (+preferredLocalizationsFromArray:): New method.
2429 (+preferredLocalizationsFromArray:forPreferences:): Idem.
2430 (-localizedInfoDictionary): Idem.
2431 (-localizations): Idem.
2432 (-preferredLocalizations): Idem.
2433
2434 * Source/cifframe.m (cifframe_from_info): Fix so that stucture
2435 returns get space allocated.
2436
2437 2002-11-19 Richard Frith-Macdonald <rfm@gnu.org>
2438
2439 * Source/behavior.m: Moved to Source/Additions/behavior.m
2440 * Source/Unicode.m: Moved to Source/Additions/Unicode.m
2441 * Source/Additions/GCObject.m: new experimental GC class.
2442 * Source/Additions/GCArray.m: ditto
2443 * Source/Additions/GCDictionary.m: ditto
2444 * Headers/gnustep/base/GCObject.h: Garbage collection classes intended
2445 for use by gdl2 and gsweb.
2446
2447 2002-11-18 Richard Frith-Macdonald <rfm@gnu.org>
2448
2449 * Source/GSCompatibility.m: Fix for case where a non property list
2450 object is found when outputting a description.
2451
2452 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2453
2454 * Source/NSUserDefaults.m: Fix for getting integer, float and bool
2455 values when they are stored as NSNumbers (problem reported by
2456 Ludovic Marcotte). Also optimise a little.
2457
2458 2002-11-15 Richard Frith-Macdonald <rfm@gnu.org>
2459
2460 * Source/NSThread.m: Port pipe to mingw.
2461 * Tools/gdomap.c: Fix for modern mingw interface lookup.
2462 Patch by Tom Koelman
2463
2464 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2465
2466 * Source/NSUserDefaults.m: Try again ... get
2467 ([-setVolatileDomain:forName:]) and ([-setPersistentDomain:forName:])
2468 to conform to both the OpenStep standard and the current MacOS-X
2469 documentation.
2470
2471 2002-11-11 Richard Frith-Macdonald <rfm@gnu.org>
2472
2473 * Source/NSString.m: adocument property list stuff.
2474 * Source/NSUserDefaults.m: set integers, floats and bools as NSNumber
2475 Bugfix ([-setVolatileDomain:forName:]) was checking wrong list of
2476 domains. Tidied.
2477
2478 2002-11-10 Richard Frith-Macdonald <rfm@gnu.org>
2479
2480 * Headers/gnustep/base/NSObject.h: Removed GNUstep plist extensions.
2481 * Source/NSObject.m: ditto.
2482 * Source/GSCompatibility.m: Implement new plist generator.
2483 * Source/NSArray.m: Use new plist code
2484 * Source/NSData.m: ditto
2485 * Source/NSDictionary.m: ditto
2486 * Source/NSSerializer.m: handle NSNumber and NSDate
2487 * Source/NSString.m: ditto, plus implement extensions to old plist
2488 support so we can encode NSNumber and NSDate values.
2489 Remove GNUstep property list extensions from the api ... make more
2490 like MacOS and OpenStep spec by having a central mechanism for
2491 generating property lists rather than spreading the code across the
2492 plist classes.
2493 Also ... maintain allocation debug accounting when making objects
2494 immutable.
2495
2496 2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
2497
2498 * Source/NSObject.m: use NSString implementation of
2499 ([descriptionWithLocale:indent:to:])
2500 * Source/NSUserDefaults.m: ([setObject:forKey:]) validate and raise
2501 exceptions if given bad info.
2502
2503 2002-11-07 02:21 Alexander Malmberg <alexander@malmberg.org>
2504
2505 * Source/GSString.m: (-makeImmutableCopyOnFail:): Set isa to correct
2506 class.
2507
2508 2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
2509
2510 * Source/NSArray.m: Ensured some documentation in place for almost all
2511 methods.
2512 * Source/Additions/GSMime.m: Fix broken method reference.
2513 * Source/Additions/GSXML.m: ditto
2514 * Source/NSScanner.m: ditto
2515 * Source/NSUnarchiver.m: ditto
2516 * Tools/AGSIndex.m: Minor fix for superclass reference lookup.
2517 * Tools/AGSHtml.m: ditto
2518
2519 2002-11-03 Richard Frith-Macdonald <rfm@gnu.org>
2520
2521 * Source/NSRunLoop.m: Revert to remove unneeded notification setup.
2522 * Source/NSThread.m: Rewrite pierres changes, scrapping all
2523 conditionally compiled code that would never be used, rewriting
2524 unix specific stuff (so it might run under windoze ... not yet tested)
2525 removed unnecessary code and simplified, etc etc.
2526 Fixed bugs in usage of condition locks so it actually works.
2527 * Testing/thread.m: New test to try out
2528 performSelectorOnMainThread:withObject:waitUntilDone:modes:
2529
2530 2002-11-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
2531
2532 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
2533 NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
2534 method existes.
2535 * Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
2536 class.
2537 ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
2538 lock, the socket and new run loop watcher that'll listen on the socket.
2539 [NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
2540 modified to use the previous changes.
2541
2542 2002-11-01 Richard Frith-Macdonald <rfm@gnu.org>
2543
2544 * Headers/gnustep/base/NSBundle.h: Tidied/corrected documentation
2545 markup.
2546 * Headers/gnustep/base/NSDate.h: Added NSTimeIntervalSince1970 and
2547 removed GSTimeNow() from public API.
2548 * Source/NSDate.m: Update to use NSTimeIntervalSince1970
2549 * Source/NSTimer.m: Declare GSTimeNow() locally
2550 * Source/NSprocessInfo.m: ditto
2551 * Source/Additions/GSMime.m: more tolerant parsing ... ignore excess
2552 data in multi-part document.
2553
2554 Thu Oct 31 00:46:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
2555
2556 * Headers/gnustep/base/NSBundle.h: Added more documentation.
2557
2558 Wed Oct 30 23:42:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2559
2560 * Source/NSBundle.m ([+_addFrameworkFromClass:]): New code
2561 locating linked frameworks magically - no matter where they are on
2562 disk - by using objc_get_symbol_path(). If that fails or is not
2563 available, fall back on the existing code. Fixed NSLog() message.
2564
2565 2002-10-30 Richard Frith-Macdonald <rfm@gnu.org>
2566
2567 * Source/NSThread.m: Implemented and documented new MacOS-X methods -
2568 ([-performSelectorOnMainThread:withObject:waitUntilDone:modes:])
2569 and ([-performSelectorOnMainThread:withObject:waitUntilDone:])
2570
2571 Wed Oct 30 03:14:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
2572
2573 * Headers/gnustep/base/objc-load.h: Added copyright notice.
2574 (objc_get_symbol_path): Declare to take a Category *, not a struct
2575 objc_category *, argument; documented.
2576 * Source/objc-load.m: Include config.h first. Define _GNU_SOURCE
2577 if HAVE_DLADDR is defined.
2578 (objc_get_symbol_path): Fixed crash with classes or categories
2579 with long names. Updated declaration.
2580 * config/objc-sys-dynamic.m4 (OBJC_SYS_DYNAMIC_LINKER): Print a
2581 message displaying the type of dynamic linker found. Add -ldl on
2582 the link line for linux-gnu and other systems, so that dladdr() is
2583 actually found. With the 'simple' linker, print a message saying
2584 if we found dladdr() or not.
2585 (OBJC_SYS_DYNAMIC): Historical unused macro removed.
2586 * configure: Regenerated.
2587
2588 2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
2589
2590 * Source/NSFileManager.m: include statvfs.h if available.
2591
2592 2002-10-26 Adam Fedor <fedor@gnu.org>
2593
2594 * Source/NSException.m: Document.
2595 * Source/NSFileHandle.m: Partial Documentation.
2596 * Source/NSObject.m: Fix typo in docs.
2597
2598 2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2599
2600 * Source/NSBundle.m ([NSBundle -load]): set _codeLoaded before loading
2601 the bundle.
2602
2603 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2604
2605 * Tools/AGSParser.m: Avoid duplication of method comments when
2606 parsing the same file as both header and source.
2607
2608 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2609
2610 * Tools/AGSOutput.m: ([-split:]) In links generated from class and
2611 method specifications in square brackets, place a space between the
2612 class and the method name.
2613 * Tools/gsdoc-1_0_0.dtd: Corrected minor entity errors.
2614
2615 2002-10-21 Adam Fedor <fedor@gnu.org>
2616
2617 * Headers/gnustep/unicode/thai.h: New file.
2618 * Headers/gnustep/base/NSString.h (_NSStringEncoding): Add
2619 NSISOThaiStringEncoding.
2620 * Source/NSString.m (-dataUsingEncoding:allowLossyConversion:):
2621 Handle it.
2622 * Source/Unicode.m (struct _strenc_ str_encoding_table[]): Idem.
2623 (GSEncodingForRegistry): Idem.
2624 (GSToUnicode, GSFromUnicode): Idem.
2625 (Patches, modified, from Banlu Kemiyatorn <id@project-ile.net>).
2626
2627 2002-10-21 Adam Fedor <fedor@gnu.org>
2628
2629 * Source/GSLocale.m (GSLanguageFromLocale): Implement regardless
2630 of HAVE_LOCALE_H.
2631
2632 * Source/Unicode.m (GSEncodingForRegistry): New (from
2633 [GSFontInfo +encodingForRegistry:encoding:]).
2634 (GSEncodingFromLocale): New.
2635 (GetDefEncoding): Rearrange encoding check.
2636 * Resources/Languages/Locale.encodings: New file.
2637
2638 2002-10-21 Adam Fedor <fedor@gnu.org>
2639
2640 * Documentation/coding-standards.texi: Update.
2641
2642 2002-10-14 Richard Frith-Macdonald <rfm@gnu.org>
2643
2644 Source/NSObject.m: Add ([-makeImmutableCopyOnFail:]) for use by methods
2645 wishing to return constant string/array/dictionary etc results after
2646 building them using mutable objects they created.
2647 Source/GSArray.m: Implement ([makeImmutableCopyOnFail:])
2648 Source/GSString.m: ditto
2649 Source/GSDictionary.m: ditto
2650 Source/GSSet.m: ditto
2651 Source/NSFileManager.m: Use it
2652
2653 2002-10-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2654
2655 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): remove
2656 the classes in the _loadingBundle that does not belong to it but with
2657 frameworks linked with it.
2658 ([NSBundle +bundleForClass:]): construct a list of NSFramework_*
2659 classes loaded with the bundle.
2660 ([NSBundle -load]): call _addFrameworkFromClass: for all linked
2661 frameworks with the bundle.
2662
2663 2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
2664
2665 * Tools/AGSHtml.m: Create automatic references to protocols in
2666 type specifications of the form (id<protocol1,protocol2,...>)
2667 * Tools/autogsdoc.m: Add -Files option to read names of files
2668 to process as a property list rather than using command line args.
2669 Add -Clean flag to remove generated output files and purge
2670 generated data from templates. Add -CleanTemplates to completely
2671 temove template files.
2672 * Tools/AGSParser.m: Warn about private methods and ivars.
2673
2674 2002-10-12 Richard Frith-Macdonald <rfm@gnu.org>
2675
2676 * Source/NSProcessInfo.m: Make safe to reinitialise with args.
2677 * Source/Additions/GSXML.m: Correct handling of atttribute values.
2678 * Tools/autogsdoc.m: Initialise NSProcessInfo explicitly.
2679
2680 2002-10-11 Richard Frith-Macdonald <rfm@gnu.org>
2681
2682 * Source/NSUserDefaults.m: ([-initWithContentsOfFile:]) check to see
2683 if the file is writable and the directory exists.
2684 If we can't operate properly, run in read-only ,mode where we try
2685 to read the file if possible, but never write defaults back.
2686
2687 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2688
2689 * Source/NSUserDefaults.m: ([-synchronize]) handle locking more
2690 carefully ... avoid cpu intensive busy loops and give up after
2691 a while.
2692
2693 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2694
2695 * Source/NSLog.m: Added GSPrintf()
2696 * Tools/defaults.m: Use GSPrintf()
2697 * Tools/pldes.m: ditto
2698 * Tools/plser.m: ditto
2699 * Tools/plmerge.m: ditto
2700 * Tools/plparse.m: ditto
2701 * Tools/sfparse.m: ditto
2702 * Documentation/Base.gsdoc: Bump gsdoc version to 1.0.0
2703 * Documentation/Functions.gsdoc: ditto
2704 * Documentation/TypesAndConstants.gsdoc: ditto
2705 * Source/NSLog.m: Fix typo in comment.
2706 * Tools/AGSOutput.m: Bump gsdoc version to 1.0.0
2707 * Tools/GNUmakefile: Add gsdoc 1.0.0 dtd
2708 * Tools/autogsdoc.m: Bump gsdoc version to 1.0.0
2709 * Tools/gsdoc-0_6_7.dtd: Revert to earlier version
2710 * Tools/gsdoc-1_0_0.dtd: New from latest update to 0.6.7
2711 I think the documentation dtd is pretty complete now.
2712
2713 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2714
2715 * Tools/GNUmakefile: revert ... can't build if base library isn't
2716 installed.
2717
2718 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2719
2720 * Source/NSLog.m: Lots of documentation added.
2721 * Tools/GNUmakefile: build autogsdoc documentation automatically
2722 if possible.
2723 * Tools/AGSOutput.m: Make automatic cross references for functions.
2724 * Source/Docmakefile: Use handcrafted template files. Document the
2725 path utilities file.
2726 * Documentation/Functions.gsdoc: Handcrafted template.
2727 * Documentation/TypesAndConstants.gsdoc: Handcrafted template.
2728
2729 2002-10-08 Richard Frith-Macdonald <rfm@gnu.org>
2730
2731 * Headers/Foundation/NSDebug.h: Make warn logs de-selectable at
2732 runtime by setting the NoWarn debug level. Document. Say that
2733 debug levels can be added by putting them in the GNU-Debug
2734 array in the defaults database.
2735 * Source/NSUserDefaults.m: Add contents of the GNU-Debug array to
2736 the set of active debug levels.
2737 * Tools/AGSParser.m: Updated with support for documenting macros.
2738 * Tools/AGSOutput.m: ditto
2739 * Tools/AGSHtml.m: ditto
2740
2741 2002-10-07 Richard Frith-Macdonald <rfm@gnu.org>
2742
2743 * Source/NSData.m: Update logging after checks for results of memory
2744 allocation.
2745 * Source/NSTimeZone.m: Don't abort on failure to allocate memory ...
2746 just print a log and continue returning a null pointer.
2747
2748 2002-10-06 Richard Frith-Macdonald <rfm@gnu.org>
2749
2750 * Source/NSData.m: readContentsOfFile() fix use of atomic memory
2751 on GC systems ... problem noticed by Fred.
2752
2753 Sat Oct 5 19:53:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2754
2755 * Source/NSData.m ([NSDataMappedFile
2756 -initWithContentsOfMappedFile:]): release self and return nil -
2757 rather than returning NO, if the path is bad.
2758
2759 2002-10-05 Richard Frith-Macdonald <rfm@gnu.org>
2760
2761 * Tools/AGSOutput.m: Improve warning code, support text output
2762 in chapter/section/subsection.
2763 * Tools/AGSParser.m: move concatenation of comments into a single
2764 method, make it insert a linebreak between concatenated comments,
2765 and make it refrain from appending the same comment onto itsself
2766 (which would happen if the same file was parsed twice, as both a
2767 header and as source).
2768 Treat the 'main()' function specially ... don't document it as a
2769 function but insert its comments at the end of the 'chapter' part
2770 of the output document. These modifications make it easy to
2771 document a directory containing tools, by listing the tool source
2772 files as arguments to autogsdoc.
2773 Tools/gsdoc_0_6_7.dtd: Fix bug preventing use of text in a chapter!
2774 * Source/GSString.m: Implement -UTF8String method for better
2775 performance.
2776 * Source/NSPortNameServer.m: Improve diagnostic message in exception
2777 when reporting failure to register ... try to provide all the info
2778 needed to begin diagnosing any problem.
2779 * Tools/gdomap.c: Make -M flag work with -N. Make -M flag work when
2780 used after -N or -L. Improve diagnostic messages on failure so
2781 people know what it is trying to do.
2782
2783 2002-10-04 Richard Frith-Macdonald <rfm@gnu.org>
2784
2785 * Source/NSArray.m: Tidied init from file to ensure that everything
2786 is released properly on failure, and we don't generate log messages
2787 where a lower level API should be doing it. Added some documentation.
2788 * Source/NSDictionary.m: ditto
2789 * Source/NSString.m: ditto. Also add support for understanding the
2790 unicode BOM at the start of UTF8 data and stripping it.
2791 * Source/NSData.m: Tidied read from and write to file,
2792 adding lots of logging information. Also documented quite a bit.
2793 Resolved all conflicts found with Adam's change ... generally in
2794 favor of the most informative logging.
2795 * Source/NSPortNameServer.m: On failure to register name, make
2796 exception message provide lots of detail/advice for newbies.
2797
2798 2002-10-03 Adam Fedor <fedor@gnu.org>
2799
2800 * Source/NSData.m (readContentsOfFile): Change NSDebugLog(s) to
2801 NSWarnLog or NSLog.
2802 (-writeToFile:atomically:): Idem.
2803 ([NSDataMappedFile -initWithContentsOfMappedFile:]): Idem.
2804 * Source/NSDictionary.m ([NSDictionary -initWithContentsOfFile:]):
2805 Release ourselves and return nil if file cannot be read.
2806
2807 2002-10-03 Richard Frith-Macdonald <rfm@gnu.org>
2808
2809 * Source/NSRunLoop.m: ([-runMode:beforeDate:]) permit the use of a
2810 nil date and document it. This is the behavior MacOS seems to have
2811 and seems to be more useful than prohibiting nil dates.
2812
2813 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
2814
2815 * Source/NSDistributedLock.m: Document and tidy.
2816 * Source/NSTimeZone.m: Don't set system zone prematurely.
2817 * Source/NSString.m: Don't bother to cache constant string
2818 class. Document it.
2819
2820 2002-10-01 Adam Fedor <fedor@gnu.org>
2821
2822 * config/pathxml.m4: Filter -L/usr/lib out of XML_LIBS.
2823 * configure: Regenerate.
2824
2825 2002-10-01 02:21 Alexander Malmberg <alexander@malmberg.org>
2826
2827 * Source/NSUserDefaults.m (-synchronize): Handle lockDate being nil.
2828
2829 2002-09-30 Richard Frith-Macdonald <rfm@gnu.org>
2830
2831 * NSTimeZones/NSTimeZones.tar: Updated to latest information.
2832 * Source/NSCalendarDate.m: Tidy up a little.
2833 * Source/NSTimeZone.m: Rewrite main timezone code for performance -
2834 Roughly doubles speed of most NSCalendarDate stuff.
2835 * NSThread.m: Fix for single threaded operation ... suggested by
2836 Ludovic Marcotte.
2837
2838 2002-09-29 Richard Frith-Macdonald <rfm@gnu.org>
2839
2840 * Source/GSFileHandle.m: Encapsulate read and write operations in
2841 new low level methods to ease subclassing.
2842 * SSL/GSSSLHandle.m: Use new read and write methods to simplify.
2843
2844 2002-09-28 Richard Frith-Macdonald <rfm@gnu.org>
2845
2846 * Source/NSCalendarDate.m: Fix problem with signed/unsigned type
2847 conversion when initialising a date at a daylight savings time
2848 boundary, and attempt to improve the code for adding offsets to
2849 dates.
2850 * Source/Makefile.postamble: patch to fix some warnings in
2851 uninstall (by David Ayers).
2852
2853 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
2854
2855 * Source/GSTcpPort.m: ([GSTcphandle+initialize]) ignore SIGPIPE in
2856 case a socket gets closed while we are writing.
2857
2858 2002-09-26 Richard Frith-Macdonald <rfm@gnu.org>
2859
2860 * Source/Additions/GSMime.m: Fix typo.
2861
2862 Thu Sep 26 01:28:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2863
2864 * Tools/make_strings/GNUmakefile: Do not include ctool.make.
2865
2866 2002-09-25 Richard Frith-Macdonald <rfm@gnu.org>
2867
2868 * Source/Additions/GSXML.m: Added ([-previousElement]) to match the
2869 [(-nextElement]) method.
2870
2871 Wed Sep 25 02:46:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
2872
2873 * Tools/make_strings/make_strings.m (main): Remove "" languages
2874 from the list of languages before processing.
2875
2876 2002-09-24 Richard Frith-Macdonald <rfm@gnu.org>
2877
2878 * Source/GSTcpHandle.m: ([-handleForPort:beforeDate:]) fix bug where
2879 we could end up using the last (non-matching) handle rather than
2880 creating a new one.
2881
2882 2002-09-20 Richard Frith-Macdonald <rfm@gnu.org>
2883
2884 * Source/GSTcpHandle.m: ([-connectToPort:beforeDate:]) Added more
2885 informative logging for problem condition reported by Nicila ...
2886 perhaps it will help tracking down cause.
2887
2888 2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
2889
2890 * Source/GSFormat.m: Where a %p format prints a null pointer,
2891 print the text (null).
2892 * Source/GSTcpHandle.m: Check port for invalidation while looping
2893 on write events, so we can fail if we become invalid while sending
2894 or connecting, before the port timeout expires.
2895 * Source/NSConnection.m: Check connection for invalidation while
2896 looping waiting for a reply, so we can fail if we become invalid
2897 before the timeout expires.
2898 * Source/DocMakefile: Specify template options
2899 * Tools/autogsdoc.m: Remove hack to turn templates on by default.
2900 Document the use of templates.
2901 * Tools/gsdoc-0_6_7.dtd: Hack in more types for indexing ... don't
2902 know if the software works for them though.
2903
2904 2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
2905
2906 * Source/Unicode.m: Restructure conversion from unicode slightly,
2907 to make it clearer and more readable and to include handling of
2908 lossy conversions.
2909 * Headers/gnustep/unicode/gsm0338.h: Added table for lossy conversion
2910 from unicode.
2911
2912 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2913
2914 * Tools/AGSParser.m: Bugfix ... look for source files more
2915 intelligently. Try both current directory and relative to header.
2916 * Tools/AGSOutput.m: When creating template output file for functions
2917 etc because none was supplied, take account of the -Up flag and
2918 create an up link in it.
2919 * Source/GSHTTPURLHandle.m: If response parsing fails, fail the
2920 load operation and (conditionally when debug enabled) log an error.
2921
2922 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2923
2924 * Source/NSFileManager.m: Basic/dummy implementations of new MacOS-X
2925 methods added. Attribute handling totally rewritten to work in a lazy
2926 way ... so we only set up attribute info in the dictionary when we
2927 actually need it. Account 'Number' methods and dictionary keys changed
2928 to be account 'ID' instead ... in accordance with MacOS-X usage.
2929 Documented the class.
2930 * Source/NSData.m: ([-writeToFile:atomically:]) implement workaround
2931 for bug in windoze implementation of rename()
2932 * Source/NSString.m: Remove some redundant code duplicating stuff in
2933 GSMime.m
2934
2935 2002-09-15 Richard Frith-Macdonald <rfm@gnu.org>
2936
2937 * Source/NSFileManager.m: MacOS-X ([componentsToDisplayForPath:]) and
2938 ([displayNameAtPath:]) methods implemented. Creation date added.
2939 * Source/NSString.m: More alterations to GNUstep extension methods
2940 to make their names consistent with other methods.
2941 Q. Should we deprecate/remove them entirely?
2942 * Tools/gsdoc.m: Update for changes to extension methods... though
2943 this tool has been deprecated for some time now, so perhaps we
2944 should remove it?
2945
2946 2002-09-13 Adam Fedor <fedor@gnu.org>
2947
2948 * Source/cifframe.m (cifframe_guess_struct_size): Recurse if
2949 element contains structures.
2950 (cifframe_from_info): Alloc room for return value even if caller
2951 doesn't use it.
2952
2953 Thu Sep 12 11:02:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2954
2955 * Source/NSObject.m ([+_becomeMultiThreaded:]): Fixed typo - this
2956 method was declared to take a 'NSNotification' rather than a
2957 'NSNotification *' argument.
2958
2959 2002-09-10 Richard Frith-Macdonald <rfm@gnu.org>
2960
2961 * Source/GSLocale.m: Double locking check fix
2962 * Source/NSFileManager.m: Double locking check fix
2963 Fixes contributed by David Ayers <d.ayers@inode.at>
2964
2965 2002-09-08 Richard Frith-Macdonald <rfm@gnu.org>
2966
2967 * Headers/gnustep/base/GSIArray.h: Minor optimisation
2968 * Headers/gnustep/unicode/gsm0338.h: Correct unicode to gsm table
2969 * Source/Unicode.m: Correct gsm conversion and optimise unicode to
2970 8-bit charaacter conversion for other character sets. Also correct
2971 lossy/non-lossy conversion using iconv.
2972
2973 2002-08-30 Adam Fedor <fedor@gnu.org>
2974
2975 * Version: 1.5.0
2976
2977 2002-08-30 Richard Frith-Macdonald <rfm@gnu.org>
2978
2979 * Source/NSString.m: Implemented new MacOS-X methods -
2980 ([-stringByPaddingToLength:withString:startingAtIndex:]), and
2981 ([-stringByTrimmingCharactersInSet:])
2982 Tidied a couple of extension method names for consistency and
2983 documented several methods.
2984
2985 2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
2986
2987 * Source/Additions/GSXML.m: Get libxml to put filename in error
2988 messages when it is available.
2989
2990 2002-08-28 Richard Frith-Macdonald <rfm@gnu.org>
2991
2992 * Source/Unicode.m: Rewritten the way that iconv is used to decide
2993 upon the available encodings ... lazy evaluation so that we don't
2994 try to lookup an encoding until we have to. This should improve
2995 process startup time (especially in gdb) since the iconv operations
2996 seem to be very slow.
2997
2998 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2999
3000 * Source/Additions/GSXML.m: Integrated GSXPath code by Nicola Pero
3001 provides an API to use the xpath support built into libxml from
3002 version 2.3 onwards.
3003 * Source/NSThread.m: Implement new priority methods.
3004 * Source/NSObject.m: Raise exception when passed null selector.
3005
3006 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
3007
3008 * Source/NSData.m: ([-writeToFile:atomically:]) Removed bogus line
3009 which deleted files when it shouldn't.
3010 Added new MacOS-X methods supporting NSData objects where the bytes
3011 are not owned by the data object. Removed GNUstep extension which
3012 provided this functionality before.
3013 * Source/NSUserDefaults.m: Use distributed lock to ensure that there
3014 is no possible window when the defaults file is invalid ... not all
3015 systems guarantee that the rename() system call is atomic.
3016 * Source/NSArray.m: New MacOS-X methods ([-initWithArray:copyItems:])
3017 ([-exchangeObjectAtIndex:withObjectAtIndex:])
3018 * Source/NSTimer.m: Update for compatibility with latest MacOS-X
3019 * Source/NSObject.m: New ([+isSubclassOfClass:]) and perform
3020 cancellation from MacOS-X
3021 * Source/NSRunloop.m: New perform cancellation method from MacOS-X
3022 proofreading help/fixes from David Ayers.
3023
3024 2002-08-25 Richard Frith-Macdonald <rfm@gnu.org>
3025
3026 * Source/WindowsFileHandle.m: Removed ... no longer used.
3027 * Source/GSHTTPURLHandle.m: Don't use getpid() ... not portable.
3028 * Tools/gdomap.c: Don't use getuid() under windoze.
3029
3030 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3031
3032 * Source/NSURL.m: ([-initFileURLWithPath:]) check to see if path is
3033 a directory and append a trailing slash if necessary. Remove hack
3034 to refrain from stripping last patch component in file URLs.
3035
3036 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3037
3038 * Source/NSURL.m: Hacks for compatibility with MacOS-X in returning
3039 path of a file URL ... the RFC says we should only return a path
3040 for a generic URL (scheme://user:passwd@host:port/path#frag?query)
3041 which a file URL certainly isn't. However, for compatibility we
3042 now treat a file URL more like a generic one.
3043 Also when creating absolute file URLs from base plus relative,
3044 the MacOS-X code doesn't strip the last path component of the
3045 base URL as it should ... we emulate that too.
3046
3047 2002-08-22 Richard Frith-Macdonald <rfm@gnu.org>
3048
3049 * Source/NSFileManager.m: Fix typo ... missing closing brace under
3050 windoze. Reported by Alex Stockdale.
3051
3052 2002-08-21 Richard Frith-Macdonald <rfm@gnu.org>
3053
3054 * Source/NSObject.m: ([-replacementObjectForPortCoder:])
3055 Documented method and removed unused/unwanted code dealing with
3056 NSDistantObject (NSDistantObject overrides the method).
3057
3058 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3059
3060 * Source/NSObject.m: Fix silly typo.
3061
3062 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3063
3064 * Source/NSConnection.m: (-removeProxy:) Remove unbalanced release.
3065
3066 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3067
3068 * Source/GSCountedSet.m:
3069 * Source/GSFileHandle.m:
3070 * Source/NSArchiver.m:
3071 * Source/NSData.m:
3072 * Source/NSDistributedNotificationCenter.m:
3073 * Source/NSHashTable.m:
3074 * Source/NSMapTable.m:
3075 * Source/NSObjCRuntime.m:
3076 * Source/NSObject.m:
3077 * Source/NSPortCoder.m:
3078 * Source/NSScanner.m:
3079 * Source/NSString.m:
3080 * Source/Unicode.m:
3081 * Source/UnixFileHandle.m:
3082 * Source/WindowsFileHandle.m:
3083 * Source/callframe.m:
3084 * Source/cifframe.m:
3085 * Source/mframe.m:
3086 Fix trivial typos and spelling errors pointed out by David Ayers.
3087
3088 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3089
3090 * Source/GSCountedSet.m:
3091 * Source/NSAutoreleasePool.m:
3092 * Source/NSCharacterSet.m:
3093 * Source/NSCountedSet.m:
3094 * Source/NSData.m:
3095 * Source/NSDebug.m:
3096 * Source/NSDictionary.m:
3097 * Source/NSFileHandle.m:
3098 * Source/NSLock.m:
3099 * Source/NSNull.m:
3100 * Source/NSNumber.m:
3101 * Source/NSObject.m:
3102 * Source/NSPipe.m:
3103 * Source/NSScanner.m:
3104 * Source/NSSerializer.m:
3105 * Source/NSSet.m:
3106 * Source/NSString.m:
3107 * Source/NSThread.m:
3108 * Source/NSTimeZone.m:
3109 * Source/Additions/GSMime.m:
3110 * Headers/gnustep/base/NSBundle.h:
3111 * Headers/gnustep/base/NSRange.h:
3112 * Headers/gnustep/base/NSSet.h:
3113 Modify comments to include gsdoc documentation for autogsdoc.
3114 This completes the transfer of all gsdoc documentation into
3115 the source code.
3116 * Documentation/gsdoc: All obsolete files removed.
3117
3118 2002-08-19 Richard Frith-Macdonald <rfm@gnu.org>
3119
3120 * Source/NSProxy.m: Documented all methods and corrected implementation
3121 of some introspection methods.
3122
3123 2002-08-16 Richard Frith-Macdonald <rfm@gnu.org>
3124
3125 * Source/Base.gsdoc: Moved to Documentation.
3126 * Source/GNUmakefile: Removed documentation building code.
3127 * Source/DocMakefile: New file for building refetrence documentation.
3128 * Documentation/Base.gsdoc: New from source directory.
3129 * Documentation/GNUmakefile: Set up installation directory name.
3130 * Documentation/Makefile.postamble: Use ../Source/DocMakefile to build
3131 library reference documentation and deal with installation.
3132
3133 2002-08-15 Adam Fedor <fedor@gnu.org>
3134
3135 * configure.ac: Add NetBSD header/ldflag support (Patch from
3136 Peter Cooper).
3137
3138 * Headers/gnustep/base/GNUstep.h: New compatibility file.
3139
3140 2002-08-15 Richard Frith-Macdonald <rfm@gnu.org>
3141
3142 * SSL/GNUmakefile: Added -lgnustep-base and -lobjc to SSL_BUNDLE_LIBS
3143 So that bundle is linked with a dependency on these libraries ... to
3144 ensure that dynamic linkage works when the bundle is loaded in from
3145 java via jigs.
3146
3147 2002-08-15 Adam Fedor <fedor@gnu.org>
3148
3149 * SSL/configure.ac: Simplified check for libraries. Added socket
3150 lib check for Solaris.
3151
3152 * Headers/gnustep/base/NSDecimalNumber.h: Add NSNumber category
3153 for decimalValue.
3154 * Source/NSDecimalNumber.m ([NSNumber -decimalValue]): Implemented.
3155
3156 2002-08-14 Richard Frith-Macdonald <rfm@gnu.org>
3157
3158 * Source/GSString.m: Allow 'true' as boolean value
3159 * Source/NSConcreteNumber.m: Output 'YES' as boolean in description.
3160 * Source/NSNotificationCenter.m: Fix dumb memory leak.
3161 * Source/NSNumber.m: Output 'YES' as boolean in description.
3162 * Source/NSUserDefaults.m: Set 'YES' as boolean string.
3163 * Headers/Foundation/NSObject.h: Fix v dumb memory leak.
3164 * Source/GSHTTPURLHandle.m: Append crlf to separate headers from body
3165 rather than just an lf.
3166 * SSL: Renamed SSL class and source file to reflect the fact
3167 that the code is not unix specific.
3168
3169 2002-08-11 Richard Frith-Macdonald <rfm@gnu.org>
3170
3171 * configure.ac: Check for libxml version 2.3.0 or greater to ensure
3172 we have xpath support.
3173 * Source/NSDecimalNumber.m: implement ([-getValue:]) and
3174 ([-initWithBytes:objCType:])
3175
3176 2002-08-09 Richard Frith-Macdonald <rfm@gnu.org>
3177
3178 * Source/NSNotificationCenter.m: ([-postNotification:]) Correct to
3179 post the actual notification we are given rather than a notification
3180 built from that one. Bug report by Alexander Malmberg.
3181
3182 2002-08-08 Richard Frith-Macdonald <rfm@gnu.org>
3183
3184 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Ensure that the
3185 string contains no dots, so it can be used as a filename under
3186 windoze.
3187 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Documented.
3188
3189 2002-08-07 Richard Frith-Macdonald <rfm@gnu.org>
3190
3191 * Source/NSString.m: ([-boolValue]) Accept 'true' as well as 'YES'
3192 * Source/NSThread.m: Modified to avoid using non-standard notification
3193 initialisation.
3194 * Source/NSNotification.m: Rewritten as abstract/cluster class for
3195 implementation compatibility with MacOS-X
3196 * Source/NSNotificationCenter.m: Modified posting to behave like the
3197 MacOS-X implementation. Implement concrete subclass of
3198 NSNotification.
3199 * Source/NSUserDefaults.m: Try to make creation of new defaults
3200 database an atomic operation.
3201 * Source/NSObject.m: Remove dealloc notifications hack ... the
3202 dealloc method can now safely be used to refrain from deallocating
3203 objects, so I don't think the hack is needed any more.
3204 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Update to ensure
3205 uniqueness across all hosts, processes, and threads.
3206 * Tools/gdomap.c: Tidyup patch by Matthias Klose
3207
3208 2002-07-29 Adam Fedor <fedor@gnu.org>
3209
3210 * Merge changes from 1.4.0 onto main branch.
3211
3212 2002-07-09 Richard Frith-Macdonald <rfm@gnu.org>
3213
3214 * Source/GSTcpHandle.m: Always use runloop in NSConnectionReplyMode
3215 to avoid other NSDefaultRunLoopMode events being triggered while
3216 executing a DO method. **EXPERIMENTAL**
3217
3218 2002-08-06 Adam Fedor <fedor@gnu.org>
3219
3220 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:):
3221 Change location of start of end char search (Patch from Pete
3222 French).
3223
3224 2002-07-27 Adam Fedor <fedor@gnu.org>
3225
3226 * Version: 1.4.0
3227
3228 2002-07-23 Adam Fedor <fedor@gnu.org>
3229
3230 * Source/NSInvocation.m ([GSFrameInvocation
3231 -initWithMethodSignature:]): Return nil if signature is nil.
3232 * Source/GSFFCallInvocation.m (-initWithMethodSignature:): Idem.
3233 * Source/GSFFIInvocation (-initWithMethodSignature:): Idem.
3234
3235 2002-07-20 Adam Fedor <fedor@gnu.org>
3236
3237 * Source/NSDecimal.m: ifdef for compiling on Darwin (report
3238 from Carl Eugen).
3239 * Source/NSInvocation.m ([-initWithSelector:): Rewrite to use
3240 designated initializer.
3241 (-initWithTarget:selector:): Idem.
3242
3243 2002-07-18 Adam Fedor <fedor@gnu.org>
3244
3245 * Tools/gdomap.c (main): Write the pidfile before switching away
3246 from root, but only if the user is root.
3247
3248 2002-07-17 Adam Fedor <fedor@gnu.org>
3249
3250 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:): Fix
3251 lineEnd and contentEnd check for \r\n (particularly at end of
3252 string.
3253
3254 Tue Jul 16 16:43:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
3255
3256 * Headers/gnustep/base/GSXML.h ([GSXMLNode -setNamespace:]): Added
3257 missing method essential to use namespaces.
3258 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Implemented.
3259
3260 2002-07-08 Richard Frith-Macdonald <rfm@gnu.org>
3261
3262 * Source/NSFileManager.m: Don't standardise path before converting to
3263 filesystem representation.
3264 * Tools/gdomap.c: Security enhancement - call setgroups().
3265
3266 2002-07-03 Adam Fedor <fedor@gnu.org>
3267
3268 * Version: 1.3.4
3269 * configure.ac: Remove warning about libffi
3270 * Documentation/news.texi: Update.
3271
3272 2002-07-03 Richard Frith-Macdonald <rfm@gnu.org>
3273
3274 * Source/Additions/GSMime.m: Ensure mime-version header appears
3275 before other headers. Fix bug in terminatimg mime data.
3276
3277 2002-07-02 Richard Frith-Macdonald <rfm@gnu.org>
3278
3279 * Tools/gdomap.c: Don't write to pidfile until *after* setuid away
3280 from root. Bug reported by James Kehl <mkehl@gil.com.au>
3281
3282 2002-07-01 Richard Frith-Macdonald <rfm@gnu.org>
3283
3284 * Source/Additions/GSMime.m: Correct test for multipart content when
3285 generating raw data. Fix by Mark Allison <mark@brainstorm.co.uk>
3286
3287 2002-06-30 Richard Frith-Macdonald <rfm@gnu.org>
3288
3289 * Headers/gnustep/base/GSFileHandle.h: New version of UnixFileHandle
3290 for combined unix/windoze use.
3291 * Source/GSFileHandle.m: New combined unix/windows implementation.
3292 * Source/NSFileHandle.m: Use GSFileHandle.
3293 * Source/GNUMakefile: Build GSFileHandle.
3294 * SSL/GSUnixSSLHandle.m: Update for combined GSFileHandle
3295
3296 2002-06-29 Richard Frith-Macdonald <rfm@gnu.org>
3297
3298 * Source/NSObject.m: ([-respondsToSelector:]) handle nul selectors.
3299 Bug report by Andy Ruder <aeruder@yahoo.com>
3300
3301 2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
3302
3303 * Source/NSString.m: Change to quote strings in plist output
3304 aggressively (quote characters that don't really need quoting)
3305 while still parsing flexibly ... ie handle unquoted strings as
3306 long as they don't contain 'special' characters.
3307 Fix for Tom Hageman <th@xs4all.nl>
3308
3309 2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
3310
3311 * Tools/AGSParser.m: ([-parseDeclaration:]) Correct wrongly
3312 positioned autorelease pool in last change. Hope that's the only
3313 one.
3314
3315 Wed Jun 26 15:32:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
3316
3317 * base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes,
3318 now should be done by gnustep-make automatically.
3319
3320 Tue Jun 25 13:31:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
3321
3322 * Tools/AGSHtml.m: Tidy up autorelease pool macros so that it
3323 compiles with gc=yes and old compilers.
3324 * Tools/AGSParser.m: Idem.
3325 * Tools/AGSOutput.m: Idem.
3326 * Tools/HTMLLinker.m: Idem.
3327 * Tools/autogsdoc.m: Idem.
3328 * Tools/gdnc.m: Idem.
3329 * Tools/gsdoc.m: Idem.
3330 * Tools/make_strings/make_strings.m: Idem.
3331
3332 Tue Jun 25 13:13:00 2002 Nicola Pero <n.pero@mi.flashnet.it>
3333
3334 * Source/Additions/GSMime.m ([-rawMimeData:]): Create the
3335 autorelease pool after the other variables, so that it compiles
3336 with gc=yes and gcc < 3.x.
3337 * Source/NSLog.m (NSLogv): Idem.
3338
3339 2002-06-23 Richard Frith-Macdonald <rfm@gnu.org>
3340
3341 * Headers/Foundation/NSFileHandle.h: add async read of specific length.
3342 * Source/NSFileHandle.m: Make the async wconvenience methods call
3343 the core ones.
3344 * Source/UnixFileHandle.m: Remove async convenience methods and add
3345 one to read specified length of data.
3346
3347 2002-06-21 Richard Frith-Macdonald <rfm@gnu.org>
3348
3349 * Source/GSMime.m: add a few consistency checks to raise an exception
3350 if we try to unparse a GSMimeDocument with inconsistent headers and
3351 content.
3352
3353 2002-06-19 Adam Fedor <fedor@gnu.org>
3354
3355 * Source/GSLocale.m (GSSetLocaleC): Only set locale for LC_CTYPE.
3356
3357 2002-06-18 Richard Frith-Macdonald <rfm@gnu.org>
3358
3359 * Source/NSURL.m: Cope with a URL where the path is missing.
3360 Check user, password, host, port parts for illegal characters.
3361 Thanks to bug report by Marco Manfredini <mldb@gmx.org>
3362 * Source/GSMime.m: add convenience method for setting document type.
3363 Fix error in recent change to base64 encoding.
3364
3365 2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
3366
3367 * Source/NSTimer.m: Retain target and user info on initialisation
3368 Release them on invalidation. Ensure timer is invalidated on
3369 deallocation. Documented timer methods.
3370 Changes based on bug report by Andy Ruder <aeruder@yahoo.com>
3371 * Source/NSURL.m: Fixed one possible nul pointer indirection,
3372 and added some comments about the internal data structure.
3373 Handle percentage escape sequences in user, password, host and port
3374 even though MacOS-X only seems to do it for the user name and host.
3375 * Tools/plmerge.m: Fixed some crasher bugs where given bad arguments.
3376
3377 2002-06-16 Richard Frith-Macdonald <rfm@gnu.org>
3378
3379 * Source/GSFTPURLHandle.m: simple implementation added
3380 * Source/NSURLHandle.m: Register GSFTPURLHandle for ftp scheme.
3381 * Source/GSHTTPURLHandle.m: modified so that data being read is
3382 reported periodically during the read proces rather than just at end.
3383
3384 2002-06-15 Adam Fedor <fedor@gnu.org>
3385
3386 * Source/NSProcessInfo.m: Include sys/fcntl for Solaris.
3387
3388 2002-06-14 Richard Frith-Macdonald <rfm@gnu.org>
3389
3390 * config/pathxml.m4: Adjust path to headers.
3391 * Tools/gsdoc.m: Adjust path to headers. Add warning about
3392 deprecation.
3393 Patch by e.sammer <eric@linuxstep.org>
3394 * Source/NSObject.m: Added some compatibility methods in a
3395 categpory of Object.
3396 * Source/Additions/GSMime.m: Add a couple of convenience methods.
3397 * Source/GSHTTPURLHandle.m: Use one of them.
3398 * SSL/Makefile.postample: on distclean, don't need to delete
3399 bundle, but do delete config.h explicitly.
3400
3401 2002-06-13 Richard Frith-Macdonald <rfm@gnu.org>
3402
3403 * Source/Additions/GSXML.m: Include NSInvocation.h to avoid
3404 compiler warning.
3405
3406 2002-06-12 Richard Frith-Macdonald <rfm@gnu.org>
3407
3408 * Source/NSObject.m: Fix a few errors which crept in to the map
3409 table based reference counting.
3410 * Examples/GNUmakefile: Permit local makefile to be missing.
3411 * Source/UnixFileHandle.m: Added outgoing SOCKS5 support.
3412 * Source/NSFileHandle.m: Added SOCKS5 documentation.
3413 * Source/Base/gsdoc: Dopcumented SOCKS enironemnet variables and defs.
3414 * Source/NSNotification.m: Made -description more informative.
3415 * Testing/call.m: Trivial test program for tcp connections.
3416 * SSL/GSUnixSSLHandle.m: Updated for socks.
3417 * Additions/GSMime.m: Utilites to encode/decode base64
3418 * Source/GSHTTPURLHandle.m: Use encoding.
3419
3420 2002-06-10 Richard Frith-Macdonald <rfm@gnu.org>
3421
3422 * Source/UnixFileHandle.m: Avoid some unnecessary autoreleases.
3423
3424 2002-06-09 Richard Frith-Macdonald <rfm@gnu.org>
3425
3426 * Source/NSObject.m: Implemented and documented -className
3427 * Tools/AGSOutput.m: When Verbose = YES log all documentable
3428 entities for which no comment text was found.
3429 * Source/NSException.m: Added NSParseErrorException and tidied other
3430 general exceptions.
3431 * Source/extern.m: Removed generic exceptions ... now in NSException.m
3432
3433 2002-06-06 Adam Fedor <fedor@gnu.org>
3434
3435 * Source/cifframe.m (cifframe_from_info): Set value locations
3436 after prepping cifframe.
3437
3438 2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
3439
3440 * Source/NSLog.m: patch by Jeff Teunissen to avoid adding date/time
3441 info when using syslog.
3442 * Source/NSURL.m: Fix loading codde to set self as client of handle.
3443 * Tools/AGSParser.m: Fix to avoid warnings about unimplemented protocols
3444 * Headers/gnustep/base/GSXML.h:
3445 * Headers/gnustep/base/NSArchiver.h:
3446 * Headers/gnustep/base/NSAutoreleasePool.h:
3447 * Headers/gnustep/base/NSCoder.h:
3448 * Headers/gnustep/base/NSDictionary.h:
3449 * Headers/gnustep/base/NSFileHandle.h:
3450 * Headers/gnustep/base/NSNotification.h:
3451 * Headers/gnustep/base/NSRunLoop.h:
3452 * Headers/gnustep/base/NSURL.h:
3453 * Headers/gnustep/base/NSURLHandle.h:
3454 * Source/GSHTTPURLHandle.m:
3455 * Source/NSArray.m:
3456 * Source/NSCoder.m:
3457 * Source/NSFileHandle.m:
3458 * Source/NSNotification.m:
3459 * Source/NSRunLoop.m:
3460 * Source/NSURLHandle.m:
3461 * Source/NSUnarchiver.m:
3462 * Source/externs.m:
3463 * Source/Additions/GSXML.m:
3464 Tidied for documentation purposes ... no substantial code changes
3465
3466 Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
3467
3468 * Source/NSLog.m (_NSLog_standard_printf_handler): Fixed
3469 syslogging of strings: add a NULL at the end of strings before
3470 feeding them to syslog.
3471
3472 2002-06-05 Richard Frith-Macdonald <rfm@gnu.org>
3473
3474 * Headers/Foundation/NSURL.h: Added a couple of ivars and removed
3475 non-standard methods.
3476 * Source/NSURL.m: Rewrite everything apart from the code dealing
3477 with NSURLHandle objects (and change some of that) to conform to
3478 the documentation (I hope) and to try to match behavior with that
3479 of MacOS-X.
3480
3481 2002-06-04 Adam Fedor <fedor@gnu.org>
3482
3483 * Headers/gnustep/base/NSByteOrder.h: Hack for bug in gcc 3.1
3484 * Source/externs.m (_gcc3_1_hack): Idem. (modified patch from
3485 benhur@inf.ufsm.br).
3486
3487 * Source/GSFFIInvocation.m (gs_objc_msg_forward): Alloc closure
3488 with fastMallocBuffer.
3489
3490 * Documentation/coding-standards.texi: Update.
3491
3492 2002-06-02 Richard Frith-Macdonald <rfm@gnu.org>
3493
3494 * Headers/Foundation/NSObject.h: Removed ([_dealloc]),
3495 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3496 * Source/NSObject.m: Removed ([_dealloc]),
3497 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3498 as these methods are no longer necessary now that the dealloc method
3499 itsself is able to refrain from performing deallocation if if wishes
3500 (the retain count mechanism can no longer reach a zero retain count).
3501
3502 2002-06-01 Richard Frith-Macdonald <rfm@gnu.org>
3503
3504 * Source/NSObject.m: Change NSDecrementExtraRefCountWasZero() to
3505 refrain from decrementing when the count is zero. Documented
3506 the retain/release/retainCount methods (and others).
3507 * Headers/Foundation/NSObject.h: Documented extra ref count functions.
3508
3509 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3510
3511 * Source/NSObject.m: Change order of zombie initialisation for
3512 darwin port.
3513
3514 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3515
3516 * Headers/gnustep/base/GSMime.h: Make set... methods return void.
3517 * Source//GSMime.m: Make set... methods return void. Also fix
3518 parsing to use different 'specials' for HTTP and MIME
3519 * Headers/gnustep/base/GSIMap.h:
3520 * Headers/gnustep/base/NSHashTable.h:
3521 * Headers/gnustep/base/NSMapTable.h:
3522 * Source/GSArray.m:
3523 * Source/GSSet.m:
3524 * Source/GSTcpPort.m:
3525 * Source/NSBundle.m:
3526 * Source/NSConnection.m:
3527 * Source/NSData.m:
3528 * Source/NSHashTable.m:
3529 * Source/NSMapTable.m:
3530 * Source/NSObject.m:
3531 * Source/NSRunLoop.m:
3532 Applied patches by James Knight, to improve memory efficiency and
3533 insertion.deletion speed to hash and map tables. Also fixes for
3534 some GC problems.
3535 Fixed minor problem in patch, and added code to call functions to
3536 clean up after hash and map enumerations. Modified cleanup function
3537 to clear enumerator ... for memory release on GC system.
3538 Rewrote enumeration code so that it maintains the characteristic
3539 that objects can safely be removed from maps after being enumerated
3540 (this feature is used in several places).
3541 *WARNING* This introduces a binary incompatibility in that the size
3542 of the map table and hash table enumeration types has grown.
3543 If you have binaries which use the NSEnumerateHashTable() or the
3544 NSEnumeratemapTable() functions, you need to rebuild them.
3545
3546 2002-05-27 Richard Frith-Macdonald <rfm@gnu.org>
3547
3548 * Headers/Foundation/GSMime.h: Tidy up and add convenience methods.
3549 * Source/Additions/GSMime.m: Tidy up and add convenience methods.
3550 Added methods to convert content between string and data for ease
3551 of use from java. Added support for most character sets handled
3552 by GNUstep-base. Improved ContentID generation to be both unlikely
3553 to recur, and to be guaranteed unique within a process.
3554 * Source/NSBundle.m: ([+allBundles]) Don't enumeraste if map table
3555 has not been created yet.
3556 * Source/NSLog.m: Allow output descriptor to be changed.
3557 * Source/NSProcessInfo.m: Add method to change log output to go to
3558 another file for applications where stderr has been hijacked.
3559
3560 2002-05-26 Fred Kiefer <FredKiefer@gmx.de>
3561
3562 * Source/Additions/GSXML.m
3563 Define GSXMLAttribute in the case when libxml is found.
3564 Otherwise it wont compile on MS Windows.
3565
3566 2002-05-26 Richard Frith-Macdonald <rfm@gnu.org>
3567
3568 * Headers/Foundation/GSMime.h: Add GSMimeHeader class.
3569 * Source/Additions/GSMime.m: Add GSMimeHeader class.
3570 Update API to use GSMimeheaders rather than dictionaries.
3571
3572 2002-05-23 Richard Frith-Macdonald <rfm@gnu.org>
3573
3574 * Source/Additions/GSXML.m: Fix a few errors in last changes.
3575 * Source/NSString.m: Updates for GSXML changes.
3576 * Tools/AGSHtml.m: Updates for GSXML changes.
3577 * Tools/AGSIndex.m: Updates for GSXML changes.
3578
3579 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3580
3581 * Headers/gnustep/base/GSXML.h: Add _parent ivars
3582 * Source/Additions/GSXML.m: Implement memory mangement so that the
3583 underlying libxml data is not freed unless all objects derived from
3584 it have been deallocated. Remove comments warning about original
3585 memory management scheme.
3586
3587 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3588
3589 * Source/GSeq.h: Fix bug matching sequences with zero length range.
3590 * Headers/gnustep/base/GSMime.h: Tell autogsdoc where to look for source
3591 * Headers/gnustep/base/GSXML.h: Updates for consistency etc.
3592 * Source/Additions/GSXML.m: ditto
3593 * Tools/AGSHtml.m: Modified for changed GSXML
3594 * Tools/AGSIndex.m: ditto
3595 * Tools/AGSParser.m: ditto
3596 * Tools/autogsdoc.m: ditto
3597 * Tools/defaults.m: Fixed typo
3598 Mostly, changes to make methods which were intended to be private
3599 really private, and lots of modifications to make mathod names
3600 consistent with OpenStep usage ... suggestions made by many people.
3601 * configure.ac: Use better names for GMP and ZLIB flags
3602 * configure: regenerate
3603 * Headers/gnustep/base/GSConfig.h.in: GMP and ZLIB update
3604 * Headers/gnustep/base/NSDecimal.h: GMP update
3605 * Headers/gnustep/base/UnixFileHandle.h: ZLIB update
3606 * Source/NSDecimal.m: GMP update
3607 * Source/UnixFileHandle.m: ZLIB update
3608
3609 2002-05-15 Richard Frith-Macdonald <rfm@gnu.org>
3610
3611 * Source/NSLog.m: Altered logging format for compatibility with
3612 MacOS-X (and easier collating). Thanks to report by lcampbell
3613
3614 2002-05-14 Richard Frith-Macdonald <rfm@gnu.org>
3615
3616 * Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
3617 that returned memory is allocated from specified zone, rather than
3618 returning internal buffer.
3619 * Tools/AGSIndex.m: When a string missmatch is found when merging,
3620 update the output to the new string as well as warning.
3621 * Tools/autogsdoc.m: Don't automatically include refs to installed
3622 copies of the project being documented.
3623
3624 2002-05-13 Richard Frith-Macdonald <rfm@gnu.org>
3625
3626 * Source/NSFileManager.m: Don't try to release memory using free()
3627 when it was allocated using NSZoneMalloc().
3628 * Tools/autogsdoc.m: Improve dependency rule management.
3629 * Tools/AGSParser.h: ditto
3630 * Tools/AGSParser.m: ditto
3631 * Tools/AGSIndex.h: ditto
3632 * Tools/AGSIndex.m: ditto
3633 Store all dependency information in the .igsdoc file and keep it up
3634 to date. Never regenerate a file that doesn't need it.
3635 Mostly the changes are to cope with the fact that we now have
3636 common files into which all functions, constants, variables, and
3637 typedefs within a project are combined.
3638
3639 2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
3640
3641 * Source/Unicode.m: Rationalise so that all conversion operations
3642 go through the two new functions. Gets rid of a load of old code.
3643 * Source/GSString.m: ([-replaceCharactersInRange:withString:])
3644 minor performance enhancement when copying from a 16-bit string
3645 to an 8-bit string.
3646
3647 2002-05-10 Adam Fedor <fedor@gnu.org>
3648
3649 * Source/Additions/GSXML.m: Change libxml strings to UTF8
3650 (makeText:) New.
3651 Add GSXMLDummy for MinGW
3652 * Source/Additions/libgnustep-base.def: Remove GSXMLHandler.
3653 (patch from Kai Henningsen).
3654
3655 2002-05-10 Richard Frith-Macdonald <rfm@gnu.org>
3656
3657 * Tools/gdnc.m: Make gdnc log to syslog by default, and close
3658 stdin, stdout, stderr to run as daemon.
3659 * Source/NSUser.m: Restructured path generation code slightly.
3660 Added support for system-wide .GNUsteprc with force options.
3661 Removed use of FORCE_USER_ROOT and FORCE_DEFAULTS_ROOT
3662 * Source/Base/gsdoc: Document the .GNUsteprc files.
3663 * Source/NSArray.m: Fix bug with GC pointed out by James Knight
3664
3665 2002-05-09 Richard Frith-Macdonald <rfm@gnu.org>
3666
3667 * Source/GSHTTPURLHandle.m: Insert port information to URL passed
3668 to proxy.
3669
3670 2002-05-09 Fred Kiefer <FredKiefer@gmx.de>
3671
3672 * Source/NSBundle.m
3673 Use fileSystemRepresentation instead of cString to get the file
3674 name to load.
3675
3676 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3677
3678 * Source/NSTask.m: When launching under windoze, don't forget to
3679 use the fileSystemRepresentation of the program name.
3680
3681 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3682
3683 * Source/Additions/GSXML.m: Fix function prototype ... gets rid of
3684 compiler warning.
3685 * Source/GNUmakefile: remove o_vscanf.c ... unused
3686 * Source/o_vscanf.c: remove unused file.
3687 * Source/mframe.m: Fix compiler warning about unused function.
3688 * Source/GSFormat.m: Fix compiler warning about unused var.
3689 * Source/NSDebug.m: Fix compiler warning about unused var.
3690 * Source/externs.m: Fix compiler warnings ... move some exceptions
3691 to source files relating to where they are declared.
3692 * Source/NSArchiver.m: define exception.
3693 * Source/NSConnection.m: define exception.
3694 * Source/NSPort.m: define exception.
3695 * Tools/gdomap.c: Remove unused variable (log_perror).
3696
3697 2002-05-07 Adam Fedor <fedor@gnu.org>
3698
3699 * configure.ac: Make all AC_DEFINES define 1
3700 * config/objc-con-autoload.m4: Idem.
3701 * config/objc-sys-dynamic.m4: Idem.
3702
3703 2002-05-07 Richard Frith-Macdonald <rfm@gnu.org>
3704
3705 * Source/NSUser.m: mingw path fixes and debugging
3706 * Source/NSFileManager.m: ditto
3707
3708 2002-05-06 Adam Fedor <fedor@gnu.org>
3709
3710 * Source/NSMethodSignature.m (-isEqual:): Implemented (from
3711 znek@mulle-kybernetik.com).
3712
3713 2002-05-06 Richard Frith-Macdonald <rfm@gnu.org>
3714
3715 * Source/NSMapTable.m: Delete line teft over by accident ... could
3716 cause crach if passes nul table. Thanks to Lars Sonchocky-Helldorf
3717 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:]) don't
3718 supply current date information as default ... for compatibility
3719 with MacOS-X use zero date instead. Thanks to lcampbell.
3720
3721 2002-05-04 Adam Fedor <fedor@gnu.org>
3722
3723 * Testing/nsbundle.m: Update to work without installing bundle.
3724
3725 2002-05-04 Richard Frith-Macdonald <rfm@gnu.org>
3726
3727 * Source/NSUser.m: NSHomeDirectoryForUser() ... fix windoze bug ...
3728 was returning the current users home directory irrespective of the
3729 user asked for. Now returns nil for other users ... should really
3730 find some mechanism to determine home directories for other users.
3731 * Source/Additions/GSXML.m: If ([_parseChunk:]) is called with nil
3732 data, terminate parsing. Report by Alexander Malmberg.
3733
3734 2002-05-03 Richard Frith-Macdonald <rfm@gnu.org>
3735
3736 * Source/NSAssertion.m: Added comments and fixed bug in handling
3737 an assertion in a function ... was calling va_end() before the last
3738 use of the arguments. Also, release new handler after adding it to
3739 thread dictionary ... fix memory leak.
3740 * Source/NSThread.m: Add fprintf of alert message to STDERR if we
3741 are unable to determine the current thread. Don't attempt to use
3742 NSLog() or similar ... since chances are, without a thread object,
3743 that would just crash.
3744 In GSRegisterCurrentThread(), add code to handle the case where the
3745 NSThread class has not been initialised.
3746 * Source/NSObject.m: NSAllocateObject() raise exception if passed
3747 something other than a class to allocate an instance of.
3748
3749 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3750
3751 * SSL/GSUnixSSLHandle.m: Change '#if HAVE...' to '#ifdef HAVE_...'
3752 * Source/GSFormat.m: ditto
3753 * Source/GSHTTPURLHandle.m: ditto
3754 * Source/GSTcpPort.m: ditto
3755 * Source/NSBundle.m: ditto
3756 * Source/NSData.m: ditto
3757 * Source/NSDate.m: ditto
3758 * Source/NSFileManager.m: ditto
3759 * Source/NSHost.m: ditto
3760 * Source/NSLock.m: ditto
3761 * Source/NSLog.m: ditto
3762 * Source/NSPage.m: ditto
3763 * Source/NSPipe.m: ditto
3764 * Source/NSProcessInfo.m: ditto
3765 * Source/NSRunLoop.m: ditto
3766 * Source/NSString.m: ditto
3767 * Source/NSTask.m: ditto
3768 * Source/NSThread.m: ditto
3769 * Source/NSUser.m: ditto
3770 * Source/UnixFileHandle.m: ditto
3771 * Source/WindowsFileHandle.m: ditto
3772 * Tools/gsdoc.m: ditto
3773 * Tools/autogsdoc.m: ditto
3774 Fixes to handle configuration changes where AC_DEFINE is setting
3775 preprocessor constants to be empty (but defined) rather than to be 1
3776
3777 2002-05-02 Adam Fedor <fedor@gnu.org>
3778
3779 * configure.ac: Updated to autoconf 2.53 from configure.in
3780 * configure, config.h.in: Regenerate.
3781 * Source/mframe/configure.ac: Idem.
3782 * SSL/configure.ac: Idem.
3783 * acconfig.h, aclocal.m4: Remove
3784 * config/pathxml.m4: New from aclocal.m4.
3785 * config/objc-con-autoload.m4: Updated from aclocal.m4
3786 * config/procfs-exe-link.m4: Idem.
3787 * config/procfs.m4: Idem.
3788
3789 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3790
3791 * Source/NSURLHandle.m: Implement ([-hash]) and ([-isEqual:]) based on
3792 ([-absoluteString]) rather than simple pointer comparison.
3793 * Source/GSHTTPURLHandle.m: ([-bgdConnect]) check for existing
3794 headers before writing ... avoid overriding them and only set things
3795 that the programmer has not bothered to set.
3796 ([-loadInBackGround]) use URL port if available.
3797 More fixes thanks to lcampbel via savannah
3798 * Headers/Foundation/NSURLHanlde.h: include NSObject.h
3799 * Source/UnixFileHadle.h: add missing semicolon thanks to Paul Windey
3800
3801 2002-05-01 Richard Frith-Macdonald <rfm@gnu.org>
3802
3803 * Source/NSURLHandle.m: ([URLHandleClassForURL:]) Fix to return most
3804 recently registered class rather than first registered one.
3805 Bug report via savannah
3806
3807 2002-04-30 Adam Fedor <fedor@gnu.org>
3808
3809 * Version: 1.3.2
3810 * Documentation/news.texi: Update.
3811 * NEWS Regen.
3812
3813 2002-04-29 Richard Frith-Macdonald <rfm@gnu.org>
3814
3815 * Source/NSFileManager.m: Standardise handling for windoze drive
3816 specifiers in file paths.
3817 * Source/NSUser.m: Use ([-stringWithFileSystemRepresentation:length:])
3818 when importing file names.
3819 * Source/NSString.m: Update all path handling methods for windoze
3820 changes. Fix several bugs where we did not conform to documentation.
3821
3822 2002-04-28 Richard Frith-Macdonald <rfm@gnu.org>
3823
3824 * Source/NSFileManager.m: Port
3825 ([-stringWithFileSystemRepresentation:length:]) to windoze...
3826 Have it convert backslashes to slashes etc.
3827
3828 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3829
3830 * Tools/AGSParser.m: Improve handling of identifier mapping so that
3831 an identifier mapped to an empty string (or //) an any place where
3832 whitespace is permissable is treated as part of that white space.
3833
3834 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3835
3836 * Tools/AGSParser.m: Interpret a mapping to '//' in the WordMap as
3837 meaning that the rest of the line containing the mapped value
3838 should be ignored.
3839
3840 2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com>
3841
3842 * Tools/make_strings/GNUmakefile - modified to prevent build
3843 error when building from scratch
3844 * Tools/make_strings/GNUmakefile.preamble - added to provide
3845 paths to include and lib directories for linking make_strings
3846 tool when building from scratch.
3847
3848 2002-04-23 Adam Fedor <fedor@gnu.org>
3849
3850 * Source/GSFFIInvocation.m
3851 (-initWithCallback:returnp:values:frame:signature:): Simplify
3852 setting values. Structs passed by ref when MFRAME_STRUCT_BYREF.
3853 (GSFFIInvokeWithTargetAndImp): Encoding values unneedded now.
3854 (gs_objc_msg_forward): Free the closure via NSData.
3855
3856 * Source/mframe/powerpc/generic: Fix offset for structs.
3857 * Source/mframe/powerpc/linux-gnu: Idem.
3858 * Source/mframe/powerpc/darwin: Idem.
3859
3860 2002-04-22 Adam Fedor <fedor@gnu.org>
3861
3862 * Tools/gdomap.c (gdomap_log): For LOG_INFO, write to 1, not 0.
3863
3864 * Tools/make_strings: New tool from Alexander Malmberg
3865 <alexander@malmberg.org>
3866
3867 * Source/Additional/Makefile.preamble (ADDITIONAL_OBJCFLAGS):
3868 Add for building DLL on mingw32
3869
3870 2002-04-20 Richard Frith-Macdonald <rfm@gnu.org>
3871
3872 * Source/NSURL.m: ([-absoluteString]) anonymous bugfix applied.
3873
3874 2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
3875
3876 * Tools/gdnc.m: If given -NSHost specification for the current host,
3877 ignore it and use the standard name.
3878 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3879 at end ... so handles can find this port when they are destroying
3880 themselves. Reverses last change I made to this.
3881
3882 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3883
3884 * SSL/COPYING.LIB: New file ... just to make it *REALLY* obvious
3885 this code is under the LGPL
3886
3887 2002-04-18 Adam Fedor <fedor@gnu.org>
3888
3889 * Minimally working libffi support. Needs work.
3890 * configure.in: Allow libffi to be enabled.
3891 * Source/GSFFIInvocation.m: Rewrite.
3892 * Source/NSConnection.m (-forwardInvocation:forProxy:): Add libffi
3893 function.
3894 * Source/NSInvocation.m: Fixup cifframe arg functions.
3895 * Source/cifframe.m: Rewrite.
3896 * Testing/nsinvocation.m: Bug fix.
3897
3898 * Documentation/coding-standards.texi: Remove info dir tag.
3899 * Documentation/gnustep-base.texi: Idem.
3900 * Resources/Languages/Slovak: New file (from Stefan Urbanek).
3901
3902 Thu Apr 18 11:10:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
3903
3904 * Headers/gnustep/base/NSObjCRuntime.h: Updated #defines and
3905 Windows DLL export/import machinery to the new gnustep-make
3906 conventions.
3907
3908 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3909
3910 * Tools/gdomap.c: re-order headers so config.h is used on windoze
3911 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
3912 modified to handle MSYS paths with '/drive/' prefix.
3913 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3914 at start, so flag gets set to say we are not valid, and we avoid any
3915 recursive calls.
3916
3917 2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
3918
3919 * config/config.reuseaddr.c: New test for broken SO_REUSEADDR
3920 * configure.in: test for broken SO_REUSEADDR
3921 * acconfig.h: Add BROKEN_SO_REUSEADDR
3922 * configure: regenerated
3923 * Source/UnixFileHandle.m: Use reuseaddr info.
3924 * Source/GSTcpPort.m: Use reuseaddr info.
3925 * Tools/gdomap.c: Use reuseaddr info.
3926 * Source/NSPortNameServer.m: Improved warnings about launching
3927 gdomap.
3928 * Source/NSDistributedNotification.m: Improved warnings about
3929 launching gdnc.
3930 * Source/NSException.m: Log uncaught exceptions with executable name.
3931 * Source/NSProcessInfo.m: New private function for exception msg.
3932 * Source/GSString.m: Applied fix by Malexander Malmberg for
3933 transmuting strings where the default encoding is not the same as
3934 the internal 8-bit encoding.
3935 * Source/Unicode.m: Logic fix for selecting strict conversion from
3936 unicode by Alexander Malmberg.
3937
3938 2002-04-12 Richard Frith-Macdonald <rfm@gnu.org>
3939
3940 * Source/Additions/GSXML.m: New method ([-nextElement]) to traverse
3941 tree skipping non-element nodes. Also ([-childElement]) to get the
3942 first child element of a node.
3943
3944 Thu Apr 11 15:34:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
3945
3946 * Source/GSAttributedString.m ([GSMutableAttributedString
3947 -sanity]): Renamed to -_sanity, and changed so that we always
3948 compile this in so that regression testcases can use it.
3949
3950 2002-04-08 Richard Frith-Macdonald <rfm@gnu.org>
3951
3952 * Resources/GNUmakefile: install new language files.
3953 * Resources/Languages/Russion: language file added.
3954 * Resources/Languages/UkraineRussion: language file added.
3955 Added language files provided by Serg Stoyan <stoyan@on.com.ua>
3956 * Source/UnixFileHandle.m: Permit accept/connect on descriptors
3957 by default.
3958 * Source/WindowsFileHandle.m: ditto
3959 * Headers/Foundation/NSProcessInfo.h: Added MacOS-X operating system
3960 methods and enum
3961 * Source/NSProcessInfo.m: Added operating system methods and documented
3962 all methods for autogsdoc.
3963
3964 2002-04-07 Richard Frith-Macdonald <rfm@gnu.org>
3965
3966 * Source/GSString.m: Tidy initialisers for case where the default
3967 C-string encoding is not usable internally.
3968 * Source/NSLog.m: Try default cString encoding.
3969 * Tools/cvtenc.m: Add -EscapeIn and -EscapeOut flags to handle \u
3970 escapes in files.
3971 * Resources/Languages/Italian: Correct to use \u escapes
3972 * Resources/Languages/French: ditto.
3973 * Resources/Languages/German: ditto.
3974 * Resources/Languages/README: New file to tell editors that they
3975 should use \u escapes ... and suggesting use of the cvtenc tool
3976 to make the job easy.
3977
3978 2002-04-06 Richard Frith-Macdonald <rfm@gnu.org>
3979
3980 * Source/NSString.m: Fix error in unicode BOM handling
3981 Write plist unicode escapes using the conventional \u rather than \U,
3982 but read in either form.
3983 * Source/GSString.m: Fix error in length of unicode data produced.
3984 * Tools/cvtenc.m: Made easy to use and added instructions.
3985
3986 Sat Apr 6 02:42:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
3987
3988 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Fixed
3989 typo, gnustep_local_root being used instead of gnustep_user_root
3990 for developer dirs in user root.
3991
3992 2002-04-05 Richard Frith-Macdonald <rfm@gnu.org>
3993
3994 * Source/NSObject.m: Fix locking bug with NSZombie ... was not
3995 locking when adding/removing zombies.
3996 * Source/NSString.m: Fix property list parsing code to raise
3997 exceptions on failure rather than logging messages. Also check for
3998 extra data at end of parsed string.
3999 * Tools/ctvenc.m: new tool for converting string encodings.
4000
4001 2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com>
4002
4003 * Tools/gsdoc.m: corrected inversed test for missing entities
4004
4005 2002-03-27 Richard Frith-Macdonald <rfm@gnu.org>
4006
4007 * Source/GSPrivate.h: Added function to fetch boolean value from env
4008 * Source/NSException.m: Use new function.
4009 * Source/NSProcesInfo.m: Implement new function.
4010 * Source/NSObject.m: Implement NSZombie functionality.
4011 * Headers/Foundation/NSDebug.h: Document NSZombie functionality.
4012
4013 2002-03-25 Richard Frith-Macdonald <rfm@gnu.org>
4014
4015 * Source/NSTask.m: Implement code to watch for child process exit
4016 under mingw and rewrite various methods to handle process
4017 termination nicely under windoze.
4018 * Source/NSException.m: flush stderr ... under windoze stderr is
4019 not automatically flushed!
4020 * Source/GSWindowsFileHandle.m: watch for exceptional conditions
4021 so we can handle socket connection failures in mingw32.
4022 Added code to try to cope with standard files properly, not just
4023 network sockets.
4024 * Source/GSTcpPort.m: ditto.
4025 * Source/Unicode.m: GSToUnicode(), GSFromUnicode(), if terminate
4026 option is specified, always produce output with a nul terminator
4027 even for input of an empty string.
4028
4029 2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
4030
4031 * SSL/GNUmakefile: Remove -lobjc and -lgnustep-base from bundle
4032 libraries ... it should not need them.
4033
4034 2002-03-21 Richard Frith-Macdonald <rfm@gnu.org>
4035
4036 * Source/NSArray.m: Ensure property-list read/write uses UTF8
4037 * Source/NSDictionary.m: ditto
4038 * Source/NSConnection.m: Change timeouts to 300 seconds and
4039 document all methods.
4040
4041 2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
4042
4043 * Source/GSString.m: lossyCString_u() handle case where cString
4044 contains more bytes than unicode string has characters.
4045 * Tools/gdomap.c: Suppress unnecessary warnings except under debug.
4046 Implement spawning to run as daemon under windoze.
4047 * Toolds/gdnc.m: Run as daemon under windoze.
4048 * Source/GSTcpPort.m: Fix to stop multiple servers trying to use
4049 the same port under windoze.
4050 * Source/WindowsFileHandle.m: Fix to stop multiple servers trying to use
4051 the same port under windoze. Fix to return gdomap port even if
4052 getservbyname() doesn't.
4053 * Source/UnixFileHandle.m: Fix to return gdomap port even if
4054 getservbyname() doesn't.
4055 * Source/NSTask.m: Try appending .exe extension to paths under windoze.
4056 * Source/Unicode.m: GSFromUnicode() fix lossy conversion for cases
4057 where output encoding can't handle the unicode.
4058
4059 2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
4060
4061 * Source/GSString.m: lossyCString_c() fix in line with recent
4062 changes ... cope with case where internal coding is not same as
4063 external coding.
4064 lossyCString_u() fix encoding used.
4065
4066 2002-03-18 Adam Fedor <fedor@gnu.org>
4067
4068 * Tools/gdomap.c (gdomap_log): Write to stdout if prio=LOG_INFO.
4069
4070 2002-03-18 Richard Frith-Macdonald <rfm@gnu.org>
4071
4072 * Source/Unicode.m: Some boundary error fixes by Alexander Malmberg.
4073 Fixes to encoding table initialisation.
4074 * Source/NSString.m:Fix error in encoding type for initialising from
4075 data. By Alexander Malmberg.
4076 * Source/GSString.m: Correct string length when transmuting an 8-bit
4077 string to a 16-bit string - by Alexander Malmberg.
4078
4079 2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4080
4081 * Source/GSAttributedString.m
4082 ([GSMutableAttributedString -replaceCharactersInRange:withString:]):
4083 Only keep attribute #0 when removing it would remove all attributes.
4084 (patch by Alexander Malmberg)
4085
4086 2002-03-16 Adam Fedor <fedor@gnu.org>
4087
4088 * configure.in: Also configure SSL.
4089
4090 2002-03-16 Richard Frith-Macdonald <rfm@gnu.org>
4091
4092 * Headers/gnustep/base/Unicode.h: Add more options for character
4093 encoding conversion routines.
4094 * Source/GSPrivate.h: Add a couple of private functions for character
4095 encoding management.
4096 * Source/GSString.m: Convert throughoput to use new functions for
4097 converting from one string encoding to another. Make changes to
4098 handle setting of default C string encoding to be an encoding which
4099 is incompatible with internal e-bit string objects.
4100 * Source/NSString.m: ditto
4101 * Source/Unicode.m: new string encoding conversion functions extended
4102 with a few new options. Also fixed some memory allocation bugs to
4103 cure memory leaks.
4104
4105 Rewritten low level support for different character encodings ...
4106 should provide more efficient and maintainable conversion between
4107 encodings and permit use of wide character encodings and encodings
4108 with multibyte sequences as the default C string encoding.
4109 Testing ... minimal ... we could do with decent tests for this stuff.
4110 So this version must be viewed as possibly very unstable!
4111
4112 2002-03-14 Adam Fedor <fedor@gnu.org>
4113
4114 * Version: 1.3.0
4115 * Documentation/install.texi, readme.texi, ...: Updated
4116
4117 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4118
4119 * Source/NSString.m; Bug report by Manuel Guesdon prompted me to
4120 rewrite string trimming extensions. All the tail end trimming
4121 was wrong.
4122 * Source/Unicode.m: Added two new conversion functions ... untested.
4123 The intention is to replace other string conversion with these ones
4124 which should localise memory management issues.
4125
4126 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4127
4128 * Tools/gdomap.c: Tidy a little ... fix non-static declarations.
4129 * Source/NSString.m: ([-initWithData:encoding:]) Correct the length
4130 of the string produced when unicode data is missing its 2 byte
4131 prefix. Simplification of code based on suggestion by Yen-Ju Chen
4132 * Source/GSString.m: Fixes for cString infor from unicode by
4133 Yen-Ju Chen.
4134
4135 Wed Mar 13 16:55:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
4136
4137 * Source/Additions/GSXML.m ([GSSAXHandler
4138 -externalSubset:externalID:ystemID:]): Fixed typo, 'ystemID:'
4139 instead of 'systemID:'.
4140
4141 2002-03-13 Adam Fedor <fedor@gnu.org>
4142
4143 * Tools/gdomap.c (log): Redefine to gdomap_log to avoid conflict
4144 with syslog function on Darwin.
4145
4146 * Source/NSProcessInfo.m (main): Use STRINGIFY to get proper
4147 name of constant string class.
4148
4149 2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
4150
4151 * Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
4152 * Headers/gnustep/base/NSString.h: Remove private class declaration
4153 and hide internals of NXConstantString behind dummy interface while
4154 improving comments. Fix long overdue declaraction of methods in
4155 clsses rather than protocols.
4156 * Source/GSUserDefaults.h: removed
4157 * Source/GSPrivate.h: added
4158 * Source/GSCompatibility.m: fix for hidden private info.
4159 * Source/GSString.m: ditto
4160 * Source/NSArray.m: ditto
4161 * Source/NSCalendarDate.m: ditto
4162 * Source/NSDate.m: ditto
4163 * Source/NSDecimalNumber.m: ditto
4164 * Source/NSDictionary.m: ditto
4165 * Source/NSLog.m: ditto
4166 * Source/NSObjCRuntime.m: ditto
4167 * Source/NSScanner.m: ditto
4168 * Source/NSSerializer.m: ditto
4169 * Source/NSString.m: ditto
4170 * Source/NSUser.m: ditto
4171 * Source/NSUserDefaults.m: ditto
4172 General tidyups to hide some internal workings which should really
4173 not be exposed in public headers.
4174
4175 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4176
4177 * NSTimeZones/NSTimeZones.tar: regenerated with latest data.
4178
4179 2002-03-12 Adam Fedor <fedor@gnu.org>
4180
4181 * Headers/gnustep/base/NSString.h: Add extra ivars needed by Darwin
4182 to NXConstantString.
4183 * Source/GSString.m: ([NXConstantString +initialize]): Remove constant
4184 string class reference setup for Darwin.
4185 * Source/NSProcessInfo.m (main): Put it here.
4186
4187 Tue Mar 12 11:13:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
4188
4189 * Source/Additions/GSXML.m ([-isEqualTo:]): Renamed everywhere to
4190 isEqual:
4191
4192 Tue Mar 12 09:21:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
4193
4194 * Source/NSAssertionHandler.m
4195 ([-handleFailureInMethod:object:file:lineNumber:description:]): Log
4196 if the object is a class or an instance.
4197
4198 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4199
4200 * SSL/configure.in: Check GNUstep directories for headers and
4201 libraries as well as standard system directories.
4202
4203 Tue Mar 12 07:37:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
4204
4205 * Source/Additions/GSXML.m ([GSXMLNode -properties]): Fixed return
4206 type.
4207
4208 2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
4209
4210 * Headers/gnustep/base/NSInvocation.h:
4211 * Headers/gnustep/base/NSNumberFormatter.h:
4212 * Headers/gnustep/base/NSObject.h:
4213 Minor fixes to build with STRICT_OPENSTEP
4214 * Source/NSDistributedNotificationCentre.m: Attempt to start server
4215 automatically for other machines. Improve log messages.
4216
4217 Sat Mar 9 15:21:04 2002 Adam Fedor <fedor@yogi.doc.com>
4218
4219 * Source/NSDistributedNotificationCenter.m (-_connect): Move check
4220 for alternative name so we can get registered.
4221
4222 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4223
4224 * Source/NSDistributedNotificationCentre.m: Try alternative name for
4225 server if NSHost is specified ...in case it is running on another host.
4226
4227 Sat Mar 9 12:02:45 2002 Adam Fedor <fedor@yogi.doc.com>
4228
4229 * configure.in: Change constant string to FooConstantString
4230 * config/config.constant-string-class.m: Work with NeXT_RUNTIME
4231 (patch from Markus Hitter [mah@jump-ing.de]).
4232
4233 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4234
4235 * Source/NSFileManager.m: Change copy so that, if the source argument
4236 is a symbolic link, we copy the link rather than the thing it points
4237 to.
4238 * Tools/gdnc.m: Quick hack to register port with other names is NSHost
4239 is used.
4240
4241 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4242
4243 * Source/Unicode.m: Added BIG5 encoding
4244 * Headers/Foundation/NSString.h: Added BIG5 encoding
4245 * Resources/Languages/Locale.aliases: added traditional chinese
4246 Extensions for traditional chinese requested by Yen-Ju Chen
4247
4248 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4249
4250 * Source/Additions/GNUmakefile: Include ../../base.make
4251 * SSL/GNUmakefile: Include ../base.make
4252 from the makefiles directory for builting standalone.
4253 * Source/Unicode.m: Added some standard string handling for iconv.
4254 * Source/NSString.m: ([-initWithData:encoding:]) return nil on
4255 failure to handle encoding.
4256 * Source/NSMapTable.m: NSMapInsert() fixed to conform to spec.
4257 * Source/NSHashTable.m: NSHashInsert() fixed to conform to spec.
4258 Reports by Alexander Malmberg
4259
4260 2002-03-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4261
4262 * Source/NSRunLoop.m ([NSRunLoop -acceptInputForMode:]):
4263 added a _checkPerformes: call to solve minor issue.
4264 (performers would only be called after an event was received)
4265 (credits to Alexander Malmberg)
4266
4267 2002-03-07 Richard Frith-Macdonald <rfm@gnu.org>
4268
4269 * SSL/Makefile.posramble: store config.h in system specific subdir.
4270 * SSL/Makefile.preamble: Include headers from Source directory
4271 so we pick up GSConfig.h
4272
4273 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4274
4275 * Source/autogsdoc.m: store and fetch dependency info in .igsdoc
4276 so we can parse the correct source files for each header when we
4277 need to.
4278
4279 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4280
4281 * Source/Additions/GNUmakefile: build subproject.
4282 * Source/Additions/Makefile.preamble: set include flags.
4283 * Source/Additions/GSXML.m: moved implementation here.
4284 * Source/Additions/GSMime.m: moved implementation here.
4285 * Source/GNUmakefile: build subproject.
4286
4287 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4288
4289 * GNUmakefile: build SSL aggregate project
4290 * config.mak.in: Remove SSL info
4291 * configure.in: Remove SSL configuration
4292 * configure: Regenerate
4293 * SSL/GNUmakefile: Build SSL bundle
4294 * SSL/GSUnixSSLHandle.m: SSL bundle source from Source directory
4295 * SSL/Makefile.postamble: Build SSL bundle
4296 * SSL/Makefile.preamble: Build SSL bundle
4297 * SSL/config.h.in: Trivial config for SSL bundle
4298 * SSL/config.mak.in: SSL info for building bundle.
4299 * SSL/configure.in: Configuration for SSKL bundle.
4300 * Source/GNUmakefile: Don't build SSL bundle.
4301 * Source/GSUnixSSLHandle.m: Moved to SSL directory.
4302 * Source/Makefile.postamble: Don't build SSL bundle.
4303 * Source/Makefile.preamble: Don't build SSL bundle.
4304 Alterations to make the SSL bundle capable of standalone
4305 building - for use on systems where the base package has
4306 only been installed in binary form.
4307 Initial attempt!
4308
4309 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4310
4311 * Source/GSAttributedString.m: Applied fix for left-over attributes
4312 at end of string. Patch supplied by Alexander Malmberg
4313 <alexander@malmberg.org>. Reformatting to conform to GNUstep
4314 standards, and optimisation by me.
4315
4316 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
4317
4318 * Tools/autogsdoc.m: Output gsdoc as UTF8 as we should.
4319 * Tools/AGSOutput.m: ditto.
4320
4321 2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
4322
4323 * Source/NSUser.m: When reading .GNUsteprc, if a per user version is
4324 not available, use the one in the configured system root directory.
4325
4326 2002-02-28 Adam Fedor <fedor@gnu.org>
4327
4328 * Headers/gnustep/base/objc-gnu2next.h: Add objc-runtime.h
4329 * Source/Makefile.preamble: Add ..DEPEND_UPON for all darwin versions.
4330
4331 * Source/NSPortCoder.m
4332 (-initWithReceivePort:sendPort:components:): Change cast to make
4333 MacOSX compiler happy.
4334
4335 2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
4336
4337 * Source/NSUser.m: rewrite user and defaults root code to standardise
4338 and to use .GNUsteprc configuration. Also permit forcing of fixed
4339 roots at compile time.
4340
4341 Thu Feb 28 16:46:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4342
4343 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Changed
4344 'Apps' to read 'Applications'.
4345
4346 2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4347
4348 * Source/GSString.m ([GSMutableString -substringWithRange:]):
4349 create a new string which size is the range length, not the original
4350 string's length.
4351
4352 2002-02-27 Richard Frith-Macdonald <rfm@gnu.org>
4353
4354 * Tools/gdomap.c: Removed obsolete code for shrinking data structures.
4355 Added memmove() for overlapped memory moves (Alexander Malmberg) and
4356 removed a couple of obsolete functions.
4357 * Source/GSValue.m: attempt to correct encoding.
4358 * Source/NSKeyValueCoding.m: Fix termination of method names with nuls
4359 from report by Manuel Guesdon.
4360 * Source/NSDictionary.m: Implement MacOS-X compatible KVC behavior.
4361 Include webobjects/eof extension, with warnings.
4362 * Headers/Foundation/NSProtocolChecker.h: Change deprecated import to
4363 include.
4364
4365 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4366
4367 * Tools/gdomap.c: Improve fetching interface info on mingw ...
4368 ignore non-internet interfaces.
4369 NB. The mingw winsock2.h header is buggy ... to work properly
4370 you need to change the size of a struct sockaddr field from
4371 sa_data[14] to sa_data[22]
4372
4373 Tue Feb 26 18:01:26 2002 Nicola Pero <nicola@brainstorm.co.uk>
4374
4375 * Source/NSBundle.m: Removed all _releasedBundles machinery.
4376 Removed custom implementation of -release. Retain a bundle after
4377 we load it. This fixes -bundleForClass: and simplifies
4378 considerably the code.
4379
4380 * Source/NSBundle.m: Whenever possible, use [self method] rather
4381 than [NSBundle method] to invoke a class method, for efficiency.
4382
4383 * Source/NSBundle.m (objc_executable_location): Compute directly
4384 from _executable_path - using mainBundle is unsafe.
4385
4386 Tue Feb 26 17:35:03 2002 Nicola Pero <nicola@brainstorm.co.uk>
4387
4388 * Source/NSBundle.m (_bundle_load_callback): Completely ignore
4389 categories. (Suggestion by Gerrit Van Dyk
4390 <GerritVD@decillion.net>).
4391
4392 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4393
4394 * Source/GSTemplateValue.m: Implement initialize method to set the
4395 version of concrete classes to be that of the abstract class which
4396 actually performs encoding/decoding ... should correct archiving.
4397 Problem reported by Gerrit Van Dyk
4398 * Tools/GSIndex.m: tidied a little
4399 * Tools/GSParser.m: mark when things are implemented.
4400 * Tools/GSOutput.m: warn about unimplemented items.
4401
4402 2002-02-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4403
4404 * Source/NSUnarchiver.m
4405 ([NSUnarchiver +classNameDecodedForArchiveClassName:]):
4406 ([NSUnarchiver -classNameDecodedForArchiveClassName:]):
4407 return nil if the class name is not present.
4408
4409 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4410
4411 * Source/GSTcpPort.m: Fixes to work on mingw.
4412 * Source/NSHost.m: Update for current winsock on mingw.
4413 * Source/NSPortNameServer.m: Update for current winsock on mingw.
4414 * Source/WindowsFileHandle.m: Fix to work for basic socket I/O.
4415 * Tools/gdomap.c: many changes ... several fixes to work on mingw
4416 rewrite some clumsy inefficient code, make variables and functions
4417 local. etc.
4418 * Source/NSUnarchiver.m: ([versionForClassName:]) return NSNotFound
4419 if the class name was not present.
4420
4421 Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
4422
4423 * Source/NSBundle.m ([-initWithPath:]): Return nil if the path
4424 can't be read. Fixed memory leak in case of nil argument.
4425 * Headers/gnustep/base/NSBundle.h: Documented some methods.
4426
4427 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4428
4429 * Source/GNUmakefile: Move xml and mime classes into an additional
4430 library, and make base library depend on it. EXPERIMENTAL.
4431 * Tools/gdomap.c: Try to get output working again after last changes.
4432 Add first attempt at MINGW support for getting network interface info.
4433 library, and make base library depend on it.
4434 EXPERIMENTAL - activate using 'make add=yes'
4435
4436 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4437
4438 * Source/NSObject.m: Rewrote key-value coding key manipulation to use
4439 a char array for speed. Moved functions for converting between object
4440 internals in scalar types and NSNumbers etc to NSObjCRuntime.m.
4441 Re-implemented path methods to fix incorrect implementation as pointed
4442 out by Manuel Guesdon.
4443 * Headers/Foundation/NSObjCRuntime.h: New functions from NSObject
4444 * Source/NSObjCRuntime.m: New functions from NSObject
4445 * Source/NSKeyValueCoding.m: Put key value coding methods here for
4446 clarity and ease of documentation.
4447
4448 2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
4449
4450 * Source/NSTask.m: Removed NSLogs() accidantally left in after
4451 debugging. Reported by Fred Kiefer.
4452 * Tools/gdomap.c: Use syslog for logging ... patch by Matthias Klose
4453 <doko@cs.tu-berlin.de> almost entirely rewritten to be portable.
4454 * configure.in: Minor additions for time header/functions
4455 * configure: regenerated
4456
4457 2002-02-23 Richard Frith-Macdonald <rfm@gnu.org>
4458
4459 * Headers/Foundation/NSObjCRuntime.h: Fix error in last change ...
4460 GSSelectorFromName() should not create a new selector while
4461 HSSelectorFromNameAndTypes() should.
4462
4463 2002-02-22 Alexander Malmberg <alexander@malmberg.org>
4464
4465 * Headers/gnustep/base/NSArray.h: insertion position api update.
4466 * Source/NSArray.m: insertion position api update.
4467 * Source/GSArray.m: insertion position api update.
4468 Make insertion position api consistent with sorting api.
4469
4470 2002-02-21 Richard Frith-Macdonald <rfm@gnu.org>
4471
4472 * Source/NSValue.m: Fixed bug in archiving NSValue objects ... was
4473 creating faulty archives which would crash on unarchiving.
4474 * Headers/Foundation/NSObjCRuntime.h: Made GS... function names more
4475 consistent with NeXT/Apple ones. Provide new ivar handling API.
4476 Don't crash when asked for a class which does not exist.
4477 * Source/NSObject.m: partial conversion to new runtime api.
4478 * Source/NSData.m: partial conversion to new runtime api. Don't
4479 raise an exception if a class we are deserializing does not exist.
4480 Just warn and return a nul class.
4481 * Source/NSArchiver.m: better clasname handling.
4482 * Source/NSUnarchiver.m: try to gracefully handle the case where an
4483 archive contains the name of a class we don't have linked in to our
4484 code.
4485 * Source/NSPortCoder.m: ditto.
4486
4487 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4488
4489 * Source/NSUser.m: locking erro fixed by Stephen brandon
4490
4491 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4492
4493 * Headers/Foundation/NSInvocation.h: Remove _argframe ivar
4494 * Source/NSInvocation.m: Simplify by removing _argframe ivar and
4495 using _frame throughout to hold arguments. Fix checks for valid frame.
4496 * Source/callframe.m: Initialise newly created frame with zeros so
4497 that setting an object in an invocation should work when the
4498 invocation is retaining its contents.
4499 * configure.in: Disable ffi and warn about it.
4500 * configure: regenerated
4501 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) block until
4502 limit date even if no I/O is possible.
4503 * Source/NSUserDefaults.m: Patch by Alexander Malmberg to try all
4504 listed locales rather than giving up at first failure.
4505 * Headers/gnustep/base/GSUnion.h: Enclose types bitmask in brackets
4506 to avoid *all* types being included in the union! Should decrease
4507 memory footprint and increase speed of many classes.
4508 * Source/NSString.m: ([stringByStandardizingPath]) memory leak
4509 fixed and windows path check fixed ... patch by Michael Scheibler.
4510 Also commented/documented the method.
4511
4512 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4513
4514 * Source/NSUserDefaults.m: Removed some code that was doing nothing,
4515 and tidied a little.
4516
4517 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4518
4519 * Headers/Foundation/NSPathUtilities.h: GSDefaultsRootForUser()
4520 function added.
4521 * Source/NSUser.m: Many alterations to do with correcting the
4522 file paths used to use GNUSTEP_USER_ROOT, and to get them to
4523 vary nicely when GSSetUserName() is called. Added function
4524 GSDefaultsRootForUser() to get a defaults directory based on
4525 a new environment varibale, or use GNUSTEP_USER_ROOT.
4526 * Source/NSUserDefaults.m: Use GSDefaultsRootForUser()
4527 Fix a few bugs in setting up defaults database.
4528 Move defaults database to the Defaults subdirectory.
4529 * Source/Headers/GSIMap.h: Fix error in last commit.
4530
4531 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4532
4533 * Source/NSString.m: ([stringByExpandingTildeInPath]) fix bug in
4534 handling ~username/... format.
4535 * Headers/Foundation/GSIMap.h: GSIMapCleanMap() rewrote to empty
4536 the map efficiently. Added an option to refrain from calling it
4537 when emptying a map that doesn't need keys and values releasing.
4538 * Source/GSAttributedString.m: don't clean maps on emptying.
4539 * Source/GSFFCallInvocation.m: ditto
4540 * Source/NSArchiver.m: ditto
4541 * Source/NSConnection.m: ditto
4542 * Source/NSObject.m: ditto
4543 * Source/NSPortCoder.m: ditto
4544 * Source/NSSerializer.m: ditto
4545 Changes inspired by Pierre-Tves Rivaille
4546
4547 2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
4548
4549 * Tools/AGSHtml.m: support for merging types and functions etc.
4550 * Tools/AGSIndex.m: ditto
4551 * Tools/AGSOutput.h: ditto
4552 * Tools/AGSOutput.m: ditto
4553 * Tools/autogsdoc.m: ditto
4554 Put stuff in place for merging info
4555 revert key-value coding changes.
4556 * Source/NSString.m: Fix bug in datausingEncoding:allowLossyConversion:
4557 pointed out by Stephen Brandon.
4558
4559 Mon Feb 11 15:11:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4560
4561 * Source/GSString.m (NSImmutableString): Implemented copy,
4562 copyWithZone:, mutableCopy, mutableCopyWithZone:, so that the
4563 string can be copied, and the copy no longer tracks the parent.
4564
4565 2002-02-10 Michael Hanni <mhanni@sprintmail.com>
4566
4567 * Source/NSObjCRuntime.m: changed NSAssert() to NSCAssert() from
4568 last change. Also added NSException.h include to make compile
4569 correctly and quietly.
4570
4571 2002-02-10 Manuel Guesdon <mguesdon@orange-concept.com>
4572
4573 * Source/NSObject.m: changes to enable derived object KeyValueCoding
4574 process chnages (EOGenericRecord for example).
4575 o added:
4576 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4577 _getValueForKey:selector:type:size:offset:
4578 _setValueForKey:object:selector:type:size:offset:
4579 _handleQueryWithUnboundKey:
4580 _handleTakeValue:forUnboundKey:
4581 o modified:
4582 storedValueForKey:
4583 takeStoredValue:forKey:
4584 valueForKey:
4585 takeValue:forKey:
4586 To use added method.
4587 * Source/NSObjCRuntime.m:
4588 o added NSAssert in GSGetInstanceVariable() and
4589 GSSetInstanceVariable()
4590 * Headers/gnustep/base/NSKeyValueCoding:
4591 o added:
4592 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4593 _getValueForKey:selector:type:size:offset:
4594 _setValueForKey:object:selector:type:size:offset:
4595 _handleQueryWithUnboundKey:
4596 _handleTakeValue:forUnboundKey:
4597
4598 Sat Feb 9 01:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
4599
4600 * Source/NSBundle.m ([+bundleForTool:]): Removed. We switch to a
4601 better API, which is to have a tool use +mainBundle, in the same
4602 way as applications do, to retrieve the main resource bundle for
4603 itself.
4604 ([+mainBundle]): Modified to support tools as well as
4605 applications.
4606 * Headers/gnustep/base/NSBundle.h ([+bundleForTool:]): Removed.
4607
4608 2002-02-08 Richard Frith-Macdonald <rfm@gnu.org>
4609
4610 * Headers/Foundation/NSTask.h: New method -validatedLaunchPath to
4611 check that an executable exists at the specified path or any
4612 alternative version corresponding to host, OS, and library-combo
4613 directories. Returns the actual path to the binary.
4614 * Source/NSTask.m: Implemented new mathod and added autogsdoc
4615 comments.
4616 * Source/NSBundle.m: Cotrrected error in comments.
4617
4618 2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
4619
4620 * Headers/Foundation/NSString.m: Additioanl method -immutableProxy
4621 * Source/NSString.m: ditto
4622 * Source/GSString.m: New classes for immutable proxy, one generic
4623 version, and one efficient version for accessing the main GNUstep
4624 mutable striong objects.
4625 * Source/GSAttributedString: use immutable proxy.
4626 New code to provide a proxy for a mutable string which will provide
4627 read-only access to it.
4628
4629 2002-02-05 Richard Frith-Macdonald <rfm@gnu.org>
4630
4631 * Source/NSString.m: ([-rangeOfCharacterFromSet:options:range:])
4632 fix to return NSNotFound as location if character not present -
4633 bug reported by Nicola Pero.
4634
4635 2002-02-04 Richard Frith-Macdonald <rfm@gnu.org>
4636
4637 * Tools/gsdoc.m: loader() if entity id is missing, try to load url as
4638 a file.
4639 * Tools/AGSParser.m: Fixes for handling typedefs, constants, varibales
4640 and functions.
4641 * Tools/AGSOutput.[hm]: ditto
4642 * Tools/AGSHtml.m: ditto
4643 Preliminary support for C language added.
4644
4645 2002-02-03 Richard Frith-Macdonald <rfm@gnu.org>
4646
4647 * Source/GNUmakefile: use -WordMap flag with autogsdoc to cope with
4648 C-preprocessor constants that would otherwise confuse parsing.
4649 * Source/NSDictionary.m: Tidy to match interface.
4650 * Source/NSDistantObject.m: Tidy to match interface.
4651 * Source/NSPortCoder.m: Tidy to match interface.
4652 * Source/NSScanner.m: Tidy to match interface. Remove some illegal
4653 semicolons after method names.
4654 * Source/NSTimer.m: Tidy to match interface.
4655 * Tools/AGSParser.h: Handle word mappings.
4656 * Tools/AGSParser.m: Handle word mappings and deal with function
4657 attributes.
4658 * Tools/autogsdoc.m: Handle word mappings and make default logging
4659 less verbose.
4660
4661 2002-02-02 Richard Frith-Macdonald <rfm@gnu.org>
4662
4663 * Source/NSObject.m: Fix some maptable problems when using non-local
4664 reference counts.
4665 * Source/NSMapTable.m: Improve warning logging for dodgy practices.
4666 * Source/NSHashTable.m: ditto
4667 * Tools/AGSHtml.m: A couple of minor fixes for systems where the xml
4668 parser does not discard whitespace as it should.
4669
4670 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4671
4672 * Documentation/manual: New directory containing Objective-C and
4673 GNUstep-base programming manual/tutorial produced at Brainstorm.
4674 The intention was to produce a pretty complete manual and then
4675 release it, but we ran out of funding, so I'm releasing the work
4676 to date.
4677 * Source/NSObject.m: Go back to using local refcounts now that new
4678 map table code is thoroughly tested.
4679
4680 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4681
4682 * Source/Makefile.preamble: remove old GSI api support
4683 * Headers/Foundation/NSHashTable.h: ditto
4684 * Headers/Foundation/NSMapTable.h: ditto
4685
4686 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4687
4688 * Source/GSAttributedString.m: Move to assuming new GSI api.
4689 * Source/NSHashTable.m: ditto
4690 * Source/NSMapTable.m: ditto
4691 * Source/GSCountedSet.m: ditto
4692 * Source/GSDictionary.m: ditto
4693 * Source/GSFFCallInvocation.m: ditto
4694 * Source/NSArchiver.m: ditto
4695 * Source/NSConnection.m: ditto
4696 * Source/NSFileManager.m: ditto
4697 * Source/NSNotificationCenter.m: ditto
4698 * Source/NSObject.m: ditto
4699 * Source/NSPortCoder.m: ditto
4700 * Source/NSRunLoop.m: ditto
4701 * Source/NSSerializer.m: ditto
4702 * Source/NSUnarchiver.m: ditto
4703
4704 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4705
4706 * Source/NSHashTable.m: Fixed bug intorduced by last change to add
4707 error checking!!
4708 * Source/GSAttributedString.m: Make new or old GSI stuff optional.
4709 * Source/GSCountedSet.m: ditto
4710 * Source/GSDictionary.m: ditto
4711 * Source/GSFFCallInvocation.m: ditto
4712 * Source/NSArchiver.m: ditto
4713 * Source/NSConnection.m: ditto
4714 * Source/NSFileManager.m: ditto
4715 * Source/NSNotificationCenter.m: ditto
4716 * Source/NSObject.m: ditto
4717 * Source/NSPortCoder.m: ditto
4718 * Source/NSRunLoop.m: ditto
4719 * Source/NSSerializer.m: ditto
4720 * Source/NSUnarchiver.m: ditto
4721 Interim phase ... version of source which should build with new or
4722 old GSIMap and GSIArray APIs at the defination of GSI_NEW
4723
4724 2002-01-31 Adam Fedor <fedor@gnu.org>
4725
4726 * Old/*: Removed (now at
4727 ftp://ftp.gnustep.org/pub/gnustep/old/gnustep-obsolete.tar.gz).
4728
4729 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4730
4731 * Source/NSMapTable.m:
4732 * Source/NSHashTable.m: Add checks for nul tables and either log
4733 warnings and be tolerant, or raise exceptions.
4734
4735 Thu Jan 31 15:35:21 2002 Nicola Pero <nicola@brainstorm.co.uk>
4736
4737 * Source/NSObject.m ([-doesNotRecognizeSelector:]): Modified
4738 exception message to print out if we are an instance or a class
4739 object. For example, no longer 'IvarProxy does not recognize
4740 initWithClass:' but rather 'IvarProxy(class) does not recognize
4741 initWithClass:'.
4742 ([-doesNotRecognize:]): Idem.
4743 ([-subclassResponsibility:]): Similar change.
4744 ([-shouldNotImplement:]): Similar change.
4745 ([-notImplemented:]): Similar change.
4746
4747 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4748
4749 * Headers/gnustep/base/GSIArray.h: Use array as parameter to macros.
4750 * Source/GSAttributedString.m: Update for GSIArray change.
4751 * Source/GSCountedSet.m: Update for GSIArray change.
4752 * Source/GSDictionary.m: Update for GSIArray change.
4753 * Source/GSFFCallInvocation.m: Update for GSIArray change.
4754 * Source/NSArchiver.m: Update for GSIArray change.
4755 * Source/NSConnection.m: Update for GSIArray change.
4756 * Source/NSFileManager.m: Update for GSIArray change.
4757 * Source/NSNotificationCenter.m: Update for GSIArray change.
4758 * Source/NSObject.m: Update for GSIArray change.
4759 * Source/NSPortCoder.m: Update for GSIArray change.
4760 * Source/NSRunLoop.m: Update for GSIArray change.
4761 * Source/NSSerializer.m: Update for GSIArray change.
4762 * Source/NSUnarchiver.m: Update for GSIArray change.
4763
4764 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4765
4766 * Headers/Foundation/NSRunLoop.h: Go back to new version.
4767 * Source/NSRunLoop.m: Back to new (hopefully bug-free) version ...
4768 fixed a fence-post error in examining descriptors. Enabled poll()
4769 support if the O/S supports it. Converted to use standard debug
4770 logging keyed on NSRunLoop. Fixed poll code to call any available
4771 event handler when an error occurs on a descriptor.
4772 * configure.in: Improve check for sa_len
4773
4774 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4775
4776 * Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add
4777 option to specify type of enumerator structure externally.
4778 * Headers/gnustep/base/NSHashTable.h: Modify to conform to MacOS-X
4779 documentation and to work with GSIMAP stuff.
4780 * Headers/gnustep/base/NSMapTable.h: ditto
4781 * Headers/gnustep/base/o_array.h: deleted
4782 * Headers/gnustep/base/o_cbs.h: deleted
4783 * Headers/gnustep/base/o_hash.h: deleted
4784 * Headers/gnustep/base/o_list.h: deleted
4785 * Headers/gnustep/base/o_map.h: deleted
4786 * Headers/gnustep/base/o_x_bas.h.in: deleted
4787 * Headers/gnustep/base/o_x_cbs.h.in: deleted
4788 * Source/GNUmakefile: Remove o_... rules
4789 * Source/GSTcpPort.m: Remove unused include file
4790 * Source/Makefile.postamble: remove o_... rules
4791 * Source/NSCallBacks.h: Remove o_... info
4792 * Source/NSCallBacks.m: remove o_... info
4793 * Source/NSHashTable.m: Rewrite to use GSIMAP
4794 * Source/NSMapTable.m: Rewrite to use GSIMAP
4795 * Source/NSObject.m: Use GSIMAP for reference counts.
4796 * Source/NSRunLoop.m: Fix function prototypes for map table callbacks.
4797 * Source/externs.m: Remove o_... stuff and tidy callbacks.
4798 * Source/o_array.m: deleted
4799 * Source/o_cbs.m: deleted
4800 * Source/o_cbs_char_p.m: deleted
4801 * Source/o_cbs_id.m: deleted
4802 * Source/o_cbs_int.m: deleted
4803 * Source/o_cbs_int_p.m: deleted
4804 * Source/o_cbs_void_p.m: deleted
4805 * Source/o_hash.m: deleted
4806 * Source/o_list.m: deleted
4807 * Source/o_map.m: deleted
4808 * Source/o_x_bas.m.in: deleted
4809 * Source/o_x_cbs.m.in: deleted
4810 Masses of changes to simplify codebase and standardise all maptable
4811 code. Hopefully, the new NSMapTable code now conforms to the spec.
4812
4813 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4814
4815 * Headers/Foundation/NSRunLoop.h: revert
4816 * Source/NSRunLoop.m: revert
4817 Revert to earlier version temporarily, while I try to track down
4818 an obscure bug causing problems with some DO applications.
4819
4820 Tue Jan 29 13:49:23 2002 Nicola Pero <nicola@brainstorm.co.uk>
4821
4822 * configure.in: Removed garbage left over - doubled message
4823 for objc thread flags checking.
4824 * configure: Regenerated.
4825
4826 Tue Jan 29 10:57:30 2002 Nicola Pero <nicola@brainstorm.co.uk>
4827
4828 * Makefile.postamble (configure): Rule removed. It was causing
4829 problems on systems without autoconf.
4830 (base.make, config.mak): Do not depend on configure.
4831
4832 2002-01-29 Richard Frith-Macdonald <rfm@gnu.org>
4833
4834 * Headers/Foundation/NSRunLoop.h: More updates to ivars.
4835 * Headers/Foundation/NSRunLoop.m: Completed re-entrancy fixes in
4836 (I hope) a reasonably efficient manner.
4837
4838 2002-01-28 Richard Frith-Macdonald <rfm@gnu.org>
4839
4840 * Headers/Foundation/NSRunLoop.h: Removed previously deprecated methods.
4841 Completely changed ivar layout.
4842 * Headers/Foundation/NSRunLoop.m: Removed previously deprecated methods.
4843 Completely changed ivar layout. Modified most methods to work with
4844 changed ivar layout. Now stores per-mode context information in a
4845 new GSRunLoopCtxt class - one instance for each mode used in each
4846 runloop instance. Rewrite select() and poll() based mechanisms
4847 using the new class - should hopefully be more efficient and fix
4848 minor and obscure problems with re-entrancy.
4849 ### WARNING ... radical change ... may be buggy ... WARNING ###
4850
4851 2002-01-23 Kaelin Colclasure <kaelin@acm.org>
4852
4853 * configure.in: Check for poll(2) system call and header file.
4854 * configure: Regenerated.
4855 * config.h.in: Regenerated.
4856 * Source/NSRunLoop.m ([-acceptInputForMode:beforeDate:]):
4857 Refactored to put all code specific to the select(2) system call
4858 into a separate method.
4859 ([-_pollInputForMode:withTimeout:]): New private method with two
4860 implementations. If HAVE_POLL is defined, the poll version is
4861 used. Otherwise, we fall back to select.
4862
4863 2002-01-25 Richard Frith-Macdonald <rfm@gnu.org>
4864
4865 * acconfig.h: Add HAVE_SA_LEN
4866 * configure.in: Check for sa_len in sockaddr in struct ifreq
4867 * configure: regenerate
4868 * Headers/gnustep/base/config.h.in: regenerate
4869 * Tools/gdomap.c: Add patch by Pete French <pete@twisted.org.uk>
4870 to handle variable length socket addresses ... modified to work
4871 with the rest of the world where we don't have such things.
4872
4873 2002-01-24 Richard Frith-Macdonald <rfm@gnu.org>
4874
4875 * Source/NSRunLoop.m: Correct returns from within exception handler.
4876 * Source/NSUserDefaults.m: use NSDefaultRunLoopMode.
4877 * Headers/gnustep/unicode/gsm0338.h: New character set mapping.
4878 * Source/Unicode.m: Add support for the GSM default alphabet.
4879 * Headers/gnustep/base/GSIMap.h: Add support for macros update when
4880 built with GSM_NEW defined (for use with NSMapTable in future).
4881 Various source files updated to use new GSI macros.
4882
4883 Mon Jan 21 17:08:42 2002 Nicola Pero <nicola@brainstorm.co.uk>
4884
4885 * Source/Makefile.postamble (after-uninstall): Removed GSConfig.h
4886 and mframe.h when uninstalling.
4887
4888 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4889
4890 * Source/NSRunLoop.m: Wrap code in exception handlers to reset current
4891 runloop mode if an exception occurs ... may remove this again if the
4892 performance is too bad.
4893 Use initialiser for NSTimer to avoid having to put timers into the
4894 autorelease pool.
4895 * Headers/Foundation/NSTimer.h: Expose GNUstep initialiser since
4896 OpenStep and MacOS-X don't have one.
4897
4898 Wed Jan 16 13:46:24 2002 Nicola Pero <nicola@brainstorm.co.uk>
4899
4900 Fixed dynamical loading of frameworks.
4901 * Source/NSBundle.m ([-_addFrameworkForClass:]): Fixed, should never
4902 be run during dynamical loading.
4903 * Source/NSBundle.m (_bundle_load_callback): Major simplification.
4904 Most code removed. Should run faster too.
4905 ([-load]): Do not DESTROY _bundle_load_callback's related
4906 variables.
4907
4908 Wed Jan 16 12:30:20 2002 Nicola Pero <nicola@brainstorm.co.uk>
4909
4910 * Source/NSBundle.m (_addFrameworkFromClass:): Fixed third argument
4911 of strncmp to be 12, not 12*sizeof(char).
4912
4913 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4914
4915 * Source/NSRunLoop.m: Modify to have a nil current mode if the loop
4916 is not running (MacOS-X compatibility) and documented the change
4917 for autogsdoc.
4918
4919 Tue Jan 15 02:53:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
4920
4921 * Source/Makefile.postamble (after-distclean): Always remove
4922 SSL.bundle, regardless of any flags.
4923
4924 2002-01-13 Richard Frith-Macdonald <rfm@gnu.org>
4925
4926 * Tools/AGSParser.m: Mostly implemented parsing of C declarations
4927 (function, typedef, constant and variable).
4928
4929 2002-01-11 Richard Frith-Macdonald <rfm@gnu.org>
4930
4931 * Headers/Foundation/NSArchiver.h: tidyups
4932 * Source/NSDictionary.m: tidyups
4933 * Tools/AGSParser.m: a couple of declaration parsing fixes added,
4934 along with quite a bit of debugging. Function declaration parsing
4935 not yet working.
4936
4937 2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
4938
4939 * Source/NSDistributedNotificationCentre.m: Use NSHost user default
4940 to determine which server to connect to.
4941 * Tools/AGSParser.m: Minor parsing fixes ... correct GS_EXPORT
4942
4943 Wed Jan 9 11:55:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
4944
4945 * configure.in: Call AC_CONFIG_AUX_DIR with
4946 $GNUSTEP_SYSTEM_ROOT/Makefiles arg so that gnustep-make's
4947 config.guess and config.sub are used.
4948 * configure: Regenerated.
4949 * config.guess: Removed.
4950 * config.sub: Removed.
4951 * install-sh: Removed.
4952 * mkinstalldirs: Removed.
4953 * Source/mframe/configure.in: Set AC_CONFIG_AUX_DIR to
4954 $GNUSTEP_SYSTEM_ROOT/Makefiles.
4955 * Source/mframe/configure: Regenerated.
4956 * Source/mframe/config.guess: Removed.
4957 * Source/mframe/config.sub: Removed.
4958
4959 Wed Jan 9 11:08:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
4960
4961 * config.guess: Updated to latest version.
4962 * config.sub: Idem.
4963
4964 2002-01-08 Richard Frith-Macdonald <rfm@gnu.org>
4965
4966 * Tools/AGSHtml.h:
4967 * Tools/AGSHtml.m:
4968 * Tools/AGSIndex.h:
4969 * Tools/AGSIndex.m:
4970 * Tools/AGSOutput.h:
4971 * Tools/AGSOutput.m:
4972 * Tools/AGSParser.h:
4973 * Tools/AGSParser.m:
4974 * Tools/autogsdoc.m:
4975 * Tools/gsdoc-0_6_7.dtd:
4976 Updated for several changes ...
4977 Support documentation of instance variables
4978 Index class and category method names identically
4979 Extend index to have a listing of methods by unit
4980 Extend index to have a listing of ivariablese by class
4981 Use new extensions to double speed of generation of method
4982 indexes for classes.
4983
4984 2002-01-07 Adam Fedor <fedor@gnu.org>
4985
4986 * Version: 1.1.0
4987 * Documentation/news.texi: Update
4988
4989 * Source/NSObject.m (GSGetValue): Add case for void return
4990 (suggestion from ml@sbuilders.com).
4991
4992 * Resources/Languages/Dutch: Change currency to Euro.
4993 * Resources/Languages/French: Likewise.
4994 * Resources/Languages/German: Likewise.
4995 * Resources/Languages/Italian: Likewise.
4996 * Old languages files renamed to *.Old
4997
4998 2002-01-07 Richard Frith-Macdonald <rfm@gnu.org>
4999
5000 * Tools/AGSHtml.m: Minor speedup.
5001 * Tools/AGSOutput.m: Put something in place of empty descriptions.
5002 * Tools/AGSParser.m: Rewrite handling of standards information to fix
5003 bug in NO_GNUSTEP handling.
5004 * Source/GNUmakefile: Don't document concrete number stuff ... not
5005 public.
5006
5007 Sun Jan 6 22:33:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
5008
5009 * Tools/HTMLLinker.m: Rewritten to fixup links by link name rather
5010 than link file. Can now be used to link HTML files generated by
5011 autogsdoc.
5012 * Tools/HTMLLinker.html: Updated for changes.
5013 * Tools/GNUmakefile: Install HTMLLinker.html.
5014
5015 2002-01-06 Richard Frith-Macdonald <rfm@gnu.org>
5016
5017 * Tools/autogsdoc.m: Minor bugfix ... any .h file processed should
5018 also be processed as a .gsdoc file to produce indexes and html.
5019 * Tools/AGSHtml.m: List *all* methods for a class in its method
5020 summary, even if they are in categories or are documented in
5021 other files.
5022
5023 2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
5024
5025 * Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
5026 Change mechanism for handling multiple source files for one header
5027 (need capability to write dependency rules for make).
5028 * Tools/AGSParser.[hm]: Add mechanism to return list of source
5029 files on which a document depends.
5030 * Tools/gsdoc-0_6_7.dtd: Permit wider use of index element.
5031 * Tools/AGSHtml.m: ditto, and support indexing of category methods
5032 along with class methods.
5033 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Remove the SourceDirectory
5034 option ... now assumed to be the current directory for simplicity.
5035 * Source/Base.gsdoc: Add class and protocol indexes.
5036
5037 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5038
5039 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Fix to use
5040 -HeaderDirectory and -SourceDirectory to get docs to build again...
5041 hopefully with both sets of make rules.
5042
5043 Fri Jan 4 15:44:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5044
5045 * base.make.in (GNUSTEP_BASE_HAVE_LIBXML): Define.
5046 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Do not use
5047 -HeaderDirectory.
5048 (Base_HEADER_FILES_DIR): Define.
5049 * Source/GNUmakefile: Include documentation.make only if doc=yes
5050 is passed on the command line.
5051 * Tools/GNUmakefile: Idem.
5052
5053 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5054
5055 * Tools/autogsdoc.m: Rearrange code somewhat and remove auto
5056 generation of index and 'up' links ... now requires an explicit
5057 -Up if you want one. Fix to support multiple source files parsed
5058 per interface file.
5059 * Tools/GNUmakefile: Add -Up for documentation generation
5060 * Source/GNUmakefile: ditto
5061
5062 Fri Jan 4 11:42:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
5063
5064 * Tools/HTMLLinker.m: Implemented -FixupAllLinks, -PathMappings,
5065 -PathMappingsFile options. Made -CheckLinks default to YES.
5066 Added support for specifying a directory as input or destination
5067 file, meaning all html files found in the directory. Never
5068 attempt to fixup links starting with mailto: or news: or without a
5069 filename, even if running with -FixupAllLinks YES.
5070 * Tools/HTMLLinker.html: New file.
5071
5072 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5073
5074 * Source/autogsdoc.m: Fixup bug in html relocation code ... was
5075 failing to adjust string length variable correctly.
5076
5077 2002-01-03 Adam Fedor <fedor@gnu.org>
5078
5079 * Headers/gnustep/base/NSString.h: Extern constant string class
5080 reference for Darwin added.
5081 * Source/GSString.m ([NXConstantString +initialize]): Setup constant
5082 string class reference variable for Darwin.
5083 * Source/NSObject.m: Don't put reference count and zone with object
5084 on Darwin.
5085 * Source/behavior.m (NeXT_RUNTIME/behavior_class_add_class): Use NeXT
5086 runtime functions. Pass only one method_list at a time.
5087 (NeXT_RUNTIME/behavior_class_add_methods): Only look at one
5088 method_list at a time.
5089 (NeXT_RUNTIME/search_for_method_in_list): Use NeXT runtime functions.
5090
5091 Thu Jan 3 19:38:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
5092
5093 * Tools/HTMLLinker.m: New tool.
5094 * Tools/GNUmakefile: Compile the new tool.
5095 * Tools/Makefile.preamble (ADDITIONAL_OBJCFLAGS): Use -Wall.
5096
5097 2002-01-03 Adam Fedor <fedor@gnu.org>
5098
5099 * Source/GSFFCallInvocation.m (gs_method_for_receiver_and_selector):
5100 Correct test for class.
5101
5102 * Source/GNUmakefile (AUTHORS): Remove target.
5103 * AUTHORS: Remove.
5104 * Admin/: Remove.
5105 * configure.bat: Likewise.
5106
5107 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5108
5109 * Header/Foundation/GSXML.h: Correction standards complience
5110 * Source/GSXML.m: A few documentation tidyups
5111 * Tools/autogsdoc.m: Some tidyups for improved performance
5112 and added code to relocate html documents.
5113 * Source/AGSIndex.[hm]: Minor API change to ease index handling,
5114 bugfix for class index generation.
5115 * Source/AGSHtml.m: Made index handling more consistent.
5116
5117 2002-01-02 Adam Fedor <fedor@gnu.org>
5118
5119 * configure.in: Show openssl as enabled by default in help. Check for
5120 more headers.
5121 * Source/NSTask.m: Move #includes to front, remove redundancies.
5122
5123 * Source/GSXML.m ([(non-libxml)GSXMLNode +forwardInvocation]):
5124 Implement.
5125
5126 * Documentation/GNUmakefile: Remove gnustep-base.texi
5127 * Documentation/install.texi: Update.
5128 * Documentation/news.texi: Likewise.
5129
5130 * Tools/autogsdoc.m (main): When no libxml, abort with a useful error
5131 message.
5132
5133 2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
5134
5135 * Source/GSXML.m: Tidied some methods and added autogsdoc comments.
5136 * Source/NSData.[hm]: implement ([-writeToURL:atomically:])
5137 * Source/GSXML.[hm]: Tidy document API to be more consistent
5138 with other classes. Add some autogsdoc comments.
5139 * Tools/AGSIndex.m: Bugfix in setting links to superclasses.
5140 * Tools/AGSOutput.m: Infinite recursion fix.
5141
5142 2002-01-01 Richard Frith-Macdonald <rfm@gnu.org>
5143
5144 * Source/GNUmakefile: Use new -Standards flag for autogsdoc
5145 * Tools/AGSparser.[hm]: New support for standards and some tidyups
5146 * Tools/AGSHtml.[hm]: Improved output and simplified a little.
5147 * Tools/autogsdoc.m: New Standards flag to turn on support for
5148 generation of standards complience notes in documentation.
5149
5150 Tue Jan 1 11:18:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
5151
5152 * Source/NSFileManager.m (custom_strdup): New inline function
5153 to simplify code. (append_file_to_path): Use it.
5154 ([NSDirectoryEnumerator -initWithDirectoryPath:
5155 recurseIntoSubdirectories:followSymlinks:justContents:]):
5156 Idem.
5157 ([NSDirectoryEnumerator -nextObject]): Fixed memory leak (Reported
5158 by Brian Alliet <brian@brian-web.com>).
5159
5160 2001-12-31 Richard Frith-Macdonald <rfm@gnu.org>
5161
5162 * Source/behavior.m: behavior_class_add_methods() bugfix to ensure
5163 that despatch table is updated properly.
5164 search_for_method_in_list() deleted ... use version in gnu runtime.
5165 * Source/NSUserDefaults.m: Removed use of distributed lock ... we
5166 use atomic writes to file, so we don't need it. Also restructured
5167 a little to reduce file accesses when synchronising. Also tidied
5168 comments a little for autogsdoc.
5169
5170 2001-12-29 Adam Fedor <fedor@gnu.org>
5171
5172 * Source/behavior.m (class_add_behavior): Add depreciated function
5173 back.
5174
5175 2001-12-27 Adam Fedor <fedor@gnu.org>
5176
5177 * Headers/gnustep/base/objc-gnu2next.h: Disable __builtin functions
5178 for GCC < 3.x (darwin).
5179
5180 * Headers/gnustep/base/behavior.h: New defs for darwin/NeXT. Remove
5181 depreciated function.
5182 * Source/GSSet.m (+initialize): Use new behavior function in place
5183 of depreciated one.
5184 * Source/behavior.m (behavior_class_add_class): On darwin, allow
5185 NXConstantString class to increase in size.
5186 (behavior_class_add_category): New/rewrite for darwin methodLists
5187 structure.
5188 (behavior_class_add_methods): Likewise.
5189 (search_for_method_in_list): Likewise.
5190
5191 * Source/NSObject.m: Move ALIGN definition outside of #if
5192 (NSDecrementExtraRefCountWasZero): Change NSAssert to NSCAssert.
5193
5194 * Source/mframe.m (method_types_get_first_argument): Use
5195 method_types_get_next_argument.
5196
5197 * Source/Makefile.preamble: Additional flags for darwin linking.
5198
5199 * Source/libgnustep-base.def: Updated for new/removed classes.
5200
5201 2001-12-26 Richard Frith-Macdonald <rfm@gnu.org>
5202
5203 * Tools/autogsdoc.m: Add options for better control of index file and
5204 turning off dependency checking (for slightly more efficient running
5205 under make). Also added flag to enable/disable html generation.
5206 * Tools/AGSHtml.m: Fix a few errors in achnors and links to document
5207 titles.
5208
5209 2001-12-22 Richard Frith-Macdonald <rfm@gnu.org>
5210
5211 * Tools/autogsdoc.m: Fix bug in handling args introduceed by last
5212 modification. Removed next and prev linkage at Nicolas suggestion.
5213
5214 2001-12-21 Richard Frith-Macdonald <rfm@gnu.org>
5215
5216 * Tools/autogsdoc.m: Simplify file processing and cleanup so that
5217 spurious linkage and indexing is not done when run on a single file.
5218
5219 Fri Dec 21 13:50:50 2001 Nicola Pero <nicola@brainstorm.co.uk>
5220
5221 * Source/NSBundle.m ([+bundleForLibrary:]): New method.
5222 ([+bundleForTool:]): New method.
5223 * Headers/gnustep/base/NSBundle.h: Declare them.
5224
5225 Fri Dec 21 11:48:49 2001 Nicola Pero <nicola@brainstorm.co.uk>
5226
5227 * NSTimeZones/Makefile.postamble (timezonedir, before-install):
5228 Unused targets removed.
5229
5230 2001-12-19 Richard Frith-Macdonald <rfm@gnu.org>
5231
5232 * Source/GSXML.m: Check validation status at parse completion.
5233 * Source/NSUserDefaults.m: Ensure flags are initialised.
5234 * Source/GSCompatibility.m: Set GNUstep DTD for propertyLists.
5235 * Tools/plist-0_9.dtd: GNUstep property list DTD.
5236 * Source/autogsdoc.m: Improve dependency checking ... only regenerate
5237 project index when necessary, thus avoiding some gsdoc file parsing.
5238
5239 Wed Dec 19 02:17:09 2001 Nicola Pero <n.pero@mi.flashnet.it>
5240
5241 * Source/NSThread.m (GSRegisterCurrentThread): Use @defs to
5242 access protected variables of NSThread otherwise GCC 3.1 refuses to
5243 compile it.
5244 (GSUnregisterCurrentThread): Idem.
5245
5246 Tue Dec 18 18:02:07 2001 Nicola Pero <n.pero@mi.flashnet.it>
5247
5248 * Source/NSObject.m ([+conformsToProtocol:]): Fixed - it was
5249 checking that the metaclass conforms to the protocol rather than
5250 the class, which was causing it to fail for protocols implemented
5251 in categories.
5252
5253 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5254
5255 Many source files modified to contain date, version, and title info.
5256 * Tools/AGSHtml.m: Fix 'standards' output. Implement date and version.
5257 * Tools/AGSOutput.m: Add 'standards' support for class, category,
5258 and protocol. Use new standards info from parser.
5259 * Tools/AGSParser.h: New method to set current standards.
5260 * Tools/AGSParser.m: Implement simplistic parsing of preprocessor
5261 conditionals to set current standards based on STRICT_MACOS_X,
5262 STRICT_OPENSTEP, and NO_GNUSTEP. The presence of <standards>
5263 markup in the comments still takes precedence over this mechanism.
5264
5265 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5266
5267 * Source/GSXML.m: Bugfixes in setting parse behavior ... now turns
5268 on validation properly.
5269 * Tools/gsdoc-0_6_7.dtd: added 'scope' to index element and
5270 added a 'title' type to list files in a project.
5271 * Tools/AGSHtml.h:
5272 * Tools/AGSHtml.m: Output tidyups and general format improvements.
5273 Add links to other documents in project. Add support for 'index'
5274 element with both file and project scope.
5275 * Tools/autogsdoc.m: Clean up a little and handle gsdoc files
5276 listed as source files better .... now looks for them in the
5277 source directory. Added automatic generation of an 'index' file
5278 for a project where the first source file listed in the project
5279 is not a gsdoc file.
5280
5281 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5282
5283 * Headers/gnustep/base/GSMime.h: Updates for autogsdoc
5284 * Headers/gnustep/base/GSXML.h: ditto
5285 * Headers/gnustep/base/NSArray.h: ditto
5286 * Headers/gnustep/base/NSAttributedString.h: ditto
5287 * Headers/gnustep/base/NSAutoreleasePool.h: ditto
5288 * Headers/gnustep/base/NSCalendarDate.h: ditto
5289 * Headers/gnustep/base/NSCharacterSet.h: ditto
5290 * Headers/gnustep/base/NSCoder.h: ditto
5291 * Headers/gnustep/base/NSConnection.h: ditto
5292 * Headers/gnustep/base/NSData.h: ditto
5293 * Headers/gnustep/base/NSDate.h: ditto
5294 * Headers/gnustep/base/NSDistantObject.h: ditto
5295 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto
5296 * Headers/gnustep/base/NSInvocation.h: ditto
5297 * Headers/gnustep/base/NSLock.h: ditto
5298 * Headers/gnustep/base/NSMethodSignature.h: ditto
5299 * Headers/gnustep/base/NSNotification.h: ditto
5300 * Headers/gnustep/base/NSObject.h: ditto
5301 * Headers/gnustep/base/NSProxy.h: ditto
5302 * Headers/gnustep/base/NSRunLoop.h: ditto
5303 * Headers/gnustep/base/NSSet.h: ditto
5304 * Headers/gnustep/base/NSTimeZone.h: ditto
5305 * Headers/gnustep/base/NSTimer.h: ditto
5306 * Headers/gnustep/base/NSURL.h: ditto
5307 * Headers/gnustep/base/NSUndoManager.h: ditto
5308 * Headers/gnustep/base/NSUserDefaults.h: ditto
5309 * Headers/gnustep/base/NSValue.h: ditto
5310 * Source/GSArray.m: ditto
5311 * Source/GSAttributedString.m: ditto
5312 * Source/GSCompatibility.m: ditto
5313 * Source/GSCountedSet.m: ditto
5314 * Source/GSDictionary.m: ditto
5315 * Source/GSFFCallInvocation.m: ditto
5316 * Source/GSFFIInvocation.m: ditto
5317 * Source/GSFormat.m: ditto
5318 * Source/GSHTTPURLHandle.m: ditto
5319 * Source/GSLocale.m: ditto
5320 * Source/GSMime.m: ditto
5321 * Source/GSSet.m: ditto
5322 * Source/GSString.m: ditto
5323 * Source/GSTcpPort.m: ditto
5324 * Source/GSUnixSSLHandle.m: ditto
5325 * Source/GSValue.m: ditto
5326 * Source/GSXML.m: ditto
5327 * Source/NSArchiver.m: ditto
5328 * Source/NSArray.m: ditto
5329 * Source/NSAssertionHandler.m: ditto
5330 * Source/NSAttributedString.m: ditto
5331 * Source/NSAutoreleasePool.m: ditto
5332 * Source/NSBitmapCharSet.m: ditto
5333 * Source/NSBundle.m: ditto
5334 * Source/NSCalendarDate.m: ditto
5335 * Source/NSCallBacks.m: ditto
5336 * Source/NSCharacterSet.m: ditto
5337 * Source/NSClassDescription.m: ditto
5338 * Source/NSCoder.m: ditto
5339 * Source/NSConnection.m: ditto
5340 * Source/NSCopyObject.m: ditto
5341 * Source/NSCountedSet.m: ditto
5342 * Source/NSData.m: ditto
5343 * Source/NSDate.m: ditto
5344 * Source/NSDateFormatter.m: ditto
5345 * Source/NSDebug.m: ditto
5346 * Source/NSDecimal.m: ditto
5347 * Source/NSDecimalNumber.m: ditto
5348 * Source/NSDictionary.m: ditto
5349 * Source/NSDistantObject.m: ditto
5350 * Source/NSDistributedLock.m: ditto
5351 * Source/NSDistributedNotificationCenter.m: ditto
5352 * Source/NSEnumerator.m: ditto
5353 * Source/NSException.m: ditto
5354 * Source/NSFileHandle.m: ditto
5355 * Source/NSFileManager.m: ditto
5356 * Source/NSFormatter.m: ditto
5357 * Source/NSGeometry.m: ditto
5358 * Source/NSHashTable.m: ditto
5359 * Source/NSHost.m: ditto
5360 * Source/NSInvocation.m: ditto
5361 * Source/NSLock.m: ditto
5362 * Source/NSLog.m: ditto
5363 * Source/NSMapTable.m: ditto
5364 * Source/NSMethodSignature.m: ditto
5365 * Source/NSNotification.m: ditto
5366 * Source/NSNotificationCenter.m: ditto
5367 * Source/NSNotificationQueue.m: ditto
5368 * Source/NSNull.m: ditto
5369 * Source/NSNumber.m: ditto
5370 * Source/NSNumberFormatter.m: ditto
5371 * Source/NSObjCRuntime.m: ditto
5372 * Source/NSPage.m: ditto
5373 * Source/NSPipe.m: ditto
5374 * Source/NSPort.m: ditto
5375 * Source/NSPortCoder.m: ditto
5376 * Source/NSPortMessage.m: ditto
5377 * Source/NSPortNameServer.m: ditto
5378 * Source/NSProcessInfo.m: ditto
5379 * Source/NSProtocolChecker.m: ditto
5380 * Source/NSProxy.m: ditto
5381 * Source/NSRange.m: ditto
5382 * Source/NSRunLoop.m: ditto
5383 * Source/NSScanner.m: ditto
5384 * Source/NSSerializer.m: ditto
5385 * Source/NSSet.m: ditto
5386 * Source/NSString.m: ditto
5387 * Source/NSTask.m: ditto
5388 * Source/NSThread.m: ditto
5389 * Source/NSTimeZone.m: ditto
5390 * Source/NSTimer.m: ditto
5391 * Source/NSURL.m: ditto
5392 * Source/NSURLHandle.m: ditto
5393 * Source/NSUnarchiver.m: ditto
5394 * Source/NSUndoManager.m: ditto
5395 * Source/NSUser.m: ditto
5396 * Source/NSUserDefaults.m: ditto
5397 * Source/NSValue.m: ditto
5398 * Source/NSZone.m: ditto
5399 * Source/Unicode.m: ditto
5400 * Source/UnixFileHandle.m: ditto
5401 * Source/WindowsFileHandle.m: ditto
5402 * Source/behavior.m: ditto
5403 * Source/callframe.m: ditto
5404 * Source/cifframe.m: ditto
5405 * Source/externs.m: ditto
5406 * Source/libgnustep-base-entry.m: ditto
5407 * Source/mframe.m: ditto
5408 * Source/o_array.m: ditto
5409 * Tools/AGSParser.m: ditto
5410 Ensure that initial comments in source code are sutogsdoc comments
5411 so copyright and author information will be used.
5412 Fix inconsistencies between arguments in headers and source files.
5413 Fix various bugs exposed by autogsdoc ... mostly cases where there
5414 is a semicolon after a method name in a method implementation
5415 (this is illegal, but the gcc compiler currently ignores it).
5416
5417 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5418
5419 * Tools/AGSHtml.m: Provide list of methods in each class.
5420 * Tools/AGSIndex.m: New method to list methods in a unit.
5421 * Tools/AGSIndex.h: New method to list methods in a unit.
5422 * Tools/AGSOutput.m: Support (name) syntax for specifying a protocol
5423 cross reference using [(name)-method]
5424 * Tools/autogsdoc.m: Improve documentation of method references.
5425 * Tools/AGSparser.m: Handle @class statements. Improve standardisation
5426 of the format of types.
5427
5428 2001-12-16 Richard Frith-Macdonald <rfm@gnu.org>
5429
5430 * Source/NSObject.m: Make initial comment an autogsdoc comment.
5431 * Tools/gsdoc-0_6_7.dtd: Fix protocol error reported by Adam
5432 * Tools/AGSHtml.h:
5433 * Tools/AGSHtml.m:
5434 * Tools/AGSIndex.h:
5435 * Tools/AGSIndex.m:
5436 * Tools/AGSOutput.h:
5437 * Tools/AGSOutput.m:
5438 * Tools/AGSParser.h:
5439 * Tools/AGSParser.m:
5440 * Tools/autogsdoc.m: Tidied initial comments to take advantage of
5441 new code to parse author and copyright details. Fixed several
5442 minor bugs in various parts of the software. Updated documentation.
5443
5444 2001-12-15 Fred Kiefer <FredKiefer@gmx.de>
5445
5446 * Tools/pl2link.m
5447 Better handling of MIME types.
5448
5449 2001-12-15 Richard Frith-Macdonald <rfm@gnu.org>
5450
5451 Many minor cleanups and bugfixes for autogsdoc. Alpha-test support
5452 for building base library documentation using autogsdoc ... lots of
5453 work remains to be done to improve the html output from autogsdoc
5454 and to add autogsdoc comments to the base library source code.
5455 * Tools/AGSIndex.h: improve merge control
5456 * Tools/AGSIndex.m: ditto
5457 * Tools/AGSHtml.h: new methods for cleaner indexing.
5458 * Tools/AGSHtml.m: ditto
5459 * Tools/AGSParser.m: minor bugfixes.
5460 Tools/GNUmakefile: Build autogsdoc documentation using autogsdoc.
5461 * Tools/autogsdoc.m: Fix minor dependency error. Fix for indexing
5462 where a version of the project being built is already installed.
5463 * Tools/gsdoc-0_6_7.dtd: Fix ivar support
5464 * Source/GSFFCallInvocation.m: minor debug output improvement.
5465 * Source/GNUmakefile: add basic instructions to build (but not install)
5466 documentation using autogsdoc. Don't want to install yet, as this is
5467 very much alpha-test stuff.
5468
5469 2001-12-13 Adam Fedor <fedor@gnu.org>
5470
5471 * Tools/pl2link.m: New file (from FredKiefer@gmx.de).
5472
5473 2001-12-12 Adam Fedor <fedor@gnu.org>
5474
5475 * Headers/gnustep/base/NSDebug.h: Include NSDebugLog functions
5476 when GSDIAGNOSE is defined.
5477
5478 2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
5479
5480 * Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
5481 the ([writeData:]) method do nothing until the page is reloaded,
5482 so its behavior is consistent with ([writeProperty:forKey:]) and
5483 can be used in conjunction with background loading (ie all I/O
5484 is done during the load).
5485 * Source/NSURL.m: load resource data after setting it to force I/O
5486
5487 2001-12-11 Manuel Guesdon <mguesdon@orange-concept.com>
5488
5489 * Source/NSString.m: corrected bug in +stringByTrimmingSpaces
5490 (there was an exception when the string contains only spaces).
5491
5492 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5493
5494 * Documentation/gsdoc/NSDistantObjectRequest.gsdoc: note that the
5495 class does not exist (and why).
5496
5497 2001-12-08 Gregory Casamento <greg_casamento@yahoo.com>
5498 * Source/GNUmakefile added SSL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
5499 to prevent build from failing when building from scratch.
5500
5501 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5502
5503 * Source/NSAttributedString.m: ([initWithCoder:]) fix typo.
5504
5505 2001-12-07 Adam Fedor <fedor@gnu.org>
5506
5507 * Headers/gnustep/base/NSDebug.h: Add NSDebugLog functions
5508 when GSWARN is defined (not DEBUG).
5509
5510 2001-12-07 Richard Frith-Macdonald <rfm@gnu.org>
5511
5512 * Source/GSHTTPURLHandle.m: Understand GSHTPPropertyBodyKey so we
5513 can set data to be posted in background.
5514
5515 2001-12-06 Richard Frith-Macdonald <rfm@gnu.org>
5516
5517 * Source/GNUmakefile: Add library dependencies for SSL bundle ...
5518 it needs libobjc and libgnustep-base to be linked.
5519 * Source/NSFileHandle.m: Only try to load SSL bundle if asked for.
5520
5521 Mon Dec 5 16:32:31 2001 Adam Fedor <fedor@yogi.doc.com>
5522
5523 * Source/GSHTTPURLHandle.m: Include sys/fcntl.h for O_WRONLY, etc
5524 (on Solaris).
5525
5526 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5527
5528 * Source/GNUmakefile: Add flags for SSL and rules to build bundle
5529 * Source/GSHTTPURLHandle.m: use +sslClass
5530 * Source/GSUnixSSLHandle.m: Extract SSL support for bundle to this file.
5531 * Source/Makefile.preamble: Add flags for SSL
5532 * Source/NSFileHandle.m: Add +sslClass and automated loading of bundle
5533 * Source/UnixFileHandle.m: Remove SSL support.
5534 * Headers/gnustep/base/NSFileHandle.h: Add +sslClass
5535 * Headers/gnustep/base/UnixFileHandle.h: Tidy a little.
5536 * config.mak.in: Add variables needed by SSL bundle
5537 * configure.in: Update to build SSL bundle by default.
5538 * configure: regenerated
5539 The above changes made to move SSL support into a bundle and add a
5540 +sslClass to NSFileHandle to return the class from the bundle if it
5541 is available. Changed the http url handle support to use this.
5542
5543 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5544
5545 * Source/NSValue.m: polish last set of changes -
5546 Optimisation ... cut memory allocation/deallocation to a minimum.
5547 Versioning ... set NSValue version number and attempt to decode
5548 old format objects.
5549 Simplification ... remove redundant code in placeholder class.
5550 Fixes ... allocate new objects in correct memory zone, I think a few
5551 others I forgot.
5552 * Source/NSNumberFormatter.m (-initWithCoder:): Avoid unnecessary
5553 autorelease/retain sequences. (-init): Fix illegal re-initialisation
5554 of initialised values and avoid unnecessary use of autorelease.
5555
5556 2001-12-03 Laurent Julliard <laurent@moldus.org>
5557
5558 * Source/NSNumberFormatter.m (-initWithCoder:): decoded objects
5559 must be retained
5560
5561 2001-12-03 Richard Frith-Macdonald <rfm@gnu.org>
5562
5563 * Source/NSValue.m: Fix coding/decoding to use serialization code to
5564 maintain byte order and word size compatibility.
5565 * Source/GSValue.m: ditto
5566 * Testing/values.m: added encoding/decoding tests.
5567 * Source/GSMime.m: Tidied handling of continuations a little.
5568 * Source/GSHTTPURLHandle.m: Added some debug logging.
5569
5570 Sat Dec 1 10:11:18 2001 Nicola Pero <n.pero@mi.flashnet.it>
5571
5572 * Makefile.postamble (base.make): Depend on configure.
5573 (config.mak): Idem.
5574
5575 Sat Dec 1 09:29:43 2001 Nicola Pero <n.pero@mi.flashnet.it>
5576
5577 * Makefile.postamble (base.make): New target.
5578 (config.mak): New target.
5579
5580 2001-11-29 Richard Frith-Macdonald <rfm@gnu.org>
5581
5582 * Source/NSScanner.m: Fix memory leak when initialised with something
5583 other than a constant string.
5584
5585 2001-11-28 Adam Fedor <fedor@gnu.org>
5586
5587 * Documentation/gsdoc/Base.gsdoc: Add NSLanguages summary.
5588
5589 2001-11-27 Richard Frith-Macdonald <rfm@gnu.org>
5590
5591 * Source/NSConnection.m: Put a limit of around a second on how long
5592 the delay between polling for incoming packets can grow to ...
5593 improve response on heavily loaded systems.
5594 * Source/GSHTTPURLHandle.m: ditto
5595 * Tools/autogsdoc.m: Tidied structure a little and added file
5596 modification date checks to see whether files should be regenerated
5597 or not.
5598
5599 2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
5600
5601 * Headers/Foundation/NSURL.h
5602 Declare NSNumber, so that it compiles without complaining.
5603
5604 2001-11-23 Laurent Julliard <laurent@julliard-online.org>
5605
5606 * Source/NSNumberFormatter.m (-encodeWithCoder:, -initWithCode:):
5607 fixed buggy encoder and decoder and code cleanup.
5608
5609 2001-11-22 Laurent Julliard <Laurent.Julliard@xrce.xerox.com>
5610
5611 * Headers/gnustep/base/Foundation.h: Fixed NSNumberFormatter.h
5612 missing.
5613
5614 Thu Nov 22 00:52:57 2001 Nicola Pero <n.pero@mi.flashnet.it>
5615
5616 * GNUmakefile (CVS_MODULE_NAME): Define.
5617
5618 2001-11-21 Richard Frith-Macdonald <rfm@gnu.org>
5619
5620 * Tools/AGSOutput.m:
5621 * Tools/AGSOutput.h:
5622 * Tools/AGSIndex.h:
5623 * Tools/AGSIndex.m:
5624 * Tools/AGSParser.h:
5625 * Tools/AGSParser.m:
5626 * Tools/AGSHtml.h:
5627 * Tools/AGSHtml.m:
5628 * Tools/autogsdoc.m: Many bugfixes and enhancements ... generate
5629 html as well as gsdoc.
5630
5631 2001-11-19 Richard Frith-Macdonald <rfm@gnu.org>
5632
5633 * Source/GSXML.m: Implement NSCopying protocol for most classes.
5634
5635 2001-11-19 Adam Fedor <fedor@gnu.org>
5636
5637 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Fix
5638 typo.
5639
5640 * Tools/gdomap.c (nameServer): Print strerror before exiting for
5641 more helpful message.
5642
5643 2001-11-13 Richard Frith-Macdonald <rfm@gnu.org>
5644
5645 * Source/NSUser.m:
5646 * Headers/Foundation/NSUserDefaults.h:
5647 * Documentation/gsdoc/NSUserDefaults.gsdoc:
5648 * Source/NSUserDefaults.m: Changed the method name +resetUserDefaults
5649 to be +resetStandardUserDefaults for compatibility with MacOS-X, which
5650 has now implemented an equivalent for the GNUstep method.
5651 * Source/NSPortNameServer.m: When removing a port, remove from
5652 internal name tables even if gdomap reports no name to unregister.
5653 In ([-removePort:]) retain set of names for duration of operation -
5654 fix suggested by Gerrit Van Dyk
5655
5656 2001-11-12 Richard Frith-Macdonald <rfm@gnu.org>
5657
5658 * Source/NSNumber.m: describe char and unsigned char as numbers
5659 rather than ascii characters. Use g format for floats.
5660 Use 'true' and 'false' for boolean output ... for MacOS-X compatibility.
5661 * Source/NSConcreteNumber.m: ditto
5662 * Source/GSFormat.m: Fix bug in formatting short integers - was trying
5663 to treat them as full sized.
5664 * headers/Foundation/NSString.h: Fix error in initWithFormat:locale:,...
5665 * Source/NSString.m: ditto ... was missing varargs
5666 * Documentation/gsdoc/NSNumber.gsdoc: document changes.
5667 * Documentation/gsdoc/NSString.gsdoc: document changes.
5668 * Testing/values.m: Added some number output tests.
5669 * Source/NSUserDefaults.m: Locking bug fixed ... was locking before
5670 lock had been created.
5671 * Source/libgnustep-base.def: Removed defunct class
5672 * Source/NSHost.m: Support initialisation with an address for which
5673 there is no corrsponding host name.
5674
5675 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5676
5677 * Documentation/gsdoc/Base.gsdoc:
5678 * Source/GSCompatibility.m:
5679 * Source/GSMime.m:
5680 * Source/GSUserDefaults.h:
5681 * Source/NSArray.m:
5682 * Source/NSCalendarDate.m:
5683 * Source/NSDate.m:
5684 * Source/NSDecimalNumber.m:
5685 * Source/NSDictionary.m:
5686 * Source/NSFileHandle.m:
5687 * Source/NSGeometry.m:
5688 * Source/NSLog.m:
5689 * Source/NSScanner.m:
5690 * Source/NSString.m:
5691 * Source/NSUserDefaults.m: Modify user defaults usage to cache some
5692 defaults used internally and provide private accessors for speed.
5693 Add default to force logging to be done via syslog since logging
5694 to stderr within code called via JIGS from a servlet engine may
5695 cause severe problems if the servlet engine is using descriptor 2
5696 for other purposes.
5697
5698 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5699
5700 * Source/GSMime.m: modifications made to support HTTP continuation
5701 responses for buggy webservers which send them when they shouldn't.
5702
5703 2001-11-08 Richard Frith-Macdonald <rfm@gnu.org>
5704
5705 * Source/GSHTTPHURLHandle.m: handle writing of nil properties and
5706 use of empty strings as proxy settings. Minimise delays when
5707 tunneling SSL
5708 * Source/UnixFileHandle.m: Improve error logging with ssl.
5709
5710 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5711
5712 * Headers/foundation/NSUserDefaults.h: Add _lock ivar
5713 * Source/NSUserDefaults.m: initial attempt at thread-safety.
5714
5715 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5716
5717 * Headers/Foundation/NSString.h: removed stringByTrimming...Whitespace
5718 methods as they just duplicate the stringByTrimming...Spaces
5719 * Source/NSString.m: ditto
5720 Optimised the space trimming methods - avoid using character sets and
5721 creating unnecessary intermediary objects.
5722
5723 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5724
5725 * Source/NSUserDefaults.m: force defaults data to be read/write
5726 only to the user. Supplied by Ludovic Marcotte
5727
5728 Wed Nov 7 09:04:51 2001 Nicola Pero <n.pero@mi.flashnet.it>
5729
5730 After this change you need the latest gnustep-make to compile.
5731 * Source/Makefile.postamble: Removed rules to manually compile
5732 NSInvocation.m, NSConnection.m and mframe.m.
5733 (mframe.m_FILE_FILTER_OUT_FLAGS): Set to filter out optimization
5734 flags when compiling mframe.m.
5735 (NSConnection.m_FILE_FILTER_OUT_FLAGS): Idem.
5736 (NSInvocation.m_FILE_FILTER_OUT_FLAGS): Idem.
5737
5738 2001-11-01 Adam Fedor <fedor@gnu.org>
5739
5740 * Source/NSData.m: Add an include to avoid some warnings.
5741
5742 Tue Oct 30 14:33:48 2001 Nicola Pero <nicola@brainstorm.co.uk>
5743
5744 * Testing/benchmark.m (bench_object): Added test showing that a
5745 call to super in a category method - no matter if a class or an
5746 instance method - has the same big performance hit that a class
5747 method invocation has - at least with the current GNU runtime.
5748
5749 2001-10-28 Adam Fedor <fedor@gnu.org>
5750
5751 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5752 Make NSLog message into fprintf to avoid recursion.
5753
5754 * Source/NSUserDefaults.m (pathForUser): Create ~/GNUstep/Library
5755 if it doesn't exist.
5756
5757 2001-10-26 Adam Fedor <fedor@gnu.org>
5758
5759 * configure (z): Check for gzseek in zlib since older zlibs don't
5760 have it. Fix check for LLONG_MAX (check if includes exist), same
5761 with uintmax_t
5762 * Source/GSFormat.h: Include stdint.h or inttypes.h if we have it.
5763 Proper check for LONG_LONG_MAX or LLONG_MAX.
5764
5765 2001-10-25 Adam Fedor <fedor@gnu.org>
5766
5767 * aclocal.m4 (AC_SYS_PROCFS): Typo fix, use AC_ARG_ENABLE. Make
5768 sure cache var is set to no if disabled.
5769 (AC_SYS_PROCFS_EXE_LINK): Likewise.
5770
5771 * configure.in: Check for LLONG_MAX. Check for -lcipher.
5772 (Patch from chrisv@web4inc.com with modifications).
5773 * Source/GSFormat.m: If we have LLONG_MAX, define LONG_LONG_MAX
5774 to match.
5775 * Source/NSScanner.m: Likewise.
5776
5777 2001-10-24 Richard Frith-Macdonald <rfm@gnu.org>
5778
5779 * configure.in: Check for zlib
5780 * Headers/gnustep/base/GSConfig.h.in: Define HAVE_ZLIB
5781 * Headers/gnustep/base/NSFileHandle.h: Add useCompression extension
5782 * Headers/gnustep/base/UnixFileHandle.h: ditto
5783 * Source/UnixFileHandle.m: Add support for read/write with compression
5784 using zlib. Activate with -useCompression
5785
5786 2001-10-19 Richard Frith-Macdonald <rfm@gnu.org>
5787
5788 * Headers/Foundation/NSNumberFormatter.h: ivars aded and updated.
5789 * Source/NSNumberFormatter.m: implemented dealloc, copy, coding and
5790 all the ivar setting/getting methods.
5791
5792 2001-10-18 Richard Frith-Macdonald <rfm@gnu.org>
5793
5794 * Source/NSString.m: ([+stringWithCString:]) check for nul pointer.
5795
5796 2001-10-17 Adam Fedor <fedor@gnu.org>
5797
5798 * configure.in (GNUSTEP_LDIR): Look for libobjc in
5799 .../$LIBRARY_COMBO first.
5800
5801 2001-10-16 Adam Fedor <fedor@gnu.org>
5802
5803 * Source/GNUmakefile: Strip drive names from paths.
5804
5805 * Source/GSXML.m: Add dummy GSXMLParser when not using libxml.
5806 * Source/NSBundle.m (_absolutePathOfExecutable:): Check for
5807 'Path' variable also (for Windows).
5808 * Source/NSUser.m (GSStringFromWin32EnvironmentVariable): New
5809 function.
5810 (NSHomeDirectoryForUser): Use it.
5811 (setupPathNames): Prepend systemDrive to compiled in root
5812 paths.
5813 (patches from stephen@brandonitconsulting.co.uk).
5814
5815 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5816 On (sparc && DEBUG) disable the setgrent functions which cause gdb
5817 to crash.
5818
5819 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5820
5821 * Source/GNUmakefile:
5822 * Source/GSXML.m:
5823 * Headers/Foundation/GSXML.h: Build and install dummy version if
5824 libxml is not available.
5825 * Tools/GNUmakefile:
5826 * Tools/AGSIndex.h:
5827 * Tools/AGSIndex.m:
5828 * Tools/AGSOutput.h:
5829 * Tools/AGSOutput.m:
5830 * Tools/AGSParser.h:
5831 * Tools/AGSParser.m:
5832 * Tools/autogsdoc.m: Many bugfixes and additions, bew code to
5833 generate indexes.
5834
5835 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5836
5837 * Tools/AGSOutput.m: Added new 'unit' pseudo-markup to permit
5838 control over chapter layout for a chapter containing class,
5839 category, or protocol documentation.
5840
5841 2001-10-14 Fred Kiefer <FredKiefer@gmx.de>
5842
5843 * Source/Unicode.m:
5844 In iconv_cstrtoustr() and iconv_ustrtocstr() report if a iconv
5845 conversion cannot be found. Also added a type convert to the iconv
5846 call, so that the compiler wont report a type mismatch.
5847
5848 2001-10-13 Adam Fedor <fedor@gnu.org>
5849
5850 * Headers/gnustep/base/NSPathUtilities.h (GSSystemRootDirectory):
5851 New function.
5852 * Source/GNUmakefile: Define GNUSTEP_LOCAL_ROOT and
5853 GNUSTEP_NETWORK_ROOT paths on compile line.
5854 * Source/NSUser.m (setupPathNames): Use compiled in paths as backup
5855 if environment variables not found.
5856 (GSStandardPathPrefixes): Make sure a non-nil result is returned.
5857 (GSSystemRootDirectory). Implement.
5858 * Source/NSDistributedNotificationCenter.m (_connect): Use it to
5859 find gdnc.
5860 * Source/NSPortNameServer.m (initialize): Use it to find gdomap.
5861
5862 2001-10-13 Richard Frith-Macdonald <rfm@gnu.org>
5863
5864 * Source/GSFFCallInvocation.m: Change #import to #include
5865 * Source/NSProtocolChecker.m: Change #import to #include
5866 * Testing/containers.m: Change #import to #include
5867 * Tools/AGSOutput.h: Return string rather than writing to file
5868 * Tools/AGSOutput.m: Return string rather than writing to file
5869 * Tools/autogsdoc.m: Hnalde file writing.
5870 * Tools/plmerge.m: Change #import to #include
5871
5872 2001-10-11 Richard Frith-Macdonald <rfm@gnu.org>
5873
5874 * Tools/GNUmakefile: Addend new files.
5875 * Tools/AGSOutput.h: Support class for autogsdoc
5876 * Tools/AGSOutput.m: ditto
5877 * Tools/AGSParser.h: ditto
5878 * Tools/AGSParser.m: ditto
5879 * Tools/autogsdoc.m: New tool to generate gsdoc files from ObjC
5880 header and source files. Uses comments with a '/**' prefix
5881 (like javadoc) to provide nice information about classes and/or
5882 methods.
5883 This is very much an initial/alpha version but it is already
5884 quite useful.
5885
5886 2001-10-06 Richard Frith-Macdonald <rfm@gnu.org>
5887
5888 * Source/NSConnection.m: Increase default timeouts to max value.
5889 Improve algorithm for polling for messages when waiting for a reply
5890 in multithreaded mode ... use fibonacci sequence for delays rather
5891 than doubling each time.
5892 * Headers/Foundation/NSConnection.h: Remove default timeout constant.
5893 * configure.in: Check for float.h, not for values.h
5894 * Documentation/gsdoc/NSConnection.gsdoc: updated.
5895
5896 2001-10-05 Richard Frith-Macdonald <rfm@gnu.org>
5897
5898 * NSTimeZones/NSTimeZones.tar: Updated to latest info.
5899
5900 2001-10-02 Richard Frith-Macdonald <rfm@gnu.org>
5901
5902 * Source/NSLog.m: _NSLog_standard_printf_handler() modified to output
5903 message as UTF8 data if it can't be done as ASCII
5904
5905 2001-09-27 Richard Frith-Macdonald <rfm@gnu.org>
5906
5907 * Source/NSString: setupQuotables() ... add several characters to the
5908 set of those valid in an unquoted string ... so read back of NSNumber
5909 values encoded as strings works ... problem reported by Rene Cornilis.
5910
5911 2001-09-26 Richard Frith-Macdonald <rfm@gnu.org>
5912
5913 * Source/GNUmakefile: install DistributedObjects.h in gnustep/base
5914 rather than Foundation .... but it's an internal header - should
5915 it be installed at all?
5916
5917 2001-09-25 Adam Fedor <fedor@gnu.org>
5918
5919 * configure.in: Typo in saving CPPFLAGS during iconv test.
5920
5921 2001-09-21 Adam Fedor <fedor@gnu.org>
5922
5923 * configure.in: Typo in iconv cached value.
5924 * Headers/gnustep/base/NSGeometry.h: Make const values static also.
5925 * Source/NSConnection.m: Remove obsolete BROKEN_NESTED code.
5926 * Source/Unicode.m: Dynamically determine best Unicode encoding.
5927
5928 2001-09-21 Richard Frith-Macdonald <rfm@gnu.org>
5929
5930 * Headers/gnustep/base/DistributedObjects.h:
5931 * Source/GSFFCallInvocation.m:
5932 * Source/NSConnection.m:
5933 * Source/NSInvocation.m:
5934 * Source/callframe.h:
5935 * Source/callframe.m:
5936 Modifications to callframe handling to store pointers to data to
5937 be freed in order to be able to tidy up after an exception ...
5938 Appears to cure memory leak in ffcall code.
5939 No fix yest for mframe or ffi code.
5940
5941 2001-09-20 Richard Frith-Macdonald <rfm@gnu.org>
5942
5943 * Testing/nsconnection_client.m: Added simple exception tests
5944 * Testing/nsconnection_server.m: Added simple exception tests
5945 * Testing/server.h: Added simple exception tests
5946
5947 2001-09-19 Richard Frith-Macdonald <rfm@gnu.org>
5948
5949 * Source/NSConnection.m: rewrite ethod call code.
5950 * Source/callframe.h: ditto
5951 * Source/callframe.m: ditto
5952 * Source/cifframe.h: ditto
5953 * Source/cifframe.m: ditto
5954 * Source/mframe.m: ditto
5955 * Source/mframe/mframe.head: ditto
5956 * Headers/gnustep/base/DistributedObjects.h: Adde new DOContext struct.
5957 Rewrite code for moving data to/from method call stackframes and
5958 encoding/decoding it. The functions to encode/decode each data item
5959 are no longer nested, and pass a context structure around which
5960 provides for more information to be passed between the various layers
5961 of the process so that the whole thing is thread-safe and we don't
5962 get cases where code in one place tries to work with an object that
5963 was released in another place.
5964 Tested pretty extensively for libffcall stuff, with the simple test
5965 programs for maframe, and not at all for libffi.
5966
5967 2001-09-19 Adam Fedor <fedor@gnu.org>
5968
5969 * configure.in: Put CPPFLAGS in quotes
5970
5971 2001-09-14 Adam Fedor <fedor@gnu.org>
5972
5973 * configure.in: Remove redundancies in iconv checking. Remove
5974 redundant AC_SUBST(LIBS) lines.
5975
5976 2001-09-12 Adam Fedor <fedor@gnu.org>
5977
5978 * Source/thr-pthread.m (objc_yield): Replace pthread_yield with
5979 sched_yield.
5980
5981 2001-09-11 Adam Fedor <fedor@gnu.org>
5982
5983 * configure.in: Make sure to subst HAVE_PTHREAD_H into config.mak
5984
5985 2001-09-08 Richard Frith-Macdonald <rfm@gnu.org>
5986
5987 * Source/GSCompatibility.m: GSXMLPlMake() unused argument removed.
5988 * Source/NSData.m: Unused and commented out XML plist code removed.
5989 * Source/NSString.m: ditto
5990 * Source/NSArray.m: Generate XML plists only when writing to file
5991 or to URL, not for the -description... methods.
5992 This is what MacOS-X does.
5993 * Source/NSDictionary.m: ditto
5994
5995 2001-09-05 Adam Fedor <fedor@gnu.org>
5996
5997 * configure.in: Define BROKEN_NESTED_FUNCTIONS if compiler sucks.
5998 * Source/NSArray.m (-sortedArrayUsingSelector:): Remove nested
5999 function.
6000 ([NSMutableArray -sortUsingSelector:]): Likewise.
6001 * Source/NSConnection.m (-forwardForProxy:selector:argFrame:):
6002 Use external encode/decode functions if BROKEN_NESTED_FUNCTIONS.
6003 (-forwardInvocation:forProxy:): Likewise.
6004 (-_service_forwardForProxy:): Likewise.
6005 * Source/mframe.m (mframe_build_return_opts): Remove and
6006 consolidate nested functions.
6007 (mframe_handle_return): Likewise.
6008
6009 2001-08-31 Adam Fedor <fedor@gnu.org>
6010
6011 * Resources/French/Localizable.strings: Update (from
6012 Michael Scheibler <michael.scheibler@onevision.de>).
6013
6014 Fri Aug 31 11:58:42 2001 Nicola Pero <nicola@brainstorm.co.uk>
6015
6016 * Documentation/gsdoc/NSFunctions.gsdoc: Documented the
6017 localization functions/macros: NSLocalizedString,
6018 NSLocalizedStringFromTable, NSLocalizedStringFromTableInBundle,
6019 NSLocalizedStaticString, _ and __.
6020
6021 2001-08-30 Adam Fedor <fedor@gnu.org>
6022
6023 * Tools/sfparse.m: Add code to convert files to Unicode.
6024 * Resources/German/Localizable.strings: Convert to Unicode.
6025 * Resources/French/Localizable.strings: Likewise.
6026
6027 Thu Aug 30 20:03:19 2001 Nicola Pero <n.pero@mi.flashnet.it>
6028
6029 * Source/objc-load.m (objc_load_module): Reset the load callbacks
6030 to 0 when we abort loading the module because of an error
6031 (Reported by Michael Scheibler <michael.scheibler@onevision.de>).
6032
6033 Thu Aug 30 13:08:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
6034
6035 * Documentation/gsdoc/NSObject.gsdoc: Added description of the
6036 class; documented alloc, allocWithZone:, class, new, dealloc
6037 methods.
6038
6039 2001-08-29 Adam Fedor <fedor@gnu.org>
6040
6041 * Source/objc-gnu2next.m (next_objc_msg_send): Fix incorrect def.
6042
6043 Mon Aug 28 23:45:15 2001 Nicola Pero <n.pero@mi.flashnet.it>
6044
6045 * Source/NSCalendarDate.m ([+dateWithString:calendarFormat:]):
6046 Call alloc on self, rather than on the hardcoded NSCalendarDate
6047 class, so it works in subclasses.
6048 ([+dateWithString:calendarFormat:locale:]): Idem.
6049 ([+dateWithYear:month:day:hour:minute:second:timeZone:]): Idem.
6050
6051 2001-08-28 Georg Fleischmann <georg@vhf.de>
6052
6053 * base/Source/NSCalendarDate.m [NSCalendarDate
6054 descriptionWithCalendarFormat:locale:]: make milliseconds
6055 work (%F)
6056
6057 2001-08-28 Adam Fedor <fedor@gnu.org>
6058
6059 * Headers/gnustep/base/objc-gnu2next.h: More defs.
6060 * Source/NSObject.m (-methodSignatureForSelector:): Use sel_get_type.
6061
6062 * Source/mframe.m (method_types_get_first_argument): New function.
6063 (method_types_get_sizeof_arguments): Likewise.
6064 * Source/objc-gnu2next.m (next_objc_msg_sendv): Use them.
6065
6066 2001-08-21 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6067
6068 * Source/GSFFCallInvocation.m: Clearified comments
6069 (gs_method_for_receiver_and_selector) added
6070 (GSInvocationCallback): Check if forwardInvocation: is
6071 implemented to avoid infinite recursion bug.
6072
6073 Fri Aug 24 12:34:56 2001 Nicola Pero <nicola@brainstorm.co.uk>
6074
6075 * Source/NSUserDefaults.m ([-__createArgumentDictionary]): Make
6076 sure we don't crash trying to parse an argument as a property
6077 list.
6078
6079 Fri Aug 24 10:23:02 2001 Nicola Pero <nicola@brainstorm.co.uk>
6080
6081 * Resources/Italian.lproj/Localizable.strings: New file.
6082 * Resources/GNUmakefile (LANGUAGES): Added Italian.
6083
6084 2001-08-21 Adam Fedor <fedor@gnu.org>
6085
6086 * Resources/English.lproj/Localizable.strings: New file
6087 * Resources/German.lproj/Localizable.strings: Likewise.
6088 * Resources/French.lproj/Localizable.strings: Likewise.
6089 * Resources/GNUmakefile: Install them. (files from
6090 michael.scheibler@onevision.de)
6091
6092 * config/config.loadtest.m: Make Test inheret from Object
6093 (Darwin objc checks that classes implement forward::).
6094 * config/config.objc.m: Likewise.
6095
6096 2001-08-20 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6097
6098 * Documentation/gsdoc/ NSPipe.{gsdoc, html}: this class has been
6099 forgotten
6100 * Documentation/gsdoc/{Base, NSObject, NSPort}.{gsdoc, html}:
6101 updates to the links to show NSPipe
6102
6103 2001-08-16 Richard Frith-Macdonald <rfm@gnu.org>
6104
6105 * Tools/gsdoc.m: ([-initWithFileName:]) call xmlKeepBlanksDefault(0)
6106 to handle change in recent libxml whitespace handling.
6107
6108 2001-08-10 Richard Frith-Macdonald <rfm@gnu.org>
6109
6110 * Source/NSDistantObject.m: Tidy method lookup code.
6111 * Source/NSString.m: Handle nil content when parsing xml elements.
6112
6113 2001-08-06 Willem Rein Oudshoorn <wim@xs4all.nl>
6114
6115 * Source/GSFFCallInvocation.m: Forwarding:
6116 thread safe, handle missing typeinformation better,
6117 performance improvement.
6118 Minor tidyups by RFM
6119
6120 2001-08-06 Richard Frith-Macdonald <rfm@gnu.org>
6121
6122 * Source/GSMime.m: ([-decodeData:fromRange:intoData:withContext:])
6123 One line fix suggested by Stephen Brandon
6124 * Source/GSMime.m: ([-_decodeBody:]) fix parsing multipart documents
6125 as there was an error in the logic for testing to see if the sub docs
6126 had been parsed correctly.
6127
6128 2001-08-03 Adam Fedor <fedor@gnu.org>
6129
6130 * Source/NSObject.m: Don't decl __objc_responds_to on Darwin
6131 * Source/NSProxy.m: Likewise.
6132
6133 2001-08-03 Richard Frith-Macdonald <rfm@gnu.org>
6134
6135 * Headers/Foundation/Unicode.h: API Change
6136 * Source/Unicode.m: API Change ... remove old string conversion
6137 functions and replace with two functions, both of which differentiate
6138 between lengths of the source strings and sizes of destination buffers.
6139 * Source/NSString.m: Update for changes to Unicode.[hm]
6140 * Source/GSString.m: Update for changes to Unicode.[hm]
6141
6142 2001-08-02 Richard Frith-Macdonald <rfm@gnu.org>
6143
6144 * Source/NSPortNameServer.m: Log the host we are connecting to
6145 when we produce a warning for a failure of a link to gdomap.
6146 * Source/GSHTTPURLHandle.m: ([-propertyForKeyIfAvailable:]) return
6147 nil if the property is not available.
6148
6149 2001-08-01 Richard Frith-Macdonald <rfm@gnu.org>
6150
6151 * Documentation/gsdoc/Base.gsdoc: Documented all the uses of
6152 environment variables I could find.
6153 * Source/NSUserDefaults.m: __createArgumentDictionary ... handle
6154 property lists as arguments correctly.
6155 * Source/NSUser.m: Added GSTooldDirectory to listable paths.
6156
6157 2001-07-31 Richard Frith-Macdonald <rfm@gnu.org>
6158
6159 * Source/GSFFCallInvocation.m: attempt to guess type signature
6160 when compiler gives us an untyped selector.
6161 * Headers/Foundation/NSObject.h: ASSIGN(), ASSIGNCOPY(), minor
6162 reordering to make these macros thread-safe.
6163
6164 2001-07-30 Adam Fedor <fedor@gnu.org>
6165
6166 * Headers/gnustep/base/NSObjCRuntime.h: Export additional functions
6167 and variables for Windows DLLs.
6168 * Headers/gnustep/base/NSObject.h: Likewise.
6169 * Headers/gnustep/base/Unicode.h: Likewise.
6170
6171 * Headers/gnustep/base/preface.h.in: Define __WIN32__ ifndef on
6172 MINGW32.
6173
6174 * Testing/nsarray.m: Use NSCParameterAssert.
6175 * Testing/nsconnection.m: Cleanup for MinGW/Cygwin.
6176
6177 Sat Jul 21 23:25:14 2001 Wim Oudshoorn
6178 * Source/NSHost.m ([NSHost +hostWithName:]):
6179 Added forgotten argument to NSLog().
6180
6181 2001-07-19 Richard Frith-Macdonald <rfm@gnu.org>
6182
6183 * Source/UnixFileHandle.m: Don't abort aread/write attempts that
6184 fail on EAGAIN or EINTR ... retry them instead. Avoid unexpected
6185 exceptions when trying to write a large volume of data quicker
6186 then the output device can handle.
6187 * Source/WindowsFileHandle.m: ditto
6188
6189 2001-07-19 Adam Fedor <fedor@gnu.org>
6190
6191 * Documentation/readme.texi: Explain the license for GNUstep more
6192 clearly.
6193 * README: Regen.
6194
6195 Thu Jul 19 12:41:22 2001 Nicola Pero <nicola@brainstorm.co.uk>
6196
6197 * config/config.objc.m: New file.
6198 * configure.in: Added new test to check whether Objective-C really
6199 works. If it doesn't, abort immediately telling the user to fix
6200 their compiler installation first.
6201 (AC_CHECK_HEADERS): Don't check for libguile.h
6202 * configure: Regenerated.
6203
6204 2001-07-17 Richard Frith-Macdonald <rfm@gnu.org>
6205
6206 * Source/Unicode.m: Removed bogus tests for character zero in
6207 string conversion functions ... OpenStep strings are not nul
6208 terminated, so the code terminated conversions prematurely.
6209
6210 Tue Jul 17 15:00:52 2001 Nicola Pero <nicola@brainstorm.co.uk>
6211
6212 * Makefile.postamble (after-distclean): Depend on
6213 remove-header-links; do not remove links here.
6214 (remove-header-links): New target removing header links; different
6215 implementation on mingw32 and on non-migw32. Do not remove
6216 Source/Foundation.
6217 (.PHONY): Added, with header-links and remove-header-links.
6218
6219 2001-07-16 Adam Fedor <fedor@gnu.org>
6220
6221 * Headers/gnustep/base/objc-gnu2next.h: New definitions for sel
6222 functions, rearrange some things.
6223 * Headers/gnustep/base/objc-load.h: Change category type for
6224 compatibility with NeXT.
6225 * Source/objc-load.m: Likewise.
6226
6227 * Source/GSCompatibility.m (+defaultsChanged:): Typo in method name.
6228
6229 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6230
6231 * Source/NSString.m: Finish off and enable XML property list code
6232 * Source/GSCompatibility.m: ditto
6233
6234 2001-07-16 Adam Fedor <fedor@gnu.org>
6235
6236 * Source/NSUserDefaults.m ([NSUserDefaults +userLanguages]): Put
6237 MINGW languages in array (Fix from "Michael Scheibler"
6238 <michael.scheibler@onevision.de>).
6239
6240 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6241
6242 * Source/NSArray.m: Added ([writeToURL:atomically:]) for
6243 MacOS-X compatibility
6244 * Source/NSDictionary.m: ditto
6245
6246 2001-07-15 Richard Frith-Macdonald <rfm@gnu.org>
6247
6248 * Source/NSProcessInfo.m: Added -processIdentifier for compatibility
6249 with MacOS-X
6250 * Source/NSTask.m: Added -processIdentifier, -suspend, and -resume
6251 for compatibility with MacOS-X
6252 * Source/NSPortNameServer.m: Modified removal methods to return a
6253 boolean success/failure status for MacOS-X compatibility.
6254
6255 2001-07-14 Adam Fedor <fedor@gnu.org>
6256
6257 * Headers/gnustep/base/objc-gnu2next.h: More function defs.
6258 * Headers/gnustep/base/objc-load.h (objc_get_symbol_path): Correct
6259 def to match function decl.
6260 * Source/NSDistantObject.m (-selectorTypeForProxy:): Declare
6261 variable in NeXT implementation.
6262 * Source/NSInvocation.m (-invokeWithTarget:): Special def for NeXT.
6263 * Source/thr-pthread.m: Add forward decl of __objc_thread_detach.
6264
6265 2001-07-12 Richard Frith-Macdonald <rfm@gnu.org>
6266
6267 * Source/NSAttributedString.m: ([addAttributes:range:]) corrected
6268 bogus range check (report by Michael Scheibler)
6269 * Source/NSString.m: ([descriptionWithLocale:...]) as special case
6270 quote strings beginning with a slash ... property lists can
6271 otherwise confuse strings with leading slashes as comments.
6272
6273 2001-07-11 Adam Fedor <fedor@gnu.org>
6274
6275 * Source/objc-load.m: Include objc-load.h on NeXT systems.
6276
6277 2001-07-11 Richard Frith-Macdonald <rfm@gnu.org>
6278
6279 * Source/NSFileManager.m: ([fileSystemRepresentationWithPath:])
6280 MINGW fix contributed by Michael Scheibler
6281
6282 2001-07-10 Richard Frith-Macdonald <rfm@gnu.org>
6283
6284 * Source/NSUserDefaults.m: Update date/time designations to arrays
6285 * Source/NSDate.m: Update to use date/time designation arrays.
6286
6287 2001-07-09 Richard Frith-Macdonald <rfm@gnu.org>
6288
6289 * Source/objc-load.m: Remove bogus include of objc-load.h
6290 on non-NeXT systems.
6291
6292 2001-07-09 Adam Fedor <fedor@gnu.org>
6293
6294 * configure.in: Check for pthread.h - for compiling on Darwin.
6295 * Source/GNUmakefile: Compile thr-pthread.m conditionally.
6296 * Source/thr-pthread.m: New file.
6297
6298 * Source/null-load.h (__objc_dynamic_get_symbol_path): New def.
6299 * Source/objc-load.m: Use NeXT load methods on Darwin.
6300
6301 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6302
6303 * Source/NSUser.m: NSSearchPathForDirectoriesInDomains() Set up
6304 default values if environment variables are missing.
6305 Use common code for getting path prefixes and search directories.
6306
6307 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6308
6309 * Source/NSData.m: readContentsOfFile() hack added to permit reading
6310 of files like those in the /proc filesystem which don't support
6311 lengths.
6312 * Source/NSString.m: ([-initWithFormat:locale:]) use dummy local
6313 variable to try to get compilation to work on alpha ... untested
6314 as I don't have an alpha system.
6315
6316 2001-07-02 Richard Frith-Macdonald <rfm@gnu.org>
6317
6318 * Source/NSString.m: Never init nocopy with null pointer - increase
6319 chance of double initialisation being detected.
6320
6321 2001-06-27 Richard Frith-Macdonald <rfm@gnu.org>
6322
6323 * Source/callframe.m: callframe_do_call_opts(),
6324 callframe_build_return_opts() fixed memory leaks.
6325 Performance improvements -
6326 callframe_from_info() use a single malloc to allocate memory for
6327 the entire callframe. callframe_free() use a single free()
6328 * Source/NSConnection.m: Wait only 0.1 millisecond for first try
6329 checking for events ... CPUs are getting faster.
6330 * Source/NSTimer.m: Set minimum timer to 0.1 milliseconds ...
6331
6332 2001-06-26 Adam Fedor <fedor@gnu.org>
6333
6334 * Source/NSUserDefaults.m (+userLanguages): On MingW systems, check
6335 locale for language name.
6336
6337 2001-06-26 Richard Frith-Macdonald <rfm@gnu.org>
6338
6339 * Source/NSSerializer.m: While deserializing, check strings to see
6340 if they are really unicode, and create cStrings if they are not.
6341 Minor memory usage optimisation.
6342
6343 2001-06-21 Richard Frith-Macdonald <rfm@gnu.org>
6344
6345 * Source/NSConnection.m: Change some deprecated runloop methods for
6346 standard ones.
6347 * Source/NSRunLoop.m: ([runMode:beforeDate:]) Check for task
6348 completion and send out notifications if required.
6349 * Source/NSTask.m: ([waitUntilExit]) schedule a timer so that the
6350 run loop waits rather than polling as fast as the CPU allows.
6351
6352 2001-06-20 Richard Frith-Macdonald <rfm@gnu.org>
6353
6354 * Source/NSTask.m: handleSignal() ... reset signal handler for
6355 systems that don't have BSD signal semantics.
6356 Report by jan trembulak
6357 * Source/GSString.m: getCString_c(), getCString_u() reverse logic
6358 of returning remaining range ... report by Michael Scheibler
6359
6360 2001-06-15 Adam Fedor <fedor@gnu.org>
6361
6362 * Version: 1.0.2
6363
6364 2001-06-15 Richard Frith-Macdonald <rfm@gnu.org>
6365
6366 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6367 Check for illegal paths as specified in the MacOS-X documentation.
6368 * Source/Makefile.postamble: Update to rebuild files for XML and SSL
6369 support when config.h changes.
6370
6371 2001-06-14 Richard Frith-Macdonald <rfm@gnu.org>
6372
6373 * Source/NSuserDefaults.m: Fix +resetUserDefaults to retain the
6374 NSRegistrationDomain information ... was losing it when this method
6375 was called in response to the user name being initially set.
6376 ([-registerDefaults:]) fix for when no dictionary found.
6377 Use NSLanguages rather than Languages as key for the languages list.
6378 * Source/NSUser.m: GSSetUserName() ... only reset the user defaults
6379 if the name is actually changed - and not if it is being initialised.
6380 When standardUserDefaults are first obtained, the user name should be
6381 initialised as part of that process anyway.
6382 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6383 Fix this method so it *doesn't* follow symbolic links.
6384 This makes it conform to the documentation and prevents
6385 accidental removal of entire directory hierarchies!
6386
6387 Wed Jun 13 19:43:16 2001 Nicola Pero <n.pero@mi.flashnet.it>
6388
6389 * Source/NSFileManager.m
6390 ([-createSymbolicLinkAtPath:pathContent:]): Fixed - the call to
6391 symlink was using old path instead of new path and viceversa.
6392
6393 2001-06-12 Adam Fedor <fedor@gnu.org>
6394
6395 * Documentation/news.texi: Update
6396
6397 * Documentation/gsdoc/NSArray.gsdoc: Updates (from
6398 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>).
6399
6400 2001-06-11 Adam Fedor <fedor@gnu.org>
6401
6402 * configure.in (enable-openssl): New option, disabled by default.
6403 * Documentation/install.texi: document it.
6404
6405 2001-06-09 Adam Fedor <fedor@gnu.org>
6406
6407 * Source/externs.m: Change definition of exception strings and some
6408 functions to match headers.
6409
6410 2001-06-09 Richard Frith-Macdonald <rfm@gnu.org>
6411
6412 * Source/NSString.m: parseQuotedString() ... fix for parsing octal
6413 and hex escape sequences.
6414
6415 2001-06-09 Nicola Pero <n.pero@mi.flashnet.it>
6416
6417 * configure.in (VERSION): Output a message saying that we are
6418 checking for the version, and which version we find.
6419
6420 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6421
6422 * Source/NSConnection.m: Control caching of port coders by a simple
6423 boolean, and disable it by default.
6424
6425 2001-06-07 Adam Fedor <fedor@gnu.org>
6426
6427 * aclocal.m4: Add special case for cygwin in CON_AUTOLOAD.
6428
6429 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6430
6431 * Source/GSAttributedString.m: When caching attribute dictionaries
6432 we make an immutable copy of the dictionary with shallow copy.
6433
6434 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6435
6436 Configuration part of constant string support with gcc-3.0
6437 * config/config.constant-string-class.m: New config test.
6438 * configure.in: Added test for -fconstant-string-class option in
6439 compiler, by compiling and running config.constant-string-class.m.
6440 Output different NX_CONST_STRING_CLASS and
6441 NX_CONST_STRING_CPPFLAGS depending on results of this test.
6442 * base.make.in (CONFIG_SYSTEM_INCL): Added
6443 NX_CONST_STRING_CPPFLAGS.
6444 * Headers/gnustep/base/GSConfig.h.in: Renamed NXCONST to
6445 NX_CONST_STRING_CLASS.
6446 * configure: Updated.
6447
6448 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6449
6450 * Source/NSScanner.m: ([scanHexInt:]) fix for scanning number
6451 consisting just of a zero. Reported by Tom Koelman
6452
6453 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6454
6455 Changes for constant string support with gcc-3.0
6456 * configure.in: Just substitute NXCONST
6457 * Headers/gnustep/base/GSConfig.h.in: Use NXCONST to redefine
6458 NXConstantString
6459 * Headers/gnustep/base/NSString.h: new constantStringClass method.
6460 * Source/GSString.m: new constantStringClass method.
6461 * Source/NSObject.m: Use NSConstantStringClass.
6462 * Source/NSScanner.m: Use NSConstantStringClass.
6463 * Source/NSString.m: implement constantStringClass method.
6464
6465 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6466
6467 * Source/mframe.m: Reactivated inling nested functions after
6468 gcc 3.0 was fixed to compile them again.
6469
6470 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6471
6472 * GNUmakefile: If GNUSTEP_MAKEFILES is not set, tell the user it
6473 needs to source GNUstep.sh and then exit with an error.
6474
6475 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6476
6477 * Source/mframe.m: Disabled inlining of nested functions. This
6478 should allow gnustep-base to be compiled using gcc 3.0.
6479
6480 2001-06-05 Richard Frith-Macdonald <rfm@gnu.uk>
6481
6482 * Source/GSString.m: ([replaceCharactersInRange:withString:])
6483 Fix error appending unicode string to C string.
6484
6485 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6486
6487 * Source/NSString.m: Patch by David Relson applied
6488
6489 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6490
6491 Optimisations suggested by Guenther Fuerthaller
6492 * Source/NSZone.m: NSZonefromPointer() check for empty zones
6493 list before locking.
6494 * Source/NSData.m: more efficient dealloc implementation for
6495 NSMutableDataMalloc.
6496
6497 2001-06-01 Nicola Pero <nicola@brainstorm.co.uk>
6498
6499 * Source/NSCalendarDate.m
6500 ([-descriptionWithCalendarFormat:locale:]): Fixed %w (day of the
6501 week) to output a single digit number rather than a two digit one.
6502
6503 2001-05-31 Adam Fedor <fedor@gnu.org>
6504
6505 * Headers/gnustep/base/NSObjCRuntime.h (GSLastErrorStr): Define new
6506 OS-independant strerror like function.
6507 * Source/GSFormat.m: Use it.
6508 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDistributedLock.m,
6509 Source/NSFileManager.m, Source/NSPipe.m, Source/NSRunLoop.m,
6510 Source/NSTask.m, Source/UnixFileHandle.m, Source/WindowsFileHandle.m:
6511 Likewise.
6512 * Source/NSObjCRuntime.m (GSLastErrorStr): New function
6513 (suggestion from "Michael Scheibler" <michael.scheibler@onevision.de>).
6514
6515 * Headers/gnustep/base/behavior.h: Include objc-class.h on
6516 NeXT_RUNTIME.
6517 * Headers/gnustep/base/objc-gnu2next.h: New inline functions.
6518 * Source/NSDistantObject.m (-selectorTypeForProxy): Simplify
6519 NeXT_RUNTIME implementation.
6520
6521 2001-05-29 Adam Fedor <fedor@gnu.org>
6522
6523 * Version: 1.0.1
6524
6525 * Resources/Languages/Dutch: New file (from Dennis Leeuw
6526 <dleeuw@made-it.com>).
6527
6528 2001-05-28 Adam Fedor <fedor@gnu.org>
6529
6530 * Headers/gnustep/base/objc-gnu2next.h (class_is_class): New.
6531 * Source/NSAssertionHandler.m (-handleFailureInMethod...): Use
6532 OpenStep functions to get class/sel names.
6533 * Source/NSBundle.m (+initialize): NeXT_RUNTIME method to find
6534 classes.
6535
6536 2001-05-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6537
6538 * Source/NSDebug.m (_NSPrintForDebugger): new function to support print
6539 object (po) cmd of gdb.
6540
6541 2001-05-25 Adam Fedor <fedor@gnu.org>
6542
6543 * configure.in: Use -lobjc with NeXT_RUNTIME.
6544 * Headers/gnustep/base/behavior.h: Include objc.h on NeXT_RUNTIME.
6545
6546 * Source/GSFormat.m: Replace assert with NSCParameterAssert
6547
6548 2001-05-23 Adam Fedor <fedor@gnu.org>
6549
6550 * configure.in: Check for libgiconv
6551 * Unicode.m: Include giconv.h if available.
6552
6553 2001-05-22 Adam Fedor <fedor@gnu.org>
6554
6555 * configure.in: Check CPP handling of LONG_LONG_MAX
6556 * Source/GSFormat.m: Undef LONG_LONG_MAX if not handled
6557
6558 * Source/GSeq.h: Set static selectors to NULL.
6559 * Source/NSString.m (+initialize): Set selectors here instead.
6560 * Source/GSString.m (setup): ...And here.
6561
6562 2001-05-22 Richard Frith-Macdonald <rfm@gnu.org>
6563 * Headers/Foundation/NSSet.h: Added ([-setSet:])
6564 * Source/GSSet.m: Optimise ([-unionSet:])
6565 * Source/GSArray.m: Tidy NSWarnMLog macros.
6566 * Source/GSAttributedString.m: ditto
6567 * Source/GSCountedSet.m: ditto
6568 * Source/GSDictionary.m: ditto
6569 * Source/NSArray.m: ditto
6570 * Source/NSDictionary.m: ditto
6571 * Source/NSSet.m: Implement ([-setSet:])
6572
6573 2001-05-18 Richard Frith-Macdonald <rfm@gnu.org>
6574
6575 * Source/NSDate.m: check for nil dates in some init methods so
6576 we return nil on initialisation failure rather than raising an
6577 exception. I believe that init failures should deallocate their
6578 objects and return nil.
6579 * Source/NSArray.m: ([-initWithContentsOfFile:]) include filename in
6580 NSWarnMLog() message.
6581 * Source/NSDictionary.m: ([-initWithContentsOfFile:]) use NSWarnMLog
6582
6583 2001-05-14 Adam Fedor <fedor@gnu.org>
6584
6585 * Headers/gnustep/base/objc-gnu2next.h: Add apply_t prototype.
6586 * Source/objc-gnu2next.m: Include stdio.h.
6587 * Source/GSFormat.m: Don't compare LONG_LONG_MAX if not defined
6588
6589 2001-05-15 Richard Frith-Macdonald <rfm@gnu.org>
6590
6591 * Source/NSString.m: ([stringByDeletingPathExtension]) rewrite to
6592 conform to MacOS-X documentation.
6593 ([pathComponents]) ditto.
6594 * Headers/Foundation/NSInvocation.h: Added extra methods for
6595 setting an invocation to invoke super implementation of method.
6596 * Source/NSInvocation.m: Added extra methods for
6597 setting an invocation to invoke super implementation of method.
6598 * Source/GSFFCallInvocation.m: support invoke of super implementation.
6599
6600 2001-05-14 Adam Fedor <fedor@gnu.org>
6601
6602 * Headers/gnustep/base/objc-gnu2next.h: Add error prototypes.
6603 * Source/objc-gnu2next.m: Include preface.h, define error funcs.
6604
6605 2001-05-12 Richard Frith-Macdonald <rfm@gnu.org>
6606
6607 * Source/NSObject.m: Removed some unused obsolete code.
6608 * Source/NSProxy.m: Modified ([methodSignatureForSelector:]) and
6609 ([respondsToSelector:]) to work for existing methods and raise
6610 exception for non-existant methods. The MacOS-X docs says they raise
6611 exceptions, but I think it makes sense for them to work for methods
6612 that are actually implemented in the proxy.
6613
6614 2001-05-11 Adam Fedor <fedor@gnu.org>
6615
6616 * Source/NSArchiver.m ([NSArchiver -encodeValueOfObjCType:at:]): Use
6617 signed char to encode _C_CHR.
6618 * Source/NSPortCoder.m ([NSPortCoder -decodeValueOfObjCType:at:]):
6619 Be lenient about decoding [un]signed chars.
6620 * Source/NSUnarchiver.m: Likewise.
6621 * Source/GSTemplateValue.m (-encodeWithCoder:): Use signed char to
6622 encode/decode type info.
6623 * Source/GSValue.m: Likewise.
6624 * Source/NSConcreteNumber.m: Likewise.
6625 * Source/NSNumber.m: Likewise.
6626 * Source/NSValue.m: Likewise.
6627
6628 2001-05-10 Richard Frith-Macdonald <rfm@gnu.org>
6629
6630 * Source/NSConnection.m: Use respondsToSelector rather than respondsTo
6631 * Source/NSRunLoop.m: ditto ... and tidy up categories to avoid
6632 compiler warnings.
6633 * Source/NSAutoreleasePool.m: Add ([+freeCache]) method to clear out
6634 the cache of pools in the current thread.
6635 * Documentation/gsdoc/NSAutoreleasePool.gsdoc: basic class
6636 documentation inlcuding normal GNUstep extensions.
6637
6638 2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
6639
6640 * Tools/gdomap.c: Fixes to last modifications - provided by
6641 Chris B Vetter.
6642 * Source/NSString.m: Fix memory allocation of a unichar buffer to
6643 correct size.
6644 * Source/NSPipe.m: Log an error if we can't open a new pipe.
6645 * Source/NSTask.m: Slight tidyup
6646
6647 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6648
6649 * Source/NSObject.m (GSGetValue): Call handleQueryWithUnboundKey:
6650 rather than handleTakeValue:forUnboundKey: when no property
6651 binding is found.
6652
6653 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6654
6655 * configure.in: Abort if GNUSTEP_SYSTEM_ROOT is empty, printing a
6656 message saying that you must run the GNUstep configuration script
6657 before configuring the base library.
6658 * configure: Regenerated.
6659
6660 2001-05-04 Adam Fedor <fedor@gnu.org>
6661
6662 * Headers/gnustep/base/objc-gnu2next.h: Add arglist_h def. Add
6663 encoding functions defs.
6664 * Source/mframe.m: Include stdio and ctype.
6665 * Source/mframe/mframe.foot (mframe_arg_addr): Use marg_getRef if
6666 NeXT_RUNTIME.
6667
6668 2001-05-04 Richard Frith-Macdonald <rfm@gnu.org>
6669
6670 * Source/NSDate.m: GSTimeNow() remove volatile typespec and move
6671 initialisation of interval in the hope of fixing a problem with
6672 float operations. In any case, the code is tidier.
6673 * Tools/gdomap.c: If started as root, try to become user nobody
6674 before resorting to uid -2 (like NFS).
6675
6676 2001-05-03 Adam Fedor <fedor@gnu.org>
6677
6678 * configure.in: Don't use -lobjc with NeXT_RUNTIME. Check for -lm.
6679
6680 * Headers/gnustep/base/objc-gnu2next.h: Add sel_register_name
6681 * Source/behavior.m: Add define hacks for Darwin.
6682
6683 2001-05-03 Richard Frith-Macdonald <rfm@gnu.org>
6684
6685 * Source/NSObject: ([+initialize]) Move GSSetLocale() after platform
6686 specific code with conditionally compiled variable declarations.
6687 Should make this work on BSD and MINGW again.
6688
6689 2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6690
6691 * Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
6692 code bug introduced by the call of GSSetLocaleC().
6693
6694 Wed May 2 13:19:13 2001 Nicola Pero <nicola@brainstorm.co.uk>
6695
6696 * Source/UnixFileHandle.m (id): Redefine `id' when including
6697 openssl header files to avoid syntax errors from 3.x serie gcc
6698 compilers.
6699
6700 2001-05-02 Richard Frith-Macdonald <rfm@gnu.org>
6701
6702 * Source/NSTimeZone: ([-initWithName:]) fix for trivial locking bug.
6703
6704 2001-04-30 Adam Fedor <fedor@gnu.org>
6705
6706 * Source/behavior.m: Rewrite to work with NeXT runtime.
6707 * Headers/gnustep/base/objc-gnu2next.h: Add some extra translations.
6708
6709 2001-04-30 Richard Frith-Macdonald <rfm@gnu.org>
6710
6711 * Source/NSString.m: parseQuotedString() handle \U escape sequences
6712 of eight digit hex encoded unicode values.
6713 ([descriptionWithLocale:indent:to@]) handle unicode strings by using
6714 \U escape sequences in output C string.
6715
6716 2001-04-28 Fred Kiefer <FredKiefer@gmx.de>
6717
6718 * Source/NSString.m:
6719 Corrected bug in last optimization for the parsing of property
6720 list. Now the bitmap representation is retained not the
6721 characterset itself. This did cause undeterministic problems when
6722 reading in the Info.plist.
6723
6724 2001-04-28 Richard Frith-Macdonald <rfm@gnu.org>
6725
6726 * Source/NSLog.m: Use RETAIN/RELEASE
6727 * Source/GSLocale.m: Set up NSDecimalSeparator and NSThousandsSeparator
6728 from locale if possible. Fix bug dereferencing nil pointer.
6729 * Source/GSFormat.m: Hack to rewrite output from sprintf of floats and
6730 doubles to use the value in NSDecimalSeparator.
6731
6732 2001-04-27 Nicola Pero <n.pero@mi.flashnet.it>
6733
6734 * Source/NSString.m: Minor optimization for parsing property
6735 lists: cache the bitmap representation of hexdigit, quotable and
6736 whitespace character sets, and use it directly to determine
6737 whether a character is member or not of these sets.
6738
6739 2001-04-26 Richard Frith-Macdonald <rfm@gnu.org>
6740
6741 * Source/NSString.m: ([+initialize]) protect with flag so it is safe
6742 to call this method more than once.
6743 * Source/externs.m: GSBuildStrings() call +initialize method for
6744 NSString to ensure that the class is properly initialised even if
6745 this function has been called from NSObjects +initialize, which was
6746 in turn called in preparation for NSString initialisation!
6747
6748 2001-04-25 Adam Fedor <fedor@gnu.org>
6749
6750 * configure.in: Much simplified NeXT checks. Just use LIBRARY_COMBO
6751 to check runtime.
6752 * Source/o_vscanf.c: Remove objc-gnu2next.h
6753
6754 2001-04-25 Richard Frith-Macdonald <rfm@gnu.org>
6755
6756 * Headers/Foundation/GSXML.h: Many changes to restore encapsulation
6757 of libxml previously broken by someone... Partly as a matter of
6758 good OO programming practice, partly so that the library can be
6759 used effectively from Java (via JIGS).
6760 Moved libxml header includes out of this file.
6761 Removed typedefs for libxml constants and changed 'type' methods
6762 to return 'int'.
6763 Added class methods for mapping between integer type values
6764 and constant string type values.
6765 Added a typeDescription method to GSXMLAttribute for consistency.
6766 * Source/GSXML.m: include required headers and update to implement
6767 changes in API. Also fixed bug in implementation of typeDescription
6768 method for GSXMLNamespace.
6769 * Documentation/gsdoc/GSXMLNode.gsdoc: Updated to reflect current API
6770 * Documentation/gsdoc/GSXMLNamespace.gsdoc: ditto
6771 * Documentation/gsdoc/GSXMLAttribute.gsdoc: ditto
6772
6773 2001-04-25 Nicola Pero <nicola@brainstorm.co.uk>
6774
6775 * base.make.in: (GNUSTEP_BASE_VERSION),
6776 (GNUSTEP_BASE_MAJOR_VERSION), (GNUSTEP_BASE_MINOR_VERSION),
6777 (GNUSTEP_BASE_SUBMINOR_VERSION): New variables providing the
6778 gnustep-base version.
6779
6780 2001-04-24 Adam Fedor <fedor@gnu.org>
6781
6782 * Headers/gnustep/base/objc-gnu2next.h: Remove TypedStream defs
6783
6784 2001-04-24 Richard Frith-Macdonald <rfm@gnu.org>
6785
6786 * Source/NSObject.m: Fixes for string capitalisation in
6787 key-value methods.
6788
6789 2001-04-23 Adam Fedor <fedor@gnu.org>
6790
6791 * configure.in: Simplify NeXT checks.
6792 * Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
6793 * Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
6794 * Source/o_vscanf.c: include objc-gnu2next.h
6795 * Source/NSConnection.m: Fix test for NeXT_RUNTIME define.
6796 * Source/NSDistantObject.m: Likewise.
6797 * Source/callframe.m: Likewise.
6798 * Source/cifframe.m: Likewise.
6799 * Source/mframe.m: Likewise.
6800
6801 2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
6802
6803 * Testing/benchmark.m (bench_object): Use a choice of the 10 more
6804 used classes when benchmarking class method invocation, rather
6805 than always using `NSObject'. Added bench for NSClassFromString.
6806
6807 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6808
6809 * Source/GSValue.m ([-getValue:]): Fixed typo - was raising
6810 exception on non-NULL buffer rather than NULL.
6811
6812 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6813
6814 * Source/NSBundle.m ([+initialize]): Fixed segmentation fault when
6815 NSSearchPathForDirectoriesInDomains returns an empty array. This
6816 used to appear when GNUSTEP_SYSTEM_ROOT was unset.
6817 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Read
6818 GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT and
6819 GNUSTEP_USER_ROOT only once, then cache them. Do not crash if
6820 some of them are nil. If GNUSTEP_SYSTEM_ROOT is nil, fprintf a
6821 log message, and try using /usr/GNUstep/System. Use new ADD_PATH
6822 macro to simplify code. Autorelease returned array which was
6823 previously leaked.
6824
6825 2001-04-22 Georg Fleischmann
6826
6827 * Source/GSAttributedString.m:
6828 ([replaceCharactersInRange:withString:])
6829 recalculate effective range after removing attributes.
6830
6831 2001-04-23 Richard Frith-Macdonald <rfm@gnu.org>
6832
6833 * Source/GSLocale.m: Only call setlocale() in GSSetLocaleC()
6834 * Source/NSObject.m: ([+initialize]) call GSSetLocaleC() after other
6835 initialisation, to try to ensure that locale stuff is set up early
6836 before any attempt is made to use locale dependent code.
6837 * Source/NSString.m: ([-stringByExpandingTildeInPath:]) fix suggested
6838 by David Wetzel.
6839 * Source/GSValue.m: Fix abort when initialising value with illegal
6840 type. Also fix all other uses of objc_sizeof_type(), add some checks
6841 to conform to documentation, and some optimisations.
6842
6843 2001-04-22 Nicola Pero <n.pero@mi.flashnet.it>
6844
6845 * Testing/benchmark.m: Modified messages to give a better idea of
6846 the order of magnitudes involved; added benchmarks for
6847 retain/release, autorelease/retain and locking/unlocking.
6848
6849 2001-04-21 Nicola Pero <n.pero@mi.flashnet.it>
6850
6851 * Source/NSString.m ([-fileSystemRepresentation]): Cache the
6852 default file manager.
6853
6854 2001-04-21 Richard Frith-Macdonald <rfm@gnu.org>
6855
6856 * config/config.proccmd.c: New test for behavior of /proc cmdline
6857 * acconfig.h: New CMDLINE_TERMINATED constant
6858 * configure.in: Use test to set CMDLINE_TERMINATED
6859 * configure: regenerated
6860 * Headers/Foundation/config.h.in: regenerated
6861 * Source/NSProcessInfo.m : ([+load]) modified to use CMDLINE_TERMINATED
6862 to decide how to use /proc/$$/cmdline when determining process args.
6863 Should now work 100% on all linux versions I hope.
6864
6865 2001-04-20 Richard Frith-Macdonald <rfm@gnu.org>
6866
6867 * Source/NSData.m ([NSMutableDataMalloc
6868 -replaceBytesInRange:withBytes:]): Check length, not capacity!
6869 Conform to documentation, and avoid possibility of 'hole' in data.
6870 * Source/NSInvocation.m: _get_arg() indirection fix suggested by
6871 Michael Scheibler.
6872
6873 2001-04-20 Nicola Pero <n.pero@mi.flashnet.it>
6874
6875 * Source/NSFileManager.m (NSDirectoryEnumerator): Rewritten to be
6876 faster. ([NSFileManager -directoryContentsAtPath:]),
6877 ([NSFileManager -subpathsAtPath:]): Use the new init method for
6878 NSDirectoryEnumerator. ([NSFileManager
6879 -contentsEqualAtPath:andPath:]): Spare some method calls.
6880 ([NSFileManager -fileSystemRepresentationWithPath:]): Cleaned
6881 preprocessor directives.
6882 * Headers/gnustep/base/NSFileManager.h (NSDirectoryEnumerator):
6883 Changed ivars in sync.
6884
6885 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6886
6887 * Documentation/gsdoc/NSFunctions.gsdoc: Documented
6888 GSDebugAllocation* functions.
6889 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Fixed syntax error.
6890 * Documentation/gsdoc/*.html: Regenerated.
6891
6892 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6893
6894 To help with debugging memory leaks, you can now ask to the
6895 library to track all allocated instances of a certain class.
6896 * Source/NSDebug.m (table_entry): Added fields to allow recording
6897 the list of allocated instances if required.
6898 (GSDebugAllocationActiveRecordingObjects): New function.
6899 (GSDebugAllocationAdd): Modified to take an additional argument -
6900 the object being allocated -, and to record it in the list of
6901 instances for the class if recording instances of that class has
6902 been activated.
6903 (GSDebugAllocationRemote): Add a similar additional argument;
6904 remove the object from the list of instances if recording
6905 instances is activated.
6906 (GSDebugAllocationListRecordedObjects): New function.
6907 * Source/NSObject.m: Updated all occurrences of
6908 GSDebugAllocationAdd and GSDebugAllocationRemove to pass the
6909 allocated/removed object as well.
6910 * Headers/gnustep/base/NSDebug.h: Updated.
6911
6912 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6913
6914 * Source/GSTcpPort.m ([GSTcpPort -dealloc]): Fixed memory leak:
6915 release address string.
6916
6917 2001-04-19 Richard Frith-Macdonald <rfm@gnu.org>
6918
6919 * Source/NSTask.m: Tidied code a little, added safety checks for
6920 usePseudoTerminal method.
6921 * Source/NSData.m: ([writeToFile:atomically:]) create new files
6922 with permission 0644 modified by umask.
6923 Init tmppath for MINGW.
6924 * Tools/gsdoc.m: Use memory management macros and attempt to get
6925 back to something like conformance with coding standards.
6926 * Documentation/gsdoc/NSTask.gsdoc: documentation fleshed out.
6927
6928 2001-04-16 Adam Fedor <fedor@gnu.org>
6929
6930 * aclocal.m4: Detect the xm2-config script.
6931
6932 2001-04-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6933
6934 * configure.in: fixed fake main for 'new' FreeBSD targets.
6935
6936 2001-04-13 Adam Fedor <fedor@gnu.org>
6937
6938 * Source/GSFFCallInvocation.m (GSInvocationCallback): Generate
6939 an exception for an invalid selector.
6940
6941 2001-04-12 Adam Fedor <fedor@gnu.org>
6942
6943 * Headers/gnustep/base/NSObjCRuntime: Revert to using class_pointer.
6944 * Headers/gnustep/base/objc-gnu2next.h: Redefine class_pointer.
6945
6946 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6947
6948 * Source/NSProcessInfo.m ([load]): Fixed single line change somehow
6949 missed from last patch.
6950
6951 2001-04-12 Adam Fedor <fedor@gnu.org>
6952
6953 * Headers/gnustep/base/NSLock.h: Include thrmach.h if NeXT_RUNTIME.
6954 * Headers/gnustep/base/NSThread.h: Likewise.
6955 * Headers/gnustep/base/NSObjCRuntime: Include objc-gnu2next.h if
6956 NeXT_RUNTIME, use common objc functions for compatibility.
6957 * Headers/gnustep/base/objc-gnu2next.h: Update, simplify.
6958 * Headers/gnustep/base/thr-mach.h: New file
6959 * Source/thr-mach.m: New file
6960 * Source/GNUmakefile: Update to conditionally compile NeXT files
6961
6962 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Update.
6963
6964 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6965
6966 * Source/NSString.m: For efficiency, use _DefaultStringEncoding
6967 throughout, rather than calling +defaultCStringEncoding. This is
6968 safe since the documentation explicitly states that the encoding
6969 cannot be changed programmatically ... so we don't have to worry
6970 about someone adding a category to change that.
6971 When converting data to/from strings, optimise to simple cString
6972 stuff if the specified encoding is the defautl encoding.
6973 Tidied some stuff to conform better to coding standards.
6974 * Source/Unicode.m GetDefEncoding(): prohibit UTF8 from being the
6975 default cString encoding ... the default cString encoding must
6976 consist of 7 or 8 bit characters, and must contain ASCII as a
6977 subset. We really should think of a generalised test for that.
6978 Use GetDefEncoding() throughout rather than defaultCStringEncoding.
6979 * Source/GSString.m: Use GetDefEncoding() to get c string encoding.
6980
6981 2001-04-11 Nicola Pero <nicola@brainstorm.co.uk>
6982
6983 * Source/NSString.m ([-initWithData:encoding:]): When working with
6984 a generic but non-unicode encoding, do not treat a single
6985 character string with no null terminator as an empty string. This
6986 should fix passing single character strings over DO.
6987 * Source/NSThread.m ([+registerCurrentThread]),
6988 ([+unregisterCurrentThread]): Removed.
6989
6990 2001-04-11 Richard Frith-Macdonald <rfm@gnu.org>
6991
6992 * Source/GSFFCallInvocation.m: bugfix encoding ... pass correct
6993 method type information so that the other end knows whether this
6994 is a oneway message or not. Corrects major memory leak.
6995 * Source/NSConnection.m: bugfix to handle situations where the
6996 other end sends a response and we are not expecting it. Also
6997 added various bits of debugging and ensured that all NSPortCoder
6998 objects are cached.
6999
7000 2001-04-10 Adam Fedor <fedor@gnu.org>
7001
7002 * Headers/gnustep/base/preface.h.in: Correct NeXT_RUNTIME name
7003
7004 * Documentation/gsdoc/NSLock.h: Documented.
7005
7006 2001-04-10 Richard Frith-Macdonald <rfm@gnu.org>
7007
7008 * Source/NSTask.m: Bugfix to send out task termination notification
7009 and clean up correctly when a task is killed by a signal rather than
7010 exiting cleanly.
7011
7012 2001-04-09 Adam Fedor <fedor@gnu.org>
7013
7014 * 1.0 branch merged into main.
7015
7016 2001-04-06 Nicola Pero <n.pero@mi.flashnet.it>
7017
7018 * Source/NSString.m (pathSepMember): Made trivial and inlined.
7019 ([-stringsByAppendingPaths:]): Count the array only once, not for
7020 any loop in the cycle.
7021
7022 2001-04-05 Richard Frith-Macdonald <rfm@gnu.org>
7023
7024 * Source/NSUser.m: NSTemporaryDirectory() rewrite for improved
7025 security and reliability. Expect MINGW update soon.
7026
7027 2001-04-02 Richard Frith-Macdonald <rfm@gnu.org>
7028
7029 * Source/NSUser.m: Tidied some stuff to conform to coding standards.
7030 Added FIXME where unsure of code. Tidied code to get name of user.
7031 * configure.in: Added checks for a few functions needed to get user.
7032
7033 2001-03-37 Jonathan Gapen <jagapen@home.com>
7034
7035 * Source/NSString.m: New private function to compute the scalar value
7036 of a high-low surrogate pair. New surrogate range class variables.
7037 Optimize ([-hasPrefix]) and ([-hasSuffix]) by using NSAnchoredSearch.
7038 Add UTF-8 code to ([-dataUsingEncoding:allowLossyConversion:]).
7039
7040 2001-03-26 Jonathan Gapen <jagapen@home.com>
7041
7042 * Source/Makefile.preamble: No need to define HAVE_LIBXML here.
7043 * Source/NSBundle.m: ([+initialize]) and ([+pathForGNUstepResource:
7044 ofType:inDirectory:]) now use NSSearchPathForDirectoriesInDomains()
7045 to find directories, rather than use env vars directly.
7046 * Source/NSCharacterSet.m: Ditto for ([_-bitmapForSet:]).
7047 * Source/NSDictionary.m: Make NSLog() include the filename
7048 in ([-initWithContentsOfFile:]).
7049 * Source/NSUser.m: Re-implement NSStandardApplicationPaths() and
7050 NSStandardLibraryPaths() with NSSearchPathsForDirectoriesInDomains().
7051 In latter function, support $GNUSTEP_SYSTEM_ROOT/Developer/Demos.
7052
7053 2001-03-21 Jonathan Gapen <jagapen@home.com>
7054
7055 * config/nextcc.m4, config/objc-con-autoload.m4, config/procfs.m4,
7056 config/objc-sys-dynamic.m4, config/procfs-exe-link.m4: Autoconf
7057 macros used by configure.in.
7058
7059 2001-04-08 Adam Fedor <fedor@gnu.org>
7060
7061 * Version: 1.0.0
7062 * NEWS: Regenerated.
7063
7064 * Source/NSLock.m (-tryLock): Return NO if our thread has
7065 already has the lock (like OpenStep).
7066 (-lockBeforeDate:): block until date if our thread already has
7067 the lock (like OpenStep).
7068
7069 * Source/NSData.m ([NSMutableDataMalloc
7070 -replaceBytesInRange:withBytes:]): Check capacity, not length.
7071
7072 2001-04-04 Adam Fedor <fedor@gnu.org>
7073
7074 * config.guess: Update to latest version
7075 * config.sub: Likewise.
7076
7077 2001-04-01 2001 Nicola Pero <n.pero@mi.flashnet.it>
7078
7079 * Source/GSValue.m ([-description]): Bug fix - was crashing upon
7080 using %@ instead of %s for a char *.
7081
7082 2001-03-31 Adam Fedor <fedor@gnu.org>
7083
7084 * Documentation/announce.texi: Update.
7085 * Documentation/install.texi: Likewise.
7086
7087 * Testing/Makefile.preamble: Set BUNDLE_LIBS on mingw and cygwin.
7088 * Testing/nsbundle.m: add NSProcessInfo's initializeWithArguments:...
7089
7090 2001-03-28 Richard Frith-Macdonald <rfm@gnu.org>
7091
7092 * Source/NSProcessInfo.m: ([+load]) Fix in parsing of command line
7093 arguments from /proc filesystem. On newer kernels the command line
7094 arguments are terminated by a nul, on older systems they are separated
7095 by a nul. The old code would add an extra (empty) argument to all
7096 processes on newer kernels. The new code will lose a trailing empty
7097 argument on older kernels :-( I view it as the lesser of two evils
7098 since the extra empty arg confuses/breaks a lot of tools.
7099
7100 2001-03-27 Richard Frith-Macdonald <rfm@gnu.org>
7101
7102 * Source/NSFileManager.m: Fix file copying for MINGW by using
7103 windows native copy function - fix by Michael Scheibler.
7104 Also tidied to conform to coding standards, and fixed to use
7105 O_BINARY where the system defines it.
7106
7107 2001-03-26 Richard Frith-Macdonald <rfm@gnu.org>
7108
7109 * Headers/Foundation/NSObject.h: GS_EXPORT updates for MINGW
7110 * Headers/Foundation/NSObCRuntime.h: ditto
7111 * Headers/Foundation/NSRange.h: ditto
7112 * Source/NSRange.m: ditto
7113 Fixes suggested by Michael Scheibler
7114
7115 2001-03-24 Richard Frith-Macdonald <rfm@gnu.org>
7116
7117 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7118 revert to check using '>' rather than '>=' to conform to documentation
7119 and to be consistent with use of ranges in general.
7120 * Documentation/gsdoc/NSMutableData.gsdoc: documented primitive methods.
7121 * Documentation/gsdoc/NSFunctions.gsdoc: Some documentation for NSRange
7122 added.
7123
7124 2001-03-23 Adam Fedor <fedor@gnu.org>
7125
7126 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) Check location
7127 >= size.
7128
7129 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7130
7131 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7132 extend data if range has location in data, but extent beyond data.
7133
7134 2001-03-23 Adam Fedor <fedor@gnu.org>
7135
7136 * Source/NSSerializer.m (serializeToInfo): Use memcpy to serialize
7137 strings on machines that need word alignment.
7138 * Source/NSTimeZone.m (decode): For decoding, likewise.
7139
7140 * Testing/thread-except.m: Use autorelease pools.
7141
7142 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7143
7144 * Source/NSFileManager.m: MINGW fixes by Michael Scheibler.
7145 ([_attributesAtPath:traverseLink:forCopy:]) fix 'cos windows lacks
7146 symbolic links. ([-changeFileAttributes:atPath:]) workaround for
7147 windows directories not having modification times.
7148 ([-fileSystemAttributesAtPath:]) fix for large volumes (matching
7149 change for unix too ... use unsigned long long).
7150
7151 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7152
7153 * Source/NSObject.m: ([-methodSignatureForSelector:]) try to get a
7154 valid method signature any way we can ... check for a valid method
7155 first, use selector types next. Avoid crash when given nul selector
7156 as an argument.
7157 * Source/NSMethodSignature.m: ([+signatureWithObjCTypes:]) don't
7158 crash when given nul pointer as argument.
7159
7160 2001-03-19 Jonathan Gapen <jagapen@home.com>
7161
7162 * Source/NSString.m: Implement ([-localizedStringWithFormat:]).
7163 Fix ([-localizedCompare:]) and ([-localizedCaseInsensitiveCompare:]).
7164 (They will work when ([-compare:options:range:locale:]) works.)
7165 Fix ([-initWithContentsOfFile:]) and ([-initWithContentsOfURL:]) so
7166 that they deal with 1 byte of data, and clarify Unicode BOM test with
7167 new class variables byteOrderMark and byteOrderMarkSwapped.
7168 In ([-initWithData:encoding:]) and ([-initWithCoder:]), don't treat
7169 the default C string encoding the same as ASCII. GCC 3.0 supports
7170 UTF-8 as a C string encoding, so this behavior is undesirable.
7171
7172 2001-03-19 Jonathan Gapen <jagapen@home.com>
7173
7174 * Source/NSAutoreleasePool.m, Source/NSCharacterSet.m,
7175 Source/NSHashTable.m, Source/NSMapTable.m, Source/NSZone.m:
7176 Update from %s/([-cString]) to %@ for format strings.
7177 * Source/NSDecimal.m: In GSDecimalFromString(), use ([-lossyCString])
7178 instead of ([-cString]) which should (in the future) always return
7179 ASCII-range decimal digits in place of digits from other languages.
7180
7181 2001-03-19 Nicola Pero <nicola@brainstorm.co.uk>
7182
7183 * Source/NSThread.m: registerCurrentThread and
7184 unregisterCurrentThread turned into functions - called
7185 GSRegisterCurrentThread and GSUnregisterCurrentThread.
7186 * Headers/gnustep/base/NSThread.h: Updated for change.
7187
7188 * Source/NSThread.m (GSRegisterCurrentThread): Call
7189 objc_thread_add before creating the NSThread object using a method
7190 call. (GSUnregisterCurrentThread): Post the NSThreadWillExit
7191 notification.
7192
7193 2001-03-19 Jonathan Gapen <jagapen@home.com>
7194
7195 * Source/NSString.m: In ([-rangeOfComposedCharacterSequenceAtIndex:]),
7196 use the NSCharacterSet non-base character set to identify non-base
7197 characters. In ([-cStringLength]), do not allow lossy string
7198 conversion. In ([+localizedNameOfStringEncoding:]), use NSBundle's
7199 ([-gnustepBundle]) rather than looking in root path.
7200
7201 2001-03-17 Richard Frith-Macdonald <rfm@gnu.org>
7202
7203 * Headers/Foundation/NSThread.h: Remove unused ivar.
7204 * Source/NSThread.m: Revise scheme for deallocation of thread
7205 dictionary ... keep it operating to avoid problems with stuff
7206 trying to use it while deing deallocated. Log memory leaks.
7207 * Source/NSRunLoop.m: ([+currentRunLoop]) return nil if there is
7208 no thread dictionary available (shouldn't happen).
7209 * Source/NSString.m: MINGW path handling fixes by Michael Scheibler
7210 stringByAppendingPath, isAbsolurtePath, and stringByStandardizingPath.
7211
7212 2001-03-16 Nicola Pero <n.pero@mi.flashnet.it>
7213
7214 * Source/Makefile.postamble (after-install): Removed old
7215 code for creating /etc/services.add when packaging.
7216
7217 * Makefile.postamble
7218 ($(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional): New target;
7219 create the directory. (before-install): Don't create the
7220 directory, but depend on the new target.
7221 * Resources/GNUmakefile.postamble: Idem for $(languagedir).
7222 * NSCharacterSets/Makefile.postamble: Idem for $(charsetdir).
7223 * NSTimeZones/Makefile.postamble: Idem for $(timezonedir).
7224
7225 2001-03-16 Manuel Guesdon <mguesdon@orange-concept.com>
7226
7227 * Tools/pl*.m: added #include <Foundation/Foundation.h> to avoid
7228 GNUSTEP Internal Error
7229
7230 2001-03-14 Adam Fedor <fedor@gnu.org>
7231
7232 * Source/libgnustep-base.def: Remove some classes that aren't
7233 used on MinGW32.
7234
7235 2001-03-13 Adam Fedor <fedor@gnu.org>
7236
7237 * configure.in: Check and set EXEEXT needed by some tests.
7238 * aclocal.m4: Fixes for constructor test.
7239
7240 2001-03-12 Jonathan Gapen <jagapen@home.com>
7241
7242 * Headers/gnustep/base/NSString.h: Change NSCyrillicStringEncoding
7243 to NSISOCyrillicStringEncoding, and likewise for Greek, Arabic, and
7244 Hebrew, to avoid ambiguity. Add enum values for all remaining
7245 ISO-8859 character sets, plus UTF-7.
7246 * Source/GSXML.m: Update pursuant to above changes.
7247 * Source/NSString.m: Ditto.
7248 * Source/Unicode.m: Ditto.
7249
7250 2001-03-11 Adam Fedor <fedor@gnu.org>
7251
7252 * Source/NSThread.m: Remove runtime.h include since this isn't
7253 normally installed by objc, add back in extern variables.
7254
7255 2001-03-10 Adam Fedor <fedor@gnu.org>
7256
7257 * Version 0.9.2
7258 * Makefile.postamble (before-install): Remove extra '/' before
7259 GNUSTEP_MAKEFILES
7260
7261 * configure.in: Check for objc_thread_add in runtime.
7262 * Source/NSThread.m (objc_thread_add): Define only if not in runtime
7263 (objc_thread_remove): Likewise.
7264
7265 2001-03-10 Manuel Guesdon <mguesdon@orange-concept.com>
7266
7267 * GSXML.m/.h: added errer, warning and fatal error methods with
7268 line and col parameters in GSSAXHandler.
7269
7270 2001-03-08 Richard Frith-Macdonald <rfm@gnu.org>
7271
7272 * Headers/gnustep/base/NSCalendarDate.h:
7273 * Headers/gnustep/base/NSTimeZone.h: New files for MacOS-X compatibility
7274 * Headers/gnustep/base/Foundation.h: Add NSCalendarDate and NSTimeZone
7275 * Headers/gnustep/base/NSDate.h: Remove info in new files.
7276 * Source/GNUmakefile: Add new NSCalendarDate and NSTimeZone files.
7277 * Source/NSCalendarDate.m: Update for header changes.
7278 * Source/NSDate.m: ditto
7279 * Source/NSDateFormatter.m: ditto
7280 * Source/NSLog.m: ditto
7281 * Source/NSString.m: ditto
7282 * Source/NSTimeZone.m: ditto
7283
7284 2001-03-07 Adam Fedor <fedor@gnu.org>
7285
7286 * Source/NSInvocation.m (-initWithTarget:selector:): Correct copying
7287 of unhandled argument types.
7288
7289 2001-03-07 Richard Frith-Macdonald <rfm@gnu.org>
7290
7291 * Source/NSObject.m: ([methodSignatureForSelector:]) reliability
7292 fix suggested by Manuel Guesdon <ml@sbuilders.com>
7293
7294 2001-03-06 Adam Fedor <fedor@gnu.org>
7295
7296 * Source/libgnustep-base.def: Regenerate.
7297
7298 2001-03-05 Richard Frith-Macdonald <rfm@gnu.org>
7299
7300 * Source/NSUserDefaults.m: Changed ([+setUserLanguages:]) to use
7301 NSLanguages.
7302 * Documentation/gsdoc/NSUserDefaults.gsdoc: documented the
7303 ([+setUserlanguages:]) method.
7304
7305 2001-03-04 Jonathan Gapen <jagapen@home.com>
7306
7307 * Documentation/gsdoc/NSCharacterSet.gsdoc: Documented some methods.
7308 * Headers/gnustep/unicode/caseconv.h: Updated case-mapping tables.
7309 * Source/NSBitmapCharSet.m: Added sanity check to initWithBitmap:
7310 * Source/Unicode.m: Changed uni_toupper() and uni_tolower() to use
7311 direct lookup in two-level tables, rather than a linear search.
7312
7313 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7314
7315 * Source/NSBundle.m: Corrected
7316 ([-_bundleResourcePathsWithRootPath:subPath:]) to use
7317 ([NSUserDefaults +userLanguages]) to get language array again.
7318 * Documentation/gsdoc/NSUserDefaults.gsdoc: Updated and added
7319 information about +userLanguages
7320
7321 2001-03-03 Adam Fedor <fedor@gnu.org>
7322
7323 * Source/NSInvocation.m: Add missing static inline to __get_arg
7324 (patch from David Relson <relson@osagesoftware.com>).
7325
7326 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7327
7328 * Source/NSSerializer.m:
7329 * Source/NSURLHandle.m:
7330 * Source/NSUnarchiver.m:
7331 * Source/GSFormat.m:
7332 * Source/GSHTTPURLHandle.m:
7333 * Source/GSMime.m:
7334 * Source/GSString.m:
7335 * Source/NSDictionary.m:
7336 * Source/NSPortNameServer.m:
7337 Various minor changes to avoid compiler warnings.
7338 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
7339 Use CYGWIN_HOME as suggested by Michael Scheibler
7340 * Source/NSUser.m: NSHomeDirectoryForUser() fix for home path
7341 on NT by Michael Scheibler.
7342
7343 2001-03-01 Jonathan Gapen <jagapen@home.com>
7344
7345 * NSCharacterSets/whitespaceCharSet.dat,
7346 NSCharacterSets/whitespaceAndNlCharSet.dat: Add tab character.
7347
7348 2001-03-01 Nicola Pero <n.pero@mi.flashnet.it>
7349
7350 * aclocal.m4 (AC_SYS_PROCFS): Reverted last change in code to detect
7351 the /proc filesystem as it didn't work on my gnu-linux: /proc/0 does
7352 not exist, but the /proc filesystem works perfectly.
7353 * configure.in (GS_FAKE_MAIN): Fixed typo in last change which
7354 caused fake main definition to take place even when both +load and
7355 /proc worked.
7356 * configure: Regenerated.
7357
7358 2001-02-28 Jonathan Gapen <jagapen@home.com>
7359
7360 * configure.in: Begin autoconf clean-up; replace tests for NeXT
7361 compiler, /proc, and exe link with external macros; add support
7362 for FreeBSD /proc/curproc/file link.
7363 * acconfig.h: Remove definition now handled by macro.
7364 * aclocal.m4, configure, Headers/gnustep/base/config.h.in: Regen.
7365 * Source/NSBundle.m: Take exe link from PROCFS_EXE_LINK define.
7366 * Source/NSProcessInfo.m: HAVE_PROC_FS -> HAVE_PROCFS
7367
7368 2001-02-28 Adam Fedor <fedor@gnu.org>
7369
7370 * Source/win32-load.h (__objc_dynamic_get_symbol_path): New function.
7371
7372 * Source/GSHTTPURLHandle.m ([GSHTTPURLHandle -loadInBackground]): Use
7373 GSUnixSSLHandle only if not __MINGW__
7374
7375 2001-02-27 Jonathan Gapen <jagapen@home.com>
7376
7377 * NSCharacterSets/README.CharSet: Update notes.
7378 * NSCharacterSets/*.dat: Regenerate with v3.0.1 of UnicodeData.txt
7379 (ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt)
7380
7381 2001-02-27 Adam Fedor <fedor@gnu.org>
7382
7383 * configure.in: Fix openssl config so it defines HAVE_OPENSSL only
7384 if all headers and libs available.
7385 * configure, acconfig.h, Headers/gnustep/base/config.h.in: Regen.
7386 * Source/UnixFileHandle.m: Use HAVE_OPENSSL.
7387
7388 2001-02-27 Nicola Pero <nicola@brainstorm.co.uk>
7389
7390 * Source/NSLock.m: Commented out extra token after #endif
7391 directive.
7392 * Headers/gnustep/base/GSXML.h: Idem.
7393
7394 2001-02-27 Nicola Pero <n.pero@mi.flashnet.it>
7395
7396 * configure.in (Version): source it as ./Version rather than
7397 Version (suggested by Juliusz Chroboczek <jch@pps.jussieu.fr>).
7398 * configure: Regenerated.
7399
7400 2001-02-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7401
7402 * Source/NSConcreteNumber.m (NumberTemplate): added precision to float
7403 and double TYPE_FORMAT.
7404
7405 2001-02-25 Adam Fedor <fedor@gnu.org>
7406
7407 * configure.in (cppflags_temp): Corrected to save CPPFLAGS not
7408 CFLAGS>
7409
7410 2001-02-25 Richard Frith-Macdonald <rfm@gnu.org>
7411
7412 * Source/GSLocale.m: Removed YESSTR and NOSTR support for simplicity.
7413
7414 2001-02-24 Nicola Pero <n.pero@mi.flashnet.it>
7415
7416 * Resources/Languages/French: New file (contributed by Frederic De
7417 Jaeger).
7418 * Resources/GNUmakefile (LANGUAGES): Added French.
7419
7420 2001-02-23 Richard Frith-Macdonald <rfm@gnu.org>
7421
7422 * Tools/gdomap.c: Fixed bug in handling '-a' option and enhanced
7423 to support multicast probing of networks specified in '-a' file.
7424
7425 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7426
7427 * Headers/gnustep/base/NSBundle.h: Added three new localization
7428 macros: _(), __() and NSLocalizedStaticString ().
7429
7430 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7431
7432 * Resources/Languages/Italian: New file.
7433 * Resources/GNUmakefile (LANGUAGES): Added Italian.
7434
7435 2001-02-22 Richard Frith-Macdonald <rfm@gnu.org>
7436
7437 * Source/NSUserDefaults.m: Fixes to prevent problems obtaining
7438 languages array due to attempts to use partially constructed
7439 standard user defaults object.
7440
7441 2001-02-21 Adam Fedor <fedor@gnu.org>
7442
7443 * Documenation/install.texi: Update.
7444 * Documenation/news.texi: Likewise.
7445 * INSTALL, NEWS: Regen.
7446
7447 2001-02-21 Richard Frith-Macdonald <rfm@gnu.org>
7448
7449 * Source/NSString.m: Fix memory leak reported by thoran@free.fr
7450 parsePlItem()
7451
7452 2001-02-17 Nicola Pero <nicola@brainstorm.co.uk>
7453
7454 * Source/GNUmakefile (PACKAGE_NAME): Fixed typo - was gnutep-base
7455 rather than gnustep-base.
7456
7457 2001-02-20 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7458
7459 * Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.
7460
7461 2001-02-19 Richard Frith-Macdonald <rfm@gnu.org>
7462
7463 * Source/GSLocale.m: Tidy, defined __USE_GNU to get YESSTR and NOSTR
7464 on later versions of glibc.
7465 * Source/NSString.m: Log more info when parsing a property list fails.
7466
7467 2001-02-13 Adam Fedor <fedor@gnu.org>
7468
7469 * Version: 0.9.1
7470
7471 * configure.in: Fix test for stdint.h
7472
7473 2001-02-11 Manuel Guesdon <mguesdon@orange-concept.com>
7474
7475 * GSXML.m: testing lib!=NULL and string!=NULL before doing something in
7476 -GSXMLNode content
7477 -GSXMLNode name
7478 -GSXMLNode ns
7479 -GSXMLNode nsDef
7480 * NSString.m: handle NULL bytes in -initWithUTF8String:
7481 (Treat it as zero length string and NSDebugMLog a warning).
7482
7483 2001-02-09 Jonathan Gapen <jagapen@home.com>
7484
7485 More FreeBSD build fixes:
7486 * acconfig.h: Add recent definitions.
7487 * configure.in: Add test for wchar.h header.
7488 * configure: Regenerate.
7489 * Headers/gnustep/base/config.h.in: Regenerate.
7490 * Source/GSFormat.m: Typedef wint_t if wchar.h not available.
7491 * Source/NSTask.m: Change #if TIOCNOTTY to #ifdef TIOCNOTTY.
7492
7493 2001-02-08 Nicola Pero <n.pero@mi.flashnet.it>
7494
7495 * INSTALL: Updated installation instructions.
7496
7497 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7498
7499 Fixes reported by David Wetzel ...
7500 * Source/GSFormat.h: Add header for wchar
7501 * Source/NSCoder.m: Remove spurious semicolon
7502 * Source/dynamic-load.h: correct argument to dlsym()
7503
7504 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7505
7506 * Source/GSString.m: permit nil string when replacing characters
7507 in range. Treat as an empty string rather than raising exception.
7508
7509 2001-02-07 Jonathan Gapen <jagapen@home.com>
7510
7511 * Source/NSFileManager.m: Make disk space report work on FreeBSD.
7512 On all Unix platforms, report disk space available to non-root users.
7513
7514 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7515
7516 * Source/GSFormat.m: merged in some more fixes by Kai.
7517
7518 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7519
7520 * Source/GSFormat.m: Fixed error in PAD() macro - it was failing to
7521 decrement a counter - and looping forever.
7522 Fixed error in formatted output of string arguments ... was
7523 crashing with range exception.
7524
7525 2001-02-04 Richard Frith-Macdonald <rfm@gnu.org>
7526
7527 * Source/NSTask.m: Added gnustep specific feature to run task in
7528 pseudo terminal.
7529
7530 2001-02-02 Richard Frith-Macdonald <rfm@gnu.org>
7531
7532 Integrated patch for unicode support for ([-initWithFormat:]) by
7533 Kai Henningsen. Modified to support efficient append with format
7534 to a unicode string.
7535 * configure.in: Test for data type used by GSFormat
7536 * Headers/gnustep/base/GSFormat.h: file declaring GSFormat info.
7537 * Source/GSFormat.m: Source for format support.
7538 * Source/NSString.m: Use GSFormat() to implement ([-initWithFormat:])
7539 * Source/GSString.m: use GSFormat() to implement ([-appendFormat:])
7540
7541 2001-01-31 Richard Frith-Macdonald <rfm@gnu.org>
7542
7543 * Source/NSDate.m: pass dates over DO bycopy unless explicitly byref.
7544 * Source/NSTimeZone.m: pass time zones over DO bycopy unless
7545 explicitly byref.
7546 Use placeholder class for newly created objects - to improve
7547 eficiency of selection of classes in cluster.
7548 Updated to use MacOS-X initialisation methods.
7549
7550 2001-01-30 Michael Hanni <mhanni@sprintmail.com>
7551
7552 * Source/.cvsignore: tweaked to cover a few more items.
7553 * Makefile.postamble: distclean removes created file: base.make.
7554 * configure.in: patched to fix bug in libxml detection macro
7555 (reviewed by: Nicola Pero <nicola@brainstorm.co.uk>)
7556 * configure: Regenerated.
7557
7558 2001-01-30 Nicola Pero <nicola@brainstorm.co.uk>
7559
7560 * gnustep-base.script.spec.in: Fixed, tidied.
7561 * configure.in (CPPFLAGS): Added -I$GNUSTEP_HDIR so that custom
7562 libobjc headers are used - this should fix ffcall detection.
7563 * configure: Regenerated.
7564
7565 2001-01-30 Richard Frith-Macdonald <rfm@gnu.org>
7566
7567 * Headers/Foundation/NSDate.h: Partial support added for MacOS-X
7568 * Source/NSTimeZone.m: Updates to encode all time zones as the
7569 abstract class, and added MacOS-X methods.
7570 * Source/NSCalendarDate.m: Use NSTimeZone rather than NSTimeZoneDetail
7571 throughout ... provide MacOS-X compatibility.
7572 * Source/NSDate.m: Fix milliseconds error creating date on MINGW
7573
7574 2001-01-29 Adam Fedor <fedor@gnu.org>
7575
7576 * configure.in: Remove check for alternate libobjc and Headers
7577 include. Fix typo in setting cppflags_temp in GMP test.
7578 * Source/Makefile.preamble (ADDITIONAL_INSTALL_DIRS): Don't
7579 make .../gnustep/Foundation
7580 * Source/Makefile.postamble (after-install): Don't install headers
7581 in .../gnustep/Foundation
7582
7583 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7584
7585 * GNUmakefile: Include local base.make.
7586 * Admin/GNUmakefile: Idem.
7587 * Documentation/GNUmakefile: Idem.
7588 * Documentation/gsdoc/GNUmakefile: Idem.
7589 * Examples/GNUmakefile: Idem.
7590 * NSCharacterSets/GNUmakefile: Idem.
7591 * NSTimeZones/GNUmakefile: Idem.
7592 * Testing/GNUmakefile: Idem.
7593 * Tools/GNUmakefile: Idem.
7594 * Resources/GNUmakefile: Idem.
7595 * Source/GNUmakefile: Idem.
7596 * configure.in (tests for ffi): set CONFIG_SYSTEM_LIBS too
7597 (test for iconv): test taken from the make package. (AC_OUTPUT):
7598 Generate base.make.
7599 * configure: Regenerated.
7600 * base.make.in: New file.
7601 * Makefile.postamble (before-install): Install base.make.
7602
7603 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7604
7605 * NSTimeZones/NSTimeZones.tar: Updated.
7606
7607 2001-01-28 Jonathan Gapen <jagapen@home.com>
7608
7609 * Source/NSUser.m: In NSSearchPathForDirectoriesInDomains(), added
7610 support for NSDeveloperDirectory, NSAdminDirectory, and the new
7611 GSLibrariesDirectory.
7612 * Headers/gnustep/base/NSPathUtilities.h: Added new enum value
7613 GSLibrariesDirectory, to support GNUstep's Libraries dir.
7614
7615 2001-01-26 Adam Fedor <fedor@gnu.org>
7616
7617 * gnustep-base.script.spec.in: New file, rpm script for installing
7618 gdomap, updating ld.conf, etc.
7619
7620 2001-01-26 Richard Frith-Macdonald <rfm@gnu.org>
7621
7622 * Source/NSArray.m: Fix failure to assign result of init to self
7623 (similar fixes in various other files).
7624 * Tools/gsdoc.m: Fix error in parsing items containing mixed elements.
7625 * Documentation/gsdoc/NSTimeZone.gsdoc: Fix erro in markup.
7626
7627 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7628
7629 * configure.in: Add check for rexcent versions of gmp
7630
7631 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7632
7633 * Source/NSException.m: Modify default handler to permit simple
7634 exit as well as abort.
7635 * Documentation/gsdoc/Base.gsdoc: documented environmnet variable
7636 CRASH_ON_ABORT
7637
7638 2001-01-21 Richard Frith-Macdonald <rfm@gnu.org>
7639
7640 * Source/NSString.m: Fixes for OPENSTEP compatibility in string path
7641 operations - patch provided by Pierre-Yves Rivaille, plus another fix
7642 by me.
7643
7644 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7645
7646 * gnustep-base.spec.in: Updated copyright and attempt at improving
7647 description.
7648
7649 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7650
7651 * config/config.loadtest.m: Added dummy NXConstStr implementation
7652 for libobjc which do not include it.
7653 * configure.in: Simplified check for thread flags. gnustep-make
7654 already gets them - simply get them from config.make here.
7655 * configure: Regenerated.
7656 * config/config_thread.m: Removed.
7657
7658 2001-01-17 Adam Fedor <fedor@gnu.org>
7659
7660 * Version: Prerelease version 0.9.0
7661 * configure.in: Change check for installed libobjc to match gstep-make
7662
7663 2001-01-18 Nicola Pero <nicola@brainstorm.co.uk>
7664
7665 * Source/GNUmakefile: Simplified name to gnustep-base.
7666 * gnustep-base.spec.in: Changed Group to Development/Libraries.
7667 * gnustep-base-debug.spec.in: Idem.
7668 * NSTimeZones/NSTimeZones.tar: Removed hard links to avoid rpm
7669 problems with hard links.
7670
7671 2001-01-18 Richard Frith-Macdonald <rfm@gnu.org>
7672
7673 * Source/NSHost.m: New method ([-_addName:]) to add a name to a host.
7674 Use it to add the local hostname to the 127.0.0.1 host if there is
7675 no IP address set up for the local machine.
7676 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) improve
7677 handling of available descriptors - each descriptor may be available
7678 for more than one type of event.
7679
7680 2001-01-17 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7681
7682 * Source/GSXML.m|.h ([GSXMLDocument -stringValue]): dump document in a
7683 string.
7684
7685 Wed Jan 17 16:46:09 2001 Nicola Pero <nicola@brainstorm.co.uk>
7686
7687 * GNUmakefile: Added PACKAGE_NEEDS_CONFIGURE and
7688 RPM_DISABLE_RELOCATABLE.
7689 * GNUmakefile: Simplified name to gnustep-base.
7690 * gnustep-base.spec.in: New file.
7691 * gnustep-base-debug.spec.in: Idem.
7692 * gnustep-base.spec: Move to gnustep-base.spec.old.
7693
7694 2001-01-13 Richard Frith-Macdonald <rfm@gnu.org>
7695
7696 * Source/GSMime.m: ([-decodeData:fromrange:intoData:withContext:])
7697 Added destination data cpacity information to context so that
7698 correct positioning can be maintained over a sequence of calls
7699 using a chunked http context.
7700 * Source/GSAttributedString.m: Fixed bug initialising from an
7701 empty attributed string, and fixed bug replacing characters in
7702 range, when an attribute range location is the same s the location
7703 of the replaced characters.
7704
7705 2001-01-12 Richard Frith-Macdonald <rfm@gnu.org>
7706
7707 * Source/GSXML.m: ([-GSXMLDocument setRoot:]) set root node to be
7708 owned by libxml, so we don't free it's memory ourselves.
7709 * Headers/gnustep/base/NSValue.h: Added range methods.
7710 * Source/GNUmakefile: Rename value files to GS prefix and remove
7711 concrete value header.
7712 * Source/Makefile.postamble: Build GS value files. rather than NS
7713 * Source/NSValue.m: Added range methods and updated for change to
7714 naming conventions. Added abstract placeholder class. Fixed encoding
7715 to store the abstract class in the archive.
7716 * Testing/values.m: Added range check
7717 * Source/GSTemplateValue.m: Renamed for consistency.
7718 Adapted encoding/decoding for storing abstract class in archive.
7719 * Source/GSValue.m: ditto
7720 * Headers/gnustep/base/NSConcreteValue.h: private info removed
7721 * Source/NSCTemplateValue.m: Renamed for consistency
7722 * Source/NSConcreteValue.m: ditto
7723
7724 2001-01-10 Nicola Pero <n.pero@mi.flashnet.it>
7725
7726 * Source/GSAttributedString.m ([GSAttributedString -length]),
7727 ([GSMutableAttributedString -length]): Added for speed.
7728
7729 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7730
7731 * Source/Unicode.m: Fix bug in checking possible default string
7732 encodings . reported by Stefan Urbanek
7733
7734 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7735
7736 Tidyup by removing 'NonCore' categories.
7737
7738 2001-01-09 Richard Frith-Macdonald <rfm@gnu.org>
7739
7740 General tidyups to simplify code and to make class names
7741 consistent with the other libraries.
7742 * Headers/Foundation/NSGAttributedString.h: removed
7743 * Source/NSGAttributedString.m: renamed to GSAttributedString.m
7744 concrete classes renamed for consistency with other gstep libs.
7745 * Source/NSGDictionary.m: renamed to GSDictionary.m
7746 concrete classes renamed for consistency with other gstep libs.
7747 * Source/NSAttributedString.m: classes renamed
7748 * Source/NSDictionary.m: classes renamed
7749 * Source/GNUmakefile: replace NSGAttrinbutedString with and
7750 NSGDictionary with GS prefixed classes.
7751 Don't try to install old header.
7752 * Source/NSString.m: updates for class renaming.
7753 * Source/NSSerializer.m: ditto
7754
7755 2001-01-08 Adam Fedor <fedor@gnu.org>
7756
7757 * configure.in: Enable ffcall by default (unless the libraries
7758 don't exist).
7759
7760 2001-01-08 Richard Frith-Macdonald <rfm@gnu.org>
7761
7762 * Headers/Foundation/NSGArray.h: removed
7763 * Headers/Foundation/NSArray.h: merge core/non-core classes.
7764 * Source/GNUmakefile: replace NSGArray with GSArray.
7765 * Source/NSGArray.m: converted to GSArray.m
7766 * Source/NSArray.m: simplified by merging core/non-core classes.
7767 Use placeholder class when allocating constant arrays.
7768 * Source/GSArray.m: simplified version of GSArray.m
7769 Added GSPlaceholderArray.
7770 * Source/NSSerializer.m: use GSInlineArray where possible.
7771 * Source/GSSet.m: Provide decoding of NSGSet for backward compatibility.
7772 * Source/NSException.m: Avoid recursion in exception handler.
7773
7774 2001-01-04 Richard Frith-Macdonald <rfm@gnu.org>
7775
7776 * Tools/gsdoc.gsdoc: Tidied and fixed a few typos/spelling errors.
7777
7778 2001-01-04 Jonathan Gapen <jagapen@home.com>
7779
7780 * configure.in, aclocal.m4, acconfig.h: Replace libxml detection with
7781 autoconf macro from libxml 2.2.10 installation.
7782 * configure, Headers/gnustep/base/config.h.in: Regenerate.
7783 * Headers/gnustep/base/GSXML.h, base/Source/GSXML.m,
7784 base/Tools/gsdoc.m: Use proper libxml #includes.
7785
7786 2001-01-03 Adam Fedor <fedor@gnu.org>
7787
7788 * configure.in: Change test for objc forwarding hook to match gcc
7789 patch.
7790 * Source/GSFFCallInvocation.m: Use new forwarding hook.
7791
7792 2001-01-03 Richard Frith-Macdonald <rfm@gnu.org>
7793
7794 * Source/NSBundle.m: fix for checking windows executable file
7795 extensions - reported by michael.scheibler@onevision.de
7796
7797 2001-01-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7798
7799 * Source/NSObjCRuntime.m (GSInstanceVariableInfo): fixes.
7800 * Source/NSObject.m ([NSObject -handleQueryWithUnboundKey:]): raise an
7801 exception.
7802 ([NSObject -handleTakeValue:forUnboundKey:]): changed exception.
7803 ([NSObject -unableToSetNilForKey:]): likewise.
7804 ([NSObject -storedValueForKey:]),
7805 ([NSObject -valueForKey:]): check for null selector before calling
7806 respondsToSelector:
7807 ([NSObject -takeStoredValue:forKey:]),
7808 ([NSObject -takeValue:forKey:]): likewise. Call GSSetValue with correct
7809 values.
7810 (GSSetValue): fixed ivar implementation.
7811 (GSGetValue): likewise.
7812 ([NSObject -methodSignatureForSelector:]): FreeBSD fix.
7813 * Source/NSEnumerator.m|.h ([NSEnumerator -allObjects]): implemented.
7814 * Source/Unicode.m (GetDefEncoding): do not emit the warning for
7815 NSISOLatin1StringEncoding.
7816
7817 2000-12-26 Adam Fedor <fedor@gnu.org>
7818
7819 * configure.in: Look for libxml2 (patch from Kim Shrier
7820 <kim@tinker.com>).
7821 * acconfig.h: Define LIBXML2
7822 * Headers/gnustep/base/config.h.in: Regenerate
7823 * Headers/gnustep/base/GSXML.h: Include libxml2.h if found.
7824 * Source/GSXML.m: Likewise.
7825 * Tools/gsdoc.m: Likewise. (patches from Kim Shrier <kim@tinker.com>).
7826
7827 2000-12-22 Adam Fedor <fedor@gnu.org>
7828
7829 * Source/GSFFCallInvocation.m: Remove powerpc specific defs
7830
7831 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7832
7833 * Source/NSDistantObject.m: Modified DO_FORWARD_INVOCATION() macro
7834 and its uses so that they actually do what was intended :-)
7835 Also, modified implementation of methodSignatureForSelector: for
7836 ffcall library to prevent recursion.
7837
7838 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7839
7840 * Headers/Foundation/GSIMap.h: On initialisation set number of nodes
7841 to exactly equal capacity, for improved memory efficiency.
7842 * Source/Makefile.postamble: correct dependencies for GSIMap.
7843 * Source/GSCountedSet.m: Use map enumerator rather than messing with
7844 the internals of a GSIMap directly.
7845 * Source/GSSet.m: ditto
7846 * Source/NSConnection.m: ditto
7847 * Source/NSGDictionary.m: ditto
7848 * Source/NSNotificationCenter.m: ditto
7849 * Source/NSString.m: property list memory leak fixed.
7850
7851 2000-12-18 Richard Frith-Macdonald <rfm@gnu.org>
7852
7853 * Source/NSGAttributedString.m: Fix logic errors setting attributes.
7854
7855 2000-12-18 Adam Fedor <fedor@gnu.org>
7856
7857 * Source/Makefile.postamble (libgnustep.def): Rebuild manually
7858 rather than automatically.
7859
7860 2000-12-14 Richard Frith-Macdonald <rfm@gnu.org>
7861
7862 * Source/Unicode.m: Tidied to conform to coding standards and changed
7863 to use ISOLatin1 as the default cString encoding.
7864 * Source/GSString.m: Fixed bug getting cString from unicode string -
7865 raise exception when it should.
7866 * Source/NSString.m: ditto. Also use lossyCString in various
7867 places rather than cString.
7868
7869 2000-12-13 Nicola Pero <n.pero@mi.flashnet.it>
7870
7871 * Headers/gnustep/base/NSRange.h, Source/NSRange.m: Inlined
7872 NSMakeRange.
7873
7874 2000-12-12 Nicola Pero <n.pero@mi.flashnet.it>
7875
7876 * Source/NSDebug.m (table_entry): Added peak field.
7877 (GSDebugAllocationAdd): Set peak counter if needed.
7878 (GSDebugAllocationClassList), (GSDebugAllocationTotal),
7879 (GSDebugAllocationPeak): New functions.
7880 * Headers/gnustep/base/NSDebug.h: Added corresponding
7881 declarations.
7882
7883 2000-12-08 Adam Fedor <fedor@gnu.org>
7884
7885 * Set up DO and NSInvocation to use foreign-function interface
7886 library.
7887 * configure.in: Add check for --enable-ffcall
7888 * Documentation/gnustep-base.texi: Update
7889 * Documentation/install.texi: Likewise.
7890 * Documentation/readme.texi: Likewise.
7891 * Documentation/gsdoc/NSTimeZone.gsdoc: Update.
7892
7893 * Headers/gnustep/base/NSConnection.h: New forward method.
7894 * Headers/gnustep/base/NSInvocation.h: New frame ivar.
7895 * Source/GNUmakefile: Conditionally compile in FFI classes if
7896 enabled.
7897 * Source/NSConnection.m (-forwardInvocation:forProxy:): New method.
7898 (_service_forwardForProxy:): For FFCALL don't autorelease memory,
7899 call proper forwarding function.
7900 * Source/NSDistantObject.m (forwardInvocation:): Implement.
7901 (methodSignatureForSelector:): For FFCALL, forward through
7902 invocation.
7903 (conformsToProtocol:): Likewise.
7904 (respondsToSelector:): Likewise.
7905 * Source/NSInvocation.m: Convert to abstract class with subclasses
7906 based on FFI interface.
7907 (_get_arg, _set_arg, _arg_addr): New functions based on FFI interface.
7908 (+allocWithZone:): Alloc proper concrete class.
7909 (+initialize): Set proper concrete class.
7910 (-initWithCoder:): Replace self with proper concrete class.
7911 (initWithArgframe:selector:): Make subclassResponsibility.
7912 (initWithMethodSignature:): Likewise.
7913 (returnFrame:): Likewise.
7914 Implement GSFrameInvocation
7915 * Source/GSFFCallInvocation: New file.
7916 * Source/GSFFIInvocation: Likewise.
7917 * Source/cifframe.[hm]: Likewise.
7918 * Source/callframe.[hm]: Likewise.
7919
7920 2000-12-07 Richard Frith-Macdonald <rfm@gnu.org>
7921
7922 * Source/NSGSet.m: renamed to GSSet.m for consistency, tidied.
7923 * Source/NSGCountedSet.m: renamed to GSCountedSet.m for consistency.
7924 * Headers/Foundation/NSGSet.h: removed - obsolete.
7925 * Headers/Foundation/NSSet.h: si9mplified back to single class
7926 * Source/NSSet.m: Updated and tidied. Fixed coding class for
7927 mutable sets. Removed non-core classes.
7928
7929 2000-12-05 Richard Frith-Macdonald <rfm@gnu.org>
7930
7931 * Source/NSURLHandle.m: minor mods to background loading.
7932 * Source/GNUmakefile:
7933 * Source/Makefile.postamble:
7934 * Source/Makefile.preamble:
7935 * Tools/Makefile.preamble:
7936 Updated for flattened directory structure.
7937
7938 2000-12-02 Richard Frith-Macdonald <rfm@gnu.org>
7939
7940 * Source/NSDate.m: GSTime() added millisecond info.
7941 * Source/NSCalendarDate.m: GSTime() added millisecond info.
7942 * Headers/Foundation/NSDate.h: GSTime() added millisecond info.
7943 * Source/NSObject.m: key-value-coding restructured and
7944 implemented for non-object values.
7945
7946 2000-11-30 Richard Frith-Macdonald <rfm@gnu.org>
7947
7948 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
7949 Bugfixes to fill in missing information using current date/time and
7950 to implement missing format codes.
7951
7952 2000-11-27 Richard Frith-Macdonald <rfm@gnu.org>
7953
7954 * Source/NSClassDescription.m: New MacOS-X class added.
7955 * Headers/Foundation/NSClassDescription.m: New MacOS-X class added.
7956 * Headers/Foundation/NSKeyvalueCoding.m: New MacOS-X protocol added.
7957 * Source/NSObject.m: New MacOS-X key value coding methods added.
7958 Only objects currently supported - needs work to support scalar
7959 types too!
7960
7961 2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7962
7963 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
7964 autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
7965
7966 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7967
7968 * Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to
7969 prevent possible problems with two threads trying to get root object
7970 of a new connection at the same time.
7971 * Documentation/gsdoc/NSURLHandle.gsdoc: Added subclass information.
7972
7973 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7974
7975 * Headers/gnustep/base/NSAutoreleasePool.h: Changed proivate method
7976 for cleanup at end of thread.
7977 * Headers/gnustep/base/NSThead.h: New ivar to mark when we are
7978 deallocating.
7979 * Source/NSAutoreleasePool.m: Added parameter to _endThread so we
7980 can safely end a thread without it being the current one.
7981 * Source/NSThread.m: Now clean up autorelease pools *after*
7982 everything elese, while deallocating the thread. This is to cope
7983 with objects that try to access the thread dictionary while
7984 autoreleasing. -threadDictionary modified to return nil during
7985 deallocation rather than creating a new ductionary.
7986
7987 2000-11-21 Richard Frith-Macdonald <rfm@gnu.org>
7988
7989 * Source/externs.m: Removed obsolete http body key.
7990 * Source/GSHTTPURLHandle.m: Removed obsolete http body key.
7991 * Headers/Foundation/NSURLHandle.h: Removed obsolete http body key.
7992
7993 2000-11-20 Nicola Pero <n.pero@mi.flashnet.it>
7994
7995 * Source/NSConnection.m: ([NSConnection -invalidate]) Fixed typo in
7996 multi-thread support.
7997
7998 2000-11-18 Richard Frith-Macdonald <rfm@gnu.org>
7999
8000 * Source/NSURLHandle.m: Implemented setting and gettign of properties
8001 for file handles using NSFileManager.
8002 * Source/GSHTTPURLHandle.m: Implemented ([-writeData:]). Rewrote
8003 posting mechanism using new implementation. Modified so that old
8004 method of writing bodyn properties still works for the moment.
8005 * configure.in: Added tests for GMP library - needed in future.
8006 * Headers/Foundation/NSDecimal.h: include GSConfig.h for HAVE_GMP
8007 * Source/NSDecimal.m: test for truth value of HAVE_GMP
8008 * Headers/Foundation/GSConfig.h.in: add HAVE_GMP support, but
8009 override to '0' until GMP support is fully implemented.
8010
8011 2000-11-17 Richard Frith-Macdonald <rfm@gnu.org>
8012
8013 * Headers/Foundation/GSMime.h: Added GSMimeEncodingContext etc
8014 * Headers/Foundation/NSURLHandle.h: Added some more property keys.
8015 * Source/GSMime.m: Update to add method for general decoding of
8016 different transfer encoding types including chunked (for http1.1).
8017 Recognise end of data in chunked encoding or by content length.
8018 * Source/GSHTTPURLHandle.m: Added new class for http and https support.
8019 * Source/NSURLHandle.m: Register class for http and https support.
8020 * Source/externs.m: Added property keys for URL handles.
8021 * Documentation/gsdoc/GSMime.gsdoc: updated
8022 * Documentation/gsdoc/GSMimeDocument.gsdoc: updated
8023 * Documentation/gsdoc/GSMimeParser.gsdoc: updated
8024
8025 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8026
8027 * Source/NSUserDefaults.m: ([-userLanguages]) updated to ensure we
8028 don't get empty strings in the language list.
8029 * Headers/Foundation/GSMime.h: Revised API
8030 * Source/GSMime.m: Revised API to make more sense
8031 * Documentation/gsdoc/GSMime.gsdoc: ditto
8032 * Documentation/gsdoc/GSMimeDocument.gsdoc: ditto
8033 * Documentation/gsdoc/GSMimeParser.gsdoc: ditto
8034
8035 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8036
8037 * Source/NSURL.m: ([-explode]) bugfix for parsing username/password
8038 provided by mark@brainstorm.co.uk
8039
8040 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8041
8042 * Source/GSTcpPort.m: Altered all GSTcpHandle debug output to include
8043 current thread. Added locking for read/write operations on handle.
8044 Hopefully all thread-safe now :-)
8045
8046 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8047
8048 * Source/NSConnection.m: ([-_getReplyRmc:]) added semi-busy wait
8049 for when the connection is being used from multiple threads.
8050
8051 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8052
8053 * configure.in: Added checks for OpenSSL
8054 * Headers/gnustep/base/NSFileHandle.h: Added info for SSL handles.
8055 * Source/UnixFileHandle.m: Added GSUnixSSLHandle class based on
8056 code by <mark@brainstorm.co.uk>
8057
8058 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8059
8060 * Source/NSBundle.m: Minor tidying to avoid compiler warnings.
8061 * Source/NSFileManager.m: ditto
8062
8063 Tue Nov 14 23:44:14 2000 Adam Fedor <fedor@yogi.doc.com>
8064
8065 * Source/GSString.m: Add limits.h (for Solaris)
8066
8067 2000-11-14 Adam Fedor <fedor@gnu.org>
8068
8069 * Source/GSLocale.m: Put LANGINFO_H ifdefs around include of
8070 langinfo.h.
8071
8072 2000-11-14 Richard Frith-Macdonald <rfm@gnu.org>
8073
8074 * Source/GSTcpPort.m: ([GSTcpHandle -receivedEvent:type:extra:forMode:])
8075 added locks around write operations for multi-threaded operation.
8076 newDataWithEncodedPort() modified to encode local host as an empty
8077 string, and other hosts by name rather than address.
8078 decodePort() added new parameter so that an empty string can be
8079 decoded as the host to which the GSTcpHandle is talking.
8080 Modified in various places to keep a record of the IP address of the
8081 remote end of the connection, so we can pass this to decodePort()
8082 ([-getFds:count:]) fixed error in determining set of file descriptors
8083 to listen to - resulted in two threads listening to the same descriptor
8084 at the same time!
8085
8086 2000-11-13 Richard Frith-Macdonald <rfm@gnu.org>
8087
8088 * Source/NSGAttributedString.m: partial rewrite to cache/unique
8089 dictionaries and to coalesce adjacent regions of string with the
8090 same attributes when setting attributes.
8091
8092 2000-11-12 Fred Kiefer <FredKiefer@gmx.de>
8093
8094 * Source/NSArray.m: Corrected [NSMutableArray arrayWithObject:] to
8095 return obj instead of self.
8096
8097 Fri Nov 10 12:30:27 2000 Nicola Pero <n.pero@mi.flashnet.it>
8098
8099 Added some GNUstep extensions to NSThread to allow JIGS to
8100 transparently map java threads to gnustep threads (and vice
8101 versa):
8102 * Headers/gnustep/base/NSThread.h, Source/externs.m:
8103 (NSThreadDidStartNotification): New notification.
8104 * Source/NSThread.m ([NSThread -_sendThreadMethod]): Post
8105 the NSThreadDidStartNotification.
8106 * Source/NSThread.m, Headers/gnustep/base/NSThread.h
8107 ([+registerCurrentThread]), ([+unregisterCurrentThread]): New
8108 methods.
8109
8110 2000-11-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8111
8112 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
8113 when called with Nil class.
8114
8115 2000-11-10 Richard Frith-Macdonald <rfm@gnu.org>
8116
8117 * Source/GSTcpPort.m: Added some locking tweaks for writing data.
8118 * Source/GSString.m: Fix for decoding obsolete string classes.
8119
8120 2000-11-09 Richard Frith-Macdonald <rfm@gnu.org>
8121
8122 * Source/NSPort.m: ([-setDelegate:]) corrected assertion to allow
8123 delegate to be set to nil. Bug reported by cornils@mail.desy.de
8124
8125 2000-11-08 Richard Frith-Macdonald <rfm@gnu.org>
8126
8127 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8128 initialize inline string classes correctly.
8129
8130 2000-11-06 Adam Fedor <fedor@gnu.org>
8131
8132 * Documentation: Move tmpl.texi files to texi and update GNUmakefile
8133
8134 Mon Nov 6 16:55:26 2000 Nicola Pero <n.pero@mi.flashnet.it>
8135
8136 * Documentation/GNUmakefile: Install ANNOUNCE, NEWS, INSTALL,
8137 BUGS, README, STATUS into
8138 Documentation/Developer/Base/ReleaseNotes/$(VERSION); install
8139 CODING-STANDARDS and coding-standards into
8140 Documentation/Developer/CodingStandards; install gnustep-base into
8141 Documentation/Developer/Base/Manual.
8142 * Documentation/gsdoc/GNUmakefile
8143 (Base_DOCUMENTATION_INSTALL_DIR): Install gsdoc reference in
8144 Documentation/Developer/Base/Reference.
8145
8146 2000-11-06 Richard Frith-Macdonald <rfm@gnu.org>
8147
8148 * Source/NSString.m: handle_printf_atsign() - use lossyCString to
8149 get string to print. This is a temporary *HACK* - we need a proper
8150 unicode supporting initWithFormat:
8151 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8152 allocate inline string classes for substrings.
8153
8154 2000-11-04 Richard Frith-Macdonald <rfm@gnu.org>
8155
8156 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8157 calendarFormat:locale:]): try getting timezone by name before
8158 attempting by abbreviation - thus preserving exact name isf possible.
8159
8160 2000-11-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8161
8162 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8163 calendarFormat:locale:]): assign calendar format.
8164
8165 2000-11-03 Richard Frith-Macdonald <rfm@gnu.org>
8166
8167 * Source/NSString.m: Update for placeholder class.
8168 * Source/GSString.m: Updates for optimisations using placeholder class.
8169
8170 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8171
8172 * Source/GSXML.m: External entity loader revisions completed.
8173 * Documentation/gsdoc/GSXML.gsdoc: changes to api
8174 * Documentation/gsdoc/GSXMLParser.gsdoc: ditto
8175 * Documentation/gsdoc/GSSAXHandler.gsdoc: ditto
8176
8177 2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
8178 * Headers/Foundation/GSXML.h: added GSXMLNode
8179 propertiesAsDictionaryWithKeyTransformationSel:
8180 * Source/GSXML.m: added GSXMLNode
8181 propertiesAsDictionaryWithKeyTransformationSel:
8182
8183 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8184
8185 * Source/NSUserDefaults.m: Fixed uninitialised variable bug.
8186 * Source/NSString.m: Fixed error in xml property list parsing
8187 * Source/GSXML.m: Various SAX things to use default implementation.
8188
8189 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8190
8191 * Source/NSString.m: Implemented
8192 ([-initWithCharactersNoCopy:length:freeWhenDone:]) and
8193 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSMutableString.
8194 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSString.
8195
8196 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8197
8198 Loads of files modified, fast.x removed.
8199 Found it unexpectedly easy to tidy up so that all functions for
8200 accessing the runtime are now in NSObjCRuntime.h.
8201 Now all :-) we need are Apple runtime implementations, configuration
8202 auto-detect for the apple runtime, and loads of updating of any
8203 bits of code that call the runtime directly.
8204
8205 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8206
8207 * Headers/gnustep/base/NSGString.h:
8208 * Headers/gnustep/base/NSGCString.h:
8209 * Source/NSGString.m:
8210 * Source/NSGCString.m: Removed classes - no longer used.
8211 * Headers/gnustep/base/NSObjCRuntime.h:
8212 * Headers/gnustep/base/fast.x:
8213 * Source/GSString.m:
8214 * Source/Makefile.postamble:
8215 * Source/NSArchiver.m:
8216 * Source/NSCTemplateValue.m:
8217 * Source/NSConcreteValue.m:
8218 * Source/NSCountedSet.m:
8219 * Source/NSDate.m:
8220 * Source/NSDictionary.m:
8221 * Source/NSDistantObject.m:
8222 * Source/NSGSet.m:
8223 * Source/NSNumber.m:
8224 * Source/NSObject.m:
8225 * Source/NSScanner.m:
8226 * Source/NSSerializer.m:
8227 * Source/NSSet.m:
8228 * Source/NSUnarchiver.m:
8229 Changed calls to 'fastClass()' to use 'GSObjCClassOfObject()' and
8230 added that to NSObjCRuntime.h. Removed central class and
8231 implementation caching from NSObject.m and fast.x since it was not
8232 being effectively used. New intention to do removal of fast.x and
8233 add similar functionality to NSObjCRuntime.h - intention being to
8234 combine functionality of fast access to the runtime, and hiding both
8235 GNU and Apple runtime behind a single interface.
8236
8237 2000-10-30 Richard Frith-Macdonald <rfm@gnu.org>
8238
8239 * Source/NSURLHandle.m: Wrap all locking with exception handlers to
8240 ensure that locks are released.
8241 * Headers/gnustep/base/NSInvocation.h: Removed non-standard macros
8242 * Headers/gnustep/base/behavior.h: Removed unused macro
8243 CALL_METHOD_IN_CLASS()
8244 * Source/GSString.m:
8245 * Source/GSXML.m:
8246 * Source/NSArchiver.m:
8247 * Source/NSArray.m:
8248 * Source/NSAttributedString.m:
8249 * Source/NSData.m:
8250 * Source/NSDictionary.m:
8251 * Source/NSGArray.m:
8252 * Source/NSGAttributedString.m:
8253 * Source/NSGCString.m:
8254 * Source/NSGDictionary.m:
8255 * Source/NSGeometry.m:
8256 * Source/NSObject.m:
8257 * Source/NSPortCoder.m:
8258 * Source/NSProcessInfo.m:
8259 * Source/NSRange.m:
8260 * Source/NSRunLoop.m:
8261 * Source/NSScanner.m:
8262 * Source/NSSerializer.m:
8263 * Source/NSString.m:
8264 * Source/NSUnarchiver.m:
8265 * Source/NSUserDefaults.m:
8266 Updated to move static SEL variable initialisation to +initialize
8267 methods so that it should (I think) work with the Apple runtime.
8268
8269 2000-10-29 Adam Fedor <fedor@gnu.org>
8270
8271 * configure.in: Check for langinfo.
8272 * Source/GSLocale.m (GSDomainFromDefaultLocale): Return nil
8273 dict if langinfo info not available.
8274
8275 * acconfig.h: Add HAVE_DLADDR
8276 * Headers/gnustep/base/config.h.in: Regenerate.
8277 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Return
8278 nil if not HAVE_DLADDR.
8279
8280 2000-10-29 Richard Frith-Macdonald <rfm@gnu.org>
8281
8282 * Source/GSString.m: New inline string classes added to avoid calls
8283 to malloc in some cases. Changed all deallocation methods to call
8284 NSDeallocateObject() directy for efficiency.
8285 * Source/NSString.m: Use new inline string classes for creation of
8286 strings where we know the length of the data in advaance.
8287
8288 2000-10-28 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8289
8290 * Headers/gnustep/base/NSBundle.h: added ivar.
8291 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
8292 method to parse NSFramework_* classes.
8293 (_bundle_load_callback): added framework support. Wrap classes in a
8294 NSValue to avoid implicit initialization.
8295 ([NSBundle +allBundles]): added framework support.
8296 ([NSBundle +allFrameworks]): implemented.
8297 ([NSBundle +bundleForClass:]): get classes from NSValue object.
8298 ([NSBundle -classNamed:]): likewise.
8299
8300 * Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
8301 * Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
8302 or Category.
8303 * Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
8304 lib path of a symbol.
8305 * Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
8306 * Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.
8307
8308 * Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
8309 (mframe_set_arg): idem
8310
8311 * Headers/gnustep/base/config.h.in: added HAVE_DLADDR
8312 * aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
8313 * configure.in: added --with-libxml-include and --with-libxml-library,
8314 added -I/usr/local/include and -L/usr/local/lib for FreeBSD.
8315
8316 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8317
8318 * Source/NSObject.m: Reverted last change -
8319 +new has to do alloc, init or break classes that expect to use their
8320 own allocation mechanisms. Similarly, +alloc must call the
8321 ([+allocWithZone:]) method. We can't make optimisations that
8322 break with the OpenStep spec and MacOS documentation - they would
8323 break production code. Of course, private classes can do this.
8324
8325 2000-10-27 Lyndon Tremblay <humasect@home.com>
8326
8327 * Source/NSObject.m ([NSObject +new]): No longer sends 2 messages,
8328 uses NSAllocateObject().
8329 ([NSObject +alloc]): Likewise, no message sending within the method.
8330
8331 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8332
8333 * Source/NSURLHandle.m: Make class registration thread safe.
8334 Tidy initialisation to use designated initialiser.
8335
8336 2000-10-27 Adam Fedor <fedor@gnu.org>
8337
8338 * Added localization support
8339 * configure.in: Look for locale.h
8340 * Resources: New directory, files for languages.
8341 * Headers/gnustep/base/NSUserDefaults.h: Add missing localization
8342 keys.
8343 * Source/GSLocale.m: New functions for dealing with locales.
8344 * Source/NSUserDefaults.m (-_unlocalizedDefaults): New method.
8345 (-sharedUserDefaults): Set up Language domain.
8346 (-userLanguages): Create our own defaults, if necessary, to avoid
8347 recursion with sharedUserDefaults.
8348 (__createStandardSearchList): Put NSGlobalDomain before Language
8349 domain to match MacOSX docs (wasn't specified in OpenStep docs).
8350 * Documentation/gsdoc/NSUserDefaults.m: Updated.
8351
8352 * Tools/locale_alias.m: New test-tool mostly for maintainance use.
8353
8354 2000-10-26 Richard Frith-Macdonald <rfm@gnu.org>
8355
8356 * Source/NSData.m: When deserialising selectors, register new
8357 selectors if they don't already exist - so we can unarchive a
8358 selector into a program where no objects implements it (we might
8359 still want to use it over DO or to store in another archive).
8360 Change suggested by N.Pero.
8361 * Source/GSMime.m: Mime parser classes partially written.
8362 * Headers/Foundation/GSMime.h: mime class headers
8363 * Documentation/gsdoc/GSMime.gsdoc: documentation
8364 * Documentation/gsdoc/GSMimeDocument.gsdoc: documentation
8365 * Documentation/gsdoc/GSMimeParser.gsdoc: documentation
8366 Various files partially implemented to add MIME parsing support.
8367 Intended to aid implementation of HTTP version of NSURLHandle.
8368
8369 2000-10-24 Adam Fedor <fedor@gnu.org>
8370
8371 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
8372 Set format if nil.
8373 (-addYear:month:day:hour:minute:second:): Use signed ints.
8374
8375 2000-10-24 Richard Frith-Macdonald <rfm@gnu.org>
8376
8377 * Source/GSString.m: Implement ([-substringWithRange:]) and
8378 ([-substringFromRange:]) equally. The 'from' method is the
8379 'official OpenStep' one, the 'with' method is a MacOS-X compatibility
8380 addition.
8381 * Source/NSAttributedString.m: Added ([-attributedSubstringWithRange:])
8382 in the expectation that Apple will rename the method and remove
8383 ([-attributedSubstringFromRange:])
8384 * Source/NSScanner.m: Use substringWithRange.
8385 * Source/NSProxy.m: Implement ([-forward::]) to use
8386 ([-forwardInvocation:]). Implement ([-conformsToProtocol:]) to raise
8387 exception, Implement ([-respondsToSelector:]) to raise exception.
8388 * Source/NSDistantObject.m: Implement ([-conformsToProtocol:]) to
8389 forward to remote. Implement ([-respondsToSelector:]) to forward.
8390
8391 2000-10-24 Fred Kiefer <FredKiefer@gmx.de>
8392
8393 * Source/NSAttributedString.m: Added begin/endEditing to all
8394 complex methods on NSMutableAttributedString as necessary for
8395 NSTextStorage.
8396 * Source/GSString.m: Changed all substringFromRange: to
8397 substringWithRange: as this is the basic method.
8398
8399 2000-10-23 Richard Frith-Macdonald <rfm@gnu.org>
8400
8401 * Source/NSString.m: ([-fastestEncoding]), ([-smallestEncoding])
8402 implemented to return NSUnicodeStringEncoding. Use new string
8403 classes more effectively - let GSString turn itsself into either
8404 GSCString or GSUstring when initialised.
8405 Merged in code from propList.h
8406 * Source/GSString.m: ([-dataUsingEncoding:allowLossyConversion:])
8407 bugfixes for cString reported by Freed Kiefer
8408 Removed 'ascii' flag - more trouble than a minor optimisation is
8409 worth.
8410 Fixed transmute() to be careful about freeing old string.
8411 * Source/Unicode.m: encode_ustrtostr_strict() return 0 on failure.
8412
8413 2000-10-21 Richard Frith-Macdonald <rfm@gnu.org>
8414
8415 * Headers/Foundation/NSNull.h: New placeholder class.
8416 * Source/NSNull.m: New placeholder class.
8417 * Source/GNUmakefile: Build NSNull and install header.
8418 * Documentation/gsdoc/GNUmakefile: Build NSNull documentation
8419 * Documentation/gsdoc/NSNull.gsdoc: NSNull documentation
8420
8421 2000-10-20 Richard Frith-Macdonald <rfm@gnu.org>
8422
8423 * Source/NSString.m: ([-initWithCharacters:length:]) use
8424 ([-initWithCStringNoCopy:length:freeWhenDone:]) if possible.
8425 * Source/GSString.m: Much tidying up. Added two new concrete
8426 classes for substrings.
8427 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
8428 avoid any attempt to read beyond the supplied string.
8429
8430 2000-10-16 Richard Frith-Macdonald <rfm@gnu.org>
8431
8432 Attempts to make sure that when members of a class cluster are encoded
8433 (either for archiving or for sending over DO), they are encoded as
8434 the abstract class hiding the other classes in the cluster - this
8435 should mean that (in future) changes in the private concrete classes
8436 used should not effect existing archives and running DO applications.
8437 * Source/NSDate.m: Implement -classForCoder to encode as the
8438 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8439 in abstract class.
8440 * Source/NSDictionary.m: Implement -classForCoder to encode as the
8441 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8442 in abstract class.
8443 * Source/NSArray.m: Implement -classForCoder to encode as the abstract
8444 class.
8445 * Source/NSAttributedString.m: Implement -classForCoder to encode as
8446 the abstract class. Implement ([-encodeWithCoder:]) and
8447 ([-initWithCoder:]) in abstract class.
8448 * Source/NSGAttributedString.m: Remove coding/encoding stuff - now done
8449 in abstract class.
8450 * Source/NSNumber.m: Implement -classForCoder to encode numbers as the
8451 abstract class.
8452 Modified ([-encodeWithCoder:]) and ([-initWithCoder:]) to encode objc
8453 type when encoding as abstract class.
8454 * Source/NSConcreteNumber.m: Modified encoding method to mirror
8455 abstract class method. Old ([-initWithCoder:]) method retained to
8456 decode old format records from archives.
8457
8458 2000-10-11 Adam Fedor <fedor@gnu.org>
8459
8460 * Source/NSObject.m (+initialize): Initialize Window sockets
8461 on MINGW.
8462 * Source/libgnustep-base-entry.m (gnustep_base_socket_init):
8463 New function.
8464
8465 2000-10-10 Richard Frith-Macdonald <rfm@gnu.org>
8466
8467 * Source/GSString.m: fillHole() fixed error in copying bytes.
8468
8469 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8470
8471 * Source/NSGAttributedString.m: ([-setAttributes:range:])
8472 Fixed obscure bug - use ASSIGNCOPY rather than ASSIGN to prevent
8473 mutable dictionaries being placed in attributed string.
8474
8475 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8476
8477 Major rewrite of NSString.
8478 There was a fundamental architectural problem in the old
8479 implementation ... if you had an NSGMutableCString object,
8480 and used any method that appends (or replaces) characters in
8481 that string, there was a problem in that the characters being
8482 added may not be representable in the default character set.
8483
8484 This means that we needed the concrete mutable strring class to
8485 be able to mutate itsself from an 8-bit string to a 16-bit string
8486 when necessary (we can't just allocate a new object, because we
8487 have no way of returning it to the caller).
8488
8489 We could not handle this simply by changing the class pointer in
8490 the instance (and reallocating and modifying the memory actually
8491 storing the characters of course). The problem with this is that
8492 the method implementations of the object may have been cached in
8493 the user code (quite likely if you want high performance from a
8494 mutable string) - and subsequent use of those cached implementations
8495 would still try to treat the contents of the string as 8-bit characters.
8496
8497 The solution adopted was to make the standard mutable string class
8498 contain a flag to adjust its behavior so that each method treats
8499 the char data as either 8 or 16 bit.
8500 This makes for ugly code, partially tidied by use of inline functions.
8501
8502 For most of the methods implemented for the constant strings
8503 (rather than being inherited from the abstract class) we now
8504 have two inline functions for 8-bit and 16-bit implementations.
8505 The GSUString and GSCString objects have method implementations
8506 that simply called the appropriate function. The GSMString
8507 implementation of each method tests the flag and calls the
8508 appropriate inline function.
8509
8510 * Headers/gnustep/base/NSString.h: Remove NSGCString, NSGString,
8511 NSGMutableCStrng and NSGMutableString. Add GSString interface and
8512 new version of NXConstantString interface.
8513 * Headers/gnustep/base/fast.x: Remove string caching information.
8514 * Source/GNUmakefile: Don't build old concrete strings or install
8515 their headers. Do build new concrete string (GSString.m)
8516 * Source/GSCompatibility.m: Don't use private concrete strings.
8517 * Source/GSeq.h: Various modifications for new string classes.
8518 * Source/NSArray.m: Don't use private concrete strings.
8519 * Source/NSData.m: Don't use private concrete strings.
8520 * Source/NSDictionary.m: Don't use private concrete strings.
8521 * Source/NSGAttributedString.m: Don't use private concrete strings.
8522 * Source/NSGCString.m: No longer used.
8523 * Source/NSGDictionary.m: Don't use private concrete strings.
8524 * Source/NSGString.m: No longer used.
8525 * Source/NSNotificationCenter.m: Don't use private concrete strings.
8526 * Source/NSObjCRuntime.m: Don't use private concrete strings.
8527 * Source/NSObject.m: Don't cache string information.
8528 * Source/NSScanner.m: Modified to use new concrete strings.
8529 * Source/NSSerializer.m: Modified to use new concrete strings.
8530 * Source/NSString.m: Modified to use new concrete strings. Rewrote
8531 various methods to work in terms of the primitive string methods.
8532 Implemented encoding and decoding at this level so we don't encode
8533 concrete string classes in archives.
8534 * Source/externs.m: Modified to use new concrete strings.
8535 * Source/propList.h: Modified to use new concrete strings.
8536 * Source/GSString.m: New string classes, plus decoding for old ones.
8537
8538 2000-10-05 Richard Frith-Macdonald <rfm@gnu.org>
8539
8540 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Replace
8541 DEFS (lost in last change) to set default paths for NSBundle etc.
8542 * Source/NSString.m: Minor range fixes.
8543 * Source/NSGString.m: initialisation fixes.
8544
8545 2000-10-04 Adam Fedor <fedor@gnu.org>
8546
8547 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Add
8548 CONFIG_SYSTEM_DEFS.
8549
8550 2000-10-05 Fred Kiefer <FredKiefer@gmx.de>
8551
8552 * Source/Unicode.m:
8553 Changed available encodings if HAVE_ICONV is defined. This is
8554 still a static definition.
8555
8556 2000-10-02 Adam Fedor <fedor@gnu.org>
8557
8558 * configure.in: Update required libxml version to 2.2.3
8559
8560 2000-09-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8561
8562 * Source/NSDistantObject.m ([GSDistantObjectPlaceHolder
8563 +respondsToSelector:]): implemented.
8564 * Source/NSProcessInfo.m ([NSProcessInfo +load]): bug fix for FreeBSD.
8565 * configure.in: enable_fake_main not enabled by default for FreeBSD-elf
8566
8567 2000-09-30 Fred Kiefer <FredKiefer@gmx.de>
8568
8569 * Headers/gnustep/base/Unicode.h:
8570 Merged in GetDefEncoding.h
8571 New function GetAvailableEncodings.
8572 * Source/Unicode.m:
8573 Merged in GetDefEncoding.m
8574 New function GetAvailableEncodings.
8575 Updated the encoding arrays.
8576 * Headers/gnustep/base/GetDefEncoding.h:
8577 * Source/GetDefEncoding.m:
8578 This are now obsolete and therfore removed.
8579 * Source/NSString.m:
8580 Use GetAvailableEncodings in [availableStringEncodings]
8581
8582 2000-09-30 Richard Frith-Macdonald <rfm@gnu.org>
8583
8584 * Source/NSString.m: ([-initWithUTFString:length:]),
8585 ([-initWithData:encoding]) create UTF strings as 8-bit strings if
8586 they actually only contain ascii characters.
8587 * Source/GSXML.m: Create strings from UTF8 data throughout.
8588 * Headers/gnustep/base/NSObject.h: (CREATE_AUTORELEASE_POOL) use +new
8589 to avoid a message despatch overhead (combine allocWithZone and init).
8590
8591 2000-09-29 Richard Frith-Macdonald <rfm@gnu.org>
8592
8593 * Source/GSCompatibility.m: Fix stupid error in last modification -
8594 missed part of method name.
8595 * Source/GNUmakefile: Fix to get headers installed in
8596 $(GNUSTEP_SYSTEM_ROOT)/Headers/Foundation again.
8597 * Source/Makefile.postamble: Add code to install headers in
8598 $(GNUSTEP_SYSTEM_ROOT)/Headers/gnustep/Foundation as well - is this
8599 really necessary?
8600 * Headers/Foundation/GSXML.h: Removed new methods used for HTML parser
8601 * Source/GSXML.m: Renamed internal methods for xml/html parser
8602 differentiation and declared in private interface. Tidied to conform
8603 to coding standards. Added casts to prevent compiler warnings.
8604 * Documentation/gsdoc/GSXML.gsdoc: added html parser info
8605
8606 2000-09-29 Manuel Guesdon <mguesdon@orange-concept.com>
8607 -- You'll need libxml2 v >= 2.2.3 to compile GSXML --
8608 * Headers/Foundation/GSXML.h: added GSHTMLParser and GSHTMLSAXHandler
8609 * Source/GSXML.m: added GSHTMLParser and GSHTMLSAXHandler
8610 use of _private member of parser context instead of user_data
8611 which is not a freely useable user_data in libxml
8612
8613 2000-09-27 Richard Frith-Macdonald <rfm@gnu.org>
8614
8615 * Source/GSCompatibility.m: Use OpenStep standard string initialisation.
8616 * Source/NSSerializer.m: Use OpenStep stanrd initializers.
8617 * Source/NSUnarchiver.m: ditto
8618 * Source/NSData.m: Simplify by removing memory management extensions.
8619 * Source/NSGCString.m: ditto
8620 * Source/NSGString.m: ditto
8621 * Source/NSObject.m: ditto
8622 * Source/NSString.m: ditto
8623 * Source/externs.m: Removed unused NXConstantString assignments.
8624 * Source/GSXML.m: ([-propertiesAsDictionary]) bugfix adding nil object
8625 to dictionary. ([-externalSubset:externalID:systemID:]) method added.
8626 Fixes suggested by mguesdon@oxymium.net
8627
8628 2000-09-26 Lyndon Tremblay <humasect@home.com>
8629
8630 * Headers/Foundation/NSObject.h (CREATE_AUTORELEASE_POOL): Saves 1
8631 message call.
8632 (RECREATE_AUTORELEASE_POOL): Added to reuse existing variables.
8633
8634 2000-09-25 Richard Frith-Macdonald <rfm@gnu.org>
8635
8636 * Source/NSURLHandle.m: ([-addClient:]) ensure that clients are only
8637 recorded once.
8638 * Documentation/gsdoc/NSURLHandle.gsdoc: flesh out descriptions and
8639 add type and protocol information.
8640
8641 2000-09-24 Adam Fedor <fedor@gnu.org>
8642
8643 * configure.in: Check for rint in math library...
8644
8645 2000-09-22 Richard Frith-Macdonald <rfm@gnu.org>
8646
8647 * Headers/gnustep/base/NSData.h: Added URL methods.
8648 * Headers/gnustep/base/GSXML.h: Reorganized init methods in line with
8649 Manuels ideas but with naming consistent with other classes.
8650 * Source/NSData.m: Added URL methods.
8651 * Source/NSURL.m: First attempt (untested) at code to load data.
8652 tolerate URLs where the network part is missing and the '//' left out.
8653 * Source/GSXML.m: Reorganized init methods in line with
8654 Manuels ideas but with naming consistent with other classes.
8655 Correct methods for setting parser behavior for the object concerned
8656 rather than default behavior for all parsers.
8657 Support NSURL parsing.
8658 * Source/propList.h: Update for change in GSXMLParser API.
8659 * Documentation/gsdoc/GSXMLParser.gsdoc: update for new initialisation
8660 methods.
8661 * Source/NSArray.m: Put code in place to generate XML proplists
8662 * Source/NSDictionary.m: Put code in place to generate XML proplists
8663 * Source/GSCompatibility.m: Put code in place to generate XML proplists
8664 but disable it until working entity replacement is done.
8665
8666 2000-09-21 Adam Fedor <fedor@gnu.org>
8667
8668 * configure.in: Check for rint.
8669 * Source/GSCompatibility.m: Define rint if not available.
8670
8671 * Source/NSData.m (readContentsOfFile): Remove incorrectly used
8672 variable (MINGW).
8673 * Source/NSFileManager.m (-removeFileAtPath:handler:): Use more
8674 direct check if path is a dir.
8675 (directoryContentsAtPath): Likewise.
8676 (isExecutableFileAtPath): On MINGW, Return YES if a directory.
8677 (fileSystemRepresentationWithPath:): On MINGW, fix up paths that might
8678 come from Unix-like shells, like Cygwin bash, so they can be used with
8679 Windows functions.
8680 * Source/NSRunLoop.m (-acceptInputForMode:beforeDate:): On MINGW,
8681 check for errno==0 and continue as if there was no error.
8682 * Source/NSString.m (fileSystemRepresentation): Use NSFileManager's
8683 implementation.
8684 (getFileSystemRepresentation:): Likewise.
8685 (isAbsolutePath): Check fileSystemRepresentation.
8686 * Source/NSTask.m: Use fileSystemRepresentation instead of cString.
8687 * Source/NSUser.m (NSHomeDirectoryForUser): On MINGW, return nil
8688 if no home found.
8689 * Source/NSUser.m (pathForUser): Use GNUSTEP_ROOT if no user home
8690 found.
8691
8692 * Testing/nsconnection_client.m: Use impl of getopt for MINGW.
8693 * Testing/nsconnection_server.m: Likewise.
8694 * Testing/nsscanner.m: Likewise.
8695 * Testing/nstask.m: Launch an appropriate Windows task.
8696 * Testing/nsstring.m: Catch exception during inappropriate
8697 string replacement.
8698
8699 2000-09-21 Richard Frith-Macdonald <rfm@gnu.org>
8700
8701 * Headers/gnustep/base/NSURLHandle.h: tidy up.
8702 * Source/NSURLHandle.m: Implement class and add simple implementation
8703 of a concrete subclass for handling file URLs.
8704
8705 2000-09-20 Richard Frith-Macdonald <rfm@gnu.org>
8706
8707 * Headers/gnustep/base/GSXML.h: Added ([-parser:]) and removed
8708 redundant 'length' info from callbacks.
8709 * Source/GSXML.m: Added ([-parser:]), tidied ([-parser]), fixed
8710 scope of functions, and removed redundant 'length' info from callbacks.
8711 * Documenttion/gsdoc/GSXMLParser.gsdoc: document ([-parser:])
8712 * Documentation/gsdoc/GSSAXHandler.gsdoc: update for removal of
8713 redundant 'length' info on some callbacks.
8714 * Source/externs.m: Initialise strings using NSGCString because the
8715 NSString class +initialize method may not have completed when this
8716 is done - so NSString won't have cached its cocrete and abstract
8717 classes.
8718 * Source/GSCompatibility.m: Partial write of code to generate MacOS-X
8719 compatible (XML) property-list text.
8720 * Tools/gsdoc.m: Major (3 hours) effort to get code back to something
8721 vaguely like conformance with coding standards! Hope nothing got
8722 broken.
8723
8724 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8725
8726 * Headers/gnustep/base/GSXML.h:
8727 * Source/GSXML.m: Revert to earlier version to remove
8728 formatting/coding-standards errors, broken GSSAXHandler class,
8729 and complexity adding api additions.
8730 Continued integration of Michael Pakhantsovs code.
8731 Added Manuels +xmlEncodingStringForStringEncoding with tidying.
8732 Added Manuels -typeDescription with rewrite for performance.
8733 * Documenttion/gsdoc/GSXMLParser.gsdoc:
8734 added xmlEncodingStringForStringEncoding
8735 * Documenttion/gsdoc/GSXMLNode.gsdoc:
8736 added -typeDescription
8737 * Documentation/gsdoc/GSSAXHandler.gsdoc: added -parser method.
8738
8739 2000-09-19 Manuel Guesdon <mguesdon@orange-concept.com>
8740 You'll need libxml2 v >= 2.2.3 to compile GSXML
8741 * Source/GSXML.m & Headers/Foundation/GSXML.h:
8742 corrected bugs,
8743 added added non guessing construction methods in GSXMLParser
8744 added -typeDescription in GSXMLNode
8745 added +xmlEncodingStringForStringEncoding: in GSXMLParser
8746 added inParserContext:(void*)parserContext parameter for GSSAXHandler
8747
8748 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8749
8750 * Source/NSURLHandle.m: Implemented subclass registry.
8751
8752 2000-09-19 Fred Kiefer <FredKiefer@gmx.de>
8753
8754 * Headers/gnustep/base/Unicode.h:
8755 New functions encode_ustrtostr_strict() and encode_unitochar_strict()
8756 * Source/NSString.m:
8757 Impelemented [initWithUTF8String:]
8758 * Source/NSGCString.m:
8759 * Source/NSGString.m:
8760 Implemented method [dataUsingEncoding:allowLossyConversion:]
8761 * Source/Unicode.m:
8762 New strict methods for string conversion.
8763
8764 2000-09-15 Adam Fedor <fedor@gnu.org>
8765
8766 * configure.in: Turn off enable_fake_main if on MinGW.
8767
8768 * Source/WindowsFileHandle.m: New class.
8769 * Source/NSFileHandle.m: Use it on MinGW
8770 * Source/NSTask.m: Break into concrete subclasses for
8771 Unix and Windows.
8772
8773 * Source/NSProcessInfo.m: on MinGW, don't try to redefine
8774 __argv, __argc, etc.
8775 * Source/libgnustep_base_entry.m: Renamed from win32-entry.m
8776
8777 * Tools/gdnc.m: Don't fork on MinGW
8778 * Tools/gdomap.c: Define MINGW ifdef MINGW32.
8779
8780
8781 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8782
8783 * Source/GSXML.m: made method names more consistent.
8784 * Headers/gnustep/base/GSXML.h: made method names more consistent.
8785 * Documentation/gsdoc/GNUmakefile: Added GSXML files
8786 * Documentation/gsdoc/base.gsdoc: Added link to GSXML
8787 * Documentation/gsdoc/GSXML.gsdoc: Overview of XML parsing.
8788 * Documentation/gsdoc/GSSAXHandler.gsdoc: event parsing handler class.
8789 * Documentation/gsdoc/GSXMLAttribute.gsdoc: xml attribute wrapper.
8790 * Documentation/gsdoc/GSXMLDocument.gsdoc: xml document wrapper.
8791 * Documentation/gsdoc/GSXMLNamespace.gsdoc: xml namespace wrapper.
8792 * Documentation/gsdoc/GSXMLNode.gsdoc: xml node wrapper.
8793 * Documentation/gsdoc/GSXMLParser.gsdoc: xml parser wrapper.
8794
8795 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8796
8797 * Source/UnixFileHandle.m: conform to GCFinalization protocol.
8798
8799 2000-09-14 Adam Fedor <fedor@gnu.org>
8800
8801 * configure.in: Check for windows.h
8802
8803 2000-09-14 Richard Frith-Macdonald <rfm@gnu.org>
8804
8805 * Headers/gnustep/base/NSLock.h: conform to GCFinalization protocol.
8806 * Source/NSLock.m: deallocate mutex in gcFinalize. Don't raise an
8807 exception if mutex deallocation fails.
8808
8809 2000-09-13 Adam Fedor <fedor@gnu.org>
8810
8811 * Remove dependance on Source/Foundation link, additional MINGW ports.
8812 * Makefile.postamble (header-links): Remove Source/Foundation link.
8813 * Source/Makefile.preamble (HEADER_DIR): New variable.
8814 (ADDITIONAL_INCLUDE_DIRS): Include ../Headers.
8815 * Source/GNUmakefile (GENERATED_HEADERS): Change Foundation
8816 to $(HEADER_DIR).
8817 * Source/Makefile.postamble: Likewise.
8818
8819 * Source/GSTcpPost.m: Update to handle MINGW (mostly copied from
8820 gdomap.c).
8821 * Source/NSFileManager.m (-findNextFile): Check if lstat,
8822 geteuid implemented.
8823 * Source/NSHost.m: Change includes for MINGW.
8824 * Source/NSPortNameServer.m: Likewise.
8825 * Source/NSPipe.m (init): Port to MINGW.
8826
8827 * configure.in: Do preface.h substitutions here.
8828 * Source/Makefile.postamble (preface.h): Remove target.
8829
8830 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8831
8832 * Source/GSCompatibility.m: new file for MacOSX compatibility flags
8833 * Source/GNUmakefile: add GSCompatibility.m
8834 * Source/NSGeometry.m: Use GSMacOSXCompatibleGeometry() function to
8835 decide whether to produce MacOS-X format strings.
8836 * Source/propList.h: Parse MacOS-X format property lists as well as
8837 OpenStep format ones.
8838
8839 2000-09-12 Adam Fedor <fedor@gnu.org>
8840
8841 * configure.in: Check for symlin, readlink.
8842
8843 * Source/GNUmakefile: Don't compile UnixFileHandle.m on mingw.
8844 (Will create WindowsFileHandle later...).
8845
8846 * Source/NSFileManager.m (-createDirectoryAtPath:attributes:]):
8847 Create subpaths on mingw.
8848 (isDeletableFileAtPath:): Implement for mingw.
8849 (createSymbolicLinkAtPath): Implement only if HAVE_SYMLINK
8850 (pathContentOfSymbolicLinkAtPath): Implement only if HAVE_READLINK
8851
8852 2000-09-13 Fred Kiefer <FredKiefer@gmx.de>
8853
8854 * Headers/gnustep/base/Unicode.h:
8855 Make function encode_ustrtostr public
8856 * Headers/gnustep/base/NSString.h:
8857 Added extra encodings. Added missing methods
8858 * Source/NSString.m:
8859 Added basic implementation for missing methods
8860 [stringWithUTF8String:], [initWithUTF8String:], [UTF8String],
8861 [stringWithContentsOfURL:], [initWithContentsOfURL:],
8862 [writeToURL:atomically:], [localizedCaseInsensitiveCompare:],
8863 [localizedCompare:], [compare:options:range:locale:]
8864 * Source/NSGCString.m:
8865 [getCharacters:] and [getCharacters:range:] use higher level
8866 methods for conversion.
8867 * Source/Unicode.m:
8868 Added conversion with iconv, this needs HAVE_ICONV.
8869 Made normal conversions faster by unrolling the case switch.
8870
8871 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8872
8873 * Makefile.postamble (header-links): Restore functionality on unix
8874 lost in last change, also (for MINGW) copy header files to the
8875 Source/Foundation directory in addition to Headers/Foundation.
8876 * Source/NSConnection.m: Address problems reported by georg@ist.org ...
8877 ([-connectionWithRegisteredName:host:usingNameServer:]) avoid returning
8878 local server connection - create new connection to it if necessary.
8879 ([-rootProxy]) return root object if sent to server connection.
8880 Also added some more debug statements.
8881 * Source/NSDistantObject.m: ([-methodForSelector:]) implemented to
8882 (hopefully) fix problem in pasteboard stuff.
8883
8884 2000-09-11 Adam Fedor <fedor@gnu.org>
8885
8886 * Mingw fixes.
8887 * Makefile.postamble (header-links): if MINGW, copy header files
8888 to Foundation (Mingw's gcc can't handle links).
8889
8890 * Source/mframe/configure.in: Check target, not host.
8891
8892 * Source/NSDate.m (GSTimeNow): Fix typo.
8893
8894 * Source/NSData.m (readContentsOfFile): Fix up vars for MINGW.
8895 (-writeToFile:atomically:): Likewise.
8896
8897 2000-09-11 Richard Frith-Macdonald <rfm@gnu.org>
8898
8899 * Headers/gnustep/base/GSXML.h: new classes for parsing XML
8900 * Source/GSXML.m: new classes for parsing XML
8901 * Source/Makefile.preamble: Define HAVE_LIBXML if appropriate.
8902 * Source/GNUMakefile: Build new classes if appropriate.
8903 * Tools/Makefile.preamble: Removed libxml stuff - now done globally.
8904
8905 2000-09-10 Richard Frith-Macdonald <rfm@gnu.org>
8906
8907 * Source/NSCalendarDate: ([-initWithString:calendarFormat:locale:])
8908 modify parsing to be more tolerant of numeric fields that are smaller
8909 than the expected size, but warn about unexpected format.
8910
8911 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8912
8913 * Source/NSAttributedString.m: Make -description produce output in
8914 same format as MacOS-X
8915 * Source/NSDistributedNotificationCenter.m: update method return
8916 types for macOS-X complience.
8917 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto.
8918
8919 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8920
8921 * Source/NSGString.m: Removed obsolete methods and added range checks.
8922 * Source/NSGCString.m: ditto.
8923 * Source/NSAttributedString.m: Fix fencepost error in -description.
8924
8925 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8926
8927 * Source/NSRunLoop.m: ([-_checkPerformers:]) When a loop executes the
8928 method to deal with a ([-performSelector:target:argument:order:modes]),
8929 we cancel the request rather than leaving it to be actioned again next
8930 time round the loop.
8931
8932 2000-09-07 Richard Frith-Macdonald <rfm@gnu.org>
8933
8934 * Source/NSGeometry.m: Add code to parse MacOS-X format strings.
8935 Also produce MacOS-X format strings if the GSMacOSXCompatibleGeometry
8936 or GSMacOSXCompatible default is YES (the former overrides the latter).
8937 * Source/NSException.m: ([-name]) and ([-reason]) modifide to ensure
8938 that a nil is never returned.
8939
8940 2000-09-01 Fred Kiefer <FredKiefer@gmx.de>
8941
8942 * Headers/gnustep/base/NSString.h:
8943 Added new encodings from specification
8944 * Headers/gnustep/base/NSNumberFormatter.h:
8945 * Source/NSNumberFormatter.m:
8946 Added skeleton for this class
8947 *Source/GNUmakefile:
8948 Added NSNumberFormatter.[hm]
8949
8950 2000-08-27 Manuel Guesdon <mguesdon@orange-concept.com>
8951
8952 * Tools/gsdoc-0_6_6.dtd: added elements for gnustep-db doc generator
8953 * Tools/gsdoc.m: handle gnustep-db doc generator
8954
8955 2000-08-24 Manuel Guesdon <mguesdon@orange-concept.com>
8956
8957 * Tools/gsdoc-0_6_6.dtd: added prjref element which enable explicit
8958 links between projects
8959 * Tools/gsdoc.m: handle prjref
8960 remove extensions from files in gsdocrefs
8961 (one day we'll generate other formats :-)
8962
8963 2000-08-23 Fred Kiefer <FredKiefer@gmx.de>
8964
8965 * Headers/gnustep/base/NSDecimal.h:
8966 Use signed char for exponent, as char may be unsigned on some machines
8967 * Source/NSDecimal.m:
8968 Corrected some bugs and added a basic implementation based on GMP
8969 (Still not complete)
8970
8971 2000-08-23 Adam Fedor <fedor@gnu.org>
8972
8973 * Source/NSDebug.m (NSFrameAddress): New function
8974 (NSReturnAddress): Likewise.
8975 (NSCountFrames): Likewise. (impementation from alex@orderfusion.com).
8976
8977 2000-08-16 Manuel Guesdon <mguesdon@orange-concept.com>
8978
8979 * Tools/gsdoc-0_6_6.dtd: added conform for category
8980 * Tools/gsdoc.m: correct bugs and added inter/intra-projects
8981 link generations
8982 * Tools/AutoDocTemplate.gsdoc: correct problems
8983 * Tools/indextemplate.gsdoc: correct problems
8984
8985 2000-08-16 Richard Frith-Macdonald <rfm@gnu.org>
8986
8987 * Source/NSDebug.m: Fix memory leak when adding new class to array
8988 of those being recorded - report by Frederic.De.Jaeger
8989
8990 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8991
8992 * Tools/gsdoc.gsdoc: added examples on how to use AutoDoc and GSDoc.
8993
8994 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8995
8996 * Tools/GNUmakefile: added DocTemplates
8997 * Tools/Makefile.postamble: added DocTemplates
8998 * Tools/indextemplate.gsdoc: New file. Use it as template for
8999 gsdoc index generation
9000 * Tools/AutoDocTemplate.gsdoc: New File: Use it as template for AutoDoc
9001 source-to-documentation generation.
9002
9003 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
9004
9005 * Tools/gsdoc-0_6_6.dtd: added ivariable, constant and stylesheet
9006 * Tools/gsdoc.m: added ivariable, constant and stylesheet support
9007 added index generation
9008 * Tools/gsdoc.gsdoc: added parameters documentation
9009
9010 2000-08-13 Richard Frith-Macdonald <rfm@gnu.org>
9011
9012 * Documentation/gsdoc/NSString.gsdoc: add documentation for replacing
9013 strings within the reciever.
9014 * Documentation/gsdoc/NSMutableString.gsdoc: ditto
9015
9016 2000-08-08 Richard Frith-Macdonald <rfm@gnu.org>
9017
9018 * Headers/gnustep/base/all.h: Moved to Old as obsolete file.
9019 * Headers/gnustep/base/Arch: dittoiver.m
9020 * Headers/gnustep/base/Archiver.h: ditto
9021 * Headers/gnustep/base/Array.h: ditto
9022 * Headers/gnustep/base/ArrayPrivate.h: ditto
9023 * Headers/gnustep/base/Bag.h: ditto
9024 * Headers/gnustep/base/BinaryCStream.h: ditto
9025 * Headers/gnustep/base/BinaryTree.h: ditto
9026 * Headers/gnustep/base/BinaryTreeNode.h: ditto
9027 * Headers/gnustep/base/CircularArray.h: ditto
9028 * Headers/gnustep/base/CircularArrayPrivate.h: ditto
9029 * Headers/gnustep/base/Coder.h: ditto
9030 * Headers/gnustep/base/CoderPrivate.h: ditto
9031 * Headers/gnustep/base/Coding.h: ditto
9032 * Headers/gnustep/base/Collecting.h: ditto
9033 * Headers/gnustep/base/Collection.h: ditto
9034 * Headers/gnustep/base/CollectionPrivate.h: ditto
9035 * Headers/gnustep/base/CStream.h: ditto
9036 * Headers/gnustep/base/CStreaming.h: ditto
9037 * Headers/gnustep/base/DelegatePool.h: ditto
9038 * Headers/gnustep/base/Dictionary.h: ditto
9039 * Headers/gnustep/base/Enumerating.h: ditto
9040 * Headers/gnustep/base/GapArray.h: ditto
9041 * Headers/gnustep/base/GapArrayPrivate.h: ditto
9042 * Headers/gnustep/base/Heap.h: ditto
9043 * Headers/gnustep/base/IndexedCollecting.h: ditto
9044 * Headers/gnustep/base/IndexedCollection.h: ditto
9045 * Headers/gnustep/base/IndexedCollectionPrivate.h: ditto
9046 * Headers/gnustep/base/InvalidationListening.h: ditto
9047 * Headers/gnustep/base/Invocation.h: ditto
9048 * Headers/gnustep/base/Invoking.h: ditto
9049 * Headers/gnustep/base/KeyedCollecting.h: ditto
9050 * Headers/gnustep/base/KeyedCollection.h: ditto
9051 * Headers/gnustep/base/LinkedList.h: ditto
9052 * Headers/gnustep/base/LinkedListNode.h: ditto
9053 * Headers/gnustep/base/Locking.h: ditto
9054 * Headers/gnustep/base/Mach: dittoPort.m
9055 * Headers/gnustep/base/MachPort.h: ditto
9056 * Headers/gnustep/base/Magnitude.h: ditto
9057 * Headers/gnustep/base/MappedCollector.h: ditto
9058 * Headers/gnustep/base/MemoryStream.h: ditto
9059 * Headers/gnustep/base/NotificationDispatch: dittoer.m
9060 * Headers/gnustep/base/NotificationDispatcher.h: ditto
9061 * Headers/gnustep/base/OldNSConnection.h: ditto
9062 * Headers/gnustep/base/OldNSPortCoder.h: ditto
9063 * Headers/gnustep/base/OrderedCollecting.h: ditto
9064 * Headers/gnustep/base/OrderedCollection.h: ditto
9065 * Headers/gnustep/base/Ordering.h: ditto
9066 * Headers/gnustep/base/Port.h: ditto
9067 * Headers/gnustep/base/Queue.h: ditto
9068 * Headers/gnustep/base/RandomGenerating.h: ditto
9069 * Headers/gnustep/base/Random.h: ditto
9070 * Headers/gnustep/base/RawCStream.h: ditto
9071 * Headers/gnustep/base/RBTree.h: ditto
9072 * Headers/gnustep/base/RBTreeNode.h: ditto
9073 * Headers/gnustep/base/Retaining.h: ditto
9074 * Headers/gnustep/base/RNGAdditiveCongruential.h: ditto
9075 * Headers/gnustep/base/RNGBerkeley.h: ditto
9076 * Headers/gnustep/base/RunLoop.h: ditto
9077 * Headers/gnustep/base/Set.h: ditto
9078 * Headers/gnustep/base/SplayTree.h: ditto
9079 * Headers/gnustep/base/Stack.h: ditto
9080 * Headers/gnustep/base/StdioStream.h: ditto
9081 * Headers/gnustep/base/Stream.h: ditto
9082 * Headers/gnustep/base/Streaming.h: ditto
9083 * Headers/gnustep/base/TcpPort.h: ditto
9084 * Headers/gnustep/base/TextCStream.h: ditto
9085 * Headers/gnustep/base/Time.h: ditto
9086 * Headers/gnustep/base/UdpPort.h: ditto
9087 * Headers/gnustep/base/ValueHolding.h: ditto
9088 * Source/Array.m: ditto
9089 * Source/Bag.m: ditto
9090 * Source/BinaryCStream.m: ditto
9091 * Source/BinaryTree.m: ditto
9092 * Source/BinaryTreeNode.m: ditto
9093 * Source/CircularArray.m: ditto
9094 * Source/Coder.m: ditto
9095 * Source/Collection.m: ditto
9096 * Source/CStream.m: ditto
9097 * Source/Decoder.m: ditto
9098 * Source/DelegatePool.m: ditto
9099 * Source/Dictionary.m: ditto
9100 * Source/Encoder.m: ditto
9101 * Source/GapArray.m: ditto
9102 * Source/Heap.m: ditto
9103 * Source/IndexedCollection.m: ditto
9104 * Source/Invocation.m: ditto
9105 * Source/KeyedCollection.m: ditto
9106 * Source/LinkedList.m: ditto
9107 * Source/LinkedListNode.m: ditto
9108 * Source/Magnitude.m: ditto
9109 * Source/MappedCollector.m: ditto
9110 * Source/MemoryStream.m: ditto
9111 * Source/OldNSConnection.m: ditto
9112 * Source/OldNSPortCoder.m: ditto
9113 * Source/OrderedCollection.m: ditto
9114 * Source/Port.m: ditto
9115 * Source/Queue.m: ditto
9116 * Source/Random.m: ditto
9117 * Source/RawCStream.m: ditto
9118 * Source/RBTree.m: ditto
9119 * Source/RBTreeNode.m: ditto
9120 * Source/RNGAdditiveCongruential.m: ditto
9121 * Source/RNGBerkeley.m: ditto
9122 * Source/Set.m: ditto
9123 * Source/SplayTree.m: ditto
9124 * Source/Stack.m: ditto
9125 * Source/StdioStream.m: ditto
9126 * Source/Stream.m: ditto
9127 * Source/TcpPort.m: ditto
9128 * Source/TextCStream.m: ditto
9129 * Source/UdpPort.m: ditto
9130 * Testing/cstream.m: ditto
9131 * Testing/invocation_char.m: ditto
9132 * Testing/invocation_int.m: ditto
9133 * Testing/invocation_long.m: ditto
9134 * Testing/invocation.m: ditto
9135 * Testing/invocation_short.m: ditto
9136 * Testing/ostream.h: ditto
9137 * Testing/ostream.m: ditto
9138 * Testing/pipes.m: ditto
9139
9140 2000-08-07 Adam Fedor <fedor@gnu.org>
9141
9142 * Merge 0.6.6 branch into main.
9143
9144 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9145
9146 * Tools/gdomap.c: Permit dumping of internal table of known peer
9147 nameservers when sent SIGUSR1
9148
9149 2000-07-20 Richard Frith-Macdonald <rfm@gnu.org>
9150
9151 * Tools/gdomap.c: Bugfix for GDO_NAMES (patch provided by Bjoern)
9152
9153 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9154
9155 * Tools/gdomap.h: Add new GDO_NAMES command.
9156 * Tools/gdomap.c: Incorporate MINGW port by Bjoern.Giesler@gmx.de
9157 after modifications to conform to coding standards.
9158 Add GDO_NAMES support to list all registered names.
9159
9160 2000-07-16 Fred Kiefer <FredKiefer@gmx.de>
9161
9162 * Headers/gnustep/base/NSDecimal.h:
9163 * Headers/gnustep/base/NSDecimalNumber.h:
9164 Included missing functions and changed type definition.
9165 * Source/NSDecimal.m:
9166 Basic implementation of NSDecimal. An implementation using GMP
9167 will follow.
9168 * Source/NSDecimalNumber.m:
9169 Use the NSDecimal functions for this class
9170 * Source/GNUMakefile:
9171 Add NSDecimal and NSDecimalNumber
9172
9173 2000-08-06 Adam Fedor <fedor@gnu.org>
9174
9175 * Version 0.6.6 released.
9176
9177 * Source/NSTimer.m (-compare:): Add return to quiet warning.
9178
9179 2000-08-04 Richard Frith-Macdonald <rfm@gnu.org>
9180
9181 * Source/NSPortNameServer.m: include netinet/in.h as needed on
9182 FreeBSD to define values used in arpa/inet.h
9183
9184 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9185
9186 * Source/NSHost: ([_initWithHostEntry:key:]) workaround for buggy
9187 host entries with missing h_aliases
9188
9189 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9190
9191 * NSTimeZones/NSTimeZones.tar: Updated to latest (July 31st) info
9192
9193 2000-08-02 Adam Fedor <fedor@gnu.org>
9194
9195 * Version: Update version number
9196 * Documentation/announce.tmpl.texi: Update
9197 * Documentation/readme.tmpl.texi: Likewise.
9198 * Documentation/news.tmpl.texi: Likewise.
9199 * Documentation/todo.tmpl.texi: Likewise.
9200 * ANNOUNCE, BUGS, NEWS, README: Regenerate
9201
9202 2000-08-02 Adam Fedor <fedor@gnu.org>
9203
9204 * Testing/nsconnection_client.m: Rewrite, organize.
9205 * Testing/nsconnection_server.m: Likewise.
9206
9207 2000-08-02 Richard Frith-Macdonald <rfm@gnu.org>
9208
9209 * Source/GSTcpPort.m: ([-removeHandle:]) corrected logic for releasing
9210 self when port was created and retained by an incoming connection.
9211
9212 2000-08-01 Adam Fedor <fedor@gnu.org>
9213
9214 * Source/NSConcreteNumber.m (-compare:): Add return at end to quiet
9215 compiler warning.
9216
9217 * Source/NSFileHandle.m: Change +fileHandle... methods to use
9218 abstracts class's allocWithZone.
9219
9220 * Source/libgnustep-base.def: Update for new/removed classes.
9221
9222 2000-08-01 Richard Frith-Macdonald <rfm@gnu.org>
9223
9224 * Source/NSCalendarDate.m: Correct order of args to
9225 lastDayOfGregorianMonth()
9226 * Source/NSPortCoder.m: Handle classes encoded as objects specially.
9227 * Source/NSArchiver.m: ditto.
9228 * Source/NNSUnarchiver.m: ditto.
9229
9230 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9231
9232 * Source/Foundation/NSDebug.h: removed GS_IMPORT
9233 * Source/Foundation/NSObjCRuntime.h: ditto
9234 * Source/Foundation/GSConfig.h.in: ditto
9235
9236 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9237
9238 * Source/NSString.m: implement -cStringLength correctly in terms of
9239 other methods of the abstract class, rather than making the subclass
9240 do it. Cache [-characterAtIndex:] implementation for speed
9241 throughout.
9242 * Source/Unicode.m: Remove uslen() function - unused and unsafe.
9243 Tidied code and optimised a little.
9244 * Source/Foundation/Unicode.h: Remove uslen()
9245 * Source/NSNumber.m: Check for nul argument to [-compare:]
9246 * Source/NSDate.m: ditto
9247 * Source/NSObject.m: ditto
9248 * Source/NSConcreteNumber.m: ditto
9249 * Source/NSTimer.m: ditto
9250
9251 2000-07-30 Richard Frith-Macdonald <rfm@gnu.org>
9252
9253 * Tools/nconnection.m: Trivial test of basic inter-thread use of
9254 DO taken from example code in Applde documentation.
9255
9256 2000-07-29 Richard Frith-Macdonald <rfm@gnu.org>
9257
9258 Varous cluster classes - Bugfix to let allocWithZone work for
9259 new concrete subclasses in the cluster.
9260 * Source/NSPortCoder.m: Accept classes when asked to decode object.
9261 * Source/NSUnarchiver.m: ditto.
9262
9263 2000-07-28 Richard Frith-Macdonald <rfm@gnu.org>
9264
9265 * Source/NSConnection.m: Don't create/use locks until the app
9266 goes multi-threaded.
9267 * Source/GSTcpPort.m: ditto.
9268
9269 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9270
9271 * Source/GSTcpPort.m: Fix stupid error in last bugfix
9272 * Source/Foundation/GSConfig.h.in: define GS_SIZEOF_VOIDP
9273 * configure.in: provide GS_SIZEOF_VOIDP
9274
9275 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9276
9277 * Source/NSThread.m: clarify code for getting current thread.
9278
9279 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9280
9281 * Source/Foundation/NSDebug.h: Bugfix reported by Frederic.De.Jaeger
9282 to prevent incorrect processor handling of cases where logging format
9283 string has no arguments.
9284
9285 2000-07-26 Richard Frith-Macdonald <rfm@gnu.org>
9286
9287 * Source/GSTcpPort.m: When given bad data on a socket, log a message
9288 and invalidate the socket handle rather than raising an exception
9289 and crashing. Should make system more robust in the face of attacks.
9290
9291 2000-07-24 Adam Fedor <fedor@gnu.org>
9292
9293 * Source/GSTcpPort.m
9294 (-sendBeforeDate:msgid:components:from:reserved:]): Correct typo.
9295
9296 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9297
9298 Testing directory tidied to reflect removal of old classes.
9299 * Source/NSTimer.m: Tidied a little.
9300
9301 2000-07-23 Richard Frith-Macdonald <rfm@gnu.org>
9302
9303 Old DO code removed along with associated libObjects classes that it
9304 required - library slimmed down.
9305
9306 2000-07-21 Richard Frith-Macdonald <rfm@gnu.org>
9307
9308 * Source/NSGCString.m: implement methods to get numeric values.
9309 * Source/NSGString.m: implement methods to get numeric values.
9310
9311 2000-07-19 Adam Fedor <fedor@gnu.org>
9312
9313 * Documentation/news.tmpl.texi: Update.
9314 * Documentation/todo.tmpl.texi: Update.
9315
9316 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9317
9318 * Tools/Makefile.postamble: Improve warning messages for gdomap install
9319 * Source/NSProcessInfo.m: Change __MINGW32__ to __MINGW__
9320 * Source/GSTcpPort.m: improve encoding of local port for send over wire
9321
9322 2000-07-17 Adam Fedor <fedor@gnu.org>
9323
9324 * Source/NSZone.m: Remove duplicate function definitions (when
9325 GS_WITH_GC is 1) already defined in NSZone.h.
9326
9327 2000-07-17 Richard Frith-Macdonald <rfm@gnu.org>
9328
9329 * Source/externs.m: Some evil casts to avoid compiler warnings about
9330 assigning to constant variables when we initiallise them.
9331 * Source/NSGSet.m: implemented [-anyObject] and [-allObjects]
9332 * Source/NSSet.m: Fix to encode subclasses as abstract class.
9333 Remove unused methods for set/get concrete class
9334 * Source/NSCountedSet.m: ditto
9335 * Source/NSNumber.m: Use explicitly signed types for portability -
9336 particularly for systems (eg PPC) where char is not signed by default.
9337 * Source/NSConcrete.m: ditto.
9338 * Source/NSConcreteNumber.m: ditto.
9339 * Source/Foundation/NSValue.h: ditto
9340 * Source/Foundation/NSConcreteNumber.h: ditto
9341 * Source/NSArray.m: Remove unused methods for set/get concrete class
9342 * Source/NSDictionary.m: ditto.
9343 * Source/NSString.m: ditto.
9344 * Source/NSAttributedString.m: ditto.
9345 * Source/NSHost.m: store names and addresses in sets for improved
9346 performance (comparisons).
9347 Encode host as an address other than loopback if possible.
9348 Add code for a new '+localHost' method to try to get ALL
9349 names/addresses of current host.
9350 * Source/NSPortNameServer.m: Use new localHost method.
9351 * Source/GSTcpPort.m: Use new localHost method.
9352
9353 2000-07-16 Adam Fedor <fedor@gnu.org>
9354
9355 * Tools/GNUmakefile (gdomap): Make as a C-tool rather than an
9356 Objective-C program (no need for libobjc).
9357
9358 2000-07-07 Jonathan Gapen <jagapen@home.com>
9359
9360 * Source/NSString.m: (-initWithFormat:), (-initWithFormat:locale:),
9361 (-initWithFormat:arguments:) now implemented by calling
9362 (-initWithFormat:locale:arguments:)
9363 * Source/externs.m: Add strings defined in MacOS X documentation,
9364 and useful strings from OPENSTEP 4.2.
9365
9366 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9367
9368 * Source/GSTcpPort.m: set size for return buffer of getsockbyname()
9369
9370 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9371
9372 * Source/NSRunLoop.m: Minor optimisation in select(), also update
9373 servicing oorder of inputs to provide fairer allocation of processing.
9374
9375 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9376
9377 * Source/NSConnection.m: Some thread safety improvements.
9378
9379 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9380
9381 * Source/GSTcpPort.m: Add code to cope with machines requiring word
9382 alignment for memory references.
9383
9384 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9385
9386 * Tools/Makefile.postabmle: Create directory for DTDs if needed
9387
9388 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9389
9390 * Source/GSTcpHandle.m: fix error resetting size of data to be read -
9391 could cause occasional crashes!
9392
9393 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9394
9395 * Source/NSConnection.m: Update to use GSIMap rather than NSMap in
9396 order to regain performance lost by adding code to ensure that reply
9397 packets cannot be leaked. Fixed error in old connection code - due
9398 to a typing error a line had got deleted that was removing the
9399 connection from the global table on deallocation.
9400 * Source/NSPortNameServer.m: Fix to avoid errors when given bad
9401 nameserver IP address info.
9402
9403 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9404
9405 * Makefile.preamble: define GS_NEW_DO to specify whether the
9406 new or the old DO code is to be used. Change the define and
9407 rebuild the library if you need the old DO code.
9408 Advantages of new code -
9409 MacOS-X compatibly
9410 Should work between different processor architectures and word sizes
9411 Might work for inter-thread communication
9412 Approx 25% faster
9413 Permit packet authentication/encryption
9414 Disadvantages -
9415 not well tested - development version
9416 removed many old methods.
9417 * Headers/gnustep/base/GSConnection.h: removed - merged into
9418 NSConnection.h
9419 * Headers/gnustep/base/GSPortCoder.h: removed - merged into
9420 NSPortCoder.h
9421 * Source/GSConnection.m: removed - merged into NSConnection.m
9422 * Source/GSPortCoder.m: removed - merged into NSPortCoder.m
9423 * Source/NSPortNameServer.m: Use GS_NEW_DO define to determine
9424 default port class
9425 * Documentation/gsdoc/NSConnection.gsdoc: Added descriptions of
9426 all the methods in the new implementation. The class is
9427 perilously close to being fully documented!
9428 * Documentation/gsdoc/...: updated all files to use new dtd.
9429
9430 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9431
9432 * Source/GSConnection.m: Improved coder caching and added code for
9433 multiple thread support.
9434 * Source/GSPortCoder.m: Improved performance of class version
9435 lookup and tidied.
9436 * Source/GSTcpPort.m: Ensure we don't remain in the run loop any
9437 longer than necessary.
9438 * Source/NSArchiver.m: minor tidyup
9439 * Source/NSDistantObject.m: minor performance tweak
9440 * Source/NSUnarchiver.m: minor tidyup.
9441 * Source/NSPortNameServer.m: Update for MacOS-X
9442
9443 2000-07-03 Richard Frith-Macdonald <rfm@gnu.org>
9444
9445 * Source/GSConnection.m: Cache coders fro performance.
9446 * Source/GSPortCoder.m: support re-use.
9447 * Source/GSTcpPort.m: tidy locking.
9448 * Source/NSData.m: optimize +new
9449 * Source/NSGCString.m: optimize -hash
9450 * Source/NSGDictionary.m: optimize string hashing
9451 * SourceNSObject.m: Call GSBuildStrings() for global constants.
9452 * Source/NSPort.m: Create GSTcpPort by default.
9453 * Source/externs.m: GSBuildStrings() now used to make string
9454 constants that support cached hash values
9455 * Testing/client.m: Added simple benchmarking.
9456 * Testing/server.m: Added method for simple benchmarking.
9457 * Testing/server.h: Added method for simple benchmarking.
9458 * Tools/gdnc.m: String OPENSTEP use of DO
9459
9460 2000-07-02 Richard Frith-Macdonald <rfm@gnu.org>
9461
9462 * Source/GSConnection.m: Implementation almost complete
9463 * Source/GSPortCoder.m: Completed
9464 * Source/GSTcpPort.m: tidied for MacOS-X compatibility
9465 * Source/NSArchiver.m: Bugfix encoding structures containing arrays
9466 * Source/NSData.m: minor tidy
9467 * Source/NSDistantObject.m: update for new implementation
9468 * Source/NSInvocation.m: bugfix decoding
9469 * Source/NSPort.m: update for MacOS-X complience
9470 * Source/NSPortNameServer.m: tidied
9471 * Testing/client.m: Update
9472 * Testing/server.m: update
9473
9474 2000-06-30 Adam Fedor <fedor@gnu.org>
9475
9476 libgstep-base now compiles (and links) into a DLL on Cygwin.
9477 * configure.in: Typo in checking for cygwin.
9478
9479 * Headers/gnustep/base/NSHashTable.h: GS_EXPORT functions.
9480 * Headers/gnustep/base/NSMapTable.h: Likewise.
9481
9482 * Source/Makefile.postamble (libgnustep-base.def) Target to generate
9483 def file.
9484 * Source/libgnustep-base.def: Updated.
9485
9486 * Source/NSProcessInfo.m: Error message if GS_PASS_ARGUMENTS. Don't
9487 define main if GS_PASS_ARGUMENTS.
9488
9489 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9490
9491 * Headers/gnustep/base/NSDate.h: Added GSTime() function
9492 * Source/NSDate.m: More efficient MINGW date creation
9493 * Source/NSCalendarDate.m: optimised date creation from yymmddhhmmss
9494 * Source/NSData.m: MINGW file read and write operations added (untested)
9495 * Source/NSFileManager.m: MINGW file operations updated.
9496
9497 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9498
9499 Coding/decoding modifications to make system more in line with
9500 OPENSTEP/MacOS-X. Tidyup of global string constants. Advanced
9501 development of DO rewrite.
9502 * Headers/gnustep/base/DistributedObjects.h: removed obsolete info
9503 * Headers/gnustep/base/GSConnection.h: improved and tidied
9504 * Headers/gnustep/base/GSPortCoder.h: private method for connection
9505 * Headers/gnustep/base/NSArchiver.h: remove libobjects compatibility
9506 * Headers/gnustep/base/NSCoder.h: added libobjects compatibility
9507 * Headers/gnustep/base/NSException.h: tidied
9508 * Headers/gnustep/base/NSPortMessage.h: private method for connections
9509 * Headers/gnustep/base/NSRunLoop.h: tidied string constants.
9510 * Headers/gnustep/unicode/decomp.h: tidied to avoid compiler warning.
9511 * Source/GSConnection.m: largely implemented (untested)
9512 * Source/GSPortCoder.m: more efficient data coding
9513 * Source/NSArchiver.m: moved global constants to externs.m
9514 * Source/NSAttributedString.m: don't call super coding methods.
9515 * Source/NSCoder.m: add libobjects compatibility
9516 * Source/NSConnection.m: tidied a few bugs
9517 * Source/NSDistantObject.m: don't call super coding methods.
9518 * Source/NSGAttributedString.m: don't call super coding methods.
9519 * Source/NSHost.m: don't call super coding methods.
9520 * Source/NSNotification.m: don't call super coding methods.
9521 * Source/NSObject.m: tidied a little
9522 * Source/NSPort.m: moved global constants to externs.m
9523 * Source/NSPortMessage.m: new access method for connections.
9524 * Source/NSRunLoop.m: moved global constants to externs.m
9525 * Source/NSTimeZone.m: don't call super coding methods.
9526 * Source/NSURL.m: don't call super coding methods.
9527 * Source/NSUnarchiver.m: tidied.
9528 * Source/externs.m: Tdied and added new global constants.
9529
9530 2000-06-28 Adam Fedor <fedor@gnu.org>
9531
9532 Extension to force process args to be forwarded by the user.
9533 * configure.in (enable-pass-arguments): New switch that forces user
9534 to call NSProcessInfo initialization with process arguments.
9535 * Headers/gnustep/base/GSConfig.h.in (GS_PASS_ARGUMENTS): New define.
9536 * Source/NSProcessInfo.m (+initializeWithArguments:count:environment:):
9537 New method.
9538 * Tools/defaults.m (main): Update to call method if GS_PASS_ARGUMENTS.
9539 * Tools/gdnc.m: Likewise.
9540 * Tools/gsdoc.m: Likewise.
9541 * Tools/pldes.m: Likewise.
9542 * Tools/plmerge.m: Likewise.
9543 * Tools/plparse.m: Likewise.
9544 * Tools/plser.m: Likewise.
9545 * Tools/sfparse.m: Likewise.
9546
9547 * Source/behavior.m: Define __objc_uninstalled_dtable if not available
9548 from runtime.
9549
9550 2000-06-28 Richard Frith-Macdonald <rfm@gnu.org>
9551
9552 Various minor tidyups for distributed objects - and included development
9553 code for NSConnection rewrite.
9554 * Headers/gnustep/base/DistributedObjects.h: removed obsolete methods
9555 * Headers/gnustep/base/GSConnection.h: temporary (development) class
9556 * Headers/gnustep/base/GSPortCoder.h: private method for GSConnection
9557 * Headers/gnustep/base/NSConnection.h: tidied
9558 * Source/GSConnection.m: temporary (development) class
9559 * Source/GSPortCoder.m: private method for GSConnection
9560 * Source/NSConnection.m: tidied a little - retain/release fixes
9561 * Source/NSDistantObject.m: tidied a little - use OPENSTEP method
9562 for creating new connection.
9563 * Source/NSPortCoder.m: tidied to work without GNU specific code.
9564
9565 2000-06-27 Adam Fedor <fedor@gnu.org>
9566
9567 * Fixes on solaris/gcc 2.8.0
9568 * configure.in: Check for whoami location.
9569 * Source/Makefile.postamble: Use it.
9570 * Tools/Makefile.postamble: Use it.
9571
9572 * Tools/gsdoc.m: Make sure exit status is 0 when no libxml
9573
9574 * Makefile.postamble: Don't make documentation on install. Can't
9575 guarentee that library path is setup correctly yet.
9576
9577 * Source/NSData.m: Correct sense of NEEDS_WORD_ALIGN test.
9578
9579 2000-06-27 Richard Frith-Macdonald <rfm@gnu.org>
9580
9581 * Source/NSPort.m: Add default support for coding using the
9582 encodePortObject and decodePortObject methods.
9583 * Source/NSData.m: Use encodeDataObject and decodeDataObject
9584
9585 2000-06-26 Adam Fedor <fedor@gnu.org>
9586
9587 * Source/NSTimer.m (-invalidate): Remove assertion.
9588
9589 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9590
9591 * Source/GSPortCoder.m: Rewrite of NSPortCoder - under development.
9592 * Headers/gnustep/base/GSPortCoder.h: ditto
9593 * Source/GNUmakefile: Build GSPortCoder
9594
9595 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9596
9597 * Source/NSCoder.m: Use AUTORELEASE and tidy up.
9598 * Source/NSArchiver.m: Fix bug in ([-replaceObject:withObject:])
9599 * Source/NSObject.m: Optimise default replacementObjectForPortCoder
9600
9601 2000-06-23 Richard Frith-Macdonald <rfm@gnu.org>
9602
9603 * Source/NSFileHandle.m: Use AUTORELEASE and tidy up.
9604
9605 2000-06-21 Adam Fedor <fedor@gnu.org>
9606
9607 * Shared library (DLL) fixes on Windows
9608 * configure.in: Check for alternate objc (DLL) libraries.
9609 Look for objc_get_uninstalled_dtable.
9610 * Source/behavior.m (behavior_class_add_methods): Don't look for
9611 uninstalled_dtable if no objc_get_uninstalled_dtable.
9612 (check_class_methods): Remove unused.
9613 * Source/objc-load.m: Likewise.
9614
9615 * Headers/gnustep/base/NSObjCRuntime.h: Define GS_EXPORT
9616 * Headers/gnustep/base/NSZone.h: Define functions either static
9617 or extern depending on whether NSZone.m is being compiled.
9618 * Source/NSZone.m: Remove duplicate functions.
9619 * Source/Makefile.preamble (LIBRARIES_DEPEND_UPON): Add -lobjc
9620 if on windows.
9621
9622 * Source/UdpPort.m: Use NSMutableArray.
9623
9624 2000-06-19 Adam Fedor <fedor@gnu.org>
9625
9626 * Source/NSBundle.m (_bundle_name_first_match): Work even when
9627 filename has a directory component. (patch from Julian van
9628 Greunen <vangrn@lantic.co.za>).
9629
9630 2000-06-21 Richard Frith-Macdonald <rfm@gnu.org>
9631
9632 * Source/NSScanner.m: ([-scanHexInt:]) fixed to permit leading 0x or 0X
9633 * Documentation/gsdoc/NSScanner.gsdoc: fleshed out
9634 * Tools/Makefile.postamble: Added documentation target - build before
9635 install
9636 * Tools/gsdoc-0_6_6.dtd: New dtd under development - add java support,
9637 permit multiple indices at end of document, permit <br/> element.
9638 * Tools/gsdoc.m: Update to work with current dtd
9639 * Tools/gsdoc.gsdoc: Add a little more text on document body structure.
9640
9641 2000-06-20 Richard Frith-Macdonald <rfm@gnu.org>
9642
9643 * configure.in: Added check for recent libxml
9644 * config.mak.in: Added defeine for HAVE_LIBXML
9645 * Tools/gsdoc.m: Added from GSDoc and modified for standard
9646 libxml 2.0 installation
9647 * Tools/gsdoc-0_6_5.dtd: Added from GSDoc
9648 * Tools/gsdoc.gsdoc: Added from GSDoc
9649 * Tools/gnustep.gsdoc: Added from GSDoc
9650 * GSDoc: all removed
9651 * Examples: removed obsolete code.
9652
9653 2000-06-19 Richard Frith-Macdonald <rfm@gnu.org>
9654
9655 * Source/NSDate.m: Remove obsolete classForConnectedCoder method
9656 * Source/NSPort.m: ditto
9657 * Source/NSTcpPort.m: ditto
9658 * Source/NSUdpPort.m: ditto
9659 * Source/GNUmakefile: remove ConnectedCoder
9660 * Source/ConnectedCoder.m: removed
9661 * Headers/gnustep/base/ConnectedCoder.h: removed
9662
9663 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9664
9665 Removal of non-OpenStep unused classes.
9666 * Headers/gnustep/base/Archiver.h: removed
9667 * Headers/gnustep/base/Array.h: removed
9668 * Headers/gnustep/base/ArrayPrivate.h: removed
9669 * Headers/gnustep/base/Bag.h: removed
9670 * Headers/gnustep/base/BinaryTree.h: removed
9671 * Headers/gnustep/base/BinaryTreeNode.h: removed
9672 * Headers/gnustep/base/CircularArray.h: removed
9673 * Headers/gnustep/base/CircularArrayPrivate.h: removed
9674 * Headers/gnustep/base/Collecting.h: removed
9675 * Headers/gnustep/base/Collection.h: removed
9676 * Headers/gnustep/base/CollectionPrivate.h: removed
9677 * Headers/gnustep/base/DelegatePool.h: removed
9678 * Headers/gnustep/base/Dictionary.h: removed
9679 * Headers/gnustep/base/GapArray.h: removed
9680 * Headers/gnustep/base/GapArrayPrivate.h: removed
9681 * Headers/gnustep/base/Heap.h: removed
9682 * Headers/gnustep/base/IndexedCollecting.h: removed
9683 * Headers/gnustep/base/IndexedCollection.h: removed
9684 * Headers/gnustep/base/IndexedCollectionPrivate.h: removed
9685 * Headers/gnustep/base/InvalidationListening.h: removed
9686 * Headers/gnustep/base/Invocation.h: removed
9687 * Headers/gnustep/base/Invoking.h: removed
9688 * Headers/gnustep/base/KeyedCollecting.h: removed
9689 * Headers/gnustep/base/KeyedCollection.h: removed
9690 * Headers/gnustep/base/LinkedList.h: removed
9691 * Headers/gnustep/base/LinkedListNode.h: removed
9692 * Headers/gnustep/base/Magnitude.h: removed
9693 * Headers/gnustep/base/MappedCollector.h: removed
9694 * Headers/gnustep/base/NotificationDispatcher.h: removed
9695 * Headers/gnustep/base/OrderedCollecting.h: removed
9696 * Headers/gnustep/base/OrderedCollection.h: removed
9697 * Headers/gnustep/base/Queue.h: removed
9698 * Headers/gnustep/base/RBTree.h: removed
9699 * Headers/gnustep/base/RBTreeNode.h: removed
9700 * Headers/gnustep/base/RNGAdditiveCongruential.h: removed
9701 * Headers/gnustep/base/RNGBerkeley.h: removed
9702 * Headers/gnustep/base/Random.h: removed
9703 * Headers/gnustep/base/RandomGenerating.h: removed
9704 * Headers/gnustep/base/RunLoop.h: removed
9705 * Headers/gnustep/base/Set.h: removed
9706 * Headers/gnustep/base/SplayTree.h: removed
9707 * Headers/gnustep/base/Stack.h: removed
9708 * Headers/gnustep/base/Time.h: removed
9709 * Headers/gnustep/base/all.h: removed
9710 * Source/Archiver.m: removed
9711 * Source/Array.m: removed
9712 * Source/Bag.m: removed
9713 * Source/BinaryTree.m: removed
9714 * Source/BinaryTreeNode.m: removed
9715 * Source/CircularArray.m: removed
9716 * Source/Collection.m: removed
9717 * Source/DelegatePool.m: removed
9718 * Source/Dictionary.m: removed
9719 * Source/GapArray.m: removed
9720 * Source/Heap.m: removed
9721 * Source/IndexedCollection.m: removed
9722 * Source/Invocation.m: removed
9723 * Source/KeyedCollection.m: removed
9724 * Source/LinkedList.m: removed
9725 * Source/LinkedListNode.m: removed
9726 * Source/Magnitude.m: removed
9727 * Source/MappedCollector.m: removed
9728 * Source/NotificationDispatcher.m: removed
9729 * Source/OrderedCollection.m: removed
9730 * Source/Queue.m: removed
9731 * Source/RBTree.m: removed
9732 * Source/RBTreeNode.m: removed
9733 * Source/RNGAdditiveCongruential.m: removed
9734 * Source/RNGBerkeley.m: removed
9735 * Source/Random.m: removed
9736 * Source/Set.m: removed
9737 * Source/SplayTree.m: removed
9738 * Source/Stack.m: removed
9739 * Source/GNUmakefile: remove referenced to reomved classes
9740
9741 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9742
9743 * Headers/gnustep/base/NSGArchiver.h: removed obsolete file.
9744 * Source/NSGArchiver.m: removed obsolete file.
9745 * configure.in: Check for existence of NSArray.m to find source
9746 * Headers/gnustep/base/NSDictionary.h: Remove unused headers.
9747 * Headers/gnustep/base/Port.h: ditto
9748 * Headers/gnustep/base/NSConnection.h: ditto
9749 * Headers/gnustep/base/TcpPort.h: ditto
9750 * Headers/gnustep/base/NSGArray.h: ditto
9751 * Headers/gnustep/base/NSSet.h: ditto
9752 * Headers/gnustep/base/NSGSet.h: ditto
9753 * Headers/gnustep/base/NSRange.h: ditto
9754 * Source/Coder.m: Removed dependencies on some old classes
9755 * Source/Decoder.m: ditto
9756 * Source/Port.m: ditto
9757 * Source/TcpPort.m: ditto
9758 * Source/UdpPort.m: ditto
9759 * Source/NSGCString.m: ditto
9760 * Source/NSGString.m: ditto
9761 * Source/NSObject.m: ditto
9762 * Source/NSString.m: ditto
9763
9764 2000-06-15 Adam Fedor <fedor@gnu.org>
9765
9766 * Headers/gnustep/base/NSObject.h: Add base/preface include
9767
9768 2000-06-13 Adam Fedor <fedor@gnu.org>
9769
9770 * configure.in: Look for getopt.h
9771 * Source/NSBundle.m (+_absolutePathOfExecutable:): Add '.' if not
9772 already in path.
9773 * Source/NSPage.m: Use malloc if no valloc.
9774
9775 * Testing/GNUmakefile: Remove non-OpenStep tests.
9776
9777 * Tools/gdomap.c: Change WIN32 to MINGW. Check if IFF_POINTOPOINT
9778 is defined.
9779
9780 * Headers/gnustep/base/*h: Remove preface include from headers.
9781 Change extern function and var definitions to GS_EXPORT for better
9782 handling of DLLs
9783 * Headers/gnustep/base/NSObjCRuntime.h: Set definition of GS_EXPORT
9784 based on using or compiling DLL
9785
9786 2000-06-11 Adam Fedor <fedor@gnu.org>
9787
9788 * Headers/gnustep/base/preface.h.in: Define MINGW if MINW32.
9789 * Headers/gnustep/base/TcpPort.h: Change WIN32 to MINGW since
9790 CYGWIN has unix-like services.
9791 * Headers/gnustep/base/UdpPort.h: Likewise.
9792 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDate.m,
9793 Source/NSFileManager.m, Source/NSHost.m, Source/NSLog.m,
9794 Source/NSPage.m, Source/NSProcessInfo.m, Source/NSString.m,
9795 Source/NSThread.m, Source/NSUser.m, Source/UdpPort.m,
9796 Source/UnixFileHandle.m, : Likewise.
9797
9798 * Source/Makefile.postamble: touch generated h files so they aren'y
9799 re-copied every compile.
9800
9801 * Source/NSBundle.m (_absolutePathOfExecutable:): New method.
9802 (mainBundle): Use it.
9803 * Source/NSTask.m (launch): Likewise.
9804 * Source/find_exec.m: Removed.
9805
9806 2000-06-09 Richard Frith-Macdonald <rfm@gnu.org>
9807
9808 * Source/GSeq.h: Reverted bogus change.
9809
9810 2000-06-06 Adam Fedor <fedor@gnu.org>
9811
9812 * Code cleanup to help with Windows port.
9813 * configure.in: Check for some extra headers. Remove obsolete stuff.
9814 * Source/BinaryCStream.m: Fix includes for WIN32
9815 * Source/NSCalandarDate.m: Likewise.
9816 * Source/NSDate.m: Likewise.
9817 * Source/NSLog.m: Likewise.
9818 * Source/NSPipe.m: Likewise.
9819 * Source/NSProcessInfo.m: Likewise.
9820 * Source/NSRunLoop.m: Likewise.
9821 * Source/NSUserDefaults.m: Likewise.
9822 * Source/StdioStream.m: Likewise.
9823 * Source/UdpPort.m: Likewise.
9824 * Tools/gdomap.c: Likewise.
9825
9826 * Source/NSBinaryCStream: Use NSByteOrder functions.
9827 * Source/UdpPort.m: Likewise.
9828 * Source/Invocation.m (initWithTarget:selector:): Use proper cast.
9829 * Source/NSFileManager.m (-isExecutableFileAtPath): Typo.
9830 * Source/NSPage.m (getpagesize): New function for WIN32
9831 * Source/NSString.m (-indexOfString): New method.
9832
9833 * Source/NSBundle.m (bundle_directory_readable,
9834 bundle_file_readable, _bundle_name_first_match): New functions
9835 use NSFileManager instead of unix dir functions.
9836 (-initWithPath:) Use them.
9837 (-pathForResource:...): Likewise.
9838 (-pathsForResource:...): Likewise.
9839
9840 2000-06-02 Richard Frith-Macdonald <rfm@gnu.org>
9841
9842 * Headers/gnustep/base/NSConnection.h: Changed reply_depth ivar to be
9843 called request_depth instead.
9844 * Source/NSConnection.m: Changed reply_depth ivar to request_depth
9845 and modified code to make independent conversation queueing
9846 effective on the basis of incoming requests being handled rather than
9847 outgoing replies. This should make it work for oneway methods.
9848
9849 Tue May 30 19:54:25 2000 Nicola Pero <nicola@brainstorm.co.uk>
9850
9851 * Source/NSProcessInfo.m ([NSProcessInfo +load]): If environ ==
9852 NULL, abort with an informative message rather than crashing
9853 without explanations.
9854
9855 2000-05-27 Richard Frith-Macdonald <rfm@gnu.org>
9856
9857 * Source/NSBundle.m: Protect all use of map tables of bundles
9858 using lock - should make class thread-safe.
9859
9860 2000-05-25 Adam Fedor <fedor@gnu.org>
9861
9862 * Headers/gnustep/base/GSIArray.h: remove config.h
9863 * Headers/gnustep/base/GSIMap.h: Likewise.
9864
9865 2000-05-24 Richard Frith-Macdonald <rfm@gnu.org>
9866
9867 * Source/NSFileManager.m: ([-directoryContentsAtPath:])
9868 Don't follow symbolic links
9869
9870 2000-05-23 Adam Fedor <fedor@gnu.org>
9871
9872 * Source/NSBundle.m (+initialize): Check if /proc/self/exe returns
9873 a real link, otherwise get path from NSProcessInfo.
9874
9875 * NSData: Correct #ifdef NEEDS_WORD_ALIGN to #if
9876
9877 2000-05-22 Richard Frith-Macdonald <rfm@gnu.org>
9878
9879 * Source/GSeq.h: comparison with zero length range is always
9880 NSOrderdSame
9881
9882 2000-05-21 Richard Frith-Macdonald <rfm@gnu.org>
9883
9884 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9885 Re-fix attempting to handle creation of local method signature rather
9886 than returning a proxy to a remote one. Dumb error in first attempt.
9887
9888 2000-05-10 Adam Fedor <fedor@gnu.org>
9889
9890 * NSBundle.m (-classNamed:): Hacks for getting classes from
9891 _gnustep_bundle.
9892 (-principalClass): Likewise.
9893 (-load): Don't try to call load bundle if we are _gnustep_bundle.
9894
9895 2000-05-09 Richard Frith-Macdonald <rfm@gnu.org>
9896
9897 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9898 Fix attempting to handle creation of local method signature rather than
9899 returning a proxy to a remote one.
9900
9901 2000-05-07 Richard Frith-Macdonald <rfm@gnu.org>
9902
9903 * Source/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
9904 fix '%y' format for any year - bug reported by David Relson
9905
9906 2000-05-06 James Dessart <skwirl@cam.org>
9907
9908 * Documentation/gsdoc/NSString.gsdoc :
9909 * Documentation/gsdoc/NSString.html :
9910 Added some basic doc
9911
9912 2000-05-04 Richard Frith-Macdonald <rfm@gnu.org>
9913
9914 * Source/NSUser.m: NSHomeDirectoryForUser() protect with locks for
9915 thread safety.
9916
9917 2000-05-02 Adam Fedor <fedor@gnu.org>
9918
9919 * configure.in: Add check for word alignment. Also don't define
9920 HAVE_SYS_PROC_EXE on systems that need fake main.
9921 * Headers/gnustep/base/config.h.in: Add define if word-align needed.
9922 * Source/NSData.m:
9923 ([NSDataStatic -deserializeTypeTag:andCrossRef:atCursor:]): Use
9924 memcpy if word alignment needed.
9925 ([NSMutableDataMalloc -serializeTypeTag:andCrossRef:]): Likewise.
9926
9927 2000-04-28 Richard Frith-Macdonald <rfm@gnu.org>
9928
9929 * Source/NSConnection.m: ([+defaultConnection]) create receive port.
9930
9931 2000-04-26 Richard Frith-Macdonald <rfm@gnu.org>
9932
9933 * Source/NSHost.m: Improve logging of host/net configuration errors
9934 * Source/GSTcpPort.m: ditto
9935 * Source/TcpPort.m: ditto
9936
9937 2000-04-25 Adam Fedor <fedor@gnu.org>
9938
9939 * Source/NSBundle.m (+initialize): retain _executable_path.
9940
9941 2000-04-25 Richard Frith-Macdonald <rfm@gnu.org>
9942
9943 * Source/NSAttributedString.m: Optimised - cache method implementations
9944 wherever possible in order to avoid objc runtime overheads.
9945
9946 2000-04-23 Richard Frith-Macdonald <rfm@gnu.org>
9947
9948 * Source/NSAttributedString.m: Corrected code of
9949 ([-attribute:atIndex:longestEffectiveRange:inRange:]) so that it
9950 compares attributes correctly.
9951
9952 2000-04-20 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
9953
9954 * Tools/plmerge.m: New tool to merge property lists.
9955 * Tools/plser.m: Fix error message. (deserialize => serialize)
9956 * Tools/GNUmakefile: Add plmerge.
9957
9958 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9959
9960 * Tools/gdomap.c: Don't do chdir/chroot on sysv - it screws up
9961 their streams so we can't handle incoming connections.
9962
9963 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9964
9965 * Source/NSCalendarDate.m: Fix memory leak when initialising from
9966 string.
9967
9968 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9969
9970 * Source/GSTcpPort.m: define INADDR_NONE to be -1 on systems where
9971 it is not defined.
9972
9973 2000-04-19 Richard Frith-Macdonald <rfm@gnu.org>
9974
9975 * Source/NSThread.m: rewrite
9976 * Source/NSCountedSet.m: minor fix in new unique method
9977 * Source/NSGCountedSet.m: ditto
9978
9979 2000-04-18 Adam Fedor <fedor@gnu.org>
9980
9981 * base/configure.in: add a test to see whether a symlink
9982 '/proc/self/exe' exists
9983 * base/Headers/gnustep/base/config.h.in: Add a definition for the
9984 test result
9985 * base/Source/NSBundle.m: Move the discovery of the process'
9986 executable file to +initialize; add code to discover it from
9987 /proc, if possible (patches from Jonathan Gapen
9988 <jagapen@whitewater.chem.wisc.edu>)
9989
9990 2000-04-18 Richard Frith-Macdonald <rfm@gnu.org>
9991
9992 * Documentation/gsdoc/NSCountedSet.gsdoc: Method descriptions fleshed
9993 out, including GNUstep additional methods and related functions.
9994 * Documentation/gsdoc/NSDeserializer.gsdoc: GNUstep specific extension
9995 method documented.
9996 * GSDoc/gnustep.gsdoc: Fixed use of 'standards' element.
9997 * Headers/NSSerialization.h: Removed some extensions.
9998 * Headers/NSSet.h: Added some extensions for uniquing.
9999 * Source/NSCountedSet.m: Added uniquing methods and functions.
10000 * Source/NSGCountedSet.m: Added optimised uniquing methods.
10001 * Source/NSSerializer.m: Simplified uniquing code using stuff from
10002 NSCountedSet.
10003 * Testing/benchmark.m: included uniquing serialization/deserialization.
10004
10005 2000-04-14 Richard Frith-Macdonald <rfm@gnu.org>
10006
10007 * Source/mframe.m: Update to handle '-' in stack position information
10008 in type encodings.
10009 * Source/Invocation.m: ditto
10010 * Source/objc-gnu2next.m: ditto
10011 * Source/mframe/*/generic: ditto
10012
10013 2000-04-08 Adam Fedor <fedor@gnu.org>
10014
10015 * Source/NSString.m: Include NSISOLatin2StringEncoding coding.
10016 * Source/Unicode.m (encode_chartouni): Implement latin2 encoding.
10017 (encode_unitochar): Likewise. (patches from
10018 Stefan Urbanek <urbane@decef.elf.stuba.sk>).
10019
10020 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10021
10022 * Source/NSCalendarDate.m: Bugfix intialising from string.
10023
10024 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10025
10026 * Headers/gnustep/base/NSException.h: remove 'volatile' from function
10027 and method declarations - no longer supported in gcc.
10028 * Source/NSException.m: ditto
10029
10030 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10031
10032 * Tools/gdomap.c: init_probe() fix bug placing incorrect responder
10033 address in broadcast probe.
10034
10035 2000-04-02 Richard Frith-Macdonald <rfm@gnu.org>
10036
10037 * Source/NSAttributedString.m: Infinite loop fix by Fred Kiefer to
10038 ([replaceCharactersInRange:withAttributedString:])
10039
10040 2000-03-29 Richard Frith-Macdonald <rfm@gnu.org>
10041
10042 * Source/NSUserDefaults.m: typo reported by karl@nfox.com fixed.
10043
10044 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10045
10046 * Source/NSDictionary.m: Fix to avoid crash on being asked to init
10047 with contents of a nil dictionary.
10048
10049 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10050
10051 * Headers/gnustep/base/NSRunLoop.h: Added event type for exceptional
10052 conditions on a file descriptor and removed obsolete methods.
10053 * Source/NSRunLoop.m: Added support for monitoring for exceptional
10054 conditions on a file descriptor and removed obsolete methods for
10055 handling file descriptors.
10056
10057 2000-03-26 Richard Frith-Macdonald <rfm@gnu.org>
10058
10059 * NSTimeZones/NSTimeZones.tar: Updated to latest information
10060 available from elsie.nci.nih.gov
10061
10062 2000-03-25 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
10063
10064 * Source/NSUser.m: Added new MacOS X function,
10065 NSSearchPathForDirectoriesInDomains()
10066 * Headers/gnustep/base/NSPathUtilities.h: Added prototype and
10067 argument definitions for the above function.
10068
10069 2000-03-23 Adam Fedor <fedor@gnu.org>
10070
10071 * Source/....m: include config.h
10072 * Tools/*.m: Likewise.
10073 * Headers/gnustep/base/preface.h.in: Implement VASPRINTF_LENGTH
10074 when vasprintf does not return length.
10075
10076 2000-03-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
10077
10078 * Source/NSString.m: ([-initWithFormat:arguments:]) added
10079 implementation using vasprintf() to avoid stack problems.
10080 * Headers/gnustep/base/preface.h.in: added VASPRINT_* definitions.
10081
10082 2000-03-23 Richard Frith-Macdonald <rfm@gnu.org>
10083
10084 NSNumber - more extensive rewrite/optimisation ...
10085 * Headers/gnustep/base/NSValue.h: simplified
10086 * Source/NSNumber.m: Implemented efficient abstract methods and
10087 improved caching.
10088 * Source/NSConcreteNumber.m: More efficient implementations including
10089 some previously missing methods.
10090
10091 2000-03-23 Adam Fedor <fedor@gnu.org>
10092
10093 * configure.in: Check for vasprintf function
10094 * config/config.vasprintf.c: New file.
10095
10096 2000-03-22 Richard Frith-Macdonald <rfm@gnu.org>
10097
10098 NSNumber optimisation ...
10099 * Headers/gnustep/base/NSValue.h: Added a couple of GNUstep specific
10100 functions for obtaining cached information about methods of NSNumber
10101 subclasses and hashes of small integer values.
10102 * Source/NSNumber.m: Added caches for small integer numbers and for
10103 booleans. Also added caching mechamism for methods and order info
10104 for NSNumber concrete subclasses.
10105 * Source/NSConcreteNumber.m: Added support for much more efficient
10106 compare and fast hash for small integers.
10107
10108 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10109
10110 * Source/NSUserDefaults.m: ([-description]) implemented.
10111 * Source/NSArray.m: ([-descriptionWithLocale:indent:]) put space
10112 after comma even when doing unformatted description.
10113 * Source/NSDictionary.m: ([-descriptionWithLocale:indent:]) put space
10114 after semicolon and around equals even when doing unformatted
10115 description. Don't sort array items in unformatted description.
10116
10117 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10118
10119 * Source/NSGAttributedString.m: ([setAttributes:range:]) make sure
10120 attributes are set when old range starts at start of new range.
10121
10122 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10123
10124 * Tools/gdomap.c: Become an unpriveliged user after binding to
10125 port 538 (for which we need to be root). This should relieve
10126 some security considerations.
10127
10128 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10129
10130 * Source/NSNumber.m: Added private methods from concrete class.
10131
10132 2000-03-17 Adam Fedor <fedor@gnu.org>
10133
10134 * Documentation/coding-standards.tmpl.texi: Update
10135
10136 2000-03-17 Richard Frith-Macdonald <rfm@gnu.org>
10137
10138 Changed so that property lists are output in a compact form when
10139 no locale is supplied.
10140 * Documentation/gsdoc/NSObject.gsdoc: Added documentation of the
10141 various description methods.
10142 * GSDoc/gsdoc.m: Bugfixes for text in descriptions.
10143 * Headers/gnustep/base/NSObject.h: Updated description methods
10144 * Source/NSArray.m: Updated to be closer to MacOS description.
10145 * Source/NSDictionary.m: ditto.
10146 * Source/NSGCString.m: ditto.
10147 * Source/NSGString.m: ditto.
10148 * Source/NSObject.m: added more description methods.
10149 * Tools/defaults.m: updated to use locale.
10150 * Tools/dread.m: ditto.
10151 * Tools/pldes.m: ditto.
10152
10153 Fri Mar 17 07:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10154
10155 * Source/NSGString.m: Add checks to safely (and more efficiently)
10156 handle deletion and insertion of zero-length ranges.
10157 * Source/NSGCString.m: ditto.
10158
10159 Thu Mar 16 11:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10160
10161 * Source/NSRange.m: NSRangeFromString() bugfix by karl@nfox.com
10162 * Source/NSData.m: ([-hash]) new implementation by karl
10163
10164 Sat Mar 11 21:04:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10165
10166 * GSDoc/gsdoc.m: Updated for recent version of xml library.
10167
10168 Fri Mar 10 10:45:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10169
10170 * GSDoc/gsdoc-0_6_5.dtd: Altered to add standard conformance to
10171 individual methods and to make standards rigorous.
10172 * GSDoc/gsdoc.m: Updated for changes to dtd.
10173
10174 Thu Mar 09 18:07:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10175
10176 * Source/NSAttributedString.m: Varius bugfixes.
10177 * Source/NSGAttributedString.m: ditto.
10178
10179 2000-03-07 Adam Fedor <fedor@gnu.org>
10180
10181 * configure.in: Remove obsolete header checks for Time class.
10182
10183 Wed Mar 08 07:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10184
10185 * Source/NSAttributedString.m: Bugfix by fred Kiefer for extending
10186 attributes. Related bugfixes by me, plus tidying up.
10187
10188 2000-03-06 Adam Fedor <fedor@gnu.org>
10189
10190 * config.guess: Better guess of NetBSD systems.
10191
10192 Sat mar 04 10:08:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10193
10194 * Tools/Makefile.postamble: improved messages about gdomap installation.
10195
10196 Mon Feb 28 15:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10197
10198 * GSDoc: Added GSDoc subdirectory to contain tool for converting gsdoc
10199 documentation to HTML format.
10200 * Documentation/gsdoc: Added skeleton documentation for the
10201 OpenStep/MacOS-X foundation classes in the gsdoc subdirectory.
10202
10203 Sun Feb 27 08:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10204
10205 * Headers/gnustep/base/NSPortMessage.m: use separate ivars for ports.
10206 * Source/NSPortMessage.m: modified to use separate ivars for send and
10207 receive ports so that we can easily pass mutable array for send.
10208
10209 Fri Feb 25 12:56:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10210
10211 * Source/NSPort.m: provide default implementations for methods dealing
10212 with adding connections to run loop.
10213 * Source/NSRunLoop.m: Check to see if ports have been invalidated and
10214 remove them from run loop if they have.
10215
10216 Thu Feb 24 21:05:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10217
10218 * Source/NSBundle.m: ([-initWithPath:]) added code suggested by
10219 jagapen@whitewater.chem.wisc.edu to handle relative paths.
10220 * Source/NSObject.m: Added catagory of 'Object' so that containers
10221 can safely hold non-NSObject descended objects.
10222
10223 Thu Feb 24 15:55:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10224
10225 * Source/TcpPort.m: Removed some unused code.
10226 * Source/GSTcpPort.m: Added new port implementation - non-functional
10227 as yet, but it represents quite a bit of work so I thought I'd put
10228 it somewhare safe from my hard disk crashing.
10229
10230 Thu Feb 24 08:30:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10231
10232 * Source/NSUser.m: NSOpenStepRootDirectory() use GNUSTEP_ROOT
10233
10234 Tue Feb 22 15:03:46 2000 Nicola Pero <n.pero@mi.flashnet.it>
10235
10236 * Headers/Foundation/NSPort.h: Fixed typo: changed `@class
10237 NSArray` to `@class NSMutableArray` to make it compile.
10238
10239 Tue Feb 22 07:31:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10240
10241 * Tools/gdomap.c: Reinstated '-p' flag to disable probes and added
10242 code to do probes by broadcast to the local network rather than by
10243 probing machines individually if possible.
10244
10245 2000-02-20 Matthias Klose <doko@cs.tu-berlin.de>
10246
10247 * Tools/gdomap.c (main): Add -I <file> option to write the pid to.
10248
10249 Mon Feb 21 13:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10250
10251 * Source/NSRunLoop.m: Use sel_eq() for selector comparison so that
10252 we are guaranteed to match correctly when removing actions from the
10253 runloop.
10254
10255 Fri Feb 6 14:54:00 2000 Manuel Guesdon <mguesdon@sbuilders.com>
10256
10257 * Source/NSCalendarDate.m: handle nil and empry string in
10258 -initWithString:calendarFormat:locale:
10259 * ChangeLog: Replace 1999 by 2000 for last modifications :-)
10260
10261 Fri Feb 4 17:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10262
10263 * Source/NSPortNameServer.m: New methods for use by NSConnection
10264 * Foundation/NSPortNameServer.h: ditto
10265 * Source/NSConnection.m: Tidied a little and added ([-registerName:])
10266 * Source/NSConnection.h: ditto
10267
10268 2000-02-17 Adam Fedor <fedor@gnu.org>
10269
10270 * Version: 0.6.5 released.
10271
10272 2000-02-16 Adam Fedor <fedor@gnu.org>
10273
10274 * gnustep-base.spec: Newfile
10275
10276 Wed Feb 16 06:28:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10277
10278 * Source/NSAssertionHandler.m: Applied patch by David relson to change
10279 output format for function assertions, fixed error in format string,
10280 and made similar changes for method assertions.
10281
10282 2000-02-14 Adam Fedor <fedor@gnu.org>
10283
10284 * Version: Update version number
10285 * Documentation/announce.tmpl.texi: Update
10286 * Documentation/readme.tmpl.texi: Likewise.
10287 * Documentation/news.tmpl.texi: Likewise.
10288 * Documentation/todo.tmpl.texi: Likewise.
10289 * ANNOUNCE, BUGS, NEWS, README: Regenerate
10290
10291 Fri Feb 11 06:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10292
10293 * Source/NSZone.m: Tidied indentation etc to GNU style.
10294
10295 Thu Feb 10 23:01:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10296
10297 * Source/NSDebug.m: Patch by David Relson to change memory allocation
10298 report and add thread-safety. Modified by me to automatically use
10299 locking if necessary, to tidy up, and to fix a couple of bugs in
10300 lock/unlock sequencing. All new stuff - but since the previous
10301 version was completely unusable in a multithreaded environment I
10302 don't think we are running any risk by adding this here.
10303
10304 Thu Feb 10 15:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10305
10306 Changes to fix possible crashes where task completion notifications
10307 are sent at inappropriate times due to SIGCHLD.
10308 * Source/NSTask.m: Move signal handler code to GSChecktasks() and
10309 have the signal handler simply set a flag to say work needs doing.
10310 * Source/NSRunLoop.m: Add calls to GSCheckTasks() so that we notice
10311 the death of a child.
10312
10313 Thu Feb 10 14:13:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10314
10315 * Source/UnixFileHandle.m: ([-receivedEvent:type:extra: forMode:])
10316 fix so that incoming connections are closed when their file handle
10317 is deallocated.
10318
10319 Thu Feb 10 9:34:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10320
10321 * Headers/gnustep/base/preface.h.in: Added tests to see if _C_LNG_LNG
10322 and _C_ULNG_LNG are defined in the objc compiler headers and, if not,
10323 define them. Long long support was added in gcc 2.8 (minimum
10324 compiler version recommended for GNUstep), but the defines were
10325 missing from the headers :-(
10326 * Source/NSArchiver.m: Remove conditional compile for long long stuff.
10327 * Source/NSData.m: ditto
10328 * Source/NSUnarchiver.m: ditto
10329 * Source/mframe.m: ditto
10330
10331 2000-02-09 Adam Fedor <fedor@gnu.org>
10332
10333 * Documentation/gnustep-base.tmpl.texi: Update.
10334 * Documentation/news.tmpl.texi: Likewise.
10335 * Documentation/readme.tmpl.texi:Likewise.
10336
10337 * Headers/gnustep/base/NSObjCRuntime.h: Include preface for stdargs.
10338
10339 Wed Feb 9 17:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10340
10341 * Headers/gnustep/base/NSObjCRuntime.h: fix for header dependencies.
10342 * Headers/gnustep/base/Unicode.h: ditto
10343 * Source/NSDebug.m: ditto
10344
10345 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10346
10347 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) fix handling
10348 of notifications in idle queue.
10349
10350 2000-02-08 Adam Fedor <fedor@gnu.org>
10351
10352 * config.guess: New version
10353 * config.sub: Likewise.
10354
10355 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10356
10357 * Source/NSArray.m: Move ([writeToFile:atomically:]) from mutable
10358 array to array code.
10359
10360 Tue Feb 8 12:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10361
10362 * Source/Foundation/HSConfig.h.in: Added some GC macros
10363 * Source/NSData.m: Attempt to remove temporary file if an atomic
10364 write attempt fails.
10365
10366 Sat Feb 5 8:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10367
10368 * Source/Foundation/NSDebug.h: Add missing function prototype -
10369 Patch by David Relson <relson@expressgate.net>
10370
10371 2000-01-27 Adam Fedor <fedor@gnu.org>
10372
10373 * Tools/gdomap.c (init_iface): Check to see if an
10374 interface is up (using SIOCGIFFLAGS), and then get the address
10375 information before checking whether the address is in the AF_INET
10376 family (patch from Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>).
10377
10378 Sun Jan 16 9:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10379
10380 Moved objc-load.c to objc-load.m and filnd-exec.c to find-exec.m
10381 Added logging functions to objc-load.m so that logging can be
10382 enabled at runtime using --GNU-Debug=NSBundle
10383
10384 Sun Jan 9 15:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10385
10386 * Source/NSGAttributedString.m: ([-attributesAtIndex:effectiveRange:])
10387 fixed illegal parameter - reported by jagapen@whitewater.chem.wisc.edu
10388
10389 Wed Jan 5 16:22:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10390
10391 * Source/NSData.m: when serializing selectors, cope with untyped
10392 selectors instead of crashing.
10393
10394 Wed Jan 5 14:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10395
10396 * Source/NSTimeZone.m: Changed order of lookup to determine the local
10397 timezone:
10398 1. User defaults with key 'Local Time Zone'
10399 2. GNUSTEP_TZ environment variable
10400 3. $GNUSTEP_SYSTEM_ROOT/Libraries/Resources/NSTimeZones/localtime
10401 4. TZ environment variable
10402 5. Use UTC
10403 This means that the TZ environment variable can now safely be used for
10404 non-GNUstep timezones as long as GNUSTEP_TZ is defined (or a localtime)
10405 file exists.
10406
10407 Wed Jan 5 10:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10408
10409 * NSTimeZones/NSTimeZones.tar: Made a revised set of timezones with
10410 timezone names offset from GMT corresponding to common usage
10411 (as in OPENSTEP) rather than strict Posix interpretation.
10412 Also added detailed instructions to the README file and added a
10413 small makefile to build the abbreviations/regions tools.
10414
10415 Tue Jan 4 22:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10416
10417 * Source/NSCalendarDate.m: ([-yearOfCommonEra]) fix rounding error.
10418
10419 Tue Dec 21 13:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10420
10421 Fixes suggested by karl@nfox.com
10422 * Source/propList.h: Bugfix parsing larger lists.
10423 * Source/NSProcessInfo.m: Avoid use of freopen()
10424 * Source/GSeq.h: for ranges not found, return NSNotFound as the
10425 location rather than 0 - for compatibility with Apple.
10426 * NSDeserializer.m: Return nil if given nil data or an object that
10427 is not a data object.
10428
10429 1999-12-19 David Lazaro <khelekir@encomix.es>
10430
10431 * configure.in (objc_thread_lib): Added support for FreeBSD native
10432 POSIX threads (from the reentrant C library, libc_r). Made this the
10433 first option to test as this is the best working one.
10434 * configure: New build to support the above mentioned.
10435
10436 Fri Dec 17 17:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10437
10438 Fix error in last change.
10439
10440 Fri Dec 17 7:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10441
10442 * Source/NSGAttributedString.m: Patch (slightly modified) by Adam Fedor
10443 to permit setting attributes on an empty string (as a no-op).
10444
10445 Wed Dec 15 18:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10446
10447 * Source/NSHost.m: Update again - record current host name for duration
10448 of process and cache hosts keyed on the name under which they were
10449 created. This can result in multiple cache entries for the same host,
10450 but this seems to be necessary as DNS name <--> address mappings can
10451 be asymmetric.
10452 Thanks to dan@services.iiruc.ro for pointing this out.
10453
10454 Wed Dec 15 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10455
10456 * Source/Foundation/NSObject.h: dealloc notification stuff for Helge
10457 * Source/NSObject.m: dealloc notification stuff for Helge
10458
10459 Wed Dec 15 2:18:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10460
10461 * Source/UnixFileHandle.m: Chck to see if we are given a bad address.
10462 * Source/NSHost.m: major rewrite
10463
10464 Tue Dec 14 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10465
10466 * Source/NSTimeZone.m: ([+getTimeZoneFile:]) Removed misleading comment
10467 and hack.
10468 ([+timeZoneWithName:]) Fixed bug in loading timezone data file (unusual
10469 formats could cause a crash).
10470 * Source/NSScanner.m: ([-initWithString:]) fix to handle being passed
10471 a nil string (use an empty string and log an error).
10472 * NSTimeZones/NSTimeZones.tar: updated to latest info and made sure
10473 files are in the correct place.
10474
10475 Mon Dec 13 13:31:00 1999 Chris Ball <cball@fmco.com>
10476
10477 * Source/NSTimeZone.m: Replaced the original, correct comment and
10478 removed Richard's replacement incorrect comment.
10479
10480 Fri Dec 9 17:00:00 1999 Chris Ball <cball@fmco.com>
10481
10482 Sorry, I did a commit one directory to deep.
10483 * Source/NSArray.m: NSMutableArray's compared against a garbage pointer
10484 on removal. This causes real problems on SMP machines.
10485 * Source/NSGarray.m
10486 * Source/NSCalendarDate.m: DateByAddingYears lost timeZone info.
10487 InitWithString didn't deal with adjacent format specifiers.
10488 * Source/NSDate.m: addTimeInterval messed up timeZone if used with
10489 calendarDate
10490 * Source/NSLock.m: Trylock was broken and lockBeforeDate was
10491 unimplemented
10492 * Source/NSObject.m: The release code was broken for SMP machine use.
10493 * Source/NSTimeZone.m: The GMT+-** files are in the root directory on
10494 OpenStep and are in Etc/ on GNUstep so check both.
10495
10496 Mon Dec 13 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10497
10498 Fixes for cball's changes (who is cball?, and why didn't s/he produce
10499 a ChangeLog entry or conform to GNU indentation? It took me hours to
10500 tidy this up).
10501 * Source/NSDate.m: ([NSGDate -addTimeInterval:]) removed bogus
10502 implementation of method (inherits from NSDate).
10503 * Source/NSCalendarDate.m: Added implementation of ([-addTimeInterval:])
10504 with specific code for NSCalendarDate. Reformatted code to GNUstep
10505 style.
10506 * Source/NSGArray.m: ([-removeObjectIdenticalTo:]) and
10507 ([-removeObjectIdenticalTo:inRange:]) reverted to correct code.
10508 ([-removeObject:]) and ([-removeObjectIdenticalTo:inRange:]) removed
10509 changes and added fixes so that methods are safe where multiple objects
10510 equal to the object to be removed are present in the array.
10511 * Source/NSArray.m: Similar fixes for object removal.
10512 * Source/NSObject.m: Rewritten mutex code so that mutexes are not used
10513 for retain/release unless the app is multi-threaded.
10514
10515 Wed Dec 1 19:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10516
10517 * Source/NSArray.m: When sorting, treat illegal return values from the
10518 comparator the same way as OPENSTEP does, but log a warning.
10519 * Source/NSGArray.m: ditto
10520 * Source/NSDictionary.m ditto
10521
10522 Fri Nov 26 19:46:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10523
10524 * Headers/Foundation/NSString.h: Tidied and fixed return types for
10525 for a few methods.
10526 * Source/NSString.m: ditto.
10527 * Headers/NSRange.h: Added NSRangeFromString()
10528 * Source/NSRange.m: Implemented NSRangeFromString()
10529
10530 Sun Nov 21 6:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10531
10532 * Source/NSNotificationQueue.m: Applied patch by Dan Pascu to fix bug
10533 in removal of notificatiosn from queues. Also tidied indentation etc
10534 to conform to GNU standards.
10535 * Source/UnixFileHandle.m: ([-availableData]) fixed to block when no
10536 data is availabvle on a comms channel - as per spec. This bug was
10537 also reported by Dan <dan@services.iirux.ro>
10538 * Source/NSHost.m: Use inet_aton() if available.
10539
10540 1999-11-18 Adam Fedor <fedor@gnu.org>
10541
10542 * Source/GNUmakefile: Install unicode headers.
10543 * Source/Makefile.postamble: Script for doing unicode installation.
10544 (patches from Christopher Seawood <cls@seawood.org>).
10545
10546 Thu Nov 18 15:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10547
10548 * Headers/Foundation/NSPage.h: removed
10549 * Headers/Foundation/NSZone.h: incorporated NSPage.h
10550 * Source/GNUmakefile: Remove reference to NSPage.h
10551 * Source/NSZone.m: Remove reference to NSPage.h
10552
10553 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10554
10555 * Source/o_vscanf.c Reverted to earlier version - the last fix was
10556 causing distributed objects to fail! I don't know why, but DO seems
10557 more important than the bugfix - so, pending a rewrite of DO
10558 encoding/decoding to remove the dependency on the old stream code,
10559 we need to leave this as it is.
10560
10561 1999-11-09 Adam Fedor <fedor@gnu.org>
10562
10563 * Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.
10564
10565 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10566
10567 * Source/Foundation/NSDebug.h: Added NSWarnLog(), NSWarnFLog() and
10568 NSWarnMLog() macros to log warnings about potential programming errors.
10569 * Source/NSArray.m: Change to use NSWarnMLog() for warnings.
10570 * Source/NSGArray.m: ditto
10571 * Source/NSGCountedSet.m: ditto
10572 * Source/NSGDictionary.m: ditto
10573 * Source/NSGSet.m: ditto
10574
10575 Thu Nov 4 1999 Michael Hanni <mhanni@sprintmail.com>
10576
10577 * Source/NSObject.m: added FreeBSD specific code in
10578 initialization so that the FPU is intialized with the correct
10579 exception flag. This allows NSConnection to work on FreeBSD (gdnc,
10580 gdomap, gpbs.)
10581
10582 Thu Nov 4 10:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10583
10584 * Source/NSArray.m: use NSLog() to warn about attempts to remove nil.
10585 * Source/NSGArray.m: ditto
10586 * Source/NSGCountedSet.m: ditto
10587 * Source/NSGDictionary.m: ditto
10588 * Source/NSGSet.m: ditto
10589
10590 Fri Oct 29 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10591
10592 * Source/NSInvocation.m: ([-initWithTarget:selector:]) possible fix
10593 for structure arguments grabbed from varargs.
10594
10595 Tue Oct 19 11:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10596
10597 * Source/NSScanner.m: skipToNextField() - cope with a nil set of
10598 characters to be skipped.
10599
10600 Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com>
10601
10602 * Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed
10603 space character in a call to (-[NSString rangeOfString]).
10604
10605 Tue Sep 12 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10606
10607 * Source/NSConnection.m: Removed pointer cross-reference support as it
10608 provided little performance improvement and was responsible for a few
10609 bugs I've never been able to track down, and major problems if the maps
10610 at either end of the link get out of sync (which is unavoidable in some
10611 rare circumstances).
10612 * Headers/Foundation/NSConnection.h: Removed cross-reference maps
10613 * Source/ConnectedCoder.m: Removed pointer cross-reference support
10614 * Source/NSPortCoder.m: Removed pointer cross-reference support
10615
10616 Fri Sep 8 12:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10617
10618 * configure.in: Correct path to include file for checking thread support
10619 (bug reported by kai@cats.ms).
10620
10621 Tue Sep 5 11:21:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10622
10623 * Source/NSUserDefaults.m: Fix for crash when reading corrupt file.
10624 Also -added code to create ~/GNUstep directory if needed.
10625
10626 Mon Sep 4 11:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10627
10628 * Tools/gdomap.c: better debug output (hopefully)
10629
10630 Wed Sep 29 21:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10631
10632 * Source/NSData.m: More GC updates (atomic data buffer)
10633 * Source/NSGString.m: ditto
10634 * Source/NSGCString.m: ditto
10635 * Source/NSObject.m: More GC updates
10636 * Source/NSZone.m: ditto
10637 * Source/mframe.m: ditto
10638 * Source/objc-gnu2next.m: ditto
10639 * Headers/Foundation/GSIMap.h: ditto
10640
10641 Tue Sep 28 20:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10642
10643 * Source/NSArray.m: Tidy for GC stuff
10644 * Source/NSAttributedString.m: ditto
10645 * Source/NSCallBacks.m: ditto
10646 * Source/NSConnection.m: ditto
10647 * Source/NSData.m: ditto
10648 * Source/NSDateFormatter.m: ditto
10649 * Source/NSFileManager.m: ditto
10650 * Source/NSGArray.m: ditto
10651 * Source/NSGCountedSet.m: ditto
10652 * Source/NSGDictionary.m: ditto
10653 * Source/NSGSet.m: ditto
10654 * Source/NSInvocation.m: ditto
10655 * Source/NSNotificationCenter.m: ditto
10656 * Source/NSObject.m: ditto
10657 * Source/NSPortNameServer.m: ditto
10658 * Source/NSProcessInfo.m: ditto
10659 * Source/NSRunLoop.m: ditto
10660 * Source/NSScanner.m: ditto
10661 * Source/NSString.m: ditto
10662 * Source/NSTimeZone.m: ditto
10663 * Source/NSUnarchiver.m: ditto
10664 * Source/NSUndoManager.m: ditto
10665 * Source/NSUserDefaults.m: ditto
10666 * Source/TcpPort.m: ditto
10667 * Source/propList.h: ditto
10668
10669 Tue Sep 28 11:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10670
10671 * Source/NSArray.m: ([+allocWithZone:]) tiny optimisation.
10672 * Source/NSCountedSet.m: Some optimisation.
10673 * Source/NSTask.m: implement ([-interrupt]) to send SIGINT.
10674 * Source/NSUserDefaults.m: ([-searchList]) return constant array.
10675 Various tidying up and optimisations.
10676 ([-persistentDomainForName:]) fixed memory leak.
10677 ([-volatileDomainForName:]) return constant dictionary.
10678 ([-setPersistentDomain:forName:]) make mutable copy.
10679 ([-setVolatileDomain:forName:]) ditto
10680 * Source/NSObject.m: GC tweaks
10681 * Source/NSZone.m: added zone for atomic GC
10682 * Headers/Foundation/NSZone.h: added zone GSAtomicMallocZone()
10683 * Headers/Foundation/GSIArray.h: Remove special case for zero zone
10684 * Headers/Foundation/GSIMap.h: ditto.
10685
10686 Tue Sep 28 5:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10687
10688 * Source/NSTask.m: ([_collectChiled]) bugfix suggested by karl@nfox.com
10689
10690 Mon Sep 27 21:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10691
10692 * Source/NSScanner.m: Fix error introduced into skipToNextField() macro
10693 my my last rewrite - sorry. Thanks to N. Pero for narrowing down the
10694 problem to a level where I could locate it.
10695 * Source/NSGeometry.m: optimised.
10696
10697 1999-09-24 Adam Fedor <fedor@gnu.org>
10698
10699 * configure.in: Add check for Objective-C headers.
10700
10701 Thu Sep 23 20:09:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10702
10703 * Source/Invocation.m: VARARGS fix by ani joshi <ajoshi@wam.umd.edu>
10704
10705 Tue Sep 21 20:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10706
10707 * Headers/Foundation/NSPortNameServer.h: Tidied and removed a few ivars.
10708 * Source/NSPortNameServer.m: Rewritten to be a bit clearer and to
10709 permit parallel lookup on multiple hosts.
10710
10711 Sun Sep 19 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10712
10713 * NSString.m: Fix bug in ([+stringByStandardizingPath]) with trailing
10714 slash.
10715
10716 Thu Sep 16 19:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10717
10718 Change request from Helge
10719 * Source/externs.m: added NSNonRetainedObjectMapValueCallBacks
10720 * Headers/Foundation/NSMapTable.h: ditto.
10721
10722 Thu Sep 16 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10723
10724 Changes to minimise naming conflicts by making sure that all ivars
10725 of public classes are prefixed with a underscore.
10726 * Headers/Foundation/NSArchiver.h: prefix ivars with underscore and tidy
10727 * Headers/Foundation/NSArray.h: ditto
10728 * Headers/Foundation/NSAttributedString.h: ditto
10729 * Headers/Foundation/NSAutoreleasePool.h: ditto
10730 * Headers/Foundation/NSBitmapCharSet.h: ditto
10731 * Headers/Foundation/NSBundle.h: ditto
10732 * Headers/Foundation/NSCharacterSet.h: ditto
10733 * Headers/Foundation/NSCoder.h: ditto
10734 * Headers/Foundation/NSData.h: ditto
10735 * Headers/Foundation/NSDate.h: ditto
10736 * Headers/Foundation/NSDateFormatter.h: ditto
10737 * Headers/Foundation/NSDictionary.h: ditto
10738 * Headers/Foundation/NSDistantObject.h: ditto
10739 * Headers/Foundation/NSDistributedLock.h: ditto
10740 * Headers/Foundation/NSDistributedNotificationCenter.h: ditto
10741 * Headers/Foundation/NSException.h: ditto
10742 * Headers/Foundation/NSFileHandle.h: ditto
10743 * Headers/Foundation/NSFileManager.h: ditto
10744 * Headers/Foundation/NSGAttributedString.h: ditto
10745 * Headers/Foundation/NSHost.h: ditto
10746 * Headers/Foundation/NSInvocation.h: ditto
10747 * Headers/Foundation/NSLock.h: ditto
10748 * Headers/Foundation/NSMethodSignature.h: ditto
10749 * Headers/Foundation/NSNotification.h: ditto
10750 * Headers/Foundation/NSNotificationQueue.h: ditto
10751 * Headers/Foundation/NSPort.h: ditto
10752 * Headers/Foundation/NSPortMessage.h: ditto
10753 * Headers/Foundation/NSPortNameServer.h: ditto
10754 * Headers/Foundation/NSProtocolChecker.h: ditto
10755 * Headers/Foundation/NSScanner.h: ditto
10756 * Headers/Foundation/NSSet.h: ditto
10757 * Headers/Foundation/NSTask.h: ditto
10758 * Headers/Foundation/NSURL.h: ditto
10759 * Headers/Foundation/NSURLHandle.h: ditto
10760 * Headers/Foundation/NSUndoManager.h: ditto
10761 * Headers/Foundation/NSUserDefaults.h: ditto
10762 * Source/NSArchiver.m: ditto
10763 * Source/NSAutoreleasePool.m: ditto
10764 * Source/NSBitmapCharSet.m: ditto
10765 * Source/NSCalendarDate.m: ditto
10766 * Source/NSDate.m: ditto
10767 * Source/NSDateFormatter.m: ditto
10768 * Source/NSDistantObject.m: ditto
10769 * Source/NSDistributedLock.m: ditto
10770 * Source/NSDistributedNotificationCenter.m: ditto
10771 * Source/NSException.m: ditto
10772 * Source/NSFileManager.m: ditto
10773 * Source/NSGAttributedString.m: ditto
10774 * Source/NSGSet.m: ditto
10775 * Source/NSHost.m: ditto
10776 * Source/NSInvocation.m: ditto
10777 * Source/NSLock.m: ditto
10778 * Source/NSMethodSignature.m: ditto
10779 * Source/NSNotificationCenter.m: ditto
10780 * Source/NSNotificationQueue.m: ditto
10781 * Source/NSPort.m: ditto
10782 * Source/NSPortMessage.m: ditto
10783 * Source/NSPortNameServer.m: ditto
10784 * Source/NSProtocolChecker.m: ditto
10785 * Source/NSScanner.m: ditto
10786 * Source/NSTask.m: ditto
10787 * Source/NSURL.m: ditto
10788 * Source/NSURLHandle.m: ditto
10789 * Source/NSUndoManager.m: ditto
10790 * Source/NSUserDefaults.m: ditto
10791 * Source/Port.m: ditto
10792 * Source/TcpPort.m: ditto
10793 * Source/UdpPort.m: ditto
10794
10795 Tue Sep 14 20:44:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10796
10797 * Source/NSArray.m: Huge amounts of optimisation.
10798 Memory leak fixed in ([-initWithFile:]).
10799 * Source/NSGArray.m: Optimisations of less-used methods, including
10800 implementation of fast enumerators.
10801
10802 Tue Sep 14 15:11:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10803
10804 * Source/NSTimer.m: minor optimisations
10805 * Headers/NSRunLoop.h: modification for optimisation of performers
10806 * Source/NSRunLoop.m: minor optimisations, plus bugfix for performers
10807 (was removing performers after they had been fired - shouldn't).
10808
10809 Mon Sep 13 6:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10810
10811 Miscellaneous minor bugfixes plus,
10812 * Source/NSDate.m: Year 2001 bug fixed - had silly assertion in
10813 generation of time interval since reference date for current time.
10814 * Source/NSScanner.m: optimised (well, mostly).
10815 * Headers/Foundation/NSScanner.h: update for optimisatio).
10816
10817 Sun Sep 12 20:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10818
10819 * Source/NSDictionary.m: optimise by avoiding objc method lookup
10820 overheads wherever possible.
10821 * Source/NSGDictionary.m: likewise.
10822
10823 Fri Sep 3 11:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10824
10825 * Source/NSString.m: speed up path handling a bit by caching
10826 method for testing for path separators - also fixed appending
10827 of path extensions and components to be according to spec.
10828
10829 Sat Aug 21 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10830
10831 * Tools/gdomap.c: Fix for probing for other gdomap processes on the
10832 net.
10833
10834 1999-08-19 Michael Hanni <mhanni@sprintmail.com>
10835
10836 * Source/NSObjCRuntime.m: patch from Tim Bissell to help in
10837 debugging. (show which non-existant ivar you wanted.)
10838
10839 1999-09-07 Adam Fedor <fedor@gnu.org>
10840
10841 * Version: 0.6.0
10842
10843 * configure.in: Add test for solaris libraries, freebsd threads.
10844 * Source/mframe/config.guess: Update to latest version
10845 * Source/mframe/config.sub: Likewise.
10846
10847 Sun Sep 5 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10848
10849 * config/config_thread.m: new file
10850 * configure.in: Update to check to see if obc runtime uses threads
10851 so that we can include the thread library if necessary - and later
10852 onbjc tests won't all fail on threaded systems.
10853 Also - force use of fake-main stuff on bsd systems.
10854 * Source/NSProcessInfo.m: Remove bsd workaround - didn't work.
10855
10856 1999-08-29 Michael Hanni <mhanni@sprintmail.com>
10857
10858 * Source/NSObjCRuntime.m: added a patch from Tim Bissell
10859 <tim.bissell@dresdnerkb.com>. Adds better debugging information
10860 for non-existent ivars.
10861
10862 Sat Sep 4 6:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10863
10864 Various process-info related bugfixes.
10865 * Source/NSBundle.m: Use arguments list for argv[0] for full path.
10866 * Source/NSLog.m: use processName directly in log.
10867 * Source/NSProcessInfo.m: Fix process name to be last path component
10868 of argv[0], and add workaround for buggy /proc filesystems that
10869 append a newline to arguments.
10870 * Source/NSUserDefaults.m: use processName directly for domain name.
10871
10872 Thu Sep 2 9:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10873
10874 * Source/NSTask.m: exec process with argv[0] set to full path of
10875 the executable rather than just the program name.
10876
10877 Tue Aug 31 15:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10878
10879 * Source/NSTimer.m: Set minimum timeout to 0.01s rather than 1.0s.
10880 This seems a more reasonable value - a 1 second delay is too big.
10881
10882 1999-08-29 Adam Fedor <fedor@gnu.org>
10883
10884 * Source/NSLog.m (_NSLog_standard_printf_handler): Use
10885 cStringLength.
10886
10887 Wed Aug 25 15:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10888
10889 Fixes for memory leaks in parsing property lists.
10890 * Source/propList.h: release new strings asap
10891 * Source/NSString.m: autorelease value returned by parsing plists.
10892 * Source/NSGString.m: ditto.
10893 * Source/NSGCString.m: ditto.
10894
10895 Wed Aug 25 11:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10896
10897 * Source/Makefile.postamble: Added rules to build some files without
10898 optimisation, to avoid optimiser breaking them.
10899
10900 1999-08-23 Pedro Ivo Andrade Tavares <ptavares@iname.com>
10901
10902 * Headers/gnustep/base/NSByteOrder.h: changed the NSByteStore struct
10903 to comply to Mac OS X documentation.
10904
10905 1999-08-22 Adam Fedor <fedor@gnu.org>
10906
10907 * Documentation/gnustep-base.tmpl.texi: New with GNUstep specific
10908 documentation.
10909 * Documentation/news.tmpl.texi: update
10910
10911 Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10912
10913 * NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications
10914 even when no idle notifications are waiting.
10915
10916 Thu Aug 19 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10917
10918 * Source/NSCalendarDate.m: Various memory-leak fixes.
10919 * Source/NSTimeZone.m: Various memory leak fixes.
10920
10921 Sat Aug 7 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10922
10923 * Testing/tcpport-server.m: fixes to work with NSNotificationCenter.
10924
10925 1999-08-10 Adam Fedor <fedor@gnu.org>
10926
10927 * configure.in: Move objc_conditioned_wait test so it gets proper
10928 LIBS setup
10929 * Source/mframe/configure: Regenerate using autoconf 2.13
10930
10931 1999-08-08 Adam Fedor <fedor@gnu.org>
10932
10933 * Source/NSPort.m (-sendBeforeDate:): Change return type to BOOL
10934 as per the spec.
10935 * Source/NSPortMessage.m: Likewise. (patch from
10936 Pedro Ivo Andrade Tavares <ptavares@iname.com>).
10937
10938 * configure.in: Rewrite +load method test.
10939
10940 1999-08-08 Manuel Guesdon <mguesdon@sbuilders.com>
10941
10942 * Source/NSGString.m (stringIncrementCountAndMakeHoleAt and stringDecrementCountAndFillHoleAt):
10943 Added a test for null length/size.
10944 Added NSCAssert on index/size/count/capacity
10945
10946 1999-08-05 Adam Fedor <fedor@gnu.org>
10947
10948 * Source/NSLock.m ([NSConditionLock -lockWhenCondition:beforeDate:]):
10949 Implement (Patch from Patrick Stein <jolly@jinx.de>).
10950 * configure.in: Check for objc_condition_timewait.
10951
10952 * Source/NSString.m (-initWithFormat:arguments:): Don't advance
10953 vsprintf arguments on powerpc.
10954
10955 * Source/mframe/powerpc/linux-gnu (MFRAME_ARG_ENCODING): Fix
10956 alignment of small structures.
10957
10958 * many files: Changed FSF mailing address
10959
10960 Fri Aug 6 13:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10961
10962 Portability fixes for compilers that don't leave enough space in an
10963 NXConstantString object for the _hash ivar of NSGCString.
10964 * Source/NSGCString.m: don't use _hash ivar of NXConstantString.
10965 * Source/NSGString.m: don't use _hash ivar of NXConstantString.
10966 * Source/Foundation/NSString.h: Add warning comment about the ivar
10967 layout for NXConstantString.
10968
10969 Thu Aug 5 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10970
10971 * Tools/gdomap.c: prb_add() maintain server info in date order.
10972 prb_del() removed, bugfixes to notice when a server dies.
10973
10974 Tue Aug 3 12:36:54 1999 Adam Fedor <fedor@ultra.doc.com>
10975
10976 * Source/NSInvocation.m (-initWithTarget:selector:): Hack for
10977 sparc and ppc machines to align structs on word boundaries.
10978 * mframe/sparc/solaris2.6: New file with fix for putting small
10979 structures at correct offset.
10980
10981 Mon Aug 2 8:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10982
10983 * Source/propList.h: parseQuotedString() fix for parsing octal escape
10984 sequences - hope it's right now.
10985
10986 Sun Aug 1 7:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10987
10988 * Source/NSBundle.m: ([+localizedStringForKey:value:table:]) Fixed so
10989 that debugging behavior only takes place when NSShowNonLocalizedStrings
10990 default is 'YES'.
10991
10992 1999-07-29 Adam Fedor <fedor@gnu.org>
10993
10994 * config.guess: Updated from latest version + fix for Netwinder.
10995 * config.sub: Likewise.
10996
10997 * Headers/gnustep/base/Foundation.h: Include NSPage.h
10998 * Headers/gnustep/base/NSPortCoder.h: Remove ref to Port.h
10999
11000 Wed Jul 28 15:53:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11001
11002 * Source/NSObject.m: ([+isKindOfClass:]) Fixed to return NO except
11003 when both the argument and the receiver are NSObject - as specified
11004 in the MacOS-X documentation. Thanks to Helge for pointing this out.
11005
11006 Mon Jul 26 21:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11007
11008 Fix cStrings to use unsigned char throughout - to avoid problems
11009 with character sets other than ascii. Suggested by Kai Henningsen.
11010 * Headers/Foundation/NSGCString.h: Use unsigned chars.
11011 * Source/NSGCString.m: Use unsigned chars.
11012 * Source/GSeq.h: Use unsigned chars.
11013 * Source/propList.h: Use unsigned chars.
11014
11015 Fri Jul 23 22:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11016
11017 * Source/UnixFileHandle.m: Tidy a little and make sure that
11018 non-blocking mode is reset when a descriptor is closed.
11019 * Source/NSPortNameServer.mL Fixed error in lookup when host name
11020 is specified.
11021
11022 Thu Jul 22 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11023
11024 * Source/NSTimeZone.m: ([-initWithOffset:]) bugfix by Kai Henningsen
11025 * acconfig.h: Removed old libc method of getting NSProcessInfo stuff.
11026 * aclocal.m4: Removed old libc method of getting NSProcessInfo stuff.
11027 * configure.in: Added new '/proc' method of getting NSProcessInfo stuff
11028 by Nico Pero, with modifications and --enable-fake-main
11029 * Headers/GSConfig.h.in: New NSProcessInfo stuff
11030 * Headers/NSObject.h: Remove fake-main include - use GSConfig.h
11031 * Headers/config.h.in: Remove fake-main include - use GSConfig.h
11032 * Headers/preface.h.in: Remove fake-main include - use GSConfig.h
11033 * Source/GNUmakefile: Remove fake-main.h
11034 * Source/Makefile.postamble: NSProcessInfo.o depends on GSConfig.h
11035 * Source/NSLog.m: Bugfix - set up pointer to log function.
11036 * Source/NSProcessInfo.m: Remove old hack for getting process info
11037 and add new '/proc' method, along with improvements to the fake-main
11038 mechanism.
11039
11040 Tue Jul 20 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11041
11042 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
11043 updated to get default format and locale info.
11044
11045 Tue Jul 20 10:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11046
11047 * Source/NSString.m: Update code for standardising paths - now
11048 conforms to MacOS-X spec (more or less).
11049
11050 Thu Jul 15 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11051
11052 * Headers/Foundation/NSURL.h: Tidied
11053 * Headers/Foundation/NSURLHandle.h: Tidied
11054 * Headers/Foundation/Foundation.h: inlcude NSURL.h and NSURLHandle.h
11055
11056 Wed Jul 14 20:19:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11057
11058 * Source/NSThread.m: Make sure that a thread retains the target object
11059 and argument of the method with which it is detached.
11060 * Testing/diningPhilosophers.m: Fixed bug - was passing non NSObject
11061 argument.
11062
11063 Wed Jul 14 16:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11064
11065 * Source/NSAttributedString.m: Fixed ([allocWithZone:]) so that
11066 subclasses should work correctly.
11067
11068 Wed Jul 14 10:32:17 1999 Adam Fedor <fedor@ultra.doc.com>
11069
11070 * Testing/Makefile.preamble: Fix include path the headers.
11071 Other testing fixes
11072
11073 Tue Jul 13 17:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11074
11075 * Source/NSUser.m: Implemented NSStandardApplicationPaths(),
11076 NSStandardLibraryPaths(), and GSStandardPathPrefixes().
11077
11078 Mon Jul 12 5:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11079
11080 * Source/NSString.m: Bugfixes in ([stringByStandardizingPath:])
11081 as suggested by Pascal Bourguignon. Also fix to do substitutions
11082 throughout path, also use realpath() for resolving links if possible.
11083 * configure.in: Check for realpath()
11084
11085 Sat Jul 10 13:52:20 1999 Adam Fedor <fedor@ultra.doc.com>
11086
11087 * Makefile.postamble: Create Foundation link in Source directory
11088 * Source/Makefile.postamble: Remove link to Foundation
11089 (work around bug in make?)
11090
11091 Thu Jul 8 22:21:54 1999 Adam Fedor <fedor@ultra.doc.com>
11092
11093 * Changes for new directory layout.
11094 * Makefile.postamble: Link Foundation from gnustep/base
11095 * configure.in: Change location of generated include files.
11096 * Source/mframe/configure.in: Change mframe.h location.
11097 * Tools/Makefile.preamble: Change base header locations.
11098 * Source/Makefirl.postamble: Likewise.
11099
11100 Sat Jul 3 21:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11101
11102 * Source/NSCallBacks.m: Changes for garbage collection.
11103 * Source/NSDateFormatter.m: ditto.
11104 * Source/NSDictionary.m: ditto.
11105 * Source/NSDistributedLock.m: ditto.
11106 * Source/NSDistributedNotificationCenter.m: ditto.
11107 * Source/NSGArray.m: ditto.
11108 * Source/NSGCString.m: ditto.
11109 * Source/NSGCountedSet.m: ditto.
11110 * Source/NSGDictionary.m: ditto.
11111 * Source/NSGSet.m: ditto.
11112 * Source/NSHost.m: ditto.
11113 * Source/NSInvocation.m: ditto.
11114 * Source/NSNotification.m: ditto.
11115 * Source/NSProtocolChecker.m: ditto.
11116 * Source/NSScanner.m: ditto.
11117 * Source/NSSerializer.m: ditto.
11118 * Source/NSSet.m: ditto.
11119 * Source/NSData.m: ditto.
11120 * Source/NSPortNameServer.m: ditto.
11121 * Source/NSUndoManager.m: ditto.
11122 * Source/NSURL.m: ditto.
11123
11124 Fri Jul 2 14:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11125
11126 * Source/GSeq.h: Fix boundary error when searching for string in
11127 string.
11128 * Source/NSString.m: Don't allocate contents for string with 0 length.
11129 * Source/NSGString.m: ditto
11130 * Source/NSGCString.m: ditto
11131
11132 Fri Jul 2 8:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11133
11134 * Source/NSUnarchiver.m: In designated initialiser, catch exceptions
11135 and deallocate self before re-throwing in order to prevent memory
11136 leak.
11137
11138 Thu Jul 1 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11139
11140 Patch by Kai Henningsen to improve debug slightly.
11141 * Source/NSObject.m: improved exception messages.
11142
11143 Wed Jun 30 22:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11144
11145 * Source/NSArray.m: Tidied for garbage collection.
11146 * Source/PropList.h: Tidied for garbage collection.
11147 * Source/include/Unicode.h: Added missing prototyp.
11148
11149 Tue Jun 29 17:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11150
11151 Patches by Hai Henningsen
11152 * Source/NSString.m: Fix for stringByAppendingPathExtension
11153 * Source/Unicode.m: Several bugfixes in AND logic.
11154
11155 Mon Jun 28 11:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11156
11157 * Source/include/NSConnection.h: Fixed spelling error reported by
11158 Olivier.Saut@dptmaths.ens-cachan.fr
11159 * Source/NSConnection.m: ditto
11160
11161 Sat Jun 26 7:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11162
11163 * Source/NSRunLoop.m: Fix error in last mod.
11164 * Source/NSTask.m: Allow for bsd setpgrp()
11165 * Souyrce/configure.in: Allow for bsd setpgrp()
11166
11167 Fri Jun 25 11:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11168
11169 * Source/NSRunLoop.m: Use autorelease pools in ([limitDateForMode:])
11170 and ([acceptInputForMode:beforeDate:])
11171
11172 Thu Jun 24 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11173
11174 * Source/include/GSIMap.h: Tweaks to avoid compiler warnings.
11175 * Source/include/NSNotification.h: ditto.
11176 * Source/propList.h: ditto.
11177 * Source/Collection.m: ditto.
11178 * Source/TcpPort.m: ditto.
11179 * Source/UnixFileHandle.m: ditto.
11180 * Source/NSArchiver.m: ditto.
11181 * Source/NSArchiver.m: ditto.
11182 * Source/NSCalendarDate.m: ditto.
11183 * Source/NSCoder.m: ditto.
11184 * Source/NSConcreteValue.m: ditto.
11185 * Source/NSConnection.m: ditto.
11186 * Source/NSData.m: ditto.
11187 * Source/NSDate.m: ditto.
11188 * Source/NSDictionary.m: ditto.
11189 * Source/NSDistributedNotificationCenter.m: ditto.
11190 * Source/NSGAttributedString.m: ditto.
11191 * Source/NSGCountedSet.m: ditto.
11192 * Source/NSGCString.m: ditto.
11193 * Source/NSGDictionary.m: ditto.
11194 * Source/NSHost.m: ditto.
11195 * Source/NSLock.m: ditto.
11196 * Source/NSNotificationCenter.m: ditto.
11197 * Source/NSNotificationQueue.m: ditto.
11198 * Source/NSNumber.m: ditto.
11199 * Source/NSObjCRuntime.m: ditto.
11200 * Source/NSObject.m: ditto.
11201 * Source/NSPage.m: ditto.
11202 * Source/NSPortNameServer.m: ditto.
11203 * Source/NSScanner.m: ditto.
11204 * Source/NSSerializer.m: ditto.
11205 * Source/NSString.m: ditto.
11206 * Source/NSTask.m: ditto.
11207 * Source/NSTimeZone.m: ditto.
11208 * Source/NSThread.m: ditto.
11209 * Source/NSUnarchiver.m: ditto.
11210 * Source/NSURL.m: ditto.
11211 * Source/NSURLHandle.m: ditto.
11212 * Source/NSUserDefaults.m: ditto.
11213 * Source/NSZone.m: ditto.
11214 * Tools/gdomap.c: ditto.
11215 * Tools/gdnc.m: ditto.
11216 * Tools/plparse.m: ditto.
11217 * Tools/sfparse.m: ditto.
11218 * Tools/pldes.m: ditto.
11219 * Tools/plser.m: ditto.
11220
11221 1999-06-24 Adam Fedor <fedor@gnu.org>
11222
11223 * Source/include/GSIArray.h (GSIArrayRemoveLastItem): New function.
11224 (GSIArrayLastItem): Likewise.
11225 (GSIArrayCopyWithZone): Likewise.
11226
11227 Tue Jun 22 16:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11228
11229 * Source/NSThread.m: Various changes to tidy up notification handling
11230 to avoid warning messages and to ensure that observers get notified
11231 before the application becomes multi-threaded.
11232
11233 Mon Jun 21 20:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11234
11235 * Source/NSFileManager.m: Fixed error recursing into directory.
11236 * Source/include/NSFileManager.h: tidied.
11237
11238 Mon Jun 21 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11239
11240 Mostly updates of range checking code and change of FastArray and
11241 FastMap to use the prefix GSI (GnuStepInline) rather than Fast -
11242 less likely to conflict with other names.
11243 * Source/include/NSRange.h: Added GS_RANGE_CHECK() macro for consistent
11244 range checking.
11245 * Source/include/FastArray.x: Renamed to GSIArray.h
11246 * Source/include/FastMap.x: Renamed to GSIMap.h
11247 * Source/include/NSArchiver.h: Changed Fast to GSI
11248 * Source/NSString.m: Use GS_RANGE_CHECK()
11249 * Source/NSGString.m: ditto
11250 * Source/NSGCString.m: ditto
11251 * Source/NSAttributedString.m: ditto
11252 * Source/NSGAttributedString.m: ditto
11253 * Source/NSData.m: ditto
11254 * Source/NSArray.m: ditto
11255 * Source/NSGArray.m: ditto
11256 * Source/GNUmakefile: Renamed Fast... to GSI...
11257 * Source/Makefile.postamble: Renamed Fast... to GSI...
11258 * Source/NSArchiver.m: ditto
11259 * Source/NSGCountedSet.m: ditto
11260 * Source/NSGDictionary.m: ditto
11261 * Source/NSGSet.m: ditto
11262 * Source/NSNotificationCenter.m: ditto
11263 * Source/NSRunLoop.m: ditto
11264 * Source/NSSerializer.m: ditto
11265 * Source/NSUnarchiver.m: ditto
11266
11267 Fri Jun 18 8:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11268
11269 * Source/NSFileManager.m: Fix lookup of fileGroupOwnerAccountName
11270 Fix test for symbolic links, add diagnostic info, fix copy to produce
11271 files owned by current user.
11272 * Source/include/NSFileManager.h: tidyup
11273 * Source/include/NSObject.h: fixup for ASSIGN macro - should work for
11274 all objects.
11275
11276 Thu Jun 17 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11277
11278 * Source/include/NSNotification.h: Update to MacOS-X specs.
11279 * Source/NSNotification.m: Tidied
11280 * Source/NSNotificationCenter.m: Complete rewrite for performance
11281 (order of magnitude improvement) and GC.
11282
11283 Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11284
11285 * Tools/gdnc.m: Only use OpenStep NSNotificationCenter methods.
11286 * Source/NSConnection.m: ditto
11287 * Source/NSDistributedNotificationCenter.m: ditto
11288 * Source/NSPort.m: ditto
11289 * Source/NSPortNameServer.m: ditto
11290 * Source/NSSerializer.m: ditto
11291 * Source/Port.m: ditto
11292 * Source/TcpPort.m: ditto
11293
11294 Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11295
11296 * Source/NSConcreteValue.m: Update for MacOS-X and for GC
11297 * Source/NSCTemplateValue.m: Update for MacOS-X and for GC
11298 * Source/NSNumber.m: Update for MacOS-X and for GC, optimised
11299 * Source/NSConcreteNumber.m: Update for MacOS-X and for GCC, optimised
11300 * Source/NSValue.m: Update for MacOS-X and for GC
11301 * Source/include/NSValue.h: Update for MacOS-X and for GC
11302
11303 Sat Jun 12 15:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11304
11305 * Source/NSConcreteValue.m: Implemented [hash and isEqualToValue
11306 * Source/include/NSConcreteValue.h: Change NSString ivar to char* for
11307 performance reasons.
11308 * Source/NSCTemplateValue.m: Implemented hash and optimised.
11309
11310 Thu Jun 4 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11311
11312 * Source/NSCharacterSet.m: prepare for GC
11313 * Source/NSString.m: prepare for GC
11314 * Source/NSTimer.m: tidied and added timeInterval method
11315 * Source/include/NSTimer.h: tidied and added timeInterval method
11316 * Source/NSArchiver.m: Fixed memory leak in ([-init])
11317
11318 Tue Jun 2 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11319
11320 * Source/NSSerializer.m: Added uniquing for deserialized strings.
11321 * Source/include/NSSerialization.h: likewise.
11322
11323 Tue Jun 2 5:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11324
11325 * Source/TcpPort.m: Fixed to compile cleanly under cygwin.
11326 * Source/UnixFileHandle.m: ditto
11327 * Source/NSHost.m: ditto
11328 * Source/NSProcessInfo.m: ditto
11329 * Source/NSRunLoop.m: ditto
11330
11331 Fri May 28 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11332
11333 * Source/NSString.m: Fixed error on growing mutable strings - could
11334 cause unreasonable growth when generating property lists.
11335
11336 Thu May 27 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11337
11338 * Source/NSArchiver.m: Fix memory leak reported by
11339 frederic.chauvin@lemel.fr and ready for garbage collection.
11340 * Source/NSUnarchiver.m: Ready for garbage collection.
11341 * Source/NSTimeZone.m: Fix memory leak reported by
11342 frederic.chauvin@lemel.fr. Ready for garbage collection.
11343 * Source/NSCalendarDate.m: Fix bug in decrementing date past start
11344 of month. Ready for garbage collection.
11345
11346 Wed May 26 18:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11347
11348 * Source/include/NSSerialization.h: include NSObject.h
11349 * Source/NSSerializer.m: Deserialization optimisation (15%)
11350 * Source/NSArray.m: write descriptions to cstrings.
11351 * Source/NSDictionary.m: write descriptions to cstrings.
11352 * Source/NSGCString.m: description optimisation (15%).
11353
11354 Wed May 26 12:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11355
11356 * Source/NSUnarchiver.m: Fixed libobjects compatibility methods to
11357 use decodeObject to get the name from the archive.
11358
11359 Sun May 23 20:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11360
11361 * Source/TcpPort.m: Fixed retain/release loop causing ports occasionally
11362 to be kept in existence when they should disappear.
11363
11364 Fri May 21 19:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11365
11366 * Source/include/NSObject.h: Added NSExtraRefCount()
11367 * Source/NSObject.m: Added NSExtraRefCount()
11368
11369 Fri May 21 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11370
11371 * Source/include/NSThread.h: Update notification names to MacOS-X
11372 with defines for OpenStep compatibility.
11373 * Source/NSThread.m: Update notification names to MacOS-X
11374 * Source/externs.m: Update thread notification names to MacOS-X
11375
11376 Fri May 21 16:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11377
11378 * Source/include/NSZone.h: Added NSZoneMallocAtomic() for Helge
11379 and in anticipation of adding garbage collection support some day.
11380
11381 Fri May 21 9:56:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11382
11383 * Source/include/NSObject.h: Bracket macro definitions with #ifndef
11384 in case they are already defined.
11385
11386 Thu May 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11387
11388 * Source/NSUserDefaults.m: Don't load defaults unless we need to.
11389 * Source/include/NSUserDefaults.h: Keep modification timestamp.
11390
11391 Thu May 20 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11392
11393 * Source/GSeq.h: Add support for comparison and search.
11394 * Source/NSString.m: Use comparison and search functions from GSeq.h
11395 * Source/NSGString.m: Use comparison and search functions from GSeq.h
11396 * Source/NSGCString.m: Use comparison and search functions from GSeq.h
11397 * Source/Makefile.postamble: Make all string files depend on GSeq.h
11398 * Source/NSRunLoop.m: Don't retain receiver of runloop watcher.
11399
11400 Wed May 19 21:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11401
11402 * Source/GSeq.h: New file to replace NSGSequence stuff
11403 * Source/NSString.m: Rewrite all methods using sequences.
11404 * Source/NSGString.m: Remove reference to NSGSequence.
11405 * Source/include/NSString.h: Remove unused method (_normalize).
11406 * Source/NSGSequence.m: Removed
11407 * Source/include/NSGSequence.h: Removed
11408
11409 Tue May 18 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11410
11411 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) check that
11412 run loop watcher objects exist in map before trying to use them.
11413
11414 Fri May 14 20:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11415
11416 * Tools/pldes.m: new tool to deserialise serialised property lists.
11417 * Tools/plser.m: new tool to serialise text property lists.
11418 * Tools/GNUmakefile: add pldes and plser
11419
11420 Mon May 11 15:00:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11421
11422 * Source/NSArray.m: getObjects: (id*)aBuffer range: (NSRange)aRange
11423 corrected bug in for: replace c by e
11424
11425 Tue May 11 10:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11426
11427 * Source/include/preface.h: Attempt to standardise win32 conditional
11428 compilation by using __WIN32__ throughout.
11429 * NSDate.m: Standardize win32 stuff using __WIN32__
11430 Open files with "rb" or "wb" only for winw3.
11431 * NSFileManager.m: Standardize win32 stuff using __WIN32__
11432 * NSHost.m: Standardize win32 stuff using __WIN32__
11433 * NSLog.m: Standardize win32 stuff using __WIN32__
11434 * NSProcessInfo.m: Standardize win32 stuff using __WIN32__
11435 * NSString.m: Standardize win32 stuff using __WIN32__
11436 * NSTask.m: Standardize win32 stuff using __WIN32__
11437 * NSThread.m: Standardize win32 stuff using __WIN32__
11438 * NSUser.m: Standardize win32 stuff using __WIN32__
11439 * NSUserDefaults.m: Standardize win32 stuff using __WIN32__
11440 * Time.m: Standardize win32 stuff using __WIN32__
11441 * UnixFileHandle.m: Standardize win32 stuff using __WIN32__
11442 * NSData.m: Standardize win32 stuff using __WIN32__
11443 * NSTimeZone.m: Standardize win32 stuff using __WIN32__
11444 Open files with "rb" or "wb" only for winw3.
11445
11446 Mon May 10 8:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11447
11448 * Source/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11449 optimised.
11450 * Source/NSGString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11451 implemented.
11452 * Source/NSGCString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11453 * Source/NSGSequence.m: various parts optimised.
11454 * Source/include/NSThread.h: add gcontext ivar.
11455
11456 Fri May 7 15:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11457
11458 * Source/NSBundle.m: Modified ([-release]) to avoid unnecessary work
11459 and to refrain from caching bundles unless they have loaded code
11460 (or are the main bundle or the gnustep bundle).
11461
11462 Thu May 6 21:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11463
11464 * Source/NSUnarchiver.m: Don't retain/release unless necessary.
11465 * Source/NSUserDefaults.m: ditto
11466 * Source/NSNotification.m: ditto
11467 * Source/NSFileManager.m: ditto
11468 * Source/NSBundle.m: ditto
11469 * Source/NSRunLoop.m: ditto
11470 * Source/NSAutoreleasePool.m: Bugfix in dealloc - would leave count
11471 of retained objects set high - caused deallocs of nil objects.
11472
11473 Thu May 6 17:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11474
11475 * Source/NSString.m: Minor optimisations - use ([-allocWithZone:])
11476 * Source/NSGCString.m: ditto
11477 * Source/NSGDictionary.m: ditto
11478 * Source/NSArray.m: ditto
11479 * Source/NSDictionary.m: ditto
11480 * Source/NSSet.m: ditto
11481 * Source/NSGCountedSet.m: ditto
11482 * Source/NSData.m: ditto
11483
11484 Thu May 6 13:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11485
11486 * Source/propList.h: new file
11487 * Source/NSString.m: include propList.h for property-list parsing.
11488 * Source/NSGString.m: ditto
11489 * Source/NSGCString.m: ditto
11490 * Source/NSTask.m: Minor fixes for win32
11491 * Source/NSLog.m: ditto
11492 * Source/NSProcessInfo.m: ditto
11493 * Source/NSFileManager.m: ditto
11494
11495 1999-04-28 Adam Fedor <fedor@gnu.org>
11496
11497 * Source/NSRunLoop.m (aSort): Redefine to take FastArrayItem as
11498 arguments.
11499 * Source/include/FastArray.x (FastArrayInsertionPosition):
11500 Fully specify sorter function for better type checking.
11501 (FastArrayCheckSort): Likewise.
11502
11503 1999-04-27 Adam Fedor <fedor@gnu.org>
11504
11505 * configure.in: Check for sys/mount.h for NSFileManager functions
11506 on FreeBSD
11507
11508 Fri Apr 23 23:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11509
11510 * Source/NSCalendarDate.m: Applied bugfixes by Jeremy Bettis
11511 <jeremy@hksys.com> to better cope with month ends.
11512
11513 Fri Apr 23 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11514
11515 * Source/NSBundle.m: Improved localisation - avoid possibility of
11516 recursion problems if an error occurs reading localisation info.
11517 * Source/NSDate.m: Added classes for distant past and distant future.
11518
11519 1999-04-22 Adam Fedor <fedor@gnu.org>
11520
11521 * configure.in: Don't abort if nested functions don't work. Not
11522 sure we even have any.
11523
11524 * Source/NSBundle.m (-localizedStringForKey:value:table:): Log a
11525 message if no localized key found (per OpenStep specs).
11526 * Source/include/NSBundle.h
11527 (NSLocalizedStringFromTableInFramework): New GNUstep specific
11528 macro.
11529
11530 * NSCharacterSets/GNUmakefile: Install in Resources rather than
11531 Resources/gnustep.
11532 * NSTimeZones/GNUmakefile: Likewise.
11533 * Source/NSCharacterSet.m: Look in new location.
11534 * Source/NSTimeZone.m: Likewise.
11535
11536 Thu Apr 22 21:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11537
11538 * Source/NSBundle.m: Improved localisation - added stuff for internal
11539 use by the GNUstep system.
11540 * Source/NSBundle.h: ditto.
11541 * Source/FastArray.x: Removed assertions for performance.
11542
11543 Thu Apr 22 11:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11544
11545 * Source/NSRunLoop.m: Optimisation and tidyup.
11546 * Source/NSTimer.m: Minor bugfixes.
11547 * Source/include/FastArray.x: Bugfix for array insertion.
11548 * Source/include/NSRunLoop.h: Remove limit ivar.
11549 * Source/include/NSTimer.h: Use NSDate again.
11550
11551 Wed Apr 21 20:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11552
11553 * Source/NSAttributedString.m: Tidied.
11554 * Source/Source/NSAutoreleasePool.m: Thread exit code added
11555 * Source/NSCalendarDate.m: Tidied
11556 * Source/NSConnection.m: ditto
11557 * Source/NSException.m: Tidied and added description
11558 * Source/NSRunLoop.m: Optimisation, bugfixes, and removal of cruft.
11559 * Source/NSThread.m: Clean up autorelease pools on exit.
11560 * Source/NSTimer.m: Optimise use in runloop.
11561 * Source/include/FastArray.x: Bugfix for sorted array.
11562 * Source/include/NSAutoreleasePool.h: Mod for threads.
11563 * Source/include/NSObject.h: More retain/release macros.
11564 * Source/include/NSRunLoop.h: Optimise limit date.
11565 * Source/include/NSTimer.h: Optimise use with run loop.
11566
11567 Tue Apr 20 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11568
11569 * Source/Makefile.postamble: NSRunLoop.m uses FastArray.x
11570 * Source/NSConnection.m: Tiny performance optimisation.
11571 * Source/NSDate.m: Minor fixes to class cluster.
11572 * Source/NSGDictionary.m: fixed typo.
11573 * Source/NSNotificationQueue.m: Optimised runloop interaction.
11574 * Source/NSRunLoop.m: Optimisaed notification queue interaction.
11575 * Source/NSTimer.m: Optimisation for run loop.
11576 * Source/NSUnarchiver.m: Fixed typo.
11577 * Source/include/FastArray.x: Support sorted insertion.
11578 * Source/include/NSDate.h: Tidied.
11579 * Source/include/NSNotificationQueue.h: Change runloop interface.
11580 * Source/include/NSTimer.h: Change runloop interface.
11581
11582 Mon Apr 19 14:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11583
11584 * Source/NSThread.m: Fast thread access (GSCurrentThread()) etc.
11585 * Source/NSAssertionHandler.m: Use fast thread access.
11586 * Source/NSConnection.m: Use fast thread access.
11587 * Source/NSException.m: Use fast thread access.
11588 * Source/NSNotificationQueue.m: Use fast thread access.
11589 * Source/NSRunLoop.m: Use fast thread access plus other optimisations.
11590 * Source/NSAutoreleasePool.m: Speed up thread access.
11591 * Source/NSDate.m: Rewrite as calss cluster - MacOS-X compatibility.
11592 * Source/NSCalendarDate.m: Modifications to work with NSDate.
11593 * Source/NSGDictionary.m: Minor tidyup.
11594 * Source/NSGSequence.m: Minor optimisation - really needs a rewrite.
11595 * Source/NSDebug.m: Added function to report all allocations.
11596
11597 Fri Apr 16 20:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11598
11599 * Source/include/NSGeometry.h: Don't pollute macro name space with
11600 MAX and MIN.
11601 * Source/include/NSRange.h: ditto
11602
11603 Thu Apr 15 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11604
11605 * Source/include/NSHost.h: Use #ifdefs to prevent multiple inclusion.
11606
11607 Thu Apr 15 9:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11608
11609 * Source/UnixFileHandle.m: ([-fileDescriptor]) return a valid file
11610 descriptor (for /dev/null) for the null device.
11611 * Source/NSTask.m: ([-launch]) Add code to reset signals in subprocess
11612 and to close all file descriptors (except stdin, stdout and stderr).
11613
11614 Wed Apr 14 14:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11615
11616 * Source/NSPortNameServer.m: Don't suspend thread while waiting for
11617 gdomap to start up.
11618 * Source/NSDistributedNotificationCenter.m: Don't suspend thread while
11619 waiting for gdnc to start up.
11620
11621 Wed Apr 14 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11622
11623 * Source/NSBundle: ([+allBundles]) implemented (ignoring the frameworks
11624 issue). Extra internal GNUstep specific methods provided -
11625 ([+_gnustep_target_cpu]), ([+_gnustep_target_dir])
11626 ([+_gnustep_target_os]), ([+_library_combo])
11627 So that we can easily determine wrapper path information.
11628 * Source/NSTaks: Preparation for garbage collecting.
11629 Major work on launching - now makes intelligent use of launch path.
11630 Tries various GNUstep directories - if unable to find executable
11631 that way, resorts to using the unix PATH environment variable.
11632 * Source/NSPortNameServer.m: Removed a couple of unix specific calls.
11633 * Source/NSDistributedNotificationCenter.m: Removed a couple of unix
11634 specific calls.
11635 * Tools/Makefile.postamble: Install gdnc in non-library specific dir.
11636
11637 Tue Apr 13 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11638
11639 * Source/NSBundle.m: Updated to use Info.plist if Info-gnustep.plist
11640 is not available. Also updated to look in alternative directories
11641 for the object file to load... If not in the machine/os/lib-combo
11642 subdirectory, tries the machine/os directory and then the top-level
11643 directory. Also updated to cope with the case where the NSExecutable
11644 entry of the Info.plist specifies a path rather than a simple file name.
11645 * Source/NSUser.m: Implemented NSFullUserName()
11646
11647 Mon Apr 12 13:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11648
11649 * Source/NSCountedSet.m: Make copying behavior be same as OPENSTEP
11650 * Source/NSSet.m: Fix memory scribbling bug in ([-initWithSet:])
11651 * Source/NSGSet.m: Tidied types in fast map.
11652 * Source/NSGArray.m: Minor optimisationin copy etc.
11653 * Source/NSGDictionary.m: Tidied types in fast map.
11654 * Source/NSSerializer.m: Tidied types in fast map and array.
11655 * Source/NSArchiver.m: Tidied types in fast map and array.
11656 * Source/NSUnarchiver.m: Tidied types in fast map and array.
11657 * Source/FastArray.x: Tidied, fixed init bug, movied to include
11658 * Source/FastMap.x: Tidied, moved to include
11659 * Source/NSZone.m: Dummy zone for use with GC.
11660 * Source/include/NSZone.h: Dummy zone for use with GC.
11661 * Source/include/GSUnion.h: Unions for use with Fast...
11662 * Source/include/FastArray.x: New from Source
11663 * Source/include/FastMap.x: New from Source
11664 * Source/GNUmakefile: Added FastArray.x, FastMap.x, GSUnion.h
11665 * Source/Makefile.postamble: Added FastArray.x FastMap.x GSUnion.h.
11666 * NSCharacterSets/GNUmakefile: List all new character set names.
11667
11668 Fri Apr 9 22:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11669
11670 * Source/NSGAttributedString.m: Final optimisation - remove almost all
11671 objc runtime overhead. Combined changes should result in a factor of
11672 2 to 10 speedup (depending on operation) over original code.
11673
11674 Fri Apr 9 16:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11675
11676 * Source/NSAttributedString.m: Implement tracking of changes to
11677 string returned by [-mutableString] method. Simplified initialisation.
11678 * Source/include/NSAttributedString.h: Updated.
11679 * Source/NSGAttributedString.m: Rewrite to get rid of all known
11680 problems and to boost performance hugely.
11681 * Source/include/NSGAttributedString.h: Updated.
11682 * Source/NSString.m: ([-_baseCount]) optimised.
11683 * Source/NSGString.m: ([-_baseCount]) optimised.
11684
11685 1999-04-09 Adam Fedor <fedor@gnu.org>
11686
11687 * NSCharacterSets: Updated sets to Version 2.1.8
11688 * Souce/NSCharacterSet.m: Updated to reflect new names of character
11689 sets.
11690
11691 1999-04-08 Adam Fedor <fedor@gnu.org>
11692
11693 * configure.in: Remove test for libobjc.a
11694
11695 Thu Apr 8 12:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11696
11697 * Source/NSArray.m: Make copying behavior consistent with OPENSTEP.
11698 * Source/NSDictionary.m: Make copying behavior consistent with OPENSTEP.
11699 * Source/NSSet.m: Make copying behavior consistent with OPENSTEP.
11700
11701 Wed Apr 7 12:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11702
11703 * Source/NSCharacterSet.m: Use punctuationCharSet.dat
11704
11705 1999-04-06 Adam Fedor <fedor@gnu.org>
11706
11707 * NSCharacterSets/punctuationCharSet.dat: New file
11708
11709 Mon 5 7:33:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11710
11711 * Source/NSRange.m: Moved most functions into header file, while
11712 including header to generate linkable versions.
11713 * Source/include/NSGeometry.h: Define MIN and MAX if required.
11714 * Source/include/NSRange.h: Define MIN and MAX if required and make
11715 most range functions a efficiency.
11716
11717 Thu Mar 11 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11718
11719 * Source/NSDebug.m: Added two new functions for logging messags.
11720 * Source/include/NSDebug.h: Added four new logging macros.
11721 * Source/NSBundle.m: Updated to use new NSDebugMLLog() macro.
11722
11723 Wed Mar 10 09:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11724
11725 * Source/FastMap.x: FastMapNodeForKey() - special case for empty map
11726 return 0 immediately. Fast for empty maps, marginally slower othrwise.
11727 * Source/NSProcessInfo.m: Removed [-debugArray], Added [-debugSet],
11728 Added GSDebugSet() function for rapid debug level testing.
11729 * Source/include/NSProcessInfo.h: Remove [-debugArray], Add [-debugSet]
11730 * Source/include/NSDebug.h: Rewrite NSDebugLog() and NSDebugLLog() to
11731 be much more efficient - now minimal performance impact.
11732
11733 1999-03-09 Adam Fedor <fedor@gnu.org>
11734
11735 * Source/include/NSObjCRuntime.h: Define some OpenStep cpp vars.
11736 * Source/include/NSException.h (NS_VALUERETURN): Fix.
11737
11738 Tue Mar 9 5:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11739
11740 * configure.in: Added tests for syslog
11741 * Source/include/config.h.in: Added definitions for syslog
11742 * Source/NSLog.m: Added locking for multi-thread serialisation and
11743 added syslog support when write to stderr fails.
11744
11745 1999-03-08 Adam Fedor <fedor@gnu.org>
11746
11747 * Merged dawn branch to main.
11748
11749 Wed Mar 3 5:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11750
11751 * Source/NSUser.m: Fixed a typo reported by twhite@rogers.wave.ca
11752 * Source/TcpPort.m: Fixed typos.
11753
11754 Tue Mar 2 15:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11755
11756 * Source/TcpPort.m: If the host has no IP address, try finding the
11757 address of 'localhost' and, if that fails, use 127.0.0.1
11758
11759 Tue Mar 2 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11760
11761 * NSTimeZones/Makefile.postamble: Updated to preserve old localtime
11762 * NSTimeZones.tar: Updated to use the latest available zone info.
11763
11764 Tue Mar 2 08:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11765
11766 * Merge in 'dawn' CVS branch.
11767
11768 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11769
11770 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11771 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11772 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11773 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11774 bug, and added slight performance improvement.
11775
11776 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11777
11778 Merged in alterations from main cvs branch made to wrong place 'cos
11779 dawn branch was already created :-(
11780 * Source/NSData.m: preserve file attributes when writing atomically
11781 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11782 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11783 doesn't mess up defaults database.
11784 * Source/NSFileManager.m: Create files with correct ownership when
11785 process is setuid to root - and provide facility for NSData to do same.
11786 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11787
11788 Sun Feb 21 19:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11789
11790 * Source/NSFileManager.m: Attempt to fix problems with directory
11791 enumeration.
11792
11793 Sat Feb 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11794
11795 * Source/NSUser.m: Added GSSetUserName() and rewrote NSUserName() to
11796 work consistently - use the LOGNAME environment variable as first
11797 choice of username.
11798 * Source/include/NSPathUtilities.h: Added GSSetUserName()
11799 * Source/NSUserDefaults.m: Added GNUstep specific method -
11800 ([+resetUserDefaults]) to reset the standard defaults in the event of
11801 a change os username. Also changed to create defaults withe correct
11802 ownership, and to create a defaults file containing a valid (empty)
11803 dictionary.
11804 * Source/include/NSUserDefaults.h: Added ([+resetUserDefaults])
11805 * Source/NSData.m: Try to preserve file ownership etc with
11806 ([-writeToFile:atomically:])
11807 * Source/NSFileManager.m: ([-changeFileAttributes:atPath:]) added
11808 code to handle owner and group names if owner and group IDs are not
11809 supplied. Also added code to ensure that programs running setuid to
11810 root create new files and directories with the ownership of their
11811 actual login user by default.
11812
11813 1999-02-19 Michael Hanni <mhanni@sprintmail.com
11814
11815 * Source/NSArray.m: Added @end for NSArrayEnumeratorReverse.
11816
11817 1999-03-08 Adam Fedor <fedor@gnu.org>
11818
11819 * Version 0.5.5 Released.
11820
11821 Tue Mar 2 17:04:51 1999 Adam Fedor <fedor@ultra.doc.com>
11822
11823 * Source/TcpPort.m ([GSTcpPort
11824 +portWithNumber:onHost:beforeDate:]): Fix typo in variable.
11825 Change include <sys/errno> to <errno> (Needed on solaris).
11826
11827 1999-03-01 Adam Fedor <fedor@gnu.org>
11828
11829 * Update documentation.
11830
11831 1999-02-28 Adam Fedor <fedor@gnu.org>
11832
11833 * Source/Makefile.postamble: Don't install services if not
11834 root. (patches submitted by Christopher Seawood
11835 <cls@seawood.org>).
11836
11837 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11838
11839 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11840 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11841 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11842 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11843 bug, and added slight performance improvement.
11844
11845 1999-02-22 Adam Fedor <fedor@gnu.org>
11846
11847 * Version: update version.
11848 * Source/NSProcessInfo.m: Change missing main message.
11849
11850 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11851
11852 Merged in alterations from main cvs branch made to wrong place 'cos
11853 dawn branch was already created :-(
11854 * Source/NSData.m: preserve file attributes when writing atomically
11855 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11856 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11857 doesn't mess up defaults database.
11858 * Source/NSFileManager.m: Create files with correct ownership when
11859 process is setuid to root - and provide facility for NSData to do same.
11860 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11861
11862 1999-02-19 Adam Fedor <fedor@gnu.org>
11863
11864 * Source/NSHost.m ([NSHost +currentHost]): Check for host not found.
11865 ([NSHost +hostWithName:]): Check for nil arg.
11866 ([NSHost +hostWithAddress:]): Likewise.
11867
11868 * Testing/release.m: Make array mutable.
11869 * Testing/fref.m: Switch to NSArchiver/NSUnarchiver
11870
11871 Wed Feb 17 8:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11872
11873 * Source/NSProcessInfo.m: Include process name in arguments list as
11874 in the OPENSTEP implementation - suggested by dirk@object-factory.com
11875 * Source/NSUserDefaults.m: Adjust for change to NSProcessInfo
11876 * Source/Tools/defaults.m: ditto
11877 * Source/Tools/dread.m: ditto.
11878 * Source/Tools/dwrite.m: ditto.
11879 * Source/Tools/dremove.m: ditto.
11880 * Source/Tools/plparse.m: ditto.
11881 * Source/Tools/sfparse.m: ditto.
11882
11883 Tue Feb 16 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11884
11885 * Source/NSArray.m: ([-removeObjectsFromIndices:]) rewrite to
11886 work according to spec.
11887 * Testing/nsarray.m: Fixed check on joining strings.
11888
11889 Mon Feb 15 06:14:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11890
11891 * Source/include/NSDebug.h: Declare strerror() if not known to system
11892 * Source/NSTask.m: Include NSDebug.h and don't declare errno.
11893
11894 Thu Feb 12 00:57:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11895
11896 * Source/include/NSString.h: declaration of categories:
11897 NSString (GSString)
11898 NSString(GSTrimming)
11899 NSMutableString (GSString)
11900 NSMutableString (GSTrimming)
11901 * Source/NSString.m: implementation of these categories
11902 * Source/include/NSObject.h: added ASSIGNCOPY
11903 Same as ASSIGN but copy the value
11904 * Source/include/NSURL.h: New class
11905 * Source/include/NSURLHandle.h: New class
11906 * Source/NSURL.m: New class [see the note in the file]
11907 * Source/NSURLHandle.m: New class [see the note in the file]
11908 * GNUMakefile: added NSURL.m and NSURLHandle.m
11909
11910 Fri Feb 12 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11911
11912 * Source/NSGeometry.m: Removed most functions - into header
11913 * Source/include/NSGeometry.h: Made most functions inline for speed.
11914 * Makefile.postamble: NSGeometry.o depends on NSGeometry.h
11915
11916 Thu Feb 11 19:25:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11917
11918 * Source/NSObjCRuntime.m: Fixed error in GSGetInstanceVariable name:
11919 GSGetIinstanceVariable transformed to GSGetInstanceVariable
11920
11921 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11922
11923 * Source/NSString.m: Fixed error in property-list parsing - was not
11924 taking into account octal and hexadecimal escape sequences.
11925
11926 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11927
11928 * Source/NSUserDefaults.m: ([-dealloc]) invalidate timer so we can't
11929 get sent a timeout message after d4eallocation - fixes occasional
11930 crashes when the defaults database has been unreadable.
11931
11932 Thu Feb 11 7:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11933
11934 * Source/NSConnection.m: Tidy up with bugfixes and better distributed
11935 retain/release for triangle connections.
11936 * Source/NSDistantObject.m: ditto
11937 * Source/TcpPort.m: ditto
11938 * Source/include/DistributedObjects.h: ditto
11939 * Source/include/NSConnection.h: ditto
11940 * Source/include/NSDistantObject.h: ditto
11941
11942 1999-02-09 Adam Fedor <fedor@gnu.org>
11943
11944 * Source/HashTable.m: Moved to extensions.
11945 * Source/List.m, Source/NXStringTable*, Source/Storage.m,
11946 Source/objc/HashTable.h, Source/objc/List.h,
11947 Source/objc/NXStringTable.h, Source/objc/Storage.h:
11948 Likewise.
11949
11950 Tue Feb 9 14:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11951
11952 * Source/NSProcessInfo.m: Fixed login in #if construct so things
11953 will link again.
11954
11955 1999-02-08 Adam Fedor <fedor@gnu.org>
11956
11957 * Source/include/fake-main.h: Leave off __ELF__, only use
11958 autoload of init method if SYS_AUTOLOAD.
11959 * Source/NSProcessInfo.m: Likewise.
11960
11961 Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11962
11963 * Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
11964 inline functions for integers with known sizes.
11965 * Source/NSData.m: Corrected serialization/deserialization routines to
11966 do byte-swapping using new functions.
11967 * Source/UnixFileHandle.m: Use new byte-swapping functions rather than
11968 htonl(), htons(), ntohl(), ntohs().
11969 * Source/NSUnarchiver.m: Use new byte-swapping functions.
11970
11971 1999-02-04 Adam Fedor <fedor@gnu.org>
11972
11973 * config/config.printf.c: New file.
11974 * configure.in: Test for broken register_printf function.
11975
11976 * Source/NSLog.m (_NSLog_standard_printf_handler): Use fputs to
11977 avoid possible double expansion of format chars.
11978
11979 1999-02-04 Matthias Klose <doko@cs.tu-berlin.de>
11980
11981 * Source/include/NSObject.h: eval value in ASSIGN macro only once.
11982
11983 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11984
11985 * Source/NSString.m: ([-dataUsingEncoding:allowLossyConversion:])
11986 Removed spurious trailing nul and other spurious code having no
11987 effect - formatted to be readable.
11988
11989 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11990
11991 Deleted all the old property-list and strings-file parsing stuff.
11992 * Source/NSBitmapCharSet.m: ([-formUnionWithCharacterSet]) corrected
11993 to use bitwise or rather than logical or.
11994 ([-formIntersectionWithCharacterSet:]) corrected to use bitwise and
11995 rather than logical and.
11996 * Source/NSString.m: Implemented handwritten parser code for
11997 ([-propertyList]) and ([-propertyListFromStringsFileFormat]) which
11998 supports unicode strings, is 64-bit clean, and raises exceptions
11999 as it should when given a badly formatted string to parse.
12000 This replaces the old lex/bison code (which did none of these things)
12001 and runs just as fast! Just hope that if there are any bugs they
12002 show up in time to fix for the 0.6 release.
12003 * Tools/GNUmakefile: Added plparse and sfparse.
12004 * Tools/plparse.m: New tool to parse a property-list and report errors.
12005 * Tools/sfparse.m: New tool to parse a strings-file and report errors.
12006
12007 Wed Feb 3 12:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12008
12009 * Source/FastArray.x: Don't use value returned by RETAIN macro.
12010 * Source/FastMap.x: Don't use value returned by RETAIN macros.
12011 * Source/NSGDictionary.m: Fix to assign values in RETAIN macros
12012 as suggested by mguesdon@sbuilders.com
12013
12014 Tue Feb 2 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12015
12016 * Source/NSZone.m: nrecycle() bugfix - was persisting after memory
12017 had actually been returned to system malloc.
12018
12019 Tue Feb 2 11:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12020
12021 * Source/mframe/alpha/linux-gnu: First 'real' port to alpha.
12022 * Source/mframe/alpha/generic: ditto
12023
12024 1999-02-01 Adam Fedor <fedor@gnu.org>
12025
12026 * Source/UnixFileHandle.m: Switch include of netinet/in.h.
12027 * Source/NSObject.m: Undef ALIGN before define'ing.
12028 * Source/NSZone.m: Likewise.
12029 * Source/mframe/configure.in: Recognize any version of freebsd or
12030 openbsd.
12031 * Source/mframe/i386/freebsd: New file, copy of generic.
12032 * Source/mframe/i386/openbsd: Likewise. (Bug
12033 reports from Michael Hanni <mhanni@sprintmail.com>).
12034
12035 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12036 Patch supplied by eric@skatter.usask.ca
12037 * Testing/nsscanner.m: Explicitly include NSString.h.
12038 Cleaned up autorelease pool handling.
12039 Fixed some printf arguments that didn't match their formats.
12040 Added tests for scanHexInt:.
12041 * Source/include/NSScanner.h:
12042 Add declarations for scanInt: and scanHexInt: methods.
12043 * Source/NSScanner.m Added scanHexInt: method.
12044 Cleaned up some comments.
12045 Added conditional compile to let scanDouble: accept numbers
12046 like 1.234eFoo (as 1.234). For now, numbers like this are rejected.
12047
12048 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12049
12050 * src/NSArray.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12051 * src/NSDictionary.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12052 * src/NSData.m: Tidied indentation and 64-bit clean serialization of
12053 strings, classes, and selectors.
12054
12055 Sat Jan 30 5:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12056
12057 Tidying up brain-damaged changes I made while ill.
12058 * src/NSConnection.m: Tidied proxy handling a bit
12059 * src/NSDistantObject.m: Tidied - made closer to OpenStep spec.
12060
12061 Fri Jan 29 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12062
12063 * src/NSArchiver.m: Implemented ([-encodeDataObject:])
12064 * src/NSUnarchiver.m: Implemented ([-decodeDataObject])
12065
12066 1999-01-28 Adam Fedor <fedor@gnu.org>
12067
12068 * GNUmakefile (SUBPROJECTS): Change directory names
12069 * configure.in: Update for new directories.
12070
12071 Thu Jan 28 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12072
12073 * src/include/NSObject.h: Preliminaries for addition of GC
12074 * src/include/NSZone.h: ditto
12075 * src/NSObject.m: ditto
12076 * src/NSZone.m: ditto
12077
12078 Thu Jan 28 11:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12079
12080 * src/include/GSConfig.h.in: Added gsaddr type - integer with same
12081 size as a pointer.
12082 * configure.in: Added gsaddr type and fixed a coiuple of typos.
12083 * src/NSUnarchiver.m: include NSByteOrder.h
12084
12085 Thu Jan 28 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12086
12087 * src/Makefile.postamble: Tidied distclean stuff - suggested by
12088 jagapen@whitewater.chem.wisc.edu
12089
12090 Wed Jan 27 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12091
12092 * configure.n: More type-size stuff
12093 * src/include/GSConfig.h.in: More type-size stuff
12094 * src/include/NSData.h: Changed GNUstep extensions and added constants
12095 for coder support.
12096 * src/include/NSArchiver.h: Changes for handling systems with differing
12097 type sizes.
12098 * src/include/NSByteOrder.h: Changes and additions for handling systems
12099 with differing type sizes.
12100 * src/NSData.m: Changed GNUstep extensions for coder support in order
12101 to make handling of type-size information easier.
12102 * src/NSArchiver.m: Encode type-size info and write more efficiently.
12103 * src/NSUnarchiver.m: Decode type-size info.
12104 * src/UnixFileHanlde.m: Use localhost if given no host for connect.
12105
12106 Tue Jan 26 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12107
12108 * configure.in: More stuff for type-size info
12109 * src/include/GSConfig.h.in: More stuff for type-size info.
12110 * src/FastArray.x: Allow types with fixed sizes in array.
12111 * src/FastMap.x: Allow types with fixed sizes in map.
12112
12113 Tue Jan 26 8:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12114
12115 * src/NSThread.m: ([-sleepUntilDate:]) cast argument of usleep() to
12116 be integer rather than float - suggested by stark@easynet.fr
12117
12118 Sun Jan 24 8:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12119
12120 * src/NSConnection.m: Preliminary work for handling DO between
12121 machines wiuth different pointer sizes.
12122 * src/NSDistantObject.m: ditto
12123 * src/include/NSConnection.h: ditto
12124 * src/include/NSDistantObject.h: ditto
12125 * src/include/DistributedObjects.h: ditto
12126
12127 Tue Jan 19 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12128
12129 * src/NSUserDefaults.m: Fixed to update periodically from disk and
12130 to post notifications if the on-disk copy has changed.
12131 * src/include/NSUserDefaults.m: Changed vtimer info for update.
12132
12133 Fri Jan 15 10:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12134
12135 * src/NSObjCRuntime.m: Added GSGetInstanceVariable() and
12136 GSSetInstanceVariable() methods - extensions to gnustep.
12137 * src/NSObjCRuntime.h: ditto
12138
12139 Tue Jan 12 4:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12140
12141 * src/NSProcessInfo.m: Fix for GNU/Linux-powerpc (__PPC__) to get
12142 class initialised with argument info.
12143 * src/include/fake-main.h: ditto
12144
12145 Mon Jan 11 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12146
12147 Fixes for bugs reported by Benhur-de-Oliveira.Stein@imag.fr
12148 * src/NSDictionary.m: ([-initWithObjectsAndKeys:]) fixed test for nil.
12149 * src/NSSet.m: Added makeObjectsPerformSelector methods.
12150 * src/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:]) find
12151 range from before the index if necessary.
12152 * Tidied allocation methods in NSArray.m NSDictionary.m
12153
12154 Sat Jan 8 6:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12155
12156 * src/NSPortNameServer.m: Raise exception on failure to register name.
12157
12158 Fri Jan 8 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12159
12160 * src/NSObject.m: Cache a few more classes.
12161 * src/include/fast.x: Add a few more classes to cache.
12162 * checks/benchmark.m: Benchmark classname lookup overhead.
12163 * src/Makefile.postamble: Improve dependencies.
12164
12165 Wed Jan 6 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12166
12167 * src/UnixFileHandle.m: Fixed error in last change to ([-closeFile])
12168 which could fail to remove descriptors from runloop properly.
12169
12170 Wed Jan 6 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12171
12172 * mframe/alpha/linux-gnu: First rough attempt at making a config
12173 file for the DEC alpha.
12174 * mframe/alpha/gneric: ditto.
12175
12176 Tue Jan 5 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12177
12178 * configure.in: New stuff for making byte-order and type-size
12179 information available in GSConfig.h
12180 * src/NSTask.m: Set process group for child process and preliminary
12181 code for keeping track of active child tasks and handlign sigchld.
12182 * src/UnixFileHandle.m: Modified ([-closeFile]) to send notifications
12183 if there are any asynchronous operations in progress.
12184 * src/include/Foundation.h: include GSConfig.h
12185 * src/include/NSObject.h: include GSConfig.h
12186 * src/include/NSByteOrder.h: Use GS_WORDS_BIGENDIAN from GSConfig.h
12187 * src/include/GSConfig.h.in: Add typedefs for types with known size.
12188 * src/include/config.h.in: Added HAVE_SETPGID and HAVE_SETPGRP
12189
12190 Tue Jan 5 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12191
12192 * src/NSTask.m: Workaround for bug in linux waitpid(), general
12193 tidying, clean up descriptors in child process.
12194 * src/NSString.m: ([-dataUsingEncoding:]) fixed memory leak.
12195
12196 Mon Jan 4 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12197
12198 * src/NSInvocation.m: Fix for machines that pass structures by ref.
12199 * mframe/powerpc/linux-gnu: Machine definition added for powerpc.
12200
12201 Mon Jan 4 9:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12202
12203 * src/o_vscanf.c: Don't make local copy of va_list parameter by
12204 assignment - doesn't work on machines where a va_list is an array.
12205
12206 Sat Jan 2 12:48:51 1999 Adam Fedor <fedor@ultra.doc.com>
12207
12208 * configure.in: Configure subdir src/mframe properly using
12209 AC_CONFIG_SUBDIRS
12210
12211 Sat Dec 26 8:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12212
12213 * src/NSString.m: Make compare with range of length zero always return
12214 NSOrderedSame
12215
12216 Sat Dec 19 01:26:06 1998 Matthias Klose <doko@cs.tu-berlin.de>
12217
12218 * NSCharacterSets/Makefile.postamble: Use macro MKDIRS.
12219 * NSTimeZones/Makefile.postamble: likewise
12220 * src/Makefile.postamble: likewise
12221
12222 Sat Dec 19 10:45:58 1998 Adam Fedor <fedor@ultra.doc.com>
12223
12224 * src/mframe/configure.in: Test for empty subdir (patch from
12225 Matthias Klose <doko@cs.tu-berlin.de>).
12226
12227 Fri Dec 18 14:39:46 1998 Matthias Klose <doko@cs.tu-berlin.de>
12228
12229 * */*: include <base/*.h> instead of <gnustep/base/*.h>.
12230 * src/Makefile.postamble: reflect this change in srcdir-include.
12231
12232 Fri Dec 18 18:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12233
12234 Foundation.h: Added NSPathUtilities.h
12235 NSObject.h: Added GNUstep specific methods for describing a
12236 property-list to a stream.
12237 NSDate.h: Moved natural language methods to right place.
12238 NSObject.m: Added GNUstep specific extensions for describing a
12239 property-list to a stream, updated -description to spec.
12240 NSProxy.m: Tidied format and description method.
12241 NSArray.m: Added GNUstep specific extensions for describing a
12242 property-list to a stream.
12243 NSDictionary.m: ditto
12244 NSAttributedString.m: Tidied ([-replacementObjectForPortCoder:])
12245 NSGAttributedString.m: ditto
12246 NSGCString.m: ditto
12247 NSGString.m: ditto
12248 NSString.m: ditto
12249 NSConcreteNumber.m: Added ([-replacementObjectForPortCoder:])
12250 NSCoder.m: Cope nicely with encode/decode of nil property-list.
12251
12252 Thu Dec 17 16:12:18 1998 Matthias Klose <doko@cs.tu-berlin.de>
12253
12254 * {,*}/GNUmakefile: Include Version and GNUmakefile.local where
12255 missing.
12256 * configure: Add links to GNUmakefile.local
12257
12258 Thu Dec 17 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12259
12260 NSCoder.m: ([-decodePropertyList:]) bugfix - use NSDeserializer
12261
12262 Thu Dec 17 9:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12263
12264 NSCalendarDate.m: Try to cope gracefully when locale info is not
12265 available and we want to display a date. Use numeric month and
12266 week designations and hard-code am/pm
12267 NSUser.m: include NSProcessInfo.h
12268
12269 Wed Dec 16 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12270
12271 Various modifications suggested by <mguesdon@sbuilders.com> and
12272 <jagapen@whitewater.chem.wisc.edu>. All untested.
12273 src/include/Port.h: ([+newForReceivingFromRegisteredName:fromPort:])
12274 Additional method for DO through firewalls.
12275 src/include/NSConnection.h: Addittional method for DO through firewall
12276 ([+newRegisteringAtName:atPort:withRootObject:])
12277 Additional method for DO through firewalls.
12278 src/NSTask.h: Updated to MacOS-X spec - accepts NSPipes.
12279 src/TcpPort.m: ([+newForReceivingFromRegisteredName:fromPort:])
12280 Additional method for DO through firewalls. Removed obsolete name
12281 server code.
12282 src/NSConnection.m: Addittional method for DO through firewall
12283 ([+newRegisteringAtName:atPort:withRootObject:])
12284 src/NSTask.m: Updated to MacOS-X spec - accepts NSPipes.
12285
12286 Tue Dec 15 13:25:10 1998 Adam Fedor <fedor@doc.com>
12287
12288 * src/NSUser.m (NSFullUserName): New function (not implemented).
12289 (NSStandardApplicationPaths): Likewise.
12290 (NSStandardLibraryPaths): Likewise.
12291 (NSTemporaryDirectory): New function (implemented).
12292 (NSOpenStepRootDirectory): Likewise.
12293 * src/include/NSPathUtilities.h: Defined new functions.
12294 * src/include/NSUserDefaults.h: Removed duplicate definitions.
12295
12296 Mon Dec 14 6:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12297
12298 * src/GNUmakefile: Put mframe.h in a machine/os specific directory.
12299 * src/Makefile.postamble: Install mframe.h in machine/os specific dir
12300 * src/NSConnection.m: include mframe.h form new location.
12301 * src/NSInvocation.m: ditto
12302 * src/NSMethodSignature.m: ditto
12303 * src/NSObjCRuntime.m: ditto
12304 * src/NSSerializer.m: ditto
12305 * src/mframe.m: ditto
12306
12307 Sat Dec 12 21:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12308
12309 src/NSUserDefaults.m: ([+standardUserDefaults]) set flag to avoid
12310 infinite recursion on initialisation. Error reported by
12311 Matthias Klose <doko@cs.tu-berlin.de>
12312
12313 Sat Dec 12 17:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12314
12315 * src/include/GSConfig.h.in: Added new file for machine/os specific
12316 info that is relevent to things outside the base library.
12317 * configure.in: Build GSConfig.h
12318 * configure: Build GSConfig.h
12319 * src/GNUmakefile: Move GSConfig.h into place
12320 * src/Makefile.postamble: Install GSConfig.h
12321 * src/include/NSByteOrder.h: include GSConfig.h
12322
12323 Sat Dec 12 15:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12324
12325 * Tools/Makefile.postamble: Added check that you are installing gdomap
12326 as root and output warnign if not.
12327
12328 Mon Dec 7 10:00:34 1998 Adam Fedor <fedor@ultra.doc.com>
12329
12330 * src/NSConcreteNumber.m ([NumberTemplate
12331 -descriptionWithLocale:]): Print BOOL value as a special case.
12332
12333 * src/NSProcessInfo.m: Use fake-main if FreeBSD.
12334 * src/include/fake-main.h: Likewise.
12335
12336 Sun Dec 6 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12337
12338 * src/NSDate.m: removed +initialize - moved default locale info to
12339 NSUserDefaults.
12340 * src/NSUserDefaults.m: Added code to set up default locale info.
12341
12342 Thu Dec 3 16:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12343
12344 * src/NSDictionary.m: Removed filesystem methods - conflict with
12345 versions in NSFileManger.
12346 * src/include/NSDictionary.h: Ditto
12347 * src/NSFileManager.m: Updated dictionary access methods to MacOS spec
12348 * src/include/NSFileManager.h: Ditto.
12349 * src/include/NSUserDefaults.h: Made constant strings 'const'.
12350 * src/include/externs.m: Made constant strings 'const'.
12351
12352 Thu Dec 3 11:00:46 1998 Adam Fedor <fedor@ultra.doc.com>
12353
12354 * aclocal.m4: Add OBJC_CON_AUTOLOAD and OBJC_SYS_AUTOLOAD
12355 requirements to OBJC_SYS_DYNAMIC_LINKER test.
12356
12357 Wed Dec 2 16:11:05 1998 Adam Fedor <fedor@ultra.doc.com>
12358
12359 * src/NSDictionary.m (-fileGroupOwnerAccountName): New method.
12360 (-fileModificationDate): Likewise.
12361 (fileOwnerAccountName): Likewise.
12362 (filePosixPermissions): Likewise.
12363 (fileSize): Likewise.
12364 (fileSystemFileNumber): Likewise.
12365 (fileSystemNumber): Likewise.
12366 (fileType): Likewise.
12367 * src/include/NSDictionary.h: New methods. Contributed by Camile
12368 TROILLARD <tuscland@wanadoo.fr>.
12369
12370 Wed Dec 2 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12371
12372 * src/GNUmakefile: Added NSDateFormatter
12373 * src/Makefile.postamle: Bugfix in installation - was adding service
12374 entries when not needed.
12375 * src/NSDate.m: Added natural language support.
12376 * src/NSDateFormatter.m: Implemented this class.
12377 * src/externs.m: Added natural language support.
12378 * src/include/Foundation.h: Added missing headers.
12379 * src/include/NSDate.h: Added natural language stuff.
12380 * src/include/NSDateFormatter.h: Contributed by Camile TROILLARD
12381 <tuscland@wanadoo.fr> and updated to match implementation.
12382 * src/include/NSDecimalNumber.h: Added header (contributed by Camile) -
12383 no implementation yet.
12384 * src/include/NSDecimal.h: Added header - no implementation yet.
12385 * src/include/NSUserDefaults.h: Added natural language stuff.
12386
12387 Tue Dec 1 09:31:59 1998 Adam Fedor <fedor@ultra.doc.com>
12388
12389 * src/Makefile.postamble: new variable INSTALL_ROOT_DIR, such that
12390 /etc/services can be installed somewhere (need this for building
12391 Debian binary packages). Patch from Matthias Klose
12392 <doko@cs.tu-berlin.de>.
12393
12394 Mon Nov 30 10:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12395
12396 * src/NSTask: Minor bugfix -ignore SIGCHLD
12397 * src/NSUserDefaults: bugfix in registerDefaults: was replacing rather
12398 than addning defaults. Also changed to cache dictionaryRepresaentation.
12399 * src/include/NSUserDefaults.h: Added ivar to cache dictionary
12400 representation.
12401 * src/include/NSDate.h: Updated header for a couple of fixes.
12402 * src/NSDate.m: Initialise locale stuff.
12403 * src/NSCalendarDate.m: Use locale stuff.
12404
12405 Fri Nov 27 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12406
12407 * src/NSPortNameServer.m: ([_open]) changed to stop attempts to restart
12408 the name server when a connect to ANOTHER host fails. Also improved
12409 log messages to identify the host we failed to connect to. Also
12410 added support for overriding the default port fo the name server.
12411 * Tools/gdomap.h: updated comments to talk about NSPortNameServer.m
12412
12413 Fri Nov 27 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12414
12415 * src/NSObjCRuntime.m: minor performance improvment.
12416 * src/NSUnarchiver.m: more performance improvements.
12417 * src/NSObject.m: Fix error introduced in last mod.
12418
12419 Thu Nov 26 13:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12420
12421 * src/NSObject.m: ([+instanceRespondToSelector:]) and
12422 ([-respondsToSelector:]) changed to use __objc_responds_to() for an
12423 order of magnitude performance boost.
12424
12425 Thu Nov 26 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12426
12427 * src/NSRunLoop.m: Bugfix in ([-addEvent:type:watcher:forMode:]) to get
12428 the count of numbers of time a watcher has added a descriptor correct.
12429
12430 Wed Nov 25 16:27:52 1998 Adam Fedor <fedor@ultra.doc.com>
12431
12432 * src/include/fast.x: Add #ifndef/#define around file.
12433
12434 Wed Nov 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12435
12436 * src/NSPortNameServer.m: Made more tolerant of badly set up systems.
12437 * src/Makefile.postamble: Modified to make rule for placing gdomap in
12438 /etc/services more portable.
12439
12440 Tue Nov 24 4:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12441
12442 * src/Tools/GNUmakefile: removed make_services
12443 * src/Tools/make_services.m: Removed - moved to gui library.
12444 * src/NSBundle.m: Changed Info.plist to Info-gnustep.plist since
12445 that's what GNUstep uses instead.
12446
12447 Fri Nov 20 20:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12448
12449 * src/Makefile.postamble: Added dependencies for FastArray.x and added
12450 simple stuff to append gdomap port entries to /etc/services after
12451 install (if not already present).
12452
12453 Fri Nov 20 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12454
12455 * src/NSSerializer.m: Added GNUstep specific methods for controlling
12456 format to optimise serialisation for property lists containing
12457 repeated strings.
12458 * src/include/NSSerializer.h: ditto
12459 * src/FastArray.x: inline implementation of fast array code for stuff
12460 that doesn't need to be retained etc. Minimal functionality so far.
12461 * src/Fastmap.x: Tidied indentation etc.
12462 * src/include/NSArchiver.h: Use FastArray
12463 * src/NSUnarchiver.m: Use FastArray
12464 * src/NSAutorleasePool.m: Optimize implementation of +new
12465 * src/NSArray.m: Use ([NSAutoreleasePool +new])
12466 * src/NSDictionary.m: Use ([NSAutoreleasePool +new])
12467 * src/NSFileManager.m: Use ([NSAutoreleasePool +new])
12468 * src/NSPort.m: Use ([NSAutoreleasePool +new])
12469
12470 Thu Nov 19 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12471 * src/Archiver.m: Got rid of 'assert' - replace with 'NSAssert' etc.
12472 * src/BinaryTree.m: ditto
12473 * src/Coder.m: ditto
12474 * src/Collection.m: ditto
12475 * src/ConnectedCoder.m: ditto
12476 * src/Invocation.m: ditto
12477 * src/LinkedList.m: ditto
12478 * src/MachPort.m: ditto
12479 * src/NSAutoreleasePool.m: ditto
12480 * src/NSBundle.m: ditto
12481 * src/NSConnection.m: ditto
12482 * src/NSCountedSet.m: ditto
12483 * src/NSDate.m: ditto
12484 * src/NSDistantObject.m: ditto
12485 * src/NSGArchiver.m: ditto
12486 * src/NSGSequence.m: ditto
12487 * src/NSObject.m: ditto
12488 * src/NSPortCoder.m: ditto
12489 * src/NSRunLoop.m: ditto
12490 * src/NSSet.m: ditto
12491 * src/NSTimer.m: ditto
12492 * src/NSZone.m: ditto
12493 * src/NotificationDispatcher.m: ditto
12494 * src/OrderedCollection.m: ditto
12495 * src/Port.m: ditto
12496 * src/Random.m: ditto
12497 * src/Storage.m: ditto
12498 * src/TcpPort.m: ditto
12499 * src/UdpPort.m: ditto
12500 * src/behavior.m: ditto
12501 * src/mframe.m: ditto
12502
12503 Thu Nov 19 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12504
12505 * src/include/NSSerializer.h: Removed erroneous protocol conformance
12506 for NSSerializer and NSDeserializer.
12507 * src/NSSerializer.m: Complete rewrite - full OpenStep compatibility
12508 and huge speed increase.
12509 * doc/todo.tmpl.texi: Update todo list.
12510 * checks/benchmark.m: Added benchmarks for serializing/deserializing
12511 property lists and archiving/unarchiving them.
12512 * src/NSString.m: Fix bug returning arrya in completePathIntoString
12513
12514 Thu Nov 19 12:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12515
12516 * src/NSData.m: ([-encodeWithCoder:]) bugfix for case where data object
12517 is of length zero.
12518
12519 Wed Nov 18 9:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12520
12521 * Tools/make_services.m: New tool
12522 * Tools/GNUmakefile: Added make_services
12523 * Tools/Makefile.postamble: Tidied installation for gdnc
12524 * src/NSDistributedNotificationCenter.m: Start server with full path.
12525
12526 Mon Nov 16 14:29:35 1998 Adam Fedor <fedor@ultra.doc.com>
12527
12528 * src/NSBundle.m [+allBundles]: New method (unimplemented).
12529 [+allFrameworks]: Likewise.
12530 * src/NSCharacterSet.m [+punctuationCharacterSet]: Likewise.
12531 * src/NSLock.m [-lockBeforeDate:]: Likewise.
12532 [-lockWhenCondition:beforeDate:]: Likewise.
12533 * src/NSConnection.m: Likewise.
12534 * src/include/NSBundle.h: New methods;
12535 * src/include/NSCharacterSet.h: Likewise.
12536 * src/include/NSLock.h: Likewise.
12537 * src/include/NSConnection.h: Likewise (fixes from TROILLARD
12538 Camille <tuscland@wanadoo.fr>).
12539
12540 * src/include/fast.x: Fix /* in comment.
12541
12542 Thu Nov 12 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12543
12544 src/NSFormatter.m: New class
12545 src/include/NSFormatter.h: New class
12546 src/NSRunLoop.m: Misc optimisations
12547 src/NSGString.m: slight ([-cString]) optimisation.
12548 src/NSGCString.m: slight ([-cString]) optimisation.
12549 src/NSObject.m: fast allocation of temporary memory.
12550 src/include/fast.x: fast allocation of temporary memory.
12551
12552 Tue Nov 10 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12553
12554 * src/NSScanner.m: ([-scanString:intoString:]) bugfix to check length
12555 of the string we are looking for and simply return NO if it is longer
12556 than the data remaining in the string being scanned. Previously it
12557 would have raised an exception - which it shouldn't.
12558
12559 Mon Nov 9 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12560
12561 * src/externs.m: corrected notification name for user defaults.
12562 * src/NSUserDefaults.m: corrected notification name.
12563 * src/include/NSUserDefaults.h: corrected notification name.
12564
12565 Mon Nov 9 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12566
12567 * src/externs.m: fixed error in hashtable constants.
12568 * src/NSDistributedNotificationCenter.m: pugfix in check for
12569 posting of notification. Changed to pass selectors as strings.
12570 * Tools/gdnc.h: Pass selectors as strings. make posting oneway
12571 * Tools/gdnc.m: Pass selectors as strings, plus many bugfixes.
12572
12573 Mon Nov 2 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12574
12575 Tidied header files for NO_GNUSTEP/STRICT_OPENSTEP stuff.
12576 * src/NSDistributedNotificationCenter.m: New class (untested)
12577 * src/include/NSDistributedNotificationCenter.m: New class
12578 * src/GNUmakefile: Added NSDistributedNotificationCenter
12579 * src/Tools/gdnc.m: Server for distributed notifications (untested)
12580 * src/Tools/gdnc.h: Include for distributed notifications
12581 * src/Tools/GNUmakefile: Added gdnc
12582
12583 Fri Oct 30 09:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12584
12585 * src/include/NSPortNameServer.h: Added ([-removePort:]) method in a
12586 GNUstep catagory so that ports can unregister all their names at one
12587 go. Added maps of names and ports to keep track.
12588 * src/include/Port.h: removed [-invalidate] - inherit from NSPort
12589 * src/Port.m: removed [-invalidate] - inherit from NSPort
12590 * src/NSPort.m: made [-invalidate] method remove all the ports names
12591 from the name server and send the invalidation notification.
12592 * src/NSPortNameServer.m: Keep track of name/port mappings and, the
12593 first time a name is registered for a port, tell gdomap to remove
12594 any pre-existing names for that port (left around from a crashed
12595 server perhaps).
12596
12597 Thu Oct 29 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12598
12599 * src/UnixFileHandle.m: Improved handling of error conditions on
12600 background connection operations. Disable SIGPIPE to avoid abort
12601 when we attempt to write to a socket that's closed by the other end.
12602 * src/TCPPort.m: Modified to use NSPortNameServer, also changed to
12603 disable SIGPIPE on initialisation only, not on every write.
12604 * src/include/NSPortNameServer.h: new class.
12605 * src/NSPortNameServer.m: new class.
12606 * src/GNUmakefile: Added NSPortNameServer.
12607
12608 Wed Oct 28 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12609
12610 * Tools/gdomap.c: Added command-line options to lookup, register, and
12611 unregister a name for a port - basically for debugging purposes.
12612 * src/TcpPort.m: Modified port registration code to cope with the
12613 case where a server dies and is restarted, and tries to use the
12614 same ip port number it has before it died.
12615 * checks/nsinvocation.m: Added archiving checks.
12616 * src/NSInvocation.m: Archiver bugfixes
12617 * src/include/NSInvocation.h: Archiver bugfixes
12618 * src/NSData.m: Serialisation bugfixes
12619 * src/NSArchiver.m: Archiver bugfixes
12620 * src/NSUnarchiver.m: Archiver bugfixes
12621
12622 Tue Oct 27 08:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12623
12624 Corrected all the collection classes to return the count of objects
12625 in the collection as the ([-hash]) in conformance with the latest
12626 documentation.
12627
12628 Mon Oct 26 10:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12629
12630 * src/NSGCString.m: Implemented ([-copy]) and ([-copyWithZone:]) to
12631 work without invoking any methods uing the runtime - much faster.
12632 * src/NSObject.m: Bugfix and performance improvement to the -perform...
12633 methods. They previously threw an exception if the method referred
12634 to by the selector was not implemented (when they should have tried
12635 forwarding instead) rather than when passed a nul selector.
12636
12637 Sun Oct 25 08:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12638
12639 * src/NSObject.m: Cache implementation for adding object to autorelease
12640 pool to avoid objc runtime messaging overhead.
12641 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12642 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12643 autorelease pool to avoid objc runtime messaging overhead.
12644 * src/NSGCString.m: Implemented ([+allocWithZone:])
12645 * src/NSGString.m: Implemented ([+allocWithZone:])
12646
12647 Sat Oct 24 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12648
12649 * src/NSArchiver.m: New implementation
12650 * src/NSArchiver.m: New file
12651 * src/GNUmakefile: Added NSUnarchiver.m
12652 * src/include/NSArchiver.h: New version
12653 New Archiver/unarchiver - OPENSTEP complient (I think).
12654 Basic functionality tested fairly thoroughly, some of the more
12655 unusual bits untested so far. Mechanisms for adding other backends
12656 in place, but untested. Performance may be around four times that
12657 of the old version though there is still a little (very little)
12658 room for improvement.
12659
12660 Thu Oct 22 21:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12661
12662 * src/NSData.m: Added support for serialisation of Class and SEL types
12663 and made a more efficient version of the main deserialisation code
12664 in the NSDataStatic class.
12665
12666 Wed Oct 21 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12667
12668 * src/NSData.m: Reorganized and optimised.
12669 * src/NSGArray.m: optimised coding/decoding
12670 * src/NSGCountedSet.m: optimised coding/decoding
12671 * src/NSGDictionary.m: optimised coding/decoding
12672 * src/NSGSet.m: optimised coding/decoding
12673 * src/NSObject.m: cache data classes
12674 * src/NSString.m: Added (nonstandard) ([-boolValue]) method
12675 * src/include/NSData.h: Added ([-relinquishAllocatedBytesFromZone:])
12676 * src/include/NSString.h: Added (nonstandard) ([-boolValue]) method
12677 * src/include/NSPortMessage.h: Added (as yet unused) class.
12678 * src/NSPortMessage.m: Added (as yet unused) skeleton implementation.
12679
12680 Thu Oct 17 08:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12681
12682 * src/NSGDictionary.m: Added checks for invalid parameters.
12683 * src/NSGSet.m: Added checks for invalid parameters.
12684 * src/NSGCountedSet.m: Added checks for invalid parameters.
12685
12686 Thu Oct 15 08:13:12 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12687
12688 * src/NSString.m ([NSString
12689 -completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:]):
12690 Implement.
12691
12692 Thu Oct 15 06:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12693
12694 * src/BinaryCStream.m: Update system version number
12695 * src/NSCalendarDate.m: Implemented ([-copyWithZone:])
12696 * src/NSCountedSet.m: Rewrite ([-copyWithZone:])
12697 * src/include/NSData.h: Added GNUstep specific method for more
12698 efficient zone use.
12699 * src/NSData.m: Modified throughout to use NSZone functions for
12700 managing content memory.
12701 * src/NSGArray.m: Modified to use NSZone functions for managing
12702 content memory. Also tidied coding methods.
12703 * src/include/NSGCString.h: Modified to use NSZone for contents.
12704 * src/NSGCString.m: Modified to use NSZone for contents and fixed
12705 bug in coding (couldn't cope with embedded nuls in string).
12706 * src/NSGDictionary.m: Modified to use NSZone for contents.
12707 * src/include/NSGString.h: Modified to use NSZone for contents.
12708 * src/NSGString.m: Modified to use NSZone for contents.
12709 * src/NSObject.m: Added fastZone() function.
12710 * src/PortCoder.m: Updated system version number
12711 * src/include/NSSet.h: Added ([+setWithSet:])
12712 * src/NSSet.m: Added ([+setWithSet:]) and fixed ([-copyWithZone:])
12713 * src/include/NSString.h: Added GNUstep specific methods for faster
12714 use of zones.
12715 * src/NSString.m: Modified to use NSZone functions for contents.
12716 * src/include/NSZone.h: Removed non-existent methods and changed
12717 structure layout to support NSZoneFromPointer()
12718 * src/NSZone.m: Rewrite to support NSZoneFromPointer(),
12719 NSRecycleZone() and fix a couple of bugs. Needs more work to
12720 make simpler and more efficient.
12721 * src/include/fast.x: Added fastZone()
12722
12723 Wed Oct 14 11:29:11 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12724
12725 * src/NSString.m ([NSString -stringByResolvingSymlinksInPath]):
12726 Implement.
12727
12728 Wed Oct 14 10:27:47 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12729
12730 * src/NSString.m ([NSString +pathWithComponents:]):
12731 Use the first object of components as the base path string
12732 instead of null string([NSString string]).
12733
12734 Tue Oct 13 09:24:17 1998 Adam Fedor <fedor@doc.com>
12735
12736 * src/include/NSNotification.h: Addd placeholder in
12737 NSNotificationCenter for size of NotificationDispatcher.
12738
12739 The Oct 8 15:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12740
12741 * src/FastMap.x: Minor bugfixes and updates.
12742 * src/NSArray.m: Optimisation - don't use malloc unless really needed.
12743 * src/NSCountedSet.m: Tidied
12744 * src/NSSet.m: Tidied - core/non-core separation made.
12745 * src/NSGArray.m: Rewrite - simpler and faster.
12746 * src/NSGCountedSet.m: Rewrite to use FastMap (and work).
12747 * src/NSGDictionary.m: Tidied initialisation.
12748 * src/NSGSet.m: Rewrite to use FastMap - much faster.
12749 * src/include/NSSet.h: tidied - core/non-core stuff.
12750
12751 Tue Oct 6 16:35:48 1998 Adam Fedor <fedor@doc.com>
12752
12753 * aclocal.m4: Add win32 test
12754 * configure.in: Use DYNAMIC_LINKER test.
12755 * src/GNUmakefile: Add win32-load.h
12756 * src/win32-load.h: New file.
12757
12758 Tue Oct 6 16:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12759
12760 * src/FastMap.x: New map table for dictionaries.
12761 * src/include/fast.x: New stuff for avoiding objc message overheads.
12762 * src/NSGCString.m: Hashing and comparison performance improvments
12763 * src NSGDictionary.m: Optimisation
12764 * src NSGString.m: Optimisation
12765 * src/NSObject.m: Optimisation
12766 * src/NSString.m: Optimisation
12767
12768 Sat Oct 3 23:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12769
12770 * src/NSString.m: Moved NXConstantString stuff out to NSGCString.m
12771 * src/NSGCString.m: Added NXConstantString (inherits from NSGCString)
12772 and modified for efficient ([-isEqual:]) and ([-isEqualToString:])
12773 methods.
12774
12775 Thu Sep 30 17:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12776
12777 More performance work - huge improvement in dictionary lookup and
12778 perhaps 15 percent improvement elsewhere.
12779 * src/NSString.m: ([-hash]) changed hash generation to produce a
12780 more evenly distributed value so that dictionary lookup works
12781 better for large dictionaries full of similar keys.
12782 * src/NSDictionary.m: ([+dictionaryWithObjectsAndKeys:,...]) fixed
12783 memory leak.
12784 * src/include/NSGDictionary.h: Removed - not needed.
12785 * src/NSGDictionary.m.old: Backup added.
12786 * src/NSGDictionary.m: Complete rewrite.
12787 * src/FastMap.x: New map table stuff for NSGDictionary.
12788
12789 Thu Sep 30 7:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12790
12791 Changes to slightly more than double the speed of dictionary
12792 lookups for string keys.
12793 * src/NSGString: Added efficient -isEqual and -isEqualToString
12794 * src/NSGCString: Speeded up -isEqual and -isEqualToString
12795
12796 Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12797
12798 * src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
12799 an object is autoreleased without a pool being present.
12800 This should avoid many mistakes by newbies who don't understand
12801 the retain/release/autorelease mechanism (perhaps it'll encourage
12802 them to read up about it). It also serves as a useful reminder
12803 when you DO know what you are doing.
12804
12805 Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12806
12807 * Removed MallocAddress class -
12808 use ([NSData +dataWithBytesNoCopy:length:]) instead.
12809 * src/NSConnection.m: ([-forwardForProxy:selector:argFrame:])
12810 modifield to cope better when passed a selector without types.
12811 * src/Encoder.m: Modified to encode selector without type if needed.
12812 * Tools/dwrite.m: Removed references to cStringNoCopy
12813 * src/BinaryTree.m: Removed references to cStringNoCopy
12814 * src/Collection.m: Removed references to cStringNoCopy
12815 * src/Encoder.m: Removed references to cStringNoCopy
12816 * src/KeyedCollection.m: Removed references to cStringNoCopy
12817 * src/MemoryStream.m: Removed references to cStringNoCopy
12818 * src/NSCalendarDate.m: Removed references to cStringNoCopy
12819 * src/NSData.m: Removed references to cStringNoCopy
12820 * src/NSGCString.m: Removed references to cStringNoCopy
12821 * src/NSGString.m: Removed references to cStringNoCopy
12822 * src/NSHashTable.m: Removed references to cStringNoCopy
12823 * src/NSLog.m: Removed references to cStringNoCopy
12824 * src/NSMapTable.m: Removed references to cStringNoCopy
12825 * src/NSPortCoder.m: Removed references to cStringNoCopy
12826 * src/NSString.m: Removed references to cStringNoCopy
12827 * src/NSTimeZone.m: Removed references to cStringNoCopy
12828 * src/NSUser.m: Removed references to cStringNoCopy
12829 * src/NSZone.m: Removed references to cStringNoCopy
12830 * src/StdioStream.m: Removed references to cStringNoCopy
12831 * src/Stream.m: Removed references to cStringNoCopy
12832 * src/TextCStream.m: Removed references to cStringNoCopy
12833 * src/UdpPort.m: Removed references to cStringNoCopy
12834 * src/UnixFileHandle.m: Removed references to cStringNoCopy
12835 * src/lex.pl.m: Removed references to cStringNoCopy
12836 * src/lex.sf.m: Removed references to cStringNoCopy
12837 * src/mframe.m: Removed references to cStringNoCopy
12838 * src/o_hash.m: Removed references to cStringNoCopy
12839 * src/o_x_base.m.in: Removed references to cStringNoCopy
12840
12841 Tue Sep 29 13:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12842
12843 * src/include/Foundation.h: Added some missing files.
12844 * src/NSDistantObject.m: Fixed ([-methodSignatureForSelector:)]
12845
12846 Mon Sep 28 17:02:33 1998 Adam Fedor <fedor@ultra.doc.com>
12847
12848 * src/include/NSObject.h (-perform:, -perform:withObject:,
12849 -perform:withObject:withObject:): Remove definitions (use
12850 performSelector:... instead.
12851 (+class, +superclass, +setVersion:, +version): Add.
12852 Rearrange some other method definitions.
12853 * src/include/NSProxy.h: Likewise.
12854
12855 * src/NSObject.m (+class): Add.
12856 (-perform:, -perform:withObject:,
12857 -perform:withObject:withObject:): Depreciate these methods.
12858 * src/Proxy.m: Likewise.
12859
12860 * src/Collection.m: Use performSelector instead of perform.
12861 * src/IndexedCollection.m: Likewise.
12862 * src/NSArray.m: Likewise.
12863 * src/NSRunLoop.m: Likewise.
12864 * src/NSSet.m: Likewise.
12865 * src/NSTimer.m: Likewise.
12866 * src/NotificationDispatcher.m: Likewise.
12867
12868 * src/NSException (-initWithCoder:): Fix object decoding.
12869
12870 Fri Sep 18 10:20:55 1998 Adam Fedor <fedor@ultra.doc.com>
12871
12872 * src/include/preface.h.in (MIN, MAX): Rewrite macros (suggestion
12873 from Tom Hageman <tom@basil.icce.rug.nl>.
12874
12875 Thu Sep 10 06:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12876
12877 * src/NSFileHandle.m: Implemented [(-waitForDataInBackground])
12878 * src/UnixFileHandle.m: Implemented [(-waitForDataInBackground])
12879 * src/include/NSFileHandle.h: Added [(-waitForDataInBackground])
12880 * src/externs.m: Fixed error in hash callbacks name.
12881 * src/Set.m: Fixed error in hash callbacks name.
12882 * src/include/NSHashTable.h: Fixed error in hash callbacks name.
12883 * src/NSRunLoop.m: minor efficiency hack - don't use autoreleasing
12884 arrray construction methods when we are going to retain immediately.
12885
12886 Fri Sep 04 08:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12887
12888 * src/NSUserDefaults.m: ([-setObjectsforKey:], [-removeObjectForKey:])
12889 fixed to make domain dictionarys mutable if required.
12890 * src/externs.m: Updated notification name for defaults.
12891 * src/include/NSUserDefaults.h: Updated notification name.
12892
12893 Mon Aug 31 16:28:58 1998 Adam Fedor <fedor@ultra.doc.com>
12894
12895 * src/NSBundle.m (+mainBundle:): Remove *_obj directory to
12896 find main bundle path.
12897
12898 Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12899
12900 * src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should.
12901 * src/NSCalendarDate.m, src/NSException.m, src/NSGAttributedString.m,
12902 src/NSHost.m, src/NSLog.m, src/NSProcessInfo.m, src/NSTimeZone.m:
12903 tidied coding/decoding and logging.
12904 * src/NSString.m: Added implementation of [-zone] for constnat strings.
12905
12906 Wed Sep 02 13:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12907
12908 * src/NSRunLoop.m: ([-cancelPerformSelector:target:argument:]) bugfix
12909 supplied by masata-y@is.aist-nara.ac.jp - was incrementing loop index
12910 when should have been decrementing.
12911
12912 Mon Aug 24 09:22:17 1998 Adam Fedor <fedor@ultra.doc.com>
12913
12914 * doc/gnustep-base.tmpl.texi: Fix up doc problems.
12915 * doc/todo.tmpl.texi: Likewise.
12916
12917 Thu Aug 20 11:50:23 1998 Adam Fedor <fedor@doc.com>
12918
12919 * src/mframe.m (mframe_next_arg): Fixes from Richard
12920 Frith-Macdonald <richard@brainstorm.co.uk>.
12921
12922 Tud Aug 13 21:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12923
12924 Rewrite of maframe stuff and associated things to get DO and
12925 NSInvocations working for ALL data types. Configuration files for
12926 GNU/Linux on a PC and sunos4.1.3 on sparc provided (and tested).
12927
12928 * src/NSObject: Fixed code to local reference counts to get object
12929 alignment right on machines that have strict restrictions on the
12930 alignment of doubles (eg sparc).
12931 Also updated forwarding of invocations to work with new code.
12932 * src/NSInvocation.m: Rewrite from scratch to use new mframe code.
12933 * src/NSMethodSignature.m: Rewrite from scratch to use new mframe code.
12934 * src/mframe.m: Modified to use new information set up by config
12935 * configure.in: Run configure in src/mframe
12936 * src/mframe: New configuration directory for mframe stuff.
12937 * src/include/mframe.h: Deleted - now generated by config process.
12938
12939 Wed Aug 12 14:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12940
12941 * src/NSBundle: ([+initialize]) modified to take account of the
12942 environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
12943 GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.
12944
12945 Fri Aug 4 10:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12946
12947 * src/GNUmakefile: Removed NSAllocateObject.m and
12948 NSDeallocateObject.m (contents merged into NSObject.m).
12949 * src/NSObject.m: Modified to perform storage of retain counts local
12950 to the objects concerned in order to speed up performance - also
12951 modified to cache an objects zone with it - in order to maintain
12952 (or better) current performance when we get the NSZone code fixed
12953 to work with malloced memory.
12954 * src/include/NSObjCRuntime.h: Removed NSDebugLog()
12955 * src/include/NSDebug.h: Added new version of NSDebugLog()
12956 * src/include/NSProcessInfo.h: Added [-debugArray] method.
12957 * src/NSProcessInfo.m: Added [-debugArray] method and modified to
12958 parse arguments list and remove debug options, putting them in a
12959 mutable array (returned by [-debugArray]).
12960 * src/externs.m: Removed NSDebugLogging.
12961 * src/NSBundle.m: Modified to use new version of NSDebugLog().
12962
12963 Thu Aug 3 15:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12964
12965 * src/include/NSGCString.h: Added _hash instance variable.
12966 * src/include/NSGString.h: Added _hash instance variable.
12967 * src/NSGCString.m: Added implementation of [-hash] to handle caching
12968 of strings hash value, also added implementation of a few other
12969 methods for the sake of performance. Modified NSGMutableCString
12970 methods to reset hash cache when string is modified.
12971 * src/NSGString.m: Added implementation of [-hash] to handle caching
12972 of strings hash value. Modified NSGMutableString methods to reset
12973 hash cache when string is modified.
12974 * src/NSString.m: Misc performance hacks - use alloca() rather than
12975 malloc/free where possible etc.
12976 YMMV, but the above changes got me a 20% performance improvement in
12977 the app I was working with.
12978 * src/o_map.m: Don't use o_map_key_callbacks() - access the field
12979 in the structure directly to avoid the function-call overhead as this
12980 function was being called LOTS of times. Only a tiny performance
12981 improvement - but every little helps.
12982
12983 Thu Jul 30 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12984
12985 * src/include/NSSet.h: Corrected protocol conformance
12986 * src/NSSet.m: Added ([-encodeWithCoder:]), ([-initWithCoder:]).
12987 Fixed ([-copyWithZone:]) to remove memory and to simply retain where
12988 possible.
12989 Implemented ([-description]) and ([-descriptionWithLocale:]).
12990 * src/NSGCountedSet.m: Removed ([-initWithCapacity:]) and fixed
12991 enumerator.
12992 * src/include/NSDictionary.h: Added ([+dictionaryWithObject:forKey:])
12993 and corrected protocol conformance.
12994 * src/NSDictionary.m: Added ([+dictionaryWithObject:forKey:])
12995
12996 Wed Jul 29 15:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12997
12998 * src/Collection.m: Removed [-copy]
12999 * src/include/Collecting.h: likewise
13000 * src/NSAttributedString.m: fixed ([-copy]) and ([-isEqual:])
13001 * src/NSCharacterSet.m: implemented (inefficiently) ([-isEqual:])
13002
13003 Wed Jul 29 9:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13004
13005 * src/TcpPort.m: typecast to get rid of warning
13006 * src/NSCharacterSet.m: Added NSCoding methods.
13007 * src/NSBitmapCharSet.m: Added NSCoding methods.
13008 * src/NSHost.m: typecast to get rid of warning.
13009 * src/NSData.m: ([-copy]) removed.
13010 * src/NSDictionary.m: ([-copy]) removed.
13011 * src/NSGSequence.m: ([-copy]) removed.
13012 * src/NSScanner.m: ([-copy]) removed.
13013 * src/NSArray.m: ([-copy]) removed.
13014 * src/NSAttributedString.m: ([-copy]) removed.
13015 * src/NSString.m: ([-copy]) removed.
13016 * src/NSObject.m: ([-copyWithZone:]) modified to conform strictly
13017 to Rhapsody docs. Added ([+instanceMethodSignatureForSelector:]).
13018 * src/include/IndexedCollectionPrivate.h: fixed include for NSString.h
13019 * src/Makefile.postamble: modified rule for building srcdir-include
13020 stuff so that it works for me.
13021 * src/NSException.m: ([-copyWithZone:]) typecast to get rid of warning.
13022 * src/NSValue.m: ([-copyWithZone:]) typecast to get rid of warning.
13023 * src/NSDistantObject.m: fixed ([-classForPortCoder]) for Protocol.
13024
13025 Tue Jul 28 12:57:54 1998 Adam Fedor <fedor@ultra.doc.com>
13026
13027 * src/GNUmakefile: Remove NEXTSTEP classes.
13028
13029 * src/NSConcreteNumber [-copy]: Removed.
13030 [-copyWithZone:]: Likewise.
13031 * src/NSNumber: [-copy]: Implement
13032 [-copyWithZone:]: Likewise.
13033 * src/NSDate.m [-copyWithZone:]: Correct implementation.
13034 * src/NSException.m [-copyWithZone:]: Likewise.
13035 * src/NSPort.m: [-copyWithZone:]: Likewise.
13036 * src/NSValue.m: [-copyWithZone:]: Likewise.
13037
13038 Tue Jul 21 09:15:32 1998 Adam Fedor <fedor@ultra.doc.com>
13039
13040 * src/GNUmakefile: Removed redundant classes.
13041 * src/Connection: Removed.
13042 * src/Lock: Likewise.
13043 * src/Notification: Likewise.
13044 * src/Proxy: Likewise.
13045 * src/include/Connection.h, src/include/Lock.h,
13046 src/include/Notification.h, src/include/Proxy.h: Likewise.
13047 * src/include/RetainingNotifier.h: Removed.
13048 * src/libgnustep-base.def: Removed reference to redundant classes.
13049 * src/include/ConnectedCoder.h: Likewise
13050 * src/include/NSConnection.h: Likewise
13051 * src/include/NSNotification.h: Likewise
13052 * src/include/NSPort.h: Likewise
13053 * src/include/all.h: Likewise
13054 * src/ConnectedCoder.m: Likewise
13055 * src/Makefile.postamble: Likewise
13056 * src/MachPort.m: Likewise
13057 * src/NSConnection.m: Likewise
13058 * src/NotificationDispatcher.m: Likewise
13059 * src/NSNotification.m: Likewise
13060 * src/Port.m: Likewise
13061 * src/TcpPort.m: Likewise
13062 * src/behavior.m: Likewise
13063 * src/NSThread.m: Likewise
13064 * src/UdpPort.m: Likewise
13065 * examples/first-client.m, examples/first-server.h,
13066 examples/first-server.m, examples/second-client.h,
13067 examples/second-client.m, examples/second-server.h,
13068 examples/second-server.m: Removed.
13069
13070 * src/NSRunLoop.m: Add time.h (For GNU/Linux-2.0)
13071 * src/TcpPort.m: Likewise.
13072 * src/UdpPort.m: Likewise.
13073 * sec/UnixFileHandle.m: Likewise.
13074
13075 Wed Jul 20 21:25:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13076
13077 * src/Decoder.m: ([-decodeClass]) modified to ensure correct decoding
13078 instances of classes relying on multiple inheritance.
13079
13080 Tue Jul 14 16:26:36 1998 Adam Fedor <fedor@doc.com>
13081
13082 * src/Makefile.postamble (gnustep/base): Fixup dir creation.
13083 (Foundation): Likewise.
13084
13085 * src/externs.m: New NSDebugLogging variable.
13086 * src/include/NSObjCRuntime: Change NSDebugLog so it works when
13087 DEBUG is defined and NSDebugLogging is set.
13088 * src/NSBundle.m: Use it.
13089
13090 * src/include/Foundation.h: Include NSTimer.h
13091 * src/include/NSObject.h: Define +instanceMethodSignatureForSelector:
13092
13093 Tue Jul 14 10:06:31 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13094
13095 * checks/nsset.m : Added new testing functions.
13096 (intersects_set_test): Likewise.
13097 (is_subset_of_set_test): Likewise.
13098
13099 * src/include/NSSet.h ([NSSet -setWithObjects:]): Remove the type
13100 declaration of arguments, "NSArray *". The arguments should be
13101 declared as id.
13102
13103 * src/NSSet.m ([NSSet -isSubsetOfSet:otherSet]): Implement.
13104 ([NSSet -intersectsSet:otherSet]): Likewise.
13105
13106 Wed Jul 15 12:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13107
13108 * src/Invocation.m: Rewrote ([-invoke]) to retrieve return values
13109 correctly by using mframe_decode_return()
13110
13111 * src/NSCharacterSet.m: Fixed ([-copyWithZone:]) to avoid using the
13112 (non-existant) NSObject method.
13113
13114 * src/NSFileHandle.m: Modified method for making socket connections
13115 and added a synchronous version.
13116
13117 * src/NSObjCRuntime.m: Tidied and added NSGetSizeAndAlignment().
13118
13119 * src/NSObject.m: Removed ([-copyWithZone:]) and
13120 ([-mutableCopyWithZone:]) (which shiould not exist in NSObject).
13121
13122 * src/NSString.m: Fixed implementation of the
13123 ([-rangeOfCharacterFromSet:options:range:]) method.
13124
13125 * src/UnixFileHandle.m: Various bug fixes for synchronous operations.
13126
13127 * src/mframe.m: Added mframe_decode_return() function to get the
13128 return value out of a retframe.
13129
13130 * src/include/NSCharacterSet.h: Modified to say we conform to the
13131 NSCoding protocol (whith the spec says we should).
13132
13133 * src/include/NSFileHandle.h: Altered methods for making a network call.
13134
13135 * src/include/NSObjCRuntime.h: Added NSGetSizeAndAlignment().
13136
13137 * src/include/NSObject.h: Removed stuff saying we conform to the
13138 NSCoding and NSCopying protocols (we shouldn't) and removed the
13139 ([-copyWithZone:]) and ([-mutableCopyWithZone:]) methods - which
13140 shouldn't be there.
13141
13142 * src/include/UnixFileHandle.h: Altered methods for making a network
13143 connection.
13144
13145 * src/include/mframe.h: Added mframe_decode_return() function.
13146
13147
13148 Tue Jul 14 16:06:16 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13149
13150 * checks/invocation_*.m : New test files.
13151
13152 * checks/invocation2.m: Removed the file.
13153
13154 * src/include/NSInvocation.h (NS_INVOCATION, NS_MESSAGE):
13155 Added new arguments to the macros. These macros don't require
13156 SEL type argument to specify the method to invoke now.
13157
13158 * checks; Added invocation_char.m, invocation_short.m, invocation_int.m
13159 and invocation_long.m
13160
13161 Fri Jul 10 21:43:30 1998 Adam Fedor <fedor@ultra.doc.com>
13162
13163 * src/include/GapArrayPrivate.h (gapMoveGaptTo): Change - to +.
13164 * docs/todo.tmpl.texi: Updates
13165
13166 Fri Jun 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13167
13168 * src/TcpPort.m: Improved debug code and added method to turn it on -
13169 ([+setDebug:])
13170 * src/NSConnection.m: Changed code so that if a process sends us a
13171 'release' for an object local to us, which it vended to a third
13172 party, we retain the object for 30 seconds before releasing it in
13173 order to give the third party time to connect to us and retain it.
13174 Improved debug code and added method to turn it on - ([+setDebug:])
13175 * src/NSDistributedObject.m: Added flag to say whether an object has
13176 been vended to a third party.
13177 Improved debug code and added method to turn it on - ([+setDebug:])
13178 * src/include/NSDistantObject.h: Added flag.
13179
13180 Thu Jun 24 22:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13181
13182 * src/proplist.y: Make parser more tolerant - permit a comma after
13183 the final element in an array.
13184 * src/NSData.m: Added ([NSMutableData +data])
13185 * src/Unicode.m: Efficiency hack for conversion to/from unicode
13186 * src/include/NSArray.h: Added ([-writeToFile:Atomically:])
13187 * src/include/NSString.h: Added GSUndefinedEncoding and comment to
13188 make sure nobody deletes it - needed for efficiency hack in Unicode.m
13189
13190 Fri Jun 19 13:37:37 1998 Adam Fedor <fedor@doc.com>
13191
13192 * NSObject (+isKindOfClass:): New method (patch from Bruce Ide
13193 <greyfox@greyfox.org>).
13194 (+isMemberOfClass): Likewise.
13195
13196 Tue Jun 16 09:48:18 1998 Adam Fedor <fedor@doc.com>
13197
13198 * src/NSProtocolChecker.m, src/include/NSProtocolChecker.h: New files.
13199 (from Mike Kienenberger <mkienenb@arsc.edu>)
13200
13201 Fri May 29 10:16:09 1998 Adam Fedor <fedor@doc.com>
13202
13203 * doc/news.tmpl.texi: Fixed typo.
13204 * doc/readme.tmpl.texi: Likewise. (patch from doko@cs.tu-berlin.de
13205 (Matthias Klose)).
13206 * src/ostream.m (ostream_save_buffer): Retain stream.
13207 * src/include/MemoryStream.h: Remove outdated methods.
13208 * src/include/NSException.h (NS_VALUERETURN): New macro.
13209
13210 Thu May 28 10:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13211
13212 * Tools/gdomap.c: Added code to cope with systems where we can't
13213 determine what network interfaces are active.
13214
13215 * checks/heap.m: Portability fix for svr4 systems.
13216
13217 * configure.in: Improved portability to svr4 systems.
13218
13219 * src/NSMethodSignature.m: Changed order of includes to fix
13220 compilation on svr4 systems.
13221
13222 * src/NSPage.m: Altered to use 'sysconf(_SC_PAGESIZE)' to get page
13223 size on svr4 systems.
13224
13225 * src/NSTask.m: Altered to use 'kill()' rather than 'killpg()' on
13226 svr4
13227
13228 * src/NSThread.m: Altered to use 'sleep()' rather than 'usleep()'
13229 on svr4
13230
13231 * src/include/config.h.in: Added a couple of configuration
13232 constants for portability - HAVE_KILLPG and HAVE_USLEEP
13233
13234 Thu May 21 09:38:14 1998 Adam Fedor <fedor@doc.com>
13235
13236 * src/NSUser.m (NSUserName): Use getpwuid for BSD machines (patch
13237 provided by Stefanos Kiakas <stefanos@ringworld.uniscape.com>).
13238
13239 * src/GetDefEncoding.c (GetDefEncoding): Change binary AND to
13240 logical AND. (GetEncoding): Likewise (patch provided by
13241 David Fritzsche <david@dementia.wupper.de>).
13242
13243 Wed May 20 15:26:50 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13244
13245 * src/GNUmakefile: Added NSUndoManager.[hm]
13246
13247 * src/Invocation.m: ([-_initArgframeFrom:withType:retainArgs:]) fixed
13248 memory leak due to failing to set 'args_retained' flag.
13249
13250 * src/NSObject.m: ([-forward::]) modified to call (forwardInvocation:)
13251 method so we can conform to OpenStep spec.
13252
13253 * src/NSUndoManager.m: Implementation of new class.
13254
13255 * src/include/NSUndoManager.h: Interface for new class.
13256
13257 Wed May 13 13:18:35 1998 Adam Fedor <fedor@doc.com>
13258
13259 * src/NSArray.m ([NSArray -initWithContentsOfFile:]): Move
13260 definition from NSMutableArray.
13261 * NSBundle.m (+initialize): New method.
13262 (+mainBundle): Use recursive lock.
13263 (-initWithPath:) Likewise.
13264 * Unicode.m (encode_chartouni): Cast char to unsigned before to
13265 unichar (patch provided by David Fritzsche <david@dementia.wupper.de>).
13266
13267 Fri May 1 14:26:50 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13268
13269 * src/mframe.m(mframe_do_call): before allocating a storage for
13270 returned structure, check stack_argsize.
13271
13272 Mon Apr 27 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13273
13274 * src/include/mframe.h: Added three new functions to enable passing
13275 of pointers using the mframe routines.
13276
13277 * src/mframe.m: Added mframe_dissect_call_opts(),
13278 mframe_do_call_opts(), and mframe_build_return_opts() so that we
13279 may pass pointers to and from functions in other languages rather
13280 than using the DO behaviour which is to copy a single object when
13281 given a pointer.
13282
13283 Tue Apr 21 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13284
13285 * src/NSMethodSignature.m: ([+signatureWithObjCTypes:]) rewritten
13286 to use some macros from libFoundation (adapted from gcc) to handle
13287 creation of NSMethodSignature objects where the types string passed
13288 in does not contain the position information of the arguments.
13289
13290 Thu Apr 16 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13291
13292 * checks/client.m: enable testing of DO strucuture return.
13293
13294 * checks/server.m: fix typo in keyword
13295
13296 * src/KeyedCollection.m: ([-decodeContentsWithCoder:]) fixed a
13297 memory leak.
13298
13299 * src/mframe.m: Fixed a few bugs in returning structures - now works
13300 properly on GNU/Linux intel. Can anyone figure out how to handle
13301 all this stuff using autoconf?
13302
13303 Mon Apr 20 09:23:58 1998 Adam Fedor <fedor@ultra.doc.com>
13304
13305 * src/NSLock.m: Eliminate busy waiting from NSConditionLock
13306 * src/NSLock.h: add instance variable and rename "value" to
13307 support changes to NSConditionLock
13308 * src/NSLock.m: Raise appropriate exceptions
13309 * src/NSLock.m: Prevent NSLock and NSConditionLock from being
13310 locked recursively
13311 * src/NSThread.m: -sleepUntilDate: implemented
13312 * src/NSThread.m: remove calls to objc_get_thread_data except
13313 in currentThread message
13314 * src/BinaryCStream.m: Replace assert's with NS*Assert
13315 * src/CStream.m.orig: Likewise
13316 * src/Decoder.m: Likewise
13317 * src/Encoder.m: Likewise
13318 * src/MemoryStream.m: Likewise
13319 * src/RawCStream.m: Likewise
13320 * src/TextCStream.m: Likewise
13321 * src/ostream.m.orig: Likewise
13322 (patches from Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13323
13324 * src/NSFileManager.h: Include pwd.h if we have it
13325 * configure.in: Check for pwd.h
13326 * configure: regenerate.
13327 * src/include/config.h.in: Likewise.
13328
13329 Wed Apr 15 09:54:25 1998 Adam Fedor <fedor@doc.com>
13330
13331 * src/NSFileManager.m ([NSFileManager
13332 -fileAttributesAtPath:traverseLink:]): Add NSFileOwnerAccountName.
13333 * src/externs.m: Add NSFileOwnerAccountName definition.
13334 (patch provided by Marcus Mueller <znek@object-factory.com>)
13335
13336 * src/NSThread.m (-sleepUntilDate:): Implemented (from
13337 Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13338
13339 Sun Apr 5 20:07:28 1998 Scott Christley <scottc@net-community.com>
13340
13341 * Utilize documentation rules in Makefile Package.
13342 * doc/GNUmakefile: Rewrite to use Makefile Package.
13343 * doc/Makefile.postamble: Remove old obsolete rules.
13344
13345 * Documentation which covers GNUstep as a whole versus just
13346 gstep-base has been moved to the top level Documentation dir.
13347 * GNUstep-HOWTO: Delete.
13348 * doc/gnustep-base.tmpl.texi: GNUstep-HOWTO and FAQ removed.
13349 Add variable so that included files know they are within the
13350 main document.
13351 * doc/gnustep-howto.tmpl.texi: Delete.
13352 * doc/faq.tmpl.texi: Delete.
13353 * doc/announce.tmpl.texi: Don't include version.texi needlessly.
13354 * doc/news.tmpl.texi: Don't include version.texi needlessly.
13355 * doc/todo.tmpl.texi: Don't include version.texi needlessly.
13356
13357 * src/GNUmakefile: Don't compile Random class as the name too
13358 often conflicts with user apps.
13359
13360 * src/GetDefEncoding.m: Reformat.
13361
13362 * src/NSArray.m (-replaceObjectsInRange:withObjectsFromArray:):
13363 Fix range check. Use enumerator instead of count.
13364
13365 Wed Apr 1 18:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13366
13367 * Tools/gdomap.m: Modified code so that we make sure we have at least
13368 one valid route to any gdomap process which has probed us. This is
13369 to cope with machines which send out info about all their interfaces
13370 when one or more of the interfaces is not working.
13371
13372 * src/checks/nstask.m: added test for environment setting.
13373
13374 * src/NSCalendarDate.m: Fixed bug in initialisation where daylight
13375 savings time is in operation - was adjusting in wrong direction.
13376
13377 * src/NSRunLoop.m: Added NSObject catagory for the methods -
13378 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13379 ([NSObject -performSelector:withObject:afterDelay:]), and
13380 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13381
13382 * src/NSTask.m: Various bug fixes as a result of running the test
13383 suite. All seems to work ok now.
13384
13385 * src/NSDate.h: Changed order of declaractions so this can be included
13386 within NSObject.h
13387
13388 * src/NSObject.h: Added run-loop integration methods -
13389 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13390 ([NSObject -performSelector:withObject:afterDelay:]), and
13391 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13392
13393 * src/NSRunLoop.h: Added an instance variable to keep track of
13394 queued delayed actions to be performed on objects.
13395
13396 Tue Mar 31 11:32:03 1998 Adam Fedor <fedor@doc.com>
13397
13398 * aclocal.m4 (OBJC_CON_AUTOLOAD): Improved test. Check nm output
13399 for indicator functions.
13400 * configure: Regenerate.
13401
13402 * checks/GNUmakefile (LoadMe_RESOURCE_FILES): Changed name.
13403
13404 * doc/gnustep-howto.tmpl.texi: Update.
13405 * doc/status.tmpl.texi: Likewise.
13406
13407 Fri Mar 20 11:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13408
13409 * checks/client.m: Added some tests for passing objects byref
13410
13411 * checks/server.h: Added ([-sendByref:]) to protocol.
13412
13413 * checks/server.m: Added ([-sendByref:]) for testing 'byref'.
13414
13415 * src/Coder.m: Added ([-encodeByrefObject:])
13416
13417 * src/Encoder.m: Added ([-_doEncodeByrefObject:]) and changed the
13418 designated encoding method throughout from
13419 ([-_encodeObject:withName:isBycopy:isForwardReference:]) to
13420 ([-_encodeObject:withName:isBycopy:isByref:isForwardReference:])
13421
13422 * src/NSCoder.m: Added ([-encodeBytes:length:]),
13423 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13424
13425 * src/NSConnection.m: Modified ([-forwardForProxy:selector:argFrame:])
13426 and ([-_service_forwardForProxy:]) methods to handle byref flag.
13427
13428 * src/NSDictionary.m: Added ([+dictionaryWithDictionary:])
13429
13430 * src/NSPortCoder.m: Added ([-isByref]) and ([-_doEncodeByrefObject:])
13431 methods and modified ([-_doEncodeBycopyObject:]) to handle byref flag.
13432
13433 * src/include/Coding.h: Added ([-encodeByrefObject:])
13434
13435 * src/include/NSCoder.h: Added ([-encodeBytes:length:]),
13436 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13437
13438 * src/include/NSDictionary.h: Fixed prototype for the
13439 ([+dictionaryWithDictionary:]) method.
13440
13441 * src/include/NSPortCoder.h: Added ([-isByref])
13442
13443 * src/objc-gnu2next.m: Added _F_BYREF flag code
13444
13445 Fri Mar 13 15:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13446
13447 * src/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
13448 Fixed bug in displaying time-zone - was displaying minutes and
13449 seconds when should have been showing hours and minutes.
13450
13451 Wed Mar 11 11:56:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13452
13453 * src/NSArray.m: ([-copyWithZone:]) changed to use the
13454 NSShouldRetainWithZone() function.
13455
13456 * src/NSCalendarDate.m: ([-dealloc]) don't release the timezone -
13457 we never retain it anyway (should we?)
13458 ([-setCalendarFormat:]) make a copy of the string we are given in
13459 case it gets changed or deleted.
13460
13461 * src/NSConcreteNumber.m: ([-copyWithZone:]) fixed to use the
13462 NSShouldRetainWithZone() function.
13463
13464 * src/NSData.m: ([-copyWithZone:]) fixed to use the
13465 NSShouldRetainWithZone() function.
13466
13467 * src/NSDictionary.m: ([-copyWithZone:]) fixed to use the
13468 NSShouldRetainWithZone() function.
13469
13470 * src/NSHost.m: Added ([-awakeAfterUsingCoder:])
13471
13472 * src/NSNumber.m: Added ([-copy]) and ([-copyWithZone:])
13473
13474 * src/NSString.m: ([-copyWithZone:]) fixed to use the
13475 NSShouldRetainWithZone() function.
13476
13477 * src/TcpPort.m: Commented out unnecessary warning message.
13478
13479 * src/NSTimeZone.m: Modified ([-encodeWithCoder:]) and
13480 ([-awakeAfterUsingCoder:]) so that the local timezone is encoded
13481 specially and is restored as whatever the local timezone of the
13482 restoring application is.
13483
13484 * src/NSValue.m: Added ([-copy]) and ([-isEqualToValue:])
13485
13486 Tue Mar 10 17:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13487
13488 * src/NSArray.m: ([-copyWithZone:]) rewritten to avoid doing
13489 unnecessary copy of non-mutable objects and to fix memory leak.
13490
13491 * src/NSCTemplateValue.m: ([-isEqaul:]) and ([-isEqualToValue:])
13492 implemented.
13493
13494 * src/NSCalendarDate.m: ([-initWithCoder:]) and ([-encodeWithCoder:])
13495 implemented.
13496
13497 * src/NSConcreteNumber.m: ([-copy]) and ([-copyWithZone:])
13498 implemented to do simple retains.
13499
13500 * src/NSDictionary.m: ([-copyWithZone:]) rewritten to avoid doing
13501 unnecessary copy of non-mutable objects and to fix memory leak.
13502
13503 * src/NSGString.m: ([-cString]) fixed crash when called on empty
13504 string.
13505
13506 * src/NSTimeZone.m: ([-awakeAfterUsingCoder:]) implemented to handle
13507 decopding of archived objects correctly.
13508
13509 * src/include/NSValue.h: Added ([-isEqualToValue:])

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