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

Contents of /gnustep/core/base/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2004 - (show annotations) (download)
Thu Oct 2 16:50:48 2003 UTC (20 years, 8 months ago) by CaS
Branch: MAIN
Changes since 1.2003: +5 -0 lines
Fixed minor memory leak.

1 2003-10-02 Richard Frith-Macdonald <rfm@gnu.org>
2
3 * Source/Additions/GSMime.m: ([GSMimeDocument-makeBoundary])
4 fixed memory leak.
5
6 2003-09-30 Adam Fedor <fedor@gnu.org>
7
8 * config/procfs.m4: Force disable /proc on Irix. Force enable
9 on cygwin.
10
11 2003-09-30 Richard Frith-Macdonald <rfm@gnu.org>
12
13 * Source/NSThread.m: Protect the function handling notification
14 of the process becoming multi-threaded with a recursive lock.
15 This protection ensures that there is no race condition where
16 two threads can start using GNUstep simultaneously and both
17 end up sending out notifications etc. Not a problem in normal
18 ObjC applications, but a possibility where other non-gnustep
19 code starts multiple threads which want to access gnustep.
20
21 2003-09-30 Derek Zhou <dzhou@chrontel.com>
22
23 * Source/NSCharacterSet.m: patch to ensure lock is created as
24 soon as the process goes multi-threaded, therefore avoiding
25 a race condition causing a rare exception.
26
27 2003-09-26 Richard Frith-Macdonald <rfm@gnu.org>
28
29 * Source/NSString.m: Fix pathExtension bug reported by Roland
30 Schwingel. Was failing to handle the case when a dot appears
31 inside a path component properly.
32
33 2003-09-25 Richard Frith-Macdonald <rfm@gnu.org>
34
35 * Source/NSConnection.m: Fix obscure bug releasing in-progress
36 request information on connection deallocation.
37
38 2003-09-23 Adam Fedor <fedor@gnu.org>
39
40 * Source/Additions/Makefile.preamble: Add DLL build flag for cyginw
41
42 * Testing/Makefile.postamble (check): Make CHECKABLE_TOOLS only
43
44 * Tools/AGSHtml.m: Remove duplicate interface (on *-apple-*)
45 * Tools/AGSIndex.m: Idem.
46
47 2003-09-23 Adam Fedor <fedor@gnu.org>
48
49 * Source/NSTimeZone.m (+systemTimeZone): Remove tzname extern decl.
50
51 2003-09-22 Adam Fedor <fedor@gnu.org>
52
53 * configure.ac: Check for getopt
54 * Tools/gdomap.c: Use local getopt if no native getopt
55
56 2003-09-21 Adam Fedor <fedor@gnu.org>
57
58 * Tools/cvtenc.m (main): Write using local/set encoding when
59 EscapeIn=YES.
60
61 * Documentation/coding-standards.texi: Add section about object
62 persistance.
63
64 * configure.ac: Make it possible to override --enable-pass-arguments
65 when on cygwin.
66 * configure: Regenerate using 2.57
67
68 2003-09-20 yjchen <yjchenx@hotmail.com>
69
70 * Resources/Languages/TraditionalChinese: Quote escaped strings.
71
72 2003-09-13 Richard Frith-Macdonald <rfm@gnu.org>
73
74 * Source/NSConnection.m: Add a couple of checks to raise exceptions
75 when trying to use a connection from the wrong thread. Also, change
76 the code for handling multithreaded connections so that they are
77 removed from the runloops of exiting threads in response to the
78 thread exit notification.
79
80 2003-09-13 David Ayers <d.ayers@inode.at>
81
82 * Headers/Additions/GNUstepBase/GSCategories.h: Move declarations
83 from Source/Additions/GSCompatibility.h to here.
84 ([NSObject -compare:]): Deprecate.
85 * Source/Additions/GSCompatibility.h: Move contents from here to
86 Headers/Additions/GNUstepBase/GSCategories.h.
87
88 * Source/Additions/GSCategories.m:
89 ([NSObject -compare:]): Deprecate.
90
91 * Headers/Foundation/NSObject.h
92 ([NSObject -compare:]): Deprecate.
93
94 * Source/Additions/GCDictionary.m: Include
95 GNUstepBase/GSCategories.h rather than GSCompatibility.h.
96 * Source/Additions/GCObject.m: Ditto.
97 * Source/Additions/GSMime.m: Ditto.
98 * Source/Additions/GSObjCRuntime.m: Ditto.
99 * Source/Additions/GSXML.m: Ditto.
100 * Source/Additions/Unicode.m: Ditto.
101
102 * macosx/GNUstepBase/preface.h: Update include for new header
103 structure.
104
105 2003-09-11 Adam Fedor <fedor@gnu.org>
106
107 * macosx/preface.h: Removed
108 * macosx/GNUstepBase/preface.h: New
109 * macosx/gnustep.pbproj/project.pbxproj: Update
110 (from Philip Moetteli <philip.moetteli@tele2.ch>).
111
112 2003-09-11 Philip Moetteli <philip.moetteli@tele2.ch>
113
114 * Source/Additions/GSCompatibility.h
115 * Source/Additions/GSCompatibility.m
116 (NSDecimalFromComponents): Added compatibility function.
117
118 2003-09-11 Richard Frith-Macdonald <rfm@gnu.org>
119
120 * Source/Unicode.m: Fix minor errors in utf8 handling.
121 Use endian version of UTF16 to avoid iconv inserting BOM where
122 it is not wanted.
123
124 2003-09-10 David Ayers <d.ayers@inode.at>
125
126 * Headers/Additions/GNUstepBase/GSObjCRuntime.h (GSObjCSuper):
127 Added test for uninitialized superclass reference.
128
129 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
130
131 * Source/NSObject.m: Tidy use of GSObjCRuntime a little.
132
133 2003-09-10 Pete French <pete@twisted.org.uk>
134
135 * Source/Additions/Unicode.m: patch to use UTF16 rather than
136 UCS2 internally.
137
138 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
139
140 * Source/NSCalendarDate.m:
141 ([years:months:days:hours:minutes:seconds:sinceDate:]) fix to return
142 all positive values for a difference from a date in the past.
143
144 2003-09-07 Adam Fedor <fedor@gnu.org>
145
146 * Source/NSBundle.m (+_addFrameworkFromClass:): Check
147 _loadingBundle != bundle when removing classes.
148
149 2003-09-07 S.J.Chun <chunsj@embian.com>
150
151 * Source/Unicode.m: Added Korean encoding
152 * Headers/Foundation/NSString.h: Added Korean encoding
153 * Source/Additions/GSCompatibility.h: Idem.
154
155 Sun Sep 7 13:35:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
156
157 * configure.ac: Fixed GNUSTEP_HDIR when not flattened.
158 * configure: Regenerated.
159
160 2003-09-05 Adam Fedor <fedor@gnu.org>
161
162 * Headers/Additions/GNUstepBase/behavior.h: GS_EXPORT functions.
163
164 2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
165
166 * Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:
167 Change return type of -initWithPath: to id.
168
169 2003-09-02 Adam Fedor <fedor@gnu.org>
170
171 * configure.ac: Check for tzset
172 * Source/NSTimeZone.m (+systemTimeZone): Use it to find time zone
173 (as a last resort).
174
175 2003-09-02 Adam Fedor <fedor@gnu.org>
176
177 * Tools/gdnc.m (main): Don't mess with file descriptors on MinGW.
178
179 2003-09-01 Adam Fedor <fedor@gnu.org>
180
181 * Tools/gdomap.c (main): Move getuid call inside #ifndef MINGW
182 like the others.
183
184 2003-08-31 Adam Fedor <fedor@gnu.org>
185
186 * Tools/gdnc.m (main): Close any open file descriptors so we can
187 be a proper daemon.
188 Fixes #4938.
189
190 2003-08-29 Adam Fedor <fedor@gnu.org>
191
192 * config/procfs.m4: Disable procfs for solaris
193
194 2003-08-26 Adam Fedor <fedor@gnu.org>
195
196 * Source/NSMessagePort.m: For older OS comptibility, define some
197 macros if they are not already defined.
198 * Source/NSMessagePortNameServer.m: Idem.
199
200 2003-08-24 David Ayers <d.ayers@inode.at>
201
202 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
203 (GSObjCClass): Allow nil values.
204 (GSObjCIsInstance): Ditto.
205 (GSObjCIsClass): New function.
206 (GSClassNameFromObject): Ditto.
207 (GSObjCIsKindOf): Use GSObjCSuper() in favor of
208 class_get_super_class().
209
210 * Headers/Foundation/NSRange.h
211 (GS_RANGE_CHECK), (CHECK_INDEX_RANGE_ERROR):
212 Use GSNameFromSelector() in favor of sel_get_name().
213
214 * Source/GSFFCallInvocation.m
215 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
216 (-[GSFFCallInvocation invokeWithTarget:]), (GSInvocationCallback):
217 Use GSObjCIsInstance() in favor of object_is_instance,
218 GSObjCClass() in favor of object_get_class(),
219 GSObjCIsClass() in favor of object_is_class(),
220 GSNameFromSelector() in favor of sel_get_name(),
221 GSObjCSuper() in favor of class_get_super_class() and
222 GSClassNameFromObject() in favor of object_get_class_name().
223
224 * Source/GSFFIInvocation.m
225 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
226 (-[GSFFIInvocation invokeWithTarget:]), (GSFFIInvocationCallback):
227 Use GSObjCIsInstance() in favor of object_is_instance,
228 GSObjCClass() in favor of object_get_class(),
229 GSObjCIsClass() in favor of object_is_class(),
230 GSNameFromSelector() in favor of sel_get_name(),
231 GSObjCSuper() in favor of class_get_super_class() and
232 GSClassNameFromObject() in favor of object_get_class_name().
233
234 * Source/NSConnection.m
235 (-[NSConnection forwardForProxy:selector:argFrame:]),
236 (-[NSConnection forwardInvocation:forProxy:]):
237 Use GSNameFromSelector() in favor of sel_get_name().
238
239 * Source/NSDistantObject.m
240 (class_is_kind_of): Use GSObjCSuper in favor of
241 class_get_super_class().
242 (-[NSDistantObject forward::]): Use GSNameFromSelector() in favor of
243 sel_get_name().
244
245 * Source/NSInvocation.m
246 (-[NSInvocation invokeWithTarget:])
247 Use GSObjCSuper() in favor of class_get_super_class(),
248 GSObjCIsInstance() in favor of object_is_instance()
249 (-[NSInvocation description]):
250 Use GSClassNameFromObject in favor of object_get_class_name().
251 Avoid buffer overflow by using snprintf() in favor of sprintf().
252 (-[NSInvocation initWithSelector:]):
253 Use GSNameFromSelector() in favor of sel_get_name().
254
255 * Source/NSObject.m
256 (GSDescriptionForInstanceMethod), (GSDescriptionForClassMethod),
257 (+[NSObject superclass], (-[NSObject description]),
258 (-[NSObject doesNotRecognizeSelector:]),
259 (-[NSObject performSelector:]),
260 (-[NSObject performSelector:withObject:]),
261 (+[NSObject setVersion:], -[NSObject error:]),
262 (-[NSObject doesNotRecognize:], -[NSObject isClass]),
263 (-[Object description]):
264 Use GSNameFromSelector() in favor of sel_get_name(),
265 GSObjCSuper() in favor of class_get_super_class(),
266 GSClassNameFromObject() in favor of object_get_class_name() and
267 GSObjCIsClass() in favor of object_is_class().
268
269 * Source/NSProxy.m
270 (+[NSProxy description]), (-[NSProxy description]),
271 (+[NSProxy superclass]), (-[NSProxy forwardInvocation:]),
272 (-[NSProxy init], (-[NSProxy notImplemented:]),
273 (-[NSProxy performSelector:]),
274 (-[NSProxy performSelector:withObject:]),
275 (-[NSProxy performSelector:withObject:withObject:]):
276 Use GSClassNameFromObject() in favor of object_get_class_name(),
277 GSObjCSuper() in favor of class_get_super_class() and
278 GSNameFromSelector() in favor of sel_get_name().
279
280 * Source/Additions/GSCategories.m
281 (-[NSObject notImplemented:]), (-[NSObject shouldNotImplement:]),
282 (-[NSObject subclassResponsibility:]):
283 Use GSNameFromSelector() in favor of sel_get_name() and
284 GSClassNameFromObject() in favor of object_get_class_name().
285
286 * Source/Additions/GSCompatibility.h
287 (GS_RANGE_CHECK): Use GSNameFromSelector() in favor of
288 sel_get_name().
289
290 * Source/Additions/GSCompatibility.m
291 (+[NSObject notImplemented:]):
292 Use GSNameFromSelector() in favor of sel_get_name() and
293 GSClassNameFromObject() in favor of object_get_class_name().
294
295 * Source/Additions/GSObjCRuntime.m
296 (GSObjCMethodNames), (GSObjCAddMethods):
297 Use GSNameFromSelector() in favor of sel_get_name().
298
299 * Testing/nsbundle.m (main): Update to reflect filesystem change.
300 Use GSClassNameFromObject() in favor of object_get_class_name().
301
302 * Testing/nsconnection_server.m
303 Use GSNameFromSelector() in favor of sel_get_name().
304
305 * Testing/Makefile.postamble: Build before checking.
306
307 2003-08-23 Adam Fedor <fedor@gnu.org>
308
309 * Version 1.7.3
310
311 2003-08-23 Adam Fedor <fedor@gnu.org>
312
313 * configure.ac: Fix mistake in checking for ffi.
314
315 * Tools/AGSIndex.m: Add NSString compatibility interface
316 when compiling on apple-apple-apple.
317 * Tools/AGSHtml.m: idem.
318
319 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
320
321 * Source/NSObject.m: Trivial cast to avoid compiler warnings.
322
323 2003-08-20 13:59 Alexander Malmberg <alexander@malmberg.org>
324
325 Clean up code to remove warnings issued by (what will become)
326 gcc 3.4.
327
328 * Source/GSString.m, Source/NSArchiver.m, Source/NSAttributedString.m,
329 Source/NSRunLoop.m: Don't return values from methods returning void.
330
331 2003-08-19 Adam Fedor <fedor@gnu.org>
332
333 * configure.ac: Clarify ffi interface warnings and disable_do on
334 apple-apple-apple.
335 Fixes #4824
336
337 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
338
339 * Source/NSObject.m: Move hacked methods for getting protocol
340 method info into functions so we can use them without going
341 through the ObjC runtime.
342 * Source/NSDistantObject.m: When attempting to check protocols,
343 use functions from NSObject.m if the protocol has not been
344 properly initialised (its class pointer is 0x2) as is the case
345 for all but very recent versions of the compiler.
346 FIXME ... this code should be removed at some future date when
347 all common systems have shipped with a working compiler for
348 a while.
349
350 2003-08-13 David Ayers <d.ayers@inode.at>
351
352 * Headers/Additions/GNUstepBase/preface.h: Remove generated
353 file that should have been ignored by entry in .cvsignore.
354 * Source/UnixFileHandle.m: Remove obsolete file.
355
356 2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
357
358 * Tools/gdnc.1: Updated man pages, fixed typos, unified format
359 and layout. Man pages are now installed unprocessed as it should be.
360 * Tools/gdomap.8: ditto.
361
362 2003-08-12 Yen-Ju Chen <yjchenx@hotmail.com>
363
364 * Source/Additions/Unicode.m (GetAvailableEncodings): Include
365 last encoding.
366
367 2003-08-08 Richard Frith-Macdonald <rfm@gnu.org>
368
369 * Source/Additions/GSXML.m: save and restore libxml global settings
370 before/after each parse operation.
371
372 2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
373
374 * Source/NSString.m: nodeToObject() fix error in handling escape
375 sequences in strings ... only treat a backslash specially when it
376 is immediately followed by 'U' or 'u' and four hexadecimal digits.
377 ensure data ia deallocated promptly.
378 * Source/GSCompatibility.m: match changes to property list escapes
379 * Source/Additions/GSXML.m: change ownership policy so that nodes
380 are owned by theri parents, never by siblings ... prevent stack
381 overflow deallocating nodes in long documents.
382 * Tools/plist-0_9.dtd: document unicode escapes.
383
384 2003-08-02 Adam Fedor <fedor@gnu.org>
385
386 * Source/NSProxy.m: Fix limit.h -> limits.h
387
388 2003-08-02 Yen-Ju Chen <yjchenx@hotmail.com>
389
390 * Resources/Languages/TraditionalChinese,
391 Resources/TraditionalChinese.lproj: New
392 * Resources/GNUmakefile: Install them.
393
394 2003-08-01 Richard Frith-Macdonald <rfm@gnu.org>
395
396 * Source/NSProxy.m: Include limits.h for UINT_MAX
397 * Source/NSProcessInfo.m: Avoid crash when given invalid argument list
398 * Source/NSString.m: Minor cleanup for coding standards and remove
399 pointer dereferencing of object which causes problems with new
400 compiler
401 Problems reported by Alexander and Roland
402
403 2003-07-31 David Ayers <d.ayers@inode.at>
404
405 * Created tag 'pre-header-reorg-20030731'.
406
407 * Headers/Additions/GNUstepBase: New directory.
408 * Headers/Additions/GNUstepBase/unicode: Ditto.
409 * Headers/Foundation: Ditto.
410 * Headers/gnustep/base: Obsoleted.
411 * Headers/gnustep/unicode: Ditto.
412
413 * Headers/Additions/GNUstepBase/DistributedObjects.h: Moved here
414 from Headers/gnustep/base.
415 * Headers/Additions/GNUstepBase/GCObject.h: Ditto.
416 * Headers/Additions/GNUstepBase/GNUstep.h: Ditto.
417 * Headers/Additions/GNUstepBase/GSCategories.h: Ditto.
418 * Headers/Additions/GNUstepBase/GSConfig.h.in: Ditto.
419 * Headers/Additions/GNUstepBase/GSFileHandle.h: Ditto.
420 * Headers/Additions/GNUstepBase/GSIArray.h: Ditto.
421 * Headers/Additions/GNUstepBase/GSIMap.h: Ditto.
422 * Headers/Additions/GNUstepBase/GSLocale.h: Ditto.
423 * Headers/Additions/GNUstepBase/GSMime.h: Ditto.
424 * Headers/Additions/GNUstepBase/GSObjCRuntime.h: Ditto.
425 * Headers/Additions/GNUstepBase/GSUnion.h: Ditto.
426 * Headers/Additions/GNUstepBase/GSXML.h: Ditto.
427 * Headers/Additions/GNUstepBase/Unicode.h: Ditto.
428 * Headers/Additions/GNUstepBase/behavior.h: Ditto.
429 * Headers/Additions/GNUstepBase/config.h.in: Ditto.
430 * Headers/Additions/GNUstepBase/objc-gnu2next.h: Ditto.
431 * Headers/Additions/GNUstepBase/preface.h.in: Ditto.
432 * Headers/Additions/GNUstepBase/thr-mach.h: Ditto.
433 * Headers/Additions/GNUstepBase/.cvsignore: Ditto.
434
435 * Headers/Additions/GNUstepBase/unicode/caseconv.h: Moved here
436 from Headers/gnustep/unicode.
437 * Headers/Additions/GNUstepBase/unicode/cop.h: Ditto.
438 * Headers/Additions/GNUstepBase/unicode/cyrillic.h: Ditto.
439 * Headers/Additions/GNUstepBase/unicode/decomp.h: Ditto.
440 * Headers/Additions/GNUstepBase/unicode/gsm0338.h: Ditto.
441 * Headers/Additions/GNUstepBase/unicode/latin2.h: Ditto.
442 * Headers/Additions/GNUstepBase/unicode/latin9.h: Ditto.
443 * Headers/Additions/GNUstepBase/unicode/nextstep.h: Ditto.
444 * Headers/Additions/GNUstepBase/unicode/thai.h: Ditto.
445
446 * Headers/Foundation/Foundation.h: Moved here from
447 Headers/gnustep/base.
448 * Headers/Foundation/NSArchiver.h: Ditto.
449 * Headers/Foundation/NSArray.h: Ditto.
450 * Headers/Foundation/NSAttributedString.h: Ditto.
451 * Headers/Foundation/NSAutoreleasePool.h: Ditto.
452 * Headers/Foundation/NSBitmapCharSet.h: Ditto.
453 * Headers/Foundation/NSBundle.h: Ditto.
454 * Headers/Foundation/NSByteOrder.h: Ditto.
455 * Headers/Foundation/NSCalendarDate.h: Ditto.
456 * Headers/Foundation/NSCharacterSet.h: Ditto.
457 * Headers/Foundation/NSClassDescription.h: Ditto.
458 * Headers/Foundation/NSCoder.h: Ditto.
459 * Headers/Foundation/NSConcreteNumber.h: Ditto.
460 * Headers/Foundation/NSConnection.h: Ditto.
461 * Headers/Foundation/NSData.h: Ditto.
462 * Headers/Foundation/NSDate.h: Ditto.
463 * Headers/Foundation/NSDateFormatter.h: Ditto.
464 * Headers/Foundation/NSDebug.h: Ditto.
465 * Headers/Foundation/NSDecimal.h: Ditto.
466 * Headers/Foundation/NSDecimalNumber.h: Ditto.
467 * Headers/Foundation/NSDictionary.h: Ditto.
468 * Headers/Foundation/NSDistantObject.h: Ditto.
469 * Headers/Foundation/NSDistributedLock.h: Ditto.
470 * Headers/Foundation/NSDistributedNotificationCenter.h: Ditto.
471 * Headers/Foundation/NSEnumerator.h: Ditto.
472 * Headers/Foundation/NSException.h: Ditto.
473 * Headers/Foundation/NSFileHandle.h: Ditto.
474 * Headers/Foundation/NSFileManager.h: Ditto.
475 * Headers/Foundation/NSFormatter.h: Ditto.
476 * Headers/Foundation/NSGeometry.h: Ditto.
477 * Headers/Foundation/NSHashTable.h: Ditto.
478 * Headers/Foundation/NSHost.h: Ditto.
479 * Headers/Foundation/NSInvocation.h: Ditto.
480 * Headers/Foundation/NSKeyValueCoding.h: Ditto.
481 * Headers/Foundation/NSLock.h: Ditto.
482 * Headers/Foundation/NSMapTable.h: Ditto.
483 * Headers/Foundation/NSMethodSignature.h: Ditto.
484 * Headers/Foundation/NSNotification.h: Ditto.
485 * Headers/Foundation/NSNotificationQueue.h: Ditto.
486 * Headers/Foundation/NSNull.h: Ditto.
487 * Headers/Foundation/NSNumberFormatter.h: Ditto.
488 * Headers/Foundation/NSObjCRuntime.h: Ditto.
489 * Headers/Foundation/NSObject.h: Ditto.
490 * Headers/Foundation/NSPathUtilities.h: Ditto.
491 * Headers/Foundation/NSPort.h: Ditto.
492 * Headers/Foundation/NSPortCoder.h: Ditto.
493 * Headers/Foundation/NSPortMessage.h: Ditto.
494 * Headers/Foundation/NSPortNameServer.h: Ditto.
495 * Headers/Foundation/NSProcessInfo.h: Ditto.
496 * Headers/Foundation/NSProtocolChecker.h: Ditto.
497 * Headers/Foundation/NSProxy.h: Ditto.
498 * Headers/Foundation/NSRange.h: Ditto.
499 * Headers/Foundation/NSRunLoop.h: Ditto.
500 * Headers/Foundation/NSScanner.h: Ditto.
501 * Headers/Foundation/NSSerialization.h: Ditto.
502 * Headers/Foundation/NSSet.h: Ditto.
503 * Headers/Foundation/NSString.h: Ditto.
504 * Headers/Foundation/NSTask.h: Ditto.
505 * Headers/Foundation/NSThread.h: Ditto.
506 * Headers/Foundation/NSTimeZone.h: Ditto.
507 * Headers/Foundation/NSTimer.h: Ditto.
508 * Headers/Foundation/NSURL.h: Ditto.
509 * Headers/Foundation/NSURLHandle.h: Ditto.
510 * Headers/Foundation/NSUndoManager.h: Ditto.
511 * Headers/Foundation/NSUserDefaults.h: Ditto.
512 * Headers/Foundation/NSUtilities.h: Ditto.
513 * Headers/Foundation/NSValue.h: Ditto.
514 * Headers/Foundation/NSZone.h: Ditto.
515
516 * Soruce/GSFormat.h: Ditto.
517 * Source/GSInvocation.h: Moved here from Headers/gnustep/base.
518 * Source/objc-load.h: Ditto.
519
520 * configure.ac: Update to new header structure.
521 * configure: Regenerated.
522 * Makefile.postamble: Remove handling of header-links and update
523 to new header structure.
524
525 * Source/GNUmakefile: Update to new header structure.
526 Always install GSFileHandle.h, GSLocal.h, GSUnion.h, GSIArray.h,
527 GSIMap.h, preface.h as public headers.
528 Do not install DistributedObjects.h, objc-load.h and thr-mach.h.
529 Install GSMime.h and GSXML.h in GNUstepBase instead of Foundation.
530 Include CompatibilityHeaders.make makefile fragement.
531
532 * Source/Makefile.preamble: Update to new header structure.
533 Split HEADER_DIR into HEADER_DIR_BASE and HEADER_DIR_FND.
534
535 * Source/Makefile.postamble: Update to new header structure.
536 Do not install mframe.h.
537 Update for HEADER_DIR split.
538
539 * Source/CompatibilityHeaders.make: New file which installs dummy
540 headers in the place of the old headers, warning about obsoleting
541 the old location and includeing the header from its new location.
542
543 * Source/Additions/Makefile.preamble: Update to new header
544 structure. Only add -I../../Headers for *-gnu-*.
545
546 * Source/*.[hm]: Update includes for new header structure.
547 * Source/Additions/*.m: Ditto.
548 * Source/mframe/mframe.head: Ditto.
549 * Source/.cvsignore: Ignore config.h.
550
551 * Testing/Makefile.preamble: Update to new header structure. Only
552 add -I../../Headers for *-gnu-*.
553 * Testing/*.[hm]: Update includes for new header structure.
554
555 * Tools/Makefile.preamble: Update to new header structure. Only
556 add -I../../Headers for *-gnu-*.
557 * Tools/*.[hm]: Update includes for new header structure.
558
559 * Tools/make_strings/GNUmakefile.preamble: Update to new header
560 structure. Only add -I../../Headers for *-gnu-*.
561
562 * Source/DocMakefile: Update to new header structure.
563
564 * SSL/Makefile.preamble: Update to new header structure.
565 * SSL/GSSSLHandle.m: Ditto.
566
567 * Examples/Makefile.preamble: Use -I../Headers only with *-gnu-*.
568
569 * Headers/gnustep/base/UnixFileHandle.h: Removed.
570 * Headers/gnustep/base/WindowsFileHandle.h: Ditto.
571
572 2003-07-30 Richard Frith-Macdonald <rfm@gnu.org>
573
574 * Tools/gdomap.c: Some security fixes and tweaks.
575
576 2003-07-28 Richard Frith-Macdonald <rfm@gnu.org>
577
578 * Source/GSFFCALLInvocation.m: Make exception text more meaningful
579 * Source/GSFFIInvocation.m: ditto
580 * Source/Additions/GSXML.m: Add a couple of convenience methods to
581 test node type.
582 * Source/Additions/GSMime.m: Add convenience method for putting
583 a new header in a document.
584 * Source/NSCalendarDate.m: Tweak to avoid useless compiler warning.
585 * Source/NSRunLoop.m: ditto
586 * Source/NSURL.m: ditto
587 * Source/Additions/GSMime.m: ditto
588 * Source/Additions/Unicode.m: ditto
589
590
591 2003-07-27 Gregory John Casamento <greg_casamento@yahoo.com> &
592 Alexander Malmberg <alexander@malmberg.org>
593
594 * Source/Additions/GSObjCRuntime.m: GSObjCMethodNames was not
595 returning all methods for the object given.
596
597 2003-07-27 Richard Frith-Macdonald <rfm@gnu.org>
598
599 * Source/NSInvocation.m: implement methodSignatureForSelector for
600 proxy.
601
602 2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
603
604 * Source/GSFFCALLInvocation.m: Add evil hack to cope with cases
605 where type info was not available and we assumed a method returning
606 an id but the actual method returned void.
607 * config/procfs.m4: Test for procfs using 'mount'
608
609 2003-07-25 Richard Frith-Macdonald <rfm@gnu.org>
610
611 * Source/NSDistributedNotificationCenter.m: Partially reverted last
612 change ... seemed to cause problems on some systems.
613 * Tools/gdnc.m: ditto.
614 * Source/NSDebug.m: Small thread safely fix.
615 * Source/NSThread.m: Avoid multiple copies of housekeeping timer.
616 * Source/NSConnection.m: Fix thread related memory leak leaving
617 an NSRunLoop in a connection when the connection is no longer
618 using it.
619 * Source/NSURL.m: retain handle while doing background load.
620
621 2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
622
623 * Source/NSObject.m: Implement methodSignatureForSelector for zombies
624 * Source/DocMakefile: Only remove directory with stamp for 'clean'
625
626 2003-07-22 Adam Fedor <fedor@gnu.org>
627
628 * Version 1.7.2
629
630 2003-07-22 Jeremy Bettis <jeremy@deadbeef.com>
631
632 * Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
633 Fix macro to return the method list.
634
635 2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
636
637 * Tools/AGSHtml.m: Don't output authors heading if not needed.
638 * Source/NSUser.m: Use HOMEPATH in preference to USERPROFILE for
639 OPENSTEP compatibility and because USERPROFILE generally doesn't
640 work due to the presence of spaces.
641 * Headers/gnustep/base/NSDebug.h: Minor documentation fix.
642 * Headers/gnustep/base/NSHashTable.h: ditto
643 * Headers/gnustep/base/NSPort.h: ditto
644 * Headers/gnustep/base/NSPortNameServer.h: ditto
645 * Source/DocMakefile: Document serialization classes
646 * Source/NSDebug.m: Fix broken cross reference
647 * Source/NSLog.m: ditto
648 * Source/NSMessagePortNameServer.m: Tidied
649 * Source/NSPortNameServer.m: Tidied and documented.
650 * Source/NSSocketPortNameServer.m: Documented and fixed methods
651 to return NO on failure rather than raising exception.
652 * Source/NSUndoManager.m: Fix documentation markup errors.
653
654 2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
655
656 * Source/Additions/Unicode.m (GROW): Fix shifting of pointers into
657 local buffer for case where we are leaving room for a null terminator.
658 This avoids moving pointer back before start of buffer.
659
660 2003-07-21 Roland Schwingel <Roland.Schwingel@onevision.de>
661
662 * Source/libgnustep-base-entry.m: Don't create unnecessary window.
663
664 Mon Jul 21 11:03:48 2003 Nicola Pero <n.pero@mi.flashnet.it>
665
666 * Tools/HTMLLinker.m: Removed.
667 * Tools/HTMLLinker.html: Removed.
668 * Tools/GNUmakefile: Do not compile it.
669
670 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
671
672 * Source/NSProxy.m: Implement essential methods for a proxy to be
673 vended over an NSConnection.
674
675 2003-07-20 17:27 Alexander Malmberg <alexander@malmberg.org>
676
677 * Source/NSConnection.m (-invalidate): Don't kill the targetToCached
678 timer when invalidating a connection.
679
680 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
681
682 * Source/NSThread.m: Separate out sleeping into a more efficient
683 function and improve use of nanosleep
684 * Source/NSLock.m: Use new private sleeping function from NSThread.m
685 and rewrite code to be more responsive, especially for cases where
686 locks are heavily used for rapid interaction between threads.
687 * Tools/thread.m: Test lockBeforeDate
688
689 2003-07-17 Richard Frith-Macdonald <rfm@gnu.org>
690
691 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) use the
692 NSThread method to sleep rather than re-implementing it.
693 * configure.ac: Check for nanosleep()
694 * Headers/Foundation/config.h.in: Add entry for nanosleep
695 * Source/NSThread.m: Use nanosleep if available.
696 * Headers/Foundation/NSProcessInfo.h: Added new methods -
697 ([-setDebugLoggingEnabled:]) and ([-debugLoggingEnabled])
698 * Source/NSProcessInfo.m: ditto
699
700 2003-07-16 David Ayers <d.ayers@inode.at>
701
702 * config.make.in: Default to builing -baseadd on non *-gnu-*
703 configurations.
704
705 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
706
707 * Headers/gnustep/base/NSArray.h: Add methods for creating from URL
708 * Headers/gnustep/base/NSDictionary.h: ditto
709 * Source/NSArray.m: ditto
710 * Source/NSDictionary.m: ditto
711
712 2003-07-15 David Ayers <d.ayers@inode.at>
713
714 * Headers/gnustep/base/NSUndoManager.h: Add
715 NSUndoCloseGroupingRunLoopOrdering enum. Replace instance
716 variables _registeredUndo with _runLoopGroupingPending and
717 _actionName with _unused1.
718 * Source/NSUndoManager.m: Added documentation.
719 Added actionName instance variable to PrivateUndoGroup.
720 (-[PrivateUndoGroup actionName]): New method.
721 (-[PrivateUndoGroup setActionName]): Ditto.
722 (-[PrivateUndoGroup dealloc]): Release new instance variable.
723 (-[PrivateUndoGroup initWithParent:]): Initialize actionName.
724 (-[NSUndoManager forwardInvocation]): Implicitly call
725 beginUndoGrouping if group has not been setup and we are grouping
726 by events. Register _loop: invocation if none is already pending
727 and if we are grouping by event.
728 (-[NSUndoManager registerUndoWithTarget:selector:object]): Ditto.
729 (-[NSUndoManager methodSignatureForSelector:]): Overriden to
730 forward request to target supplied by
731 -prepareWithInvocationTarget: if available.
732 (-[NSUndoManager _loop:]): Set flag to determine pending _loop:
733 processing.
734 (-[NSUndoManager init]): Removed access to _actionName. Have
735 receiver default to group by event.
736 (-[NSUndoManager dealloc]): Ditto.
737 (-[NSUndoManager enableUndoRegistration]): Remove access to
738 _registeredUndo.
739 (-[NSUndoManager redo]): Simplified implementation.
740 (-[NSUndoManager redoActionName:]: Retrieve action name from first
741 grouping of the redo stack.
742 (-[NSUndoManager redoMenuTitleForUndoActionName:]): Add comment
743 about localization.
744 (-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
745 (-[NSUndoManager setActionName:]): Forward call to current
746 grouping.
747 (-[NSUndoManager undoActionName:]: Retrieve action name from first
748 grouping of the undo stack.
749 (-[NSUndoManager setRunLoopModes:]): Use correct run loop ordering
750 and set flag for pending _loop: invocation.
751 (-[NSUndoManager undoNestedGroup]): Removed special case handling
752 of _registeredUndo. Raise NSInternalInconsistencyException if
753 grouping is still in progress. Simplified implementation.
754
755 2003-07-15 Alexander Malmberg <alexander@malmberg.org>
756
757 * Source/NSConnection.m: When creating new connection with registered
758 name on host, ensure that send and receive ports are of same class.
759 * Source/NSMessagePort.m: New for private local connections.
760 * Source/NSMessagePortNameServer.m: New for private local connections.
761 * Source/NSPortNameServer.m: Made abstract
762 * Source/NSSocketPortNameServer.m: Concrete version based on original.
763 * Source/NSSocketPort.m: GSTcpPort.m renamed
764 Alexanders modifications added by RFM and altered slightly to use
765 NSSocketPort by default and to refrain from building new code under
766 windows, so this *shouldn't* break any existing code I hope.
767
768 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
769
770 * Source/NSDistributedNotificationCenter.m: Use loopback network
771 interface for local center.
772 * Tools/gdnc.m: ditto.
773
774 2003-07-11 David Ayers <d.ayers@inode.at>
775
776 * Source/GNUmakefile: Make GNUstep.h public.
777 * Source/Additions/GSXML.m: Use cached NSString class variable.
778 * Source/Additions/GSObjCRuntime.m
779 (GSCGetInstanceVariableDefinition): Make more robust.
780
781 2003-07-11 Richard Frith-Macdonald <rfm@gnu.org>
782
783 * Headers/Foundation/NSPort.h: Tweak for mingw and correct conditional
784 compilation to only include NSSocketPort for MacOS-X
785 * Source/GSFileHandle.m: Incorporate S.J.Chuns mingw fixes with huge
786 simplification to avoid lots of conditional compilation.
787 * Source/GSTcpPort.m: ditto.
788 * Source/NSSocketPort.m: ditto.
789
790 2003-07-11 02:33 Alexander Malmberg <alexander@malmberg.org>
791
792 * Source/NSAssertionHandler.m: Use the correct key to store the
793 NSAssertionHandler in the thread dictionary, and document the
794 storing and the key.
795
796 2003-07-09 15:54 Alexander Malmberg <alexander@malmberg.org>
797
798 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): Make sure
799 dst isn't set to NULL in GSToUnicode, too. Make sure it is set if
800 an allocated buffer turns out not to need resizing.
801
802 2003-07-09 02:41 Alexander Malmberg <alexander@malmberg.org>
803
804 * Source/GSString.m (getCString_u): Rewrite to correctly handle
805 all encodings, the range argument, and the leftoverRange attribute.
806
807 * Source/Additions/Unicode.m (GSToUnicode): Clarify the documentation
808 (and fix a few typos in it).
809 (GSFromUnicode): Clarify the documentation. Signal failure correctly
810 from the utf8 encoder. Make sure dst isn't set to NULL if zone is
811 NULL but *size is 0.
812
813 2003-07-08 Richard Frith-Macdonald <rfm@gnu.org>
814
815 * Source/NSString.m: Avoid using atof() in parsing plists ... we
816 don't want libc localised handling of numbers.
817
818 2003-07-08 03:44 Alexander Malmberg <alexander@malmberg.org>
819
820 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): In iconv
821 case, only try to expand the buffer when we really need extra space.
822 Correctly handle all output from flushing iconv.
823
824 2003-07-08 03:03 Alexander Malmberg <alexander@malmberg.org>
825
826 * Source/NSConnection.m (-locateLocalTarget:): The targetToCached
827 map contains CachedLocalObject:s, not GSLocalCounter:s. Extract the
828 GSLocalCounter from the CachedLocalObject.
829
830 Unlock the global_proxies_gate lock before calling
831 -proxyWithLocal:connection:.
832
833 2003-07-07 David Ayers <d.ayers@inode.at>
834
835 * Headers/gnustep/base/GSObjCRuntime.h:
836 * Source/Additions/GSObjCRuntime.m:
837 Added typedef for GSIVar.
838 (GSCGetInstanceVariableDefinition): New function.
839 (GSObjCGetInstanceVariableDefinition): Ditto.
840 * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20
841 invocations.
842
843 2003-07-07 Richard Frith-Macdonald <rfm@gnu.org>
844
845 * Source/Source/GSFFCallInvocation.m: gs_objc_msg_forward() trust the
846 selector we are given. Rather than trying to find a better one.
847 * Source/GSFFIInvocation.m: ditto
848 * Source/NSScanner.m: Add a couple of internal utility functions.
849 * Source/NSString.m: Fix floatValue and doubelValue to use non
850 localised conversions.
851 * Source/GSString.m: ditto.
852
853 2003-07-06 Adam Fedor <fedor@gnu.org>
854
855 * configure.ac: Add -R flags for netbsdelf
856
857 2003-07-06 Richard Frith-Macdonald <rfm@gnu.org>
858
859 * Tools/AGSHtml.m: Fix bug in linking to category methods from index.
860 * Tools/AGSParser.m: Improve parsing of clock comments.
861
862 2003-07-05 Adam Fedor <fedor@gnu.org>
863
864 * configure.ac: Add flags for openbsd like freebsd.
865
866 * Tools/gdnc.1, Tools/gdomap.8: Unzip
867 * Tools/GNUmakefile (MAN1_PAGES): gzip man pages.
868
869 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
870
871 * Source/NSDistributedNotificationCenter.m: Use -setProtocolForProxy:
872 and implement dummy class to work around bug in old compilers.
873 * Tools/gdnc.m: ditto
874 * Source/NSDistantObject.m: Fix for calls to remote system where we
875 can get no method signature.
876 Documented.
877
878 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
879
880 * Source/Source/GSFFCallInvocation.m: Modify to use local type
881 information if it looks like it has come from a protocol ...
882 as too much existing code is broken in that DO server objects
883 which are supposed to conform to protocols in fact do not!
884 * Source/GSFFIInvocation.m: ditto
885
886 Fri Jul 4 11:09:37 2003 Nicola Pero <n.pero@mi.flashnet.it>
887
888 * NSTimeZones/Makefile.postamble: Make the code more robust by
889 adding rule to create the installation dirs.
890
891 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
892
893 * Source/NSDistantObject.m: Avoid recursion fetching method signature.
894 * Source/NSObject.m: ([methodSignatureForSelector:]) modified to take
895 into account any protocols that the receiver conforms to, so the
896 returned signature has the fullest possible type information.
897 Category Protocol(Fixup) ... evil hack to work around runtime bug.
898 * Source/GSFFCallInvocation.m: Fetch method signature from receiver
899 in preference to using other info. Ensures we have correct info for
900 the object we are sending the message to.
901 * Source/GSFFIInvocation.m: ditto
902
903 2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
904
905 * Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
906 year to 0001 s the gregorian calendar does not go earlier.
907 ([-initWithYear:month:day:hour:minute:second:timeZone:]) don't
908 override a previously set calendar format.
909
910 2003-07-01 David Ayers <d.ayers@inode.at>
911
912 * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
913 * Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
914 * Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m to
915 GSObjCRuntime.m and declaration from NSObjCRuntime.h to
916 GSObjCRuntime.h.
917
918 2003-07-01 Richard Frith-Macdonald <rfm@gnu.org>
919
920 * Source/Additions/Unicode.m: Flush iconv buffer at end of conversion
921 to handle obscure cases where it says it has converted all the input
922 sequence, but hasn't written all the output.
923
924 2003-06-30 Richard Frith-Macdonald <rfm@gnu.org>
925
926 * Source/Additions/Unicode.m: Add 'UTF-7' so iconv can be used to
927 handle utf7 if available.
928 * Tools/AGSParser.m: Don't always strip asterisks from comments,
929 Check first line of comment to see if it has one first.
930
931 2003-06-28 15:48 Alexander Malmberg <alexander@malmberg.org>
932
933 * Tools/make_strings/StringsFile.h, Tools/make_strings/StringsFile.m,
934 Tools/make_strings/make_strings.h, Tools/make_strings/make_strings.m:
935 Clean up handling of key matching and ignoring. Add
936 --aggressive-remove option.
937
938 2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
939
940 * Source/NSBundle.m: Don't NSLog when we can't find a localizable
941 file ... log only when bundle debugging is turned on.
942
943 2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
944
945 * Source/NSPipe.m: Fix descriptor leak ... close on dealloc
946
947 2003-06-25 Adam Fedor <fedor@gnu.org>
948
949 * Tools/gdnc.1.gz: New file (from Martin Brecher).
950 * Tools/GNUmakefile (MAN1_PAGES): Install it
951
952 2003-06-24 David Ayers <d.ayers@inode.at>
953
954 * Source/GSFFCallInvocation.m
955 (gs_method_for_receiver_and_selector): Replace usage of
956 class_get_instance/class_method with GSGetInstance/ClassMethod and
957 Method_t with GSMethod.
958 (gs_find_by_receiver_best_typed_sel): Ditto.
959 (GSInvocationCallback): Ditto.
960 ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
961 * Source/GSFFIInvocation.m
962 (gs_method_for_receiver_and_selector): Ditto.
963 (gs_find_by_receiver_best_typed_sel): Ditto.
964 (GSFFIInvocationCallback): Ditto.
965 ([GSFFIInvocation -invokeWithTarget:]): Ditto.
966 * Source/NSConnection.m
967 ([NSConnection -_service_typeForSelector:]): Ditto.
968 * Source/NSInvocation.m
969 ([NSInvocation -invokeWithTarget:]): Ditto.
970 * Source/NSObject.m
971 ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
972 ([NDObject -methodSignatureForSelector:]): Ditto.
973 ([NSObject +descriptionForInstanceMethod:]): Ditto.
974 ([NSOnject -descriptionForMethod:]: Ditto.
975 * Source/NSProxy.m
976 ([NSProxy +methodSignatureForSelector:]): Ditto.
977 ([NSProxy -methodSignatureForSelector:]): Ditto.
978 * Source/NSDistantObject.m
979 ([NSObject -selectorTypeForProxy:]): Ditto.
980 ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
981 implementation to check class methods instead of instance methods.
982
983 2003-06-23 Adam Fedor <fedor@gnu.org>
984
985 * Testing/diningPhilosophers.m: Locking and output fixes (from
986 Chris Beaham).
987 * Testing/create-abbrevs, Testing/create-regions: Remove.
988
989 2003-06-23 Adam Fedor <fedor@gnu.org>
990
991 * Source/NSProcessInfo.m (+load): use the KVM library where
992 available when procfs doesn't work (FreeBSD, others?) (patch from
993 Pete French <pete@twisted.org.uk>).
994
995 2003-06-21 David Ayers <d.ayers@inode.at>
996
997 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
998 class_get_class_method they cannot work due to different
999 parameter expectations. Added mapping from NeXT->GNU runtime.
1000 The other way does not work. Added simple mapping for internal
1001 flush function __objc_update_dispatch_table_for_class and
1002 _objc_flush_caches.
1003
1004 * Headers/gnustep/base/GSObjCRuntime.h/m:
1005 Added typedef for GSMethod.
1006 (GSGetInstanceMethod): New function.
1007 (GSGetClassMethod): Ditto.
1008 (GSGetInstanceMethodNotInherited): Ditto.
1009 (GSGetClassMethodNotInherited): Ditto.
1010 (GSFlushMethodCacheForClass): Ditto.
1011 (flush_method_cache_for_class): Removed function which is replaced
1012 by GSFlushMethodCacheForClass.
1013 (GSObjCGetMethod): Removed function which is replaced by
1014 GSGetInstanceMethod and GSGetClassMethod.
1015 (GSObjCReplaceMethod): Removed function.
1016
1017 2003-06-21 Adam Fedor <fedor@gnu.org>
1018
1019 * configure.ac: Check for libkvm.
1020 * configure, Headers/gnustep/base/config.h.in: Regen.
1021
1022 2003-06-20 Adam Fedor <fedor@gnu.org>
1023
1024 * Documentation/Makefile.postamble (after-clean): Remove Base
1025 and BaseAdditions
1026
1027 2003-06-20 Richard Frith-Macdonald <rfm@gnu.org>
1028
1029 * Source/GSString.m: Allow more length when converting unicode
1030 string to integer.
1031 * Source/NSObject.m: ([methodSignatureForSelector:]) return nil if
1032 the receiver does not implement it.
1033
1034 2003-06-20 Adam Fedor <fedor@gnu.org>
1035
1036 * Documentation/Makefile.postamble (after-clean):
1037 * Version 1.7.1
1038
1039 * Source/DocMakefile (after-all): Check if Base exists before
1040 removing it.
1041
1042 2003-06-19 Adam Fedor <fedor@gnu.org>
1043
1044 * GNUmakefile (SUBPROJECTS): Revert last change.
1045
1046 2003-06-19 Andrew Ruder <aeruder@yahoo.com>
1047
1048 * Source/Additions/Unicode.m: Increase size of table by one to
1049 avoid error if all possible character encodings were supported.
1050 Never happens ... but might conceivably do so one day.
1051
1052 2003-06-18 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
1053
1054 * configure.ac: Add --with--ffcall-include=PATH and
1055 --with-ffcall-library=PATH options
1056
1057 2003-06-18 Richard Frith-Macdonald <rfm@gnu.org>
1058
1059 * Source/Additions/GSXML.m: Implement -description for nodes.
1060
1061 2003-06-17 Adam Fedor <fedor@gnu.org>
1062
1063 * GNUmakefile (SUBPROJECTS): Add Documentation
1064
1065 2003-06-17 Chris Vetter <chrisv@web4inc.com>
1066
1067 * Tools/AGSHtml.m: Tidy up formatting of author output.
1068
1069 2003-06-16 13:36 Alexander Malmberg <alexander@malmberg.org>
1070
1071 * Source/GSFormat.m (GSFormat()): Free malloc memory in all cases
1072 after handling %s, %S, %@ with strings longer than 8192 characters.
1073
1074 2003-06-15 Richard Frith-Macdonald <rfm@gnu.org>
1075
1076 * Source/NSAutoreleasePool.m: Documented.
1077 * Headers/gnustep/base/NSObject.h: Documented memory management macros
1078 for autogsdoc.
1079
1080 2003-06-14 Richard Frith-Macdonald <rfm@gnu.org>
1081
1082 * Source/Additions/GSMime.m: Better attempt to infer charset from
1083 string only when needed.
1084 Don't insert transer encoding header if not needed.
1085
1086 2003-06-11 Adam Fedor <fedor@gnu.org>
1087
1088 * Source/NSNumberFormatter.m
1089 (-getObjectValue:forString:errorDescription:): Simple
1090 implementation.
1091
1092 2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
1093
1094 * Source/NSString.m
1095 In [initWithContentsOfURL:] changed variable test to unichar* to
1096 keep the compiler quiet.
1097 * Source/Additions/Unicode.m
1098 In GSFromUnicode() removed type cast of *_conv_base as the
1099 gcc 3.3 compiler complained about it.
1100
1101 2003-06-07 David Ayers <d.ayers@inode.at>
1102
1103 * Headers/gnustep/base/GSObjCRuntime.h
1104 * Source/Additions/GSObjCRuntime.m : White space patch to better
1105 conform with GNU coding standards and improve readability.
1106 Wrap deprecated API in NO_DEPRICATED macro.
1107
1108 2003-06-06 David Ayers <d.ayers@inode.at>
1109
1110 * Source/GSArray.m: Change syntax of include <> to "" for
1111 local headers. Change base/ to gnustep/base/ in includes.
1112 Source/GSAttributedString.m, Source/GSCompatibility.m,
1113 Source/GSCountedSet.m, Source/GSDictionary.m,
1114 Source/GSFFCallInvocation.m, Source/GSFFIInvocation.m,
1115 Source/GSFTPURLHandle.m, Source/GSFileHandle.m,
1116 Source/GSFormat.m, Source/GSHTTPURLHandle.m,
1117 Source/GSLocale.m, Source/GSSet.m,
1118 Source/GSString.m, Source/GSTcpPort.m,
1119 Source/GSTemplateValue.m, Source/GSValue.m,
1120 Source/NSArchiver.m, Source/NSArray.m,
1121 Source/NSAssertionHandler.m, Source/NSAttributedString.m,
1122 Source/NSAutoreleasePool.m, Source/NSBitmapCharSet.m,
1123 Source/NSBundle.m, Source/NSCalendarDate.m,
1124 Source/NSCallBacks.h, Source/NSCallBacks.m,
1125 Source/NSCharacterSet.m, Source/NSClassDescription.m,
1126 Source/NSCoder.m, Source/NSConcreteNumber.m,
1127 Source/NSConnection.m, Source/NSCopyObject.m,
1128 Source/NSCountedSet.m, Source/NSData.m,
1129 Source/NSDate.m, Source/NSDateFormatter.m,
1130 Source/NSDebug.m, Source/NSDecimal.m,
1131 Source/NSDecimalNumber.m, Source/NSDictionary.m,
1132 Source/NSDistantObject.m, Source/NSDistributedLock.m,
1133 Source/NSDistributedNotificationCenter.m, Source/NSEnumerator.m,
1134 Source/NSException.m, Source/NSFileHandle.m,
1135 Source/NSFileManager.m, Source/NSFormatter.m,
1136 Source/NSGeometry.m, Source/NSHashTable.m,
1137 Source/NSHost.m, Source/NSInvocation.m,
1138 Source/NSKeyValueCoding.m, Source/NSLock.m,
1139 Source/NSLog.m, Source/NSMapTable.m,
1140 Source/NSMethodSignature.m, Source/NSNotification.m,
1141 Source/NSNotificationCenter.m, Source/NSNotificationQueue.m,
1142 Source/NSNull.m, Source/NSNumber.m,
1143 Source/NSNumberFormatter.m, Source/NSObjCRuntime.m,
1144 Source/NSObject.m, Source/NSPage.m,
1145 Source/NSPipe.m, Source/NSPort.m,
1146 Source/NSPortCoder.m, Source/NSPortMessage.m,
1147 Source/NSPortNameServer.m, Source/NSProcessInfo.m,
1148 Source/NSProtocolChecker.m, Source/NSProxy.m,
1149 Source/NSRange.m, Source/NSRunLoop.m,
1150 Source/NSScanner.m, Source/NSSerializer.m,
1151 Source/NSSet.m, Source/NSSocketPort.m,
1152 Source/NSString.m, Source/NSTask.m,
1153 Source/NSThread.m, Source/NSTimeZone.m,
1154 Source/NSTimer.m, Source/NSURL.m,
1155 Source/NSURLHandle.m, Source/NSUnarchiver.m,
1156 Source/NSUndoManager.m, Source/NSUser.m,
1157 Source/NSUserDefaults.m, Source/NSValue.m,
1158 Source/NSZone.m, Source/UnixFileHandle.m,
1159 Source/callframe.h, Source/callframe.m,
1160 Source/cifframe.h, Source/cifframe.m,
1161 Source/externs.m, Source/libgnustep-base-entry.m,
1162 Source/mframe.m, Source/objc-gnu2next.m,
1163 Source/objc-load.m, Source/preface.m,
1164 Source/thr-mach.m, Source/thr-pthread.m,
1165 Source/Additions/GCArray.m, Source/Additions/GCDictionary.m,
1166 Source/Additions/GCObject.m, Source/Additions/GSCategories.m,
1167 Source/Additions/GSCompatibility.h, Source/Additions/GSMime.m,
1168 Source/Additions/GSNextRuntime.m, Source/Additions/GSObjCRuntime.m,
1169 Source/Additions/GSXML.m, Source/Additions/Unicode.m,
1170 Source/Additions/behavior.m: Idem.
1171
1172 2003-06-03 Adam Fedor <fedor@gnu.org>
1173
1174 * Source/mframe/powerpc/darwin: New file.
1175
1176 2003-06-02 Richard Frith-Macdonald <rfm@gnu.org>
1177
1178 * Source/mframe.m: Allow for structure names in type specifications.
1179
1180 2003-05-29 Adam Fedor <fedor@gnu.org>
1181
1182 * configure.ac: Pass on original CPPFLAGS to config.mak.
1183 * config/objc-con-autoload.m4: Test for constructors directly.
1184 * config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.
1185
1186 * Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.
1187
1188 * Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
1189 around START so it will compile on GCC 2.
1190
1191 * Testing/nsbundle.m: Errors to stdout.
1192
1193 2003-05-26 Adam Fedor <fedor@gnu.org>
1194
1195 * Testing/Makefile.postamble (check): Define to run all
1196 checkable tools (ones that exit in a finite amount of time).
1197 * Testing/README: New.
1198
1199 2003-05-23 Richard Frith-Macdonald <rfm@gnu.org>
1200
1201 * Source/Additions/GSXML.m: Some work towards making it possible to
1202 subclass GSTreeSAXHandler cleanly, so you can build a tree
1203 representation of a document but still handle data incrementally.
1204
1205 2003-05-22 Richard Frith-Macdonald <rfm@gnu.org>
1206
1207 * Source/Additions/GSXML.m: ([GSXPathContext-evaluateExpression:])
1208 Test for NULL return from libxml and return nil rather than trying
1209 to dereference the null pointer.
1210 New features to record error and warning messages added.
1211 * Headers/Foundation/GSXML.h: ([GSXMLParser-messages]) returns saved
1212 messages. ([GSXMLParser-saveMessages:]) Says whether to save messages
1213 or write to stderr.
1214 * Source/Additions/GSObjCRuntime.m: Hack to fix type clash in
1215 declaration of __objc_exec_class()
1216
1217 2003-05-19 Adam Fedor <fedor@gnu.org>
1218
1219 * Version 1.7.0.
1220 * Documentation/news.texi: Updated.
1221
1222 * NSObject: Revert last change
1223
1224 2003-05-20 David Ayers <d.ayers@inode.at>
1225
1226 * Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
1227 GSObjCReplaceMethod()): Removed declarations for release as these
1228 functions will be replaced by a more consistent approach.
1229
1230 2003-05-19 Adam Fedor <fedor@gnu.org>
1231
1232 * Source/NSObject (GSAtExit): New function.
1233 (+initialize): Use it with atexit.
1234
1235 * Source/objc-load.m (objc_invalidate_dtable): Remove.
1236 (objc_load_callback): Don't call it.
1237
1238 2003-05-16 Richard Frith-Macdonald <rfm@gnu.org>
1239
1240 * Source/NSDate.m: Documented.
1241
1242 2003-05-14 Richard Frith-Macdonald <rfm@gnu.org>
1243
1244 * Source/Additions/GSMime.m: Fix occasional error unfolding
1245 headers.
1246
1247 2003-05-14 16:50 Alexander Malmberg <alexander@malmberg.org>
1248
1249 * Source/NSUser.m, Headers/gnustep/base/NSPathUtilities.h: Add
1250 GSApplicationSupportDirectory constant for
1251 NSSearchPathForDirectoriesInDomains.
1252
1253 2003-05-14 David Ayers <d.ayers@inode.at>
1254
1255 * Tools/Makefile.postamble: Added safe handling of empty
1256 MAN1_PAGES variable.
1257 * Tools/pl2link.m (main): Initialize variable to supress
1258 compiler warning.
1259
1260 2003-05-13 Richard Frith-Macdonald <rfm@gnu.org>
1261
1262 * Source/Tools/gdnc.m: Tidy termination code.
1263 * Source/Additions/GSMime.m: ([GSMimeDocument-copyWithZone:])
1264 corrected implementation to do a real copy rather than just a
1265 retain.
1266
1267 2003-05-13 15:57 Alexander Malmberg <alexander@malmberg.org>
1268
1269 * Tools/gdnc.m (ihandler): Declare variables.
1270
1271 2003-05-12 Richard Frith-Macdonald <rfm@gnu.org>
1272
1273 * Source/Additions/GSXML.m: New -escapedContent method to provide
1274 text with the five entities libxml automatically substitutes even
1275 when told not to.
1276 * Tools/AGSHtml.m: Use -escapedContent to get text suitable for
1277 output in html documents.
1278
1279 2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
1280
1281 * Tools/gdomap.8.gz: Added man page adapted from internal docs by
1282 martin@mb-itconsulting.com
1283 * Tools/GNUmakefile: Declare man pages to be installed
1284 * Tools/Makefile.postamble: Install man pages
1285
1286 2003-05-08 Richard Frith-Macdonald <rfm@gnu.org>
1287
1288 * Tools/xmlparse.m: new utility to parse/validate xml, for testing
1289 gsdoc and new style property lists etc.
1290 * Source/NSBundle.m: ([+allBundles]) Make sure the main bundle is
1291 present. Add some documentation.
1292
1293 2003-05-07 Richard Frith-Macdonald <rfm@gnu.org>
1294
1295 * Source/GSString.m: ([-initWithCStringNocopy:length:freeWhenDone:])
1296 check encodings and convert to unicode if necessary. Thanks to
1297 Alaxander for pointing out bug.
1298
1299 2003-05-06 Richard Frith-Macdonald <rfm@gnu.org>
1300
1301 * Source/GSString.m: Fix call to GSFormat() to append to a mutable
1302 string whose contents should not be freed.
1303 Removed bogus TODO comments saying code broken when defEnc!=intEnc
1304 in routines which should never be called when defEnc!=intEnc anyway.
1305 * Source/NSData.m: Remove windows specific code for simplification
1306 as the standard code actually works as well or better according to
1307 <Roland.Schwingel@onevision.de>
1308 * Tools/AGSParser.m: Ignore forward declarations of protocols.
1309
1310 2003-05-05 15:28 Alexander Malmberg <alexander@malmberg.org>
1311
1312 * Source/Unicode.m (GSFromUnicode, GSToUnicode): Make sure the
1313 internal work buffer isn't returned to the caller.
1314
1315 * Source/NSString.m: Clarify some comments, and mark code that is
1316 broken when defEnc!=intEnc.
1317
1318 (fillHole, makeHole): Remove STABLE_MEMCPY. Use memmove.
1319
1320 (transmute): Set the zone to the default zone when transmuting.
1321 Check the return value from GSToUnicode.
1322
1323 (getCharacters_c): Check the return value from GSToUnicode.
1324
1325 2003-05-02 Richard Frith-Macdonald <rfm@gnu.org>
1326
1327 * Source/GSTcpPort.m: ([dispatch]) catch exceptions handling the port
1328 message, so as to ensure that locking won't get out of sync.
1329
1330 Mon Apr 28 12:09:44 BST 2003 Nicola Pero <nicola@brainstorm.co.uk>
1331
1332 * NSCharacterSets/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR):
1333 Define using the full relative path.
1334 * Resources/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR): Idem.
1335
1336 2003-04-27 Adam Fedor <fedor@gnu.org>
1337
1338 * Updates for filesystem change.
1339 * GNUmakefile (GNUSTEP_MAKEFILES): Remove
1340 * Documentation/GNUmakefile, Examples/GNUmakefile,
1341 NSTimeZones/GNUmakefile, SSL/GNUmakefile, SSL/configure.ac,
1342 Source/DocMakefile, Source/GNUmakefile,
1343 Source/Additions/GNUmakefile, Testing/GNUmakefile,
1344 Tools/GNUmakefile: Idem.
1345 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
1346 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
1347 Replace Headers with Library/Headers.
1348 * Source/mframe/configure.ac: Idem.
1349 * NSCharacterSets/GNUmakefile: Use resource-set.make.
1350 * Resources/GNUmakefile: Idem.
1351 * Resources/GNUmakefile.postamble: Remove before/after install cmds.
1352
1353 * Source/NSBundle (+pathForLibraryResource:ofType:inDirectory:):
1354 New method.
1355 (+pathForGNUstepResource:...): Depreciate.
1356 * Source/Additions/GSXML.m: Use it to find DTDs.
1357
1358 * Source/GSLocale.m (GSLanguageFromLocale): Use +bundleForLibrary
1359 to locate resources.
1360 * Source/NSCharacterSet.m (+_bitmapForSet:number:): Idem.
1361 * Source/NSUserDefaults.m (+standardUserDefaults): Idem.
1362 * Source/Additions/Unicode.m (GSEncodingFromLocale): Idem.
1363 * Source/NSTimeZone.m (_time_zone_path): New function.
1364 (+systemTimeZone, +getAbbreviationFile, +getRegionsFile,
1365 +getTimeZoneFile): Use it.
1366
1367 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Change
1368 libsDir to "Library/Libraries", docDir to "Library/Documentation".
1369
1370 * Source/Additions/GSCompatibility.[hm]: Change
1371 +pathForGNUstepResource:... to +pathForLibraryResource:...
1372
1373 2003-04-27 Richard Frith-Macdonald <rfm@gnu.org>
1374
1375 * Source/NSUserDefaults.m: ([synchronize]) fix locking to permit
1376 recursive call to this method, ensuring the distributed lock is
1377 only obtained once.
1378 * Headers/gnustep/base/GSCategories.h: removed varargs helper macros
1379 * Headers/gnustep/base/GSObjCRuntime.h: and put them here.
1380
1381 2003-04-17 Richard Frith-Macdonald <rfm@gnu.org>
1382
1383 * Headers/gnustep/base/GSCategories.h:
1384 * Headers/gnustep/base/NSCalendarDate.h:
1385 * Headers/gnustep/base/NSData.h:
1386 * Headers/gnustep/base/NSObject.h:
1387 * Headers/gnustep/base/NSString.h:
1388 * Headers/gnustep/base/NSValue.h:
1389 * Headers/gnustep/base/Foundation.h:
1390 Tidied use of GSCategories.
1391 * Source/NSFileManager.m: ([linkPath:toPath:handler:]) implemented.
1392
1393 2003-04-16 Richard Frith-Macdonald <rfm@gnu.org>
1394
1395 * Headers/gnustep/base/NSUserDefaults.h: remove timer ivar, now unused.
1396 * Source/NSRunLoop.m: Support a housekeeping timer which is ignored
1397 for purposes of deciding whether the loop shoiuld terminate.
1398 * Source/NSThread.m: Set up housekeeping timer to trigger housekeeping
1399 notifications in the default mode of the runloop of the main thread.
1400 * Source/NSUserDefaults.m: Use housekeeping notifications to trigger
1401 synchronise rather than using timers ... avoid circular dependencies.
1402 Thanks to Derek Zhou for bug report.
1403
1404 2003-04-15 Richard Frith-Macdonald <rfm@gnu.org>
1405
1406 * Source/NSData.m: Experimantal disable ReadFile and WriteFile on MINGW
1407
1408 2003-04-14 Richard Frith-Macdonald <rfm@gnu.org>
1409
1410 * Source/NSObjCRuntime.m: NSClassFromString(), NSSelectorFromString()
1411 avoid doing an unnecessary autorelease.
1412
1413 2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
1414
1415 * Source/callframe.m:
1416 * Source/cifframe.m:
1417 Fix error in returning pointer to struct values.
1418
1419 2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
1420
1421 * Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
1422 decoded selector name ... the NSPortCoder now does it.
1423 ([typeForSelector:]) return autoreleased copy of the type string.
1424
1425 2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
1426
1427 * Source/callframe.m:
1428 * Source/cifframe.m:
1429 Fix error in returning data via pointer arguments ... was writing to
1430 wrong memory location.
1431 * Source/GSFFCallInvocation.m: minor tidy up.
1432 * Source/NSArchiver.m: Structure encoding/decoding fixes.
1433 * Source/NSData.m: Structure encoding/decoding fixes.
1434 * Source/NSPortCoder.m: Structure encoding/decoding fixes.
1435 Manage memory used by decoded pointers (including c-strings).
1436 * Source/NSUnarchiver.m: Structure encoding/decoding fixes.
1437 * Source/NSConnectiom.m: Don't try to autorelease decoded pointers.
1438 * Testing/server.h: Make large structure have tricky layout.
1439 * Testing/nsconnection_client.m: Add harder structure test.
1440 * Testing/nsconnection_server.m: Add harder structure test.
1441
1442 2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
1443
1444 * Source/GSTcpPort.m:
1445 * Source/NSData.m:
1446 * Source/NSSerializer.m:
1447 * Source/NSURL.m:
1448 Replace __alignof__() with calls to objc_alignof_type() so that if
1449 __alignof__() is broken we can hope that the objc runtime library
1450 has a workaround.
1451
1452 2003-04-08 Richard Frith-Macdonald <rfm@gnu.org>
1453
1454 * Headers/gnustep/base/Foundation.h: Include GNUstep extensions
1455 from GSCategories.h
1456
1457 2003-04-08 15:37 Alexander Malmberg <alexander@malmberg.org>
1458
1459 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
1460 Fix assignment of 'found' in %z handling.
1461
1462 2003-04-07 13:21 Alexander Malmberg <alexander@malmberg.org>
1463
1464 * configure.ac: Link directly to the foreign function interfaces
1465 section in the build guide in the error message for missing ffi
1466 library.
1467
1468 * configure: Regenerate.
1469
1470 2003-04-07 Richard Frith-Macdonald <rfm@gnu.org>
1471
1472 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST and
1473 GS_USEIDPAIRLIST): Complete implementation and testing.
1474 * Source/NSDictionary.m: Use macro.
1475
1476 2003-04-06 23:30 Alexander Malmberg <alexander@malmberg.org>
1477
1478 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST): Make the
1479 implementation match the actual use in NSArray and NSSet. Clarify
1480 documentation.
1481
1482 2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
1483
1484 * Source/NSThread.m: (GSPerformHolder) execute perform operations
1485 in the same order in which they were submitted.
1486 * Headers/GNUstep/base/GSCategories.h: Added two new macros to
1487 agressively optimise the use of varargs when initialising arrays
1488 etc by avoiding multiple allocation/reallocation of memory to hold
1489 arrays of objects taken from the varargs list.
1490 * Source/NSArray.m: Use the new macros.
1491
1492 2003-04-04 Stephane Corthesy <stephane@sente.ch>
1493
1494 * macosx/config.h, macosx/preface.h: Update.
1495 * macosx/gnustep.pbproj/project/pbxproj: Use relative paths.
1496
1497 2003-04-04 Adam Fedor <fedor@gnu.org>
1498
1499 * Source/Additions/GSCompatibility.m ([NSString(GSCompatibility)
1500 -substringFromRange:]): Add.
1501
1502 2003-04-04 Richard Frith-Macdonald <rfm@gnu.org>
1503
1504 * Headers/Foundation/NSInvocation: Added NS_INVOCATION asnd NS_MESSAGE
1505 * Source/NSInvocation.m: Support the two new macros. Documented.
1506 * Testing/nsinvocation.m: Trivial tests added.
1507 * Documentation/OpenStepCompliance.gsdoc: Updated.
1508 * Source/NSConnection.m: ([-forwardInvocation:forProxy:]) set
1509 invocation target explicitly, in case this was called as a result
1510 of a manual setup of the invocation rather than real forwarding.
1511
1512 2003-04-03 Adam Fedor <fedor@gnu.org>
1513
1514 * Documentation/OpenStepCompliance.gsdoc: New file.
1515 * Documentation/Base.gsdoc: Reference it.
1516 * Source/DocMakefile: Update.
1517
1518 2003-04-02 Stephane Corthesy <stephane@sente.ch>
1519
1520 * Source/Additions/GSCompatibility.m: Fix up incorrectly applied
1521 patch.
1522 * Source/Additions/Unicode.m (GSEncodingName): Don't define if
1523 NeXT_Foundation_Library.
1524
1525 2003-04-02 Adam Fedor <fedor@gnu.org>
1526
1527 * Headers/gnustep/base/Foundation.h: Revert previous change
1528
1529 2003-04-02 Richard Frith-Macdonald <rfm@gnu.org>
1530
1531 * Source/Additions/GSXML.m: ([-content]) fix to produce string
1532 content of elements rather than just text nodes.
1533 * Source/GSMime.m: ([-rawMimeData]) ensure that the transfer encoding
1534 of a multipart document is 8bit if any of its constituent parts are
1535 8bit or binary
1536
1537 22003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
1538
1539 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
1540 add support for %F millisecond initialisation.
1541 make trivial simplification of timezone handling.
1542 on failure to parse zone using %z, use local time zone.
1543
1544 2003-03-31 Stephane Corthesy <stephane@sente.ch>
1545
1546 * Source/Additions/GCArray.m: Replace retain/release by
1547 RETAIN/RELEASE macros.
1548 * Source/Additions/GCDictionary.m: Idem.
1549
1550 * Source/Additions/GSCompatibility.h: Add NSBundle category.
1551 * Source/Additions/GSCompatibility.m (GSEncodingName): New.
1552 Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
1553
1554 * Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
1555 (GSObjCMethodNames): Cast method_name to const char *.
1556
1557 2003-03-31 Adam Fedor <fedor@gnu.org>
1558
1559 * Headers/gnustep/base/Foundation.h: Add GSCategories.h
1560
1561 2003-03-30 Adam Fedor <fedor@gnu.org>
1562
1563 * Headers/gnustep/base/NSString.h: (stringByTrimmingLeadSpaces,
1564 stringByTrimmingTailSpaces, stringByTrimmingSpaces,
1565 stringByReplacingString:withString:, replaceString:withString:,
1566 trimLeadSpaces, trimTailSpaces, trimSpaces): Move to GSCategories.h
1567 * Headers/gnustep/base/NSValue.h (valueFromString): Idem.
1568 * Source/NSNumber.m (valueFromString:): Move to GSCategories.m
1569 * Source/NSString.m: Idem as above.
1570 * Source/Additions/GSCategories.m: Methods moved here.
1571 * Source/Additions/GSCompatibility.h: Rearrange, add
1572 NSDistantObject, NSFileHandle category, GSCurrentThreadDictionary().
1573 * Source/Additions/GSCompatibility.m: Add GSCurrentThreadDictionary
1574 NSDistantObject, and NSFileHandle methods.
1575
1576 2003-03-28 20:48 Alexander Malmberg <alexander@malmberg.org>
1577
1578 * configure.ac: Fail the configure if neither ffcall nor ffi is
1579 available unless --disable-do is passed to configure. Add a message
1580 about why a user most likely does not want to build with ffcall and
1581 ffi, and with a link to the build guide.
1582
1583 * configure: Regenerate.
1584
1585 2003-03-27 Adam Fedor <fedor@gnu.org>
1586
1587 * Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.
1588
1589 2003-03-27 Stephane Corthesy <stephane@sente.ch>
1590
1591 * Tools/autogsdoc.m, AGSHtml.m, AGSIndex.m, AGSOutput.m: Add
1592 MacOSX compatibility headers.
1593 * Tools/AGSParser.m: Idem.
1594 (-log:arguments:): Replace strinWithFormat:arguments: with
1595 initWithFormat:arguments:
1596
1597 2003-03-26 David Ayers <d.ayers@inode.at>
1598
1599 * Source/NSKeyValueCoding.m: Added documentation.
1600 * Source/NSKeyValueCoding.m ([NSObject -takeValue:forKey:]),
1601 ([NSObject -valueForKey:]): Corrected search order of instance
1602 variables.
1603
1604 2003-03-25 Stephane Corthesy <stephane@sente.ch>
1605
1606 * macosx: New directory holding MacOSX project for building
1607 Additions framework.
1608
1609 2003-03-25 Richard Frith-Macdonald <rfm@gnu.org>
1610
1611 * Source/NSURL.m: When loading a resource and attempting to notify
1612 a client, check that the client responds to the selectors before
1613 sending messages to it.
1614 Make ([-loadResourceDataNotifyingClient:usingCache:]) work in
1615 background (non-blocking).
1616
1617 2003-03-25 David Ayers <d.ayers@inode.at>
1618
1619 * Headers/gnustep/base/GSObjCRuntime.h
1620 * Source/Additions/GSObjCRuntime.m (GSObjCGetMethod),
1621 (GSObjCReplaceMethod): Added new functions.
1622 * Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
1623 Renamed static function for NeXT runtime to better reflect
1624 reality.
1625 (GSObjCAddMethods): Updated usage.
1626 (search_for_method_in_class): New static function for GNU runtime.
1627 (flush_method_cache_for_class): New static function.
1628 * Headers/gnustep/base/GSCategories.h: Included necessary headers.
1629
1630 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1631
1632 * Completed merge of changes from 1.6.0 branch.
1633
1634 2003-03-17 Adam Fedor <fedor@gnu.org>
1635
1636 * Version 1.6.0
1637
1638 2003-03-17 Adam Fedor <fedor@gnu.org>
1639
1640 * Testing/LoadMe.m (afterLoad): Use description, not name.
1641 * Testing/nsfilemanager.m: Print some output. Clean up.
1642 * Testing/scanner.m, nstimezone.m, release.m: Idem.
1643
1644 * config/config.vsprintf, config/config.vasprintf: Rewrite to
1645 properly call a variable argument function.
1646
1647 2003-03-14 Adam Fedor <fedor@Eldorado.local.>
1648
1649 * Testing/nsarray.m (compare): Un-nest function.
1650
1651 * Source/NSProcessInfo.m (-operatingSystem): Add darwin.
1652
1653 2003-03-13 Richard Frith-Macdonald <rfm@gnu.org>
1654
1655 * Source/NSFileManager.m: ([-isDeletableFileAtPath:]) Fix for the
1656 case where the path is a file in the current directory.
1657
1658 2003-03-11 Adam Fedor <fedor@gnu.org>
1659
1660 * configure.ac: Fix some typos (Reported by
1661 Alexander Malmberg <alexander@malmberg.org>).
1662
1663 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
1664
1665 * Headers/gnustep/base/NSSet.h: Added a few non-openstep declarations
1666 * Source/GSCompatibility.m: OAppend() sort dictionary keys even if
1667 locale is nil.
1668
1669 2003-03-06 Richard Frith-Macdonald <rfm@gnu.org>
1670
1671 * Source/NSData.m: Fix reference to zone of deallocated object.
1672 Bug reported by Roland Schwingel
1673 * Source/NSFileManager.m: Fix typo (using logical or rather than
1674 bitwise or) in call to access()
1675 Bug reported by Roland Schwingel
1676
1677 2003-02-17 <woudshoo@agilisys.com>
1678
1679 * GNUmakefile (GNUSTEP_TARGET_INSTALL_PREFIX)
1680 (GNUSTEP_TARGET_LOCAL_ROOT, GNUSTEP_TARGET_NETWORK_ROOT): On
1681 mingw32 replace / with \\057 to avoid the msys shell translating /
1682 with \.
1683
1684 2003-03-04 Richard Frith-Macdonald <rfm@gnu.org>
1685
1686 * config/config.vasprintf.c:
1687 * config/config.vsprintf.c: Correct the number of arguments passed
1688 so that modern compilers don't fail on these files. A compiler
1689 failure is seen by configure as the same as a runtime failure, and
1690 configure would infer incorrect runtime behavior!
1691
1692 2003-03-01 Richard Frith-Macdonald <rfm@gnu.org>
1693
1694 * Source/NSSerializer.m: Fix crash when deserializing a corrupt or
1695 truncated archive ... raise exception rather than segfaulting.
1696 Added code to recognize newer versions of the serialiser format and
1697 give up if they are encountered and cannot be handled.
1698 * Source/GSTcpPort.m: Added code to recognise newer versions of the
1699 port format and give up if they are encountered and cannot be handled.
1700 This allows for the addition of decent versioning in later formats.
1701
1702 2003-02-28 Richard Frith-Macdonald <rfm@gnu.org>
1703
1704 * Tools/AGSParser.m: Fix to understand __attribute__() in declaration.
1705
1706 2003-02-27 Richard Frith-Macdonald <rfm@gnu.org>
1707
1708 * Tools/AGSIndex.m: Convert nil content to empty strings before use.
1709 * Tools/AGSHtml.m: ditto ... prevent some crashes.
1710
1711 2003-02-24 Richard Frith-Macdonald <rfm@gnu.org>
1712
1713 * Source/NSProcessInfo.m (_gnu_process_args): Tidied patch and add
1714 code to print error and abort if argv is null under unixy systems.
1715
1716 2003-02-24 Tom Koelman <tkoelman@xs4all.nl>
1717
1718 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1719 on MingW) set executable name using module name info.
1720
1721 2003-02-23 Richard Frith-Macdonald <rfm@gnu.org>
1722
1723 * Source/NSUser.m: Don't prepend HOMEDRIVE to HOMEPATH if HOMEPATH
1724 already contains a drive letter.
1725
1726 2003-02-22 Richard Frith-Macdonald <rfm@gnu.org>
1727
1728 * Source/Additions/GSObjCRuntime.m: GSObjCSetValue() correct to call
1729 ([unableToSetNilForKey:]) when it should.
1730 * Source/NSDecimalNumber.m: Override initialisers from NSNumber to
1731 create NSDecimalNumber objects ... bug report by David Ayers.
1732
1733 2003-02-21 Richard Frith-Macdonald <rfm@gnu.org>
1734
1735 * Source/NSDistributedNotificationCenter.m: ([_connect]) make the
1736 connection to the server usable from any thread.
1737
1738 2003-02-19 Adam Fedor <fedor@gnu.org>
1739
1740 * Source/NSKeyValueCoding.m ([NSObject -handleQueryWithUnboundKey:]):
1741 Raise NSUnknownKeyException.
1742 ([NSObject -handleTakeValue:forUnboundKey:]): Idem.
1743
1744 2003-02-18 Adam Fedor <fedor@gnu.org>
1745
1746 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Cast
1747 invocation to access ivars correctly. Check validReturn.
1748
1749 2003-02-18 Tom Koelman <tkoelman@xs4all.nl>
1750
1751 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1752 on MingW) set executable name to empty string.
1753
1754 2003-02-17 Richard Frith-Macdonald <rfm@gnu.org>
1755
1756 * Source/GSString.m: (fillHole) fix memory overrun (read only) and
1757 argument order errors (in code not normally compiled) spotted by
1758 Manuel Guesdon.
1759
1760
1761 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1762
1763 * Start merged of changes from 1.6.0 branch.
1764
1765
1766 2003-03-20 Richard Frith-Macdonald <rfm@gnu.org>
1767
1768 * Source/GSMime.m: (_unfoldHeader) Check that input pointer doesn't
1769 run past end of data.
1770
1771 2003-03-05 15:50 Alexander Malmberg <alexander@malmberg.org>
1772
1773 * Source/NSBundle.m (+initialize) [PROCFS_EXE_LINK]: Make sure that
1774 the link is a path before using it.
1775
1776 2003-03-03 Richard Frith-Macdonald <rfm@gnu.org>
1777
1778 * Headers/gnustep/base/objc-gnu2next.h: Added some trivial reverse
1779 mappings to use gnu runtime from old next code.
1780
1781 2003-03-02 Richard Frith-Macdonald <rfm@gnu.org>
1782
1783 * Headers/gnustep/base/GSObjCRuntime.h:
1784 * Source/GSFFIInvocation.m:
1785 * Source/GSString.m:
1786 * Source/NSInvocation.m:
1787 * Source/NSObject.m:
1788 * Source/NSPortCoder.m:
1789 * Source/NSUnarchiver.m:
1790 * Source/Additions/GSObjCRuntime.m:
1791 * Source/Additions/Unicode.m:
1792 Rename _fastMallocBuffer() to GSAutoreleasedBuffer() for clarity
1793 and consistency. Moved implementation from NSObject.m to
1794 GSObjCRuntime.m so this is available for use withing the Additions
1795 library when built standalone.
1796 Add a couple of trivial functions to list ivars and methods.
1797
1798 2003-02-19 Mirko Viviani <mirko.viviani@rccr.cremona.it>
1799
1800 * Headers/gnustep/base/NSArray.h: fixed declarations.
1801
1802 2003-02-19 David Ayers <d.ayers@inode.at>
1803
1804 * Source/NSArray.m (compare()),
1805 ([-sortedArrayUsingFunction:context:]),
1806 ([-sortedArrayUsingFunction:context:hint:]),
1807 ([-sortUsingFunction:context:]): Changed declarations
1808 and implementation to account for 64 bit architectures.
1809 * Headers/gnustep/base/NSArray.h: Ditto.
1810 * Source/NSKeyValueCoding.m ([-takeStoredValuesFromDictionary:]):
1811 Implemented.
1812 * Headers/gnustep/base/NSKeyValueCoding.h: Ditto.
1813
1814 2003-02-18 Richard Frith-Macdonald <rfm@gnu.org>
1815
1816 * NSObject.m: ([+instancesRespondToSelector:]),([-respondsToSelector])
1817 Return NO when given a null selector unless in MacOS-X compatibility
1818 mode. rewritten from patch by Willem Rein Oudshoorn.
1819
1820 2003-02-16 Adam Fedor <fedor@gnu.org>
1821
1822 * Version 1.5.2
1823 * Documentation: Update.
1824
1825 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Autorelease
1826 and invalidate the return value object before returning.
1827
1828 2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
1829
1830 * Source/GSDictionary.m: ([-isEqualToDictionary:]) implement optimised
1831 version which does not need to create a key enumerator.
1832 * Source/GSArray.m: ditto
1833 * Source/GSSet.m: similar minor optimisations.
1834
1835 2003-02-15 15:53 Alexander Malmberg <alexander@malmberg.org>
1836
1837 * Source/NSRunLoop.m (-performSelector:target:argument:order:modes:):
1838 Order the performers correctly (lower order values first). Correct
1839 the documentation.
1840
1841 2003-02-13 Richard Frith-Macdonald <rfm@gnu.org>
1842
1843 * Source/NSTimeZone.m: Fix memory leak when making absolute
1844 timezone for offset 0.
1845
1846 2003-02-11 Tom Koelman <tkoelman@xs4all.nl>
1847
1848 * Source/NSTask.m: Make arguments into windows quoted strings for
1849 mingw. Adjustments to conform to GNUstep style and use static
1850 functions to avoid adding methods by RFM.
1851
1852 2003-02-11 Adam Fedor <fedor@gnu.org>
1853
1854 * configure (LDFLAGS): Remove extra spaces that cause problems
1855 on Darwin/gcc
1856
1857 i2003-02-11 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1858
1859 * Headers/Foundation/NSFileManager.h: Added a little bit to the
1860 * documentation of the NSFileManagerHandler protocol.
1861 (some documentation markup fixes by RFM also)
1862 * Source/NSFileManager.m ([NSFileManager -copyPath:toPath:handler:]):
1863 use new private methods to cope with handlers that do not implement
1864 the informal protocol. Pass more information to the handler in case
1865 of an error.
1866 ([NSFileManager -removeFileAtPath:handler:]): see above
1867 ([NSFileManager -movePath:toPath:handler:]): see above
1868 ([NSFileManager -_copyPath:toPath:handler:]): see above
1869 ([NSFileManager -_copyFile:toFile:handler:]): see above, also fixed
1870 leaking of file descriptors in case of error without a handler.
1871 ([NSFileManager -_sendToHandler:handlerwillProcessPath:path]):
1872 new method
1873 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1874 errorinPath:path]): new method
1875 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1876 errorinPath:pathfromPath:fromPathtoPath:toPath]): new method
1877
1878 2003-02-11 Richard Frith-Macdonald <rfm@gnu.org>
1879
1880 * Source/NSFileManager.m: ([+attributesAt:traverseLink:]) check for
1881 null pointer and return nil. Crash reported by Tom Koelman.
1882
1883 2003-02-10 13:56 Alexander Malmberg <alexander@malmberg.org>
1884
1885 * Source/NSRunLoop.m [HAVE_POLL] (-pollUntil:within:): Set fdEnd
1886 to pollfds_count instead of setting it separately (which was being
1887 done incorrectly).
1888
1889 2003-02-07 19:21 Alexander Malmberg <alexander@malmberg.org>
1890
1891 * Source/GSAttributedString (-setAttributes:range:): Fix memory
1892 leak.
1893
1894 2003-02-06 Richard Frith-Macdonald <rfm@gnu.org>
1895
1896 * Sourcewin32-def.top: Remove recently added external functions.
1897 * Source/libgnustep-base.def.in: Regenerated to just contain
1898 public classes. The manual hacks are no longer needed as the
1899 make system now handles inclusion of symbols from subprojects
1900 in dlls.
1901
1902 2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
1903
1904 * Sourcewin32-def.top: Manually added external functions.
1905 * Source/libgnustep-base.def.in: Regenerated to combine external
1906 functions and all public classes.
1907 * Source/NSConnection.m: ([-init]) creates a connection usable as
1908 a server.
1909
1910 2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
1911
1912 * Source/NSBundle.m: Implement new MacOS-X isLoaded method.
1913 * Headers/gnustep/base/NSBundle.h: ditto
1914
1915 2003-02-04 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1916
1917 * Headers/gnustep/base/GSInvocation.h (CLEAR_RETURN_VALUE_IF_OBJECT):
1918 * New macro, if invocation returns object release it.
1919 (RETAIN_RETURN_VALUE): New macro, if invocation returns object
1920 release it.
1921 * Source/NSInvocation.m ([NSInvocation -dealloc]): Implement RELEASE
1922 * return object
1923 ([NSInvocation -setReturnValue:]) Implement RETAIN/RELEASE on return
1924 object ([NSInvocation -invokeWithTarget:]): Implement RETAIN/RELEASE
1925 on return object,
1926 fixed _validReturn flag setting
1927 * Source/GSFFIInvocation.m ([GSFFIInvocation -invokeWithTarget:]):
1928 Fix _validReturn flag setting, Implement RETAIN/RELEASE on return
1929 object.
1930 * Source/GSFFCallInvocation.m ([GSFFCallInvocation
1931 * -invokeWithTarget:]):
1932 Fix _validReturn flag setting. Implement RETAIN/RELEASE on return
1933 object.
1934
1935 2003-02-04 Adam Fedor <fedor@Eldorado.local.>
1936
1937 * Headers/gnustep/base/.cvsignore: Don't include config.h.in
1938 * Documentation/.cvsignore: Don't include *texi
1939 * Source/Additions/GSXML.h: Fix up GSXLM.h include on MacOSX
1940
1941 2003-02-02 Stephane Corthesy <stephane@sente.ch>
1942 Adam Fedor <fedor@gnu.org>
1943
1944 * Headers/gnustep/base/GSObjCRuntime.h (GS_STATIC_INLINE): Rename
1945 from FOUNDATION_STATIC_INLINE
1946 * Headers/gnustep/base/GCObject.h, GSXML.h: include
1947 Foundation/Foundation.h on MacOSX.
1948 * Source/Additions/GCArray.m, GCDictionary.m, GCObject.m: Idem.
1949 * Source/Additions/GSCompatibility.[hm]: Change category names to
1950 GSCompatibility.
1951 * Source/Additions/GSNextRuntime.m (ROUND): Expand inline due to
1952 gcc 3.1 compile problems.
1953 * Source/Additions/Unicode.m: Don't define GetEncodingName on MacOSX
1954 Added #ifdef HAVE_ICONV around definition of iconv_stringforencoding().
1955
1956 2003-02-01 Richard Frith-Macdonald <rfm@gnu.org>
1957
1958 * Source/Additions/Unicode.m: Fix error in check for legality of
1959 three-byte utf-8 sequences.
1960
1961 2003-01-31 Richard Frith-Macdonald <rfm@gnu.org>
1962
1963 * Source/NSRunLoop.m: Fix memory leak with timed performs.
1964
1965 2003-01-31 Stephane Corthesy <stephane@sente.ch>
1966 Adam Fedor <fedor@gnu.org>
1967
1968 * Headers/gnustep/base/GSCategories.h: Moved
1969 NSString(GSCategories), NSMutableString(GSCategories), and copied
1970 NSObject(GSCategories) to here
1971 * Headers/gnustep/base/NSString.h, Headers/gnustep/base/NSObject:
1972 From here.
1973 * Headers/gnustep/base/GSMime.h: Include Foundation on MacOSX.
1974
1975 * Source/Additions/GSCategories.m: Fix includes.
1976 * Source/Additions/GSCompatibility.h: Defined DebugLog, WarnLog
1977 macros. Add Additional NSObject, NSInvocation, NSString and
1978 NSProcessInfo methods. Add NSStandardLibraryPaths.
1979 * Source/Additions/GSCompatibility.m: Idem.
1980
1981 2003-01-30 Richard Frith-Macdonald <rfm@gnu.org>
1982
1983 * Source/libgnustep-base.def.in: Regenerated
1984
1985 2003-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1986
1987 * Source/Additions/Unicode.m: Fixed bug in utf-8 output for three
1988 byte sequences.
1989 * Tools/AGSOutput.m: Fix loss of trailing info after a closing
1990 square bracket round a class name.
1991 * Source/Additions/GCArray.m: make mutable copy shallow for
1992 consistency with other arrays.
1993
1994 2003-01-26 Richard Frith-Macdonald <rfm@gnu.org>
1995
1996 * Source/NSString.m: Added new MacOS-X method ...
1997 ([MSMutableString-replaceOccurrencesOfString:withString:options:range:])
1998 * Source/Headers/gnustep/base/NSString.h: ditto
1999 * Source/Additions/GSCategories.m: Added
2000 ([NSData-initWithHexadecimalRepresentation:])
2001 * Source/Headers/gnustep/base/GSCategories.h: ditto
2002
2003 2003-01-26 Adam Fedor <fedor@gnu.org>
2004
2005 * Compiling gdl2 on MacOSX.
2006 * Headers/gnustep/base/NSObject.h (-notImplemented:,
2007 -subclassResponsibility:, -shouldNotImplement:, -compare:): Move
2008 to GSCategories category.
2009 * Headers/gnustep/base/NSString.h (-stringByDeletingPrefix:,
2010 -stringByDeletingSuffix:, -deleteSuffix:, -deletePrefix:): Idem.
2011 * Source/NSObject: Move methods to Additions/GSCategories.m
2012 * Source/NSString: Idem.
2013
2014 * Source/Additions/GSCompatibility.h (GetEncodingName): Add.
2015 * Source/Additions/GSCompatibility.m (GetEncodingName): Cocoa
2016 implementation.
2017
2018 2003-01-24 Richard Frith-Macdonald <rfm@gnu.org>
2019
2020 * Source/Additions/GSCategories.m: Changed name of md5 digest method
2021 and added -hexadecimalRepresentation.
2022 * Source/Additions/GSMime.m: Update for md5 change.
2023 * Documentation/GNUmakefile: Fixed error in installation location.
2024 * Documentation/Makefile.postamble: Fixed to install BaseAdditions
2025 documentation.
2026 * Source/md5.c: Tidy up ... removed ... no longer used
2027 * Source/md5.h: ditto
2028 * Source/numbers.c: ditto
2029 * Headers/gnustep/base/numbers.h: ditto
2030
2031 2003-01-23 Richard Frith-Macdonald <rfm@gnu.org>
2032
2033 * Documentation/Base.gsdoc: Refer to additions.
2034 * Documentation/BaseAdditions.gsdoc: New intorduction for additions
2035 * Headers/gnustep/base/GSCategories.h: Added MD5Digest NSData method
2036 * Source/DocMakefile: Build additions documentation separately
2037 * Source/Additions/GSCategories.m: Added MD5Digest NSData method
2038 * Source/Additions/GSMime.m: Use MD5Digest NSData method.
2039
2040 2003-01-22 Richard Frith-Macdonald <rfm@gnu.org>
2041
2042 * Source/Additions/GSMime.m: ifdefed out my last change ...not sure
2043 it was good.
2044 * Source/GSFileHandle.m: Removed bogus semicolon which was causing
2045 code to be executed repeatedly rather than just once ... trivial
2046 optimisation.
2047
2048 2003-01-21 Adam Fedor <fedor@gnu.org>
2049
2050 * Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m,
2051 GSCategories.m): Include config.h
2052 * Source/Additions/GSMime.m: Add extra arg to some NSDebugMLog to
2053 get it to compile right on OSX.
2054
2055 2003-01-20 Richard Frith-Macdonald <rfm@gnu.org>
2056
2057 * Headers/gnustep/unicode/latin9.h: Latin9 string encoding tables
2058 * Source/Additions/Unicode.m: Added built-in support for the Latin9
2059 character encoding ... contains the Euro symbol ... nice for
2060 european users.
2061 * Source/NSArray.m: Make abstract copying implementation like that
2062 of latest MacOS-X rather than OPENSTEP ... no relationship between
2063 mutability and depth.
2064 * Source/NSDictionary.m: ditto
2065 * Source/NSSet.m: ditto
2066 * Source/GSArray.m: Implement optimised copies ... copying an immutable
2067 object just retains it, and copying a mutable object is shallow.
2068 * Source/GSDictionary.m: ditto
2069 * Source/GSSet.m: ditto
2070
2071 2003-01-16 Richard Frith-Macdonald <rfm@gnu.org>
2072
2073 * Source/NSURL.m: Support MacOS-X style initialisation using a path
2074 with a leading slash.
2075
2076 2003-01-09 Richard Frith-Macdonald <rfm@gnu.org>
2077
2078 * Source/Additions/GSCategories.m: Additional ([weekOfYear]) method
2079 for NSCalendarDate.
2080 * Headers/gnustep/base/GSCategories.h: ditto
2081
2082 2003-01-07 Richard Frith-Macdonald <rfm@gnu.org>
2083
2084 * Source/NSLock.m:
2085 * Source/NSPage.m:
2086 Mingw fixes ... problems reported by Fred.
2087
2088 2003-01-04 Richard Frith-Macdonald <rfm@gnu.org>
2089
2090 * Source/NSConcreteNumber.m: ([compare:]) explicitly cast to promote
2091 values to a type where comparisons can be done without loss of
2092 precision.
2093
2094 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2095
2096 * base.make.in:
2097 * configure:
2098 * configure.ac:
2099 * Headers/gnustep/base/GSIArray.h:
2100 * Headers/gnustep/base/GSIMap.h:
2101 * Headers/gnustep/base/NSGeometry.h:
2102 * Headers/gnustep/base/NSInvocation.h:
2103 * Source/GSArray.m:
2104 * Source/GSAttributedString.m:
2105 * Source/GSCompatibility.m:
2106 * Source/GSCountedSet.m:
2107 * Source/GSDictionary.m:
2108 * Source/GSFFCallInvocation.m:
2109 * Source/GSFTPURLHandle.m:
2110 * Source/GSFileHandle.m:
2111 * Source/GSFormat.m:
2112 * Source/GSString.m:
2113 * Source/GSTcpPort.m:
2114 * Source/GSTemplateValue.m:
2115 * Source/NSArray.m:
2116 * Source/NSAutoreleasePool.m:
2117 * Source/NSBundle.m:
2118 * Source/NSCalendarDate.m:
2119 * Source/NSConcreteNumber.m:
2120 * Source/NSCountedSet.m:
2121 * Source/NSData.m:
2122 * Source/NSDebug.m:
2123 * Source/NSInvocation.m:
2124 * Source/NSLog.m:
2125 * Source/NSMethodSignature.m:
2126 * Source/NSNotificationCenter.m:
2127 * Source/NSObject.m:
2128 * Source/NSPortCoder.m:
2129 * Source/NSRunLoop.m:
2130 * Source/NSScanner.m:
2131 * Source/NSSerializer.m:
2132 * Source/NSString.m:
2133 * Source/NSTimeZone.m:
2134 * Source/NSUnarchiver.m:
2135 * Source/mframe.m:
2136 * Source/Additions/GSMime.m:
2137 * Source/Additions/GSXML.m:
2138 * Tools/AGSOutput.m:
2139 * Tools/AGSParser.m:
2140 * Tools/defaults.m:
2141 * Tools/gdomap.c:
2142 * Tools/pl2link.m:
2143 * Tools/sfparse.m:
2144 * Tools/make_strings/StringsFile.m:
2145 Tweaks for warning free compilation with gcc-3.4 ... many comparisons
2146 os signed and un signed values avoided etc.
2147
2148 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2149
2150 * Tools/AGSHtml.m: Don't try to make a type reference to the
2151 superclass of NSObject.
2152
2153 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2154
2155 * Source/NSPage.m: Document all functions.
2156
2157 2002-12-31 Kelvin <kelvin@xbar.org>
2158
2159 * Source/NSPage.m (NSRealMemoryAvailable): Add support for MINGW
2160 and BeOS.
2161
2162 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2163
2164 * Source/GSEQ.h: Optimisations for normalising sequences, especially
2165 where they contain latin1 characters.
2166 * Source/Additions/GCDictionary.m: Update map tables for macosx
2167 * Source/NSMapTable.m: Update for macosx compatibility, add some
2168 documentation and move stuff from externs.m
2169 * Source/NSHashTable.m: Update for macosx compatibility, add some
2170 documentation and move stuff from externs.m
2171 * Source/externs.m: Remove map and hash table stuff
2172 * Source/NSException.m: Fix documentation cross ref error.
2173 * Source/NSAssertion.m: Improve documentation.
2174 * Headers/gnustep/base/NSException.h: Include assertion documentation.
2175 * Headers/gnustep/base/NSMapTable.h: Update for macosx compatibility.
2176 * Headers/gnustep/base/NSHashTable.h: Ditto
2177 * Tools/AGSHtml.m: Fix typo ... excess semicolon in constant output.
2178 * Tools/AGSParser.m: Fix error failing to find comment for constants.
2179 * Source/NSObjCRuntime.m: Document functions.
2180
2181 2002-12-30 Adam Fedor <fedor@gnu.org>
2182
2183 * SSL/GNUmakefile: Don't compile if base=no
2184
2185 * Tools/AGSIndex.h: Include gnustep/base/GSXML.h.
2186 * Tools/AGSHtml.m: Include GNUstep.h
2187 * Tools/AGSInde.m, Tools/AGSOutput.m, Tools/AGSParser.m,
2188 Tools/HTMLLinker.m: Idem.
2189 * Tools/GNUmakegile: Only compile autogsdoc when add=yes
2190 * Tools/Makefile.preamble: Include -lgnustep-baseadd when add=yes
2191
2192 Mon Dec 30 18:19:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
2193
2194 * configure.ac: Recognize apple OBJC_RUNTIME_LIB.
2195 * configure: Regenerated.
2196 * Makefile.postamble: Updated check for gnu FOUNDATION_LIB.
2197 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2198 Do not add -framework Foundation on Apple, it's added automatically
2199 by gnustep-make.
2200 * Source/GNUmakefile: Updated check for OBJC_RUNTIME_LIB.
2201 * Source/Additions/GNUmakefile: Updated checks for
2202 OBJC_RUNTIME_LIB and FOUNDATION_LIB.
2203
2204 2002-12-28 Kelvin <kelvin@xbar.org>
2205
2206 * Source/NSPage.m: Add BeOS support.
2207 * Source/NSProcessInfo.m ([NSProcessInfo -operatingSystem]): Idem
2208 (Also added solaris (fedor@gnu.org)).
2209
2210 2002-12-24 Richard Frith-Macdonald <rfm@gnu.org>
2211
2212 * Source/Additions/Unicode.m: Tidied and optimised binary searches.
2213
2214 2002-12-19 Richard Frith-Macdonald <rfm@gnu.org>
2215
2216 * Tools/AGSParser.m: Fix bug handling repeated opeing braces.
2217
2218 2002-12-17 Richard Frith-Macdonald <rfm@gnu.org>
2219
2220 * Tools/AGSIndex.m: Fix error indexing vararg methods.
2221 * Source/Additions/Unicode.m: Added home-brewed support for UTF8 to
2222 avoid use of iconv where not necessary.q Hope the code is OK :-)
2223
2224 2002-12-12 Richard Frith-Macdonald <rfm@gnu.org>
2225
2226 * Headers/gnustep/base/NSDistributedNotificationCenter.h: add type
2227 for LAN-wide notifications. Add ivar to support this.
2228 * Source/NSDistributedNotificationCenter.m: Implement support for
2229 a LAN-wide notification center. Fully document class.
2230 * Tools/gdnc.m: Add new GSNetwork flag to operate as LAN-wide
2231 notification center.
2232 * Tools/AGSHtml.m: Don't output contents section if there is
2233 nothing to show (ie must have at least two sections to index).
2234 * Source/NSConnection.m: Add locks to protect proxy cache in timeout.
2235
2236 2002-12-10 Adam Fedor <fedor@gnu.org>
2237
2238 * configure.ac: Enable libffi on darwin by default.
2239
2240 2002-12-10 Richard Frith-Macdonald <rfm@gnu.org>
2241
2242 * Source/NSArray.m: ([removeObjectsFromIndices:numIndices:])
2243 bugfix for sorting by Kelvin Sherlock.
2244 * Source/NSConnection.m: Experimental code to keep local objects
2245 retained long enough to deal with most cases where the remote
2246 process may want them again.
2247 * Source/NSHost.m: Don't cache local host name ... it may change
2248 due to use of DHCP etc.
2249
2250 2002-12-08 Richard Frith-Macdonald <rfm@gnu.org>
2251
2252 * Source/NSThread.m: Fix race condition firing perform holder.
2253 Fix supplied by Philip Derrin.
2254
2255 2002-12-05 Richard Frith-Macdonald <rfm@gnu.org>
2256
2257 * Source/NSUserDefaults.m: Fix uninitialised local variable 'locale'
2258 which was causing a crash ... not 100% sure my fix is making the code
2259 work as intended. Could Adam please check it?
2260
2261 2002-12-04 Adam Fedor <fedor@gnu.org>
2262
2263 * Headers/gnustep/base/GSLocale.h: Add category arg to
2264 SetLocale functions.
2265 * Source/GSLocale.m (GSSetLocaleC, GSSetLocale): Update for change.
2266 * Source/NSObject.m (+initialize): Idem.
2267 * Source/NSUserDefaults.m ([NSUserDefaults +standardUserDefaults]):
2268 Idem.
2269
2270 2002-12-04 Richard Frith-Macdonald <rfm@gnu.org>
2271
2272 * Source/NSSerializer.m: bugfix deserialisation ... was trying to
2273 read size of date/number when these values were not being serialized.
2274
2275 2002-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2276
2277 * Source/NSBundle.m ([NSBundle +initialize]): check for linked
2278 framework in two passes, first collect all the framework classes, then
2279 add it. The previous routine failed to add all the frameworks.
2280
2281 2002-12-02 Adam Fedor <fedor@gnu.org>
2282
2283 * Port baseadd to MacOSX.
2284 * Makefile.postamble (header-links): Don't link gnustep/gui to
2285 Foundation for FOUNDATION_LIB=nx
2286 * Headers/gnustep/base/NSObjCRuntime.h (FOUNDATION_EXPORT): Define
2287 only if not defined already.
2288 * Headers/gnustep/base/objc-gnu2next.h: Define _CLS_META, _CLS_CLASS
2289 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2290 Depend on framework Foudation if FOUNDATION_LIB=nx
2291 * Source/objc-gnu2next.m: Move most functions...
2292 * Source/Additions/GSNextRuntime.m: ...to here.
2293 * Source/Additions/GSCompatibility.[hm]: New files.
2294 * Source/Additions/GCDictionary.m: Include it.
2295 * Source/Additions/GSMime.m: Idem.
2296 * Source/Additions/GSXML.m: Idem.
2297 * Source/Additions/GCObject.m: Idem. Null out mutex code
2298 on NeXT_RUNTIME (Need a better fix).
2299 * Source/Additions/GNUmakefile: Don't compile Unicode.m
2300 on FOUNDATION_LIB=nx (not ported yet).
2301 * Source/Additions/GSObjCRuntime.m (GSObjCAddClasses): Version
2302 for NeXT_RUNTIME.
2303 (GSObjCAddClassBehavior): Fixes for NeXT_RUNTIME.
2304 * Source/Additions/behavior.m (behavior_class_add_class): Idem.
2305
2306 2002-12-02 Jonathan Gapen <jagapen@wisc.edu>
2307
2308 * Headers/gnustep/base/NSPort.h: Add NSSocketPort interface.
2309 * Source/NSSocketPort.m: New file. New MacOS X class partially
2310 implemented; serves as BSD socket wrapper.
2311
2312 2002-12-02 Adam Fedor <fedor@gnu.org>
2313
2314 * base.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=no.
2315 * config.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=yes.
2316 * Source/Makefile.preamble (libgnustep-base_LIBRARIES_DEPEND_UPON):
2317 Depend on $(CONFIG_SYSTEM_LIBS) if shared=yes.
2318
2319 2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
2320
2321 * Tools/plparse.m: Stefan Urbaneks patch to return 1 on failure.
2322 * Tools/sfparse.m: Similar code for this tool.
2323 * Source/Additions/GSObjCRuntime.m: Tidied function names
2324 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2325 * Source/NSKeyValueCoding.m: Use new function names.
2326
2327 2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
2328
2329 * Tools/AGSParser.m: Fix so we document static declarations made in
2330 headers and only ignore them in implementation.
2331 * Tools/AGSOutput.m: Bugfix to output ivar type information.
2332 * Tools/AGSHtml.m: Reduce space around examples.
2333 Bugs reported by Chris B. Vetter
2334 * Source/Additions/GSObjCRuntime.m: Tidied function name conventions.
2335 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2336 * Source/NSKeyValueCoding.m: Use new function names.
2337 * Source/mframe.m: When scanning arguments, skip type information
2338 for things poionted to by a pointer - more efficient than scanning
2339 the fine structure and then throwing away the scanned information.
2340 * Source/additions/GSMime.m: Fill in 'type' field in multipart/related
2341 and fix bug in seaarch by content id. Also minor consistency change
2342 to API.
2343
2344 2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
2345
2346 * Source/Additions/GSObjCRuntime.m: fixed type call typo
2347 in GSFindInstanceVariable
2348
2349 2002-11-27 Adam Fedor <fedor@gnu.org>
2350
2351 * configure.ac (INCLUDE_FLAGS): New for holding flags needed for
2352 compiling base.
2353 * config.make.in (CONFIG_SYSTEM_INCL): Use it.
2354 * base.make (CONFIG_SYSTEM_INCL): Remove CPPFLAGS
2355 (CONFIG_SYSTEM_DEFS): Remove.
2356 * Source/Additions/GNUmakefile: include config.mak
2357
2358 2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
2359
2360 * Source/Additions/GSObjCRuntime.m: New file with GNUstep extensions
2361 from NSObjCRuntime, plus renamed behavior functions, plus a few other
2362 runtime manipulation functions. EXPERIMENTAL
2363 * Headers/gnustep/base/GSObjCRuntime.h: declarations for above.
2364 * Source/GSCompatibility.m: Don't use new format plists when writing
2365 descriptions.
2366 Also, honor NSWriteOldStylePropertyLists user default to write old
2367 style property-lists rather than new style or xml style.
2368 * Source/NSUser.m: Use USERPROFILE for default home directory on
2369 windoze.
2370 * Source/NSArray.m: Write non-xml property lists as ascii.
2371 * Source/NSDictionary.m: Write non-xml property lists as ascii.
2372 * Source/mframe.m: use objc_alignof_type() as suggested by Roland
2373 Schwingel. Long ago the objc runtime version was buggy so mframe
2374 implemented its own algorithm. Now the objc runtime one is better.
2375
2376 2002-11-26 Richard Frith-Macdonald <rfm@gnu.org>
2377
2378 * Source/Additions/GCObject.m: Attempt to make garbage collecting
2379 thread-safe.
2380 * Source/Additions/GCArray.m: Fix count initialising mutable array.
2381 * Source/Additions/GSMime.m: Provide a method to generate and return
2382 a string suitable for use as a boundary. Make tolerant of multipart
2383 messages with 'application' as the message type.
2384 Added ([-setBuggyQuotes:]) method for parsing stuff produced by
2385 microsoft ;-(
2386
2387 2002-11-25 Richard Frith-Macdonald <rfm@gnu.org>
2388
2389 * Source/NSUserDefaults.m: Treat '-' on its own as an argument
2390 rather than the start of a flag name.
2391 * Source/Additions/GSMime.m: Place angle brackets around generated
2392 content ID. Add method to generate message ID. Tidy comments a
2393 little.
2394
2395 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2396
2397 * Source/libgnustep-base.def: Add garbage collecting classes.
2398
2399 2002-11-20 Adam Fedor <fedor@gnu.org>
2400
2401 * Source/NSBundle.m (+preferredLocalizationsFromArray:forPreferences:):
2402 Check for array with no objects.
2403 ([NSBundle -localizedInfoDictionary]): Idem.
2404
2405 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2406
2407 * Source/Additions/Unicode.m: Work around bug in the redhat 8 iconv
2408 library ... was sucessfully opening the encoding "" when it shouldn't.
2409
2410 2002-11-19 Adam Fedor <fedor@gnu.org>
2411
2412 * Version: 1.5.1
2413 * Documentation/news.texi: Updated.
2414
2415 2002-11-19 Adam Fedor <fedor@gnu.org>
2416
2417 * Headers/gnustep/base/NSBundle.h: More documentation. Add missing
2418 MacOSX methods.
2419 * Source/NSBundle.m (-executablePath): New
2420 (-load): Use it.
2421 (+pathsForResourcesOfType:inDirectory:): New stub.
2422 (-pathsForResourcesOfType:inDirectory:forLocalization:): Idem.
2423 (-pathForResource:ofType:inDirectory:forLocalization:): Idem.
2424 (+preferredLocalizationsFromArray:): New method.
2425 (+preferredLocalizationsFromArray:forPreferences:): Idem.
2426 (-localizedInfoDictionary): Idem.
2427 (-localizations): Idem.
2428 (-preferredLocalizations): Idem.
2429
2430 * Source/cifframe.m (cifframe_from_info): Fix so that stucture
2431 returns get space allocated.
2432
2433 2002-11-19 Richard Frith-Macdonald <rfm@gnu.org>
2434
2435 * Source/behavior.m: Moved to Source/Additions/behavior.m
2436 * Source/Unicode.m: Moved to Source/Additions/Unicode.m
2437 * Source/Additions/GCObject.m: new experimental GC class.
2438 * Source/Additions/GCArray.m: ditto
2439 * Source/Additions/GCDictionary.m: ditto
2440 * Headers/gnustep/base/GCObject.h: Garbage collection classes intended
2441 for use by gdl2 and gsweb.
2442
2443 2002-11-18 Richard Frith-Macdonald <rfm@gnu.org>
2444
2445 * Source/GSCompatibility.m: Fix for case where a non property list
2446 object is found when outputting a description.
2447
2448 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2449
2450 * Source/NSUserDefaults.m: Fix for getting integer, float and bool
2451 values when they are stored as NSNumbers (problem reported by
2452 Ludovic Marcotte). Also optimise a little.
2453
2454 2002-11-15 Richard Frith-Macdonald <rfm@gnu.org>
2455
2456 * Source/NSThread.m: Port pipe to mingw.
2457 * Tools/gdomap.c: Fix for modern mingw interface lookup.
2458 Patch by Tom Koelman
2459
2460 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2461
2462 * Source/NSUserDefaults.m: Try again ... get
2463 ([-setVolatileDomain:forName:]) and ([-setPersistentDomain:forName:])
2464 to conform to both the OpenStep standard and the current MacOS-X
2465 documentation.
2466
2467 2002-11-11 Richard Frith-Macdonald <rfm@gnu.org>
2468
2469 * Source/NSString.m: adocument property list stuff.
2470 * Source/NSUserDefaults.m: set integers, floats and bools as NSNumber
2471 Bugfix ([-setVolatileDomain:forName:]) was checking wrong list of
2472 domains. Tidied.
2473
2474 2002-11-10 Richard Frith-Macdonald <rfm@gnu.org>
2475
2476 * Headers/gnustep/base/NSObject.h: Removed GNUstep plist extensions.
2477 * Source/NSObject.m: ditto.
2478 * Source/GSCompatibility.m: Implement new plist generator.
2479 * Source/NSArray.m: Use new plist code
2480 * Source/NSData.m: ditto
2481 * Source/NSDictionary.m: ditto
2482 * Source/NSSerializer.m: handle NSNumber and NSDate
2483 * Source/NSString.m: ditto, plus implement extensions to old plist
2484 support so we can encode NSNumber and NSDate values.
2485 Remove GNUstep property list extensions from the api ... make more
2486 like MacOS and OpenStep spec by having a central mechanism for
2487 generating property lists rather than spreading the code across the
2488 plist classes.
2489 Also ... maintain allocation debug accounting when making objects
2490 immutable.
2491
2492 2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
2493
2494 * Source/NSObject.m: use NSString implementation of
2495 ([descriptionWithLocale:indent:to:])
2496 * Source/NSUserDefaults.m: ([setObject:forKey:]) validate and raise
2497 exceptions if given bad info.
2498
2499 2002-11-07 02:21 Alexander Malmberg <alexander@malmberg.org>
2500
2501 * Source/GSString.m: (-makeImmutableCopyOnFail:): Set isa to correct
2502 class.
2503
2504 2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
2505
2506 * Source/NSArray.m: Ensured some documentation in place for almost all
2507 methods.
2508 * Source/Additions/GSMime.m: Fix broken method reference.
2509 * Source/Additions/GSXML.m: ditto
2510 * Source/NSScanner.m: ditto
2511 * Source/NSUnarchiver.m: ditto
2512 * Tools/AGSIndex.m: Minor fix for superclass reference lookup.
2513 * Tools/AGSHtml.m: ditto
2514
2515 2002-11-03 Richard Frith-Macdonald <rfm@gnu.org>
2516
2517 * Source/NSRunLoop.m: Revert to remove unneeded notification setup.
2518 * Source/NSThread.m: Rewrite pierres changes, scrapping all
2519 conditionally compiled code that would never be used, rewriting
2520 unix specific stuff (so it might run under windoze ... not yet tested)
2521 removed unnecessary code and simplified, etc etc.
2522 Fixed bugs in usage of condition locks so it actually works.
2523 * Testing/thread.m: New test to try out
2524 performSelectorOnMainThread:withObject:waitUntilDone:modes:
2525
2526 2002-11-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
2527
2528 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
2529 NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
2530 method existes.
2531 * Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
2532 class.
2533 ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
2534 lock, the socket and new run loop watcher that'll listen on the socket.
2535 [NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
2536 modified to use the previous changes.
2537
2538 2002-11-01 Richard Frith-Macdonald <rfm@gnu.org>
2539
2540 * Headers/gnustep/base/NSBundle.h: Tidied/corrected documentation
2541 markup.
2542 * Headers/gnustep/base/NSDate.h: Added NSTimeIntervalSince1970 and
2543 removed GSTimeNow() from public API.
2544 * Source/NSDate.m: Update to use NSTimeIntervalSince1970
2545 * Source/NSTimer.m: Declare GSTimeNow() locally
2546 * Source/NSprocessInfo.m: ditto
2547 * Source/Additions/GSMime.m: more tolerant parsing ... ignore excess
2548 data in multi-part document.
2549
2550 Thu Oct 31 00:46:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
2551
2552 * Headers/gnustep/base/NSBundle.h: Added more documentation.
2553
2554 Wed Oct 30 23:42:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2555
2556 * Source/NSBundle.m ([+_addFrameworkFromClass:]): New code
2557 locating linked frameworks magically - no matter where they are on
2558 disk - by using objc_get_symbol_path(). If that fails or is not
2559 available, fall back on the existing code. Fixed NSLog() message.
2560
2561 2002-10-30 Richard Frith-Macdonald <rfm@gnu.org>
2562
2563 * Source/NSThread.m: Implemented and documented new MacOS-X methods -
2564 ([-performSelectorOnMainThread:withObject:waitUntilDone:modes:])
2565 and ([-performSelectorOnMainThread:withObject:waitUntilDone:])
2566
2567 Wed Oct 30 03:14:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
2568
2569 * Headers/gnustep/base/objc-load.h: Added copyright notice.
2570 (objc_get_symbol_path): Declare to take a Category *, not a struct
2571 objc_category *, argument; documented.
2572 * Source/objc-load.m: Include config.h first. Define _GNU_SOURCE
2573 if HAVE_DLADDR is defined.
2574 (objc_get_symbol_path): Fixed crash with classes or categories
2575 with long names. Updated declaration.
2576 * config/objc-sys-dynamic.m4 (OBJC_SYS_DYNAMIC_LINKER): Print a
2577 message displaying the type of dynamic linker found. Add -ldl on
2578 the link line for linux-gnu and other systems, so that dladdr() is
2579 actually found. With the 'simple' linker, print a message saying
2580 if we found dladdr() or not.
2581 (OBJC_SYS_DYNAMIC): Historical unused macro removed.
2582 * configure: Regenerated.
2583
2584 2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
2585
2586 * Source/NSFileManager.m: include statvfs.h if available.
2587
2588 2002-10-26 Adam Fedor <fedor@gnu.org>
2589
2590 * Source/NSException.m: Document.
2591 * Source/NSFileHandle.m: Partial Documentation.
2592 * Source/NSObject.m: Fix typo in docs.
2593
2594 2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2595
2596 * Source/NSBundle.m ([NSBundle -load]): set _codeLoaded before loading
2597 the bundle.
2598
2599 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2600
2601 * Tools/AGSParser.m: Avoid duplication of method comments when
2602 parsing the same file as both header and source.
2603
2604 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2605
2606 * Tools/AGSOutput.m: ([-split:]) In links generated from class and
2607 method specifications in square brackets, place a space between the
2608 class and the method name.
2609 * Tools/gsdoc-1_0_0.dtd: Corrected minor entity errors.
2610
2611 2002-10-21 Adam Fedor <fedor@gnu.org>
2612
2613 * Headers/gnustep/unicode/thai.h: New file.
2614 * Headers/gnustep/base/NSString.h (_NSStringEncoding): Add
2615 NSISOThaiStringEncoding.
2616 * Source/NSString.m (-dataUsingEncoding:allowLossyConversion:):
2617 Handle it.
2618 * Source/Unicode.m (struct _strenc_ str_encoding_table[]): Idem.
2619 (GSEncodingForRegistry): Idem.
2620 (GSToUnicode, GSFromUnicode): Idem.
2621 (Patches, modified, from Banlu Kemiyatorn <id@project-ile.net>).
2622
2623 2002-10-21 Adam Fedor <fedor@gnu.org>
2624
2625 * Source/GSLocale.m (GSLanguageFromLocale): Implement regardless
2626 of HAVE_LOCALE_H.
2627
2628 * Source/Unicode.m (GSEncodingForRegistry): New (from
2629 [GSFontInfo +encodingForRegistry:encoding:]).
2630 (GSEncodingFromLocale): New.
2631 (GetDefEncoding): Rearrange encoding check.
2632 * Resources/Languages/Locale.encodings: New file.
2633
2634 2002-10-21 Adam Fedor <fedor@gnu.org>
2635
2636 * Documentation/coding-standards.texi: Update.
2637
2638 2002-10-14 Richard Frith-Macdonald <rfm@gnu.org>
2639
2640 Source/NSObject.m: Add ([-makeImmutableCopyOnFail:]) for use by methods
2641 wishing to return constant string/array/dictionary etc results after
2642 building them using mutable objects they created.
2643 Source/GSArray.m: Implement ([makeImmutableCopyOnFail:])
2644 Source/GSString.m: ditto
2645 Source/GSDictionary.m: ditto
2646 Source/GSSet.m: ditto
2647 Source/NSFileManager.m: Use it
2648
2649 2002-10-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2650
2651 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): remove
2652 the classes in the _loadingBundle that does not belong to it but with
2653 frameworks linked with it.
2654 ([NSBundle +bundleForClass:]): construct a list of NSFramework_*
2655 classes loaded with the bundle.
2656 ([NSBundle -load]): call _addFrameworkFromClass: for all linked
2657 frameworks with the bundle.
2658
2659 2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
2660
2661 * Tools/AGSHtml.m: Create automatic references to protocols in
2662 type specifications of the form (id<protocol1,protocol2,...>)
2663 * Tools/autogsdoc.m: Add -Files option to read names of files
2664 to process as a property list rather than using command line args.
2665 Add -Clean flag to remove generated output files and purge
2666 generated data from templates. Add -CleanTemplates to completely
2667 temove template files.
2668 * Tools/AGSParser.m: Warn about private methods and ivars.
2669
2670 2002-10-12 Richard Frith-Macdonald <rfm@gnu.org>
2671
2672 * Source/NSProcessInfo.m: Make safe to reinitialise with args.
2673 * Source/Additions/GSXML.m: Correct handling of atttribute values.
2674 * Tools/autogsdoc.m: Initialise NSProcessInfo explicitly.
2675
2676 2002-10-11 Richard Frith-Macdonald <rfm@gnu.org>
2677
2678 * Source/NSUserDefaults.m: ([-initWithContentsOfFile:]) check to see
2679 if the file is writable and the directory exists.
2680 If we can't operate properly, run in read-only ,mode where we try
2681 to read the file if possible, but never write defaults back.
2682
2683 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2684
2685 * Source/NSUserDefaults.m: ([-synchronize]) handle locking more
2686 carefully ... avoid cpu intensive busy loops and give up after
2687 a while.
2688
2689 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2690
2691 * Source/NSLog.m: Added GSPrintf()
2692 * Tools/defaults.m: Use GSPrintf()
2693 * Tools/pldes.m: ditto
2694 * Tools/plser.m: ditto
2695 * Tools/plmerge.m: ditto
2696 * Tools/plparse.m: ditto
2697 * Tools/sfparse.m: ditto
2698 * Documentation/Base.gsdoc: Bump gsdoc version to 1.0.0
2699 * Documentation/Functions.gsdoc: ditto
2700 * Documentation/TypesAndConstants.gsdoc: ditto
2701 * Source/NSLog.m: Fix typo in comment.
2702 * Tools/AGSOutput.m: Bump gsdoc version to 1.0.0
2703 * Tools/GNUmakefile: Add gsdoc 1.0.0 dtd
2704 * Tools/autogsdoc.m: Bump gsdoc version to 1.0.0
2705 * Tools/gsdoc-0_6_7.dtd: Revert to earlier version
2706 * Tools/gsdoc-1_0_0.dtd: New from latest update to 0.6.7
2707 I think the documentation dtd is pretty complete now.
2708
2709 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2710
2711 * Tools/GNUmakefile: revert ... can't build if base library isn't
2712 installed.
2713
2714 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2715
2716 * Source/NSLog.m: Lots of documentation added.
2717 * Tools/GNUmakefile: build autogsdoc documentation automatically
2718 if possible.
2719 * Tools/AGSOutput.m: Make automatic cross references for functions.
2720 * Source/Docmakefile: Use handcrafted template files. Document the
2721 path utilities file.
2722 * Documentation/Functions.gsdoc: Handcrafted template.
2723 * Documentation/TypesAndConstants.gsdoc: Handcrafted template.
2724
2725 2002-10-08 Richard Frith-Macdonald <rfm@gnu.org>
2726
2727 * Headers/Foundation/NSDebug.h: Make warn logs de-selectable at
2728 runtime by setting the NoWarn debug level. Document. Say that
2729 debug levels can be added by putting them in the GNU-Debug
2730 array in the defaults database.
2731 * Source/NSUserDefaults.m: Add contents of the GNU-Debug array to
2732 the set of active debug levels.
2733 * Tools/AGSParser.m: Updated with support for documenting macros.
2734 * Tools/AGSOutput.m: ditto
2735 * Tools/AGSHtml.m: ditto
2736
2737 2002-10-07 Richard Frith-Macdonald <rfm@gnu.org>
2738
2739 * Source/NSData.m: Update logging after checks for results of memory
2740 allocation.
2741 * Source/NSTimeZone.m: Don't abort on failure to allocate memory ...
2742 just print a log and continue returning a null pointer.
2743
2744 2002-10-06 Richard Frith-Macdonald <rfm@gnu.org>
2745
2746 * Source/NSData.m: readContentsOfFile() fix use of atomic memory
2747 on GC systems ... problem noticed by Fred.
2748
2749 Sat Oct 5 19:53:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2750
2751 * Source/NSData.m ([NSDataMappedFile
2752 -initWithContentsOfMappedFile:]): release self and return nil -
2753 rather than returning NO, if the path is bad.
2754
2755 2002-10-05 Richard Frith-Macdonald <rfm@gnu.org>
2756
2757 * Tools/AGSOutput.m: Improve warning code, support text output
2758 in chapter/section/subsection.
2759 * Tools/AGSParser.m: move concatenation of comments into a single
2760 method, make it insert a linebreak between concatenated comments,
2761 and make it refrain from appending the same comment onto itsself
2762 (which would happen if the same file was parsed twice, as both a
2763 header and as source).
2764 Treat the 'main()' function specially ... don't document it as a
2765 function but insert its comments at the end of the 'chapter' part
2766 of the output document. These modifications make it easy to
2767 document a directory containing tools, by listing the tool source
2768 files as arguments to autogsdoc.
2769 Tools/gsdoc_0_6_7.dtd: Fix bug preventing use of text in a chapter!
2770 * Source/GSString.m: Implement -UTF8String method for better
2771 performance.
2772 * Source/NSPortNameServer.m: Improve diagnostic message in exception
2773 when reporting failure to register ... try to provide all the info
2774 needed to begin diagnosing any problem.
2775 * Tools/gdomap.c: Make -M flag work with -N. Make -M flag work when
2776 used after -N or -L. Improve diagnostic messages on failure so
2777 people know what it is trying to do.
2778
2779 2002-10-04 Richard Frith-Macdonald <rfm@gnu.org>
2780
2781 * Source/NSArray.m: Tidied init from file to ensure that everything
2782 is released properly on failure, and we don't generate log messages
2783 where a lower level API should be doing it. Added some documentation.
2784 * Source/NSDictionary.m: ditto
2785 * Source/NSString.m: ditto. Also add support for understanding the
2786 unicode BOM at the start of UTF8 data and stripping it.
2787 * Source/NSData.m: Tidied read from and write to file,
2788 adding lots of logging information. Also documented quite a bit.
2789 Resolved all conflicts found with Adam's change ... generally in
2790 favor of the most informative logging.
2791 * Source/NSPortNameServer.m: On failure to register name, make
2792 exception message provide lots of detail/advice for newbies.
2793
2794 2002-10-03 Adam Fedor <fedor@gnu.org>
2795
2796 * Source/NSData.m (readContentsOfFile): Change NSDebugLog(s) to
2797 NSWarnLog or NSLog.
2798 (-writeToFile:atomically:): Idem.
2799 ([NSDataMappedFile -initWithContentsOfMappedFile:]): Idem.
2800 * Source/NSDictionary.m ([NSDictionary -initWithContentsOfFile:]):
2801 Release ourselves and return nil if file cannot be read.
2802
2803 2002-10-03 Richard Frith-Macdonald <rfm@gnu.org>
2804
2805 * Source/NSRunLoop.m: ([-runMode:beforeDate:]) permit the use of a
2806 nil date and document it. This is the behavior MacOS seems to have
2807 and seems to be more useful than prohibiting nil dates.
2808
2809 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
2810
2811 * Source/NSDistributedLock.m: Document and tidy.
2812 * Source/NSTimeZone.m: Don't set system zone prematurely.
2813 * Source/NSString.m: Don't bother to cache constant string
2814 class. Document it.
2815
2816 2002-10-01 Adam Fedor <fedor@gnu.org>
2817
2818 * config/pathxml.m4: Filter -L/usr/lib out of XML_LIBS.
2819 * configure: Regenerate.
2820
2821 2002-10-01 02:21 Alexander Malmberg <alexander@malmberg.org>
2822
2823 * Source/NSUserDefaults.m (-synchronize): Handle lockDate being nil.
2824
2825 2002-09-30 Richard Frith-Macdonald <rfm@gnu.org>
2826
2827 * NSTimeZones/NSTimeZones.tar: Updated to latest information.
2828 * Source/NSCalendarDate.m: Tidy up a little.
2829 * Source/NSTimeZone.m: Rewrite main timezone code for performance -
2830 Roughly doubles speed of most NSCalendarDate stuff.
2831 * NSThread.m: Fix for single threaded operation ... suggested by
2832 Ludovic Marcotte.
2833
2834 2002-09-29 Richard Frith-Macdonald <rfm@gnu.org>
2835
2836 * Source/GSFileHandle.m: Encapsulate read and write operations in
2837 new low level methods to ease subclassing.
2838 * SSL/GSSSLHandle.m: Use new read and write methods to simplify.
2839
2840 2002-09-28 Richard Frith-Macdonald <rfm@gnu.org>
2841
2842 * Source/NSCalendarDate.m: Fix problem with signed/unsigned type
2843 conversion when initialising a date at a daylight savings time
2844 boundary, and attempt to improve the code for adding offsets to
2845 dates.
2846 * Source/Makefile.postamble: patch to fix some warnings in
2847 uninstall (by David Ayers).
2848
2849 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
2850
2851 * Source/GSTcpPort.m: ([GSTcphandle+initialize]) ignore SIGPIPE in
2852 case a socket gets closed while we are writing.
2853
2854 2002-09-26 Richard Frith-Macdonald <rfm@gnu.org>
2855
2856 * Source/Additions/GSMime.m: Fix typo.
2857
2858 Thu Sep 26 01:28:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2859
2860 * Tools/make_strings/GNUmakefile: Do not include ctool.make.
2861
2862 2002-09-25 Richard Frith-Macdonald <rfm@gnu.org>
2863
2864 * Source/Additions/GSXML.m: Added ([-previousElement]) to match the
2865 [(-nextElement]) method.
2866
2867 Wed Sep 25 02:46:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
2868
2869 * Tools/make_strings/make_strings.m (main): Remove "" languages
2870 from the list of languages before processing.
2871
2872 2002-09-24 Richard Frith-Macdonald <rfm@gnu.org>
2873
2874 * Source/GSTcpHandle.m: ([-handleForPort:beforeDate:]) fix bug where
2875 we could end up using the last (non-matching) handle rather than
2876 creating a new one.
2877
2878 2002-09-20 Richard Frith-Macdonald <rfm@gnu.org>
2879
2880 * Source/GSTcpHandle.m: ([-connectToPort:beforeDate:]) Added more
2881 informative logging for problem condition reported by Nicila ...
2882 perhaps it will help tracking down cause.
2883
2884 2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
2885
2886 * Source/GSFormat.m: Where a %p format prints a null pointer,
2887 print the text (null).
2888 * Source/GSTcpHandle.m: Check port for invalidation while looping
2889 on write events, so we can fail if we become invalid while sending
2890 or connecting, before the port timeout expires.
2891 * Source/NSConnection.m: Check connection for invalidation while
2892 looping waiting for a reply, so we can fail if we become invalid
2893 before the timeout expires.
2894 * Source/DocMakefile: Specify template options
2895 * Tools/autogsdoc.m: Remove hack to turn templates on by default.
2896 Document the use of templates.
2897 * Tools/gsdoc-0_6_7.dtd: Hack in more types for indexing ... don't
2898 know if the software works for them though.
2899
2900 2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
2901
2902 * Source/Unicode.m: Restructure conversion from unicode slightly,
2903 to make it clearer and more readable and to include handling of
2904 lossy conversions.
2905 * Headers/gnustep/unicode/gsm0338.h: Added table for lossy conversion
2906 from unicode.
2907
2908 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2909
2910 * Tools/AGSParser.m: Bugfix ... look for source files more
2911 intelligently. Try both current directory and relative to header.
2912 * Tools/AGSOutput.m: When creating template output file for functions
2913 etc because none was supplied, take account of the -Up flag and
2914 create an up link in it.
2915 * Source/GSHTTPURLHandle.m: If response parsing fails, fail the
2916 load operation and (conditionally when debug enabled) log an error.
2917
2918 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2919
2920 * Source/NSFileManager.m: Basic/dummy implementations of new MacOS-X
2921 methods added. Attribute handling totally rewritten to work in a lazy
2922 way ... so we only set up attribute info in the dictionary when we
2923 actually need it. Account 'Number' methods and dictionary keys changed
2924 to be account 'ID' instead ... in accordance with MacOS-X usage.
2925 Documented the class.
2926 * Source/NSData.m: ([-writeToFile:atomically:]) implement workaround
2927 for bug in windoze implementation of rename()
2928 * Source/NSString.m: Remove some redundant code duplicating stuff in
2929 GSMime.m
2930
2931 2002-09-15 Richard Frith-Macdonald <rfm@gnu.org>
2932
2933 * Source/NSFileManager.m: MacOS-X ([componentsToDisplayForPath:]) and
2934 ([displayNameAtPath:]) methods implemented. Creation date added.
2935 * Source/NSString.m: More alterations to GNUstep extension methods
2936 to make their names consistent with other methods.
2937 Q. Should we deprecate/remove them entirely?
2938 * Tools/gsdoc.m: Update for changes to extension methods... though
2939 this tool has been deprecated for some time now, so perhaps we
2940 should remove it?
2941
2942 2002-09-13 Adam Fedor <fedor@gnu.org>
2943
2944 * Source/cifframe.m (cifframe_guess_struct_size): Recurse if
2945 element contains structures.
2946 (cifframe_from_info): Alloc room for return value even if caller
2947 doesn't use it.
2948
2949 Thu Sep 12 11:02:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2950
2951 * Source/NSObject.m ([+_becomeMultiThreaded:]): Fixed typo - this
2952 method was declared to take a 'NSNotification' rather than a
2953 'NSNotification *' argument.
2954
2955 2002-09-10 Richard Frith-Macdonald <rfm@gnu.org>
2956
2957 * Source/GSLocale.m: Double locking check fix
2958 * Source/NSFileManager.m: Double locking check fix
2959 Fixes contributed by David Ayers <d.ayers@inode.at>
2960
2961 2002-09-08 Richard Frith-Macdonald <rfm@gnu.org>
2962
2963 * Headers/gnustep/base/GSIArray.h: Minor optimisation
2964 * Headers/gnustep/unicode/gsm0338.h: Correct unicode to gsm table
2965 * Source/Unicode.m: Correct gsm conversion and optimise unicode to
2966 8-bit charaacter conversion for other character sets. Also correct
2967 lossy/non-lossy conversion using iconv.
2968
2969 2002-08-30 Adam Fedor <fedor@gnu.org>
2970
2971 * Version: 1.5.0
2972
2973 2002-08-30 Richard Frith-Macdonald <rfm@gnu.org>
2974
2975 * Source/NSString.m: Implemented new MacOS-X methods -
2976 ([-stringByPaddingToLength:withString:startingAtIndex:]), and
2977 ([-stringByTrimmingCharactersInSet:])
2978 Tidied a couple of extension method names for consistency and
2979 documented several methods.
2980
2981 2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
2982
2983 * Source/Additions/GSXML.m: Get libxml to put filename in error
2984 messages when it is available.
2985
2986 2002-08-28 Richard Frith-Macdonald <rfm@gnu.org>
2987
2988 * Source/Unicode.m: Rewritten the way that iconv is used to decide
2989 upon the available encodings ... lazy evaluation so that we don't
2990 try to lookup an encoding until we have to. This should improve
2991 process startup time (especially in gdb) since the iconv operations
2992 seem to be very slow.
2993
2994 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2995
2996 * Source/Additions/GSXML.m: Integrated GSXPath code by Nicola Pero
2997 provides an API to use the xpath support built into libxml from
2998 version 2.3 onwards.
2999 * Source/NSThread.m: Implement new priority methods.
3000 * Source/NSObject.m: Raise exception when passed null selector.
3001
3002 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
3003
3004 * Source/NSData.m: ([-writeToFile:atomically:]) Removed bogus line
3005 which deleted files when it shouldn't.
3006 Added new MacOS-X methods supporting NSData objects where the bytes
3007 are not owned by the data object. Removed GNUstep extension which
3008 provided this functionality before.
3009 * Source/NSUserDefaults.m: Use distributed lock to ensure that there
3010 is no possible window when the defaults file is invalid ... not all
3011 systems guarantee that the rename() system call is atomic.
3012 * Source/NSArray.m: New MacOS-X methods ([-initWithArray:copyItems:])
3013 ([-exchangeObjectAtIndex:withObjectAtIndex:])
3014 * Source/NSTimer.m: Update for compatibility with latest MacOS-X
3015 * Source/NSObject.m: New ([+isSubclassOfClass:]) and perform
3016 cancellation from MacOS-X
3017 * Source/NSRunloop.m: New perform cancellation method from MacOS-X
3018 proofreading help/fixes from David Ayers.
3019
3020 2002-08-25 Richard Frith-Macdonald <rfm@gnu.org>
3021
3022 * Source/WindowsFileHandle.m: Removed ... no longer used.
3023 * Source/GSHTTPURLHandle.m: Don't use getpid() ... not portable.
3024 * Tools/gdomap.c: Don't use getuid() under windoze.
3025
3026 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3027
3028 * Source/NSURL.m: ([-initFileURLWithPath:]) check to see if path is
3029 a directory and append a trailing slash if necessary. Remove hack
3030 to refrain from stripping last patch component in file URLs.
3031
3032 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3033
3034 * Source/NSURL.m: Hacks for compatibility with MacOS-X in returning
3035 path of a file URL ... the RFC says we should only return a path
3036 for a generic URL (scheme://user:passwd@host:port/path#frag?query)
3037 which a file URL certainly isn't. However, for compatibility we
3038 now treat a file URL more like a generic one.
3039 Also when creating absolute file URLs from base plus relative,
3040 the MacOS-X code doesn't strip the last path component of the
3041 base URL as it should ... we emulate that too.
3042
3043 2002-08-22 Richard Frith-Macdonald <rfm@gnu.org>
3044
3045 * Source/NSFileManager.m: Fix typo ... missing closing brace under
3046 windoze. Reported by Alex Stockdale.
3047
3048 2002-08-21 Richard Frith-Macdonald <rfm@gnu.org>
3049
3050 * Source/NSObject.m: ([-replacementObjectForPortCoder:])
3051 Documented method and removed unused/unwanted code dealing with
3052 NSDistantObject (NSDistantObject overrides the method).
3053
3054 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3055
3056 * Source/NSObject.m: Fix silly typo.
3057
3058 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3059
3060 * Source/NSConnection.m: (-removeProxy:) Remove unbalanced release.
3061
3062 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3063
3064 * Source/GSCountedSet.m:
3065 * Source/GSFileHandle.m:
3066 * Source/NSArchiver.m:
3067 * Source/NSData.m:
3068 * Source/NSDistributedNotificationCenter.m:
3069 * Source/NSHashTable.m:
3070 * Source/NSMapTable.m:
3071 * Source/NSObjCRuntime.m:
3072 * Source/NSObject.m:
3073 * Source/NSPortCoder.m:
3074 * Source/NSScanner.m:
3075 * Source/NSString.m:
3076 * Source/Unicode.m:
3077 * Source/UnixFileHandle.m:
3078 * Source/WindowsFileHandle.m:
3079 * Source/callframe.m:
3080 * Source/cifframe.m:
3081 * Source/mframe.m:
3082 Fix trivial typos and spelling errors pointed out by David Ayers.
3083
3084 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3085
3086 * Source/GSCountedSet.m:
3087 * Source/NSAutoreleasePool.m:
3088 * Source/NSCharacterSet.m:
3089 * Source/NSCountedSet.m:
3090 * Source/NSData.m:
3091 * Source/NSDebug.m:
3092 * Source/NSDictionary.m:
3093 * Source/NSFileHandle.m:
3094 * Source/NSLock.m:
3095 * Source/NSNull.m:
3096 * Source/NSNumber.m:
3097 * Source/NSObject.m:
3098 * Source/NSPipe.m:
3099 * Source/NSScanner.m:
3100 * Source/NSSerializer.m:
3101 * Source/NSSet.m:
3102 * Source/NSString.m:
3103 * Source/NSThread.m:
3104 * Source/NSTimeZone.m:
3105 * Source/Additions/GSMime.m:
3106 * Headers/gnustep/base/NSBundle.h:
3107 * Headers/gnustep/base/NSRange.h:
3108 * Headers/gnustep/base/NSSet.h:
3109 Modify comments to include gsdoc documentation for autogsdoc.
3110 This completes the transfer of all gsdoc documentation into
3111 the source code.
3112 * Documentation/gsdoc: All obsolete files removed.
3113
3114 2002-08-19 Richard Frith-Macdonald <rfm@gnu.org>
3115
3116 * Source/NSProxy.m: Documented all methods and corrected implementation
3117 of some introspection methods.
3118
3119 2002-08-16 Richard Frith-Macdonald <rfm@gnu.org>
3120
3121 * Source/Base.gsdoc: Moved to Documentation.
3122 * Source/GNUmakefile: Removed documentation building code.
3123 * Source/DocMakefile: New file for building refetrence documentation.
3124 * Documentation/Base.gsdoc: New from source directory.
3125 * Documentation/GNUmakefile: Set up installation directory name.
3126 * Documentation/Makefile.postamble: Use ../Source/DocMakefile to build
3127 library reference documentation and deal with installation.
3128
3129 2002-08-15 Adam Fedor <fedor@gnu.org>
3130
3131 * configure.ac: Add NetBSD header/ldflag support (Patch from
3132 Peter Cooper).
3133
3134 * Headers/gnustep/base/GNUstep.h: New compatibility file.
3135
3136 2002-08-15 Richard Frith-Macdonald <rfm@gnu.org>
3137
3138 * SSL/GNUmakefile: Added -lgnustep-base and -lobjc to SSL_BUNDLE_LIBS
3139 So that bundle is linked with a dependency on these libraries ... to
3140 ensure that dynamic linkage works when the bundle is loaded in from
3141 java via jigs.
3142
3143 2002-08-15 Adam Fedor <fedor@gnu.org>
3144
3145 * SSL/configure.ac: Simplified check for libraries. Added socket
3146 lib check for Solaris.
3147
3148 * Headers/gnustep/base/NSDecimalNumber.h: Add NSNumber category
3149 for decimalValue.
3150 * Source/NSDecimalNumber.m ([NSNumber -decimalValue]): Implemented.
3151
3152 2002-08-14 Richard Frith-Macdonald <rfm@gnu.org>
3153
3154 * Source/GSString.m: Allow 'true' as boolean value
3155 * Source/NSConcreteNumber.m: Output 'YES' as boolean in description.
3156 * Source/NSNotificationCenter.m: Fix dumb memory leak.
3157 * Source/NSNumber.m: Output 'YES' as boolean in description.
3158 * Source/NSUserDefaults.m: Set 'YES' as boolean string.
3159 * Headers/Foundation/NSObject.h: Fix v dumb memory leak.
3160 * Source/GSHTTPURLHandle.m: Append crlf to separate headers from body
3161 rather than just an lf.
3162 * SSL: Renamed SSL class and source file to reflect the fact
3163 that the code is not unix specific.
3164
3165 2002-08-11 Richard Frith-Macdonald <rfm@gnu.org>
3166
3167 * configure.ac: Check for libxml version 2.3.0 or greater to ensure
3168 we have xpath support.
3169 * Source/NSDecimalNumber.m: implement ([-getValue:]) and
3170 ([-initWithBytes:objCType:])
3171
3172 2002-08-09 Richard Frith-Macdonald <rfm@gnu.org>
3173
3174 * Source/NSNotificationCenter.m: ([-postNotification:]) Correct to
3175 post the actual notification we are given rather than a notification
3176 built from that one. Bug report by Alexander Malmberg.
3177
3178 2002-08-08 Richard Frith-Macdonald <rfm@gnu.org>
3179
3180 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Ensure that the
3181 string contains no dots, so it can be used as a filename under
3182 windoze.
3183 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Documented.
3184
3185 2002-08-07 Richard Frith-Macdonald <rfm@gnu.org>
3186
3187 * Source/NSString.m: ([-boolValue]) Accept 'true' as well as 'YES'
3188 * Source/NSThread.m: Modified to avoid using non-standard notification
3189 initialisation.
3190 * Source/NSNotification.m: Rewritten as abstract/cluster class for
3191 implementation compatibility with MacOS-X
3192 * Source/NSNotificationCenter.m: Modified posting to behave like the
3193 MacOS-X implementation. Implement concrete subclass of
3194 NSNotification.
3195 * Source/NSUserDefaults.m: Try to make creation of new defaults
3196 database an atomic operation.
3197 * Source/NSObject.m: Remove dealloc notifications hack ... the
3198 dealloc method can now safely be used to refrain from deallocating
3199 objects, so I don't think the hack is needed any more.
3200 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Update to ensure
3201 uniqueness across all hosts, processes, and threads.
3202 * Tools/gdomap.c: Tidyup patch by Matthias Klose
3203
3204 2002-07-29 Adam Fedor <fedor@gnu.org>
3205
3206 * Merge changes from 1.4.0 onto main branch.
3207
3208 2002-07-09 Richard Frith-Macdonald <rfm@gnu.org>
3209
3210 * Source/GSTcpHandle.m: Always use runloop in NSConnectionReplyMode
3211 to avoid other NSDefaultRunLoopMode events being triggered while
3212 executing a DO method. **EXPERIMENTAL**
3213
3214 2002-08-06 Adam Fedor <fedor@gnu.org>
3215
3216 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:):
3217 Change location of start of end char search (Patch from Pete
3218 French).
3219
3220 2002-07-27 Adam Fedor <fedor@gnu.org>
3221
3222 * Version: 1.4.0
3223
3224 2002-07-23 Adam Fedor <fedor@gnu.org>
3225
3226 * Source/NSInvocation.m ([GSFrameInvocation
3227 -initWithMethodSignature:]): Return nil if signature is nil.
3228 * Source/GSFFCallInvocation.m (-initWithMethodSignature:): Idem.
3229 * Source/GSFFIInvocation (-initWithMethodSignature:): Idem.
3230
3231 2002-07-20 Adam Fedor <fedor@gnu.org>
3232
3233 * Source/NSDecimal.m: ifdef for compiling on Darwin (report
3234 from Carl Eugen).
3235 * Source/NSInvocation.m ([-initWithSelector:): Rewrite to use
3236 designated initializer.
3237 (-initWithTarget:selector:): Idem.
3238
3239 2002-07-18 Adam Fedor <fedor@gnu.org>
3240
3241 * Tools/gdomap.c (main): Write the pidfile before switching away
3242 from root, but only if the user is root.
3243
3244 2002-07-17 Adam Fedor <fedor@gnu.org>
3245
3246 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:): Fix
3247 lineEnd and contentEnd check for \r\n (particularly at end of
3248 string.
3249
3250 Tue Jul 16 16:43:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
3251
3252 * Headers/gnustep/base/GSXML.h ([GSXMLNode -setNamespace:]): Added
3253 missing method essential to use namespaces.
3254 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Implemented.
3255
3256 2002-07-08 Richard Frith-Macdonald <rfm@gnu.org>
3257
3258 * Source/NSFileManager.m: Don't standardise path before converting to
3259 filesystem representation.
3260 * Tools/gdomap.c: Security enhancement - call setgroups().
3261
3262 2002-07-03 Adam Fedor <fedor@gnu.org>
3263
3264 * Version: 1.3.4
3265 * configure.ac: Remove warning about libffi
3266 * Documentation/news.texi: Update.
3267
3268 2002-07-03 Richard Frith-Macdonald <rfm@gnu.org>
3269
3270 * Source/Additions/GSMime.m: Ensure mime-version header appears
3271 before other headers. Fix bug in terminatimg mime data.
3272
3273 2002-07-02 Richard Frith-Macdonald <rfm@gnu.org>
3274
3275 * Tools/gdomap.c: Don't write to pidfile until *after* setuid away
3276 from root. Bug reported by James Kehl <mkehl@gil.com.au>
3277
3278 2002-07-01 Richard Frith-Macdonald <rfm@gnu.org>
3279
3280 * Source/Additions/GSMime.m: Correct test for multipart content when
3281 generating raw data. Fix by Mark Allison <mark@brainstorm.co.uk>
3282
3283 2002-06-30 Richard Frith-Macdonald <rfm@gnu.org>
3284
3285 * Headers/gnustep/base/GSFileHandle.h: New version of UnixFileHandle
3286 for combined unix/windoze use.
3287 * Source/GSFileHandle.m: New combined unix/windows implementation.
3288 * Source/NSFileHandle.m: Use GSFileHandle.
3289 * Source/GNUMakefile: Build GSFileHandle.
3290 * SSL/GSUnixSSLHandle.m: Update for combined GSFileHandle
3291
3292 2002-06-29 Richard Frith-Macdonald <rfm@gnu.org>
3293
3294 * Source/NSObject.m: ([-respondsToSelector:]) handle nul selectors.
3295 Bug report by Andy Ruder <aeruder@yahoo.com>
3296
3297 2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
3298
3299 * Source/NSString.m: Change to quote strings in plist output
3300 aggressively (quote characters that don't really need quoting)
3301 while still parsing flexibly ... ie handle unquoted strings as
3302 long as they don't contain 'special' characters.
3303 Fix for Tom Hageman <th@xs4all.nl>
3304
3305 2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
3306
3307 * Tools/AGSParser.m: ([-parseDeclaration:]) Correct wrongly
3308 positioned autorelease pool in last change. Hope that's the only
3309 one.
3310
3311 Wed Jun 26 15:32:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
3312
3313 * base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes,
3314 now should be done by gnustep-make automatically.
3315
3316 Tue Jun 25 13:31:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
3317
3318 * Tools/AGSHtml.m: Tidy up autorelease pool macros so that it
3319 compiles with gc=yes and old compilers.
3320 * Tools/AGSParser.m: Idem.
3321 * Tools/AGSOutput.m: Idem.
3322 * Tools/HTMLLinker.m: Idem.
3323 * Tools/autogsdoc.m: Idem.
3324 * Tools/gdnc.m: Idem.
3325 * Tools/gsdoc.m: Idem.
3326 * Tools/make_strings/make_strings.m: Idem.
3327
3328 Tue Jun 25 13:13:00 2002 Nicola Pero <n.pero@mi.flashnet.it>
3329
3330 * Source/Additions/GSMime.m ([-rawMimeData:]): Create the
3331 autorelease pool after the other variables, so that it compiles
3332 with gc=yes and gcc < 3.x.
3333 * Source/NSLog.m (NSLogv): Idem.
3334
3335 2002-06-23 Richard Frith-Macdonald <rfm@gnu.org>
3336
3337 * Headers/Foundation/NSFileHandle.h: add async read of specific length.
3338 * Source/NSFileHandle.m: Make the async wconvenience methods call
3339 the core ones.
3340 * Source/UnixFileHandle.m: Remove async convenience methods and add
3341 one to read specified length of data.
3342
3343 2002-06-21 Richard Frith-Macdonald <rfm@gnu.org>
3344
3345 * Source/GSMime.m: add a few consistency checks to raise an exception
3346 if we try to unparse a GSMimeDocument with inconsistent headers and
3347 content.
3348
3349 2002-06-19 Adam Fedor <fedor@gnu.org>
3350
3351 * Source/GSLocale.m (GSSetLocaleC): Only set locale for LC_CTYPE.
3352
3353 2002-06-18 Richard Frith-Macdonald <rfm@gnu.org>
3354
3355 * Source/NSURL.m: Cope with a URL where the path is missing.
3356 Check user, password, host, port parts for illegal characters.
3357 Thanks to bug report by Marco Manfredini <mldb@gmx.org>
3358 * Source/GSMime.m: add convenience method for setting document type.
3359 Fix error in recent change to base64 encoding.
3360
3361 2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
3362
3363 * Source/NSTimer.m: Retain target and user info on initialisation
3364 Release them on invalidation. Ensure timer is invalidated on
3365 deallocation. Documented timer methods.
3366 Changes based on bug report by Andy Ruder <aeruder@yahoo.com>
3367 * Source/NSURL.m: Fixed one possible nul pointer indirection,
3368 and added some comments about the internal data structure.
3369 Handle percentage escape sequences in user, password, host and port
3370 even though MacOS-X only seems to do it for the user name and host.
3371 * Tools/plmerge.m: Fixed some crasher bugs where given bad arguments.
3372
3373 2002-06-16 Richard Frith-Macdonald <rfm@gnu.org>
3374
3375 * Source/GSFTPURLHandle.m: simple implementation added
3376 * Source/NSURLHandle.m: Register GSFTPURLHandle for ftp scheme.
3377 * Source/GSHTTPURLHandle.m: modified so that data being read is
3378 reported periodically during the read proces rather than just at end.
3379
3380 2002-06-15 Adam Fedor <fedor@gnu.org>
3381
3382 * Source/NSProcessInfo.m: Include sys/fcntl for Solaris.
3383
3384 2002-06-14 Richard Frith-Macdonald <rfm@gnu.org>
3385
3386 * config/pathxml.m4: Adjust path to headers.
3387 * Tools/gsdoc.m: Adjust path to headers. Add warning about
3388 deprecation.
3389 Patch by e.sammer <eric@linuxstep.org>
3390 * Source/NSObject.m: Added some compatibility methods in a
3391 categpory of Object.
3392 * Source/Additions/GSMime.m: Add a couple of convenience methods.
3393 * Source/GSHTTPURLHandle.m: Use one of them.
3394 * SSL/Makefile.postample: on distclean, don't need to delete
3395 bundle, but do delete config.h explicitly.
3396
3397 2002-06-13 Richard Frith-Macdonald <rfm@gnu.org>
3398
3399 * Source/Additions/GSXML.m: Include NSInvocation.h to avoid
3400 compiler warning.
3401
3402 2002-06-12 Richard Frith-Macdonald <rfm@gnu.org>
3403
3404 * Source/NSObject.m: Fix a few errors which crept in to the map
3405 table based reference counting.
3406 * Examples/GNUmakefile: Permit local makefile to be missing.
3407 * Source/UnixFileHandle.m: Added outgoing SOCKS5 support.
3408 * Source/NSFileHandle.m: Added SOCKS5 documentation.
3409 * Source/Base/gsdoc: Dopcumented SOCKS enironemnet variables and defs.
3410 * Source/NSNotification.m: Made -description more informative.
3411 * Testing/call.m: Trivial test program for tcp connections.
3412 * SSL/GSUnixSSLHandle.m: Updated for socks.
3413 * Additions/GSMime.m: Utilites to encode/decode base64
3414 * Source/GSHTTPURLHandle.m: Use encoding.
3415
3416 2002-06-10 Richard Frith-Macdonald <rfm@gnu.org>
3417
3418 * Source/UnixFileHandle.m: Avoid some unnecessary autoreleases.
3419
3420 2002-06-09 Richard Frith-Macdonald <rfm@gnu.org>
3421
3422 * Source/NSObject.m: Implemented and documented -className
3423 * Tools/AGSOutput.m: When Verbose = YES log all documentable
3424 entities for which no comment text was found.
3425 * Source/NSException.m: Added NSParseErrorException and tidied other
3426 general exceptions.
3427 * Source/extern.m: Removed generic exceptions ... now in NSException.m
3428
3429 2002-06-06 Adam Fedor <fedor@gnu.org>
3430
3431 * Source/cifframe.m (cifframe_from_info): Set value locations
3432 after prepping cifframe.
3433
3434 2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
3435
3436 * Source/NSLog.m: patch by Jeff Teunissen to avoid adding date/time
3437 info when using syslog.
3438 * Source/NSURL.m: Fix loading codde to set self as client of handle.
3439 * Tools/AGSParser.m: Fix to avoid warnings about unimplemented protocols
3440 * Headers/gnustep/base/GSXML.h:
3441 * Headers/gnustep/base/NSArchiver.h:
3442 * Headers/gnustep/base/NSAutoreleasePool.h:
3443 * Headers/gnustep/base/NSCoder.h:
3444 * Headers/gnustep/base/NSDictionary.h:
3445 * Headers/gnustep/base/NSFileHandle.h:
3446 * Headers/gnustep/base/NSNotification.h:
3447 * Headers/gnustep/base/NSRunLoop.h:
3448 * Headers/gnustep/base/NSURL.h:
3449 * Headers/gnustep/base/NSURLHandle.h:
3450 * Source/GSHTTPURLHandle.m:
3451 * Source/NSArray.m:
3452 * Source/NSCoder.m:
3453 * Source/NSFileHandle.m:
3454 * Source/NSNotification.m:
3455 * Source/NSRunLoop.m:
3456 * Source/NSURLHandle.m:
3457 * Source/NSUnarchiver.m:
3458 * Source/externs.m:
3459 * Source/Additions/GSXML.m:
3460 Tidied for documentation purposes ... no substantial code changes
3461
3462 Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
3463
3464 * Source/NSLog.m (_NSLog_standard_printf_handler): Fixed
3465 syslogging of strings: add a NULL at the end of strings before
3466 feeding them to syslog.
3467
3468 2002-06-05 Richard Frith-Macdonald <rfm@gnu.org>
3469
3470 * Headers/Foundation/NSURL.h: Added a couple of ivars and removed
3471 non-standard methods.
3472 * Source/NSURL.m: Rewrite everything apart from the code dealing
3473 with NSURLHandle objects (and change some of that) to conform to
3474 the documentation (I hope) and to try to match behavior with that
3475 of MacOS-X.
3476
3477 2002-06-04 Adam Fedor <fedor@gnu.org>
3478
3479 * Headers/gnustep/base/NSByteOrder.h: Hack for bug in gcc 3.1
3480 * Source/externs.m (_gcc3_1_hack): Idem. (modified patch from
3481 benhur@inf.ufsm.br).
3482
3483 * Source/GSFFIInvocation.m (gs_objc_msg_forward): Alloc closure
3484 with fastMallocBuffer.
3485
3486 * Documentation/coding-standards.texi: Update.
3487
3488 2002-06-02 Richard Frith-Macdonald <rfm@gnu.org>
3489
3490 * Headers/Foundation/NSObject.h: Removed ([_dealloc]),
3491 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3492 * Source/NSObject.m: Removed ([_dealloc]),
3493 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3494 as these methods are no longer necessary now that the dealloc method
3495 itsself is able to refrain from performing deallocation if if wishes
3496 (the retain count mechanism can no longer reach a zero retain count).
3497
3498 2002-06-01 Richard Frith-Macdonald <rfm@gnu.org>
3499
3500 * Source/NSObject.m: Change NSDecrementExtraRefCountWasZero() to
3501 refrain from decrementing when the count is zero. Documented
3502 the retain/release/retainCount methods (and others).
3503 * Headers/Foundation/NSObject.h: Documented extra ref count functions.
3504
3505 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3506
3507 * Source/NSObject.m: Change order of zombie initialisation for
3508 darwin port.
3509
3510 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3511
3512 * Headers/gnustep/base/GSMime.h: Make set... methods return void.
3513 * Source//GSMime.m: Make set... methods return void. Also fix
3514 parsing to use different 'specials' for HTTP and MIME
3515 * Headers/gnustep/base/GSIMap.h:
3516 * Headers/gnustep/base/NSHashTable.h:
3517 * Headers/gnustep/base/NSMapTable.h:
3518 * Source/GSArray.m:
3519 * Source/GSSet.m:
3520 * Source/GSTcpPort.m:
3521 * Source/NSBundle.m:
3522 * Source/NSConnection.m:
3523 * Source/NSData.m:
3524 * Source/NSHashTable.m:
3525 * Source/NSMapTable.m:
3526 * Source/NSObject.m:
3527 * Source/NSRunLoop.m:
3528 Applied patches by James Knight, to improve memory efficiency and
3529 insertion.deletion speed to hash and map tables. Also fixes for
3530 some GC problems.
3531 Fixed minor problem in patch, and added code to call functions to
3532 clean up after hash and map enumerations. Modified cleanup function
3533 to clear enumerator ... for memory release on GC system.
3534 Rewrote enumeration code so that it maintains the characteristic
3535 that objects can safely be removed from maps after being enumerated
3536 (this feature is used in several places).
3537 *WARNING* This introduces a binary incompatibility in that the size
3538 of the map table and hash table enumeration types has grown.
3539 If you have binaries which use the NSEnumerateHashTable() or the
3540 NSEnumeratemapTable() functions, you need to rebuild them.
3541
3542 2002-05-27 Richard Frith-Macdonald <rfm@gnu.org>
3543
3544 * Headers/Foundation/GSMime.h: Tidy up and add convenience methods.
3545 * Source/Additions/GSMime.m: Tidy up and add convenience methods.
3546 Added methods to convert content between string and data for ease
3547 of use from java. Added support for most character sets handled
3548 by GNUstep-base. Improved ContentID generation to be both unlikely
3549 to recur, and to be guaranteed unique within a process.
3550 * Source/NSBundle.m: ([+allBundles]) Don't enumeraste if map table
3551 has not been created yet.
3552 * Source/NSLog.m: Allow output descriptor to be changed.
3553 * Source/NSProcessInfo.m: Add method to change log output to go to
3554 another file for applications where stderr has been hijacked.
3555
3556 2002-05-26 Fred Kiefer <FredKiefer@gmx.de>
3557
3558 * Source/Additions/GSXML.m
3559 Define GSXMLAttribute in the case when libxml is found.
3560 Otherwise it wont compile on MS Windows.
3561
3562 2002-05-26 Richard Frith-Macdonald <rfm@gnu.org>
3563
3564 * Headers/Foundation/GSMime.h: Add GSMimeHeader class.
3565 * Source/Additions/GSMime.m: Add GSMimeHeader class.
3566 Update API to use GSMimeheaders rather than dictionaries.
3567
3568 2002-05-23 Richard Frith-Macdonald <rfm@gnu.org>
3569
3570 * Source/Additions/GSXML.m: Fix a few errors in last changes.
3571 * Source/NSString.m: Updates for GSXML changes.
3572 * Tools/AGSHtml.m: Updates for GSXML changes.
3573 * Tools/AGSIndex.m: Updates for GSXML changes.
3574
3575 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3576
3577 * Headers/gnustep/base/GSXML.h: Add _parent ivars
3578 * Source/Additions/GSXML.m: Implement memory mangement so that the
3579 underlying libxml data is not freed unless all objects derived from
3580 it have been deallocated. Remove comments warning about original
3581 memory management scheme.
3582
3583 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3584
3585 * Source/GSeq.h: Fix bug matching sequences with zero length range.
3586 * Headers/gnustep/base/GSMime.h: Tell autogsdoc where to look for source
3587 * Headers/gnustep/base/GSXML.h: Updates for consistency etc.
3588 * Source/Additions/GSXML.m: ditto
3589 * Tools/AGSHtml.m: Modified for changed GSXML
3590 * Tools/AGSIndex.m: ditto
3591 * Tools/AGSParser.m: ditto
3592 * Tools/autogsdoc.m: ditto
3593 * Tools/defaults.m: Fixed typo
3594 Mostly, changes to make methods which were intended to be private
3595 really private, and lots of modifications to make mathod names
3596 consistent with OpenStep usage ... suggestions made by many people.
3597 * configure.ac: Use better names for GMP and ZLIB flags
3598 * configure: regenerate
3599 * Headers/gnustep/base/GSConfig.h.in: GMP and ZLIB update
3600 * Headers/gnustep/base/NSDecimal.h: GMP update
3601 * Headers/gnustep/base/UnixFileHandle.h: ZLIB update
3602 * Source/NSDecimal.m: GMP update
3603 * Source/UnixFileHandle.m: ZLIB update
3604
3605 2002-05-15 Richard Frith-Macdonald <rfm@gnu.org>
3606
3607 * Source/NSLog.m: Altered logging format for compatibility with
3608 MacOS-X (and easier collating). Thanks to report by lcampbell
3609
3610 2002-05-14 Richard Frith-Macdonald <rfm@gnu.org>
3611
3612 * Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
3613 that returned memory is allocated from specified zone, rather than
3614 returning internal buffer.
3615 * Tools/AGSIndex.m: When a string missmatch is found when merging,
3616 update the output to the new string as well as warning.
3617 * Tools/autogsdoc.m: Don't automatically include refs to installed
3618 copies of the project being documented.
3619
3620 2002-05-13 Richard Frith-Macdonald <rfm@gnu.org>
3621
3622 * Source/NSFileManager.m: Don't try to release memory using free()
3623 when it was allocated using NSZoneMalloc().
3624 * Tools/autogsdoc.m: Improve dependency rule management.
3625 * Tools/AGSParser.h: ditto
3626 * Tools/AGSParser.m: ditto
3627 * Tools/AGSIndex.h: ditto
3628 * Tools/AGSIndex.m: ditto
3629 Store all dependency information in the .igsdoc file and keep it up
3630 to date. Never regenerate a file that doesn't need it.
3631 Mostly the changes are to cope with the fact that we now have
3632 common files into which all functions, constants, variables, and
3633 typedefs within a project are combined.
3634
3635 2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
3636
3637 * Source/Unicode.m: Rationalise so that all conversion operations
3638 go through the two new functions. Gets rid of a load of old code.
3639 * Source/GSString.m: ([-replaceCharactersInRange:withString:])
3640 minor performance enhancement when copying from a 16-bit string
3641 to an 8-bit string.
3642
3643 2002-05-10 Adam Fedor <fedor@gnu.org>
3644
3645 * Source/Additions/GSXML.m: Change libxml strings to UTF8
3646 (makeText:) New.
3647 Add GSXMLDummy for MinGW
3648 * Source/Additions/libgnustep-base.def: Remove GSXMLHandler.
3649 (patch from Kai Henningsen).
3650
3651 2002-05-10 Richard Frith-Macdonald <rfm@gnu.org>
3652
3653 * Tools/gdnc.m: Make gdnc log to syslog by default, and close
3654 stdin, stdout, stderr to run as daemon.
3655 * Source/NSUser.m: Restructured path generation code slightly.
3656 Added support for system-wide .GNUsteprc with force options.
3657 Removed use of FORCE_USER_ROOT and FORCE_DEFAULTS_ROOT
3658 * Source/Base/gsdoc: Document the .GNUsteprc files.
3659 * Source/NSArray.m: Fix bug with GC pointed out by James Knight
3660
3661 2002-05-09 Richard Frith-Macdonald <rfm@gnu.org>
3662
3663 * Source/GSHTTPURLHandle.m: Insert port information to URL passed
3664 to proxy.
3665
3666 2002-05-09 Fred Kiefer <FredKiefer@gmx.de>
3667
3668 * Source/NSBundle.m
3669 Use fileSystemRepresentation instead of cString to get the file
3670 name to load.
3671
3672 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3673
3674 * Source/NSTask.m: When launching under windoze, don't forget to
3675 use the fileSystemRepresentation of the program name.
3676
3677 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3678
3679 * Source/Additions/GSXML.m: Fix function prototype ... gets rid of
3680 compiler warning.
3681 * Source/GNUmakefile: remove o_vscanf.c ... unused
3682 * Source/o_vscanf.c: remove unused file.
3683 * Source/mframe.m: Fix compiler warning about unused function.
3684 * Source/GSFormat.m: Fix compiler warning about unused var.
3685 * Source/NSDebug.m: Fix compiler warning about unused var.
3686 * Source/externs.m: Fix compiler warnings ... move some exceptions
3687 to source files relating to where they are declared.
3688 * Source/NSArchiver.m: define exception.
3689 * Source/NSConnection.m: define exception.
3690 * Source/NSPort.m: define exception.
3691 * Tools/gdomap.c: Remove unused variable (log_perror).
3692
3693 2002-05-07 Adam Fedor <fedor@gnu.org>
3694
3695 * configure.ac: Make all AC_DEFINES define 1
3696 * config/objc-con-autoload.m4: Idem.
3697 * config/objc-sys-dynamic.m4: Idem.
3698
3699 2002-05-07 Richard Frith-Macdonald <rfm@gnu.org>
3700
3701 * Source/NSUser.m: mingw path fixes and debugging
3702 * Source/NSFileManager.m: ditto
3703
3704 2002-05-06 Adam Fedor <fedor@gnu.org>
3705
3706 * Source/NSMethodSignature.m (-isEqual:): Implemented (from
3707 znek@mulle-kybernetik.com).
3708
3709 2002-05-06 Richard Frith-Macdonald <rfm@gnu.org>
3710
3711 * Source/NSMapTable.m: Delete line teft over by accident ... could
3712 cause crach if passes nul table. Thanks to Lars Sonchocky-Helldorf
3713 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:]) don't
3714 supply current date information as default ... for compatibility
3715 with MacOS-X use zero date instead. Thanks to lcampbell.
3716
3717 2002-05-04 Adam Fedor <fedor@gnu.org>
3718
3719 * Testing/nsbundle.m: Update to work without installing bundle.
3720
3721 2002-05-04 Richard Frith-Macdonald <rfm@gnu.org>
3722
3723 * Source/NSUser.m: NSHomeDirectoryForUser() ... fix windoze bug ...
3724 was returning the current users home directory irrespective of the
3725 user asked for. Now returns nil for other users ... should really
3726 find some mechanism to determine home directories for other users.
3727 * Source/Additions/GSXML.m: If ([_parseChunk:]) is called with nil
3728 data, terminate parsing. Report by Alexander Malmberg.
3729
3730 2002-05-03 Richard Frith-Macdonald <rfm@gnu.org>
3731
3732 * Source/NSAssertion.m: Added comments and fixed bug in handling
3733 an assertion in a function ... was calling va_end() before the last
3734 use of the arguments. Also, release new handler after adding it to
3735 thread dictionary ... fix memory leak.
3736 * Source/NSThread.m: Add fprintf of alert message to STDERR if we
3737 are unable to determine the current thread. Don't attempt to use
3738 NSLog() or similar ... since chances are, without a thread object,
3739 that would just crash.
3740 In GSRegisterCurrentThread(), add code to handle the case where the
3741 NSThread class has not been initialised.
3742 * Source/NSObject.m: NSAllocateObject() raise exception if passed
3743 something other than a class to allocate an instance of.
3744
3745 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3746
3747 * SSL/GSUnixSSLHandle.m: Change '#if HAVE...' to '#ifdef HAVE_...'
3748 * Source/GSFormat.m: ditto
3749 * Source/GSHTTPURLHandle.m: ditto
3750 * Source/GSTcpPort.m: ditto
3751 * Source/NSBundle.m: ditto
3752 * Source/NSData.m: ditto
3753 * Source/NSDate.m: ditto
3754 * Source/NSFileManager.m: ditto
3755 * Source/NSHost.m: ditto
3756 * Source/NSLock.m: ditto
3757 * Source/NSLog.m: ditto
3758 * Source/NSPage.m: ditto
3759 * Source/NSPipe.m: ditto
3760 * Source/NSProcessInfo.m: ditto
3761 * Source/NSRunLoop.m: ditto
3762 * Source/NSString.m: ditto
3763 * Source/NSTask.m: ditto
3764 * Source/NSThread.m: ditto
3765 * Source/NSUser.m: ditto
3766 * Source/UnixFileHandle.m: ditto
3767 * Source/WindowsFileHandle.m: ditto
3768 * Tools/gsdoc.m: ditto
3769 * Tools/autogsdoc.m: ditto
3770 Fixes to handle configuration changes where AC_DEFINE is setting
3771 preprocessor constants to be empty (but defined) rather than to be 1
3772
3773 2002-05-02 Adam Fedor <fedor@gnu.org>
3774
3775 * configure.ac: Updated to autoconf 2.53 from configure.in
3776 * configure, config.h.in: Regenerate.
3777 * Source/mframe/configure.ac: Idem.
3778 * SSL/configure.ac: Idem.
3779 * acconfig.h, aclocal.m4: Remove
3780 * config/pathxml.m4: New from aclocal.m4.
3781 * config/objc-con-autoload.m4: Updated from aclocal.m4
3782 * config/procfs-exe-link.m4: Idem.
3783 * config/procfs.m4: Idem.
3784
3785 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3786
3787 * Source/NSURLHandle.m: Implement ([-hash]) and ([-isEqual:]) based on
3788 ([-absoluteString]) rather than simple pointer comparison.
3789 * Source/GSHTTPURLHandle.m: ([-bgdConnect]) check for existing
3790 headers before writing ... avoid overriding them and only set things
3791 that the programmer has not bothered to set.
3792 ([-loadInBackGround]) use URL port if available.
3793 More fixes thanks to lcampbel via savannah
3794 * Headers/Foundation/NSURLHanlde.h: include NSObject.h
3795 * Source/UnixFileHadle.h: add missing semicolon thanks to Paul Windey
3796
3797 2002-05-01 Richard Frith-Macdonald <rfm@gnu.org>
3798
3799 * Source/NSURLHandle.m: ([URLHandleClassForURL:]) Fix to return most
3800 recently registered class rather than first registered one.
3801 Bug report via savannah
3802
3803 2002-04-30 Adam Fedor <fedor@gnu.org>
3804
3805 * Version: 1.3.2
3806 * Documentation/news.texi: Update.
3807 * NEWS Regen.
3808
3809 2002-04-29 Richard Frith-Macdonald <rfm@gnu.org>
3810
3811 * Source/NSFileManager.m: Standardise handling for windoze drive
3812 specifiers in file paths.
3813 * Source/NSUser.m: Use ([-stringWithFileSystemRepresentation:length:])
3814 when importing file names.
3815 * Source/NSString.m: Update all path handling methods for windoze
3816 changes. Fix several bugs where we did not conform to documentation.
3817
3818 2002-04-28 Richard Frith-Macdonald <rfm@gnu.org>
3819
3820 * Source/NSFileManager.m: Port
3821 ([-stringWithFileSystemRepresentation:length:]) to windoze...
3822 Have it convert backslashes to slashes etc.
3823
3824 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3825
3826 * Tools/AGSParser.m: Improve handling of identifier mapping so that
3827 an identifier mapped to an empty string (or //) an any place where
3828 whitespace is permissable is treated as part of that white space.
3829
3830 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3831
3832 * Tools/AGSParser.m: Interpret a mapping to '//' in the WordMap as
3833 meaning that the rest of the line containing the mapped value
3834 should be ignored.
3835
3836 2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com>
3837
3838 * Tools/make_strings/GNUmakefile - modified to prevent build
3839 error when building from scratch
3840 * Tools/make_strings/GNUmakefile.preamble - added to provide
3841 paths to include and lib directories for linking make_strings
3842 tool when building from scratch.
3843
3844 2002-04-23 Adam Fedor <fedor@gnu.org>
3845
3846 * Source/GSFFIInvocation.m
3847 (-initWithCallback:returnp:values:frame:signature:): Simplify
3848 setting values. Structs passed by ref when MFRAME_STRUCT_BYREF.
3849 (GSFFIInvokeWithTargetAndImp): Encoding values unneedded now.
3850 (gs_objc_msg_forward): Free the closure via NSData.
3851
3852 * Source/mframe/powerpc/generic: Fix offset for structs.
3853 * Source/mframe/powerpc/linux-gnu: Idem.
3854 * Source/mframe/powerpc/darwin: Idem.
3855
3856 2002-04-22 Adam Fedor <fedor@gnu.org>
3857
3858 * Tools/gdomap.c (gdomap_log): For LOG_INFO, write to 1, not 0.
3859
3860 * Tools/make_strings: New tool from Alexander Malmberg
3861 <alexander@malmberg.org>
3862
3863 * Source/Additional/Makefile.preamble (ADDITIONAL_OBJCFLAGS):
3864 Add for building DLL on mingw32
3865
3866 2002-04-20 Richard Frith-Macdonald <rfm@gnu.org>
3867
3868 * Source/NSURL.m: ([-absoluteString]) anonymous bugfix applied.
3869
3870 2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
3871
3872 * Tools/gdnc.m: If given -NSHost specification for the current host,
3873 ignore it and use the standard name.
3874 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3875 at end ... so handles can find this port when they are destroying
3876 themselves. Reverses last change I made to this.
3877
3878 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3879
3880 * SSL/COPYING.LIB: New file ... just to make it *REALLY* obvious
3881 this code is under the LGPL
3882
3883 2002-04-18 Adam Fedor <fedor@gnu.org>
3884
3885 * Minimally working libffi support. Needs work.
3886 * configure.in: Allow libffi to be enabled.
3887 * Source/GSFFIInvocation.m: Rewrite.
3888 * Source/NSConnection.m (-forwardInvocation:forProxy:): Add libffi
3889 function.
3890 * Source/NSInvocation.m: Fixup cifframe arg functions.
3891 * Source/cifframe.m: Rewrite.
3892 * Testing/nsinvocation.m: Bug fix.
3893
3894 * Documentation/coding-standards.texi: Remove info dir tag.
3895 * Documentation/gnustep-base.texi: Idem.
3896 * Resources/Languages/Slovak: New file (from Stefan Urbanek).
3897
3898 Thu Apr 18 11:10:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
3899
3900 * Headers/gnustep/base/NSObjCRuntime.h: Updated #defines and
3901 Windows DLL export/import machinery to the new gnustep-make
3902 conventions.
3903
3904 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3905
3906 * Tools/gdomap.c: re-order headers so config.h is used on windoze
3907 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
3908 modified to handle MSYS paths with '/drive/' prefix.
3909 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3910 at start, so flag gets set to say we are not valid, and we avoid any
3911 recursive calls.
3912
3913 2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
3914
3915 * config/config.reuseaddr.c: New test for broken SO_REUSEADDR
3916 * configure.in: test for broken SO_REUSEADDR
3917 * acconfig.h: Add BROKEN_SO_REUSEADDR
3918 * configure: regenerated
3919 * Source/UnixFileHandle.m: Use reuseaddr info.
3920 * Source/GSTcpPort.m: Use reuseaddr info.
3921 * Tools/gdomap.c: Use reuseaddr info.
3922 * Source/NSPortNameServer.m: Improved warnings about launching
3923 gdomap.
3924 * Source/NSDistributedNotification.m: Improved warnings about
3925 launching gdnc.
3926 * Source/NSException.m: Log uncaught exceptions with executable name.
3927 * Source/NSProcessInfo.m: New private function for exception msg.
3928 * Source/GSString.m: Applied fix by Malexander Malmberg for
3929 transmuting strings where the default encoding is not the same as
3930 the internal 8-bit encoding.
3931 * Source/Unicode.m: Logic fix for selecting strict conversion from
3932 unicode by Alexander Malmberg.
3933
3934 2002-04-12 Richard Frith-Macdonald <rfm@gnu.org>
3935
3936 * Source/Additions/GSXML.m: New method ([-nextElement]) to traverse
3937 tree skipping non-element nodes. Also ([-childElement]) to get the
3938 first child element of a node.
3939
3940 Thu Apr 11 15:34:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
3941
3942 * Source/GSAttributedString.m ([GSMutableAttributedString
3943 -sanity]): Renamed to -_sanity, and changed so that we always
3944 compile this in so that regression testcases can use it.
3945
3946 2002-04-08 Richard Frith-Macdonald <rfm@gnu.org>
3947
3948 * Resources/GNUmakefile: install new language files.
3949 * Resources/Languages/Russion: language file added.
3950 * Resources/Languages/UkraineRussion: language file added.
3951 Added language files provided by Serg Stoyan <stoyan@on.com.ua>
3952 * Source/UnixFileHandle.m: Permit accept/connect on descriptors
3953 by default.
3954 * Source/WindowsFileHandle.m: ditto
3955 * Headers/Foundation/NSProcessInfo.h: Added MacOS-X operating system
3956 methods and enum
3957 * Source/NSProcessInfo.m: Added operating system methods and documented
3958 all methods for autogsdoc.
3959
3960 2002-04-07 Richard Frith-Macdonald <rfm@gnu.org>
3961
3962 * Source/GSString.m: Tidy initialisers for case where the default
3963 C-string encoding is not usable internally.
3964 * Source/NSLog.m: Try default cString encoding.
3965 * Tools/cvtenc.m: Add -EscapeIn and -EscapeOut flags to handle \u
3966 escapes in files.
3967 * Resources/Languages/Italian: Correct to use \u escapes
3968 * Resources/Languages/French: ditto.
3969 * Resources/Languages/German: ditto.
3970 * Resources/Languages/README: New file to tell editors that they
3971 should use \u escapes ... and suggesting use of the cvtenc tool
3972 to make the job easy.
3973
3974 2002-04-06 Richard Frith-Macdonald <rfm@gnu.org>
3975
3976 * Source/NSString.m: Fix error in unicode BOM handling
3977 Write plist unicode escapes using the conventional \u rather than \U,
3978 but read in either form.
3979 * Source/GSString.m: Fix error in length of unicode data produced.
3980 * Tools/cvtenc.m: Made easy to use and added instructions.
3981
3982 Sat Apr 6 02:42:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
3983
3984 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Fixed
3985 typo, gnustep_local_root being used instead of gnustep_user_root
3986 for developer dirs in user root.
3987
3988 2002-04-05 Richard Frith-Macdonald <rfm@gnu.org>
3989
3990 * Source/NSObject.m: Fix locking bug with NSZombie ... was not
3991 locking when adding/removing zombies.
3992 * Source/NSString.m: Fix property list parsing code to raise
3993 exceptions on failure rather than logging messages. Also check for
3994 extra data at end of parsed string.
3995 * Tools/ctvenc.m: new tool for converting string encodings.
3996
3997 2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com>
3998
3999 * Tools/gsdoc.m: corrected inversed test for missing entities
4000
4001 2002-03-27 Richard Frith-Macdonald <rfm@gnu.org>
4002
4003 * Source/GSPrivate.h: Added function to fetch boolean value from env
4004 * Source/NSException.m: Use new function.
4005 * Source/NSProcesInfo.m: Implement new function.
4006 * Source/NSObject.m: Implement NSZombie functionality.
4007 * Headers/Foundation/NSDebug.h: Document NSZombie functionality.
4008
4009 2002-03-25 Richard Frith-Macdonald <rfm@gnu.org>
4010
4011 * Source/NSTask.m: Implement code to watch for child process exit
4012 under mingw and rewrite various methods to handle process
4013 termination nicely under windoze.
4014 * Source/NSException.m: flush stderr ... under windoze stderr is
4015 not automatically flushed!
4016 * Source/GSWindowsFileHandle.m: watch for exceptional conditions
4017 so we can handle socket connection failures in mingw32.
4018 Added code to try to cope with standard files properly, not just
4019 network sockets.
4020 * Source/GSTcpPort.m: ditto.
4021 * Source/Unicode.m: GSToUnicode(), GSFromUnicode(), if terminate
4022 option is specified, always produce output with a nul terminator
4023 even for input of an empty string.
4024
4025 2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
4026
4027 * SSL/GNUmakefile: Remove -lobjc and -lgnustep-base from bundle
4028 libraries ... it should not need them.
4029
4030 2002-03-21 Richard Frith-Macdonald <rfm@gnu.org>
4031
4032 * Source/NSArray.m: Ensure property-list read/write uses UTF8
4033 * Source/NSDictionary.m: ditto
4034 * Source/NSConnection.m: Change timeouts to 300 seconds and
4035 document all methods.
4036
4037 2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
4038
4039 * Source/GSString.m: lossyCString_u() handle case where cString
4040 contains more bytes than unicode string has characters.
4041 * Tools/gdomap.c: Suppress unnecessary warnings except under debug.
4042 Implement spawning to run as daemon under windoze.
4043 * Toolds/gdnc.m: Run as daemon under windoze.
4044 * Source/GSTcpPort.m: Fix to stop multiple servers trying to use
4045 the same port under windoze.
4046 * Source/WindowsFileHandle.m: Fix to stop multiple servers trying to use
4047 the same port under windoze. Fix to return gdomap port even if
4048 getservbyname() doesn't.
4049 * Source/UnixFileHandle.m: Fix to return gdomap port even if
4050 getservbyname() doesn't.
4051 * Source/NSTask.m: Try appending .exe extension to paths under windoze.
4052 * Source/Unicode.m: GSFromUnicode() fix lossy conversion for cases
4053 where output encoding can't handle the unicode.
4054
4055 2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
4056
4057 * Source/GSString.m: lossyCString_c() fix in line with recent
4058 changes ... cope with case where internal coding is not same as
4059 external coding.
4060 lossyCString_u() fix encoding used.
4061
4062 2002-03-18 Adam Fedor <fedor@gnu.org>
4063
4064 * Tools/gdomap.c (gdomap_log): Write to stdout if prio=LOG_INFO.
4065
4066 2002-03-18 Richard Frith-Macdonald <rfm@gnu.org>
4067
4068 * Source/Unicode.m: Some boundary error fixes by Alexander Malmberg.
4069 Fixes to encoding table initialisation.
4070 * Source/NSString.m:Fix error in encoding type for initialising from
4071 data. By Alexander Malmberg.
4072 * Source/GSString.m: Correct string length when transmuting an 8-bit
4073 string to a 16-bit string - by Alexander Malmberg.
4074
4075 2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4076
4077 * Source/GSAttributedString.m
4078 ([GSMutableAttributedString -replaceCharactersInRange:withString:]):
4079 Only keep attribute #0 when removing it would remove all attributes.
4080 (patch by Alexander Malmberg)
4081
4082 2002-03-16 Adam Fedor <fedor@gnu.org>
4083
4084 * configure.in: Also configure SSL.
4085
4086 2002-03-16 Richard Frith-Macdonald <rfm@gnu.org>
4087
4088 * Headers/gnustep/base/Unicode.h: Add more options for character
4089 encoding conversion routines.
4090 * Source/GSPrivate.h: Add a couple of private functions for character
4091 encoding management.
4092 * Source/GSString.m: Convert throughoput to use new functions for
4093 converting from one string encoding to another. Make changes to
4094 handle setting of default C string encoding to be an encoding which
4095 is incompatible with internal e-bit string objects.
4096 * Source/NSString.m: ditto
4097 * Source/Unicode.m: new string encoding conversion functions extended
4098 with a few new options. Also fixed some memory allocation bugs to
4099 cure memory leaks.
4100
4101 Rewritten low level support for different character encodings ...
4102 should provide more efficient and maintainable conversion between
4103 encodings and permit use of wide character encodings and encodings
4104 with multibyte sequences as the default C string encoding.
4105 Testing ... minimal ... we could do with decent tests for this stuff.
4106 So this version must be viewed as possibly very unstable!
4107
4108 2002-03-14 Adam Fedor <fedor@gnu.org>
4109
4110 * Version: 1.3.0
4111 * Documentation/install.texi, readme.texi, ...: Updated
4112
4113 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4114
4115 * Source/NSString.m; Bug report by Manuel Guesdon prompted me to
4116 rewrite string trimming extensions. All the tail end trimming
4117 was wrong.
4118 * Source/Unicode.m: Added two new conversion functions ... untested.
4119 The intention is to replace other string conversion with these ones
4120 which should localise memory management issues.
4121
4122 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4123
4124 * Tools/gdomap.c: Tidy a little ... fix non-static declarations.
4125 * Source/NSString.m: ([-initWithData:encoding:]) Correct the length
4126 of the string produced when unicode data is missing its 2 byte
4127 prefix. Simplification of code based on suggestion by Yen-Ju Chen
4128 * Source/GSString.m: Fixes for cString infor from unicode by
4129 Yen-Ju Chen.
4130
4131 Wed Mar 13 16:55:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
4132
4133 * Source/Additions/GSXML.m ([GSSAXHandler
4134 -externalSubset:externalID:ystemID:]): Fixed typo, 'ystemID:'
4135 instead of 'systemID:'.
4136
4137 2002-03-13 Adam Fedor <fedor@gnu.org>
4138
4139 * Tools/gdomap.c (log): Redefine to gdomap_log to avoid conflict
4140 with syslog function on Darwin.
4141
4142 * Source/NSProcessInfo.m (main): Use STRINGIFY to get proper
4143 name of constant string class.
4144
4145 2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
4146
4147 * Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
4148 * Headers/gnustep/base/NSString.h: Remove private class declaration
4149 and hide internals of NXConstantString behind dummy interface while
4150 improving comments. Fix long overdue declaraction of methods in
4151 clsses rather than protocols.
4152 * Source/GSUserDefaults.h: removed
4153 * Source/GSPrivate.h: added
4154 * Source/GSCompatibility.m: fix for hidden private info.
4155 * Source/GSString.m: ditto
4156 * Source/NSArray.m: ditto
4157 * Source/NSCalendarDate.m: ditto
4158 * Source/NSDate.m: ditto
4159 * Source/NSDecimalNumber.m: ditto
4160 * Source/NSDictionary.m: ditto
4161 * Source/NSLog.m: ditto
4162 * Source/NSObjCRuntime.m: ditto
4163 * Source/NSScanner.m: ditto
4164 * Source/NSSerializer.m: ditto
4165 * Source/NSString.m: ditto
4166 * Source/NSUser.m: ditto
4167 * Source/NSUserDefaults.m: ditto
4168 General tidyups to hide some internal workings which should really
4169 not be exposed in public headers.
4170
4171 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4172
4173 * NSTimeZones/NSTimeZones.tar: regenerated with latest data.
4174
4175 2002-03-12 Adam Fedor <fedor@gnu.org>
4176
4177 * Headers/gnustep/base/NSString.h: Add extra ivars needed by Darwin
4178 to NXConstantString.
4179 * Source/GSString.m: ([NXConstantString +initialize]): Remove constant
4180 string class reference setup for Darwin.
4181 * Source/NSProcessInfo.m (main): Put it here.
4182
4183 Tue Mar 12 11:13:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
4184
4185 * Source/Additions/GSXML.m ([-isEqualTo:]): Renamed everywhere to
4186 isEqual:
4187
4188 Tue Mar 12 09:21:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
4189
4190 * Source/NSAssertionHandler.m
4191 ([-handleFailureInMethod:object:file:lineNumber:description:]): Log
4192 if the object is a class or an instance.
4193
4194 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4195
4196 * SSL/configure.in: Check GNUstep directories for headers and
4197 libraries as well as standard system directories.
4198
4199 Tue Mar 12 07:37:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
4200
4201 * Source/Additions/GSXML.m ([GSXMLNode -properties]): Fixed return
4202 type.
4203
4204 2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
4205
4206 * Headers/gnustep/base/NSInvocation.h:
4207 * Headers/gnustep/base/NSNumberFormatter.h:
4208 * Headers/gnustep/base/NSObject.h:
4209 Minor fixes to build with STRICT_OPENSTEP
4210 * Source/NSDistributedNotificationCentre.m: Attempt to start server
4211 automatically for other machines. Improve log messages.
4212
4213 Sat Mar 9 15:21:04 2002 Adam Fedor <fedor@yogi.doc.com>
4214
4215 * Source/NSDistributedNotificationCenter.m (-_connect): Move check
4216 for alternative name so we can get registered.
4217
4218 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4219
4220 * Source/NSDistributedNotificationCentre.m: Try alternative name for
4221 server if NSHost is specified ...in case it is running on another host.
4222
4223 Sat Mar 9 12:02:45 2002 Adam Fedor <fedor@yogi.doc.com>
4224
4225 * configure.in: Change constant string to FooConstantString
4226 * config/config.constant-string-class.m: Work with NeXT_RUNTIME
4227 (patch from Markus Hitter [mah@jump-ing.de]).
4228
4229 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4230
4231 * Source/NSFileManager.m: Change copy so that, if the source argument
4232 is a symbolic link, we copy the link rather than the thing it points
4233 to.
4234 * Tools/gdnc.m: Quick hack to register port with other names is NSHost
4235 is used.
4236
4237 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4238
4239 * Source/Unicode.m: Added BIG5 encoding
4240 * Headers/Foundation/NSString.h: Added BIG5 encoding
4241 * Resources/Languages/Locale.aliases: added traditional chinese
4242 Extensions for traditional chinese requested by Yen-Ju Chen
4243
4244 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4245
4246 * Source/Additions/GNUmakefile: Include ../../base.make
4247 * SSL/GNUmakefile: Include ../base.make
4248 from the makefiles directory for builting standalone.
4249 * Source/Unicode.m: Added some standard string handling for iconv.
4250 * Source/NSString.m: ([-initWithData:encoding:]) return nil on
4251 failure to handle encoding.
4252 * Source/NSMapTable.m: NSMapInsert() fixed to conform to spec.
4253 * Source/NSHashTable.m: NSHashInsert() fixed to conform to spec.
4254 Reports by Alexander Malmberg
4255
4256 2002-03-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4257
4258 * Source/NSRunLoop.m ([NSRunLoop -acceptInputForMode:]):
4259 added a _checkPerformes: call to solve minor issue.
4260 (performers would only be called after an event was received)
4261 (credits to Alexander Malmberg)
4262
4263 2002-03-07 Richard Frith-Macdonald <rfm@gnu.org>
4264
4265 * SSL/Makefile.posramble: store config.h in system specific subdir.
4266 * SSL/Makefile.preamble: Include headers from Source directory
4267 so we pick up GSConfig.h
4268
4269 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4270
4271 * Source/autogsdoc.m: store and fetch dependency info in .igsdoc
4272 so we can parse the correct source files for each header when we
4273 need to.
4274
4275 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4276
4277 * Source/Additions/GNUmakefile: build subproject.
4278 * Source/Additions/Makefile.preamble: set include flags.
4279 * Source/Additions/GSXML.m: moved implementation here.
4280 * Source/Additions/GSMime.m: moved implementation here.
4281 * Source/GNUmakefile: build subproject.
4282
4283 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4284
4285 * GNUmakefile: build SSL aggregate project
4286 * config.mak.in: Remove SSL info
4287 * configure.in: Remove SSL configuration
4288 * configure: Regenerate
4289 * SSL/GNUmakefile: Build SSL bundle
4290 * SSL/GSUnixSSLHandle.m: SSL bundle source from Source directory
4291 * SSL/Makefile.postamble: Build SSL bundle
4292 * SSL/Makefile.preamble: Build SSL bundle
4293 * SSL/config.h.in: Trivial config for SSL bundle
4294 * SSL/config.mak.in: SSL info for building bundle.
4295 * SSL/configure.in: Configuration for SSKL bundle.
4296 * Source/GNUmakefile: Don't build SSL bundle.
4297 * Source/GSUnixSSLHandle.m: Moved to SSL directory.
4298 * Source/Makefile.postamble: Don't build SSL bundle.
4299 * Source/Makefile.preamble: Don't build SSL bundle.
4300 Alterations to make the SSL bundle capable of standalone
4301 building - for use on systems where the base package has
4302 only been installed in binary form.
4303 Initial attempt!
4304
4305 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4306
4307 * Source/GSAttributedString.m: Applied fix for left-over attributes
4308 at end of string. Patch supplied by Alexander Malmberg
4309 <alexander@malmberg.org>. Reformatting to conform to GNUstep
4310 standards, and optimisation by me.
4311
4312 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
4313
4314 * Tools/autogsdoc.m: Output gsdoc as UTF8 as we should.
4315 * Tools/AGSOutput.m: ditto.
4316
4317 2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
4318
4319 * Source/NSUser.m: When reading .GNUsteprc, if a per user version is
4320 not available, use the one in the configured system root directory.
4321
4322 2002-02-28 Adam Fedor <fedor@gnu.org>
4323
4324 * Headers/gnustep/base/objc-gnu2next.h: Add objc-runtime.h
4325 * Source/Makefile.preamble: Add ..DEPEND_UPON for all darwin versions.
4326
4327 * Source/NSPortCoder.m
4328 (-initWithReceivePort:sendPort:components:): Change cast to make
4329 MacOSX compiler happy.
4330
4331 2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
4332
4333 * Source/NSUser.m: rewrite user and defaults root code to standardise
4334 and to use .GNUsteprc configuration. Also permit forcing of fixed
4335 roots at compile time.
4336
4337 Thu Feb 28 16:46:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4338
4339 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Changed
4340 'Apps' to read 'Applications'.
4341
4342 2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4343
4344 * Source/GSString.m ([GSMutableString -substringWithRange:]):
4345 create a new string which size is the range length, not the original
4346 string's length.
4347
4348 2002-02-27 Richard Frith-Macdonald <rfm@gnu.org>
4349
4350 * Tools/gdomap.c: Removed obsolete code for shrinking data structures.
4351 Added memmove() for overlapped memory moves (Alexander Malmberg) and
4352 removed a couple of obsolete functions.
4353 * Source/GSValue.m: attempt to correct encoding.
4354 * Source/NSKeyValueCoding.m: Fix termination of method names with nuls
4355 from report by Manuel Guesdon.
4356 * Source/NSDictionary.m: Implement MacOS-X compatible KVC behavior.
4357 Include webobjects/eof extension, with warnings.
4358 * Headers/Foundation/NSProtocolChecker.h: Change deprecated import to
4359 include.
4360
4361 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4362
4363 * Tools/gdomap.c: Improve fetching interface info on mingw ...
4364 ignore non-internet interfaces.
4365 NB. The mingw winsock2.h header is buggy ... to work properly
4366 you need to change the size of a struct sockaddr field from
4367 sa_data[14] to sa_data[22]
4368
4369 Tue Feb 26 18:01:26 2002 Nicola Pero <nicola@brainstorm.co.uk>
4370
4371 * Source/NSBundle.m: Removed all _releasedBundles machinery.
4372 Removed custom implementation of -release. Retain a bundle after
4373 we load it. This fixes -bundleForClass: and simplifies
4374 considerably the code.
4375
4376 * Source/NSBundle.m: Whenever possible, use [self method] rather
4377 than [NSBundle method] to invoke a class method, for efficiency.
4378
4379 * Source/NSBundle.m (objc_executable_location): Compute directly
4380 from _executable_path - using mainBundle is unsafe.
4381
4382 Tue Feb 26 17:35:03 2002 Nicola Pero <nicola@brainstorm.co.uk>
4383
4384 * Source/NSBundle.m (_bundle_load_callback): Completely ignore
4385 categories. (Suggestion by Gerrit Van Dyk
4386 <GerritVD@decillion.net>).
4387
4388 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4389
4390 * Source/GSTemplateValue.m: Implement initialize method to set the
4391 version of concrete classes to be that of the abstract class which
4392 actually performs encoding/decoding ... should correct archiving.
4393 Problem reported by Gerrit Van Dyk
4394 * Tools/GSIndex.m: tidied a little
4395 * Tools/GSParser.m: mark when things are implemented.
4396 * Tools/GSOutput.m: warn about unimplemented items.
4397
4398 2002-02-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4399
4400 * Source/NSUnarchiver.m
4401 ([NSUnarchiver +classNameDecodedForArchiveClassName:]):
4402 ([NSUnarchiver -classNameDecodedForArchiveClassName:]):
4403 return nil if the class name is not present.
4404
4405 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4406
4407 * Source/GSTcpPort.m: Fixes to work on mingw.
4408 * Source/NSHost.m: Update for current winsock on mingw.
4409 * Source/NSPortNameServer.m: Update for current winsock on mingw.
4410 * Source/WindowsFileHandle.m: Fix to work for basic socket I/O.
4411 * Tools/gdomap.c: many changes ... several fixes to work on mingw
4412 rewrite some clumsy inefficient code, make variables and functions
4413 local. etc.
4414 * Source/NSUnarchiver.m: ([versionForClassName:]) return NSNotFound
4415 if the class name was not present.
4416
4417 Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
4418
4419 * Source/NSBundle.m ([-initWithPath:]): Return nil if the path
4420 can't be read. Fixed memory leak in case of nil argument.
4421 * Headers/gnustep/base/NSBundle.h: Documented some methods.
4422
4423 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4424
4425 * Source/GNUmakefile: Move xml and mime classes into an additional
4426 library, and make base library depend on it. EXPERIMENTAL.
4427 * Tools/gdomap.c: Try to get output working again after last changes.
4428 Add first attempt at MINGW support for getting network interface info.
4429 library, and make base library depend on it.
4430 EXPERIMENTAL - activate using 'make add=yes'
4431
4432 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4433
4434 * Source/NSObject.m: Rewrote key-value coding key manipulation to use
4435 a char array for speed. Moved functions for converting between object
4436 internals in scalar types and NSNumbers etc to NSObjCRuntime.m.
4437 Re-implemented path methods to fix incorrect implementation as pointed
4438 out by Manuel Guesdon.
4439 * Headers/Foundation/NSObjCRuntime.h: New functions from NSObject
4440 * Source/NSObjCRuntime.m: New functions from NSObject
4441 * Source/NSKeyValueCoding.m: Put key value coding methods here for
4442 clarity and ease of documentation.
4443
4444 2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
4445
4446 * Source/NSTask.m: Removed NSLogs() accidantally left in after
4447 debugging. Reported by Fred Kiefer.
4448 * Tools/gdomap.c: Use syslog for logging ... patch by Matthias Klose
4449 <doko@cs.tu-berlin.de> almost entirely rewritten to be portable.
4450 * configure.in: Minor additions for time header/functions
4451 * configure: regenerated
4452
4453 2002-02-23 Richard Frith-Macdonald <rfm@gnu.org>
4454
4455 * Headers/Foundation/NSObjCRuntime.h: Fix error in last change ...
4456 GSSelectorFromName() should not create a new selector while
4457 HSSelectorFromNameAndTypes() should.
4458
4459 2002-02-22 Alexander Malmberg <alexander@malmberg.org>
4460
4461 * Headers/gnustep/base/NSArray.h: insertion position api update.
4462 * Source/NSArray.m: insertion position api update.
4463 * Source/GSArray.m: insertion position api update.
4464 Make insertion position api consistent with sorting api.
4465
4466 2002-02-21 Richard Frith-Macdonald <rfm@gnu.org>
4467
4468 * Source/NSValue.m: Fixed bug in archiving NSValue objects ... was
4469 creating faulty archives which would crash on unarchiving.
4470 * Headers/Foundation/NSObjCRuntime.h: Made GS... function names more
4471 consistent with NeXT/Apple ones. Provide new ivar handling API.
4472 Don't crash when asked for a class which does not exist.
4473 * Source/NSObject.m: partial conversion to new runtime api.
4474 * Source/NSData.m: partial conversion to new runtime api. Don't
4475 raise an exception if a class we are deserializing does not exist.
4476 Just warn and return a nul class.
4477 * Source/NSArchiver.m: better clasname handling.
4478 * Source/NSUnarchiver.m: try to gracefully handle the case where an
4479 archive contains the name of a class we don't have linked in to our
4480 code.
4481 * Source/NSPortCoder.m: ditto.
4482
4483 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4484
4485 * Source/NSUser.m: locking erro fixed by Stephen brandon
4486
4487 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4488
4489 * Headers/Foundation/NSInvocation.h: Remove _argframe ivar
4490 * Source/NSInvocation.m: Simplify by removing _argframe ivar and
4491 using _frame throughout to hold arguments. Fix checks for valid frame.
4492 * Source/callframe.m: Initialise newly created frame with zeros so
4493 that setting an object in an invocation should work when the
4494 invocation is retaining its contents.
4495 * configure.in: Disable ffi and warn about it.
4496 * configure: regenerated
4497 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) block until
4498 limit date even if no I/O is possible.
4499 * Source/NSUserDefaults.m: Patch by Alexander Malmberg to try all
4500 listed locales rather than giving up at first failure.
4501 * Headers/gnustep/base/GSUnion.h: Enclose types bitmask in brackets
4502 to avoid *all* types being included in the union! Should decrease
4503 memory footprint and increase speed of many classes.
4504 * Source/NSString.m: ([stringByStandardizingPath]) memory leak
4505 fixed and windows path check fixed ... patch by Michael Scheibler.
4506 Also commented/documented the method.
4507
4508 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4509
4510 * Source/NSUserDefaults.m: Removed some code that was doing nothing,
4511 and tidied a little.
4512
4513 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4514
4515 * Headers/Foundation/NSPathUtilities.h: GSDefaultsRootForUser()
4516 function added.
4517 * Source/NSUser.m: Many alterations to do with correcting the
4518 file paths used to use GNUSTEP_USER_ROOT, and to get them to
4519 vary nicely when GSSetUserName() is called. Added function
4520 GSDefaultsRootForUser() to get a defaults directory based on
4521 a new environment varibale, or use GNUSTEP_USER_ROOT.
4522 * Source/NSUserDefaults.m: Use GSDefaultsRootForUser()
4523 Fix a few bugs in setting up defaults database.
4524 Move defaults database to the Defaults subdirectory.
4525 * Source/Headers/GSIMap.h: Fix error in last commit.
4526
4527 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4528
4529 * Source/NSString.m: ([stringByExpandingTildeInPath]) fix bug in
4530 handling ~username/... format.
4531 * Headers/Foundation/GSIMap.h: GSIMapCleanMap() rewrote to empty
4532 the map efficiently. Added an option to refrain from calling it
4533 when emptying a map that doesn't need keys and values releasing.
4534 * Source/GSAttributedString.m: don't clean maps on emptying.
4535 * Source/GSFFCallInvocation.m: ditto
4536 * Source/NSArchiver.m: ditto
4537 * Source/NSConnection.m: ditto
4538 * Source/NSObject.m: ditto
4539 * Source/NSPortCoder.m: ditto
4540 * Source/NSSerializer.m: ditto
4541 Changes inspired by Pierre-Tves Rivaille
4542
4543 2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
4544
4545 * Tools/AGSHtml.m: support for merging types and functions etc.
4546 * Tools/AGSIndex.m: ditto
4547 * Tools/AGSOutput.h: ditto
4548 * Tools/AGSOutput.m: ditto
4549 * Tools/autogsdoc.m: ditto
4550 Put stuff in place for merging info
4551 revert key-value coding changes.
4552 * Source/NSString.m: Fix bug in datausingEncoding:allowLossyConversion:
4553 pointed out by Stephen Brandon.
4554
4555 Mon Feb 11 15:11:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4556
4557 * Source/GSString.m (NSImmutableString): Implemented copy,
4558 copyWithZone:, mutableCopy, mutableCopyWithZone:, so that the
4559 string can be copied, and the copy no longer tracks the parent.
4560
4561 2002-02-10 Michael Hanni <mhanni@sprintmail.com>
4562
4563 * Source/NSObjCRuntime.m: changed NSAssert() to NSCAssert() from
4564 last change. Also added NSException.h include to make compile
4565 correctly and quietly.
4566
4567 2002-02-10 Manuel Guesdon <mguesdon@orange-concept.com>
4568
4569 * Source/NSObject.m: changes to enable derived object KeyValueCoding
4570 process chnages (EOGenericRecord for example).
4571 o added:
4572 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4573 _getValueForKey:selector:type:size:offset:
4574 _setValueForKey:object:selector:type:size:offset:
4575 _handleQueryWithUnboundKey:
4576 _handleTakeValue:forUnboundKey:
4577 o modified:
4578 storedValueForKey:
4579 takeStoredValue:forKey:
4580 valueForKey:
4581 takeValue:forKey:
4582 To use added method.
4583 * Source/NSObjCRuntime.m:
4584 o added NSAssert in GSGetInstanceVariable() and
4585 GSSetInstanceVariable()
4586 * Headers/gnustep/base/NSKeyValueCoding:
4587 o added:
4588 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4589 _getValueForKey:selector:type:size:offset:
4590 _setValueForKey:object:selector:type:size:offset:
4591 _handleQueryWithUnboundKey:
4592 _handleTakeValue:forUnboundKey:
4593
4594 Sat Feb 9 01:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
4595
4596 * Source/NSBundle.m ([+bundleForTool:]): Removed. We switch to a
4597 better API, which is to have a tool use +mainBundle, in the same
4598 way as applications do, to retrieve the main resource bundle for
4599 itself.
4600 ([+mainBundle]): Modified to support tools as well as
4601 applications.
4602 * Headers/gnustep/base/NSBundle.h ([+bundleForTool:]): Removed.
4603
4604 2002-02-08 Richard Frith-Macdonald <rfm@gnu.org>
4605
4606 * Headers/Foundation/NSTask.h: New method -validatedLaunchPath to
4607 check that an executable exists at the specified path or any
4608 alternative version corresponding to host, OS, and library-combo
4609 directories. Returns the actual path to the binary.
4610 * Source/NSTask.m: Implemented new mathod and added autogsdoc
4611 comments.
4612 * Source/NSBundle.m: Cotrrected error in comments.
4613
4614 2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
4615
4616 * Headers/Foundation/NSString.m: Additioanl method -immutableProxy
4617 * Source/NSString.m: ditto
4618 * Source/GSString.m: New classes for immutable proxy, one generic
4619 version, and one efficient version for accessing the main GNUstep
4620 mutable striong objects.
4621 * Source/GSAttributedString: use immutable proxy.
4622 New code to provide a proxy for a mutable string which will provide
4623 read-only access to it.
4624
4625 2002-02-05 Richard Frith-Macdonald <rfm@gnu.org>
4626
4627 * Source/NSString.m: ([-rangeOfCharacterFromSet:options:range:])
4628 fix to return NSNotFound as location if character not present -
4629 bug reported by Nicola Pero.
4630
4631 2002-02-04 Richard Frith-Macdonald <rfm@gnu.org>
4632
4633 * Tools/gsdoc.m: loader() if entity id is missing, try to load url as
4634 a file.
4635 * Tools/AGSParser.m: Fixes for handling typedefs, constants, varibales
4636 and functions.
4637 * Tools/AGSOutput.[hm]: ditto
4638 * Tools/AGSHtml.m: ditto
4639 Preliminary support for C language added.
4640
4641 2002-02-03 Richard Frith-Macdonald <rfm@gnu.org>
4642
4643 * Source/GNUmakefile: use -WordMap flag with autogsdoc to cope with
4644 C-preprocessor constants that would otherwise confuse parsing.
4645 * Source/NSDictionary.m: Tidy to match interface.
4646 * Source/NSDistantObject.m: Tidy to match interface.
4647 * Source/NSPortCoder.m: Tidy to match interface.
4648 * Source/NSScanner.m: Tidy to match interface. Remove some illegal
4649 semicolons after method names.
4650 * Source/NSTimer.m: Tidy to match interface.
4651 * Tools/AGSParser.h: Handle word mappings.
4652 * Tools/AGSParser.m: Handle word mappings and deal with function
4653 attributes.
4654 * Tools/autogsdoc.m: Handle word mappings and make default logging
4655 less verbose.
4656
4657 2002-02-02 Richard Frith-Macdonald <rfm@gnu.org>
4658
4659 * Source/NSObject.m: Fix some maptable problems when using non-local
4660 reference counts.
4661 * Source/NSMapTable.m: Improve warning logging for dodgy practices.
4662 * Source/NSHashTable.m: ditto
4663 * Tools/AGSHtml.m: A couple of minor fixes for systems where the xml
4664 parser does not discard whitespace as it should.
4665
4666 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4667
4668 * Documentation/manual: New directory containing Objective-C and
4669 GNUstep-base programming manual/tutorial produced at Brainstorm.
4670 The intention was to produce a pretty complete manual and then
4671 release it, but we ran out of funding, so I'm releasing the work
4672 to date.
4673 * Source/NSObject.m: Go back to using local refcounts now that new
4674 map table code is thoroughly tested.
4675
4676 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4677
4678 * Source/Makefile.preamble: remove old GSI api support
4679 * Headers/Foundation/NSHashTable.h: ditto
4680 * Headers/Foundation/NSMapTable.h: ditto
4681
4682 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4683
4684 * Source/GSAttributedString.m: Move to assuming new GSI api.
4685 * Source/NSHashTable.m: ditto
4686 * Source/NSMapTable.m: ditto
4687 * Source/GSCountedSet.m: ditto
4688 * Source/GSDictionary.m: ditto
4689 * Source/GSFFCallInvocation.m: ditto
4690 * Source/NSArchiver.m: ditto
4691 * Source/NSConnection.m: ditto
4692 * Source/NSFileManager.m: ditto
4693 * Source/NSNotificationCenter.m: ditto
4694 * Source/NSObject.m: ditto
4695 * Source/NSPortCoder.m: ditto
4696 * Source/NSRunLoop.m: ditto
4697 * Source/NSSerializer.m: ditto
4698 * Source/NSUnarchiver.m: ditto
4699
4700 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4701
4702 * Source/NSHashTable.m: Fixed bug intorduced by last change to add
4703 error checking!!
4704 * Source/GSAttributedString.m: Make new or old GSI stuff optional.
4705 * Source/GSCountedSet.m: ditto
4706 * Source/GSDictionary.m: ditto
4707 * Source/GSFFCallInvocation.m: ditto
4708 * Source/NSArchiver.m: ditto
4709 * Source/NSConnection.m: ditto
4710 * Source/NSFileManager.m: ditto
4711 * Source/NSNotificationCenter.m: ditto
4712 * Source/NSObject.m: ditto
4713 * Source/NSPortCoder.m: ditto
4714 * Source/NSRunLoop.m: ditto
4715 * Source/NSSerializer.m: ditto
4716 * Source/NSUnarchiver.m: ditto
4717 Interim phase ... version of source which should build with new or
4718 old GSIMap and GSIArray APIs at the defination of GSI_NEW
4719
4720 2002-01-31 Adam Fedor <fedor@gnu.org>
4721
4722 * Old/*: Removed (now at
4723 ftp://ftp.gnustep.org/pub/gnustep/old/gnustep-obsolete.tar.gz).
4724
4725 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4726
4727 * Source/NSMapTable.m:
4728 * Source/NSHashTable.m: Add checks for nul tables and either log
4729 warnings and be tolerant, or raise exceptions.
4730
4731 Thu Jan 31 15:35:21 2002 Nicola Pero <nicola@brainstorm.co.uk>
4732
4733 * Source/NSObject.m ([-doesNotRecognizeSelector:]): Modified
4734 exception message to print out if we are an instance or a class
4735 object. For example, no longer 'IvarProxy does not recognize
4736 initWithClass:' but rather 'IvarProxy(class) does not recognize
4737 initWithClass:'.
4738 ([-doesNotRecognize:]): Idem.
4739 ([-subclassResponsibility:]): Similar change.
4740 ([-shouldNotImplement:]): Similar change.
4741 ([-notImplemented:]): Similar change.
4742
4743 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4744
4745 * Headers/gnustep/base/GSIArray.h: Use array as parameter to macros.
4746 * Source/GSAttributedString.m: Update for GSIArray change.
4747 * Source/GSCountedSet.m: Update for GSIArray change.
4748 * Source/GSDictionary.m: Update for GSIArray change.
4749 * Source/GSFFCallInvocation.m: Update for GSIArray change.
4750 * Source/NSArchiver.m: Update for GSIArray change.
4751 * Source/NSConnection.m: Update for GSIArray change.
4752 * Source/NSFileManager.m: Update for GSIArray change.
4753 * Source/NSNotificationCenter.m: Update for GSIArray change.
4754 * Source/NSObject.m: Update for GSIArray change.
4755 * Source/NSPortCoder.m: Update for GSIArray change.
4756 * Source/NSRunLoop.m: Update for GSIArray change.
4757 * Source/NSSerializer.m: Update for GSIArray change.
4758 * Source/NSUnarchiver.m: Update for GSIArray change.
4759
4760 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4761
4762 * Headers/Foundation/NSRunLoop.h: Go back to new version.
4763 * Source/NSRunLoop.m: Back to new (hopefully bug-free) version ...
4764 fixed a fence-post error in examining descriptors. Enabled poll()
4765 support if the O/S supports it. Converted to use standard debug
4766 logging keyed on NSRunLoop. Fixed poll code to call any available
4767 event handler when an error occurs on a descriptor.
4768 * configure.in: Improve check for sa_len
4769
4770 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4771
4772 * Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add
4773 option to specify type of enumerator structure externally.
4774 * Headers/gnustep/base/NSHashTable.h: Modify to conform to MacOS-X
4775 documentation and to work with GSIMAP stuff.
4776 * Headers/gnustep/base/NSMapTable.h: ditto
4777 * Headers/gnustep/base/o_array.h: deleted
4778 * Headers/gnustep/base/o_cbs.h: deleted
4779 * Headers/gnustep/base/o_hash.h: deleted
4780 * Headers/gnustep/base/o_list.h: deleted
4781 * Headers/gnustep/base/o_map.h: deleted
4782 * Headers/gnustep/base/o_x_bas.h.in: deleted
4783 * Headers/gnustep/base/o_x_cbs.h.in: deleted
4784 * Source/GNUmakefile: Remove o_... rules
4785 * Source/GSTcpPort.m: Remove unused include file
4786 * Source/Makefile.postamble: remove o_... rules
4787 * Source/NSCallBacks.h: Remove o_... info
4788 * Source/NSCallBacks.m: remove o_... info
4789 * Source/NSHashTable.m: Rewrite to use GSIMAP
4790 * Source/NSMapTable.m: Rewrite to use GSIMAP
4791 * Source/NSObject.m: Use GSIMAP for reference counts.
4792 * Source/NSRunLoop.m: Fix function prototypes for map table callbacks.
4793 * Source/externs.m: Remove o_... stuff and tidy callbacks.
4794 * Source/o_array.m: deleted
4795 * Source/o_cbs.m: deleted
4796 * Source/o_cbs_char_p.m: deleted
4797 * Source/o_cbs_id.m: deleted
4798 * Source/o_cbs_int.m: deleted
4799 * Source/o_cbs_int_p.m: deleted
4800 * Source/o_cbs_void_p.m: deleted
4801 * Source/o_hash.m: deleted
4802 * Source/o_list.m: deleted
4803 * Source/o_map.m: deleted
4804 * Source/o_x_bas.m.in: deleted
4805 * Source/o_x_cbs.m.in: deleted
4806 Masses of changes to simplify codebase and standardise all maptable
4807 code. Hopefully, the new NSMapTable code now conforms to the spec.
4808
4809 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4810
4811 * Headers/Foundation/NSRunLoop.h: revert
4812 * Source/NSRunLoop.m: revert
4813 Revert to earlier version temporarily, while I try to track down
4814 an obscure bug causing problems with some DO applications.
4815
4816 Tue Jan 29 13:49:23 2002 Nicola Pero <nicola@brainstorm.co.uk>
4817
4818 * configure.in: Removed garbage left over - doubled message
4819 for objc thread flags checking.
4820 * configure: Regenerated.
4821
4822 Tue Jan 29 10:57:30 2002 Nicola Pero <nicola@brainstorm.co.uk>
4823
4824 * Makefile.postamble (configure): Rule removed. It was causing
4825 problems on systems without autoconf.
4826 (base.make, config.mak): Do not depend on configure.
4827
4828 2002-01-29 Richard Frith-Macdonald <rfm@gnu.org>
4829
4830 * Headers/Foundation/NSRunLoop.h: More updates to ivars.
4831 * Headers/Foundation/NSRunLoop.m: Completed re-entrancy fixes in
4832 (I hope) a reasonably efficient manner.
4833
4834 2002-01-28 Richard Frith-Macdonald <rfm@gnu.org>
4835
4836 * Headers/Foundation/NSRunLoop.h: Removed previously deprecated methods.
4837 Completely changed ivar layout.
4838 * Headers/Foundation/NSRunLoop.m: Removed previously deprecated methods.
4839 Completely changed ivar layout. Modified most methods to work with
4840 changed ivar layout. Now stores per-mode context information in a
4841 new GSRunLoopCtxt class - one instance for each mode used in each
4842 runloop instance. Rewrite select() and poll() based mechanisms
4843 using the new class - should hopefully be more efficient and fix
4844 minor and obscure problems with re-entrancy.
4845 ### WARNING ... radical change ... may be buggy ... WARNING ###
4846
4847 2002-01-23 Kaelin Colclasure <kaelin@acm.org>
4848
4849 * configure.in: Check for poll(2) system call and header file.
4850 * configure: Regenerated.
4851 * config.h.in: Regenerated.
4852 * Source/NSRunLoop.m ([-acceptInputForMode:beforeDate:]):
4853 Refactored to put all code specific to the select(2) system call
4854 into a separate method.
4855 ([-_pollInputForMode:withTimeout:]): New private method with two
4856 implementations. If HAVE_POLL is defined, the poll version is
4857 used. Otherwise, we fall back to select.
4858
4859 2002-01-25 Richard Frith-Macdonald <rfm@gnu.org>
4860
4861 * acconfig.h: Add HAVE_SA_LEN
4862 * configure.in: Check for sa_len in sockaddr in struct ifreq
4863 * configure: regenerate
4864 * Headers/gnustep/base/config.h.in: regenerate
4865 * Tools/gdomap.c: Add patch by Pete French <pete@twisted.org.uk>
4866 to handle variable length socket addresses ... modified to work
4867 with the rest of the world where we don't have such things.
4868
4869 2002-01-24 Richard Frith-Macdonald <rfm@gnu.org>
4870
4871 * Source/NSRunLoop.m: Correct returns from within exception handler.
4872 * Source/NSUserDefaults.m: use NSDefaultRunLoopMode.
4873 * Headers/gnustep/unicode/gsm0338.h: New character set mapping.
4874 * Source/Unicode.m: Add support for the GSM default alphabet.
4875 * Headers/gnustep/base/GSIMap.h: Add support for macros update when
4876 built with GSM_NEW defined (for use with NSMapTable in future).
4877 Various source files updated to use new GSI macros.
4878
4879 Mon Jan 21 17:08:42 2002 Nicola Pero <nicola@brainstorm.co.uk>
4880
4881 * Source/Makefile.postamble (after-uninstall): Removed GSConfig.h
4882 and mframe.h when uninstalling.
4883
4884 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4885
4886 * Source/NSRunLoop.m: Wrap code in exception handlers to reset current
4887 runloop mode if an exception occurs ... may remove this again if the
4888 performance is too bad.
4889 Use initialiser for NSTimer to avoid having to put timers into the
4890 autorelease pool.
4891 * Headers/Foundation/NSTimer.h: Expose GNUstep initialiser since
4892 OpenStep and MacOS-X don't have one.
4893
4894 Wed Jan 16 13:46:24 2002 Nicola Pero <nicola@brainstorm.co.uk>
4895
4896 Fixed dynamical loading of frameworks.
4897 * Source/NSBundle.m ([-_addFrameworkForClass:]): Fixed, should never
4898 be run during dynamical loading.
4899 * Source/NSBundle.m (_bundle_load_callback): Major simplification.
4900 Most code removed. Should run faster too.
4901 ([-load]): Do not DESTROY _bundle_load_callback's related
4902 variables.
4903
4904 Wed Jan 16 12:30:20 2002 Nicola Pero <nicola@brainstorm.co.uk>
4905
4906 * Source/NSBundle.m (_addFrameworkFromClass:): Fixed third argument
4907 of strncmp to be 12, not 12*sizeof(char).
4908
4909 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4910
4911 * Source/NSRunLoop.m: Modify to have a nil current mode if the loop
4912 is not running (MacOS-X compatibility) and documented the change
4913 for autogsdoc.
4914
4915 Tue Jan 15 02:53:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
4916
4917 * Source/Makefile.postamble (after-distclean): Always remove
4918 SSL.bundle, regardless of any flags.
4919
4920 2002-01-13 Richard Frith-Macdonald <rfm@gnu.org>
4921
4922 * Tools/AGSParser.m: Mostly implemented parsing of C declarations
4923 (function, typedef, constant and variable).
4924
4925 2002-01-11 Richard Frith-Macdonald <rfm@gnu.org>
4926
4927 * Headers/Foundation/NSArchiver.h: tidyups
4928 * Source/NSDictionary.m: tidyups
4929 * Tools/AGSParser.m: a couple of declaration parsing fixes added,
4930 along with quite a bit of debugging. Function declaration parsing
4931 not yet working.
4932
4933 2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
4934
4935 * Source/NSDistributedNotificationCentre.m: Use NSHost user default
4936 to determine which server to connect to.
4937 * Tools/AGSParser.m: Minor parsing fixes ... correct GS_EXPORT
4938
4939 Wed Jan 9 11:55:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
4940
4941 * configure.in: Call AC_CONFIG_AUX_DIR with
4942 $GNUSTEP_SYSTEM_ROOT/Makefiles arg so that gnustep-make's
4943 config.guess and config.sub are used.
4944 * configure: Regenerated.
4945 * config.guess: Removed.
4946 * config.sub: Removed.
4947 * install-sh: Removed.
4948 * mkinstalldirs: Removed.
4949 * Source/mframe/configure.in: Set AC_CONFIG_AUX_DIR to
4950 $GNUSTEP_SYSTEM_ROOT/Makefiles.
4951 * Source/mframe/configure: Regenerated.
4952 * Source/mframe/config.guess: Removed.
4953 * Source/mframe/config.sub: Removed.
4954
4955 Wed Jan 9 11:08:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
4956
4957 * config.guess: Updated to latest version.
4958 * config.sub: Idem.
4959
4960 2002-01-08 Richard Frith-Macdonald <rfm@gnu.org>
4961
4962 * Tools/AGSHtml.h:
4963 * Tools/AGSHtml.m:
4964 * Tools/AGSIndex.h:
4965 * Tools/AGSIndex.m:
4966 * Tools/AGSOutput.h:
4967 * Tools/AGSOutput.m:
4968 * Tools/AGSParser.h:
4969 * Tools/AGSParser.m:
4970 * Tools/autogsdoc.m:
4971 * Tools/gsdoc-0_6_7.dtd:
4972 Updated for several changes ...
4973 Support documentation of instance variables
4974 Index class and category method names identically
4975 Extend index to have a listing of methods by unit
4976 Extend index to have a listing of ivariablese by class
4977 Use new extensions to double speed of generation of method
4978 indexes for classes.
4979
4980 2002-01-07 Adam Fedor <fedor@gnu.org>
4981
4982 * Version: 1.1.0
4983 * Documentation/news.texi: Update
4984
4985 * Source/NSObject.m (GSGetValue): Add case for void return
4986 (suggestion from ml@sbuilders.com).
4987
4988 * Resources/Languages/Dutch: Change currency to Euro.
4989 * Resources/Languages/French: Likewise.
4990 * Resources/Languages/German: Likewise.
4991 * Resources/Languages/Italian: Likewise.
4992 * Old languages files renamed to *.Old
4993
4994 2002-01-07 Richard Frith-Macdonald <rfm@gnu.org>
4995
4996 * Tools/AGSHtml.m: Minor speedup.
4997 * Tools/AGSOutput.m: Put something in place of empty descriptions.
4998 * Tools/AGSParser.m: Rewrite handling of standards information to fix
4999 bug in NO_GNUSTEP handling.
5000 * Source/GNUmakefile: Don't document concrete number stuff ... not
5001 public.
5002
5003 Sun Jan 6 22:33:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
5004
5005 * Tools/HTMLLinker.m: Rewritten to fixup links by link name rather
5006 than link file. Can now be used to link HTML files generated by
5007 autogsdoc.
5008 * Tools/HTMLLinker.html: Updated for changes.
5009 * Tools/GNUmakefile: Install HTMLLinker.html.
5010
5011 2002-01-06 Richard Frith-Macdonald <rfm@gnu.org>
5012
5013 * Tools/autogsdoc.m: Minor bugfix ... any .h file processed should
5014 also be processed as a .gsdoc file to produce indexes and html.
5015 * Tools/AGSHtml.m: List *all* methods for a class in its method
5016 summary, even if they are in categories or are documented in
5017 other files.
5018
5019 2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
5020
5021 * Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
5022 Change mechanism for handling multiple source files for one header
5023 (need capability to write dependency rules for make).
5024 * Tools/AGSParser.[hm]: Add mechanism to return list of source
5025 files on which a document depends.
5026 * Tools/gsdoc-0_6_7.dtd: Permit wider use of index element.
5027 * Tools/AGSHtml.m: ditto, and support indexing of category methods
5028 along with class methods.
5029 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Remove the SourceDirectory
5030 option ... now assumed to be the current directory for simplicity.
5031 * Source/Base.gsdoc: Add class and protocol indexes.
5032
5033 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5034
5035 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Fix to use
5036 -HeaderDirectory and -SourceDirectory to get docs to build again...
5037 hopefully with both sets of make rules.
5038
5039 Fri Jan 4 15:44:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5040
5041 * base.make.in (GNUSTEP_BASE_HAVE_LIBXML): Define.
5042 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Do not use
5043 -HeaderDirectory.
5044 (Base_HEADER_FILES_DIR): Define.
5045 * Source/GNUmakefile: Include documentation.make only if doc=yes
5046 is passed on the command line.
5047 * Tools/GNUmakefile: Idem.
5048
5049 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5050
5051 * Tools/autogsdoc.m: Rearrange code somewhat and remove auto
5052 generation of index and 'up' links ... now requires an explicit
5053 -Up if you want one. Fix to support multiple source files parsed
5054 per interface file.
5055 * Tools/GNUmakefile: Add -Up for documentation generation
5056 * Source/GNUmakefile: ditto
5057
5058 Fri Jan 4 11:42:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
5059
5060 * Tools/HTMLLinker.m: Implemented -FixupAllLinks, -PathMappings,
5061 -PathMappingsFile options. Made -CheckLinks default to YES.
5062 Added support for specifying a directory as input or destination
5063 file, meaning all html files found in the directory. Never
5064 attempt to fixup links starting with mailto: or news: or without a
5065 filename, even if running with -FixupAllLinks YES.
5066 * Tools/HTMLLinker.html: New file.
5067
5068 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5069
5070 * Source/autogsdoc.m: Fixup bug in html relocation code ... was
5071 failing to adjust string length variable correctly.
5072
5073 2002-01-03 Adam Fedor <fedor@gnu.org>
5074
5075 * Headers/gnustep/base/NSString.h: Extern constant string class
5076 reference for Darwin added.
5077 * Source/GSString.m ([NXConstantString +initialize]): Setup constant
5078 string class reference variable for Darwin.
5079 * Source/NSObject.m: Don't put reference count and zone with object
5080 on Darwin.
5081 * Source/behavior.m (NeXT_RUNTIME/behavior_class_add_class): Use NeXT
5082 runtime functions. Pass only one method_list at a time.
5083 (NeXT_RUNTIME/behavior_class_add_methods): Only look at one
5084 method_list at a time.
5085 (NeXT_RUNTIME/search_for_method_in_list): Use NeXT runtime functions.
5086
5087 Thu Jan 3 19:38:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
5088
5089 * Tools/HTMLLinker.m: New tool.
5090 * Tools/GNUmakefile: Compile the new tool.
5091 * Tools/Makefile.preamble (ADDITIONAL_OBJCFLAGS): Use -Wall.
5092
5093 2002-01-03 Adam Fedor <fedor@gnu.org>
5094
5095 * Source/GSFFCallInvocation.m (gs_method_for_receiver_and_selector):
5096 Correct test for class.
5097
5098 * Source/GNUmakefile (AUTHORS): Remove target.
5099 * AUTHORS: Remove.
5100 * Admin/: Remove.
5101 * configure.bat: Likewise.
5102
5103 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5104
5105 * Header/Foundation/GSXML.h: Correction standards complience
5106 * Source/GSXML.m: A few documentation tidyups
5107 * Tools/autogsdoc.m: Some tidyups for improved performance
5108 and added code to relocate html documents.
5109 * Source/AGSIndex.[hm]: Minor API change to ease index handling,
5110 bugfix for class index generation.
5111 * Source/AGSHtml.m: Made index handling more consistent.
5112
5113 2002-01-02 Adam Fedor <fedor@gnu.org>
5114
5115 * configure.in: Show openssl as enabled by default in help. Check for
5116 more headers.
5117 * Source/NSTask.m: Move #includes to front, remove redundancies.
5118
5119 * Source/GSXML.m ([(non-libxml)GSXMLNode +forwardInvocation]):
5120 Implement.
5121
5122 * Documentation/GNUmakefile: Remove gnustep-base.texi
5123 * Documentation/install.texi: Update.
5124 * Documentation/news.texi: Likewise.
5125
5126 * Tools/autogsdoc.m (main): When no libxml, abort with a useful error
5127 message.
5128
5129 2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
5130
5131 * Source/GSXML.m: Tidied some methods and added autogsdoc comments.
5132 * Source/NSData.[hm]: implement ([-writeToURL:atomically:])
5133 * Source/GSXML.[hm]: Tidy document API to be more consistent
5134 with other classes. Add some autogsdoc comments.
5135 * Tools/AGSIndex.m: Bugfix in setting links to superclasses.
5136 * Tools/AGSOutput.m: Infinite recursion fix.
5137
5138 2002-01-01 Richard Frith-Macdonald <rfm@gnu.org>
5139
5140 * Source/GNUmakefile: Use new -Standards flag for autogsdoc
5141 * Tools/AGSparser.[hm]: New support for standards and some tidyups
5142 * Tools/AGSHtml.[hm]: Improved output and simplified a little.
5143 * Tools/autogsdoc.m: New Standards flag to turn on support for
5144 generation of standards complience notes in documentation.
5145
5146 Tue Jan 1 11:18:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
5147
5148 * Source/NSFileManager.m (custom_strdup): New inline function
5149 to simplify code. (append_file_to_path): Use it.
5150 ([NSDirectoryEnumerator -initWithDirectoryPath:
5151 recurseIntoSubdirectories:followSymlinks:justContents:]):
5152 Idem.
5153 ([NSDirectoryEnumerator -nextObject]): Fixed memory leak (Reported
5154 by Brian Alliet <brian@brian-web.com>).
5155
5156 2001-12-31 Richard Frith-Macdonald <rfm@gnu.org>
5157
5158 * Source/behavior.m: behavior_class_add_methods() bugfix to ensure
5159 that despatch table is updated properly.
5160 search_for_method_in_list() deleted ... use version in gnu runtime.
5161 * Source/NSUserDefaults.m: Removed use of distributed lock ... we
5162 use atomic writes to file, so we don't need it. Also restructured
5163 a little to reduce file accesses when synchronising. Also tidied
5164 comments a little for autogsdoc.
5165
5166 2001-12-29 Adam Fedor <fedor@gnu.org>
5167
5168 * Source/behavior.m (class_add_behavior): Add depreciated function
5169 back.
5170
5171 2001-12-27 Adam Fedor <fedor@gnu.org>
5172
5173 * Headers/gnustep/base/objc-gnu2next.h: Disable __builtin functions
5174 for GCC < 3.x (darwin).
5175
5176 * Headers/gnustep/base/behavior.h: New defs for darwin/NeXT. Remove
5177 depreciated function.
5178 * Source/GSSet.m (+initialize): Use new behavior function in place
5179 of depreciated one.
5180 * Source/behavior.m (behavior_class_add_class): On darwin, allow
5181 NXConstantString class to increase in size.
5182 (behavior_class_add_category): New/rewrite for darwin methodLists
5183 structure.
5184 (behavior_class_add_methods): Likewise.
5185 (search_for_method_in_list): Likewise.
5186
5187 * Source/NSObject.m: Move ALIGN definition outside of #if
5188 (NSDecrementExtraRefCountWasZero): Change NSAssert to NSCAssert.
5189
5190 * Source/mframe.m (method_types_get_first_argument): Use
5191 method_types_get_next_argument.
5192
5193 * Source/Makefile.preamble: Additional flags for darwin linking.
5194
5195 * Source/libgnustep-base.def: Updated for new/removed classes.
5196
5197 2001-12-26 Richard Frith-Macdonald <rfm@gnu.org>
5198
5199 * Tools/autogsdoc.m: Add options for better control of index file and
5200 turning off dependency checking (for slightly more efficient running
5201 under make). Also added flag to enable/disable html generation.
5202 * Tools/AGSHtml.m: Fix a few errors in achnors and links to document
5203 titles.
5204
5205 2001-12-22 Richard Frith-Macdonald <rfm@gnu.org>
5206
5207 * Tools/autogsdoc.m: Fix bug in handling args introduceed by last
5208 modification. Removed next and prev linkage at Nicolas suggestion.
5209
5210 2001-12-21 Richard Frith-Macdonald <rfm@gnu.org>
5211
5212 * Tools/autogsdoc.m: Simplify file processing and cleanup so that
5213 spurious linkage and indexing is not done when run on a single file.
5214
5215 Fri Dec 21 13:50:50 2001 Nicola Pero <nicola@brainstorm.co.uk>
5216
5217 * Source/NSBundle.m ([+bundleForLibrary:]): New method.
5218 ([+bundleForTool:]): New method.
5219 * Headers/gnustep/base/NSBundle.h: Declare them.
5220
5221 Fri Dec 21 11:48:49 2001 Nicola Pero <nicola@brainstorm.co.uk>
5222
5223 * NSTimeZones/Makefile.postamble (timezonedir, before-install):
5224 Unused targets removed.
5225
5226 2001-12-19 Richard Frith-Macdonald <rfm@gnu.org>
5227
5228 * Source/GSXML.m: Check validation status at parse completion.
5229 * Source/NSUserDefaults.m: Ensure flags are initialised.
5230 * Source/GSCompatibility.m: Set GNUstep DTD for propertyLists.
5231 * Tools/plist-0_9.dtd: GNUstep property list DTD.
5232 * Source/autogsdoc.m: Improve dependency checking ... only regenerate
5233 project index when necessary, thus avoiding some gsdoc file parsing.
5234
5235 Wed Dec 19 02:17:09 2001 Nicola Pero <n.pero@mi.flashnet.it>
5236
5237 * Source/NSThread.m (GSRegisterCurrentThread): Use @defs to
5238 access protected variables of NSThread otherwise GCC 3.1 refuses to
5239 compile it.
5240 (GSUnregisterCurrentThread): Idem.
5241
5242 Tue Dec 18 18:02:07 2001 Nicola Pero <n.pero@mi.flashnet.it>
5243
5244 * Source/NSObject.m ([+conformsToProtocol:]): Fixed - it was
5245 checking that the metaclass conforms to the protocol rather than
5246 the class, which was causing it to fail for protocols implemented
5247 in categories.
5248
5249 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5250
5251 Many source files modified to contain date, version, and title info.
5252 * Tools/AGSHtml.m: Fix 'standards' output. Implement date and version.
5253 * Tools/AGSOutput.m: Add 'standards' support for class, category,
5254 and protocol. Use new standards info from parser.
5255 * Tools/AGSParser.h: New method to set current standards.
5256 * Tools/AGSParser.m: Implement simplistic parsing of preprocessor
5257 conditionals to set current standards based on STRICT_MACOS_X,
5258 STRICT_OPENSTEP, and NO_GNUSTEP. The presence of <standards>
5259 markup in the comments still takes precedence over this mechanism.
5260
5261 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5262
5263 * Source/GSXML.m: Bugfixes in setting parse behavior ... now turns
5264 on validation properly.
5265 * Tools/gsdoc-0_6_7.dtd: added 'scope' to index element and
5266 added a 'title' type to list files in a project.
5267 * Tools/AGSHtml.h:
5268 * Tools/AGSHtml.m: Output tidyups and general format improvements.
5269 Add links to other documents in project. Add support for 'index'
5270 element with both file and project scope.
5271 * Tools/autogsdoc.m: Clean up a little and handle gsdoc files
5272 listed as source files better .... now looks for them in the
5273 source directory. Added automatic generation of an 'index' file
5274 for a project where the first source file listed in the project
5275 is not a gsdoc file.
5276
5277 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5278
5279 * Headers/gnustep/base/GSMime.h: Updates for autogsdoc
5280 * Headers/gnustep/base/GSXML.h: ditto
5281 * Headers/gnustep/base/NSArray.h: ditto
5282 * Headers/gnustep/base/NSAttributedString.h: ditto
5283 * Headers/gnustep/base/NSAutoreleasePool.h: ditto
5284 * Headers/gnustep/base/NSCalendarDate.h: ditto
5285 * Headers/gnustep/base/NSCharacterSet.h: ditto
5286 * Headers/gnustep/base/NSCoder.h: ditto
5287 * Headers/gnustep/base/NSConnection.h: ditto
5288 * Headers/gnustep/base/NSData.h: ditto
5289 * Headers/gnustep/base/NSDate.h: ditto
5290 * Headers/gnustep/base/NSDistantObject.h: ditto
5291 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto
5292 * Headers/gnustep/base/NSInvocation.h: ditto
5293 * Headers/gnustep/base/NSLock.h: ditto
5294 * Headers/gnustep/base/NSMethodSignature.h: ditto
5295 * Headers/gnustep/base/NSNotification.h: ditto
5296 * Headers/gnustep/base/NSObject.h: ditto
5297 * Headers/gnustep/base/NSProxy.h: ditto
5298 * Headers/gnustep/base/NSRunLoop.h: ditto
5299 * Headers/gnustep/base/NSSet.h: ditto
5300 * Headers/gnustep/base/NSTimeZone.h: ditto
5301 * Headers/gnustep/base/NSTimer.h: ditto
5302 * Headers/gnustep/base/NSURL.h: ditto
5303 * Headers/gnustep/base/NSUndoManager.h: ditto
5304 * Headers/gnustep/base/NSUserDefaults.h: ditto
5305 * Headers/gnustep/base/NSValue.h: ditto
5306 * Source/GSArray.m: ditto
5307 * Source/GSAttributedString.m: ditto
5308 * Source/GSCompatibility.m: ditto
5309 * Source/GSCountedSet.m: ditto
5310 * Source/GSDictionary.m: ditto
5311 * Source/GSFFCallInvocation.m: ditto
5312 * Source/GSFFIInvocation.m: ditto
5313 * Source/GSFormat.m: ditto
5314 * Source/GSHTTPURLHandle.m: ditto
5315 * Source/GSLocale.m: ditto
5316 * Source/GSMime.m: ditto
5317 * Source/GSSet.m: ditto
5318 * Source/GSString.m: ditto
5319 * Source/GSTcpPort.m: ditto
5320 * Source/GSUnixSSLHandle.m: ditto
5321 * Source/GSValue.m: ditto
5322 * Source/GSXML.m: ditto
5323 * Source/NSArchiver.m: ditto
5324 * Source/NSArray.m: ditto
5325 * Source/NSAssertionHandler.m: ditto
5326 * Source/NSAttributedString.m: ditto
5327 * Source/NSAutoreleasePool.m: ditto
5328 * Source/NSBitmapCharSet.m: ditto
5329 * Source/NSBundle.m: ditto
5330 * Source/NSCalendarDate.m: ditto
5331 * Source/NSCallBacks.m: ditto
5332 * Source/NSCharacterSet.m: ditto
5333 * Source/NSClassDescription.m: ditto
5334 * Source/NSCoder.m: ditto
5335 * Source/NSConnection.m: ditto
5336 * Source/NSCopyObject.m: ditto
5337 * Source/NSCountedSet.m: ditto
5338 * Source/NSData.m: ditto
5339 * Source/NSDate.m: ditto
5340 * Source/NSDateFormatter.m: ditto
5341 * Source/NSDebug.m: ditto
5342 * Source/NSDecimal.m: ditto
5343 * Source/NSDecimalNumber.m: ditto
5344 * Source/NSDictionary.m: ditto
5345 * Source/NSDistantObject.m: ditto
5346 * Source/NSDistributedLock.m: ditto
5347 * Source/NSDistributedNotificationCenter.m: ditto
5348 * Source/NSEnumerator.m: ditto
5349 * Source/NSException.m: ditto
5350 * Source/NSFileHandle.m: ditto
5351 * Source/NSFileManager.m: ditto
5352 * Source/NSFormatter.m: ditto
5353 * Source/NSGeometry.m: ditto
5354 * Source/NSHashTable.m: ditto
5355 * Source/NSHost.m: ditto
5356 * Source/NSInvocation.m: ditto
5357 * Source/NSLock.m: ditto
5358 * Source/NSLog.m: ditto
5359 * Source/NSMapTable.m: ditto
5360 * Source/NSMethodSignature.m: ditto
5361 * Source/NSNotification.m: ditto
5362 * Source/NSNotificationCenter.m: ditto
5363 * Source/NSNotificationQueue.m: ditto
5364 * Source/NSNull.m: ditto
5365 * Source/NSNumber.m: ditto
5366 * Source/NSNumberFormatter.m: ditto
5367 * Source/NSObjCRuntime.m: ditto
5368 * Source/NSPage.m: ditto
5369 * Source/NSPipe.m: ditto
5370 * Source/NSPort.m: ditto
5371 * Source/NSPortCoder.m: ditto
5372 * Source/NSPortMessage.m: ditto
5373 * Source/NSPortNameServer.m: ditto
5374 * Source/NSProcessInfo.m: ditto
5375 * Source/NSProtocolChecker.m: ditto
5376 * Source/NSProxy.m: ditto
5377 * Source/NSRange.m: ditto
5378 * Source/NSRunLoop.m: ditto
5379 * Source/NSScanner.m: ditto
5380 * Source/NSSerializer.m: ditto
5381 * Source/NSSet.m: ditto
5382 * Source/NSString.m: ditto
5383 * Source/NSTask.m: ditto
5384 * Source/NSThread.m: ditto
5385 * Source/NSTimeZone.m: ditto
5386 * Source/NSTimer.m: ditto
5387 * Source/NSURL.m: ditto
5388 * Source/NSURLHandle.m: ditto
5389 * Source/NSUnarchiver.m: ditto
5390 * Source/NSUndoManager.m: ditto
5391 * Source/NSUser.m: ditto
5392 * Source/NSUserDefaults.m: ditto
5393 * Source/NSValue.m: ditto
5394 * Source/NSZone.m: ditto
5395 * Source/Unicode.m: ditto
5396 * Source/UnixFileHandle.m: ditto
5397 * Source/WindowsFileHandle.m: ditto
5398 * Source/behavior.m: ditto
5399 * Source/callframe.m: ditto
5400 * Source/cifframe.m: ditto
5401 * Source/externs.m: ditto
5402 * Source/libgnustep-base-entry.m: ditto
5403 * Source/mframe.m: ditto
5404 * Source/o_array.m: ditto
5405 * Tools/AGSParser.m: ditto
5406 Ensure that initial comments in source code are sutogsdoc comments
5407 so copyright and author information will be used.
5408 Fix inconsistencies between arguments in headers and source files.
5409 Fix various bugs exposed by autogsdoc ... mostly cases where there
5410 is a semicolon after a method name in a method implementation
5411 (this is illegal, but the gcc compiler currently ignores it).
5412
5413 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5414
5415 * Tools/AGSHtml.m: Provide list of methods in each class.
5416 * Tools/AGSIndex.m: New method to list methods in a unit.
5417 * Tools/AGSIndex.h: New method to list methods in a unit.
5418 * Tools/AGSOutput.m: Support (name) syntax for specifying a protocol
5419 cross reference using [(name)-method]
5420 * Tools/autogsdoc.m: Improve documentation of method references.
5421 * Tools/AGSparser.m: Handle @class statements. Improve standardisation
5422 of the format of types.
5423
5424 2001-12-16 Richard Frith-Macdonald <rfm@gnu.org>
5425
5426 * Source/NSObject.m: Make initial comment an autogsdoc comment.
5427 * Tools/gsdoc-0_6_7.dtd: Fix protocol error reported by Adam
5428 * Tools/AGSHtml.h:
5429 * Tools/AGSHtml.m:
5430 * Tools/AGSIndex.h:
5431 * Tools/AGSIndex.m:
5432 * Tools/AGSOutput.h:
5433 * Tools/AGSOutput.m:
5434 * Tools/AGSParser.h:
5435 * Tools/AGSParser.m:
5436 * Tools/autogsdoc.m: Tidied initial comments to take advantage of
5437 new code to parse author and copyright details. Fixed several
5438 minor bugs in various parts of the software. Updated documentation.
5439
5440 2001-12-15 Fred Kiefer <FredKiefer@gmx.de>
5441
5442 * Tools/pl2link.m
5443 Better handling of MIME types.
5444
5445 2001-12-15 Richard Frith-Macdonald <rfm@gnu.org>
5446
5447 Many minor cleanups and bugfixes for autogsdoc. Alpha-test support
5448 for building base library documentation using autogsdoc ... lots of
5449 work remains to be done to improve the html output from autogsdoc
5450 and to add autogsdoc comments to the base library source code.
5451 * Tools/AGSIndex.h: improve merge control
5452 * Tools/AGSIndex.m: ditto
5453 * Tools/AGSHtml.h: new methods for cleaner indexing.
5454 * Tools/AGSHtml.m: ditto
5455 * Tools/AGSParser.m: minor bugfixes.
5456 Tools/GNUmakefile: Build autogsdoc documentation using autogsdoc.
5457 * Tools/autogsdoc.m: Fix minor dependency error. Fix for indexing
5458 where a version of the project being built is already installed.
5459 * Tools/gsdoc-0_6_7.dtd: Fix ivar support
5460 * Source/GSFFCallInvocation.m: minor debug output improvement.
5461 * Source/GNUmakefile: add basic instructions to build (but not install)
5462 documentation using autogsdoc. Don't want to install yet, as this is
5463 very much alpha-test stuff.
5464
5465 2001-12-13 Adam Fedor <fedor@gnu.org>
5466
5467 * Tools/pl2link.m: New file (from FredKiefer@gmx.de).
5468
5469 2001-12-12 Adam Fedor <fedor@gnu.org>
5470
5471 * Headers/gnustep/base/NSDebug.h: Include NSDebugLog functions
5472 when GSDIAGNOSE is defined.
5473
5474 2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
5475
5476 * Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
5477 the ([writeData:]) method do nothing until the page is reloaded,
5478 so its behavior is consistent with ([writeProperty:forKey:]) and
5479 can be used in conjunction with background loading (ie all I/O
5480 is done during the load).
5481 * Source/NSURL.m: load resource data after setting it to force I/O
5482
5483 2001-12-11 Manuel Guesdon <mguesdon@orange-concept.com>
5484
5485 * Source/NSString.m: corrected bug in +stringByTrimmingSpaces
5486 (there was an exception when the string contains only spaces).
5487
5488 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5489
5490 * Documentation/gsdoc/NSDistantObjectRequest.gsdoc: note that the
5491 class does not exist (and why).
5492
5493 2001-12-08 Gregory Casamento <greg_casamento@yahoo.com>
5494 * Source/GNUmakefile added SSL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
5495 to prevent build from failing when building from scratch.
5496
5497 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5498
5499 * Source/NSAttributedString.m: ([initWithCoder:]) fix typo.
5500
5501 2001-12-07 Adam Fedor <fedor@gnu.org>
5502
5503 * Headers/gnustep/base/NSDebug.h: Add NSDebugLog functions
5504 when GSWARN is defined (not DEBUG).
5505
5506 2001-12-07 Richard Frith-Macdonald <rfm@gnu.org>
5507
5508 * Source/GSHTTPURLHandle.m: Understand GSHTPPropertyBodyKey so we
5509 can set data to be posted in background.
5510
5511 2001-12-06 Richard Frith-Macdonald <rfm@gnu.org>
5512
5513 * Source/GNUmakefile: Add library dependencies for SSL bundle ...
5514 it needs libobjc and libgnustep-base to be linked.
5515 * Source/NSFileHandle.m: Only try to load SSL bundle if asked for.
5516
5517 Mon Dec 5 16:32:31 2001 Adam Fedor <fedor@yogi.doc.com>
5518
5519 * Source/GSHTTPURLHandle.m: Include sys/fcntl.h for O_WRONLY, etc
5520 (on Solaris).
5521
5522 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5523
5524 * Source/GNUmakefile: Add flags for SSL and rules to build bundle
5525 * Source/GSHTTPURLHandle.m: use +sslClass
5526 * Source/GSUnixSSLHandle.m: Extract SSL support for bundle to this file.
5527 * Source/Makefile.preamble: Add flags for SSL
5528 * Source/NSFileHandle.m: Add +sslClass and automated loading of bundle
5529 * Source/UnixFileHandle.m: Remove SSL support.
5530 * Headers/gnustep/base/NSFileHandle.h: Add +sslClass
5531 * Headers/gnustep/base/UnixFileHandle.h: Tidy a little.
5532 * config.mak.in: Add variables needed by SSL bundle
5533 * configure.in: Update to build SSL bundle by default.
5534 * configure: regenerated
5535 The above changes made to move SSL support into a bundle and add a
5536 +sslClass to NSFileHandle to return the class from the bundle if it
5537 is available. Changed the http url handle support to use this.
5538
5539 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5540
5541 * Source/NSValue.m: polish last set of changes -
5542 Optimisation ... cut memory allocation/deallocation to a minimum.
5543 Versioning ... set NSValue version number and attempt to decode
5544 old format objects.
5545 Simplification ... remove redundant code in placeholder class.
5546 Fixes ... allocate new objects in correct memory zone, I think a few
5547 others I forgot.
5548 * Source/NSNumberFormatter.m (-initWithCoder:): Avoid unnecessary
5549 autorelease/retain sequences. (-init): Fix illegal re-initialisation
5550 of initialised values and avoid unnecessary use of autorelease.
5551
5552 2001-12-03 Laurent Julliard <laurent@moldus.org>
5553
5554 * Source/NSNumberFormatter.m (-initWithCoder:): decoded objects
5555 must be retained
5556
5557 2001-12-03 Richard Frith-Macdonald <rfm@gnu.org>
5558
5559 * Source/NSValue.m: Fix coding/decoding to use serialization code to
5560 maintain byte order and word size compatibility.
5561 * Source/GSValue.m: ditto
5562 * Testing/values.m: added encoding/decoding tests.
5563 * Source/GSMime.m: Tidied handling of continuations a little.
5564 * Source/GSHTTPURLHandle.m: Added some debug logging.
5565
5566 Sat Dec 1 10:11:18 2001 Nicola Pero <n.pero@mi.flashnet.it>
5567
5568 * Makefile.postamble (base.make): Depend on configure.
5569 (config.mak): Idem.
5570
5571 Sat Dec 1 09:29:43 2001 Nicola Pero <n.pero@mi.flashnet.it>
5572
5573 * Makefile.postamble (base.make): New target.
5574 (config.mak): New target.
5575
5576 2001-11-29 Richard Frith-Macdonald <rfm@gnu.org>
5577
5578 * Source/NSScanner.m: Fix memory leak when initialised with something
5579 other than a constant string.
5580
5581 2001-11-28 Adam Fedor <fedor@gnu.org>
5582
5583 * Documentation/gsdoc/Base.gsdoc: Add NSLanguages summary.
5584
5585 2001-11-27 Richard Frith-Macdonald <rfm@gnu.org>
5586
5587 * Source/NSConnection.m: Put a limit of around a second on how long
5588 the delay between polling for incoming packets can grow to ...
5589 improve response on heavily loaded systems.
5590 * Source/GSHTTPURLHandle.m: ditto
5591 * Tools/autogsdoc.m: Tidied structure a little and added file
5592 modification date checks to see whether files should be regenerated
5593 or not.
5594
5595 2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
5596
5597 * Headers/Foundation/NSURL.h
5598 Declare NSNumber, so that it compiles without complaining.
5599
5600 2001-11-23 Laurent Julliard <laurent@julliard-online.org>
5601
5602 * Source/NSNumberFormatter.m (-encodeWithCoder:, -initWithCode:):
5603 fixed buggy encoder and decoder and code cleanup.
5604
5605 2001-11-22 Laurent Julliard <Laurent.Julliard@xrce.xerox.com>
5606
5607 * Headers/gnustep/base/Foundation.h: Fixed NSNumberFormatter.h
5608 missing.
5609
5610 Thu Nov 22 00:52:57 2001 Nicola Pero <n.pero@mi.flashnet.it>
5611
5612 * GNUmakefile (CVS_MODULE_NAME): Define.
5613
5614 2001-11-21 Richard Frith-Macdonald <rfm@gnu.org>
5615
5616 * Tools/AGSOutput.m:
5617 * Tools/AGSOutput.h:
5618 * Tools/AGSIndex.h:
5619 * Tools/AGSIndex.m:
5620 * Tools/AGSParser.h:
5621 * Tools/AGSParser.m:
5622 * Tools/AGSHtml.h:
5623 * Tools/AGSHtml.m:
5624 * Tools/autogsdoc.m: Many bugfixes and enhancements ... generate
5625 html as well as gsdoc.
5626
5627 2001-11-19 Richard Frith-Macdonald <rfm@gnu.org>
5628
5629 * Source/GSXML.m: Implement NSCopying protocol for most classes.
5630
5631 2001-11-19 Adam Fedor <fedor@gnu.org>
5632
5633 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Fix
5634 typo.
5635
5636 * Tools/gdomap.c (nameServer): Print strerror before exiting for
5637 more helpful message.
5638
5639 2001-11-13 Richard Frith-Macdonald <rfm@gnu.org>
5640
5641 * Source/NSUser.m:
5642 * Headers/Foundation/NSUserDefaults.h:
5643 * Documentation/gsdoc/NSUserDefaults.gsdoc:
5644 * Source/NSUserDefaults.m: Changed the method name +resetUserDefaults
5645 to be +resetStandardUserDefaults for compatibility with MacOS-X, which
5646 has now implemented an equivalent for the GNUstep method.
5647 * Source/NSPortNameServer.m: When removing a port, remove from
5648 internal name tables even if gdomap reports no name to unregister.
5649 In ([-removePort:]) retain set of names for duration of operation -
5650 fix suggested by Gerrit Van Dyk
5651
5652 2001-11-12 Richard Frith-Macdonald <rfm@gnu.org>
5653
5654 * Source/NSNumber.m: describe char and unsigned char as numbers
5655 rather than ascii characters. Use g format for floats.
5656 Use 'true' and 'false' for boolean output ... for MacOS-X compatibility.
5657 * Source/NSConcreteNumber.m: ditto
5658 * Source/GSFormat.m: Fix bug in formatting short integers - was trying
5659 to treat them as full sized.
5660 * headers/Foundation/NSString.h: Fix error in initWithFormat:locale:,...
5661 * Source/NSString.m: ditto ... was missing varargs
5662 * Documentation/gsdoc/NSNumber.gsdoc: document changes.
5663 * Documentation/gsdoc/NSString.gsdoc: document changes.
5664 * Testing/values.m: Added some number output tests.
5665 * Source/NSUserDefaults.m: Locking bug fixed ... was locking before
5666 lock had been created.
5667 * Source/libgnustep-base.def: Removed defunct class
5668 * Source/NSHost.m: Support initialisation with an address for which
5669 there is no corrsponding host name.
5670
5671 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5672
5673 * Documentation/gsdoc/Base.gsdoc:
5674 * Source/GSCompatibility.m:
5675 * Source/GSMime.m:
5676 * Source/GSUserDefaults.h:
5677 * Source/NSArray.m:
5678 * Source/NSCalendarDate.m:
5679 * Source/NSDate.m:
5680 * Source/NSDecimalNumber.m:
5681 * Source/NSDictionary.m:
5682 * Source/NSFileHandle.m:
5683 * Source/NSGeometry.m:
5684 * Source/NSLog.m:
5685 * Source/NSScanner.m:
5686 * Source/NSString.m:
5687 * Source/NSUserDefaults.m: Modify user defaults usage to cache some
5688 defaults used internally and provide private accessors for speed.
5689 Add default to force logging to be done via syslog since logging
5690 to stderr within code called via JIGS from a servlet engine may
5691 cause severe problems if the servlet engine is using descriptor 2
5692 for other purposes.
5693
5694 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5695
5696 * Source/GSMime.m: modifications made to support HTTP continuation
5697 responses for buggy webservers which send them when they shouldn't.
5698
5699 2001-11-08 Richard Frith-Macdonald <rfm@gnu.org>
5700
5701 * Source/GSHTTPHURLHandle.m: handle writing of nil properties and
5702 use of empty strings as proxy settings. Minimise delays when
5703 tunneling SSL
5704 * Source/UnixFileHandle.m: Improve error logging with ssl.
5705
5706 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5707
5708 * Headers/foundation/NSUserDefaults.h: Add _lock ivar
5709 * Source/NSUserDefaults.m: initial attempt at thread-safety.
5710
5711 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5712
5713 * Headers/Foundation/NSString.h: removed stringByTrimming...Whitespace
5714 methods as they just duplicate the stringByTrimming...Spaces
5715 * Source/NSString.m: ditto
5716 Optimised the space trimming methods - avoid using character sets and
5717 creating unnecessary intermediary objects.
5718
5719 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5720
5721 * Source/NSUserDefaults.m: force defaults data to be read/write
5722 only to the user. Supplied by Ludovic Marcotte
5723
5724 Wed Nov 7 09:04:51 2001 Nicola Pero <n.pero@mi.flashnet.it>
5725
5726 After this change you need the latest gnustep-make to compile.
5727 * Source/Makefile.postamble: Removed rules to manually compile
5728 NSInvocation.m, NSConnection.m and mframe.m.
5729 (mframe.m_FILE_FILTER_OUT_FLAGS): Set to filter out optimization
5730 flags when compiling mframe.m.
5731 (NSConnection.m_FILE_FILTER_OUT_FLAGS): Idem.
5732 (NSInvocation.m_FILE_FILTER_OUT_FLAGS): Idem.
5733
5734 2001-11-01 Adam Fedor <fedor@gnu.org>
5735
5736 * Source/NSData.m: Add an include to avoid some warnings.
5737
5738 Tue Oct 30 14:33:48 2001 Nicola Pero <nicola@brainstorm.co.uk>
5739
5740 * Testing/benchmark.m (bench_object): Added test showing that a
5741 call to super in a category method - no matter if a class or an
5742 instance method - has the same big performance hit that a class
5743 method invocation has - at least with the current GNU runtime.
5744
5745 2001-10-28 Adam Fedor <fedor@gnu.org>
5746
5747 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5748 Make NSLog message into fprintf to avoid recursion.
5749
5750 * Source/NSUserDefaults.m (pathForUser): Create ~/GNUstep/Library
5751 if it doesn't exist.
5752
5753 2001-10-26 Adam Fedor <fedor@gnu.org>
5754
5755 * configure (z): Check for gzseek in zlib since older zlibs don't
5756 have it. Fix check for LLONG_MAX (check if includes exist), same
5757 with uintmax_t
5758 * Source/GSFormat.h: Include stdint.h or inttypes.h if we have it.
5759 Proper check for LONG_LONG_MAX or LLONG_MAX.
5760
5761 2001-10-25 Adam Fedor <fedor@gnu.org>
5762
5763 * aclocal.m4 (AC_SYS_PROCFS): Typo fix, use AC_ARG_ENABLE. Make
5764 sure cache var is set to no if disabled.
5765 (AC_SYS_PROCFS_EXE_LINK): Likewise.
5766
5767 * configure.in: Check for LLONG_MAX. Check for -lcipher.
5768 (Patch from chrisv@web4inc.com with modifications).
5769 * Source/GSFormat.m: If we have LLONG_MAX, define LONG_LONG_MAX
5770 to match.
5771 * Source/NSScanner.m: Likewise.
5772
5773 2001-10-24 Richard Frith-Macdonald <rfm@gnu.org>
5774
5775 * configure.in: Check for zlib
5776 * Headers/gnustep/base/GSConfig.h.in: Define HAVE_ZLIB
5777 * Headers/gnustep/base/NSFileHandle.h: Add useCompression extension
5778 * Headers/gnustep/base/UnixFileHandle.h: ditto
5779 * Source/UnixFileHandle.m: Add support for read/write with compression
5780 using zlib. Activate with -useCompression
5781
5782 2001-10-19 Richard Frith-Macdonald <rfm@gnu.org>
5783
5784 * Headers/Foundation/NSNumberFormatter.h: ivars aded and updated.
5785 * Source/NSNumberFormatter.m: implemented dealloc, copy, coding and
5786 all the ivar setting/getting methods.
5787
5788 2001-10-18 Richard Frith-Macdonald <rfm@gnu.org>
5789
5790 * Source/NSString.m: ([+stringWithCString:]) check for nul pointer.
5791
5792 2001-10-17 Adam Fedor <fedor@gnu.org>
5793
5794 * configure.in (GNUSTEP_LDIR): Look for libobjc in
5795 .../$LIBRARY_COMBO first.
5796
5797 2001-10-16 Adam Fedor <fedor@gnu.org>
5798
5799 * Source/GNUmakefile: Strip drive names from paths.
5800
5801 * Source/GSXML.m: Add dummy GSXMLParser when not using libxml.
5802 * Source/NSBundle.m (_absolutePathOfExecutable:): Check for
5803 'Path' variable also (for Windows).
5804 * Source/NSUser.m (GSStringFromWin32EnvironmentVariable): New
5805 function.
5806 (NSHomeDirectoryForUser): Use it.
5807 (setupPathNames): Prepend systemDrive to compiled in root
5808 paths.
5809 (patches from stephen@brandonitconsulting.co.uk).
5810
5811 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5812 On (sparc && DEBUG) disable the setgrent functions which cause gdb
5813 to crash.
5814
5815 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5816
5817 * Source/GNUmakefile:
5818 * Source/GSXML.m:
5819 * Headers/Foundation/GSXML.h: Build and install dummy version if
5820 libxml is not available.
5821 * Tools/GNUmakefile:
5822 * Tools/AGSIndex.h:
5823 * Tools/AGSIndex.m:
5824 * Tools/AGSOutput.h:
5825 * Tools/AGSOutput.m:
5826 * Tools/AGSParser.h:
5827 * Tools/AGSParser.m:
5828 * Tools/autogsdoc.m: Many bugfixes and additions, bew code to
5829 generate indexes.
5830
5831 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5832
5833 * Tools/AGSOutput.m: Added new 'unit' pseudo-markup to permit
5834 control over chapter layout for a chapter containing class,
5835 category, or protocol documentation.
5836
5837 2001-10-14 Fred Kiefer <FredKiefer@gmx.de>
5838
5839 * Source/Unicode.m:
5840 In iconv_cstrtoustr() and iconv_ustrtocstr() report if a iconv
5841 conversion cannot be found. Also added a type convert to the iconv
5842 call, so that the compiler wont report a type mismatch.
5843
5844 2001-10-13 Adam Fedor <fedor@gnu.org>
5845
5846 * Headers/gnustep/base/NSPathUtilities.h (GSSystemRootDirectory):
5847 New function.
5848 * Source/GNUmakefile: Define GNUSTEP_LOCAL_ROOT and
5849 GNUSTEP_NETWORK_ROOT paths on compile line.
5850 * Source/NSUser.m (setupPathNames): Use compiled in paths as backup
5851 if environment variables not found.
5852 (GSStandardPathPrefixes): Make sure a non-nil result is returned.
5853 (GSSystemRootDirectory). Implement.
5854 * Source/NSDistributedNotificationCenter.m (_connect): Use it to
5855 find gdnc.
5856 * Source/NSPortNameServer.m (initialize): Use it to find gdomap.
5857
5858 2001-10-13 Richard Frith-Macdonald <rfm@gnu.org>
5859
5860 * Source/GSFFCallInvocation.m: Change #import to #include
5861 * Source/NSProtocolChecker.m: Change #import to #include
5862 * Testing/containers.m: Change #import to #include
5863 * Tools/AGSOutput.h: Return string rather than writing to file
5864 * Tools/AGSOutput.m: Return string rather than writing to file
5865 * Tools/autogsdoc.m: Hnalde file writing.
5866 * Tools/plmerge.m: Change #import to #include
5867
5868 2001-10-11 Richard Frith-Macdonald <rfm@gnu.org>
5869
5870 * Tools/GNUmakefile: Addend new files.
5871 * Tools/AGSOutput.h: Support class for autogsdoc
5872 * Tools/AGSOutput.m: ditto
5873 * Tools/AGSParser.h: ditto
5874 * Tools/AGSParser.m: ditto
5875 * Tools/autogsdoc.m: New tool to generate gsdoc files from ObjC
5876 header and source files. Uses comments with a '/**' prefix
5877 (like javadoc) to provide nice information about classes and/or
5878 methods.
5879 This is very much an initial/alpha version but it is already
5880 quite useful.
5881
5882 2001-10-06 Richard Frith-Macdonald <rfm@gnu.org>
5883
5884 * Source/NSConnection.m: Increase default timeouts to max value.
5885 Improve algorithm for polling for messages when waiting for a reply
5886 in multithreaded mode ... use fibonacci sequence for delays rather
5887 than doubling each time.
5888 * Headers/Foundation/NSConnection.h: Remove default timeout constant.
5889 * configure.in: Check for float.h, not for values.h
5890 * Documentation/gsdoc/NSConnection.gsdoc: updated.
5891
5892 2001-10-05 Richard Frith-Macdonald <rfm@gnu.org>
5893
5894 * NSTimeZones/NSTimeZones.tar: Updated to latest info.
5895
5896 2001-10-02 Richard Frith-Macdonald <rfm@gnu.org>
5897
5898 * Source/NSLog.m: _NSLog_standard_printf_handler() modified to output
5899 message as UTF8 data if it can't be done as ASCII
5900
5901 2001-09-27 Richard Frith-Macdonald <rfm@gnu.org>
5902
5903 * Source/NSString: setupQuotables() ... add several characters to the
5904 set of those valid in an unquoted string ... so read back of NSNumber
5905 values encoded as strings works ... problem reported by Rene Cornilis.
5906
5907 2001-09-26 Richard Frith-Macdonald <rfm@gnu.org>
5908
5909 * Source/GNUmakefile: install DistributedObjects.h in gnustep/base
5910 rather than Foundation .... but it's an internal header - should
5911 it be installed at all?
5912
5913 2001-09-25 Adam Fedor <fedor@gnu.org>
5914
5915 * configure.in: Typo in saving CPPFLAGS during iconv test.
5916
5917 2001-09-21 Adam Fedor <fedor@gnu.org>
5918
5919 * configure.in: Typo in iconv cached value.
5920 * Headers/gnustep/base/NSGeometry.h: Make const values static also.
5921 * Source/NSConnection.m: Remove obsolete BROKEN_NESTED code.
5922 * Source/Unicode.m: Dynamically determine best Unicode encoding.
5923
5924 2001-09-21 Richard Frith-Macdonald <rfm@gnu.org>
5925
5926 * Headers/gnustep/base/DistributedObjects.h:
5927 * Source/GSFFCallInvocation.m:
5928 * Source/NSConnection.m:
5929 * Source/NSInvocation.m:
5930 * Source/callframe.h:
5931 * Source/callframe.m:
5932 Modifications to callframe handling to store pointers to data to
5933 be freed in order to be able to tidy up after an exception ...
5934 Appears to cure memory leak in ffcall code.
5935 No fix yest for mframe or ffi code.
5936
5937 2001-09-20 Richard Frith-Macdonald <rfm@gnu.org>
5938
5939 * Testing/nsconnection_client.m: Added simple exception tests
5940 * Testing/nsconnection_server.m: Added simple exception tests
5941 * Testing/server.h: Added simple exception tests
5942
5943 2001-09-19 Richard Frith-Macdonald <rfm@gnu.org>
5944
5945 * Source/NSConnection.m: rewrite ethod call code.
5946 * Source/callframe.h: ditto
5947 * Source/callframe.m: ditto
5948 * Source/cifframe.h: ditto
5949 * Source/cifframe.m: ditto
5950 * Source/mframe.m: ditto
5951 * Source/mframe/mframe.head: ditto
5952 * Headers/gnustep/base/DistributedObjects.h: Adde new DOContext struct.
5953 Rewrite code for moving data to/from method call stackframes and
5954 encoding/decoding it. The functions to encode/decode each data item
5955 are no longer nested, and pass a context structure around which
5956 provides for more information to be passed between the various layers
5957 of the process so that the whole thing is thread-safe and we don't
5958 get cases where code in one place tries to work with an object that
5959 was released in another place.
5960 Tested pretty extensively for libffcall stuff, with the simple test
5961 programs for maframe, and not at all for libffi.
5962
5963 2001-09-19 Adam Fedor <fedor@gnu.org>
5964
5965 * configure.in: Put CPPFLAGS in quotes
5966
5967 2001-09-14 Adam Fedor <fedor@gnu.org>
5968
5969 * configure.in: Remove redundancies in iconv checking. Remove
5970 redundant AC_SUBST(LIBS) lines.
5971
5972 2001-09-12 Adam Fedor <fedor@gnu.org>
5973
5974 * Source/thr-pthread.m (objc_yield): Replace pthread_yield with
5975 sched_yield.
5976
5977 2001-09-11 Adam Fedor <fedor@gnu.org>
5978
5979 * configure.in: Make sure to subst HAVE_PTHREAD_H into config.mak
5980
5981 2001-09-08 Richard Frith-Macdonald <rfm@gnu.org>
5982
5983 * Source/GSCompatibility.m: GSXMLPlMake() unused argument removed.
5984 * Source/NSData.m: Unused and commented out XML plist code removed.
5985 * Source/NSString.m: ditto
5986 * Source/NSArray.m: Generate XML plists only when writing to file
5987 or to URL, not for the -description... methods.
5988 This is what MacOS-X does.
5989 * Source/NSDictionary.m: ditto
5990
5991 2001-09-05 Adam Fedor <fedor@gnu.org>
5992
5993 * configure.in: Define BROKEN_NESTED_FUNCTIONS if compiler sucks.
5994 * Source/NSArray.m (-sortedArrayUsingSelector:): Remove nested
5995 function.
5996 ([NSMutableArray -sortUsingSelector:]): Likewise.
5997 * Source/NSConnection.m (-forwardForProxy:selector:argFrame:):
5998 Use external encode/decode functions if BROKEN_NESTED_FUNCTIONS.
5999 (-forwardInvocation:forProxy:): Likewise.
6000 (-_service_forwardForProxy:): Likewise.
6001 * Source/mframe.m (mframe_build_return_opts): Remove and
6002 consolidate nested functions.
6003 (mframe_handle_return): Likewise.
6004
6005 2001-08-31 Adam Fedor <fedor@gnu.org>
6006
6007 * Resources/French/Localizable.strings: Update (from
6008 Michael Scheibler <michael.scheibler@onevision.de>).
6009
6010 Fri Aug 31 11:58:42 2001 Nicola Pero <nicola@brainstorm.co.uk>
6011
6012 * Documentation/gsdoc/NSFunctions.gsdoc: Documented the
6013 localization functions/macros: NSLocalizedString,
6014 NSLocalizedStringFromTable, NSLocalizedStringFromTableInBundle,
6015 NSLocalizedStaticString, _ and __.
6016
6017 2001-08-30 Adam Fedor <fedor@gnu.org>
6018
6019 * Tools/sfparse.m: Add code to convert files to Unicode.
6020 * Resources/German/Localizable.strings: Convert to Unicode.
6021 * Resources/French/Localizable.strings: Likewise.
6022
6023 Thu Aug 30 20:03:19 2001 Nicola Pero <n.pero@mi.flashnet.it>
6024
6025 * Source/objc-load.m (objc_load_module): Reset the load callbacks
6026 to 0 when we abort loading the module because of an error
6027 (Reported by Michael Scheibler <michael.scheibler@onevision.de>).
6028
6029 Thu Aug 30 13:08:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
6030
6031 * Documentation/gsdoc/NSObject.gsdoc: Added description of the
6032 class; documented alloc, allocWithZone:, class, new, dealloc
6033 methods.
6034
6035 2001-08-29 Adam Fedor <fedor@gnu.org>
6036
6037 * Source/objc-gnu2next.m (next_objc_msg_send): Fix incorrect def.
6038
6039 Mon Aug 28 23:45:15 2001 Nicola Pero <n.pero@mi.flashnet.it>
6040
6041 * Source/NSCalendarDate.m ([+dateWithString:calendarFormat:]):
6042 Call alloc on self, rather than on the hardcoded NSCalendarDate
6043 class, so it works in subclasses.
6044 ([+dateWithString:calendarFormat:locale:]): Idem.
6045 ([+dateWithYear:month:day:hour:minute:second:timeZone:]): Idem.
6046
6047 2001-08-28 Georg Fleischmann <georg@vhf.de>
6048
6049 * base/Source/NSCalendarDate.m [NSCalendarDate
6050 descriptionWithCalendarFormat:locale:]: make milliseconds
6051 work (%F)
6052
6053 2001-08-28 Adam Fedor <fedor@gnu.org>
6054
6055 * Headers/gnustep/base/objc-gnu2next.h: More defs.
6056 * Source/NSObject.m (-methodSignatureForSelector:): Use sel_get_type.
6057
6058 * Source/mframe.m (method_types_get_first_argument): New function.
6059 (method_types_get_sizeof_arguments): Likewise.
6060 * Source/objc-gnu2next.m (next_objc_msg_sendv): Use them.
6061
6062 2001-08-21 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6063
6064 * Source/GSFFCallInvocation.m: Clearified comments
6065 (gs_method_for_receiver_and_selector) added
6066 (GSInvocationCallback): Check if forwardInvocation: is
6067 implemented to avoid infinite recursion bug.
6068
6069 Fri Aug 24 12:34:56 2001 Nicola Pero <nicola@brainstorm.co.uk>
6070
6071 * Source/NSUserDefaults.m ([-__createArgumentDictionary]): Make
6072 sure we don't crash trying to parse an argument as a property
6073 list.
6074
6075 Fri Aug 24 10:23:02 2001 Nicola Pero <nicola@brainstorm.co.uk>
6076
6077 * Resources/Italian.lproj/Localizable.strings: New file.
6078 * Resources/GNUmakefile (LANGUAGES): Added Italian.
6079
6080 2001-08-21 Adam Fedor <fedor@gnu.org>
6081
6082 * Resources/English.lproj/Localizable.strings: New file
6083 * Resources/German.lproj/Localizable.strings: Likewise.
6084 * Resources/French.lproj/Localizable.strings: Likewise.
6085 * Resources/GNUmakefile: Install them. (files from
6086 michael.scheibler@onevision.de)
6087
6088 * config/config.loadtest.m: Make Test inheret from Object
6089 (Darwin objc checks that classes implement forward::).
6090 * config/config.objc.m: Likewise.
6091
6092 2001-08-20 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6093
6094 * Documentation/gsdoc/ NSPipe.{gsdoc, html}: this class has been
6095 forgotten
6096 * Documentation/gsdoc/{Base, NSObject, NSPort}.{gsdoc, html}:
6097 updates to the links to show NSPipe
6098
6099 2001-08-16 Richard Frith-Macdonald <rfm@gnu.org>
6100
6101 * Tools/gsdoc.m: ([-initWithFileName:]) call xmlKeepBlanksDefault(0)
6102 to handle change in recent libxml whitespace handling.
6103
6104 2001-08-10 Richard Frith-Macdonald <rfm@gnu.org>
6105
6106 * Source/NSDistantObject.m: Tidy method lookup code.
6107 * Source/NSString.m: Handle nil content when parsing xml elements.
6108
6109 2001-08-06 Willem Rein Oudshoorn <wim@xs4all.nl>
6110
6111 * Source/GSFFCallInvocation.m: Forwarding:
6112 thread safe, handle missing typeinformation better,
6113 performance improvement.
6114 Minor tidyups by RFM
6115
6116 2001-08-06 Richard Frith-Macdonald <rfm@gnu.org>
6117
6118 * Source/GSMime.m: ([-decodeData:fromRange:intoData:withContext:])
6119 One line fix suggested by Stephen Brandon
6120 * Source/GSMime.m: ([-_decodeBody:]) fix parsing multipart documents
6121 as there was an error in the logic for testing to see if the sub docs
6122 had been parsed correctly.
6123
6124 2001-08-03 Adam Fedor <fedor@gnu.org>
6125
6126 * Source/NSObject.m: Don't decl __objc_responds_to on Darwin
6127 * Source/NSProxy.m: Likewise.
6128
6129 2001-08-03 Richard Frith-Macdonald <rfm@gnu.org>
6130
6131 * Headers/Foundation/Unicode.h: API Change
6132 * Source/Unicode.m: API Change ... remove old string conversion
6133 functions and replace with two functions, both of which differentiate
6134 between lengths of the source strings and sizes of destination buffers.
6135 * Source/NSString.m: Update for changes to Unicode.[hm]
6136 * Source/GSString.m: Update for changes to Unicode.[hm]
6137
6138 2001-08-02 Richard Frith-Macdonald <rfm@gnu.org>
6139
6140 * Source/NSPortNameServer.m: Log the host we are connecting to
6141 when we produce a warning for a failure of a link to gdomap.
6142 * Source/GSHTTPURLHandle.m: ([-propertyForKeyIfAvailable:]) return
6143 nil if the property is not available.
6144
6145 2001-08-01 Richard Frith-Macdonald <rfm@gnu.org>
6146
6147 * Documentation/gsdoc/Base.gsdoc: Documented all the uses of
6148 environment variables I could find.
6149 * Source/NSUserDefaults.m: __createArgumentDictionary ... handle
6150 property lists as arguments correctly.
6151 * Source/NSUser.m: Added GSTooldDirectory to listable paths.
6152
6153 2001-07-31 Richard Frith-Macdonald <rfm@gnu.org>
6154
6155 * Source/GSFFCallInvocation.m: attempt to guess type signature
6156 when compiler gives us an untyped selector.
6157 * Headers/Foundation/NSObject.h: ASSIGN(), ASSIGNCOPY(), minor
6158 reordering to make these macros thread-safe.
6159
6160 2001-07-30 Adam Fedor <fedor@gnu.org>
6161
6162 * Headers/gnustep/base/NSObjCRuntime.h: Export additional functions
6163 and variables for Windows DLLs.
6164 * Headers/gnustep/base/NSObject.h: Likewise.
6165 * Headers/gnustep/base/Unicode.h: Likewise.
6166
6167 * Headers/gnustep/base/preface.h.in: Define __WIN32__ ifndef on
6168 MINGW32.
6169
6170 * Testing/nsarray.m: Use NSCParameterAssert.
6171 * Testing/nsconnection.m: Cleanup for MinGW/Cygwin.
6172
6173 Sat Jul 21 23:25:14 2001 Wim Oudshoorn
6174 * Source/NSHost.m ([NSHost +hostWithName:]):
6175 Added forgotten argument to NSLog().
6176
6177 2001-07-19 Richard Frith-Macdonald <rfm@gnu.org>
6178
6179 * Source/UnixFileHandle.m: Don't abort aread/write attempts that
6180 fail on EAGAIN or EINTR ... retry them instead. Avoid unexpected
6181 exceptions when trying to write a large volume of data quicker
6182 then the output device can handle.
6183 * Source/WindowsFileHandle.m: ditto
6184
6185 2001-07-19 Adam Fedor <fedor@gnu.org>
6186
6187 * Documentation/readme.texi: Explain the license for GNUstep more
6188 clearly.
6189 * README: Regen.
6190
6191 Thu Jul 19 12:41:22 2001 Nicola Pero <nicola@brainstorm.co.uk>
6192
6193 * config/config.objc.m: New file.
6194 * configure.in: Added new test to check whether Objective-C really
6195 works. If it doesn't, abort immediately telling the user to fix
6196 their compiler installation first.
6197 (AC_CHECK_HEADERS): Don't check for libguile.h
6198 * configure: Regenerated.
6199
6200 2001-07-17 Richard Frith-Macdonald <rfm@gnu.org>
6201
6202 * Source/Unicode.m: Removed bogus tests for character zero in
6203 string conversion functions ... OpenStep strings are not nul
6204 terminated, so the code terminated conversions prematurely.
6205
6206 Tue Jul 17 15:00:52 2001 Nicola Pero <nicola@brainstorm.co.uk>
6207
6208 * Makefile.postamble (after-distclean): Depend on
6209 remove-header-links; do not remove links here.
6210 (remove-header-links): New target removing header links; different
6211 implementation on mingw32 and on non-migw32. Do not remove
6212 Source/Foundation.
6213 (.PHONY): Added, with header-links and remove-header-links.
6214
6215 2001-07-16 Adam Fedor <fedor@gnu.org>
6216
6217 * Headers/gnustep/base/objc-gnu2next.h: New definitions for sel
6218 functions, rearrange some things.
6219 * Headers/gnustep/base/objc-load.h: Change category type for
6220 compatibility with NeXT.
6221 * Source/objc-load.m: Likewise.
6222
6223 * Source/GSCompatibility.m (+defaultsChanged:): Typo in method name.
6224
6225 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6226
6227 * Source/NSString.m: Finish off and enable XML property list code
6228 * Source/GSCompatibility.m: ditto
6229
6230 2001-07-16 Adam Fedor <fedor@gnu.org>
6231
6232 * Source/NSUserDefaults.m ([NSUserDefaults +userLanguages]): Put
6233 MINGW languages in array (Fix from "Michael Scheibler"
6234 <michael.scheibler@onevision.de>).
6235
6236 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6237
6238 * Source/NSArray.m: Added ([writeToURL:atomically:]) for
6239 MacOS-X compatibility
6240 * Source/NSDictionary.m: ditto
6241
6242 2001-07-15 Richard Frith-Macdonald <rfm@gnu.org>
6243
6244 * Source/NSProcessInfo.m: Added -processIdentifier for compatibility
6245 with MacOS-X
6246 * Source/NSTask.m: Added -processIdentifier, -suspend, and -resume
6247 for compatibility with MacOS-X
6248 * Source/NSPortNameServer.m: Modified removal methods to return a
6249 boolean success/failure status for MacOS-X compatibility.
6250
6251 2001-07-14 Adam Fedor <fedor@gnu.org>
6252
6253 * Headers/gnustep/base/objc-gnu2next.h: More function defs.
6254 * Headers/gnustep/base/objc-load.h (objc_get_symbol_path): Correct
6255 def to match function decl.
6256 * Source/NSDistantObject.m (-selectorTypeForProxy:): Declare
6257 variable in NeXT implementation.
6258 * Source/NSInvocation.m (-invokeWithTarget:): Special def for NeXT.
6259 * Source/thr-pthread.m: Add forward decl of __objc_thread_detach.
6260
6261 2001-07-12 Richard Frith-Macdonald <rfm@gnu.org>
6262
6263 * Source/NSAttributedString.m: ([addAttributes:range:]) corrected
6264 bogus range check (report by Michael Scheibler)
6265 * Source/NSString.m: ([descriptionWithLocale:...]) as special case
6266 quote strings beginning with a slash ... property lists can
6267 otherwise confuse strings with leading slashes as comments.
6268
6269 2001-07-11 Adam Fedor <fedor@gnu.org>
6270
6271 * Source/objc-load.m: Include objc-load.h on NeXT systems.
6272
6273 2001-07-11 Richard Frith-Macdonald <rfm@gnu.org>
6274
6275 * Source/NSFileManager.m: ([fileSystemRepresentationWithPath:])
6276 MINGW fix contributed by Michael Scheibler
6277
6278 2001-07-10 Richard Frith-Macdonald <rfm@gnu.org>
6279
6280 * Source/NSUserDefaults.m: Update date/time designations to arrays
6281 * Source/NSDate.m: Update to use date/time designation arrays.
6282
6283 2001-07-09 Richard Frith-Macdonald <rfm@gnu.org>
6284
6285 * Source/objc-load.m: Remove bogus include of objc-load.h
6286 on non-NeXT systems.
6287
6288 2001-07-09 Adam Fedor <fedor@gnu.org>
6289
6290 * configure.in: Check for pthread.h - for compiling on Darwin.
6291 * Source/GNUmakefile: Compile thr-pthread.m conditionally.
6292 * Source/thr-pthread.m: New file.
6293
6294 * Source/null-load.h (__objc_dynamic_get_symbol_path): New def.
6295 * Source/objc-load.m: Use NeXT load methods on Darwin.
6296
6297 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6298
6299 * Source/NSUser.m: NSSearchPathForDirectoriesInDomains() Set up
6300 default values if environment variables are missing.
6301 Use common code for getting path prefixes and search directories.
6302
6303 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6304
6305 * Source/NSData.m: readContentsOfFile() hack added to permit reading
6306 of files like those in the /proc filesystem which don't support
6307 lengths.
6308 * Source/NSString.m: ([-initWithFormat:locale:]) use dummy local
6309 variable to try to get compilation to work on alpha ... untested
6310 as I don't have an alpha system.
6311
6312 2001-07-02 Richard Frith-Macdonald <rfm@gnu.org>
6313
6314 * Source/NSString.m: Never init nocopy with null pointer - increase
6315 chance of double initialisation being detected.
6316
6317 2001-06-27 Richard Frith-Macdonald <rfm@gnu.org>
6318
6319 * Source/callframe.m: callframe_do_call_opts(),
6320 callframe_build_return_opts() fixed memory leaks.
6321 Performance improvements -
6322 callframe_from_info() use a single malloc to allocate memory for
6323 the entire callframe. callframe_free() use a single free()
6324 * Source/NSConnection.m: Wait only 0.1 millisecond for first try
6325 checking for events ... CPUs are getting faster.
6326 * Source/NSTimer.m: Set minimum timer to 0.1 milliseconds ...
6327
6328 2001-06-26 Adam Fedor <fedor@gnu.org>
6329
6330 * Source/NSUserDefaults.m (+userLanguages): On MingW systems, check
6331 locale for language name.
6332
6333 2001-06-26 Richard Frith-Macdonald <rfm@gnu.org>
6334
6335 * Source/NSSerializer.m: While deserializing, check strings to see
6336 if they are really unicode, and create cStrings if they are not.
6337 Minor memory usage optimisation.
6338
6339 2001-06-21 Richard Frith-Macdonald <rfm@gnu.org>
6340
6341 * Source/NSConnection.m: Change some deprecated runloop methods for
6342 standard ones.
6343 * Source/NSRunLoop.m: ([runMode:beforeDate:]) Check for task
6344 completion and send out notifications if required.
6345 * Source/NSTask.m: ([waitUntilExit]) schedule a timer so that the
6346 run loop waits rather than polling as fast as the CPU allows.
6347
6348 2001-06-20 Richard Frith-Macdonald <rfm@gnu.org>
6349
6350 * Source/NSTask.m: handleSignal() ... reset signal handler for
6351 systems that don't have BSD signal semantics.
6352 Report by jan trembulak
6353 * Source/GSString.m: getCString_c(), getCString_u() reverse logic
6354 of returning remaining range ... report by Michael Scheibler
6355
6356 2001-06-15 Adam Fedor <fedor@gnu.org>
6357
6358 * Version: 1.0.2
6359
6360 2001-06-15 Richard Frith-Macdonald <rfm@gnu.org>
6361
6362 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6363 Check for illegal paths as specified in the MacOS-X documentation.
6364 * Source/Makefile.postamble: Update to rebuild files for XML and SSL
6365 support when config.h changes.
6366
6367 2001-06-14 Richard Frith-Macdonald <rfm@gnu.org>
6368
6369 * Source/NSuserDefaults.m: Fix +resetUserDefaults to retain the
6370 NSRegistrationDomain information ... was losing it when this method
6371 was called in response to the user name being initially set.
6372 ([-registerDefaults:]) fix for when no dictionary found.
6373 Use NSLanguages rather than Languages as key for the languages list.
6374 * Source/NSUser.m: GSSetUserName() ... only reset the user defaults
6375 if the name is actually changed - and not if it is being initialised.
6376 When standardUserDefaults are first obtained, the user name should be
6377 initialised as part of that process anyway.
6378 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6379 Fix this method so it *doesn't* follow symbolic links.
6380 This makes it conform to the documentation and prevents
6381 accidental removal of entire directory hierarchies!
6382
6383 Wed Jun 13 19:43:16 2001 Nicola Pero <n.pero@mi.flashnet.it>
6384
6385 * Source/NSFileManager.m
6386 ([-createSymbolicLinkAtPath:pathContent:]): Fixed - the call to
6387 symlink was using old path instead of new path and viceversa.
6388
6389 2001-06-12 Adam Fedor <fedor@gnu.org>
6390
6391 * Documentation/news.texi: Update
6392
6393 * Documentation/gsdoc/NSArray.gsdoc: Updates (from
6394 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>).
6395
6396 2001-06-11 Adam Fedor <fedor@gnu.org>
6397
6398 * configure.in (enable-openssl): New option, disabled by default.
6399 * Documentation/install.texi: document it.
6400
6401 2001-06-09 Adam Fedor <fedor@gnu.org>
6402
6403 * Source/externs.m: Change definition of exception strings and some
6404 functions to match headers.
6405
6406 2001-06-09 Richard Frith-Macdonald <rfm@gnu.org>
6407
6408 * Source/NSString.m: parseQuotedString() ... fix for parsing octal
6409 and hex escape sequences.
6410
6411 2001-06-09 Nicola Pero <n.pero@mi.flashnet.it>
6412
6413 * configure.in (VERSION): Output a message saying that we are
6414 checking for the version, and which version we find.
6415
6416 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6417
6418 * Source/NSConnection.m: Control caching of port coders by a simple
6419 boolean, and disable it by default.
6420
6421 2001-06-07 Adam Fedor <fedor@gnu.org>
6422
6423 * aclocal.m4: Add special case for cygwin in CON_AUTOLOAD.
6424
6425 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6426
6427 * Source/GSAttributedString.m: When caching attribute dictionaries
6428 we make an immutable copy of the dictionary with shallow copy.
6429
6430 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6431
6432 Configuration part of constant string support with gcc-3.0
6433 * config/config.constant-string-class.m: New config test.
6434 * configure.in: Added test for -fconstant-string-class option in
6435 compiler, by compiling and running config.constant-string-class.m.
6436 Output different NX_CONST_STRING_CLASS and
6437 NX_CONST_STRING_CPPFLAGS depending on results of this test.
6438 * base.make.in (CONFIG_SYSTEM_INCL): Added
6439 NX_CONST_STRING_CPPFLAGS.
6440 * Headers/gnustep/base/GSConfig.h.in: Renamed NXCONST to
6441 NX_CONST_STRING_CLASS.
6442 * configure: Updated.
6443
6444 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6445
6446 * Source/NSScanner.m: ([scanHexInt:]) fix for scanning number
6447 consisting just of a zero. Reported by Tom Koelman
6448
6449 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6450
6451 Changes for constant string support with gcc-3.0
6452 * configure.in: Just substitute NXCONST
6453 * Headers/gnustep/base/GSConfig.h.in: Use NXCONST to redefine
6454 NXConstantString
6455 * Headers/gnustep/base/NSString.h: new constantStringClass method.
6456 * Source/GSString.m: new constantStringClass method.
6457 * Source/NSObject.m: Use NSConstantStringClass.
6458 * Source/NSScanner.m: Use NSConstantStringClass.
6459 * Source/NSString.m: implement constantStringClass method.
6460
6461 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6462
6463 * Source/mframe.m: Reactivated inling nested functions after
6464 gcc 3.0 was fixed to compile them again.
6465
6466 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6467
6468 * GNUmakefile: If GNUSTEP_MAKEFILES is not set, tell the user it
6469 needs to source GNUstep.sh and then exit with an error.
6470
6471 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6472
6473 * Source/mframe.m: Disabled inlining of nested functions. This
6474 should allow gnustep-base to be compiled using gcc 3.0.
6475
6476 2001-06-05 Richard Frith-Macdonald <rfm@gnu.uk>
6477
6478 * Source/GSString.m: ([replaceCharactersInRange:withString:])
6479 Fix error appending unicode string to C string.
6480
6481 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6482
6483 * Source/NSString.m: Patch by David Relson applied
6484
6485 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6486
6487 Optimisations suggested by Guenther Fuerthaller
6488 * Source/NSZone.m: NSZonefromPointer() check for empty zones
6489 list before locking.
6490 * Source/NSData.m: more efficient dealloc implementation for
6491 NSMutableDataMalloc.
6492
6493 2001-06-01 Nicola Pero <nicola@brainstorm.co.uk>
6494
6495 * Source/NSCalendarDate.m
6496 ([-descriptionWithCalendarFormat:locale:]): Fixed %w (day of the
6497 week) to output a single digit number rather than a two digit one.
6498
6499 2001-05-31 Adam Fedor <fedor@gnu.org>
6500
6501 * Headers/gnustep/base/NSObjCRuntime.h (GSLastErrorStr): Define new
6502 OS-independant strerror like function.
6503 * Source/GSFormat.m: Use it.
6504 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDistributedLock.m,
6505 Source/NSFileManager.m, Source/NSPipe.m, Source/NSRunLoop.m,
6506 Source/NSTask.m, Source/UnixFileHandle.m, Source/WindowsFileHandle.m:
6507 Likewise.
6508 * Source/NSObjCRuntime.m (GSLastErrorStr): New function
6509 (suggestion from "Michael Scheibler" <michael.scheibler@onevision.de>).
6510
6511 * Headers/gnustep/base/behavior.h: Include objc-class.h on
6512 NeXT_RUNTIME.
6513 * Headers/gnustep/base/objc-gnu2next.h: New inline functions.
6514 * Source/NSDistantObject.m (-selectorTypeForProxy): Simplify
6515 NeXT_RUNTIME implementation.
6516
6517 2001-05-29 Adam Fedor <fedor@gnu.org>
6518
6519 * Version: 1.0.1
6520
6521 * Resources/Languages/Dutch: New file (from Dennis Leeuw
6522 <dleeuw@made-it.com>).
6523
6524 2001-05-28 Adam Fedor <fedor@gnu.org>
6525
6526 * Headers/gnustep/base/objc-gnu2next.h (class_is_class): New.
6527 * Source/NSAssertionHandler.m (-handleFailureInMethod...): Use
6528 OpenStep functions to get class/sel names.
6529 * Source/NSBundle.m (+initialize): NeXT_RUNTIME method to find
6530 classes.
6531
6532 2001-05-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6533
6534 * Source/NSDebug.m (_NSPrintForDebugger): new function to support print
6535 object (po) cmd of gdb.
6536
6537 2001-05-25 Adam Fedor <fedor@gnu.org>
6538
6539 * configure.in: Use -lobjc with NeXT_RUNTIME.
6540 * Headers/gnustep/base/behavior.h: Include objc.h on NeXT_RUNTIME.
6541
6542 * Source/GSFormat.m: Replace assert with NSCParameterAssert
6543
6544 2001-05-23 Adam Fedor <fedor@gnu.org>
6545
6546 * configure.in: Check for libgiconv
6547 * Unicode.m: Include giconv.h if available.
6548
6549 2001-05-22 Adam Fedor <fedor@gnu.org>
6550
6551 * configure.in: Check CPP handling of LONG_LONG_MAX
6552 * Source/GSFormat.m: Undef LONG_LONG_MAX if not handled
6553
6554 * Source/GSeq.h: Set static selectors to NULL.
6555 * Source/NSString.m (+initialize): Set selectors here instead.
6556 * Source/GSString.m (setup): ...And here.
6557
6558 2001-05-22 Richard Frith-Macdonald <rfm@gnu.org>
6559 * Headers/Foundation/NSSet.h: Added ([-setSet:])
6560 * Source/GSSet.m: Optimise ([-unionSet:])
6561 * Source/GSArray.m: Tidy NSWarnMLog macros.
6562 * Source/GSAttributedString.m: ditto
6563 * Source/GSCountedSet.m: ditto
6564 * Source/GSDictionary.m: ditto
6565 * Source/NSArray.m: ditto
6566 * Source/NSDictionary.m: ditto
6567 * Source/NSSet.m: Implement ([-setSet:])
6568
6569 2001-05-18 Richard Frith-Macdonald <rfm@gnu.org>
6570
6571 * Source/NSDate.m: check for nil dates in some init methods so
6572 we return nil on initialisation failure rather than raising an
6573 exception. I believe that init failures should deallocate their
6574 objects and return nil.
6575 * Source/NSArray.m: ([-initWithContentsOfFile:]) include filename in
6576 NSWarnMLog() message.
6577 * Source/NSDictionary.m: ([-initWithContentsOfFile:]) use NSWarnMLog
6578
6579 2001-05-14 Adam Fedor <fedor@gnu.org>
6580
6581 * Headers/gnustep/base/objc-gnu2next.h: Add apply_t prototype.
6582 * Source/objc-gnu2next.m: Include stdio.h.
6583 * Source/GSFormat.m: Don't compare LONG_LONG_MAX if not defined
6584
6585 2001-05-15 Richard Frith-Macdonald <rfm@gnu.org>
6586
6587 * Source/NSString.m: ([stringByDeletingPathExtension]) rewrite to
6588 conform to MacOS-X documentation.
6589 ([pathComponents]) ditto.
6590 * Headers/Foundation/NSInvocation.h: Added extra methods for
6591 setting an invocation to invoke super implementation of method.
6592 * Source/NSInvocation.m: Added extra methods for
6593 setting an invocation to invoke super implementation of method.
6594 * Source/GSFFCallInvocation.m: support invoke of super implementation.
6595
6596 2001-05-14 Adam Fedor <fedor@gnu.org>
6597
6598 * Headers/gnustep/base/objc-gnu2next.h: Add error prototypes.
6599 * Source/objc-gnu2next.m: Include preface.h, define error funcs.
6600
6601 2001-05-12 Richard Frith-Macdonald <rfm@gnu.org>
6602
6603 * Source/NSObject.m: Removed some unused obsolete code.
6604 * Source/NSProxy.m: Modified ([methodSignatureForSelector:]) and
6605 ([respondsToSelector:]) to work for existing methods and raise
6606 exception for non-existant methods. The MacOS-X docs says they raise
6607 exceptions, but I think it makes sense for them to work for methods
6608 that are actually implemented in the proxy.
6609
6610 2001-05-11 Adam Fedor <fedor@gnu.org>
6611
6612 * Source/NSArchiver.m ([NSArchiver -encodeValueOfObjCType:at:]): Use
6613 signed char to encode _C_CHR.
6614 * Source/NSPortCoder.m ([NSPortCoder -decodeValueOfObjCType:at:]):
6615 Be lenient about decoding [un]signed chars.
6616 * Source/NSUnarchiver.m: Likewise.
6617 * Source/GSTemplateValue.m (-encodeWithCoder:): Use signed char to
6618 encode/decode type info.
6619 * Source/GSValue.m: Likewise.
6620 * Source/NSConcreteNumber.m: Likewise.
6621 * Source/NSNumber.m: Likewise.
6622 * Source/NSValue.m: Likewise.
6623
6624 2001-05-10 Richard Frith-Macdonald <rfm@gnu.org>
6625
6626 * Source/NSConnection.m: Use respondsToSelector rather than respondsTo
6627 * Source/NSRunLoop.m: ditto ... and tidy up categories to avoid
6628 compiler warnings.
6629 * Source/NSAutoreleasePool.m: Add ([+freeCache]) method to clear out
6630 the cache of pools in the current thread.
6631 * Documentation/gsdoc/NSAutoreleasePool.gsdoc: basic class
6632 documentation inlcuding normal GNUstep extensions.
6633
6634 2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
6635
6636 * Tools/gdomap.c: Fixes to last modifications - provided by
6637 Chris B Vetter.
6638 * Source/NSString.m: Fix memory allocation of a unichar buffer to
6639 correct size.
6640 * Source/NSPipe.m: Log an error if we can't open a new pipe.
6641 * Source/NSTask.m: Slight tidyup
6642
6643 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6644
6645 * Source/NSObject.m (GSGetValue): Call handleQueryWithUnboundKey:
6646 rather than handleTakeValue:forUnboundKey: when no property
6647 binding is found.
6648
6649 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6650
6651 * configure.in: Abort if GNUSTEP_SYSTEM_ROOT is empty, printing a
6652 message saying that you must run the GNUstep configuration script
6653 before configuring the base library.
6654 * configure: Regenerated.
6655
6656 2001-05-04 Adam Fedor <fedor@gnu.org>
6657
6658 * Headers/gnustep/base/objc-gnu2next.h: Add arglist_h def. Add
6659 encoding functions defs.
6660 * Source/mframe.m: Include stdio and ctype.
6661 * Source/mframe/mframe.foot (mframe_arg_addr): Use marg_getRef if
6662 NeXT_RUNTIME.
6663
6664 2001-05-04 Richard Frith-Macdonald <rfm@gnu.org>
6665
6666 * Source/NSDate.m: GSTimeNow() remove volatile typespec and move
6667 initialisation of interval in the hope of fixing a problem with
6668 float operations. In any case, the code is tidier.
6669 * Tools/gdomap.c: If started as root, try to become user nobody
6670 before resorting to uid -2 (like NFS).
6671
6672 2001-05-03 Adam Fedor <fedor@gnu.org>
6673
6674 * configure.in: Don't use -lobjc with NeXT_RUNTIME. Check for -lm.
6675
6676 * Headers/gnustep/base/objc-gnu2next.h: Add sel_register_name
6677 * Source/behavior.m: Add define hacks for Darwin.
6678
6679 2001-05-03 Richard Frith-Macdonald <rfm@gnu.org>
6680
6681 * Source/NSObject: ([+initialize]) Move GSSetLocale() after platform
6682 specific code with conditionally compiled variable declarations.
6683 Should make this work on BSD and MINGW again.
6684
6685 2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6686
6687 * Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
6688 code bug introduced by the call of GSSetLocaleC().
6689
6690 Wed May 2 13:19:13 2001 Nicola Pero <nicola@brainstorm.co.uk>
6691
6692 * Source/UnixFileHandle.m (id): Redefine `id' when including
6693 openssl header files to avoid syntax errors from 3.x serie gcc
6694 compilers.
6695
6696 2001-05-02 Richard Frith-Macdonald <rfm@gnu.org>
6697
6698 * Source/NSTimeZone: ([-initWithName:]) fix for trivial locking bug.
6699
6700 2001-04-30 Adam Fedor <fedor@gnu.org>
6701
6702 * Source/behavior.m: Rewrite to work with NeXT runtime.
6703 * Headers/gnustep/base/objc-gnu2next.h: Add some extra translations.
6704
6705 2001-04-30 Richard Frith-Macdonald <rfm@gnu.org>
6706
6707 * Source/NSString.m: parseQuotedString() handle \U escape sequences
6708 of eight digit hex encoded unicode values.
6709 ([descriptionWithLocale:indent:to@]) handle unicode strings by using
6710 \U escape sequences in output C string.
6711
6712 2001-04-28 Fred Kiefer <FredKiefer@gmx.de>
6713
6714 * Source/NSString.m:
6715 Corrected bug in last optimization for the parsing of property
6716 list. Now the bitmap representation is retained not the
6717 characterset itself. This did cause undeterministic problems when
6718 reading in the Info.plist.
6719
6720 2001-04-28 Richard Frith-Macdonald <rfm@gnu.org>
6721
6722 * Source/NSLog.m: Use RETAIN/RELEASE
6723 * Source/GSLocale.m: Set up NSDecimalSeparator and NSThousandsSeparator
6724 from locale if possible. Fix bug dereferencing nil pointer.
6725 * Source/GSFormat.m: Hack to rewrite output from sprintf of floats and
6726 doubles to use the value in NSDecimalSeparator.
6727
6728 2001-04-27 Nicola Pero <n.pero@mi.flashnet.it>
6729
6730 * Source/NSString.m: Minor optimization for parsing property
6731 lists: cache the bitmap representation of hexdigit, quotable and
6732 whitespace character sets, and use it directly to determine
6733 whether a character is member or not of these sets.
6734
6735 2001-04-26 Richard Frith-Macdonald <rfm@gnu.org>
6736
6737 * Source/NSString.m: ([+initialize]) protect with flag so it is safe
6738 to call this method more than once.
6739 * Source/externs.m: GSBuildStrings() call +initialize method for
6740 NSString to ensure that the class is properly initialised even if
6741 this function has been called from NSObjects +initialize, which was
6742 in turn called in preparation for NSString initialisation!
6743
6744 2001-04-25 Adam Fedor <fedor@gnu.org>
6745
6746 * configure.in: Much simplified NeXT checks. Just use LIBRARY_COMBO
6747 to check runtime.
6748 * Source/o_vscanf.c: Remove objc-gnu2next.h
6749
6750 2001-04-25 Richard Frith-Macdonald <rfm@gnu.org>
6751
6752 * Headers/Foundation/GSXML.h: Many changes to restore encapsulation
6753 of libxml previously broken by someone... Partly as a matter of
6754 good OO programming practice, partly so that the library can be
6755 used effectively from Java (via JIGS).
6756 Moved libxml header includes out of this file.
6757 Removed typedefs for libxml constants and changed 'type' methods
6758 to return 'int'.
6759 Added class methods for mapping between integer type values
6760 and constant string type values.
6761 Added a typeDescription method to GSXMLAttribute for consistency.
6762 * Source/GSXML.m: include required headers and update to implement
6763 changes in API. Also fixed bug in implementation of typeDescription
6764 method for GSXMLNamespace.
6765 * Documentation/gsdoc/GSXMLNode.gsdoc: Updated to reflect current API
6766 * Documentation/gsdoc/GSXMLNamespace.gsdoc: ditto
6767 * Documentation/gsdoc/GSXMLAttribute.gsdoc: ditto
6768
6769 2001-04-25 Nicola Pero <nicola@brainstorm.co.uk>
6770
6771 * base.make.in: (GNUSTEP_BASE_VERSION),
6772 (GNUSTEP_BASE_MAJOR_VERSION), (GNUSTEP_BASE_MINOR_VERSION),
6773 (GNUSTEP_BASE_SUBMINOR_VERSION): New variables providing the
6774 gnustep-base version.
6775
6776 2001-04-24 Adam Fedor <fedor@gnu.org>
6777
6778 * Headers/gnustep/base/objc-gnu2next.h: Remove TypedStream defs
6779
6780 2001-04-24 Richard Frith-Macdonald <rfm@gnu.org>
6781
6782 * Source/NSObject.m: Fixes for string capitalisation in
6783 key-value methods.
6784
6785 2001-04-23 Adam Fedor <fedor@gnu.org>
6786
6787 * configure.in: Simplify NeXT checks.
6788 * Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
6789 * Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
6790 * Source/o_vscanf.c: include objc-gnu2next.h
6791 * Source/NSConnection.m: Fix test for NeXT_RUNTIME define.
6792 * Source/NSDistantObject.m: Likewise.
6793 * Source/callframe.m: Likewise.
6794 * Source/cifframe.m: Likewise.
6795 * Source/mframe.m: Likewise.
6796
6797 2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
6798
6799 * Testing/benchmark.m (bench_object): Use a choice of the 10 more
6800 used classes when benchmarking class method invocation, rather
6801 than always using `NSObject'. Added bench for NSClassFromString.
6802
6803 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6804
6805 * Source/GSValue.m ([-getValue:]): Fixed typo - was raising
6806 exception on non-NULL buffer rather than NULL.
6807
6808 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6809
6810 * Source/NSBundle.m ([+initialize]): Fixed segmentation fault when
6811 NSSearchPathForDirectoriesInDomains returns an empty array. This
6812 used to appear when GNUSTEP_SYSTEM_ROOT was unset.
6813 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Read
6814 GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT and
6815 GNUSTEP_USER_ROOT only once, then cache them. Do not crash if
6816 some of them are nil. If GNUSTEP_SYSTEM_ROOT is nil, fprintf a
6817 log message, and try using /usr/GNUstep/System. Use new ADD_PATH
6818 macro to simplify code. Autorelease returned array which was
6819 previously leaked.
6820
6821 2001-04-22 Georg Fleischmann
6822
6823 * Source/GSAttributedString.m:
6824 ([replaceCharactersInRange:withString:])
6825 recalculate effective range after removing attributes.
6826
6827 2001-04-23 Richard Frith-Macdonald <rfm@gnu.org>
6828
6829 * Source/GSLocale.m: Only call setlocale() in GSSetLocaleC()
6830 * Source/NSObject.m: ([+initialize]) call GSSetLocaleC() after other
6831 initialisation, to try to ensure that locale stuff is set up early
6832 before any attempt is made to use locale dependent code.
6833 * Source/NSString.m: ([-stringByExpandingTildeInPath:]) fix suggested
6834 by David Wetzel.
6835 * Source/GSValue.m: Fix abort when initialising value with illegal
6836 type. Also fix all other uses of objc_sizeof_type(), add some checks
6837 to conform to documentation, and some optimisations.
6838
6839 2001-04-22 Nicola Pero <n.pero@mi.flashnet.it>
6840
6841 * Testing/benchmark.m: Modified messages to give a better idea of
6842 the order of magnitudes involved; added benchmarks for
6843 retain/release, autorelease/retain and locking/unlocking.
6844
6845 2001-04-21 Nicola Pero <n.pero@mi.flashnet.it>
6846
6847 * Source/NSString.m ([-fileSystemRepresentation]): Cache the
6848 default file manager.
6849
6850 2001-04-21 Richard Frith-Macdonald <rfm@gnu.org>
6851
6852 * config/config.proccmd.c: New test for behavior of /proc cmdline
6853 * acconfig.h: New CMDLINE_TERMINATED constant
6854 * configure.in: Use test to set CMDLINE_TERMINATED
6855 * configure: regenerated
6856 * Headers/Foundation/config.h.in: regenerated
6857 * Source/NSProcessInfo.m : ([+load]) modified to use CMDLINE_TERMINATED
6858 to decide how to use /proc/$$/cmdline when determining process args.
6859 Should now work 100% on all linux versions I hope.
6860
6861 2001-04-20 Richard Frith-Macdonald <rfm@gnu.org>
6862
6863 * Source/NSData.m ([NSMutableDataMalloc
6864 -replaceBytesInRange:withBytes:]): Check length, not capacity!
6865 Conform to documentation, and avoid possibility of 'hole' in data.
6866 * Source/NSInvocation.m: _get_arg() indirection fix suggested by
6867 Michael Scheibler.
6868
6869 2001-04-20 Nicola Pero <n.pero@mi.flashnet.it>
6870
6871 * Source/NSFileManager.m (NSDirectoryEnumerator): Rewritten to be
6872 faster. ([NSFileManager -directoryContentsAtPath:]),
6873 ([NSFileManager -subpathsAtPath:]): Use the new init method for
6874 NSDirectoryEnumerator. ([NSFileManager
6875 -contentsEqualAtPath:andPath:]): Spare some method calls.
6876 ([NSFileManager -fileSystemRepresentationWithPath:]): Cleaned
6877 preprocessor directives.
6878 * Headers/gnustep/base/NSFileManager.h (NSDirectoryEnumerator):
6879 Changed ivars in sync.
6880
6881 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6882
6883 * Documentation/gsdoc/NSFunctions.gsdoc: Documented
6884 GSDebugAllocation* functions.
6885 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Fixed syntax error.
6886 * Documentation/gsdoc/*.html: Regenerated.
6887
6888 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6889
6890 To help with debugging memory leaks, you can now ask to the
6891 library to track all allocated instances of a certain class.
6892 * Source/NSDebug.m (table_entry): Added fields to allow recording
6893 the list of allocated instances if required.
6894 (GSDebugAllocationActiveRecordingObjects): New function.
6895 (GSDebugAllocationAdd): Modified to take an additional argument -
6896 the object being allocated -, and to record it in the list of
6897 instances for the class if recording instances of that class has
6898 been activated.
6899 (GSDebugAllocationRemote): Add a similar additional argument;
6900 remove the object from the list of instances if recording
6901 instances is activated.
6902 (GSDebugAllocationListRecordedObjects): New function.
6903 * Source/NSObject.m: Updated all occurrences of
6904 GSDebugAllocationAdd and GSDebugAllocationRemove to pass the
6905 allocated/removed object as well.
6906 * Headers/gnustep/base/NSDebug.h: Updated.
6907
6908 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6909
6910 * Source/GSTcpPort.m ([GSTcpPort -dealloc]): Fixed memory leak:
6911 release address string.
6912
6913 2001-04-19 Richard Frith-Macdonald <rfm@gnu.org>
6914
6915 * Source/NSTask.m: Tidied code a little, added safety checks for
6916 usePseudoTerminal method.
6917 * Source/NSData.m: ([writeToFile:atomically:]) create new files
6918 with permission 0644 modified by umask.
6919 Init tmppath for MINGW.
6920 * Tools/gsdoc.m: Use memory management macros and attempt to get
6921 back to something like conformance with coding standards.
6922 * Documentation/gsdoc/NSTask.gsdoc: documentation fleshed out.
6923
6924 2001-04-16 Adam Fedor <fedor@gnu.org>
6925
6926 * aclocal.m4: Detect the xm2-config script.
6927
6928 2001-04-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6929
6930 * configure.in: fixed fake main for 'new' FreeBSD targets.
6931
6932 2001-04-13 Adam Fedor <fedor@gnu.org>
6933
6934 * Source/GSFFCallInvocation.m (GSInvocationCallback): Generate
6935 an exception for an invalid selector.
6936
6937 2001-04-12 Adam Fedor <fedor@gnu.org>
6938
6939 * Headers/gnustep/base/NSObjCRuntime: Revert to using class_pointer.
6940 * Headers/gnustep/base/objc-gnu2next.h: Redefine class_pointer.
6941
6942 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6943
6944 * Source/NSProcessInfo.m ([load]): Fixed single line change somehow
6945 missed from last patch.
6946
6947 2001-04-12 Adam Fedor <fedor@gnu.org>
6948
6949 * Headers/gnustep/base/NSLock.h: Include thrmach.h if NeXT_RUNTIME.
6950 * Headers/gnustep/base/NSThread.h: Likewise.
6951 * Headers/gnustep/base/NSObjCRuntime: Include objc-gnu2next.h if
6952 NeXT_RUNTIME, use common objc functions for compatibility.
6953 * Headers/gnustep/base/objc-gnu2next.h: Update, simplify.
6954 * Headers/gnustep/base/thr-mach.h: New file
6955 * Source/thr-mach.m: New file
6956 * Source/GNUmakefile: Update to conditionally compile NeXT files
6957
6958 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Update.
6959
6960 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6961
6962 * Source/NSString.m: For efficiency, use _DefaultStringEncoding
6963 throughout, rather than calling +defaultCStringEncoding. This is
6964 safe since the documentation explicitly states that the encoding
6965 cannot be changed programmatically ... so we don't have to worry
6966 about someone adding a category to change that.
6967 When converting data to/from strings, optimise to simple cString
6968 stuff if the specified encoding is the defautl encoding.
6969 Tidied some stuff to conform better to coding standards.
6970 * Source/Unicode.m GetDefEncoding(): prohibit UTF8 from being the
6971 default cString encoding ... the default cString encoding must
6972 consist of 7 or 8 bit characters, and must contain ASCII as a
6973 subset. We really should think of a generalised test for that.
6974 Use GetDefEncoding() throughout rather than defaultCStringEncoding.
6975 * Source/GSString.m: Use GetDefEncoding() to get c string encoding.
6976
6977 2001-04-11 Nicola Pero <nicola@brainstorm.co.uk>
6978
6979 * Source/NSString.m ([-initWithData:encoding:]): When working with
6980 a generic but non-unicode encoding, do not treat a single
6981 character string with no null terminator as an empty string. This
6982 should fix passing single character strings over DO.
6983 * Source/NSThread.m ([+registerCurrentThread]),
6984 ([+unregisterCurrentThread]): Removed.
6985
6986 2001-04-11 Richard Frith-Macdonald <rfm@gnu.org>
6987
6988 * Source/GSFFCallInvocation.m: bugfix encoding ... pass correct
6989 method type information so that the other end knows whether this
6990 is a oneway message or not. Corrects major memory leak.
6991 * Source/NSConnection.m: bugfix to handle situations where the
6992 other end sends a response and we are not expecting it. Also
6993 added various bits of debugging and ensured that all NSPortCoder
6994 objects are cached.
6995
6996 2001-04-10 Adam Fedor <fedor@gnu.org>
6997
6998 * Headers/gnustep/base/preface.h.in: Correct NeXT_RUNTIME name
6999
7000 * Documentation/gsdoc/NSLock.h: Documented.
7001
7002 2001-04-10 Richard Frith-Macdonald <rfm@gnu.org>
7003
7004 * Source/NSTask.m: Bugfix to send out task termination notification
7005 and clean up correctly when a task is killed by a signal rather than
7006 exiting cleanly.
7007
7008 2001-04-09 Adam Fedor <fedor@gnu.org>
7009
7010 * 1.0 branch merged into main.
7011
7012 2001-04-06 Nicola Pero <n.pero@mi.flashnet.it>
7013
7014 * Source/NSString.m (pathSepMember): Made trivial and inlined.
7015 ([-stringsByAppendingPaths:]): Count the array only once, not for
7016 any loop in the cycle.
7017
7018 2001-04-05 Richard Frith-Macdonald <rfm@gnu.org>
7019
7020 * Source/NSUser.m: NSTemporaryDirectory() rewrite for improved
7021 security and reliability. Expect MINGW update soon.
7022
7023 2001-04-02 Richard Frith-Macdonald <rfm@gnu.org>
7024
7025 * Source/NSUser.m: Tidied some stuff to conform to coding standards.
7026 Added FIXME where unsure of code. Tidied code to get name of user.
7027 * configure.in: Added checks for a few functions needed to get user.
7028
7029 2001-03-37 Jonathan Gapen <jagapen@home.com>
7030
7031 * Source/NSString.m: New private function to compute the scalar value
7032 of a high-low surrogate pair. New surrogate range class variables.
7033 Optimize ([-hasPrefix]) and ([-hasSuffix]) by using NSAnchoredSearch.
7034 Add UTF-8 code to ([-dataUsingEncoding:allowLossyConversion:]).
7035
7036 2001-03-26 Jonathan Gapen <jagapen@home.com>
7037
7038 * Source/Makefile.preamble: No need to define HAVE_LIBXML here.
7039 * Source/NSBundle.m: ([+initialize]) and ([+pathForGNUstepResource:
7040 ofType:inDirectory:]) now use NSSearchPathForDirectoriesInDomains()
7041 to find directories, rather than use env vars directly.
7042 * Source/NSCharacterSet.m: Ditto for ([_-bitmapForSet:]).
7043 * Source/NSDictionary.m: Make NSLog() include the filename
7044 in ([-initWithContentsOfFile:]).
7045 * Source/NSUser.m: Re-implement NSStandardApplicationPaths() and
7046 NSStandardLibraryPaths() with NSSearchPathsForDirectoriesInDomains().
7047 In latter function, support $GNUSTEP_SYSTEM_ROOT/Developer/Demos.
7048
7049 2001-03-21 Jonathan Gapen <jagapen@home.com>
7050
7051 * config/nextcc.m4, config/objc-con-autoload.m4, config/procfs.m4,
7052 config/objc-sys-dynamic.m4, config/procfs-exe-link.m4: Autoconf
7053 macros used by configure.in.
7054
7055 2001-04-08 Adam Fedor <fedor@gnu.org>
7056
7057 * Version: 1.0.0
7058 * NEWS: Regenerated.
7059
7060 * Source/NSLock.m (-tryLock): Return NO if our thread has
7061 already has the lock (like OpenStep).
7062 (-lockBeforeDate:): block until date if our thread already has
7063 the lock (like OpenStep).
7064
7065 * Source/NSData.m ([NSMutableDataMalloc
7066 -replaceBytesInRange:withBytes:]): Check capacity, not length.
7067
7068 2001-04-04 Adam Fedor <fedor@gnu.org>
7069
7070 * config.guess: Update to latest version
7071 * config.sub: Likewise.
7072
7073 2001-04-01 2001 Nicola Pero <n.pero@mi.flashnet.it>
7074
7075 * Source/GSValue.m ([-description]): Bug fix - was crashing upon
7076 using %@ instead of %s for a char *.
7077
7078 2001-03-31 Adam Fedor <fedor@gnu.org>
7079
7080 * Documentation/announce.texi: Update.
7081 * Documentation/install.texi: Likewise.
7082
7083 * Testing/Makefile.preamble: Set BUNDLE_LIBS on mingw and cygwin.
7084 * Testing/nsbundle.m: add NSProcessInfo's initializeWithArguments:...
7085
7086 2001-03-28 Richard Frith-Macdonald <rfm@gnu.org>
7087
7088 * Source/NSProcessInfo.m: ([+load]) Fix in parsing of command line
7089 arguments from /proc filesystem. On newer kernels the command line
7090 arguments are terminated by a nul, on older systems they are separated
7091 by a nul. The old code would add an extra (empty) argument to all
7092 processes on newer kernels. The new code will lose a trailing empty
7093 argument on older kernels :-( I view it as the lesser of two evils
7094 since the extra empty arg confuses/breaks a lot of tools.
7095
7096 2001-03-27 Richard Frith-Macdonald <rfm@gnu.org>
7097
7098 * Source/NSFileManager.m: Fix file copying for MINGW by using
7099 windows native copy function - fix by Michael Scheibler.
7100 Also tidied to conform to coding standards, and fixed to use
7101 O_BINARY where the system defines it.
7102
7103 2001-03-26 Richard Frith-Macdonald <rfm@gnu.org>
7104
7105 * Headers/Foundation/NSObject.h: GS_EXPORT updates for MINGW
7106 * Headers/Foundation/NSObCRuntime.h: ditto
7107 * Headers/Foundation/NSRange.h: ditto
7108 * Source/NSRange.m: ditto
7109 Fixes suggested by Michael Scheibler
7110
7111 2001-03-24 Richard Frith-Macdonald <rfm@gnu.org>
7112
7113 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7114 revert to check using '>' rather than '>=' to conform to documentation
7115 and to be consistent with use of ranges in general.
7116 * Documentation/gsdoc/NSMutableData.gsdoc: documented primitive methods.
7117 * Documentation/gsdoc/NSFunctions.gsdoc: Some documentation for NSRange
7118 added.
7119
7120 2001-03-23 Adam Fedor <fedor@gnu.org>
7121
7122 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) Check location
7123 >= size.
7124
7125 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7126
7127 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7128 extend data if range has location in data, but extent beyond data.
7129
7130 2001-03-23 Adam Fedor <fedor@gnu.org>
7131
7132 * Source/NSSerializer.m (serializeToInfo): Use memcpy to serialize
7133 strings on machines that need word alignment.
7134 * Source/NSTimeZone.m (decode): For decoding, likewise.
7135
7136 * Testing/thread-except.m: Use autorelease pools.
7137
7138 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7139
7140 * Source/NSFileManager.m: MINGW fixes by Michael Scheibler.
7141 ([_attributesAtPath:traverseLink:forCopy:]) fix 'cos windows lacks
7142 symbolic links. ([-changeFileAttributes:atPath:]) workaround for
7143 windows directories not having modification times.
7144 ([-fileSystemAttributesAtPath:]) fix for large volumes (matching
7145 change for unix too ... use unsigned long long).
7146
7147 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7148
7149 * Source/NSObject.m: ([-methodSignatureForSelector:]) try to get a
7150 valid method signature any way we can ... check for a valid method
7151 first, use selector types next. Avoid crash when given nul selector
7152 as an argument.
7153 * Source/NSMethodSignature.m: ([+signatureWithObjCTypes:]) don't
7154 crash when given nul pointer as argument.
7155
7156 2001-03-19 Jonathan Gapen <jagapen@home.com>
7157
7158 * Source/NSString.m: Implement ([-localizedStringWithFormat:]).
7159 Fix ([-localizedCompare:]) and ([-localizedCaseInsensitiveCompare:]).
7160 (They will work when ([-compare:options:range:locale:]) works.)
7161 Fix ([-initWithContentsOfFile:]) and ([-initWithContentsOfURL:]) so
7162 that they deal with 1 byte of data, and clarify Unicode BOM test with
7163 new class variables byteOrderMark and byteOrderMarkSwapped.
7164 In ([-initWithData:encoding:]) and ([-initWithCoder:]), don't treat
7165 the default C string encoding the same as ASCII. GCC 3.0 supports
7166 UTF-8 as a C string encoding, so this behavior is undesirable.
7167
7168 2001-03-19 Jonathan Gapen <jagapen@home.com>
7169
7170 * Source/NSAutoreleasePool.m, Source/NSCharacterSet.m,
7171 Source/NSHashTable.m, Source/NSMapTable.m, Source/NSZone.m:
7172 Update from %s/([-cString]) to %@ for format strings.
7173 * Source/NSDecimal.m: In GSDecimalFromString(), use ([-lossyCString])
7174 instead of ([-cString]) which should (in the future) always return
7175 ASCII-range decimal digits in place of digits from other languages.
7176
7177 2001-03-19 Nicola Pero <nicola@brainstorm.co.uk>
7178
7179 * Source/NSThread.m: registerCurrentThread and
7180 unregisterCurrentThread turned into functions - called
7181 GSRegisterCurrentThread and GSUnregisterCurrentThread.
7182 * Headers/gnustep/base/NSThread.h: Updated for change.
7183
7184 * Source/NSThread.m (GSRegisterCurrentThread): Call
7185 objc_thread_add before creating the NSThread object using a method
7186 call. (GSUnregisterCurrentThread): Post the NSThreadWillExit
7187 notification.
7188
7189 2001-03-19 Jonathan Gapen <jagapen@home.com>
7190
7191 * Source/NSString.m: In ([-rangeOfComposedCharacterSequenceAtIndex:]),
7192 use the NSCharacterSet non-base character set to identify non-base
7193 characters. In ([-cStringLength]), do not allow lossy string
7194 conversion. In ([+localizedNameOfStringEncoding:]), use NSBundle's
7195 ([-gnustepBundle]) rather than looking in root path.
7196
7197 2001-03-17 Richard Frith-Macdonald <rfm@gnu.org>
7198
7199 * Headers/Foundation/NSThread.h: Remove unused ivar.
7200 * Source/NSThread.m: Revise scheme for deallocation of thread
7201 dictionary ... keep it operating to avoid problems with stuff
7202 trying to use it while deing deallocated. Log memory leaks.
7203 * Source/NSRunLoop.m: ([+currentRunLoop]) return nil if there is
7204 no thread dictionary available (shouldn't happen).
7205 * Source/NSString.m: MINGW path handling fixes by Michael Scheibler
7206 stringByAppendingPath, isAbsolurtePath, and stringByStandardizingPath.
7207
7208 2001-03-16 Nicola Pero <n.pero@mi.flashnet.it>
7209
7210 * Source/Makefile.postamble (after-install): Removed old
7211 code for creating /etc/services.add when packaging.
7212
7213 * Makefile.postamble
7214 ($(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional): New target;
7215 create the directory. (before-install): Don't create the
7216 directory, but depend on the new target.
7217 * Resources/GNUmakefile.postamble: Idem for $(languagedir).
7218 * NSCharacterSets/Makefile.postamble: Idem for $(charsetdir).
7219 * NSTimeZones/Makefile.postamble: Idem for $(timezonedir).
7220
7221 2001-03-16 Manuel Guesdon <mguesdon@orange-concept.com>
7222
7223 * Tools/pl*.m: added #include <Foundation/Foundation.h> to avoid
7224 GNUSTEP Internal Error
7225
7226 2001-03-14 Adam Fedor <fedor@gnu.org>
7227
7228 * Source/libgnustep-base.def: Remove some classes that aren't
7229 used on MinGW32.
7230
7231 2001-03-13 Adam Fedor <fedor@gnu.org>
7232
7233 * configure.in: Check and set EXEEXT needed by some tests.
7234 * aclocal.m4: Fixes for constructor test.
7235
7236 2001-03-12 Jonathan Gapen <jagapen@home.com>
7237
7238 * Headers/gnustep/base/NSString.h: Change NSCyrillicStringEncoding
7239 to NSISOCyrillicStringEncoding, and likewise for Greek, Arabic, and
7240 Hebrew, to avoid ambiguity. Add enum values for all remaining
7241 ISO-8859 character sets, plus UTF-7.
7242 * Source/GSXML.m: Update pursuant to above changes.
7243 * Source/NSString.m: Ditto.
7244 * Source/Unicode.m: Ditto.
7245
7246 2001-03-11 Adam Fedor <fedor@gnu.org>
7247
7248 * Source/NSThread.m: Remove runtime.h include since this isn't
7249 normally installed by objc, add back in extern variables.
7250
7251 2001-03-10 Adam Fedor <fedor@gnu.org>
7252
7253 * Version 0.9.2
7254 * Makefile.postamble (before-install): Remove extra '/' before
7255 GNUSTEP_MAKEFILES
7256
7257 * configure.in: Check for objc_thread_add in runtime.
7258 * Source/NSThread.m (objc_thread_add): Define only if not in runtime
7259 (objc_thread_remove): Likewise.
7260
7261 2001-03-10 Manuel Guesdon <mguesdon@orange-concept.com>
7262
7263 * GSXML.m/.h: added errer, warning and fatal error methods with
7264 line and col parameters in GSSAXHandler.
7265
7266 2001-03-08 Richard Frith-Macdonald <rfm@gnu.org>
7267
7268 * Headers/gnustep/base/NSCalendarDate.h:
7269 * Headers/gnustep/base/NSTimeZone.h: New files for MacOS-X compatibility
7270 * Headers/gnustep/base/Foundation.h: Add NSCalendarDate and NSTimeZone
7271 * Headers/gnustep/base/NSDate.h: Remove info in new files.
7272 * Source/GNUmakefile: Add new NSCalendarDate and NSTimeZone files.
7273 * Source/NSCalendarDate.m: Update for header changes.
7274 * Source/NSDate.m: ditto
7275 * Source/NSDateFormatter.m: ditto
7276 * Source/NSLog.m: ditto
7277 * Source/NSString.m: ditto
7278 * Source/NSTimeZone.m: ditto
7279
7280 2001-03-07 Adam Fedor <fedor@gnu.org>
7281
7282 * Source/NSInvocation.m (-initWithTarget:selector:): Correct copying
7283 of unhandled argument types.
7284
7285 2001-03-07 Richard Frith-Macdonald <rfm@gnu.org>
7286
7287 * Source/NSObject.m: ([methodSignatureForSelector:]) reliability
7288 fix suggested by Manuel Guesdon <ml@sbuilders.com>
7289
7290 2001-03-06 Adam Fedor <fedor@gnu.org>
7291
7292 * Source/libgnustep-base.def: Regenerate.
7293
7294 2001-03-05 Richard Frith-Macdonald <rfm@gnu.org>
7295
7296 * Source/NSUserDefaults.m: Changed ([+setUserLanguages:]) to use
7297 NSLanguages.
7298 * Documentation/gsdoc/NSUserDefaults.gsdoc: documented the
7299 ([+setUserlanguages:]) method.
7300
7301 2001-03-04 Jonathan Gapen <jagapen@home.com>
7302
7303 * Documentation/gsdoc/NSCharacterSet.gsdoc: Documented some methods.
7304 * Headers/gnustep/unicode/caseconv.h: Updated case-mapping tables.
7305 * Source/NSBitmapCharSet.m: Added sanity check to initWithBitmap:
7306 * Source/Unicode.m: Changed uni_toupper() and uni_tolower() to use
7307 direct lookup in two-level tables, rather than a linear search.
7308
7309 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7310
7311 * Source/NSBundle.m: Corrected
7312 ([-_bundleResourcePathsWithRootPath:subPath:]) to use
7313 ([NSUserDefaults +userLanguages]) to get language array again.
7314 * Documentation/gsdoc/NSUserDefaults.gsdoc: Updated and added
7315 information about +userLanguages
7316
7317 2001-03-03 Adam Fedor <fedor@gnu.org>
7318
7319 * Source/NSInvocation.m: Add missing static inline to __get_arg
7320 (patch from David Relson <relson@osagesoftware.com>).
7321
7322 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7323
7324 * Source/NSSerializer.m:
7325 * Source/NSURLHandle.m:
7326 * Source/NSUnarchiver.m:
7327 * Source/GSFormat.m:
7328 * Source/GSHTTPURLHandle.m:
7329 * Source/GSMime.m:
7330 * Source/GSString.m:
7331 * Source/NSDictionary.m:
7332 * Source/NSPortNameServer.m:
7333 Various minor changes to avoid compiler warnings.
7334 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
7335 Use CYGWIN_HOME as suggested by Michael Scheibler
7336 * Source/NSUser.m: NSHomeDirectoryForUser() fix for home path
7337 on NT by Michael Scheibler.
7338
7339 2001-03-01 Jonathan Gapen <jagapen@home.com>
7340
7341 * NSCharacterSets/whitespaceCharSet.dat,
7342 NSCharacterSets/whitespaceAndNlCharSet.dat: Add tab character.
7343
7344 2001-03-01 Nicola Pero <n.pero@mi.flashnet.it>
7345
7346 * aclocal.m4 (AC_SYS_PROCFS): Reverted last change in code to detect
7347 the /proc filesystem as it didn't work on my gnu-linux: /proc/0 does
7348 not exist, but the /proc filesystem works perfectly.
7349 * configure.in (GS_FAKE_MAIN): Fixed typo in last change which
7350 caused fake main definition to take place even when both +load and
7351 /proc worked.
7352 * configure: Regenerated.
7353
7354 2001-02-28 Jonathan Gapen <jagapen@home.com>
7355
7356 * configure.in: Begin autoconf clean-up; replace tests for NeXT
7357 compiler, /proc, and exe link with external macros; add support
7358 for FreeBSD /proc/curproc/file link.
7359 * acconfig.h: Remove definition now handled by macro.
7360 * aclocal.m4, configure, Headers/gnustep/base/config.h.in: Regen.
7361 * Source/NSBundle.m: Take exe link from PROCFS_EXE_LINK define.
7362 * Source/NSProcessInfo.m: HAVE_PROC_FS -> HAVE_PROCFS
7363
7364 2001-02-28 Adam Fedor <fedor@gnu.org>
7365
7366 * Source/win32-load.h (__objc_dynamic_get_symbol_path): New function.
7367
7368 * Source/GSHTTPURLHandle.m ([GSHTTPURLHandle -loadInBackground]): Use
7369 GSUnixSSLHandle only if not __MINGW__
7370
7371 2001-02-27 Jonathan Gapen <jagapen@home.com>
7372
7373 * NSCharacterSets/README.CharSet: Update notes.
7374 * NSCharacterSets/*.dat: Regenerate with v3.0.1 of UnicodeData.txt
7375 (ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt)
7376
7377 2001-02-27 Adam Fedor <fedor@gnu.org>
7378
7379 * configure.in: Fix openssl config so it defines HAVE_OPENSSL only
7380 if all headers and libs available.
7381 * configure, acconfig.h, Headers/gnustep/base/config.h.in: Regen.
7382 * Source/UnixFileHandle.m: Use HAVE_OPENSSL.
7383
7384 2001-02-27 Nicola Pero <nicola@brainstorm.co.uk>
7385
7386 * Source/NSLock.m: Commented out extra token after #endif
7387 directive.
7388 * Headers/gnustep/base/GSXML.h: Idem.
7389
7390 2001-02-27 Nicola Pero <n.pero@mi.flashnet.it>
7391
7392 * configure.in (Version): source it as ./Version rather than
7393 Version (suggested by Juliusz Chroboczek <jch@pps.jussieu.fr>).
7394 * configure: Regenerated.
7395
7396 2001-02-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7397
7398 * Source/NSConcreteNumber.m (NumberTemplate): added precision to float
7399 and double TYPE_FORMAT.
7400
7401 2001-02-25 Adam Fedor <fedor@gnu.org>
7402
7403 * configure.in (cppflags_temp): Corrected to save CPPFLAGS not
7404 CFLAGS>
7405
7406 2001-02-25 Richard Frith-Macdonald <rfm@gnu.org>
7407
7408 * Source/GSLocale.m: Removed YESSTR and NOSTR support for simplicity.
7409
7410 2001-02-24 Nicola Pero <n.pero@mi.flashnet.it>
7411
7412 * Resources/Languages/French: New file (contributed by Frederic De
7413 Jaeger).
7414 * Resources/GNUmakefile (LANGUAGES): Added French.
7415
7416 2001-02-23 Richard Frith-Macdonald <rfm@gnu.org>
7417
7418 * Tools/gdomap.c: Fixed bug in handling '-a' option and enhanced
7419 to support multicast probing of networks specified in '-a' file.
7420
7421 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7422
7423 * Headers/gnustep/base/NSBundle.h: Added three new localization
7424 macros: _(), __() and NSLocalizedStaticString ().
7425
7426 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7427
7428 * Resources/Languages/Italian: New file.
7429 * Resources/GNUmakefile (LANGUAGES): Added Italian.
7430
7431 2001-02-22 Richard Frith-Macdonald <rfm@gnu.org>
7432
7433 * Source/NSUserDefaults.m: Fixes to prevent problems obtaining
7434 languages array due to attempts to use partially constructed
7435 standard user defaults object.
7436
7437 2001-02-21 Adam Fedor <fedor@gnu.org>
7438
7439 * Documenation/install.texi: Update.
7440 * Documenation/news.texi: Likewise.
7441 * INSTALL, NEWS: Regen.
7442
7443 2001-02-21 Richard Frith-Macdonald <rfm@gnu.org>
7444
7445 * Source/NSString.m: Fix memory leak reported by thoran@free.fr
7446 parsePlItem()
7447
7448 2001-02-17 Nicola Pero <nicola@brainstorm.co.uk>
7449
7450 * Source/GNUmakefile (PACKAGE_NAME): Fixed typo - was gnutep-base
7451 rather than gnustep-base.
7452
7453 2001-02-20 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7454
7455 * Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.
7456
7457 2001-02-19 Richard Frith-Macdonald <rfm@gnu.org>
7458
7459 * Source/GSLocale.m: Tidy, defined __USE_GNU to get YESSTR and NOSTR
7460 on later versions of glibc.
7461 * Source/NSString.m: Log more info when parsing a property list fails.
7462
7463 2001-02-13 Adam Fedor <fedor@gnu.org>
7464
7465 * Version: 0.9.1
7466
7467 * configure.in: Fix test for stdint.h
7468
7469 2001-02-11 Manuel Guesdon <mguesdon@orange-concept.com>
7470
7471 * GSXML.m: testing lib!=NULL and string!=NULL before doing something in
7472 -GSXMLNode content
7473 -GSXMLNode name
7474 -GSXMLNode ns
7475 -GSXMLNode nsDef
7476 * NSString.m: handle NULL bytes in -initWithUTF8String:
7477 (Treat it as zero length string and NSDebugMLog a warning).
7478
7479 2001-02-09 Jonathan Gapen <jagapen@home.com>
7480
7481 More FreeBSD build fixes:
7482 * acconfig.h: Add recent definitions.
7483 * configure.in: Add test for wchar.h header.
7484 * configure: Regenerate.
7485 * Headers/gnustep/base/config.h.in: Regenerate.
7486 * Source/GSFormat.m: Typedef wint_t if wchar.h not available.
7487 * Source/NSTask.m: Change #if TIOCNOTTY to #ifdef TIOCNOTTY.
7488
7489 2001-02-08 Nicola Pero <n.pero@mi.flashnet.it>
7490
7491 * INSTALL: Updated installation instructions.
7492
7493 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7494
7495 Fixes reported by David Wetzel ...
7496 * Source/GSFormat.h: Add header for wchar
7497 * Source/NSCoder.m: Remove spurious semicolon
7498 * Source/dynamic-load.h: correct argument to dlsym()
7499
7500 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7501
7502 * Source/GSString.m: permit nil string when replacing characters
7503 in range. Treat as an empty string rather than raising exception.
7504
7505 2001-02-07 Jonathan Gapen <jagapen@home.com>
7506
7507 * Source/NSFileManager.m: Make disk space report work on FreeBSD.
7508 On all Unix platforms, report disk space available to non-root users.
7509
7510 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7511
7512 * Source/GSFormat.m: merged in some more fixes by Kai.
7513
7514 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7515
7516 * Source/GSFormat.m: Fixed error in PAD() macro - it was failing to
7517 decrement a counter - and looping forever.
7518 Fixed error in formatted output of string arguments ... was
7519 crashing with range exception.
7520
7521 2001-02-04 Richard Frith-Macdonald <rfm@gnu.org>
7522
7523 * Source/NSTask.m: Added gnustep specific feature to run task in
7524 pseudo terminal.
7525
7526 2001-02-02 Richard Frith-Macdonald <rfm@gnu.org>
7527
7528 Integrated patch for unicode support for ([-initWithFormat:]) by
7529 Kai Henningsen. Modified to support efficient append with format
7530 to a unicode string.
7531 * configure.in: Test for data type used by GSFormat
7532 * Headers/gnustep/base/GSFormat.h: file declaring GSFormat info.
7533 * Source/GSFormat.m: Source for format support.
7534 * Source/NSString.m: Use GSFormat() to implement ([-initWithFormat:])
7535 * Source/GSString.m: use GSFormat() to implement ([-appendFormat:])
7536
7537 2001-01-31 Richard Frith-Macdonald <rfm@gnu.org>
7538
7539 * Source/NSDate.m: pass dates over DO bycopy unless explicitly byref.
7540 * Source/NSTimeZone.m: pass time zones over DO bycopy unless
7541 explicitly byref.
7542 Use placeholder class for newly created objects - to improve
7543 eficiency of selection of classes in cluster.
7544 Updated to use MacOS-X initialisation methods.
7545
7546 2001-01-30 Michael Hanni <mhanni@sprintmail.com>
7547
7548 * Source/.cvsignore: tweaked to cover a few more items.
7549 * Makefile.postamble: distclean removes created file: base.make.
7550 * configure.in: patched to fix bug in libxml detection macro
7551 (reviewed by: Nicola Pero <nicola@brainstorm.co.uk>)
7552 * configure: Regenerated.
7553
7554 2001-01-30 Nicola Pero <nicola@brainstorm.co.uk>
7555
7556 * gnustep-base.script.spec.in: Fixed, tidied.
7557 * configure.in (CPPFLAGS): Added -I$GNUSTEP_HDIR so that custom
7558 libobjc headers are used - this should fix ffcall detection.
7559 * configure: Regenerated.
7560
7561 2001-01-30 Richard Frith-Macdonald <rfm@gnu.org>
7562
7563 * Headers/Foundation/NSDate.h: Partial support added for MacOS-X
7564 * Source/NSTimeZone.m: Updates to encode all time zones as the
7565 abstract class, and added MacOS-X methods.
7566 * Source/NSCalendarDate.m: Use NSTimeZone rather than NSTimeZoneDetail
7567 throughout ... provide MacOS-X compatibility.
7568 * Source/NSDate.m: Fix milliseconds error creating date on MINGW
7569
7570 2001-01-29 Adam Fedor <fedor@gnu.org>
7571
7572 * configure.in: Remove check for alternate libobjc and Headers
7573 include. Fix typo in setting cppflags_temp in GMP test.
7574 * Source/Makefile.preamble (ADDITIONAL_INSTALL_DIRS): Don't
7575 make .../gnustep/Foundation
7576 * Source/Makefile.postamble (after-install): Don't install headers
7577 in .../gnustep/Foundation
7578
7579 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7580
7581 * GNUmakefile: Include local base.make.
7582 * Admin/GNUmakefile: Idem.
7583 * Documentation/GNUmakefile: Idem.
7584 * Documentation/gsdoc/GNUmakefile: Idem.
7585 * Examples/GNUmakefile: Idem.
7586 * NSCharacterSets/GNUmakefile: Idem.
7587 * NSTimeZones/GNUmakefile: Idem.
7588 * Testing/GNUmakefile: Idem.
7589 * Tools/GNUmakefile: Idem.
7590 * Resources/GNUmakefile: Idem.
7591 * Source/GNUmakefile: Idem.
7592 * configure.in (tests for ffi): set CONFIG_SYSTEM_LIBS too
7593 (test for iconv): test taken from the make package. (AC_OUTPUT):
7594 Generate base.make.
7595 * configure: Regenerated.
7596 * base.make.in: New file.
7597 * Makefile.postamble (before-install): Install base.make.
7598
7599 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7600
7601 * NSTimeZones/NSTimeZones.tar: Updated.
7602
7603 2001-01-28 Jonathan Gapen <jagapen@home.com>
7604
7605 * Source/NSUser.m: In NSSearchPathForDirectoriesInDomains(), added
7606 support for NSDeveloperDirectory, NSAdminDirectory, and the new
7607 GSLibrariesDirectory.
7608 * Headers/gnustep/base/NSPathUtilities.h: Added new enum value
7609 GSLibrariesDirectory, to support GNUstep's Libraries dir.
7610
7611 2001-01-26 Adam Fedor <fedor@gnu.org>
7612
7613 * gnustep-base.script.spec.in: New file, rpm script for installing
7614 gdomap, updating ld.conf, etc.
7615
7616 2001-01-26 Richard Frith-Macdonald <rfm@gnu.org>
7617
7618 * Source/NSArray.m: Fix failure to assign result of init to self
7619 (similar fixes in various other files).
7620 * Tools/gsdoc.m: Fix error in parsing items containing mixed elements.
7621 * Documentation/gsdoc/NSTimeZone.gsdoc: Fix erro in markup.
7622
7623 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7624
7625 * configure.in: Add check for rexcent versions of gmp
7626
7627 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7628
7629 * Source/NSException.m: Modify default handler to permit simple
7630 exit as well as abort.
7631 * Documentation/gsdoc/Base.gsdoc: documented environmnet variable
7632 CRASH_ON_ABORT
7633
7634 2001-01-21 Richard Frith-Macdonald <rfm@gnu.org>
7635
7636 * Source/NSString.m: Fixes for OPENSTEP compatibility in string path
7637 operations - patch provided by Pierre-Yves Rivaille, plus another fix
7638 by me.
7639
7640 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7641
7642 * gnustep-base.spec.in: Updated copyright and attempt at improving
7643 description.
7644
7645 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7646
7647 * config/config.loadtest.m: Added dummy NXConstStr implementation
7648 for libobjc which do not include it.
7649 * configure.in: Simplified check for thread flags. gnustep-make
7650 already gets them - simply get them from config.make here.
7651 * configure: Regenerated.
7652 * config/config_thread.m: Removed.
7653
7654 2001-01-17 Adam Fedor <fedor@gnu.org>
7655
7656 * Version: Prerelease version 0.9.0
7657 * configure.in: Change check for installed libobjc to match gstep-make
7658
7659 2001-01-18 Nicola Pero <nicola@brainstorm.co.uk>
7660
7661 * Source/GNUmakefile: Simplified name to gnustep-base.
7662 * gnustep-base.spec.in: Changed Group to Development/Libraries.
7663 * gnustep-base-debug.spec.in: Idem.
7664 * NSTimeZones/NSTimeZones.tar: Removed hard links to avoid rpm
7665 problems with hard links.
7666
7667 2001-01-18 Richard Frith-Macdonald <rfm@gnu.org>
7668
7669 * Source/NSHost.m: New method ([-_addName:]) to add a name to a host.
7670 Use it to add the local hostname to the 127.0.0.1 host if there is
7671 no IP address set up for the local machine.
7672 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) improve
7673 handling of available descriptors - each descriptor may be available
7674 for more than one type of event.
7675
7676 2001-01-17 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7677
7678 * Source/GSXML.m|.h ([GSXMLDocument -stringValue]): dump document in a
7679 string.
7680
7681 Wed Jan 17 16:46:09 2001 Nicola Pero <nicola@brainstorm.co.uk>
7682
7683 * GNUmakefile: Added PACKAGE_NEEDS_CONFIGURE and
7684 RPM_DISABLE_RELOCATABLE.
7685 * GNUmakefile: Simplified name to gnustep-base.
7686 * gnustep-base.spec.in: New file.
7687 * gnustep-base-debug.spec.in: Idem.
7688 * gnustep-base.spec: Move to gnustep-base.spec.old.
7689
7690 2001-01-13 Richard Frith-Macdonald <rfm@gnu.org>
7691
7692 * Source/GSMime.m: ([-decodeData:fromrange:intoData:withContext:])
7693 Added destination data cpacity information to context so that
7694 correct positioning can be maintained over a sequence of calls
7695 using a chunked http context.
7696 * Source/GSAttributedString.m: Fixed bug initialising from an
7697 empty attributed string, and fixed bug replacing characters in
7698 range, when an attribute range location is the same s the location
7699 of the replaced characters.
7700
7701 2001-01-12 Richard Frith-Macdonald <rfm@gnu.org>
7702
7703 * Source/GSXML.m: ([-GSXMLDocument setRoot:]) set root node to be
7704 owned by libxml, so we don't free it's memory ourselves.
7705 * Headers/gnustep/base/NSValue.h: Added range methods.
7706 * Source/GNUmakefile: Rename value files to GS prefix and remove
7707 concrete value header.
7708 * Source/Makefile.postamble: Build GS value files. rather than NS
7709 * Source/NSValue.m: Added range methods and updated for change to
7710 naming conventions. Added abstract placeholder class. Fixed encoding
7711 to store the abstract class in the archive.
7712 * Testing/values.m: Added range check
7713 * Source/GSTemplateValue.m: Renamed for consistency.
7714 Adapted encoding/decoding for storing abstract class in archive.
7715 * Source/GSValue.m: ditto
7716 * Headers/gnustep/base/NSConcreteValue.h: private info removed
7717 * Source/NSCTemplateValue.m: Renamed for consistency
7718 * Source/NSConcreteValue.m: ditto
7719
7720 2001-01-10 Nicola Pero <n.pero@mi.flashnet.it>
7721
7722 * Source/GSAttributedString.m ([GSAttributedString -length]),
7723 ([GSMutableAttributedString -length]): Added for speed.
7724
7725 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7726
7727 * Source/Unicode.m: Fix bug in checking possible default string
7728 encodings . reported by Stefan Urbanek
7729
7730 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7731
7732 Tidyup by removing 'NonCore' categories.
7733
7734 2001-01-09 Richard Frith-Macdonald <rfm@gnu.org>
7735
7736 General tidyups to simplify code and to make class names
7737 consistent with the other libraries.
7738 * Headers/Foundation/NSGAttributedString.h: removed
7739 * Source/NSGAttributedString.m: renamed to GSAttributedString.m
7740 concrete classes renamed for consistency with other gstep libs.
7741 * Source/NSGDictionary.m: renamed to GSDictionary.m
7742 concrete classes renamed for consistency with other gstep libs.
7743 * Source/NSAttributedString.m: classes renamed
7744 * Source/NSDictionary.m: classes renamed
7745 * Source/GNUmakefile: replace NSGAttrinbutedString with and
7746 NSGDictionary with GS prefixed classes.
7747 Don't try to install old header.
7748 * Source/NSString.m: updates for class renaming.
7749 * Source/NSSerializer.m: ditto
7750
7751 2001-01-08 Adam Fedor <fedor@gnu.org>
7752
7753 * configure.in: Enable ffcall by default (unless the libraries
7754 don't exist).
7755
7756 2001-01-08 Richard Frith-Macdonald <rfm@gnu.org>
7757
7758 * Headers/Foundation/NSGArray.h: removed
7759 * Headers/Foundation/NSArray.h: merge core/non-core classes.
7760 * Source/GNUmakefile: replace NSGArray with GSArray.
7761 * Source/NSGArray.m: converted to GSArray.m
7762 * Source/NSArray.m: simplified by merging core/non-core classes.
7763 Use placeholder class when allocating constant arrays.
7764 * Source/GSArray.m: simplified version of GSArray.m
7765 Added GSPlaceholderArray.
7766 * Source/NSSerializer.m: use GSInlineArray where possible.
7767 * Source/GSSet.m: Provide decoding of NSGSet for backward compatibility.
7768 * Source/NSException.m: Avoid recursion in exception handler.
7769
7770 2001-01-04 Richard Frith-Macdonald <rfm@gnu.org>
7771
7772 * Tools/gsdoc.gsdoc: Tidied and fixed a few typos/spelling errors.
7773
7774 2001-01-04 Jonathan Gapen <jagapen@home.com>
7775
7776 * configure.in, aclocal.m4, acconfig.h: Replace libxml detection with
7777 autoconf macro from libxml 2.2.10 installation.
7778 * configure, Headers/gnustep/base/config.h.in: Regenerate.
7779 * Headers/gnustep/base/GSXML.h, base/Source/GSXML.m,
7780 base/Tools/gsdoc.m: Use proper libxml #includes.
7781
7782 2001-01-03 Adam Fedor <fedor@gnu.org>
7783
7784 * configure.in: Change test for objc forwarding hook to match gcc
7785 patch.
7786 * Source/GSFFCallInvocation.m: Use new forwarding hook.
7787
7788 2001-01-03 Richard Frith-Macdonald <rfm@gnu.org>
7789
7790 * Source/NSBundle.m: fix for checking windows executable file
7791 extensions - reported by michael.scheibler@onevision.de
7792
7793 2001-01-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7794
7795 * Source/NSObjCRuntime.m (GSInstanceVariableInfo): fixes.
7796 * Source/NSObject.m ([NSObject -handleQueryWithUnboundKey:]): raise an
7797 exception.
7798 ([NSObject -handleTakeValue:forUnboundKey:]): changed exception.
7799 ([NSObject -unableToSetNilForKey:]): likewise.
7800 ([NSObject -storedValueForKey:]),
7801 ([NSObject -valueForKey:]): check for null selector before calling
7802 respondsToSelector:
7803 ([NSObject -takeStoredValue:forKey:]),
7804 ([NSObject -takeValue:forKey:]): likewise. Call GSSetValue with correct
7805 values.
7806 (GSSetValue): fixed ivar implementation.
7807 (GSGetValue): likewise.
7808 ([NSObject -methodSignatureForSelector:]): FreeBSD fix.
7809 * Source/NSEnumerator.m|.h ([NSEnumerator -allObjects]): implemented.
7810 * Source/Unicode.m (GetDefEncoding): do not emit the warning for
7811 NSISOLatin1StringEncoding.
7812
7813 2000-12-26 Adam Fedor <fedor@gnu.org>
7814
7815 * configure.in: Look for libxml2 (patch from Kim Shrier
7816 <kim@tinker.com>).
7817 * acconfig.h: Define LIBXML2
7818 * Headers/gnustep/base/config.h.in: Regenerate
7819 * Headers/gnustep/base/GSXML.h: Include libxml2.h if found.
7820 * Source/GSXML.m: Likewise.
7821 * Tools/gsdoc.m: Likewise. (patches from Kim Shrier <kim@tinker.com>).
7822
7823 2000-12-22 Adam Fedor <fedor@gnu.org>
7824
7825 * Source/GSFFCallInvocation.m: Remove powerpc specific defs
7826
7827 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7828
7829 * Source/NSDistantObject.m: Modified DO_FORWARD_INVOCATION() macro
7830 and its uses so that they actually do what was intended :-)
7831 Also, modified implementation of methodSignatureForSelector: for
7832 ffcall library to prevent recursion.
7833
7834 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7835
7836 * Headers/Foundation/GSIMap.h: On initialisation set number of nodes
7837 to exactly equal capacity, for improved memory efficiency.
7838 * Source/Makefile.postamble: correct dependencies for GSIMap.
7839 * Source/GSCountedSet.m: Use map enumerator rather than messing with
7840 the internals of a GSIMap directly.
7841 * Source/GSSet.m: ditto
7842 * Source/NSConnection.m: ditto
7843 * Source/NSGDictionary.m: ditto
7844 * Source/NSNotificationCenter.m: ditto
7845 * Source/NSString.m: property list memory leak fixed.
7846
7847 2000-12-18 Richard Frith-Macdonald <rfm@gnu.org>
7848
7849 * Source/NSGAttributedString.m: Fix logic errors setting attributes.
7850
7851 2000-12-18 Adam Fedor <fedor@gnu.org>
7852
7853 * Source/Makefile.postamble (libgnustep.def): Rebuild manually
7854 rather than automatically.
7855
7856 2000-12-14 Richard Frith-Macdonald <rfm@gnu.org>
7857
7858 * Source/Unicode.m: Tidied to conform to coding standards and changed
7859 to use ISOLatin1 as the default cString encoding.
7860 * Source/GSString.m: Fixed bug getting cString from unicode string -
7861 raise exception when it should.
7862 * Source/NSString.m: ditto. Also use lossyCString in various
7863 places rather than cString.
7864
7865 2000-12-13 Nicola Pero <n.pero@mi.flashnet.it>
7866
7867 * Headers/gnustep/base/NSRange.h, Source/NSRange.m: Inlined
7868 NSMakeRange.
7869
7870 2000-12-12 Nicola Pero <n.pero@mi.flashnet.it>
7871
7872 * Source/NSDebug.m (table_entry): Added peak field.
7873 (GSDebugAllocationAdd): Set peak counter if needed.
7874 (GSDebugAllocationClassList), (GSDebugAllocationTotal),
7875 (GSDebugAllocationPeak): New functions.
7876 * Headers/gnustep/base/NSDebug.h: Added corresponding
7877 declarations.
7878
7879 2000-12-08 Adam Fedor <fedor@gnu.org>
7880
7881 * Set up DO and NSInvocation to use foreign-function interface
7882 library.
7883 * configure.in: Add check for --enable-ffcall
7884 * Documentation/gnustep-base.texi: Update
7885 * Documentation/install.texi: Likewise.
7886 * Documentation/readme.texi: Likewise.
7887 * Documentation/gsdoc/NSTimeZone.gsdoc: Update.
7888
7889 * Headers/gnustep/base/NSConnection.h: New forward method.
7890 * Headers/gnustep/base/NSInvocation.h: New frame ivar.
7891 * Source/GNUmakefile: Conditionally compile in FFI classes if
7892 enabled.
7893 * Source/NSConnection.m (-forwardInvocation:forProxy:): New method.
7894 (_service_forwardForProxy:): For FFCALL don't autorelease memory,
7895 call proper forwarding function.
7896 * Source/NSDistantObject.m (forwardInvocation:): Implement.
7897 (methodSignatureForSelector:): For FFCALL, forward through
7898 invocation.
7899 (conformsToProtocol:): Likewise.
7900 (respondsToSelector:): Likewise.
7901 * Source/NSInvocation.m: Convert to abstract class with subclasses
7902 based on FFI interface.
7903 (_get_arg, _set_arg, _arg_addr): New functions based on FFI interface.
7904 (+allocWithZone:): Alloc proper concrete class.
7905 (+initialize): Set proper concrete class.
7906 (-initWithCoder:): Replace self with proper concrete class.
7907 (initWithArgframe:selector:): Make subclassResponsibility.
7908 (initWithMethodSignature:): Likewise.
7909 (returnFrame:): Likewise.
7910 Implement GSFrameInvocation
7911 * Source/GSFFCallInvocation: New file.
7912 * Source/GSFFIInvocation: Likewise.
7913 * Source/cifframe.[hm]: Likewise.
7914 * Source/callframe.[hm]: Likewise.
7915
7916 2000-12-07 Richard Frith-Macdonald <rfm@gnu.org>
7917
7918 * Source/NSGSet.m: renamed to GSSet.m for consistency, tidied.
7919 * Source/NSGCountedSet.m: renamed to GSCountedSet.m for consistency.
7920 * Headers/Foundation/NSGSet.h: removed - obsolete.
7921 * Headers/Foundation/NSSet.h: si9mplified back to single class
7922 * Source/NSSet.m: Updated and tidied. Fixed coding class for
7923 mutable sets. Removed non-core classes.
7924
7925 2000-12-05 Richard Frith-Macdonald <rfm@gnu.org>
7926
7927 * Source/NSURLHandle.m: minor mods to background loading.
7928 * Source/GNUmakefile:
7929 * Source/Makefile.postamble:
7930 * Source/Makefile.preamble:
7931 * Tools/Makefile.preamble:
7932 Updated for flattened directory structure.
7933
7934 2000-12-02 Richard Frith-Macdonald <rfm@gnu.org>
7935
7936 * Source/NSDate.m: GSTime() added millisecond info.
7937 * Source/NSCalendarDate.m: GSTime() added millisecond info.
7938 * Headers/Foundation/NSDate.h: GSTime() added millisecond info.
7939 * Source/NSObject.m: key-value-coding restructured and
7940 implemented for non-object values.
7941
7942 2000-11-30 Richard Frith-Macdonald <rfm@gnu.org>
7943
7944 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
7945 Bugfixes to fill in missing information using current date/time and
7946 to implement missing format codes.
7947
7948 2000-11-27 Richard Frith-Macdonald <rfm@gnu.org>
7949
7950 * Source/NSClassDescription.m: New MacOS-X class added.
7951 * Headers/Foundation/NSClassDescription.m: New MacOS-X class added.
7952 * Headers/Foundation/NSKeyvalueCoding.m: New MacOS-X protocol added.
7953 * Source/NSObject.m: New MacOS-X key value coding methods added.
7954 Only objects currently supported - needs work to support scalar
7955 types too!
7956
7957 2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7958
7959 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
7960 autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
7961
7962 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7963
7964 * Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to
7965 prevent possible problems with two threads trying to get root object
7966 of a new connection at the same time.
7967 * Documentation/gsdoc/NSURLHandle.gsdoc: Added subclass information.
7968
7969 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7970
7971 * Headers/gnustep/base/NSAutoreleasePool.h: Changed proivate method
7972 for cleanup at end of thread.
7973 * Headers/gnustep/base/NSThead.h: New ivar to mark when we are
7974 deallocating.
7975 * Source/NSAutoreleasePool.m: Added parameter to _endThread so we
7976 can safely end a thread without it being the current one.
7977 * Source/NSThread.m: Now clean up autorelease pools *after*
7978 everything elese, while deallocating the thread. This is to cope
7979 with objects that try to access the thread dictionary while
7980 autoreleasing. -threadDictionary modified to return nil during
7981 deallocation rather than creating a new ductionary.
7982
7983 2000-11-21 Richard Frith-Macdonald <rfm@gnu.org>
7984
7985 * Source/externs.m: Removed obsolete http body key.
7986 * Source/GSHTTPURLHandle.m: Removed obsolete http body key.
7987 * Headers/Foundation/NSURLHandle.h: Removed obsolete http body key.
7988
7989 2000-11-20 Nicola Pero <n.pero@mi.flashnet.it>
7990
7991 * Source/NSConnection.m: ([NSConnection -invalidate]) Fixed typo in
7992 multi-thread support.
7993
7994 2000-11-18 Richard Frith-Macdonald <rfm@gnu.org>
7995
7996 * Source/NSURLHandle.m: Implemented setting and gettign of properties
7997 for file handles using NSFileManager.
7998 * Source/GSHTTPURLHandle.m: Implemented ([-writeData:]). Rewrote
7999 posting mechanism using new implementation. Modified so that old
8000 method of writing bodyn properties still works for the moment.
8001 * configure.in: Added tests for GMP library - needed in future.
8002 * Headers/Foundation/NSDecimal.h: include GSConfig.h for HAVE_GMP
8003 * Source/NSDecimal.m: test for truth value of HAVE_GMP
8004 * Headers/Foundation/GSConfig.h.in: add HAVE_GMP support, but
8005 override to '0' until GMP support is fully implemented.
8006
8007 2000-11-17 Richard Frith-Macdonald <rfm@gnu.org>
8008
8009 * Headers/Foundation/GSMime.h: Added GSMimeEncodingContext etc
8010 * Headers/Foundation/NSURLHandle.h: Added some more property keys.
8011 * Source/GSMime.m: Update to add method for general decoding of
8012 different transfer encoding types including chunked (for http1.1).
8013 Recognise end of data in chunked encoding or by content length.
8014 * Source/GSHTTPURLHandle.m: Added new class for http and https support.
8015 * Source/NSURLHandle.m: Register class for http and https support.
8016 * Source/externs.m: Added property keys for URL handles.
8017 * Documentation/gsdoc/GSMime.gsdoc: updated
8018 * Documentation/gsdoc/GSMimeDocument.gsdoc: updated
8019 * Documentation/gsdoc/GSMimeParser.gsdoc: updated
8020
8021 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8022
8023 * Source/NSUserDefaults.m: ([-userLanguages]) updated to ensure we
8024 don't get empty strings in the language list.
8025 * Headers/Foundation/GSMime.h: Revised API
8026 * Source/GSMime.m: Revised API to make more sense
8027 * Documentation/gsdoc/GSMime.gsdoc: ditto
8028 * Documentation/gsdoc/GSMimeDocument.gsdoc: ditto
8029 * Documentation/gsdoc/GSMimeParser.gsdoc: ditto
8030
8031 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8032
8033 * Source/NSURL.m: ([-explode]) bugfix for parsing username/password
8034 provided by mark@brainstorm.co.uk
8035
8036 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8037
8038 * Source/GSTcpPort.m: Altered all GSTcpHandle debug output to include
8039 current thread. Added locking for read/write operations on handle.
8040 Hopefully all thread-safe now :-)
8041
8042 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8043
8044 * Source/NSConnection.m: ([-_getReplyRmc:]) added semi-busy wait
8045 for when the connection is being used from multiple threads.
8046
8047 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8048
8049 * configure.in: Added checks for OpenSSL
8050 * Headers/gnustep/base/NSFileHandle.h: Added info for SSL handles.
8051 * Source/UnixFileHandle.m: Added GSUnixSSLHandle class based on
8052 code by <mark@brainstorm.co.uk>
8053
8054 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8055
8056 * Source/NSBundle.m: Minor tidying to avoid compiler warnings.
8057 * Source/NSFileManager.m: ditto
8058
8059 Tue Nov 14 23:44:14 2000 Adam Fedor <fedor@yogi.doc.com>
8060
8061 * Source/GSString.m: Add limits.h (for Solaris)
8062
8063 2000-11-14 Adam Fedor <fedor@gnu.org>
8064
8065 * Source/GSLocale.m: Put LANGINFO_H ifdefs around include of
8066 langinfo.h.
8067
8068 2000-11-14 Richard Frith-Macdonald <rfm@gnu.org>
8069
8070 * Source/GSTcpPort.m: ([GSTcpHandle -receivedEvent:type:extra:forMode:])
8071 added locks around write operations for multi-threaded operation.
8072 newDataWithEncodedPort() modified to encode local host as an empty
8073 string, and other hosts by name rather than address.
8074 decodePort() added new parameter so that an empty string can be
8075 decoded as the host to which the GSTcpHandle is talking.
8076 Modified in various places to keep a record of the IP address of the
8077 remote end of the connection, so we can pass this to decodePort()
8078 ([-getFds:count:]) fixed error in determining set of file descriptors
8079 to listen to - resulted in two threads listening to the same descriptor
8080 at the same time!
8081
8082 2000-11-13 Richard Frith-Macdonald <rfm@gnu.org>
8083
8084 * Source/NSGAttributedString.m: partial rewrite to cache/unique
8085 dictionaries and to coalesce adjacent regions of string with the
8086 same attributes when setting attributes.
8087
8088 2000-11-12 Fred Kiefer <FredKiefer@gmx.de>
8089
8090 * Source/NSArray.m: Corrected [NSMutableArray arrayWithObject:] to
8091 return obj instead of self.
8092
8093 Fri Nov 10 12:30:27 2000 Nicola Pero <n.pero@mi.flashnet.it>
8094
8095 Added some GNUstep extensions to NSThread to allow JIGS to
8096 transparently map java threads to gnustep threads (and vice
8097 versa):
8098 * Headers/gnustep/base/NSThread.h, Source/externs.m:
8099 (NSThreadDidStartNotification): New notification.
8100 * Source/NSThread.m ([NSThread -_sendThreadMethod]): Post
8101 the NSThreadDidStartNotification.
8102 * Source/NSThread.m, Headers/gnustep/base/NSThread.h
8103 ([+registerCurrentThread]), ([+unregisterCurrentThread]): New
8104 methods.
8105
8106 2000-11-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8107
8108 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
8109 when called with Nil class.
8110
8111 2000-11-10 Richard Frith-Macdonald <rfm@gnu.org>
8112
8113 * Source/GSTcpPort.m: Added some locking tweaks for writing data.
8114 * Source/GSString.m: Fix for decoding obsolete string classes.
8115
8116 2000-11-09 Richard Frith-Macdonald <rfm@gnu.org>
8117
8118 * Source/NSPort.m: ([-setDelegate:]) corrected assertion to allow
8119 delegate to be set to nil. Bug reported by cornils@mail.desy.de
8120
8121 2000-11-08 Richard Frith-Macdonald <rfm@gnu.org>
8122
8123 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8124 initialize inline string classes correctly.
8125
8126 2000-11-06 Adam Fedor <fedor@gnu.org>
8127
8128 * Documentation: Move tmpl.texi files to texi and update GNUmakefile
8129
8130 Mon Nov 6 16:55:26 2000 Nicola Pero <n.pero@mi.flashnet.it>
8131
8132 * Documentation/GNUmakefile: Install ANNOUNCE, NEWS, INSTALL,
8133 BUGS, README, STATUS into
8134 Documentation/Developer/Base/ReleaseNotes/$(VERSION); install
8135 CODING-STANDARDS and coding-standards into
8136 Documentation/Developer/CodingStandards; install gnustep-base into
8137 Documentation/Developer/Base/Manual.
8138 * Documentation/gsdoc/GNUmakefile
8139 (Base_DOCUMENTATION_INSTALL_DIR): Install gsdoc reference in
8140 Documentation/Developer/Base/Reference.
8141
8142 2000-11-06 Richard Frith-Macdonald <rfm@gnu.org>
8143
8144 * Source/NSString.m: handle_printf_atsign() - use lossyCString to
8145 get string to print. This is a temporary *HACK* - we need a proper
8146 unicode supporting initWithFormat:
8147 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8148 allocate inline string classes for substrings.
8149
8150 2000-11-04 Richard Frith-Macdonald <rfm@gnu.org>
8151
8152 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8153 calendarFormat:locale:]): try getting timezone by name before
8154 attempting by abbreviation - thus preserving exact name isf possible.
8155
8156 2000-11-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8157
8158 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8159 calendarFormat:locale:]): assign calendar format.
8160
8161 2000-11-03 Richard Frith-Macdonald <rfm@gnu.org>
8162
8163 * Source/NSString.m: Update for placeholder class.
8164 * Source/GSString.m: Updates for optimisations using placeholder class.
8165
8166 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8167
8168 * Source/GSXML.m: External entity loader revisions completed.
8169 * Documentation/gsdoc/GSXML.gsdoc: changes to api
8170 * Documentation/gsdoc/GSXMLParser.gsdoc: ditto
8171 * Documentation/gsdoc/GSSAXHandler.gsdoc: ditto
8172
8173 2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
8174 * Headers/Foundation/GSXML.h: added GSXMLNode
8175 propertiesAsDictionaryWithKeyTransformationSel:
8176 * Source/GSXML.m: added GSXMLNode
8177 propertiesAsDictionaryWithKeyTransformationSel:
8178
8179 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8180
8181 * Source/NSUserDefaults.m: Fixed uninitialised variable bug.
8182 * Source/NSString.m: Fixed error in xml property list parsing
8183 * Source/GSXML.m: Various SAX things to use default implementation.
8184
8185 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8186
8187 * Source/NSString.m: Implemented
8188 ([-initWithCharactersNoCopy:length:freeWhenDone:]) and
8189 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSMutableString.
8190 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSString.
8191
8192 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8193
8194 Loads of files modified, fast.x removed.
8195 Found it unexpectedly easy to tidy up so that all functions for
8196 accessing the runtime are now in NSObjCRuntime.h.
8197 Now all :-) we need are Apple runtime implementations, configuration
8198 auto-detect for the apple runtime, and loads of updating of any
8199 bits of code that call the runtime directly.
8200
8201 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8202
8203 * Headers/gnustep/base/NSGString.h:
8204 * Headers/gnustep/base/NSGCString.h:
8205 * Source/NSGString.m:
8206 * Source/NSGCString.m: Removed classes - no longer used.
8207 * Headers/gnustep/base/NSObjCRuntime.h:
8208 * Headers/gnustep/base/fast.x:
8209 * Source/GSString.m:
8210 * Source/Makefile.postamble:
8211 * Source/NSArchiver.m:
8212 * Source/NSCTemplateValue.m:
8213 * Source/NSConcreteValue.m:
8214 * Source/NSCountedSet.m:
8215 * Source/NSDate.m:
8216 * Source/NSDictionary.m:
8217 * Source/NSDistantObject.m:
8218 * Source/NSGSet.m:
8219 * Source/NSNumber.m:
8220 * Source/NSObject.m:
8221 * Source/NSScanner.m:
8222 * Source/NSSerializer.m:
8223 * Source/NSSet.m:
8224 * Source/NSUnarchiver.m:
8225 Changed calls to 'fastClass()' to use 'GSObjCClassOfObject()' and
8226 added that to NSObjCRuntime.h. Removed central class and
8227 implementation caching from NSObject.m and fast.x since it was not
8228 being effectively used. New intention to do removal of fast.x and
8229 add similar functionality to NSObjCRuntime.h - intention being to
8230 combine functionality of fast access to the runtime, and hiding both
8231 GNU and Apple runtime behind a single interface.
8232
8233 2000-10-30 Richard Frith-Macdonald <rfm@gnu.org>
8234
8235 * Source/NSURLHandle.m: Wrap all locking with exception handlers to
8236 ensure that locks are released.
8237 * Headers/gnustep/base/NSInvocation.h: Removed non-standard macros
8238 * Headers/gnustep/base/behavior.h: Removed unused macro
8239 CALL_METHOD_IN_CLASS()
8240 * Source/GSString.m:
8241 * Source/GSXML.m:
8242 * Source/NSArchiver.m:
8243 * Source/NSArray.m:
8244 * Source/NSAttributedString.m:
8245 * Source/NSData.m:
8246 * Source/NSDictionary.m:
8247 * Source/NSGArray.m:
8248 * Source/NSGAttributedString.m:
8249 * Source/NSGCString.m:
8250 * Source/NSGDictionary.m:
8251 * Source/NSGeometry.m:
8252 * Source/NSObject.m:
8253 * Source/NSPortCoder.m:
8254 * Source/NSProcessInfo.m:
8255 * Source/NSRange.m:
8256 * Source/NSRunLoop.m:
8257 * Source/NSScanner.m:
8258 * Source/NSSerializer.m:
8259 * Source/NSString.m:
8260 * Source/NSUnarchiver.m:
8261 * Source/NSUserDefaults.m:
8262 Updated to move static SEL variable initialisation to +initialize
8263 methods so that it should (I think) work with the Apple runtime.
8264
8265 2000-10-29 Adam Fedor <fedor@gnu.org>
8266
8267 * configure.in: Check for langinfo.
8268 * Source/GSLocale.m (GSDomainFromDefaultLocale): Return nil
8269 dict if langinfo info not available.
8270
8271 * acconfig.h: Add HAVE_DLADDR
8272 * Headers/gnustep/base/config.h.in: Regenerate.
8273 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Return
8274 nil if not HAVE_DLADDR.
8275
8276 2000-10-29 Richard Frith-Macdonald <rfm@gnu.org>
8277
8278 * Source/GSString.m: New inline string classes added to avoid calls
8279 to malloc in some cases. Changed all deallocation methods to call
8280 NSDeallocateObject() directy for efficiency.
8281 * Source/NSString.m: Use new inline string classes for creation of
8282 strings where we know the length of the data in advaance.
8283
8284 2000-10-28 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8285
8286 * Headers/gnustep/base/NSBundle.h: added ivar.
8287 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
8288 method to parse NSFramework_* classes.
8289 (_bundle_load_callback): added framework support. Wrap classes in a
8290 NSValue to avoid implicit initialization.
8291 ([NSBundle +allBundles]): added framework support.
8292 ([NSBundle +allFrameworks]): implemented.
8293 ([NSBundle +bundleForClass:]): get classes from NSValue object.
8294 ([NSBundle -classNamed:]): likewise.
8295
8296 * Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
8297 * Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
8298 or Category.
8299 * Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
8300 lib path of a symbol.
8301 * Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
8302 * Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.
8303
8304 * Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
8305 (mframe_set_arg): idem
8306
8307 * Headers/gnustep/base/config.h.in: added HAVE_DLADDR
8308 * aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
8309 * configure.in: added --with-libxml-include and --with-libxml-library,
8310 added -I/usr/local/include and -L/usr/local/lib for FreeBSD.
8311
8312 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8313
8314 * Source/NSObject.m: Reverted last change -
8315 +new has to do alloc, init or break classes that expect to use their
8316 own allocation mechanisms. Similarly, +alloc must call the
8317 ([+allocWithZone:]) method. We can't make optimisations that
8318 break with the OpenStep spec and MacOS documentation - they would
8319 break production code. Of course, private classes can do this.
8320
8321 2000-10-27 Lyndon Tremblay <humasect@home.com>
8322
8323 * Source/NSObject.m ([NSObject +new]): No longer sends 2 messages,
8324 uses NSAllocateObject().
8325 ([NSObject +alloc]): Likewise, no message sending within the method.
8326
8327 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8328
8329 * Source/NSURLHandle.m: Make class registration thread safe.
8330 Tidy initialisation to use designated initialiser.
8331
8332 2000-10-27 Adam Fedor <fedor@gnu.org>
8333
8334 * Added localization support
8335 * configure.in: Look for locale.h
8336 * Resources: New directory, files for languages.
8337 * Headers/gnustep/base/NSUserDefaults.h: Add missing localization
8338 keys.
8339 * Source/GSLocale.m: New functions for dealing with locales.
8340 * Source/NSUserDefaults.m (-_unlocalizedDefaults): New method.
8341 (-sharedUserDefaults): Set up Language domain.
8342 (-userLanguages): Create our own defaults, if necessary, to avoid
8343 recursion with sharedUserDefaults.
8344 (__createStandardSearchList): Put NSGlobalDomain before Language
8345 domain to match MacOSX docs (wasn't specified in OpenStep docs).
8346 * Documentation/gsdoc/NSUserDefaults.m: Updated.
8347
8348 * Tools/locale_alias.m: New test-tool mostly for maintainance use.
8349
8350 2000-10-26 Richard Frith-Macdonald <rfm@gnu.org>
8351
8352 * Source/NSData.m: When deserialising selectors, register new
8353 selectors if they don't already exist - so we can unarchive a
8354 selector into a program where no objects implements it (we might
8355 still want to use it over DO or to store in another archive).
8356 Change suggested by N.Pero.
8357 * Source/GSMime.m: Mime parser classes partially written.
8358 * Headers/Foundation/GSMime.h: mime class headers
8359 * Documentation/gsdoc/GSMime.gsdoc: documentation
8360 * Documentation/gsdoc/GSMimeDocument.gsdoc: documentation
8361 * Documentation/gsdoc/GSMimeParser.gsdoc: documentation
8362 Various files partially implemented to add MIME parsing support.
8363 Intended to aid implementation of HTTP version of NSURLHandle.
8364
8365 2000-10-24 Adam Fedor <fedor@gnu.org>
8366
8367 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
8368 Set format if nil.
8369 (-addYear:month:day:hour:minute:second:): Use signed ints.
8370
8371 2000-10-24 Richard Frith-Macdonald <rfm@gnu.org>
8372
8373 * Source/GSString.m: Implement ([-substringWithRange:]) and
8374 ([-substringFromRange:]) equally. The 'from' method is the
8375 'official OpenStep' one, the 'with' method is a MacOS-X compatibility
8376 addition.
8377 * Source/NSAttributedString.m: Added ([-attributedSubstringWithRange:])
8378 in the expectation that Apple will rename the method and remove
8379 ([-attributedSubstringFromRange:])
8380 * Source/NSScanner.m: Use substringWithRange.
8381 * Source/NSProxy.m: Implement ([-forward::]) to use
8382 ([-forwardInvocation:]). Implement ([-conformsToProtocol:]) to raise
8383 exception, Implement ([-respondsToSelector:]) to raise exception.
8384 * Source/NSDistantObject.m: Implement ([-conformsToProtocol:]) to
8385 forward to remote. Implement ([-respondsToSelector:]) to forward.
8386
8387 2000-10-24 Fred Kiefer <FredKiefer@gmx.de>
8388
8389 * Source/NSAttributedString.m: Added begin/endEditing to all
8390 complex methods on NSMutableAttributedString as necessary for
8391 NSTextStorage.
8392 * Source/GSString.m: Changed all substringFromRange: to
8393 substringWithRange: as this is the basic method.
8394
8395 2000-10-23 Richard Frith-Macdonald <rfm@gnu.org>
8396
8397 * Source/NSString.m: ([-fastestEncoding]), ([-smallestEncoding])
8398 implemented to return NSUnicodeStringEncoding. Use new string
8399 classes more effectively - let GSString turn itsself into either
8400 GSCString or GSUstring when initialised.
8401 Merged in code from propList.h
8402 * Source/GSString.m: ([-dataUsingEncoding:allowLossyConversion:])
8403 bugfixes for cString reported by Freed Kiefer
8404 Removed 'ascii' flag - more trouble than a minor optimisation is
8405 worth.
8406 Fixed transmute() to be careful about freeing old string.
8407 * Source/Unicode.m: encode_ustrtostr_strict() return 0 on failure.
8408
8409 2000-10-21 Richard Frith-Macdonald <rfm@gnu.org>
8410
8411 * Headers/Foundation/NSNull.h: New placeholder class.
8412 * Source/NSNull.m: New placeholder class.
8413 * Source/GNUmakefile: Build NSNull and install header.
8414 * Documentation/gsdoc/GNUmakefile: Build NSNull documentation
8415 * Documentation/gsdoc/NSNull.gsdoc: NSNull documentation
8416
8417 2000-10-20 Richard Frith-Macdonald <rfm@gnu.org>
8418
8419 * Source/NSString.m: ([-initWithCharacters:length:]) use
8420 ([-initWithCStringNoCopy:length:freeWhenDone:]) if possible.
8421 * Source/GSString.m: Much tidying up. Added two new concrete
8422 classes for substrings.
8423 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
8424 avoid any attempt to read beyond the supplied string.
8425
8426 2000-10-16 Richard Frith-Macdonald <rfm@gnu.org>
8427
8428 Attempts to make sure that when members of a class cluster are encoded
8429 (either for archiving or for sending over DO), they are encoded as
8430 the abstract class hiding the other classes in the cluster - this
8431 should mean that (in future) changes in the private concrete classes
8432 used should not effect existing archives and running DO applications.
8433 * Source/NSDate.m: Implement -classForCoder to encode as the
8434 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8435 in abstract class.
8436 * Source/NSDictionary.m: Implement -classForCoder to encode as the
8437 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8438 in abstract class.
8439 * Source/NSArray.m: Implement -classForCoder to encode as the abstract
8440 class.
8441 * Source/NSAttributedString.m: Implement -classForCoder to encode as
8442 the abstract class. Implement ([-encodeWithCoder:]) and
8443 ([-initWithCoder:]) in abstract class.
8444 * Source/NSGAttributedString.m: Remove coding/encoding stuff - now done
8445 in abstract class.
8446 * Source/NSNumber.m: Implement -classForCoder to encode numbers as the
8447 abstract class.
8448 Modified ([-encodeWithCoder:]) and ([-initWithCoder:]) to encode objc
8449 type when encoding as abstract class.
8450 * Source/NSConcreteNumber.m: Modified encoding method to mirror
8451 abstract class method. Old ([-initWithCoder:]) method retained to
8452 decode old format records from archives.
8453
8454 2000-10-11 Adam Fedor <fedor@gnu.org>
8455
8456 * Source/NSObject.m (+initialize): Initialize Window sockets
8457 on MINGW.
8458 * Source/libgnustep-base-entry.m (gnustep_base_socket_init):
8459 New function.
8460
8461 2000-10-10 Richard Frith-Macdonald <rfm@gnu.org>
8462
8463 * Source/GSString.m: fillHole() fixed error in copying bytes.
8464
8465 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8466
8467 * Source/NSGAttributedString.m: ([-setAttributes:range:])
8468 Fixed obscure bug - use ASSIGNCOPY rather than ASSIGN to prevent
8469 mutable dictionaries being placed in attributed string.
8470
8471 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8472
8473 Major rewrite of NSString.
8474 There was a fundamental architectural problem in the old
8475 implementation ... if you had an NSGMutableCString object,
8476 and used any method that appends (or replaces) characters in
8477 that string, there was a problem in that the characters being
8478 added may not be representable in the default character set.
8479
8480 This means that we needed the concrete mutable strring class to
8481 be able to mutate itsself from an 8-bit string to a 16-bit string
8482 when necessary (we can't just allocate a new object, because we
8483 have no way of returning it to the caller).
8484
8485 We could not handle this simply by changing the class pointer in
8486 the instance (and reallocating and modifying the memory actually
8487 storing the characters of course). The problem with this is that
8488 the method implementations of the object may have been cached in
8489 the user code (quite likely if you want high performance from a
8490 mutable string) - and subsequent use of those cached implementations
8491 would still try to treat the contents of the string as 8-bit characters.
8492
8493 The solution adopted was to make the standard mutable string class
8494 contain a flag to adjust its behavior so that each method treats
8495 the char data as either 8 or 16 bit.
8496 This makes for ugly code, partially tidied by use of inline functions.
8497
8498 For most of the methods implemented for the constant strings
8499 (rather than being inherited from the abstract class) we now
8500 have two inline functions for 8-bit and 16-bit implementations.
8501 The GSUString and GSCString objects have method implementations
8502 that simply called the appropriate function. The GSMString
8503 implementation of each method tests the flag and calls the
8504 appropriate inline function.
8505
8506 * Headers/gnustep/base/NSString.h: Remove NSGCString, NSGString,
8507 NSGMutableCStrng and NSGMutableString. Add GSString interface and
8508 new version of NXConstantString interface.
8509 * Headers/gnustep/base/fast.x: Remove string caching information.
8510 * Source/GNUmakefile: Don't build old concrete strings or install
8511 their headers. Do build new concrete string (GSString.m)
8512 * Source/GSCompatibility.m: Don't use private concrete strings.
8513 * Source/GSeq.h: Various modifications for new string classes.
8514 * Source/NSArray.m: Don't use private concrete strings.
8515 * Source/NSData.m: Don't use private concrete strings.
8516 * Source/NSDictionary.m: Don't use private concrete strings.
8517 * Source/NSGAttributedString.m: Don't use private concrete strings.
8518 * Source/NSGCString.m: No longer used.
8519 * Source/NSGDictionary.m: Don't use private concrete strings.
8520 * Source/NSGString.m: No longer used.
8521 * Source/NSNotificationCenter.m: Don't use private concrete strings.
8522 * Source/NSObjCRuntime.m: Don't use private concrete strings.
8523 * Source/NSObject.m: Don't cache string information.
8524 * Source/NSScanner.m: Modified to use new concrete strings.
8525 * Source/NSSerializer.m: Modified to use new concrete strings.
8526 * Source/NSString.m: Modified to use new concrete strings. Rewrote
8527 various methods to work in terms of the primitive string methods.
8528 Implemented encoding and decoding at this level so we don't encode
8529 concrete string classes in archives.
8530 * Source/externs.m: Modified to use new concrete strings.
8531 * Source/propList.h: Modified to use new concrete strings.
8532 * Source/GSString.m: New string classes, plus decoding for old ones.
8533
8534 2000-10-05 Richard Frith-Macdonald <rfm@gnu.org>
8535
8536 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Replace
8537 DEFS (lost in last change) to set default paths for NSBundle etc.
8538 * Source/NSString.m: Minor range fixes.
8539 * Source/NSGString.m: initialisation fixes.
8540
8541 2000-10-04 Adam Fedor <fedor@gnu.org>
8542
8543 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Add
8544 CONFIG_SYSTEM_DEFS.
8545
8546 2000-10-05 Fred Kiefer <FredKiefer@gmx.de>
8547
8548 * Source/Unicode.m:
8549 Changed available encodings if HAVE_ICONV is defined. This is
8550 still a static definition.
8551
8552 2000-10-02 Adam Fedor <fedor@gnu.org>
8553
8554 * configure.in: Update required libxml version to 2.2.3
8555
8556 2000-09-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8557
8558 * Source/NSDistantObject.m ([GSDistantObjectPlaceHolder
8559 +respondsToSelector:]): implemented.
8560 * Source/NSProcessInfo.m ([NSProcessInfo +load]): bug fix for FreeBSD.
8561 * configure.in: enable_fake_main not enabled by default for FreeBSD-elf
8562
8563 2000-09-30 Fred Kiefer <FredKiefer@gmx.de>
8564
8565 * Headers/gnustep/base/Unicode.h:
8566 Merged in GetDefEncoding.h
8567 New function GetAvailableEncodings.
8568 * Source/Unicode.m:
8569 Merged in GetDefEncoding.m
8570 New function GetAvailableEncodings.
8571 Updated the encoding arrays.
8572 * Headers/gnustep/base/GetDefEncoding.h:
8573 * Source/GetDefEncoding.m:
8574 This are now obsolete and therfore removed.
8575 * Source/NSString.m:
8576 Use GetAvailableEncodings in [availableStringEncodings]
8577
8578 2000-09-30 Richard Frith-Macdonald <rfm@gnu.org>
8579
8580 * Source/NSString.m: ([-initWithUTFString:length:]),
8581 ([-initWithData:encoding]) create UTF strings as 8-bit strings if
8582 they actually only contain ascii characters.
8583 * Source/GSXML.m: Create strings from UTF8 data throughout.
8584 * Headers/gnustep/base/NSObject.h: (CREATE_AUTORELEASE_POOL) use +new
8585 to avoid a message despatch overhead (combine allocWithZone and init).
8586
8587 2000-09-29 Richard Frith-Macdonald <rfm@gnu.org>
8588
8589 * Source/GSCompatibility.m: Fix stupid error in last modification -
8590 missed part of method name.
8591 * Source/GNUmakefile: Fix to get headers installed in
8592 $(GNUSTEP_SYSTEM_ROOT)/Headers/Foundation again.
8593 * Source/Makefile.postamble: Add code to install headers in
8594 $(GNUSTEP_SYSTEM_ROOT)/Headers/gnustep/Foundation as well - is this
8595 really necessary?
8596 * Headers/Foundation/GSXML.h: Removed new methods used for HTML parser
8597 * Source/GSXML.m: Renamed internal methods for xml/html parser
8598 differentiation and declared in private interface. Tidied to conform
8599 to coding standards. Added casts to prevent compiler warnings.
8600 * Documentation/gsdoc/GSXML.gsdoc: added html parser info
8601
8602 2000-09-29 Manuel Guesdon <mguesdon@orange-concept.com>
8603 -- You'll need libxml2 v >= 2.2.3 to compile GSXML --
8604 * Headers/Foundation/GSXML.h: added GSHTMLParser and GSHTMLSAXHandler
8605 * Source/GSXML.m: added GSHTMLParser and GSHTMLSAXHandler
8606 use of _private member of parser context instead of user_data
8607 which is not a freely useable user_data in libxml
8608
8609 2000-09-27 Richard Frith-Macdonald <rfm@gnu.org>
8610
8611 * Source/GSCompatibility.m: Use OpenStep standard string initialisation.
8612 * Source/NSSerializer.m: Use OpenStep stanrd initializers.
8613 * Source/NSUnarchiver.m: ditto
8614 * Source/NSData.m: Simplify by removing memory management extensions.
8615 * Source/NSGCString.m: ditto
8616 * Source/NSGString.m: ditto
8617 * Source/NSObject.m: ditto
8618 * Source/NSString.m: ditto
8619 * Source/externs.m: Removed unused NXConstantString assignments.
8620 * Source/GSXML.m: ([-propertiesAsDictionary]) bugfix adding nil object
8621 to dictionary. ([-externalSubset:externalID:systemID:]) method added.
8622 Fixes suggested by mguesdon@oxymium.net
8623
8624 2000-09-26 Lyndon Tremblay <humasect@home.com>
8625
8626 * Headers/Foundation/NSObject.h (CREATE_AUTORELEASE_POOL): Saves 1
8627 message call.
8628 (RECREATE_AUTORELEASE_POOL): Added to reuse existing variables.
8629
8630 2000-09-25 Richard Frith-Macdonald <rfm@gnu.org>
8631
8632 * Source/NSURLHandle.m: ([-addClient:]) ensure that clients are only
8633 recorded once.
8634 * Documentation/gsdoc/NSURLHandle.gsdoc: flesh out descriptions and
8635 add type and protocol information.
8636
8637 2000-09-24 Adam Fedor <fedor@gnu.org>
8638
8639 * configure.in: Check for rint in math library...
8640
8641 2000-09-22 Richard Frith-Macdonald <rfm@gnu.org>
8642
8643 * Headers/gnustep/base/NSData.h: Added URL methods.
8644 * Headers/gnustep/base/GSXML.h: Reorganized init methods in line with
8645 Manuels ideas but with naming consistent with other classes.
8646 * Source/NSData.m: Added URL methods.
8647 * Source/NSURL.m: First attempt (untested) at code to load data.
8648 tolerate URLs where the network part is missing and the '//' left out.
8649 * Source/GSXML.m: Reorganized init methods in line with
8650 Manuels ideas but with naming consistent with other classes.
8651 Correct methods for setting parser behavior for the object concerned
8652 rather than default behavior for all parsers.
8653 Support NSURL parsing.
8654 * Source/propList.h: Update for change in GSXMLParser API.
8655 * Documentation/gsdoc/GSXMLParser.gsdoc: update for new initialisation
8656 methods.
8657 * Source/NSArray.m: Put code in place to generate XML proplists
8658 * Source/NSDictionary.m: Put code in place to generate XML proplists
8659 * Source/GSCompatibility.m: Put code in place to generate XML proplists
8660 but disable it until working entity replacement is done.
8661
8662 2000-09-21 Adam Fedor <fedor@gnu.org>
8663
8664 * configure.in: Check for rint.
8665 * Source/GSCompatibility.m: Define rint if not available.
8666
8667 * Source/NSData.m (readContentsOfFile): Remove incorrectly used
8668 variable (MINGW).
8669 * Source/NSFileManager.m (-removeFileAtPath:handler:): Use more
8670 direct check if path is a dir.
8671 (directoryContentsAtPath): Likewise.
8672 (isExecutableFileAtPath): On MINGW, Return YES if a directory.
8673 (fileSystemRepresentationWithPath:): On MINGW, fix up paths that might
8674 come from Unix-like shells, like Cygwin bash, so they can be used with
8675 Windows functions.
8676 * Source/NSRunLoop.m (-acceptInputForMode:beforeDate:): On MINGW,
8677 check for errno==0 and continue as if there was no error.
8678 * Source/NSString.m (fileSystemRepresentation): Use NSFileManager's
8679 implementation.
8680 (getFileSystemRepresentation:): Likewise.
8681 (isAbsolutePath): Check fileSystemRepresentation.
8682 * Source/NSTask.m: Use fileSystemRepresentation instead of cString.
8683 * Source/NSUser.m (NSHomeDirectoryForUser): On MINGW, return nil
8684 if no home found.
8685 * Source/NSUser.m (pathForUser): Use GNUSTEP_ROOT if no user home
8686 found.
8687
8688 * Testing/nsconnection_client.m: Use impl of getopt for MINGW.
8689 * Testing/nsconnection_server.m: Likewise.
8690 * Testing/nsscanner.m: Likewise.
8691 * Testing/nstask.m: Launch an appropriate Windows task.
8692 * Testing/nsstring.m: Catch exception during inappropriate
8693 string replacement.
8694
8695 2000-09-21 Richard Frith-Macdonald <rfm@gnu.org>
8696
8697 * Headers/gnustep/base/NSURLHandle.h: tidy up.
8698 * Source/NSURLHandle.m: Implement class and add simple implementation
8699 of a concrete subclass for handling file URLs.
8700
8701 2000-09-20 Richard Frith-Macdonald <rfm@gnu.org>
8702
8703 * Headers/gnustep/base/GSXML.h: Added ([-parser:]) and removed
8704 redundant 'length' info from callbacks.
8705 * Source/GSXML.m: Added ([-parser:]), tidied ([-parser]), fixed
8706 scope of functions, and removed redundant 'length' info from callbacks.
8707 * Documenttion/gsdoc/GSXMLParser.gsdoc: document ([-parser:])
8708 * Documentation/gsdoc/GSSAXHandler.gsdoc: update for removal of
8709 redundant 'length' info on some callbacks.
8710 * Source/externs.m: Initialise strings using NSGCString because the
8711 NSString class +initialize method may not have completed when this
8712 is done - so NSString won't have cached its cocrete and abstract
8713 classes.
8714 * Source/GSCompatibility.m: Partial write of code to generate MacOS-X
8715 compatible (XML) property-list text.
8716 * Tools/gsdoc.m: Major (3 hours) effort to get code back to something
8717 vaguely like conformance with coding standards! Hope nothing got
8718 broken.
8719
8720 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8721
8722 * Headers/gnustep/base/GSXML.h:
8723 * Source/GSXML.m: Revert to earlier version to remove
8724 formatting/coding-standards errors, broken GSSAXHandler class,
8725 and complexity adding api additions.
8726 Continued integration of Michael Pakhantsovs code.
8727 Added Manuels +xmlEncodingStringForStringEncoding with tidying.
8728 Added Manuels -typeDescription with rewrite for performance.
8729 * Documenttion/gsdoc/GSXMLParser.gsdoc:
8730 added xmlEncodingStringForStringEncoding
8731 * Documenttion/gsdoc/GSXMLNode.gsdoc:
8732 added -typeDescription
8733 * Documentation/gsdoc/GSSAXHandler.gsdoc: added -parser method.
8734
8735 2000-09-19 Manuel Guesdon <mguesdon@orange-concept.com>
8736 You'll need libxml2 v >= 2.2.3 to compile GSXML
8737 * Source/GSXML.m & Headers/Foundation/GSXML.h:
8738 corrected bugs,
8739 added added non guessing construction methods in GSXMLParser
8740 added -typeDescription in GSXMLNode
8741 added +xmlEncodingStringForStringEncoding: in GSXMLParser
8742 added inParserContext:(void*)parserContext parameter for GSSAXHandler
8743
8744 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8745
8746 * Source/NSURLHandle.m: Implemented subclass registry.
8747
8748 2000-09-19 Fred Kiefer <FredKiefer@gmx.de>
8749
8750 * Headers/gnustep/base/Unicode.h:
8751 New functions encode_ustrtostr_strict() and encode_unitochar_strict()
8752 * Source/NSString.m:
8753 Impelemented [initWithUTF8String:]
8754 * Source/NSGCString.m:
8755 * Source/NSGString.m:
8756 Implemented method [dataUsingEncoding:allowLossyConversion:]
8757 * Source/Unicode.m:
8758 New strict methods for string conversion.
8759
8760 2000-09-15 Adam Fedor <fedor@gnu.org>
8761
8762 * configure.in: Turn off enable_fake_main if on MinGW.
8763
8764 * Source/WindowsFileHandle.m: New class.
8765 * Source/NSFileHandle.m: Use it on MinGW
8766 * Source/NSTask.m: Break into concrete subclasses for
8767 Unix and Windows.
8768
8769 * Source/NSProcessInfo.m: on MinGW, don't try to redefine
8770 __argv, __argc, etc.
8771 * Source/libgnustep_base_entry.m: Renamed from win32-entry.m
8772
8773 * Tools/gdnc.m: Don't fork on MinGW
8774 * Tools/gdomap.c: Define MINGW ifdef MINGW32.
8775
8776
8777 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8778
8779 * Source/GSXML.m: made method names more consistent.
8780 * Headers/gnustep/base/GSXML.h: made method names more consistent.
8781 * Documentation/gsdoc/GNUmakefile: Added GSXML files
8782 * Documentation/gsdoc/base.gsdoc: Added link to GSXML
8783 * Documentation/gsdoc/GSXML.gsdoc: Overview of XML parsing.
8784 * Documentation/gsdoc/GSSAXHandler.gsdoc: event parsing handler class.
8785 * Documentation/gsdoc/GSXMLAttribute.gsdoc: xml attribute wrapper.
8786 * Documentation/gsdoc/GSXMLDocument.gsdoc: xml document wrapper.
8787 * Documentation/gsdoc/GSXMLNamespace.gsdoc: xml namespace wrapper.
8788 * Documentation/gsdoc/GSXMLNode.gsdoc: xml node wrapper.
8789 * Documentation/gsdoc/GSXMLParser.gsdoc: xml parser wrapper.
8790
8791 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8792
8793 * Source/UnixFileHandle.m: conform to GCFinalization protocol.
8794
8795 2000-09-14 Adam Fedor <fedor@gnu.org>
8796
8797 * configure.in: Check for windows.h
8798
8799 2000-09-14 Richard Frith-Macdonald <rfm@gnu.org>
8800
8801 * Headers/gnustep/base/NSLock.h: conform to GCFinalization protocol.
8802 * Source/NSLock.m: deallocate mutex in gcFinalize. Don't raise an
8803 exception if mutex deallocation fails.
8804
8805 2000-09-13 Adam Fedor <fedor@gnu.org>
8806
8807 * Remove dependance on Source/Foundation link, additional MINGW ports.
8808 * Makefile.postamble (header-links): Remove Source/Foundation link.
8809 * Source/Makefile.preamble (HEADER_DIR): New variable.
8810 (ADDITIONAL_INCLUDE_DIRS): Include ../Headers.
8811 * Source/GNUmakefile (GENERATED_HEADERS): Change Foundation
8812 to $(HEADER_DIR).
8813 * Source/Makefile.postamble: Likewise.
8814
8815 * Source/GSTcpPost.m: Update to handle MINGW (mostly copied from
8816 gdomap.c).
8817 * Source/NSFileManager.m (-findNextFile): Check if lstat,
8818 geteuid implemented.
8819 * Source/NSHost.m: Change includes for MINGW.
8820 * Source/NSPortNameServer.m: Likewise.
8821 * Source/NSPipe.m (init): Port to MINGW.
8822
8823 * configure.in: Do preface.h substitutions here.
8824 * Source/Makefile.postamble (preface.h): Remove target.
8825
8826 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8827
8828 * Source/GSCompatibility.m: new file for MacOSX compatibility flags
8829 * Source/GNUmakefile: add GSCompatibility.m
8830 * Source/NSGeometry.m: Use GSMacOSXCompatibleGeometry() function to
8831 decide whether to produce MacOS-X format strings.
8832 * Source/propList.h: Parse MacOS-X format property lists as well as
8833 OpenStep format ones.
8834
8835 2000-09-12 Adam Fedor <fedor@gnu.org>
8836
8837 * configure.in: Check for symlin, readlink.
8838
8839 * Source/GNUmakefile: Don't compile UnixFileHandle.m on mingw.
8840 (Will create WindowsFileHandle later...).
8841
8842 * Source/NSFileManager.m (-createDirectoryAtPath:attributes:]):
8843 Create subpaths on mingw.
8844 (isDeletableFileAtPath:): Implement for mingw.
8845 (createSymbolicLinkAtPath): Implement only if HAVE_SYMLINK
8846 (pathContentOfSymbolicLinkAtPath): Implement only if HAVE_READLINK
8847
8848 2000-09-13 Fred Kiefer <FredKiefer@gmx.de>
8849
8850 * Headers/gnustep/base/Unicode.h:
8851 Make function encode_ustrtostr public
8852 * Headers/gnustep/base/NSString.h:
8853 Added extra encodings. Added missing methods
8854 * Source/NSString.m:
8855 Added basic implementation for missing methods
8856 [stringWithUTF8String:], [initWithUTF8String:], [UTF8String],
8857 [stringWithContentsOfURL:], [initWithContentsOfURL:],
8858 [writeToURL:atomically:], [localizedCaseInsensitiveCompare:],
8859 [localizedCompare:], [compare:options:range:locale:]
8860 * Source/NSGCString.m:
8861 [getCharacters:] and [getCharacters:range:] use higher level
8862 methods for conversion.
8863 * Source/Unicode.m:
8864 Added conversion with iconv, this needs HAVE_ICONV.
8865 Made normal conversions faster by unrolling the case switch.
8866
8867 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8868
8869 * Makefile.postamble (header-links): Restore functionality on unix
8870 lost in last change, also (for MINGW) copy header files to the
8871 Source/Foundation directory in addition to Headers/Foundation.
8872 * Source/NSConnection.m: Address problems reported by georg@ist.org ...
8873 ([-connectionWithRegisteredName:host:usingNameServer:]) avoid returning
8874 local server connection - create new connection to it if necessary.
8875 ([-rootProxy]) return root object if sent to server connection.
8876 Also added some more debug statements.
8877 * Source/NSDistantObject.m: ([-methodForSelector:]) implemented to
8878 (hopefully) fix problem in pasteboard stuff.
8879
8880 2000-09-11 Adam Fedor <fedor@gnu.org>
8881
8882 * Mingw fixes.
8883 * Makefile.postamble (header-links): if MINGW, copy header files
8884 to Foundation (Mingw's gcc can't handle links).
8885
8886 * Source/mframe/configure.in: Check target, not host.
8887
8888 * Source/NSDate.m (GSTimeNow): Fix typo.
8889
8890 * Source/NSData.m (readContentsOfFile): Fix up vars for MINGW.
8891 (-writeToFile:atomically:): Likewise.
8892
8893 2000-09-11 Richard Frith-Macdonald <rfm@gnu.org>
8894
8895 * Headers/gnustep/base/GSXML.h: new classes for parsing XML
8896 * Source/GSXML.m: new classes for parsing XML
8897 * Source/Makefile.preamble: Define HAVE_LIBXML if appropriate.
8898 * Source/GNUMakefile: Build new classes if appropriate.
8899 * Tools/Makefile.preamble: Removed libxml stuff - now done globally.
8900
8901 2000-09-10 Richard Frith-Macdonald <rfm@gnu.org>
8902
8903 * Source/NSCalendarDate: ([-initWithString:calendarFormat:locale:])
8904 modify parsing to be more tolerant of numeric fields that are smaller
8905 than the expected size, but warn about unexpected format.
8906
8907 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8908
8909 * Source/NSAttributedString.m: Make -description produce output in
8910 same format as MacOS-X
8911 * Source/NSDistributedNotificationCenter.m: update method return
8912 types for macOS-X complience.
8913 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto.
8914
8915 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8916
8917 * Source/NSGString.m: Removed obsolete methods and added range checks.
8918 * Source/NSGCString.m: ditto.
8919 * Source/NSAttributedString.m: Fix fencepost error in -description.
8920
8921 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8922
8923 * Source/NSRunLoop.m: ([-_checkPerformers:]) When a loop executes the
8924 method to deal with a ([-performSelector:target:argument:order:modes]),
8925 we cancel the request rather than leaving it to be actioned again next
8926 time round the loop.
8927
8928 2000-09-07 Richard Frith-Macdonald <rfm@gnu.org>
8929
8930 * Source/NSGeometry.m: Add code to parse MacOS-X format strings.
8931 Also produce MacOS-X format strings if the GSMacOSXCompatibleGeometry
8932 or GSMacOSXCompatible default is YES (the former overrides the latter).
8933 * Source/NSException.m: ([-name]) and ([-reason]) modifide to ensure
8934 that a nil is never returned.
8935
8936 2000-09-01 Fred Kiefer <FredKiefer@gmx.de>
8937
8938 * Headers/gnustep/base/NSString.h:
8939 Added new encodings from specification
8940 * Headers/gnustep/base/NSNumberFormatter.h:
8941 * Source/NSNumberFormatter.m:
8942 Added skeleton for this class
8943 *Source/GNUmakefile:
8944 Added NSNumberFormatter.[hm]
8945
8946 2000-08-27 Manuel Guesdon <mguesdon@orange-concept.com>
8947
8948 * Tools/gsdoc-0_6_6.dtd: added elements for gnustep-db doc generator
8949 * Tools/gsdoc.m: handle gnustep-db doc generator
8950
8951 2000-08-24 Manuel Guesdon <mguesdon@orange-concept.com>
8952
8953 * Tools/gsdoc-0_6_6.dtd: added prjref element which enable explicit
8954 links between projects
8955 * Tools/gsdoc.m: handle prjref
8956 remove extensions from files in gsdocrefs
8957 (one day we'll generate other formats :-)
8958
8959 2000-08-23 Fred Kiefer <FredKiefer@gmx.de>
8960
8961 * Headers/gnustep/base/NSDecimal.h:
8962 Use signed char for exponent, as char may be unsigned on some machines
8963 * Source/NSDecimal.m:
8964 Corrected some bugs and added a basic implementation based on GMP
8965 (Still not complete)
8966
8967 2000-08-23 Adam Fedor <fedor@gnu.org>
8968
8969 * Source/NSDebug.m (NSFrameAddress): New function
8970 (NSReturnAddress): Likewise.
8971 (NSCountFrames): Likewise. (impementation from alex@orderfusion.com).
8972
8973 2000-08-16 Manuel Guesdon <mguesdon@orange-concept.com>
8974
8975 * Tools/gsdoc-0_6_6.dtd: added conform for category
8976 * Tools/gsdoc.m: correct bugs and added inter/intra-projects
8977 link generations
8978 * Tools/AutoDocTemplate.gsdoc: correct problems
8979 * Tools/indextemplate.gsdoc: correct problems
8980
8981 2000-08-16 Richard Frith-Macdonald <rfm@gnu.org>
8982
8983 * Source/NSDebug.m: Fix memory leak when adding new class to array
8984 of those being recorded - report by Frederic.De.Jaeger
8985
8986 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8987
8988 * Tools/gsdoc.gsdoc: added examples on how to use AutoDoc and GSDoc.
8989
8990 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8991
8992 * Tools/GNUmakefile: added DocTemplates
8993 * Tools/Makefile.postamble: added DocTemplates
8994 * Tools/indextemplate.gsdoc: New file. Use it as template for
8995 gsdoc index generation
8996 * Tools/AutoDocTemplate.gsdoc: New File: Use it as template for AutoDoc
8997 source-to-documentation generation.
8998
8999 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
9000
9001 * Tools/gsdoc-0_6_6.dtd: added ivariable, constant and stylesheet
9002 * Tools/gsdoc.m: added ivariable, constant and stylesheet support
9003 added index generation
9004 * Tools/gsdoc.gsdoc: added parameters documentation
9005
9006 2000-08-13 Richard Frith-Macdonald <rfm@gnu.org>
9007
9008 * Documentation/gsdoc/NSString.gsdoc: add documentation for replacing
9009 strings within the reciever.
9010 * Documentation/gsdoc/NSMutableString.gsdoc: ditto
9011
9012 2000-08-08 Richard Frith-Macdonald <rfm@gnu.org>
9013
9014 * Headers/gnustep/base/all.h: Moved to Old as obsolete file.
9015 * Headers/gnustep/base/Arch: dittoiver.m
9016 * Headers/gnustep/base/Archiver.h: ditto
9017 * Headers/gnustep/base/Array.h: ditto
9018 * Headers/gnustep/base/ArrayPrivate.h: ditto
9019 * Headers/gnustep/base/Bag.h: ditto
9020 * Headers/gnustep/base/BinaryCStream.h: ditto
9021 * Headers/gnustep/base/BinaryTree.h: ditto
9022 * Headers/gnustep/base/BinaryTreeNode.h: ditto
9023 * Headers/gnustep/base/CircularArray.h: ditto
9024 * Headers/gnustep/base/CircularArrayPrivate.h: ditto
9025 * Headers/gnustep/base/Coder.h: ditto
9026 * Headers/gnustep/base/CoderPrivate.h: ditto
9027 * Headers/gnustep/base/Coding.h: ditto
9028 * Headers/gnustep/base/Collecting.h: ditto
9029 * Headers/gnustep/base/Collection.h: ditto
9030 * Headers/gnustep/base/CollectionPrivate.h: ditto
9031 * Headers/gnustep/base/CStream.h: ditto
9032 * Headers/gnustep/base/CStreaming.h: ditto
9033 * Headers/gnustep/base/DelegatePool.h: ditto
9034 * Headers/gnustep/base/Dictionary.h: ditto
9035 * Headers/gnustep/base/Enumerating.h: ditto
9036 * Headers/gnustep/base/GapArray.h: ditto
9037 * Headers/gnustep/base/GapArrayPrivate.h: ditto
9038 * Headers/gnustep/base/Heap.h: ditto
9039 * Headers/gnustep/base/IndexedCollecting.h: ditto
9040 * Headers/gnustep/base/IndexedCollection.h: ditto
9041 * Headers/gnustep/base/IndexedCollectionPrivate.h: ditto
9042 * Headers/gnustep/base/InvalidationListening.h: ditto
9043 * Headers/gnustep/base/Invocation.h: ditto
9044 * Headers/gnustep/base/Invoking.h: ditto
9045 * Headers/gnustep/base/KeyedCollecting.h: ditto
9046 * Headers/gnustep/base/KeyedCollection.h: ditto
9047 * Headers/gnustep/base/LinkedList.h: ditto
9048 * Headers/gnustep/base/LinkedListNode.h: ditto
9049 * Headers/gnustep/base/Locking.h: ditto
9050 * Headers/gnustep/base/Mach: dittoPort.m
9051 * Headers/gnustep/base/MachPort.h: ditto
9052 * Headers/gnustep/base/Magnitude.h: ditto
9053 * Headers/gnustep/base/MappedCollector.h: ditto
9054 * Headers/gnustep/base/MemoryStream.h: ditto
9055 * Headers/gnustep/base/NotificationDispatch: dittoer.m
9056 * Headers/gnustep/base/NotificationDispatcher.h: ditto
9057 * Headers/gnustep/base/OldNSConnection.h: ditto
9058 * Headers/gnustep/base/OldNSPortCoder.h: ditto
9059 * Headers/gnustep/base/OrderedCollecting.h: ditto
9060 * Headers/gnustep/base/OrderedCollection.h: ditto
9061 * Headers/gnustep/base/Ordering.h: ditto
9062 * Headers/gnustep/base/Port.h: ditto
9063 * Headers/gnustep/base/Queue.h: ditto
9064 * Headers/gnustep/base/RandomGenerating.h: ditto
9065 * Headers/gnustep/base/Random.h: ditto
9066 * Headers/gnustep/base/RawCStream.h: ditto
9067 * Headers/gnustep/base/RBTree.h: ditto
9068 * Headers/gnustep/base/RBTreeNode.h: ditto
9069 * Headers/gnustep/base/Retaining.h: ditto
9070 * Headers/gnustep/base/RNGAdditiveCongruential.h: ditto
9071 * Headers/gnustep/base/RNGBerkeley.h: ditto
9072 * Headers/gnustep/base/RunLoop.h: ditto
9073 * Headers/gnustep/base/Set.h: ditto
9074 * Headers/gnustep/base/SplayTree.h: ditto
9075 * Headers/gnustep/base/Stack.h: ditto
9076 * Headers/gnustep/base/StdioStream.h: ditto
9077 * Headers/gnustep/base/Stream.h: ditto
9078 * Headers/gnustep/base/Streaming.h: ditto
9079 * Headers/gnustep/base/TcpPort.h: ditto
9080 * Headers/gnustep/base/TextCStream.h: ditto
9081 * Headers/gnustep/base/Time.h: ditto
9082 * Headers/gnustep/base/UdpPort.h: ditto
9083 * Headers/gnustep/base/ValueHolding.h: ditto
9084 * Source/Array.m: ditto
9085 * Source/Bag.m: ditto
9086 * Source/BinaryCStream.m: ditto
9087 * Source/BinaryTree.m: ditto
9088 * Source/BinaryTreeNode.m: ditto
9089 * Source/CircularArray.m: ditto
9090 * Source/Coder.m: ditto
9091 * Source/Collection.m: ditto
9092 * Source/CStream.m: ditto
9093 * Source/Decoder.m: ditto
9094 * Source/DelegatePool.m: ditto
9095 * Source/Dictionary.m: ditto
9096 * Source/Encoder.m: ditto
9097 * Source/GapArray.m: ditto
9098 * Source/Heap.m: ditto
9099 * Source/IndexedCollection.m: ditto
9100 * Source/Invocation.m: ditto
9101 * Source/KeyedCollection.m: ditto
9102 * Source/LinkedList.m: ditto
9103 * Source/LinkedListNode.m: ditto
9104 * Source/Magnitude.m: ditto
9105 * Source/MappedCollector.m: ditto
9106 * Source/MemoryStream.m: ditto
9107 * Source/OldNSConnection.m: ditto
9108 * Source/OldNSPortCoder.m: ditto
9109 * Source/OrderedCollection.m: ditto
9110 * Source/Port.m: ditto
9111 * Source/Queue.m: ditto
9112 * Source/Random.m: ditto
9113 * Source/RawCStream.m: ditto
9114 * Source/RBTree.m: ditto
9115 * Source/RBTreeNode.m: ditto
9116 * Source/RNGAdditiveCongruential.m: ditto
9117 * Source/RNGBerkeley.m: ditto
9118 * Source/Set.m: ditto
9119 * Source/SplayTree.m: ditto
9120 * Source/Stack.m: ditto
9121 * Source/StdioStream.m: ditto
9122 * Source/Stream.m: ditto
9123 * Source/TcpPort.m: ditto
9124 * Source/TextCStream.m: ditto
9125 * Source/UdpPort.m: ditto
9126 * Testing/cstream.m: ditto
9127 * Testing/invocation_char.m: ditto
9128 * Testing/invocation_int.m: ditto
9129 * Testing/invocation_long.m: ditto
9130 * Testing/invocation.m: ditto
9131 * Testing/invocation_short.m: ditto
9132 * Testing/ostream.h: ditto
9133 * Testing/ostream.m: ditto
9134 * Testing/pipes.m: ditto
9135
9136 2000-08-07 Adam Fedor <fedor@gnu.org>
9137
9138 * Merge 0.6.6 branch into main.
9139
9140 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9141
9142 * Tools/gdomap.c: Permit dumping of internal table of known peer
9143 nameservers when sent SIGUSR1
9144
9145 2000-07-20 Richard Frith-Macdonald <rfm@gnu.org>
9146
9147 * Tools/gdomap.c: Bugfix for GDO_NAMES (patch provided by Bjoern)
9148
9149 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9150
9151 * Tools/gdomap.h: Add new GDO_NAMES command.
9152 * Tools/gdomap.c: Incorporate MINGW port by Bjoern.Giesler@gmx.de
9153 after modifications to conform to coding standards.
9154 Add GDO_NAMES support to list all registered names.
9155
9156 2000-07-16 Fred Kiefer <FredKiefer@gmx.de>
9157
9158 * Headers/gnustep/base/NSDecimal.h:
9159 * Headers/gnustep/base/NSDecimalNumber.h:
9160 Included missing functions and changed type definition.
9161 * Source/NSDecimal.m:
9162 Basic implementation of NSDecimal. An implementation using GMP
9163 will follow.
9164 * Source/NSDecimalNumber.m:
9165 Use the NSDecimal functions for this class
9166 * Source/GNUMakefile:
9167 Add NSDecimal and NSDecimalNumber
9168
9169 2000-08-06 Adam Fedor <fedor@gnu.org>
9170
9171 * Version 0.6.6 released.
9172
9173 * Source/NSTimer.m (-compare:): Add return to quiet warning.
9174
9175 2000-08-04 Richard Frith-Macdonald <rfm@gnu.org>
9176
9177 * Source/NSPortNameServer.m: include netinet/in.h as needed on
9178 FreeBSD to define values used in arpa/inet.h
9179
9180 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9181
9182 * Source/NSHost: ([_initWithHostEntry:key:]) workaround for buggy
9183 host entries with missing h_aliases
9184
9185 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9186
9187 * NSTimeZones/NSTimeZones.tar: Updated to latest (July 31st) info
9188
9189 2000-08-02 Adam Fedor <fedor@gnu.org>
9190
9191 * Version: Update version number
9192 * Documentation/announce.tmpl.texi: Update
9193 * Documentation/readme.tmpl.texi: Likewise.
9194 * Documentation/news.tmpl.texi: Likewise.
9195 * Documentation/todo.tmpl.texi: Likewise.
9196 * ANNOUNCE, BUGS, NEWS, README: Regenerate
9197
9198 2000-08-02 Adam Fedor <fedor@gnu.org>
9199
9200 * Testing/nsconnection_client.m: Rewrite, organize.
9201 * Testing/nsconnection_server.m: Likewise.
9202
9203 2000-08-02 Richard Frith-Macdonald <rfm@gnu.org>
9204
9205 * Source/GSTcpPort.m: ([-removeHandle:]) corrected logic for releasing
9206 self when port was created and retained by an incoming connection.
9207
9208 2000-08-01 Adam Fedor <fedor@gnu.org>
9209
9210 * Source/NSConcreteNumber.m (-compare:): Add return at end to quiet
9211 compiler warning.
9212
9213 * Source/NSFileHandle.m: Change +fileHandle... methods to use
9214 abstracts class's allocWithZone.
9215
9216 * Source/libgnustep-base.def: Update for new/removed classes.
9217
9218 2000-08-01 Richard Frith-Macdonald <rfm@gnu.org>
9219
9220 * Source/NSCalendarDate.m: Correct order of args to
9221 lastDayOfGregorianMonth()
9222 * Source/NSPortCoder.m: Handle classes encoded as objects specially.
9223 * Source/NSArchiver.m: ditto.
9224 * Source/NNSUnarchiver.m: ditto.
9225
9226 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9227
9228 * Source/Foundation/NSDebug.h: removed GS_IMPORT
9229 * Source/Foundation/NSObjCRuntime.h: ditto
9230 * Source/Foundation/GSConfig.h.in: ditto
9231
9232 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9233
9234 * Source/NSString.m: implement -cStringLength correctly in terms of
9235 other methods of the abstract class, rather than making the subclass
9236 do it. Cache [-characterAtIndex:] implementation for speed
9237 throughout.
9238 * Source/Unicode.m: Remove uslen() function - unused and unsafe.
9239 Tidied code and optimised a little.
9240 * Source/Foundation/Unicode.h: Remove uslen()
9241 * Source/NSNumber.m: Check for nul argument to [-compare:]
9242 * Source/NSDate.m: ditto
9243 * Source/NSObject.m: ditto
9244 * Source/NSConcreteNumber.m: ditto
9245 * Source/NSTimer.m: ditto
9246
9247 2000-07-30 Richard Frith-Macdonald <rfm@gnu.org>
9248
9249 * Tools/nconnection.m: Trivial test of basic inter-thread use of
9250 DO taken from example code in Applde documentation.
9251
9252 2000-07-29 Richard Frith-Macdonald <rfm@gnu.org>
9253
9254 Varous cluster classes - Bugfix to let allocWithZone work for
9255 new concrete subclasses in the cluster.
9256 * Source/NSPortCoder.m: Accept classes when asked to decode object.
9257 * Source/NSUnarchiver.m: ditto.
9258
9259 2000-07-28 Richard Frith-Macdonald <rfm@gnu.org>
9260
9261 * Source/NSConnection.m: Don't create/use locks until the app
9262 goes multi-threaded.
9263 * Source/GSTcpPort.m: ditto.
9264
9265 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9266
9267 * Source/GSTcpPort.m: Fix stupid error in last bugfix
9268 * Source/Foundation/GSConfig.h.in: define GS_SIZEOF_VOIDP
9269 * configure.in: provide GS_SIZEOF_VOIDP
9270
9271 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9272
9273 * Source/NSThread.m: clarify code for getting current thread.
9274
9275 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9276
9277 * Source/Foundation/NSDebug.h: Bugfix reported by Frederic.De.Jaeger
9278 to prevent incorrect processor handling of cases where logging format
9279 string has no arguments.
9280
9281 2000-07-26 Richard Frith-Macdonald <rfm@gnu.org>
9282
9283 * Source/GSTcpPort.m: When given bad data on a socket, log a message
9284 and invalidate the socket handle rather than raising an exception
9285 and crashing. Should make system more robust in the face of attacks.
9286
9287 2000-07-24 Adam Fedor <fedor@gnu.org>
9288
9289 * Source/GSTcpPort.m
9290 (-sendBeforeDate:msgid:components:from:reserved:]): Correct typo.
9291
9292 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9293
9294 Testing directory tidied to reflect removal of old classes.
9295 * Source/NSTimer.m: Tidied a little.
9296
9297 2000-07-23 Richard Frith-Macdonald <rfm@gnu.org>
9298
9299 Old DO code removed along with associated libObjects classes that it
9300 required - library slimmed down.
9301
9302 2000-07-21 Richard Frith-Macdonald <rfm@gnu.org>
9303
9304 * Source/NSGCString.m: implement methods to get numeric values.
9305 * Source/NSGString.m: implement methods to get numeric values.
9306
9307 2000-07-19 Adam Fedor <fedor@gnu.org>
9308
9309 * Documentation/news.tmpl.texi: Update.
9310 * Documentation/todo.tmpl.texi: Update.
9311
9312 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9313
9314 * Tools/Makefile.postamble: Improve warning messages for gdomap install
9315 * Source/NSProcessInfo.m: Change __MINGW32__ to __MINGW__
9316 * Source/GSTcpPort.m: improve encoding of local port for send over wire
9317
9318 2000-07-17 Adam Fedor <fedor@gnu.org>
9319
9320 * Source/NSZone.m: Remove duplicate function definitions (when
9321 GS_WITH_GC is 1) already defined in NSZone.h.
9322
9323 2000-07-17 Richard Frith-Macdonald <rfm@gnu.org>
9324
9325 * Source/externs.m: Some evil casts to avoid compiler warnings about
9326 assigning to constant variables when we initiallise them.
9327 * Source/NSGSet.m: implemented [-anyObject] and [-allObjects]
9328 * Source/NSSet.m: Fix to encode subclasses as abstract class.
9329 Remove unused methods for set/get concrete class
9330 * Source/NSCountedSet.m: ditto
9331 * Source/NSNumber.m: Use explicitly signed types for portability -
9332 particularly for systems (eg PPC) where char is not signed by default.
9333 * Source/NSConcrete.m: ditto.
9334 * Source/NSConcreteNumber.m: ditto.
9335 * Source/Foundation/NSValue.h: ditto
9336 * Source/Foundation/NSConcreteNumber.h: ditto
9337 * Source/NSArray.m: Remove unused methods for set/get concrete class
9338 * Source/NSDictionary.m: ditto.
9339 * Source/NSString.m: ditto.
9340 * Source/NSAttributedString.m: ditto.
9341 * Source/NSHost.m: store names and addresses in sets for improved
9342 performance (comparisons).
9343 Encode host as an address other than loopback if possible.
9344 Add code for a new '+localHost' method to try to get ALL
9345 names/addresses of current host.
9346 * Source/NSPortNameServer.m: Use new localHost method.
9347 * Source/GSTcpPort.m: Use new localHost method.
9348
9349 2000-07-16 Adam Fedor <fedor@gnu.org>
9350
9351 * Tools/GNUmakefile (gdomap): Make as a C-tool rather than an
9352 Objective-C program (no need for libobjc).
9353
9354 2000-07-07 Jonathan Gapen <jagapen@home.com>
9355
9356 * Source/NSString.m: (-initWithFormat:), (-initWithFormat:locale:),
9357 (-initWithFormat:arguments:) now implemented by calling
9358 (-initWithFormat:locale:arguments:)
9359 * Source/externs.m: Add strings defined in MacOS X documentation,
9360 and useful strings from OPENSTEP 4.2.
9361
9362 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9363
9364 * Source/GSTcpPort.m: set size for return buffer of getsockbyname()
9365
9366 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9367
9368 * Source/NSRunLoop.m: Minor optimisation in select(), also update
9369 servicing oorder of inputs to provide fairer allocation of processing.
9370
9371 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9372
9373 * Source/NSConnection.m: Some thread safety improvements.
9374
9375 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9376
9377 * Source/GSTcpPort.m: Add code to cope with machines requiring word
9378 alignment for memory references.
9379
9380 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9381
9382 * Tools/Makefile.postabmle: Create directory for DTDs if needed
9383
9384 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9385
9386 * Source/GSTcpHandle.m: fix error resetting size of data to be read -
9387 could cause occasional crashes!
9388
9389 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9390
9391 * Source/NSConnection.m: Update to use GSIMap rather than NSMap in
9392 order to regain performance lost by adding code to ensure that reply
9393 packets cannot be leaked. Fixed error in old connection code - due
9394 to a typing error a line had got deleted that was removing the
9395 connection from the global table on deallocation.
9396 * Source/NSPortNameServer.m: Fix to avoid errors when given bad
9397 nameserver IP address info.
9398
9399 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9400
9401 * Makefile.preamble: define GS_NEW_DO to specify whether the
9402 new or the old DO code is to be used. Change the define and
9403 rebuild the library if you need the old DO code.
9404 Advantages of new code -
9405 MacOS-X compatibly
9406 Should work between different processor architectures and word sizes
9407 Might work for inter-thread communication
9408 Approx 25% faster
9409 Permit packet authentication/encryption
9410 Disadvantages -
9411 not well tested - development version
9412 removed many old methods.
9413 * Headers/gnustep/base/GSConnection.h: removed - merged into
9414 NSConnection.h
9415 * Headers/gnustep/base/GSPortCoder.h: removed - merged into
9416 NSPortCoder.h
9417 * Source/GSConnection.m: removed - merged into NSConnection.m
9418 * Source/GSPortCoder.m: removed - merged into NSPortCoder.m
9419 * Source/NSPortNameServer.m: Use GS_NEW_DO define to determine
9420 default port class
9421 * Documentation/gsdoc/NSConnection.gsdoc: Added descriptions of
9422 all the methods in the new implementation. The class is
9423 perilously close to being fully documented!
9424 * Documentation/gsdoc/...: updated all files to use new dtd.
9425
9426 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9427
9428 * Source/GSConnection.m: Improved coder caching and added code for
9429 multiple thread support.
9430 * Source/GSPortCoder.m: Improved performance of class version
9431 lookup and tidied.
9432 * Source/GSTcpPort.m: Ensure we don't remain in the run loop any
9433 longer than necessary.
9434 * Source/NSArchiver.m: minor tidyup
9435 * Source/NSDistantObject.m: minor performance tweak
9436 * Source/NSUnarchiver.m: minor tidyup.
9437 * Source/NSPortNameServer.m: Update for MacOS-X
9438
9439 2000-07-03 Richard Frith-Macdonald <rfm@gnu.org>
9440
9441 * Source/GSConnection.m: Cache coders fro performance.
9442 * Source/GSPortCoder.m: support re-use.
9443 * Source/GSTcpPort.m: tidy locking.
9444 * Source/NSData.m: optimize +new
9445 * Source/NSGCString.m: optimize -hash
9446 * Source/NSGDictionary.m: optimize string hashing
9447 * SourceNSObject.m: Call GSBuildStrings() for global constants.
9448 * Source/NSPort.m: Create GSTcpPort by default.
9449 * Source/externs.m: GSBuildStrings() now used to make string
9450 constants that support cached hash values
9451 * Testing/client.m: Added simple benchmarking.
9452 * Testing/server.m: Added method for simple benchmarking.
9453 * Testing/server.h: Added method for simple benchmarking.
9454 * Tools/gdnc.m: String OPENSTEP use of DO
9455
9456 2000-07-02 Richard Frith-Macdonald <rfm@gnu.org>
9457
9458 * Source/GSConnection.m: Implementation almost complete
9459 * Source/GSPortCoder.m: Completed
9460 * Source/GSTcpPort.m: tidied for MacOS-X compatibility
9461 * Source/NSArchiver.m: Bugfix encoding structures containing arrays
9462 * Source/NSData.m: minor tidy
9463 * Source/NSDistantObject.m: update for new implementation
9464 * Source/NSInvocation.m: bugfix decoding
9465 * Source/NSPort.m: update for MacOS-X complience
9466 * Source/NSPortNameServer.m: tidied
9467 * Testing/client.m: Update
9468 * Testing/server.m: update
9469
9470 2000-06-30 Adam Fedor <fedor@gnu.org>
9471
9472 libgstep-base now compiles (and links) into a DLL on Cygwin.
9473 * configure.in: Typo in checking for cygwin.
9474
9475 * Headers/gnustep/base/NSHashTable.h: GS_EXPORT functions.
9476 * Headers/gnustep/base/NSMapTable.h: Likewise.
9477
9478 * Source/Makefile.postamble (libgnustep-base.def) Target to generate
9479 def file.
9480 * Source/libgnustep-base.def: Updated.
9481
9482 * Source/NSProcessInfo.m: Error message if GS_PASS_ARGUMENTS. Don't
9483 define main if GS_PASS_ARGUMENTS.
9484
9485 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9486
9487 * Headers/gnustep/base/NSDate.h: Added GSTime() function
9488 * Source/NSDate.m: More efficient MINGW date creation
9489 * Source/NSCalendarDate.m: optimised date creation from yymmddhhmmss
9490 * Source/NSData.m: MINGW file read and write operations added (untested)
9491 * Source/NSFileManager.m: MINGW file operations updated.
9492
9493 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9494
9495 Coding/decoding modifications to make system more in line with
9496 OPENSTEP/MacOS-X. Tidyup of global string constants. Advanced
9497 development of DO rewrite.
9498 * Headers/gnustep/base/DistributedObjects.h: removed obsolete info
9499 * Headers/gnustep/base/GSConnection.h: improved and tidied
9500 * Headers/gnustep/base/GSPortCoder.h: private method for connection
9501 * Headers/gnustep/base/NSArchiver.h: remove libobjects compatibility
9502 * Headers/gnustep/base/NSCoder.h: added libobjects compatibility
9503 * Headers/gnustep/base/NSException.h: tidied
9504 * Headers/gnustep/base/NSPortMessage.h: private method for connections
9505 * Headers/gnustep/base/NSRunLoop.h: tidied string constants.
9506 * Headers/gnustep/unicode/decomp.h: tidied to avoid compiler warning.
9507 * Source/GSConnection.m: largely implemented (untested)
9508 * Source/GSPortCoder.m: more efficient data coding
9509 * Source/NSArchiver.m: moved global constants to externs.m
9510 * Source/NSAttributedString.m: don't call super coding methods.
9511 * Source/NSCoder.m: add libobjects compatibility
9512 * Source/NSConnection.m: tidied a few bugs
9513 * Source/NSDistantObject.m: don't call super coding methods.
9514 * Source/NSGAttributedString.m: don't call super coding methods.
9515 * Source/NSHost.m: don't call super coding methods.
9516 * Source/NSNotification.m: don't call super coding methods.
9517 * Source/NSObject.m: tidied a little
9518 * Source/NSPort.m: moved global constants to externs.m
9519 * Source/NSPortMessage.m: new access method for connections.
9520 * Source/NSRunLoop.m: moved global constants to externs.m
9521 * Source/NSTimeZone.m: don't call super coding methods.
9522 * Source/NSURL.m: don't call super coding methods.
9523 * Source/NSUnarchiver.m: tidied.
9524 * Source/externs.m: Tdied and added new global constants.
9525
9526 2000-06-28 Adam Fedor <fedor@gnu.org>
9527
9528 Extension to force process args to be forwarded by the user.
9529 * configure.in (enable-pass-arguments): New switch that forces user
9530 to call NSProcessInfo initialization with process arguments.
9531 * Headers/gnustep/base/GSConfig.h.in (GS_PASS_ARGUMENTS): New define.
9532 * Source/NSProcessInfo.m (+initializeWithArguments:count:environment:):
9533 New method.
9534 * Tools/defaults.m (main): Update to call method if GS_PASS_ARGUMENTS.
9535 * Tools/gdnc.m: Likewise.
9536 * Tools/gsdoc.m: Likewise.
9537 * Tools/pldes.m: Likewise.
9538 * Tools/plmerge.m: Likewise.
9539 * Tools/plparse.m: Likewise.
9540 * Tools/plser.m: Likewise.
9541 * Tools/sfparse.m: Likewise.
9542
9543 * Source/behavior.m: Define __objc_uninstalled_dtable if not available
9544 from runtime.
9545
9546 2000-06-28 Richard Frith-Macdonald <rfm@gnu.org>
9547
9548 Various minor tidyups for distributed objects - and included development
9549 code for NSConnection rewrite.
9550 * Headers/gnustep/base/DistributedObjects.h: removed obsolete methods
9551 * Headers/gnustep/base/GSConnection.h: temporary (development) class
9552 * Headers/gnustep/base/GSPortCoder.h: private method for GSConnection
9553 * Headers/gnustep/base/NSConnection.h: tidied
9554 * Source/GSConnection.m: temporary (development) class
9555 * Source/GSPortCoder.m: private method for GSConnection
9556 * Source/NSConnection.m: tidied a little - retain/release fixes
9557 * Source/NSDistantObject.m: tidied a little - use OPENSTEP method
9558 for creating new connection.
9559 * Source/NSPortCoder.m: tidied to work without GNU specific code.
9560
9561 2000-06-27 Adam Fedor <fedor@gnu.org>
9562
9563 * Fixes on solaris/gcc 2.8.0
9564 * configure.in: Check for whoami location.
9565 * Source/Makefile.postamble: Use it.
9566 * Tools/Makefile.postamble: Use it.
9567
9568 * Tools/gsdoc.m: Make sure exit status is 0 when no libxml
9569
9570 * Makefile.postamble: Don't make documentation on install. Can't
9571 guarentee that library path is setup correctly yet.
9572
9573 * Source/NSData.m: Correct sense of NEEDS_WORD_ALIGN test.
9574
9575 2000-06-27 Richard Frith-Macdonald <rfm@gnu.org>
9576
9577 * Source/NSPort.m: Add default support for coding using the
9578 encodePortObject and decodePortObject methods.
9579 * Source/NSData.m: Use encodeDataObject and decodeDataObject
9580
9581 2000-06-26 Adam Fedor <fedor@gnu.org>
9582
9583 * Source/NSTimer.m (-invalidate): Remove assertion.
9584
9585 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9586
9587 * Source/GSPortCoder.m: Rewrite of NSPortCoder - under development.
9588 * Headers/gnustep/base/GSPortCoder.h: ditto
9589 * Source/GNUmakefile: Build GSPortCoder
9590
9591 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9592
9593 * Source/NSCoder.m: Use AUTORELEASE and tidy up.
9594 * Source/NSArchiver.m: Fix bug in ([-replaceObject:withObject:])
9595 * Source/NSObject.m: Optimise default replacementObjectForPortCoder
9596
9597 2000-06-23 Richard Frith-Macdonald <rfm@gnu.org>
9598
9599 * Source/NSFileHandle.m: Use AUTORELEASE and tidy up.
9600
9601 2000-06-21 Adam Fedor <fedor@gnu.org>
9602
9603 * Shared library (DLL) fixes on Windows
9604 * configure.in: Check for alternate objc (DLL) libraries.
9605 Look for objc_get_uninstalled_dtable.
9606 * Source/behavior.m (behavior_class_add_methods): Don't look for
9607 uninstalled_dtable if no objc_get_uninstalled_dtable.
9608 (check_class_methods): Remove unused.
9609 * Source/objc-load.m: Likewise.
9610
9611 * Headers/gnustep/base/NSObjCRuntime.h: Define GS_EXPORT
9612 * Headers/gnustep/base/NSZone.h: Define functions either static
9613 or extern depending on whether NSZone.m is being compiled.
9614 * Source/NSZone.m: Remove duplicate functions.
9615 * Source/Makefile.preamble (LIBRARIES_DEPEND_UPON): Add -lobjc
9616 if on windows.
9617
9618 * Source/UdpPort.m: Use NSMutableArray.
9619
9620 2000-06-19 Adam Fedor <fedor@gnu.org>
9621
9622 * Source/NSBundle.m (_bundle_name_first_match): Work even when
9623 filename has a directory component. (patch from Julian van
9624 Greunen <vangrn@lantic.co.za>).
9625
9626 2000-06-21 Richard Frith-Macdonald <rfm@gnu.org>
9627
9628 * Source/NSScanner.m: ([-scanHexInt:]) fixed to permit leading 0x or 0X
9629 * Documentation/gsdoc/NSScanner.gsdoc: fleshed out
9630 * Tools/Makefile.postamble: Added documentation target - build before
9631 install
9632 * Tools/gsdoc-0_6_6.dtd: New dtd under development - add java support,
9633 permit multiple indices at end of document, permit <br/> element.
9634 * Tools/gsdoc.m: Update to work with current dtd
9635 * Tools/gsdoc.gsdoc: Add a little more text on document body structure.
9636
9637 2000-06-20 Richard Frith-Macdonald <rfm@gnu.org>
9638
9639 * configure.in: Added check for recent libxml
9640 * config.mak.in: Added defeine for HAVE_LIBXML
9641 * Tools/gsdoc.m: Added from GSDoc and modified for standard
9642 libxml 2.0 installation
9643 * Tools/gsdoc-0_6_5.dtd: Added from GSDoc
9644 * Tools/gsdoc.gsdoc: Added from GSDoc
9645 * Tools/gnustep.gsdoc: Added from GSDoc
9646 * GSDoc: all removed
9647 * Examples: removed obsolete code.
9648
9649 2000-06-19 Richard Frith-Macdonald <rfm@gnu.org>
9650
9651 * Source/NSDate.m: Remove obsolete classForConnectedCoder method
9652 * Source/NSPort.m: ditto
9653 * Source/NSTcpPort.m: ditto
9654 * Source/NSUdpPort.m: ditto
9655 * Source/GNUmakefile: remove ConnectedCoder
9656 * Source/ConnectedCoder.m: removed
9657 * Headers/gnustep/base/ConnectedCoder.h: removed
9658
9659 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9660
9661 Removal of non-OpenStep unused classes.
9662 * Headers/gnustep/base/Archiver.h: removed
9663 * Headers/gnustep/base/Array.h: removed
9664 * Headers/gnustep/base/ArrayPrivate.h: removed
9665 * Headers/gnustep/base/Bag.h: removed
9666 * Headers/gnustep/base/BinaryTree.h: removed
9667 * Headers/gnustep/base/BinaryTreeNode.h: removed
9668 * Headers/gnustep/base/CircularArray.h: removed
9669 * Headers/gnustep/base/CircularArrayPrivate.h: removed
9670 * Headers/gnustep/base/Collecting.h: removed
9671 * Headers/gnustep/base/Collection.h: removed
9672 * Headers/gnustep/base/CollectionPrivate.h: removed
9673 * Headers/gnustep/base/DelegatePool.h: removed
9674 * Headers/gnustep/base/Dictionary.h: removed
9675 * Headers/gnustep/base/GapArray.h: removed
9676 * Headers/gnustep/base/GapArrayPrivate.h: removed
9677 * Headers/gnustep/base/Heap.h: removed
9678 * Headers/gnustep/base/IndexedCollecting.h: removed
9679 * Headers/gnustep/base/IndexedCollection.h: removed
9680 * Headers/gnustep/base/IndexedCollectionPrivate.h: removed
9681 * Headers/gnustep/base/InvalidationListening.h: removed
9682 * Headers/gnustep/base/Invocation.h: removed
9683 * Headers/gnustep/base/Invoking.h: removed
9684 * Headers/gnustep/base/KeyedCollecting.h: removed
9685 * Headers/gnustep/base/KeyedCollection.h: removed
9686 * Headers/gnustep/base/LinkedList.h: removed
9687 * Headers/gnustep/base/LinkedListNode.h: removed
9688 * Headers/gnustep/base/Magnitude.h: removed
9689 * Headers/gnustep/base/MappedCollector.h: removed
9690 * Headers/gnustep/base/NotificationDispatcher.h: removed
9691 * Headers/gnustep/base/OrderedCollecting.h: removed
9692 * Headers/gnustep/base/OrderedCollection.h: removed
9693 * Headers/gnustep/base/Queue.h: removed
9694 * Headers/gnustep/base/RBTree.h: removed
9695 * Headers/gnustep/base/RBTreeNode.h: removed
9696 * Headers/gnustep/base/RNGAdditiveCongruential.h: removed
9697 * Headers/gnustep/base/RNGBerkeley.h: removed
9698 * Headers/gnustep/base/Random.h: removed
9699 * Headers/gnustep/base/RandomGenerating.h: removed
9700 * Headers/gnustep/base/RunLoop.h: removed
9701 * Headers/gnustep/base/Set.h: removed
9702 * Headers/gnustep/base/SplayTree.h: removed
9703 * Headers/gnustep/base/Stack.h: removed
9704 * Headers/gnustep/base/Time.h: removed
9705 * Headers/gnustep/base/all.h: removed
9706 * Source/Archiver.m: removed
9707 * Source/Array.m: removed
9708 * Source/Bag.m: removed
9709 * Source/BinaryTree.m: removed
9710 * Source/BinaryTreeNode.m: removed
9711 * Source/CircularArray.m: removed
9712 * Source/Collection.m: removed
9713 * Source/DelegatePool.m: removed
9714 * Source/Dictionary.m: removed
9715 * Source/GapArray.m: removed
9716 * Source/Heap.m: removed
9717 * Source/IndexedCollection.m: removed
9718 * Source/Invocation.m: removed
9719 * Source/KeyedCollection.m: removed
9720 * Source/LinkedList.m: removed
9721 * Source/LinkedListNode.m: removed
9722 * Source/Magnitude.m: removed
9723 * Source/MappedCollector.m: removed
9724 * Source/NotificationDispatcher.m: removed
9725 * Source/OrderedCollection.m: removed
9726 * Source/Queue.m: removed
9727 * Source/RBTree.m: removed
9728 * Source/RBTreeNode.m: removed
9729 * Source/RNGAdditiveCongruential.m: removed
9730 * Source/RNGBerkeley.m: removed
9731 * Source/Random.m: removed
9732 * Source/Set.m: removed
9733 * Source/SplayTree.m: removed
9734 * Source/Stack.m: removed
9735 * Source/GNUmakefile: remove referenced to reomved classes
9736
9737 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9738
9739 * Headers/gnustep/base/NSGArchiver.h: removed obsolete file.
9740 * Source/NSGArchiver.m: removed obsolete file.
9741 * configure.in: Check for existence of NSArray.m to find source
9742 * Headers/gnustep/base/NSDictionary.h: Remove unused headers.
9743 * Headers/gnustep/base/Port.h: ditto
9744 * Headers/gnustep/base/NSConnection.h: ditto
9745 * Headers/gnustep/base/TcpPort.h: ditto
9746 * Headers/gnustep/base/NSGArray.h: ditto
9747 * Headers/gnustep/base/NSSet.h: ditto
9748 * Headers/gnustep/base/NSGSet.h: ditto
9749 * Headers/gnustep/base/NSRange.h: ditto
9750 * Source/Coder.m: Removed dependencies on some old classes
9751 * Source/Decoder.m: ditto
9752 * Source/Port.m: ditto
9753 * Source/TcpPort.m: ditto
9754 * Source/UdpPort.m: ditto
9755 * Source/NSGCString.m: ditto
9756 * Source/NSGString.m: ditto
9757 * Source/NSObject.m: ditto
9758 * Source/NSString.m: ditto
9759
9760 2000-06-15 Adam Fedor <fedor@gnu.org>
9761
9762 * Headers/gnustep/base/NSObject.h: Add base/preface include
9763
9764 2000-06-13 Adam Fedor <fedor@gnu.org>
9765
9766 * configure.in: Look for getopt.h
9767 * Source/NSBundle.m (+_absolutePathOfExecutable:): Add '.' if not
9768 already in path.
9769 * Source/NSPage.m: Use malloc if no valloc.
9770
9771 * Testing/GNUmakefile: Remove non-OpenStep tests.
9772
9773 * Tools/gdomap.c: Change WIN32 to MINGW. Check if IFF_POINTOPOINT
9774 is defined.
9775
9776 * Headers/gnustep/base/*h: Remove preface include from headers.
9777 Change extern function and var definitions to GS_EXPORT for better
9778 handling of DLLs
9779 * Headers/gnustep/base/NSObjCRuntime.h: Set definition of GS_EXPORT
9780 based on using or compiling DLL
9781
9782 2000-06-11 Adam Fedor <fedor@gnu.org>
9783
9784 * Headers/gnustep/base/preface.h.in: Define MINGW if MINW32.
9785 * Headers/gnustep/base/TcpPort.h: Change WIN32 to MINGW since
9786 CYGWIN has unix-like services.
9787 * Headers/gnustep/base/UdpPort.h: Likewise.
9788 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDate.m,
9789 Source/NSFileManager.m, Source/NSHost.m, Source/NSLog.m,
9790 Source/NSPage.m, Source/NSProcessInfo.m, Source/NSString.m,
9791 Source/NSThread.m, Source/NSUser.m, Source/UdpPort.m,
9792 Source/UnixFileHandle.m, : Likewise.
9793
9794 * Source/Makefile.postamble: touch generated h files so they aren'y
9795 re-copied every compile.
9796
9797 * Source/NSBundle.m (_absolutePathOfExecutable:): New method.
9798 (mainBundle): Use it.
9799 * Source/NSTask.m (launch): Likewise.
9800 * Source/find_exec.m: Removed.
9801
9802 2000-06-09 Richard Frith-Macdonald <rfm@gnu.org>
9803
9804 * Source/GSeq.h: Reverted bogus change.
9805
9806 2000-06-06 Adam Fedor <fedor@gnu.org>
9807
9808 * Code cleanup to help with Windows port.
9809 * configure.in: Check for some extra headers. Remove obsolete stuff.
9810 * Source/BinaryCStream.m: Fix includes for WIN32
9811 * Source/NSCalandarDate.m: Likewise.
9812 * Source/NSDate.m: Likewise.
9813 * Source/NSLog.m: Likewise.
9814 * Source/NSPipe.m: Likewise.
9815 * Source/NSProcessInfo.m: Likewise.
9816 * Source/NSRunLoop.m: Likewise.
9817 * Source/NSUserDefaults.m: Likewise.
9818 * Source/StdioStream.m: Likewise.
9819 * Source/UdpPort.m: Likewise.
9820 * Tools/gdomap.c: Likewise.
9821
9822 * Source/NSBinaryCStream: Use NSByteOrder functions.
9823 * Source/UdpPort.m: Likewise.
9824 * Source/Invocation.m (initWithTarget:selector:): Use proper cast.
9825 * Source/NSFileManager.m (-isExecutableFileAtPath): Typo.
9826 * Source/NSPage.m (getpagesize): New function for WIN32
9827 * Source/NSString.m (-indexOfString): New method.
9828
9829 * Source/NSBundle.m (bundle_directory_readable,
9830 bundle_file_readable, _bundle_name_first_match): New functions
9831 use NSFileManager instead of unix dir functions.
9832 (-initWithPath:) Use them.
9833 (-pathForResource:...): Likewise.
9834 (-pathsForResource:...): Likewise.
9835
9836 2000-06-02 Richard Frith-Macdonald <rfm@gnu.org>
9837
9838 * Headers/gnustep/base/NSConnection.h: Changed reply_depth ivar to be
9839 called request_depth instead.
9840 * Source/NSConnection.m: Changed reply_depth ivar to request_depth
9841 and modified code to make independent conversation queueing
9842 effective on the basis of incoming requests being handled rather than
9843 outgoing replies. This should make it work for oneway methods.
9844
9845 Tue May 30 19:54:25 2000 Nicola Pero <nicola@brainstorm.co.uk>
9846
9847 * Source/NSProcessInfo.m ([NSProcessInfo +load]): If environ ==
9848 NULL, abort with an informative message rather than crashing
9849 without explanations.
9850
9851 2000-05-27 Richard Frith-Macdonald <rfm@gnu.org>
9852
9853 * Source/NSBundle.m: Protect all use of map tables of bundles
9854 using lock - should make class thread-safe.
9855
9856 2000-05-25 Adam Fedor <fedor@gnu.org>
9857
9858 * Headers/gnustep/base/GSIArray.h: remove config.h
9859 * Headers/gnustep/base/GSIMap.h: Likewise.
9860
9861 2000-05-24 Richard Frith-Macdonald <rfm@gnu.org>
9862
9863 * Source/NSFileManager.m: ([-directoryContentsAtPath:])
9864 Don't follow symbolic links
9865
9866 2000-05-23 Adam Fedor <fedor@gnu.org>
9867
9868 * Source/NSBundle.m (+initialize): Check if /proc/self/exe returns
9869 a real link, otherwise get path from NSProcessInfo.
9870
9871 * NSData: Correct #ifdef NEEDS_WORD_ALIGN to #if
9872
9873 2000-05-22 Richard Frith-Macdonald <rfm@gnu.org>
9874
9875 * Source/GSeq.h: comparison with zero length range is always
9876 NSOrderdSame
9877
9878 2000-05-21 Richard Frith-Macdonald <rfm@gnu.org>
9879
9880 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9881 Re-fix attempting to handle creation of local method signature rather
9882 than returning a proxy to a remote one. Dumb error in first attempt.
9883
9884 2000-05-10 Adam Fedor <fedor@gnu.org>
9885
9886 * NSBundle.m (-classNamed:): Hacks for getting classes from
9887 _gnustep_bundle.
9888 (-principalClass): Likewise.
9889 (-load): Don't try to call load bundle if we are _gnustep_bundle.
9890
9891 2000-05-09 Richard Frith-Macdonald <rfm@gnu.org>
9892
9893 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9894 Fix attempting to handle creation of local method signature rather than
9895 returning a proxy to a remote one.
9896
9897 2000-05-07 Richard Frith-Macdonald <rfm@gnu.org>
9898
9899 * Source/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
9900 fix '%y' format for any year - bug reported by David Relson
9901
9902 2000-05-06 James Dessart <skwirl@cam.org>
9903
9904 * Documentation/gsdoc/NSString.gsdoc :
9905 * Documentation/gsdoc/NSString.html :
9906 Added some basic doc
9907
9908 2000-05-04 Richard Frith-Macdonald <rfm@gnu.org>
9909
9910 * Source/NSUser.m: NSHomeDirectoryForUser() protect with locks for
9911 thread safety.
9912
9913 2000-05-02 Adam Fedor <fedor@gnu.org>
9914
9915 * configure.in: Add check for word alignment. Also don't define
9916 HAVE_SYS_PROC_EXE on systems that need fake main.
9917 * Headers/gnustep/base/config.h.in: Add define if word-align needed.
9918 * Source/NSData.m:
9919 ([NSDataStatic -deserializeTypeTag:andCrossRef:atCursor:]): Use
9920 memcpy if word alignment needed.
9921 ([NSMutableDataMalloc -serializeTypeTag:andCrossRef:]): Likewise.
9922
9923 2000-04-28 Richard Frith-Macdonald <rfm@gnu.org>
9924
9925 * Source/NSConnection.m: ([+defaultConnection]) create receive port.
9926
9927 2000-04-26 Richard Frith-Macdonald <rfm@gnu.org>
9928
9929 * Source/NSHost.m: Improve logging of host/net configuration errors
9930 * Source/GSTcpPort.m: ditto
9931 * Source/TcpPort.m: ditto
9932
9933 2000-04-25 Adam Fedor <fedor@gnu.org>
9934
9935 * Source/NSBundle.m (+initialize): retain _executable_path.
9936
9937 2000-04-25 Richard Frith-Macdonald <rfm@gnu.org>
9938
9939 * Source/NSAttributedString.m: Optimised - cache method implementations
9940 wherever possible in order to avoid objc runtime overheads.
9941
9942 2000-04-23 Richard Frith-Macdonald <rfm@gnu.org>
9943
9944 * Source/NSAttributedString.m: Corrected code of
9945 ([-attribute:atIndex:longestEffectiveRange:inRange:]) so that it
9946 compares attributes correctly.
9947
9948 2000-04-20 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
9949
9950 * Tools/plmerge.m: New tool to merge property lists.
9951 * Tools/plser.m: Fix error message. (deserialize => serialize)
9952 * Tools/GNUmakefile: Add plmerge.
9953
9954 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9955
9956 * Tools/gdomap.c: Don't do chdir/chroot on sysv - it screws up
9957 their streams so we can't handle incoming connections.
9958
9959 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9960
9961 * Source/NSCalendarDate.m: Fix memory leak when initialising from
9962 string.
9963
9964 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9965
9966 * Source/GSTcpPort.m: define INADDR_NONE to be -1 on systems where
9967 it is not defined.
9968
9969 2000-04-19 Richard Frith-Macdonald <rfm@gnu.org>
9970
9971 * Source/NSThread.m: rewrite
9972 * Source/NSCountedSet.m: minor fix in new unique method
9973 * Source/NSGCountedSet.m: ditto
9974
9975 2000-04-18 Adam Fedor <fedor@gnu.org>
9976
9977 * base/configure.in: add a test to see whether a symlink
9978 '/proc/self/exe' exists
9979 * base/Headers/gnustep/base/config.h.in: Add a definition for the
9980 test result
9981 * base/Source/NSBundle.m: Move the discovery of the process'
9982 executable file to +initialize; add code to discover it from
9983 /proc, if possible (patches from Jonathan Gapen
9984 <jagapen@whitewater.chem.wisc.edu>)
9985
9986 2000-04-18 Richard Frith-Macdonald <rfm@gnu.org>
9987
9988 * Documentation/gsdoc/NSCountedSet.gsdoc: Method descriptions fleshed
9989 out, including GNUstep additional methods and related functions.
9990 * Documentation/gsdoc/NSDeserializer.gsdoc: GNUstep specific extension
9991 method documented.
9992 * GSDoc/gnustep.gsdoc: Fixed use of 'standards' element.
9993 * Headers/NSSerialization.h: Removed some extensions.
9994 * Headers/NSSet.h: Added some extensions for uniquing.
9995 * Source/NSCountedSet.m: Added uniquing methods and functions.
9996 * Source/NSGCountedSet.m: Added optimised uniquing methods.
9997 * Source/NSSerializer.m: Simplified uniquing code using stuff from
9998 NSCountedSet.
9999 * Testing/benchmark.m: included uniquing serialization/deserialization.
10000
10001 2000-04-14 Richard Frith-Macdonald <rfm@gnu.org>
10002
10003 * Source/mframe.m: Update to handle '-' in stack position information
10004 in type encodings.
10005 * Source/Invocation.m: ditto
10006 * Source/objc-gnu2next.m: ditto
10007 * Source/mframe/*/generic: ditto
10008
10009 2000-04-08 Adam Fedor <fedor@gnu.org>
10010
10011 * Source/NSString.m: Include NSISOLatin2StringEncoding coding.
10012 * Source/Unicode.m (encode_chartouni): Implement latin2 encoding.
10013 (encode_unitochar): Likewise. (patches from
10014 Stefan Urbanek <urbane@decef.elf.stuba.sk>).
10015
10016 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10017
10018 * Source/NSCalendarDate.m: Bugfix intialising from string.
10019
10020 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10021
10022 * Headers/gnustep/base/NSException.h: remove 'volatile' from function
10023 and method declarations - no longer supported in gcc.
10024 * Source/NSException.m: ditto
10025
10026 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10027
10028 * Tools/gdomap.c: init_probe() fix bug placing incorrect responder
10029 address in broadcast probe.
10030
10031 2000-04-02 Richard Frith-Macdonald <rfm@gnu.org>
10032
10033 * Source/NSAttributedString.m: Infinite loop fix by Fred Kiefer to
10034 ([replaceCharactersInRange:withAttributedString:])
10035
10036 2000-03-29 Richard Frith-Macdonald <rfm@gnu.org>
10037
10038 * Source/NSUserDefaults.m: typo reported by karl@nfox.com fixed.
10039
10040 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10041
10042 * Source/NSDictionary.m: Fix to avoid crash on being asked to init
10043 with contents of a nil dictionary.
10044
10045 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10046
10047 * Headers/gnustep/base/NSRunLoop.h: Added event type for exceptional
10048 conditions on a file descriptor and removed obsolete methods.
10049 * Source/NSRunLoop.m: Added support for monitoring for exceptional
10050 conditions on a file descriptor and removed obsolete methods for
10051 handling file descriptors.
10052
10053 2000-03-26 Richard Frith-Macdonald <rfm@gnu.org>
10054
10055 * NSTimeZones/NSTimeZones.tar: Updated to latest information
10056 available from elsie.nci.nih.gov
10057
10058 2000-03-25 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
10059
10060 * Source/NSUser.m: Added new MacOS X function,
10061 NSSearchPathForDirectoriesInDomains()
10062 * Headers/gnustep/base/NSPathUtilities.h: Added prototype and
10063 argument definitions for the above function.
10064
10065 2000-03-23 Adam Fedor <fedor@gnu.org>
10066
10067 * Source/....m: include config.h
10068 * Tools/*.m: Likewise.
10069 * Headers/gnustep/base/preface.h.in: Implement VASPRINTF_LENGTH
10070 when vasprintf does not return length.
10071
10072 2000-03-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
10073
10074 * Source/NSString.m: ([-initWithFormat:arguments:]) added
10075 implementation using vasprintf() to avoid stack problems.
10076 * Headers/gnustep/base/preface.h.in: added VASPRINT_* definitions.
10077
10078 2000-03-23 Richard Frith-Macdonald <rfm@gnu.org>
10079
10080 NSNumber - more extensive rewrite/optimisation ...
10081 * Headers/gnustep/base/NSValue.h: simplified
10082 * Source/NSNumber.m: Implemented efficient abstract methods and
10083 improved caching.
10084 * Source/NSConcreteNumber.m: More efficient implementations including
10085 some previously missing methods.
10086
10087 2000-03-23 Adam Fedor <fedor@gnu.org>
10088
10089 * configure.in: Check for vasprintf function
10090 * config/config.vasprintf.c: New file.
10091
10092 2000-03-22 Richard Frith-Macdonald <rfm@gnu.org>
10093
10094 NSNumber optimisation ...
10095 * Headers/gnustep/base/NSValue.h: Added a couple of GNUstep specific
10096 functions for obtaining cached information about methods of NSNumber
10097 subclasses and hashes of small integer values.
10098 * Source/NSNumber.m: Added caches for small integer numbers and for
10099 booleans. Also added caching mechamism for methods and order info
10100 for NSNumber concrete subclasses.
10101 * Source/NSConcreteNumber.m: Added support for much more efficient
10102 compare and fast hash for small integers.
10103
10104 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10105
10106 * Source/NSUserDefaults.m: ([-description]) implemented.
10107 * Source/NSArray.m: ([-descriptionWithLocale:indent:]) put space
10108 after comma even when doing unformatted description.
10109 * Source/NSDictionary.m: ([-descriptionWithLocale:indent:]) put space
10110 after semicolon and around equals even when doing unformatted
10111 description. Don't sort array items in unformatted description.
10112
10113 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10114
10115 * Source/NSGAttributedString.m: ([setAttributes:range:]) make sure
10116 attributes are set when old range starts at start of new range.
10117
10118 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10119
10120 * Tools/gdomap.c: Become an unpriveliged user after binding to
10121 port 538 (for which we need to be root). This should relieve
10122 some security considerations.
10123
10124 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10125
10126 * Source/NSNumber.m: Added private methods from concrete class.
10127
10128 2000-03-17 Adam Fedor <fedor@gnu.org>
10129
10130 * Documentation/coding-standards.tmpl.texi: Update
10131
10132 2000-03-17 Richard Frith-Macdonald <rfm@gnu.org>
10133
10134 Changed so that property lists are output in a compact form when
10135 no locale is supplied.
10136 * Documentation/gsdoc/NSObject.gsdoc: Added documentation of the
10137 various description methods.
10138 * GSDoc/gsdoc.m: Bugfixes for text in descriptions.
10139 * Headers/gnustep/base/NSObject.h: Updated description methods
10140 * Source/NSArray.m: Updated to be closer to MacOS description.
10141 * Source/NSDictionary.m: ditto.
10142 * Source/NSGCString.m: ditto.
10143 * Source/NSGString.m: ditto.
10144 * Source/NSObject.m: added more description methods.
10145 * Tools/defaults.m: updated to use locale.
10146 * Tools/dread.m: ditto.
10147 * Tools/pldes.m: ditto.
10148
10149 Fri Mar 17 07:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10150
10151 * Source/NSGString.m: Add checks to safely (and more efficiently)
10152 handle deletion and insertion of zero-length ranges.
10153 * Source/NSGCString.m: ditto.
10154
10155 Thu Mar 16 11:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10156
10157 * Source/NSRange.m: NSRangeFromString() bugfix by karl@nfox.com
10158 * Source/NSData.m: ([-hash]) new implementation by karl
10159
10160 Sat Mar 11 21:04:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10161
10162 * GSDoc/gsdoc.m: Updated for recent version of xml library.
10163
10164 Fri Mar 10 10:45:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10165
10166 * GSDoc/gsdoc-0_6_5.dtd: Altered to add standard conformance to
10167 individual methods and to make standards rigorous.
10168 * GSDoc/gsdoc.m: Updated for changes to dtd.
10169
10170 Thu Mar 09 18:07:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10171
10172 * Source/NSAttributedString.m: Varius bugfixes.
10173 * Source/NSGAttributedString.m: ditto.
10174
10175 2000-03-07 Adam Fedor <fedor@gnu.org>
10176
10177 * configure.in: Remove obsolete header checks for Time class.
10178
10179 Wed Mar 08 07:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10180
10181 * Source/NSAttributedString.m: Bugfix by fred Kiefer for extending
10182 attributes. Related bugfixes by me, plus tidying up.
10183
10184 2000-03-06 Adam Fedor <fedor@gnu.org>
10185
10186 * config.guess: Better guess of NetBSD systems.
10187
10188 Sat mar 04 10:08:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10189
10190 * Tools/Makefile.postamble: improved messages about gdomap installation.
10191
10192 Mon Feb 28 15:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10193
10194 * GSDoc: Added GSDoc subdirectory to contain tool for converting gsdoc
10195 documentation to HTML format.
10196 * Documentation/gsdoc: Added skeleton documentation for the
10197 OpenStep/MacOS-X foundation classes in the gsdoc subdirectory.
10198
10199 Sun Feb 27 08:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10200
10201 * Headers/gnustep/base/NSPortMessage.m: use separate ivars for ports.
10202 * Source/NSPortMessage.m: modified to use separate ivars for send and
10203 receive ports so that we can easily pass mutable array for send.
10204
10205 Fri Feb 25 12:56:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10206
10207 * Source/NSPort.m: provide default implementations for methods dealing
10208 with adding connections to run loop.
10209 * Source/NSRunLoop.m: Check to see if ports have been invalidated and
10210 remove them from run loop if they have.
10211
10212 Thu Feb 24 21:05:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10213
10214 * Source/NSBundle.m: ([-initWithPath:]) added code suggested by
10215 jagapen@whitewater.chem.wisc.edu to handle relative paths.
10216 * Source/NSObject.m: Added catagory of 'Object' so that containers
10217 can safely hold non-NSObject descended objects.
10218
10219 Thu Feb 24 15:55:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10220
10221 * Source/TcpPort.m: Removed some unused code.
10222 * Source/GSTcpPort.m: Added new port implementation - non-functional
10223 as yet, but it represents quite a bit of work so I thought I'd put
10224 it somewhare safe from my hard disk crashing.
10225
10226 Thu Feb 24 08:30:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10227
10228 * Source/NSUser.m: NSOpenStepRootDirectory() use GNUSTEP_ROOT
10229
10230 Tue Feb 22 15:03:46 2000 Nicola Pero <n.pero@mi.flashnet.it>
10231
10232 * Headers/Foundation/NSPort.h: Fixed typo: changed `@class
10233 NSArray` to `@class NSMutableArray` to make it compile.
10234
10235 Tue Feb 22 07:31:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10236
10237 * Tools/gdomap.c: Reinstated '-p' flag to disable probes and added
10238 code to do probes by broadcast to the local network rather than by
10239 probing machines individually if possible.
10240
10241 2000-02-20 Matthias Klose <doko@cs.tu-berlin.de>
10242
10243 * Tools/gdomap.c (main): Add -I <file> option to write the pid to.
10244
10245 Mon Feb 21 13:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10246
10247 * Source/NSRunLoop.m: Use sel_eq() for selector comparison so that
10248 we are guaranteed to match correctly when removing actions from the
10249 runloop.
10250
10251 Fri Feb 6 14:54:00 2000 Manuel Guesdon <mguesdon@sbuilders.com>
10252
10253 * Source/NSCalendarDate.m: handle nil and empry string in
10254 -initWithString:calendarFormat:locale:
10255 * ChangeLog: Replace 1999 by 2000 for last modifications :-)
10256
10257 Fri Feb 4 17:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10258
10259 * Source/NSPortNameServer.m: New methods for use by NSConnection
10260 * Foundation/NSPortNameServer.h: ditto
10261 * Source/NSConnection.m: Tidied a little and added ([-registerName:])
10262 * Source/NSConnection.h: ditto
10263
10264 2000-02-17 Adam Fedor <fedor@gnu.org>
10265
10266 * Version: 0.6.5 released.
10267
10268 2000-02-16 Adam Fedor <fedor@gnu.org>
10269
10270 * gnustep-base.spec: Newfile
10271
10272 Wed Feb 16 06:28:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10273
10274 * Source/NSAssertionHandler.m: Applied patch by David relson to change
10275 output format for function assertions, fixed error in format string,
10276 and made similar changes for method assertions.
10277
10278 2000-02-14 Adam Fedor <fedor@gnu.org>
10279
10280 * Version: Update version number
10281 * Documentation/announce.tmpl.texi: Update
10282 * Documentation/readme.tmpl.texi: Likewise.
10283 * Documentation/news.tmpl.texi: Likewise.
10284 * Documentation/todo.tmpl.texi: Likewise.
10285 * ANNOUNCE, BUGS, NEWS, README: Regenerate
10286
10287 Fri Feb 11 06:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10288
10289 * Source/NSZone.m: Tidied indentation etc to GNU style.
10290
10291 Thu Feb 10 23:01:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10292
10293 * Source/NSDebug.m: Patch by David Relson to change memory allocation
10294 report and add thread-safety. Modified by me to automatically use
10295 locking if necessary, to tidy up, and to fix a couple of bugs in
10296 lock/unlock sequencing. All new stuff - but since the previous
10297 version was completely unusable in a multithreaded environment I
10298 don't think we are running any risk by adding this here.
10299
10300 Thu Feb 10 15:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10301
10302 Changes to fix possible crashes where task completion notifications
10303 are sent at inappropriate times due to SIGCHLD.
10304 * Source/NSTask.m: Move signal handler code to GSChecktasks() and
10305 have the signal handler simply set a flag to say work needs doing.
10306 * Source/NSRunLoop.m: Add calls to GSCheckTasks() so that we notice
10307 the death of a child.
10308
10309 Thu Feb 10 14:13:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10310
10311 * Source/UnixFileHandle.m: ([-receivedEvent:type:extra: forMode:])
10312 fix so that incoming connections are closed when their file handle
10313 is deallocated.
10314
10315 Thu Feb 10 9:34:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10316
10317 * Headers/gnustep/base/preface.h.in: Added tests to see if _C_LNG_LNG
10318 and _C_ULNG_LNG are defined in the objc compiler headers and, if not,
10319 define them. Long long support was added in gcc 2.8 (minimum
10320 compiler version recommended for GNUstep), but the defines were
10321 missing from the headers :-(
10322 * Source/NSArchiver.m: Remove conditional compile for long long stuff.
10323 * Source/NSData.m: ditto
10324 * Source/NSUnarchiver.m: ditto
10325 * Source/mframe.m: ditto
10326
10327 2000-02-09 Adam Fedor <fedor@gnu.org>
10328
10329 * Documentation/gnustep-base.tmpl.texi: Update.
10330 * Documentation/news.tmpl.texi: Likewise.
10331 * Documentation/readme.tmpl.texi:Likewise.
10332
10333 * Headers/gnustep/base/NSObjCRuntime.h: Include preface for stdargs.
10334
10335 Wed Feb 9 17:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10336
10337 * Headers/gnustep/base/NSObjCRuntime.h: fix for header dependencies.
10338 * Headers/gnustep/base/Unicode.h: ditto
10339 * Source/NSDebug.m: ditto
10340
10341 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10342
10343 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) fix handling
10344 of notifications in idle queue.
10345
10346 2000-02-08 Adam Fedor <fedor@gnu.org>
10347
10348 * config.guess: New version
10349 * config.sub: Likewise.
10350
10351 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10352
10353 * Source/NSArray.m: Move ([writeToFile:atomically:]) from mutable
10354 array to array code.
10355
10356 Tue Feb 8 12:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10357
10358 * Source/Foundation/HSConfig.h.in: Added some GC macros
10359 * Source/NSData.m: Attempt to remove temporary file if an atomic
10360 write attempt fails.
10361
10362 Sat Feb 5 8:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10363
10364 * Source/Foundation/NSDebug.h: Add missing function prototype -
10365 Patch by David Relson <relson@expressgate.net>
10366
10367 2000-01-27 Adam Fedor <fedor@gnu.org>
10368
10369 * Tools/gdomap.c (init_iface): Check to see if an
10370 interface is up (using SIOCGIFFLAGS), and then get the address
10371 information before checking whether the address is in the AF_INET
10372 family (patch from Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>).
10373
10374 Sun Jan 16 9:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10375
10376 Moved objc-load.c to objc-load.m and filnd-exec.c to find-exec.m
10377 Added logging functions to objc-load.m so that logging can be
10378 enabled at runtime using --GNU-Debug=NSBundle
10379
10380 Sun Jan 9 15:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10381
10382 * Source/NSGAttributedString.m: ([-attributesAtIndex:effectiveRange:])
10383 fixed illegal parameter - reported by jagapen@whitewater.chem.wisc.edu
10384
10385 Wed Jan 5 16:22:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10386
10387 * Source/NSData.m: when serializing selectors, cope with untyped
10388 selectors instead of crashing.
10389
10390 Wed Jan 5 14:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10391
10392 * Source/NSTimeZone.m: Changed order of lookup to determine the local
10393 timezone:
10394 1. User defaults with key 'Local Time Zone'
10395 2. GNUSTEP_TZ environment variable
10396 3. $GNUSTEP_SYSTEM_ROOT/Libraries/Resources/NSTimeZones/localtime
10397 4. TZ environment variable
10398 5. Use UTC
10399 This means that the TZ environment variable can now safely be used for
10400 non-GNUstep timezones as long as GNUSTEP_TZ is defined (or a localtime)
10401 file exists.
10402
10403 Wed Jan 5 10:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10404
10405 * NSTimeZones/NSTimeZones.tar: Made a revised set of timezones with
10406 timezone names offset from GMT corresponding to common usage
10407 (as in OPENSTEP) rather than strict Posix interpretation.
10408 Also added detailed instructions to the README file and added a
10409 small makefile to build the abbreviations/regions tools.
10410
10411 Tue Jan 4 22:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10412
10413 * Source/NSCalendarDate.m: ([-yearOfCommonEra]) fix rounding error.
10414
10415 Tue Dec 21 13:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10416
10417 Fixes suggested by karl@nfox.com
10418 * Source/propList.h: Bugfix parsing larger lists.
10419 * Source/NSProcessInfo.m: Avoid use of freopen()
10420 * Source/GSeq.h: for ranges not found, return NSNotFound as the
10421 location rather than 0 - for compatibility with Apple.
10422 * NSDeserializer.m: Return nil if given nil data or an object that
10423 is not a data object.
10424
10425 1999-12-19 David Lazaro <khelekir@encomix.es>
10426
10427 * configure.in (objc_thread_lib): Added support for FreeBSD native
10428 POSIX threads (from the reentrant C library, libc_r). Made this the
10429 first option to test as this is the best working one.
10430 * configure: New build to support the above mentioned.
10431
10432 Fri Dec 17 17:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10433
10434 Fix error in last change.
10435
10436 Fri Dec 17 7:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10437
10438 * Source/NSGAttributedString.m: Patch (slightly modified) by Adam Fedor
10439 to permit setting attributes on an empty string (as a no-op).
10440
10441 Wed Dec 15 18:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10442
10443 * Source/NSHost.m: Update again - record current host name for duration
10444 of process and cache hosts keyed on the name under which they were
10445 created. This can result in multiple cache entries for the same host,
10446 but this seems to be necessary as DNS name <--> address mappings can
10447 be asymmetric.
10448 Thanks to dan@services.iiruc.ro for pointing this out.
10449
10450 Wed Dec 15 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10451
10452 * Source/Foundation/NSObject.h: dealloc notification stuff for Helge
10453 * Source/NSObject.m: dealloc notification stuff for Helge
10454
10455 Wed Dec 15 2:18:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10456
10457 * Source/UnixFileHandle.m: Chck to see if we are given a bad address.
10458 * Source/NSHost.m: major rewrite
10459
10460 Tue Dec 14 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10461
10462 * Source/NSTimeZone.m: ([+getTimeZoneFile:]) Removed misleading comment
10463 and hack.
10464 ([+timeZoneWithName:]) Fixed bug in loading timezone data file (unusual
10465 formats could cause a crash).
10466 * Source/NSScanner.m: ([-initWithString:]) fix to handle being passed
10467 a nil string (use an empty string and log an error).
10468 * NSTimeZones/NSTimeZones.tar: updated to latest info and made sure
10469 files are in the correct place.
10470
10471 Mon Dec 13 13:31:00 1999 Chris Ball <cball@fmco.com>
10472
10473 * Source/NSTimeZone.m: Replaced the original, correct comment and
10474 removed Richard's replacement incorrect comment.
10475
10476 Fri Dec 9 17:00:00 1999 Chris Ball <cball@fmco.com>
10477
10478 Sorry, I did a commit one directory to deep.
10479 * Source/NSArray.m: NSMutableArray's compared against a garbage pointer
10480 on removal. This causes real problems on SMP machines.
10481 * Source/NSGarray.m
10482 * Source/NSCalendarDate.m: DateByAddingYears lost timeZone info.
10483 InitWithString didn't deal with adjacent format specifiers.
10484 * Source/NSDate.m: addTimeInterval messed up timeZone if used with
10485 calendarDate
10486 * Source/NSLock.m: Trylock was broken and lockBeforeDate was
10487 unimplemented
10488 * Source/NSObject.m: The release code was broken for SMP machine use.
10489 * Source/NSTimeZone.m: The GMT+-** files are in the root directory on
10490 OpenStep and are in Etc/ on GNUstep so check both.
10491
10492 Mon Dec 13 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10493
10494 Fixes for cball's changes (who is cball?, and why didn't s/he produce
10495 a ChangeLog entry or conform to GNU indentation? It took me hours to
10496 tidy this up).
10497 * Source/NSDate.m: ([NSGDate -addTimeInterval:]) removed bogus
10498 implementation of method (inherits from NSDate).
10499 * Source/NSCalendarDate.m: Added implementation of ([-addTimeInterval:])
10500 with specific code for NSCalendarDate. Reformatted code to GNUstep
10501 style.
10502 * Source/NSGArray.m: ([-removeObjectIdenticalTo:]) and
10503 ([-removeObjectIdenticalTo:inRange:]) reverted to correct code.
10504 ([-removeObject:]) and ([-removeObjectIdenticalTo:inRange:]) removed
10505 changes and added fixes so that methods are safe where multiple objects
10506 equal to the object to be removed are present in the array.
10507 * Source/NSArray.m: Similar fixes for object removal.
10508 * Source/NSObject.m: Rewritten mutex code so that mutexes are not used
10509 for retain/release unless the app is multi-threaded.
10510
10511 Wed Dec 1 19:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10512
10513 * Source/NSArray.m: When sorting, treat illegal return values from the
10514 comparator the same way as OPENSTEP does, but log a warning.
10515 * Source/NSGArray.m: ditto
10516 * Source/NSDictionary.m ditto
10517
10518 Fri Nov 26 19:46:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10519
10520 * Headers/Foundation/NSString.h: Tidied and fixed return types for
10521 for a few methods.
10522 * Source/NSString.m: ditto.
10523 * Headers/NSRange.h: Added NSRangeFromString()
10524 * Source/NSRange.m: Implemented NSRangeFromString()
10525
10526 Sun Nov 21 6:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10527
10528 * Source/NSNotificationQueue.m: Applied patch by Dan Pascu to fix bug
10529 in removal of notificatiosn from queues. Also tidied indentation etc
10530 to conform to GNU standards.
10531 * Source/UnixFileHandle.m: ([-availableData]) fixed to block when no
10532 data is availabvle on a comms channel - as per spec. This bug was
10533 also reported by Dan <dan@services.iirux.ro>
10534 * Source/NSHost.m: Use inet_aton() if available.
10535
10536 1999-11-18 Adam Fedor <fedor@gnu.org>
10537
10538 * Source/GNUmakefile: Install unicode headers.
10539 * Source/Makefile.postamble: Script for doing unicode installation.
10540 (patches from Christopher Seawood <cls@seawood.org>).
10541
10542 Thu Nov 18 15:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10543
10544 * Headers/Foundation/NSPage.h: removed
10545 * Headers/Foundation/NSZone.h: incorporated NSPage.h
10546 * Source/GNUmakefile: Remove reference to NSPage.h
10547 * Source/NSZone.m: Remove reference to NSPage.h
10548
10549 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10550
10551 * Source/o_vscanf.c Reverted to earlier version - the last fix was
10552 causing distributed objects to fail! I don't know why, but DO seems
10553 more important than the bugfix - so, pending a rewrite of DO
10554 encoding/decoding to remove the dependency on the old stream code,
10555 we need to leave this as it is.
10556
10557 1999-11-09 Adam Fedor <fedor@gnu.org>
10558
10559 * Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.
10560
10561 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10562
10563 * Source/Foundation/NSDebug.h: Added NSWarnLog(), NSWarnFLog() and
10564 NSWarnMLog() macros to log warnings about potential programming errors.
10565 * Source/NSArray.m: Change to use NSWarnMLog() for warnings.
10566 * Source/NSGArray.m: ditto
10567 * Source/NSGCountedSet.m: ditto
10568 * Source/NSGDictionary.m: ditto
10569 * Source/NSGSet.m: ditto
10570
10571 Thu Nov 4 1999 Michael Hanni <mhanni@sprintmail.com>
10572
10573 * Source/NSObject.m: added FreeBSD specific code in
10574 initialization so that the FPU is intialized with the correct
10575 exception flag. This allows NSConnection to work on FreeBSD (gdnc,
10576 gdomap, gpbs.)
10577
10578 Thu Nov 4 10:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10579
10580 * Source/NSArray.m: use NSLog() to warn about attempts to remove nil.
10581 * Source/NSGArray.m: ditto
10582 * Source/NSGCountedSet.m: ditto
10583 * Source/NSGDictionary.m: ditto
10584 * Source/NSGSet.m: ditto
10585
10586 Fri Oct 29 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10587
10588 * Source/NSInvocation.m: ([-initWithTarget:selector:]) possible fix
10589 for structure arguments grabbed from varargs.
10590
10591 Tue Oct 19 11:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10592
10593 * Source/NSScanner.m: skipToNextField() - cope with a nil set of
10594 characters to be skipped.
10595
10596 Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com>
10597
10598 * Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed
10599 space character in a call to (-[NSString rangeOfString]).
10600
10601 Tue Sep 12 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10602
10603 * Source/NSConnection.m: Removed pointer cross-reference support as it
10604 provided little performance improvement and was responsible for a few
10605 bugs I've never been able to track down, and major problems if the maps
10606 at either end of the link get out of sync (which is unavoidable in some
10607 rare circumstances).
10608 * Headers/Foundation/NSConnection.h: Removed cross-reference maps
10609 * Source/ConnectedCoder.m: Removed pointer cross-reference support
10610 * Source/NSPortCoder.m: Removed pointer cross-reference support
10611
10612 Fri Sep 8 12:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10613
10614 * configure.in: Correct path to include file for checking thread support
10615 (bug reported by kai@cats.ms).
10616
10617 Tue Sep 5 11:21:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10618
10619 * Source/NSUserDefaults.m: Fix for crash when reading corrupt file.
10620 Also -added code to create ~/GNUstep directory if needed.
10621
10622 Mon Sep 4 11:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10623
10624 * Tools/gdomap.c: better debug output (hopefully)
10625
10626 Wed Sep 29 21:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10627
10628 * Source/NSData.m: More GC updates (atomic data buffer)
10629 * Source/NSGString.m: ditto
10630 * Source/NSGCString.m: ditto
10631 * Source/NSObject.m: More GC updates
10632 * Source/NSZone.m: ditto
10633 * Source/mframe.m: ditto
10634 * Source/objc-gnu2next.m: ditto
10635 * Headers/Foundation/GSIMap.h: ditto
10636
10637 Tue Sep 28 20:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10638
10639 * Source/NSArray.m: Tidy for GC stuff
10640 * Source/NSAttributedString.m: ditto
10641 * Source/NSCallBacks.m: ditto
10642 * Source/NSConnection.m: ditto
10643 * Source/NSData.m: ditto
10644 * Source/NSDateFormatter.m: ditto
10645 * Source/NSFileManager.m: ditto
10646 * Source/NSGArray.m: ditto
10647 * Source/NSGCountedSet.m: ditto
10648 * Source/NSGDictionary.m: ditto
10649 * Source/NSGSet.m: ditto
10650 * Source/NSInvocation.m: ditto
10651 * Source/NSNotificationCenter.m: ditto
10652 * Source/NSObject.m: ditto
10653 * Source/NSPortNameServer.m: ditto
10654 * Source/NSProcessInfo.m: ditto
10655 * Source/NSRunLoop.m: ditto
10656 * Source/NSScanner.m: ditto
10657 * Source/NSString.m: ditto
10658 * Source/NSTimeZone.m: ditto
10659 * Source/NSUnarchiver.m: ditto
10660 * Source/NSUndoManager.m: ditto
10661 * Source/NSUserDefaults.m: ditto
10662 * Source/TcpPort.m: ditto
10663 * Source/propList.h: ditto
10664
10665 Tue Sep 28 11:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10666
10667 * Source/NSArray.m: ([+allocWithZone:]) tiny optimisation.
10668 * Source/NSCountedSet.m: Some optimisation.
10669 * Source/NSTask.m: implement ([-interrupt]) to send SIGINT.
10670 * Source/NSUserDefaults.m: ([-searchList]) return constant array.
10671 Various tidying up and optimisations.
10672 ([-persistentDomainForName:]) fixed memory leak.
10673 ([-volatileDomainForName:]) return constant dictionary.
10674 ([-setPersistentDomain:forName:]) make mutable copy.
10675 ([-setVolatileDomain:forName:]) ditto
10676 * Source/NSObject.m: GC tweaks
10677 * Source/NSZone.m: added zone for atomic GC
10678 * Headers/Foundation/NSZone.h: added zone GSAtomicMallocZone()
10679 * Headers/Foundation/GSIArray.h: Remove special case for zero zone
10680 * Headers/Foundation/GSIMap.h: ditto.
10681
10682 Tue Sep 28 5:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10683
10684 * Source/NSTask.m: ([_collectChiled]) bugfix suggested by karl@nfox.com
10685
10686 Mon Sep 27 21:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10687
10688 * Source/NSScanner.m: Fix error introduced into skipToNextField() macro
10689 my my last rewrite - sorry. Thanks to N. Pero for narrowing down the
10690 problem to a level where I could locate it.
10691 * Source/NSGeometry.m: optimised.
10692
10693 1999-09-24 Adam Fedor <fedor@gnu.org>
10694
10695 * configure.in: Add check for Objective-C headers.
10696
10697 Thu Sep 23 20:09:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10698
10699 * Source/Invocation.m: VARARGS fix by ani joshi <ajoshi@wam.umd.edu>
10700
10701 Tue Sep 21 20:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10702
10703 * Headers/Foundation/NSPortNameServer.h: Tidied and removed a few ivars.
10704 * Source/NSPortNameServer.m: Rewritten to be a bit clearer and to
10705 permit parallel lookup on multiple hosts.
10706
10707 Sun Sep 19 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10708
10709 * NSString.m: Fix bug in ([+stringByStandardizingPath]) with trailing
10710 slash.
10711
10712 Thu Sep 16 19:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10713
10714 Change request from Helge
10715 * Source/externs.m: added NSNonRetainedObjectMapValueCallBacks
10716 * Headers/Foundation/NSMapTable.h: ditto.
10717
10718 Thu Sep 16 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10719
10720 Changes to minimise naming conflicts by making sure that all ivars
10721 of public classes are prefixed with a underscore.
10722 * Headers/Foundation/NSArchiver.h: prefix ivars with underscore and tidy
10723 * Headers/Foundation/NSArray.h: ditto
10724 * Headers/Foundation/NSAttributedString.h: ditto
10725 * Headers/Foundation/NSAutoreleasePool.h: ditto
10726 * Headers/Foundation/NSBitmapCharSet.h: ditto
10727 * Headers/Foundation/NSBundle.h: ditto
10728 * Headers/Foundation/NSCharacterSet.h: ditto
10729 * Headers/Foundation/NSCoder.h: ditto
10730 * Headers/Foundation/NSData.h: ditto
10731 * Headers/Foundation/NSDate.h: ditto
10732 * Headers/Foundation/NSDateFormatter.h: ditto
10733 * Headers/Foundation/NSDictionary.h: ditto
10734 * Headers/Foundation/NSDistantObject.h: ditto
10735 * Headers/Foundation/NSDistributedLock.h: ditto
10736 * Headers/Foundation/NSDistributedNotificationCenter.h: ditto
10737 * Headers/Foundation/NSException.h: ditto
10738 * Headers/Foundation/NSFileHandle.h: ditto
10739 * Headers/Foundation/NSFileManager.h: ditto
10740 * Headers/Foundation/NSGAttributedString.h: ditto
10741 * Headers/Foundation/NSHost.h: ditto
10742 * Headers/Foundation/NSInvocation.h: ditto
10743 * Headers/Foundation/NSLock.h: ditto
10744 * Headers/Foundation/NSMethodSignature.h: ditto
10745 * Headers/Foundation/NSNotification.h: ditto
10746 * Headers/Foundation/NSNotificationQueue.h: ditto
10747 * Headers/Foundation/NSPort.h: ditto
10748 * Headers/Foundation/NSPortMessage.h: ditto
10749 * Headers/Foundation/NSPortNameServer.h: ditto
10750 * Headers/Foundation/NSProtocolChecker.h: ditto
10751 * Headers/Foundation/NSScanner.h: ditto
10752 * Headers/Foundation/NSSet.h: ditto
10753 * Headers/Foundation/NSTask.h: ditto
10754 * Headers/Foundation/NSURL.h: ditto
10755 * Headers/Foundation/NSURLHandle.h: ditto
10756 * Headers/Foundation/NSUndoManager.h: ditto
10757 * Headers/Foundation/NSUserDefaults.h: ditto
10758 * Source/NSArchiver.m: ditto
10759 * Source/NSAutoreleasePool.m: ditto
10760 * Source/NSBitmapCharSet.m: ditto
10761 * Source/NSCalendarDate.m: ditto
10762 * Source/NSDate.m: ditto
10763 * Source/NSDateFormatter.m: ditto
10764 * Source/NSDistantObject.m: ditto
10765 * Source/NSDistributedLock.m: ditto
10766 * Source/NSDistributedNotificationCenter.m: ditto
10767 * Source/NSException.m: ditto
10768 * Source/NSFileManager.m: ditto
10769 * Source/NSGAttributedString.m: ditto
10770 * Source/NSGSet.m: ditto
10771 * Source/NSHost.m: ditto
10772 * Source/NSInvocation.m: ditto
10773 * Source/NSLock.m: ditto
10774 * Source/NSMethodSignature.m: ditto
10775 * Source/NSNotificationCenter.m: ditto
10776 * Source/NSNotificationQueue.m: ditto
10777 * Source/NSPort.m: ditto
10778 * Source/NSPortMessage.m: ditto
10779 * Source/NSPortNameServer.m: ditto
10780 * Source/NSProtocolChecker.m: ditto
10781 * Source/NSScanner.m: ditto
10782 * Source/NSTask.m: ditto
10783 * Source/NSURL.m: ditto
10784 * Source/NSURLHandle.m: ditto
10785 * Source/NSUndoManager.m: ditto
10786 * Source/NSUserDefaults.m: ditto
10787 * Source/Port.m: ditto
10788 * Source/TcpPort.m: ditto
10789 * Source/UdpPort.m: ditto
10790
10791 Tue Sep 14 20:44:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10792
10793 * Source/NSArray.m: Huge amounts of optimisation.
10794 Memory leak fixed in ([-initWithFile:]).
10795 * Source/NSGArray.m: Optimisations of less-used methods, including
10796 implementation of fast enumerators.
10797
10798 Tue Sep 14 15:11:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10799
10800 * Source/NSTimer.m: minor optimisations
10801 * Headers/NSRunLoop.h: modification for optimisation of performers
10802 * Source/NSRunLoop.m: minor optimisations, plus bugfix for performers
10803 (was removing performers after they had been fired - shouldn't).
10804
10805 Mon Sep 13 6:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10806
10807 Miscellaneous minor bugfixes plus,
10808 * Source/NSDate.m: Year 2001 bug fixed - had silly assertion in
10809 generation of time interval since reference date for current time.
10810 * Source/NSScanner.m: optimised (well, mostly).
10811 * Headers/Foundation/NSScanner.h: update for optimisatio).
10812
10813 Sun Sep 12 20:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10814
10815 * Source/NSDictionary.m: optimise by avoiding objc method lookup
10816 overheads wherever possible.
10817 * Source/NSGDictionary.m: likewise.
10818
10819 Fri Sep 3 11:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10820
10821 * Source/NSString.m: speed up path handling a bit by caching
10822 method for testing for path separators - also fixed appending
10823 of path extensions and components to be according to spec.
10824
10825 Sat Aug 21 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10826
10827 * Tools/gdomap.c: Fix for probing for other gdomap processes on the
10828 net.
10829
10830 1999-08-19 Michael Hanni <mhanni@sprintmail.com>
10831
10832 * Source/NSObjCRuntime.m: patch from Tim Bissell to help in
10833 debugging. (show which non-existant ivar you wanted.)
10834
10835 1999-09-07 Adam Fedor <fedor@gnu.org>
10836
10837 * Version: 0.6.0
10838
10839 * configure.in: Add test for solaris libraries, freebsd threads.
10840 * Source/mframe/config.guess: Update to latest version
10841 * Source/mframe/config.sub: Likewise.
10842
10843 Sun Sep 5 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10844
10845 * config/config_thread.m: new file
10846 * configure.in: Update to check to see if obc runtime uses threads
10847 so that we can include the thread library if necessary - and later
10848 onbjc tests won't all fail on threaded systems.
10849 Also - force use of fake-main stuff on bsd systems.
10850 * Source/NSProcessInfo.m: Remove bsd workaround - didn't work.
10851
10852 1999-08-29 Michael Hanni <mhanni@sprintmail.com>
10853
10854 * Source/NSObjCRuntime.m: added a patch from Tim Bissell
10855 <tim.bissell@dresdnerkb.com>. Adds better debugging information
10856 for non-existent ivars.
10857
10858 Sat Sep 4 6:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10859
10860 Various process-info related bugfixes.
10861 * Source/NSBundle.m: Use arguments list for argv[0] for full path.
10862 * Source/NSLog.m: use processName directly in log.
10863 * Source/NSProcessInfo.m: Fix process name to be last path component
10864 of argv[0], and add workaround for buggy /proc filesystems that
10865 append a newline to arguments.
10866 * Source/NSUserDefaults.m: use processName directly for domain name.
10867
10868 Thu Sep 2 9:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10869
10870 * Source/NSTask.m: exec process with argv[0] set to full path of
10871 the executable rather than just the program name.
10872
10873 Tue Aug 31 15:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10874
10875 * Source/NSTimer.m: Set minimum timeout to 0.01s rather than 1.0s.
10876 This seems a more reasonable value - a 1 second delay is too big.
10877
10878 1999-08-29 Adam Fedor <fedor@gnu.org>
10879
10880 * Source/NSLog.m (_NSLog_standard_printf_handler): Use
10881 cStringLength.
10882
10883 Wed Aug 25 15:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10884
10885 Fixes for memory leaks in parsing property lists.
10886 * Source/propList.h: release new strings asap
10887 * Source/NSString.m: autorelease value returned by parsing plists.
10888 * Source/NSGString.m: ditto.
10889 * Source/NSGCString.m: ditto.
10890
10891 Wed Aug 25 11:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10892
10893 * Source/Makefile.postamble: Added rules to build some files without
10894 optimisation, to avoid optimiser breaking them.
10895
10896 1999-08-23 Pedro Ivo Andrade Tavares <ptavares@iname.com>
10897
10898 * Headers/gnustep/base/NSByteOrder.h: changed the NSByteStore struct
10899 to comply to Mac OS X documentation.
10900
10901 1999-08-22 Adam Fedor <fedor@gnu.org>
10902
10903 * Documentation/gnustep-base.tmpl.texi: New with GNUstep specific
10904 documentation.
10905 * Documentation/news.tmpl.texi: update
10906
10907 Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10908
10909 * NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications
10910 even when no idle notifications are waiting.
10911
10912 Thu Aug 19 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10913
10914 * Source/NSCalendarDate.m: Various memory-leak fixes.
10915 * Source/NSTimeZone.m: Various memory leak fixes.
10916
10917 Sat Aug 7 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10918
10919 * Testing/tcpport-server.m: fixes to work with NSNotificationCenter.
10920
10921 1999-08-10 Adam Fedor <fedor@gnu.org>
10922
10923 * configure.in: Move objc_conditioned_wait test so it gets proper
10924 LIBS setup
10925 * Source/mframe/configure: Regenerate using autoconf 2.13
10926
10927 1999-08-08 Adam Fedor <fedor@gnu.org>
10928
10929 * Source/NSPort.m (-sendBeforeDate:): Change return type to BOOL
10930 as per the spec.
10931 * Source/NSPortMessage.m: Likewise. (patch from
10932 Pedro Ivo Andrade Tavares <ptavares@iname.com>).
10933
10934 * configure.in: Rewrite +load method test.
10935
10936 1999-08-08 Manuel Guesdon <mguesdon@sbuilders.com>
10937
10938 * Source/NSGString.m (stringIncrementCountAndMakeHoleAt and stringDecrementCountAndFillHoleAt):
10939 Added a test for null length/size.
10940 Added NSCAssert on index/size/count/capacity
10941
10942 1999-08-05 Adam Fedor <fedor@gnu.org>
10943
10944 * Source/NSLock.m ([NSConditionLock -lockWhenCondition:beforeDate:]):
10945 Implement (Patch from Patrick Stein <jolly@jinx.de>).
10946 * configure.in: Check for objc_condition_timewait.
10947
10948 * Source/NSString.m (-initWithFormat:arguments:): Don't advance
10949 vsprintf arguments on powerpc.
10950
10951 * Source/mframe/powerpc/linux-gnu (MFRAME_ARG_ENCODING): Fix
10952 alignment of small structures.
10953
10954 * many files: Changed FSF mailing address
10955
10956 Fri Aug 6 13:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10957
10958 Portability fixes for compilers that don't leave enough space in an
10959 NXConstantString object for the _hash ivar of NSGCString.
10960 * Source/NSGCString.m: don't use _hash ivar of NXConstantString.
10961 * Source/NSGString.m: don't use _hash ivar of NXConstantString.
10962 * Source/Foundation/NSString.h: Add warning comment about the ivar
10963 layout for NXConstantString.
10964
10965 Thu Aug 5 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10966
10967 * Tools/gdomap.c: prb_add() maintain server info in date order.
10968 prb_del() removed, bugfixes to notice when a server dies.
10969
10970 Tue Aug 3 12:36:54 1999 Adam Fedor <fedor@ultra.doc.com>
10971
10972 * Source/NSInvocation.m (-initWithTarget:selector:): Hack for
10973 sparc and ppc machines to align structs on word boundaries.
10974 * mframe/sparc/solaris2.6: New file with fix for putting small
10975 structures at correct offset.
10976
10977 Mon Aug 2 8:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10978
10979 * Source/propList.h: parseQuotedString() fix for parsing octal escape
10980 sequences - hope it's right now.
10981
10982 Sun Aug 1 7:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10983
10984 * Source/NSBundle.m: ([+localizedStringForKey:value:table:]) Fixed so
10985 that debugging behavior only takes place when NSShowNonLocalizedStrings
10986 default is 'YES'.
10987
10988 1999-07-29 Adam Fedor <fedor@gnu.org>
10989
10990 * config.guess: Updated from latest version + fix for Netwinder.
10991 * config.sub: Likewise.
10992
10993 * Headers/gnustep/base/Foundation.h: Include NSPage.h
10994 * Headers/gnustep/base/NSPortCoder.h: Remove ref to Port.h
10995
10996 Wed Jul 28 15:53:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10997
10998 * Source/NSObject.m: ([+isKindOfClass:]) Fixed to return NO except
10999 when both the argument and the receiver are NSObject - as specified
11000 in the MacOS-X documentation. Thanks to Helge for pointing this out.
11001
11002 Mon Jul 26 21:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11003
11004 Fix cStrings to use unsigned char throughout - to avoid problems
11005 with character sets other than ascii. Suggested by Kai Henningsen.
11006 * Headers/Foundation/NSGCString.h: Use unsigned chars.
11007 * Source/NSGCString.m: Use unsigned chars.
11008 * Source/GSeq.h: Use unsigned chars.
11009 * Source/propList.h: Use unsigned chars.
11010
11011 Fri Jul 23 22:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11012
11013 * Source/UnixFileHandle.m: Tidy a little and make sure that
11014 non-blocking mode is reset when a descriptor is closed.
11015 * Source/NSPortNameServer.mL Fixed error in lookup when host name
11016 is specified.
11017
11018 Thu Jul 22 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11019
11020 * Source/NSTimeZone.m: ([-initWithOffset:]) bugfix by Kai Henningsen
11021 * acconfig.h: Removed old libc method of getting NSProcessInfo stuff.
11022 * aclocal.m4: Removed old libc method of getting NSProcessInfo stuff.
11023 * configure.in: Added new '/proc' method of getting NSProcessInfo stuff
11024 by Nico Pero, with modifications and --enable-fake-main
11025 * Headers/GSConfig.h.in: New NSProcessInfo stuff
11026 * Headers/NSObject.h: Remove fake-main include - use GSConfig.h
11027 * Headers/config.h.in: Remove fake-main include - use GSConfig.h
11028 * Headers/preface.h.in: Remove fake-main include - use GSConfig.h
11029 * Source/GNUmakefile: Remove fake-main.h
11030 * Source/Makefile.postamble: NSProcessInfo.o depends on GSConfig.h
11031 * Source/NSLog.m: Bugfix - set up pointer to log function.
11032 * Source/NSProcessInfo.m: Remove old hack for getting process info
11033 and add new '/proc' method, along with improvements to the fake-main
11034 mechanism.
11035
11036 Tue Jul 20 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11037
11038 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
11039 updated to get default format and locale info.
11040
11041 Tue Jul 20 10:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11042
11043 * Source/NSString.m: Update code for standardising paths - now
11044 conforms to MacOS-X spec (more or less).
11045
11046 Thu Jul 15 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11047
11048 * Headers/Foundation/NSURL.h: Tidied
11049 * Headers/Foundation/NSURLHandle.h: Tidied
11050 * Headers/Foundation/Foundation.h: inlcude NSURL.h and NSURLHandle.h
11051
11052 Wed Jul 14 20:19:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11053
11054 * Source/NSThread.m: Make sure that a thread retains the target object
11055 and argument of the method with which it is detached.
11056 * Testing/diningPhilosophers.m: Fixed bug - was passing non NSObject
11057 argument.
11058
11059 Wed Jul 14 16:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11060
11061 * Source/NSAttributedString.m: Fixed ([allocWithZone:]) so that
11062 subclasses should work correctly.
11063
11064 Wed Jul 14 10:32:17 1999 Adam Fedor <fedor@ultra.doc.com>
11065
11066 * Testing/Makefile.preamble: Fix include path the headers.
11067 Other testing fixes
11068
11069 Tue Jul 13 17:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11070
11071 * Source/NSUser.m: Implemented NSStandardApplicationPaths(),
11072 NSStandardLibraryPaths(), and GSStandardPathPrefixes().
11073
11074 Mon Jul 12 5:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11075
11076 * Source/NSString.m: Bugfixes in ([stringByStandardizingPath:])
11077 as suggested by Pascal Bourguignon. Also fix to do substitutions
11078 throughout path, also use realpath() for resolving links if possible.
11079 * configure.in: Check for realpath()
11080
11081 Sat Jul 10 13:52:20 1999 Adam Fedor <fedor@ultra.doc.com>
11082
11083 * Makefile.postamble: Create Foundation link in Source directory
11084 * Source/Makefile.postamble: Remove link to Foundation
11085 (work around bug in make?)
11086
11087 Thu Jul 8 22:21:54 1999 Adam Fedor <fedor@ultra.doc.com>
11088
11089 * Changes for new directory layout.
11090 * Makefile.postamble: Link Foundation from gnustep/base
11091 * configure.in: Change location of generated include files.
11092 * Source/mframe/configure.in: Change mframe.h location.
11093 * Tools/Makefile.preamble: Change base header locations.
11094 * Source/Makefirl.postamble: Likewise.
11095
11096 Sat Jul 3 21:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11097
11098 * Source/NSCallBacks.m: Changes for garbage collection.
11099 * Source/NSDateFormatter.m: ditto.
11100 * Source/NSDictionary.m: ditto.
11101 * Source/NSDistributedLock.m: ditto.
11102 * Source/NSDistributedNotificationCenter.m: ditto.
11103 * Source/NSGArray.m: ditto.
11104 * Source/NSGCString.m: ditto.
11105 * Source/NSGCountedSet.m: ditto.
11106 * Source/NSGDictionary.m: ditto.
11107 * Source/NSGSet.m: ditto.
11108 * Source/NSHost.m: ditto.
11109 * Source/NSInvocation.m: ditto.
11110 * Source/NSNotification.m: ditto.
11111 * Source/NSProtocolChecker.m: ditto.
11112 * Source/NSScanner.m: ditto.
11113 * Source/NSSerializer.m: ditto.
11114 * Source/NSSet.m: ditto.
11115 * Source/NSData.m: ditto.
11116 * Source/NSPortNameServer.m: ditto.
11117 * Source/NSUndoManager.m: ditto.
11118 * Source/NSURL.m: ditto.
11119
11120 Fri Jul 2 14:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11121
11122 * Source/GSeq.h: Fix boundary error when searching for string in
11123 string.
11124 * Source/NSString.m: Don't allocate contents for string with 0 length.
11125 * Source/NSGString.m: ditto
11126 * Source/NSGCString.m: ditto
11127
11128 Fri Jul 2 8:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11129
11130 * Source/NSUnarchiver.m: In designated initialiser, catch exceptions
11131 and deallocate self before re-throwing in order to prevent memory
11132 leak.
11133
11134 Thu Jul 1 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11135
11136 Patch by Kai Henningsen to improve debug slightly.
11137 * Source/NSObject.m: improved exception messages.
11138
11139 Wed Jun 30 22:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11140
11141 * Source/NSArray.m: Tidied for garbage collection.
11142 * Source/PropList.h: Tidied for garbage collection.
11143 * Source/include/Unicode.h: Added missing prototyp.
11144
11145 Tue Jun 29 17:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11146
11147 Patches by Hai Henningsen
11148 * Source/NSString.m: Fix for stringByAppendingPathExtension
11149 * Source/Unicode.m: Several bugfixes in AND logic.
11150
11151 Mon Jun 28 11:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11152
11153 * Source/include/NSConnection.h: Fixed spelling error reported by
11154 Olivier.Saut@dptmaths.ens-cachan.fr
11155 * Source/NSConnection.m: ditto
11156
11157 Sat Jun 26 7:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11158
11159 * Source/NSRunLoop.m: Fix error in last mod.
11160 * Source/NSTask.m: Allow for bsd setpgrp()
11161 * Souyrce/configure.in: Allow for bsd setpgrp()
11162
11163 Fri Jun 25 11:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11164
11165 * Source/NSRunLoop.m: Use autorelease pools in ([limitDateForMode:])
11166 and ([acceptInputForMode:beforeDate:])
11167
11168 Thu Jun 24 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11169
11170 * Source/include/GSIMap.h: Tweaks to avoid compiler warnings.
11171 * Source/include/NSNotification.h: ditto.
11172 * Source/propList.h: ditto.
11173 * Source/Collection.m: ditto.
11174 * Source/TcpPort.m: ditto.
11175 * Source/UnixFileHandle.m: ditto.
11176 * Source/NSArchiver.m: ditto.
11177 * Source/NSArchiver.m: ditto.
11178 * Source/NSCalendarDate.m: ditto.
11179 * Source/NSCoder.m: ditto.
11180 * Source/NSConcreteValue.m: ditto.
11181 * Source/NSConnection.m: ditto.
11182 * Source/NSData.m: ditto.
11183 * Source/NSDate.m: ditto.
11184 * Source/NSDictionary.m: ditto.
11185 * Source/NSDistributedNotificationCenter.m: ditto.
11186 * Source/NSGAttributedString.m: ditto.
11187 * Source/NSGCountedSet.m: ditto.
11188 * Source/NSGCString.m: ditto.
11189 * Source/NSGDictionary.m: ditto.
11190 * Source/NSHost.m: ditto.
11191 * Source/NSLock.m: ditto.
11192 * Source/NSNotificationCenter.m: ditto.
11193 * Source/NSNotificationQueue.m: ditto.
11194 * Source/NSNumber.m: ditto.
11195 * Source/NSObjCRuntime.m: ditto.
11196 * Source/NSObject.m: ditto.
11197 * Source/NSPage.m: ditto.
11198 * Source/NSPortNameServer.m: ditto.
11199 * Source/NSScanner.m: ditto.
11200 * Source/NSSerializer.m: ditto.
11201 * Source/NSString.m: ditto.
11202 * Source/NSTask.m: ditto.
11203 * Source/NSTimeZone.m: ditto.
11204 * Source/NSThread.m: ditto.
11205 * Source/NSUnarchiver.m: ditto.
11206 * Source/NSURL.m: ditto.
11207 * Source/NSURLHandle.m: ditto.
11208 * Source/NSUserDefaults.m: ditto.
11209 * Source/NSZone.m: ditto.
11210 * Tools/gdomap.c: ditto.
11211 * Tools/gdnc.m: ditto.
11212 * Tools/plparse.m: ditto.
11213 * Tools/sfparse.m: ditto.
11214 * Tools/pldes.m: ditto.
11215 * Tools/plser.m: ditto.
11216
11217 1999-06-24 Adam Fedor <fedor@gnu.org>
11218
11219 * Source/include/GSIArray.h (GSIArrayRemoveLastItem): New function.
11220 (GSIArrayLastItem): Likewise.
11221 (GSIArrayCopyWithZone): Likewise.
11222
11223 Tue Jun 22 16:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11224
11225 * Source/NSThread.m: Various changes to tidy up notification handling
11226 to avoid warning messages and to ensure that observers get notified
11227 before the application becomes multi-threaded.
11228
11229 Mon Jun 21 20:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11230
11231 * Source/NSFileManager.m: Fixed error recursing into directory.
11232 * Source/include/NSFileManager.h: tidied.
11233
11234 Mon Jun 21 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11235
11236 Mostly updates of range checking code and change of FastArray and
11237 FastMap to use the prefix GSI (GnuStepInline) rather than Fast -
11238 less likely to conflict with other names.
11239 * Source/include/NSRange.h: Added GS_RANGE_CHECK() macro for consistent
11240 range checking.
11241 * Source/include/FastArray.x: Renamed to GSIArray.h
11242 * Source/include/FastMap.x: Renamed to GSIMap.h
11243 * Source/include/NSArchiver.h: Changed Fast to GSI
11244 * Source/NSString.m: Use GS_RANGE_CHECK()
11245 * Source/NSGString.m: ditto
11246 * Source/NSGCString.m: ditto
11247 * Source/NSAttributedString.m: ditto
11248 * Source/NSGAttributedString.m: ditto
11249 * Source/NSData.m: ditto
11250 * Source/NSArray.m: ditto
11251 * Source/NSGArray.m: ditto
11252 * Source/GNUmakefile: Renamed Fast... to GSI...
11253 * Source/Makefile.postamble: Renamed Fast... to GSI...
11254 * Source/NSArchiver.m: ditto
11255 * Source/NSGCountedSet.m: ditto
11256 * Source/NSGDictionary.m: ditto
11257 * Source/NSGSet.m: ditto
11258 * Source/NSNotificationCenter.m: ditto
11259 * Source/NSRunLoop.m: ditto
11260 * Source/NSSerializer.m: ditto
11261 * Source/NSUnarchiver.m: ditto
11262
11263 Fri Jun 18 8:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11264
11265 * Source/NSFileManager.m: Fix lookup of fileGroupOwnerAccountName
11266 Fix test for symbolic links, add diagnostic info, fix copy to produce
11267 files owned by current user.
11268 * Source/include/NSFileManager.h: tidyup
11269 * Source/include/NSObject.h: fixup for ASSIGN macro - should work for
11270 all objects.
11271
11272 Thu Jun 17 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11273
11274 * Source/include/NSNotification.h: Update to MacOS-X specs.
11275 * Source/NSNotification.m: Tidied
11276 * Source/NSNotificationCenter.m: Complete rewrite for performance
11277 (order of magnitude improvement) and GC.
11278
11279 Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11280
11281 * Tools/gdnc.m: Only use OpenStep NSNotificationCenter methods.
11282 * Source/NSConnection.m: ditto
11283 * Source/NSDistributedNotificationCenter.m: ditto
11284 * Source/NSPort.m: ditto
11285 * Source/NSPortNameServer.m: ditto
11286 * Source/NSSerializer.m: ditto
11287 * Source/Port.m: ditto
11288 * Source/TcpPort.m: ditto
11289
11290 Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11291
11292 * Source/NSConcreteValue.m: Update for MacOS-X and for GC
11293 * Source/NSCTemplateValue.m: Update for MacOS-X and for GC
11294 * Source/NSNumber.m: Update for MacOS-X and for GC, optimised
11295 * Source/NSConcreteNumber.m: Update for MacOS-X and for GCC, optimised
11296 * Source/NSValue.m: Update for MacOS-X and for GC
11297 * Source/include/NSValue.h: Update for MacOS-X and for GC
11298
11299 Sat Jun 12 15:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11300
11301 * Source/NSConcreteValue.m: Implemented [hash and isEqualToValue
11302 * Source/include/NSConcreteValue.h: Change NSString ivar to char* for
11303 performance reasons.
11304 * Source/NSCTemplateValue.m: Implemented hash and optimised.
11305
11306 Thu Jun 4 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11307
11308 * Source/NSCharacterSet.m: prepare for GC
11309 * Source/NSString.m: prepare for GC
11310 * Source/NSTimer.m: tidied and added timeInterval method
11311 * Source/include/NSTimer.h: tidied and added timeInterval method
11312 * Source/NSArchiver.m: Fixed memory leak in ([-init])
11313
11314 Tue Jun 2 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11315
11316 * Source/NSSerializer.m: Added uniquing for deserialized strings.
11317 * Source/include/NSSerialization.h: likewise.
11318
11319 Tue Jun 2 5:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11320
11321 * Source/TcpPort.m: Fixed to compile cleanly under cygwin.
11322 * Source/UnixFileHandle.m: ditto
11323 * Source/NSHost.m: ditto
11324 * Source/NSProcessInfo.m: ditto
11325 * Source/NSRunLoop.m: ditto
11326
11327 Fri May 28 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11328
11329 * Source/NSString.m: Fixed error on growing mutable strings - could
11330 cause unreasonable growth when generating property lists.
11331
11332 Thu May 27 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11333
11334 * Source/NSArchiver.m: Fix memory leak reported by
11335 frederic.chauvin@lemel.fr and ready for garbage collection.
11336 * Source/NSUnarchiver.m: Ready for garbage collection.
11337 * Source/NSTimeZone.m: Fix memory leak reported by
11338 frederic.chauvin@lemel.fr. Ready for garbage collection.
11339 * Source/NSCalendarDate.m: Fix bug in decrementing date past start
11340 of month. Ready for garbage collection.
11341
11342 Wed May 26 18:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11343
11344 * Source/include/NSSerialization.h: include NSObject.h
11345 * Source/NSSerializer.m: Deserialization optimisation (15%)
11346 * Source/NSArray.m: write descriptions to cstrings.
11347 * Source/NSDictionary.m: write descriptions to cstrings.
11348 * Source/NSGCString.m: description optimisation (15%).
11349
11350 Wed May 26 12:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11351
11352 * Source/NSUnarchiver.m: Fixed libobjects compatibility methods to
11353 use decodeObject to get the name from the archive.
11354
11355 Sun May 23 20:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11356
11357 * Source/TcpPort.m: Fixed retain/release loop causing ports occasionally
11358 to be kept in existence when they should disappear.
11359
11360 Fri May 21 19:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11361
11362 * Source/include/NSObject.h: Added NSExtraRefCount()
11363 * Source/NSObject.m: Added NSExtraRefCount()
11364
11365 Fri May 21 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11366
11367 * Source/include/NSThread.h: Update notification names to MacOS-X
11368 with defines for OpenStep compatibility.
11369 * Source/NSThread.m: Update notification names to MacOS-X
11370 * Source/externs.m: Update thread notification names to MacOS-X
11371
11372 Fri May 21 16:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11373
11374 * Source/include/NSZone.h: Added NSZoneMallocAtomic() for Helge
11375 and in anticipation of adding garbage collection support some day.
11376
11377 Fri May 21 9:56:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11378
11379 * Source/include/NSObject.h: Bracket macro definitions with #ifndef
11380 in case they are already defined.
11381
11382 Thu May 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11383
11384 * Source/NSUserDefaults.m: Don't load defaults unless we need to.
11385 * Source/include/NSUserDefaults.h: Keep modification timestamp.
11386
11387 Thu May 20 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11388
11389 * Source/GSeq.h: Add support for comparison and search.
11390 * Source/NSString.m: Use comparison and search functions from GSeq.h
11391 * Source/NSGString.m: Use comparison and search functions from GSeq.h
11392 * Source/NSGCString.m: Use comparison and search functions from GSeq.h
11393 * Source/Makefile.postamble: Make all string files depend on GSeq.h
11394 * Source/NSRunLoop.m: Don't retain receiver of runloop watcher.
11395
11396 Wed May 19 21:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11397
11398 * Source/GSeq.h: New file to replace NSGSequence stuff
11399 * Source/NSString.m: Rewrite all methods using sequences.
11400 * Source/NSGString.m: Remove reference to NSGSequence.
11401 * Source/include/NSString.h: Remove unused method (_normalize).
11402 * Source/NSGSequence.m: Removed
11403 * Source/include/NSGSequence.h: Removed
11404
11405 Tue May 18 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11406
11407 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) check that
11408 run loop watcher objects exist in map before trying to use them.
11409
11410 Fri May 14 20:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11411
11412 * Tools/pldes.m: new tool to deserialise serialised property lists.
11413 * Tools/plser.m: new tool to serialise text property lists.
11414 * Tools/GNUmakefile: add pldes and plser
11415
11416 Mon May 11 15:00:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11417
11418 * Source/NSArray.m: getObjects: (id*)aBuffer range: (NSRange)aRange
11419 corrected bug in for: replace c by e
11420
11421 Tue May 11 10:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11422
11423 * Source/include/preface.h: Attempt to standardise win32 conditional
11424 compilation by using __WIN32__ throughout.
11425 * NSDate.m: Standardize win32 stuff using __WIN32__
11426 Open files with "rb" or "wb" only for winw3.
11427 * NSFileManager.m: Standardize win32 stuff using __WIN32__
11428 * NSHost.m: Standardize win32 stuff using __WIN32__
11429 * NSLog.m: Standardize win32 stuff using __WIN32__
11430 * NSProcessInfo.m: Standardize win32 stuff using __WIN32__
11431 * NSString.m: Standardize win32 stuff using __WIN32__
11432 * NSTask.m: Standardize win32 stuff using __WIN32__
11433 * NSThread.m: Standardize win32 stuff using __WIN32__
11434 * NSUser.m: Standardize win32 stuff using __WIN32__
11435 * NSUserDefaults.m: Standardize win32 stuff using __WIN32__
11436 * Time.m: Standardize win32 stuff using __WIN32__
11437 * UnixFileHandle.m: Standardize win32 stuff using __WIN32__
11438 * NSData.m: Standardize win32 stuff using __WIN32__
11439 * NSTimeZone.m: Standardize win32 stuff using __WIN32__
11440 Open files with "rb" or "wb" only for winw3.
11441
11442 Mon May 10 8:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11443
11444 * Source/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11445 optimised.
11446 * Source/NSGString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11447 implemented.
11448 * Source/NSGCString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11449 * Source/NSGSequence.m: various parts optimised.
11450 * Source/include/NSThread.h: add gcontext ivar.
11451
11452 Fri May 7 15:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11453
11454 * Source/NSBundle.m: Modified ([-release]) to avoid unnecessary work
11455 and to refrain from caching bundles unless they have loaded code
11456 (or are the main bundle or the gnustep bundle).
11457
11458 Thu May 6 21:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11459
11460 * Source/NSUnarchiver.m: Don't retain/release unless necessary.
11461 * Source/NSUserDefaults.m: ditto
11462 * Source/NSNotification.m: ditto
11463 * Source/NSFileManager.m: ditto
11464 * Source/NSBundle.m: ditto
11465 * Source/NSRunLoop.m: ditto
11466 * Source/NSAutoreleasePool.m: Bugfix in dealloc - would leave count
11467 of retained objects set high - caused deallocs of nil objects.
11468
11469 Thu May 6 17:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11470
11471 * Source/NSString.m: Minor optimisations - use ([-allocWithZone:])
11472 * Source/NSGCString.m: ditto
11473 * Source/NSGDictionary.m: ditto
11474 * Source/NSArray.m: ditto
11475 * Source/NSDictionary.m: ditto
11476 * Source/NSSet.m: ditto
11477 * Source/NSGCountedSet.m: ditto
11478 * Source/NSData.m: ditto
11479
11480 Thu May 6 13:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11481
11482 * Source/propList.h: new file
11483 * Source/NSString.m: include propList.h for property-list parsing.
11484 * Source/NSGString.m: ditto
11485 * Source/NSGCString.m: ditto
11486 * Source/NSTask.m: Minor fixes for win32
11487 * Source/NSLog.m: ditto
11488 * Source/NSProcessInfo.m: ditto
11489 * Source/NSFileManager.m: ditto
11490
11491 1999-04-28 Adam Fedor <fedor@gnu.org>
11492
11493 * Source/NSRunLoop.m (aSort): Redefine to take FastArrayItem as
11494 arguments.
11495 * Source/include/FastArray.x (FastArrayInsertionPosition):
11496 Fully specify sorter function for better type checking.
11497 (FastArrayCheckSort): Likewise.
11498
11499 1999-04-27 Adam Fedor <fedor@gnu.org>
11500
11501 * configure.in: Check for sys/mount.h for NSFileManager functions
11502 on FreeBSD
11503
11504 Fri Apr 23 23:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11505
11506 * Source/NSCalendarDate.m: Applied bugfixes by Jeremy Bettis
11507 <jeremy@hksys.com> to better cope with month ends.
11508
11509 Fri Apr 23 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11510
11511 * Source/NSBundle.m: Improved localisation - avoid possibility of
11512 recursion problems if an error occurs reading localisation info.
11513 * Source/NSDate.m: Added classes for distant past and distant future.
11514
11515 1999-04-22 Adam Fedor <fedor@gnu.org>
11516
11517 * configure.in: Don't abort if nested functions don't work. Not
11518 sure we even have any.
11519
11520 * Source/NSBundle.m (-localizedStringForKey:value:table:): Log a
11521 message if no localized key found (per OpenStep specs).
11522 * Source/include/NSBundle.h
11523 (NSLocalizedStringFromTableInFramework): New GNUstep specific
11524 macro.
11525
11526 * NSCharacterSets/GNUmakefile: Install in Resources rather than
11527 Resources/gnustep.
11528 * NSTimeZones/GNUmakefile: Likewise.
11529 * Source/NSCharacterSet.m: Look in new location.
11530 * Source/NSTimeZone.m: Likewise.
11531
11532 Thu Apr 22 21:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11533
11534 * Source/NSBundle.m: Improved localisation - added stuff for internal
11535 use by the GNUstep system.
11536 * Source/NSBundle.h: ditto.
11537 * Source/FastArray.x: Removed assertions for performance.
11538
11539 Thu Apr 22 11:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11540
11541 * Source/NSRunLoop.m: Optimisation and tidyup.
11542 * Source/NSTimer.m: Minor bugfixes.
11543 * Source/include/FastArray.x: Bugfix for array insertion.
11544 * Source/include/NSRunLoop.h: Remove limit ivar.
11545 * Source/include/NSTimer.h: Use NSDate again.
11546
11547 Wed Apr 21 20:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11548
11549 * Source/NSAttributedString.m: Tidied.
11550 * Source/Source/NSAutoreleasePool.m: Thread exit code added
11551 * Source/NSCalendarDate.m: Tidied
11552 * Source/NSConnection.m: ditto
11553 * Source/NSException.m: Tidied and added description
11554 * Source/NSRunLoop.m: Optimisation, bugfixes, and removal of cruft.
11555 * Source/NSThread.m: Clean up autorelease pools on exit.
11556 * Source/NSTimer.m: Optimise use in runloop.
11557 * Source/include/FastArray.x: Bugfix for sorted array.
11558 * Source/include/NSAutoreleasePool.h: Mod for threads.
11559 * Source/include/NSObject.h: More retain/release macros.
11560 * Source/include/NSRunLoop.h: Optimise limit date.
11561 * Source/include/NSTimer.h: Optimise use with run loop.
11562
11563 Tue Apr 20 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11564
11565 * Source/Makefile.postamble: NSRunLoop.m uses FastArray.x
11566 * Source/NSConnection.m: Tiny performance optimisation.
11567 * Source/NSDate.m: Minor fixes to class cluster.
11568 * Source/NSGDictionary.m: fixed typo.
11569 * Source/NSNotificationQueue.m: Optimised runloop interaction.
11570 * Source/NSRunLoop.m: Optimisaed notification queue interaction.
11571 * Source/NSTimer.m: Optimisation for run loop.
11572 * Source/NSUnarchiver.m: Fixed typo.
11573 * Source/include/FastArray.x: Support sorted insertion.
11574 * Source/include/NSDate.h: Tidied.
11575 * Source/include/NSNotificationQueue.h: Change runloop interface.
11576 * Source/include/NSTimer.h: Change runloop interface.
11577
11578 Mon Apr 19 14:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11579
11580 * Source/NSThread.m: Fast thread access (GSCurrentThread()) etc.
11581 * Source/NSAssertionHandler.m: Use fast thread access.
11582 * Source/NSConnection.m: Use fast thread access.
11583 * Source/NSException.m: Use fast thread access.
11584 * Source/NSNotificationQueue.m: Use fast thread access.
11585 * Source/NSRunLoop.m: Use fast thread access plus other optimisations.
11586 * Source/NSAutoreleasePool.m: Speed up thread access.
11587 * Source/NSDate.m: Rewrite as calss cluster - MacOS-X compatibility.
11588 * Source/NSCalendarDate.m: Modifications to work with NSDate.
11589 * Source/NSGDictionary.m: Minor tidyup.
11590 * Source/NSGSequence.m: Minor optimisation - really needs a rewrite.
11591 * Source/NSDebug.m: Added function to report all allocations.
11592
11593 Fri Apr 16 20:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11594
11595 * Source/include/NSGeometry.h: Don't pollute macro name space with
11596 MAX and MIN.
11597 * Source/include/NSRange.h: ditto
11598
11599 Thu Apr 15 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11600
11601 * Source/include/NSHost.h: Use #ifdefs to prevent multiple inclusion.
11602
11603 Thu Apr 15 9:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11604
11605 * Source/UnixFileHandle.m: ([-fileDescriptor]) return a valid file
11606 descriptor (for /dev/null) for the null device.
11607 * Source/NSTask.m: ([-launch]) Add code to reset signals in subprocess
11608 and to close all file descriptors (except stdin, stdout and stderr).
11609
11610 Wed Apr 14 14:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11611
11612 * Source/NSPortNameServer.m: Don't suspend thread while waiting for
11613 gdomap to start up.
11614 * Source/NSDistributedNotificationCenter.m: Don't suspend thread while
11615 waiting for gdnc to start up.
11616
11617 Wed Apr 14 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11618
11619 * Source/NSBundle: ([+allBundles]) implemented (ignoring the frameworks
11620 issue). Extra internal GNUstep specific methods provided -
11621 ([+_gnustep_target_cpu]), ([+_gnustep_target_dir])
11622 ([+_gnustep_target_os]), ([+_library_combo])
11623 So that we can easily determine wrapper path information.
11624 * Source/NSTaks: Preparation for garbage collecting.
11625 Major work on launching - now makes intelligent use of launch path.
11626 Tries various GNUstep directories - if unable to find executable
11627 that way, resorts to using the unix PATH environment variable.
11628 * Source/NSPortNameServer.m: Removed a couple of unix specific calls.
11629 * Source/NSDistributedNotificationCenter.m: Removed a couple of unix
11630 specific calls.
11631 * Tools/Makefile.postamble: Install gdnc in non-library specific dir.
11632
11633 Tue Apr 13 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11634
11635 * Source/NSBundle.m: Updated to use Info.plist if Info-gnustep.plist
11636 is not available. Also updated to look in alternative directories
11637 for the object file to load... If not in the machine/os/lib-combo
11638 subdirectory, tries the machine/os directory and then the top-level
11639 directory. Also updated to cope with the case where the NSExecutable
11640 entry of the Info.plist specifies a path rather than a simple file name.
11641 * Source/NSUser.m: Implemented NSFullUserName()
11642
11643 Mon Apr 12 13:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11644
11645 * Source/NSCountedSet.m: Make copying behavior be same as OPENSTEP
11646 * Source/NSSet.m: Fix memory scribbling bug in ([-initWithSet:])
11647 * Source/NSGSet.m: Tidied types in fast map.
11648 * Source/NSGArray.m: Minor optimisationin copy etc.
11649 * Source/NSGDictionary.m: Tidied types in fast map.
11650 * Source/NSSerializer.m: Tidied types in fast map and array.
11651 * Source/NSArchiver.m: Tidied types in fast map and array.
11652 * Source/NSUnarchiver.m: Tidied types in fast map and array.
11653 * Source/FastArray.x: Tidied, fixed init bug, movied to include
11654 * Source/FastMap.x: Tidied, moved to include
11655 * Source/NSZone.m: Dummy zone for use with GC.
11656 * Source/include/NSZone.h: Dummy zone for use with GC.
11657 * Source/include/GSUnion.h: Unions for use with Fast...
11658 * Source/include/FastArray.x: New from Source
11659 * Source/include/FastMap.x: New from Source
11660 * Source/GNUmakefile: Added FastArray.x, FastMap.x, GSUnion.h
11661 * Source/Makefile.postamble: Added FastArray.x FastMap.x GSUnion.h.
11662 * NSCharacterSets/GNUmakefile: List all new character set names.
11663
11664 Fri Apr 9 22:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11665
11666 * Source/NSGAttributedString.m: Final optimisation - remove almost all
11667 objc runtime overhead. Combined changes should result in a factor of
11668 2 to 10 speedup (depending on operation) over original code.
11669
11670 Fri Apr 9 16:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11671
11672 * Source/NSAttributedString.m: Implement tracking of changes to
11673 string returned by [-mutableString] method. Simplified initialisation.
11674 * Source/include/NSAttributedString.h: Updated.
11675 * Source/NSGAttributedString.m: Rewrite to get rid of all known
11676 problems and to boost performance hugely.
11677 * Source/include/NSGAttributedString.h: Updated.
11678 * Source/NSString.m: ([-_baseCount]) optimised.
11679 * Source/NSGString.m: ([-_baseCount]) optimised.
11680
11681 1999-04-09 Adam Fedor <fedor@gnu.org>
11682
11683 * NSCharacterSets: Updated sets to Version 2.1.8
11684 * Souce/NSCharacterSet.m: Updated to reflect new names of character
11685 sets.
11686
11687 1999-04-08 Adam Fedor <fedor@gnu.org>
11688
11689 * configure.in: Remove test for libobjc.a
11690
11691 Thu Apr 8 12:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11692
11693 * Source/NSArray.m: Make copying behavior consistent with OPENSTEP.
11694 * Source/NSDictionary.m: Make copying behavior consistent with OPENSTEP.
11695 * Source/NSSet.m: Make copying behavior consistent with OPENSTEP.
11696
11697 Wed Apr 7 12:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11698
11699 * Source/NSCharacterSet.m: Use punctuationCharSet.dat
11700
11701 1999-04-06 Adam Fedor <fedor@gnu.org>
11702
11703 * NSCharacterSets/punctuationCharSet.dat: New file
11704
11705 Mon 5 7:33:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11706
11707 * Source/NSRange.m: Moved most functions into header file, while
11708 including header to generate linkable versions.
11709 * Source/include/NSGeometry.h: Define MIN and MAX if required.
11710 * Source/include/NSRange.h: Define MIN and MAX if required and make
11711 most range functions a efficiency.
11712
11713 Thu Mar 11 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11714
11715 * Source/NSDebug.m: Added two new functions for logging messags.
11716 * Source/include/NSDebug.h: Added four new logging macros.
11717 * Source/NSBundle.m: Updated to use new NSDebugMLLog() macro.
11718
11719 Wed Mar 10 09:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11720
11721 * Source/FastMap.x: FastMapNodeForKey() - special case for empty map
11722 return 0 immediately. Fast for empty maps, marginally slower othrwise.
11723 * Source/NSProcessInfo.m: Removed [-debugArray], Added [-debugSet],
11724 Added GSDebugSet() function for rapid debug level testing.
11725 * Source/include/NSProcessInfo.h: Remove [-debugArray], Add [-debugSet]
11726 * Source/include/NSDebug.h: Rewrite NSDebugLog() and NSDebugLLog() to
11727 be much more efficient - now minimal performance impact.
11728
11729 1999-03-09 Adam Fedor <fedor@gnu.org>
11730
11731 * Source/include/NSObjCRuntime.h: Define some OpenStep cpp vars.
11732 * Source/include/NSException.h (NS_VALUERETURN): Fix.
11733
11734 Tue Mar 9 5:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11735
11736 * configure.in: Added tests for syslog
11737 * Source/include/config.h.in: Added definitions for syslog
11738 * Source/NSLog.m: Added locking for multi-thread serialisation and
11739 added syslog support when write to stderr fails.
11740
11741 1999-03-08 Adam Fedor <fedor@gnu.org>
11742
11743 * Merged dawn branch to main.
11744
11745 Wed Mar 3 5:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11746
11747 * Source/NSUser.m: Fixed a typo reported by twhite@rogers.wave.ca
11748 * Source/TcpPort.m: Fixed typos.
11749
11750 Tue Mar 2 15:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11751
11752 * Source/TcpPort.m: If the host has no IP address, try finding the
11753 address of 'localhost' and, if that fails, use 127.0.0.1
11754
11755 Tue Mar 2 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11756
11757 * NSTimeZones/Makefile.postamble: Updated to preserve old localtime
11758 * NSTimeZones.tar: Updated to use the latest available zone info.
11759
11760 Tue Mar 2 08:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11761
11762 * Merge in 'dawn' CVS branch.
11763
11764 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11765
11766 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11767 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11768 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11769 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11770 bug, and added slight performance improvement.
11771
11772 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11773
11774 Merged in alterations from main cvs branch made to wrong place 'cos
11775 dawn branch was already created :-(
11776 * Source/NSData.m: preserve file attributes when writing atomically
11777 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11778 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11779 doesn't mess up defaults database.
11780 * Source/NSFileManager.m: Create files with correct ownership when
11781 process is setuid to root - and provide facility for NSData to do same.
11782 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11783
11784 Sun Feb 21 19:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11785
11786 * Source/NSFileManager.m: Attempt to fix problems with directory
11787 enumeration.
11788
11789 Sat Feb 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11790
11791 * Source/NSUser.m: Added GSSetUserName() and rewrote NSUserName() to
11792 work consistently - use the LOGNAME environment variable as first
11793 choice of username.
11794 * Source/include/NSPathUtilities.h: Added GSSetUserName()
11795 * Source/NSUserDefaults.m: Added GNUstep specific method -
11796 ([+resetUserDefaults]) to reset the standard defaults in the event of
11797 a change os username. Also changed to create defaults withe correct
11798 ownership, and to create a defaults file containing a valid (empty)
11799 dictionary.
11800 * Source/include/NSUserDefaults.h: Added ([+resetUserDefaults])
11801 * Source/NSData.m: Try to preserve file ownership etc with
11802 ([-writeToFile:atomically:])
11803 * Source/NSFileManager.m: ([-changeFileAttributes:atPath:]) added
11804 code to handle owner and group names if owner and group IDs are not
11805 supplied. Also added code to ensure that programs running setuid to
11806 root create new files and directories with the ownership of their
11807 actual login user by default.
11808
11809 1999-02-19 Michael Hanni <mhanni@sprintmail.com
11810
11811 * Source/NSArray.m: Added @end for NSArrayEnumeratorReverse.
11812
11813 1999-03-08 Adam Fedor <fedor@gnu.org>
11814
11815 * Version 0.5.5 Released.
11816
11817 Tue Mar 2 17:04:51 1999 Adam Fedor <fedor@ultra.doc.com>
11818
11819 * Source/TcpPort.m ([GSTcpPort
11820 +portWithNumber:onHost:beforeDate:]): Fix typo in variable.
11821 Change include <sys/errno> to <errno> (Needed on solaris).
11822
11823 1999-03-01 Adam Fedor <fedor@gnu.org>
11824
11825 * Update documentation.
11826
11827 1999-02-28 Adam Fedor <fedor@gnu.org>
11828
11829 * Source/Makefile.postamble: Don't install services if not
11830 root. (patches submitted by Christopher Seawood
11831 <cls@seawood.org>).
11832
11833 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11834
11835 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11836 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11837 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11838 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11839 bug, and added slight performance improvement.
11840
11841 1999-02-22 Adam Fedor <fedor@gnu.org>
11842
11843 * Version: update version.
11844 * Source/NSProcessInfo.m: Change missing main message.
11845
11846 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11847
11848 Merged in alterations from main cvs branch made to wrong place 'cos
11849 dawn branch was already created :-(
11850 * Source/NSData.m: preserve file attributes when writing atomically
11851 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11852 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11853 doesn't mess up defaults database.
11854 * Source/NSFileManager.m: Create files with correct ownership when
11855 process is setuid to root - and provide facility for NSData to do same.
11856 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11857
11858 1999-02-19 Adam Fedor <fedor@gnu.org>
11859
11860 * Source/NSHost.m ([NSHost +currentHost]): Check for host not found.
11861 ([NSHost +hostWithName:]): Check for nil arg.
11862 ([NSHost +hostWithAddress:]): Likewise.
11863
11864 * Testing/release.m: Make array mutable.
11865 * Testing/fref.m: Switch to NSArchiver/NSUnarchiver
11866
11867 Wed Feb 17 8:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11868
11869 * Source/NSProcessInfo.m: Include process name in arguments list as
11870 in the OPENSTEP implementation - suggested by dirk@object-factory.com
11871 * Source/NSUserDefaults.m: Adjust for change to NSProcessInfo
11872 * Source/Tools/defaults.m: ditto
11873 * Source/Tools/dread.m: ditto.
11874 * Source/Tools/dwrite.m: ditto.
11875 * Source/Tools/dremove.m: ditto.
11876 * Source/Tools/plparse.m: ditto.
11877 * Source/Tools/sfparse.m: ditto.
11878
11879 Tue Feb 16 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11880
11881 * Source/NSArray.m: ([-removeObjectsFromIndices:]) rewrite to
11882 work according to spec.
11883 * Testing/nsarray.m: Fixed check on joining strings.
11884
11885 Mon Feb 15 06:14:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11886
11887 * Source/include/NSDebug.h: Declare strerror() if not known to system
11888 * Source/NSTask.m: Include NSDebug.h and don't declare errno.
11889
11890 Thu Feb 12 00:57:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11891
11892 * Source/include/NSString.h: declaration of categories:
11893 NSString (GSString)
11894 NSString(GSTrimming)
11895 NSMutableString (GSString)
11896 NSMutableString (GSTrimming)
11897 * Source/NSString.m: implementation of these categories
11898 * Source/include/NSObject.h: added ASSIGNCOPY
11899 Same as ASSIGN but copy the value
11900 * Source/include/NSURL.h: New class
11901 * Source/include/NSURLHandle.h: New class
11902 * Source/NSURL.m: New class [see the note in the file]
11903 * Source/NSURLHandle.m: New class [see the note in the file]
11904 * GNUMakefile: added NSURL.m and NSURLHandle.m
11905
11906 Fri Feb 12 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11907
11908 * Source/NSGeometry.m: Removed most functions - into header
11909 * Source/include/NSGeometry.h: Made most functions inline for speed.
11910 * Makefile.postamble: NSGeometry.o depends on NSGeometry.h
11911
11912 Thu Feb 11 19:25:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11913
11914 * Source/NSObjCRuntime.m: Fixed error in GSGetInstanceVariable name:
11915 GSGetIinstanceVariable transformed to GSGetInstanceVariable
11916
11917 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11918
11919 * Source/NSString.m: Fixed error in property-list parsing - was not
11920 taking into account octal and hexadecimal escape sequences.
11921
11922 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11923
11924 * Source/NSUserDefaults.m: ([-dealloc]) invalidate timer so we can't
11925 get sent a timeout message after d4eallocation - fixes occasional
11926 crashes when the defaults database has been unreadable.
11927
11928 Thu Feb 11 7:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11929
11930 * Source/NSConnection.m: Tidy up with bugfixes and better distributed
11931 retain/release for triangle connections.
11932 * Source/NSDistantObject.m: ditto
11933 * Source/TcpPort.m: ditto
11934 * Source/include/DistributedObjects.h: ditto
11935 * Source/include/NSConnection.h: ditto
11936 * Source/include/NSDistantObject.h: ditto
11937
11938 1999-02-09 Adam Fedor <fedor@gnu.org>
11939
11940 * Source/HashTable.m: Moved to extensions.
11941 * Source/List.m, Source/NXStringTable*, Source/Storage.m,
11942 Source/objc/HashTable.h, Source/objc/List.h,
11943 Source/objc/NXStringTable.h, Source/objc/Storage.h:
11944 Likewise.
11945
11946 Tue Feb 9 14:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11947
11948 * Source/NSProcessInfo.m: Fixed login in #if construct so things
11949 will link again.
11950
11951 1999-02-08 Adam Fedor <fedor@gnu.org>
11952
11953 * Source/include/fake-main.h: Leave off __ELF__, only use
11954 autoload of init method if SYS_AUTOLOAD.
11955 * Source/NSProcessInfo.m: Likewise.
11956
11957 Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11958
11959 * Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
11960 inline functions for integers with known sizes.
11961 * Source/NSData.m: Corrected serialization/deserialization routines to
11962 do byte-swapping using new functions.
11963 * Source/UnixFileHandle.m: Use new byte-swapping functions rather than
11964 htonl(), htons(), ntohl(), ntohs().
11965 * Source/NSUnarchiver.m: Use new byte-swapping functions.
11966
11967 1999-02-04 Adam Fedor <fedor@gnu.org>
11968
11969 * config/config.printf.c: New file.
11970 * configure.in: Test for broken register_printf function.
11971
11972 * Source/NSLog.m (_NSLog_standard_printf_handler): Use fputs to
11973 avoid possible double expansion of format chars.
11974
11975 1999-02-04 Matthias Klose <doko@cs.tu-berlin.de>
11976
11977 * Source/include/NSObject.h: eval value in ASSIGN macro only once.
11978
11979 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11980
11981 * Source/NSString.m: ([-dataUsingEncoding:allowLossyConversion:])
11982 Removed spurious trailing nul and other spurious code having no
11983 effect - formatted to be readable.
11984
11985 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11986
11987 Deleted all the old property-list and strings-file parsing stuff.
11988 * Source/NSBitmapCharSet.m: ([-formUnionWithCharacterSet]) corrected
11989 to use bitwise or rather than logical or.
11990 ([-formIntersectionWithCharacterSet:]) corrected to use bitwise and
11991 rather than logical and.
11992 * Source/NSString.m: Implemented handwritten parser code for
11993 ([-propertyList]) and ([-propertyListFromStringsFileFormat]) which
11994 supports unicode strings, is 64-bit clean, and raises exceptions
11995 as it should when given a badly formatted string to parse.
11996 This replaces the old lex/bison code (which did none of these things)
11997 and runs just as fast! Just hope that if there are any bugs they
11998 show up in time to fix for the 0.6 release.
11999 * Tools/GNUmakefile: Added plparse and sfparse.
12000 * Tools/plparse.m: New tool to parse a property-list and report errors.
12001 * Tools/sfparse.m: New tool to parse a strings-file and report errors.
12002
12003 Wed Feb 3 12:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12004
12005 * Source/FastArray.x: Don't use value returned by RETAIN macro.
12006 * Source/FastMap.x: Don't use value returned by RETAIN macros.
12007 * Source/NSGDictionary.m: Fix to assign values in RETAIN macros
12008 as suggested by mguesdon@sbuilders.com
12009
12010 Tue Feb 2 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12011
12012 * Source/NSZone.m: nrecycle() bugfix - was persisting after memory
12013 had actually been returned to system malloc.
12014
12015 Tue Feb 2 11:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12016
12017 * Source/mframe/alpha/linux-gnu: First 'real' port to alpha.
12018 * Source/mframe/alpha/generic: ditto
12019
12020 1999-02-01 Adam Fedor <fedor@gnu.org>
12021
12022 * Source/UnixFileHandle.m: Switch include of netinet/in.h.
12023 * Source/NSObject.m: Undef ALIGN before define'ing.
12024 * Source/NSZone.m: Likewise.
12025 * Source/mframe/configure.in: Recognize any version of freebsd or
12026 openbsd.
12027 * Source/mframe/i386/freebsd: New file, copy of generic.
12028 * Source/mframe/i386/openbsd: Likewise. (Bug
12029 reports from Michael Hanni <mhanni@sprintmail.com>).
12030
12031 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12032 Patch supplied by eric@skatter.usask.ca
12033 * Testing/nsscanner.m: Explicitly include NSString.h.
12034 Cleaned up autorelease pool handling.
12035 Fixed some printf arguments that didn't match their formats.
12036 Added tests for scanHexInt:.
12037 * Source/include/NSScanner.h:
12038 Add declarations for scanInt: and scanHexInt: methods.
12039 * Source/NSScanner.m Added scanHexInt: method.
12040 Cleaned up some comments.
12041 Added conditional compile to let scanDouble: accept numbers
12042 like 1.234eFoo (as 1.234). For now, numbers like this are rejected.
12043
12044 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12045
12046 * src/NSArray.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12047 * src/NSDictionary.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12048 * src/NSData.m: Tidied indentation and 64-bit clean serialization of
12049 strings, classes, and selectors.
12050
12051 Sat Jan 30 5:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12052
12053 Tidying up brain-damaged changes I made while ill.
12054 * src/NSConnection.m: Tidied proxy handling a bit
12055 * src/NSDistantObject.m: Tidied - made closer to OpenStep spec.
12056
12057 Fri Jan 29 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12058
12059 * src/NSArchiver.m: Implemented ([-encodeDataObject:])
12060 * src/NSUnarchiver.m: Implemented ([-decodeDataObject])
12061
12062 1999-01-28 Adam Fedor <fedor@gnu.org>
12063
12064 * GNUmakefile (SUBPROJECTS): Change directory names
12065 * configure.in: Update for new directories.
12066
12067 Thu Jan 28 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12068
12069 * src/include/NSObject.h: Preliminaries for addition of GC
12070 * src/include/NSZone.h: ditto
12071 * src/NSObject.m: ditto
12072 * src/NSZone.m: ditto
12073
12074 Thu Jan 28 11:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12075
12076 * src/include/GSConfig.h.in: Added gsaddr type - integer with same
12077 size as a pointer.
12078 * configure.in: Added gsaddr type and fixed a coiuple of typos.
12079 * src/NSUnarchiver.m: include NSByteOrder.h
12080
12081 Thu Jan 28 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12082
12083 * src/Makefile.postamble: Tidied distclean stuff - suggested by
12084 jagapen@whitewater.chem.wisc.edu
12085
12086 Wed Jan 27 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12087
12088 * configure.n: More type-size stuff
12089 * src/include/GSConfig.h.in: More type-size stuff
12090 * src/include/NSData.h: Changed GNUstep extensions and added constants
12091 for coder support.
12092 * src/include/NSArchiver.h: Changes for handling systems with differing
12093 type sizes.
12094 * src/include/NSByteOrder.h: Changes and additions for handling systems
12095 with differing type sizes.
12096 * src/NSData.m: Changed GNUstep extensions for coder support in order
12097 to make handling of type-size information easier.
12098 * src/NSArchiver.m: Encode type-size info and write more efficiently.
12099 * src/NSUnarchiver.m: Decode type-size info.
12100 * src/UnixFileHanlde.m: Use localhost if given no host for connect.
12101
12102 Tue Jan 26 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12103
12104 * configure.in: More stuff for type-size info
12105 * src/include/GSConfig.h.in: More stuff for type-size info.
12106 * src/FastArray.x: Allow types with fixed sizes in array.
12107 * src/FastMap.x: Allow types with fixed sizes in map.
12108
12109 Tue Jan 26 8:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12110
12111 * src/NSThread.m: ([-sleepUntilDate:]) cast argument of usleep() to
12112 be integer rather than float - suggested by stark@easynet.fr
12113
12114 Sun Jan 24 8:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12115
12116 * src/NSConnection.m: Preliminary work for handling DO between
12117 machines wiuth different pointer sizes.
12118 * src/NSDistantObject.m: ditto
12119 * src/include/NSConnection.h: ditto
12120 * src/include/NSDistantObject.h: ditto
12121 * src/include/DistributedObjects.h: ditto
12122
12123 Tue Jan 19 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12124
12125 * src/NSUserDefaults.m: Fixed to update periodically from disk and
12126 to post notifications if the on-disk copy has changed.
12127 * src/include/NSUserDefaults.m: Changed vtimer info for update.
12128
12129 Fri Jan 15 10:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12130
12131 * src/NSObjCRuntime.m: Added GSGetInstanceVariable() and
12132 GSSetInstanceVariable() methods - extensions to gnustep.
12133 * src/NSObjCRuntime.h: ditto
12134
12135 Tue Jan 12 4:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12136
12137 * src/NSProcessInfo.m: Fix for GNU/Linux-powerpc (__PPC__) to get
12138 class initialised with argument info.
12139 * src/include/fake-main.h: ditto
12140
12141 Mon Jan 11 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12142
12143 Fixes for bugs reported by Benhur-de-Oliveira.Stein@imag.fr
12144 * src/NSDictionary.m: ([-initWithObjectsAndKeys:]) fixed test for nil.
12145 * src/NSSet.m: Added makeObjectsPerformSelector methods.
12146 * src/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:]) find
12147 range from before the index if necessary.
12148 * Tidied allocation methods in NSArray.m NSDictionary.m
12149
12150 Sat Jan 8 6:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12151
12152 * src/NSPortNameServer.m: Raise exception on failure to register name.
12153
12154 Fri Jan 8 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12155
12156 * src/NSObject.m: Cache a few more classes.
12157 * src/include/fast.x: Add a few more classes to cache.
12158 * checks/benchmark.m: Benchmark classname lookup overhead.
12159 * src/Makefile.postamble: Improve dependencies.
12160
12161 Wed Jan 6 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12162
12163 * src/UnixFileHandle.m: Fixed error in last change to ([-closeFile])
12164 which could fail to remove descriptors from runloop properly.
12165
12166 Wed Jan 6 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12167
12168 * mframe/alpha/linux-gnu: First rough attempt at making a config
12169 file for the DEC alpha.
12170 * mframe/alpha/gneric: ditto.
12171
12172 Tue Jan 5 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12173
12174 * configure.in: New stuff for making byte-order and type-size
12175 information available in GSConfig.h
12176 * src/NSTask.m: Set process group for child process and preliminary
12177 code for keeping track of active child tasks and handlign sigchld.
12178 * src/UnixFileHandle.m: Modified ([-closeFile]) to send notifications
12179 if there are any asynchronous operations in progress.
12180 * src/include/Foundation.h: include GSConfig.h
12181 * src/include/NSObject.h: include GSConfig.h
12182 * src/include/NSByteOrder.h: Use GS_WORDS_BIGENDIAN from GSConfig.h
12183 * src/include/GSConfig.h.in: Add typedefs for types with known size.
12184 * src/include/config.h.in: Added HAVE_SETPGID and HAVE_SETPGRP
12185
12186 Tue Jan 5 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12187
12188 * src/NSTask.m: Workaround for bug in linux waitpid(), general
12189 tidying, clean up descriptors in child process.
12190 * src/NSString.m: ([-dataUsingEncoding:]) fixed memory leak.
12191
12192 Mon Jan 4 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12193
12194 * src/NSInvocation.m: Fix for machines that pass structures by ref.
12195 * mframe/powerpc/linux-gnu: Machine definition added for powerpc.
12196
12197 Mon Jan 4 9:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12198
12199 * src/o_vscanf.c: Don't make local copy of va_list parameter by
12200 assignment - doesn't work on machines where a va_list is an array.
12201
12202 Sat Jan 2 12:48:51 1999 Adam Fedor <fedor@ultra.doc.com>
12203
12204 * configure.in: Configure subdir src/mframe properly using
12205 AC_CONFIG_SUBDIRS
12206
12207 Sat Dec 26 8:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12208
12209 * src/NSString.m: Make compare with range of length zero always return
12210 NSOrderedSame
12211
12212 Sat Dec 19 01:26:06 1998 Matthias Klose <doko@cs.tu-berlin.de>
12213
12214 * NSCharacterSets/Makefile.postamble: Use macro MKDIRS.
12215 * NSTimeZones/Makefile.postamble: likewise
12216 * src/Makefile.postamble: likewise
12217
12218 Sat Dec 19 10:45:58 1998 Adam Fedor <fedor@ultra.doc.com>
12219
12220 * src/mframe/configure.in: Test for empty subdir (patch from
12221 Matthias Klose <doko@cs.tu-berlin.de>).
12222
12223 Fri Dec 18 14:39:46 1998 Matthias Klose <doko@cs.tu-berlin.de>
12224
12225 * */*: include <base/*.h> instead of <gnustep/base/*.h>.
12226 * src/Makefile.postamble: reflect this change in srcdir-include.
12227
12228 Fri Dec 18 18:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12229
12230 Foundation.h: Added NSPathUtilities.h
12231 NSObject.h: Added GNUstep specific methods for describing a
12232 property-list to a stream.
12233 NSDate.h: Moved natural language methods to right place.
12234 NSObject.m: Added GNUstep specific extensions for describing a
12235 property-list to a stream, updated -description to spec.
12236 NSProxy.m: Tidied format and description method.
12237 NSArray.m: Added GNUstep specific extensions for describing a
12238 property-list to a stream.
12239 NSDictionary.m: ditto
12240 NSAttributedString.m: Tidied ([-replacementObjectForPortCoder:])
12241 NSGAttributedString.m: ditto
12242 NSGCString.m: ditto
12243 NSGString.m: ditto
12244 NSString.m: ditto
12245 NSConcreteNumber.m: Added ([-replacementObjectForPortCoder:])
12246 NSCoder.m: Cope nicely with encode/decode of nil property-list.
12247
12248 Thu Dec 17 16:12:18 1998 Matthias Klose <doko@cs.tu-berlin.de>
12249
12250 * {,*}/GNUmakefile: Include Version and GNUmakefile.local where
12251 missing.
12252 * configure: Add links to GNUmakefile.local
12253
12254 Thu Dec 17 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12255
12256 NSCoder.m: ([-decodePropertyList:]) bugfix - use NSDeserializer
12257
12258 Thu Dec 17 9:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12259
12260 NSCalendarDate.m: Try to cope gracefully when locale info is not
12261 available and we want to display a date. Use numeric month and
12262 week designations and hard-code am/pm
12263 NSUser.m: include NSProcessInfo.h
12264
12265 Wed Dec 16 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12266
12267 Various modifications suggested by <mguesdon@sbuilders.com> and
12268 <jagapen@whitewater.chem.wisc.edu>. All untested.
12269 src/include/Port.h: ([+newForReceivingFromRegisteredName:fromPort:])
12270 Additional method for DO through firewalls.
12271 src/include/NSConnection.h: Addittional method for DO through firewall
12272 ([+newRegisteringAtName:atPort:withRootObject:])
12273 Additional method for DO through firewalls.
12274 src/NSTask.h: Updated to MacOS-X spec - accepts NSPipes.
12275 src/TcpPort.m: ([+newForReceivingFromRegisteredName:fromPort:])
12276 Additional method for DO through firewalls. Removed obsolete name
12277 server code.
12278 src/NSConnection.m: Addittional method for DO through firewall
12279 ([+newRegisteringAtName:atPort:withRootObject:])
12280 src/NSTask.m: Updated to MacOS-X spec - accepts NSPipes.
12281
12282 Tue Dec 15 13:25:10 1998 Adam Fedor <fedor@doc.com>
12283
12284 * src/NSUser.m (NSFullUserName): New function (not implemented).
12285 (NSStandardApplicationPaths): Likewise.
12286 (NSStandardLibraryPaths): Likewise.
12287 (NSTemporaryDirectory): New function (implemented).
12288 (NSOpenStepRootDirectory): Likewise.
12289 * src/include/NSPathUtilities.h: Defined new functions.
12290 * src/include/NSUserDefaults.h: Removed duplicate definitions.
12291
12292 Mon Dec 14 6:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12293
12294 * src/GNUmakefile: Put mframe.h in a machine/os specific directory.
12295 * src/Makefile.postamble: Install mframe.h in machine/os specific dir
12296 * src/NSConnection.m: include mframe.h form new location.
12297 * src/NSInvocation.m: ditto
12298 * src/NSMethodSignature.m: ditto
12299 * src/NSObjCRuntime.m: ditto
12300 * src/NSSerializer.m: ditto
12301 * src/mframe.m: ditto
12302
12303 Sat Dec 12 21:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12304
12305 src/NSUserDefaults.m: ([+standardUserDefaults]) set flag to avoid
12306 infinite recursion on initialisation. Error reported by
12307 Matthias Klose <doko@cs.tu-berlin.de>
12308
12309 Sat Dec 12 17:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12310
12311 * src/include/GSConfig.h.in: Added new file for machine/os specific
12312 info that is relevent to things outside the base library.
12313 * configure.in: Build GSConfig.h
12314 * configure: Build GSConfig.h
12315 * src/GNUmakefile: Move GSConfig.h into place
12316 * src/Makefile.postamble: Install GSConfig.h
12317 * src/include/NSByteOrder.h: include GSConfig.h
12318
12319 Sat Dec 12 15:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12320
12321 * Tools/Makefile.postamble: Added check that you are installing gdomap
12322 as root and output warnign if not.
12323
12324 Mon Dec 7 10:00:34 1998 Adam Fedor <fedor@ultra.doc.com>
12325
12326 * src/NSConcreteNumber.m ([NumberTemplate
12327 -descriptionWithLocale:]): Print BOOL value as a special case.
12328
12329 * src/NSProcessInfo.m: Use fake-main if FreeBSD.
12330 * src/include/fake-main.h: Likewise.
12331
12332 Sun Dec 6 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12333
12334 * src/NSDate.m: removed +initialize - moved default locale info to
12335 NSUserDefaults.
12336 * src/NSUserDefaults.m: Added code to set up default locale info.
12337
12338 Thu Dec 3 16:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12339
12340 * src/NSDictionary.m: Removed filesystem methods - conflict with
12341 versions in NSFileManger.
12342 * src/include/NSDictionary.h: Ditto
12343 * src/NSFileManager.m: Updated dictionary access methods to MacOS spec
12344 * src/include/NSFileManager.h: Ditto.
12345 * src/include/NSUserDefaults.h: Made constant strings 'const'.
12346 * src/include/externs.m: Made constant strings 'const'.
12347
12348 Thu Dec 3 11:00:46 1998 Adam Fedor <fedor@ultra.doc.com>
12349
12350 * aclocal.m4: Add OBJC_CON_AUTOLOAD and OBJC_SYS_AUTOLOAD
12351 requirements to OBJC_SYS_DYNAMIC_LINKER test.
12352
12353 Wed Dec 2 16:11:05 1998 Adam Fedor <fedor@ultra.doc.com>
12354
12355 * src/NSDictionary.m (-fileGroupOwnerAccountName): New method.
12356 (-fileModificationDate): Likewise.
12357 (fileOwnerAccountName): Likewise.
12358 (filePosixPermissions): Likewise.
12359 (fileSize): Likewise.
12360 (fileSystemFileNumber): Likewise.
12361 (fileSystemNumber): Likewise.
12362 (fileType): Likewise.
12363 * src/include/NSDictionary.h: New methods. Contributed by Camile
12364 TROILLARD <tuscland@wanadoo.fr>.
12365
12366 Wed Dec 2 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12367
12368 * src/GNUmakefile: Added NSDateFormatter
12369 * src/Makefile.postamle: Bugfix in installation - was adding service
12370 entries when not needed.
12371 * src/NSDate.m: Added natural language support.
12372 * src/NSDateFormatter.m: Implemented this class.
12373 * src/externs.m: Added natural language support.
12374 * src/include/Foundation.h: Added missing headers.
12375 * src/include/NSDate.h: Added natural language stuff.
12376 * src/include/NSDateFormatter.h: Contributed by Camile TROILLARD
12377 <tuscland@wanadoo.fr> and updated to match implementation.
12378 * src/include/NSDecimalNumber.h: Added header (contributed by Camile) -
12379 no implementation yet.
12380 * src/include/NSDecimal.h: Added header - no implementation yet.
12381 * src/include/NSUserDefaults.h: Added natural language stuff.
12382
12383 Tue Dec 1 09:31:59 1998 Adam Fedor <fedor@ultra.doc.com>
12384
12385 * src/Makefile.postamble: new variable INSTALL_ROOT_DIR, such that
12386 /etc/services can be installed somewhere (need this for building
12387 Debian binary packages). Patch from Matthias Klose
12388 <doko@cs.tu-berlin.de>.
12389
12390 Mon Nov 30 10:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12391
12392 * src/NSTask: Minor bugfix -ignore SIGCHLD
12393 * src/NSUserDefaults: bugfix in registerDefaults: was replacing rather
12394 than addning defaults. Also changed to cache dictionaryRepresaentation.
12395 * src/include/NSUserDefaults.h: Added ivar to cache dictionary
12396 representation.
12397 * src/include/NSDate.h: Updated header for a couple of fixes.
12398 * src/NSDate.m: Initialise locale stuff.
12399 * src/NSCalendarDate.m: Use locale stuff.
12400
12401 Fri Nov 27 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12402
12403 * src/NSPortNameServer.m: ([_open]) changed to stop attempts to restart
12404 the name server when a connect to ANOTHER host fails. Also improved
12405 log messages to identify the host we failed to connect to. Also
12406 added support for overriding the default port fo the name server.
12407 * Tools/gdomap.h: updated comments to talk about NSPortNameServer.m
12408
12409 Fri Nov 27 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12410
12411 * src/NSObjCRuntime.m: minor performance improvment.
12412 * src/NSUnarchiver.m: more performance improvements.
12413 * src/NSObject.m: Fix error introduced in last mod.
12414
12415 Thu Nov 26 13:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12416
12417 * src/NSObject.m: ([+instanceRespondToSelector:]) and
12418 ([-respondsToSelector:]) changed to use __objc_responds_to() for an
12419 order of magnitude performance boost.
12420
12421 Thu Nov 26 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12422
12423 * src/NSRunLoop.m: Bugfix in ([-addEvent:type:watcher:forMode:]) to get
12424 the count of numbers of time a watcher has added a descriptor correct.
12425
12426 Wed Nov 25 16:27:52 1998 Adam Fedor <fedor@ultra.doc.com>
12427
12428 * src/include/fast.x: Add #ifndef/#define around file.
12429
12430 Wed Nov 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12431
12432 * src/NSPortNameServer.m: Made more tolerant of badly set up systems.
12433 * src/Makefile.postamble: Modified to make rule for placing gdomap in
12434 /etc/services more portable.
12435
12436 Tue Nov 24 4:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12437
12438 * src/Tools/GNUmakefile: removed make_services
12439 * src/Tools/make_services.m: Removed - moved to gui library.
12440 * src/NSBundle.m: Changed Info.plist to Info-gnustep.plist since
12441 that's what GNUstep uses instead.
12442
12443 Fri Nov 20 20:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12444
12445 * src/Makefile.postamble: Added dependencies for FastArray.x and added
12446 simple stuff to append gdomap port entries to /etc/services after
12447 install (if not already present).
12448
12449 Fri Nov 20 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12450
12451 * src/NSSerializer.m: Added GNUstep specific methods for controlling
12452 format to optimise serialisation for property lists containing
12453 repeated strings.
12454 * src/include/NSSerializer.h: ditto
12455 * src/FastArray.x: inline implementation of fast array code for stuff
12456 that doesn't need to be retained etc. Minimal functionality so far.
12457 * src/Fastmap.x: Tidied indentation etc.
12458 * src/include/NSArchiver.h: Use FastArray
12459 * src/NSUnarchiver.m: Use FastArray
12460 * src/NSAutorleasePool.m: Optimize implementation of +new
12461 * src/NSArray.m: Use ([NSAutoreleasePool +new])
12462 * src/NSDictionary.m: Use ([NSAutoreleasePool +new])
12463 * src/NSFileManager.m: Use ([NSAutoreleasePool +new])
12464 * src/NSPort.m: Use ([NSAutoreleasePool +new])
12465
12466 Thu Nov 19 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12467 * src/Archiver.m: Got rid of 'assert' - replace with 'NSAssert' etc.
12468 * src/BinaryTree.m: ditto
12469 * src/Coder.m: ditto
12470 * src/Collection.m: ditto
12471 * src/ConnectedCoder.m: ditto
12472 * src/Invocation.m: ditto
12473 * src/LinkedList.m: ditto
12474 * src/MachPort.m: ditto
12475 * src/NSAutoreleasePool.m: ditto
12476 * src/NSBundle.m: ditto
12477 * src/NSConnection.m: ditto
12478 * src/NSCountedSet.m: ditto
12479 * src/NSDate.m: ditto
12480 * src/NSDistantObject.m: ditto
12481 * src/NSGArchiver.m: ditto
12482 * src/NSGSequence.m: ditto
12483 * src/NSObject.m: ditto
12484 * src/NSPortCoder.m: ditto
12485 * src/NSRunLoop.m: ditto
12486 * src/NSSet.m: ditto
12487 * src/NSTimer.m: ditto
12488 * src/NSZone.m: ditto
12489 * src/NotificationDispatcher.m: ditto
12490 * src/OrderedCollection.m: ditto
12491 * src/Port.m: ditto
12492 * src/Random.m: ditto
12493 * src/Storage.m: ditto
12494 * src/TcpPort.m: ditto
12495 * src/UdpPort.m: ditto
12496 * src/behavior.m: ditto
12497 * src/mframe.m: ditto
12498
12499 Thu Nov 19 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12500
12501 * src/include/NSSerializer.h: Removed erroneous protocol conformance
12502 for NSSerializer and NSDeserializer.
12503 * src/NSSerializer.m: Complete rewrite - full OpenStep compatibility
12504 and huge speed increase.
12505 * doc/todo.tmpl.texi: Update todo list.
12506 * checks/benchmark.m: Added benchmarks for serializing/deserializing
12507 property lists and archiving/unarchiving them.
12508 * src/NSString.m: Fix bug returning arrya in completePathIntoString
12509
12510 Thu Nov 19 12:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12511
12512 * src/NSData.m: ([-encodeWithCoder:]) bugfix for case where data object
12513 is of length zero.
12514
12515 Wed Nov 18 9:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12516
12517 * Tools/make_services.m: New tool
12518 * Tools/GNUmakefile: Added make_services
12519 * Tools/Makefile.postamble: Tidied installation for gdnc
12520 * src/NSDistributedNotificationCenter.m: Start server with full path.
12521
12522 Mon Nov 16 14:29:35 1998 Adam Fedor <fedor@ultra.doc.com>
12523
12524 * src/NSBundle.m [+allBundles]: New method (unimplemented).
12525 [+allFrameworks]: Likewise.
12526 * src/NSCharacterSet.m [+punctuationCharacterSet]: Likewise.
12527 * src/NSLock.m [-lockBeforeDate:]: Likewise.
12528 [-lockWhenCondition:beforeDate:]: Likewise.
12529 * src/NSConnection.m: Likewise.
12530 * src/include/NSBundle.h: New methods;
12531 * src/include/NSCharacterSet.h: Likewise.
12532 * src/include/NSLock.h: Likewise.
12533 * src/include/NSConnection.h: Likewise (fixes from TROILLARD
12534 Camille <tuscland@wanadoo.fr>).
12535
12536 * src/include/fast.x: Fix /* in comment.
12537
12538 Thu Nov 12 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12539
12540 src/NSFormatter.m: New class
12541 src/include/NSFormatter.h: New class
12542 src/NSRunLoop.m: Misc optimisations
12543 src/NSGString.m: slight ([-cString]) optimisation.
12544 src/NSGCString.m: slight ([-cString]) optimisation.
12545 src/NSObject.m: fast allocation of temporary memory.
12546 src/include/fast.x: fast allocation of temporary memory.
12547
12548 Tue Nov 10 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12549
12550 * src/NSScanner.m: ([-scanString:intoString:]) bugfix to check length
12551 of the string we are looking for and simply return NO if it is longer
12552 than the data remaining in the string being scanned. Previously it
12553 would have raised an exception - which it shouldn't.
12554
12555 Mon Nov 9 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12556
12557 * src/externs.m: corrected notification name for user defaults.
12558 * src/NSUserDefaults.m: corrected notification name.
12559 * src/include/NSUserDefaults.h: corrected notification name.
12560
12561 Mon Nov 9 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12562
12563 * src/externs.m: fixed error in hashtable constants.
12564 * src/NSDistributedNotificationCenter.m: pugfix in check for
12565 posting of notification. Changed to pass selectors as strings.
12566 * Tools/gdnc.h: Pass selectors as strings. make posting oneway
12567 * Tools/gdnc.m: Pass selectors as strings, plus many bugfixes.
12568
12569 Mon Nov 2 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12570
12571 Tidied header files for NO_GNUSTEP/STRICT_OPENSTEP stuff.
12572 * src/NSDistributedNotificationCenter.m: New class (untested)
12573 * src/include/NSDistributedNotificationCenter.m: New class
12574 * src/GNUmakefile: Added NSDistributedNotificationCenter
12575 * src/Tools/gdnc.m: Server for distributed notifications (untested)
12576 * src/Tools/gdnc.h: Include for distributed notifications
12577 * src/Tools/GNUmakefile: Added gdnc
12578
12579 Fri Oct 30 09:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12580
12581 * src/include/NSPortNameServer.h: Added ([-removePort:]) method in a
12582 GNUstep catagory so that ports can unregister all their names at one
12583 go. Added maps of names and ports to keep track.
12584 * src/include/Port.h: removed [-invalidate] - inherit from NSPort
12585 * src/Port.m: removed [-invalidate] - inherit from NSPort
12586 * src/NSPort.m: made [-invalidate] method remove all the ports names
12587 from the name server and send the invalidation notification.
12588 * src/NSPortNameServer.m: Keep track of name/port mappings and, the
12589 first time a name is registered for a port, tell gdomap to remove
12590 any pre-existing names for that port (left around from a crashed
12591 server perhaps).
12592
12593 Thu Oct 29 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12594
12595 * src/UnixFileHandle.m: Improved handling of error conditions on
12596 background connection operations. Disable SIGPIPE to avoid abort
12597 when we attempt to write to a socket that's closed by the other end.
12598 * src/TCPPort.m: Modified to use NSPortNameServer, also changed to
12599 disable SIGPIPE on initialisation only, not on every write.
12600 * src/include/NSPortNameServer.h: new class.
12601 * src/NSPortNameServer.m: new class.
12602 * src/GNUmakefile: Added NSPortNameServer.
12603
12604 Wed Oct 28 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12605
12606 * Tools/gdomap.c: Added command-line options to lookup, register, and
12607 unregister a name for a port - basically for debugging purposes.
12608 * src/TcpPort.m: Modified port registration code to cope with the
12609 case where a server dies and is restarted, and tries to use the
12610 same ip port number it has before it died.
12611 * checks/nsinvocation.m: Added archiving checks.
12612 * src/NSInvocation.m: Archiver bugfixes
12613 * src/include/NSInvocation.h: Archiver bugfixes
12614 * src/NSData.m: Serialisation bugfixes
12615 * src/NSArchiver.m: Archiver bugfixes
12616 * src/NSUnarchiver.m: Archiver bugfixes
12617
12618 Tue Oct 27 08:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12619
12620 Corrected all the collection classes to return the count of objects
12621 in the collection as the ([-hash]) in conformance with the latest
12622 documentation.
12623
12624 Mon Oct 26 10:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12625
12626 * src/NSGCString.m: Implemented ([-copy]) and ([-copyWithZone:]) to
12627 work without invoking any methods uing the runtime - much faster.
12628 * src/NSObject.m: Bugfix and performance improvement to the -perform...
12629 methods. They previously threw an exception if the method referred
12630 to by the selector was not implemented (when they should have tried
12631 forwarding instead) rather than when passed a nul selector.
12632
12633 Sun Oct 25 08:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12634
12635 * src/NSObject.m: Cache implementation for adding object to autorelease
12636 pool to avoid objc runtime messaging overhead.
12637 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12638 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12639 autorelease pool to avoid objc runtime messaging overhead.
12640 * src/NSGCString.m: Implemented ([+allocWithZone:])
12641 * src/NSGString.m: Implemented ([+allocWithZone:])
12642
12643 Sat Oct 24 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12644
12645 * src/NSArchiver.m: New implementation
12646 * src/NSArchiver.m: New file
12647 * src/GNUmakefile: Added NSUnarchiver.m
12648 * src/include/NSArchiver.h: New version
12649 New Archiver/unarchiver - OPENSTEP complient (I think).
12650 Basic functionality tested fairly thoroughly, some of the more
12651 unusual bits untested so far. Mechanisms for adding other backends
12652 in place, but untested. Performance may be around four times that
12653 of the old version though there is still a little (very little)
12654 room for improvement.
12655
12656 Thu Oct 22 21:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12657
12658 * src/NSData.m: Added support for serialisation of Class and SEL types
12659 and made a more efficient version of the main deserialisation code
12660 in the NSDataStatic class.
12661
12662 Wed Oct 21 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12663
12664 * src/NSData.m: Reorganized and optimised.
12665 * src/NSGArray.m: optimised coding/decoding
12666 * src/NSGCountedSet.m: optimised coding/decoding
12667 * src/NSGDictionary.m: optimised coding/decoding
12668 * src/NSGSet.m: optimised coding/decoding
12669 * src/NSObject.m: cache data classes
12670 * src/NSString.m: Added (nonstandard) ([-boolValue]) method
12671 * src/include/NSData.h: Added ([-relinquishAllocatedBytesFromZone:])
12672 * src/include/NSString.h: Added (nonstandard) ([-boolValue]) method
12673 * src/include/NSPortMessage.h: Added (as yet unused) class.
12674 * src/NSPortMessage.m: Added (as yet unused) skeleton implementation.
12675
12676 Thu Oct 17 08:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12677
12678 * src/NSGDictionary.m: Added checks for invalid parameters.
12679 * src/NSGSet.m: Added checks for invalid parameters.
12680 * src/NSGCountedSet.m: Added checks for invalid parameters.
12681
12682 Thu Oct 15 08:13:12 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12683
12684 * src/NSString.m ([NSString
12685 -completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:]):
12686 Implement.
12687
12688 Thu Oct 15 06:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12689
12690 * src/BinaryCStream.m: Update system version number
12691 * src/NSCalendarDate.m: Implemented ([-copyWithZone:])
12692 * src/NSCountedSet.m: Rewrite ([-copyWithZone:])
12693 * src/include/NSData.h: Added GNUstep specific method for more
12694 efficient zone use.
12695 * src/NSData.m: Modified throughout to use NSZone functions for
12696 managing content memory.
12697 * src/NSGArray.m: Modified to use NSZone functions for managing
12698 content memory. Also tidied coding methods.
12699 * src/include/NSGCString.h: Modified to use NSZone for contents.
12700 * src/NSGCString.m: Modified to use NSZone for contents and fixed
12701 bug in coding (couldn't cope with embedded nuls in string).
12702 * src/NSGDictionary.m: Modified to use NSZone for contents.
12703 * src/include/NSGString.h: Modified to use NSZone for contents.
12704 * src/NSGString.m: Modified to use NSZone for contents.
12705 * src/NSObject.m: Added fastZone() function.
12706 * src/PortCoder.m: Updated system version number
12707 * src/include/NSSet.h: Added ([+setWithSet:])
12708 * src/NSSet.m: Added ([+setWithSet:]) and fixed ([-copyWithZone:])
12709 * src/include/NSString.h: Added GNUstep specific methods for faster
12710 use of zones.
12711 * src/NSString.m: Modified to use NSZone functions for contents.
12712 * src/include/NSZone.h: Removed non-existent methods and changed
12713 structure layout to support NSZoneFromPointer()
12714 * src/NSZone.m: Rewrite to support NSZoneFromPointer(),
12715 NSRecycleZone() and fix a couple of bugs. Needs more work to
12716 make simpler and more efficient.
12717 * src/include/fast.x: Added fastZone()
12718
12719 Wed Oct 14 11:29:11 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12720
12721 * src/NSString.m ([NSString -stringByResolvingSymlinksInPath]):
12722 Implement.
12723
12724 Wed Oct 14 10:27:47 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12725
12726 * src/NSString.m ([NSString +pathWithComponents:]):
12727 Use the first object of components as the base path string
12728 instead of null string([NSString string]).
12729
12730 Tue Oct 13 09:24:17 1998 Adam Fedor <fedor@doc.com>
12731
12732 * src/include/NSNotification.h: Addd placeholder in
12733 NSNotificationCenter for size of NotificationDispatcher.
12734
12735 The Oct 8 15:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12736
12737 * src/FastMap.x: Minor bugfixes and updates.
12738 * src/NSArray.m: Optimisation - don't use malloc unless really needed.
12739 * src/NSCountedSet.m: Tidied
12740 * src/NSSet.m: Tidied - core/non-core separation made.
12741 * src/NSGArray.m: Rewrite - simpler and faster.
12742 * src/NSGCountedSet.m: Rewrite to use FastMap (and work).
12743 * src/NSGDictionary.m: Tidied initialisation.
12744 * src/NSGSet.m: Rewrite to use FastMap - much faster.
12745 * src/include/NSSet.h: tidied - core/non-core stuff.
12746
12747 Tue Oct 6 16:35:48 1998 Adam Fedor <fedor@doc.com>
12748
12749 * aclocal.m4: Add win32 test
12750 * configure.in: Use DYNAMIC_LINKER test.
12751 * src/GNUmakefile: Add win32-load.h
12752 * src/win32-load.h: New file.
12753
12754 Tue Oct 6 16:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12755
12756 * src/FastMap.x: New map table for dictionaries.
12757 * src/include/fast.x: New stuff for avoiding objc message overheads.
12758 * src/NSGCString.m: Hashing and comparison performance improvments
12759 * src NSGDictionary.m: Optimisation
12760 * src NSGString.m: Optimisation
12761 * src/NSObject.m: Optimisation
12762 * src/NSString.m: Optimisation
12763
12764 Sat Oct 3 23:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12765
12766 * src/NSString.m: Moved NXConstantString stuff out to NSGCString.m
12767 * src/NSGCString.m: Added NXConstantString (inherits from NSGCString)
12768 and modified for efficient ([-isEqual:]) and ([-isEqualToString:])
12769 methods.
12770
12771 Thu Sep 30 17:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12772
12773 More performance work - huge improvement in dictionary lookup and
12774 perhaps 15 percent improvement elsewhere.
12775 * src/NSString.m: ([-hash]) changed hash generation to produce a
12776 more evenly distributed value so that dictionary lookup works
12777 better for large dictionaries full of similar keys.
12778 * src/NSDictionary.m: ([+dictionaryWithObjectsAndKeys:,...]) fixed
12779 memory leak.
12780 * src/include/NSGDictionary.h: Removed - not needed.
12781 * src/NSGDictionary.m.old: Backup added.
12782 * src/NSGDictionary.m: Complete rewrite.
12783 * src/FastMap.x: New map table stuff for NSGDictionary.
12784
12785 Thu Sep 30 7:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12786
12787 Changes to slightly more than double the speed of dictionary
12788 lookups for string keys.
12789 * src/NSGString: Added efficient -isEqual and -isEqualToString
12790 * src/NSGCString: Speeded up -isEqual and -isEqualToString
12791
12792 Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12793
12794 * src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
12795 an object is autoreleased without a pool being present.
12796 This should avoid many mistakes by newbies who don't understand
12797 the retain/release/autorelease mechanism (perhaps it'll encourage
12798 them to read up about it). It also serves as a useful reminder
12799 when you DO know what you are doing.
12800
12801 Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12802
12803 * Removed MallocAddress class -
12804 use ([NSData +dataWithBytesNoCopy:length:]) instead.
12805 * src/NSConnection.m: ([-forwardForProxy:selector:argFrame:])
12806 modifield to cope better when passed a selector without types.
12807 * src/Encoder.m: Modified to encode selector without type if needed.
12808 * Tools/dwrite.m: Removed references to cStringNoCopy
12809 * src/BinaryTree.m: Removed references to cStringNoCopy
12810 * src/Collection.m: Removed references to cStringNoCopy
12811 * src/Encoder.m: Removed references to cStringNoCopy
12812 * src/KeyedCollection.m: Removed references to cStringNoCopy
12813 * src/MemoryStream.m: Removed references to cStringNoCopy
12814 * src/NSCalendarDate.m: Removed references to cStringNoCopy
12815 * src/NSData.m: Removed references to cStringNoCopy
12816 * src/NSGCString.m: Removed references to cStringNoCopy
12817 * src/NSGString.m: Removed references to cStringNoCopy
12818 * src/NSHashTable.m: Removed references to cStringNoCopy
12819 * src/NSLog.m: Removed references to cStringNoCopy
12820 * src/NSMapTable.m: Removed references to cStringNoCopy
12821 * src/NSPortCoder.m: Removed references to cStringNoCopy
12822 * src/NSString.m: Removed references to cStringNoCopy
12823 * src/NSTimeZone.m: Removed references to cStringNoCopy
12824 * src/NSUser.m: Removed references to cStringNoCopy
12825 * src/NSZone.m: Removed references to cStringNoCopy
12826 * src/StdioStream.m: Removed references to cStringNoCopy
12827 * src/Stream.m: Removed references to cStringNoCopy
12828 * src/TextCStream.m: Removed references to cStringNoCopy
12829 * src/UdpPort.m: Removed references to cStringNoCopy
12830 * src/UnixFileHandle.m: Removed references to cStringNoCopy
12831 * src/lex.pl.m: Removed references to cStringNoCopy
12832 * src/lex.sf.m: Removed references to cStringNoCopy
12833 * src/mframe.m: Removed references to cStringNoCopy
12834 * src/o_hash.m: Removed references to cStringNoCopy
12835 * src/o_x_base.m.in: Removed references to cStringNoCopy
12836
12837 Tue Sep 29 13:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12838
12839 * src/include/Foundation.h: Added some missing files.
12840 * src/NSDistantObject.m: Fixed ([-methodSignatureForSelector:)]
12841
12842 Mon Sep 28 17:02:33 1998 Adam Fedor <fedor@ultra.doc.com>
12843
12844 * src/include/NSObject.h (-perform:, -perform:withObject:,
12845 -perform:withObject:withObject:): Remove definitions (use
12846 performSelector:... instead.
12847 (+class, +superclass, +setVersion:, +version): Add.
12848 Rearrange some other method definitions.
12849 * src/include/NSProxy.h: Likewise.
12850
12851 * src/NSObject.m (+class): Add.
12852 (-perform:, -perform:withObject:,
12853 -perform:withObject:withObject:): Depreciate these methods.
12854 * src/Proxy.m: Likewise.
12855
12856 * src/Collection.m: Use performSelector instead of perform.
12857 * src/IndexedCollection.m: Likewise.
12858 * src/NSArray.m: Likewise.
12859 * src/NSRunLoop.m: Likewise.
12860 * src/NSSet.m: Likewise.
12861 * src/NSTimer.m: Likewise.
12862 * src/NotificationDispatcher.m: Likewise.
12863
12864 * src/NSException (-initWithCoder:): Fix object decoding.
12865
12866 Fri Sep 18 10:20:55 1998 Adam Fedor <fedor@ultra.doc.com>
12867
12868 * src/include/preface.h.in (MIN, MAX): Rewrite macros (suggestion
12869 from Tom Hageman <tom@basil.icce.rug.nl>.
12870
12871 Thu Sep 10 06:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12872
12873 * src/NSFileHandle.m: Implemented [(-waitForDataInBackground])
12874 * src/UnixFileHandle.m: Implemented [(-waitForDataInBackground])
12875 * src/include/NSFileHandle.h: Added [(-waitForDataInBackground])
12876 * src/externs.m: Fixed error in hash callbacks name.
12877 * src/Set.m: Fixed error in hash callbacks name.
12878 * src/include/NSHashTable.h: Fixed error in hash callbacks name.
12879 * src/NSRunLoop.m: minor efficiency hack - don't use autoreleasing
12880 arrray construction methods when we are going to retain immediately.
12881
12882 Fri Sep 04 08:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12883
12884 * src/NSUserDefaults.m: ([-setObjectsforKey:], [-removeObjectForKey:])
12885 fixed to make domain dictionarys mutable if required.
12886 * src/externs.m: Updated notification name for defaults.
12887 * src/include/NSUserDefaults.h: Updated notification name.
12888
12889 Mon Aug 31 16:28:58 1998 Adam Fedor <fedor@ultra.doc.com>
12890
12891 * src/NSBundle.m (+mainBundle:): Remove *_obj directory to
12892 find main bundle path.
12893
12894 Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12895
12896 * src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should.
12897 * src/NSCalendarDate.m, src/NSException.m, src/NSGAttributedString.m,
12898 src/NSHost.m, src/NSLog.m, src/NSProcessInfo.m, src/NSTimeZone.m:
12899 tidied coding/decoding and logging.
12900 * src/NSString.m: Added implementation of [-zone] for constnat strings.
12901
12902 Wed Sep 02 13:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12903
12904 * src/NSRunLoop.m: ([-cancelPerformSelector:target:argument:]) bugfix
12905 supplied by masata-y@is.aist-nara.ac.jp - was incrementing loop index
12906 when should have been decrementing.
12907
12908 Mon Aug 24 09:22:17 1998 Adam Fedor <fedor@ultra.doc.com>
12909
12910 * doc/gnustep-base.tmpl.texi: Fix up doc problems.
12911 * doc/todo.tmpl.texi: Likewise.
12912
12913 Thu Aug 20 11:50:23 1998 Adam Fedor <fedor@doc.com>
12914
12915 * src/mframe.m (mframe_next_arg): Fixes from Richard
12916 Frith-Macdonald <richard@brainstorm.co.uk>.
12917
12918 Tud Aug 13 21:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12919
12920 Rewrite of maframe stuff and associated things to get DO and
12921 NSInvocations working for ALL data types. Configuration files for
12922 GNU/Linux on a PC and sunos4.1.3 on sparc provided (and tested).
12923
12924 * src/NSObject: Fixed code to local reference counts to get object
12925 alignment right on machines that have strict restrictions on the
12926 alignment of doubles (eg sparc).
12927 Also updated forwarding of invocations to work with new code.
12928 * src/NSInvocation.m: Rewrite from scratch to use new mframe code.
12929 * src/NSMethodSignature.m: Rewrite from scratch to use new mframe code.
12930 * src/mframe.m: Modified to use new information set up by config
12931 * configure.in: Run configure in src/mframe
12932 * src/mframe: New configuration directory for mframe stuff.
12933 * src/include/mframe.h: Deleted - now generated by config process.
12934
12935 Wed Aug 12 14:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12936
12937 * src/NSBundle: ([+initialize]) modified to take account of the
12938 environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
12939 GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.
12940
12941 Fri Aug 4 10:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12942
12943 * src/GNUmakefile: Removed NSAllocateObject.m and
12944 NSDeallocateObject.m (contents merged into NSObject.m).
12945 * src/NSObject.m: Modified to perform storage of retain counts local
12946 to the objects concerned in order to speed up performance - also
12947 modified to cache an objects zone with it - in order to maintain
12948 (or better) current performance when we get the NSZone code fixed
12949 to work with malloced memory.
12950 * src/include/NSObjCRuntime.h: Removed NSDebugLog()
12951 * src/include/NSDebug.h: Added new version of NSDebugLog()
12952 * src/include/NSProcessInfo.h: Added [-debugArray] method.
12953 * src/NSProcessInfo.m: Added [-debugArray] method and modified to
12954 parse arguments list and remove debug options, putting them in a
12955 mutable array (returned by [-debugArray]).
12956 * src/externs.m: Removed NSDebugLogging.
12957 * src/NSBundle.m: Modified to use new version of NSDebugLog().
12958
12959 Thu Aug 3 15:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12960
12961 * src/include/NSGCString.h: Added _hash instance variable.
12962 * src/include/NSGString.h: Added _hash instance variable.
12963 * src/NSGCString.m: Added implementation of [-hash] to handle caching
12964 of strings hash value, also added implementation of a few other
12965 methods for the sake of performance. Modified NSGMutableCString
12966 methods to reset hash cache when string is modified.
12967 * src/NSGString.m: Added implementation of [-hash] to handle caching
12968 of strings hash value. Modified NSGMutableString methods to reset
12969 hash cache when string is modified.
12970 * src/NSString.m: Misc performance hacks - use alloca() rather than
12971 malloc/free where possible etc.
12972 YMMV, but the above changes got me a 20% performance improvement in
12973 the app I was working with.
12974 * src/o_map.m: Don't use o_map_key_callbacks() - access the field
12975 in the structure directly to avoid the function-call overhead as this
12976 function was being called LOTS of times. Only a tiny performance
12977 improvement - but every little helps.
12978
12979 Thu Jul 30 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12980
12981 * src/include/NSSet.h: Corrected protocol conformance
12982 * src/NSSet.m: Added ([-encodeWithCoder:]), ([-initWithCoder:]).
12983 Fixed ([-copyWithZone:]) to remove memory and to simply retain where
12984 possible.
12985 Implemented ([-description]) and ([-descriptionWithLocale:]).
12986 * src/NSGCountedSet.m: Removed ([-initWithCapacity:]) and fixed
12987 enumerator.
12988 * src/include/NSDictionary.h: Added ([+dictionaryWithObject:forKey:])
12989 and corrected protocol conformance.
12990 * src/NSDictionary.m: Added ([+dictionaryWithObject:forKey:])
12991
12992 Wed Jul 29 15:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12993
12994 * src/Collection.m: Removed [-copy]
12995 * src/include/Collecting.h: likewise
12996 * src/NSAttributedString.m: fixed ([-copy]) and ([-isEqual:])
12997 * src/NSCharacterSet.m: implemented (inefficiently) ([-isEqual:])
12998
12999 Wed Jul 29 9:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13000
13001 * src/TcpPort.m: typecast to get rid of warning
13002 * src/NSCharacterSet.m: Added NSCoding methods.
13003 * src/NSBitmapCharSet.m: Added NSCoding methods.
13004 * src/NSHost.m: typecast to get rid of warning.
13005 * src/NSData.m: ([-copy]) removed.
13006 * src/NSDictionary.m: ([-copy]) removed.
13007 * src/NSGSequence.m: ([-copy]) removed.
13008 * src/NSScanner.m: ([-copy]) removed.
13009 * src/NSArray.m: ([-copy]) removed.
13010 * src/NSAttributedString.m: ([-copy]) removed.
13011 * src/NSString.m: ([-copy]) removed.
13012 * src/NSObject.m: ([-copyWithZone:]) modified to conform strictly
13013 to Rhapsody docs. Added ([+instanceMethodSignatureForSelector:]).
13014 * src/include/IndexedCollectionPrivate.h: fixed include for NSString.h
13015 * src/Makefile.postamble: modified rule for building srcdir-include
13016 stuff so that it works for me.
13017 * src/NSException.m: ([-copyWithZone:]) typecast to get rid of warning.
13018 * src/NSValue.m: ([-copyWithZone:]) typecast to get rid of warning.
13019 * src/NSDistantObject.m: fixed ([-classForPortCoder]) for Protocol.
13020
13021 Tue Jul 28 12:57:54 1998 Adam Fedor <fedor@ultra.doc.com>
13022
13023 * src/GNUmakefile: Remove NEXTSTEP classes.
13024
13025 * src/NSConcreteNumber [-copy]: Removed.
13026 [-copyWithZone:]: Likewise.
13027 * src/NSNumber: [-copy]: Implement
13028 [-copyWithZone:]: Likewise.
13029 * src/NSDate.m [-copyWithZone:]: Correct implementation.
13030 * src/NSException.m [-copyWithZone:]: Likewise.
13031 * src/NSPort.m: [-copyWithZone:]: Likewise.
13032 * src/NSValue.m: [-copyWithZone:]: Likewise.
13033
13034 Tue Jul 21 09:15:32 1998 Adam Fedor <fedor@ultra.doc.com>
13035
13036 * src/GNUmakefile: Removed redundant classes.
13037 * src/Connection: Removed.
13038 * src/Lock: Likewise.
13039 * src/Notification: Likewise.
13040 * src/Proxy: Likewise.
13041 * src/include/Connection.h, src/include/Lock.h,
13042 src/include/Notification.h, src/include/Proxy.h: Likewise.
13043 * src/include/RetainingNotifier.h: Removed.
13044 * src/libgnustep-base.def: Removed reference to redundant classes.
13045 * src/include/ConnectedCoder.h: Likewise
13046 * src/include/NSConnection.h: Likewise
13047 * src/include/NSNotification.h: Likewise
13048 * src/include/NSPort.h: Likewise
13049 * src/include/all.h: Likewise
13050 * src/ConnectedCoder.m: Likewise
13051 * src/Makefile.postamble: Likewise
13052 * src/MachPort.m: Likewise
13053 * src/NSConnection.m: Likewise
13054 * src/NotificationDispatcher.m: Likewise
13055 * src/NSNotification.m: Likewise
13056 * src/Port.m: Likewise
13057 * src/TcpPort.m: Likewise
13058 * src/behavior.m: Likewise
13059 * src/NSThread.m: Likewise
13060 * src/UdpPort.m: Likewise
13061 * examples/first-client.m, examples/first-server.h,
13062 examples/first-server.m, examples/second-client.h,
13063 examples/second-client.m, examples/second-server.h,
13064 examples/second-server.m: Removed.
13065
13066 * src/NSRunLoop.m: Add time.h (For GNU/Linux-2.0)
13067 * src/TcpPort.m: Likewise.
13068 * src/UdpPort.m: Likewise.
13069 * sec/UnixFileHandle.m: Likewise.
13070
13071 Wed Jul 20 21:25:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13072
13073 * src/Decoder.m: ([-decodeClass]) modified to ensure correct decoding
13074 instances of classes relying on multiple inheritance.
13075
13076 Tue Jul 14 16:26:36 1998 Adam Fedor <fedor@doc.com>
13077
13078 * src/Makefile.postamble (gnustep/base): Fixup dir creation.
13079 (Foundation): Likewise.
13080
13081 * src/externs.m: New NSDebugLogging variable.
13082 * src/include/NSObjCRuntime: Change NSDebugLog so it works when
13083 DEBUG is defined and NSDebugLogging is set.
13084 * src/NSBundle.m: Use it.
13085
13086 * src/include/Foundation.h: Include NSTimer.h
13087 * src/include/NSObject.h: Define +instanceMethodSignatureForSelector:
13088
13089 Tue Jul 14 10:06:31 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13090
13091 * checks/nsset.m : Added new testing functions.
13092 (intersects_set_test): Likewise.
13093 (is_subset_of_set_test): Likewise.
13094
13095 * src/include/NSSet.h ([NSSet -setWithObjects:]): Remove the type
13096 declaration of arguments, "NSArray *". The arguments should be
13097 declared as id.
13098
13099 * src/NSSet.m ([NSSet -isSubsetOfSet:otherSet]): Implement.
13100 ([NSSet -intersectsSet:otherSet]): Likewise.
13101
13102 Wed Jul 15 12:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13103
13104 * src/Invocation.m: Rewrote ([-invoke]) to retrieve return values
13105 correctly by using mframe_decode_return()
13106
13107 * src/NSCharacterSet.m: Fixed ([-copyWithZone:]) to avoid using the
13108 (non-existant) NSObject method.
13109
13110 * src/NSFileHandle.m: Modified method for making socket connections
13111 and added a synchronous version.
13112
13113 * src/NSObjCRuntime.m: Tidied and added NSGetSizeAndAlignment().
13114
13115 * src/NSObject.m: Removed ([-copyWithZone:]) and
13116 ([-mutableCopyWithZone:]) (which shiould not exist in NSObject).
13117
13118 * src/NSString.m: Fixed implementation of the
13119 ([-rangeOfCharacterFromSet:options:range:]) method.
13120
13121 * src/UnixFileHandle.m: Various bug fixes for synchronous operations.
13122
13123 * src/mframe.m: Added mframe_decode_return() function to get the
13124 return value out of a retframe.
13125
13126 * src/include/NSCharacterSet.h: Modified to say we conform to the
13127 NSCoding protocol (whith the spec says we should).
13128
13129 * src/include/NSFileHandle.h: Altered methods for making a network call.
13130
13131 * src/include/NSObjCRuntime.h: Added NSGetSizeAndAlignment().
13132
13133 * src/include/NSObject.h: Removed stuff saying we conform to the
13134 NSCoding and NSCopying protocols (we shouldn't) and removed the
13135 ([-copyWithZone:]) and ([-mutableCopyWithZone:]) methods - which
13136 shouldn't be there.
13137
13138 * src/include/UnixFileHandle.h: Altered methods for making a network
13139 connection.
13140
13141 * src/include/mframe.h: Added mframe_decode_return() function.
13142
13143
13144 Tue Jul 14 16:06:16 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13145
13146 * checks/invocation_*.m : New test files.
13147
13148 * checks/invocation2.m: Removed the file.
13149
13150 * src/include/NSInvocation.h (NS_INVOCATION, NS_MESSAGE):
13151 Added new arguments to the macros. These macros don't require
13152 SEL type argument to specify the method to invoke now.
13153
13154 * checks; Added invocation_char.m, invocation_short.m, invocation_int.m
13155 and invocation_long.m
13156
13157 Fri Jul 10 21:43:30 1998 Adam Fedor <fedor@ultra.doc.com>
13158
13159 * src/include/GapArrayPrivate.h (gapMoveGaptTo): Change - to +.
13160 * docs/todo.tmpl.texi: Updates
13161
13162 Fri Jun 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13163
13164 * src/TcpPort.m: Improved debug code and added method to turn it on -
13165 ([+setDebug:])
13166 * src/NSConnection.m: Changed code so that if a process sends us a
13167 'release' for an object local to us, which it vended to a third
13168 party, we retain the object for 30 seconds before releasing it in
13169 order to give the third party time to connect to us and retain it.
13170 Improved debug code and added method to turn it on - ([+setDebug:])
13171 * src/NSDistributedObject.m: Added flag to say whether an object has
13172 been vended to a third party.
13173 Improved debug code and added method to turn it on - ([+setDebug:])
13174 * src/include/NSDistantObject.h: Added flag.
13175
13176 Thu Jun 24 22:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13177
13178 * src/proplist.y: Make parser more tolerant - permit a comma after
13179 the final element in an array.
13180 * src/NSData.m: Added ([NSMutableData +data])
13181 * src/Unicode.m: Efficiency hack for conversion to/from unicode
13182 * src/include/NSArray.h: Added ([-writeToFile:Atomically:])
13183 * src/include/NSString.h: Added GSUndefinedEncoding and comment to
13184 make sure nobody deletes it - needed for efficiency hack in Unicode.m
13185
13186 Fri Jun 19 13:37:37 1998 Adam Fedor <fedor@doc.com>
13187
13188 * NSObject (+isKindOfClass:): New method (patch from Bruce Ide
13189 <greyfox@greyfox.org>).
13190 (+isMemberOfClass): Likewise.
13191
13192 Tue Jun 16 09:48:18 1998 Adam Fedor <fedor@doc.com>
13193
13194 * src/NSProtocolChecker.m, src/include/NSProtocolChecker.h: New files.
13195 (from Mike Kienenberger <mkienenb@arsc.edu>)
13196
13197 Fri May 29 10:16:09 1998 Adam Fedor <fedor@doc.com>
13198
13199 * doc/news.tmpl.texi: Fixed typo.
13200 * doc/readme.tmpl.texi: Likewise. (patch from doko@cs.tu-berlin.de
13201 (Matthias Klose)).
13202 * src/ostream.m (ostream_save_buffer): Retain stream.
13203 * src/include/MemoryStream.h: Remove outdated methods.
13204 * src/include/NSException.h (NS_VALUERETURN): New macro.
13205
13206 Thu May 28 10:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13207
13208 * Tools/gdomap.c: Added code to cope with systems where we can't
13209 determine what network interfaces are active.
13210
13211 * checks/heap.m: Portability fix for svr4 systems.
13212
13213 * configure.in: Improved portability to svr4 systems.
13214
13215 * src/NSMethodSignature.m: Changed order of includes to fix
13216 compilation on svr4 systems.
13217
13218 * src/NSPage.m: Altered to use 'sysconf(_SC_PAGESIZE)' to get page
13219 size on svr4 systems.
13220
13221 * src/NSTask.m: Altered to use 'kill()' rather than 'killpg()' on
13222 svr4
13223
13224 * src/NSThread.m: Altered to use 'sleep()' rather than 'usleep()'
13225 on svr4
13226
13227 * src/include/config.h.in: Added a couple of configuration
13228 constants for portability - HAVE_KILLPG and HAVE_USLEEP
13229
13230 Thu May 21 09:38:14 1998 Adam Fedor <fedor@doc.com>
13231
13232 * src/NSUser.m (NSUserName): Use getpwuid for BSD machines (patch
13233 provided by Stefanos Kiakas <stefanos@ringworld.uniscape.com>).
13234
13235 * src/GetDefEncoding.c (GetDefEncoding): Change binary AND to
13236 logical AND. (GetEncoding): Likewise (patch provided by
13237 David Fritzsche <david@dementia.wupper.de>).
13238
13239 Wed May 20 15:26:50 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13240
13241 * src/GNUmakefile: Added NSUndoManager.[hm]
13242
13243 * src/Invocation.m: ([-_initArgframeFrom:withType:retainArgs:]) fixed
13244 memory leak due to failing to set 'args_retained' flag.
13245
13246 * src/NSObject.m: ([-forward::]) modified to call (forwardInvocation:)
13247 method so we can conform to OpenStep spec.
13248
13249 * src/NSUndoManager.m: Implementation of new class.
13250
13251 * src/include/NSUndoManager.h: Interface for new class.
13252
13253 Wed May 13 13:18:35 1998 Adam Fedor <fedor@doc.com>
13254
13255 * src/NSArray.m ([NSArray -initWithContentsOfFile:]): Move
13256 definition from NSMutableArray.
13257 * NSBundle.m (+initialize): New method.
13258 (+mainBundle): Use recursive lock.
13259 (-initWithPath:) Likewise.
13260 * Unicode.m (encode_chartouni): Cast char to unsigned before to
13261 unichar (patch provided by David Fritzsche <david@dementia.wupper.de>).
13262
13263 Fri May 1 14:26:50 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13264
13265 * src/mframe.m(mframe_do_call): before allocating a storage for
13266 returned structure, check stack_argsize.
13267
13268 Mon Apr 27 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13269
13270 * src/include/mframe.h: Added three new functions to enable passing
13271 of pointers using the mframe routines.
13272
13273 * src/mframe.m: Added mframe_dissect_call_opts(),
13274 mframe_do_call_opts(), and mframe_build_return_opts() so that we
13275 may pass pointers to and from functions in other languages rather
13276 than using the DO behaviour which is to copy a single object when
13277 given a pointer.
13278
13279 Tue Apr 21 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13280
13281 * src/NSMethodSignature.m: ([+signatureWithObjCTypes:]) rewritten
13282 to use some macros from libFoundation (adapted from gcc) to handle
13283 creation of NSMethodSignature objects where the types string passed
13284 in does not contain the position information of the arguments.
13285
13286 Thu Apr 16 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13287
13288 * checks/client.m: enable testing of DO strucuture return.
13289
13290 * checks/server.m: fix typo in keyword
13291
13292 * src/KeyedCollection.m: ([-decodeContentsWithCoder:]) fixed a
13293 memory leak.
13294
13295 * src/mframe.m: Fixed a few bugs in returning structures - now works
13296 properly on GNU/Linux intel. Can anyone figure out how to handle
13297 all this stuff using autoconf?
13298
13299 Mon Apr 20 09:23:58 1998 Adam Fedor <fedor@ultra.doc.com>
13300
13301 * src/NSLock.m: Eliminate busy waiting from NSConditionLock
13302 * src/NSLock.h: add instance variable and rename "value" to
13303 support changes to NSConditionLock
13304 * src/NSLock.m: Raise appropriate exceptions
13305 * src/NSLock.m: Prevent NSLock and NSConditionLock from being
13306 locked recursively
13307 * src/NSThread.m: -sleepUntilDate: implemented
13308 * src/NSThread.m: remove calls to objc_get_thread_data except
13309 in currentThread message
13310 * src/BinaryCStream.m: Replace assert's with NS*Assert
13311 * src/CStream.m.orig: Likewise
13312 * src/Decoder.m: Likewise
13313 * src/Encoder.m: Likewise
13314 * src/MemoryStream.m: Likewise
13315 * src/RawCStream.m: Likewise
13316 * src/TextCStream.m: Likewise
13317 * src/ostream.m.orig: Likewise
13318 (patches from Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13319
13320 * src/NSFileManager.h: Include pwd.h if we have it
13321 * configure.in: Check for pwd.h
13322 * configure: regenerate.
13323 * src/include/config.h.in: Likewise.
13324
13325 Wed Apr 15 09:54:25 1998 Adam Fedor <fedor@doc.com>
13326
13327 * src/NSFileManager.m ([NSFileManager
13328 -fileAttributesAtPath:traverseLink:]): Add NSFileOwnerAccountName.
13329 * src/externs.m: Add NSFileOwnerAccountName definition.
13330 (patch provided by Marcus Mueller <znek@object-factory.com>)
13331
13332 * src/NSThread.m (-sleepUntilDate:): Implemented (from
13333 Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13334
13335 Sun Apr 5 20:07:28 1998 Scott Christley <scottc@net-community.com>
13336
13337 * Utilize documentation rules in Makefile Package.
13338 * doc/GNUmakefile: Rewrite to use Makefile Package.
13339 * doc/Makefile.postamble: Remove old obsolete rules.
13340
13341 * Documentation which covers GNUstep as a whole versus just
13342 gstep-base has been moved to the top level Documentation dir.
13343 * GNUstep-HOWTO: Delete.
13344 * doc/gnustep-base.tmpl.texi: GNUstep-HOWTO and FAQ removed.
13345 Add variable so that included files know they are within the
13346 main document.
13347 * doc/gnustep-howto.tmpl.texi: Delete.
13348 * doc/faq.tmpl.texi: Delete.
13349 * doc/announce.tmpl.texi: Don't include version.texi needlessly.
13350 * doc/news.tmpl.texi: Don't include version.texi needlessly.
13351 * doc/todo.tmpl.texi: Don't include version.texi needlessly.
13352
13353 * src/GNUmakefile: Don't compile Random class as the name too
13354 often conflicts with user apps.
13355
13356 * src/GetDefEncoding.m: Reformat.
13357
13358 * src/NSArray.m (-replaceObjectsInRange:withObjectsFromArray:):
13359 Fix range check. Use enumerator instead of count.
13360
13361 Wed Apr 1 18:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13362
13363 * Tools/gdomap.m: Modified code so that we make sure we have at least
13364 one valid route to any gdomap process which has probed us. This is
13365 to cope with machines which send out info about all their interfaces
13366 when one or more of the interfaces is not working.
13367
13368 * src/checks/nstask.m: added test for environment setting.
13369
13370 * src/NSCalendarDate.m: Fixed bug in initialisation where daylight
13371 savings time is in operation - was adjusting in wrong direction.
13372
13373 * src/NSRunLoop.m: Added NSObject catagory for the methods -
13374 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13375 ([NSObject -performSelector:withObject:afterDelay:]), and
13376 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13377
13378 * src/NSTask.m: Various bug fixes as a result of running the test
13379 suite. All seems to work ok now.
13380
13381 * src/NSDate.h: Changed order of declaractions so this can be included
13382 within NSObject.h
13383
13384 * src/NSObject.h: Added run-loop integration methods -
13385 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13386 ([NSObject -performSelector:withObject:afterDelay:]), and
13387 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13388
13389 * src/NSRunLoop.h: Added an instance variable to keep track of
13390 queued delayed actions to be performed on objects.
13391
13392 Tue Mar 31 11:32:03 1998 Adam Fedor <fedor@doc.com>
13393
13394 * aclocal.m4 (OBJC_CON_AUTOLOAD): Improved test. Check nm output
13395 for indicator functions.
13396 * configure: Regenerate.
13397
13398 * checks/GNUmakefile (LoadMe_RESOURCE_FILES): Changed name.
13399
13400 * doc/gnustep-howto.tmpl.texi: Update.
13401 * doc/status.tmpl.texi: Likewise.
13402
13403 Fri Mar 20 11:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13404
13405 * checks/client.m: Added some tests for passing objects byref
13406
13407 * checks/server.h: Added ([-sendByref:]) to protocol.
13408
13409 * checks/server.m: Added ([-sendByref:]) for testing 'byref'.
13410
13411 * src/Coder.m: Added ([-encodeByrefObject:])
13412
13413 * src/Encoder.m: Added ([-_doEncodeByrefObject:]) and changed the
13414 designated encoding method throughout from
13415 ([-_encodeObject:withName:isBycopy:isForwardReference:]) to
13416 ([-_encodeObject:withName:isBycopy:isByref:isForwardReference:])
13417
13418 * src/NSCoder.m: Added ([-encodeBytes:length:]),
13419 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13420
13421 * src/NSConnection.m: Modified ([-forwardForProxy:selector:argFrame:])
13422 and ([-_service_forwardForProxy:]) methods to handle byref flag.
13423
13424 * src/NSDictionary.m: Added ([+dictionaryWithDictionary:])
13425
13426 * src/NSPortCoder.m: Added ([-isByref]) and ([-_doEncodeByrefObject:])
13427 methods and modified ([-_doEncodeBycopyObject:]) to handle byref flag.
13428
13429 * src/include/Coding.h: Added ([-encodeByrefObject:])
13430
13431 * src/include/NSCoder.h: Added ([-encodeBytes:length:]),
13432 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13433
13434 * src/include/NSDictionary.h: Fixed prototype for the
13435 ([+dictionaryWithDictionary:]) method.
13436
13437 * src/include/NSPortCoder.h: Added ([-isByref])
13438
13439 * src/objc-gnu2next.m: Added _F_BYREF flag code
13440
13441 Fri Mar 13 15:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13442
13443 * src/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
13444 Fixed bug in displaying time-zone - was displaying minutes and
13445 seconds when should have been showing hours and minutes.
13446
13447 Wed Mar 11 11:56:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13448
13449 * src/NSArray.m: ([-copyWithZone:]) changed to use the
13450 NSShouldRetainWithZone() function.
13451
13452 * src/NSCalendarDate.m: ([-dealloc]) don't release the timezone -
13453 we never retain it anyway (should we?)
13454 ([-setCalendarFormat:]) make a copy of the string we are given in
13455 case it gets changed or deleted.
13456
13457 * src/NSConcreteNumber.m: ([-copyWithZone:]) fixed to use the
13458 NSShouldRetainWithZone() function.
13459
13460 * src/NSData.m: ([-copyWithZone:]) fixed to use the
13461 NSShouldRetainWithZone() function.
13462
13463 * src/NSDictionary.m: ([-copyWithZone:]) fixed to use the
13464 NSShouldRetainWithZone() function.
13465
13466 * src/NSHost.m: Added ([-awakeAfterUsingCoder:])
13467
13468 * src/NSNumber.m: Added ([-copy]) and ([-copyWithZone:])
13469
13470 * src/NSString.m: ([-copyWithZone:]) fixed to use the
13471 NSShouldRetainWithZone() function.
13472
13473 * src/TcpPort.m: Commented out unnecessary warning message.
13474
13475 * src/NSTimeZone.m: Modified ([-encodeWithCoder:]) and
13476 ([-awakeAfterUsingCoder:]) so that the local timezone is encoded
13477 specially and is restored as whatever the local timezone of the
13478 restoring application is.
13479
13480 * src/NSValue.m: Added ([-copy]) and ([-isEqualToValue:])
13481
13482 Tue Mar 10 17:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13483
13484 * src/NSArray.m: ([-copyWithZone:]) rewritten to avoid doing
13485 unnecessary copy of non-mutable objects and to fix memory leak.
13486
13487 * src/NSCTemplateValue.m: ([-isEqaul:]) and ([-isEqualToValue:])
13488 implemented.
13489
13490 * src/NSCalendarDate.m: ([-initWithCoder:]) and ([-encodeWithCoder:])
13491 implemented.
13492
13493 * src/NSConcreteNumber.m: ([-copy]) and ([-copyWithZone:])
13494 implemented to do simple retains.
13495
13496 * src/NSDictionary.m: ([-copyWithZone:]) rewritten to avoid doing
13497 unnecessary copy of non-mutable objects and to fix memory leak.
13498
13499 * src/NSGString.m: ([-cString]) fixed crash when called on empty
13500 string.
13501
13502 * src/NSTimeZone.m: ([-awakeAfterUsingCoder:]) implemented to handle
13503 decopding of archived objects correctly.
13504
13505 * src/include/NSValue.h: Added ([-isEqualToValue:])

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