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

Contents of /gnustep/core/base/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2002 - (show annotations) (download)
Tue Sep 30 18:19:02 2003 UTC (20 years, 6 months ago) by CaS
Branch: MAIN
Changes since 1.2001: +10 -0 lines
Thread safety fix ... ensure notifications are sent before we become
multithrteaded.

1 2003-09-30 Richard Frith-Macdonald <rfm@gnu.org>
2
3 * Source/NSThread.m: Protect the function handling notification
4 of the process becoming multi-threaded with a recursive lock.
5 This protection ensures that there is no race condition where
6 two threads can start using GNUstep simultaneously and both
7 end up sending out notifications etc. Not a problem in normal
8 ObjC applications, but a possibility where other non-gnustep
9 code starts multiple threads which want to access gnustep.
10
11 2003-09-30 Derek Zhou <dzhou@chrontel.com>
12
13 * Source/NSCharacterSet.m: patch to ensure lock is created as
14 soon as the process goes multi-threaded, therefore avoiding
15 a race condition causing a rare exception.
16
17 2003-09-26 Richard Frith-Macdonald <rfm@gnu.org>
18
19 * Source/NSString.m: Fix pathExtension bug reported by Roland
20 Schwingel. Was failing to handle the case when a dot appears
21 inside a path component properly.
22
23 2003-09-25 Richard Frith-Macdonald <rfm@gnu.org>
24
25 * Source/NSConnection.m: Fix obscure bug releasing in-progress
26 request information on connection deallocation.
27
28 2003-09-23 Adam Fedor <fedor@gnu.org>
29
30 * Source/Additions/Makefile.preamble: Add DLL build flag for cyginw
31
32 * Testing/Makefile.postamble (check): Make CHECKABLE_TOOLS only
33
34 * Tools/AGSHtml.m: Remove duplicate interface (on *-apple-*)
35 * Tools/AGSIndex.m: Idem.
36
37 2003-09-23 Adam Fedor <fedor@gnu.org>
38
39 * Source/NSTimeZone.m (+systemTimeZone): Remove tzname extern decl.
40
41 2003-09-22 Adam Fedor <fedor@gnu.org>
42
43 * configure.ac: Check for getopt
44 * Tools/gdomap.c: Use local getopt if no native getopt
45
46 2003-09-21 Adam Fedor <fedor@gnu.org>
47
48 * Tools/cvtenc.m (main): Write using local/set encoding when
49 EscapeIn=YES.
50
51 * Documentation/coding-standards.texi: Add section about object
52 persistance.
53
54 * configure.ac: Make it possible to override --enable-pass-arguments
55 when on cygwin.
56 * configure: Regenerate using 2.57
57
58 2003-09-20 yjchen <yjchenx@hotmail.com>
59
60 * Resources/Languages/TraditionalChinese: Quote escaped strings.
61
62 2003-09-13 Richard Frith-Macdonald <rfm@gnu.org>
63
64 * Source/NSConnection.m: Add a couple of checks to raise exceptions
65 when trying to use a connection from the wrong thread. Also, change
66 the code for handling multithreaded connections so that they are
67 removed from the runloops of exiting threads in response to the
68 thread exit notification.
69
70 2003-09-13 David Ayers <d.ayers@inode.at>
71
72 * Headers/Additions/GNUstepBase/GSCategories.h: Move declarations
73 from Source/Additions/GSCompatibility.h to here.
74 ([NSObject -compare:]): Deprecate.
75 * Source/Additions/GSCompatibility.h: Move contents from here to
76 Headers/Additions/GNUstepBase/GSCategories.h.
77
78 * Source/Additions/GSCategories.m:
79 ([NSObject -compare:]): Deprecate.
80
81 * Headers/Foundation/NSObject.h
82 ([NSObject -compare:]): Deprecate.
83
84 * Source/Additions/GCDictionary.m: Include
85 GNUstepBase/GSCategories.h rather than GSCompatibility.h.
86 * Source/Additions/GCObject.m: Ditto.
87 * Source/Additions/GSMime.m: Ditto.
88 * Source/Additions/GSObjCRuntime.m: Ditto.
89 * Source/Additions/GSXML.m: Ditto.
90 * Source/Additions/Unicode.m: Ditto.
91
92 * macosx/GNUstepBase/preface.h: Update include for new header
93 structure.
94
95 2003-09-11 Adam Fedor <fedor@gnu.org>
96
97 * macosx/preface.h: Removed
98 * macosx/GNUstepBase/preface.h: New
99 * macosx/gnustep.pbproj/project.pbxproj: Update
100 (from Philip Moetteli <philip.moetteli@tele2.ch>).
101
102 2003-09-11 Philip Moetteli <philip.moetteli@tele2.ch>
103
104 * Source/Additions/GSCompatibility.h
105 * Source/Additions/GSCompatibility.m
106 (NSDecimalFromComponents): Added compatibility function.
107
108 2003-09-11 Richard Frith-Macdonald <rfm@gnu.org>
109
110 * Source/Unicode.m: Fix minor errors in utf8 handling.
111 Use endian version of UTF16 to avoid iconv inserting BOM where
112 it is not wanted.
113
114 2003-09-10 David Ayers <d.ayers@inode.at>
115
116 * Headers/Additions/GNUstepBase/GSObjCRuntime.h (GSObjCSuper):
117 Added test for uninitialized superclass reference.
118
119 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
120
121 * Source/NSObject.m: Tidy use of GSObjCRuntime a little.
122
123 2003-09-10 Pete French <pete@twisted.org.uk>
124
125 * Source/Additions/Unicode.m: patch to use UTF16 rather than
126 UCS2 internally.
127
128 2003-09-10 Richard Frith-Macdonald <rfm@gnu.org>
129
130 * Source/NSCalendarDate.m:
131 ([years:months:days:hours:minutes:seconds:sinceDate:]) fix to return
132 all positive values for a difference from a date in the past.
133
134 2003-09-07 Adam Fedor <fedor@gnu.org>
135
136 * Source/NSBundle.m (+_addFrameworkFromClass:): Check
137 _loadingBundle != bundle when removing classes.
138
139 2003-09-07 S.J.Chun <chunsj@embian.com>
140
141 * Source/Unicode.m: Added Korean encoding
142 * Headers/Foundation/NSString.h: Added Korean encoding
143 * Source/Additions/GSCompatibility.h: Idem.
144
145 Sun Sep 7 13:35:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
146
147 * configure.ac: Fixed GNUSTEP_HDIR when not flattened.
148 * configure: Regenerated.
149
150 2003-09-05 Adam Fedor <fedor@gnu.org>
151
152 * Headers/Additions/GNUstepBase/behavior.h: GS_EXPORT functions.
153
154 2003-09-04 18:41 Alexander Malmberg <alexander@malmberg.org>
155
156 * Headers/Foundation/NSDistributedLock.h, Source/NSDistributedLock.m:
157 Change return type of -initWithPath: to id.
158
159 2003-09-02 Adam Fedor <fedor@gnu.org>
160
161 * configure.ac: Check for tzset
162 * Source/NSTimeZone.m (+systemTimeZone): Use it to find time zone
163 (as a last resort).
164
165 2003-09-02 Adam Fedor <fedor@gnu.org>
166
167 * Tools/gdnc.m (main): Don't mess with file descriptors on MinGW.
168
169 2003-09-01 Adam Fedor <fedor@gnu.org>
170
171 * Tools/gdomap.c (main): Move getuid call inside #ifndef MINGW
172 like the others.
173
174 2003-08-31 Adam Fedor <fedor@gnu.org>
175
176 * Tools/gdnc.m (main): Close any open file descriptors so we can
177 be a proper daemon.
178 Fixes #4938.
179
180 2003-08-29 Adam Fedor <fedor@gnu.org>
181
182 * config/procfs.m4: Disable procfs for solaris
183
184 2003-08-26 Adam Fedor <fedor@gnu.org>
185
186 * Source/NSMessagePort.m: For older OS comptibility, define some
187 macros if they are not already defined.
188 * Source/NSMessagePortNameServer.m: Idem.
189
190 2003-08-24 David Ayers <d.ayers@inode.at>
191
192 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
193 (GSObjCClass): Allow nil values.
194 (GSObjCIsInstance): Ditto.
195 (GSObjCIsClass): New function.
196 (GSClassNameFromObject): Ditto.
197 (GSObjCIsKindOf): Use GSObjCSuper() in favor of
198 class_get_super_class().
199
200 * Headers/Foundation/NSRange.h
201 (GS_RANGE_CHECK), (CHECK_INDEX_RANGE_ERROR):
202 Use GSNameFromSelector() in favor of sel_get_name().
203
204 * Source/GSFFCallInvocation.m
205 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
206 (-[GSFFCallInvocation invokeWithTarget:]), (GSInvocationCallback):
207 Use GSObjCIsInstance() in favor of object_is_instance,
208 GSObjCClass() in favor of object_get_class(),
209 GSObjCIsClass() in favor of object_is_class(),
210 GSNameFromSelector() in favor of sel_get_name(),
211 GSObjCSuper() in favor of class_get_super_class() and
212 GSClassNameFromObject() in favor of object_get_class_name().
213
214 * Source/GSFFIInvocation.m
215 (gs_method_for_receiver_and_selector), (gs_find_best_typed_sel),
216 (-[GSFFIInvocation invokeWithTarget:]), (GSFFIInvocationCallback):
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/NSConnection.m
225 (-[NSConnection forwardForProxy:selector:argFrame:]),
226 (-[NSConnection forwardInvocation:forProxy:]):
227 Use GSNameFromSelector() in favor of sel_get_name().
228
229 * Source/NSDistantObject.m
230 (class_is_kind_of): Use GSObjCSuper in favor of
231 class_get_super_class().
232 (-[NSDistantObject forward::]): Use GSNameFromSelector() in favor of
233 sel_get_name().
234
235 * Source/NSInvocation.m
236 (-[NSInvocation invokeWithTarget:])
237 Use GSObjCSuper() in favor of class_get_super_class(),
238 GSObjCIsInstance() in favor of object_is_instance()
239 (-[NSInvocation description]):
240 Use GSClassNameFromObject in favor of object_get_class_name().
241 Avoid buffer overflow by using snprintf() in favor of sprintf().
242 (-[NSInvocation initWithSelector:]):
243 Use GSNameFromSelector() in favor of sel_get_name().
244
245 * Source/NSObject.m
246 (GSDescriptionForInstanceMethod), (GSDescriptionForClassMethod),
247 (+[NSObject superclass], (-[NSObject description]),
248 (-[NSObject doesNotRecognizeSelector:]),
249 (-[NSObject performSelector:]),
250 (-[NSObject performSelector:withObject:]),
251 (+[NSObject setVersion:], -[NSObject error:]),
252 (-[NSObject doesNotRecognize:], -[NSObject isClass]),
253 (-[Object description]):
254 Use GSNameFromSelector() in favor of sel_get_name(),
255 GSObjCSuper() in favor of class_get_super_class(),
256 GSClassNameFromObject() in favor of object_get_class_name() and
257 GSObjCIsClass() in favor of object_is_class().
258
259 * Source/NSProxy.m
260 (+[NSProxy description]), (-[NSProxy description]),
261 (+[NSProxy superclass]), (-[NSProxy forwardInvocation:]),
262 (-[NSProxy init], (-[NSProxy notImplemented:]),
263 (-[NSProxy performSelector:]),
264 (-[NSProxy performSelector:withObject:]),
265 (-[NSProxy performSelector:withObject:withObject:]):
266 Use GSClassNameFromObject() in favor of object_get_class_name(),
267 GSObjCSuper() in favor of class_get_super_class() and
268 GSNameFromSelector() in favor of sel_get_name().
269
270 * Source/Additions/GSCategories.m
271 (-[NSObject notImplemented:]), (-[NSObject shouldNotImplement:]),
272 (-[NSObject subclassResponsibility:]):
273 Use GSNameFromSelector() in favor of sel_get_name() and
274 GSClassNameFromObject() in favor of object_get_class_name().
275
276 * Source/Additions/GSCompatibility.h
277 (GS_RANGE_CHECK): Use GSNameFromSelector() in favor of
278 sel_get_name().
279
280 * Source/Additions/GSCompatibility.m
281 (+[NSObject notImplemented:]):
282 Use GSNameFromSelector() in favor of sel_get_name() and
283 GSClassNameFromObject() in favor of object_get_class_name().
284
285 * Source/Additions/GSObjCRuntime.m
286 (GSObjCMethodNames), (GSObjCAddMethods):
287 Use GSNameFromSelector() in favor of sel_get_name().
288
289 * Testing/nsbundle.m (main): Update to reflect filesystem change.
290 Use GSClassNameFromObject() in favor of object_get_class_name().
291
292 * Testing/nsconnection_server.m
293 Use GSNameFromSelector() in favor of sel_get_name().
294
295 * Testing/Makefile.postamble: Build before checking.
296
297 2003-08-23 Adam Fedor <fedor@gnu.org>
298
299 * Version 1.7.3
300
301 2003-08-23 Adam Fedor <fedor@gnu.org>
302
303 * configure.ac: Fix mistake in checking for ffi.
304
305 * Tools/AGSIndex.m: Add NSString compatibility interface
306 when compiling on apple-apple-apple.
307 * Tools/AGSHtml.m: idem.
308
309 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
310
311 * Source/NSObject.m: Trivial cast to avoid compiler warnings.
312
313 2003-08-20 13:59 Alexander Malmberg <alexander@malmberg.org>
314
315 Clean up code to remove warnings issued by (what will become)
316 gcc 3.4.
317
318 * Source/GSString.m, Source/NSArchiver.m, Source/NSAttributedString.m,
319 Source/NSRunLoop.m: Don't return values from methods returning void.
320
321 2003-08-19 Adam Fedor <fedor@gnu.org>
322
323 * configure.ac: Clarify ffi interface warnings and disable_do on
324 apple-apple-apple.
325 Fixes #4824
326
327 2003-08-15 Richard Frith-Macdonald <rfm@gnu.org>
328
329 * Source/NSObject.m: Move hacked methods for getting protocol
330 method info into functions so we can use them without going
331 through the ObjC runtime.
332 * Source/NSDistantObject.m: When attempting to check protocols,
333 use functions from NSObject.m if the protocol has not been
334 properly initialised (its class pointer is 0x2) as is the case
335 for all but very recent versions of the compiler.
336 FIXME ... this code should be removed at some future date when
337 all common systems have shipped with a working compiler for
338 a while.
339
340 2003-08-13 David Ayers <d.ayers@inode.at>
341
342 * Headers/Additions/GNUstepBase/preface.h: Remove generated
343 file that should have been ignored by entry in .cvsignore.
344 * Source/UnixFileHandle.m: Remove obsolete file.
345
346 2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
347
348 * Tools/gdnc.1: Updated man pages, fixed typos, unified format
349 and layout. Man pages are now installed unprocessed as it should be.
350 * Tools/gdomap.8: ditto.
351
352 2003-08-12 Yen-Ju Chen <yjchenx@hotmail.com>
353
354 * Source/Additions/Unicode.m (GetAvailableEncodings): Include
355 last encoding.
356
357 2003-08-08 Richard Frith-Macdonald <rfm@gnu.org>
358
359 * Source/Additions/GSXML.m: save and restore libxml global settings
360 before/after each parse operation.
361
362 2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
363
364 * Source/NSString.m: nodeToObject() fix error in handling escape
365 sequences in strings ... only treat a backslash specially when it
366 is immediately followed by 'U' or 'u' and four hexadecimal digits.
367 ensure data ia deallocated promptly.
368 * Source/GSCompatibility.m: match changes to property list escapes
369 * Source/Additions/GSXML.m: change ownership policy so that nodes
370 are owned by theri parents, never by siblings ... prevent stack
371 overflow deallocating nodes in long documents.
372 * Tools/plist-0_9.dtd: document unicode escapes.
373
374 2003-08-02 Adam Fedor <fedor@gnu.org>
375
376 * Source/NSProxy.m: Fix limit.h -> limits.h
377
378 2003-08-02 Yen-Ju Chen <yjchenx@hotmail.com>
379
380 * Resources/Languages/TraditionalChinese,
381 Resources/TraditionalChinese.lproj: New
382 * Resources/GNUmakefile: Install them.
383
384 2003-08-01 Richard Frith-Macdonald <rfm@gnu.org>
385
386 * Source/NSProxy.m: Include limits.h for UINT_MAX
387 * Source/NSProcessInfo.m: Avoid crash when given invalid argument list
388 * Source/NSString.m: Minor cleanup for coding standards and remove
389 pointer dereferencing of object which causes problems with new
390 compiler
391 Problems reported by Alexander and Roland
392
393 2003-07-31 David Ayers <d.ayers@inode.at>
394
395 * Created tag 'pre-header-reorg-20030731'.
396
397 * Headers/Additions/GNUstepBase: New directory.
398 * Headers/Additions/GNUstepBase/unicode: Ditto.
399 * Headers/Foundation: Ditto.
400 * Headers/gnustep/base: Obsoleted.
401 * Headers/gnustep/unicode: Ditto.
402
403 * Headers/Additions/GNUstepBase/DistributedObjects.h: Moved here
404 from Headers/gnustep/base.
405 * Headers/Additions/GNUstepBase/GCObject.h: Ditto.
406 * Headers/Additions/GNUstepBase/GNUstep.h: Ditto.
407 * Headers/Additions/GNUstepBase/GSCategories.h: Ditto.
408 * Headers/Additions/GNUstepBase/GSConfig.h.in: Ditto.
409 * Headers/Additions/GNUstepBase/GSFileHandle.h: Ditto.
410 * Headers/Additions/GNUstepBase/GSIArray.h: Ditto.
411 * Headers/Additions/GNUstepBase/GSIMap.h: Ditto.
412 * Headers/Additions/GNUstepBase/GSLocale.h: Ditto.
413 * Headers/Additions/GNUstepBase/GSMime.h: Ditto.
414 * Headers/Additions/GNUstepBase/GSObjCRuntime.h: Ditto.
415 * Headers/Additions/GNUstepBase/GSUnion.h: Ditto.
416 * Headers/Additions/GNUstepBase/GSXML.h: Ditto.
417 * Headers/Additions/GNUstepBase/Unicode.h: Ditto.
418 * Headers/Additions/GNUstepBase/behavior.h: Ditto.
419 * Headers/Additions/GNUstepBase/config.h.in: Ditto.
420 * Headers/Additions/GNUstepBase/objc-gnu2next.h: Ditto.
421 * Headers/Additions/GNUstepBase/preface.h.in: Ditto.
422 * Headers/Additions/GNUstepBase/thr-mach.h: Ditto.
423 * Headers/Additions/GNUstepBase/.cvsignore: Ditto.
424
425 * Headers/Additions/GNUstepBase/unicode/caseconv.h: Moved here
426 from Headers/gnustep/unicode.
427 * Headers/Additions/GNUstepBase/unicode/cop.h: Ditto.
428 * Headers/Additions/GNUstepBase/unicode/cyrillic.h: Ditto.
429 * Headers/Additions/GNUstepBase/unicode/decomp.h: Ditto.
430 * Headers/Additions/GNUstepBase/unicode/gsm0338.h: Ditto.
431 * Headers/Additions/GNUstepBase/unicode/latin2.h: Ditto.
432 * Headers/Additions/GNUstepBase/unicode/latin9.h: Ditto.
433 * Headers/Additions/GNUstepBase/unicode/nextstep.h: Ditto.
434 * Headers/Additions/GNUstepBase/unicode/thai.h: Ditto.
435
436 * Headers/Foundation/Foundation.h: Moved here from
437 Headers/gnustep/base.
438 * Headers/Foundation/NSArchiver.h: Ditto.
439 * Headers/Foundation/NSArray.h: Ditto.
440 * Headers/Foundation/NSAttributedString.h: Ditto.
441 * Headers/Foundation/NSAutoreleasePool.h: Ditto.
442 * Headers/Foundation/NSBitmapCharSet.h: Ditto.
443 * Headers/Foundation/NSBundle.h: Ditto.
444 * Headers/Foundation/NSByteOrder.h: Ditto.
445 * Headers/Foundation/NSCalendarDate.h: Ditto.
446 * Headers/Foundation/NSCharacterSet.h: Ditto.
447 * Headers/Foundation/NSClassDescription.h: Ditto.
448 * Headers/Foundation/NSCoder.h: Ditto.
449 * Headers/Foundation/NSConcreteNumber.h: Ditto.
450 * Headers/Foundation/NSConnection.h: Ditto.
451 * Headers/Foundation/NSData.h: Ditto.
452 * Headers/Foundation/NSDate.h: Ditto.
453 * Headers/Foundation/NSDateFormatter.h: Ditto.
454 * Headers/Foundation/NSDebug.h: Ditto.
455 * Headers/Foundation/NSDecimal.h: Ditto.
456 * Headers/Foundation/NSDecimalNumber.h: Ditto.
457 * Headers/Foundation/NSDictionary.h: Ditto.
458 * Headers/Foundation/NSDistantObject.h: Ditto.
459 * Headers/Foundation/NSDistributedLock.h: Ditto.
460 * Headers/Foundation/NSDistributedNotificationCenter.h: Ditto.
461 * Headers/Foundation/NSEnumerator.h: Ditto.
462 * Headers/Foundation/NSException.h: Ditto.
463 * Headers/Foundation/NSFileHandle.h: Ditto.
464 * Headers/Foundation/NSFileManager.h: Ditto.
465 * Headers/Foundation/NSFormatter.h: Ditto.
466 * Headers/Foundation/NSGeometry.h: Ditto.
467 * Headers/Foundation/NSHashTable.h: Ditto.
468 * Headers/Foundation/NSHost.h: Ditto.
469 * Headers/Foundation/NSInvocation.h: Ditto.
470 * Headers/Foundation/NSKeyValueCoding.h: Ditto.
471 * Headers/Foundation/NSLock.h: Ditto.
472 * Headers/Foundation/NSMapTable.h: Ditto.
473 * Headers/Foundation/NSMethodSignature.h: Ditto.
474 * Headers/Foundation/NSNotification.h: Ditto.
475 * Headers/Foundation/NSNotificationQueue.h: Ditto.
476 * Headers/Foundation/NSNull.h: Ditto.
477 * Headers/Foundation/NSNumberFormatter.h: Ditto.
478 * Headers/Foundation/NSObjCRuntime.h: Ditto.
479 * Headers/Foundation/NSObject.h: Ditto.
480 * Headers/Foundation/NSPathUtilities.h: Ditto.
481 * Headers/Foundation/NSPort.h: Ditto.
482 * Headers/Foundation/NSPortCoder.h: Ditto.
483 * Headers/Foundation/NSPortMessage.h: Ditto.
484 * Headers/Foundation/NSPortNameServer.h: Ditto.
485 * Headers/Foundation/NSProcessInfo.h: Ditto.
486 * Headers/Foundation/NSProtocolChecker.h: Ditto.
487 * Headers/Foundation/NSProxy.h: Ditto.
488 * Headers/Foundation/NSRange.h: Ditto.
489 * Headers/Foundation/NSRunLoop.h: Ditto.
490 * Headers/Foundation/NSScanner.h: Ditto.
491 * Headers/Foundation/NSSerialization.h: Ditto.
492 * Headers/Foundation/NSSet.h: Ditto.
493 * Headers/Foundation/NSString.h: Ditto.
494 * Headers/Foundation/NSTask.h: Ditto.
495 * Headers/Foundation/NSThread.h: Ditto.
496 * Headers/Foundation/NSTimeZone.h: Ditto.
497 * Headers/Foundation/NSTimer.h: Ditto.
498 * Headers/Foundation/NSURL.h: Ditto.
499 * Headers/Foundation/NSURLHandle.h: Ditto.
500 * Headers/Foundation/NSUndoManager.h: Ditto.
501 * Headers/Foundation/NSUserDefaults.h: Ditto.
502 * Headers/Foundation/NSUtilities.h: Ditto.
503 * Headers/Foundation/NSValue.h: Ditto.
504 * Headers/Foundation/NSZone.h: Ditto.
505
506 * Soruce/GSFormat.h: Ditto.
507 * Source/GSInvocation.h: Moved here from Headers/gnustep/base.
508 * Source/objc-load.h: Ditto.
509
510 * configure.ac: Update to new header structure.
511 * configure: Regenerated.
512 * Makefile.postamble: Remove handling of header-links and update
513 to new header structure.
514
515 * Source/GNUmakefile: Update to new header structure.
516 Always install GSFileHandle.h, GSLocal.h, GSUnion.h, GSIArray.h,
517 GSIMap.h, preface.h as public headers.
518 Do not install DistributedObjects.h, objc-load.h and thr-mach.h.
519 Install GSMime.h and GSXML.h in GNUstepBase instead of Foundation.
520 Include CompatibilityHeaders.make makefile fragement.
521
522 * Source/Makefile.preamble: Update to new header structure.
523 Split HEADER_DIR into HEADER_DIR_BASE and HEADER_DIR_FND.
524
525 * Source/Makefile.postamble: Update to new header structure.
526 Do not install mframe.h.
527 Update for HEADER_DIR split.
528
529 * Source/CompatibilityHeaders.make: New file which installs dummy
530 headers in the place of the old headers, warning about obsoleting
531 the old location and includeing the header from its new location.
532
533 * Source/Additions/Makefile.preamble: Update to new header
534 structure. Only add -I../../Headers for *-gnu-*.
535
536 * Source/*.[hm]: Update includes for new header structure.
537 * Source/Additions/*.m: Ditto.
538 * Source/mframe/mframe.head: Ditto.
539 * Source/.cvsignore: Ignore config.h.
540
541 * Testing/Makefile.preamble: Update to new header structure. Only
542 add -I../../Headers for *-gnu-*.
543 * Testing/*.[hm]: Update includes for new header structure.
544
545 * Tools/Makefile.preamble: Update to new header structure. Only
546 add -I../../Headers for *-gnu-*.
547 * Tools/*.[hm]: Update includes for new header structure.
548
549 * Tools/make_strings/GNUmakefile.preamble: Update to new header
550 structure. Only add -I../../Headers for *-gnu-*.
551
552 * Source/DocMakefile: Update to new header structure.
553
554 * SSL/Makefile.preamble: Update to new header structure.
555 * SSL/GSSSLHandle.m: Ditto.
556
557 * Examples/Makefile.preamble: Use -I../Headers only with *-gnu-*.
558
559 * Headers/gnustep/base/UnixFileHandle.h: Removed.
560 * Headers/gnustep/base/WindowsFileHandle.h: Ditto.
561
562 2003-07-30 Richard Frith-Macdonald <rfm@gnu.org>
563
564 * Tools/gdomap.c: Some security fixes and tweaks.
565
566 2003-07-28 Richard Frith-Macdonald <rfm@gnu.org>
567
568 * Source/GSFFCALLInvocation.m: Make exception text more meaningful
569 * Source/GSFFIInvocation.m: ditto
570 * Source/Additions/GSXML.m: Add a couple of convenience methods to
571 test node type.
572 * Source/Additions/GSMime.m: Add convenience method for putting
573 a new header in a document.
574 * Source/NSCalendarDate.m: Tweak to avoid useless compiler warning.
575 * Source/NSRunLoop.m: ditto
576 * Source/NSURL.m: ditto
577 * Source/Additions/GSMime.m: ditto
578 * Source/Additions/Unicode.m: ditto
579
580
581 2003-07-27 Gregory John Casamento <greg_casamento@yahoo.com> &
582 Alexander Malmberg <alexander@malmberg.org>
583
584 * Source/Additions/GSObjCRuntime.m: GSObjCMethodNames was not
585 returning all methods for the object given.
586
587 2003-07-27 Richard Frith-Macdonald <rfm@gnu.org>
588
589 * Source/NSInvocation.m: implement methodSignatureForSelector for
590 proxy.
591
592 2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
593
594 * Source/GSFFCALLInvocation.m: Add evil hack to cope with cases
595 where type info was not available and we assumed a method returning
596 an id but the actual method returned void.
597 * config/procfs.m4: Test for procfs using 'mount'
598
599 2003-07-25 Richard Frith-Macdonald <rfm@gnu.org>
600
601 * Source/NSDistributedNotificationCenter.m: Partially reverted last
602 change ... seemed to cause problems on some systems.
603 * Tools/gdnc.m: ditto.
604 * Source/NSDebug.m: Small thread safely fix.
605 * Source/NSThread.m: Avoid multiple copies of housekeeping timer.
606 * Source/NSConnection.m: Fix thread related memory leak leaving
607 an NSRunLoop in a connection when the connection is no longer
608 using it.
609 * Source/NSURL.m: retain handle while doing background load.
610
611 2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
612
613 * Source/NSObject.m: Implement methodSignatureForSelector for zombies
614 * Source/DocMakefile: Only remove directory with stamp for 'clean'
615
616 2003-07-22 Adam Fedor <fedor@gnu.org>
617
618 * Version 1.7.2
619
620 2003-07-22 Jeremy Bettis <jeremy@deadbeef.com>
621
622 * Headers/gnustep/base/objc-gnu2next.h (class_nextMethodList):
623 Fix macro to return the method list.
624
625 2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
626
627 * Tools/AGSHtml.m: Don't output authors heading if not needed.
628 * Source/NSUser.m: Use HOMEPATH in preference to USERPROFILE for
629 OPENSTEP compatibility and because USERPROFILE generally doesn't
630 work due to the presence of spaces.
631 * Headers/gnustep/base/NSDebug.h: Minor documentation fix.
632 * Headers/gnustep/base/NSHashTable.h: ditto
633 * Headers/gnustep/base/NSPort.h: ditto
634 * Headers/gnustep/base/NSPortNameServer.h: ditto
635 * Source/DocMakefile: Document serialization classes
636 * Source/NSDebug.m: Fix broken cross reference
637 * Source/NSLog.m: ditto
638 * Source/NSMessagePortNameServer.m: Tidied
639 * Source/NSPortNameServer.m: Tidied and documented.
640 * Source/NSSocketPortNameServer.m: Documented and fixed methods
641 to return NO on failure rather than raising exception.
642 * Source/NSUndoManager.m: Fix documentation markup errors.
643
644 2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
645
646 * Source/Additions/Unicode.m (GROW): Fix shifting of pointers into
647 local buffer for case where we are leaving room for a null terminator.
648 This avoids moving pointer back before start of buffer.
649
650 2003-07-21 Roland Schwingel <Roland.Schwingel@onevision.de>
651
652 * Source/libgnustep-base-entry.m: Don't create unnecessary window.
653
654 Mon Jul 21 11:03:48 2003 Nicola Pero <n.pero@mi.flashnet.it>
655
656 * Tools/HTMLLinker.m: Removed.
657 * Tools/HTMLLinker.html: Removed.
658 * Tools/GNUmakefile: Do not compile it.
659
660 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
661
662 * Source/NSProxy.m: Implement essential methods for a proxy to be
663 vended over an NSConnection.
664
665 2003-07-20 17:27 Alexander Malmberg <alexander@malmberg.org>
666
667 * Source/NSConnection.m (-invalidate): Don't kill the targetToCached
668 timer when invalidating a connection.
669
670 2003-07-20 Richard Frith-Macdonald <rfm@gnu.org>
671
672 * Source/NSThread.m: Separate out sleeping into a more efficient
673 function and improve use of nanosleep
674 * Source/NSLock.m: Use new private sleeping function from NSThread.m
675 and rewrite code to be more responsive, especially for cases where
676 locks are heavily used for rapid interaction between threads.
677 * Tools/thread.m: Test lockBeforeDate
678
679 2003-07-17 Richard Frith-Macdonald <rfm@gnu.org>
680
681 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) use the
682 NSThread method to sleep rather than re-implementing it.
683 * configure.ac: Check for nanosleep()
684 * Headers/Foundation/config.h.in: Add entry for nanosleep
685 * Source/NSThread.m: Use nanosleep if available.
686 * Headers/Foundation/NSProcessInfo.h: Added new methods -
687 ([-setDebugLoggingEnabled:]) and ([-debugLoggingEnabled])
688 * Source/NSProcessInfo.m: ditto
689
690 2003-07-16 David Ayers <d.ayers@inode.at>
691
692 * config.make.in: Default to builing -baseadd on non *-gnu-*
693 configurations.
694
695 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
696
697 * Headers/gnustep/base/NSArray.h: Add methods for creating from URL
698 * Headers/gnustep/base/NSDictionary.h: ditto
699 * Source/NSArray.m: ditto
700 * Source/NSDictionary.m: ditto
701
702 2003-07-15 David Ayers <d.ayers@inode.at>
703
704 * Headers/gnustep/base/NSUndoManager.h: Add
705 NSUndoCloseGroupingRunLoopOrdering enum. Replace instance
706 variables _registeredUndo with _runLoopGroupingPending and
707 _actionName with _unused1.
708 * Source/NSUndoManager.m: Added documentation.
709 Added actionName instance variable to PrivateUndoGroup.
710 (-[PrivateUndoGroup actionName]): New method.
711 (-[PrivateUndoGroup setActionName]): Ditto.
712 (-[PrivateUndoGroup dealloc]): Release new instance variable.
713 (-[PrivateUndoGroup initWithParent:]): Initialize actionName.
714 (-[NSUndoManager forwardInvocation]): Implicitly call
715 beginUndoGrouping if group has not been setup and we are grouping
716 by events. Register _loop: invocation if none is already pending
717 and if we are grouping by event.
718 (-[NSUndoManager registerUndoWithTarget:selector:object]): Ditto.
719 (-[NSUndoManager methodSignatureForSelector:]): Overriden to
720 forward request to target supplied by
721 -prepareWithInvocationTarget: if available.
722 (-[NSUndoManager _loop:]): Set flag to determine pending _loop:
723 processing.
724 (-[NSUndoManager init]): Removed access to _actionName. Have
725 receiver default to group by event.
726 (-[NSUndoManager dealloc]): Ditto.
727 (-[NSUndoManager enableUndoRegistration]): Remove access to
728 _registeredUndo.
729 (-[NSUndoManager redo]): Simplified implementation.
730 (-[NSUndoManager redoActionName:]: Retrieve action name from first
731 grouping of the redo stack.
732 (-[NSUndoManager redoMenuTitleForUndoActionName:]): Add comment
733 about localization.
734 (-[NSUndoManager undoMenuTitleForUndoActionName:]): Ditto.
735 (-[NSUndoManager setActionName:]): Forward call to current
736 grouping.
737 (-[NSUndoManager undoActionName:]: Retrieve action name from first
738 grouping of the undo stack.
739 (-[NSUndoManager setRunLoopModes:]): Use correct run loop ordering
740 and set flag for pending _loop: invocation.
741 (-[NSUndoManager undoNestedGroup]): Removed special case handling
742 of _registeredUndo. Raise NSInternalInconsistencyException if
743 grouping is still in progress. Simplified implementation.
744
745 2003-07-15 Alexander Malmberg <alexander@malmberg.org>
746
747 * Source/NSConnection.m: When creating new connection with registered
748 name on host, ensure that send and receive ports are of same class.
749 * Source/NSMessagePort.m: New for private local connections.
750 * Source/NSMessagePortNameServer.m: New for private local connections.
751 * Source/NSPortNameServer.m: Made abstract
752 * Source/NSSocketPortNameServer.m: Concrete version based on original.
753 * Source/NSSocketPort.m: GSTcpPort.m renamed
754 Alexanders modifications added by RFM and altered slightly to use
755 NSSocketPort by default and to refrain from building new code under
756 windows, so this *shouldn't* break any existing code I hope.
757
758 2003-07-15 Richard Frith-Macdonald <rfm@gnu.org>
759
760 * Source/NSDistributedNotificationCenter.m: Use loopback network
761 interface for local center.
762 * Tools/gdnc.m: ditto.
763
764 2003-07-11 David Ayers <d.ayers@inode.at>
765
766 * Source/GNUmakefile: Make GNUstep.h public.
767 * Source/Additions/GSXML.m: Use cached NSString class variable.
768 * Source/Additions/GSObjCRuntime.m
769 (GSCGetInstanceVariableDefinition): Make more robust.
770
771 2003-07-11 Richard Frith-Macdonald <rfm@gnu.org>
772
773 * Headers/Foundation/NSPort.h: Tweak for mingw and correct conditional
774 compilation to only include NSSocketPort for MacOS-X
775 * Source/GSFileHandle.m: Incorporate S.J.Chuns mingw fixes with huge
776 simplification to avoid lots of conditional compilation.
777 * Source/GSTcpPort.m: ditto.
778 * Source/NSSocketPort.m: ditto.
779
780 2003-07-11 02:33 Alexander Malmberg <alexander@malmberg.org>
781
782 * Source/NSAssertionHandler.m: Use the correct key to store the
783 NSAssertionHandler in the thread dictionary, and document the
784 storing and the key.
785
786 2003-07-09 15:54 Alexander Malmberg <alexander@malmberg.org>
787
788 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): Make sure
789 dst isn't set to NULL in GSToUnicode, too. Make sure it is set if
790 an allocated buffer turns out not to need resizing.
791
792 2003-07-09 02:41 Alexander Malmberg <alexander@malmberg.org>
793
794 * Source/GSString.m (getCString_u): Rewrite to correctly handle
795 all encodings, the range argument, and the leftoverRange attribute.
796
797 * Source/Additions/Unicode.m (GSToUnicode): Clarify the documentation
798 (and fix a few typos in it).
799 (GSFromUnicode): Clarify the documentation. Signal failure correctly
800 from the utf8 encoder. Make sure dst isn't set to NULL if zone is
801 NULL but *size is 0.
802
803 2003-07-08 Richard Frith-Macdonald <rfm@gnu.org>
804
805 * Source/NSString.m: Avoid using atof() in parsing plists ... we
806 don't want libc localised handling of numbers.
807
808 2003-07-08 03:44 Alexander Malmberg <alexander@malmberg.org>
809
810 * Source/Additions/Unicode.m (GSToUnicode, GSFromUnicode): In iconv
811 case, only try to expand the buffer when we really need extra space.
812 Correctly handle all output from flushing iconv.
813
814 2003-07-08 03:03 Alexander Malmberg <alexander@malmberg.org>
815
816 * Source/NSConnection.m (-locateLocalTarget:): The targetToCached
817 map contains CachedLocalObject:s, not GSLocalCounter:s. Extract the
818 GSLocalCounter from the CachedLocalObject.
819
820 Unlock the global_proxies_gate lock before calling
821 -proxyWithLocal:connection:.
822
823 2003-07-07 David Ayers <d.ayers@inode.at>
824
825 * Headers/gnustep/base/GSObjCRuntime.h:
826 * Source/Additions/GSObjCRuntime.m:
827 Added typedef for GSIVar.
828 (GSCGetInstanceVariableDefinition): New function.
829 (GSObjCGetInstanceVariableDefinition): Ditto.
830 * Testing/nstimer.m ([TestDouble -sayCount]): Quit test after 20
831 invocations.
832
833 2003-07-07 Richard Frith-Macdonald <rfm@gnu.org>
834
835 * Source/Source/GSFFCallInvocation.m: gs_objc_msg_forward() trust the
836 selector we are given. Rather than trying to find a better one.
837 * Source/GSFFIInvocation.m: ditto
838 * Source/NSScanner.m: Add a couple of internal utility functions.
839 * Source/NSString.m: Fix floatValue and doubelValue to use non
840 localised conversions.
841 * Source/GSString.m: ditto.
842
843 2003-07-06 Adam Fedor <fedor@gnu.org>
844
845 * configure.ac: Add -R flags for netbsdelf
846
847 2003-07-06 Richard Frith-Macdonald <rfm@gnu.org>
848
849 * Tools/AGSHtml.m: Fix bug in linking to category methods from index.
850 * Tools/AGSParser.m: Improve parsing of clock comments.
851
852 2003-07-05 Adam Fedor <fedor@gnu.org>
853
854 * configure.ac: Add flags for openbsd like freebsd.
855
856 * Tools/gdnc.1, Tools/gdomap.8: Unzip
857 * Tools/GNUmakefile (MAN1_PAGES): gzip man pages.
858
859 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
860
861 * Source/NSDistributedNotificationCenter.m: Use -setProtocolForProxy:
862 and implement dummy class to work around bug in old compilers.
863 * Tools/gdnc.m: ditto
864 * Source/NSDistantObject.m: Fix for calls to remote system where we
865 can get no method signature.
866 Documented.
867
868 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
869
870 * Source/Source/GSFFCallInvocation.m: Modify to use local type
871 information if it looks like it has come from a protocol ...
872 as too much existing code is broken in that DO server objects
873 which are supposed to conform to protocols in fact do not!
874 * Source/GSFFIInvocation.m: ditto
875
876 Fri Jul 4 11:09:37 2003 Nicola Pero <n.pero@mi.flashnet.it>
877
878 * NSTimeZones/Makefile.postamble: Make the code more robust by
879 adding rule to create the installation dirs.
880
881 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
882
883 * Source/NSDistantObject.m: Avoid recursion fetching method signature.
884 * Source/NSObject.m: ([methodSignatureForSelector:]) modified to take
885 into account any protocols that the receiver conforms to, so the
886 returned signature has the fullest possible type information.
887 Category Protocol(Fixup) ... evil hack to work around runtime bug.
888 * Source/GSFFCallInvocation.m: Fetch method signature from receiver
889 in preference to using other info. Ensures we have correct info for
890 the object we are sending the message to.
891 * Source/GSFFIInvocation.m: ditto
892
893 2003-07-03 Richard Frith-Macdonald <rfm@gnu.org>
894
895 * Source/NSCalendarDate: ([-initWithString:calendarFormat:]) default
896 year to 0001 s the gregorian calendar does not go earlier.
897 ([-initWithYear:month:day:hour:minute:second:timeZone:]) don't
898 override a previously set calendar format.
899
900 2003-07-01 David Ayers <d.ayers@inode.at>
901
902 * Headers/gnustep/base/GSObjCRuntime.h/m (GSPrintf),
903 * Headers/gnustep/base/NSObjCRuntime.h (GSPrintf),
904 * Source/NSLog.m (GSPrintf): Moved implementation from NSLog.m to
905 GSObjCRuntime.m and declaration from NSObjCRuntime.h to
906 GSObjCRuntime.h.
907
908 2003-07-01 Richard Frith-Macdonald <rfm@gnu.org>
909
910 * Source/Additions/Unicode.m: Flush iconv buffer at end of conversion
911 to handle obscure cases where it says it has converted all the input
912 sequence, but hasn't written all the output.
913
914 2003-06-30 Richard Frith-Macdonald <rfm@gnu.org>
915
916 * Source/Additions/Unicode.m: Add 'UTF-7' so iconv can be used to
917 handle utf7 if available.
918 * Tools/AGSParser.m: Don't always strip asterisks from comments,
919 Check first line of comment to see if it has one first.
920
921 2003-06-28 15:48 Alexander Malmberg <alexander@malmberg.org>
922
923 * Tools/make_strings/StringsFile.h, Tools/make_strings/StringsFile.m,
924 Tools/make_strings/make_strings.h, Tools/make_strings/make_strings.m:
925 Clean up handling of key matching and ignoring. Add
926 --aggressive-remove option.
927
928 2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
929
930 * Source/NSBundle.m: Don't NSLog when we can't find a localizable
931 file ... log only when bundle debugging is turned on.
932
933 2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
934
935 * Source/NSPipe.m: Fix descriptor leak ... close on dealloc
936
937 2003-06-25 Adam Fedor <fedor@gnu.org>
938
939 * Tools/gdnc.1.gz: New file (from Martin Brecher).
940 * Tools/GNUmakefile (MAN1_PAGES): Install it
941
942 2003-06-24 David Ayers <d.ayers@inode.at>
943
944 * Source/GSFFCallInvocation.m
945 (gs_method_for_receiver_and_selector): Replace usage of
946 class_get_instance/class_method with GSGetInstance/ClassMethod and
947 Method_t with GSMethod.
948 (gs_find_by_receiver_best_typed_sel): Ditto.
949 (GSInvocationCallback): Ditto.
950 ([GSFFCallInvocation -invokeWithTarget:]): Ditto.
951 * Source/GSFFIInvocation.m
952 (gs_method_for_receiver_and_selector): Ditto.
953 (gs_find_by_receiver_best_typed_sel): Ditto.
954 (GSFFIInvocationCallback): Ditto.
955 ([GSFFIInvocation -invokeWithTarget:]): Ditto.
956 * Source/NSConnection.m
957 ([NSConnection -_service_typeForSelector:]): Ditto.
958 * Source/NSInvocation.m
959 ([NSInvocation -invokeWithTarget:]): Ditto.
960 * Source/NSObject.m
961 ([NSObject +instanceMethodSignatureForSelector:]): Ditto.
962 ([NDObject -methodSignatureForSelector:]): Ditto.
963 ([NSObject +descriptionForInstanceMethod:]): Ditto.
964 ([NSOnject -descriptionForMethod:]: Ditto.
965 * Source/NSProxy.m
966 ([NSProxy +methodSignatureForSelector:]): Ditto.
967 ([NSProxy -methodSignatureForSelector:]): Ditto.
968 * Source/NSDistantObject.m
969 ([NSObject -selectorTypeForProxy:]): Ditto.
970 ([NSDistantObject +respondsToSelector:]): Ditto. Corrected
971 implementation to check class methods instead of instance methods.
972
973 2003-06-23 Adam Fedor <fedor@gnu.org>
974
975 * Testing/diningPhilosophers.m: Locking and output fixes (from
976 Chris Beaham).
977 * Testing/create-abbrevs, Testing/create-regions: Remove.
978
979 2003-06-23 Adam Fedor <fedor@gnu.org>
980
981 * Source/NSProcessInfo.m (+load): use the KVM library where
982 available when procfs doesn't work (FreeBSD, others?) (patch from
983 Pete French <pete@twisted.org.uk>).
984
985 2003-06-21 David Ayers <d.ayers@inode.at>
986
987 * Headers/gnustep/base/objc-gnu2next.h: Remove simple mappings for
988 class_get_class_method they cannot work due to different
989 parameter expectations. Added mapping from NeXT->GNU runtime.
990 The other way does not work. Added simple mapping for internal
991 flush function __objc_update_dispatch_table_for_class and
992 _objc_flush_caches.
993
994 * Headers/gnustep/base/GSObjCRuntime.h/m:
995 Added typedef for GSMethod.
996 (GSGetInstanceMethod): New function.
997 (GSGetClassMethod): Ditto.
998 (GSGetInstanceMethodNotInherited): Ditto.
999 (GSGetClassMethodNotInherited): Ditto.
1000 (GSFlushMethodCacheForClass): Ditto.
1001 (flush_method_cache_for_class): Removed function which is replaced
1002 by GSFlushMethodCacheForClass.
1003 (GSObjCGetMethod): Removed function which is replaced by
1004 GSGetInstanceMethod and GSGetClassMethod.
1005 (GSObjCReplaceMethod): Removed function.
1006
1007 2003-06-21 Adam Fedor <fedor@gnu.org>
1008
1009 * configure.ac: Check for libkvm.
1010 * configure, Headers/gnustep/base/config.h.in: Regen.
1011
1012 2003-06-20 Adam Fedor <fedor@gnu.org>
1013
1014 * Documentation/Makefile.postamble (after-clean): Remove Base
1015 and BaseAdditions
1016
1017 2003-06-20 Richard Frith-Macdonald <rfm@gnu.org>
1018
1019 * Source/GSString.m: Allow more length when converting unicode
1020 string to integer.
1021 * Source/NSObject.m: ([methodSignatureForSelector:]) return nil if
1022 the receiver does not implement it.
1023
1024 2003-06-20 Adam Fedor <fedor@gnu.org>
1025
1026 * Documentation/Makefile.postamble (after-clean):
1027 * Version 1.7.1
1028
1029 * Source/DocMakefile (after-all): Check if Base exists before
1030 removing it.
1031
1032 2003-06-19 Adam Fedor <fedor@gnu.org>
1033
1034 * GNUmakefile (SUBPROJECTS): Revert last change.
1035
1036 2003-06-19 Andrew Ruder <aeruder@yahoo.com>
1037
1038 * Source/Additions/Unicode.m: Increase size of table by one to
1039 avoid error if all possible character encodings were supported.
1040 Never happens ... but might conceivably do so one day.
1041
1042 2003-06-18 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
1043
1044 * configure.ac: Add --with--ffcall-include=PATH and
1045 --with-ffcall-library=PATH options
1046
1047 2003-06-18 Richard Frith-Macdonald <rfm@gnu.org>
1048
1049 * Source/Additions/GSXML.m: Implement -description for nodes.
1050
1051 2003-06-17 Adam Fedor <fedor@gnu.org>
1052
1053 * GNUmakefile (SUBPROJECTS): Add Documentation
1054
1055 2003-06-17 Chris Vetter <chrisv@web4inc.com>
1056
1057 * Tools/AGSHtml.m: Tidy up formatting of author output.
1058
1059 2003-06-16 13:36 Alexander Malmberg <alexander@malmberg.org>
1060
1061 * Source/GSFormat.m (GSFormat()): Free malloc memory in all cases
1062 after handling %s, %S, %@ with strings longer than 8192 characters.
1063
1064 2003-06-15 Richard Frith-Macdonald <rfm@gnu.org>
1065
1066 * Source/NSAutoreleasePool.m: Documented.
1067 * Headers/gnustep/base/NSObject.h: Documented memory management macros
1068 for autogsdoc.
1069
1070 2003-06-14 Richard Frith-Macdonald <rfm@gnu.org>
1071
1072 * Source/Additions/GSMime.m: Better attempt to infer charset from
1073 string only when needed.
1074 Don't insert transer encoding header if not needed.
1075
1076 2003-06-11 Adam Fedor <fedor@gnu.org>
1077
1078 * Source/NSNumberFormatter.m
1079 (-getObjectValue:forString:errorDescription:): Simple
1080 implementation.
1081
1082 2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
1083
1084 * Source/NSString.m
1085 In [initWithContentsOfURL:] changed variable test to unichar* to
1086 keep the compiler quiet.
1087 * Source/Additions/Unicode.m
1088 In GSFromUnicode() removed type cast of *_conv_base as the
1089 gcc 3.3 compiler complained about it.
1090
1091 2003-06-07 David Ayers <d.ayers@inode.at>
1092
1093 * Headers/gnustep/base/GSObjCRuntime.h
1094 * Source/Additions/GSObjCRuntime.m : White space patch to better
1095 conform with GNU coding standards and improve readability.
1096 Wrap deprecated API in NO_DEPRICATED macro.
1097
1098 2003-06-06 David Ayers <d.ayers@inode.at>
1099
1100 * Source/GSArray.m: Change syntax of include <> to "" for
1101 local headers. Change base/ to gnustep/base/ in includes.
1102 Source/GSAttributedString.m, Source/GSCompatibility.m,
1103 Source/GSCountedSet.m, Source/GSDictionary.m,
1104 Source/GSFFCallInvocation.m, Source/GSFFIInvocation.m,
1105 Source/GSFTPURLHandle.m, Source/GSFileHandle.m,
1106 Source/GSFormat.m, Source/GSHTTPURLHandle.m,
1107 Source/GSLocale.m, Source/GSSet.m,
1108 Source/GSString.m, Source/GSTcpPort.m,
1109 Source/GSTemplateValue.m, Source/GSValue.m,
1110 Source/NSArchiver.m, Source/NSArray.m,
1111 Source/NSAssertionHandler.m, Source/NSAttributedString.m,
1112 Source/NSAutoreleasePool.m, Source/NSBitmapCharSet.m,
1113 Source/NSBundle.m, Source/NSCalendarDate.m,
1114 Source/NSCallBacks.h, Source/NSCallBacks.m,
1115 Source/NSCharacterSet.m, Source/NSClassDescription.m,
1116 Source/NSCoder.m, Source/NSConcreteNumber.m,
1117 Source/NSConnection.m, Source/NSCopyObject.m,
1118 Source/NSCountedSet.m, Source/NSData.m,
1119 Source/NSDate.m, Source/NSDateFormatter.m,
1120 Source/NSDebug.m, Source/NSDecimal.m,
1121 Source/NSDecimalNumber.m, Source/NSDictionary.m,
1122 Source/NSDistantObject.m, Source/NSDistributedLock.m,
1123 Source/NSDistributedNotificationCenter.m, Source/NSEnumerator.m,
1124 Source/NSException.m, Source/NSFileHandle.m,
1125 Source/NSFileManager.m, Source/NSFormatter.m,
1126 Source/NSGeometry.m, Source/NSHashTable.m,
1127 Source/NSHost.m, Source/NSInvocation.m,
1128 Source/NSKeyValueCoding.m, Source/NSLock.m,
1129 Source/NSLog.m, Source/NSMapTable.m,
1130 Source/NSMethodSignature.m, Source/NSNotification.m,
1131 Source/NSNotificationCenter.m, Source/NSNotificationQueue.m,
1132 Source/NSNull.m, Source/NSNumber.m,
1133 Source/NSNumberFormatter.m, Source/NSObjCRuntime.m,
1134 Source/NSObject.m, Source/NSPage.m,
1135 Source/NSPipe.m, Source/NSPort.m,
1136 Source/NSPortCoder.m, Source/NSPortMessage.m,
1137 Source/NSPortNameServer.m, Source/NSProcessInfo.m,
1138 Source/NSProtocolChecker.m, Source/NSProxy.m,
1139 Source/NSRange.m, Source/NSRunLoop.m,
1140 Source/NSScanner.m, Source/NSSerializer.m,
1141 Source/NSSet.m, Source/NSSocketPort.m,
1142 Source/NSString.m, Source/NSTask.m,
1143 Source/NSThread.m, Source/NSTimeZone.m,
1144 Source/NSTimer.m, Source/NSURL.m,
1145 Source/NSURLHandle.m, Source/NSUnarchiver.m,
1146 Source/NSUndoManager.m, Source/NSUser.m,
1147 Source/NSUserDefaults.m, Source/NSValue.m,
1148 Source/NSZone.m, Source/UnixFileHandle.m,
1149 Source/callframe.h, Source/callframe.m,
1150 Source/cifframe.h, Source/cifframe.m,
1151 Source/externs.m, Source/libgnustep-base-entry.m,
1152 Source/mframe.m, Source/objc-gnu2next.m,
1153 Source/objc-load.m, Source/preface.m,
1154 Source/thr-mach.m, Source/thr-pthread.m,
1155 Source/Additions/GCArray.m, Source/Additions/GCDictionary.m,
1156 Source/Additions/GCObject.m, Source/Additions/GSCategories.m,
1157 Source/Additions/GSCompatibility.h, Source/Additions/GSMime.m,
1158 Source/Additions/GSNextRuntime.m, Source/Additions/GSObjCRuntime.m,
1159 Source/Additions/GSXML.m, Source/Additions/Unicode.m,
1160 Source/Additions/behavior.m: Idem.
1161
1162 2003-06-03 Adam Fedor <fedor@gnu.org>
1163
1164 * Source/mframe/powerpc/darwin: New file.
1165
1166 2003-06-02 Richard Frith-Macdonald <rfm@gnu.org>
1167
1168 * Source/mframe.m: Allow for structure names in type specifications.
1169
1170 2003-05-29 Adam Fedor <fedor@gnu.org>
1171
1172 * configure.ac: Pass on original CPPFLAGS to config.mak.
1173 * config/objc-con-autoload.m4: Test for constructors directly.
1174 * config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.
1175
1176 * Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.
1177
1178 * Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
1179 around START so it will compile on GCC 2.
1180
1181 * Testing/nsbundle.m: Errors to stdout.
1182
1183 2003-05-26 Adam Fedor <fedor@gnu.org>
1184
1185 * Testing/Makefile.postamble (check): Define to run all
1186 checkable tools (ones that exit in a finite amount of time).
1187 * Testing/README: New.
1188
1189 2003-05-23 Richard Frith-Macdonald <rfm@gnu.org>
1190
1191 * Source/Additions/GSXML.m: Some work towards making it possible to
1192 subclass GSTreeSAXHandler cleanly, so you can build a tree
1193 representation of a document but still handle data incrementally.
1194
1195 2003-05-22 Richard Frith-Macdonald <rfm@gnu.org>
1196
1197 * Source/Additions/GSXML.m: ([GSXPathContext-evaluateExpression:])
1198 Test for NULL return from libxml and return nil rather than trying
1199 to dereference the null pointer.
1200 New features to record error and warning messages added.
1201 * Headers/Foundation/GSXML.h: ([GSXMLParser-messages]) returns saved
1202 messages. ([GSXMLParser-saveMessages:]) Says whether to save messages
1203 or write to stderr.
1204 * Source/Additions/GSObjCRuntime.m: Hack to fix type clash in
1205 declaration of __objc_exec_class()
1206
1207 2003-05-19 Adam Fedor <fedor@gnu.org>
1208
1209 * Version 1.7.0.
1210 * Documentation/news.texi: Updated.
1211
1212 * NSObject: Revert last change
1213
1214 2003-05-20 David Ayers <d.ayers@inode.at>
1215
1216 * Headers/gnustep/base/GSObjCRuntime.h (GSObjCGetMethod(),
1217 GSObjCReplaceMethod()): Removed declarations for release as these
1218 functions will be replaced by a more consistent approach.
1219
1220 2003-05-19 Adam Fedor <fedor@gnu.org>
1221
1222 * Source/NSObject (GSAtExit): New function.
1223 (+initialize): Use it with atexit.
1224
1225 * Source/objc-load.m (objc_invalidate_dtable): Remove.
1226 (objc_load_callback): Don't call it.
1227
1228 2003-05-16 Richard Frith-Macdonald <rfm@gnu.org>
1229
1230 * Source/NSDate.m: Documented.
1231
1232 2003-05-14 Richard Frith-Macdonald <rfm@gnu.org>
1233
1234 * Source/Additions/GSMime.m: Fix occasional error unfolding
1235 headers.
1236
1237 2003-05-14 16:50 Alexander Malmberg <alexander@malmberg.org>
1238
1239 * Source/NSUser.m, Headers/gnustep/base/NSPathUtilities.h: Add
1240 GSApplicationSupportDirectory constant for
1241 NSSearchPathForDirectoriesInDomains.
1242
1243 2003-05-14 David Ayers <d.ayers@inode.at>
1244
1245 * Tools/Makefile.postamble: Added safe handling of empty
1246 MAN1_PAGES variable.
1247 * Tools/pl2link.m (main): Initialize variable to supress
1248 compiler warning.
1249
1250 2003-05-13 Richard Frith-Macdonald <rfm@gnu.org>
1251
1252 * Source/Tools/gdnc.m: Tidy termination code.
1253 * Source/Additions/GSMime.m: ([GSMimeDocument-copyWithZone:])
1254 corrected implementation to do a real copy rather than just a
1255 retain.
1256
1257 2003-05-13 15:57 Alexander Malmberg <alexander@malmberg.org>
1258
1259 * Tools/gdnc.m (ihandler): Declare variables.
1260
1261 2003-05-12 Richard Frith-Macdonald <rfm@gnu.org>
1262
1263 * Source/Additions/GSXML.m: New -escapedContent method to provide
1264 text with the five entities libxml automatically substitutes even
1265 when told not to.
1266 * Tools/AGSHtml.m: Use -escapedContent to get text suitable for
1267 output in html documents.
1268
1269 2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
1270
1271 * Tools/gdomap.8.gz: Added man page adapted from internal docs by
1272 martin@mb-itconsulting.com
1273 * Tools/GNUmakefile: Declare man pages to be installed
1274 * Tools/Makefile.postamble: Install man pages
1275
1276 2003-05-08 Richard Frith-Macdonald <rfm@gnu.org>
1277
1278 * Tools/xmlparse.m: new utility to parse/validate xml, for testing
1279 gsdoc and new style property lists etc.
1280 * Source/NSBundle.m: ([+allBundles]) Make sure the main bundle is
1281 present. Add some documentation.
1282
1283 2003-05-07 Richard Frith-Macdonald <rfm@gnu.org>
1284
1285 * Source/GSString.m: ([-initWithCStringNocopy:length:freeWhenDone:])
1286 check encodings and convert to unicode if necessary. Thanks to
1287 Alaxander for pointing out bug.
1288
1289 2003-05-06 Richard Frith-Macdonald <rfm@gnu.org>
1290
1291 * Source/GSString.m: Fix call to GSFormat() to append to a mutable
1292 string whose contents should not be freed.
1293 Removed bogus TODO comments saying code broken when defEnc!=intEnc
1294 in routines which should never be called when defEnc!=intEnc anyway.
1295 * Source/NSData.m: Remove windows specific code for simplification
1296 as the standard code actually works as well or better according to
1297 <Roland.Schwingel@onevision.de>
1298 * Tools/AGSParser.m: Ignore forward declarations of protocols.
1299
1300 2003-05-05 15:28 Alexander Malmberg <alexander@malmberg.org>
1301
1302 * Source/Unicode.m (GSFromUnicode, GSToUnicode): Make sure the
1303 internal work buffer isn't returned to the caller.
1304
1305 * Source/NSString.m: Clarify some comments, and mark code that is
1306 broken when defEnc!=intEnc.
1307
1308 (fillHole, makeHole): Remove STABLE_MEMCPY. Use memmove.
1309
1310 (transmute): Set the zone to the default zone when transmuting.
1311 Check the return value from GSToUnicode.
1312
1313 (getCharacters_c): Check the return value from GSToUnicode.
1314
1315 2003-05-02 Richard Frith-Macdonald <rfm@gnu.org>
1316
1317 * Source/GSTcpPort.m: ([dispatch]) catch exceptions handling the port
1318 message, so as to ensure that locking won't get out of sync.
1319
1320 Mon Apr 28 12:09:44 BST 2003 Nicola Pero <nicola@brainstorm.co.uk>
1321
1322 * NSCharacterSets/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR):
1323 Define using the full relative path.
1324 * Resources/GNUmakefile (base-resources_RESOURCE_FILES_INSTALL_DIR): Idem.
1325
1326 2003-04-27 Adam Fedor <fedor@gnu.org>
1327
1328 * Updates for filesystem change.
1329 * GNUmakefile (GNUSTEP_MAKEFILES): Remove
1330 * Documentation/GNUmakefile, Examples/GNUmakefile,
1331 NSTimeZones/GNUmakefile, SSL/GNUmakefile, SSL/configure.ac,
1332 Source/DocMakefile, Source/GNUmakefile,
1333 Source/Additions/GNUmakefile, Testing/GNUmakefile,
1334 Tools/GNUmakefile: Idem.
1335 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
1336 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
1337 Replace Headers with Library/Headers.
1338 * Source/mframe/configure.ac: Idem.
1339 * NSCharacterSets/GNUmakefile: Use resource-set.make.
1340 * Resources/GNUmakefile: Idem.
1341 * Resources/GNUmakefile.postamble: Remove before/after install cmds.
1342
1343 * Source/NSBundle (+pathForLibraryResource:ofType:inDirectory:):
1344 New method.
1345 (+pathForGNUstepResource:...): Depreciate.
1346 * Source/Additions/GSXML.m: Use it to find DTDs.
1347
1348 * Source/GSLocale.m (GSLanguageFromLocale): Use +bundleForLibrary
1349 to locate resources.
1350 * Source/NSCharacterSet.m (+_bitmapForSet:number:): Idem.
1351 * Source/NSUserDefaults.m (+standardUserDefaults): Idem.
1352 * Source/Additions/Unicode.m (GSEncodingFromLocale): Idem.
1353 * Source/NSTimeZone.m (_time_zone_path): New function.
1354 (+systemTimeZone, +getAbbreviationFile, +getRegionsFile,
1355 +getTimeZoneFile): Use it.
1356
1357 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Change
1358 libsDir to "Library/Libraries", docDir to "Library/Documentation".
1359
1360 * Source/Additions/GSCompatibility.[hm]: Change
1361 +pathForGNUstepResource:... to +pathForLibraryResource:...
1362
1363 2003-04-27 Richard Frith-Macdonald <rfm@gnu.org>
1364
1365 * Source/NSUserDefaults.m: ([synchronize]) fix locking to permit
1366 recursive call to this method, ensuring the distributed lock is
1367 only obtained once.
1368 * Headers/gnustep/base/GSCategories.h: removed varargs helper macros
1369 * Headers/gnustep/base/GSObjCRuntime.h: and put them here.
1370
1371 2003-04-17 Richard Frith-Macdonald <rfm@gnu.org>
1372
1373 * Headers/gnustep/base/GSCategories.h:
1374 * Headers/gnustep/base/NSCalendarDate.h:
1375 * Headers/gnustep/base/NSData.h:
1376 * Headers/gnustep/base/NSObject.h:
1377 * Headers/gnustep/base/NSString.h:
1378 * Headers/gnustep/base/NSValue.h:
1379 * Headers/gnustep/base/Foundation.h:
1380 Tidied use of GSCategories.
1381 * Source/NSFileManager.m: ([linkPath:toPath:handler:]) implemented.
1382
1383 2003-04-16 Richard Frith-Macdonald <rfm@gnu.org>
1384
1385 * Headers/gnustep/base/NSUserDefaults.h: remove timer ivar, now unused.
1386 * Source/NSRunLoop.m: Support a housekeeping timer which is ignored
1387 for purposes of deciding whether the loop shoiuld terminate.
1388 * Source/NSThread.m: Set up housekeeping timer to trigger housekeeping
1389 notifications in the default mode of the runloop of the main thread.
1390 * Source/NSUserDefaults.m: Use housekeeping notifications to trigger
1391 synchronise rather than using timers ... avoid circular dependencies.
1392 Thanks to Derek Zhou for bug report.
1393
1394 2003-04-15 Richard Frith-Macdonald <rfm@gnu.org>
1395
1396 * Source/NSData.m: Experimantal disable ReadFile and WriteFile on MINGW
1397
1398 2003-04-14 Richard Frith-Macdonald <rfm@gnu.org>
1399
1400 * Source/NSObjCRuntime.m: NSClassFromString(), NSSelectorFromString()
1401 avoid doing an unnecessary autorelease.
1402
1403 2003-04-12 Richard Frith-Macdonald <rfm@gnu.org>
1404
1405 * Source/callframe.m:
1406 * Source/cifframe.m:
1407 Fix error in returning pointer to struct values.
1408
1409 2003-04-11 Richard Frith-Macdonald <rfm@gnu.org>
1410
1411 * Source/NSConnection.m: ([_service_forwardForProxy:]) don't free the
1412 decoded selector name ... the NSPortCoder now does it.
1413 ([typeForSelector:]) return autoreleased copy of the type string.
1414
1415 2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
1416
1417 * Source/callframe.m:
1418 * Source/cifframe.m:
1419 Fix error in returning data via pointer arguments ... was writing to
1420 wrong memory location.
1421 * Source/GSFFCallInvocation.m: minor tidy up.
1422 * Source/NSArchiver.m: Structure encoding/decoding fixes.
1423 * Source/NSData.m: Structure encoding/decoding fixes.
1424 * Source/NSPortCoder.m: Structure encoding/decoding fixes.
1425 Manage memory used by decoded pointers (including c-strings).
1426 * Source/NSUnarchiver.m: Structure encoding/decoding fixes.
1427 * Source/NSConnectiom.m: Don't try to autorelease decoded pointers.
1428 * Testing/server.h: Make large structure have tricky layout.
1429 * Testing/nsconnection_client.m: Add harder structure test.
1430 * Testing/nsconnection_server.m: Add harder structure test.
1431
1432 2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
1433
1434 * Source/GSTcpPort.m:
1435 * Source/NSData.m:
1436 * Source/NSSerializer.m:
1437 * Source/NSURL.m:
1438 Replace __alignof__() with calls to objc_alignof_type() so that if
1439 __alignof__() is broken we can hope that the objc runtime library
1440 has a workaround.
1441
1442 2003-04-08 Richard Frith-Macdonald <rfm@gnu.org>
1443
1444 * Headers/gnustep/base/Foundation.h: Include GNUstep extensions
1445 from GSCategories.h
1446
1447 2003-04-08 15:37 Alexander Malmberg <alexander@malmberg.org>
1448
1449 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
1450 Fix assignment of 'found' in %z handling.
1451
1452 2003-04-07 13:21 Alexander Malmberg <alexander@malmberg.org>
1453
1454 * configure.ac: Link directly to the foreign function interfaces
1455 section in the build guide in the error message for missing ffi
1456 library.
1457
1458 * configure: Regenerate.
1459
1460 2003-04-07 Richard Frith-Macdonald <rfm@gnu.org>
1461
1462 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST and
1463 GS_USEIDPAIRLIST): Complete implementation and testing.
1464 * Source/NSDictionary.m: Use macro.
1465
1466 2003-04-06 23:30 Alexander Malmberg <alexander@malmberg.org>
1467
1468 * Headers/gnustep/base/GSCategories.h (GS_USEIDLIST): Make the
1469 implementation match the actual use in NSArray and NSSet. Clarify
1470 documentation.
1471
1472 2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
1473
1474 * Source/NSThread.m: (GSPerformHolder) execute perform operations
1475 in the same order in which they were submitted.
1476 * Headers/GNUstep/base/GSCategories.h: Added two new macros to
1477 agressively optimise the use of varargs when initialising arrays
1478 etc by avoiding multiple allocation/reallocation of memory to hold
1479 arrays of objects taken from the varargs list.
1480 * Source/NSArray.m: Use the new macros.
1481
1482 2003-04-04 Stephane Corthesy <stephane@sente.ch>
1483
1484 * macosx/config.h, macosx/preface.h: Update.
1485 * macosx/gnustep.pbproj/project/pbxproj: Use relative paths.
1486
1487 2003-04-04 Adam Fedor <fedor@gnu.org>
1488
1489 * Source/Additions/GSCompatibility.m ([NSString(GSCompatibility)
1490 -substringFromRange:]): Add.
1491
1492 2003-04-04 Richard Frith-Macdonald <rfm@gnu.org>
1493
1494 * Headers/Foundation/NSInvocation: Added NS_INVOCATION asnd NS_MESSAGE
1495 * Source/NSInvocation.m: Support the two new macros. Documented.
1496 * Testing/nsinvocation.m: Trivial tests added.
1497 * Documentation/OpenStepCompliance.gsdoc: Updated.
1498 * Source/NSConnection.m: ([-forwardInvocation:forProxy:]) set
1499 invocation target explicitly, in case this was called as a result
1500 of a manual setup of the invocation rather than real forwarding.
1501
1502 2003-04-03 Adam Fedor <fedor@gnu.org>
1503
1504 * Documentation/OpenStepCompliance.gsdoc: New file.
1505 * Documentation/Base.gsdoc: Reference it.
1506 * Source/DocMakefile: Update.
1507
1508 2003-04-02 Stephane Corthesy <stephane@sente.ch>
1509
1510 * Source/Additions/GSCompatibility.m: Fix up incorrectly applied
1511 patch.
1512 * Source/Additions/Unicode.m (GSEncodingName): Don't define if
1513 NeXT_Foundation_Library.
1514
1515 2003-04-02 Adam Fedor <fedor@gnu.org>
1516
1517 * Headers/gnustep/base/Foundation.h: Revert previous change
1518
1519 2003-04-02 Richard Frith-Macdonald <rfm@gnu.org>
1520
1521 * Source/Additions/GSXML.m: ([-content]) fix to produce string
1522 content of elements rather than just text nodes.
1523 * Source/GSMime.m: ([-rawMimeData]) ensure that the transfer encoding
1524 of a multipart document is 8bit if any of its constituent parts are
1525 8bit or binary
1526
1527 22003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
1528
1529 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
1530 add support for %F millisecond initialisation.
1531 make trivial simplification of timezone handling.
1532 on failure to parse zone using %z, use local time zone.
1533
1534 2003-03-31 Stephane Corthesy <stephane@sente.ch>
1535
1536 * Source/Additions/GCArray.m: Replace retain/release by
1537 RETAIN/RELEASE macros.
1538 * Source/Additions/GCDictionary.m: Idem.
1539
1540 * Source/Additions/GSCompatibility.h: Add NSBundle category.
1541 * Source/Additions/GSCompatibility.m (GSEncodingName): New.
1542 Add -[NSBundle pathForGNUstepResource:ofType:inDirectory:].
1543
1544 * Source/Additions/GSObjCRuntime.m: Include GNUstep.h.
1545 (GSObjCMethodNames): Cast method_name to const char *.
1546
1547 2003-03-31 Adam Fedor <fedor@gnu.org>
1548
1549 * Headers/gnustep/base/Foundation.h: Add GSCategories.h
1550
1551 2003-03-30 Adam Fedor <fedor@gnu.org>
1552
1553 * Headers/gnustep/base/NSString.h: (stringByTrimmingLeadSpaces,
1554 stringByTrimmingTailSpaces, stringByTrimmingSpaces,
1555 stringByReplacingString:withString:, replaceString:withString:,
1556 trimLeadSpaces, trimTailSpaces, trimSpaces): Move to GSCategories.h
1557 * Headers/gnustep/base/NSValue.h (valueFromString): Idem.
1558 * Source/NSNumber.m (valueFromString:): Move to GSCategories.m
1559 * Source/NSString.m: Idem as above.
1560 * Source/Additions/GSCategories.m: Methods moved here.
1561 * Source/Additions/GSCompatibility.h: Rearrange, add
1562 NSDistantObject, NSFileHandle category, GSCurrentThreadDictionary().
1563 * Source/Additions/GSCompatibility.m: Add GSCurrentThreadDictionary
1564 NSDistantObject, and NSFileHandle methods.
1565
1566 2003-03-28 20:48 Alexander Malmberg <alexander@malmberg.org>
1567
1568 * configure.ac: Fail the configure if neither ffcall nor ffi is
1569 available unless --disable-do is passed to configure. Add a message
1570 about why a user most likely does not want to build with ffcall and
1571 ffi, and with a link to the build guide.
1572
1573 * configure: Regenerate.
1574
1575 2003-03-27 Adam Fedor <fedor@gnu.org>
1576
1577 * Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.
1578
1579 2003-03-27 Stephane Corthesy <stephane@sente.ch>
1580
1581 * Tools/autogsdoc.m, AGSHtml.m, AGSIndex.m, AGSOutput.m: Add
1582 MacOSX compatibility headers.
1583 * Tools/AGSParser.m: Idem.
1584 (-log:arguments:): Replace strinWithFormat:arguments: with
1585 initWithFormat:arguments:
1586
1587 2003-03-26 David Ayers <d.ayers@inode.at>
1588
1589 * Source/NSKeyValueCoding.m: Added documentation.
1590 * Source/NSKeyValueCoding.m ([NSObject -takeValue:forKey:]),
1591 ([NSObject -valueForKey:]): Corrected search order of instance
1592 variables.
1593
1594 2003-03-25 Stephane Corthesy <stephane@sente.ch>
1595
1596 * macosx: New directory holding MacOSX project for building
1597 Additions framework.
1598
1599 2003-03-25 Richard Frith-Macdonald <rfm@gnu.org>
1600
1601 * Source/NSURL.m: When loading a resource and attempting to notify
1602 a client, check that the client responds to the selectors before
1603 sending messages to it.
1604 Make ([-loadResourceDataNotifyingClient:usingCache:]) work in
1605 background (non-blocking).
1606
1607 2003-03-25 David Ayers <d.ayers@inode.at>
1608
1609 * Headers/gnustep/base/GSObjCRuntime.h
1610 * Source/Additions/GSObjCRuntime.m (GSObjCGetMethod),
1611 (GSObjCReplaceMethod): Added new functions.
1612 * Source/Additions/GSObjCRuntime.m (search_for_method_in_class):
1613 Renamed static function for NeXT runtime to better reflect
1614 reality.
1615 (GSObjCAddMethods): Updated usage.
1616 (search_for_method_in_class): New static function for GNU runtime.
1617 (flush_method_cache_for_class): New static function.
1618 * Headers/gnustep/base/GSCategories.h: Included necessary headers.
1619
1620 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1621
1622 * Completed merge of changes from 1.6.0 branch.
1623
1624 2003-03-17 Adam Fedor <fedor@gnu.org>
1625
1626 * Version 1.6.0
1627
1628 2003-03-17 Adam Fedor <fedor@gnu.org>
1629
1630 * Testing/LoadMe.m (afterLoad): Use description, not name.
1631 * Testing/nsfilemanager.m: Print some output. Clean up.
1632 * Testing/scanner.m, nstimezone.m, release.m: Idem.
1633
1634 * config/config.vsprintf, config/config.vasprintf: Rewrite to
1635 properly call a variable argument function.
1636
1637 2003-03-14 Adam Fedor <fedor@Eldorado.local.>
1638
1639 * Testing/nsarray.m (compare): Un-nest function.
1640
1641 * Source/NSProcessInfo.m (-operatingSystem): Add darwin.
1642
1643 2003-03-13 Richard Frith-Macdonald <rfm@gnu.org>
1644
1645 * Source/NSFileManager.m: ([-isDeletableFileAtPath:]) Fix for the
1646 case where the path is a file in the current directory.
1647
1648 2003-03-11 Adam Fedor <fedor@gnu.org>
1649
1650 * configure.ac: Fix some typos (Reported by
1651 Alexander Malmberg <alexander@malmberg.org>).
1652
1653 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
1654
1655 * Headers/gnustep/base/NSSet.h: Added a few non-openstep declarations
1656 * Source/GSCompatibility.m: OAppend() sort dictionary keys even if
1657 locale is nil.
1658
1659 2003-03-06 Richard Frith-Macdonald <rfm@gnu.org>
1660
1661 * Source/NSData.m: Fix reference to zone of deallocated object.
1662 Bug reported by Roland Schwingel
1663 * Source/NSFileManager.m: Fix typo (using logical or rather than
1664 bitwise or) in call to access()
1665 Bug reported by Roland Schwingel
1666
1667 2003-02-17 <woudshoo@agilisys.com>
1668
1669 * GNUmakefile (GNUSTEP_TARGET_INSTALL_PREFIX)
1670 (GNUSTEP_TARGET_LOCAL_ROOT, GNUSTEP_TARGET_NETWORK_ROOT): On
1671 mingw32 replace / with \\057 to avoid the msys shell translating /
1672 with \.
1673
1674 2003-03-04 Richard Frith-Macdonald <rfm@gnu.org>
1675
1676 * config/config.vasprintf.c:
1677 * config/config.vsprintf.c: Correct the number of arguments passed
1678 so that modern compilers don't fail on these files. A compiler
1679 failure is seen by configure as the same as a runtime failure, and
1680 configure would infer incorrect runtime behavior!
1681
1682 2003-03-01 Richard Frith-Macdonald <rfm@gnu.org>
1683
1684 * Source/NSSerializer.m: Fix crash when deserializing a corrupt or
1685 truncated archive ... raise exception rather than segfaulting.
1686 Added code to recognize newer versions of the serialiser format and
1687 give up if they are encountered and cannot be handled.
1688 * Source/GSTcpPort.m: Added code to recognise newer versions of the
1689 port format and give up if they are encountered and cannot be handled.
1690 This allows for the addition of decent versioning in later formats.
1691
1692 2003-02-28 Richard Frith-Macdonald <rfm@gnu.org>
1693
1694 * Tools/AGSParser.m: Fix to understand __attribute__() in declaration.
1695
1696 2003-02-27 Richard Frith-Macdonald <rfm@gnu.org>
1697
1698 * Tools/AGSIndex.m: Convert nil content to empty strings before use.
1699 * Tools/AGSHtml.m: ditto ... prevent some crashes.
1700
1701 2003-02-24 Richard Frith-Macdonald <rfm@gnu.org>
1702
1703 * Source/NSProcessInfo.m (_gnu_process_args): Tidied patch and add
1704 code to print error and abort if argv is null under unixy systems.
1705
1706 2003-02-24 Tom Koelman <tkoelman@xs4all.nl>
1707
1708 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1709 on MingW) set executable name using module name info.
1710
1711 2003-02-23 Richard Frith-Macdonald <rfm@gnu.org>
1712
1713 * Source/NSUser.m: Don't prepend HOMEDRIVE to HOMEPATH if HOMEPATH
1714 already contains a drive letter.
1715
1716 2003-02-22 Richard Frith-Macdonald <rfm@gnu.org>
1717
1718 * Source/Additions/GSObjCRuntime.m: GSObjCSetValue() correct to call
1719 ([unableToSetNilForKey:]) when it should.
1720 * Source/NSDecimalNumber.m: Override initialisers from NSNumber to
1721 create NSDecimalNumber objects ... bug report by David Ayers.
1722
1723 2003-02-21 Richard Frith-Macdonald <rfm@gnu.org>
1724
1725 * Source/NSDistributedNotificationCenter.m: ([_connect]) make the
1726 connection to the server usable from any thread.
1727
1728 2003-02-19 Adam Fedor <fedor@gnu.org>
1729
1730 * Source/NSKeyValueCoding.m ([NSObject -handleQueryWithUnboundKey:]):
1731 Raise NSUnknownKeyException.
1732 ([NSObject -handleTakeValue:forUnboundKey:]): Idem.
1733
1734 2003-02-18 Adam Fedor <fedor@gnu.org>
1735
1736 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Cast
1737 invocation to access ivars correctly. Check validReturn.
1738
1739 2003-02-18 Tom Koelman <tkoelman@xs4all.nl>
1740
1741 * Source/NSProcessInfo.m (_gnu_process_args): If argv is 0 (e.g.
1742 on MingW) set executable name to empty string.
1743
1744 2003-02-17 Richard Frith-Macdonald <rfm@gnu.org>
1745
1746 * Source/GSString.m: (fillHole) fix memory overrun (read only) and
1747 argument order errors (in code not normally compiled) spotted by
1748 Manuel Guesdon.
1749
1750
1751 2003-03-23 Richard Frith-Macdonald <rfm@gnu.org>
1752
1753 * Start merged of changes from 1.6.0 branch.
1754
1755
1756 2003-03-20 Richard Frith-Macdonald <rfm@gnu.org>
1757
1758 * Source/GSMime.m: (_unfoldHeader) Check that input pointer doesn't
1759 run past end of data.
1760
1761 2003-03-05 15:50 Alexander Malmberg <alexander@malmberg.org>
1762
1763 * Source/NSBundle.m (+initialize) [PROCFS_EXE_LINK]: Make sure that
1764 the link is a path before using it.
1765
1766 2003-03-03 Richard Frith-Macdonald <rfm@gnu.org>
1767
1768 * Headers/gnustep/base/objc-gnu2next.h: Added some trivial reverse
1769 mappings to use gnu runtime from old next code.
1770
1771 2003-03-02 Richard Frith-Macdonald <rfm@gnu.org>
1772
1773 * Headers/gnustep/base/GSObjCRuntime.h:
1774 * Source/GSFFIInvocation.m:
1775 * Source/GSString.m:
1776 * Source/NSInvocation.m:
1777 * Source/NSObject.m:
1778 * Source/NSPortCoder.m:
1779 * Source/NSUnarchiver.m:
1780 * Source/Additions/GSObjCRuntime.m:
1781 * Source/Additions/Unicode.m:
1782 Rename _fastMallocBuffer() to GSAutoreleasedBuffer() for clarity
1783 and consistency. Moved implementation from NSObject.m to
1784 GSObjCRuntime.m so this is available for use withing the Additions
1785 library when built standalone.
1786 Add a couple of trivial functions to list ivars and methods.
1787
1788 2003-02-19 Mirko Viviani <mirko.viviani@rccr.cremona.it>
1789
1790 * Headers/gnustep/base/NSArray.h: fixed declarations.
1791
1792 2003-02-19 David Ayers <d.ayers@inode.at>
1793
1794 * Source/NSArray.m (compare()),
1795 ([-sortedArrayUsingFunction:context:]),
1796 ([-sortedArrayUsingFunction:context:hint:]),
1797 ([-sortUsingFunction:context:]): Changed declarations
1798 and implementation to account for 64 bit architectures.
1799 * Headers/gnustep/base/NSArray.h: Ditto.
1800 * Source/NSKeyValueCoding.m ([-takeStoredValuesFromDictionary:]):
1801 Implemented.
1802 * Headers/gnustep/base/NSKeyValueCoding.h: Ditto.
1803
1804 2003-02-18 Richard Frith-Macdonald <rfm@gnu.org>
1805
1806 * NSObject.m: ([+instancesRespondToSelector:]),([-respondsToSelector])
1807 Return NO when given a null selector unless in MacOS-X compatibility
1808 mode. rewritten from patch by Willem Rein Oudshoorn.
1809
1810 2003-02-16 Adam Fedor <fedor@gnu.org>
1811
1812 * Version 1.5.2
1813 * Documentation: Update.
1814
1815 * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Autorelease
1816 and invalidate the return value object before returning.
1817
1818 2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
1819
1820 * Source/GSDictionary.m: ([-isEqualToDictionary:]) implement optimised
1821 version which does not need to create a key enumerator.
1822 * Source/GSArray.m: ditto
1823 * Source/GSSet.m: similar minor optimisations.
1824
1825 2003-02-15 15:53 Alexander Malmberg <alexander@malmberg.org>
1826
1827 * Source/NSRunLoop.m (-performSelector:target:argument:order:modes:):
1828 Order the performers correctly (lower order values first). Correct
1829 the documentation.
1830
1831 2003-02-13 Richard Frith-Macdonald <rfm@gnu.org>
1832
1833 * Source/NSTimeZone.m: Fix memory leak when making absolute
1834 timezone for offset 0.
1835
1836 2003-02-11 Tom Koelman <tkoelman@xs4all.nl>
1837
1838 * Source/NSTask.m: Make arguments into windows quoted strings for
1839 mingw. Adjustments to conform to GNUstep style and use static
1840 functions to avoid adding methods by RFM.
1841
1842 2003-02-11 Adam Fedor <fedor@gnu.org>
1843
1844 * configure (LDFLAGS): Remove extra spaces that cause problems
1845 on Darwin/gcc
1846
1847 i2003-02-11 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1848
1849 * Headers/Foundation/NSFileManager.h: Added a little bit to the
1850 * documentation of the NSFileManagerHandler protocol.
1851 (some documentation markup fixes by RFM also)
1852 * Source/NSFileManager.m ([NSFileManager -copyPath:toPath:handler:]):
1853 use new private methods to cope with handlers that do not implement
1854 the informal protocol. Pass more information to the handler in case
1855 of an error.
1856 ([NSFileManager -removeFileAtPath:handler:]): see above
1857 ([NSFileManager -movePath:toPath:handler:]): see above
1858 ([NSFileManager -_copyPath:toPath:handler:]): see above
1859 ([NSFileManager -_copyFile:toFile:handler:]): see above, also fixed
1860 leaking of file descriptors in case of error without a handler.
1861 ([NSFileManager -_sendToHandler:handlerwillProcessPath:path]):
1862 new method
1863 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1864 errorinPath:path]): new method
1865 ([NSFileManager -_proceedAccordingToHandler:handlerforError:
1866 errorinPath:pathfromPath:fromPathtoPath:toPath]): new method
1867
1868 2003-02-11 Richard Frith-Macdonald <rfm@gnu.org>
1869
1870 * Source/NSFileManager.m: ([+attributesAt:traverseLink:]) check for
1871 null pointer and return nil. Crash reported by Tom Koelman.
1872
1873 2003-02-10 13:56 Alexander Malmberg <alexander@malmberg.org>
1874
1875 * Source/NSRunLoop.m [HAVE_POLL] (-pollUntil:within:): Set fdEnd
1876 to pollfds_count instead of setting it separately (which was being
1877 done incorrectly).
1878
1879 2003-02-07 19:21 Alexander Malmberg <alexander@malmberg.org>
1880
1881 * Source/GSAttributedString (-setAttributes:range:): Fix memory
1882 leak.
1883
1884 2003-02-06 Richard Frith-Macdonald <rfm@gnu.org>
1885
1886 * Sourcewin32-def.top: Remove recently added external functions.
1887 * Source/libgnustep-base.def.in: Regenerated to just contain
1888 public classes. The manual hacks are no longer needed as the
1889 make system now handles inclusion of symbols from subprojects
1890 in dlls.
1891
1892 2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
1893
1894 * Sourcewin32-def.top: Manually added external functions.
1895 * Source/libgnustep-base.def.in: Regenerated to combine external
1896 functions and all public classes.
1897 * Source/NSConnection.m: ([-init]) creates a connection usable as
1898 a server.
1899
1900 2003-02-04 Richard Frith-Macdonald <rfm@gnu.org>
1901
1902 * Source/NSBundle.m: Implement new MacOS-X isLoaded method.
1903 * Headers/gnustep/base/NSBundle.h: ditto
1904
1905 2003-02-04 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1906
1907 * Headers/gnustep/base/GSInvocation.h (CLEAR_RETURN_VALUE_IF_OBJECT):
1908 * New macro, if invocation returns object release it.
1909 (RETAIN_RETURN_VALUE): New macro, if invocation returns object
1910 release it.
1911 * Source/NSInvocation.m ([NSInvocation -dealloc]): Implement RELEASE
1912 * return object
1913 ([NSInvocation -setReturnValue:]) Implement RETAIN/RELEASE on return
1914 object ([NSInvocation -invokeWithTarget:]): Implement RETAIN/RELEASE
1915 on return object,
1916 fixed _validReturn flag setting
1917 * Source/GSFFIInvocation.m ([GSFFIInvocation -invokeWithTarget:]):
1918 Fix _validReturn flag setting, Implement RETAIN/RELEASE on return
1919 object.
1920 * Source/GSFFCallInvocation.m ([GSFFCallInvocation
1921 * -invokeWithTarget:]):
1922 Fix _validReturn flag setting. Implement RETAIN/RELEASE on return
1923 object.
1924
1925 2003-02-04 Adam Fedor <fedor@Eldorado.local.>
1926
1927 * Headers/gnustep/base/.cvsignore: Don't include config.h.in
1928 * Documentation/.cvsignore: Don't include *texi
1929 * Source/Additions/GSXML.h: Fix up GSXLM.h include on MacOSX
1930
1931 2003-02-02 Stephane Corthesy <stephane@sente.ch>
1932 Adam Fedor <fedor@gnu.org>
1933
1934 * Headers/gnustep/base/GSObjCRuntime.h (GS_STATIC_INLINE): Rename
1935 from FOUNDATION_STATIC_INLINE
1936 * Headers/gnustep/base/GCObject.h, GSXML.h: include
1937 Foundation/Foundation.h on MacOSX.
1938 * Source/Additions/GCArray.m, GCDictionary.m, GCObject.m: Idem.
1939 * Source/Additions/GSCompatibility.[hm]: Change category names to
1940 GSCompatibility.
1941 * Source/Additions/GSNextRuntime.m (ROUND): Expand inline due to
1942 gcc 3.1 compile problems.
1943 * Source/Additions/Unicode.m: Don't define GetEncodingName on MacOSX
1944 Added #ifdef HAVE_ICONV around definition of iconv_stringforencoding().
1945
1946 2003-02-01 Richard Frith-Macdonald <rfm@gnu.org>
1947
1948 * Source/Additions/Unicode.m: Fix error in check for legality of
1949 three-byte utf-8 sequences.
1950
1951 2003-01-31 Richard Frith-Macdonald <rfm@gnu.org>
1952
1953 * Source/NSRunLoop.m: Fix memory leak with timed performs.
1954
1955 2003-01-31 Stephane Corthesy <stephane@sente.ch>
1956 Adam Fedor <fedor@gnu.org>
1957
1958 * Headers/gnustep/base/GSCategories.h: Moved
1959 NSString(GSCategories), NSMutableString(GSCategories), and copied
1960 NSObject(GSCategories) to here
1961 * Headers/gnustep/base/NSString.h, Headers/gnustep/base/NSObject:
1962 From here.
1963 * Headers/gnustep/base/GSMime.h: Include Foundation on MacOSX.
1964
1965 * Source/Additions/GSCategories.m: Fix includes.
1966 * Source/Additions/GSCompatibility.h: Defined DebugLog, WarnLog
1967 macros. Add Additional NSObject, NSInvocation, NSString and
1968 NSProcessInfo methods. Add NSStandardLibraryPaths.
1969 * Source/Additions/GSCompatibility.m: Idem.
1970
1971 2003-01-30 Richard Frith-Macdonald <rfm@gnu.org>
1972
1973 * Source/libgnustep-base.def.in: Regenerated
1974
1975 2003-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1976
1977 * Source/Additions/Unicode.m: Fixed bug in utf-8 output for three
1978 byte sequences.
1979 * Tools/AGSOutput.m: Fix loss of trailing info after a closing
1980 square bracket round a class name.
1981 * Source/Additions/GCArray.m: make mutable copy shallow for
1982 consistency with other arrays.
1983
1984 2003-01-26 Richard Frith-Macdonald <rfm@gnu.org>
1985
1986 * Source/NSString.m: Added new MacOS-X method ...
1987 ([MSMutableString-replaceOccurrencesOfString:withString:options:range:])
1988 * Source/Headers/gnustep/base/NSString.h: ditto
1989 * Source/Additions/GSCategories.m: Added
1990 ([NSData-initWithHexadecimalRepresentation:])
1991 * Source/Headers/gnustep/base/GSCategories.h: ditto
1992
1993 2003-01-26 Adam Fedor <fedor@gnu.org>
1994
1995 * Compiling gdl2 on MacOSX.
1996 * Headers/gnustep/base/NSObject.h (-notImplemented:,
1997 -subclassResponsibility:, -shouldNotImplement:, -compare:): Move
1998 to GSCategories category.
1999 * Headers/gnustep/base/NSString.h (-stringByDeletingPrefix:,
2000 -stringByDeletingSuffix:, -deleteSuffix:, -deletePrefix:): Idem.
2001 * Source/NSObject: Move methods to Additions/GSCategories.m
2002 * Source/NSString: Idem.
2003
2004 * Source/Additions/GSCompatibility.h (GetEncodingName): Add.
2005 * Source/Additions/GSCompatibility.m (GetEncodingName): Cocoa
2006 implementation.
2007
2008 2003-01-24 Richard Frith-Macdonald <rfm@gnu.org>
2009
2010 * Source/Additions/GSCategories.m: Changed name of md5 digest method
2011 and added -hexadecimalRepresentation.
2012 * Source/Additions/GSMime.m: Update for md5 change.
2013 * Documentation/GNUmakefile: Fixed error in installation location.
2014 * Documentation/Makefile.postamble: Fixed to install BaseAdditions
2015 documentation.
2016 * Source/md5.c: Tidy up ... removed ... no longer used
2017 * Source/md5.h: ditto
2018 * Source/numbers.c: ditto
2019 * Headers/gnustep/base/numbers.h: ditto
2020
2021 2003-01-23 Richard Frith-Macdonald <rfm@gnu.org>
2022
2023 * Documentation/Base.gsdoc: Refer to additions.
2024 * Documentation/BaseAdditions.gsdoc: New intorduction for additions
2025 * Headers/gnustep/base/GSCategories.h: Added MD5Digest NSData method
2026 * Source/DocMakefile: Build additions documentation separately
2027 * Source/Additions/GSCategories.m: Added MD5Digest NSData method
2028 * Source/Additions/GSMime.m: Use MD5Digest NSData method.
2029
2030 2003-01-22 Richard Frith-Macdonald <rfm@gnu.org>
2031
2032 * Source/Additions/GSMime.m: ifdefed out my last change ...not sure
2033 it was good.
2034 * Source/GSFileHandle.m: Removed bogus semicolon which was causing
2035 code to be executed repeatedly rather than just once ... trivial
2036 optimisation.
2037
2038 2003-01-21 Adam Fedor <fedor@gnu.org>
2039
2040 * Source/Additions/(GCArray.m, GCDictionary.m, GCObject.m,
2041 GSCategories.m): Include config.h
2042 * Source/Additions/GSMime.m: Add extra arg to some NSDebugMLog to
2043 get it to compile right on OSX.
2044
2045 2003-01-20 Richard Frith-Macdonald <rfm@gnu.org>
2046
2047 * Headers/gnustep/unicode/latin9.h: Latin9 string encoding tables
2048 * Source/Additions/Unicode.m: Added built-in support for the Latin9
2049 character encoding ... contains the Euro symbol ... nice for
2050 european users.
2051 * Source/NSArray.m: Make abstract copying implementation like that
2052 of latest MacOS-X rather than OPENSTEP ... no relationship between
2053 mutability and depth.
2054 * Source/NSDictionary.m: ditto
2055 * Source/NSSet.m: ditto
2056 * Source/GSArray.m: Implement optimised copies ... copying an immutable
2057 object just retains it, and copying a mutable object is shallow.
2058 * Source/GSDictionary.m: ditto
2059 * Source/GSSet.m: ditto
2060
2061 2003-01-16 Richard Frith-Macdonald <rfm@gnu.org>
2062
2063 * Source/NSURL.m: Support MacOS-X style initialisation using a path
2064 with a leading slash.
2065
2066 2003-01-09 Richard Frith-Macdonald <rfm@gnu.org>
2067
2068 * Source/Additions/GSCategories.m: Additional ([weekOfYear]) method
2069 for NSCalendarDate.
2070 * Headers/gnustep/base/GSCategories.h: ditto
2071
2072 2003-01-07 Richard Frith-Macdonald <rfm@gnu.org>
2073
2074 * Source/NSLock.m:
2075 * Source/NSPage.m:
2076 Mingw fixes ... problems reported by Fred.
2077
2078 2003-01-04 Richard Frith-Macdonald <rfm@gnu.org>
2079
2080 * Source/NSConcreteNumber.m: ([compare:]) explicitly cast to promote
2081 values to a type where comparisons can be done without loss of
2082 precision.
2083
2084 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2085
2086 * base.make.in:
2087 * configure:
2088 * configure.ac:
2089 * Headers/gnustep/base/GSIArray.h:
2090 * Headers/gnustep/base/GSIMap.h:
2091 * Headers/gnustep/base/NSGeometry.h:
2092 * Headers/gnustep/base/NSInvocation.h:
2093 * Source/GSArray.m:
2094 * Source/GSAttributedString.m:
2095 * Source/GSCompatibility.m:
2096 * Source/GSCountedSet.m:
2097 * Source/GSDictionary.m:
2098 * Source/GSFFCallInvocation.m:
2099 * Source/GSFTPURLHandle.m:
2100 * Source/GSFileHandle.m:
2101 * Source/GSFormat.m:
2102 * Source/GSString.m:
2103 * Source/GSTcpPort.m:
2104 * Source/GSTemplateValue.m:
2105 * Source/NSArray.m:
2106 * Source/NSAutoreleasePool.m:
2107 * Source/NSBundle.m:
2108 * Source/NSCalendarDate.m:
2109 * Source/NSConcreteNumber.m:
2110 * Source/NSCountedSet.m:
2111 * Source/NSData.m:
2112 * Source/NSDebug.m:
2113 * Source/NSInvocation.m:
2114 * Source/NSLog.m:
2115 * Source/NSMethodSignature.m:
2116 * Source/NSNotificationCenter.m:
2117 * Source/NSObject.m:
2118 * Source/NSPortCoder.m:
2119 * Source/NSRunLoop.m:
2120 * Source/NSScanner.m:
2121 * Source/NSSerializer.m:
2122 * Source/NSString.m:
2123 * Source/NSTimeZone.m:
2124 * Source/NSUnarchiver.m:
2125 * Source/mframe.m:
2126 * Source/Additions/GSMime.m:
2127 * Source/Additions/GSXML.m:
2128 * Tools/AGSOutput.m:
2129 * Tools/AGSParser.m:
2130 * Tools/defaults.m:
2131 * Tools/gdomap.c:
2132 * Tools/pl2link.m:
2133 * Tools/sfparse.m:
2134 * Tools/make_strings/StringsFile.m:
2135 Tweaks for warning free compilation with gcc-3.4 ... many comparisons
2136 os signed and un signed values avoided etc.
2137
2138 2003-01-03 Richard Frith-Macdonald <rfm@gnu.org>
2139
2140 * Tools/AGSHtml.m: Don't try to make a type reference to the
2141 superclass of NSObject.
2142
2143 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2144
2145 * Source/NSPage.m: Document all functions.
2146
2147 2002-12-31 Kelvin <kelvin@xbar.org>
2148
2149 * Source/NSPage.m (NSRealMemoryAvailable): Add support for MINGW
2150 and BeOS.
2151
2152 2002-12-31 Richard Frith-Macdonald <rfm@gnu.org>
2153
2154 * Source/GSEQ.h: Optimisations for normalising sequences, especially
2155 where they contain latin1 characters.
2156 * Source/Additions/GCDictionary.m: Update map tables for macosx
2157 * Source/NSMapTable.m: Update for macosx compatibility, add some
2158 documentation and move stuff from externs.m
2159 * Source/NSHashTable.m: Update for macosx compatibility, add some
2160 documentation and move stuff from externs.m
2161 * Source/externs.m: Remove map and hash table stuff
2162 * Source/NSException.m: Fix documentation cross ref error.
2163 * Source/NSAssertion.m: Improve documentation.
2164 * Headers/gnustep/base/NSException.h: Include assertion documentation.
2165 * Headers/gnustep/base/NSMapTable.h: Update for macosx compatibility.
2166 * Headers/gnustep/base/NSHashTable.h: Ditto
2167 * Tools/AGSHtml.m: Fix typo ... excess semicolon in constant output.
2168 * Tools/AGSParser.m: Fix error failing to find comment for constants.
2169 * Source/NSObjCRuntime.m: Document functions.
2170
2171 2002-12-30 Adam Fedor <fedor@gnu.org>
2172
2173 * SSL/GNUmakefile: Don't compile if base=no
2174
2175 * Tools/AGSIndex.h: Include gnustep/base/GSXML.h.
2176 * Tools/AGSHtml.m: Include GNUstep.h
2177 * Tools/AGSInde.m, Tools/AGSOutput.m, Tools/AGSParser.m,
2178 Tools/HTMLLinker.m: Idem.
2179 * Tools/GNUmakegile: Only compile autogsdoc when add=yes
2180 * Tools/Makefile.preamble: Include -lgnustep-baseadd when add=yes
2181
2182 Mon Dec 30 18:19:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
2183
2184 * configure.ac: Recognize apple OBJC_RUNTIME_LIB.
2185 * configure: Regenerated.
2186 * Makefile.postamble: Updated check for gnu FOUNDATION_LIB.
2187 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2188 Do not add -framework Foundation on Apple, it's added automatically
2189 by gnustep-make.
2190 * Source/GNUmakefile: Updated check for OBJC_RUNTIME_LIB.
2191 * Source/Additions/GNUmakefile: Updated checks for
2192 OBJC_RUNTIME_LIB and FOUNDATION_LIB.
2193
2194 2002-12-28 Kelvin <kelvin@xbar.org>
2195
2196 * Source/NSPage.m: Add BeOS support.
2197 * Source/NSProcessInfo.m ([NSProcessInfo -operatingSystem]): Idem
2198 (Also added solaris (fedor@gnu.org)).
2199
2200 2002-12-24 Richard Frith-Macdonald <rfm@gnu.org>
2201
2202 * Source/Additions/Unicode.m: Tidied and optimised binary searches.
2203
2204 2002-12-19 Richard Frith-Macdonald <rfm@gnu.org>
2205
2206 * Tools/AGSParser.m: Fix bug handling repeated opeing braces.
2207
2208 2002-12-17 Richard Frith-Macdonald <rfm@gnu.org>
2209
2210 * Tools/AGSIndex.m: Fix error indexing vararg methods.
2211 * Source/Additions/Unicode.m: Added home-brewed support for UTF8 to
2212 avoid use of iconv where not necessary.q Hope the code is OK :-)
2213
2214 2002-12-12 Richard Frith-Macdonald <rfm@gnu.org>
2215
2216 * Headers/gnustep/base/NSDistributedNotificationCenter.h: add type
2217 for LAN-wide notifications. Add ivar to support this.
2218 * Source/NSDistributedNotificationCenter.m: Implement support for
2219 a LAN-wide notification center. Fully document class.
2220 * Tools/gdnc.m: Add new GSNetwork flag to operate as LAN-wide
2221 notification center.
2222 * Tools/AGSHtml.m: Don't output contents section if there is
2223 nothing to show (ie must have at least two sections to index).
2224 * Source/NSConnection.m: Add locks to protect proxy cache in timeout.
2225
2226 2002-12-10 Adam Fedor <fedor@gnu.org>
2227
2228 * configure.ac: Enable libffi on darwin by default.
2229
2230 2002-12-10 Richard Frith-Macdonald <rfm@gnu.org>
2231
2232 * Source/NSArray.m: ([removeObjectsFromIndices:numIndices:])
2233 bugfix for sorting by Kelvin Sherlock.
2234 * Source/NSConnection.m: Experimental code to keep local objects
2235 retained long enough to deal with most cases where the remote
2236 process may want them again.
2237 * Source/NSHost.m: Don't cache local host name ... it may change
2238 due to use of DHCP etc.
2239
2240 2002-12-08 Richard Frith-Macdonald <rfm@gnu.org>
2241
2242 * Source/NSThread.m: Fix race condition firing perform holder.
2243 Fix supplied by Philip Derrin.
2244
2245 2002-12-05 Richard Frith-Macdonald <rfm@gnu.org>
2246
2247 * Source/NSUserDefaults.m: Fix uninitialised local variable 'locale'
2248 which was causing a crash ... not 100% sure my fix is making the code
2249 work as intended. Could Adam please check it?
2250
2251 2002-12-04 Adam Fedor <fedor@gnu.org>
2252
2253 * Headers/gnustep/base/GSLocale.h: Add category arg to
2254 SetLocale functions.
2255 * Source/GSLocale.m (GSSetLocaleC, GSSetLocale): Update for change.
2256 * Source/NSObject.m (+initialize): Idem.
2257 * Source/NSUserDefaults.m ([NSUserDefaults +standardUserDefaults]):
2258 Idem.
2259
2260 2002-12-04 Richard Frith-Macdonald <rfm@gnu.org>
2261
2262 * Source/NSSerializer.m: bugfix deserialisation ... was trying to
2263 read size of date/number when these values were not being serialized.
2264
2265 2002-12-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2266
2267 * Source/NSBundle.m ([NSBundle +initialize]): check for linked
2268 framework in two passes, first collect all the framework classes, then
2269 add it. The previous routine failed to add all the frameworks.
2270
2271 2002-12-02 Adam Fedor <fedor@gnu.org>
2272
2273 * Port baseadd to MacOSX.
2274 * Makefile.postamble (header-links): Don't link gnustep/gui to
2275 Foundation for FOUNDATION_LIB=nx
2276 * Headers/gnustep/base/NSObjCRuntime.h (FOUNDATION_EXPORT): Define
2277 only if not defined already.
2278 * Headers/gnustep/base/objc-gnu2next.h: Define _CLS_META, _CLS_CLASS
2279 * Source/Makefile.preamble (libgnustep-baseadd_LIBRARIES_DEPEND_UPON):
2280 Depend on framework Foudation if FOUNDATION_LIB=nx
2281 * Source/objc-gnu2next.m: Move most functions...
2282 * Source/Additions/GSNextRuntime.m: ...to here.
2283 * Source/Additions/GSCompatibility.[hm]: New files.
2284 * Source/Additions/GCDictionary.m: Include it.
2285 * Source/Additions/GSMime.m: Idem.
2286 * Source/Additions/GSXML.m: Idem.
2287 * Source/Additions/GCObject.m: Idem. Null out mutex code
2288 on NeXT_RUNTIME (Need a better fix).
2289 * Source/Additions/GNUmakefile: Don't compile Unicode.m
2290 on FOUNDATION_LIB=nx (not ported yet).
2291 * Source/Additions/GSObjCRuntime.m (GSObjCAddClasses): Version
2292 for NeXT_RUNTIME.
2293 (GSObjCAddClassBehavior): Fixes for NeXT_RUNTIME.
2294 * Source/Additions/behavior.m (behavior_class_add_class): Idem.
2295
2296 2002-12-02 Jonathan Gapen <jagapen@wisc.edu>
2297
2298 * Headers/gnustep/base/NSPort.h: Add NSSocketPort interface.
2299 * Source/NSSocketPort.m: New file. New MacOS X class partially
2300 implemented; serves as BSD socket wrapper.
2301
2302 2002-12-02 Adam Fedor <fedor@gnu.org>
2303
2304 * base.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=no.
2305 * config.make.in (CONFIG_SYSTEM_LIBS): Set only if shared=yes.
2306 * Source/Makefile.preamble (libgnustep-base_LIBRARIES_DEPEND_UPON):
2307 Depend on $(CONFIG_SYSTEM_LIBS) if shared=yes.
2308
2309 2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
2310
2311 * Tools/plparse.m: Stefan Urbaneks patch to return 1 on failure.
2312 * Tools/sfparse.m: Similar code for this tool.
2313 * Source/Additions/GSObjCRuntime.m: Tidied function names
2314 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2315 * Source/NSKeyValueCoding.m: Use new function names.
2316
2317 2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
2318
2319 * Tools/AGSParser.m: Fix so we document static declarations made in
2320 headers and only ignore them in implementation.
2321 * Tools/AGSOutput.m: Bugfix to output ivar type information.
2322 * Tools/AGSHtml.m: Reduce space around examples.
2323 Bugs reported by Chris B. Vetter
2324 * Source/Additions/GSObjCRuntime.m: Tidied function name conventions.
2325 * Headers/gnustep/base/GSObjCRuntime.h: ditto.
2326 * Source/NSKeyValueCoding.m: Use new function names.
2327 * Source/mframe.m: When scanning arguments, skip type information
2328 for things poionted to by a pointer - more efficient than scanning
2329 the fine structure and then throwing away the scanned information.
2330 * Source/additions/GSMime.m: Fill in 'type' field in multipart/related
2331 and fix bug in seaarch by content id. Also minor consistency change
2332 to API.
2333
2334 2002-11-27 Manuel Guesdon <mguesdon@orange-concept.com>
2335
2336 * Source/Additions/GSObjCRuntime.m: fixed type call typo
2337 in GSFindInstanceVariable
2338
2339 2002-11-27 Adam Fedor <fedor@gnu.org>
2340
2341 * configure.ac (INCLUDE_FLAGS): New for holding flags needed for
2342 compiling base.
2343 * config.make.in (CONFIG_SYSTEM_INCL): Use it.
2344 * base.make (CONFIG_SYSTEM_INCL): Remove CPPFLAGS
2345 (CONFIG_SYSTEM_DEFS): Remove.
2346 * Source/Additions/GNUmakefile: include config.mak
2347
2348 2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
2349
2350 * Source/Additions/GSObjCRuntime.m: New file with GNUstep extensions
2351 from NSObjCRuntime, plus renamed behavior functions, plus a few other
2352 runtime manipulation functions. EXPERIMENTAL
2353 * Headers/gnustep/base/GSObjCRuntime.h: declarations for above.
2354 * Source/GSCompatibility.m: Don't use new format plists when writing
2355 descriptions.
2356 Also, honor NSWriteOldStylePropertyLists user default to write old
2357 style property-lists rather than new style or xml style.
2358 * Source/NSUser.m: Use USERPROFILE for default home directory on
2359 windoze.
2360 * Source/NSArray.m: Write non-xml property lists as ascii.
2361 * Source/NSDictionary.m: Write non-xml property lists as ascii.
2362 * Source/mframe.m: use objc_alignof_type() as suggested by Roland
2363 Schwingel. Long ago the objc runtime version was buggy so mframe
2364 implemented its own algorithm. Now the objc runtime one is better.
2365
2366 2002-11-26 Richard Frith-Macdonald <rfm@gnu.org>
2367
2368 * Source/Additions/GCObject.m: Attempt to make garbage collecting
2369 thread-safe.
2370 * Source/Additions/GCArray.m: Fix count initialising mutable array.
2371 * Source/Additions/GSMime.m: Provide a method to generate and return
2372 a string suitable for use as a boundary. Make tolerant of multipart
2373 messages with 'application' as the message type.
2374 Added ([-setBuggyQuotes:]) method for parsing stuff produced by
2375 microsoft ;-(
2376
2377 2002-11-25 Richard Frith-Macdonald <rfm@gnu.org>
2378
2379 * Source/NSUserDefaults.m: Treat '-' on its own as an argument
2380 rather than the start of a flag name.
2381 * Source/Additions/GSMime.m: Place angle brackets around generated
2382 content ID. Add method to generate message ID. Tidy comments a
2383 little.
2384
2385 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2386
2387 * Source/libgnustep-base.def: Add garbage collecting classes.
2388
2389 2002-11-20 Adam Fedor <fedor@gnu.org>
2390
2391 * Source/NSBundle.m (+preferredLocalizationsFromArray:forPreferences:):
2392 Check for array with no objects.
2393 ([NSBundle -localizedInfoDictionary]): Idem.
2394
2395 2002-11-20 Richard Frith-Macdonald <rfm@gnu.org>
2396
2397 * Source/Additions/Unicode.m: Work around bug in the redhat 8 iconv
2398 library ... was sucessfully opening the encoding "" when it shouldn't.
2399
2400 2002-11-19 Adam Fedor <fedor@gnu.org>
2401
2402 * Version: 1.5.1
2403 * Documentation/news.texi: Updated.
2404
2405 2002-11-19 Adam Fedor <fedor@gnu.org>
2406
2407 * Headers/gnustep/base/NSBundle.h: More documentation. Add missing
2408 MacOSX methods.
2409 * Source/NSBundle.m (-executablePath): New
2410 (-load): Use it.
2411 (+pathsForResourcesOfType:inDirectory:): New stub.
2412 (-pathsForResourcesOfType:inDirectory:forLocalization:): Idem.
2413 (-pathForResource:ofType:inDirectory:forLocalization:): Idem.
2414 (+preferredLocalizationsFromArray:): New method.
2415 (+preferredLocalizationsFromArray:forPreferences:): Idem.
2416 (-localizedInfoDictionary): Idem.
2417 (-localizations): Idem.
2418 (-preferredLocalizations): Idem.
2419
2420 * Source/cifframe.m (cifframe_from_info): Fix so that stucture
2421 returns get space allocated.
2422
2423 2002-11-19 Richard Frith-Macdonald <rfm@gnu.org>
2424
2425 * Source/behavior.m: Moved to Source/Additions/behavior.m
2426 * Source/Unicode.m: Moved to Source/Additions/Unicode.m
2427 * Source/Additions/GCObject.m: new experimental GC class.
2428 * Source/Additions/GCArray.m: ditto
2429 * Source/Additions/GCDictionary.m: ditto
2430 * Headers/gnustep/base/GCObject.h: Garbage collection classes intended
2431 for use by gdl2 and gsweb.
2432
2433 2002-11-18 Richard Frith-Macdonald <rfm@gnu.org>
2434
2435 * Source/GSCompatibility.m: Fix for case where a non property list
2436 object is found when outputting a description.
2437
2438 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2439
2440 * Source/NSUserDefaults.m: Fix for getting integer, float and bool
2441 values when they are stored as NSNumbers (problem reported by
2442 Ludovic Marcotte). Also optimise a little.
2443
2444 2002-11-15 Richard Frith-Macdonald <rfm@gnu.org>
2445
2446 * Source/NSThread.m: Port pipe to mingw.
2447 * Tools/gdomap.c: Fix for modern mingw interface lookup.
2448 Patch by Tom Koelman
2449
2450 2002-11-12 Richard Frith-Macdonald <rfm@gnu.org>
2451
2452 * Source/NSUserDefaults.m: Try again ... get
2453 ([-setVolatileDomain:forName:]) and ([-setPersistentDomain:forName:])
2454 to conform to both the OpenStep standard and the current MacOS-X
2455 documentation.
2456
2457 2002-11-11 Richard Frith-Macdonald <rfm@gnu.org>
2458
2459 * Source/NSString.m: adocument property list stuff.
2460 * Source/NSUserDefaults.m: set integers, floats and bools as NSNumber
2461 Bugfix ([-setVolatileDomain:forName:]) was checking wrong list of
2462 domains. Tidied.
2463
2464 2002-11-10 Richard Frith-Macdonald <rfm@gnu.org>
2465
2466 * Headers/gnustep/base/NSObject.h: Removed GNUstep plist extensions.
2467 * Source/NSObject.m: ditto.
2468 * Source/GSCompatibility.m: Implement new plist generator.
2469 * Source/NSArray.m: Use new plist code
2470 * Source/NSData.m: ditto
2471 * Source/NSDictionary.m: ditto
2472 * Source/NSSerializer.m: handle NSNumber and NSDate
2473 * Source/NSString.m: ditto, plus implement extensions to old plist
2474 support so we can encode NSNumber and NSDate values.
2475 Remove GNUstep property list extensions from the api ... make more
2476 like MacOS and OpenStep spec by having a central mechanism for
2477 generating property lists rather than spreading the code across the
2478 plist classes.
2479 Also ... maintain allocation debug accounting when making objects
2480 immutable.
2481
2482 2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
2483
2484 * Source/NSObject.m: use NSString implementation of
2485 ([descriptionWithLocale:indent:to:])
2486 * Source/NSUserDefaults.m: ([setObject:forKey:]) validate and raise
2487 exceptions if given bad info.
2488
2489 2002-11-07 02:21 Alexander Malmberg <alexander@malmberg.org>
2490
2491 * Source/GSString.m: (-makeImmutableCopyOnFail:): Set isa to correct
2492 class.
2493
2494 2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
2495
2496 * Source/NSArray.m: Ensured some documentation in place for almost all
2497 methods.
2498 * Source/Additions/GSMime.m: Fix broken method reference.
2499 * Source/Additions/GSXML.m: ditto
2500 * Source/NSScanner.m: ditto
2501 * Source/NSUnarchiver.m: ditto
2502 * Tools/AGSIndex.m: Minor fix for superclass reference lookup.
2503 * Tools/AGSHtml.m: ditto
2504
2505 2002-11-03 Richard Frith-Macdonald <rfm@gnu.org>
2506
2507 * Source/NSRunLoop.m: Revert to remove unneeded notification setup.
2508 * Source/NSThread.m: Rewrite pierres changes, scrapping all
2509 conditionally compiled code that would never be used, rewriting
2510 unix specific stuff (so it might run under windoze ... not yet tested)
2511 removed unnecessary code and simplified, etc etc.
2512 Fixed bugs in usage of condition locks so it actually works.
2513 * Testing/thread.m: New test to try out
2514 performSelectorOnMainThread:withObject:waitUntilDone:modes:
2515
2516 2002-11-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
2517
2518 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
2519 NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
2520 method existes.
2521 * Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
2522 class.
2523 ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
2524 lock, the socket and new run loop watcher that'll listen on the socket.
2525 [NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
2526 modified to use the previous changes.
2527
2528 2002-11-01 Richard Frith-Macdonald <rfm@gnu.org>
2529
2530 * Headers/gnustep/base/NSBundle.h: Tidied/corrected documentation
2531 markup.
2532 * Headers/gnustep/base/NSDate.h: Added NSTimeIntervalSince1970 and
2533 removed GSTimeNow() from public API.
2534 * Source/NSDate.m: Update to use NSTimeIntervalSince1970
2535 * Source/NSTimer.m: Declare GSTimeNow() locally
2536 * Source/NSprocessInfo.m: ditto
2537 * Source/Additions/GSMime.m: more tolerant parsing ... ignore excess
2538 data in multi-part document.
2539
2540 Thu Oct 31 00:46:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
2541
2542 * Headers/gnustep/base/NSBundle.h: Added more documentation.
2543
2544 Wed Oct 30 23:42:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
2545
2546 * Source/NSBundle.m ([+_addFrameworkFromClass:]): New code
2547 locating linked frameworks magically - no matter where they are on
2548 disk - by using objc_get_symbol_path(). If that fails or is not
2549 available, fall back on the existing code. Fixed NSLog() message.
2550
2551 2002-10-30 Richard Frith-Macdonald <rfm@gnu.org>
2552
2553 * Source/NSThread.m: Implemented and documented new MacOS-X methods -
2554 ([-performSelectorOnMainThread:withObject:waitUntilDone:modes:])
2555 and ([-performSelectorOnMainThread:withObject:waitUntilDone:])
2556
2557 Wed Oct 30 03:14:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
2558
2559 * Headers/gnustep/base/objc-load.h: Added copyright notice.
2560 (objc_get_symbol_path): Declare to take a Category *, not a struct
2561 objc_category *, argument; documented.
2562 * Source/objc-load.m: Include config.h first. Define _GNU_SOURCE
2563 if HAVE_DLADDR is defined.
2564 (objc_get_symbol_path): Fixed crash with classes or categories
2565 with long names. Updated declaration.
2566 * config/objc-sys-dynamic.m4 (OBJC_SYS_DYNAMIC_LINKER): Print a
2567 message displaying the type of dynamic linker found. Add -ldl on
2568 the link line for linux-gnu and other systems, so that dladdr() is
2569 actually found. With the 'simple' linker, print a message saying
2570 if we found dladdr() or not.
2571 (OBJC_SYS_DYNAMIC): Historical unused macro removed.
2572 * configure: Regenerated.
2573
2574 2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
2575
2576 * Source/NSFileManager.m: include statvfs.h if available.
2577
2578 2002-10-26 Adam Fedor <fedor@gnu.org>
2579
2580 * Source/NSException.m: Document.
2581 * Source/NSFileHandle.m: Partial Documentation.
2582 * Source/NSObject.m: Fix typo in docs.
2583
2584 2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2585
2586 * Source/NSBundle.m ([NSBundle -load]): set _codeLoaded before loading
2587 the bundle.
2588
2589 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2590
2591 * Tools/AGSParser.m: Avoid duplication of method comments when
2592 parsing the same file as both header and source.
2593
2594 2002-10-22 Richard Frith-Macdonald <rfm@gnu.org>
2595
2596 * Tools/AGSOutput.m: ([-split:]) In links generated from class and
2597 method specifications in square brackets, place a space between the
2598 class and the method name.
2599 * Tools/gsdoc-1_0_0.dtd: Corrected minor entity errors.
2600
2601 2002-10-21 Adam Fedor <fedor@gnu.org>
2602
2603 * Headers/gnustep/unicode/thai.h: New file.
2604 * Headers/gnustep/base/NSString.h (_NSStringEncoding): Add
2605 NSISOThaiStringEncoding.
2606 * Source/NSString.m (-dataUsingEncoding:allowLossyConversion:):
2607 Handle it.
2608 * Source/Unicode.m (struct _strenc_ str_encoding_table[]): Idem.
2609 (GSEncodingForRegistry): Idem.
2610 (GSToUnicode, GSFromUnicode): Idem.
2611 (Patches, modified, from Banlu Kemiyatorn <id@project-ile.net>).
2612
2613 2002-10-21 Adam Fedor <fedor@gnu.org>
2614
2615 * Source/GSLocale.m (GSLanguageFromLocale): Implement regardless
2616 of HAVE_LOCALE_H.
2617
2618 * Source/Unicode.m (GSEncodingForRegistry): New (from
2619 [GSFontInfo +encodingForRegistry:encoding:]).
2620 (GSEncodingFromLocale): New.
2621 (GetDefEncoding): Rearrange encoding check.
2622 * Resources/Languages/Locale.encodings: New file.
2623
2624 2002-10-21 Adam Fedor <fedor@gnu.org>
2625
2626 * Documentation/coding-standards.texi: Update.
2627
2628 2002-10-14 Richard Frith-Macdonald <rfm@gnu.org>
2629
2630 Source/NSObject.m: Add ([-makeImmutableCopyOnFail:]) for use by methods
2631 wishing to return constant string/array/dictionary etc results after
2632 building them using mutable objects they created.
2633 Source/GSArray.m: Implement ([makeImmutableCopyOnFail:])
2634 Source/GSString.m: ditto
2635 Source/GSDictionary.m: ditto
2636 Source/GSSet.m: ditto
2637 Source/NSFileManager.m: Use it
2638
2639 2002-10-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
2640
2641 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): remove
2642 the classes in the _loadingBundle that does not belong to it but with
2643 frameworks linked with it.
2644 ([NSBundle +bundleForClass:]): construct a list of NSFramework_*
2645 classes loaded with the bundle.
2646 ([NSBundle -load]): call _addFrameworkFromClass: for all linked
2647 frameworks with the bundle.
2648
2649 2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
2650
2651 * Tools/AGSHtml.m: Create automatic references to protocols in
2652 type specifications of the form (id<protocol1,protocol2,...>)
2653 * Tools/autogsdoc.m: Add -Files option to read names of files
2654 to process as a property list rather than using command line args.
2655 Add -Clean flag to remove generated output files and purge
2656 generated data from templates. Add -CleanTemplates to completely
2657 temove template files.
2658 * Tools/AGSParser.m: Warn about private methods and ivars.
2659
2660 2002-10-12 Richard Frith-Macdonald <rfm@gnu.org>
2661
2662 * Source/NSProcessInfo.m: Make safe to reinitialise with args.
2663 * Source/Additions/GSXML.m: Correct handling of atttribute values.
2664 * Tools/autogsdoc.m: Initialise NSProcessInfo explicitly.
2665
2666 2002-10-11 Richard Frith-Macdonald <rfm@gnu.org>
2667
2668 * Source/NSUserDefaults.m: ([-initWithContentsOfFile:]) check to see
2669 if the file is writable and the directory exists.
2670 If we can't operate properly, run in read-only ,mode where we try
2671 to read the file if possible, but never write defaults back.
2672
2673 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2674
2675 * Source/NSUserDefaults.m: ([-synchronize]) handle locking more
2676 carefully ... avoid cpu intensive busy loops and give up after
2677 a while.
2678
2679 2002-10-10 Richard Frith-Macdonald <rfm@gnu.org>
2680
2681 * Source/NSLog.m: Added GSPrintf()
2682 * Tools/defaults.m: Use GSPrintf()
2683 * Tools/pldes.m: ditto
2684 * Tools/plser.m: ditto
2685 * Tools/plmerge.m: ditto
2686 * Tools/plparse.m: ditto
2687 * Tools/sfparse.m: ditto
2688 * Documentation/Base.gsdoc: Bump gsdoc version to 1.0.0
2689 * Documentation/Functions.gsdoc: ditto
2690 * Documentation/TypesAndConstants.gsdoc: ditto
2691 * Source/NSLog.m: Fix typo in comment.
2692 * Tools/AGSOutput.m: Bump gsdoc version to 1.0.0
2693 * Tools/GNUmakefile: Add gsdoc 1.0.0 dtd
2694 * Tools/autogsdoc.m: Bump gsdoc version to 1.0.0
2695 * Tools/gsdoc-0_6_7.dtd: Revert to earlier version
2696 * Tools/gsdoc-1_0_0.dtd: New from latest update to 0.6.7
2697 I think the documentation dtd is pretty complete now.
2698
2699 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2700
2701 * Tools/GNUmakefile: revert ... can't build if base library isn't
2702 installed.
2703
2704 2002-10-09 Richard Frith-Macdonald <rfm@gnu.org>
2705
2706 * Source/NSLog.m: Lots of documentation added.
2707 * Tools/GNUmakefile: build autogsdoc documentation automatically
2708 if possible.
2709 * Tools/AGSOutput.m: Make automatic cross references for functions.
2710 * Source/Docmakefile: Use handcrafted template files. Document the
2711 path utilities file.
2712 * Documentation/Functions.gsdoc: Handcrafted template.
2713 * Documentation/TypesAndConstants.gsdoc: Handcrafted template.
2714
2715 2002-10-08 Richard Frith-Macdonald <rfm@gnu.org>
2716
2717 * Headers/Foundation/NSDebug.h: Make warn logs de-selectable at
2718 runtime by setting the NoWarn debug level. Document. Say that
2719 debug levels can be added by putting them in the GNU-Debug
2720 array in the defaults database.
2721 * Source/NSUserDefaults.m: Add contents of the GNU-Debug array to
2722 the set of active debug levels.
2723 * Tools/AGSParser.m: Updated with support for documenting macros.
2724 * Tools/AGSOutput.m: ditto
2725 * Tools/AGSHtml.m: ditto
2726
2727 2002-10-07 Richard Frith-Macdonald <rfm@gnu.org>
2728
2729 * Source/NSData.m: Update logging after checks for results of memory
2730 allocation.
2731 * Source/NSTimeZone.m: Don't abort on failure to allocate memory ...
2732 just print a log and continue returning a null pointer.
2733
2734 2002-10-06 Richard Frith-Macdonald <rfm@gnu.org>
2735
2736 * Source/NSData.m: readContentsOfFile() fix use of atomic memory
2737 on GC systems ... problem noticed by Fred.
2738
2739 Sat Oct 5 19:53:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2740
2741 * Source/NSData.m ([NSDataMappedFile
2742 -initWithContentsOfMappedFile:]): release self and return nil -
2743 rather than returning NO, if the path is bad.
2744
2745 2002-10-05 Richard Frith-Macdonald <rfm@gnu.org>
2746
2747 * Tools/AGSOutput.m: Improve warning code, support text output
2748 in chapter/section/subsection.
2749 * Tools/AGSParser.m: move concatenation of comments into a single
2750 method, make it insert a linebreak between concatenated comments,
2751 and make it refrain from appending the same comment onto itsself
2752 (which would happen if the same file was parsed twice, as both a
2753 header and as source).
2754 Treat the 'main()' function specially ... don't document it as a
2755 function but insert its comments at the end of the 'chapter' part
2756 of the output document. These modifications make it easy to
2757 document a directory containing tools, by listing the tool source
2758 files as arguments to autogsdoc.
2759 Tools/gsdoc_0_6_7.dtd: Fix bug preventing use of text in a chapter!
2760 * Source/GSString.m: Implement -UTF8String method for better
2761 performance.
2762 * Source/NSPortNameServer.m: Improve diagnostic message in exception
2763 when reporting failure to register ... try to provide all the info
2764 needed to begin diagnosing any problem.
2765 * Tools/gdomap.c: Make -M flag work with -N. Make -M flag work when
2766 used after -N or -L. Improve diagnostic messages on failure so
2767 people know what it is trying to do.
2768
2769 2002-10-04 Richard Frith-Macdonald <rfm@gnu.org>
2770
2771 * Source/NSArray.m: Tidied init from file to ensure that everything
2772 is released properly on failure, and we don't generate log messages
2773 where a lower level API should be doing it. Added some documentation.
2774 * Source/NSDictionary.m: ditto
2775 * Source/NSString.m: ditto. Also add support for understanding the
2776 unicode BOM at the start of UTF8 data and stripping it.
2777 * Source/NSData.m: Tidied read from and write to file,
2778 adding lots of logging information. Also documented quite a bit.
2779 Resolved all conflicts found with Adam's change ... generally in
2780 favor of the most informative logging.
2781 * Source/NSPortNameServer.m: On failure to register name, make
2782 exception message provide lots of detail/advice for newbies.
2783
2784 2002-10-03 Adam Fedor <fedor@gnu.org>
2785
2786 * Source/NSData.m (readContentsOfFile): Change NSDebugLog(s) to
2787 NSWarnLog or NSLog.
2788 (-writeToFile:atomically:): Idem.
2789 ([NSDataMappedFile -initWithContentsOfMappedFile:]): Idem.
2790 * Source/NSDictionary.m ([NSDictionary -initWithContentsOfFile:]):
2791 Release ourselves and return nil if file cannot be read.
2792
2793 2002-10-03 Richard Frith-Macdonald <rfm@gnu.org>
2794
2795 * Source/NSRunLoop.m: ([-runMode:beforeDate:]) permit the use of a
2796 nil date and document it. This is the behavior MacOS seems to have
2797 and seems to be more useful than prohibiting nil dates.
2798
2799 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
2800
2801 * Source/NSDistributedLock.m: Document and tidy.
2802 * Source/NSTimeZone.m: Don't set system zone prematurely.
2803 * Source/NSString.m: Don't bother to cache constant string
2804 class. Document it.
2805
2806 2002-10-01 Adam Fedor <fedor@gnu.org>
2807
2808 * config/pathxml.m4: Filter -L/usr/lib out of XML_LIBS.
2809 * configure: Regenerate.
2810
2811 2002-10-01 02:21 Alexander Malmberg <alexander@malmberg.org>
2812
2813 * Source/NSUserDefaults.m (-synchronize): Handle lockDate being nil.
2814
2815 2002-09-30 Richard Frith-Macdonald <rfm@gnu.org>
2816
2817 * NSTimeZones/NSTimeZones.tar: Updated to latest information.
2818 * Source/NSCalendarDate.m: Tidy up a little.
2819 * Source/NSTimeZone.m: Rewrite main timezone code for performance -
2820 Roughly doubles speed of most NSCalendarDate stuff.
2821 * NSThread.m: Fix for single threaded operation ... suggested by
2822 Ludovic Marcotte.
2823
2824 2002-09-29 Richard Frith-Macdonald <rfm@gnu.org>
2825
2826 * Source/GSFileHandle.m: Encapsulate read and write operations in
2827 new low level methods to ease subclassing.
2828 * SSL/GSSSLHandle.m: Use new read and write methods to simplify.
2829
2830 2002-09-28 Richard Frith-Macdonald <rfm@gnu.org>
2831
2832 * Source/NSCalendarDate.m: Fix problem with signed/unsigned type
2833 conversion when initialising a date at a daylight savings time
2834 boundary, and attempt to improve the code for adding offsets to
2835 dates.
2836 * Source/Makefile.postamble: patch to fix some warnings in
2837 uninstall (by David Ayers).
2838
2839 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
2840
2841 * Source/GSTcpPort.m: ([GSTcphandle+initialize]) ignore SIGPIPE in
2842 case a socket gets closed while we are writing.
2843
2844 2002-09-26 Richard Frith-Macdonald <rfm@gnu.org>
2845
2846 * Source/Additions/GSMime.m: Fix typo.
2847
2848 Thu Sep 26 01:28:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2849
2850 * Tools/make_strings/GNUmakefile: Do not include ctool.make.
2851
2852 2002-09-25 Richard Frith-Macdonald <rfm@gnu.org>
2853
2854 * Source/Additions/GSXML.m: Added ([-previousElement]) to match the
2855 [(-nextElement]) method.
2856
2857 Wed Sep 25 02:46:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
2858
2859 * Tools/make_strings/make_strings.m (main): Remove "" languages
2860 from the list of languages before processing.
2861
2862 2002-09-24 Richard Frith-Macdonald <rfm@gnu.org>
2863
2864 * Source/GSTcpHandle.m: ([-handleForPort:beforeDate:]) fix bug where
2865 we could end up using the last (non-matching) handle rather than
2866 creating a new one.
2867
2868 2002-09-20 Richard Frith-Macdonald <rfm@gnu.org>
2869
2870 * Source/GSTcpHandle.m: ([-connectToPort:beforeDate:]) Added more
2871 informative logging for problem condition reported by Nicila ...
2872 perhaps it will help tracking down cause.
2873
2874 2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
2875
2876 * Source/GSFormat.m: Where a %p format prints a null pointer,
2877 print the text (null).
2878 * Source/GSTcpHandle.m: Check port for invalidation while looping
2879 on write events, so we can fail if we become invalid while sending
2880 or connecting, before the port timeout expires.
2881 * Source/NSConnection.m: Check connection for invalidation while
2882 looping waiting for a reply, so we can fail if we become invalid
2883 before the timeout expires.
2884 * Source/DocMakefile: Specify template options
2885 * Tools/autogsdoc.m: Remove hack to turn templates on by default.
2886 Document the use of templates.
2887 * Tools/gsdoc-0_6_7.dtd: Hack in more types for indexing ... don't
2888 know if the software works for them though.
2889
2890 2002-09-17 Richard Frith-Macdonald <rfm@gnu.org>
2891
2892 * Source/Unicode.m: Restructure conversion from unicode slightly,
2893 to make it clearer and more readable and to include handling of
2894 lossy conversions.
2895 * Headers/gnustep/unicode/gsm0338.h: Added table for lossy conversion
2896 from unicode.
2897
2898 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2899
2900 * Tools/AGSParser.m: Bugfix ... look for source files more
2901 intelligently. Try both current directory and relative to header.
2902 * Tools/AGSOutput.m: When creating template output file for functions
2903 etc because none was supplied, take account of the -Up flag and
2904 create an up link in it.
2905 * Source/GSHTTPURLHandle.m: If response parsing fails, fail the
2906 load operation and (conditionally when debug enabled) log an error.
2907
2908 2002-09-16 Richard Frith-Macdonald <rfm@gnu.org>
2909
2910 * Source/NSFileManager.m: Basic/dummy implementations of new MacOS-X
2911 methods added. Attribute handling totally rewritten to work in a lazy
2912 way ... so we only set up attribute info in the dictionary when we
2913 actually need it. Account 'Number' methods and dictionary keys changed
2914 to be account 'ID' instead ... in accordance with MacOS-X usage.
2915 Documented the class.
2916 * Source/NSData.m: ([-writeToFile:atomically:]) implement workaround
2917 for bug in windoze implementation of rename()
2918 * Source/NSString.m: Remove some redundant code duplicating stuff in
2919 GSMime.m
2920
2921 2002-09-15 Richard Frith-Macdonald <rfm@gnu.org>
2922
2923 * Source/NSFileManager.m: MacOS-X ([componentsToDisplayForPath:]) and
2924 ([displayNameAtPath:]) methods implemented. Creation date added.
2925 * Source/NSString.m: More alterations to GNUstep extension methods
2926 to make their names consistent with other methods.
2927 Q. Should we deprecate/remove them entirely?
2928 * Tools/gsdoc.m: Update for changes to extension methods... though
2929 this tool has been deprecated for some time now, so perhaps we
2930 should remove it?
2931
2932 2002-09-13 Adam Fedor <fedor@gnu.org>
2933
2934 * Source/cifframe.m (cifframe_guess_struct_size): Recurse if
2935 element contains structures.
2936 (cifframe_from_info): Alloc room for return value even if caller
2937 doesn't use it.
2938
2939 Thu Sep 12 11:02:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
2940
2941 * Source/NSObject.m ([+_becomeMultiThreaded:]): Fixed typo - this
2942 method was declared to take a 'NSNotification' rather than a
2943 'NSNotification *' argument.
2944
2945 2002-09-10 Richard Frith-Macdonald <rfm@gnu.org>
2946
2947 * Source/GSLocale.m: Double locking check fix
2948 * Source/NSFileManager.m: Double locking check fix
2949 Fixes contributed by David Ayers <d.ayers@inode.at>
2950
2951 2002-09-08 Richard Frith-Macdonald <rfm@gnu.org>
2952
2953 * Headers/gnustep/base/GSIArray.h: Minor optimisation
2954 * Headers/gnustep/unicode/gsm0338.h: Correct unicode to gsm table
2955 * Source/Unicode.m: Correct gsm conversion and optimise unicode to
2956 8-bit charaacter conversion for other character sets. Also correct
2957 lossy/non-lossy conversion using iconv.
2958
2959 2002-08-30 Adam Fedor <fedor@gnu.org>
2960
2961 * Version: 1.5.0
2962
2963 2002-08-30 Richard Frith-Macdonald <rfm@gnu.org>
2964
2965 * Source/NSString.m: Implemented new MacOS-X methods -
2966 ([-stringByPaddingToLength:withString:startingAtIndex:]), and
2967 ([-stringByTrimmingCharactersInSet:])
2968 Tidied a couple of extension method names for consistency and
2969 documented several methods.
2970
2971 2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
2972
2973 * Source/Additions/GSXML.m: Get libxml to put filename in error
2974 messages when it is available.
2975
2976 2002-08-28 Richard Frith-Macdonald <rfm@gnu.org>
2977
2978 * Source/Unicode.m: Rewritten the way that iconv is used to decide
2979 upon the available encodings ... lazy evaluation so that we don't
2980 try to lookup an encoding until we have to. This should improve
2981 process startup time (especially in gdb) since the iconv operations
2982 seem to be very slow.
2983
2984 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2985
2986 * Source/Additions/GSXML.m: Integrated GSXPath code by Nicola Pero
2987 provides an API to use the xpath support built into libxml from
2988 version 2.3 onwards.
2989 * Source/NSThread.m: Implement new priority methods.
2990 * Source/NSObject.m: Raise exception when passed null selector.
2991
2992 2002-08-27 Richard Frith-Macdonald <rfm@gnu.org>
2993
2994 * Source/NSData.m: ([-writeToFile:atomically:]) Removed bogus line
2995 which deleted files when it shouldn't.
2996 Added new MacOS-X methods supporting NSData objects where the bytes
2997 are not owned by the data object. Removed GNUstep extension which
2998 provided this functionality before.
2999 * Source/NSUserDefaults.m: Use distributed lock to ensure that there
3000 is no possible window when the defaults file is invalid ... not all
3001 systems guarantee that the rename() system call is atomic.
3002 * Source/NSArray.m: New MacOS-X methods ([-initWithArray:copyItems:])
3003 ([-exchangeObjectAtIndex:withObjectAtIndex:])
3004 * Source/NSTimer.m: Update for compatibility with latest MacOS-X
3005 * Source/NSObject.m: New ([+isSubclassOfClass:]) and perform
3006 cancellation from MacOS-X
3007 * Source/NSRunloop.m: New perform cancellation method from MacOS-X
3008 proofreading help/fixes from David Ayers.
3009
3010 2002-08-25 Richard Frith-Macdonald <rfm@gnu.org>
3011
3012 * Source/WindowsFileHandle.m: Removed ... no longer used.
3013 * Source/GSHTTPURLHandle.m: Don't use getpid() ... not portable.
3014 * Tools/gdomap.c: Don't use getuid() under windoze.
3015
3016 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3017
3018 * Source/NSURL.m: ([-initFileURLWithPath:]) check to see if path is
3019 a directory and append a trailing slash if necessary. Remove hack
3020 to refrain from stripping last patch component in file URLs.
3021
3022 2002-08-24 Richard Frith-Macdonald <rfm@gnu.org>
3023
3024 * Source/NSURL.m: Hacks for compatibility with MacOS-X in returning
3025 path of a file URL ... the RFC says we should only return a path
3026 for a generic URL (scheme://user:passwd@host:port/path#frag?query)
3027 which a file URL certainly isn't. However, for compatibility we
3028 now treat a file URL more like a generic one.
3029 Also when creating absolute file URLs from base plus relative,
3030 the MacOS-X code doesn't strip the last path component of the
3031 base URL as it should ... we emulate that too.
3032
3033 2002-08-22 Richard Frith-Macdonald <rfm@gnu.org>
3034
3035 * Source/NSFileManager.m: Fix typo ... missing closing brace under
3036 windoze. Reported by Alex Stockdale.
3037
3038 2002-08-21 Richard Frith-Macdonald <rfm@gnu.org>
3039
3040 * Source/NSObject.m: ([-replacementObjectForPortCoder:])
3041 Documented method and removed unused/unwanted code dealing with
3042 NSDistantObject (NSDistantObject overrides the method).
3043
3044 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3045
3046 * Source/NSObject.m: Fix silly typo.
3047
3048 2002-08-20 Alexander Malmberg <alexander@malmberg.org>
3049
3050 * Source/NSConnection.m: (-removeProxy:) Remove unbalanced release.
3051
3052 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3053
3054 * Source/GSCountedSet.m:
3055 * Source/GSFileHandle.m:
3056 * Source/NSArchiver.m:
3057 * Source/NSData.m:
3058 * Source/NSDistributedNotificationCenter.m:
3059 * Source/NSHashTable.m:
3060 * Source/NSMapTable.m:
3061 * Source/NSObjCRuntime.m:
3062 * Source/NSObject.m:
3063 * Source/NSPortCoder.m:
3064 * Source/NSScanner.m:
3065 * Source/NSString.m:
3066 * Source/Unicode.m:
3067 * Source/UnixFileHandle.m:
3068 * Source/WindowsFileHandle.m:
3069 * Source/callframe.m:
3070 * Source/cifframe.m:
3071 * Source/mframe.m:
3072 Fix trivial typos and spelling errors pointed out by David Ayers.
3073
3074 2002-08-20 Richard Frith-Macdonald <rfm@gnu.org>
3075
3076 * Source/GSCountedSet.m:
3077 * Source/NSAutoreleasePool.m:
3078 * Source/NSCharacterSet.m:
3079 * Source/NSCountedSet.m:
3080 * Source/NSData.m:
3081 * Source/NSDebug.m:
3082 * Source/NSDictionary.m:
3083 * Source/NSFileHandle.m:
3084 * Source/NSLock.m:
3085 * Source/NSNull.m:
3086 * Source/NSNumber.m:
3087 * Source/NSObject.m:
3088 * Source/NSPipe.m:
3089 * Source/NSScanner.m:
3090 * Source/NSSerializer.m:
3091 * Source/NSSet.m:
3092 * Source/NSString.m:
3093 * Source/NSThread.m:
3094 * Source/NSTimeZone.m:
3095 * Source/Additions/GSMime.m:
3096 * Headers/gnustep/base/NSBundle.h:
3097 * Headers/gnustep/base/NSRange.h:
3098 * Headers/gnustep/base/NSSet.h:
3099 Modify comments to include gsdoc documentation for autogsdoc.
3100 This completes the transfer of all gsdoc documentation into
3101 the source code.
3102 * Documentation/gsdoc: All obsolete files removed.
3103
3104 2002-08-19 Richard Frith-Macdonald <rfm@gnu.org>
3105
3106 * Source/NSProxy.m: Documented all methods and corrected implementation
3107 of some introspection methods.
3108
3109 2002-08-16 Richard Frith-Macdonald <rfm@gnu.org>
3110
3111 * Source/Base.gsdoc: Moved to Documentation.
3112 * Source/GNUmakefile: Removed documentation building code.
3113 * Source/DocMakefile: New file for building refetrence documentation.
3114 * Documentation/Base.gsdoc: New from source directory.
3115 * Documentation/GNUmakefile: Set up installation directory name.
3116 * Documentation/Makefile.postamble: Use ../Source/DocMakefile to build
3117 library reference documentation and deal with installation.
3118
3119 2002-08-15 Adam Fedor <fedor@gnu.org>
3120
3121 * configure.ac: Add NetBSD header/ldflag support (Patch from
3122 Peter Cooper).
3123
3124 * Headers/gnustep/base/GNUstep.h: New compatibility file.
3125
3126 2002-08-15 Richard Frith-Macdonald <rfm@gnu.org>
3127
3128 * SSL/GNUmakefile: Added -lgnustep-base and -lobjc to SSL_BUNDLE_LIBS
3129 So that bundle is linked with a dependency on these libraries ... to
3130 ensure that dynamic linkage works when the bundle is loaded in from
3131 java via jigs.
3132
3133 2002-08-15 Adam Fedor <fedor@gnu.org>
3134
3135 * SSL/configure.ac: Simplified check for libraries. Added socket
3136 lib check for Solaris.
3137
3138 * Headers/gnustep/base/NSDecimalNumber.h: Add NSNumber category
3139 for decimalValue.
3140 * Source/NSDecimalNumber.m ([NSNumber -decimalValue]): Implemented.
3141
3142 2002-08-14 Richard Frith-Macdonald <rfm@gnu.org>
3143
3144 * Source/GSString.m: Allow 'true' as boolean value
3145 * Source/NSConcreteNumber.m: Output 'YES' as boolean in description.
3146 * Source/NSNotificationCenter.m: Fix dumb memory leak.
3147 * Source/NSNumber.m: Output 'YES' as boolean in description.
3148 * Source/NSUserDefaults.m: Set 'YES' as boolean string.
3149 * Headers/Foundation/NSObject.h: Fix v dumb memory leak.
3150 * Source/GSHTTPURLHandle.m: Append crlf to separate headers from body
3151 rather than just an lf.
3152 * SSL: Renamed SSL class and source file to reflect the fact
3153 that the code is not unix specific.
3154
3155 2002-08-11 Richard Frith-Macdonald <rfm@gnu.org>
3156
3157 * configure.ac: Check for libxml version 2.3.0 or greater to ensure
3158 we have xpath support.
3159 * Source/NSDecimalNumber.m: implement ([-getValue:]) and
3160 ([-initWithBytes:objCType:])
3161
3162 2002-08-09 Richard Frith-Macdonald <rfm@gnu.org>
3163
3164 * Source/NSNotificationCenter.m: ([-postNotification:]) Correct to
3165 post the actual notification we are given rather than a notification
3166 built from that one. Bug report by Alexander Malmberg.
3167
3168 2002-08-08 Richard Frith-Macdonald <rfm@gnu.org>
3169
3170 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Ensure that the
3171 string contains no dots, so it can be used as a filename under
3172 windoze.
3173 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Documented.
3174
3175 2002-08-07 Richard Frith-Macdonald <rfm@gnu.org>
3176
3177 * Source/NSString.m: ([-boolValue]) Accept 'true' as well as 'YES'
3178 * Source/NSThread.m: Modified to avoid using non-standard notification
3179 initialisation.
3180 * Source/NSNotification.m: Rewritten as abstract/cluster class for
3181 implementation compatibility with MacOS-X
3182 * Source/NSNotificationCenter.m: Modified posting to behave like the
3183 MacOS-X implementation. Implement concrete subclass of
3184 NSNotification.
3185 * Source/NSUserDefaults.m: Try to make creation of new defaults
3186 database an atomic operation.
3187 * Source/NSObject.m: Remove dealloc notifications hack ... the
3188 dealloc method can now safely be used to refrain from deallocating
3189 objects, so I don't think the hack is needed any more.
3190 * Source/NSProcessInfo.m: ([-globallyUniqueString]) Update to ensure
3191 uniqueness across all hosts, processes, and threads.
3192 * Tools/gdomap.c: Tidyup patch by Matthias Klose
3193
3194 2002-07-29 Adam Fedor <fedor@gnu.org>
3195
3196 * Merge changes from 1.4.0 onto main branch.
3197
3198 2002-07-09 Richard Frith-Macdonald <rfm@gnu.org>
3199
3200 * Source/GSTcpHandle.m: Always use runloop in NSConnectionReplyMode
3201 to avoid other NSDefaultRunLoopMode events being triggered while
3202 executing a DO method. **EXPERIMENTAL**
3203
3204 2002-08-06 Adam Fedor <fedor@gnu.org>
3205
3206 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:):
3207 Change location of start of end char search (Patch from Pete
3208 French).
3209
3210 2002-07-27 Adam Fedor <fedor@gnu.org>
3211
3212 * Version: 1.4.0
3213
3214 2002-07-23 Adam Fedor <fedor@gnu.org>
3215
3216 * Source/NSInvocation.m ([GSFrameInvocation
3217 -initWithMethodSignature:]): Return nil if signature is nil.
3218 * Source/GSFFCallInvocation.m (-initWithMethodSignature:): Idem.
3219 * Source/GSFFIInvocation (-initWithMethodSignature:): Idem.
3220
3221 2002-07-20 Adam Fedor <fedor@gnu.org>
3222
3223 * Source/NSDecimal.m: ifdef for compiling on Darwin (report
3224 from Carl Eugen).
3225 * Source/NSInvocation.m ([-initWithSelector:): Rewrite to use
3226 designated initializer.
3227 (-initWithTarget:selector:): Idem.
3228
3229 2002-07-18 Adam Fedor <fedor@gnu.org>
3230
3231 * Tools/gdomap.c (main): Write the pidfile before switching away
3232 from root, but only if the user is root.
3233
3234 2002-07-17 Adam Fedor <fedor@gnu.org>
3235
3236 * Source/NSString.m (-getLineStart:end:contentsEnd:forRange:): Fix
3237 lineEnd and contentEnd check for \r\n (particularly at end of
3238 string.
3239
3240 Tue Jul 16 16:43:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
3241
3242 * Headers/gnustep/base/GSXML.h ([GSXMLNode -setNamespace:]): Added
3243 missing method essential to use namespaces.
3244 * Source/Additions/GSXML.m ([GSXMLNode -setNamespace:]): Implemented.
3245
3246 2002-07-08 Richard Frith-Macdonald <rfm@gnu.org>
3247
3248 * Source/NSFileManager.m: Don't standardise path before converting to
3249 filesystem representation.
3250 * Tools/gdomap.c: Security enhancement - call setgroups().
3251
3252 2002-07-03 Adam Fedor <fedor@gnu.org>
3253
3254 * Version: 1.3.4
3255 * configure.ac: Remove warning about libffi
3256 * Documentation/news.texi: Update.
3257
3258 2002-07-03 Richard Frith-Macdonald <rfm@gnu.org>
3259
3260 * Source/Additions/GSMime.m: Ensure mime-version header appears
3261 before other headers. Fix bug in terminatimg mime data.
3262
3263 2002-07-02 Richard Frith-Macdonald <rfm@gnu.org>
3264
3265 * Tools/gdomap.c: Don't write to pidfile until *after* setuid away
3266 from root. Bug reported by James Kehl <mkehl@gil.com.au>
3267
3268 2002-07-01 Richard Frith-Macdonald <rfm@gnu.org>
3269
3270 * Source/Additions/GSMime.m: Correct test for multipart content when
3271 generating raw data. Fix by Mark Allison <mark@brainstorm.co.uk>
3272
3273 2002-06-30 Richard Frith-Macdonald <rfm@gnu.org>
3274
3275 * Headers/gnustep/base/GSFileHandle.h: New version of UnixFileHandle
3276 for combined unix/windoze use.
3277 * Source/GSFileHandle.m: New combined unix/windows implementation.
3278 * Source/NSFileHandle.m: Use GSFileHandle.
3279 * Source/GNUMakefile: Build GSFileHandle.
3280 * SSL/GSUnixSSLHandle.m: Update for combined GSFileHandle
3281
3282 2002-06-29 Richard Frith-Macdonald <rfm@gnu.org>
3283
3284 * Source/NSObject.m: ([-respondsToSelector:]) handle nul selectors.
3285 Bug report by Andy Ruder <aeruder@yahoo.com>
3286
3287 2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
3288
3289 * Source/NSString.m: Change to quote strings in plist output
3290 aggressively (quote characters that don't really need quoting)
3291 while still parsing flexibly ... ie handle unquoted strings as
3292 long as they don't contain 'special' characters.
3293 Fix for Tom Hageman <th@xs4all.nl>
3294
3295 2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
3296
3297 * Tools/AGSParser.m: ([-parseDeclaration:]) Correct wrongly
3298 positioned autorelease pool in last change. Hope that's the only
3299 one.
3300
3301 Wed Jun 26 15:32:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
3302
3303 * base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes,
3304 now should be done by gnustep-make automatically.
3305
3306 Tue Jun 25 13:31:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
3307
3308 * Tools/AGSHtml.m: Tidy up autorelease pool macros so that it
3309 compiles with gc=yes and old compilers.
3310 * Tools/AGSParser.m: Idem.
3311 * Tools/AGSOutput.m: Idem.
3312 * Tools/HTMLLinker.m: Idem.
3313 * Tools/autogsdoc.m: Idem.
3314 * Tools/gdnc.m: Idem.
3315 * Tools/gsdoc.m: Idem.
3316 * Tools/make_strings/make_strings.m: Idem.
3317
3318 Tue Jun 25 13:13:00 2002 Nicola Pero <n.pero@mi.flashnet.it>
3319
3320 * Source/Additions/GSMime.m ([-rawMimeData:]): Create the
3321 autorelease pool after the other variables, so that it compiles
3322 with gc=yes and gcc < 3.x.
3323 * Source/NSLog.m (NSLogv): Idem.
3324
3325 2002-06-23 Richard Frith-Macdonald <rfm@gnu.org>
3326
3327 * Headers/Foundation/NSFileHandle.h: add async read of specific length.
3328 * Source/NSFileHandle.m: Make the async wconvenience methods call
3329 the core ones.
3330 * Source/UnixFileHandle.m: Remove async convenience methods and add
3331 one to read specified length of data.
3332
3333 2002-06-21 Richard Frith-Macdonald <rfm@gnu.org>
3334
3335 * Source/GSMime.m: add a few consistency checks to raise an exception
3336 if we try to unparse a GSMimeDocument with inconsistent headers and
3337 content.
3338
3339 2002-06-19 Adam Fedor <fedor@gnu.org>
3340
3341 * Source/GSLocale.m (GSSetLocaleC): Only set locale for LC_CTYPE.
3342
3343 2002-06-18 Richard Frith-Macdonald <rfm@gnu.org>
3344
3345 * Source/NSURL.m: Cope with a URL where the path is missing.
3346 Check user, password, host, port parts for illegal characters.
3347 Thanks to bug report by Marco Manfredini <mldb@gmx.org>
3348 * Source/GSMime.m: add convenience method for setting document type.
3349 Fix error in recent change to base64 encoding.
3350
3351 2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
3352
3353 * Source/NSTimer.m: Retain target and user info on initialisation
3354 Release them on invalidation. Ensure timer is invalidated on
3355 deallocation. Documented timer methods.
3356 Changes based on bug report by Andy Ruder <aeruder@yahoo.com>
3357 * Source/NSURL.m: Fixed one possible nul pointer indirection,
3358 and added some comments about the internal data structure.
3359 Handle percentage escape sequences in user, password, host and port
3360 even though MacOS-X only seems to do it for the user name and host.
3361 * Tools/plmerge.m: Fixed some crasher bugs where given bad arguments.
3362
3363 2002-06-16 Richard Frith-Macdonald <rfm@gnu.org>
3364
3365 * Source/GSFTPURLHandle.m: simple implementation added
3366 * Source/NSURLHandle.m: Register GSFTPURLHandle for ftp scheme.
3367 * Source/GSHTTPURLHandle.m: modified so that data being read is
3368 reported periodically during the read proces rather than just at end.
3369
3370 2002-06-15 Adam Fedor <fedor@gnu.org>
3371
3372 * Source/NSProcessInfo.m: Include sys/fcntl for Solaris.
3373
3374 2002-06-14 Richard Frith-Macdonald <rfm@gnu.org>
3375
3376 * config/pathxml.m4: Adjust path to headers.
3377 * Tools/gsdoc.m: Adjust path to headers. Add warning about
3378 deprecation.
3379 Patch by e.sammer <eric@linuxstep.org>
3380 * Source/NSObject.m: Added some compatibility methods in a
3381 categpory of Object.
3382 * Source/Additions/GSMime.m: Add a couple of convenience methods.
3383 * Source/GSHTTPURLHandle.m: Use one of them.
3384 * SSL/Makefile.postample: on distclean, don't need to delete
3385 bundle, but do delete config.h explicitly.
3386
3387 2002-06-13 Richard Frith-Macdonald <rfm@gnu.org>
3388
3389 * Source/Additions/GSXML.m: Include NSInvocation.h to avoid
3390 compiler warning.
3391
3392 2002-06-12 Richard Frith-Macdonald <rfm@gnu.org>
3393
3394 * Source/NSObject.m: Fix a few errors which crept in to the map
3395 table based reference counting.
3396 * Examples/GNUmakefile: Permit local makefile to be missing.
3397 * Source/UnixFileHandle.m: Added outgoing SOCKS5 support.
3398 * Source/NSFileHandle.m: Added SOCKS5 documentation.
3399 * Source/Base/gsdoc: Dopcumented SOCKS enironemnet variables and defs.
3400 * Source/NSNotification.m: Made -description more informative.
3401 * Testing/call.m: Trivial test program for tcp connections.
3402 * SSL/GSUnixSSLHandle.m: Updated for socks.
3403 * Additions/GSMime.m: Utilites to encode/decode base64
3404 * Source/GSHTTPURLHandle.m: Use encoding.
3405
3406 2002-06-10 Richard Frith-Macdonald <rfm@gnu.org>
3407
3408 * Source/UnixFileHandle.m: Avoid some unnecessary autoreleases.
3409
3410 2002-06-09 Richard Frith-Macdonald <rfm@gnu.org>
3411
3412 * Source/NSObject.m: Implemented and documented -className
3413 * Tools/AGSOutput.m: When Verbose = YES log all documentable
3414 entities for which no comment text was found.
3415 * Source/NSException.m: Added NSParseErrorException and tidied other
3416 general exceptions.
3417 * Source/extern.m: Removed generic exceptions ... now in NSException.m
3418
3419 2002-06-06 Adam Fedor <fedor@gnu.org>
3420
3421 * Source/cifframe.m (cifframe_from_info): Set value locations
3422 after prepping cifframe.
3423
3424 2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
3425
3426 * Source/NSLog.m: patch by Jeff Teunissen to avoid adding date/time
3427 info when using syslog.
3428 * Source/NSURL.m: Fix loading codde to set self as client of handle.
3429 * Tools/AGSParser.m: Fix to avoid warnings about unimplemented protocols
3430 * Headers/gnustep/base/GSXML.h:
3431 * Headers/gnustep/base/NSArchiver.h:
3432 * Headers/gnustep/base/NSAutoreleasePool.h:
3433 * Headers/gnustep/base/NSCoder.h:
3434 * Headers/gnustep/base/NSDictionary.h:
3435 * Headers/gnustep/base/NSFileHandle.h:
3436 * Headers/gnustep/base/NSNotification.h:
3437 * Headers/gnustep/base/NSRunLoop.h:
3438 * Headers/gnustep/base/NSURL.h:
3439 * Headers/gnustep/base/NSURLHandle.h:
3440 * Source/GSHTTPURLHandle.m:
3441 * Source/NSArray.m:
3442 * Source/NSCoder.m:
3443 * Source/NSFileHandle.m:
3444 * Source/NSNotification.m:
3445 * Source/NSRunLoop.m:
3446 * Source/NSURLHandle.m:
3447 * Source/NSUnarchiver.m:
3448 * Source/externs.m:
3449 * Source/Additions/GSXML.m:
3450 Tidied for documentation purposes ... no substantial code changes
3451
3452 Wed Jun 5 17:46:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
3453
3454 * Source/NSLog.m (_NSLog_standard_printf_handler): Fixed
3455 syslogging of strings: add a NULL at the end of strings before
3456 feeding them to syslog.
3457
3458 2002-06-05 Richard Frith-Macdonald <rfm@gnu.org>
3459
3460 * Headers/Foundation/NSURL.h: Added a couple of ivars and removed
3461 non-standard methods.
3462 * Source/NSURL.m: Rewrite everything apart from the code dealing
3463 with NSURLHandle objects (and change some of that) to conform to
3464 the documentation (I hope) and to try to match behavior with that
3465 of MacOS-X.
3466
3467 2002-06-04 Adam Fedor <fedor@gnu.org>
3468
3469 * Headers/gnustep/base/NSByteOrder.h: Hack for bug in gcc 3.1
3470 * Source/externs.m (_gcc3_1_hack): Idem. (modified patch from
3471 benhur@inf.ufsm.br).
3472
3473 * Source/GSFFIInvocation.m (gs_objc_msg_forward): Alloc closure
3474 with fastMallocBuffer.
3475
3476 * Documentation/coding-standards.texi: Update.
3477
3478 2002-06-02 Richard Frith-Macdonald <rfm@gnu.org>
3479
3480 * Headers/Foundation/NSObject.h: Removed ([_dealloc]),
3481 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3482 * Source/NSObject.m: Removed ([_dealloc]),
3483 ([-deallocNotificationsActive]), ([setDeallocNotificationsActive:])
3484 as these methods are no longer necessary now that the dealloc method
3485 itsself is able to refrain from performing deallocation if if wishes
3486 (the retain count mechanism can no longer reach a zero retain count).
3487
3488 2002-06-01 Richard Frith-Macdonald <rfm@gnu.org>
3489
3490 * Source/NSObject.m: Change NSDecrementExtraRefCountWasZero() to
3491 refrain from decrementing when the count is zero. Documented
3492 the retain/release/retainCount methods (and others).
3493 * Headers/Foundation/NSObject.h: Documented extra ref count functions.
3494
3495 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3496
3497 * Source/NSObject.m: Change order of zombie initialisation for
3498 darwin port.
3499
3500 2002-05-28 Richard Frith-Macdonald <rfm@gnu.org>
3501
3502 * Headers/gnustep/base/GSMime.h: Make set... methods return void.
3503 * Source//GSMime.m: Make set... methods return void. Also fix
3504 parsing to use different 'specials' for HTTP and MIME
3505 * Headers/gnustep/base/GSIMap.h:
3506 * Headers/gnustep/base/NSHashTable.h:
3507 * Headers/gnustep/base/NSMapTable.h:
3508 * Source/GSArray.m:
3509 * Source/GSSet.m:
3510 * Source/GSTcpPort.m:
3511 * Source/NSBundle.m:
3512 * Source/NSConnection.m:
3513 * Source/NSData.m:
3514 * Source/NSHashTable.m:
3515 * Source/NSMapTable.m:
3516 * Source/NSObject.m:
3517 * Source/NSRunLoop.m:
3518 Applied patches by James Knight, to improve memory efficiency and
3519 insertion.deletion speed to hash and map tables. Also fixes for
3520 some GC problems.
3521 Fixed minor problem in patch, and added code to call functions to
3522 clean up after hash and map enumerations. Modified cleanup function
3523 to clear enumerator ... for memory release on GC system.
3524 Rewrote enumeration code so that it maintains the characteristic
3525 that objects can safely be removed from maps after being enumerated
3526 (this feature is used in several places).
3527 *WARNING* This introduces a binary incompatibility in that the size
3528 of the map table and hash table enumeration types has grown.
3529 If you have binaries which use the NSEnumerateHashTable() or the
3530 NSEnumeratemapTable() functions, you need to rebuild them.
3531
3532 2002-05-27 Richard Frith-Macdonald <rfm@gnu.org>
3533
3534 * Headers/Foundation/GSMime.h: Tidy up and add convenience methods.
3535 * Source/Additions/GSMime.m: Tidy up and add convenience methods.
3536 Added methods to convert content between string and data for ease
3537 of use from java. Added support for most character sets handled
3538 by GNUstep-base. Improved ContentID generation to be both unlikely
3539 to recur, and to be guaranteed unique within a process.
3540 * Source/NSBundle.m: ([+allBundles]) Don't enumeraste if map table
3541 has not been created yet.
3542 * Source/NSLog.m: Allow output descriptor to be changed.
3543 * Source/NSProcessInfo.m: Add method to change log output to go to
3544 another file for applications where stderr has been hijacked.
3545
3546 2002-05-26 Fred Kiefer <FredKiefer@gmx.de>
3547
3548 * Source/Additions/GSXML.m
3549 Define GSXMLAttribute in the case when libxml is found.
3550 Otherwise it wont compile on MS Windows.
3551
3552 2002-05-26 Richard Frith-Macdonald <rfm@gnu.org>
3553
3554 * Headers/Foundation/GSMime.h: Add GSMimeHeader class.
3555 * Source/Additions/GSMime.m: Add GSMimeHeader class.
3556 Update API to use GSMimeheaders rather than dictionaries.
3557
3558 2002-05-23 Richard Frith-Macdonald <rfm@gnu.org>
3559
3560 * Source/Additions/GSXML.m: Fix a few errors in last changes.
3561 * Source/NSString.m: Updates for GSXML changes.
3562 * Tools/AGSHtml.m: Updates for GSXML changes.
3563 * Tools/AGSIndex.m: Updates for GSXML changes.
3564
3565 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3566
3567 * Headers/gnustep/base/GSXML.h: Add _parent ivars
3568 * Source/Additions/GSXML.m: Implement memory mangement so that the
3569 underlying libxml data is not freed unless all objects derived from
3570 it have been deallocated. Remove comments warning about original
3571 memory management scheme.
3572
3573 2002-05-22 Richard Frith-Macdonald <rfm@gnu.org>
3574
3575 * Source/GSeq.h: Fix bug matching sequences with zero length range.
3576 * Headers/gnustep/base/GSMime.h: Tell autogsdoc where to look for source
3577 * Headers/gnustep/base/GSXML.h: Updates for consistency etc.
3578 * Source/Additions/GSXML.m: ditto
3579 * Tools/AGSHtml.m: Modified for changed GSXML
3580 * Tools/AGSIndex.m: ditto
3581 * Tools/AGSParser.m: ditto
3582 * Tools/autogsdoc.m: ditto
3583 * Tools/defaults.m: Fixed typo
3584 Mostly, changes to make methods which were intended to be private
3585 really private, and lots of modifications to make mathod names
3586 consistent with OpenStep usage ... suggestions made by many people.
3587 * configure.ac: Use better names for GMP and ZLIB flags
3588 * configure: regenerate
3589 * Headers/gnustep/base/GSConfig.h.in: GMP and ZLIB update
3590 * Headers/gnustep/base/NSDecimal.h: GMP update
3591 * Headers/gnustep/base/UnixFileHandle.h: ZLIB update
3592 * Source/NSDecimal.m: GMP update
3593 * Source/UnixFileHandle.m: ZLIB update
3594
3595 2002-05-15 Richard Frith-Macdonald <rfm@gnu.org>
3596
3597 * Source/NSLog.m: Altered logging format for compatibility with
3598 MacOS-X (and easier collating). Thanks to report by lcampbell
3599
3600 2002-05-14 Richard Frith-Macdonald <rfm@gnu.org>
3601
3602 * Source/Unicode.m: GSFromUnicode(), GSToUnicode(), bugfix - ensure
3603 that returned memory is allocated from specified zone, rather than
3604 returning internal buffer.
3605 * Tools/AGSIndex.m: When a string missmatch is found when merging,
3606 update the output to the new string as well as warning.
3607 * Tools/autogsdoc.m: Don't automatically include refs to installed
3608 copies of the project being documented.
3609
3610 2002-05-13 Richard Frith-Macdonald <rfm@gnu.org>
3611
3612 * Source/NSFileManager.m: Don't try to release memory using free()
3613 when it was allocated using NSZoneMalloc().
3614 * Tools/autogsdoc.m: Improve dependency rule management.
3615 * Tools/AGSParser.h: ditto
3616 * Tools/AGSParser.m: ditto
3617 * Tools/AGSIndex.h: ditto
3618 * Tools/AGSIndex.m: ditto
3619 Store all dependency information in the .igsdoc file and keep it up
3620 to date. Never regenerate a file that doesn't need it.
3621 Mostly the changes are to cope with the fact that we now have
3622 common files into which all functions, constants, variables, and
3623 typedefs within a project are combined.
3624
3625 2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
3626
3627 * Source/Unicode.m: Rationalise so that all conversion operations
3628 go through the two new functions. Gets rid of a load of old code.
3629 * Source/GSString.m: ([-replaceCharactersInRange:withString:])
3630 minor performance enhancement when copying from a 16-bit string
3631 to an 8-bit string.
3632
3633 2002-05-10 Adam Fedor <fedor@gnu.org>
3634
3635 * Source/Additions/GSXML.m: Change libxml strings to UTF8
3636 (makeText:) New.
3637 Add GSXMLDummy for MinGW
3638 * Source/Additions/libgnustep-base.def: Remove GSXMLHandler.
3639 (patch from Kai Henningsen).
3640
3641 2002-05-10 Richard Frith-Macdonald <rfm@gnu.org>
3642
3643 * Tools/gdnc.m: Make gdnc log to syslog by default, and close
3644 stdin, stdout, stderr to run as daemon.
3645 * Source/NSUser.m: Restructured path generation code slightly.
3646 Added support for system-wide .GNUsteprc with force options.
3647 Removed use of FORCE_USER_ROOT and FORCE_DEFAULTS_ROOT
3648 * Source/Base/gsdoc: Document the .GNUsteprc files.
3649 * Source/NSArray.m: Fix bug with GC pointed out by James Knight
3650
3651 2002-05-09 Richard Frith-Macdonald <rfm@gnu.org>
3652
3653 * Source/GSHTTPURLHandle.m: Insert port information to URL passed
3654 to proxy.
3655
3656 2002-05-09 Fred Kiefer <FredKiefer@gmx.de>
3657
3658 * Source/NSBundle.m
3659 Use fileSystemRepresentation instead of cString to get the file
3660 name to load.
3661
3662 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3663
3664 * Source/NSTask.m: When launching under windoze, don't forget to
3665 use the fileSystemRepresentation of the program name.
3666
3667 2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
3668
3669 * Source/Additions/GSXML.m: Fix function prototype ... gets rid of
3670 compiler warning.
3671 * Source/GNUmakefile: remove o_vscanf.c ... unused
3672 * Source/o_vscanf.c: remove unused file.
3673 * Source/mframe.m: Fix compiler warning about unused function.
3674 * Source/GSFormat.m: Fix compiler warning about unused var.
3675 * Source/NSDebug.m: Fix compiler warning about unused var.
3676 * Source/externs.m: Fix compiler warnings ... move some exceptions
3677 to source files relating to where they are declared.
3678 * Source/NSArchiver.m: define exception.
3679 * Source/NSConnection.m: define exception.
3680 * Source/NSPort.m: define exception.
3681 * Tools/gdomap.c: Remove unused variable (log_perror).
3682
3683 2002-05-07 Adam Fedor <fedor@gnu.org>
3684
3685 * configure.ac: Make all AC_DEFINES define 1
3686 * config/objc-con-autoload.m4: Idem.
3687 * config/objc-sys-dynamic.m4: Idem.
3688
3689 2002-05-07 Richard Frith-Macdonald <rfm@gnu.org>
3690
3691 * Source/NSUser.m: mingw path fixes and debugging
3692 * Source/NSFileManager.m: ditto
3693
3694 2002-05-06 Adam Fedor <fedor@gnu.org>
3695
3696 * Source/NSMethodSignature.m (-isEqual:): Implemented (from
3697 znek@mulle-kybernetik.com).
3698
3699 2002-05-06 Richard Frith-Macdonald <rfm@gnu.org>
3700
3701 * Source/NSMapTable.m: Delete line teft over by accident ... could
3702 cause crach if passes nul table. Thanks to Lars Sonchocky-Helldorf
3703 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:]) don't
3704 supply current date information as default ... for compatibility
3705 with MacOS-X use zero date instead. Thanks to lcampbell.
3706
3707 2002-05-04 Adam Fedor <fedor@gnu.org>
3708
3709 * Testing/nsbundle.m: Update to work without installing bundle.
3710
3711 2002-05-04 Richard Frith-Macdonald <rfm@gnu.org>
3712
3713 * Source/NSUser.m: NSHomeDirectoryForUser() ... fix windoze bug ...
3714 was returning the current users home directory irrespective of the
3715 user asked for. Now returns nil for other users ... should really
3716 find some mechanism to determine home directories for other users.
3717 * Source/Additions/GSXML.m: If ([_parseChunk:]) is called with nil
3718 data, terminate parsing. Report by Alexander Malmberg.
3719
3720 2002-05-03 Richard Frith-Macdonald <rfm@gnu.org>
3721
3722 * Source/NSAssertion.m: Added comments and fixed bug in handling
3723 an assertion in a function ... was calling va_end() before the last
3724 use of the arguments. Also, release new handler after adding it to
3725 thread dictionary ... fix memory leak.
3726 * Source/NSThread.m: Add fprintf of alert message to STDERR if we
3727 are unable to determine the current thread. Don't attempt to use
3728 NSLog() or similar ... since chances are, without a thread object,
3729 that would just crash.
3730 In GSRegisterCurrentThread(), add code to handle the case where the
3731 NSThread class has not been initialised.
3732 * Source/NSObject.m: NSAllocateObject() raise exception if passed
3733 something other than a class to allocate an instance of.
3734
3735 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3736
3737 * SSL/GSUnixSSLHandle.m: Change '#if HAVE...' to '#ifdef HAVE_...'
3738 * Source/GSFormat.m: ditto
3739 * Source/GSHTTPURLHandle.m: ditto
3740 * Source/GSTcpPort.m: ditto
3741 * Source/NSBundle.m: ditto
3742 * Source/NSData.m: ditto
3743 * Source/NSDate.m: ditto
3744 * Source/NSFileManager.m: ditto
3745 * Source/NSHost.m: ditto
3746 * Source/NSLock.m: ditto
3747 * Source/NSLog.m: ditto
3748 * Source/NSPage.m: ditto
3749 * Source/NSPipe.m: ditto
3750 * Source/NSProcessInfo.m: ditto
3751 * Source/NSRunLoop.m: ditto
3752 * Source/NSString.m: ditto
3753 * Source/NSTask.m: ditto
3754 * Source/NSThread.m: ditto
3755 * Source/NSUser.m: ditto
3756 * Source/UnixFileHandle.m: ditto
3757 * Source/WindowsFileHandle.m: ditto
3758 * Tools/gsdoc.m: ditto
3759 * Tools/autogsdoc.m: ditto
3760 Fixes to handle configuration changes where AC_DEFINE is setting
3761 preprocessor constants to be empty (but defined) rather than to be 1
3762
3763 2002-05-02 Adam Fedor <fedor@gnu.org>
3764
3765 * configure.ac: Updated to autoconf 2.53 from configure.in
3766 * configure, config.h.in: Regenerate.
3767 * Source/mframe/configure.ac: Idem.
3768 * SSL/configure.ac: Idem.
3769 * acconfig.h, aclocal.m4: Remove
3770 * config/pathxml.m4: New from aclocal.m4.
3771 * config/objc-con-autoload.m4: Updated from aclocal.m4
3772 * config/procfs-exe-link.m4: Idem.
3773 * config/procfs.m4: Idem.
3774
3775 2002-05-02 Richard Frith-Macdonald <rfm@gnu.org>
3776
3777 * Source/NSURLHandle.m: Implement ([-hash]) and ([-isEqual:]) based on
3778 ([-absoluteString]) rather than simple pointer comparison.
3779 * Source/GSHTTPURLHandle.m: ([-bgdConnect]) check for existing
3780 headers before writing ... avoid overriding them and only set things
3781 that the programmer has not bothered to set.
3782 ([-loadInBackGround]) use URL port if available.
3783 More fixes thanks to lcampbel via savannah
3784 * Headers/Foundation/NSURLHanlde.h: include NSObject.h
3785 * Source/UnixFileHadle.h: add missing semicolon thanks to Paul Windey
3786
3787 2002-05-01 Richard Frith-Macdonald <rfm@gnu.org>
3788
3789 * Source/NSURLHandle.m: ([URLHandleClassForURL:]) Fix to return most
3790 recently registered class rather than first registered one.
3791 Bug report via savannah
3792
3793 2002-04-30 Adam Fedor <fedor@gnu.org>
3794
3795 * Version: 1.3.2
3796 * Documentation/news.texi: Update.
3797 * NEWS Regen.
3798
3799 2002-04-29 Richard Frith-Macdonald <rfm@gnu.org>
3800
3801 * Source/NSFileManager.m: Standardise handling for windoze drive
3802 specifiers in file paths.
3803 * Source/NSUser.m: Use ([-stringWithFileSystemRepresentation:length:])
3804 when importing file names.
3805 * Source/NSString.m: Update all path handling methods for windoze
3806 changes. Fix several bugs where we did not conform to documentation.
3807
3808 2002-04-28 Richard Frith-Macdonald <rfm@gnu.org>
3809
3810 * Source/NSFileManager.m: Port
3811 ([-stringWithFileSystemRepresentation:length:]) to windoze...
3812 Have it convert backslashes to slashes etc.
3813
3814 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3815
3816 * Tools/AGSParser.m: Improve handling of identifier mapping so that
3817 an identifier mapped to an empty string (or //) an any place where
3818 whitespace is permissable is treated as part of that white space.
3819
3820 2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
3821
3822 * Tools/AGSParser.m: Interpret a mapping to '//' in the WordMap as
3823 meaning that the rest of the line containing the mapped value
3824 should be ignored.
3825
3826 2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com>
3827
3828 * Tools/make_strings/GNUmakefile - modified to prevent build
3829 error when building from scratch
3830 * Tools/make_strings/GNUmakefile.preamble - added to provide
3831 paths to include and lib directories for linking make_strings
3832 tool when building from scratch.
3833
3834 2002-04-23 Adam Fedor <fedor@gnu.org>
3835
3836 * Source/GSFFIInvocation.m
3837 (-initWithCallback:returnp:values:frame:signature:): Simplify
3838 setting values. Structs passed by ref when MFRAME_STRUCT_BYREF.
3839 (GSFFIInvokeWithTargetAndImp): Encoding values unneedded now.
3840 (gs_objc_msg_forward): Free the closure via NSData.
3841
3842 * Source/mframe/powerpc/generic: Fix offset for structs.
3843 * Source/mframe/powerpc/linux-gnu: Idem.
3844 * Source/mframe/powerpc/darwin: Idem.
3845
3846 2002-04-22 Adam Fedor <fedor@gnu.org>
3847
3848 * Tools/gdomap.c (gdomap_log): For LOG_INFO, write to 1, not 0.
3849
3850 * Tools/make_strings: New tool from Alexander Malmberg
3851 <alexander@malmberg.org>
3852
3853 * Source/Additional/Makefile.preamble (ADDITIONAL_OBJCFLAGS):
3854 Add for building DLL on mingw32
3855
3856 2002-04-20 Richard Frith-Macdonald <rfm@gnu.org>
3857
3858 * Source/NSURL.m: ([-absoluteString]) anonymous bugfix applied.
3859
3860 2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
3861
3862 * Tools/gdnc.m: If given -NSHost specification for the current host,
3863 ignore it and use the standard name.
3864 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3865 at end ... so handles can find this port when they are destroying
3866 themselves. Reverses last change I made to this.
3867
3868 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3869
3870 * SSL/COPYING.LIB: New file ... just to make it *REALLY* obvious
3871 this code is under the LGPL
3872
3873 2002-04-18 Adam Fedor <fedor@gnu.org>
3874
3875 * Minimally working libffi support. Needs work.
3876 * configure.in: Allow libffi to be enabled.
3877 * Source/GSFFIInvocation.m: Rewrite.
3878 * Source/NSConnection.m (-forwardInvocation:forProxy:): Add libffi
3879 function.
3880 * Source/NSInvocation.m: Fixup cifframe arg functions.
3881 * Source/cifframe.m: Rewrite.
3882 * Testing/nsinvocation.m: Bug fix.
3883
3884 * Documentation/coding-standards.texi: Remove info dir tag.
3885 * Documentation/gnustep-base.texi: Idem.
3886 * Resources/Languages/Slovak: New file (from Stefan Urbanek).
3887
3888 Thu Apr 18 11:10:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
3889
3890 * Headers/gnustep/base/NSObjCRuntime.h: Updated #defines and
3891 Windows DLL export/import machinery to the new gnustep-make
3892 conventions.
3893
3894 2002-04-18 Richard Frith-Macdonald <rfm@gnu.org>
3895
3896 * Tools/gdomap.c: re-order headers so config.h is used on windoze
3897 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
3898 modified to handle MSYS paths with '/drive/' prefix.
3899 * Source/GSTcpPort.m: ([-invalidate]) call superclass implementation
3900 at start, so flag gets set to say we are not valid, and we avoid any
3901 recursive calls.
3902
3903 2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
3904
3905 * config/config.reuseaddr.c: New test for broken SO_REUSEADDR
3906 * configure.in: test for broken SO_REUSEADDR
3907 * acconfig.h: Add BROKEN_SO_REUSEADDR
3908 * configure: regenerated
3909 * Source/UnixFileHandle.m: Use reuseaddr info.
3910 * Source/GSTcpPort.m: Use reuseaddr info.
3911 * Tools/gdomap.c: Use reuseaddr info.
3912 * Source/NSPortNameServer.m: Improved warnings about launching
3913 gdomap.
3914 * Source/NSDistributedNotification.m: Improved warnings about
3915 launching gdnc.
3916 * Source/NSException.m: Log uncaught exceptions with executable name.
3917 * Source/NSProcessInfo.m: New private function for exception msg.
3918 * Source/GSString.m: Applied fix by Malexander Malmberg for
3919 transmuting strings where the default encoding is not the same as
3920 the internal 8-bit encoding.
3921 * Source/Unicode.m: Logic fix for selecting strict conversion from
3922 unicode by Alexander Malmberg.
3923
3924 2002-04-12 Richard Frith-Macdonald <rfm@gnu.org>
3925
3926 * Source/Additions/GSXML.m: New method ([-nextElement]) to traverse
3927 tree skipping non-element nodes. Also ([-childElement]) to get the
3928 first child element of a node.
3929
3930 Thu Apr 11 15:34:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
3931
3932 * Source/GSAttributedString.m ([GSMutableAttributedString
3933 -sanity]): Renamed to -_sanity, and changed so that we always
3934 compile this in so that regression testcases can use it.
3935
3936 2002-04-08 Richard Frith-Macdonald <rfm@gnu.org>
3937
3938 * Resources/GNUmakefile: install new language files.
3939 * Resources/Languages/Russion: language file added.
3940 * Resources/Languages/UkraineRussion: language file added.
3941 Added language files provided by Serg Stoyan <stoyan@on.com.ua>
3942 * Source/UnixFileHandle.m: Permit accept/connect on descriptors
3943 by default.
3944 * Source/WindowsFileHandle.m: ditto
3945 * Headers/Foundation/NSProcessInfo.h: Added MacOS-X operating system
3946 methods and enum
3947 * Source/NSProcessInfo.m: Added operating system methods and documented
3948 all methods for autogsdoc.
3949
3950 2002-04-07 Richard Frith-Macdonald <rfm@gnu.org>
3951
3952 * Source/GSString.m: Tidy initialisers for case where the default
3953 C-string encoding is not usable internally.
3954 * Source/NSLog.m: Try default cString encoding.
3955 * Tools/cvtenc.m: Add -EscapeIn and -EscapeOut flags to handle \u
3956 escapes in files.
3957 * Resources/Languages/Italian: Correct to use \u escapes
3958 * Resources/Languages/French: ditto.
3959 * Resources/Languages/German: ditto.
3960 * Resources/Languages/README: New file to tell editors that they
3961 should use \u escapes ... and suggesting use of the cvtenc tool
3962 to make the job easy.
3963
3964 2002-04-06 Richard Frith-Macdonald <rfm@gnu.org>
3965
3966 * Source/NSString.m: Fix error in unicode BOM handling
3967 Write plist unicode escapes using the conventional \u rather than \U,
3968 but read in either form.
3969 * Source/GSString.m: Fix error in length of unicode data produced.
3970 * Tools/cvtenc.m: Made easy to use and added instructions.
3971
3972 Sat Apr 6 02:42:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
3973
3974 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Fixed
3975 typo, gnustep_local_root being used instead of gnustep_user_root
3976 for developer dirs in user root.
3977
3978 2002-04-05 Richard Frith-Macdonald <rfm@gnu.org>
3979
3980 * Source/NSObject.m: Fix locking bug with NSZombie ... was not
3981 locking when adding/removing zombies.
3982 * Source/NSString.m: Fix property list parsing code to raise
3983 exceptions on failure rather than logging messages. Also check for
3984 extra data at end of parsed string.
3985 * Tools/ctvenc.m: new tool for converting string encodings.
3986
3987 2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com>
3988
3989 * Tools/gsdoc.m: corrected inversed test for missing entities
3990
3991 2002-03-27 Richard Frith-Macdonald <rfm@gnu.org>
3992
3993 * Source/GSPrivate.h: Added function to fetch boolean value from env
3994 * Source/NSException.m: Use new function.
3995 * Source/NSProcesInfo.m: Implement new function.
3996 * Source/NSObject.m: Implement NSZombie functionality.
3997 * Headers/Foundation/NSDebug.h: Document NSZombie functionality.
3998
3999 2002-03-25 Richard Frith-Macdonald <rfm@gnu.org>
4000
4001 * Source/NSTask.m: Implement code to watch for child process exit
4002 under mingw and rewrite various methods to handle process
4003 termination nicely under windoze.
4004 * Source/NSException.m: flush stderr ... under windoze stderr is
4005 not automatically flushed!
4006 * Source/GSWindowsFileHandle.m: watch for exceptional conditions
4007 so we can handle socket connection failures in mingw32.
4008 Added code to try to cope with standard files properly, not just
4009 network sockets.
4010 * Source/GSTcpPort.m: ditto.
4011 * Source/Unicode.m: GSToUnicode(), GSFromUnicode(), if terminate
4012 option is specified, always produce output with a nul terminator
4013 even for input of an empty string.
4014
4015 2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
4016
4017 * SSL/GNUmakefile: Remove -lobjc and -lgnustep-base from bundle
4018 libraries ... it should not need them.
4019
4020 2002-03-21 Richard Frith-Macdonald <rfm@gnu.org>
4021
4022 * Source/NSArray.m: Ensure property-list read/write uses UTF8
4023 * Source/NSDictionary.m: ditto
4024 * Source/NSConnection.m: Change timeouts to 300 seconds and
4025 document all methods.
4026
4027 2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
4028
4029 * Source/GSString.m: lossyCString_u() handle case where cString
4030 contains more bytes than unicode string has characters.
4031 * Tools/gdomap.c: Suppress unnecessary warnings except under debug.
4032 Implement spawning to run as daemon under windoze.
4033 * Toolds/gdnc.m: Run as daemon under windoze.
4034 * Source/GSTcpPort.m: Fix to stop multiple servers trying to use
4035 the same port under windoze.
4036 * Source/WindowsFileHandle.m: Fix to stop multiple servers trying to use
4037 the same port under windoze. Fix to return gdomap port even if
4038 getservbyname() doesn't.
4039 * Source/UnixFileHandle.m: Fix to return gdomap port even if
4040 getservbyname() doesn't.
4041 * Source/NSTask.m: Try appending .exe extension to paths under windoze.
4042 * Source/Unicode.m: GSFromUnicode() fix lossy conversion for cases
4043 where output encoding can't handle the unicode.
4044
4045 2002-03-19 Richard Frith-Macdonald <rfm@gnu.org>
4046
4047 * Source/GSString.m: lossyCString_c() fix in line with recent
4048 changes ... cope with case where internal coding is not same as
4049 external coding.
4050 lossyCString_u() fix encoding used.
4051
4052 2002-03-18 Adam Fedor <fedor@gnu.org>
4053
4054 * Tools/gdomap.c (gdomap_log): Write to stdout if prio=LOG_INFO.
4055
4056 2002-03-18 Richard Frith-Macdonald <rfm@gnu.org>
4057
4058 * Source/Unicode.m: Some boundary error fixes by Alexander Malmberg.
4059 Fixes to encoding table initialisation.
4060 * Source/NSString.m:Fix error in encoding type for initialising from
4061 data. By Alexander Malmberg.
4062 * Source/GSString.m: Correct string length when transmuting an 8-bit
4063 string to a 16-bit string - by Alexander Malmberg.
4064
4065 2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4066
4067 * Source/GSAttributedString.m
4068 ([GSMutableAttributedString -replaceCharactersInRange:withString:]):
4069 Only keep attribute #0 when removing it would remove all attributes.
4070 (patch by Alexander Malmberg)
4071
4072 2002-03-16 Adam Fedor <fedor@gnu.org>
4073
4074 * configure.in: Also configure SSL.
4075
4076 2002-03-16 Richard Frith-Macdonald <rfm@gnu.org>
4077
4078 * Headers/gnustep/base/Unicode.h: Add more options for character
4079 encoding conversion routines.
4080 * Source/GSPrivate.h: Add a couple of private functions for character
4081 encoding management.
4082 * Source/GSString.m: Convert throughoput to use new functions for
4083 converting from one string encoding to another. Make changes to
4084 handle setting of default C string encoding to be an encoding which
4085 is incompatible with internal e-bit string objects.
4086 * Source/NSString.m: ditto
4087 * Source/Unicode.m: new string encoding conversion functions extended
4088 with a few new options. Also fixed some memory allocation bugs to
4089 cure memory leaks.
4090
4091 Rewritten low level support for different character encodings ...
4092 should provide more efficient and maintainable conversion between
4093 encodings and permit use of wide character encodings and encodings
4094 with multibyte sequences as the default C string encoding.
4095 Testing ... minimal ... we could do with decent tests for this stuff.
4096 So this version must be viewed as possibly very unstable!
4097
4098 2002-03-14 Adam Fedor <fedor@gnu.org>
4099
4100 * Version: 1.3.0
4101 * Documentation/install.texi, readme.texi, ...: Updated
4102
4103 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4104
4105 * Source/NSString.m; Bug report by Manuel Guesdon prompted me to
4106 rewrite string trimming extensions. All the tail end trimming
4107 was wrong.
4108 * Source/Unicode.m: Added two new conversion functions ... untested.
4109 The intention is to replace other string conversion with these ones
4110 which should localise memory management issues.
4111
4112 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
4113
4114 * Tools/gdomap.c: Tidy a little ... fix non-static declarations.
4115 * Source/NSString.m: ([-initWithData:encoding:]) Correct the length
4116 of the string produced when unicode data is missing its 2 byte
4117 prefix. Simplification of code based on suggestion by Yen-Ju Chen
4118 * Source/GSString.m: Fixes for cString infor from unicode by
4119 Yen-Ju Chen.
4120
4121 Wed Mar 13 16:55:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
4122
4123 * Source/Additions/GSXML.m ([GSSAXHandler
4124 -externalSubset:externalID:ystemID:]): Fixed typo, 'ystemID:'
4125 instead of 'systemID:'.
4126
4127 2002-03-13 Adam Fedor <fedor@gnu.org>
4128
4129 * Tools/gdomap.c (log): Redefine to gdomap_log to avoid conflict
4130 with syslog function on Darwin.
4131
4132 * Source/NSProcessInfo.m (main): Use STRINGIFY to get proper
4133 name of constant string class.
4134
4135 2002-03-13 Richard Frith-Macdonald <rfm@gnu.org>
4136
4137 * Headers/gnustep/base/NSObjCRuntime.h: Remove bad markup in comments.
4138 * Headers/gnustep/base/NSString.h: Remove private class declaration
4139 and hide internals of NXConstantString behind dummy interface while
4140 improving comments. Fix long overdue declaraction of methods in
4141 clsses rather than protocols.
4142 * Source/GSUserDefaults.h: removed
4143 * Source/GSPrivate.h: added
4144 * Source/GSCompatibility.m: fix for hidden private info.
4145 * Source/GSString.m: ditto
4146 * Source/NSArray.m: ditto
4147 * Source/NSCalendarDate.m: ditto
4148 * Source/NSDate.m: ditto
4149 * Source/NSDecimalNumber.m: ditto
4150 * Source/NSDictionary.m: ditto
4151 * Source/NSLog.m: ditto
4152 * Source/NSObjCRuntime.m: ditto
4153 * Source/NSScanner.m: ditto
4154 * Source/NSSerializer.m: ditto
4155 * Source/NSString.m: ditto
4156 * Source/NSUser.m: ditto
4157 * Source/NSUserDefaults.m: ditto
4158 General tidyups to hide some internal workings which should really
4159 not be exposed in public headers.
4160
4161 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4162
4163 * NSTimeZones/NSTimeZones.tar: regenerated with latest data.
4164
4165 2002-03-12 Adam Fedor <fedor@gnu.org>
4166
4167 * Headers/gnustep/base/NSString.h: Add extra ivars needed by Darwin
4168 to NXConstantString.
4169 * Source/GSString.m: ([NXConstantString +initialize]): Remove constant
4170 string class reference setup for Darwin.
4171 * Source/NSProcessInfo.m (main): Put it here.
4172
4173 Tue Mar 12 11:13:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
4174
4175 * Source/Additions/GSXML.m ([-isEqualTo:]): Renamed everywhere to
4176 isEqual:
4177
4178 Tue Mar 12 09:21:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
4179
4180 * Source/NSAssertionHandler.m
4181 ([-handleFailureInMethod:object:file:lineNumber:description:]): Log
4182 if the object is a class or an instance.
4183
4184 2002-03-12 Richard Frith-Macdonald <rfm@gnu.org>
4185
4186 * SSL/configure.in: Check GNUstep directories for headers and
4187 libraries as well as standard system directories.
4188
4189 Tue Mar 12 07:37:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
4190
4191 * Source/Additions/GSXML.m ([GSXMLNode -properties]): Fixed return
4192 type.
4193
4194 2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
4195
4196 * Headers/gnustep/base/NSInvocation.h:
4197 * Headers/gnustep/base/NSNumberFormatter.h:
4198 * Headers/gnustep/base/NSObject.h:
4199 Minor fixes to build with STRICT_OPENSTEP
4200 * Source/NSDistributedNotificationCentre.m: Attempt to start server
4201 automatically for other machines. Improve log messages.
4202
4203 Sat Mar 9 15:21:04 2002 Adam Fedor <fedor@yogi.doc.com>
4204
4205 * Source/NSDistributedNotificationCenter.m (-_connect): Move check
4206 for alternative name so we can get registered.
4207
4208 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4209
4210 * Source/NSDistributedNotificationCentre.m: Try alternative name for
4211 server if NSHost is specified ...in case it is running on another host.
4212
4213 Sat Mar 9 12:02:45 2002 Adam Fedor <fedor@yogi.doc.com>
4214
4215 * configure.in: Change constant string to FooConstantString
4216 * config/config.constant-string-class.m: Work with NeXT_RUNTIME
4217 (patch from Markus Hitter [mah@jump-ing.de]).
4218
4219 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
4220
4221 * Source/NSFileManager.m: Change copy so that, if the source argument
4222 is a symbolic link, we copy the link rather than the thing it points
4223 to.
4224 * Tools/gdnc.m: Quick hack to register port with other names is NSHost
4225 is used.
4226
4227 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4228
4229 * Source/Unicode.m: Added BIG5 encoding
4230 * Headers/Foundation/NSString.h: Added BIG5 encoding
4231 * Resources/Languages/Locale.aliases: added traditional chinese
4232 Extensions for traditional chinese requested by Yen-Ju Chen
4233
4234 2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
4235
4236 * Source/Additions/GNUmakefile: Include ../../base.make
4237 * SSL/GNUmakefile: Include ../base.make
4238 from the makefiles directory for builting standalone.
4239 * Source/Unicode.m: Added some standard string handling for iconv.
4240 * Source/NSString.m: ([-initWithData:encoding:]) return nil on
4241 failure to handle encoding.
4242 * Source/NSMapTable.m: NSMapInsert() fixed to conform to spec.
4243 * Source/NSHashTable.m: NSHashInsert() fixed to conform to spec.
4244 Reports by Alexander Malmberg
4245
4246 2002-03-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4247
4248 * Source/NSRunLoop.m ([NSRunLoop -acceptInputForMode:]):
4249 added a _checkPerformes: call to solve minor issue.
4250 (performers would only be called after an event was received)
4251 (credits to Alexander Malmberg)
4252
4253 2002-03-07 Richard Frith-Macdonald <rfm@gnu.org>
4254
4255 * SSL/Makefile.posramble: store config.h in system specific subdir.
4256 * SSL/Makefile.preamble: Include headers from Source directory
4257 so we pick up GSConfig.h
4258
4259 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4260
4261 * Source/autogsdoc.m: store and fetch dependency info in .igsdoc
4262 so we can parse the correct source files for each header when we
4263 need to.
4264
4265 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4266
4267 * Source/Additions/GNUmakefile: build subproject.
4268 * Source/Additions/Makefile.preamble: set include flags.
4269 * Source/Additions/GSXML.m: moved implementation here.
4270 * Source/Additions/GSMime.m: moved implementation here.
4271 * Source/GNUmakefile: build subproject.
4272
4273 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4274
4275 * GNUmakefile: build SSL aggregate project
4276 * config.mak.in: Remove SSL info
4277 * configure.in: Remove SSL configuration
4278 * configure: Regenerate
4279 * SSL/GNUmakefile: Build SSL bundle
4280 * SSL/GSUnixSSLHandle.m: SSL bundle source from Source directory
4281 * SSL/Makefile.postamble: Build SSL bundle
4282 * SSL/Makefile.preamble: Build SSL bundle
4283 * SSL/config.h.in: Trivial config for SSL bundle
4284 * SSL/config.mak.in: SSL info for building bundle.
4285 * SSL/configure.in: Configuration for SSKL bundle.
4286 * Source/GNUmakefile: Don't build SSL bundle.
4287 * Source/GSUnixSSLHandle.m: Moved to SSL directory.
4288 * Source/Makefile.postamble: Don't build SSL bundle.
4289 * Source/Makefile.preamble: Don't build SSL bundle.
4290 Alterations to make the SSL bundle capable of standalone
4291 building - for use on systems where the base package has
4292 only been installed in binary form.
4293 Initial attempt!
4294
4295 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
4296
4297 * Source/GSAttributedString.m: Applied fix for left-over attributes
4298 at end of string. Patch supplied by Alexander Malmberg
4299 <alexander@malmberg.org>. Reformatting to conform to GNUstep
4300 standards, and optimisation by me.
4301
4302 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
4303
4304 * Tools/autogsdoc.m: Output gsdoc as UTF8 as we should.
4305 * Tools/AGSOutput.m: ditto.
4306
4307 2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
4308
4309 * Source/NSUser.m: When reading .GNUsteprc, if a per user version is
4310 not available, use the one in the configured system root directory.
4311
4312 2002-02-28 Adam Fedor <fedor@gnu.org>
4313
4314 * Headers/gnustep/base/objc-gnu2next.h: Add objc-runtime.h
4315 * Source/Makefile.preamble: Add ..DEPEND_UPON for all darwin versions.
4316
4317 * Source/NSPortCoder.m
4318 (-initWithReceivePort:sendPort:components:): Change cast to make
4319 MacOSX compiler happy.
4320
4321 2002-02-28 Richard Frith-Macdonald <rfm@gnu.org>
4322
4323 * Source/NSUser.m: rewrite user and defaults root code to standardise
4324 and to use .GNUsteprc configuration. Also permit forcing of fixed
4325 roots at compile time.
4326
4327 Thu Feb 28 16:46:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4328
4329 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Changed
4330 'Apps' to read 'Applications'.
4331
4332 2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4333
4334 * Source/GSString.m ([GSMutableString -substringWithRange:]):
4335 create a new string which size is the range length, not the original
4336 string's length.
4337
4338 2002-02-27 Richard Frith-Macdonald <rfm@gnu.org>
4339
4340 * Tools/gdomap.c: Removed obsolete code for shrinking data structures.
4341 Added memmove() for overlapped memory moves (Alexander Malmberg) and
4342 removed a couple of obsolete functions.
4343 * Source/GSValue.m: attempt to correct encoding.
4344 * Source/NSKeyValueCoding.m: Fix termination of method names with nuls
4345 from report by Manuel Guesdon.
4346 * Source/NSDictionary.m: Implement MacOS-X compatible KVC behavior.
4347 Include webobjects/eof extension, with warnings.
4348 * Headers/Foundation/NSProtocolChecker.h: Change deprecated import to
4349 include.
4350
4351 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4352
4353 * Tools/gdomap.c: Improve fetching interface info on mingw ...
4354 ignore non-internet interfaces.
4355 NB. The mingw winsock2.h header is buggy ... to work properly
4356 you need to change the size of a struct sockaddr field from
4357 sa_data[14] to sa_data[22]
4358
4359 Tue Feb 26 18:01:26 2002 Nicola Pero <nicola@brainstorm.co.uk>
4360
4361 * Source/NSBundle.m: Removed all _releasedBundles machinery.
4362 Removed custom implementation of -release. Retain a bundle after
4363 we load it. This fixes -bundleForClass: and simplifies
4364 considerably the code.
4365
4366 * Source/NSBundle.m: Whenever possible, use [self method] rather
4367 than [NSBundle method] to invoke a class method, for efficiency.
4368
4369 * Source/NSBundle.m (objc_executable_location): Compute directly
4370 from _executable_path - using mainBundle is unsafe.
4371
4372 Tue Feb 26 17:35:03 2002 Nicola Pero <nicola@brainstorm.co.uk>
4373
4374 * Source/NSBundle.m (_bundle_load_callback): Completely ignore
4375 categories. (Suggestion by Gerrit Van Dyk
4376 <GerritVD@decillion.net>).
4377
4378 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4379
4380 * Source/GSTemplateValue.m: Implement initialize method to set the
4381 version of concrete classes to be that of the abstract class which
4382 actually performs encoding/decoding ... should correct archiving.
4383 Problem reported by Gerrit Van Dyk
4384 * Tools/GSIndex.m: tidied a little
4385 * Tools/GSParser.m: mark when things are implemented.
4386 * Tools/GSOutput.m: warn about unimplemented items.
4387
4388 2002-02-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4389
4390 * Source/NSUnarchiver.m
4391 ([NSUnarchiver +classNameDecodedForArchiveClassName:]):
4392 ([NSUnarchiver -classNameDecodedForArchiveClassName:]):
4393 return nil if the class name is not present.
4394
4395 2002-02-26 Richard Frith-Macdonald <rfm@gnu.org>
4396
4397 * Source/GSTcpPort.m: Fixes to work on mingw.
4398 * Source/NSHost.m: Update for current winsock on mingw.
4399 * Source/NSPortNameServer.m: Update for current winsock on mingw.
4400 * Source/WindowsFileHandle.m: Fix to work for basic socket I/O.
4401 * Tools/gdomap.c: many changes ... several fixes to work on mingw
4402 rewrite some clumsy inefficient code, make variables and functions
4403 local. etc.
4404 * Source/NSUnarchiver.m: ([versionForClassName:]) return NSNotFound
4405 if the class name was not present.
4406
4407 Mon Feb 25 15:26:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
4408
4409 * Source/NSBundle.m ([-initWithPath:]): Return nil if the path
4410 can't be read. Fixed memory leak in case of nil argument.
4411 * Headers/gnustep/base/NSBundle.h: Documented some methods.
4412
4413 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4414
4415 * Source/GNUmakefile: Move xml and mime classes into an additional
4416 library, and make base library depend on it. EXPERIMENTAL.
4417 * Tools/gdomap.c: Try to get output working again after last changes.
4418 Add first attempt at MINGW support for getting network interface info.
4419 library, and make base library depend on it.
4420 EXPERIMENTAL - activate using 'make add=yes'
4421
4422 2002-02-25 Richard Frith-Macdonald <rfm@gnu.org>
4423
4424 * Source/NSObject.m: Rewrote key-value coding key manipulation to use
4425 a char array for speed. Moved functions for converting between object
4426 internals in scalar types and NSNumbers etc to NSObjCRuntime.m.
4427 Re-implemented path methods to fix incorrect implementation as pointed
4428 out by Manuel Guesdon.
4429 * Headers/Foundation/NSObjCRuntime.h: New functions from NSObject
4430 * Source/NSObjCRuntime.m: New functions from NSObject
4431 * Source/NSKeyValueCoding.m: Put key value coding methods here for
4432 clarity and ease of documentation.
4433
4434 2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
4435
4436 * Source/NSTask.m: Removed NSLogs() accidantally left in after
4437 debugging. Reported by Fred Kiefer.
4438 * Tools/gdomap.c: Use syslog for logging ... patch by Matthias Klose
4439 <doko@cs.tu-berlin.de> almost entirely rewritten to be portable.
4440 * configure.in: Minor additions for time header/functions
4441 * configure: regenerated
4442
4443 2002-02-23 Richard Frith-Macdonald <rfm@gnu.org>
4444
4445 * Headers/Foundation/NSObjCRuntime.h: Fix error in last change ...
4446 GSSelectorFromName() should not create a new selector while
4447 HSSelectorFromNameAndTypes() should.
4448
4449 2002-02-22 Alexander Malmberg <alexander@malmberg.org>
4450
4451 * Headers/gnustep/base/NSArray.h: insertion position api update.
4452 * Source/NSArray.m: insertion position api update.
4453 * Source/GSArray.m: insertion position api update.
4454 Make insertion position api consistent with sorting api.
4455
4456 2002-02-21 Richard Frith-Macdonald <rfm@gnu.org>
4457
4458 * Source/NSValue.m: Fixed bug in archiving NSValue objects ... was
4459 creating faulty archives which would crash on unarchiving.
4460 * Headers/Foundation/NSObjCRuntime.h: Made GS... function names more
4461 consistent with NeXT/Apple ones. Provide new ivar handling API.
4462 Don't crash when asked for a class which does not exist.
4463 * Source/NSObject.m: partial conversion to new runtime api.
4464 * Source/NSData.m: partial conversion to new runtime api. Don't
4465 raise an exception if a class we are deserializing does not exist.
4466 Just warn and return a nul class.
4467 * Source/NSArchiver.m: better clasname handling.
4468 * Source/NSUnarchiver.m: try to gracefully handle the case where an
4469 archive contains the name of a class we don't have linked in to our
4470 code.
4471 * Source/NSPortCoder.m: ditto.
4472
4473 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4474
4475 * Source/NSUser.m: locking erro fixed by Stephen brandon
4476
4477 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
4478
4479 * Headers/Foundation/NSInvocation.h: Remove _argframe ivar
4480 * Source/NSInvocation.m: Simplify by removing _argframe ivar and
4481 using _frame throughout to hold arguments. Fix checks for valid frame.
4482 * Source/callframe.m: Initialise newly created frame with zeros so
4483 that setting an object in an invocation should work when the
4484 invocation is retaining its contents.
4485 * configure.in: Disable ffi and warn about it.
4486 * configure: regenerated
4487 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) block until
4488 limit date even if no I/O is possible.
4489 * Source/NSUserDefaults.m: Patch by Alexander Malmberg to try all
4490 listed locales rather than giving up at first failure.
4491 * Headers/gnustep/base/GSUnion.h: Enclose types bitmask in brackets
4492 to avoid *all* types being included in the union! Should decrease
4493 memory footprint and increase speed of many classes.
4494 * Source/NSString.m: ([stringByStandardizingPath]) memory leak
4495 fixed and windows path check fixed ... patch by Michael Scheibler.
4496 Also commented/documented the method.
4497
4498 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4499
4500 * Source/NSUserDefaults.m: Removed some code that was doing nothing,
4501 and tidied a little.
4502
4503 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4504
4505 * Headers/Foundation/NSPathUtilities.h: GSDefaultsRootForUser()
4506 function added.
4507 * Source/NSUser.m: Many alterations to do with correcting the
4508 file paths used to use GNUSTEP_USER_ROOT, and to get them to
4509 vary nicely when GSSetUserName() is called. Added function
4510 GSDefaultsRootForUser() to get a defaults directory based on
4511 a new environment varibale, or use GNUSTEP_USER_ROOT.
4512 * Source/NSUserDefaults.m: Use GSDefaultsRootForUser()
4513 Fix a few bugs in setting up defaults database.
4514 Move defaults database to the Defaults subdirectory.
4515 * Source/Headers/GSIMap.h: Fix error in last commit.
4516
4517 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
4518
4519 * Source/NSString.m: ([stringByExpandingTildeInPath]) fix bug in
4520 handling ~username/... format.
4521 * Headers/Foundation/GSIMap.h: GSIMapCleanMap() rewrote to empty
4522 the map efficiently. Added an option to refrain from calling it
4523 when emptying a map that doesn't need keys and values releasing.
4524 * Source/GSAttributedString.m: don't clean maps on emptying.
4525 * Source/GSFFCallInvocation.m: ditto
4526 * Source/NSArchiver.m: ditto
4527 * Source/NSConnection.m: ditto
4528 * Source/NSObject.m: ditto
4529 * Source/NSPortCoder.m: ditto
4530 * Source/NSSerializer.m: ditto
4531 Changes inspired by Pierre-Tves Rivaille
4532
4533 2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
4534
4535 * Tools/AGSHtml.m: support for merging types and functions etc.
4536 * Tools/AGSIndex.m: ditto
4537 * Tools/AGSOutput.h: ditto
4538 * Tools/AGSOutput.m: ditto
4539 * Tools/autogsdoc.m: ditto
4540 Put stuff in place for merging info
4541 revert key-value coding changes.
4542 * Source/NSString.m: Fix bug in datausingEncoding:allowLossyConversion:
4543 pointed out by Stephen Brandon.
4544
4545 Mon Feb 11 15:11:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4546
4547 * Source/GSString.m (NSImmutableString): Implemented copy,
4548 copyWithZone:, mutableCopy, mutableCopyWithZone:, so that the
4549 string can be copied, and the copy no longer tracks the parent.
4550
4551 2002-02-10 Michael Hanni <mhanni@sprintmail.com>
4552
4553 * Source/NSObjCRuntime.m: changed NSAssert() to NSCAssert() from
4554 last change. Also added NSException.h include to make compile
4555 correctly and quietly.
4556
4557 2002-02-10 Manuel Guesdon <mguesdon@orange-concept.com>
4558
4559 * Source/NSObject.m: changes to enable derived object KeyValueCoding
4560 process chnages (EOGenericRecord for example).
4561 o added:
4562 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4563 _getValueForKey:selector:type:size:offset:
4564 _setValueForKey:object:selector:type:size:offset:
4565 _handleQueryWithUnboundKey:
4566 _handleTakeValue:forUnboundKey:
4567 o modified:
4568 storedValueForKey:
4569 takeStoredValue:forKey:
4570 valueForKey:
4571 takeValue:forKey:
4572 To use added method.
4573 * Source/NSObjCRuntime.m:
4574 o added NSAssert in GSGetInstanceVariable() and
4575 GSSetInstanceVariable()
4576 * Headers/gnustep/base/NSKeyValueCoding:
4577 o added:
4578 _infoForInstanceVariableNamed:retType:retSize:retOffset:
4579 _getValueForKey:selector:type:size:offset:
4580 _setValueForKey:object:selector:type:size:offset:
4581 _handleQueryWithUnboundKey:
4582 _handleTakeValue:forUnboundKey:
4583
4584 Sat Feb 9 01:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
4585
4586 * Source/NSBundle.m ([+bundleForTool:]): Removed. We switch to a
4587 better API, which is to have a tool use +mainBundle, in the same
4588 way as applications do, to retrieve the main resource bundle for
4589 itself.
4590 ([+mainBundle]): Modified to support tools as well as
4591 applications.
4592 * Headers/gnustep/base/NSBundle.h ([+bundleForTool:]): Removed.
4593
4594 2002-02-08 Richard Frith-Macdonald <rfm@gnu.org>
4595
4596 * Headers/Foundation/NSTask.h: New method -validatedLaunchPath to
4597 check that an executable exists at the specified path or any
4598 alternative version corresponding to host, OS, and library-combo
4599 directories. Returns the actual path to the binary.
4600 * Source/NSTask.m: Implemented new mathod and added autogsdoc
4601 comments.
4602 * Source/NSBundle.m: Cotrrected error in comments.
4603
4604 2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
4605
4606 * Headers/Foundation/NSString.m: Additioanl method -immutableProxy
4607 * Source/NSString.m: ditto
4608 * Source/GSString.m: New classes for immutable proxy, one generic
4609 version, and one efficient version for accessing the main GNUstep
4610 mutable striong objects.
4611 * Source/GSAttributedString: use immutable proxy.
4612 New code to provide a proxy for a mutable string which will provide
4613 read-only access to it.
4614
4615 2002-02-05 Richard Frith-Macdonald <rfm@gnu.org>
4616
4617 * Source/NSString.m: ([-rangeOfCharacterFromSet:options:range:])
4618 fix to return NSNotFound as location if character not present -
4619 bug reported by Nicola Pero.
4620
4621 2002-02-04 Richard Frith-Macdonald <rfm@gnu.org>
4622
4623 * Tools/gsdoc.m: loader() if entity id is missing, try to load url as
4624 a file.
4625 * Tools/AGSParser.m: Fixes for handling typedefs, constants, varibales
4626 and functions.
4627 * Tools/AGSOutput.[hm]: ditto
4628 * Tools/AGSHtml.m: ditto
4629 Preliminary support for C language added.
4630
4631 2002-02-03 Richard Frith-Macdonald <rfm@gnu.org>
4632
4633 * Source/GNUmakefile: use -WordMap flag with autogsdoc to cope with
4634 C-preprocessor constants that would otherwise confuse parsing.
4635 * Source/NSDictionary.m: Tidy to match interface.
4636 * Source/NSDistantObject.m: Tidy to match interface.
4637 * Source/NSPortCoder.m: Tidy to match interface.
4638 * Source/NSScanner.m: Tidy to match interface. Remove some illegal
4639 semicolons after method names.
4640 * Source/NSTimer.m: Tidy to match interface.
4641 * Tools/AGSParser.h: Handle word mappings.
4642 * Tools/AGSParser.m: Handle word mappings and deal with function
4643 attributes.
4644 * Tools/autogsdoc.m: Handle word mappings and make default logging
4645 less verbose.
4646
4647 2002-02-02 Richard Frith-Macdonald <rfm@gnu.org>
4648
4649 * Source/NSObject.m: Fix some maptable problems when using non-local
4650 reference counts.
4651 * Source/NSMapTable.m: Improve warning logging for dodgy practices.
4652 * Source/NSHashTable.m: ditto
4653 * Tools/AGSHtml.m: A couple of minor fixes for systems where the xml
4654 parser does not discard whitespace as it should.
4655
4656 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4657
4658 * Documentation/manual: New directory containing Objective-C and
4659 GNUstep-base programming manual/tutorial produced at Brainstorm.
4660 The intention was to produce a pretty complete manual and then
4661 release it, but we ran out of funding, so I'm releasing the work
4662 to date.
4663 * Source/NSObject.m: Go back to using local refcounts now that new
4664 map table code is thoroughly tested.
4665
4666 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4667
4668 * Source/Makefile.preamble: remove old GSI api support
4669 * Headers/Foundation/NSHashTable.h: ditto
4670 * Headers/Foundation/NSMapTable.h: ditto
4671
4672 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4673
4674 * Source/GSAttributedString.m: Move to assuming new GSI api.
4675 * Source/NSHashTable.m: ditto
4676 * Source/NSMapTable.m: ditto
4677 * Source/GSCountedSet.m: ditto
4678 * Source/GSDictionary.m: ditto
4679 * Source/GSFFCallInvocation.m: ditto
4680 * Source/NSArchiver.m: ditto
4681 * Source/NSConnection.m: ditto
4682 * Source/NSFileManager.m: ditto
4683 * Source/NSNotificationCenter.m: ditto
4684 * Source/NSObject.m: ditto
4685 * Source/NSPortCoder.m: ditto
4686 * Source/NSRunLoop.m: ditto
4687 * Source/NSSerializer.m: ditto
4688 * Source/NSUnarchiver.m: ditto
4689
4690 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
4691
4692 * Source/NSHashTable.m: Fixed bug intorduced by last change to add
4693 error checking!!
4694 * Source/GSAttributedString.m: Make new or old GSI stuff optional.
4695 * Source/GSCountedSet.m: ditto
4696 * Source/GSDictionary.m: ditto
4697 * Source/GSFFCallInvocation.m: ditto
4698 * Source/NSArchiver.m: ditto
4699 * Source/NSConnection.m: ditto
4700 * Source/NSFileManager.m: ditto
4701 * Source/NSNotificationCenter.m: ditto
4702 * Source/NSObject.m: ditto
4703 * Source/NSPortCoder.m: ditto
4704 * Source/NSRunLoop.m: ditto
4705 * Source/NSSerializer.m: ditto
4706 * Source/NSUnarchiver.m: ditto
4707 Interim phase ... version of source which should build with new or
4708 old GSIMap and GSIArray APIs at the defination of GSI_NEW
4709
4710 2002-01-31 Adam Fedor <fedor@gnu.org>
4711
4712 * Old/*: Removed (now at
4713 ftp://ftp.gnustep.org/pub/gnustep/old/gnustep-obsolete.tar.gz).
4714
4715 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4716
4717 * Source/NSMapTable.m:
4718 * Source/NSHashTable.m: Add checks for nul tables and either log
4719 warnings and be tolerant, or raise exceptions.
4720
4721 Thu Jan 31 15:35:21 2002 Nicola Pero <nicola@brainstorm.co.uk>
4722
4723 * Source/NSObject.m ([-doesNotRecognizeSelector:]): Modified
4724 exception message to print out if we are an instance or a class
4725 object. For example, no longer 'IvarProxy does not recognize
4726 initWithClass:' but rather 'IvarProxy(class) does not recognize
4727 initWithClass:'.
4728 ([-doesNotRecognize:]): Idem.
4729 ([-subclassResponsibility:]): Similar change.
4730 ([-shouldNotImplement:]): Similar change.
4731 ([-notImplemented:]): Similar change.
4732
4733 2002-01-31 Richard Frith-Macdonald <rfm@gnu.org>
4734
4735 * Headers/gnustep/base/GSIArray.h: Use array as parameter to macros.
4736 * Source/GSAttributedString.m: Update for GSIArray change.
4737 * Source/GSCountedSet.m: Update for GSIArray change.
4738 * Source/GSDictionary.m: Update for GSIArray change.
4739 * Source/GSFFCallInvocation.m: Update for GSIArray change.
4740 * Source/NSArchiver.m: Update for GSIArray change.
4741 * Source/NSConnection.m: Update for GSIArray change.
4742 * Source/NSFileManager.m: Update for GSIArray change.
4743 * Source/NSNotificationCenter.m: Update for GSIArray change.
4744 * Source/NSObject.m: Update for GSIArray change.
4745 * Source/NSPortCoder.m: Update for GSIArray change.
4746 * Source/NSRunLoop.m: Update for GSIArray change.
4747 * Source/NSSerializer.m: Update for GSIArray change.
4748 * Source/NSUnarchiver.m: Update for GSIArray change.
4749
4750 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4751
4752 * Headers/Foundation/NSRunLoop.h: Go back to new version.
4753 * Source/NSRunLoop.m: Back to new (hopefully bug-free) version ...
4754 fixed a fence-post error in examining descriptors. Enabled poll()
4755 support if the O/S supports it. Converted to use standard debug
4756 logging keyed on NSRunLoop. Fixed poll code to call any available
4757 event handler when an error occurs on a descriptor.
4758 * configure.in: Improve check for sa_len
4759
4760 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4761
4762 * Headers/gnustep/base/GSIMap.h: Fix bug cleaning table and add
4763 option to specify type of enumerator structure externally.
4764 * Headers/gnustep/base/NSHashTable.h: Modify to conform to MacOS-X
4765 documentation and to work with GSIMAP stuff.
4766 * Headers/gnustep/base/NSMapTable.h: ditto
4767 * Headers/gnustep/base/o_array.h: deleted
4768 * Headers/gnustep/base/o_cbs.h: deleted
4769 * Headers/gnustep/base/o_hash.h: deleted
4770 * Headers/gnustep/base/o_list.h: deleted
4771 * Headers/gnustep/base/o_map.h: deleted
4772 * Headers/gnustep/base/o_x_bas.h.in: deleted
4773 * Headers/gnustep/base/o_x_cbs.h.in: deleted
4774 * Source/GNUmakefile: Remove o_... rules
4775 * Source/GSTcpPort.m: Remove unused include file
4776 * Source/Makefile.postamble: remove o_... rules
4777 * Source/NSCallBacks.h: Remove o_... info
4778 * Source/NSCallBacks.m: remove o_... info
4779 * Source/NSHashTable.m: Rewrite to use GSIMAP
4780 * Source/NSMapTable.m: Rewrite to use GSIMAP
4781 * Source/NSObject.m: Use GSIMAP for reference counts.
4782 * Source/NSRunLoop.m: Fix function prototypes for map table callbacks.
4783 * Source/externs.m: Remove o_... stuff and tidy callbacks.
4784 * Source/o_array.m: deleted
4785 * Source/o_cbs.m: deleted
4786 * Source/o_cbs_char_p.m: deleted
4787 * Source/o_cbs_id.m: deleted
4788 * Source/o_cbs_int.m: deleted
4789 * Source/o_cbs_int_p.m: deleted
4790 * Source/o_cbs_void_p.m: deleted
4791 * Source/o_hash.m: deleted
4792 * Source/o_list.m: deleted
4793 * Source/o_map.m: deleted
4794 * Source/o_x_bas.m.in: deleted
4795 * Source/o_x_cbs.m.in: deleted
4796 Masses of changes to simplify codebase and standardise all maptable
4797 code. Hopefully, the new NSMapTable code now conforms to the spec.
4798
4799 2002-01-30 Richard Frith-Macdonald <rfm@gnu.org>
4800
4801 * Headers/Foundation/NSRunLoop.h: revert
4802 * Source/NSRunLoop.m: revert
4803 Revert to earlier version temporarily, while I try to track down
4804 an obscure bug causing problems with some DO applications.
4805
4806 Tue Jan 29 13:49:23 2002 Nicola Pero <nicola@brainstorm.co.uk>
4807
4808 * configure.in: Removed garbage left over - doubled message
4809 for objc thread flags checking.
4810 * configure: Regenerated.
4811
4812 Tue Jan 29 10:57:30 2002 Nicola Pero <nicola@brainstorm.co.uk>
4813
4814 * Makefile.postamble (configure): Rule removed. It was causing
4815 problems on systems without autoconf.
4816 (base.make, config.mak): Do not depend on configure.
4817
4818 2002-01-29 Richard Frith-Macdonald <rfm@gnu.org>
4819
4820 * Headers/Foundation/NSRunLoop.h: More updates to ivars.
4821 * Headers/Foundation/NSRunLoop.m: Completed re-entrancy fixes in
4822 (I hope) a reasonably efficient manner.
4823
4824 2002-01-28 Richard Frith-Macdonald <rfm@gnu.org>
4825
4826 * Headers/Foundation/NSRunLoop.h: Removed previously deprecated methods.
4827 Completely changed ivar layout.
4828 * Headers/Foundation/NSRunLoop.m: Removed previously deprecated methods.
4829 Completely changed ivar layout. Modified most methods to work with
4830 changed ivar layout. Now stores per-mode context information in a
4831 new GSRunLoopCtxt class - one instance for each mode used in each
4832 runloop instance. Rewrite select() and poll() based mechanisms
4833 using the new class - should hopefully be more efficient and fix
4834 minor and obscure problems with re-entrancy.
4835 ### WARNING ... radical change ... may be buggy ... WARNING ###
4836
4837 2002-01-23 Kaelin Colclasure <kaelin@acm.org>
4838
4839 * configure.in: Check for poll(2) system call and header file.
4840 * configure: Regenerated.
4841 * config.h.in: Regenerated.
4842 * Source/NSRunLoop.m ([-acceptInputForMode:beforeDate:]):
4843 Refactored to put all code specific to the select(2) system call
4844 into a separate method.
4845 ([-_pollInputForMode:withTimeout:]): New private method with two
4846 implementations. If HAVE_POLL is defined, the poll version is
4847 used. Otherwise, we fall back to select.
4848
4849 2002-01-25 Richard Frith-Macdonald <rfm@gnu.org>
4850
4851 * acconfig.h: Add HAVE_SA_LEN
4852 * configure.in: Check for sa_len in sockaddr in struct ifreq
4853 * configure: regenerate
4854 * Headers/gnustep/base/config.h.in: regenerate
4855 * Tools/gdomap.c: Add patch by Pete French <pete@twisted.org.uk>
4856 to handle variable length socket addresses ... modified to work
4857 with the rest of the world where we don't have such things.
4858
4859 2002-01-24 Richard Frith-Macdonald <rfm@gnu.org>
4860
4861 * Source/NSRunLoop.m: Correct returns from within exception handler.
4862 * Source/NSUserDefaults.m: use NSDefaultRunLoopMode.
4863 * Headers/gnustep/unicode/gsm0338.h: New character set mapping.
4864 * Source/Unicode.m: Add support for the GSM default alphabet.
4865 * Headers/gnustep/base/GSIMap.h: Add support for macros update when
4866 built with GSM_NEW defined (for use with NSMapTable in future).
4867 Various source files updated to use new GSI macros.
4868
4869 Mon Jan 21 17:08:42 2002 Nicola Pero <nicola@brainstorm.co.uk>
4870
4871 * Source/Makefile.postamble (after-uninstall): Removed GSConfig.h
4872 and mframe.h when uninstalling.
4873
4874 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4875
4876 * Source/NSRunLoop.m: Wrap code in exception handlers to reset current
4877 runloop mode if an exception occurs ... may remove this again if the
4878 performance is too bad.
4879 Use initialiser for NSTimer to avoid having to put timers into the
4880 autorelease pool.
4881 * Headers/Foundation/NSTimer.h: Expose GNUstep initialiser since
4882 OpenStep and MacOS-X don't have one.
4883
4884 Wed Jan 16 13:46:24 2002 Nicola Pero <nicola@brainstorm.co.uk>
4885
4886 Fixed dynamical loading of frameworks.
4887 * Source/NSBundle.m ([-_addFrameworkForClass:]): Fixed, should never
4888 be run during dynamical loading.
4889 * Source/NSBundle.m (_bundle_load_callback): Major simplification.
4890 Most code removed. Should run faster too.
4891 ([-load]): Do not DESTROY _bundle_load_callback's related
4892 variables.
4893
4894 Wed Jan 16 12:30:20 2002 Nicola Pero <nicola@brainstorm.co.uk>
4895
4896 * Source/NSBundle.m (_addFrameworkFromClass:): Fixed third argument
4897 of strncmp to be 12, not 12*sizeof(char).
4898
4899 2002-01-16 Richard Frith-Macdonald <rfm@gnu.org>
4900
4901 * Source/NSRunLoop.m: Modify to have a nil current mode if the loop
4902 is not running (MacOS-X compatibility) and documented the change
4903 for autogsdoc.
4904
4905 Tue Jan 15 02:53:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
4906
4907 * Source/Makefile.postamble (after-distclean): Always remove
4908 SSL.bundle, regardless of any flags.
4909
4910 2002-01-13 Richard Frith-Macdonald <rfm@gnu.org>
4911
4912 * Tools/AGSParser.m: Mostly implemented parsing of C declarations
4913 (function, typedef, constant and variable).
4914
4915 2002-01-11 Richard Frith-Macdonald <rfm@gnu.org>
4916
4917 * Headers/Foundation/NSArchiver.h: tidyups
4918 * Source/NSDictionary.m: tidyups
4919 * Tools/AGSParser.m: a couple of declaration parsing fixes added,
4920 along with quite a bit of debugging. Function declaration parsing
4921 not yet working.
4922
4923 2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
4924
4925 * Source/NSDistributedNotificationCentre.m: Use NSHost user default
4926 to determine which server to connect to.
4927 * Tools/AGSParser.m: Minor parsing fixes ... correct GS_EXPORT
4928
4929 Wed Jan 9 11:55:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
4930
4931 * configure.in: Call AC_CONFIG_AUX_DIR with
4932 $GNUSTEP_SYSTEM_ROOT/Makefiles arg so that gnustep-make's
4933 config.guess and config.sub are used.
4934 * configure: Regenerated.
4935 * config.guess: Removed.
4936 * config.sub: Removed.
4937 * install-sh: Removed.
4938 * mkinstalldirs: Removed.
4939 * Source/mframe/configure.in: Set AC_CONFIG_AUX_DIR to
4940 $GNUSTEP_SYSTEM_ROOT/Makefiles.
4941 * Source/mframe/configure: Regenerated.
4942 * Source/mframe/config.guess: Removed.
4943 * Source/mframe/config.sub: Removed.
4944
4945 Wed Jan 9 11:08:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
4946
4947 * config.guess: Updated to latest version.
4948 * config.sub: Idem.
4949
4950 2002-01-08 Richard Frith-Macdonald <rfm@gnu.org>
4951
4952 * Tools/AGSHtml.h:
4953 * Tools/AGSHtml.m:
4954 * Tools/AGSIndex.h:
4955 * Tools/AGSIndex.m:
4956 * Tools/AGSOutput.h:
4957 * Tools/AGSOutput.m:
4958 * Tools/AGSParser.h:
4959 * Tools/AGSParser.m:
4960 * Tools/autogsdoc.m:
4961 * Tools/gsdoc-0_6_7.dtd:
4962 Updated for several changes ...
4963 Support documentation of instance variables
4964 Index class and category method names identically
4965 Extend index to have a listing of methods by unit
4966 Extend index to have a listing of ivariablese by class
4967 Use new extensions to double speed of generation of method
4968 indexes for classes.
4969
4970 2002-01-07 Adam Fedor <fedor@gnu.org>
4971
4972 * Version: 1.1.0
4973 * Documentation/news.texi: Update
4974
4975 * Source/NSObject.m (GSGetValue): Add case for void return
4976 (suggestion from ml@sbuilders.com).
4977
4978 * Resources/Languages/Dutch: Change currency to Euro.
4979 * Resources/Languages/French: Likewise.
4980 * Resources/Languages/German: Likewise.
4981 * Resources/Languages/Italian: Likewise.
4982 * Old languages files renamed to *.Old
4983
4984 2002-01-07 Richard Frith-Macdonald <rfm@gnu.org>
4985
4986 * Tools/AGSHtml.m: Minor speedup.
4987 * Tools/AGSOutput.m: Put something in place of empty descriptions.
4988 * Tools/AGSParser.m: Rewrite handling of standards information to fix
4989 bug in NO_GNUSTEP handling.
4990 * Source/GNUmakefile: Don't document concrete number stuff ... not
4991 public.
4992
4993 Sun Jan 6 22:33:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
4994
4995 * Tools/HTMLLinker.m: Rewritten to fixup links by link name rather
4996 than link file. Can now be used to link HTML files generated by
4997 autogsdoc.
4998 * Tools/HTMLLinker.html: Updated for changes.
4999 * Tools/GNUmakefile: Install HTMLLinker.html.
5000
5001 2002-01-06 Richard Frith-Macdonald <rfm@gnu.org>
5002
5003 * Tools/autogsdoc.m: Minor bugfix ... any .h file processed should
5004 also be processed as a .gsdoc file to produce indexes and html.
5005 * Tools/AGSHtml.m: List *all* methods for a class in its method
5006 summary, even if they are in categories or are documented in
5007 other files.
5008
5009 2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
5010
5011 * Tools/autogsdoc.m: Simplify by removing SourceDirectory default.
5012 Change mechanism for handling multiple source files for one header
5013 (need capability to write dependency rules for make).
5014 * Tools/AGSParser.[hm]: Add mechanism to return list of source
5015 files on which a document depends.
5016 * Tools/gsdoc-0_6_7.dtd: Permit wider use of index element.
5017 * Tools/AGSHtml.m: ditto, and support indexing of category methods
5018 along with class methods.
5019 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Remove the SourceDirectory
5020 option ... now assumed to be the current directory for simplicity.
5021 * Source/Base.gsdoc: Add class and protocol indexes.
5022
5023 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5024
5025 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Fix to use
5026 -HeaderDirectory and -SourceDirectory to get docs to build again...
5027 hopefully with both sets of make rules.
5028
5029 Fri Jan 4 15:44:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5030
5031 * base.make.in (GNUSTEP_BASE_HAVE_LIBXML): Define.
5032 * Source/GNUmakefile (Base_AGSDOC_FLAGS): Do not use
5033 -HeaderDirectory.
5034 (Base_HEADER_FILES_DIR): Define.
5035 * Source/GNUmakefile: Include documentation.make only if doc=yes
5036 is passed on the command line.
5037 * Tools/GNUmakefile: Idem.
5038
5039 2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
5040
5041 * Tools/autogsdoc.m: Rearrange code somewhat and remove auto
5042 generation of index and 'up' links ... now requires an explicit
5043 -Up if you want one. Fix to support multiple source files parsed
5044 per interface file.
5045 * Tools/GNUmakefile: Add -Up for documentation generation
5046 * Source/GNUmakefile: ditto
5047
5048 Fri Jan 4 11:42:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
5049
5050 * Tools/HTMLLinker.m: Implemented -FixupAllLinks, -PathMappings,
5051 -PathMappingsFile options. Made -CheckLinks default to YES.
5052 Added support for specifying a directory as input or destination
5053 file, meaning all html files found in the directory. Never
5054 attempt to fixup links starting with mailto: or news: or without a
5055 filename, even if running with -FixupAllLinks YES.
5056 * Tools/HTMLLinker.html: New file.
5057
5058 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5059
5060 * Source/autogsdoc.m: Fixup bug in html relocation code ... was
5061 failing to adjust string length variable correctly.
5062
5063 2002-01-03 Adam Fedor <fedor@gnu.org>
5064
5065 * Headers/gnustep/base/NSString.h: Extern constant string class
5066 reference for Darwin added.
5067 * Source/GSString.m ([NXConstantString +initialize]): Setup constant
5068 string class reference variable for Darwin.
5069 * Source/NSObject.m: Don't put reference count and zone with object
5070 on Darwin.
5071 * Source/behavior.m (NeXT_RUNTIME/behavior_class_add_class): Use NeXT
5072 runtime functions. Pass only one method_list at a time.
5073 (NeXT_RUNTIME/behavior_class_add_methods): Only look at one
5074 method_list at a time.
5075 (NeXT_RUNTIME/search_for_method_in_list): Use NeXT runtime functions.
5076
5077 Thu Jan 3 19:38:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
5078
5079 * Tools/HTMLLinker.m: New tool.
5080 * Tools/GNUmakefile: Compile the new tool.
5081 * Tools/Makefile.preamble (ADDITIONAL_OBJCFLAGS): Use -Wall.
5082
5083 2002-01-03 Adam Fedor <fedor@gnu.org>
5084
5085 * Source/GSFFCallInvocation.m (gs_method_for_receiver_and_selector):
5086 Correct test for class.
5087
5088 * Source/GNUmakefile (AUTHORS): Remove target.
5089 * AUTHORS: Remove.
5090 * Admin/: Remove.
5091 * configure.bat: Likewise.
5092
5093 2002-01-03 Richard Frith-Macdonald <rfm@gnu.org>
5094
5095 * Header/Foundation/GSXML.h: Correction standards complience
5096 * Source/GSXML.m: A few documentation tidyups
5097 * Tools/autogsdoc.m: Some tidyups for improved performance
5098 and added code to relocate html documents.
5099 * Source/AGSIndex.[hm]: Minor API change to ease index handling,
5100 bugfix for class index generation.
5101 * Source/AGSHtml.m: Made index handling more consistent.
5102
5103 2002-01-02 Adam Fedor <fedor@gnu.org>
5104
5105 * configure.in: Show openssl as enabled by default in help. Check for
5106 more headers.
5107 * Source/NSTask.m: Move #includes to front, remove redundancies.
5108
5109 * Source/GSXML.m ([(non-libxml)GSXMLNode +forwardInvocation]):
5110 Implement.
5111
5112 * Documentation/GNUmakefile: Remove gnustep-base.texi
5113 * Documentation/install.texi: Update.
5114 * Documentation/news.texi: Likewise.
5115
5116 * Tools/autogsdoc.m (main): When no libxml, abort with a useful error
5117 message.
5118
5119 2002-01-02 Richard Frith-Macdonald <rfm@gnu.org>
5120
5121 * Source/GSXML.m: Tidied some methods and added autogsdoc comments.
5122 * Source/NSData.[hm]: implement ([-writeToURL:atomically:])
5123 * Source/GSXML.[hm]: Tidy document API to be more consistent
5124 with other classes. Add some autogsdoc comments.
5125 * Tools/AGSIndex.m: Bugfix in setting links to superclasses.
5126 * Tools/AGSOutput.m: Infinite recursion fix.
5127
5128 2002-01-01 Richard Frith-Macdonald <rfm@gnu.org>
5129
5130 * Source/GNUmakefile: Use new -Standards flag for autogsdoc
5131 * Tools/AGSparser.[hm]: New support for standards and some tidyups
5132 * Tools/AGSHtml.[hm]: Improved output and simplified a little.
5133 * Tools/autogsdoc.m: New Standards flag to turn on support for
5134 generation of standards complience notes in documentation.
5135
5136 Tue Jan 1 11:18:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
5137
5138 * Source/NSFileManager.m (custom_strdup): New inline function
5139 to simplify code. (append_file_to_path): Use it.
5140 ([NSDirectoryEnumerator -initWithDirectoryPath:
5141 recurseIntoSubdirectories:followSymlinks:justContents:]):
5142 Idem.
5143 ([NSDirectoryEnumerator -nextObject]): Fixed memory leak (Reported
5144 by Brian Alliet <brian@brian-web.com>).
5145
5146 2001-12-31 Richard Frith-Macdonald <rfm@gnu.org>
5147
5148 * Source/behavior.m: behavior_class_add_methods() bugfix to ensure
5149 that despatch table is updated properly.
5150 search_for_method_in_list() deleted ... use version in gnu runtime.
5151 * Source/NSUserDefaults.m: Removed use of distributed lock ... we
5152 use atomic writes to file, so we don't need it. Also restructured
5153 a little to reduce file accesses when synchronising. Also tidied
5154 comments a little for autogsdoc.
5155
5156 2001-12-29 Adam Fedor <fedor@gnu.org>
5157
5158 * Source/behavior.m (class_add_behavior): Add depreciated function
5159 back.
5160
5161 2001-12-27 Adam Fedor <fedor@gnu.org>
5162
5163 * Headers/gnustep/base/objc-gnu2next.h: Disable __builtin functions
5164 for GCC < 3.x (darwin).
5165
5166 * Headers/gnustep/base/behavior.h: New defs for darwin/NeXT. Remove
5167 depreciated function.
5168 * Source/GSSet.m (+initialize): Use new behavior function in place
5169 of depreciated one.
5170 * Source/behavior.m (behavior_class_add_class): On darwin, allow
5171 NXConstantString class to increase in size.
5172 (behavior_class_add_category): New/rewrite for darwin methodLists
5173 structure.
5174 (behavior_class_add_methods): Likewise.
5175 (search_for_method_in_list): Likewise.
5176
5177 * Source/NSObject.m: Move ALIGN definition outside of #if
5178 (NSDecrementExtraRefCountWasZero): Change NSAssert to NSCAssert.
5179
5180 * Source/mframe.m (method_types_get_first_argument): Use
5181 method_types_get_next_argument.
5182
5183 * Source/Makefile.preamble: Additional flags for darwin linking.
5184
5185 * Source/libgnustep-base.def: Updated for new/removed classes.
5186
5187 2001-12-26 Richard Frith-Macdonald <rfm@gnu.org>
5188
5189 * Tools/autogsdoc.m: Add options for better control of index file and
5190 turning off dependency checking (for slightly more efficient running
5191 under make). Also added flag to enable/disable html generation.
5192 * Tools/AGSHtml.m: Fix a few errors in achnors and links to document
5193 titles.
5194
5195 2001-12-22 Richard Frith-Macdonald <rfm@gnu.org>
5196
5197 * Tools/autogsdoc.m: Fix bug in handling args introduceed by last
5198 modification. Removed next and prev linkage at Nicolas suggestion.
5199
5200 2001-12-21 Richard Frith-Macdonald <rfm@gnu.org>
5201
5202 * Tools/autogsdoc.m: Simplify file processing and cleanup so that
5203 spurious linkage and indexing is not done when run on a single file.
5204
5205 Fri Dec 21 13:50:50 2001 Nicola Pero <nicola@brainstorm.co.uk>
5206
5207 * Source/NSBundle.m ([+bundleForLibrary:]): New method.
5208 ([+bundleForTool:]): New method.
5209 * Headers/gnustep/base/NSBundle.h: Declare them.
5210
5211 Fri Dec 21 11:48:49 2001 Nicola Pero <nicola@brainstorm.co.uk>
5212
5213 * NSTimeZones/Makefile.postamble (timezonedir, before-install):
5214 Unused targets removed.
5215
5216 2001-12-19 Richard Frith-Macdonald <rfm@gnu.org>
5217
5218 * Source/GSXML.m: Check validation status at parse completion.
5219 * Source/NSUserDefaults.m: Ensure flags are initialised.
5220 * Source/GSCompatibility.m: Set GNUstep DTD for propertyLists.
5221 * Tools/plist-0_9.dtd: GNUstep property list DTD.
5222 * Source/autogsdoc.m: Improve dependency checking ... only regenerate
5223 project index when necessary, thus avoiding some gsdoc file parsing.
5224
5225 Wed Dec 19 02:17:09 2001 Nicola Pero <n.pero@mi.flashnet.it>
5226
5227 * Source/NSThread.m (GSRegisterCurrentThread): Use @defs to
5228 access protected variables of NSThread otherwise GCC 3.1 refuses to
5229 compile it.
5230 (GSUnregisterCurrentThread): Idem.
5231
5232 Tue Dec 18 18:02:07 2001 Nicola Pero <n.pero@mi.flashnet.it>
5233
5234 * Source/NSObject.m ([+conformsToProtocol:]): Fixed - it was
5235 checking that the metaclass conforms to the protocol rather than
5236 the class, which was causing it to fail for protocols implemented
5237 in categories.
5238
5239 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5240
5241 Many source files modified to contain date, version, and title info.
5242 * Tools/AGSHtml.m: Fix 'standards' output. Implement date and version.
5243 * Tools/AGSOutput.m: Add 'standards' support for class, category,
5244 and protocol. Use new standards info from parser.
5245 * Tools/AGSParser.h: New method to set current standards.
5246 * Tools/AGSParser.m: Implement simplistic parsing of preprocessor
5247 conditionals to set current standards based on STRICT_MACOS_X,
5248 STRICT_OPENSTEP, and NO_GNUSTEP. The presence of <standards>
5249 markup in the comments still takes precedence over this mechanism.
5250
5251 2001-12-18 Richard Frith-Macdonald <rfm@gnu.org>
5252
5253 * Source/GSXML.m: Bugfixes in setting parse behavior ... now turns
5254 on validation properly.
5255 * Tools/gsdoc-0_6_7.dtd: added 'scope' to index element and
5256 added a 'title' type to list files in a project.
5257 * Tools/AGSHtml.h:
5258 * Tools/AGSHtml.m: Output tidyups and general format improvements.
5259 Add links to other documents in project. Add support for 'index'
5260 element with both file and project scope.
5261 * Tools/autogsdoc.m: Clean up a little and handle gsdoc files
5262 listed as source files better .... now looks for them in the
5263 source directory. Added automatic generation of an 'index' file
5264 for a project where the first source file listed in the project
5265 is not a gsdoc file.
5266
5267 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5268
5269 * Headers/gnustep/base/GSMime.h: Updates for autogsdoc
5270 * Headers/gnustep/base/GSXML.h: ditto
5271 * Headers/gnustep/base/NSArray.h: ditto
5272 * Headers/gnustep/base/NSAttributedString.h: ditto
5273 * Headers/gnustep/base/NSAutoreleasePool.h: ditto
5274 * Headers/gnustep/base/NSCalendarDate.h: ditto
5275 * Headers/gnustep/base/NSCharacterSet.h: ditto
5276 * Headers/gnustep/base/NSCoder.h: ditto
5277 * Headers/gnustep/base/NSConnection.h: ditto
5278 * Headers/gnustep/base/NSData.h: ditto
5279 * Headers/gnustep/base/NSDate.h: ditto
5280 * Headers/gnustep/base/NSDistantObject.h: ditto
5281 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto
5282 * Headers/gnustep/base/NSInvocation.h: ditto
5283 * Headers/gnustep/base/NSLock.h: ditto
5284 * Headers/gnustep/base/NSMethodSignature.h: ditto
5285 * Headers/gnustep/base/NSNotification.h: ditto
5286 * Headers/gnustep/base/NSObject.h: ditto
5287 * Headers/gnustep/base/NSProxy.h: ditto
5288 * Headers/gnustep/base/NSRunLoop.h: ditto
5289 * Headers/gnustep/base/NSSet.h: ditto
5290 * Headers/gnustep/base/NSTimeZone.h: ditto
5291 * Headers/gnustep/base/NSTimer.h: ditto
5292 * Headers/gnustep/base/NSURL.h: ditto
5293 * Headers/gnustep/base/NSUndoManager.h: ditto
5294 * Headers/gnustep/base/NSUserDefaults.h: ditto
5295 * Headers/gnustep/base/NSValue.h: ditto
5296 * Source/GSArray.m: ditto
5297 * Source/GSAttributedString.m: ditto
5298 * Source/GSCompatibility.m: ditto
5299 * Source/GSCountedSet.m: ditto
5300 * Source/GSDictionary.m: ditto
5301 * Source/GSFFCallInvocation.m: ditto
5302 * Source/GSFFIInvocation.m: ditto
5303 * Source/GSFormat.m: ditto
5304 * Source/GSHTTPURLHandle.m: ditto
5305 * Source/GSLocale.m: ditto
5306 * Source/GSMime.m: ditto
5307 * Source/GSSet.m: ditto
5308 * Source/GSString.m: ditto
5309 * Source/GSTcpPort.m: ditto
5310 * Source/GSUnixSSLHandle.m: ditto
5311 * Source/GSValue.m: ditto
5312 * Source/GSXML.m: ditto
5313 * Source/NSArchiver.m: ditto
5314 * Source/NSArray.m: ditto
5315 * Source/NSAssertionHandler.m: ditto
5316 * Source/NSAttributedString.m: ditto
5317 * Source/NSAutoreleasePool.m: ditto
5318 * Source/NSBitmapCharSet.m: ditto
5319 * Source/NSBundle.m: ditto
5320 * Source/NSCalendarDate.m: ditto
5321 * Source/NSCallBacks.m: ditto
5322 * Source/NSCharacterSet.m: ditto
5323 * Source/NSClassDescription.m: ditto
5324 * Source/NSCoder.m: ditto
5325 * Source/NSConnection.m: ditto
5326 * Source/NSCopyObject.m: ditto
5327 * Source/NSCountedSet.m: ditto
5328 * Source/NSData.m: ditto
5329 * Source/NSDate.m: ditto
5330 * Source/NSDateFormatter.m: ditto
5331 * Source/NSDebug.m: ditto
5332 * Source/NSDecimal.m: ditto
5333 * Source/NSDecimalNumber.m: ditto
5334 * Source/NSDictionary.m: ditto
5335 * Source/NSDistantObject.m: ditto
5336 * Source/NSDistributedLock.m: ditto
5337 * Source/NSDistributedNotificationCenter.m: ditto
5338 * Source/NSEnumerator.m: ditto
5339 * Source/NSException.m: ditto
5340 * Source/NSFileHandle.m: ditto
5341 * Source/NSFileManager.m: ditto
5342 * Source/NSFormatter.m: ditto
5343 * Source/NSGeometry.m: ditto
5344 * Source/NSHashTable.m: ditto
5345 * Source/NSHost.m: ditto
5346 * Source/NSInvocation.m: ditto
5347 * Source/NSLock.m: ditto
5348 * Source/NSLog.m: ditto
5349 * Source/NSMapTable.m: ditto
5350 * Source/NSMethodSignature.m: ditto
5351 * Source/NSNotification.m: ditto
5352 * Source/NSNotificationCenter.m: ditto
5353 * Source/NSNotificationQueue.m: ditto
5354 * Source/NSNull.m: ditto
5355 * Source/NSNumber.m: ditto
5356 * Source/NSNumberFormatter.m: ditto
5357 * Source/NSObjCRuntime.m: ditto
5358 * Source/NSPage.m: ditto
5359 * Source/NSPipe.m: ditto
5360 * Source/NSPort.m: ditto
5361 * Source/NSPortCoder.m: ditto
5362 * Source/NSPortMessage.m: ditto
5363 * Source/NSPortNameServer.m: ditto
5364 * Source/NSProcessInfo.m: ditto
5365 * Source/NSProtocolChecker.m: ditto
5366 * Source/NSProxy.m: ditto
5367 * Source/NSRange.m: ditto
5368 * Source/NSRunLoop.m: ditto
5369 * Source/NSScanner.m: ditto
5370 * Source/NSSerializer.m: ditto
5371 * Source/NSSet.m: ditto
5372 * Source/NSString.m: ditto
5373 * Source/NSTask.m: ditto
5374 * Source/NSThread.m: ditto
5375 * Source/NSTimeZone.m: ditto
5376 * Source/NSTimer.m: ditto
5377 * Source/NSURL.m: ditto
5378 * Source/NSURLHandle.m: ditto
5379 * Source/NSUnarchiver.m: ditto
5380 * Source/NSUndoManager.m: ditto
5381 * Source/NSUser.m: ditto
5382 * Source/NSUserDefaults.m: ditto
5383 * Source/NSValue.m: ditto
5384 * Source/NSZone.m: ditto
5385 * Source/Unicode.m: ditto
5386 * Source/UnixFileHandle.m: ditto
5387 * Source/WindowsFileHandle.m: ditto
5388 * Source/behavior.m: ditto
5389 * Source/callframe.m: ditto
5390 * Source/cifframe.m: ditto
5391 * Source/externs.m: ditto
5392 * Source/libgnustep-base-entry.m: ditto
5393 * Source/mframe.m: ditto
5394 * Source/o_array.m: ditto
5395 * Tools/AGSParser.m: ditto
5396 Ensure that initial comments in source code are sutogsdoc comments
5397 so copyright and author information will be used.
5398 Fix inconsistencies between arguments in headers and source files.
5399 Fix various bugs exposed by autogsdoc ... mostly cases where there
5400 is a semicolon after a method name in a method implementation
5401 (this is illegal, but the gcc compiler currently ignores it).
5402
5403 2001-12-17 Richard Frith-Macdonald <rfm@gnu.org>
5404
5405 * Tools/AGSHtml.m: Provide list of methods in each class.
5406 * Tools/AGSIndex.m: New method to list methods in a unit.
5407 * Tools/AGSIndex.h: New method to list methods in a unit.
5408 * Tools/AGSOutput.m: Support (name) syntax for specifying a protocol
5409 cross reference using [(name)-method]
5410 * Tools/autogsdoc.m: Improve documentation of method references.
5411 * Tools/AGSparser.m: Handle @class statements. Improve standardisation
5412 of the format of types.
5413
5414 2001-12-16 Richard Frith-Macdonald <rfm@gnu.org>
5415
5416 * Source/NSObject.m: Make initial comment an autogsdoc comment.
5417 * Tools/gsdoc-0_6_7.dtd: Fix protocol error reported by Adam
5418 * Tools/AGSHtml.h:
5419 * Tools/AGSHtml.m:
5420 * Tools/AGSIndex.h:
5421 * Tools/AGSIndex.m:
5422 * Tools/AGSOutput.h:
5423 * Tools/AGSOutput.m:
5424 * Tools/AGSParser.h:
5425 * Tools/AGSParser.m:
5426 * Tools/autogsdoc.m: Tidied initial comments to take advantage of
5427 new code to parse author and copyright details. Fixed several
5428 minor bugs in various parts of the software. Updated documentation.
5429
5430 2001-12-15 Fred Kiefer <FredKiefer@gmx.de>
5431
5432 * Tools/pl2link.m
5433 Better handling of MIME types.
5434
5435 2001-12-15 Richard Frith-Macdonald <rfm@gnu.org>
5436
5437 Many minor cleanups and bugfixes for autogsdoc. Alpha-test support
5438 for building base library documentation using autogsdoc ... lots of
5439 work remains to be done to improve the html output from autogsdoc
5440 and to add autogsdoc comments to the base library source code.
5441 * Tools/AGSIndex.h: improve merge control
5442 * Tools/AGSIndex.m: ditto
5443 * Tools/AGSHtml.h: new methods for cleaner indexing.
5444 * Tools/AGSHtml.m: ditto
5445 * Tools/AGSParser.m: minor bugfixes.
5446 Tools/GNUmakefile: Build autogsdoc documentation using autogsdoc.
5447 * Tools/autogsdoc.m: Fix minor dependency error. Fix for indexing
5448 where a version of the project being built is already installed.
5449 * Tools/gsdoc-0_6_7.dtd: Fix ivar support
5450 * Source/GSFFCallInvocation.m: minor debug output improvement.
5451 * Source/GNUmakefile: add basic instructions to build (but not install)
5452 documentation using autogsdoc. Don't want to install yet, as this is
5453 very much alpha-test stuff.
5454
5455 2001-12-13 Adam Fedor <fedor@gnu.org>
5456
5457 * Tools/pl2link.m: New file (from FredKiefer@gmx.de).
5458
5459 2001-12-12 Adam Fedor <fedor@gnu.org>
5460
5461 * Headers/gnustep/base/NSDebug.h: Include NSDebugLog functions
5462 when GSDIAGNOSE is defined.
5463
5464 2001-12-12 Richard Frith-Macdonald <rfm@gnu.org>
5465
5466 * Source/GSHTTPURLHandle.m: Remove GSHTPPropertyBodyKey ... make
5467 the ([writeData:]) method do nothing until the page is reloaded,
5468 so its behavior is consistent with ([writeProperty:forKey:]) and
5469 can be used in conjunction with background loading (ie all I/O
5470 is done during the load).
5471 * Source/NSURL.m: load resource data after setting it to force I/O
5472
5473 2001-12-11 Manuel Guesdon <mguesdon@orange-concept.com>
5474
5475 * Source/NSString.m: corrected bug in +stringByTrimmingSpaces
5476 (there was an exception when the string contains only spaces).
5477
5478 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5479
5480 * Documentation/gsdoc/NSDistantObjectRequest.gsdoc: note that the
5481 class does not exist (and why).
5482
5483 2001-12-08 Gregory Casamento <greg_casamento@yahoo.com>
5484 * Source/GNUmakefile added SSL_LIB_DIRS += -L$(GNUSTEP_OBJ_DIR)
5485 to prevent build from failing when building from scratch.
5486
5487 2001-12-08 Richard Frith-Macdonald <rfm@gnu.org>
5488
5489 * Source/NSAttributedString.m: ([initWithCoder:]) fix typo.
5490
5491 2001-12-07 Adam Fedor <fedor@gnu.org>
5492
5493 * Headers/gnustep/base/NSDebug.h: Add NSDebugLog functions
5494 when GSWARN is defined (not DEBUG).
5495
5496 2001-12-07 Richard Frith-Macdonald <rfm@gnu.org>
5497
5498 * Source/GSHTTPURLHandle.m: Understand GSHTPPropertyBodyKey so we
5499 can set data to be posted in background.
5500
5501 2001-12-06 Richard Frith-Macdonald <rfm@gnu.org>
5502
5503 * Source/GNUmakefile: Add library dependencies for SSL bundle ...
5504 it needs libobjc and libgnustep-base to be linked.
5505 * Source/NSFileHandle.m: Only try to load SSL bundle if asked for.
5506
5507 Mon Dec 5 16:32:31 2001 Adam Fedor <fedor@yogi.doc.com>
5508
5509 * Source/GSHTTPURLHandle.m: Include sys/fcntl.h for O_WRONLY, etc
5510 (on Solaris).
5511
5512 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5513
5514 * Source/GNUmakefile: Add flags for SSL and rules to build bundle
5515 * Source/GSHTTPURLHandle.m: use +sslClass
5516 * Source/GSUnixSSLHandle.m: Extract SSL support for bundle to this file.
5517 * Source/Makefile.preamble: Add flags for SSL
5518 * Source/NSFileHandle.m: Add +sslClass and automated loading of bundle
5519 * Source/UnixFileHandle.m: Remove SSL support.
5520 * Headers/gnustep/base/NSFileHandle.h: Add +sslClass
5521 * Headers/gnustep/base/UnixFileHandle.h: Tidy a little.
5522 * config.mak.in: Add variables needed by SSL bundle
5523 * configure.in: Update to build SSL bundle by default.
5524 * configure: regenerated
5525 The above changes made to move SSL support into a bundle and add a
5526 +sslClass to NSFileHandle to return the class from the bundle if it
5527 is available. Changed the http url handle support to use this.
5528
5529 2001-12-04 Richard Frith-Macdonald <rfm@gnu.org>
5530
5531 * Source/NSValue.m: polish last set of changes -
5532 Optimisation ... cut memory allocation/deallocation to a minimum.
5533 Versioning ... set NSValue version number and attempt to decode
5534 old format objects.
5535 Simplification ... remove redundant code in placeholder class.
5536 Fixes ... allocate new objects in correct memory zone, I think a few
5537 others I forgot.
5538 * Source/NSNumberFormatter.m (-initWithCoder:): Avoid unnecessary
5539 autorelease/retain sequences. (-init): Fix illegal re-initialisation
5540 of initialised values and avoid unnecessary use of autorelease.
5541
5542 2001-12-03 Laurent Julliard <laurent@moldus.org>
5543
5544 * Source/NSNumberFormatter.m (-initWithCoder:): decoded objects
5545 must be retained
5546
5547 2001-12-03 Richard Frith-Macdonald <rfm@gnu.org>
5548
5549 * Source/NSValue.m: Fix coding/decoding to use serialization code to
5550 maintain byte order and word size compatibility.
5551 * Source/GSValue.m: ditto
5552 * Testing/values.m: added encoding/decoding tests.
5553 * Source/GSMime.m: Tidied handling of continuations a little.
5554 * Source/GSHTTPURLHandle.m: Added some debug logging.
5555
5556 Sat Dec 1 10:11:18 2001 Nicola Pero <n.pero@mi.flashnet.it>
5557
5558 * Makefile.postamble (base.make): Depend on configure.
5559 (config.mak): Idem.
5560
5561 Sat Dec 1 09:29:43 2001 Nicola Pero <n.pero@mi.flashnet.it>
5562
5563 * Makefile.postamble (base.make): New target.
5564 (config.mak): New target.
5565
5566 2001-11-29 Richard Frith-Macdonald <rfm@gnu.org>
5567
5568 * Source/NSScanner.m: Fix memory leak when initialised with something
5569 other than a constant string.
5570
5571 2001-11-28 Adam Fedor <fedor@gnu.org>
5572
5573 * Documentation/gsdoc/Base.gsdoc: Add NSLanguages summary.
5574
5575 2001-11-27 Richard Frith-Macdonald <rfm@gnu.org>
5576
5577 * Source/NSConnection.m: Put a limit of around a second on how long
5578 the delay between polling for incoming packets can grow to ...
5579 improve response on heavily loaded systems.
5580 * Source/GSHTTPURLHandle.m: ditto
5581 * Tools/autogsdoc.m: Tidied structure a little and added file
5582 modification date checks to see whether files should be regenerated
5583 or not.
5584
5585 2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
5586
5587 * Headers/Foundation/NSURL.h
5588 Declare NSNumber, so that it compiles without complaining.
5589
5590 2001-11-23 Laurent Julliard <laurent@julliard-online.org>
5591
5592 * Source/NSNumberFormatter.m (-encodeWithCoder:, -initWithCode:):
5593 fixed buggy encoder and decoder and code cleanup.
5594
5595 2001-11-22 Laurent Julliard <Laurent.Julliard@xrce.xerox.com>
5596
5597 * Headers/gnustep/base/Foundation.h: Fixed NSNumberFormatter.h
5598 missing.
5599
5600 Thu Nov 22 00:52:57 2001 Nicola Pero <n.pero@mi.flashnet.it>
5601
5602 * GNUmakefile (CVS_MODULE_NAME): Define.
5603
5604 2001-11-21 Richard Frith-Macdonald <rfm@gnu.org>
5605
5606 * Tools/AGSOutput.m:
5607 * Tools/AGSOutput.h:
5608 * Tools/AGSIndex.h:
5609 * Tools/AGSIndex.m:
5610 * Tools/AGSParser.h:
5611 * Tools/AGSParser.m:
5612 * Tools/AGSHtml.h:
5613 * Tools/AGSHtml.m:
5614 * Tools/autogsdoc.m: Many bugfixes and enhancements ... generate
5615 html as well as gsdoc.
5616
5617 2001-11-19 Richard Frith-Macdonald <rfm@gnu.org>
5618
5619 * Source/GSXML.m: Implement NSCopying protocol for most classes.
5620
5621 2001-11-19 Adam Fedor <fedor@gnu.org>
5622
5623 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Fix
5624 typo.
5625
5626 * Tools/gdomap.c (nameServer): Print strerror before exiting for
5627 more helpful message.
5628
5629 2001-11-13 Richard Frith-Macdonald <rfm@gnu.org>
5630
5631 * Source/NSUser.m:
5632 * Headers/Foundation/NSUserDefaults.h:
5633 * Documentation/gsdoc/NSUserDefaults.gsdoc:
5634 * Source/NSUserDefaults.m: Changed the method name +resetUserDefaults
5635 to be +resetStandardUserDefaults for compatibility with MacOS-X, which
5636 has now implemented an equivalent for the GNUstep method.
5637 * Source/NSPortNameServer.m: When removing a port, remove from
5638 internal name tables even if gdomap reports no name to unregister.
5639 In ([-removePort:]) retain set of names for duration of operation -
5640 fix suggested by Gerrit Van Dyk
5641
5642 2001-11-12 Richard Frith-Macdonald <rfm@gnu.org>
5643
5644 * Source/NSNumber.m: describe char and unsigned char as numbers
5645 rather than ascii characters. Use g format for floats.
5646 Use 'true' and 'false' for boolean output ... for MacOS-X compatibility.
5647 * Source/NSConcreteNumber.m: ditto
5648 * Source/GSFormat.m: Fix bug in formatting short integers - was trying
5649 to treat them as full sized.
5650 * headers/Foundation/NSString.h: Fix error in initWithFormat:locale:,...
5651 * Source/NSString.m: ditto ... was missing varargs
5652 * Documentation/gsdoc/NSNumber.gsdoc: document changes.
5653 * Documentation/gsdoc/NSString.gsdoc: document changes.
5654 * Testing/values.m: Added some number output tests.
5655 * Source/NSUserDefaults.m: Locking bug fixed ... was locking before
5656 lock had been created.
5657 * Source/libgnustep-base.def: Removed defunct class
5658 * Source/NSHost.m: Support initialisation with an address for which
5659 there is no corrsponding host name.
5660
5661 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5662
5663 * Documentation/gsdoc/Base.gsdoc:
5664 * Source/GSCompatibility.m:
5665 * Source/GSMime.m:
5666 * Source/GSUserDefaults.h:
5667 * Source/NSArray.m:
5668 * Source/NSCalendarDate.m:
5669 * Source/NSDate.m:
5670 * Source/NSDecimalNumber.m:
5671 * Source/NSDictionary.m:
5672 * Source/NSFileHandle.m:
5673 * Source/NSGeometry.m:
5674 * Source/NSLog.m:
5675 * Source/NSScanner.m:
5676 * Source/NSString.m:
5677 * Source/NSUserDefaults.m: Modify user defaults usage to cache some
5678 defaults used internally and provide private accessors for speed.
5679 Add default to force logging to be done via syslog since logging
5680 to stderr within code called via JIGS from a servlet engine may
5681 cause severe problems if the servlet engine is using descriptor 2
5682 for other purposes.
5683
5684 2001-11-09 Richard Frith-Macdonald <rfm@gnu.org>
5685
5686 * Source/GSMime.m: modifications made to support HTTP continuation
5687 responses for buggy webservers which send them when they shouldn't.
5688
5689 2001-11-08 Richard Frith-Macdonald <rfm@gnu.org>
5690
5691 * Source/GSHTTPHURLHandle.m: handle writing of nil properties and
5692 use of empty strings as proxy settings. Minimise delays when
5693 tunneling SSL
5694 * Source/UnixFileHandle.m: Improve error logging with ssl.
5695
5696 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5697
5698 * Headers/foundation/NSUserDefaults.h: Add _lock ivar
5699 * Source/NSUserDefaults.m: initial attempt at thread-safety.
5700
5701 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5702
5703 * Headers/Foundation/NSString.h: removed stringByTrimming...Whitespace
5704 methods as they just duplicate the stringByTrimming...Spaces
5705 * Source/NSString.m: ditto
5706 Optimised the space trimming methods - avoid using character sets and
5707 creating unnecessary intermediary objects.
5708
5709 2001-11-07 Richard Frith-Macdonald <rfm@gnu.org>
5710
5711 * Source/NSUserDefaults.m: force defaults data to be read/write
5712 only to the user. Supplied by Ludovic Marcotte
5713
5714 Wed Nov 7 09:04:51 2001 Nicola Pero <n.pero@mi.flashnet.it>
5715
5716 After this change you need the latest gnustep-make to compile.
5717 * Source/Makefile.postamble: Removed rules to manually compile
5718 NSInvocation.m, NSConnection.m and mframe.m.
5719 (mframe.m_FILE_FILTER_OUT_FLAGS): Set to filter out optimization
5720 flags when compiling mframe.m.
5721 (NSConnection.m_FILE_FILTER_OUT_FLAGS): Idem.
5722 (NSInvocation.m_FILE_FILTER_OUT_FLAGS): Idem.
5723
5724 2001-11-01 Adam Fedor <fedor@gnu.org>
5725
5726 * Source/NSData.m: Add an include to avoid some warnings.
5727
5728 Tue Oct 30 14:33:48 2001 Nicola Pero <nicola@brainstorm.co.uk>
5729
5730 * Testing/benchmark.m (bench_object): Added test showing that a
5731 call to super in a category method - no matter if a class or an
5732 instance method - has the same big performance hit that a class
5733 method invocation has - at least with the current GNU runtime.
5734
5735 2001-10-28 Adam Fedor <fedor@gnu.org>
5736
5737 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5738 Make NSLog message into fprintf to avoid recursion.
5739
5740 * Source/NSUserDefaults.m (pathForUser): Create ~/GNUstep/Library
5741 if it doesn't exist.
5742
5743 2001-10-26 Adam Fedor <fedor@gnu.org>
5744
5745 * configure (z): Check for gzseek in zlib since older zlibs don't
5746 have it. Fix check for LLONG_MAX (check if includes exist), same
5747 with uintmax_t
5748 * Source/GSFormat.h: Include stdint.h or inttypes.h if we have it.
5749 Proper check for LONG_LONG_MAX or LLONG_MAX.
5750
5751 2001-10-25 Adam Fedor <fedor@gnu.org>
5752
5753 * aclocal.m4 (AC_SYS_PROCFS): Typo fix, use AC_ARG_ENABLE. Make
5754 sure cache var is set to no if disabled.
5755 (AC_SYS_PROCFS_EXE_LINK): Likewise.
5756
5757 * configure.in: Check for LLONG_MAX. Check for -lcipher.
5758 (Patch from chrisv@web4inc.com with modifications).
5759 * Source/GSFormat.m: If we have LLONG_MAX, define LONG_LONG_MAX
5760 to match.
5761 * Source/NSScanner.m: Likewise.
5762
5763 2001-10-24 Richard Frith-Macdonald <rfm@gnu.org>
5764
5765 * configure.in: Check for zlib
5766 * Headers/gnustep/base/GSConfig.h.in: Define HAVE_ZLIB
5767 * Headers/gnustep/base/NSFileHandle.h: Add useCompression extension
5768 * Headers/gnustep/base/UnixFileHandle.h: ditto
5769 * Source/UnixFileHandle.m: Add support for read/write with compression
5770 using zlib. Activate with -useCompression
5771
5772 2001-10-19 Richard Frith-Macdonald <rfm@gnu.org>
5773
5774 * Headers/Foundation/NSNumberFormatter.h: ivars aded and updated.
5775 * Source/NSNumberFormatter.m: implemented dealloc, copy, coding and
5776 all the ivar setting/getting methods.
5777
5778 2001-10-18 Richard Frith-Macdonald <rfm@gnu.org>
5779
5780 * Source/NSString.m: ([+stringWithCString:]) check for nul pointer.
5781
5782 2001-10-17 Adam Fedor <fedor@gnu.org>
5783
5784 * configure.in (GNUSTEP_LDIR): Look for libobjc in
5785 .../$LIBRARY_COMBO first.
5786
5787 2001-10-16 Adam Fedor <fedor@gnu.org>
5788
5789 * Source/GNUmakefile: Strip drive names from paths.
5790
5791 * Source/GSXML.m: Add dummy GSXMLParser when not using libxml.
5792 * Source/NSBundle.m (_absolutePathOfExecutable:): Check for
5793 'Path' variable also (for Windows).
5794 * Source/NSUser.m (GSStringFromWin32EnvironmentVariable): New
5795 function.
5796 (NSHomeDirectoryForUser): Use it.
5797 (setupPathNames): Prepend systemDrive to compiled in root
5798 paths.
5799 (patches from stephen@brandonitconsulting.co.uk).
5800
5801 * Source/NSFileManager.m (_attributesAtPath:traverseLink:forCopy:):
5802 On (sparc && DEBUG) disable the setgrent functions which cause gdb
5803 to crash.
5804
5805 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5806
5807 * Source/GNUmakefile:
5808 * Source/GSXML.m:
5809 * Headers/Foundation/GSXML.h: Build and install dummy version if
5810 libxml is not available.
5811 * Tools/GNUmakefile:
5812 * Tools/AGSIndex.h:
5813 * Tools/AGSIndex.m:
5814 * Tools/AGSOutput.h:
5815 * Tools/AGSOutput.m:
5816 * Tools/AGSParser.h:
5817 * Tools/AGSParser.m:
5818 * Tools/autogsdoc.m: Many bugfixes and additions, bew code to
5819 generate indexes.
5820
5821 2001-10-15 Richard Frith-Macdonald <rfm@gnu.org>
5822
5823 * Tools/AGSOutput.m: Added new 'unit' pseudo-markup to permit
5824 control over chapter layout for a chapter containing class,
5825 category, or protocol documentation.
5826
5827 2001-10-14 Fred Kiefer <FredKiefer@gmx.de>
5828
5829 * Source/Unicode.m:
5830 In iconv_cstrtoustr() and iconv_ustrtocstr() report if a iconv
5831 conversion cannot be found. Also added a type convert to the iconv
5832 call, so that the compiler wont report a type mismatch.
5833
5834 2001-10-13 Adam Fedor <fedor@gnu.org>
5835
5836 * Headers/gnustep/base/NSPathUtilities.h (GSSystemRootDirectory):
5837 New function.
5838 * Source/GNUmakefile: Define GNUSTEP_LOCAL_ROOT and
5839 GNUSTEP_NETWORK_ROOT paths on compile line.
5840 * Source/NSUser.m (setupPathNames): Use compiled in paths as backup
5841 if environment variables not found.
5842 (GSStandardPathPrefixes): Make sure a non-nil result is returned.
5843 (GSSystemRootDirectory). Implement.
5844 * Source/NSDistributedNotificationCenter.m (_connect): Use it to
5845 find gdnc.
5846 * Source/NSPortNameServer.m (initialize): Use it to find gdomap.
5847
5848 2001-10-13 Richard Frith-Macdonald <rfm@gnu.org>
5849
5850 * Source/GSFFCallInvocation.m: Change #import to #include
5851 * Source/NSProtocolChecker.m: Change #import to #include
5852 * Testing/containers.m: Change #import to #include
5853 * Tools/AGSOutput.h: Return string rather than writing to file
5854 * Tools/AGSOutput.m: Return string rather than writing to file
5855 * Tools/autogsdoc.m: Hnalde file writing.
5856 * Tools/plmerge.m: Change #import to #include
5857
5858 2001-10-11 Richard Frith-Macdonald <rfm@gnu.org>
5859
5860 * Tools/GNUmakefile: Addend new files.
5861 * Tools/AGSOutput.h: Support class for autogsdoc
5862 * Tools/AGSOutput.m: ditto
5863 * Tools/AGSParser.h: ditto
5864 * Tools/AGSParser.m: ditto
5865 * Tools/autogsdoc.m: New tool to generate gsdoc files from ObjC
5866 header and source files. Uses comments with a '/**' prefix
5867 (like javadoc) to provide nice information about classes and/or
5868 methods.
5869 This is very much an initial/alpha version but it is already
5870 quite useful.
5871
5872 2001-10-06 Richard Frith-Macdonald <rfm@gnu.org>
5873
5874 * Source/NSConnection.m: Increase default timeouts to max value.
5875 Improve algorithm for polling for messages when waiting for a reply
5876 in multithreaded mode ... use fibonacci sequence for delays rather
5877 than doubling each time.
5878 * Headers/Foundation/NSConnection.h: Remove default timeout constant.
5879 * configure.in: Check for float.h, not for values.h
5880 * Documentation/gsdoc/NSConnection.gsdoc: updated.
5881
5882 2001-10-05 Richard Frith-Macdonald <rfm@gnu.org>
5883
5884 * NSTimeZones/NSTimeZones.tar: Updated to latest info.
5885
5886 2001-10-02 Richard Frith-Macdonald <rfm@gnu.org>
5887
5888 * Source/NSLog.m: _NSLog_standard_printf_handler() modified to output
5889 message as UTF8 data if it can't be done as ASCII
5890
5891 2001-09-27 Richard Frith-Macdonald <rfm@gnu.org>
5892
5893 * Source/NSString: setupQuotables() ... add several characters to the
5894 set of those valid in an unquoted string ... so read back of NSNumber
5895 values encoded as strings works ... problem reported by Rene Cornilis.
5896
5897 2001-09-26 Richard Frith-Macdonald <rfm@gnu.org>
5898
5899 * Source/GNUmakefile: install DistributedObjects.h in gnustep/base
5900 rather than Foundation .... but it's an internal header - should
5901 it be installed at all?
5902
5903 2001-09-25 Adam Fedor <fedor@gnu.org>
5904
5905 * configure.in: Typo in saving CPPFLAGS during iconv test.
5906
5907 2001-09-21 Adam Fedor <fedor@gnu.org>
5908
5909 * configure.in: Typo in iconv cached value.
5910 * Headers/gnustep/base/NSGeometry.h: Make const values static also.
5911 * Source/NSConnection.m: Remove obsolete BROKEN_NESTED code.
5912 * Source/Unicode.m: Dynamically determine best Unicode encoding.
5913
5914 2001-09-21 Richard Frith-Macdonald <rfm@gnu.org>
5915
5916 * Headers/gnustep/base/DistributedObjects.h:
5917 * Source/GSFFCallInvocation.m:
5918 * Source/NSConnection.m:
5919 * Source/NSInvocation.m:
5920 * Source/callframe.h:
5921 * Source/callframe.m:
5922 Modifications to callframe handling to store pointers to data to
5923 be freed in order to be able to tidy up after an exception ...
5924 Appears to cure memory leak in ffcall code.
5925 No fix yest for mframe or ffi code.
5926
5927 2001-09-20 Richard Frith-Macdonald <rfm@gnu.org>
5928
5929 * Testing/nsconnection_client.m: Added simple exception tests
5930 * Testing/nsconnection_server.m: Added simple exception tests
5931 * Testing/server.h: Added simple exception tests
5932
5933 2001-09-19 Richard Frith-Macdonald <rfm@gnu.org>
5934
5935 * Source/NSConnection.m: rewrite ethod call code.
5936 * Source/callframe.h: ditto
5937 * Source/callframe.m: ditto
5938 * Source/cifframe.h: ditto
5939 * Source/cifframe.m: ditto
5940 * Source/mframe.m: ditto
5941 * Source/mframe/mframe.head: ditto
5942 * Headers/gnustep/base/DistributedObjects.h: Adde new DOContext struct.
5943 Rewrite code for moving data to/from method call stackframes and
5944 encoding/decoding it. The functions to encode/decode each data item
5945 are no longer nested, and pass a context structure around which
5946 provides for more information to be passed between the various layers
5947 of the process so that the whole thing is thread-safe and we don't
5948 get cases where code in one place tries to work with an object that
5949 was released in another place.
5950 Tested pretty extensively for libffcall stuff, with the simple test
5951 programs for maframe, and not at all for libffi.
5952
5953 2001-09-19 Adam Fedor <fedor@gnu.org>
5954
5955 * configure.in: Put CPPFLAGS in quotes
5956
5957 2001-09-14 Adam Fedor <fedor@gnu.org>
5958
5959 * configure.in: Remove redundancies in iconv checking. Remove
5960 redundant AC_SUBST(LIBS) lines.
5961
5962 2001-09-12 Adam Fedor <fedor@gnu.org>
5963
5964 * Source/thr-pthread.m (objc_yield): Replace pthread_yield with
5965 sched_yield.
5966
5967 2001-09-11 Adam Fedor <fedor@gnu.org>
5968
5969 * configure.in: Make sure to subst HAVE_PTHREAD_H into config.mak
5970
5971 2001-09-08 Richard Frith-Macdonald <rfm@gnu.org>
5972
5973 * Source/GSCompatibility.m: GSXMLPlMake() unused argument removed.
5974 * Source/NSData.m: Unused and commented out XML plist code removed.
5975 * Source/NSString.m: ditto
5976 * Source/NSArray.m: Generate XML plists only when writing to file
5977 or to URL, not for the -description... methods.
5978 This is what MacOS-X does.
5979 * Source/NSDictionary.m: ditto
5980
5981 2001-09-05 Adam Fedor <fedor@gnu.org>
5982
5983 * configure.in: Define BROKEN_NESTED_FUNCTIONS if compiler sucks.
5984 * Source/NSArray.m (-sortedArrayUsingSelector:): Remove nested
5985 function.
5986 ([NSMutableArray -sortUsingSelector:]): Likewise.
5987 * Source/NSConnection.m (-forwardForProxy:selector:argFrame:):
5988 Use external encode/decode functions if BROKEN_NESTED_FUNCTIONS.
5989 (-forwardInvocation:forProxy:): Likewise.
5990 (-_service_forwardForProxy:): Likewise.
5991 * Source/mframe.m (mframe_build_return_opts): Remove and
5992 consolidate nested functions.
5993 (mframe_handle_return): Likewise.
5994
5995 2001-08-31 Adam Fedor <fedor@gnu.org>
5996
5997 * Resources/French/Localizable.strings: Update (from
5998 Michael Scheibler <michael.scheibler@onevision.de>).
5999
6000 Fri Aug 31 11:58:42 2001 Nicola Pero <nicola@brainstorm.co.uk>
6001
6002 * Documentation/gsdoc/NSFunctions.gsdoc: Documented the
6003 localization functions/macros: NSLocalizedString,
6004 NSLocalizedStringFromTable, NSLocalizedStringFromTableInBundle,
6005 NSLocalizedStaticString, _ and __.
6006
6007 2001-08-30 Adam Fedor <fedor@gnu.org>
6008
6009 * Tools/sfparse.m: Add code to convert files to Unicode.
6010 * Resources/German/Localizable.strings: Convert to Unicode.
6011 * Resources/French/Localizable.strings: Likewise.
6012
6013 Thu Aug 30 20:03:19 2001 Nicola Pero <n.pero@mi.flashnet.it>
6014
6015 * Source/objc-load.m (objc_load_module): Reset the load callbacks
6016 to 0 when we abort loading the module because of an error
6017 (Reported by Michael Scheibler <michael.scheibler@onevision.de>).
6018
6019 Thu Aug 30 13:08:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
6020
6021 * Documentation/gsdoc/NSObject.gsdoc: Added description of the
6022 class; documented alloc, allocWithZone:, class, new, dealloc
6023 methods.
6024
6025 2001-08-29 Adam Fedor <fedor@gnu.org>
6026
6027 * Source/objc-gnu2next.m (next_objc_msg_send): Fix incorrect def.
6028
6029 Mon Aug 28 23:45:15 2001 Nicola Pero <n.pero@mi.flashnet.it>
6030
6031 * Source/NSCalendarDate.m ([+dateWithString:calendarFormat:]):
6032 Call alloc on self, rather than on the hardcoded NSCalendarDate
6033 class, so it works in subclasses.
6034 ([+dateWithString:calendarFormat:locale:]): Idem.
6035 ([+dateWithYear:month:day:hour:minute:second:timeZone:]): Idem.
6036
6037 2001-08-28 Georg Fleischmann <georg@vhf.de>
6038
6039 * base/Source/NSCalendarDate.m [NSCalendarDate
6040 descriptionWithCalendarFormat:locale:]: make milliseconds
6041 work (%F)
6042
6043 2001-08-28 Adam Fedor <fedor@gnu.org>
6044
6045 * Headers/gnustep/base/objc-gnu2next.h: More defs.
6046 * Source/NSObject.m (-methodSignatureForSelector:): Use sel_get_type.
6047
6048 * Source/mframe.m (method_types_get_first_argument): New function.
6049 (method_types_get_sizeof_arguments): Likewise.
6050 * Source/objc-gnu2next.m (next_objc_msg_sendv): Use them.
6051
6052 2001-08-21 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6053
6054 * Source/GSFFCallInvocation.m: Clearified comments
6055 (gs_method_for_receiver_and_selector) added
6056 (GSInvocationCallback): Check if forwardInvocation: is
6057 implemented to avoid infinite recursion bug.
6058
6059 Fri Aug 24 12:34:56 2001 Nicola Pero <nicola@brainstorm.co.uk>
6060
6061 * Source/NSUserDefaults.m ([-__createArgumentDictionary]): Make
6062 sure we don't crash trying to parse an argument as a property
6063 list.
6064
6065 Fri Aug 24 10:23:02 2001 Nicola Pero <nicola@brainstorm.co.uk>
6066
6067 * Resources/Italian.lproj/Localizable.strings: New file.
6068 * Resources/GNUmakefile (LANGUAGES): Added Italian.
6069
6070 2001-08-21 Adam Fedor <fedor@gnu.org>
6071
6072 * Resources/English.lproj/Localizable.strings: New file
6073 * Resources/German.lproj/Localizable.strings: Likewise.
6074 * Resources/French.lproj/Localizable.strings: Likewise.
6075 * Resources/GNUmakefile: Install them. (files from
6076 michael.scheibler@onevision.de)
6077
6078 * config/config.loadtest.m: Make Test inheret from Object
6079 (Darwin objc checks that classes implement forward::).
6080 * config/config.objc.m: Likewise.
6081
6082 2001-08-20 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6083
6084 * Documentation/gsdoc/ NSPipe.{gsdoc, html}: this class has been
6085 forgotten
6086 * Documentation/gsdoc/{Base, NSObject, NSPort}.{gsdoc, html}:
6087 updates to the links to show NSPipe
6088
6089 2001-08-16 Richard Frith-Macdonald <rfm@gnu.org>
6090
6091 * Tools/gsdoc.m: ([-initWithFileName:]) call xmlKeepBlanksDefault(0)
6092 to handle change in recent libxml whitespace handling.
6093
6094 2001-08-10 Richard Frith-Macdonald <rfm@gnu.org>
6095
6096 * Source/NSDistantObject.m: Tidy method lookup code.
6097 * Source/NSString.m: Handle nil content when parsing xml elements.
6098
6099 2001-08-06 Willem Rein Oudshoorn <wim@xs4all.nl>
6100
6101 * Source/GSFFCallInvocation.m: Forwarding:
6102 thread safe, handle missing typeinformation better,
6103 performance improvement.
6104 Minor tidyups by RFM
6105
6106 2001-08-06 Richard Frith-Macdonald <rfm@gnu.org>
6107
6108 * Source/GSMime.m: ([-decodeData:fromRange:intoData:withContext:])
6109 One line fix suggested by Stephen Brandon
6110 * Source/GSMime.m: ([-_decodeBody:]) fix parsing multipart documents
6111 as there was an error in the logic for testing to see if the sub docs
6112 had been parsed correctly.
6113
6114 2001-08-03 Adam Fedor <fedor@gnu.org>
6115
6116 * Source/NSObject.m: Don't decl __objc_responds_to on Darwin
6117 * Source/NSProxy.m: Likewise.
6118
6119 2001-08-03 Richard Frith-Macdonald <rfm@gnu.org>
6120
6121 * Headers/Foundation/Unicode.h: API Change
6122 * Source/Unicode.m: API Change ... remove old string conversion
6123 functions and replace with two functions, both of which differentiate
6124 between lengths of the source strings and sizes of destination buffers.
6125 * Source/NSString.m: Update for changes to Unicode.[hm]
6126 * Source/GSString.m: Update for changes to Unicode.[hm]
6127
6128 2001-08-02 Richard Frith-Macdonald <rfm@gnu.org>
6129
6130 * Source/NSPortNameServer.m: Log the host we are connecting to
6131 when we produce a warning for a failure of a link to gdomap.
6132 * Source/GSHTTPURLHandle.m: ([-propertyForKeyIfAvailable:]) return
6133 nil if the property is not available.
6134
6135 2001-08-01 Richard Frith-Macdonald <rfm@gnu.org>
6136
6137 * Documentation/gsdoc/Base.gsdoc: Documented all the uses of
6138 environment variables I could find.
6139 * Source/NSUserDefaults.m: __createArgumentDictionary ... handle
6140 property lists as arguments correctly.
6141 * Source/NSUser.m: Added GSTooldDirectory to listable paths.
6142
6143 2001-07-31 Richard Frith-Macdonald <rfm@gnu.org>
6144
6145 * Source/GSFFCallInvocation.m: attempt to guess type signature
6146 when compiler gives us an untyped selector.
6147 * Headers/Foundation/NSObject.h: ASSIGN(), ASSIGNCOPY(), minor
6148 reordering to make these macros thread-safe.
6149
6150 2001-07-30 Adam Fedor <fedor@gnu.org>
6151
6152 * Headers/gnustep/base/NSObjCRuntime.h: Export additional functions
6153 and variables for Windows DLLs.
6154 * Headers/gnustep/base/NSObject.h: Likewise.
6155 * Headers/gnustep/base/Unicode.h: Likewise.
6156
6157 * Headers/gnustep/base/preface.h.in: Define __WIN32__ ifndef on
6158 MINGW32.
6159
6160 * Testing/nsarray.m: Use NSCParameterAssert.
6161 * Testing/nsconnection.m: Cleanup for MinGW/Cygwin.
6162
6163 Sat Jul 21 23:25:14 2001 Wim Oudshoorn
6164 * Source/NSHost.m ([NSHost +hostWithName:]):
6165 Added forgotten argument to NSLog().
6166
6167 2001-07-19 Richard Frith-Macdonald <rfm@gnu.org>
6168
6169 * Source/UnixFileHandle.m: Don't abort aread/write attempts that
6170 fail on EAGAIN or EINTR ... retry them instead. Avoid unexpected
6171 exceptions when trying to write a large volume of data quicker
6172 then the output device can handle.
6173 * Source/WindowsFileHandle.m: ditto
6174
6175 2001-07-19 Adam Fedor <fedor@gnu.org>
6176
6177 * Documentation/readme.texi: Explain the license for GNUstep more
6178 clearly.
6179 * README: Regen.
6180
6181 Thu Jul 19 12:41:22 2001 Nicola Pero <nicola@brainstorm.co.uk>
6182
6183 * config/config.objc.m: New file.
6184 * configure.in: Added new test to check whether Objective-C really
6185 works. If it doesn't, abort immediately telling the user to fix
6186 their compiler installation first.
6187 (AC_CHECK_HEADERS): Don't check for libguile.h
6188 * configure: Regenerated.
6189
6190 2001-07-17 Richard Frith-Macdonald <rfm@gnu.org>
6191
6192 * Source/Unicode.m: Removed bogus tests for character zero in
6193 string conversion functions ... OpenStep strings are not nul
6194 terminated, so the code terminated conversions prematurely.
6195
6196 Tue Jul 17 15:00:52 2001 Nicola Pero <nicola@brainstorm.co.uk>
6197
6198 * Makefile.postamble (after-distclean): Depend on
6199 remove-header-links; do not remove links here.
6200 (remove-header-links): New target removing header links; different
6201 implementation on mingw32 and on non-migw32. Do not remove
6202 Source/Foundation.
6203 (.PHONY): Added, with header-links and remove-header-links.
6204
6205 2001-07-16 Adam Fedor <fedor@gnu.org>
6206
6207 * Headers/gnustep/base/objc-gnu2next.h: New definitions for sel
6208 functions, rearrange some things.
6209 * Headers/gnustep/base/objc-load.h: Change category type for
6210 compatibility with NeXT.
6211 * Source/objc-load.m: Likewise.
6212
6213 * Source/GSCompatibility.m (+defaultsChanged:): Typo in method name.
6214
6215 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6216
6217 * Source/NSString.m: Finish off and enable XML property list code
6218 * Source/GSCompatibility.m: ditto
6219
6220 2001-07-16 Adam Fedor <fedor@gnu.org>
6221
6222 * Source/NSUserDefaults.m ([NSUserDefaults +userLanguages]): Put
6223 MINGW languages in array (Fix from "Michael Scheibler"
6224 <michael.scheibler@onevision.de>).
6225
6226 2001-07-16 Richard Frith-Macdonald <rfm@gnu.org>
6227
6228 * Source/NSArray.m: Added ([writeToURL:atomically:]) for
6229 MacOS-X compatibility
6230 * Source/NSDictionary.m: ditto
6231
6232 2001-07-15 Richard Frith-Macdonald <rfm@gnu.org>
6233
6234 * Source/NSProcessInfo.m: Added -processIdentifier for compatibility
6235 with MacOS-X
6236 * Source/NSTask.m: Added -processIdentifier, -suspend, and -resume
6237 for compatibility with MacOS-X
6238 * Source/NSPortNameServer.m: Modified removal methods to return a
6239 boolean success/failure status for MacOS-X compatibility.
6240
6241 2001-07-14 Adam Fedor <fedor@gnu.org>
6242
6243 * Headers/gnustep/base/objc-gnu2next.h: More function defs.
6244 * Headers/gnustep/base/objc-load.h (objc_get_symbol_path): Correct
6245 def to match function decl.
6246 * Source/NSDistantObject.m (-selectorTypeForProxy:): Declare
6247 variable in NeXT implementation.
6248 * Source/NSInvocation.m (-invokeWithTarget:): Special def for NeXT.
6249 * Source/thr-pthread.m: Add forward decl of __objc_thread_detach.
6250
6251 2001-07-12 Richard Frith-Macdonald <rfm@gnu.org>
6252
6253 * Source/NSAttributedString.m: ([addAttributes:range:]) corrected
6254 bogus range check (report by Michael Scheibler)
6255 * Source/NSString.m: ([descriptionWithLocale:...]) as special case
6256 quote strings beginning with a slash ... property lists can
6257 otherwise confuse strings with leading slashes as comments.
6258
6259 2001-07-11 Adam Fedor <fedor@gnu.org>
6260
6261 * Source/objc-load.m: Include objc-load.h on NeXT systems.
6262
6263 2001-07-11 Richard Frith-Macdonald <rfm@gnu.org>
6264
6265 * Source/NSFileManager.m: ([fileSystemRepresentationWithPath:])
6266 MINGW fix contributed by Michael Scheibler
6267
6268 2001-07-10 Richard Frith-Macdonald <rfm@gnu.org>
6269
6270 * Source/NSUserDefaults.m: Update date/time designations to arrays
6271 * Source/NSDate.m: Update to use date/time designation arrays.
6272
6273 2001-07-09 Richard Frith-Macdonald <rfm@gnu.org>
6274
6275 * Source/objc-load.m: Remove bogus include of objc-load.h
6276 on non-NeXT systems.
6277
6278 2001-07-09 Adam Fedor <fedor@gnu.org>
6279
6280 * configure.in: Check for pthread.h - for compiling on Darwin.
6281 * Source/GNUmakefile: Compile thr-pthread.m conditionally.
6282 * Source/thr-pthread.m: New file.
6283
6284 * Source/null-load.h (__objc_dynamic_get_symbol_path): New def.
6285 * Source/objc-load.m: Use NeXT load methods on Darwin.
6286
6287 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6288
6289 * Source/NSUser.m: NSSearchPathForDirectoriesInDomains() Set up
6290 default values if environment variables are missing.
6291 Use common code for getting path prefixes and search directories.
6292
6293 2001-07-07 Richard Frith-Macdonald <rfm@gnu.org>
6294
6295 * Source/NSData.m: readContentsOfFile() hack added to permit reading
6296 of files like those in the /proc filesystem which don't support
6297 lengths.
6298 * Source/NSString.m: ([-initWithFormat:locale:]) use dummy local
6299 variable to try to get compilation to work on alpha ... untested
6300 as I don't have an alpha system.
6301
6302 2001-07-02 Richard Frith-Macdonald <rfm@gnu.org>
6303
6304 * Source/NSString.m: Never init nocopy with null pointer - increase
6305 chance of double initialisation being detected.
6306
6307 2001-06-27 Richard Frith-Macdonald <rfm@gnu.org>
6308
6309 * Source/callframe.m: callframe_do_call_opts(),
6310 callframe_build_return_opts() fixed memory leaks.
6311 Performance improvements -
6312 callframe_from_info() use a single malloc to allocate memory for
6313 the entire callframe. callframe_free() use a single free()
6314 * Source/NSConnection.m: Wait only 0.1 millisecond for first try
6315 checking for events ... CPUs are getting faster.
6316 * Source/NSTimer.m: Set minimum timer to 0.1 milliseconds ...
6317
6318 2001-06-26 Adam Fedor <fedor@gnu.org>
6319
6320 * Source/NSUserDefaults.m (+userLanguages): On MingW systems, check
6321 locale for language name.
6322
6323 2001-06-26 Richard Frith-Macdonald <rfm@gnu.org>
6324
6325 * Source/NSSerializer.m: While deserializing, check strings to see
6326 if they are really unicode, and create cStrings if they are not.
6327 Minor memory usage optimisation.
6328
6329 2001-06-21 Richard Frith-Macdonald <rfm@gnu.org>
6330
6331 * Source/NSConnection.m: Change some deprecated runloop methods for
6332 standard ones.
6333 * Source/NSRunLoop.m: ([runMode:beforeDate:]) Check for task
6334 completion and send out notifications if required.
6335 * Source/NSTask.m: ([waitUntilExit]) schedule a timer so that the
6336 run loop waits rather than polling as fast as the CPU allows.
6337
6338 2001-06-20 Richard Frith-Macdonald <rfm@gnu.org>
6339
6340 * Source/NSTask.m: handleSignal() ... reset signal handler for
6341 systems that don't have BSD signal semantics.
6342 Report by jan trembulak
6343 * Source/GSString.m: getCString_c(), getCString_u() reverse logic
6344 of returning remaining range ... report by Michael Scheibler
6345
6346 2001-06-15 Adam Fedor <fedor@gnu.org>
6347
6348 * Version: 1.0.2
6349
6350 2001-06-15 Richard Frith-Macdonald <rfm@gnu.org>
6351
6352 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6353 Check for illegal paths as specified in the MacOS-X documentation.
6354 * Source/Makefile.postamble: Update to rebuild files for XML and SSL
6355 support when config.h changes.
6356
6357 2001-06-14 Richard Frith-Macdonald <rfm@gnu.org>
6358
6359 * Source/NSuserDefaults.m: Fix +resetUserDefaults to retain the
6360 NSRegistrationDomain information ... was losing it when this method
6361 was called in response to the user name being initially set.
6362 ([-registerDefaults:]) fix for when no dictionary found.
6363 Use NSLanguages rather than Languages as key for the languages list.
6364 * Source/NSUser.m: GSSetUserName() ... only reset the user defaults
6365 if the name is actually changed - and not if it is being initialised.
6366 When standardUserDefaults are first obtained, the user name should be
6367 initialised as part of that process anyway.
6368 * Source/NSFileManager.m: ([-removeFileAtpath:handler:])
6369 Fix this method so it *doesn't* follow symbolic links.
6370 This makes it conform to the documentation and prevents
6371 accidental removal of entire directory hierarchies!
6372
6373 Wed Jun 13 19:43:16 2001 Nicola Pero <n.pero@mi.flashnet.it>
6374
6375 * Source/NSFileManager.m
6376 ([-createSymbolicLinkAtPath:pathContent:]): Fixed - the call to
6377 symlink was using old path instead of new path and viceversa.
6378
6379 2001-06-12 Adam Fedor <fedor@gnu.org>
6380
6381 * Documentation/news.texi: Update
6382
6383 * Documentation/gsdoc/NSArray.gsdoc: Updates (from
6384 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>).
6385
6386 2001-06-11 Adam Fedor <fedor@gnu.org>
6387
6388 * configure.in (enable-openssl): New option, disabled by default.
6389 * Documentation/install.texi: document it.
6390
6391 2001-06-09 Adam Fedor <fedor@gnu.org>
6392
6393 * Source/externs.m: Change definition of exception strings and some
6394 functions to match headers.
6395
6396 2001-06-09 Richard Frith-Macdonald <rfm@gnu.org>
6397
6398 * Source/NSString.m: parseQuotedString() ... fix for parsing octal
6399 and hex escape sequences.
6400
6401 2001-06-09 Nicola Pero <n.pero@mi.flashnet.it>
6402
6403 * configure.in (VERSION): Output a message saying that we are
6404 checking for the version, and which version we find.
6405
6406 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6407
6408 * Source/NSConnection.m: Control caching of port coders by a simple
6409 boolean, and disable it by default.
6410
6411 2001-06-07 Adam Fedor <fedor@gnu.org>
6412
6413 * aclocal.m4: Add special case for cygwin in CON_AUTOLOAD.
6414
6415 2001-06-07 Richard Frith-Macdonald <rfm@gnu.org>
6416
6417 * Source/GSAttributedString.m: When caching attribute dictionaries
6418 we make an immutable copy of the dictionary with shallow copy.
6419
6420 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6421
6422 Configuration part of constant string support with gcc-3.0
6423 * config/config.constant-string-class.m: New config test.
6424 * configure.in: Added test for -fconstant-string-class option in
6425 compiler, by compiling and running config.constant-string-class.m.
6426 Output different NX_CONST_STRING_CLASS and
6427 NX_CONST_STRING_CPPFLAGS depending on results of this test.
6428 * base.make.in (CONFIG_SYSTEM_INCL): Added
6429 NX_CONST_STRING_CPPFLAGS.
6430 * Headers/gnustep/base/GSConfig.h.in: Renamed NXCONST to
6431 NX_CONST_STRING_CLASS.
6432 * configure: Updated.
6433
6434 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6435
6436 * Source/NSScanner.m: ([scanHexInt:]) fix for scanning number
6437 consisting just of a zero. Reported by Tom Koelman
6438
6439 2001-06-06 Richard Frith-Macdonald <rfm@gnu.org>
6440
6441 Changes for constant string support with gcc-3.0
6442 * configure.in: Just substitute NXCONST
6443 * Headers/gnustep/base/GSConfig.h.in: Use NXCONST to redefine
6444 NXConstantString
6445 * Headers/gnustep/base/NSString.h: new constantStringClass method.
6446 * Source/GSString.m: new constantStringClass method.
6447 * Source/NSObject.m: Use NSConstantStringClass.
6448 * Source/NSScanner.m: Use NSConstantStringClass.
6449 * Source/NSString.m: implement constantStringClass method.
6450
6451 2001-06-06 Nicola Pero <n.pero@mi.flashnet.it>
6452
6453 * Source/mframe.m: Reactivated inling nested functions after
6454 gcc 3.0 was fixed to compile them again.
6455
6456 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6457
6458 * GNUmakefile: If GNUSTEP_MAKEFILES is not set, tell the user it
6459 needs to source GNUstep.sh and then exit with an error.
6460
6461 2001-06-05 Nicola Pero <n.pero@mi.flashnet.it>
6462
6463 * Source/mframe.m: Disabled inlining of nested functions. This
6464 should allow gnustep-base to be compiled using gcc 3.0.
6465
6466 2001-06-05 Richard Frith-Macdonald <rfm@gnu.uk>
6467
6468 * Source/GSString.m: ([replaceCharactersInRange:withString:])
6469 Fix error appending unicode string to C string.
6470
6471 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6472
6473 * Source/NSString.m: Patch by David Relson applied
6474
6475 2001-06-01 Richard Frith-Macdonald <rfm@gnu.uk>
6476
6477 Optimisations suggested by Guenther Fuerthaller
6478 * Source/NSZone.m: NSZonefromPointer() check for empty zones
6479 list before locking.
6480 * Source/NSData.m: more efficient dealloc implementation for
6481 NSMutableDataMalloc.
6482
6483 2001-06-01 Nicola Pero <nicola@brainstorm.co.uk>
6484
6485 * Source/NSCalendarDate.m
6486 ([-descriptionWithCalendarFormat:locale:]): Fixed %w (day of the
6487 week) to output a single digit number rather than a two digit one.
6488
6489 2001-05-31 Adam Fedor <fedor@gnu.org>
6490
6491 * Headers/gnustep/base/NSObjCRuntime.h (GSLastErrorStr): Define new
6492 OS-independant strerror like function.
6493 * Source/GSFormat.m: Use it.
6494 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDistributedLock.m,
6495 Source/NSFileManager.m, Source/NSPipe.m, Source/NSRunLoop.m,
6496 Source/NSTask.m, Source/UnixFileHandle.m, Source/WindowsFileHandle.m:
6497 Likewise.
6498 * Source/NSObjCRuntime.m (GSLastErrorStr): New function
6499 (suggestion from "Michael Scheibler" <michael.scheibler@onevision.de>).
6500
6501 * Headers/gnustep/base/behavior.h: Include objc-class.h on
6502 NeXT_RUNTIME.
6503 * Headers/gnustep/base/objc-gnu2next.h: New inline functions.
6504 * Source/NSDistantObject.m (-selectorTypeForProxy): Simplify
6505 NeXT_RUNTIME implementation.
6506
6507 2001-05-29 Adam Fedor <fedor@gnu.org>
6508
6509 * Version: 1.0.1
6510
6511 * Resources/Languages/Dutch: New file (from Dennis Leeuw
6512 <dleeuw@made-it.com>).
6513
6514 2001-05-28 Adam Fedor <fedor@gnu.org>
6515
6516 * Headers/gnustep/base/objc-gnu2next.h (class_is_class): New.
6517 * Source/NSAssertionHandler.m (-handleFailureInMethod...): Use
6518 OpenStep functions to get class/sel names.
6519 * Source/NSBundle.m (+initialize): NeXT_RUNTIME method to find
6520 classes.
6521
6522 2001-05-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6523
6524 * Source/NSDebug.m (_NSPrintForDebugger): new function to support print
6525 object (po) cmd of gdb.
6526
6527 2001-05-25 Adam Fedor <fedor@gnu.org>
6528
6529 * configure.in: Use -lobjc with NeXT_RUNTIME.
6530 * Headers/gnustep/base/behavior.h: Include objc.h on NeXT_RUNTIME.
6531
6532 * Source/GSFormat.m: Replace assert with NSCParameterAssert
6533
6534 2001-05-23 Adam Fedor <fedor@gnu.org>
6535
6536 * configure.in: Check for libgiconv
6537 * Unicode.m: Include giconv.h if available.
6538
6539 2001-05-22 Adam Fedor <fedor@gnu.org>
6540
6541 * configure.in: Check CPP handling of LONG_LONG_MAX
6542 * Source/GSFormat.m: Undef LONG_LONG_MAX if not handled
6543
6544 * Source/GSeq.h: Set static selectors to NULL.
6545 * Source/NSString.m (+initialize): Set selectors here instead.
6546 * Source/GSString.m (setup): ...And here.
6547
6548 2001-05-22 Richard Frith-Macdonald <rfm@gnu.org>
6549 * Headers/Foundation/NSSet.h: Added ([-setSet:])
6550 * Source/GSSet.m: Optimise ([-unionSet:])
6551 * Source/GSArray.m: Tidy NSWarnMLog macros.
6552 * Source/GSAttributedString.m: ditto
6553 * Source/GSCountedSet.m: ditto
6554 * Source/GSDictionary.m: ditto
6555 * Source/NSArray.m: ditto
6556 * Source/NSDictionary.m: ditto
6557 * Source/NSSet.m: Implement ([-setSet:])
6558
6559 2001-05-18 Richard Frith-Macdonald <rfm@gnu.org>
6560
6561 * Source/NSDate.m: check for nil dates in some init methods so
6562 we return nil on initialisation failure rather than raising an
6563 exception. I believe that init failures should deallocate their
6564 objects and return nil.
6565 * Source/NSArray.m: ([-initWithContentsOfFile:]) include filename in
6566 NSWarnMLog() message.
6567 * Source/NSDictionary.m: ([-initWithContentsOfFile:]) use NSWarnMLog
6568
6569 2001-05-14 Adam Fedor <fedor@gnu.org>
6570
6571 * Headers/gnustep/base/objc-gnu2next.h: Add apply_t prototype.
6572 * Source/objc-gnu2next.m: Include stdio.h.
6573 * Source/GSFormat.m: Don't compare LONG_LONG_MAX if not defined
6574
6575 2001-05-15 Richard Frith-Macdonald <rfm@gnu.org>
6576
6577 * Source/NSString.m: ([stringByDeletingPathExtension]) rewrite to
6578 conform to MacOS-X documentation.
6579 ([pathComponents]) ditto.
6580 * Headers/Foundation/NSInvocation.h: Added extra methods for
6581 setting an invocation to invoke super implementation of method.
6582 * Source/NSInvocation.m: Added extra methods for
6583 setting an invocation to invoke super implementation of method.
6584 * Source/GSFFCallInvocation.m: support invoke of super implementation.
6585
6586 2001-05-14 Adam Fedor <fedor@gnu.org>
6587
6588 * Headers/gnustep/base/objc-gnu2next.h: Add error prototypes.
6589 * Source/objc-gnu2next.m: Include preface.h, define error funcs.
6590
6591 2001-05-12 Richard Frith-Macdonald <rfm@gnu.org>
6592
6593 * Source/NSObject.m: Removed some unused obsolete code.
6594 * Source/NSProxy.m: Modified ([methodSignatureForSelector:]) and
6595 ([respondsToSelector:]) to work for existing methods and raise
6596 exception for non-existant methods. The MacOS-X docs says they raise
6597 exceptions, but I think it makes sense for them to work for methods
6598 that are actually implemented in the proxy.
6599
6600 2001-05-11 Adam Fedor <fedor@gnu.org>
6601
6602 * Source/NSArchiver.m ([NSArchiver -encodeValueOfObjCType:at:]): Use
6603 signed char to encode _C_CHR.
6604 * Source/NSPortCoder.m ([NSPortCoder -decodeValueOfObjCType:at:]):
6605 Be lenient about decoding [un]signed chars.
6606 * Source/NSUnarchiver.m: Likewise.
6607 * Source/GSTemplateValue.m (-encodeWithCoder:): Use signed char to
6608 encode/decode type info.
6609 * Source/GSValue.m: Likewise.
6610 * Source/NSConcreteNumber.m: Likewise.
6611 * Source/NSNumber.m: Likewise.
6612 * Source/NSValue.m: Likewise.
6613
6614 2001-05-10 Richard Frith-Macdonald <rfm@gnu.org>
6615
6616 * Source/NSConnection.m: Use respondsToSelector rather than respondsTo
6617 * Source/NSRunLoop.m: ditto ... and tidy up categories to avoid
6618 compiler warnings.
6619 * Source/NSAutoreleasePool.m: Add ([+freeCache]) method to clear out
6620 the cache of pools in the current thread.
6621 * Documentation/gsdoc/NSAutoreleasePool.gsdoc: basic class
6622 documentation inlcuding normal GNUstep extensions.
6623
6624 2001-05-08 Richard Frith-Macdonald <rfm@gnu.org>
6625
6626 * Tools/gdomap.c: Fixes to last modifications - provided by
6627 Chris B Vetter.
6628 * Source/NSString.m: Fix memory allocation of a unichar buffer to
6629 correct size.
6630 * Source/NSPipe.m: Log an error if we can't open a new pipe.
6631 * Source/NSTask.m: Slight tidyup
6632
6633 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6634
6635 * Source/NSObject.m (GSGetValue): Call handleQueryWithUnboundKey:
6636 rather than handleTakeValue:forUnboundKey: when no property
6637 binding is found.
6638
6639 2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>
6640
6641 * configure.in: Abort if GNUSTEP_SYSTEM_ROOT is empty, printing a
6642 message saying that you must run the GNUstep configuration script
6643 before configuring the base library.
6644 * configure: Regenerated.
6645
6646 2001-05-04 Adam Fedor <fedor@gnu.org>
6647
6648 * Headers/gnustep/base/objc-gnu2next.h: Add arglist_h def. Add
6649 encoding functions defs.
6650 * Source/mframe.m: Include stdio and ctype.
6651 * Source/mframe/mframe.foot (mframe_arg_addr): Use marg_getRef if
6652 NeXT_RUNTIME.
6653
6654 2001-05-04 Richard Frith-Macdonald <rfm@gnu.org>
6655
6656 * Source/NSDate.m: GSTimeNow() remove volatile typespec and move
6657 initialisation of interval in the hope of fixing a problem with
6658 float operations. In any case, the code is tidier.
6659 * Tools/gdomap.c: If started as root, try to become user nobody
6660 before resorting to uid -2 (like NFS).
6661
6662 2001-05-03 Adam Fedor <fedor@gnu.org>
6663
6664 * configure.in: Don't use -lobjc with NeXT_RUNTIME. Check for -lm.
6665
6666 * Headers/gnustep/base/objc-gnu2next.h: Add sel_register_name
6667 * Source/behavior.m: Add define hacks for Darwin.
6668
6669 2001-05-03 Richard Frith-Macdonald <rfm@gnu.org>
6670
6671 * Source/NSObject: ([+initialize]) Move GSSetLocale() after platform
6672 specific code with conditionally compiled variable declarations.
6673 Should make this work on BSD and MINGW again.
6674
6675 2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6676
6677 * Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
6678 code bug introduced by the call of GSSetLocaleC().
6679
6680 Wed May 2 13:19:13 2001 Nicola Pero <nicola@brainstorm.co.uk>
6681
6682 * Source/UnixFileHandle.m (id): Redefine `id' when including
6683 openssl header files to avoid syntax errors from 3.x serie gcc
6684 compilers.
6685
6686 2001-05-02 Richard Frith-Macdonald <rfm@gnu.org>
6687
6688 * Source/NSTimeZone: ([-initWithName:]) fix for trivial locking bug.
6689
6690 2001-04-30 Adam Fedor <fedor@gnu.org>
6691
6692 * Source/behavior.m: Rewrite to work with NeXT runtime.
6693 * Headers/gnustep/base/objc-gnu2next.h: Add some extra translations.
6694
6695 2001-04-30 Richard Frith-Macdonald <rfm@gnu.org>
6696
6697 * Source/NSString.m: parseQuotedString() handle \U escape sequences
6698 of eight digit hex encoded unicode values.
6699 ([descriptionWithLocale:indent:to@]) handle unicode strings by using
6700 \U escape sequences in output C string.
6701
6702 2001-04-28 Fred Kiefer <FredKiefer@gmx.de>
6703
6704 * Source/NSString.m:
6705 Corrected bug in last optimization for the parsing of property
6706 list. Now the bitmap representation is retained not the
6707 characterset itself. This did cause undeterministic problems when
6708 reading in the Info.plist.
6709
6710 2001-04-28 Richard Frith-Macdonald <rfm@gnu.org>
6711
6712 * Source/NSLog.m: Use RETAIN/RELEASE
6713 * Source/GSLocale.m: Set up NSDecimalSeparator and NSThousandsSeparator
6714 from locale if possible. Fix bug dereferencing nil pointer.
6715 * Source/GSFormat.m: Hack to rewrite output from sprintf of floats and
6716 doubles to use the value in NSDecimalSeparator.
6717
6718 2001-04-27 Nicola Pero <n.pero@mi.flashnet.it>
6719
6720 * Source/NSString.m: Minor optimization for parsing property
6721 lists: cache the bitmap representation of hexdigit, quotable and
6722 whitespace character sets, and use it directly to determine
6723 whether a character is member or not of these sets.
6724
6725 2001-04-26 Richard Frith-Macdonald <rfm@gnu.org>
6726
6727 * Source/NSString.m: ([+initialize]) protect with flag so it is safe
6728 to call this method more than once.
6729 * Source/externs.m: GSBuildStrings() call +initialize method for
6730 NSString to ensure that the class is properly initialised even if
6731 this function has been called from NSObjects +initialize, which was
6732 in turn called in preparation for NSString initialisation!
6733
6734 2001-04-25 Adam Fedor <fedor@gnu.org>
6735
6736 * configure.in: Much simplified NeXT checks. Just use LIBRARY_COMBO
6737 to check runtime.
6738 * Source/o_vscanf.c: Remove objc-gnu2next.h
6739
6740 2001-04-25 Richard Frith-Macdonald <rfm@gnu.org>
6741
6742 * Headers/Foundation/GSXML.h: Many changes to restore encapsulation
6743 of libxml previously broken by someone... Partly as a matter of
6744 good OO programming practice, partly so that the library can be
6745 used effectively from Java (via JIGS).
6746 Moved libxml header includes out of this file.
6747 Removed typedefs for libxml constants and changed 'type' methods
6748 to return 'int'.
6749 Added class methods for mapping between integer type values
6750 and constant string type values.
6751 Added a typeDescription method to GSXMLAttribute for consistency.
6752 * Source/GSXML.m: include required headers and update to implement
6753 changes in API. Also fixed bug in implementation of typeDescription
6754 method for GSXMLNamespace.
6755 * Documentation/gsdoc/GSXMLNode.gsdoc: Updated to reflect current API
6756 * Documentation/gsdoc/GSXMLNamespace.gsdoc: ditto
6757 * Documentation/gsdoc/GSXMLAttribute.gsdoc: ditto
6758
6759 2001-04-25 Nicola Pero <nicola@brainstorm.co.uk>
6760
6761 * base.make.in: (GNUSTEP_BASE_VERSION),
6762 (GNUSTEP_BASE_MAJOR_VERSION), (GNUSTEP_BASE_MINOR_VERSION),
6763 (GNUSTEP_BASE_SUBMINOR_VERSION): New variables providing the
6764 gnustep-base version.
6765
6766 2001-04-24 Adam Fedor <fedor@gnu.org>
6767
6768 * Headers/gnustep/base/objc-gnu2next.h: Remove TypedStream defs
6769
6770 2001-04-24 Richard Frith-Macdonald <rfm@gnu.org>
6771
6772 * Source/NSObject.m: Fixes for string capitalisation in
6773 key-value methods.
6774
6775 2001-04-23 Adam Fedor <fedor@gnu.org>
6776
6777 * configure.in: Simplify NeXT checks.
6778 * Headers/gnustep/base/NSLock.h: Fix NeXT_RUNTIME typo.
6779 * Headers/gnustep/base/objc-gnu2next.h: Change *_EXPORT to extern
6780 * Source/o_vscanf.c: include objc-gnu2next.h
6781 * Source/NSConnection.m: Fix test for NeXT_RUNTIME define.
6782 * Source/NSDistantObject.m: Likewise.
6783 * Source/callframe.m: Likewise.
6784 * Source/cifframe.m: Likewise.
6785 * Source/mframe.m: Likewise.
6786
6787 2001-04-24 Nicola Pero <n.pero@mi.flashnet.it>
6788
6789 * Testing/benchmark.m (bench_object): Use a choice of the 10 more
6790 used classes when benchmarking class method invocation, rather
6791 than always using `NSObject'. Added bench for NSClassFromString.
6792
6793 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6794
6795 * Source/GSValue.m ([-getValue:]): Fixed typo - was raising
6796 exception on non-NULL buffer rather than NULL.
6797
6798 2001-04-23 Nicola Pero <nicola@brainstorm.co.uk>
6799
6800 * Source/NSBundle.m ([+initialize]): Fixed segmentation fault when
6801 NSSearchPathForDirectoriesInDomains returns an empty array. This
6802 used to appear when GNUSTEP_SYSTEM_ROOT was unset.
6803 * Source/NSUser.m (NSSearchPathForDirectoriesInDomains): Read
6804 GNUSTEP_SYSTEM_ROOT, GNUSTEP_LOCAL_ROOT, GNUSTEP_NETWORK_ROOT and
6805 GNUSTEP_USER_ROOT only once, then cache them. Do not crash if
6806 some of them are nil. If GNUSTEP_SYSTEM_ROOT is nil, fprintf a
6807 log message, and try using /usr/GNUstep/System. Use new ADD_PATH
6808 macro to simplify code. Autorelease returned array which was
6809 previously leaked.
6810
6811 2001-04-22 Georg Fleischmann
6812
6813 * Source/GSAttributedString.m:
6814 ([replaceCharactersInRange:withString:])
6815 recalculate effective range after removing attributes.
6816
6817 2001-04-23 Richard Frith-Macdonald <rfm@gnu.org>
6818
6819 * Source/GSLocale.m: Only call setlocale() in GSSetLocaleC()
6820 * Source/NSObject.m: ([+initialize]) call GSSetLocaleC() after other
6821 initialisation, to try to ensure that locale stuff is set up early
6822 before any attempt is made to use locale dependent code.
6823 * Source/NSString.m: ([-stringByExpandingTildeInPath:]) fix suggested
6824 by David Wetzel.
6825 * Source/GSValue.m: Fix abort when initialising value with illegal
6826 type. Also fix all other uses of objc_sizeof_type(), add some checks
6827 to conform to documentation, and some optimisations.
6828
6829 2001-04-22 Nicola Pero <n.pero@mi.flashnet.it>
6830
6831 * Testing/benchmark.m: Modified messages to give a better idea of
6832 the order of magnitudes involved; added benchmarks for
6833 retain/release, autorelease/retain and locking/unlocking.
6834
6835 2001-04-21 Nicola Pero <n.pero@mi.flashnet.it>
6836
6837 * Source/NSString.m ([-fileSystemRepresentation]): Cache the
6838 default file manager.
6839
6840 2001-04-21 Richard Frith-Macdonald <rfm@gnu.org>
6841
6842 * config/config.proccmd.c: New test for behavior of /proc cmdline
6843 * acconfig.h: New CMDLINE_TERMINATED constant
6844 * configure.in: Use test to set CMDLINE_TERMINATED
6845 * configure: regenerated
6846 * Headers/Foundation/config.h.in: regenerated
6847 * Source/NSProcessInfo.m : ([+load]) modified to use CMDLINE_TERMINATED
6848 to decide how to use /proc/$$/cmdline when determining process args.
6849 Should now work 100% on all linux versions I hope.
6850
6851 2001-04-20 Richard Frith-Macdonald <rfm@gnu.org>
6852
6853 * Source/NSData.m ([NSMutableDataMalloc
6854 -replaceBytesInRange:withBytes:]): Check length, not capacity!
6855 Conform to documentation, and avoid possibility of 'hole' in data.
6856 * Source/NSInvocation.m: _get_arg() indirection fix suggested by
6857 Michael Scheibler.
6858
6859 2001-04-20 Nicola Pero <n.pero@mi.flashnet.it>
6860
6861 * Source/NSFileManager.m (NSDirectoryEnumerator): Rewritten to be
6862 faster. ([NSFileManager -directoryContentsAtPath:]),
6863 ([NSFileManager -subpathsAtPath:]): Use the new init method for
6864 NSDirectoryEnumerator. ([NSFileManager
6865 -contentsEqualAtPath:andPath:]): Spare some method calls.
6866 ([NSFileManager -fileSystemRepresentationWithPath:]): Cleaned
6867 preprocessor directives.
6868 * Headers/gnustep/base/NSFileManager.h (NSDirectoryEnumerator):
6869 Changed ivars in sync.
6870
6871 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6872
6873 * Documentation/gsdoc/NSFunctions.gsdoc: Documented
6874 GSDebugAllocation* functions.
6875 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Fixed syntax error.
6876 * Documentation/gsdoc/*.html: Regenerated.
6877
6878 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6879
6880 To help with debugging memory leaks, you can now ask to the
6881 library to track all allocated instances of a certain class.
6882 * Source/NSDebug.m (table_entry): Added fields to allow recording
6883 the list of allocated instances if required.
6884 (GSDebugAllocationActiveRecordingObjects): New function.
6885 (GSDebugAllocationAdd): Modified to take an additional argument -
6886 the object being allocated -, and to record it in the list of
6887 instances for the class if recording instances of that class has
6888 been activated.
6889 (GSDebugAllocationRemote): Add a similar additional argument;
6890 remove the object from the list of instances if recording
6891 instances is activated.
6892 (GSDebugAllocationListRecordedObjects): New function.
6893 * Source/NSObject.m: Updated all occurrences of
6894 GSDebugAllocationAdd and GSDebugAllocationRemove to pass the
6895 allocated/removed object as well.
6896 * Headers/gnustep/base/NSDebug.h: Updated.
6897
6898 2001-04-19 Nicola Pero <nicola@brainstorm.co.uk>
6899
6900 * Source/GSTcpPort.m ([GSTcpPort -dealloc]): Fixed memory leak:
6901 release address string.
6902
6903 2001-04-19 Richard Frith-Macdonald <rfm@gnu.org>
6904
6905 * Source/NSTask.m: Tidied code a little, added safety checks for
6906 usePseudoTerminal method.
6907 * Source/NSData.m: ([writeToFile:atomically:]) create new files
6908 with permission 0644 modified by umask.
6909 Init tmppath for MINGW.
6910 * Tools/gsdoc.m: Use memory management macros and attempt to get
6911 back to something like conformance with coding standards.
6912 * Documentation/gsdoc/NSTask.gsdoc: documentation fleshed out.
6913
6914 2001-04-16 Adam Fedor <fedor@gnu.org>
6915
6916 * aclocal.m4: Detect the xm2-config script.
6917
6918 2001-04-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
6919
6920 * configure.in: fixed fake main for 'new' FreeBSD targets.
6921
6922 2001-04-13 Adam Fedor <fedor@gnu.org>
6923
6924 * Source/GSFFCallInvocation.m (GSInvocationCallback): Generate
6925 an exception for an invalid selector.
6926
6927 2001-04-12 Adam Fedor <fedor@gnu.org>
6928
6929 * Headers/gnustep/base/NSObjCRuntime: Revert to using class_pointer.
6930 * Headers/gnustep/base/objc-gnu2next.h: Redefine class_pointer.
6931
6932 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6933
6934 * Source/NSProcessInfo.m ([load]): Fixed single line change somehow
6935 missed from last patch.
6936
6937 2001-04-12 Adam Fedor <fedor@gnu.org>
6938
6939 * Headers/gnustep/base/NSLock.h: Include thrmach.h if NeXT_RUNTIME.
6940 * Headers/gnustep/base/NSThread.h: Likewise.
6941 * Headers/gnustep/base/NSObjCRuntime: Include objc-gnu2next.h if
6942 NeXT_RUNTIME, use common objc functions for compatibility.
6943 * Headers/gnustep/base/objc-gnu2next.h: Update, simplify.
6944 * Headers/gnustep/base/thr-mach.h: New file
6945 * Source/thr-mach.m: New file
6946 * Source/GNUmakefile: Update to conditionally compile NeXT files
6947
6948 * Documentation/gsdoc/NSRecursiveLock.gsdoc: Update.
6949
6950 2001-04-12 Richard Frith-Macdonald <rfm@gnu.org>
6951
6952 * Source/NSString.m: For efficiency, use _DefaultStringEncoding
6953 throughout, rather than calling +defaultCStringEncoding. This is
6954 safe since the documentation explicitly states that the encoding
6955 cannot be changed programmatically ... so we don't have to worry
6956 about someone adding a category to change that.
6957 When converting data to/from strings, optimise to simple cString
6958 stuff if the specified encoding is the defautl encoding.
6959 Tidied some stuff to conform better to coding standards.
6960 * Source/Unicode.m GetDefEncoding(): prohibit UTF8 from being the
6961 default cString encoding ... the default cString encoding must
6962 consist of 7 or 8 bit characters, and must contain ASCII as a
6963 subset. We really should think of a generalised test for that.
6964 Use GetDefEncoding() throughout rather than defaultCStringEncoding.
6965 * Source/GSString.m: Use GetDefEncoding() to get c string encoding.
6966
6967 2001-04-11 Nicola Pero <nicola@brainstorm.co.uk>
6968
6969 * Source/NSString.m ([-initWithData:encoding:]): When working with
6970 a generic but non-unicode encoding, do not treat a single
6971 character string with no null terminator as an empty string. This
6972 should fix passing single character strings over DO.
6973 * Source/NSThread.m ([+registerCurrentThread]),
6974 ([+unregisterCurrentThread]): Removed.
6975
6976 2001-04-11 Richard Frith-Macdonald <rfm@gnu.org>
6977
6978 * Source/GSFFCallInvocation.m: bugfix encoding ... pass correct
6979 method type information so that the other end knows whether this
6980 is a oneway message or not. Corrects major memory leak.
6981 * Source/NSConnection.m: bugfix to handle situations where the
6982 other end sends a response and we are not expecting it. Also
6983 added various bits of debugging and ensured that all NSPortCoder
6984 objects are cached.
6985
6986 2001-04-10 Adam Fedor <fedor@gnu.org>
6987
6988 * Headers/gnustep/base/preface.h.in: Correct NeXT_RUNTIME name
6989
6990 * Documentation/gsdoc/NSLock.h: Documented.
6991
6992 2001-04-10 Richard Frith-Macdonald <rfm@gnu.org>
6993
6994 * Source/NSTask.m: Bugfix to send out task termination notification
6995 and clean up correctly when a task is killed by a signal rather than
6996 exiting cleanly.
6997
6998 2001-04-09 Adam Fedor <fedor@gnu.org>
6999
7000 * 1.0 branch merged into main.
7001
7002 2001-04-06 Nicola Pero <n.pero@mi.flashnet.it>
7003
7004 * Source/NSString.m (pathSepMember): Made trivial and inlined.
7005 ([-stringsByAppendingPaths:]): Count the array only once, not for
7006 any loop in the cycle.
7007
7008 2001-04-05 Richard Frith-Macdonald <rfm@gnu.org>
7009
7010 * Source/NSUser.m: NSTemporaryDirectory() rewrite for improved
7011 security and reliability. Expect MINGW update soon.
7012
7013 2001-04-02 Richard Frith-Macdonald <rfm@gnu.org>
7014
7015 * Source/NSUser.m: Tidied some stuff to conform to coding standards.
7016 Added FIXME where unsure of code. Tidied code to get name of user.
7017 * configure.in: Added checks for a few functions needed to get user.
7018
7019 2001-03-37 Jonathan Gapen <jagapen@home.com>
7020
7021 * Source/NSString.m: New private function to compute the scalar value
7022 of a high-low surrogate pair. New surrogate range class variables.
7023 Optimize ([-hasPrefix]) and ([-hasSuffix]) by using NSAnchoredSearch.
7024 Add UTF-8 code to ([-dataUsingEncoding:allowLossyConversion:]).
7025
7026 2001-03-26 Jonathan Gapen <jagapen@home.com>
7027
7028 * Source/Makefile.preamble: No need to define HAVE_LIBXML here.
7029 * Source/NSBundle.m: ([+initialize]) and ([+pathForGNUstepResource:
7030 ofType:inDirectory:]) now use NSSearchPathForDirectoriesInDomains()
7031 to find directories, rather than use env vars directly.
7032 * Source/NSCharacterSet.m: Ditto for ([_-bitmapForSet:]).
7033 * Source/NSDictionary.m: Make NSLog() include the filename
7034 in ([-initWithContentsOfFile:]).
7035 * Source/NSUser.m: Re-implement NSStandardApplicationPaths() and
7036 NSStandardLibraryPaths() with NSSearchPathsForDirectoriesInDomains().
7037 In latter function, support $GNUSTEP_SYSTEM_ROOT/Developer/Demos.
7038
7039 2001-03-21 Jonathan Gapen <jagapen@home.com>
7040
7041 * config/nextcc.m4, config/objc-con-autoload.m4, config/procfs.m4,
7042 config/objc-sys-dynamic.m4, config/procfs-exe-link.m4: Autoconf
7043 macros used by configure.in.
7044
7045 2001-04-08 Adam Fedor <fedor@gnu.org>
7046
7047 * Version: 1.0.0
7048 * NEWS: Regenerated.
7049
7050 * Source/NSLock.m (-tryLock): Return NO if our thread has
7051 already has the lock (like OpenStep).
7052 (-lockBeforeDate:): block until date if our thread already has
7053 the lock (like OpenStep).
7054
7055 * Source/NSData.m ([NSMutableDataMalloc
7056 -replaceBytesInRange:withBytes:]): Check capacity, not length.
7057
7058 2001-04-04 Adam Fedor <fedor@gnu.org>
7059
7060 * config.guess: Update to latest version
7061 * config.sub: Likewise.
7062
7063 2001-04-01 2001 Nicola Pero <n.pero@mi.flashnet.it>
7064
7065 * Source/GSValue.m ([-description]): Bug fix - was crashing upon
7066 using %@ instead of %s for a char *.
7067
7068 2001-03-31 Adam Fedor <fedor@gnu.org>
7069
7070 * Documentation/announce.texi: Update.
7071 * Documentation/install.texi: Likewise.
7072
7073 * Testing/Makefile.preamble: Set BUNDLE_LIBS on mingw and cygwin.
7074 * Testing/nsbundle.m: add NSProcessInfo's initializeWithArguments:...
7075
7076 2001-03-28 Richard Frith-Macdonald <rfm@gnu.org>
7077
7078 * Source/NSProcessInfo.m: ([+load]) Fix in parsing of command line
7079 arguments from /proc filesystem. On newer kernels the command line
7080 arguments are terminated by a nul, on older systems they are separated
7081 by a nul. The old code would add an extra (empty) argument to all
7082 processes on newer kernels. The new code will lose a trailing empty
7083 argument on older kernels :-( I view it as the lesser of two evils
7084 since the extra empty arg confuses/breaks a lot of tools.
7085
7086 2001-03-27 Richard Frith-Macdonald <rfm@gnu.org>
7087
7088 * Source/NSFileManager.m: Fix file copying for MINGW by using
7089 windows native copy function - fix by Michael Scheibler.
7090 Also tidied to conform to coding standards, and fixed to use
7091 O_BINARY where the system defines it.
7092
7093 2001-03-26 Richard Frith-Macdonald <rfm@gnu.org>
7094
7095 * Headers/Foundation/NSObject.h: GS_EXPORT updates for MINGW
7096 * Headers/Foundation/NSObCRuntime.h: ditto
7097 * Headers/Foundation/NSRange.h: ditto
7098 * Source/NSRange.m: ditto
7099 Fixes suggested by Michael Scheibler
7100
7101 2001-03-24 Richard Frith-Macdonald <rfm@gnu.org>
7102
7103 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7104 revert to check using '>' rather than '>=' to conform to documentation
7105 and to be consistent with use of ranges in general.
7106 * Documentation/gsdoc/NSMutableData.gsdoc: documented primitive methods.
7107 * Documentation/gsdoc/NSFunctions.gsdoc: Some documentation for NSRange
7108 added.
7109
7110 2001-03-23 Adam Fedor <fedor@gnu.org>
7111
7112 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) Check location
7113 >= size.
7114
7115 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7116
7117 * Source/NSData.m: ([-replaceBytesInRange:withBytes:]) bugfix ...
7118 extend data if range has location in data, but extent beyond data.
7119
7120 2001-03-23 Adam Fedor <fedor@gnu.org>
7121
7122 * Source/NSSerializer.m (serializeToInfo): Use memcpy to serialize
7123 strings on machines that need word alignment.
7124 * Source/NSTimeZone.m (decode): For decoding, likewise.
7125
7126 * Testing/thread-except.m: Use autorelease pools.
7127
7128 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7129
7130 * Source/NSFileManager.m: MINGW fixes by Michael Scheibler.
7131 ([_attributesAtPath:traverseLink:forCopy:]) fix 'cos windows lacks
7132 symbolic links. ([-changeFileAttributes:atPath:]) workaround for
7133 windows directories not having modification times.
7134 ([-fileSystemAttributesAtPath:]) fix for large volumes (matching
7135 change for unix too ... use unsigned long long).
7136
7137 2001-03-23 Richard Frith-Macdonald <rfm@gnu.org>
7138
7139 * Source/NSObject.m: ([-methodSignatureForSelector:]) try to get a
7140 valid method signature any way we can ... check for a valid method
7141 first, use selector types next. Avoid crash when given nul selector
7142 as an argument.
7143 * Source/NSMethodSignature.m: ([+signatureWithObjCTypes:]) don't
7144 crash when given nul pointer as argument.
7145
7146 2001-03-19 Jonathan Gapen <jagapen@home.com>
7147
7148 * Source/NSString.m: Implement ([-localizedStringWithFormat:]).
7149 Fix ([-localizedCompare:]) and ([-localizedCaseInsensitiveCompare:]).
7150 (They will work when ([-compare:options:range:locale:]) works.)
7151 Fix ([-initWithContentsOfFile:]) and ([-initWithContentsOfURL:]) so
7152 that they deal with 1 byte of data, and clarify Unicode BOM test with
7153 new class variables byteOrderMark and byteOrderMarkSwapped.
7154 In ([-initWithData:encoding:]) and ([-initWithCoder:]), don't treat
7155 the default C string encoding the same as ASCII. GCC 3.0 supports
7156 UTF-8 as a C string encoding, so this behavior is undesirable.
7157
7158 2001-03-19 Jonathan Gapen <jagapen@home.com>
7159
7160 * Source/NSAutoreleasePool.m, Source/NSCharacterSet.m,
7161 Source/NSHashTable.m, Source/NSMapTable.m, Source/NSZone.m:
7162 Update from %s/([-cString]) to %@ for format strings.
7163 * Source/NSDecimal.m: In GSDecimalFromString(), use ([-lossyCString])
7164 instead of ([-cString]) which should (in the future) always return
7165 ASCII-range decimal digits in place of digits from other languages.
7166
7167 2001-03-19 Nicola Pero <nicola@brainstorm.co.uk>
7168
7169 * Source/NSThread.m: registerCurrentThread and
7170 unregisterCurrentThread turned into functions - called
7171 GSRegisterCurrentThread and GSUnregisterCurrentThread.
7172 * Headers/gnustep/base/NSThread.h: Updated for change.
7173
7174 * Source/NSThread.m (GSRegisterCurrentThread): Call
7175 objc_thread_add before creating the NSThread object using a method
7176 call. (GSUnregisterCurrentThread): Post the NSThreadWillExit
7177 notification.
7178
7179 2001-03-19 Jonathan Gapen <jagapen@home.com>
7180
7181 * Source/NSString.m: In ([-rangeOfComposedCharacterSequenceAtIndex:]),
7182 use the NSCharacterSet non-base character set to identify non-base
7183 characters. In ([-cStringLength]), do not allow lossy string
7184 conversion. In ([+localizedNameOfStringEncoding:]), use NSBundle's
7185 ([-gnustepBundle]) rather than looking in root path.
7186
7187 2001-03-17 Richard Frith-Macdonald <rfm@gnu.org>
7188
7189 * Headers/Foundation/NSThread.h: Remove unused ivar.
7190 * Source/NSThread.m: Revise scheme for deallocation of thread
7191 dictionary ... keep it operating to avoid problems with stuff
7192 trying to use it while deing deallocated. Log memory leaks.
7193 * Source/NSRunLoop.m: ([+currentRunLoop]) return nil if there is
7194 no thread dictionary available (shouldn't happen).
7195 * Source/NSString.m: MINGW path handling fixes by Michael Scheibler
7196 stringByAppendingPath, isAbsolurtePath, and stringByStandardizingPath.
7197
7198 2001-03-16 Nicola Pero <n.pero@mi.flashnet.it>
7199
7200 * Source/Makefile.postamble (after-install): Removed old
7201 code for creating /etc/services.add when packaging.
7202
7203 * Makefile.postamble
7204 ($(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional): New target;
7205 create the directory. (before-install): Don't create the
7206 directory, but depend on the new target.
7207 * Resources/GNUmakefile.postamble: Idem for $(languagedir).
7208 * NSCharacterSets/Makefile.postamble: Idem for $(charsetdir).
7209 * NSTimeZones/Makefile.postamble: Idem for $(timezonedir).
7210
7211 2001-03-16 Manuel Guesdon <mguesdon@orange-concept.com>
7212
7213 * Tools/pl*.m: added #include <Foundation/Foundation.h> to avoid
7214 GNUSTEP Internal Error
7215
7216 2001-03-14 Adam Fedor <fedor@gnu.org>
7217
7218 * Source/libgnustep-base.def: Remove some classes that aren't
7219 used on MinGW32.
7220
7221 2001-03-13 Adam Fedor <fedor@gnu.org>
7222
7223 * configure.in: Check and set EXEEXT needed by some tests.
7224 * aclocal.m4: Fixes for constructor test.
7225
7226 2001-03-12 Jonathan Gapen <jagapen@home.com>
7227
7228 * Headers/gnustep/base/NSString.h: Change NSCyrillicStringEncoding
7229 to NSISOCyrillicStringEncoding, and likewise for Greek, Arabic, and
7230 Hebrew, to avoid ambiguity. Add enum values for all remaining
7231 ISO-8859 character sets, plus UTF-7.
7232 * Source/GSXML.m: Update pursuant to above changes.
7233 * Source/NSString.m: Ditto.
7234 * Source/Unicode.m: Ditto.
7235
7236 2001-03-11 Adam Fedor <fedor@gnu.org>
7237
7238 * Source/NSThread.m: Remove runtime.h include since this isn't
7239 normally installed by objc, add back in extern variables.
7240
7241 2001-03-10 Adam Fedor <fedor@gnu.org>
7242
7243 * Version 0.9.2
7244 * Makefile.postamble (before-install): Remove extra '/' before
7245 GNUSTEP_MAKEFILES
7246
7247 * configure.in: Check for objc_thread_add in runtime.
7248 * Source/NSThread.m (objc_thread_add): Define only if not in runtime
7249 (objc_thread_remove): Likewise.
7250
7251 2001-03-10 Manuel Guesdon <mguesdon@orange-concept.com>
7252
7253 * GSXML.m/.h: added errer, warning and fatal error methods with
7254 line and col parameters in GSSAXHandler.
7255
7256 2001-03-08 Richard Frith-Macdonald <rfm@gnu.org>
7257
7258 * Headers/gnustep/base/NSCalendarDate.h:
7259 * Headers/gnustep/base/NSTimeZone.h: New files for MacOS-X compatibility
7260 * Headers/gnustep/base/Foundation.h: Add NSCalendarDate and NSTimeZone
7261 * Headers/gnustep/base/NSDate.h: Remove info in new files.
7262 * Source/GNUmakefile: Add new NSCalendarDate and NSTimeZone files.
7263 * Source/NSCalendarDate.m: Update for header changes.
7264 * Source/NSDate.m: ditto
7265 * Source/NSDateFormatter.m: ditto
7266 * Source/NSLog.m: ditto
7267 * Source/NSString.m: ditto
7268 * Source/NSTimeZone.m: ditto
7269
7270 2001-03-07 Adam Fedor <fedor@gnu.org>
7271
7272 * Source/NSInvocation.m (-initWithTarget:selector:): Correct copying
7273 of unhandled argument types.
7274
7275 2001-03-07 Richard Frith-Macdonald <rfm@gnu.org>
7276
7277 * Source/NSObject.m: ([methodSignatureForSelector:]) reliability
7278 fix suggested by Manuel Guesdon <ml@sbuilders.com>
7279
7280 2001-03-06 Adam Fedor <fedor@gnu.org>
7281
7282 * Source/libgnustep-base.def: Regenerate.
7283
7284 2001-03-05 Richard Frith-Macdonald <rfm@gnu.org>
7285
7286 * Source/NSUserDefaults.m: Changed ([+setUserLanguages:]) to use
7287 NSLanguages.
7288 * Documentation/gsdoc/NSUserDefaults.gsdoc: documented the
7289 ([+setUserlanguages:]) method.
7290
7291 2001-03-04 Jonathan Gapen <jagapen@home.com>
7292
7293 * Documentation/gsdoc/NSCharacterSet.gsdoc: Documented some methods.
7294 * Headers/gnustep/unicode/caseconv.h: Updated case-mapping tables.
7295 * Source/NSBitmapCharSet.m: Added sanity check to initWithBitmap:
7296 * Source/Unicode.m: Changed uni_toupper() and uni_tolower() to use
7297 direct lookup in two-level tables, rather than a linear search.
7298
7299 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7300
7301 * Source/NSBundle.m: Corrected
7302 ([-_bundleResourcePathsWithRootPath:subPath:]) to use
7303 ([NSUserDefaults +userLanguages]) to get language array again.
7304 * Documentation/gsdoc/NSUserDefaults.gsdoc: Updated and added
7305 information about +userLanguages
7306
7307 2001-03-03 Adam Fedor <fedor@gnu.org>
7308
7309 * Source/NSInvocation.m: Add missing static inline to __get_arg
7310 (patch from David Relson <relson@osagesoftware.com>).
7311
7312 2001-03-03 Richard Frith-Macdonald <rfm@gnu.org>
7313
7314 * Source/NSSerializer.m:
7315 * Source/NSURLHandle.m:
7316 * Source/NSUnarchiver.m:
7317 * Source/GSFormat.m:
7318 * Source/GSHTTPURLHandle.m:
7319 * Source/GSMime.m:
7320 * Source/GSString.m:
7321 * Source/NSDictionary.m:
7322 * Source/NSPortNameServer.m:
7323 Various minor changes to avoid compiler warnings.
7324 * Source/NSFileManager.m: ([-fileSystemRepresentationWithPath:])
7325 Use CYGWIN_HOME as suggested by Michael Scheibler
7326 * Source/NSUser.m: NSHomeDirectoryForUser() fix for home path
7327 on NT by Michael Scheibler.
7328
7329 2001-03-01 Jonathan Gapen <jagapen@home.com>
7330
7331 * NSCharacterSets/whitespaceCharSet.dat,
7332 NSCharacterSets/whitespaceAndNlCharSet.dat: Add tab character.
7333
7334 2001-03-01 Nicola Pero <n.pero@mi.flashnet.it>
7335
7336 * aclocal.m4 (AC_SYS_PROCFS): Reverted last change in code to detect
7337 the /proc filesystem as it didn't work on my gnu-linux: /proc/0 does
7338 not exist, but the /proc filesystem works perfectly.
7339 * configure.in (GS_FAKE_MAIN): Fixed typo in last change which
7340 caused fake main definition to take place even when both +load and
7341 /proc worked.
7342 * configure: Regenerated.
7343
7344 2001-02-28 Jonathan Gapen <jagapen@home.com>
7345
7346 * configure.in: Begin autoconf clean-up; replace tests for NeXT
7347 compiler, /proc, and exe link with external macros; add support
7348 for FreeBSD /proc/curproc/file link.
7349 * acconfig.h: Remove definition now handled by macro.
7350 * aclocal.m4, configure, Headers/gnustep/base/config.h.in: Regen.
7351 * Source/NSBundle.m: Take exe link from PROCFS_EXE_LINK define.
7352 * Source/NSProcessInfo.m: HAVE_PROC_FS -> HAVE_PROCFS
7353
7354 2001-02-28 Adam Fedor <fedor@gnu.org>
7355
7356 * Source/win32-load.h (__objc_dynamic_get_symbol_path): New function.
7357
7358 * Source/GSHTTPURLHandle.m ([GSHTTPURLHandle -loadInBackground]): Use
7359 GSUnixSSLHandle only if not __MINGW__
7360
7361 2001-02-27 Jonathan Gapen <jagapen@home.com>
7362
7363 * NSCharacterSets/README.CharSet: Update notes.
7364 * NSCharacterSets/*.dat: Regenerate with v3.0.1 of UnicodeData.txt
7365 (ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt)
7366
7367 2001-02-27 Adam Fedor <fedor@gnu.org>
7368
7369 * configure.in: Fix openssl config so it defines HAVE_OPENSSL only
7370 if all headers and libs available.
7371 * configure, acconfig.h, Headers/gnustep/base/config.h.in: Regen.
7372 * Source/UnixFileHandle.m: Use HAVE_OPENSSL.
7373
7374 2001-02-27 Nicola Pero <nicola@brainstorm.co.uk>
7375
7376 * Source/NSLock.m: Commented out extra token after #endif
7377 directive.
7378 * Headers/gnustep/base/GSXML.h: Idem.
7379
7380 2001-02-27 Nicola Pero <n.pero@mi.flashnet.it>
7381
7382 * configure.in (Version): source it as ./Version rather than
7383 Version (suggested by Juliusz Chroboczek <jch@pps.jussieu.fr>).
7384 * configure: Regenerated.
7385
7386 2001-02-26 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7387
7388 * Source/NSConcreteNumber.m (NumberTemplate): added precision to float
7389 and double TYPE_FORMAT.
7390
7391 2001-02-25 Adam Fedor <fedor@gnu.org>
7392
7393 * configure.in (cppflags_temp): Corrected to save CPPFLAGS not
7394 CFLAGS>
7395
7396 2001-02-25 Richard Frith-Macdonald <rfm@gnu.org>
7397
7398 * Source/GSLocale.m: Removed YESSTR and NOSTR support for simplicity.
7399
7400 2001-02-24 Nicola Pero <n.pero@mi.flashnet.it>
7401
7402 * Resources/Languages/French: New file (contributed by Frederic De
7403 Jaeger).
7404 * Resources/GNUmakefile (LANGUAGES): Added French.
7405
7406 2001-02-23 Richard Frith-Macdonald <rfm@gnu.org>
7407
7408 * Tools/gdomap.c: Fixed bug in handling '-a' option and enhanced
7409 to support multicast probing of networks specified in '-a' file.
7410
7411 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7412
7413 * Headers/gnustep/base/NSBundle.h: Added three new localization
7414 macros: _(), __() and NSLocalizedStaticString ().
7415
7416 2001-02-22 Nicola Pero <n.pero@mi.flashnet.it>
7417
7418 * Resources/Languages/Italian: New file.
7419 * Resources/GNUmakefile (LANGUAGES): Added Italian.
7420
7421 2001-02-22 Richard Frith-Macdonald <rfm@gnu.org>
7422
7423 * Source/NSUserDefaults.m: Fixes to prevent problems obtaining
7424 languages array due to attempts to use partially constructed
7425 standard user defaults object.
7426
7427 2001-02-21 Adam Fedor <fedor@gnu.org>
7428
7429 * Documenation/install.texi: Update.
7430 * Documenation/news.texi: Likewise.
7431 * INSTALL, NEWS: Regen.
7432
7433 2001-02-21 Richard Frith-Macdonald <rfm@gnu.org>
7434
7435 * Source/NSString.m: Fix memory leak reported by thoran@free.fr
7436 parsePlItem()
7437
7438 2001-02-17 Nicola Pero <nicola@brainstorm.co.uk>
7439
7440 * Source/GNUmakefile (PACKAGE_NAME): Fixed typo - was gnutep-base
7441 rather than gnustep-base.
7442
7443 2001-02-20 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7444
7445 * Source/GSXML.m|.h ([GSXMLAttribute -ns]): get attribute namespace.
7446
7447 2001-02-19 Richard Frith-Macdonald <rfm@gnu.org>
7448
7449 * Source/GSLocale.m: Tidy, defined __USE_GNU to get YESSTR and NOSTR
7450 on later versions of glibc.
7451 * Source/NSString.m: Log more info when parsing a property list fails.
7452
7453 2001-02-13 Adam Fedor <fedor@gnu.org>
7454
7455 * Version: 0.9.1
7456
7457 * configure.in: Fix test for stdint.h
7458
7459 2001-02-11 Manuel Guesdon <mguesdon@orange-concept.com>
7460
7461 * GSXML.m: testing lib!=NULL and string!=NULL before doing something in
7462 -GSXMLNode content
7463 -GSXMLNode name
7464 -GSXMLNode ns
7465 -GSXMLNode nsDef
7466 * NSString.m: handle NULL bytes in -initWithUTF8String:
7467 (Treat it as zero length string and NSDebugMLog a warning).
7468
7469 2001-02-09 Jonathan Gapen <jagapen@home.com>
7470
7471 More FreeBSD build fixes:
7472 * acconfig.h: Add recent definitions.
7473 * configure.in: Add test for wchar.h header.
7474 * configure: Regenerate.
7475 * Headers/gnustep/base/config.h.in: Regenerate.
7476 * Source/GSFormat.m: Typedef wint_t if wchar.h not available.
7477 * Source/NSTask.m: Change #if TIOCNOTTY to #ifdef TIOCNOTTY.
7478
7479 2001-02-08 Nicola Pero <n.pero@mi.flashnet.it>
7480
7481 * INSTALL: Updated installation instructions.
7482
7483 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7484
7485 Fixes reported by David Wetzel ...
7486 * Source/GSFormat.h: Add header for wchar
7487 * Source/NSCoder.m: Remove spurious semicolon
7488 * Source/dynamic-load.h: correct argument to dlsym()
7489
7490 2001-02-08 Richard Frith-Macdonald <rfm@gnu.org>
7491
7492 * Source/GSString.m: permit nil string when replacing characters
7493 in range. Treat as an empty string rather than raising exception.
7494
7495 2001-02-07 Jonathan Gapen <jagapen@home.com>
7496
7497 * Source/NSFileManager.m: Make disk space report work on FreeBSD.
7498 On all Unix platforms, report disk space available to non-root users.
7499
7500 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7501
7502 * Source/GSFormat.m: merged in some more fixes by Kai.
7503
7504 2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
7505
7506 * Source/GSFormat.m: Fixed error in PAD() macro - it was failing to
7507 decrement a counter - and looping forever.
7508 Fixed error in formatted output of string arguments ... was
7509 crashing with range exception.
7510
7511 2001-02-04 Richard Frith-Macdonald <rfm@gnu.org>
7512
7513 * Source/NSTask.m: Added gnustep specific feature to run task in
7514 pseudo terminal.
7515
7516 2001-02-02 Richard Frith-Macdonald <rfm@gnu.org>
7517
7518 Integrated patch for unicode support for ([-initWithFormat:]) by
7519 Kai Henningsen. Modified to support efficient append with format
7520 to a unicode string.
7521 * configure.in: Test for data type used by GSFormat
7522 * Headers/gnustep/base/GSFormat.h: file declaring GSFormat info.
7523 * Source/GSFormat.m: Source for format support.
7524 * Source/NSString.m: Use GSFormat() to implement ([-initWithFormat:])
7525 * Source/GSString.m: use GSFormat() to implement ([-appendFormat:])
7526
7527 2001-01-31 Richard Frith-Macdonald <rfm@gnu.org>
7528
7529 * Source/NSDate.m: pass dates over DO bycopy unless explicitly byref.
7530 * Source/NSTimeZone.m: pass time zones over DO bycopy unless
7531 explicitly byref.
7532 Use placeholder class for newly created objects - to improve
7533 eficiency of selection of classes in cluster.
7534 Updated to use MacOS-X initialisation methods.
7535
7536 2001-01-30 Michael Hanni <mhanni@sprintmail.com>
7537
7538 * Source/.cvsignore: tweaked to cover a few more items.
7539 * Makefile.postamble: distclean removes created file: base.make.
7540 * configure.in: patched to fix bug in libxml detection macro
7541 (reviewed by: Nicola Pero <nicola@brainstorm.co.uk>)
7542 * configure: Regenerated.
7543
7544 2001-01-30 Nicola Pero <nicola@brainstorm.co.uk>
7545
7546 * gnustep-base.script.spec.in: Fixed, tidied.
7547 * configure.in (CPPFLAGS): Added -I$GNUSTEP_HDIR so that custom
7548 libobjc headers are used - this should fix ffcall detection.
7549 * configure: Regenerated.
7550
7551 2001-01-30 Richard Frith-Macdonald <rfm@gnu.org>
7552
7553 * Headers/Foundation/NSDate.h: Partial support added for MacOS-X
7554 * Source/NSTimeZone.m: Updates to encode all time zones as the
7555 abstract class, and added MacOS-X methods.
7556 * Source/NSCalendarDate.m: Use NSTimeZone rather than NSTimeZoneDetail
7557 throughout ... provide MacOS-X compatibility.
7558 * Source/NSDate.m: Fix milliseconds error creating date on MINGW
7559
7560 2001-01-29 Adam Fedor <fedor@gnu.org>
7561
7562 * configure.in: Remove check for alternate libobjc and Headers
7563 include. Fix typo in setting cppflags_temp in GMP test.
7564 * Source/Makefile.preamble (ADDITIONAL_INSTALL_DIRS): Don't
7565 make .../gnustep/Foundation
7566 * Source/Makefile.postamble (after-install): Don't install headers
7567 in .../gnustep/Foundation
7568
7569 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7570
7571 * GNUmakefile: Include local base.make.
7572 * Admin/GNUmakefile: Idem.
7573 * Documentation/GNUmakefile: Idem.
7574 * Documentation/gsdoc/GNUmakefile: Idem.
7575 * Examples/GNUmakefile: Idem.
7576 * NSCharacterSets/GNUmakefile: Idem.
7577 * NSTimeZones/GNUmakefile: Idem.
7578 * Testing/GNUmakefile: Idem.
7579 * Tools/GNUmakefile: Idem.
7580 * Resources/GNUmakefile: Idem.
7581 * Source/GNUmakefile: Idem.
7582 * configure.in (tests for ffi): set CONFIG_SYSTEM_LIBS too
7583 (test for iconv): test taken from the make package. (AC_OUTPUT):
7584 Generate base.make.
7585 * configure: Regenerated.
7586 * base.make.in: New file.
7587 * Makefile.postamble (before-install): Install base.make.
7588
7589 2001-01-29 Nicola Pero <nicola@brainstorm.co.uk>
7590
7591 * NSTimeZones/NSTimeZones.tar: Updated.
7592
7593 2001-01-28 Jonathan Gapen <jagapen@home.com>
7594
7595 * Source/NSUser.m: In NSSearchPathForDirectoriesInDomains(), added
7596 support for NSDeveloperDirectory, NSAdminDirectory, and the new
7597 GSLibrariesDirectory.
7598 * Headers/gnustep/base/NSPathUtilities.h: Added new enum value
7599 GSLibrariesDirectory, to support GNUstep's Libraries dir.
7600
7601 2001-01-26 Adam Fedor <fedor@gnu.org>
7602
7603 * gnustep-base.script.spec.in: New file, rpm script for installing
7604 gdomap, updating ld.conf, etc.
7605
7606 2001-01-26 Richard Frith-Macdonald <rfm@gnu.org>
7607
7608 * Source/NSArray.m: Fix failure to assign result of init to self
7609 (similar fixes in various other files).
7610 * Tools/gsdoc.m: Fix error in parsing items containing mixed elements.
7611 * Documentation/gsdoc/NSTimeZone.gsdoc: Fix erro in markup.
7612
7613 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7614
7615 * configure.in: Add check for rexcent versions of gmp
7616
7617 2001-01-25 Richard Frith-Macdonald <rfm@gnu.org>
7618
7619 * Source/NSException.m: Modify default handler to permit simple
7620 exit as well as abort.
7621 * Documentation/gsdoc/Base.gsdoc: documented environmnet variable
7622 CRASH_ON_ABORT
7623
7624 2001-01-21 Richard Frith-Macdonald <rfm@gnu.org>
7625
7626 * Source/NSString.m: Fixes for OPENSTEP compatibility in string path
7627 operations - patch provided by Pierre-Yves Rivaille, plus another fix
7628 by me.
7629
7630 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7631
7632 * gnustep-base.spec.in: Updated copyright and attempt at improving
7633 description.
7634
7635 2001-01-19 Nicola Pero <nicola@brainstorm.co.uk>
7636
7637 * config/config.loadtest.m: Added dummy NXConstStr implementation
7638 for libobjc which do not include it.
7639 * configure.in: Simplified check for thread flags. gnustep-make
7640 already gets them - simply get them from config.make here.
7641 * configure: Regenerated.
7642 * config/config_thread.m: Removed.
7643
7644 2001-01-17 Adam Fedor <fedor@gnu.org>
7645
7646 * Version: Prerelease version 0.9.0
7647 * configure.in: Change check for installed libobjc to match gstep-make
7648
7649 2001-01-18 Nicola Pero <nicola@brainstorm.co.uk>
7650
7651 * Source/GNUmakefile: Simplified name to gnustep-base.
7652 * gnustep-base.spec.in: Changed Group to Development/Libraries.
7653 * gnustep-base-debug.spec.in: Idem.
7654 * NSTimeZones/NSTimeZones.tar: Removed hard links to avoid rpm
7655 problems with hard links.
7656
7657 2001-01-18 Richard Frith-Macdonald <rfm@gnu.org>
7658
7659 * Source/NSHost.m: New method ([-_addName:]) to add a name to a host.
7660 Use it to add the local hostname to the 127.0.0.1 host if there is
7661 no IP address set up for the local machine.
7662 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) improve
7663 handling of available descriptors - each descriptor may be available
7664 for more than one type of event.
7665
7666 2001-01-17 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7667
7668 * Source/GSXML.m|.h ([GSXMLDocument -stringValue]): dump document in a
7669 string.
7670
7671 Wed Jan 17 16:46:09 2001 Nicola Pero <nicola@brainstorm.co.uk>
7672
7673 * GNUmakefile: Added PACKAGE_NEEDS_CONFIGURE and
7674 RPM_DISABLE_RELOCATABLE.
7675 * GNUmakefile: Simplified name to gnustep-base.
7676 * gnustep-base.spec.in: New file.
7677 * gnustep-base-debug.spec.in: Idem.
7678 * gnustep-base.spec: Move to gnustep-base.spec.old.
7679
7680 2001-01-13 Richard Frith-Macdonald <rfm@gnu.org>
7681
7682 * Source/GSMime.m: ([-decodeData:fromrange:intoData:withContext:])
7683 Added destination data cpacity information to context so that
7684 correct positioning can be maintained over a sequence of calls
7685 using a chunked http context.
7686 * Source/GSAttributedString.m: Fixed bug initialising from an
7687 empty attributed string, and fixed bug replacing characters in
7688 range, when an attribute range location is the same s the location
7689 of the replaced characters.
7690
7691 2001-01-12 Richard Frith-Macdonald <rfm@gnu.org>
7692
7693 * Source/GSXML.m: ([-GSXMLDocument setRoot:]) set root node to be
7694 owned by libxml, so we don't free it's memory ourselves.
7695 * Headers/gnustep/base/NSValue.h: Added range methods.
7696 * Source/GNUmakefile: Rename value files to GS prefix and remove
7697 concrete value header.
7698 * Source/Makefile.postamble: Build GS value files. rather than NS
7699 * Source/NSValue.m: Added range methods and updated for change to
7700 naming conventions. Added abstract placeholder class. Fixed encoding
7701 to store the abstract class in the archive.
7702 * Testing/values.m: Added range check
7703 * Source/GSTemplateValue.m: Renamed for consistency.
7704 Adapted encoding/decoding for storing abstract class in archive.
7705 * Source/GSValue.m: ditto
7706 * Headers/gnustep/base/NSConcreteValue.h: private info removed
7707 * Source/NSCTemplateValue.m: Renamed for consistency
7708 * Source/NSConcreteValue.m: ditto
7709
7710 2001-01-10 Nicola Pero <n.pero@mi.flashnet.it>
7711
7712 * Source/GSAttributedString.m ([GSAttributedString -length]),
7713 ([GSMutableAttributedString -length]): Added for speed.
7714
7715 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7716
7717 * Source/Unicode.m: Fix bug in checking possible default string
7718 encodings . reported by Stefan Urbanek
7719
7720 2001-01-10 Richard Frith-Macdonald <rfm@gnu.org>
7721
7722 Tidyup by removing 'NonCore' categories.
7723
7724 2001-01-09 Richard Frith-Macdonald <rfm@gnu.org>
7725
7726 General tidyups to simplify code and to make class names
7727 consistent with the other libraries.
7728 * Headers/Foundation/NSGAttributedString.h: removed
7729 * Source/NSGAttributedString.m: renamed to GSAttributedString.m
7730 concrete classes renamed for consistency with other gstep libs.
7731 * Source/NSGDictionary.m: renamed to GSDictionary.m
7732 concrete classes renamed for consistency with other gstep libs.
7733 * Source/NSAttributedString.m: classes renamed
7734 * Source/NSDictionary.m: classes renamed
7735 * Source/GNUmakefile: replace NSGAttrinbutedString with and
7736 NSGDictionary with GS prefixed classes.
7737 Don't try to install old header.
7738 * Source/NSString.m: updates for class renaming.
7739 * Source/NSSerializer.m: ditto
7740
7741 2001-01-08 Adam Fedor <fedor@gnu.org>
7742
7743 * configure.in: Enable ffcall by default (unless the libraries
7744 don't exist).
7745
7746 2001-01-08 Richard Frith-Macdonald <rfm@gnu.org>
7747
7748 * Headers/Foundation/NSGArray.h: removed
7749 * Headers/Foundation/NSArray.h: merge core/non-core classes.
7750 * Source/GNUmakefile: replace NSGArray with GSArray.
7751 * Source/NSGArray.m: converted to GSArray.m
7752 * Source/NSArray.m: simplified by merging core/non-core classes.
7753 Use placeholder class when allocating constant arrays.
7754 * Source/GSArray.m: simplified version of GSArray.m
7755 Added GSPlaceholderArray.
7756 * Source/NSSerializer.m: use GSInlineArray where possible.
7757 * Source/GSSet.m: Provide decoding of NSGSet for backward compatibility.
7758 * Source/NSException.m: Avoid recursion in exception handler.
7759
7760 2001-01-04 Richard Frith-Macdonald <rfm@gnu.org>
7761
7762 * Tools/gsdoc.gsdoc: Tidied and fixed a few typos/spelling errors.
7763
7764 2001-01-04 Jonathan Gapen <jagapen@home.com>
7765
7766 * configure.in, aclocal.m4, acconfig.h: Replace libxml detection with
7767 autoconf macro from libxml 2.2.10 installation.
7768 * configure, Headers/gnustep/base/config.h.in: Regenerate.
7769 * Headers/gnustep/base/GSXML.h, base/Source/GSXML.m,
7770 base/Tools/gsdoc.m: Use proper libxml #includes.
7771
7772 2001-01-03 Adam Fedor <fedor@gnu.org>
7773
7774 * configure.in: Change test for objc forwarding hook to match gcc
7775 patch.
7776 * Source/GSFFCallInvocation.m: Use new forwarding hook.
7777
7778 2001-01-03 Richard Frith-Macdonald <rfm@gnu.org>
7779
7780 * Source/NSBundle.m: fix for checking windows executable file
7781 extensions - reported by michael.scheibler@onevision.de
7782
7783 2001-01-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7784
7785 * Source/NSObjCRuntime.m (GSInstanceVariableInfo): fixes.
7786 * Source/NSObject.m ([NSObject -handleQueryWithUnboundKey:]): raise an
7787 exception.
7788 ([NSObject -handleTakeValue:forUnboundKey:]): changed exception.
7789 ([NSObject -unableToSetNilForKey:]): likewise.
7790 ([NSObject -storedValueForKey:]),
7791 ([NSObject -valueForKey:]): check for null selector before calling
7792 respondsToSelector:
7793 ([NSObject -takeStoredValue:forKey:]),
7794 ([NSObject -takeValue:forKey:]): likewise. Call GSSetValue with correct
7795 values.
7796 (GSSetValue): fixed ivar implementation.
7797 (GSGetValue): likewise.
7798 ([NSObject -methodSignatureForSelector:]): FreeBSD fix.
7799 * Source/NSEnumerator.m|.h ([NSEnumerator -allObjects]): implemented.
7800 * Source/Unicode.m (GetDefEncoding): do not emit the warning for
7801 NSISOLatin1StringEncoding.
7802
7803 2000-12-26 Adam Fedor <fedor@gnu.org>
7804
7805 * configure.in: Look for libxml2 (patch from Kim Shrier
7806 <kim@tinker.com>).
7807 * acconfig.h: Define LIBXML2
7808 * Headers/gnustep/base/config.h.in: Regenerate
7809 * Headers/gnustep/base/GSXML.h: Include libxml2.h if found.
7810 * Source/GSXML.m: Likewise.
7811 * Tools/gsdoc.m: Likewise. (patches from Kim Shrier <kim@tinker.com>).
7812
7813 2000-12-22 Adam Fedor <fedor@gnu.org>
7814
7815 * Source/GSFFCallInvocation.m: Remove powerpc specific defs
7816
7817 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7818
7819 * Source/NSDistantObject.m: Modified DO_FORWARD_INVOCATION() macro
7820 and its uses so that they actually do what was intended :-)
7821 Also, modified implementation of methodSignatureForSelector: for
7822 ffcall library to prevent recursion.
7823
7824 2000-12-21 Richard Frith-Macdonald <rfm@gnu.org>
7825
7826 * Headers/Foundation/GSIMap.h: On initialisation set number of nodes
7827 to exactly equal capacity, for improved memory efficiency.
7828 * Source/Makefile.postamble: correct dependencies for GSIMap.
7829 * Source/GSCountedSet.m: Use map enumerator rather than messing with
7830 the internals of a GSIMap directly.
7831 * Source/GSSet.m: ditto
7832 * Source/NSConnection.m: ditto
7833 * Source/NSGDictionary.m: ditto
7834 * Source/NSNotificationCenter.m: ditto
7835 * Source/NSString.m: property list memory leak fixed.
7836
7837 2000-12-18 Richard Frith-Macdonald <rfm@gnu.org>
7838
7839 * Source/NSGAttributedString.m: Fix logic errors setting attributes.
7840
7841 2000-12-18 Adam Fedor <fedor@gnu.org>
7842
7843 * Source/Makefile.postamble (libgnustep.def): Rebuild manually
7844 rather than automatically.
7845
7846 2000-12-14 Richard Frith-Macdonald <rfm@gnu.org>
7847
7848 * Source/Unicode.m: Tidied to conform to coding standards and changed
7849 to use ISOLatin1 as the default cString encoding.
7850 * Source/GSString.m: Fixed bug getting cString from unicode string -
7851 raise exception when it should.
7852 * Source/NSString.m: ditto. Also use lossyCString in various
7853 places rather than cString.
7854
7855 2000-12-13 Nicola Pero <n.pero@mi.flashnet.it>
7856
7857 * Headers/gnustep/base/NSRange.h, Source/NSRange.m: Inlined
7858 NSMakeRange.
7859
7860 2000-12-12 Nicola Pero <n.pero@mi.flashnet.it>
7861
7862 * Source/NSDebug.m (table_entry): Added peak field.
7863 (GSDebugAllocationAdd): Set peak counter if needed.
7864 (GSDebugAllocationClassList), (GSDebugAllocationTotal),
7865 (GSDebugAllocationPeak): New functions.
7866 * Headers/gnustep/base/NSDebug.h: Added corresponding
7867 declarations.
7868
7869 2000-12-08 Adam Fedor <fedor@gnu.org>
7870
7871 * Set up DO and NSInvocation to use foreign-function interface
7872 library.
7873 * configure.in: Add check for --enable-ffcall
7874 * Documentation/gnustep-base.texi: Update
7875 * Documentation/install.texi: Likewise.
7876 * Documentation/readme.texi: Likewise.
7877 * Documentation/gsdoc/NSTimeZone.gsdoc: Update.
7878
7879 * Headers/gnustep/base/NSConnection.h: New forward method.
7880 * Headers/gnustep/base/NSInvocation.h: New frame ivar.
7881 * Source/GNUmakefile: Conditionally compile in FFI classes if
7882 enabled.
7883 * Source/NSConnection.m (-forwardInvocation:forProxy:): New method.
7884 (_service_forwardForProxy:): For FFCALL don't autorelease memory,
7885 call proper forwarding function.
7886 * Source/NSDistantObject.m (forwardInvocation:): Implement.
7887 (methodSignatureForSelector:): For FFCALL, forward through
7888 invocation.
7889 (conformsToProtocol:): Likewise.
7890 (respondsToSelector:): Likewise.
7891 * Source/NSInvocation.m: Convert to abstract class with subclasses
7892 based on FFI interface.
7893 (_get_arg, _set_arg, _arg_addr): New functions based on FFI interface.
7894 (+allocWithZone:): Alloc proper concrete class.
7895 (+initialize): Set proper concrete class.
7896 (-initWithCoder:): Replace self with proper concrete class.
7897 (initWithArgframe:selector:): Make subclassResponsibility.
7898 (initWithMethodSignature:): Likewise.
7899 (returnFrame:): Likewise.
7900 Implement GSFrameInvocation
7901 * Source/GSFFCallInvocation: New file.
7902 * Source/GSFFIInvocation: Likewise.
7903 * Source/cifframe.[hm]: Likewise.
7904 * Source/callframe.[hm]: Likewise.
7905
7906 2000-12-07 Richard Frith-Macdonald <rfm@gnu.org>
7907
7908 * Source/NSGSet.m: renamed to GSSet.m for consistency, tidied.
7909 * Source/NSGCountedSet.m: renamed to GSCountedSet.m for consistency.
7910 * Headers/Foundation/NSGSet.h: removed - obsolete.
7911 * Headers/Foundation/NSSet.h: si9mplified back to single class
7912 * Source/NSSet.m: Updated and tidied. Fixed coding class for
7913 mutable sets. Removed non-core classes.
7914
7915 2000-12-05 Richard Frith-Macdonald <rfm@gnu.org>
7916
7917 * Source/NSURLHandle.m: minor mods to background loading.
7918 * Source/GNUmakefile:
7919 * Source/Makefile.postamble:
7920 * Source/Makefile.preamble:
7921 * Tools/Makefile.preamble:
7922 Updated for flattened directory structure.
7923
7924 2000-12-02 Richard Frith-Macdonald <rfm@gnu.org>
7925
7926 * Source/NSDate.m: GSTime() added millisecond info.
7927 * Source/NSCalendarDate.m: GSTime() added millisecond info.
7928 * Headers/Foundation/NSDate.h: GSTime() added millisecond info.
7929 * Source/NSObject.m: key-value-coding restructured and
7930 implemented for non-object values.
7931
7932 2000-11-30 Richard Frith-Macdonald <rfm@gnu.org>
7933
7934 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
7935 Bugfixes to fill in missing information using current date/time and
7936 to implement missing format codes.
7937
7938 2000-11-27 Richard Frith-Macdonald <rfm@gnu.org>
7939
7940 * Source/NSClassDescription.m: New MacOS-X class added.
7941 * Headers/Foundation/NSClassDescription.m: New MacOS-X class added.
7942 * Headers/Foundation/NSKeyvalueCoding.m: New MacOS-X protocol added.
7943 * Source/NSObject.m: New MacOS-X key value coding methods added.
7944 Only objects currently supported - needs work to support scalar
7945 types too!
7946
7947 2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
7948
7949 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
7950 autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
7951
7952 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7953
7954 * Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to
7955 prevent possible problems with two threads trying to get root object
7956 of a new connection at the same time.
7957 * Documentation/gsdoc/NSURLHandle.gsdoc: Added subclass information.
7958
7959 2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
7960
7961 * Headers/gnustep/base/NSAutoreleasePool.h: Changed proivate method
7962 for cleanup at end of thread.
7963 * Headers/gnustep/base/NSThead.h: New ivar to mark when we are
7964 deallocating.
7965 * Source/NSAutoreleasePool.m: Added parameter to _endThread so we
7966 can safely end a thread without it being the current one.
7967 * Source/NSThread.m: Now clean up autorelease pools *after*
7968 everything elese, while deallocating the thread. This is to cope
7969 with objects that try to access the thread dictionary while
7970 autoreleasing. -threadDictionary modified to return nil during
7971 deallocation rather than creating a new ductionary.
7972
7973 2000-11-21 Richard Frith-Macdonald <rfm@gnu.org>
7974
7975 * Source/externs.m: Removed obsolete http body key.
7976 * Source/GSHTTPURLHandle.m: Removed obsolete http body key.
7977 * Headers/Foundation/NSURLHandle.h: Removed obsolete http body key.
7978
7979 2000-11-20 Nicola Pero <n.pero@mi.flashnet.it>
7980
7981 * Source/NSConnection.m: ([NSConnection -invalidate]) Fixed typo in
7982 multi-thread support.
7983
7984 2000-11-18 Richard Frith-Macdonald <rfm@gnu.org>
7985
7986 * Source/NSURLHandle.m: Implemented setting and gettign of properties
7987 for file handles using NSFileManager.
7988 * Source/GSHTTPURLHandle.m: Implemented ([-writeData:]). Rewrote
7989 posting mechanism using new implementation. Modified so that old
7990 method of writing bodyn properties still works for the moment.
7991 * configure.in: Added tests for GMP library - needed in future.
7992 * Headers/Foundation/NSDecimal.h: include GSConfig.h for HAVE_GMP
7993 * Source/NSDecimal.m: test for truth value of HAVE_GMP
7994 * Headers/Foundation/GSConfig.h.in: add HAVE_GMP support, but
7995 override to '0' until GMP support is fully implemented.
7996
7997 2000-11-17 Richard Frith-Macdonald <rfm@gnu.org>
7998
7999 * Headers/Foundation/GSMime.h: Added GSMimeEncodingContext etc
8000 * Headers/Foundation/NSURLHandle.h: Added some more property keys.
8001 * Source/GSMime.m: Update to add method for general decoding of
8002 different transfer encoding types including chunked (for http1.1).
8003 Recognise end of data in chunked encoding or by content length.
8004 * Source/GSHTTPURLHandle.m: Added new class for http and https support.
8005 * Source/NSURLHandle.m: Register class for http and https support.
8006 * Source/externs.m: Added property keys for URL handles.
8007 * Documentation/gsdoc/GSMime.gsdoc: updated
8008 * Documentation/gsdoc/GSMimeDocument.gsdoc: updated
8009 * Documentation/gsdoc/GSMimeParser.gsdoc: updated
8010
8011 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8012
8013 * Source/NSUserDefaults.m: ([-userLanguages]) updated to ensure we
8014 don't get empty strings in the language list.
8015 * Headers/Foundation/GSMime.h: Revised API
8016 * Source/GSMime.m: Revised API to make more sense
8017 * Documentation/gsdoc/GSMime.gsdoc: ditto
8018 * Documentation/gsdoc/GSMimeDocument.gsdoc: ditto
8019 * Documentation/gsdoc/GSMimeParser.gsdoc: ditto
8020
8021 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8022
8023 * Source/NSURL.m: ([-explode]) bugfix for parsing username/password
8024 provided by mark@brainstorm.co.uk
8025
8026 2000-11-16 Richard Frith-Macdonald <rfm@gnu.org>
8027
8028 * Source/GSTcpPort.m: Altered all GSTcpHandle debug output to include
8029 current thread. Added locking for read/write operations on handle.
8030 Hopefully all thread-safe now :-)
8031
8032 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8033
8034 * Source/NSConnection.m: ([-_getReplyRmc:]) added semi-busy wait
8035 for when the connection is being used from multiple threads.
8036
8037 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8038
8039 * configure.in: Added checks for OpenSSL
8040 * Headers/gnustep/base/NSFileHandle.h: Added info for SSL handles.
8041 * Source/UnixFileHandle.m: Added GSUnixSSLHandle class based on
8042 code by <mark@brainstorm.co.uk>
8043
8044 2000-11-15 Richard Frith-Macdonald <rfm@gnu.org>
8045
8046 * Source/NSBundle.m: Minor tidying to avoid compiler warnings.
8047 * Source/NSFileManager.m: ditto
8048
8049 Tue Nov 14 23:44:14 2000 Adam Fedor <fedor@yogi.doc.com>
8050
8051 * Source/GSString.m: Add limits.h (for Solaris)
8052
8053 2000-11-14 Adam Fedor <fedor@gnu.org>
8054
8055 * Source/GSLocale.m: Put LANGINFO_H ifdefs around include of
8056 langinfo.h.
8057
8058 2000-11-14 Richard Frith-Macdonald <rfm@gnu.org>
8059
8060 * Source/GSTcpPort.m: ([GSTcpHandle -receivedEvent:type:extra:forMode:])
8061 added locks around write operations for multi-threaded operation.
8062 newDataWithEncodedPort() modified to encode local host as an empty
8063 string, and other hosts by name rather than address.
8064 decodePort() added new parameter so that an empty string can be
8065 decoded as the host to which the GSTcpHandle is talking.
8066 Modified in various places to keep a record of the IP address of the
8067 remote end of the connection, so we can pass this to decodePort()
8068 ([-getFds:count:]) fixed error in determining set of file descriptors
8069 to listen to - resulted in two threads listening to the same descriptor
8070 at the same time!
8071
8072 2000-11-13 Richard Frith-Macdonald <rfm@gnu.org>
8073
8074 * Source/NSGAttributedString.m: partial rewrite to cache/unique
8075 dictionaries and to coalesce adjacent regions of string with the
8076 same attributes when setting attributes.
8077
8078 2000-11-12 Fred Kiefer <FredKiefer@gmx.de>
8079
8080 * Source/NSArray.m: Corrected [NSMutableArray arrayWithObject:] to
8081 return obj instead of self.
8082
8083 Fri Nov 10 12:30:27 2000 Nicola Pero <n.pero@mi.flashnet.it>
8084
8085 Added some GNUstep extensions to NSThread to allow JIGS to
8086 transparently map java threads to gnustep threads (and vice
8087 versa):
8088 * Headers/gnustep/base/NSThread.h, Source/externs.m:
8089 (NSThreadDidStartNotification): New notification.
8090 * Source/NSThread.m ([NSThread -_sendThreadMethod]): Post
8091 the NSThreadDidStartNotification.
8092 * Source/NSThread.m, Headers/gnustep/base/NSThread.h
8093 ([+registerCurrentThread]), ([+unregisterCurrentThread]): New
8094 methods.
8095
8096 2000-11-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8097
8098 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
8099 when called with Nil class.
8100
8101 2000-11-10 Richard Frith-Macdonald <rfm@gnu.org>
8102
8103 * Source/GSTcpPort.m: Added some locking tweaks for writing data.
8104 * Source/GSString.m: Fix for decoding obsolete string classes.
8105
8106 2000-11-09 Richard Frith-Macdonald <rfm@gnu.org>
8107
8108 * Source/NSPort.m: ([-setDelegate:]) corrected assertion to allow
8109 delegate to be set to nil. Bug reported by cornils@mail.desy.de
8110
8111 2000-11-08 Richard Frith-Macdonald <rfm@gnu.org>
8112
8113 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8114 initialize inline string classes correctly.
8115
8116 2000-11-06 Adam Fedor <fedor@gnu.org>
8117
8118 * Documentation: Move tmpl.texi files to texi and update GNUmakefile
8119
8120 Mon Nov 6 16:55:26 2000 Nicola Pero <n.pero@mi.flashnet.it>
8121
8122 * Documentation/GNUmakefile: Install ANNOUNCE, NEWS, INSTALL,
8123 BUGS, README, STATUS into
8124 Documentation/Developer/Base/ReleaseNotes/$(VERSION); install
8125 CODING-STANDARDS and coding-standards into
8126 Documentation/Developer/CodingStandards; install gnustep-base into
8127 Documentation/Developer/Base/Manual.
8128 * Documentation/gsdoc/GNUmakefile
8129 (Base_DOCUMENTATION_INSTALL_DIR): Install gsdoc reference in
8130 Documentation/Developer/Base/Reference.
8131
8132 2000-11-06 Richard Frith-Macdonald <rfm@gnu.org>
8133
8134 * Source/NSString.m: handle_printf_atsign() - use lossyCString to
8135 get string to print. This is a temporary *HACK* - we need a proper
8136 unicode supporting initWithFormat:
8137 * Source/GSString.m: ([GSMutableString substringWithRange:]) fix to
8138 allocate inline string classes for substrings.
8139
8140 2000-11-04 Richard Frith-Macdonald <rfm@gnu.org>
8141
8142 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8143 calendarFormat:locale:]): try getting timezone by name before
8144 attempting by abbreviation - thus preserving exact name isf possible.
8145
8146 2000-11-03 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8147
8148 * Source/NSCalendarDate.m ([NSCalendarDate -initWithString:
8149 calendarFormat:locale:]): assign calendar format.
8150
8151 2000-11-03 Richard Frith-Macdonald <rfm@gnu.org>
8152
8153 * Source/NSString.m: Update for placeholder class.
8154 * Source/GSString.m: Updates for optimisations using placeholder class.
8155
8156 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8157
8158 * Source/GSXML.m: External entity loader revisions completed.
8159 * Documentation/gsdoc/GSXML.gsdoc: changes to api
8160 * Documentation/gsdoc/GSXMLParser.gsdoc: ditto
8161 * Documentation/gsdoc/GSSAXHandler.gsdoc: ditto
8162
8163 2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
8164 * Headers/Foundation/GSXML.h: added GSXMLNode
8165 propertiesAsDictionaryWithKeyTransformationSel:
8166 * Source/GSXML.m: added GSXMLNode
8167 propertiesAsDictionaryWithKeyTransformationSel:
8168
8169 2000-11-01 Richard Frith-Macdonald <rfm@gnu.org>
8170
8171 * Source/NSUserDefaults.m: Fixed uninitialised variable bug.
8172 * Source/NSString.m: Fixed error in xml property list parsing
8173 * Source/GSXML.m: Various SAX things to use default implementation.
8174
8175 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8176
8177 * Source/NSString.m: Implemented
8178 ([-initWithCharactersNoCopy:length:freeWhenDone:]) and
8179 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSMutableString.
8180 ([-initWithCStringNoCopy:length:freeWhenDone:]) for NSString.
8181
8182 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8183
8184 Loads of files modified, fast.x removed.
8185 Found it unexpectedly easy to tidy up so that all functions for
8186 accessing the runtime are now in NSObjCRuntime.h.
8187 Now all :-) we need are Apple runtime implementations, configuration
8188 auto-detect for the apple runtime, and loads of updating of any
8189 bits of code that call the runtime directly.
8190
8191 2000-10-31 Richard Frith-Macdonald <rfm@gnu.org>
8192
8193 * Headers/gnustep/base/NSGString.h:
8194 * Headers/gnustep/base/NSGCString.h:
8195 * Source/NSGString.m:
8196 * Source/NSGCString.m: Removed classes - no longer used.
8197 * Headers/gnustep/base/NSObjCRuntime.h:
8198 * Headers/gnustep/base/fast.x:
8199 * Source/GSString.m:
8200 * Source/Makefile.postamble:
8201 * Source/NSArchiver.m:
8202 * Source/NSCTemplateValue.m:
8203 * Source/NSConcreteValue.m:
8204 * Source/NSCountedSet.m:
8205 * Source/NSDate.m:
8206 * Source/NSDictionary.m:
8207 * Source/NSDistantObject.m:
8208 * Source/NSGSet.m:
8209 * Source/NSNumber.m:
8210 * Source/NSObject.m:
8211 * Source/NSScanner.m:
8212 * Source/NSSerializer.m:
8213 * Source/NSSet.m:
8214 * Source/NSUnarchiver.m:
8215 Changed calls to 'fastClass()' to use 'GSObjCClassOfObject()' and
8216 added that to NSObjCRuntime.h. Removed central class and
8217 implementation caching from NSObject.m and fast.x since it was not
8218 being effectively used. New intention to do removal of fast.x and
8219 add similar functionality to NSObjCRuntime.h - intention being to
8220 combine functionality of fast access to the runtime, and hiding both
8221 GNU and Apple runtime behind a single interface.
8222
8223 2000-10-30 Richard Frith-Macdonald <rfm@gnu.org>
8224
8225 * Source/NSURLHandle.m: Wrap all locking with exception handlers to
8226 ensure that locks are released.
8227 * Headers/gnustep/base/NSInvocation.h: Removed non-standard macros
8228 * Headers/gnustep/base/behavior.h: Removed unused macro
8229 CALL_METHOD_IN_CLASS()
8230 * Source/GSString.m:
8231 * Source/GSXML.m:
8232 * Source/NSArchiver.m:
8233 * Source/NSArray.m:
8234 * Source/NSAttributedString.m:
8235 * Source/NSData.m:
8236 * Source/NSDictionary.m:
8237 * Source/NSGArray.m:
8238 * Source/NSGAttributedString.m:
8239 * Source/NSGCString.m:
8240 * Source/NSGDictionary.m:
8241 * Source/NSGeometry.m:
8242 * Source/NSObject.m:
8243 * Source/NSPortCoder.m:
8244 * Source/NSProcessInfo.m:
8245 * Source/NSRange.m:
8246 * Source/NSRunLoop.m:
8247 * Source/NSScanner.m:
8248 * Source/NSSerializer.m:
8249 * Source/NSString.m:
8250 * Source/NSUnarchiver.m:
8251 * Source/NSUserDefaults.m:
8252 Updated to move static SEL variable initialisation to +initialize
8253 methods so that it should (I think) work with the Apple runtime.
8254
8255 2000-10-29 Adam Fedor <fedor@gnu.org>
8256
8257 * configure.in: Check for langinfo.
8258 * Source/GSLocale.m (GSDomainFromDefaultLocale): Return nil
8259 dict if langinfo info not available.
8260
8261 * acconfig.h: Add HAVE_DLADDR
8262 * Headers/gnustep/base/config.h.in: Regenerate.
8263 * Source/simple-load.h (__objc_dynamic_get_symbol_path): Return
8264 nil if not HAVE_DLADDR.
8265
8266 2000-10-29 Richard Frith-Macdonald <rfm@gnu.org>
8267
8268 * Source/GSString.m: New inline string classes added to avoid calls
8269 to malloc in some cases. Changed all deallocation methods to call
8270 NSDeallocateObject() directy for efficiency.
8271 * Source/NSString.m: Use new inline string classes for creation of
8272 strings where we know the length of the data in advaance.
8273
8274 2000-10-28 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8275
8276 * Headers/gnustep/base/NSBundle.h: added ivar.
8277 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
8278 method to parse NSFramework_* classes.
8279 (_bundle_load_callback): added framework support. Wrap classes in a
8280 NSValue to avoid implicit initialization.
8281 ([NSBundle +allBundles]): added framework support.
8282 ([NSBundle +allFrameworks]): implemented.
8283 ([NSBundle +bundleForClass:]): get classes from NSValue object.
8284 ([NSBundle -classNamed:]): likewise.
8285
8286 * Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
8287 * Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
8288 or Category.
8289 * Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
8290 lib path of a symbol.
8291 * Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
8292 * Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.
8293
8294 * Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
8295 (mframe_set_arg): idem
8296
8297 * Headers/gnustep/base/config.h.in: added HAVE_DLADDR
8298 * aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
8299 * configure.in: added --with-libxml-include and --with-libxml-library,
8300 added -I/usr/local/include and -L/usr/local/lib for FreeBSD.
8301
8302 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8303
8304 * Source/NSObject.m: Reverted last change -
8305 +new has to do alloc, init or break classes that expect to use their
8306 own allocation mechanisms. Similarly, +alloc must call the
8307 ([+allocWithZone:]) method. We can't make optimisations that
8308 break with the OpenStep spec and MacOS documentation - they would
8309 break production code. Of course, private classes can do this.
8310
8311 2000-10-27 Lyndon Tremblay <humasect@home.com>
8312
8313 * Source/NSObject.m ([NSObject +new]): No longer sends 2 messages,
8314 uses NSAllocateObject().
8315 ([NSObject +alloc]): Likewise, no message sending within the method.
8316
8317 2000-10-27 Richard Frith-Macdonald <rfm@gnu.org>
8318
8319 * Source/NSURLHandle.m: Make class registration thread safe.
8320 Tidy initialisation to use designated initialiser.
8321
8322 2000-10-27 Adam Fedor <fedor@gnu.org>
8323
8324 * Added localization support
8325 * configure.in: Look for locale.h
8326 * Resources: New directory, files for languages.
8327 * Headers/gnustep/base/NSUserDefaults.h: Add missing localization
8328 keys.
8329 * Source/GSLocale.m: New functions for dealing with locales.
8330 * Source/NSUserDefaults.m (-_unlocalizedDefaults): New method.
8331 (-sharedUserDefaults): Set up Language domain.
8332 (-userLanguages): Create our own defaults, if necessary, to avoid
8333 recursion with sharedUserDefaults.
8334 (__createStandardSearchList): Put NSGlobalDomain before Language
8335 domain to match MacOSX docs (wasn't specified in OpenStep docs).
8336 * Documentation/gsdoc/NSUserDefaults.m: Updated.
8337
8338 * Tools/locale_alias.m: New test-tool mostly for maintainance use.
8339
8340 2000-10-26 Richard Frith-Macdonald <rfm@gnu.org>
8341
8342 * Source/NSData.m: When deserialising selectors, register new
8343 selectors if they don't already exist - so we can unarchive a
8344 selector into a program where no objects implements it (we might
8345 still want to use it over DO or to store in another archive).
8346 Change suggested by N.Pero.
8347 * Source/GSMime.m: Mime parser classes partially written.
8348 * Headers/Foundation/GSMime.h: mime class headers
8349 * Documentation/gsdoc/GSMime.gsdoc: documentation
8350 * Documentation/gsdoc/GSMimeDocument.gsdoc: documentation
8351 * Documentation/gsdoc/GSMimeParser.gsdoc: documentation
8352 Various files partially implemented to add MIME parsing support.
8353 Intended to aid implementation of HTTP version of NSURLHandle.
8354
8355 2000-10-24 Adam Fedor <fedor@gnu.org>
8356
8357 * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
8358 Set format if nil.
8359 (-addYear:month:day:hour:minute:second:): Use signed ints.
8360
8361 2000-10-24 Richard Frith-Macdonald <rfm@gnu.org>
8362
8363 * Source/GSString.m: Implement ([-substringWithRange:]) and
8364 ([-substringFromRange:]) equally. The 'from' method is the
8365 'official OpenStep' one, the 'with' method is a MacOS-X compatibility
8366 addition.
8367 * Source/NSAttributedString.m: Added ([-attributedSubstringWithRange:])
8368 in the expectation that Apple will rename the method and remove
8369 ([-attributedSubstringFromRange:])
8370 * Source/NSScanner.m: Use substringWithRange.
8371 * Source/NSProxy.m: Implement ([-forward::]) to use
8372 ([-forwardInvocation:]). Implement ([-conformsToProtocol:]) to raise
8373 exception, Implement ([-respondsToSelector:]) to raise exception.
8374 * Source/NSDistantObject.m: Implement ([-conformsToProtocol:]) to
8375 forward to remote. Implement ([-respondsToSelector:]) to forward.
8376
8377 2000-10-24 Fred Kiefer <FredKiefer@gmx.de>
8378
8379 * Source/NSAttributedString.m: Added begin/endEditing to all
8380 complex methods on NSMutableAttributedString as necessary for
8381 NSTextStorage.
8382 * Source/GSString.m: Changed all substringFromRange: to
8383 substringWithRange: as this is the basic method.
8384
8385 2000-10-23 Richard Frith-Macdonald <rfm@gnu.org>
8386
8387 * Source/NSString.m: ([-fastestEncoding]), ([-smallestEncoding])
8388 implemented to return NSUnicodeStringEncoding. Use new string
8389 classes more effectively - let GSString turn itsself into either
8390 GSCString or GSUstring when initialised.
8391 Merged in code from propList.h
8392 * Source/GSString.m: ([-dataUsingEncoding:allowLossyConversion:])
8393 bugfixes for cString reported by Freed Kiefer
8394 Removed 'ascii' flag - more trouble than a minor optimisation is
8395 worth.
8396 Fixed transmute() to be careful about freeing old string.
8397 * Source/Unicode.m: encode_ustrtostr_strict() return 0 on failure.
8398
8399 2000-10-21 Richard Frith-Macdonald <rfm@gnu.org>
8400
8401 * Headers/Foundation/NSNull.h: New placeholder class.
8402 * Source/NSNull.m: New placeholder class.
8403 * Source/GNUmakefile: Build NSNull and install header.
8404 * Documentation/gsdoc/GNUmakefile: Build NSNull documentation
8405 * Documentation/gsdoc/NSNull.gsdoc: NSNull documentation
8406
8407 2000-10-20 Richard Frith-Macdonald <rfm@gnu.org>
8408
8409 * Source/NSString.m: ([-initWithCharacters:length:]) use
8410 ([-initWithCStringNoCopy:length:freeWhenDone:]) if possible.
8411 * Source/GSString.m: Much tidying up. Added two new concrete
8412 classes for substrings.
8413 * Source/NSCalendarDate.m: ([-initWithString:calendarFormat:locale:])
8414 avoid any attempt to read beyond the supplied string.
8415
8416 2000-10-16 Richard Frith-Macdonald <rfm@gnu.org>
8417
8418 Attempts to make sure that when members of a class cluster are encoded
8419 (either for archiving or for sending over DO), they are encoded as
8420 the abstract class hiding the other classes in the cluster - this
8421 should mean that (in future) changes in the private concrete classes
8422 used should not effect existing archives and running DO applications.
8423 * Source/NSDate.m: Implement -classForCoder to encode as the
8424 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8425 in abstract class.
8426 * Source/NSDictionary.m: Implement -classForCoder to encode as the
8427 abstract class. Implement ([-encodeWithCoder:]) and ([-initWithCoder:])
8428 in abstract class.
8429 * Source/NSArray.m: Implement -classForCoder to encode as the abstract
8430 class.
8431 * Source/NSAttributedString.m: Implement -classForCoder to encode as
8432 the abstract class. Implement ([-encodeWithCoder:]) and
8433 ([-initWithCoder:]) in abstract class.
8434 * Source/NSGAttributedString.m: Remove coding/encoding stuff - now done
8435 in abstract class.
8436 * Source/NSNumber.m: Implement -classForCoder to encode numbers as the
8437 abstract class.
8438 Modified ([-encodeWithCoder:]) and ([-initWithCoder:]) to encode objc
8439 type when encoding as abstract class.
8440 * Source/NSConcreteNumber.m: Modified encoding method to mirror
8441 abstract class method. Old ([-initWithCoder:]) method retained to
8442 decode old format records from archives.
8443
8444 2000-10-11 Adam Fedor <fedor@gnu.org>
8445
8446 * Source/NSObject.m (+initialize): Initialize Window sockets
8447 on MINGW.
8448 * Source/libgnustep-base-entry.m (gnustep_base_socket_init):
8449 New function.
8450
8451 2000-10-10 Richard Frith-Macdonald <rfm@gnu.org>
8452
8453 * Source/GSString.m: fillHole() fixed error in copying bytes.
8454
8455 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8456
8457 * Source/NSGAttributedString.m: ([-setAttributes:range:])
8458 Fixed obscure bug - use ASSIGNCOPY rather than ASSIGN to prevent
8459 mutable dictionaries being placed in attributed string.
8460
8461 2000-10-09 Richard Frith-Macdonald <rfm@gnu.org>
8462
8463 Major rewrite of NSString.
8464 There was a fundamental architectural problem in the old
8465 implementation ... if you had an NSGMutableCString object,
8466 and used any method that appends (or replaces) characters in
8467 that string, there was a problem in that the characters being
8468 added may not be representable in the default character set.
8469
8470 This means that we needed the concrete mutable strring class to
8471 be able to mutate itsself from an 8-bit string to a 16-bit string
8472 when necessary (we can't just allocate a new object, because we
8473 have no way of returning it to the caller).
8474
8475 We could not handle this simply by changing the class pointer in
8476 the instance (and reallocating and modifying the memory actually
8477 storing the characters of course). The problem with this is that
8478 the method implementations of the object may have been cached in
8479 the user code (quite likely if you want high performance from a
8480 mutable string) - and subsequent use of those cached implementations
8481 would still try to treat the contents of the string as 8-bit characters.
8482
8483 The solution adopted was to make the standard mutable string class
8484 contain a flag to adjust its behavior so that each method treats
8485 the char data as either 8 or 16 bit.
8486 This makes for ugly code, partially tidied by use of inline functions.
8487
8488 For most of the methods implemented for the constant strings
8489 (rather than being inherited from the abstract class) we now
8490 have two inline functions for 8-bit and 16-bit implementations.
8491 The GSUString and GSCString objects have method implementations
8492 that simply called the appropriate function. The GSMString
8493 implementation of each method tests the flag and calls the
8494 appropriate inline function.
8495
8496 * Headers/gnustep/base/NSString.h: Remove NSGCString, NSGString,
8497 NSGMutableCStrng and NSGMutableString. Add GSString interface and
8498 new version of NXConstantString interface.
8499 * Headers/gnustep/base/fast.x: Remove string caching information.
8500 * Source/GNUmakefile: Don't build old concrete strings or install
8501 their headers. Do build new concrete string (GSString.m)
8502 * Source/GSCompatibility.m: Don't use private concrete strings.
8503 * Source/GSeq.h: Various modifications for new string classes.
8504 * Source/NSArray.m: Don't use private concrete strings.
8505 * Source/NSData.m: Don't use private concrete strings.
8506 * Source/NSDictionary.m: Don't use private concrete strings.
8507 * Source/NSGAttributedString.m: Don't use private concrete strings.
8508 * Source/NSGCString.m: No longer used.
8509 * Source/NSGDictionary.m: Don't use private concrete strings.
8510 * Source/NSGString.m: No longer used.
8511 * Source/NSNotificationCenter.m: Don't use private concrete strings.
8512 * Source/NSObjCRuntime.m: Don't use private concrete strings.
8513 * Source/NSObject.m: Don't cache string information.
8514 * Source/NSScanner.m: Modified to use new concrete strings.
8515 * Source/NSSerializer.m: Modified to use new concrete strings.
8516 * Source/NSString.m: Modified to use new concrete strings. Rewrote
8517 various methods to work in terms of the primitive string methods.
8518 Implemented encoding and decoding at this level so we don't encode
8519 concrete string classes in archives.
8520 * Source/externs.m: Modified to use new concrete strings.
8521 * Source/propList.h: Modified to use new concrete strings.
8522 * Source/GSString.m: New string classes, plus decoding for old ones.
8523
8524 2000-10-05 Richard Frith-Macdonald <rfm@gnu.org>
8525
8526 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Replace
8527 DEFS (lost in last change) to set default paths for NSBundle etc.
8528 * Source/NSString.m: Minor range fixes.
8529 * Source/NSGString.m: initialisation fixes.
8530
8531 2000-10-04 Adam Fedor <fedor@gnu.org>
8532
8533 * Source/Makefile.preamble (ADDITIONAL_CPPFLAGS): Add
8534 CONFIG_SYSTEM_DEFS.
8535
8536 2000-10-05 Fred Kiefer <FredKiefer@gmx.de>
8537
8538 * Source/Unicode.m:
8539 Changed available encodings if HAVE_ICONV is defined. This is
8540 still a static definition.
8541
8542 2000-10-02 Adam Fedor <fedor@gnu.org>
8543
8544 * configure.in: Update required libxml version to 2.2.3
8545
8546 2000-09-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
8547
8548 * Source/NSDistantObject.m ([GSDistantObjectPlaceHolder
8549 +respondsToSelector:]): implemented.
8550 * Source/NSProcessInfo.m ([NSProcessInfo +load]): bug fix for FreeBSD.
8551 * configure.in: enable_fake_main not enabled by default for FreeBSD-elf
8552
8553 2000-09-30 Fred Kiefer <FredKiefer@gmx.de>
8554
8555 * Headers/gnustep/base/Unicode.h:
8556 Merged in GetDefEncoding.h
8557 New function GetAvailableEncodings.
8558 * Source/Unicode.m:
8559 Merged in GetDefEncoding.m
8560 New function GetAvailableEncodings.
8561 Updated the encoding arrays.
8562 * Headers/gnustep/base/GetDefEncoding.h:
8563 * Source/GetDefEncoding.m:
8564 This are now obsolete and therfore removed.
8565 * Source/NSString.m:
8566 Use GetAvailableEncodings in [availableStringEncodings]
8567
8568 2000-09-30 Richard Frith-Macdonald <rfm@gnu.org>
8569
8570 * Source/NSString.m: ([-initWithUTFString:length:]),
8571 ([-initWithData:encoding]) create UTF strings as 8-bit strings if
8572 they actually only contain ascii characters.
8573 * Source/GSXML.m: Create strings from UTF8 data throughout.
8574 * Headers/gnustep/base/NSObject.h: (CREATE_AUTORELEASE_POOL) use +new
8575 to avoid a message despatch overhead (combine allocWithZone and init).
8576
8577 2000-09-29 Richard Frith-Macdonald <rfm@gnu.org>
8578
8579 * Source/GSCompatibility.m: Fix stupid error in last modification -
8580 missed part of method name.
8581 * Source/GNUmakefile: Fix to get headers installed in
8582 $(GNUSTEP_SYSTEM_ROOT)/Headers/Foundation again.
8583 * Source/Makefile.postamble: Add code to install headers in
8584 $(GNUSTEP_SYSTEM_ROOT)/Headers/gnustep/Foundation as well - is this
8585 really necessary?
8586 * Headers/Foundation/GSXML.h: Removed new methods used for HTML parser
8587 * Source/GSXML.m: Renamed internal methods for xml/html parser
8588 differentiation and declared in private interface. Tidied to conform
8589 to coding standards. Added casts to prevent compiler warnings.
8590 * Documentation/gsdoc/GSXML.gsdoc: added html parser info
8591
8592 2000-09-29 Manuel Guesdon <mguesdon@orange-concept.com>
8593 -- You'll need libxml2 v >= 2.2.3 to compile GSXML --
8594 * Headers/Foundation/GSXML.h: added GSHTMLParser and GSHTMLSAXHandler
8595 * Source/GSXML.m: added GSHTMLParser and GSHTMLSAXHandler
8596 use of _private member of parser context instead of user_data
8597 which is not a freely useable user_data in libxml
8598
8599 2000-09-27 Richard Frith-Macdonald <rfm@gnu.org>
8600
8601 * Source/GSCompatibility.m: Use OpenStep standard string initialisation.
8602 * Source/NSSerializer.m: Use OpenStep stanrd initializers.
8603 * Source/NSUnarchiver.m: ditto
8604 * Source/NSData.m: Simplify by removing memory management extensions.
8605 * Source/NSGCString.m: ditto
8606 * Source/NSGString.m: ditto
8607 * Source/NSObject.m: ditto
8608 * Source/NSString.m: ditto
8609 * Source/externs.m: Removed unused NXConstantString assignments.
8610 * Source/GSXML.m: ([-propertiesAsDictionary]) bugfix adding nil object
8611 to dictionary. ([-externalSubset:externalID:systemID:]) method added.
8612 Fixes suggested by mguesdon@oxymium.net
8613
8614 2000-09-26 Lyndon Tremblay <humasect@home.com>
8615
8616 * Headers/Foundation/NSObject.h (CREATE_AUTORELEASE_POOL): Saves 1
8617 message call.
8618 (RECREATE_AUTORELEASE_POOL): Added to reuse existing variables.
8619
8620 2000-09-25 Richard Frith-Macdonald <rfm@gnu.org>
8621
8622 * Source/NSURLHandle.m: ([-addClient:]) ensure that clients are only
8623 recorded once.
8624 * Documentation/gsdoc/NSURLHandle.gsdoc: flesh out descriptions and
8625 add type and protocol information.
8626
8627 2000-09-24 Adam Fedor <fedor@gnu.org>
8628
8629 * configure.in: Check for rint in math library...
8630
8631 2000-09-22 Richard Frith-Macdonald <rfm@gnu.org>
8632
8633 * Headers/gnustep/base/NSData.h: Added URL methods.
8634 * Headers/gnustep/base/GSXML.h: Reorganized init methods in line with
8635 Manuels ideas but with naming consistent with other classes.
8636 * Source/NSData.m: Added URL methods.
8637 * Source/NSURL.m: First attempt (untested) at code to load data.
8638 tolerate URLs where the network part is missing and the '//' left out.
8639 * Source/GSXML.m: Reorganized init methods in line with
8640 Manuels ideas but with naming consistent with other classes.
8641 Correct methods for setting parser behavior for the object concerned
8642 rather than default behavior for all parsers.
8643 Support NSURL parsing.
8644 * Source/propList.h: Update for change in GSXMLParser API.
8645 * Documentation/gsdoc/GSXMLParser.gsdoc: update for new initialisation
8646 methods.
8647 * Source/NSArray.m: Put code in place to generate XML proplists
8648 * Source/NSDictionary.m: Put code in place to generate XML proplists
8649 * Source/GSCompatibility.m: Put code in place to generate XML proplists
8650 but disable it until working entity replacement is done.
8651
8652 2000-09-21 Adam Fedor <fedor@gnu.org>
8653
8654 * configure.in: Check for rint.
8655 * Source/GSCompatibility.m: Define rint if not available.
8656
8657 * Source/NSData.m (readContentsOfFile): Remove incorrectly used
8658 variable (MINGW).
8659 * Source/NSFileManager.m (-removeFileAtPath:handler:): Use more
8660 direct check if path is a dir.
8661 (directoryContentsAtPath): Likewise.
8662 (isExecutableFileAtPath): On MINGW, Return YES if a directory.
8663 (fileSystemRepresentationWithPath:): On MINGW, fix up paths that might
8664 come from Unix-like shells, like Cygwin bash, so they can be used with
8665 Windows functions.
8666 * Source/NSRunLoop.m (-acceptInputForMode:beforeDate:): On MINGW,
8667 check for errno==0 and continue as if there was no error.
8668 * Source/NSString.m (fileSystemRepresentation): Use NSFileManager's
8669 implementation.
8670 (getFileSystemRepresentation:): Likewise.
8671 (isAbsolutePath): Check fileSystemRepresentation.
8672 * Source/NSTask.m: Use fileSystemRepresentation instead of cString.
8673 * Source/NSUser.m (NSHomeDirectoryForUser): On MINGW, return nil
8674 if no home found.
8675 * Source/NSUser.m (pathForUser): Use GNUSTEP_ROOT if no user home
8676 found.
8677
8678 * Testing/nsconnection_client.m: Use impl of getopt for MINGW.
8679 * Testing/nsconnection_server.m: Likewise.
8680 * Testing/nsscanner.m: Likewise.
8681 * Testing/nstask.m: Launch an appropriate Windows task.
8682 * Testing/nsstring.m: Catch exception during inappropriate
8683 string replacement.
8684
8685 2000-09-21 Richard Frith-Macdonald <rfm@gnu.org>
8686
8687 * Headers/gnustep/base/NSURLHandle.h: tidy up.
8688 * Source/NSURLHandle.m: Implement class and add simple implementation
8689 of a concrete subclass for handling file URLs.
8690
8691 2000-09-20 Richard Frith-Macdonald <rfm@gnu.org>
8692
8693 * Headers/gnustep/base/GSXML.h: Added ([-parser:]) and removed
8694 redundant 'length' info from callbacks.
8695 * Source/GSXML.m: Added ([-parser:]), tidied ([-parser]), fixed
8696 scope of functions, and removed redundant 'length' info from callbacks.
8697 * Documenttion/gsdoc/GSXMLParser.gsdoc: document ([-parser:])
8698 * Documentation/gsdoc/GSSAXHandler.gsdoc: update for removal of
8699 redundant 'length' info on some callbacks.
8700 * Source/externs.m: Initialise strings using NSGCString because the
8701 NSString class +initialize method may not have completed when this
8702 is done - so NSString won't have cached its cocrete and abstract
8703 classes.
8704 * Source/GSCompatibility.m: Partial write of code to generate MacOS-X
8705 compatible (XML) property-list text.
8706 * Tools/gsdoc.m: Major (3 hours) effort to get code back to something
8707 vaguely like conformance with coding standards! Hope nothing got
8708 broken.
8709
8710 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8711
8712 * Headers/gnustep/base/GSXML.h:
8713 * Source/GSXML.m: Revert to earlier version to remove
8714 formatting/coding-standards errors, broken GSSAXHandler class,
8715 and complexity adding api additions.
8716 Continued integration of Michael Pakhantsovs code.
8717 Added Manuels +xmlEncodingStringForStringEncoding with tidying.
8718 Added Manuels -typeDescription with rewrite for performance.
8719 * Documenttion/gsdoc/GSXMLParser.gsdoc:
8720 added xmlEncodingStringForStringEncoding
8721 * Documenttion/gsdoc/GSXMLNode.gsdoc:
8722 added -typeDescription
8723 * Documentation/gsdoc/GSSAXHandler.gsdoc: added -parser method.
8724
8725 2000-09-19 Manuel Guesdon <mguesdon@orange-concept.com>
8726 You'll need libxml2 v >= 2.2.3 to compile GSXML
8727 * Source/GSXML.m & Headers/Foundation/GSXML.h:
8728 corrected bugs,
8729 added added non guessing construction methods in GSXMLParser
8730 added -typeDescription in GSXMLNode
8731 added +xmlEncodingStringForStringEncoding: in GSXMLParser
8732 added inParserContext:(void*)parserContext parameter for GSSAXHandler
8733
8734 2000-09-19 Richard Frith-Macdonald <rfm@gnu.org>
8735
8736 * Source/NSURLHandle.m: Implemented subclass registry.
8737
8738 2000-09-19 Fred Kiefer <FredKiefer@gmx.de>
8739
8740 * Headers/gnustep/base/Unicode.h:
8741 New functions encode_ustrtostr_strict() and encode_unitochar_strict()
8742 * Source/NSString.m:
8743 Impelemented [initWithUTF8String:]
8744 * Source/NSGCString.m:
8745 * Source/NSGString.m:
8746 Implemented method [dataUsingEncoding:allowLossyConversion:]
8747 * Source/Unicode.m:
8748 New strict methods for string conversion.
8749
8750 2000-09-15 Adam Fedor <fedor@gnu.org>
8751
8752 * configure.in: Turn off enable_fake_main if on MinGW.
8753
8754 * Source/WindowsFileHandle.m: New class.
8755 * Source/NSFileHandle.m: Use it on MinGW
8756 * Source/NSTask.m: Break into concrete subclasses for
8757 Unix and Windows.
8758
8759 * Source/NSProcessInfo.m: on MinGW, don't try to redefine
8760 __argv, __argc, etc.
8761 * Source/libgnustep_base_entry.m: Renamed from win32-entry.m
8762
8763 * Tools/gdnc.m: Don't fork on MinGW
8764 * Tools/gdomap.c: Define MINGW ifdef MINGW32.
8765
8766
8767 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8768
8769 * Source/GSXML.m: made method names more consistent.
8770 * Headers/gnustep/base/GSXML.h: made method names more consistent.
8771 * Documentation/gsdoc/GNUmakefile: Added GSXML files
8772 * Documentation/gsdoc/base.gsdoc: Added link to GSXML
8773 * Documentation/gsdoc/GSXML.gsdoc: Overview of XML parsing.
8774 * Documentation/gsdoc/GSSAXHandler.gsdoc: event parsing handler class.
8775 * Documentation/gsdoc/GSXMLAttribute.gsdoc: xml attribute wrapper.
8776 * Documentation/gsdoc/GSXMLDocument.gsdoc: xml document wrapper.
8777 * Documentation/gsdoc/GSXMLNamespace.gsdoc: xml namespace wrapper.
8778 * Documentation/gsdoc/GSXMLNode.gsdoc: xml node wrapper.
8779 * Documentation/gsdoc/GSXMLParser.gsdoc: xml parser wrapper.
8780
8781 2000-09-15 Richard Frith-Macdonald <rfm@gnu.org>
8782
8783 * Source/UnixFileHandle.m: conform to GCFinalization protocol.
8784
8785 2000-09-14 Adam Fedor <fedor@gnu.org>
8786
8787 * configure.in: Check for windows.h
8788
8789 2000-09-14 Richard Frith-Macdonald <rfm@gnu.org>
8790
8791 * Headers/gnustep/base/NSLock.h: conform to GCFinalization protocol.
8792 * Source/NSLock.m: deallocate mutex in gcFinalize. Don't raise an
8793 exception if mutex deallocation fails.
8794
8795 2000-09-13 Adam Fedor <fedor@gnu.org>
8796
8797 * Remove dependance on Source/Foundation link, additional MINGW ports.
8798 * Makefile.postamble (header-links): Remove Source/Foundation link.
8799 * Source/Makefile.preamble (HEADER_DIR): New variable.
8800 (ADDITIONAL_INCLUDE_DIRS): Include ../Headers.
8801 * Source/GNUmakefile (GENERATED_HEADERS): Change Foundation
8802 to $(HEADER_DIR).
8803 * Source/Makefile.postamble: Likewise.
8804
8805 * Source/GSTcpPost.m: Update to handle MINGW (mostly copied from
8806 gdomap.c).
8807 * Source/NSFileManager.m (-findNextFile): Check if lstat,
8808 geteuid implemented.
8809 * Source/NSHost.m: Change includes for MINGW.
8810 * Source/NSPortNameServer.m: Likewise.
8811 * Source/NSPipe.m (init): Port to MINGW.
8812
8813 * configure.in: Do preface.h substitutions here.
8814 * Source/Makefile.postamble (preface.h): Remove target.
8815
8816 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8817
8818 * Source/GSCompatibility.m: new file for MacOSX compatibility flags
8819 * Source/GNUmakefile: add GSCompatibility.m
8820 * Source/NSGeometry.m: Use GSMacOSXCompatibleGeometry() function to
8821 decide whether to produce MacOS-X format strings.
8822 * Source/propList.h: Parse MacOS-X format property lists as well as
8823 OpenStep format ones.
8824
8825 2000-09-12 Adam Fedor <fedor@gnu.org>
8826
8827 * configure.in: Check for symlin, readlink.
8828
8829 * Source/GNUmakefile: Don't compile UnixFileHandle.m on mingw.
8830 (Will create WindowsFileHandle later...).
8831
8832 * Source/NSFileManager.m (-createDirectoryAtPath:attributes:]):
8833 Create subpaths on mingw.
8834 (isDeletableFileAtPath:): Implement for mingw.
8835 (createSymbolicLinkAtPath): Implement only if HAVE_SYMLINK
8836 (pathContentOfSymbolicLinkAtPath): Implement only if HAVE_READLINK
8837
8838 2000-09-13 Fred Kiefer <FredKiefer@gmx.de>
8839
8840 * Headers/gnustep/base/Unicode.h:
8841 Make function encode_ustrtostr public
8842 * Headers/gnustep/base/NSString.h:
8843 Added extra encodings. Added missing methods
8844 * Source/NSString.m:
8845 Added basic implementation for missing methods
8846 [stringWithUTF8String:], [initWithUTF8String:], [UTF8String],
8847 [stringWithContentsOfURL:], [initWithContentsOfURL:],
8848 [writeToURL:atomically:], [localizedCaseInsensitiveCompare:],
8849 [localizedCompare:], [compare:options:range:locale:]
8850 * Source/NSGCString.m:
8851 [getCharacters:] and [getCharacters:range:] use higher level
8852 methods for conversion.
8853 * Source/Unicode.m:
8854 Added conversion with iconv, this needs HAVE_ICONV.
8855 Made normal conversions faster by unrolling the case switch.
8856
8857 2000-09-12 Richard Frith-Macdonald <rfm@gnu.org>
8858
8859 * Makefile.postamble (header-links): Restore functionality on unix
8860 lost in last change, also (for MINGW) copy header files to the
8861 Source/Foundation directory in addition to Headers/Foundation.
8862 * Source/NSConnection.m: Address problems reported by georg@ist.org ...
8863 ([-connectionWithRegisteredName:host:usingNameServer:]) avoid returning
8864 local server connection - create new connection to it if necessary.
8865 ([-rootProxy]) return root object if sent to server connection.
8866 Also added some more debug statements.
8867 * Source/NSDistantObject.m: ([-methodForSelector:]) implemented to
8868 (hopefully) fix problem in pasteboard stuff.
8869
8870 2000-09-11 Adam Fedor <fedor@gnu.org>
8871
8872 * Mingw fixes.
8873 * Makefile.postamble (header-links): if MINGW, copy header files
8874 to Foundation (Mingw's gcc can't handle links).
8875
8876 * Source/mframe/configure.in: Check target, not host.
8877
8878 * Source/NSDate.m (GSTimeNow): Fix typo.
8879
8880 * Source/NSData.m (readContentsOfFile): Fix up vars for MINGW.
8881 (-writeToFile:atomically:): Likewise.
8882
8883 2000-09-11 Richard Frith-Macdonald <rfm@gnu.org>
8884
8885 * Headers/gnustep/base/GSXML.h: new classes for parsing XML
8886 * Source/GSXML.m: new classes for parsing XML
8887 * Source/Makefile.preamble: Define HAVE_LIBXML if appropriate.
8888 * Source/GNUMakefile: Build new classes if appropriate.
8889 * Tools/Makefile.preamble: Removed libxml stuff - now done globally.
8890
8891 2000-09-10 Richard Frith-Macdonald <rfm@gnu.org>
8892
8893 * Source/NSCalendarDate: ([-initWithString:calendarFormat:locale:])
8894 modify parsing to be more tolerant of numeric fields that are smaller
8895 than the expected size, but warn about unexpected format.
8896
8897 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8898
8899 * Source/NSAttributedString.m: Make -description produce output in
8900 same format as MacOS-X
8901 * Source/NSDistributedNotificationCenter.m: update method return
8902 types for macOS-X complience.
8903 * Headers/gnustep/base/NSDistributedNotificationCenter.h: ditto.
8904
8905 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8906
8907 * Source/NSGString.m: Removed obsolete methods and added range checks.
8908 * Source/NSGCString.m: ditto.
8909 * Source/NSAttributedString.m: Fix fencepost error in -description.
8910
8911 2000-09-08 Richard Frith-Macdonald <rfm@gnu.org>
8912
8913 * Source/NSRunLoop.m: ([-_checkPerformers:]) When a loop executes the
8914 method to deal with a ([-performSelector:target:argument:order:modes]),
8915 we cancel the request rather than leaving it to be actioned again next
8916 time round the loop.
8917
8918 2000-09-07 Richard Frith-Macdonald <rfm@gnu.org>
8919
8920 * Source/NSGeometry.m: Add code to parse MacOS-X format strings.
8921 Also produce MacOS-X format strings if the GSMacOSXCompatibleGeometry
8922 or GSMacOSXCompatible default is YES (the former overrides the latter).
8923 * Source/NSException.m: ([-name]) and ([-reason]) modifide to ensure
8924 that a nil is never returned.
8925
8926 2000-09-01 Fred Kiefer <FredKiefer@gmx.de>
8927
8928 * Headers/gnustep/base/NSString.h:
8929 Added new encodings from specification
8930 * Headers/gnustep/base/NSNumberFormatter.h:
8931 * Source/NSNumberFormatter.m:
8932 Added skeleton for this class
8933 *Source/GNUmakefile:
8934 Added NSNumberFormatter.[hm]
8935
8936 2000-08-27 Manuel Guesdon <mguesdon@orange-concept.com>
8937
8938 * Tools/gsdoc-0_6_6.dtd: added elements for gnustep-db doc generator
8939 * Tools/gsdoc.m: handle gnustep-db doc generator
8940
8941 2000-08-24 Manuel Guesdon <mguesdon@orange-concept.com>
8942
8943 * Tools/gsdoc-0_6_6.dtd: added prjref element which enable explicit
8944 links between projects
8945 * Tools/gsdoc.m: handle prjref
8946 remove extensions from files in gsdocrefs
8947 (one day we'll generate other formats :-)
8948
8949 2000-08-23 Fred Kiefer <FredKiefer@gmx.de>
8950
8951 * Headers/gnustep/base/NSDecimal.h:
8952 Use signed char for exponent, as char may be unsigned on some machines
8953 * Source/NSDecimal.m:
8954 Corrected some bugs and added a basic implementation based on GMP
8955 (Still not complete)
8956
8957 2000-08-23 Adam Fedor <fedor@gnu.org>
8958
8959 * Source/NSDebug.m (NSFrameAddress): New function
8960 (NSReturnAddress): Likewise.
8961 (NSCountFrames): Likewise. (impementation from alex@orderfusion.com).
8962
8963 2000-08-16 Manuel Guesdon <mguesdon@orange-concept.com>
8964
8965 * Tools/gsdoc-0_6_6.dtd: added conform for category
8966 * Tools/gsdoc.m: correct bugs and added inter/intra-projects
8967 link generations
8968 * Tools/AutoDocTemplate.gsdoc: correct problems
8969 * Tools/indextemplate.gsdoc: correct problems
8970
8971 2000-08-16 Richard Frith-Macdonald <rfm@gnu.org>
8972
8973 * Source/NSDebug.m: Fix memory leak when adding new class to array
8974 of those being recorded - report by Frederic.De.Jaeger
8975
8976 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8977
8978 * Tools/gsdoc.gsdoc: added examples on how to use AutoDoc and GSDoc.
8979
8980 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8981
8982 * Tools/GNUmakefile: added DocTemplates
8983 * Tools/Makefile.postamble: added DocTemplates
8984 * Tools/indextemplate.gsdoc: New file. Use it as template for
8985 gsdoc index generation
8986 * Tools/AutoDocTemplate.gsdoc: New File: Use it as template for AutoDoc
8987 source-to-documentation generation.
8988
8989 2000-08-13 Manuel Guesdon <mguesdon@orange-concept.com>
8990
8991 * Tools/gsdoc-0_6_6.dtd: added ivariable, constant and stylesheet
8992 * Tools/gsdoc.m: added ivariable, constant and stylesheet support
8993 added index generation
8994 * Tools/gsdoc.gsdoc: added parameters documentation
8995
8996 2000-08-13 Richard Frith-Macdonald <rfm@gnu.org>
8997
8998 * Documentation/gsdoc/NSString.gsdoc: add documentation for replacing
8999 strings within the reciever.
9000 * Documentation/gsdoc/NSMutableString.gsdoc: ditto
9001
9002 2000-08-08 Richard Frith-Macdonald <rfm@gnu.org>
9003
9004 * Headers/gnustep/base/all.h: Moved to Old as obsolete file.
9005 * Headers/gnustep/base/Arch: dittoiver.m
9006 * Headers/gnustep/base/Archiver.h: ditto
9007 * Headers/gnustep/base/Array.h: ditto
9008 * Headers/gnustep/base/ArrayPrivate.h: ditto
9009 * Headers/gnustep/base/Bag.h: ditto
9010 * Headers/gnustep/base/BinaryCStream.h: ditto
9011 * Headers/gnustep/base/BinaryTree.h: ditto
9012 * Headers/gnustep/base/BinaryTreeNode.h: ditto
9013 * Headers/gnustep/base/CircularArray.h: ditto
9014 * Headers/gnustep/base/CircularArrayPrivate.h: ditto
9015 * Headers/gnustep/base/Coder.h: ditto
9016 * Headers/gnustep/base/CoderPrivate.h: ditto
9017 * Headers/gnustep/base/Coding.h: ditto
9018 * Headers/gnustep/base/Collecting.h: ditto
9019 * Headers/gnustep/base/Collection.h: ditto
9020 * Headers/gnustep/base/CollectionPrivate.h: ditto
9021 * Headers/gnustep/base/CStream.h: ditto
9022 * Headers/gnustep/base/CStreaming.h: ditto
9023 * Headers/gnustep/base/DelegatePool.h: ditto
9024 * Headers/gnustep/base/Dictionary.h: ditto
9025 * Headers/gnustep/base/Enumerating.h: ditto
9026 * Headers/gnustep/base/GapArray.h: ditto
9027 * Headers/gnustep/base/GapArrayPrivate.h: ditto
9028 * Headers/gnustep/base/Heap.h: ditto
9029 * Headers/gnustep/base/IndexedCollecting.h: ditto
9030 * Headers/gnustep/base/IndexedCollection.h: ditto
9031 * Headers/gnustep/base/IndexedCollectionPrivate.h: ditto
9032 * Headers/gnustep/base/InvalidationListening.h: ditto
9033 * Headers/gnustep/base/Invocation.h: ditto
9034 * Headers/gnustep/base/Invoking.h: ditto
9035 * Headers/gnustep/base/KeyedCollecting.h: ditto
9036 * Headers/gnustep/base/KeyedCollection.h: ditto
9037 * Headers/gnustep/base/LinkedList.h: ditto
9038 * Headers/gnustep/base/LinkedListNode.h: ditto
9039 * Headers/gnustep/base/Locking.h: ditto
9040 * Headers/gnustep/base/Mach: dittoPort.m
9041 * Headers/gnustep/base/MachPort.h: ditto
9042 * Headers/gnustep/base/Magnitude.h: ditto
9043 * Headers/gnustep/base/MappedCollector.h: ditto
9044 * Headers/gnustep/base/MemoryStream.h: ditto
9045 * Headers/gnustep/base/NotificationDispatch: dittoer.m
9046 * Headers/gnustep/base/NotificationDispatcher.h: ditto
9047 * Headers/gnustep/base/OldNSConnection.h: ditto
9048 * Headers/gnustep/base/OldNSPortCoder.h: ditto
9049 * Headers/gnustep/base/OrderedCollecting.h: ditto
9050 * Headers/gnustep/base/OrderedCollection.h: ditto
9051 * Headers/gnustep/base/Ordering.h: ditto
9052 * Headers/gnustep/base/Port.h: ditto
9053 * Headers/gnustep/base/Queue.h: ditto
9054 * Headers/gnustep/base/RandomGenerating.h: ditto
9055 * Headers/gnustep/base/Random.h: ditto
9056 * Headers/gnustep/base/RawCStream.h: ditto
9057 * Headers/gnustep/base/RBTree.h: ditto
9058 * Headers/gnustep/base/RBTreeNode.h: ditto
9059 * Headers/gnustep/base/Retaining.h: ditto
9060 * Headers/gnustep/base/RNGAdditiveCongruential.h: ditto
9061 * Headers/gnustep/base/RNGBerkeley.h: ditto
9062 * Headers/gnustep/base/RunLoop.h: ditto
9063 * Headers/gnustep/base/Set.h: ditto
9064 * Headers/gnustep/base/SplayTree.h: ditto
9065 * Headers/gnustep/base/Stack.h: ditto
9066 * Headers/gnustep/base/StdioStream.h: ditto
9067 * Headers/gnustep/base/Stream.h: ditto
9068 * Headers/gnustep/base/Streaming.h: ditto
9069 * Headers/gnustep/base/TcpPort.h: ditto
9070 * Headers/gnustep/base/TextCStream.h: ditto
9071 * Headers/gnustep/base/Time.h: ditto
9072 * Headers/gnustep/base/UdpPort.h: ditto
9073 * Headers/gnustep/base/ValueHolding.h: ditto
9074 * Source/Array.m: ditto
9075 * Source/Bag.m: ditto
9076 * Source/BinaryCStream.m: ditto
9077 * Source/BinaryTree.m: ditto
9078 * Source/BinaryTreeNode.m: ditto
9079 * Source/CircularArray.m: ditto
9080 * Source/Coder.m: ditto
9081 * Source/Collection.m: ditto
9082 * Source/CStream.m: ditto
9083 * Source/Decoder.m: ditto
9084 * Source/DelegatePool.m: ditto
9085 * Source/Dictionary.m: ditto
9086 * Source/Encoder.m: ditto
9087 * Source/GapArray.m: ditto
9088 * Source/Heap.m: ditto
9089 * Source/IndexedCollection.m: ditto
9090 * Source/Invocation.m: ditto
9091 * Source/KeyedCollection.m: ditto
9092 * Source/LinkedList.m: ditto
9093 * Source/LinkedListNode.m: ditto
9094 * Source/Magnitude.m: ditto
9095 * Source/MappedCollector.m: ditto
9096 * Source/MemoryStream.m: ditto
9097 * Source/OldNSConnection.m: ditto
9098 * Source/OldNSPortCoder.m: ditto
9099 * Source/OrderedCollection.m: ditto
9100 * Source/Port.m: ditto
9101 * Source/Queue.m: ditto
9102 * Source/Random.m: ditto
9103 * Source/RawCStream.m: ditto
9104 * Source/RBTree.m: ditto
9105 * Source/RBTreeNode.m: ditto
9106 * Source/RNGAdditiveCongruential.m: ditto
9107 * Source/RNGBerkeley.m: ditto
9108 * Source/Set.m: ditto
9109 * Source/SplayTree.m: ditto
9110 * Source/Stack.m: ditto
9111 * Source/StdioStream.m: ditto
9112 * Source/Stream.m: ditto
9113 * Source/TcpPort.m: ditto
9114 * Source/TextCStream.m: ditto
9115 * Source/UdpPort.m: ditto
9116 * Testing/cstream.m: ditto
9117 * Testing/invocation_char.m: ditto
9118 * Testing/invocation_int.m: ditto
9119 * Testing/invocation_long.m: ditto
9120 * Testing/invocation.m: ditto
9121 * Testing/invocation_short.m: ditto
9122 * Testing/ostream.h: ditto
9123 * Testing/ostream.m: ditto
9124 * Testing/pipes.m: ditto
9125
9126 2000-08-07 Adam Fedor <fedor@gnu.org>
9127
9128 * Merge 0.6.6 branch into main.
9129
9130 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9131
9132 * Tools/gdomap.c: Permit dumping of internal table of known peer
9133 nameservers when sent SIGUSR1
9134
9135 2000-07-20 Richard Frith-Macdonald <rfm@gnu.org>
9136
9137 * Tools/gdomap.c: Bugfix for GDO_NAMES (patch provided by Bjoern)
9138
9139 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9140
9141 * Tools/gdomap.h: Add new GDO_NAMES command.
9142 * Tools/gdomap.c: Incorporate MINGW port by Bjoern.Giesler@gmx.de
9143 after modifications to conform to coding standards.
9144 Add GDO_NAMES support to list all registered names.
9145
9146 2000-07-16 Fred Kiefer <FredKiefer@gmx.de>
9147
9148 * Headers/gnustep/base/NSDecimal.h:
9149 * Headers/gnustep/base/NSDecimalNumber.h:
9150 Included missing functions and changed type definition.
9151 * Source/NSDecimal.m:
9152 Basic implementation of NSDecimal. An implementation using GMP
9153 will follow.
9154 * Source/NSDecimalNumber.m:
9155 Use the NSDecimal functions for this class
9156 * Source/GNUMakefile:
9157 Add NSDecimal and NSDecimalNumber
9158
9159 2000-08-06 Adam Fedor <fedor@gnu.org>
9160
9161 * Version 0.6.6 released.
9162
9163 * Source/NSTimer.m (-compare:): Add return to quiet warning.
9164
9165 2000-08-04 Richard Frith-Macdonald <rfm@gnu.org>
9166
9167 * Source/NSPortNameServer.m: include netinet/in.h as needed on
9168 FreeBSD to define values used in arpa/inet.h
9169
9170 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9171
9172 * Source/NSHost: ([_initWithHostEntry:key:]) workaround for buggy
9173 host entries with missing h_aliases
9174
9175 2000-08-03 Richard Frith-Macdonald <rfm@gnu.org>
9176
9177 * NSTimeZones/NSTimeZones.tar: Updated to latest (July 31st) info
9178
9179 2000-08-02 Adam Fedor <fedor@gnu.org>
9180
9181 * Version: Update version number
9182 * Documentation/announce.tmpl.texi: Update
9183 * Documentation/readme.tmpl.texi: Likewise.
9184 * Documentation/news.tmpl.texi: Likewise.
9185 * Documentation/todo.tmpl.texi: Likewise.
9186 * ANNOUNCE, BUGS, NEWS, README: Regenerate
9187
9188 2000-08-02 Adam Fedor <fedor@gnu.org>
9189
9190 * Testing/nsconnection_client.m: Rewrite, organize.
9191 * Testing/nsconnection_server.m: Likewise.
9192
9193 2000-08-02 Richard Frith-Macdonald <rfm@gnu.org>
9194
9195 * Source/GSTcpPort.m: ([-removeHandle:]) corrected logic for releasing
9196 self when port was created and retained by an incoming connection.
9197
9198 2000-08-01 Adam Fedor <fedor@gnu.org>
9199
9200 * Source/NSConcreteNumber.m (-compare:): Add return at end to quiet
9201 compiler warning.
9202
9203 * Source/NSFileHandle.m: Change +fileHandle... methods to use
9204 abstracts class's allocWithZone.
9205
9206 * Source/libgnustep-base.def: Update for new/removed classes.
9207
9208 2000-08-01 Richard Frith-Macdonald <rfm@gnu.org>
9209
9210 * Source/NSCalendarDate.m: Correct order of args to
9211 lastDayOfGregorianMonth()
9212 * Source/NSPortCoder.m: Handle classes encoded as objects specially.
9213 * Source/NSArchiver.m: ditto.
9214 * Source/NNSUnarchiver.m: ditto.
9215
9216 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9217
9218 * Source/Foundation/NSDebug.h: removed GS_IMPORT
9219 * Source/Foundation/NSObjCRuntime.h: ditto
9220 * Source/Foundation/GSConfig.h.in: ditto
9221
9222 2000-07-31 Richard Frith-Macdonald <rfm@gnu.org>
9223
9224 * Source/NSString.m: implement -cStringLength correctly in terms of
9225 other methods of the abstract class, rather than making the subclass
9226 do it. Cache [-characterAtIndex:] implementation for speed
9227 throughout.
9228 * Source/Unicode.m: Remove uslen() function - unused and unsafe.
9229 Tidied code and optimised a little.
9230 * Source/Foundation/Unicode.h: Remove uslen()
9231 * Source/NSNumber.m: Check for nul argument to [-compare:]
9232 * Source/NSDate.m: ditto
9233 * Source/NSObject.m: ditto
9234 * Source/NSConcreteNumber.m: ditto
9235 * Source/NSTimer.m: ditto
9236
9237 2000-07-30 Richard Frith-Macdonald <rfm@gnu.org>
9238
9239 * Tools/nconnection.m: Trivial test of basic inter-thread use of
9240 DO taken from example code in Applde documentation.
9241
9242 2000-07-29 Richard Frith-Macdonald <rfm@gnu.org>
9243
9244 Varous cluster classes - Bugfix to let allocWithZone work for
9245 new concrete subclasses in the cluster.
9246 * Source/NSPortCoder.m: Accept classes when asked to decode object.
9247 * Source/NSUnarchiver.m: ditto.
9248
9249 2000-07-28 Richard Frith-Macdonald <rfm@gnu.org>
9250
9251 * Source/NSConnection.m: Don't create/use locks until the app
9252 goes multi-threaded.
9253 * Source/GSTcpPort.m: ditto.
9254
9255 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9256
9257 * Source/GSTcpPort.m: Fix stupid error in last bugfix
9258 * Source/Foundation/GSConfig.h.in: define GS_SIZEOF_VOIDP
9259 * configure.in: provide GS_SIZEOF_VOIDP
9260
9261 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9262
9263 * Source/NSThread.m: clarify code for getting current thread.
9264
9265 2000-07-27 Richard Frith-Macdonald <rfm@gnu.org>
9266
9267 * Source/Foundation/NSDebug.h: Bugfix reported by Frederic.De.Jaeger
9268 to prevent incorrect processor handling of cases where logging format
9269 string has no arguments.
9270
9271 2000-07-26 Richard Frith-Macdonald <rfm@gnu.org>
9272
9273 * Source/GSTcpPort.m: When given bad data on a socket, log a message
9274 and invalidate the socket handle rather than raising an exception
9275 and crashing. Should make system more robust in the face of attacks.
9276
9277 2000-07-24 Adam Fedor <fedor@gnu.org>
9278
9279 * Source/GSTcpPort.m
9280 (-sendBeforeDate:msgid:components:from:reserved:]): Correct typo.
9281
9282 2000-07-24 Richard Frith-Macdonald <rfm@gnu.org>
9283
9284 Testing directory tidied to reflect removal of old classes.
9285 * Source/NSTimer.m: Tidied a little.
9286
9287 2000-07-23 Richard Frith-Macdonald <rfm@gnu.org>
9288
9289 Old DO code removed along with associated libObjects classes that it
9290 required - library slimmed down.
9291
9292 2000-07-21 Richard Frith-Macdonald <rfm@gnu.org>
9293
9294 * Source/NSGCString.m: implement methods to get numeric values.
9295 * Source/NSGString.m: implement methods to get numeric values.
9296
9297 2000-07-19 Adam Fedor <fedor@gnu.org>
9298
9299 * Documentation/news.tmpl.texi: Update.
9300 * Documentation/todo.tmpl.texi: Update.
9301
9302 2000-07-18 Richard Frith-Macdonald <rfm@gnu.org>
9303
9304 * Tools/Makefile.postamble: Improve warning messages for gdomap install
9305 * Source/NSProcessInfo.m: Change __MINGW32__ to __MINGW__
9306 * Source/GSTcpPort.m: improve encoding of local port for send over wire
9307
9308 2000-07-17 Adam Fedor <fedor@gnu.org>
9309
9310 * Source/NSZone.m: Remove duplicate function definitions (when
9311 GS_WITH_GC is 1) already defined in NSZone.h.
9312
9313 2000-07-17 Richard Frith-Macdonald <rfm@gnu.org>
9314
9315 * Source/externs.m: Some evil casts to avoid compiler warnings about
9316 assigning to constant variables when we initiallise them.
9317 * Source/NSGSet.m: implemented [-anyObject] and [-allObjects]
9318 * Source/NSSet.m: Fix to encode subclasses as abstract class.
9319 Remove unused methods for set/get concrete class
9320 * Source/NSCountedSet.m: ditto
9321 * Source/NSNumber.m: Use explicitly signed types for portability -
9322 particularly for systems (eg PPC) where char is not signed by default.
9323 * Source/NSConcrete.m: ditto.
9324 * Source/NSConcreteNumber.m: ditto.
9325 * Source/Foundation/NSValue.h: ditto
9326 * Source/Foundation/NSConcreteNumber.h: ditto
9327 * Source/NSArray.m: Remove unused methods for set/get concrete class
9328 * Source/NSDictionary.m: ditto.
9329 * Source/NSString.m: ditto.
9330 * Source/NSAttributedString.m: ditto.
9331 * Source/NSHost.m: store names and addresses in sets for improved
9332 performance (comparisons).
9333 Encode host as an address other than loopback if possible.
9334 Add code for a new '+localHost' method to try to get ALL
9335 names/addresses of current host.
9336 * Source/NSPortNameServer.m: Use new localHost method.
9337 * Source/GSTcpPort.m: Use new localHost method.
9338
9339 2000-07-16 Adam Fedor <fedor@gnu.org>
9340
9341 * Tools/GNUmakefile (gdomap): Make as a C-tool rather than an
9342 Objective-C program (no need for libobjc).
9343
9344 2000-07-07 Jonathan Gapen <jagapen@home.com>
9345
9346 * Source/NSString.m: (-initWithFormat:), (-initWithFormat:locale:),
9347 (-initWithFormat:arguments:) now implemented by calling
9348 (-initWithFormat:locale:arguments:)
9349 * Source/externs.m: Add strings defined in MacOS X documentation,
9350 and useful strings from OPENSTEP 4.2.
9351
9352 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9353
9354 * Source/GSTcpPort.m: set size for return buffer of getsockbyname()
9355
9356 2000-07-07 Richard Frith-Macdonald <rfm@gnu.org>
9357
9358 * Source/NSRunLoop.m: Minor optimisation in select(), also update
9359 servicing oorder of inputs to provide fairer allocation of processing.
9360
9361 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9362
9363 * Source/NSConnection.m: Some thread safety improvements.
9364
9365 2000-07-06 Richard Frith-Macdonald <rfm@gnu.org>
9366
9367 * Source/GSTcpPort.m: Add code to cope with machines requiring word
9368 alignment for memory references.
9369
9370 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9371
9372 * Tools/Makefile.postabmle: Create directory for DTDs if needed
9373
9374 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9375
9376 * Source/GSTcpHandle.m: fix error resetting size of data to be read -
9377 could cause occasional crashes!
9378
9379 2000-07-05 Richard Frith-Macdonald <rfm@gnu.org>
9380
9381 * Source/NSConnection.m: Update to use GSIMap rather than NSMap in
9382 order to regain performance lost by adding code to ensure that reply
9383 packets cannot be leaked. Fixed error in old connection code - due
9384 to a typing error a line had got deleted that was removing the
9385 connection from the global table on deallocation.
9386 * Source/NSPortNameServer.m: Fix to avoid errors when given bad
9387 nameserver IP address info.
9388
9389 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9390
9391 * Makefile.preamble: define GS_NEW_DO to specify whether the
9392 new or the old DO code is to be used. Change the define and
9393 rebuild the library if you need the old DO code.
9394 Advantages of new code -
9395 MacOS-X compatibly
9396 Should work between different processor architectures and word sizes
9397 Might work for inter-thread communication
9398 Approx 25% faster
9399 Permit packet authentication/encryption
9400 Disadvantages -
9401 not well tested - development version
9402 removed many old methods.
9403 * Headers/gnustep/base/GSConnection.h: removed - merged into
9404 NSConnection.h
9405 * Headers/gnustep/base/GSPortCoder.h: removed - merged into
9406 NSPortCoder.h
9407 * Source/GSConnection.m: removed - merged into NSConnection.m
9408 * Source/GSPortCoder.m: removed - merged into NSPortCoder.m
9409 * Source/NSPortNameServer.m: Use GS_NEW_DO define to determine
9410 default port class
9411 * Documentation/gsdoc/NSConnection.gsdoc: Added descriptions of
9412 all the methods in the new implementation. The class is
9413 perilously close to being fully documented!
9414 * Documentation/gsdoc/...: updated all files to use new dtd.
9415
9416 2000-07-04 Richard Frith-Macdonald <rfm@gnu.org>
9417
9418 * Source/GSConnection.m: Improved coder caching and added code for
9419 multiple thread support.
9420 * Source/GSPortCoder.m: Improved performance of class version
9421 lookup and tidied.
9422 * Source/GSTcpPort.m: Ensure we don't remain in the run loop any
9423 longer than necessary.
9424 * Source/NSArchiver.m: minor tidyup
9425 * Source/NSDistantObject.m: minor performance tweak
9426 * Source/NSUnarchiver.m: minor tidyup.
9427 * Source/NSPortNameServer.m: Update for MacOS-X
9428
9429 2000-07-03 Richard Frith-Macdonald <rfm@gnu.org>
9430
9431 * Source/GSConnection.m: Cache coders fro performance.
9432 * Source/GSPortCoder.m: support re-use.
9433 * Source/GSTcpPort.m: tidy locking.
9434 * Source/NSData.m: optimize +new
9435 * Source/NSGCString.m: optimize -hash
9436 * Source/NSGDictionary.m: optimize string hashing
9437 * SourceNSObject.m: Call GSBuildStrings() for global constants.
9438 * Source/NSPort.m: Create GSTcpPort by default.
9439 * Source/externs.m: GSBuildStrings() now used to make string
9440 constants that support cached hash values
9441 * Testing/client.m: Added simple benchmarking.
9442 * Testing/server.m: Added method for simple benchmarking.
9443 * Testing/server.h: Added method for simple benchmarking.
9444 * Tools/gdnc.m: String OPENSTEP use of DO
9445
9446 2000-07-02 Richard Frith-Macdonald <rfm@gnu.org>
9447
9448 * Source/GSConnection.m: Implementation almost complete
9449 * Source/GSPortCoder.m: Completed
9450 * Source/GSTcpPort.m: tidied for MacOS-X compatibility
9451 * Source/NSArchiver.m: Bugfix encoding structures containing arrays
9452 * Source/NSData.m: minor tidy
9453 * Source/NSDistantObject.m: update for new implementation
9454 * Source/NSInvocation.m: bugfix decoding
9455 * Source/NSPort.m: update for MacOS-X complience
9456 * Source/NSPortNameServer.m: tidied
9457 * Testing/client.m: Update
9458 * Testing/server.m: update
9459
9460 2000-06-30 Adam Fedor <fedor@gnu.org>
9461
9462 libgstep-base now compiles (and links) into a DLL on Cygwin.
9463 * configure.in: Typo in checking for cygwin.
9464
9465 * Headers/gnustep/base/NSHashTable.h: GS_EXPORT functions.
9466 * Headers/gnustep/base/NSMapTable.h: Likewise.
9467
9468 * Source/Makefile.postamble (libgnustep-base.def) Target to generate
9469 def file.
9470 * Source/libgnustep-base.def: Updated.
9471
9472 * Source/NSProcessInfo.m: Error message if GS_PASS_ARGUMENTS. Don't
9473 define main if GS_PASS_ARGUMENTS.
9474
9475 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9476
9477 * Headers/gnustep/base/NSDate.h: Added GSTime() function
9478 * Source/NSDate.m: More efficient MINGW date creation
9479 * Source/NSCalendarDate.m: optimised date creation from yymmddhhmmss
9480 * Source/NSData.m: MINGW file read and write operations added (untested)
9481 * Source/NSFileManager.m: MINGW file operations updated.
9482
9483 2000-06-30 Richard Frith-Macdonald <rfm@gnu.org>
9484
9485 Coding/decoding modifications to make system more in line with
9486 OPENSTEP/MacOS-X. Tidyup of global string constants. Advanced
9487 development of DO rewrite.
9488 * Headers/gnustep/base/DistributedObjects.h: removed obsolete info
9489 * Headers/gnustep/base/GSConnection.h: improved and tidied
9490 * Headers/gnustep/base/GSPortCoder.h: private method for connection
9491 * Headers/gnustep/base/NSArchiver.h: remove libobjects compatibility
9492 * Headers/gnustep/base/NSCoder.h: added libobjects compatibility
9493 * Headers/gnustep/base/NSException.h: tidied
9494 * Headers/gnustep/base/NSPortMessage.h: private method for connections
9495 * Headers/gnustep/base/NSRunLoop.h: tidied string constants.
9496 * Headers/gnustep/unicode/decomp.h: tidied to avoid compiler warning.
9497 * Source/GSConnection.m: largely implemented (untested)
9498 * Source/GSPortCoder.m: more efficient data coding
9499 * Source/NSArchiver.m: moved global constants to externs.m
9500 * Source/NSAttributedString.m: don't call super coding methods.
9501 * Source/NSCoder.m: add libobjects compatibility
9502 * Source/NSConnection.m: tidied a few bugs
9503 * Source/NSDistantObject.m: don't call super coding methods.
9504 * Source/NSGAttributedString.m: don't call super coding methods.
9505 * Source/NSHost.m: don't call super coding methods.
9506 * Source/NSNotification.m: don't call super coding methods.
9507 * Source/NSObject.m: tidied a little
9508 * Source/NSPort.m: moved global constants to externs.m
9509 * Source/NSPortMessage.m: new access method for connections.
9510 * Source/NSRunLoop.m: moved global constants to externs.m
9511 * Source/NSTimeZone.m: don't call super coding methods.
9512 * Source/NSURL.m: don't call super coding methods.
9513 * Source/NSUnarchiver.m: tidied.
9514 * Source/externs.m: Tdied and added new global constants.
9515
9516 2000-06-28 Adam Fedor <fedor@gnu.org>
9517
9518 Extension to force process args to be forwarded by the user.
9519 * configure.in (enable-pass-arguments): New switch that forces user
9520 to call NSProcessInfo initialization with process arguments.
9521 * Headers/gnustep/base/GSConfig.h.in (GS_PASS_ARGUMENTS): New define.
9522 * Source/NSProcessInfo.m (+initializeWithArguments:count:environment:):
9523 New method.
9524 * Tools/defaults.m (main): Update to call method if GS_PASS_ARGUMENTS.
9525 * Tools/gdnc.m: Likewise.
9526 * Tools/gsdoc.m: Likewise.
9527 * Tools/pldes.m: Likewise.
9528 * Tools/plmerge.m: Likewise.
9529 * Tools/plparse.m: Likewise.
9530 * Tools/plser.m: Likewise.
9531 * Tools/sfparse.m: Likewise.
9532
9533 * Source/behavior.m: Define __objc_uninstalled_dtable if not available
9534 from runtime.
9535
9536 2000-06-28 Richard Frith-Macdonald <rfm@gnu.org>
9537
9538 Various minor tidyups for distributed objects - and included development
9539 code for NSConnection rewrite.
9540 * Headers/gnustep/base/DistributedObjects.h: removed obsolete methods
9541 * Headers/gnustep/base/GSConnection.h: temporary (development) class
9542 * Headers/gnustep/base/GSPortCoder.h: private method for GSConnection
9543 * Headers/gnustep/base/NSConnection.h: tidied
9544 * Source/GSConnection.m: temporary (development) class
9545 * Source/GSPortCoder.m: private method for GSConnection
9546 * Source/NSConnection.m: tidied a little - retain/release fixes
9547 * Source/NSDistantObject.m: tidied a little - use OPENSTEP method
9548 for creating new connection.
9549 * Source/NSPortCoder.m: tidied to work without GNU specific code.
9550
9551 2000-06-27 Adam Fedor <fedor@gnu.org>
9552
9553 * Fixes on solaris/gcc 2.8.0
9554 * configure.in: Check for whoami location.
9555 * Source/Makefile.postamble: Use it.
9556 * Tools/Makefile.postamble: Use it.
9557
9558 * Tools/gsdoc.m: Make sure exit status is 0 when no libxml
9559
9560 * Makefile.postamble: Don't make documentation on install. Can't
9561 guarentee that library path is setup correctly yet.
9562
9563 * Source/NSData.m: Correct sense of NEEDS_WORD_ALIGN test.
9564
9565 2000-06-27 Richard Frith-Macdonald <rfm@gnu.org>
9566
9567 * Source/NSPort.m: Add default support for coding using the
9568 encodePortObject and decodePortObject methods.
9569 * Source/NSData.m: Use encodeDataObject and decodeDataObject
9570
9571 2000-06-26 Adam Fedor <fedor@gnu.org>
9572
9573 * Source/NSTimer.m (-invalidate): Remove assertion.
9574
9575 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9576
9577 * Source/GSPortCoder.m: Rewrite of NSPortCoder - under development.
9578 * Headers/gnustep/base/GSPortCoder.h: ditto
9579 * Source/GNUmakefile: Build GSPortCoder
9580
9581 2000-06-26 Richard Frith-Macdonald <rfm@gnu.org>
9582
9583 * Source/NSCoder.m: Use AUTORELEASE and tidy up.
9584 * Source/NSArchiver.m: Fix bug in ([-replaceObject:withObject:])
9585 * Source/NSObject.m: Optimise default replacementObjectForPortCoder
9586
9587 2000-06-23 Richard Frith-Macdonald <rfm@gnu.org>
9588
9589 * Source/NSFileHandle.m: Use AUTORELEASE and tidy up.
9590
9591 2000-06-21 Adam Fedor <fedor@gnu.org>
9592
9593 * Shared library (DLL) fixes on Windows
9594 * configure.in: Check for alternate objc (DLL) libraries.
9595 Look for objc_get_uninstalled_dtable.
9596 * Source/behavior.m (behavior_class_add_methods): Don't look for
9597 uninstalled_dtable if no objc_get_uninstalled_dtable.
9598 (check_class_methods): Remove unused.
9599 * Source/objc-load.m: Likewise.
9600
9601 * Headers/gnustep/base/NSObjCRuntime.h: Define GS_EXPORT
9602 * Headers/gnustep/base/NSZone.h: Define functions either static
9603 or extern depending on whether NSZone.m is being compiled.
9604 * Source/NSZone.m: Remove duplicate functions.
9605 * Source/Makefile.preamble (LIBRARIES_DEPEND_UPON): Add -lobjc
9606 if on windows.
9607
9608 * Source/UdpPort.m: Use NSMutableArray.
9609
9610 2000-06-19 Adam Fedor <fedor@gnu.org>
9611
9612 * Source/NSBundle.m (_bundle_name_first_match): Work even when
9613 filename has a directory component. (patch from Julian van
9614 Greunen <vangrn@lantic.co.za>).
9615
9616 2000-06-21 Richard Frith-Macdonald <rfm@gnu.org>
9617
9618 * Source/NSScanner.m: ([-scanHexInt:]) fixed to permit leading 0x or 0X
9619 * Documentation/gsdoc/NSScanner.gsdoc: fleshed out
9620 * Tools/Makefile.postamble: Added documentation target - build before
9621 install
9622 * Tools/gsdoc-0_6_6.dtd: New dtd under development - add java support,
9623 permit multiple indices at end of document, permit <br/> element.
9624 * Tools/gsdoc.m: Update to work with current dtd
9625 * Tools/gsdoc.gsdoc: Add a little more text on document body structure.
9626
9627 2000-06-20 Richard Frith-Macdonald <rfm@gnu.org>
9628
9629 * configure.in: Added check for recent libxml
9630 * config.mak.in: Added defeine for HAVE_LIBXML
9631 * Tools/gsdoc.m: Added from GSDoc and modified for standard
9632 libxml 2.0 installation
9633 * Tools/gsdoc-0_6_5.dtd: Added from GSDoc
9634 * Tools/gsdoc.gsdoc: Added from GSDoc
9635 * Tools/gnustep.gsdoc: Added from GSDoc
9636 * GSDoc: all removed
9637 * Examples: removed obsolete code.
9638
9639 2000-06-19 Richard Frith-Macdonald <rfm@gnu.org>
9640
9641 * Source/NSDate.m: Remove obsolete classForConnectedCoder method
9642 * Source/NSPort.m: ditto
9643 * Source/NSTcpPort.m: ditto
9644 * Source/NSUdpPort.m: ditto
9645 * Source/GNUmakefile: remove ConnectedCoder
9646 * Source/ConnectedCoder.m: removed
9647 * Headers/gnustep/base/ConnectedCoder.h: removed
9648
9649 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9650
9651 Removal of non-OpenStep unused classes.
9652 * Headers/gnustep/base/Archiver.h: removed
9653 * Headers/gnustep/base/Array.h: removed
9654 * Headers/gnustep/base/ArrayPrivate.h: removed
9655 * Headers/gnustep/base/Bag.h: removed
9656 * Headers/gnustep/base/BinaryTree.h: removed
9657 * Headers/gnustep/base/BinaryTreeNode.h: removed
9658 * Headers/gnustep/base/CircularArray.h: removed
9659 * Headers/gnustep/base/CircularArrayPrivate.h: removed
9660 * Headers/gnustep/base/Collecting.h: removed
9661 * Headers/gnustep/base/Collection.h: removed
9662 * Headers/gnustep/base/CollectionPrivate.h: removed
9663 * Headers/gnustep/base/DelegatePool.h: removed
9664 * Headers/gnustep/base/Dictionary.h: removed
9665 * Headers/gnustep/base/GapArray.h: removed
9666 * Headers/gnustep/base/GapArrayPrivate.h: removed
9667 * Headers/gnustep/base/Heap.h: removed
9668 * Headers/gnustep/base/IndexedCollecting.h: removed
9669 * Headers/gnustep/base/IndexedCollection.h: removed
9670 * Headers/gnustep/base/IndexedCollectionPrivate.h: removed
9671 * Headers/gnustep/base/InvalidationListening.h: removed
9672 * Headers/gnustep/base/Invocation.h: removed
9673 * Headers/gnustep/base/Invoking.h: removed
9674 * Headers/gnustep/base/KeyedCollecting.h: removed
9675 * Headers/gnustep/base/KeyedCollection.h: removed
9676 * Headers/gnustep/base/LinkedList.h: removed
9677 * Headers/gnustep/base/LinkedListNode.h: removed
9678 * Headers/gnustep/base/Magnitude.h: removed
9679 * Headers/gnustep/base/MappedCollector.h: removed
9680 * Headers/gnustep/base/NotificationDispatcher.h: removed
9681 * Headers/gnustep/base/OrderedCollecting.h: removed
9682 * Headers/gnustep/base/OrderedCollection.h: removed
9683 * Headers/gnustep/base/Queue.h: removed
9684 * Headers/gnustep/base/RBTree.h: removed
9685 * Headers/gnustep/base/RBTreeNode.h: removed
9686 * Headers/gnustep/base/RNGAdditiveCongruential.h: removed
9687 * Headers/gnustep/base/RNGBerkeley.h: removed
9688 * Headers/gnustep/base/Random.h: removed
9689 * Headers/gnustep/base/RandomGenerating.h: removed
9690 * Headers/gnustep/base/RunLoop.h: removed
9691 * Headers/gnustep/base/Set.h: removed
9692 * Headers/gnustep/base/SplayTree.h: removed
9693 * Headers/gnustep/base/Stack.h: removed
9694 * Headers/gnustep/base/Time.h: removed
9695 * Headers/gnustep/base/all.h: removed
9696 * Source/Archiver.m: removed
9697 * Source/Array.m: removed
9698 * Source/Bag.m: removed
9699 * Source/BinaryTree.m: removed
9700 * Source/BinaryTreeNode.m: removed
9701 * Source/CircularArray.m: removed
9702 * Source/Collection.m: removed
9703 * Source/DelegatePool.m: removed
9704 * Source/Dictionary.m: removed
9705 * Source/GapArray.m: removed
9706 * Source/Heap.m: removed
9707 * Source/IndexedCollection.m: removed
9708 * Source/Invocation.m: removed
9709 * Source/KeyedCollection.m: removed
9710 * Source/LinkedList.m: removed
9711 * Source/LinkedListNode.m: removed
9712 * Source/Magnitude.m: removed
9713 * Source/MappedCollector.m: removed
9714 * Source/NotificationDispatcher.m: removed
9715 * Source/OrderedCollection.m: removed
9716 * Source/Queue.m: removed
9717 * Source/RBTree.m: removed
9718 * Source/RBTreeNode.m: removed
9719 * Source/RNGAdditiveCongruential.m: removed
9720 * Source/RNGBerkeley.m: removed
9721 * Source/Random.m: removed
9722 * Source/Set.m: removed
9723 * Source/SplayTree.m: removed
9724 * Source/Stack.m: removed
9725 * Source/GNUmakefile: remove referenced to reomved classes
9726
9727 2000-06-16 Richard Frith-Macdonald <rfm@gnu.org>
9728
9729 * Headers/gnustep/base/NSGArchiver.h: removed obsolete file.
9730 * Source/NSGArchiver.m: removed obsolete file.
9731 * configure.in: Check for existence of NSArray.m to find source
9732 * Headers/gnustep/base/NSDictionary.h: Remove unused headers.
9733 * Headers/gnustep/base/Port.h: ditto
9734 * Headers/gnustep/base/NSConnection.h: ditto
9735 * Headers/gnustep/base/TcpPort.h: ditto
9736 * Headers/gnustep/base/NSGArray.h: ditto
9737 * Headers/gnustep/base/NSSet.h: ditto
9738 * Headers/gnustep/base/NSGSet.h: ditto
9739 * Headers/gnustep/base/NSRange.h: ditto
9740 * Source/Coder.m: Removed dependencies on some old classes
9741 * Source/Decoder.m: ditto
9742 * Source/Port.m: ditto
9743 * Source/TcpPort.m: ditto
9744 * Source/UdpPort.m: ditto
9745 * Source/NSGCString.m: ditto
9746 * Source/NSGString.m: ditto
9747 * Source/NSObject.m: ditto
9748 * Source/NSString.m: ditto
9749
9750 2000-06-15 Adam Fedor <fedor@gnu.org>
9751
9752 * Headers/gnustep/base/NSObject.h: Add base/preface include
9753
9754 2000-06-13 Adam Fedor <fedor@gnu.org>
9755
9756 * configure.in: Look for getopt.h
9757 * Source/NSBundle.m (+_absolutePathOfExecutable:): Add '.' if not
9758 already in path.
9759 * Source/NSPage.m: Use malloc if no valloc.
9760
9761 * Testing/GNUmakefile: Remove non-OpenStep tests.
9762
9763 * Tools/gdomap.c: Change WIN32 to MINGW. Check if IFF_POINTOPOINT
9764 is defined.
9765
9766 * Headers/gnustep/base/*h: Remove preface include from headers.
9767 Change extern function and var definitions to GS_EXPORT for better
9768 handling of DLLs
9769 * Headers/gnustep/base/NSObjCRuntime.h: Set definition of GS_EXPORT
9770 based on using or compiling DLL
9771
9772 2000-06-11 Adam Fedor <fedor@gnu.org>
9773
9774 * Headers/gnustep/base/preface.h.in: Define MINGW if MINW32.
9775 * Headers/gnustep/base/TcpPort.h: Change WIN32 to MINGW since
9776 CYGWIN has unix-like services.
9777 * Headers/gnustep/base/UdpPort.h: Likewise.
9778 * Source/GSTcpPort.m, Source/NSData.m, Source/NSDate.m,
9779 Source/NSFileManager.m, Source/NSHost.m, Source/NSLog.m,
9780 Source/NSPage.m, Source/NSProcessInfo.m, Source/NSString.m,
9781 Source/NSThread.m, Source/NSUser.m, Source/UdpPort.m,
9782 Source/UnixFileHandle.m, : Likewise.
9783
9784 * Source/Makefile.postamble: touch generated h files so they aren'y
9785 re-copied every compile.
9786
9787 * Source/NSBundle.m (_absolutePathOfExecutable:): New method.
9788 (mainBundle): Use it.
9789 * Source/NSTask.m (launch): Likewise.
9790 * Source/find_exec.m: Removed.
9791
9792 2000-06-09 Richard Frith-Macdonald <rfm@gnu.org>
9793
9794 * Source/GSeq.h: Reverted bogus change.
9795
9796 2000-06-06 Adam Fedor <fedor@gnu.org>
9797
9798 * Code cleanup to help with Windows port.
9799 * configure.in: Check for some extra headers. Remove obsolete stuff.
9800 * Source/BinaryCStream.m: Fix includes for WIN32
9801 * Source/NSCalandarDate.m: Likewise.
9802 * Source/NSDate.m: Likewise.
9803 * Source/NSLog.m: Likewise.
9804 * Source/NSPipe.m: Likewise.
9805 * Source/NSProcessInfo.m: Likewise.
9806 * Source/NSRunLoop.m: Likewise.
9807 * Source/NSUserDefaults.m: Likewise.
9808 * Source/StdioStream.m: Likewise.
9809 * Source/UdpPort.m: Likewise.
9810 * Tools/gdomap.c: Likewise.
9811
9812 * Source/NSBinaryCStream: Use NSByteOrder functions.
9813 * Source/UdpPort.m: Likewise.
9814 * Source/Invocation.m (initWithTarget:selector:): Use proper cast.
9815 * Source/NSFileManager.m (-isExecutableFileAtPath): Typo.
9816 * Source/NSPage.m (getpagesize): New function for WIN32
9817 * Source/NSString.m (-indexOfString): New method.
9818
9819 * Source/NSBundle.m (bundle_directory_readable,
9820 bundle_file_readable, _bundle_name_first_match): New functions
9821 use NSFileManager instead of unix dir functions.
9822 (-initWithPath:) Use them.
9823 (-pathForResource:...): Likewise.
9824 (-pathsForResource:...): Likewise.
9825
9826 2000-06-02 Richard Frith-Macdonald <rfm@gnu.org>
9827
9828 * Headers/gnustep/base/NSConnection.h: Changed reply_depth ivar to be
9829 called request_depth instead.
9830 * Source/NSConnection.m: Changed reply_depth ivar to request_depth
9831 and modified code to make independent conversation queueing
9832 effective on the basis of incoming requests being handled rather than
9833 outgoing replies. This should make it work for oneway methods.
9834
9835 Tue May 30 19:54:25 2000 Nicola Pero <nicola@brainstorm.co.uk>
9836
9837 * Source/NSProcessInfo.m ([NSProcessInfo +load]): If environ ==
9838 NULL, abort with an informative message rather than crashing
9839 without explanations.
9840
9841 2000-05-27 Richard Frith-Macdonald <rfm@gnu.org>
9842
9843 * Source/NSBundle.m: Protect all use of map tables of bundles
9844 using lock - should make class thread-safe.
9845
9846 2000-05-25 Adam Fedor <fedor@gnu.org>
9847
9848 * Headers/gnustep/base/GSIArray.h: remove config.h
9849 * Headers/gnustep/base/GSIMap.h: Likewise.
9850
9851 2000-05-24 Richard Frith-Macdonald <rfm@gnu.org>
9852
9853 * Source/NSFileManager.m: ([-directoryContentsAtPath:])
9854 Don't follow symbolic links
9855
9856 2000-05-23 Adam Fedor <fedor@gnu.org>
9857
9858 * Source/NSBundle.m (+initialize): Check if /proc/self/exe returns
9859 a real link, otherwise get path from NSProcessInfo.
9860
9861 * NSData: Correct #ifdef NEEDS_WORD_ALIGN to #if
9862
9863 2000-05-22 Richard Frith-Macdonald <rfm@gnu.org>
9864
9865 * Source/GSeq.h: comparison with zero length range is always
9866 NSOrderdSame
9867
9868 2000-05-21 Richard Frith-Macdonald <rfm@gnu.org>
9869
9870 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9871 Re-fix attempting to handle creation of local method signature rather
9872 than returning a proxy to a remote one. Dumb error in first attempt.
9873
9874 2000-05-10 Adam Fedor <fedor@gnu.org>
9875
9876 * NSBundle.m (-classNamed:): Hacks for getting classes from
9877 _gnustep_bundle.
9878 (-principalClass): Likewise.
9879 (-load): Don't try to call load bundle if we are _gnustep_bundle.
9880
9881 2000-05-09 Richard Frith-Macdonald <rfm@gnu.org>
9882
9883 * Source/NSDistantObject.m: ([-methodSignatureForSelector:])
9884 Fix attempting to handle creation of local method signature rather than
9885 returning a proxy to a remote one.
9886
9887 2000-05-07 Richard Frith-Macdonald <rfm@gnu.org>
9888
9889 * Source/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
9890 fix '%y' format for any year - bug reported by David Relson
9891
9892 2000-05-06 James Dessart <skwirl@cam.org>
9893
9894 * Documentation/gsdoc/NSString.gsdoc :
9895 * Documentation/gsdoc/NSString.html :
9896 Added some basic doc
9897
9898 2000-05-04 Richard Frith-Macdonald <rfm@gnu.org>
9899
9900 * Source/NSUser.m: NSHomeDirectoryForUser() protect with locks for
9901 thread safety.
9902
9903 2000-05-02 Adam Fedor <fedor@gnu.org>
9904
9905 * configure.in: Add check for word alignment. Also don't define
9906 HAVE_SYS_PROC_EXE on systems that need fake main.
9907 * Headers/gnustep/base/config.h.in: Add define if word-align needed.
9908 * Source/NSData.m:
9909 ([NSDataStatic -deserializeTypeTag:andCrossRef:atCursor:]): Use
9910 memcpy if word alignment needed.
9911 ([NSMutableDataMalloc -serializeTypeTag:andCrossRef:]): Likewise.
9912
9913 2000-04-28 Richard Frith-Macdonald <rfm@gnu.org>
9914
9915 * Source/NSConnection.m: ([+defaultConnection]) create receive port.
9916
9917 2000-04-26 Richard Frith-Macdonald <rfm@gnu.org>
9918
9919 * Source/NSHost.m: Improve logging of host/net configuration errors
9920 * Source/GSTcpPort.m: ditto
9921 * Source/TcpPort.m: ditto
9922
9923 2000-04-25 Adam Fedor <fedor@gnu.org>
9924
9925 * Source/NSBundle.m (+initialize): retain _executable_path.
9926
9927 2000-04-25 Richard Frith-Macdonald <rfm@gnu.org>
9928
9929 * Source/NSAttributedString.m: Optimised - cache method implementations
9930 wherever possible in order to avoid objc runtime overheads.
9931
9932 2000-04-23 Richard Frith-Macdonald <rfm@gnu.org>
9933
9934 * Source/NSAttributedString.m: Corrected code of
9935 ([-attribute:atIndex:longestEffectiveRange:inRange:]) so that it
9936 compares attributes correctly.
9937
9938 2000-04-20 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
9939
9940 * Tools/plmerge.m: New tool to merge property lists.
9941 * Tools/plser.m: Fix error message. (deserialize => serialize)
9942 * Tools/GNUmakefile: Add plmerge.
9943
9944 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9945
9946 * Tools/gdomap.c: Don't do chdir/chroot on sysv - it screws up
9947 their streams so we can't handle incoming connections.
9948
9949 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9950
9951 * Source/NSCalendarDate.m: Fix memory leak when initialising from
9952 string.
9953
9954 2000-04-20 Richard Frith-Macdonald <rfm@gnu.org>
9955
9956 * Source/GSTcpPort.m: define INADDR_NONE to be -1 on systems where
9957 it is not defined.
9958
9959 2000-04-19 Richard Frith-Macdonald <rfm@gnu.org>
9960
9961 * Source/NSThread.m: rewrite
9962 * Source/NSCountedSet.m: minor fix in new unique method
9963 * Source/NSGCountedSet.m: ditto
9964
9965 2000-04-18 Adam Fedor <fedor@gnu.org>
9966
9967 * base/configure.in: add a test to see whether a symlink
9968 '/proc/self/exe' exists
9969 * base/Headers/gnustep/base/config.h.in: Add a definition for the
9970 test result
9971 * base/Source/NSBundle.m: Move the discovery of the process'
9972 executable file to +initialize; add code to discover it from
9973 /proc, if possible (patches from Jonathan Gapen
9974 <jagapen@whitewater.chem.wisc.edu>)
9975
9976 2000-04-18 Richard Frith-Macdonald <rfm@gnu.org>
9977
9978 * Documentation/gsdoc/NSCountedSet.gsdoc: Method descriptions fleshed
9979 out, including GNUstep additional methods and related functions.
9980 * Documentation/gsdoc/NSDeserializer.gsdoc: GNUstep specific extension
9981 method documented.
9982 * GSDoc/gnustep.gsdoc: Fixed use of 'standards' element.
9983 * Headers/NSSerialization.h: Removed some extensions.
9984 * Headers/NSSet.h: Added some extensions for uniquing.
9985 * Source/NSCountedSet.m: Added uniquing methods and functions.
9986 * Source/NSGCountedSet.m: Added optimised uniquing methods.
9987 * Source/NSSerializer.m: Simplified uniquing code using stuff from
9988 NSCountedSet.
9989 * Testing/benchmark.m: included uniquing serialization/deserialization.
9990
9991 2000-04-14 Richard Frith-Macdonald <rfm@gnu.org>
9992
9993 * Source/mframe.m: Update to handle '-' in stack position information
9994 in type encodings.
9995 * Source/Invocation.m: ditto
9996 * Source/objc-gnu2next.m: ditto
9997 * Source/mframe/*/generic: ditto
9998
9999 2000-04-08 Adam Fedor <fedor@gnu.org>
10000
10001 * Source/NSString.m: Include NSISOLatin2StringEncoding coding.
10002 * Source/Unicode.m (encode_chartouni): Implement latin2 encoding.
10003 (encode_unitochar): Likewise. (patches from
10004 Stefan Urbanek <urbane@decef.elf.stuba.sk>).
10005
10006 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10007
10008 * Source/NSCalendarDate.m: Bugfix intialising from string.
10009
10010 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10011
10012 * Headers/gnustep/base/NSException.h: remove 'volatile' from function
10013 and method declarations - no longer supported in gcc.
10014 * Source/NSException.m: ditto
10015
10016 2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
10017
10018 * Tools/gdomap.c: init_probe() fix bug placing incorrect responder
10019 address in broadcast probe.
10020
10021 2000-04-02 Richard Frith-Macdonald <rfm@gnu.org>
10022
10023 * Source/NSAttributedString.m: Infinite loop fix by Fred Kiefer to
10024 ([replaceCharactersInRange:withAttributedString:])
10025
10026 2000-03-29 Richard Frith-Macdonald <rfm@gnu.org>
10027
10028 * Source/NSUserDefaults.m: typo reported by karl@nfox.com fixed.
10029
10030 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10031
10032 * Source/NSDictionary.m: Fix to avoid crash on being asked to init
10033 with contents of a nil dictionary.
10034
10035 2000-03-28 Richard Frith-Macdonald <rfm@gnu.org>
10036
10037 * Headers/gnustep/base/NSRunLoop.h: Added event type for exceptional
10038 conditions on a file descriptor and removed obsolete methods.
10039 * Source/NSRunLoop.m: Added support for monitoring for exceptional
10040 conditions on a file descriptor and removed obsolete methods for
10041 handling file descriptors.
10042
10043 2000-03-26 Richard Frith-Macdonald <rfm@gnu.org>
10044
10045 * NSTimeZones/NSTimeZones.tar: Updated to latest information
10046 available from elsie.nci.nih.gov
10047
10048 2000-03-25 Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
10049
10050 * Source/NSUser.m: Added new MacOS X function,
10051 NSSearchPathForDirectoriesInDomains()
10052 * Headers/gnustep/base/NSPathUtilities.h: Added prototype and
10053 argument definitions for the above function.
10054
10055 2000-03-23 Adam Fedor <fedor@gnu.org>
10056
10057 * Source/....m: include config.h
10058 * Tools/*.m: Likewise.
10059 * Headers/gnustep/base/preface.h.in: Implement VASPRINTF_LENGTH
10060 when vasprintf does not return length.
10061
10062 2000-03-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
10063
10064 * Source/NSString.m: ([-initWithFormat:arguments:]) added
10065 implementation using vasprintf() to avoid stack problems.
10066 * Headers/gnustep/base/preface.h.in: added VASPRINT_* definitions.
10067
10068 2000-03-23 Richard Frith-Macdonald <rfm@gnu.org>
10069
10070 NSNumber - more extensive rewrite/optimisation ...
10071 * Headers/gnustep/base/NSValue.h: simplified
10072 * Source/NSNumber.m: Implemented efficient abstract methods and
10073 improved caching.
10074 * Source/NSConcreteNumber.m: More efficient implementations including
10075 some previously missing methods.
10076
10077 2000-03-23 Adam Fedor <fedor@gnu.org>
10078
10079 * configure.in: Check for vasprintf function
10080 * config/config.vasprintf.c: New file.
10081
10082 2000-03-22 Richard Frith-Macdonald <rfm@gnu.org>
10083
10084 NSNumber optimisation ...
10085 * Headers/gnustep/base/NSValue.h: Added a couple of GNUstep specific
10086 functions for obtaining cached information about methods of NSNumber
10087 subclasses and hashes of small integer values.
10088 * Source/NSNumber.m: Added caches for small integer numbers and for
10089 booleans. Also added caching mechamism for methods and order info
10090 for NSNumber concrete subclasses.
10091 * Source/NSConcreteNumber.m: Added support for much more efficient
10092 compare and fast hash for small integers.
10093
10094 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10095
10096 * Source/NSUserDefaults.m: ([-description]) implemented.
10097 * Source/NSArray.m: ([-descriptionWithLocale:indent:]) put space
10098 after comma even when doing unformatted description.
10099 * Source/NSDictionary.m: ([-descriptionWithLocale:indent:]) put space
10100 after semicolon and around equals even when doing unformatted
10101 description. Don't sort array items in unformatted description.
10102
10103 2000-03-19 Richard Frith-Macdonald <rfm@gnu.org>
10104
10105 * Source/NSGAttributedString.m: ([setAttributes:range:]) make sure
10106 attributes are set when old range starts at start of new range.
10107
10108 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10109
10110 * Tools/gdomap.c: Become an unpriveliged user after binding to
10111 port 538 (for which we need to be root). This should relieve
10112 some security considerations.
10113
10114 2000-03-18 Richard Frith-Macdonald <rfm@gnu.org>
10115
10116 * Source/NSNumber.m: Added private methods from concrete class.
10117
10118 2000-03-17 Adam Fedor <fedor@gnu.org>
10119
10120 * Documentation/coding-standards.tmpl.texi: Update
10121
10122 2000-03-17 Richard Frith-Macdonald <rfm@gnu.org>
10123
10124 Changed so that property lists are output in a compact form when
10125 no locale is supplied.
10126 * Documentation/gsdoc/NSObject.gsdoc: Added documentation of the
10127 various description methods.
10128 * GSDoc/gsdoc.m: Bugfixes for text in descriptions.
10129 * Headers/gnustep/base/NSObject.h: Updated description methods
10130 * Source/NSArray.m: Updated to be closer to MacOS description.
10131 * Source/NSDictionary.m: ditto.
10132 * Source/NSGCString.m: ditto.
10133 * Source/NSGString.m: ditto.
10134 * Source/NSObject.m: added more description methods.
10135 * Tools/defaults.m: updated to use locale.
10136 * Tools/dread.m: ditto.
10137 * Tools/pldes.m: ditto.
10138
10139 Fri Mar 17 07:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10140
10141 * Source/NSGString.m: Add checks to safely (and more efficiently)
10142 handle deletion and insertion of zero-length ranges.
10143 * Source/NSGCString.m: ditto.
10144
10145 Thu Mar 16 11:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10146
10147 * Source/NSRange.m: NSRangeFromString() bugfix by karl@nfox.com
10148 * Source/NSData.m: ([-hash]) new implementation by karl
10149
10150 Sat Mar 11 21:04:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10151
10152 * GSDoc/gsdoc.m: Updated for recent version of xml library.
10153
10154 Fri Mar 10 10:45:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10155
10156 * GSDoc/gsdoc-0_6_5.dtd: Altered to add standard conformance to
10157 individual methods and to make standards rigorous.
10158 * GSDoc/gsdoc.m: Updated for changes to dtd.
10159
10160 Thu Mar 09 18:07:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10161
10162 * Source/NSAttributedString.m: Varius bugfixes.
10163 * Source/NSGAttributedString.m: ditto.
10164
10165 2000-03-07 Adam Fedor <fedor@gnu.org>
10166
10167 * configure.in: Remove obsolete header checks for Time class.
10168
10169 Wed Mar 08 07:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10170
10171 * Source/NSAttributedString.m: Bugfix by fred Kiefer for extending
10172 attributes. Related bugfixes by me, plus tidying up.
10173
10174 2000-03-06 Adam Fedor <fedor@gnu.org>
10175
10176 * config.guess: Better guess of NetBSD systems.
10177
10178 Sat mar 04 10:08:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10179
10180 * Tools/Makefile.postamble: improved messages about gdomap installation.
10181
10182 Mon Feb 28 15:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10183
10184 * GSDoc: Added GSDoc subdirectory to contain tool for converting gsdoc
10185 documentation to HTML format.
10186 * Documentation/gsdoc: Added skeleton documentation for the
10187 OpenStep/MacOS-X foundation classes in the gsdoc subdirectory.
10188
10189 Sun Feb 27 08:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10190
10191 * Headers/gnustep/base/NSPortMessage.m: use separate ivars for ports.
10192 * Source/NSPortMessage.m: modified to use separate ivars for send and
10193 receive ports so that we can easily pass mutable array for send.
10194
10195 Fri Feb 25 12:56:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10196
10197 * Source/NSPort.m: provide default implementations for methods dealing
10198 with adding connections to run loop.
10199 * Source/NSRunLoop.m: Check to see if ports have been invalidated and
10200 remove them from run loop if they have.
10201
10202 Thu Feb 24 21:05:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10203
10204 * Source/NSBundle.m: ([-initWithPath:]) added code suggested by
10205 jagapen@whitewater.chem.wisc.edu to handle relative paths.
10206 * Source/NSObject.m: Added catagory of 'Object' so that containers
10207 can safely hold non-NSObject descended objects.
10208
10209 Thu Feb 24 15:55:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10210
10211 * Source/TcpPort.m: Removed some unused code.
10212 * Source/GSTcpPort.m: Added new port implementation - non-functional
10213 as yet, but it represents quite a bit of work so I thought I'd put
10214 it somewhare safe from my hard disk crashing.
10215
10216 Thu Feb 24 08:30:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10217
10218 * Source/NSUser.m: NSOpenStepRootDirectory() use GNUSTEP_ROOT
10219
10220 Tue Feb 22 15:03:46 2000 Nicola Pero <n.pero@mi.flashnet.it>
10221
10222 * Headers/Foundation/NSPort.h: Fixed typo: changed `@class
10223 NSArray` to `@class NSMutableArray` to make it compile.
10224
10225 Tue Feb 22 07:31:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10226
10227 * Tools/gdomap.c: Reinstated '-p' flag to disable probes and added
10228 code to do probes by broadcast to the local network rather than by
10229 probing machines individually if possible.
10230
10231 2000-02-20 Matthias Klose <doko@cs.tu-berlin.de>
10232
10233 * Tools/gdomap.c (main): Add -I <file> option to write the pid to.
10234
10235 Mon Feb 21 13:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10236
10237 * Source/NSRunLoop.m: Use sel_eq() for selector comparison so that
10238 we are guaranteed to match correctly when removing actions from the
10239 runloop.
10240
10241 Fri Feb 6 14:54:00 2000 Manuel Guesdon <mguesdon@sbuilders.com>
10242
10243 * Source/NSCalendarDate.m: handle nil and empry string in
10244 -initWithString:calendarFormat:locale:
10245 * ChangeLog: Replace 1999 by 2000 for last modifications :-)
10246
10247 Fri Feb 4 17:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10248
10249 * Source/NSPortNameServer.m: New methods for use by NSConnection
10250 * Foundation/NSPortNameServer.h: ditto
10251 * Source/NSConnection.m: Tidied a little and added ([-registerName:])
10252 * Source/NSConnection.h: ditto
10253
10254 2000-02-17 Adam Fedor <fedor@gnu.org>
10255
10256 * Version: 0.6.5 released.
10257
10258 2000-02-16 Adam Fedor <fedor@gnu.org>
10259
10260 * gnustep-base.spec: Newfile
10261
10262 Wed Feb 16 06:28:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10263
10264 * Source/NSAssertionHandler.m: Applied patch by David relson to change
10265 output format for function assertions, fixed error in format string,
10266 and made similar changes for method assertions.
10267
10268 2000-02-14 Adam Fedor <fedor@gnu.org>
10269
10270 * Version: Update version number
10271 * Documentation/announce.tmpl.texi: Update
10272 * Documentation/readme.tmpl.texi: Likewise.
10273 * Documentation/news.tmpl.texi: Likewise.
10274 * Documentation/todo.tmpl.texi: Likewise.
10275 * ANNOUNCE, BUGS, NEWS, README: Regenerate
10276
10277 Fri Feb 11 06:27:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10278
10279 * Source/NSZone.m: Tidied indentation etc to GNU style.
10280
10281 Thu Feb 10 23:01:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10282
10283 * Source/NSDebug.m: Patch by David Relson to change memory allocation
10284 report and add thread-safety. Modified by me to automatically use
10285 locking if necessary, to tidy up, and to fix a couple of bugs in
10286 lock/unlock sequencing. All new stuff - but since the previous
10287 version was completely unusable in a multithreaded environment I
10288 don't think we are running any risk by adding this here.
10289
10290 Thu Feb 10 15:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10291
10292 Changes to fix possible crashes where task completion notifications
10293 are sent at inappropriate times due to SIGCHLD.
10294 * Source/NSTask.m: Move signal handler code to GSChecktasks() and
10295 have the signal handler simply set a flag to say work needs doing.
10296 * Source/NSRunLoop.m: Add calls to GSCheckTasks() so that we notice
10297 the death of a child.
10298
10299 Thu Feb 10 14:13:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10300
10301 * Source/UnixFileHandle.m: ([-receivedEvent:type:extra: forMode:])
10302 fix so that incoming connections are closed when their file handle
10303 is deallocated.
10304
10305 Thu Feb 10 9:34:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10306
10307 * Headers/gnustep/base/preface.h.in: Added tests to see if _C_LNG_LNG
10308 and _C_ULNG_LNG are defined in the objc compiler headers and, if not,
10309 define them. Long long support was added in gcc 2.8 (minimum
10310 compiler version recommended for GNUstep), but the defines were
10311 missing from the headers :-(
10312 * Source/NSArchiver.m: Remove conditional compile for long long stuff.
10313 * Source/NSData.m: ditto
10314 * Source/NSUnarchiver.m: ditto
10315 * Source/mframe.m: ditto
10316
10317 2000-02-09 Adam Fedor <fedor@gnu.org>
10318
10319 * Documentation/gnustep-base.tmpl.texi: Update.
10320 * Documentation/news.tmpl.texi: Likewise.
10321 * Documentation/readme.tmpl.texi:Likewise.
10322
10323 * Headers/gnustep/base/NSObjCRuntime.h: Include preface for stdargs.
10324
10325 Wed Feb 9 17:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10326
10327 * Headers/gnustep/base/NSObjCRuntime.h: fix for header dependencies.
10328 * Headers/gnustep/base/Unicode.h: ditto
10329 * Source/NSDebug.m: ditto
10330
10331 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10332
10333 * Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) fix handling
10334 of notifications in idle queue.
10335
10336 2000-02-08 Adam Fedor <fedor@gnu.org>
10337
10338 * config.guess: New version
10339 * config.sub: Likewise.
10340
10341 Tue Feb 8 23:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10342
10343 * Source/NSArray.m: Move ([writeToFile:atomically:]) from mutable
10344 array to array code.
10345
10346 Tue Feb 8 12:44:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10347
10348 * Source/Foundation/HSConfig.h.in: Added some GC macros
10349 * Source/NSData.m: Attempt to remove temporary file if an atomic
10350 write attempt fails.
10351
10352 Sat Feb 5 8:47:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10353
10354 * Source/Foundation/NSDebug.h: Add missing function prototype -
10355 Patch by David Relson <relson@expressgate.net>
10356
10357 2000-01-27 Adam Fedor <fedor@gnu.org>
10358
10359 * Tools/gdomap.c (init_iface): Check to see if an
10360 interface is up (using SIOCGIFFLAGS), and then get the address
10361 information before checking whether the address is in the AF_INET
10362 family (patch from Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>).
10363
10364 Sun Jan 16 9:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10365
10366 Moved objc-load.c to objc-load.m and filnd-exec.c to find-exec.m
10367 Added logging functions to objc-load.m so that logging can be
10368 enabled at runtime using --GNU-Debug=NSBundle
10369
10370 Sun Jan 9 15:20:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10371
10372 * Source/NSGAttributedString.m: ([-attributesAtIndex:effectiveRange:])
10373 fixed illegal parameter - reported by jagapen@whitewater.chem.wisc.edu
10374
10375 Wed Jan 5 16:22:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10376
10377 * Source/NSData.m: when serializing selectors, cope with untyped
10378 selectors instead of crashing.
10379
10380 Wed Jan 5 14:37:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10381
10382 * Source/NSTimeZone.m: Changed order of lookup to determine the local
10383 timezone:
10384 1. User defaults with key 'Local Time Zone'
10385 2. GNUSTEP_TZ environment variable
10386 3. $GNUSTEP_SYSTEM_ROOT/Libraries/Resources/NSTimeZones/localtime
10387 4. TZ environment variable
10388 5. Use UTC
10389 This means that the TZ environment variable can now safely be used for
10390 non-GNUstep timezones as long as GNUSTEP_TZ is defined (or a localtime)
10391 file exists.
10392
10393 Wed Jan 5 10:00:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10394
10395 * NSTimeZones/NSTimeZones.tar: Made a revised set of timezones with
10396 timezone names offset from GMT corresponding to common usage
10397 (as in OPENSTEP) rather than strict Posix interpretation.
10398 Also added detailed instructions to the README file and added a
10399 small makefile to build the abbreviations/regions tools.
10400
10401 Tue Jan 4 22:40:00 2000 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10402
10403 * Source/NSCalendarDate.m: ([-yearOfCommonEra]) fix rounding error.
10404
10405 Tue Dec 21 13:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10406
10407 Fixes suggested by karl@nfox.com
10408 * Source/propList.h: Bugfix parsing larger lists.
10409 * Source/NSProcessInfo.m: Avoid use of freopen()
10410 * Source/GSeq.h: for ranges not found, return NSNotFound as the
10411 location rather than 0 - for compatibility with Apple.
10412 * NSDeserializer.m: Return nil if given nil data or an object that
10413 is not a data object.
10414
10415 1999-12-19 David Lazaro <khelekir@encomix.es>
10416
10417 * configure.in (objc_thread_lib): Added support for FreeBSD native
10418 POSIX threads (from the reentrant C library, libc_r). Made this the
10419 first option to test as this is the best working one.
10420 * configure: New build to support the above mentioned.
10421
10422 Fri Dec 17 17:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10423
10424 Fix error in last change.
10425
10426 Fri Dec 17 7:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10427
10428 * Source/NSGAttributedString.m: Patch (slightly modified) by Adam Fedor
10429 to permit setting attributes on an empty string (as a no-op).
10430
10431 Wed Dec 15 18:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10432
10433 * Source/NSHost.m: Update again - record current host name for duration
10434 of process and cache hosts keyed on the name under which they were
10435 created. This can result in multiple cache entries for the same host,
10436 but this seems to be necessary as DNS name <--> address mappings can
10437 be asymmetric.
10438 Thanks to dan@services.iiruc.ro for pointing this out.
10439
10440 Wed Dec 15 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10441
10442 * Source/Foundation/NSObject.h: dealloc notification stuff for Helge
10443 * Source/NSObject.m: dealloc notification stuff for Helge
10444
10445 Wed Dec 15 2:18:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10446
10447 * Source/UnixFileHandle.m: Chck to see if we are given a bad address.
10448 * Source/NSHost.m: major rewrite
10449
10450 Tue Dec 14 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10451
10452 * Source/NSTimeZone.m: ([+getTimeZoneFile:]) Removed misleading comment
10453 and hack.
10454 ([+timeZoneWithName:]) Fixed bug in loading timezone data file (unusual
10455 formats could cause a crash).
10456 * Source/NSScanner.m: ([-initWithString:]) fix to handle being passed
10457 a nil string (use an empty string and log an error).
10458 * NSTimeZones/NSTimeZones.tar: updated to latest info and made sure
10459 files are in the correct place.
10460
10461 Mon Dec 13 13:31:00 1999 Chris Ball <cball@fmco.com>
10462
10463 * Source/NSTimeZone.m: Replaced the original, correct comment and
10464 removed Richard's replacement incorrect comment.
10465
10466 Fri Dec 9 17:00:00 1999 Chris Ball <cball@fmco.com>
10467
10468 Sorry, I did a commit one directory to deep.
10469 * Source/NSArray.m: NSMutableArray's compared against a garbage pointer
10470 on removal. This causes real problems on SMP machines.
10471 * Source/NSGarray.m
10472 * Source/NSCalendarDate.m: DateByAddingYears lost timeZone info.
10473 InitWithString didn't deal with adjacent format specifiers.
10474 * Source/NSDate.m: addTimeInterval messed up timeZone if used with
10475 calendarDate
10476 * Source/NSLock.m: Trylock was broken and lockBeforeDate was
10477 unimplemented
10478 * Source/NSObject.m: The release code was broken for SMP machine use.
10479 * Source/NSTimeZone.m: The GMT+-** files are in the root directory on
10480 OpenStep and are in Etc/ on GNUstep so check both.
10481
10482 Mon Dec 13 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10483
10484 Fixes for cball's changes (who is cball?, and why didn't s/he produce
10485 a ChangeLog entry or conform to GNU indentation? It took me hours to
10486 tidy this up).
10487 * Source/NSDate.m: ([NSGDate -addTimeInterval:]) removed bogus
10488 implementation of method (inherits from NSDate).
10489 * Source/NSCalendarDate.m: Added implementation of ([-addTimeInterval:])
10490 with specific code for NSCalendarDate. Reformatted code to GNUstep
10491 style.
10492 * Source/NSGArray.m: ([-removeObjectIdenticalTo:]) and
10493 ([-removeObjectIdenticalTo:inRange:]) reverted to correct code.
10494 ([-removeObject:]) and ([-removeObjectIdenticalTo:inRange:]) removed
10495 changes and added fixes so that methods are safe where multiple objects
10496 equal to the object to be removed are present in the array.
10497 * Source/NSArray.m: Similar fixes for object removal.
10498 * Source/NSObject.m: Rewritten mutex code so that mutexes are not used
10499 for retain/release unless the app is multi-threaded.
10500
10501 Wed Dec 1 19:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10502
10503 * Source/NSArray.m: When sorting, treat illegal return values from the
10504 comparator the same way as OPENSTEP does, but log a warning.
10505 * Source/NSGArray.m: ditto
10506 * Source/NSDictionary.m ditto
10507
10508 Fri Nov 26 19:46:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10509
10510 * Headers/Foundation/NSString.h: Tidied and fixed return types for
10511 for a few methods.
10512 * Source/NSString.m: ditto.
10513 * Headers/NSRange.h: Added NSRangeFromString()
10514 * Source/NSRange.m: Implemented NSRangeFromString()
10515
10516 Sun Nov 21 6:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10517
10518 * Source/NSNotificationQueue.m: Applied patch by Dan Pascu to fix bug
10519 in removal of notificatiosn from queues. Also tidied indentation etc
10520 to conform to GNU standards.
10521 * Source/UnixFileHandle.m: ([-availableData]) fixed to block when no
10522 data is availabvle on a comms channel - as per spec. This bug was
10523 also reported by Dan <dan@services.iirux.ro>
10524 * Source/NSHost.m: Use inet_aton() if available.
10525
10526 1999-11-18 Adam Fedor <fedor@gnu.org>
10527
10528 * Source/GNUmakefile: Install unicode headers.
10529 * Source/Makefile.postamble: Script for doing unicode installation.
10530 (patches from Christopher Seawood <cls@seawood.org>).
10531
10532 Thu Nov 18 15:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10533
10534 * Headers/Foundation/NSPage.h: removed
10535 * Headers/Foundation/NSZone.h: incorporated NSPage.h
10536 * Source/GNUmakefile: Remove reference to NSPage.h
10537 * Source/NSZone.m: Remove reference to NSPage.h
10538
10539 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10540
10541 * Source/o_vscanf.c Reverted to earlier version - the last fix was
10542 causing distributed objects to fail! I don't know why, but DO seems
10543 more important than the bugfix - so, pending a rewrite of DO
10544 encoding/decoding to remove the dependency on the old stream code,
10545 we need to leave this as it is.
10546
10547 1999-11-09 Adam Fedor <fedor@gnu.org>
10548
10549 * Source/o_vscanf.c (o_vscanf): Don't count '\n' as whitespace.
10550
10551 Sun Nov 7 14:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10552
10553 * Source/Foundation/NSDebug.h: Added NSWarnLog(), NSWarnFLog() and
10554 NSWarnMLog() macros to log warnings about potential programming errors.
10555 * Source/NSArray.m: Change to use NSWarnMLog() for warnings.
10556 * Source/NSGArray.m: ditto
10557 * Source/NSGCountedSet.m: ditto
10558 * Source/NSGDictionary.m: ditto
10559 * Source/NSGSet.m: ditto
10560
10561 Thu Nov 4 1999 Michael Hanni <mhanni@sprintmail.com>
10562
10563 * Source/NSObject.m: added FreeBSD specific code in
10564 initialization so that the FPU is intialized with the correct
10565 exception flag. This allows NSConnection to work on FreeBSD (gdnc,
10566 gdomap, gpbs.)
10567
10568 Thu Nov 4 10:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10569
10570 * Source/NSArray.m: use NSLog() to warn about attempts to remove nil.
10571 * Source/NSGArray.m: ditto
10572 * Source/NSGCountedSet.m: ditto
10573 * Source/NSGDictionary.m: ditto
10574 * Source/NSGSet.m: ditto
10575
10576 Fri Oct 29 10:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10577
10578 * Source/NSInvocation.m: ([-initWithTarget:selector:]) possible fix
10579 for structure arguments grabbed from varargs.
10580
10581 Tue Oct 19 11:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10582
10583 * Source/NSScanner.m: skipToNextField() - cope with a nil set of
10584 characters to be skipped.
10585
10586 Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com>
10587
10588 * Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed
10589 space character in a call to (-[NSString rangeOfString]).
10590
10591 Tue Sep 12 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10592
10593 * Source/NSConnection.m: Removed pointer cross-reference support as it
10594 provided little performance improvement and was responsible for a few
10595 bugs I've never been able to track down, and major problems if the maps
10596 at either end of the link get out of sync (which is unavoidable in some
10597 rare circumstances).
10598 * Headers/Foundation/NSConnection.h: Removed cross-reference maps
10599 * Source/ConnectedCoder.m: Removed pointer cross-reference support
10600 * Source/NSPortCoder.m: Removed pointer cross-reference support
10601
10602 Fri Sep 8 12:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10603
10604 * configure.in: Correct path to include file for checking thread support
10605 (bug reported by kai@cats.ms).
10606
10607 Tue Sep 5 11:21:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10608
10609 * Source/NSUserDefaults.m: Fix for crash when reading corrupt file.
10610 Also -added code to create ~/GNUstep directory if needed.
10611
10612 Mon Sep 4 11:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10613
10614 * Tools/gdomap.c: better debug output (hopefully)
10615
10616 Wed Sep 29 21:34:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10617
10618 * Source/NSData.m: More GC updates (atomic data buffer)
10619 * Source/NSGString.m: ditto
10620 * Source/NSGCString.m: ditto
10621 * Source/NSObject.m: More GC updates
10622 * Source/NSZone.m: ditto
10623 * Source/mframe.m: ditto
10624 * Source/objc-gnu2next.m: ditto
10625 * Headers/Foundation/GSIMap.h: ditto
10626
10627 Tue Sep 28 20:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10628
10629 * Source/NSArray.m: Tidy for GC stuff
10630 * Source/NSAttributedString.m: ditto
10631 * Source/NSCallBacks.m: ditto
10632 * Source/NSConnection.m: ditto
10633 * Source/NSData.m: ditto
10634 * Source/NSDateFormatter.m: ditto
10635 * Source/NSFileManager.m: ditto
10636 * Source/NSGArray.m: ditto
10637 * Source/NSGCountedSet.m: ditto
10638 * Source/NSGDictionary.m: ditto
10639 * Source/NSGSet.m: ditto
10640 * Source/NSInvocation.m: ditto
10641 * Source/NSNotificationCenter.m: ditto
10642 * Source/NSObject.m: ditto
10643 * Source/NSPortNameServer.m: ditto
10644 * Source/NSProcessInfo.m: ditto
10645 * Source/NSRunLoop.m: ditto
10646 * Source/NSScanner.m: ditto
10647 * Source/NSString.m: ditto
10648 * Source/NSTimeZone.m: ditto
10649 * Source/NSUnarchiver.m: ditto
10650 * Source/NSUndoManager.m: ditto
10651 * Source/NSUserDefaults.m: ditto
10652 * Source/TcpPort.m: ditto
10653 * Source/propList.h: ditto
10654
10655 Tue Sep 28 11:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10656
10657 * Source/NSArray.m: ([+allocWithZone:]) tiny optimisation.
10658 * Source/NSCountedSet.m: Some optimisation.
10659 * Source/NSTask.m: implement ([-interrupt]) to send SIGINT.
10660 * Source/NSUserDefaults.m: ([-searchList]) return constant array.
10661 Various tidying up and optimisations.
10662 ([-persistentDomainForName:]) fixed memory leak.
10663 ([-volatileDomainForName:]) return constant dictionary.
10664 ([-setPersistentDomain:forName:]) make mutable copy.
10665 ([-setVolatileDomain:forName:]) ditto
10666 * Source/NSObject.m: GC tweaks
10667 * Source/NSZone.m: added zone for atomic GC
10668 * Headers/Foundation/NSZone.h: added zone GSAtomicMallocZone()
10669 * Headers/Foundation/GSIArray.h: Remove special case for zero zone
10670 * Headers/Foundation/GSIMap.h: ditto.
10671
10672 Tue Sep 28 5:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10673
10674 * Source/NSTask.m: ([_collectChiled]) bugfix suggested by karl@nfox.com
10675
10676 Mon Sep 27 21:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10677
10678 * Source/NSScanner.m: Fix error introduced into skipToNextField() macro
10679 my my last rewrite - sorry. Thanks to N. Pero for narrowing down the
10680 problem to a level where I could locate it.
10681 * Source/NSGeometry.m: optimised.
10682
10683 1999-09-24 Adam Fedor <fedor@gnu.org>
10684
10685 * configure.in: Add check for Objective-C headers.
10686
10687 Thu Sep 23 20:09:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10688
10689 * Source/Invocation.m: VARARGS fix by ani joshi <ajoshi@wam.umd.edu>
10690
10691 Tue Sep 21 20:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10692
10693 * Headers/Foundation/NSPortNameServer.h: Tidied and removed a few ivars.
10694 * Source/NSPortNameServer.m: Rewritten to be a bit clearer and to
10695 permit parallel lookup on multiple hosts.
10696
10697 Sun Sep 19 6:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10698
10699 * NSString.m: Fix bug in ([+stringByStandardizingPath]) with trailing
10700 slash.
10701
10702 Thu Sep 16 19:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10703
10704 Change request from Helge
10705 * Source/externs.m: added NSNonRetainedObjectMapValueCallBacks
10706 * Headers/Foundation/NSMapTable.h: ditto.
10707
10708 Thu Sep 16 8:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10709
10710 Changes to minimise naming conflicts by making sure that all ivars
10711 of public classes are prefixed with a underscore.
10712 * Headers/Foundation/NSArchiver.h: prefix ivars with underscore and tidy
10713 * Headers/Foundation/NSArray.h: ditto
10714 * Headers/Foundation/NSAttributedString.h: ditto
10715 * Headers/Foundation/NSAutoreleasePool.h: ditto
10716 * Headers/Foundation/NSBitmapCharSet.h: ditto
10717 * Headers/Foundation/NSBundle.h: ditto
10718 * Headers/Foundation/NSCharacterSet.h: ditto
10719 * Headers/Foundation/NSCoder.h: ditto
10720 * Headers/Foundation/NSData.h: ditto
10721 * Headers/Foundation/NSDate.h: ditto
10722 * Headers/Foundation/NSDateFormatter.h: ditto
10723 * Headers/Foundation/NSDictionary.h: ditto
10724 * Headers/Foundation/NSDistantObject.h: ditto
10725 * Headers/Foundation/NSDistributedLock.h: ditto
10726 * Headers/Foundation/NSDistributedNotificationCenter.h: ditto
10727 * Headers/Foundation/NSException.h: ditto
10728 * Headers/Foundation/NSFileHandle.h: ditto
10729 * Headers/Foundation/NSFileManager.h: ditto
10730 * Headers/Foundation/NSGAttributedString.h: ditto
10731 * Headers/Foundation/NSHost.h: ditto
10732 * Headers/Foundation/NSInvocation.h: ditto
10733 * Headers/Foundation/NSLock.h: ditto
10734 * Headers/Foundation/NSMethodSignature.h: ditto
10735 * Headers/Foundation/NSNotification.h: ditto
10736 * Headers/Foundation/NSNotificationQueue.h: ditto
10737 * Headers/Foundation/NSPort.h: ditto
10738 * Headers/Foundation/NSPortMessage.h: ditto
10739 * Headers/Foundation/NSPortNameServer.h: ditto
10740 * Headers/Foundation/NSProtocolChecker.h: ditto
10741 * Headers/Foundation/NSScanner.h: ditto
10742 * Headers/Foundation/NSSet.h: ditto
10743 * Headers/Foundation/NSTask.h: ditto
10744 * Headers/Foundation/NSURL.h: ditto
10745 * Headers/Foundation/NSURLHandle.h: ditto
10746 * Headers/Foundation/NSUndoManager.h: ditto
10747 * Headers/Foundation/NSUserDefaults.h: ditto
10748 * Source/NSArchiver.m: ditto
10749 * Source/NSAutoreleasePool.m: ditto
10750 * Source/NSBitmapCharSet.m: ditto
10751 * Source/NSCalendarDate.m: ditto
10752 * Source/NSDate.m: ditto
10753 * Source/NSDateFormatter.m: ditto
10754 * Source/NSDistantObject.m: ditto
10755 * Source/NSDistributedLock.m: ditto
10756 * Source/NSDistributedNotificationCenter.m: ditto
10757 * Source/NSException.m: ditto
10758 * Source/NSFileManager.m: ditto
10759 * Source/NSGAttributedString.m: ditto
10760 * Source/NSGSet.m: ditto
10761 * Source/NSHost.m: ditto
10762 * Source/NSInvocation.m: ditto
10763 * Source/NSLock.m: ditto
10764 * Source/NSMethodSignature.m: ditto
10765 * Source/NSNotificationCenter.m: ditto
10766 * Source/NSNotificationQueue.m: ditto
10767 * Source/NSPort.m: ditto
10768 * Source/NSPortMessage.m: ditto
10769 * Source/NSPortNameServer.m: ditto
10770 * Source/NSProtocolChecker.m: ditto
10771 * Source/NSScanner.m: ditto
10772 * Source/NSTask.m: ditto
10773 * Source/NSURL.m: ditto
10774 * Source/NSURLHandle.m: ditto
10775 * Source/NSUndoManager.m: ditto
10776 * Source/NSUserDefaults.m: ditto
10777 * Source/Port.m: ditto
10778 * Source/TcpPort.m: ditto
10779 * Source/UdpPort.m: ditto
10780
10781 Tue Sep 14 20:44:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10782
10783 * Source/NSArray.m: Huge amounts of optimisation.
10784 Memory leak fixed in ([-initWithFile:]).
10785 * Source/NSGArray.m: Optimisations of less-used methods, including
10786 implementation of fast enumerators.
10787
10788 Tue Sep 14 15:11:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10789
10790 * Source/NSTimer.m: minor optimisations
10791 * Headers/NSRunLoop.h: modification for optimisation of performers
10792 * Source/NSRunLoop.m: minor optimisations, plus bugfix for performers
10793 (was removing performers after they had been fired - shouldn't).
10794
10795 Mon Sep 13 6:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10796
10797 Miscellaneous minor bugfixes plus,
10798 * Source/NSDate.m: Year 2001 bug fixed - had silly assertion in
10799 generation of time interval since reference date for current time.
10800 * Source/NSScanner.m: optimised (well, mostly).
10801 * Headers/Foundation/NSScanner.h: update for optimisatio).
10802
10803 Sun Sep 12 20:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10804
10805 * Source/NSDictionary.m: optimise by avoiding objc method lookup
10806 overheads wherever possible.
10807 * Source/NSGDictionary.m: likewise.
10808
10809 Fri Sep 3 11:57:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10810
10811 * Source/NSString.m: speed up path handling a bit by caching
10812 method for testing for path separators - also fixed appending
10813 of path extensions and components to be according to spec.
10814
10815 Sat Aug 21 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10816
10817 * Tools/gdomap.c: Fix for probing for other gdomap processes on the
10818 net.
10819
10820 1999-08-19 Michael Hanni <mhanni@sprintmail.com>
10821
10822 * Source/NSObjCRuntime.m: patch from Tim Bissell to help in
10823 debugging. (show which non-existant ivar you wanted.)
10824
10825 1999-09-07 Adam Fedor <fedor@gnu.org>
10826
10827 * Version: 0.6.0
10828
10829 * configure.in: Add test for solaris libraries, freebsd threads.
10830 * Source/mframe/config.guess: Update to latest version
10831 * Source/mframe/config.sub: Likewise.
10832
10833 Sun Sep 5 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10834
10835 * config/config_thread.m: new file
10836 * configure.in: Update to check to see if obc runtime uses threads
10837 so that we can include the thread library if necessary - and later
10838 onbjc tests won't all fail on threaded systems.
10839 Also - force use of fake-main stuff on bsd systems.
10840 * Source/NSProcessInfo.m: Remove bsd workaround - didn't work.
10841
10842 1999-08-29 Michael Hanni <mhanni@sprintmail.com>
10843
10844 * Source/NSObjCRuntime.m: added a patch from Tim Bissell
10845 <tim.bissell@dresdnerkb.com>. Adds better debugging information
10846 for non-existent ivars.
10847
10848 Sat Sep 4 6:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10849
10850 Various process-info related bugfixes.
10851 * Source/NSBundle.m: Use arguments list for argv[0] for full path.
10852 * Source/NSLog.m: use processName directly in log.
10853 * Source/NSProcessInfo.m: Fix process name to be last path component
10854 of argv[0], and add workaround for buggy /proc filesystems that
10855 append a newline to arguments.
10856 * Source/NSUserDefaults.m: use processName directly for domain name.
10857
10858 Thu Sep 2 9:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10859
10860 * Source/NSTask.m: exec process with argv[0] set to full path of
10861 the executable rather than just the program name.
10862
10863 Tue Aug 31 15:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10864
10865 * Source/NSTimer.m: Set minimum timeout to 0.01s rather than 1.0s.
10866 This seems a more reasonable value - a 1 second delay is too big.
10867
10868 1999-08-29 Adam Fedor <fedor@gnu.org>
10869
10870 * Source/NSLog.m (_NSLog_standard_printf_handler): Use
10871 cStringLength.
10872
10873 Wed Aug 25 15:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10874
10875 Fixes for memory leaks in parsing property lists.
10876 * Source/propList.h: release new strings asap
10877 * Source/NSString.m: autorelease value returned by parsing plists.
10878 * Source/NSGString.m: ditto.
10879 * Source/NSGCString.m: ditto.
10880
10881 Wed Aug 25 11:37:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10882
10883 * Source/Makefile.postamble: Added rules to build some files without
10884 optimisation, to avoid optimiser breaking them.
10885
10886 1999-08-23 Pedro Ivo Andrade Tavares <ptavares@iname.com>
10887
10888 * Headers/gnustep/base/NSByteOrder.h: changed the NSByteStore struct
10889 to comply to Mac OS X documentation.
10890
10891 1999-08-22 Adam Fedor <fedor@gnu.org>
10892
10893 * Documentation/gnustep-base.tmpl.texi: New with GNUstep specific
10894 documentation.
10895 * Documentation/news.tmpl.texi: update
10896
10897 Fri Aug 20 16:17:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10898
10899 * NSNotificationQueue.m: notifyIdle() fix to send ASAP notifications
10900 even when no idle notifications are waiting.
10901
10902 Thu Aug 19 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10903
10904 * Source/NSCalendarDate.m: Various memory-leak fixes.
10905 * Source/NSTimeZone.m: Various memory leak fixes.
10906
10907 Sat Aug 7 17:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10908
10909 * Testing/tcpport-server.m: fixes to work with NSNotificationCenter.
10910
10911 1999-08-10 Adam Fedor <fedor@gnu.org>
10912
10913 * configure.in: Move objc_conditioned_wait test so it gets proper
10914 LIBS setup
10915 * Source/mframe/configure: Regenerate using autoconf 2.13
10916
10917 1999-08-08 Adam Fedor <fedor@gnu.org>
10918
10919 * Source/NSPort.m (-sendBeforeDate:): Change return type to BOOL
10920 as per the spec.
10921 * Source/NSPortMessage.m: Likewise. (patch from
10922 Pedro Ivo Andrade Tavares <ptavares@iname.com>).
10923
10924 * configure.in: Rewrite +load method test.
10925
10926 1999-08-08 Manuel Guesdon <mguesdon@sbuilders.com>
10927
10928 * Source/NSGString.m (stringIncrementCountAndMakeHoleAt and stringDecrementCountAndFillHoleAt):
10929 Added a test for null length/size.
10930 Added NSCAssert on index/size/count/capacity
10931
10932 1999-08-05 Adam Fedor <fedor@gnu.org>
10933
10934 * Source/NSLock.m ([NSConditionLock -lockWhenCondition:beforeDate:]):
10935 Implement (Patch from Patrick Stein <jolly@jinx.de>).
10936 * configure.in: Check for objc_condition_timewait.
10937
10938 * Source/NSString.m (-initWithFormat:arguments:): Don't advance
10939 vsprintf arguments on powerpc.
10940
10941 * Source/mframe/powerpc/linux-gnu (MFRAME_ARG_ENCODING): Fix
10942 alignment of small structures.
10943
10944 * many files: Changed FSF mailing address
10945
10946 Fri Aug 6 13:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10947
10948 Portability fixes for compilers that don't leave enough space in an
10949 NXConstantString object for the _hash ivar of NSGCString.
10950 * Source/NSGCString.m: don't use _hash ivar of NXConstantString.
10951 * Source/NSGString.m: don't use _hash ivar of NXConstantString.
10952 * Source/Foundation/NSString.h: Add warning comment about the ivar
10953 layout for NXConstantString.
10954
10955 Thu Aug 5 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10956
10957 * Tools/gdomap.c: prb_add() maintain server info in date order.
10958 prb_del() removed, bugfixes to notice when a server dies.
10959
10960 Tue Aug 3 12:36:54 1999 Adam Fedor <fedor@ultra.doc.com>
10961
10962 * Source/NSInvocation.m (-initWithTarget:selector:): Hack for
10963 sparc and ppc machines to align structs on word boundaries.
10964 * mframe/sparc/solaris2.6: New file with fix for putting small
10965 structures at correct offset.
10966
10967 Mon Aug 2 8:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10968
10969 * Source/propList.h: parseQuotedString() fix for parsing octal escape
10970 sequences - hope it's right now.
10971
10972 Sun Aug 1 7:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10973
10974 * Source/NSBundle.m: ([+localizedStringForKey:value:table:]) Fixed so
10975 that debugging behavior only takes place when NSShowNonLocalizedStrings
10976 default is 'YES'.
10977
10978 1999-07-29 Adam Fedor <fedor@gnu.org>
10979
10980 * config.guess: Updated from latest version + fix for Netwinder.
10981 * config.sub: Likewise.
10982
10983 * Headers/gnustep/base/Foundation.h: Include NSPage.h
10984 * Headers/gnustep/base/NSPortCoder.h: Remove ref to Port.h
10985
10986 Wed Jul 28 15:53:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10987
10988 * Source/NSObject.m: ([+isKindOfClass:]) Fixed to return NO except
10989 when both the argument and the receiver are NSObject - as specified
10990 in the MacOS-X documentation. Thanks to Helge for pointing this out.
10991
10992 Mon Jul 26 21:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10993
10994 Fix cStrings to use unsigned char throughout - to avoid problems
10995 with character sets other than ascii. Suggested by Kai Henningsen.
10996 * Headers/Foundation/NSGCString.h: Use unsigned chars.
10997 * Source/NSGCString.m: Use unsigned chars.
10998 * Source/GSeq.h: Use unsigned chars.
10999 * Source/propList.h: Use unsigned chars.
11000
11001 Fri Jul 23 22:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11002
11003 * Source/UnixFileHandle.m: Tidy a little and make sure that
11004 non-blocking mode is reset when a descriptor is closed.
11005 * Source/NSPortNameServer.mL Fixed error in lookup when host name
11006 is specified.
11007
11008 Thu Jul 22 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11009
11010 * Source/NSTimeZone.m: ([-initWithOffset:]) bugfix by Kai Henningsen
11011 * acconfig.h: Removed old libc method of getting NSProcessInfo stuff.
11012 * aclocal.m4: Removed old libc method of getting NSProcessInfo stuff.
11013 * configure.in: Added new '/proc' method of getting NSProcessInfo stuff
11014 by Nico Pero, with modifications and --enable-fake-main
11015 * Headers/GSConfig.h.in: New NSProcessInfo stuff
11016 * Headers/NSObject.h: Remove fake-main include - use GSConfig.h
11017 * Headers/config.h.in: Remove fake-main include - use GSConfig.h
11018 * Headers/preface.h.in: Remove fake-main include - use GSConfig.h
11019 * Source/GNUmakefile: Remove fake-main.h
11020 * Source/Makefile.postamble: NSProcessInfo.o depends on GSConfig.h
11021 * Source/NSLog.m: Bugfix - set up pointer to log function.
11022 * Source/NSProcessInfo.m: Remove old hack for getting process info
11023 and add new '/proc' method, along with improvements to the fake-main
11024 mechanism.
11025
11026 Tue Jul 20 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11027
11028 * Source/NSCalendarDate.m: ([initWithString:calendarFormat:locale:])
11029 updated to get default format and locale info.
11030
11031 Tue Jul 20 10:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11032
11033 * Source/NSString.m: Update code for standardising paths - now
11034 conforms to MacOS-X spec (more or less).
11035
11036 Thu Jul 15 6:26:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11037
11038 * Headers/Foundation/NSURL.h: Tidied
11039 * Headers/Foundation/NSURLHandle.h: Tidied
11040 * Headers/Foundation/Foundation.h: inlcude NSURL.h and NSURLHandle.h
11041
11042 Wed Jul 14 20:19:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11043
11044 * Source/NSThread.m: Make sure that a thread retains the target object
11045 and argument of the method with which it is detached.
11046 * Testing/diningPhilosophers.m: Fixed bug - was passing non NSObject
11047 argument.
11048
11049 Wed Jul 14 16:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11050
11051 * Source/NSAttributedString.m: Fixed ([allocWithZone:]) so that
11052 subclasses should work correctly.
11053
11054 Wed Jul 14 10:32:17 1999 Adam Fedor <fedor@ultra.doc.com>
11055
11056 * Testing/Makefile.preamble: Fix include path the headers.
11057 Other testing fixes
11058
11059 Tue Jul 13 17:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11060
11061 * Source/NSUser.m: Implemented NSStandardApplicationPaths(),
11062 NSStandardLibraryPaths(), and GSStandardPathPrefixes().
11063
11064 Mon Jul 12 5:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11065
11066 * Source/NSString.m: Bugfixes in ([stringByStandardizingPath:])
11067 as suggested by Pascal Bourguignon. Also fix to do substitutions
11068 throughout path, also use realpath() for resolving links if possible.
11069 * configure.in: Check for realpath()
11070
11071 Sat Jul 10 13:52:20 1999 Adam Fedor <fedor@ultra.doc.com>
11072
11073 * Makefile.postamble: Create Foundation link in Source directory
11074 * Source/Makefile.postamble: Remove link to Foundation
11075 (work around bug in make?)
11076
11077 Thu Jul 8 22:21:54 1999 Adam Fedor <fedor@ultra.doc.com>
11078
11079 * Changes for new directory layout.
11080 * Makefile.postamble: Link Foundation from gnustep/base
11081 * configure.in: Change location of generated include files.
11082 * Source/mframe/configure.in: Change mframe.h location.
11083 * Tools/Makefile.preamble: Change base header locations.
11084 * Source/Makefirl.postamble: Likewise.
11085
11086 Sat Jul 3 21:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11087
11088 * Source/NSCallBacks.m: Changes for garbage collection.
11089 * Source/NSDateFormatter.m: ditto.
11090 * Source/NSDictionary.m: ditto.
11091 * Source/NSDistributedLock.m: ditto.
11092 * Source/NSDistributedNotificationCenter.m: ditto.
11093 * Source/NSGArray.m: ditto.
11094 * Source/NSGCString.m: ditto.
11095 * Source/NSGCountedSet.m: ditto.
11096 * Source/NSGDictionary.m: ditto.
11097 * Source/NSGSet.m: ditto.
11098 * Source/NSHost.m: ditto.
11099 * Source/NSInvocation.m: ditto.
11100 * Source/NSNotification.m: ditto.
11101 * Source/NSProtocolChecker.m: ditto.
11102 * Source/NSScanner.m: ditto.
11103 * Source/NSSerializer.m: ditto.
11104 * Source/NSSet.m: ditto.
11105 * Source/NSData.m: ditto.
11106 * Source/NSPortNameServer.m: ditto.
11107 * Source/NSUndoManager.m: ditto.
11108 * Source/NSURL.m: ditto.
11109
11110 Fri Jul 2 14:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11111
11112 * Source/GSeq.h: Fix boundary error when searching for string in
11113 string.
11114 * Source/NSString.m: Don't allocate contents for string with 0 length.
11115 * Source/NSGString.m: ditto
11116 * Source/NSGCString.m: ditto
11117
11118 Fri Jul 2 8:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11119
11120 * Source/NSUnarchiver.m: In designated initialiser, catch exceptions
11121 and deallocate self before re-throwing in order to prevent memory
11122 leak.
11123
11124 Thu Jul 1 14:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11125
11126 Patch by Kai Henningsen to improve debug slightly.
11127 * Source/NSObject.m: improved exception messages.
11128
11129 Wed Jun 30 22:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11130
11131 * Source/NSArray.m: Tidied for garbage collection.
11132 * Source/PropList.h: Tidied for garbage collection.
11133 * Source/include/Unicode.h: Added missing prototyp.
11134
11135 Tue Jun 29 17:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11136
11137 Patches by Hai Henningsen
11138 * Source/NSString.m: Fix for stringByAppendingPathExtension
11139 * Source/Unicode.m: Several bugfixes in AND logic.
11140
11141 Mon Jun 28 11:48:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11142
11143 * Source/include/NSConnection.h: Fixed spelling error reported by
11144 Olivier.Saut@dptmaths.ens-cachan.fr
11145 * Source/NSConnection.m: ditto
11146
11147 Sat Jun 26 7:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11148
11149 * Source/NSRunLoop.m: Fix error in last mod.
11150 * Source/NSTask.m: Allow for bsd setpgrp()
11151 * Souyrce/configure.in: Allow for bsd setpgrp()
11152
11153 Fri Jun 25 11:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11154
11155 * Source/NSRunLoop.m: Use autorelease pools in ([limitDateForMode:])
11156 and ([acceptInputForMode:beforeDate:])
11157
11158 Thu Jun 24 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11159
11160 * Source/include/GSIMap.h: Tweaks to avoid compiler warnings.
11161 * Source/include/NSNotification.h: ditto.
11162 * Source/propList.h: ditto.
11163 * Source/Collection.m: ditto.
11164 * Source/TcpPort.m: ditto.
11165 * Source/UnixFileHandle.m: ditto.
11166 * Source/NSArchiver.m: ditto.
11167 * Source/NSArchiver.m: ditto.
11168 * Source/NSCalendarDate.m: ditto.
11169 * Source/NSCoder.m: ditto.
11170 * Source/NSConcreteValue.m: ditto.
11171 * Source/NSConnection.m: ditto.
11172 * Source/NSData.m: ditto.
11173 * Source/NSDate.m: ditto.
11174 * Source/NSDictionary.m: ditto.
11175 * Source/NSDistributedNotificationCenter.m: ditto.
11176 * Source/NSGAttributedString.m: ditto.
11177 * Source/NSGCountedSet.m: ditto.
11178 * Source/NSGCString.m: ditto.
11179 * Source/NSGDictionary.m: ditto.
11180 * Source/NSHost.m: ditto.
11181 * Source/NSLock.m: ditto.
11182 * Source/NSNotificationCenter.m: ditto.
11183 * Source/NSNotificationQueue.m: ditto.
11184 * Source/NSNumber.m: ditto.
11185 * Source/NSObjCRuntime.m: ditto.
11186 * Source/NSObject.m: ditto.
11187 * Source/NSPage.m: ditto.
11188 * Source/NSPortNameServer.m: ditto.
11189 * Source/NSScanner.m: ditto.
11190 * Source/NSSerializer.m: ditto.
11191 * Source/NSString.m: ditto.
11192 * Source/NSTask.m: ditto.
11193 * Source/NSTimeZone.m: ditto.
11194 * Source/NSThread.m: ditto.
11195 * Source/NSUnarchiver.m: ditto.
11196 * Source/NSURL.m: ditto.
11197 * Source/NSURLHandle.m: ditto.
11198 * Source/NSUserDefaults.m: ditto.
11199 * Source/NSZone.m: ditto.
11200 * Tools/gdomap.c: ditto.
11201 * Tools/gdnc.m: ditto.
11202 * Tools/plparse.m: ditto.
11203 * Tools/sfparse.m: ditto.
11204 * Tools/pldes.m: ditto.
11205 * Tools/plser.m: ditto.
11206
11207 1999-06-24 Adam Fedor <fedor@gnu.org>
11208
11209 * Source/include/GSIArray.h (GSIArrayRemoveLastItem): New function.
11210 (GSIArrayLastItem): Likewise.
11211 (GSIArrayCopyWithZone): Likewise.
11212
11213 Tue Jun 22 16:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11214
11215 * Source/NSThread.m: Various changes to tidy up notification handling
11216 to avoid warning messages and to ensure that observers get notified
11217 before the application becomes multi-threaded.
11218
11219 Mon Jun 21 20:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11220
11221 * Source/NSFileManager.m: Fixed error recursing into directory.
11222 * Source/include/NSFileManager.h: tidied.
11223
11224 Mon Jun 21 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11225
11226 Mostly updates of range checking code and change of FastArray and
11227 FastMap to use the prefix GSI (GnuStepInline) rather than Fast -
11228 less likely to conflict with other names.
11229 * Source/include/NSRange.h: Added GS_RANGE_CHECK() macro for consistent
11230 range checking.
11231 * Source/include/FastArray.x: Renamed to GSIArray.h
11232 * Source/include/FastMap.x: Renamed to GSIMap.h
11233 * Source/include/NSArchiver.h: Changed Fast to GSI
11234 * Source/NSString.m: Use GS_RANGE_CHECK()
11235 * Source/NSGString.m: ditto
11236 * Source/NSGCString.m: ditto
11237 * Source/NSAttributedString.m: ditto
11238 * Source/NSGAttributedString.m: ditto
11239 * Source/NSData.m: ditto
11240 * Source/NSArray.m: ditto
11241 * Source/NSGArray.m: ditto
11242 * Source/GNUmakefile: Renamed Fast... to GSI...
11243 * Source/Makefile.postamble: Renamed Fast... to GSI...
11244 * Source/NSArchiver.m: ditto
11245 * Source/NSGCountedSet.m: ditto
11246 * Source/NSGDictionary.m: ditto
11247 * Source/NSGSet.m: ditto
11248 * Source/NSNotificationCenter.m: ditto
11249 * Source/NSRunLoop.m: ditto
11250 * Source/NSSerializer.m: ditto
11251 * Source/NSUnarchiver.m: ditto
11252
11253 Fri Jun 18 8:36:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11254
11255 * Source/NSFileManager.m: Fix lookup of fileGroupOwnerAccountName
11256 Fix test for symbolic links, add diagnostic info, fix copy to produce
11257 files owned by current user.
11258 * Source/include/NSFileManager.h: tidyup
11259 * Source/include/NSObject.h: fixup for ASSIGN macro - should work for
11260 all objects.
11261
11262 Thu Jun 17 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11263
11264 * Source/include/NSNotification.h: Update to MacOS-X specs.
11265 * Source/NSNotification.m: Tidied
11266 * Source/NSNotificationCenter.m: Complete rewrite for performance
11267 (order of magnitude improvement) and GC.
11268
11269 Thu Jun 17 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11270
11271 * Tools/gdnc.m: Only use OpenStep NSNotificationCenter methods.
11272 * Source/NSConnection.m: ditto
11273 * Source/NSDistributedNotificationCenter.m: ditto
11274 * Source/NSPort.m: ditto
11275 * Source/NSPortNameServer.m: ditto
11276 * Source/NSSerializer.m: ditto
11277 * Source/Port.m: ditto
11278 * Source/TcpPort.m: ditto
11279
11280 Mon Jun 14 10:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11281
11282 * Source/NSConcreteValue.m: Update for MacOS-X and for GC
11283 * Source/NSCTemplateValue.m: Update for MacOS-X and for GC
11284 * Source/NSNumber.m: Update for MacOS-X and for GC, optimised
11285 * Source/NSConcreteNumber.m: Update for MacOS-X and for GCC, optimised
11286 * Source/NSValue.m: Update for MacOS-X and for GC
11287 * Source/include/NSValue.h: Update for MacOS-X and for GC
11288
11289 Sat Jun 12 15:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11290
11291 * Source/NSConcreteValue.m: Implemented [hash and isEqualToValue
11292 * Source/include/NSConcreteValue.h: Change NSString ivar to char* for
11293 performance reasons.
11294 * Source/NSCTemplateValue.m: Implemented hash and optimised.
11295
11296 Thu Jun 4 13:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11297
11298 * Source/NSCharacterSet.m: prepare for GC
11299 * Source/NSString.m: prepare for GC
11300 * Source/NSTimer.m: tidied and added timeInterval method
11301 * Source/include/NSTimer.h: tidied and added timeInterval method
11302 * Source/NSArchiver.m: Fixed memory leak in ([-init])
11303
11304 Tue Jun 2 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11305
11306 * Source/NSSerializer.m: Added uniquing for deserialized strings.
11307 * Source/include/NSSerialization.h: likewise.
11308
11309 Tue Jun 2 5:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11310
11311 * Source/TcpPort.m: Fixed to compile cleanly under cygwin.
11312 * Source/UnixFileHandle.m: ditto
11313 * Source/NSHost.m: ditto
11314 * Source/NSProcessInfo.m: ditto
11315 * Source/NSRunLoop.m: ditto
11316
11317 Fri May 28 14:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11318
11319 * Source/NSString.m: Fixed error on growing mutable strings - could
11320 cause unreasonable growth when generating property lists.
11321
11322 Thu May 27 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11323
11324 * Source/NSArchiver.m: Fix memory leak reported by
11325 frederic.chauvin@lemel.fr and ready for garbage collection.
11326 * Source/NSUnarchiver.m: Ready for garbage collection.
11327 * Source/NSTimeZone.m: Fix memory leak reported by
11328 frederic.chauvin@lemel.fr. Ready for garbage collection.
11329 * Source/NSCalendarDate.m: Fix bug in decrementing date past start
11330 of month. Ready for garbage collection.
11331
11332 Wed May 26 18:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11333
11334 * Source/include/NSSerialization.h: include NSObject.h
11335 * Source/NSSerializer.m: Deserialization optimisation (15%)
11336 * Source/NSArray.m: write descriptions to cstrings.
11337 * Source/NSDictionary.m: write descriptions to cstrings.
11338 * Source/NSGCString.m: description optimisation (15%).
11339
11340 Wed May 26 12:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11341
11342 * Source/NSUnarchiver.m: Fixed libobjects compatibility methods to
11343 use decodeObject to get the name from the archive.
11344
11345 Sun May 23 20:38:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11346
11347 * Source/TcpPort.m: Fixed retain/release loop causing ports occasionally
11348 to be kept in existence when they should disappear.
11349
11350 Fri May 21 19:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11351
11352 * Source/include/NSObject.h: Added NSExtraRefCount()
11353 * Source/NSObject.m: Added NSExtraRefCount()
11354
11355 Fri May 21 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11356
11357 * Source/include/NSThread.h: Update notification names to MacOS-X
11358 with defines for OpenStep compatibility.
11359 * Source/NSThread.m: Update notification names to MacOS-X
11360 * Source/externs.m: Update thread notification names to MacOS-X
11361
11362 Fri May 21 16:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11363
11364 * Source/include/NSZone.h: Added NSZoneMallocAtomic() for Helge
11365 and in anticipation of adding garbage collection support some day.
11366
11367 Fri May 21 9:56:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11368
11369 * Source/include/NSObject.h: Bracket macro definitions with #ifndef
11370 in case they are already defined.
11371
11372 Thu May 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11373
11374 * Source/NSUserDefaults.m: Don't load defaults unless we need to.
11375 * Source/include/NSUserDefaults.h: Keep modification timestamp.
11376
11377 Thu May 20 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11378
11379 * Source/GSeq.h: Add support for comparison and search.
11380 * Source/NSString.m: Use comparison and search functions from GSeq.h
11381 * Source/NSGString.m: Use comparison and search functions from GSeq.h
11382 * Source/NSGCString.m: Use comparison and search functions from GSeq.h
11383 * Source/Makefile.postamble: Make all string files depend on GSeq.h
11384 * Source/NSRunLoop.m: Don't retain receiver of runloop watcher.
11385
11386 Wed May 19 21:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11387
11388 * Source/GSeq.h: New file to replace NSGSequence stuff
11389 * Source/NSString.m: Rewrite all methods using sequences.
11390 * Source/NSGString.m: Remove reference to NSGSequence.
11391 * Source/include/NSString.h: Remove unused method (_normalize).
11392 * Source/NSGSequence.m: Removed
11393 * Source/include/NSGSequence.h: Removed
11394
11395 Tue May 18 9:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11396
11397 * Source/NSRunLoop.m: ([-acceptInputForMode:beforeDate:]) check that
11398 run loop watcher objects exist in map before trying to use them.
11399
11400 Fri May 14 20:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11401
11402 * Tools/pldes.m: new tool to deserialise serialised property lists.
11403 * Tools/plser.m: new tool to serialise text property lists.
11404 * Tools/GNUmakefile: add pldes and plser
11405
11406 Mon May 11 15:00:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11407
11408 * Source/NSArray.m: getObjects: (id*)aBuffer range: (NSRange)aRange
11409 corrected bug in for: replace c by e
11410
11411 Tue May 11 10:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11412
11413 * Source/include/preface.h: Attempt to standardise win32 conditional
11414 compilation by using __WIN32__ throughout.
11415 * NSDate.m: Standardize win32 stuff using __WIN32__
11416 Open files with "rb" or "wb" only for winw3.
11417 * NSFileManager.m: Standardize win32 stuff using __WIN32__
11418 * NSHost.m: Standardize win32 stuff using __WIN32__
11419 * NSLog.m: Standardize win32 stuff using __WIN32__
11420 * NSProcessInfo.m: Standardize win32 stuff using __WIN32__
11421 * NSString.m: Standardize win32 stuff using __WIN32__
11422 * NSTask.m: Standardize win32 stuff using __WIN32__
11423 * NSThread.m: Standardize win32 stuff using __WIN32__
11424 * NSUser.m: Standardize win32 stuff using __WIN32__
11425 * NSUserDefaults.m: Standardize win32 stuff using __WIN32__
11426 * Time.m: Standardize win32 stuff using __WIN32__
11427 * UnixFileHandle.m: Standardize win32 stuff using __WIN32__
11428 * NSData.m: Standardize win32 stuff using __WIN32__
11429 * NSTimeZone.m: Standardize win32 stuff using __WIN32__
11430 Open files with "rb" or "wb" only for winw3.
11431
11432 Mon May 10 8:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11433
11434 * Source/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11435 optimised.
11436 * Source/NSGString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11437 implemented.
11438 * Source/NSGCString.m: ([-rangeOfComposedCharacterSequenceAtIndex:])
11439 * Source/NSGSequence.m: various parts optimised.
11440 * Source/include/NSThread.h: add gcontext ivar.
11441
11442 Fri May 7 15:12:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11443
11444 * Source/NSBundle.m: Modified ([-release]) to avoid unnecessary work
11445 and to refrain from caching bundles unless they have loaded code
11446 (or are the main bundle or the gnustep bundle).
11447
11448 Thu May 6 21:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11449
11450 * Source/NSUnarchiver.m: Don't retain/release unless necessary.
11451 * Source/NSUserDefaults.m: ditto
11452 * Source/NSNotification.m: ditto
11453 * Source/NSFileManager.m: ditto
11454 * Source/NSBundle.m: ditto
11455 * Source/NSRunLoop.m: ditto
11456 * Source/NSAutoreleasePool.m: Bugfix in dealloc - would leave count
11457 of retained objects set high - caused deallocs of nil objects.
11458
11459 Thu May 6 17:06:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11460
11461 * Source/NSString.m: Minor optimisations - use ([-allocWithZone:])
11462 * Source/NSGCString.m: ditto
11463 * Source/NSGDictionary.m: ditto
11464 * Source/NSArray.m: ditto
11465 * Source/NSDictionary.m: ditto
11466 * Source/NSSet.m: ditto
11467 * Source/NSGCountedSet.m: ditto
11468 * Source/NSData.m: ditto
11469
11470 Thu May 6 13:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11471
11472 * Source/propList.h: new file
11473 * Source/NSString.m: include propList.h for property-list parsing.
11474 * Source/NSGString.m: ditto
11475 * Source/NSGCString.m: ditto
11476 * Source/NSTask.m: Minor fixes for win32
11477 * Source/NSLog.m: ditto
11478 * Source/NSProcessInfo.m: ditto
11479 * Source/NSFileManager.m: ditto
11480
11481 1999-04-28 Adam Fedor <fedor@gnu.org>
11482
11483 * Source/NSRunLoop.m (aSort): Redefine to take FastArrayItem as
11484 arguments.
11485 * Source/include/FastArray.x (FastArrayInsertionPosition):
11486 Fully specify sorter function for better type checking.
11487 (FastArrayCheckSort): Likewise.
11488
11489 1999-04-27 Adam Fedor <fedor@gnu.org>
11490
11491 * configure.in: Check for sys/mount.h for NSFileManager functions
11492 on FreeBSD
11493
11494 Fri Apr 23 23:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11495
11496 * Source/NSCalendarDate.m: Applied bugfixes by Jeremy Bettis
11497 <jeremy@hksys.com> to better cope with month ends.
11498
11499 Fri Apr 23 15:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11500
11501 * Source/NSBundle.m: Improved localisation - avoid possibility of
11502 recursion problems if an error occurs reading localisation info.
11503 * Source/NSDate.m: Added classes for distant past and distant future.
11504
11505 1999-04-22 Adam Fedor <fedor@gnu.org>
11506
11507 * configure.in: Don't abort if nested functions don't work. Not
11508 sure we even have any.
11509
11510 * Source/NSBundle.m (-localizedStringForKey:value:table:): Log a
11511 message if no localized key found (per OpenStep specs).
11512 * Source/include/NSBundle.h
11513 (NSLocalizedStringFromTableInFramework): New GNUstep specific
11514 macro.
11515
11516 * NSCharacterSets/GNUmakefile: Install in Resources rather than
11517 Resources/gnustep.
11518 * NSTimeZones/GNUmakefile: Likewise.
11519 * Source/NSCharacterSet.m: Look in new location.
11520 * Source/NSTimeZone.m: Likewise.
11521
11522 Thu Apr 22 21:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11523
11524 * Source/NSBundle.m: Improved localisation - added stuff for internal
11525 use by the GNUstep system.
11526 * Source/NSBundle.h: ditto.
11527 * Source/FastArray.x: Removed assertions for performance.
11528
11529 Thu Apr 22 11:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11530
11531 * Source/NSRunLoop.m: Optimisation and tidyup.
11532 * Source/NSTimer.m: Minor bugfixes.
11533 * Source/include/FastArray.x: Bugfix for array insertion.
11534 * Source/include/NSRunLoop.h: Remove limit ivar.
11535 * Source/include/NSTimer.h: Use NSDate again.
11536
11537 Wed Apr 21 20:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11538
11539 * Source/NSAttributedString.m: Tidied.
11540 * Source/Source/NSAutoreleasePool.m: Thread exit code added
11541 * Source/NSCalendarDate.m: Tidied
11542 * Source/NSConnection.m: ditto
11543 * Source/NSException.m: Tidied and added description
11544 * Source/NSRunLoop.m: Optimisation, bugfixes, and removal of cruft.
11545 * Source/NSThread.m: Clean up autorelease pools on exit.
11546 * Source/NSTimer.m: Optimise use in runloop.
11547 * Source/include/FastArray.x: Bugfix for sorted array.
11548 * Source/include/NSAutoreleasePool.h: Mod for threads.
11549 * Source/include/NSObject.h: More retain/release macros.
11550 * Source/include/NSRunLoop.h: Optimise limit date.
11551 * Source/include/NSTimer.h: Optimise use with run loop.
11552
11553 Tue Apr 20 16:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11554
11555 * Source/Makefile.postamble: NSRunLoop.m uses FastArray.x
11556 * Source/NSConnection.m: Tiny performance optimisation.
11557 * Source/NSDate.m: Minor fixes to class cluster.
11558 * Source/NSGDictionary.m: fixed typo.
11559 * Source/NSNotificationQueue.m: Optimised runloop interaction.
11560 * Source/NSRunLoop.m: Optimisaed notification queue interaction.
11561 * Source/NSTimer.m: Optimisation for run loop.
11562 * Source/NSUnarchiver.m: Fixed typo.
11563 * Source/include/FastArray.x: Support sorted insertion.
11564 * Source/include/NSDate.h: Tidied.
11565 * Source/include/NSNotificationQueue.h: Change runloop interface.
11566 * Source/include/NSTimer.h: Change runloop interface.
11567
11568 Mon Apr 19 14:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11569
11570 * Source/NSThread.m: Fast thread access (GSCurrentThread()) etc.
11571 * Source/NSAssertionHandler.m: Use fast thread access.
11572 * Source/NSConnection.m: Use fast thread access.
11573 * Source/NSException.m: Use fast thread access.
11574 * Source/NSNotificationQueue.m: Use fast thread access.
11575 * Source/NSRunLoop.m: Use fast thread access plus other optimisations.
11576 * Source/NSAutoreleasePool.m: Speed up thread access.
11577 * Source/NSDate.m: Rewrite as calss cluster - MacOS-X compatibility.
11578 * Source/NSCalendarDate.m: Modifications to work with NSDate.
11579 * Source/NSGDictionary.m: Minor tidyup.
11580 * Source/NSGSequence.m: Minor optimisation - really needs a rewrite.
11581 * Source/NSDebug.m: Added function to report all allocations.
11582
11583 Fri Apr 16 20:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11584
11585 * Source/include/NSGeometry.h: Don't pollute macro name space with
11586 MAX and MIN.
11587 * Source/include/NSRange.h: ditto
11588
11589 Thu Apr 15 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11590
11591 * Source/include/NSHost.h: Use #ifdefs to prevent multiple inclusion.
11592
11593 Thu Apr 15 9:47:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11594
11595 * Source/UnixFileHandle.m: ([-fileDescriptor]) return a valid file
11596 descriptor (for /dev/null) for the null device.
11597 * Source/NSTask.m: ([-launch]) Add code to reset signals in subprocess
11598 and to close all file descriptors (except stdin, stdout and stderr).
11599
11600 Wed Apr 14 14:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11601
11602 * Source/NSPortNameServer.m: Don't suspend thread while waiting for
11603 gdomap to start up.
11604 * Source/NSDistributedNotificationCenter.m: Don't suspend thread while
11605 waiting for gdnc to start up.
11606
11607 Wed Apr 14 10:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11608
11609 * Source/NSBundle: ([+allBundles]) implemented (ignoring the frameworks
11610 issue). Extra internal GNUstep specific methods provided -
11611 ([+_gnustep_target_cpu]), ([+_gnustep_target_dir])
11612 ([+_gnustep_target_os]), ([+_library_combo])
11613 So that we can easily determine wrapper path information.
11614 * Source/NSTaks: Preparation for garbage collecting.
11615 Major work on launching - now makes intelligent use of launch path.
11616 Tries various GNUstep directories - if unable to find executable
11617 that way, resorts to using the unix PATH environment variable.
11618 * Source/NSPortNameServer.m: Removed a couple of unix specific calls.
11619 * Source/NSDistributedNotificationCenter.m: Removed a couple of unix
11620 specific calls.
11621 * Tools/Makefile.postamble: Install gdnc in non-library specific dir.
11622
11623 Tue Apr 13 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11624
11625 * Source/NSBundle.m: Updated to use Info.plist if Info-gnustep.plist
11626 is not available. Also updated to look in alternative directories
11627 for the object file to load... If not in the machine/os/lib-combo
11628 subdirectory, tries the machine/os directory and then the top-level
11629 directory. Also updated to cope with the case where the NSExecutable
11630 entry of the Info.plist specifies a path rather than a simple file name.
11631 * Source/NSUser.m: Implemented NSFullUserName()
11632
11633 Mon Apr 12 13:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11634
11635 * Source/NSCountedSet.m: Make copying behavior be same as OPENSTEP
11636 * Source/NSSet.m: Fix memory scribbling bug in ([-initWithSet:])
11637 * Source/NSGSet.m: Tidied types in fast map.
11638 * Source/NSGArray.m: Minor optimisationin copy etc.
11639 * Source/NSGDictionary.m: Tidied types in fast map.
11640 * Source/NSSerializer.m: Tidied types in fast map and array.
11641 * Source/NSArchiver.m: Tidied types in fast map and array.
11642 * Source/NSUnarchiver.m: Tidied types in fast map and array.
11643 * Source/FastArray.x: Tidied, fixed init bug, movied to include
11644 * Source/FastMap.x: Tidied, moved to include
11645 * Source/NSZone.m: Dummy zone for use with GC.
11646 * Source/include/NSZone.h: Dummy zone for use with GC.
11647 * Source/include/GSUnion.h: Unions for use with Fast...
11648 * Source/include/FastArray.x: New from Source
11649 * Source/include/FastMap.x: New from Source
11650 * Source/GNUmakefile: Added FastArray.x, FastMap.x, GSUnion.h
11651 * Source/Makefile.postamble: Added FastArray.x FastMap.x GSUnion.h.
11652 * NSCharacterSets/GNUmakefile: List all new character set names.
11653
11654 Fri Apr 9 22:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11655
11656 * Source/NSGAttributedString.m: Final optimisation - remove almost all
11657 objc runtime overhead. Combined changes should result in a factor of
11658 2 to 10 speedup (depending on operation) over original code.
11659
11660 Fri Apr 9 16:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11661
11662 * Source/NSAttributedString.m: Implement tracking of changes to
11663 string returned by [-mutableString] method. Simplified initialisation.
11664 * Source/include/NSAttributedString.h: Updated.
11665 * Source/NSGAttributedString.m: Rewrite to get rid of all known
11666 problems and to boost performance hugely.
11667 * Source/include/NSGAttributedString.h: Updated.
11668 * Source/NSString.m: ([-_baseCount]) optimised.
11669 * Source/NSGString.m: ([-_baseCount]) optimised.
11670
11671 1999-04-09 Adam Fedor <fedor@gnu.org>
11672
11673 * NSCharacterSets: Updated sets to Version 2.1.8
11674 * Souce/NSCharacterSet.m: Updated to reflect new names of character
11675 sets.
11676
11677 1999-04-08 Adam Fedor <fedor@gnu.org>
11678
11679 * configure.in: Remove test for libobjc.a
11680
11681 Thu Apr 8 12:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11682
11683 * Source/NSArray.m: Make copying behavior consistent with OPENSTEP.
11684 * Source/NSDictionary.m: Make copying behavior consistent with OPENSTEP.
11685 * Source/NSSet.m: Make copying behavior consistent with OPENSTEP.
11686
11687 Wed Apr 7 12:22:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11688
11689 * Source/NSCharacterSet.m: Use punctuationCharSet.dat
11690
11691 1999-04-06 Adam Fedor <fedor@gnu.org>
11692
11693 * NSCharacterSets/punctuationCharSet.dat: New file
11694
11695 Mon 5 7:33:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11696
11697 * Source/NSRange.m: Moved most functions into header file, while
11698 including header to generate linkable versions.
11699 * Source/include/NSGeometry.h: Define MIN and MAX if required.
11700 * Source/include/NSRange.h: Define MIN and MAX if required and make
11701 most range functions a efficiency.
11702
11703 Thu Mar 11 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11704
11705 * Source/NSDebug.m: Added two new functions for logging messags.
11706 * Source/include/NSDebug.h: Added four new logging macros.
11707 * Source/NSBundle.m: Updated to use new NSDebugMLLog() macro.
11708
11709 Wed Mar 10 09:54:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11710
11711 * Source/FastMap.x: FastMapNodeForKey() - special case for empty map
11712 return 0 immediately. Fast for empty maps, marginally slower othrwise.
11713 * Source/NSProcessInfo.m: Removed [-debugArray], Added [-debugSet],
11714 Added GSDebugSet() function for rapid debug level testing.
11715 * Source/include/NSProcessInfo.h: Remove [-debugArray], Add [-debugSet]
11716 * Source/include/NSDebug.h: Rewrite NSDebugLog() and NSDebugLLog() to
11717 be much more efficient - now minimal performance impact.
11718
11719 1999-03-09 Adam Fedor <fedor@gnu.org>
11720
11721 * Source/include/NSObjCRuntime.h: Define some OpenStep cpp vars.
11722 * Source/include/NSException.h (NS_VALUERETURN): Fix.
11723
11724 Tue Mar 9 5:16:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11725
11726 * configure.in: Added tests for syslog
11727 * Source/include/config.h.in: Added definitions for syslog
11728 * Source/NSLog.m: Added locking for multi-thread serialisation and
11729 added syslog support when write to stderr fails.
11730
11731 1999-03-08 Adam Fedor <fedor@gnu.org>
11732
11733 * Merged dawn branch to main.
11734
11735 Wed Mar 3 5:32:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11736
11737 * Source/NSUser.m: Fixed a typo reported by twhite@rogers.wave.ca
11738 * Source/TcpPort.m: Fixed typos.
11739
11740 Tue Mar 2 15:07:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11741
11742 * Source/TcpPort.m: If the host has no IP address, try finding the
11743 address of 'localhost' and, if that fails, use 127.0.0.1
11744
11745 Tue Mar 2 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11746
11747 * NSTimeZones/Makefile.postamble: Updated to preserve old localtime
11748 * NSTimeZones.tar: Updated to use the latest available zone info.
11749
11750 Tue Mar 2 08:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11751
11752 * Merge in 'dawn' CVS branch.
11753
11754 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11755
11756 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11757 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11758 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11759 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11760 bug, and added slight performance improvement.
11761
11762 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11763
11764 Merged in alterations from main cvs branch made to wrong place 'cos
11765 dawn branch was already created :-(
11766 * Source/NSData.m: preserve file attributes when writing atomically
11767 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11768 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11769 doesn't mess up defaults database.
11770 * Source/NSFileManager.m: Create files with correct ownership when
11771 process is setuid to root - and provide facility for NSData to do same.
11772 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11773
11774 Sun Feb 21 19:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11775
11776 * Source/NSFileManager.m: Attempt to fix problems with directory
11777 enumeration.
11778
11779 Sat Feb 20 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11780
11781 * Source/NSUser.m: Added GSSetUserName() and rewrote NSUserName() to
11782 work consistently - use the LOGNAME environment variable as first
11783 choice of username.
11784 * Source/include/NSPathUtilities.h: Added GSSetUserName()
11785 * Source/NSUserDefaults.m: Added GNUstep specific method -
11786 ([+resetUserDefaults]) to reset the standard defaults in the event of
11787 a change os username. Also changed to create defaults withe correct
11788 ownership, and to create a defaults file containing a valid (empty)
11789 dictionary.
11790 * Source/include/NSUserDefaults.h: Added ([+resetUserDefaults])
11791 * Source/NSData.m: Try to preserve file ownership etc with
11792 ([-writeToFile:atomically:])
11793 * Source/NSFileManager.m: ([-changeFileAttributes:atPath:]) added
11794 code to handle owner and group names if owner and group IDs are not
11795 supplied. Also added code to ensure that programs running setuid to
11796 root create new files and directories with the ownership of their
11797 actual login user by default.
11798
11799 1999-02-19 Michael Hanni <mhanni@sprintmail.com
11800
11801 * Source/NSArray.m: Added @end for NSArrayEnumeratorReverse.
11802
11803 1999-03-08 Adam Fedor <fedor@gnu.org>
11804
11805 * Version 0.5.5 Released.
11806
11807 Tue Mar 2 17:04:51 1999 Adam Fedor <fedor@ultra.doc.com>
11808
11809 * Source/TcpPort.m ([GSTcpPort
11810 +portWithNumber:onHost:beforeDate:]): Fix typo in variable.
11811 Change include <sys/errno> to <errno> (Needed on solaris).
11812
11813 1999-03-01 Adam Fedor <fedor@gnu.org>
11814
11815 * Update documentation.
11816
11817 1999-02-28 Adam Fedor <fedor@gnu.org>
11818
11819 * Source/Makefile.postamble: Don't install services if not
11820 root. (patches submitted by Christopher Seawood
11821 <cls@seawood.org>).
11822
11823 Tue Feb 23 12:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11824
11825 * Source/include/NSObject.h: Fixed bugin in ASSIGNCOPY() macro and added
11826 CREATE_AUTORELEASE_POOL() macro for libFoundation compatibility.
11827 * Source/include/NSRunLoop.h: Added GCFinalization protocol.
11828 * Source/NSRunLoop.m: Tidied a little, added GC macro use, fixed minor
11829 bug, and added slight performance improvement.
11830
11831 1999-02-22 Adam Fedor <fedor@gnu.org>
11832
11833 * Version: update version.
11834 * Source/NSProcessInfo.m: Change missing main message.
11835
11836 Mon Feb 22 5:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11837
11838 Merged in alterations from main cvs branch made to wrong place 'cos
11839 dawn branch was already created :-(
11840 * Source/NSData.m: preserve file attributes when writing atomically
11841 * Source/NSUser.m: Bugfixes for consistent naming of current user.
11842 * Source/NSUserDefaults.m: Bugfixes so that running apps as root
11843 doesn't mess up defaults database.
11844 * Source/NSFileManager.m: Create files with correct ownership when
11845 process is setuid to root - and provide facility for NSData to do same.
11846 * Source/NSArray.m: Merged enumerator bugfix - missing @end
11847
11848 1999-02-19 Adam Fedor <fedor@gnu.org>
11849
11850 * Source/NSHost.m ([NSHost +currentHost]): Check for host not found.
11851 ([NSHost +hostWithName:]): Check for nil arg.
11852 ([NSHost +hostWithAddress:]): Likewise.
11853
11854 * Testing/release.m: Make array mutable.
11855 * Testing/fref.m: Switch to NSArchiver/NSUnarchiver
11856
11857 Wed Feb 17 8:52:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11858
11859 * Source/NSProcessInfo.m: Include process name in arguments list as
11860 in the OPENSTEP implementation - suggested by dirk@object-factory.com
11861 * Source/NSUserDefaults.m: Adjust for change to NSProcessInfo
11862 * Source/Tools/defaults.m: ditto
11863 * Source/Tools/dread.m: ditto.
11864 * Source/Tools/dwrite.m: ditto.
11865 * Source/Tools/dremove.m: ditto.
11866 * Source/Tools/plparse.m: ditto.
11867 * Source/Tools/sfparse.m: ditto.
11868
11869 Tue Feb 16 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11870
11871 * Source/NSArray.m: ([-removeObjectsFromIndices:]) rewrite to
11872 work according to spec.
11873 * Testing/nsarray.m: Fixed check on joining strings.
11874
11875 Mon Feb 15 06:14:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11876
11877 * Source/include/NSDebug.h: Declare strerror() if not known to system
11878 * Source/NSTask.m: Include NSDebug.h and don't declare errno.
11879
11880 Thu Feb 12 00:57:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11881
11882 * Source/include/NSString.h: declaration of categories:
11883 NSString (GSString)
11884 NSString(GSTrimming)
11885 NSMutableString (GSString)
11886 NSMutableString (GSTrimming)
11887 * Source/NSString.m: implementation of these categories
11888 * Source/include/NSObject.h: added ASSIGNCOPY
11889 Same as ASSIGN but copy the value
11890 * Source/include/NSURL.h: New class
11891 * Source/include/NSURLHandle.h: New class
11892 * Source/NSURL.m: New class [see the note in the file]
11893 * Source/NSURLHandle.m: New class [see the note in the file]
11894 * GNUMakefile: added NSURL.m and NSURLHandle.m
11895
11896 Fri Feb 12 16:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11897
11898 * Source/NSGeometry.m: Removed most functions - into header
11899 * Source/include/NSGeometry.h: Made most functions inline for speed.
11900 * Makefile.postamble: NSGeometry.o depends on NSGeometry.h
11901
11902 Thu Feb 11 19:25:00 1999 Manuel Guesdon <mguesdon@sbuilders.com>
11903
11904 * Source/NSObjCRuntime.m: Fixed error in GSGetInstanceVariable name:
11905 GSGetIinstanceVariable transformed to GSGetInstanceVariable
11906
11907 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11908
11909 * Source/NSString.m: Fixed error in property-list parsing - was not
11910 taking into account octal and hexadecimal escape sequences.
11911
11912 Thu Feb 11 9:51:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11913
11914 * Source/NSUserDefaults.m: ([-dealloc]) invalidate timer so we can't
11915 get sent a timeout message after d4eallocation - fixes occasional
11916 crashes when the defaults database has been unreadable.
11917
11918 Thu Feb 11 7:27:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11919
11920 * Source/NSConnection.m: Tidy up with bugfixes and better distributed
11921 retain/release for triangle connections.
11922 * Source/NSDistantObject.m: ditto
11923 * Source/TcpPort.m: ditto
11924 * Source/include/DistributedObjects.h: ditto
11925 * Source/include/NSConnection.h: ditto
11926 * Source/include/NSDistantObject.h: ditto
11927
11928 1999-02-09 Adam Fedor <fedor@gnu.org>
11929
11930 * Source/HashTable.m: Moved to extensions.
11931 * Source/List.m, Source/NXStringTable*, Source/Storage.m,
11932 Source/objc/HashTable.h, Source/objc/List.h,
11933 Source/objc/NXStringTable.h, Source/objc/Storage.h:
11934 Likewise.
11935
11936 Tue Feb 9 14:08:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11937
11938 * Source/NSProcessInfo.m: Fixed login in #if construct so things
11939 will link again.
11940
11941 1999-02-08 Adam Fedor <fedor@gnu.org>
11942
11943 * Source/include/fake-main.h: Leave off __ELF__, only use
11944 autoload of init method if SYS_AUTOLOAD.
11945 * Source/NSProcessInfo.m: Likewise.
11946
11947 Mon Feb 8 10:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11948
11949 * Source/include/NSByteOrder.h: Implemented a full set of byte-swapping
11950 inline functions for integers with known sizes.
11951 * Source/NSData.m: Corrected serialization/deserialization routines to
11952 do byte-swapping using new functions.
11953 * Source/UnixFileHandle.m: Use new byte-swapping functions rather than
11954 htonl(), htons(), ntohl(), ntohs().
11955 * Source/NSUnarchiver.m: Use new byte-swapping functions.
11956
11957 1999-02-04 Adam Fedor <fedor@gnu.org>
11958
11959 * config/config.printf.c: New file.
11960 * configure.in: Test for broken register_printf function.
11961
11962 * Source/NSLog.m (_NSLog_standard_printf_handler): Use fputs to
11963 avoid possible double expansion of format chars.
11964
11965 1999-02-04 Matthias Klose <doko@cs.tu-berlin.de>
11966
11967 * Source/include/NSObject.h: eval value in ASSIGN macro only once.
11968
11969 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11970
11971 * Source/NSString.m: ([-dataUsingEncoding:allowLossyConversion:])
11972 Removed spurious trailing nul and other spurious code having no
11973 effect - formatted to be readable.
11974
11975 Thu Feb 4 13:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11976
11977 Deleted all the old property-list and strings-file parsing stuff.
11978 * Source/NSBitmapCharSet.m: ([-formUnionWithCharacterSet]) corrected
11979 to use bitwise or rather than logical or.
11980 ([-formIntersectionWithCharacterSet:]) corrected to use bitwise and
11981 rather than logical and.
11982 * Source/NSString.m: Implemented handwritten parser code for
11983 ([-propertyList]) and ([-propertyListFromStringsFileFormat]) which
11984 supports unicode strings, is 64-bit clean, and raises exceptions
11985 as it should when given a badly formatted string to parse.
11986 This replaces the old lex/bison code (which did none of these things)
11987 and runs just as fast! Just hope that if there are any bugs they
11988 show up in time to fix for the 0.6 release.
11989 * Tools/GNUmakefile: Added plparse and sfparse.
11990 * Tools/plparse.m: New tool to parse a property-list and report errors.
11991 * Tools/sfparse.m: New tool to parse a strings-file and report errors.
11992
11993 Wed Feb 3 12:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
11994
11995 * Source/FastArray.x: Don't use value returned by RETAIN macro.
11996 * Source/FastMap.x: Don't use value returned by RETAIN macros.
11997 * Source/NSGDictionary.m: Fix to assign values in RETAIN macros
11998 as suggested by mguesdon@sbuilders.com
11999
12000 Tue Feb 2 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12001
12002 * Source/NSZone.m: nrecycle() bugfix - was persisting after memory
12003 had actually been returned to system malloc.
12004
12005 Tue Feb 2 11:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12006
12007 * Source/mframe/alpha/linux-gnu: First 'real' port to alpha.
12008 * Source/mframe/alpha/generic: ditto
12009
12010 1999-02-01 Adam Fedor <fedor@gnu.org>
12011
12012 * Source/UnixFileHandle.m: Switch include of netinet/in.h.
12013 * Source/NSObject.m: Undef ALIGN before define'ing.
12014 * Source/NSZone.m: Likewise.
12015 * Source/mframe/configure.in: Recognize any version of freebsd or
12016 openbsd.
12017 * Source/mframe/i386/freebsd: New file, copy of generic.
12018 * Source/mframe/i386/openbsd: Likewise. (Bug
12019 reports from Michael Hanni <mhanni@sprintmail.com>).
12020
12021 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12022 Patch supplied by eric@skatter.usask.ca
12023 * Testing/nsscanner.m: Explicitly include NSString.h.
12024 Cleaned up autorelease pool handling.
12025 Fixed some printf arguments that didn't match their formats.
12026 Added tests for scanHexInt:.
12027 * Source/include/NSScanner.h:
12028 Add declarations for scanInt: and scanHexInt: methods.
12029 * Source/NSScanner.m Added scanHexInt: method.
12030 Cleaned up some comments.
12031 Added conditional compile to let scanDouble: accept numbers
12032 like 1.234eFoo (as 1.234). For now, numbers like this are rejected.
12033
12034 Mon Feb 1 11:25:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12035
12036 * src/NSArray.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12037 * src/NSDictionary.m: ([-initWithContentsOfFile:]) Fixed memory leak.
12038 * src/NSData.m: Tidied indentation and 64-bit clean serialization of
12039 strings, classes, and selectors.
12040
12041 Sat Jan 30 5:55:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12042
12043 Tidying up brain-damaged changes I made while ill.
12044 * src/NSConnection.m: Tidied proxy handling a bit
12045 * src/NSDistantObject.m: Tidied - made closer to OpenStep spec.
12046
12047 Fri Jan 29 11:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12048
12049 * src/NSArchiver.m: Implemented ([-encodeDataObject:])
12050 * src/NSUnarchiver.m: Implemented ([-decodeDataObject])
12051
12052 1999-01-28 Adam Fedor <fedor@gnu.org>
12053
12054 * GNUmakefile (SUBPROJECTS): Change directory names
12055 * configure.in: Update for new directories.
12056
12057 Thu Jan 28 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12058
12059 * src/include/NSObject.h: Preliminaries for addition of GC
12060 * src/include/NSZone.h: ditto
12061 * src/NSObject.m: ditto
12062 * src/NSZone.m: ditto
12063
12064 Thu Jan 28 11:40:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12065
12066 * src/include/GSConfig.h.in: Added gsaddr type - integer with same
12067 size as a pointer.
12068 * configure.in: Added gsaddr type and fixed a coiuple of typos.
12069 * src/NSUnarchiver.m: include NSByteOrder.h
12070
12071 Thu Jan 28 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12072
12073 * src/Makefile.postamble: Tidied distclean stuff - suggested by
12074 jagapen@whitewater.chem.wisc.edu
12075
12076 Wed Jan 27 12:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12077
12078 * configure.n: More type-size stuff
12079 * src/include/GSConfig.h.in: More type-size stuff
12080 * src/include/NSData.h: Changed GNUstep extensions and added constants
12081 for coder support.
12082 * src/include/NSArchiver.h: Changes for handling systems with differing
12083 type sizes.
12084 * src/include/NSByteOrder.h: Changes and additions for handling systems
12085 with differing type sizes.
12086 * src/NSData.m: Changed GNUstep extensions for coder support in order
12087 to make handling of type-size information easier.
12088 * src/NSArchiver.m: Encode type-size info and write more efficiently.
12089 * src/NSUnarchiver.m: Decode type-size info.
12090 * src/UnixFileHanlde.m: Use localhost if given no host for connect.
12091
12092 Tue Jan 26 15:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12093
12094 * configure.in: More stuff for type-size info
12095 * src/include/GSConfig.h.in: More stuff for type-size info.
12096 * src/FastArray.x: Allow types with fixed sizes in array.
12097 * src/FastMap.x: Allow types with fixed sizes in map.
12098
12099 Tue Jan 26 8:15:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12100
12101 * src/NSThread.m: ([-sleepUntilDate:]) cast argument of usleep() to
12102 be integer rather than float - suggested by stark@easynet.fr
12103
12104 Sun Jan 24 8:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12105
12106 * src/NSConnection.m: Preliminary work for handling DO between
12107 machines wiuth different pointer sizes.
12108 * src/NSDistantObject.m: ditto
12109 * src/include/NSConnection.h: ditto
12110 * src/include/NSDistantObject.h: ditto
12111 * src/include/DistributedObjects.h: ditto
12112
12113 Tue Jan 19 12:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12114
12115 * src/NSUserDefaults.m: Fixed to update periodically from disk and
12116 to post notifications if the on-disk copy has changed.
12117 * src/include/NSUserDefaults.m: Changed vtimer info for update.
12118
12119 Fri Jan 15 10:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12120
12121 * src/NSObjCRuntime.m: Added GSGetInstanceVariable() and
12122 GSSetInstanceVariable() methods - extensions to gnustep.
12123 * src/NSObjCRuntime.h: ditto
12124
12125 Tue Jan 12 4:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12126
12127 * src/NSProcessInfo.m: Fix for GNU/Linux-powerpc (__PPC__) to get
12128 class initialised with argument info.
12129 * src/include/fake-main.h: ditto
12130
12131 Mon Jan 11 16:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12132
12133 Fixes for bugs reported by Benhur-de-Oliveira.Stein@imag.fr
12134 * src/NSDictionary.m: ([-initWithObjectsAndKeys:]) fixed test for nil.
12135 * src/NSSet.m: Added makeObjectsPerformSelector methods.
12136 * src/NSString.m: ([-rangeOfComposedCharacterSequenceAtIndex:]) find
12137 range from before the index if necessary.
12138 * Tidied allocation methods in NSArray.m NSDictionary.m
12139
12140 Sat Jan 8 6:00:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12141
12142 * src/NSPortNameServer.m: Raise exception on failure to register name.
12143
12144 Fri Jan 8 9:20:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12145
12146 * src/NSObject.m: Cache a few more classes.
12147 * src/include/fast.x: Add a few more classes to cache.
12148 * checks/benchmark.m: Benchmark classname lookup overhead.
12149 * src/Makefile.postamble: Improve dependencies.
12150
12151 Wed Jan 6 22:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12152
12153 * src/UnixFileHandle.m: Fixed error in last change to ([-closeFile])
12154 which could fail to remove descriptors from runloop properly.
12155
12156 Wed Jan 6 10:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12157
12158 * mframe/alpha/linux-gnu: First rough attempt at making a config
12159 file for the DEC alpha.
12160 * mframe/alpha/gneric: ditto.
12161
12162 Tue Jan 5 20:30:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12163
12164 * configure.in: New stuff for making byte-order and type-size
12165 information available in GSConfig.h
12166 * src/NSTask.m: Set process group for child process and preliminary
12167 code for keeping track of active child tasks and handlign sigchld.
12168 * src/UnixFileHandle.m: Modified ([-closeFile]) to send notifications
12169 if there are any asynchronous operations in progress.
12170 * src/include/Foundation.h: include GSConfig.h
12171 * src/include/NSObject.h: include GSConfig.h
12172 * src/include/NSByteOrder.h: Use GS_WORDS_BIGENDIAN from GSConfig.h
12173 * src/include/GSConfig.h.in: Add typedefs for types with known size.
12174 * src/include/config.h.in: Added HAVE_SETPGID and HAVE_SETPGRP
12175
12176 Tue Jan 5 9:45:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12177
12178 * src/NSTask.m: Workaround for bug in linux waitpid(), general
12179 tidying, clean up descriptors in child process.
12180 * src/NSString.m: ([-dataUsingEncoding:]) fixed memory leak.
12181
12182 Mon Jan 4 15:35:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12183
12184 * src/NSInvocation.m: Fix for machines that pass structures by ref.
12185 * mframe/powerpc/linux-gnu: Machine definition added for powerpc.
12186
12187 Mon Jan 4 9:05:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12188
12189 * src/o_vscanf.c: Don't make local copy of va_list parameter by
12190 assignment - doesn't work on machines where a va_list is an array.
12191
12192 Sat Jan 2 12:48:51 1999 Adam Fedor <fedor@ultra.doc.com>
12193
12194 * configure.in: Configure subdir src/mframe properly using
12195 AC_CONFIG_SUBDIRS
12196
12197 Sat Dec 26 8:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12198
12199 * src/NSString.m: Make compare with range of length zero always return
12200 NSOrderedSame
12201
12202 Sat Dec 19 01:26:06 1998 Matthias Klose <doko@cs.tu-berlin.de>
12203
12204 * NSCharacterSets/Makefile.postamble: Use macro MKDIRS.
12205 * NSTimeZones/Makefile.postamble: likewise
12206 * src/Makefile.postamble: likewise
12207
12208 Sat Dec 19 10:45:58 1998 Adam Fedor <fedor@ultra.doc.com>
12209
12210 * src/mframe/configure.in: Test for empty subdir (patch from
12211 Matthias Klose <doko@cs.tu-berlin.de>).
12212
12213 Fri Dec 18 14:39:46 1998 Matthias Klose <doko@cs.tu-berlin.de>
12214
12215 * */*: include <base/*.h> instead of <gnustep/base/*.h>.
12216 * src/Makefile.postamble: reflect this change in srcdir-include.
12217
12218 Fri Dec 18 18:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12219
12220 Foundation.h: Added NSPathUtilities.h
12221 NSObject.h: Added GNUstep specific methods for describing a
12222 property-list to a stream.
12223 NSDate.h: Moved natural language methods to right place.
12224 NSObject.m: Added GNUstep specific extensions for describing a
12225 property-list to a stream, updated -description to spec.
12226 NSProxy.m: Tidied format and description method.
12227 NSArray.m: Added GNUstep specific extensions for describing a
12228 property-list to a stream.
12229 NSDictionary.m: ditto
12230 NSAttributedString.m: Tidied ([-replacementObjectForPortCoder:])
12231 NSGAttributedString.m: ditto
12232 NSGCString.m: ditto
12233 NSGString.m: ditto
12234 NSString.m: ditto
12235 NSConcreteNumber.m: Added ([-replacementObjectForPortCoder:])
12236 NSCoder.m: Cope nicely with encode/decode of nil property-list.
12237
12238 Thu Dec 17 16:12:18 1998 Matthias Klose <doko@cs.tu-berlin.de>
12239
12240 * {,*}/GNUmakefile: Include Version and GNUmakefile.local where
12241 missing.
12242 * configure: Add links to GNUmakefile.local
12243
12244 Thu Dec 17 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12245
12246 NSCoder.m: ([-decodePropertyList:]) bugfix - use NSDeserializer
12247
12248 Thu Dec 17 9:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12249
12250 NSCalendarDate.m: Try to cope gracefully when locale info is not
12251 available and we want to display a date. Use numeric month and
12252 week designations and hard-code am/pm
12253 NSUser.m: include NSProcessInfo.h
12254
12255 Wed Dec 16 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12256
12257 Various modifications suggested by <mguesdon@sbuilders.com> and
12258 <jagapen@whitewater.chem.wisc.edu>. All untested.
12259 src/include/Port.h: ([+newForReceivingFromRegisteredName:fromPort:])
12260 Additional method for DO through firewalls.
12261 src/include/NSConnection.h: Addittional method for DO through firewall
12262 ([+newRegisteringAtName:atPort:withRootObject:])
12263 Additional method for DO through firewalls.
12264 src/NSTask.h: Updated to MacOS-X spec - accepts NSPipes.
12265 src/TcpPort.m: ([+newForReceivingFromRegisteredName:fromPort:])
12266 Additional method for DO through firewalls. Removed obsolete name
12267 server code.
12268 src/NSConnection.m: Addittional method for DO through firewall
12269 ([+newRegisteringAtName:atPort:withRootObject:])
12270 src/NSTask.m: Updated to MacOS-X spec - accepts NSPipes.
12271
12272 Tue Dec 15 13:25:10 1998 Adam Fedor <fedor@doc.com>
12273
12274 * src/NSUser.m (NSFullUserName): New function (not implemented).
12275 (NSStandardApplicationPaths): Likewise.
12276 (NSStandardLibraryPaths): Likewise.
12277 (NSTemporaryDirectory): New function (implemented).
12278 (NSOpenStepRootDirectory): Likewise.
12279 * src/include/NSPathUtilities.h: Defined new functions.
12280 * src/include/NSUserDefaults.h: Removed duplicate definitions.
12281
12282 Mon Dec 14 6:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12283
12284 * src/GNUmakefile: Put mframe.h in a machine/os specific directory.
12285 * src/Makefile.postamble: Install mframe.h in machine/os specific dir
12286 * src/NSConnection.m: include mframe.h form new location.
12287 * src/NSInvocation.m: ditto
12288 * src/NSMethodSignature.m: ditto
12289 * src/NSObjCRuntime.m: ditto
12290 * src/NSSerializer.m: ditto
12291 * src/mframe.m: ditto
12292
12293 Sat Dec 12 21:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12294
12295 src/NSUserDefaults.m: ([+standardUserDefaults]) set flag to avoid
12296 infinite recursion on initialisation. Error reported by
12297 Matthias Klose <doko@cs.tu-berlin.de>
12298
12299 Sat Dec 12 17:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12300
12301 * src/include/GSConfig.h.in: Added new file for machine/os specific
12302 info that is relevent to things outside the base library.
12303 * configure.in: Build GSConfig.h
12304 * configure: Build GSConfig.h
12305 * src/GNUmakefile: Move GSConfig.h into place
12306 * src/Makefile.postamble: Install GSConfig.h
12307 * src/include/NSByteOrder.h: include GSConfig.h
12308
12309 Sat Dec 12 15:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12310
12311 * Tools/Makefile.postamble: Added check that you are installing gdomap
12312 as root and output warnign if not.
12313
12314 Mon Dec 7 10:00:34 1998 Adam Fedor <fedor@ultra.doc.com>
12315
12316 * src/NSConcreteNumber.m ([NumberTemplate
12317 -descriptionWithLocale:]): Print BOOL value as a special case.
12318
12319 * src/NSProcessInfo.m: Use fake-main if FreeBSD.
12320 * src/include/fake-main.h: Likewise.
12321
12322 Sun Dec 6 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12323
12324 * src/NSDate.m: removed +initialize - moved default locale info to
12325 NSUserDefaults.
12326 * src/NSUserDefaults.m: Added code to set up default locale info.
12327
12328 Thu Dec 3 16:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12329
12330 * src/NSDictionary.m: Removed filesystem methods - conflict with
12331 versions in NSFileManger.
12332 * src/include/NSDictionary.h: Ditto
12333 * src/NSFileManager.m: Updated dictionary access methods to MacOS spec
12334 * src/include/NSFileManager.h: Ditto.
12335 * src/include/NSUserDefaults.h: Made constant strings 'const'.
12336 * src/include/externs.m: Made constant strings 'const'.
12337
12338 Thu Dec 3 11:00:46 1998 Adam Fedor <fedor@ultra.doc.com>
12339
12340 * aclocal.m4: Add OBJC_CON_AUTOLOAD and OBJC_SYS_AUTOLOAD
12341 requirements to OBJC_SYS_DYNAMIC_LINKER test.
12342
12343 Wed Dec 2 16:11:05 1998 Adam Fedor <fedor@ultra.doc.com>
12344
12345 * src/NSDictionary.m (-fileGroupOwnerAccountName): New method.
12346 (-fileModificationDate): Likewise.
12347 (fileOwnerAccountName): Likewise.
12348 (filePosixPermissions): Likewise.
12349 (fileSize): Likewise.
12350 (fileSystemFileNumber): Likewise.
12351 (fileSystemNumber): Likewise.
12352 (fileType): Likewise.
12353 * src/include/NSDictionary.h: New methods. Contributed by Camile
12354 TROILLARD <tuscland@wanadoo.fr>.
12355
12356 Wed Dec 2 20:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12357
12358 * src/GNUmakefile: Added NSDateFormatter
12359 * src/Makefile.postamle: Bugfix in installation - was adding service
12360 entries when not needed.
12361 * src/NSDate.m: Added natural language support.
12362 * src/NSDateFormatter.m: Implemented this class.
12363 * src/externs.m: Added natural language support.
12364 * src/include/Foundation.h: Added missing headers.
12365 * src/include/NSDate.h: Added natural language stuff.
12366 * src/include/NSDateFormatter.h: Contributed by Camile TROILLARD
12367 <tuscland@wanadoo.fr> and updated to match implementation.
12368 * src/include/NSDecimalNumber.h: Added header (contributed by Camile) -
12369 no implementation yet.
12370 * src/include/NSDecimal.h: Added header - no implementation yet.
12371 * src/include/NSUserDefaults.h: Added natural language stuff.
12372
12373 Tue Dec 1 09:31:59 1998 Adam Fedor <fedor@ultra.doc.com>
12374
12375 * src/Makefile.postamble: new variable INSTALL_ROOT_DIR, such that
12376 /etc/services can be installed somewhere (need this for building
12377 Debian binary packages). Patch from Matthias Klose
12378 <doko@cs.tu-berlin.de>.
12379
12380 Mon Nov 30 10:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12381
12382 * src/NSTask: Minor bugfix -ignore SIGCHLD
12383 * src/NSUserDefaults: bugfix in registerDefaults: was replacing rather
12384 than addning defaults. Also changed to cache dictionaryRepresaentation.
12385 * src/include/NSUserDefaults.h: Added ivar to cache dictionary
12386 representation.
12387 * src/include/NSDate.h: Updated header for a couple of fixes.
12388 * src/NSDate.m: Initialise locale stuff.
12389 * src/NSCalendarDate.m: Use locale stuff.
12390
12391 Fri Nov 27 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12392
12393 * src/NSPortNameServer.m: ([_open]) changed to stop attempts to restart
12394 the name server when a connect to ANOTHER host fails. Also improved
12395 log messages to identify the host we failed to connect to. Also
12396 added support for overriding the default port fo the name server.
12397 * Tools/gdomap.h: updated comments to talk about NSPortNameServer.m
12398
12399 Fri Nov 27 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12400
12401 * src/NSObjCRuntime.m: minor performance improvment.
12402 * src/NSUnarchiver.m: more performance improvements.
12403 * src/NSObject.m: Fix error introduced in last mod.
12404
12405 Thu Nov 26 13:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12406
12407 * src/NSObject.m: ([+instanceRespondToSelector:]) and
12408 ([-respondsToSelector:]) changed to use __objc_responds_to() for an
12409 order of magnitude performance boost.
12410
12411 Thu Nov 26 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12412
12413 * src/NSRunLoop.m: Bugfix in ([-addEvent:type:watcher:forMode:]) to get
12414 the count of numbers of time a watcher has added a descriptor correct.
12415
12416 Wed Nov 25 16:27:52 1998 Adam Fedor <fedor@ultra.doc.com>
12417
12418 * src/include/fast.x: Add #ifndef/#define around file.
12419
12420 Wed Nov 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12421
12422 * src/NSPortNameServer.m: Made more tolerant of badly set up systems.
12423 * src/Makefile.postamble: Modified to make rule for placing gdomap in
12424 /etc/services more portable.
12425
12426 Tue Nov 24 4:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12427
12428 * src/Tools/GNUmakefile: removed make_services
12429 * src/Tools/make_services.m: Removed - moved to gui library.
12430 * src/NSBundle.m: Changed Info.plist to Info-gnustep.plist since
12431 that's what GNUstep uses instead.
12432
12433 Fri Nov 20 20:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12434
12435 * src/Makefile.postamble: Added dependencies for FastArray.x and added
12436 simple stuff to append gdomap port entries to /etc/services after
12437 install (if not already present).
12438
12439 Fri Nov 20 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12440
12441 * src/NSSerializer.m: Added GNUstep specific methods for controlling
12442 format to optimise serialisation for property lists containing
12443 repeated strings.
12444 * src/include/NSSerializer.h: ditto
12445 * src/FastArray.x: inline implementation of fast array code for stuff
12446 that doesn't need to be retained etc. Minimal functionality so far.
12447 * src/Fastmap.x: Tidied indentation etc.
12448 * src/include/NSArchiver.h: Use FastArray
12449 * src/NSUnarchiver.m: Use FastArray
12450 * src/NSAutorleasePool.m: Optimize implementation of +new
12451 * src/NSArray.m: Use ([NSAutoreleasePool +new])
12452 * src/NSDictionary.m: Use ([NSAutoreleasePool +new])
12453 * src/NSFileManager.m: Use ([NSAutoreleasePool +new])
12454 * src/NSPort.m: Use ([NSAutoreleasePool +new])
12455
12456 Thu Nov 19 21:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12457 * src/Archiver.m: Got rid of 'assert' - replace with 'NSAssert' etc.
12458 * src/BinaryTree.m: ditto
12459 * src/Coder.m: ditto
12460 * src/Collection.m: ditto
12461 * src/ConnectedCoder.m: ditto
12462 * src/Invocation.m: ditto
12463 * src/LinkedList.m: ditto
12464 * src/MachPort.m: ditto
12465 * src/NSAutoreleasePool.m: ditto
12466 * src/NSBundle.m: ditto
12467 * src/NSConnection.m: ditto
12468 * src/NSCountedSet.m: ditto
12469 * src/NSDate.m: ditto
12470 * src/NSDistantObject.m: ditto
12471 * src/NSGArchiver.m: ditto
12472 * src/NSGSequence.m: ditto
12473 * src/NSObject.m: ditto
12474 * src/NSPortCoder.m: ditto
12475 * src/NSRunLoop.m: ditto
12476 * src/NSSet.m: ditto
12477 * src/NSTimer.m: ditto
12478 * src/NSZone.m: ditto
12479 * src/NotificationDispatcher.m: ditto
12480 * src/OrderedCollection.m: ditto
12481 * src/Port.m: ditto
12482 * src/Random.m: ditto
12483 * src/Storage.m: ditto
12484 * src/TcpPort.m: ditto
12485 * src/UdpPort.m: ditto
12486 * src/behavior.m: ditto
12487 * src/mframe.m: ditto
12488
12489 Thu Nov 19 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12490
12491 * src/include/NSSerializer.h: Removed erroneous protocol conformance
12492 for NSSerializer and NSDeserializer.
12493 * src/NSSerializer.m: Complete rewrite - full OpenStep compatibility
12494 and huge speed increase.
12495 * doc/todo.tmpl.texi: Update todo list.
12496 * checks/benchmark.m: Added benchmarks for serializing/deserializing
12497 property lists and archiving/unarchiving them.
12498 * src/NSString.m: Fix bug returning arrya in completePathIntoString
12499
12500 Thu Nov 19 12:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12501
12502 * src/NSData.m: ([-encodeWithCoder:]) bugfix for case where data object
12503 is of length zero.
12504
12505 Wed Nov 18 9:20:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12506
12507 * Tools/make_services.m: New tool
12508 * Tools/GNUmakefile: Added make_services
12509 * Tools/Makefile.postamble: Tidied installation for gdnc
12510 * src/NSDistributedNotificationCenter.m: Start server with full path.
12511
12512 Mon Nov 16 14:29:35 1998 Adam Fedor <fedor@ultra.doc.com>
12513
12514 * src/NSBundle.m [+allBundles]: New method (unimplemented).
12515 [+allFrameworks]: Likewise.
12516 * src/NSCharacterSet.m [+punctuationCharacterSet]: Likewise.
12517 * src/NSLock.m [-lockBeforeDate:]: Likewise.
12518 [-lockWhenCondition:beforeDate:]: Likewise.
12519 * src/NSConnection.m: Likewise.
12520 * src/include/NSBundle.h: New methods;
12521 * src/include/NSCharacterSet.h: Likewise.
12522 * src/include/NSLock.h: Likewise.
12523 * src/include/NSConnection.h: Likewise (fixes from TROILLARD
12524 Camille <tuscland@wanadoo.fr>).
12525
12526 * src/include/fast.x: Fix /* in comment.
12527
12528 Thu Nov 12 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12529
12530 src/NSFormatter.m: New class
12531 src/include/NSFormatter.h: New class
12532 src/NSRunLoop.m: Misc optimisations
12533 src/NSGString.m: slight ([-cString]) optimisation.
12534 src/NSGCString.m: slight ([-cString]) optimisation.
12535 src/NSObject.m: fast allocation of temporary memory.
12536 src/include/fast.x: fast allocation of temporary memory.
12537
12538 Tue Nov 10 11:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12539
12540 * src/NSScanner.m: ([-scanString:intoString:]) bugfix to check length
12541 of the string we are looking for and simply return NO if it is longer
12542 than the data remaining in the string being scanned. Previously it
12543 would have raised an exception - which it shouldn't.
12544
12545 Mon Nov 9 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12546
12547 * src/externs.m: corrected notification name for user defaults.
12548 * src/NSUserDefaults.m: corrected notification name.
12549 * src/include/NSUserDefaults.h: corrected notification name.
12550
12551 Mon Nov 9 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12552
12553 * src/externs.m: fixed error in hashtable constants.
12554 * src/NSDistributedNotificationCenter.m: pugfix in check for
12555 posting of notification. Changed to pass selectors as strings.
12556 * Tools/gdnc.h: Pass selectors as strings. make posting oneway
12557 * Tools/gdnc.m: Pass selectors as strings, plus many bugfixes.
12558
12559 Mon Nov 2 17:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12560
12561 Tidied header files for NO_GNUSTEP/STRICT_OPENSTEP stuff.
12562 * src/NSDistributedNotificationCenter.m: New class (untested)
12563 * src/include/NSDistributedNotificationCenter.m: New class
12564 * src/GNUmakefile: Added NSDistributedNotificationCenter
12565 * src/Tools/gdnc.m: Server for distributed notifications (untested)
12566 * src/Tools/gdnc.h: Include for distributed notifications
12567 * src/Tools/GNUmakefile: Added gdnc
12568
12569 Fri Oct 30 09:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12570
12571 * src/include/NSPortNameServer.h: Added ([-removePort:]) method in a
12572 GNUstep catagory so that ports can unregister all their names at one
12573 go. Added maps of names and ports to keep track.
12574 * src/include/Port.h: removed [-invalidate] - inherit from NSPort
12575 * src/Port.m: removed [-invalidate] - inherit from NSPort
12576 * src/NSPort.m: made [-invalidate] method remove all the ports names
12577 from the name server and send the invalidation notification.
12578 * src/NSPortNameServer.m: Keep track of name/port mappings and, the
12579 first time a name is registered for a port, tell gdomap to remove
12580 any pre-existing names for that port (left around from a crashed
12581 server perhaps).
12582
12583 Thu Oct 29 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12584
12585 * src/UnixFileHandle.m: Improved handling of error conditions on
12586 background connection operations. Disable SIGPIPE to avoid abort
12587 when we attempt to write to a socket that's closed by the other end.
12588 * src/TCPPort.m: Modified to use NSPortNameServer, also changed to
12589 disable SIGPIPE on initialisation only, not on every write.
12590 * src/include/NSPortNameServer.h: new class.
12591 * src/NSPortNameServer.m: new class.
12592 * src/GNUmakefile: Added NSPortNameServer.
12593
12594 Wed Oct 28 14:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12595
12596 * Tools/gdomap.c: Added command-line options to lookup, register, and
12597 unregister a name for a port - basically for debugging purposes.
12598 * src/TcpPort.m: Modified port registration code to cope with the
12599 case where a server dies and is restarted, and tries to use the
12600 same ip port number it has before it died.
12601 * checks/nsinvocation.m: Added archiving checks.
12602 * src/NSInvocation.m: Archiver bugfixes
12603 * src/include/NSInvocation.h: Archiver bugfixes
12604 * src/NSData.m: Serialisation bugfixes
12605 * src/NSArchiver.m: Archiver bugfixes
12606 * src/NSUnarchiver.m: Archiver bugfixes
12607
12608 Tue Oct 27 08:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12609
12610 Corrected all the collection classes to return the count of objects
12611 in the collection as the ([-hash]) in conformance with the latest
12612 documentation.
12613
12614 Mon Oct 26 10:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12615
12616 * src/NSGCString.m: Implemented ([-copy]) and ([-copyWithZone:]) to
12617 work without invoking any methods uing the runtime - much faster.
12618 * src/NSObject.m: Bugfix and performance improvement to the -perform...
12619 methods. They previously threw an exception if the method referred
12620 to by the selector was not implemented (when they should have tried
12621 forwarding instead) rather than when passed a nul selector.
12622
12623 Sun Oct 25 08:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12624
12625 * src/NSObject.m: Cache implementation for adding object to autorelease
12626 pool to avoid objc runtime messaging overhead.
12627 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12628 * src/NSAutoreleasePool.m: Cache implementation for adding object to
12629 autorelease pool to avoid objc runtime messaging overhead.
12630 * src/NSGCString.m: Implemented ([+allocWithZone:])
12631 * src/NSGString.m: Implemented ([+allocWithZone:])
12632
12633 Sat Oct 24 11:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12634
12635 * src/NSArchiver.m: New implementation
12636 * src/NSArchiver.m: New file
12637 * src/GNUmakefile: Added NSUnarchiver.m
12638 * src/include/NSArchiver.h: New version
12639 New Archiver/unarchiver - OPENSTEP complient (I think).
12640 Basic functionality tested fairly thoroughly, some of the more
12641 unusual bits untested so far. Mechanisms for adding other backends
12642 in place, but untested. Performance may be around four times that
12643 of the old version though there is still a little (very little)
12644 room for improvement.
12645
12646 Thu Oct 22 21:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12647
12648 * src/NSData.m: Added support for serialisation of Class and SEL types
12649 and made a more efficient version of the main deserialisation code
12650 in the NSDataStatic class.
12651
12652 Wed Oct 21 13:30:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12653
12654 * src/NSData.m: Reorganized and optimised.
12655 * src/NSGArray.m: optimised coding/decoding
12656 * src/NSGCountedSet.m: optimised coding/decoding
12657 * src/NSGDictionary.m: optimised coding/decoding
12658 * src/NSGSet.m: optimised coding/decoding
12659 * src/NSObject.m: cache data classes
12660 * src/NSString.m: Added (nonstandard) ([-boolValue]) method
12661 * src/include/NSData.h: Added ([-relinquishAllocatedBytesFromZone:])
12662 * src/include/NSString.h: Added (nonstandard) ([-boolValue]) method
12663 * src/include/NSPortMessage.h: Added (as yet unused) class.
12664 * src/NSPortMessage.m: Added (as yet unused) skeleton implementation.
12665
12666 Thu Oct 17 08:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12667
12668 * src/NSGDictionary.m: Added checks for invalid parameters.
12669 * src/NSGSet.m: Added checks for invalid parameters.
12670 * src/NSGCountedSet.m: Added checks for invalid parameters.
12671
12672 Thu Oct 15 08:13:12 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12673
12674 * src/NSString.m ([NSString
12675 -completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:]):
12676 Implement.
12677
12678 Thu Oct 15 06:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12679
12680 * src/BinaryCStream.m: Update system version number
12681 * src/NSCalendarDate.m: Implemented ([-copyWithZone:])
12682 * src/NSCountedSet.m: Rewrite ([-copyWithZone:])
12683 * src/include/NSData.h: Added GNUstep specific method for more
12684 efficient zone use.
12685 * src/NSData.m: Modified throughout to use NSZone functions for
12686 managing content memory.
12687 * src/NSGArray.m: Modified to use NSZone functions for managing
12688 content memory. Also tidied coding methods.
12689 * src/include/NSGCString.h: Modified to use NSZone for contents.
12690 * src/NSGCString.m: Modified to use NSZone for contents and fixed
12691 bug in coding (couldn't cope with embedded nuls in string).
12692 * src/NSGDictionary.m: Modified to use NSZone for contents.
12693 * src/include/NSGString.h: Modified to use NSZone for contents.
12694 * src/NSGString.m: Modified to use NSZone for contents.
12695 * src/NSObject.m: Added fastZone() function.
12696 * src/PortCoder.m: Updated system version number
12697 * src/include/NSSet.h: Added ([+setWithSet:])
12698 * src/NSSet.m: Added ([+setWithSet:]) and fixed ([-copyWithZone:])
12699 * src/include/NSString.h: Added GNUstep specific methods for faster
12700 use of zones.
12701 * src/NSString.m: Modified to use NSZone functions for contents.
12702 * src/include/NSZone.h: Removed non-existent methods and changed
12703 structure layout to support NSZoneFromPointer()
12704 * src/NSZone.m: Rewrite to support NSZoneFromPointer(),
12705 NSRecycleZone() and fix a couple of bugs. Needs more work to
12706 make simpler and more efficient.
12707 * src/include/fast.x: Added fastZone()
12708
12709 Wed Oct 14 11:29:11 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12710
12711 * src/NSString.m ([NSString -stringByResolvingSymlinksInPath]):
12712 Implement.
12713
12714 Wed Oct 14 10:27:47 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
12715
12716 * src/NSString.m ([NSString +pathWithComponents:]):
12717 Use the first object of components as the base path string
12718 instead of null string([NSString string]).
12719
12720 Tue Oct 13 09:24:17 1998 Adam Fedor <fedor@doc.com>
12721
12722 * src/include/NSNotification.h: Addd placeholder in
12723 NSNotificationCenter for size of NotificationDispatcher.
12724
12725 The Oct 8 15:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12726
12727 * src/FastMap.x: Minor bugfixes and updates.
12728 * src/NSArray.m: Optimisation - don't use malloc unless really needed.
12729 * src/NSCountedSet.m: Tidied
12730 * src/NSSet.m: Tidied - core/non-core separation made.
12731 * src/NSGArray.m: Rewrite - simpler and faster.
12732 * src/NSGCountedSet.m: Rewrite to use FastMap (and work).
12733 * src/NSGDictionary.m: Tidied initialisation.
12734 * src/NSGSet.m: Rewrite to use FastMap - much faster.
12735 * src/include/NSSet.h: tidied - core/non-core stuff.
12736
12737 Tue Oct 6 16:35:48 1998 Adam Fedor <fedor@doc.com>
12738
12739 * aclocal.m4: Add win32 test
12740 * configure.in: Use DYNAMIC_LINKER test.
12741 * src/GNUmakefile: Add win32-load.h
12742 * src/win32-load.h: New file.
12743
12744 Tue Oct 6 16:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12745
12746 * src/FastMap.x: New map table for dictionaries.
12747 * src/include/fast.x: New stuff for avoiding objc message overheads.
12748 * src/NSGCString.m: Hashing and comparison performance improvments
12749 * src NSGDictionary.m: Optimisation
12750 * src NSGString.m: Optimisation
12751 * src/NSObject.m: Optimisation
12752 * src/NSString.m: Optimisation
12753
12754 Sat Oct 3 23:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12755
12756 * src/NSString.m: Moved NXConstantString stuff out to NSGCString.m
12757 * src/NSGCString.m: Added NXConstantString (inherits from NSGCString)
12758 and modified for efficient ([-isEqual:]) and ([-isEqualToString:])
12759 methods.
12760
12761 Thu Sep 30 17:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12762
12763 More performance work - huge improvement in dictionary lookup and
12764 perhaps 15 percent improvement elsewhere.
12765 * src/NSString.m: ([-hash]) changed hash generation to produce a
12766 more evenly distributed value so that dictionary lookup works
12767 better for large dictionaries full of similar keys.
12768 * src/NSDictionary.m: ([+dictionaryWithObjectsAndKeys:,...]) fixed
12769 memory leak.
12770 * src/include/NSGDictionary.h: Removed - not needed.
12771 * src/NSGDictionary.m.old: Backup added.
12772 * src/NSGDictionary.m: Complete rewrite.
12773 * src/FastMap.x: New map table stuff for NSGDictionary.
12774
12775 Thu Sep 30 7:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12776
12777 Changes to slightly more than double the speed of dictionary
12778 lookups for string keys.
12779 * src/NSGString: Added efficient -isEqual and -isEqualToString
12780 * src/NSGCString: Speeded up -isEqual and -isEqualToString
12781
12782 Thu Sep 30 4:40:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12783
12784 * src/NSAutoreleasePool: Added NSLog to ([+addObject:]) to warn when
12785 an object is autoreleased without a pool being present.
12786 This should avoid many mistakes by newbies who don't understand
12787 the retain/release/autorelease mechanism (perhaps it'll encourage
12788 them to read up about it). It also serves as a useful reminder
12789 when you DO know what you are doing.
12790
12791 Wed Sep 30 14:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12792
12793 * Removed MallocAddress class -
12794 use ([NSData +dataWithBytesNoCopy:length:]) instead.
12795 * src/NSConnection.m: ([-forwardForProxy:selector:argFrame:])
12796 modifield to cope better when passed a selector without types.
12797 * src/Encoder.m: Modified to encode selector without type if needed.
12798 * Tools/dwrite.m: Removed references to cStringNoCopy
12799 * src/BinaryTree.m: Removed references to cStringNoCopy
12800 * src/Collection.m: Removed references to cStringNoCopy
12801 * src/Encoder.m: Removed references to cStringNoCopy
12802 * src/KeyedCollection.m: Removed references to cStringNoCopy
12803 * src/MemoryStream.m: Removed references to cStringNoCopy
12804 * src/NSCalendarDate.m: Removed references to cStringNoCopy
12805 * src/NSData.m: Removed references to cStringNoCopy
12806 * src/NSGCString.m: Removed references to cStringNoCopy
12807 * src/NSGString.m: Removed references to cStringNoCopy
12808 * src/NSHashTable.m: Removed references to cStringNoCopy
12809 * src/NSLog.m: Removed references to cStringNoCopy
12810 * src/NSMapTable.m: Removed references to cStringNoCopy
12811 * src/NSPortCoder.m: Removed references to cStringNoCopy
12812 * src/NSString.m: Removed references to cStringNoCopy
12813 * src/NSTimeZone.m: Removed references to cStringNoCopy
12814 * src/NSUser.m: Removed references to cStringNoCopy
12815 * src/NSZone.m: Removed references to cStringNoCopy
12816 * src/StdioStream.m: Removed references to cStringNoCopy
12817 * src/Stream.m: Removed references to cStringNoCopy
12818 * src/TextCStream.m: Removed references to cStringNoCopy
12819 * src/UdpPort.m: Removed references to cStringNoCopy
12820 * src/UnixFileHandle.m: Removed references to cStringNoCopy
12821 * src/lex.pl.m: Removed references to cStringNoCopy
12822 * src/lex.sf.m: Removed references to cStringNoCopy
12823 * src/mframe.m: Removed references to cStringNoCopy
12824 * src/o_hash.m: Removed references to cStringNoCopy
12825 * src/o_x_base.m.in: Removed references to cStringNoCopy
12826
12827 Tue Sep 29 13:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12828
12829 * src/include/Foundation.h: Added some missing files.
12830 * src/NSDistantObject.m: Fixed ([-methodSignatureForSelector:)]
12831
12832 Mon Sep 28 17:02:33 1998 Adam Fedor <fedor@ultra.doc.com>
12833
12834 * src/include/NSObject.h (-perform:, -perform:withObject:,
12835 -perform:withObject:withObject:): Remove definitions (use
12836 performSelector:... instead.
12837 (+class, +superclass, +setVersion:, +version): Add.
12838 Rearrange some other method definitions.
12839 * src/include/NSProxy.h: Likewise.
12840
12841 * src/NSObject.m (+class): Add.
12842 (-perform:, -perform:withObject:,
12843 -perform:withObject:withObject:): Depreciate these methods.
12844 * src/Proxy.m: Likewise.
12845
12846 * src/Collection.m: Use performSelector instead of perform.
12847 * src/IndexedCollection.m: Likewise.
12848 * src/NSArray.m: Likewise.
12849 * src/NSRunLoop.m: Likewise.
12850 * src/NSSet.m: Likewise.
12851 * src/NSTimer.m: Likewise.
12852 * src/NotificationDispatcher.m: Likewise.
12853
12854 * src/NSException (-initWithCoder:): Fix object decoding.
12855
12856 Fri Sep 18 10:20:55 1998 Adam Fedor <fedor@ultra.doc.com>
12857
12858 * src/include/preface.h.in (MIN, MAX): Rewrite macros (suggestion
12859 from Tom Hageman <tom@basil.icce.rug.nl>.
12860
12861 Thu Sep 10 06:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12862
12863 * src/NSFileHandle.m: Implemented [(-waitForDataInBackground])
12864 * src/UnixFileHandle.m: Implemented [(-waitForDataInBackground])
12865 * src/include/NSFileHandle.h: Added [(-waitForDataInBackground])
12866 * src/externs.m: Fixed error in hash callbacks name.
12867 * src/Set.m: Fixed error in hash callbacks name.
12868 * src/include/NSHashTable.h: Fixed error in hash callbacks name.
12869 * src/NSRunLoop.m: minor efficiency hack - don't use autoreleasing
12870 arrray construction methods when we are going to retain immediately.
12871
12872 Fri Sep 04 08:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12873
12874 * src/NSUserDefaults.m: ([-setObjectsforKey:], [-removeObjectForKey:])
12875 fixed to make domain dictionarys mutable if required.
12876 * src/externs.m: Updated notification name for defaults.
12877 * src/include/NSUserDefaults.h: Updated notification name.
12878
12879 Mon Aug 31 16:28:58 1998 Adam Fedor <fedor@ultra.doc.com>
12880
12881 * src/NSBundle.m (+mainBundle:): Remove *_obj directory to
12882 find main bundle path.
12883
12884 Wed Sep 02 14:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12885
12886 * src/Coder.m: ([-decodeObject:]) fixed to autorelease as it should.
12887 * src/NSCalendarDate.m, src/NSException.m, src/NSGAttributedString.m,
12888 src/NSHost.m, src/NSLog.m, src/NSProcessInfo.m, src/NSTimeZone.m:
12889 tidied coding/decoding and logging.
12890 * src/NSString.m: Added implementation of [-zone] for constnat strings.
12891
12892 Wed Sep 02 13:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12893
12894 * src/NSRunLoop.m: ([-cancelPerformSelector:target:argument:]) bugfix
12895 supplied by masata-y@is.aist-nara.ac.jp - was incrementing loop index
12896 when should have been decrementing.
12897
12898 Mon Aug 24 09:22:17 1998 Adam Fedor <fedor@ultra.doc.com>
12899
12900 * doc/gnustep-base.tmpl.texi: Fix up doc problems.
12901 * doc/todo.tmpl.texi: Likewise.
12902
12903 Thu Aug 20 11:50:23 1998 Adam Fedor <fedor@doc.com>
12904
12905 * src/mframe.m (mframe_next_arg): Fixes from Richard
12906 Frith-Macdonald <richard@brainstorm.co.uk>.
12907
12908 Tud Aug 13 21:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12909
12910 Rewrite of maframe stuff and associated things to get DO and
12911 NSInvocations working for ALL data types. Configuration files for
12912 GNU/Linux on a PC and sunos4.1.3 on sparc provided (and tested).
12913
12914 * src/NSObject: Fixed code to local reference counts to get object
12915 alignment right on machines that have strict restrictions on the
12916 alignment of doubles (eg sparc).
12917 Also updated forwarding of invocations to work with new code.
12918 * src/NSInvocation.m: Rewrite from scratch to use new mframe code.
12919 * src/NSMethodSignature.m: Rewrite from scratch to use new mframe code.
12920 * src/mframe.m: Modified to use new information set up by config
12921 * configure.in: Run configure in src/mframe
12922 * src/mframe: New configuration directory for mframe stuff.
12923 * src/include/mframe.h: Deleted - now generated by config process.
12924
12925 Wed Aug 12 14:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12926
12927 * src/NSBundle: ([+initialize]) modified to take account of the
12928 environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
12929 GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.
12930
12931 Fri Aug 4 10:55:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12932
12933 * src/GNUmakefile: Removed NSAllocateObject.m and
12934 NSDeallocateObject.m (contents merged into NSObject.m).
12935 * src/NSObject.m: Modified to perform storage of retain counts local
12936 to the objects concerned in order to speed up performance - also
12937 modified to cache an objects zone with it - in order to maintain
12938 (or better) current performance when we get the NSZone code fixed
12939 to work with malloced memory.
12940 * src/include/NSObjCRuntime.h: Removed NSDebugLog()
12941 * src/include/NSDebug.h: Added new version of NSDebugLog()
12942 * src/include/NSProcessInfo.h: Added [-debugArray] method.
12943 * src/NSProcessInfo.m: Added [-debugArray] method and modified to
12944 parse arguments list and remove debug options, putting them in a
12945 mutable array (returned by [-debugArray]).
12946 * src/externs.m: Removed NSDebugLogging.
12947 * src/NSBundle.m: Modified to use new version of NSDebugLog().
12948
12949 Thu Aug 3 15:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12950
12951 * src/include/NSGCString.h: Added _hash instance variable.
12952 * src/include/NSGString.h: Added _hash instance variable.
12953 * src/NSGCString.m: Added implementation of [-hash] to handle caching
12954 of strings hash value, also added implementation of a few other
12955 methods for the sake of performance. Modified NSGMutableCString
12956 methods to reset hash cache when string is modified.
12957 * src/NSGString.m: Added implementation of [-hash] to handle caching
12958 of strings hash value. Modified NSGMutableString methods to reset
12959 hash cache when string is modified.
12960 * src/NSString.m: Misc performance hacks - use alloca() rather than
12961 malloc/free where possible etc.
12962 YMMV, but the above changes got me a 20% performance improvement in
12963 the app I was working with.
12964 * src/o_map.m: Don't use o_map_key_callbacks() - access the field
12965 in the structure directly to avoid the function-call overhead as this
12966 function was being called LOTS of times. Only a tiny performance
12967 improvement - but every little helps.
12968
12969 Thu Jul 30 16:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12970
12971 * src/include/NSSet.h: Corrected protocol conformance
12972 * src/NSSet.m: Added ([-encodeWithCoder:]), ([-initWithCoder:]).
12973 Fixed ([-copyWithZone:]) to remove memory and to simply retain where
12974 possible.
12975 Implemented ([-description]) and ([-descriptionWithLocale:]).
12976 * src/NSGCountedSet.m: Removed ([-initWithCapacity:]) and fixed
12977 enumerator.
12978 * src/include/NSDictionary.h: Added ([+dictionaryWithObject:forKey:])
12979 and corrected protocol conformance.
12980 * src/NSDictionary.m: Added ([+dictionaryWithObject:forKey:])
12981
12982 Wed Jul 29 15:00:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12983
12984 * src/Collection.m: Removed [-copy]
12985 * src/include/Collecting.h: likewise
12986 * src/NSAttributedString.m: fixed ([-copy]) and ([-isEqual:])
12987 * src/NSCharacterSet.m: implemented (inefficiently) ([-isEqual:])
12988
12989 Wed Jul 29 9:10:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
12990
12991 * src/TcpPort.m: typecast to get rid of warning
12992 * src/NSCharacterSet.m: Added NSCoding methods.
12993 * src/NSBitmapCharSet.m: Added NSCoding methods.
12994 * src/NSHost.m: typecast to get rid of warning.
12995 * src/NSData.m: ([-copy]) removed.
12996 * src/NSDictionary.m: ([-copy]) removed.
12997 * src/NSGSequence.m: ([-copy]) removed.
12998 * src/NSScanner.m: ([-copy]) removed.
12999 * src/NSArray.m: ([-copy]) removed.
13000 * src/NSAttributedString.m: ([-copy]) removed.
13001 * src/NSString.m: ([-copy]) removed.
13002 * src/NSObject.m: ([-copyWithZone:]) modified to conform strictly
13003 to Rhapsody docs. Added ([+instanceMethodSignatureForSelector:]).
13004 * src/include/IndexedCollectionPrivate.h: fixed include for NSString.h
13005 * src/Makefile.postamble: modified rule for building srcdir-include
13006 stuff so that it works for me.
13007 * src/NSException.m: ([-copyWithZone:]) typecast to get rid of warning.
13008 * src/NSValue.m: ([-copyWithZone:]) typecast to get rid of warning.
13009 * src/NSDistantObject.m: fixed ([-classForPortCoder]) for Protocol.
13010
13011 Tue Jul 28 12:57:54 1998 Adam Fedor <fedor@ultra.doc.com>
13012
13013 * src/GNUmakefile: Remove NEXTSTEP classes.
13014
13015 * src/NSConcreteNumber [-copy]: Removed.
13016 [-copyWithZone:]: Likewise.
13017 * src/NSNumber: [-copy]: Implement
13018 [-copyWithZone:]: Likewise.
13019 * src/NSDate.m [-copyWithZone:]: Correct implementation.
13020 * src/NSException.m [-copyWithZone:]: Likewise.
13021 * src/NSPort.m: [-copyWithZone:]: Likewise.
13022 * src/NSValue.m: [-copyWithZone:]: Likewise.
13023
13024 Tue Jul 21 09:15:32 1998 Adam Fedor <fedor@ultra.doc.com>
13025
13026 * src/GNUmakefile: Removed redundant classes.
13027 * src/Connection: Removed.
13028 * src/Lock: Likewise.
13029 * src/Notification: Likewise.
13030 * src/Proxy: Likewise.
13031 * src/include/Connection.h, src/include/Lock.h,
13032 src/include/Notification.h, src/include/Proxy.h: Likewise.
13033 * src/include/RetainingNotifier.h: Removed.
13034 * src/libgnustep-base.def: Removed reference to redundant classes.
13035 * src/include/ConnectedCoder.h: Likewise
13036 * src/include/NSConnection.h: Likewise
13037 * src/include/NSNotification.h: Likewise
13038 * src/include/NSPort.h: Likewise
13039 * src/include/all.h: Likewise
13040 * src/ConnectedCoder.m: Likewise
13041 * src/Makefile.postamble: Likewise
13042 * src/MachPort.m: Likewise
13043 * src/NSConnection.m: Likewise
13044 * src/NotificationDispatcher.m: Likewise
13045 * src/NSNotification.m: Likewise
13046 * src/Port.m: Likewise
13047 * src/TcpPort.m: Likewise
13048 * src/behavior.m: Likewise
13049 * src/NSThread.m: Likewise
13050 * src/UdpPort.m: Likewise
13051 * examples/first-client.m, examples/first-server.h,
13052 examples/first-server.m, examples/second-client.h,
13053 examples/second-client.m, examples/second-server.h,
13054 examples/second-server.m: Removed.
13055
13056 * src/NSRunLoop.m: Add time.h (For GNU/Linux-2.0)
13057 * src/TcpPort.m: Likewise.
13058 * src/UdpPort.m: Likewise.
13059 * sec/UnixFileHandle.m: Likewise.
13060
13061 Wed Jul 20 21:25:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13062
13063 * src/Decoder.m: ([-decodeClass]) modified to ensure correct decoding
13064 instances of classes relying on multiple inheritance.
13065
13066 Tue Jul 14 16:26:36 1998 Adam Fedor <fedor@doc.com>
13067
13068 * src/Makefile.postamble (gnustep/base): Fixup dir creation.
13069 (Foundation): Likewise.
13070
13071 * src/externs.m: New NSDebugLogging variable.
13072 * src/include/NSObjCRuntime: Change NSDebugLog so it works when
13073 DEBUG is defined and NSDebugLogging is set.
13074 * src/NSBundle.m: Use it.
13075
13076 * src/include/Foundation.h: Include NSTimer.h
13077 * src/include/NSObject.h: Define +instanceMethodSignatureForSelector:
13078
13079 Tue Jul 14 10:06:31 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13080
13081 * checks/nsset.m : Added new testing functions.
13082 (intersects_set_test): Likewise.
13083 (is_subset_of_set_test): Likewise.
13084
13085 * src/include/NSSet.h ([NSSet -setWithObjects:]): Remove the type
13086 declaration of arguments, "NSArray *". The arguments should be
13087 declared as id.
13088
13089 * src/NSSet.m ([NSSet -isSubsetOfSet:otherSet]): Implement.
13090 ([NSSet -intersectsSet:otherSet]): Likewise.
13091
13092 Wed Jul 15 12:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13093
13094 * src/Invocation.m: Rewrote ([-invoke]) to retrieve return values
13095 correctly by using mframe_decode_return()
13096
13097 * src/NSCharacterSet.m: Fixed ([-copyWithZone:]) to avoid using the
13098 (non-existant) NSObject method.
13099
13100 * src/NSFileHandle.m: Modified method for making socket connections
13101 and added a synchronous version.
13102
13103 * src/NSObjCRuntime.m: Tidied and added NSGetSizeAndAlignment().
13104
13105 * src/NSObject.m: Removed ([-copyWithZone:]) and
13106 ([-mutableCopyWithZone:]) (which shiould not exist in NSObject).
13107
13108 * src/NSString.m: Fixed implementation of the
13109 ([-rangeOfCharacterFromSet:options:range:]) method.
13110
13111 * src/UnixFileHandle.m: Various bug fixes for synchronous operations.
13112
13113 * src/mframe.m: Added mframe_decode_return() function to get the
13114 return value out of a retframe.
13115
13116 * src/include/NSCharacterSet.h: Modified to say we conform to the
13117 NSCoding protocol (whith the spec says we should).
13118
13119 * src/include/NSFileHandle.h: Altered methods for making a network call.
13120
13121 * src/include/NSObjCRuntime.h: Added NSGetSizeAndAlignment().
13122
13123 * src/include/NSObject.h: Removed stuff saying we conform to the
13124 NSCoding and NSCopying protocols (we shouldn't) and removed the
13125 ([-copyWithZone:]) and ([-mutableCopyWithZone:]) methods - which
13126 shouldn't be there.
13127
13128 * src/include/UnixFileHandle.h: Altered methods for making a network
13129 connection.
13130
13131 * src/include/mframe.h: Added mframe_decode_return() function.
13132
13133
13134 Tue Jul 14 16:06:16 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13135
13136 * checks/invocation_*.m : New test files.
13137
13138 * checks/invocation2.m: Removed the file.
13139
13140 * src/include/NSInvocation.h (NS_INVOCATION, NS_MESSAGE):
13141 Added new arguments to the macros. These macros don't require
13142 SEL type argument to specify the method to invoke now.
13143
13144 * checks; Added invocation_char.m, invocation_short.m, invocation_int.m
13145 and invocation_long.m
13146
13147 Fri Jul 10 21:43:30 1998 Adam Fedor <fedor@ultra.doc.com>
13148
13149 * src/include/GapArrayPrivate.h (gapMoveGaptTo): Change - to +.
13150 * docs/todo.tmpl.texi: Updates
13151
13152 Fri Jun 25 20:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13153
13154 * src/TcpPort.m: Improved debug code and added method to turn it on -
13155 ([+setDebug:])
13156 * src/NSConnection.m: Changed code so that if a process sends us a
13157 'release' for an object local to us, which it vended to a third
13158 party, we retain the object for 30 seconds before releasing it in
13159 order to give the third party time to connect to us and retain it.
13160 Improved debug code and added method to turn it on - ([+setDebug:])
13161 * src/NSDistributedObject.m: Added flag to say whether an object has
13162 been vended to a third party.
13163 Improved debug code and added method to turn it on - ([+setDebug:])
13164 * src/include/NSDistantObject.h: Added flag.
13165
13166 Thu Jun 24 22:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13167
13168 * src/proplist.y: Make parser more tolerant - permit a comma after
13169 the final element in an array.
13170 * src/NSData.m: Added ([NSMutableData +data])
13171 * src/Unicode.m: Efficiency hack for conversion to/from unicode
13172 * src/include/NSArray.h: Added ([-writeToFile:Atomically:])
13173 * src/include/NSString.h: Added GSUndefinedEncoding and comment to
13174 make sure nobody deletes it - needed for efficiency hack in Unicode.m
13175
13176 Fri Jun 19 13:37:37 1998 Adam Fedor <fedor@doc.com>
13177
13178 * NSObject (+isKindOfClass:): New method (patch from Bruce Ide
13179 <greyfox@greyfox.org>).
13180 (+isMemberOfClass): Likewise.
13181
13182 Tue Jun 16 09:48:18 1998 Adam Fedor <fedor@doc.com>
13183
13184 * src/NSProtocolChecker.m, src/include/NSProtocolChecker.h: New files.
13185 (from Mike Kienenberger <mkienenb@arsc.edu>)
13186
13187 Fri May 29 10:16:09 1998 Adam Fedor <fedor@doc.com>
13188
13189 * doc/news.tmpl.texi: Fixed typo.
13190 * doc/readme.tmpl.texi: Likewise. (patch from doko@cs.tu-berlin.de
13191 (Matthias Klose)).
13192 * src/ostream.m (ostream_save_buffer): Retain stream.
13193 * src/include/MemoryStream.h: Remove outdated methods.
13194 * src/include/NSException.h (NS_VALUERETURN): New macro.
13195
13196 Thu May 28 10:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13197
13198 * Tools/gdomap.c: Added code to cope with systems where we can't
13199 determine what network interfaces are active.
13200
13201 * checks/heap.m: Portability fix for svr4 systems.
13202
13203 * configure.in: Improved portability to svr4 systems.
13204
13205 * src/NSMethodSignature.m: Changed order of includes to fix
13206 compilation on svr4 systems.
13207
13208 * src/NSPage.m: Altered to use 'sysconf(_SC_PAGESIZE)' to get page
13209 size on svr4 systems.
13210
13211 * src/NSTask.m: Altered to use 'kill()' rather than 'killpg()' on
13212 svr4
13213
13214 * src/NSThread.m: Altered to use 'sleep()' rather than 'usleep()'
13215 on svr4
13216
13217 * src/include/config.h.in: Added a couple of configuration
13218 constants for portability - HAVE_KILLPG and HAVE_USLEEP
13219
13220 Thu May 21 09:38:14 1998 Adam Fedor <fedor@doc.com>
13221
13222 * src/NSUser.m (NSUserName): Use getpwuid for BSD machines (patch
13223 provided by Stefanos Kiakas <stefanos@ringworld.uniscape.com>).
13224
13225 * src/GetDefEncoding.c (GetDefEncoding): Change binary AND to
13226 logical AND. (GetEncoding): Likewise (patch provided by
13227 David Fritzsche <david@dementia.wupper.de>).
13228
13229 Wed May 20 15:26:50 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13230
13231 * src/GNUmakefile: Added NSUndoManager.[hm]
13232
13233 * src/Invocation.m: ([-_initArgframeFrom:withType:retainArgs:]) fixed
13234 memory leak due to failing to set 'args_retained' flag.
13235
13236 * src/NSObject.m: ([-forward::]) modified to call (forwardInvocation:)
13237 method so we can conform to OpenStep spec.
13238
13239 * src/NSUndoManager.m: Implementation of new class.
13240
13241 * src/include/NSUndoManager.h: Interface for new class.
13242
13243 Wed May 13 13:18:35 1998 Adam Fedor <fedor@doc.com>
13244
13245 * src/NSArray.m ([NSArray -initWithContentsOfFile:]): Move
13246 definition from NSMutableArray.
13247 * NSBundle.m (+initialize): New method.
13248 (+mainBundle): Use recursive lock.
13249 (-initWithPath:) Likewise.
13250 * Unicode.m (encode_chartouni): Cast char to unsigned before to
13251 unichar (patch provided by David Fritzsche <david@dementia.wupper.de>).
13252
13253 Fri May 1 14:26:50 1998 Masatake Yamato <masata-y@is.aist-nara.ac.jp>
13254
13255 * src/mframe.m(mframe_do_call): before allocating a storage for
13256 returned structure, check stack_argsize.
13257
13258 Mon Apr 27 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13259
13260 * src/include/mframe.h: Added three new functions to enable passing
13261 of pointers using the mframe routines.
13262
13263 * src/mframe.m: Added mframe_dissect_call_opts(),
13264 mframe_do_call_opts(), and mframe_build_return_opts() so that we
13265 may pass pointers to and from functions in other languages rather
13266 than using the DO behaviour which is to copy a single object when
13267 given a pointer.
13268
13269 Tue Apr 21 15:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13270
13271 * src/NSMethodSignature.m: ([+signatureWithObjCTypes:]) rewritten
13272 to use some macros from libFoundation (adapted from gcc) to handle
13273 creation of NSMethodSignature objects where the types string passed
13274 in does not contain the position information of the arguments.
13275
13276 Thu Apr 16 13:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13277
13278 * checks/client.m: enable testing of DO strucuture return.
13279
13280 * checks/server.m: fix typo in keyword
13281
13282 * src/KeyedCollection.m: ([-decodeContentsWithCoder:]) fixed a
13283 memory leak.
13284
13285 * src/mframe.m: Fixed a few bugs in returning structures - now works
13286 properly on GNU/Linux intel. Can anyone figure out how to handle
13287 all this stuff using autoconf?
13288
13289 Mon Apr 20 09:23:58 1998 Adam Fedor <fedor@ultra.doc.com>
13290
13291 * src/NSLock.m: Eliminate busy waiting from NSConditionLock
13292 * src/NSLock.h: add instance variable and rename "value" to
13293 support changes to NSConditionLock
13294 * src/NSLock.m: Raise appropriate exceptions
13295 * src/NSLock.m: Prevent NSLock and NSConditionLock from being
13296 locked recursively
13297 * src/NSThread.m: -sleepUntilDate: implemented
13298 * src/NSThread.m: remove calls to objc_get_thread_data except
13299 in currentThread message
13300 * src/BinaryCStream.m: Replace assert's with NS*Assert
13301 * src/CStream.m.orig: Likewise
13302 * src/Decoder.m: Likewise
13303 * src/Encoder.m: Likewise
13304 * src/MemoryStream.m: Likewise
13305 * src/RawCStream.m: Likewise
13306 * src/TextCStream.m: Likewise
13307 * src/ostream.m.orig: Likewise
13308 (patches from Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13309
13310 * src/NSFileManager.h: Include pwd.h if we have it
13311 * configure.in: Check for pwd.h
13312 * configure: regenerate.
13313 * src/include/config.h.in: Likewise.
13314
13315 Wed Apr 15 09:54:25 1998 Adam Fedor <fedor@doc.com>
13316
13317 * src/NSFileManager.m ([NSFileManager
13318 -fileAttributesAtPath:traverseLink:]): Add NSFileOwnerAccountName.
13319 * src/externs.m: Add NSFileOwnerAccountName definition.
13320 (patch provided by Marcus Mueller <znek@object-factory.com>)
13321
13322 * src/NSThread.m (-sleepUntilDate:): Implemented (from
13323 Quetzalcoatl Bradley <qbradley@csc.uvic.ca>).
13324
13325 Sun Apr 5 20:07:28 1998 Scott Christley <scottc@net-community.com>
13326
13327 * Utilize documentation rules in Makefile Package.
13328 * doc/GNUmakefile: Rewrite to use Makefile Package.
13329 * doc/Makefile.postamble: Remove old obsolete rules.
13330
13331 * Documentation which covers GNUstep as a whole versus just
13332 gstep-base has been moved to the top level Documentation dir.
13333 * GNUstep-HOWTO: Delete.
13334 * doc/gnustep-base.tmpl.texi: GNUstep-HOWTO and FAQ removed.
13335 Add variable so that included files know they are within the
13336 main document.
13337 * doc/gnustep-howto.tmpl.texi: Delete.
13338 * doc/faq.tmpl.texi: Delete.
13339 * doc/announce.tmpl.texi: Don't include version.texi needlessly.
13340 * doc/news.tmpl.texi: Don't include version.texi needlessly.
13341 * doc/todo.tmpl.texi: Don't include version.texi needlessly.
13342
13343 * src/GNUmakefile: Don't compile Random class as the name too
13344 often conflicts with user apps.
13345
13346 * src/GetDefEncoding.m: Reformat.
13347
13348 * src/NSArray.m (-replaceObjectsInRange:withObjectsFromArray:):
13349 Fix range check. Use enumerator instead of count.
13350
13351 Wed Apr 1 18:45:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13352
13353 * Tools/gdomap.m: Modified code so that we make sure we have at least
13354 one valid route to any gdomap process which has probed us. This is
13355 to cope with machines which send out info about all their interfaces
13356 when one or more of the interfaces is not working.
13357
13358 * src/checks/nstask.m: added test for environment setting.
13359
13360 * src/NSCalendarDate.m: Fixed bug in initialisation where daylight
13361 savings time is in operation - was adjusting in wrong direction.
13362
13363 * src/NSRunLoop.m: Added NSObject catagory for the methods -
13364 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13365 ([NSObject -performSelector:withObject:afterDelay:]), and
13366 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13367
13368 * src/NSTask.m: Various bug fixes as a result of running the test
13369 suite. All seems to work ok now.
13370
13371 * src/NSDate.h: Changed order of declaractions so this can be included
13372 within NSObject.h
13373
13374 * src/NSObject.h: Added run-loop integration methods -
13375 ([NSObject +cancelPreviousPerformRequestsWithTarget:selector:object:]),
13376 ([NSObject -performSelector:withObject:afterDelay:]), and
13377 ([NSObject -performSelector:withObject:afterDelay:inModes:])
13378
13379 * src/NSRunLoop.h: Added an instance variable to keep track of
13380 queued delayed actions to be performed on objects.
13381
13382 Tue Mar 31 11:32:03 1998 Adam Fedor <fedor@doc.com>
13383
13384 * aclocal.m4 (OBJC_CON_AUTOLOAD): Improved test. Check nm output
13385 for indicator functions.
13386 * configure: Regenerate.
13387
13388 * checks/GNUmakefile (LoadMe_RESOURCE_FILES): Changed name.
13389
13390 * doc/gnustep-howto.tmpl.texi: Update.
13391 * doc/status.tmpl.texi: Likewise.
13392
13393 Fri Mar 20 11:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13394
13395 * checks/client.m: Added some tests for passing objects byref
13396
13397 * checks/server.h: Added ([-sendByref:]) to protocol.
13398
13399 * checks/server.m: Added ([-sendByref:]) for testing 'byref'.
13400
13401 * src/Coder.m: Added ([-encodeByrefObject:])
13402
13403 * src/Encoder.m: Added ([-_doEncodeByrefObject:]) and changed the
13404 designated encoding method throughout from
13405 ([-_encodeObject:withName:isBycopy:isForwardReference:]) to
13406 ([-_encodeObject:withName:isBycopy:isByref:isForwardReference:])
13407
13408 * src/NSCoder.m: Added ([-encodeBytes:length:]),
13409 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13410
13411 * src/NSConnection.m: Modified ([-forwardForProxy:selector:argFrame:])
13412 and ([-_service_forwardForProxy:]) methods to handle byref flag.
13413
13414 * src/NSDictionary.m: Added ([+dictionaryWithDictionary:])
13415
13416 * src/NSPortCoder.m: Added ([-isByref]) and ([-_doEncodeByrefObject:])
13417 methods and modified ([-_doEncodeBycopyObject:]) to handle byref flag.
13418
13419 * src/include/Coding.h: Added ([-encodeByrefObject:])
13420
13421 * src/include/NSCoder.h: Added ([-encodeBytes:length:]),
13422 ([-encodeByrefObject:]) and ([-decodeBytesWithReturnedLength:])
13423
13424 * src/include/NSDictionary.h: Fixed prototype for the
13425 ([+dictionaryWithDictionary:]) method.
13426
13427 * src/include/NSPortCoder.h: Added ([-isByref])
13428
13429 * src/objc-gnu2next.m: Added _F_BYREF flag code
13430
13431 Fri Mar 13 15:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13432
13433 * src/NSCalendarDate.m: ([-descriptionWithCalendarFormat:locale:])
13434 Fixed bug in displaying time-zone - was displaying minutes and
13435 seconds when should have been showing hours and minutes.
13436
13437 Wed Mar 11 11:56:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13438
13439 * src/NSArray.m: ([-copyWithZone:]) changed to use the
13440 NSShouldRetainWithZone() function.
13441
13442 * src/NSCalendarDate.m: ([-dealloc]) don't release the timezone -
13443 we never retain it anyway (should we?)
13444 ([-setCalendarFormat:]) make a copy of the string we are given in
13445 case it gets changed or deleted.
13446
13447 * src/NSConcreteNumber.m: ([-copyWithZone:]) fixed to use the
13448 NSShouldRetainWithZone() function.
13449
13450 * src/NSData.m: ([-copyWithZone:]) fixed to use the
13451 NSShouldRetainWithZone() function.
13452
13453 * src/NSDictionary.m: ([-copyWithZone:]) fixed to use the
13454 NSShouldRetainWithZone() function.
13455
13456 * src/NSHost.m: Added ([-awakeAfterUsingCoder:])
13457
13458 * src/NSNumber.m: Added ([-copy]) and ([-copyWithZone:])
13459
13460 * src/NSString.m: ([-copyWithZone:]) fixed to use the
13461 NSShouldRetainWithZone() function.
13462
13463 * src/TcpPort.m: Commented out unnecessary warning message.
13464
13465 * src/NSTimeZone.m: Modified ([-encodeWithCoder:]) and
13466 ([-awakeAfterUsingCoder:]) so that the local timezone is encoded
13467 specially and is restored as whatever the local timezone of the
13468 restoring application is.
13469
13470 * src/NSValue.m: Added ([-copy]) and ([-isEqualToValue:])
13471
13472 Tue Mar 10 17:05:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
13473
13474 * src/NSArray.m: ([-copyWithZone:]) rewritten to avoid doing
13475 unnecessary copy of non-mutable objects and to fix memory leak.
13476
13477 * src/NSCTemplateValue.m: ([-isEqaul:]) and ([-isEqualToValue:])
13478 implemented.
13479
13480 * src/NSCalendarDate.m: ([-initWithCoder:]) and ([-encodeWithCoder:])
13481 implemented.
13482
13483 * src/NSConcreteNumber.m: ([-copy]) and ([-copyWithZone:])
13484 implemented to do simple retains.
13485
13486 * src/NSDictionary.m: ([-copyWithZone:]) rewritten to avoid doing
13487 unnecessary copy of non-mutable objects and to fix memory leak.
13488
13489 * src/NSGString.m: ([-cString]) fixed crash when called on empty
13490 string.
13491
13492 * src/NSTimeZone.m: ([-awakeAfterUsingCoder:]) implemented to handle
13493 decopding of archived objects correctly.
13494
13495 * src/include/NSValue.h: Added ([-isEqualToValue:])

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